diff --git a/scripts/generate-clients.ts b/scripts/generate-clients.ts index ef3df622..0f194144 100644 --- a/scripts/generate-clients.ts +++ b/scripts/generate-clients.ts @@ -1014,6 +1014,16 @@ const generateServiceIndex = ( }); code += " },\n"; } + if ( + metadata.retryableErrors && + Object.keys(metadata.retryableErrors).length > 0 + ) { + code += " retryableErrors: {\n"; + Object.entries(metadata.retryableErrors).forEach(([errorName, error]) => { + code += ` "${errorName}": ${JSON.stringify(error)},\n`; + }); + code += " },\n"; + } code += "} as const satisfies ServiceMetadata;\n\n"; // // Re-export all types from types.ts for backward compatibility @@ -1707,6 +1717,42 @@ const generateServiceTypes = (serviceName: string, manifest: Manifest) => // Extract operation HTTP mappings and trait mappings let operationMappings: Record = {}; + const extractRetryableError = ( + shapeId: string, + ): [string, Record] => { + const shape = manifest.shapes[shapeId]; + if (!shape || shape.type !== "structure" || !shape.members) + return ["", {}]; + + if (shape.traits["smithy.api#retryable"] == null) return ["", {}]; + // const isEmptyTrait = Object.keys(shape.members).length === 0; + + // return shape; + const name = extractShapeName(shapeId); + + return [ + name, + { + retryAfterSeconds: + shape?.members?.retryAfterSeconds?.traits?.[ + "smithy.api#httpHeader" + ], + // members: Object.entries(shape.members).reduce( + // (acc, [key, value]) => { + // if (value?.traits?.["smithy.api#httpHeader"]) { + // acc[key] = value?.traits?.["smithy.api#httpHeader"]; + // } + // return acc; + // }, + // {} as Record, + // ), + // ...(Object.keys(shape.traits["smithy.api#retryable"]).length > 0 + // ? shape.traits["smithy.api#retryable"] + // : {}), + }, + ]; + }; + const extractHttpTraits = (shapeId: string): Record => { const shape = manifest.shapes[shapeId]; if (!shape || shape.type !== "structure" || !shape.members) return {}; @@ -1742,6 +1788,8 @@ const generateServiceTypes = (serviceName: string, manifest: Manifest) => ) as Record; }; + let retryableErrors = {}; + if (protocol === "restJson1") { for (const operation of operations) { const httpTrait = operation.shape.traits?.["smithy.api#http"]; @@ -1753,6 +1801,13 @@ const generateServiceTypes = (serviceName: string, manifest: Manifest) => const outputTraits = operation.shape.output ? extractHttpTraits(operation.shape.output.target) : {}; + const errorList = + operation?.shape?.errors + ?.map((e) => extractRetryableError(e.target)) + .filter((error) => Object.keys(error[1]).length > 0) ?? []; + for (const error of errorList) { + retryableErrors[error[0]] = error[1]; + } if (Object.keys(outputTraits).length > 0) { // Store both HTTP mapping and trait mappings @@ -1839,6 +1894,7 @@ const generateServiceTypes = (serviceName: string, manifest: Manifest) => ...(Object.keys(operationMappings).length > 0 && { operations: operationMappings, }), + retryableErrors, }; return { code, metadata }; diff --git a/src/client.ts b/src/client.ts index 51375ef3..ae8af367 100644 --- a/src/client.ts +++ b/src/client.ts @@ -6,6 +6,19 @@ import { Credentials, fromStaticCredentials } from "./credentials.ts"; import type { AwsErrorMeta } from "./error.ts"; import { DefaultFetch, Fetch } from "./fetch.service.ts"; import type { ProtocolHandler } from "./protocols/interface.ts"; +import * as Schedule from "effect/Schedule"; +import * as Duration from "effect/Duration"; +import { pipe } from "effect"; +import * as Context from "effect/Context"; + +export const retryableErrorTags = [ + "InternalFailure", + "RequestExpired", + "ServiceException", + "ServiceUnavailable", + "ThrottlingException", + "TooManyRequestsException", +]; const errorTags: { [serviceName: string]: { @@ -17,13 +30,27 @@ const errorTags: { function createServiceError( serviceName: string, errorName: string, - errorMeta: AwsErrorMeta & { message?: string }, + errorMeta: AwsErrorMeta & { + message?: string; + retryable: + | { + retryAfterSeconds?: number; + } + | false; + }, ) { // Create a tagged error dynamically with the correct error name return new ((errorTags[serviceName] ??= {})[errorName] ??= (() => - Data.TaggedError(errorName))())( - errorMeta, - ); + Data.TaggedError(errorName)< + AwsErrorMeta & { + message?: string; + retryable: + | { + retryAfterSeconds?: number; + } + | false; + } + >)())(errorMeta); } // Types @@ -46,6 +73,7 @@ export interface ServiceMetadata { readonly outputTraits?: Record; } >; // Operation mappings for restJson1 and trait mappings + retryableErrors?: Record; } export interface AwsCredentials { @@ -94,6 +122,8 @@ export function createServiceProxy( onNone: () => DefaultFetch, }); + const retryPolicy = yield* Effect.serviceOption(RetryPolicy); + // Convert camelCase method to PascalCase operation const operation = methodName.charAt(0).toUpperCase() + methodName.slice(1); @@ -213,6 +243,7 @@ export function createServiceProxy( response, statusCode, response.headers, + metadata, ), ); @@ -229,14 +260,75 @@ export function createServiceProxy( { ...errorMeta, message: parsedError.message, + retryable: parsedError.retryable ?? false, }, ), ); } }); - return program; + return Effect.gen(function* () { + const retryPolicy = yield* Effect.serviceOption(RetryPolicy); + const randomNumber = Option.getOrUndefined(retryPolicy) ?? { + maxRetries: 5, + delay: Duration.millis(100), + }; + return yield* withRetry(program, randomNumber); + }); }; }, }, ) as T; } + +class RetryPolicy extends Context.Tag("RetryPolicy")< + RetryPolicy, + { + maxRetries: number; + delay: Duration.Duration; + } +>() {} + +const withRetry = ( + operation: Effect.Effect< + A, + { + readonly _tag: string; + retryable: + | { + retryAfterSeconds?: number; + } + | false; + } + >, + randomNumber: { + maxRetries: number; + delay: Duration.Duration; + }, +) => + pipe( + operation, + Effect.retry({ + while: (error) => + error.retryable !== false || retryableErrorTags.includes(error._tag), + schedule: pipe( + Schedule.exponential(randomNumber.delay), + Schedule.passthrough, + Schedule.addDelay((err) => { + const error = err as { + readonly _tag: string; + retryable: + | { + retryAfterSeconds?: number; + } + | false; + }; + + return typeof error?.retryable === "object" && + error?.retryable?.retryAfterSeconds != null + ? Duration.seconds(error?.retryable?.retryAfterSeconds) + : Duration.zero; + }), + Schedule.compose(Schedule.recurs(randomNumber.maxRetries)), + ), + }), + ); diff --git a/src/error.ts b/src/error.ts index 7b17ecfb..e62756fa 100644 --- a/src/error.ts +++ b/src/error.ts @@ -3,6 +3,7 @@ import * as Data from "effect/Data"; export interface AwsErrorMeta { readonly statusCode: number; readonly requestId?: string; + readonly retryAfterSeconds?: number; } // Common AWS errors that can occur across all services diff --git a/src/protocols/interface.ts b/src/protocols/interface.ts index cb85d251..b6ed38e9 100644 --- a/src/protocols/interface.ts +++ b/src/protocols/interface.ts @@ -6,6 +6,12 @@ export interface ParsedError { readonly errorType: string; readonly message: string; readonly requestId?: string; + readonly retryable?: + | { + retryAfterSeconds?: number; + retryAttempts?: number; + } + | false; } export interface ProtocolRequest { @@ -37,6 +43,7 @@ export interface ProtocolHandler { parseError( responseText: Response, statusCode: number, - headers?: Headers, + headers: Headers, + serviceMetadata: ServiceMetadata, ): Promise; } diff --git a/src/protocols/rest-json-1.ts b/src/protocols/rest-json-1.ts index e3f763f2..c443ed16 100644 --- a/src/protocols/rest-json-1.ts +++ b/src/protocols/rest-json-1.ts @@ -128,7 +128,8 @@ export class RestJson1Handler implements ProtocolHandler { async parseError( response: Response, _statusCode: number, - headers?: Headers, + headers: Headers, + metadata: ServiceMetadata, ): Promise { let errorData: any; const responseText = await response.text(); @@ -154,11 +155,21 @@ export class RestJson1Handler implements ProtocolHandler { headers?.get("x-amzn-requestid") || headers?.get("x-amz-request-id") || undefined; + const retryable = + metadata?.retryableErrors?.[errorType] != null + ? { + retryAfterSeconds: + headers?.get( + metadata?.retryableErrors?.[errorTypes]?.retryAfterSeconds, + ) ?? undefined, + } + : false; return { errorType, message, requestId, + retryable, }; } diff --git a/src/services/accessanalyzer/index.ts b/src/services/accessanalyzer/index.ts index 09843566..5e23d961 100644 --- a/src/services/accessanalyzer/index.ts +++ b/src/services/accessanalyzer/index.ts @@ -5,23 +5,7 @@ import type { AccessAnalyzer as _AccessAnalyzerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,44 +14,48 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "access-analyzer", operations: { - ApplyArchiveRule: "PUT /archive-rule", - CancelPolicyGeneration: "PUT /policy/generation/{jobId}", - CheckAccessNotGranted: "POST /policy/check-access-not-granted", - CheckNoNewAccess: "POST /policy/check-no-new-access", - CheckNoPublicAccess: "POST /policy/check-no-public-access", - CreateAccessPreview: "PUT /access-preview", - GenerateFindingRecommendation: "POST /recommendation/{id}", - GetAccessPreview: "GET /access-preview/{accessPreviewId}", - GetAnalyzedResource: "GET /analyzed-resource", - GetFinding: "GET /finding/{id}", - GetFindingRecommendation: "GET /recommendation/{id}", - GetFindingsStatistics: "POST /analyzer/findings/statistics", - GetFindingV2: "GET /findingv2/{id}", - GetGeneratedPolicy: "GET /policy/generation/{jobId}", - ListAccessPreviewFindings: "POST /access-preview/{accessPreviewId}", - ListAccessPreviews: "GET /access-preview", - ListAnalyzedResources: "POST /analyzed-resource", - ListFindings: "POST /finding", - ListFindingsV2: "POST /findingv2", - ListPolicyGenerations: "GET /policy/generation", - ListTagsForResource: "GET /tags/{resourceArn}", - StartPolicyGeneration: "PUT /policy/generation", - StartResourceScan: "POST /resource/scan", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateFindings: "PUT /finding", - ValidatePolicy: "POST /policy/validation", - CreateAnalyzer: "PUT /analyzer", - CreateArchiveRule: "PUT /analyzer/{analyzerName}/archive-rule", - DeleteAnalyzer: "DELETE /analyzer/{analyzerName}", - DeleteArchiveRule: - "DELETE /analyzer/{analyzerName}/archive-rule/{ruleName}", - GetAnalyzer: "GET /analyzer/{analyzerName}", - GetArchiveRule: "GET /analyzer/{analyzerName}/archive-rule/{ruleName}", - ListAnalyzers: "GET /analyzer", - ListArchiveRules: "GET /analyzer/{analyzerName}/archive-rule", - UpdateAnalyzer: "PUT /analyzer/{analyzerName}", - UpdateArchiveRule: "PUT /analyzer/{analyzerName}/archive-rule/{ruleName}", + "ApplyArchiveRule": "PUT /archive-rule", + "CancelPolicyGeneration": "PUT /policy/generation/{jobId}", + "CheckAccessNotGranted": "POST /policy/check-access-not-granted", + "CheckNoNewAccess": "POST /policy/check-no-new-access", + "CheckNoPublicAccess": "POST /policy/check-no-public-access", + "CreateAccessPreview": "PUT /access-preview", + "GenerateFindingRecommendation": "POST /recommendation/{id}", + "GetAccessPreview": "GET /access-preview/{accessPreviewId}", + "GetAnalyzedResource": "GET /analyzed-resource", + "GetFinding": "GET /finding/{id}", + "GetFindingRecommendation": "GET /recommendation/{id}", + "GetFindingsStatistics": "POST /analyzer/findings/statistics", + "GetFindingV2": "GET /findingv2/{id}", + "GetGeneratedPolicy": "GET /policy/generation/{jobId}", + "ListAccessPreviewFindings": "POST /access-preview/{accessPreviewId}", + "ListAccessPreviews": "GET /access-preview", + "ListAnalyzedResources": "POST /analyzed-resource", + "ListFindings": "POST /finding", + "ListFindingsV2": "POST /findingv2", + "ListPolicyGenerations": "GET /policy/generation", + "ListTagsForResource": "GET /tags/{resourceArn}", + "StartPolicyGeneration": "PUT /policy/generation", + "StartResourceScan": "POST /resource/scan", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateFindings": "PUT /finding", + "ValidatePolicy": "POST /policy/validation", + "CreateAnalyzer": "PUT /analyzer", + "CreateArchiveRule": "PUT /analyzer/{analyzerName}/archive-rule", + "DeleteAnalyzer": "DELETE /analyzer/{analyzerName}", + "DeleteArchiveRule": "DELETE /analyzer/{analyzerName}/archive-rule/{ruleName}", + "GetAnalyzer": "GET /analyzer/{analyzerName}", + "GetArchiveRule": "GET /analyzer/{analyzerName}/archive-rule/{ruleName}", + "ListAnalyzers": "GET /analyzer", + "ListArchiveRules": "GET /analyzer/{analyzerName}/archive-rule", + "UpdateAnalyzer": "PUT /analyzer/{analyzerName}", + "UpdateArchiveRule": "PUT /analyzer/{analyzerName}/archive-rule/{ruleName}", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, + "UnprocessableEntityException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/accessanalyzer/types.ts b/src/services/accessanalyzer/types.ts index bcf888ef..33d1fb7a 100644 --- a/src/services/accessanalyzer/types.ts +++ b/src/services/accessanalyzer/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class AccessAnalyzer extends AWSServiceClient { @@ -40,412 +8,223 @@ export declare class AccessAnalyzer extends AWSServiceClient { input: ApplyArchiveRuleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelPolicyGeneration( input: CancelPolicyGenerationRequest, ): Effect.Effect< CancelPolicyGenerationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; checkAccessNotGranted( input: CheckAccessNotGrantedRequest, ): Effect.Effect< CheckAccessNotGrantedResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterException - | ThrottlingException - | UnprocessableEntityException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterException | ThrottlingException | UnprocessableEntityException | ValidationException | CommonAwsError >; checkNoNewAccess( input: CheckNoNewAccessRequest, ): Effect.Effect< CheckNoNewAccessResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterException - | ThrottlingException - | UnprocessableEntityException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterException | ThrottlingException | UnprocessableEntityException | ValidationException | CommonAwsError >; checkNoPublicAccess( input: CheckNoPublicAccessRequest, ): Effect.Effect< CheckNoPublicAccessResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterException - | ThrottlingException - | UnprocessableEntityException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterException | ThrottlingException | UnprocessableEntityException | ValidationException | CommonAwsError >; createAccessPreview( input: CreateAccessPreviewRequest, ): Effect.Effect< CreateAccessPreviewResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; generateFindingRecommendation( input: GenerateFindingRecommendationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getAccessPreview( input: GetAccessPreviewRequest, ): Effect.Effect< GetAccessPreviewResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAnalyzedResource( input: GetAnalyzedResourceRequest, ): Effect.Effect< GetAnalyzedResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFinding( input: GetFindingRequest, ): Effect.Effect< GetFindingResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFindingRecommendation( input: GetFindingRecommendationRequest, ): Effect.Effect< GetFindingRecommendationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFindingsStatistics( input: GetFindingsStatisticsRequest, ): Effect.Effect< GetFindingsStatisticsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFindingV2( input: GetFindingV2Request, ): Effect.Effect< GetFindingV2Response, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGeneratedPolicy( input: GetGeneratedPolicyRequest, ): Effect.Effect< GetGeneratedPolicyResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listAccessPreviewFindings( input: ListAccessPreviewFindingsRequest, ): Effect.Effect< ListAccessPreviewFindingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAccessPreviews( input: ListAccessPreviewsRequest, ): Effect.Effect< ListAccessPreviewsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAnalyzedResources( input: ListAnalyzedResourcesRequest, ): Effect.Effect< ListAnalyzedResourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFindings( input: ListFindingsRequest, ): Effect.Effect< ListFindingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFindingsV2( input: ListFindingsV2Request, ): Effect.Effect< ListFindingsV2Response, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPolicyGenerations( input: ListPolicyGenerationsRequest, ): Effect.Effect< ListPolicyGenerationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startPolicyGeneration( input: StartPolicyGenerationRequest, ): Effect.Effect< StartPolicyGenerationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startResourceScan( input: StartResourceScanRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFindings( input: UpdateFindingsRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; validatePolicy( input: ValidatePolicyRequest, ): Effect.Effect< ValidatePolicyResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createAnalyzer( input: CreateAnalyzerRequest, ): Effect.Effect< CreateAnalyzerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createArchiveRule( input: CreateArchiveRuleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAnalyzer( input: DeleteAnalyzerRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteArchiveRule( input: DeleteArchiveRuleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAnalyzer( input: GetAnalyzerRequest, ): Effect.Effect< GetAnalyzerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getArchiveRule( input: GetArchiveRuleRequest, ): Effect.Effect< GetArchiveRuleResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAnalyzers( input: ListAnalyzersRequest, ): Effect.Effect< ListAnalyzersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listArchiveRules( input: ListArchiveRulesRequest, ): Effect.Effect< ListArchiveRulesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateAnalyzer( input: UpdateAnalyzerRequest, ): Effect.Effect< UpdateAnalyzerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateArchiveRule( input: UpdateArchiveRuleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -526,9 +305,7 @@ interface _AclGrantee { uri?: string; } -export type AclGrantee = - | (_AclGrantee & { id: string }) - | (_AclGrantee & { uri: string }); +export type AclGrantee = (_AclGrantee & { id: string }) | (_AclGrantee & { uri: string }); export type AclPermission = string; export type AclUri = string; @@ -571,9 +348,7 @@ interface _AnalyzerConfiguration { internalAccess?: InternalAccessConfiguration; } -export type AnalyzerConfiguration = - | (_AnalyzerConfiguration & { unusedAccess: UnusedAccessConfiguration }) - | (_AnalyzerConfiguration & { internalAccess: InternalAccessConfiguration }); +export type AnalyzerConfiguration = (_AnalyzerConfiguration & { unusedAccess: UnusedAccessConfiguration }) | (_AnalyzerConfiguration & { internalAccess: InternalAccessConfiguration }); export type AnalyzersList = Array; export type AnalyzerStatus = string; @@ -604,7 +379,8 @@ export interface ArchiveRuleSummary { export interface CancelPolicyGenerationRequest { jobId: string; } -export interface CancelPolicyGenerationResponse {} +export interface CancelPolicyGenerationResponse { +} export interface CheckAccessNotGrantedRequest { policyDocument: string; access: Array; @@ -671,27 +447,7 @@ interface _Configuration { dynamodbTable?: DynamodbTableConfiguration; } -export type Configuration = - | (_Configuration & { ebsSnapshot: EbsSnapshotConfiguration }) - | (_Configuration & { ecrRepository: EcrRepositoryConfiguration }) - | (_Configuration & { iamRole: IamRoleConfiguration }) - | (_Configuration & { efsFileSystem: EfsFileSystemConfiguration }) - | (_Configuration & { kmsKey: KmsKeyConfiguration }) - | (_Configuration & { - rdsDbClusterSnapshot: RdsDbClusterSnapshotConfiguration; - }) - | (_Configuration & { rdsDbSnapshot: RdsDbSnapshotConfiguration }) - | (_Configuration & { - secretsManagerSecret: SecretsManagerSecretConfiguration; - }) - | (_Configuration & { s3Bucket: S3BucketConfiguration }) - | (_Configuration & { snsTopic: SnsTopicConfiguration }) - | (_Configuration & { sqsQueue: SqsQueueConfiguration }) - | (_Configuration & { - s3ExpressDirectoryBucket: S3ExpressDirectoryBucketConfiguration; - }) - | (_Configuration & { dynamodbStream: DynamodbStreamConfiguration }) - | (_Configuration & { dynamodbTable: DynamodbTableConfiguration }); +export type Configuration = (_Configuration & { ebsSnapshot: EbsSnapshotConfiguration }) | (_Configuration & { ecrRepository: EcrRepositoryConfiguration }) | (_Configuration & { iamRole: IamRoleConfiguration }) | (_Configuration & { efsFileSystem: EfsFileSystemConfiguration }) | (_Configuration & { kmsKey: KmsKeyConfiguration }) | (_Configuration & { rdsDbClusterSnapshot: RdsDbClusterSnapshotConfiguration }) | (_Configuration & { rdsDbSnapshot: RdsDbSnapshotConfiguration }) | (_Configuration & { secretsManagerSecret: SecretsManagerSecretConfiguration }) | (_Configuration & { s3Bucket: S3BucketConfiguration }) | (_Configuration & { snsTopic: SnsTopicConfiguration }) | (_Configuration & { sqsQueue: SqsQueueConfiguration }) | (_Configuration & { s3ExpressDirectoryBucket: S3ExpressDirectoryBucketConfiguration }) | (_Configuration & { dynamodbStream: DynamodbStreamConfiguration }) | (_Configuration & { dynamodbTable: DynamodbTableConfiguration }); export type ConfigurationsMap = Record; export type ConfigurationsMapKey = string; @@ -824,17 +580,7 @@ interface _FindingDetails { unusedIamUserPasswordDetails?: UnusedIamUserPasswordDetails; } -export type FindingDetails = - | (_FindingDetails & { internalAccessDetails: InternalAccessDetails }) - | (_FindingDetails & { externalAccessDetails: ExternalAccessDetails }) - | (_FindingDetails & { unusedPermissionDetails: UnusedPermissionDetails }) - | (_FindingDetails & { - unusedIamUserAccessKeyDetails: UnusedIamUserAccessKeyDetails; - }) - | (_FindingDetails & { unusedIamRoleDetails: UnusedIamRoleDetails }) - | (_FindingDetails & { - unusedIamUserPasswordDetails: UnusedIamUserPasswordDetails; - }); +export type FindingDetails = (_FindingDetails & { internalAccessDetails: InternalAccessDetails }) | (_FindingDetails & { externalAccessDetails: ExternalAccessDetails }) | (_FindingDetails & { unusedPermissionDetails: UnusedPermissionDetails }) | (_FindingDetails & { unusedIamUserAccessKeyDetails: UnusedIamUserAccessKeyDetails }) | (_FindingDetails & { unusedIamRoleDetails: UnusedIamRoleDetails }) | (_FindingDetails & { unusedIamUserPasswordDetails: UnusedIamUserPasswordDetails }); export type FindingDetailsList = Array; export type FindingId = string; @@ -858,16 +604,7 @@ interface _FindingsStatistics { unusedAccessFindingsStatistics?: UnusedAccessFindingsStatistics; } -export type FindingsStatistics = - | (_FindingsStatistics & { - externalAccessFindingsStatistics: ExternalAccessFindingsStatistics; - }) - | (_FindingsStatistics & { - internalAccessFindingsStatistics: InternalAccessFindingsStatistics; - }) - | (_FindingsStatistics & { - unusedAccessFindingsStatistics: UnusedAccessFindingsStatistics; - }); +export type FindingsStatistics = (_FindingsStatistics & { externalAccessFindingsStatistics: ExternalAccessFindingsStatistics }) | (_FindingsStatistics & { internalAccessFindingsStatistics: InternalAccessFindingsStatistics }) | (_FindingsStatistics & { unusedAccessFindingsStatistics: UnusedAccessFindingsStatistics }); export type FindingsStatisticsList = Array; export type FindingStatus = string; @@ -1027,8 +764,7 @@ export interface InternalAccessAnalysisRuleCriteria { resourceTypes?: Array; resourceArns?: Array; } -export type InternalAccessAnalysisRuleCriteriaList = - Array; +export type InternalAccessAnalysisRuleCriteriaList = Array; export interface InternalAccessConfiguration { analysisRule?: InternalAccessAnalysisRule; } @@ -1054,10 +790,7 @@ export interface InternalAccessResourceTypeDetails { totalResolvedFindings?: number; totalArchivedFindings?: number; } -export type InternalAccessResourceTypeStatisticsMap = Record< - string, - InternalAccessResourceTypeDetails ->; +export type InternalAccessResourceTypeStatisticsMap = Record; export type InternalAccessType = string; export declare class InternalServerException extends EffectData.TaggedError( @@ -1066,7 +799,8 @@ export declare class InternalServerException extends EffectData.TaggedError( readonly message: string; readonly retryAfterSeconds?: number; }> {} -export interface InternetConfiguration {} +export interface InternetConfiguration { +} export declare class InvalidParameterException extends EffectData.TaggedError( "InvalidParameterException", )<{ @@ -1221,11 +955,7 @@ interface _NetworkOriginConfiguration { internetConfiguration?: InternetConfiguration; } -export type NetworkOriginConfiguration = - | (_NetworkOriginConfiguration & { vpcConfiguration: VpcConfiguration }) - | (_NetworkOriginConfiguration & { - internetConfiguration: InternetConfiguration; - }); +export type NetworkOriginConfiguration = (_NetworkOriginConfiguration & { vpcConfiguration: VpcConfiguration }) | (_NetworkOriginConfiguration & { internetConfiguration: InternetConfiguration }); export type OrderBy = string; interface _PathElement { @@ -1235,11 +965,7 @@ interface _PathElement { value?: string; } -export type PathElement = - | (_PathElement & { index: number }) - | (_PathElement & { key: string }) - | (_PathElement & { substring: Substring }) - | (_PathElement & { value: string }); +export type PathElement = (_PathElement & { index: number }) | (_PathElement & { key: string }) | (_PathElement & { substring: Substring }) | (_PathElement & { value: string }); export type PathElementList = Array; export type PolicyDocument = string; @@ -1273,16 +999,12 @@ export type RdsDbClusterSnapshotAccountId = string; export type RdsDbClusterSnapshotAccountIdsList = Array; export type RdsDbClusterSnapshotAttributeName = string; -export type RdsDbClusterSnapshotAttributesMap = Record< - string, - RdsDbClusterSnapshotAttributeValue ->; +export type RdsDbClusterSnapshotAttributesMap = Record; interface _RdsDbClusterSnapshotAttributeValue { accountIds?: Array; } -export type RdsDbClusterSnapshotAttributeValue = - _RdsDbClusterSnapshotAttributeValue & { accountIds: Array }; +export type RdsDbClusterSnapshotAttributeValue = (_RdsDbClusterSnapshotAttributeValue & { accountIds: Array }); export interface RdsDbClusterSnapshotConfiguration { attributes?: Record; kmsKeyId?: string; @@ -1294,17 +1016,12 @@ export type RdsDbSnapshotAccountId = string; export type RdsDbSnapshotAccountIdsList = Array; export type RdsDbSnapshotAttributeName = string; -export type RdsDbSnapshotAttributesMap = Record< - string, - RdsDbSnapshotAttributeValue ->; +export type RdsDbSnapshotAttributesMap = Record; interface _RdsDbSnapshotAttributeValue { accountIds?: Array; } -export type RdsDbSnapshotAttributeValue = _RdsDbSnapshotAttributeValue & { - accountIds: Array; -}; +export type RdsDbSnapshotAttributeValue = (_RdsDbSnapshotAttributeValue & { accountIds: Array }); export interface RdsDbSnapshotConfiguration { attributes?: Record; kmsKeyId?: string; @@ -1331,9 +1048,7 @@ interface _RecommendedStep { unusedPermissionsRecommendedStep?: UnusedPermissionsRecommendedStep; } -export type RecommendedStep = _RecommendedStep & { - unusedPermissionsRecommendedStep: UnusedPermissionsRecommendedStep; -}; +export type RecommendedStep = (_RecommendedStep & { unusedPermissionsRecommendedStep: UnusedPermissionsRecommendedStep }); export type RecommendedStepList = Array; export type RegionList = Array; export type Resource = string; @@ -1368,16 +1083,12 @@ export interface S3AccessPointConfiguration { publicAccessBlock?: S3PublicAccessBlockConfiguration; networkOrigin?: NetworkOriginConfiguration; } -export type S3AccessPointConfigurationsMap = Record< - string, - S3AccessPointConfiguration ->; +export type S3AccessPointConfigurationsMap = Record; export interface S3BucketAclGrantConfiguration { permission: string; grantee: AclGrantee; } -export type S3BucketAclGrantConfigurationsList = - Array; +export type S3BucketAclGrantConfigurationsList = Array; export interface S3BucketConfiguration { bucketPolicy?: string; bucketAclGrants?: Array; @@ -1392,10 +1103,7 @@ export interface S3ExpressDirectoryAccessPointConfiguration { accessPointPolicy?: string; networkOrigin?: NetworkOriginConfiguration; } -export type S3ExpressDirectoryAccessPointConfigurationsMap = Record< - string, - S3ExpressDirectoryAccessPointConfiguration ->; +export type S3ExpressDirectoryAccessPointConfigurationsMap = Record; export interface S3ExpressDirectoryBucketConfiguration { bucketPolicy?: string; accessPoints?: Record; @@ -1469,7 +1177,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsList = Array>; export type TagsMap = Record; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1505,7 +1214,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UnusedAccessConfiguration { unusedAccessAge?: number; analysisRule?: AnalysisRule; @@ -2060,14 +1770,5 @@ export declare namespace UpdateArchiveRule { | CommonAwsError; } -export type AccessAnalyzerErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnprocessableEntityException - | ValidationException - | CommonAwsError; +export type AccessAnalyzerErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidParameterException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnprocessableEntityException | ValidationException | CommonAwsError; + diff --git a/src/services/account/index.ts b/src/services/account/index.ts index cda01ae5..444babc1 100644 --- a/src/services/account/index.ts +++ b/src/services/account/index.ts @@ -5,24 +5,7 @@ import type { Account as _AccountClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,20 +14,24 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "account", operations: { - AcceptPrimaryEmailUpdate: "POST /acceptPrimaryEmailUpdate", - DeleteAlternateContact: "POST /deleteAlternateContact", - DisableRegion: "POST /disableRegion", - EnableRegion: "POST /enableRegion", - GetAccountInformation: "POST /getAccountInformation", - GetAlternateContact: "POST /getAlternateContact", - GetContactInformation: "POST /getContactInformation", - GetPrimaryEmail: "POST /getPrimaryEmail", - GetRegionOptStatus: "POST /getRegionOptStatus", - ListRegions: "POST /listRegions", - PutAccountName: "POST /putAccountName", - PutAlternateContact: "POST /putAlternateContact", - PutContactInformation: "POST /putContactInformation", - StartPrimaryEmailUpdate: "POST /startPrimaryEmailUpdate", + "AcceptPrimaryEmailUpdate": "POST /acceptPrimaryEmailUpdate", + "DeleteAlternateContact": "POST /deleteAlternateContact", + "DisableRegion": "POST /disableRegion", + "EnableRegion": "POST /enableRegion", + "GetAccountInformation": "POST /getAccountInformation", + "GetAlternateContact": "POST /getAlternateContact", + "GetContactInformation": "POST /getContactInformation", + "GetPrimaryEmail": "POST /getPrimaryEmail", + "GetRegionOptStatus": "POST /getRegionOptStatus", + "ListRegions": "POST /listRegions", + "PutAccountName": "POST /putAccountName", + "PutAlternateContact": "POST /putAlternateContact", + "PutContactInformation": "POST /putContactInformation", + "StartPrimaryEmailUpdate": "POST /startPrimaryEmailUpdate", + }, + retryableErrors: { + "InternalServerException": {}, + "TooManyRequestsException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/account/types.ts b/src/services/account/types.ts index b95afd4d..db4866d9 100644 --- a/src/services/account/types.ts +++ b/src/services/account/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Account extends AWSServiceClient { @@ -41,151 +8,85 @@ export declare class Account extends AWSServiceClient { input: AcceptPrimaryEmailUpdateRequest, ): Effect.Effect< AcceptPrimaryEmailUpdateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; deleteAlternateContact( input: DeleteAlternateContactRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; disableRegion( input: DisableRegionRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; enableRegion( input: EnableRegionRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; getAccountInformation( input: GetAccountInformationRequest, ): Effect.Effect< GetAccountInformationResponse, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; getAlternateContact( input: GetAlternateContactRequest, ): Effect.Effect< GetAlternateContactResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; getContactInformation( input: GetContactInformationRequest, ): Effect.Effect< GetContactInformationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; getPrimaryEmail( input: GetPrimaryEmailRequest, ): Effect.Effect< GetPrimaryEmailResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; getRegionOptStatus( input: GetRegionOptStatusRequest, ): Effect.Effect< GetRegionOptStatusResponse, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; listRegions( input: ListRegionsRequest, ): Effect.Effect< ListRegionsResponse, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; putAccountName( input: PutAccountNameRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; putAlternateContact( input: PutAlternateContactRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; putContactInformation( input: PutContactInformationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; startPrimaryEmailUpdate( input: StartPrimaryEmailUpdateRequest, ): Effect.Effect< StartPrimaryEmailUpdateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; } @@ -560,11 +461,5 @@ export declare namespace StartPrimaryEmailUpdate { | CommonAwsError; } -export type AccountErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError; +export type AccountErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError; + diff --git a/src/services/acm-pca/index.ts b/src/services/acm-pca/index.ts index 208932c1..1b8adf4b 100644 --- a/src/services/acm-pca/index.ts +++ b/src/services/acm-pca/index.ts @@ -5,26 +5,7 @@ import type { ACMPCA as _ACMPCAClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/acm-pca/types.ts b/src/services/acm-pca/types.ts index cd618ac6..4e423363 100644 --- a/src/services/acm-pca/types.ts +++ b/src/services/acm-pca/types.ts @@ -7,67 +7,37 @@ export declare class ACMPCA extends AWSServiceClient { input: CreateCertificateAuthorityRequest, ): Effect.Effect< CreateCertificateAuthorityResponse, - | InvalidArgsException - | InvalidPolicyException - | InvalidTagException - | LimitExceededException - | CommonAwsError + InvalidArgsException | InvalidPolicyException | InvalidTagException | LimitExceededException | CommonAwsError >; createCertificateAuthorityAuditReport( input: CreateCertificateAuthorityAuditReportRequest, ): Effect.Effect< CreateCertificateAuthorityAuditReportResponse, - | InvalidArgsException - | InvalidArnException - | InvalidStateException - | RequestFailedException - | RequestInProgressException - | ResourceNotFoundException - | CommonAwsError + InvalidArgsException | InvalidArnException | InvalidStateException | RequestFailedException | RequestInProgressException | ResourceNotFoundException | CommonAwsError >; createPermission( input: CreatePermissionRequest, ): Effect.Effect< {}, - | InvalidArnException - | InvalidStateException - | LimitExceededException - | PermissionAlreadyExistsException - | RequestFailedException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | LimitExceededException | PermissionAlreadyExistsException | RequestFailedException | ResourceNotFoundException | CommonAwsError >; deleteCertificateAuthority( input: DeleteCertificateAuthorityRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidArnException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArnException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; deletePermission( input: DeletePermissionRequest, ): Effect.Effect< {}, - | InvalidArnException - | InvalidStateException - | RequestFailedException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | RequestFailedException | ResourceNotFoundException | CommonAwsError >; deletePolicy( input: DeletePolicyRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidArnException - | InvalidStateException - | LockoutPreventedException - | RequestFailedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArnException | InvalidStateException | LockoutPreventedException | RequestFailedException | ResourceNotFoundException | CommonAwsError >; describeCertificateAuthority( input: DescribeCertificateAuthorityRequest, @@ -79,78 +49,43 @@ export declare class ACMPCA extends AWSServiceClient { input: DescribeCertificateAuthorityAuditReportRequest, ): Effect.Effect< DescribeCertificateAuthorityAuditReportResponse, - | InvalidArgsException - | InvalidArnException - | ResourceNotFoundException - | CommonAwsError + InvalidArgsException | InvalidArnException | ResourceNotFoundException | CommonAwsError >; getCertificate( input: GetCertificateRequest, ): Effect.Effect< GetCertificateResponse, - | InvalidArnException - | InvalidStateException - | RequestFailedException - | RequestInProgressException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | RequestFailedException | RequestInProgressException | ResourceNotFoundException | CommonAwsError >; getCertificateAuthorityCertificate( input: GetCertificateAuthorityCertificateRequest, ): Effect.Effect< GetCertificateAuthorityCertificateResponse, - | InvalidArnException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; getCertificateAuthorityCsr( input: GetCertificateAuthorityCsrRequest, ): Effect.Effect< GetCertificateAuthorityCsrResponse, - | InvalidArnException - | InvalidStateException - | RequestFailedException - | RequestInProgressException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | RequestFailedException | RequestInProgressException | ResourceNotFoundException | CommonAwsError >; getPolicy( input: GetPolicyRequest, ): Effect.Effect< GetPolicyResponse, - | InvalidArnException - | InvalidStateException - | RequestFailedException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | RequestFailedException | ResourceNotFoundException | CommonAwsError >; importCertificateAuthorityCertificate( input: ImportCertificateAuthorityCertificateRequest, ): Effect.Effect< {}, - | CertificateMismatchException - | ConcurrentModificationException - | InvalidArnException - | InvalidRequestException - | InvalidStateException - | MalformedCertificateException - | RequestFailedException - | RequestInProgressException - | ResourceNotFoundException - | CommonAwsError + CertificateMismatchException | ConcurrentModificationException | InvalidArnException | InvalidRequestException | InvalidStateException | MalformedCertificateException | RequestFailedException | RequestInProgressException | ResourceNotFoundException | CommonAwsError >; issueCertificate( input: IssueCertificateRequest, ): Effect.Effect< IssueCertificateResponse, - | InvalidArgsException - | InvalidArnException - | InvalidStateException - | LimitExceededException - | MalformedCSRException - | ResourceNotFoundException - | CommonAwsError + InvalidArgsException | InvalidArnException | InvalidStateException | LimitExceededException | MalformedCSRException | ResourceNotFoundException | CommonAwsError >; listCertificateAuthorities( input: ListCertificateAuthoritiesRequest, @@ -162,92 +97,49 @@ export declare class ACMPCA extends AWSServiceClient { input: ListPermissionsRequest, ): Effect.Effect< ListPermissionsResponse, - | InvalidArnException - | InvalidNextTokenException - | InvalidStateException - | RequestFailedException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidNextTokenException | InvalidStateException | RequestFailedException | ResourceNotFoundException | CommonAwsError >; listTags( input: ListTagsRequest, ): Effect.Effect< ListTagsResponse, - | InvalidArnException - | InvalidStateException - | RequestFailedException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | RequestFailedException | ResourceNotFoundException | CommonAwsError >; putPolicy( input: PutPolicyRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidArnException - | InvalidPolicyException - | InvalidStateException - | LockoutPreventedException - | RequestFailedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArnException | InvalidPolicyException | InvalidStateException | LockoutPreventedException | RequestFailedException | ResourceNotFoundException | CommonAwsError >; restoreCertificateAuthority( input: RestoreCertificateAuthorityRequest, ): Effect.Effect< {}, - | InvalidArnException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; revokeCertificate( input: RevokeCertificateRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidArnException - | InvalidRequestException - | InvalidStateException - | LimitExceededException - | RequestAlreadyProcessedException - | RequestFailedException - | RequestInProgressException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArnException | InvalidRequestException | InvalidStateException | LimitExceededException | RequestAlreadyProcessedException | RequestFailedException | RequestInProgressException | ResourceNotFoundException | CommonAwsError >; tagCertificateAuthority( input: TagCertificateAuthorityRequest, ): Effect.Effect< {}, - | InvalidArnException - | InvalidStateException - | InvalidTagException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidArnException | InvalidStateException | InvalidTagException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; untagCertificateAuthority( input: UntagCertificateAuthorityRequest, ): Effect.Effect< {}, - | InvalidArnException - | InvalidStateException - | InvalidTagException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | InvalidTagException | ResourceNotFoundException | CommonAwsError >; updateCertificateAuthority( input: UpdateCertificateAuthorityRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidArgsException - | InvalidArnException - | InvalidPolicyException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgsException | InvalidArnException | InvalidPolicyException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; } @@ -262,17 +154,11 @@ export interface AccessMethod { CustomObjectIdentifier?: string; AccessMethodType?: AccessMethodType; } -export type AccessMethodType = - | "CA_REPOSITORY" - | "RESOURCE_PKI_MANIFEST" - | "RESOURCE_PKI_NOTIFY"; +export type AccessMethodType = "CA_REPOSITORY" | "RESOURCE_PKI_MANIFEST" | "RESOURCE_PKI_NOTIFY"; export type AccountId = string; export type ActionList = Array; -export type ActionType = - | "IssueCertificate" - | "GetCertificate" - | "ListPermissions"; +export type ActionType = "IssueCertificate" | "GetCertificate" | "ListPermissions"; export interface ApiPassthrough { Extensions?: Extensions; Subject?: ASN1Subject; @@ -332,18 +218,9 @@ export interface CertificateAuthorityConfiguration { Subject: ASN1Subject; CsrExtensions?: CsrExtensions; } -export type CertificateAuthorityStatus = - | "CREATING" - | "PENDING_CERTIFICATE" - | "ACTIVE" - | "DELETED" - | "DISABLED" - | "EXPIRED" - | "FAILED"; +export type CertificateAuthorityStatus = "CREATING" | "PENDING_CERTIFICATE" | "ACTIVE" | "DELETED" | "DISABLED" | "EXPIRED" | "FAILED"; export type CertificateAuthorityType = "ROOT" | "SUBORDINATE"; -export type CertificateAuthorityUsageMode = - | "GENERAL_PURPOSE" - | "SHORT_LIVED_CERTIFICATE"; +export type CertificateAuthorityUsageMode = "GENERAL_PURPOSE" | "SHORT_LIVED_CERTIFICATE"; export type CertificateBody = string; export type CertificateBodyBlob = Uint8Array | string; @@ -468,16 +345,7 @@ export interface ExtendedKeyUsage { ExtendedKeyUsageObjectIdentifier?: string; } export type ExtendedKeyUsageList = Array; -export type ExtendedKeyUsageType = - | "SERVER_AUTH" - | "CLIENT_AUTH" - | "CODE_SIGNING" - | "EMAIL_PROTECTION" - | "TIME_STAMPING" - | "OCSP_SIGNING" - | "SMART_CARD_LOGIN" - | "DOCUMENT_SIGNING" - | "CERTIFICATE_TRANSPARENCY"; +export type ExtendedKeyUsageType = "SERVER_AUTH" | "CLIENT_AUTH" | "CODE_SIGNING" | "EMAIL_PROTECTION" | "TIME_STAMPING" | "OCSP_SIGNING" | "SMART_CARD_LOGIN" | "DOCUMENT_SIGNING" | "CERTIFICATE_TRANSPARENCY"; export interface Extensions { CertificatePolicies?: Array; ExtendedKeyUsage?: Array; @@ -485,10 +353,7 @@ export interface Extensions { SubjectAlternativeNames?: Array; CustomExtensions?: Array; } -export type FailureReason = - | "REQUEST_TIMED_OUT" - | "UNSUPPORTED_ALGORITHM" - | "OTHER"; +export type FailureReason = "REQUEST_TIMED_OUT" | "UNSUPPORTED_ALGORITHM" | "OTHER"; export interface GeneralName { OtherName?: OtherName; Rfc822Name?: string; @@ -584,18 +449,8 @@ export interface IssueCertificateRequest { export interface IssueCertificateResponse { CertificateArn?: string; } -export type KeyAlgorithm = - | "RSA_2048" - | "RSA_3072" - | "RSA_4096" - | "EC_prime256v1" - | "EC_secp384r1" - | "EC_secp521r1" - | "SM2"; -export type KeyStorageSecurityStandard = - | "FIPS_140_2_LEVEL_2_OR_HIGHER" - | "FIPS_140_2_LEVEL_3_OR_HIGHER" - | "CCPC_LEVEL_1_OR_HIGHER"; +export type KeyAlgorithm = "RSA_2048" | "RSA_3072" | "RSA_4096" | "EC_prime256v1" | "EC_secp384r1" | "EC_secp521r1" | "SM2"; +export type KeyStorageSecurityStandard = "FIPS_140_2_LEVEL_2_OR_HIGHER" | "FIPS_140_2_LEVEL_3_OR_HIGHER" | "CCPC_LEVEL_1_OR_HIGHER"; export interface KeyUsage { DigitalSignature?: boolean; NonRepudiation?: boolean; @@ -731,15 +586,7 @@ export interface RevocationConfiguration { CrlConfiguration?: CrlConfiguration; OcspConfiguration?: OcspConfiguration; } -export type RevocationReason = - | "UNSPECIFIED" - | "KEY_COMPROMISE" - | "CERTIFICATE_AUTHORITY_COMPROMISE" - | "AFFILIATION_CHANGED" - | "SUPERSEDED" - | "CESSATION_OF_OPERATION" - | "PRIVILEGE_WITHDRAWN" - | "A_A_COMPROMISE"; +export type RevocationReason = "UNSPECIFIED" | "KEY_COMPROMISE" | "CERTIFICATE_AUTHORITY_COMPROMISE" | "AFFILIATION_CHANGED" | "SUPERSEDED" | "CESSATION_OF_OPERATION" | "PRIVILEGE_WITHDRAWN" | "A_A_COMPROMISE"; export interface RevokeCertificateRequest { CertificateAuthorityArn: string; CertificateSerial: string; @@ -752,14 +599,7 @@ export type S3BucketName3To255 = string; export type S3Key = string; export type S3ObjectAcl = "PUBLIC_READ" | "BUCKET_OWNER_FULL_CONTROL"; -export type SigningAlgorithm = - | "SHA256WITHECDSA" - | "SHA384WITHECDSA" - | "SHA512WITHECDSA" - | "SHA256WITHRSA" - | "SHA384WITHRSA" - | "SHA512WITHRSA" - | "SM3WITHSM2"; +export type SigningAlgorithm = "SHA256WITHECDSA" | "SHA384WITHECDSA" | "SHA512WITHECDSA" | "SHA256WITHRSA" | "SHA384WITHRSA" | "SHA512WITHRSA" | "SM3WITHSM2"; export type AcmPcaString = string; export type String128 = string; @@ -815,12 +655,7 @@ export interface Validity { Value: number; Type: ValidityPeriodType; } -export type ValidityPeriodType = - | "END_DATE" - | "ABSOLUTE" - | "DAYS" - | "MONTHS" - | "YEARS"; +export type ValidityPeriodType = "END_DATE" | "ABSOLUTE" | "DAYS" | "MONTHS" | "YEARS"; export declare namespace CreateCertificateAuthority { export type Input = CreateCertificateAuthorityRequest; export type Output = CreateCertificateAuthorityResponse; @@ -989,7 +824,9 @@ export declare namespace IssueCertificate { export declare namespace ListCertificateAuthorities { export type Input = ListCertificateAuthoritiesRequest; export type Output = ListCertificateAuthoritiesResponse; - export type Error = InvalidNextTokenException | CommonAwsError; + export type Error = + | InvalidNextTokenException + | CommonAwsError; } export declare namespace ListPermissions { @@ -1091,24 +928,5 @@ export declare namespace UpdateCertificateAuthority { | CommonAwsError; } -export type ACMPCAErrors = - | CertificateMismatchException - | ConcurrentModificationException - | InvalidArgsException - | InvalidArnException - | InvalidNextTokenException - | InvalidPolicyException - | InvalidRequestException - | InvalidStateException - | InvalidTagException - | LimitExceededException - | LockoutPreventedException - | MalformedCSRException - | MalformedCertificateException - | PermissionAlreadyExistsException - | RequestAlreadyProcessedException - | RequestFailedException - | RequestInProgressException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError; +export type ACMPCAErrors = CertificateMismatchException | ConcurrentModificationException | InvalidArgsException | InvalidArnException | InvalidNextTokenException | InvalidPolicyException | InvalidRequestException | InvalidStateException | InvalidTagException | LimitExceededException | LockoutPreventedException | MalformedCSRException | MalformedCertificateException | PermissionAlreadyExistsException | RequestAlreadyProcessedException | RequestFailedException | RequestInProgressException | ResourceNotFoundException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/acm/index.ts b/src/services/acm/index.ts index a089e2d6..2501b70b 100644 --- a/src/services/acm/index.ts +++ b/src/services/acm/index.ts @@ -5,23 +5,7 @@ import type { ACM as _ACMClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/acm/types.ts b/src/services/acm/types.ts index 28cd56b6..ce121a4b 100644 --- a/src/services/acm/types.ts +++ b/src/services/acm/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ACM extends AWSServiceClient { @@ -40,26 +8,13 @@ export declare class ACM extends AWSServiceClient { input: AddTagsToCertificateRequest, ): Effect.Effect< {}, - | InvalidArnException - | InvalidParameterException - | InvalidTagException - | ResourceNotFoundException - | TagPolicyException - | ThrottlingException - | TooManyTagsException - | CommonAwsError + InvalidArnException | InvalidParameterException | InvalidTagException | ResourceNotFoundException | TagPolicyException | ThrottlingException | TooManyTagsException | CommonAwsError >; deleteCertificate( input: DeleteCertificateRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InvalidArnException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InvalidArnException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeCertificate( input: DescribeCertificateRequest, @@ -71,12 +26,11 @@ export declare class ACM extends AWSServiceClient { input: ExportCertificateRequest, ): Effect.Effect< ExportCertificateResponse, - | InvalidArnException - | RequestInProgressException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | RequestInProgressException | ResourceNotFoundException | CommonAwsError >; - getAccountConfiguration(input: {}): Effect.Effect< + getAccountConfiguration( + input: {}, + ): Effect.Effect< GetAccountConfigurationResponse, AccessDeniedException | ThrottlingException | CommonAwsError >; @@ -84,23 +38,13 @@ export declare class ACM extends AWSServiceClient { input: GetCertificateRequest, ): Effect.Effect< GetCertificateResponse, - | InvalidArnException - | RequestInProgressException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | RequestInProgressException | ResourceNotFoundException | CommonAwsError >; importCertificate( input: ImportCertificateRequest, ): Effect.Effect< ImportCertificateResponse, - | InvalidArnException - | InvalidParameterException - | InvalidTagException - | LimitExceededException - | ResourceNotFoundException - | TagPolicyException - | TooManyTagsException - | CommonAwsError + InvalidArnException | InvalidParameterException | InvalidTagException | LimitExceededException | ResourceNotFoundException | TagPolicyException | TooManyTagsException | CommonAwsError >; listCertificates( input: ListCertificatesRequest, @@ -118,77 +62,43 @@ export declare class ACM extends AWSServiceClient { input: PutAccountConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ThrottlingException | ValidationException | CommonAwsError >; removeTagsFromCertificate( input: RemoveTagsFromCertificateRequest, ): Effect.Effect< {}, - | InvalidArnException - | InvalidParameterException - | InvalidTagException - | ResourceNotFoundException - | TagPolicyException - | ThrottlingException - | CommonAwsError + InvalidArnException | InvalidParameterException | InvalidTagException | ResourceNotFoundException | TagPolicyException | ThrottlingException | CommonAwsError >; renewCertificate( input: RenewCertificateRequest, ): Effect.Effect< {}, - | InvalidArnException - | RequestInProgressException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | RequestInProgressException | ResourceNotFoundException | CommonAwsError >; requestCertificate( input: RequestCertificateRequest, ): Effect.Effect< RequestCertificateResponse, - | InvalidArnException - | InvalidDomainValidationOptionsException - | InvalidParameterException - | InvalidTagException - | LimitExceededException - | TagPolicyException - | TooManyTagsException - | CommonAwsError + InvalidArnException | InvalidDomainValidationOptionsException | InvalidParameterException | InvalidTagException | LimitExceededException | TagPolicyException | TooManyTagsException | CommonAwsError >; resendValidationEmail( input: ResendValidationEmailRequest, ): Effect.Effect< {}, - | InvalidArnException - | InvalidDomainValidationOptionsException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidDomainValidationOptionsException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; revokeCertificate( input: RevokeCertificateRequest, ): Effect.Effect< RevokeCertificateResponse, - | AccessDeniedException - | ConflictException - | InvalidArnException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InvalidArnException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateCertificateOptions( input: UpdateCertificateOptionsRequest, ): Effect.Effect< {}, - | InvalidArnException - | InvalidStateException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidArnException | InvalidStateException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; } @@ -250,14 +160,7 @@ export interface CertificateOptions { CertificateTransparencyLoggingPreference?: CertificateTransparencyLoggingPreference; Export?: CertificateExport; } -export type CertificateStatus = - | "PENDING_VALIDATION" - | "ISSUED" - | "INACTIVE" - | "EXPIRED" - | "VALIDATION_TIMED_OUT" - | "REVOKED" - | "FAILED"; +export type CertificateStatus = "PENDING_VALIDATION" | "ISSUED" | "INACTIVE" | "EXPIRED" | "VALIDATION_TIMED_OUT" | "REVOKED" | "FAILED"; export type CertificateStatuses = Array; export interface CertificateSummary { CertificateArn?: string; @@ -335,38 +238,9 @@ export interface ExtendedKeyUsage { } export type ExtendedKeyUsageFilterList = Array; export type ExtendedKeyUsageList = Array; -export type ExtendedKeyUsageName = - | "TLS_WEB_SERVER_AUTHENTICATION" - | "TLS_WEB_CLIENT_AUTHENTICATION" - | "CODE_SIGNING" - | "EMAIL_PROTECTION" - | "TIME_STAMPING" - | "OCSP_SIGNING" - | "IPSEC_END_SYSTEM" - | "IPSEC_TUNNEL" - | "IPSEC_USER" - | "ANY" - | "NONE" - | "CUSTOM"; +export type ExtendedKeyUsageName = "TLS_WEB_SERVER_AUTHENTICATION" | "TLS_WEB_CLIENT_AUTHENTICATION" | "CODE_SIGNING" | "EMAIL_PROTECTION" | "TIME_STAMPING" | "OCSP_SIGNING" | "IPSEC_END_SYSTEM" | "IPSEC_TUNNEL" | "IPSEC_USER" | "ANY" | "NONE" | "CUSTOM"; export type ExtendedKeyUsageNames = Array; -export type FailureReason = - | "NO_AVAILABLE_CONTACTS" - | "ADDITIONAL_VERIFICATION_REQUIRED" - | "DOMAIN_NOT_ALLOWED" - | "INVALID_PUBLIC_DOMAIN" - | "DOMAIN_VALIDATION_DENIED" - | "CAA_ERROR" - | "PCA_LIMIT_EXCEEDED" - | "PCA_INVALID_ARN" - | "PCA_INVALID_STATE" - | "PCA_REQUEST_FAILED" - | "PCA_NAME_CONSTRAINTS_VALIDATION" - | "PCA_RESOURCE_NOT_FOUND" - | "PCA_INVALID_ARGS" - | "PCA_INVALID_DURATION" - | "PCA_ACCESS_DENIED" - | "SLR_NOT_FOUND" - | "OTHER"; +export type FailureReason = "NO_AVAILABLE_CONTACTS" | "ADDITIONAL_VERIFICATION_REQUIRED" | "DOMAIN_NOT_ALLOWED" | "INVALID_PUBLIC_DOMAIN" | "DOMAIN_VALIDATION_DENIED" | "CAA_ERROR" | "PCA_LIMIT_EXCEEDED" | "PCA_INVALID_ARN" | "PCA_INVALID_STATE" | "PCA_REQUEST_FAILED" | "PCA_NAME_CONSTRAINTS_VALIDATION" | "PCA_RESOURCE_NOT_FOUND" | "PCA_INVALID_ARGS" | "PCA_INVALID_DURATION" | "PCA_ACCESS_DENIED" | "SLR_NOT_FOUND" | "OTHER"; export interface Filters { extendedKeyUsage?: Array; keyUsage?: Array; @@ -431,32 +305,14 @@ export declare class InvalidTagException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type KeyAlgorithm = - | "RSA_1024" - | "RSA_2048" - | "RSA_3072" - | "RSA_4096" - | "EC_prime256v1" - | "EC_secp384r1" - | "EC_secp521r1"; +export type KeyAlgorithm = "RSA_1024" | "RSA_2048" | "RSA_3072" | "RSA_4096" | "EC_prime256v1" | "EC_secp384r1" | "EC_secp521r1"; export type KeyAlgorithmList = Array; export interface KeyUsage { Name?: KeyUsageName; } export type KeyUsageFilterList = Array; export type KeyUsageList = Array; -export type KeyUsageName = - | "DIGITAL_SIGNATURE" - | "NON_REPUDIATION" - | "KEY_ENCIPHERMENT" - | "DATA_ENCIPHERMENT" - | "KEY_AGREEMENT" - | "CERTIFICATE_SIGNING" - | "CRL_SIGNING" - | "ENCIPHER_ONLY" - | "DECIPHER_ONLY" - | "ANY" - | "CUSTOM"; +export type KeyUsageName = "DIGITAL_SIGNATURE" | "NON_REPUDIATION" | "KEY_ENCIPHERMENT" | "DATA_ENCIPHERMENT" | "KEY_AGREEMENT" | "CERTIFICATE_SIGNING" | "CRL_SIGNING" | "ENCIPHER_ONLY" | "DECIPHER_ONLY" | "ANY" | "CUSTOM"; export type KeyUsageNames = Array; export declare class LimitExceededException extends EffectData.TaggedError( "LimitExceededException", @@ -507,11 +363,7 @@ export interface RemoveTagsFromCertificateRequest { Tags: Array; } export type RenewalEligibility = "ELIGIBLE" | "INELIGIBLE"; -export type RenewalStatus = - | "PENDING_AUTO_RENEWAL" - | "PENDING_VALIDATION" - | "SUCCESS" - | "FAILED"; +export type RenewalStatus = "PENDING_AUTO_RENEWAL" | "PENDING_VALIDATION" | "SUCCESS" | "FAILED"; export interface RenewalSummary { RenewalStatus: RenewalStatus; DomainValidationOptions: Array; @@ -561,18 +413,7 @@ export interface ResourceRecord { Type: RecordType; Value: string; } -export type RevocationReason = - | "UNSPECIFIED" - | "KEY_COMPROMISE" - | "CA_COMPROMISE" - | "AFFILIATION_CHANGED" - | "SUPERCEDED" - | "SUPERSEDED" - | "CESSATION_OF_OPERATION" - | "CERTIFICATE_HOLD" - | "REMOVE_FROM_CRL" - | "PRIVILEGE_WITHDRAWN" - | "A_A_COMPROMISE"; +export type RevocationReason = "UNSPECIFIED" | "KEY_COMPROMISE" | "CA_COMPROMISE" | "AFFILIATION_CHANGED" | "SUPERCEDED" | "SUPERSEDED" | "CESSATION_OF_OPERATION" | "CERTIFICATE_HOLD" | "REMOVE_FROM_CRL" | "PRIVILEGE_WITHDRAWN" | "A_A_COMPROMISE"; export interface RevokeCertificateRequest { CertificateArn: string; RevocationReason: RevocationReason; @@ -805,21 +646,5 @@ export declare namespace UpdateCertificateOptions { | CommonAwsError; } -export type ACMErrors = - | AccessDeniedException - | ConflictException - | InvalidArgsException - | InvalidArnException - | InvalidDomainValidationOptionsException - | InvalidParameterException - | InvalidStateException - | InvalidTagException - | LimitExceededException - | RequestInProgressException - | ResourceInUseException - | ResourceNotFoundException - | TagPolicyException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type ACMErrors = AccessDeniedException | ConflictException | InvalidArgsException | InvalidArnException | InvalidDomainValidationOptionsException | InvalidParameterException | InvalidStateException | InvalidTagException | LimitExceededException | RequestInProgressException | ResourceInUseException | ResourceNotFoundException | TagPolicyException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/aiops/index.ts b/src/services/aiops/index.ts index 0dd8a8c7..465930da 100644 --- a/src/services/aiops/index.ts +++ b/src/services/aiops/index.ts @@ -5,23 +5,7 @@ import type { AIOps as _AIOpsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,19 +14,17 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "aiops", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateInvestigationGroup: "POST /investigationGroups", - DeleteInvestigationGroup: "DELETE /investigationGroups/{identifier}", - DeleteInvestigationGroupPolicy: - "DELETE /investigationGroups/{identifier}/policy", - GetInvestigationGroup: "GET /investigationGroups/{identifier}", - GetInvestigationGroupPolicy: "GET /investigationGroups/{identifier}/policy", - ListInvestigationGroups: "GET /investigationGroups", - PutInvestigationGroupPolicy: - "POST /investigationGroups/{identifier}/policy", - UpdateInvestigationGroup: "PATCH /investigationGroups/{identifier}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateInvestigationGroup": "POST /investigationGroups", + "DeleteInvestigationGroup": "DELETE /investigationGroups/{identifier}", + "DeleteInvestigationGroupPolicy": "DELETE /investigationGroups/{identifier}/policy", + "GetInvestigationGroup": "GET /investigationGroups/{identifier}", + "GetInvestigationGroupPolicy": "GET /investigationGroups/{identifier}/policy", + "ListInvestigationGroups": "GET /investigationGroups", + "PutInvestigationGroupPolicy": "POST /investigationGroups/{identifier}/policy", + "UpdateInvestigationGroup": "PATCH /investigationGroups/{identifier}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/aiops/types.ts b/src/services/aiops/types.ts index 8f4ed48b..ed36d850 100644 --- a/src/services/aiops/types.ts +++ b/src/services/aiops/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class AIOps extends AWSServiceClient { @@ -40,125 +8,67 @@ export declare class AIOps extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createInvestigationGroup( input: CreateInvestigationGroupInput, ): Effect.Effect< CreateInvestigationGroupOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteInvestigationGroup( input: DeleteInvestigationGroupRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteInvestigationGroupPolicy( input: DeleteInvestigationGroupPolicyRequest, ): Effect.Effect< DeleteInvestigationGroupPolicyOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getInvestigationGroup( input: GetInvestigationGroupRequest, ): Effect.Effect< GetInvestigationGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getInvestigationGroupPolicy( input: GetInvestigationGroupPolicyRequest, ): Effect.Effect< GetInvestigationGroupPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInvestigationGroups( input: ListInvestigationGroupsInput, ): Effect.Effect< ListInvestigationGroupsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; putInvestigationGroupPolicy( input: PutInvestigationGroupPolicyRequest, ): Effect.Effect< PutInvestigationGroupPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateInvestigationGroup( input: UpdateInvestigationGroupRequest, ): Effect.Effect< UpdateInvestigationGroupOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -196,7 +106,8 @@ export interface CrossAccountConfiguration { sourceRoleArn?: string; } export type CrossAccountConfigurations = Array; -export interface DeleteInvestigationGroupPolicyOutput {} +export interface DeleteInvestigationGroupPolicyOutput { +} export interface DeleteInvestigationGroupPolicyRequest { identifier: string; } @@ -207,9 +118,7 @@ export interface EncryptionConfiguration { type?: EncryptionConfigurationType; kmsKeyId?: string; } -export type EncryptionConfigurationType = - | "AWS_OWNED_KEY" - | "CUSTOMER_MANAGED_KMS_KEY"; +export type EncryptionConfigurationType = "AWS_OWNED_KEY" | "CUSTOMER_MANAGED_KMS_KEY"; export declare class ForbiddenException extends EffectData.TaggedError( "ForbiddenException", )<{ @@ -313,7 +222,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -326,8 +236,10 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} -export interface UpdateInvestigationGroupOutput {} +export interface UntagResourceResponse { +} +export interface UpdateInvestigationGroupOutput { +} export interface UpdateInvestigationGroupRequest { identifier: string; roleArn?: string; @@ -477,13 +389,5 @@ export declare namespace UpdateInvestigationGroup { | CommonAwsError; } -export type AIOpsErrors = - | AccessDeniedException - | ConflictException - | ForbiddenException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type AIOpsErrors = AccessDeniedException | ConflictException | ForbiddenException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/amp/index.ts b/src/services/amp/index.ts index 989893b5..4e33fec4 100644 --- a/src/services/amp/index.ts +++ b/src/services/amp/index.ts @@ -5,23 +5,7 @@ import type { amp as _ampClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,71 +14,54 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "aps", operations: { - GetDefaultScraperConfiguration: "GET /scraperconfiguration", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateAlertManagerDefinition: - "POST /workspaces/{workspaceId}/alertmanager/definition", - CreateAnomalyDetector: "POST /workspaces/{workspaceId}/anomalydetectors", - CreateLoggingConfiguration: "POST /workspaces/{workspaceId}/logging", - CreateQueryLoggingConfiguration: - "POST /workspaces/{workspaceId}/logging/query", - CreateRuleGroupsNamespace: - "POST /workspaces/{workspaceId}/rulegroupsnamespaces", - CreateScraper: "POST /scrapers", - CreateWorkspace: "POST /workspaces", - DeleteAlertManagerDefinition: - "DELETE /workspaces/{workspaceId}/alertmanager/definition", - DeleteAnomalyDetector: - "DELETE /workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", - DeleteLoggingConfiguration: "DELETE /workspaces/{workspaceId}/logging", - DeleteQueryLoggingConfiguration: - "DELETE /workspaces/{workspaceId}/logging/query", - DeleteResourcePolicy: "DELETE /workspaces/{workspaceId}/policy", - DeleteRuleGroupsNamespace: - "DELETE /workspaces/{workspaceId}/rulegroupsnamespaces/{name}", - DeleteScraper: "DELETE /scrapers/{scraperId}", - DeleteScraperLoggingConfiguration: - "DELETE /scrapers/{scraperId}/logging-configuration", - DeleteWorkspace: "DELETE /workspaces/{workspaceId}", - DescribeAlertManagerDefinition: - "GET /workspaces/{workspaceId}/alertmanager/definition", - DescribeAnomalyDetector: - "GET /workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", - DescribeLoggingConfiguration: "GET /workspaces/{workspaceId}/logging", - DescribeQueryLoggingConfiguration: - "GET /workspaces/{workspaceId}/logging/query", - DescribeResourcePolicy: "GET /workspaces/{workspaceId}/policy", - DescribeRuleGroupsNamespace: - "GET /workspaces/{workspaceId}/rulegroupsnamespaces/{name}", - DescribeScraper: "GET /scrapers/{scraperId}", - DescribeScraperLoggingConfiguration: - "GET /scrapers/{scraperId}/logging-configuration", - DescribeWorkspace: "GET /workspaces/{workspaceId}", - DescribeWorkspaceConfiguration: - "GET /workspaces/{workspaceId}/configuration", - ListAnomalyDetectors: "GET /workspaces/{workspaceId}/anomalydetectors", - ListRuleGroupsNamespaces: - "GET /workspaces/{workspaceId}/rulegroupsnamespaces", - ListScrapers: "GET /scrapers", - ListWorkspaces: "GET /workspaces", - PutAlertManagerDefinition: - "PUT /workspaces/{workspaceId}/alertmanager/definition", - PutAnomalyDetector: - "PUT /workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", - PutResourcePolicy: "PUT /workspaces/{workspaceId}/policy", - PutRuleGroupsNamespace: - "PUT /workspaces/{workspaceId}/rulegroupsnamespaces/{name}", - UpdateLoggingConfiguration: "PUT /workspaces/{workspaceId}/logging", - UpdateQueryLoggingConfiguration: - "PUT /workspaces/{workspaceId}/logging/query", - UpdateScraper: "PUT /scrapers/{scraperId}", - UpdateScraperLoggingConfiguration: - "PUT /scrapers/{scraperId}/logging-configuration", - UpdateWorkspaceAlias: "POST /workspaces/{workspaceId}/alias", - UpdateWorkspaceConfiguration: - "PATCH /workspaces/{workspaceId}/configuration", + "GetDefaultScraperConfiguration": "GET /scraperconfiguration", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateAlertManagerDefinition": "POST /workspaces/{workspaceId}/alertmanager/definition", + "CreateAnomalyDetector": "POST /workspaces/{workspaceId}/anomalydetectors", + "CreateLoggingConfiguration": "POST /workspaces/{workspaceId}/logging", + "CreateQueryLoggingConfiguration": "POST /workspaces/{workspaceId}/logging/query", + "CreateRuleGroupsNamespace": "POST /workspaces/{workspaceId}/rulegroupsnamespaces", + "CreateScraper": "POST /scrapers", + "CreateWorkspace": "POST /workspaces", + "DeleteAlertManagerDefinition": "DELETE /workspaces/{workspaceId}/alertmanager/definition", + "DeleteAnomalyDetector": "DELETE /workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", + "DeleteLoggingConfiguration": "DELETE /workspaces/{workspaceId}/logging", + "DeleteQueryLoggingConfiguration": "DELETE /workspaces/{workspaceId}/logging/query", + "DeleteResourcePolicy": "DELETE /workspaces/{workspaceId}/policy", + "DeleteRuleGroupsNamespace": "DELETE /workspaces/{workspaceId}/rulegroupsnamespaces/{name}", + "DeleteScraper": "DELETE /scrapers/{scraperId}", + "DeleteScraperLoggingConfiguration": "DELETE /scrapers/{scraperId}/logging-configuration", + "DeleteWorkspace": "DELETE /workspaces/{workspaceId}", + "DescribeAlertManagerDefinition": "GET /workspaces/{workspaceId}/alertmanager/definition", + "DescribeAnomalyDetector": "GET /workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", + "DescribeLoggingConfiguration": "GET /workspaces/{workspaceId}/logging", + "DescribeQueryLoggingConfiguration": "GET /workspaces/{workspaceId}/logging/query", + "DescribeResourcePolicy": "GET /workspaces/{workspaceId}/policy", + "DescribeRuleGroupsNamespace": "GET /workspaces/{workspaceId}/rulegroupsnamespaces/{name}", + "DescribeScraper": "GET /scrapers/{scraperId}", + "DescribeScraperLoggingConfiguration": "GET /scrapers/{scraperId}/logging-configuration", + "DescribeWorkspace": "GET /workspaces/{workspaceId}", + "DescribeWorkspaceConfiguration": "GET /workspaces/{workspaceId}/configuration", + "ListAnomalyDetectors": "GET /workspaces/{workspaceId}/anomalydetectors", + "ListRuleGroupsNamespaces": "GET /workspaces/{workspaceId}/rulegroupsnamespaces", + "ListScrapers": "GET /scrapers", + "ListWorkspaces": "GET /workspaces", + "PutAlertManagerDefinition": "PUT /workspaces/{workspaceId}/alertmanager/definition", + "PutAnomalyDetector": "PUT /workspaces/{workspaceId}/anomalydetectors/{anomalyDetectorId}", + "PutResourcePolicy": "PUT /workspaces/{workspaceId}/policy", + "PutRuleGroupsNamespace": "PUT /workspaces/{workspaceId}/rulegroupsnamespaces/{name}", + "UpdateLoggingConfiguration": "PUT /workspaces/{workspaceId}/logging", + "UpdateQueryLoggingConfiguration": "PUT /workspaces/{workspaceId}/logging/query", + "UpdateScraper": "PUT /scrapers/{scraperId}", + "UpdateScraperLoggingConfiguration": "PUT /scrapers/{scraperId}/logging-configuration", + "UpdateWorkspaceAlias": "POST /workspaces/{workspaceId}/alias", + "UpdateWorkspaceConfiguration": "PATCH /workspaces/{workspaceId}/configuration", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/amp/types.ts b/src/services/amp/types.ts index d2012559..336d015a 100644 --- a/src/services/amp/types.ts +++ b/src/services/amp/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class amp extends AWSServiceClient { @@ -40,502 +8,265 @@ export declare class amp extends AWSServiceClient { input: GetDefaultScraperConfigurationRequest, ): Effect.Effect< GetDefaultScraperConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAlertManagerDefinition( input: CreateAlertManagerDefinitionRequest, ): Effect.Effect< CreateAlertManagerDefinitionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAnomalyDetector( input: CreateAnomalyDetectorRequest, ): Effect.Effect< CreateAnomalyDetectorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLoggingConfiguration( input: CreateLoggingConfigurationRequest, ): Effect.Effect< CreateLoggingConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createQueryLoggingConfiguration( input: CreateQueryLoggingConfigurationRequest, ): Effect.Effect< CreateQueryLoggingConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createRuleGroupsNamespace( input: CreateRuleGroupsNamespaceRequest, ): Effect.Effect< CreateRuleGroupsNamespaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createScraper( input: CreateScraperRequest, ): Effect.Effect< CreateScraperResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkspace( input: CreateWorkspaceRequest, ): Effect.Effect< CreateWorkspaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAlertManagerDefinition( input: DeleteAlertManagerDefinitionRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAnomalyDetector( input: DeleteAnomalyDetectorRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteLoggingConfiguration( input: DeleteLoggingConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteQueryLoggingConfiguration( input: DeleteQueryLoggingConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRuleGroupsNamespace( input: DeleteRuleGroupsNamespaceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteScraper( input: DeleteScraperRequest, ): Effect.Effect< DeleteScraperResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteScraperLoggingConfiguration( input: DeleteScraperLoggingConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteWorkspace( input: DeleteWorkspaceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAlertManagerDefinition( input: DescribeAlertManagerDefinitionRequest, ): Effect.Effect< DescribeAlertManagerDefinitionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAnomalyDetector( input: DescribeAnomalyDetectorRequest, ): Effect.Effect< DescribeAnomalyDetectorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeLoggingConfiguration( input: DescribeLoggingConfigurationRequest, ): Effect.Effect< DescribeLoggingConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeQueryLoggingConfiguration( input: DescribeQueryLoggingConfigurationRequest, ): Effect.Effect< DescribeQueryLoggingConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeResourcePolicy( input: DescribeResourcePolicyRequest, ): Effect.Effect< DescribeResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRuleGroupsNamespace( input: DescribeRuleGroupsNamespaceRequest, ): Effect.Effect< DescribeRuleGroupsNamespaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeScraper( input: DescribeScraperRequest, ): Effect.Effect< DescribeScraperResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeScraperLoggingConfiguration( input: DescribeScraperLoggingConfigurationRequest, ): Effect.Effect< DescribeScraperLoggingConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeWorkspace( input: DescribeWorkspaceRequest, ): Effect.Effect< DescribeWorkspaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeWorkspaceConfiguration( input: DescribeWorkspaceConfigurationRequest, ): Effect.Effect< DescribeWorkspaceConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAnomalyDetectors( input: ListAnomalyDetectorsRequest, ): Effect.Effect< ListAnomalyDetectorsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRuleGroupsNamespaces( input: ListRuleGroupsNamespacesRequest, ): Effect.Effect< ListRuleGroupsNamespacesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listScrapers( input: ListScrapersRequest, ): Effect.Effect< ListScrapersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listWorkspaces( input: ListWorkspacesRequest, ): Effect.Effect< ListWorkspacesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putAlertManagerDefinition( input: PutAlertManagerDefinitionRequest, ): Effect.Effect< PutAlertManagerDefinitionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putAnomalyDetector( input: PutAnomalyDetectorRequest, ): Effect.Effect< PutAnomalyDetectorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putRuleGroupsNamespace( input: PutRuleGroupsNamespaceRequest, ): Effect.Effect< PutRuleGroupsNamespaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateLoggingConfiguration( input: UpdateLoggingConfigurationRequest, ): Effect.Effect< UpdateLoggingConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateQueryLoggingConfiguration( input: UpdateQueryLoggingConfigurationRequest, ): Effect.Effect< UpdateQueryLoggingConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateScraper( input: UpdateScraperRequest, ): Effect.Effect< UpdateScraperResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateScraperLoggingConfiguration( input: UpdateScraperLoggingConfigurationRequest, ): Effect.Effect< UpdateScraperLoggingConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateWorkspaceAlias( input: UpdateWorkspaceAliasRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkspaceConfiguration( input: UpdateWorkspaceConfigurationRequest, ): Effect.Effect< UpdateWorkspaceConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -571,9 +302,7 @@ interface _AnomalyDetectorConfiguration { randomCutForest?: RandomCutForestConfiguration; } -export type AnomalyDetectorConfiguration = _AnomalyDetectorConfiguration & { - randomCutForest: RandomCutForestConfiguration; -}; +export type AnomalyDetectorConfiguration = (_AnomalyDetectorConfiguration & { randomCutForest: RandomCutForestConfiguration }); export interface AnomalyDetectorDescription { arn: string; anomalyDetectorId: string; @@ -596,21 +325,12 @@ interface _AnomalyDetectorMissingDataAction { skip?: boolean; } -export type AnomalyDetectorMissingDataAction = - | (_AnomalyDetectorMissingDataAction & { markAsAnomaly: boolean }) - | (_AnomalyDetectorMissingDataAction & { skip: boolean }); +export type AnomalyDetectorMissingDataAction = (_AnomalyDetectorMissingDataAction & { markAsAnomaly: boolean }) | (_AnomalyDetectorMissingDataAction & { skip: boolean }); export interface AnomalyDetectorStatus { statusCode: AnomalyDetectorStatusCode; statusReason?: string; } -export type AnomalyDetectorStatusCode = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "CREATION_FAILED" - | "UPDATE_FAILED" - | "DELETION_FAILED"; +export type AnomalyDetectorStatusCode = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATION_FAILED" | "UPDATE_FAILED" | "DELETION_FAILED"; export interface AnomalyDetectorSummary { arn: string; anomalyDetectorId: string; @@ -832,7 +552,7 @@ interface _Destination { ampConfiguration?: AmpConfiguration; } -export type Destination = _Destination & { ampConfiguration: AmpConfiguration }; +export type Destination = (_Destination & { ampConfiguration: AmpConfiguration }); export interface EksConfiguration { clusterArn: string; securityGroupIds?: Array; @@ -843,7 +563,8 @@ export type FilterKey = string; export type FilterValue = string; export type FilterValues = Array; -export interface GetDefaultScraperConfigurationRequest {} +export interface GetDefaultScraperConfigurationRequest { +} export interface GetDefaultScraperConfigurationResponse { configuration: Uint8Array | string; } @@ -856,9 +577,7 @@ interface _IgnoreNearExpected { ratio?: number; } -export type IgnoreNearExpected = - | (_IgnoreNearExpected & { amount: number }) - | (_IgnoreNearExpected & { ratio: number }); +export type IgnoreNearExpected = (_IgnoreNearExpected & { amount: number }) | (_IgnoreNearExpected & { ratio: number }); export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", )<{ @@ -1066,9 +785,7 @@ interface _ScrapeConfiguration { configurationBlob?: Uint8Array | string; } -export type ScrapeConfiguration = _ScrapeConfiguration & { - configurationBlob: Uint8Array | string; -}; +export type ScrapeConfiguration = (_ScrapeConfiguration & { configurationBlob: Uint8Array | string }); export type ScraperAlias = string; export type ScraperArn = string; @@ -1108,9 +825,7 @@ interface _ScraperLoggingDestination { cloudWatchLogs?: CloudWatchLogDestination; } -export type ScraperLoggingDestination = _ScraperLoggingDestination & { - cloudWatchLogs: CloudWatchLogDestination; -}; +export type ScraperLoggingDestination = (_ScraperLoggingDestination & { cloudWatchLogs: CloudWatchLogDestination }); export interface ScraperStatus { statusCode: string; } @@ -1147,7 +862,7 @@ interface _Source { eksConfiguration?: EksConfiguration; } -export type Source = _Source & { eksConfiguration: EksConfiguration }; +export type Source = (_Source & { eksConfiguration: EksConfiguration }); export type StatusReason = string; export type StringMap = Record; @@ -1162,7 +877,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1177,7 +893,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateLoggingConfigurationRequest { workspaceId: string; logGroupArn: string; @@ -1835,12 +1552,5 @@ export declare namespace UpdateWorkspaceConfiguration { | CommonAwsError; } -export type ampErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ampErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/amplify/index.ts b/src/services/amplify/index.ts index c806b349..5492b5f6 100644 --- a/src/services/amplify/index.ts +++ b/src/services/amplify/index.ts @@ -5,26 +5,7 @@ import type { Amplify as _AmplifyClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,47 +15,43 @@ const metadata = { sigV4ServiceName: "amplify", endpointPrefix: "amplify", operations: { - CreateApp: "POST /apps", - CreateBackendEnvironment: "POST /apps/{appId}/backendenvironments", - CreateBranch: "POST /apps/{appId}/branches", - CreateDeployment: "POST /apps/{appId}/branches/{branchName}/deployments", - CreateDomainAssociation: "POST /apps/{appId}/domains", - CreateWebhook: "POST /apps/{appId}/webhooks", - DeleteApp: "DELETE /apps/{appId}", - DeleteBackendEnvironment: - "DELETE /apps/{appId}/backendenvironments/{environmentName}", - DeleteBranch: "DELETE /apps/{appId}/branches/{branchName}", - DeleteDomainAssociation: "DELETE /apps/{appId}/domains/{domainName}", - DeleteJob: "DELETE /apps/{appId}/branches/{branchName}/jobs/{jobId}", - DeleteWebhook: "DELETE /webhooks/{webhookId}", - GenerateAccessLogs: "POST /apps/{appId}/accesslogs", - GetApp: "GET /apps/{appId}", - GetArtifactUrl: "GET /artifacts/{artifactId}", - GetBackendEnvironment: - "GET /apps/{appId}/backendenvironments/{environmentName}", - GetBranch: "GET /apps/{appId}/branches/{branchName}", - GetDomainAssociation: "GET /apps/{appId}/domains/{domainName}", - GetJob: "GET /apps/{appId}/branches/{branchName}/jobs/{jobId}", - GetWebhook: "GET /webhooks/{webhookId}", - ListApps: "GET /apps", - ListArtifacts: - "GET /apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts", - ListBackendEnvironments: "GET /apps/{appId}/backendenvironments", - ListBranches: "GET /apps/{appId}/branches", - ListDomainAssociations: "GET /apps/{appId}/domains", - ListJobs: "GET /apps/{appId}/branches/{branchName}/jobs", - ListTagsForResource: "GET /tags/{resourceArn}", - ListWebhooks: "GET /apps/{appId}/webhooks", - StartDeployment: - "POST /apps/{appId}/branches/{branchName}/deployments/start", - StartJob: "POST /apps/{appId}/branches/{branchName}/jobs", - StopJob: "DELETE /apps/{appId}/branches/{branchName}/jobs/{jobId}/stop", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateApp: "POST /apps/{appId}", - UpdateBranch: "POST /apps/{appId}/branches/{branchName}", - UpdateDomainAssociation: "POST /apps/{appId}/domains/{domainName}", - UpdateWebhook: "POST /webhooks/{webhookId}", + "CreateApp": "POST /apps", + "CreateBackendEnvironment": "POST /apps/{appId}/backendenvironments", + "CreateBranch": "POST /apps/{appId}/branches", + "CreateDeployment": "POST /apps/{appId}/branches/{branchName}/deployments", + "CreateDomainAssociation": "POST /apps/{appId}/domains", + "CreateWebhook": "POST /apps/{appId}/webhooks", + "DeleteApp": "DELETE /apps/{appId}", + "DeleteBackendEnvironment": "DELETE /apps/{appId}/backendenvironments/{environmentName}", + "DeleteBranch": "DELETE /apps/{appId}/branches/{branchName}", + "DeleteDomainAssociation": "DELETE /apps/{appId}/domains/{domainName}", + "DeleteJob": "DELETE /apps/{appId}/branches/{branchName}/jobs/{jobId}", + "DeleteWebhook": "DELETE /webhooks/{webhookId}", + "GenerateAccessLogs": "POST /apps/{appId}/accesslogs", + "GetApp": "GET /apps/{appId}", + "GetArtifactUrl": "GET /artifacts/{artifactId}", + "GetBackendEnvironment": "GET /apps/{appId}/backendenvironments/{environmentName}", + "GetBranch": "GET /apps/{appId}/branches/{branchName}", + "GetDomainAssociation": "GET /apps/{appId}/domains/{domainName}", + "GetJob": "GET /apps/{appId}/branches/{branchName}/jobs/{jobId}", + "GetWebhook": "GET /webhooks/{webhookId}", + "ListApps": "GET /apps", + "ListArtifacts": "GET /apps/{appId}/branches/{branchName}/jobs/{jobId}/artifacts", + "ListBackendEnvironments": "GET /apps/{appId}/backendenvironments", + "ListBranches": "GET /apps/{appId}/branches", + "ListDomainAssociations": "GET /apps/{appId}/domains", + "ListJobs": "GET /apps/{appId}/branches/{branchName}/jobs", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListWebhooks": "GET /apps/{appId}/webhooks", + "StartDeployment": "POST /apps/{appId}/branches/{branchName}/deployments/start", + "StartJob": "POST /apps/{appId}/branches/{branchName}/jobs", + "StopJob": "DELETE /apps/{appId}/branches/{branchName}/jobs/{jobId}/stop", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateApp": "POST /apps/{appId}", + "UpdateBranch": "POST /apps/{appId}/branches/{branchName}", + "UpdateDomainAssociation": "POST /apps/{appId}/domains/{domainName}", + "UpdateWebhook": "POST /webhooks/{webhookId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/amplify/types.ts b/src/services/amplify/types.ts index 9aa91eb2..e494ebce 100644 --- a/src/services/amplify/types.ts +++ b/src/services/amplify/types.ts @@ -7,387 +7,223 @@ export declare class Amplify extends AWSServiceClient { input: CreateAppRequest, ): Effect.Effect< CreateAppResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | LimitExceededException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | LimitExceededException | UnauthorizedException | CommonAwsError >; createBackendEnvironment( input: CreateBackendEnvironmentRequest, ): Effect.Effect< CreateBackendEnvironmentResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; createBranch( input: CreateBranchRequest, ): Effect.Effect< CreateBranchResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; createDeployment( input: CreateDeploymentRequest, ): Effect.Effect< CreateDeploymentResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | UnauthorizedException | CommonAwsError >; createDomainAssociation( input: CreateDomainAssociationRequest, ): Effect.Effect< CreateDomainAssociationResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; createWebhook( input: CreateWebhookRequest, ): Effect.Effect< CreateWebhookResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteApp( input: DeleteAppRequest, ): Effect.Effect< DeleteAppResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteBackendEnvironment( input: DeleteBackendEnvironmentRequest, ): Effect.Effect< DeleteBackendEnvironmentResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteBranch( input: DeleteBranchRequest, ): Effect.Effect< DeleteBranchResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteDomainAssociation( input: DeleteDomainAssociationRequest, ): Effect.Effect< DeleteDomainAssociationResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteJob( input: DeleteJobRequest, ): Effect.Effect< DeleteJobResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteWebhook( input: DeleteWebhookRequest, ): Effect.Effect< DeleteWebhookResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; generateAccessLogs( input: GenerateAccessLogsRequest, ): Effect.Effect< GenerateAccessLogsResult, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getApp( input: GetAppRequest, ): Effect.Effect< GetAppResult, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getArtifactUrl( input: GetArtifactUrlRequest, ): Effect.Effect< GetArtifactUrlResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; getBackendEnvironment( input: GetBackendEnvironmentRequest, ): Effect.Effect< GetBackendEnvironmentResult, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getBranch( input: GetBranchRequest, ): Effect.Effect< GetBranchResult, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getDomainAssociation( input: GetDomainAssociationRequest, ): Effect.Effect< GetDomainAssociationResult, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getJob( input: GetJobRequest, ): Effect.Effect< GetJobResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; getWebhook( input: GetWebhookRequest, ): Effect.Effect< GetWebhookResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; listApps( input: ListAppsRequest, ): Effect.Effect< ListAppsResult, - | BadRequestException - | InternalFailureException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | UnauthorizedException | CommonAwsError >; listArtifacts( input: ListArtifactsRequest, ): Effect.Effect< ListArtifactsResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | UnauthorizedException | CommonAwsError >; listBackendEnvironments( input: ListBackendEnvironmentsRequest, ): Effect.Effect< ListBackendEnvironmentsResult, - | BadRequestException - | InternalFailureException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | UnauthorizedException | CommonAwsError >; listBranches( input: ListBranchesRequest, ): Effect.Effect< ListBranchesResult, - | BadRequestException - | InternalFailureException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | UnauthorizedException | CommonAwsError >; listDomainAssociations( input: ListDomainAssociationsRequest, ): Effect.Effect< ListDomainAssociationsResult, - | BadRequestException - | InternalFailureException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | UnauthorizedException | CommonAwsError >; listJobs( input: ListJobsRequest, ): Effect.Effect< ListJobsResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | UnauthorizedException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | InternalFailureException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | ResourceNotFoundException | CommonAwsError >; listWebhooks( input: ListWebhooksRequest, ): Effect.Effect< ListWebhooksResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | UnauthorizedException | CommonAwsError >; startDeployment( input: StartDeploymentRequest, ): Effect.Effect< StartDeploymentResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; startJob( input: StartJobRequest, ): Effect.Effect< StartJobResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; stopJob( input: StopJobRequest, ): Effect.Effect< StopJobResult, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | InternalFailureException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | InternalFailureException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | ResourceNotFoundException | CommonAwsError >; updateApp( input: UpdateAppRequest, ): Effect.Effect< UpdateAppResult, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateBranch( input: UpdateBranchRequest, ): Effect.Effect< UpdateBranchResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateDomainAssociation( input: UpdateDomainAssociationRequest, ): Effect.Effect< UpdateDomainAssociationResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateWebhook( input: UpdateWebhookRequest, ): Effect.Effect< UpdateWebhookResult, - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | DependentServiceFailureException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; } @@ -742,17 +578,7 @@ export type DomainName = string; export type DomainPrefix = string; -export type DomainStatus = - | "PENDING_VERIFICATION" - | "IN_PROGRESS" - | "AVAILABLE" - | "IMPORTING_CUSTOM_CERTIFICATE" - | "PENDING_DEPLOYMENT" - | "AWAITING_APP_CNAME" - | "FAILED" - | "CREATING" - | "REQUESTING_CERTIFICATE" - | "UPDATING"; +export type DomainStatus = "PENDING_VERIFICATION" | "IN_PROGRESS" | "AVAILABLE" | "IMPORTING_CUSTOM_CERTIFICATE" | "PENDING_DEPLOYMENT" | "AWAITING_APP_CNAME" | "FAILED" | "CREATING" | "REQUESTING_CERTIFICATE" | "UPDATING"; export type EnableAutoBranchCreation = boolean; export type EnableAutoBuild = boolean; @@ -865,15 +691,7 @@ export type JobId = string; export type JobReason = string; -export type JobStatus = - | "CREATED" - | "PENDING" - | "PROVISIONING" - | "RUNNING" - | "FAILED" - | "SUCCEED" - | "CANCELLING" - | "CANCELLED"; +export type JobStatus = "CREATED" | "PENDING" | "PROVISIONING" | "RUNNING" | "FAILED" | "SUCCEED" | "CANCELLING" | "CANCELLED"; export type JobSummaries = Array; export interface JobSummary { jobArn: string; @@ -1019,12 +837,7 @@ export type StackArn = string; export type StackName = string; -export type Stage = - | "PRODUCTION" - | "BETA" - | "DEVELOPMENT" - | "EXPERIMENTAL" - | "PULL_REQUEST"; +export type Stage = "PRODUCTION" | "BETA" | "DEVELOPMENT" | "EXPERIMENTAL" | "PULL_REQUEST"; export interface StartDeploymentRequest { appId: string; branchName: string; @@ -1097,7 +910,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Target = string; @@ -1123,7 +937,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAppRequest { appId: string; name?: string; @@ -1188,14 +1003,7 @@ export interface UpdateDomainAssociationRequest { export interface UpdateDomainAssociationResult { domainAssociation: DomainAssociation; } -export type UpdateStatus = - | "REQUESTING_CERTIFICATE" - | "PENDING_VERIFICATION" - | "IMPORTING_CUSTOM_CERTIFICATE" - | "PENDING_DEPLOYMENT" - | "AWAITING_APP_CNAME" - | "UPDATE_COMPLETE" - | "UPDATE_FAILED"; +export type UpdateStatus = "REQUESTING_CERTIFICATE" | "PENDING_VERIFICATION" | "IMPORTING_CUSTOM_CERTIFICATE" | "PENDING_DEPLOYMENT" | "AWAITING_APP_CNAME" | "UPDATE_COMPLETE" | "UPDATE_FAILED"; export type UpdateTime = Date | string; export interface UpdateWebhookRequest { @@ -1215,12 +1023,7 @@ export interface WafConfiguration { wafStatus?: WafStatus; statusReason?: string; } -export type WafStatus = - | "ASSOCIATING" - | "ASSOCIATION_FAILED" - | "ASSOCIATION_SUCCESS" - | "DISASSOCIATING" - | "DISASSOCIATION_FAILED"; +export type WafStatus = "ASSOCIATING" | "ASSOCIATION_FAILED" | "ASSOCIATION_SUCCESS" | "DISASSOCIATING" | "DISASSOCIATION_FAILED"; export type WebAclArn = string; export interface Webhook { @@ -1665,12 +1468,5 @@ export declare namespace UpdateWebhook { | CommonAwsError; } -export type AmplifyErrors = - | BadRequestException - | DependentServiceFailureException - | InternalFailureException - | LimitExceededException - | NotFoundException - | ResourceNotFoundException - | UnauthorizedException - | CommonAwsError; +export type AmplifyErrors = BadRequestException | DependentServiceFailureException | InternalFailureException | LimitExceededException | NotFoundException | ResourceNotFoundException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/amplifybackend/index.ts b/src/services/amplifybackend/index.ts index ff6195c6..30b9e39b 100644 --- a/src/services/amplifybackend/index.ts +++ b/src/services/amplifybackend/index.ts @@ -5,26 +5,7 @@ import type { AmplifyBackend as _AmplifyBackendClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,50 +15,37 @@ const metadata = { sigV4ServiceName: "amplifybackend", endpointPrefix: "amplifybackend", operations: { - CloneBackend: - "POST /backend/{AppId}/environments/{BackendEnvironmentName}/clone", - CreateBackend: "POST /backend", - CreateBackendAPI: "POST /backend/{AppId}/api", - CreateBackendAuth: "POST /backend/{AppId}/auth", - CreateBackendConfig: "POST /backend/{AppId}/config", - CreateBackendStorage: "POST /backend/{AppId}/storage", - CreateToken: "POST /backend/{AppId}/challenge", - DeleteBackend: - "POST /backend/{AppId}/environments/{BackendEnvironmentName}/remove", - DeleteBackendAPI: - "POST /backend/{AppId}/api/{BackendEnvironmentName}/remove", - DeleteBackendAuth: - "POST /backend/{AppId}/auth/{BackendEnvironmentName}/remove", - DeleteBackendStorage: - "POST /backend/{AppId}/storage/{BackendEnvironmentName}/remove", - DeleteToken: "POST /backend/{AppId}/challenge/{SessionId}/remove", - GenerateBackendAPIModels: - "POST /backend/{AppId}/api/{BackendEnvironmentName}/generateModels", - GetBackend: "POST /backend/{AppId}/details", - GetBackendAPI: "POST /backend/{AppId}/api/{BackendEnvironmentName}/details", - GetBackendAPIModels: - "POST /backend/{AppId}/api/{BackendEnvironmentName}/getModels", - GetBackendAuth: - "POST /backend/{AppId}/auth/{BackendEnvironmentName}/details", - GetBackendJob: "GET /backend/{AppId}/job/{BackendEnvironmentName}/{JobId}", - GetBackendStorage: - "POST /backend/{AppId}/storage/{BackendEnvironmentName}/details", - GetToken: "GET /backend/{AppId}/challenge/{SessionId}", - ImportBackendAuth: - "POST /backend/{AppId}/auth/{BackendEnvironmentName}/import", - ImportBackendStorage: - "POST /backend/{AppId}/storage/{BackendEnvironmentName}/import", - ListBackendJobs: "POST /backend/{AppId}/job/{BackendEnvironmentName}", - ListS3Buckets: "POST /s3Buckets", - RemoveAllBackends: "POST /backend/{AppId}/remove", - RemoveBackendConfig: "POST /backend/{AppId}/config/remove", - UpdateBackendAPI: "POST /backend/{AppId}/api/{BackendEnvironmentName}", - UpdateBackendAuth: "POST /backend/{AppId}/auth/{BackendEnvironmentName}", - UpdateBackendConfig: "POST /backend/{AppId}/config/update", - UpdateBackendJob: - "POST /backend/{AppId}/job/{BackendEnvironmentName}/{JobId}", - UpdateBackendStorage: - "POST /backend/{AppId}/storage/{BackendEnvironmentName}", + "CloneBackend": "POST /backend/{AppId}/environments/{BackendEnvironmentName}/clone", + "CreateBackend": "POST /backend", + "CreateBackendAPI": "POST /backend/{AppId}/api", + "CreateBackendAuth": "POST /backend/{AppId}/auth", + "CreateBackendConfig": "POST /backend/{AppId}/config", + "CreateBackendStorage": "POST /backend/{AppId}/storage", + "CreateToken": "POST /backend/{AppId}/challenge", + "DeleteBackend": "POST /backend/{AppId}/environments/{BackendEnvironmentName}/remove", + "DeleteBackendAPI": "POST /backend/{AppId}/api/{BackendEnvironmentName}/remove", + "DeleteBackendAuth": "POST /backend/{AppId}/auth/{BackendEnvironmentName}/remove", + "DeleteBackendStorage": "POST /backend/{AppId}/storage/{BackendEnvironmentName}/remove", + "DeleteToken": "POST /backend/{AppId}/challenge/{SessionId}/remove", + "GenerateBackendAPIModels": "POST /backend/{AppId}/api/{BackendEnvironmentName}/generateModels", + "GetBackend": "POST /backend/{AppId}/details", + "GetBackendAPI": "POST /backend/{AppId}/api/{BackendEnvironmentName}/details", + "GetBackendAPIModels": "POST /backend/{AppId}/api/{BackendEnvironmentName}/getModels", + "GetBackendAuth": "POST /backend/{AppId}/auth/{BackendEnvironmentName}/details", + "GetBackendJob": "GET /backend/{AppId}/job/{BackendEnvironmentName}/{JobId}", + "GetBackendStorage": "POST /backend/{AppId}/storage/{BackendEnvironmentName}/details", + "GetToken": "GET /backend/{AppId}/challenge/{SessionId}", + "ImportBackendAuth": "POST /backend/{AppId}/auth/{BackendEnvironmentName}/import", + "ImportBackendStorage": "POST /backend/{AppId}/storage/{BackendEnvironmentName}/import", + "ListBackendJobs": "POST /backend/{AppId}/job/{BackendEnvironmentName}", + "ListS3Buckets": "POST /s3Buckets", + "RemoveAllBackends": "POST /backend/{AppId}/remove", + "RemoveBackendConfig": "POST /backend/{AppId}/config/remove", + "UpdateBackendAPI": "POST /backend/{AppId}/api/{BackendEnvironmentName}", + "UpdateBackendAuth": "POST /backend/{AppId}/auth/{BackendEnvironmentName}", + "UpdateBackendConfig": "POST /backend/{AppId}/config/update", + "UpdateBackendJob": "POST /backend/{AppId}/job/{BackendEnvironmentName}/{JobId}", + "UpdateBackendStorage": "POST /backend/{AppId}/storage/{BackendEnvironmentName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/amplifybackend/types.ts b/src/services/amplifybackend/types.ts index 7fe8fb33..3303696f 100644 --- a/src/services/amplifybackend/types.ts +++ b/src/services/amplifybackend/types.ts @@ -7,311 +7,187 @@ export declare class AmplifyBackend extends AWSServiceClient { input: CloneBackendRequest, ): Effect.Effect< CloneBackendResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; createBackend( input: CreateBackendRequest, ): Effect.Effect< CreateBackendResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; createBackendAPI( input: CreateBackendAPIRequest, ): Effect.Effect< CreateBackendAPIResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; createBackendAuth( input: CreateBackendAuthRequest, ): Effect.Effect< CreateBackendAuthResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; createBackendConfig( input: CreateBackendConfigRequest, ): Effect.Effect< CreateBackendConfigResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; createBackendStorage( input: CreateBackendStorageRequest, ): Effect.Effect< CreateBackendStorageResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; createToken( input: CreateTokenRequest, ): Effect.Effect< CreateTokenResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteBackend( input: DeleteBackendRequest, ): Effect.Effect< DeleteBackendResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteBackendAPI( input: DeleteBackendAPIRequest, ): Effect.Effect< DeleteBackendAPIResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteBackendAuth( input: DeleteBackendAuthRequest, ): Effect.Effect< DeleteBackendAuthResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteBackendStorage( input: DeleteBackendStorageRequest, ): Effect.Effect< DeleteBackendStorageResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteToken( input: DeleteTokenRequest, ): Effect.Effect< DeleteTokenResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; generateBackendAPIModels( input: GenerateBackendAPIModelsRequest, ): Effect.Effect< GenerateBackendAPIModelsResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; getBackend( input: GetBackendRequest, ): Effect.Effect< GetBackendResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; getBackendAPI( input: GetBackendAPIRequest, ): Effect.Effect< GetBackendAPIResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; getBackendAPIModels( input: GetBackendAPIModelsRequest, ): Effect.Effect< GetBackendAPIModelsResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; getBackendAuth( input: GetBackendAuthRequest, ): Effect.Effect< GetBackendAuthResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; getBackendJob( input: GetBackendJobRequest, ): Effect.Effect< GetBackendJobResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; getBackendStorage( input: GetBackendStorageRequest, ): Effect.Effect< GetBackendStorageResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; getToken( input: GetTokenRequest, ): Effect.Effect< GetTokenResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; importBackendAuth( input: ImportBackendAuthRequest, ): Effect.Effect< ImportBackendAuthResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; importBackendStorage( input: ImportBackendStorageRequest, ): Effect.Effect< ImportBackendStorageResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; listBackendJobs( input: ListBackendJobsRequest, ): Effect.Effect< ListBackendJobsResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; listS3Buckets( input: ListS3BucketsRequest, ): Effect.Effect< ListS3BucketsResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; removeAllBackends( input: RemoveAllBackendsRequest, ): Effect.Effect< RemoveAllBackendsResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; removeBackendConfig( input: RemoveBackendConfigRequest, ): Effect.Effect< RemoveBackendConfigResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateBackendAPI( input: UpdateBackendAPIRequest, ): Effect.Effect< UpdateBackendAPIResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateBackendAuth( input: UpdateBackendAuthRequest, ): Effect.Effect< UpdateBackendAuthResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateBackendConfig( input: UpdateBackendConfigRequest, ): Effect.Effect< UpdateBackendConfigResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateBackendJob( input: UpdateBackendJobRequest, ): Effect.Effect< UpdateBackendJobResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateBackendStorage( input: UpdateBackendStorageRequest, ): Effect.Effect< UpdateBackendStorageResponse, - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -325,11 +201,7 @@ export type __integerMin1Max25 = number; export type __string = string; -export type AdditionalConstraintsElement = - | "REQUIRE_DIGIT" - | "REQUIRE_LOWERCASE" - | "REQUIRE_SYMBOL" - | "REQUIRE_UPPERCASE"; +export type AdditionalConstraintsElement = "REQUIRE_DIGIT" | "REQUIRE_LOWERCASE" | "REQUIRE_SYMBOL" | "REQUIRE_UPPERCASE"; export type AuthenticatedElement = "READ" | "CREATE_AND_UPDATE" | "DELETE"; export type AuthResources = "USER_POOL_ONLY" | "IDENTITY_POOL_AND_USER_POOL"; export interface BackendAPIAppSyncAuthSettings { @@ -737,15 +609,13 @@ export interface ListBackendJobsResponse { NextToken?: string; } export type ListOf__string = Array; -export type ListOfAdditionalConstraintsElement = - Array; +export type ListOfAdditionalConstraintsElement = Array; export type ListOfAuthenticatedElement = Array; export type ListOfBackendAPIAuthType = Array; export type ListOfBackendJobRespObj = Array; export type ListOfMfaTypesElement = Array; export type ListOfOAuthScopesElement = Array; -export type ListOfRequiredSignUpAttributesElement = - Array; +export type ListOfRequiredSignUpAttributesElement = Array; export type ListOfS3BucketInfo = Array; export type ListOfUnAuthenticatedElement = Array; export interface ListS3BucketsRequest { @@ -763,11 +633,7 @@ export interface LoginAuthConfigReqObj { } export type MFAMode = "ON" | "OFF" | "OPTIONAL"; export type MfaTypesElement = "SMS" | "TOTP"; -export type Mode = - | "API_KEY" - | "AWS_IAM" - | "AMAZON_COGNITO_USER_POOLS" - | "OPENID_CONNECT"; +export type Mode = "API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT"; export declare class NotFoundException extends EffectData.TaggedError( "NotFoundException", )<{ @@ -775,12 +641,7 @@ export declare class NotFoundException extends EffectData.TaggedError( readonly ResourceType?: string; }> {} export type OAuthGrantType = "CODE" | "IMPLICIT"; -export type OAuthScopesElement = - | "PHONE" - | "EMAIL" - | "OPENID" - | "PROFILE" - | "AWS_COGNITO_SIGNIN_USER_ADMIN"; +export type OAuthScopesElement = "PHONE" | "EMAIL" | "OPENID" | "PROFILE" | "AWS_COGNITO_SIGNIN_USER_ADMIN"; export interface RemoveAllBackendsRequest { AppId: string; CleanAmplifyApp?: boolean; @@ -798,30 +659,10 @@ export interface RemoveBackendConfigRequest { export interface RemoveBackendConfigResponse { Error?: string; } -export type RequiredSignUpAttributesElement = - | "ADDRESS" - | "BIRTHDATE" - | "EMAIL" - | "FAMILY_NAME" - | "GENDER" - | "GIVEN_NAME" - | "LOCALE" - | "MIDDLE_NAME" - | "NAME" - | "NICKNAME" - | "PHONE_NUMBER" - | "PICTURE" - | "PREFERRED_USERNAME" - | "PROFILE" - | "UPDATED_AT" - | "WEBSITE" - | "ZONE_INFO"; -export type ResolutionStrategy = - | "OPTIMISTIC_CONCURRENCY" - | "LAMBDA" - | "AUTOMERGE" - | "NONE"; -export interface ResourceConfig {} +export type RequiredSignUpAttributesElement = "ADDRESS" | "BIRTHDATE" | "EMAIL" | "FAMILY_NAME" | "GENDER" | "GIVEN_NAME" | "LOCALE" | "MIDDLE_NAME" | "NAME" | "NICKNAME" | "PHONE_NUMBER" | "PICTURE" | "PREFERRED_USERNAME" | "PROFILE" | "UPDATED_AT" | "WEBSITE" | "ZONE_INFO"; +export type ResolutionStrategy = "OPTIMISTIC_CONCURRENCY" | "LAMBDA" | "AUTOMERGE" | "NONE"; +export interface ResourceConfig { +} export interface S3BucketInfo { CreationDate?: string; Name?: string; @@ -832,11 +673,7 @@ export interface Settings { MfaTypes?: Array; SmsMessage?: string; } -export type SignInMethod = - | "EMAIL" - | "EMAIL_AND_PHONE_NUMBER" - | "PHONE_NUMBER" - | "USERNAME"; +export type SignInMethod = "EMAIL" | "EMAIL_AND_PHONE_NUMBER" | "PHONE_NUMBER" | "USERNAME"; export interface SmsSettings { SmsMessage?: string; } @@ -1308,9 +1145,5 @@ export declare namespace UpdateBackendStorage { | CommonAwsError; } -export type AmplifyBackendErrors = - | BadRequestException - | GatewayTimeoutException - | NotFoundException - | TooManyRequestsException - | CommonAwsError; +export type AmplifyBackendErrors = BadRequestException | GatewayTimeoutException | NotFoundException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/amplifyuibuilder/index.ts b/src/services/amplifyuibuilder/index.ts index d24f1590..3863b06d 100644 --- a/src/services/amplifyuibuilder/index.ts +++ b/src/services/amplifyuibuilder/index.ts @@ -5,25 +5,7 @@ import type { AmplifyUIBuilder as _AmplifyUIBuilderClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,93 +14,87 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "amplifyuibuilder", operations: { - ExchangeCodeForToken: "POST /tokens/{provider}", - GetMetadata: "GET /app/{appId}/environment/{environmentName}/metadata", - ListTagsForResource: "GET /tags/{resourceArn}", - PutMetadataFlag: - "PUT /app/{appId}/environment/{environmentName}/metadata/features/{featureName}", - RefreshToken: "POST /tokens/{provider}/refresh", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateComponent: { + "ExchangeCodeForToken": "POST /tokens/{provider}", + "GetMetadata": "GET /app/{appId}/environment/{environmentName}/metadata", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutMetadataFlag": "PUT /app/{appId}/environment/{environmentName}/metadata/features/{featureName}", + "RefreshToken": "POST /tokens/{provider}/refresh", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateComponent": { http: "POST /app/{appId}/environment/{environmentName}/components", traits: { - entity: "httpPayload", + "entity": "httpPayload", }, }, - CreateForm: { + "CreateForm": { http: "POST /app/{appId}/environment/{environmentName}/forms", traits: { - entity: "httpPayload", + "entity": "httpPayload", }, }, - CreateTheme: { + "CreateTheme": { http: "POST /app/{appId}/environment/{environmentName}/themes", traits: { - entity: "httpPayload", + "entity": "httpPayload", }, }, - DeleteComponent: - "DELETE /app/{appId}/environment/{environmentName}/components/{id}", - DeleteForm: "DELETE /app/{appId}/environment/{environmentName}/forms/{id}", - DeleteTheme: - "DELETE /app/{appId}/environment/{environmentName}/themes/{id}", - ExportComponents: - "GET /export/app/{appId}/environment/{environmentName}/components", - ExportForms: "GET /export/app/{appId}/environment/{environmentName}/forms", - ExportThemes: - "GET /export/app/{appId}/environment/{environmentName}/themes", - GetCodegenJob: { + "DeleteComponent": "DELETE /app/{appId}/environment/{environmentName}/components/{id}", + "DeleteForm": "DELETE /app/{appId}/environment/{environmentName}/forms/{id}", + "DeleteTheme": "DELETE /app/{appId}/environment/{environmentName}/themes/{id}", + "ExportComponents": "GET /export/app/{appId}/environment/{environmentName}/components", + "ExportForms": "GET /export/app/{appId}/environment/{environmentName}/forms", + "ExportThemes": "GET /export/app/{appId}/environment/{environmentName}/themes", + "GetCodegenJob": { http: "GET /app/{appId}/environment/{environmentName}/codegen-jobs/{id}", traits: { - job: "httpPayload", + "job": "httpPayload", }, }, - GetComponent: { + "GetComponent": { http: "GET /app/{appId}/environment/{environmentName}/components/{id}", traits: { - component: "httpPayload", + "component": "httpPayload", }, }, - GetForm: { + "GetForm": { http: "GET /app/{appId}/environment/{environmentName}/forms/{id}", traits: { - form: "httpPayload", + "form": "httpPayload", }, }, - GetTheme: { + "GetTheme": { http: "GET /app/{appId}/environment/{environmentName}/themes/{id}", traits: { - theme: "httpPayload", + "theme": "httpPayload", }, }, - ListCodegenJobs: - "GET /app/{appId}/environment/{environmentName}/codegen-jobs", - ListComponents: "GET /app/{appId}/environment/{environmentName}/components", - ListForms: "GET /app/{appId}/environment/{environmentName}/forms", - ListThemes: "GET /app/{appId}/environment/{environmentName}/themes", - StartCodegenJob: { + "ListCodegenJobs": "GET /app/{appId}/environment/{environmentName}/codegen-jobs", + "ListComponents": "GET /app/{appId}/environment/{environmentName}/components", + "ListForms": "GET /app/{appId}/environment/{environmentName}/forms", + "ListThemes": "GET /app/{appId}/environment/{environmentName}/themes", + "StartCodegenJob": { http: "POST /app/{appId}/environment/{environmentName}/codegen-jobs", traits: { - entity: "httpPayload", + "entity": "httpPayload", }, }, - UpdateComponent: { + "UpdateComponent": { http: "PATCH /app/{appId}/environment/{environmentName}/components/{id}", traits: { - entity: "httpPayload", + "entity": "httpPayload", }, }, - UpdateForm: { + "UpdateForm": { http: "PATCH /app/{appId}/environment/{environmentName}/forms/{id}", traits: { - entity: "httpPayload", + "entity": "httpPayload", }, }, - UpdateTheme: { + "UpdateTheme": { http: "PATCH /app/{appId}/environment/{environmentName}/themes/{id}", traits: { - entity: "httpPayload", + "entity": "httpPayload", }, }, }, diff --git a/src/services/amplifyuibuilder/types.ts b/src/services/amplifyuibuilder/types.ts index 0c26f54e..bc0f5c37 100644 --- a/src/services/amplifyuibuilder/types.ts +++ b/src/services/amplifyuibuilder/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class AmplifyUIBuilder extends AWSServiceClient { @@ -54,12 +20,7 @@ export declare class AmplifyUIBuilder extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; putMetadataFlag( input: PutMetadataFlagRequest, @@ -77,80 +38,49 @@ export declare class AmplifyUIBuilder extends AWSServiceClient { input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; createComponent( input: CreateComponentRequest, ): Effect.Effect< CreateComponentResponse, - | InternalServerException - | InvalidParameterException - | ResourceConflictException - | ServiceQuotaExceededException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceConflictException | ServiceQuotaExceededException | CommonAwsError >; createForm( input: CreateFormRequest, ): Effect.Effect< CreateFormResponse, - | InternalServerException - | InvalidParameterException - | ResourceConflictException - | ServiceQuotaExceededException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceConflictException | ServiceQuotaExceededException | CommonAwsError >; createTheme( input: CreateThemeRequest, ): Effect.Effect< CreateThemeResponse, - | InternalServerException - | InvalidParameterException - | ResourceConflictException - | ServiceQuotaExceededException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceConflictException | ServiceQuotaExceededException | CommonAwsError >; deleteComponent( input: DeleteComponentRequest, ): Effect.Effect< {}, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; deleteForm( input: DeleteFormRequest, ): Effect.Effect< {}, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; deleteTheme( input: DeleteThemeRequest, ): Effect.Effect< {}, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; exportComponents( input: ExportComponentsRequest, @@ -174,47 +104,31 @@ export declare class AmplifyUIBuilder extends AWSServiceClient { input: GetCodegenJobRequest, ): Effect.Effect< GetCodegenJobResponse, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getComponent( input: GetComponentRequest, ): Effect.Effect< GetComponentResponse, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getForm( input: GetFormRequest, ): Effect.Effect< GetFormResponse, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getTheme( input: GetThemeRequest, ): Effect.Effect< GetThemeResponse, - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listCodegenJobs( input: ListCodegenJobsRequest, ): Effect.Effect< ListCodegenJobsResponse, - | InternalServerException - | InvalidParameterException - | ThrottlingException - | CommonAwsError + InternalServerException | InvalidParameterException | ThrottlingException | CommonAwsError >; listComponents( input: ListComponentsRequest, @@ -238,37 +152,25 @@ export declare class AmplifyUIBuilder extends AWSServiceClient { input: StartCodegenJobRequest, ): Effect.Effect< StartCodegenJobResponse, - | InternalServerException - | InvalidParameterException - | ThrottlingException - | CommonAwsError + InternalServerException | InvalidParameterException | ThrottlingException | CommonAwsError >; updateComponent( input: UpdateComponentRequest, ): Effect.Effect< UpdateComponentResponse, - | InternalServerException - | InvalidParameterException - | ResourceConflictException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceConflictException | CommonAwsError >; updateForm( input: UpdateFormRequest, ): Effect.Effect< UpdateFormResponse, - | InternalServerException - | InvalidParameterException - | ResourceConflictException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceConflictException | CommonAwsError >; updateTheme( input: UpdateThemeRequest, ): Effect.Effect< UpdateThemeResponse, - | InternalServerException - | InvalidParameterException - | ResourceConflictException - | CommonAwsError + InternalServerException | InvalidParameterException | ResourceConflictException | CommonAwsError >; } @@ -291,10 +193,7 @@ interface _ApiConfiguration { noApiConfig?: NoApiRenderConfig; } -export type ApiConfiguration = - | (_ApiConfiguration & { graphQLConfig: GraphQLRenderConfig }) - | (_ApiConfiguration & { dataStoreConfig: DataStoreRenderConfig }) - | (_ApiConfiguration & { noApiConfig: NoApiRenderConfig }); +export type ApiConfiguration = (_ApiConfiguration & { graphQLConfig: GraphQLRenderConfig }) | (_ApiConfiguration & { dataStoreConfig: DataStoreRenderConfig }) | (_ApiConfiguration & { noApiConfig: NoApiRenderConfig }); export type AppId = string; export type AssociatedFieldsList = Array; @@ -322,24 +221,7 @@ export interface CodegenGenericDataField { isArray: boolean; relationship?: CodegenGenericDataRelationshipType; } -export type CodegenGenericDataFieldDataType = - | "ID" - | "String" - | "Int" - | "Float" - | "AWSDate" - | "AWSTime" - | "AWSDateTime" - | "AWSTimestamp" - | "AWSEmail" - | "AWSURL" - | "AWSIPAddress" - | "Boolean" - | "AWSJSON" - | "AWSPhone" - | "Enum" - | "Model" - | "NonModel"; +export type CodegenGenericDataFieldDataType = "ID" | "String" | "Int" | "Float" | "AWSDate" | "AWSTime" | "AWSDateTime" | "AWSTimestamp" | "AWSEmail" | "AWSURL" | "AWSIPAddress" | "Boolean" | "AWSJSON" | "AWSPhone" | "Enum" | "Model" | "NonModel"; export type CodegenGenericDataFields = Record; export interface CodegenGenericDataModel { fields: Record; @@ -350,14 +232,8 @@ export type CodegenGenericDataModels = Record; export interface CodegenGenericDataNonModel { fields: Record; } -export type CodegenGenericDataNonModelFields = Record< - string, - CodegenGenericDataField ->; -export type CodegenGenericDataNonModels = Record< - string, - CodegenGenericDataNonModel ->; +export type CodegenGenericDataNonModelFields = Record; +export type CodegenGenericDataNonModels = Record; export interface CodegenGenericDataRelationshipType { type: GenericDataRelationshipType; relatedModelName: string; @@ -399,9 +275,7 @@ interface _CodegenJobRenderConfig { react?: ReactStartCodegenJobData; } -export type CodegenJobRenderConfig = _CodegenJobRenderConfig & { - react: ReactStartCodegenJobData; -}; +export type CodegenJobRenderConfig = (_CodegenJobRenderConfig & { react: ReactStartCodegenJobData }); export type CodegenJobStatus = "in_progress" | "failed" | "succeeded"; export interface CodegenJobSummary { appId: string; @@ -431,10 +305,7 @@ export interface Component { events?: Record; schemaVersion?: string; } -export type ComponentBindingProperties = Record< - string, - ComponentBindingPropertiesValue ->; +export type ComponentBindingProperties = Record; export interface ComponentBindingPropertiesValue { type?: string; bindingProperties?: ComponentBindingPropertiesValueProperties; @@ -459,10 +330,7 @@ export interface ComponentChild { sourceId?: string; } export type ComponentChildList = Array; -export type ComponentCollectionProperties = Record< - string, - ComponentDataConfiguration ->; +export type ComponentCollectionProperties = Record; export interface ComponentConditionProperty { property?: string; field?: string; @@ -587,7 +455,8 @@ export interface CreateThemeRequest { export interface CreateThemeResponse { entity?: Theme; } -export interface DataStoreRenderConfig {} +export interface DataStoreRenderConfig { +} export interface DeleteComponentRequest { appId: string; environmentName: string; @@ -676,10 +545,7 @@ interface _FieldPosition { below?: string; } -export type FieldPosition = - | (_FieldPosition & { fixed: FixedPosition }) - | (_FieldPosition & { rightOf: string }) - | (_FieldPosition & { below: string }); +export type FieldPosition = (_FieldPosition & { fixed: FixedPosition }) | (_FieldPosition & { rightOf: string }) | (_FieldPosition & { below: string }); export type FieldsMap = Record; export interface FieldValidationConfiguration { type: string; @@ -735,10 +601,7 @@ export interface FormDataTypeConfig { dataSourceType: string; dataTypeName: string; } -export type FormInputBindingProperties = Record< - string, - FormInputBindingPropertiesValue ->; +export type FormInputBindingProperties = Record; export interface FormInputBindingPropertiesValue { type?: string; bindingProperties?: FormInputBindingPropertiesValueProperties; @@ -769,9 +632,7 @@ interface _FormStyleConfig { value?: string; } -export type FormStyleConfig = - | (_FormStyleConfig & { tokenReference: string }) - | (_FormStyleConfig & { value: string }); +export type FormStyleConfig = (_FormStyleConfig & { tokenReference: string }) | (_FormStyleConfig & { value: string }); export interface FormSummary { appId: string; dataType: FormDataTypeConfig; @@ -899,7 +760,8 @@ export interface MutationActionSetStateParameter { property: string; set: ComponentProperty; } -export interface NoApiRenderConfig {} +export interface NoApiRenderConfig { +} export type NumValues = Array; export type OperandType = string; @@ -1001,7 +863,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -1051,7 +914,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateComponentData { id?: string; name?: string; @@ -1128,7 +992,9 @@ export interface ValueMappings { export declare namespace ExchangeCodeForToken { export type Input = ExchangeCodeForTokenRequest; export type Output = ExchangeCodeForTokenResponse; - export type Error = InvalidParameterException | CommonAwsError; + export type Error = + | InvalidParameterException + | CommonAwsError; } export declare namespace GetMetadata { @@ -1164,7 +1030,9 @@ export declare namespace PutMetadataFlag { export declare namespace RefreshToken { export type Input = RefreshTokenRequest; export type Output = RefreshTokenResponse; - export type Error = InvalidParameterException | CommonAwsError; + export type Error = + | InvalidParameterException + | CommonAwsError; } export declare namespace TagResource { @@ -1399,12 +1267,5 @@ export declare namespace UpdateTheme { | CommonAwsError; } -export type AmplifyUIBuilderErrors = - | InternalServerException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | CommonAwsError; +export type AmplifyUIBuilderErrors = InternalServerException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/api-gateway/index.ts b/src/services/api-gateway/index.ts index 73ef30cf..06aad32a 100644 --- a/src/services/api-gateway/index.ts +++ b/src/services/api-gateway/index.ts @@ -5,26 +5,7 @@ import type { APIGateway as _APIGatewayClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,185 +15,144 @@ const metadata = { sigV4ServiceName: "apigateway", endpointPrefix: "apigateway", operations: { - CreateApiKey: "POST /apikeys", - CreateAuthorizer: "POST /restapis/{restApiId}/authorizers", - CreateBasePathMapping: "POST /domainnames/{domainName}/basepathmappings", - CreateDeployment: "POST /restapis/{restApiId}/deployments", - CreateDocumentationPart: "POST /restapis/{restApiId}/documentation/parts", - CreateDocumentationVersion: - "POST /restapis/{restApiId}/documentation/versions", - CreateDomainName: "POST /domainnames", - CreateDomainNameAccessAssociation: "POST /domainnameaccessassociations", - CreateModel: "POST /restapis/{restApiId}/models", - CreateRequestValidator: "POST /restapis/{restApiId}/requestvalidators", - CreateResource: "POST /restapis/{restApiId}/resources/{parentId}", - CreateRestApi: "POST /restapis", - CreateStage: "POST /restapis/{restApiId}/stages", - CreateUsagePlan: "POST /usageplans", - CreateUsagePlanKey: "POST /usageplans/{usagePlanId}/keys", - CreateVpcLink: "POST /vpclinks", - DeleteApiKey: "DELETE /apikeys/{apiKey}", - DeleteAuthorizer: "DELETE /restapis/{restApiId}/authorizers/{authorizerId}", - DeleteBasePathMapping: - "DELETE /domainnames/{domainName}/basepathmappings/{basePath}", - DeleteClientCertificate: "DELETE /clientcertificates/{clientCertificateId}", - DeleteDeployment: "DELETE /restapis/{restApiId}/deployments/{deploymentId}", - DeleteDocumentationPart: - "DELETE /restapis/{restApiId}/documentation/parts/{documentationPartId}", - DeleteDocumentationVersion: - "DELETE /restapis/{restApiId}/documentation/versions/{documentationVersion}", - DeleteDomainName: "DELETE /domainnames/{domainName}", - DeleteDomainNameAccessAssociation: - "DELETE /domainnameaccessassociations/{domainNameAccessAssociationArn}", - DeleteGatewayResponse: - "DELETE /restapis/{restApiId}/gatewayresponses/{responseType}", - DeleteIntegration: - "DELETE /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", - DeleteIntegrationResponse: - "DELETE /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", - DeleteMethod: - "DELETE /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - DeleteMethodResponse: - "DELETE /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", - DeleteModel: "DELETE /restapis/{restApiId}/models/{modelName}", - DeleteRequestValidator: - "DELETE /restapis/{restApiId}/requestvalidators/{requestValidatorId}", - DeleteResource: "DELETE /restapis/{restApiId}/resources/{resourceId}", - DeleteRestApi: "DELETE /restapis/{restApiId}", - DeleteStage: "DELETE /restapis/{restApiId}/stages/{stageName}", - DeleteUsagePlan: "DELETE /usageplans/{usagePlanId}", - DeleteUsagePlanKey: "DELETE /usageplans/{usagePlanId}/keys/{keyId}", - DeleteVpcLink: "DELETE /vpclinks/{vpcLinkId}", - FlushStageAuthorizersCache: - "DELETE /restapis/{restApiId}/stages/{stageName}/cache/authorizers", - FlushStageCache: - "DELETE /restapis/{restApiId}/stages/{stageName}/cache/data", - GenerateClientCertificate: "POST /clientcertificates", - GetAccount: "GET /account", - GetApiKey: "GET /apikeys/{apiKey}", - GetApiKeys: "GET /apikeys", - GetAuthorizer: "GET /restapis/{restApiId}/authorizers/{authorizerId}", - GetAuthorizers: "GET /restapis/{restApiId}/authorizers", - GetBasePathMapping: - "GET /domainnames/{domainName}/basepathmappings/{basePath}", - GetBasePathMappings: "GET /domainnames/{domainName}/basepathmappings", - GetClientCertificate: "GET /clientcertificates/{clientCertificateId}", - GetClientCertificates: "GET /clientcertificates", - GetDeployment: "GET /restapis/{restApiId}/deployments/{deploymentId}", - GetDeployments: "GET /restapis/{restApiId}/deployments", - GetDocumentationPart: - "GET /restapis/{restApiId}/documentation/parts/{documentationPartId}", - GetDocumentationParts: "GET /restapis/{restApiId}/documentation/parts", - GetDocumentationVersion: - "GET /restapis/{restApiId}/documentation/versions/{documentationVersion}", - GetDocumentationVersions: - "GET /restapis/{restApiId}/documentation/versions", - GetDomainName: "GET /domainnames/{domainName}", - GetDomainNameAccessAssociations: "GET /domainnameaccessassociations", - GetDomainNames: "GET /domainnames", - GetExport: { + "CreateApiKey": "POST /apikeys", + "CreateAuthorizer": "POST /restapis/{restApiId}/authorizers", + "CreateBasePathMapping": "POST /domainnames/{domainName}/basepathmappings", + "CreateDeployment": "POST /restapis/{restApiId}/deployments", + "CreateDocumentationPart": "POST /restapis/{restApiId}/documentation/parts", + "CreateDocumentationVersion": "POST /restapis/{restApiId}/documentation/versions", + "CreateDomainName": "POST /domainnames", + "CreateDomainNameAccessAssociation": "POST /domainnameaccessassociations", + "CreateModel": "POST /restapis/{restApiId}/models", + "CreateRequestValidator": "POST /restapis/{restApiId}/requestvalidators", + "CreateResource": "POST /restapis/{restApiId}/resources/{parentId}", + "CreateRestApi": "POST /restapis", + "CreateStage": "POST /restapis/{restApiId}/stages", + "CreateUsagePlan": "POST /usageplans", + "CreateUsagePlanKey": "POST /usageplans/{usagePlanId}/keys", + "CreateVpcLink": "POST /vpclinks", + "DeleteApiKey": "DELETE /apikeys/{apiKey}", + "DeleteAuthorizer": "DELETE /restapis/{restApiId}/authorizers/{authorizerId}", + "DeleteBasePathMapping": "DELETE /domainnames/{domainName}/basepathmappings/{basePath}", + "DeleteClientCertificate": "DELETE /clientcertificates/{clientCertificateId}", + "DeleteDeployment": "DELETE /restapis/{restApiId}/deployments/{deploymentId}", + "DeleteDocumentationPart": "DELETE /restapis/{restApiId}/documentation/parts/{documentationPartId}", + "DeleteDocumentationVersion": "DELETE /restapis/{restApiId}/documentation/versions/{documentationVersion}", + "DeleteDomainName": "DELETE /domainnames/{domainName}", + "DeleteDomainNameAccessAssociation": "DELETE /domainnameaccessassociations/{domainNameAccessAssociationArn}", + "DeleteGatewayResponse": "DELETE /restapis/{restApiId}/gatewayresponses/{responseType}", + "DeleteIntegration": "DELETE /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", + "DeleteIntegrationResponse": "DELETE /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", + "DeleteMethod": "DELETE /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "DeleteMethodResponse": "DELETE /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", + "DeleteModel": "DELETE /restapis/{restApiId}/models/{modelName}", + "DeleteRequestValidator": "DELETE /restapis/{restApiId}/requestvalidators/{requestValidatorId}", + "DeleteResource": "DELETE /restapis/{restApiId}/resources/{resourceId}", + "DeleteRestApi": "DELETE /restapis/{restApiId}", + "DeleteStage": "DELETE /restapis/{restApiId}/stages/{stageName}", + "DeleteUsagePlan": "DELETE /usageplans/{usagePlanId}", + "DeleteUsagePlanKey": "DELETE /usageplans/{usagePlanId}/keys/{keyId}", + "DeleteVpcLink": "DELETE /vpclinks/{vpcLinkId}", + "FlushStageAuthorizersCache": "DELETE /restapis/{restApiId}/stages/{stageName}/cache/authorizers", + "FlushStageCache": "DELETE /restapis/{restApiId}/stages/{stageName}/cache/data", + "GenerateClientCertificate": "POST /clientcertificates", + "GetAccount": "GET /account", + "GetApiKey": "GET /apikeys/{apiKey}", + "GetApiKeys": "GET /apikeys", + "GetAuthorizer": "GET /restapis/{restApiId}/authorizers/{authorizerId}", + "GetAuthorizers": "GET /restapis/{restApiId}/authorizers", + "GetBasePathMapping": "GET /domainnames/{domainName}/basepathmappings/{basePath}", + "GetBasePathMappings": "GET /domainnames/{domainName}/basepathmappings", + "GetClientCertificate": "GET /clientcertificates/{clientCertificateId}", + "GetClientCertificates": "GET /clientcertificates", + "GetDeployment": "GET /restapis/{restApiId}/deployments/{deploymentId}", + "GetDeployments": "GET /restapis/{restApiId}/deployments", + "GetDocumentationPart": "GET /restapis/{restApiId}/documentation/parts/{documentationPartId}", + "GetDocumentationParts": "GET /restapis/{restApiId}/documentation/parts", + "GetDocumentationVersion": "GET /restapis/{restApiId}/documentation/versions/{documentationVersion}", + "GetDocumentationVersions": "GET /restapis/{restApiId}/documentation/versions", + "GetDomainName": "GET /domainnames/{domainName}", + "GetDomainNameAccessAssociations": "GET /domainnameaccessassociations", + "GetDomainNames": "GET /domainnames", + "GetExport": { http: "GET /restapis/{restApiId}/stages/{stageName}/exports/{exportType}", traits: { - contentType: "Content-Type", - contentDisposition: "Content-Disposition", - body: "httpPayload", + "contentType": "Content-Type", + "contentDisposition": "Content-Disposition", + "body": "httpPayload", }, }, - GetGatewayResponse: - "GET /restapis/{restApiId}/gatewayresponses/{responseType}", - GetGatewayResponses: "GET /restapis/{restApiId}/gatewayresponses", - GetIntegration: - "GET /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", - GetIntegrationResponse: - "GET /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", - GetMethod: - "GET /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - GetMethodResponse: - "GET /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", - GetModel: "GET /restapis/{restApiId}/models/{modelName}", - GetModels: "GET /restapis/{restApiId}/models", - GetModelTemplate: - "GET /restapis/{restApiId}/models/{modelName}/default_template", - GetRequestValidator: - "GET /restapis/{restApiId}/requestvalidators/{requestValidatorId}", - GetRequestValidators: "GET /restapis/{restApiId}/requestvalidators", - GetResource: "GET /restapis/{restApiId}/resources/{resourceId}", - GetResources: "GET /restapis/{restApiId}/resources", - GetRestApi: "GET /restapis/{restApiId}", - GetRestApis: "GET /restapis", - GetSdk: { + "GetGatewayResponse": "GET /restapis/{restApiId}/gatewayresponses/{responseType}", + "GetGatewayResponses": "GET /restapis/{restApiId}/gatewayresponses", + "GetIntegration": "GET /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", + "GetIntegrationResponse": "GET /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", + "GetMethod": "GET /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "GetMethodResponse": "GET /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", + "GetModel": "GET /restapis/{restApiId}/models/{modelName}", + "GetModels": "GET /restapis/{restApiId}/models", + "GetModelTemplate": "GET /restapis/{restApiId}/models/{modelName}/default_template", + "GetRequestValidator": "GET /restapis/{restApiId}/requestvalidators/{requestValidatorId}", + "GetRequestValidators": "GET /restapis/{restApiId}/requestvalidators", + "GetResource": "GET /restapis/{restApiId}/resources/{resourceId}", + "GetResources": "GET /restapis/{restApiId}/resources", + "GetRestApi": "GET /restapis/{restApiId}", + "GetRestApis": "GET /restapis", + "GetSdk": { http: "GET /restapis/{restApiId}/stages/{stageName}/sdks/{sdkType}", traits: { - contentType: "Content-Type", - contentDisposition: "Content-Disposition", - body: "httpPayload", + "contentType": "Content-Type", + "contentDisposition": "Content-Disposition", + "body": "httpPayload", }, }, - GetSdkType: "GET /sdktypes/{id}", - GetSdkTypes: "GET /sdktypes", - GetStage: "GET /restapis/{restApiId}/stages/{stageName}", - GetStages: "GET /restapis/{restApiId}/stages", - GetTags: "GET /tags/{resourceArn}", - GetUsage: "GET /usageplans/{usagePlanId}/usage", - GetUsagePlan: "GET /usageplans/{usagePlanId}", - GetUsagePlanKey: "GET /usageplans/{usagePlanId}/keys/{keyId}", - GetUsagePlanKeys: "GET /usageplans/{usagePlanId}/keys", - GetUsagePlans: "GET /usageplans", - GetVpcLink: "GET /vpclinks/{vpcLinkId}", - GetVpcLinks: "GET /vpclinks", - ImportApiKeys: "POST /apikeys?mode=import", - ImportDocumentationParts: "PUT /restapis/{restApiId}/documentation/parts", - ImportRestApi: "POST /restapis?mode=import", - PutGatewayResponse: - "PUT /restapis/{restApiId}/gatewayresponses/{responseType}", - PutIntegration: - "PUT /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", - PutIntegrationResponse: - "PUT /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", - PutMethod: - "PUT /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - PutMethodResponse: - "PUT /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", - PutRestApi: "PUT /restapis/{restApiId}", - RejectDomainNameAccessAssociation: - "POST /rejectdomainnameaccessassociations", - TagResource: "PUT /tags/{resourceArn}", - TestInvokeAuthorizer: - "POST /restapis/{restApiId}/authorizers/{authorizerId}", - TestInvokeMethod: - "POST /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAccount: "PATCH /account", - UpdateApiKey: "PATCH /apikeys/{apiKey}", - UpdateAuthorizer: "PATCH /restapis/{restApiId}/authorizers/{authorizerId}", - UpdateBasePathMapping: - "PATCH /domainnames/{domainName}/basepathmappings/{basePath}", - UpdateClientCertificate: "PATCH /clientcertificates/{clientCertificateId}", - UpdateDeployment: "PATCH /restapis/{restApiId}/deployments/{deploymentId}", - UpdateDocumentationPart: - "PATCH /restapis/{restApiId}/documentation/parts/{documentationPartId}", - UpdateDocumentationVersion: - "PATCH /restapis/{restApiId}/documentation/versions/{documentationVersion}", - UpdateDomainName: "PATCH /domainnames/{domainName}", - UpdateGatewayResponse: - "PATCH /restapis/{restApiId}/gatewayresponses/{responseType}", - UpdateIntegration: - "PATCH /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", - UpdateIntegrationResponse: - "PATCH /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", - UpdateMethod: - "PATCH /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", - UpdateMethodResponse: - "PATCH /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", - UpdateModel: "PATCH /restapis/{restApiId}/models/{modelName}", - UpdateRequestValidator: - "PATCH /restapis/{restApiId}/requestvalidators/{requestValidatorId}", - UpdateResource: "PATCH /restapis/{restApiId}/resources/{resourceId}", - UpdateRestApi: "PATCH /restapis/{restApiId}", - UpdateStage: "PATCH /restapis/{restApiId}/stages/{stageName}", - UpdateUsage: "PATCH /usageplans/{usagePlanId}/keys/{keyId}/usage", - UpdateUsagePlan: "PATCH /usageplans/{usagePlanId}", - UpdateVpcLink: "PATCH /vpclinks/{vpcLinkId}", + "GetSdkType": "GET /sdktypes/{id}", + "GetSdkTypes": "GET /sdktypes", + "GetStage": "GET /restapis/{restApiId}/stages/{stageName}", + "GetStages": "GET /restapis/{restApiId}/stages", + "GetTags": "GET /tags/{resourceArn}", + "GetUsage": "GET /usageplans/{usagePlanId}/usage", + "GetUsagePlan": "GET /usageplans/{usagePlanId}", + "GetUsagePlanKey": "GET /usageplans/{usagePlanId}/keys/{keyId}", + "GetUsagePlanKeys": "GET /usageplans/{usagePlanId}/keys", + "GetUsagePlans": "GET /usageplans", + "GetVpcLink": "GET /vpclinks/{vpcLinkId}", + "GetVpcLinks": "GET /vpclinks", + "ImportApiKeys": "POST /apikeys?mode=import", + "ImportDocumentationParts": "PUT /restapis/{restApiId}/documentation/parts", + "ImportRestApi": "POST /restapis?mode=import", + "PutGatewayResponse": "PUT /restapis/{restApiId}/gatewayresponses/{responseType}", + "PutIntegration": "PUT /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", + "PutIntegrationResponse": "PUT /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", + "PutMethod": "PUT /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "PutMethodResponse": "PUT /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", + "PutRestApi": "PUT /restapis/{restApiId}", + "RejectDomainNameAccessAssociation": "POST /rejectdomainnameaccessassociations", + "TagResource": "PUT /tags/{resourceArn}", + "TestInvokeAuthorizer": "POST /restapis/{restApiId}/authorizers/{authorizerId}", + "TestInvokeMethod": "POST /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAccount": "PATCH /account", + "UpdateApiKey": "PATCH /apikeys/{apiKey}", + "UpdateAuthorizer": "PATCH /restapis/{restApiId}/authorizers/{authorizerId}", + "UpdateBasePathMapping": "PATCH /domainnames/{domainName}/basepathmappings/{basePath}", + "UpdateClientCertificate": "PATCH /clientcertificates/{clientCertificateId}", + "UpdateDeployment": "PATCH /restapis/{restApiId}/deployments/{deploymentId}", + "UpdateDocumentationPart": "PATCH /restapis/{restApiId}/documentation/parts/{documentationPartId}", + "UpdateDocumentationVersion": "PATCH /restapis/{restApiId}/documentation/versions/{documentationVersion}", + "UpdateDomainName": "PATCH /domainnames/{domainName}", + "UpdateGatewayResponse": "PATCH /restapis/{restApiId}/gatewayresponses/{responseType}", + "UpdateIntegration": "PATCH /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration", + "UpdateIntegrationResponse": "PATCH /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/integration/responses/{statusCode}", + "UpdateMethod": "PATCH /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}", + "UpdateMethodResponse": "PATCH /restapis/{restApiId}/resources/{resourceId}/methods/{httpMethod}/responses/{statusCode}", + "UpdateModel": "PATCH /restapis/{restApiId}/models/{modelName}", + "UpdateRequestValidator": "PATCH /restapis/{restApiId}/requestvalidators/{requestValidatorId}", + "UpdateResource": "PATCH /restapis/{restApiId}/resources/{resourceId}", + "UpdateRestApi": "PATCH /restapis/{restApiId}", + "UpdateStage": "PATCH /restapis/{restApiId}/stages/{stageName}", + "UpdateUsage": "PATCH /usageplans/{usagePlanId}/keys/{keyId}/usage", + "UpdateUsagePlan": "PATCH /usageplans/{usagePlanId}", + "UpdateVpcLink": "PATCH /vpclinks/{vpcLinkId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/api-gateway/types.ts b/src/services/api-gateway/types.ts index 8b280f18..0084e3df 100644 --- a/src/services/api-gateway/types.ts +++ b/src/services/api-gateway/types.ts @@ -9,1370 +9,745 @@ export declare class APIGateway extends AWSServiceClient { input: CreateApiKeyRequest, ): Effect.Effect< ApiKey, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createAuthorizer( input: CreateAuthorizerRequest, ): Effect.Effect< Authorizer, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createBasePathMapping( input: CreateBasePathMappingRequest, ): Effect.Effect< BasePathMapping, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createDeployment( input: CreateDeploymentRequest, ): Effect.Effect< Deployment, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createDocumentationPart( input: CreateDocumentationPartRequest, ): Effect.Effect< DocumentationPart, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createDocumentationVersion( input: CreateDocumentationVersionRequest, ): Effect.Effect< DocumentationVersion, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createDomainName( input: CreateDomainNameRequest, ): Effect.Effect< DomainName, - | BadRequestException - | ConflictException - | LimitExceededException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createDomainNameAccessAssociation( input: CreateDomainNameAccessAssociationRequest, ): Effect.Effect< DomainNameAccessAssociation, - | BadRequestException - | ConflictException - | LimitExceededException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createModel( input: CreateModelRequest, ): Effect.Effect< Model, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createRequestValidator( input: CreateRequestValidatorRequest, ): Effect.Effect< RequestValidator, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createResource( input: CreateResourceRequest, ): Effect.Effect< Resource, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createRestApi( input: CreateRestApiRequest, ): Effect.Effect< RestApi, - | BadRequestException - | ConflictException - | LimitExceededException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createStage( input: CreateStageRequest, ): Effect.Effect< Stage, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createUsagePlan( input: CreateUsagePlanRequest, ): Effect.Effect< UsagePlan, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createUsagePlanKey( input: CreateUsagePlanKeyRequest, ): Effect.Effect< UsagePlanKey, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createVpcLink( input: CreateVpcLinkRequest, ): Effect.Effect< VpcLink, - | BadRequestException - | ConflictException - | LimitExceededException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteApiKey( input: DeleteApiKeyRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteAuthorizer( input: DeleteAuthorizerRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteBasePathMapping( input: DeleteBasePathMappingRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteClientCertificate( input: DeleteClientCertificateRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteDeployment( input: DeleteDeploymentRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteDocumentationPart( input: DeleteDocumentationPartRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteDocumentationVersion( input: DeleteDocumentationVersionRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteDomainName( input: DeleteDomainNameRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteDomainNameAccessAssociation( input: DeleteDomainNameAccessAssociationRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteGatewayResponse( input: DeleteGatewayResponseRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteIntegration( input: DeleteIntegrationRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteIntegrationResponse( input: DeleteIntegrationResponseRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteMethod( input: DeleteMethodRequest, ): Effect.Effect< {}, - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteMethodResponse( input: DeleteMethodResponseRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteModel( input: DeleteModelRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteRequestValidator( input: DeleteRequestValidatorRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteResource( input: DeleteResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteRestApi( input: DeleteRestApiRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteStage( input: DeleteStageRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteUsagePlan( input: DeleteUsagePlanRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteUsagePlanKey( input: DeleteUsagePlanKeyRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteVpcLink( input: DeleteVpcLinkRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; flushStageAuthorizersCache( input: FlushStageAuthorizersCacheRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; flushStageCache( input: FlushStageCacheRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; generateClientCertificate( input: GenerateClientCertificateRequest, ): Effect.Effect< ClientCertificate, - | BadRequestException - | ConflictException - | LimitExceededException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getAccount( input: GetAccountRequest, ): Effect.Effect< Account, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getApiKey( input: GetApiKeyRequest, ): Effect.Effect< ApiKey, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getApiKeys( input: GetApiKeysRequest, ): Effect.Effect< ApiKeys, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getAuthorizer( input: GetAuthorizerRequest, ): Effect.Effect< Authorizer, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getAuthorizers( input: GetAuthorizersRequest, ): Effect.Effect< Authorizers, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getBasePathMapping( input: GetBasePathMappingRequest, ): Effect.Effect< BasePathMapping, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getBasePathMappings( input: GetBasePathMappingsRequest, ): Effect.Effect< BasePathMappings, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getClientCertificate( input: GetClientCertificateRequest, ): Effect.Effect< ClientCertificate, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getClientCertificates( input: GetClientCertificatesRequest, ): Effect.Effect< ClientCertificates, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDeployment( input: GetDeploymentRequest, ): Effect.Effect< Deployment, - | BadRequestException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDeployments( input: GetDeploymentsRequest, ): Effect.Effect< Deployments, - | BadRequestException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDocumentationPart( input: GetDocumentationPartRequest, ): Effect.Effect< DocumentationPart, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDocumentationParts( input: GetDocumentationPartsRequest, ): Effect.Effect< DocumentationParts, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDocumentationVersion( input: GetDocumentationVersionRequest, ): Effect.Effect< DocumentationVersion, - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDocumentationVersions( input: GetDocumentationVersionsRequest, ): Effect.Effect< DocumentationVersions, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDomainName( input: GetDomainNameRequest, ): Effect.Effect< DomainName, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDomainNameAccessAssociations( input: GetDomainNameAccessAssociationsRequest, ): Effect.Effect< DomainNameAccessAssociations, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDomainNames( input: GetDomainNamesRequest, ): Effect.Effect< DomainNames, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getExport( input: GetExportRequest, ): Effect.Effect< ExportResponse, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getGatewayResponse( input: GetGatewayResponseRequest, ): Effect.Effect< GatewayResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getGatewayResponses( input: GetGatewayResponsesRequest, ): Effect.Effect< GatewayResponses, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getIntegration( input: GetIntegrationRequest, ): Effect.Effect< Integration, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getIntegrationResponse( input: GetIntegrationResponseRequest, ): Effect.Effect< IntegrationResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getMethod( input: GetMethodRequest, ): Effect.Effect< Method, - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getMethodResponse( input: GetMethodResponseRequest, ): Effect.Effect< MethodResponse, - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getModel( input: GetModelRequest, ): Effect.Effect< Model, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getModels( input: GetModelsRequest, ): Effect.Effect< Models, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getModelTemplate( input: GetModelTemplateRequest, ): Effect.Effect< Template, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getRequestValidator( input: GetRequestValidatorRequest, ): Effect.Effect< RequestValidator, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getRequestValidators( input: GetRequestValidatorsRequest, ): Effect.Effect< RequestValidators, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getResource( input: GetResourceRequest, ): Effect.Effect< Resource, - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getResources( input: GetResourcesRequest, ): Effect.Effect< Resources, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getRestApi( input: GetRestApiRequest, ): Effect.Effect< RestApi, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getRestApis( input: GetRestApisRequest, ): Effect.Effect< RestApis, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getSdk( input: GetSdkRequest, ): Effect.Effect< SdkResponse, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getSdkType( input: GetSdkTypeRequest, ): Effect.Effect< SdkType, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getSdkTypes( input: GetSdkTypesRequest, ): Effect.Effect< SdkTypes, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getStage( input: GetStageRequest, ): Effect.Effect< Stage, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getStages( input: GetStagesRequest, ): Effect.Effect< Stages, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getTags( input: GetTagsRequest, ): Effect.Effect< Tags, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getUsage( input: GetUsageRequest, ): Effect.Effect< Usage, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getUsagePlan( input: GetUsagePlanRequest, ): Effect.Effect< UsagePlan, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getUsagePlanKey( input: GetUsagePlanKeyRequest, ): Effect.Effect< UsagePlanKey, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getUsagePlanKeys( input: GetUsagePlanKeysRequest, ): Effect.Effect< UsagePlanKeys, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getUsagePlans( input: GetUsagePlansRequest, ): Effect.Effect< UsagePlans, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getVpcLink( input: GetVpcLinkRequest, ): Effect.Effect< VpcLink, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getVpcLinks( input: GetVpcLinksRequest, ): Effect.Effect< VpcLinks, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; importApiKeys( input: ImportApiKeysRequest, ): Effect.Effect< ApiKeyIds, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; importDocumentationParts( input: ImportDocumentationPartsRequest, ): Effect.Effect< DocumentationPartIds, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; importRestApi( input: ImportRestApiRequest, ): Effect.Effect< RestApi, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; putGatewayResponse( input: PutGatewayResponseRequest, ): Effect.Effect< GatewayResponse, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; putIntegration( input: PutIntegrationRequest, ): Effect.Effect< Integration, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; putIntegrationResponse( input: PutIntegrationResponseRequest, ): Effect.Effect< IntegrationResponse, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; putMethod( input: PutMethodRequest, ): Effect.Effect< Method, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; putMethodResponse( input: PutMethodResponseRequest, ): Effect.Effect< MethodResponse, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; putRestApi( input: PutRestApiRequest, ): Effect.Effect< RestApi, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; rejectDomainNameAccessAssociation( input: RejectDomainNameAccessAssociationRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; testInvokeAuthorizer( input: TestInvokeAuthorizerRequest, ): Effect.Effect< TestInvokeAuthorizerResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; testInvokeMethod( input: TestInvokeMethodRequest, ): Effect.Effect< TestInvokeMethodResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateAccount( input: UpdateAccountRequest, ): Effect.Effect< Account, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateApiKey( input: UpdateApiKeyRequest, ): Effect.Effect< ApiKey, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateAuthorizer( input: UpdateAuthorizerRequest, ): Effect.Effect< Authorizer, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateBasePathMapping( input: UpdateBasePathMappingRequest, ): Effect.Effect< BasePathMapping, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateClientCertificate( input: UpdateClientCertificateRequest, ): Effect.Effect< ClientCertificate, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateDeployment( input: UpdateDeploymentRequest, ): Effect.Effect< Deployment, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateDocumentationPart( input: UpdateDocumentationPartRequest, ): Effect.Effect< DocumentationPart, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateDocumentationVersion( input: UpdateDocumentationVersionRequest, ): Effect.Effect< DocumentationVersion, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateDomainName( input: UpdateDomainNameRequest, ): Effect.Effect< DomainName, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateGatewayResponse( input: UpdateGatewayResponseRequest, ): Effect.Effect< GatewayResponse, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateIntegration( input: UpdateIntegrationRequest, ): Effect.Effect< Integration, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateIntegrationResponse( input: UpdateIntegrationResponseRequest, ): Effect.Effect< IntegrationResponse, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateMethod( input: UpdateMethodRequest, ): Effect.Effect< Method, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateMethodResponse( input: UpdateMethodResponseRequest, ): Effect.Effect< MethodResponse, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateModel( input: UpdateModelRequest, ): Effect.Effect< Model, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateRequestValidator( input: UpdateRequestValidatorRequest, ): Effect.Effect< RequestValidator, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateResource( input: UpdateResourceRequest, ): Effect.Effect< Resource, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateRestApi( input: UpdateRestApiRequest, ): Effect.Effect< RestApi, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateStage( input: UpdateStageRequest, ): Effect.Effect< Stage, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateUsage( input: UpdateUsageRequest, ): Effect.Effect< Usage, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateUsagePlan( input: UpdateUsagePlanRequest, ): Effect.Effect< UsagePlan, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateVpcLink( input: UpdateVpcLinkRequest, ): Effect.Effect< VpcLink, - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | LimitExceededException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; } @@ -1452,21 +827,8 @@ export type Blob = Uint8Array | string; export type ApiGatewayBoolean = boolean; -export type CacheClusterSize = - | "0.5" - | "1.6" - | "6.1" - | "13.5" - | "28.4" - | "58.2" - | "118" - | "237"; -export type CacheClusterStatus = - | "CREATE_IN_PROGRESS" - | "AVAILABLE" - | "DELETE_IN_PROGRESS" - | "NOT_AVAILABLE" - | "FLUSH_IN_PROGRESS"; +export type CacheClusterSize = "0.5" | "1.6" | "6.1" | "13.5" | "28.4" | "58.2" | "118" | "237"; +export type CacheClusterStatus = "CREATE_IN_PROGRESS" | "AVAILABLE" | "DELETE_IN_PROGRESS" | "NOT_AVAILABLE" | "FLUSH_IN_PROGRESS"; export interface CanarySettings { percentTraffic?: number; deploymentId?: string; @@ -1755,19 +1117,7 @@ export interface DocumentationParts { items?: Array; position?: string; } -export type DocumentationPartType = - | "API" - | "AUTHORIZER" - | "MODEL" - | "RESOURCE" - | "METHOD" - | "PATH_PARAMETER" - | "QUERY_PARAMETER" - | "REQUEST_HEADER" - | "REQUEST_BODY" - | "RESPONSE" - | "RESPONSE_HEADER" - | "RESPONSE_BODY"; +export type DocumentationPartType = "API" | "AUTHORIZER" | "MODEL" | "RESOURCE" | "METHOD" | "PATH_PARAMETER" | "QUERY_PARAMETER" | "REQUEST_HEADER" | "REQUEST_BODY" | "RESPONSE" | "RESPONSE_HEADER" | "RESPONSE_BODY"; export interface DocumentationVersion { version?: string; createdDate?: Date | string; @@ -1816,12 +1166,7 @@ export interface DomainNames { items?: Array; position?: string; } -export type DomainNameStatus = - | "AVAILABLE" - | "UPDATING" - | "PENDING" - | "PENDING_CERTIFICATE_REIMPORT" - | "PENDING_OWNERSHIP_VERIFICATION"; +export type DomainNameStatus = "AVAILABLE" | "UPDATING" | "PENDING" | "PENDING_CERTIFICATE_REIMPORT" | "PENDING_OWNERSHIP_VERIFICATION"; export type Double = number; export interface EndpointConfiguration { @@ -1854,33 +1199,13 @@ export interface GatewayResponses { items?: Array; position?: string; } -export type GatewayResponseType = - | "DEFAULT_4XX" - | "DEFAULT_5XX" - | "RESOURCE_NOT_FOUND" - | "UNAUTHORIZED" - | "INVALID_API_KEY" - | "ACCESS_DENIED" - | "AUTHORIZER_FAILURE" - | "AUTHORIZER_CONFIGURATION_ERROR" - | "INVALID_SIGNATURE" - | "EXPIRED_TOKEN" - | "MISSING_AUTHENTICATION_TOKEN" - | "INTEGRATION_FAILURE" - | "INTEGRATION_TIMEOUT" - | "API_CONFIGURATION_ERROR" - | "UNSUPPORTED_MEDIA_TYPE" - | "BAD_REQUEST_PARAMETERS" - | "BAD_REQUEST_BODY" - | "REQUEST_TOO_LARGE" - | "THROTTLED" - | "QUOTA_EXCEEDED" - | "WAF_FILTERED"; +export type GatewayResponseType = "DEFAULT_4XX" | "DEFAULT_5XX" | "RESOURCE_NOT_FOUND" | "UNAUTHORIZED" | "INVALID_API_KEY" | "ACCESS_DENIED" | "AUTHORIZER_FAILURE" | "AUTHORIZER_CONFIGURATION_ERROR" | "INVALID_SIGNATURE" | "EXPIRED_TOKEN" | "MISSING_AUTHENTICATION_TOKEN" | "INTEGRATION_FAILURE" | "INTEGRATION_TIMEOUT" | "API_CONFIGURATION_ERROR" | "UNSUPPORTED_MEDIA_TYPE" | "BAD_REQUEST_PARAMETERS" | "BAD_REQUEST_BODY" | "REQUEST_TOO_LARGE" | "THROTTLED" | "QUOTA_EXCEEDED" | "WAF_FILTERED"; export interface GenerateClientCertificateRequest { description?: string; tags?: Record; } -export interface GetAccountRequest {} +export interface GetAccountRequest { +} export interface GetApiKeyRequest { apiKey: string; includeValue?: boolean; @@ -2145,12 +1470,7 @@ export interface IntegrationResponse { responseTemplates?: Record; contentHandling?: ContentHandlingStrategy; } -export type IntegrationType = - | "HTTP" - | "AWS" - | "MOCK" - | "HTTP_PROXY" - | "AWS_PROXY"; +export type IntegrationType = "HTTP" | "AWS" | "MOCK" | "HTTP_PROXY" | "AWS_PROXY"; export type IpAddressType = "ipv4" | "dualstack"; export declare class LimitExceededException extends EffectData.TaggedError( "LimitExceededException", @@ -2168,8 +1488,7 @@ export type ListOfDeployment = Array; export type ListOfDocumentationPart = Array; export type ListOfDocumentationVersion = Array; export type ListOfDomainName = Array; -export type ListOfDomainNameAccessAssociation = - Array; +export type ListOfDomainNameAccessAssociation = Array; export type ListOfEndpointType = Array; export type ListOfGatewayResponse = Array; export type ListOfLong = Array; @@ -2270,10 +1589,7 @@ export interface PatchOperation { value?: string; from?: string; } -export type PathToMapOfMethodSnapshot = Record< - string, - Record ->; +export type PathToMapOfMethodSnapshot = Record>; export type ProviderARN = string; export interface PutGatewayResponseRequest { @@ -2393,10 +1709,7 @@ export interface RestApis { items?: Array; position?: string; } -export type RoutingMode = - | "BASE_PATH_MAPPING_ONLY" - | "ROUTING_RULE_ONLY" - | "ROUTING_RULE_THEN_BASE_PATH_MAPPING"; +export type RoutingMode = "BASE_PATH_MAPPING_ONLY" | "ROUTING_RULE_ONLY" | "ROUTING_RULE_THEN_BASE_PATH_MAPPING"; export interface SdkConfigurationProperty { name?: string; friendlyName?: string; @@ -2518,10 +1831,7 @@ export declare class TooManyRequestsException extends EffectData.TaggedError( readonly retryAfterSeconds?: string; readonly message?: string; }> {} -export type UnauthorizedCacheControlHeaderStrategy = - | "FAIL_WITH_403" - | "SUCCEED_WITH_RESPONSE_HEADER" - | "SUCCEED_WITHOUT_RESPONSE_HEADER"; +export type UnauthorizedCacheControlHeaderStrategy = "FAIL_WITH_403" | "SUCCEED_WITH_RESPONSE_HEADER" | "SUCCEED_WITHOUT_RESPONSE_HEADER"; export declare class UnauthorizedException extends EffectData.TaggedError( "UnauthorizedException", )<{ @@ -4179,12 +3489,5 @@ export declare namespace UpdateVpcLink { | CommonAwsError; } -export type APIGatewayErrors = - | BadRequestException - | ConflictException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError; +export type APIGatewayErrors = BadRequestException | ConflictException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/apigatewaymanagementapi/index.ts b/src/services/apigatewaymanagementapi/index.ts index 41faa341..903ac55f 100644 --- a/src/services/apigatewaymanagementapi/index.ts +++ b/src/services/apigatewaymanagementapi/index.ts @@ -5,26 +5,7 @@ import type { ApiGatewayManagementApi as _ApiGatewayManagementApiClient } from " export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,9 +15,9 @@ const metadata = { sigV4ServiceName: "execute-api", endpointPrefix: "execute-api", operations: { - DeleteConnection: "DELETE /@connections/{ConnectionId}", - GetConnection: "GET /@connections/{ConnectionId}", - PostToConnection: "POST /@connections/{ConnectionId}", + "DeleteConnection": "DELETE /@connections/{ConnectionId}", + "GetConnection": "GET /@connections/{ConnectionId}", + "PostToConnection": "POST /@connections/{ConnectionId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/apigatewaymanagementapi/types.ts b/src/services/apigatewaymanagementapi/types.ts index 9d231118..7be88bbb 100644 --- a/src/services/apigatewaymanagementapi/types.ts +++ b/src/services/apigatewaymanagementapi/types.ts @@ -19,11 +19,7 @@ export declare class ApiGatewayManagementApi extends AWSServiceClient { input: PostToConnectionRequest, ): Effect.Effect< {}, - | ForbiddenException - | GoneException - | LimitExceededException - | PayloadTooLargeException - | CommonAwsError + ForbiddenException | GoneException | LimitExceededException | PayloadTooLargeException | CommonAwsError >; } @@ -40,7 +36,8 @@ export interface DeleteConnectionRequest { } export declare class ForbiddenException extends EffectData.TaggedError( "ForbiddenException", -)<{}> {} +)<{ +}> {} export interface GetConnectionRequest { ConnectionId: string; } @@ -51,14 +48,16 @@ export interface GetConnectionResponse { } export declare class GoneException extends EffectData.TaggedError( "GoneException", -)<{}> {} +)<{ +}> {} export interface Identity { SourceIp: string; UserAgent: string; } export declare class LimitExceededException extends EffectData.TaggedError( "LimitExceededException", -)<{}> {} +)<{ +}> {} export declare class PayloadTooLargeException extends EffectData.TaggedError( "PayloadTooLargeException", )<{ @@ -99,9 +98,5 @@ export declare namespace PostToConnection { | CommonAwsError; } -export type ApiGatewayManagementApiErrors = - | ForbiddenException - | GoneException - | LimitExceededException - | PayloadTooLargeException - | CommonAwsError; +export type ApiGatewayManagementApiErrors = ForbiddenException | GoneException | LimitExceededException | PayloadTooLargeException | CommonAwsError; + diff --git a/src/services/apigatewayv2/index.ts b/src/services/apigatewayv2/index.ts index 36e6a259..f4ac65ae 100644 --- a/src/services/apigatewayv2/index.ts +++ b/src/services/apigatewayv2/index.ts @@ -5,25 +5,7 @@ import type { ApiGatewayV2 as _ApiGatewayV2Client } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,107 +15,88 @@ const metadata = { sigV4ServiceName: "apigateway", endpointPrefix: "apigateway", operations: { - CreateApi: "POST /v2/apis", - CreateApiMapping: "POST /v2/domainnames/{DomainName}/apimappings", - CreateAuthorizer: "POST /v2/apis/{ApiId}/authorizers", - CreateDeployment: "POST /v2/apis/{ApiId}/deployments", - CreateDomainName: "POST /v2/domainnames", - CreateIntegration: "POST /v2/apis/{ApiId}/integrations", - CreateIntegrationResponse: - "POST /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses", - CreateModel: "POST /v2/apis/{ApiId}/models", - CreateRoute: "POST /v2/apis/{ApiId}/routes", - CreateRouteResponse: - "POST /v2/apis/{ApiId}/routes/{RouteId}/routeresponses", - CreateRoutingRule: "POST /v2/domainnames/{DomainName}/routingrules", - CreateStage: "POST /v2/apis/{ApiId}/stages", - CreateVpcLink: "POST /v2/vpclinks", - DeleteAccessLogSettings: - "DELETE /v2/apis/{ApiId}/stages/{StageName}/accesslogsettings", - DeleteApi: "DELETE /v2/apis/{ApiId}", - DeleteApiMapping: - "DELETE /v2/domainnames/{DomainName}/apimappings/{ApiMappingId}", - DeleteAuthorizer: "DELETE /v2/apis/{ApiId}/authorizers/{AuthorizerId}", - DeleteCorsConfiguration: "DELETE /v2/apis/{ApiId}/cors", - DeleteDeployment: "DELETE /v2/apis/{ApiId}/deployments/{DeploymentId}", - DeleteDomainName: "DELETE /v2/domainnames/{DomainName}", - DeleteIntegration: "DELETE /v2/apis/{ApiId}/integrations/{IntegrationId}", - DeleteIntegrationResponse: - "DELETE /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses/{IntegrationResponseId}", - DeleteModel: "DELETE /v2/apis/{ApiId}/models/{ModelId}", - DeleteRoute: "DELETE /v2/apis/{ApiId}/routes/{RouteId}", - DeleteRouteRequestParameter: - "DELETE /v2/apis/{ApiId}/routes/{RouteId}/requestparameters/{RequestParameterKey}", - DeleteRouteResponse: - "DELETE /v2/apis/{ApiId}/routes/{RouteId}/routeresponses/{RouteResponseId}", - DeleteRouteSettings: - "DELETE /v2/apis/{ApiId}/stages/{StageName}/routesettings/{RouteKey}", - DeleteRoutingRule: - "DELETE /v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}", - DeleteStage: "DELETE /v2/apis/{ApiId}/stages/{StageName}", - DeleteVpcLink: "DELETE /v2/vpclinks/{VpcLinkId}", - ExportApi: { + "CreateApi": "POST /v2/apis", + "CreateApiMapping": "POST /v2/domainnames/{DomainName}/apimappings", + "CreateAuthorizer": "POST /v2/apis/{ApiId}/authorizers", + "CreateDeployment": "POST /v2/apis/{ApiId}/deployments", + "CreateDomainName": "POST /v2/domainnames", + "CreateIntegration": "POST /v2/apis/{ApiId}/integrations", + "CreateIntegrationResponse": "POST /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses", + "CreateModel": "POST /v2/apis/{ApiId}/models", + "CreateRoute": "POST /v2/apis/{ApiId}/routes", + "CreateRouteResponse": "POST /v2/apis/{ApiId}/routes/{RouteId}/routeresponses", + "CreateRoutingRule": "POST /v2/domainnames/{DomainName}/routingrules", + "CreateStage": "POST /v2/apis/{ApiId}/stages", + "CreateVpcLink": "POST /v2/vpclinks", + "DeleteAccessLogSettings": "DELETE /v2/apis/{ApiId}/stages/{StageName}/accesslogsettings", + "DeleteApi": "DELETE /v2/apis/{ApiId}", + "DeleteApiMapping": "DELETE /v2/domainnames/{DomainName}/apimappings/{ApiMappingId}", + "DeleteAuthorizer": "DELETE /v2/apis/{ApiId}/authorizers/{AuthorizerId}", + "DeleteCorsConfiguration": "DELETE /v2/apis/{ApiId}/cors", + "DeleteDeployment": "DELETE /v2/apis/{ApiId}/deployments/{DeploymentId}", + "DeleteDomainName": "DELETE /v2/domainnames/{DomainName}", + "DeleteIntegration": "DELETE /v2/apis/{ApiId}/integrations/{IntegrationId}", + "DeleteIntegrationResponse": "DELETE /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses/{IntegrationResponseId}", + "DeleteModel": "DELETE /v2/apis/{ApiId}/models/{ModelId}", + "DeleteRoute": "DELETE /v2/apis/{ApiId}/routes/{RouteId}", + "DeleteRouteRequestParameter": "DELETE /v2/apis/{ApiId}/routes/{RouteId}/requestparameters/{RequestParameterKey}", + "DeleteRouteResponse": "DELETE /v2/apis/{ApiId}/routes/{RouteId}/routeresponses/{RouteResponseId}", + "DeleteRouteSettings": "DELETE /v2/apis/{ApiId}/stages/{StageName}/routesettings/{RouteKey}", + "DeleteRoutingRule": "DELETE /v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}", + "DeleteStage": "DELETE /v2/apis/{ApiId}/stages/{StageName}", + "DeleteVpcLink": "DELETE /v2/vpclinks/{VpcLinkId}", + "ExportApi": { http: "GET /v2/apis/{ApiId}/exports/{Specification}", traits: { - body: "httpPayload", + "body": "httpPayload", }, }, - GetApi: "GET /v2/apis/{ApiId}", - GetApiMapping: - "GET /v2/domainnames/{DomainName}/apimappings/{ApiMappingId}", - GetApiMappings: "GET /v2/domainnames/{DomainName}/apimappings", - GetApis: "GET /v2/apis", - GetAuthorizer: "GET /v2/apis/{ApiId}/authorizers/{AuthorizerId}", - GetAuthorizers: "GET /v2/apis/{ApiId}/authorizers", - GetDeployment: "GET /v2/apis/{ApiId}/deployments/{DeploymentId}", - GetDeployments: "GET /v2/apis/{ApiId}/deployments", - GetDomainName: "GET /v2/domainnames/{DomainName}", - GetDomainNames: "GET /v2/domainnames", - GetIntegration: "GET /v2/apis/{ApiId}/integrations/{IntegrationId}", - GetIntegrationResponse: - "GET /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses/{IntegrationResponseId}", - GetIntegrationResponses: - "GET /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses", - GetIntegrations: "GET /v2/apis/{ApiId}/integrations", - GetModel: "GET /v2/apis/{ApiId}/models/{ModelId}", - GetModels: "GET /v2/apis/{ApiId}/models", - GetModelTemplate: "GET /v2/apis/{ApiId}/models/{ModelId}/template", - GetRoute: "GET /v2/apis/{ApiId}/routes/{RouteId}", - GetRouteResponse: - "GET /v2/apis/{ApiId}/routes/{RouteId}/routeresponses/{RouteResponseId}", - GetRouteResponses: "GET /v2/apis/{ApiId}/routes/{RouteId}/routeresponses", - GetRoutes: "GET /v2/apis/{ApiId}/routes", - GetRoutingRule: - "GET /v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}", - GetStage: "GET /v2/apis/{ApiId}/stages/{StageName}", - GetStages: "GET /v2/apis/{ApiId}/stages", - GetTags: "GET /v2/tags/{ResourceArn}", - GetVpcLink: "GET /v2/vpclinks/{VpcLinkId}", - GetVpcLinks: "GET /v2/vpclinks", - ImportApi: "PUT /v2/apis", - ListRoutingRules: "GET /v2/domainnames/{DomainName}/routingrules", - PutRoutingRule: - "PUT /v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}", - ReimportApi: "PUT /v2/apis/{ApiId}", - ResetAuthorizersCache: - "DELETE /v2/apis/{ApiId}/stages/{StageName}/cache/authorizers", - TagResource: "POST /v2/tags/{ResourceArn}", - UntagResource: "DELETE /v2/tags/{ResourceArn}", - UpdateApi: "PATCH /v2/apis/{ApiId}", - UpdateApiMapping: - "PATCH /v2/domainnames/{DomainName}/apimappings/{ApiMappingId}", - UpdateAuthorizer: "PATCH /v2/apis/{ApiId}/authorizers/{AuthorizerId}", - UpdateDeployment: "PATCH /v2/apis/{ApiId}/deployments/{DeploymentId}", - UpdateDomainName: "PATCH /v2/domainnames/{DomainName}", - UpdateIntegration: "PATCH /v2/apis/{ApiId}/integrations/{IntegrationId}", - UpdateIntegrationResponse: - "PATCH /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses/{IntegrationResponseId}", - UpdateModel: "PATCH /v2/apis/{ApiId}/models/{ModelId}", - UpdateRoute: "PATCH /v2/apis/{ApiId}/routes/{RouteId}", - UpdateRouteResponse: - "PATCH /v2/apis/{ApiId}/routes/{RouteId}/routeresponses/{RouteResponseId}", - UpdateStage: "PATCH /v2/apis/{ApiId}/stages/{StageName}", - UpdateVpcLink: "PATCH /v2/vpclinks/{VpcLinkId}", + "GetApi": "GET /v2/apis/{ApiId}", + "GetApiMapping": "GET /v2/domainnames/{DomainName}/apimappings/{ApiMappingId}", + "GetApiMappings": "GET /v2/domainnames/{DomainName}/apimappings", + "GetApis": "GET /v2/apis", + "GetAuthorizer": "GET /v2/apis/{ApiId}/authorizers/{AuthorizerId}", + "GetAuthorizers": "GET /v2/apis/{ApiId}/authorizers", + "GetDeployment": "GET /v2/apis/{ApiId}/deployments/{DeploymentId}", + "GetDeployments": "GET /v2/apis/{ApiId}/deployments", + "GetDomainName": "GET /v2/domainnames/{DomainName}", + "GetDomainNames": "GET /v2/domainnames", + "GetIntegration": "GET /v2/apis/{ApiId}/integrations/{IntegrationId}", + "GetIntegrationResponse": "GET /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses/{IntegrationResponseId}", + "GetIntegrationResponses": "GET /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses", + "GetIntegrations": "GET /v2/apis/{ApiId}/integrations", + "GetModel": "GET /v2/apis/{ApiId}/models/{ModelId}", + "GetModels": "GET /v2/apis/{ApiId}/models", + "GetModelTemplate": "GET /v2/apis/{ApiId}/models/{ModelId}/template", + "GetRoute": "GET /v2/apis/{ApiId}/routes/{RouteId}", + "GetRouteResponse": "GET /v2/apis/{ApiId}/routes/{RouteId}/routeresponses/{RouteResponseId}", + "GetRouteResponses": "GET /v2/apis/{ApiId}/routes/{RouteId}/routeresponses", + "GetRoutes": "GET /v2/apis/{ApiId}/routes", + "GetRoutingRule": "GET /v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}", + "GetStage": "GET /v2/apis/{ApiId}/stages/{StageName}", + "GetStages": "GET /v2/apis/{ApiId}/stages", + "GetTags": "GET /v2/tags/{ResourceArn}", + "GetVpcLink": "GET /v2/vpclinks/{VpcLinkId}", + "GetVpcLinks": "GET /v2/vpclinks", + "ImportApi": "PUT /v2/apis", + "ListRoutingRules": "GET /v2/domainnames/{DomainName}/routingrules", + "PutRoutingRule": "PUT /v2/domainnames/{DomainName}/routingrules/{RoutingRuleId}", + "ReimportApi": "PUT /v2/apis/{ApiId}", + "ResetAuthorizersCache": "DELETE /v2/apis/{ApiId}/stages/{StageName}/cache/authorizers", + "TagResource": "POST /v2/tags/{ResourceArn}", + "UntagResource": "DELETE /v2/tags/{ResourceArn}", + "UpdateApi": "PATCH /v2/apis/{ApiId}", + "UpdateApiMapping": "PATCH /v2/domainnames/{DomainName}/apimappings/{ApiMappingId}", + "UpdateAuthorizer": "PATCH /v2/apis/{ApiId}/authorizers/{AuthorizerId}", + "UpdateDeployment": "PATCH /v2/apis/{ApiId}/deployments/{DeploymentId}", + "UpdateDomainName": "PATCH /v2/domainnames/{DomainName}", + "UpdateIntegration": "PATCH /v2/apis/{ApiId}/integrations/{IntegrationId}", + "UpdateIntegrationResponse": "PATCH /v2/apis/{ApiId}/integrations/{IntegrationId}/integrationresponses/{IntegrationResponseId}", + "UpdateModel": "PATCH /v2/apis/{ApiId}/models/{ModelId}", + "UpdateRoute": "PATCH /v2/apis/{ApiId}/routes/{RouteId}", + "UpdateRouteResponse": "PATCH /v2/apis/{ApiId}/routes/{RouteId}/routeresponses/{RouteResponseId}", + "UpdateStage": "PATCH /v2/apis/{ApiId}/stages/{StageName}", + "UpdateVpcLink": "PATCH /v2/vpclinks/{VpcLinkId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/apigatewayv2/types.ts b/src/services/apigatewayv2/types.ts index 02922369..06fb7e42 100644 --- a/src/services/apigatewayv2/types.ts +++ b/src/services/apigatewayv2/types.ts @@ -1,41 +1,7 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class ApiGatewayV2 extends AWSServiceClient { @@ -43,122 +9,73 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: CreateApiRequest, ): Effect.Effect< CreateApiResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createApiMapping( input: CreateApiMappingRequest, ): Effect.Effect< CreateApiMappingResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createAuthorizer( input: CreateAuthorizerRequest, ): Effect.Effect< CreateAuthorizerResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createDeployment( input: CreateDeploymentRequest, ): Effect.Effect< CreateDeploymentResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createDomainName( input: CreateDomainNameRequest, ): Effect.Effect< CreateDomainNameResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createIntegration( input: CreateIntegrationRequest, ): Effect.Effect< CreateIntegrationResult, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createIntegrationResponse( input: CreateIntegrationResponseRequest, ): Effect.Effect< CreateIntegrationResponseResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createModel( input: CreateModelRequest, ): Effect.Effect< CreateModelResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createRoute( input: CreateRouteRequest, ): Effect.Effect< CreateRouteResult, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createRouteResponse( input: CreateRouteResponseRequest, ): Effect.Effect< CreateRouteResponseResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createRoutingRule( input: CreateRoutingRuleRequest, ): Effect.Effect< CreateRoutingRuleResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createStage( input: CreateStageRequest, ): Effect.Effect< CreateStageResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; createVpcLink( input: CreateVpcLinkRequest, @@ -182,10 +99,7 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: DeleteApiMappingRequest, ): Effect.Effect< {}, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteAuthorizer( input: DeleteAuthorizerRequest, @@ -257,10 +171,7 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: DeleteRoutingRuleRequest, ): Effect.Effect< {}, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteStage( input: DeleteStageRequest, @@ -278,10 +189,7 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: ExportApiRequest, ): Effect.Effect< ExportApiResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getApi( input: GetApiRequest, @@ -293,28 +201,19 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: GetApiMappingRequest, ): Effect.Effect< GetApiMappingResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getApiMappings( input: GetApiMappingsRequest, ): Effect.Effect< GetApiMappingsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getApis( input: GetApisRequest, ): Effect.Effect< GetApisResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getAuthorizer( input: GetAuthorizerRequest, @@ -326,10 +225,7 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: GetAuthorizersRequest, ): Effect.Effect< GetAuthorizersResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDeployment( input: GetDeploymentRequest, @@ -341,10 +237,7 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: GetDeploymentsRequest, ): Effect.Effect< GetDeploymentsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDomainName( input: GetDomainNameRequest, @@ -356,10 +249,7 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: GetDomainNamesRequest, ): Effect.Effect< GetDomainNamesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getIntegration( input: GetIntegrationRequest, @@ -377,19 +267,13 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: GetIntegrationResponsesRequest, ): Effect.Effect< GetIntegrationResponsesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getIntegrations( input: GetIntegrationsRequest, ): Effect.Effect< GetIntegrationsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getModel( input: GetModelRequest, @@ -401,10 +285,7 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: GetModelsRequest, ): Effect.Effect< GetModelsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getModelTemplate( input: GetModelTemplateRequest, @@ -428,28 +309,19 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: GetRouteResponsesRequest, ): Effect.Effect< GetRouteResponsesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getRoutes( input: GetRoutesRequest, ): Effect.Effect< GetRoutesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getRoutingRule( input: GetRoutingRuleRequest, ): Effect.Effect< GetRoutingRuleResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getStage( input: GetStageRequest, @@ -461,20 +333,13 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: GetStagesRequest, ): Effect.Effect< GetStagesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTags( input: GetTagsRequest, ): Effect.Effect< GetTagsResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; getVpcLink( input: GetVpcLinkRequest, @@ -492,40 +357,25 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: ImportApiRequest, ): Effect.Effect< ImportApiResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; listRoutingRules( input: ListRoutingRulesRequest, ): Effect.Effect< ListRoutingRulesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putRoutingRule( input: PutRoutingRuleRequest, ): Effect.Effect< PutRoutingRuleResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; reimportApi( input: ReimportApiRequest, ): Effect.Effect< ReimportApiResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; resetAuthorizersCache( input: ResetAuthorizersCacheRequest, @@ -537,140 +387,85 @@ export declare class ApiGatewayV2 extends AWSServiceClient { input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateApi( input: UpdateApiRequest, ): Effect.Effect< UpdateApiResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateApiMapping( input: UpdateApiMappingRequest, ): Effect.Effect< UpdateApiMappingResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateAuthorizer( input: UpdateAuthorizerRequest, ): Effect.Effect< UpdateAuthorizerResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateDeployment( input: UpdateDeploymentRequest, ): Effect.Effect< UpdateDeploymentResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateDomainName( input: UpdateDomainNameRequest, ): Effect.Effect< UpdateDomainNameResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateIntegration( input: UpdateIntegrationRequest, ): Effect.Effect< UpdateIntegrationResult, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateIntegrationResponse( input: UpdateIntegrationResponseRequest, ): Effect.Effect< UpdateIntegrationResponseResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateModel( input: UpdateModelRequest, ): Effect.Effect< UpdateModelResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateRoute( input: UpdateRouteRequest, ): Effect.Effect< UpdateRouteResult, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateRouteResponse( input: UpdateRouteResponseRequest, ): Effect.Effect< UpdateRouteResponseResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateStage( input: UpdateStageRequest, ): Effect.Effect< UpdateStageResponse, - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateVpcLink( input: UpdateVpcLinkRequest, ): Effect.Effect< UpdateVpcLinkResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -696,8 +491,7 @@ export type __listOfRouteResponse = Array; export type __listOfRoutingRule = Array; export type __listOfRoutingRuleAction = Array; export type __listOfRoutingRuleCondition = Array; -export type __listOfRoutingRuleMatchHeaderValue = - Array; +export type __listOfRoutingRuleMatchHeaderValue = Array; export type __listOfSelectionKey = Array; export type __listOfStage = Array; export type __listOfVpcLink = Array; @@ -1128,7 +922,8 @@ export interface DeleteStageRequest { export interface DeleteVpcLinkRequest { VpcLinkId: string; } -export interface DeleteVpcLinkResponse {} +export interface DeleteVpcLinkResponse { +} export interface Deployment { AutoDeployed?: boolean; CreatedDate?: Date | string; @@ -1161,11 +956,7 @@ export interface DomainNameConfiguration { OwnershipVerificationCertificateArn?: string; } export type DomainNameConfigurations = Array; -export type DomainNameStatus = - | "AVAILABLE" - | "UPDATING" - | "PENDING_CERTIFICATE_REIMPORT" - | "PENDING_OWNERSHIP_VERIFICATION"; +export type DomainNameStatus = "AVAILABLE" | "UPDATING" | "PENDING_CERTIFICATE_REIMPORT" | "PENDING_OWNERSHIP_VERIFICATION"; export type EndpointType = "REGIONAL" | "EDGE"; export interface ExportApiRequest { ApiId: string; @@ -1564,12 +1355,7 @@ export interface IntegrationResponse { ResponseTemplates?: Record; TemplateSelectionExpression?: string; } -export type IntegrationType = - | "AWS" - | "HTTP" - | "MOCK" - | "HTTP_PROXY" - | "AWS_PROXY"; +export type IntegrationType = "AWS" | "HTTP" | "MOCK" | "HTTP_PROXY" | "AWS_PROXY"; export type IpAddressType = "ipv4" | "dualstack"; export interface JWTConfiguration { Audience?: Array; @@ -1615,10 +1401,7 @@ export declare class NotFoundException extends EffectData.TaggedError( export interface ParameterConstraints { Required?: boolean; } -export type PassthroughBehavior = - | "WHEN_NO_MATCH" - | "NEVER" - | "WHEN_NO_TEMPLATES"; +export type PassthroughBehavior = "WHEN_NO_MATCH" | "NEVER" | "WHEN_NO_TEMPLATES"; export type ProtocolType = "WEBSOCKET" | "HTTP"; export interface PutRoutingRuleRequest { Actions: Array; @@ -1697,10 +1480,7 @@ export interface RouteSettings { ThrottlingRateLimit?: number; } export type RouteSettingsMap = Record; -export type RoutingMode = - | "API_MAPPING_ONLY" - | "ROUTING_RULE_ONLY" - | "ROUTING_RULE_THEN_API_MAPPING"; +export type RoutingMode = "API_MAPPING_ONLY" | "ROUTING_RULE_ONLY" | "ROUTING_RULE_THEN_API_MAPPING"; export interface RoutingRule { Actions?: Array; Conditions?: Array; @@ -1778,7 +1558,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags?: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TemplateMap = Record; export interface TlsConfig { @@ -2077,12 +1858,7 @@ export interface VpcLink { VpcLinkStatusMessage?: string; VpcLinkVersion?: VpcLinkVersion; } -export type VpcLinkStatus = - | "PENDING" - | "AVAILABLE" - | "DELETING" - | "FAILED" - | "INACTIVE"; +export type VpcLinkStatus = "PENDING" | "AVAILABLE" | "DELETING" | "FAILED" | "INACTIVE"; export type VpcLinkVersion = "V2"; export declare namespace CreateApi { export type Input = CreateApiRequest; @@ -2854,10 +2630,5 @@ export declare namespace UpdateVpcLink { | CommonAwsError; } -export type ApiGatewayV2Errors = - | AccessDeniedException - | BadRequestException - | ConflictException - | NotFoundException - | TooManyRequestsException - | CommonAwsError; +export type ApiGatewayV2Errors = AccessDeniedException | BadRequestException | ConflictException | NotFoundException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/app-mesh/index.ts b/src/services/app-mesh/index.ts index a4e62d4d..4c09c3e8 100644 --- a/src/services/app-mesh/index.ts +++ b/src/services/app-mesh/index.ts @@ -5,26 +5,7 @@ import type { AppMesh as _AppMeshClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,187 +14,190 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "appmesh", operations: { - ListTagsForResource: "GET /v20190125/tags", - TagResource: "PUT /v20190125/tag", - UntagResource: "PUT /v20190125/untag", - CreateGatewayRoute: { + "ListTagsForResource": "GET /v20190125/tags", + "TagResource": "PUT /v20190125/tag", + "UntagResource": "PUT /v20190125/untag", + "CreateGatewayRoute": { http: "PUT /v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes", traits: { - gatewayRoute: "httpPayload", + "gatewayRoute": "httpPayload", }, }, - CreateMesh: { + "CreateMesh": { http: "PUT /v20190125/meshes", traits: { - mesh: "httpPayload", + "mesh": "httpPayload", }, }, - CreateRoute: { + "CreateRoute": { http: "PUT /v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", traits: { - route: "httpPayload", + "route": "httpPayload", }, }, - CreateVirtualGateway: { + "CreateVirtualGateway": { http: "PUT /v20190125/meshes/{meshName}/virtualGateways", traits: { - virtualGateway: "httpPayload", + "virtualGateway": "httpPayload", }, }, - CreateVirtualNode: { + "CreateVirtualNode": { http: "PUT /v20190125/meshes/{meshName}/virtualNodes", traits: { - virtualNode: "httpPayload", + "virtualNode": "httpPayload", }, }, - CreateVirtualRouter: { + "CreateVirtualRouter": { http: "PUT /v20190125/meshes/{meshName}/virtualRouters", traits: { - virtualRouter: "httpPayload", + "virtualRouter": "httpPayload", }, }, - CreateVirtualService: { + "CreateVirtualService": { http: "PUT /v20190125/meshes/{meshName}/virtualServices", traits: { - virtualService: "httpPayload", + "virtualService": "httpPayload", }, }, - DeleteGatewayRoute: { + "DeleteGatewayRoute": { http: "DELETE /v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}", traits: { - gatewayRoute: "httpPayload", + "gatewayRoute": "httpPayload", }, }, - DeleteMesh: { + "DeleteMesh": { http: "DELETE /v20190125/meshes/{meshName}", traits: { - mesh: "httpPayload", + "mesh": "httpPayload", }, }, - DeleteRoute: { + "DeleteRoute": { http: "DELETE /v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", traits: { - route: "httpPayload", + "route": "httpPayload", }, }, - DeleteVirtualGateway: { + "DeleteVirtualGateway": { http: "DELETE /v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}", traits: { - virtualGateway: "httpPayload", + "virtualGateway": "httpPayload", }, }, - DeleteVirtualNode: { + "DeleteVirtualNode": { http: "DELETE /v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}", traits: { - virtualNode: "httpPayload", + "virtualNode": "httpPayload", }, }, - DeleteVirtualRouter: { + "DeleteVirtualRouter": { http: "DELETE /v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}", traits: { - virtualRouter: "httpPayload", + "virtualRouter": "httpPayload", }, }, - DeleteVirtualService: { + "DeleteVirtualService": { http: "DELETE /v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}", traits: { - virtualService: "httpPayload", + "virtualService": "httpPayload", }, }, - DescribeGatewayRoute: { + "DescribeGatewayRoute": { http: "GET /v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}", traits: { - gatewayRoute: "httpPayload", + "gatewayRoute": "httpPayload", }, }, - DescribeMesh: { + "DescribeMesh": { http: "GET /v20190125/meshes/{meshName}", traits: { - mesh: "httpPayload", + "mesh": "httpPayload", }, }, - DescribeRoute: { + "DescribeRoute": { http: "GET /v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", traits: { - route: "httpPayload", + "route": "httpPayload", }, }, - DescribeVirtualGateway: { + "DescribeVirtualGateway": { http: "GET /v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}", traits: { - virtualGateway: "httpPayload", + "virtualGateway": "httpPayload", }, }, - DescribeVirtualNode: { + "DescribeVirtualNode": { http: "GET /v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}", traits: { - virtualNode: "httpPayload", + "virtualNode": "httpPayload", }, }, - DescribeVirtualRouter: { + "DescribeVirtualRouter": { http: "GET /v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}", traits: { - virtualRouter: "httpPayload", + "virtualRouter": "httpPayload", }, }, - DescribeVirtualService: { + "DescribeVirtualService": { http: "GET /v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}", traits: { - virtualService: "httpPayload", + "virtualService": "httpPayload", }, }, - ListGatewayRoutes: - "GET /v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes", - ListMeshes: "GET /v20190125/meshes", - ListRoutes: - "GET /v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", - ListVirtualGateways: "GET /v20190125/meshes/{meshName}/virtualGateways", - ListVirtualNodes: "GET /v20190125/meshes/{meshName}/virtualNodes", - ListVirtualRouters: "GET /v20190125/meshes/{meshName}/virtualRouters", - ListVirtualServices: "GET /v20190125/meshes/{meshName}/virtualServices", - UpdateGatewayRoute: { + "ListGatewayRoutes": "GET /v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes", + "ListMeshes": "GET /v20190125/meshes", + "ListRoutes": "GET /v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", + "ListVirtualGateways": "GET /v20190125/meshes/{meshName}/virtualGateways", + "ListVirtualNodes": "GET /v20190125/meshes/{meshName}/virtualNodes", + "ListVirtualRouters": "GET /v20190125/meshes/{meshName}/virtualRouters", + "ListVirtualServices": "GET /v20190125/meshes/{meshName}/virtualServices", + "UpdateGatewayRoute": { http: "PUT /v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}", traits: { - gatewayRoute: "httpPayload", + "gatewayRoute": "httpPayload", }, }, - UpdateMesh: { + "UpdateMesh": { http: "PUT /v20190125/meshes/{meshName}", traits: { - mesh: "httpPayload", + "mesh": "httpPayload", }, }, - UpdateRoute: { + "UpdateRoute": { http: "PUT /v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", traits: { - route: "httpPayload", + "route": "httpPayload", }, }, - UpdateVirtualGateway: { + "UpdateVirtualGateway": { http: "PUT /v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}", traits: { - virtualGateway: "httpPayload", + "virtualGateway": "httpPayload", }, }, - UpdateVirtualNode: { + "UpdateVirtualNode": { http: "PUT /v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}", traits: { - virtualNode: "httpPayload", + "virtualNode": "httpPayload", }, }, - UpdateVirtualRouter: { + "UpdateVirtualRouter": { http: "PUT /v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}", traits: { - virtualRouter: "httpPayload", + "virtualRouter": "httpPayload", }, }, - UpdateVirtualService: { + "UpdateVirtualService": { http: "PUT /v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}", traits: { - virtualService: "httpPayload", + "virtualService": "httpPayload", }, }, }, + retryableErrors: { + "InternalServerErrorException": {}, + "ServiceUnavailableException": {}, + "TooManyRequestsException": {}, + }, } as const satisfies ServiceMetadata; export type _AppMesh = _AppMeshClient; diff --git a/src/services/app-mesh/types.ts b/src/services/app-mesh/types.ts index 7c80e7cb..1eb05d9a 100644 --- a/src/services/app-mesh/types.ts +++ b/src/services/app-mesh/types.ts @@ -7,492 +7,229 @@ export declare class AppMesh extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createGatewayRoute( input: CreateGatewayRouteInput, ): Effect.Effect< CreateGatewayRouteOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createMesh( input: CreateMeshInput, ): Effect.Effect< CreateMeshOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createRoute( input: CreateRouteInput, ): Effect.Effect< CreateRouteOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createVirtualGateway( input: CreateVirtualGatewayInput, ): Effect.Effect< CreateVirtualGatewayOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createVirtualNode( input: CreateVirtualNodeInput, ): Effect.Effect< CreateVirtualNodeOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createVirtualRouter( input: CreateVirtualRouterInput, ): Effect.Effect< CreateVirtualRouterOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createVirtualService( input: CreateVirtualServiceInput, ): Effect.Effect< CreateVirtualServiceOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteGatewayRoute( input: DeleteGatewayRouteInput, ): Effect.Effect< DeleteGatewayRouteOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ResourceInUseException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ResourceInUseException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteMesh( input: DeleteMeshInput, ): Effect.Effect< DeleteMeshOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ResourceInUseException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ResourceInUseException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteRoute( input: DeleteRouteInput, ): Effect.Effect< DeleteRouteOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ResourceInUseException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ResourceInUseException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteVirtualGateway( input: DeleteVirtualGatewayInput, ): Effect.Effect< DeleteVirtualGatewayOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ResourceInUseException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ResourceInUseException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteVirtualNode( input: DeleteVirtualNodeInput, ): Effect.Effect< DeleteVirtualNodeOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ResourceInUseException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ResourceInUseException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteVirtualRouter( input: DeleteVirtualRouterInput, ): Effect.Effect< DeleteVirtualRouterOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ResourceInUseException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ResourceInUseException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteVirtualService( input: DeleteVirtualServiceInput, ): Effect.Effect< DeleteVirtualServiceOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ResourceInUseException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ResourceInUseException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeGatewayRoute( input: DescribeGatewayRouteInput, ): Effect.Effect< DescribeGatewayRouteOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeMesh( input: DescribeMeshInput, ): Effect.Effect< DescribeMeshOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeRoute( input: DescribeRouteInput, ): Effect.Effect< DescribeRouteOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeVirtualGateway( input: DescribeVirtualGatewayInput, ): Effect.Effect< DescribeVirtualGatewayOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeVirtualNode( input: DescribeVirtualNodeInput, ): Effect.Effect< DescribeVirtualNodeOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeVirtualRouter( input: DescribeVirtualRouterInput, ): Effect.Effect< DescribeVirtualRouterOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeVirtualService( input: DescribeVirtualServiceInput, ): Effect.Effect< DescribeVirtualServiceOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listGatewayRoutes( input: ListGatewayRoutesInput, ): Effect.Effect< ListGatewayRoutesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listMeshes( input: ListMeshesInput, ): Effect.Effect< ListMeshesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listRoutes( input: ListRoutesInput, ): Effect.Effect< ListRoutesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listVirtualGateways( input: ListVirtualGatewaysInput, ): Effect.Effect< ListVirtualGatewaysOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listVirtualNodes( input: ListVirtualNodesInput, ): Effect.Effect< ListVirtualNodesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listVirtualRouters( input: ListVirtualRoutersInput, ): Effect.Effect< ListVirtualRoutersOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listVirtualServices( input: ListVirtualServicesInput, ): Effect.Effect< ListVirtualServicesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateGatewayRoute( input: UpdateGatewayRouteInput, ): Effect.Effect< UpdateGatewayRouteOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateMesh( input: UpdateMeshInput, ): Effect.Effect< UpdateMeshOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateRoute( input: UpdateRouteInput, ): Effect.Effect< UpdateRouteOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateVirtualGateway( input: UpdateVirtualGatewayInput, ): Effect.Effect< UpdateVirtualGatewayOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateVirtualNode( input: UpdateVirtualNodeInput, ): Effect.Effect< UpdateVirtualNodeOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateVirtualRouter( input: UpdateVirtualRouterInput, ): Effect.Effect< UpdateVirtualRouterOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateVirtualService( input: UpdateVirtualServiceInput, ): Effect.Effect< UpdateVirtualServiceOutput, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; } @@ -500,7 +237,7 @@ interface _AccessLog { file?: FileAccessLog; } -export type AccessLog = _AccessLog & { file: FileAccessLog }; +export type AccessLog = (_AccessLog & { file: FileAccessLog }); export type AccountId = string; export type Arn = string; @@ -526,7 +263,7 @@ interface _Backend { virtualService?: VirtualServiceBackend; } -export type Backend = _Backend & { virtualService: VirtualServiceBackend }; +export type Backend = (_Backend & { virtualService: VirtualServiceBackend }); export interface BackendDefaults { clientPolicy?: ClientPolicy; } @@ -551,9 +288,7 @@ interface _ClientTlsCertificate { sds?: ListenerTlsSdsCertificate; } -export type ClientTlsCertificate = - | (_ClientTlsCertificate & { file: ListenerTlsFileCertificate }) - | (_ClientTlsCertificate & { sds: ListenerTlsSdsCertificate }); +export type ClientTlsCertificate = (_ClientTlsCertificate & { file: ListenerTlsFileCertificate }) | (_ClientTlsCertificate & { sds: ListenerTlsSdsCertificate }); export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -862,12 +597,7 @@ interface _GrpcMetadataMatchMethod { suffix?: string; } -export type GrpcMetadataMatchMethod = - | (_GrpcMetadataMatchMethod & { exact: string }) - | (_GrpcMetadataMatchMethod & { regex: string }) - | (_GrpcMetadataMatchMethod & { range: MatchRange }) - | (_GrpcMetadataMatchMethod & { prefix: string }) - | (_GrpcMetadataMatchMethod & { suffix: string }); +export type GrpcMetadataMatchMethod = (_GrpcMetadataMatchMethod & { exact: string }) | (_GrpcMetadataMatchMethod & { regex: string }) | (_GrpcMetadataMatchMethod & { range: MatchRange }) | (_GrpcMetadataMatchMethod & { prefix: string }) | (_GrpcMetadataMatchMethod & { suffix: string }); export interface GrpcRetryPolicy { perRetryTimeout: Duration; maxRetries: number; @@ -907,12 +637,7 @@ interface _GrpcRouteMetadataMatchMethod { suffix?: string; } -export type GrpcRouteMetadataMatchMethod = - | (_GrpcRouteMetadataMatchMethod & { exact: string }) - | (_GrpcRouteMetadataMatchMethod & { regex: string }) - | (_GrpcRouteMetadataMatchMethod & { range: MatchRange }) - | (_GrpcRouteMetadataMatchMethod & { prefix: string }) - | (_GrpcRouteMetadataMatchMethod & { suffix: string }); +export type GrpcRouteMetadataMatchMethod = (_GrpcRouteMetadataMatchMethod & { exact: string }) | (_GrpcRouteMetadataMatchMethod & { regex: string }) | (_GrpcRouteMetadataMatchMethod & { range: MatchRange }) | (_GrpcRouteMetadataMatchMethod & { prefix: string }) | (_GrpcRouteMetadataMatchMethod & { suffix: string }); export interface GrpcTimeout { perRequest?: Duration; idle?: Duration; @@ -927,12 +652,7 @@ interface _HeaderMatchMethod { suffix?: string; } -export type HeaderMatchMethod = - | (_HeaderMatchMethod & { exact: string }) - | (_HeaderMatchMethod & { regex: string }) - | (_HeaderMatchMethod & { range: MatchRange }) - | (_HeaderMatchMethod & { prefix: string }) - | (_HeaderMatchMethod & { suffix: string }); +export type HeaderMatchMethod = (_HeaderMatchMethod & { exact: string }) | (_HeaderMatchMethod & { regex: string }) | (_HeaderMatchMethod & { range: MatchRange }) | (_HeaderMatchMethod & { prefix: string }) | (_HeaderMatchMethod & { suffix: string }); export type HeaderName = string; export type HealthCheckIntervalMillis = number; @@ -1082,11 +802,7 @@ interface _ListenerTimeout { grpc?: GrpcTimeout; } -export type ListenerTimeout = - | (_ListenerTimeout & { tcp: TcpTimeout }) - | (_ListenerTimeout & { http: HttpTimeout }) - | (_ListenerTimeout & { http2: HttpTimeout }) - | (_ListenerTimeout & { grpc: GrpcTimeout }); +export type ListenerTimeout = (_ListenerTimeout & { tcp: TcpTimeout }) | (_ListenerTimeout & { http: HttpTimeout }) | (_ListenerTimeout & { http2: HttpTimeout }) | (_ListenerTimeout & { grpc: GrpcTimeout }); export interface ListenerTls { mode: string; certificate: ListenerTlsCertificate; @@ -1101,10 +817,7 @@ interface _ListenerTlsCertificate { sds?: ListenerTlsSdsCertificate; } -export type ListenerTlsCertificate = - | (_ListenerTlsCertificate & { acm: ListenerTlsAcmCertificate }) - | (_ListenerTlsCertificate & { file: ListenerTlsFileCertificate }) - | (_ListenerTlsCertificate & { sds: ListenerTlsSdsCertificate }); +export type ListenerTlsCertificate = (_ListenerTlsCertificate & { acm: ListenerTlsAcmCertificate }) | (_ListenerTlsCertificate & { file: ListenerTlsFileCertificate }) | (_ListenerTlsCertificate & { sds: ListenerTlsSdsCertificate }); export interface ListenerTlsFileCertificate { certificateChain: string; privateKey: string; @@ -1123,13 +836,7 @@ interface _ListenerTlsValidationContextTrust { sds?: TlsValidationContextSdsTrust; } -export type ListenerTlsValidationContextTrust = - | (_ListenerTlsValidationContextTrust & { - file: TlsValidationContextFileTrust; - }) - | (_ListenerTlsValidationContextTrust & { - sds: TlsValidationContextSdsTrust; - }); +export type ListenerTlsValidationContextTrust = (_ListenerTlsValidationContextTrust & { file: TlsValidationContextFileTrust }) | (_ListenerTlsValidationContextTrust & { sds: TlsValidationContextSdsTrust }); export interface ListGatewayRoutesInput { meshName: string; virtualGatewayName: string; @@ -1231,9 +938,7 @@ interface _LoggingFormat { json?: Array; } -export type LoggingFormat = - | (_LoggingFormat & { text: string }) - | (_LoggingFormat & { json: Array }); +export type LoggingFormat = (_LoggingFormat & { text: string }) | (_LoggingFormat & { json: Array }); export interface MatchRange { start: number; end: number; @@ -1364,9 +1069,7 @@ interface _ServiceDiscovery { awsCloudMap?: AwsCloudMapServiceDiscovery; } -export type ServiceDiscovery = - | (_ServiceDiscovery & { dns: DnsServiceDiscovery }) - | (_ServiceDiscovery & { awsCloudMap: AwsCloudMapServiceDiscovery }); +export type ServiceDiscovery = (_ServiceDiscovery & { dns: DnsServiceDiscovery }) | (_ServiceDiscovery & { awsCloudMap: AwsCloudMapServiceDiscovery }); export type ServiceName = string; export declare class ServiceUnavailableException extends EffectData.TaggedError( @@ -1397,7 +1100,8 @@ export interface TagResourceInput { resourceArn: string; tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagsLimit = number; export type TagValue = string; @@ -1440,10 +1144,7 @@ interface _TlsValidationContextTrust { sds?: TlsValidationContextSdsTrust; } -export type TlsValidationContextTrust = - | (_TlsValidationContextTrust & { acm: TlsValidationContextAcmTrust }) - | (_TlsValidationContextTrust & { file: TlsValidationContextFileTrust }) - | (_TlsValidationContextTrust & { sds: TlsValidationContextSdsTrust }); +export type TlsValidationContextTrust = (_TlsValidationContextTrust & { acm: TlsValidationContextAcmTrust }) | (_TlsValidationContextTrust & { file: TlsValidationContextFileTrust }) | (_TlsValidationContextTrust & { sds: TlsValidationContextSdsTrust }); export declare class TooManyRequestsException extends EffectData.TaggedError( "TooManyRequestsException", )<{ @@ -1458,7 +1159,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateGatewayRouteInput { gatewayRouteName: string; meshName: string; @@ -1533,9 +1235,7 @@ interface _VirtualGatewayAccessLog { file?: VirtualGatewayFileAccessLog; } -export type VirtualGatewayAccessLog = _VirtualGatewayAccessLog & { - file: VirtualGatewayFileAccessLog; -}; +export type VirtualGatewayAccessLog = (_VirtualGatewayAccessLog & { file: VirtualGatewayFileAccessLog }); export interface VirtualGatewayBackendDefaults { clientPolicy?: VirtualGatewayClientPolicy; } @@ -1554,27 +1254,14 @@ interface _VirtualGatewayClientTlsCertificate { sds?: VirtualGatewayListenerTlsSdsCertificate; } -export type VirtualGatewayClientTlsCertificate = - | (_VirtualGatewayClientTlsCertificate & { - file: VirtualGatewayListenerTlsFileCertificate; - }) - | (_VirtualGatewayClientTlsCertificate & { - sds: VirtualGatewayListenerTlsSdsCertificate; - }); +export type VirtualGatewayClientTlsCertificate = (_VirtualGatewayClientTlsCertificate & { file: VirtualGatewayListenerTlsFileCertificate }) | (_VirtualGatewayClientTlsCertificate & { sds: VirtualGatewayListenerTlsSdsCertificate }); interface _VirtualGatewayConnectionPool { http?: VirtualGatewayHttpConnectionPool; http2?: VirtualGatewayHttp2ConnectionPool; grpc?: VirtualGatewayGrpcConnectionPool; } -export type VirtualGatewayConnectionPool = - | (_VirtualGatewayConnectionPool & { http: VirtualGatewayHttpConnectionPool }) - | (_VirtualGatewayConnectionPool & { - http2: VirtualGatewayHttp2ConnectionPool; - }) - | (_VirtualGatewayConnectionPool & { - grpc: VirtualGatewayGrpcConnectionPool; - }); +export type VirtualGatewayConnectionPool = (_VirtualGatewayConnectionPool & { http: VirtualGatewayHttpConnectionPool }) | (_VirtualGatewayConnectionPool & { http2: VirtualGatewayHttp2ConnectionPool }) | (_VirtualGatewayConnectionPool & { grpc: VirtualGatewayGrpcConnectionPool }); export interface VirtualGatewayData { meshName: string; virtualGatewayName: string; @@ -1633,16 +1320,7 @@ interface _VirtualGatewayListenerTlsCertificate { sds?: VirtualGatewayListenerTlsSdsCertificate; } -export type VirtualGatewayListenerTlsCertificate = - | (_VirtualGatewayListenerTlsCertificate & { - acm: VirtualGatewayListenerTlsAcmCertificate; - }) - | (_VirtualGatewayListenerTlsCertificate & { - file: VirtualGatewayListenerTlsFileCertificate; - }) - | (_VirtualGatewayListenerTlsCertificate & { - sds: VirtualGatewayListenerTlsSdsCertificate; - }); +export type VirtualGatewayListenerTlsCertificate = (_VirtualGatewayListenerTlsCertificate & { acm: VirtualGatewayListenerTlsAcmCertificate }) | (_VirtualGatewayListenerTlsCertificate & { file: VirtualGatewayListenerTlsFileCertificate }) | (_VirtualGatewayListenerTlsCertificate & { sds: VirtualGatewayListenerTlsSdsCertificate }); export interface VirtualGatewayListenerTlsFileCertificate { certificateChain: string; privateKey: string; @@ -1661,13 +1339,7 @@ interface _VirtualGatewayListenerTlsValidationContextTrust { sds?: VirtualGatewayTlsValidationContextSdsTrust; } -export type VirtualGatewayListenerTlsValidationContextTrust = - | (_VirtualGatewayListenerTlsValidationContextTrust & { - file: VirtualGatewayTlsValidationContextFileTrust; - }) - | (_VirtualGatewayListenerTlsValidationContextTrust & { - sds: VirtualGatewayTlsValidationContextSdsTrust; - }); +export type VirtualGatewayListenerTlsValidationContextTrust = (_VirtualGatewayListenerTlsValidationContextTrust & { file: VirtualGatewayTlsValidationContextFileTrust }) | (_VirtualGatewayListenerTlsValidationContextTrust & { sds: VirtualGatewayTlsValidationContextSdsTrust }); export interface VirtualGatewayLogging { accessLog?: VirtualGatewayAccessLog; } @@ -1718,16 +1390,7 @@ interface _VirtualGatewayTlsValidationContextTrust { sds?: VirtualGatewayTlsValidationContextSdsTrust; } -export type VirtualGatewayTlsValidationContextTrust = - | (_VirtualGatewayTlsValidationContextTrust & { - acm: VirtualGatewayTlsValidationContextAcmTrust; - }) - | (_VirtualGatewayTlsValidationContextTrust & { - file: VirtualGatewayTlsValidationContextFileTrust; - }) - | (_VirtualGatewayTlsValidationContextTrust & { - sds: VirtualGatewayTlsValidationContextSdsTrust; - }); +export type VirtualGatewayTlsValidationContextTrust = (_VirtualGatewayTlsValidationContextTrust & { acm: VirtualGatewayTlsValidationContextAcmTrust }) | (_VirtualGatewayTlsValidationContextTrust & { file: VirtualGatewayTlsValidationContextFileTrust }) | (_VirtualGatewayTlsValidationContextTrust & { sds: VirtualGatewayTlsValidationContextSdsTrust }); interface _VirtualNodeConnectionPool { tcp?: VirtualNodeTcpConnectionPool; http?: VirtualNodeHttpConnectionPool; @@ -1735,11 +1398,7 @@ interface _VirtualNodeConnectionPool { grpc?: VirtualNodeGrpcConnectionPool; } -export type VirtualNodeConnectionPool = - | (_VirtualNodeConnectionPool & { tcp: VirtualNodeTcpConnectionPool }) - | (_VirtualNodeConnectionPool & { http: VirtualNodeHttpConnectionPool }) - | (_VirtualNodeConnectionPool & { http2: VirtualNodeHttp2ConnectionPool }) - | (_VirtualNodeConnectionPool & { grpc: VirtualNodeGrpcConnectionPool }); +export type VirtualNodeConnectionPool = (_VirtualNodeConnectionPool & { tcp: VirtualNodeTcpConnectionPool }) | (_VirtualNodeConnectionPool & { http: VirtualNodeHttpConnectionPool }) | (_VirtualNodeConnectionPool & { http2: VirtualNodeHttp2ConnectionPool }) | (_VirtualNodeConnectionPool & { grpc: VirtualNodeGrpcConnectionPool }); export interface VirtualNodeData { meshName: string; virtualNodeName: string; @@ -1836,9 +1495,7 @@ interface _VirtualServiceProvider { virtualRouter?: VirtualRouterServiceProvider; } -export type VirtualServiceProvider = - | (_VirtualServiceProvider & { virtualNode: VirtualNodeServiceProvider }) - | (_VirtualServiceProvider & { virtualRouter: VirtualRouterServiceProvider }); +export type VirtualServiceProvider = (_VirtualServiceProvider & { virtualNode: VirtualNodeServiceProvider }) | (_VirtualServiceProvider & { virtualRouter: VirtualRouterServiceProvider }); export interface VirtualServiceRef { meshName: string; virtualServiceName: string; @@ -2392,15 +2049,5 @@ export declare namespace UpdateVirtualService { | CommonAwsError; } -export type AppMeshErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | ResourceInUseException - | ServiceUnavailableException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError; +export type AppMeshErrors = BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | ResourceInUseException | ServiceUnavailableException | TooManyRequestsException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/appconfig/index.ts b/src/services/appconfig/index.ts index 34108f0e..8e7b9cb3 100644 --- a/src/services/appconfig/index.ts +++ b/src/services/appconfig/index.ts @@ -5,26 +5,7 @@ import type { AppConfig as _AppConfigClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,102 +15,82 @@ const metadata = { sigV4ServiceName: "appconfig", endpointPrefix: "appconfig", operations: { - CreateApplication: "POST /applications", - CreateConfigurationProfile: - "POST /applications/{ApplicationId}/configurationprofiles", - CreateDeploymentStrategy: "POST /deploymentstrategies", - CreateEnvironment: "POST /applications/{ApplicationId}/environments", - CreateExtension: "POST /extensions", - CreateExtensionAssociation: "POST /extensionassociations", - CreateHostedConfigurationVersion: { + "CreateApplication": "POST /applications", + "CreateConfigurationProfile": "POST /applications/{ApplicationId}/configurationprofiles", + "CreateDeploymentStrategy": "POST /deploymentstrategies", + "CreateEnvironment": "POST /applications/{ApplicationId}/environments", + "CreateExtension": "POST /extensions", + "CreateExtensionAssociation": "POST /extensionassociations", + "CreateHostedConfigurationVersion": { http: "POST /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions", traits: { - ApplicationId: "Application-Id", - ConfigurationProfileId: "Configuration-Profile-Id", - VersionNumber: "Version-Number", - Description: "Description", - Content: "httpPayload", - ContentType: "Content-Type", - VersionLabel: "VersionLabel", - KmsKeyArn: "KmsKeyArn", + "ApplicationId": "Application-Id", + "ConfigurationProfileId": "Configuration-Profile-Id", + "VersionNumber": "Version-Number", + "Description": "Description", + "Content": "httpPayload", + "ContentType": "Content-Type", + "VersionLabel": "VersionLabel", + "KmsKeyArn": "KmsKeyArn", }, }, - DeleteApplication: "DELETE /applications/{ApplicationId}", - DeleteConfigurationProfile: - "DELETE /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", - DeleteDeploymentStrategy: - "DELETE /deployementstrategies/{DeploymentStrategyId}", - DeleteEnvironment: - "DELETE /applications/{ApplicationId}/environments/{EnvironmentId}", - DeleteExtension: "DELETE /extensions/{ExtensionIdentifier}", - DeleteExtensionAssociation: - "DELETE /extensionassociations/{ExtensionAssociationId}", - DeleteHostedConfigurationVersion: - "DELETE /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}", - GetAccountSettings: "GET /settings", - GetApplication: "GET /applications/{ApplicationId}", - GetConfiguration: { + "DeleteApplication": "DELETE /applications/{ApplicationId}", + "DeleteConfigurationProfile": "DELETE /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", + "DeleteDeploymentStrategy": "DELETE /deployementstrategies/{DeploymentStrategyId}", + "DeleteEnvironment": "DELETE /applications/{ApplicationId}/environments/{EnvironmentId}", + "DeleteExtension": "DELETE /extensions/{ExtensionIdentifier}", + "DeleteExtensionAssociation": "DELETE /extensionassociations/{ExtensionAssociationId}", + "DeleteHostedConfigurationVersion": "DELETE /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}", + "GetAccountSettings": "GET /settings", + "GetApplication": "GET /applications/{ApplicationId}", + "GetConfiguration": { http: "GET /applications/{Application}/environments/{Environment}/configurations/{Configuration}", traits: { - Content: "httpPayload", - ConfigurationVersion: "Configuration-Version", - ContentType: "Content-Type", + "Content": "httpPayload", + "ConfigurationVersion": "Configuration-Version", + "ContentType": "Content-Type", }, }, - GetConfigurationProfile: - "GET /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", - GetDeployment: - "GET /applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}", - GetDeploymentStrategy: "GET /deploymentstrategies/{DeploymentStrategyId}", - GetEnvironment: - "GET /applications/{ApplicationId}/environments/{EnvironmentId}", - GetExtension: "GET /extensions/{ExtensionIdentifier}", - GetExtensionAssociation: - "GET /extensionassociations/{ExtensionAssociationId}", - GetHostedConfigurationVersion: { + "GetConfigurationProfile": "GET /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", + "GetDeployment": "GET /applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}", + "GetDeploymentStrategy": "GET /deploymentstrategies/{DeploymentStrategyId}", + "GetEnvironment": "GET /applications/{ApplicationId}/environments/{EnvironmentId}", + "GetExtension": "GET /extensions/{ExtensionIdentifier}", + "GetExtensionAssociation": "GET /extensionassociations/{ExtensionAssociationId}", + "GetHostedConfigurationVersion": { http: "GET /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}", traits: { - ApplicationId: "Application-Id", - ConfigurationProfileId: "Configuration-Profile-Id", - VersionNumber: "Version-Number", - Description: "Description", - Content: "httpPayload", - ContentType: "Content-Type", - VersionLabel: "VersionLabel", - KmsKeyArn: "KmsKeyArn", + "ApplicationId": "Application-Id", + "ConfigurationProfileId": "Configuration-Profile-Id", + "VersionNumber": "Version-Number", + "Description": "Description", + "Content": "httpPayload", + "ContentType": "Content-Type", + "VersionLabel": "VersionLabel", + "KmsKeyArn": "KmsKeyArn", }, }, - ListApplications: "GET /applications", - ListConfigurationProfiles: - "GET /applications/{ApplicationId}/configurationprofiles", - ListDeployments: - "GET /applications/{ApplicationId}/environments/{EnvironmentId}/deployments", - ListDeploymentStrategies: "GET /deploymentstrategies", - ListEnvironments: "GET /applications/{ApplicationId}/environments", - ListExtensionAssociations: "GET /extensionassociations", - ListExtensions: "GET /extensions", - ListHostedConfigurationVersions: - "GET /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions", - ListTagsForResource: "GET /tags/{ResourceArn}", - StartDeployment: - "POST /applications/{ApplicationId}/environments/{EnvironmentId}/deployments", - StopDeployment: - "DELETE /applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateAccountSettings: "PATCH /settings", - UpdateApplication: "PATCH /applications/{ApplicationId}", - UpdateConfigurationProfile: - "PATCH /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", - UpdateDeploymentStrategy: - "PATCH /deploymentstrategies/{DeploymentStrategyId}", - UpdateEnvironment: - "PATCH /applications/{ApplicationId}/environments/{EnvironmentId}", - UpdateExtension: "PATCH /extensions/{ExtensionIdentifier}", - UpdateExtensionAssociation: - "PATCH /extensionassociations/{ExtensionAssociationId}", - ValidateConfiguration: - "POST /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators", + "ListApplications": "GET /applications", + "ListConfigurationProfiles": "GET /applications/{ApplicationId}/configurationprofiles", + "ListDeployments": "GET /applications/{ApplicationId}/environments/{EnvironmentId}/deployments", + "ListDeploymentStrategies": "GET /deploymentstrategies", + "ListEnvironments": "GET /applications/{ApplicationId}/environments", + "ListExtensionAssociations": "GET /extensionassociations", + "ListExtensions": "GET /extensions", + "ListHostedConfigurationVersions": "GET /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "StartDeployment": "POST /applications/{ApplicationId}/environments/{EnvironmentId}/deployments", + "StopDeployment": "DELETE /applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateAccountSettings": "PATCH /settings", + "UpdateApplication": "PATCH /applications/{ApplicationId}", + "UpdateConfigurationProfile": "PATCH /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}", + "UpdateDeploymentStrategy": "PATCH /deploymentstrategies/{DeploymentStrategyId}", + "UpdateEnvironment": "PATCH /applications/{ApplicationId}/environments/{EnvironmentId}", + "UpdateExtension": "PATCH /extensions/{ExtensionIdentifier}", + "UpdateExtensionAssociation": "PATCH /extensionassociations/{ExtensionAssociationId}", + "ValidateConfiguration": "POST /applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators", }, } as const satisfies ServiceMetadata; diff --git a/src/services/appconfig/types.ts b/src/services/appconfig/types.ts index c0bca621..2928332f 100644 --- a/src/services/appconfig/types.ts +++ b/src/services/appconfig/types.ts @@ -7,138 +7,89 @@ export declare class AppConfig extends AWSServiceClient { input: CreateApplicationRequest, ): Effect.Effect< Application, - | BadRequestException - | InternalServerException - | ServiceQuotaExceededException - | CommonAwsError + BadRequestException | InternalServerException | ServiceQuotaExceededException | CommonAwsError >; createConfigurationProfile( input: CreateConfigurationProfileRequest, ): Effect.Effect< ConfigurationProfile, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; createDeploymentStrategy( input: CreateDeploymentStrategyRequest, ): Effect.Effect< DeploymentStrategy, - | BadRequestException - | InternalServerException - | ServiceQuotaExceededException - | CommonAwsError + BadRequestException | InternalServerException | ServiceQuotaExceededException | CommonAwsError >; createEnvironment( input: CreateEnvironmentRequest, ): Effect.Effect< Environment, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; createExtension( input: CreateExtensionRequest, ): Effect.Effect< Extension, - | BadRequestException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalServerException | ServiceQuotaExceededException | CommonAwsError >; createExtensionAssociation( input: CreateExtensionAssociationRequest, ): Effect.Effect< ExtensionAssociation, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; createHostedConfigurationVersion( input: CreateHostedConfigurationVersionRequest, ): Effect.Effect< HostedConfigurationVersion, - | BadRequestException - | ConflictException - | InternalServerException - | PayloadTooLargeException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalServerException | PayloadTooLargeException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; deleteConfigurationProfile( input: DeleteConfigurationProfileRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | CommonAwsError >; deleteDeploymentStrategy( input: DeleteDeploymentStrategyRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; deleteEnvironment( input: DeleteEnvironmentRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | CommonAwsError >; deleteExtension( input: DeleteExtensionRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; deleteExtensionAssociation( input: DeleteExtensionAssociationRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; deleteHostedConfigurationVersion( input: DeleteHostedConfigurationVersionRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; - getAccountSettings(input: {}): Effect.Effect< + getAccountSettings( + input: {}, + ): Effect.Effect< AccountSettings, BadRequestException | InternalServerException | CommonAwsError >; @@ -146,82 +97,55 @@ export declare class AppConfig extends AWSServiceClient { input: GetApplicationRequest, ): Effect.Effect< Application, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; getConfiguration( input: GetConfigurationRequest, ): Effect.Effect< Configuration, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; getConfigurationProfile( input: GetConfigurationProfileRequest, ): Effect.Effect< ConfigurationProfile, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; getDeployment( input: GetDeploymentRequest, ): Effect.Effect< Deployment, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; getDeploymentStrategy( input: GetDeploymentStrategyRequest, ): Effect.Effect< DeploymentStrategy, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; getEnvironment( input: GetEnvironmentRequest, ): Effect.Effect< Environment, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; getExtension( input: GetExtensionRequest, ): Effect.Effect< Extension, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; getExtensionAssociation( input: GetExtensionAssociationRequest, ): Effect.Effect< ExtensionAssociation, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; getHostedConfigurationVersion( input: GetHostedConfigurationVersionRequest, ): Effect.Effect< HostedConfigurationVersion, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; listApplications( input: ListApplicationsRequest, @@ -233,19 +157,13 @@ export declare class AppConfig extends AWSServiceClient { input: ListConfigurationProfilesRequest, ): Effect.Effect< ConfigurationProfiles, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; listDeployments( input: ListDeploymentsRequest, ): Effect.Effect< Deployments, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; listDeploymentStrategies( input: ListDeploymentStrategiesRequest, @@ -257,10 +175,7 @@ export declare class AppConfig extends AWSServiceClient { input: ListEnvironmentsRequest, ): Effect.Effect< Environments, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; listExtensionAssociations( input: ListExtensionAssociationsRequest, @@ -278,56 +193,37 @@ export declare class AppConfig extends AWSServiceClient { input: ListHostedConfigurationVersionsRequest, ): Effect.Effect< HostedConfigurationVersions, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ResourceTags, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; startDeployment( input: StartDeploymentRequest, ): Effect.Effect< Deployment, - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | CommonAwsError >; stopDeployment( input: StopDeploymentRequest, ): Effect.Effect< Deployment, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; updateAccountSettings( input: UpdateAccountSettingsRequest, @@ -339,65 +235,43 @@ export declare class AppConfig extends AWSServiceClient { input: UpdateApplicationRequest, ): Effect.Effect< Application, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; updateConfigurationProfile( input: UpdateConfigurationProfileRequest, ): Effect.Effect< ConfigurationProfile, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; updateDeploymentStrategy( input: UpdateDeploymentStrategyRequest, ): Effect.Effect< DeploymentStrategy, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; updateEnvironment( input: UpdateEnvironmentRequest, ): Effect.Effect< Environment, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; updateExtension( input: UpdateExtensionRequest, ): Effect.Effect< Extension, - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | CommonAwsError >; updateExtensionAssociation( input: UpdateExtensionAssociationRequest, ): Effect.Effect< ExtensionAssociation, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; validateConfiguration( input: ValidateConfigurationRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; } @@ -423,15 +297,7 @@ export interface ActionInvocation { } export type ActionInvocations = Array; export type ActionList = Array; -export type ActionPoint = - | "PRE_CREATE_HOSTED_CONFIGURATION_VERSION" - | "PRE_START_DEPLOYMENT" - | "AT_DEPLOYMENT_TICK" - | "ON_DEPLOYMENT_START" - | "ON_DEPLOYMENT_STEP" - | "ON_DEPLOYMENT_BAKING" - | "ON_DEPLOYMENT_COMPLETE" - | "ON_DEPLOYMENT_ROLLED_BACK"; +export type ActionPoint = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION" | "PRE_START_DEPLOYMENT" | "AT_DEPLOYMENT_TICK" | "ON_DEPLOYMENT_START" | "ON_DEPLOYMENT_STEP" | "ON_DEPLOYMENT_BAKING" | "ON_DEPLOYMENT_COMPLETE" | "ON_DEPLOYMENT_ROLLED_BACK"; export type ActionsMap = Record>; export interface Application { Id?: string; @@ -456,9 +322,7 @@ interface _BadRequestDetails { InvalidConfiguration?: Array; } -export type BadRequestDetails = _BadRequestDetails & { - InvalidConfiguration: Array; -}; +export type BadRequestDetails = (_BadRequestDetails & { InvalidConfiguration: Array }); export declare class BadRequestException extends EffectData.TaggedError( "BadRequestException", )<{ @@ -501,8 +365,7 @@ export interface ConfigurationProfileSummary { ValidatorTypes?: Array; Type?: string; } -export type ConfigurationProfileSummaryList = - Array; +export type ConfigurationProfileSummaryList = Array; export type ConfigurationProfileType = string; export declare class ConflictException extends EffectData.TaggedError( @@ -634,27 +497,13 @@ export interface DeploymentEvent { OccurredAt?: Date | string; } export type DeploymentEvents = Array; -export type DeploymentEventType = - | "PERCENTAGE_UPDATED" - | "ROLLBACK_STARTED" - | "ROLLBACK_COMPLETED" - | "BAKE_TIME_STARTED" - | "DEPLOYMENT_STARTED" - | "DEPLOYMENT_COMPLETED" - | "REVERT_COMPLETED"; +export type DeploymentEventType = "PERCENTAGE_UPDATED" | "ROLLBACK_STARTED" | "ROLLBACK_COMPLETED" | "BAKE_TIME_STARTED" | "DEPLOYMENT_STARTED" | "DEPLOYMENT_COMPLETED" | "REVERT_COMPLETED"; export type DeploymentList = Array; export interface Deployments { Items?: Array; NextToken?: string; } -export type DeploymentState = - | "BAKING" - | "VALIDATING" - | "DEPLOYING" - | "COMPLETE" - | "ROLLING_BACK" - | "ROLLED_BACK" - | "REVERTED"; +export type DeploymentState = "BAKING" | "VALIDATING" | "DEPLOYING" | "COMPLETE" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED"; export interface DeploymentStrategies { Items?: Array; NextToken?: string; @@ -704,12 +553,7 @@ export interface Environments { Items?: Array; NextToken?: string; } -export type EnvironmentState = - | "READY_FOR_DEPLOYMENT" - | "DEPLOYING" - | "ROLLING_BACK" - | "ROLLED_BACK" - | "REVERTED"; +export type EnvironmentState = "READY_FOR_DEPLOYMENT" | "DEPLOYING" | "ROLLING_BACK" | "ROLLED_BACK" | "REVERTED"; export interface Extension { Id?: string; Name?: string; @@ -817,8 +661,7 @@ export interface HostedConfigurationVersionSummary { VersionLabel?: string; KmsKeyArn?: string; } -export type HostedConfigurationVersionSummaryList = - Array; +export type HostedConfigurationVersionSummaryList = Array; export type Id = string; export type Identifier = string; @@ -979,11 +822,7 @@ export interface TagResourceRequest { } export type TagValue = string; -export type TriggeredBy = - | "USER" - | "APPCONFIG" - | "CLOUDWATCH_ALARM" - | "INTERNAL_ERROR"; +export type TriggeredBy = "USER" | "APPCONFIG" | "CLOUDWATCH_ALARM" | "INTERNAL_ERROR"; export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; @@ -1504,11 +1343,5 @@ export declare namespace ValidateConfiguration { | CommonAwsError; } -export type AppConfigErrors = - | BadRequestException - | ConflictException - | InternalServerException - | PayloadTooLargeException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError; +export type AppConfigErrors = BadRequestException | ConflictException | InternalServerException | PayloadTooLargeException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError; + diff --git a/src/services/appconfigdata/index.ts b/src/services/appconfigdata/index.ts index 727bf051..9130df79 100644 --- a/src/services/appconfigdata/index.ts +++ b/src/services/appconfigdata/index.ts @@ -5,25 +5,7 @@ import type { AppConfigData as _AppConfigDataClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,17 +15,17 @@ const metadata = { sigV4ServiceName: "appconfig", endpointPrefix: "appconfigdata", operations: { - GetLatestConfiguration: { + "GetLatestConfiguration": { http: "GET /configuration", traits: { - NextPollConfigurationToken: "Next-Poll-Configuration-Token", - NextPollIntervalInSeconds: "Next-Poll-Interval-In-Seconds", - ContentType: "Content-Type", - Configuration: "httpPayload", - VersionLabel: "Version-Label", + "NextPollConfigurationToken": "Next-Poll-Configuration-Token", + "NextPollIntervalInSeconds": "Next-Poll-Interval-In-Seconds", + "ContentType": "Content-Type", + "Configuration": "httpPayload", + "VersionLabel": "Version-Label", }, }, - StartConfigurationSession: "POST /configurationsessions", + "StartConfigurationSession": "POST /configurationsessions", }, } as const satisfies ServiceMetadata; diff --git a/src/services/appconfigdata/types.ts b/src/services/appconfigdata/types.ts index de1976df..cd4a0bbe 100644 --- a/src/services/appconfigdata/types.ts +++ b/src/services/appconfigdata/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class AppConfigData extends AWSServiceClient { @@ -42,21 +8,13 @@ export declare class AppConfigData extends AWSServiceClient { input: GetLatestConfigurationRequest, ): Effect.Effect< GetLatestConfigurationResponse, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startConfigurationSession( input: StartConfigurationSessionRequest, ): Effect.Effect< StartConfigurationSessionResponse, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -66,9 +24,7 @@ interface _BadRequestDetails { InvalidParameters?: Record; } -export type BadRequestDetails = _BadRequestDetails & { - InvalidParameters: Record; -}; +export type BadRequestDetails = (_BadRequestDetails & { InvalidParameters: Record }); export declare class BadRequestException extends EffectData.TaggedError( "BadRequestException", )<{ @@ -159,9 +115,5 @@ export declare namespace StartConfigurationSession { | CommonAwsError; } -export type AppConfigDataErrors = - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError; +export type AppConfigDataErrors = BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError; + diff --git a/src/services/appfabric/index.ts b/src/services/appfabric/index.ts index 0199174e..c7150c0a 100644 --- a/src/services/appfabric/index.ts +++ b/src/services/appfabric/index.ts @@ -5,23 +5,7 @@ import type { AppFabric as _AppFabricClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,47 +14,36 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "appfabric", operations: { - BatchGetUserAccessTasks: "POST /useraccess/batchget", - ConnectAppAuthorization: - "POST /appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}/connect", - CreateAppAuthorization: - "POST /appbundles/{appBundleIdentifier}/appauthorizations", - CreateAppBundle: "POST /appbundles", - CreateIngestion: "POST /appbundles/{appBundleIdentifier}/ingestions", - CreateIngestionDestination: - "POST /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", - DeleteAppAuthorization: - "DELETE /appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", - DeleteAppBundle: "DELETE /appbundles/{appBundleIdentifier}", - DeleteIngestion: - "DELETE /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", - DeleteIngestionDestination: - "DELETE /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}", - GetAppAuthorization: - "GET /appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", - GetAppBundle: "GET /appbundles/{appBundleIdentifier}", - GetIngestion: - "GET /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", - GetIngestionDestination: - "GET /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}", - ListAppAuthorizations: - "GET /appbundles/{appBundleIdentifier}/appauthorizations", - ListAppBundles: "GET /appbundles", - ListIngestionDestinations: - "GET /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", - ListIngestions: "GET /appbundles/{appBundleIdentifier}/ingestions", - ListTagsForResource: "GET /tags/{resourceArn}", - StartIngestion: - "POST /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/start", - StartUserAccessTasks: "POST /useraccess/start", - StopIngestion: - "POST /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/stop", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAppAuthorization: - "PATCH /appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", - UpdateIngestionDestination: - "PATCH /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}", + "BatchGetUserAccessTasks": "POST /useraccess/batchget", + "ConnectAppAuthorization": "POST /appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}/connect", + "CreateAppAuthorization": "POST /appbundles/{appBundleIdentifier}/appauthorizations", + "CreateAppBundle": "POST /appbundles", + "CreateIngestion": "POST /appbundles/{appBundleIdentifier}/ingestions", + "CreateIngestionDestination": "POST /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", + "DeleteAppAuthorization": "DELETE /appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", + "DeleteAppBundle": "DELETE /appbundles/{appBundleIdentifier}", + "DeleteIngestion": "DELETE /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", + "DeleteIngestionDestination": "DELETE /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}", + "GetAppAuthorization": "GET /appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", + "GetAppBundle": "GET /appbundles/{appBundleIdentifier}", + "GetIngestion": "GET /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", + "GetIngestionDestination": "GET /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}", + "ListAppAuthorizations": "GET /appbundles/{appBundleIdentifier}/appauthorizations", + "ListAppBundles": "GET /appbundles", + "ListIngestionDestinations": "GET /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", + "ListIngestions": "GET /appbundles/{appBundleIdentifier}/ingestions", + "ListTagsForResource": "GET /tags/{resourceArn}", + "StartIngestion": "POST /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/start", + "StartUserAccessTasks": "POST /useraccess/start", + "StopIngestion": "POST /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/stop", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAppAuthorization": "PATCH /appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", + "UpdateIngestionDestination": "PATCH /appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/appfabric/types.ts b/src/services/appfabric/types.ts index e8aea069..26fd02e2 100644 --- a/src/services/appfabric/types.ts +++ b/src/services/appfabric/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class AppFabric extends AWSServiceClient { @@ -40,295 +8,157 @@ export declare class AppFabric extends AWSServiceClient { input: BatchGetUserAccessTasksRequest, ): Effect.Effect< BatchGetUserAccessTasksResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; connectAppAuthorization( input: ConnectAppAuthorizationRequest, ): Effect.Effect< ConnectAppAuthorizationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAppAuthorization( input: CreateAppAuthorizationRequest, ): Effect.Effect< CreateAppAuthorizationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAppBundle( input: CreateAppBundleRequest, ): Effect.Effect< CreateAppBundleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createIngestion( input: CreateIngestionRequest, ): Effect.Effect< CreateIngestionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createIngestionDestination( input: CreateIngestionDestinationRequest, ): Effect.Effect< CreateIngestionDestinationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAppAuthorization( input: DeleteAppAuthorizationRequest, ): Effect.Effect< DeleteAppAuthorizationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAppBundle( input: DeleteAppBundleRequest, ): Effect.Effect< DeleteAppBundleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteIngestion( input: DeleteIngestionRequest, ): Effect.Effect< DeleteIngestionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteIngestionDestination( input: DeleteIngestionDestinationRequest, ): Effect.Effect< DeleteIngestionDestinationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAppAuthorization( input: GetAppAuthorizationRequest, ): Effect.Effect< GetAppAuthorizationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAppBundle( input: GetAppBundleRequest, ): Effect.Effect< GetAppBundleResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIngestion( input: GetIngestionRequest, ): Effect.Effect< GetIngestionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIngestionDestination( input: GetIngestionDestinationRequest, ): Effect.Effect< GetIngestionDestinationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppAuthorizations( input: ListAppAuthorizationsRequest, ): Effect.Effect< ListAppAuthorizationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppBundles( input: ListAppBundlesRequest, ): Effect.Effect< ListAppBundlesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listIngestionDestinations( input: ListIngestionDestinationsRequest, ): Effect.Effect< ListIngestionDestinationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listIngestions( input: ListIngestionsRequest, ): Effect.Effect< ListIngestionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startIngestion( input: StartIngestionRequest, ): Effect.Effect< StartIngestionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startUserAccessTasks( input: StartUserAccessTasksRequest, ): Effect.Effect< StartUserAccessTasksResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopIngestion( input: StopIngestionRequest, ): Effect.Effect< StopIngestionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAppAuthorization( input: UpdateAppAuthorizationRequest, ): Effect.Effect< UpdateAppAuthorizationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateIngestionDestination( input: UpdateIngestionDestinationRequest, ): Effect.Effect< UpdateIngestionDestinationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -354,11 +184,7 @@ export interface AppAuthorization { persona?: Persona; authUrl?: string; } -export type AppAuthorizationStatus = - | "PendingConnect" - | "Connected" - | "ConnectionValidationFailed" - | "TokenAutoRotationFailed"; +export type AppAuthorizationStatus = "PendingConnect" | "Connected" | "ConnectionValidationFailed" | "TokenAutoRotationFailed"; export interface AppAuthorizationSummary { appAuthorizationArn: string; appBundleArn: string; @@ -459,46 +285,44 @@ interface _Credential { apiKeyCredential?: ApiKeyCredential; } -export type Credential = - | (_Credential & { oauth2Credential: Oauth2Credential }) - | (_Credential & { apiKeyCredential: ApiKeyCredential }); +export type Credential = (_Credential & { oauth2Credential: Oauth2Credential }) | (_Credential & { apiKeyCredential: ApiKeyCredential }); export type DateTime = Date | string; export interface DeleteAppAuthorizationRequest { appBundleIdentifier: string; appAuthorizationIdentifier: string; } -export interface DeleteAppAuthorizationResponse {} +export interface DeleteAppAuthorizationResponse { +} export interface DeleteAppBundleRequest { appBundleIdentifier: string; } -export interface DeleteAppBundleResponse {} +export interface DeleteAppBundleResponse { +} export interface DeleteIngestionDestinationRequest { appBundleIdentifier: string; ingestionIdentifier: string; ingestionDestinationIdentifier: string; } -export interface DeleteIngestionDestinationResponse {} +export interface DeleteIngestionDestinationResponse { +} export interface DeleteIngestionRequest { appBundleIdentifier: string; ingestionIdentifier: string; } -export interface DeleteIngestionResponse {} +export interface DeleteIngestionResponse { +} interface _Destination { s3Bucket?: S3Bucket; firehoseStream?: FirehoseStream; } -export type Destination = - | (_Destination & { s3Bucket: S3Bucket }) - | (_Destination & { firehoseStream: FirehoseStream }); +export type Destination = (_Destination & { s3Bucket: S3Bucket }) | (_Destination & { firehoseStream: FirehoseStream }); interface _DestinationConfiguration { auditLog?: AuditLogDestinationConfiguration; } -export type DestinationConfiguration = _DestinationConfiguration & { - auditLog: AuditLogDestinationConfiguration; -}; +export type DestinationConfiguration = (_DestinationConfiguration & { auditLog: AuditLogDestinationConfiguration }); export type Email = string; export interface FirehoseStream { @@ -630,9 +454,7 @@ interface _ProcessingConfiguration { auditLog?: AuditLogProcessingConfiguration; } -export type ProcessingConfiguration = _ProcessingConfiguration & { - auditLog: AuditLogProcessingConfiguration; -}; +export type ProcessingConfiguration = (_ProcessingConfiguration & { auditLog: AuditLogProcessingConfiguration }); export type RedirectUri = string; export declare class ResourceNotFoundException extends EffectData.TaggedError( @@ -663,7 +485,8 @@ export interface StartIngestionRequest { ingestionIdentifier: string; appBundleIdentifier: string; } -export interface StartIngestionResponse {} +export interface StartIngestionResponse { +} export interface StartUserAccessTasksRequest { appBundleIdentifier: string; email: string; @@ -675,7 +498,8 @@ export interface StopIngestionRequest { ingestionIdentifier: string; appBundleIdentifier: string; } -export interface StopIngestionResponse {} +export interface StopIngestionResponse { +} export type String120 = string; export type String2048 = string; @@ -698,7 +522,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TaskError { @@ -724,7 +549,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAppAuthorizationRequest { appBundleIdentifier: string; appAuthorizationIdentifier: string; @@ -779,11 +605,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export declare namespace BatchGetUserAccessTasks { export type Input = BatchGetUserAccessTasksRequest; export type Output = BatchGetUserAccessTasksResponse; @@ -1104,12 +926,5 @@ export declare namespace UpdateIngestionDestination { | CommonAwsError; } -export type AppFabricErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type AppFabricErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/appflow/index.ts b/src/services/appflow/index.ts index 353cedd5..07d23165 100644 --- a/src/services/appflow/index.ts +++ b/src/services/appflow/index.ts @@ -5,23 +5,7 @@ import type { Appflow as _AppflowClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,31 +15,31 @@ const metadata = { sigV4ServiceName: "appflow", endpointPrefix: "appflow", operations: { - CancelFlowExecutions: "POST /cancel-flow-executions", - CreateConnectorProfile: "POST /create-connector-profile", - CreateFlow: "POST /create-flow", - DeleteConnectorProfile: "POST /delete-connector-profile", - DeleteFlow: "POST /delete-flow", - DescribeConnector: "POST /describe-connector", - DescribeConnectorEntity: "POST /describe-connector-entity", - DescribeConnectorProfiles: "POST /describe-connector-profiles", - DescribeConnectors: "POST /describe-connectors", - DescribeFlow: "POST /describe-flow", - DescribeFlowExecutionRecords: "POST /describe-flow-execution-records", - ListConnectorEntities: "POST /list-connector-entities", - ListConnectors: "POST /list-connectors", - ListFlows: "POST /list-flows", - ListTagsForResource: "GET /tags/{resourceArn}", - RegisterConnector: "POST /register-connector", - ResetConnectorMetadataCache: "POST /reset-connector-metadata-cache", - StartFlow: "POST /start-flow", - StopFlow: "POST /stop-flow", - TagResource: "POST /tags/{resourceArn}", - UnregisterConnector: "POST /unregister-connector", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateConnectorProfile: "POST /update-connector-profile", - UpdateConnectorRegistration: "POST /update-connector-registration", - UpdateFlow: "POST /update-flow", + "CancelFlowExecutions": "POST /cancel-flow-executions", + "CreateConnectorProfile": "POST /create-connector-profile", + "CreateFlow": "POST /create-flow", + "DeleteConnectorProfile": "POST /delete-connector-profile", + "DeleteFlow": "POST /delete-flow", + "DescribeConnector": "POST /describe-connector", + "DescribeConnectorEntity": "POST /describe-connector-entity", + "DescribeConnectorProfiles": "POST /describe-connector-profiles", + "DescribeConnectors": "POST /describe-connectors", + "DescribeFlow": "POST /describe-flow", + "DescribeFlowExecutionRecords": "POST /describe-flow-execution-records", + "ListConnectorEntities": "POST /list-connector-entities", + "ListConnectors": "POST /list-connectors", + "ListFlows": "POST /list-flows", + "ListTagsForResource": "GET /tags/{resourceArn}", + "RegisterConnector": "POST /register-connector", + "ResetConnectorMetadataCache": "POST /reset-connector-metadata-cache", + "StartFlow": "POST /start-flow", + "StopFlow": "POST /stop-flow", + "TagResource": "POST /tags/{resourceArn}", + "UnregisterConnector": "POST /unregister-connector", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateConnectorProfile": "POST /update-connector-profile", + "UpdateConnectorRegistration": "POST /update-connector-registration", + "UpdateFlow": "POST /update-flow", }, } as const satisfies ServiceMetadata; diff --git a/src/services/appflow/types.ts b/src/services/appflow/types.ts index 5d8bdb05..c4e31f27 100644 --- a/src/services/appflow/types.ts +++ b/src/services/appflow/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Appflow extends AWSServiceClient { @@ -40,75 +8,43 @@ export declare class Appflow extends AWSServiceClient { input: CancelFlowExecutionsRequest, ): Effect.Effect< CancelFlowExecutionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createConnectorProfile( input: CreateConnectorProfileRequest, ): Effect.Effect< CreateConnectorProfileResponse, - | ConflictException - | ConnectorAuthenticationException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ConnectorAuthenticationException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createFlow( input: CreateFlowRequest, ): Effect.Effect< CreateFlowResponse, - | AccessDeniedException - | ConflictException - | ConnectorAuthenticationException - | ConnectorServerException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ConnectorAuthenticationException | ConnectorServerException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteConnectorProfile( input: DeleteConnectorProfileRequest, ): Effect.Effect< DeleteConnectorProfileResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | CommonAwsError >; deleteFlow( input: DeleteFlowRequest, ): Effect.Effect< DeleteFlowResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | CommonAwsError >; describeConnector( input: DescribeConnectorRequest, ): Effect.Effect< DescribeConnectorResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeConnectorEntity( input: DescribeConnectorEntityRequest, ): Effect.Effect< DescribeConnectorEntityResponse, - | ConnectorAuthenticationException - | ConnectorServerException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConnectorAuthenticationException | ConnectorServerException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeConnectorProfiles( input: DescribeConnectorProfilesRequest, @@ -132,21 +68,13 @@ export declare class Appflow extends AWSServiceClient { input: DescribeFlowExecutionRecordsRequest, ): Effect.Effect< DescribeFlowExecutionRecordsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listConnectorEntities( input: ListConnectorEntitiesRequest, ): Effect.Effect< ListConnectorEntitiesResponse, - | ConnectorAuthenticationException - | ConnectorServerException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConnectorAuthenticationException | ConnectorServerException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listConnectors( input: ListConnectorsRequest, @@ -164,122 +92,67 @@ export declare class Appflow extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; registerConnector( input: RegisterConnectorRequest, ): Effect.Effect< RegisterConnectorResponse, - | AccessDeniedException - | ConflictException - | ConnectorAuthenticationException - | ConnectorServerException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ConnectorAuthenticationException | ConnectorServerException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; resetConnectorMetadataCache( input: ResetConnectorMetadataCacheRequest, ): Effect.Effect< ResetConnectorMetadataCacheResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startFlow( input: StartFlowRequest, ): Effect.Effect< StartFlowResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; stopFlow( input: StopFlowRequest, ): Effect.Effect< StopFlowResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; unregisterConnector( input: UnregisterConnectorRequest, ): Effect.Effect< UnregisterConnectorResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateConnectorProfile( input: UpdateConnectorProfileRequest, ): Effect.Effect< UpdateConnectorProfileResponse, - | ConflictException - | ConnectorAuthenticationException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ConnectorAuthenticationException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateConnectorRegistration( input: UpdateConnectorRegistrationRequest, ): Effect.Effect< UpdateConnectorRegistrationResponse, - | AccessDeniedException - | ConflictException - | ConnectorAuthenticationException - | ConnectorServerException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ConnectorAuthenticationException | ConnectorServerException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateFlow( input: UpdateFlowRequest, ): Effect.Effect< UpdateFlowResponse, - | AccessDeniedException - | ConflictException - | ConnectorAuthenticationException - | ConnectorServerException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ConnectorAuthenticationException | ConnectorServerException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -304,8 +177,10 @@ export interface AmplitudeConnectorProfileCredentials { apiKey: string; secretKey: string; } -export interface AmplitudeConnectorProfileProperties {} -export interface AmplitudeMetadata {} +export interface AmplitudeConnectorProfileProperties { +} +export interface AmplitudeMetadata { +} export interface AmplitudeSourceProperties { object: string; } @@ -427,10 +302,7 @@ export interface ConnectorConfiguration { supportedDataTransferTypes?: Array; supportedDataTransferApis?: Array; } -export type ConnectorConfigurationsMap = Record< - ConnectorType, - ConnectorConfiguration ->; +export type ConnectorConfigurationsMap = Record; export type ConnectorDescription = string; export interface ConnectorDetail { @@ -616,31 +488,7 @@ export type ConnectorSuppliedValue = string; export type ConnectorSuppliedValueList = Array; export type ConnectorSuppliedValueOptionList = Array; -export type ConnectorType = - | "Salesforce" - | "Singular" - | "Slack" - | "Redshift" - | "S3" - | "Marketo" - | "Googleanalytics" - | "Zendesk" - | "Servicenow" - | "Datadog" - | "Trendmicro" - | "Snowflake" - | "Dynatrace" - | "Infornexus" - | "Amplitude" - | "Veeva" - | "EventBridge" - | "LookoutMetrics" - | "Upsolver" - | "Honeycode" - | "CustomerProfiles" - | "SAPOData" - | "CustomConnector" - | "Pardot"; +export type ConnectorType = "Salesforce" | "Singular" | "Slack" | "Redshift" | "S3" | "Marketo" | "Googleanalytics" | "Zendesk" | "Servicenow" | "Datadog" | "Trendmicro" | "Snowflake" | "Dynatrace" | "Infornexus" | "Amplitude" | "Veeva" | "EventBridge" | "LookoutMetrics" | "Upsolver" | "Honeycode" | "CustomerProfiles" | "SAPOData" | "CustomConnector" | "Pardot"; export type ConnectorTypeList = Array; export type ConnectorVersion = string; @@ -717,7 +565,8 @@ export interface CustomerProfilesDestinationProperties { domainName: string; objectTypeName?: string; } -export interface CustomerProfilesMetadata {} +export interface CustomerProfilesMetadata { +} export type CustomProperties = Record; export type CustomPropertyKey = string; @@ -729,22 +578,7 @@ export type DatabaseName = string; export type DatabaseUrl = string; -export type DatadogConnectorOperator = - | "PROJECTION" - | "BETWEEN" - | "EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type DatadogConnectorOperator = "PROJECTION" | "BETWEEN" | "EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface DatadogConnectorProfileCredentials { apiKey: string; applicationKey: string; @@ -752,7 +586,8 @@ export interface DatadogConnectorProfileCredentials { export interface DatadogConnectorProfileProperties { instanceUrl: string; } -export interface DatadogMetadata {} +export interface DatadogMetadata { +} export interface DatadogSourceProperties { object: string; } @@ -772,12 +607,14 @@ export interface DeleteConnectorProfileRequest { connectorProfileName: string; forceDelete?: boolean; } -export interface DeleteConnectorProfileResponse {} +export interface DeleteConnectorProfileResponse { +} export interface DeleteFlowRequest { flowName: string; forceDelete?: boolean; } -export interface DeleteFlowResponse {} +export interface DeleteFlowResponse { +} export interface DescribeConnectorEntityRequest { connectorEntityName: string; connectorType?: ConnectorType; @@ -888,29 +725,15 @@ export type DomainName = string; export type Double = number; -export type DynatraceConnectorOperator = - | "PROJECTION" - | "BETWEEN" - | "EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type DynatraceConnectorOperator = "PROJECTION" | "BETWEEN" | "EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface DynatraceConnectorProfileCredentials { apiToken: string; } export interface DynatraceConnectorProfileProperties { instanceUrl: string; } -export interface DynatraceMetadata {} +export interface DynatraceMetadata { +} export interface DynatraceSourceProperties { object: string; } @@ -933,7 +756,8 @@ export interface EventBridgeDestinationProperties { object: string; errorHandlingConfig?: ErrorHandlingConfig; } -export interface EventBridgeMetadata {} +export interface EventBridgeMetadata { +} export interface ExecutionDetails { mostRecentExecutionMessage?: string; mostRecentExecutionTime?: Date | string; @@ -962,12 +786,7 @@ export interface ExecutionResult { numParallelProcesses?: number; maxPageSize?: number; } -export type ExecutionStatus = - | "InProgress" - | "Successful" - | "Error" - | "CancelStarted" - | "Canceled"; +export type ExecutionStatus = "InProgress" | "Successful" | "Error" | "CancelStarted" | "Canceled"; export type FieldType = string; export interface FieldTypeDetails { @@ -1008,13 +827,7 @@ export type FlowExecutionList = Array; export type FlowList = Array; export type FlowName = string; -export type FlowStatus = - | "Active" - | "Deprecated" - | "Deleted" - | "Draft" - | "Errored" - | "Suspended"; +export type FlowStatus = "Active" | "Deprecated" | "Deleted" | "Draft" | "Errored" | "Suspended"; export type FlowStatusMessage = string; export interface GlueDataCatalogConfig { @@ -1036,7 +849,8 @@ export interface GoogleAnalyticsConnectorProfileCredentials { refreshToken?: string; oAuthRequest?: ConnectorOAuthRequest; } -export interface GoogleAnalyticsConnectorProfileProperties {} +export interface GoogleAnalyticsConnectorProfileProperties { +} export interface GoogleAnalyticsMetadata { oAuthScopes?: Array; } @@ -1050,7 +864,8 @@ export interface HoneycodeConnectorProfileCredentials { refreshToken?: string; oAuthRequest?: ConnectorOAuthRequest; } -export interface HoneycodeConnectorProfileProperties {} +export interface HoneycodeConnectorProfileProperties { +} export interface HoneycodeDestinationProperties { object: string; errorHandlingConfig?: ErrorHandlingConfig; @@ -1064,22 +879,7 @@ export type IdFieldNameList = Array; export interface IncrementalPullConfig { datetimeTypeFieldName?: string; } -export type InforNexusConnectorOperator = - | "PROJECTION" - | "BETWEEN" - | "EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type InforNexusConnectorOperator = "PROJECTION" | "BETWEEN" | "EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface InforNexusConnectorProfileCredentials { accessKeyId: string; userId: string; @@ -1089,7 +889,8 @@ export interface InforNexusConnectorProfileCredentials { export interface InforNexusConnectorProfileProperties { instanceUrl: string; } -export interface InforNexusMetadata {} +export interface InforNexusMetadata { +} export interface InforNexusSourceProperties { object: string; } @@ -1155,24 +956,9 @@ export type LogoURL = string; export type Long = number; -export interface LookoutMetricsDestinationProperties {} -export type MarketoConnectorOperator = - | "PROJECTION" - | "LESS_THAN" - | "GREATER_THAN" - | "BETWEEN" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export interface LookoutMetricsDestinationProperties { +} +export type MarketoConnectorOperator = "PROJECTION" | "LESS_THAN" | "GREATER_THAN" | "BETWEEN" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface MarketoConnectorProfileCredentials { clientId: string; clientSecret: string; @@ -1186,7 +972,8 @@ export interface MarketoDestinationProperties { object: string; errorHandlingConfig?: ErrorHandlingConfig; } -export interface MarketoMetadata {} +export interface MarketoMetadata { +} export interface MarketoSourceProperties { object: string; } @@ -1233,10 +1020,7 @@ export interface OAuth2Defaults { oauth2GrantTypesSupported?: Array; oauth2CustomProperties?: Array; } -export type OAuth2GrantType = - | "CLIENT_CREDENTIALS" - | "AUTHORIZATION_CODE" - | "JWT_BEARER"; +export type OAuth2GrantType = "CLIENT_CREDENTIALS" | "AUTHORIZATION_CODE" | "JWT_BEARER"; export type OAuth2GrantTypeSupportedList = Array; export interface OAuth2Properties { tokenUrl: string; @@ -1262,83 +1046,10 @@ export type AppflowObject = string; export type ObjectTypeName = string; -export type Operator = - | "PROJECTION" - | "LESS_THAN" - | "GREATER_THAN" - | "CONTAINS" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; -export type OperatorPropertiesKeys = - | "VALUE" - | "VALUES" - | "DATA_TYPE" - | "UPPER_BOUND" - | "LOWER_BOUND" - | "SOURCE_DATA_TYPE" - | "DESTINATION_DATA_TYPE" - | "VALIDATION_ACTION" - | "MASK_VALUE" - | "MASK_LENGTH" - | "TRUNCATE_LENGTH" - | "MATH_OPERATION_FIELDS_ORDER" - | "CONCAT_FORMAT" - | "SUBFIELD_CATEGORY_MAP" - | "EXCLUDE_SOURCE_FIELDS_LIST" - | "INCLUDE_NEW_FIELDS" - | "ORDERED_PARTITION_KEYS_LIST"; -export type Operators = - | "PROJECTION" - | "LESS_THAN" - | "GREATER_THAN" - | "CONTAINS" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; -export type PardotConnectorOperator = - | "PROJECTION" - | "EQUAL_TO" - | "NO_OP" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC"; +export type Operator = "PROJECTION" | "LESS_THAN" | "GREATER_THAN" | "CONTAINS" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; +export type OperatorPropertiesKeys = "VALUE" | "VALUES" | "DATA_TYPE" | "UPPER_BOUND" | "LOWER_BOUND" | "SOURCE_DATA_TYPE" | "DESTINATION_DATA_TYPE" | "VALIDATION_ACTION" | "MASK_VALUE" | "MASK_LENGTH" | "TRUNCATE_LENGTH" | "MATH_OPERATION_FIELDS_ORDER" | "CONCAT_FORMAT" | "SUBFIELD_CATEGORY_MAP" | "EXCLUDE_SOURCE_FIELDS_LIST" | "INCLUDE_NEW_FIELDS" | "ORDERED_PARTITION_KEYS_LIST"; +export type Operators = "PROJECTION" | "LESS_THAN" | "GREATER_THAN" | "CONTAINS" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; +export type PardotConnectorOperator = "PROJECTION" | "EQUAL_TO" | "NO_OP" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC"; export interface PardotConnectorProfileCredentials { accessToken?: string; refreshToken?: string; @@ -1350,7 +1061,8 @@ export interface PardotConnectorProfileProperties { isSandboxEnvironment?: boolean; businessUnitId?: string; } -export interface PardotMetadata {} +export interface PardotMetadata { +} export interface PardotSourceProperties { object: string; } @@ -1367,12 +1079,7 @@ export interface PrefixConfig { } export type PrefixFormat = "YEAR" | "MONTH" | "DAY" | "HOUR" | "MINUTE"; export type PrefixType = "FILENAME" | "PATH" | "PATH_AND_FILENAME"; -export type PrivateConnectionProvisioningFailureCause = - | "CONNECTOR_AUTHENTICATION" - | "CONNECTOR_SERVER" - | "INTERNAL_SERVER" - | "ACCESS_DENIED" - | "VALIDATION"; +export type PrivateConnectionProvisioningFailureCause = "CONNECTOR_AUTHENTICATION" | "CONNECTOR_SERVER" | "INTERNAL_SERVER" | "ACCESS_DENIED" | "VALIDATION"; export type PrivateConnectionProvisioningFailureMessage = string; export interface PrivateConnectionProvisioningState { @@ -1380,10 +1087,7 @@ export interface PrivateConnectionProvisioningState { failureMessage?: string; failureCause?: PrivateConnectionProvisioningFailureCause; } -export type PrivateConnectionProvisioningStatus = - | "FAILED" - | "PENDING" - | "CREATED"; +export type PrivateConnectionProvisioningStatus = "FAILED" | "PENDING" | "CREATED"; export type PrivateLinkServiceName = string; export type ProfilePropertiesMap = Record; @@ -1420,7 +1124,8 @@ export interface RedshiftDestinationProperties { bucketPrefix?: string; errorHandlingConfig?: ErrorHandlingConfig; } -export interface RedshiftMetadata {} +export interface RedshiftMetadata { +} export type RefreshToken = string; export type Region = string; @@ -1450,7 +1155,8 @@ export interface ResetConnectorMetadataCacheRequest { entitiesPath?: string; apiVersion?: string; } -export interface ResetConnectorMetadataCacheResponse {} +export interface ResetConnectorMetadataCacheResponse { +} export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -1458,27 +1164,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( }> {} export type RoleArn = string; -export type S3ConnectorOperator = - | "PROJECTION" - | "LESS_THAN" - | "GREATER_THAN" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type S3ConnectorOperator = "PROJECTION" | "LESS_THAN" | "GREATER_THAN" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface S3DestinationProperties { bucketName: string; bucketPrefix?: string; @@ -1488,7 +1174,8 @@ export type S3InputFileType = "CSV" | "JSON"; export interface S3InputFormatConfig { s3InputFileType?: S3InputFileType; } -export interface S3Metadata {} +export interface S3Metadata { +} export interface S3OutputFormatConfig { fileType?: FileType; prefixConfig?: PrefixConfig; @@ -1500,28 +1187,7 @@ export interface S3SourceProperties { bucketPrefix?: string; s3InputFormatConfig?: S3InputFormatConfig; } -export type SalesforceConnectorOperator = - | "PROJECTION" - | "LESS_THAN" - | "CONTAINS" - | "GREATER_THAN" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type SalesforceConnectorOperator = "PROJECTION" | "LESS_THAN" | "CONTAINS" | "GREATER_THAN" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface SalesforceConnectorProfileCredentials { accessToken?: string; refreshToken?: string; @@ -1555,28 +1221,7 @@ export interface SalesforceSourceProperties { includeDeletedRecords?: boolean; dataTransferApi?: SalesforceDataTransferApi; } -export type SAPODataConnectorOperator = - | "PROJECTION" - | "LESS_THAN" - | "CONTAINS" - | "GREATER_THAN" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type SAPODataConnectorOperator = "PROJECTION" | "LESS_THAN" | "CONTAINS" | "GREATER_THAN" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface SAPODataConnectorProfileCredentials { basicAuthCredentials?: BasicAuthCredentials; oAuthCredentials?: OAuthCredentials; @@ -1602,7 +1247,8 @@ export type SAPODataMaxPageSize = number; export type SAPODataMaxParallelism = number; -export interface SAPODataMetadata {} +export interface SAPODataMetadata { +} export interface SAPODataPaginationConfig { maxPageSize: number; } @@ -1626,40 +1272,13 @@ export interface ScheduledTriggerProperties { } export type ScheduleExpression = string; -export type ScheduleFrequencyType = - | "BYMINUTE" - | "HOURLY" - | "DAILY" - | "WEEKLY" - | "MONTHLY" - | "ONCE"; +export type ScheduleFrequencyType = "BYMINUTE" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | "ONCE"; export type ScheduleOffset = number; export type SchedulingFrequencyTypeList = Array; export type SecretKey = string; -export type ServiceNowConnectorOperator = - | "PROJECTION" - | "CONTAINS" - | "LESS_THAN" - | "GREATER_THAN" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type ServiceNowConnectorOperator = "PROJECTION" | "CONTAINS" | "LESS_THAN" | "GREATER_THAN" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface ServiceNowConnectorProfileCredentials { username?: string; password?: string; @@ -1668,7 +1287,8 @@ export interface ServiceNowConnectorProfileCredentials { export interface ServiceNowConnectorProfileProperties { instanceUrl: string; } -export interface ServiceNowMetadata {} +export interface ServiceNowMetadata { +} export interface ServiceNowSourceProperties { object: string; } @@ -1677,49 +1297,18 @@ export declare class ServiceQuotaExceededException extends EffectData.TaggedErro )<{ readonly message?: string; }> {} -export type SingularConnectorOperator = - | "PROJECTION" - | "EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type SingularConnectorOperator = "PROJECTION" | "EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface SingularConnectorProfileCredentials { apiKey: string; } -export interface SingularConnectorProfileProperties {} -export interface SingularMetadata {} +export interface SingularConnectorProfileProperties { +} +export interface SingularMetadata { +} export interface SingularSourceProperties { object: string; } -export type SlackConnectorOperator = - | "PROJECTION" - | "LESS_THAN" - | "GREATER_THAN" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type SlackConnectorOperator = "PROJECTION" | "LESS_THAN" | "GREATER_THAN" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface SlackConnectorProfileCredentials { clientId: string; clientSecret: string; @@ -1833,7 +1422,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Task { @@ -1845,17 +1435,7 @@ export interface Task { } export type TaskPropertiesMap = Record; export type Tasks = Array; -export type TaskType = - | "Arithmetic" - | "Filter" - | "Map" - | "Map_all" - | "Mask" - | "Merge" - | "Passthrough" - | "Truncate" - | "Validate" - | "Partition"; +export type TaskType = "Arithmetic" | "Filter" | "Map" | "Map_all" | "Mask" | "Merge" | "Passthrough" | "Truncate" | "Validate" | "Partition"; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -1867,26 +1447,14 @@ export type TokenUrl = string; export type TokenUrlCustomProperties = Record; export type TokenUrlList = Array; -export type TrendmicroConnectorOperator = - | "PROJECTION" - | "EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type TrendmicroConnectorOperator = "PROJECTION" | "EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface TrendmicroConnectorProfileCredentials { apiSecretKey: string; } -export interface TrendmicroConnectorProfileProperties {} -export interface TrendmicroMetadata {} +export interface TrendmicroConnectorProfileProperties { +} +export interface TrendmicroMetadata { +} export interface TrendmicroSourceProperties { object: string; } @@ -1903,7 +1471,8 @@ export interface UnregisterConnectorRequest { connectorLabel: string; forceDelete?: boolean; } -export interface UnregisterConnectorResponse {} +export interface UnregisterConnectorResponse { +} export declare class UnsupportedOperationException extends EffectData.TaggedError( "UnsupportedOperationException", )<{ @@ -1913,7 +1482,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateConnectorProfileRequest { connectorProfileName: string; connectionMode: ConnectionMode; @@ -1954,7 +1524,8 @@ export interface UpsolverDestinationProperties { bucketPrefix?: string; s3OutputFormatConfig: UpsolverS3OutputFormatConfig; } -export interface UpsolverMetadata {} +export interface UpsolverMetadata { +} export interface UpsolverS3OutputFormatConfig { fileType?: FileType; prefixConfig: PrefixConfig; @@ -1969,28 +1540,7 @@ export declare class ValidationException extends EffectData.TaggedError( }> {} export type Value = string; -export type VeevaConnectorOperator = - | "PROJECTION" - | "LESS_THAN" - | "GREATER_THAN" - | "CONTAINS" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type VeevaConnectorOperator = "PROJECTION" | "LESS_THAN" | "GREATER_THAN" | "CONTAINS" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface VeevaConnectorProfileCredentials { username: string; password: string; @@ -1998,7 +1548,8 @@ export interface VeevaConnectorProfileCredentials { export interface VeevaConnectorProfileProperties { instanceUrl: string; } -export interface VeevaMetadata {} +export interface VeevaMetadata { +} export interface VeevaSourceProperties { object: string; documentType?: string; @@ -2011,21 +1562,7 @@ export type Warehouse = string; export type WorkgroupName = string; export type WriteOperationType = "INSERT" | "UPSERT" | "UPDATE" | "DELETE"; -export type ZendeskConnectorOperator = - | "PROJECTION" - | "GREATER_THAN" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type ZendeskConnectorOperator = "PROJECTION" | "GREATER_THAN" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface ZendeskConnectorProfileCredentials { clientId: string; clientSecret: string; @@ -2327,15 +1864,5 @@ export declare namespace UpdateFlow { | CommonAwsError; } -export type AppflowErrors = - | AccessDeniedException - | ConflictException - | ConnectorAuthenticationException - | ConnectorServerException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnsupportedOperationException - | ValidationException - | CommonAwsError; +export type AppflowErrors = AccessDeniedException | ConflictException | ConnectorAuthenticationException | ConnectorServerException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnsupportedOperationException | ValidationException | CommonAwsError; + diff --git a/src/services/appintegrations/index.ts b/src/services/appintegrations/index.ts index 609251bf..b1eddc58 100644 --- a/src/services/appintegrations/index.ts +++ b/src/services/appintegrations/index.ts @@ -5,24 +5,7 @@ import type { AppIntegrations as _AppIntegrationsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,35 +15,29 @@ const metadata = { sigV4ServiceName: "app-integrations", endpointPrefix: "app-integrations", operations: { - CreateApplication: "POST /applications", - CreateDataIntegration: "POST /dataIntegrations", - CreateDataIntegrationAssociation: - "POST /dataIntegrations/{DataIntegrationIdentifier}/associations", - CreateEventIntegration: "POST /eventIntegrations", - DeleteApplication: "DELETE /applications/{Arn}", - DeleteDataIntegration: - "DELETE /dataIntegrations/{DataIntegrationIdentifier}", - DeleteEventIntegration: "DELETE /eventIntegrations/{Name}", - GetApplication: "GET /applications/{Arn}", - GetDataIntegration: "GET /dataIntegrations/{Identifier}", - GetEventIntegration: "GET /eventIntegrations/{Name}", - ListApplicationAssociations: - "GET /applications/{ApplicationId}/associations", - ListApplications: "GET /applications", - ListDataIntegrationAssociations: - "GET /dataIntegrations/{DataIntegrationIdentifier}/associations", - ListDataIntegrations: "GET /dataIntegrations", - ListEventIntegrationAssociations: - "GET /eventIntegrations/{EventIntegrationName}/associations", - ListEventIntegrations: "GET /eventIntegrations", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateApplication: "PATCH /applications/{Arn}", - UpdateDataIntegration: "PATCH /dataIntegrations/{Identifier}", - UpdateDataIntegrationAssociation: - "PATCH /dataIntegrations/{DataIntegrationIdentifier}/associations/{DataIntegrationAssociationIdentifier}", - UpdateEventIntegration: "PATCH /eventIntegrations/{Name}", + "CreateApplication": "POST /applications", + "CreateDataIntegration": "POST /dataIntegrations", + "CreateDataIntegrationAssociation": "POST /dataIntegrations/{DataIntegrationIdentifier}/associations", + "CreateEventIntegration": "POST /eventIntegrations", + "DeleteApplication": "DELETE /applications/{Arn}", + "DeleteDataIntegration": "DELETE /dataIntegrations/{DataIntegrationIdentifier}", + "DeleteEventIntegration": "DELETE /eventIntegrations/{Name}", + "GetApplication": "GET /applications/{Arn}", + "GetDataIntegration": "GET /dataIntegrations/{Identifier}", + "GetEventIntegration": "GET /eventIntegrations/{Name}", + "ListApplicationAssociations": "GET /applications/{ApplicationId}/associations", + "ListApplications": "GET /applications", + "ListDataIntegrationAssociations": "GET /dataIntegrations/{DataIntegrationIdentifier}/associations", + "ListDataIntegrations": "GET /dataIntegrations", + "ListEventIntegrationAssociations": "GET /eventIntegrations/{EventIntegrationName}/associations", + "ListEventIntegrations": "GET /eventIntegrations", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateApplication": "PATCH /applications/{Arn}", + "UpdateDataIntegration": "PATCH /dataIntegrations/{Identifier}", + "UpdateDataIntegrationAssociation": "PATCH /dataIntegrations/{DataIntegrationIdentifier}/associations/{DataIntegrationAssociationIdentifier}", + "UpdateEventIntegration": "PATCH /eventIntegrations/{Name}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/appintegrations/types.ts b/src/services/appintegrations/types.ts index 17167baf..ea779a50 100644 --- a/src/services/appintegrations/types.ts +++ b/src/services/appintegrations/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class AppIntegrations extends AWSServiceClient { @@ -41,254 +8,139 @@ export declare class AppIntegrations extends AWSServiceClient { input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | AccessDeniedException - | DuplicateResourceException - | InternalServiceError - | InvalidRequestException - | ResourceQuotaExceededException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | DuplicateResourceException | InternalServiceError | InvalidRequestException | ResourceQuotaExceededException | ThrottlingException | UnsupportedOperationException | CommonAwsError >; createDataIntegration( input: CreateDataIntegrationRequest, ): Effect.Effect< CreateDataIntegrationResponse, - | AccessDeniedException - | DuplicateResourceException - | InternalServiceError - | InvalidRequestException - | ResourceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | DuplicateResourceException | InternalServiceError | InvalidRequestException | ResourceQuotaExceededException | ThrottlingException | CommonAwsError >; createDataIntegrationAssociation( input: CreateDataIntegrationAssociationRequest, ): Effect.Effect< CreateDataIntegrationAssociationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ResourceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ResourceQuotaExceededException | ThrottlingException | CommonAwsError >; createEventIntegration( input: CreateEventIntegrationRequest, ): Effect.Effect< CreateEventIntegrationResponse, - | AccessDeniedException - | DuplicateResourceException - | InternalServiceError - | InvalidRequestException - | ResourceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | DuplicateResourceException | InternalServiceError | InvalidRequestException | ResourceQuotaExceededException | ThrottlingException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDataIntegration( input: DeleteDataIntegrationRequest, ): Effect.Effect< DeleteDataIntegrationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteEventIntegration( input: DeleteEventIntegrationRequest, ): Effect.Effect< DeleteEventIntegrationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getApplication( input: GetApplicationRequest, ): Effect.Effect< GetApplicationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getDataIntegration( input: GetDataIntegrationRequest, ): Effect.Effect< GetDataIntegrationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getEventIntegration( input: GetEventIntegrationRequest, ): Effect.Effect< GetEventIntegrationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listApplicationAssociations( input: ListApplicationAssociationsRequest, ): Effect.Effect< ListApplicationAssociationsResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listApplications( input: ListApplicationsRequest, ): Effect.Effect< ListApplicationsResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ThrottlingException | CommonAwsError >; listDataIntegrationAssociations( input: ListDataIntegrationAssociationsRequest, ): Effect.Effect< ListDataIntegrationAssociationsResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listDataIntegrations( input: ListDataIntegrationsRequest, ): Effect.Effect< ListDataIntegrationsResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ThrottlingException | CommonAwsError >; listEventIntegrationAssociations( input: ListEventIntegrationAssociationsRequest, ): Effect.Effect< ListEventIntegrationAssociationsResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listEventIntegrations( input: ListEventIntegrationsRequest, ): Effect.Effect< ListEventIntegrationsResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnsupportedOperationException | CommonAwsError >; updateDataIntegration( input: UpdateDataIntegrationRequest, ): Effect.Effect< UpdateDataIntegrationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDataIntegrationAssociation( input: UpdateDataIntegrationAssociationRequest, ): Effect.Effect< UpdateDataIntegrationAssociationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateEventIntegration( input: UpdateEventIntegrationRequest, ): Effect.Effect< UpdateEventIntegrationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -408,8 +260,7 @@ export interface CreateEventIntegrationRequest { export interface CreateEventIntegrationResponse { EventIntegrationArn?: string; } -export type DataIntegrationAssociationsList = - Array; +export type DataIntegrationAssociationsList = Array; export interface DataIntegrationAssociationSummary { DataIntegrationAssociationArn?: string; DataIntegrationArn?: string; @@ -427,15 +278,18 @@ export interface DataIntegrationSummary { export interface DeleteApplicationRequest { Arn: string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export interface DeleteDataIntegrationRequest { DataIntegrationIdentifier: string; } -export interface DeleteDataIntegrationResponse {} +export interface DeleteDataIntegrationResponse { +} export interface DeleteEventIntegrationRequest { Name: string; } -export interface DeleteEventIntegrationResponse {} +export interface DeleteEventIntegrationResponse { +} export type Description = string; export type DestinationURI = string; @@ -470,8 +324,7 @@ export interface EventIntegrationAssociation { EventBridgeRuleName?: string; ClientAssociationMetadata?: Record; } -export type EventIntegrationAssociationsList = - Array; +export type EventIntegrationAssociationsList = Array; export type EventIntegrationsList = Array; export type EventName = string; @@ -686,7 +539,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -705,7 +559,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationRequest { Arn: string; Name?: string; @@ -719,24 +574,28 @@ export interface UpdateApplicationRequest { ApplicationConfig?: ApplicationConfig; IframeConfig?: IframeConfig; } -export interface UpdateApplicationResponse {} +export interface UpdateApplicationResponse { +} export interface UpdateDataIntegrationAssociationRequest { DataIntegrationIdentifier: string; DataIntegrationAssociationIdentifier: string; ExecutionConfiguration: ExecutionConfiguration; } -export interface UpdateDataIntegrationAssociationResponse {} +export interface UpdateDataIntegrationAssociationResponse { +} export interface UpdateDataIntegrationRequest { Identifier: string; Name?: string; Description?: string; } -export interface UpdateDataIntegrationResponse {} +export interface UpdateDataIntegrationResponse { +} export interface UpdateEventIntegrationRequest { Name: string; Description?: string; } -export interface UpdateEventIntegrationResponse {} +export interface UpdateEventIntegrationResponse { +} export type URL = string; export type UUID = string; @@ -1017,13 +876,5 @@ export declare namespace UpdateEventIntegration { | CommonAwsError; } -export type AppIntegrationsErrors = - | AccessDeniedException - | DuplicateResourceException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ResourceQuotaExceededException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError; +export type AppIntegrationsErrors = AccessDeniedException | DuplicateResourceException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ResourceQuotaExceededException | ThrottlingException | UnsupportedOperationException | CommonAwsError; + diff --git a/src/services/application-auto-scaling/index.ts b/src/services/application-auto-scaling/index.ts index ea798e50..aee1eb7c 100644 --- a/src/services/application-auto-scaling/index.ts +++ b/src/services/application-auto-scaling/index.ts @@ -5,25 +5,7 @@ import type { ApplicationAutoScaling as _ApplicationAutoScalingClient } from "./ export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/application-auto-scaling/types.ts b/src/services/application-auto-scaling/types.ts index 60c8ac5f..01113f16 100644 --- a/src/services/application-auto-scaling/types.ts +++ b/src/services/application-auto-scaling/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ApplicationAutoScaling extends AWSServiceClient { @@ -42,72 +8,43 @@ export declare class ApplicationAutoScaling extends AWSServiceClient { input: DeleteScalingPolicyRequest, ): Effect.Effect< DeleteScalingPolicyResponse, - | ConcurrentUpdateException - | InternalServiceException - | ObjectNotFoundException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | ObjectNotFoundException | ValidationException | CommonAwsError >; deleteScheduledAction( input: DeleteScheduledActionRequest, ): Effect.Effect< DeleteScheduledActionResponse, - | ConcurrentUpdateException - | InternalServiceException - | ObjectNotFoundException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | ObjectNotFoundException | ValidationException | CommonAwsError >; deregisterScalableTarget( input: DeregisterScalableTargetRequest, ): Effect.Effect< DeregisterScalableTargetResponse, - | ConcurrentUpdateException - | InternalServiceException - | ObjectNotFoundException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | ObjectNotFoundException | ValidationException | CommonAwsError >; describeScalableTargets( input: DescribeScalableTargetsRequest, ): Effect.Effect< DescribeScalableTargetsResponse, - | ConcurrentUpdateException - | InternalServiceException - | InvalidNextTokenException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | InvalidNextTokenException | ValidationException | CommonAwsError >; describeScalingActivities( input: DescribeScalingActivitiesRequest, ): Effect.Effect< DescribeScalingActivitiesResponse, - | ConcurrentUpdateException - | InternalServiceException - | InvalidNextTokenException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | InvalidNextTokenException | ValidationException | CommonAwsError >; describeScalingPolicies( input: DescribeScalingPoliciesRequest, ): Effect.Effect< DescribeScalingPoliciesResponse, - | ConcurrentUpdateException - | FailedResourceAccessException - | InternalServiceException - | InvalidNextTokenException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | FailedResourceAccessException | InternalServiceException | InvalidNextTokenException | ValidationException | CommonAwsError >; describeScheduledActions( input: DescribeScheduledActionsRequest, ): Effect.Effect< DescribeScheduledActionsResponse, - | ConcurrentUpdateException - | InternalServiceException - | InvalidNextTokenException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | InvalidNextTokenException | ValidationException | CommonAwsError >; getPredictiveScalingForecast( input: GetPredictiveScalingForecastRequest, @@ -125,43 +62,25 @@ export declare class ApplicationAutoScaling extends AWSServiceClient { input: PutScalingPolicyRequest, ): Effect.Effect< PutScalingPolicyResponse, - | ConcurrentUpdateException - | FailedResourceAccessException - | InternalServiceException - | LimitExceededException - | ObjectNotFoundException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | FailedResourceAccessException | InternalServiceException | LimitExceededException | ObjectNotFoundException | ValidationException | CommonAwsError >; putScheduledAction( input: PutScheduledActionRequest, ): Effect.Effect< PutScheduledActionResponse, - | ConcurrentUpdateException - | InternalServiceException - | LimitExceededException - | ObjectNotFoundException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | LimitExceededException | ObjectNotFoundException | ValidationException | CommonAwsError >; registerScalableTarget( input: RegisterScalableTargetRequest, ): Effect.Effect< RegisterScalableTargetResponse, - | ConcurrentUpdateException - | InternalServiceException - | LimitExceededException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | LimitExceededException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError + ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -171,10 +90,7 @@ export declare class ApplicationAutoScaling extends AWSServiceClient { >; } -export type AdjustmentType = - | "ChangeInCapacity" - | "PercentChangeInCapacity" - | "ExactCapacity"; +export type AdjustmentType = "ChangeInCapacity" | "PercentChangeInCapacity" | "ExactCapacity"; export interface Alarm { AlarmName: string; AlarmARN: string; @@ -207,20 +123,23 @@ export interface DeleteScalingPolicyRequest { ResourceId: string; ScalableDimension: ScalableDimension; } -export interface DeleteScalingPolicyResponse {} +export interface DeleteScalingPolicyResponse { +} export interface DeleteScheduledActionRequest { ServiceNamespace: ServiceNamespace; ScheduledActionName: string; ResourceId: string; ScalableDimension: ScalableDimension; } -export interface DeleteScheduledActionResponse {} +export interface DeleteScheduledActionResponse { +} export interface DeregisterScalableTargetRequest { ServiceNamespace: ServiceNamespace; ResourceId: string; ScalableDimension: ScalableDimension; } -export interface DeregisterScalableTargetResponse {} +export interface DeregisterScalableTargetResponse { +} export interface DescribeScalableTargetsRequest { ServiceNamespace: ServiceNamespace; ResourceIds?: Array; @@ -343,42 +262,8 @@ export type MetricNamespace = string; export type MetricScale = number; -export type MetricStatistic = - | "Average" - | "Minimum" - | "Maximum" - | "SampleCount" - | "Sum"; -export type MetricType = - | "DynamoDBReadCapacityUtilization" - | "DynamoDBWriteCapacityUtilization" - | "ALBRequestCountPerTarget" - | "RDSReaderAverageCPUUtilization" - | "RDSReaderAverageDatabaseConnections" - | "EC2SpotFleetRequestAverageCPUUtilization" - | "EC2SpotFleetRequestAverageNetworkIn" - | "EC2SpotFleetRequestAverageNetworkOut" - | "SageMakerVariantInvocationsPerInstance" - | "ECSServiceAverageCPUUtilization" - | "ECSServiceAverageMemoryUtilization" - | "AppStreamAverageCapacityUtilization" - | "ComprehendInferenceUtilization" - | "LambdaProvisionedConcurrencyUtilization" - | "CassandraReadCapacityUtilization" - | "CassandraWriteCapacityUtilization" - | "KafkaBrokerStorageUtilization" - | "ElastiCacheEngineCPUUtilization" - | "ElastiCacheDatabaseMemoryUsagePercentage" - | "ElastiCachePrimaryEngineCPUUtilization" - | "ElastiCacheReplicaEngineCPUUtilization" - | "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" - | "NeptuneReaderAverageCPUUtilization" - | "SageMakerVariantProvisionedConcurrencyUtilization" - | "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage" - | "SageMakerInferenceComponentInvocationsPerCopy" - | "WorkSpacesAverageUserSessionsCapacityUtilization" - | "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution" - | "SageMakerVariantConcurrentRequestsPerModelHighResolution"; +export type MetricStatistic = "Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"; +export type MetricType = "DynamoDBReadCapacityUtilization" | "DynamoDBWriteCapacityUtilization" | "ALBRequestCountPerTarget" | "RDSReaderAverageCPUUtilization" | "RDSReaderAverageDatabaseConnections" | "EC2SpotFleetRequestAverageCPUUtilization" | "EC2SpotFleetRequestAverageNetworkIn" | "EC2SpotFleetRequestAverageNetworkOut" | "SageMakerVariantInvocationsPerInstance" | "ECSServiceAverageCPUUtilization" | "ECSServiceAverageMemoryUtilization" | "AppStreamAverageCapacityUtilization" | "ComprehendInferenceUtilization" | "LambdaProvisionedConcurrencyUtilization" | "CassandraReadCapacityUtilization" | "CassandraWriteCapacityUtilization" | "KafkaBrokerStorageUtilization" | "ElastiCacheEngineCPUUtilization" | "ElastiCacheDatabaseMemoryUsagePercentage" | "ElastiCachePrimaryEngineCPUUtilization" | "ElastiCacheReplicaEngineCPUUtilization" | "ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage" | "NeptuneReaderAverageCPUUtilization" | "SageMakerVariantProvisionedConcurrencyUtilization" | "ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage" | "SageMakerInferenceComponentInvocationsPerCopy" | "WorkSpacesAverageUserSessionsCapacityUtilization" | "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution" | "SageMakerVariantConcurrentRequestsPerModelHighResolution"; export type MetricUnit = string; export type MinAdjustmentMagnitude = number; @@ -397,10 +282,7 @@ export declare class ObjectNotFoundException extends EffectData.TaggedError( }> {} export type PolicyName = string; -export type PolicyType = - | "StepScaling" - | "TargetTrackingScaling" - | "PredictiveScaling"; +export type PolicyType = "StepScaling" | "TargetTrackingScaling" | "PredictiveScaling"; export interface PredefinedMetricSpecification { PredefinedMetricType: MetricType; ResourceLabel?: string; @@ -410,9 +292,7 @@ export interface PredictiveScalingCustomizedMetricSpecification { } export type PredictiveScalingForecastTimestamps = Array; export type PredictiveScalingForecastValues = Array; -export type PredictiveScalingMaxCapacityBreachBehavior = - | "HonorMaxCapacity" - | "IncreaseMaxCapacity"; +export type PredictiveScalingMaxCapacityBreachBehavior = "HonorMaxCapacity" | "IncreaseMaxCapacity"; export type PredictiveScalingMaxCapacityBuffer = number; export interface PredictiveScalingMetric { @@ -420,8 +300,7 @@ export interface PredictiveScalingMetric { MetricName?: string; Namespace?: string; } -export type PredictiveScalingMetricDataQueries = - Array; +export type PredictiveScalingMetricDataQueries = Array; export interface PredictiveScalingMetricDataQuery { Id: string; Expression?: string; @@ -435,8 +314,7 @@ export interface PredictiveScalingMetricDimension { } export type PredictiveScalingMetricDimensionName = string; -export type PredictiveScalingMetricDimensions = - Array; +export type PredictiveScalingMetricDimensions = Array; export type PredictiveScalingMetricDimensionValue = string; export type PredictiveScalingMetricName = string; @@ -452,8 +330,7 @@ export interface PredictiveScalingMetricSpecification { CustomizedLoadMetricSpecification?: PredictiveScalingCustomizedMetricSpecification; CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedMetricSpecification; } -export type PredictiveScalingMetricSpecifications = - Array; +export type PredictiveScalingMetricSpecifications = Array; export interface PredictiveScalingMetricStat { Metric: PredictiveScalingMetric; Stat: string; @@ -510,7 +387,8 @@ export interface PutScheduledActionRequest { EndTime?: Date | string; ScalableTargetAction?: ScalableTargetAction; } -export interface PutScheduledActionResponse {} +export interface PutScheduledActionResponse { +} export interface RegisterScalableTargetRequest { ServiceNamespace: ServiceNamespace; ResourceId: string; @@ -541,31 +419,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( }> {} export type ReturnData = boolean; -export type ScalableDimension = - | "ecs:service:DesiredCount" - | "ec2:spot-fleet-request:TargetCapacity" - | "elasticmapreduce:instancegroup:InstanceCount" - | "appstream:fleet:DesiredCapacity" - | "dynamodb:table:ReadCapacityUnits" - | "dynamodb:table:WriteCapacityUnits" - | "dynamodb:index:ReadCapacityUnits" - | "dynamodb:index:WriteCapacityUnits" - | "rds:cluster:ReadReplicaCount" - | "sagemaker:variant:DesiredInstanceCount" - | "custom-resource:ResourceType:Property" - | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" - | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" - | "lambda:function:ProvisionedConcurrency" - | "cassandra:table:ReadCapacityUnits" - | "cassandra:table:WriteCapacityUnits" - | "kafka:broker-storage:VolumeSize" - | "elasticache:cache-cluster:Nodes" - | "elasticache:replication-group:NodeGroups" - | "elasticache:replication-group:Replicas" - | "neptune:cluster:ReadReplicaCount" - | "sagemaker:variant:DesiredProvisionedConcurrency" - | "sagemaker:inference-component:DesiredCopyCount" - | "workspaces:workspacespool:DesiredUserSessions"; +export type ScalableDimension = "ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "elasticmapreduce:instancegroup:InstanceCount" | "appstream:fleet:DesiredCapacity" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits" | "rds:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredInstanceCount" | "custom-resource:ResourceType:Property" | "comprehend:document-classifier-endpoint:DesiredInferenceUnits" | "comprehend:entity-recognizer-endpoint:DesiredInferenceUnits" | "lambda:function:ProvisionedConcurrency" | "cassandra:table:ReadCapacityUnits" | "cassandra:table:WriteCapacityUnits" | "kafka:broker-storage:VolumeSize" | "elasticache:cache-cluster:Nodes" | "elasticache:replication-group:NodeGroups" | "elasticache:replication-group:Replicas" | "neptune:cluster:ReadReplicaCount" | "sagemaker:variant:DesiredProvisionedConcurrency" | "sagemaker:inference-component:DesiredCopyCount" | "workspaces:workspacespool:DesiredUserSessions"; export interface ScalableTarget { ServiceNamespace: ServiceNamespace; ResourceId: string; @@ -598,13 +452,7 @@ export interface ScalingActivity { Details?: string; NotScaledReasons?: Array; } -export type ScalingActivityStatusCode = - | "Pending" - | "InProgress" - | "Successful" - | "Overridden" - | "Unfulfilled" - | "Failed"; +export type ScalingActivityStatusCode = "Pending" | "InProgress" | "Successful" | "Overridden" | "Unfulfilled" | "Failed"; export type ScalingAdjustment = number; export type ScalingPolicies = Array; @@ -639,22 +487,7 @@ export interface ScheduledAction { export type ScheduledActionName = string; export type ScheduledActions = Array; -export type ServiceNamespace = - | "ecs" - | "elasticmapreduce" - | "ec2" - | "appstream" - | "dynamodb" - | "rds" - | "sagemaker" - | "custom-resource" - | "comprehend" - | "lambda" - | "cassandra" - | "kafka" - | "elasticache" - | "neptune" - | "workspaces"; +export type ServiceNamespace = "ecs" | "elasticmapreduce" | "ec2" | "appstream" | "dynamodb" | "rds" | "sagemaker" | "custom-resource" | "comprehend" | "lambda" | "cassandra" | "kafka" | "elasticache" | "neptune" | "workspaces"; export interface StepAdjustment { MetricIntervalLowerBound?: number; MetricIntervalUpperBound?: number; @@ -681,7 +514,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TargetTrackingMetric { @@ -689,8 +523,7 @@ export interface TargetTrackingMetric { MetricName?: string; Namespace?: string; } -export type TargetTrackingMetricDataQueries = - Array; +export type TargetTrackingMetricDataQueries = Array; export interface TargetTrackingMetricDataQuery { Expression?: string; Id: string; @@ -704,8 +537,7 @@ export interface TargetTrackingMetricDimension { } export type TargetTrackingMetricDimensionName = string; -export type TargetTrackingMetricDimensions = - Array; +export type TargetTrackingMetricDimensions = Array; export type TargetTrackingMetricDimensionValue = string; export type TargetTrackingMetricName = string; @@ -739,7 +571,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -837,7 +670,9 @@ export declare namespace GetPredictiveScalingForecast { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace PutScalingPolicy { @@ -895,14 +730,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type ApplicationAutoScalingErrors = - | ConcurrentUpdateException - | FailedResourceAccessException - | InternalServiceException - | InvalidNextTokenException - | LimitExceededException - | ObjectNotFoundException - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type ApplicationAutoScalingErrors = ConcurrentUpdateException | FailedResourceAccessException | InternalServiceException | InvalidNextTokenException | LimitExceededException | ObjectNotFoundException | ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/application-discovery-service/index.ts b/src/services/application-discovery-service/index.ts index fc589f2b..5bcc4280 100644 --- a/src/services/application-discovery-service/index.ts +++ b/src/services/application-discovery-service/index.ts @@ -5,26 +5,7 @@ import type { ApplicationDiscoveryService as _ApplicationDiscoveryServiceClient export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -37,8 +18,7 @@ const metadata = { } as const satisfies ServiceMetadata; export type _ApplicationDiscoveryService = _ApplicationDiscoveryServiceClient; -export interface ApplicationDiscoveryService - extends _ApplicationDiscoveryService {} +export interface ApplicationDiscoveryService extends _ApplicationDiscoveryService {} export const ApplicationDiscoveryService = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/application-discovery-service/types.ts b/src/services/application-discovery-service/types.ts index 8d39233c..ebf77049 100644 --- a/src/services/application-discovery-service/types.ts +++ b/src/services/application-discovery-service/types.ts @@ -7,323 +7,169 @@ export declare class ApplicationDiscoveryService extends AWSServiceClient { input: AssociateConfigurationItemsToApplicationRequest, ): Effect.Effect< AssociateConfigurationItemsToApplicationResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; batchDeleteAgents( input: BatchDeleteAgentsRequest, ): Effect.Effect< BatchDeleteAgentsResponse, - | AuthorizationErrorException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; batchDeleteImportData( input: BatchDeleteImportDataRequest, ): Effect.Effect< BatchDeleteImportDataResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; createTags( input: CreateTagsRequest, ): Effect.Effect< CreateTagsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ResourceNotFoundException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ResourceNotFoundException | ServerInternalErrorException | CommonAwsError >; deleteApplications( input: DeleteApplicationsRequest, ): Effect.Effect< DeleteApplicationsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; deleteTags( input: DeleteTagsRequest, ): Effect.Effect< DeleteTagsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ResourceNotFoundException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ResourceNotFoundException | ServerInternalErrorException | CommonAwsError >; describeAgents( input: DescribeAgentsRequest, ): Effect.Effect< DescribeAgentsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; describeBatchDeleteConfigurationTask( input: DescribeBatchDeleteConfigurationTaskRequest, ): Effect.Effect< DescribeBatchDeleteConfigurationTaskResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; describeConfigurations( input: DescribeConfigurationsRequest, ): Effect.Effect< DescribeConfigurationsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; describeContinuousExports( input: DescribeContinuousExportsRequest, ): Effect.Effect< DescribeContinuousExportsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | OperationNotPermittedException - | ResourceNotFoundException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | OperationNotPermittedException | ResourceNotFoundException | ServerInternalErrorException | CommonAwsError >; describeExportConfigurations( input: DescribeExportConfigurationsRequest, ): Effect.Effect< DescribeExportConfigurationsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ResourceNotFoundException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ResourceNotFoundException | ServerInternalErrorException | CommonAwsError >; describeExportTasks( input: DescribeExportTasksRequest, ): Effect.Effect< DescribeExportTasksResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; describeImportTasks( input: DescribeImportTasksRequest, ): Effect.Effect< DescribeImportTasksResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; describeTags( input: DescribeTagsRequest, ): Effect.Effect< DescribeTagsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ResourceNotFoundException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ResourceNotFoundException | ServerInternalErrorException | CommonAwsError >; disassociateConfigurationItemsFromApplication( input: DisassociateConfigurationItemsFromApplicationRequest, ): Effect.Effect< DisassociateConfigurationItemsFromApplicationResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; - exportConfigurations(input: {}): Effect.Effect< + exportConfigurations( + input: {}, + ): Effect.Effect< ExportConfigurationsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | OperationNotPermittedException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | OperationNotPermittedException | ServerInternalErrorException | CommonAwsError >; getDiscoverySummary( input: GetDiscoverySummaryRequest, ): Effect.Effect< GetDiscoverySummaryResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; listConfigurations( input: ListConfigurationsRequest, ): Effect.Effect< ListConfigurationsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ResourceNotFoundException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ResourceNotFoundException | ServerInternalErrorException | CommonAwsError >; listServerNeighbors( input: ListServerNeighborsRequest, ): Effect.Effect< ListServerNeighborsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; startBatchDeleteConfigurationTask( input: StartBatchDeleteConfigurationTaskRequest, ): Effect.Effect< StartBatchDeleteConfigurationTaskResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | LimitExceededException - | OperationNotPermittedException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | LimitExceededException | OperationNotPermittedException | ServerInternalErrorException | CommonAwsError >; startContinuousExport( input: StartContinuousExportRequest, ): Effect.Effect< StartContinuousExportResponse, - | AuthorizationErrorException - | ConflictErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | OperationNotPermittedException - | ResourceInUseException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | ConflictErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | OperationNotPermittedException | ResourceInUseException | ServerInternalErrorException | CommonAwsError >; startDataCollectionByAgentIds( input: StartDataCollectionByAgentIdsRequest, ): Effect.Effect< StartDataCollectionByAgentIdsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; startExportTask( input: StartExportTaskRequest, ): Effect.Effect< StartExportTaskResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | OperationNotPermittedException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | OperationNotPermittedException | ServerInternalErrorException | CommonAwsError >; startImportTask( input: StartImportTaskRequest, ): Effect.Effect< StartImportTaskResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ResourceInUseException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ResourceInUseException | ServerInternalErrorException | CommonAwsError >; stopContinuousExport( input: StopContinuousExportRequest, ): Effect.Effect< StopContinuousExportResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | OperationNotPermittedException - | ResourceInUseException - | ResourceNotFoundException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | OperationNotPermittedException | ResourceInUseException | ResourceNotFoundException | ServerInternalErrorException | CommonAwsError >; stopDataCollectionByAgentIds( input: StopDataCollectionByAgentIdsRequest, ): Effect.Effect< StopDataCollectionByAgentIdsResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | AuthorizationErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | ServerInternalErrorException - | CommonAwsError + AuthorizationErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | ServerInternalErrorException | CommonAwsError >; } @@ -354,13 +200,7 @@ export interface AgentNetworkInfo { } export type AgentNetworkInfoList = Array; export type AgentsInfo = Array; -export type AgentStatus = - | "HEALTHY" - | "UNHEALTHY" - | "RUNNING" - | "UNKNOWN" - | "BLACKLISTED" - | "SHUTDOWN"; +export type AgentStatus = "HEALTHY" | "UNHEALTHY" | "RUNNING" | "UNKNOWN" | "BLACKLISTED" | "SHUTDOWN"; export type ApplicationDescription = string; export type ApplicationId = string; @@ -374,7 +214,8 @@ export interface AssociateConfigurationItemsToApplicationRequest { applicationConfigurationId: string; configurationIds: Array; } -export interface AssociateConfigurationItemsToApplicationResponse {} +export interface AssociateConfigurationItemsToApplicationResponse { +} export declare class AuthorizationErrorException extends EffectData.TaggedError( "AuthorizationErrorException", )<{ @@ -403,21 +244,13 @@ export interface BatchDeleteConfigurationTask { failedConfigurations?: Array; deletionWarnings?: Array; } -export type BatchDeleteConfigurationTaskStatus = - | "INITIALIZING" - | "VALIDATING" - | "DELETING" - | "COMPLETED" - | "FAILED"; +export type BatchDeleteConfigurationTaskStatus = "INITIALIZING" | "VALIDATING" | "DELETING" | "COMPLETED" | "FAILED"; export interface BatchDeleteImportDataError { importTaskId?: string; errorCode?: BatchDeleteImportDataErrorCode; errorDescription?: string; } -export type BatchDeleteImportDataErrorCode = - | "NOT_FOUND" - | "INTERNAL_SERVER_ERROR" - | "OVER_LIMIT"; +export type BatchDeleteImportDataErrorCode = "NOT_FOUND" | "INTERNAL_SERVER_ERROR" | "OVER_LIMIT"; export type BatchDeleteImportDataErrorDescription = string; export type BatchDeleteImportDataErrorList = Array; @@ -440,11 +273,7 @@ export type Configuration = Record; export type ConfigurationId = string; export type ConfigurationIdList = Array; -export type ConfigurationItemType = - | "SERVER" - | "PROCESS" - | "CONNECTION" - | "APPLICATION"; +export type ConfigurationItemType = "SERVER" | "PROCESS" | "CONNECTION" | "APPLICATION"; export type Configurations = Array>; export type ConfigurationsDownloadUrl = string; @@ -475,14 +304,7 @@ export interface ContinuousExportDescription { } export type ContinuousExportDescriptions = Array; export type ContinuousExportIds = Array; -export type ContinuousExportStatus = - | "START_IN_PROGRESS" - | "START_FAILED" - | "ACTIVE" - | "ERROR" - | "STOP_IN_PROGRESS" - | "STOP_FAILED" - | "INACTIVE"; +export type ContinuousExportStatus = "START_IN_PROGRESS" | "START_FAILED" | "ACTIVE" | "ERROR" | "STOP_IN_PROGRESS" | "STOP_FAILED" | "INACTIVE"; export interface CreateApplicationRequest { name: string; description?: string; @@ -495,7 +317,8 @@ export interface CreateTagsRequest { configurationIds: Array; tags: Array; } -export interface CreateTagsResponse {} +export interface CreateTagsResponse { +} export interface CustomerAgentInfo { activeAgents: number; healthyAgents: number; @@ -539,20 +362,19 @@ export interface DeleteAgent { agentId: string; force?: boolean; } -export type DeleteAgentErrorCode = - | "NOT_FOUND" - | "INTERNAL_SERVER_ERROR" - | "AGENT_IN_USE"; +export type DeleteAgentErrorCode = "NOT_FOUND" | "INTERNAL_SERVER_ERROR" | "AGENT_IN_USE"; export type DeleteAgents = Array; export interface DeleteApplicationsRequest { configurationIds: Array; } -export interface DeleteApplicationsResponse {} +export interface DeleteApplicationsResponse { +} export interface DeleteTagsRequest { configurationIds: Array; tags?: Array; } -export interface DeleteTagsResponse {} +export interface DeleteTagsResponse { +} export type DeletionConfigurationItemType = "SERVER"; export interface DeletionWarning { configurationId?: string; @@ -639,7 +461,8 @@ export interface DisassociateConfigurationItemsFromApplicationRequest { applicationConfigurationId: string; configurationIds: Array; } -export interface DisassociateConfigurationItemsFromApplicationResponse {} +export interface DisassociateConfigurationItemsFromApplicationResponse { +} export type EC2InstanceType = string; export interface Ec2RecommendationsExportPreferences { @@ -684,9 +507,7 @@ interface _ExportPreferences { ec2RecommendationsPreferences?: Ec2RecommendationsExportPreferences; } -export type ExportPreferences = _ExportPreferences & { - ec2RecommendationsPreferences: Ec2RecommendationsExportPreferences; -}; +export type ExportPreferences = (_ExportPreferences & { ec2RecommendationsPreferences: Ec2RecommendationsExportPreferences }); export type ExportRequestTime = Date | string; export type ExportsInfo = Array; @@ -699,11 +520,7 @@ export interface FailedConfiguration { errorMessage?: string; } export type FailedConfigurationList = Array; -export type FileClassification = - | "MODELIZEIT_EXPORT" - | "RVTOOLS_EXPORT" - | "VMWARE_NSX_EXPORT" - | "IMPORT_TEMPLATE"; +export type FileClassification = "MODELIZEIT_EXPORT" | "RVTOOLS_EXPORT" | "VMWARE_NSX_EXPORT" | "IMPORT_TEMPLATE"; export interface Filter { name: string; values: Array; @@ -715,7 +532,8 @@ export type Filters = Array; export type FilterValue = string; export type FilterValues = Array; -export interface GetDiscoverySummaryRequest {} +export interface GetDiscoverySummaryRequest { +} export interface GetDiscoverySummaryResponse { servers?: number; applications?: number; @@ -731,19 +549,7 @@ export declare class HomeRegionNotSetException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type ImportStatus = - | "IMPORT_IN_PROGRESS" - | "IMPORT_COMPLETE" - | "IMPORT_COMPLETE_WITH_ERRORS" - | "IMPORT_FAILED" - | "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED" - | "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED" - | "IMPORT_FAILED_UNSUPPORTED_FILE_TYPE" - | "DELETE_IN_PROGRESS" - | "DELETE_COMPLETE" - | "DELETE_FAILED" - | "DELETE_FAILED_LIMIT_EXCEEDED" - | "INTERNAL_ERROR"; +export type ImportStatus = "IMPORT_IN_PROGRESS" | "IMPORT_COMPLETE" | "IMPORT_COMPLETE_WITH_ERRORS" | "IMPORT_FAILED" | "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED" | "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED" | "IMPORT_FAILED_UNSUPPORTED_FILE_TYPE" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED" | "DELETE_FAILED_LIMIT_EXCEEDED" | "INTERNAL_ERROR"; export interface ImportTask { importTaskId?: string; clientRequestToken?: string; @@ -764,11 +570,7 @@ export interface ImportTaskFilter { name?: ImportTaskFilterName; values?: Array; } -export type ImportTaskFilterName = - | "IMPORT_TASK_ID" - | "STATUS" - | "NAME" - | "FILE_CLASSIFICATION"; +export type ImportTaskFilterName = "IMPORT_TASK_ID" | "STATUS" | "NAME" | "FILE_CLASSIFICATION"; export type ImportTaskFilterValue = string; export type ImportTaskFilterValueList = Array; @@ -880,7 +682,8 @@ export interface StartBatchDeleteConfigurationTaskRequest { export interface StartBatchDeleteConfigurationTaskResponse { taskId?: string; } -export interface StartContinuousExportRequest {} +export interface StartContinuousExportRequest { +} export interface StartContinuousExportResponse { exportId?: string; s3Bucket?: string; @@ -954,7 +757,8 @@ export interface UpdateApplicationRequest { description?: string; wave?: string; } -export interface UpdateApplicationResponse {} +export interface UpdateApplicationResponse { +} export interface UsageMetricBasis { name?: string; percentageAdjust?: number; @@ -1323,15 +1127,5 @@ export declare namespace UpdateApplication { | CommonAwsError; } -export type ApplicationDiscoveryServiceErrors = - | AuthorizationErrorException - | ConflictErrorException - | HomeRegionNotSetException - | InvalidParameterException - | InvalidParameterValueException - | LimitExceededException - | OperationNotPermittedException - | ResourceInUseException - | ResourceNotFoundException - | ServerInternalErrorException - | CommonAwsError; +export type ApplicationDiscoveryServiceErrors = AuthorizationErrorException | ConflictErrorException | HomeRegionNotSetException | InvalidParameterException | InvalidParameterValueException | LimitExceededException | OperationNotPermittedException | ResourceInUseException | ResourceNotFoundException | ServerInternalErrorException | CommonAwsError; + diff --git a/src/services/application-insights/index.ts b/src/services/application-insights/index.ts index 549810ac..e7a39b4f 100644 --- a/src/services/application-insights/index.ts +++ b/src/services/application-insights/index.ts @@ -5,24 +5,7 @@ import type { ApplicationInsights as _ApplicationInsightsClient } from "./types. export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/application-insights/types.ts b/src/services/application-insights/types.ts index 1e26bcab..82f15b61 100644 --- a/src/services/application-insights/types.ts +++ b/src/services/application-insights/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ApplicationInsights extends AWSServiceClient { @@ -41,153 +8,97 @@ export declare class ApplicationInsights extends AWSServiceClient { input: AddWorkloadRequest, ): Effect.Effect< AddWorkloadResponse, - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | AccessDeniedException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | TagsAlreadyExistException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceInUseException | ResourceNotFoundException | TagsAlreadyExistException | ValidationException | CommonAwsError >; createComponent( input: CreateComponentRequest, ): Effect.Effect< CreateComponentResponse, - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; createLogPattern( input: CreateLogPatternRequest, ): Effect.Effect< CreateLogPatternResponse, - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteComponent( input: DeleteComponentRequest, ): Effect.Effect< DeleteComponentResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteLogPattern( input: DeleteLogPatternRequest, ): Effect.Effect< DeleteLogPatternResponse, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeApplication( input: DescribeApplicationRequest, ): Effect.Effect< DescribeApplicationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeComponent( input: DescribeComponentRequest, ): Effect.Effect< DescribeComponentResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeComponentConfiguration( input: DescribeComponentConfigurationRequest, ): Effect.Effect< DescribeComponentConfigurationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeComponentConfigurationRecommendation( input: DescribeComponentConfigurationRecommendationRequest, ): Effect.Effect< DescribeComponentConfigurationRecommendationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeLogPattern( input: DescribeLogPatternRequest, ): Effect.Effect< DescribeLogPatternResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeObservation( input: DescribeObservationRequest, ): Effect.Effect< DescribeObservationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeProblem( input: DescribeProblemRequest, ): Effect.Effect< DescribeProblemResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeProblemObservations( input: DescribeProblemObservationsRequest, ): Effect.Effect< DescribeProblemObservationsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeWorkload( input: DescribeWorkloadRequest, ): Effect.Effect< DescribeWorkloadResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listApplications( input: ListApplicationsRequest, @@ -199,46 +110,31 @@ export declare class ApplicationInsights extends AWSServiceClient { input: ListComponentsRequest, ): Effect.Effect< ListComponentsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listConfigurationHistory( input: ListConfigurationHistoryRequest, ): Effect.Effect< ListConfigurationHistoryResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listLogPatterns( input: ListLogPatternsRequest, ): Effect.Effect< ListLogPatternsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listLogPatternSets( input: ListLogPatternSetsRequest, ): Effect.Effect< ListLogPatternSetsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listProblems( input: ListProblemsRequest, ): Effect.Effect< ListProblemsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, @@ -250,28 +146,19 @@ export declare class ApplicationInsights extends AWSServiceClient { input: ListWorkloadsRequest, ): Effect.Effect< ListWorkloadsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; removeWorkload( input: RemoveWorkloadRequest, ): Effect.Effect< RemoveWorkloadResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError + ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -283,58 +170,37 @@ export declare class ApplicationInsights extends AWSServiceClient { input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateComponent( input: UpdateComponentRequest, ): Effect.Effect< UpdateComponentResponse, - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateComponentConfiguration( input: UpdateComponentConfigurationRequest, ): Effect.Effect< UpdateComponentConfigurationResponse, - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateLogPattern( input: UpdateLogPatternRequest, ): Effect.Effect< UpdateLogPatternResponse, - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateProblem( input: UpdateProblemRequest, ): Effect.Effect< UpdateProblemResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateWorkload( input: UpdateWorkloadRequest, ): Effect.Effect< UpdateWorkloadResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -429,11 +295,7 @@ export type ConfigurationEventMonitoredResourceARN = string; export type ConfigurationEventResourceName = string; -export type ConfigurationEventResourceType = - | "CLOUDWATCH_ALARM" - | "CLOUDWATCH_LOG" - | "CLOUDFORMATION" - | "SSM_ASSOCIATION"; +export type ConfigurationEventResourceType = "CLOUDWATCH_ALARM" | "CLOUDWATCH_LOG" | "CLOUDFORMATION" | "SSM_ASSOCIATION"; export type ConfigurationEventStatus = "INFO" | "WARN" | "ERROR"; export type ConfigurationEventTime = Date | string; @@ -457,7 +319,8 @@ export interface CreateComponentRequest { ComponentName: string; ResourceList: Array; } -export interface CreateComponentResponse {} +export interface CreateComponentResponse { +} export interface CreateLogPatternRequest { ResourceGroupName: string; PatternSetName: string; @@ -476,18 +339,21 @@ export type CWEMonitorEnabled = boolean; export interface DeleteApplicationRequest { ResourceGroupName: string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export interface DeleteComponentRequest { ResourceGroupName: string; ComponentName: string; } -export interface DeleteComponentResponse {} +export interface DeleteComponentResponse { +} export interface DeleteLogPatternRequest { ResourceGroupName: string; PatternSetName: string; PatternName: string; } -export interface DeleteLogPatternResponse {} +export interface DeleteLogPatternResponse { +} export interface DescribeApplicationRequest { ResourceGroupName: string; AccountId?: string; @@ -835,7 +701,8 @@ export interface RemoveWorkloadRequest { ComponentName: string; WorkloadId: string; } -export interface RemoveWorkloadResponse {} +export interface RemoveWorkloadResponse { +} export type ResolutionMethod = "MANUAL" | "AUTOMATIC" | "UNRESOLVED"; export type ResourceARN = string; @@ -875,12 +742,7 @@ export type StatesInput = string; export type StatesStatus = string; -export type Status = - | "IGNORE" - | "RESOLVED" - | "PENDING" - | "RECURRING" - | "RECOVERING"; +export type Status = "IGNORE" | "RESOLVED" | "PENDING" | "RECURRING" | "RECOVERING"; export interface Tag { Key: string; Value: string; @@ -893,7 +755,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export declare class TagsAlreadyExistException extends EffectData.TaggedError( "TagsAlreadyExistException", )<{ @@ -901,30 +764,7 @@ export declare class TagsAlreadyExistException extends EffectData.TaggedError( }> {} export type TagValue = string; -export type Tier = - | "CUSTOM" - | "DEFAULT" - | "DOT_NET_CORE" - | "DOT_NET_WORKER" - | "DOT_NET_WEB_TIER" - | "DOT_NET_WEB" - | "SQL_SERVER" - | "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP" - | "MYSQL" - | "POSTGRESQL" - | "JAVA_JMX" - | "ORACLE" - | "SAP_HANA_MULTI_NODE" - | "SAP_HANA_SINGLE_NODE" - | "SAP_HANA_HIGH_AVAILABILITY" - | "SAP_ASE_SINGLE_NODE" - | "SAP_ASE_HIGH_AVAILABILITY" - | "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" - | "SHAREPOINT" - | "ACTIVE_DIRECTORY" - | "SAP_NETWEAVER_STANDARD" - | "SAP_NETWEAVER_DISTRIBUTED" - | "SAP_NETWEAVER_HIGH_AVAILABILITY"; +export type Tier = "CUSTOM" | "DEFAULT" | "DOT_NET_CORE" | "DOT_NET_WORKER" | "DOT_NET_WEB_TIER" | "DOT_NET_WEB" | "SQL_SERVER" | "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP" | "MYSQL" | "POSTGRESQL" | "JAVA_JMX" | "ORACLE" | "SAP_HANA_MULTI_NODE" | "SAP_HANA_SINGLE_NODE" | "SAP_HANA_HIGH_AVAILABILITY" | "SAP_ASE_SINGLE_NODE" | "SAP_ASE_HIGH_AVAILABILITY" | "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" | "SHAREPOINT" | "ACTIVE_DIRECTORY" | "SAP_NETWEAVER_STANDARD" | "SAP_NETWEAVER_DISTRIBUTED" | "SAP_NETWEAVER_HIGH_AVAILABILITY"; export type Title = string; export declare class TooManyTagsException extends EffectData.TaggedError( @@ -939,7 +779,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationRequest { ResourceGroupName: string; OpsCenterEnabled?: boolean; @@ -961,14 +802,16 @@ export interface UpdateComponentConfigurationRequest { ComponentConfiguration?: string; AutoConfigEnabled?: boolean; } -export interface UpdateComponentConfigurationResponse {} +export interface UpdateComponentConfigurationResponse { +} export interface UpdateComponentRequest { ResourceGroupName: string; ComponentName: string; NewComponentName?: string; ResourceList?: Array; } -export interface UpdateComponentResponse {} +export interface UpdateComponentResponse { +} export interface UpdateLogPatternRequest { ResourceGroupName: string; PatternSetName: string; @@ -985,7 +828,8 @@ export interface UpdateProblemRequest { UpdateStatus?: UpdateStatus; Visibility?: Visibility; } -export interface UpdateProblemResponse {} +export interface UpdateProblemResponse { +} export type UpdateStatus = "RESOLVED"; export interface UpdateWorkloadRequest { ResourceGroupName: string; @@ -1376,13 +1220,5 @@ export declare namespace UpdateWorkload { | CommonAwsError; } -export type ApplicationInsightsErrors = - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | TagsAlreadyExistException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type ApplicationInsightsErrors = AccessDeniedException | BadRequestException | InternalServerException | ResourceInUseException | ResourceNotFoundException | TagsAlreadyExistException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/application-signals/index.ts b/src/services/application-signals/index.ts index f2c51906..c205e835 100644 --- a/src/services/application-signals/index.ts +++ b/src/services/application-signals/index.ts @@ -5,23 +5,7 @@ import type { ApplicationSignals as _ApplicationSignalsClient } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,29 +15,28 @@ const metadata = { sigV4ServiceName: "application-signals", endpointPrefix: "application-signals", operations: { - BatchGetServiceLevelObjectiveBudgetReport: "POST /budget-report", - BatchUpdateExclusionWindows: "PATCH /exclusion-windows", - DeleteGroupingConfiguration: "DELETE /grouping-configuration", - GetService: "POST /service", - ListAuditFindings: "POST /auditFindings", - ListGroupingAttributeDefinitions: "POST /grouping-attribute-definitions", - ListServiceDependencies: "POST /service-dependencies", - ListServiceDependents: "POST /service-dependents", - ListServiceLevelObjectiveExclusionWindows: - "GET /slo/{Id}/exclusion-windows", - ListServiceOperations: "POST /service-operations", - ListServices: "GET /services", - ListServiceStates: "POST /service/states", - ListTagsForResource: "GET /tags", - PutGroupingConfiguration: "PUT /grouping-configuration", - StartDiscovery: "POST /start-discovery", - TagResource: "POST /tag-resource", - UntagResource: "POST /untag-resource", - CreateServiceLevelObjective: "POST /slo", - DeleteServiceLevelObjective: "DELETE /slo/{Id}", - GetServiceLevelObjective: "GET /slo/{Id}", - ListServiceLevelObjectives: "POST /slos", - UpdateServiceLevelObjective: "PATCH /slo/{Id}", + "BatchGetServiceLevelObjectiveBudgetReport": "POST /budget-report", + "BatchUpdateExclusionWindows": "PATCH /exclusion-windows", + "DeleteGroupingConfiguration": "DELETE /grouping-configuration", + "GetService": "POST /service", + "ListAuditFindings": "POST /auditFindings", + "ListGroupingAttributeDefinitions": "POST /grouping-attribute-definitions", + "ListServiceDependencies": "POST /service-dependencies", + "ListServiceDependents": "POST /service-dependents", + "ListServiceLevelObjectiveExclusionWindows": "GET /slo/{Id}/exclusion-windows", + "ListServiceOperations": "POST /service-operations", + "ListServices": "GET /services", + "ListServiceStates": "POST /service/states", + "ListTagsForResource": "GET /tags", + "PutGroupingConfiguration": "PUT /grouping-configuration", + "StartDiscovery": "POST /start-discovery", + "TagResource": "POST /tag-resource", + "UntagResource": "POST /untag-resource", + "CreateServiceLevelObjective": "POST /slo", + "DeleteServiceLevelObjective": "DELETE /slo/{Id}", + "GetServiceLevelObjective": "GET /slo/{Id}", + "ListServiceLevelObjectives": "POST /slos", + "UpdateServiceLevelObjective": "PATCH /slo/{Id}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/application-signals/types.ts b/src/services/application-signals/types.ts index 669b186f..8e9c4c80 100644 --- a/src/services/application-signals/types.ts +++ b/src/services/application-signals/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ApplicationSignals extends AWSServiceClient { @@ -46,17 +14,13 @@ export declare class ApplicationSignals extends AWSServiceClient { input: BatchUpdateExclusionWindowsInput, ): Effect.Effect< BatchUpdateExclusionWindowsOutput, - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; - deleteGroupingConfiguration(input: {}): Effect.Effect< + deleteGroupingConfiguration( + input: {}, + ): Effect.Effect< DeleteGroupingConfigurationOutput, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; getService( input: GetServiceInput, @@ -74,10 +38,7 @@ export declare class ApplicationSignals extends AWSServiceClient { input: ListGroupingAttributeDefinitionsInput, ): Effect.Effect< ListGroupingAttributeDefinitionsOutput, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listServiceDependencies( input: ListServiceDependenciesInput, @@ -95,10 +56,7 @@ export declare class ApplicationSignals extends AWSServiceClient { input: ListServiceLevelObjectiveExclusionWindowsInput, ): Effect.Effect< ListServiceLevelObjectiveExclusionWindowsOutput, - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceOperations( input: ListServiceOperationsInput, @@ -128,28 +86,19 @@ export declare class ApplicationSignals extends AWSServiceClient { input: PutGroupingConfigurationInput, ): Effect.Effect< PutGroupingConfigurationOutput, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; startDiscovery( input: StartDiscoveryInput, ): Effect.Effect< StartDiscoveryOutput, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -161,30 +110,19 @@ export declare class ApplicationSignals extends AWSServiceClient { input: CreateServiceLevelObjectiveInput, ): Effect.Effect< CreateServiceLevelObjectiveOutput, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteServiceLevelObjective( input: DeleteServiceLevelObjectiveInput, ): Effect.Effect< DeleteServiceLevelObjectiveOutput, - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceLevelObjective( input: GetServiceLevelObjectiveInput, ): Effect.Effect< GetServiceLevelObjectiveOutput, - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceLevelObjectives( input: ListServiceLevelObjectivesInput, @@ -196,10 +134,7 @@ export declare class ApplicationSignals extends AWSServiceClient { input: UpdateServiceLevelObjectiveInput, ): Effect.Effect< UpdateServiceLevelObjectiveOutput, - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -256,11 +191,7 @@ interface _AuditTargetEntity { Canary?: CanaryEntity; } -export type AuditTargetEntity = - | (_AuditTargetEntity & { Service: ServiceEntity }) - | (_AuditTargetEntity & { Slo: ServiceLevelObjectiveEntity }) - | (_AuditTargetEntity & { ServiceOperation: ServiceOperationEntity }) - | (_AuditTargetEntity & { Canary: CanaryEntity }); +export type AuditTargetEntity = (_AuditTargetEntity & { Service: ServiceEntity }) | (_AuditTargetEntity & { Slo: ServiceLevelObjectiveEntity }) | (_AuditTargetEntity & { ServiceOperation: ServiceOperationEntity }) | (_AuditTargetEntity & { Canary: CanaryEntity }); export type AuditTargets = Array; export type AwsAccountId = string; @@ -278,8 +209,7 @@ export interface BatchUpdateExclusionWindowsError { ErrorCode: string; ErrorMessage: string; } -export type BatchUpdateExclusionWindowsErrors = - Array; +export type BatchUpdateExclusionWindowsErrors = Array; export interface BatchUpdateExclusionWindowsInput { SloIds: Array; AddExclusionWindows?: Array; @@ -338,11 +268,13 @@ export interface CreateServiceLevelObjectiveInput { export interface CreateServiceLevelObjectiveOutput { Slo: ServiceLevelObjective; } -export interface DeleteGroupingConfigurationOutput {} +export interface DeleteGroupingConfigurationOutput { +} export interface DeleteServiceLevelObjectiveInput { Id: string; } -export interface DeleteServiceLevelObjectiveOutput {} +export interface DeleteServiceLevelObjectiveOutput { +} export interface DependencyConfig { DependencyKeyAttributes: Record; DependencyOperationName: string; @@ -436,9 +368,7 @@ interface _Interval { CalendarInterval?: CalendarInterval; } -export type Interval = - | (_Interval & { RollingInterval: RollingInterval }) - | (_Interval & { CalendarInterval: CalendarInterval }); +export type Interval = (_Interval & { RollingInterval: RollingInterval }) | (_Interval & { CalendarInterval: CalendarInterval }); export type KeyAttributeName = string; export type KeyAttributeValue = string; @@ -614,10 +544,7 @@ export interface MetricReference { AccountId?: string; } export type MetricReferences = Array; -export type MetricSourceType = - | "ServiceOperation" - | "CloudWatchMetric" - | "ServiceDependency"; +export type MetricSourceType = "ServiceOperation" | "CloudWatchMetric" | "ServiceDependency"; export type MetricSourceTypes = Array; export interface MetricStat { Metric: Metric; @@ -632,13 +559,7 @@ interface _MonitoredRequestCountMetricDataQueries { BadCountMetric?: Array; } -export type MonitoredRequestCountMetricDataQueries = - | (_MonitoredRequestCountMetricDataQueries & { - GoodCountMetric: Array; - }) - | (_MonitoredRequestCountMetricDataQueries & { - BadCountMetric: Array; - }); +export type MonitoredRequestCountMetricDataQueries = (_MonitoredRequestCountMetricDataQueries & { GoodCountMetric: Array }) | (_MonitoredRequestCountMetricDataQueries & { BadCountMetric: Array }); export type Namespace = string; export type NextToken = string; @@ -752,11 +673,7 @@ export interface ServiceLevelIndicator { MetricThreshold: number; ComparisonOperator: ServiceLevelIndicatorComparisonOperator; } -export type ServiceLevelIndicatorComparisonOperator = - | "GreaterThanOrEqualTo" - | "GreaterThan" - | "LessThan" - | "LessThanOrEqualTo"; +export type ServiceLevelIndicatorComparisonOperator = "GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo"; export interface ServiceLevelIndicatorConfig { SliMetricConfig: ServiceLevelIndicatorMetricConfig; MetricThreshold: number; @@ -823,15 +740,9 @@ export type ServiceLevelObjectiveBudgetReportErrorCode = string; export type ServiceLevelObjectiveBudgetReportErrorMessage = string; -export type ServiceLevelObjectiveBudgetReportErrors = - Array; -export type ServiceLevelObjectiveBudgetReports = - Array; -export type ServiceLevelObjectiveBudgetStatus = - | "OK" - | "WARNING" - | "BREACHED" - | "INSUFFICIENT_DATA"; +export type ServiceLevelObjectiveBudgetReportErrors = Array; +export type ServiceLevelObjectiveBudgetReports = Array; +export type ServiceLevelObjectiveBudgetStatus = "OK" | "WARNING" | "BREACHED" | "INSUFFICIENT_DATA"; export type ServiceLevelObjectiveDescription = string; export interface ServiceLevelObjectiveEntity { @@ -843,8 +754,7 @@ export type ServiceLevelObjectiveId = string; export type ServiceLevelObjectiveIds = Array; export type ServiceLevelObjectiveName = string; -export type ServiceLevelObjectiveSummaries = - Array; +export type ServiceLevelObjectiveSummaries = Array; export interface ServiceLevelObjectiveSummary { Arn: string; Name: string; @@ -886,36 +796,11 @@ export interface ServiceSummary { export type Severity = "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "NONE"; export type SLIPeriodSeconds = number; -export type StandardUnit = - | "Microseconds" - | "Milliseconds" - | "Seconds" - | "Bytes" - | "Kilobytes" - | "Megabytes" - | "Gigabytes" - | "Terabytes" - | "Bits" - | "Kilobits" - | "Megabits" - | "Gigabits" - | "Terabits" - | "Percent" - | "Count" - | "Bytes/Second" - | "Kilobytes/Second" - | "Megabytes/Second" - | "Gigabytes/Second" - | "Terabytes/Second" - | "Bits/Second" - | "Kilobits/Second" - | "Megabits/Second" - | "Gigabits/Second" - | "Terabits/Second" - | "Count/Second" - | "None"; -export interface StartDiscoveryInput {} -export interface StartDiscoveryOutput {} +export type StandardUnit = "Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None"; +export interface StartDiscoveryInput { +} +export interface StartDiscoveryOutput { +} export type Stat = string; export interface Tag { @@ -930,7 +815,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -946,7 +832,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateServiceLevelObjectiveInput { Id: string; Description?: string; @@ -1182,11 +1069,5 @@ export declare namespace UpdateServiceLevelObjective { | CommonAwsError; } -export type ApplicationSignalsErrors = - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ApplicationSignalsErrors = AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/applicationcostprofiler/index.ts b/src/services/applicationcostprofiler/index.ts index 1f36fc43..3328c4e6 100644 --- a/src/services/applicationcostprofiler/index.ts +++ b/src/services/applicationcostprofiler/index.ts @@ -5,23 +5,7 @@ import type { ApplicationCostProfiler as _ApplicationCostProfilerClient } from " export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,12 +15,12 @@ const metadata = { sigV4ServiceName: "application-cost-profiler", endpointPrefix: "application-cost-profiler", operations: { - DeleteReportDefinition: "DELETE /reportDefinition/{reportId}", - GetReportDefinition: "GET /reportDefinition/{reportId}", - ImportApplicationUsage: "POST /importApplicationUsage", - ListReportDefinitions: "GET /reportDefinition", - PutReportDefinition: "POST /reportDefinition", - UpdateReportDefinition: "PUT /reportDefinition/{reportId}", + "DeleteReportDefinition": "DELETE /reportDefinition/{reportId}", + "GetReportDefinition": "GET /reportDefinition/{reportId}", + "ImportApplicationUsage": "POST /importApplicationUsage", + "ListReportDefinitions": "GET /reportDefinition", + "PutReportDefinition": "POST /reportDefinition", + "UpdateReportDefinition": "PUT /reportDefinition/{reportId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/applicationcostprofiler/types.ts b/src/services/applicationcostprofiler/types.ts index 561422a2..baede22d 100644 --- a/src/services/applicationcostprofiler/types.ts +++ b/src/services/applicationcostprofiler/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ApplicationCostProfiler extends AWSServiceClient { @@ -40,62 +8,37 @@ export declare class ApplicationCostProfiler extends AWSServiceClient { input: DeleteReportDefinitionRequest, ): Effect.Effect< DeleteReportDefinitionResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getReportDefinition( input: GetReportDefinitionRequest, ): Effect.Effect< GetReportDefinitionResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; importApplicationUsage( input: ImportApplicationUsageRequest, ): Effect.Effect< ImportApplicationUsageResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listReportDefinitions( input: ListReportDefinitionsRequest, ): Effect.Effect< ListReportDefinitionsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putReportDefinition( input: PutReportDefinitionRequest, ): Effect.Effect< PutReportDefinitionResult, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateReportDefinition( input: UpdateReportDefinitionRequest, ): Effect.Effect< UpdateReportDefinitionResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -177,11 +120,7 @@ export type ReportId = string; export type S3Bucket = string; -export type S3BucketRegion = - | "ap-east-1" - | "me-south-1" - | "eu-south-1" - | "af-south-1"; +export type S3BucketRegion = "ap-east-1" | "me-south-1" | "eu-south-1" | "af-south-1"; export type S3Key = string; export interface S3Location { @@ -291,10 +230,5 @@ export declare namespace UpdateReportDefinition { | CommonAwsError; } -export type ApplicationCostProfilerErrors = - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ApplicationCostProfilerErrors = AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/apprunner/index.ts b/src/services/apprunner/index.ts index e5407620..0178c4fe 100644 --- a/src/services/apprunner/index.ts +++ b/src/services/apprunner/index.ts @@ -5,26 +5,7 @@ import type { AppRunner as _AppRunnerClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/apprunner/types.ts b/src/services/apprunner/types.ts index ad9b25b7..3b19b7c4 100644 --- a/src/services/apprunner/types.ts +++ b/src/services/apprunner/types.ts @@ -7,185 +7,121 @@ export declare class AppRunner extends AWSServiceClient { input: AssociateCustomDomainRequest, ): Effect.Effect< AssociateCustomDomainResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | CommonAwsError >; createAutoScalingConfiguration( input: CreateAutoScalingConfigurationRequest, ): Effect.Effect< CreateAutoScalingConfigurationResponse, - | InternalServiceErrorException - | InvalidRequestException - | ServiceQuotaExceededException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ServiceQuotaExceededException | CommonAwsError >; createConnection( input: CreateConnectionRequest, ): Effect.Effect< CreateConnectionResponse, - | InternalServiceErrorException - | InvalidRequestException - | ServiceQuotaExceededException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ServiceQuotaExceededException | CommonAwsError >; createObservabilityConfiguration( input: CreateObservabilityConfigurationRequest, ): Effect.Effect< CreateObservabilityConfigurationResponse, - | InternalServiceErrorException - | InvalidRequestException - | ServiceQuotaExceededException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ServiceQuotaExceededException | CommonAwsError >; createService( input: CreateServiceRequest, ): Effect.Effect< CreateServiceResponse, - | InternalServiceErrorException - | InvalidRequestException - | ServiceQuotaExceededException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ServiceQuotaExceededException | CommonAwsError >; createVpcConnector( input: CreateVpcConnectorRequest, ): Effect.Effect< CreateVpcConnectorResponse, - | InternalServiceErrorException - | InvalidRequestException - | ServiceQuotaExceededException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ServiceQuotaExceededException | CommonAwsError >; createVpcIngressConnection( input: CreateVpcIngressConnectionRequest, ): Effect.Effect< CreateVpcIngressConnectionResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ServiceQuotaExceededException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ServiceQuotaExceededException | CommonAwsError >; deleteAutoScalingConfiguration( input: DeleteAutoScalingConfigurationRequest, ): Effect.Effect< DeleteAutoScalingConfigurationResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteConnection( input: DeleteConnectionRequest, ): Effect.Effect< DeleteConnectionResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteObservabilityConfiguration( input: DeleteObservabilityConfigurationRequest, ): Effect.Effect< DeleteObservabilityConfigurationResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteService( input: DeleteServiceRequest, ): Effect.Effect< DeleteServiceResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; deleteVpcConnector( input: DeleteVpcConnectorRequest, ): Effect.Effect< DeleteVpcConnectorResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteVpcIngressConnection( input: DeleteVpcIngressConnectionRequest, ): Effect.Effect< DeleteVpcIngressConnectionResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; describeAutoScalingConfiguration( input: DescribeAutoScalingConfigurationRequest, ): Effect.Effect< DescribeAutoScalingConfigurationResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeCustomDomains( input: DescribeCustomDomainsRequest, ): Effect.Effect< DescribeCustomDomainsResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeObservabilityConfiguration( input: DescribeObservabilityConfigurationRequest, ): Effect.Effect< DescribeObservabilityConfigurationResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeService( input: DescribeServiceRequest, ): Effect.Effect< DescribeServiceResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeVpcConnector( input: DescribeVpcConnectorRequest, ): Effect.Effect< DescribeVpcConnectorResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeVpcIngressConnection( input: DescribeVpcIngressConnectionRequest, ): Effect.Effect< DescribeVpcIngressConnectionResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; disassociateCustomDomain( input: DisassociateCustomDomainRequest, ): Effect.Effect< DisassociateCustomDomainResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; listAutoScalingConfigurations( input: ListAutoScalingConfigurationsRequest, @@ -209,10 +145,7 @@ export declare class AppRunner extends AWSServiceClient { input: ListOperationsRequest, ): Effect.Effect< ListOperationsResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listServices( input: ListServicesRequest, @@ -224,20 +157,13 @@ export declare class AppRunner extends AWSServiceClient { input: ListServicesForAutoScalingConfigurationRequest, ): Effect.Effect< ListServicesForAutoScalingConfigurationResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; listVpcConnectors( input: ListVpcConnectorsRequest, @@ -255,79 +181,49 @@ export declare class AppRunner extends AWSServiceClient { input: PauseServiceRequest, ): Effect.Effect< PauseServiceResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; resumeService( input: ResumeServiceRequest, ): Effect.Effect< ResumeServiceResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; startDeployment( input: StartDeploymentRequest, ): Effect.Effect< StartDeploymentResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; updateDefaultAutoScalingConfiguration( input: UpdateDefaultAutoScalingConfigurationRequest, ): Effect.Effect< UpdateDefaultAutoScalingConfigurationResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; updateService( input: UpdateServiceRequest, ): Effect.Effect< UpdateServiceResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; updateVpcIngressConnection( input: UpdateVpcIngressConnectionRequest, ): Effect.Effect< UpdateVpcIngressConnectionResponse, - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; } @@ -384,8 +280,7 @@ export interface AutoScalingConfigurationSummary { HasAssociatedService?: boolean; IsDefault?: boolean; } -export type AutoScalingConfigurationSummaryList = - Array; +export type AutoScalingConfigurationSummaryList = Array; export type ApprunnerBoolean = boolean; export type BuildCommand = string; @@ -396,12 +291,8 @@ export interface CertificateValidationRecord { Value?: string; Status?: CertificateValidationRecordStatus; } -export type CertificateValidationRecordList = - Array; -export type CertificateValidationRecordStatus = - | "PENDING_VALIDATION" - | "SUCCESS" - | "FAILED"; +export type CertificateValidationRecordList = Array; +export type CertificateValidationRecordStatus = "PENDING_VALIDATION" | "SUCCESS" | "FAILED"; export interface CodeConfiguration { ConfigurationSource: ConfigurationSource; CodeConfigurationValues?: CodeConfigurationValues; @@ -430,11 +321,7 @@ export interface Connection { } export type ConnectionName = string; -export type ConnectionStatus = - | "PENDING_HANDSHAKE" - | "AVAILABLE" - | "ERROR" - | "DELETED"; +export type ConnectionStatus = "PENDING_HANDSHAKE" | "AVAILABLE" | "ERROR" | "DELETED"; export interface ConnectionSummary { ConnectionName?: string; ConnectionArn?: string; @@ -510,14 +397,7 @@ export interface CustomDomain { CertificateValidationRecords?: Array; Status: CustomDomainAssociationStatus; } -export type CustomDomainAssociationStatus = - | "CREATING" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETING" - | "DELETE_FAILED" - | "PENDING_CERTIFICATE_DNS_VALIDATION" - | "BINDING_CERTIFICATE"; +export type CustomDomainAssociationStatus = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "PENDING_CERTIFICATE_DNS_VALIDATION" | "BINDING_CERTIFICATE"; export type CustomDomainList = Array; export type CustomerAccountId = string; @@ -817,16 +697,8 @@ export interface ObservabilityConfigurationSummary { ObservabilityConfigurationName?: string; ObservabilityConfigurationRevision?: number; } -export type ObservabilityConfigurationSummaryList = - Array; -export type OperationStatus = - | "PENDING" - | "IN_PROGRESS" - | "FAILED" - | "SUCCEEDED" - | "ROLLBACK_IN_PROGRESS" - | "ROLLBACK_FAILED" - | "ROLLBACK_SUCCEEDED"; +export type ObservabilityConfigurationSummaryList = Array; +export type OperationStatus = "PENDING" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_SUCCEEDED"; export interface OperationSummary { Id?: string; Type?: OperationType; @@ -837,13 +709,7 @@ export interface OperationSummary { UpdatedAt?: Date | string; } export type OperationSummaryList = Array; -export type OperationType = - | "START_DEPLOYMENT" - | "CREATE_SERVICE" - | "PAUSE_SERVICE" - | "RESUME_SERVICE" - | "DELETE_SERVICE" - | "UPDATE_SERVICE"; +export type OperationType = "START_DEPLOYMENT" | "CREATE_SERVICE" | "PAUSE_SERVICE" | "RESUME_SERVICE" | "DELETE_SERVICE" | "UPDATE_SERVICE"; export interface PauseServiceRequest { ServiceArn: string; } @@ -866,20 +732,7 @@ export interface ResumeServiceResponse { } export type RoleArn = string; -export type Runtime = - | "PYTHON_3" - | "NODEJS_12" - | "NODEJS_14" - | "CORRETTO_8" - | "CORRETTO_11" - | "NODEJS_16" - | "GO_1" - | "DOTNET_6" - | "PHP_81" - | "RUBY_31" - | "PYTHON_311" - | "NODEJS_18" - | "NODEJS_22"; +export type Runtime = "PYTHON_3" | "NODEJS_12" | "NODEJS_14" | "CORRETTO_8" | "CORRETTO_11" | "NODEJS_16" | "GO_1" | "DOTNET_6" | "PHP_81" | "RUBY_31" | "PYTHON_311" | "NODEJS_18" | "NODEJS_22"; export type RuntimeEnvironmentSecrets = Record; export type RuntimeEnvironmentSecretsName = string; @@ -923,13 +776,7 @@ export declare class ServiceQuotaExceededException extends EffectData.TaggedErro )<{ readonly Message?: string; }> {} -export type ServiceStatus = - | "CREATE_FAILED" - | "RUNNING" - | "DELETED" - | "DELETE_FAILED" - | "PAUSED" - | "OPERATION_IN_PROGRESS"; +export type ServiceStatus = "CREATE_FAILED" | "RUNNING" | "DELETED" | "DELETE_FAILED" | "PAUSED" | "OPERATION_IN_PROGRESS"; export interface ServiceSummary { ServiceName?: string; ServiceId?: string; @@ -976,7 +823,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Timestamp = Date | string; @@ -989,7 +837,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDefaultAutoScalingConfigurationRequest { AutoScalingConfigurationArn: string; } @@ -1051,21 +900,12 @@ export interface VpcIngressConnection { } export type VpcIngressConnectionName = string; -export type VpcIngressConnectionStatus = - | "AVAILABLE" - | "PENDING_CREATION" - | "PENDING_UPDATE" - | "PENDING_DELETION" - | "FAILED_CREATION" - | "FAILED_UPDATE" - | "FAILED_DELETION" - | "DELETED"; +export type VpcIngressConnectionStatus = "AVAILABLE" | "PENDING_CREATION" | "PENDING_UPDATE" | "PENDING_DELETION" | "FAILED_CREATION" | "FAILED_UPDATE" | "FAILED_DELETION" | "DELETED"; export interface VpcIngressConnectionSummary { VpcIngressConnectionArn?: string; ServiceArn?: string; } -export type VpcIngressConnectionSummaryList = - Array; +export type VpcIngressConnectionSummaryList = Array; export declare namespace AssociateCustomDomain { export type Input = AssociateCustomDomainRequest; export type Output = AssociateCustomDomainResponse; @@ -1441,10 +1281,5 @@ export declare namespace UpdateVpcIngressConnection { | CommonAwsError; } -export type AppRunnerErrors = - | InternalServiceErrorException - | InvalidRequestException - | InvalidStateException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError; +export type AppRunnerErrors = InternalServiceErrorException | InvalidRequestException | InvalidStateException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError; + diff --git a/src/services/appstream/index.ts b/src/services/appstream/index.ts index 5755da64..e8421667 100644 --- a/src/services/appstream/index.ts +++ b/src/services/appstream/index.ts @@ -5,26 +5,7 @@ import type { AppStream as _AppStreamClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/appstream/types.ts b/src/services/appstream/types.ts index a1ddcc71..984c7cd4 100644 --- a/src/services/appstream/types.ts +++ b/src/services/appstream/types.ts @@ -7,110 +7,61 @@ export declare class AppStream extends AWSServiceClient { input: AssociateAppBlockBuilderAppBlockRequest, ): Effect.Effect< AssociateAppBlockBuilderAppBlockResult, - | ConcurrentModificationException - | InvalidParameterCombinationException - | LimitExceededException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidParameterCombinationException | LimitExceededException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; associateApplicationFleet( input: AssociateApplicationFleetRequest, ): Effect.Effect< AssociateApplicationFleetResult, - | ConcurrentModificationException - | InvalidParameterCombinationException - | LimitExceededException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidParameterCombinationException | LimitExceededException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; associateApplicationToEntitlement( input: AssociateApplicationToEntitlementRequest, ): Effect.Effect< AssociateApplicationToEntitlementResult, - | EntitlementNotFoundException - | LimitExceededException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + EntitlementNotFoundException | LimitExceededException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; associateFleet( input: AssociateFleetRequest, ): Effect.Effect< AssociateFleetResult, - | ConcurrentModificationException - | IncompatibleImageException - | InvalidAccountStatusException - | LimitExceededException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IncompatibleImageException | InvalidAccountStatusException | LimitExceededException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; associateSoftwareToImageBuilder( input: AssociateSoftwareToImageBuilderRequest, ): Effect.Effect< AssociateSoftwareToImageBuilderResult, - | ConcurrentModificationException - | IncompatibleImageException - | InvalidParameterCombinationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IncompatibleImageException | InvalidParameterCombinationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; batchAssociateUserStack( input: BatchAssociateUserStackRequest, ): Effect.Effect< BatchAssociateUserStackResult, - | InvalidParameterCombinationException - | OperationNotPermittedException - | CommonAwsError + InvalidParameterCombinationException | OperationNotPermittedException | CommonAwsError >; batchDisassociateUserStack( input: BatchDisassociateUserStackRequest, ): Effect.Effect< BatchDisassociateUserStackResult, - | InvalidParameterCombinationException - | OperationNotPermittedException - | CommonAwsError + InvalidParameterCombinationException | OperationNotPermittedException | CommonAwsError >; copyImage( input: CopyImageRequest, ): Effect.Effect< CopyImageResponse, - | IncompatibleImageException - | InvalidAccountStatusException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + IncompatibleImageException | InvalidAccountStatusException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; createAppBlock( input: CreateAppBlockRequest, ): Effect.Effect< CreateAppBlockResult, - | ConcurrentModificationException - | LimitExceededException - | OperationNotPermittedException - | ResourceAlreadyExistsException - | CommonAwsError + ConcurrentModificationException | LimitExceededException | OperationNotPermittedException | ResourceAlreadyExistsException | CommonAwsError >; createAppBlockBuilder( input: CreateAppBlockBuilderRequest, ): Effect.Effect< CreateAppBlockBuilderResult, - | ConcurrentModificationException - | InvalidAccountStatusException - | InvalidParameterCombinationException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | RequestLimitExceededException - | ResourceAlreadyExistsException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidAccountStatusException | InvalidParameterCombinationException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | RequestLimitExceededException | ResourceAlreadyExistsException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; createAppBlockBuilderStreamingURL( input: CreateAppBlockBuilderStreamingURLRequest, @@ -122,68 +73,31 @@ export declare class AppStream extends AWSServiceClient { input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResult, - | ConcurrentModificationException - | LimitExceededException - | OperationNotPermittedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | LimitExceededException | OperationNotPermittedException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createDirectoryConfig( input: CreateDirectoryConfigRequest, ): Effect.Effect< CreateDirectoryConfigResult, - | InvalidAccountStatusException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InvalidAccountStatusException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createEntitlement( input: CreateEntitlementRequest, ): Effect.Effect< CreateEntitlementResult, - | EntitlementAlreadyExistsException - | LimitExceededException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + EntitlementAlreadyExistsException | LimitExceededException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; createFleet( input: CreateFleetRequest, ): Effect.Effect< CreateFleetResult, - | ConcurrentModificationException - | IncompatibleImageException - | InvalidAccountStatusException - | InvalidParameterCombinationException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | RequestLimitExceededException - | ResourceAlreadyExistsException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IncompatibleImageException | InvalidAccountStatusException | InvalidParameterCombinationException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | RequestLimitExceededException | ResourceAlreadyExistsException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; createImageBuilder( input: CreateImageBuilderRequest, ): Effect.Effect< CreateImageBuilderResult, - | ConcurrentModificationException - | IncompatibleImageException - | InvalidAccountStatusException - | InvalidParameterCombinationException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | RequestLimitExceededException - | ResourceAlreadyExistsException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IncompatibleImageException | InvalidAccountStatusException | InvalidParameterCombinationException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | RequestLimitExceededException | ResourceAlreadyExistsException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; createImageBuilderStreamingURL( input: CreateImageBuilderStreamingURLRequest, @@ -195,99 +109,55 @@ export declare class AppStream extends AWSServiceClient { input: CreateStackRequest, ): Effect.Effect< CreateStackResult, - | ConcurrentModificationException - | InvalidAccountStatusException - | InvalidParameterCombinationException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidAccountStatusException | InvalidParameterCombinationException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createStreamingURL( input: CreateStreamingURLRequest, ): Effect.Effect< CreateStreamingURLResult, - | InvalidParameterCombinationException - | OperationNotPermittedException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterCombinationException | OperationNotPermittedException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; createThemeForStack( input: CreateThemeForStackRequest, ): Effect.Effect< CreateThemeForStackResult, - | ConcurrentModificationException - | InvalidAccountStatusException - | LimitExceededException - | OperationNotPermittedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidAccountStatusException | LimitExceededException | OperationNotPermittedException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createUpdatedImage( input: CreateUpdatedImageRequest, ): Effect.Effect< CreateUpdatedImageResult, - | ConcurrentModificationException - | IncompatibleImageException - | InvalidAccountStatusException - | LimitExceededException - | OperationNotPermittedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IncompatibleImageException | InvalidAccountStatusException | LimitExceededException | OperationNotPermittedException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createUsageReportSubscription( input: CreateUsageReportSubscriptionRequest, ): Effect.Effect< CreateUsageReportSubscriptionResult, - | InvalidAccountStatusException - | InvalidRoleException - | LimitExceededException - | CommonAwsError + InvalidAccountStatusException | InvalidRoleException | LimitExceededException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResult, - | InvalidAccountStatusException - | InvalidParameterCombinationException - | LimitExceededException - | OperationNotPermittedException - | ResourceAlreadyExistsException - | CommonAwsError + InvalidAccountStatusException | InvalidParameterCombinationException | LimitExceededException | OperationNotPermittedException | ResourceAlreadyExistsException | CommonAwsError >; deleteAppBlock( input: DeleteAppBlockRequest, ): Effect.Effect< DeleteAppBlockResult, - | ConcurrentModificationException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteAppBlockBuilder( input: DeleteAppBlockBuilderRequest, ): Effect.Effect< DeleteAppBlockBuilderResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteDirectoryConfig( input: DeleteDirectoryConfigRequest, @@ -299,39 +169,25 @@ export declare class AppStream extends AWSServiceClient { input: DeleteEntitlementRequest, ): Effect.Effect< DeleteEntitlementResult, - | ConcurrentModificationException - | EntitlementNotFoundException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | EntitlementNotFoundException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; deleteFleet( input: DeleteFleetRequest, ): Effect.Effect< DeleteFleetResult, - | ConcurrentModificationException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteImage( input: DeleteImageRequest, ): Effect.Effect< DeleteImageResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteImageBuilder( input: DeleteImageBuilderRequest, ): Effect.Effect< DeleteImageBuilderResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; deleteImagePermissions( input: DeleteImagePermissionsRequest, @@ -343,20 +199,13 @@ export declare class AppStream extends AWSServiceClient { input: DeleteStackRequest, ): Effect.Effect< DeleteStackResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteThemeForStack( input: DeleteThemeForStackRequest, ): Effect.Effect< DeleteThemeForStackResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; deleteUsageReportSubscription( input: DeleteUsageReportSubscriptionRequest, @@ -374,9 +223,7 @@ export declare class AppStream extends AWSServiceClient { input: DescribeAppBlockBuilderAppBlockAssociationsRequest, ): Effect.Effect< DescribeAppBlockBuilderAppBlockAssociationsResult, - | InvalidParameterCombinationException - | OperationNotPermittedException - | CommonAwsError + InvalidParameterCombinationException | OperationNotPermittedException | CommonAwsError >; describeAppBlockBuilders( input: DescribeAppBlockBuildersRequest, @@ -394,9 +241,7 @@ export declare class AppStream extends AWSServiceClient { input: DescribeApplicationFleetAssociationsRequest, ): Effect.Effect< DescribeApplicationFleetAssociationsResult, - | InvalidParameterCombinationException - | OperationNotPermittedException - | CommonAwsError + InvalidParameterCombinationException | OperationNotPermittedException | CommonAwsError >; describeApplications( input: DescribeApplicationsRequest, @@ -408,10 +253,7 @@ export declare class AppStream extends AWSServiceClient { input: DescribeAppLicenseUsageRequest, ): Effect.Effect< DescribeAppLicenseUsageResult, - | InvalidParameterCombinationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterCombinationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; describeDirectoryConfigs( input: DescribeDirectoryConfigsRequest, @@ -423,10 +265,7 @@ export declare class AppStream extends AWSServiceClient { input: DescribeEntitlementsRequest, ): Effect.Effect< DescribeEntitlementsResult, - | EntitlementNotFoundException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + EntitlementNotFoundException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; describeFleets( input: DescribeFleetsRequest, @@ -450,9 +289,7 @@ export declare class AppStream extends AWSServiceClient { input: DescribeImagesRequest, ): Effect.Effect< DescribeImagesResult, - | InvalidParameterCombinationException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterCombinationException | ResourceNotFoundException | CommonAwsError >; describeSessions( input: DescribeSessionsRequest, @@ -488,18 +325,13 @@ export declare class AppStream extends AWSServiceClient { input: DescribeUsersRequest, ): Effect.Effect< DescribeUsersResult, - | InvalidParameterCombinationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterCombinationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; describeUserStackAssociations( input: DescribeUserStackAssociationsRequest, ): Effect.Effect< DescribeUserStackAssociationsResult, - | InvalidParameterCombinationException - | OperationNotPermittedException - | CommonAwsError + InvalidParameterCombinationException | OperationNotPermittedException | CommonAwsError >; disableUser( input: DisableUserRequest, @@ -511,49 +343,31 @@ export declare class AppStream extends AWSServiceClient { input: DisassociateAppBlockBuilderAppBlockRequest, ): Effect.Effect< DisassociateAppBlockBuilderAppBlockResult, - | ConcurrentModificationException - | InvalidParameterCombinationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidParameterCombinationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; disassociateApplicationFleet( input: DisassociateApplicationFleetRequest, ): Effect.Effect< DisassociateApplicationFleetResult, - | ConcurrentModificationException - | InvalidParameterCombinationException - | OperationNotPermittedException - | CommonAwsError + ConcurrentModificationException | InvalidParameterCombinationException | OperationNotPermittedException | CommonAwsError >; disassociateApplicationFromEntitlement( input: DisassociateApplicationFromEntitlementRequest, ): Effect.Effect< DisassociateApplicationFromEntitlementResult, - | EntitlementNotFoundException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + EntitlementNotFoundException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; disassociateFleet( input: DisassociateFleetRequest, ): Effect.Effect< DisassociateFleetResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; disassociateSoftwareFromImageBuilder( input: DisassociateSoftwareFromImageBuilderRequest, ): Effect.Effect< DisassociateSoftwareFromImageBuilderResult, - | ConcurrentModificationException - | InvalidParameterCombinationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidParameterCombinationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; enableUser( input: EnableUserRequest, @@ -563,21 +377,27 @@ export declare class AppStream extends AWSServiceClient { >; expireSession( input: ExpireSessionRequest, - ): Effect.Effect; + ): Effect.Effect< + ExpireSessionResult, + CommonAwsError + >; listAssociatedFleets( input: ListAssociatedFleetsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAssociatedFleetsResult, + CommonAwsError + >; listAssociatedStacks( input: ListAssociatedStacksRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAssociatedStacksResult, + CommonAwsError + >; listEntitledApplications( input: ListEntitledApplicationsRequest, ): Effect.Effect< ListEntitledApplicationsResult, - | EntitlementNotFoundException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + EntitlementNotFoundException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, @@ -589,57 +409,31 @@ export declare class AppStream extends AWSServiceClient { input: StartAppBlockBuilderRequest, ): Effect.Effect< StartAppBlockBuilderResult, - | ConcurrentModificationException - | InvalidAccountStatusException - | LimitExceededException - | OperationNotPermittedException - | RequestLimitExceededException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidAccountStatusException | LimitExceededException | OperationNotPermittedException | RequestLimitExceededException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; startFleet( input: StartFleetRequest, ): Effect.Effect< StartFleetResult, - | ConcurrentModificationException - | InvalidAccountStatusException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | RequestLimitExceededException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidAccountStatusException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | RequestLimitExceededException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; startImageBuilder( input: StartImageBuilderRequest, ): Effect.Effect< StartImageBuilderResult, - | ConcurrentModificationException - | IncompatibleImageException - | InvalidAccountStatusException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IncompatibleImageException | InvalidAccountStatusException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; startSoftwareDeploymentToImageBuilder( input: StartSoftwareDeploymentToImageBuilderRequest, ): Effect.Effect< StartSoftwareDeploymentToImageBuilderResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; stopAppBlockBuilder( input: StopAppBlockBuilderRequest, ): Effect.Effect< StopAppBlockBuilderResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; stopFleet( input: StopFleetRequest, @@ -651,19 +445,13 @@ export declare class AppStream extends AWSServiceClient { input: StopImageBuilderRequest, ): Effect.Effect< StopImageBuilderResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidAccountStatusException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidAccountStatusException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -675,101 +463,49 @@ export declare class AppStream extends AWSServiceClient { input: UpdateAppBlockBuilderRequest, ): Effect.Effect< UpdateAppBlockBuilderResult, - | ConcurrentModificationException - | InvalidAccountStatusException - | InvalidParameterCombinationException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | RequestLimitExceededException - | ResourceInUseException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidAccountStatusException | InvalidParameterCombinationException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | RequestLimitExceededException | ResourceInUseException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResult, - | ConcurrentModificationException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; updateDirectoryConfig( input: UpdateDirectoryConfigRequest, ): Effect.Effect< UpdateDirectoryConfigResult, - | ConcurrentModificationException - | IncompatibleImageException - | InvalidRoleException - | OperationNotPermittedException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IncompatibleImageException | InvalidRoleException | OperationNotPermittedException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateEntitlement( input: UpdateEntitlementRequest, ): Effect.Effect< UpdateEntitlementResult, - | ConcurrentModificationException - | EntitlementNotFoundException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | EntitlementNotFoundException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; updateFleet( input: UpdateFleetRequest, ): Effect.Effect< UpdateFleetResult, - | ConcurrentModificationException - | IncompatibleImageException - | InvalidAccountStatusException - | InvalidParameterCombinationException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | RequestLimitExceededException - | ResourceInUseException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IncompatibleImageException | InvalidAccountStatusException | InvalidParameterCombinationException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | RequestLimitExceededException | ResourceInUseException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; updateImagePermissions( input: UpdateImagePermissionsRequest, ): Effect.Effect< UpdateImagePermissionsResult, - | LimitExceededException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError + LimitExceededException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError >; updateStack( input: UpdateStackRequest, ): Effect.Effect< UpdateStackResult, - | ConcurrentModificationException - | IncompatibleImageException - | InvalidAccountStatusException - | InvalidParameterCombinationException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IncompatibleImageException | InvalidAccountStatusException | InvalidParameterCombinationException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateThemeForStack( input: UpdateThemeForStackRequest, ): Effect.Effect< UpdateThemeForStackResult, - | ConcurrentModificationException - | InvalidAccountStatusException - | InvalidParameterCombinationException - | LimitExceededException - | OperationNotPermittedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidAccountStatusException | InvalidParameterCombinationException | LimitExceededException | OperationNotPermittedException | ResourceNotFoundException | CommonAwsError >; } @@ -785,15 +521,7 @@ export type AccountName = string; export type AccountPassword = string; -export type Action = - | "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" - | "CLIPBOARD_COPY_TO_LOCAL_DEVICE" - | "FILE_UPLOAD" - | "FILE_DOWNLOAD" - | "PRINTING_TO_LOCAL_DEVICE" - | "DOMAIN_PASSWORD_SIGNIN" - | "DOMAIN_SMART_CARD_SIGNIN" - | "AUTO_TIME_ZONE_REDIRECTION"; +export type Action = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" | "CLIPBOARD_COPY_TO_LOCAL_DEVICE" | "FILE_UPLOAD" | "FILE_DOWNLOAD" | "PRINTING_TO_LOCAL_DEVICE" | "DOMAIN_PASSWORD_SIGNIN" | "DOMAIN_SMART_CARD_SIGNIN" | "AUTO_TIME_ZONE_REDIRECTION"; export type AdminAppLicenseUsageList = Array; export interface AdminAppLicenseUsageRecord { UserArn: string; @@ -837,20 +565,12 @@ export interface AppBlockBuilderAppBlockAssociation { AppBlockArn: string; AppBlockBuilderName: string; } -export type AppBlockBuilderAppBlockAssociationsList = - Array; -export type AppBlockBuilderAttribute = - | "IAM_ROLE_ARN" - | "ACCESS_ENDPOINTS" - | "VPC_CONFIGURATION_SECURITY_GROUP_IDS"; +export type AppBlockBuilderAppBlockAssociationsList = Array; +export type AppBlockBuilderAttribute = "IAM_ROLE_ARN" | "ACCESS_ENDPOINTS" | "VPC_CONFIGURATION_SECURITY_GROUP_IDS"; export type AppBlockBuilderAttributes = Array; export type AppBlockBuilderList = Array; export type AppBlockBuilderPlatformType = "WINDOWS_SERVER_2019"; -export type AppBlockBuilderState = - | "STARTING" - | "RUNNING" - | "STOPPING" - | "STOPPED"; +export type AppBlockBuilderState = "STARTING" | "RUNNING" | "STOPPING" | "STOPPED"; export interface AppBlockBuilderStateChangeReason { Code?: AppBlockBuilderStateChangeReasonCode; Message?: string; @@ -881,8 +601,7 @@ export interface ApplicationFleetAssociation { FleetName: string; ApplicationArn: string; } -export type ApplicationFleetAssociationList = - Array; +export type ApplicationFleetAssociationList = Array; export type Applications = Array; export interface ApplicationSettings { Enabled: boolean; @@ -918,17 +637,20 @@ export interface AssociateApplicationToEntitlementRequest { EntitlementName: string; ApplicationIdentifier: string; } -export interface AssociateApplicationToEntitlementResult {} +export interface AssociateApplicationToEntitlementResult { +} export interface AssociateFleetRequest { FleetName: string; StackName: string; } -export interface AssociateFleetResult {} +export interface AssociateFleetResult { +} export interface AssociateSoftwareToImageBuilderRequest { ImageBuilderName: string; SoftwareNames: Array; } -export interface AssociateSoftwareToImageBuilderResult {} +export interface AssociateSoftwareToImageBuilderResult { +} export type AuthenticationType = "API" | "SAML" | "USERPOOL" | "AWS_AD"; export type AwsAccountId = string; @@ -953,10 +675,7 @@ export interface CertificateBasedAuthProperties { Status?: CertificateBasedAuthStatus; CertificateAuthorityArn?: string; } -export type CertificateBasedAuthStatus = - | "DISABLED" - | "ENABLED" - | "ENABLED_NO_DIRECTORY_LOGIN_FALLBACK"; +export type CertificateBasedAuthStatus = "DISABLED" | "ENABLED" | "ENABLED_NO_DIRECTORY_LOGIN_FALLBACK"; export interface ComputeCapacity { DesiredInstances?: number; DesiredSessions?: number; @@ -1163,7 +882,8 @@ export interface CreateUpdatedImageResult { image?: Image; canUpdateImage?: boolean; } -export interface CreateUsageReportSubscriptionRequest {} +export interface CreateUsageReportSubscriptionRequest { +} export interface CreateUsageReportSubscriptionResult { S3BucketName?: string; Schedule?: UsageReportSchedule; @@ -1175,32 +895,39 @@ export interface CreateUserRequest { LastName?: string; AuthenticationType: AuthenticationType; } -export interface CreateUserResult {} +export interface CreateUserResult { +} export interface DeleteAppBlockBuilderRequest { Name: string; } -export interface DeleteAppBlockBuilderResult {} +export interface DeleteAppBlockBuilderResult { +} export interface DeleteAppBlockRequest { Name: string; } -export interface DeleteAppBlockResult {} +export interface DeleteAppBlockResult { +} export interface DeleteApplicationRequest { Name: string; } -export interface DeleteApplicationResult {} +export interface DeleteApplicationResult { +} export interface DeleteDirectoryConfigRequest { DirectoryName: string; } -export interface DeleteDirectoryConfigResult {} +export interface DeleteDirectoryConfigResult { +} export interface DeleteEntitlementRequest { Name: string; StackName: string; } -export interface DeleteEntitlementResult {} +export interface DeleteEntitlementResult { +} export interface DeleteFleetRequest { Name: string; } -export interface DeleteFleetResult {} +export interface DeleteFleetResult { +} export interface DeleteImageBuilderRequest { Name: string; } @@ -1211,7 +938,8 @@ export interface DeleteImagePermissionsRequest { Name: string; SharedAccountId: string; } -export interface DeleteImagePermissionsResult {} +export interface DeleteImagePermissionsResult { +} export interface DeleteImageRequest { Name: string; } @@ -1221,18 +949,23 @@ export interface DeleteImageResult { export interface DeleteStackRequest { Name: string; } -export interface DeleteStackResult {} +export interface DeleteStackResult { +} export interface DeleteThemeForStackRequest { StackName: string; } -export interface DeleteThemeForStackResult {} -export interface DeleteUsageReportSubscriptionRequest {} -export interface DeleteUsageReportSubscriptionResult {} +export interface DeleteThemeForStackResult { +} +export interface DeleteUsageReportSubscriptionRequest { +} +export interface DeleteUsageReportSubscriptionResult { +} export interface DeleteUserRequest { UserName: string; AuthenticationType: AuthenticationType; } -export interface DeleteUserResult {} +export interface DeleteUserResult { +} export interface DescribeAppBlockBuilderAppBlockAssociationsRequest { AppBlockArn?: string; AppBlockBuilderName?: string; @@ -1431,33 +1164,39 @@ export interface DisableUserRequest { UserName: string; AuthenticationType: AuthenticationType; } -export interface DisableUserResult {} +export interface DisableUserResult { +} export interface DisassociateAppBlockBuilderAppBlockRequest { AppBlockArn: string; AppBlockBuilderName: string; } -export interface DisassociateAppBlockBuilderAppBlockResult {} +export interface DisassociateAppBlockBuilderAppBlockResult { +} export interface DisassociateApplicationFleetRequest { FleetName: string; ApplicationArn: string; } -export interface DisassociateApplicationFleetResult {} +export interface DisassociateApplicationFleetResult { +} export interface DisassociateApplicationFromEntitlementRequest { StackName: string; EntitlementName: string; ApplicationIdentifier: string; } -export interface DisassociateApplicationFromEntitlementResult {} +export interface DisassociateApplicationFromEntitlementResult { +} export interface DisassociateFleetRequest { FleetName: string; StackName: string; } -export interface DisassociateFleetResult {} +export interface DisassociateFleetResult { +} export interface DisassociateSoftwareFromImageBuilderRequest { ImageBuilderName: string; SoftwareNames: Array; } -export interface DisassociateSoftwareFromImageBuilderResult {} +export interface DisassociateSoftwareFromImageBuilderResult { +} export type DisplayName = string; export type Domain = string; @@ -1475,7 +1214,8 @@ export interface EnableUserRequest { UserName: string; AuthenticationType: AuthenticationType; } -export interface EnableUserResult {} +export interface EnableUserResult { +} export interface EntitledApplication { ApplicationIdentifier: string; } @@ -1515,7 +1255,8 @@ export type ErrorMessage = string; export interface ExpireSessionRequest { SessionId: string; } -export interface ExpireSessionResult {} +export interface ExpireSessionResult { +} export type FeedbackURL = string; export interface Fleet { @@ -1545,50 +1286,13 @@ export interface Fleet { SessionScriptS3Location?: S3Location; MaxSessionsPerInstance?: number; } -export type FleetAttribute = - | "VPC_CONFIGURATION" - | "VPC_CONFIGURATION_SECURITY_GROUP_IDS" - | "DOMAIN_JOIN_INFO" - | "IAM_ROLE_ARN" - | "USB_DEVICE_FILTER_STRINGS" - | "SESSION_SCRIPT_S3_LOCATION" - | "MAX_SESSIONS_PER_INSTANCE"; +export type FleetAttribute = "VPC_CONFIGURATION" | "VPC_CONFIGURATION_SECURITY_GROUP_IDS" | "DOMAIN_JOIN_INFO" | "IAM_ROLE_ARN" | "USB_DEVICE_FILTER_STRINGS" | "SESSION_SCRIPT_S3_LOCATION" | "MAX_SESSIONS_PER_INSTANCE"; export type FleetAttributes = Array; export interface FleetError { ErrorCode?: FleetErrorCode; ErrorMessage?: string; } -export type FleetErrorCode = - | "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" - | "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION" - | "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION" - | "NETWORK_INTERFACE_LIMIT_EXCEEDED" - | "INTERNAL_SERVICE_ERROR" - | "IAM_SERVICE_ROLE_IS_MISSING" - | "MACHINE_ROLE_IS_MISSING" - | "STS_DISABLED_IN_REGION" - | "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES" - | "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION" - | "SUBNET_NOT_FOUND" - | "IMAGE_NOT_FOUND" - | "INVALID_SUBNET_CONFIGURATION" - | "SECURITY_GROUPS_NOT_FOUND" - | "IGW_NOT_ATTACHED" - | "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION" - | "FLEET_STOPPED" - | "FLEET_INSTANCE_PROVISIONING_FAILURE" - | "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND" - | "DOMAIN_JOIN_ERROR_ACCESS_DENIED" - | "DOMAIN_JOIN_ERROR_LOGON_FAILURE" - | "DOMAIN_JOIN_ERROR_INVALID_PARAMETER" - | "DOMAIN_JOIN_ERROR_MORE_DATA" - | "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN" - | "DOMAIN_JOIN_ERROR_NOT_SUPPORTED" - | "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME" - | "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED" - | "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED" - | "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED" - | "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"; +export type FleetErrorCode = "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" | "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION" | "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION" | "NETWORK_INTERFACE_LIMIT_EXCEEDED" | "INTERNAL_SERVICE_ERROR" | "IAM_SERVICE_ROLE_IS_MISSING" | "MACHINE_ROLE_IS_MISSING" | "STS_DISABLED_IN_REGION" | "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES" | "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION" | "SUBNET_NOT_FOUND" | "IMAGE_NOT_FOUND" | "INVALID_SUBNET_CONFIGURATION" | "SECURITY_GROUPS_NOT_FOUND" | "IGW_NOT_ATTACHED" | "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION" | "FLEET_STOPPED" | "FLEET_INSTANCE_PROVISIONING_FAILURE" | "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND" | "DOMAIN_JOIN_ERROR_ACCESS_DENIED" | "DOMAIN_JOIN_ERROR_LOGON_FAILURE" | "DOMAIN_JOIN_ERROR_INVALID_PARAMETER" | "DOMAIN_JOIN_ERROR_MORE_DATA" | "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN" | "DOMAIN_JOIN_ERROR_NOT_SUPPORTED" | "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME" | "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED" | "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED" | "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED" | "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR"; export type FleetErrors = Array; export type FleetList = Array; export type FleetState = "STARTING" | "RUNNING" | "STOPPING" | "STOPPED"; @@ -1639,49 +1343,24 @@ export interface ImageBuilder { LatestAppstreamAgentVersion?: LatestAppstreamAgentVersion; } export type ImageBuilderList = Array; -export type ImageBuilderState = - | "PENDING" - | "UPDATING_AGENT" - | "RUNNING" - | "STOPPING" - | "STOPPED" - | "REBOOTING" - | "SNAPSHOTTING" - | "DELETING" - | "FAILED" - | "UPDATING" - | "PENDING_QUALIFICATION" - | "PENDING_SYNCING_APPS" - | "SYNCING_APPS"; +export type ImageBuilderState = "PENDING" | "UPDATING_AGENT" | "RUNNING" | "STOPPING" | "STOPPED" | "REBOOTING" | "SNAPSHOTTING" | "DELETING" | "FAILED" | "UPDATING" | "PENDING_QUALIFICATION" | "PENDING_SYNCING_APPS" | "SYNCING_APPS"; export interface ImageBuilderStateChangeReason { Code?: ImageBuilderStateChangeReasonCode; Message?: string; } -export type ImageBuilderStateChangeReasonCode = - | "INTERNAL_ERROR" - | "IMAGE_UNAVAILABLE"; +export type ImageBuilderStateChangeReasonCode = "INTERNAL_ERROR" | "IMAGE_UNAVAILABLE"; export type ImageList = Array; export interface ImagePermissions { allowFleet?: boolean; allowImageBuilder?: boolean; } export type ImageSharedWithOthers = "TRUE" | "FALSE"; -export type ImageState = - | "PENDING" - | "AVAILABLE" - | "FAILED" - | "COPYING" - | "DELETING" - | "CREATING" - | "IMPORTING"; +export type ImageState = "PENDING" | "AVAILABLE" | "FAILED" | "COPYING" | "DELETING" | "CREATING" | "IMPORTING"; export interface ImageStateChangeReason { Code?: ImageStateChangeReasonCode; Message?: string; } -export type ImageStateChangeReasonCode = - | "INTERNAL_ERROR" - | "IMAGE_BUILDER_NOT_AVAILABLE" - | "IMAGE_COPY_FAILURE"; +export type ImageStateChangeReasonCode = "INTERNAL_ERROR" | "IMAGE_BUILDER_NOT_AVAILABLE" | "IMAGE_COPY_FAILURE"; export declare class IncompatibleImageException extends EffectData.TaggedError( "IncompatibleImageException", )<{ @@ -1708,8 +1387,7 @@ export interface LastReportGenerationExecutionError { ErrorCode?: UsageReportExecutionErrorCode; ErrorMessage?: string; } -export type LastReportGenerationExecutionErrors = - Array; +export type LastReportGenerationExecutionErrors = Array; export type LatestAppstreamAgentVersion = "TRUE" | "FALSE"; export declare class LimitExceededException extends EffectData.TaggedError( "LimitExceededException", @@ -1771,14 +1449,7 @@ export type OrganizationalUnitDistinguishedNamesList = Array; export type PackagingType = "CUSTOM" | "APPSTREAM2"; export type Permission = "ENABLED" | "DISABLED"; export type Platforms = Array; -export type PlatformType = - | "WINDOWS" - | "WINDOWS_SERVER_2016" - | "WINDOWS_SERVER_2019" - | "WINDOWS_SERVER_2022" - | "AMAZON_LINUX2" - | "RHEL8" - | "ROCKY_LINUX8"; +export type PlatformType = "WINDOWS" | "WINDOWS_SERVER_2016" | "WINDOWS_SERVER_2019" | "WINDOWS_SERVER_2022" | "AMAZON_LINUX2" | "RHEL8" | "ROCKY_LINUX8"; export type PreferredProtocol = "TCP" | "UDP"; export type RedirectURL = string; @@ -1865,14 +1536,7 @@ export interface SoftwareAssociations { DeploymentError?: Array; } export type SoftwareAssociationsList = Array; -export type SoftwareDeploymentStatus = - | "STAGED_FOR_INSTALLATION" - | "PENDING_INSTALLATION" - | "INSTALLED" - | "STAGED_FOR_UNINSTALLATION" - | "PENDING_UNINSTALLATION" - | "FAILED_TO_INSTALL" - | "FAILED_TO_UNINSTALL"; +export type SoftwareDeploymentStatus = "STAGED_FOR_INSTALLATION" | "PENDING_INSTALLATION" | "INSTALLED" | "STAGED_FOR_UNINSTALLATION" | "PENDING_UNINSTALLATION" | "FAILED_TO_INSTALL" | "FAILED_TO_UNINSTALL"; export interface Stack { Arn?: string; Name: string; @@ -1889,27 +1553,13 @@ export interface Stack { EmbedHostDomains?: Array; StreamingExperienceSettings?: StreamingExperienceSettings; } -export type StackAttribute = - | "STORAGE_CONNECTORS" - | "STORAGE_CONNECTOR_HOMEFOLDERS" - | "STORAGE_CONNECTOR_GOOGLE_DRIVE" - | "STORAGE_CONNECTOR_ONE_DRIVE" - | "REDIRECT_URL" - | "FEEDBACK_URL" - | "THEME_NAME" - | "USER_SETTINGS" - | "EMBED_HOST_DOMAINS" - | "IAM_ROLE_ARN" - | "ACCESS_ENDPOINTS" - | "STREAMING_EXPERIENCE_SETTINGS"; +export type StackAttribute = "STORAGE_CONNECTORS" | "STORAGE_CONNECTOR_HOMEFOLDERS" | "STORAGE_CONNECTOR_GOOGLE_DRIVE" | "STORAGE_CONNECTOR_ONE_DRIVE" | "REDIRECT_URL" | "FEEDBACK_URL" | "THEME_NAME" | "USER_SETTINGS" | "EMBED_HOST_DOMAINS" | "IAM_ROLE_ARN" | "ACCESS_ENDPOINTS" | "STREAMING_EXPERIENCE_SETTINGS"; export type StackAttributes = Array; export interface StackError { ErrorCode?: StackErrorCode; ErrorMessage?: string; } -export type StackErrorCode = - | "STORAGE_CONNECTOR_ERROR" - | "INTERNAL_SERVICE_ERROR"; +export type StackErrorCode = "STORAGE_CONNECTOR_ERROR" | "INTERNAL_SERVICE_ERROR"; export type StackErrors = Array; export type StackList = Array; export interface StartAppBlockBuilderRequest { @@ -1921,7 +1571,8 @@ export interface StartAppBlockBuilderResult { export interface StartFleetRequest { Name: string; } -export interface StartFleetResult {} +export interface StartFleetResult { +} export interface StartImageBuilderRequest { Name: string; AppstreamAgentVersion?: string; @@ -1933,7 +1584,8 @@ export interface StartSoftwareDeploymentToImageBuilderRequest { ImageBuilderName: string; RetryFailedDeployments?: boolean; } -export interface StartSoftwareDeploymentToImageBuilderResult {} +export interface StartSoftwareDeploymentToImageBuilderResult { +} export interface StopAppBlockBuilderRequest { Name: string; } @@ -1943,7 +1595,8 @@ export interface StopAppBlockBuilderResult { export interface StopFleetRequest { Name: string; } -export interface StopFleetResult {} +export interface StopFleetResult { +} export interface StopImageBuilderRequest { Name: string; } @@ -1975,7 +1628,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -2010,7 +1664,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAppBlockBuilderRequest { Name: string; Description?: string; @@ -2091,7 +1746,8 @@ export interface UpdateImagePermissionsRequest { SharedAccountId: string; ImagePermissions: ImagePermissions; } -export interface UpdateImagePermissionsResult {} +export interface UpdateImagePermissionsResult { +} export interface UpdateStackRequest { DisplayName?: string; Description?: string; @@ -2123,10 +1779,7 @@ export interface UpdateThemeForStackRequest { export interface UpdateThemeForStackResult { Theme?: Theme; } -export type UsageReportExecutionErrorCode = - | "RESOURCE_NOT_FOUND" - | "ACCESS_DENIED" - | "INTERNAL_SERVICE_ERROR"; +export type UsageReportExecutionErrorCode = "RESOURCE_NOT_FOUND" | "ACCESS_DENIED" | "INTERNAL_SERVICE_ERROR"; export type UsageReportSchedule = "DAILY"; export interface UsageReportSubscription { S3BucketName?: string; @@ -2172,11 +1825,7 @@ export interface UserStackAssociationError { ErrorCode?: UserStackAssociationErrorCode; ErrorMessage?: string; } -export type UserStackAssociationErrorCode = - | "STACK_NOT_FOUND" - | "USER_NAME_NOT_FOUND" - | "DIRECTORY_NOT_FOUND" - | "INTERNAL_ERROR"; +export type UserStackAssociationErrorCode = "STACK_NOT_FOUND" | "USER_NAME_NOT_FOUND" | "DIRECTORY_NOT_FOUND" | "INTERNAL_ERROR"; export type UserStackAssociationErrorList = Array; export type UserStackAssociationList = Array; export type VisibilityType = "PUBLIC" | "PRIVATE" | "SHARED"; @@ -2593,7 +2242,9 @@ export declare namespace DeleteUsageReportSubscription { export declare namespace DeleteUser { export type Input = DeleteUserRequest; export type Output = DeleteUserResult; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeAppBlockBuilderAppBlockAssociations { @@ -2654,7 +2305,9 @@ export declare namespace DescribeAppLicenseUsage { export declare namespace DescribeDirectoryConfigs { export type Input = DescribeDirectoryConfigsRequest; export type Output = DescribeDirectoryConfigsResult; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeEntitlements { @@ -2670,19 +2323,25 @@ export declare namespace DescribeEntitlements { export declare namespace DescribeFleets { export type Input = DescribeFleetsRequest; export type Output = DescribeFleetsResult; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeImageBuilders { export type Input = DescribeImageBuildersRequest; export type Output = DescribeImageBuildersResult; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeImagePermissions { export type Input = DescribeImagePermissionsRequest; export type Output = DescribeImagePermissionsResult; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeImages { @@ -2697,7 +2356,9 @@ export declare namespace DescribeImages { export declare namespace DescribeSessions { export type Input = DescribeSessionsRequest; export type Output = DescribeSessionsResult; - export type Error = InvalidParameterCombinationException | CommonAwsError; + export type Error = + | InvalidParameterCombinationException + | CommonAwsError; } export declare namespace DescribeSoftwareAssociations { @@ -2712,7 +2373,9 @@ export declare namespace DescribeSoftwareAssociations { export declare namespace DescribeStacks { export type Input = DescribeStacksRequest; export type Output = DescribeStacksResult; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeThemeForStack { @@ -2755,7 +2418,9 @@ export declare namespace DescribeUserStackAssociations { export declare namespace DisableUser { export type Input = DisableUserRequest; export type Output = DisableUserResult; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DisassociateAppBlockBuilderAppBlock { @@ -2823,19 +2488,22 @@ export declare namespace EnableUser { export declare namespace ExpireSession { export type Input = ExpireSessionRequest; export type Output = ExpireSessionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAssociatedFleets { export type Input = ListAssociatedFleetsRequest; export type Output = ListAssociatedFleetsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAssociatedStacks { export type Input = ListAssociatedStacksRequest; export type Output = ListAssociatedStacksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListEntitledApplications { @@ -2851,7 +2519,9 @@ export declare namespace ListEntitledApplications { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace StartAppBlockBuilder { @@ -2947,7 +2617,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UpdateAppBlockBuilder { @@ -3058,19 +2730,5 @@ export declare namespace UpdateThemeForStack { | CommonAwsError; } -export type AppStreamErrors = - | ConcurrentModificationException - | EntitlementAlreadyExistsException - | EntitlementNotFoundException - | IncompatibleImageException - | InvalidAccountStatusException - | InvalidParameterCombinationException - | InvalidRoleException - | LimitExceededException - | OperationNotPermittedException - | RequestLimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotAvailableException - | ResourceNotFoundException - | CommonAwsError; +export type AppStreamErrors = ConcurrentModificationException | EntitlementAlreadyExistsException | EntitlementNotFoundException | IncompatibleImageException | InvalidAccountStatusException | InvalidParameterCombinationException | InvalidRoleException | LimitExceededException | OperationNotPermittedException | RequestLimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotAvailableException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/appsync/index.ts b/src/services/appsync/index.ts index 84dfb849..dc112889 100644 --- a/src/services/appsync/index.ts +++ b/src/services/appsync/index.ts @@ -5,25 +5,7 @@ import type { AppSync as _AppSyncClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,99 +15,85 @@ const metadata = { sigV4ServiceName: "appsync", endpointPrefix: "appsync", operations: { - AssociateApi: "POST /v1/domainnames/{domainName}/apiassociation", - AssociateMergedGraphqlApi: - "POST /v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations", - AssociateSourceGraphqlApi: - "POST /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations", - CreateApi: "POST /v2/apis", - CreateApiCache: "POST /v1/apis/{apiId}/ApiCaches", - CreateApiKey: "POST /v1/apis/{apiId}/apikeys", - CreateChannelNamespace: "POST /v2/apis/{apiId}/channelNamespaces", - CreateDataSource: "POST /v1/apis/{apiId}/datasources", - CreateDomainName: "POST /v1/domainnames", - CreateFunction: "POST /v1/apis/{apiId}/functions", - CreateGraphqlApi: "POST /v1/apis", - CreateResolver: "POST /v1/apis/{apiId}/types/{typeName}/resolvers", - CreateType: "POST /v1/apis/{apiId}/types", - DeleteApi: "DELETE /v2/apis/{apiId}", - DeleteApiCache: "DELETE /v1/apis/{apiId}/ApiCaches", - DeleteApiKey: "DELETE /v1/apis/{apiId}/apikeys/{id}", - DeleteChannelNamespace: "DELETE /v2/apis/{apiId}/channelNamespaces/{name}", - DeleteDataSource: "DELETE /v1/apis/{apiId}/datasources/{name}", - DeleteDomainName: "DELETE /v1/domainnames/{domainName}", - DeleteFunction: "DELETE /v1/apis/{apiId}/functions/{functionId}", - DeleteGraphqlApi: "DELETE /v1/apis/{apiId}", - DeleteResolver: - "DELETE /v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", - DeleteType: "DELETE /v1/apis/{apiId}/types/{typeName}", - DisassociateApi: "DELETE /v1/domainnames/{domainName}/apiassociation", - DisassociateMergedGraphqlApi: - "DELETE /v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations/{associationId}", - DisassociateSourceGraphqlApi: - "DELETE /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}", - EvaluateCode: "POST /v1/dataplane-evaluatecode", - EvaluateMappingTemplate: "POST /v1/dataplane-evaluatetemplate", - FlushApiCache: "DELETE /v1/apis/{apiId}/FlushCache", - GetApi: "GET /v2/apis/{apiId}", - GetApiAssociation: "GET /v1/domainnames/{domainName}/apiassociation", - GetApiCache: "GET /v1/apis/{apiId}/ApiCaches", - GetChannelNamespace: "GET /v2/apis/{apiId}/channelNamespaces/{name}", - GetDataSource: "GET /v1/apis/{apiId}/datasources/{name}", - GetDataSourceIntrospection: - "GET /v1/datasources/introspections/{introspectionId}", - GetDomainName: "GET /v1/domainnames/{domainName}", - GetFunction: "GET /v1/apis/{apiId}/functions/{functionId}", - GetGraphqlApi: "GET /v1/apis/{apiId}", - GetGraphqlApiEnvironmentVariables: - "GET /v1/apis/{apiId}/environmentVariables", - GetIntrospectionSchema: { + "AssociateApi": "POST /v1/domainnames/{domainName}/apiassociation", + "AssociateMergedGraphqlApi": "POST /v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations", + "AssociateSourceGraphqlApi": "POST /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations", + "CreateApi": "POST /v2/apis", + "CreateApiCache": "POST /v1/apis/{apiId}/ApiCaches", + "CreateApiKey": "POST /v1/apis/{apiId}/apikeys", + "CreateChannelNamespace": "POST /v2/apis/{apiId}/channelNamespaces", + "CreateDataSource": "POST /v1/apis/{apiId}/datasources", + "CreateDomainName": "POST /v1/domainnames", + "CreateFunction": "POST /v1/apis/{apiId}/functions", + "CreateGraphqlApi": "POST /v1/apis", + "CreateResolver": "POST /v1/apis/{apiId}/types/{typeName}/resolvers", + "CreateType": "POST /v1/apis/{apiId}/types", + "DeleteApi": "DELETE /v2/apis/{apiId}", + "DeleteApiCache": "DELETE /v1/apis/{apiId}/ApiCaches", + "DeleteApiKey": "DELETE /v1/apis/{apiId}/apikeys/{id}", + "DeleteChannelNamespace": "DELETE /v2/apis/{apiId}/channelNamespaces/{name}", + "DeleteDataSource": "DELETE /v1/apis/{apiId}/datasources/{name}", + "DeleteDomainName": "DELETE /v1/domainnames/{domainName}", + "DeleteFunction": "DELETE /v1/apis/{apiId}/functions/{functionId}", + "DeleteGraphqlApi": "DELETE /v1/apis/{apiId}", + "DeleteResolver": "DELETE /v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", + "DeleteType": "DELETE /v1/apis/{apiId}/types/{typeName}", + "DisassociateApi": "DELETE /v1/domainnames/{domainName}/apiassociation", + "DisassociateMergedGraphqlApi": "DELETE /v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations/{associationId}", + "DisassociateSourceGraphqlApi": "DELETE /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}", + "EvaluateCode": "POST /v1/dataplane-evaluatecode", + "EvaluateMappingTemplate": "POST /v1/dataplane-evaluatetemplate", + "FlushApiCache": "DELETE /v1/apis/{apiId}/FlushCache", + "GetApi": "GET /v2/apis/{apiId}", + "GetApiAssociation": "GET /v1/domainnames/{domainName}/apiassociation", + "GetApiCache": "GET /v1/apis/{apiId}/ApiCaches", + "GetChannelNamespace": "GET /v2/apis/{apiId}/channelNamespaces/{name}", + "GetDataSource": "GET /v1/apis/{apiId}/datasources/{name}", + "GetDataSourceIntrospection": "GET /v1/datasources/introspections/{introspectionId}", + "GetDomainName": "GET /v1/domainnames/{domainName}", + "GetFunction": "GET /v1/apis/{apiId}/functions/{functionId}", + "GetGraphqlApi": "GET /v1/apis/{apiId}", + "GetGraphqlApiEnvironmentVariables": "GET /v1/apis/{apiId}/environmentVariables", + "GetIntrospectionSchema": { http: "GET /v1/apis/{apiId}/schema", traits: { - schema: "httpPayload", + "schema": "httpPayload", }, }, - GetResolver: "GET /v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", - GetSchemaCreationStatus: "GET /v1/apis/{apiId}/schemacreation", - GetSourceApiAssociation: - "GET /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}", - GetType: "GET /v1/apis/{apiId}/types/{typeName}", - ListApiKeys: "GET /v1/apis/{apiId}/apikeys", - ListApis: "GET /v2/apis", - ListChannelNamespaces: "GET /v2/apis/{apiId}/channelNamespaces", - ListDataSources: "GET /v1/apis/{apiId}/datasources", - ListDomainNames: "GET /v1/domainnames", - ListFunctions: "GET /v1/apis/{apiId}/functions", - ListGraphqlApis: "GET /v1/apis", - ListResolvers: "GET /v1/apis/{apiId}/types/{typeName}/resolvers", - ListResolversByFunction: - "GET /v1/apis/{apiId}/functions/{functionId}/resolvers", - ListSourceApiAssociations: "GET /v1/apis/{apiId}/sourceApiAssociations", - ListTagsForResource: "GET /v1/tags/{resourceArn}", - ListTypes: "GET /v1/apis/{apiId}/types", - ListTypesByAssociation: - "GET /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/types", - PutGraphqlApiEnvironmentVariables: - "PUT /v1/apis/{apiId}/environmentVariables", - StartDataSourceIntrospection: "POST /v1/datasources/introspections", - StartSchemaCreation: "POST /v1/apis/{apiId}/schemacreation", - StartSchemaMerge: - "POST /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/merge", - TagResource: "POST /v1/tags/{resourceArn}", - UntagResource: "DELETE /v1/tags/{resourceArn}", - UpdateApi: "POST /v2/apis/{apiId}", - UpdateApiCache: "POST /v1/apis/{apiId}/ApiCaches/update", - UpdateApiKey: "POST /v1/apis/{apiId}/apikeys/{id}", - UpdateChannelNamespace: "POST /v2/apis/{apiId}/channelNamespaces/{name}", - UpdateDataSource: "POST /v1/apis/{apiId}/datasources/{name}", - UpdateDomainName: "POST /v1/domainnames/{domainName}", - UpdateFunction: "POST /v1/apis/{apiId}/functions/{functionId}", - UpdateGraphqlApi: "POST /v1/apis/{apiId}", - UpdateResolver: - "POST /v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", - UpdateSourceApiAssociation: - "POST /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}", - UpdateType: "POST /v1/apis/{apiId}/types/{typeName}", + "GetResolver": "GET /v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", + "GetSchemaCreationStatus": "GET /v1/apis/{apiId}/schemacreation", + "GetSourceApiAssociation": "GET /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}", + "GetType": "GET /v1/apis/{apiId}/types/{typeName}", + "ListApiKeys": "GET /v1/apis/{apiId}/apikeys", + "ListApis": "GET /v2/apis", + "ListChannelNamespaces": "GET /v2/apis/{apiId}/channelNamespaces", + "ListDataSources": "GET /v1/apis/{apiId}/datasources", + "ListDomainNames": "GET /v1/domainnames", + "ListFunctions": "GET /v1/apis/{apiId}/functions", + "ListGraphqlApis": "GET /v1/apis", + "ListResolvers": "GET /v1/apis/{apiId}/types/{typeName}/resolvers", + "ListResolversByFunction": "GET /v1/apis/{apiId}/functions/{functionId}/resolvers", + "ListSourceApiAssociations": "GET /v1/apis/{apiId}/sourceApiAssociations", + "ListTagsForResource": "GET /v1/tags/{resourceArn}", + "ListTypes": "GET /v1/apis/{apiId}/types", + "ListTypesByAssociation": "GET /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/types", + "PutGraphqlApiEnvironmentVariables": "PUT /v1/apis/{apiId}/environmentVariables", + "StartDataSourceIntrospection": "POST /v1/datasources/introspections", + "StartSchemaCreation": "POST /v1/apis/{apiId}/schemacreation", + "StartSchemaMerge": "POST /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/merge", + "TagResource": "POST /v1/tags/{resourceArn}", + "UntagResource": "DELETE /v1/tags/{resourceArn}", + "UpdateApi": "POST /v2/apis/{apiId}", + "UpdateApiCache": "POST /v1/apis/{apiId}/ApiCaches/update", + "UpdateApiKey": "POST /v1/apis/{apiId}/apikeys/{id}", + "UpdateChannelNamespace": "POST /v2/apis/{apiId}/channelNamespaces/{name}", + "UpdateDataSource": "POST /v1/apis/{apiId}/datasources/{name}", + "UpdateDomainName": "POST /v1/domainnames/{domainName}", + "UpdateFunction": "POST /v1/apis/{apiId}/functions/{functionId}", + "UpdateGraphqlApi": "POST /v1/apis/{apiId}", + "UpdateResolver": "POST /v1/apis/{apiId}/types/{typeName}/resolvers/{fieldName}", + "UpdateSourceApiAssociation": "POST /v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}", + "UpdateType": "POST /v1/apis/{apiId}/types/{typeName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/appsync/types.ts b/src/services/appsync/types.ts index 07bc101b..4abe0277 100644 --- a/src/services/appsync/types.ts +++ b/src/services/appsync/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class AppSync extends AWSServiceClient { @@ -42,800 +8,445 @@ export declare class AppSync extends AWSServiceClient { input: AssociateApiRequest, ): Effect.Effect< AssociateApiResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | NotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | NotFoundException | CommonAwsError >; associateMergedGraphqlApi( input: AssociateMergedGraphqlApiRequest, ): Effect.Effect< AssociateMergedGraphqlApiResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; associateSourceGraphqlApi( input: AssociateSourceGraphqlApiRequest, ): Effect.Effect< AssociateSourceGraphqlApiResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; createApi( input: CreateApiRequest, ): Effect.Effect< CreateApiResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | ServiceQuotaExceededException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | ServiceQuotaExceededException | UnauthorizedException | CommonAwsError >; createApiCache( input: CreateApiCacheRequest, ): Effect.Effect< CreateApiCacheResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; createApiKey( input: CreateApiKeyRequest, ): Effect.Effect< CreateApiKeyResponse, - | ApiKeyLimitExceededException - | ApiKeyValidityOutOfBoundsException - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + ApiKeyLimitExceededException | ApiKeyValidityOutOfBoundsException | BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; createChannelNamespace( input: CreateChannelNamespaceRequest, ): Effect.Effect< CreateChannelNamespaceResponse, - | BadRequestException - | ConcurrentModificationException - | ConflictException - | InternalFailureException - | NotFoundException - | ServiceQuotaExceededException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | ConflictException | InternalFailureException | NotFoundException | ServiceQuotaExceededException | UnauthorizedException | CommonAwsError >; createDataSource( input: CreateDataSourceRequest, ): Effect.Effect< CreateDataSourceResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; createDomainName( input: CreateDomainNameRequest, ): Effect.Effect< CreateDomainNameResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | CommonAwsError >; createFunction( input: CreateFunctionRequest, ): Effect.Effect< CreateFunctionResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; createGraphqlApi( input: CreateGraphqlApiRequest, ): Effect.Effect< CreateGraphqlApiResponse, - | ApiLimitExceededException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | LimitExceededException - | UnauthorizedException - | CommonAwsError + ApiLimitExceededException | BadRequestException | ConcurrentModificationException | InternalFailureException | LimitExceededException | UnauthorizedException | CommonAwsError >; createResolver( input: CreateResolverRequest, ): Effect.Effect< CreateResolverResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; createType( input: CreateTypeRequest, ): Effect.Effect< CreateTypeResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteApi( input: DeleteApiRequest, ): Effect.Effect< DeleteApiResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteApiCache( input: DeleteApiCacheRequest, ): Effect.Effect< DeleteApiCacheResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteApiKey( input: DeleteApiKeyRequest, ): Effect.Effect< DeleteApiKeyResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteChannelNamespace( input: DeleteChannelNamespaceRequest, ): Effect.Effect< DeleteChannelNamespaceResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteDataSource( input: DeleteDataSourceRequest, ): Effect.Effect< DeleteDataSourceResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteDomainName( input: DeleteDomainNameRequest, ): Effect.Effect< DeleteDomainNameResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | CommonAwsError >; deleteFunction( input: DeleteFunctionRequest, ): Effect.Effect< DeleteFunctionResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteGraphqlApi( input: DeleteGraphqlApiRequest, ): Effect.Effect< DeleteGraphqlApiResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteResolver( input: DeleteResolverRequest, ): Effect.Effect< DeleteResolverResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteType( input: DeleteTypeRequest, ): Effect.Effect< DeleteTypeResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; disassociateApi( input: DisassociateApiRequest, ): Effect.Effect< DisassociateApiResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | CommonAwsError >; disassociateMergedGraphqlApi( input: DisassociateMergedGraphqlApiRequest, ): Effect.Effect< DisassociateMergedGraphqlApiResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; disassociateSourceGraphqlApi( input: DisassociateSourceGraphqlApiRequest, ): Effect.Effect< DisassociateSourceGraphqlApiResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; evaluateCode( input: EvaluateCodeRequest, ): Effect.Effect< EvaluateCodeResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | CommonAwsError >; evaluateMappingTemplate( input: EvaluateMappingTemplateRequest, ): Effect.Effect< EvaluateMappingTemplateResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | CommonAwsError >; flushApiCache( input: FlushApiCacheRequest, ): Effect.Effect< FlushApiCacheResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getApi( input: GetApiRequest, ): Effect.Effect< GetApiResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getApiAssociation( input: GetApiAssociationRequest, ): Effect.Effect< GetApiAssociationResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | NotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | NotFoundException | CommonAwsError >; getApiCache( input: GetApiCacheRequest, ): Effect.Effect< GetApiCacheResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getChannelNamespace( input: GetChannelNamespaceRequest, ): Effect.Effect< GetChannelNamespaceResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getDataSource( input: GetDataSourceRequest, ): Effect.Effect< GetDataSourceResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getDataSourceIntrospection( input: GetDataSourceIntrospectionRequest, ): Effect.Effect< GetDataSourceIntrospectionResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | CommonAwsError >; getDomainName( input: GetDomainNameRequest, ): Effect.Effect< GetDomainNameResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | NotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | NotFoundException | CommonAwsError >; getFunction( input: GetFunctionRequest, ): Effect.Effect< GetFunctionResponse, - | ConcurrentModificationException - | NotFoundException - | UnauthorizedException - | CommonAwsError + ConcurrentModificationException | NotFoundException | UnauthorizedException | CommonAwsError >; getGraphqlApi( input: GetGraphqlApiRequest, ): Effect.Effect< GetGraphqlApiResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getGraphqlApiEnvironmentVariables( input: GetGraphqlApiEnvironmentVariablesRequest, ): Effect.Effect< GetGraphqlApiEnvironmentVariablesResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getIntrospectionSchema( input: GetIntrospectionSchemaRequest, ): Effect.Effect< GetIntrospectionSchemaResponse, - | GraphQLSchemaException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + GraphQLSchemaException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getResolver( input: GetResolverRequest, ): Effect.Effect< GetResolverResponse, - | ConcurrentModificationException - | NotFoundException - | UnauthorizedException - | CommonAwsError + ConcurrentModificationException | NotFoundException | UnauthorizedException | CommonAwsError >; getSchemaCreationStatus( input: GetSchemaCreationStatusRequest, ): Effect.Effect< GetSchemaCreationStatusResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getSourceApiAssociation( input: GetSourceApiAssociationRequest, ): Effect.Effect< GetSourceApiAssociationResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; getType( input: GetTypeRequest, ): Effect.Effect< GetTypeResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; listApiKeys( input: ListApiKeysRequest, ): Effect.Effect< ListApiKeysResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; listApis( input: ListApisRequest, ): Effect.Effect< ListApisResponse, - | BadRequestException - | InternalFailureException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | UnauthorizedException | CommonAwsError >; listChannelNamespaces( input: ListChannelNamespacesRequest, ): Effect.Effect< ListChannelNamespacesResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; listDataSources( input: ListDataSourcesRequest, ): Effect.Effect< ListDataSourcesResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; listDomainNames( input: ListDomainNamesRequest, ): Effect.Effect< ListDomainNamesResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | CommonAwsError >; listFunctions( input: ListFunctionsRequest, ): Effect.Effect< ListFunctionsResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; listGraphqlApis( input: ListGraphqlApisRequest, ): Effect.Effect< ListGraphqlApisResponse, - | BadRequestException - | InternalFailureException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | UnauthorizedException | CommonAwsError >; listResolvers( input: ListResolversRequest, ): Effect.Effect< ListResolversResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; listResolversByFunction( input: ListResolversByFunctionRequest, ): Effect.Effect< ListResolversByFunctionResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; listSourceApiAssociations( input: ListSourceApiAssociationsRequest, ): Effect.Effect< ListSourceApiAssociationsResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; listTypes( input: ListTypesRequest, ): Effect.Effect< ListTypesResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; listTypesByAssociation( input: ListTypesByAssociationRequest, ): Effect.Effect< ListTypesByAssociationResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; putGraphqlApiEnvironmentVariables( input: PutGraphqlApiEnvironmentVariablesRequest, ): Effect.Effect< PutGraphqlApiEnvironmentVariablesResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; startDataSourceIntrospection( input: StartDataSourceIntrospectionRequest, ): Effect.Effect< StartDataSourceIntrospectionResponse, - | BadRequestException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; startSchemaCreation( input: StartSchemaCreationRequest, ): Effect.Effect< StartSchemaCreationResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; startSchemaMerge( input: StartSchemaMergeRequest, ): Effect.Effect< StartSchemaMergeResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; updateApi( input: UpdateApiRequest, ): Effect.Effect< UpdateApiResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateApiCache( input: UpdateApiCacheRequest, ): Effect.Effect< UpdateApiCacheResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateApiKey( input: UpdateApiKeyRequest, ): Effect.Effect< UpdateApiKeyResponse, - | ApiKeyValidityOutOfBoundsException - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + ApiKeyValidityOutOfBoundsException | BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; updateChannelNamespace( input: UpdateChannelNamespaceRequest, ): Effect.Effect< UpdateChannelNamespaceResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateDataSource( input: UpdateDataSourceRequest, ): Effect.Effect< UpdateDataSourceResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateDomainName( input: UpdateDomainNameRequest, ): Effect.Effect< UpdateDomainNameResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | CommonAwsError >; updateFunction( input: UpdateFunctionRequest, ): Effect.Effect< UpdateFunctionResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateGraphqlApi( input: UpdateGraphqlApiRequest, ): Effect.Effect< UpdateGraphqlApiResponse, - | AccessDeniedException - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateResolver( input: UpdateResolverRequest, ): Effect.Effect< UpdateResolverResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateSourceApiAssociation( input: UpdateSourceApiAssociationRequest, ): Effect.Effect< UpdateSourceApiAssociationResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; updateType( input: UpdateTypeRequest, ): Effect.Effect< UpdateTypeResponse, - | BadRequestException - | ConcurrentModificationException - | InternalFailureException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConcurrentModificationException | InternalFailureException | NotFoundException | UnauthorizedException | CommonAwsError >; } @@ -852,8 +463,7 @@ export interface AdditionalAuthenticationProvider { userPoolConfig?: CognitoUserPoolConfig; lambdaAuthorizerConfig?: LambdaAuthorizerConfig; } -export type AdditionalAuthenticationProviders = - Array; +export type AdditionalAuthenticationProviders = Array; export interface Api { apiId?: string; name?: string; @@ -881,32 +491,9 @@ export interface ApiCache { status?: ApiCacheStatus; healthMetricsConfig?: CacheHealthMetricsConfig; } -export type ApiCacheStatus = - | "AVAILABLE" - | "CREATING" - | "DELETING" - | "MODIFYING" - | "FAILED"; -export type ApiCacheType = - | "T2_SMALL" - | "T2_MEDIUM" - | "R4_LARGE" - | "R4_XLARGE" - | "R4_2XLARGE" - | "R4_4XLARGE" - | "R4_8XLARGE" - | "SMALL" - | "MEDIUM" - | "LARGE" - | "XLARGE" - | "LARGE_2X" - | "LARGE_4X" - | "LARGE_8X" - | "LARGE_12X"; -export type ApiCachingBehavior = - | "FULL_REQUEST_CACHING" - | "PER_RESOLVER_CACHING" - | "OPERATION_LEVEL_CACHING"; +export type ApiCacheStatus = "AVAILABLE" | "CREATING" | "DELETING" | "MODIFYING" | "FAILED"; +export type ApiCacheType = "T2_SMALL" | "T2_MEDIUM" | "R4_LARGE" | "R4_XLARGE" | "R4_2XLARGE" | "R4_4XLARGE" | "R4_8XLARGE" | "SMALL" | "MEDIUM" | "LARGE" | "XLARGE" | "LARGE_2X" | "LARGE_4X" | "LARGE_8X" | "LARGE_12X"; +export type ApiCachingBehavior = "FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING" | "OPERATION_LEVEL_CACHING"; export interface ApiKey { id?: string; description?: string; @@ -962,12 +549,7 @@ export interface AssociateSourceGraphqlApiResponse { sourceApiAssociation?: SourceApiAssociation; } export type AssociationStatus = "PROCESSING" | "FAILED" | "SUCCESS"; -export type AuthenticationType = - | "API_KEY" - | "AWS_IAM" - | "AMAZON_COGNITO_USER_POOLS" - | "OPENID_CONNECT" - | "AWS_LAMBDA"; +export type AuthenticationType = "API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA"; export interface AuthMode { authType: AuthenticationType; } @@ -1066,11 +648,7 @@ export declare class ConflictException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type ConflictHandlerType = - | "OPTIMISTIC_CONCURRENCY" - | "LAMBDA" - | "AUTOMERGE" - | "NONE"; +export type ConflictHandlerType = "OPTIMISTIC_CONCURRENCY" | "LAMBDA" | "AUTOMERGE" | "NONE"; export type Context = string; export interface CreateApiCacheRequest { @@ -1233,8 +811,7 @@ export interface DataSourceIntrospectionModelField { type?: DataSourceIntrospectionModelFieldType; length?: number; } -export type DataSourceIntrospectionModelFields = - Array; +export type DataSourceIntrospectionModelFields = Array; export interface DataSourceIntrospectionModelFieldType { kind?: string; name?: string; @@ -1246,8 +823,7 @@ export interface DataSourceIntrospectionModelIndex { name?: string; fields?: Array; } -export type DataSourceIntrospectionModelIndexes = - Array; +export type DataSourceIntrospectionModelIndexes = Array; export type DataSourceIntrospectionModelIndexFields = Array; export type DataSourceIntrospectionModels = Array; export interface DataSourceIntrospectionResult { @@ -1255,71 +831,70 @@ export interface DataSourceIntrospectionResult { nextToken?: string; } export type DataSourceIntrospectionStatus = "PROCESSING" | "FAILED" | "SUCCESS"; -export type DataSourceLevelMetricsBehavior = - | "FULL_REQUEST_DATA_SOURCE_METRICS" - | "PER_DATA_SOURCE_METRICS"; +export type DataSourceLevelMetricsBehavior = "FULL_REQUEST_DATA_SOURCE_METRICS" | "PER_DATA_SOURCE_METRICS"; export type DataSourceLevelMetricsConfig = "ENABLED" | "DISABLED"; export type DataSources = Array; -export type DataSourceType = - | "AWS_LAMBDA" - | "AMAZON_DYNAMODB" - | "AMAZON_ELASTICSEARCH" - | "NONE" - | "HTTP" - | "RELATIONAL_DATABASE" - | "AMAZON_OPENSEARCH_SERVICE" - | "AMAZON_EVENTBRIDGE" - | "AMAZON_BEDROCK_RUNTIME"; +export type DataSourceType = "AWS_LAMBDA" | "AMAZON_DYNAMODB" | "AMAZON_ELASTICSEARCH" | "NONE" | "HTTP" | "RELATIONAL_DATABASE" | "AMAZON_OPENSEARCH_SERVICE" | "AMAZON_EVENTBRIDGE" | "AMAZON_BEDROCK_RUNTIME"; export type AppsyncDate = Date | string; export type DefaultAction = "ALLOW" | "DENY"; export interface DeleteApiCacheRequest { apiId: string; } -export interface DeleteApiCacheResponse {} +export interface DeleteApiCacheResponse { +} export interface DeleteApiKeyRequest { apiId: string; id: string; } -export interface DeleteApiKeyResponse {} +export interface DeleteApiKeyResponse { +} export interface DeleteApiRequest { apiId: string; } -export interface DeleteApiResponse {} +export interface DeleteApiResponse { +} export interface DeleteChannelNamespaceRequest { apiId: string; name: string; } -export interface DeleteChannelNamespaceResponse {} +export interface DeleteChannelNamespaceResponse { +} export interface DeleteDataSourceRequest { apiId: string; name: string; } -export interface DeleteDataSourceResponse {} +export interface DeleteDataSourceResponse { +} export interface DeleteDomainNameRequest { domainName: string; } -export interface DeleteDomainNameResponse {} +export interface DeleteDomainNameResponse { +} export interface DeleteFunctionRequest { apiId: string; functionId: string; } -export interface DeleteFunctionResponse {} +export interface DeleteFunctionResponse { +} export interface DeleteGraphqlApiRequest { apiId: string; } -export interface DeleteGraphqlApiResponse {} +export interface DeleteGraphqlApiResponse { +} export interface DeleteResolverRequest { apiId: string; typeName: string; fieldName: string; } -export interface DeleteResolverResponse {} +export interface DeleteResolverResponse { +} export interface DeleteTypeRequest { apiId: string; typeName: string; } -export interface DeleteTypeResponse {} +export interface DeleteTypeResponse { +} export interface DeltaSyncConfig { baseTableTTL?: number; deltaSyncTableName?: string; @@ -1330,7 +905,8 @@ export type Description = string; export interface DisassociateApiRequest { domainName: string; } -export interface DisassociateApiResponse {} +export interface DisassociateApiResponse { +} export interface DisassociateMergedGraphqlApiRequest { sourceApiIdentifier: string; associationId: string; @@ -1432,7 +1008,8 @@ export type FieldLogLevel = "NONE" | "ERROR" | "ALL" | "INFO" | "DEBUG"; export interface FlushApiCacheRequest { apiId: string; } -export interface FlushApiCacheResponse {} +export interface FlushApiCacheResponse { +} export interface FunctionConfiguration { functionId?: string; functionArn?: string; @@ -1846,9 +1423,7 @@ export interface Resolver { export type ResolverCountLimit = number; export type ResolverKind = "UNIT" | "PIPELINE"; -export type ResolverLevelMetricsBehavior = - | "FULL_REQUEST_RESOLVER_METRICS" - | "PER_RESOLVER_METRICS"; +export type ResolverLevelMetricsBehavior = "FULL_REQUEST_RESOLVER_METRICS" | "PER_RESOLVER_METRICS"; export type ResolverLevelMetricsConfig = "ENABLED" | "DISABLED"; export type Resolvers = Array; export type ResourceArn = string; @@ -1856,13 +1431,7 @@ export type ResourceArn = string; export type ResourceName = string; export type RuntimeName = "APPSYNC_JS"; -export type SchemaStatus = - | "PROCESSING" - | "ACTIVE" - | "DELETING" - | "FAILED" - | "SUCCESS" - | "NOT_APPLICABLE"; +export type SchemaStatus = "PROCESSING" | "ACTIVE" | "DELETING" | "FAILED" | "SUCCESS" | "NOT_APPLICABLE"; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", )<{ @@ -1884,15 +1453,7 @@ export interface SourceApiAssociation { export interface SourceApiAssociationConfig { mergeType?: MergeType; } -export type SourceApiAssociationStatus = - | "MERGE_SCHEDULED" - | "MERGE_FAILED" - | "MERGE_SUCCESS" - | "MERGE_IN_PROGRESS" - | "AUTO_MERGE_SCHEDULE_FAILED" - | "DELETION_SCHEDULED" - | "DELETION_IN_PROGRESS" - | "DELETION_FAILED"; +export type SourceApiAssociationStatus = "MERGE_SCHEDULED" | "MERGE_FAILED" | "MERGE_SUCCESS" | "MERGE_IN_PROGRESS" | "AUTO_MERGE_SCHEDULE_FAILED" | "DELETION_SCHEDULED" | "DELETION_IN_PROGRESS" | "DELETION_FAILED"; export interface SourceApiAssociationSummary { associationId?: string; associationArn?: string; @@ -1902,8 +1463,7 @@ export interface SourceApiAssociationSummary { mergedApiArn?: string; description?: string; } -export type SourceApiAssociationSummaryList = - Array; +export type SourceApiAssociationSummaryList = Array; export interface StartDataSourceIntrospectionRequest { rdsDataApiConfig?: RdsDataApiConfig; } @@ -1943,7 +1503,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Template = string; @@ -1970,7 +1531,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApiCacheRequest { apiId: string; ttl: number; @@ -2988,18 +2550,5 @@ export declare namespace UpdateType { | CommonAwsError; } -export type AppSyncErrors = - | AccessDeniedException - | ApiKeyLimitExceededException - | ApiKeyValidityOutOfBoundsException - | ApiLimitExceededException - | BadRequestException - | ConcurrentModificationException - | ConflictException - | GraphQLSchemaException - | InternalFailureException - | LimitExceededException - | NotFoundException - | ServiceQuotaExceededException - | UnauthorizedException - | CommonAwsError; +export type AppSyncErrors = AccessDeniedException | ApiKeyLimitExceededException | ApiKeyValidityOutOfBoundsException | ApiLimitExceededException | BadRequestException | ConcurrentModificationException | ConflictException | GraphQLSchemaException | InternalFailureException | LimitExceededException | NotFoundException | ServiceQuotaExceededException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/arc-region-switch/index.ts b/src/services/arc-region-switch/index.ts index 8582156c..7597f05e 100644 --- a/src/services/arc-region-switch/index.ts +++ b/src/services/arc-region-switch/index.ts @@ -5,25 +5,7 @@ import type { ARCRegionswitch as _ARCRegionswitchClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/arc-region-switch/types.ts b/src/services/arc-region-switch/types.ts index 18d98ca7..138cdf12 100644 --- a/src/services/arc-region-switch/types.ts +++ b/src/services/arc-region-switch/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class ARCRegionswitch extends AWSServiceClient { @@ -90,29 +56,19 @@ export declare class ARCRegionswitch extends AWSServiceClient { input: ListRoute53HealthChecksRequest, ): Effect.Effect< ListRoute53HealthChecksResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | CommonAwsError >; startPlanExecution( input: StartPlanExecutionRequest, ): Effect.Effect< StartPlanExecutionResponse, - | AccessDeniedException - | IllegalArgumentException - | IllegalStateException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | IllegalStateException | ResourceNotFoundException | CommonAwsError >; updatePlanExecution( input: UpdatePlanExecutionRequest, ): Effect.Effect< UpdatePlanExecutionResponse, - | AccessDeniedException - | IllegalStateException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | IllegalStateException | ResourceNotFoundException | CommonAwsError >; updatePlanExecutionStep( input: UpdatePlanExecutionStepRequest, @@ -122,7 +78,10 @@ export declare class ARCRegionswitch extends AWSServiceClient { >; createPlan( input: CreatePlanRequest, - ): Effect.Effect; + ): Effect.Effect< + CreatePlanResponse, + CommonAwsError + >; deletePlan( input: DeletePlanRequest, ): Effect.Effect< @@ -131,10 +90,16 @@ export declare class ARCRegionswitch extends AWSServiceClient { >; getPlan( input: GetPlanRequest, - ): Effect.Effect; + ): Effect.Effect< + GetPlanResponse, + ResourceNotFoundException | CommonAwsError + >; listPlans( input: ListPlansRequest, - ): Effect.Effect; + ): Effect.Effect< + ListPlansResponse, + CommonAwsError + >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< @@ -207,7 +172,8 @@ export interface ApprovePlanExecutionStepRequest { approval: Approval; comment?: string; } -export interface ApprovePlanExecutionStepResponse {} +export interface ApprovePlanExecutionStepResponse { +} export interface ArcRoutingControlConfiguration { timeoutMinutes?: number; crossAccountRole?: string; @@ -242,7 +208,8 @@ export interface CancelPlanExecutionRequest { executionId: string; comment?: string; } -export interface CancelPlanExecutionResponse {} +export interface CancelPlanExecutionResponse { +} export interface CreatePlanRequest { description?: string; workflows: Array; @@ -269,7 +236,8 @@ export interface CustomActionLambdaConfiguration { export interface DeletePlanRequest { arn: string; } -export interface DeletePlanResponse {} +export interface DeletePlanResponse { +} export type Duration = string; export interface Ec2AsgCapacityIncreaseConfiguration { @@ -279,9 +247,7 @@ export interface Ec2AsgCapacityIncreaseConfiguration { targetPercent?: number; capacityMonitoringApproach?: Ec2AsgCapacityMonitoringApproach; } -export type Ec2AsgCapacityMonitoringApproach = - | "sampledMaxInLast24Hours" - | "autoscalingMaxInLast24Hours"; +export type Ec2AsgCapacityMonitoringApproach = "sampledMaxInLast24Hours" | "autoscalingMaxInLast24Hours"; export interface Ec2Ungraceful { minimumSuccessPercentage: number; } @@ -292,9 +258,7 @@ export interface EcsCapacityIncreaseConfiguration { targetPercent?: number; capacityMonitoringApproach?: EcsCapacityMonitoringApproach; } -export type EcsCapacityMonitoringApproach = - | "sampledMaxInLast24Hours" - | "containerInsightsMaxInLast24Hours"; +export type EcsCapacityMonitoringApproach = "sampledMaxInLast24Hours" | "containerInsightsMaxInLast24Hours"; export type EcsClusterArn = string; export type EcsServiceArn = string; @@ -314,9 +278,7 @@ export type EksClusters = Array; export interface EksResourceScalingConfiguration { timeoutMinutes?: number; kubernetesResourceType: KubernetesResourceType; - scalingResources?: Array< - Record> - >; + scalingResources?: Array>>; eksClusters?: Array; ungraceful?: EksResourceScalingUngraceful; targetPercent?: number; @@ -325,11 +287,7 @@ export interface EksResourceScalingConfiguration { export interface EksResourceScalingUngraceful { minimumSuccessPercentage: number; } -export type EvaluationStatus = - | "passed" - | "actionRequired" - | "pendingEvaluation" - | "unknown"; +export type EvaluationStatus = "passed" | "actionRequired" | "pendingEvaluation" | "unknown"; export type ExecutionAction = "activate" | "deactivate"; export interface ExecutionApprovalConfiguration { timeoutMinutes?: number; @@ -348,48 +306,8 @@ interface _ExecutionBlockConfiguration { route53HealthCheckConfig?: Route53HealthCheckConfiguration; } -export type ExecutionBlockConfiguration = - | (_ExecutionBlockConfiguration & { - customActionLambdaConfig: CustomActionLambdaConfiguration; - }) - | (_ExecutionBlockConfiguration & { - ec2AsgCapacityIncreaseConfig: Ec2AsgCapacityIncreaseConfiguration; - }) - | (_ExecutionBlockConfiguration & { - executionApprovalConfig: ExecutionApprovalConfiguration; - }) - | (_ExecutionBlockConfiguration & { - arcRoutingControlConfig: ArcRoutingControlConfiguration; - }) - | (_ExecutionBlockConfiguration & { - globalAuroraConfig: GlobalAuroraConfiguration; - }) - | (_ExecutionBlockConfiguration & { - parallelConfig: ParallelExecutionBlockConfiguration; - }) - | (_ExecutionBlockConfiguration & { - regionSwitchPlanConfig: RegionSwitchPlanConfiguration; - }) - | (_ExecutionBlockConfiguration & { - ecsCapacityIncreaseConfig: EcsCapacityIncreaseConfiguration; - }) - | (_ExecutionBlockConfiguration & { - eksResourceScalingConfig: EksResourceScalingConfiguration; - }) - | (_ExecutionBlockConfiguration & { - route53HealthCheckConfig: Route53HealthCheckConfiguration; - }); -export type ExecutionBlockType = - | "CustomActionLambda" - | "ManualApproval" - | "AuroraGlobalDatabase" - | "EC2AutoScaling" - | "ARCRoutingControl" - | "ARCRegionSwitchPlan" - | "Parallel" - | "ECSServiceScaling" - | "EKSResourceScaling" - | "Route53HealthCheck"; +export type ExecutionBlockConfiguration = (_ExecutionBlockConfiguration & { customActionLambdaConfig: CustomActionLambdaConfiguration }) | (_ExecutionBlockConfiguration & { ec2AsgCapacityIncreaseConfig: Ec2AsgCapacityIncreaseConfiguration }) | (_ExecutionBlockConfiguration & { executionApprovalConfig: ExecutionApprovalConfiguration }) | (_ExecutionBlockConfiguration & { arcRoutingControlConfig: ArcRoutingControlConfiguration }) | (_ExecutionBlockConfiguration & { globalAuroraConfig: GlobalAuroraConfiguration }) | (_ExecutionBlockConfiguration & { parallelConfig: ParallelExecutionBlockConfiguration }) | (_ExecutionBlockConfiguration & { regionSwitchPlanConfig: RegionSwitchPlanConfiguration }) | (_ExecutionBlockConfiguration & { ecsCapacityIncreaseConfig: EcsCapacityIncreaseConfiguration }) | (_ExecutionBlockConfiguration & { eksResourceScalingConfig: EksResourceScalingConfiguration }) | (_ExecutionBlockConfiguration & { route53HealthCheckConfig: Route53HealthCheckConfiguration }); +export type ExecutionBlockType = "CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck"; export type ExecutionComment = string; export interface ExecutionEvent { @@ -404,47 +322,11 @@ export interface ExecutionEvent { previousEventId?: string; } export type ExecutionEventList = Array; -export type ExecutionEventType = - | "unknown" - | "executionPending" - | "executionStarted" - | "executionSucceeded" - | "executionFailed" - | "executionPausing" - | "executionPaused" - | "executionCanceling" - | "executionCanceled" - | "executionPendingApproval" - | "executionBehaviorChangedToUngraceful" - | "executionBehaviorChangedToGraceful" - | "executionPendingChildPlanManualApproval" - | "executionSuccessMonitoringApplicationHealth" - | "stepStarted" - | "stepUpdate" - | "stepSucceeded" - | "stepFailed" - | "stepSkipped" - | "stepPausedByError" - | "stepPausedByOperator" - | "stepCanceled" - | "stepPendingApproval" - | "stepExecutionBehaviorChangedToUngraceful" - | "stepPendingApplicationHealthMonitor"; +export type ExecutionEventType = "unknown" | "executionPending" | "executionStarted" | "executionSucceeded" | "executionFailed" | "executionPausing" | "executionPaused" | "executionCanceling" | "executionCanceled" | "executionPendingApproval" | "executionBehaviorChangedToUngraceful" | "executionBehaviorChangedToGraceful" | "executionPendingChildPlanManualApproval" | "executionSuccessMonitoringApplicationHealth" | "stepStarted" | "stepUpdate" | "stepSucceeded" | "stepFailed" | "stepSkipped" | "stepPausedByError" | "stepPausedByOperator" | "stepCanceled" | "stepPendingApproval" | "stepExecutionBehaviorChangedToUngraceful" | "stepPendingApplicationHealthMonitor"; export type ExecutionId = string; export type ExecutionMode = "graceful" | "ungraceful"; -export type ExecutionState = - | "inProgress" - | "pausedByFailedStep" - | "pausedByOperator" - | "completed" - | "completedWithExceptions" - | "canceled" - | "planExecutionTimedOut" - | "pendingManualApproval" - | "failed" - | "pending" - | "completedMonitoringApplicationHealth"; +export type ExecutionState = "inProgress" | "pausedByFailedStep" | "pausedByOperator" | "completed" | "completedWithExceptions" | "canceled" | "planExecutionTimedOut" | "pendingManualApproval" | "failed" | "pending" | "completedMonitoringApplicationHealth"; export interface GetPlanEvaluationStatusRequest { planArn: string; maxResults?: number; @@ -535,13 +417,8 @@ export interface KubernetesResourceType { apiVersion: string; kind: string; } -export type KubernetesScalingApplication = Record< - string, - Record ->; -export type KubernetesScalingApps = Array< - Record> ->; +export type KubernetesScalingApplication = Record>; +export type KubernetesScalingApps = Array>>; export interface KubernetesScalingResource { namespace: string; name: string; @@ -654,10 +531,7 @@ export type RecoveryApproach = "activeActive" | "activePassive"; export type Region = string; export type RegionalScalingResource = Record; -export type RegionAndRoutingControls = Record< - string, - Array ->; +export type RegionAndRoutingControls = Record>; export type RegionList = Array; export interface RegionSwitchPlanConfiguration { crossAccountRole?: string; @@ -755,14 +629,7 @@ export interface StepState { stepMode?: ExecutionMode; } export type StepStates = Array; -export type StepStatus = - | "notStarted" - | "running" - | "failed" - | "completed" - | "canceled" - | "skipped" - | "pendingApproval"; +export type StepStatus = "notStarted" | "running" | "failed" | "completed" | "canceled" | "skipped" | "pendingApproval"; export type TagKey = string; export type TagKeys = Array; @@ -770,7 +637,8 @@ export interface TagResourceRequest { arn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -791,19 +659,17 @@ export interface UntagResourceRequest { arn: string; resourceTagKeys: Array; } -export interface UntagResourceResponse {} -export type UpdatePlanExecutionAction = - | "switchToGraceful" - | "switchToUngraceful" - | "pause" - | "resume"; +export interface UntagResourceResponse { +} +export type UpdatePlanExecutionAction = "switchToGraceful" | "switchToUngraceful" | "pause" | "resume"; export interface UpdatePlanExecutionRequest { planArn: string; executionId: string; action: UpdatePlanExecutionAction; comment?: string; } -export interface UpdatePlanExecutionResponse {} +export interface UpdatePlanExecutionResponse { +} export type UpdatePlanExecutionStepAction = "switchToUngraceful" | "skip"; export interface UpdatePlanExecutionStepRequest { planArn: string; @@ -812,7 +678,8 @@ export interface UpdatePlanExecutionStepRequest { stepName: string; actionToTake: UpdatePlanExecutionStepAction; } -export interface UpdatePlanExecutionStepResponse {} +export interface UpdatePlanExecutionStepResponse { +} export interface UpdatePlanRequest { arn: string; description?: string; @@ -899,7 +766,9 @@ export declare namespace ListPlanExecutions { export declare namespace ListPlansInRegion { export type Input = ListPlansInRegionRequest; export type Output = ListPlansInRegionResponse; - export type Error = AccessDeniedException | CommonAwsError; + export type Error = + | AccessDeniedException + | CommonAwsError; } export declare namespace ListRoute53HealthChecks { @@ -945,7 +814,8 @@ export declare namespace UpdatePlanExecutionStep { export declare namespace CreatePlan { export type Input = CreatePlanRequest; export type Output = CreatePlanResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeletePlan { @@ -960,13 +830,16 @@ export declare namespace DeletePlan { export declare namespace GetPlan { export type Input = GetPlanRequest; export type Output = GetPlanResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListPlans { export type Input = ListPlansRequest; export type Output = ListPlansResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTagsForResource { @@ -999,13 +872,10 @@ export declare namespace UntagResource { export declare namespace UpdatePlan { export type Input = UpdatePlanRequest; export type Output = UpdatePlanResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } -export type ARCRegionswitchErrors = - | AccessDeniedException - | IllegalArgumentException - | IllegalStateException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError; +export type ARCRegionswitchErrors = AccessDeniedException | IllegalArgumentException | IllegalStateException | InternalServerException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/arc-zonal-shift/index.ts b/src/services/arc-zonal-shift/index.ts index c36d66fd..e15536ae 100644 --- a/src/services/arc-zonal-shift/index.ts +++ b/src/services/arc-zonal-shift/index.ts @@ -5,23 +5,7 @@ import type { ARCZonalShift as _ARCZonalShiftClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,25 +15,21 @@ const metadata = { sigV4ServiceName: "arc-zonal-shift", endpointPrefix: "arc-zonal-shift", operations: { - CancelPracticeRun: "DELETE /practiceruns/{zonalShiftId}", - CancelZonalShift: "DELETE /zonalshifts/{zonalShiftId}", - CreatePracticeRunConfiguration: "POST /configuration", - DeletePracticeRunConfiguration: - "DELETE /configuration/{resourceIdentifier}", - GetAutoshiftObserverNotificationStatus: - "GET /autoshift-observer-notification", - GetManagedResource: "GET /managedresources/{resourceIdentifier}", - ListAutoshifts: "GET /autoshifts", - ListManagedResources: "GET /managedresources", - ListZonalShifts: "GET /zonalshifts", - StartPracticeRun: "POST /practiceruns", - StartZonalShift: "POST /zonalshifts", - UpdateAutoshiftObserverNotificationStatus: - "PUT /autoshift-observer-notification", - UpdatePracticeRunConfiguration: "PATCH /configuration/{resourceIdentifier}", - UpdateZonalAutoshiftConfiguration: - "PUT /managedresources/{resourceIdentifier}", - UpdateZonalShift: "PATCH /zonalshifts/{zonalShiftId}", + "CancelPracticeRun": "DELETE /practiceruns/{zonalShiftId}", + "CancelZonalShift": "DELETE /zonalshifts/{zonalShiftId}", + "CreatePracticeRunConfiguration": "POST /configuration", + "DeletePracticeRunConfiguration": "DELETE /configuration/{resourceIdentifier}", + "GetAutoshiftObserverNotificationStatus": "GET /autoshift-observer-notification", + "GetManagedResource": "GET /managedresources/{resourceIdentifier}", + "ListAutoshifts": "GET /autoshifts", + "ListManagedResources": "GET /managedresources", + "ListZonalShifts": "GET /zonalshifts", + "StartPracticeRun": "POST /practiceruns", + "StartZonalShift": "POST /zonalshifts", + "UpdateAutoshiftObserverNotificationStatus": "PUT /autoshift-observer-notification", + "UpdatePracticeRunConfiguration": "PATCH /configuration/{resourceIdentifier}", + "UpdateZonalAutoshiftConfiguration": "PUT /managedresources/{resourceIdentifier}", + "UpdateZonalShift": "PATCH /zonalshifts/{zonalShiftId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/arc-zonal-shift/types.ts b/src/services/arc-zonal-shift/types.ts index cb3a33e1..78396432 100644 --- a/src/services/arc-zonal-shift/types.ts +++ b/src/services/arc-zonal-shift/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ARCZonalShift extends AWSServiceClient { @@ -40,169 +8,91 @@ export declare class ARCZonalShift extends AWSServiceClient { input: CancelPracticeRunRequest, ): Effect.Effect< CancelPracticeRunResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelZonalShift( input: CancelZonalShiftRequest, ): Effect.Effect< ZonalShift, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createPracticeRunConfiguration( input: CreatePracticeRunConfigurationRequest, ): Effect.Effect< CreatePracticeRunConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePracticeRunConfiguration( input: DeletePracticeRunConfigurationRequest, ): Effect.Effect< DeletePracticeRunConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutoshiftObserverNotificationStatus( input: GetAutoshiftObserverNotificationStatusRequest, ): Effect.Effect< GetAutoshiftObserverNotificationStatusResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; getManagedResource( input: GetManagedResourceRequest, ): Effect.Effect< GetManagedResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAutoshifts( input: ListAutoshiftsRequest, ): Effect.Effect< ListAutoshiftsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listManagedResources( input: ListManagedResourcesRequest, ): Effect.Effect< ListManagedResourcesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listZonalShifts( input: ListZonalShiftsRequest, ): Effect.Effect< ListZonalShiftsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; startPracticeRun( input: StartPracticeRunRequest, ): Effect.Effect< StartPracticeRunResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startZonalShift( input: StartZonalShiftRequest, ): Effect.Effect< ZonalShift, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAutoshiftObserverNotificationStatus( input: UpdateAutoshiftObserverNotificationStatusRequest, ): Effect.Effect< UpdateAutoshiftObserverNotificationStatusResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updatePracticeRunConfiguration( input: UpdatePracticeRunConfigurationRequest, ): Effect.Effect< UpdatePracticeRunConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateZonalAutoshiftConfiguration( input: UpdateZonalAutoshiftConfigurationRequest, ): Effect.Effect< UpdateZonalAutoshiftConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateZonalShift( input: UpdateZonalShiftRequest, ): Effect.Effect< ZonalShift, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -266,19 +156,7 @@ export declare class ConflictException extends EffectData.TaggedError( readonly reason: ConflictExceptionReason; readonly zonalShiftId?: string; }> {} -export type ConflictExceptionReason = - | "ZonalShiftAlreadyExists" - | "ZonalShiftStatusNotActive" - | "SimultaneousZonalShiftsConflict" - | "PracticeConfigurationAlreadyExists" - | "AutoShiftEnabled" - | "PracticeConfigurationDoesNotExist" - | "ZonalAutoshiftActive" - | "PracticeOutcomeAlarmsRed" - | "PracticeBlockingAlarmsRed" - | "PracticeInBlockedDates" - | "PracticeInBlockedWindows" - | "PracticeOutsideAllowedWindows"; +export type ConflictExceptionReason = "ZonalShiftAlreadyExists" | "ZonalShiftStatusNotActive" | "SimultaneousZonalShiftsConflict" | "PracticeConfigurationAlreadyExists" | "AutoShiftEnabled" | "PracticeConfigurationDoesNotExist" | "ZonalAutoshiftActive" | "PracticeOutcomeAlarmsRed" | "PracticeBlockingAlarmsRed" | "PracticeInBlockedDates" | "PracticeInBlockedWindows" | "PracticeOutsideAllowedWindows"; export interface ControlCondition { type: ControlConditionType; alarmIdentifier: string; @@ -310,7 +188,8 @@ export type ExpiresIn = string; export type ExpiryTime = Date | string; -export interface GetAutoshiftObserverNotificationStatusRequest {} +export interface GetAutoshiftObserverNotificationStatusRequest { +} export interface GetAutoshiftObserverNotificationStatusResponse { status: AutoshiftObserverNotificationStatus; } @@ -381,12 +260,7 @@ export interface PracticeRunConfiguration { allowedWindows?: Array; blockedDates?: Array; } -export type PracticeRunOutcome = - | "FAILED" - | "INTERRUPTED" - | "PENDING" - | "SUCCEEDED" - | "CAPACITY_CHECK_FAILED"; +export type PracticeRunOutcome = "FAILED" | "INTERRUPTED" | "PENDING" | "SUCCEEDED" | "CAPACITY_CHECK_FAILED"; export type ResourceArn = string; export type ResourceIdentifier = string; @@ -398,11 +272,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( )<{ readonly message: string; }> {} -export type ShiftType = - | "ZONAL_SHIFT" - | "PRACTICE_RUN" - | "FIS_EXPERIMENT" - | "ZONAL_AUTOSHIFT"; +export type ShiftType = "ZONAL_SHIFT" | "PRACTICE_RUN" | "FIS_EXPERIMENT" | "ZONAL_AUTOSHIFT"; export interface StartPracticeRunRequest { resourceIdentifier: string; awayFrom: string; @@ -469,22 +339,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly message: string; readonly reason: ValidationExceptionReason; }> {} -export type ValidationExceptionReason = - | "InvalidExpiresIn" - | "InvalidStatus" - | "MissingValue" - | "InvalidToken" - | "InvalidResourceIdentifier" - | "InvalidAz" - | "UnsupportedAz" - | "InvalidAlarmCondition" - | "InvalidConditionType" - | "InvalidPracticeBlocker" - | "FISExperimentUpdateNotAllowed" - | "AutoshiftUpdateNotAllowed" - | "UnsupportedPracticeCancelShiftType" - | "InvalidPracticeAllowedWindow" - | "InvalidPracticeWindows"; +export type ValidationExceptionReason = "InvalidExpiresIn" | "InvalidStatus" | "MissingValue" | "InvalidToken" | "InvalidResourceIdentifier" | "InvalidAz" | "UnsupportedAz" | "InvalidAlarmCondition" | "InvalidConditionType" | "InvalidPracticeBlocker" | "FISExperimentUpdateNotAllowed" | "AutoshiftUpdateNotAllowed" | "UnsupportedPracticeCancelShiftType" | "InvalidPracticeAllowedWindow" | "InvalidPracticeWindows"; export type Weight = number; export type ZonalAutoshiftStatus = "ENABLED" | "DISABLED"; @@ -709,11 +564,5 @@ export declare namespace UpdateZonalShift { | CommonAwsError; } -export type ARCZonalShiftErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ARCZonalShiftErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/artifact/index.ts b/src/services/artifact/index.ts index aba6d12c..a4c3de16 100644 --- a/src/services/artifact/index.ts +++ b/src/services/artifact/index.ts @@ -5,23 +5,7 @@ import type { Artifact as _ArtifactClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,13 +14,17 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "artifact", operations: { - GetAccountSettings: "GET /v1/account-settings/get", - GetReport: "GET /v1/report/get", - GetReportMetadata: "GET /v1/report/getMetadata", - GetTermForReport: "GET /v1/report/getTermForReport", - ListCustomerAgreements: "GET /v1/customer-agreement/list", - ListReports: "GET /v1/report/list", - PutAccountSettings: "PUT /v1/account-settings/put", + "GetAccountSettings": "GET /v1/account-settings/get", + "GetReport": "GET /v1/report/get", + "GetReportMetadata": "GET /v1/report/getMetadata", + "GetTermForReport": "GET /v1/report/getTermForReport", + "ListCustomerAgreements": "GET /v1/customer-agreement/list", + "ListReports": "GET /v1/report/list", + "PutAccountSettings": "PUT /v1/account-settings/put", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/artifact/types.ts b/src/services/artifact/types.ts index 7bed6fae..2963e903 100644 --- a/src/services/artifact/types.ts +++ b/src/services/artifact/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Artifact extends AWSServiceClient { @@ -40,87 +8,43 @@ export declare class Artifact extends AWSServiceClient { input: GetAccountSettingsRequest, ): Effect.Effect< GetAccountSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getReport( input: GetReportRequest, ): Effect.Effect< GetReportResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getReportMetadata( input: GetReportMetadataRequest, ): Effect.Effect< GetReportMetadataResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getTermForReport( input: GetTermForReportRequest, ): Effect.Effect< GetTermForReportResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listCustomerAgreements( input: ListCustomerAgreementsRequest, ): Effect.Effect< ListCustomerAgreementsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listReports( input: ListReportsRequest, ): Effect.Effect< ListReportsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putAccountSettings( input: PutAccountSettingsRequest, ): Effect.Effect< PutAccountSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -145,10 +69,7 @@ export declare class ConflictException extends EffectData.TaggedError( export type CustomerAgreementIdAttribute = string; export type CustomerAgreementList = Array; -export type CustomerAgreementState = - | "ACTIVE" - | "CUSTOMER_TERMINATED" - | "AWS_TERMINATED"; +export type CustomerAgreementState = "ACTIVE" | "CUSTOMER_TERMINATED" | "AWS_TERMINATED"; export interface CustomerAgreementSummary { name?: string; arn?: string; @@ -164,7 +85,8 @@ export interface CustomerAgreementSummary { terminateTerms?: Array; type?: AgreementType; } -export interface GetAccountSettingsRequest {} +export interface GetAccountSettingsRequest { +} export interface GetAccountSettingsResponse { accountSettings?: AccountSettings; } @@ -413,12 +335,5 @@ export declare namespace PutAccountSettings { | CommonAwsError; } -export type ArtifactErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ArtifactErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/athena/index.ts b/src/services/athena/index.ts index af6eb5ec..699a5ab5 100644 --- a/src/services/athena/index.ts +++ b/src/services/athena/index.ts @@ -5,26 +5,7 @@ import type { Athena as _AthenaClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/athena/types.ts b/src/services/athena/types.ts index d246fbdb..da6d5018 100644 --- a/src/services/athena/types.ts +++ b/src/services/athena/types.ts @@ -49,10 +49,7 @@ export declare class Athena extends AWSServiceClient { input: CreateNotebookInput, ): Effect.Effect< CreateNotebookOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; createPreparedStatement( input: CreatePreparedStatementInput, @@ -64,10 +61,7 @@ export declare class Athena extends AWSServiceClient { input: CreatePresignedNotebookUrlRequest, ): Effect.Effect< CreatePresignedNotebookUrlResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; createWorkGroup( input: CreateWorkGroupInput, @@ -97,19 +91,13 @@ export declare class Athena extends AWSServiceClient { input: DeleteNotebookInput, ): Effect.Effect< DeleteNotebookOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; deletePreparedStatement( input: DeletePreparedStatementInput, ): Effect.Effect< DeletePreparedStatementOutput, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteWorkGroup( input: DeleteWorkGroupInput, @@ -121,37 +109,25 @@ export declare class Athena extends AWSServiceClient { input: ExportNotebookInput, ): Effect.Effect< ExportNotebookOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; getCalculationExecution( input: GetCalculationExecutionRequest, ): Effect.Effect< GetCalculationExecutionResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; getCalculationExecutionCode( input: GetCalculationExecutionCodeRequest, ): Effect.Effect< GetCalculationExecutionCodeResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; getCalculationExecutionStatus( input: GetCalculationExecutionStatusRequest, ): Effect.Effect< GetCalculationExecutionStatusResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; getCapacityAssignmentConfiguration( input: GetCapacityAssignmentConfigurationInput, @@ -169,10 +145,7 @@ export declare class Athena extends AWSServiceClient { input: GetDatabaseInput, ): Effect.Effect< GetDatabaseOutput, - | InternalServerException - | InvalidRequestException - | MetadataException - | CommonAwsError + InternalServerException | InvalidRequestException | MetadataException | CommonAwsError >; getDataCatalog( input: GetDataCatalogInput, @@ -190,19 +163,13 @@ export declare class Athena extends AWSServiceClient { input: GetNotebookMetadataInput, ): Effect.Effect< GetNotebookMetadataOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; getPreparedStatement( input: GetPreparedStatementInput, ): Effect.Effect< GetPreparedStatementOutput, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; getQueryExecution( input: GetQueryExecutionInput, @@ -214,10 +181,7 @@ export declare class Athena extends AWSServiceClient { input: GetQueryResultsInput, ): Effect.Effect< GetQueryResultsOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; getQueryRuntimeStatistics( input: GetQueryRuntimeStatisticsInput, @@ -229,28 +193,19 @@ export declare class Athena extends AWSServiceClient { input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; getSessionStatus( input: GetSessionStatusRequest, ): Effect.Effect< GetSessionStatusResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; getTableMetadata( input: GetTableMetadataInput, ): Effect.Effect< GetTableMetadataOutput, - | InternalServerException - | InvalidRequestException - | MetadataException - | CommonAwsError + InternalServerException | InvalidRequestException | MetadataException | CommonAwsError >; getWorkGroup( input: GetWorkGroupInput, @@ -262,28 +217,19 @@ export declare class Athena extends AWSServiceClient { input: ImportNotebookInput, ): Effect.Effect< ImportNotebookOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listApplicationDPUSizes( input: ListApplicationDPUSizesInput, ): Effect.Effect< ListApplicationDPUSizesOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listCalculationExecutions( input: ListCalculationExecutionsRequest, ): Effect.Effect< ListCalculationExecutionsResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listCapacityReservations( input: ListCapacityReservationsInput, @@ -295,10 +241,7 @@ export declare class Athena extends AWSServiceClient { input: ListDatabasesInput, ): Effect.Effect< ListDatabasesOutput, - | InternalServerException - | InvalidRequestException - | MetadataException - | CommonAwsError + InternalServerException | InvalidRequestException | MetadataException | CommonAwsError >; listDataCatalogs( input: ListDataCatalogsInput, @@ -316,10 +259,7 @@ export declare class Athena extends AWSServiceClient { input: ListExecutorsRequest, ): Effect.Effect< ListExecutorsResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listNamedQueries( input: ListNamedQueriesInput, @@ -331,19 +271,13 @@ export declare class Athena extends AWSServiceClient { input: ListNotebookMetadataInput, ): Effect.Effect< ListNotebookMetadataOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listNotebookSessions( input: ListNotebookSessionsRequest, ): Effect.Effect< ListNotebookSessionsResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listPreparedStatements( input: ListPreparedStatementsInput, @@ -361,28 +295,19 @@ export declare class Athena extends AWSServiceClient { input: ListSessionsRequest, ): Effect.Effect< ListSessionsResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listTableMetadata( input: ListTableMetadataInput, ): Effect.Effect< ListTableMetadataOutput, - | InternalServerException - | InvalidRequestException - | MetadataException - | CommonAwsError + InternalServerException | InvalidRequestException | MetadataException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listWorkGroups( input: ListWorkGroupsInput, @@ -400,39 +325,25 @@ export declare class Athena extends AWSServiceClient { input: StartCalculationExecutionRequest, ): Effect.Effect< StartCalculationExecutionResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; startQueryExecution( input: StartQueryExecutionInput, ): Effect.Effect< StartQueryExecutionOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; startSession( input: StartSessionRequest, ): Effect.Effect< StartSessionResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | SessionAlreadyExistsException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | SessionAlreadyExistsException | TooManyRequestsException | CommonAwsError >; stopCalculationExecution( input: StopCalculationExecutionRequest, ): Effect.Effect< StopCalculationExecutionResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; stopQueryExecution( input: StopQueryExecutionInput, @@ -444,28 +355,19 @@ export declare class Athena extends AWSServiceClient { input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; terminateSession( input: TerminateSessionRequest, ): Effect.Effect< TerminateSessionResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; updateCapacityReservation( input: UpdateCapacityReservationInput, @@ -489,28 +391,19 @@ export declare class Athena extends AWSServiceClient { input: UpdateNotebookInput, ): Effect.Effect< UpdateNotebookOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; updateNotebookMetadata( input: UpdateNotebookMetadataInput, ): Effect.Effect< UpdateNotebookMetadataOutput, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; updatePreparedStatement( input: UpdatePreparedStatementInput, ): Effect.Effect< UpdatePreparedStatementOutput, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; updateWorkGroup( input: UpdateWorkGroupInput, @@ -578,15 +471,7 @@ export interface CalculationConfiguration { } export type CalculationExecutionId = string; -export type CalculationExecutionState = - | "CREATING" - | "CREATED" - | "QUEUED" - | "RUNNING" - | "CANCELING" - | "CANCELED" - | "COMPLETED" - | "FAILED"; +export type CalculationExecutionState = "CREATING" | "CREATED" | "QUEUED" | "RUNNING" | "CANCELING" | "CANCELED" | "COMPLETED" | "FAILED"; export interface CalculationResult { StdOutS3Uri?: string; StdErrorS3Uri?: string; @@ -614,7 +499,8 @@ export interface CalculationSummary { export interface CancelCapacityReservationInput { Name: string; } -export interface CancelCapacityReservationOutput {} +export interface CancelCapacityReservationOutput { +} export interface CapacityAllocation { Status: CapacityAllocationStatus; StatusMessage?: string; @@ -642,13 +528,7 @@ export interface CapacityReservation { export type CapacityReservationName = string; export type CapacityReservationsList = Array; -export type CapacityReservationStatus = - | "PENDING" - | "ACTIVE" - | "CANCELLING" - | "CANCELLED" - | "FAILED" - | "UPDATE_PENDING"; +export type CapacityReservationStatus = "PENDING" | "ACTIVE" | "CANCELLING" | "CANCELLED" | "FAILED" | "UPDATE_PENDING"; export type CatalogNameString = string; export type ClientRequestToken = string; @@ -677,27 +557,7 @@ export type ColumnList = Array; export type ColumnNullable = "NOT_NULL" | "NULLABLE" | "UNKNOWN"; export type CommentString = string; -export type ConnectionType = - | "DYNAMODB" - | "MYSQL" - | "POSTGRESQL" - | "REDSHIFT" - | "ORACLE" - | "SYNAPSE" - | "SQLSERVER" - | "DB2" - | "OPENSEARCH" - | "BIGQUERY" - | "GOOGLECLOUDSTORAGE" - | "HBASE" - | "DOCUMENTDB" - | "CMDB" - | "TPCDS" - | "TIMESTREAM" - | "SAPHANA" - | "SNOWFLAKE" - | "DATALAKEGEN2" - | "DB2AS400"; +export type ConnectionType = "DYNAMODB" | "MYSQL" | "POSTGRESQL" | "REDSHIFT" | "ORACLE" | "SYNAPSE" | "SQLSERVER" | "DB2" | "OPENSEARCH" | "BIGQUERY" | "GOOGLECLOUDSTORAGE" | "HBASE" | "DOCUMENTDB" | "CMDB" | "TPCDS" | "TIMESTREAM" | "SAPHANA" | "SNOWFLAKE" | "DATALAKEGEN2" | "DB2AS400"; export type CoordinatorDpuSize = number; export interface CreateCapacityReservationInput { @@ -705,7 +565,8 @@ export interface CreateCapacityReservationInput { Name: string; Tags?: Array; } -export interface CreateCapacityReservationOutput {} +export interface CreateCapacityReservationOutput { +} export interface CreateDataCatalogInput { Name: string; Type: DataCatalogType; @@ -741,7 +602,8 @@ export interface CreatePreparedStatementInput { QueryStatement: string; Description?: string; } -export interface CreatePreparedStatementOutput {} +export interface CreatePreparedStatementOutput { +} export interface CreatePresignedNotebookUrlRequest { SessionId: string; } @@ -756,7 +618,8 @@ export interface CreateWorkGroupInput { Description?: string; Tags?: Array; } -export interface CreateWorkGroupOutput {} +export interface CreateWorkGroupOutput { +} export interface CustomerContentEncryptionConfiguration { KmsKey: string; } @@ -777,16 +640,7 @@ export interface DataCatalog { ConnectionType?: ConnectionType; Error?: string; } -export type DataCatalogStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_COMPLETE" - | "CREATE_FAILED" - | "CREATE_FAILED_CLEANUP_IN_PROGRESS" - | "CREATE_FAILED_CLEANUP_COMPLETE" - | "CREATE_FAILED_CLEANUP_FAILED" - | "DELETE_IN_PROGRESS" - | "DELETE_COMPLETE" - | "DELETE_FAILED"; +export type DataCatalogStatus = "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "CREATE_FAILED_CLEANUP_IN_PROGRESS" | "CREATE_FAILED_CLEANUP_COMPLETE" | "CREATE_FAILED_CLEANUP_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED"; export interface DataCatalogSummary { CatalogName?: string; Type?: DataCatalogType; @@ -809,7 +663,8 @@ export type DefaultExecutorDpuSize = number; export interface DeleteCapacityReservationInput { Name: string; } -export interface DeleteCapacityReservationOutput {} +export interface DeleteCapacityReservationOutput { +} export interface DeleteDataCatalogInput { Name: string; DeleteCatalogOnly?: boolean; @@ -820,21 +675,25 @@ export interface DeleteDataCatalogOutput { export interface DeleteNamedQueryInput { NamedQueryId: string; } -export interface DeleteNamedQueryOutput {} +export interface DeleteNamedQueryOutput { +} export interface DeleteNotebookInput { NotebookId: string; } -export interface DeleteNotebookOutput {} +export interface DeleteNotebookOutput { +} export interface DeletePreparedStatementInput { StatementName: string; WorkGroup: string; } -export interface DeletePreparedStatementOutput {} +export interface DeletePreparedStatementOutput { +} export interface DeleteWorkGroupInput { WorkGroup: string; RecursiveDeleteOption?: boolean; } -export interface DeleteWorkGroupOutput {} +export interface DeleteWorkGroupOutput { +} export type DescriptionString = string; export interface EncryptionConfiguration { @@ -876,13 +735,7 @@ export interface ExecutorsSummary { ExecutorSize?: number; } export type ExecutorsSummaryList = Array; -export type ExecutorState = - | "CREATING" - | "CREATED" - | "REGISTERED" - | "TERMINATING" - | "TERMINATED" - | "FAILED"; +export type ExecutorState = "CREATING" | "CREATED" | "REGISTERED" | "TERMINATING" | "TERMINATED" | "FAILED"; export type ExecutorType = "COORDINATOR" | "GATEWAY" | "WORKER"; export interface ExportNotebookInput { NotebookId: string; @@ -1324,7 +1177,8 @@ export interface PutCapacityAssignmentConfigurationInput { CapacityReservationName: string; CapacityAssignments: Array; } -export interface PutCapacityAssignmentConfigurationOutput {} +export interface PutCapacityAssignmentConfigurationOutput { +} export interface QueryExecution { QueryExecutionId?: string; Query?: string; @@ -1349,12 +1203,7 @@ export type QueryExecutionId = string; export type QueryExecutionIdList = Array; export type QueryExecutionList = Array; -export type QueryExecutionState = - | "QUEUED" - | "RUNNING" - | "SUCCEEDED" - | "FAILED" - | "CANCELLED"; +export type QueryExecutionState = "QUEUED" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED"; export interface QueryExecutionStatistics { EngineExecutionTimeInMillis?: number; DataScannedInBytes?: number; @@ -1487,15 +1336,7 @@ export type SessionIdleTimeoutInMinutes = number; export type SessionManagerToken = string; export type SessionsList = Array; -export type SessionState = - | "CREATING" - | "CREATED" - | "IDLE" - | "BUSY" - | "TERMINATING" - | "TERMINATED" - | "DEGRADED" - | "FAILED"; +export type SessionState = "CREATING" | "CREATED" | "IDLE" | "BUSY" | "TERMINATING" | "TERMINATED" | "DEGRADED" | "FAILED"; export interface SessionStatistics { DpuExecutionInMillis?: number; } @@ -1561,7 +1402,8 @@ export interface StopCalculationExecutionResponse { export interface StopQueryExecutionInput { QueryExecutionId: string; } -export interface StopQueryExecutionOutput {} +export interface StopQueryExecutionOutput { +} export type AthenaString = string; export type StringList = Array; @@ -1590,7 +1432,8 @@ export interface TagResourceInput { ResourceARN: string; Tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type TargetDpusInteger = number; @@ -1625,39 +1468,41 @@ export interface UnprocessedPreparedStatementName { ErrorCode?: string; ErrorMessage?: string; } -export type UnprocessedPreparedStatementNameList = - Array; +export type UnprocessedPreparedStatementNameList = Array; export interface UnprocessedQueryExecutionId { QueryExecutionId?: string; ErrorCode?: string; ErrorMessage?: string; } -export type UnprocessedQueryExecutionIdList = - Array; +export type UnprocessedQueryExecutionIdList = Array; export interface UntagResourceInput { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateCapacityReservationInput { TargetDpus: number; Name: string; } -export interface UpdateCapacityReservationOutput {} +export interface UpdateCapacityReservationOutput { +} export interface UpdateDataCatalogInput { Name: string; Type: DataCatalogType; Description?: string; Parameters?: Record; } -export interface UpdateDataCatalogOutput {} +export interface UpdateDataCatalogOutput { +} export interface UpdateNamedQueryInput { NamedQueryId: string; Name: string; Description?: string; QueryString: string; } -export interface UpdateNamedQueryOutput {} +export interface UpdateNamedQueryOutput { +} export interface UpdateNotebookInput { NotebookId: string; Payload: string; @@ -1670,22 +1515,26 @@ export interface UpdateNotebookMetadataInput { ClientRequestToken?: string; Name: string; } -export interface UpdateNotebookMetadataOutput {} -export interface UpdateNotebookOutput {} +export interface UpdateNotebookMetadataOutput { +} +export interface UpdateNotebookOutput { +} export interface UpdatePreparedStatementInput { StatementName: string; WorkGroup: string; QueryStatement: string; Description?: string; } -export interface UpdatePreparedStatementOutput {} +export interface UpdatePreparedStatementOutput { +} export interface UpdateWorkGroupInput { WorkGroup: string; Description?: string; ConfigurationUpdates?: WorkGroupConfigurationUpdates; State?: WorkGroupState; } -export interface UpdateWorkGroupOutput {} +export interface UpdateWorkGroupOutput { +} export interface WorkGroup { Name: string; State?: WorkGroupState; @@ -2389,11 +2238,5 @@ export declare namespace UpdateWorkGroup { | CommonAwsError; } -export type AthenaErrors = - | InternalServerException - | InvalidRequestException - | MetadataException - | ResourceNotFoundException - | SessionAlreadyExistsException - | TooManyRequestsException - | CommonAwsError; +export type AthenaErrors = InternalServerException | InvalidRequestException | MetadataException | ResourceNotFoundException | SessionAlreadyExistsException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/auditmanager/index.ts b/src/services/auditmanager/index.ts index dd0ab89e..49b8d3b3 100644 --- a/src/services/auditmanager/index.ts +++ b/src/services/auditmanager/index.ts @@ -5,23 +5,7 @@ import type { AuditManager as _AuditManagerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,92 +15,68 @@ const metadata = { sigV4ServiceName: "auditmanager", endpointPrefix: "auditmanager", operations: { - AssociateAssessmentReportEvidenceFolder: - "PUT /assessments/{assessmentId}/associateToAssessmentReport", - BatchAssociateAssessmentReportEvidence: - "PUT /assessments/{assessmentId}/batchAssociateToAssessmentReport", - BatchCreateDelegationByAssessment: - "POST /assessments/{assessmentId}/delegations", - BatchDeleteDelegationByAssessment: - "PUT /assessments/{assessmentId}/delegations", - BatchDisassociateAssessmentReportEvidence: - "PUT /assessments/{assessmentId}/batchDisassociateFromAssessmentReport", - BatchImportEvidenceToAssessmentControl: - "POST /assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}/evidence", - CreateAssessment: "POST /assessments", - CreateAssessmentFramework: "POST /assessmentFrameworks", - CreateAssessmentReport: "POST /assessments/{assessmentId}/reports", - CreateControl: "POST /controls", - DeleteAssessment: "DELETE /assessments/{assessmentId}", - DeleteAssessmentFramework: "DELETE /assessmentFrameworks/{frameworkId}", - DeleteAssessmentFrameworkShare: - "DELETE /assessmentFrameworkShareRequests/{requestId}", - DeleteAssessmentReport: - "DELETE /assessments/{assessmentId}/reports/{assessmentReportId}", - DeleteControl: "DELETE /controls/{controlId}", - DeregisterAccount: "POST /account/deregisterAccount", - DeregisterOrganizationAdminAccount: - "POST /account/deregisterOrganizationAdminAccount", - DisassociateAssessmentReportEvidenceFolder: - "PUT /assessments/{assessmentId}/disassociateFromAssessmentReport", - GetAccountStatus: "GET /account/status", - GetAssessment: "GET /assessments/{assessmentId}", - GetAssessmentFramework: "GET /assessmentFrameworks/{frameworkId}", - GetAssessmentReportUrl: - "GET /assessments/{assessmentId}/reports/{assessmentReportId}/url", - GetChangeLogs: "GET /assessments/{assessmentId}/changelogs", - GetControl: "GET /controls/{controlId}", - GetDelegations: "GET /delegations", - GetEvidence: - "GET /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence/{evidenceId}", - GetEvidenceByEvidenceFolder: - "GET /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence", - GetEvidenceFileUploadUrl: "GET /evidenceFileUploadUrl", - GetEvidenceFolder: - "GET /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}", - GetEvidenceFoldersByAssessment: - "GET /assessments/{assessmentId}/evidenceFolders", - GetEvidenceFoldersByAssessmentControl: - "GET /assessments/{assessmentId}/evidenceFolders-by-assessment-control/{controlSetId}/{controlId}", - GetInsights: "GET /insights", - GetInsightsByAssessment: "GET /insights/assessments/{assessmentId}", - GetOrganizationAdminAccount: "GET /account/organizationAdminAccount", - GetServicesInScope: "GET /services", - GetSettings: "GET /settings/{attribute}", - ListAssessmentControlInsightsByControlDomain: - "GET /insights/controls-by-assessment", - ListAssessmentFrameworks: "GET /assessmentFrameworks", - ListAssessmentFrameworkShareRequests: - "GET /assessmentFrameworkShareRequests", - ListAssessmentReports: "GET /assessmentReports", - ListAssessments: "GET /assessments", - ListControlDomainInsights: "GET /insights/control-domains", - ListControlDomainInsightsByAssessment: - "GET /insights/control-domains-by-assessment", - ListControlInsightsByControlDomain: "GET /insights/controls", - ListControls: "GET /controls", - ListKeywordsForDataSource: "GET /dataSourceKeywords", - ListNotifications: "GET /notifications", - ListTagsForResource: "GET /tags/{resourceArn}", - RegisterAccount: "POST /account/registerAccount", - RegisterOrganizationAdminAccount: - "POST /account/registerOrganizationAdminAccount", - StartAssessmentFrameworkShare: - "POST /assessmentFrameworks/{frameworkId}/shareRequests", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAssessment: "PUT /assessments/{assessmentId}", - UpdateAssessmentControl: - "PUT /assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}", - UpdateAssessmentControlSetStatus: - "PUT /assessments/{assessmentId}/controlSets/{controlSetId}/status", - UpdateAssessmentFramework: "PUT /assessmentFrameworks/{frameworkId}", - UpdateAssessmentFrameworkShare: - "PUT /assessmentFrameworkShareRequests/{requestId}", - UpdateAssessmentStatus: "PUT /assessments/{assessmentId}/status", - UpdateControl: "PUT /controls/{controlId}", - UpdateSettings: "PUT /settings", - ValidateAssessmentReportIntegrity: "POST /assessmentReports/integrity", + "AssociateAssessmentReportEvidenceFolder": "PUT /assessments/{assessmentId}/associateToAssessmentReport", + "BatchAssociateAssessmentReportEvidence": "PUT /assessments/{assessmentId}/batchAssociateToAssessmentReport", + "BatchCreateDelegationByAssessment": "POST /assessments/{assessmentId}/delegations", + "BatchDeleteDelegationByAssessment": "PUT /assessments/{assessmentId}/delegations", + "BatchDisassociateAssessmentReportEvidence": "PUT /assessments/{assessmentId}/batchDisassociateFromAssessmentReport", + "BatchImportEvidenceToAssessmentControl": "POST /assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}/evidence", + "CreateAssessment": "POST /assessments", + "CreateAssessmentFramework": "POST /assessmentFrameworks", + "CreateAssessmentReport": "POST /assessments/{assessmentId}/reports", + "CreateControl": "POST /controls", + "DeleteAssessment": "DELETE /assessments/{assessmentId}", + "DeleteAssessmentFramework": "DELETE /assessmentFrameworks/{frameworkId}", + "DeleteAssessmentFrameworkShare": "DELETE /assessmentFrameworkShareRequests/{requestId}", + "DeleteAssessmentReport": "DELETE /assessments/{assessmentId}/reports/{assessmentReportId}", + "DeleteControl": "DELETE /controls/{controlId}", + "DeregisterAccount": "POST /account/deregisterAccount", + "DeregisterOrganizationAdminAccount": "POST /account/deregisterOrganizationAdminAccount", + "DisassociateAssessmentReportEvidenceFolder": "PUT /assessments/{assessmentId}/disassociateFromAssessmentReport", + "GetAccountStatus": "GET /account/status", + "GetAssessment": "GET /assessments/{assessmentId}", + "GetAssessmentFramework": "GET /assessmentFrameworks/{frameworkId}", + "GetAssessmentReportUrl": "GET /assessments/{assessmentId}/reports/{assessmentReportId}/url", + "GetChangeLogs": "GET /assessments/{assessmentId}/changelogs", + "GetControl": "GET /controls/{controlId}", + "GetDelegations": "GET /delegations", + "GetEvidence": "GET /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence/{evidenceId}", + "GetEvidenceByEvidenceFolder": "GET /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence", + "GetEvidenceFileUploadUrl": "GET /evidenceFileUploadUrl", + "GetEvidenceFolder": "GET /assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}", + "GetEvidenceFoldersByAssessment": "GET /assessments/{assessmentId}/evidenceFolders", + "GetEvidenceFoldersByAssessmentControl": "GET /assessments/{assessmentId}/evidenceFolders-by-assessment-control/{controlSetId}/{controlId}", + "GetInsights": "GET /insights", + "GetInsightsByAssessment": "GET /insights/assessments/{assessmentId}", + "GetOrganizationAdminAccount": "GET /account/organizationAdminAccount", + "GetServicesInScope": "GET /services", + "GetSettings": "GET /settings/{attribute}", + "ListAssessmentControlInsightsByControlDomain": "GET /insights/controls-by-assessment", + "ListAssessmentFrameworks": "GET /assessmentFrameworks", + "ListAssessmentFrameworkShareRequests": "GET /assessmentFrameworkShareRequests", + "ListAssessmentReports": "GET /assessmentReports", + "ListAssessments": "GET /assessments", + "ListControlDomainInsights": "GET /insights/control-domains", + "ListControlDomainInsightsByAssessment": "GET /insights/control-domains-by-assessment", + "ListControlInsightsByControlDomain": "GET /insights/controls", + "ListControls": "GET /controls", + "ListKeywordsForDataSource": "GET /dataSourceKeywords", + "ListNotifications": "GET /notifications", + "ListTagsForResource": "GET /tags/{resourceArn}", + "RegisterAccount": "POST /account/registerAccount", + "RegisterOrganizationAdminAccount": "POST /account/registerOrganizationAdminAccount", + "StartAssessmentFrameworkShare": "POST /assessmentFrameworks/{frameworkId}/shareRequests", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAssessment": "PUT /assessments/{assessmentId}", + "UpdateAssessmentControl": "PUT /assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}", + "UpdateAssessmentControlSetStatus": "PUT /assessments/{assessmentId}/controlSets/{controlSetId}/status", + "UpdateAssessmentFramework": "PUT /assessmentFrameworks/{frameworkId}", + "UpdateAssessmentFrameworkShare": "PUT /assessmentFrameworkShareRequests/{requestId}", + "UpdateAssessmentStatus": "PUT /assessments/{assessmentId}/status", + "UpdateControl": "PUT /controls/{controlId}", + "UpdateSettings": "PUT /settings", + "ValidateAssessmentReportIntegrity": "POST /assessmentReports/integrity", }, } as const satisfies ServiceMetadata; diff --git a/src/services/auditmanager/types.ts b/src/services/auditmanager/types.ts index 0309102c..a0f42589 100644 --- a/src/services/auditmanager/types.ts +++ b/src/services/auditmanager/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class AuditManager extends AWSServiceClient { @@ -40,186 +8,109 @@ export declare class AuditManager extends AWSServiceClient { input: AssociateAssessmentReportEvidenceFolderRequest, ): Effect.Effect< AssociateAssessmentReportEvidenceFolderResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchAssociateAssessmentReportEvidence( input: BatchAssociateAssessmentReportEvidenceRequest, ): Effect.Effect< BatchAssociateAssessmentReportEvidenceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchCreateDelegationByAssessment( input: BatchCreateDelegationByAssessmentRequest, ): Effect.Effect< BatchCreateDelegationByAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchDeleteDelegationByAssessment( input: BatchDeleteDelegationByAssessmentRequest, ): Effect.Effect< BatchDeleteDelegationByAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchDisassociateAssessmentReportEvidence( input: BatchDisassociateAssessmentReportEvidenceRequest, ): Effect.Effect< BatchDisassociateAssessmentReportEvidenceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchImportEvidenceToAssessmentControl( input: BatchImportEvidenceToAssessmentControlRequest, ): Effect.Effect< BatchImportEvidenceToAssessmentControlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAssessment( input: CreateAssessmentRequest, ): Effect.Effect< CreateAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAssessmentFramework( input: CreateAssessmentFrameworkRequest, ): Effect.Effect< CreateAssessmentFrameworkResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createAssessmentReport( input: CreateAssessmentReportRequest, ): Effect.Effect< CreateAssessmentReportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createControl( input: CreateControlRequest, ): Effect.Effect< CreateControlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteAssessment( input: DeleteAssessmentRequest, ): Effect.Effect< DeleteAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteAssessmentFramework( input: DeleteAssessmentFrameworkRequest, ): Effect.Effect< DeleteAssessmentFrameworkResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteAssessmentFrameworkShare( input: DeleteAssessmentFrameworkShareRequest, ): Effect.Effect< DeleteAssessmentFrameworkShareResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteAssessmentReport( input: DeleteAssessmentReportRequest, ): Effect.Effect< DeleteAssessmentReportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteControl( input: DeleteControlRequest, ): Effect.Effect< DeleteControlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deregisterAccount( input: DeregisterAccountRequest, ): Effect.Effect< DeregisterAccountResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deregisterOrganizationAdminAccount( input: DeregisterOrganizationAdminAccountRequest, ): Effect.Effect< DeregisterOrganizationAdminAccountResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; disassociateAssessmentReportEvidenceFolder( input: DisassociateAssessmentReportEvidenceFolderRequest, ): Effect.Effect< DisassociateAssessmentReportEvidenceFolderResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAccountStatus( input: GetAccountStatusRequest, @@ -231,120 +122,73 @@ export declare class AuditManager extends AWSServiceClient { input: GetAssessmentRequest, ): Effect.Effect< GetAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAssessmentFramework( input: GetAssessmentFrameworkRequest, ): Effect.Effect< GetAssessmentFrameworkResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAssessmentReportUrl( input: GetAssessmentReportUrlRequest, ): Effect.Effect< GetAssessmentReportUrlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getChangeLogs( input: GetChangeLogsRequest, ): Effect.Effect< GetChangeLogsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getControl( input: GetControlRequest, ): Effect.Effect< GetControlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getDelegations( input: GetDelegationsRequest, ): Effect.Effect< GetDelegationsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; getEvidence( input: GetEvidenceRequest, ): Effect.Effect< GetEvidenceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getEvidenceByEvidenceFolder( input: GetEvidenceByEvidenceFolderRequest, ): Effect.Effect< GetEvidenceByEvidenceFolderResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getEvidenceFileUploadUrl( input: GetEvidenceFileUploadUrlRequest, ): Effect.Effect< GetEvidenceFileUploadUrlResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getEvidenceFolder( input: GetEvidenceFolderRequest, ): Effect.Effect< GetEvidenceFolderResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getEvidenceFoldersByAssessment( input: GetEvidenceFoldersByAssessmentRequest, ): Effect.Effect< GetEvidenceFoldersByAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getEvidenceFoldersByAssessmentControl( input: GetEvidenceFoldersByAssessmentControlRequest, ): Effect.Effect< GetEvidenceFoldersByAssessmentControlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getInsights( input: GetInsightsRequest, @@ -356,30 +200,19 @@ export declare class AuditManager extends AWSServiceClient { input: GetInsightsByAssessmentRequest, ): Effect.Effect< GetInsightsByAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getOrganizationAdminAccount( input: GetOrganizationAdminAccountRequest, ): Effect.Effect< GetOrganizationAdminAccountResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getServicesInScope( input: GetServicesInScopeRequest, ): Effect.Effect< GetServicesInScopeResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; getSettings( input: GetSettingsRequest, @@ -391,257 +224,157 @@ export declare class AuditManager extends AWSServiceClient { input: ListAssessmentControlInsightsByControlDomainRequest, ): Effect.Effect< ListAssessmentControlInsightsByControlDomainResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAssessmentFrameworks( input: ListAssessmentFrameworksRequest, ): Effect.Effect< ListAssessmentFrameworksResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listAssessmentFrameworkShareRequests( input: ListAssessmentFrameworkShareRequestsRequest, ): Effect.Effect< ListAssessmentFrameworkShareRequestsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listAssessmentReports( input: ListAssessmentReportsRequest, ): Effect.Effect< ListAssessmentReportsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listAssessments( input: ListAssessmentsRequest, ): Effect.Effect< ListAssessmentsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listControlDomainInsights( input: ListControlDomainInsightsRequest, ): Effect.Effect< ListControlDomainInsightsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listControlDomainInsightsByAssessment( input: ListControlDomainInsightsByAssessmentRequest, ): Effect.Effect< ListControlDomainInsightsByAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listControlInsightsByControlDomain( input: ListControlInsightsByControlDomainRequest, ): Effect.Effect< ListControlInsightsByControlDomainResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listControls( input: ListControlsRequest, ): Effect.Effect< ListControlsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listKeywordsForDataSource( input: ListKeywordsForDataSourceRequest, ): Effect.Effect< ListKeywordsForDataSourceResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listNotifications( input: ListNotificationsRequest, ): Effect.Effect< ListNotificationsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; registerAccount( input: RegisterAccountRequest, ): Effect.Effect< RegisterAccountResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; registerOrganizationAdminAccount( input: RegisterOrganizationAdminAccountRequest, ): Effect.Effect< RegisterOrganizationAdminAccountResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startAssessmentFrameworkShare( input: StartAssessmentFrameworkShareRequest, ): Effect.Effect< StartAssessmentFrameworkShareResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateAssessment( input: UpdateAssessmentRequest, ): Effect.Effect< UpdateAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAssessmentControl( input: UpdateAssessmentControlRequest, ): Effect.Effect< UpdateAssessmentControlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateAssessmentControlSetStatus( input: UpdateAssessmentControlSetStatusRequest, ): Effect.Effect< UpdateAssessmentControlSetStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateAssessmentFramework( input: UpdateAssessmentFrameworkRequest, ): Effect.Effect< UpdateAssessmentFrameworkResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateAssessmentFrameworkShare( input: UpdateAssessmentFrameworkShareRequest, ): Effect.Effect< UpdateAssessmentFrameworkShareResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateAssessmentStatus( input: UpdateAssessmentStatusRequest, ): Effect.Effect< UpdateAssessmentStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateControl( input: UpdateControlRequest, ): Effect.Effect< UpdateControlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateSettings( input: UpdateSettingsRequest, ): Effect.Effect< UpdateSettingsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; validateAssessmentReportIntegrity( input: ValidateAssessmentReportIntegrityRequest, ): Effect.Effect< ValidateAssessmentReportIntegrityResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -657,15 +390,7 @@ export type AccountId = string; export type AccountName = string; export type AccountStatus = "ACTIVE" | "INACTIVE" | "PENDING_ACTIVATION"; -export type ActionEnum = - | "CREATE" - | "UPDATE_METADATA" - | "ACTIVE" - | "INACTIVE" - | "DELETE" - | "UNDER_REVIEW" - | "REVIEWED" - | "IMPORT_EVIDENCE"; +export type ActionEnum = "CREATE" | "UPDATE_METADATA" | "ACTIVE" | "INACTIVE" | "DELETE" | "UNDER_REVIEW" | "REVIEWED" | "IMPORT_EVIDENCE"; export type ActionPlanInstructions = string; export type ActionPlanTitle = string; @@ -763,8 +488,7 @@ export interface AssessmentFrameworkShareRequest { customControlsCount?: number; complianceType?: string; } -export type AssessmentFrameworkShareRequestList = - Array; +export type AssessmentFrameworkShareRequestList = Array; export interface AssessmentMetadata { name?: string; id?: string; @@ -809,8 +533,7 @@ export interface AssessmentReportEvidenceError { errorCode?: string; errorMessage?: string; } -export type AssessmentReportEvidenceErrors = - Array; +export type AssessmentReportEvidenceErrors = Array; export interface AssessmentReportMetadata { id?: string; name?: string; @@ -834,7 +557,8 @@ export interface AssociateAssessmentReportEvidenceFolderRequest { assessmentId: string; evidenceFolderId: string; } -export interface AssociateAssessmentReportEvidenceFolderResponse {} +export interface AssociateAssessmentReportEvidenceFolderResponse { +} export type AuditManagerArn = string; export interface AWSAccount { @@ -863,8 +587,7 @@ export interface BatchCreateDelegationByAssessmentError { errorCode?: string; errorMessage?: string; } -export type BatchCreateDelegationByAssessmentErrors = - Array; +export type BatchCreateDelegationByAssessmentErrors = Array; export interface BatchCreateDelegationByAssessmentRequest { createDelegationRequests: Array; assessmentId: string; @@ -878,8 +601,7 @@ export interface BatchDeleteDelegationByAssessmentError { errorCode?: string; errorMessage?: string; } -export type BatchDeleteDelegationByAssessmentErrors = - Array; +export type BatchDeleteDelegationByAssessmentErrors = Array; export interface BatchDeleteDelegationByAssessmentRequest { delegationIds: Array; assessmentId: string; @@ -901,8 +623,7 @@ export interface BatchImportEvidenceToAssessmentControlError { errorCode?: string; errorMessage?: string; } -export type BatchImportEvidenceToAssessmentControlErrors = - Array; +export type BatchImportEvidenceToAssessmentControlErrors = Array; export interface BatchImportEvidenceToAssessmentControlRequest { assessmentId: string; controlSetId: string; @@ -968,8 +689,7 @@ export interface ControlDomainInsights { } export type ControlDomainInsightsList = Array; export type ControlInsightsMetadata = Array; -export type ControlInsightsMetadataByAssessment = - Array; +export type ControlInsightsMetadataByAssessment = Array; export interface ControlInsightsMetadataByAssessmentItem { name?: string; id?: string; @@ -1030,14 +750,12 @@ export type ControlType = "Standard" | "Custom" | "Core"; export interface CreateAssessmentFrameworkControl { id: string; } -export type CreateAssessmentFrameworkControls = - Array; +export type CreateAssessmentFrameworkControls = Array; export interface CreateAssessmentFrameworkControlSet { name: string; controls?: Array; } -export type CreateAssessmentFrameworkControlSets = - Array; +export type CreateAssessmentFrameworkControlSets = Array; export interface CreateAssessmentFrameworkRequest { name: string; description?: string; @@ -1100,12 +818,7 @@ export interface CreateDelegationRequest { roleType?: RoleType; } export type CreateDelegationRequests = Array; -export type DataSourceType = - | "AWS_Cloudtrail" - | "AWS_Config" - | "AWS_Security_Hub" - | "AWS_API_Call" - | "MANUAL"; +export type DataSourceType = "AWS_Cloudtrail" | "AWS_Config" | "AWS_Security_Hub" | "AWS_API_Call" | "MANUAL"; export interface DefaultExportDestination { destinationType?: ExportDestinationType; destination?: string; @@ -1141,34 +854,41 @@ export type DelegationStatus = "IN_PROGRESS" | "UNDER_REVIEW" | "COMPLETE"; export interface DeleteAssessmentFrameworkRequest { frameworkId: string; } -export interface DeleteAssessmentFrameworkResponse {} +export interface DeleteAssessmentFrameworkResponse { +} export interface DeleteAssessmentFrameworkShareRequest { requestId: string; requestType: ShareRequestType; } -export interface DeleteAssessmentFrameworkShareResponse {} +export interface DeleteAssessmentFrameworkShareResponse { +} export interface DeleteAssessmentReportRequest { assessmentId: string; assessmentReportId: string; } -export interface DeleteAssessmentReportResponse {} +export interface DeleteAssessmentReportResponse { +} export interface DeleteAssessmentRequest { assessmentId: string; } -export interface DeleteAssessmentResponse {} +export interface DeleteAssessmentResponse { +} export interface DeleteControlRequest { controlId: string; } -export interface DeleteControlResponse {} +export interface DeleteControlResponse { +} export type DeleteResources = "ALL" | "DEFAULT"; -export interface DeregisterAccountRequest {} +export interface DeregisterAccountRequest { +} export interface DeregisterAccountResponse { status?: AccountStatus; } export interface DeregisterOrganizationAdminAccountRequest { adminAccountId?: string; } -export interface DeregisterOrganizationAdminAccountResponse {} +export interface DeregisterOrganizationAdminAccountResponse { +} export interface DeregistrationPolicy { deleteResources?: DeleteResources; } @@ -1176,7 +896,8 @@ export interface DisassociateAssessmentReportEvidenceFolderRequest { assessmentId: string; evidenceFolderId: string; } -export interface DisassociateAssessmentReportEvidenceFolderResponse {} +export interface DisassociateAssessmentReportEvidenceFolderResponse { +} export type EmailAddress = string; export type ErrorCode = string; @@ -1207,21 +928,14 @@ export type EvidenceAttributeKey = string; export type EvidenceAttributes = Record; export type EvidenceAttributeValue = string; -export type EvidenceFinderBackfillStatus = - | "NOT_STARTED" - | "IN_PROGRESS" - | "COMPLETED"; +export type EvidenceFinderBackfillStatus = "NOT_STARTED" | "IN_PROGRESS" | "COMPLETED"; export interface EvidenceFinderEnablement { eventDataStoreArn?: string; enablementStatus?: EvidenceFinderEnablementStatus; backfillStatus?: EvidenceFinderBackfillStatus; error?: string; } -export type EvidenceFinderEnablementStatus = - | "ENABLED" - | "DISABLED" - | "ENABLE_IN_PROGRESS" - | "DISABLE_IN_PROGRESS"; +export type EvidenceFinderEnablementStatus = "ENABLED" | "DISABLED" | "ENABLE_IN_PROGRESS" | "DISABLE_IN_PROGRESS"; export type EvidenceIds = Array; export interface EvidenceInsights { noncompliantEvidenceCount?: number; @@ -1263,7 +977,8 @@ export type FrameworkName = string; export type FrameworkType = "Standard" | "Custom"; export type GenericArn = string; -export interface GetAccountStatusRequest {} +export interface GetAccountStatusRequest { +} export interface GetAccountStatusResponse { status?: AccountStatus; } @@ -1373,16 +1088,19 @@ export interface GetInsightsByAssessmentRequest { export interface GetInsightsByAssessmentResponse { insights?: InsightsByAssessment; } -export interface GetInsightsRequest {} +export interface GetInsightsRequest { +} export interface GetInsightsResponse { insights?: Insights; } -export interface GetOrganizationAdminAccountRequest {} +export interface GetOrganizationAdminAccountRequest { +} export interface GetOrganizationAdminAccountResponse { adminAccountId?: string; organizationId?: string; } -export interface GetServicesInScopeRequest {} +export interface GetServicesInScopeRequest { +} export interface GetServicesInScopeResponse { serviceMetadata?: Array; } @@ -1420,10 +1138,7 @@ export declare class InternalServerException extends EffectData.TaggedError( )<{ readonly message: string; }> {} -export type KeywordInputType = - | "SELECT_FROM_LIST" - | "UPLOAD_FILE" - | "INPUT_TEXT"; +export type KeywordInputType = "SELECT_FROM_LIST" | "UPLOAD_FILE" | "INPUT_TEXT"; export type Keywords = Array; export type KeywordValue = string; @@ -1563,12 +1278,7 @@ export interface Notification { export type Notifications = Array; export type NullableInteger = number; -export type ObjectTypeEnum = - | "ASSESSMENT" - | "CONTROL_SET" - | "CONTROL" - | "DELEGATION" - | "ASSESSMENT_REPORT"; +export type ObjectTypeEnum = "ASSESSMENT" | "CONTROL_SET" | "CONTROL" | "DELEGATION" | "ASSESSMENT_REPORT"; export type organizationId = string; export type QueryStatement = string; @@ -1626,15 +1336,7 @@ export declare class ServiceQuotaExceededException extends EffectData.TaggedErro )<{ readonly message: string; }> {} -export type SettingAttribute = - | "ALL" - | "IS_AWS_ORG_ENABLED" - | "SNS_TOPIC" - | "DEFAULT_ASSESSMENT_REPORTS_DESTINATION" - | "DEFAULT_PROCESS_OWNERS" - | "EVIDENCE_FINDER_ENABLEMENT" - | "DEREGISTRATION_POLICY" - | "DEFAULT_EXPORT_DESTINATION"; +export type SettingAttribute = "ALL" | "IS_AWS_ORG_ENABLED" | "SNS_TOPIC" | "DEFAULT_ASSESSMENT_REPORTS_DESTINATION" | "DEFAULT_PROCESS_OWNERS" | "EVIDENCE_FINDER_ENABLEMENT" | "DEREGISTRATION_POLICY" | "DEFAULT_EXPORT_DESTINATION"; export interface Settings { isAwsOrgEnabled?: boolean; snsTopic?: string; @@ -1648,15 +1350,7 @@ export interface Settings { export type ShareRequestAction = "ACCEPT" | "DECLINE" | "REVOKE"; export type ShareRequestComment = string; -export type ShareRequestStatus = - | "ACTIVE" - | "REPLICATING" - | "SHARED" - | "EXPIRING" - | "FAILED" - | "EXPIRED" - | "DECLINED" - | "REVOKED"; +export type ShareRequestStatus = "ACTIVE" | "REPLICATING" | "SHARED" | "EXPIRING" | "FAILED" | "EXPIRED" | "DECLINED" | "REVOKED"; export type ShareRequestType = "SENT" | "RECEIVED"; export type SnsArn = string; @@ -1671,17 +1365,8 @@ export interface SourceKeyword { } export type SourceName = string; -export type SourceSetUpOption = - | "System_Controls_Mapping" - | "Procedural_Controls_Mapping"; -export type SourceType = - | "AWS_Cloudtrail" - | "AWS_Config" - | "AWS_Security_Hub" - | "AWS_API_Call" - | "MANUAL" - | "Common_Control" - | "Core_Control"; +export type SourceSetUpOption = "System_Controls_Mapping" | "Procedural_Controls_Mapping"; +export type SourceType = "AWS_Cloudtrail" | "AWS_Config" | "AWS_Security_Hub" | "AWS_API_Call" | "MANUAL" | "Common_Control" | "Core_Control"; export interface StartAssessmentFrameworkShareRequest { frameworkId: string; destinationAccount: string; @@ -1701,7 +1386,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TestingInformation = string; @@ -1723,7 +1409,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAssessmentControlRequest { assessmentId: string; controlSetId: string; @@ -1748,8 +1435,7 @@ export interface UpdateAssessmentFrameworkControlSet { name: string; controls: Array; } -export type UpdateAssessmentFrameworkControlSets = - Array; +export type UpdateAssessmentFrameworkControlSets = Array; export interface UpdateAssessmentFrameworkRequest { frameworkId: string; name: string; @@ -1843,11 +1529,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export declare namespace AssociateAssessmentReportEvidenceFolder { export type Input = AssociateAssessmentReportEvidenceFolderRequest; export type Output = AssociateAssessmentReportEvidenceFolderResponse; @@ -2054,7 +1736,9 @@ export declare namespace DisassociateAssessmentReportEvidenceFolder { export declare namespace GetAccountStatus { export type Input = GetAccountStatusRequest; export type Output = GetAccountStatusResponse; - export type Error = InternalServerException | CommonAwsError; + export type Error = + | InternalServerException + | CommonAwsError; } export declare namespace GetAssessment { @@ -2520,11 +2204,5 @@ export declare namespace ValidateAssessmentReportIntegrity { | CommonAwsError; } -export type AuditManagerErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type AuditManagerErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/auto-scaling-plans/index.ts b/src/services/auto-scaling-plans/index.ts index 0dcab9cd..3e46432c 100644 --- a/src/services/auto-scaling-plans/index.ts +++ b/src/services/auto-scaling-plans/index.ts @@ -5,25 +5,7 @@ import type { AutoScalingPlans as _AutoScalingPlansClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/auto-scaling-plans/types.ts b/src/services/auto-scaling-plans/types.ts index 689a115e..cb7464f3 100644 --- a/src/services/auto-scaling-plans/types.ts +++ b/src/services/auto-scaling-plans/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class AutoScalingPlans extends AWSServiceClient { @@ -42,41 +8,25 @@ export declare class AutoScalingPlans extends AWSServiceClient { input: CreateScalingPlanRequest, ): Effect.Effect< CreateScalingPlanResponse, - | ConcurrentUpdateException - | InternalServiceException - | LimitExceededException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | LimitExceededException | ValidationException | CommonAwsError >; deleteScalingPlan( input: DeleteScalingPlanRequest, ): Effect.Effect< DeleteScalingPlanResponse, - | ConcurrentUpdateException - | InternalServiceException - | ObjectNotFoundException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | ObjectNotFoundException | ValidationException | CommonAwsError >; describeScalingPlanResources( input: DescribeScalingPlanResourcesRequest, ): Effect.Effect< DescribeScalingPlanResourcesResponse, - | ConcurrentUpdateException - | InternalServiceException - | InvalidNextTokenException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | InvalidNextTokenException | ValidationException | CommonAwsError >; describeScalingPlans( input: DescribeScalingPlansRequest, ): Effect.Effect< DescribeScalingPlansResponse, - | ConcurrentUpdateException - | InternalServiceException - | InvalidNextTokenException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | InvalidNextTokenException | ValidationException | CommonAwsError >; getScalingPlanResourceForecastData( input: GetScalingPlanResourceForecastDataRequest, @@ -88,11 +38,7 @@ export declare class AutoScalingPlans extends AWSServiceClient { input: UpdateScalingPlanRequest, ): Effect.Effect< UpdateScalingPlanResponse, - | ConcurrentUpdateException - | InternalServiceException - | ObjectNotFoundException - | ValidationException - | CommonAwsError + ConcurrentUpdateException | InternalServiceException | ObjectNotFoundException | ValidationException | CommonAwsError >; } @@ -139,7 +85,8 @@ export interface DeleteScalingPlanRequest { ScalingPlanName: string; ScalingPlanVersion: number; } -export interface DeleteScalingPlanResponse {} +export interface DeleteScalingPlanResponse { +} export interface DescribeScalingPlanResourcesRequest { ScalingPlanName: string; ScalingPlanVersion: number; @@ -167,11 +114,7 @@ export type DisableScaleIn = boolean; export type ErrorMessage = string; -export type ForecastDataType = - | "CapacityForecast" - | "LoadForecast" - | "ScheduledActionMinCapacity" - | "ScheduledActionMaxCapacity"; +export type ForecastDataType = "CapacityForecast" | "LoadForecast" | "ScheduledActionMinCapacity" | "ScheduledActionMaxCapacity"; export interface GetScalingPlanResourceForecastDataRequest { ScalingPlanName: string; ScalingPlanVersion: number; @@ -200,11 +143,7 @@ export declare class LimitExceededException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type LoadMetricType = - | "ASGTotalCPUUtilization" - | "ASGTotalNetworkIn" - | "ASGTotalNetworkOut" - | "ALBTargetGroupRequestCount"; +export type LoadMetricType = "ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount"; export type MaxResults = number; export interface MetricDimension { @@ -222,12 +161,7 @@ export type MetricNamespace = string; export type MetricScale = number; -export type MetricStatistic = - | "Average" - | "Minimum" - | "Maximum" - | "SampleCount" - | "Sum"; +export type MetricStatistic = "Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"; export type MetricUnit = string; export type NextToken = string; @@ -248,10 +182,7 @@ export interface PredefinedScalingMetricSpecification { PredefinedScalingMetricType: ScalingMetricType; ResourceLabel?: string; } -export type PredictiveScalingMaxCapacityBehavior = - | "SetForecastCapacityToMaxCapacity" - | "SetMaxCapacityToForecastCapacity" - | "SetMaxCapacityAboveForecastCapacity"; +export type PredictiveScalingMaxCapacityBehavior = "SetForecastCapacityToMaxCapacity" | "SetMaxCapacityToForecastCapacity" | "SetMaxCapacityAboveForecastCapacity"; export type PredictiveScalingMode = "ForecastAndScale" | "ForecastOnly"; export type ResourceCapacity = number; @@ -259,15 +190,7 @@ export type ResourceIdMaxLen1600 = string; export type ResourceLabel = string; -export type ScalableDimension = - | "autoscaling:autoScalingGroup:DesiredCapacity" - | "ecs:service:DesiredCount" - | "ec2:spot-fleet-request:TargetCapacity" - | "rds:cluster:ReadReplicaCount" - | "dynamodb:table:ReadCapacityUnits" - | "dynamodb:table:WriteCapacityUnits" - | "dynamodb:index:ReadCapacityUnits" - | "dynamodb:index:WriteCapacityUnits"; +export type ScalableDimension = "autoscaling:autoScalingGroup:DesiredCapacity" | "ecs:service:DesiredCount" | "ec2:spot-fleet-request:TargetCapacity" | "rds:cluster:ReadReplicaCount" | "dynamodb:table:ReadCapacityUnits" | "dynamodb:table:WriteCapacityUnits" | "dynamodb:index:ReadCapacityUnits" | "dynamodb:index:WriteCapacityUnits"; export interface ScalingInstruction { ServiceNamespace: ServiceNamespace; ResourceId: string; @@ -285,20 +208,7 @@ export interface ScalingInstruction { DisableDynamicScaling?: boolean; } export type ScalingInstructions = Array; -export type ScalingMetricType = - | "ASGAverageCPUUtilization" - | "ASGAverageNetworkIn" - | "ASGAverageNetworkOut" - | "DynamoDBReadCapacityUtilization" - | "DynamoDBWriteCapacityUtilization" - | "ECSServiceAverageCPUUtilization" - | "ECSServiceAverageMemoryUtilization" - | "ALBRequestCountPerTarget" - | "RDSReaderAverageCPUUtilization" - | "RDSReaderAverageDatabaseConnections" - | "EC2SpotFleetRequestAverageCPUUtilization" - | "EC2SpotFleetRequestAverageNetworkIn" - | "EC2SpotFleetRequestAverageNetworkOut"; +export type ScalingMetricType = "ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "DynamoDBReadCapacityUtilization" | "DynamoDBWriteCapacityUtilization" | "ECSServiceAverageCPUUtilization" | "ECSServiceAverageMemoryUtilization" | "ALBRequestCountPerTarget" | "RDSReaderAverageCPUUtilization" | "RDSReaderAverageDatabaseConnections" | "EC2SpotFleetRequestAverageCPUUtilization" | "EC2SpotFleetRequestAverageNetworkIn" | "EC2SpotFleetRequestAverageNetworkOut"; export interface ScalingPlan { ScalingPlanName: string; ScalingPlanVersion: number; @@ -324,15 +234,7 @@ export interface ScalingPlanResource { } export type ScalingPlanResources = Array; export type ScalingPlans = Array; -export type ScalingPlanStatusCode = - | "Active" - | "ActiveWithProblems" - | "CreationInProgress" - | "CreationFailed" - | "DeletionInProgress" - | "DeletionFailed" - | "UpdateInProgress" - | "UpdateFailed"; +export type ScalingPlanStatusCode = "Active" | "ActiveWithProblems" | "CreationInProgress" | "CreationFailed" | "DeletionInProgress" | "DeletionFailed" | "UpdateInProgress" | "UpdateFailed"; export type ScalingPlanVersion = number; export type ScalingPolicies = Array; @@ -341,18 +243,11 @@ export interface ScalingPolicy { PolicyType: PolicyType; TargetTrackingConfiguration?: TargetTrackingConfiguration; } -export type ScalingPolicyUpdateBehavior = - | "KeepExternalPolicies" - | "ReplaceExternalPolicies"; +export type ScalingPolicyUpdateBehavior = "KeepExternalPolicies" | "ReplaceExternalPolicies"; export type ScalingStatusCode = "Inactive" | "PartiallyActive" | "Active"; export type ScheduledActionBufferTime = number; -export type ServiceNamespace = - | "autoscaling" - | "ecs" - | "ec2" - | "rds" - | "dynamodb"; +export type ServiceNamespace = "autoscaling" | "ecs" | "ec2" | "rds" | "dynamodb"; export interface TagFilter { Key?: string; Values?: Array; @@ -377,7 +272,8 @@ export interface UpdateScalingPlanRequest { ApplicationSource?: ApplicationSource; ScalingInstructions?: Array; } -export interface UpdateScalingPlanResponse {} +export interface UpdateScalingPlanResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -453,11 +349,5 @@ export declare namespace UpdateScalingPlan { | CommonAwsError; } -export type AutoScalingPlansErrors = - | ConcurrentUpdateException - | InternalServiceException - | InvalidNextTokenException - | LimitExceededException - | ObjectNotFoundException - | ValidationException - | CommonAwsError; +export type AutoScalingPlansErrors = ConcurrentUpdateException | InternalServiceException | InvalidNextTokenException | LimitExceededException | ObjectNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/auto-scaling/index.ts b/src/services/auto-scaling/index.ts index 0656901a..2a95d6e7 100644 --- a/src/services/auto-scaling/index.ts +++ b/src/services/auto-scaling/index.ts @@ -6,26 +6,7 @@ import type { AutoScaling as _AutoScalingClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const AutoScaling = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _AutoScalingClient; diff --git a/src/services/auto-scaling/types.ts b/src/services/auto-scaling/types.ts index 35bc412e..1fb29cfc 100644 --- a/src/services/auto-scaling/types.ts +++ b/src/services/auto-scaling/types.ts @@ -37,19 +37,13 @@ export declare class AutoScaling extends AWSServiceClient { input: BatchPutScheduledUpdateGroupActionType, ): Effect.Effect< BatchPutScheduledUpdateGroupActionAnswer, - | AlreadyExistsFault - | LimitExceededFault - | ResourceContentionFault - | CommonAwsError + AlreadyExistsFault | LimitExceededFault | ResourceContentionFault | CommonAwsError >; cancelInstanceRefresh( input: CancelInstanceRefreshType, ): Effect.Effect< CancelInstanceRefreshAnswer, - | ActiveInstanceRefreshNotFoundFault - | LimitExceededFault - | ResourceContentionFault - | CommonAwsError + ActiveInstanceRefreshNotFoundFault | LimitExceededFault | ResourceContentionFault | CommonAwsError >; completeLifecycleAction( input: CompleteLifecycleActionType, @@ -61,39 +55,25 @@ export declare class AutoScaling extends AWSServiceClient { input: CreateAutoScalingGroupType, ): Effect.Effect< {}, - | AlreadyExistsFault - | LimitExceededFault - | ResourceContentionFault - | ServiceLinkedRoleFailure - | CommonAwsError + AlreadyExistsFault | LimitExceededFault | ResourceContentionFault | ServiceLinkedRoleFailure | CommonAwsError >; createLaunchConfiguration( input: CreateLaunchConfigurationType, ): Effect.Effect< {}, - | AlreadyExistsFault - | LimitExceededFault - | ResourceContentionFault - | CommonAwsError + AlreadyExistsFault | LimitExceededFault | ResourceContentionFault | CommonAwsError >; createOrUpdateTags( input: CreateOrUpdateTagsType, ): Effect.Effect< {}, - | AlreadyExistsFault - | LimitExceededFault - | ResourceContentionFault - | ResourceInUseFault - | CommonAwsError + AlreadyExistsFault | LimitExceededFault | ResourceContentionFault | ResourceInUseFault | CommonAwsError >; deleteAutoScalingGroup( input: DeleteAutoScalingGroupType, ): Effect.Effect< {}, - | ResourceContentionFault - | ResourceInUseFault - | ScalingActivityInProgressFault - | CommonAwsError + ResourceContentionFault | ResourceInUseFault | ScalingActivityInProgressFault | CommonAwsError >; deleteLaunchConfiguration( input: LaunchConfigurationNameType, @@ -109,7 +89,10 @@ export declare class AutoScaling extends AWSServiceClient { >; deleteNotificationConfiguration( input: DeleteNotificationConfigurationType, - ): Effect.Effect<{}, ResourceContentionFault | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceContentionFault | CommonAwsError + >; deletePolicy( input: DeletePolicyType, ): Effect.Effect< @@ -118,7 +101,10 @@ export declare class AutoScaling extends AWSServiceClient { >; deleteScheduledAction( input: DeleteScheduledActionType, - ): Effect.Effect<{}, ResourceContentionFault | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceContentionFault | CommonAwsError + >; deleteTags( input: DeleteTagsType, ): Effect.Effect< @@ -129,17 +115,17 @@ export declare class AutoScaling extends AWSServiceClient { input: DeleteWarmPoolType, ): Effect.Effect< DeleteWarmPoolAnswer, - | LimitExceededFault - | ResourceContentionFault - | ResourceInUseFault - | ScalingActivityInProgressFault - | CommonAwsError + LimitExceededFault | ResourceContentionFault | ResourceInUseFault | ScalingActivityInProgressFault | CommonAwsError >; - describeAccountLimits(input: {}): Effect.Effect< + describeAccountLimits( + input: {}, + ): Effect.Effect< DescribeAccountLimitsAnswer, ResourceContentionFault | CommonAwsError >; - describeAdjustmentTypes(input: {}): Effect.Effect< + describeAdjustmentTypes( + input: {}, + ): Effect.Effect< DescribeAdjustmentTypesAnswer, ResourceContentionFault | CommonAwsError >; @@ -155,7 +141,9 @@ export declare class AutoScaling extends AWSServiceClient { AutoScalingInstancesType, InvalidNextToken | ResourceContentionFault | CommonAwsError >; - describeAutoScalingNotificationTypes(input: {}): Effect.Effect< + describeAutoScalingNotificationTypes( + input: {}, + ): Effect.Effect< DescribeAutoScalingNotificationTypesAnswer, ResourceContentionFault | CommonAwsError >; @@ -177,7 +165,9 @@ export declare class AutoScaling extends AWSServiceClient { DescribeLifecycleHooksAnswer, ResourceContentionFault | CommonAwsError >; - describeLifecycleHookTypes(input: {}): Effect.Effect< + describeLifecycleHookTypes( + input: {}, + ): Effect.Effect< DescribeLifecycleHookTypesAnswer, ResourceContentionFault | CommonAwsError >; @@ -193,7 +183,9 @@ export declare class AutoScaling extends AWSServiceClient { DescribeLoadBalancerTargetGroupsResponse, InvalidNextToken | ResourceContentionFault | CommonAwsError >; - describeMetricCollectionTypes(input: {}): Effect.Effect< + describeMetricCollectionTypes( + input: {}, + ): Effect.Effect< DescribeMetricCollectionTypesAnswer, ResourceContentionFault | CommonAwsError >; @@ -207,10 +199,7 @@ export declare class AutoScaling extends AWSServiceClient { input: DescribePoliciesType, ): Effect.Effect< PoliciesType, - | InvalidNextToken - | ResourceContentionFault - | ServiceLinkedRoleFailure - | CommonAwsError + InvalidNextToken | ResourceContentionFault | ServiceLinkedRoleFailure | CommonAwsError >; describeScalingActivities( input: DescribeScalingActivitiesType, @@ -218,7 +207,9 @@ export declare class AutoScaling extends AWSServiceClient { ActivitiesType, InvalidNextToken | ResourceContentionFault | CommonAwsError >; - describeScalingProcessTypes(input: {}): Effect.Effect< + describeScalingProcessTypes( + input: {}, + ): Effect.Effect< ProcessesType, ResourceContentionFault | CommonAwsError >; @@ -234,7 +225,9 @@ export declare class AutoScaling extends AWSServiceClient { TagsType, InvalidNextToken | ResourceContentionFault | CommonAwsError >; - describeTerminationPolicyTypes(input: {}): Effect.Effect< + describeTerminationPolicyTypes( + input: {}, + ): Effect.Effect< DescribeTerminationPolicyTypesAnswer, ResourceContentionFault | CommonAwsError >; @@ -248,10 +241,7 @@ export declare class AutoScaling extends AWSServiceClient { input: DescribeWarmPoolType, ): Effect.Effect< DescribeWarmPoolAnswer, - | InvalidNextToken - | LimitExceededFault - | ResourceContentionFault - | CommonAwsError + InvalidNextToken | LimitExceededFault | ResourceContentionFault | CommonAwsError >; detachInstances( input: DetachInstancesQuery, @@ -279,10 +269,16 @@ export declare class AutoScaling extends AWSServiceClient { >; disableMetricsCollection( input: DisableMetricsCollectionQuery, - ): Effect.Effect<{}, ResourceContentionFault | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceContentionFault | CommonAwsError + >; enableMetricsCollection( input: EnableMetricsCollectionQuery, - ): Effect.Effect<{}, ResourceContentionFault | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceContentionFault | CommonAwsError + >; enterStandby( input: EnterStandbyQuery, ): Effect.Effect< @@ -297,7 +293,10 @@ export declare class AutoScaling extends AWSServiceClient { >; exitStandby( input: ExitStandbyQuery, - ): Effect.Effect; + ): Effect.Effect< + ExitStandbyAnswer, + ResourceContentionFault | CommonAwsError + >; getPredictiveScalingForecast( input: GetPredictiveScalingForecastType, ): Effect.Effect< @@ -314,28 +313,19 @@ export declare class AutoScaling extends AWSServiceClient { input: PutNotificationConfigurationType, ): Effect.Effect< {}, - | LimitExceededFault - | ResourceContentionFault - | ServiceLinkedRoleFailure - | CommonAwsError + LimitExceededFault | ResourceContentionFault | ServiceLinkedRoleFailure | CommonAwsError >; putScalingPolicy( input: PutScalingPolicyType, ): Effect.Effect< PolicyARNType, - | LimitExceededFault - | ResourceContentionFault - | ServiceLinkedRoleFailure - | CommonAwsError + LimitExceededFault | ResourceContentionFault | ServiceLinkedRoleFailure | CommonAwsError >; putScheduledUpdateGroupAction( input: PutScheduledUpdateGroupActionType, ): Effect.Effect< {}, - | AlreadyExistsFault - | LimitExceededFault - | ResourceContentionFault - | CommonAwsError + AlreadyExistsFault | LimitExceededFault | ResourceContentionFault | CommonAwsError >; putWarmPool( input: PutWarmPoolType, @@ -359,11 +349,7 @@ export declare class AutoScaling extends AWSServiceClient { input: RollbackInstanceRefreshType, ): Effect.Effect< RollbackInstanceRefreshAnswer, - | ActiveInstanceRefreshNotFoundFault - | IrreversibleInstanceRefreshFault - | LimitExceededFault - | ResourceContentionFault - | CommonAwsError + ActiveInstanceRefreshNotFoundFault | IrreversibleInstanceRefreshFault | LimitExceededFault | ResourceContentionFault | CommonAwsError >; setDesiredCapacity( input: SetDesiredCapacityType, @@ -373,7 +359,10 @@ export declare class AutoScaling extends AWSServiceClient { >; setInstanceHealth( input: SetInstanceHealthQuery, - ): Effect.Effect<{}, ResourceContentionFault | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceContentionFault | CommonAwsError + >; setInstanceProtection( input: SetInstanceProtectionQuery, ): Effect.Effect< @@ -384,10 +373,7 @@ export declare class AutoScaling extends AWSServiceClient { input: StartInstanceRefreshType, ): Effect.Effect< StartInstanceRefreshAnswer, - | InstanceRefreshInProgressFault - | LimitExceededFault - | ResourceContentionFault - | CommonAwsError + InstanceRefreshInProgressFault | LimitExceededFault | ResourceContentionFault | CommonAwsError >; suspendProcesses( input: ScalingProcessQuery, @@ -405,10 +391,7 @@ export declare class AutoScaling extends AWSServiceClient { input: UpdateAutoScalingGroupType, ): Effect.Effect< {}, - | ResourceContentionFault - | ScalingActivityInProgressFault - | ServiceLinkedRoleFailure - | CommonAwsError + ResourceContentionFault | ScalingActivityInProgressFault | ServiceLinkedRoleFailure | CommonAwsError >; } @@ -416,20 +399,9 @@ export interface AcceleratorCountRequest { Min?: number; Max?: number; } -export type AcceleratorManufacturer = - | "nvidia" - | "amd" - | "amazon-web-services" - | "xilinx"; +export type AcceleratorManufacturer = "nvidia" | "amd" | "amazon-web-services" | "xilinx"; export type AcceleratorManufacturers = Array; -export type AcceleratorName = - | "a100" - | "v100" - | "k80" - | "t4" - | "m60" - | "radeon-pro-v520" - | "vu9p"; +export type AcceleratorName = "a100" | "v100" | "k80" | "t4" | "m60" | "radeon-pro-v520" | "vu9p"; export type AcceleratorNames = Array; export interface AcceleratorTotalMemoryMiBRequest { Min?: number; @@ -496,17 +468,20 @@ export interface AttachInstancesQuery { InstanceIds?: Array; AutoScalingGroupName: string; } -export interface AttachLoadBalancersResultType {} +export interface AttachLoadBalancersResultType { +} export interface AttachLoadBalancersType { AutoScalingGroupName: string; LoadBalancerNames: Array; } -export interface AttachLoadBalancerTargetGroupsResultType {} +export interface AttachLoadBalancerTargetGroupsResultType { +} export interface AttachLoadBalancerTargetGroupsType { AutoScalingGroupName: string; TargetGroupARNs: Array; } -export interface AttachTrafficSourcesResultType {} +export interface AttachTrafficSourcesResultType { +} export interface AttachTrafficSourcesType { AutoScalingGroupName: string; TrafficSources: Array; @@ -656,9 +631,7 @@ export interface CancelInstanceRefreshType { AutoScalingGroupName: string; WaitForTransitioningInstances?: boolean; } -export type CapacityDistributionStrategy = - | "balanced-only" - | "balanced-best-effort"; +export type CapacityDistributionStrategy = "balanced-only" | "balanced-best-effort"; export interface CapacityForecast { Timestamps: Array; Values: Array; @@ -666,11 +639,7 @@ export interface CapacityForecast { export type CapacityRebalanceEnabled = boolean; export type CapacityReservationIds = Array; -export type CapacityReservationPreference = - | "capacity-reservations-only" - | "capacity-reservations-first" - | "none" - | "default"; +export type CapacityReservationPreference = "capacity-reservations-only" | "capacity-reservations-first" | "none" | "default"; export type CapacityReservationResourceGroupArns = Array; export interface CapacityReservationSpecification { CapacityReservationPreference?: CapacityReservationPreference; @@ -684,7 +653,8 @@ export type CheckpointDelay = number; export type CheckpointPercentages = Array; export type ClassicLinkVPCSecurityGroups = Array; -export interface CompleteLifecycleActionAnswer {} +export interface CompleteLifecycleActionAnswer { +} export interface CompleteLifecycleActionType { LifecycleHookName: string; AutoScalingGroupName: string; @@ -774,7 +744,8 @@ export interface DeleteAutoScalingGroupType { AutoScalingGroupName: string; ForceDelete?: boolean; } -export interface DeleteLifecycleHookAnswer {} +export interface DeleteLifecycleHookAnswer { +} export interface DeleteLifecycleHookType { LifecycleHookName: string; AutoScalingGroupName: string; @@ -794,7 +765,8 @@ export interface DeleteScheduledActionType { export interface DeleteTagsType { Tags: Array; } -export interface DeleteWarmPoolAnswer {} +export interface DeleteWarmPoolAnswer { +} export interface DeleteWarmPoolType { AutoScalingGroupName: string; ForceDelete?: boolean; @@ -929,17 +901,20 @@ export interface DetachInstancesQuery { AutoScalingGroupName: string; ShouldDecrementDesiredCapacity: boolean; } -export interface DetachLoadBalancersResultType {} +export interface DetachLoadBalancersResultType { +} export interface DetachLoadBalancersType { AutoScalingGroupName: string; LoadBalancerNames: Array; } -export interface DetachLoadBalancerTargetGroupsResultType {} +export interface DetachLoadBalancerTargetGroupsResultType { +} export interface DetachLoadBalancerTargetGroupsType { AutoScalingGroupName: string; TargetGroupARNs: Array; } -export interface DetachTrafficSourcesResultType {} +export interface DetachTrafficSourcesResultType { +} export interface DetachTrafficSourcesType { AutoScalingGroupName: string; TrafficSources: Array; @@ -1003,8 +978,7 @@ export interface FailedScheduledUpdateGroupActionRequest { ErrorCode?: string; ErrorMessage?: string; } -export type FailedScheduledUpdateGroupActionRequests = - Array; +export type FailedScheduledUpdateGroupActionRequests = Array; export interface Filter { Name?: string; Values?: Array; @@ -1031,9 +1005,7 @@ export type HeartbeatTimeout = number; export type HonorCooldown = boolean; -export type ImpairedZoneHealthCheckBehavior = - | "ReplaceUnhealthy" - | "IgnoreUnhealthy"; +export type ImpairedZoneHealthCheckBehavior = "ReplaceUnhealthy" | "IgnoreUnhealthy"; export type IncludeDeletedGroups = boolean; export type IncludeInstances = boolean; @@ -1099,17 +1071,7 @@ export interface InstanceRefreshProgressDetails { LivePoolProgress?: InstanceRefreshLivePoolProgress; WarmPoolProgress?: InstanceRefreshWarmPoolProgress; } -export type InstanceRefreshStatus = - | "Pending" - | "InProgress" - | "Successful" - | "Failed" - | "Cancelling" - | "Cancelled" - | "RollbackInProgress" - | "RollbackFailed" - | "RollbackSuccessful" - | "Baking"; +export type InstanceRefreshStatus = "Pending" | "InProgress" | "Successful" | "Failed" | "Cancelling" | "Cancelled" | "RollbackInProgress" | "RollbackFailed" | "RollbackSuccessful" | "Baking"; export interface InstanceRefreshWarmPoolProgress { PercentageComplete?: number; InstancesToUpdate?: number; @@ -1253,30 +1215,7 @@ export interface LifecycleHookSpecification { RoleARN?: string; } export type LifecycleHookSpecifications = Array; -export type LifecycleState = - | "Pending" - | "Pending:Wait" - | "Pending:Proceed" - | "Quarantined" - | "InService" - | "Terminating" - | "Terminating:Wait" - | "Terminating:Proceed" - | "Terminated" - | "Detaching" - | "Detached" - | "EnteringStandby" - | "Standby" - | "Warmed:Pending" - | "Warmed:Pending:Wait" - | "Warmed:Pending:Proceed" - | "Warmed:Terminating" - | "Warmed:Terminating:Wait" - | "Warmed:Terminating:Proceed" - | "Warmed:Terminated" - | "Warmed:Stopped" - | "Warmed:Running" - | "Warmed:Hibernated"; +export type LifecycleState = "Pending" | "Pending:Wait" | "Pending:Proceed" | "Quarantined" | "InService" | "Terminating" | "Terminating:Wait" | "Terminating:Proceed" | "Terminated" | "Detaching" | "Detached" | "EnteringStandby" | "Standby" | "Warmed:Pending" | "Warmed:Pending:Wait" | "Warmed:Pending:Proceed" | "Warmed:Terminating" | "Warmed:Terminating:Wait" | "Warmed:Terminating:Proceed" | "Warmed:Terminated" | "Warmed:Stopped" | "Warmed:Running" | "Warmed:Hibernated"; export type LifecycleTransition = string; export declare class LimitExceededFault extends EffectData.TaggedError( @@ -1366,17 +1305,8 @@ export interface MetricStat { Stat: string; Unit?: string; } -export type MetricStatistic = - | "Average" - | "Minimum" - | "Maximum" - | "SampleCount" - | "Sum"; -export type MetricType = - | "ASGAverageCPUUtilization" - | "ASGAverageNetworkIn" - | "ASGAverageNetworkOut" - | "ALBRequestCountPerTarget"; +export type MetricStatistic = "Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"; +export type MetricType = "ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "ALBRequestCountPerTarget"; export type MetricUnit = string; export type MinAdjustmentMagnitude = number; @@ -1429,8 +1359,7 @@ export type Overrides = Array; export interface PerformanceFactorReferenceRequest { InstanceFamily?: string; } -export type PerformanceFactorReferenceSetRequest = - Array; +export type PerformanceFactorReferenceSetRequest = Array; export interface PoliciesType { ScalingPolicies?: Array; NextToken?: string; @@ -1443,25 +1372,13 @@ export type PolicyIncrement = number; export type PolicyNames = Array; export type PolicyTypes = Array; -export type PredefinedLoadMetricType = - | "ASGTotalCPUUtilization" - | "ASGTotalNetworkIn" - | "ASGTotalNetworkOut" - | "ALBTargetGroupRequestCount"; -export type PredefinedMetricPairType = - | "ASGCPUUtilization" - | "ASGNetworkIn" - | "ASGNetworkOut" - | "ALBRequestCount"; +export type PredefinedLoadMetricType = "ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount"; +export type PredefinedMetricPairType = "ASGCPUUtilization" | "ASGNetworkIn" | "ASGNetworkOut" | "ALBRequestCount"; export interface PredefinedMetricSpecification { PredefinedMetricType: MetricType; ResourceLabel?: string; } -export type PredefinedScalingMetricType = - | "ASGAverageCPUUtilization" - | "ASGAverageNetworkIn" - | "ASGAverageNetworkOut" - | "ALBRequestCountPerTarget"; +export type PredefinedScalingMetricType = "ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "ALBRequestCountPerTarget"; export interface PredictiveScalingConfiguration { MetricSpecifications: Array; Mode?: PredictiveScalingMode; @@ -1480,9 +1397,7 @@ export interface PredictiveScalingCustomizedScalingMetric { } export type PredictiveScalingForecastTimestamps = Array; export type PredictiveScalingForecastValues = Array; -export type PredictiveScalingMaxCapacityBreachBehavior = - | "HonorMaxCapacity" - | "IncreaseMaxCapacity"; +export type PredictiveScalingMaxCapacityBreachBehavior = "HonorMaxCapacity" | "IncreaseMaxCapacity"; export type PredictiveScalingMaxCapacityBuffer = number; export interface PredictiveScalingMetricSpecification { @@ -1494,8 +1409,7 @@ export interface PredictiveScalingMetricSpecification { CustomizedLoadMetricSpecification?: PredictiveScalingCustomizedLoadMetric; CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedCapacityMetric; } -export type PredictiveScalingMetricSpecifications = - Array; +export type PredictiveScalingMetricSpecifications = Array; export type PredictiveScalingMode = "ForecastAndScale" | "ForecastOnly"; export interface PredictiveScalingPredefinedLoadMetric { PredefinedMetricType: PredefinedLoadMetricType; @@ -1525,7 +1439,8 @@ export type PropagateAtLaunch = boolean; export type ProtectedFromScaleIn = boolean; -export interface PutLifecycleHookAnswer {} +export interface PutLifecycleHookAnswer { +} export interface PutLifecycleHookType { LifecycleHookName: string; AutoScalingGroupName: string; @@ -1569,7 +1484,8 @@ export interface PutScheduledUpdateGroupActionType { DesiredCapacity?: number; TimeZone?: string; } -export interface PutWarmPoolAnswer {} +export interface PutWarmPoolAnswer { +} export interface PutWarmPoolType { AutoScalingGroupName: string; MaxGroupPreparedCapacity?: number; @@ -1577,7 +1493,8 @@ export interface PutWarmPoolType { PoolState?: WarmPoolState; InstanceReusePolicy?: InstanceReusePolicy; } -export interface RecordLifecycleActionHeartbeatAnswer {} +export interface RecordLifecycleActionHeartbeatAnswer { +} export interface RecordLifecycleActionHeartbeatType { LifecycleHookName: string; AutoScalingGroupName: string; @@ -1635,20 +1552,7 @@ export declare class ScalingActivityInProgressFault extends EffectData.TaggedErr )<{ readonly message?: string; }> {} -export type ScalingActivityStatusCode = - | "PendingSpotBidPlacement" - | "WaitingForSpotInstanceRequestId" - | "WaitingForSpotInstanceId" - | "WaitingForInstanceId" - | "PreInService" - | "InProgress" - | "WaitingForELBConnectionDraining" - | "MidLifecycleAction" - | "WaitingForInstanceWarmup" - | "Successful" - | "Failed" - | "Cancelled" - | "WaitingForConnectionDraining"; +export type ScalingActivityStatusCode = "PendingSpotBidPlacement" | "WaitingForSpotInstanceRequestId" | "WaitingForSpotInstanceId" | "WaitingForInstanceId" | "PreInService" | "InProgress" | "WaitingForELBConnectionDraining" | "MidLifecycleAction" | "WaitingForInstanceWarmup" | "Successful" | "Failed" | "Cancelled" | "WaitingForConnectionDraining"; export type ScalingPolicies = Array; export interface ScalingPolicy { AutoScalingGroupName?: string; @@ -1702,8 +1606,7 @@ export interface ScheduledUpdateGroupActionRequest { DesiredCapacity?: number; TimeZone?: string; } -export type ScheduledUpdateGroupActionRequests = - Array; +export type ScheduledUpdateGroupActionRequests = Array; export type ScheduledUpdateGroupActions = Array; export type SecurityGroups = Array; export declare class ServiceLinkedRoleFailure extends EffectData.TaggedError( @@ -1721,7 +1624,8 @@ export interface SetInstanceHealthQuery { HealthStatus: string; ShouldRespectGracePeriod?: boolean; } -export interface SetInstanceProtectionAnswer {} +export interface SetInstanceProtectionAnswer { +} export interface SetInstanceProtectionQuery { InstanceIds: Array; AutoScalingGroupName: string; @@ -1793,8 +1697,7 @@ export interface TargetTrackingConfiguration { TargetValue: number; DisableScaleIn?: boolean; } -export type TargetTrackingMetricDataQueries = - Array; +export type TargetTrackingMetricDataQueries = Array; export interface TargetTrackingMetricDataQuery { Id: string; Expression?: string; @@ -1947,7 +1850,9 @@ export declare namespace AttachTrafficSources { export declare namespace BatchDeleteScheduledAction { export type Input = BatchDeleteScheduledActionType; export type Output = BatchDeleteScheduledActionAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace BatchPutScheduledUpdateGroupAction { @@ -1973,7 +1878,9 @@ export declare namespace CancelInstanceRefresh { export declare namespace CompleteLifecycleAction { export type Input = CompleteLifecycleActionType; export type Output = CompleteLifecycleActionAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace CreateAutoScalingGroup { @@ -2030,13 +1937,17 @@ export declare namespace DeleteLaunchConfiguration { export declare namespace DeleteLifecycleHook { export type Input = DeleteLifecycleHookType; export type Output = DeleteLifecycleHookAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DeleteNotificationConfiguration { export type Input = DeleteNotificationConfigurationType; export type Output = {}; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DeletePolicy { @@ -2051,7 +1962,9 @@ export declare namespace DeletePolicy { export declare namespace DeleteScheduledAction { export type Input = DeleteScheduledActionType; export type Output = {}; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DeleteTags { @@ -2077,13 +1990,17 @@ export declare namespace DeleteWarmPool { export declare namespace DescribeAccountLimits { export type Input = {}; export type Output = DescribeAccountLimitsAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DescribeAdjustmentTypes { export type Input = {}; export type Output = DescribeAdjustmentTypesAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DescribeAutoScalingGroups { @@ -2107,7 +2024,9 @@ export declare namespace DescribeAutoScalingInstances { export declare namespace DescribeAutoScalingNotificationTypes { export type Input = {}; export type Output = DescribeAutoScalingNotificationTypesAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DescribeInstanceRefreshes { @@ -2131,13 +2050,17 @@ export declare namespace DescribeLaunchConfigurations { export declare namespace DescribeLifecycleHooks { export type Input = DescribeLifecycleHooksType; export type Output = DescribeLifecycleHooksAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DescribeLifecycleHookTypes { export type Input = {}; export type Output = DescribeLifecycleHookTypesAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DescribeLoadBalancers { @@ -2161,7 +2084,9 @@ export declare namespace DescribeLoadBalancerTargetGroups { export declare namespace DescribeMetricCollectionTypes { export type Input = {}; export type Output = DescribeMetricCollectionTypesAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DescribeNotificationConfigurations { @@ -2195,7 +2120,9 @@ export declare namespace DescribeScalingActivities { export declare namespace DescribeScalingProcessTypes { export type Input = {}; export type Output = ProcessesType; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DescribeScheduledActions { @@ -2219,7 +2146,9 @@ export declare namespace DescribeTags { export declare namespace DescribeTerminationPolicyTypes { export type Input = {}; export type Output = DescribeTerminationPolicyTypesAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DescribeTrafficSources { @@ -2244,43 +2173,57 @@ export declare namespace DescribeWarmPool { export declare namespace DetachInstances { export type Input = DetachInstancesQuery; export type Output = DetachInstancesAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DetachLoadBalancers { export type Input = DetachLoadBalancersType; export type Output = DetachLoadBalancersResultType; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DetachLoadBalancerTargetGroups { export type Input = DetachLoadBalancerTargetGroupsType; export type Output = DetachLoadBalancerTargetGroupsResultType; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DetachTrafficSources { export type Input = DetachTrafficSourcesType; export type Output = DetachTrafficSourcesResultType; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace DisableMetricsCollection { export type Input = DisableMetricsCollectionQuery; export type Output = {}; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace EnableMetricsCollection { export type Input = EnableMetricsCollectionQuery; export type Output = {}; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace EnterStandby { export type Input = EnterStandbyQuery; export type Output = EnterStandbyAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace ExecutePolicy { @@ -2295,13 +2238,17 @@ export declare namespace ExecutePolicy { export declare namespace ExitStandby { export type Input = ExitStandbyQuery; export type Output = ExitStandbyAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace GetPredictiveScalingForecast { export type Input = GetPredictiveScalingForecastType; export type Output = GetPredictiveScalingForecastAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace PutLifecycleHook { @@ -2355,7 +2302,9 @@ export declare namespace PutWarmPool { export declare namespace RecordLifecycleActionHeartbeat { export type Input = RecordLifecycleActionHeartbeatType; export type Output = RecordLifecycleActionHeartbeatAnswer; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace ResumeProcesses { @@ -2390,7 +2339,9 @@ export declare namespace SetDesiredCapacity { export declare namespace SetInstanceHealth { export type Input = SetInstanceHealthQuery; export type Output = {}; - export type Error = ResourceContentionFault | CommonAwsError; + export type Error = + | ResourceContentionFault + | CommonAwsError; } export declare namespace SetInstanceProtection { @@ -2440,15 +2391,5 @@ export declare namespace UpdateAutoScalingGroup { | CommonAwsError; } -export type AutoScalingErrors = - | ActiveInstanceRefreshNotFoundFault - | AlreadyExistsFault - | InstanceRefreshInProgressFault - | InvalidNextToken - | IrreversibleInstanceRefreshFault - | LimitExceededFault - | ResourceContentionFault - | ResourceInUseFault - | ScalingActivityInProgressFault - | ServiceLinkedRoleFailure - | CommonAwsError; +export type AutoScalingErrors = ActiveInstanceRefreshNotFoundFault | AlreadyExistsFault | InstanceRefreshInProgressFault | InvalidNextToken | IrreversibleInstanceRefreshFault | LimitExceededFault | ResourceContentionFault | ResourceInUseFault | ScalingActivityInProgressFault | ServiceLinkedRoleFailure | CommonAwsError; + diff --git a/src/services/b2bi/index.ts b/src/services/b2bi/index.ts index 7bd2492c..b76fb0e9 100644 --- a/src/services/b2bi/index.ts +++ b/src/services/b2bi/index.ts @@ -5,23 +5,7 @@ import type { b2bi as _b2biClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/b2bi/types.ts b/src/services/b2bi/types.ts index 27b019ac..437b2898 100644 --- a/src/services/b2bi/types.ts +++ b/src/services/b2bi/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class b2bi extends AWSServiceClient { @@ -40,342 +8,181 @@ export declare class b2bi extends AWSServiceClient { input: CreateStarterMappingTemplateRequest, ): Effect.Effect< CreateStarterMappingTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; generateMapping( input: GenerateMappingRequest, ): Effect.Effect< GenerateMappingResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getTransformerJob( input: GetTransformerJobRequest, ): Effect.Effect< GetTransformerJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startTransformerJob( input: StartTransformerJobRequest, ): Effect.Effect< StartTransformerJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; testConversion( input: TestConversionRequest, ): Effect.Effect< TestConversionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; testMapping( input: TestMappingRequest, ): Effect.Effect< TestMappingResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; testParsing( input: TestParsingRequest, ): Effect.Effect< TestParsingResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createCapability( input: CreateCapabilityRequest, ): Effect.Effect< CreateCapabilityResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPartnership( input: CreatePartnershipRequest, ): Effect.Effect< CreatePartnershipResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createProfile( input: CreateProfileRequest, ): Effect.Effect< CreateProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTransformer( input: CreateTransformerRequest, ): Effect.Effect< CreateTransformerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteCapability( input: DeleteCapabilityRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePartnership( input: DeletePartnershipRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProfile( input: DeleteProfileRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTransformer( input: DeleteTransformerRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCapability( input: GetCapabilityRequest, ): Effect.Effect< GetCapabilityResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPartnership( input: GetPartnershipRequest, ): Effect.Effect< GetPartnershipResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProfile( input: GetProfileRequest, ): Effect.Effect< GetProfileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTransformer( input: GetTransformerRequest, ): Effect.Effect< GetTransformerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCapabilities( input: ListCapabilitiesRequest, ): Effect.Effect< ListCapabilitiesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPartnerships( input: ListPartnershipsRequest, ): Effect.Effect< ListPartnershipsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProfiles( input: ListProfilesRequest, ): Effect.Effect< ListProfilesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTransformers( input: ListTransformersRequest, ): Effect.Effect< ListTransformersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateCapability( input: UpdateCapabilityRequest, ): Effect.Effect< UpdateCapabilityResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updatePartnership( input: UpdatePartnershipRequest, ): Effect.Effect< UpdatePartnershipResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateProfile( input: UpdateProfileRequest, ): Effect.Effect< UpdateProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateTransformer( input: UpdateTransformerRequest, ): Effect.Effect< UpdateTransformerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -399,9 +206,7 @@ interface _CapabilityConfiguration { edi?: EdiConfiguration; } -export type CapabilityConfiguration = _CapabilityConfiguration & { - edi: EdiConfiguration; -}; +export type CapabilityConfiguration = (_CapabilityConfiguration & { edi: EdiConfiguration }); export type CapabilityDirection = "INBOUND" | "OUTBOUND"; export type CapabilityId = string; @@ -442,9 +247,7 @@ interface _ConversionTargetFormatDetails { x12?: X12Details; } -export type ConversionTargetFormatDetails = _ConversionTargetFormatDetails & { - x12: X12Details; -}; +export type ConversionTargetFormatDetails = (_ConversionTargetFormatDetails & { x12: X12Details }); export interface CreateCapabilityRequest { name: string; type: CapabilityType; @@ -565,7 +368,7 @@ interface _EdiType { x12Details?: X12Details; } -export type EdiType = _EdiType & { x12Details: X12Details }; +export type EdiType = (_EdiType & { x12Details: X12Details }); export type ElementId = string; export type ElementPosition = string; @@ -582,7 +385,7 @@ interface _FormatOptions { x12?: X12Details; } -export type FormatOptions = _FormatOptions & { x12: X12Details }; +export type FormatOptions = (_FormatOptions & { x12: X12Details }); export type FromFormat = "X12"; export type GenerateMappingInputFileContent = string; @@ -681,7 +484,7 @@ interface _InputFileSource { fileContent?: string; } -export type InputFileSource = _InputFileSource & { fileContent: string }; +export type InputFileSource = (_InputFileSource & { fileContent: string }); export type InstructionsDocuments = Array; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", @@ -751,7 +554,7 @@ interface _OutboundEdiOptions { x12?: X12Envelope; } -export type OutboundEdiOptions = _OutboundEdiOptions & { x12: X12Envelope }; +export type OutboundEdiOptions = (_OutboundEdiOptions & { x12: X12Envelope }); export interface OutputConversion { toFormat: ToFormat; formatOptions?: FormatOptions; @@ -761,9 +564,7 @@ interface _OutputSampleFileSource { fileLocation?: S3Location; } -export type OutputSampleFileSource = _OutputSampleFileSource & { - fileLocation: S3Location; -}; +export type OutputSampleFileSource = (_OutputSampleFileSource & { fileLocation: S3Location }); export type PageToken = string; export type ParsedSplitFileContentsList = Array; @@ -863,7 +664,7 @@ interface _TemplateDetails { x12?: X12Details; } -export type TemplateDetails = _TemplateDetails & { x12: X12Details }; +export type TemplateDetails = (_TemplateDetails & { x12: X12Details }); export interface TestConversionRequest { source: ConversionSource; target: ConversionTarget; @@ -1075,10 +876,7 @@ export interface X12Envelope { common?: X12OutboundEdiHeaders; wrapOptions?: WrapOptions; } -export type X12FunctionalAcknowledgment = - | "DO_NOT_GENERATE" - | "GENERATE_ALL_SEGMENTS" - | "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"; +export type X12FunctionalAcknowledgment = "DO_NOT_GENERATE" | "GENERATE_ALL_SEGMENTS" | "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"; export interface X12FunctionalGroupHeaders { applicationSenderCode?: string; applicationReceiverCode?: string; @@ -1121,352 +919,8 @@ export type X12SplitBy = "NONE" | "TRANSACTION"; export interface X12SplitOptions { splitBy: X12SplitBy; } -export type X12TechnicalAcknowledgment = - | "DO_NOT_GENERATE" - | "GENERATE_ALL_SEGMENTS"; -export type X12TransactionSet = - | "X12_100" - | "X12_101" - | "X12_102" - | "X12_103" - | "X12_104" - | "X12_105" - | "X12_106" - | "X12_107" - | "X12_108" - | "X12_109" - | "X12_110" - | "X12_111" - | "X12_112" - | "X12_113" - | "X12_120" - | "X12_121" - | "X12_124" - | "X12_125" - | "X12_126" - | "X12_127" - | "X12_128" - | "X12_129" - | "X12_130" - | "X12_131" - | "X12_132" - | "X12_133" - | "X12_135" - | "X12_138" - | "X12_139" - | "X12_140" - | "X12_141" - | "X12_142" - | "X12_143" - | "X12_144" - | "X12_146" - | "X12_147" - | "X12_148" - | "X12_149" - | "X12_150" - | "X12_151" - | "X12_152" - | "X12_153" - | "X12_154" - | "X12_155" - | "X12_157" - | "X12_158" - | "X12_159" - | "X12_160" - | "X12_161" - | "X12_163" - | "X12_170" - | "X12_175" - | "X12_176" - | "X12_179" - | "X12_180" - | "X12_185" - | "X12_186" - | "X12_187" - | "X12_188" - | "X12_189" - | "X12_190" - | "X12_191" - | "X12_194" - | "X12_195" - | "X12_196" - | "X12_197" - | "X12_198" - | "X12_199" - | "X12_200" - | "X12_201" - | "X12_202" - | "X12_203" - | "X12_204" - | "X12_205" - | "X12_206" - | "X12_210" - | "X12_211" - | "X12_212" - | "X12_213" - | "X12_214" - | "X12_215" - | "X12_216" - | "X12_217" - | "X12_218" - | "X12_219" - | "X12_220" - | "X12_222" - | "X12_223" - | "X12_224" - | "X12_225" - | "X12_227" - | "X12_228" - | "X12_240" - | "X12_242" - | "X12_244" - | "X12_245" - | "X12_248" - | "X12_249" - | "X12_250" - | "X12_251" - | "X12_252" - | "X12_255" - | "X12_256" - | "X12_259" - | "X12_260" - | "X12_261" - | "X12_262" - | "X12_263" - | "X12_264" - | "X12_265" - | "X12_266" - | "X12_267" - | "X12_268" - | "X12_269" - | "X12_270" - | "X12_271" - | "X12_272" - | "X12_273" - | "X12_274" - | "X12_275" - | "X12_276" - | "X12_277" - | "X12_278" - | "X12_280" - | "X12_283" - | "X12_284" - | "X12_285" - | "X12_286" - | "X12_288" - | "X12_290" - | "X12_300" - | "X12_301" - | "X12_303" - | "X12_304" - | "X12_309" - | "X12_310" - | "X12_311" - | "X12_312" - | "X12_313" - | "X12_315" - | "X12_317" - | "X12_319" - | "X12_322" - | "X12_323" - | "X12_324" - | "X12_325" - | "X12_326" - | "X12_350" - | "X12_352" - | "X12_353" - | "X12_354" - | "X12_355" - | "X12_356" - | "X12_357" - | "X12_358" - | "X12_361" - | "X12_362" - | "X12_404" - | "X12_410" - | "X12_412" - | "X12_414" - | "X12_417" - | "X12_418" - | "X12_419" - | "X12_420" - | "X12_421" - | "X12_422" - | "X12_423" - | "X12_424" - | "X12_425" - | "X12_426" - | "X12_429" - | "X12_431" - | "X12_432" - | "X12_433" - | "X12_434" - | "X12_435" - | "X12_436" - | "X12_437" - | "X12_440" - | "X12_451" - | "X12_452" - | "X12_453" - | "X12_455" - | "X12_456" - | "X12_460" - | "X12_463" - | "X12_466" - | "X12_468" - | "X12_470" - | "X12_475" - | "X12_485" - | "X12_486" - | "X12_490" - | "X12_492" - | "X12_494" - | "X12_500" - | "X12_501" - | "X12_503" - | "X12_504" - | "X12_511" - | "X12_517" - | "X12_521" - | "X12_527" - | "X12_536" - | "X12_540" - | "X12_561" - | "X12_567" - | "X12_568" - | "X12_601" - | "X12_602" - | "X12_620" - | "X12_625" - | "X12_650" - | "X12_715" - | "X12_753" - | "X12_754" - | "X12_805" - | "X12_806" - | "X12_810" - | "X12_811" - | "X12_812" - | "X12_813" - | "X12_814" - | "X12_815" - | "X12_816" - | "X12_818" - | "X12_819" - | "X12_820" - | "X12_821" - | "X12_822" - | "X12_823" - | "X12_824" - | "X12_826" - | "X12_827" - | "X12_828" - | "X12_829" - | "X12_830" - | "X12_831" - | "X12_832" - | "X12_833" - | "X12_834" - | "X12_835" - | "X12_836" - | "X12_837" - | "X12_838" - | "X12_839" - | "X12_840" - | "X12_841" - | "X12_842" - | "X12_843" - | "X12_844" - | "X12_845" - | "X12_846" - | "X12_847" - | "X12_848" - | "X12_849" - | "X12_850" - | "X12_851" - | "X12_852" - | "X12_853" - | "X12_854" - | "X12_855" - | "X12_856" - | "X12_857" - | "X12_858" - | "X12_859" - | "X12_860" - | "X12_861" - | "X12_862" - | "X12_863" - | "X12_864" - | "X12_865" - | "X12_866" - | "X12_867" - | "X12_868" - | "X12_869" - | "X12_870" - | "X12_871" - | "X12_872" - | "X12_873" - | "X12_874" - | "X12_875" - | "X12_876" - | "X12_877" - | "X12_878" - | "X12_879" - | "X12_880" - | "X12_881" - | "X12_882" - | "X12_883" - | "X12_884" - | "X12_885" - | "X12_886" - | "X12_887" - | "X12_888" - | "X12_889" - | "X12_891" - | "X12_893" - | "X12_894" - | "X12_895" - | "X12_896" - | "X12_920" - | "X12_924" - | "X12_925" - | "X12_926" - | "X12_928" - | "X12_940" - | "X12_943" - | "X12_944" - | "X12_945" - | "X12_947" - | "X12_980" - | "X12_990" - | "X12_993" - | "X12_996" - | "X12_997" - | "X12_998" - | "X12_999" - | "X12_270_X279" - | "X12_271_X279" - | "X12_275_X210" - | "X12_275_X211" - | "X12_276_X212" - | "X12_277_X212" - | "X12_277_X214" - | "X12_277_X364" - | "X12_278_X217" - | "X12_820_X218" - | "X12_820_X306" - | "X12_824_X186" - | "X12_834_X220" - | "X12_834_X307" - | "X12_834_X318" - | "X12_835_X221" - | "X12_837_X222" - | "X12_837_X223" - | "X12_837_X224" - | "X12_837_X291" - | "X12_837_X292" - | "X12_837_X298" - | "X12_999_X231"; +export type X12TechnicalAcknowledgment = "DO_NOT_GENERATE" | "GENERATE_ALL_SEGMENTS"; +export type X12TransactionSet = "X12_100" | "X12_101" | "X12_102" | "X12_103" | "X12_104" | "X12_105" | "X12_106" | "X12_107" | "X12_108" | "X12_109" | "X12_110" | "X12_111" | "X12_112" | "X12_113" | "X12_120" | "X12_121" | "X12_124" | "X12_125" | "X12_126" | "X12_127" | "X12_128" | "X12_129" | "X12_130" | "X12_131" | "X12_132" | "X12_133" | "X12_135" | "X12_138" | "X12_139" | "X12_140" | "X12_141" | "X12_142" | "X12_143" | "X12_144" | "X12_146" | "X12_147" | "X12_148" | "X12_149" | "X12_150" | "X12_151" | "X12_152" | "X12_153" | "X12_154" | "X12_155" | "X12_157" | "X12_158" | "X12_159" | "X12_160" | "X12_161" | "X12_163" | "X12_170" | "X12_175" | "X12_176" | "X12_179" | "X12_180" | "X12_185" | "X12_186" | "X12_187" | "X12_188" | "X12_189" | "X12_190" | "X12_191" | "X12_194" | "X12_195" | "X12_196" | "X12_197" | "X12_198" | "X12_199" | "X12_200" | "X12_201" | "X12_202" | "X12_203" | "X12_204" | "X12_205" | "X12_206" | "X12_210" | "X12_211" | "X12_212" | "X12_213" | "X12_214" | "X12_215" | "X12_216" | "X12_217" | "X12_218" | "X12_219" | "X12_220" | "X12_222" | "X12_223" | "X12_224" | "X12_225" | "X12_227" | "X12_228" | "X12_240" | "X12_242" | "X12_244" | "X12_245" | "X12_248" | "X12_249" | "X12_250" | "X12_251" | "X12_252" | "X12_255" | "X12_256" | "X12_259" | "X12_260" | "X12_261" | "X12_262" | "X12_263" | "X12_264" | "X12_265" | "X12_266" | "X12_267" | "X12_268" | "X12_269" | "X12_270" | "X12_271" | "X12_272" | "X12_273" | "X12_274" | "X12_275" | "X12_276" | "X12_277" | "X12_278" | "X12_280" | "X12_283" | "X12_284" | "X12_285" | "X12_286" | "X12_288" | "X12_290" | "X12_300" | "X12_301" | "X12_303" | "X12_304" | "X12_309" | "X12_310" | "X12_311" | "X12_312" | "X12_313" | "X12_315" | "X12_317" | "X12_319" | "X12_322" | "X12_323" | "X12_324" | "X12_325" | "X12_326" | "X12_350" | "X12_352" | "X12_353" | "X12_354" | "X12_355" | "X12_356" | "X12_357" | "X12_358" | "X12_361" | "X12_362" | "X12_404" | "X12_410" | "X12_412" | "X12_414" | "X12_417" | "X12_418" | "X12_419" | "X12_420" | "X12_421" | "X12_422" | "X12_423" | "X12_424" | "X12_425" | "X12_426" | "X12_429" | "X12_431" | "X12_432" | "X12_433" | "X12_434" | "X12_435" | "X12_436" | "X12_437" | "X12_440" | "X12_451" | "X12_452" | "X12_453" | "X12_455" | "X12_456" | "X12_460" | "X12_463" | "X12_466" | "X12_468" | "X12_470" | "X12_475" | "X12_485" | "X12_486" | "X12_490" | "X12_492" | "X12_494" | "X12_500" | "X12_501" | "X12_503" | "X12_504" | "X12_511" | "X12_517" | "X12_521" | "X12_527" | "X12_536" | "X12_540" | "X12_561" | "X12_567" | "X12_568" | "X12_601" | "X12_602" | "X12_620" | "X12_625" | "X12_650" | "X12_715" | "X12_753" | "X12_754" | "X12_805" | "X12_806" | "X12_810" | "X12_811" | "X12_812" | "X12_813" | "X12_814" | "X12_815" | "X12_816" | "X12_818" | "X12_819" | "X12_820" | "X12_821" | "X12_822" | "X12_823" | "X12_824" | "X12_826" | "X12_827" | "X12_828" | "X12_829" | "X12_830" | "X12_831" | "X12_832" | "X12_833" | "X12_834" | "X12_835" | "X12_836" | "X12_837" | "X12_838" | "X12_839" | "X12_840" | "X12_841" | "X12_842" | "X12_843" | "X12_844" | "X12_845" | "X12_846" | "X12_847" | "X12_848" | "X12_849" | "X12_850" | "X12_851" | "X12_852" | "X12_853" | "X12_854" | "X12_855" | "X12_856" | "X12_857" | "X12_858" | "X12_859" | "X12_860" | "X12_861" | "X12_862" | "X12_863" | "X12_864" | "X12_865" | "X12_866" | "X12_867" | "X12_868" | "X12_869" | "X12_870" | "X12_871" | "X12_872" | "X12_873" | "X12_874" | "X12_875" | "X12_876" | "X12_877" | "X12_878" | "X12_879" | "X12_880" | "X12_881" | "X12_882" | "X12_883" | "X12_884" | "X12_885" | "X12_886" | "X12_887" | "X12_888" | "X12_889" | "X12_891" | "X12_893" | "X12_894" | "X12_895" | "X12_896" | "X12_920" | "X12_924" | "X12_925" | "X12_926" | "X12_928" | "X12_940" | "X12_943" | "X12_944" | "X12_945" | "X12_947" | "X12_980" | "X12_990" | "X12_993" | "X12_996" | "X12_997" | "X12_998" | "X12_999" | "X12_270_X279" | "X12_271_X279" | "X12_275_X210" | "X12_275_X211" | "X12_276_X212" | "X12_277_X212" | "X12_277_X214" | "X12_277_X364" | "X12_278_X217" | "X12_820_X218" | "X12_820_X306" | "X12_824_X186" | "X12_834_X220" | "X12_834_X307" | "X12_834_X318" | "X12_835_X221" | "X12_837_X222" | "X12_837_X223" | "X12_837_X224" | "X12_837_X291" | "X12_837_X292" | "X12_837_X298" | "X12_999_X231"; export type X12UsageIndicatorCode = string; export type X12ValidateEdi = boolean; @@ -1480,22 +934,9 @@ interface _X12ValidationRule { elementRequirementValidationRule?: X12ElementRequirementValidationRule; } -export type X12ValidationRule = - | (_X12ValidationRule & { codeListValidationRule: X12CodeListValidationRule }) - | (_X12ValidationRule & { - elementLengthValidationRule: X12ElementLengthValidationRule; - }) - | (_X12ValidationRule & { - elementRequirementValidationRule: X12ElementRequirementValidationRule; - }); +export type X12ValidationRule = (_X12ValidationRule & { codeListValidationRule: X12CodeListValidationRule }) | (_X12ValidationRule & { elementLengthValidationRule: X12ElementLengthValidationRule }) | (_X12ValidationRule & { elementRequirementValidationRule: X12ElementRequirementValidationRule }); export type X12ValidationRules = Array; -export type X12Version = - | "VERSION_4010" - | "VERSION_4030" - | "VERSION_4050" - | "VERSION_4060" - | "VERSION_5010" - | "VERSION_5010_HIPAA"; +export type X12Version = "VERSION_4010" | "VERSION_4030" | "VERSION_4050" | "VERSION_4060" | "VERSION_5010" | "VERSION_5010_HIPAA"; export declare namespace CreateStarterMappingTemplate { export type Input = CreateStarterMappingTemplateRequest; export type Output = CreateStarterMappingTemplateResponse; @@ -1867,12 +1308,5 @@ export declare namespace UpdateTransformer { | CommonAwsError; } -export type b2biErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type b2biErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/backup-gateway/index.ts b/src/services/backup-gateway/index.ts index 2528cbd1..a69c9382 100644 --- a/src/services/backup-gateway/index.ts +++ b/src/services/backup-gateway/index.ts @@ -5,23 +5,7 @@ import type { BackupGateway as _BackupGatewayClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/backup-gateway/types.ts b/src/services/backup-gateway/types.ts index a00ac783..81969819 100644 --- a/src/services/backup-gateway/types.ts +++ b/src/services/backup-gateway/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BackupGateway extends AWSServiceClient { @@ -62,7 +30,10 @@ export declare class BackupGateway extends AWSServiceClient { >; createGateway( input: CreateGatewayInput, - ): Effect.Effect; + ): Effect.Effect< + CreateGatewayOutput, + CommonAwsError + >; deleteGateway( input: DeleteGatewayInput, ): Effect.Effect< @@ -73,10 +44,7 @@ export declare class BackupGateway extends AWSServiceClient { input: DeleteHypervisorInput, ): Effect.Effect< DeleteHypervisorOutput, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | CommonAwsError >; disassociateGatewayFromServer( input: DisassociateGatewayFromServerInput, @@ -122,13 +90,22 @@ export declare class BackupGateway extends AWSServiceClient { >; listGateways( input: ListGatewaysInput, - ): Effect.Effect; + ): Effect.Effect< + ListGatewaysOutput, + CommonAwsError + >; listHypervisors( input: ListHypervisorsInput, - ): Effect.Effect; + ): Effect.Effect< + ListHypervisorsOutput, + CommonAwsError + >; listVirtualMachines( input: ListVirtualMachinesInput, - ): Effect.Effect; + ): Effect.Effect< + ListVirtualMachinesOutput, + CommonAwsError + >; putBandwidthRateLimitSchedule( input: PutBandwidthRateLimitScheduleInput, ): Effect.Effect< @@ -139,10 +116,7 @@ export declare class BackupGateway extends AWSServiceClient { input: PutHypervisorPropertyMappingsInput, ): Effect.Effect< PutHypervisorPropertyMappingsOutput, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | CommonAwsError >; putMaintenanceStartTime( input: PutMaintenanceStartTimeInput, @@ -178,10 +152,7 @@ export declare class BackupGateway extends AWSServiceClient { input: UpdateHypervisorInput, ): Effect.Effect< UpdateHypervisorOutput, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | CommonAwsError >; } @@ -472,7 +443,8 @@ export interface TestHypervisorConfigurationInput { Username?: string; Password?: string; } -export interface TestHypervisorConfigurationOutput {} +export interface TestHypervisorConfigurationOutput { +} export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -560,37 +532,48 @@ export type VpcEndpoint = string; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceInput; export type Output = ListTagsForResourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { export type Input = TagResourceInput; export type Output = TagResourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceInput; export type Output = UntagResourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace AssociateGatewayToServer { export type Input = AssociateGatewayToServerInput; export type Output = AssociateGatewayToServerOutput; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace CreateGateway { export type Input = CreateGatewayInput; export type Output = CreateGatewayOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteGateway { export type Input = DeleteGatewayInput; export type Output = DeleteGatewayOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DeleteHypervisor { @@ -615,31 +598,41 @@ export declare namespace DisassociateGatewayFromServer { export declare namespace GetBandwidthRateLimitSchedule { export type Input = GetBandwidthRateLimitScheduleInput; export type Output = GetBandwidthRateLimitScheduleOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetGateway { export type Input = GetGatewayInput; export type Output = GetGatewayOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetHypervisor { export type Input = GetHypervisorInput; export type Output = GetHypervisorOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetHypervisorPropertyMappings { export type Input = GetHypervisorPropertyMappingsInput; export type Output = GetHypervisorPropertyMappingsOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetVirtualMachine { export type Input = GetVirtualMachineInput; export type Output = GetVirtualMachineOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ImportHypervisorConfiguration { @@ -654,25 +647,30 @@ export declare namespace ImportHypervisorConfiguration { export declare namespace ListGateways { export type Input = ListGatewaysInput; export type Output = ListGatewaysOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListHypervisors { export type Input = ListHypervisorsInput; export type Output = ListHypervisorsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListVirtualMachines { export type Input = ListVirtualMachinesInput; export type Output = ListVirtualMachinesOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBandwidthRateLimitSchedule { export type Input = PutBandwidthRateLimitScheduleInput; export type Output = PutBandwidthRateLimitScheduleOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace PutHypervisorPropertyMappings { @@ -724,7 +722,9 @@ export declare namespace UpdateGatewayInformation { export declare namespace UpdateGatewaySoftwareNow { export type Input = UpdateGatewaySoftwareNowInput; export type Output = UpdateGatewaySoftwareNowOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UpdateHypervisor { @@ -737,11 +737,5 @@ export declare namespace UpdateHypervisor { | CommonAwsError; } -export type BackupGatewayErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BackupGatewayErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/backup/index.ts b/src/services/backup/index.ts index bfcccfb0..06505ea3 100644 --- a/src/services/backup/index.ts +++ b/src/services/backup/index.ts @@ -5,26 +5,7 @@ import type { Backup as _BackupClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,142 +15,105 @@ const metadata = { sigV4ServiceName: "backup", endpointPrefix: "backup", operations: { - AssociateBackupVaultMpaApprovalTeam: - "PUT /backup-vaults/{BackupVaultName}/mpaApprovalTeam", - CancelLegalHold: "DELETE /legal-holds/{LegalHoldId}", - CreateBackupPlan: "PUT /backup/plans", - CreateBackupSelection: "PUT /backup/plans/{BackupPlanId}/selections", - CreateBackupVault: "PUT /backup-vaults/{BackupVaultName}", - CreateFramework: "POST /audit/frameworks", - CreateLegalHold: "POST /legal-holds", - CreateLogicallyAirGappedBackupVault: - "PUT /logically-air-gapped-backup-vaults/{BackupVaultName}", - CreateReportPlan: "POST /audit/report-plans", - CreateRestoreAccessBackupVault: "PUT /restore-access-backup-vaults", - CreateRestoreTestingPlan: "PUT /restore-testing/plans", - CreateRestoreTestingSelection: - "PUT /restore-testing/plans/{RestoreTestingPlanName}/selections", - DeleteBackupPlan: "DELETE /backup/plans/{BackupPlanId}", - DeleteBackupSelection: - "DELETE /backup/plans/{BackupPlanId}/selections/{SelectionId}", - DeleteBackupVault: "DELETE /backup-vaults/{BackupVaultName}", - DeleteBackupVaultAccessPolicy: - "DELETE /backup-vaults/{BackupVaultName}/access-policy", - DeleteBackupVaultLockConfiguration: - "DELETE /backup-vaults/{BackupVaultName}/vault-lock", - DeleteBackupVaultNotifications: - "DELETE /backup-vaults/{BackupVaultName}/notification-configuration", - DeleteFramework: "DELETE /audit/frameworks/{FrameworkName}", - DeleteRecoveryPoint: - "DELETE /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}", - DeleteReportPlan: "DELETE /audit/report-plans/{ReportPlanName}", - DeleteRestoreTestingPlan: - "DELETE /restore-testing/plans/{RestoreTestingPlanName}", - DeleteRestoreTestingSelection: - "DELETE /restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}", - DescribeBackupJob: "GET /backup-jobs/{BackupJobId}", - DescribeBackupVault: "GET /backup-vaults/{BackupVaultName}", - DescribeCopyJob: "GET /copy-jobs/{CopyJobId}", - DescribeFramework: "GET /audit/frameworks/{FrameworkName}", - DescribeGlobalSettings: "GET /global-settings", - DescribeProtectedResource: "GET /resources/{ResourceArn}", - DescribeRecoveryPoint: - "GET /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}", - DescribeRegionSettings: "GET /account-settings", - DescribeReportJob: "GET /audit/report-jobs/{ReportJobId}", - DescribeReportPlan: "GET /audit/report-plans/{ReportPlanName}", - DescribeRestoreJob: "GET /restore-jobs/{RestoreJobId}", - DisassociateBackupVaultMpaApprovalTeam: - "POST /backup-vaults/{BackupVaultName}/mpaApprovalTeam?delete", - DisassociateRecoveryPoint: - "POST /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/disassociate", - DisassociateRecoveryPointFromParent: - "DELETE /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/parentAssociation", - ExportBackupPlanTemplate: "GET /backup/plans/{BackupPlanId}/toTemplate", - GetBackupPlan: "GET /backup/plans/{BackupPlanId}", - GetBackupPlanFromJSON: "POST /backup/template/json/toPlan", - GetBackupPlanFromTemplate: - "GET /backup/template/plans/{BackupPlanTemplateId}/toPlan", - GetBackupSelection: - "GET /backup/plans/{BackupPlanId}/selections/{SelectionId}", - GetBackupVaultAccessPolicy: - "GET /backup-vaults/{BackupVaultName}/access-policy", - GetBackupVaultNotifications: - "GET /backup-vaults/{BackupVaultName}/notification-configuration", - GetLegalHold: "GET /legal-holds/{LegalHoldId}", - GetRecoveryPointIndexDetails: - "GET /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/index", - GetRecoveryPointRestoreMetadata: - "GET /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/restore-metadata", - GetRestoreJobMetadata: "GET /restore-jobs/{RestoreJobId}/metadata", - GetRestoreTestingInferredMetadata: "GET /restore-testing/inferred-metadata", - GetRestoreTestingPlan: - "GET /restore-testing/plans/{RestoreTestingPlanName}", - GetRestoreTestingSelection: - "GET /restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}", - GetSupportedResourceTypes: "GET /supported-resource-types", - ListBackupJobs: "GET /backup-jobs", - ListBackupJobSummaries: "GET /audit/backup-job-summaries", - ListBackupPlans: "GET /backup/plans", - ListBackupPlanTemplates: "GET /backup/template/plans", - ListBackupPlanVersions: "GET /backup/plans/{BackupPlanId}/versions", - ListBackupSelections: "GET /backup/plans/{BackupPlanId}/selections", - ListBackupVaults: "GET /backup-vaults", - ListCopyJobs: "GET /copy-jobs", - ListCopyJobSummaries: "GET /audit/copy-job-summaries", - ListFrameworks: "GET /audit/frameworks", - ListIndexedRecoveryPoints: "GET /indexes/recovery-point", - ListLegalHolds: "GET /legal-holds", - ListProtectedResources: "GET /resources", - ListProtectedResourcesByBackupVault: - "GET /backup-vaults/{BackupVaultName}/resources", - ListRecoveryPointsByBackupVault: - "GET /backup-vaults/{BackupVaultName}/recovery-points", - ListRecoveryPointsByLegalHold: - "GET /legal-holds/{LegalHoldId}/recovery-points", - ListRecoveryPointsByResource: - "GET /resources/{ResourceArn}/recovery-points", - ListReportJobs: "GET /audit/report-jobs", - ListReportPlans: "GET /audit/report-plans", - ListRestoreAccessBackupVaults: - "GET /logically-air-gapped-backup-vaults/{BackupVaultName}/restore-access-backup-vaults", - ListRestoreJobs: "GET /restore-jobs", - ListRestoreJobsByProtectedResource: - "GET /resources/{ResourceArn}/restore-jobs", - ListRestoreJobSummaries: "GET /audit/restore-job-summaries", - ListRestoreTestingPlans: "GET /restore-testing/plans", - ListRestoreTestingSelections: - "GET /restore-testing/plans/{RestoreTestingPlanName}/selections", - ListTags: "GET /tags/{ResourceArn}", - PutBackupVaultAccessPolicy: - "PUT /backup-vaults/{BackupVaultName}/access-policy", - PutBackupVaultLockConfiguration: - "PUT /backup-vaults/{BackupVaultName}/vault-lock", - PutBackupVaultNotifications: - "PUT /backup-vaults/{BackupVaultName}/notification-configuration", - PutRestoreValidationResult: "PUT /restore-jobs/{RestoreJobId}/validations", - RevokeRestoreAccessBackupVault: - "DELETE /logically-air-gapped-backup-vaults/{BackupVaultName}/restore-access-backup-vaults/{RestoreAccessBackupVaultArn}", - StartBackupJob: "PUT /backup-jobs", - StartCopyJob: "PUT /copy-jobs", - StartReportJob: "POST /audit/report-jobs/{ReportPlanName}", - StartRestoreJob: "PUT /restore-jobs", - StopBackupJob: "POST /backup-jobs/{BackupJobId}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "POST /untag/{ResourceArn}", - UpdateBackupPlan: "POST /backup/plans/{BackupPlanId}", - UpdateFramework: "PUT /audit/frameworks/{FrameworkName}", - UpdateGlobalSettings: "PUT /global-settings", - UpdateRecoveryPointIndexSettings: - "POST /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/index", - UpdateRecoveryPointLifecycle: - "POST /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}", - UpdateRegionSettings: "PUT /account-settings", - UpdateReportPlan: "PUT /audit/report-plans/{ReportPlanName}", - UpdateRestoreTestingPlan: - "PUT /restore-testing/plans/{RestoreTestingPlanName}", - UpdateRestoreTestingSelection: - "PUT /restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}", + "AssociateBackupVaultMpaApprovalTeam": "PUT /backup-vaults/{BackupVaultName}/mpaApprovalTeam", + "CancelLegalHold": "DELETE /legal-holds/{LegalHoldId}", + "CreateBackupPlan": "PUT /backup/plans", + "CreateBackupSelection": "PUT /backup/plans/{BackupPlanId}/selections", + "CreateBackupVault": "PUT /backup-vaults/{BackupVaultName}", + "CreateFramework": "POST /audit/frameworks", + "CreateLegalHold": "POST /legal-holds", + "CreateLogicallyAirGappedBackupVault": "PUT /logically-air-gapped-backup-vaults/{BackupVaultName}", + "CreateReportPlan": "POST /audit/report-plans", + "CreateRestoreAccessBackupVault": "PUT /restore-access-backup-vaults", + "CreateRestoreTestingPlan": "PUT /restore-testing/plans", + "CreateRestoreTestingSelection": "PUT /restore-testing/plans/{RestoreTestingPlanName}/selections", + "DeleteBackupPlan": "DELETE /backup/plans/{BackupPlanId}", + "DeleteBackupSelection": "DELETE /backup/plans/{BackupPlanId}/selections/{SelectionId}", + "DeleteBackupVault": "DELETE /backup-vaults/{BackupVaultName}", + "DeleteBackupVaultAccessPolicy": "DELETE /backup-vaults/{BackupVaultName}/access-policy", + "DeleteBackupVaultLockConfiguration": "DELETE /backup-vaults/{BackupVaultName}/vault-lock", + "DeleteBackupVaultNotifications": "DELETE /backup-vaults/{BackupVaultName}/notification-configuration", + "DeleteFramework": "DELETE /audit/frameworks/{FrameworkName}", + "DeleteRecoveryPoint": "DELETE /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}", + "DeleteReportPlan": "DELETE /audit/report-plans/{ReportPlanName}", + "DeleteRestoreTestingPlan": "DELETE /restore-testing/plans/{RestoreTestingPlanName}", + "DeleteRestoreTestingSelection": "DELETE /restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}", + "DescribeBackupJob": "GET /backup-jobs/{BackupJobId}", + "DescribeBackupVault": "GET /backup-vaults/{BackupVaultName}", + "DescribeCopyJob": "GET /copy-jobs/{CopyJobId}", + "DescribeFramework": "GET /audit/frameworks/{FrameworkName}", + "DescribeGlobalSettings": "GET /global-settings", + "DescribeProtectedResource": "GET /resources/{ResourceArn}", + "DescribeRecoveryPoint": "GET /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}", + "DescribeRegionSettings": "GET /account-settings", + "DescribeReportJob": "GET /audit/report-jobs/{ReportJobId}", + "DescribeReportPlan": "GET /audit/report-plans/{ReportPlanName}", + "DescribeRestoreJob": "GET /restore-jobs/{RestoreJobId}", + "DisassociateBackupVaultMpaApprovalTeam": "POST /backup-vaults/{BackupVaultName}/mpaApprovalTeam?delete", + "DisassociateRecoveryPoint": "POST /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/disassociate", + "DisassociateRecoveryPointFromParent": "DELETE /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/parentAssociation", + "ExportBackupPlanTemplate": "GET /backup/plans/{BackupPlanId}/toTemplate", + "GetBackupPlan": "GET /backup/plans/{BackupPlanId}", + "GetBackupPlanFromJSON": "POST /backup/template/json/toPlan", + "GetBackupPlanFromTemplate": "GET /backup/template/plans/{BackupPlanTemplateId}/toPlan", + "GetBackupSelection": "GET /backup/plans/{BackupPlanId}/selections/{SelectionId}", + "GetBackupVaultAccessPolicy": "GET /backup-vaults/{BackupVaultName}/access-policy", + "GetBackupVaultNotifications": "GET /backup-vaults/{BackupVaultName}/notification-configuration", + "GetLegalHold": "GET /legal-holds/{LegalHoldId}", + "GetRecoveryPointIndexDetails": "GET /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/index", + "GetRecoveryPointRestoreMetadata": "GET /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/restore-metadata", + "GetRestoreJobMetadata": "GET /restore-jobs/{RestoreJobId}/metadata", + "GetRestoreTestingInferredMetadata": "GET /restore-testing/inferred-metadata", + "GetRestoreTestingPlan": "GET /restore-testing/plans/{RestoreTestingPlanName}", + "GetRestoreTestingSelection": "GET /restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}", + "GetSupportedResourceTypes": "GET /supported-resource-types", + "ListBackupJobs": "GET /backup-jobs", + "ListBackupJobSummaries": "GET /audit/backup-job-summaries", + "ListBackupPlans": "GET /backup/plans", + "ListBackupPlanTemplates": "GET /backup/template/plans", + "ListBackupPlanVersions": "GET /backup/plans/{BackupPlanId}/versions", + "ListBackupSelections": "GET /backup/plans/{BackupPlanId}/selections", + "ListBackupVaults": "GET /backup-vaults", + "ListCopyJobs": "GET /copy-jobs", + "ListCopyJobSummaries": "GET /audit/copy-job-summaries", + "ListFrameworks": "GET /audit/frameworks", + "ListIndexedRecoveryPoints": "GET /indexes/recovery-point", + "ListLegalHolds": "GET /legal-holds", + "ListProtectedResources": "GET /resources", + "ListProtectedResourcesByBackupVault": "GET /backup-vaults/{BackupVaultName}/resources", + "ListRecoveryPointsByBackupVault": "GET /backup-vaults/{BackupVaultName}/recovery-points", + "ListRecoveryPointsByLegalHold": "GET /legal-holds/{LegalHoldId}/recovery-points", + "ListRecoveryPointsByResource": "GET /resources/{ResourceArn}/recovery-points", + "ListReportJobs": "GET /audit/report-jobs", + "ListReportPlans": "GET /audit/report-plans", + "ListRestoreAccessBackupVaults": "GET /logically-air-gapped-backup-vaults/{BackupVaultName}/restore-access-backup-vaults", + "ListRestoreJobs": "GET /restore-jobs", + "ListRestoreJobsByProtectedResource": "GET /resources/{ResourceArn}/restore-jobs", + "ListRestoreJobSummaries": "GET /audit/restore-job-summaries", + "ListRestoreTestingPlans": "GET /restore-testing/plans", + "ListRestoreTestingSelections": "GET /restore-testing/plans/{RestoreTestingPlanName}/selections", + "ListTags": "GET /tags/{ResourceArn}", + "PutBackupVaultAccessPolicy": "PUT /backup-vaults/{BackupVaultName}/access-policy", + "PutBackupVaultLockConfiguration": "PUT /backup-vaults/{BackupVaultName}/vault-lock", + "PutBackupVaultNotifications": "PUT /backup-vaults/{BackupVaultName}/notification-configuration", + "PutRestoreValidationResult": "PUT /restore-jobs/{RestoreJobId}/validations", + "RevokeRestoreAccessBackupVault": "DELETE /logically-air-gapped-backup-vaults/{BackupVaultName}/restore-access-backup-vaults/{RestoreAccessBackupVaultArn}", + "StartBackupJob": "PUT /backup-jobs", + "StartCopyJob": "PUT /copy-jobs", + "StartReportJob": "POST /audit/report-jobs/{ReportPlanName}", + "StartRestoreJob": "PUT /restore-jobs", + "StopBackupJob": "POST /backup-jobs/{BackupJobId}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "POST /untag/{ResourceArn}", + "UpdateBackupPlan": "POST /backup/plans/{BackupPlanId}", + "UpdateFramework": "PUT /audit/frameworks/{FrameworkName}", + "UpdateGlobalSettings": "PUT /global-settings", + "UpdateRecoveryPointIndexSettings": "POST /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}/index", + "UpdateRecoveryPointLifecycle": "POST /backup-vaults/{BackupVaultName}/recovery-points/{RecoveryPointArn}", + "UpdateRegionSettings": "PUT /account-settings", + "UpdateReportPlan": "PUT /audit/report-plans/{ReportPlanName}", + "UpdateRestoreTestingPlan": "PUT /restore-testing/plans/{RestoreTestingPlanName}", + "UpdateRestoreTestingSelection": "PUT /restore-testing/plans/{RestoreTestingPlanName}/selections/{RestoreTestingSelectionName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/backup/types.ts b/src/services/backup/types.ts index 7b8f7bac..fbf62350 100644 --- a/src/services/backup/types.ts +++ b/src/services/backup/types.ts @@ -7,234 +7,127 @@ export declare class Backup extends AWSServiceClient { input: AssociateBackupVaultMpaApprovalTeamInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; cancelLegalHold( input: CancelLegalHoldInput, ): Effect.Effect< CancelLegalHoldOutput, - | InvalidParameterValueException - | InvalidResourceStateException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidResourceStateException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; createBackupPlan( input: CreateBackupPlanInput, ): Effect.Effect< CreateBackupPlanOutput, - | AlreadyExistsException - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; createBackupSelection( input: CreateBackupSelectionInput, ): Effect.Effect< CreateBackupSelectionOutput, - | AlreadyExistsException - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; createBackupVault( input: CreateBackupVaultInput, ): Effect.Effect< CreateBackupVaultOutput, - | AlreadyExistsException - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; createFramework( input: CreateFrameworkInput, ): Effect.Effect< CreateFrameworkOutput, - | AlreadyExistsException - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; createLegalHold( input: CreateLegalHoldInput, ): Effect.Effect< CreateLegalHoldOutput, - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; createLogicallyAirGappedBackupVault( input: CreateLogicallyAirGappedBackupVaultInput, ): Effect.Effect< CreateLogicallyAirGappedBackupVaultOutput, - | AlreadyExistsException - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | InvalidParameterValueException | InvalidRequestException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; createReportPlan( input: CreateReportPlanInput, ): Effect.Effect< CreateReportPlanOutput, - | AlreadyExistsException - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; createRestoreAccessBackupVault( input: CreateRestoreAccessBackupVaultInput, ): Effect.Effect< CreateRestoreAccessBackupVaultOutput, - | AlreadyExistsException - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | InvalidParameterValueException | InvalidRequestException | LimitExceededException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; createRestoreTestingPlan( input: CreateRestoreTestingPlanInput, ): Effect.Effect< CreateRestoreTestingPlanOutput, - | AlreadyExistsException - | ConflictException - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | ConflictException | InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; createRestoreTestingSelection( input: CreateRestoreTestingSelectionInput, ): Effect.Effect< CreateRestoreTestingSelectionOutput, - | AlreadyExistsException - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteBackupPlan( input: DeleteBackupPlanInput, ): Effect.Effect< DeleteBackupPlanOutput, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteBackupSelection( input: DeleteBackupSelectionInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteBackupVault( input: DeleteBackupVaultInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteBackupVaultAccessPolicy( input: DeleteBackupVaultAccessPolicyInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteBackupVaultLockConfiguration( input: DeleteBackupVaultLockConfigurationInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteBackupVaultNotifications( input: DeleteBackupVaultNotificationsInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteFramework( input: DeleteFrameworkInput, ): Effect.Effect< {}, - | ConflictException - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + ConflictException | InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteRecoveryPoint( input: DeleteRecoveryPointInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | InvalidResourceStateException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | InvalidResourceStateException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteReportPlan( input: DeleteReportPlanInput, ): Effect.Effect< {}, - | ConflictException - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + ConflictException | InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteRestoreTestingPlan( input: DeleteRestoreTestingPlanInput, @@ -252,42 +145,25 @@ export declare class Backup extends AWSServiceClient { input: DescribeBackupJobInput, ): Effect.Effect< DescribeBackupJobOutput, - | DependencyFailureException - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + DependencyFailureException | InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeBackupVault( input: DescribeBackupVaultInput, ): Effect.Effect< DescribeBackupVaultOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeCopyJob( input: DescribeCopyJobInput, ): Effect.Effect< DescribeCopyJobOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeFramework( input: DescribeFrameworkInput, ): Effect.Effect< DescribeFrameworkOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeGlobalSettings( input: DescribeGlobalSettingsInput, @@ -299,21 +175,13 @@ export declare class Backup extends AWSServiceClient { input: DescribeProtectedResourceInput, ): Effect.Effect< DescribeProtectedResourceOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeRecoveryPoint( input: DescribeRecoveryPointInput, ): Effect.Effect< DescribeRecoveryPointOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeRegionSettings( input: DescribeRegionSettingsInput, @@ -325,186 +193,109 @@ export declare class Backup extends AWSServiceClient { input: DescribeReportJobInput, ): Effect.Effect< DescribeReportJobOutput, - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeReportPlan( input: DescribeReportPlanInput, ): Effect.Effect< DescribeReportPlanOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeRestoreJob( input: DescribeRestoreJobInput, ): Effect.Effect< DescribeRestoreJobOutput, - | DependencyFailureException - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + DependencyFailureException | InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; disassociateBackupVaultMpaApprovalTeam( input: DisassociateBackupVaultMpaApprovalTeamInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; disassociateRecoveryPoint( input: DisassociateRecoveryPointInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | InvalidResourceStateException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | InvalidResourceStateException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; disassociateRecoveryPointFromParent( input: DisassociateRecoveryPointFromParentInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; exportBackupPlanTemplate( input: ExportBackupPlanTemplateInput, ): Effect.Effect< ExportBackupPlanTemplateOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getBackupPlan( input: GetBackupPlanInput, ): Effect.Effect< GetBackupPlanOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getBackupPlanFromJSON( input: GetBackupPlanFromJSONInput, ): Effect.Effect< GetBackupPlanFromJSONOutput, - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; getBackupPlanFromTemplate( input: GetBackupPlanFromTemplateInput, ): Effect.Effect< GetBackupPlanFromTemplateOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getBackupSelection( input: GetBackupSelectionInput, ): Effect.Effect< GetBackupSelectionOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getBackupVaultAccessPolicy( input: GetBackupVaultAccessPolicyInput, ): Effect.Effect< GetBackupVaultAccessPolicyOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getBackupVaultNotifications( input: GetBackupVaultNotificationsInput, ): Effect.Effect< GetBackupVaultNotificationsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getLegalHold( input: GetLegalHoldInput, ): Effect.Effect< GetLegalHoldOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getRecoveryPointIndexDetails( input: GetRecoveryPointIndexDetailsInput, ): Effect.Effect< GetRecoveryPointIndexDetailsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getRecoveryPointRestoreMetadata( input: GetRecoveryPointRestoreMetadataInput, ): Effect.Effect< GetRecoveryPointRestoreMetadataOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getRestoreJobMetadata( input: GetRestoreJobMetadataInput, ): Effect.Effect< GetRestoreJobMetadataOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getRestoreTestingInferredMetadata( input: GetRestoreTestingInferredMetadataInput, ): Effect.Effect< GetRestoreTestingInferredMetadataOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getRestoreTestingPlan( input: GetRestoreTestingPlanInput, @@ -518,7 +309,9 @@ export declare class Backup extends AWSServiceClient { GetRestoreTestingSelectionOutput, ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; - getSupportedResourceTypes(input: {}): Effect.Effect< + getSupportedResourceTypes( + input: {}, + ): Effect.Effect< GetSupportedResourceTypesOutput, ServiceUnavailableException | CommonAwsError >; @@ -526,463 +319,283 @@ export declare class Backup extends AWSServiceClient { input: ListBackupJobsInput, ): Effect.Effect< ListBackupJobsOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listBackupJobSummaries( input: ListBackupJobSummariesInput, ): Effect.Effect< ListBackupJobSummariesOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listBackupPlans( input: ListBackupPlansInput, ): Effect.Effect< ListBackupPlansOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listBackupPlanTemplates( input: ListBackupPlanTemplatesInput, ): Effect.Effect< ListBackupPlanTemplatesOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listBackupPlanVersions( input: ListBackupPlanVersionsInput, ): Effect.Effect< ListBackupPlanVersionsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listBackupSelections( input: ListBackupSelectionsInput, ): Effect.Effect< ListBackupSelectionsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listBackupVaults( input: ListBackupVaultsInput, ): Effect.Effect< ListBackupVaultsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listCopyJobs( input: ListCopyJobsInput, ): Effect.Effect< ListCopyJobsOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listCopyJobSummaries( input: ListCopyJobSummariesInput, ): Effect.Effect< ListCopyJobSummariesOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listFrameworks( input: ListFrameworksInput, ): Effect.Effect< ListFrameworksOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listIndexedRecoveryPoints( input: ListIndexedRecoveryPointsInput, ): Effect.Effect< ListIndexedRecoveryPointsOutput, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listLegalHolds( input: ListLegalHoldsInput, ): Effect.Effect< ListLegalHoldsOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listProtectedResources( input: ListProtectedResourcesInput, ): Effect.Effect< ListProtectedResourcesOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listProtectedResourcesByBackupVault( input: ListProtectedResourcesByBackupVaultInput, ): Effect.Effect< ListProtectedResourcesByBackupVaultOutput, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listRecoveryPointsByBackupVault( input: ListRecoveryPointsByBackupVaultInput, ): Effect.Effect< ListRecoveryPointsByBackupVaultOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listRecoveryPointsByLegalHold( input: ListRecoveryPointsByLegalHoldInput, ): Effect.Effect< ListRecoveryPointsByLegalHoldOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; listRecoveryPointsByResource( input: ListRecoveryPointsByResourceInput, ): Effect.Effect< ListRecoveryPointsByResourceOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listReportJobs( input: ListReportJobsInput, ): Effect.Effect< ListReportJobsOutput, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listReportPlans( input: ListReportPlansInput, ): Effect.Effect< ListReportPlansOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listRestoreAccessBackupVaults( input: ListRestoreAccessBackupVaultsInput, ): Effect.Effect< ListRestoreAccessBackupVaultsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listRestoreJobs( input: ListRestoreJobsInput, ): Effect.Effect< ListRestoreJobsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listRestoreJobsByProtectedResource( input: ListRestoreJobsByProtectedResourceInput, ): Effect.Effect< ListRestoreJobsByProtectedResourceOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listRestoreJobSummaries( input: ListRestoreJobSummariesInput, ): Effect.Effect< ListRestoreJobSummariesOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listRestoreTestingPlans( input: ListRestoreTestingPlansInput, ): Effect.Effect< ListRestoreTestingPlansOutput, - | InvalidParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ServiceUnavailableException | CommonAwsError >; listRestoreTestingSelections( input: ListRestoreTestingSelectionsInput, ): Effect.Effect< ListRestoreTestingSelectionsOutput, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listTags( input: ListTagsInput, ): Effect.Effect< ListTagsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putBackupVaultAccessPolicy( input: PutBackupVaultAccessPolicyInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putBackupVaultLockConfiguration( input: PutBackupVaultLockConfigurationInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putBackupVaultNotifications( input: PutBackupVaultNotificationsInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putRestoreValidationResult( input: PutRestoreValidationResultInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; revokeRestoreAccessBackupVault( input: RevokeRestoreAccessBackupVaultInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; startBackupJob( input: StartBackupJobInput, ): Effect.Effect< StartBackupJobOutput, - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | LimitExceededException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; startCopyJob( input: StartCopyJobInput, ): Effect.Effect< StartCopyJobOutput, - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | LimitExceededException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; startReportJob( input: StartReportJobInput, ): Effect.Effect< StartReportJobOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; startRestoreJob( input: StartRestoreJobInput, ): Effect.Effect< StartRestoreJobOutput, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; stopBackupJob( input: StopBackupJobInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateBackupPlan( input: UpdateBackupPlanInput, ): Effect.Effect< UpdateBackupPlanOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateFramework( input: UpdateFrameworkInput, ): Effect.Effect< UpdateFrameworkOutput, - | AlreadyExistsException - | ConflictException - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + AlreadyExistsException | ConflictException | InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateGlobalSettings( input: UpdateGlobalSettingsInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; updateRecoveryPointIndexSettings( input: UpdateRecoveryPointIndexSettingsInput, ): Effect.Effect< UpdateRecoveryPointIndexSettingsOutput, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateRecoveryPointLifecycle( input: UpdateRecoveryPointLifecycleInput, ): Effect.Effect< UpdateRecoveryPointLifecycleOutput, - | InvalidParameterValueException - | InvalidRequestException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | InvalidRequestException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateRegionSettings( input: UpdateRegionSettingsInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; updateReportPlan( input: UpdateReportPlanInput, ): Effect.Effect< UpdateReportPlanOutput, - | ConflictException - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + ConflictException | InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateRestoreTestingPlan( input: UpdateRestoreTestingPlanInput, ): Effect.Effect< UpdateRestoreTestingPlanOutput, - | ConflictException - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + ConflictException | InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateRestoreTestingSelection( input: UpdateRestoreTestingSelectionInput, ): Effect.Effect< UpdateRestoreTestingSelectionOutput, - | ConflictException - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + ConflictException | InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; } @@ -1045,28 +658,8 @@ export interface BackupJob { } export type BackupJobChildJobsInState = Record; export type BackupJobsList = Array; -export type BackupJobState = - | "CREATED" - | "PENDING" - | "RUNNING" - | "ABORTING" - | "ABORTED" - | "COMPLETED" - | "FAILED" - | "EXPIRED" - | "PARTIAL"; -export type BackupJobStatus = - | "CREATED" - | "PENDING" - | "RUNNING" - | "ABORTING" - | "ABORTED" - | "COMPLETED" - | "FAILED" - | "EXPIRED" - | "PARTIAL" - | "AGGREGATE_ALL" - | "ANY"; +export type BackupJobState = "CREATED" | "PENDING" | "RUNNING" | "ABORTING" | "ABORTED" | "COMPLETED" | "FAILED" | "EXPIRED" | "PARTIAL"; +export type BackupJobStatus = "CREATED" | "PENDING" | "RUNNING" | "ABORTING" | "ABORTED" | "COMPLETED" | "FAILED" | "EXPIRED" | "PARTIAL" | "AGGREGATE_ALL" | "ANY"; export interface BackupJobSummary { Region?: string; AccountId?: string; @@ -1163,28 +756,7 @@ export interface BackupSelectionsListMember { CreatorRequestId?: string; IamRoleArn?: string; } -export type BackupVaultEvent = - | "BACKUP_JOB_STARTED" - | "BACKUP_JOB_COMPLETED" - | "BACKUP_JOB_SUCCESSFUL" - | "BACKUP_JOB_FAILED" - | "BACKUP_JOB_EXPIRED" - | "RESTORE_JOB_STARTED" - | "RESTORE_JOB_COMPLETED" - | "RESTORE_JOB_SUCCESSFUL" - | "RESTORE_JOB_FAILED" - | "COPY_JOB_STARTED" - | "COPY_JOB_SUCCESSFUL" - | "COPY_JOB_FAILED" - | "RECOVERY_POINT_MODIFIED" - | "BACKUP_PLAN_CREATED" - | "BACKUP_PLAN_MODIFIED" - | "S3_BACKUP_OBJECT_FAILED" - | "S3_RESTORE_OBJECT_FAILED" - | "CONTINUOUS_BACKUP_INTERRUPTED" - | "RECOVERY_POINT_INDEX_COMPLETED" - | "RECOVERY_POINT_INDEX_DELETED" - | "RECOVERY_POINT_INDEXING_FAILED"; +export type BackupVaultEvent = "BACKUP_JOB_STARTED" | "BACKUP_JOB_COMPLETED" | "BACKUP_JOB_SUCCESSFUL" | "BACKUP_JOB_FAILED" | "BACKUP_JOB_EXPIRED" | "RESTORE_JOB_STARTED" | "RESTORE_JOB_COMPLETED" | "RESTORE_JOB_SUCCESSFUL" | "RESTORE_JOB_FAILED" | "COPY_JOB_STARTED" | "COPY_JOB_SUCCESSFUL" | "COPY_JOB_FAILED" | "RECOVERY_POINT_MODIFIED" | "BACKUP_PLAN_CREATED" | "BACKUP_PLAN_MODIFIED" | "S3_BACKUP_OBJECT_FAILED" | "S3_RESTORE_OBJECT_FAILED" | "CONTINUOUS_BACKUP_INTERRUPTED" | "RECOVERY_POINT_INDEX_COMPLETED" | "RECOVERY_POINT_INDEX_DELETED" | "RECOVERY_POINT_INDEXING_FAILED"; export type BackupVaultEvents = Array; export type BackupVaultList = Array; export interface BackupVaultListMember { @@ -1216,7 +788,8 @@ export interface CancelLegalHoldInput { CancelDescription: string; RetainRecordInDays?: number; } -export interface CancelLegalHoldOutput {} +export interface CancelLegalHoldOutput { +} export type ComplianceResourceIdList = Array; export interface Condition { ConditionType: ConditionType; @@ -1294,24 +867,8 @@ export interface CopyJob { } export type CopyJobChildJobsInState = Record; export type CopyJobsList = Array; -export type CopyJobState = - | "CREATED" - | "RUNNING" - | "COMPLETED" - | "FAILED" - | "PARTIAL"; -export type CopyJobStatus = - | "CREATED" - | "RUNNING" - | "ABORTING" - | "ABORTED" - | "COMPLETING" - | "COMPLETED" - | "FAILING" - | "FAILED" - | "PARTIAL" - | "AGGREGATE_ALL" - | "ANY"; +export type CopyJobState = "CREATED" | "RUNNING" | "COMPLETED" | "FAILED" | "PARTIAL"; +export type CopyJobStatus = "CREATED" | "RUNNING" | "ABORTING" | "ABORTED" | "COMPLETING" | "COMPLETED" | "FAILING" | "FAILED" | "PARTIAL" | "AGGREGATE_ALL" | "ANY"; export interface CopyJobSummary { Region?: string; AccountId?: string; @@ -1577,7 +1134,8 @@ export interface DescribeFrameworkOutput { FrameworkStatus?: string; IdempotencyToken?: string; } -export interface DescribeGlobalSettingsInput {} +export interface DescribeGlobalSettingsInput { +} export interface DescribeGlobalSettingsOutput { GlobalSettings?: Record; LastUpdateTime?: Date | string; @@ -1630,7 +1188,8 @@ export interface DescribeRecoveryPointOutput { IndexStatus?: IndexStatus; IndexStatusMessage?: string; } -export interface DescribeRegionSettingsInput {} +export interface DescribeRegionSettingsInput { +} export interface DescribeRegionSettingsOutput { ResourceTypeOptInPreference?: Record; ResourceTypeManagementPreference?: Record; @@ -2363,14 +1922,7 @@ export interface RecoveryPointSelection { DateRange?: DateRange; } export type RecoveryPointsList = Array; -export type RecoveryPointStatus = - | "COMPLETED" - | "PARTIAL" - | "DELETING" - | "EXPIRED" - | "AVAILABLE" - | "STOPPED" - | "CREATING"; +export type RecoveryPointStatus = "COMPLETED" | "PARTIAL" | "DELETING" | "EXPIRED" | "AVAILABLE" | "STOPPED" | "CREATING"; export type Region = string; export interface ReportDeliveryChannel { @@ -2437,8 +1989,7 @@ export type ResourceTypeList = Array; export type ResourceTypeManagementPreference = Record; export type ResourceTypeOptInPreference = Record; export type ResourceTypes = Array; -export type RestoreAccessBackupVaultList = - Array; +export type RestoreAccessBackupVaultList = Array; export interface RestoreAccessBackupVaultListMember { RestoreAccessBackupVaultArn?: string; CreationDate?: Date | string; @@ -2476,21 +2027,8 @@ export interface RestoreJobsListMember { DeletionStatus?: RestoreDeletionStatus; DeletionStatusMessage?: string; } -export type RestoreJobState = - | "CREATED" - | "PENDING" - | "RUNNING" - | "ABORTED" - | "COMPLETED" - | "FAILED" - | "AGGREGATE_ALL" - | "ANY"; -export type RestoreJobStatus = - | "PENDING" - | "RUNNING" - | "COMPLETED" - | "ABORTED" - | "FAILED"; +export type RestoreJobState = "CREATED" | "PENDING" | "RUNNING" | "ABORTED" | "COMPLETED" | "FAILED" | "AGGREGATE_ALL" | "ANY"; +export type RestoreJobStatus = "PENDING" | "RUNNING" | "COMPLETED" | "ABORTED" | "FAILED"; export interface RestoreJobSummary { Region?: string; AccountId?: string; @@ -2544,12 +2082,9 @@ export interface RestoreTestingRecoveryPointSelection { RecoveryPointTypes?: Array; SelectionWindowDays?: number; } -export type RestoreTestingRecoveryPointSelectionAlgorithm = - | "LATEST_WITHIN_WINDOW" - | "RANDOM_WITHIN_WINDOW"; +export type RestoreTestingRecoveryPointSelectionAlgorithm = "LATEST_WITHIN_WINDOW" | "RANDOM_WITHIN_WINDOW"; export type RestoreTestingRecoveryPointType = "CONTINUOUS" | "SNAPSHOT"; -export type RestoreTestingRecoveryPointTypeList = - Array; +export type RestoreTestingRecoveryPointTypeList = Array; export interface RestoreTestingSelectionForCreate { IamRoleArn: string; ProtectedResourceArns?: Array; @@ -2587,20 +2122,13 @@ export interface RestoreTestingSelectionForUpdate { ValidationWindowHours?: number; } export type RestoreTestingSelections = Array; -export type RestoreValidationStatus = - | "FAILED" - | "SUCCESSFUL" - | "TIMED_OUT" - | "VALIDATING"; +export type RestoreValidationStatus = "FAILED" | "SUCCESSFUL" | "TIMED_OUT" | "VALIDATING"; export interface RevokeRestoreAccessBackupVaultInput { BackupVaultName: string; RestoreAccessBackupVaultArn: string; RequesterComment?: string; } -export type RuleExecutionType = - | "CONTINUOUS" - | "SNAPSHOTS" - | "CONTINUOUS_AND_SNAPSHOTS"; +export type RuleExecutionType = "CONTINUOUS" | "SNAPSHOTS" | "CONTINUOUS_AND_SNAPSHOTS"; export interface ScheduledPlanExecutionMember { ExecutionTime?: Date | string; RuleId?: string; @@ -2779,10 +2307,7 @@ export interface UpdateRestoreTestingSelectionOutput { } export type VaultNames = Array; export type VaultState = "CREATING" | "AVAILABLE" | "FAILED"; -export type VaultType = - | "BACKUP_VAULT" - | "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" - | "RESTORE_ACCESS_BACKUP_VAULT"; +export type VaultType = "BACKUP_VAULT" | "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" | "RESTORE_ACCESS_BACKUP_VAULT"; export type WindowMinutes = number; export declare namespace AssociateBackupVaultMpaApprovalTeam { @@ -3136,7 +2661,9 @@ export declare namespace DescribeRecoveryPoint { export declare namespace DescribeRegionSettings { export type Input = DescribeRegionSettingsInput; export type Output = DescribeRegionSettingsOutput; - export type Error = ServiceUnavailableException | CommonAwsError; + export type Error = + | ServiceUnavailableException + | CommonAwsError; } export declare namespace DescribeReportJob { @@ -3363,7 +2890,9 @@ export declare namespace GetRestoreTestingSelection { export declare namespace GetSupportedResourceTypes { export type Input = {}; export type Output = GetSupportedResourceTypesOutput; - export type Error = ServiceUnavailableException | CommonAwsError; + export type Error = + | ServiceUnavailableException + | CommonAwsError; } export declare namespace ListBackupJobs { @@ -3875,15 +3404,5 @@ export declare namespace UpdateRestoreTestingSelection { | CommonAwsError; } -export type BackupErrors = - | AlreadyExistsException - | ConflictException - | DependencyFailureException - | InvalidParameterValueException - | InvalidRequestException - | InvalidResourceStateException - | LimitExceededException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError; +export type BackupErrors = AlreadyExistsException | ConflictException | DependencyFailureException | InvalidParameterValueException | InvalidRequestException | InvalidResourceStateException | LimitExceededException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError; + diff --git a/src/services/backupsearch/index.ts b/src/services/backupsearch/index.ts index 01698730..eff378a4 100644 --- a/src/services/backupsearch/index.ts +++ b/src/services/backupsearch/index.ts @@ -5,23 +5,7 @@ import type { BackupSearch as _BackupSearchClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,19 +15,18 @@ const metadata = { sigV4ServiceName: "backup-search", endpointPrefix: "backup-search", operations: { - ListSearchJobBackups: "GET /search-jobs/{SearchJobIdentifier}/backups", - ListSearchJobResults: - "GET /search-jobs/{SearchJobIdentifier}/search-results", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - GetSearchJob: "GET /search-jobs/{SearchJobIdentifier}", - GetSearchResultExportJob: "GET /export-search-jobs/{ExportJobIdentifier}", - ListSearchJobs: "GET /search-jobs", - ListSearchResultExportJobs: "GET /export-search-jobs", - StartSearchJob: "PUT /search-jobs", - StartSearchResultExportJob: "PUT /export-search-jobs", - StopSearchJob: "PUT /search-jobs/{SearchJobIdentifier}/actions/cancel", + "ListSearchJobBackups": "GET /search-jobs/{SearchJobIdentifier}/backups", + "ListSearchJobResults": "GET /search-jobs/{SearchJobIdentifier}/search-results", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "GetSearchJob": "GET /search-jobs/{SearchJobIdentifier}", + "GetSearchResultExportJob": "GET /export-search-jobs/{ExportJobIdentifier}", + "ListSearchJobs": "GET /search-jobs", + "ListSearchResultExportJobs": "GET /export-search-jobs", + "StartSearchJob": "PUT /search-jobs", + "StartSearchResultExportJob": "PUT /export-search-jobs", + "StopSearchJob": "PUT /search-jobs/{SearchJobIdentifier}/actions/cancel", }, } as const satisfies ServiceMetadata; diff --git a/src/services/backupsearch/types.ts b/src/services/backupsearch/types.ts index fc9af327..af690604 100644 --- a/src/services/backupsearch/types.ts +++ b/src/services/backupsearch/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BackupSearch extends AWSServiceClient { @@ -80,7 +48,10 @@ export declare class BackupSearch extends AWSServiceClient { >; listSearchJobs( input: ListSearchJobsInput, - ): Effect.Effect; + ): Effect.Effect< + ListSearchJobsOutput, + CommonAwsError + >; listSearchResultExportJobs( input: ListSearchResultExportJobsInput, ): Effect.Effect< @@ -91,19 +62,13 @@ export declare class BackupSearch extends AWSServiceClient { input: StartSearchJobInput, ): Effect.Effect< StartSearchJobOutput, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; startSearchResultExportJob( input: StartSearchResultExportJobInput, ): Effect.Effect< StartSearchResultExportJobOutput, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; stopSearchJob( input: StopSearchJobInput, @@ -172,9 +137,7 @@ interface _ExportSpecification { s3ExportSpecification?: S3ExportSpecification; } -export type ExportSpecification = _ExportSpecification & { - s3ExportSpecification: S3ExportSpecification; -}; +export type ExportSpecification = (_ExportSpecification & { s3ExportSpecification: S3ExportSpecification }); export type FilePath = string; export type GenericId = string; @@ -269,11 +232,7 @@ export interface LongCondition { Operator?: LongConditionOperator; } export type LongConditionList = Array; -export type LongConditionOperator = - | "EQUALS_TO" - | "NOT_EQUALS_TO" - | "LESS_THAN_EQUAL_TO" - | "GREATER_THAN_EQUAL_TO"; +export type LongConditionOperator = "EQUALS_TO" | "NOT_EQUALS_TO" | "LESS_THAN_EQUAL_TO" | "GREATER_THAN_EQUAL_TO"; export type ObjectKey = string; export type RecoveryPoint = string; @@ -294,9 +253,7 @@ interface _ResultItem { EBSResultItem?: EBSResultItem; } -export type ResultItem = - | (_ResultItem & { S3ResultItem: S3ResultItem }) - | (_ResultItem & { EBSResultItem: EBSResultItem }); +export type ResultItem = (_ResultItem & { S3ResultItem: S3ResultItem }) | (_ResultItem & { EBSResultItem: EBSResultItem }); export type Results = Array; export interface S3ExportSpecification { DestinationBucket: string; @@ -333,12 +290,7 @@ export interface SearchJobBackupsResult { } export type SearchJobBackupsResults = Array; export type SearchJobs = Array; -export type SearchJobState = - | "RUNNING" - | "COMPLETED" - | "STOPPING" - | "STOPPED" - | "FAILED"; +export type SearchJobState = "RUNNING" | "COMPLETED" | "STOPPING" | "STOPPED" | "FAILED"; export interface SearchJobSummary { SearchJobIdentifier?: string; SearchJobArn?: string; @@ -396,28 +348,22 @@ export interface StartSearchResultExportJobOutput { export interface StopSearchJobInput { SearchJobIdentifier: string; } -export interface StopSearchJobOutput {} +export interface StopSearchJobOutput { +} export interface StringCondition { Value: string; Operator?: StringConditionOperator; } export type StringConditionList = Array; -export type StringConditionOperator = - | "EQUALS_TO" - | "NOT_EQUALS_TO" - | "CONTAINS" - | "DOES_NOT_CONTAIN" - | "BEGINS_WITH" - | "ENDS_WITH" - | "DOES_NOT_BEGIN_WITH" - | "DOES_NOT_END_WITH"; +export type StringConditionOperator = "EQUALS_TO" | "NOT_EQUALS_TO" | "CONTAINS" | "DOES_NOT_CONTAIN" | "BEGINS_WITH" | "ENDS_WITH" | "DOES_NOT_BEGIN_WITH" | "DOES_NOT_END_WITH"; export type TagKeys = Array; export type TagMap = Record; export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -431,16 +377,13 @@ export interface TimeCondition { Operator?: TimeConditionOperator; } export type TimeConditionList = Array; -export type TimeConditionOperator = - | "EQUALS_TO" - | "NOT_EQUALS_TO" - | "LESS_THAN_EQUAL_TO" - | "GREATER_THAN_EQUAL_TO"; +export type TimeConditionOperator = "EQUALS_TO" | "NOT_EQUALS_TO" | "LESS_THAN_EQUAL_TO" | "GREATER_THAN_EQUAL_TO"; export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -449,49 +392,64 @@ export declare class ValidationException extends EffectData.TaggedError( export declare namespace ListSearchJobBackups { export type Input = ListSearchJobBackupsInput; export type Output = ListSearchJobBackupsOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListSearchJobResults { export type Input = ListSearchJobResultsInput; export type Output = ListSearchJobResultsOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = TagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetSearchJob { export type Input = GetSearchJobInput; export type Output = GetSearchJobOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetSearchResultExportJob { export type Input = GetSearchResultExportJobInput; export type Output = GetSearchResultExportJobOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListSearchJobs { export type Input = ListSearchJobsInput; export type Output = ListSearchJobsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListSearchResultExportJobs { @@ -532,12 +490,5 @@ export declare namespace StopSearchJob { | CommonAwsError; } -export type BackupSearchErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BackupSearchErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/batch/index.ts b/src/services/batch/index.ts index 56545af6..38482f07 100644 --- a/src/services/batch/index.ts +++ b/src/services/batch/index.ts @@ -5,26 +5,7 @@ import type { Batch as _BatchClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,45 +15,45 @@ const metadata = { sigV4ServiceName: "batch", endpointPrefix: "batch", operations: { - CancelJob: "POST /v1/canceljob", - CreateComputeEnvironment: "POST /v1/createcomputeenvironment", - CreateConsumableResource: "POST /v1/createconsumableresource", - CreateJobQueue: "POST /v1/createjobqueue", - CreateSchedulingPolicy: "POST /v1/createschedulingpolicy", - CreateServiceEnvironment: "POST /v1/createserviceenvironment", - DeleteComputeEnvironment: "POST /v1/deletecomputeenvironment", - DeleteConsumableResource: "POST /v1/deleteconsumableresource", - DeleteJobQueue: "POST /v1/deletejobqueue", - DeleteSchedulingPolicy: "POST /v1/deleteschedulingpolicy", - DeleteServiceEnvironment: "POST /v1/deleteserviceenvironment", - DeregisterJobDefinition: "POST /v1/deregisterjobdefinition", - DescribeComputeEnvironments: "POST /v1/describecomputeenvironments", - DescribeConsumableResource: "POST /v1/describeconsumableresource", - DescribeJobDefinitions: "POST /v1/describejobdefinitions", - DescribeJobQueues: "POST /v1/describejobqueues", - DescribeJobs: "POST /v1/describejobs", - DescribeSchedulingPolicies: "POST /v1/describeschedulingpolicies", - DescribeServiceEnvironments: "POST /v1/describeserviceenvironments", - DescribeServiceJob: "POST /v1/describeservicejob", - GetJobQueueSnapshot: "POST /v1/getjobqueuesnapshot", - ListConsumableResources: "POST /v1/listconsumableresources", - ListJobs: "POST /v1/listjobs", - ListJobsByConsumableResource: "POST /v1/listjobsbyconsumableresource", - ListSchedulingPolicies: "POST /v1/listschedulingpolicies", - ListServiceJobs: "POST /v1/listservicejobs", - ListTagsForResource: "GET /v1/tags/{resourceArn}", - RegisterJobDefinition: "POST /v1/registerjobdefinition", - SubmitJob: "POST /v1/submitjob", - SubmitServiceJob: "POST /v1/submitservicejob", - TagResource: "POST /v1/tags/{resourceArn}", - TerminateJob: "POST /v1/terminatejob", - TerminateServiceJob: "POST /v1/terminateservicejob", - UntagResource: "DELETE /v1/tags/{resourceArn}", - UpdateComputeEnvironment: "POST /v1/updatecomputeenvironment", - UpdateConsumableResource: "POST /v1/updateconsumableresource", - UpdateJobQueue: "POST /v1/updatejobqueue", - UpdateSchedulingPolicy: "POST /v1/updateschedulingpolicy", - UpdateServiceEnvironment: "POST /v1/updateserviceenvironment", + "CancelJob": "POST /v1/canceljob", + "CreateComputeEnvironment": "POST /v1/createcomputeenvironment", + "CreateConsumableResource": "POST /v1/createconsumableresource", + "CreateJobQueue": "POST /v1/createjobqueue", + "CreateSchedulingPolicy": "POST /v1/createschedulingpolicy", + "CreateServiceEnvironment": "POST /v1/createserviceenvironment", + "DeleteComputeEnvironment": "POST /v1/deletecomputeenvironment", + "DeleteConsumableResource": "POST /v1/deleteconsumableresource", + "DeleteJobQueue": "POST /v1/deletejobqueue", + "DeleteSchedulingPolicy": "POST /v1/deleteschedulingpolicy", + "DeleteServiceEnvironment": "POST /v1/deleteserviceenvironment", + "DeregisterJobDefinition": "POST /v1/deregisterjobdefinition", + "DescribeComputeEnvironments": "POST /v1/describecomputeenvironments", + "DescribeConsumableResource": "POST /v1/describeconsumableresource", + "DescribeJobDefinitions": "POST /v1/describejobdefinitions", + "DescribeJobQueues": "POST /v1/describejobqueues", + "DescribeJobs": "POST /v1/describejobs", + "DescribeSchedulingPolicies": "POST /v1/describeschedulingpolicies", + "DescribeServiceEnvironments": "POST /v1/describeserviceenvironments", + "DescribeServiceJob": "POST /v1/describeservicejob", + "GetJobQueueSnapshot": "POST /v1/getjobqueuesnapshot", + "ListConsumableResources": "POST /v1/listconsumableresources", + "ListJobs": "POST /v1/listjobs", + "ListJobsByConsumableResource": "POST /v1/listjobsbyconsumableresource", + "ListSchedulingPolicies": "POST /v1/listschedulingpolicies", + "ListServiceJobs": "POST /v1/listservicejobs", + "ListTagsForResource": "GET /v1/tags/{resourceArn}", + "RegisterJobDefinition": "POST /v1/registerjobdefinition", + "SubmitJob": "POST /v1/submitjob", + "SubmitServiceJob": "POST /v1/submitservicejob", + "TagResource": "POST /v1/tags/{resourceArn}", + "TerminateJob": "POST /v1/terminatejob", + "TerminateServiceJob": "POST /v1/terminateservicejob", + "UntagResource": "DELETE /v1/tags/{resourceArn}", + "UpdateComputeEnvironment": "POST /v1/updatecomputeenvironment", + "UpdateConsumableResource": "POST /v1/updateconsumableresource", + "UpdateJobQueue": "POST /v1/updatejobqueue", + "UpdateSchedulingPolicy": "POST /v1/updateschedulingpolicy", + "UpdateServiceEnvironment": "POST /v1/updateserviceenvironment", }, } as const satisfies ServiceMetadata; diff --git a/src/services/batch/types.ts b/src/services/batch/types.ts index ed463942..2cd790f2 100644 --- a/src/services/batch/types.ts +++ b/src/services/batch/types.ts @@ -288,20 +288,15 @@ export interface CancelJobRequest { jobId: string; reason: string; } -export interface CancelJobResponse {} +export interface CancelJobResponse { +} export interface CapacityLimit { maxCapacity?: number; capacityUnit?: string; } export type CapacityLimits = Array; export type CEState = "ENABLED" | "DISABLED"; -export type CEStatus = - | "CREATING" - | "UPDATING" - | "DELETING" - | "DELETED" - | "VALID" - | "INVALID"; +export type CEStatus = "CREATING" | "UPDATING" | "DELETING" | "DELETED" | "VALID" | "INVALID"; export type CEType = "MANAGED" | "UNMANAGED"; export declare class ClientException extends EffectData.TaggedError( "ClientException", @@ -458,11 +453,7 @@ export interface ContainerSummary { exitCode?: number; reason?: string; } -export type CRAllocationStrategy = - | "BEST_FIT" - | "BEST_FIT_PROGRESSIVE" - | "SPOT_CAPACITY_OPTIMIZED" - | "SPOT_PRICE_CAPACITY_OPTIMIZED"; +export type CRAllocationStrategy = "BEST_FIT" | "BEST_FIT_PROGRESSIVE" | "SPOT_CAPACITY_OPTIMIZED" | "SPOT_PRICE_CAPACITY_OPTIMIZED"; export interface CreateComputeEnvironmentRequest { computeEnvironmentName: string; type: CEType; @@ -524,34 +515,37 @@ export interface CreateServiceEnvironmentResponse { serviceEnvironmentArn: string; } export type CRType = "EC2" | "SPOT" | "FARGATE" | "FARGATE_SPOT"; -export type CRUpdateAllocationStrategy = - | "BEST_FIT_PROGRESSIVE" - | "SPOT_CAPACITY_OPTIMIZED" - | "SPOT_PRICE_CAPACITY_OPTIMIZED"; +export type CRUpdateAllocationStrategy = "BEST_FIT_PROGRESSIVE" | "SPOT_CAPACITY_OPTIMIZED" | "SPOT_PRICE_CAPACITY_OPTIMIZED"; export interface DeleteComputeEnvironmentRequest { computeEnvironment: string; } -export interface DeleteComputeEnvironmentResponse {} +export interface DeleteComputeEnvironmentResponse { +} export interface DeleteConsumableResourceRequest { consumableResource: string; } -export interface DeleteConsumableResourceResponse {} +export interface DeleteConsumableResourceResponse { +} export interface DeleteJobQueueRequest { jobQueue: string; } -export interface DeleteJobQueueResponse {} +export interface DeleteJobQueueResponse { +} export interface DeleteSchedulingPolicyRequest { arn: string; } -export interface DeleteSchedulingPolicyResponse {} +export interface DeleteSchedulingPolicyResponse { +} export interface DeleteServiceEnvironmentRequest { serviceEnvironment: string; } -export interface DeleteServiceEnvironmentResponse {} +export interface DeleteServiceEnvironmentResponse { +} export interface DeregisterJobDefinitionRequest { jobDefinition: string; } -export interface DeregisterJobDefinitionResponse {} +export interface DeregisterJobDefinitionResponse { +} export interface DescribeComputeEnvironmentsRequest { computeEnvironments?: Array; maxResults?: number; @@ -756,8 +750,7 @@ export interface EksContainerEnvironmentVariable { name: string; value?: string; } -export type EksContainerEnvironmentVariables = - Array; +export type EksContainerEnvironmentVariables = Array; export interface EksContainerOverride { name?: string; image?: string; @@ -998,14 +991,7 @@ export interface JobStateTimeLimitAction { export type JobStateTimeLimitActions = Array; export type JobStateTimeLimitActionsAction = "CANCEL" | "TERMINATE"; export type JobStateTimeLimitActionsState = "RUNNABLE"; -export type JobStatus = - | "SUBMITTED" - | "PENDING" - | "RUNNABLE" - | "STARTING" - | "RUNNING" - | "SUCCEEDED" - | "FAILED"; +export type JobStatus = "SUBMITTED" | "PENDING" | "RUNNABLE" | "STARTING" | "RUNNING" | "SUCCEEDED" | "FAILED"; export interface JobSummary { jobArn?: string; jobId: string; @@ -1025,13 +1011,7 @@ export interface JobTimeout { attemptDurationSeconds?: number; } export type JQState = "ENABLED" | "DISABLED"; -export type JQStatus = - | "CREATING" - | "UPDATING" - | "DELETING" - | "DELETED" - | "VALID" - | "INVALID"; +export type JQStatus = "CREATING" | "UPDATING" | "DELETING" | "DELETED" | "VALID" | "INVALID"; export interface KeyValuePair { name?: string; value?: string; @@ -1059,8 +1039,7 @@ export interface LaunchTemplateSpecificationOverride { targetInstanceTypes?: Array; userdataType?: UserdataType; } -export type LaunchTemplateSpecificationOverrideList = - Array; +export type LaunchTemplateSpecificationOverrideList = Array; export interface LinuxParameters { devices?: Array; initProcessEnabled?: boolean; @@ -1070,8 +1049,7 @@ export interface LinuxParameters { swappiness?: number; } export type ListAttemptEcsTaskDetails = Array; -export type ListAttemptTaskContainerDetails = - Array; +export type ListAttemptTaskContainerDetails = Array; export type ListConsumableResourcesFilterList = Array; export interface ListConsumableResourcesRequest { filters?: Array; @@ -1108,8 +1086,7 @@ export interface ListJobsByConsumableResourceSummary { createdAt: number; consumableResourceProperties: ConsumableResourceProperties; } -export type ListJobsByConsumableResourceSummaryList = - Array; +export type ListJobsByConsumableResourceSummaryList = Array; export type ListJobsFilterList = Array; export interface ListJobsRequest { jobQueue?: string; @@ -1159,15 +1136,7 @@ export interface LogConfiguration { secretOptions?: Array; } export type LogConfigurationOptionsMap = Record; -export type LogDriver = - | "json-file" - | "syslog" - | "journald" - | "gelf" - | "fluentd" - | "awslogs" - | "splunk" - | "awsfirelens"; +export type LogDriver = "json-file" | "syslog" | "journald" | "gelf" | "fluentd" | "awslogs" | "splunk" | "awsfirelens"; export type Long = number; export interface MountPoint { @@ -1276,8 +1245,7 @@ export type SchedulingPolicyDetailList = Array; export interface SchedulingPolicyListingDetail { arn: string; } -export type SchedulingPolicyListingDetailList = - Array; +export type SchedulingPolicyListingDetailList = Array; export interface Secret { name: string; valueFrom: string; @@ -1304,13 +1272,7 @@ export interface ServiceEnvironmentOrder { } export type ServiceEnvironmentOrders = Array; export type ServiceEnvironmentState = "ENABLED" | "DISABLED"; -export type ServiceEnvironmentStatus = - | "CREATING" - | "UPDATING" - | "DELETING" - | "DELETED" - | "VALID" - | "INVALID"; +export type ServiceEnvironmentStatus = "CREATING" | "UPDATING" | "DELETING" | "DELETED" | "VALID" | "INVALID"; export type ServiceEnvironmentType = "SAGEMAKER_TRAINING"; export interface ServiceJobAttemptDetail { serviceResourceId?: ServiceResourceId; @@ -1329,15 +1291,7 @@ export interface ServiceJobRetryStrategy { attempts: number; evaluateOnExit?: Array; } -export type ServiceJobStatus = - | "SUBMITTED" - | "PENDING" - | "RUNNABLE" - | "SCHEDULED" - | "STARTING" - | "RUNNING" - | "SUCCEEDED" - | "FAILED"; +export type ServiceJobStatus = "SUBMITTED" | "PENDING" | "RUNNABLE" | "SCHEDULED" | "STARTING" | "RUNNING" | "SUCCEEDED" | "FAILED"; export interface ServiceJobSummary { latestAttempt?: LatestServiceJobAttempt; createdAt?: number; @@ -1417,7 +1371,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagrisTagsMap = Record; export type TagsMap = Record; export type TagValue = string; @@ -1482,12 +1437,14 @@ export interface TerminateJobRequest { jobId: string; reason: string; } -export interface TerminateJobResponse {} +export interface TerminateJobResponse { +} export interface TerminateServiceJobRequest { jobId: string; reason: string; } -export interface TerminateServiceJobResponse {} +export interface TerminateServiceJobResponse { +} export interface Tmpfs { containerPath: string; size: number; @@ -1504,7 +1461,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateComputeEnvironmentRequest { computeEnvironment: string; state?: CEState; @@ -1550,7 +1508,8 @@ export interface UpdateSchedulingPolicyRequest { arn: string; fairsharePolicy?: FairsharePolicy; } -export interface UpdateSchedulingPolicyResponse {} +export interface UpdateSchedulingPolicyResponse { +} export interface UpdateServiceEnvironmentRequest { serviceEnvironment: string; state?: ServiceEnvironmentState; @@ -1570,235 +1529,353 @@ export type Volumes = Array; export declare namespace CancelJob { export type Input = CancelJobRequest; export type Output = CancelJobResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace CreateComputeEnvironment { export type Input = CreateComputeEnvironmentRequest; export type Output = CreateComputeEnvironmentResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace CreateConsumableResource { export type Input = CreateConsumableResourceRequest; export type Output = CreateConsumableResourceResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace CreateJobQueue { export type Input = CreateJobQueueRequest; export type Output = CreateJobQueueResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace CreateSchedulingPolicy { export type Input = CreateSchedulingPolicyRequest; export type Output = CreateSchedulingPolicyResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace CreateServiceEnvironment { export type Input = CreateServiceEnvironmentRequest; export type Output = CreateServiceEnvironmentResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DeleteComputeEnvironment { export type Input = DeleteComputeEnvironmentRequest; export type Output = DeleteComputeEnvironmentResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DeleteConsumableResource { export type Input = DeleteConsumableResourceRequest; export type Output = DeleteConsumableResourceResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DeleteJobQueue { export type Input = DeleteJobQueueRequest; export type Output = DeleteJobQueueResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DeleteSchedulingPolicy { export type Input = DeleteSchedulingPolicyRequest; export type Output = DeleteSchedulingPolicyResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DeleteServiceEnvironment { export type Input = DeleteServiceEnvironmentRequest; export type Output = DeleteServiceEnvironmentResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DeregisterJobDefinition { export type Input = DeregisterJobDefinitionRequest; export type Output = DeregisterJobDefinitionResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DescribeComputeEnvironments { export type Input = DescribeComputeEnvironmentsRequest; export type Output = DescribeComputeEnvironmentsResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DescribeConsumableResource { export type Input = DescribeConsumableResourceRequest; export type Output = DescribeConsumableResourceResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DescribeJobDefinitions { export type Input = DescribeJobDefinitionsRequest; export type Output = DescribeJobDefinitionsResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DescribeJobQueues { export type Input = DescribeJobQueuesRequest; export type Output = DescribeJobQueuesResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DescribeJobs { export type Input = DescribeJobsRequest; export type Output = DescribeJobsResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DescribeSchedulingPolicies { export type Input = DescribeSchedulingPoliciesRequest; export type Output = DescribeSchedulingPoliciesResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DescribeServiceEnvironments { export type Input = DescribeServiceEnvironmentsRequest; export type Output = DescribeServiceEnvironmentsResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace DescribeServiceJob { export type Input = DescribeServiceJobRequest; export type Output = DescribeServiceJobResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace GetJobQueueSnapshot { export type Input = GetJobQueueSnapshotRequest; export type Output = GetJobQueueSnapshotResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace ListConsumableResources { export type Input = ListConsumableResourcesRequest; export type Output = ListConsumableResourcesResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace ListJobs { export type Input = ListJobsRequest; export type Output = ListJobsResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace ListJobsByConsumableResource { export type Input = ListJobsByConsumableResourceRequest; export type Output = ListJobsByConsumableResourceResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace ListSchedulingPolicies { export type Input = ListSchedulingPoliciesRequest; export type Output = ListSchedulingPoliciesResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace ListServiceJobs { export type Input = ListServiceJobsRequest; export type Output = ListServiceJobsResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace RegisterJobDefinition { export type Input = RegisterJobDefinitionRequest; export type Output = RegisterJobDefinitionResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace SubmitJob { export type Input = SubmitJobRequest; export type Output = SubmitJobResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace SubmitServiceJob { export type Input = SubmitServiceJobRequest; export type Output = SubmitServiceJobResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = TagResourceResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace TerminateJob { export type Input = TerminateJobRequest; export type Output = TerminateJobResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace TerminateServiceJob { export type Input = TerminateServiceJobRequest; export type Output = TerminateServiceJobResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace UpdateComputeEnvironment { export type Input = UpdateComputeEnvironmentRequest; export type Output = UpdateComputeEnvironmentResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace UpdateConsumableResource { export type Input = UpdateConsumableResourceRequest; export type Output = UpdateConsumableResourceResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace UpdateJobQueue { export type Input = UpdateJobQueueRequest; export type Output = UpdateJobQueueResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace UpdateSchedulingPolicy { export type Input = UpdateSchedulingPolicyRequest; export type Output = UpdateSchedulingPolicyResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace UpdateServiceEnvironment { export type Input = UpdateServiceEnvironmentRequest; export type Output = UpdateServiceEnvironmentResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export type BatchErrors = ClientException | ServerException | CommonAwsError; + diff --git a/src/services/bcm-dashboards/index.ts b/src/services/bcm-dashboards/index.ts index 9a3c6bf1..5a6a5b93 100644 --- a/src/services/bcm-dashboards/index.ts +++ b/src/services/bcm-dashboards/index.ts @@ -5,23 +5,7 @@ import type { BCMDashboards as _BCMDashboardsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/bcm-dashboards/types.ts b/src/services/bcm-dashboards/types.ts index 752f808e..bbb31fe7 100644 --- a/src/services/bcm-dashboards/types.ts +++ b/src/services/bcm-dashboards/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BCMDashboards extends AWSServiceClient { @@ -40,95 +8,55 @@ export declare class BCMDashboards extends AWSServiceClient { input: CreateDashboardRequest, ): Effect.Effect< CreateDashboardResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDashboard( input: DeleteDashboardRequest, ): Effect.Effect< DeleteDashboardResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getDashboard( input: GetDashboardRequest, ): Effect.Effect< GetDashboardResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDashboards( input: ListDashboardsRequest, ): Effect.Effect< ListDashboardsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDashboard( input: UpdateDashboardRequest, ): Effect.Effect< UpdateDashboardResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -191,33 +119,7 @@ export interface DeleteDashboardResponse { } export type Description = string; -export type Dimension = - | "AZ" - | "INSTANCE_TYPE" - | "LINKED_ACCOUNT" - | "OPERATION" - | "PURCHASE_TYPE" - | "REGION" - | "SERVICE" - | "USAGE_TYPE" - | "USAGE_TYPE_GROUP" - | "RECORD_TYPE" - | "RESOURCE_ID" - | "SUBSCRIPTION_ID" - | "TAG_KEY" - | "OPERATING_SYSTEM" - | "TENANCY" - | "BILLING_ENTITY" - | "RESERVATION_ID" - | "COST_CATEGORY_NAME" - | "DATABASE_ENGINE" - | "LEGAL_ENTITY_NAME" - | "SAVINGS_PLANS_TYPE" - | "INSTANCE_TYPE_FAMILY" - | "CACHE_ENGINE" - | "DEPLOYMENT_OPTION" - | "SCOPE" - | "PLATFORM"; +export type Dimension = "AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "RESOURCE_ID" | "SUBSCRIPTION_ID" | "TAG_KEY" | "OPERATING_SYSTEM" | "TENANCY" | "BILLING_ENTITY" | "RESERVATION_ID" | "COST_CATEGORY_NAME" | "DATABASE_ENGINE" | "LEGAL_ENTITY_NAME" | "SAVINGS_PLANS_TYPE" | "INSTANCE_TYPE_FAMILY" | "CACHE_ENGINE" | "DEPLOYMENT_OPTION" | "SCOPE" | "PLATFORM"; export interface DimensionValues { key: Dimension; values: Array; @@ -228,9 +130,7 @@ interface _DisplayConfig { table?: TableDisplayConfigStruct; } -export type DisplayConfig = - | (_DisplayConfig & { graph: Record }) - | (_DisplayConfig & { table: TableDisplayConfigStruct }); +export type DisplayConfig = (_DisplayConfig & { graph: Record }) | (_DisplayConfig & { table: TableDisplayConfigStruct }); export interface Expression { or?: Array; and?: Array; @@ -293,30 +193,11 @@ export interface ListTagsForResourceRequest { export interface ListTagsForResourceResponse { resourceTags?: Array; } -export type MatchOption = - | "EQUALS" - | "ABSENT" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS" - | "GREATER_THAN_OR_EQUAL" - | "CASE_SENSITIVE" - | "CASE_INSENSITIVE"; +export type MatchOption = "EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE"; export type MatchOptions = Array; export type MaxResults = number; -export type MetricName = - | "AmortizedCost" - | "BlendedCost" - | "NetAmortizedCost" - | "NetUnblendedCost" - | "NormalizedUsageAmount" - | "UnblendedCost" - | "UsageQuantity" - | "SpendCoveredBySavingsPlans" - | "Hour" - | "Unit" - | "Cost"; +export type MetricName = "AmortizedCost" | "BlendedCost" | "NetAmortizedCost" | "NetUnblendedCost" | "NormalizedUsageAmount" | "UnblendedCost" | "UsageQuantity" | "SpendCoveredBySavingsPlans" | "Hour" | "Unit" | "Cost"; export type MetricNames = Array; export type NextPageToken = string; @@ -328,16 +209,7 @@ interface _QueryParameters { reservationUtilization?: ReservationUtilizationQuery; } -export type QueryParameters = - | (_QueryParameters & { costAndUsage: CostAndUsageQuery }) - | (_QueryParameters & { savingsPlansCoverage: SavingsPlansCoverageQuery }) - | (_QueryParameters & { - savingsPlansUtilization: SavingsPlansUtilizationQuery; - }) - | (_QueryParameters & { reservationCoverage: ReservationCoverageQuery }) - | (_QueryParameters & { - reservationUtilization: ReservationUtilizationQuery; - }); +export type QueryParameters = (_QueryParameters & { costAndUsage: CostAndUsageQuery }) | (_QueryParameters & { savingsPlansCoverage: SavingsPlansCoverageQuery }) | (_QueryParameters & { savingsPlansUtilization: SavingsPlansUtilizationQuery }) | (_QueryParameters & { reservationCoverage: ReservationCoverageQuery }) | (_QueryParameters & { reservationUtilization: ReservationUtilizationQuery }); export interface ReservationCoverageQuery { timeRange: DateTimeRange; groupBy?: Array; @@ -384,12 +256,14 @@ export declare class ServiceQuotaExceededException extends EffectData.TaggedErro readonly message: string; }> {} export type StringList = Array; -export interface TableDisplayConfigStruct {} +export interface TableDisplayConfigStruct { +} export interface TagResourceRequest { resourceArn: string; resourceTags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export interface TagValues { key?: string; values?: Array; @@ -404,7 +278,8 @@ export interface UntagResourceRequest { resourceArn: string; resourceTagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDashboardRequest { arn: string; name?: string; @@ -543,11 +418,5 @@ export declare namespace UpdateDashboard { | CommonAwsError; } -export type BCMDashboardsErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BCMDashboardsErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/bcm-data-exports/index.ts b/src/services/bcm-data-exports/index.ts index c41992d7..d19436b8 100644 --- a/src/services/bcm-data-exports/index.ts +++ b/src/services/bcm-data-exports/index.ts @@ -5,24 +5,7 @@ import type { BCMDataExports as _BCMDataExportsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/bcm-data-exports/types.ts b/src/services/bcm-data-exports/types.ts index 6f8b0d46..077ffe54 100644 --- a/src/services/bcm-data-exports/types.ts +++ b/src/services/bcm-data-exports/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BCMDataExports extends AWSServiceClient { @@ -41,118 +8,73 @@ export declare class BCMDataExports extends AWSServiceClient { input: CreateExportRequest, ): Effect.Effect< CreateExportResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteExport( input: DeleteExportRequest, ): Effect.Effect< DeleteExportResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getExecution( input: GetExecutionRequest, ): Effect.Effect< GetExecutionResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getExport( input: GetExportRequest, ): Effect.Effect< GetExportResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTable( input: GetTableRequest, ): Effect.Effect< GetTableResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listExecutions( input: ListExecutionsRequest, ): Effect.Effect< ListExecutionsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listExports( input: ListExportsRequest, ): Effect.Effect< ListExportsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTables( input: ListTablesRequest, ): Effect.Effect< ListTablesResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateExport( input: UpdateExportRequest, ): Effect.Effect< UpdateExportResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -199,18 +121,8 @@ export interface ExecutionStatus { CompletedAt?: Date | string; LastUpdatedAt?: Date | string; } -export type ExecutionStatusCode = - | "INITIATION_IN_PROCESS" - | "QUERY_QUEUED" - | "QUERY_IN_PROCESS" - | "QUERY_FAILURE" - | "DELIVERY_IN_PROCESS" - | "DELIVERY_SUCCESS" - | "DELIVERY_FAILURE"; -export type ExecutionStatusReason = - | "INSUFFICIENT_PERMISSION" - | "BILL_OWNER_CHANGED" - | "INTERNAL_FAILURE"; +export type ExecutionStatusCode = "INITIATION_IN_PROCESS" | "QUERY_QUEUED" | "QUERY_IN_PROCESS" | "QUERY_FAILURE" | "DELIVERY_IN_PROCESS" | "DELIVERY_SUCCESS" | "DELIVERY_FAILURE"; +export type ExecutionStatusReason = "INSUFFICIENT_PERMISSION" | "BILL_OWNER_CHANGED" | "INTERNAL_FAILURE"; export interface Export { ExportArn?: string; Name: string; @@ -377,7 +289,8 @@ export interface TagResourceRequest { ResourceArn: string; ResourceTags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -389,7 +302,8 @@ export interface UntagResourceRequest { ResourceArn: string; ResourceTagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateExportRequest { ExportArn: string; Export: Export; @@ -409,11 +323,7 @@ export interface ValidationExceptionField { Message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export declare namespace CreateExport { export type Input = CreateExportRequest; export type Output = CreateExportResponse; @@ -543,10 +453,5 @@ export declare namespace UpdateExport { | CommonAwsError; } -export type BCMDataExportsErrors = - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BCMDataExportsErrors = InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/bcm-pricing-calculator/index.ts b/src/services/bcm-pricing-calculator/index.ts index 068a3f3e..ec214541 100644 --- a/src/services/bcm-pricing-calculator/index.ts +++ b/src/services/bcm-pricing-calculator/index.ts @@ -5,23 +5,7 @@ import type { BCMPricingCalculator as _BCMPricingCalculatorClient } from "./type export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/bcm-pricing-calculator/types.ts b/src/services/bcm-pricing-calculator/types.ts index f6831516..7806e56f 100644 --- a/src/services/bcm-pricing-calculator/types.ts +++ b/src/services/bcm-pricing-calculator/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BCMPricingCalculator extends AWSServiceClient { @@ -70,113 +38,73 @@ export declare class BCMPricingCalculator extends AWSServiceClient { input: BatchCreateBillScenarioCommitmentModificationRequest, ): Effect.Effect< BatchCreateBillScenarioCommitmentModificationResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | CommonAwsError >; batchCreateBillScenarioUsageModification( input: BatchCreateBillScenarioUsageModificationRequest, ): Effect.Effect< BatchCreateBillScenarioUsageModificationResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; batchCreateWorkloadEstimateUsage( input: BatchCreateWorkloadEstimateUsageRequest, ): Effect.Effect< BatchCreateWorkloadEstimateUsageResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; batchDeleteBillScenarioCommitmentModification( input: BatchDeleteBillScenarioCommitmentModificationRequest, ): Effect.Effect< BatchDeleteBillScenarioCommitmentModificationResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | CommonAwsError >; batchDeleteBillScenarioUsageModification( input: BatchDeleteBillScenarioUsageModificationRequest, ): Effect.Effect< BatchDeleteBillScenarioUsageModificationResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; batchDeleteWorkloadEstimateUsage( input: BatchDeleteWorkloadEstimateUsageRequest, ): Effect.Effect< BatchDeleteWorkloadEstimateUsageResponse, - | DataUnavailableException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + DataUnavailableException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; batchUpdateBillScenarioCommitmentModification( input: BatchUpdateBillScenarioCommitmentModificationRequest, ): Effect.Effect< BatchUpdateBillScenarioCommitmentModificationResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | CommonAwsError >; batchUpdateBillScenarioUsageModification( input: BatchUpdateBillScenarioUsageModificationRequest, ): Effect.Effect< BatchUpdateBillScenarioUsageModificationResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; batchUpdateWorkloadEstimateUsage( input: BatchUpdateWorkloadEstimateUsageRequest, ): Effect.Effect< BatchUpdateWorkloadEstimateUsageResponse, - | DataUnavailableException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + DataUnavailableException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; createBillEstimate( input: CreateBillEstimateRequest, ): Effect.Effect< CreateBillEstimateResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | CommonAwsError >; createBillScenario( input: CreateBillScenarioRequest, ): Effect.Effect< CreateBillScenarioResponse, - | ConflictException - | DataUnavailableException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | DataUnavailableException | ServiceQuotaExceededException | CommonAwsError >; createWorkloadEstimate( input: CreateWorkloadEstimateRequest, ): Effect.Effect< CreateWorkloadEstimateResponse, - | ConflictException - | DataUnavailableException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | DataUnavailableException | ServiceQuotaExceededException | CommonAwsError >; deleteBillEstimate( input: DeleteBillEstimateRequest, @@ -278,28 +206,19 @@ export declare class BCMPricingCalculator extends AWSServiceClient { input: UpdateBillEstimateRequest, ): Effect.Effect< UpdateBillEstimateResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | CommonAwsError >; updateBillScenario( input: UpdateBillScenarioRequest, ): Effect.Effect< UpdateBillScenarioResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | CommonAwsError >; updateWorkloadEstimate( input: UpdateWorkloadEstimateRequest, ): Effect.Effect< UpdateWorkloadEstimateResponse, - | ConflictException - | DataUnavailableException - | ResourceNotFoundException - | CommonAwsError + ConflictException | DataUnavailableException | ResourceNotFoundException | CommonAwsError >; } @@ -324,8 +243,7 @@ export type Arn = string; export type AvailabilityZone = string; -export type BatchCreateBillScenarioCommitmentModificationEntries = - Array; +export type BatchCreateBillScenarioCommitmentModificationEntries = Array; export interface BatchCreateBillScenarioCommitmentModificationEntry { key: string; group?: string; @@ -337,12 +255,8 @@ export interface BatchCreateBillScenarioCommitmentModificationError { errorMessage?: string; errorCode?: BatchCreateBillScenarioCommitmentModificationErrorCode; } -export type BatchCreateBillScenarioCommitmentModificationErrorCode = - | "CONFLICT" - | "INTERNAL_SERVER_ERROR" - | "INVALID_ACCOUNT"; -export type BatchCreateBillScenarioCommitmentModificationErrors = - Array; +export type BatchCreateBillScenarioCommitmentModificationErrorCode = "CONFLICT" | "INTERNAL_SERVER_ERROR" | "INVALID_ACCOUNT"; +export type BatchCreateBillScenarioCommitmentModificationErrors = Array; export interface BatchCreateBillScenarioCommitmentModificationItem { key?: string; id?: string; @@ -350,8 +264,7 @@ export interface BatchCreateBillScenarioCommitmentModificationItem { usageAccountId?: string; commitmentAction?: BillScenarioCommitmentModificationAction; } -export type BatchCreateBillScenarioCommitmentModificationItems = - Array; +export type BatchCreateBillScenarioCommitmentModificationItems = Array; export interface BatchCreateBillScenarioCommitmentModificationRequest { billScenarioId: string; commitmentModifications: Array; @@ -361,8 +274,7 @@ export interface BatchCreateBillScenarioCommitmentModificationResponse { items?: Array; errors?: Array; } -export type BatchCreateBillScenarioUsageModificationEntries = - Array; +export type BatchCreateBillScenarioUsageModificationEntries = Array; export interface BatchCreateBillScenarioUsageModificationEntry { serviceCode: string; usageType: string; @@ -379,13 +291,8 @@ export interface BatchCreateBillScenarioUsageModificationError { errorMessage?: string; errorCode?: BatchCreateBillScenarioUsageModificationErrorCode; } -export type BatchCreateBillScenarioUsageModificationErrorCode = - | "BAD_REQUEST" - | "NOT_FOUND" - | "CONFLICT" - | "INTERNAL_SERVER_ERROR"; -export type BatchCreateBillScenarioUsageModificationErrors = - Array; +export type BatchCreateBillScenarioUsageModificationErrorCode = "BAD_REQUEST" | "NOT_FOUND" | "CONFLICT" | "INTERNAL_SERVER_ERROR"; +export type BatchCreateBillScenarioUsageModificationErrors = Array; export interface BatchCreateBillScenarioUsageModificationItem { serviceCode: string; usageType: string; @@ -399,8 +306,7 @@ export interface BatchCreateBillScenarioUsageModificationItem { historicalUsage?: HistoricalUsageEntity; key?: string; } -export type BatchCreateBillScenarioUsageModificationItems = - Array; +export type BatchCreateBillScenarioUsageModificationItems = Array; export interface BatchCreateBillScenarioUsageModificationRequest { billScenarioId: string; usageModifications: Array; @@ -410,13 +316,8 @@ export interface BatchCreateBillScenarioUsageModificationResponse { items?: Array; errors?: Array; } -export type BatchCreateWorkloadEstimateUsageCode = - | "BAD_REQUEST" - | "NOT_FOUND" - | "CONFLICT" - | "INTERNAL_SERVER_ERROR"; -export type BatchCreateWorkloadEstimateUsageEntries = - Array; +export type BatchCreateWorkloadEstimateUsageCode = "BAD_REQUEST" | "NOT_FOUND" | "CONFLICT" | "INTERNAL_SERVER_ERROR"; +export type BatchCreateWorkloadEstimateUsageEntries = Array; export interface BatchCreateWorkloadEstimateUsageEntry { serviceCode: string; usageType: string; @@ -432,8 +333,7 @@ export interface BatchCreateWorkloadEstimateUsageError { errorCode?: BatchCreateWorkloadEstimateUsageCode; errorMessage?: string; } -export type BatchCreateWorkloadEstimateUsageErrors = - Array; +export type BatchCreateWorkloadEstimateUsageErrors = Array; export interface BatchCreateWorkloadEstimateUsageItem { serviceCode: string; usageType: string; @@ -449,8 +349,7 @@ export interface BatchCreateWorkloadEstimateUsageItem { historicalUsage?: HistoricalUsageEntity; key?: string; } -export type BatchCreateWorkloadEstimateUsageItems = - Array; +export type BatchCreateWorkloadEstimateUsageItems = Array; export interface BatchCreateWorkloadEstimateUsageRequest { workloadEstimateId: string; usage: Array; @@ -460,19 +359,14 @@ export interface BatchCreateWorkloadEstimateUsageResponse { items?: Array; errors?: Array; } -export type BatchDeleteBillScenarioCommitmentModificationEntries = - Array; +export type BatchDeleteBillScenarioCommitmentModificationEntries = Array; export interface BatchDeleteBillScenarioCommitmentModificationError { id?: string; errorCode?: BatchDeleteBillScenarioCommitmentModificationErrorCode; errorMessage?: string; } -export type BatchDeleteBillScenarioCommitmentModificationErrorCode = - | "BAD_REQUEST" - | "CONFLICT" - | "INTERNAL_SERVER_ERROR"; -export type BatchDeleteBillScenarioCommitmentModificationErrors = - Array; +export type BatchDeleteBillScenarioCommitmentModificationErrorCode = "BAD_REQUEST" | "CONFLICT" | "INTERNAL_SERVER_ERROR"; +export type BatchDeleteBillScenarioCommitmentModificationErrors = Array; export interface BatchDeleteBillScenarioCommitmentModificationRequest { billScenarioId: string; ids: Array; @@ -486,12 +380,8 @@ export interface BatchDeleteBillScenarioUsageModificationError { errorMessage?: string; errorCode?: BatchDeleteBillScenarioUsageModificationErrorCode; } -export type BatchDeleteBillScenarioUsageModificationErrorCode = - | "BAD_REQUEST" - | "CONFLICT" - | "INTERNAL_SERVER_ERROR"; -export type BatchDeleteBillScenarioUsageModificationErrors = - Array; +export type BatchDeleteBillScenarioUsageModificationErrorCode = "BAD_REQUEST" | "CONFLICT" | "INTERNAL_SERVER_ERROR"; +export type BatchDeleteBillScenarioUsageModificationErrors = Array; export interface BatchDeleteBillScenarioUsageModificationRequest { billScenarioId: string; ids: Array; @@ -505,8 +395,7 @@ export interface BatchDeleteWorkloadEstimateUsageError { errorMessage?: string; errorCode?: WorkloadEstimateUpdateUsageErrorCode; } -export type BatchDeleteWorkloadEstimateUsageErrors = - Array; +export type BatchDeleteWorkloadEstimateUsageErrors = Array; export interface BatchDeleteWorkloadEstimateUsageRequest { workloadEstimateId: string; ids: Array; @@ -514,8 +403,7 @@ export interface BatchDeleteWorkloadEstimateUsageRequest { export interface BatchDeleteWorkloadEstimateUsageResponse { errors?: Array; } -export type BatchUpdateBillScenarioCommitmentModificationEntries = - Array; +export type BatchUpdateBillScenarioCommitmentModificationEntries = Array; export interface BatchUpdateBillScenarioCommitmentModificationEntry { id: string; group?: string; @@ -525,13 +413,8 @@ export interface BatchUpdateBillScenarioCommitmentModificationError { errorCode?: BatchUpdateBillScenarioCommitmentModificationErrorCode; errorMessage?: string; } -export type BatchUpdateBillScenarioCommitmentModificationErrorCode = - | "BAD_REQUEST" - | "NOT_FOUND" - | "CONFLICT" - | "INTERNAL_SERVER_ERROR"; -export type BatchUpdateBillScenarioCommitmentModificationErrors = - Array; +export type BatchUpdateBillScenarioCommitmentModificationErrorCode = "BAD_REQUEST" | "NOT_FOUND" | "CONFLICT" | "INTERNAL_SERVER_ERROR"; +export type BatchUpdateBillScenarioCommitmentModificationErrors = Array; export interface BatchUpdateBillScenarioCommitmentModificationRequest { billScenarioId: string; commitmentModifications: Array; @@ -540,8 +423,7 @@ export interface BatchUpdateBillScenarioCommitmentModificationResponse { items?: Array; errors?: Array; } -export type BatchUpdateBillScenarioUsageModificationEntries = - Array; +export type BatchUpdateBillScenarioUsageModificationEntries = Array; export interface BatchUpdateBillScenarioUsageModificationEntry { id: string; group?: string; @@ -552,13 +434,8 @@ export interface BatchUpdateBillScenarioUsageModificationError { errorMessage?: string; errorCode?: BatchUpdateBillScenarioUsageModificationErrorCode; } -export type BatchUpdateBillScenarioUsageModificationErrorCode = - | "BAD_REQUEST" - | "NOT_FOUND" - | "CONFLICT" - | "INTERNAL_SERVER_ERROR"; -export type BatchUpdateBillScenarioUsageModificationErrors = - Array; +export type BatchUpdateBillScenarioUsageModificationErrorCode = "BAD_REQUEST" | "NOT_FOUND" | "CONFLICT" | "INTERNAL_SERVER_ERROR"; +export type BatchUpdateBillScenarioUsageModificationErrors = Array; export interface BatchUpdateBillScenarioUsageModificationRequest { billScenarioId: string; usageModifications: Array; @@ -567,8 +444,7 @@ export interface BatchUpdateBillScenarioUsageModificationResponse { items?: Array; errors?: Array; } -export type BatchUpdateWorkloadEstimateUsageEntries = - Array; +export type BatchUpdateWorkloadEstimateUsageEntries = Array; export interface BatchUpdateWorkloadEstimateUsageEntry { id: string; group?: string; @@ -579,8 +455,7 @@ export interface BatchUpdateWorkloadEstimateUsageError { errorMessage?: string; errorCode?: WorkloadEstimateUpdateUsageErrorCode; } -export type BatchUpdateWorkloadEstimateUsageErrors = - Array; +export type BatchUpdateWorkloadEstimateUsageErrors = Array; export interface BatchUpdateWorkloadEstimateUsageRequest { workloadEstimateId: string; usage: Array; @@ -589,8 +464,7 @@ export interface BatchUpdateWorkloadEstimateUsageResponse { items?: Array; errors?: Array; } -export type BillEstimateCommitmentSummaries = - Array; +export type BillEstimateCommitmentSummaries = Array; export interface BillEstimateCommitmentSummary { id?: string; purchaseAgreementType?: PurchaseAgreementType; @@ -606,16 +480,14 @@ export interface BillEstimateCostSummary { totalCostDifference?: CostDifference; serviceCostDifferences?: Record; } -export type BillEstimateInputCommitmentModificationSummaries = - Array; +export type BillEstimateInputCommitmentModificationSummaries = Array; export interface BillEstimateInputCommitmentModificationSummary { id?: string; group?: string; usageAccountId?: string; commitmentAction?: BillScenarioCommitmentModificationAction; } -export type BillEstimateInputUsageModificationSummaries = - Array; +export type BillEstimateInputUsageModificationSummaries = Array; export interface BillEstimateInputUsageModificationSummary { serviceCode: string; usageType: string; @@ -669,27 +541,14 @@ interface _BillScenarioCommitmentModificationAction { negateSavingsPlanAction?: NegateSavingsPlanAction; } -export type BillScenarioCommitmentModificationAction = - | (_BillScenarioCommitmentModificationAction & { - addReservedInstanceAction: AddReservedInstanceAction; - }) - | (_BillScenarioCommitmentModificationAction & { - addSavingsPlanAction: AddSavingsPlanAction; - }) - | (_BillScenarioCommitmentModificationAction & { - negateReservedInstanceAction: NegateReservedInstanceAction; - }) - | (_BillScenarioCommitmentModificationAction & { - negateSavingsPlanAction: NegateSavingsPlanAction; - }); +export type BillScenarioCommitmentModificationAction = (_BillScenarioCommitmentModificationAction & { addReservedInstanceAction: AddReservedInstanceAction }) | (_BillScenarioCommitmentModificationAction & { addSavingsPlanAction: AddSavingsPlanAction }) | (_BillScenarioCommitmentModificationAction & { negateReservedInstanceAction: NegateReservedInstanceAction }) | (_BillScenarioCommitmentModificationAction & { negateSavingsPlanAction: NegateSavingsPlanAction }); export interface BillScenarioCommitmentModificationItem { id?: string; usageAccountId?: string; group?: string; commitmentAction?: BillScenarioCommitmentModificationAction; } -export type BillScenarioCommitmentModificationItems = - Array; +export type BillScenarioCommitmentModificationItems = Array; export type BillScenarioName = string; export type BillScenarioStatus = "READY" | "LOCKED" | "FAILED" | "STALE"; @@ -715,8 +574,7 @@ export interface BillScenarioUsageModificationItem { quantities?: Array; historicalUsage?: HistoricalUsageEntity; } -export type BillScenarioUsageModificationItems = - Array; +export type BillScenarioUsageModificationItems = Array; export type ClientToken = string; export declare class ConflictException extends EffectData.TaggedError( @@ -791,15 +649,18 @@ export declare class DataUnavailableException extends EffectData.TaggedError( export interface DeleteBillEstimateRequest { identifier: string; } -export interface DeleteBillEstimateResponse {} +export interface DeleteBillEstimateResponse { +} export interface DeleteBillScenarioRequest { identifier: string; } -export interface DeleteBillScenarioResponse {} +export interface DeleteBillScenarioResponse { +} export interface DeleteWorkloadEstimateRequest { identifier: string; } -export interface DeleteWorkloadEstimateResponse {} +export interface DeleteWorkloadEstimateResponse { +} export interface Expression { and?: Array; or?: Array; @@ -843,7 +704,8 @@ export interface GetBillScenarioResponse { expiresAt?: Date | string; failureMessage?: string; } -export interface GetPreferencesRequest {} +export interface GetPreferencesRequest { +} export interface GetPreferencesResponse { managementAccountRateTypeSelections?: Array; memberAccountRateTypeSelections?: Array; @@ -914,15 +776,8 @@ export interface ListBillEstimateLineItemsFilter { values: Array; matchOption?: MatchOption; } -export type ListBillEstimateLineItemsFilterName = - | "USAGE_ACCOUNT_ID" - | "SERVICE_CODE" - | "USAGE_TYPE" - | "OPERATION" - | "LOCATION" - | "LINE_ITEM_TYPE"; -export type ListBillEstimateLineItemsFilters = - Array; +export type ListBillEstimateLineItemsFilterName = "USAGE_ACCOUNT_ID" | "SERVICE_CODE" | "USAGE_TYPE" | "OPERATION" | "LOCATION" | "LINE_ITEM_TYPE"; +export type ListBillEstimateLineItemsFilters = Array; export type ListBillEstimateLineItemsFilterValues = Array; export interface ListBillEstimateLineItemsRequest { billEstimateId: string; @@ -1002,18 +857,7 @@ export interface ListUsageFilter { values: Array; matchOption?: MatchOption; } -export type ListUsageFilterName = - | "USAGE_ACCOUNT_ID" - | "SERVICE_CODE" - | "USAGE_TYPE" - | "OPERATION" - | "LOCATION" - | "USAGE_GROUP" - | "HISTORICAL_USAGE_ACCOUNT_ID" - | "HISTORICAL_SERVICE_CODE" - | "HISTORICAL_USAGE_TYPE" - | "HISTORICAL_OPERATION" - | "HISTORICAL_LOCATION"; +export type ListUsageFilterName = "USAGE_ACCOUNT_ID" | "SERVICE_CODE" | "USAGE_TYPE" | "OPERATION" | "LOCATION" | "USAGE_GROUP" | "HISTORICAL_USAGE_ACCOUNT_ID" | "HISTORICAL_SERVICE_CODE" | "HISTORICAL_USAGE_TYPE" | "HISTORICAL_OPERATION" | "HISTORICAL_LOCATION"; export type ListUsageFilters = Array; export type ListUsageFilterValues = Array; export interface ListWorkloadEstimatesFilter { @@ -1059,10 +903,7 @@ export type NextPageToken = string; export type Operation = string; export type PurchaseAgreementType = "SAVINGS_PLANS" | "RESERVED_INSTANCE"; -export type RateType = - | "BEFORE_DISCOUNTS" - | "AFTER_DISCOUNTS" - | "AFTER_DISCOUNTS_AND_COMMITMENTS"; +export type RateType = "BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS" | "AFTER_DISCOUNTS_AND_COMMITMENTS"; export type RateTypes = Array; export type ReservedInstanceInstanceCount = number; @@ -1100,7 +941,8 @@ export interface TagResourceRequest { arn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", @@ -1114,7 +956,8 @@ export interface UntagResourceRequest { arn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateBillEstimateRequest { identifier: string; name?: string; @@ -1204,25 +1047,12 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "invalidRequestFromMember" - | "disallowedRate" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "invalidRequestFromMember" | "disallowedRate" | "other"; export type WorkloadEstimateCostStatus = "VALID" | "INVALID" | "STALE"; export type WorkloadEstimateName = string; -export type WorkloadEstimateRateType = - | "BEFORE_DISCOUNTS" - | "AFTER_DISCOUNTS" - | "AFTER_DISCOUNTS_AND_COMMITMENTS"; -export type WorkloadEstimateStatus = - | "UPDATING" - | "VALID" - | "INVALID" - | "ACTION_NEEDED"; +export type WorkloadEstimateRateType = "BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS" | "AFTER_DISCOUNTS_AND_COMMITMENTS"; +export type WorkloadEstimateStatus = "UPDATING" | "VALID" | "INVALID" | "ACTION_NEEDED"; export type WorkloadEstimateSummaries = Array; export interface WorkloadEstimateSummary { id: string; @@ -1236,11 +1066,7 @@ export interface WorkloadEstimateSummary { costCurrency?: CurrencyCode; failureMessage?: string; } -export type WorkloadEstimateUpdateUsageErrorCode = - | "BAD_REQUEST" - | "NOT_FOUND" - | "CONFLICT" - | "INTERNAL_SERVER_ERROR"; +export type WorkloadEstimateUpdateUsageErrorCode = "BAD_REQUEST" | "NOT_FOUND" | "CONFLICT" | "INTERNAL_SERVER_ERROR"; export interface WorkloadEstimateUsageItem { serviceCode: string; usageType: string; @@ -1265,13 +1091,17 @@ export interface WorkloadEstimateUsageQuantity { export declare namespace GetPreferences { export type Input = GetPreferencesRequest; export type Output = GetPreferencesResponse; - export type Error = DataUnavailableException | CommonAwsError; + export type Error = + | DataUnavailableException + | CommonAwsError; } export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -1286,7 +1116,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UpdatePreferences { @@ -1443,7 +1275,9 @@ export declare namespace DeleteBillScenario { export declare namespace DeleteWorkloadEstimate { export type Input = DeleteWorkloadEstimateRequest; export type Output = DeleteWorkloadEstimateResponse; - export type Error = DataUnavailableException | CommonAwsError; + export type Error = + | DataUnavailableException + | CommonAwsError; } export declare namespace GetBillEstimate { @@ -1512,7 +1346,9 @@ export declare namespace ListBillEstimateLineItems { export declare namespace ListBillEstimates { export type Input = ListBillEstimatesRequest; export type Output = ListBillEstimatesResponse; - export type Error = DataUnavailableException | CommonAwsError; + export type Error = + | DataUnavailableException + | CommonAwsError; } export declare namespace ListBillScenarioCommitmentModifications { @@ -1536,7 +1372,9 @@ export declare namespace ListBillScenarioUsageModifications { export declare namespace ListBillScenarios { export type Input = ListBillScenariosRequest; export type Output = ListBillScenariosResponse; - export type Error = DataUnavailableException | CommonAwsError; + export type Error = + | DataUnavailableException + | CommonAwsError; } export declare namespace ListWorkloadEstimateUsage { @@ -1551,7 +1389,9 @@ export declare namespace ListWorkloadEstimateUsage { export declare namespace ListWorkloadEstimates { export type Input = ListWorkloadEstimatesRequest; export type Output = ListWorkloadEstimatesResponse; - export type Error = DataUnavailableException | CommonAwsError; + export type Error = + | DataUnavailableException + | CommonAwsError; } export declare namespace UpdateBillEstimate { @@ -1584,13 +1424,5 @@ export declare namespace UpdateWorkloadEstimate { | CommonAwsError; } -export type BCMPricingCalculatorErrors = - | AccessDeniedException - | ConflictException - | DataUnavailableException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BCMPricingCalculatorErrors = AccessDeniedException | ConflictException | DataUnavailableException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/bcm-recommended-actions/index.ts b/src/services/bcm-recommended-actions/index.ts index 694f13fd..fd33ea05 100644 --- a/src/services/bcm-recommended-actions/index.ts +++ b/src/services/bcm-recommended-actions/index.ts @@ -5,23 +5,7 @@ import type { BCMRecommendedActions as _BCMRecommendedActionsClient } from "./ty export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/bcm-recommended-actions/types.ts b/src/services/bcm-recommended-actions/types.ts index dd972755..95ad6a12 100644 --- a/src/services/bcm-recommended-actions/types.ts +++ b/src/services/bcm-recommended-actions/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BCMRecommendedActions extends AWSServiceClient { @@ -40,11 +8,7 @@ export declare class BCMRecommendedActions extends AWSServiceClient { input: ListRecommendedActionsRequest, ): Effect.Effect< ListRecommendedActionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -63,37 +27,9 @@ export interface ActionFilter { values: Array; } export type ActionFilterList = Array; -export type ActionType = - | "ADD_ALTERNATE_BILLING_CONTACT" - | "CREATE_ANOMALY_MONITOR" - | "CREATE_BUDGET" - | "ENABLE_COST_OPTIMIZATION_HUB" - | "MIGRATE_TO_GRANULAR_PERMISSIONS" - | "PAYMENTS_DUE" - | "PAYMENTS_PAST_DUE" - | "REVIEW_ANOMALIES" - | "REVIEW_BUDGET_ALERTS" - | "REVIEW_BUDGETS_EXCEEDED" - | "REVIEW_EXPIRING_RI" - | "REVIEW_EXPIRING_SP" - | "REVIEW_FREETIER_USAGE_ALERTS" - | "REVIEW_SAVINGS_OPPORTUNITY_RECOMMENDATIONS" - | "UPDATE_EXPIRED_PAYMENT_METHOD" - | "UPDATE_INVALID_PAYMENT_METHOD" - | "UPDATE_TAX_EXEMPTION_CERTIFICATE" - | "UPDATE_TAX_REGISTRATION_NUMBER"; +export type ActionType = "ADD_ALTERNATE_BILLING_CONTACT" | "CREATE_ANOMALY_MONITOR" | "CREATE_BUDGET" | "ENABLE_COST_OPTIMIZATION_HUB" | "MIGRATE_TO_GRANULAR_PERMISSIONS" | "PAYMENTS_DUE" | "PAYMENTS_PAST_DUE" | "REVIEW_ANOMALIES" | "REVIEW_BUDGET_ALERTS" | "REVIEW_BUDGETS_EXCEEDED" | "REVIEW_EXPIRING_RI" | "REVIEW_EXPIRING_SP" | "REVIEW_FREETIER_USAGE_ALERTS" | "REVIEW_SAVINGS_OPPORTUNITY_RECOMMENDATIONS" | "UPDATE_EXPIRED_PAYMENT_METHOD" | "UPDATE_INVALID_PAYMENT_METHOD" | "UPDATE_TAX_EXEMPTION_CERTIFICATE" | "UPDATE_TAX_REGISTRATION_NUMBER"; export type Context = Record; -export type Feature = - | "ACCOUNT" - | "BUDGETS" - | "COST_ANOMALY_DETECTION" - | "COST_OPTIMIZATION_HUB" - | "FREE_TIER" - | "IAM" - | "PAYMENTS" - | "RESERVATIONS" - | "SAVINGS_PLANS" - | "TAX_SETTINGS"; +export type Feature = "ACCOUNT" | "BUDGETS" | "COST_ANOMALY_DETECTION" | "COST_OPTIMIZATION_HUB" | "FREE_TIER" | "IAM" | "PAYMENTS" | "RESERVATIONS" | "SAVINGS_PLANS" | "TAX_SETTINGS"; export type FilterName = "FEATURE" | "SEVERITY" | "TYPE"; export type FilterValue = string; @@ -152,11 +88,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export declare namespace ListRecommendedActions { export type Input = ListRecommendedActionsRequest; export type Output = ListRecommendedActionsResponse; @@ -168,9 +100,5 @@ export declare namespace ListRecommendedActions { | CommonAwsError; } -export type BCMRecommendedActionsErrors = - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BCMRecommendedActionsErrors = AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/bedrock-agent-runtime/index.ts b/src/services/bedrock-agent-runtime/index.ts index a47beaed..04adffab 100644 --- a/src/services/bedrock-agent-runtime/index.ts +++ b/src/services/bedrock-agent-runtime/index.ts @@ -5,23 +5,7 @@ import type { BedrockAgentRuntime as _BedrockAgentRuntimeClient } from "./types. export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,77 +15,69 @@ const metadata = { sigV4ServiceName: "bedrock", endpointPrefix: "bedrock-agent-runtime", operations: { - CreateInvocation: "PUT /sessions/{sessionIdentifier}/invocations/", - CreateSession: "PUT /sessions/", - DeleteAgentMemory: - "DELETE /agents/{agentId}/agentAliases/{agentAliasId}/memories", - DeleteSession: "DELETE /sessions/{sessionIdentifier}/", - EndSession: "PATCH /sessions/{sessionIdentifier}", - GenerateQuery: "POST /generateQuery", - GetAgentMemory: - "GET /agents/{agentId}/agentAliases/{agentAliasId}/memories", - GetExecutionFlowSnapshot: - "GET /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/flowsnapshot", - GetFlowExecution: - "GET /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}", - GetInvocationStep: - "POST /sessions/{sessionIdentifier}/invocationSteps/{invocationStepId}", - GetSession: "GET /sessions/{sessionIdentifier}/", - InvokeAgent: { + "CreateInvocation": "PUT /sessions/{sessionIdentifier}/invocations/", + "CreateSession": "PUT /sessions/", + "DeleteAgentMemory": "DELETE /agents/{agentId}/agentAliases/{agentAliasId}/memories", + "DeleteSession": "DELETE /sessions/{sessionIdentifier}/", + "EndSession": "PATCH /sessions/{sessionIdentifier}", + "GenerateQuery": "POST /generateQuery", + "GetAgentMemory": "GET /agents/{agentId}/agentAliases/{agentAliasId}/memories", + "GetExecutionFlowSnapshot": "GET /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/flowsnapshot", + "GetFlowExecution": "GET /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}", + "GetInvocationStep": "POST /sessions/{sessionIdentifier}/invocationSteps/{invocationStepId}", + "GetSession": "GET /sessions/{sessionIdentifier}/", + "InvokeAgent": { http: "POST /agents/{agentId}/agentAliases/{agentAliasId}/sessions/{sessionId}/text", traits: { - completion: "httpStreaming", - contentType: "x-amzn-bedrock-agent-content-type", - sessionId: "x-amz-bedrock-agent-session-id", - memoryId: "x-amz-bedrock-agent-memory-id", + "completion": "httpStreaming", + "contentType": "x-amzn-bedrock-agent-content-type", + "sessionId": "x-amz-bedrock-agent-session-id", + "memoryId": "x-amz-bedrock-agent-memory-id", }, }, - InvokeFlow: { + "InvokeFlow": { http: "POST /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}", traits: { - responseStream: "httpPayload", - executionId: "x-amz-bedrock-flow-execution-id", + "responseStream": "httpPayload", + "executionId": "x-amz-bedrock-flow-execution-id", }, }, - InvokeInlineAgent: { + "InvokeInlineAgent": { http: "POST /agents/{sessionId}", traits: { - completion: "httpPayload", - contentType: "x-amzn-bedrock-agent-content-type", - sessionId: "x-amz-bedrock-agent-session-id", + "completion": "httpPayload", + "contentType": "x-amzn-bedrock-agent-content-type", + "sessionId": "x-amz-bedrock-agent-session-id", }, }, - ListFlowExecutionEvents: - "GET /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/events", - ListFlowExecutions: "GET /flows/{flowIdentifier}/executions", - ListInvocationSteps: "POST /sessions/{sessionIdentifier}/invocationSteps/", - ListInvocations: "POST /sessions/{sessionIdentifier}/invocations/", - ListSessions: "POST /sessions/", - ListTagsForResource: "GET /tags/{resourceArn}", - OptimizePrompt: { + "ListFlowExecutionEvents": "GET /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/events", + "ListFlowExecutions": "GET /flows/{flowIdentifier}/executions", + "ListInvocationSteps": "POST /sessions/{sessionIdentifier}/invocationSteps/", + "ListInvocations": "POST /sessions/{sessionIdentifier}/invocations/", + "ListSessions": "POST /sessions/", + "ListTagsForResource": "GET /tags/{resourceArn}", + "OptimizePrompt": { http: "POST /optimize-prompt", traits: { - optimizedPrompt: "httpPayload", + "optimizedPrompt": "httpPayload", }, }, - PutInvocationStep: "PUT /sessions/{sessionIdentifier}/invocationSteps/", - Rerank: "POST /rerank", - Retrieve: "POST /knowledgebases/{knowledgeBaseId}/retrieve", - RetrieveAndGenerate: "POST /retrieveAndGenerate", - RetrieveAndGenerateStream: { + "PutInvocationStep": "PUT /sessions/{sessionIdentifier}/invocationSteps/", + "Rerank": "POST /rerank", + "Retrieve": "POST /knowledgebases/{knowledgeBaseId}/retrieve", + "RetrieveAndGenerate": "POST /retrieveAndGenerate", + "RetrieveAndGenerateStream": { http: "POST /retrieveAndGenerateStream", traits: { - stream: "httpPayload", - sessionId: "x-amzn-bedrock-knowledge-base-session-id", + "stream": "httpPayload", + "sessionId": "x-amzn-bedrock-knowledge-base-session-id", }, }, - StartFlowExecution: - "POST /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions", - StopFlowExecution: - "POST /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/stop", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateSession: "PUT /sessions/{sessionIdentifier}/", + "StartFlowExecution": "POST /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions", + "StopFlowExecution": "POST /flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/stop", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateSession": "PUT /sessions/{sessionIdentifier}/", }, } as const satisfies ServiceMetadata; diff --git a/src/services/bedrock-agent-runtime/types.ts b/src/services/bedrock-agent-runtime/types.ts index dd76d781..29b408a2 100644 --- a/src/services/bedrock-agent-runtime/types.ts +++ b/src/services/bedrock-agent-runtime/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BedrockAgentRuntime extends AWSServiceClient { @@ -40,399 +8,187 @@ export declare class BedrockAgentRuntime extends AWSServiceClient { input: CreateInvocationRequest, ): Effect.Effect< CreateInvocationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSession( input: CreateSessionRequest, ): Effect.Effect< CreateSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAgentMemory( input: DeleteAgentMemoryRequest, ): Effect.Effect< DeleteAgentMemoryResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteSession( input: DeleteSessionRequest, ): Effect.Effect< DeleteSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; endSession( input: EndSessionRequest, ): Effect.Effect< EndSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; generateQuery( input: GenerateQueryRequest, ): Effect.Effect< GenerateQueryResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getAgentMemory( input: GetAgentMemoryRequest, ): Effect.Effect< GetAgentMemoryResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getExecutionFlowSnapshot( input: GetExecutionFlowSnapshotRequest, ): Effect.Effect< GetExecutionFlowSnapshotResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFlowExecution( input: GetFlowExecutionRequest, ): Effect.Effect< GetFlowExecutionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getInvocationStep( input: GetInvocationStepRequest, ): Effect.Effect< GetInvocationStepResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSession( input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; invokeAgent( input: InvokeAgentRequest, ): Effect.Effect< InvokeAgentResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ModelNotReadyException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ModelNotReadyException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; invokeFlow( input: InvokeFlowRequest, ): Effect.Effect< InvokeFlowResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; invokeInlineAgent( input: InvokeInlineAgentRequest, ): Effect.Effect< InvokeInlineAgentResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listFlowExecutionEvents( input: ListFlowExecutionEventsRequest, ): Effect.Effect< ListFlowExecutionEventsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFlowExecutions( input: ListFlowExecutionsRequest, ): Effect.Effect< ListFlowExecutionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInvocationSteps( input: ListInvocationStepsRequest, ): Effect.Effect< ListInvocationStepsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInvocations( input: ListInvocationsRequest, ): Effect.Effect< ListInvocationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSessions( input: ListSessionsRequest, ): Effect.Effect< ListSessionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; optimizePrompt( input: OptimizePromptRequest, ): Effect.Effect< OptimizePromptResponse, - | AccessDeniedException - | BadGatewayException - | DependencyFailedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | DependencyFailedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putInvocationStep( input: PutInvocationStepRequest, ): Effect.Effect< PutInvocationStepResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; rerank( input: RerankRequest, ): Effect.Effect< RerankResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; retrieve( input: RetrieveRequest, ): Effect.Effect< RetrieveResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; retrieveAndGenerate( input: RetrieveAndGenerateRequest, ): Effect.Effect< RetrieveAndGenerateResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; retrieveAndGenerateStream( input: RetrieveAndGenerateStreamRequest, ): Effect.Effect< RetrieveAndGenerateStreamResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startFlowExecution( input: StartFlowExecutionRequest, ): Effect.Effect< StartFlowExecutionResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopFlowExecution( input: StopFlowExecutionRequest, ): Effect.Effect< StopFlowExecutionResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSession( input: UpdateSessionRequest, ): Effect.Effect< UpdateSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -446,9 +202,7 @@ interface _ActionGroupExecutor { customControl?: CustomControlMethod; } -export type ActionGroupExecutor = - | (_ActionGroupExecutor & { lambda: string }) - | (_ActionGroupExecutor & { customControl: CustomControlMethod }); +export type ActionGroupExecutor = (_ActionGroupExecutor & { lambda: string }) | (_ActionGroupExecutor & { customControl: CustomControlMethod }); export interface ActionGroupInvocationInput { actionGroupName?: string; verb?: string; @@ -467,17 +221,9 @@ export type ActionGroupName = string; export type ActionGroupOutputString = string; -export type ActionGroupSignature = - | "AMAZON.UserInput" - | "AMAZON.CodeInterpreter" - | "ANTHROPIC.Computer" - | "ANTHROPIC.Bash" - | "ANTHROPIC.TextEditor"; +export type ActionGroupSignature = "AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor"; export type ActionGroupSignatureParams = Record; -export type ActionInvocationType = - | "RESULT" - | "USER_CONFIRMATION" - | "USER_CONFIRMATION_AND_RESULT"; +export type ActionInvocationType = "RESULT" | "USER_CONFIRMATION" | "USER_CONFIRMATION_AND_RESULT"; export type AdditionalModelRequestFields = Record; export type AdditionalModelRequestFieldsKey = string; @@ -497,10 +243,7 @@ export type AgentAliasArn = string; export type AgentAliasId = string; -export type AgentCollaboration = - | "SUPERVISOR" - | "SUPERVISOR_ROUTER" - | "DISABLED"; +export type AgentCollaboration = "SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED"; export interface AgentCollaboratorInputPayload { type?: PayloadType; text?: string; @@ -569,9 +312,7 @@ interface _APISchema { payload?: string; } -export type APISchema = - | (_APISchema & { s3: S3Identifier }) - | (_APISchema & { payload: string }); +export type APISchema = (_APISchema & { s3: S3Identifier }) | (_APISchema & { payload: string }); export type AttributeType = "STRING" | "NUMBER" | "BOOLEAN" | "STRING_LIST"; export interface Attribution { citations?: Array; @@ -606,9 +347,7 @@ interface _BedrockSessionContentBlock { image?: ImageBlock; } -export type BedrockSessionContentBlock = - | (_BedrockSessionContentBlock & { text: string }) - | (_BedrockSessionContentBlock & { image: ImageBlock }); +export type BedrockSessionContentBlock = (_BedrockSessionContentBlock & { text: string }) | (_BedrockSessionContentBlock & { image: ImageBlock }); export type BedrockSessionContentBlocks = Array; export type ByteContentBlob = Uint8Array | string; @@ -625,7 +364,7 @@ interface _Caller { agentAliasArn?: string; } -export type Caller = _Caller & { agentAliasArn: string }; +export type Caller = (_Caller & { agentAliasArn: string }); export type CallerChain = Array; export interface Citation { generatedResponsePart?: GeneratedResponsePart; @@ -686,7 +425,7 @@ interface _ContentBlock { text?: string; } -export type ContentBlock = _ContentBlock & { text: string }; +export type ContentBlock = (_ContentBlock & { text: string }); export type ContentBlocks = Array; export interface ContentBody { body?: string; @@ -740,11 +479,13 @@ export interface DeleteAgentMemoryRequest { memoryId?: string; sessionId?: string; } -export interface DeleteAgentMemoryResponse {} +export interface DeleteAgentMemoryResponse { +} export interface DeleteSessionRequest { sessionIdentifier: string; } -export interface DeleteSessionResponse {} +export interface DeleteSessionResponse { +} export declare class DependencyFailedException extends EffectData.TaggedError( "DependencyFailedException", )<{ @@ -825,17 +566,12 @@ export interface FlowCompletionEvent { } export type FlowCompletionReason = "SUCCESS" | "INPUT_REQUIRED"; export type FlowControlNodeType = "Iterator" | "Loop"; -export type FlowErrorCode = - | "VALIDATION" - | "INTERNAL_SERVER" - | "NODE_EXECUTION_FAILED"; +export type FlowErrorCode = "VALIDATION" | "INTERNAL_SERVER" | "NODE_EXECUTION_FAILED"; interface _FlowExecutionContent { document?: unknown; } -export type FlowExecutionContent = _FlowExecutionContent & { - document: unknown; -}; +export type FlowExecutionContent = (_FlowExecutionContent & { document: unknown }); export interface FlowExecutionError { nodeName?: string; error?: FlowExecutionErrorType; @@ -855,16 +591,7 @@ interface _FlowExecutionEvent { nodeDependencyEvent?: NodeDependencyEvent; } -export type FlowExecutionEvent = - | (_FlowExecutionEvent & { flowInputEvent: FlowExecutionInputEvent }) - | (_FlowExecutionEvent & { flowOutputEvent: FlowExecutionOutputEvent }) - | (_FlowExecutionEvent & { nodeInputEvent: NodeInputEvent }) - | (_FlowExecutionEvent & { nodeOutputEvent: NodeOutputEvent }) - | (_FlowExecutionEvent & { conditionResultEvent: ConditionResultEvent }) - | (_FlowExecutionEvent & { nodeFailureEvent: NodeFailureEvent }) - | (_FlowExecutionEvent & { flowFailureEvent: FlowFailureEvent }) - | (_FlowExecutionEvent & { nodeActionEvent: NodeActionEvent }) - | (_FlowExecutionEvent & { nodeDependencyEvent: NodeDependencyEvent }); +export type FlowExecutionEvent = (_FlowExecutionEvent & { flowInputEvent: FlowExecutionInputEvent }) | (_FlowExecutionEvent & { flowOutputEvent: FlowExecutionOutputEvent }) | (_FlowExecutionEvent & { nodeInputEvent: NodeInputEvent }) | (_FlowExecutionEvent & { nodeOutputEvent: NodeOutputEvent }) | (_FlowExecutionEvent & { conditionResultEvent: ConditionResultEvent }) | (_FlowExecutionEvent & { nodeFailureEvent: NodeFailureEvent }) | (_FlowExecutionEvent & { flowFailureEvent: FlowFailureEvent }) | (_FlowExecutionEvent & { nodeActionEvent: NodeActionEvent }) | (_FlowExecutionEvent & { nodeDependencyEvent: NodeDependencyEvent }); export type FlowExecutionEvents = Array; export type FlowExecutionEventType = "Node" | "Flow"; export type FlowExecutionId = string; @@ -885,12 +612,7 @@ export interface FlowExecutionOutputEvent { } export type FlowExecutionRoleArn = string; -export type FlowExecutionStatus = - | "Running" - | "Succeeded" - | "Failed" - | "TimedOut" - | "Aborted"; +export type FlowExecutionStatus = "Running" | "Succeeded" | "Failed" | "TimedOut" | "Aborted"; export type FlowExecutionSummaries = Array; export interface FlowExecutionSummary { executionArn: string; @@ -918,7 +640,7 @@ interface _FlowInputContent { document?: unknown; } -export type FlowInputContent = _FlowInputContent & { document: unknown }; +export type FlowInputContent = (_FlowInputContent & { document: unknown }); export interface FlowInputField { name: string; content: FlowExecutionContent; @@ -929,35 +651,25 @@ interface _FlowMultiTurnInputContent { document?: unknown; } -export type FlowMultiTurnInputContent = _FlowMultiTurnInputContent & { - document: unknown; -}; +export type FlowMultiTurnInputContent = (_FlowMultiTurnInputContent & { document: unknown }); export interface FlowMultiTurnInputRequestEvent { nodeName: string; nodeType: NodeType; content: FlowMultiTurnInputContent; } -export type FlowNodeInputCategory = - | "LoopCondition" - | "ReturnValueToLoopStart" - | "ExitLoop"; +export type FlowNodeInputCategory = "LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop"; export type FlowNodeInputExpression = string; export type FlowNodeInputName = string; -export type FlowNodeIODataType = - | "String" - | "Number" - | "Boolean" - | "Object" - | "Array"; +export type FlowNodeIODataType = "String" | "Number" | "Boolean" | "Object" | "Array"; export type FlowNodeOutputName = string; interface _FlowOutputContent { document?: unknown; } -export type FlowOutputContent = _FlowOutputContent & { document: unknown }; +export type FlowOutputContent = (_FlowOutputContent & { document: unknown }); export interface FlowOutputEvent { nodeName: string; nodeType: NodeType; @@ -984,28 +696,7 @@ interface _FlowResponseStream { flowMultiTurnInputRequestEvent?: FlowMultiTurnInputRequestEvent; } -export type FlowResponseStream = - | (_FlowResponseStream & { flowOutputEvent: FlowOutputEvent }) - | (_FlowResponseStream & { flowCompletionEvent: FlowCompletionEvent }) - | (_FlowResponseStream & { flowTraceEvent: FlowTraceEvent }) - | (_FlowResponseStream & { internalServerException: InternalServerException }) - | (_FlowResponseStream & { validationException: ValidationException }) - | (_FlowResponseStream & { - resourceNotFoundException: ResourceNotFoundException; - }) - | (_FlowResponseStream & { - serviceQuotaExceededException: ServiceQuotaExceededException; - }) - | (_FlowResponseStream & { throttlingException: ThrottlingException }) - | (_FlowResponseStream & { accessDeniedException: AccessDeniedException }) - | (_FlowResponseStream & { conflictException: ConflictException }) - | (_FlowResponseStream & { - dependencyFailedException: DependencyFailedException; - }) - | (_FlowResponseStream & { badGatewayException: BadGatewayException }) - | (_FlowResponseStream & { - flowMultiTurnInputRequestEvent: FlowMultiTurnInputRequestEvent; - }); +export type FlowResponseStream = (_FlowResponseStream & { flowOutputEvent: FlowOutputEvent }) | (_FlowResponseStream & { flowCompletionEvent: FlowCompletionEvent }) | (_FlowResponseStream & { flowTraceEvent: FlowTraceEvent }) | (_FlowResponseStream & { internalServerException: InternalServerException }) | (_FlowResponseStream & { validationException: ValidationException }) | (_FlowResponseStream & { resourceNotFoundException: ResourceNotFoundException }) | (_FlowResponseStream & { serviceQuotaExceededException: ServiceQuotaExceededException }) | (_FlowResponseStream & { throttlingException: ThrottlingException }) | (_FlowResponseStream & { accessDeniedException: AccessDeniedException }) | (_FlowResponseStream & { conflictException: ConflictException }) | (_FlowResponseStream & { dependencyFailedException: DependencyFailedException }) | (_FlowResponseStream & { badGatewayException: BadGatewayException }) | (_FlowResponseStream & { flowMultiTurnInputRequestEvent: FlowMultiTurnInputRequestEvent }); interface _FlowTrace { nodeInputTrace?: FlowTraceNodeInputEvent; nodeOutputTrace?: FlowTraceNodeOutputEvent; @@ -1014,14 +705,7 @@ interface _FlowTrace { nodeDependencyTrace?: FlowTraceDependencyEvent; } -export type FlowTrace = - | (_FlowTrace & { nodeInputTrace: FlowTraceNodeInputEvent }) - | (_FlowTrace & { nodeOutputTrace: FlowTraceNodeOutputEvent }) - | (_FlowTrace & { - conditionNodeResultTrace: FlowTraceConditionNodeResultEvent; - }) - | (_FlowTrace & { nodeActionTrace: FlowTraceNodeActionEvent }) - | (_FlowTrace & { nodeDependencyTrace: FlowTraceDependencyEvent }); +export type FlowTrace = (_FlowTrace & { nodeInputTrace: FlowTraceNodeInputEvent }) | (_FlowTrace & { nodeOutputTrace: FlowTraceNodeOutputEvent }) | (_FlowTrace & { conditionNodeResultTrace: FlowTraceConditionNodeResultEvent }) | (_FlowTrace & { nodeActionTrace: FlowTraceNodeActionEvent }) | (_FlowTrace & { nodeDependencyTrace: FlowTraceDependencyEvent }); export interface FlowTraceCondition { conditionName: string; } @@ -1052,16 +736,13 @@ interface _FlowTraceNodeInputContent { document?: unknown; } -export type FlowTraceNodeInputContent = _FlowTraceNodeInputContent & { - document: unknown; -}; +export type FlowTraceNodeInputContent = (_FlowTraceNodeInputContent & { document: unknown }); export interface FlowTraceNodeInputEvent { nodeName: string; timestamp: Date | string; fields: Array; } -export type FlowTraceNodeInputExecutionChain = - Array; +export type FlowTraceNodeInputExecutionChain = Array; export interface FlowTraceNodeInputExecutionChainItem { nodeName: string; index?: number; @@ -1085,9 +766,7 @@ interface _FlowTraceNodeOutputContent { document?: unknown; } -export type FlowTraceNodeOutputContent = _FlowTraceNodeOutputContent & { - document: unknown; -}; +export type FlowTraceNodeOutputContent = (_FlowTraceNodeOutputContent & { document: unknown }); export interface FlowTraceNodeOutputEvent { nodeName: string; timestamp: Date | string; @@ -1142,9 +821,7 @@ interface _FunctionSchema { functions?: Array; } -export type FunctionSchema = _FunctionSchema & { - functions: Array; -}; +export type FunctionSchema = (_FunctionSchema & { functions: Array }); export type GeneratedQueries = Array; export interface GeneratedQuery { type?: GeneratedQueryType; @@ -1250,19 +927,9 @@ export interface GuardrailContentFilter { confidence?: GuardrailContentFilterConfidence; action?: GuardrailContentPolicyAction; } -export type GuardrailContentFilterConfidence = - | "NONE" - | "LOW" - | "MEDIUM" - | "HIGH"; +export type GuardrailContentFilterConfidence = "NONE" | "LOW" | "MEDIUM" | "HIGH"; export type GuardrailContentFilterList = Array; -export type GuardrailContentFilterType = - | "INSULTS" - | "HATE" - | "SEXUAL" - | "VIOLENCE" - | "MISCONDUCT" - | "PROMPT_ATTACK"; +export type GuardrailContentFilterType = "INSULTS" | "HATE" | "SEXUAL" | "VIOLENCE" | "MISCONDUCT" | "PROMPT_ATTACK"; export type GuardrailContentPolicyAction = "BLOCKED"; export interface GuardrailContentPolicyAssessment { filters?: Array; @@ -1290,38 +957,7 @@ export interface GuardrailPiiEntityFilter { action?: GuardrailSensitiveInformationPolicyAction; } export type GuardrailPiiEntityFilterList = Array; -export type GuardrailPiiEntityType = - | "ADDRESS" - | "AGE" - | "AWS_ACCESS_KEY" - | "AWS_SECRET_KEY" - | "CA_HEALTH_NUMBER" - | "CA_SOCIAL_INSURANCE_NUMBER" - | "CREDIT_DEBIT_CARD_CVV" - | "CREDIT_DEBIT_CARD_EXPIRY" - | "CREDIT_DEBIT_CARD_NUMBER" - | "DRIVER_ID" - | "EMAIL" - | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" - | "IP_ADDRESS" - | "LICENSE_PLATE" - | "MAC_ADDRESS" - | "NAME" - | "PASSWORD" - | "PHONE" - | "PIN" - | "SWIFT_CODE" - | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" - | "UK_NATIONAL_INSURANCE_NUMBER" - | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" - | "URL" - | "USERNAME" - | "US_BANK_ACCOUNT_NUMBER" - | "US_BANK_ROUTING_NUMBER" - | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" - | "US_PASSPORT_NUMBER" - | "US_SOCIAL_SECURITY_NUMBER" - | "VEHICLE_IDENTIFICATION_NUMBER"; +export type GuardrailPiiEntityType = "ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER"; export interface GuardrailRegexFilter { name?: string; regex?: string; @@ -1329,9 +965,7 @@ export interface GuardrailRegexFilter { action?: GuardrailSensitiveInformationPolicyAction; } export type GuardrailRegexFilterList = Array; -export type GuardrailSensitiveInformationPolicyAction = - | "BLOCKED" - | "ANONYMIZED"; +export type GuardrailSensitiveInformationPolicyAction = "BLOCKED" | "ANONYMIZED"; export interface GuardrailSensitiveInformationPolicyAssessment { piiEntities?: Array; regexes?: Array; @@ -1378,17 +1012,13 @@ interface _ImageInputSource { bytes?: Uint8Array | string; } -export type ImageInputSource = _ImageInputSource & { - bytes: Uint8Array | string; -}; +export type ImageInputSource = (_ImageInputSource & { bytes: Uint8Array | string }); interface _ImageSource { bytes?: Uint8Array | string; s3Location?: S3Location; } -export type ImageSource = - | (_ImageSource & { bytes: Uint8Array | string }) - | (_ImageSource & { s3Location: S3Location }); +export type ImageSource = (_ImageSource & { bytes: Uint8Array | string }) | (_ImageSource & { s3Location: S3Location }); export interface ImplicitFilterConfiguration { metadataAttributes: Array; modelArn: string; @@ -1426,32 +1056,7 @@ interface _InlineAgentResponseStream { files?: InlineAgentFilePart; } -export type InlineAgentResponseStream = - | (_InlineAgentResponseStream & { chunk: InlineAgentPayloadPart }) - | (_InlineAgentResponseStream & { trace: InlineAgentTracePart }) - | (_InlineAgentResponseStream & { - returnControl: InlineAgentReturnControlPayload; - }) - | (_InlineAgentResponseStream & { - internalServerException: InternalServerException; - }) - | (_InlineAgentResponseStream & { validationException: ValidationException }) - | (_InlineAgentResponseStream & { - resourceNotFoundException: ResourceNotFoundException; - }) - | (_InlineAgentResponseStream & { - serviceQuotaExceededException: ServiceQuotaExceededException; - }) - | (_InlineAgentResponseStream & { throttlingException: ThrottlingException }) - | (_InlineAgentResponseStream & { - accessDeniedException: AccessDeniedException; - }) - | (_InlineAgentResponseStream & { conflictException: ConflictException }) - | (_InlineAgentResponseStream & { - dependencyFailedException: DependencyFailedException; - }) - | (_InlineAgentResponseStream & { badGatewayException: BadGatewayException }) - | (_InlineAgentResponseStream & { files: InlineAgentFilePart }); +export type InlineAgentResponseStream = (_InlineAgentResponseStream & { chunk: InlineAgentPayloadPart }) | (_InlineAgentResponseStream & { trace: InlineAgentTracePart }) | (_InlineAgentResponseStream & { returnControl: InlineAgentReturnControlPayload }) | (_InlineAgentResponseStream & { internalServerException: InternalServerException }) | (_InlineAgentResponseStream & { validationException: ValidationException }) | (_InlineAgentResponseStream & { resourceNotFoundException: ResourceNotFoundException }) | (_InlineAgentResponseStream & { serviceQuotaExceededException: ServiceQuotaExceededException }) | (_InlineAgentResponseStream & { throttlingException: ThrottlingException }) | (_InlineAgentResponseStream & { accessDeniedException: AccessDeniedException }) | (_InlineAgentResponseStream & { conflictException: ConflictException }) | (_InlineAgentResponseStream & { dependencyFailedException: DependencyFailedException }) | (_InlineAgentResponseStream & { badGatewayException: BadGatewayException }) | (_InlineAgentResponseStream & { files: InlineAgentFilePart }); export interface InlineAgentReturnControlPayload { invocationInputs?: Array; invocationId?: string; @@ -1484,7 +1089,7 @@ interface _InputPrompt { textPrompt?: TextPrompt; } -export type InputPrompt = _InputPrompt & { textPrompt: TextPrompt }; +export type InputPrompt = (_InputPrompt & { textPrompt: TextPrompt }); export type InputQueryType = "TEXT"; export type InputText = string; @@ -1513,20 +1118,14 @@ interface _InvocationInputMember { functionInvocationInput?: FunctionInvocationInput; } -export type InvocationInputMember = - | (_InvocationInputMember & { apiInvocationInput: ApiInvocationInput }) - | (_InvocationInputMember & { - functionInvocationInput: FunctionInvocationInput; - }); +export type InvocationInputMember = (_InvocationInputMember & { apiInvocationInput: ApiInvocationInput }) | (_InvocationInputMember & { functionInvocationInput: FunctionInvocationInput }); export type InvocationInputs = Array; interface _InvocationResultMember { apiResult?: ApiResult; functionResult?: FunctionResult; } -export type InvocationResultMember = - | (_InvocationResultMember & { apiResult: ApiResult }) - | (_InvocationResultMember & { functionResult: FunctionResult }); +export type InvocationResultMember = (_InvocationResultMember & { apiResult: ApiResult }) | (_InvocationResultMember & { functionResult: FunctionResult }); export interface InvocationStep { sessionId: string; invocationId: string; @@ -1538,9 +1137,7 @@ interface _InvocationStepPayload { contentBlocks?: Array; } -export type InvocationStepPayload = _InvocationStepPayload & { - contentBlocks: Array; -}; +export type InvocationStepPayload = (_InvocationStepPayload & { contentBlocks: Array }); export type InvocationStepSummaries = Array; export interface InvocationStepSummary { sessionId: string; @@ -1554,12 +1151,7 @@ export interface InvocationSummary { invocationId: string; createdAt: Date | string; } -export type InvocationType = - | "ACTION_GROUP" - | "KNOWLEDGE_BASE" - | "FINISH" - | "ACTION_GROUP_CODE_INTERPRETER" - | "AGENT_COLLABORATOR"; +export type InvocationType = "ACTION_GROUP" | "KNOWLEDGE_BASE" | "FINISH" | "ACTION_GROUP_CODE_INTERPRETER" | "AGENT_COLLABORATOR"; export interface InvokeAgentRequest { sessionState?: SessionState; agentId: string; @@ -1745,7 +1337,7 @@ interface _Memory { sessionSummary?: MemorySessionSummary; } -export type Memory = _Memory & { sessionSummary: MemorySessionSummary }; +export type Memory = (_Memory & { sessionSummary: MemorySessionSummary }); export type MemoryId = string; export interface MemorySessionSummary { @@ -1819,18 +1411,12 @@ export interface NodeDependencyEvent { timestamp: Date | string; traceElements: NodeTraceElements; } -export type NodeErrorCode = - | "VALIDATION" - | "DEPENDENCY_FAILED" - | "BAD_GATEWAY" - | "INTERNAL_SERVER"; +export type NodeErrorCode = "VALIDATION" | "DEPENDENCY_FAILED" | "BAD_GATEWAY" | "INTERNAL_SERVER"; interface _NodeExecutionContent { document?: unknown; } -export type NodeExecutionContent = _NodeExecutionContent & { - document: unknown; -}; +export type NodeExecutionContent = (_NodeExecutionContent & { document: unknown }); export interface NodeFailureEvent { nodeName: string; timestamp: Date | string; @@ -1889,17 +1475,8 @@ interface _NodeTraceElements { agentTraces?: Array; } -export type NodeTraceElements = _NodeTraceElements & { - agentTraces: Array; -}; -export type NodeType = - | "FlowInputNode" - | "FlowOutputNode" - | "LambdaFunctionNode" - | "KnowledgeBaseNode" - | "PromptNode" - | "ConditionNode" - | "LexNode"; +export type NodeTraceElements = (_NodeTraceElements & { agentTraces: Array }); +export type NodeType = "FlowInputNode" | "FlowOutputNode" | "LambdaFunctionNode" | "KnowledgeBaseNode" | "PromptNode" | "ConditionNode" | "LexNode"; export type NonBlankString = string; export interface Observation { @@ -1916,7 +1493,7 @@ interface _OptimizedPrompt { textPrompt?: TextPrompt; } -export type OptimizedPrompt = _OptimizedPrompt & { textPrompt: TextPrompt }; +export type OptimizedPrompt = (_OptimizedPrompt & { textPrompt: TextPrompt }); export interface OptimizedPromptEvent { optimizedPrompt?: OptimizedPrompt; } @@ -1931,19 +1508,7 @@ interface _OptimizedPromptStream { badGatewayException?: BadGatewayException; } -export type OptimizedPromptStream = - | (_OptimizedPromptStream & { optimizedPromptEvent: OptimizedPromptEvent }) - | (_OptimizedPromptStream & { analyzePromptEvent: AnalyzePromptEvent }) - | (_OptimizedPromptStream & { - internalServerException: InternalServerException; - }) - | (_OptimizedPromptStream & { throttlingException: ThrottlingException }) - | (_OptimizedPromptStream & { validationException: ValidationException }) - | (_OptimizedPromptStream & { - dependencyFailedException: DependencyFailedException; - }) - | (_OptimizedPromptStream & { accessDeniedException: AccessDeniedException }) - | (_OptimizedPromptStream & { badGatewayException: BadGatewayException }); +export type OptimizedPromptStream = (_OptimizedPromptStream & { optimizedPromptEvent: OptimizedPromptEvent }) | (_OptimizedPromptStream & { analyzePromptEvent: AnalyzePromptEvent }) | (_OptimizedPromptStream & { internalServerException: InternalServerException }) | (_OptimizedPromptStream & { throttlingException: ThrottlingException }) | (_OptimizedPromptStream & { validationException: ValidationException }) | (_OptimizedPromptStream & { dependencyFailedException: DependencyFailedException }) | (_OptimizedPromptStream & { accessDeniedException: AccessDeniedException }) | (_OptimizedPromptStream & { badGatewayException: BadGatewayException }); export interface OptimizePromptRequest { input: InputPrompt; targetModelId: string; @@ -1962,7 +1527,7 @@ interface _OrchestrationExecutor { lambda?: string; } -export type OrchestrationExecutor = _OrchestrationExecutor & { lambda: string }; +export type OrchestrationExecutor = (_OrchestrationExecutor & { lambda: string }); export interface OrchestrationModelInvocationOutput { traceId?: string; rawResponse?: RawResponse; @@ -1977,14 +1542,7 @@ interface _OrchestrationTrace { modelInvocationOutput?: OrchestrationModelInvocationOutput; } -export type OrchestrationTrace = - | (_OrchestrationTrace & { rationale: Rationale }) - | (_OrchestrationTrace & { invocationInput: InvocationInput }) - | (_OrchestrationTrace & { observation: Observation }) - | (_OrchestrationTrace & { modelInvocationInput: ModelInvocationInput }) - | (_OrchestrationTrace & { - modelInvocationOutput: OrchestrationModelInvocationOutput; - }); +export type OrchestrationTrace = (_OrchestrationTrace & { rationale: Rationale }) | (_OrchestrationTrace & { invocationInput: InvocationInput }) | (_OrchestrationTrace & { observation: Observation }) | (_OrchestrationTrace & { modelInvocationInput: ModelInvocationInput }) | (_OrchestrationTrace & { modelInvocationOutput: OrchestrationModelInvocationOutput }); export type OrchestrationType = "DEFAULT" | "CUSTOM_ORCHESTRATION"; export interface OutputFile { name?: string; @@ -2011,12 +1569,7 @@ export type ParameterMap = Record; export type ParameterName = string; export type Parameters = Array; -export type ParameterType = - | "string" - | "number" - | "integer" - | "boolean" - | "array"; +export type ParameterType = "string" | "number" | "integer" | "boolean" | "array"; export type PartBody = Uint8Array | string; export type Payload = string; @@ -2045,11 +1598,7 @@ interface _PostProcessingTrace { modelInvocationOutput?: PostProcessingModelInvocationOutput; } -export type PostProcessingTrace = - | (_PostProcessingTrace & { modelInvocationInput: ModelInvocationInput }) - | (_PostProcessingTrace & { - modelInvocationOutput: PostProcessingModelInvocationOutput; - }); +export type PostProcessingTrace = (_PostProcessingTrace & { modelInvocationInput: ModelInvocationInput }) | (_PostProcessingTrace & { modelInvocationOutput: PostProcessingModelInvocationOutput }); export interface PreProcessingModelInvocationOutput { traceId?: string; parsedResponse?: PreProcessingParsedResponse; @@ -2066,11 +1615,7 @@ interface _PreProcessingTrace { modelInvocationOutput?: PreProcessingModelInvocationOutput; } -export type PreProcessingTrace = - | (_PreProcessingTrace & { modelInvocationInput: ModelInvocationInput }) - | (_PreProcessingTrace & { - modelInvocationOutput: PreProcessingModelInvocationOutput; - }); +export type PreProcessingTrace = (_PreProcessingTrace & { modelInvocationInput: ModelInvocationInput }) | (_PreProcessingTrace & { modelInvocationOutput: PreProcessingModelInvocationOutput }); export interface PromptConfiguration { promptType?: PromptType; promptCreationMode?: CreationMode; @@ -2097,12 +1642,7 @@ export interface PromptTemplate { } export type PromptText = string; -export type PromptType = - | "PRE_PROCESSING" - | "ORCHESTRATION" - | "KNOWLEDGE_BASE_RESPONSE_GENERATION" - | "POST_PROCESSING" - | "ROUTING_CLASSIFIER"; +export type PromptType = "PRE_PROCESSING" | "ORCHESTRATION" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "POST_PROCESSING" | "ROUTING_CLASSIFIER"; export interface PropertyParameters { properties?: Array; } @@ -2140,9 +1680,7 @@ interface _ReasoningContentBlock { redactedContent?: Uint8Array | string; } -export type ReasoningContentBlock = - | (_ReasoningContentBlock & { reasoningText: ReasoningTextBlock }) - | (_ReasoningContentBlock & { redactedContent: Uint8Array | string }); +export type ReasoningContentBlock = (_ReasoningContentBlock & { reasoningText: ReasoningTextBlock }) | (_ReasoningContentBlock & { redactedContent: Uint8Array | string }); export interface ReasoningTextBlock { text: string; signature?: string; @@ -2173,13 +1711,7 @@ interface _RerankingMetadataSelectiveModeConfiguration { fieldsToExclude?: Array; } -export type RerankingMetadataSelectiveModeConfiguration = - | (_RerankingMetadataSelectiveModeConfiguration & { - fieldsToInclude: Array; - }) - | (_RerankingMetadataSelectiveModeConfiguration & { - fieldsToExclude: Array; - }); +export type RerankingMetadataSelectiveModeConfiguration = (_RerankingMetadataSelectiveModeConfiguration & { fieldsToInclude: Array }) | (_RerankingMetadataSelectiveModeConfiguration & { fieldsToExclude: Array }); export type RerankQueriesList = Array; export interface RerankQuery { type: RerankQueryContentType; @@ -2239,23 +1771,7 @@ interface _ResponseStream { files?: FilePart; } -export type ResponseStream = - | (_ResponseStream & { chunk: PayloadPart }) - | (_ResponseStream & { trace: TracePart }) - | (_ResponseStream & { returnControl: ReturnControlPayload }) - | (_ResponseStream & { internalServerException: InternalServerException }) - | (_ResponseStream & { validationException: ValidationException }) - | (_ResponseStream & { resourceNotFoundException: ResourceNotFoundException }) - | (_ResponseStream & { - serviceQuotaExceededException: ServiceQuotaExceededException; - }) - | (_ResponseStream & { throttlingException: ThrottlingException }) - | (_ResponseStream & { accessDeniedException: AccessDeniedException }) - | (_ResponseStream & { conflictException: ConflictException }) - | (_ResponseStream & { dependencyFailedException: DependencyFailedException }) - | (_ResponseStream & { badGatewayException: BadGatewayException }) - | (_ResponseStream & { modelNotReadyException: ModelNotReadyException }) - | (_ResponseStream & { files: FilePart }); +export type ResponseStream = (_ResponseStream & { chunk: PayloadPart }) | (_ResponseStream & { trace: TracePart }) | (_ResponseStream & { returnControl: ReturnControlPayload }) | (_ResponseStream & { internalServerException: InternalServerException }) | (_ResponseStream & { validationException: ValidationException }) | (_ResponseStream & { resourceNotFoundException: ResourceNotFoundException }) | (_ResponseStream & { serviceQuotaExceededException: ServiceQuotaExceededException }) | (_ResponseStream & { throttlingException: ThrottlingException }) | (_ResponseStream & { accessDeniedException: AccessDeniedException }) | (_ResponseStream & { conflictException: ConflictException }) | (_ResponseStream & { dependencyFailedException: DependencyFailedException }) | (_ResponseStream & { badGatewayException: BadGatewayException }) | (_ResponseStream & { modelNotReadyException: ModelNotReadyException }) | (_ResponseStream & { files: FilePart }); interface _RetrievalFilter { equals?: FilterAttribute; notEquals?: FilterAttribute; @@ -2272,20 +1788,7 @@ interface _RetrievalFilter { orAll?: Array; } -export type RetrievalFilter = - | (_RetrievalFilter & { equals: FilterAttribute }) - | (_RetrievalFilter & { notEquals: FilterAttribute }) - | (_RetrievalFilter & { greaterThan: FilterAttribute }) - | (_RetrievalFilter & { greaterThanOrEquals: FilterAttribute }) - | (_RetrievalFilter & { lessThan: FilterAttribute }) - | (_RetrievalFilter & { lessThanOrEquals: FilterAttribute }) - | (_RetrievalFilter & { in: FilterAttribute }) - | (_RetrievalFilter & { notIn: FilterAttribute }) - | (_RetrievalFilter & { startsWith: FilterAttribute }) - | (_RetrievalFilter & { listContains: FilterAttribute }) - | (_RetrievalFilter & { stringContains: FilterAttribute }) - | (_RetrievalFilter & { andAll: Array }) - | (_RetrievalFilter & { orAll: Array }); +export type RetrievalFilter = (_RetrievalFilter & { equals: FilterAttribute }) | (_RetrievalFilter & { notEquals: FilterAttribute }) | (_RetrievalFilter & { greaterThan: FilterAttribute }) | (_RetrievalFilter & { greaterThanOrEquals: FilterAttribute }) | (_RetrievalFilter & { lessThan: FilterAttribute }) | (_RetrievalFilter & { lessThanOrEquals: FilterAttribute }) | (_RetrievalFilter & { in: FilterAttribute }) | (_RetrievalFilter & { notIn: FilterAttribute }) | (_RetrievalFilter & { startsWith: FilterAttribute }) | (_RetrievalFilter & { listContains: FilterAttribute }) | (_RetrievalFilter & { stringContains: FilterAttribute }) | (_RetrievalFilter & { andAll: Array }) | (_RetrievalFilter & { orAll: Array }); export type RetrievalFilterList = Array; export interface RetrievalResultConfluenceLocation { url?: string; @@ -2301,13 +1804,7 @@ export interface RetrievalResultContentColumn { columnValue?: string; type?: RetrievalResultContentColumnType; } -export type RetrievalResultContentColumnType = - | "BLOB" - | "BOOLEAN" - | "DOUBLE" - | "NULL" - | "LONG" - | "STRING"; +export type RetrievalResultContentColumnType = "BLOB" | "BOOLEAN" | "DOUBLE" | "NULL" | "LONG" | "STRING"; export type RetrievalResultContentRow = Array; export type RetrievalResultContentType = "TEXT" | "IMAGE" | "ROW"; export interface RetrievalResultCustomDocumentLocation { @@ -2327,15 +1824,7 @@ export interface RetrievalResultLocation { kendraDocumentLocation?: RetrievalResultKendraDocumentLocation; sqlLocation?: RetrievalResultSqlLocation; } -export type RetrievalResultLocationType = - | "S3" - | "WEB" - | "CONFLUENCE" - | "SALESFORCE" - | "SHAREPOINT" - | "CUSTOM" - | "KENDRA" - | "SQL"; +export type RetrievalResultLocationType = "S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "KENDRA" | "SQL"; export type RetrievalResultMetadata = Record; export type RetrievalResultMetadataKey = string; @@ -2410,39 +1899,7 @@ interface _RetrieveAndGenerateStreamResponseOutput { badGatewayException?: BadGatewayException; } -export type RetrieveAndGenerateStreamResponseOutput = - | (_RetrieveAndGenerateStreamResponseOutput & { - output: RetrieveAndGenerateOutputEvent; - }) - | (_RetrieveAndGenerateStreamResponseOutput & { citation: CitationEvent }) - | (_RetrieveAndGenerateStreamResponseOutput & { guardrail: GuardrailEvent }) - | (_RetrieveAndGenerateStreamResponseOutput & { - internalServerException: InternalServerException; - }) - | (_RetrieveAndGenerateStreamResponseOutput & { - validationException: ValidationException; - }) - | (_RetrieveAndGenerateStreamResponseOutput & { - resourceNotFoundException: ResourceNotFoundException; - }) - | (_RetrieveAndGenerateStreamResponseOutput & { - serviceQuotaExceededException: ServiceQuotaExceededException; - }) - | (_RetrieveAndGenerateStreamResponseOutput & { - throttlingException: ThrottlingException; - }) - | (_RetrieveAndGenerateStreamResponseOutput & { - accessDeniedException: AccessDeniedException; - }) - | (_RetrieveAndGenerateStreamResponseOutput & { - conflictException: ConflictException; - }) - | (_RetrieveAndGenerateStreamResponseOutput & { - dependencyFailedException: DependencyFailedException; - }) - | (_RetrieveAndGenerateStreamResponseOutput & { - badGatewayException: BadGatewayException; - }); +export type RetrieveAndGenerateStreamResponseOutput = (_RetrieveAndGenerateStreamResponseOutput & { output: RetrieveAndGenerateOutputEvent }) | (_RetrieveAndGenerateStreamResponseOutput & { citation: CitationEvent }) | (_RetrieveAndGenerateStreamResponseOutput & { guardrail: GuardrailEvent }) | (_RetrieveAndGenerateStreamResponseOutput & { internalServerException: InternalServerException }) | (_RetrieveAndGenerateStreamResponseOutput & { validationException: ValidationException }) | (_RetrieveAndGenerateStreamResponseOutput & { resourceNotFoundException: ResourceNotFoundException }) | (_RetrieveAndGenerateStreamResponseOutput & { serviceQuotaExceededException: ServiceQuotaExceededException }) | (_RetrieveAndGenerateStreamResponseOutput & { throttlingException: ThrottlingException }) | (_RetrieveAndGenerateStreamResponseOutput & { accessDeniedException: AccessDeniedException }) | (_RetrieveAndGenerateStreamResponseOutput & { conflictException: ConflictException }) | (_RetrieveAndGenerateStreamResponseOutput & { dependencyFailedException: DependencyFailedException }) | (_RetrieveAndGenerateStreamResponseOutput & { badGatewayException: BadGatewayException }); export type RetrieveAndGenerateType = "KNOWLEDGE_BASE" | "EXTERNAL_SOURCES"; export interface RetrievedReference { content?: RetrievalResultContent; @@ -2483,13 +1940,7 @@ interface _RoutingClassifierTrace { modelInvocationOutput?: RoutingClassifierModelInvocationOutput; } -export type RoutingClassifierTrace = - | (_RoutingClassifierTrace & { invocationInput: InvocationInput }) - | (_RoutingClassifierTrace & { observation: Observation }) - | (_RoutingClassifierTrace & { modelInvocationInput: ModelInvocationInput }) - | (_RoutingClassifierTrace & { - modelInvocationOutput: RoutingClassifierModelInvocationOutput; - }); +export type RoutingClassifierTrace = (_RoutingClassifierTrace & { invocationInput: InvocationInput }) | (_RoutingClassifierTrace & { observation: Observation }) | (_RoutingClassifierTrace & { modelInvocationInput: ModelInvocationInput }) | (_RoutingClassifierTrace & { modelInvocationOutput: RoutingClassifierModelInvocationOutput }); export type S3BucketName = string; export interface S3Identifier { @@ -2591,7 +2042,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export type TagValue = string; @@ -2639,19 +2091,12 @@ interface _Trace { customOrchestrationTrace?: CustomOrchestrationTrace; } -export type Trace = - | (_Trace & { guardrailTrace: GuardrailTrace }) - | (_Trace & { preProcessingTrace: PreProcessingTrace }) - | (_Trace & { orchestrationTrace: OrchestrationTrace }) - | (_Trace & { postProcessingTrace: PostProcessingTrace }) - | (_Trace & { routingClassifierTrace: RoutingClassifierTrace }) - | (_Trace & { failureTrace: FailureTrace }) - | (_Trace & { customOrchestrationTrace: CustomOrchestrationTrace }); +export type Trace = (_Trace & { guardrailTrace: GuardrailTrace }) | (_Trace & { preProcessingTrace: PreProcessingTrace }) | (_Trace & { orchestrationTrace: OrchestrationTrace }) | (_Trace & { postProcessingTrace: PostProcessingTrace }) | (_Trace & { routingClassifierTrace: RoutingClassifierTrace }) | (_Trace & { failureTrace: FailureTrace }) | (_Trace & { customOrchestrationTrace: CustomOrchestrationTrace }); interface _TraceElements { agentTraces?: Array; } -export type TraceElements = _TraceElements & { agentTraces: Array }; +export type TraceElements = (_TraceElements & { agentTraces: Array }); export type TraceId = string; export type TraceKnowledgeBaseId = string; @@ -2670,18 +2115,13 @@ export interface TransformationConfiguration { mode: QueryTransformationMode; textToSqlConfiguration?: TextToSqlConfiguration; } -export type Type = - | "ACTION_GROUP" - | "AGENT_COLLABORATOR" - | "KNOWLEDGE_BASE" - | "FINISH" - | "ASK_USER" - | "REPROMPT"; +export type Type = "ACTION_GROUP" | "AGENT_COLLABORATOR" | "KNOWLEDGE_BASE" | "FINISH" | "ASK_USER" | "REPROMPT"; export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateSessionRequest { sessionMetadata?: Record; sessionIdentifier: string; @@ -3151,15 +2591,5 @@ export declare namespace UpdateSession { | CommonAwsError; } -export type BedrockAgentRuntimeErrors = - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ModelNotReadyException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BedrockAgentRuntimeErrors = AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ModelNotReadyException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/bedrock-agent/index.ts b/src/services/bedrock-agent/index.ts index be2f6a3c..c3962fec 100644 --- a/src/services/bedrock-agent/index.ts +++ b/src/services/bedrock-agent/index.ts @@ -5,23 +5,7 @@ import type { BedrockAgent as _BedrockAgentClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,105 +15,78 @@ const metadata = { sigV4ServiceName: "bedrock", endpointPrefix: "bedrock-agent", operations: { - ValidateFlowDefinition: "POST /flows/validate-definition", - AssociateAgentCollaborator: - "PUT /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", - AssociateAgentKnowledgeBase: - "PUT /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", - CreateAgent: "PUT /agents/", - CreateAgentActionGroup: - "PUT /agents/{agentId}/agentversions/{agentVersion}/actiongroups/", - CreateAgentAlias: "PUT /agents/{agentId}/agentaliases/", - CreateDataSource: "PUT /knowledgebases/{knowledgeBaseId}/datasources/", - CreateFlow: "POST /flows/", - CreateFlowAlias: "POST /flows/{flowIdentifier}/aliases", - CreateFlowVersion: "POST /flows/{flowIdentifier}/versions", - CreateKnowledgeBase: "PUT /knowledgebases/", - CreatePrompt: "POST /prompts/", - CreatePromptVersion: "POST /prompts/{promptIdentifier}/versions", - DeleteAgent: "DELETE /agents/{agentId}/", - DeleteAgentActionGroup: - "DELETE /agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", - DeleteAgentAlias: "DELETE /agents/{agentId}/agentaliases/{agentAliasId}/", - DeleteAgentVersion: - "DELETE /agents/{agentId}/agentversions/{agentVersion}/", - DeleteDataSource: - "DELETE /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", - DeleteFlow: "DELETE /flows/{flowIdentifier}/", - DeleteFlowAlias: "DELETE /flows/{flowIdentifier}/aliases/{aliasIdentifier}", - DeleteFlowVersion: "DELETE /flows/{flowIdentifier}/versions/{flowVersion}/", - DeleteKnowledgeBase: "DELETE /knowledgebases/{knowledgeBaseId}", - DeleteKnowledgeBaseDocuments: - "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/deleteDocuments", - DeletePrompt: "DELETE /prompts/{promptIdentifier}/", - DisassociateAgentCollaborator: - "DELETE /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", - DisassociateAgentKnowledgeBase: - "DELETE /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", - GetAgent: "GET /agents/{agentId}/", - GetAgentActionGroup: - "GET /agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", - GetAgentAlias: "GET /agents/{agentId}/agentaliases/{agentAliasId}/", - GetAgentCollaborator: - "GET /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", - GetAgentKnowledgeBase: - "GET /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", - GetAgentVersion: "GET /agents/{agentId}/agentversions/{agentVersion}/", - GetDataSource: - "GET /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", - GetFlow: "GET /flows/{flowIdentifier}/", - GetFlowAlias: "GET /flows/{flowIdentifier}/aliases/{aliasIdentifier}", - GetFlowVersion: "GET /flows/{flowIdentifier}/versions/{flowVersion}/", - GetIngestionJob: - "GET /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}", - GetKnowledgeBase: "GET /knowledgebases/{knowledgeBaseId}", - GetKnowledgeBaseDocuments: - "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/getDocuments", - GetPrompt: "GET /prompts/{promptIdentifier}/", - IngestKnowledgeBaseDocuments: - "PUT /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", - ListAgentActionGroups: - "POST /agents/{agentId}/agentversions/{agentVersion}/actiongroups/", - ListAgentAliases: "POST /agents/{agentId}/agentaliases/", - ListAgentCollaborators: - "POST /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", - ListAgentKnowledgeBases: - "POST /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", - ListAgentVersions: "POST /agents/{agentId}/agentversions/", - ListAgents: "POST /agents/", - ListDataSources: "POST /knowledgebases/{knowledgeBaseId}/datasources/", - ListFlowAliases: "GET /flows/{flowIdentifier}/aliases", - ListFlowVersions: "GET /flows/{flowIdentifier}/versions", - ListFlows: "GET /flows/", - ListIngestionJobs: - "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", - ListKnowledgeBaseDocuments: - "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", - ListKnowledgeBases: "POST /knowledgebases/", - ListPrompts: "GET /prompts/", - ListTagsForResource: "GET /tags/{resourceArn}", - PrepareAgent: "POST /agents/{agentId}/", - PrepareFlow: "POST /flows/{flowIdentifier}/", - StartIngestionJob: - "PUT /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", - StopIngestionJob: - "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}/stop", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAgent: "PUT /agents/{agentId}/", - UpdateAgentActionGroup: - "PUT /agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", - UpdateAgentAlias: "PUT /agents/{agentId}/agentaliases/{agentAliasId}/", - UpdateAgentCollaborator: - "PUT /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", - UpdateAgentKnowledgeBase: - "PUT /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", - UpdateDataSource: - "PUT /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", - UpdateFlow: "PUT /flows/{flowIdentifier}/", - UpdateFlowAlias: "PUT /flows/{flowIdentifier}/aliases/{aliasIdentifier}", - UpdateKnowledgeBase: "PUT /knowledgebases/{knowledgeBaseId}", - UpdatePrompt: "PUT /prompts/{promptIdentifier}/", + "ValidateFlowDefinition": "POST /flows/validate-definition", + "AssociateAgentCollaborator": "PUT /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", + "AssociateAgentKnowledgeBase": "PUT /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", + "CreateAgent": "PUT /agents/", + "CreateAgentActionGroup": "PUT /agents/{agentId}/agentversions/{agentVersion}/actiongroups/", + "CreateAgentAlias": "PUT /agents/{agentId}/agentaliases/", + "CreateDataSource": "PUT /knowledgebases/{knowledgeBaseId}/datasources/", + "CreateFlow": "POST /flows/", + "CreateFlowAlias": "POST /flows/{flowIdentifier}/aliases", + "CreateFlowVersion": "POST /flows/{flowIdentifier}/versions", + "CreateKnowledgeBase": "PUT /knowledgebases/", + "CreatePrompt": "POST /prompts/", + "CreatePromptVersion": "POST /prompts/{promptIdentifier}/versions", + "DeleteAgent": "DELETE /agents/{agentId}/", + "DeleteAgentActionGroup": "DELETE /agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", + "DeleteAgentAlias": "DELETE /agents/{agentId}/agentaliases/{agentAliasId}/", + "DeleteAgentVersion": "DELETE /agents/{agentId}/agentversions/{agentVersion}/", + "DeleteDataSource": "DELETE /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + "DeleteFlow": "DELETE /flows/{flowIdentifier}/", + "DeleteFlowAlias": "DELETE /flows/{flowIdentifier}/aliases/{aliasIdentifier}", + "DeleteFlowVersion": "DELETE /flows/{flowIdentifier}/versions/{flowVersion}/", + "DeleteKnowledgeBase": "DELETE /knowledgebases/{knowledgeBaseId}", + "DeleteKnowledgeBaseDocuments": "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/deleteDocuments", + "DeletePrompt": "DELETE /prompts/{promptIdentifier}/", + "DisassociateAgentCollaborator": "DELETE /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", + "DisassociateAgentKnowledgeBase": "DELETE /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + "GetAgent": "GET /agents/{agentId}/", + "GetAgentActionGroup": "GET /agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", + "GetAgentAlias": "GET /agents/{agentId}/agentaliases/{agentAliasId}/", + "GetAgentCollaborator": "GET /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", + "GetAgentKnowledgeBase": "GET /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + "GetAgentVersion": "GET /agents/{agentId}/agentversions/{agentVersion}/", + "GetDataSource": "GET /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + "GetFlow": "GET /flows/{flowIdentifier}/", + "GetFlowAlias": "GET /flows/{flowIdentifier}/aliases/{aliasIdentifier}", + "GetFlowVersion": "GET /flows/{flowIdentifier}/versions/{flowVersion}/", + "GetIngestionJob": "GET /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}", + "GetKnowledgeBase": "GET /knowledgebases/{knowledgeBaseId}", + "GetKnowledgeBaseDocuments": "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/getDocuments", + "GetPrompt": "GET /prompts/{promptIdentifier}/", + "IngestKnowledgeBaseDocuments": "PUT /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", + "ListAgentActionGroups": "POST /agents/{agentId}/agentversions/{agentVersion}/actiongroups/", + "ListAgentAliases": "POST /agents/{agentId}/agentaliases/", + "ListAgentCollaborators": "POST /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/", + "ListAgentKnowledgeBases": "POST /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/", + "ListAgentVersions": "POST /agents/{agentId}/agentversions/", + "ListAgents": "POST /agents/", + "ListDataSources": "POST /knowledgebases/{knowledgeBaseId}/datasources/", + "ListFlowAliases": "GET /flows/{flowIdentifier}/aliases", + "ListFlowVersions": "GET /flows/{flowIdentifier}/versions", + "ListFlows": "GET /flows/", + "ListIngestionJobs": "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", + "ListKnowledgeBaseDocuments": "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents", + "ListKnowledgeBases": "POST /knowledgebases/", + "ListPrompts": "GET /prompts/", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PrepareAgent": "POST /agents/{agentId}/", + "PrepareFlow": "POST /flows/{flowIdentifier}/", + "StartIngestionJob": "PUT /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/", + "StopIngestionJob": "POST /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}/stop", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAgent": "PUT /agents/{agentId}/", + "UpdateAgentActionGroup": "PUT /agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/", + "UpdateAgentAlias": "PUT /agents/{agentId}/agentaliases/{agentAliasId}/", + "UpdateAgentCollaborator": "PUT /agents/{agentId}/agentversions/{agentVersion}/agentcollaborators/{collaboratorId}/", + "UpdateAgentKnowledgeBase": "PUT /agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/", + "UpdateDataSource": "PUT /knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}", + "UpdateFlow": "PUT /flows/{flowIdentifier}/", + "UpdateFlowAlias": "PUT /flows/{flowIdentifier}/aliases/{aliasIdentifier}", + "UpdateKnowledgeBase": "PUT /knowledgebases/{knowledgeBaseId}", + "UpdatePrompt": "PUT /prompts/{promptIdentifier}/", }, } as const satisfies ServiceMetadata; diff --git a/src/services/bedrock-agent/types.ts b/src/services/bedrock-agent/types.ts index 3f2375ef..6d52aa0f 100644 --- a/src/services/bedrock-agent/types.ts +++ b/src/services/bedrock-agent/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BedrockAgent extends AWSServiceClient { @@ -40,849 +8,433 @@ export declare class BedrockAgent extends AWSServiceClient { input: ValidateFlowDefinitionRequest, ): Effect.Effect< ValidateFlowDefinitionResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; associateAgentCollaborator( input: AssociateAgentCollaboratorRequest, ): Effect.Effect< AssociateAgentCollaboratorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateAgentKnowledgeBase( input: AssociateAgentKnowledgeBaseRequest, ): Effect.Effect< AssociateAgentKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAgent( input: CreateAgentRequest, ): Effect.Effect< CreateAgentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAgentActionGroup( input: CreateAgentActionGroupRequest, ): Effect.Effect< CreateAgentActionGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAgentAlias( input: CreateAgentAliasRequest, ): Effect.Effect< CreateAgentAliasResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataSource( input: CreateDataSourceRequest, ): Effect.Effect< CreateDataSourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFlow( input: CreateFlowRequest, ): Effect.Effect< CreateFlowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFlowAlias( input: CreateFlowAliasRequest, ): Effect.Effect< CreateFlowAliasResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFlowVersion( input: CreateFlowVersionRequest, ): Effect.Effect< CreateFlowVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createKnowledgeBase( input: CreateKnowledgeBaseRequest, ): Effect.Effect< CreateKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPrompt( input: CreatePromptRequest, ): Effect.Effect< CreatePromptResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPromptVersion( input: CreatePromptVersionRequest, ): Effect.Effect< CreatePromptVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAgent( input: DeleteAgentRequest, ): Effect.Effect< DeleteAgentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAgentActionGroup( input: DeleteAgentActionGroupRequest, ): Effect.Effect< DeleteAgentActionGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAgentAlias( input: DeleteAgentAliasRequest, ): Effect.Effect< DeleteAgentAliasResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAgentVersion( input: DeleteAgentVersionRequest, ): Effect.Effect< DeleteAgentVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataSource( input: DeleteDataSourceRequest, ): Effect.Effect< DeleteDataSourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFlow( input: DeleteFlowRequest, ): Effect.Effect< DeleteFlowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFlowAlias( input: DeleteFlowAliasRequest, ): Effect.Effect< DeleteFlowAliasResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFlowVersion( input: DeleteFlowVersionRequest, ): Effect.Effect< DeleteFlowVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKnowledgeBase( input: DeleteKnowledgeBaseRequest, ): Effect.Effect< DeleteKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKnowledgeBaseDocuments( input: DeleteKnowledgeBaseDocumentsRequest, ): Effect.Effect< DeleteKnowledgeBaseDocumentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deletePrompt( input: DeletePromptRequest, ): Effect.Effect< DeletePromptResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateAgentCollaborator( input: DisassociateAgentCollaboratorRequest, ): Effect.Effect< DisassociateAgentCollaboratorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateAgentKnowledgeBase( input: DisassociateAgentKnowledgeBaseRequest, ): Effect.Effect< DisassociateAgentKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAgent( input: GetAgentRequest, ): Effect.Effect< GetAgentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAgentActionGroup( input: GetAgentActionGroupRequest, ): Effect.Effect< GetAgentActionGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAgentAlias( input: GetAgentAliasRequest, ): Effect.Effect< GetAgentAliasResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAgentCollaborator( input: GetAgentCollaboratorRequest, ): Effect.Effect< GetAgentCollaboratorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAgentKnowledgeBase( input: GetAgentKnowledgeBaseRequest, ): Effect.Effect< GetAgentKnowledgeBaseResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAgentVersion( input: GetAgentVersionRequest, ): Effect.Effect< GetAgentVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataSource( input: GetDataSourceRequest, ): Effect.Effect< GetDataSourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFlow( input: GetFlowRequest, ): Effect.Effect< GetFlowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFlowAlias( input: GetFlowAliasRequest, ): Effect.Effect< GetFlowAliasResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFlowVersion( input: GetFlowVersionRequest, ): Effect.Effect< GetFlowVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIngestionJob( input: GetIngestionJobRequest, ): Effect.Effect< GetIngestionJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getKnowledgeBase( input: GetKnowledgeBaseRequest, ): Effect.Effect< GetKnowledgeBaseResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getKnowledgeBaseDocuments( input: GetKnowledgeBaseDocumentsRequest, ): Effect.Effect< GetKnowledgeBaseDocumentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getPrompt( input: GetPromptRequest, ): Effect.Effect< GetPromptResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; ingestKnowledgeBaseDocuments( input: IngestKnowledgeBaseDocumentsRequest, ): Effect.Effect< IngestKnowledgeBaseDocumentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listAgentActionGroups( input: ListAgentActionGroupsRequest, ): Effect.Effect< ListAgentActionGroupsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAgentAliases( input: ListAgentAliasesRequest, ): Effect.Effect< ListAgentAliasesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAgentCollaborators( input: ListAgentCollaboratorsRequest, ): Effect.Effect< ListAgentCollaboratorsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAgentKnowledgeBases( input: ListAgentKnowledgeBasesRequest, ): Effect.Effect< ListAgentKnowledgeBasesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAgentVersions( input: ListAgentVersionsRequest, ): Effect.Effect< ListAgentVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAgents( input: ListAgentsRequest, ): Effect.Effect< ListAgentsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDataSources( input: ListDataSourcesRequest, ): Effect.Effect< ListDataSourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFlowAliases( input: ListFlowAliasesRequest, ): Effect.Effect< ListFlowAliasesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFlowVersions( input: ListFlowVersionsRequest, ): Effect.Effect< ListFlowVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFlows( input: ListFlowsRequest, ): Effect.Effect< ListFlowsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listIngestionJobs( input: ListIngestionJobsRequest, ): Effect.Effect< ListIngestionJobsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listKnowledgeBaseDocuments( input: ListKnowledgeBaseDocumentsRequest, ): Effect.Effect< ListKnowledgeBaseDocumentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listKnowledgeBases( input: ListKnowledgeBasesRequest, ): Effect.Effect< ListKnowledgeBasesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPrompts( input: ListPromptsRequest, ): Effect.Effect< ListPromptsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; prepareAgent( input: PrepareAgentRequest, ): Effect.Effect< PrepareAgentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; prepareFlow( input: PrepareFlowRequest, ): Effect.Effect< PrepareFlowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startIngestionJob( input: StartIngestionJobRequest, ): Effect.Effect< StartIngestionJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopIngestionJob( input: StopIngestionJobRequest, ): Effect.Effect< StopIngestionJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAgent( input: UpdateAgentRequest, ): Effect.Effect< UpdateAgentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAgentActionGroup( input: UpdateAgentActionGroupRequest, ): Effect.Effect< UpdateAgentActionGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAgentAlias( input: UpdateAgentAliasRequest, ): Effect.Effect< UpdateAgentAliasResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAgentCollaborator( input: UpdateAgentCollaboratorRequest, ): Effect.Effect< UpdateAgentCollaboratorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAgentKnowledgeBase( input: UpdateAgentKnowledgeBaseRequest, ): Effect.Effect< UpdateAgentKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDataSource( input: UpdateDataSourceRequest, ): Effect.Effect< UpdateDataSourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFlow( input: UpdateFlowRequest, ): Effect.Effect< UpdateFlowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateFlowAlias( input: UpdateFlowAliasRequest, ): Effect.Effect< UpdateFlowAliasResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateKnowledgeBase( input: UpdateKnowledgeBaseRequest, ): Effect.Effect< UpdateKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePrompt( input: UpdatePromptRequest, ): Effect.Effect< UpdatePromptResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -896,15 +448,8 @@ interface _ActionGroupExecutor { customControl?: CustomControlMethod; } -export type ActionGroupExecutor = - | (_ActionGroupExecutor & { lambda: string }) - | (_ActionGroupExecutor & { customControl: CustomControlMethod }); -export type ActionGroupSignature = - | "AMAZON.UserInput" - | "AMAZON.CodeInterpreter" - | "ANTHROPIC.Computer" - | "ANTHROPIC.Bash" - | "ANTHROPIC.TextEditor"; +export type ActionGroupExecutor = (_ActionGroupExecutor & { lambda: string }) | (_ActionGroupExecutor & { customControl: CustomControlMethod }); +export type ActionGroupSignature = "AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor"; export type ActionGroupSignatureParams = Record; export type ActionGroupState = "ENABLED" | "DISABLED"; export type ActionGroupSummaries = Array; @@ -986,19 +531,12 @@ export interface AgentAliasHistoryEvent { export type AgentAliasHistoryEvents = Array; export type AgentAliasId = string; -export type AgentAliasRoutingConfiguration = - Array; +export type AgentAliasRoutingConfiguration = Array; export interface AgentAliasRoutingConfigurationListItem { agentVersion?: string; provisionedThroughput?: string; } -export type AgentAliasStatus = - | "CREATING" - | "PREPARED" - | "FAILED" - | "UPDATING" - | "DELETING" - | "DISSOCIATED"; +export type AgentAliasStatus = "CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING" | "DISSOCIATED"; export type AgentAliasSummaries = Array; export interface AgentAliasSummary { agentAliasId: string; @@ -1012,10 +550,7 @@ export interface AgentAliasSummary { } export type AgentArn = string; -export type AgentCollaboration = - | "SUPERVISOR" - | "SUPERVISOR_ROUTER" - | "DISABLED"; +export type AgentCollaboration = "SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED"; export interface AgentCollaborator { agentId: string; agentVersion: string; @@ -1064,15 +599,7 @@ export interface AgentKnowledgeBaseSummary { } export type AgentRoleArn = string; -export type AgentStatus = - | "CREATING" - | "PREPARING" - | "PREPARED" - | "NOT_PREPARED" - | "DELETING" - | "FAILED" - | "VERSIONING" - | "UPDATING"; +export type AgentStatus = "CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING"; export type AgentSummaries = Array; export interface AgentSummary { agentId: string; @@ -1115,15 +642,14 @@ export interface AgentVersionSummary { guardrailConfiguration?: GuardrailConfiguration; } export type AliasInvocationState = "ACCEPT_INVOCATIONS" | "REJECT_INVOCATIONS"; -export interface AnyToolChoice {} +export interface AnyToolChoice { +} interface _APISchema { s3?: S3Identifier; payload?: string; } -export type APISchema = - | (_APISchema & { s3: S3Identifier }) - | (_APISchema & { payload: string }); +export type APISchema = (_APISchema & { s3: S3Identifier }) | (_APISchema & { payload: string }); export interface AssociateAgentCollaboratorRequest { agentId: string; agentVersion: string; @@ -1146,7 +672,8 @@ export interface AssociateAgentKnowledgeBaseRequest { export interface AssociateAgentKnowledgeBaseResponse { agentKnowledgeBase: AgentKnowledgeBase; } -export interface AutoToolChoice {} +export interface AutoToolChoice { +} export type AwsDataCatalogTableName = string; export type AwsDataCatalogTableNames = Array; @@ -1198,16 +725,13 @@ export interface ChunkingConfiguration { hierarchicalChunkingConfiguration?: HierarchicalChunkingConfiguration; semanticChunkingConfiguration?: SemanticChunkingConfiguration; } -export type ChunkingStrategy = - | "FIXED_SIZE" - | "NONE" - | "HIERARCHICAL" - | "SEMANTIC"; +export type ChunkingStrategy = "FIXED_SIZE" | "NONE" | "HIERARCHICAL" | "SEMANTIC"; export type ClientToken = string; export type CollaborationInstruction = string; -export interface CollectorFlowNodeConfiguration {} +export interface CollectorFlowNodeConfiguration { +} export type ColumnName = string; export type ConcurrencyType = "Automatic" | "Manual"; @@ -1239,9 +763,7 @@ interface _ContentBlock { cachePoint?: CachePointBlock; } -export type ContentBlock = - | (_ContentBlock & { text: string }) - | (_ContentBlock & { cachePoint: CachePointBlock }); +export type ContentBlock = (_ContentBlock & { text: string }) | (_ContentBlock & { cachePoint: CachePointBlock }); export type ContentBlocks = Array; export type ContentDataSourceType = "CUSTOM" | "S3"; export interface ContextEnrichmentConfiguration { @@ -1491,14 +1013,7 @@ export interface DataSourceSummary { description?: string; updatedAt: Date | string; } -export type DataSourceType = - | "S3" - | "WEB" - | "CONFLUENCE" - | "SALESFORCE" - | "SHAREPOINT" - | "CUSTOM" - | "REDSHIFT_METADATA"; +export type DataSourceType = "S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "REDSHIFT_METADATA"; export type DateTimestamp = Date | string; export interface DeleteAgentActionGroupRequest { @@ -1507,7 +1022,8 @@ export interface DeleteAgentActionGroupRequest { actionGroupId: string; skipResourceInUseCheck?: boolean; } -export interface DeleteAgentActionGroupResponse {} +export interface DeleteAgentActionGroupResponse { +} export interface DeleteAgentAliasRequest { agentId: string; agentAliasId: string; @@ -1603,13 +1119,15 @@ export interface DisassociateAgentCollaboratorRequest { agentVersion: string; collaboratorId: string; } -export interface DisassociateAgentCollaboratorResponse {} +export interface DisassociateAgentCollaboratorResponse { +} export interface DisassociateAgentKnowledgeBaseRequest { agentId: string; agentVersion: string; knowledgeBaseId: string; } -export interface DisassociateAgentKnowledgeBaseResponse {} +export interface DisassociateAgentKnowledgeBaseResponse { +} export interface DocumentContent { dataSourceType: ContentDataSourceType; custom?: CustomContent; @@ -1626,19 +1144,7 @@ export interface DocumentMetadata { inlineAttributes?: Array; s3Location?: CustomS3Location; } -export type DocumentStatus = - | "INDEXED" - | "PARTIALLY_INDEXED" - | "PENDING" - | "FAILED" - | "METADATA_PARTIALLY_INDEXED" - | "METADATA_UPDATE_FAILED" - | "IGNORED" - | "NOT_FOUND" - | "STARTING" - | "IN_PROGRESS" - | "DELETING" - | "DELETE_IN_PROGRESS"; +export type DocumentStatus = "INDEXED" | "PARTIALLY_INDEXED" | "PENDING" | "FAILED" | "METADATA_PARTIALLY_INDEXED" | "METADATA_UPDATE_FAILED" | "IGNORED" | "NOT_FOUND" | "STARTING" | "IN_PROGRESS" | "DELETING" | "DELETE_IN_PROGRESS"; export type DraftVersion = string; export interface DuplicateConditionExpressionFlowValidationDetails { @@ -1690,8 +1196,7 @@ export type FlowAliasId = string; export type FlowAliasIdentifier = string; -export type FlowAliasRoutingConfiguration = - Array; +export type FlowAliasRoutingConfiguration = Array; export interface FlowAliasRoutingConfigurationListItem { flowVersion?: string; } @@ -1733,11 +1238,7 @@ interface _FlowConnectionConfiguration { conditional?: FlowConditionalConnectionConfiguration; } -export type FlowConnectionConfiguration = - | (_FlowConnectionConfiguration & { data: FlowDataConnectionConfiguration }) - | (_FlowConnectionConfiguration & { - conditional: FlowConditionalConnectionConfiguration; - }); +export type FlowConnectionConfiguration = (_FlowConnectionConfiguration & { data: FlowDataConnectionConfiguration }) | (_FlowConnectionConfiguration & { conditional: FlowConditionalConnectionConfiguration }); export type FlowConnectionName = string; export type FlowConnections = Array; @@ -1794,50 +1295,20 @@ interface _FlowNodeConfiguration { loopController?: LoopControllerFlowNodeConfiguration; } -export type FlowNodeConfiguration = - | (_FlowNodeConfiguration & { input: InputFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { output: OutputFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { - knowledgeBase: KnowledgeBaseFlowNodeConfiguration; - }) - | (_FlowNodeConfiguration & { condition: ConditionFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { lex: LexFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { prompt: PromptFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { - lambdaFunction: LambdaFunctionFlowNodeConfiguration; - }) - | (_FlowNodeConfiguration & { storage: StorageFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { agent: AgentFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { retrieval: RetrievalFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { iterator: IteratorFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { collector: CollectorFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { inlineCode: InlineCodeFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { loop: LoopFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { loopInput: LoopInputFlowNodeConfiguration }) - | (_FlowNodeConfiguration & { - loopController: LoopControllerFlowNodeConfiguration; - }); +export type FlowNodeConfiguration = (_FlowNodeConfiguration & { input: InputFlowNodeConfiguration }) | (_FlowNodeConfiguration & { output: OutputFlowNodeConfiguration }) | (_FlowNodeConfiguration & { knowledgeBase: KnowledgeBaseFlowNodeConfiguration }) | (_FlowNodeConfiguration & { condition: ConditionFlowNodeConfiguration }) | (_FlowNodeConfiguration & { lex: LexFlowNodeConfiguration }) | (_FlowNodeConfiguration & { prompt: PromptFlowNodeConfiguration }) | (_FlowNodeConfiguration & { lambdaFunction: LambdaFunctionFlowNodeConfiguration }) | (_FlowNodeConfiguration & { storage: StorageFlowNodeConfiguration }) | (_FlowNodeConfiguration & { agent: AgentFlowNodeConfiguration }) | (_FlowNodeConfiguration & { retrieval: RetrievalFlowNodeConfiguration }) | (_FlowNodeConfiguration & { iterator: IteratorFlowNodeConfiguration }) | (_FlowNodeConfiguration & { collector: CollectorFlowNodeConfiguration }) | (_FlowNodeConfiguration & { inlineCode: InlineCodeFlowNodeConfiguration }) | (_FlowNodeConfiguration & { loop: LoopFlowNodeConfiguration }) | (_FlowNodeConfiguration & { loopInput: LoopInputFlowNodeConfiguration }) | (_FlowNodeConfiguration & { loopController: LoopControllerFlowNodeConfiguration }); export interface FlowNodeInput { name: string; type: FlowNodeIODataType; expression: string; category?: FlowNodeInputCategory; } -export type FlowNodeInputCategory = - | "LoopCondition" - | "ReturnValueToLoopStart" - | "ExitLoop"; +export type FlowNodeInputCategory = "LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop"; export type FlowNodeInputExpression = string; export type FlowNodeInputName = string; export type FlowNodeInputs = Array; -export type FlowNodeIODataType = - | "String" - | "Number" - | "Boolean" - | "Object" - | "Array"; +export type FlowNodeIODataType = "String" | "Number" | "Boolean" | "Object" | "Array"; export type FlowNodeName = string; export interface FlowNodeOutput { @@ -1848,23 +1319,7 @@ export type FlowNodeOutputName = string; export type FlowNodeOutputs = Array; export type FlowNodes = Array; -export type FlowNodeType = - | "Input" - | "Output" - | "KnowledgeBase" - | "Condition" - | "Lex" - | "Prompt" - | "LambdaFunction" - | "Storage" - | "Agent" - | "Retrieval" - | "Iterator" - | "Collector" - | "InlineCode" - | "Loop" - | "LoopInput" - | "LoopController"; +export type FlowNodeType = "Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode" | "Loop" | "LoopInput" | "LoopController"; export type FlowPromptArn = string; export type FlowPromptModelIdentifier = string; @@ -1925,140 +1380,10 @@ interface _FlowValidationDetails { invalidLoopBoundary?: InvalidLoopBoundaryFlowValidationDetails; } -export type FlowValidationDetails = - | (_FlowValidationDetails & { - cyclicConnection: CyclicConnectionFlowValidationDetails; - }) - | (_FlowValidationDetails & { - duplicateConnections: DuplicateConnectionsFlowValidationDetails; - }) - | (_FlowValidationDetails & { - duplicateConditionExpression: DuplicateConditionExpressionFlowValidationDetails; - }) - | (_FlowValidationDetails & { - unreachableNode: UnreachableNodeFlowValidationDetails; - }) - | (_FlowValidationDetails & { - unknownConnectionSource: UnknownConnectionSourceFlowValidationDetails; - }) - | (_FlowValidationDetails & { - unknownConnectionSourceOutput: UnknownConnectionSourceOutputFlowValidationDetails; - }) - | (_FlowValidationDetails & { - unknownConnectionTarget: UnknownConnectionTargetFlowValidationDetails; - }) - | (_FlowValidationDetails & { - unknownConnectionTargetInput: UnknownConnectionTargetInputFlowValidationDetails; - }) - | (_FlowValidationDetails & { - unknownConnectionCondition: UnknownConnectionConditionFlowValidationDetails; - }) - | (_FlowValidationDetails & { - malformedConditionExpression: MalformedConditionExpressionFlowValidationDetails; - }) - | (_FlowValidationDetails & { - malformedNodeInputExpression: MalformedNodeInputExpressionFlowValidationDetails; - }) - | (_FlowValidationDetails & { - mismatchedNodeInputType: MismatchedNodeInputTypeFlowValidationDetails; - }) - | (_FlowValidationDetails & { - mismatchedNodeOutputType: MismatchedNodeOutputTypeFlowValidationDetails; - }) - | (_FlowValidationDetails & { - incompatibleConnectionDataType: IncompatibleConnectionDataTypeFlowValidationDetails; - }) - | (_FlowValidationDetails & { - missingConnectionConfiguration: MissingConnectionConfigurationFlowValidationDetails; - }) - | (_FlowValidationDetails & { - missingDefaultCondition: MissingDefaultConditionFlowValidationDetails; - }) - | (_FlowValidationDetails & { - missingEndingNodes: MissingEndingNodesFlowValidationDetails; - }) - | (_FlowValidationDetails & { - missingNodeConfiguration: MissingNodeConfigurationFlowValidationDetails; - }) - | (_FlowValidationDetails & { - missingNodeInput: MissingNodeInputFlowValidationDetails; - }) - | (_FlowValidationDetails & { - missingNodeOutput: MissingNodeOutputFlowValidationDetails; - }) - | (_FlowValidationDetails & { - missingStartingNodes: MissingStartingNodesFlowValidationDetails; - }) - | (_FlowValidationDetails & { - multipleNodeInputConnections: MultipleNodeInputConnectionsFlowValidationDetails; - }) - | (_FlowValidationDetails & { - unfulfilledNodeInput: UnfulfilledNodeInputFlowValidationDetails; - }) - | (_FlowValidationDetails & { - unsatisfiedConnectionConditions: UnsatisfiedConnectionConditionsFlowValidationDetails; - }) - | (_FlowValidationDetails & { unspecified: UnspecifiedFlowValidationDetails }) - | (_FlowValidationDetails & { - unknownNodeInput: UnknownNodeInputFlowValidationDetails; - }) - | (_FlowValidationDetails & { - unknownNodeOutput: UnknownNodeOutputFlowValidationDetails; - }) - | (_FlowValidationDetails & { - missingLoopInputNode: MissingLoopInputNodeFlowValidationDetails; - }) - | (_FlowValidationDetails & { - missingLoopControllerNode: MissingLoopControllerNodeFlowValidationDetails; - }) - | (_FlowValidationDetails & { - multipleLoopInputNodes: MultipleLoopInputNodesFlowValidationDetails; - }) - | (_FlowValidationDetails & { - multipleLoopControllerNodes: MultipleLoopControllerNodesFlowValidationDetails; - }) - | (_FlowValidationDetails & { - loopIncompatibleNodeType: LoopIncompatibleNodeTypeFlowValidationDetails; - }) - | (_FlowValidationDetails & { - invalidLoopBoundary: InvalidLoopBoundaryFlowValidationDetails; - }); +export type FlowValidationDetails = (_FlowValidationDetails & { cyclicConnection: CyclicConnectionFlowValidationDetails }) | (_FlowValidationDetails & { duplicateConnections: DuplicateConnectionsFlowValidationDetails }) | (_FlowValidationDetails & { duplicateConditionExpression: DuplicateConditionExpressionFlowValidationDetails }) | (_FlowValidationDetails & { unreachableNode: UnreachableNodeFlowValidationDetails }) | (_FlowValidationDetails & { unknownConnectionSource: UnknownConnectionSourceFlowValidationDetails }) | (_FlowValidationDetails & { unknownConnectionSourceOutput: UnknownConnectionSourceOutputFlowValidationDetails }) | (_FlowValidationDetails & { unknownConnectionTarget: UnknownConnectionTargetFlowValidationDetails }) | (_FlowValidationDetails & { unknownConnectionTargetInput: UnknownConnectionTargetInputFlowValidationDetails }) | (_FlowValidationDetails & { unknownConnectionCondition: UnknownConnectionConditionFlowValidationDetails }) | (_FlowValidationDetails & { malformedConditionExpression: MalformedConditionExpressionFlowValidationDetails }) | (_FlowValidationDetails & { malformedNodeInputExpression: MalformedNodeInputExpressionFlowValidationDetails }) | (_FlowValidationDetails & { mismatchedNodeInputType: MismatchedNodeInputTypeFlowValidationDetails }) | (_FlowValidationDetails & { mismatchedNodeOutputType: MismatchedNodeOutputTypeFlowValidationDetails }) | (_FlowValidationDetails & { incompatibleConnectionDataType: IncompatibleConnectionDataTypeFlowValidationDetails }) | (_FlowValidationDetails & { missingConnectionConfiguration: MissingConnectionConfigurationFlowValidationDetails }) | (_FlowValidationDetails & { missingDefaultCondition: MissingDefaultConditionFlowValidationDetails }) | (_FlowValidationDetails & { missingEndingNodes: MissingEndingNodesFlowValidationDetails }) | (_FlowValidationDetails & { missingNodeConfiguration: MissingNodeConfigurationFlowValidationDetails }) | (_FlowValidationDetails & { missingNodeInput: MissingNodeInputFlowValidationDetails }) | (_FlowValidationDetails & { missingNodeOutput: MissingNodeOutputFlowValidationDetails }) | (_FlowValidationDetails & { missingStartingNodes: MissingStartingNodesFlowValidationDetails }) | (_FlowValidationDetails & { multipleNodeInputConnections: MultipleNodeInputConnectionsFlowValidationDetails }) | (_FlowValidationDetails & { unfulfilledNodeInput: UnfulfilledNodeInputFlowValidationDetails }) | (_FlowValidationDetails & { unsatisfiedConnectionConditions: UnsatisfiedConnectionConditionsFlowValidationDetails }) | (_FlowValidationDetails & { unspecified: UnspecifiedFlowValidationDetails }) | (_FlowValidationDetails & { unknownNodeInput: UnknownNodeInputFlowValidationDetails }) | (_FlowValidationDetails & { unknownNodeOutput: UnknownNodeOutputFlowValidationDetails }) | (_FlowValidationDetails & { missingLoopInputNode: MissingLoopInputNodeFlowValidationDetails }) | (_FlowValidationDetails & { missingLoopControllerNode: MissingLoopControllerNodeFlowValidationDetails }) | (_FlowValidationDetails & { multipleLoopInputNodes: MultipleLoopInputNodesFlowValidationDetails }) | (_FlowValidationDetails & { multipleLoopControllerNodes: MultipleLoopControllerNodesFlowValidationDetails }) | (_FlowValidationDetails & { loopIncompatibleNodeType: LoopIncompatibleNodeTypeFlowValidationDetails }) | (_FlowValidationDetails & { invalidLoopBoundary: InvalidLoopBoundaryFlowValidationDetails }); export type FlowValidations = Array; export type FlowValidationSeverity = "Warning" | "Error"; -export type FlowValidationType = - | "CyclicConnection" - | "DuplicateConnections" - | "DuplicateConditionExpression" - | "UnreachableNode" - | "UnknownConnectionSource" - | "UnknownConnectionSourceOutput" - | "UnknownConnectionTarget" - | "UnknownConnectionTargetInput" - | "UnknownConnectionCondition" - | "MalformedConditionExpression" - | "MalformedNodeInputExpression" - | "MismatchedNodeInputType" - | "MismatchedNodeOutputType" - | "IncompatibleConnectionDataType" - | "MissingConnectionConfiguration" - | "MissingDefaultCondition" - | "MissingEndingNodes" - | "MissingNodeConfiguration" - | "MissingNodeInput" - | "MissingNodeOutput" - | "MissingStartingNodes" - | "MultipleNodeInputConnections" - | "UnfulfilledNodeInput" - | "UnsatisfiedConnectionConditions" - | "Unspecified" - | "UnknownNodeInput" - | "UnknownNodeOutput" - | "MissingLoopInputNode" - | "MissingLoopControllerNode" - | "MultipleLoopInputNodes" - | "MultipleLoopControllerNodes" - | "LoopIncompatibleNodeType" - | "InvalidLoopBoundary"; +export type FlowValidationType = "CyclicConnection" | "DuplicateConnections" | "DuplicateConditionExpression" | "UnreachableNode" | "UnknownConnectionSource" | "UnknownConnectionSourceOutput" | "UnknownConnectionTarget" | "UnknownConnectionTargetInput" | "UnknownConnectionCondition" | "MalformedConditionExpression" | "MalformedNodeInputExpression" | "MismatchedNodeInputType" | "MismatchedNodeOutputType" | "IncompatibleConnectionDataType" | "MissingConnectionConfiguration" | "MissingDefaultCondition" | "MissingEndingNodes" | "MissingNodeConfiguration" | "MissingNodeInput" | "MissingNodeOutput" | "MissingStartingNodes" | "MultipleNodeInputConnections" | "UnfulfilledNodeInput" | "UnsatisfiedConnectionConditions" | "Unspecified" | "UnknownNodeInput" | "UnknownNodeOutput" | "MissingLoopInputNode" | "MissingLoopControllerNode" | "MultipleLoopInputNodes" | "MultipleLoopControllerNodes" | "LoopIncompatibleNodeType" | "InvalidLoopBoundary"; export type FlowVersionSummaries = Array; export interface FlowVersionSummary { id: string; @@ -2080,9 +1405,7 @@ interface _FunctionSchema { functions?: Array; } -export type FunctionSchema = _FunctionSchema & { - functions: Array; -}; +export type FunctionSchema = (_FunctionSchema & { functions: Array }); export interface GetAgentActionGroupRequest { agentId: string; agentVersion: string; @@ -2237,8 +1560,7 @@ export interface HierarchicalChunkingConfiguration { export interface HierarchicalChunkingLevelConfiguration { maxTokens: number; } -export type HierarchicalChunkingLevelConfigurations = - Array; +export type HierarchicalChunkingLevelConfigurations = Array; export type HttpsUrl = string; export type Id = string; @@ -2247,11 +1569,7 @@ export type IncludeExclude = "INCLUDE" | "EXCLUDE"; export interface IncompatibleConnectionDataTypeFlowValidationDetails { connection: string; } -export type IncompatibleLoopNodeType = - | "Input" - | "Condition" - | "Iterator" - | "Collector"; +export type IncompatibleLoopNodeType = "Input" | "Condition" | "Iterator" | "Collector"; export type IndexArn = string; export type IndexName = string; @@ -2299,13 +1617,7 @@ export interface IngestionJobStatistics { numberOfDocumentsDeleted?: number; numberOfDocumentsFailed?: number; } -export type IngestionJobStatus = - | "STARTING" - | "IN_PROGRESS" - | "COMPLETE" - | "FAILED" - | "STOPPING" - | "STOPPED"; +export type IngestionJobStatus = "STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED" | "STOPPING" | "STOPPED"; export type IngestionJobSummaries = Array; export interface IngestionJobSummary { knowledgeBaseId: string; @@ -2338,7 +1650,8 @@ export interface InlineContent { textContent?: TextContentDoc; } export type InlineContentType = "BYTE" | "TEXT"; -export interface InputFlowNodeConfiguration {} +export interface InputFlowNodeConfiguration { +} export type Instruction = string; export interface IntermediateStorage { @@ -2354,7 +1667,8 @@ export interface InvalidLoopBoundaryFlowValidationDetails { source: string; target: string; } -export interface IteratorFlowNodeConfiguration {} +export interface IteratorFlowNodeConfiguration { +} export type KendraIndexArn = string; export interface KendraKnowledgeBaseConfiguration { @@ -2423,22 +1737,8 @@ export interface KnowledgeBasePromptTemplate { export type KnowledgeBaseRoleArn = string; export type KnowledgeBaseState = "ENABLED" | "DISABLED"; -export type KnowledgeBaseStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "UPDATING" - | "FAILED" - | "DELETE_UNSUCCESSFUL"; -export type KnowledgeBaseStorageType = - | "OPENSEARCH_SERVERLESS" - | "PINECONE" - | "REDIS_ENTERPRISE_CLOUD" - | "RDS" - | "MONGO_DB_ATLAS" - | "NEPTUNE_ANALYTICS" - | "OPENSEARCH_MANAGED_CLUSTER" - | "S3_VECTORS"; +export type KnowledgeBaseStatus = "CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED" | "DELETE_UNSUCCESSFUL"; +export type KnowledgeBaseStorageType = "OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS" | "OPENSEARCH_MANAGED_CLUSTER" | "S3_VECTORS"; export type KnowledgeBaseSummaries = Array; export interface KnowledgeBaseSummary { knowledgeBaseId: string; @@ -2607,7 +1907,8 @@ export interface LoopIncompatibleNodeTypeFlowValidationDetails { incompatibleNodeType: IncompatibleLoopNodeType; incompatibleNodeName: string; } -export interface LoopInputFlowNodeConfiguration {} +export interface LoopInputFlowNodeConfiguration { +} export interface MalformedConditionExpressionFlowValidationDetails { node: string; condition: string; @@ -2671,7 +1972,8 @@ export interface MissingConnectionConfigurationFlowValidationDetails { export interface MissingDefaultConditionFlowValidationDetails { node: string; } -export interface MissingEndingNodesFlowValidationDetails {} +export interface MissingEndingNodesFlowValidationDetails { +} export interface MissingLoopControllerNodeFlowValidationDetails { loopNode: string; } @@ -2689,7 +1991,8 @@ export interface MissingNodeOutputFlowValidationDetails { node: string; output: string; } -export interface MissingStartingNodesFlowValidationDetails {} +export interface MissingStartingNodesFlowValidationDetails { +} export type ModelIdentifier = string; export type MongoDbAtlasCollectionName = string; @@ -2784,9 +2087,10 @@ interface _OrchestrationExecutor { lambda?: string; } -export type OrchestrationExecutor = _OrchestrationExecutor & { lambda: string }; +export type OrchestrationExecutor = (_OrchestrationExecutor & { lambda: string }); export type OrchestrationType = "DEFAULT" | "CUSTOM_ORCHESTRATION"; -export interface OutputFlowNodeConfiguration {} +export interface OutputFlowNodeConfiguration { +} export type ParameterDescription = string; export interface ParameterDetail { @@ -2806,9 +2110,7 @@ export interface ParsingPrompt { } export type ParsingPromptText = string; -export type ParsingStrategy = - | "BEDROCK_FOUNDATION_MODEL" - | "BEDROCK_DATA_AUTOMATION"; +export type ParsingStrategy = "BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION"; export interface PatternObjectFilter { objectType: string; inclusionFilters?: Array; @@ -2891,20 +2193,12 @@ interface _PromptFlowNodeSourceConfiguration { inline?: PromptFlowNodeInlineConfiguration; } -export type PromptFlowNodeSourceConfiguration = - | (_PromptFlowNodeSourceConfiguration & { - resource: PromptFlowNodeResourceConfiguration; - }) - | (_PromptFlowNodeSourceConfiguration & { - inline: PromptFlowNodeInlineConfiguration; - }); +export type PromptFlowNodeSourceConfiguration = (_PromptFlowNodeSourceConfiguration & { resource: PromptFlowNodeResourceConfiguration }) | (_PromptFlowNodeSourceConfiguration & { inline: PromptFlowNodeInlineConfiguration }); interface _PromptGenAiResource { agent?: PromptAgentResource; } -export type PromptGenAiResource = _PromptGenAiResource & { - agent: PromptAgentResource; -}; +export type PromptGenAiResource = (_PromptGenAiResource & { agent: PromptAgentResource }); export type PromptId = string; export type PromptIdentifier = string; @@ -2913,9 +2207,7 @@ interface _PromptInferenceConfiguration { text?: PromptModelInferenceConfiguration; } -export type PromptInferenceConfiguration = _PromptInferenceConfiguration & { - text: PromptModelInferenceConfiguration; -}; +export type PromptInferenceConfiguration = (_PromptInferenceConfiguration & { text: PromptModelInferenceConfiguration }); export interface PromptInputVariable { name?: string; } @@ -2961,16 +2253,9 @@ interface _PromptTemplateConfiguration { chat?: ChatPromptTemplateConfiguration; } -export type PromptTemplateConfiguration = - | (_PromptTemplateConfiguration & { text: TextPromptTemplateConfiguration }) - | (_PromptTemplateConfiguration & { chat: ChatPromptTemplateConfiguration }); +export type PromptTemplateConfiguration = (_PromptTemplateConfiguration & { text: TextPromptTemplateConfiguration }) | (_PromptTemplateConfiguration & { chat: ChatPromptTemplateConfiguration }); export type PromptTemplateType = "TEXT" | "CHAT"; -export type PromptType = - | "PRE_PROCESSING" - | "ORCHESTRATION" - | "POST_PROCESSING" - | "KNOWLEDGE_BASE_RESPONSE_GENERATION" - | "MEMORY_SUMMARIZATION"; +export type PromptType = "PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "MEMORY_SUMMARIZATION"; export interface PromptVariant { name: string; templateType: PromptTemplateType; @@ -3066,10 +2351,7 @@ export interface RedshiftProvisionedAuthConfiguration { databaseUser?: string; usernamePasswordSecretArn?: string; } -export type RedshiftProvisionedAuthType = - | "IAM" - | "USERNAME_PASSWORD" - | "USERNAME"; +export type RedshiftProvisionedAuthType = "IAM" | "USERNAME_PASSWORD" | "USERNAME"; export interface RedshiftProvisionedConfiguration { clusterIdentifier: string; authConfiguration: RedshiftProvisionedAuthConfiguration; @@ -3090,8 +2372,7 @@ export interface RedshiftQueryEngineStorageConfiguration { awsDataCatalogConfiguration?: RedshiftQueryEngineAwsDataCatalogStorageConfiguration; redshiftConfiguration?: RedshiftQueryEngineRedshiftStorageConfiguration; } -export type RedshiftQueryEngineStorageConfigurations = - Array; +export type RedshiftQueryEngineStorageConfigurations = Array; export type RedshiftQueryEngineStorageType = "REDSHIFT" | "AWS_DATA_CATALOG"; export type RedshiftQueryEngineType = "SERVERLESS" | "PROVISIONED"; export interface RedshiftServerlessAuthConfiguration { @@ -3111,13 +2392,7 @@ interface _RerankingMetadataSelectiveModeConfiguration { fieldsToExclude?: Array; } -export type RerankingMetadataSelectiveModeConfiguration = - | (_RerankingMetadataSelectiveModeConfiguration & { - fieldsToInclude: Array; - }) - | (_RerankingMetadataSelectiveModeConfiguration & { - fieldsToExclude: Array; - }); +export type RerankingMetadataSelectiveModeConfiguration = (_RerankingMetadataSelectiveModeConfiguration & { fieldsToInclude: Array }) | (_RerankingMetadataSelectiveModeConfiguration & { fieldsToExclude: Array }); export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -3133,10 +2408,7 @@ interface _RetrievalFlowNodeServiceConfiguration { s3?: RetrievalFlowNodeS3Configuration; } -export type RetrievalFlowNodeServiceConfiguration = - _RetrievalFlowNodeServiceConfiguration & { - s3: RetrievalFlowNodeS3Configuration; - }; +export type RetrievalFlowNodeServiceConfiguration = (_RetrievalFlowNodeServiceConfiguration & { s3: RetrievalFlowNodeS3Configuration }); export type S3BucketArn = string; export type S3BucketName = string; @@ -3207,9 +2479,7 @@ export interface SessionSummaryConfiguration { } export type SessionTTL = number; -export type SharePointAuthType = - | "OAUTH2_CLIENT_CREDENTIALS" - | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"; +export type SharePointAuthType = "OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"; export interface SharePointCrawlerConfiguration { filterConfiguration?: CrawlFilterConfiguration; } @@ -3281,8 +2551,7 @@ interface _StorageFlowNodeServiceConfiguration { s3?: StorageFlowNodeS3Configuration; } -export type StorageFlowNodeServiceConfiguration = - _StorageFlowNodeServiceConfiguration & { s3: StorageFlowNodeS3Configuration }; +export type StorageFlowNodeServiceConfiguration = (_StorageFlowNodeServiceConfiguration & { s3: StorageFlowNodeS3Configuration }); export type StringListValue = Array; export type StringValue = string; @@ -3293,8 +2562,7 @@ export interface SupplementalDataStorageLocation { type: SupplementalDataStorageLocationType; s3Location?: S3Location; } -export type SupplementalDataStorageLocations = - Array; +export type SupplementalDataStorageLocations = Array; export type SupplementalDataStorageLocationType = "S3"; export type SupportedLanguages = "Python_3"; interface _SystemContentBlock { @@ -3302,9 +2570,7 @@ interface _SystemContentBlock { cachePoint?: CachePointBlock; } -export type SystemContentBlock = - | (_SystemContentBlock & { text: string }) - | (_SystemContentBlock & { cachePoint: CachePointBlock }); +export type SystemContentBlock = (_SystemContentBlock & { text: string }) | (_SystemContentBlock & { cachePoint: CachePointBlock }); export type SystemContentBlocks = Array; export type TaggableResourcesArn = string; @@ -3315,7 +2581,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export type TagValue = string; @@ -3341,19 +2608,14 @@ interface _Tool { cachePoint?: CachePointBlock; } -export type Tool = - | (_Tool & { toolSpec: ToolSpecification }) - | (_Tool & { cachePoint: CachePointBlock }); +export type Tool = (_Tool & { toolSpec: ToolSpecification }) | (_Tool & { cachePoint: CachePointBlock }); interface _ToolChoice { auto?: AutoToolChoice; any?: AnyToolChoice; tool?: SpecificToolChoice; } -export type ToolChoice = - | (_ToolChoice & { auto: AutoToolChoice }) - | (_ToolChoice & { any: AnyToolChoice }) - | (_ToolChoice & { tool: SpecificToolChoice }); +export type ToolChoice = (_ToolChoice & { auto: AutoToolChoice }) | (_ToolChoice & { any: AnyToolChoice }) | (_ToolChoice & { tool: SpecificToolChoice }); export interface ToolConfiguration { tools: Array; toolChoice?: ToolChoice; @@ -3362,7 +2624,7 @@ interface _ToolInputSchema { json?: unknown; } -export type ToolInputSchema = _ToolInputSchema & { json: unknown }; +export type ToolInputSchema = (_ToolInputSchema & { json: unknown }); export type ToolName = string; export type Tools = Array; @@ -3420,12 +2682,14 @@ export interface UnreachableNodeFlowValidationDetails { export interface UnsatisfiedConnectionConditionsFlowValidationDetails { connection: string; } -export interface UnspecifiedFlowValidationDetails {} +export interface UnspecifiedFlowValidationDetails { +} export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAgentActionGroupRequest { agentId: string; agentVersion: string; @@ -4575,12 +3839,5 @@ export declare namespace UpdatePrompt { | CommonAwsError; } -export type BedrockAgentErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BedrockAgentErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/bedrock-agentcore-control/index.ts b/src/services/bedrock-agentcore-control/index.ts index 8aefbd1d..04677d08 100644 --- a/src/services/bedrock-agentcore-control/index.ts +++ b/src/services/bedrock-agentcore-control/index.ts @@ -5,23 +5,7 @@ import type { BedrockAgentCoreControl as _BedrockAgentCoreControlClient } from " export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,77 +15,65 @@ const metadata = { sigV4ServiceName: "bedrock-agentcore", endpointPrefix: "bedrock-agentcore-control", operations: { - GetTokenVault: "POST /identities/get-token-vault", - ListTagsForResource: "GET /tags/{resourceArn}", - SetTokenVaultCMK: "POST /identities/set-token-vault-cmk", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateAgentRuntime: "PUT /runtimes/", - CreateAgentRuntimeEndpoint: - "PUT /runtimes/{agentRuntimeId}/runtime-endpoints/", - CreateApiKeyCredentialProvider: - "POST /identities/CreateApiKeyCredentialProvider", - CreateBrowser: "PUT /browsers", - CreateCodeInterpreter: "PUT /code-interpreters", - CreateGateway: "POST /gateways/", - CreateGatewayTarget: "POST /gateways/{gatewayIdentifier}/targets/", - CreateMemory: "POST /memories/create", - CreateOauth2CredentialProvider: - "POST /identities/CreateOauth2CredentialProvider", - CreateWorkloadIdentity: "POST /identities/CreateWorkloadIdentity", - DeleteAgentRuntime: "DELETE /runtimes/{agentRuntimeId}/", - DeleteAgentRuntimeEndpoint: - "DELETE /runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", - DeleteApiKeyCredentialProvider: - "POST /identities/DeleteApiKeyCredentialProvider", - DeleteBrowser: "DELETE /browsers/{browserId}", - DeleteCodeInterpreter: "DELETE /code-interpreters/{codeInterpreterId}", - DeleteGateway: "DELETE /gateways/{gatewayIdentifier}/", - DeleteGatewayTarget: - "DELETE /gateways/{gatewayIdentifier}/targets/{targetId}/", - DeleteMemory: "DELETE /memories/{memoryId}/delete", - DeleteOauth2CredentialProvider: - "POST /identities/DeleteOauth2CredentialProvider", - DeleteWorkloadIdentity: "POST /identities/DeleteWorkloadIdentity", - GetAgentRuntime: "GET /runtimes/{agentRuntimeId}/", - GetAgentRuntimeEndpoint: - "GET /runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", - GetApiKeyCredentialProvider: "POST /identities/GetApiKeyCredentialProvider", - GetBrowser: "GET /browsers/{browserId}", - GetCodeInterpreter: "GET /code-interpreters/{codeInterpreterId}", - GetGateway: "GET /gateways/{gatewayIdentifier}/", - GetGatewayTarget: "GET /gateways/{gatewayIdentifier}/targets/{targetId}/", - GetMemory: "GET /memories/{memoryId}/details", - GetOauth2CredentialProvider: "POST /identities/GetOauth2CredentialProvider", - GetWorkloadIdentity: "POST /identities/GetWorkloadIdentity", - ListAgentRuntimeEndpoints: - "POST /runtimes/{agentRuntimeId}/runtime-endpoints/", - ListAgentRuntimeVersions: "POST /runtimes/{agentRuntimeId}/versions/", - ListAgentRuntimes: "POST /runtimes/", - ListApiKeyCredentialProviders: - "POST /identities/ListApiKeyCredentialProviders", - ListBrowsers: "POST /browsers", - ListCodeInterpreters: "POST /code-interpreters", - ListGatewayTargets: "GET /gateways/{gatewayIdentifier}/targets/", - ListGateways: "GET /gateways/", - ListMemories: "POST /memories/", - ListOauth2CredentialProviders: - "POST /identities/ListOauth2CredentialProviders", - ListWorkloadIdentities: "POST /identities/ListWorkloadIdentities", - SynchronizeGatewayTargets: - "PUT /gateways/{gatewayIdentifier}/synchronizeTargets", - UpdateAgentRuntime: "PUT /runtimes/{agentRuntimeId}/", - UpdateAgentRuntimeEndpoint: - "PUT /runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", - UpdateApiKeyCredentialProvider: - "POST /identities/UpdateApiKeyCredentialProvider", - UpdateGateway: "PUT /gateways/{gatewayIdentifier}/", - UpdateGatewayTarget: - "PUT /gateways/{gatewayIdentifier}/targets/{targetId}/", - UpdateMemory: "PUT /memories/{memoryId}/update", - UpdateOauth2CredentialProvider: - "POST /identities/UpdateOauth2CredentialProvider", - UpdateWorkloadIdentity: "POST /identities/UpdateWorkloadIdentity", + "GetTokenVault": "POST /identities/get-token-vault", + "ListTagsForResource": "GET /tags/{resourceArn}", + "SetTokenVaultCMK": "POST /identities/set-token-vault-cmk", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateAgentRuntime": "PUT /runtimes/", + "CreateAgentRuntimeEndpoint": "PUT /runtimes/{agentRuntimeId}/runtime-endpoints/", + "CreateApiKeyCredentialProvider": "POST /identities/CreateApiKeyCredentialProvider", + "CreateBrowser": "PUT /browsers", + "CreateCodeInterpreter": "PUT /code-interpreters", + "CreateGateway": "POST /gateways/", + "CreateGatewayTarget": "POST /gateways/{gatewayIdentifier}/targets/", + "CreateMemory": "POST /memories/create", + "CreateOauth2CredentialProvider": "POST /identities/CreateOauth2CredentialProvider", + "CreateWorkloadIdentity": "POST /identities/CreateWorkloadIdentity", + "DeleteAgentRuntime": "DELETE /runtimes/{agentRuntimeId}/", + "DeleteAgentRuntimeEndpoint": "DELETE /runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", + "DeleteApiKeyCredentialProvider": "POST /identities/DeleteApiKeyCredentialProvider", + "DeleteBrowser": "DELETE /browsers/{browserId}", + "DeleteCodeInterpreter": "DELETE /code-interpreters/{codeInterpreterId}", + "DeleteGateway": "DELETE /gateways/{gatewayIdentifier}/", + "DeleteGatewayTarget": "DELETE /gateways/{gatewayIdentifier}/targets/{targetId}/", + "DeleteMemory": "DELETE /memories/{memoryId}/delete", + "DeleteOauth2CredentialProvider": "POST /identities/DeleteOauth2CredentialProvider", + "DeleteWorkloadIdentity": "POST /identities/DeleteWorkloadIdentity", + "GetAgentRuntime": "GET /runtimes/{agentRuntimeId}/", + "GetAgentRuntimeEndpoint": "GET /runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", + "GetApiKeyCredentialProvider": "POST /identities/GetApiKeyCredentialProvider", + "GetBrowser": "GET /browsers/{browserId}", + "GetCodeInterpreter": "GET /code-interpreters/{codeInterpreterId}", + "GetGateway": "GET /gateways/{gatewayIdentifier}/", + "GetGatewayTarget": "GET /gateways/{gatewayIdentifier}/targets/{targetId}/", + "GetMemory": "GET /memories/{memoryId}/details", + "GetOauth2CredentialProvider": "POST /identities/GetOauth2CredentialProvider", + "GetWorkloadIdentity": "POST /identities/GetWorkloadIdentity", + "ListAgentRuntimeEndpoints": "POST /runtimes/{agentRuntimeId}/runtime-endpoints/", + "ListAgentRuntimeVersions": "POST /runtimes/{agentRuntimeId}/versions/", + "ListAgentRuntimes": "POST /runtimes/", + "ListApiKeyCredentialProviders": "POST /identities/ListApiKeyCredentialProviders", + "ListBrowsers": "POST /browsers", + "ListCodeInterpreters": "POST /code-interpreters", + "ListGatewayTargets": "GET /gateways/{gatewayIdentifier}/targets/", + "ListGateways": "GET /gateways/", + "ListMemories": "POST /memories/", + "ListOauth2CredentialProviders": "POST /identities/ListOauth2CredentialProviders", + "ListWorkloadIdentities": "POST /identities/ListWorkloadIdentities", + "SynchronizeGatewayTargets": "PUT /gateways/{gatewayIdentifier}/synchronizeTargets", + "UpdateAgentRuntime": "PUT /runtimes/{agentRuntimeId}/", + "UpdateAgentRuntimeEndpoint": "PUT /runtimes/{agentRuntimeId}/runtime-endpoints/{endpointName}/", + "UpdateApiKeyCredentialProvider": "POST /identities/UpdateApiKeyCredentialProvider", + "UpdateGateway": "PUT /gateways/{gatewayIdentifier}/", + "UpdateGatewayTarget": "PUT /gateways/{gatewayIdentifier}/targets/{targetId}/", + "UpdateMemory": "PUT /memories/{memoryId}/update", + "UpdateOauth2CredentialProvider": "POST /identities/UpdateOauth2CredentialProvider", + "UpdateWorkloadIdentity": "POST /identities/UpdateWorkloadIdentity", + }, + retryableErrors: { + "ServiceException": {}, + "ThrottledException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/bedrock-agentcore-control/types.ts b/src/services/bedrock-agentcore-control/types.ts index 44debfe4..ad909ca9 100644 --- a/src/services/bedrock-agentcore-control/types.ts +++ b/src/services/bedrock-agentcore-control/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BedrockAgentCoreControl extends AWSServiceClient { @@ -40,667 +8,331 @@ export declare class BedrockAgentCoreControl extends AWSServiceClient { input: GetTokenVaultRequest, ): Effect.Effect< GetTokenVaultResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; setTokenVaultCMK( input: SetTokenVaultCMKRequest, ): Effect.Effect< SetTokenVaultCMKResponse, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAgentRuntime( input: CreateAgentRuntimeRequest, ): Effect.Effect< CreateAgentRuntimeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAgentRuntimeEndpoint( input: CreateAgentRuntimeEndpointRequest, ): Effect.Effect< CreateAgentRuntimeEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createApiKeyCredentialProvider( input: CreateApiKeyCredentialProviderRequest, ): Effect.Effect< CreateApiKeyCredentialProviderResponse, - | AccessDeniedException - | ConflictException - | DecryptionFailure - | EncryptionFailure - | InternalServerException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DecryptionFailure | EncryptionFailure | InternalServerException | ResourceLimitExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createBrowser( input: CreateBrowserRequest, ): Effect.Effect< CreateBrowserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCodeInterpreter( input: CreateCodeInterpreterRequest, ): Effect.Effect< CreateCodeInterpreterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createGateway( input: CreateGatewayRequest, ): Effect.Effect< CreateGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createGatewayTarget( input: CreateGatewayTargetRequest, ): Effect.Effect< CreateGatewayTargetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMemory( input: CreateMemoryInput, ): Effect.Effect< CreateMemoryOutput, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; createOauth2CredentialProvider( input: CreateOauth2CredentialProviderRequest, ): Effect.Effect< CreateOauth2CredentialProviderResponse, - | AccessDeniedException - | ConflictException - | DecryptionFailure - | EncryptionFailure - | InternalServerException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DecryptionFailure | EncryptionFailure | InternalServerException | ResourceLimitExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createWorkloadIdentity( input: CreateWorkloadIdentityRequest, ): Effect.Effect< CreateWorkloadIdentityResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteAgentRuntime( input: DeleteAgentRuntimeRequest, ): Effect.Effect< DeleteAgentRuntimeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAgentRuntimeEndpoint( input: DeleteAgentRuntimeEndpointRequest, ): Effect.Effect< DeleteAgentRuntimeEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteApiKeyCredentialProvider( input: DeleteApiKeyCredentialProviderRequest, ): Effect.Effect< DeleteApiKeyCredentialProviderResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteBrowser( input: DeleteBrowserRequest, ): Effect.Effect< DeleteBrowserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteCodeInterpreter( input: DeleteCodeInterpreterRequest, ): Effect.Effect< DeleteCodeInterpreterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteGateway( input: DeleteGatewayRequest, ): Effect.Effect< DeleteGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteGatewayTarget( input: DeleteGatewayTargetRequest, ): Effect.Effect< DeleteGatewayTargetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMemory( input: DeleteMemoryInput, ): Effect.Effect< DeleteMemoryOutput, - | AccessDeniedException - | ResourceNotFoundException - | ServiceException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ServiceException | ThrottledException | ValidationException | CommonAwsError >; deleteOauth2CredentialProvider( input: DeleteOauth2CredentialProviderRequest, ): Effect.Effect< DeleteOauth2CredentialProviderResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteWorkloadIdentity( input: DeleteWorkloadIdentityRequest, ): Effect.Effect< DeleteWorkloadIdentityResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getAgentRuntime( input: GetAgentRuntimeRequest, ): Effect.Effect< GetAgentRuntimeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAgentRuntimeEndpoint( input: GetAgentRuntimeEndpointRequest, ): Effect.Effect< GetAgentRuntimeEndpointResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApiKeyCredentialProvider( input: GetApiKeyCredentialProviderRequest, ): Effect.Effect< GetApiKeyCredentialProviderResponse, - | AccessDeniedException - | DecryptionFailure - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | DecryptionFailure | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getBrowser( input: GetBrowserRequest, ): Effect.Effect< GetBrowserResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; getCodeInterpreter( input: GetCodeInterpreterRequest, ): Effect.Effect< GetCodeInterpreterResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; getGateway( input: GetGatewayRequest, ): Effect.Effect< GetGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGatewayTarget( input: GetGatewayTargetRequest, ): Effect.Effect< GetGatewayTargetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMemory( input: GetMemoryInput, ): Effect.Effect< GetMemoryOutput, - | AccessDeniedException - | ResourceNotFoundException - | ServiceException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ServiceException | ThrottledException | ValidationException | CommonAwsError >; getOauth2CredentialProvider( input: GetOauth2CredentialProviderRequest, ): Effect.Effect< GetOauth2CredentialProviderResponse, - | AccessDeniedException - | DecryptionFailure - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | DecryptionFailure | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getWorkloadIdentity( input: GetWorkloadIdentityRequest, ): Effect.Effect< GetWorkloadIdentityResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listAgentRuntimeEndpoints( input: ListAgentRuntimeEndpointsRequest, ): Effect.Effect< ListAgentRuntimeEndpointsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listAgentRuntimeVersions( input: ListAgentRuntimeVersionsRequest, ): Effect.Effect< ListAgentRuntimeVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAgentRuntimes( input: ListAgentRuntimesRequest, ): Effect.Effect< ListAgentRuntimesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listApiKeyCredentialProviders( input: ListApiKeyCredentialProvidersRequest, ): Effect.Effect< ListApiKeyCredentialProvidersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listBrowsers( input: ListBrowsersRequest, ): Effect.Effect< ListBrowsersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCodeInterpreters( input: ListCodeInterpretersRequest, ): Effect.Effect< ListCodeInterpretersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listGatewayTargets( input: ListGatewayTargetsRequest, ): Effect.Effect< ListGatewayTargetsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listGateways( input: ListGatewaysRequest, ): Effect.Effect< ListGatewaysResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listMemories( input: ListMemoriesInput, ): Effect.Effect< ListMemoriesOutput, - | AccessDeniedException - | ResourceNotFoundException - | ServiceException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ServiceException | ThrottledException | ValidationException | CommonAwsError >; listOauth2CredentialProviders( input: ListOauth2CredentialProvidersRequest, ): Effect.Effect< ListOauth2CredentialProvidersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listWorkloadIdentities( input: ListWorkloadIdentitiesRequest, ): Effect.Effect< ListWorkloadIdentitiesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; synchronizeGatewayTargets( input: SynchronizeGatewayTargetsRequest, ): Effect.Effect< SynchronizeGatewayTargetsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAgentRuntime( input: UpdateAgentRuntimeRequest, ): Effect.Effect< UpdateAgentRuntimeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAgentRuntimeEndpoint( input: UpdateAgentRuntimeEndpointRequest, ): Effect.Effect< UpdateAgentRuntimeEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateApiKeyCredentialProvider( input: UpdateApiKeyCredentialProviderRequest, ): Effect.Effect< UpdateApiKeyCredentialProviderResponse, - | AccessDeniedException - | ConflictException - | DecryptionFailure - | EncryptionFailure - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DecryptionFailure | EncryptionFailure | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateGateway( input: UpdateGatewayRequest, ): Effect.Effect< UpdateGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateGatewayTarget( input: UpdateGatewayTargetRequest, ): Effect.Effect< UpdateGatewayTargetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateMemory( input: UpdateMemoryInput, ): Effect.Effect< UpdateMemoryOutput, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; updateOauth2CredentialProvider( input: UpdateOauth2CredentialProviderRequest, ): Effect.Effect< UpdateOauth2CredentialProviderResponse, - | AccessDeniedException - | ConflictException - | DecryptionFailure - | EncryptionFailure - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DecryptionFailure | EncryptionFailure | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateWorkloadIdentity( input: UpdateWorkloadIdentityRequest, ): Effect.Effect< UpdateWorkloadIdentityResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; } @@ -713,11 +345,7 @@ export declare class AccessDeniedException extends EffectData.TaggedError( }> {} export type AgentEndpointDescription = string; -export type AgentManagedRuntimeType = - | "PYTHON_3_10" - | "PYTHON_3_11" - | "PYTHON_3_12" - | "PYTHON_3_13"; +export type AgentManagedRuntimeType = "PYTHON_3_10" | "PYTHON_3_11" | "PYTHON_3_12" | "PYTHON_3_13"; export interface AgentRuntime { agentRuntimeArn: string; agentRuntimeId: string; @@ -734,9 +362,7 @@ interface _AgentRuntimeArtifact { codeConfiguration?: CodeConfiguration; } -export type AgentRuntimeArtifact = - | (_AgentRuntimeArtifact & { containerConfiguration: ContainerConfiguration }) - | (_AgentRuntimeArtifact & { codeConfiguration: CodeConfiguration }); +export type AgentRuntimeArtifact = (_AgentRuntimeArtifact & { containerConfiguration: ContainerConfiguration }) | (_AgentRuntimeArtifact & { codeConfiguration: CodeConfiguration }); export interface AgentRuntimeEndpoint { name: string; liveVersion?: string; @@ -754,25 +380,13 @@ export type AgentRuntimeEndpointArn = string; export type AgentRuntimeEndpointId = string; export type AgentRuntimeEndpoints = Array; -export type AgentRuntimeEndpointStatus = - | "CREATING" - | "CREATE_FAILED" - | "UPDATING" - | "UPDATE_FAILED" - | "READY" - | "DELETING"; +export type AgentRuntimeEndpointStatus = "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "READY" | "DELETING"; export type AgentRuntimeId = string; export type AgentRuntimeName = string; export type AgentRuntimes = Array; -export type AgentRuntimeStatus = - | "CREATING" - | "CREATE_FAILED" - | "UPDATING" - | "UPDATE_FAILED" - | "READY" - | "DELETING"; +export type AgentRuntimeStatus = "CREATING" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "READY" | "DELETING"; export type AgentRuntimeVersion = string; export type AllowedAudience = string; @@ -804,9 +418,7 @@ interface _ApiSchemaConfiguration { inlinePayload?: string; } -export type ApiSchemaConfiguration = - | (_ApiSchemaConfiguration & { s3: S3Configuration }) - | (_ApiSchemaConfiguration & { inlinePayload: string }); +export type ApiSchemaConfiguration = (_ApiSchemaConfiguration & { s3: S3Configuration }) | (_ApiSchemaConfiguration & { inlinePayload: string }); export type Arn = string; export interface AtlassianOauth2ProviderConfigInput { @@ -823,9 +435,7 @@ interface _AuthorizerConfiguration { customJWTAuthorizer?: CustomJWTAuthorizerConfiguration; } -export type AuthorizerConfiguration = _AuthorizerConfiguration & { - customJWTAuthorizer: CustomJWTAuthorizerConfiguration; -}; +export type AuthorizerConfiguration = (_AuthorizerConfiguration & { customJWTAuthorizer: CustomJWTAuthorizerConfiguration }); export type AuthorizerType = "CUSTOM_JWT" | "AWS_IAM"; export type AwsAccountId = string; @@ -844,13 +454,7 @@ export interface BrowserSigningConfigInput { export interface BrowserSigningConfigOutput { enabled: boolean; } -export type BrowserStatus = - | "CREATING" - | "CREATE_FAILED" - | "READY" - | "DELETING" - | "DELETE_FAILED" - | "DELETED"; +export type BrowserStatus = "CREATING" | "CREATE_FAILED" | "READY" | "DELETING" | "DELETE_FAILED" | "DELETED"; export type BrowserSummaries = Array; export interface BrowserSummary { browserId: string; @@ -871,7 +475,7 @@ interface _Code { s3?: S3Location; } -export type Code = _Code & { s3: S3Location }; +export type Code = (_Code & { s3: S3Location }); export interface CodeConfiguration { code: Code; runtime: AgentManagedRuntimeType; @@ -886,13 +490,7 @@ export interface CodeInterpreterNetworkConfiguration { vpcConfig?: VpcConfig; } export type CodeInterpreterNetworkMode = "PUBLIC" | "SANDBOX" | "VPC"; -export type CodeInterpreterStatus = - | "CREATING" - | "CREATE_FAILED" - | "READY" - | "DELETING" - | "DELETE_FAILED" - | "DELETED"; +export type CodeInterpreterStatus = "CREATING" | "CREATE_FAILED" | "READY" | "DELETING" | "DELETE_FAILED" | "DELETED"; export type CodeInterpreterSummaries = Array; export interface CodeInterpreterSummary { codeInterpreterId: string; @@ -917,9 +515,7 @@ interface _ConsolidationConfiguration { customConsolidationConfiguration?: CustomConsolidationConfiguration; } -export type ConsolidationConfiguration = _ConsolidationConfiguration & { - customConsolidationConfiguration: CustomConsolidationConfiguration; -}; +export type ConsolidationConfiguration = (_ConsolidationConfiguration & { customConsolidationConfiguration: CustomConsolidationConfiguration }); export interface ContainerConfiguration { containerUri: string; } @@ -1096,48 +692,18 @@ interface _CredentialProvider { apiKeyCredentialProvider?: GatewayApiKeyCredentialProvider; } -export type CredentialProvider = - | (_CredentialProvider & { oauthCredentialProvider: OAuthCredentialProvider }) - | (_CredentialProvider & { - apiKeyCredentialProvider: GatewayApiKeyCredentialProvider; - }); +export type CredentialProvider = (_CredentialProvider & { oauthCredentialProvider: OAuthCredentialProvider }) | (_CredentialProvider & { apiKeyCredentialProvider: GatewayApiKeyCredentialProvider }); export type CredentialProviderArnType = string; export interface CredentialProviderConfiguration { credentialProviderType: CredentialProviderType; credentialProvider?: CredentialProvider; } -export type CredentialProviderConfigurations = - Array; +export type CredentialProviderConfigurations = Array; export type CredentialProviderName = string; export type CredentialProviderType = "GATEWAY_IAM_ROLE" | "OAUTH" | "API_KEY"; -export type CredentialProviderVendorType = - | "GoogleOauth2" - | "GithubOauth2" - | "SlackOauth2" - | "SalesforceOauth2" - | "MicrosoftOauth2" - | "CustomOauth2" - | "AtlassianOauth2" - | "LinkedinOauth2" - | "XOauth2" - | "OktaOauth2" - | "OneLoginOauth2" - | "PingOneOauth2" - | "FacebookOauth2" - | "YandexOauth2" - | "RedditOauth2" - | "ZoomOauth2" - | "TwitchOauth2" - | "SpotifyOauth2" - | "DropboxOauth2" - | "NotionOauth2" - | "HubspotOauth2" - | "CyberArkOauth2" - | "FusionAuthOauth2" - | "Auth0Oauth2" - | "CognitoOauth2"; +export type CredentialProviderVendorType = "GoogleOauth2" | "GithubOauth2" | "SlackOauth2" | "SalesforceOauth2" | "MicrosoftOauth2" | "CustomOauth2" | "AtlassianOauth2" | "LinkedinOauth2" | "XOauth2" | "OktaOauth2" | "OneLoginOauth2" | "PingOneOauth2" | "FacebookOauth2" | "YandexOauth2" | "RedditOauth2" | "ZoomOauth2" | "TwitchOauth2" | "SpotifyOauth2" | "DropboxOauth2" | "NotionOauth2" | "HubspotOauth2" | "CyberArkOauth2" | "FusionAuthOauth2" | "Auth0Oauth2" | "CognitoOauth2"; interface _CustomConfigurationInput { semanticOverride?: SemanticOverrideConfigurationInput; summaryOverride?: SummaryOverrideConfigurationInput; @@ -1145,75 +711,33 @@ interface _CustomConfigurationInput { selfManagedConfiguration?: SelfManagedConfigurationInput; } -export type CustomConfigurationInput = - | (_CustomConfigurationInput & { - semanticOverride: SemanticOverrideConfigurationInput; - }) - | (_CustomConfigurationInput & { - summaryOverride: SummaryOverrideConfigurationInput; - }) - | (_CustomConfigurationInput & { - userPreferenceOverride: UserPreferenceOverrideConfigurationInput; - }) - | (_CustomConfigurationInput & { - selfManagedConfiguration: SelfManagedConfigurationInput; - }); +export type CustomConfigurationInput = (_CustomConfigurationInput & { semanticOverride: SemanticOverrideConfigurationInput }) | (_CustomConfigurationInput & { summaryOverride: SummaryOverrideConfigurationInput }) | (_CustomConfigurationInput & { userPreferenceOverride: UserPreferenceOverrideConfigurationInput }) | (_CustomConfigurationInput & { selfManagedConfiguration: SelfManagedConfigurationInput }); interface _CustomConsolidationConfiguration { semanticConsolidationOverride?: SemanticConsolidationOverride; summaryConsolidationOverride?: SummaryConsolidationOverride; userPreferenceConsolidationOverride?: UserPreferenceConsolidationOverride; } -export type CustomConsolidationConfiguration = - | (_CustomConsolidationConfiguration & { - semanticConsolidationOverride: SemanticConsolidationOverride; - }) - | (_CustomConsolidationConfiguration & { - summaryConsolidationOverride: SummaryConsolidationOverride; - }) - | (_CustomConsolidationConfiguration & { - userPreferenceConsolidationOverride: UserPreferenceConsolidationOverride; - }); +export type CustomConsolidationConfiguration = (_CustomConsolidationConfiguration & { semanticConsolidationOverride: SemanticConsolidationOverride }) | (_CustomConsolidationConfiguration & { summaryConsolidationOverride: SummaryConsolidationOverride }) | (_CustomConsolidationConfiguration & { userPreferenceConsolidationOverride: UserPreferenceConsolidationOverride }); interface _CustomConsolidationConfigurationInput { semanticConsolidationOverride?: SemanticOverrideConsolidationConfigurationInput; summaryConsolidationOverride?: SummaryOverrideConsolidationConfigurationInput; userPreferenceConsolidationOverride?: UserPreferenceOverrideConsolidationConfigurationInput; } -export type CustomConsolidationConfigurationInput = - | (_CustomConsolidationConfigurationInput & { - semanticConsolidationOverride: SemanticOverrideConsolidationConfigurationInput; - }) - | (_CustomConsolidationConfigurationInput & { - summaryConsolidationOverride: SummaryOverrideConsolidationConfigurationInput; - }) - | (_CustomConsolidationConfigurationInput & { - userPreferenceConsolidationOverride: UserPreferenceOverrideConsolidationConfigurationInput; - }); +export type CustomConsolidationConfigurationInput = (_CustomConsolidationConfigurationInput & { semanticConsolidationOverride: SemanticOverrideConsolidationConfigurationInput }) | (_CustomConsolidationConfigurationInput & { summaryConsolidationOverride: SummaryOverrideConsolidationConfigurationInput }) | (_CustomConsolidationConfigurationInput & { userPreferenceConsolidationOverride: UserPreferenceOverrideConsolidationConfigurationInput }); interface _CustomExtractionConfiguration { semanticExtractionOverride?: SemanticExtractionOverride; userPreferenceExtractionOverride?: UserPreferenceExtractionOverride; } -export type CustomExtractionConfiguration = - | (_CustomExtractionConfiguration & { - semanticExtractionOverride: SemanticExtractionOverride; - }) - | (_CustomExtractionConfiguration & { - userPreferenceExtractionOverride: UserPreferenceExtractionOverride; - }); +export type CustomExtractionConfiguration = (_CustomExtractionConfiguration & { semanticExtractionOverride: SemanticExtractionOverride }) | (_CustomExtractionConfiguration & { userPreferenceExtractionOverride: UserPreferenceExtractionOverride }); interface _CustomExtractionConfigurationInput { semanticExtractionOverride?: SemanticOverrideExtractionConfigurationInput; userPreferenceExtractionOverride?: UserPreferenceOverrideExtractionConfigurationInput; } -export type CustomExtractionConfigurationInput = - | (_CustomExtractionConfigurationInput & { - semanticExtractionOverride: SemanticOverrideExtractionConfigurationInput; - }) - | (_CustomExtractionConfigurationInput & { - userPreferenceExtractionOverride: UserPreferenceOverrideExtractionConfigurationInput; - }); +export type CustomExtractionConfigurationInput = (_CustomExtractionConfigurationInput & { semanticExtractionOverride: SemanticOverrideExtractionConfigurationInput }) | (_CustomExtractionConfigurationInput & { userPreferenceExtractionOverride: UserPreferenceOverrideExtractionConfigurationInput }); export interface CustomJWTAuthorizerConfiguration { discoveryUrl: string; allowedAudience?: Array; @@ -1262,7 +786,8 @@ export interface DeleteAgentRuntimeResponse { export interface DeleteApiKeyCredentialProviderRequest { name: string; } -export interface DeleteApiKeyCredentialProviderResponse {} +export interface DeleteApiKeyCredentialProviderResponse { +} export interface DeleteBrowserRequest { browserId: string; clientToken?: string; @@ -1314,11 +839,13 @@ export interface DeleteMemoryStrategyInput { export interface DeleteOauth2CredentialProviderRequest { name: string; } -export interface DeleteOauth2CredentialProviderResponse {} +export interface DeleteOauth2CredentialProviderResponse { +} export interface DeleteWorkloadIdentityRequest { name: string; } -export interface DeleteWorkloadIdentityResponse {} +export interface DeleteWorkloadIdentityResponse { +} export type Description = string; export type DiscoveryUrl = string; @@ -1345,9 +872,7 @@ interface _ExtractionConfiguration { customExtractionConfiguration?: CustomExtractionConfiguration; } -export type ExtractionConfiguration = _ExtractionConfiguration & { - customExtractionConfiguration: CustomExtractionConfiguration; -}; +export type ExtractionConfiguration = (_ExtractionConfiguration & { customExtractionConfiguration: CustomExtractionConfiguration }); export interface GatewayApiKeyCredentialProvider { providerArn: string; credentialParameterName?: string; @@ -1372,17 +897,9 @@ interface _GatewayProtocolConfiguration { mcp?: MCPGatewayConfiguration; } -export type GatewayProtocolConfiguration = _GatewayProtocolConfiguration & { - mcp: MCPGatewayConfiguration; -}; +export type GatewayProtocolConfiguration = (_GatewayProtocolConfiguration & { mcp: MCPGatewayConfiguration }); export type GatewayProtocolType = "MCP"; -export type GatewayStatus = - | "CREATING" - | "UPDATING" - | "UPDATE_UNSUCCESSFUL" - | "DELETING" - | "READY" - | "FAILED"; +export type GatewayStatus = "CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED"; export type GatewaySummaries = Array; export interface GatewaySummary { gatewayId: string; @@ -1758,11 +1275,7 @@ interface _McpTargetConfiguration { mcpServer?: McpServerTargetConfiguration; } -export type McpTargetConfiguration = - | (_McpTargetConfiguration & { openApiSchema: ApiSchemaConfiguration }) - | (_McpTargetConfiguration & { smithyModel: ApiSchemaConfiguration }) - | (_McpTargetConfiguration & { lambda: McpLambdaTargetConfiguration }) - | (_McpTargetConfiguration & { mcpServer: McpServerTargetConfiguration }); +export type McpTargetConfiguration = (_McpTargetConfiguration & { openApiSchema: ApiSchemaConfiguration }) | (_McpTargetConfiguration & { smithyModel: ApiSchemaConfiguration }) | (_McpTargetConfiguration & { lambda: McpLambdaTargetConfiguration }) | (_McpTargetConfiguration & { mcpServer: McpServerTargetConfiguration }); export type McpVersion = string; export interface Memory { @@ -1804,31 +1317,11 @@ interface _MemoryStrategyInput { customMemoryStrategy?: CustomMemoryStrategyInput; } -export type MemoryStrategyInput = - | (_MemoryStrategyInput & { - semanticMemoryStrategy: SemanticMemoryStrategyInput; - }) - | (_MemoryStrategyInput & { - summaryMemoryStrategy: SummaryMemoryStrategyInput; - }) - | (_MemoryStrategyInput & { - userPreferenceMemoryStrategy: UserPreferenceMemoryStrategyInput; - }) - | (_MemoryStrategyInput & { - customMemoryStrategy: CustomMemoryStrategyInput; - }); +export type MemoryStrategyInput = (_MemoryStrategyInput & { semanticMemoryStrategy: SemanticMemoryStrategyInput }) | (_MemoryStrategyInput & { summaryMemoryStrategy: SummaryMemoryStrategyInput }) | (_MemoryStrategyInput & { userPreferenceMemoryStrategy: UserPreferenceMemoryStrategyInput }) | (_MemoryStrategyInput & { customMemoryStrategy: CustomMemoryStrategyInput }); export type MemoryStrategyInputList = Array; export type MemoryStrategyList = Array; -export type MemoryStrategyStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED"; -export type MemoryStrategyType = - | "SEMANTIC" - | "SUMMARIZATION" - | "USER_PREFERENCE" - | "CUSTOM"; +export type MemoryStrategyStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED"; +export type MemoryStrategyType = "SEMANTIC" | "SUMMARIZATION" | "USER_PREFERENCE" | "CUSTOM"; export interface MemorySummary { arn?: string; id?: string; @@ -1856,17 +1349,12 @@ interface _ModifyConsolidationConfiguration { customConsolidationConfiguration?: CustomConsolidationConfigurationInput; } -export type ModifyConsolidationConfiguration = - _ModifyConsolidationConfiguration & { - customConsolidationConfiguration: CustomConsolidationConfigurationInput; - }; +export type ModifyConsolidationConfiguration = (_ModifyConsolidationConfiguration & { customConsolidationConfiguration: CustomConsolidationConfigurationInput }); interface _ModifyExtractionConfiguration { customExtractionConfiguration?: CustomExtractionConfigurationInput; } -export type ModifyExtractionConfiguration = _ModifyExtractionConfiguration & { - customExtractionConfiguration: CustomExtractionConfigurationInput; -}; +export type ModifyExtractionConfiguration = (_ModifyExtractionConfiguration & { customExtractionConfiguration: CustomExtractionConfigurationInput }); export interface ModifyInvocationConfigurationInput { topicArn?: string; payloadDeliveryBucketName?: string; @@ -1929,11 +1417,7 @@ interface _Oauth2Discovery { authorizationServerMetadata?: Oauth2AuthorizationServerMetadata; } -export type Oauth2Discovery = - | (_Oauth2Discovery & { discoveryUrl: string }) - | (_Oauth2Discovery & { - authorizationServerMetadata: Oauth2AuthorizationServerMetadata; - }); +export type Oauth2Discovery = (_Oauth2Discovery & { discoveryUrl: string }) | (_Oauth2Discovery & { authorizationServerMetadata: Oauth2AuthorizationServerMetadata }); interface _Oauth2ProviderConfigInput { customOauth2ProviderConfig?: CustomOauth2ProviderConfigInput; googleOauth2ProviderConfig?: GoogleOauth2ProviderConfigInput; @@ -1946,34 +1430,7 @@ interface _Oauth2ProviderConfigInput { includedOauth2ProviderConfig?: IncludedOauth2ProviderConfigInput; } -export type Oauth2ProviderConfigInput = - | (_Oauth2ProviderConfigInput & { - customOauth2ProviderConfig: CustomOauth2ProviderConfigInput; - }) - | (_Oauth2ProviderConfigInput & { - googleOauth2ProviderConfig: GoogleOauth2ProviderConfigInput; - }) - | (_Oauth2ProviderConfigInput & { - githubOauth2ProviderConfig: GithubOauth2ProviderConfigInput; - }) - | (_Oauth2ProviderConfigInput & { - slackOauth2ProviderConfig: SlackOauth2ProviderConfigInput; - }) - | (_Oauth2ProviderConfigInput & { - salesforceOauth2ProviderConfig: SalesforceOauth2ProviderConfigInput; - }) - | (_Oauth2ProviderConfigInput & { - microsoftOauth2ProviderConfig: MicrosoftOauth2ProviderConfigInput; - }) - | (_Oauth2ProviderConfigInput & { - atlassianOauth2ProviderConfig: AtlassianOauth2ProviderConfigInput; - }) - | (_Oauth2ProviderConfigInput & { - linkedinOauth2ProviderConfig: LinkedinOauth2ProviderConfigInput; - }) - | (_Oauth2ProviderConfigInput & { - includedOauth2ProviderConfig: IncludedOauth2ProviderConfigInput; - }); +export type Oauth2ProviderConfigInput = (_Oauth2ProviderConfigInput & { customOauth2ProviderConfig: CustomOauth2ProviderConfigInput }) | (_Oauth2ProviderConfigInput & { googleOauth2ProviderConfig: GoogleOauth2ProviderConfigInput }) | (_Oauth2ProviderConfigInput & { githubOauth2ProviderConfig: GithubOauth2ProviderConfigInput }) | (_Oauth2ProviderConfigInput & { slackOauth2ProviderConfig: SlackOauth2ProviderConfigInput }) | (_Oauth2ProviderConfigInput & { salesforceOauth2ProviderConfig: SalesforceOauth2ProviderConfigInput }) | (_Oauth2ProviderConfigInput & { microsoftOauth2ProviderConfig: MicrosoftOauth2ProviderConfigInput }) | (_Oauth2ProviderConfigInput & { atlassianOauth2ProviderConfig: AtlassianOauth2ProviderConfigInput }) | (_Oauth2ProviderConfigInput & { linkedinOauth2ProviderConfig: LinkedinOauth2ProviderConfigInput }) | (_Oauth2ProviderConfigInput & { includedOauth2ProviderConfig: IncludedOauth2ProviderConfigInput }); interface _Oauth2ProviderConfigOutput { customOauth2ProviderConfig?: CustomOauth2ProviderConfigOutput; googleOauth2ProviderConfig?: GoogleOauth2ProviderConfigOutput; @@ -1986,34 +1443,7 @@ interface _Oauth2ProviderConfigOutput { includedOauth2ProviderConfig?: IncludedOauth2ProviderConfigOutput; } -export type Oauth2ProviderConfigOutput = - | (_Oauth2ProviderConfigOutput & { - customOauth2ProviderConfig: CustomOauth2ProviderConfigOutput; - }) - | (_Oauth2ProviderConfigOutput & { - googleOauth2ProviderConfig: GoogleOauth2ProviderConfigOutput; - }) - | (_Oauth2ProviderConfigOutput & { - githubOauth2ProviderConfig: GithubOauth2ProviderConfigOutput; - }) - | (_Oauth2ProviderConfigOutput & { - slackOauth2ProviderConfig: SlackOauth2ProviderConfigOutput; - }) - | (_Oauth2ProviderConfigOutput & { - salesforceOauth2ProviderConfig: SalesforceOauth2ProviderConfigOutput; - }) - | (_Oauth2ProviderConfigOutput & { - microsoftOauth2ProviderConfig: MicrosoftOauth2ProviderConfigOutput; - }) - | (_Oauth2ProviderConfigOutput & { - atlassianOauth2ProviderConfig: AtlassianOauth2ProviderConfigOutput; - }) - | (_Oauth2ProviderConfigOutput & { - linkedinOauth2ProviderConfig: LinkedinOauth2ProviderConfigOutput; - }) - | (_Oauth2ProviderConfigOutput & { - includedOauth2ProviderConfig: IncludedOauth2ProviderConfigOutput; - }); +export type Oauth2ProviderConfigOutput = (_Oauth2ProviderConfigOutput & { customOauth2ProviderConfig: CustomOauth2ProviderConfigOutput }) | (_Oauth2ProviderConfigOutput & { googleOauth2ProviderConfig: GoogleOauth2ProviderConfigOutput }) | (_Oauth2ProviderConfigOutput & { githubOauth2ProviderConfig: GithubOauth2ProviderConfigOutput }) | (_Oauth2ProviderConfigOutput & { slackOauth2ProviderConfig: SlackOauth2ProviderConfigOutput }) | (_Oauth2ProviderConfigOutput & { salesforceOauth2ProviderConfig: SalesforceOauth2ProviderConfigOutput }) | (_Oauth2ProviderConfigOutput & { microsoftOauth2ProviderConfig: MicrosoftOauth2ProviderConfigOutput }) | (_Oauth2ProviderConfigOutput & { atlassianOauth2ProviderConfig: AtlassianOauth2ProviderConfigOutput }) | (_Oauth2ProviderConfigOutput & { linkedinOauth2ProviderConfig: LinkedinOauth2ProviderConfigOutput }) | (_Oauth2ProviderConfigOutput & { includedOauth2ProviderConfig: IncludedOauth2ProviderConfigOutput }); export interface OAuthCredentialProvider { providerArn: string; scopes: Array; @@ -2029,11 +1459,7 @@ export type OAuthCustomParametersValue = string; export type OAuthScope = string; export type OAuthScopes = Array; -export type OverrideType = - | "SEMANTIC_OVERRIDE" - | "SUMMARY_OVERRIDE" - | "USER_PREFERENCE_OVERRIDE" - | "SELF_MANAGED"; +export type OverrideType = "SEMANTIC_OVERRIDE" | "SUMMARY_OVERRIDE" | "USER_PREFERENCE_OVERRIDE" | "SELF_MANAGED"; export type Prompt = string; export interface ProtocolConfiguration { @@ -2048,9 +1474,7 @@ interface _RequestHeaderConfiguration { requestHeaderAllowlist?: Array; } -export type RequestHeaderConfiguration = _RequestHeaderConfiguration & { - requestHeaderAllowlist: Array; -}; +export type RequestHeaderConfiguration = (_RequestHeaderConfiguration & { requestHeaderAllowlist: Array }); export type RequiredProperties = Array; export declare class ResourceLimitExceededException extends EffectData.TaggedError( "ResourceLimitExceededException", @@ -2102,13 +1526,7 @@ export interface SchemaDefinition { description?: string; } export type SchemaProperties = Record; -export type SchemaType = - | "string" - | "number" - | "object" - | "array" - | "boolean" - | "integer"; +export type SchemaType = "string" | "number" | "object" | "array" | "boolean" | "integer"; export type SearchType = "SEMANTIC"; export interface Secret { secretArn: string; @@ -2225,7 +1643,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export type TagValue = string; @@ -2233,9 +1652,7 @@ interface _TargetConfiguration { mcp?: McpTargetConfiguration; } -export type TargetConfiguration = _TargetConfiguration & { - mcp: McpTargetConfiguration; -}; +export type TargetConfiguration = (_TargetConfiguration & { mcp: McpTargetConfiguration }); export type TargetDescription = string; export type TargetId = string; @@ -2247,15 +1664,7 @@ export type TargetName = string; export type TargetNextToken = string; -export type TargetStatus = - | "CREATING" - | "UPDATING" - | "UPDATE_UNSUCCESSFUL" - | "DELETING" - | "READY" - | "FAILED" - | "SYNCHRONIZING" - | "SYNCHRONIZE_UNSUCCESSFUL"; +export type TargetStatus = "CREATING" | "UPDATING" | "UPDATE_UNSUCCESSFUL" | "DELETING" | "READY" | "FAILED" | "SYNCHRONIZING" | "SYNCHRONIZE_UNSUCCESSFUL"; export type TargetSummaries = Array; export interface TargetSummary { targetId: string; @@ -2308,29 +1717,21 @@ interface _ToolSchema { inlinePayload?: Array; } -export type ToolSchema = - | (_ToolSchema & { s3: S3Configuration }) - | (_ToolSchema & { inlinePayload: Array }); +export type ToolSchema = (_ToolSchema & { s3: S3Configuration }) | (_ToolSchema & { inlinePayload: Array }); interface _TriggerCondition { messageBasedTrigger?: MessageBasedTrigger; tokenBasedTrigger?: TokenBasedTrigger; timeBasedTrigger?: TimeBasedTrigger; } -export type TriggerCondition = - | (_TriggerCondition & { messageBasedTrigger: MessageBasedTrigger }) - | (_TriggerCondition & { tokenBasedTrigger: TokenBasedTrigger }) - | (_TriggerCondition & { timeBasedTrigger: TimeBasedTrigger }); +export type TriggerCondition = (_TriggerCondition & { messageBasedTrigger: MessageBasedTrigger }) | (_TriggerCondition & { tokenBasedTrigger: TokenBasedTrigger }) | (_TriggerCondition & { timeBasedTrigger: TimeBasedTrigger }); interface _TriggerConditionInput { messageBasedTrigger?: MessageBasedTriggerInput; tokenBasedTrigger?: TokenBasedTriggerInput; timeBasedTrigger?: TimeBasedTriggerInput; } -export type TriggerConditionInput = - | (_TriggerConditionInput & { messageBasedTrigger: MessageBasedTriggerInput }) - | (_TriggerConditionInput & { tokenBasedTrigger: TokenBasedTriggerInput }) - | (_TriggerConditionInput & { timeBasedTrigger: TimeBasedTriggerInput }); +export type TriggerConditionInput = (_TriggerConditionInput & { messageBasedTrigger: MessageBasedTriggerInput }) | (_TriggerConditionInput & { tokenBasedTrigger: TokenBasedTriggerInput }) | (_TriggerConditionInput & { timeBasedTrigger: TimeBasedTriggerInput }); export type TriggerConditionInputList = Array; export type TriggerConditionsList = Array; export declare class UnauthorizedException extends EffectData.TaggedError( @@ -2342,7 +1743,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAgentRuntimeEndpointRequest { agentRuntimeId: string; endpointName: string; @@ -2518,12 +1920,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "CannotParse" - | "FieldValidationFailed" - | "IdempotentParameterMismatchException" - | "EventInOtherSession" - | "ResourceConflict"; +export type ValidationExceptionReason = "CannotParse" | "FieldValidationFailed" | "IdempotentParameterMismatchException" | "EventInOtherSession" | "ResourceConflict"; export interface VpcConfig { securityGroups: Array; subnets: Array; @@ -3263,19 +2660,5 @@ export declare namespace UpdateWorkloadIdentity { | CommonAwsError; } -export type BedrockAgentCoreControlErrors = - | AccessDeniedException - | ConcurrentModificationException - | ConflictException - | DecryptionFailure - | EncryptionFailure - | InternalServerException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError; +export type BedrockAgentCoreControlErrors = AccessDeniedException | ConcurrentModificationException | ConflictException | DecryptionFailure | EncryptionFailure | InternalServerException | ResourceLimitExceededException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError; + diff --git a/src/services/bedrock-agentcore/index.ts b/src/services/bedrock-agentcore/index.ts index 9dbdf913..02b4c0a2 100644 --- a/src/services/bedrock-agentcore/index.ts +++ b/src/services/bedrock-agentcore/index.ts @@ -5,23 +5,7 @@ import type { BedrockAgentCore as _BedrockAgentCoreClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,85 +15,71 @@ const metadata = { sigV4ServiceName: "bedrock-agentcore", endpointPrefix: "bedrock-agentcore", operations: { - CompleteResourceTokenAuth: "POST /identities/CompleteResourceTokenAuth", - GetResourceApiKey: "POST /identities/api-key", - GetResourceOauth2Token: "POST /identities/oauth2/token", - GetWorkloadAccessToken: "POST /identities/GetWorkloadAccessToken", - GetWorkloadAccessTokenForJWT: - "POST /identities/GetWorkloadAccessTokenForJWT", - GetWorkloadAccessTokenForUserId: - "POST /identities/GetWorkloadAccessTokenForUserId", - InvokeCodeInterpreter: { + "CompleteResourceTokenAuth": "POST /identities/CompleteResourceTokenAuth", + "GetResourceApiKey": "POST /identities/api-key", + "GetResourceOauth2Token": "POST /identities/oauth2/token", + "GetWorkloadAccessToken": "POST /identities/GetWorkloadAccessToken", + "GetWorkloadAccessTokenForJWT": "POST /identities/GetWorkloadAccessTokenForJWT", + "GetWorkloadAccessTokenForUserId": "POST /identities/GetWorkloadAccessTokenForUserId", + "InvokeCodeInterpreter": { http: "POST /code-interpreters/{codeInterpreterIdentifier}/tools/invoke", traits: { - sessionId: "x-amzn-code-interpreter-session-id", - stream: "httpPayload", + "sessionId": "x-amzn-code-interpreter-session-id", + "stream": "httpPayload", }, }, - BatchCreateMemoryRecords: - "POST /memories/{memoryId}/memoryRecords/batchCreate", - BatchDeleteMemoryRecords: - "POST /memories/{memoryId}/memoryRecords/batchDelete", - BatchUpdateMemoryRecords: - "POST /memories/{memoryId}/memoryRecords/batchUpdate", - CreateEvent: "POST /memories/{memoryId}/events", - DeleteEvent: - "DELETE /memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", - DeleteMemoryRecord: - "DELETE /memories/{memoryId}/memoryRecords/{memoryRecordId}", - GetAgentCard: { + "BatchCreateMemoryRecords": "POST /memories/{memoryId}/memoryRecords/batchCreate", + "BatchDeleteMemoryRecords": "POST /memories/{memoryId}/memoryRecords/batchDelete", + "BatchUpdateMemoryRecords": "POST /memories/{memoryId}/memoryRecords/batchUpdate", + "CreateEvent": "POST /memories/{memoryId}/events", + "DeleteEvent": "DELETE /memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", + "DeleteMemoryRecord": "DELETE /memories/{memoryId}/memoryRecords/{memoryRecordId}", + "GetAgentCard": { http: "GET /runtimes/{agentRuntimeArn}/invocations/.well-known/agent-card.json", traits: { - runtimeSessionId: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id", - agentCard: "httpPayload", - statusCode: "httpResponseCode", + "runtimeSessionId": "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id", + "agentCard": "httpPayload", + "statusCode": "httpResponseCode", }, }, - GetBrowserSession: "GET /browsers/{browserIdentifier}/sessions/get", - GetCodeInterpreterSession: - "GET /code-interpreters/{codeInterpreterIdentifier}/sessions/get", - GetEvent: - "GET /memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", - GetMemoryRecord: "GET /memories/{memoryId}/memoryRecord/{memoryRecordId}", - InvokeAgentRuntime: { + "GetBrowserSession": "GET /browsers/{browserIdentifier}/sessions/get", + "GetCodeInterpreterSession": "GET /code-interpreters/{codeInterpreterIdentifier}/sessions/get", + "GetEvent": "GET /memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}", + "GetMemoryRecord": "GET /memories/{memoryId}/memoryRecord/{memoryRecordId}", + "InvokeAgentRuntime": { http: "POST /runtimes/{agentRuntimeArn}/invocations", traits: { - runtimeSessionId: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id", - mcpSessionId: "Mcp-Session-Id", - mcpProtocolVersion: "Mcp-Protocol-Version", - traceId: "X-Amzn-Trace-Id", - traceParent: "traceparent", - traceState: "tracestate", - baggage: "baggage", - contentType: "Content-Type", - response: "httpStreaming", - statusCode: "httpResponseCode", + "runtimeSessionId": "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id", + "mcpSessionId": "Mcp-Session-Id", + "mcpProtocolVersion": "Mcp-Protocol-Version", + "traceId": "X-Amzn-Trace-Id", + "traceParent": "traceparent", + "traceState": "tracestate", + "baggage": "baggage", + "contentType": "Content-Type", + "response": "httpStreaming", + "statusCode": "httpResponseCode", }, }, - ListActors: "POST /memories/{memoryId}/actors", - ListBrowserSessions: "POST /browsers/{browserIdentifier}/sessions/list", - ListCodeInterpreterSessions: - "POST /code-interpreters/{codeInterpreterIdentifier}/sessions/list", - ListEvents: - "POST /memories/{memoryId}/actor/{actorId}/sessions/{sessionId}", - ListMemoryRecords: "POST /memories/{memoryId}/memoryRecords", - ListSessions: "POST /memories/{memoryId}/actor/{actorId}/sessions", - RetrieveMemoryRecords: "POST /memories/{memoryId}/retrieve", - StartBrowserSession: "PUT /browsers/{browserIdentifier}/sessions/start", - StartCodeInterpreterSession: - "PUT /code-interpreters/{codeInterpreterIdentifier}/sessions/start", - StopBrowserSession: "PUT /browsers/{browserIdentifier}/sessions/stop", - StopCodeInterpreterSession: - "PUT /code-interpreters/{codeInterpreterIdentifier}/sessions/stop", - StopRuntimeSession: { + "ListActors": "POST /memories/{memoryId}/actors", + "ListBrowserSessions": "POST /browsers/{browserIdentifier}/sessions/list", + "ListCodeInterpreterSessions": "POST /code-interpreters/{codeInterpreterIdentifier}/sessions/list", + "ListEvents": "POST /memories/{memoryId}/actor/{actorId}/sessions/{sessionId}", + "ListMemoryRecords": "POST /memories/{memoryId}/memoryRecords", + "ListSessions": "POST /memories/{memoryId}/actor/{actorId}/sessions", + "RetrieveMemoryRecords": "POST /memories/{memoryId}/retrieve", + "StartBrowserSession": "PUT /browsers/{browserIdentifier}/sessions/start", + "StartCodeInterpreterSession": "PUT /code-interpreters/{codeInterpreterIdentifier}/sessions/start", + "StopBrowserSession": "PUT /browsers/{browserIdentifier}/sessions/stop", + "StopCodeInterpreterSession": "PUT /code-interpreters/{codeInterpreterIdentifier}/sessions/stop", + "StopRuntimeSession": { http: "POST /runtimes/{agentRuntimeArn}/stopruntimesession", traits: { - runtimeSessionId: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id", - statusCode: "httpResponseCode", + "runtimeSessionId": "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id", + "statusCode": "httpResponseCode", }, }, - UpdateBrowserStream: - "PUT /browsers/{browserIdentifier}/sessions/streams/update", + "UpdateBrowserStream": "PUT /browsers/{browserIdentifier}/sessions/streams/update", }, } as const satisfies ServiceMetadata; diff --git a/src/services/bedrock-agentcore/types.ts b/src/services/bedrock-agentcore/types.ts index ae199a85..4b90d3e7 100644 --- a/src/services/bedrock-agentcore/types.ts +++ b/src/services/bedrock-agentcore/types.ts @@ -1,40 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BedrockAgentCore extends AWSServiceClient { @@ -42,402 +10,193 @@ export declare class BedrockAgentCore extends AWSServiceClient { input: CompleteResourceTokenAuthRequest, ): Effect.Effect< CompleteResourceTokenAuthResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getResourceApiKey( input: GetResourceApiKeyRequest, ): Effect.Effect< GetResourceApiKeyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getResourceOauth2Token( input: GetResourceOauth2TokenRequest, ): Effect.Effect< GetResourceOauth2TokenResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getWorkloadAccessToken( input: GetWorkloadAccessTokenRequest, ): Effect.Effect< GetWorkloadAccessTokenResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getWorkloadAccessTokenForJWT( input: GetWorkloadAccessTokenForJWTRequest, ): Effect.Effect< GetWorkloadAccessTokenForJWTResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getWorkloadAccessTokenForUserId( input: GetWorkloadAccessTokenForUserIdRequest, ): Effect.Effect< GetWorkloadAccessTokenForUserIdResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; invokeCodeInterpreter( input: InvokeCodeInterpreterRequest, ): Effect.Effect< InvokeCodeInterpreterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchCreateMemoryRecords( input: BatchCreateMemoryRecordsInput, ): Effect.Effect< BatchCreateMemoryRecordsOutput, - | AccessDeniedException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; batchDeleteMemoryRecords( input: BatchDeleteMemoryRecordsInput, ): Effect.Effect< BatchDeleteMemoryRecordsOutput, - | AccessDeniedException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; batchUpdateMemoryRecords( input: BatchUpdateMemoryRecordsInput, ): Effect.Effect< BatchUpdateMemoryRecordsOutput, - | AccessDeniedException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; createEvent( input: CreateEventInput, ): Effect.Effect< CreateEventOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; deleteEvent( input: DeleteEventInput, ): Effect.Effect< DeleteEventOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; deleteMemoryRecord( input: DeleteMemoryRecordInput, ): Effect.Effect< DeleteMemoryRecordOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; getAgentCard( input: GetAgentCardRequest, ): Effect.Effect< GetAgentCardResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | RuntimeClientError - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | RuntimeClientError | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getBrowserSession( input: GetBrowserSessionRequest, ): Effect.Effect< GetBrowserSessionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCodeInterpreterSession( input: GetCodeInterpreterSessionRequest, ): Effect.Effect< GetCodeInterpreterSessionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEvent( input: GetEventInput, ): Effect.Effect< GetEventOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; getMemoryRecord( input: GetMemoryRecordInput, ): Effect.Effect< GetMemoryRecordOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; invokeAgentRuntime( input: InvokeAgentRuntimeRequest, ): Effect.Effect< InvokeAgentRuntimeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | RuntimeClientError - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | RuntimeClientError | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listActors( input: ListActorsInput, ): Effect.Effect< ListActorsOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; listBrowserSessions( input: ListBrowserSessionsRequest, ): Effect.Effect< ListBrowserSessionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCodeInterpreterSessions( input: ListCodeInterpreterSessionsRequest, ): Effect.Effect< ListCodeInterpreterSessionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEvents( input: ListEventsInput, ): Effect.Effect< ListEventsOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; listMemoryRecords( input: ListMemoryRecordsInput, ): Effect.Effect< ListMemoryRecordsOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; listSessions( input: ListSessionsInput, ): Effect.Effect< ListSessionsOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; retrieveMemoryRecords( input: RetrieveMemoryRecordsInput, ): Effect.Effect< RetrieveMemoryRecordsOutput, - | AccessDeniedException - | InvalidInputException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidInputException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ThrottledException | ValidationException | CommonAwsError >; startBrowserSession( input: StartBrowserSessionRequest, ): Effect.Effect< StartBrowserSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startCodeInterpreterSession( input: StartCodeInterpreterSessionRequest, ): Effect.Effect< StartCodeInterpreterSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopBrowserSession( input: StopBrowserSessionRequest, ): Effect.Effect< StopBrowserSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopCodeInterpreterSession( input: StopCodeInterpreterSessionRequest, ): Effect.Effect< StopCodeInterpreterSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopRuntimeSession( input: StopRuntimeSessionRequest, ): Effect.Effect< StopRuntimeSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | RuntimeClientError - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | RuntimeClientError | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateBrowserStream( input: UpdateBrowserStreamRequest, ): Effect.Effect< UpdateBrowserStreamResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -537,8 +296,7 @@ export interface CodeInterpreterResult { export type CodeInterpreterSessionId = string; export type CodeInterpreterSessionStatus = "READY" | "TERMINATED"; -export type CodeInterpreterSessionSummaries = - Array; +export type CodeInterpreterSessionSummaries = Array; export interface CodeInterpreterSessionSummary { codeInterpreterIdentifier: string; sessionId: string; @@ -560,32 +318,13 @@ interface _CodeInterpreterStreamOutput { validationException?: ValidationException; } -export type CodeInterpreterStreamOutput = - | (_CodeInterpreterStreamOutput & { result: CodeInterpreterResult }) - | (_CodeInterpreterStreamOutput & { - accessDeniedException: AccessDeniedException; - }) - | (_CodeInterpreterStreamOutput & { conflictException: ConflictException }) - | (_CodeInterpreterStreamOutput & { - internalServerException: InternalServerException; - }) - | (_CodeInterpreterStreamOutput & { - resourceNotFoundException: ResourceNotFoundException; - }) - | (_CodeInterpreterStreamOutput & { - serviceQuotaExceededException: ServiceQuotaExceededException; - }) - | (_CodeInterpreterStreamOutput & { - throttlingException: ThrottlingException; - }) - | (_CodeInterpreterStreamOutput & { - validationException: ValidationException; - }); +export type CodeInterpreterStreamOutput = (_CodeInterpreterStreamOutput & { result: CodeInterpreterResult }) | (_CodeInterpreterStreamOutput & { accessDeniedException: AccessDeniedException }) | (_CodeInterpreterStreamOutput & { conflictException: ConflictException }) | (_CodeInterpreterStreamOutput & { internalServerException: InternalServerException }) | (_CodeInterpreterStreamOutput & { resourceNotFoundException: ResourceNotFoundException }) | (_CodeInterpreterStreamOutput & { serviceQuotaExceededException: ServiceQuotaExceededException }) | (_CodeInterpreterStreamOutput & { throttlingException: ThrottlingException }) | (_CodeInterpreterStreamOutput & { validationException: ValidationException }); export interface CompleteResourceTokenAuthRequest { userIdentifier: UserIdentifier; sessionUri: string; } -export interface CompleteResourceTokenAuthResponse {} +export interface CompleteResourceTokenAuthResponse { +} export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -595,7 +334,7 @@ interface _Content { text?: string; } -export type Content = _Content & { text: string }; +export type Content = (_Content & { text: string }); export interface ContentBlock { type: ContentBlockType; text?: string; @@ -836,7 +575,7 @@ interface _LeftExpression { metadataKey?: string; } -export type LeftExpression = _LeftExpression & { metadataKey: string }; +export type LeftExpression = (_LeftExpression & { metadataKey: string }); export interface ListActorsInput { memoryId: string; maxResults?: number; @@ -911,7 +650,7 @@ interface _MemoryContent { text?: string; } -export type MemoryContent = _MemoryContent & { text: string }; +export type MemoryContent = (_MemoryContent & { text: string }); export type MemoryId = string; export interface MemoryRecord { @@ -970,7 +709,7 @@ interface _MetadataValue { stringValue?: string; } -export type MetadataValue = _MetadataValue & { stringValue: string }; +export type MetadataValue = (_MetadataValue & { stringValue: string }); export type MimeType = string; export type Name = string; @@ -991,9 +730,7 @@ interface _PayloadType { blob?: unknown; } -export type PayloadType = - | (_PayloadType & { conversational: Conversational }) - | (_PayloadType & { blob: unknown }); +export type PayloadType = (_PayloadType & { conversational: Conversational }) | (_PayloadType & { blob: unknown }); export type PayloadTypeList = Array; export type ProgrammingLanguage = "python" | "javascript" | "typescript"; export type RequestIdentifier = string; @@ -1032,9 +769,7 @@ interface _RightExpression { metadataValue?: MetadataValue; } -export type RightExpression = _RightExpression & { - metadataValue: MetadataValue; -}; +export type RightExpression = (_RightExpression & { metadataValue: MetadataValue }); export type Role = "ASSISTANT" | "USER" | "TOOL" | "OTHER"; export declare class RuntimeClientError extends EffectData.TaggedError( "RuntimeClientError", @@ -1140,18 +875,11 @@ interface _StreamUpdate { automationStreamUpdate?: AutomationStreamUpdate; } -export type StreamUpdate = _StreamUpdate & { - automationStreamUpdate: AutomationStreamUpdate; -}; +export type StreamUpdate = (_StreamUpdate & { automationStreamUpdate: AutomationStreamUpdate }); export type StringList = Array; export type StringType = string; -export type TaskStatus = - | "submitted" - | "working" - | "completed" - | "canceled" - | "failed"; +export type TaskStatus = "submitted" | "working" | "completed" | "canceled" | "failed"; export declare class ThrottledException extends EffectData.TaggedError( "ThrottledException", )<{ @@ -1173,16 +901,7 @@ export interface ToolArguments { directoryPath?: string; taskId?: string; } -export type ToolName = - | "executeCode" - | "executeCommand" - | "readFiles" - | "listFiles" - | "removeFiles" - | "writeFiles" - | "startCommandExecution" - | "getTask" - | "stopTask"; +export type ToolName = "executeCode" | "executeCommand" | "readFiles" | "listFiles" | "removeFiles" | "writeFiles" | "startCommandExecution" | "getTask" | "stopTask"; export interface ToolResultStructuredContent { taskId?: string; taskStatus?: TaskStatus; @@ -1213,9 +932,7 @@ interface _UserIdentifier { userId?: string; } -export type UserIdentifier = - | (_UserIdentifier & { userToken: string }) - | (_UserIdentifier & { userId: string }); +export type UserIdentifier = (_UserIdentifier & { userToken: string }) | (_UserIdentifier & { userId: string }); export type UserIdType = string; export type UserTokenType = string; @@ -1232,12 +949,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "CannotParse" - | "FieldValidationFailed" - | "IdempotentParameterMismatchException" - | "EventInOtherSession" - | "ResourceConflict"; +export type ValidationExceptionReason = "CannotParse" | "FieldValidationFailed" | "IdempotentParameterMismatchException" | "EventInOtherSession" | "ResourceConflict"; export interface ViewPort { width: number; height: number; @@ -1683,17 +1395,5 @@ export declare namespace UpdateBrowserStream { | CommonAwsError; } -export type BedrockAgentCoreErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | RuntimeClientError - | ServiceException - | ServiceQuotaExceededException - | ThrottledException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError; +export type BedrockAgentCoreErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidInputException | ResourceNotFoundException | RuntimeClientError | ServiceException | ServiceQuotaExceededException | ThrottledException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError; + diff --git a/src/services/bedrock-data-automation-runtime/index.ts b/src/services/bedrock-data-automation-runtime/index.ts index 74f968bd..3df40e3f 100644 --- a/src/services/bedrock-data-automation-runtime/index.ts +++ b/src/services/bedrock-data-automation-runtime/index.ts @@ -5,23 +5,7 @@ import type { BedrockDataAutomationRuntime as _BedrockDataAutomationRuntimeClien export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,8 +18,7 @@ const metadata = { } as const satisfies ServiceMetadata; export type _BedrockDataAutomationRuntime = _BedrockDataAutomationRuntimeClient; -export interface BedrockDataAutomationRuntime - extends _BedrockDataAutomationRuntime {} +export interface BedrockDataAutomationRuntime extends _BedrockDataAutomationRuntime {} export const BedrockDataAutomationRuntime = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/bedrock-data-automation-runtime/types.ts b/src/services/bedrock-data-automation-runtime/types.ts index 89e62e03..98b1ce7b 100644 --- a/src/services/bedrock-data-automation-runtime/types.ts +++ b/src/services/bedrock-data-automation-runtime/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BedrockDataAutomationRuntime extends AWSServiceClient { @@ -40,57 +8,31 @@ export declare class BedrockDataAutomationRuntime extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataAutomationStatus( input: GetDataAutomationStatusRequest, ): Effect.Effect< GetDataAutomationStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; invokeDataAutomationAsync( input: InvokeDataAutomationAsyncRequest, ): Effect.Effect< InvokeDataAutomationAsyncResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -102,12 +44,7 @@ export declare class AccessDeniedException extends EffectData.TaggedError( export interface AssetProcessingConfiguration { video?: VideoAssetProcessingConfiguration; } -export type AutomationJobStatus = - | "Created" - | "InProgress" - | "Success" - | "ServiceError" - | "ClientError"; +export type AutomationJobStatus = "Created" | "InProgress" | "Success" | "ServiceError" | "ClientError"; export interface Blueprint { blueprintArn: string; version?: string; @@ -218,7 +155,8 @@ export interface TagResourceRequest { resourceARN: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -234,7 +172,8 @@ export interface UntagResourceRequest { resourceARN: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -247,9 +186,7 @@ interface _VideoSegmentConfiguration { timestampSegment?: TimestampSegment; } -export type VideoSegmentConfiguration = _VideoSegmentConfiguration & { - timestampSegment: TimestampSegment; -}; +export type VideoSegmentConfiguration = (_VideoSegmentConfiguration & { timestampSegment: TimestampSegment }); export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; @@ -311,11 +248,5 @@ export declare namespace InvokeDataAutomationAsync { | CommonAwsError; } -export type BedrockDataAutomationRuntimeErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BedrockDataAutomationRuntimeErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/bedrock-data-automation/index.ts b/src/services/bedrock-data-automation/index.ts index 40462366..29b74147 100644 --- a/src/services/bedrock-data-automation/index.ts +++ b/src/services/bedrock-data-automation/index.ts @@ -5,23 +5,7 @@ import type { BedrockDataAutomation as _BedrockDataAutomationClient } from "./ty export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,21 +15,20 @@ const metadata = { sigV4ServiceName: "bedrock", endpointPrefix: "bedrock-data-automation", operations: { - CreateBlueprintVersion: "POST /blueprints/{blueprintArn}/versions/", - ListTagsForResource: "POST /listTagsForResource", - TagResource: "POST /tagResource", - UntagResource: "POST /untagResource", - CreateBlueprint: "PUT /blueprints/", - CreateDataAutomationProject: "PUT /data-automation-projects/", - DeleteBlueprint: "DELETE /blueprints/{blueprintArn}/", - DeleteDataAutomationProject: - "DELETE /data-automation-projects/{projectArn}/", - GetBlueprint: "POST /blueprints/{blueprintArn}/", - GetDataAutomationProject: "POST /data-automation-projects/{projectArn}/", - ListBlueprints: "POST /blueprints/", - ListDataAutomationProjects: "POST /data-automation-projects/", - UpdateBlueprint: "PUT /blueprints/{blueprintArn}/", - UpdateDataAutomationProject: "PUT /data-automation-projects/{projectArn}/", + "CreateBlueprintVersion": "POST /blueprints/{blueprintArn}/versions/", + "ListTagsForResource": "POST /listTagsForResource", + "TagResource": "POST /tagResource", + "UntagResource": "POST /untagResource", + "CreateBlueprint": "PUT /blueprints/", + "CreateDataAutomationProject": "PUT /data-automation-projects/", + "DeleteBlueprint": "DELETE /blueprints/{blueprintArn}/", + "DeleteDataAutomationProject": "DELETE /data-automation-projects/{projectArn}/", + "GetBlueprint": "POST /blueprints/{blueprintArn}/", + "GetDataAutomationProject": "POST /data-automation-projects/{projectArn}/", + "ListBlueprints": "POST /blueprints/", + "ListDataAutomationProjects": "POST /data-automation-projects/", + "UpdateBlueprint": "PUT /blueprints/{blueprintArn}/", + "UpdateDataAutomationProject": "PUT /data-automation-projects/{projectArn}/", }, } as const satisfies ServiceMetadata; diff --git a/src/services/bedrock-data-automation/types.ts b/src/services/bedrock-data-automation/types.ts index b8c9dcba..e9d6f936 100644 --- a/src/services/bedrock-data-automation/types.ts +++ b/src/services/bedrock-data-automation/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BedrockDataAutomation extends AWSServiceClient { @@ -40,162 +8,85 @@ export declare class BedrockDataAutomation extends AWSServiceClient { input: CreateBlueprintVersionRequest, ): Effect.Effect< CreateBlueprintVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createBlueprint( input: CreateBlueprintRequest, ): Effect.Effect< CreateBlueprintResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataAutomationProject( input: CreateDataAutomationProjectRequest, ): Effect.Effect< CreateDataAutomationProjectResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteBlueprint( input: DeleteBlueprintRequest, ): Effect.Effect< DeleteBlueprintResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataAutomationProject( input: DeleteDataAutomationProjectRequest, ): Effect.Effect< DeleteDataAutomationProjectResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getBlueprint( input: GetBlueprintRequest, ): Effect.Effect< GetBlueprintResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataAutomationProject( input: GetDataAutomationProjectRequest, ): Effect.Effect< GetDataAutomationProjectResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBlueprints( input: ListBlueprintsRequest, ): Effect.Effect< ListBlueprintsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataAutomationProjects( input: ListDataAutomationProjectsRequest, ): Effect.Effect< ListDataAutomationProjectsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateBlueprint( input: UpdateBlueprintRequest, ): Effect.Effect< UpdateBlueprintResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDataAutomationProject( input: UpdateDataAutomationProjectRequest, ): Effect.Effect< UpdateDataAutomationProjectResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -209,10 +100,7 @@ export interface AudioExtractionCategory { types?: Array; typeConfiguration?: AudioExtractionCategoryTypeConfiguration; } -export type AudioExtractionCategoryType = - | "AUDIO_CONTENT_MODERATION" - | "TRANSCRIPT" - | "TOPIC_CONTENT_MODERATION"; +export type AudioExtractionCategoryType = "AUDIO_CONTENT_MODERATION" | "TRANSCRIPT" | "TOPIC_CONTENT_MODERATION"; export interface AudioExtractionCategoryTypeConfiguration { transcript?: TranscriptConfiguration; } @@ -227,12 +115,8 @@ export interface AudioStandardGenerativeField { state: State; types?: Array; } -export type AudioStandardGenerativeFieldType = - | "AUDIO_SUMMARY" - | "IAB" - | "TOPIC_SUMMARY"; -export type AudioStandardGenerativeFieldTypes = - Array; +export type AudioStandardGenerativeFieldType = "AUDIO_SUMMARY" | "IAB" | "TOPIC_SUMMARY"; +export type AudioStandardGenerativeFieldTypes = Array; export interface AudioStandardOutputConfiguration { extraction?: AudioStandardExtraction; generativeField?: AudioStandardGenerativeField; @@ -353,12 +237,8 @@ export type DataAutomationProjectName = string; export type DataAutomationProjectStage = "DEVELOPMENT" | "LIVE"; export type DataAutomationProjectStageFilter = "DEVELOPMENT" | "LIVE" | "ALL"; -export type DataAutomationProjectStatus = - | "COMPLETED" - | "IN_PROGRESS" - | "FAILED"; -export type DataAutomationProjectSummaries = - Array; +export type DataAutomationProjectStatus = "COMPLETED" | "IN_PROGRESS" | "FAILED"; +export type DataAutomationProjectSummaries = Array; export interface DataAutomationProjectSummary { projectArn: string; projectStage?: DataAutomationProjectStage; @@ -371,7 +251,8 @@ export interface DeleteBlueprintRequest { blueprintArn: string; blueprintVersion?: string; } -export interface DeleteBlueprintResponse {} +export interface DeleteBlueprintResponse { +} export interface DeleteDataAutomationProjectRequest { projectArn: string; } @@ -386,14 +267,8 @@ export interface DocumentBoundingBox { export interface DocumentExtractionGranularity { types?: Array; } -export type DocumentExtractionGranularityType = - | "DOCUMENT" - | "PAGE" - | "ELEMENT" - | "WORD" - | "LINE"; -export type DocumentExtractionGranularityTypes = - Array; +export type DocumentExtractionGranularityType = "DOCUMENT" | "PAGE" | "ELEMENT" | "WORD" | "LINE"; +export type DocumentExtractionGranularityTypes = Array; export interface DocumentOutputAdditionalFileFormat { state: State; } @@ -404,11 +279,7 @@ export interface DocumentOutputFormat { export interface DocumentOutputTextFormat { types?: Array; } -export type DocumentOutputTextFormatType = - | "PLAIN_TEXT" - | "MARKDOWN" - | "HTML" - | "CSV"; +export type DocumentOutputTextFormatType = "PLAIN_TEXT" | "MARKDOWN" | "HTML" | "CSV"; export type DocumentOutputTextFormatTypes = Array; export interface DocumentOverrideConfiguration { splitter?: SplitterConfiguration; @@ -456,10 +327,7 @@ export interface ImageExtractionCategory { state: State; types?: Array; } -export type ImageExtractionCategoryType = - | "CONTENT_MODERATION" - | "TEXT_DETECTION" - | "LOGOS"; +export type ImageExtractionCategoryType = "CONTENT_MODERATION" | "TEXT_DETECTION" | "LOGOS"; export type ImageExtractionCategoryTypes = Array; export interface ImageOverrideConfiguration { modalityProcessing?: ModalityProcessingConfiguration; @@ -473,8 +341,7 @@ export interface ImageStandardGenerativeField { types?: Array; } export type ImageStandardGenerativeFieldType = "IMAGE_SUMMARY" | "IAB"; -export type ImageStandardGenerativeFieldTypes = - Array; +export type ImageStandardGenerativeFieldTypes = Array; export interface ImageStandardOutputConfiguration { extraction?: ImageStandardExtraction; generativeField?: ImageStandardGenerativeField; @@ -576,7 +443,8 @@ export interface TagResourceRequest { resourceARN: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -593,7 +461,8 @@ export interface UntagResourceRequest { resourceARN: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateBlueprintRequest { blueprintArn: string; schema: string; @@ -635,11 +504,7 @@ export interface VideoExtractionCategory { state: State; types?: Array; } -export type VideoExtractionCategoryType = - | "CONTENT_MODERATION" - | "TEXT_DETECTION" - | "TRANSCRIPT" - | "LOGOS"; +export type VideoExtractionCategoryType = "CONTENT_MODERATION" | "TEXT_DETECTION" | "TRANSCRIPT" | "LOGOS"; export type VideoExtractionCategoryTypes = Array; export interface VideoOverrideConfiguration { modalityProcessing?: ModalityProcessingConfiguration; @@ -652,12 +517,8 @@ export interface VideoStandardGenerativeField { state: State; types?: Array; } -export type VideoStandardGenerativeFieldType = - | "VIDEO_SUMMARY" - | "IAB" - | "CHAPTER_SUMMARY"; -export type VideoStandardGenerativeFieldTypes = - Array; +export type VideoStandardGenerativeFieldType = "VIDEO_SUMMARY" | "IAB" | "CHAPTER_SUMMARY"; +export type VideoStandardGenerativeFieldTypes = Array; export interface VideoStandardOutputConfiguration { extraction?: VideoStandardExtraction; generativeField?: VideoStandardGenerativeField; @@ -837,12 +698,5 @@ export declare namespace UpdateDataAutomationProject { | CommonAwsError; } -export type BedrockDataAutomationErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BedrockDataAutomationErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/bedrock-runtime/index.ts b/src/services/bedrock-runtime/index.ts index 7f62dc0c..e14124ba 100644 --- a/src/services/bedrock-runtime/index.ts +++ b/src/services/bedrock-runtime/index.ts @@ -5,23 +5,7 @@ import type { BedrockRuntime as _BedrockRuntimeClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,41 +15,43 @@ const metadata = { sigV4ServiceName: "bedrock", endpointPrefix: "bedrock-runtime", operations: { - ApplyGuardrail: - "POST /guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", - Converse: "POST /model/{modelId}/converse", - ConverseStream: { + "ApplyGuardrail": "POST /guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", + "Converse": "POST /model/{modelId}/converse", + "ConverseStream": { http: "POST /model/{modelId}/converse-stream", traits: { - stream: "httpPayload", + "stream": "httpPayload", }, }, - CountTokens: "POST /model/{modelId}/count-tokens", - GetAsyncInvoke: "GET /async-invoke/{invocationArn}", - InvokeModel: { + "CountTokens": "POST /model/{modelId}/count-tokens", + "GetAsyncInvoke": "GET /async-invoke/{invocationArn}", + "InvokeModel": { http: "POST /model/{modelId}/invoke", traits: { - body: "httpStreaming", - contentType: "Content-Type", - performanceConfigLatency: "X-Amzn-Bedrock-PerformanceConfig-Latency", + "body": "httpStreaming", + "contentType": "Content-Type", + "performanceConfigLatency": "X-Amzn-Bedrock-PerformanceConfig-Latency", }, }, - InvokeModelWithBidirectionalStream: { + "InvokeModelWithBidirectionalStream": { http: "POST /model/{modelId}/invoke-with-bidirectional-stream", traits: { - body: "httpPayload", + "body": "httpPayload", }, }, - InvokeModelWithResponseStream: { + "InvokeModelWithResponseStream": { http: "POST /model/{modelId}/invoke-with-response-stream", traits: { - body: "httpStreaming", - contentType: "X-Amzn-Bedrock-Content-Type", - performanceConfigLatency: "X-Amzn-Bedrock-PerformanceConfig-Latency", + "body": "httpStreaming", + "contentType": "X-Amzn-Bedrock-Content-Type", + "performanceConfigLatency": "X-Amzn-Bedrock-PerformanceConfig-Latency", }, }, - ListAsyncInvokes: "GET /async-invoke", - StartAsyncInvoke: "POST /async-invoke", + "ListAsyncInvokes": "GET /async-invoke", + "StartAsyncInvoke": "POST /async-invoke", + }, + retryableErrors: { + "ModelNotReadyException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/bedrock-runtime/types.ts b/src/services/bedrock-runtime/types.ts index 45b22ae6..a162d5e6 100644 --- a/src/services/bedrock-runtime/types.ts +++ b/src/services/bedrock-runtime/types.ts @@ -1,40 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class BedrockRuntime extends AWSServiceClient { @@ -42,140 +10,61 @@ export declare class BedrockRuntime extends AWSServiceClient { input: ApplyGuardrailRequest, ): Effect.Effect< ApplyGuardrailResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; converse( input: ConverseRequest, ): Effect.Effect< ConverseResponse, - | AccessDeniedException - | InternalServerException - | ModelErrorException - | ModelNotReadyException - | ModelTimeoutException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ModelErrorException | ModelNotReadyException | ModelTimeoutException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; converseStream( input: ConverseStreamRequest, ): Effect.Effect< ConverseStreamResponse, - | AccessDeniedException - | InternalServerException - | ModelErrorException - | ModelNotReadyException - | ModelTimeoutException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ModelErrorException | ModelNotReadyException | ModelTimeoutException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; countTokens( input: CountTokensRequest, ): Effect.Effect< CountTokensResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getAsyncInvoke( input: GetAsyncInvokeRequest, ): Effect.Effect< GetAsyncInvokeResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; invokeModel( input: InvokeModelRequest, ): Effect.Effect< InvokeModelResponse, - | AccessDeniedException - | InternalServerException - | ModelErrorException - | ModelNotReadyException - | ModelTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ModelErrorException | ModelNotReadyException | ModelTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; invokeModelWithBidirectionalStream( input: InvokeModelWithBidirectionalStreamRequest, ): Effect.Effect< InvokeModelWithBidirectionalStreamResponse, - | AccessDeniedException - | InternalServerException - | ModelErrorException - | ModelNotReadyException - | ModelStreamErrorException - | ModelTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ModelErrorException | ModelNotReadyException | ModelStreamErrorException | ModelTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; invokeModelWithResponseStream( input: InvokeModelWithResponseStreamRequest, ): Effect.Effect< InvokeModelWithResponseStreamResponse, - | AccessDeniedException - | InternalServerException - | ModelErrorException - | ModelNotReadyException - | ModelStreamErrorException - | ModelTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ModelErrorException | ModelNotReadyException | ModelStreamErrorException | ModelTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; listAsyncInvokes( input: ListAsyncInvokesRequest, ): Effect.Effect< ListAsyncInvokesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; startAsyncInvoke( input: StartAsyncInvokeRequest, ): Effect.Effect< StartAsyncInvokeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -187,7 +76,8 @@ export declare class AccessDeniedException extends EffectData.TaggedError( export type AccountId = string; export type AdditionalModelResponseFieldPaths = Array; -export interface AnyToolChoice {} +export interface AnyToolChoice { +} export interface ApplyGuardrailRequest { guardrailIdentifier: string; guardrailVersion: string; @@ -215,9 +105,7 @@ interface _AsyncInvokeOutputDataConfig { s3OutputDataConfig?: AsyncInvokeS3OutputDataConfig; } -export type AsyncInvokeOutputDataConfig = _AsyncInvokeOutputDataConfig & { - s3OutputDataConfig: AsyncInvokeS3OutputDataConfig; -}; +export type AsyncInvokeOutputDataConfig = (_AsyncInvokeOutputDataConfig & { s3OutputDataConfig: AsyncInvokeS3OutputDataConfig }); export interface AsyncInvokeS3OutputDataConfig { s3Uri: string; kmsKeyId?: string; @@ -238,7 +126,8 @@ export interface AsyncInvokeSummary { } export type AutomatedReasoningRuleIdentifier = string; -export interface AutoToolChoice {} +export interface AutoToolChoice { +} export interface BidirectionalInputPayloadPart { bytes?: Uint8Array | string; } @@ -260,9 +149,7 @@ interface _CitationGeneratedContent { text?: string; } -export type CitationGeneratedContent = _CitationGeneratedContent & { - text: string; -}; +export type CitationGeneratedContent = (_CitationGeneratedContent & { text: string }); export type CitationGeneratedContentList = Array; interface _CitationLocation { web?: WebLocation; @@ -271,11 +158,7 @@ interface _CitationLocation { documentChunk?: DocumentChunkLocation; } -export type CitationLocation = - | (_CitationLocation & { web: WebLocation }) - | (_CitationLocation & { documentChar: DocumentCharLocation }) - | (_CitationLocation & { documentPage: DocumentPageLocation }) - | (_CitationLocation & { documentChunk: DocumentChunkLocation }); +export type CitationLocation = (_CitationLocation & { web: WebLocation }) | (_CitationLocation & { documentChar: DocumentCharLocation }) | (_CitationLocation & { documentPage: DocumentPageLocation }) | (_CitationLocation & { documentChunk: DocumentChunkLocation }); export type Citations = Array; export interface CitationsConfig { enabled: boolean; @@ -293,7 +176,7 @@ interface _CitationSourceContent { text?: string; } -export type CitationSourceContent = _CitationSourceContent & { text: string }; +export type CitationSourceContent = (_CitationSourceContent & { text: string }); export interface CitationSourceContentDelta { text?: string; } @@ -317,17 +200,7 @@ interface _ContentBlock { citationsContent?: CitationsContentBlock; } -export type ContentBlock = - | (_ContentBlock & { text: string }) - | (_ContentBlock & { image: ImageBlock }) - | (_ContentBlock & { document: DocumentBlock }) - | (_ContentBlock & { video: VideoBlock }) - | (_ContentBlock & { toolUse: ToolUseBlock }) - | (_ContentBlock & { toolResult: ToolResultBlock }) - | (_ContentBlock & { guardContent: GuardrailConverseContentBlock }) - | (_ContentBlock & { cachePoint: CachePointBlock }) - | (_ContentBlock & { reasoningContent: ReasoningContentBlock }) - | (_ContentBlock & { citationsContent: CitationsContentBlock }); +export type ContentBlock = (_ContentBlock & { text: string }) | (_ContentBlock & { image: ImageBlock }) | (_ContentBlock & { document: DocumentBlock }) | (_ContentBlock & { video: VideoBlock }) | (_ContentBlock & { toolUse: ToolUseBlock }) | (_ContentBlock & { toolResult: ToolResultBlock }) | (_ContentBlock & { guardContent: GuardrailConverseContentBlock }) | (_ContentBlock & { cachePoint: CachePointBlock }) | (_ContentBlock & { reasoningContent: ReasoningContentBlock }) | (_ContentBlock & { citationsContent: CitationsContentBlock }); interface _ContentBlockDelta { text?: string; toolUse?: ToolUseBlockDelta; @@ -336,12 +209,7 @@ interface _ContentBlockDelta { citation?: CitationsDelta; } -export type ContentBlockDelta = - | (_ContentBlockDelta & { text: string }) - | (_ContentBlockDelta & { toolUse: ToolUseBlockDelta }) - | (_ContentBlockDelta & { toolResult: Array }) - | (_ContentBlockDelta & { reasoningContent: ReasoningContentBlockDelta }) - | (_ContentBlockDelta & { citation: CitationsDelta }); +export type ContentBlockDelta = (_ContentBlockDelta & { text: string }) | (_ContentBlockDelta & { toolUse: ToolUseBlockDelta }) | (_ContentBlockDelta & { toolResult: Array }) | (_ContentBlockDelta & { reasoningContent: ReasoningContentBlockDelta }) | (_ContentBlockDelta & { citation: CitationsDelta }); export interface ContentBlockDeltaEvent { delta: ContentBlockDelta; contentBlockIndex: number; @@ -352,9 +220,7 @@ interface _ContentBlockStart { toolResult?: ToolResultBlockStart; } -export type ContentBlockStart = - | (_ContentBlockStart & { toolUse: ToolUseBlockStart }) - | (_ContentBlockStart & { toolResult: ToolResultBlockStart }); +export type ContentBlockStart = (_ContentBlockStart & { toolUse: ToolUseBlockStart }) | (_ContentBlockStart & { toolResult: ToolResultBlockStart }); export interface ContentBlockStartEvent { start: ContentBlockStart; contentBlockIndex: number; @@ -372,7 +238,7 @@ interface _ConverseOutput { message?: Message; } -export type ConverseOutput = _ConverseOutput & { message: Message }; +export type ConverseOutput = (_ConverseOutput & { message: Message }); export interface ConverseRequest { modelId: string; messages?: Array; @@ -418,24 +284,7 @@ interface _ConverseStreamOutput { serviceUnavailableException?: ServiceUnavailableException; } -export type ConverseStreamOutput = - | (_ConverseStreamOutput & { messageStart: MessageStartEvent }) - | (_ConverseStreamOutput & { contentBlockStart: ContentBlockStartEvent }) - | (_ConverseStreamOutput & { contentBlockDelta: ContentBlockDeltaEvent }) - | (_ConverseStreamOutput & { contentBlockStop: ContentBlockStopEvent }) - | (_ConverseStreamOutput & { messageStop: MessageStopEvent }) - | (_ConverseStreamOutput & { metadata: ConverseStreamMetadataEvent }) - | (_ConverseStreamOutput & { - internalServerException: InternalServerException; - }) - | (_ConverseStreamOutput & { - modelStreamErrorException: ModelStreamErrorException; - }) - | (_ConverseStreamOutput & { validationException: ValidationException }) - | (_ConverseStreamOutput & { throttlingException: ThrottlingException }) - | (_ConverseStreamOutput & { - serviceUnavailableException: ServiceUnavailableException; - }); +export type ConverseStreamOutput = (_ConverseStreamOutput & { messageStart: MessageStartEvent }) | (_ConverseStreamOutput & { contentBlockStart: ContentBlockStartEvent }) | (_ConverseStreamOutput & { contentBlockDelta: ContentBlockDeltaEvent }) | (_ConverseStreamOutput & { contentBlockStop: ContentBlockStopEvent }) | (_ConverseStreamOutput & { messageStop: MessageStopEvent }) | (_ConverseStreamOutput & { metadata: ConverseStreamMetadataEvent }) | (_ConverseStreamOutput & { internalServerException: InternalServerException }) | (_ConverseStreamOutput & { modelStreamErrorException: ModelStreamErrorException }) | (_ConverseStreamOutput & { validationException: ValidationException }) | (_ConverseStreamOutput & { throttlingException: ThrottlingException }) | (_ConverseStreamOutput & { serviceUnavailableException: ServiceUnavailableException }); export interface ConverseStreamRequest { modelId: string; messages?: Array; @@ -469,9 +318,7 @@ interface _CountTokensInput { converse?: ConverseTokensRequest; } -export type CountTokensInput = - | (_CountTokensInput & { invokeModel: InvokeModelTokensRequest }) - | (_CountTokensInput & { converse: ConverseTokensRequest }); +export type CountTokensInput = (_CountTokensInput & { invokeModel: InvokeModelTokensRequest }) | (_CountTokensInput & { converse: ConverseTokensRequest }); export interface CountTokensRequest { modelId: string; input: CountTokensInput; @@ -500,18 +347,9 @@ interface _DocumentContentBlock { text?: string; } -export type DocumentContentBlock = _DocumentContentBlock & { text: string }; +export type DocumentContentBlock = (_DocumentContentBlock & { text: string }); export type DocumentContentBlocks = Array; -export type DocumentFormat = - | "pdf" - | "csv" - | "doc" - | "docx" - | "xls" - | "xlsx" - | "html" - | "txt" - | "md"; +export type DocumentFormat = "pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md"; export interface DocumentPageLocation { documentIndex?: number; start?: number; @@ -524,11 +362,7 @@ interface _DocumentSource { content?: Array; } -export type DocumentSource = - | (_DocumentSource & { bytes: Uint8Array | string }) - | (_DocumentSource & { s3Location: S3Location }) - | (_DocumentSource & { text: string }) - | (_DocumentSource & { content: Array }); +export type DocumentSource = (_DocumentSource & { bytes: Uint8Array | string }) | (_DocumentSource & { s3Location: S3Location }) | (_DocumentSource & { text: string }) | (_DocumentSource & { content: Array }); export type FoundationModelVersionIdentifier = string; export interface GetAsyncInvokeRequest { @@ -556,13 +390,9 @@ export interface GuardrailAssessment { invocationMetrics?: GuardrailInvocationMetrics; } export type GuardrailAssessmentList = Array; -export type GuardrailAssessmentListMap = Record< - string, - Array ->; +export type GuardrailAssessmentListMap = Record>; export type GuardrailAssessmentMap = Record; -export type GuardrailAutomatedReasoningDifferenceScenarioList = - Array; +export type GuardrailAutomatedReasoningDifferenceScenarioList = Array; interface _GuardrailAutomatedReasoningFinding { valid?: GuardrailAutomatedReasoningValidFinding; invalid?: GuardrailAutomatedReasoningInvalidFinding; @@ -573,30 +403,8 @@ interface _GuardrailAutomatedReasoningFinding { noTranslations?: GuardrailAutomatedReasoningNoTranslationsFinding; } -export type GuardrailAutomatedReasoningFinding = - | (_GuardrailAutomatedReasoningFinding & { - valid: GuardrailAutomatedReasoningValidFinding; - }) - | (_GuardrailAutomatedReasoningFinding & { - invalid: GuardrailAutomatedReasoningInvalidFinding; - }) - | (_GuardrailAutomatedReasoningFinding & { - satisfiable: GuardrailAutomatedReasoningSatisfiableFinding; - }) - | (_GuardrailAutomatedReasoningFinding & { - impossible: GuardrailAutomatedReasoningImpossibleFinding; - }) - | (_GuardrailAutomatedReasoningFinding & { - translationAmbiguous: GuardrailAutomatedReasoningTranslationAmbiguousFinding; - }) - | (_GuardrailAutomatedReasoningFinding & { - tooComplex: GuardrailAutomatedReasoningTooComplexFinding; - }) - | (_GuardrailAutomatedReasoningFinding & { - noTranslations: GuardrailAutomatedReasoningNoTranslationsFinding; - }); -export type GuardrailAutomatedReasoningFindingList = - Array; +export type GuardrailAutomatedReasoningFinding = (_GuardrailAutomatedReasoningFinding & { valid: GuardrailAutomatedReasoningValidFinding }) | (_GuardrailAutomatedReasoningFinding & { invalid: GuardrailAutomatedReasoningInvalidFinding }) | (_GuardrailAutomatedReasoningFinding & { satisfiable: GuardrailAutomatedReasoningSatisfiableFinding }) | (_GuardrailAutomatedReasoningFinding & { impossible: GuardrailAutomatedReasoningImpossibleFinding }) | (_GuardrailAutomatedReasoningFinding & { translationAmbiguous: GuardrailAutomatedReasoningTranslationAmbiguousFinding }) | (_GuardrailAutomatedReasoningFinding & { tooComplex: GuardrailAutomatedReasoningTooComplexFinding }) | (_GuardrailAutomatedReasoningFinding & { noTranslations: GuardrailAutomatedReasoningNoTranslationsFinding }); +export type GuardrailAutomatedReasoningFindingList = Array; export interface GuardrailAutomatedReasoningImpossibleFinding { translation?: GuardrailAutomatedReasoningTranslation; contradictingRules?: Array; @@ -605,8 +413,7 @@ export interface GuardrailAutomatedReasoningImpossibleFinding { export interface GuardrailAutomatedReasoningInputTextReference { text?: string; } -export type GuardrailAutomatedReasoningInputTextReferenceList = - Array; +export type GuardrailAutomatedReasoningInputTextReferenceList = Array; export interface GuardrailAutomatedReasoningInvalidFinding { translation?: GuardrailAutomatedReasoningTranslation; contradictingRules?: Array; @@ -617,10 +424,9 @@ export interface GuardrailAutomatedReasoningLogicWarning { premises?: Array; claims?: Array; } -export type GuardrailAutomatedReasoningLogicWarningType = - | "ALWAYS_FALSE" - | "ALWAYS_TRUE"; -export interface GuardrailAutomatedReasoningNoTranslationsFinding {} +export type GuardrailAutomatedReasoningLogicWarningType = "ALWAYS_FALSE" | "ALWAYS_TRUE"; +export interface GuardrailAutomatedReasoningNoTranslationsFinding { +} export type GuardrailAutomatedReasoningPoliciesProcessed = number; export interface GuardrailAutomatedReasoningPolicyAssessment { @@ -634,8 +440,7 @@ export interface GuardrailAutomatedReasoningRule { identifier?: string; policyVersionArn?: string; } -export type GuardrailAutomatedReasoningRuleList = - Array; +export type GuardrailAutomatedReasoningRuleList = Array; export interface GuardrailAutomatedReasoningSatisfiableFinding { translation?: GuardrailAutomatedReasoningTranslation; claimsTrueScenario?: GuardrailAutomatedReasoningScenario; @@ -649,13 +454,13 @@ export interface GuardrailAutomatedReasoningStatement { logic?: string; naturalLanguage?: string; } -export type GuardrailAutomatedReasoningStatementList = - Array; +export type GuardrailAutomatedReasoningStatementList = Array; export type GuardrailAutomatedReasoningStatementLogicContent = string; export type GuardrailAutomatedReasoningStatementNaturalLanguageContent = string; -export interface GuardrailAutomatedReasoningTooComplexFinding {} +export interface GuardrailAutomatedReasoningTooComplexFinding { +} export interface GuardrailAutomatedReasoningTranslation { premises?: Array; claims?: Array; @@ -669,13 +474,11 @@ export interface GuardrailAutomatedReasoningTranslationAmbiguousFinding { } export type GuardrailAutomatedReasoningTranslationConfidence = number; -export type GuardrailAutomatedReasoningTranslationList = - Array; +export type GuardrailAutomatedReasoningTranslationList = Array; export interface GuardrailAutomatedReasoningTranslationOption { translations?: Array; } -export type GuardrailAutomatedReasoningTranslationOptionList = - Array; +export type GuardrailAutomatedReasoningTranslationOptionList = Array; export interface GuardrailAutomatedReasoningValidFinding { translation?: GuardrailAutomatedReasoningTranslation; claimsTrueScenario?: GuardrailAutomatedReasoningScenario; @@ -692,9 +495,7 @@ interface _GuardrailContentBlock { image?: GuardrailImageBlock; } -export type GuardrailContentBlock = - | (_GuardrailContentBlock & { text: GuardrailTextBlock }) - | (_GuardrailContentBlock & { image: GuardrailImageBlock }); +export type GuardrailContentBlock = (_GuardrailContentBlock & { text: GuardrailTextBlock }) | (_GuardrailContentBlock & { image: GuardrailImageBlock }); export type GuardrailContentBlockList = Array; export interface GuardrailContentFilter { type: GuardrailContentFilterType; @@ -703,20 +504,10 @@ export interface GuardrailContentFilter { action: GuardrailContentPolicyAction; detected?: boolean; } -export type GuardrailContentFilterConfidence = - | "NONE" - | "LOW" - | "MEDIUM" - | "HIGH"; +export type GuardrailContentFilterConfidence = "NONE" | "LOW" | "MEDIUM" | "HIGH"; export type GuardrailContentFilterList = Array; export type GuardrailContentFilterStrength = "NONE" | "LOW" | "MEDIUM" | "HIGH"; -export type GuardrailContentFilterType = - | "INSULTS" - | "HATE" - | "SEXUAL" - | "VIOLENCE" - | "MISCONDUCT" - | "PROMPT_ATTACK"; +export type GuardrailContentFilterType = "INSULTS" | "HATE" | "SEXUAL" | "VIOLENCE" | "MISCONDUCT" | "PROMPT_ATTACK"; export type GuardrailContentPolicyAction = "BLOCKED" | "NONE"; export interface GuardrailContentPolicyAssessment { filters: Array; @@ -725,10 +516,7 @@ export type GuardrailContentPolicyImageUnitsProcessed = number; export type GuardrailContentPolicyUnitsProcessed = number; -export type GuardrailContentQualifier = - | "grounding_source" - | "query" - | "guard_content"; +export type GuardrailContentQualifier = "grounding_source" | "query" | "guard_content"; export type GuardrailContentQualifierList = Array; export type GuardrailContentSource = "INPUT" | "OUTPUT"; export interface GuardrailContextualGroundingFilter { @@ -738,8 +526,7 @@ export interface GuardrailContextualGroundingFilter { action: GuardrailContextualGroundingPolicyAction; detected?: boolean; } -export type GuardrailContextualGroundingFilters = - Array; +export type GuardrailContextualGroundingFilters = Array; export type GuardrailContextualGroundingFilterType = "GROUNDING" | "RELEVANCE"; export type GuardrailContextualGroundingPolicyAction = "BLOCKED" | "NONE"; export interface GuardrailContextualGroundingPolicyAssessment { @@ -752,15 +539,9 @@ interface _GuardrailConverseContentBlock { image?: GuardrailConverseImageBlock; } -export type GuardrailConverseContentBlock = - | (_GuardrailConverseContentBlock & { text: GuardrailConverseTextBlock }) - | (_GuardrailConverseContentBlock & { image: GuardrailConverseImageBlock }); -export type GuardrailConverseContentQualifier = - | "grounding_source" - | "query" - | "guard_content"; -export type GuardrailConverseContentQualifierList = - Array; +export type GuardrailConverseContentBlock = (_GuardrailConverseContentBlock & { text: GuardrailConverseTextBlock }) | (_GuardrailConverseContentBlock & { image: GuardrailConverseImageBlock }); +export type GuardrailConverseContentQualifier = "grounding_source" | "query" | "guard_content"; +export type GuardrailConverseContentQualifierList = Array; export interface GuardrailConverseImageBlock { format: GuardrailConverseImageFormat; source: GuardrailConverseImageSource; @@ -770,9 +551,7 @@ interface _GuardrailConverseImageSource { bytes?: Uint8Array | string; } -export type GuardrailConverseImageSource = _GuardrailConverseImageSource & { - bytes: Uint8Array | string; -}; +export type GuardrailConverseImageSource = (_GuardrailConverseImageSource & { bytes: Uint8Array | string }); export interface GuardrailConverseTextBlock { text: string; qualifiers?: Array; @@ -802,9 +581,7 @@ interface _GuardrailImageSource { bytes?: Uint8Array | string; } -export type GuardrailImageSource = _GuardrailImageSource & { - bytes: Uint8Array | string; -}; +export type GuardrailImageSource = (_GuardrailImageSource & { bytes: Uint8Array | string }); export interface GuardrailInvocationMetrics { guardrailProcessingLatency?: number; usage?: GuardrailUsage; @@ -832,38 +609,7 @@ export interface GuardrailPiiEntityFilter { detected?: boolean; } export type GuardrailPiiEntityFilterList = Array; -export type GuardrailPiiEntityType = - | "ADDRESS" - | "AGE" - | "AWS_ACCESS_KEY" - | "AWS_SECRET_KEY" - | "CA_HEALTH_NUMBER" - | "CA_SOCIAL_INSURANCE_NUMBER" - | "CREDIT_DEBIT_CARD_CVV" - | "CREDIT_DEBIT_CARD_EXPIRY" - | "CREDIT_DEBIT_CARD_NUMBER" - | "DRIVER_ID" - | "EMAIL" - | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" - | "IP_ADDRESS" - | "LICENSE_PLATE" - | "MAC_ADDRESS" - | "NAME" - | "PASSWORD" - | "PHONE" - | "PIN" - | "SWIFT_CODE" - | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" - | "UK_NATIONAL_INSURANCE_NUMBER" - | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" - | "URL" - | "USERNAME" - | "US_BANK_ACCOUNT_NUMBER" - | "US_BANK_ROUTING_NUMBER" - | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" - | "US_PASSPORT_NUMBER" - | "US_SOCIAL_SECURITY_NUMBER" - | "VEHICLE_IDENTIFICATION_NUMBER"; +export type GuardrailPiiEntityType = "ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER"; export type GuardrailProcessingLatency = number; export interface GuardrailRegexFilter { @@ -874,10 +620,7 @@ export interface GuardrailRegexFilter { detected?: boolean; } export type GuardrailRegexFilterList = Array; -export type GuardrailSensitiveInformationPolicyAction = - | "ANONYMIZED" - | "BLOCKED" - | "NONE"; +export type GuardrailSensitiveInformationPolicyAction = "ANONYMIZED" | "BLOCKED" | "NONE"; export interface GuardrailSensitiveInformationPolicyAssessment { piiEntities: Array; regexes: Array; @@ -954,9 +697,7 @@ interface _ImageSource { s3Location?: S3Location; } -export type ImageSource = - | (_ImageSource & { bytes: Uint8Array | string }) - | (_ImageSource & { s3Location: S3Location }); +export type ImageSource = (_ImageSource & { bytes: Uint8Array | string }) | (_ImageSource & { s3Location: S3Location }); export type ImagesTotal = number; export interface InferenceConfiguration { @@ -998,10 +739,7 @@ interface _InvokeModelWithBidirectionalStreamInput { chunk?: BidirectionalInputPayloadPart; } -export type InvokeModelWithBidirectionalStreamInput = - _InvokeModelWithBidirectionalStreamInput & { - chunk: BidirectionalInputPayloadPart; - }; +export type InvokeModelWithBidirectionalStreamInput = (_InvokeModelWithBidirectionalStreamInput & { chunk: BidirectionalInputPayloadPart }); interface _InvokeModelWithBidirectionalStreamOutput { chunk?: BidirectionalOutputPayloadPart; internalServerException?: InternalServerException; @@ -1012,28 +750,7 @@ interface _InvokeModelWithBidirectionalStreamOutput { serviceUnavailableException?: ServiceUnavailableException; } -export type InvokeModelWithBidirectionalStreamOutput = - | (_InvokeModelWithBidirectionalStreamOutput & { - chunk: BidirectionalOutputPayloadPart; - }) - | (_InvokeModelWithBidirectionalStreamOutput & { - internalServerException: InternalServerException; - }) - | (_InvokeModelWithBidirectionalStreamOutput & { - modelStreamErrorException: ModelStreamErrorException; - }) - | (_InvokeModelWithBidirectionalStreamOutput & { - validationException: ValidationException; - }) - | (_InvokeModelWithBidirectionalStreamOutput & { - throttlingException: ThrottlingException; - }) - | (_InvokeModelWithBidirectionalStreamOutput & { - modelTimeoutException: ModelTimeoutException; - }) - | (_InvokeModelWithBidirectionalStreamOutput & { - serviceUnavailableException: ServiceUnavailableException; - }); +export type InvokeModelWithBidirectionalStreamOutput = (_InvokeModelWithBidirectionalStreamOutput & { chunk: BidirectionalOutputPayloadPart }) | (_InvokeModelWithBidirectionalStreamOutput & { internalServerException: InternalServerException }) | (_InvokeModelWithBidirectionalStreamOutput & { modelStreamErrorException: ModelStreamErrorException }) | (_InvokeModelWithBidirectionalStreamOutput & { validationException: ValidationException }) | (_InvokeModelWithBidirectionalStreamOutput & { throttlingException: ThrottlingException }) | (_InvokeModelWithBidirectionalStreamOutput & { modelTimeoutException: ModelTimeoutException }) | (_InvokeModelWithBidirectionalStreamOutput & { serviceUnavailableException: ServiceUnavailableException }); export interface InvokeModelWithBidirectionalStreamRequest { modelId: string; body: InvokeModelWithBidirectionalStreamInput; @@ -1140,25 +857,20 @@ interface _PromptVariableValues { text?: string; } -export type PromptVariableValues = _PromptVariableValues & { text: string }; +export type PromptVariableValues = (_PromptVariableValues & { text: string }); interface _ReasoningContentBlock { reasoningText?: ReasoningTextBlock; redactedContent?: Uint8Array | string; } -export type ReasoningContentBlock = - | (_ReasoningContentBlock & { reasoningText: ReasoningTextBlock }) - | (_ReasoningContentBlock & { redactedContent: Uint8Array | string }); +export type ReasoningContentBlock = (_ReasoningContentBlock & { reasoningText: ReasoningTextBlock }) | (_ReasoningContentBlock & { redactedContent: Uint8Array | string }); interface _ReasoningContentBlockDelta { text?: string; redactedContent?: Uint8Array | string; signature?: string; } -export type ReasoningContentBlockDelta = - | (_ReasoningContentBlockDelta & { text: string }) - | (_ReasoningContentBlockDelta & { redactedContent: Uint8Array | string }) - | (_ReasoningContentBlockDelta & { signature: string }); +export type ReasoningContentBlockDelta = (_ReasoningContentBlockDelta & { text: string }) | (_ReasoningContentBlockDelta & { redactedContent: Uint8Array | string }) | (_ReasoningContentBlockDelta & { signature: string }); export interface ReasoningTextBlock { text: string; signature?: string; @@ -1179,16 +891,7 @@ interface _ResponseStream { serviceUnavailableException?: ServiceUnavailableException; } -export type ResponseStream = - | (_ResponseStream & { chunk: PayloadPart }) - | (_ResponseStream & { internalServerException: InternalServerException }) - | (_ResponseStream & { modelStreamErrorException: ModelStreamErrorException }) - | (_ResponseStream & { validationException: ValidationException }) - | (_ResponseStream & { throttlingException: ThrottlingException }) - | (_ResponseStream & { modelTimeoutException: ModelTimeoutException }) - | (_ResponseStream & { - serviceUnavailableException: ServiceUnavailableException; - }); +export type ResponseStream = (_ResponseStream & { chunk: PayloadPart }) | (_ResponseStream & { internalServerException: InternalServerException }) | (_ResponseStream & { modelStreamErrorException: ModelStreamErrorException }) | (_ResponseStream & { validationException: ValidationException }) | (_ResponseStream & { throttlingException: ThrottlingException }) | (_ResponseStream & { modelTimeoutException: ModelTimeoutException }) | (_ResponseStream & { serviceUnavailableException: ServiceUnavailableException }); export interface S3Location { uri: string; bucketOwner?: string; @@ -1222,24 +925,14 @@ export interface StartAsyncInvokeResponse { } export type StatusCode = number; -export type StopReason = - | "end_turn" - | "tool_use" - | "max_tokens" - | "stop_sequence" - | "guardrail_intervened" - | "content_filtered" - | "model_context_window_exceeded"; +export type StopReason = "end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "model_context_window_exceeded"; interface _SystemContentBlock { text?: string; guardContent?: GuardrailConverseContentBlock; cachePoint?: CachePointBlock; } -export type SystemContentBlock = - | (_SystemContentBlock & { text: string }) - | (_SystemContentBlock & { guardContent: GuardrailConverseContentBlock }) - | (_SystemContentBlock & { cachePoint: CachePointBlock }); +export type SystemContentBlock = (_SystemContentBlock & { text: string }) | (_SystemContentBlock & { guardContent: GuardrailConverseContentBlock }) | (_SystemContentBlock & { cachePoint: CachePointBlock }); export type SystemContentBlocks = Array; export interface SystemTool { name: string; @@ -1277,20 +970,14 @@ interface _Tool { cachePoint?: CachePointBlock; } -export type Tool = - | (_Tool & { toolSpec: ToolSpecification }) - | (_Tool & { systemTool: SystemTool }) - | (_Tool & { cachePoint: CachePointBlock }); +export type Tool = (_Tool & { toolSpec: ToolSpecification }) | (_Tool & { systemTool: SystemTool }) | (_Tool & { cachePoint: CachePointBlock }); interface _ToolChoice { auto?: AutoToolChoice; any?: AnyToolChoice; tool?: SpecificToolChoice; } -export type ToolChoice = - | (_ToolChoice & { auto: AutoToolChoice }) - | (_ToolChoice & { any: AnyToolChoice }) - | (_ToolChoice & { tool: SpecificToolChoice }); +export type ToolChoice = (_ToolChoice & { auto: AutoToolChoice }) | (_ToolChoice & { any: AnyToolChoice }) | (_ToolChoice & { tool: SpecificToolChoice }); export interface ToolConfiguration { tools: Array; toolChoice?: ToolChoice; @@ -1299,7 +986,7 @@ interface _ToolInputSchema { json?: unknown; } -export type ToolInputSchema = _ToolInputSchema & { json: unknown }; +export type ToolInputSchema = (_ToolInputSchema & { json: unknown }); export type ToolName = string; export interface ToolResultBlock { @@ -1312,7 +999,7 @@ interface _ToolResultBlockDelta { text?: string; } -export type ToolResultBlockDelta = _ToolResultBlockDelta & { text: string }; +export type ToolResultBlockDelta = (_ToolResultBlockDelta & { text: string }); export type ToolResultBlocksDelta = Array; export interface ToolResultBlockStart { toolUseId: string; @@ -1327,12 +1014,7 @@ interface _ToolResultContentBlock { video?: VideoBlock; } -export type ToolResultContentBlock = - | (_ToolResultContentBlock & { json: unknown }) - | (_ToolResultContentBlock & { text: string }) - | (_ToolResultContentBlock & { image: ImageBlock }) - | (_ToolResultContentBlock & { document: DocumentBlock }) - | (_ToolResultContentBlock & { video: VideoBlock }); +export type ToolResultContentBlock = (_ToolResultContentBlock & { json: unknown }) | (_ToolResultContentBlock & { text: string }) | (_ToolResultContentBlock & { image: ImageBlock }) | (_ToolResultContentBlock & { document: DocumentBlock }) | (_ToolResultContentBlock & { video: VideoBlock }); export type ToolResultContentBlocks = Array; export type ToolResultStatus = "success" | "error"; export type Tools = Array; @@ -1368,24 +1050,13 @@ export interface VideoBlock { format: VideoFormat; source: VideoSource; } -export type VideoFormat = - | "mkv" - | "mov" - | "mp4" - | "webm" - | "flv" - | "mpeg" - | "mpg" - | "wmv" - | "three_gp"; +export type VideoFormat = "mkv" | "mov" | "mp4" | "webm" | "flv" | "mpeg" | "mpg" | "wmv" | "three_gp"; interface _VideoSource { bytes?: Uint8Array | string; s3Location?: S3Location; } -export type VideoSource = - | (_VideoSource & { bytes: Uint8Array | string }) - | (_VideoSource & { s3Location: S3Location }); +export type VideoSource = (_VideoSource & { bytes: Uint8Array | string }) | (_VideoSource & { s3Location: S3Location }); export interface WebLocation { url?: string; domain?: string; @@ -1539,17 +1210,5 @@ export declare namespace StartAsyncInvoke { | CommonAwsError; } -export type BedrockRuntimeErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ModelErrorException - | ModelNotReadyException - | ModelStreamErrorException - | ModelTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BedrockRuntimeErrors = AccessDeniedException | ConflictException | InternalServerException | ModelErrorException | ModelNotReadyException | ModelStreamErrorException | ModelTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/bedrock/index.ts b/src/services/bedrock/index.ts index c6c2630b..959dae86 100644 --- a/src/services/bedrock/index.ts +++ b/src/services/bedrock/index.ts @@ -5,23 +5,7 @@ import type { Bedrock as _BedrockClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,143 +15,105 @@ const metadata = { sigV4ServiceName: "bedrock", endpointPrefix: "bedrock", operations: { - BatchDeleteEvaluationJob: "POST /evaluation-jobs/batch-delete", - CancelAutomatedReasoningPolicyBuildWorkflow: - "POST /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/cancel", - CreateAutomatedReasoningPolicy: "POST /automated-reasoning-policies", - CreateAutomatedReasoningPolicyTestCase: - "POST /automated-reasoning-policies/{policyArn}/test-cases", - CreateAutomatedReasoningPolicyVersion: - "POST /automated-reasoning-policies/{policyArn}/versions", - CreateCustomModel: "POST /custom-models/create-custom-model", - CreateCustomModelDeployment: - "POST /model-customization/custom-model-deployments", - CreateEvaluationJob: "POST /evaluation-jobs", - CreateFoundationModelAgreement: "POST /create-foundation-model-agreement", - CreateGuardrail: "POST /guardrails", - CreateGuardrailVersion: "POST /guardrails/{guardrailIdentifier}", - CreateInferenceProfile: "POST /inference-profiles", - CreateMarketplaceModelEndpoint: "POST /marketplace-model/endpoints", - CreateModelCopyJob: "POST /model-copy-jobs", - CreateModelCustomizationJob: "POST /model-customization-jobs", - CreateModelImportJob: "POST /model-import-jobs", - CreateModelInvocationJob: "POST /model-invocation-job", - CreatePromptRouter: "POST /prompt-routers", - CreateProvisionedModelThroughput: "POST /provisioned-model-throughput", - DeleteAutomatedReasoningPolicy: - "DELETE /automated-reasoning-policies/{policyArn}", - DeleteAutomatedReasoningPolicyBuildWorkflow: - "DELETE /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}", - DeleteAutomatedReasoningPolicyTestCase: - "DELETE /automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", - DeleteCustomModel: "DELETE /custom-models/{modelIdentifier}", - DeleteCustomModelDeployment: - "DELETE /model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", - DeleteFoundationModelAgreement: "POST /delete-foundation-model-agreement", - DeleteGuardrail: "DELETE /guardrails/{guardrailIdentifier}", - DeleteImportedModel: "DELETE /imported-models/{modelIdentifier}", - DeleteInferenceProfile: - "DELETE /inference-profiles/{inferenceProfileIdentifier}", - DeleteMarketplaceModelEndpoint: - "DELETE /marketplace-model/endpoints/{endpointArn}", - DeleteModelInvocationLoggingConfiguration: - "DELETE /logging/modelinvocations", - DeletePromptRouter: "DELETE /prompt-routers/{promptRouterArn}", - DeleteProvisionedModelThroughput: - "DELETE /provisioned-model-throughput/{provisionedModelId}", - DeregisterMarketplaceModelEndpoint: - "DELETE /marketplace-model/endpoints/{endpointArn}/registration", - ExportAutomatedReasoningPolicyVersion: { + "BatchDeleteEvaluationJob": "POST /evaluation-jobs/batch-delete", + "CancelAutomatedReasoningPolicyBuildWorkflow": "POST /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/cancel", + "CreateAutomatedReasoningPolicy": "POST /automated-reasoning-policies", + "CreateAutomatedReasoningPolicyTestCase": "POST /automated-reasoning-policies/{policyArn}/test-cases", + "CreateAutomatedReasoningPolicyVersion": "POST /automated-reasoning-policies/{policyArn}/versions", + "CreateCustomModel": "POST /custom-models/create-custom-model", + "CreateCustomModelDeployment": "POST /model-customization/custom-model-deployments", + "CreateEvaluationJob": "POST /evaluation-jobs", + "CreateFoundationModelAgreement": "POST /create-foundation-model-agreement", + "CreateGuardrail": "POST /guardrails", + "CreateGuardrailVersion": "POST /guardrails/{guardrailIdentifier}", + "CreateInferenceProfile": "POST /inference-profiles", + "CreateMarketplaceModelEndpoint": "POST /marketplace-model/endpoints", + "CreateModelCopyJob": "POST /model-copy-jobs", + "CreateModelCustomizationJob": "POST /model-customization-jobs", + "CreateModelImportJob": "POST /model-import-jobs", + "CreateModelInvocationJob": "POST /model-invocation-job", + "CreatePromptRouter": "POST /prompt-routers", + "CreateProvisionedModelThroughput": "POST /provisioned-model-throughput", + "DeleteAutomatedReasoningPolicy": "DELETE /automated-reasoning-policies/{policyArn}", + "DeleteAutomatedReasoningPolicyBuildWorkflow": "DELETE /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}", + "DeleteAutomatedReasoningPolicyTestCase": "DELETE /automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", + "DeleteCustomModel": "DELETE /custom-models/{modelIdentifier}", + "DeleteCustomModelDeployment": "DELETE /model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", + "DeleteFoundationModelAgreement": "POST /delete-foundation-model-agreement", + "DeleteGuardrail": "DELETE /guardrails/{guardrailIdentifier}", + "DeleteImportedModel": "DELETE /imported-models/{modelIdentifier}", + "DeleteInferenceProfile": "DELETE /inference-profiles/{inferenceProfileIdentifier}", + "DeleteMarketplaceModelEndpoint": "DELETE /marketplace-model/endpoints/{endpointArn}", + "DeleteModelInvocationLoggingConfiguration": "DELETE /logging/modelinvocations", + "DeletePromptRouter": "DELETE /prompt-routers/{promptRouterArn}", + "DeleteProvisionedModelThroughput": "DELETE /provisioned-model-throughput/{provisionedModelId}", + "DeregisterMarketplaceModelEndpoint": "DELETE /marketplace-model/endpoints/{endpointArn}/registration", + "ExportAutomatedReasoningPolicyVersion": { http: "GET /automated-reasoning-policies/{policyArn}/export", traits: { - policyDefinition: "httpPayload", + "policyDefinition": "httpPayload", }, }, - GetAutomatedReasoningPolicy: - "GET /automated-reasoning-policies/{policyArn}", - GetAutomatedReasoningPolicyAnnotations: - "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations", - GetAutomatedReasoningPolicyBuildWorkflow: - "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}", - GetAutomatedReasoningPolicyBuildWorkflowResultAssets: - "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/result-assets", - GetAutomatedReasoningPolicyNextScenario: - "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/scenarios", - GetAutomatedReasoningPolicyTestCase: - "GET /automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", - GetAutomatedReasoningPolicyTestResult: - "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-cases/{testCaseId}/test-results", - GetCustomModel: "GET /custom-models/{modelIdentifier}", - GetCustomModelDeployment: - "GET /model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", - GetEvaluationJob: "GET /evaluation-jobs/{jobIdentifier}", - GetFoundationModel: "GET /foundation-models/{modelIdentifier}", - GetFoundationModelAvailability: - "GET /foundation-model-availability/{modelId}", - GetGuardrail: "GET /guardrails/{guardrailIdentifier}", - GetImportedModel: "GET /imported-models/{modelIdentifier}", - GetInferenceProfile: "GET /inference-profiles/{inferenceProfileIdentifier}", - GetMarketplaceModelEndpoint: - "GET /marketplace-model/endpoints/{endpointArn}", - GetModelCopyJob: "GET /model-copy-jobs/{jobArn}", - GetModelCustomizationJob: "GET /model-customization-jobs/{jobIdentifier}", - GetModelImportJob: "GET /model-import-jobs/{jobIdentifier}", - GetModelInvocationJob: "GET /model-invocation-job/{jobIdentifier}", - GetModelInvocationLoggingConfiguration: "GET /logging/modelinvocations", - GetPromptRouter: "GET /prompt-routers/{promptRouterArn}", - GetProvisionedModelThroughput: - "GET /provisioned-model-throughput/{provisionedModelId}", - GetUseCaseForModelAccess: "GET /use-case-for-model-access", - ListAutomatedReasoningPolicies: "GET /automated-reasoning-policies", - ListAutomatedReasoningPolicyBuildWorkflows: - "GET /automated-reasoning-policies/{policyArn}/build-workflows", - ListAutomatedReasoningPolicyTestCases: - "GET /automated-reasoning-policies/{policyArn}/test-cases", - ListAutomatedReasoningPolicyTestResults: - "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-results", - ListCustomModelDeployments: - "GET /model-customization/custom-model-deployments", - ListCustomModels: "GET /custom-models", - ListEvaluationJobs: "GET /evaluation-jobs", - ListFoundationModelAgreementOffers: - "GET /list-foundation-model-agreement-offers/{modelId}", - ListFoundationModels: "GET /foundation-models", - ListGuardrails: "GET /guardrails", - ListImportedModels: "GET /imported-models", - ListInferenceProfiles: "GET /inference-profiles", - ListMarketplaceModelEndpoints: "GET /marketplace-model/endpoints", - ListModelCopyJobs: "GET /model-copy-jobs", - ListModelCustomizationJobs: "GET /model-customization-jobs", - ListModelImportJobs: "GET /model-import-jobs", - ListModelInvocationJobs: "GET /model-invocation-jobs", - ListPromptRouters: "GET /prompt-routers", - ListProvisionedModelThroughputs: "GET /provisioned-model-throughputs", - ListTagsForResource: "POST /listTagsForResource", - PutModelInvocationLoggingConfiguration: "PUT /logging/modelinvocations", - PutUseCaseForModelAccess: "POST /use-case-for-model-access", - RegisterMarketplaceModelEndpoint: - "POST /marketplace-model/endpoints/{endpointIdentifier}/registration", - StartAutomatedReasoningPolicyBuildWorkflow: - "POST /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowType}/start", - StartAutomatedReasoningPolicyTestWorkflow: - "POST /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-workflows", - StopEvaluationJob: "POST /evaluation-job/{jobIdentifier}/stop", - StopModelCustomizationJob: - "POST /model-customization-jobs/{jobIdentifier}/stop", - StopModelInvocationJob: "POST /model-invocation-job/{jobIdentifier}/stop", - TagResource: "POST /tagResource", - UntagResource: "POST /untagResource", - UpdateAutomatedReasoningPolicy: - "PATCH /automated-reasoning-policies/{policyArn}", - UpdateAutomatedReasoningPolicyAnnotations: - "PATCH /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations", - UpdateAutomatedReasoningPolicyTestCase: - "PATCH /automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", - UpdateGuardrail: "PUT /guardrails/{guardrailIdentifier}", - UpdateMarketplaceModelEndpoint: - "PATCH /marketplace-model/endpoints/{endpointArn}", - UpdateProvisionedModelThroughput: - "PATCH /provisioned-model-throughput/{provisionedModelId}", + "GetAutomatedReasoningPolicy": "GET /automated-reasoning-policies/{policyArn}", + "GetAutomatedReasoningPolicyAnnotations": "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations", + "GetAutomatedReasoningPolicyBuildWorkflow": "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}", + "GetAutomatedReasoningPolicyBuildWorkflowResultAssets": "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/result-assets", + "GetAutomatedReasoningPolicyNextScenario": "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/scenarios", + "GetAutomatedReasoningPolicyTestCase": "GET /automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", + "GetAutomatedReasoningPolicyTestResult": "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-cases/{testCaseId}/test-results", + "GetCustomModel": "GET /custom-models/{modelIdentifier}", + "GetCustomModelDeployment": "GET /model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", + "GetEvaluationJob": "GET /evaluation-jobs/{jobIdentifier}", + "GetFoundationModel": "GET /foundation-models/{modelIdentifier}", + "GetFoundationModelAvailability": "GET /foundation-model-availability/{modelId}", + "GetGuardrail": "GET /guardrails/{guardrailIdentifier}", + "GetImportedModel": "GET /imported-models/{modelIdentifier}", + "GetInferenceProfile": "GET /inference-profiles/{inferenceProfileIdentifier}", + "GetMarketplaceModelEndpoint": "GET /marketplace-model/endpoints/{endpointArn}", + "GetModelCopyJob": "GET /model-copy-jobs/{jobArn}", + "GetModelCustomizationJob": "GET /model-customization-jobs/{jobIdentifier}", + "GetModelImportJob": "GET /model-import-jobs/{jobIdentifier}", + "GetModelInvocationJob": "GET /model-invocation-job/{jobIdentifier}", + "GetModelInvocationLoggingConfiguration": "GET /logging/modelinvocations", + "GetPromptRouter": "GET /prompt-routers/{promptRouterArn}", + "GetProvisionedModelThroughput": "GET /provisioned-model-throughput/{provisionedModelId}", + "GetUseCaseForModelAccess": "GET /use-case-for-model-access", + "ListAutomatedReasoningPolicies": "GET /automated-reasoning-policies", + "ListAutomatedReasoningPolicyBuildWorkflows": "GET /automated-reasoning-policies/{policyArn}/build-workflows", + "ListAutomatedReasoningPolicyTestCases": "GET /automated-reasoning-policies/{policyArn}/test-cases", + "ListAutomatedReasoningPolicyTestResults": "GET /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-results", + "ListCustomModelDeployments": "GET /model-customization/custom-model-deployments", + "ListCustomModels": "GET /custom-models", + "ListEvaluationJobs": "GET /evaluation-jobs", + "ListFoundationModelAgreementOffers": "GET /list-foundation-model-agreement-offers/{modelId}", + "ListFoundationModels": "GET /foundation-models", + "ListGuardrails": "GET /guardrails", + "ListImportedModels": "GET /imported-models", + "ListInferenceProfiles": "GET /inference-profiles", + "ListMarketplaceModelEndpoints": "GET /marketplace-model/endpoints", + "ListModelCopyJobs": "GET /model-copy-jobs", + "ListModelCustomizationJobs": "GET /model-customization-jobs", + "ListModelImportJobs": "GET /model-import-jobs", + "ListModelInvocationJobs": "GET /model-invocation-jobs", + "ListPromptRouters": "GET /prompt-routers", + "ListProvisionedModelThroughputs": "GET /provisioned-model-throughputs", + "ListTagsForResource": "POST /listTagsForResource", + "PutModelInvocationLoggingConfiguration": "PUT /logging/modelinvocations", + "PutUseCaseForModelAccess": "POST /use-case-for-model-access", + "RegisterMarketplaceModelEndpoint": "POST /marketplace-model/endpoints/{endpointIdentifier}/registration", + "StartAutomatedReasoningPolicyBuildWorkflow": "POST /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowType}/start", + "StartAutomatedReasoningPolicyTestWorkflow": "POST /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/test-workflows", + "StopEvaluationJob": "POST /evaluation-job/{jobIdentifier}/stop", + "StopModelCustomizationJob": "POST /model-customization-jobs/{jobIdentifier}/stop", + "StopModelInvocationJob": "POST /model-invocation-job/{jobIdentifier}/stop", + "TagResource": "POST /tagResource", + "UntagResource": "POST /untagResource", + "UpdateAutomatedReasoningPolicy": "PATCH /automated-reasoning-policies/{policyArn}", + "UpdateAutomatedReasoningPolicyAnnotations": "PATCH /automated-reasoning-policies/{policyArn}/build-workflows/{buildWorkflowId}/annotations", + "UpdateAutomatedReasoningPolicyTestCase": "PATCH /automated-reasoning-policies/{policyArn}/test-cases/{testCaseId}", + "UpdateGuardrail": "PUT /guardrails/{guardrailIdentifier}", + "UpdateMarketplaceModelEndpoint": "PATCH /marketplace-model/endpoints/{endpointArn}", + "UpdateProvisionedModelThroughput": "PATCH /provisioned-model-throughput/{provisionedModelId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/bedrock/types.ts b/src/services/bedrock/types.ts index a852a602..fb6dc07c 100644 --- a/src/services/bedrock/types.ts +++ b/src/services/bedrock/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Bedrock extends AWSServiceClient { @@ -40,1089 +8,565 @@ export declare class Bedrock extends AWSServiceClient { input: BatchDeleteEvaluationJobRequest, ): Effect.Effect< BatchDeleteEvaluationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelAutomatedReasoningPolicyBuildWorkflow( input: CancelAutomatedReasoningPolicyBuildWorkflowRequest, ): Effect.Effect< CancelAutomatedReasoningPolicyBuildWorkflowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAutomatedReasoningPolicy( input: CreateAutomatedReasoningPolicyRequest, ): Effect.Effect< CreateAutomatedReasoningPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createAutomatedReasoningPolicyTestCase( input: CreateAutomatedReasoningPolicyTestCaseRequest, ): Effect.Effect< CreateAutomatedReasoningPolicyTestCaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAutomatedReasoningPolicyVersion( input: CreateAutomatedReasoningPolicyVersionRequest, ): Effect.Effect< CreateAutomatedReasoningPolicyVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createCustomModel( input: CreateCustomModelRequest, ): Effect.Effect< CreateCustomModelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createCustomModelDeployment( input: CreateCustomModelDeploymentRequest, ): Effect.Effect< CreateCustomModelDeploymentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createEvaluationJob( input: CreateEvaluationJobRequest, ): Effect.Effect< CreateEvaluationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFoundationModelAgreement( input: CreateFoundationModelAgreementRequest, ): Effect.Effect< CreateFoundationModelAgreementResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createGuardrail( input: CreateGuardrailRequest, ): Effect.Effect< CreateGuardrailResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createGuardrailVersion( input: CreateGuardrailVersionRequest, ): Effect.Effect< CreateGuardrailVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createInferenceProfile( input: CreateInferenceProfileRequest, ): Effect.Effect< CreateInferenceProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createMarketplaceModelEndpoint( input: CreateMarketplaceModelEndpointRequest, ): Effect.Effect< CreateMarketplaceModelEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createModelCopyJob( input: CreateModelCopyJobRequest, ): Effect.Effect< CreateModelCopyJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createModelCustomizationJob( input: CreateModelCustomizationJobRequest, ): Effect.Effect< CreateModelCustomizationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createModelImportJob( input: CreateModelImportJobRequest, ): Effect.Effect< CreateModelImportJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createModelInvocationJob( input: CreateModelInvocationJobRequest, ): Effect.Effect< CreateModelInvocationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPromptRouter( input: CreatePromptRouterRequest, ): Effect.Effect< CreatePromptRouterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createProvisionedModelThroughput( input: CreateProvisionedModelThroughputRequest, ): Effect.Effect< CreateProvisionedModelThroughputResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; deleteAutomatedReasoningPolicy( input: DeleteAutomatedReasoningPolicyRequest, ): Effect.Effect< DeleteAutomatedReasoningPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAutomatedReasoningPolicyBuildWorkflow( input: DeleteAutomatedReasoningPolicyBuildWorkflowRequest, ): Effect.Effect< DeleteAutomatedReasoningPolicyBuildWorkflowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAutomatedReasoningPolicyTestCase( input: DeleteAutomatedReasoningPolicyTestCaseRequest, ): Effect.Effect< DeleteAutomatedReasoningPolicyTestCaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCustomModel( input: DeleteCustomModelRequest, ): Effect.Effect< DeleteCustomModelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCustomModelDeployment( input: DeleteCustomModelDeploymentRequest, ): Effect.Effect< DeleteCustomModelDeploymentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFoundationModelAgreement( input: DeleteFoundationModelAgreementRequest, ): Effect.Effect< DeleteFoundationModelAgreementResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteGuardrail( input: DeleteGuardrailRequest, ): Effect.Effect< DeleteGuardrailResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteImportedModel( input: DeleteImportedModelRequest, ): Effect.Effect< DeleteImportedModelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteInferenceProfile( input: DeleteInferenceProfileRequest, ): Effect.Effect< DeleteInferenceProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMarketplaceModelEndpoint( input: DeleteMarketplaceModelEndpointRequest, ): Effect.Effect< DeleteMarketplaceModelEndpointResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteModelInvocationLoggingConfiguration( input: DeleteModelInvocationLoggingConfigurationRequest, ): Effect.Effect< DeleteModelInvocationLoggingConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; deletePromptRouter( input: DeletePromptRouterRequest, ): Effect.Effect< DeletePromptRouterResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProvisionedModelThroughput( input: DeleteProvisionedModelThroughputRequest, ): Effect.Effect< DeleteProvisionedModelThroughputResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deregisterMarketplaceModelEndpoint( input: DeregisterMarketplaceModelEndpointRequest, ): Effect.Effect< DeregisterMarketplaceModelEndpointResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; exportAutomatedReasoningPolicyVersion( input: ExportAutomatedReasoningPolicyVersionRequest, ): Effect.Effect< ExportAutomatedReasoningPolicyVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomatedReasoningPolicy( input: GetAutomatedReasoningPolicyRequest, ): Effect.Effect< GetAutomatedReasoningPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomatedReasoningPolicyAnnotations( input: GetAutomatedReasoningPolicyAnnotationsRequest, ): Effect.Effect< GetAutomatedReasoningPolicyAnnotationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomatedReasoningPolicyBuildWorkflow( input: GetAutomatedReasoningPolicyBuildWorkflowRequest, ): Effect.Effect< GetAutomatedReasoningPolicyBuildWorkflowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomatedReasoningPolicyBuildWorkflowResultAssets( input: GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest, ): Effect.Effect< GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomatedReasoningPolicyNextScenario( input: GetAutomatedReasoningPolicyNextScenarioRequest, ): Effect.Effect< GetAutomatedReasoningPolicyNextScenarioResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomatedReasoningPolicyTestCase( input: GetAutomatedReasoningPolicyTestCaseRequest, ): Effect.Effect< GetAutomatedReasoningPolicyTestCaseResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomatedReasoningPolicyTestResult( input: GetAutomatedReasoningPolicyTestResultRequest, ): Effect.Effect< GetAutomatedReasoningPolicyTestResultResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCustomModel( input: GetCustomModelRequest, ): Effect.Effect< GetCustomModelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCustomModelDeployment( input: GetCustomModelDeploymentRequest, ): Effect.Effect< GetCustomModelDeploymentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEvaluationJob( input: GetEvaluationJobRequest, ): Effect.Effect< GetEvaluationJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFoundationModel( input: GetFoundationModelRequest, ): Effect.Effect< GetFoundationModelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFoundationModelAvailability( input: GetFoundationModelAvailabilityRequest, ): Effect.Effect< GetFoundationModelAvailabilityResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGuardrail( input: GetGuardrailRequest, ): Effect.Effect< GetGuardrailResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getImportedModel( input: GetImportedModelRequest, ): Effect.Effect< GetImportedModelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getInferenceProfile( input: GetInferenceProfileRequest, ): Effect.Effect< GetInferenceProfileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMarketplaceModelEndpoint( input: GetMarketplaceModelEndpointRequest, - ): Effect.Effect< - GetMarketplaceModelEndpointResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ): Effect.Effect< + GetMarketplaceModelEndpointResponse, + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getModelCopyJob( input: GetModelCopyJobRequest, ): Effect.Effect< GetModelCopyJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getModelCustomizationJob( input: GetModelCustomizationJobRequest, ): Effect.Effect< GetModelCustomizationJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getModelImportJob( input: GetModelImportJobRequest, ): Effect.Effect< GetModelImportJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getModelInvocationJob( input: GetModelInvocationJobRequest, ): Effect.Effect< GetModelInvocationJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getModelInvocationLoggingConfiguration( input: GetModelInvocationLoggingConfigurationRequest, ): Effect.Effect< GetModelInvocationLoggingConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; getPromptRouter( input: GetPromptRouterRequest, ): Effect.Effect< GetPromptRouterResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProvisionedModelThroughput( input: GetProvisionedModelThroughputRequest, ): Effect.Effect< GetProvisionedModelThroughputResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getUseCaseForModelAccess( input: GetUseCaseForModelAccessRequest, ): Effect.Effect< GetUseCaseForModelAccessResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAutomatedReasoningPolicies( input: ListAutomatedReasoningPoliciesRequest, ): Effect.Effect< ListAutomatedReasoningPoliciesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAutomatedReasoningPolicyBuildWorkflows( input: ListAutomatedReasoningPolicyBuildWorkflowsRequest, ): Effect.Effect< ListAutomatedReasoningPolicyBuildWorkflowsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAutomatedReasoningPolicyTestCases( input: ListAutomatedReasoningPolicyTestCasesRequest, ): Effect.Effect< ListAutomatedReasoningPolicyTestCasesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAutomatedReasoningPolicyTestResults( input: ListAutomatedReasoningPolicyTestResultsRequest, ): Effect.Effect< ListAutomatedReasoningPolicyTestResultsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listCustomModelDeployments( input: ListCustomModelDeploymentsRequest, ): Effect.Effect< ListCustomModelDeploymentsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCustomModels( input: ListCustomModelsRequest, ): Effect.Effect< ListCustomModelsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEvaluationJobs( input: ListEvaluationJobsRequest, ): Effect.Effect< ListEvaluationJobsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listFoundationModelAgreementOffers( input: ListFoundationModelAgreementOffersRequest, ): Effect.Effect< ListFoundationModelAgreementOffersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFoundationModels( input: ListFoundationModelsRequest, ): Effect.Effect< ListFoundationModelsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listGuardrails( input: ListGuardrailsRequest, ): Effect.Effect< ListGuardrailsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listImportedModels( input: ListImportedModelsRequest, ): Effect.Effect< ListImportedModelsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listInferenceProfiles( input: ListInferenceProfilesRequest, ): Effect.Effect< ListInferenceProfilesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listMarketplaceModelEndpoints( input: ListMarketplaceModelEndpointsRequest, ): Effect.Effect< ListMarketplaceModelEndpointsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listModelCopyJobs( input: ListModelCopyJobsRequest, ): Effect.Effect< ListModelCopyJobsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listModelCustomizationJobs( input: ListModelCustomizationJobsRequest, ): Effect.Effect< ListModelCustomizationJobsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listModelImportJobs( input: ListModelImportJobsRequest, ): Effect.Effect< ListModelImportJobsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listModelInvocationJobs( input: ListModelInvocationJobsRequest, ): Effect.Effect< ListModelInvocationJobsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPromptRouters( input: ListPromptRoutersRequest, ): Effect.Effect< ListPromptRoutersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listProvisionedModelThroughputs( input: ListProvisionedModelThroughputsRequest, ): Effect.Effect< ListProvisionedModelThroughputsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putModelInvocationLoggingConfiguration( input: PutModelInvocationLoggingConfigurationRequest, ): Effect.Effect< PutModelInvocationLoggingConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putUseCaseForModelAccess( input: PutUseCaseForModelAccessRequest, ): Effect.Effect< PutUseCaseForModelAccessResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; registerMarketplaceModelEndpoint( input: RegisterMarketplaceModelEndpointRequest, ): Effect.Effect< RegisterMarketplaceModelEndpointResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; startAutomatedReasoningPolicyBuildWorkflow( input: StartAutomatedReasoningPolicyBuildWorkflowRequest, ): Effect.Effect< StartAutomatedReasoningPolicyBuildWorkflowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceInUseException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startAutomatedReasoningPolicyTestWorkflow( input: StartAutomatedReasoningPolicyTestWorkflowRequest, ): Effect.Effect< StartAutomatedReasoningPolicyTestWorkflowResponse, - | AccessDeniedException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopEvaluationJob( input: StopEvaluationJobRequest, ): Effect.Effect< StopEvaluationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopModelCustomizationJob( input: StopModelCustomizationJobRequest, ): Effect.Effect< StopModelCustomizationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopModelInvocationJob( input: StopModelInvocationJobRequest, ): Effect.Effect< StopModelInvocationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAutomatedReasoningPolicy( input: UpdateAutomatedReasoningPolicyRequest, ): Effect.Effect< UpdateAutomatedReasoningPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; updateAutomatedReasoningPolicyAnnotations( input: UpdateAutomatedReasoningPolicyAnnotationsRequest, ): Effect.Effect< UpdateAutomatedReasoningPolicyAnnotationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAutomatedReasoningPolicyTestCase( input: UpdateAutomatedReasoningPolicyTestCaseRequest, ): Effect.Effect< UpdateAutomatedReasoningPolicyTestCaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateGuardrail( input: UpdateGuardrailRequest, ): Effect.Effect< UpdateGuardrailResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateMarketplaceModelEndpoint( input: UpdateMarketplaceModelEndpointRequest, ): Effect.Effect< UpdateMarketplaceModelEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateProvisionedModelThroughput( input: UpdateProvisionedModelThroughputRequest, ): Effect.Effect< UpdateProvisionedModelThroughputResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1146,11 +590,7 @@ export interface AgreementAvailability { status: AgreementStatus; errorMessage?: string; } -export type AgreementStatus = - | "AVAILABLE" - | "PENDING" - | "NOT_AVAILABLE" - | "ERROR"; +export type AgreementStatus = "AVAILABLE" | "PENDING" | "NOT_AVAILABLE" | "ERROR"; export type ApplicationType = "ModelEvaluation" | "RagEvaluation"; export type Arn = string; @@ -1165,18 +605,13 @@ export interface AutomatedEvaluationCustomMetricConfig { customMetrics: Array; evaluatorModelConfig: CustomMetricEvaluatorModelConfig; } -export type AutomatedEvaluationCustomMetrics = - Array; +export type AutomatedEvaluationCustomMetrics = Array; interface _AutomatedEvaluationCustomMetricSource { customMetricDefinition?: CustomMetricDefinition; } -export type AutomatedEvaluationCustomMetricSource = - _AutomatedEvaluationCustomMetricSource & { - customMetricDefinition: CustomMetricDefinition; - }; -export type AutomatedReasoningCheckDifferenceScenarioList = - Array; +export type AutomatedEvaluationCustomMetricSource = (_AutomatedEvaluationCustomMetricSource & { customMetricDefinition: CustomMetricDefinition }); +export type AutomatedReasoningCheckDifferenceScenarioList = Array; interface _AutomatedReasoningCheckFinding { valid?: AutomatedReasoningCheckValidFinding; invalid?: AutomatedReasoningCheckInvalidFinding; @@ -1187,30 +622,8 @@ interface _AutomatedReasoningCheckFinding { noTranslations?: AutomatedReasoningCheckNoTranslationsFinding; } -export type AutomatedReasoningCheckFinding = - | (_AutomatedReasoningCheckFinding & { - valid: AutomatedReasoningCheckValidFinding; - }) - | (_AutomatedReasoningCheckFinding & { - invalid: AutomatedReasoningCheckInvalidFinding; - }) - | (_AutomatedReasoningCheckFinding & { - satisfiable: AutomatedReasoningCheckSatisfiableFinding; - }) - | (_AutomatedReasoningCheckFinding & { - impossible: AutomatedReasoningCheckImpossibleFinding; - }) - | (_AutomatedReasoningCheckFinding & { - translationAmbiguous: AutomatedReasoningCheckTranslationAmbiguousFinding; - }) - | (_AutomatedReasoningCheckFinding & { - tooComplex: AutomatedReasoningCheckTooComplexFinding; - }) - | (_AutomatedReasoningCheckFinding & { - noTranslations: AutomatedReasoningCheckNoTranslationsFinding; - }); -export type AutomatedReasoningCheckFindingList = - Array; +export type AutomatedReasoningCheckFinding = (_AutomatedReasoningCheckFinding & { valid: AutomatedReasoningCheckValidFinding }) | (_AutomatedReasoningCheckFinding & { invalid: AutomatedReasoningCheckInvalidFinding }) | (_AutomatedReasoningCheckFinding & { satisfiable: AutomatedReasoningCheckSatisfiableFinding }) | (_AutomatedReasoningCheckFinding & { impossible: AutomatedReasoningCheckImpossibleFinding }) | (_AutomatedReasoningCheckFinding & { translationAmbiguous: AutomatedReasoningCheckTranslationAmbiguousFinding }) | (_AutomatedReasoningCheckFinding & { tooComplex: AutomatedReasoningCheckTooComplexFinding }) | (_AutomatedReasoningCheckFinding & { noTranslations: AutomatedReasoningCheckNoTranslationsFinding }); +export type AutomatedReasoningCheckFindingList = Array; export interface AutomatedReasoningCheckImpossibleFinding { translation?: AutomatedReasoningCheckTranslation; contradictingRules?: Array; @@ -1219,8 +632,7 @@ export interface AutomatedReasoningCheckImpossibleFinding { export interface AutomatedReasoningCheckInputTextReference { text?: string; } -export type AutomatedReasoningCheckInputTextReferenceList = - Array; +export type AutomatedReasoningCheckInputTextReferenceList = Array; export interface AutomatedReasoningCheckInvalidFinding { translation?: AutomatedReasoningCheckTranslation; contradictingRules?: Array; @@ -1231,24 +643,15 @@ export interface AutomatedReasoningCheckLogicWarning { premises?: Array; claims?: Array; } -export type AutomatedReasoningCheckLogicWarningType = - | "ALWAYS_TRUE" - | "ALWAYS_FALSE"; -export interface AutomatedReasoningCheckNoTranslationsFinding {} -export type AutomatedReasoningCheckResult = - | "VALID" - | "INVALID" - | "SATISFIABLE" - | "IMPOSSIBLE" - | "TRANSLATION_AMBIGUOUS" - | "TOO_COMPLEX" - | "NO_TRANSLATION"; +export type AutomatedReasoningCheckLogicWarningType = "ALWAYS_TRUE" | "ALWAYS_FALSE"; +export interface AutomatedReasoningCheckNoTranslationsFinding { +} +export type AutomatedReasoningCheckResult = "VALID" | "INVALID" | "SATISFIABLE" | "IMPOSSIBLE" | "TRANSLATION_AMBIGUOUS" | "TOO_COMPLEX" | "NO_TRANSLATION"; export interface AutomatedReasoningCheckRule { id?: string; policyVersionArn?: string; } -export type AutomatedReasoningCheckRuleList = - Array; +export type AutomatedReasoningCheckRuleList = Array; export interface AutomatedReasoningCheckSatisfiableFinding { translation?: AutomatedReasoningCheckTranslation; claimsTrueScenario?: AutomatedReasoningCheckScenario; @@ -1258,7 +661,8 @@ export interface AutomatedReasoningCheckSatisfiableFinding { export interface AutomatedReasoningCheckScenario { statements?: Array; } -export interface AutomatedReasoningCheckTooComplexFinding {} +export interface AutomatedReasoningCheckTooComplexFinding { +} export interface AutomatedReasoningCheckTranslation { premises?: Array; claims: Array; @@ -1272,13 +676,11 @@ export interface AutomatedReasoningCheckTranslationAmbiguousFinding { } export type AutomatedReasoningCheckTranslationConfidence = number; -export type AutomatedReasoningCheckTranslationList = - Array; +export type AutomatedReasoningCheckTranslationList = Array; export interface AutomatedReasoningCheckTranslationOption { translations?: Array; } -export type AutomatedReasoningCheckTranslationOptionList = - Array; +export type AutomatedReasoningCheckTranslationOptionList = Array; export interface AutomatedReasoningCheckValidFinding { translation?: AutomatedReasoningCheckTranslation; claimsTrueScenario?: AutomatedReasoningCheckScenario; @@ -1293,8 +695,7 @@ export interface AutomatedReasoningLogicStatement { } export type AutomatedReasoningLogicStatementContent = string; -export type AutomatedReasoningLogicStatementList = - Array; +export type AutomatedReasoningLogicStatementList = Array; export type AutomatedReasoningNaturalLanguageStatementContent = string; export interface AutomatedReasoningPolicyAddRuleAnnotation { @@ -1342,52 +743,12 @@ interface _AutomatedReasoningPolicyAnnotation { ingestContent?: AutomatedReasoningPolicyIngestContentAnnotation; } -export type AutomatedReasoningPolicyAnnotation = - | (_AutomatedReasoningPolicyAnnotation & { - addType: AutomatedReasoningPolicyAddTypeAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - updateType: AutomatedReasoningPolicyUpdateTypeAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - deleteType: AutomatedReasoningPolicyDeleteTypeAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - addVariable: AutomatedReasoningPolicyAddVariableAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - updateVariable: AutomatedReasoningPolicyUpdateVariableAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - deleteVariable: AutomatedReasoningPolicyDeleteVariableAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - addRule: AutomatedReasoningPolicyAddRuleAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - updateRule: AutomatedReasoningPolicyUpdateRuleAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - deleteRule: AutomatedReasoningPolicyDeleteRuleAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - addRuleFromNaturalLanguage: AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - updateFromRulesFeedback: AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - updateFromScenarioFeedback: AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation; - }) - | (_AutomatedReasoningPolicyAnnotation & { - ingestContent: AutomatedReasoningPolicyIngestContentAnnotation; - }); +export type AutomatedReasoningPolicyAnnotation = (_AutomatedReasoningPolicyAnnotation & { addType: AutomatedReasoningPolicyAddTypeAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { updateType: AutomatedReasoningPolicyUpdateTypeAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { deleteType: AutomatedReasoningPolicyDeleteTypeAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { addVariable: AutomatedReasoningPolicyAddVariableAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { updateVariable: AutomatedReasoningPolicyUpdateVariableAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { deleteVariable: AutomatedReasoningPolicyDeleteVariableAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { addRule: AutomatedReasoningPolicyAddRuleAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { updateRule: AutomatedReasoningPolicyUpdateRuleAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { deleteRule: AutomatedReasoningPolicyDeleteRuleAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { addRuleFromNaturalLanguage: AutomatedReasoningPolicyAddRuleFromNaturalLanguageAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { updateFromRulesFeedback: AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { updateFromScenarioFeedback: AutomatedReasoningPolicyUpdateFromScenarioFeedbackAnnotation }) | (_AutomatedReasoningPolicyAnnotation & { ingestContent: AutomatedReasoningPolicyIngestContentAnnotation }); export type AutomatedReasoningPolicyAnnotationFeedbackNaturalLanguage = string; export type AutomatedReasoningPolicyAnnotationIngestContent = string; -export type AutomatedReasoningPolicyAnnotationList = - Array; +export type AutomatedReasoningPolicyAnnotationList = Array; export type AutomatedReasoningPolicyAnnotationRuleNaturalLanguage = string; export type AutomatedReasoningPolicyAnnotationStatus = "APPLIED" | "FAILED"; @@ -1409,32 +770,16 @@ export interface AutomatedReasoningPolicyBuildLogEntry { status: AutomatedReasoningPolicyAnnotationStatus; buildSteps: Array; } -export type AutomatedReasoningPolicyBuildLogEntryList = - Array; -export type AutomatedReasoningPolicyBuildMessageType = - | "INFO" - | "WARNING" - | "ERROR"; +export type AutomatedReasoningPolicyBuildLogEntryList = Array; +export type AutomatedReasoningPolicyBuildMessageType = "INFO" | "WARNING" | "ERROR"; interface _AutomatedReasoningPolicyBuildResultAssets { policyDefinition?: AutomatedReasoningPolicyDefinition; qualityReport?: AutomatedReasoningPolicyDefinitionQualityReport; buildLog?: AutomatedReasoningPolicyBuildLog; } -export type AutomatedReasoningPolicyBuildResultAssets = - | (_AutomatedReasoningPolicyBuildResultAssets & { - policyDefinition: AutomatedReasoningPolicyDefinition; - }) - | (_AutomatedReasoningPolicyBuildResultAssets & { - qualityReport: AutomatedReasoningPolicyDefinitionQualityReport; - }) - | (_AutomatedReasoningPolicyBuildResultAssets & { - buildLog: AutomatedReasoningPolicyBuildLog; - }); -export type AutomatedReasoningPolicyBuildResultAssetType = - | "BUILD_LOG" - | "QUALITY_REPORT" - | "POLICY_DEFINITION"; +export type AutomatedReasoningPolicyBuildResultAssets = (_AutomatedReasoningPolicyBuildResultAssets & { policyDefinition: AutomatedReasoningPolicyDefinition }) | (_AutomatedReasoningPolicyBuildResultAssets & { qualityReport: AutomatedReasoningPolicyDefinitionQualityReport }) | (_AutomatedReasoningPolicyBuildResultAssets & { buildLog: AutomatedReasoningPolicyBuildLog }); +export type AutomatedReasoningPolicyBuildResultAssetType = "BUILD_LOG" | "QUALITY_REPORT" | "POLICY_DEFINITION"; export interface AutomatedReasoningPolicyBuildStep { context: AutomatedReasoningPolicyBuildStepContext; priorElement?: AutomatedReasoningPolicyDefinitionElement; @@ -1445,29 +790,20 @@ interface _AutomatedReasoningPolicyBuildStepContext { mutation?: AutomatedReasoningPolicyMutation; } -export type AutomatedReasoningPolicyBuildStepContext = - | (_AutomatedReasoningPolicyBuildStepContext & { - planning: AutomatedReasoningPolicyPlanning; - }) - | (_AutomatedReasoningPolicyBuildStepContext & { - mutation: AutomatedReasoningPolicyMutation; - }); -export type AutomatedReasoningPolicyBuildStepList = - Array; +export type AutomatedReasoningPolicyBuildStepContext = (_AutomatedReasoningPolicyBuildStepContext & { planning: AutomatedReasoningPolicyPlanning }) | (_AutomatedReasoningPolicyBuildStepContext & { mutation: AutomatedReasoningPolicyMutation }); +export type AutomatedReasoningPolicyBuildStepList = Array; export interface AutomatedReasoningPolicyBuildStepMessage { message: string; messageType: AutomatedReasoningPolicyBuildMessageType; } -export type AutomatedReasoningPolicyBuildStepMessageList = - Array; +export type AutomatedReasoningPolicyBuildStepMessageList = Array; export interface AutomatedReasoningPolicyBuildWorkflowDocument { document: Uint8Array | string; documentContentType: AutomatedReasoningPolicyBuildDocumentContentType; documentName: string; documentDescription?: string; } -export type AutomatedReasoningPolicyBuildWorkflowDocumentList = - Array; +export type AutomatedReasoningPolicyBuildWorkflowDocumentList = Array; export type AutomatedReasoningPolicyBuildWorkflowId = string; export interface AutomatedReasoningPolicyBuildWorkflowRepairContent { @@ -1477,17 +813,8 @@ export interface AutomatedReasoningPolicyBuildWorkflowSource { policyDefinition?: AutomatedReasoningPolicyDefinition; workflowContent?: AutomatedReasoningPolicyWorkflowTypeContent; } -export type AutomatedReasoningPolicyBuildWorkflowStatus = - | "SCHEDULED" - | "CANCEL_REQUESTED" - | "PREPROCESSING" - | "BUILDING" - | "TESTING" - | "COMPLETED" - | "FAILED" - | "CANCELLED"; -export type AutomatedReasoningPolicyBuildWorkflowSummaries = - Array; +export type AutomatedReasoningPolicyBuildWorkflowStatus = "SCHEDULED" | "CANCEL_REQUESTED" | "PREPROCESSING" | "BUILDING" | "TESTING" | "COMPLETED" | "FAILED" | "CANCELLED"; +export type AutomatedReasoningPolicyBuildWorkflowSummaries = Array; export interface AutomatedReasoningPolicyBuildWorkflowSummary { policyArn: string; buildWorkflowId: string; @@ -1496,10 +823,7 @@ export interface AutomatedReasoningPolicyBuildWorkflowSummary { createdAt: Date | string; updatedAt: Date | string; } -export type AutomatedReasoningPolicyBuildWorkflowType = - | "INGEST_CONTENT" - | "REFINE_POLICY" - | "IMPORT_POLICY"; +export type AutomatedReasoningPolicyBuildWorkflowType = "INGEST_CONTENT" | "REFINE_POLICY" | "IMPORT_POLICY"; export type AutomatedReasoningPolicyConflictedRuleIdList = Array; export interface AutomatedReasoningPolicyDefinition { version?: string; @@ -1513,16 +837,7 @@ interface _AutomatedReasoningPolicyDefinitionElement { policyDefinitionRule?: AutomatedReasoningPolicyDefinitionRule; } -export type AutomatedReasoningPolicyDefinitionElement = - | (_AutomatedReasoningPolicyDefinitionElement & { - policyDefinitionVariable: AutomatedReasoningPolicyDefinitionVariable; - }) - | (_AutomatedReasoningPolicyDefinitionElement & { - policyDefinitionType: AutomatedReasoningPolicyDefinitionType; - }) - | (_AutomatedReasoningPolicyDefinitionElement & { - policyDefinitionRule: AutomatedReasoningPolicyDefinitionRule; - }); +export type AutomatedReasoningPolicyDefinitionElement = (_AutomatedReasoningPolicyDefinitionElement & { policyDefinitionVariable: AutomatedReasoningPolicyDefinitionVariable }) | (_AutomatedReasoningPolicyDefinitionElement & { policyDefinitionType: AutomatedReasoningPolicyDefinitionType }) | (_AutomatedReasoningPolicyDefinitionElement & { policyDefinitionRule: AutomatedReasoningPolicyDefinitionRule }); export interface AutomatedReasoningPolicyDefinitionQualityReport { typeCount: number; variableCount: number; @@ -1545,8 +860,7 @@ export type AutomatedReasoningPolicyDefinitionRuleExpression = string; export type AutomatedReasoningPolicyDefinitionRuleId = string; export type AutomatedReasoningPolicyDefinitionRuleIdList = Array; -export type AutomatedReasoningPolicyDefinitionRuleList = - Array; +export type AutomatedReasoningPolicyDefinitionRuleList = Array; export interface AutomatedReasoningPolicyDefinitionType { name: string; description?: string; @@ -1554,8 +868,7 @@ export interface AutomatedReasoningPolicyDefinitionType { } export type AutomatedReasoningPolicyDefinitionTypeDescription = string; -export type AutomatedReasoningPolicyDefinitionTypeList = - Array; +export type AutomatedReasoningPolicyDefinitionTypeList = Array; export type AutomatedReasoningPolicyDefinitionTypeName = string; export type AutomatedReasoningPolicyDefinitionTypeNameList = Array; @@ -1565,16 +878,14 @@ export interface AutomatedReasoningPolicyDefinitionTypeValue { } export type AutomatedReasoningPolicyDefinitionTypeValueDescription = string; -export type AutomatedReasoningPolicyDefinitionTypeValueList = - Array; +export type AutomatedReasoningPolicyDefinitionTypeValueList = Array; export type AutomatedReasoningPolicyDefinitionTypeValueName = string; export interface AutomatedReasoningPolicyDefinitionTypeValuePair { typeName: string; valueName: string; } -export type AutomatedReasoningPolicyDefinitionTypeValuePairList = - Array; +export type AutomatedReasoningPolicyDefinitionTypeValuePairList = Array; export interface AutomatedReasoningPolicyDefinitionVariable { name: string; type: string; @@ -1582,8 +893,7 @@ export interface AutomatedReasoningPolicyDefinitionVariable { } export type AutomatedReasoningPolicyDefinitionVariableDescription = string; -export type AutomatedReasoningPolicyDefinitionVariableList = - Array; +export type AutomatedReasoningPolicyDefinitionVariableList = Array; export type AutomatedReasoningPolicyDefinitionVariableName = string; export type AutomatedReasoningPolicyDefinitionVariableNameList = Array; @@ -1615,8 +925,7 @@ export interface AutomatedReasoningPolicyDisjointRuleSet { variables: Array; rules: Array; } -export type AutomatedReasoningPolicyDisjointRuleSetList = - Array; +export type AutomatedReasoningPolicyDisjointRuleSetList = Array; export type AutomatedReasoningPolicyFormatVersion = string; export type AutomatedReasoningPolicyHash = string; @@ -1638,37 +947,11 @@ interface _AutomatedReasoningPolicyMutation { deleteRule?: AutomatedReasoningPolicyDeleteRuleMutation; } -export type AutomatedReasoningPolicyMutation = - | (_AutomatedReasoningPolicyMutation & { - addType: AutomatedReasoningPolicyAddTypeMutation; - }) - | (_AutomatedReasoningPolicyMutation & { - updateType: AutomatedReasoningPolicyUpdateTypeMutation; - }) - | (_AutomatedReasoningPolicyMutation & { - deleteType: AutomatedReasoningPolicyDeleteTypeMutation; - }) - | (_AutomatedReasoningPolicyMutation & { - addVariable: AutomatedReasoningPolicyAddVariableMutation; - }) - | (_AutomatedReasoningPolicyMutation & { - updateVariable: AutomatedReasoningPolicyUpdateVariableMutation; - }) - | (_AutomatedReasoningPolicyMutation & { - deleteVariable: AutomatedReasoningPolicyDeleteVariableMutation; - }) - | (_AutomatedReasoningPolicyMutation & { - addRule: AutomatedReasoningPolicyAddRuleMutation; - }) - | (_AutomatedReasoningPolicyMutation & { - updateRule: AutomatedReasoningPolicyUpdateRuleMutation; - }) - | (_AutomatedReasoningPolicyMutation & { - deleteRule: AutomatedReasoningPolicyDeleteRuleMutation; - }); +export type AutomatedReasoningPolicyMutation = (_AutomatedReasoningPolicyMutation & { addType: AutomatedReasoningPolicyAddTypeMutation }) | (_AutomatedReasoningPolicyMutation & { updateType: AutomatedReasoningPolicyUpdateTypeMutation }) | (_AutomatedReasoningPolicyMutation & { deleteType: AutomatedReasoningPolicyDeleteTypeMutation }) | (_AutomatedReasoningPolicyMutation & { addVariable: AutomatedReasoningPolicyAddVariableMutation }) | (_AutomatedReasoningPolicyMutation & { updateVariable: AutomatedReasoningPolicyUpdateVariableMutation }) | (_AutomatedReasoningPolicyMutation & { deleteVariable: AutomatedReasoningPolicyDeleteVariableMutation }) | (_AutomatedReasoningPolicyMutation & { addRule: AutomatedReasoningPolicyAddRuleMutation }) | (_AutomatedReasoningPolicyMutation & { updateRule: AutomatedReasoningPolicyUpdateRuleMutation }) | (_AutomatedReasoningPolicyMutation & { deleteRule: AutomatedReasoningPolicyDeleteRuleMutation }); export type AutomatedReasoningPolicyName = string; -export interface AutomatedReasoningPolicyPlanning {} +export interface AutomatedReasoningPolicyPlanning { +} export interface AutomatedReasoningPolicyScenario { expression: string; alternateExpression: string; @@ -1679,8 +962,7 @@ export type AutomatedReasoningPolicyScenarioAlternateExpression = string; export type AutomatedReasoningPolicyScenarioExpression = string; -export type AutomatedReasoningPolicySummaries = - Array; +export type AutomatedReasoningPolicySummaries = Array; export interface AutomatedReasoningPolicySummary { policyArn: string; name: string; @@ -1702,12 +984,10 @@ export interface AutomatedReasoningPolicyTestCase { export type AutomatedReasoningPolicyTestCaseId = string; export type AutomatedReasoningPolicyTestCaseIdList = Array; -export type AutomatedReasoningPolicyTestCaseList = - Array; +export type AutomatedReasoningPolicyTestCaseList = Array; export type AutomatedReasoningPolicyTestGuardContent = string; -export type AutomatedReasoningPolicyTestList = - Array; +export type AutomatedReasoningPolicyTestList = Array; export type AutomatedReasoningPolicyTestQueryContent = string; export interface AutomatedReasoningPolicyTestResult { @@ -1720,30 +1000,15 @@ export interface AutomatedReasoningPolicyTestResult { updatedAt: Date | string; } export type AutomatedReasoningPolicyTestRunResult = "PASSED" | "FAILED"; -export type AutomatedReasoningPolicyTestRunStatus = - | "NOT_STARTED" - | "SCHEDULED" - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED"; +export type AutomatedReasoningPolicyTestRunStatus = "NOT_STARTED" | "SCHEDULED" | "IN_PROGRESS" | "COMPLETED" | "FAILED"; interface _AutomatedReasoningPolicyTypeValueAnnotation { addTypeValue?: AutomatedReasoningPolicyAddTypeValue; updateTypeValue?: AutomatedReasoningPolicyUpdateTypeValue; deleteTypeValue?: AutomatedReasoningPolicyDeleteTypeValue; } -export type AutomatedReasoningPolicyTypeValueAnnotation = - | (_AutomatedReasoningPolicyTypeValueAnnotation & { - addTypeValue: AutomatedReasoningPolicyAddTypeValue; - }) - | (_AutomatedReasoningPolicyTypeValueAnnotation & { - updateTypeValue: AutomatedReasoningPolicyUpdateTypeValue; - }) - | (_AutomatedReasoningPolicyTypeValueAnnotation & { - deleteTypeValue: AutomatedReasoningPolicyDeleteTypeValue; - }); -export type AutomatedReasoningPolicyTypeValueAnnotationList = - Array; +export type AutomatedReasoningPolicyTypeValueAnnotation = (_AutomatedReasoningPolicyTypeValueAnnotation & { addTypeValue: AutomatedReasoningPolicyAddTypeValue }) | (_AutomatedReasoningPolicyTypeValueAnnotation & { updateTypeValue: AutomatedReasoningPolicyUpdateTypeValue }) | (_AutomatedReasoningPolicyTypeValueAnnotation & { deleteTypeValue: AutomatedReasoningPolicyDeleteTypeValue }); +export type AutomatedReasoningPolicyTypeValueAnnotationList = Array; export interface AutomatedReasoningPolicyUpdateFromRuleFeedbackAnnotation { ruleIds?: Array; feedback: string; @@ -1789,13 +1054,7 @@ interface _AutomatedReasoningPolicyWorkflowTypeContent { policyRepairAssets?: AutomatedReasoningPolicyBuildWorkflowRepairContent; } -export type AutomatedReasoningPolicyWorkflowTypeContent = - | (_AutomatedReasoningPolicyWorkflowTypeContent & { - documents: Array; - }) - | (_AutomatedReasoningPolicyWorkflowTypeContent & { - policyRepairAssets: AutomatedReasoningPolicyBuildWorkflowRepairContent; - }); +export type AutomatedReasoningPolicyWorkflowTypeContent = (_AutomatedReasoningPolicyWorkflowTypeContent & { documents: Array }) | (_AutomatedReasoningPolicyWorkflowTypeContent & { policyRepairAssets: AutomatedReasoningPolicyBuildWorkflowRepairContent }); export type BaseModelIdentifier = string; export interface BatchDeleteEvaluationJobError { @@ -1803,8 +1062,7 @@ export interface BatchDeleteEvaluationJobError { code: string; message?: string; } -export type BatchDeleteEvaluationJobErrors = - Array; +export type BatchDeleteEvaluationJobErrors = Array; export interface BatchDeleteEvaluationJobItem { jobIdentifier: string; jobStatus: EvaluationJobStatus; @@ -1842,7 +1100,8 @@ export interface CancelAutomatedReasoningPolicyBuildWorkflowRequest { policyArn: string; buildWorkflowId: string; } -export interface CancelAutomatedReasoningPolicyBuildWorkflowResponse {} +export interface CancelAutomatedReasoningPolicyBuildWorkflowResponse { +} export interface CloudWatchConfig { logGroupName: string; roleArn: string; @@ -2080,19 +1339,12 @@ interface _CustomizationConfig { distillationConfig?: DistillationConfig; } -export type CustomizationConfig = _CustomizationConfig & { - distillationConfig: DistillationConfig; -}; -export type CustomizationType = - | "FINE_TUNING" - | "CONTINUED_PRE_TRAINING" - | "DISTILLATION" - | "IMPORTED"; +export type CustomizationConfig = (_CustomizationConfig & { distillationConfig: DistillationConfig }); +export type CustomizationType = "FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION" | "IMPORTED"; export interface CustomMetricBedrockEvaluatorModel { modelIdentifier: string; } -export type CustomMetricBedrockEvaluatorModels = - Array; +export type CustomMetricBedrockEvaluatorModels = Array; export interface CustomMetricDefinition { name: string; instructions: string; @@ -2121,8 +1373,7 @@ export interface CustomModelDeploymentSummary { lastUpdatedAt?: Date | string; failureMessage?: string; } -export type CustomModelDeploymentSummaryList = - Array; +export type CustomModelDeploymentSummaryList = Array; export type CustomModelName = string; export interface CustomModelSummary { @@ -2152,61 +1403,76 @@ export interface DeleteAutomatedReasoningPolicyBuildWorkflowRequest { buildWorkflowId: string; lastUpdatedAt: Date | string; } -export interface DeleteAutomatedReasoningPolicyBuildWorkflowResponse {} +export interface DeleteAutomatedReasoningPolicyBuildWorkflowResponse { +} export interface DeleteAutomatedReasoningPolicyRequest { policyArn: string; force?: boolean; } -export interface DeleteAutomatedReasoningPolicyResponse {} +export interface DeleteAutomatedReasoningPolicyResponse { +} export interface DeleteAutomatedReasoningPolicyTestCaseRequest { policyArn: string; testCaseId: string; lastUpdatedAt: Date | string; } -export interface DeleteAutomatedReasoningPolicyTestCaseResponse {} +export interface DeleteAutomatedReasoningPolicyTestCaseResponse { +} export interface DeleteCustomModelDeploymentRequest { customModelDeploymentIdentifier: string; } -export interface DeleteCustomModelDeploymentResponse {} +export interface DeleteCustomModelDeploymentResponse { +} export interface DeleteCustomModelRequest { modelIdentifier: string; } -export interface DeleteCustomModelResponse {} +export interface DeleteCustomModelResponse { +} export interface DeleteFoundationModelAgreementRequest { modelId: string; } -export interface DeleteFoundationModelAgreementResponse {} +export interface DeleteFoundationModelAgreementResponse { +} export interface DeleteGuardrailRequest { guardrailIdentifier: string; guardrailVersion?: string; } -export interface DeleteGuardrailResponse {} +export interface DeleteGuardrailResponse { +} export interface DeleteImportedModelRequest { modelIdentifier: string; } -export interface DeleteImportedModelResponse {} +export interface DeleteImportedModelResponse { +} export interface DeleteInferenceProfileRequest { inferenceProfileIdentifier: string; } -export interface DeleteInferenceProfileResponse {} +export interface DeleteInferenceProfileResponse { +} export interface DeleteMarketplaceModelEndpointRequest { endpointArn: string; } -export interface DeleteMarketplaceModelEndpointResponse {} -export interface DeleteModelInvocationLoggingConfigurationRequest {} -export interface DeleteModelInvocationLoggingConfigurationResponse {} +export interface DeleteMarketplaceModelEndpointResponse { +} +export interface DeleteModelInvocationLoggingConfigurationRequest { +} +export interface DeleteModelInvocationLoggingConfigurationResponse { +} export interface DeletePromptRouterRequest { promptRouterArn: string; } -export interface DeletePromptRouterResponse {} +export interface DeletePromptRouterResponse { +} export interface DeleteProvisionedModelThroughputRequest { provisionedModelId: string; } -export interface DeleteProvisionedModelThroughputResponse {} +export interface DeleteProvisionedModelThroughputResponse { +} export interface DeregisterMarketplaceModelEndpointRequest { endpointArn: string; } -export interface DeregisterMarketplaceModelEndpointResponse {} +export interface DeregisterMarketplaceModelEndpointResponse { +} export interface DimensionalPriceRate { dimension?: string; price?: string; @@ -2220,7 +1486,7 @@ interface _EndpointConfig { sageMaker?: SageMakerEndpoint; } -export type EndpointConfig = _EndpointConfig & { sageMaker: SageMakerEndpoint }; +export type EndpointConfig = (_EndpointConfig & { sageMaker: SageMakerEndpoint }); export type EndpointName = string; export type EntitlementAvailability = "AVAILABLE" | "NOT_AVAILABLE"; @@ -2241,9 +1507,7 @@ interface _EvaluationConfig { human?: HumanEvaluationConfig; } -export type EvaluationConfig = - | (_EvaluationConfig & { automated: AutomatedEvaluationConfig }) - | (_EvaluationConfig & { human: HumanEvaluationConfig }); +export type EvaluationConfig = (_EvaluationConfig & { automated: AutomatedEvaluationConfig }) | (_EvaluationConfig & { human: HumanEvaluationConfig }); export interface EvaluationDataset { name: string; datasetLocation?: EvaluationDatasetLocation; @@ -2252,16 +1516,13 @@ interface _EvaluationDatasetLocation { s3Uri?: string; } -export type EvaluationDatasetLocation = _EvaluationDatasetLocation & { - s3Uri: string; -}; +export type EvaluationDatasetLocation = (_EvaluationDatasetLocation & { s3Uri: string }); export interface EvaluationDatasetMetricConfig { taskType: EvaluationTaskType; dataset: EvaluationDataset; metricNames: Array; } -export type EvaluationDatasetMetricConfigs = - Array; +export type EvaluationDatasetMetricConfigs = Array; export type EvaluationDatasetName = string; interface _EvaluationInferenceConfig { @@ -2269,9 +1530,7 @@ interface _EvaluationInferenceConfig { ragConfigs?: Array; } -export type EvaluationInferenceConfig = - | (_EvaluationInferenceConfig & { models: Array }) - | (_EvaluationInferenceConfig & { ragConfigs: Array }); +export type EvaluationInferenceConfig = (_EvaluationInferenceConfig & { models: Array }) | (_EvaluationInferenceConfig & { ragConfigs: Array }); export interface EvaluationInferenceConfigSummary { modelConfigSummary?: EvaluationModelConfigSummary; ragConfigSummary?: EvaluationRagConfigSummary; @@ -2285,13 +1544,7 @@ export type EvaluationJobIdentifier = string; export type EvaluationJobIdentifiers = Array; export type EvaluationJobName = string; -export type EvaluationJobStatus = - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped" - | "Deleting"; +export type EvaluationJobStatus = "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting"; export type EvaluationJobType = "Human" | "Automated"; export type EvaluationMetricDescription = string; @@ -2303,11 +1556,7 @@ interface _EvaluationModelConfig { precomputedInferenceSource?: EvaluationPrecomputedInferenceSource; } -export type EvaluationModelConfig = - | (_EvaluationModelConfig & { bedrockModel: EvaluationBedrockModel }) - | (_EvaluationModelConfig & { - precomputedInferenceSource: EvaluationPrecomputedInferenceSource; - }); +export type EvaluationModelConfig = (_EvaluationModelConfig & { bedrockModel: EvaluationBedrockModel }) | (_EvaluationModelConfig & { precomputedInferenceSource: EvaluationPrecomputedInferenceSource }); export type EvaluationModelConfigs = Array; export interface EvaluationModelConfigSummary { bedrockModelIdentifiers?: Array; @@ -2329,13 +1578,7 @@ interface _EvaluationPrecomputedRagSourceConfig { retrieveAndGenerateSourceConfig?: EvaluationPrecomputedRetrieveAndGenerateSourceConfig; } -export type EvaluationPrecomputedRagSourceConfig = - | (_EvaluationPrecomputedRagSourceConfig & { - retrieveSourceConfig: EvaluationPrecomputedRetrieveSourceConfig; - }) - | (_EvaluationPrecomputedRagSourceConfig & { - retrieveAndGenerateSourceConfig: EvaluationPrecomputedRetrieveAndGenerateSourceConfig; - }); +export type EvaluationPrecomputedRagSourceConfig = (_EvaluationPrecomputedRagSourceConfig & { retrieveSourceConfig: EvaluationPrecomputedRetrieveSourceConfig }) | (_EvaluationPrecomputedRagSourceConfig & { retrieveAndGenerateSourceConfig: EvaluationPrecomputedRetrieveAndGenerateSourceConfig }); export type EvaluationPrecomputedRagSourceIdentifier = string; export type EvaluationPrecomputedRagSourceIdentifiers = Array; @@ -2366,20 +1609,13 @@ export interface EvaluationSummary { inferenceConfigSummary?: EvaluationInferenceConfigSummary; applicationType?: ApplicationType; } -export type EvaluationTaskType = - | "Summarization" - | "Classification" - | "QuestionAndAnswer" - | "Generation" - | "Custom"; +export type EvaluationTaskType = "Summarization" | "Classification" | "QuestionAndAnswer" | "Generation" | "Custom"; export type EvaluationTaskTypes = Array; interface _EvaluatorModelConfig { bedrockEvaluatorModels?: Array; } -export type EvaluatorModelConfig = _EvaluatorModelConfig & { - bedrockEvaluatorModels: Array; -}; +export type EvaluatorModelConfig = (_EvaluatorModelConfig & { bedrockEvaluatorModels: Array }); export type EvaluatorModelIdentifier = string; export type EvaluatorModelIdentifiers = Array; @@ -2419,12 +1655,7 @@ export type FilterKey = string; export type FilterValue = unknown; -export type FineTuningJobStatus = - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped"; +export type FineTuningJobStatus = "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"; export type FoundationModelArn = string; export interface FoundationModelDetails { @@ -2752,7 +1983,8 @@ export interface GetModelInvocationJobResponse { timeoutDurationInHours?: number; jobExpirationTime?: Date | string; } -export interface GetModelInvocationLoggingConfigurationRequest {} +export interface GetModelInvocationLoggingConfigurationRequest { +} export interface GetModelInvocationLoggingConfigurationResponse { loggingConfig?: LoggingConfig; } @@ -2789,7 +2021,8 @@ export interface GetProvisionedModelThroughputResponse { commitmentDuration?: CommitmentDuration; commitmentExpirationTime?: Date | string; } -export interface GetUseCaseForModelAccessRequest {} +export interface GetUseCaseForModelAccessRequest { +} export interface GetUseCaseForModelAccessResponse { formData: Uint8Array | string; } @@ -2841,13 +2074,7 @@ export interface GuardrailContentFiltersTierConfig { tierName: GuardrailContentFiltersTierName; } export type GuardrailContentFiltersTierName = "CLASSIC" | "STANDARD"; -export type GuardrailContentFilterType = - | "SEXUAL" - | "VIOLENCE" - | "HATE" - | "INSULTS" - | "MISCONDUCT" - | "PROMPT_ATTACK"; +export type GuardrailContentFilterType = "SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK"; export interface GuardrailContentPolicy { filters?: Array; tier?: GuardrailContentFiltersTier; @@ -2869,10 +2096,8 @@ export interface GuardrailContextualGroundingFilterConfig { action?: GuardrailContextualGroundingAction; enabled?: boolean; } -export type GuardrailContextualGroundingFilters = - Array; -export type GuardrailContextualGroundingFiltersConfig = - Array; +export type GuardrailContextualGroundingFilters = Array; +export type GuardrailContextualGroundingFiltersConfig = Array; export type GuardrailContextualGroundingFilterType = "GROUNDING" | "RELEVANCE"; export interface GuardrailContextualGroundingPolicy { filters: Array; @@ -2906,8 +2131,7 @@ export type GuardrailId = string; export type GuardrailIdentifier = string; export type GuardrailManagedWordLists = Array; -export type GuardrailManagedWordListsConfig = - Array; +export type GuardrailManagedWordListsConfig = Array; export interface GuardrailManagedWords { type: GuardrailManagedWordsType; inputAction?: GuardrailWordAction; @@ -2947,38 +2171,7 @@ export interface GuardrailPiiEntityConfig { inputEnabled?: boolean; outputEnabled?: boolean; } -export type GuardrailPiiEntityType = - | "ADDRESS" - | "AGE" - | "AWS_ACCESS_KEY" - | "AWS_SECRET_KEY" - | "CA_HEALTH_NUMBER" - | "CA_SOCIAL_INSURANCE_NUMBER" - | "CREDIT_DEBIT_CARD_CVV" - | "CREDIT_DEBIT_CARD_EXPIRY" - | "CREDIT_DEBIT_CARD_NUMBER" - | "DRIVER_ID" - | "EMAIL" - | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" - | "IP_ADDRESS" - | "LICENSE_PLATE" - | "MAC_ADDRESS" - | "NAME" - | "PASSWORD" - | "PHONE" - | "PIN" - | "SWIFT_CODE" - | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" - | "UK_NATIONAL_INSURANCE_NUMBER" - | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" - | "URL" - | "USERNAME" - | "US_BANK_ACCOUNT_NUMBER" - | "US_BANK_ROUTING_NUMBER" - | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" - | "US_PASSPORT_NUMBER" - | "US_SOCIAL_SECURITY_NUMBER" - | "VEHICLE_IDENTIFICATION_NUMBER"; +export type GuardrailPiiEntityType = "ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER"; export interface GuardrailRegex { name: string; description?: string; @@ -3001,10 +2194,7 @@ export interface GuardrailRegexConfig { } export type GuardrailRegexes = Array; export type GuardrailRegexesConfig = Array; -export type GuardrailSensitiveInformationAction = - | "BLOCK" - | "ANONYMIZE" - | "NONE"; +export type GuardrailSensitiveInformationAction = "BLOCK" | "ANONYMIZE" | "NONE"; export interface GuardrailSensitiveInformationPolicy { piiEntities?: Array; regexes?: Array; @@ -3013,13 +2203,7 @@ export interface GuardrailSensitiveInformationPolicyConfig { piiEntitiesConfig?: Array; regexesConfig?: Array; } -export type GuardrailStatus = - | "CREATING" - | "UPDATING" - | "VERSIONING" - | "READY" - | "FAILED" - | "DELETING"; +export type GuardrailStatus = "CREATING" | "UPDATING" | "VERSIONING" | "READY" | "FAILED" | "DELETING"; export type GuardrailStatusReason = string; export type GuardrailStatusReasons = Array; @@ -3163,9 +2347,7 @@ interface _InferenceProfileModelSource { copyFrom?: string; } -export type InferenceProfileModelSource = _InferenceProfileModelSource & { - copyFrom: string; -}; +export type InferenceProfileModelSource = (_InferenceProfileModelSource & { copyFrom: string }); export type InferenceProfileModelSourceArn = string; export type InferenceProfileName = string; @@ -3206,16 +2388,10 @@ interface _InvocationLogSource { s3Uri?: string; } -export type InvocationLogSource = _InvocationLogSource & { s3Uri: string }; +export type InvocationLogSource = (_InvocationLogSource & { s3Uri: string }); export type JobName = string; -export type JobStatusDetails = - | "InProgress" - | "Completed" - | "Stopping" - | "Stopped" - | "Failed" - | "NotStarted"; +export type JobStatusDetails = "InProgress" | "Completed" | "Stopping" | "Stopped" | "Failed" | "NotStarted"; export interface KbInferenceConfig { textInferenceConfig?: TextInferenceConfig; } @@ -3232,11 +2408,7 @@ interface _KnowledgeBaseConfig { retrieveAndGenerateConfig?: RetrieveAndGenerateConfiguration; } -export type KnowledgeBaseConfig = - | (_KnowledgeBaseConfig & { retrieveConfig: RetrieveConfig }) - | (_KnowledgeBaseConfig & { - retrieveAndGenerateConfig: RetrieveAndGenerateConfiguration; - }); +export type KnowledgeBaseConfig = (_KnowledgeBaseConfig & { retrieveConfig: RetrieveConfig }) | (_KnowledgeBaseConfig & { retrieveAndGenerateConfig: RetrieveAndGenerateConfiguration }); export type KnowledgeBaseId = string; export interface KnowledgeBaseRetrievalConfiguration { @@ -3509,8 +2681,7 @@ export interface MarketplaceModelEndpoint { endpointStatus: string; endpointStatusMessage?: string; } -export type MarketplaceModelEndpointSummaries = - Array; +export type MarketplaceModelEndpointSummaries = Array; export interface MarketplaceModelEndpointSummary { endpointArn: string; modelSourceIdentifier: string; @@ -3560,23 +2731,14 @@ export interface ModelCopyJobSummary { failureMessage?: string; sourceModelName?: string; } -export type ModelCustomization = - | "FINE_TUNING" - | "CONTINUED_PRE_TRAINING" - | "DISTILLATION"; +export type ModelCustomization = "FINE_TUNING" | "CONTINUED_PRE_TRAINING" | "DISTILLATION"; export type ModelCustomizationHyperParameters = Record; export type ModelCustomizationJobArn = string; export type ModelCustomizationJobIdentifier = string; -export type ModelCustomizationJobStatus = - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped"; -export type ModelCustomizationJobSummaries = - Array; +export type ModelCustomizationJobStatus = "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"; +export type ModelCustomizationJobSummaries = Array; export interface ModelCustomizationJobSummary { jobArn: string; baseModelArn: string; @@ -3595,7 +2757,7 @@ interface _ModelDataSource { s3DataSource?: S3DataSource; } -export type ModelDataSource = _ModelDataSource & { s3DataSource: S3DataSource }; +export type ModelDataSource = (_ModelDataSource & { s3DataSource: S3DataSource }); export type ModelDeploymentName = string; export type ModelId = string; @@ -3628,20 +2790,14 @@ interface _ModelInvocationJobInputDataConfig { s3InputDataConfig?: ModelInvocationJobS3InputDataConfig; } -export type ModelInvocationJobInputDataConfig = - _ModelInvocationJobInputDataConfig & { - s3InputDataConfig: ModelInvocationJobS3InputDataConfig; - }; +export type ModelInvocationJobInputDataConfig = (_ModelInvocationJobInputDataConfig & { s3InputDataConfig: ModelInvocationJobS3InputDataConfig }); export type ModelInvocationJobName = string; interface _ModelInvocationJobOutputDataConfig { s3OutputDataConfig?: ModelInvocationJobS3OutputDataConfig; } -export type ModelInvocationJobOutputDataConfig = - _ModelInvocationJobOutputDataConfig & { - s3OutputDataConfig: ModelInvocationJobS3OutputDataConfig; - }; +export type ModelInvocationJobOutputDataConfig = (_ModelInvocationJobOutputDataConfig & { s3OutputDataConfig: ModelInvocationJobS3OutputDataConfig }); export interface ModelInvocationJobS3InputDataConfig { s3InputFormat?: S3InputFormat; s3Uri: string; @@ -3652,17 +2808,7 @@ export interface ModelInvocationJobS3OutputDataConfig { s3EncryptionKeyId?: string; s3BucketOwner?: string; } -export type ModelInvocationJobStatus = - | "Submitted" - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped" - | "PartiallyCompleted" - | "Expired" - | "Validating" - | "Scheduled"; +export type ModelInvocationJobStatus = "Submitted" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "PartiallyCompleted" | "Expired" | "Validating" | "Scheduled"; export type ModelInvocationJobSummaries = Array; export interface ModelInvocationJobSummary { jobArn: string; @@ -3758,11 +2904,7 @@ export type ProvisionedModelId = string; export type ProvisionedModelName = string; -export type ProvisionedModelStatus = - | "Creating" - | "InService" - | "Updating" - | "Failed"; +export type ProvisionedModelStatus = "Creating" | "InService" | "Updating" | "Failed"; export type ProvisionedModelSummaries = Array; export interface ProvisionedModelSummary { provisionedModelName: string; @@ -3781,11 +2923,13 @@ export interface ProvisionedModelSummary { export interface PutModelInvocationLoggingConfigurationRequest { loggingConfig: LoggingConfig; } -export interface PutModelInvocationLoggingConfigurationResponse {} +export interface PutModelInvocationLoggingConfigurationResponse { +} export interface PutUseCaseForModelAccessRequest { formData: Uint8Array | string; } -export interface PutUseCaseForModelAccessResponse {} +export interface PutUseCaseForModelAccessResponse { +} export interface QueryTransformationConfiguration { type: QueryTransformationType; } @@ -3795,11 +2939,7 @@ interface _RAGConfig { precomputedRagSourceConfig?: EvaluationPrecomputedRagSourceConfig; } -export type RAGConfig = - | (_RAGConfig & { knowledgeBaseConfig: KnowledgeBaseConfig }) - | (_RAGConfig & { - precomputedRagSourceConfig: EvaluationPrecomputedRagSourceConfig; - }); +export type RAGConfig = (_RAGConfig & { knowledgeBaseConfig: KnowledgeBaseConfig }) | (_RAGConfig & { precomputedRagSourceConfig: EvaluationPrecomputedRagSourceConfig }); export type RagConfigs = Array; export type RAGStopSequences = Array; export type RateCard = Array; @@ -3815,9 +2955,7 @@ interface _RatingScaleItemValue { floatValue?: number; } -export type RatingScaleItemValue = - | (_RatingScaleItemValue & { stringValue: string }) - | (_RatingScaleItemValue & { floatValue: number }); +export type RatingScaleItemValue = (_RatingScaleItemValue & { stringValue: string }) | (_RatingScaleItemValue & { floatValue: number }); export type RegionAvailability = "AVAILABLE" | "NOT_AVAILABLE"; export interface RegisterMarketplaceModelEndpointRequest { endpointIdentifier: string; @@ -3837,11 +2975,7 @@ interface _RequestMetadataFilters { orAll?: Array; } -export type RequestMetadataFilters = - | (_RequestMetadataFilters & { equals: Record }) - | (_RequestMetadataFilters & { notEquals: Record }) - | (_RequestMetadataFilters & { andAll: Array }) - | (_RequestMetadataFilters & { orAll: Array }); +export type RequestMetadataFilters = (_RequestMetadataFilters & { equals: Record }) | (_RequestMetadataFilters & { notEquals: Record }) | (_RequestMetadataFilters & { andAll: Array }) | (_RequestMetadataFilters & { orAll: Array }); export type RequestMetadataFiltersList = Array; export type RequestMetadataMap = Record; export type RerankingMetadataSelectionMode = "SELECTIVE" | "ALL"; @@ -3850,13 +2984,7 @@ interface _RerankingMetadataSelectiveModeConfiguration { fieldsToExclude?: Array; } -export type RerankingMetadataSelectiveModeConfiguration = - | (_RerankingMetadataSelectiveModeConfiguration & { - fieldsToInclude: Array; - }) - | (_RerankingMetadataSelectiveModeConfiguration & { - fieldsToExclude: Array; - }); +export type RerankingMetadataSelectiveModeConfiguration = (_RerankingMetadataSelectiveModeConfiguration & { fieldsToInclude: Array }) | (_RerankingMetadataSelectiveModeConfiguration & { fieldsToExclude: Array }); export declare class ResourceInUseException extends EffectData.TaggedError( "ResourceInUseException", )<{ @@ -3883,20 +3011,7 @@ interface _RetrievalFilter { orAll?: Array; } -export type RetrievalFilter = - | (_RetrievalFilter & { equals: FilterAttribute }) - | (_RetrievalFilter & { notEquals: FilterAttribute }) - | (_RetrievalFilter & { greaterThan: FilterAttribute }) - | (_RetrievalFilter & { greaterThanOrEquals: FilterAttribute }) - | (_RetrievalFilter & { lessThan: FilterAttribute }) - | (_RetrievalFilter & { lessThanOrEquals: FilterAttribute }) - | (_RetrievalFilter & { in: FilterAttribute }) - | (_RetrievalFilter & { notIn: FilterAttribute }) - | (_RetrievalFilter & { startsWith: FilterAttribute }) - | (_RetrievalFilter & { listContains: FilterAttribute }) - | (_RetrievalFilter & { stringContains: FilterAttribute }) - | (_RetrievalFilter & { andAll: Array }) - | (_RetrievalFilter & { orAll: Array }); +export type RetrievalFilter = (_RetrievalFilter & { equals: FilterAttribute }) | (_RetrievalFilter & { notEquals: FilterAttribute }) | (_RetrievalFilter & { greaterThan: FilterAttribute }) | (_RetrievalFilter & { greaterThanOrEquals: FilterAttribute }) | (_RetrievalFilter & { lessThan: FilterAttribute }) | (_RetrievalFilter & { lessThanOrEquals: FilterAttribute }) | (_RetrievalFilter & { in: FilterAttribute }) | (_RetrievalFilter & { notIn: FilterAttribute }) | (_RetrievalFilter & { startsWith: FilterAttribute }) | (_RetrievalFilter & { listContains: FilterAttribute }) | (_RetrievalFilter & { stringContains: FilterAttribute }) | (_RetrievalFilter & { andAll: Array }) | (_RetrievalFilter & { orAll: Array }); export type RetrievalFilterList = Array; export interface RetrieveAndGenerateConfiguration { type: RetrieveAndGenerateType; @@ -3981,15 +3096,18 @@ export interface StatusDetails { export interface StopEvaluationJobRequest { jobIdentifier: string; } -export interface StopEvaluationJobResponse {} +export interface StopEvaluationJobResponse { +} export interface StopModelCustomizationJobRequest { jobIdentifier: string; } -export interface StopModelCustomizationJobResponse {} +export interface StopModelCustomizationJobResponse { +} export interface StopModelInvocationJobRequest { jobIdentifier: string; } -export interface StopModelInvocationJobResponse {} +export interface StopModelInvocationJobResponse { +} export type SubnetId = string; export type SubnetIds = Array; @@ -4010,7 +3128,8 @@ export interface TagResourceRequest { resourceARN: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TeacherModelConfig { @@ -4066,7 +3185,8 @@ export interface UntagResourceRequest { resourceARN: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAutomatedReasoningPolicyAnnotationsRequest { policyArn: string; buildWorkflowId: string; @@ -4139,7 +3259,8 @@ export interface UpdateProvisionedModelThroughputRequest { desiredProvisionedModelName?: string; desiredModelId?: string; } -export interface UpdateProvisionedModelThroughputResponse {} +export interface UpdateProvisionedModelThroughputResponse { +} export type UsePromptResponse = boolean; export interface ValidationDataConfig { @@ -4680,10 +3801,8 @@ export declare namespace GetAutomatedReasoningPolicyBuildWorkflow { } export declare namespace GetAutomatedReasoningPolicyBuildWorkflowResultAssets { - export type Input = - GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest; - export type Output = - GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse; + export type Input = GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest; + export type Output = GetAutomatedReasoningPolicyBuildWorkflowResultAssetsResponse; export type Error = | AccessDeniedException | InternalServerException @@ -5368,15 +4487,5 @@ export declare namespace UpdateProvisionedModelThroughput { | CommonAwsError; } -export type BedrockErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type BedrockErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceInUseException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/billing/index.ts b/src/services/billing/index.ts index eec7eefa..10c3a3b0 100644 --- a/src/services/billing/index.ts +++ b/src/services/billing/index.ts @@ -5,23 +5,7 @@ import type { Billing as _BillingClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/billing/types.ts b/src/services/billing/types.ts index 1647ed28..ed5cd350 100644 --- a/src/services/billing/types.ts +++ b/src/services/billing/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Billing extends AWSServiceClient { @@ -40,143 +8,73 @@ export declare class Billing extends AWSServiceClient { input: AssociateSourceViewsRequest, ): Effect.Effect< AssociateSourceViewsResponse, - | AccessDeniedException - | BillingViewHealthStatusException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BillingViewHealthStatusException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createBillingView( input: CreateBillingViewRequest, ): Effect.Effect< CreateBillingViewResponse, - | AccessDeniedException - | BillingViewHealthStatusException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BillingViewHealthStatusException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteBillingView( input: DeleteBillingViewRequest, ): Effect.Effect< DeleteBillingViewResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; disassociateSourceViews( input: DisassociateSourceViewsRequest, ): Effect.Effect< DisassociateSourceViewsResponse, - | AccessDeniedException - | BillingViewHealthStatusException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BillingViewHealthStatusException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getBillingView( input: GetBillingViewRequest, ): Effect.Effect< GetBillingViewResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBillingViews( input: ListBillingViewsRequest, ): Effect.Effect< ListBillingViewsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSourceViewsForBillingView( input: ListSourceViewsForBillingViewRequest, ): Effect.Effect< ListSourceViewsForBillingViewResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateBillingView( input: UpdateBillingViewRequest, ): Effect.Effect< UpdateBillingViewResponse, - | AccessDeniedException - | BillingViewHealthStatusException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BillingViewHealthStatusException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -242,20 +140,8 @@ export type BillingViewName = string; export type BillingViewsMaxResults = number; export type BillingViewSourceViewsList = Array; -export type BillingViewStatus = - | "HEALTHY" - | "UNHEALTHY" - | "CREATING" - | "UPDATING"; -export type BillingViewStatusReason = - | "SOURCE_VIEW_UNHEALTHY" - | "SOURCE_VIEW_UPDATING" - | "SOURCE_VIEW_ACCESS_DENIED" - | "SOURCE_VIEW_NOT_FOUND" - | "CYCLIC_DEPENDENCY" - | "SOURCE_VIEW_DEPTH_EXCEEDED" - | "AGGREGATE_SOURCE" - | "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT"; +export type BillingViewStatus = "HEALTHY" | "UNHEALTHY" | "CREATING" | "UPDATING"; +export type BillingViewStatusReason = "SOURCE_VIEW_UNHEALTHY" | "SOURCE_VIEW_UPDATING" | "SOURCE_VIEW_ACCESS_DENIED" | "SOURCE_VIEW_NOT_FOUND" | "CYCLIC_DEPENDENCY" | "SOURCE_VIEW_DEPTH_EXCEEDED" | "AGGREGATE_SOURCE" | "VIEW_OWNER_NOT_MANAGEMENT_ACCOUNT"; export type BillingViewStatusReasons = Array; export type BillingViewType = "PRIMARY" | "BILLING_GROUP" | "CUSTOM"; export type BillingViewTypeList = Array; @@ -400,7 +286,8 @@ export interface TagResourceRequest { resourceArn: string; resourceTags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export interface TagValues { key: string; values: Array; @@ -418,7 +305,8 @@ export interface UntagResourceRequest { resourceArn: string; resourceTagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateBillingViewRequest { arn: string; name?: string; @@ -441,11 +329,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export type Value = string; export type Values = Array; @@ -603,13 +487,5 @@ export declare namespace UpdateBillingView { | CommonAwsError; } -export type BillingErrors = - | AccessDeniedException - | BillingViewHealthStatusException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BillingErrors = AccessDeniedException | BillingViewHealthStatusException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/billingconductor/index.ts b/src/services/billingconductor/index.ts index c4e4b0ec..19cc6c6f 100644 --- a/src/services/billingconductor/index.ts +++ b/src/services/billingconductor/index.ts @@ -5,23 +5,7 @@ import type { billingconductor as _billingconductorClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,43 +14,38 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "billingconductor", operations: { - GetBillingGroupCostReport: "POST /get-billing-group-cost-report", - ListAccountAssociations: "POST /list-account-associations", - ListBillingGroupCostReports: "POST /list-billing-group-cost-reports", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - AssociateAccounts: "POST /associate-accounts", - AssociatePricingRules: "PUT /associate-pricing-rules", - BatchAssociateResourcesToCustomLineItem: - "PUT /batch-associate-resources-to-custom-line-item", - BatchDisassociateResourcesFromCustomLineItem: - "PUT /batch-disassociate-resources-from-custom-line-item", - CreateBillingGroup: "POST /create-billing-group", - CreateCustomLineItem: "POST /create-custom-line-item", - CreatePricingPlan: "POST /create-pricing-plan", - CreatePricingRule: "POST /create-pricing-rule", - DeleteBillingGroup: "POST /delete-billing-group", - DeleteCustomLineItem: "POST /delete-custom-line-item", - DeletePricingPlan: "POST /delete-pricing-plan", - DeletePricingRule: "POST /delete-pricing-rule", - DisassociateAccounts: "POST /disassociate-accounts", - DisassociatePricingRules: "PUT /disassociate-pricing-rules", - ListBillingGroups: "POST /list-billing-groups", - ListCustomLineItemVersions: "POST /list-custom-line-item-versions", - ListCustomLineItems: "POST /list-custom-line-items", - ListPricingPlans: "POST /list-pricing-plans", - ListPricingPlansAssociatedWithPricingRule: - "POST /list-pricing-plans-associated-with-pricing-rule", - ListPricingRules: "POST /list-pricing-rules", - ListPricingRulesAssociatedToPricingPlan: - "POST /list-pricing-rules-associated-to-pricing-plan", - ListResourcesAssociatedToCustomLineItem: - "POST /list-resources-associated-to-custom-line-item", - UpdateBillingGroup: "POST /update-billing-group", - UpdateCustomLineItem: "POST /update-custom-line-item", - UpdatePricingPlan: "PUT /update-pricing-plan", - UpdatePricingRule: "PUT /update-pricing-rule", + "GetBillingGroupCostReport": "POST /get-billing-group-cost-report", + "ListAccountAssociations": "POST /list-account-associations", + "ListBillingGroupCostReports": "POST /list-billing-group-cost-reports", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "AssociateAccounts": "POST /associate-accounts", + "AssociatePricingRules": "PUT /associate-pricing-rules", + "BatchAssociateResourcesToCustomLineItem": "PUT /batch-associate-resources-to-custom-line-item", + "BatchDisassociateResourcesFromCustomLineItem": "PUT /batch-disassociate-resources-from-custom-line-item", + "CreateBillingGroup": "POST /create-billing-group", + "CreateCustomLineItem": "POST /create-custom-line-item", + "CreatePricingPlan": "POST /create-pricing-plan", + "CreatePricingRule": "POST /create-pricing-rule", + "DeleteBillingGroup": "POST /delete-billing-group", + "DeleteCustomLineItem": "POST /delete-custom-line-item", + "DeletePricingPlan": "POST /delete-pricing-plan", + "DeletePricingRule": "POST /delete-pricing-rule", + "DisassociateAccounts": "POST /disassociate-accounts", + "DisassociatePricingRules": "PUT /disassociate-pricing-rules", + "ListBillingGroups": "POST /list-billing-groups", + "ListCustomLineItemVersions": "POST /list-custom-line-item-versions", + "ListCustomLineItems": "POST /list-custom-line-items", + "ListPricingPlans": "POST /list-pricing-plans", + "ListPricingPlansAssociatedWithPricingRule": "POST /list-pricing-plans-associated-with-pricing-rule", + "ListPricingRules": "POST /list-pricing-rules", + "ListPricingRulesAssociatedToPricingPlan": "POST /list-pricing-rules-associated-to-pricing-plan", + "ListResourcesAssociatedToCustomLineItem": "POST /list-resources-associated-to-custom-line-item", + "UpdateBillingGroup": "POST /update-billing-group", + "UpdateCustomLineItem": "POST /update-custom-line-item", + "UpdatePricingPlan": "PUT /update-pricing-plan", + "UpdatePricingRule": "PUT /update-pricing-rule", }, } as const satisfies ServiceMetadata; diff --git a/src/services/billingconductor/types.ts b/src/services/billingconductor/types.ts index 4de19fe6..00d62aa4 100644 --- a/src/services/billingconductor/types.ts +++ b/src/services/billingconductor/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class billingconductor extends AWSServiceClient { @@ -40,366 +8,193 @@ export declare class billingconductor extends AWSServiceClient { input: GetBillingGroupCostReportInput, ): Effect.Effect< GetBillingGroupCostReportOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAccountAssociations( input: ListAccountAssociationsInput, ): Effect.Effect< ListAccountAssociationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBillingGroupCostReports( input: ListBillingGroupCostReportsInput, ): Effect.Effect< ListBillingGroupCostReportsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateAccounts( input: AssociateAccountsInput, ): Effect.Effect< AssociateAccountsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; associatePricingRules( input: AssociatePricingRulesInput, ): Effect.Effect< AssociatePricingRulesOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchAssociateResourcesToCustomLineItem( input: BatchAssociateResourcesToCustomLineItemInput, ): Effect.Effect< BatchAssociateResourcesToCustomLineItemOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchDisassociateResourcesFromCustomLineItem( input: BatchDisassociateResourcesFromCustomLineItemInput, ): Effect.Effect< BatchDisassociateResourcesFromCustomLineItemOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createBillingGroup( input: CreateBillingGroupInput, ): Effect.Effect< CreateBillingGroupOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCustomLineItem( input: CreateCustomLineItemInput, ): Effect.Effect< CreateCustomLineItemOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPricingPlan( input: CreatePricingPlanInput, ): Effect.Effect< CreatePricingPlanOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPricingRule( input: CreatePricingRuleInput, ): Effect.Effect< CreatePricingRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteBillingGroup( input: DeleteBillingGroupInput, ): Effect.Effect< DeleteBillingGroupOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteCustomLineItem( input: DeleteCustomLineItemInput, ): Effect.Effect< DeleteCustomLineItemOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deletePricingPlan( input: DeletePricingPlanInput, ): Effect.Effect< DeletePricingPlanOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deletePricingRule( input: DeletePricingRuleInput, ): Effect.Effect< DeletePricingRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; disassociateAccounts( input: DisassociateAccountsInput, ): Effect.Effect< DisassociateAccountsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociatePricingRules( input: DisassociatePricingRulesInput, ): Effect.Effect< DisassociatePricingRulesOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBillingGroups( input: ListBillingGroupsInput, ): Effect.Effect< ListBillingGroupsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCustomLineItemVersions( input: ListCustomLineItemVersionsInput, ): Effect.Effect< ListCustomLineItemVersionsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCustomLineItems( input: ListCustomLineItemsInput, ): Effect.Effect< ListCustomLineItemsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPricingPlans( input: ListPricingPlansInput, ): Effect.Effect< ListPricingPlansOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPricingPlansAssociatedWithPricingRule( input: ListPricingPlansAssociatedWithPricingRuleInput, ): Effect.Effect< ListPricingPlansAssociatedWithPricingRuleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPricingRules( input: ListPricingRulesInput, ): Effect.Effect< ListPricingRulesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPricingRulesAssociatedToPricingPlan( input: ListPricingRulesAssociatedToPricingPlanInput, ): Effect.Effect< ListPricingRulesAssociatedToPricingPlanOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listResourcesAssociatedToCustomLineItem( input: ListResourcesAssociatedToCustomLineItemInput, ): Effect.Effect< ListResourcesAssociatedToCustomLineItemOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateBillingGroup( input: UpdateBillingGroupInput, ): Effect.Effect< UpdateBillingGroupOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCustomLineItem( input: UpdateCustomLineItemInput, ): Effect.Effect< UpdateCustomLineItemOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePricingPlan( input: UpdatePricingPlanInput, ): Effect.Effect< UpdatePricingPlanOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePricingRule( input: UpdatePricingRuleInput, ): Effect.Effect< UpdatePricingRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -449,18 +244,12 @@ export interface AssociateResourceError { Message?: string; Reason?: AssociateResourceErrorReason; } -export type AssociateResourceErrorReason = - | "INVALID_ARN" - | "SERVICE_LIMIT_EXCEEDED" - | "ILLEGAL_CUSTOMLINEITEM" - | "INTERNAL_SERVER_EXCEPTION" - | "INVALID_BILLING_PERIOD_RANGE"; +export type AssociateResourceErrorReason = "INVALID_ARN" | "SERVICE_LIMIT_EXCEEDED" | "ILLEGAL_CUSTOMLINEITEM" | "INTERNAL_SERVER_EXCEPTION" | "INVALID_BILLING_PERIOD_RANGE"; export interface AssociateResourceResponseElement { Arn?: string; Error?: AssociateResourceError; } -export type AssociateResourcesResponseList = - Array; +export type AssociateResourcesResponseList = Array; export type Association = string; export interface Attribute { @@ -511,8 +300,7 @@ export interface BillingGroupCostReportResultElement { Currency?: string; Attributes?: Array; } -export type BillingGroupCostReportResultsList = - Array; +export type BillingGroupCostReportResultsList = Array; export type BillingGroupDescription = string; export type BillingGroupFullArn = string; @@ -557,12 +345,7 @@ export declare class ConflictException extends EffectData.TaggedError( readonly ResourceType: string; readonly Reason?: ConflictExceptionReason; }> {} -export type ConflictExceptionReason = - | "RESOURCE_NAME_CONFLICT" - | "PRICING_RULE_IN_PRICING_PLAN_CONFLICT" - | "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT" - | "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT" - | "WRITE_CONFLICT_RETRY"; +export type ConflictExceptionReason = "RESOURCE_NAME_CONFLICT" | "PRICING_RULE_IN_PRICING_PLAN_CONFLICT" | "PRICING_PLAN_ATTACHED_TO_BILLING_GROUP_DELETE_CONFLICT" | "PRICING_RULE_ATTACHED_TO_PRICING_PLAN_DELETE_CONFLICT" | "WRITE_CONFLICT_RETRY"; export interface CreateBillingGroupInput { ClientToken?: string; Name: string; @@ -742,8 +525,7 @@ export interface DisassociateResourceResponseElement { Arn?: string; Error?: AssociateResourceError; } -export type DisassociateResourcesResponseList = - Array; +export type DisassociateResourcesResponseList = Array; export interface FreeTierConfig { Activated: boolean; } @@ -940,8 +722,7 @@ export interface ListResourcesAssociatedToCustomLineItemResponseElement { Relationship?: CustomLineItemRelationship; EndBillingPeriod?: string; } -export type ListResourcesAssociatedToCustomLineItemResponseList = - Array; +export type ListResourcesAssociatedToCustomLineItemResponseList = Array; export interface ListTagsForResourceRequest { ResourceArn: string; } @@ -1056,7 +837,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1076,7 +858,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateBillingGroupAccountGrouping { AutoAssociate?: boolean; } @@ -1182,71 +965,7 @@ export interface ValidationExceptionField { Message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "UNKNOWN_OPERATION" - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "OTHER" - | "PRIMARY_NOT_ASSOCIATED" - | "PRIMARY_CANNOT_DISASSOCIATE" - | "ACCOUNTS_NOT_ASSOCIATED" - | "ACCOUNTS_ALREADY_ASSOCIATED" - | "ILLEGAL_PRIMARY_ACCOUNT" - | "ILLEGAL_ACCOUNTS" - | "MISMATCHED_BILLINGGROUP_ARN" - | "MISSING_BILLINGGROUP" - | "MISMATCHED_CUSTOMLINEITEM_ARN" - | "ILLEGAL_BILLING_PERIOD" - | "ILLEGAL_BILLING_PERIOD_RANGE" - | "TOO_MANY_ACCOUNTS_IN_REQUEST" - | "DUPLICATE_ACCOUNT" - | "INVALID_BILLING_GROUP_STATUS" - | "MISMATCHED_PRICINGPLAN_ARN" - | "MISSING_PRICINGPLAN" - | "MISMATCHED_PRICINGRULE_ARN" - | "DUPLICATE_PRICINGRULE_ARNS" - | "MISSING_COSTCATEGORY" - | "ILLEGAL_EXPRESSION" - | "ILLEGAL_SCOPE" - | "ILLEGAL_SERVICE" - | "PRICINGRULES_NOT_EXIST" - | "PRICINGRULES_ALREADY_ASSOCIATED" - | "PRICINGRULES_NOT_ASSOCIATED" - | "INVALID_TIME_RANGE" - | "INVALID_BILLINGVIEW_ARN" - | "MISMATCHED_BILLINGVIEW_ARN" - | "ILLEGAL_CUSTOMLINEITEM" - | "MISSING_CUSTOMLINEITEM" - | "ILLEGAL_CUSTOMLINEITEM_UPDATE" - | "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST" - | "ILLEGAL_CHARGE_DETAILS" - | "ILLEGAL_UPDATE_CHARGE_DETAILS" - | "INVALID_ARN" - | "ILLEGAL_RESOURCE_ARNS" - | "ILLEGAL_CUSTOMLINEITEM_MODIFICATION" - | "MISSING_LINKED_ACCOUNT_IDS" - | "MULTIPLE_LINKED_ACCOUNT_IDS" - | "MISSING_PRICING_PLAN_ARN" - | "MULTIPLE_PRICING_PLAN_ARN" - | "ILLEGAL_CHILD_ASSOCIATE_RESOURCE" - | "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS" - | "INVALID_BILLING_GROUP" - | "INVALID_BILLING_PERIOD_FOR_OPERATION" - | "ILLEGAL_BILLING_ENTITY" - | "ILLEGAL_MODIFIER_PERCENTAGE" - | "ILLEGAL_TYPE" - | "ILLEGAL_ENDED_BILLINGGROUP" - | "ILLEGAL_TIERING_INPUT" - | "ILLEGAL_OPERATION" - | "ILLEGAL_USAGE_TYPE" - | "INVALID_SKU_COMBO" - | "INVALID_FILTER" - | "TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS" - | "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP" - | "ILLEGAL_ACCOUNT_ID" - | "BILLING_GROUP_ALREADY_EXIST_IN_CURRENT_BILLING_PERIOD" - | "ILLEGAL_COMPUTATION_RULE" - | "ILLEGAL_LINE_ITEM_FILTER"; +export type ValidationExceptionReason = "UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER" | "PRIMARY_NOT_ASSOCIATED" | "PRIMARY_CANNOT_DISASSOCIATE" | "ACCOUNTS_NOT_ASSOCIATED" | "ACCOUNTS_ALREADY_ASSOCIATED" | "ILLEGAL_PRIMARY_ACCOUNT" | "ILLEGAL_ACCOUNTS" | "MISMATCHED_BILLINGGROUP_ARN" | "MISSING_BILLINGGROUP" | "MISMATCHED_CUSTOMLINEITEM_ARN" | "ILLEGAL_BILLING_PERIOD" | "ILLEGAL_BILLING_PERIOD_RANGE" | "TOO_MANY_ACCOUNTS_IN_REQUEST" | "DUPLICATE_ACCOUNT" | "INVALID_BILLING_GROUP_STATUS" | "MISMATCHED_PRICINGPLAN_ARN" | "MISSING_PRICINGPLAN" | "MISMATCHED_PRICINGRULE_ARN" | "DUPLICATE_PRICINGRULE_ARNS" | "MISSING_COSTCATEGORY" | "ILLEGAL_EXPRESSION" | "ILLEGAL_SCOPE" | "ILLEGAL_SERVICE" | "PRICINGRULES_NOT_EXIST" | "PRICINGRULES_ALREADY_ASSOCIATED" | "PRICINGRULES_NOT_ASSOCIATED" | "INVALID_TIME_RANGE" | "INVALID_BILLINGVIEW_ARN" | "MISMATCHED_BILLINGVIEW_ARN" | "ILLEGAL_CUSTOMLINEITEM" | "MISSING_CUSTOMLINEITEM" | "ILLEGAL_CUSTOMLINEITEM_UPDATE" | "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST" | "ILLEGAL_CHARGE_DETAILS" | "ILLEGAL_UPDATE_CHARGE_DETAILS" | "INVALID_ARN" | "ILLEGAL_RESOURCE_ARNS" | "ILLEGAL_CUSTOMLINEITEM_MODIFICATION" | "MISSING_LINKED_ACCOUNT_IDS" | "MULTIPLE_LINKED_ACCOUNT_IDS" | "MISSING_PRICING_PLAN_ARN" | "MULTIPLE_PRICING_PLAN_ARN" | "ILLEGAL_CHILD_ASSOCIATE_RESOURCE" | "CUSTOM_LINE_ITEM_ASSOCIATION_EXISTS" | "INVALID_BILLING_GROUP" | "INVALID_BILLING_PERIOD_FOR_OPERATION" | "ILLEGAL_BILLING_ENTITY" | "ILLEGAL_MODIFIER_PERCENTAGE" | "ILLEGAL_TYPE" | "ILLEGAL_ENDED_BILLINGGROUP" | "ILLEGAL_TIERING_INPUT" | "ILLEGAL_OPERATION" | "ILLEGAL_USAGE_TYPE" | "INVALID_SKU_COMBO" | "INVALID_FILTER" | "TOO_MANY_AUTO_ASSOCIATE_BILLING_GROUPS" | "CANNOT_DELETE_AUTO_ASSOCIATE_BILLING_GROUP" | "ILLEGAL_ACCOUNT_ID" | "BILLING_GROUP_ALREADY_EXIST_IN_CURRENT_BILLING_PERIOD" | "ILLEGAL_COMPUTATION_RULE" | "ILLEGAL_LINE_ITEM_FILTER"; export declare namespace GetBillingGroupCostReport { export type Input = GetBillingGroupCostReportInput; export type Output = GetBillingGroupCostReportOutput; @@ -1644,12 +1363,5 @@ export declare namespace UpdatePricingRule { | CommonAwsError; } -export type billingconductorErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type billingconductorErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/braket/index.ts b/src/services/braket/index.ts index 090b55f3..2d183fd2 100644 --- a/src/services/braket/index.ts +++ b/src/services/braket/index.ts @@ -5,23 +5,7 @@ import type { Braket as _BraketClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,19 +14,19 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "braket", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CancelJob: "PUT /job/{jobArn}/cancel", - CancelQuantumTask: "PUT /quantum-task/{quantumTaskArn}/cancel", - CreateJob: "POST /job", - CreateQuantumTask: "POST /quantum-task", - GetDevice: "GET /device/{deviceArn}", - GetJob: "GET /job/{jobArn}", - GetQuantumTask: "GET /quantum-task/{quantumTaskArn}", - SearchDevices: "POST /devices", - SearchJobs: "POST /jobs", - SearchQuantumTasks: "POST /quantum-tasks", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CancelJob": "PUT /job/{jobArn}/cancel", + "CancelQuantumTask": "PUT /quantum-task/{quantumTaskArn}/cancel", + "CreateJob": "POST /job", + "CreateQuantumTask": "POST /quantum-task", + "GetDevice": "GET /device/{deviceArn}", + "GetJob": "GET /job/{jobArn}", + "GetQuantumTask": "GET /quantum-task/{quantumTaskArn}", + "SearchDevices": "POST /devices", + "SearchJobs": "POST /jobs", + "SearchQuantumTasks": "POST /quantum-tasks", }, } as const satisfies ServiceMetadata; diff --git a/src/services/braket/types.ts b/src/services/braket/types.ts index e2e64d1b..25b67105 100644 --- a/src/services/braket/types.ts +++ b/src/services/braket/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Braket extends AWSServiceClient { @@ -40,142 +8,79 @@ export declare class Braket extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; cancelJob( input: CancelJobRequest, ): Effect.Effect< CancelJobResponse, - | AccessDeniedException - | ConflictException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelQuantumTask( input: CancelQuantumTaskRequest, ): Effect.Effect< CancelQuantumTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createJob( input: CreateJobRequest, ): Effect.Effect< CreateJobResponse, - | AccessDeniedException - | ConflictException - | DeviceOfflineException - | DeviceRetiredException - | InternalServiceException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DeviceOfflineException | DeviceRetiredException | InternalServiceException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createQuantumTask( input: CreateQuantumTaskRequest, ): Effect.Effect< CreateQuantumTaskResponse, - | AccessDeniedException - | DeviceOfflineException - | DeviceRetiredException - | InternalServiceException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DeviceOfflineException | DeviceRetiredException | InternalServiceException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getDevice( input: GetDeviceRequest, ): Effect.Effect< GetDeviceResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getJob( input: GetJobRequest, ): Effect.Effect< GetJobResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getQuantumTask( input: GetQuantumTaskRequest, ): Effect.Effect< GetQuantumTaskResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchDevices( input: SearchDevicesRequest, ): Effect.Effect< SearchDevicesResponse, - | AccessDeniedException - | InternalServiceException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ThrottlingException | ValidationException | CommonAwsError >; searchJobs( input: SearchJobsRequest, ): Effect.Effect< SearchJobsResponse, - | AccessDeniedException - | InternalServiceException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ThrottlingException | ValidationException | CommonAwsError >; searchQuantumTasks( input: SearchQuantumTasksRequest, ): Effect.Effect< SearchQuantumTasksResponse, - | AccessDeniedException - | InternalServiceException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -435,8 +340,7 @@ export interface ProgramSetValidationFailure { inputsIndex?: number; errors?: Array; } -export type ProgramSetValidationFailuresList = - Array; +export type ProgramSetValidationFailuresList = Array; export type ProgramValidationFailuresList = Array; export type QuantumTaskAdditionalAttributeName = string; @@ -553,7 +457,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", @@ -564,7 +469,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type Uri = string; export declare class ValidationException extends EffectData.TaggedError( @@ -730,14 +636,5 @@ export declare namespace SearchQuantumTasks { | CommonAwsError; } -export type BraketErrors = - | AccessDeniedException - | ConflictException - | DeviceOfflineException - | DeviceRetiredException - | InternalServiceException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type BraketErrors = AccessDeniedException | ConflictException | DeviceOfflineException | DeviceRetiredException | InternalServiceException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/budgets/index.ts b/src/services/budgets/index.ts index ceab0f6c..63bfed5c 100644 --- a/src/services/budgets/index.ts +++ b/src/services/budgets/index.ts @@ -5,24 +5,7 @@ import type { BudgetsClient as _BudgetsClientClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/budgets/types.ts b/src/services/budgets/types.ts index 3650929b..e4368f75 100644 --- a/src/services/budgets/types.ts +++ b/src/services/budgets/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class BudgetsClient extends AWSServiceClient { @@ -41,317 +8,157 @@ export declare class BudgetsClient extends AWSServiceClient { input: CreateBudgetRequest, ): Effect.Effect< CreateBudgetResponse, - | AccessDeniedException - | BillingViewHealthStatusException - | CreationLimitExceededException - | DuplicateRecordException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BillingViewHealthStatusException | CreationLimitExceededException | DuplicateRecordException | InternalErrorException | InvalidParameterException | NotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createBudgetAction( input: CreateBudgetActionRequest, ): Effect.Effect< CreateBudgetActionResponse, - | AccessDeniedException - | CreationLimitExceededException - | DuplicateRecordException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | CreationLimitExceededException | DuplicateRecordException | InternalErrorException | InvalidParameterException | NotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createNotification( input: CreateNotificationRequest, ): Effect.Effect< CreateNotificationResponse, - | AccessDeniedException - | CreationLimitExceededException - | DuplicateRecordException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | CreationLimitExceededException | DuplicateRecordException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; createSubscriber( input: CreateSubscriberRequest, ): Effect.Effect< CreateSubscriberResponse, - | AccessDeniedException - | CreationLimitExceededException - | DuplicateRecordException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | CreationLimitExceededException | DuplicateRecordException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; deleteBudget( input: DeleteBudgetRequest, ): Effect.Effect< DeleteBudgetResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; deleteBudgetAction( input: DeleteBudgetActionRequest, ): Effect.Effect< DeleteBudgetActionResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ResourceLockedException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ResourceLockedException | ThrottlingException | CommonAwsError >; deleteNotification( input: DeleteNotificationRequest, ): Effect.Effect< DeleteNotificationResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; deleteSubscriber( input: DeleteSubscriberRequest, ): Effect.Effect< DeleteSubscriberResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; describeBudget( input: DescribeBudgetRequest, ): Effect.Effect< DescribeBudgetResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; describeBudgetAction( input: DescribeBudgetActionRequest, ): Effect.Effect< DescribeBudgetActionResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; describeBudgetActionHistories( input: DescribeBudgetActionHistoriesRequest, ): Effect.Effect< DescribeBudgetActionHistoriesResponse, - | AccessDeniedException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; describeBudgetActionsForAccount( input: DescribeBudgetActionsForAccountRequest, ): Effect.Effect< DescribeBudgetActionsForAccountResponse, - | AccessDeniedException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | ThrottlingException | CommonAwsError >; describeBudgetActionsForBudget( input: DescribeBudgetActionsForBudgetRequest, ): Effect.Effect< DescribeBudgetActionsForBudgetResponse, - | AccessDeniedException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; describeBudgetNotificationsForAccount( input: DescribeBudgetNotificationsForAccountRequest, ): Effect.Effect< DescribeBudgetNotificationsForAccountResponse, - | AccessDeniedException - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; describeBudgetPerformanceHistory( input: DescribeBudgetPerformanceHistoryRequest, ): Effect.Effect< DescribeBudgetPerformanceHistoryResponse, - | AccessDeniedException - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; describeBudgets( input: DescribeBudgetsRequest, ): Effect.Effect< DescribeBudgetsResponse, - | AccessDeniedException - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; describeNotificationsForBudget( input: DescribeNotificationsForBudgetRequest, ): Effect.Effect< DescribeNotificationsForBudgetResponse, - | AccessDeniedException - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; describeSubscribersForNotification( input: DescribeSubscribersForNotificationRequest, ): Effect.Effect< DescribeSubscribersForNotificationResponse, - | AccessDeniedException - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; executeBudgetAction( input: ExecuteBudgetActionRequest, ): Effect.Effect< ExecuteBudgetActionResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ResourceLockedException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ResourceLockedException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; updateBudget( input: UpdateBudgetRequest, ): Effect.Effect< UpdateBudgetResponse, - | AccessDeniedException - | BillingViewHealthStatusException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BillingViewHealthStatusException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; updateBudgetAction( input: UpdateBudgetActionRequest, ): Effect.Effect< UpdateBudgetActionResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ResourceLockedException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ResourceLockedException | ThrottlingException | CommonAwsError >; updateNotification( input: UpdateNotificationRequest, ): Effect.Effect< UpdateNotificationResponse, - | AccessDeniedException - | DuplicateRecordException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | DuplicateRecordException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; updateSubscriber( input: UpdateSubscriberRequest, ): Effect.Effect< UpdateSubscriberResponse, - | AccessDeniedException - | DuplicateRecordException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | DuplicateRecordException | InternalErrorException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; } @@ -388,26 +195,13 @@ export interface ActionHistoryDetails { export type ActionId = string; export type Actions = Array; -export type ActionStatus = - | "STANDBY" - | "PENDING" - | "EXECUTION_IN_PROGRESS" - | "EXECUTION_SUCCESS" - | "EXECUTION_FAILURE" - | "REVERSE_IN_PROGRESS" - | "REVERSE_SUCCESS" - | "REVERSE_FAILURE" - | "RESET_IN_PROGRESS" - | "RESET_FAILURE"; +export type ActionStatus = "STANDBY" | "PENDING" | "EXECUTION_IN_PROGRESS" | "EXECUTION_SUCCESS" | "EXECUTION_FAILURE" | "REVERSE_IN_PROGRESS" | "REVERSE_SUCCESS" | "REVERSE_FAILURE" | "RESET_IN_PROGRESS" | "RESET_FAILURE"; export type ActionSubType = "STOP_EC2_INSTANCES" | "STOP_RDS_INSTANCES"; export interface ActionThreshold { ActionThresholdValue: number; ActionThresholdType: ThresholdType; } -export type ActionType = - | "APPLY_IAM_POLICY" - | "APPLY_SCP_POLICY" - | "RUN_SSM_DOCUMENTS"; +export type ActionType = "APPLY_IAM_POLICY" | "APPLY_SCP_POLICY" | "RUN_SSM_DOCUMENTS"; export type AdjustmentPeriod = number; export type AmazonResourceName = string; @@ -455,8 +249,7 @@ export interface BudgetNotificationsForAccount { Notifications?: Array; BudgetName?: string; } -export type BudgetNotificationsForAccountList = - Array; +export type BudgetNotificationsForAccountList = Array; export interface BudgetPerformanceHistory { BudgetName?: string; BudgetType?: BudgetType; @@ -467,13 +260,7 @@ export interface BudgetPerformanceHistory { BudgetedAndActualAmountsList?: Array; } export type Budgets = Array; -export type BudgetType = - | "USAGE" - | "COST" - | "RI_UTILIZATION" - | "RI_COVERAGE" - | "SAVINGS_PLANS_UTILIZATION" - | "SAVINGS_PLANS_COVERAGE"; +export type BudgetType = "USAGE" | "COST" | "RI_UTILIZATION" | "RI_COVERAGE" | "SAVINGS_PLANS_UTILIZATION" | "SAVINGS_PLANS_COVERAGE"; export interface CalculatedSpend { ActualSpend: Spend; ForecastedSpend?: Spend; @@ -523,21 +310,24 @@ export interface CreateBudgetRequest { NotificationsWithSubscribers?: Array; ResourceTags?: Array; } -export interface CreateBudgetResponse {} +export interface CreateBudgetResponse { +} export interface CreateNotificationRequest { AccountId: string; BudgetName: string; Notification: Notification; Subscribers: Array; } -export interface CreateNotificationResponse {} +export interface CreateNotificationResponse { +} export interface CreateSubscriberRequest { AccountId: string; BudgetName: string; Notification: Notification; Subscriber: Subscriber; } -export interface CreateSubscriberResponse {} +export interface CreateSubscriberResponse { +} export declare class CreationLimitExceededException extends EffectData.TaggedError( "CreationLimitExceededException", )<{ @@ -562,20 +352,23 @@ export interface DeleteBudgetRequest { AccountId: string; BudgetName: string; } -export interface DeleteBudgetResponse {} +export interface DeleteBudgetResponse { +} export interface DeleteNotificationRequest { AccountId: string; BudgetName: string; Notification: Notification; } -export interface DeleteNotificationResponse {} +export interface DeleteNotificationResponse { +} export interface DeleteSubscriberRequest { AccountId: string; BudgetName: string; Notification: Notification; Subscriber: Subscriber; } -export interface DeleteSubscriberResponse {} +export interface DeleteSubscriberResponse { +} export interface DescribeBudgetActionHistoriesRequest { AccountId: string; BudgetName: string; @@ -676,40 +469,7 @@ export interface DescribeSubscribersForNotificationResponse { Subscribers?: Array; NextToken?: string; } -export type Dimension = - | "AZ" - | "INSTANCE_TYPE" - | "LINKED_ACCOUNT" - | "LINKED_ACCOUNT_NAME" - | "OPERATION" - | "PURCHASE_TYPE" - | "REGION" - | "SERVICE" - | "SERVICE_CODE" - | "USAGE_TYPE" - | "USAGE_TYPE_GROUP" - | "RECORD_TYPE" - | "OPERATING_SYSTEM" - | "TENANCY" - | "SCOPE" - | "PLATFORM" - | "SUBSCRIPTION_ID" - | "LEGAL_ENTITY_NAME" - | "INVOICING_ENTITY" - | "DEPLOYMENT_OPTION" - | "DATABASE_ENGINE" - | "CACHE_ENGINE" - | "INSTANCE_TYPE_FAMILY" - | "BILLING_ENTITY" - | "RESERVATION_ID" - | "RESOURCE_ID" - | "RIGHTSIZING_TYPE" - | "SAVINGS_PLANS_TYPE" - | "SAVINGS_PLAN_ARN" - | "PAYMENT_OPTION" - | "RESERVATION_MODIFIED" - | "TAG_KEY" - | "COST_CATEGORY_NAME"; +export type Dimension = "AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "INVOICING_ENTITY" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "RESERVATION_MODIFIED" | "TAG_KEY" | "COST_CATEGORY_NAME"; export type DimensionValue = string; export type DimensionValues = Array; @@ -720,12 +480,7 @@ export declare class DuplicateRecordException extends EffectData.TaggedError( }> {} export type errorMessage = string; -export type EventType = - | "SYSTEM" - | "CREATE_ACTION" - | "DELETE_ACTION" - | "UPDATE_ACTION" - | "EXECUTE_ACTION"; +export type EventType = "SYSTEM" | "CREATE_ACTION" | "DELETE_ACTION" | "UPDATE_ACTION" | "EXECUTE_ACTION"; export interface ExecuteBudgetActionRequest { AccountId: string; BudgetName: string; @@ -738,11 +493,7 @@ export interface ExecuteBudgetActionResponse { ActionId: string; ExecutionType: ExecutionType; } -export type ExecutionType = - | "APPROVE_BUDGET_ACTION" - | "RETRY_BUDGET_ACTION" - | "REVERSE_BUDGET_ACTION" - | "RESET_BUDGET_ACTION"; +export type ExecutionType = "APPROVE_BUDGET_ACTION" | "RETRY_BUDGET_ACTION" | "REVERSE_BUDGET_ACTION" | "RESET_BUDGET_ACTION"; export declare class ExpiredNextTokenException extends EffectData.TaggedError( "ExpiredNextTokenException", )<{ @@ -774,11 +525,7 @@ export interface HealthStatus { StatusReason?: HealthStatusReason; LastUpdatedTime?: Date | string; } -export type HealthStatusReason = - | "BILLING_VIEW_NO_ACCESS" - | "BILLING_VIEW_UNHEALTHY" - | "FILTER_INVALID" - | "MULTI_YEAR_HISTORICAL_DATA_DISABLED"; +export type HealthStatusReason = "BILLING_VIEW_NO_ACCESS" | "BILLING_VIEW_UNHEALTHY" | "FILTER_INVALID" | "MULTI_YEAR_HISTORICAL_DATA_DISABLED"; export type HealthStatusValue = "HEALTHY" | "UNHEALTHY"; export interface HistoricalOptions { BudgetAdjustmentPeriod: number; @@ -814,15 +561,7 @@ export interface ListTagsForResourceRequest { export interface ListTagsForResourceResponse { ResourceTags?: Array; } -export type MatchOption = - | "EQUALS" - | "ABSENT" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS" - | "GREATER_THAN_OR_EQUAL" - | "CASE_SENSITIVE" - | "CASE_INSENSITIVE"; +export type MatchOption = "EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL" | "CASE_SENSITIVE" | "CASE_INSENSITIVE"; export type MatchOptions = Array; export type MaxResults = number; @@ -830,15 +569,7 @@ export type MaxResultsBudgetNotifications = number; export type MaxResultsDescribeBudgets = number; -export type Metric = - | "BlendedCost" - | "UnblendedCost" - | "AmortizedCost" - | "NetUnblendedCost" - | "NetAmortizedCost" - | "UsageQuantity" - | "NormalizedUsageAmount" - | "Hours"; +export type Metric = "BlendedCost" | "UnblendedCost" | "AmortizedCost" | "NetUnblendedCost" | "NetAmortizedCost" | "UsageQuantity" | "NormalizedUsageAmount" | "Hours"; export type Metrics = Array; export declare class NotFoundException extends EffectData.TaggedError( "NotFoundException", @@ -861,8 +592,7 @@ export interface NotificationWithSubscribers { Notification: Notification; Subscribers: Array; } -export type NotificationWithSubscribersList = - Array; +export type NotificationWithSubscribersList = Array; export type NullableBoolean = boolean; export type NumericValue = string; @@ -926,7 +656,8 @@ export interface TagResourceRequest { ResourceARN: string; ResourceTags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export interface TagValues { Key?: string; Values?: Array; @@ -945,19 +676,15 @@ export interface TimePeriod { Start?: Date | string; End?: Date | string; } -export type TimeUnit = - | "DAILY" - | "MONTHLY" - | "QUARTERLY" - | "ANNUALLY" - | "CUSTOM"; +export type TimeUnit = "DAILY" | "MONTHLY" | "QUARTERLY" | "ANNUALLY" | "CUSTOM"; export type UnitValue = string; export interface UntagResourceRequest { ResourceARN: string; ResourceTagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateBudgetActionRequest { AccountId: string; BudgetName: string; @@ -979,14 +706,16 @@ export interface UpdateBudgetRequest { AccountId: string; NewBudget: Budget; } -export interface UpdateBudgetResponse {} +export interface UpdateBudgetResponse { +} export interface UpdateNotificationRequest { AccountId: string; BudgetName: string; OldNotification: Notification; NewNotification: Notification; } -export interface UpdateNotificationResponse {} +export interface UpdateNotificationResponse { +} export interface UpdateSubscriberRequest { AccountId: string; BudgetName: string; @@ -994,7 +723,8 @@ export interface UpdateSubscriberRequest { OldSubscriber: Subscriber; NewSubscriber: Subscriber; } -export interface UpdateSubscriberResponse {} +export interface UpdateSubscriberResponse { +} export type User = string; export type Users = Array; @@ -1343,17 +1073,5 @@ export declare namespace UpdateSubscriber { | CommonAwsError; } -export type BudgetsClientErrors = - | AccessDeniedException - | BillingViewHealthStatusException - | CreationLimitExceededException - | DuplicateRecordException - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ResourceLockedException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError; +export type BudgetsClientErrors = AccessDeniedException | BillingViewHealthStatusException | CreationLimitExceededException | DuplicateRecordException | ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ResourceLockedException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError; + diff --git a/src/services/chatbot/index.ts b/src/services/chatbot/index.ts index 92f6e476..12bc9058 100644 --- a/src/services/chatbot/index.ts +++ b/src/services/chatbot/index.ts @@ -5,26 +5,7 @@ import type { chatbot as _chatbotClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,49 +15,40 @@ const metadata = { sigV4ServiceName: "chatbot", endpointPrefix: "chatbot", operations: { - AssociateToConfiguration: "POST /associate-to-configuration", - CreateChimeWebhookConfiguration: "POST /create-chime-webhook-configuration", - CreateMicrosoftTeamsChannelConfiguration: - "POST /create-ms-teams-channel-configuration", - CreateSlackChannelConfiguration: "POST /create-slack-channel-configuration", - DeleteChimeWebhookConfiguration: "POST /delete-chime-webhook-configuration", - DeleteMicrosoftTeamsChannelConfiguration: - "POST /delete-ms-teams-channel-configuration", - DeleteMicrosoftTeamsConfiguredTeam: - "POST /delete-ms-teams-configured-teams", - DeleteMicrosoftTeamsUserIdentity: "POST /delete-ms-teams-user-identity", - DeleteSlackChannelConfiguration: "POST /delete-slack-channel-configuration", - DeleteSlackUserIdentity: "POST /delete-slack-user-identity", - DeleteSlackWorkspaceAuthorization: - "POST /delete-slack-workspace-authorization", - DescribeChimeWebhookConfigurations: - "POST /describe-chime-webhook-configurations", - DescribeSlackChannelConfigurations: - "POST /describe-slack-channel-configurations", - DescribeSlackUserIdentities: "POST /describe-slack-user-identities", - DescribeSlackWorkspaces: "POST /describe-slack-workspaces", - DisassociateFromConfiguration: "POST /disassociate-from-configuration", - GetAccountPreferences: "POST /get-account-preferences", - GetMicrosoftTeamsChannelConfiguration: - "POST /get-ms-teams-channel-configuration", - ListAssociations: "POST /list-associations", - ListMicrosoftTeamsChannelConfigurations: - "POST /list-ms-teams-channel-configurations", - ListMicrosoftTeamsConfiguredTeams: "POST /list-ms-teams-configured-teams", - ListMicrosoftTeamsUserIdentities: "POST /list-ms-teams-user-identities", - ListTagsForResource: "POST /list-tags-for-resource", - TagResource: "POST /tag-resource", - UntagResource: "POST /untag-resource", - UpdateAccountPreferences: "POST /update-account-preferences", - UpdateChimeWebhookConfiguration: "POST /update-chime-webhook-configuration", - UpdateMicrosoftTeamsChannelConfiguration: - "POST /update-ms-teams-channel-configuration", - UpdateSlackChannelConfiguration: "POST /update-slack-channel-configuration", - CreateCustomAction: "POST /create-custom-action", - DeleteCustomAction: "POST /delete-custom-action", - GetCustomAction: "POST /get-custom-action", - ListCustomActions: "POST /list-custom-actions", - UpdateCustomAction: "POST /update-custom-action", + "AssociateToConfiguration": "POST /associate-to-configuration", + "CreateChimeWebhookConfiguration": "POST /create-chime-webhook-configuration", + "CreateMicrosoftTeamsChannelConfiguration": "POST /create-ms-teams-channel-configuration", + "CreateSlackChannelConfiguration": "POST /create-slack-channel-configuration", + "DeleteChimeWebhookConfiguration": "POST /delete-chime-webhook-configuration", + "DeleteMicrosoftTeamsChannelConfiguration": "POST /delete-ms-teams-channel-configuration", + "DeleteMicrosoftTeamsConfiguredTeam": "POST /delete-ms-teams-configured-teams", + "DeleteMicrosoftTeamsUserIdentity": "POST /delete-ms-teams-user-identity", + "DeleteSlackChannelConfiguration": "POST /delete-slack-channel-configuration", + "DeleteSlackUserIdentity": "POST /delete-slack-user-identity", + "DeleteSlackWorkspaceAuthorization": "POST /delete-slack-workspace-authorization", + "DescribeChimeWebhookConfigurations": "POST /describe-chime-webhook-configurations", + "DescribeSlackChannelConfigurations": "POST /describe-slack-channel-configurations", + "DescribeSlackUserIdentities": "POST /describe-slack-user-identities", + "DescribeSlackWorkspaces": "POST /describe-slack-workspaces", + "DisassociateFromConfiguration": "POST /disassociate-from-configuration", + "GetAccountPreferences": "POST /get-account-preferences", + "GetMicrosoftTeamsChannelConfiguration": "POST /get-ms-teams-channel-configuration", + "ListAssociations": "POST /list-associations", + "ListMicrosoftTeamsChannelConfigurations": "POST /list-ms-teams-channel-configurations", + "ListMicrosoftTeamsConfiguredTeams": "POST /list-ms-teams-configured-teams", + "ListMicrosoftTeamsUserIdentities": "POST /list-ms-teams-user-identities", + "ListTagsForResource": "POST /list-tags-for-resource", + "TagResource": "POST /tag-resource", + "UntagResource": "POST /untag-resource", + "UpdateAccountPreferences": "POST /update-account-preferences", + "UpdateChimeWebhookConfiguration": "POST /update-chime-webhook-configuration", + "UpdateMicrosoftTeamsChannelConfiguration": "POST /update-ms-teams-channel-configuration", + "UpdateSlackChannelConfiguration": "POST /update-slack-channel-configuration", + "CreateCustomAction": "POST /create-custom-action", + "DeleteCustomAction": "POST /delete-custom-action", + "GetCustomAction": "POST /get-custom-action", + "ListCustomActions": "POST /list-custom-actions", + "UpdateCustomAction": "POST /update-custom-action", }, } as const satisfies ServiceMetadata; diff --git a/src/services/chatbot/types.ts b/src/services/chatbot/types.ts index d7e34326..be665880 100644 --- a/src/services/chatbot/types.ts +++ b/src/services/chatbot/types.ts @@ -7,152 +7,97 @@ export declare class chatbot extends AWSServiceClient { input: AssociateToConfigurationRequest, ): Effect.Effect< AssociateToConfigurationResult, - | InternalServiceError - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceError | InvalidRequestException | UnauthorizedException | CommonAwsError >; createChimeWebhookConfiguration( input: CreateChimeWebhookConfigurationRequest, ): Effect.Effect< CreateChimeWebhookConfigurationResult, - | ConflictException - | CreateChimeWebhookConfigurationException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | CommonAwsError + ConflictException | CreateChimeWebhookConfigurationException | InvalidParameterException | InvalidRequestException | LimitExceededException | CommonAwsError >; createMicrosoftTeamsChannelConfiguration( input: CreateTeamsChannelConfigurationRequest, ): Effect.Effect< CreateTeamsChannelConfigurationResult, - | ConflictException - | CreateTeamsChannelConfigurationException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | CommonAwsError + ConflictException | CreateTeamsChannelConfigurationException | InvalidParameterException | InvalidRequestException | LimitExceededException | CommonAwsError >; createSlackChannelConfiguration( input: CreateSlackChannelConfigurationRequest, ): Effect.Effect< CreateSlackChannelConfigurationResult, - | ConflictException - | CreateSlackChannelConfigurationException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | CommonAwsError + ConflictException | CreateSlackChannelConfigurationException | InvalidParameterException | InvalidRequestException | LimitExceededException | CommonAwsError >; deleteChimeWebhookConfiguration( input: DeleteChimeWebhookConfigurationRequest, ): Effect.Effect< DeleteChimeWebhookConfigurationResult, - | DeleteChimeWebhookConfigurationException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + DeleteChimeWebhookConfigurationException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteMicrosoftTeamsChannelConfiguration( input: DeleteTeamsChannelConfigurationRequest, ): Effect.Effect< DeleteTeamsChannelConfigurationResult, - | DeleteTeamsChannelConfigurationException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + DeleteTeamsChannelConfigurationException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteMicrosoftTeamsConfiguredTeam( input: DeleteTeamsConfiguredTeamRequest, ): Effect.Effect< DeleteTeamsConfiguredTeamResult, - | DeleteTeamsConfiguredTeamException - | InvalidParameterException - | CommonAwsError + DeleteTeamsConfiguredTeamException | InvalidParameterException | CommonAwsError >; deleteMicrosoftTeamsUserIdentity( input: DeleteMicrosoftTeamsUserIdentityRequest, ): Effect.Effect< DeleteMicrosoftTeamsUserIdentityResult, - | DeleteMicrosoftTeamsUserIdentityException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DeleteMicrosoftTeamsUserIdentityException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; deleteSlackChannelConfiguration( input: DeleteSlackChannelConfigurationRequest, ): Effect.Effect< DeleteSlackChannelConfigurationResult, - | DeleteSlackChannelConfigurationException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + DeleteSlackChannelConfigurationException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteSlackUserIdentity( input: DeleteSlackUserIdentityRequest, ): Effect.Effect< DeleteSlackUserIdentityResult, - | DeleteSlackUserIdentityException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DeleteSlackUserIdentityException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; deleteSlackWorkspaceAuthorization( input: DeleteSlackWorkspaceAuthorizationRequest, ): Effect.Effect< DeleteSlackWorkspaceAuthorizationResult, - | DeleteSlackWorkspaceAuthorizationFault - | InvalidParameterException - | CommonAwsError + DeleteSlackWorkspaceAuthorizationFault | InvalidParameterException | CommonAwsError >; describeChimeWebhookConfigurations( input: DescribeChimeWebhookConfigurationsRequest, ): Effect.Effect< DescribeChimeWebhookConfigurationsResult, - | DescribeChimeWebhookConfigurationsException - | InvalidParameterException - | InvalidRequestException - | CommonAwsError + DescribeChimeWebhookConfigurationsException | InvalidParameterException | InvalidRequestException | CommonAwsError >; describeSlackChannelConfigurations( input: DescribeSlackChannelConfigurationsRequest, ): Effect.Effect< DescribeSlackChannelConfigurationsResult, - | DescribeSlackChannelConfigurationsException - | InvalidParameterException - | InvalidRequestException - | CommonAwsError + DescribeSlackChannelConfigurationsException | InvalidParameterException | InvalidRequestException | CommonAwsError >; describeSlackUserIdentities( input: DescribeSlackUserIdentitiesRequest, ): Effect.Effect< DescribeSlackUserIdentitiesResult, - | DescribeSlackUserIdentitiesException - | InvalidParameterException - | InvalidRequestException - | CommonAwsError + DescribeSlackUserIdentitiesException | InvalidParameterException | InvalidRequestException | CommonAwsError >; describeSlackWorkspaces( input: DescribeSlackWorkspacesRequest, ): Effect.Effect< DescribeSlackWorkspacesResult, - | DescribeSlackWorkspacesException - | InvalidParameterException - | InvalidRequestException - | CommonAwsError + DescribeSlackWorkspacesException | InvalidParameterException | InvalidRequestException | CommonAwsError >; disassociateFromConfiguration( input: DisassociateFromConfigurationRequest, ): Effect.Effect< DisassociateFromConfigurationResult, - | InternalServiceError - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceError | InvalidRequestException | UnauthorizedException | CommonAwsError >; getAccountPreferences( input: GetAccountPreferencesRequest, @@ -164,157 +109,103 @@ export declare class chatbot extends AWSServiceClient { input: GetTeamsChannelConfigurationRequest, ): Effect.Effect< GetTeamsChannelConfigurationResult, - | GetTeamsChannelConfigurationException - | InvalidParameterException - | InvalidRequestException - | CommonAwsError + GetTeamsChannelConfigurationException | InvalidParameterException | InvalidRequestException | CommonAwsError >; listAssociations( input: ListAssociationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAssociationsResult, + CommonAwsError + >; listMicrosoftTeamsChannelConfigurations( input: ListTeamsChannelConfigurationsRequest, ): Effect.Effect< ListTeamsChannelConfigurationsResult, - | InvalidParameterException - | InvalidRequestException - | ListTeamsChannelConfigurationsException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ListTeamsChannelConfigurationsException | CommonAwsError >; listMicrosoftTeamsConfiguredTeams( input: ListMicrosoftTeamsConfiguredTeamsRequest, ): Effect.Effect< ListMicrosoftTeamsConfiguredTeamsResult, - | InvalidParameterException - | InvalidRequestException - | ListMicrosoftTeamsConfiguredTeamsException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ListMicrosoftTeamsConfiguredTeamsException | CommonAwsError >; listMicrosoftTeamsUserIdentities( input: ListMicrosoftTeamsUserIdentitiesRequest, ): Effect.Effect< ListMicrosoftTeamsUserIdentitiesResult, - | InvalidParameterException - | InvalidRequestException - | ListMicrosoftTeamsUserIdentitiesException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ListMicrosoftTeamsUserIdentitiesException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceError - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServiceError - | ResourceNotFoundException - | ServiceUnavailableException - | TooManyTagsException - | CommonAwsError + InternalServiceError | ResourceNotFoundException | ServiceUnavailableException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServiceError - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateAccountPreferences( input: UpdateAccountPreferencesRequest, ): Effect.Effect< UpdateAccountPreferencesResult, - | InvalidParameterException - | InvalidRequestException - | UpdateAccountPreferencesException - | CommonAwsError + InvalidParameterException | InvalidRequestException | UpdateAccountPreferencesException | CommonAwsError >; updateChimeWebhookConfiguration( input: UpdateChimeWebhookConfigurationRequest, ): Effect.Effect< UpdateChimeWebhookConfigurationResult, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | UpdateChimeWebhookConfigurationException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | UpdateChimeWebhookConfigurationException | CommonAwsError >; updateMicrosoftTeamsChannelConfiguration( input: UpdateTeamsChannelConfigurationRequest, ): Effect.Effect< UpdateTeamsChannelConfigurationResult, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | UpdateTeamsChannelConfigurationException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | UpdateTeamsChannelConfigurationException | CommonAwsError >; updateSlackChannelConfiguration( input: UpdateSlackChannelConfigurationRequest, ): Effect.Effect< UpdateSlackChannelConfigurationResult, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | UpdateSlackChannelConfigurationException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | UpdateSlackChannelConfigurationException | CommonAwsError >; createCustomAction( input: CreateCustomActionRequest, ): Effect.Effect< CreateCustomActionResult, - | ConflictException - | InternalServiceError - | InvalidRequestException - | LimitExceededException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceError | InvalidRequestException | LimitExceededException | UnauthorizedException | CommonAwsError >; deleteCustomAction( input: DeleteCustomActionRequest, ): Effect.Effect< DeleteCustomActionResult, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | UnauthorizedException | CommonAwsError >; getCustomAction( input: GetCustomActionRequest, ): Effect.Effect< GetCustomActionResult, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | UnauthorizedException | CommonAwsError >; listCustomActions( input: ListCustomActionsRequest, ): Effect.Effect< ListCustomActionsResult, - | InternalServiceError - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceError | InvalidRequestException | UnauthorizedException | CommonAwsError >; updateCustomAction( input: UpdateCustomActionRequest, ): Effect.Effect< UpdateCustomActionResult, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | UnauthorizedException | CommonAwsError >; } @@ -332,7 +223,8 @@ export interface AssociateToConfigurationRequest { Resource: string; ChatConfiguration: string; } -export interface AssociateToConfigurationResult {} +export interface AssociateToConfigurationResult { +} export type AssociationList = Array; export interface AssociationListing { Resource: string; @@ -469,8 +361,7 @@ export interface CustomActionAttachmentCriteria { VariableName: string; Value?: string; } -export type CustomActionAttachmentCriteriaList = - Array; +export type CustomActionAttachmentCriteriaList = Array; export type CustomActionAttachmentCriteriaOperator = "HAS_VALUE" | "EQUALS"; export type CustomActionAttachmentList = Array; export type CustomActionAttachmentNotificationType = string; @@ -493,11 +384,13 @@ export declare class DeleteChimeWebhookConfigurationException extends EffectData export interface DeleteChimeWebhookConfigurationRequest { ChatConfigurationArn: string; } -export interface DeleteChimeWebhookConfigurationResult {} +export interface DeleteChimeWebhookConfigurationResult { +} export interface DeleteCustomActionRequest { CustomActionArn: string; } -export interface DeleteCustomActionResult {} +export interface DeleteCustomActionResult { +} export declare class DeleteMicrosoftTeamsUserIdentityException extends EffectData.TaggedError( "DeleteMicrosoftTeamsUserIdentityException", )<{ @@ -507,7 +400,8 @@ export interface DeleteMicrosoftTeamsUserIdentityRequest { ChatConfigurationArn: string; UserId: string; } -export interface DeleteMicrosoftTeamsUserIdentityResult {} +export interface DeleteMicrosoftTeamsUserIdentityResult { +} export declare class DeleteSlackChannelConfigurationException extends EffectData.TaggedError( "DeleteSlackChannelConfigurationException", )<{ @@ -516,7 +410,8 @@ export declare class DeleteSlackChannelConfigurationException extends EffectData export interface DeleteSlackChannelConfigurationRequest { ChatConfigurationArn: string; } -export interface DeleteSlackChannelConfigurationResult {} +export interface DeleteSlackChannelConfigurationResult { +} export declare class DeleteSlackUserIdentityException extends EffectData.TaggedError( "DeleteSlackUserIdentityException", )<{ @@ -527,7 +422,8 @@ export interface DeleteSlackUserIdentityRequest { SlackTeamId: string; SlackUserId: string; } -export interface DeleteSlackUserIdentityResult {} +export interface DeleteSlackUserIdentityResult { +} export declare class DeleteSlackWorkspaceAuthorizationFault extends EffectData.TaggedError( "DeleteSlackWorkspaceAuthorizationFault", )<{ @@ -536,7 +432,8 @@ export declare class DeleteSlackWorkspaceAuthorizationFault extends EffectData.T export interface DeleteSlackWorkspaceAuthorizationRequest { SlackTeamId: string; } -export interface DeleteSlackWorkspaceAuthorizationResult {} +export interface DeleteSlackWorkspaceAuthorizationResult { +} export declare class DeleteTeamsChannelConfigurationException extends EffectData.TaggedError( "DeleteTeamsChannelConfigurationException", )<{ @@ -545,7 +442,8 @@ export declare class DeleteTeamsChannelConfigurationException extends EffectData export interface DeleteTeamsChannelConfigurationRequest { ChatConfigurationArn: string; } -export interface DeleteTeamsChannelConfigurationResult {} +export interface DeleteTeamsChannelConfigurationResult { +} export declare class DeleteTeamsConfiguredTeamException extends EffectData.TaggedError( "DeleteTeamsConfiguredTeamException", )<{ @@ -554,7 +452,8 @@ export declare class DeleteTeamsConfiguredTeamException extends EffectData.Tagge export interface DeleteTeamsConfiguredTeamRequest { TeamId: string; } -export interface DeleteTeamsConfiguredTeamResult {} +export interface DeleteTeamsConfiguredTeamResult { +} export declare class DescribeChimeWebhookConfigurationsException extends EffectData.TaggedError( "DescribeChimeWebhookConfigurationsException", )<{ @@ -614,7 +513,8 @@ export interface DisassociateFromConfigurationRequest { Resource: string; ChatConfiguration: string; } -export interface DisassociateFromConfigurationResult {} +export interface DisassociateFromConfigurationResult { +} export type ErrorMessage = string; export declare class GetAccountPreferencesException extends EffectData.TaggedError( @@ -622,7 +522,8 @@ export declare class GetAccountPreferencesException extends EffectData.TaggedErr )<{ readonly Message?: string; }> {} -export interface GetAccountPreferencesRequest {} +export interface GetAccountPreferencesRequest { +} export interface GetAccountPreferencesResult { AccountPreferences?: AccountPreferences; } @@ -805,7 +706,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -857,7 +759,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class UpdateAccountPreferencesException extends EffectData.TaggedError( "UpdateAccountPreferencesException", )<{ @@ -1122,7 +1025,8 @@ export declare namespace GetMicrosoftTeamsChannelConfiguration { export declare namespace ListAssociations { export type Input = ListAssociationsRequest; export type Output = ListAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListMicrosoftTeamsChannelConfigurations { @@ -1284,37 +1188,5 @@ export declare namespace UpdateCustomAction { | CommonAwsError; } -export type chatbotErrors = - | ConflictException - | CreateChimeWebhookConfigurationException - | CreateSlackChannelConfigurationException - | CreateTeamsChannelConfigurationException - | DeleteChimeWebhookConfigurationException - | DeleteMicrosoftTeamsUserIdentityException - | DeleteSlackChannelConfigurationException - | DeleteSlackUserIdentityException - | DeleteSlackWorkspaceAuthorizationFault - | DeleteTeamsChannelConfigurationException - | DeleteTeamsConfiguredTeamException - | DescribeChimeWebhookConfigurationsException - | DescribeSlackChannelConfigurationsException - | DescribeSlackUserIdentitiesException - | DescribeSlackWorkspacesException - | GetAccountPreferencesException - | GetTeamsChannelConfigurationException - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ListMicrosoftTeamsConfiguredTeamsException - | ListMicrosoftTeamsUserIdentitiesException - | ListTeamsChannelConfigurationsException - | ResourceNotFoundException - | ServiceUnavailableException - | TooManyTagsException - | UnauthorizedException - | UpdateAccountPreferencesException - | UpdateChimeWebhookConfigurationException - | UpdateSlackChannelConfigurationException - | UpdateTeamsChannelConfigurationException - | CommonAwsError; +export type chatbotErrors = ConflictException | CreateChimeWebhookConfigurationException | CreateSlackChannelConfigurationException | CreateTeamsChannelConfigurationException | DeleteChimeWebhookConfigurationException | DeleteMicrosoftTeamsUserIdentityException | DeleteSlackChannelConfigurationException | DeleteSlackUserIdentityException | DeleteSlackWorkspaceAuthorizationFault | DeleteTeamsChannelConfigurationException | DeleteTeamsConfiguredTeamException | DescribeChimeWebhookConfigurationsException | DescribeSlackChannelConfigurationsException | DescribeSlackUserIdentitiesException | DescribeSlackWorkspacesException | GetAccountPreferencesException | GetTeamsChannelConfigurationException | InternalServiceError | InvalidParameterException | InvalidRequestException | LimitExceededException | ListMicrosoftTeamsConfiguredTeamsException | ListMicrosoftTeamsUserIdentitiesException | ListTeamsChannelConfigurationsException | ResourceNotFoundException | ServiceUnavailableException | TooManyTagsException | UnauthorizedException | UpdateAccountPreferencesException | UpdateChimeWebhookConfigurationException | UpdateSlackChannelConfigurationException | UpdateTeamsChannelConfigurationException | CommonAwsError; + diff --git a/src/services/chime-sdk-identity/index.ts b/src/services/chime-sdk-identity/index.ts index 92b4ad26..c171a43c 100644 --- a/src/services/chime-sdk-identity/index.ts +++ b/src/services/chime-sdk-identity/index.ts @@ -5,26 +5,7 @@ import type { ChimeSDKIdentity as _ChimeSDKIdentityClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,46 +15,36 @@ const metadata = { sigV4ServiceName: "chime", endpointPrefix: "identity-chime", operations: { - CreateAppInstance: "POST /app-instances", - CreateAppInstanceAdmin: "POST /app-instances/{AppInstanceArn}/admins", - CreateAppInstanceBot: "POST /app-instance-bots", - CreateAppInstanceUser: "POST /app-instance-users", - DeleteAppInstance: "DELETE /app-instances/{AppInstanceArn}", - DeleteAppInstanceAdmin: - "DELETE /app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}", - DeleteAppInstanceBot: "DELETE /app-instance-bots/{AppInstanceBotArn}", - DeleteAppInstanceUser: "DELETE /app-instance-users/{AppInstanceUserArn}", - DeregisterAppInstanceUserEndpoint: - "DELETE /app-instance-users/{AppInstanceUserArn}/endpoints/{EndpointId}", - DescribeAppInstance: "GET /app-instances/{AppInstanceArn}", - DescribeAppInstanceAdmin: - "GET /app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}", - DescribeAppInstanceBot: "GET /app-instance-bots/{AppInstanceBotArn}", - DescribeAppInstanceUser: "GET /app-instance-users/{AppInstanceUserArn}", - DescribeAppInstanceUserEndpoint: - "GET /app-instance-users/{AppInstanceUserArn}/endpoints/{EndpointId}", - GetAppInstanceRetentionSettings: - "GET /app-instances/{AppInstanceArn}/retention-settings", - ListAppInstanceAdmins: "GET /app-instances/{AppInstanceArn}/admins", - ListAppInstanceBots: "GET /app-instance-bots", - ListAppInstances: "GET /app-instances", - ListAppInstanceUserEndpoints: - "GET /app-instance-users/{AppInstanceUserArn}/endpoints", - ListAppInstanceUsers: "GET /app-instance-users", - ListTagsForResource: "GET /tags", - PutAppInstanceRetentionSettings: - "PUT /app-instances/{AppInstanceArn}/retention-settings", - PutAppInstanceUserExpirationSettings: - "PUT /app-instance-users/{AppInstanceUserArn}/expiration-settings", - RegisterAppInstanceUserEndpoint: - "POST /app-instance-users/{AppInstanceUserArn}/endpoints", - TagResource: "POST /tags?operation=tag-resource", - UntagResource: "POST /tags?operation=untag-resource", - UpdateAppInstance: "PUT /app-instances/{AppInstanceArn}", - UpdateAppInstanceBot: "PUT /app-instance-bots/{AppInstanceBotArn}", - UpdateAppInstanceUser: "PUT /app-instance-users/{AppInstanceUserArn}", - UpdateAppInstanceUserEndpoint: - "PUT /app-instance-users/{AppInstanceUserArn}/endpoints/{EndpointId}", + "CreateAppInstance": "POST /app-instances", + "CreateAppInstanceAdmin": "POST /app-instances/{AppInstanceArn}/admins", + "CreateAppInstanceBot": "POST /app-instance-bots", + "CreateAppInstanceUser": "POST /app-instance-users", + "DeleteAppInstance": "DELETE /app-instances/{AppInstanceArn}", + "DeleteAppInstanceAdmin": "DELETE /app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}", + "DeleteAppInstanceBot": "DELETE /app-instance-bots/{AppInstanceBotArn}", + "DeleteAppInstanceUser": "DELETE /app-instance-users/{AppInstanceUserArn}", + "DeregisterAppInstanceUserEndpoint": "DELETE /app-instance-users/{AppInstanceUserArn}/endpoints/{EndpointId}", + "DescribeAppInstance": "GET /app-instances/{AppInstanceArn}", + "DescribeAppInstanceAdmin": "GET /app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}", + "DescribeAppInstanceBot": "GET /app-instance-bots/{AppInstanceBotArn}", + "DescribeAppInstanceUser": "GET /app-instance-users/{AppInstanceUserArn}", + "DescribeAppInstanceUserEndpoint": "GET /app-instance-users/{AppInstanceUserArn}/endpoints/{EndpointId}", + "GetAppInstanceRetentionSettings": "GET /app-instances/{AppInstanceArn}/retention-settings", + "ListAppInstanceAdmins": "GET /app-instances/{AppInstanceArn}/admins", + "ListAppInstanceBots": "GET /app-instance-bots", + "ListAppInstances": "GET /app-instances", + "ListAppInstanceUserEndpoints": "GET /app-instance-users/{AppInstanceUserArn}/endpoints", + "ListAppInstanceUsers": "GET /app-instance-users", + "ListTagsForResource": "GET /tags", + "PutAppInstanceRetentionSettings": "PUT /app-instances/{AppInstanceArn}/retention-settings", + "PutAppInstanceUserExpirationSettings": "PUT /app-instance-users/{AppInstanceUserArn}/expiration-settings", + "RegisterAppInstanceUserEndpoint": "POST /app-instance-users/{AppInstanceUserArn}/endpoints", + "TagResource": "POST /tags?operation=tag-resource", + "UntagResource": "POST /tags?operation=untag-resource", + "UpdateAppInstance": "PUT /app-instances/{AppInstanceArn}", + "UpdateAppInstanceBot": "PUT /app-instance-bots/{AppInstanceBotArn}", + "UpdateAppInstanceUser": "PUT /app-instance-users/{AppInstanceUserArn}", + "UpdateAppInstanceUserEndpoint": "PUT /app-instance-users/{AppInstanceUserArn}/endpoints/{EndpointId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/chime-sdk-identity/types.ts b/src/services/chime-sdk-identity/types.ts index 58e0fb85..ec82353e 100644 --- a/src/services/chime-sdk-identity/types.ts +++ b/src/services/chime-sdk-identity/types.ts @@ -7,389 +7,181 @@ export declare class ChimeSDKIdentity extends AWSServiceClient { input: CreateAppInstanceRequest, ): Effect.Effect< CreateAppInstanceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createAppInstanceAdmin( input: CreateAppInstanceAdminRequest, ): Effect.Effect< CreateAppInstanceAdminResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createAppInstanceBot( input: CreateAppInstanceBotRequest, ): Effect.Effect< CreateAppInstanceBotResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createAppInstanceUser( input: CreateAppInstanceUserRequest, ): Effect.Effect< CreateAppInstanceUserResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteAppInstance( input: DeleteAppInstanceRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteAppInstanceAdmin( input: DeleteAppInstanceAdminRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteAppInstanceBot( input: DeleteAppInstanceBotRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteAppInstanceUser( input: DeleteAppInstanceUserRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deregisterAppInstanceUserEndpoint( input: DeregisterAppInstanceUserEndpointRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeAppInstance( input: DescribeAppInstanceRequest, ): Effect.Effect< DescribeAppInstanceResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeAppInstanceAdmin( input: DescribeAppInstanceAdminRequest, ): Effect.Effect< DescribeAppInstanceAdminResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeAppInstanceBot( input: DescribeAppInstanceBotRequest, ): Effect.Effect< DescribeAppInstanceBotResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeAppInstanceUser( input: DescribeAppInstanceUserRequest, ): Effect.Effect< DescribeAppInstanceUserResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeAppInstanceUserEndpoint( input: DescribeAppInstanceUserEndpointRequest, ): Effect.Effect< DescribeAppInstanceUserEndpointResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getAppInstanceRetentionSettings( input: GetAppInstanceRetentionSettingsRequest, ): Effect.Effect< GetAppInstanceRetentionSettingsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listAppInstanceAdmins( input: ListAppInstanceAdminsRequest, ): Effect.Effect< ListAppInstanceAdminsResponse, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listAppInstanceBots( input: ListAppInstanceBotsRequest, ): Effect.Effect< ListAppInstanceBotsResponse, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listAppInstances( input: ListAppInstancesRequest, ): Effect.Effect< ListAppInstancesResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listAppInstanceUserEndpoints( input: ListAppInstanceUserEndpointsRequest, ): Effect.Effect< ListAppInstanceUserEndpointsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listAppInstanceUsers( input: ListAppInstanceUsersRequest, ): Effect.Effect< ListAppInstanceUsersResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putAppInstanceRetentionSettings( input: PutAppInstanceRetentionSettingsRequest, ): Effect.Effect< PutAppInstanceRetentionSettingsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putAppInstanceUserExpirationSettings( input: PutAppInstanceUserExpirationSettingsRequest, ): Effect.Effect< PutAppInstanceUserExpirationSettingsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; registerAppInstanceUserEndpoint( input: RegisterAppInstanceUserEndpointRequest, ): Effect.Effect< RegisterAppInstanceUserEndpointResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateAppInstance( input: UpdateAppInstanceRequest, ): Effect.Effect< UpdateAppInstanceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateAppInstanceBot( input: UpdateAppInstanceBotRequest, ): Effect.Effect< UpdateAppInstanceBotResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateAppInstanceUser( input: UpdateAppInstanceUserRequest, ): Effect.Effect< UpdateAppInstanceUserResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateAppInstanceUserEndpoint( input: UpdateAppInstanceUserEndpointRequest, ): Effect.Effect< UpdateAppInstanceUserEndpointResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; } @@ -463,8 +255,7 @@ export interface AppInstanceUserEndpointSummary { AllowMessages?: AllowMessages; EndpointState?: EndpointState; } -export type AppInstanceUserEndpointSummaryList = - Array; +export type AppInstanceUserEndpointSummaryList = Array; export type AppInstanceUserEndpointType = "APNS" | "APNS_SANDBOX" | "GCM"; export type AppInstanceUserList = Array; export interface AppInstanceUserSummary { @@ -592,25 +383,8 @@ export interface EndpointState { StatusReason?: EndpointStatusReason; } export type EndpointStatus = "ACTIVE" | "INACTIVE"; -export type EndpointStatusReason = - | "INVALID_DEVICE_TOKEN" - | "INVALID_PINPOINT_ARN"; -export type ErrorCode = - | "BadRequest" - | "Conflict" - | "Forbidden" - | "NotFound" - | "PreconditionFailed" - | "ResourceLimitExceeded" - | "ServiceFailure" - | "AccessDenied" - | "ServiceUnavailable" - | "Throttled" - | "Throttling" - | "Unauthorized" - | "Unprocessable" - | "VoiceConnectorGroupAssociationsExist" - | "PhoneNumberAssociationsExist"; +export type EndpointStatusReason = "INVALID_DEVICE_TOKEN" | "INVALID_PINPOINT_ARN"; +export type ErrorCode = "BadRequest" | "Conflict" | "Forbidden" | "NotFound" | "PreconditionFailed" | "ResourceLimitExceeded" | "ServiceFailure" | "AccessDenied" | "ServiceUnavailable" | "Throttled" | "Throttling" | "Unauthorized" | "Unprocessable" | "VoiceConnectorGroupAssociationsExist" | "PhoneNumberAssociationsExist"; export type ExpirationCriterion = "CREATED_TIMESTAMP"; export type ExpirationDays = number; @@ -1272,14 +1046,5 @@ export declare namespace UpdateAppInstanceUserEndpoint { | CommonAwsError; } -export type ChimeSDKIdentityErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError; +export type ChimeSDKIdentityErrors = BadRequestException | ConflictException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError; + diff --git a/src/services/chime-sdk-media-pipelines/index.ts b/src/services/chime-sdk-media-pipelines/index.ts index 577b78c1..d650eeaf 100644 --- a/src/services/chime-sdk-media-pipelines/index.ts +++ b/src/services/chime-sdk-media-pipelines/index.ts @@ -5,26 +5,7 @@ import type { ChimeSDKMediaPipelines as _ChimeSDKMediaPipelinesClient } from "./ export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,57 +15,37 @@ const metadata = { sigV4ServiceName: "chime", endpointPrefix: "media-pipelines-chime", operations: { - CreateMediaCapturePipeline: "POST /sdk-media-capture-pipelines", - CreateMediaConcatenationPipeline: "POST /sdk-media-concatenation-pipelines", - CreateMediaInsightsPipeline: "POST /media-insights-pipelines", - CreateMediaInsightsPipelineConfiguration: - "POST /media-insights-pipeline-configurations", - CreateMediaLiveConnectorPipeline: - "POST /sdk-media-live-connector-pipelines", - CreateMediaPipelineKinesisVideoStreamPool: - "POST /media-pipeline-kinesis-video-stream-pools", - CreateMediaStreamPipeline: "POST /sdk-media-stream-pipelines", - DeleteMediaCapturePipeline: - "DELETE /sdk-media-capture-pipelines/{MediaPipelineId}", - DeleteMediaInsightsPipelineConfiguration: - "DELETE /media-insights-pipeline-configurations/{Identifier}", - DeleteMediaPipeline: "DELETE /sdk-media-pipelines/{MediaPipelineId}", - DeleteMediaPipelineKinesisVideoStreamPool: - "DELETE /media-pipeline-kinesis-video-stream-pools/{Identifier}", - GetMediaCapturePipeline: - "GET /sdk-media-capture-pipelines/{MediaPipelineId}", - GetMediaInsightsPipelineConfiguration: - "GET /media-insights-pipeline-configurations/{Identifier}", - GetMediaPipeline: "GET /sdk-media-pipelines/{MediaPipelineId}", - GetMediaPipelineKinesisVideoStreamPool: - "GET /media-pipeline-kinesis-video-stream-pools/{Identifier}", - GetSpeakerSearchTask: - "GET /media-insights-pipelines/{Identifier}/speaker-search-tasks/{SpeakerSearchTaskId}", - GetVoiceToneAnalysisTask: - "GET /media-insights-pipelines/{Identifier}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}", - ListMediaCapturePipelines: "GET /sdk-media-capture-pipelines", - ListMediaInsightsPipelineConfigurations: - "GET /media-insights-pipeline-configurations", - ListMediaPipelineKinesisVideoStreamPools: - "GET /media-pipeline-kinesis-video-stream-pools", - ListMediaPipelines: "GET /sdk-media-pipelines", - ListTagsForResource: "GET /tags", - StartSpeakerSearchTask: - "POST /media-insights-pipelines/{Identifier}/speaker-search-tasks?operation=start", - StartVoiceToneAnalysisTask: - "POST /media-insights-pipelines/{Identifier}/voice-tone-analysis-tasks?operation=start", - StopSpeakerSearchTask: - "POST /media-insights-pipelines/{Identifier}/speaker-search-tasks/{SpeakerSearchTaskId}?operation=stop", - StopVoiceToneAnalysisTask: - "POST /media-insights-pipelines/{Identifier}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}?operation=stop", - TagResource: "POST /tags?operation=tag-resource", - UntagResource: "POST /tags?operation=untag-resource", - UpdateMediaInsightsPipelineConfiguration: - "PUT /media-insights-pipeline-configurations/{Identifier}", - UpdateMediaInsightsPipelineStatus: - "PUT /media-insights-pipeline-status/{Identifier}", - UpdateMediaPipelineKinesisVideoStreamPool: - "PUT /media-pipeline-kinesis-video-stream-pools/{Identifier}", + "CreateMediaCapturePipeline": "POST /sdk-media-capture-pipelines", + "CreateMediaConcatenationPipeline": "POST /sdk-media-concatenation-pipelines", + "CreateMediaInsightsPipeline": "POST /media-insights-pipelines", + "CreateMediaInsightsPipelineConfiguration": "POST /media-insights-pipeline-configurations", + "CreateMediaLiveConnectorPipeline": "POST /sdk-media-live-connector-pipelines", + "CreateMediaPipelineKinesisVideoStreamPool": "POST /media-pipeline-kinesis-video-stream-pools", + "CreateMediaStreamPipeline": "POST /sdk-media-stream-pipelines", + "DeleteMediaCapturePipeline": "DELETE /sdk-media-capture-pipelines/{MediaPipelineId}", + "DeleteMediaInsightsPipelineConfiguration": "DELETE /media-insights-pipeline-configurations/{Identifier}", + "DeleteMediaPipeline": "DELETE /sdk-media-pipelines/{MediaPipelineId}", + "DeleteMediaPipelineKinesisVideoStreamPool": "DELETE /media-pipeline-kinesis-video-stream-pools/{Identifier}", + "GetMediaCapturePipeline": "GET /sdk-media-capture-pipelines/{MediaPipelineId}", + "GetMediaInsightsPipelineConfiguration": "GET /media-insights-pipeline-configurations/{Identifier}", + "GetMediaPipeline": "GET /sdk-media-pipelines/{MediaPipelineId}", + "GetMediaPipelineKinesisVideoStreamPool": "GET /media-pipeline-kinesis-video-stream-pools/{Identifier}", + "GetSpeakerSearchTask": "GET /media-insights-pipelines/{Identifier}/speaker-search-tasks/{SpeakerSearchTaskId}", + "GetVoiceToneAnalysisTask": "GET /media-insights-pipelines/{Identifier}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}", + "ListMediaCapturePipelines": "GET /sdk-media-capture-pipelines", + "ListMediaInsightsPipelineConfigurations": "GET /media-insights-pipeline-configurations", + "ListMediaPipelineKinesisVideoStreamPools": "GET /media-pipeline-kinesis-video-stream-pools", + "ListMediaPipelines": "GET /sdk-media-pipelines", + "ListTagsForResource": "GET /tags", + "StartSpeakerSearchTask": "POST /media-insights-pipelines/{Identifier}/speaker-search-tasks?operation=start", + "StartVoiceToneAnalysisTask": "POST /media-insights-pipelines/{Identifier}/voice-tone-analysis-tasks?operation=start", + "StopSpeakerSearchTask": "POST /media-insights-pipelines/{Identifier}/speaker-search-tasks/{SpeakerSearchTaskId}?operation=stop", + "StopVoiceToneAnalysisTask": "POST /media-insights-pipelines/{Identifier}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}?operation=stop", + "TagResource": "POST /tags?operation=tag-resource", + "UntagResource": "POST /tags?operation=untag-resource", + "UpdateMediaInsightsPipelineConfiguration": "PUT /media-insights-pipeline-configurations/{Identifier}", + "UpdateMediaInsightsPipelineStatus": "PUT /media-insights-pipeline-status/{Identifier}", + "UpdateMediaPipelineKinesisVideoStreamPool": "PUT /media-pipeline-kinesis-video-stream-pools/{Identifier}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/chime-sdk-media-pipelines/types.ts b/src/services/chime-sdk-media-pipelines/types.ts index 405e265c..25c65c3c 100644 --- a/src/services/chime-sdk-media-pipelines/types.ts +++ b/src/services/chime-sdk-media-pipelines/types.ts @@ -7,418 +7,187 @@ export declare class ChimeSDKMediaPipelines extends AWSServiceClient { input: CreateMediaCapturePipelineRequest, ): Effect.Effect< CreateMediaCapturePipelineResponse, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createMediaConcatenationPipeline( input: CreateMediaConcatenationPipelineRequest, ): Effect.Effect< CreateMediaConcatenationPipelineResponse, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createMediaInsightsPipeline( input: CreateMediaInsightsPipelineRequest, ): Effect.Effect< CreateMediaInsightsPipelineResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createMediaInsightsPipelineConfiguration( input: CreateMediaInsightsPipelineConfigurationRequest, ): Effect.Effect< CreateMediaInsightsPipelineConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createMediaLiveConnectorPipeline( input: CreateMediaLiveConnectorPipelineRequest, ): Effect.Effect< CreateMediaLiveConnectorPipelineResponse, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createMediaPipelineKinesisVideoStreamPool( input: CreateMediaPipelineKinesisVideoStreamPoolRequest, ): Effect.Effect< CreateMediaPipelineKinesisVideoStreamPoolResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createMediaStreamPipeline( input: CreateMediaStreamPipelineRequest, ): Effect.Effect< CreateMediaStreamPipelineResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteMediaCapturePipeline( input: DeleteMediaCapturePipelineRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteMediaInsightsPipelineConfiguration( input: DeleteMediaInsightsPipelineConfigurationRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteMediaPipeline( input: DeleteMediaPipelineRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteMediaPipelineKinesisVideoStreamPool( input: DeleteMediaPipelineKinesisVideoStreamPoolRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getMediaCapturePipeline( input: GetMediaCapturePipelineRequest, ): Effect.Effect< GetMediaCapturePipelineResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getMediaInsightsPipelineConfiguration( input: GetMediaInsightsPipelineConfigurationRequest, ): Effect.Effect< GetMediaInsightsPipelineConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getMediaPipeline( input: GetMediaPipelineRequest, ): Effect.Effect< GetMediaPipelineResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getMediaPipelineKinesisVideoStreamPool( input: GetMediaPipelineKinesisVideoStreamPoolRequest, ): Effect.Effect< GetMediaPipelineKinesisVideoStreamPoolResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getSpeakerSearchTask( input: GetSpeakerSearchTaskRequest, ): Effect.Effect< GetSpeakerSearchTaskResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceToneAnalysisTask( input: GetVoiceToneAnalysisTaskRequest, ): Effect.Effect< GetVoiceToneAnalysisTaskResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listMediaCapturePipelines( input: ListMediaCapturePipelinesRequest, ): Effect.Effect< ListMediaCapturePipelinesResponse, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listMediaInsightsPipelineConfigurations( input: ListMediaInsightsPipelineConfigurationsRequest, ): Effect.Effect< ListMediaInsightsPipelineConfigurationsResponse, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listMediaPipelineKinesisVideoStreamPools( input: ListMediaPipelineKinesisVideoStreamPoolsRequest, ): Effect.Effect< ListMediaPipelineKinesisVideoStreamPoolsResponse, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listMediaPipelines( input: ListMediaPipelinesRequest, ): Effect.Effect< ListMediaPipelinesResponse, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; startSpeakerSearchTask( input: StartSpeakerSearchTaskRequest, ): Effect.Effect< StartSpeakerSearchTaskResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; startVoiceToneAnalysisTask( input: StartVoiceToneAnalysisTaskRequest, ): Effect.Effect< StartVoiceToneAnalysisTaskResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; stopSpeakerSearchTask( input: StopSpeakerSearchTaskRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; stopVoiceToneAnalysisTask( input: StopVoiceToneAnalysisTaskRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateMediaInsightsPipelineConfiguration( input: UpdateMediaInsightsPipelineConfigurationRequest, ): Effect.Effect< UpdateMediaInsightsPipelineConfigurationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateMediaInsightsPipelineStatus( input: UpdateMediaInsightsPipelineStatusRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateMediaPipelineKinesisVideoStreamPool( input: UpdateMediaPipelineKinesisVideoStreamPoolRequest, ): Effect.Effect< UpdateMediaPipelineKinesisVideoStreamPoolResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; } @@ -427,11 +196,7 @@ export declare class ChimeSdkMediaPipelines extends ChimeSDKMediaPipelines {} export interface ActiveSpeakerOnlyConfiguration { ActiveSpeakerPosition?: ActiveSpeakerPosition; } -export type ActiveSpeakerPosition = - | "TopLeft" - | "TopRight" - | "BottomLeft" - | "BottomRight"; +export type ActiveSpeakerPosition = "TopLeft" | "TopRight" | "BottomLeft" | "BottomRight"; export type AmazonResourceName = string; export interface AmazonTranscribeCallAnalyticsProcessorConfiguration { @@ -497,10 +262,7 @@ export type AudioChannelsOption = "Stereo" | "Mono"; export interface AudioConcatenationConfiguration { State: AudioArtifactsConcatenationState; } -export type AudioMuxType = - | "AudioOnly" - | "AudioWithActiveSpeakerVideo" - | "AudioWithCompositedVideo"; +export type AudioMuxType = "AudioOnly" | "AudioWithActiveSpeakerVideo" | "AudioWithCompositedVideo"; export type AudioSampleRateOption = string; export type AwsRegion = string; @@ -514,25 +276,10 @@ export declare class BadRequestException extends EffectData.TaggedError( }> {} export type ChimeSdkMediaPipelinesBoolean = boolean; -export type BorderColor = - | "Black" - | "Blue" - | "Red" - | "Green" - | "White" - | "Yellow"; +export type BorderColor = "Black" | "Blue" | "Red" | "Green" | "White" | "Yellow"; export type BorderThickness = number; -export type CallAnalyticsLanguageCode = - | "en-US" - | "en-GB" - | "es-US" - | "fr-CA" - | "fr-FR" - | "en-AU" - | "it-IT" - | "de-DE" - | "pt-BR"; +export type CallAnalyticsLanguageCode = "en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR"; export type CanvasOrientation = "Landscape" | "Portrait"; export type CategoryName = string; @@ -595,11 +342,7 @@ export interface ContentConcatenationConfiguration { } export type ContentMuxType = "ContentOnly"; export type ContentRedactionOutput = "redacted" | "redacted_and_unredacted"; -export type ContentShareLayoutOption = - | "PresenterOnly" - | "Horizontal" - | "Vertical" - | "ActiveSpeakerOnly"; +export type ContentShareLayoutOption = "PresenterOnly" | "Horizontal" | "Vertical" | "ActiveSpeakerOnly"; export type ContentType = "PII"; export type CornerRadius = number; @@ -695,14 +438,7 @@ export interface DeleteMediaPipelineKinesisVideoStreamPoolRequest { export interface DeleteMediaPipelineRequest { MediaPipelineId: string; } -export type ErrorCode = - | "BadRequest" - | "Forbidden" - | "NotFound" - | "ResourceLimitExceeded" - | "ServiceFailure" - | "ServiceUnavailable" - | "Throttling"; +export type ErrorCode = "BadRequest" | "Forbidden" | "NotFound" | "ResourceLimitExceeded" | "ServiceFailure" | "ServiceUnavailable" | "Throttling"; export type ExternalUserIdList = Array; export type ExternalUserIdType = string; @@ -769,13 +505,7 @@ export interface GridViewConfiguration { } export type GuidString = string; -export type HighlightColor = - | "Black" - | "Blue" - | "Red" - | "Green" - | "White" - | "Yellow"; +export type HighlightColor = "Black" | "Blue" | "Red" | "Green" | "White" | "Yellow"; export interface HorizontalLayoutConfiguration { TileOrder?: TileOrder; TilePosition?: HorizontalTilePosition; @@ -824,19 +554,13 @@ export type KinesisVideoStreamPoolName = string; export type KinesisVideoStreamPoolSize = number; -export type KinesisVideoStreamPoolStatus = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "FAILED"; +export type KinesisVideoStreamPoolStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED"; export interface KinesisVideoStreamPoolSummary { PoolName?: string; PoolId?: string; PoolArn?: string; } -export type KinesisVideoStreamPoolSummaryList = - Array; +export type KinesisVideoStreamPoolSummaryList = Array; export interface KinesisVideoStreamRecordingSourceRuntimeConfiguration { Streams: Array; FragmentSelector: FragmentSelector; @@ -895,9 +619,7 @@ export interface ListTagsForResourceRequest { export interface ListTagsForResourceResponse { Tags?: Array; } -export type LiveConnectorMuxType = - | "AudioWithCompositedVideo" - | "AudioWithActiveSpeakerVideo"; +export type LiveConnectorMuxType = "AudioWithCompositedVideo" | "AudioWithActiveSpeakerVideo"; export interface LiveConnectorRTMPConfiguration { Url: string; AudioChannels?: AudioChannelsOption; @@ -937,8 +659,7 @@ export interface MediaCapturePipelineSummary { MediaPipelineId?: string; MediaPipelineArn?: string; } -export type MediaCapturePipelineSummaryList = - Array; +export type MediaCapturePipelineSummaryList = Array; export interface MediaConcatenationPipeline { MediaPipelineId?: string; MediaPipelineArn?: string; @@ -983,18 +704,8 @@ export interface MediaInsightsPipelineConfigurationElement { SnsTopicSinkConfiguration?: SnsTopicSinkConfiguration; VoiceEnhancementSinkConfiguration?: VoiceEnhancementSinkConfiguration; } -export type MediaInsightsPipelineConfigurationElements = - Array; -export type MediaInsightsPipelineConfigurationElementType = - | "AmazonTranscribeCallAnalyticsProcessor" - | "VoiceAnalyticsProcessor" - | "AmazonTranscribeProcessor" - | "KinesisDataStreamSink" - | "LambdaFunctionSink" - | "SqsQueueSink" - | "SnsTopicSink" - | "S3RecordingSink" - | "VoiceEnhancementSink"; +export type MediaInsightsPipelineConfigurationElements = Array; +export type MediaInsightsPipelineConfigurationElementType = "AmazonTranscribeCallAnalyticsProcessor" | "VoiceAnalyticsProcessor" | "AmazonTranscribeProcessor" | "KinesisDataStreamSink" | "LambdaFunctionSink" | "SqsQueueSink" | "SnsTopicSink" | "S3RecordingSink" | "VoiceEnhancementSink"; export type MediaInsightsPipelineConfigurationNameString = string; export interface MediaInsightsPipelineConfigurationSummary { @@ -1002,14 +713,12 @@ export interface MediaInsightsPipelineConfigurationSummary { MediaInsightsPipelineConfigurationId?: string; MediaInsightsPipelineConfigurationArn?: string; } -export type MediaInsightsPipelineConfigurationSummaryList = - Array; +export type MediaInsightsPipelineConfigurationSummaryList = Array; export interface MediaInsightsPipelineElementStatus { Type?: MediaInsightsPipelineConfigurationElementType; Status?: MediaPipelineElementStatus; } -export type MediaInsightsPipelineElementStatuses = - Array; +export type MediaInsightsPipelineElementStatuses = Array; export type MediaInsightsRuntimeMetadata = Record; export interface MediaLiveConnectorPipeline { Sources?: Array; @@ -1027,38 +736,17 @@ export interface MediaPipeline { MediaInsightsPipeline?: MediaInsightsPipeline; MediaStreamPipeline?: MediaStreamPipeline; } -export type MediaPipelineElementStatus = - | "NotStarted" - | "NotSupported" - | "Initializing" - | "InProgress" - | "Failed" - | "Stopping" - | "Stopped" - | "Paused"; +export type MediaPipelineElementStatus = "NotStarted" | "NotSupported" | "Initializing" | "InProgress" | "Failed" | "Stopping" | "Stopped" | "Paused"; export type MediaPipelineList = Array; export type MediaPipelineSinkType = "S3Bucket"; export type MediaPipelineSourceType = "ChimeSdkMeeting"; -export type MediaPipelineStatus = - | "Initializing" - | "InProgress" - | "Failed" - | "Stopping" - | "Stopped" - | "Paused" - | "NotStarted"; +export type MediaPipelineStatus = "Initializing" | "InProgress" | "Failed" | "Stopping" | "Stopped" | "Paused" | "NotStarted"; export type MediaPipelineStatusUpdate = "Pause" | "Resume"; export interface MediaPipelineSummary { MediaPipelineId?: string; MediaPipelineArn?: string; } -export type MediaPipelineTaskStatus = - | "NotStarted" - | "Initializing" - | "InProgress" - | "Failed" - | "Stopping" - | "Stopped"; +export type MediaPipelineTaskStatus = "NotStarted" | "Initializing" | "InProgress" | "Failed" | "Stopping" | "Stopped"; export type MediaSampleRateHertz = number; export interface MediaStreamPipeline { @@ -1113,11 +801,7 @@ export interface PostCallAnalyticsSettings { export interface PresenterOnlyConfiguration { PresenterPosition?: PresenterPosition; } -export type PresenterPosition = - | "TopLeft" - | "TopRight" - | "BottomLeft" - | "BottomRight"; +export type PresenterPosition = "TopLeft" | "TopRight" | "BottomLeft" | "BottomRight"; export interface RealTimeAlertConfiguration { Disabled?: boolean; Rules?: Array; @@ -1129,10 +813,7 @@ export interface RealTimeAlertRule { IssueDetectionConfiguration?: IssueDetectionConfiguration; } export type RealTimeAlertRuleList = Array; -export type RealTimeAlertRuleType = - | "KeywordMatch" - | "Sentiment" - | "IssueDetection"; +export type RealTimeAlertRuleType = "KeywordMatch" | "Sentiment" | "IssueDetection"; export type RecordingFileFormat = "Wav" | "Opus"; export interface RecordingStreamConfiguration { StreamArn?: string; @@ -1260,7 +941,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottledClientException extends EffectData.TaggedError( @@ -1295,7 +977,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateMediaInsightsPipelineConfigurationRequest { Identifier: string; ResourceAccessRoleArn: string; @@ -1809,14 +1492,5 @@ export declare namespace UpdateMediaPipelineKinesisVideoStreamPool { | CommonAwsError; } -export type ChimeSDKMediaPipelinesErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError; +export type ChimeSDKMediaPipelinesErrors = BadRequestException | ConflictException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError; + diff --git a/src/services/chime-sdk-meetings/index.ts b/src/services/chime-sdk-meetings/index.ts index eaa31454..e31b8108 100644 --- a/src/services/chime-sdk-meetings/index.ts +++ b/src/services/chime-sdk-meetings/index.ts @@ -5,25 +5,7 @@ import type { ChimeSDKMeetings as _ChimeSDKMeetingsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,27 +15,22 @@ const metadata = { sigV4ServiceName: "chime", endpointPrefix: "meetings-chime", operations: { - BatchCreateAttendee: - "POST /meetings/{MeetingId}/attendees?operation=batch-create", - BatchUpdateAttendeeCapabilitiesExcept: - "PUT /meetings/{MeetingId}/attendees/capabilities?operation=batch-update-except", - CreateAttendee: "POST /meetings/{MeetingId}/attendees", - CreateMeeting: "POST /meetings", - CreateMeetingWithAttendees: "POST /meetings?operation=create-attendees", - DeleteAttendee: "DELETE /meetings/{MeetingId}/attendees/{AttendeeId}", - DeleteMeeting: "DELETE /meetings/{MeetingId}", - GetAttendee: "GET /meetings/{MeetingId}/attendees/{AttendeeId}", - GetMeeting: "GET /meetings/{MeetingId}", - ListAttendees: "GET /meetings/{MeetingId}/attendees", - ListTagsForResource: "GET /tags", - StartMeetingTranscription: - "POST /meetings/{MeetingId}/transcription?operation=start", - StopMeetingTranscription: - "POST /meetings/{MeetingId}/transcription?operation=stop", - TagResource: "POST /tags?operation=tag-resource", - UntagResource: "POST /tags?operation=untag-resource", - UpdateAttendeeCapabilities: - "PUT /meetings/{MeetingId}/attendees/{AttendeeId}/capabilities", + "BatchCreateAttendee": "POST /meetings/{MeetingId}/attendees?operation=batch-create", + "BatchUpdateAttendeeCapabilitiesExcept": "PUT /meetings/{MeetingId}/attendees/capabilities?operation=batch-update-except", + "CreateAttendee": "POST /meetings/{MeetingId}/attendees", + "CreateMeeting": "POST /meetings", + "CreateMeetingWithAttendees": "POST /meetings?operation=create-attendees", + "DeleteAttendee": "DELETE /meetings/{MeetingId}/attendees/{AttendeeId}", + "DeleteMeeting": "DELETE /meetings/{MeetingId}", + "GetAttendee": "GET /meetings/{MeetingId}/attendees/{AttendeeId}", + "GetMeeting": "GET /meetings/{MeetingId}", + "ListAttendees": "GET /meetings/{MeetingId}/attendees", + "ListTagsForResource": "GET /tags", + "StartMeetingTranscription": "POST /meetings/{MeetingId}/transcription?operation=start", + "StopMeetingTranscription": "POST /meetings/{MeetingId}/transcription?operation=stop", + "TagResource": "POST /tags?operation=tag-resource", + "UntagResource": "POST /tags?operation=untag-resource", + "UpdateAttendeeCapabilities": "PUT /meetings/{MeetingId}/attendees/{AttendeeId}/capabilities", }, } as const satisfies ServiceMetadata; diff --git a/src/services/chime-sdk-meetings/types.ts b/src/services/chime-sdk-meetings/types.ts index 80e41166..d3cdc906 100644 --- a/src/services/chime-sdk-meetings/types.ts +++ b/src/services/chime-sdk-meetings/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class ChimeSDKMeetings extends AWSServiceClient { @@ -42,224 +8,97 @@ export declare class ChimeSDKMeetings extends AWSServiceClient { input: BatchCreateAttendeeRequest, ): Effect.Effect< BatchCreateAttendeeResponse, - | BadRequestException - | ForbiddenException - | LimitExceededException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | UnprocessableEntityException - | CommonAwsError + BadRequestException | ForbiddenException | LimitExceededException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | UnprocessableEntityException | CommonAwsError >; batchUpdateAttendeeCapabilitiesExcept( input: BatchUpdateAttendeeCapabilitiesExceptRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createAttendee( input: CreateAttendeeRequest, ): Effect.Effect< CreateAttendeeResponse, - | BadRequestException - | ForbiddenException - | LimitExceededException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | UnprocessableEntityException - | CommonAwsError + BadRequestException | ForbiddenException | LimitExceededException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | UnprocessableEntityException | CommonAwsError >; createMeeting( input: CreateMeetingRequest, ): Effect.Effect< CreateMeetingResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | LimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | LimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createMeetingWithAttendees( input: CreateMeetingWithAttendeesRequest, ): Effect.Effect< CreateMeetingWithAttendeesResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | LimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | LimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteAttendee( input: DeleteAttendeeRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteMeeting( input: DeleteMeetingRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getAttendee( input: GetAttendeeRequest, ): Effect.Effect< GetAttendeeResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getMeeting( input: GetMeetingRequest, ): Effect.Effect< GetMeetingResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listAttendees( input: ListAttendeesRequest, ): Effect.Effect< ListAttendeesResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ForbiddenException - | LimitExceededException - | ResourceNotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | LimitExceededException | ResourceNotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; startMeetingTranscription( input: StartMeetingTranscriptionRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | LimitExceededException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | UnprocessableEntityException - | CommonAwsError + BadRequestException | ForbiddenException | LimitExceededException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | UnprocessableEntityException | CommonAwsError >; stopMeetingTranscription( input: StopMeetingTranscriptionRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | UnprocessableEntityException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | UnprocessableEntityException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ForbiddenException - | LimitExceededException - | ResourceNotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | TooManyTagsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | LimitExceededException | ResourceNotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | TooManyTagsException | UnauthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ForbiddenException - | LimitExceededException - | ResourceNotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | LimitExceededException | ResourceNotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateAttendeeCapabilities( input: UpdateAttendeeCapabilitiesRequest, ): Effect.Effect< UpdateAttendeeCapabilitiesResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; } @@ -375,8 +214,7 @@ export interface CreateMeetingWithAttendeesRequest { Tags?: Array; MediaPlacementNetworkType?: MediaPlacementNetworkType; } -export type CreateMeetingWithAttendeesRequestItemList = - Array; +export type CreateMeetingWithAttendeesRequestItemList = Array; export interface CreateMeetingWithAttendeesResponse { Meeting?: Meeting; Attendees?: Array; @@ -559,7 +397,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TenantId = string; @@ -582,60 +421,20 @@ export declare class TooManyTagsException extends EffectData.TaggedError( }> {} export type TranscribeContentIdentificationType = "PII"; export type TranscribeContentRedactionType = "PII"; -export type TranscribeLanguageCode = - | "en-US" - | "en-GB" - | "es-US" - | "fr-CA" - | "fr-FR" - | "en-AU" - | "it-IT" - | "de-DE" - | "pt-BR" - | "ja-JP" - | "ko-KR" - | "zh-CN" - | "th-TH" - | "hi-IN"; +export type TranscribeLanguageCode = "en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "hi-IN"; export type TranscribeLanguageModelName = string; export type TranscribeLanguageOptions = string; export type TranscribeMedicalContentIdentificationType = "PHI"; export type TranscribeMedicalLanguageCode = "en-US"; -export type TranscribeMedicalRegion = - | "us-east-1" - | "us-east-2" - | "us-west-2" - | "ap-southeast-2" - | "ca-central-1" - | "eu-west-1" - | "auto"; -export type TranscribeMedicalSpecialty = - | "PRIMARYCARE" - | "CARDIOLOGY" - | "NEUROLOGY" - | "ONCOLOGY" - | "RADIOLOGY" - | "UROLOGY"; +export type TranscribeMedicalRegion = "us-east-1" | "us-east-2" | "us-west-2" | "ap-southeast-2" | "ca-central-1" | "eu-west-1" | "auto"; +export type TranscribeMedicalSpecialty = "PRIMARYCARE" | "CARDIOLOGY" | "NEUROLOGY" | "ONCOLOGY" | "RADIOLOGY" | "UROLOGY"; export type TranscribeMedicalType = "CONVERSATION" | "DICTATION"; export type TranscribePartialResultsStability = "low" | "medium" | "high"; export type TranscribePiiEntityTypes = string; -export type TranscribeRegion = - | "us-east-2" - | "us-east-1" - | "us-west-2" - | "ap-northeast-2" - | "ap-southeast-2" - | "ap-northeast-1" - | "ca-central-1" - | "eu-central-1" - | "eu-west-1" - | "eu-west-2" - | "sa-east-1" - | "auto" - | "us-gov-west-1"; +export type TranscribeRegion = "us-east-2" | "us-east-1" | "us-west-2" | "ap-northeast-2" | "ap-southeast-2" | "ap-northeast-1" | "ca-central-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "sa-east-1" | "auto" | "us-gov-west-1"; export type TranscribeVocabularyFilterMethod = "remove" | "mask" | "tag"; export type TranscribeVocabularyNamesOrFilterNamesString = string; @@ -661,7 +460,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAttendeeCapabilitiesRequest { MeetingId: string; AttendeeId: string; @@ -913,17 +713,5 @@ export declare namespace UpdateAttendeeCapabilities { | CommonAwsError; } -export type ChimeSDKMeetingsErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | LimitExceededException - | NotFoundException - | ResourceNotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottlingException - | TooManyTagsException - | UnauthorizedException - | UnprocessableEntityException - | CommonAwsError; +export type ChimeSDKMeetingsErrors = BadRequestException | ConflictException | ForbiddenException | LimitExceededException | NotFoundException | ResourceNotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottlingException | TooManyTagsException | UnauthorizedException | UnprocessableEntityException | CommonAwsError; + diff --git a/src/services/chime-sdk-messaging/index.ts b/src/services/chime-sdk-messaging/index.ts index 215c8bf1..054f1af4 100644 --- a/src/services/chime-sdk-messaging/index.ts +++ b/src/services/chime-sdk-messaging/index.ts @@ -5,26 +5,7 @@ import type { ChimeSDKMessaging as _ChimeSDKMessagingClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,77 +15,57 @@ const metadata = { sigV4ServiceName: "chime", endpointPrefix: "messaging-chime", operations: { - AssociateChannelFlow: "PUT /channels/{ChannelArn}/channel-flow", - BatchCreateChannelMembership: - "POST /channels/{ChannelArn}/memberships?operation=batch-create", - ChannelFlowCallback: - "POST /channels/{ChannelArn}?operation=channel-flow-callback", - CreateChannel: "POST /channels", - CreateChannelBan: "POST /channels/{ChannelArn}/bans", - CreateChannelFlow: "POST /channel-flows", - CreateChannelMembership: "POST /channels/{ChannelArn}/memberships", - CreateChannelModerator: "POST /channels/{ChannelArn}/moderators", - DeleteChannel: "DELETE /channels/{ChannelArn}", - DeleteChannelBan: "DELETE /channels/{ChannelArn}/bans/{MemberArn}", - DeleteChannelFlow: "DELETE /channel-flows/{ChannelFlowArn}", - DeleteChannelMembership: - "DELETE /channels/{ChannelArn}/memberships/{MemberArn}", - DeleteChannelMessage: "DELETE /channels/{ChannelArn}/messages/{MessageId}", - DeleteChannelModerator: - "DELETE /channels/{ChannelArn}/moderators/{ChannelModeratorArn}", - DeleteMessagingStreamingConfigurations: - "DELETE /app-instances/{AppInstanceArn}/streaming-configurations", - DescribeChannel: "GET /channels/{ChannelArn}", - DescribeChannelBan: "GET /channels/{ChannelArn}/bans/{MemberArn}", - DescribeChannelFlow: "GET /channel-flows/{ChannelFlowArn}", - DescribeChannelMembership: - "GET /channels/{ChannelArn}/memberships/{MemberArn}", - DescribeChannelMembershipForAppInstanceUser: - "GET /channels/{ChannelArn}?scope=app-instance-user-membership", - DescribeChannelModeratedByAppInstanceUser: - "GET /channels/{ChannelArn}?scope=app-instance-user-moderated-channel", - DescribeChannelModerator: - "GET /channels/{ChannelArn}/moderators/{ChannelModeratorArn}", - DisassociateChannelFlow: - "DELETE /channels/{ChannelArn}/channel-flow/{ChannelFlowArn}", - GetChannelMembershipPreferences: - "GET /channels/{ChannelArn}/memberships/{MemberArn}/preferences", - GetChannelMessage: "GET /channels/{ChannelArn}/messages/{MessageId}", - GetChannelMessageStatus: - "GET /channels/{ChannelArn}/messages/{MessageId}?scope=message-status", - GetMessagingSessionEndpoint: "GET /endpoints/messaging-session", - GetMessagingStreamingConfigurations: - "GET /app-instances/{AppInstanceArn}/streaming-configurations", - ListChannelBans: "GET /channels/{ChannelArn}/bans", - ListChannelFlows: "GET /channel-flows", - ListChannelMemberships: "GET /channels/{ChannelArn}/memberships", - ListChannelMembershipsForAppInstanceUser: - "GET /channels?scope=app-instance-user-memberships", - ListChannelMessages: "GET /channels/{ChannelArn}/messages", - ListChannelModerators: "GET /channels/{ChannelArn}/moderators", - ListChannels: "GET /channels", - ListChannelsAssociatedWithChannelFlow: - "GET /channels?scope=channel-flow-associations", - ListChannelsModeratedByAppInstanceUser: - "GET /channels?scope=app-instance-user-moderated-channels", - ListSubChannels: "GET /channels/{ChannelArn}/subchannels", - ListTagsForResource: "GET /tags", - PutChannelExpirationSettings: - "PUT /channels/{ChannelArn}/expiration-settings", - PutChannelMembershipPreferences: - "PUT /channels/{ChannelArn}/memberships/{MemberArn}/preferences", - PutMessagingStreamingConfigurations: - "PUT /app-instances/{AppInstanceArn}/streaming-configurations", - RedactChannelMessage: - "POST /channels/{ChannelArn}/messages/{MessageId}?operation=redact", - SearchChannels: "POST /channels?operation=search", - SendChannelMessage: "POST /channels/{ChannelArn}/messages", - TagResource: "POST /tags?operation=tag-resource", - UntagResource: "POST /tags?operation=untag-resource", - UpdateChannel: "PUT /channels/{ChannelArn}", - UpdateChannelFlow: "PUT /channel-flows/{ChannelFlowArn}", - UpdateChannelMessage: "PUT /channels/{ChannelArn}/messages/{MessageId}", - UpdateChannelReadMarker: "PUT /channels/{ChannelArn}/readMarker", + "AssociateChannelFlow": "PUT /channels/{ChannelArn}/channel-flow", + "BatchCreateChannelMembership": "POST /channels/{ChannelArn}/memberships?operation=batch-create", + "ChannelFlowCallback": "POST /channels/{ChannelArn}?operation=channel-flow-callback", + "CreateChannel": "POST /channels", + "CreateChannelBan": "POST /channels/{ChannelArn}/bans", + "CreateChannelFlow": "POST /channel-flows", + "CreateChannelMembership": "POST /channels/{ChannelArn}/memberships", + "CreateChannelModerator": "POST /channels/{ChannelArn}/moderators", + "DeleteChannel": "DELETE /channels/{ChannelArn}", + "DeleteChannelBan": "DELETE /channels/{ChannelArn}/bans/{MemberArn}", + "DeleteChannelFlow": "DELETE /channel-flows/{ChannelFlowArn}", + "DeleteChannelMembership": "DELETE /channels/{ChannelArn}/memberships/{MemberArn}", + "DeleteChannelMessage": "DELETE /channels/{ChannelArn}/messages/{MessageId}", + "DeleteChannelModerator": "DELETE /channels/{ChannelArn}/moderators/{ChannelModeratorArn}", + "DeleteMessagingStreamingConfigurations": "DELETE /app-instances/{AppInstanceArn}/streaming-configurations", + "DescribeChannel": "GET /channels/{ChannelArn}", + "DescribeChannelBan": "GET /channels/{ChannelArn}/bans/{MemberArn}", + "DescribeChannelFlow": "GET /channel-flows/{ChannelFlowArn}", + "DescribeChannelMembership": "GET /channels/{ChannelArn}/memberships/{MemberArn}", + "DescribeChannelMembershipForAppInstanceUser": "GET /channels/{ChannelArn}?scope=app-instance-user-membership", + "DescribeChannelModeratedByAppInstanceUser": "GET /channels/{ChannelArn}?scope=app-instance-user-moderated-channel", + "DescribeChannelModerator": "GET /channels/{ChannelArn}/moderators/{ChannelModeratorArn}", + "DisassociateChannelFlow": "DELETE /channels/{ChannelArn}/channel-flow/{ChannelFlowArn}", + "GetChannelMembershipPreferences": "GET /channels/{ChannelArn}/memberships/{MemberArn}/preferences", + "GetChannelMessage": "GET /channels/{ChannelArn}/messages/{MessageId}", + "GetChannelMessageStatus": "GET /channels/{ChannelArn}/messages/{MessageId}?scope=message-status", + "GetMessagingSessionEndpoint": "GET /endpoints/messaging-session", + "GetMessagingStreamingConfigurations": "GET /app-instances/{AppInstanceArn}/streaming-configurations", + "ListChannelBans": "GET /channels/{ChannelArn}/bans", + "ListChannelFlows": "GET /channel-flows", + "ListChannelMemberships": "GET /channels/{ChannelArn}/memberships", + "ListChannelMembershipsForAppInstanceUser": "GET /channels?scope=app-instance-user-memberships", + "ListChannelMessages": "GET /channels/{ChannelArn}/messages", + "ListChannelModerators": "GET /channels/{ChannelArn}/moderators", + "ListChannels": "GET /channels", + "ListChannelsAssociatedWithChannelFlow": "GET /channels?scope=channel-flow-associations", + "ListChannelsModeratedByAppInstanceUser": "GET /channels?scope=app-instance-user-moderated-channels", + "ListSubChannels": "GET /channels/{ChannelArn}/subchannels", + "ListTagsForResource": "GET /tags", + "PutChannelExpirationSettings": "PUT /channels/{ChannelArn}/expiration-settings", + "PutChannelMembershipPreferences": "PUT /channels/{ChannelArn}/memberships/{MemberArn}/preferences", + "PutMessagingStreamingConfigurations": "PUT /app-instances/{AppInstanceArn}/streaming-configurations", + "RedactChannelMessage": "POST /channels/{ChannelArn}/messages/{MessageId}?operation=redact", + "SearchChannels": "POST /channels?operation=search", + "SendChannelMessage": "POST /channels/{ChannelArn}/messages", + "TagResource": "POST /tags?operation=tag-resource", + "UntagResource": "POST /tags?operation=untag-resource", + "UpdateChannel": "PUT /channels/{ChannelArn}", + "UpdateChannelFlow": "PUT /channel-flows/{ChannelFlowArn}", + "UpdateChannelMessage": "PUT /channels/{ChannelArn}/messages/{MessageId}", + "UpdateChannelReadMarker": "PUT /channels/{ChannelArn}/readMarker", }, } as const satisfies ServiceMetadata; diff --git a/src/services/chime-sdk-messaging/types.ts b/src/services/chime-sdk-messaging/types.ts index f2e58752..6a1c1d02 100644 --- a/src/services/chime-sdk-messaging/types.ts +++ b/src/services/chime-sdk-messaging/types.ts @@ -7,649 +7,307 @@ export declare class ChimeSDKMessaging extends AWSServiceClient { input: AssociateChannelFlowRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; batchCreateChannelMembership( input: BatchCreateChannelMembershipRequest, ): Effect.Effect< BatchCreateChannelMembershipResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; channelFlowCallback( input: ChannelFlowCallbackRequest, ): Effect.Effect< ChannelFlowCallbackResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createChannel( input: CreateChannelRequest, ): Effect.Effect< CreateChannelResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createChannelBan( input: CreateChannelBanRequest, ): Effect.Effect< CreateChannelBanResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createChannelFlow( input: CreateChannelFlowRequest, ): Effect.Effect< CreateChannelFlowResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createChannelMembership( input: CreateChannelMembershipRequest, ): Effect.Effect< CreateChannelMembershipResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createChannelModerator( input: CreateChannelModeratorRequest, ): Effect.Effect< CreateChannelModeratorResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteChannel( input: DeleteChannelRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteChannelBan( input: DeleteChannelBanRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteChannelFlow( input: DeleteChannelFlowRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteChannelMembership( input: DeleteChannelMembershipRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteChannelMessage( input: DeleteChannelMessageRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteChannelModerator( input: DeleteChannelModeratorRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteMessagingStreamingConfigurations( input: DeleteMessagingStreamingConfigurationsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeChannel( input: DescribeChannelRequest, ): Effect.Effect< DescribeChannelResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeChannelBan( input: DescribeChannelBanRequest, ): Effect.Effect< DescribeChannelBanResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeChannelFlow( input: DescribeChannelFlowRequest, ): Effect.Effect< DescribeChannelFlowResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeChannelMembership( input: DescribeChannelMembershipRequest, ): Effect.Effect< DescribeChannelMembershipResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeChannelMembershipForAppInstanceUser( input: DescribeChannelMembershipForAppInstanceUserRequest, ): Effect.Effect< DescribeChannelMembershipForAppInstanceUserResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeChannelModeratedByAppInstanceUser( input: DescribeChannelModeratedByAppInstanceUserRequest, ): Effect.Effect< DescribeChannelModeratedByAppInstanceUserResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; describeChannelModerator( input: DescribeChannelModeratorRequest, ): Effect.Effect< DescribeChannelModeratorResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; disassociateChannelFlow( input: DisassociateChannelFlowRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getChannelMembershipPreferences( input: GetChannelMembershipPreferencesRequest, ): Effect.Effect< GetChannelMembershipPreferencesResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getChannelMessage( input: GetChannelMessageRequest, ): Effect.Effect< GetChannelMessageResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getChannelMessageStatus( input: GetChannelMessageStatusRequest, ): Effect.Effect< GetChannelMessageStatusResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getMessagingSessionEndpoint( input: GetMessagingSessionEndpointRequest, ): Effect.Effect< GetMessagingSessionEndpointResponse, - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getMessagingStreamingConfigurations( input: GetMessagingStreamingConfigurationsRequest, ): Effect.Effect< GetMessagingStreamingConfigurationsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listChannelBans( input: ListChannelBansRequest, ): Effect.Effect< ListChannelBansResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listChannelFlows( input: ListChannelFlowsRequest, ): Effect.Effect< ListChannelFlowsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listChannelMemberships( input: ListChannelMembershipsRequest, ): Effect.Effect< ListChannelMembershipsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listChannelMembershipsForAppInstanceUser( input: ListChannelMembershipsForAppInstanceUserRequest, ): Effect.Effect< ListChannelMembershipsForAppInstanceUserResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listChannelMessages( input: ListChannelMessagesRequest, ): Effect.Effect< ListChannelMessagesResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listChannelModerators( input: ListChannelModeratorsRequest, ): Effect.Effect< ListChannelModeratorsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listChannels( input: ListChannelsRequest, ): Effect.Effect< ListChannelsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listChannelsAssociatedWithChannelFlow( input: ListChannelsAssociatedWithChannelFlowRequest, ): Effect.Effect< ListChannelsAssociatedWithChannelFlowResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listChannelsModeratedByAppInstanceUser( input: ListChannelsModeratedByAppInstanceUserRequest, ): Effect.Effect< ListChannelsModeratedByAppInstanceUserResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listSubChannels( input: ListSubChannelsRequest, ): Effect.Effect< ListSubChannelsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putChannelExpirationSettings( input: PutChannelExpirationSettingsRequest, ): Effect.Effect< PutChannelExpirationSettingsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putChannelMembershipPreferences( input: PutChannelMembershipPreferencesRequest, ): Effect.Effect< PutChannelMembershipPreferencesResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putMessagingStreamingConfigurations( input: PutMessagingStreamingConfigurationsRequest, ): Effect.Effect< PutMessagingStreamingConfigurationsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; redactChannelMessage( input: RedactChannelMessageRequest, ): Effect.Effect< RedactChannelMessageResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; searchChannels( input: SearchChannelsRequest, ): Effect.Effect< SearchChannelsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; sendChannelMessage( input: SendChannelMessageRequest, ): Effect.Effect< SendChannelMessageResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateChannel( input: UpdateChannelRequest, ): Effect.Effect< UpdateChannelResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateChannelFlow( input: UpdateChannelFlowRequest, ): Effect.Effect< UpdateChannelFlowResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateChannelMessage( input: UpdateChannelMessageRequest, ): Effect.Effect< UpdateChannelMessageResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateChannelReadMarker( input: UpdateChannelReadMarkerRequest, ): Effect.Effect< UpdateChannelReadMarkerResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; } @@ -684,8 +342,7 @@ export interface BatchCreateChannelMembershipError { ErrorCode?: ErrorCode; ErrorMessage?: string; } -export type BatchCreateChannelMembershipErrors = - Array; +export type BatchCreateChannelMembershipErrors = Array; export interface BatchCreateChannelMembershipRequest { ChannelArn: string; Type?: ChannelMembershipType; @@ -720,8 +377,7 @@ export interface ChannelAssociatedWithFlowSummary { Privacy?: ChannelPrivacy; Metadata?: string; } -export type ChannelAssociatedWithFlowSummaryList = - Array; +export type ChannelAssociatedWithFlowSummaryList = Array; export interface ChannelBan { Member?: Identity; ChannelArn?: string; @@ -773,8 +429,7 @@ export interface ChannelMembershipForAppInstanceUserSummary { ChannelSummary?: ChannelSummary; AppInstanceUserMembershipSummary?: AppInstanceUserMembershipSummary; } -export type ChannelMembershipForAppInstanceUserSummaryList = - Array; +export type ChannelMembershipForAppInstanceUserSummaryList = Array; export interface ChannelMembershipPreferences { PushNotifications?: PushNotificationPreferences; } @@ -837,8 +492,7 @@ export type ChannelMode = "UNRESTRICTED" | "RESTRICTED"; export interface ChannelModeratedByAppInstanceUserSummary { ChannelSummary?: ChannelSummary; } -export type ChannelModeratedByAppInstanceUserSummaryList = - Array; +export type ChannelModeratedByAppInstanceUserSummaryList = Array; export interface ChannelModerator { Moderator?: Identity; ChannelArn?: string; @@ -1028,25 +682,8 @@ export interface ElasticChannelConfiguration { TargetMembershipsPerSubChannel: number; MinimumMembershipPercentage: number; } -export type ErrorCode = - | "BadRequest" - | "Conflict" - | "Forbidden" - | "NotFound" - | "PreconditionFailed" - | "ResourceLimitExceeded" - | "ServiceFailure" - | "AccessDenied" - | "ServiceUnavailable" - | "Throttled" - | "Throttling" - | "Unauthorized" - | "Unprocessable" - | "VoiceConnectorGroupAssociationsExist" - | "PhoneNumberAssociationsExist"; -export type ExpirationCriterion = - | "CREATED_TIMESTAMP" - | "LAST_MESSAGE_TIMESTAMP"; +export type ErrorCode = "BadRequest" | "Conflict" | "Forbidden" | "NotFound" | "PreconditionFailed" | "ResourceLimitExceeded" | "ServiceFailure" | "AccessDenied" | "ServiceUnavailable" | "Throttled" | "Throttling" | "Unauthorized" | "Unprocessable" | "VoiceConnectorGroupAssociationsExist" | "PhoneNumberAssociationsExist"; +export type ExpirationCriterion = "CREATED_TIMESTAMP" | "LAST_MESSAGE_TIMESTAMP"; export type ExpirationDays = number; export interface ExpirationSettings { @@ -2191,14 +1828,5 @@ export declare namespace UpdateChannelReadMarker { | CommonAwsError; } -export type ChimeSDKMessagingErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError; +export type ChimeSDKMessagingErrors = BadRequestException | ConflictException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError; + diff --git a/src/services/chime-sdk-voice/index.ts b/src/services/chime-sdk-voice/index.ts index f7561ca8..0c9eead3 100644 --- a/src/services/chime-sdk-voice/index.ts +++ b/src/services/chime-sdk-voice/index.ts @@ -5,25 +5,7 @@ import type { ChimeSDKVoice as _ChimeSDKVoiceClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,155 +15,102 @@ const metadata = { sigV4ServiceName: "chime", endpointPrefix: "voice-chime", operations: { - AssociatePhoneNumbersWithVoiceConnector: - "POST /voice-connectors/{VoiceConnectorId}?operation=associate-phone-numbers", - AssociatePhoneNumbersWithVoiceConnectorGroup: - "POST /voice-connector-groups/{VoiceConnectorGroupId}?operation=associate-phone-numbers", - BatchDeletePhoneNumber: "POST /phone-numbers?operation=batch-delete", - BatchUpdatePhoneNumber: "POST /phone-numbers?operation=batch-update", - CreatePhoneNumberOrder: "POST /phone-number-orders", - CreateProxySession: - "POST /voice-connectors/{VoiceConnectorId}/proxy-sessions", - CreateSipMediaApplication: "POST /sip-media-applications", - CreateSipMediaApplicationCall: - "POST /sip-media-applications/{SipMediaApplicationId}/calls", - CreateSipRule: "POST /sip-rules", - CreateVoiceConnector: "POST /voice-connectors", - CreateVoiceConnectorGroup: "POST /voice-connector-groups", - CreateVoiceProfile: "POST /voice-profiles", - CreateVoiceProfileDomain: "POST /voice-profile-domains", - DeletePhoneNumber: "DELETE /phone-numbers/{PhoneNumberId}", - DeleteProxySession: - "DELETE /voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}", - DeleteSipMediaApplication: - "DELETE /sip-media-applications/{SipMediaApplicationId}", - DeleteSipRule: "DELETE /sip-rules/{SipRuleId}", - DeleteVoiceConnector: "DELETE /voice-connectors/{VoiceConnectorId}", - DeleteVoiceConnectorEmergencyCallingConfiguration: - "DELETE /voice-connectors/{VoiceConnectorId}/emergency-calling-configuration", - DeleteVoiceConnectorExternalSystemsConfiguration: - "DELETE /voice-connectors/{VoiceConnectorId}/external-systems-configuration", - DeleteVoiceConnectorGroup: - "DELETE /voice-connector-groups/{VoiceConnectorGroupId}", - DeleteVoiceConnectorOrigination: - "DELETE /voice-connectors/{VoiceConnectorId}/origination", - DeleteVoiceConnectorProxy: - "DELETE /voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy", - DeleteVoiceConnectorStreamingConfiguration: - "DELETE /voice-connectors/{VoiceConnectorId}/streaming-configuration", - DeleteVoiceConnectorTermination: - "DELETE /voice-connectors/{VoiceConnectorId}/termination", - DeleteVoiceConnectorTerminationCredentials: - "POST /voice-connectors/{VoiceConnectorId}/termination/credentials?operation=delete", - DeleteVoiceProfile: "DELETE /voice-profiles/{VoiceProfileId}", - DeleteVoiceProfileDomain: - "DELETE /voice-profile-domains/{VoiceProfileDomainId}", - DisassociatePhoneNumbersFromVoiceConnector: - "POST /voice-connectors/{VoiceConnectorId}?operation=disassociate-phone-numbers", - DisassociatePhoneNumbersFromVoiceConnectorGroup: - "POST /voice-connector-groups/{VoiceConnectorGroupId}?operation=disassociate-phone-numbers", - GetGlobalSettings: "GET /settings", - GetPhoneNumber: "GET /phone-numbers/{PhoneNumberId}", - GetPhoneNumberOrder: "GET /phone-number-orders/{PhoneNumberOrderId}", - GetPhoneNumberSettings: "GET /settings/phone-number", - GetProxySession: - "GET /voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}", - GetSipMediaApplication: - "GET /sip-media-applications/{SipMediaApplicationId}", - GetSipMediaApplicationAlexaSkillConfiguration: - "GET /sip-media-applications/{SipMediaApplicationId}/alexa-skill-configuration", - GetSipMediaApplicationLoggingConfiguration: - "GET /sip-media-applications/{SipMediaApplicationId}/logging-configuration", - GetSipRule: "GET /sip-rules/{SipRuleId}", - GetSpeakerSearchTask: - "GET /voice-connectors/{VoiceConnectorId}/speaker-search-tasks/{SpeakerSearchTaskId}", - GetVoiceConnector: "GET /voice-connectors/{VoiceConnectorId}", - GetVoiceConnectorEmergencyCallingConfiguration: - "GET /voice-connectors/{VoiceConnectorId}/emergency-calling-configuration", - GetVoiceConnectorExternalSystemsConfiguration: - "GET /voice-connectors/{VoiceConnectorId}/external-systems-configuration", - GetVoiceConnectorGroup: - "GET /voice-connector-groups/{VoiceConnectorGroupId}", - GetVoiceConnectorLoggingConfiguration: - "GET /voice-connectors/{VoiceConnectorId}/logging-configuration", - GetVoiceConnectorOrigination: - "GET /voice-connectors/{VoiceConnectorId}/origination", - GetVoiceConnectorProxy: - "GET /voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy", - GetVoiceConnectorStreamingConfiguration: - "GET /voice-connectors/{VoiceConnectorId}/streaming-configuration", - GetVoiceConnectorTermination: - "GET /voice-connectors/{VoiceConnectorId}/termination", - GetVoiceConnectorTerminationHealth: - "GET /voice-connectors/{VoiceConnectorId}/termination/health", - GetVoiceProfile: "GET /voice-profiles/{VoiceProfileId}", - GetVoiceProfileDomain: "GET /voice-profile-domains/{VoiceProfileDomainId}", - GetVoiceToneAnalysisTask: - "GET /voice-connectors/{VoiceConnectorId}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}", - ListAvailableVoiceConnectorRegions: "GET /voice-connector-regions", - ListPhoneNumberOrders: "GET /phone-number-orders", - ListPhoneNumbers: "GET /phone-numbers", - ListProxySessions: - "GET /voice-connectors/{VoiceConnectorId}/proxy-sessions", - ListSipMediaApplications: "GET /sip-media-applications", - ListSipRules: "GET /sip-rules", - ListSupportedPhoneNumberCountries: "GET /phone-number-countries", - ListTagsForResource: "GET /tags", - ListVoiceConnectorGroups: "GET /voice-connector-groups", - ListVoiceConnectors: "GET /voice-connectors", - ListVoiceConnectorTerminationCredentials: - "GET /voice-connectors/{VoiceConnectorId}/termination/credentials", - ListVoiceProfileDomains: "GET /voice-profile-domains", - ListVoiceProfiles: "GET /voice-profiles", - PutSipMediaApplicationAlexaSkillConfiguration: - "PUT /sip-media-applications/{SipMediaApplicationId}/alexa-skill-configuration", - PutSipMediaApplicationLoggingConfiguration: - "PUT /sip-media-applications/{SipMediaApplicationId}/logging-configuration", - PutVoiceConnectorEmergencyCallingConfiguration: - "PUT /voice-connectors/{VoiceConnectorId}/emergency-calling-configuration", - PutVoiceConnectorExternalSystemsConfiguration: - "PUT /voice-connectors/{VoiceConnectorId}/external-systems-configuration", - PutVoiceConnectorLoggingConfiguration: - "PUT /voice-connectors/{VoiceConnectorId}/logging-configuration", - PutVoiceConnectorOrigination: - "PUT /voice-connectors/{VoiceConnectorId}/origination", - PutVoiceConnectorProxy: - "PUT /voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy", - PutVoiceConnectorStreamingConfiguration: - "PUT /voice-connectors/{VoiceConnectorId}/streaming-configuration", - PutVoiceConnectorTermination: - "PUT /voice-connectors/{VoiceConnectorId}/termination", - PutVoiceConnectorTerminationCredentials: - "POST /voice-connectors/{VoiceConnectorId}/termination/credentials?operation=put", - RestorePhoneNumber: "POST /phone-numbers/{PhoneNumberId}?operation=restore", - SearchAvailablePhoneNumbers: "GET /search?type=phone-numbers", - StartSpeakerSearchTask: - "POST /voice-connectors/{VoiceConnectorId}/speaker-search-tasks", - StartVoiceToneAnalysisTask: - "POST /voice-connectors/{VoiceConnectorId}/voice-tone-analysis-tasks", - StopSpeakerSearchTask: - "POST /voice-connectors/{VoiceConnectorId}/speaker-search-tasks/{SpeakerSearchTaskId}?operation=stop", - StopVoiceToneAnalysisTask: - "POST /voice-connectors/{VoiceConnectorId}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}?operation=stop", - TagResource: "POST /tags?operation=tag-resource", - UntagResource: "POST /tags?operation=untag-resource", - UpdateGlobalSettings: "PUT /settings", - UpdatePhoneNumber: "POST /phone-numbers/{PhoneNumberId}", - UpdatePhoneNumberSettings: "PUT /settings/phone-number", - UpdateProxySession: - "POST /voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}", - UpdateSipMediaApplication: - "PUT /sip-media-applications/{SipMediaApplicationId}", - UpdateSipMediaApplicationCall: - "POST /sip-media-applications/{SipMediaApplicationId}/calls/{TransactionId}", - UpdateSipRule: "PUT /sip-rules/{SipRuleId}", - UpdateVoiceConnector: "PUT /voice-connectors/{VoiceConnectorId}", - UpdateVoiceConnectorGroup: - "PUT /voice-connector-groups/{VoiceConnectorGroupId}", - UpdateVoiceProfile: "PUT /voice-profiles/{VoiceProfileId}", - UpdateVoiceProfileDomain: - "PUT /voice-profile-domains/{VoiceProfileDomainId}", - ValidateE911Address: "POST /emergency-calling/address", + "AssociatePhoneNumbersWithVoiceConnector": "POST /voice-connectors/{VoiceConnectorId}?operation=associate-phone-numbers", + "AssociatePhoneNumbersWithVoiceConnectorGroup": "POST /voice-connector-groups/{VoiceConnectorGroupId}?operation=associate-phone-numbers", + "BatchDeletePhoneNumber": "POST /phone-numbers?operation=batch-delete", + "BatchUpdatePhoneNumber": "POST /phone-numbers?operation=batch-update", + "CreatePhoneNumberOrder": "POST /phone-number-orders", + "CreateProxySession": "POST /voice-connectors/{VoiceConnectorId}/proxy-sessions", + "CreateSipMediaApplication": "POST /sip-media-applications", + "CreateSipMediaApplicationCall": "POST /sip-media-applications/{SipMediaApplicationId}/calls", + "CreateSipRule": "POST /sip-rules", + "CreateVoiceConnector": "POST /voice-connectors", + "CreateVoiceConnectorGroup": "POST /voice-connector-groups", + "CreateVoiceProfile": "POST /voice-profiles", + "CreateVoiceProfileDomain": "POST /voice-profile-domains", + "DeletePhoneNumber": "DELETE /phone-numbers/{PhoneNumberId}", + "DeleteProxySession": "DELETE /voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}", + "DeleteSipMediaApplication": "DELETE /sip-media-applications/{SipMediaApplicationId}", + "DeleteSipRule": "DELETE /sip-rules/{SipRuleId}", + "DeleteVoiceConnector": "DELETE /voice-connectors/{VoiceConnectorId}", + "DeleteVoiceConnectorEmergencyCallingConfiguration": "DELETE /voice-connectors/{VoiceConnectorId}/emergency-calling-configuration", + "DeleteVoiceConnectorExternalSystemsConfiguration": "DELETE /voice-connectors/{VoiceConnectorId}/external-systems-configuration", + "DeleteVoiceConnectorGroup": "DELETE /voice-connector-groups/{VoiceConnectorGroupId}", + "DeleteVoiceConnectorOrigination": "DELETE /voice-connectors/{VoiceConnectorId}/origination", + "DeleteVoiceConnectorProxy": "DELETE /voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy", + "DeleteVoiceConnectorStreamingConfiguration": "DELETE /voice-connectors/{VoiceConnectorId}/streaming-configuration", + "DeleteVoiceConnectorTermination": "DELETE /voice-connectors/{VoiceConnectorId}/termination", + "DeleteVoiceConnectorTerminationCredentials": "POST /voice-connectors/{VoiceConnectorId}/termination/credentials?operation=delete", + "DeleteVoiceProfile": "DELETE /voice-profiles/{VoiceProfileId}", + "DeleteVoiceProfileDomain": "DELETE /voice-profile-domains/{VoiceProfileDomainId}", + "DisassociatePhoneNumbersFromVoiceConnector": "POST /voice-connectors/{VoiceConnectorId}?operation=disassociate-phone-numbers", + "DisassociatePhoneNumbersFromVoiceConnectorGroup": "POST /voice-connector-groups/{VoiceConnectorGroupId}?operation=disassociate-phone-numbers", + "GetGlobalSettings": "GET /settings", + "GetPhoneNumber": "GET /phone-numbers/{PhoneNumberId}", + "GetPhoneNumberOrder": "GET /phone-number-orders/{PhoneNumberOrderId}", + "GetPhoneNumberSettings": "GET /settings/phone-number", + "GetProxySession": "GET /voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}", + "GetSipMediaApplication": "GET /sip-media-applications/{SipMediaApplicationId}", + "GetSipMediaApplicationAlexaSkillConfiguration": "GET /sip-media-applications/{SipMediaApplicationId}/alexa-skill-configuration", + "GetSipMediaApplicationLoggingConfiguration": "GET /sip-media-applications/{SipMediaApplicationId}/logging-configuration", + "GetSipRule": "GET /sip-rules/{SipRuleId}", + "GetSpeakerSearchTask": "GET /voice-connectors/{VoiceConnectorId}/speaker-search-tasks/{SpeakerSearchTaskId}", + "GetVoiceConnector": "GET /voice-connectors/{VoiceConnectorId}", + "GetVoiceConnectorEmergencyCallingConfiguration": "GET /voice-connectors/{VoiceConnectorId}/emergency-calling-configuration", + "GetVoiceConnectorExternalSystemsConfiguration": "GET /voice-connectors/{VoiceConnectorId}/external-systems-configuration", + "GetVoiceConnectorGroup": "GET /voice-connector-groups/{VoiceConnectorGroupId}", + "GetVoiceConnectorLoggingConfiguration": "GET /voice-connectors/{VoiceConnectorId}/logging-configuration", + "GetVoiceConnectorOrigination": "GET /voice-connectors/{VoiceConnectorId}/origination", + "GetVoiceConnectorProxy": "GET /voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy", + "GetVoiceConnectorStreamingConfiguration": "GET /voice-connectors/{VoiceConnectorId}/streaming-configuration", + "GetVoiceConnectorTermination": "GET /voice-connectors/{VoiceConnectorId}/termination", + "GetVoiceConnectorTerminationHealth": "GET /voice-connectors/{VoiceConnectorId}/termination/health", + "GetVoiceProfile": "GET /voice-profiles/{VoiceProfileId}", + "GetVoiceProfileDomain": "GET /voice-profile-domains/{VoiceProfileDomainId}", + "GetVoiceToneAnalysisTask": "GET /voice-connectors/{VoiceConnectorId}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}", + "ListAvailableVoiceConnectorRegions": "GET /voice-connector-regions", + "ListPhoneNumberOrders": "GET /phone-number-orders", + "ListPhoneNumbers": "GET /phone-numbers", + "ListProxySessions": "GET /voice-connectors/{VoiceConnectorId}/proxy-sessions", + "ListSipMediaApplications": "GET /sip-media-applications", + "ListSipRules": "GET /sip-rules", + "ListSupportedPhoneNumberCountries": "GET /phone-number-countries", + "ListTagsForResource": "GET /tags", + "ListVoiceConnectorGroups": "GET /voice-connector-groups", + "ListVoiceConnectors": "GET /voice-connectors", + "ListVoiceConnectorTerminationCredentials": "GET /voice-connectors/{VoiceConnectorId}/termination/credentials", + "ListVoiceProfileDomains": "GET /voice-profile-domains", + "ListVoiceProfiles": "GET /voice-profiles", + "PutSipMediaApplicationAlexaSkillConfiguration": "PUT /sip-media-applications/{SipMediaApplicationId}/alexa-skill-configuration", + "PutSipMediaApplicationLoggingConfiguration": "PUT /sip-media-applications/{SipMediaApplicationId}/logging-configuration", + "PutVoiceConnectorEmergencyCallingConfiguration": "PUT /voice-connectors/{VoiceConnectorId}/emergency-calling-configuration", + "PutVoiceConnectorExternalSystemsConfiguration": "PUT /voice-connectors/{VoiceConnectorId}/external-systems-configuration", + "PutVoiceConnectorLoggingConfiguration": "PUT /voice-connectors/{VoiceConnectorId}/logging-configuration", + "PutVoiceConnectorOrigination": "PUT /voice-connectors/{VoiceConnectorId}/origination", + "PutVoiceConnectorProxy": "PUT /voice-connectors/{VoiceConnectorId}/programmable-numbers/proxy", + "PutVoiceConnectorStreamingConfiguration": "PUT /voice-connectors/{VoiceConnectorId}/streaming-configuration", + "PutVoiceConnectorTermination": "PUT /voice-connectors/{VoiceConnectorId}/termination", + "PutVoiceConnectorTerminationCredentials": "POST /voice-connectors/{VoiceConnectorId}/termination/credentials?operation=put", + "RestorePhoneNumber": "POST /phone-numbers/{PhoneNumberId}?operation=restore", + "SearchAvailablePhoneNumbers": "GET /search?type=phone-numbers", + "StartSpeakerSearchTask": "POST /voice-connectors/{VoiceConnectorId}/speaker-search-tasks", + "StartVoiceToneAnalysisTask": "POST /voice-connectors/{VoiceConnectorId}/voice-tone-analysis-tasks", + "StopSpeakerSearchTask": "POST /voice-connectors/{VoiceConnectorId}/speaker-search-tasks/{SpeakerSearchTaskId}?operation=stop", + "StopVoiceToneAnalysisTask": "POST /voice-connectors/{VoiceConnectorId}/voice-tone-analysis-tasks/{VoiceToneAnalysisTaskId}?operation=stop", + "TagResource": "POST /tags?operation=tag-resource", + "UntagResource": "POST /tags?operation=untag-resource", + "UpdateGlobalSettings": "PUT /settings", + "UpdatePhoneNumber": "POST /phone-numbers/{PhoneNumberId}", + "UpdatePhoneNumberSettings": "PUT /settings/phone-number", + "UpdateProxySession": "POST /voice-connectors/{VoiceConnectorId}/proxy-sessions/{ProxySessionId}", + "UpdateSipMediaApplication": "PUT /sip-media-applications/{SipMediaApplicationId}", + "UpdateSipMediaApplicationCall": "POST /sip-media-applications/{SipMediaApplicationId}/calls/{TransactionId}", + "UpdateSipRule": "PUT /sip-rules/{SipRuleId}", + "UpdateVoiceConnector": "PUT /voice-connectors/{VoiceConnectorId}", + "UpdateVoiceConnectorGroup": "PUT /voice-connector-groups/{VoiceConnectorGroupId}", + "UpdateVoiceProfile": "PUT /voice-profiles/{VoiceProfileId}", + "UpdateVoiceProfileDomain": "PUT /voice-profile-domains/{VoiceProfileDomainId}", + "ValidateE911Address": "POST /emergency-calling/address", }, } as const satisfies ServiceMetadata; diff --git a/src/services/chime-sdk-voice/types.ts b/src/services/chime-sdk-voice/types.ts index afeb94b3..9837473b 100644 --- a/src/services/chime-sdk-voice/types.ts +++ b/src/services/chime-sdk-voice/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class ChimeSDKVoice extends AWSServiceClient { @@ -42,1292 +8,577 @@ export declare class ChimeSDKVoice extends AWSServiceClient { input: AssociatePhoneNumbersWithVoiceConnectorRequest, ): Effect.Effect< AssociatePhoneNumbersWithVoiceConnectorResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; associatePhoneNumbersWithVoiceConnectorGroup( input: AssociatePhoneNumbersWithVoiceConnectorGroupRequest, ): Effect.Effect< AssociatePhoneNumbersWithVoiceConnectorGroupResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; batchDeletePhoneNumber( input: BatchDeletePhoneNumberRequest, ): Effect.Effect< BatchDeletePhoneNumberResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; batchUpdatePhoneNumber( input: BatchUpdatePhoneNumberRequest, ): Effect.Effect< BatchUpdatePhoneNumberResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createPhoneNumberOrder( input: CreatePhoneNumberOrderRequest, ): Effect.Effect< CreatePhoneNumberOrderResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createProxySession( input: CreateProxySessionRequest, ): Effect.Effect< CreateProxySessionResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createSipMediaApplication( input: CreateSipMediaApplicationRequest, ): Effect.Effect< CreateSipMediaApplicationResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createSipMediaApplicationCall( input: CreateSipMediaApplicationCallRequest, ): Effect.Effect< CreateSipMediaApplicationCallResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createSipRule( input: CreateSipRuleRequest, ): Effect.Effect< CreateSipRuleResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createVoiceConnector( input: CreateVoiceConnectorRequest, ): Effect.Effect< CreateVoiceConnectorResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createVoiceConnectorGroup( input: CreateVoiceConnectorGroupRequest, ): Effect.Effect< CreateVoiceConnectorGroupResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createVoiceProfile( input: CreateVoiceProfileRequest, ): Effect.Effect< CreateVoiceProfileResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | GoneException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | GoneException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createVoiceProfileDomain( input: CreateVoiceProfileDomainRequest, ): Effect.Effect< CreateVoiceProfileDomainResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deletePhoneNumber( input: DeletePhoneNumberRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteProxySession( input: DeleteProxySessionRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteSipMediaApplication( input: DeleteSipMediaApplicationRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteSipRule( input: DeleteSipRuleRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceConnector( input: DeleteVoiceConnectorRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceConnectorEmergencyCallingConfiguration( input: DeleteVoiceConnectorEmergencyCallingConfigurationRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceConnectorExternalSystemsConfiguration( input: DeleteVoiceConnectorExternalSystemsConfigurationRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceConnectorGroup( input: DeleteVoiceConnectorGroupRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceConnectorOrigination( input: DeleteVoiceConnectorOriginationRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceConnectorProxy( input: DeleteVoiceConnectorProxyRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceConnectorStreamingConfiguration( input: DeleteVoiceConnectorStreamingConfigurationRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceConnectorTermination( input: DeleteVoiceConnectorTerminationRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceConnectorTerminationCredentials( input: DeleteVoiceConnectorTerminationCredentialsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceProfile( input: DeleteVoiceProfileRequest, ): Effect.Effect< {}, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteVoiceProfileDomain( input: DeleteVoiceProfileDomainRequest, ): Effect.Effect< {}, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; disassociatePhoneNumbersFromVoiceConnector( input: DisassociatePhoneNumbersFromVoiceConnectorRequest, ): Effect.Effect< DisassociatePhoneNumbersFromVoiceConnectorResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; disassociatePhoneNumbersFromVoiceConnectorGroup( input: DisassociatePhoneNumbersFromVoiceConnectorGroupRequest, ): Effect.Effect< DisassociatePhoneNumbersFromVoiceConnectorGroupResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; - getGlobalSettings(input: {}): Effect.Effect< + getGlobalSettings( + input: {}, + ): Effect.Effect< GetGlobalSettingsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getPhoneNumber( input: GetPhoneNumberRequest, ): Effect.Effect< GetPhoneNumberResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getPhoneNumberOrder( input: GetPhoneNumberOrderRequest, ): Effect.Effect< GetPhoneNumberOrderResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; - getPhoneNumberSettings(input: {}): Effect.Effect< + getPhoneNumberSettings( + input: {}, + ): Effect.Effect< GetPhoneNumberSettingsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getProxySession( input: GetProxySessionRequest, ): Effect.Effect< GetProxySessionResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getSipMediaApplication( input: GetSipMediaApplicationRequest, ): Effect.Effect< GetSipMediaApplicationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getSipMediaApplicationAlexaSkillConfiguration( input: GetSipMediaApplicationAlexaSkillConfigurationRequest, ): Effect.Effect< GetSipMediaApplicationAlexaSkillConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getSipMediaApplicationLoggingConfiguration( input: GetSipMediaApplicationLoggingConfigurationRequest, ): Effect.Effect< GetSipMediaApplicationLoggingConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getSipRule( input: GetSipRuleRequest, ): Effect.Effect< GetSipRuleResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getSpeakerSearchTask( input: GetSpeakerSearchTaskRequest, ): Effect.Effect< GetSpeakerSearchTaskResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnector( input: GetVoiceConnectorRequest, ): Effect.Effect< GetVoiceConnectorResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnectorEmergencyCallingConfiguration( input: GetVoiceConnectorEmergencyCallingConfigurationRequest, ): Effect.Effect< GetVoiceConnectorEmergencyCallingConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnectorExternalSystemsConfiguration( input: GetVoiceConnectorExternalSystemsConfigurationRequest, ): Effect.Effect< GetVoiceConnectorExternalSystemsConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnectorGroup( input: GetVoiceConnectorGroupRequest, ): Effect.Effect< GetVoiceConnectorGroupResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnectorLoggingConfiguration( input: GetVoiceConnectorLoggingConfigurationRequest, ): Effect.Effect< GetVoiceConnectorLoggingConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnectorOrigination( input: GetVoiceConnectorOriginationRequest, ): Effect.Effect< GetVoiceConnectorOriginationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnectorProxy( input: GetVoiceConnectorProxyRequest, ): Effect.Effect< GetVoiceConnectorProxyResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnectorStreamingConfiguration( input: GetVoiceConnectorStreamingConfigurationRequest, ): Effect.Effect< GetVoiceConnectorStreamingConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnectorTermination( input: GetVoiceConnectorTerminationRequest, ): Effect.Effect< GetVoiceConnectorTerminationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceConnectorTerminationHealth( input: GetVoiceConnectorTerminationHealthRequest, ): Effect.Effect< GetVoiceConnectorTerminationHealthResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceProfile( input: GetVoiceProfileRequest, ): Effect.Effect< GetVoiceProfileResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceProfileDomain( input: GetVoiceProfileDomainRequest, ): Effect.Effect< GetVoiceProfileDomainResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getVoiceToneAnalysisTask( input: GetVoiceToneAnalysisTaskRequest, ): Effect.Effect< GetVoiceToneAnalysisTaskResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; - listAvailableVoiceConnectorRegions(input: {}): Effect.Effect< + listAvailableVoiceConnectorRegions( + input: {}, + ): Effect.Effect< ListAvailableVoiceConnectorRegionsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listPhoneNumberOrders( input: ListPhoneNumberOrdersRequest, ): Effect.Effect< ListPhoneNumberOrdersResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listPhoneNumbers( input: ListPhoneNumbersRequest, ): Effect.Effect< ListPhoneNumbersResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listProxySessions( input: ListProxySessionsRequest, ): Effect.Effect< ListProxySessionsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listSipMediaApplications( input: ListSipMediaApplicationsRequest, ): Effect.Effect< ListSipMediaApplicationsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listSipRules( input: ListSipRulesRequest, ): Effect.Effect< ListSipRulesResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listSupportedPhoneNumberCountries( input: ListSupportedPhoneNumberCountriesRequest, ): Effect.Effect< ListSupportedPhoneNumberCountriesResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | UnauthorizedClientException | CommonAwsError >; listVoiceConnectorGroups( input: ListVoiceConnectorGroupsRequest, ): Effect.Effect< ListVoiceConnectorGroupsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listVoiceConnectors( input: ListVoiceConnectorsRequest, ): Effect.Effect< ListVoiceConnectorsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listVoiceConnectorTerminationCredentials( - input: ListVoiceConnectorTerminationCredentialsRequest, - ): Effect.Effect< - ListVoiceConnectorTerminationCredentialsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + input: ListVoiceConnectorTerminationCredentialsRequest, + ): Effect.Effect< + ListVoiceConnectorTerminationCredentialsResponse, + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listVoiceProfileDomains( input: ListVoiceProfileDomainsRequest, ): Effect.Effect< ListVoiceProfileDomainsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listVoiceProfiles( input: ListVoiceProfilesRequest, ): Effect.Effect< ListVoiceProfilesResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putSipMediaApplicationAlexaSkillConfiguration( input: PutSipMediaApplicationAlexaSkillConfigurationRequest, ): Effect.Effect< PutSipMediaApplicationAlexaSkillConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putSipMediaApplicationLoggingConfiguration( input: PutSipMediaApplicationLoggingConfigurationRequest, ): Effect.Effect< PutSipMediaApplicationLoggingConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putVoiceConnectorEmergencyCallingConfiguration( input: PutVoiceConnectorEmergencyCallingConfigurationRequest, ): Effect.Effect< PutVoiceConnectorEmergencyCallingConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putVoiceConnectorExternalSystemsConfiguration( input: PutVoiceConnectorExternalSystemsConfigurationRequest, ): Effect.Effect< PutVoiceConnectorExternalSystemsConfigurationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putVoiceConnectorLoggingConfiguration( input: PutVoiceConnectorLoggingConfigurationRequest, ): Effect.Effect< PutVoiceConnectorLoggingConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putVoiceConnectorOrigination( input: PutVoiceConnectorOriginationRequest, ): Effect.Effect< PutVoiceConnectorOriginationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putVoiceConnectorProxy( input: PutVoiceConnectorProxyRequest, ): Effect.Effect< PutVoiceConnectorProxyResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putVoiceConnectorStreamingConfiguration( input: PutVoiceConnectorStreamingConfigurationRequest, ): Effect.Effect< PutVoiceConnectorStreamingConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putVoiceConnectorTermination( input: PutVoiceConnectorTerminationRequest, ): Effect.Effect< PutVoiceConnectorTerminationResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putVoiceConnectorTerminationCredentials( input: PutVoiceConnectorTerminationCredentialsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; restorePhoneNumber( input: RestorePhoneNumberRequest, ): Effect.Effect< RestorePhoneNumberResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; searchAvailablePhoneNumbers( input: SearchAvailablePhoneNumbersRequest, ): Effect.Effect< SearchAvailablePhoneNumbersResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; startSpeakerSearchTask( input: StartSpeakerSearchTaskRequest, ): Effect.Effect< StartSpeakerSearchTaskResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | GoneException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | UnprocessableEntityException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | GoneException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | UnprocessableEntityException | CommonAwsError >; startVoiceToneAnalysisTask( input: StartVoiceToneAnalysisTaskRequest, ): Effect.Effect< StartVoiceToneAnalysisTaskResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | GoneException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | UnprocessableEntityException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | GoneException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | UnprocessableEntityException | CommonAwsError >; stopSpeakerSearchTask( input: StopSpeakerSearchTaskRequest, ): Effect.Effect< {}, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | UnprocessableEntityException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | UnprocessableEntityException | CommonAwsError >; stopVoiceToneAnalysisTask( input: StopVoiceToneAnalysisTaskRequest, ): Effect.Effect< {}, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | UnprocessableEntityException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | UnprocessableEntityException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | UnauthorizedClientException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | UnauthorizedClientException | CommonAwsError >; updateGlobalSettings( input: UpdateGlobalSettingsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updatePhoneNumber( input: UpdatePhoneNumberRequest, ): Effect.Effect< UpdatePhoneNumberResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updatePhoneNumberSettings( input: UpdatePhoneNumberSettingsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateProxySession( input: UpdateProxySessionRequest, ): Effect.Effect< UpdateProxySessionResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateSipMediaApplication( input: UpdateSipMediaApplicationRequest, ): Effect.Effect< UpdateSipMediaApplicationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateSipMediaApplicationCall( input: UpdateSipMediaApplicationCallRequest, ): Effect.Effect< UpdateSipMediaApplicationCallResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateSipRule( input: UpdateSipRuleRequest, ): Effect.Effect< UpdateSipRuleResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateVoiceConnector( input: UpdateVoiceConnectorRequest, ): Effect.Effect< UpdateVoiceConnectorResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateVoiceConnectorGroup( input: UpdateVoiceConnectorGroupRequest, ): Effect.Effect< UpdateVoiceConnectorGroupResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateVoiceProfile( input: UpdateVoiceProfileRequest, ): Effect.Effect< UpdateVoiceProfileResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | GoneException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | GoneException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateVoiceProfileDomain( input: UpdateVoiceProfileDomainRequest, ): Effect.Effect< UpdateVoiceProfileDomainResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; validateE911Address( input: ValidateE911AddressRequest, ): Effect.Effect< ValidateE911AddressResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; } @@ -1404,11 +655,7 @@ export interface CallDetails { } export type CallingName = string; -export type CallingNameStatus = - | "Unassigned" - | "UpdateInProgress" - | "UpdateSucceeded" - | "UpdateFailed"; +export type CallingNameStatus = "Unassigned" | "UpdateInProgress" | "UpdateSucceeded" | "UpdateFailed"; export type CallingRegion = string; export type CallingRegionList = Array; @@ -1435,11 +682,7 @@ export declare class ConflictException extends EffectData.TaggedError( readonly Code?: ErrorCode; readonly Message?: string; }> {} -export type ContactCenterSystemType = - | "GENESYS_ENGAGE_ON_PREMISES" - | "AVAYA_AURA_CALL_CENTER_ELITE" - | "AVAYA_AURA_CONTACT_CENTER" - | "CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE"; +export type ContactCenterSystemType = "GENESYS_ENGAGE_ON_PREMISES" | "AVAYA_AURA_CALL_CENTER_ELITE" | "AVAYA_AURA_CONTACT_CENTER" | "CISCO_UNIFIED_CONTACT_CENTER_ENTERPRISE"; export type ContactCenterSystemTypeList = Array; export type Country = string; @@ -1603,31 +846,14 @@ export interface DNISEmergencyCallingConfiguration { TestPhoneNumber?: string; CallingCountry: string; } -export type DNISEmergencyCallingConfigurationList = - Array; +export type DNISEmergencyCallingConfigurationList = Array; export type E164PhoneNumber = string; export type E164PhoneNumberList = Array; export interface EmergencyCallingConfiguration { DNIS?: Array; } -export type ErrorCode = - | "BadRequest" - | "Conflict" - | "Forbidden" - | "NotFound" - | "PreconditionFailed" - | "ResourceLimitExceeded" - | "ServiceFailure" - | "AccessDenied" - | "ServiceUnavailable" - | "Throttled" - | "Throttling" - | "Unauthorized" - | "Unprocessable" - | "VoiceConnectorGroupAssociationsExist" - | "PhoneNumberAssociationsExist" - | "Gone"; +export type ErrorCode = "BadRequest" | "Conflict" | "Forbidden" | "NotFound" | "PreconditionFailed" | "ResourceLimitExceeded" | "ServiceFailure" | "AccessDenied" | "ServiceUnavailable" | "Throttled" | "Throttling" | "Unauthorized" | "Unprocessable" | "VoiceConnectorGroupAssociationsExist" | "PhoneNumberAssociationsExist" | "Gone"; export interface ExternalSystemsConfiguration { SessionBorderControllerTypes?: Array; ContactCenterSystemTypes?: Array; @@ -1976,10 +1202,7 @@ export interface PhoneNumberAssociation { AssociatedTimestamp?: Date | string; } export type PhoneNumberAssociationList = Array; -export type PhoneNumberAssociationName = - | "VoiceConnectorId" - | "VoiceConnectorGroupId" - | "SipRuleId"; +export type PhoneNumberAssociationName = "VoiceConnectorId" | "VoiceConnectorGroupId" | "SipRuleId"; export interface PhoneNumberCapabilities { InboundCall?: boolean; OutboundCall?: boolean; @@ -2015,34 +1238,10 @@ export interface PhoneNumberOrder { FocDate?: Date | string; } export type PhoneNumberOrderList = Array; -export type PhoneNumberOrderStatus = - | "Processing" - | "Successful" - | "Failed" - | "Partial" - | "PendingDocuments" - | "Submitted" - | "FOC" - | "ChangeRequested" - | "Exception" - | "CancelRequested" - | "Cancelled"; +export type PhoneNumberOrderStatus = "Processing" | "Successful" | "Failed" | "Partial" | "PendingDocuments" | "Submitted" | "FOC" | "ChangeRequested" | "Exception" | "CancelRequested" | "Cancelled"; export type PhoneNumberOrderType = "New" | "Porting"; -export type PhoneNumberProductType = - | "VoiceConnector" - | "SipMediaApplicationDialIn"; -export type PhoneNumberStatus = - | "Cancelled" - | "PortinCancelRequested" - | "PortinInProgress" - | "AcquireInProgress" - | "AcquireFailed" - | "Unassigned" - | "Assigned" - | "ReleaseInProgress" - | "DeleteInProgress" - | "ReleaseFailed" - | "DeleteFailed"; +export type PhoneNumberProductType = "VoiceConnector" | "SipMediaApplicationDialIn"; +export type PhoneNumberStatus = "Cancelled" | "PortinCancelRequested" | "PortinInProgress" | "AcquireInProgress" | "AcquireFailed" | "Unassigned" | "Assigned" | "ReleaseInProgress" | "DeleteInProgress" | "ReleaseFailed" | "DeleteFailed"; export type PhoneNumberType = "Local" | "TollFree"; export type PhoneNumberTypeList = Array; export type Port = number; @@ -2193,14 +1392,8 @@ export declare class ServiceUnavailableException extends EffectData.TaggedError( readonly Code?: ErrorCode; readonly Message?: string; }> {} -export type SessionBorderControllerType = - | "RIBBON_SBC" - | "ORACLE_ACME_PACKET_SBC" - | "AVAYA_SBCE" - | "CISCO_UNIFIED_BORDER_ELEMENT" - | "AUDIOCODES_MEDIANT_SBC"; -export type SessionBorderControllerTypeList = - Array; +export type SessionBorderControllerType = "RIBBON_SBC" | "ORACLE_ACME_PACKET_SBC" | "AVAYA_SBCE" | "CISCO_UNIFIED_BORDER_ELEMENT" | "AUDIOCODES_MEDIANT_SBC"; +export type SessionBorderControllerTypeList = Array; export type SipApplicationPriority = number; export type SipHeadersMap = Record; @@ -2223,8 +1416,7 @@ export interface SipMediaApplicationCall { export interface SipMediaApplicationEndpoint { LambdaArn?: string; } -export type SipMediaApplicationEndpointList = - Array; +export type SipMediaApplicationEndpointList = Array; export type SipMediaApplicationList = Array; export interface SipMediaApplicationLoggingConfiguration { EnableSipMediaApplicationMessageLogs?: boolean; @@ -2308,8 +1500,7 @@ export interface StreamingConfiguration { export interface StreamingNotificationTarget { NotificationTarget?: NotificationTarget; } -export type StreamingNotificationTargetList = - Array; +export type StreamingNotificationTargetList = Array; export type ChimeSdkVoiceString = string; export type String128 = string; @@ -2379,8 +1570,7 @@ export interface UpdatePhoneNumberRequestItem { CallingName?: string; Name?: string; } -export type UpdatePhoneNumberRequestItemList = - Array; +export type UpdatePhoneNumberRequestItemList = Array; export interface UpdatePhoneNumberResponse { PhoneNumber?: PhoneNumber; } @@ -2481,17 +1671,7 @@ export interface VoiceConnector { IntegrationType?: VoiceConnectorIntegrationType; NetworkType?: NetworkType; } -export type VoiceConnectorAwsRegion = - | "us-east-1" - | "us-west-2" - | "ca-central-1" - | "eu-central-1" - | "eu-west-1" - | "eu-west-2" - | "ap-northeast-2" - | "ap-northeast-1" - | "ap-southeast-1" - | "ap-southeast-2"; +export type VoiceConnectorAwsRegion = "us-east-1" | "us-west-2" | "ca-central-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "ap-northeast-2" | "ap-northeast-1" | "ap-southeast-1" | "ap-southeast-2"; export type VoiceConnectorAwsRegionList = Array; export interface VoiceConnectorGroup { VoiceConnectorGroupId?: string; @@ -2504,9 +1684,7 @@ export interface VoiceConnectorGroup { export type VoiceConnectorGroupList = Array; export type VoiceConnectorGroupName = string; -export type VoiceConnectorIntegrationType = - | "CONNECT_CALL_TRANSFER_CONNECTOR" - | "CONNECT_ANALYTICS_CONNECTOR"; +export type VoiceConnectorIntegrationType = "CONNECT_CALL_TRANSFER_CONNECTOR" | "CONNECT_ANALYTICS_CONNECTOR"; export interface VoiceConnectorItem { VoiceConnectorId: string; Priority: number; @@ -3961,17 +3139,5 @@ export declare namespace ValidateE911Address { | CommonAwsError; } -export type ChimeSDKVoiceErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | GoneException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | UnprocessableEntityException - | CommonAwsError; +export type ChimeSDKVoiceErrors = AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | GoneException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | UnprocessableEntityException | CommonAwsError; + diff --git a/src/services/chime/index.ts b/src/services/chime/index.ts index 83902ece..4b46076e 100644 --- a/src/services/chime/index.ts +++ b/src/services/chime/index.ts @@ -5,25 +5,7 @@ import type { Chime as _ChimeClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,83 +15,68 @@ const metadata = { sigV4ServiceName: "chime", endpointPrefix: "chime", operations: { - AssociatePhoneNumberWithUser: - "POST /accounts/{AccountId}/users/{UserId}?operation=associate-phone-number", - AssociateSigninDelegateGroupsWithAccount: - "POST /accounts/{AccountId}?operation=associate-signin-delegate-groups", - BatchCreateRoomMembership: - "POST /accounts/{AccountId}/rooms/{RoomId}/memberships?operation=batch-create", - BatchDeletePhoneNumber: "POST /phone-numbers?operation=batch-delete", - BatchSuspendUser: "POST /accounts/{AccountId}/users?operation=suspend", - BatchUnsuspendUser: "POST /accounts/{AccountId}/users?operation=unsuspend", - BatchUpdatePhoneNumber: "POST /phone-numbers?operation=batch-update", - BatchUpdateUser: "POST /accounts/{AccountId}/users", - CreateAccount: "POST /accounts", - CreateBot: "POST /accounts/{AccountId}/bots", - CreateMeetingDialOut: "POST /meetings/{MeetingId}/dial-outs", - CreatePhoneNumberOrder: "POST /phone-number-orders", - CreateRoom: "POST /accounts/{AccountId}/rooms", - CreateRoomMembership: - "POST /accounts/{AccountId}/rooms/{RoomId}/memberships", - CreateUser: "POST /accounts/{AccountId}/users?operation=create", - DeleteAccount: "DELETE /accounts/{AccountId}", - DeleteEventsConfiguration: - "DELETE /accounts/{AccountId}/bots/{BotId}/events-configuration", - DeletePhoneNumber: "DELETE /phone-numbers/{PhoneNumberId}", - DeleteRoom: "DELETE /accounts/{AccountId}/rooms/{RoomId}", - DeleteRoomMembership: - "DELETE /accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}", - DisassociatePhoneNumberFromUser: - "POST /accounts/{AccountId}/users/{UserId}?operation=disassociate-phone-number", - DisassociateSigninDelegateGroupsFromAccount: - "POST /accounts/{AccountId}?operation=disassociate-signin-delegate-groups", - GetAccount: "GET /accounts/{AccountId}", - GetAccountSettings: "GET /accounts/{AccountId}/settings", - GetBot: "GET /accounts/{AccountId}/bots/{BotId}", - GetEventsConfiguration: - "GET /accounts/{AccountId}/bots/{BotId}/events-configuration", - GetGlobalSettings: "GET /settings", - GetPhoneNumber: "GET /phone-numbers/{PhoneNumberId}", - GetPhoneNumberOrder: "GET /phone-number-orders/{PhoneNumberOrderId}", - GetPhoneNumberSettings: "GET /settings/phone-number", - GetRetentionSettings: "GET /accounts/{AccountId}/retention-settings", - GetRoom: "GET /accounts/{AccountId}/rooms/{RoomId}", - GetUser: "GET /accounts/{AccountId}/users/{UserId}", - GetUserSettings: "GET /accounts/{AccountId}/users/{UserId}/settings", - InviteUsers: "POST /accounts/{AccountId}/users?operation=add", - ListAccounts: "GET /accounts", - ListBots: "GET /accounts/{AccountId}/bots", - ListPhoneNumberOrders: "GET /phone-number-orders", - ListPhoneNumbers: "GET /phone-numbers", - ListRoomMemberships: "GET /accounts/{AccountId}/rooms/{RoomId}/memberships", - ListRooms: "GET /accounts/{AccountId}/rooms", - ListSupportedPhoneNumberCountries: "GET /phone-number-countries", - ListUsers: "GET /accounts/{AccountId}/users", - LogoutUser: "POST /accounts/{AccountId}/users/{UserId}?operation=logout", - PutEventsConfiguration: - "PUT /accounts/{AccountId}/bots/{BotId}/events-configuration", - PutRetentionSettings: "PUT /accounts/{AccountId}/retention-settings", - RedactConversationMessage: - "POST /accounts/{AccountId}/conversations/{ConversationId}/messages/{MessageId}?operation=redact", - RedactRoomMessage: - "POST /accounts/{AccountId}/rooms/{RoomId}/messages/{MessageId}?operation=redact", - RegenerateSecurityToken: - "POST /accounts/{AccountId}/bots/{BotId}?operation=regenerate-security-token", - ResetPersonalPIN: - "POST /accounts/{AccountId}/users/{UserId}?operation=reset-personal-pin", - RestorePhoneNumber: "POST /phone-numbers/{PhoneNumberId}?operation=restore", - SearchAvailablePhoneNumbers: "GET /search?type=phone-numbers", - UpdateAccount: "POST /accounts/{AccountId}", - UpdateAccountSettings: "PUT /accounts/{AccountId}/settings", - UpdateBot: "POST /accounts/{AccountId}/bots/{BotId}", - UpdateGlobalSettings: "PUT /settings", - UpdatePhoneNumber: "POST /phone-numbers/{PhoneNumberId}", - UpdatePhoneNumberSettings: "PUT /settings/phone-number", - UpdateRoom: "POST /accounts/{AccountId}/rooms/{RoomId}", - UpdateRoomMembership: - "POST /accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}", - UpdateUser: "POST /accounts/{AccountId}/users/{UserId}", - UpdateUserSettings: "PUT /accounts/{AccountId}/users/{UserId}/settings", + "AssociatePhoneNumberWithUser": "POST /accounts/{AccountId}/users/{UserId}?operation=associate-phone-number", + "AssociateSigninDelegateGroupsWithAccount": "POST /accounts/{AccountId}?operation=associate-signin-delegate-groups", + "BatchCreateRoomMembership": "POST /accounts/{AccountId}/rooms/{RoomId}/memberships?operation=batch-create", + "BatchDeletePhoneNumber": "POST /phone-numbers?operation=batch-delete", + "BatchSuspendUser": "POST /accounts/{AccountId}/users?operation=suspend", + "BatchUnsuspendUser": "POST /accounts/{AccountId}/users?operation=unsuspend", + "BatchUpdatePhoneNumber": "POST /phone-numbers?operation=batch-update", + "BatchUpdateUser": "POST /accounts/{AccountId}/users", + "CreateAccount": "POST /accounts", + "CreateBot": "POST /accounts/{AccountId}/bots", + "CreateMeetingDialOut": "POST /meetings/{MeetingId}/dial-outs", + "CreatePhoneNumberOrder": "POST /phone-number-orders", + "CreateRoom": "POST /accounts/{AccountId}/rooms", + "CreateRoomMembership": "POST /accounts/{AccountId}/rooms/{RoomId}/memberships", + "CreateUser": "POST /accounts/{AccountId}/users?operation=create", + "DeleteAccount": "DELETE /accounts/{AccountId}", + "DeleteEventsConfiguration": "DELETE /accounts/{AccountId}/bots/{BotId}/events-configuration", + "DeletePhoneNumber": "DELETE /phone-numbers/{PhoneNumberId}", + "DeleteRoom": "DELETE /accounts/{AccountId}/rooms/{RoomId}", + "DeleteRoomMembership": "DELETE /accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}", + "DisassociatePhoneNumberFromUser": "POST /accounts/{AccountId}/users/{UserId}?operation=disassociate-phone-number", + "DisassociateSigninDelegateGroupsFromAccount": "POST /accounts/{AccountId}?operation=disassociate-signin-delegate-groups", + "GetAccount": "GET /accounts/{AccountId}", + "GetAccountSettings": "GET /accounts/{AccountId}/settings", + "GetBot": "GET /accounts/{AccountId}/bots/{BotId}", + "GetEventsConfiguration": "GET /accounts/{AccountId}/bots/{BotId}/events-configuration", + "GetGlobalSettings": "GET /settings", + "GetPhoneNumber": "GET /phone-numbers/{PhoneNumberId}", + "GetPhoneNumberOrder": "GET /phone-number-orders/{PhoneNumberOrderId}", + "GetPhoneNumberSettings": "GET /settings/phone-number", + "GetRetentionSettings": "GET /accounts/{AccountId}/retention-settings", + "GetRoom": "GET /accounts/{AccountId}/rooms/{RoomId}", + "GetUser": "GET /accounts/{AccountId}/users/{UserId}", + "GetUserSettings": "GET /accounts/{AccountId}/users/{UserId}/settings", + "InviteUsers": "POST /accounts/{AccountId}/users?operation=add", + "ListAccounts": "GET /accounts", + "ListBots": "GET /accounts/{AccountId}/bots", + "ListPhoneNumberOrders": "GET /phone-number-orders", + "ListPhoneNumbers": "GET /phone-numbers", + "ListRoomMemberships": "GET /accounts/{AccountId}/rooms/{RoomId}/memberships", + "ListRooms": "GET /accounts/{AccountId}/rooms", + "ListSupportedPhoneNumberCountries": "GET /phone-number-countries", + "ListUsers": "GET /accounts/{AccountId}/users", + "LogoutUser": "POST /accounts/{AccountId}/users/{UserId}?operation=logout", + "PutEventsConfiguration": "PUT /accounts/{AccountId}/bots/{BotId}/events-configuration", + "PutRetentionSettings": "PUT /accounts/{AccountId}/retention-settings", + "RedactConversationMessage": "POST /accounts/{AccountId}/conversations/{ConversationId}/messages/{MessageId}?operation=redact", + "RedactRoomMessage": "POST /accounts/{AccountId}/rooms/{RoomId}/messages/{MessageId}?operation=redact", + "RegenerateSecurityToken": "POST /accounts/{AccountId}/bots/{BotId}?operation=regenerate-security-token", + "ResetPersonalPIN": "POST /accounts/{AccountId}/users/{UserId}?operation=reset-personal-pin", + "RestorePhoneNumber": "POST /phone-numbers/{PhoneNumberId}?operation=restore", + "SearchAvailablePhoneNumbers": "GET /search?type=phone-numbers", + "UpdateAccount": "POST /accounts/{AccountId}", + "UpdateAccountSettings": "PUT /accounts/{AccountId}/settings", + "UpdateBot": "POST /accounts/{AccountId}/bots/{BotId}", + "UpdateGlobalSettings": "PUT /settings", + "UpdatePhoneNumber": "POST /phone-numbers/{PhoneNumberId}", + "UpdatePhoneNumberSettings": "PUT /settings/phone-number", + "UpdateRoom": "POST /accounts/{AccountId}/rooms/{RoomId}", + "UpdateRoomMembership": "POST /accounts/{AccountId}/rooms/{RoomId}/memberships/{MemberId}", + "UpdateUser": "POST /accounts/{AccountId}/users/{UserId}", + "UpdateUserSettings": "PUT /accounts/{AccountId}/users/{UserId}/settings", }, } as const satisfies ServiceMetadata; diff --git a/src/services/chime/types.ts b/src/services/chime/types.ts index 69ba482c..71947509 100644 --- a/src/services/chime/types.ts +++ b/src/services/chime/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class Chime extends AWSServiceClient { @@ -42,810 +8,373 @@ export declare class Chime extends AWSServiceClient { input: AssociatePhoneNumberWithUserRequest, ): Effect.Effect< AssociatePhoneNumberWithUserResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; associateSigninDelegateGroupsWithAccount( input: AssociateSigninDelegateGroupsWithAccountRequest, ): Effect.Effect< AssociateSigninDelegateGroupsWithAccountResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; batchCreateRoomMembership( input: BatchCreateRoomMembershipRequest, ): Effect.Effect< BatchCreateRoomMembershipResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; batchDeletePhoneNumber( input: BatchDeletePhoneNumberRequest, ): Effect.Effect< BatchDeletePhoneNumberResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; batchSuspendUser( input: BatchSuspendUserRequest, ): Effect.Effect< BatchSuspendUserResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; batchUnsuspendUser( input: BatchUnsuspendUserRequest, ): Effect.Effect< BatchUnsuspendUserResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; batchUpdatePhoneNumber( input: BatchUpdatePhoneNumberRequest, ): Effect.Effect< BatchUpdatePhoneNumberResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; batchUpdateUser( input: BatchUpdateUserRequest, ): Effect.Effect< BatchUpdateUserResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createAccount( input: CreateAccountRequest, ): Effect.Effect< CreateAccountResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createBot( input: CreateBotRequest, ): Effect.Effect< CreateBotResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createMeetingDialOut( input: CreateMeetingDialOutRequest, ): Effect.Effect< CreateMeetingDialOutResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createPhoneNumberOrder( input: CreatePhoneNumberOrderRequest, ): Effect.Effect< CreatePhoneNumberOrderResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createRoom( input: CreateRoomRequest, ): Effect.Effect< CreateRoomResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createRoomMembership( input: CreateRoomMembershipRequest, ): Effect.Effect< CreateRoomMembershipResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteAccount( input: DeleteAccountRequest, ): Effect.Effect< DeleteAccountResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | UnprocessableEntityException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | UnprocessableEntityException | CommonAwsError >; deleteEventsConfiguration( input: DeleteEventsConfigurationRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | UnauthorizedClientException | CommonAwsError >; deletePhoneNumber( input: DeletePhoneNumberRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteRoom( input: DeleteRoomRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; deleteRoomMembership( input: DeleteRoomMembershipRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; disassociatePhoneNumberFromUser( input: DisassociatePhoneNumberFromUserRequest, ): Effect.Effect< DisassociatePhoneNumberFromUserResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; disassociateSigninDelegateGroupsFromAccount( input: DisassociateSigninDelegateGroupsFromAccountRequest, ): Effect.Effect< DisassociateSigninDelegateGroupsFromAccountResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getAccount( input: GetAccountRequest, ): Effect.Effect< GetAccountResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getAccountSettings( input: GetAccountSettingsRequest, ): Effect.Effect< GetAccountSettingsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getBot( input: GetBotRequest, ): Effect.Effect< GetBotResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getEventsConfiguration( input: GetEventsConfigurationRequest, ): Effect.Effect< GetEventsConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | UnauthorizedClientException | CommonAwsError >; - getGlobalSettings(input: {}): Effect.Effect< + getGlobalSettings( + input: {}, + ): Effect.Effect< GetGlobalSettingsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getPhoneNumber( input: GetPhoneNumberRequest, ): Effect.Effect< GetPhoneNumberResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getPhoneNumberOrder( input: GetPhoneNumberOrderRequest, ): Effect.Effect< GetPhoneNumberOrderResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; - getPhoneNumberSettings(input: {}): Effect.Effect< + getPhoneNumberSettings( + input: {}, + ): Effect.Effect< GetPhoneNumberSettingsResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getRetentionSettings( input: GetRetentionSettingsRequest, ): Effect.Effect< GetRetentionSettingsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getRoom( input: GetRoomRequest, ): Effect.Effect< GetRoomResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getUser( input: GetUserRequest, ): Effect.Effect< GetUserResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; getUserSettings( input: GetUserSettingsRequest, ): Effect.Effect< GetUserSettingsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; inviteUsers( input: InviteUsersRequest, ): Effect.Effect< InviteUsersResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listAccounts( input: ListAccountsRequest, ): Effect.Effect< ListAccountsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listBots( input: ListBotsRequest, ): Effect.Effect< ListBotsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listPhoneNumberOrders( input: ListPhoneNumberOrdersRequest, ): Effect.Effect< ListPhoneNumberOrdersResponse, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listPhoneNumbers( input: ListPhoneNumbersRequest, ): Effect.Effect< ListPhoneNumbersResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listRoomMemberships( input: ListRoomMembershipsRequest, ): Effect.Effect< ListRoomMembershipsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listRooms( input: ListRoomsRequest, ): Effect.Effect< ListRoomsResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listSupportedPhoneNumberCountries( input: ListSupportedPhoneNumberCountriesRequest, ): Effect.Effect< ListSupportedPhoneNumberCountriesResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; listUsers( input: ListUsersRequest, ): Effect.Effect< ListUsersResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; logoutUser( input: LogoutUserRequest, ): Effect.Effect< LogoutUserResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; putEventsConfiguration( input: PutEventsConfigurationRequest, ): Effect.Effect< PutEventsConfigurationResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | UnauthorizedClientException | CommonAwsError >; putRetentionSettings( input: PutRetentionSettingsRequest, ): Effect.Effect< PutRetentionSettingsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; redactConversationMessage( input: RedactConversationMessageRequest, ): Effect.Effect< RedactConversationMessageResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; redactRoomMessage( input: RedactRoomMessageRequest, ): Effect.Effect< RedactRoomMessageResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; regenerateSecurityToken( input: RegenerateSecurityTokenRequest, ): Effect.Effect< RegenerateSecurityTokenResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; resetPersonalPIN( input: ResetPersonalPINRequest, ): Effect.Effect< ResetPersonalPINResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; restorePhoneNumber( input: RestorePhoneNumberRequest, ): Effect.Effect< RestorePhoneNumberResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; searchAvailablePhoneNumbers( input: SearchAvailablePhoneNumbersRequest, ): Effect.Effect< SearchAvailablePhoneNumbersResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateAccount( input: UpdateAccountRequest, ): Effect.Effect< UpdateAccountResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateAccountSettings( input: UpdateAccountSettingsRequest, ): Effect.Effect< UpdateAccountSettingsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateBot( input: UpdateBotRequest, ): Effect.Effect< UpdateBotResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateGlobalSettings( input: UpdateGlobalSettingsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updatePhoneNumber( input: UpdatePhoneNumberRequest, ): Effect.Effect< UpdatePhoneNumberResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updatePhoneNumberSettings( input: UpdatePhoneNumberSettingsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateRoom( input: UpdateRoomRequest, ): Effect.Effect< UpdateRoomResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateRoomMembership( input: UpdateRoomMembershipRequest, ): Effect.Effect< UpdateRoomMembershipResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; updateUserSettings( input: UpdateUserSettingsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | NotFoundException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | CommonAwsError + BadRequestException | ForbiddenException | NotFoundException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | CommonAwsError >; } @@ -874,11 +403,7 @@ export interface AccountSettings { EnableDialOut?: boolean; } export type AccountStatus = "Suspended" | "Active"; -export type AccountType = - | "Team" - | "EnterpriseDirectory" - | "EnterpriseLWA" - | "EnterpriseOIDC"; +export type AccountType = "Team" | "EnterpriseDirectory" | "EnterpriseLWA" | "EnterpriseOIDC"; export interface AlexaForBusinessMetadata { IsAlexaForBusinessEnabled?: boolean; AlexaForBusinessRoomArn?: string; @@ -890,12 +415,14 @@ export interface AssociatePhoneNumberWithUserRequest { UserId: string; E164PhoneNumber: string; } -export interface AssociatePhoneNumberWithUserResponse {} +export interface AssociatePhoneNumberWithUserResponse { +} export interface AssociateSigninDelegateGroupsWithAccountRequest { AccountId: string; SigninDelegateGroups: Array; } -export interface AssociateSigninDelegateGroupsWithAccountResponse {} +export interface AssociateSigninDelegateGroupsWithAccountResponse { +} export declare class BadRequestException extends EffectData.TaggedError( "BadRequestException", )<{ @@ -963,11 +490,7 @@ export interface BusinessCallingSettings { } export type CallingName = string; -export type CallingNameStatus = - | "Unassigned" - | "UpdateInProgress" - | "UpdateSucceeded" - | "UpdateFailed"; +export type CallingNameStatus = "Unassigned" | "UpdateInProgress" | "UpdateSucceeded" | "UpdateFailed"; export type ClientRequestToken = string; export declare class ConflictException extends EffectData.TaggedError( @@ -1038,7 +561,8 @@ export interface CreateUserResponse { export interface DeleteAccountRequest { AccountId: string; } -export interface DeleteAccountResponse {} +export interface DeleteAccountResponse { +} export interface DeleteEventsConfigurationRequest { AccountId: string; BotId: string; @@ -1059,34 +583,21 @@ export interface DisassociatePhoneNumberFromUserRequest { AccountId: string; UserId: string; } -export interface DisassociatePhoneNumberFromUserResponse {} +export interface DisassociatePhoneNumberFromUserResponse { +} export interface DisassociateSigninDelegateGroupsFromAccountRequest { AccountId: string; GroupNames: Array; } -export interface DisassociateSigninDelegateGroupsFromAccountResponse {} +export interface DisassociateSigninDelegateGroupsFromAccountResponse { +} export type E164PhoneNumber = string; export type E164PhoneNumberList = Array; export type EmailAddress = string; export type EmailStatus = "NotSent" | "Sent" | "Failed"; -export type ErrorCode = - | "BadRequest" - | "Conflict" - | "Forbidden" - | "NotFound" - | "PreconditionFailed" - | "ResourceLimitExceeded" - | "ServiceFailure" - | "AccessDenied" - | "ServiceUnavailable" - | "Throttled" - | "Throttling" - | "Unauthorized" - | "Unprocessable" - | "VoiceConnectorGroupAssociationsExist" - | "PhoneNumberAssociationsExist"; +export type ErrorCode = "BadRequest" | "Conflict" | "Forbidden" | "NotFound" | "PreconditionFailed" | "ResourceLimitExceeded" | "ServiceFailure" | "AccessDenied" | "ServiceUnavailable" | "Throttled" | "Throttling" | "Unauthorized" | "Unprocessable" | "VoiceConnectorGroupAssociationsExist" | "PhoneNumberAssociationsExist"; export interface EventsConfiguration { BotId?: string; OutboundEventsHTTPSEndpoint?: string; @@ -1276,7 +787,8 @@ export interface LogoutUserRequest { AccountId: string; UserId: string; } -export interface LogoutUserResponse {} +export interface LogoutUserResponse { +} export interface Member { MemberId?: string; MemberType?: MemberType; @@ -1334,12 +846,7 @@ export interface PhoneNumberAssociation { AssociatedTimestamp?: Date | string; } export type PhoneNumberAssociationList = Array; -export type PhoneNumberAssociationName = - | "AccountId" - | "UserId" - | "VoiceConnectorId" - | "VoiceConnectorGroupId" - | "SipRuleId"; +export type PhoneNumberAssociationName = "AccountId" | "UserId" | "VoiceConnectorId" | "VoiceConnectorGroupId" | "SipRuleId"; export interface PhoneNumberCapabilities { InboundCall?: boolean; OutboundCall?: boolean; @@ -1371,24 +878,9 @@ export interface PhoneNumberOrder { UpdatedTimestamp?: Date | string; } export type PhoneNumberOrderList = Array; -export type PhoneNumberOrderStatus = - | "Processing" - | "Successful" - | "Failed" - | "Partial"; -export type PhoneNumberProductType = - | "BusinessCalling" - | "VoiceConnector" - | "SipMediaApplicationDialIn"; -export type PhoneNumberStatus = - | "AcquireInProgress" - | "AcquireFailed" - | "Unassigned" - | "Assigned" - | "ReleaseInProgress" - | "DeleteInProgress" - | "ReleaseFailed" - | "DeleteFailed"; +export type PhoneNumberOrderStatus = "Processing" | "Successful" | "Failed" | "Partial"; +export type PhoneNumberProductType = "BusinessCalling" | "VoiceConnector" | "SipMediaApplicationDialIn"; +export type PhoneNumberStatus = "AcquireInProgress" | "AcquireFailed" | "Unassigned" | "Assigned" | "ReleaseInProgress" | "DeleteInProgress" | "ReleaseFailed" | "DeleteFailed"; export type PhoneNumberType = "Local" | "TollFree"; export type PhoneNumberTypeList = Array; export type ProfileServiceMaxResults = number; @@ -1415,13 +907,15 @@ export interface RedactConversationMessageRequest { ConversationId: string; MessageId: string; } -export interface RedactConversationMessageResponse {} +export interface RedactConversationMessageResponse { +} export interface RedactRoomMessageRequest { AccountId: string; RoomId: string; MessageId: string; } -export interface RedactRoomMessageResponse {} +export interface RedactRoomMessageResponse { +} export interface RegenerateSecurityTokenRequest { AccountId: string; BotId: string; @@ -1549,7 +1043,8 @@ export interface UpdateAccountSettingsRequest { AccountId: string; AccountSettings: AccountSettings; } -export interface UpdateAccountSettingsResponse {} +export interface UpdateAccountSettingsResponse { +} export interface UpdateBotRequest { AccountId: string; BotId: string; @@ -1572,8 +1067,7 @@ export interface UpdatePhoneNumberRequestItem { ProductType?: PhoneNumberProductType; CallingName?: string; } -export type UpdatePhoneNumberRequestItemList = - Array; +export type UpdatePhoneNumberRequestItemList = Array; export interface UpdatePhoneNumberResponse { PhoneNumber?: PhoneNumber; } @@ -2525,16 +2019,5 @@ export declare namespace UpdateUserSettings { | CommonAwsError; } -export type ChimeErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | NotFoundException - | ResourceLimitExceededException - | ServiceFailureException - | ServiceUnavailableException - | ThrottledClientException - | UnauthorizedClientException - | UnprocessableEntityException - | CommonAwsError; +export type ChimeErrors = AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | NotFoundException | ResourceLimitExceededException | ServiceFailureException | ServiceUnavailableException | ThrottledClientException | UnauthorizedClientException | UnprocessableEntityException | CommonAwsError; + diff --git a/src/services/cleanrooms/index.ts b/src/services/cleanrooms/index.ts index 198aaf2f..e0f9003d 100644 --- a/src/services/cleanrooms/index.ts +++ b/src/services/cleanrooms/index.ts @@ -5,23 +5,7 @@ import type { CleanRooms as _CleanRoomsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,159 +14,93 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "cleanrooms", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - BatchGetCollaborationAnalysisTemplate: - "POST /collaborations/{collaborationIdentifier}/batch-analysistemplates", - BatchGetSchema: - "POST /collaborations/{collaborationIdentifier}/batch-schema", - BatchGetSchemaAnalysisRule: - "POST /collaborations/{collaborationIdentifier}/batch-schema-analysis-rule", - CreateAnalysisTemplate: - "POST /memberships/{membershipIdentifier}/analysistemplates", - CreateCollaboration: "POST /collaborations", - CreateCollaborationChangeRequest: - "POST /collaborations/{collaborationIdentifier}/changeRequests", - CreateConfiguredAudienceModelAssociation: - "POST /memberships/{membershipIdentifier}/configuredaudiencemodelassociations", - CreateConfiguredTable: "POST /configuredTables", - CreateConfiguredTableAnalysisRule: - "POST /configuredTables/{configuredTableIdentifier}/analysisRule", - CreateConfiguredTableAssociation: - "POST /memberships/{membershipIdentifier}/configuredTableAssociations", - CreateConfiguredTableAssociationAnalysisRule: - "POST /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}/analysisRule", - CreateIdMappingTable: - "POST /memberships/{membershipIdentifier}/idmappingtables", - CreateIdNamespaceAssociation: - "POST /memberships/{membershipIdentifier}/idnamespaceassociations", - CreateMembership: "POST /memberships", - CreatePrivacyBudgetTemplate: - "POST /memberships/{membershipIdentifier}/privacybudgettemplates", - DeleteAnalysisTemplate: - "DELETE /memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}", - DeleteCollaboration: "DELETE /collaborations/{collaborationIdentifier}", - DeleteConfiguredAudienceModelAssociation: - "DELETE /memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}", - DeleteConfiguredTable: - "DELETE /configuredTables/{configuredTableIdentifier}", - DeleteConfiguredTableAnalysisRule: - "DELETE /configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", - DeleteConfiguredTableAssociation: - "DELETE /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", - DeleteConfiguredTableAssociationAnalysisRule: - "DELETE /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}/analysisRule/{analysisRuleType}", - DeleteIdMappingTable: - "DELETE /memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}", - DeleteIdNamespaceAssociation: - "DELETE /memberships/{membershipIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}", - DeleteMember: - "DELETE /collaborations/{collaborationIdentifier}/member/{accountId}", - DeleteMembership: "DELETE /memberships/{membershipIdentifier}", - DeletePrivacyBudgetTemplate: - "DELETE /memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}", - GetAnalysisTemplate: - "GET /memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}", - GetCollaboration: "GET /collaborations/{collaborationIdentifier}", - GetCollaborationAnalysisTemplate: - "GET /collaborations/{collaborationIdentifier}/analysistemplates/{analysisTemplateArn}", - GetCollaborationChangeRequest: - "GET /collaborations/{collaborationIdentifier}/changeRequests/{changeRequestIdentifier}", - GetCollaborationConfiguredAudienceModelAssociation: - "GET /collaborations/{collaborationIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}", - GetCollaborationIdNamespaceAssociation: - "GET /collaborations/{collaborationIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}", - GetCollaborationPrivacyBudgetTemplate: - "GET /collaborations/{collaborationIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}", - GetConfiguredAudienceModelAssociation: - "GET /memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}", - GetConfiguredTable: "GET /configuredTables/{configuredTableIdentifier}", - GetConfiguredTableAnalysisRule: - "GET /configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", - GetConfiguredTableAssociation: - "GET /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", - GetConfiguredTableAssociationAnalysisRule: - "GET /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}/analysisRule/{analysisRuleType}", - GetIdMappingTable: - "GET /memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}", - GetIdNamespaceAssociation: - "GET /memberships/{membershipIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}", - GetMembership: "GET /memberships/{membershipIdentifier}", - GetPrivacyBudgetTemplate: - "GET /memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}", - GetProtectedJob: - "GET /memberships/{membershipIdentifier}/protectedJobs/{protectedJobIdentifier}", - GetProtectedQuery: - "GET /memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", - GetSchema: "GET /collaborations/{collaborationIdentifier}/schemas/{name}", - GetSchemaAnalysisRule: - "GET /collaborations/{collaborationIdentifier}/schemas/{name}/analysisRule/{type}", - ListAnalysisTemplates: - "GET /memberships/{membershipIdentifier}/analysistemplates", - ListCollaborationAnalysisTemplates: - "GET /collaborations/{collaborationIdentifier}/analysistemplates", - ListCollaborationChangeRequests: - "GET /collaborations/{collaborationIdentifier}/changeRequests", - ListCollaborationConfiguredAudienceModelAssociations: - "GET /collaborations/{collaborationIdentifier}/configuredaudiencemodelassociations", - ListCollaborationIdNamespaceAssociations: - "GET /collaborations/{collaborationIdentifier}/idnamespaceassociations", - ListCollaborationPrivacyBudgetTemplates: - "GET /collaborations/{collaborationIdentifier}/privacybudgettemplates", - ListCollaborationPrivacyBudgets: - "GET /collaborations/{collaborationIdentifier}/privacybudgets", - ListCollaborations: "GET /collaborations", - ListConfiguredAudienceModelAssociations: - "GET /memberships/{membershipIdentifier}/configuredaudiencemodelassociations", - ListConfiguredTableAssociations: - "GET /memberships/{membershipIdentifier}/configuredTableAssociations", - ListConfiguredTables: "GET /configuredTables", - ListIdMappingTables: - "GET /memberships/{membershipIdentifier}/idmappingtables", - ListIdNamespaceAssociations: - "GET /memberships/{membershipIdentifier}/idnamespaceassociations", - ListMembers: "GET /collaborations/{collaborationIdentifier}/members", - ListMemberships: "GET /memberships", - ListPrivacyBudgetTemplates: - "GET /memberships/{membershipIdentifier}/privacybudgettemplates", - ListPrivacyBudgets: - "GET /memberships/{membershipIdentifier}/privacybudgets", - ListProtectedJobs: "GET /memberships/{membershipIdentifier}/protectedJobs", - ListProtectedQueries: - "GET /memberships/{membershipIdentifier}/protectedQueries", - ListSchemas: "GET /collaborations/{collaborationIdentifier}/schemas", - PopulateIdMappingTable: - "POST /memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}/populate", - PreviewPrivacyImpact: - "POST /memberships/{membershipIdentifier}/previewprivacyimpact", - StartProtectedJob: "POST /memberships/{membershipIdentifier}/protectedJobs", - StartProtectedQuery: - "POST /memberships/{membershipIdentifier}/protectedQueries", - UpdateAnalysisTemplate: - "PATCH /memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}", - UpdateCollaboration: "PATCH /collaborations/{collaborationIdentifier}", - UpdateConfiguredAudienceModelAssociation: - "PATCH /memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}", - UpdateConfiguredTable: - "PATCH /configuredTables/{configuredTableIdentifier}", - UpdateConfiguredTableAnalysisRule: - "PATCH /configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", - UpdateConfiguredTableAssociation: - "PATCH /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", - UpdateConfiguredTableAssociationAnalysisRule: - "PATCH /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}/analysisRule/{analysisRuleType}", - UpdateIdMappingTable: - "PATCH /memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}", - UpdateIdNamespaceAssociation: - "PATCH /memberships/{membershipIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}", - UpdateMembership: "PATCH /memberships/{membershipIdentifier}", - UpdatePrivacyBudgetTemplate: - "PATCH /memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}", - UpdateProtectedJob: - "PATCH /memberships/{membershipIdentifier}/protectedJobs/{protectedJobIdentifier}", - UpdateProtectedQuery: - "PATCH /memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "BatchGetCollaborationAnalysisTemplate": "POST /collaborations/{collaborationIdentifier}/batch-analysistemplates", + "BatchGetSchema": "POST /collaborations/{collaborationIdentifier}/batch-schema", + "BatchGetSchemaAnalysisRule": "POST /collaborations/{collaborationIdentifier}/batch-schema-analysis-rule", + "CreateAnalysisTemplate": "POST /memberships/{membershipIdentifier}/analysistemplates", + "CreateCollaboration": "POST /collaborations", + "CreateCollaborationChangeRequest": "POST /collaborations/{collaborationIdentifier}/changeRequests", + "CreateConfiguredAudienceModelAssociation": "POST /memberships/{membershipIdentifier}/configuredaudiencemodelassociations", + "CreateConfiguredTable": "POST /configuredTables", + "CreateConfiguredTableAnalysisRule": "POST /configuredTables/{configuredTableIdentifier}/analysisRule", + "CreateConfiguredTableAssociation": "POST /memberships/{membershipIdentifier}/configuredTableAssociations", + "CreateConfiguredTableAssociationAnalysisRule": "POST /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}/analysisRule", + "CreateIdMappingTable": "POST /memberships/{membershipIdentifier}/idmappingtables", + "CreateIdNamespaceAssociation": "POST /memberships/{membershipIdentifier}/idnamespaceassociations", + "CreateMembership": "POST /memberships", + "CreatePrivacyBudgetTemplate": "POST /memberships/{membershipIdentifier}/privacybudgettemplates", + "DeleteAnalysisTemplate": "DELETE /memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}", + "DeleteCollaboration": "DELETE /collaborations/{collaborationIdentifier}", + "DeleteConfiguredAudienceModelAssociation": "DELETE /memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}", + "DeleteConfiguredTable": "DELETE /configuredTables/{configuredTableIdentifier}", + "DeleteConfiguredTableAnalysisRule": "DELETE /configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", + "DeleteConfiguredTableAssociation": "DELETE /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", + "DeleteConfiguredTableAssociationAnalysisRule": "DELETE /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}/analysisRule/{analysisRuleType}", + "DeleteIdMappingTable": "DELETE /memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}", + "DeleteIdNamespaceAssociation": "DELETE /memberships/{membershipIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}", + "DeleteMember": "DELETE /collaborations/{collaborationIdentifier}/member/{accountId}", + "DeleteMembership": "DELETE /memberships/{membershipIdentifier}", + "DeletePrivacyBudgetTemplate": "DELETE /memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}", + "GetAnalysisTemplate": "GET /memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}", + "GetCollaboration": "GET /collaborations/{collaborationIdentifier}", + "GetCollaborationAnalysisTemplate": "GET /collaborations/{collaborationIdentifier}/analysistemplates/{analysisTemplateArn}", + "GetCollaborationChangeRequest": "GET /collaborations/{collaborationIdentifier}/changeRequests/{changeRequestIdentifier}", + "GetCollaborationConfiguredAudienceModelAssociation": "GET /collaborations/{collaborationIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}", + "GetCollaborationIdNamespaceAssociation": "GET /collaborations/{collaborationIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}", + "GetCollaborationPrivacyBudgetTemplate": "GET /collaborations/{collaborationIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}", + "GetConfiguredAudienceModelAssociation": "GET /memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}", + "GetConfiguredTable": "GET /configuredTables/{configuredTableIdentifier}", + "GetConfiguredTableAnalysisRule": "GET /configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", + "GetConfiguredTableAssociation": "GET /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", + "GetConfiguredTableAssociationAnalysisRule": "GET /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}/analysisRule/{analysisRuleType}", + "GetIdMappingTable": "GET /memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}", + "GetIdNamespaceAssociation": "GET /memberships/{membershipIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}", + "GetMembership": "GET /memberships/{membershipIdentifier}", + "GetPrivacyBudgetTemplate": "GET /memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}", + "GetProtectedJob": "GET /memberships/{membershipIdentifier}/protectedJobs/{protectedJobIdentifier}", + "GetProtectedQuery": "GET /memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", + "GetSchema": "GET /collaborations/{collaborationIdentifier}/schemas/{name}", + "GetSchemaAnalysisRule": "GET /collaborations/{collaborationIdentifier}/schemas/{name}/analysisRule/{type}", + "ListAnalysisTemplates": "GET /memberships/{membershipIdentifier}/analysistemplates", + "ListCollaborationAnalysisTemplates": "GET /collaborations/{collaborationIdentifier}/analysistemplates", + "ListCollaborationChangeRequests": "GET /collaborations/{collaborationIdentifier}/changeRequests", + "ListCollaborationConfiguredAudienceModelAssociations": "GET /collaborations/{collaborationIdentifier}/configuredaudiencemodelassociations", + "ListCollaborationIdNamespaceAssociations": "GET /collaborations/{collaborationIdentifier}/idnamespaceassociations", + "ListCollaborationPrivacyBudgetTemplates": "GET /collaborations/{collaborationIdentifier}/privacybudgettemplates", + "ListCollaborationPrivacyBudgets": "GET /collaborations/{collaborationIdentifier}/privacybudgets", + "ListCollaborations": "GET /collaborations", + "ListConfiguredAudienceModelAssociations": "GET /memberships/{membershipIdentifier}/configuredaudiencemodelassociations", + "ListConfiguredTableAssociations": "GET /memberships/{membershipIdentifier}/configuredTableAssociations", + "ListConfiguredTables": "GET /configuredTables", + "ListIdMappingTables": "GET /memberships/{membershipIdentifier}/idmappingtables", + "ListIdNamespaceAssociations": "GET /memberships/{membershipIdentifier}/idnamespaceassociations", + "ListMembers": "GET /collaborations/{collaborationIdentifier}/members", + "ListMemberships": "GET /memberships", + "ListPrivacyBudgetTemplates": "GET /memberships/{membershipIdentifier}/privacybudgettemplates", + "ListPrivacyBudgets": "GET /memberships/{membershipIdentifier}/privacybudgets", + "ListProtectedJobs": "GET /memberships/{membershipIdentifier}/protectedJobs", + "ListProtectedQueries": "GET /memberships/{membershipIdentifier}/protectedQueries", + "ListSchemas": "GET /collaborations/{collaborationIdentifier}/schemas", + "PopulateIdMappingTable": "POST /memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}/populate", + "PreviewPrivacyImpact": "POST /memberships/{membershipIdentifier}/previewprivacyimpact", + "StartProtectedJob": "POST /memberships/{membershipIdentifier}/protectedJobs", + "StartProtectedQuery": "POST /memberships/{membershipIdentifier}/protectedQueries", + "UpdateAnalysisTemplate": "PATCH /memberships/{membershipIdentifier}/analysistemplates/{analysisTemplateIdentifier}", + "UpdateCollaboration": "PATCH /collaborations/{collaborationIdentifier}", + "UpdateConfiguredAudienceModelAssociation": "PATCH /memberships/{membershipIdentifier}/configuredaudiencemodelassociations/{configuredAudienceModelAssociationIdentifier}", + "UpdateConfiguredTable": "PATCH /configuredTables/{configuredTableIdentifier}", + "UpdateConfiguredTableAnalysisRule": "PATCH /configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}", + "UpdateConfiguredTableAssociation": "PATCH /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}", + "UpdateConfiguredTableAssociationAnalysisRule": "PATCH /memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}/analysisRule/{analysisRuleType}", + "UpdateIdMappingTable": "PATCH /memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}", + "UpdateIdNamespaceAssociation": "PATCH /memberships/{membershipIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}", + "UpdateMembership": "PATCH /memberships/{membershipIdentifier}", + "UpdatePrivacyBudgetTemplate": "PATCH /memberships/{membershipIdentifier}/privacybudgettemplates/{privacyBudgetTemplateIdentifier}", + "UpdateProtectedJob": "PATCH /memberships/{membershipIdentifier}/protectedJobs/{protectedJobIdentifier}", + "UpdateProtectedQuery": "PATCH /memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/cleanrooms/types.ts b/src/services/cleanrooms/types.ts index ff11a7a3..eef8276e 100644 --- a/src/services/cleanrooms/types.ts +++ b/src/services/cleanrooms/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CleanRooms extends AWSServiceClient { @@ -58,959 +26,505 @@ export declare class CleanRooms extends AWSServiceClient { input: BatchGetCollaborationAnalysisTemplateInput, ): Effect.Effect< BatchGetCollaborationAnalysisTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetSchema( input: BatchGetSchemaInput, ): Effect.Effect< BatchGetSchemaOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetSchemaAnalysisRule( input: BatchGetSchemaAnalysisRuleInput, ): Effect.Effect< BatchGetSchemaAnalysisRuleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAnalysisTemplate( input: CreateAnalysisTemplateInput, ): Effect.Effect< CreateAnalysisTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCollaboration( input: CreateCollaborationInput, ): Effect.Effect< CreateCollaborationOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCollaborationChangeRequest( input: CreateCollaborationChangeRequestInput, ): Effect.Effect< CreateCollaborationChangeRequestOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConfiguredAudienceModelAssociation( input: CreateConfiguredAudienceModelAssociationInput, ): Effect.Effect< CreateConfiguredAudienceModelAssociationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConfiguredTable( input: CreateConfiguredTableInput, ): Effect.Effect< CreateConfiguredTableOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConfiguredTableAnalysisRule( input: CreateConfiguredTableAnalysisRuleInput, ): Effect.Effect< CreateConfiguredTableAnalysisRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConfiguredTableAssociation( input: CreateConfiguredTableAssociationInput, ): Effect.Effect< CreateConfiguredTableAssociationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConfiguredTableAssociationAnalysisRule( input: CreateConfiguredTableAssociationAnalysisRuleInput, ): Effect.Effect< CreateConfiguredTableAssociationAnalysisRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createIdMappingTable( input: CreateIdMappingTableInput, ): Effect.Effect< CreateIdMappingTableOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createIdNamespaceAssociation( input: CreateIdNamespaceAssociationInput, ): Effect.Effect< CreateIdNamespaceAssociationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMembership( input: CreateMembershipInput, ): Effect.Effect< CreateMembershipOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPrivacyBudgetTemplate( input: CreatePrivacyBudgetTemplateInput, ): Effect.Effect< CreatePrivacyBudgetTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAnalysisTemplate( input: DeleteAnalysisTemplateInput, ): Effect.Effect< DeleteAnalysisTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCollaboration( input: DeleteCollaborationInput, ): Effect.Effect< DeleteCollaborationOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteConfiguredAudienceModelAssociation( input: DeleteConfiguredAudienceModelAssociationInput, ): Effect.Effect< DeleteConfiguredAudienceModelAssociationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConfiguredTable( input: DeleteConfiguredTableInput, ): Effect.Effect< DeleteConfiguredTableOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConfiguredTableAnalysisRule( input: DeleteConfiguredTableAnalysisRuleInput, ): Effect.Effect< DeleteConfiguredTableAnalysisRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConfiguredTableAssociation( input: DeleteConfiguredTableAssociationInput, ): Effect.Effect< DeleteConfiguredTableAssociationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConfiguredTableAssociationAnalysisRule( input: DeleteConfiguredTableAssociationAnalysisRuleInput, ): Effect.Effect< DeleteConfiguredTableAssociationAnalysisRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteIdMappingTable( input: DeleteIdMappingTableInput, ): Effect.Effect< DeleteIdMappingTableOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteIdNamespaceAssociation( input: DeleteIdNamespaceAssociationInput, ): Effect.Effect< DeleteIdNamespaceAssociationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMember( input: DeleteMemberInput, ): Effect.Effect< DeleteMemberOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMembership( input: DeleteMembershipInput, ): Effect.Effect< DeleteMembershipOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePrivacyBudgetTemplate( input: DeletePrivacyBudgetTemplateInput, ): Effect.Effect< DeletePrivacyBudgetTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAnalysisTemplate( input: GetAnalysisTemplateInput, ): Effect.Effect< GetAnalysisTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCollaboration( input: GetCollaborationInput, ): Effect.Effect< GetCollaborationOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getCollaborationAnalysisTemplate( input: GetCollaborationAnalysisTemplateInput, ): Effect.Effect< GetCollaborationAnalysisTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCollaborationChangeRequest( input: GetCollaborationChangeRequestInput, ): Effect.Effect< GetCollaborationChangeRequestOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCollaborationConfiguredAudienceModelAssociation( input: GetCollaborationConfiguredAudienceModelAssociationInput, ): Effect.Effect< GetCollaborationConfiguredAudienceModelAssociationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCollaborationIdNamespaceAssociation( input: GetCollaborationIdNamespaceAssociationInput, ): Effect.Effect< GetCollaborationIdNamespaceAssociationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCollaborationPrivacyBudgetTemplate( input: GetCollaborationPrivacyBudgetTemplateInput, ): Effect.Effect< GetCollaborationPrivacyBudgetTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfiguredAudienceModelAssociation( input: GetConfiguredAudienceModelAssociationInput, ): Effect.Effect< GetConfiguredAudienceModelAssociationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfiguredTable( input: GetConfiguredTableInput, ): Effect.Effect< GetConfiguredTableOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfiguredTableAnalysisRule( input: GetConfiguredTableAnalysisRuleInput, ): Effect.Effect< GetConfiguredTableAnalysisRuleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfiguredTableAssociation( input: GetConfiguredTableAssociationInput, ): Effect.Effect< GetConfiguredTableAssociationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfiguredTableAssociationAnalysisRule( input: GetConfiguredTableAssociationAnalysisRuleInput, ): Effect.Effect< GetConfiguredTableAssociationAnalysisRuleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIdMappingTable( input: GetIdMappingTableInput, ): Effect.Effect< GetIdMappingTableOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIdNamespaceAssociation( input: GetIdNamespaceAssociationInput, ): Effect.Effect< GetIdNamespaceAssociationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMembership( input: GetMembershipInput, ): Effect.Effect< GetMembershipOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPrivacyBudgetTemplate( input: GetPrivacyBudgetTemplateInput, ): Effect.Effect< GetPrivacyBudgetTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProtectedJob( input: GetProtectedJobInput, ): Effect.Effect< GetProtectedJobOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProtectedQuery( input: GetProtectedQueryInput, ): Effect.Effect< GetProtectedQueryOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSchema( input: GetSchemaInput, ): Effect.Effect< GetSchemaOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSchemaAnalysisRule( input: GetSchemaAnalysisRuleInput, ): Effect.Effect< GetSchemaAnalysisRuleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAnalysisTemplates( input: ListAnalysisTemplatesInput, ): Effect.Effect< ListAnalysisTemplatesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationAnalysisTemplates( input: ListCollaborationAnalysisTemplatesInput, ): Effect.Effect< ListCollaborationAnalysisTemplatesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationChangeRequests( input: ListCollaborationChangeRequestsInput, ): Effect.Effect< ListCollaborationChangeRequestsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationConfiguredAudienceModelAssociations( input: ListCollaborationConfiguredAudienceModelAssociationsInput, ): Effect.Effect< ListCollaborationConfiguredAudienceModelAssociationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationIdNamespaceAssociations( input: ListCollaborationIdNamespaceAssociationsInput, ): Effect.Effect< ListCollaborationIdNamespaceAssociationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationPrivacyBudgetTemplates( input: ListCollaborationPrivacyBudgetTemplatesInput, ): Effect.Effect< ListCollaborationPrivacyBudgetTemplatesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationPrivacyBudgets( input: ListCollaborationPrivacyBudgetsInput, ): Effect.Effect< ListCollaborationPrivacyBudgetsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborations( input: ListCollaborationsInput, ): Effect.Effect< ListCollaborationsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listConfiguredAudienceModelAssociations( input: ListConfiguredAudienceModelAssociationsInput, ): Effect.Effect< ListConfiguredAudienceModelAssociationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listConfiguredTableAssociations( input: ListConfiguredTableAssociationsInput, ): Effect.Effect< ListConfiguredTableAssociationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listConfiguredTables( input: ListConfiguredTablesInput, ): Effect.Effect< ListConfiguredTablesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listIdMappingTables( input: ListIdMappingTablesInput, ): Effect.Effect< ListIdMappingTablesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listIdNamespaceAssociations( input: ListIdNamespaceAssociationsInput, ): Effect.Effect< ListIdNamespaceAssociationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMembers( input: ListMembersInput, ): Effect.Effect< ListMembersOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMemberships( input: ListMembershipsInput, ): Effect.Effect< ListMembershipsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPrivacyBudgetTemplates( input: ListPrivacyBudgetTemplatesInput, ): Effect.Effect< ListPrivacyBudgetTemplatesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPrivacyBudgets( input: ListPrivacyBudgetsInput, ): Effect.Effect< ListPrivacyBudgetsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProtectedJobs( input: ListProtectedJobsInput, ): Effect.Effect< ListProtectedJobsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProtectedQueries( input: ListProtectedQueriesInput, ): Effect.Effect< ListProtectedQueriesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSchemas( input: ListSchemasInput, ): Effect.Effect< ListSchemasOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; populateIdMappingTable( input: PopulateIdMappingTableInput, ): Effect.Effect< PopulateIdMappingTableOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; previewPrivacyImpact( input: PreviewPrivacyImpactInput, ): Effect.Effect< PreviewPrivacyImpactOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startProtectedJob( input: StartProtectedJobInput, ): Effect.Effect< StartProtectedJobOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startProtectedQuery( input: StartProtectedQueryInput, ): Effect.Effect< StartProtectedQueryOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAnalysisTemplate( input: UpdateAnalysisTemplateInput, ): Effect.Effect< UpdateAnalysisTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCollaboration( input: UpdateCollaborationInput, ): Effect.Effect< UpdateCollaborationOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateConfiguredAudienceModelAssociation( input: UpdateConfiguredAudienceModelAssociationInput, ): Effect.Effect< UpdateConfiguredAudienceModelAssociationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateConfiguredTable( input: UpdateConfiguredTableInput, ): Effect.Effect< UpdateConfiguredTableOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateConfiguredTableAnalysisRule( input: UpdateConfiguredTableAnalysisRuleInput, ): Effect.Effect< UpdateConfiguredTableAnalysisRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateConfiguredTableAssociation( input: UpdateConfiguredTableAssociationInput, ): Effect.Effect< UpdateConfiguredTableAssociationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateConfiguredTableAssociationAnalysisRule( input: UpdateConfiguredTableAssociationAnalysisRuleInput, ): Effect.Effect< UpdateConfiguredTableAssociationAnalysisRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateIdMappingTable( input: UpdateIdMappingTableInput, ): Effect.Effect< UpdateIdMappingTableOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateIdNamespaceAssociation( input: UpdateIdNamespaceAssociationInput, ): Effect.Effect< UpdateIdNamespaceAssociationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateMembership( input: UpdateMembershipInput, ): Effect.Effect< UpdateMembershipOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePrivacyBudgetTemplate( input: UpdatePrivacyBudgetTemplateInput, ): Effect.Effect< UpdatePrivacyBudgetTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateProtectedJob( input: UpdateProtectedJobInput, ): Effect.Effect< UpdateProtectedJobOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateProtectedQuery( input: UpdateProtectedQueryInput, ): Effect.Effect< UpdateProtectedQueryOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1041,11 +555,7 @@ export interface AccessBudgetsPrivacyTemplateParametersOutput { export interface AccessBudgetsPrivacyTemplateUpdateParameters { budgetParameters: Array; } -export type AccessBudgetType = - | "CALENDAR_DAY" - | "CALENDAR_MONTH" - | "CALENDAR_WEEK" - | "LIFETIME"; +export type AccessBudgetType = "CALENDAR_DAY" | "CALENDAR_MONTH" | "CALENDAR_WEEK" | "LIFETIME"; export declare class AccessDeniedException extends EffectData.TaggedError( "AccessDeniedException", )<{ @@ -1134,9 +644,7 @@ interface _AnalysisRulePolicy { v1?: AnalysisRulePolicyV1; } -export type AnalysisRulePolicy = _AnalysisRulePolicy & { - v1: AnalysisRulePolicyV1; -}; +export type AnalysisRulePolicy = (_AnalysisRulePolicy & { v1: AnalysisRulePolicyV1 }); interface _AnalysisRulePolicyV1 { list?: AnalysisRuleList; aggregation?: AnalysisRuleAggregation; @@ -1144,16 +652,8 @@ interface _AnalysisRulePolicyV1 { idMappingTable?: AnalysisRuleIdMappingTable; } -export type AnalysisRulePolicyV1 = - | (_AnalysisRulePolicyV1 & { list: AnalysisRuleList }) - | (_AnalysisRulePolicyV1 & { aggregation: AnalysisRuleAggregation }) - | (_AnalysisRulePolicyV1 & { custom: AnalysisRuleCustom }) - | (_AnalysisRulePolicyV1 & { idMappingTable: AnalysisRuleIdMappingTable }); -export type AnalysisRuleType = - | "AGGREGATION" - | "LIST" - | "CUSTOM" - | "ID_MAPPING_TABLE"; +export type AnalysisRulePolicyV1 = (_AnalysisRulePolicyV1 & { list: AnalysisRuleList }) | (_AnalysisRulePolicyV1 & { aggregation: AnalysisRuleAggregation }) | (_AnalysisRulePolicyV1 & { custom: AnalysisRuleCustom }) | (_AnalysisRulePolicyV1 & { idMappingTable: AnalysisRuleIdMappingTable }); +export type AnalysisRuleType = "AGGREGATION" | "LIST" | "CUSTOM" | "ID_MAPPING_TABLE"; export type AnalysisRuleTypeList = Array; export interface AnalysisSchema { referencedTables?: Array; @@ -1163,16 +663,12 @@ interface _AnalysisSource { artifacts?: AnalysisTemplateArtifacts; } -export type AnalysisSource = - | (_AnalysisSource & { text: string }) - | (_AnalysisSource & { artifacts: AnalysisTemplateArtifacts }); +export type AnalysisSource = (_AnalysisSource & { text: string }) | (_AnalysisSource & { artifacts: AnalysisTemplateArtifacts }); interface _AnalysisSourceMetadata { artifacts?: AnalysisTemplateArtifactMetadata; } -export type AnalysisSourceMetadata = _AnalysisSourceMetadata & { - artifacts: AnalysisTemplateArtifactMetadata; -}; +export type AnalysisSourceMetadata = (_AnalysisSourceMetadata & { artifacts: AnalysisTemplateArtifactMetadata }); export interface AnalysisTemplate { id: string; arn: string; @@ -1227,22 +723,17 @@ export interface AnalysisTemplateSummary { export type AnalysisTemplateSummaryList = Array; export type AnalysisTemplateText = string; -export type AnalysisTemplateValidationStatus = - | "VALID" - | "INVALID" - | "UNABLE_TO_VALIDATE"; +export type AnalysisTemplateValidationStatus = "VALID" | "INVALID" | "UNABLE_TO_VALIDATE"; export interface AnalysisTemplateValidationStatusDetail { type: AnalysisTemplateValidationType; status: AnalysisTemplateValidationStatus; reasons?: Array; } -export type AnalysisTemplateValidationStatusDetailList = - Array; +export type AnalysisTemplateValidationStatusDetailList = Array; export interface AnalysisTemplateValidationStatusReason { message: string; } -export type AnalysisTemplateValidationStatusReasonList = - Array; +export type AnalysisTemplateValidationStatusReasonList = Array; export type AnalysisTemplateValidationType = "DIFFERENTIAL_PRIVACY"; export type AnalysisType = "DIRECT_ANALYSIS" | "ADDITIONAL_ANALYSIS"; export type AnalyticsEngine = "SPARK" | "CLEAN_ROOMS_SQL"; @@ -1269,8 +760,7 @@ export interface BatchGetCollaborationAnalysisTemplateError { code: string; message: string; } -export type BatchGetCollaborationAnalysisTemplateErrorList = - Array; +export type BatchGetCollaborationAnalysisTemplateErrorList = Array; export interface BatchGetCollaborationAnalysisTemplateInput { collaborationIdentifier: string; analysisTemplateArns: Array; @@ -1285,8 +775,7 @@ export interface BatchGetSchemaAnalysisRuleError { code: string; message: string; } -export type BatchGetSchemaAnalysisRuleErrorList = - Array; +export type BatchGetSchemaAnalysisRuleErrorList = Array; export interface BatchGetSchemaAnalysisRuleInput { collaborationIdentifier: string; schemaAnalysisRuleRequests: Array; @@ -1336,19 +825,12 @@ export interface ChangeInput { } export type ChangeInputList = Array; export type ChangeList = Array; -export type ChangeRequestStatus = - | "PENDING" - | "APPROVED" - | "CANCELLED" - | "DENIED" - | "COMMITTED"; +export type ChangeRequestStatus = "PENDING" | "APPROVED" | "CANCELLED" | "DENIED" | "COMMITTED"; interface _ChangeSpecification { member?: MemberChangeSpecification; } -export type ChangeSpecification = _ChangeSpecification & { - member: MemberChangeSpecification; -}; +export type ChangeSpecification = (_ChangeSpecification & { member: MemberChangeSpecification }); export type ChangeSpecificationType = "MEMBER"; export type ChangeType = "ADD_MEMBER"; export type ChangeTypeList = Array; @@ -1391,8 +873,7 @@ export interface CollaborationAnalysisTemplate { validations?: Array; errorMessageConfiguration?: ErrorMessageConfiguration; } -export type CollaborationAnalysisTemplateList = - Array; +export type CollaborationAnalysisTemplateList = Array; export interface CollaborationAnalysisTemplateSummary { arn: string; createTime: Date | string; @@ -1404,8 +885,7 @@ export interface CollaborationAnalysisTemplateSummary { creatorAccountId: string; description?: string; } -export type CollaborationAnalysisTemplateSummaryList = - Array; +export type CollaborationAnalysisTemplateSummaryList = Array; export type CollaborationArn = string; export interface CollaborationChangeRequest { @@ -1428,8 +908,7 @@ export interface CollaborationChangeRequestSummary { isAutoApproved: boolean; changes: Array; } -export type CollaborationChangeRequestSummaryList = - Array; +export type CollaborationChangeRequestSummaryList = Array; export interface CollaborationConfiguredAudienceModelAssociation { id: string; arn: string; @@ -1453,8 +932,7 @@ export interface CollaborationConfiguredAudienceModelAssociationSummary { creatorAccountId: string; description?: string; } -export type CollaborationConfiguredAudienceModelAssociationSummaryList = - Array; +export type CollaborationConfiguredAudienceModelAssociationSummaryList = Array; export type CollaborationDescription = string; export type CollaborationIdentifier = string; @@ -1486,8 +964,7 @@ export interface CollaborationIdNamespaceAssociationSummary { description?: string; inputReferenceProperties: IdNamespaceAssociationInputReferencePropertiesSummary; } -export type CollaborationIdNamespaceAssociationSummaryList = - Array; +export type CollaborationIdNamespaceAssociationSummaryList = Array; export type CollaborationJobLogStatus = "ENABLED" | "DISABLED"; export type CollaborationName = string; @@ -1503,8 +980,7 @@ export interface CollaborationPrivacyBudgetSummary { updateTime: Date | string; budget: PrivacyBudget; } -export type CollaborationPrivacyBudgetSummaryList = - Array; +export type CollaborationPrivacyBudgetSummaryList = Array; export interface CollaborationPrivacyBudgetTemplate { id: string; arn: string; @@ -1527,8 +1003,7 @@ export interface CollaborationPrivacyBudgetTemplateSummary { createTime: Date | string; updateTime: Date | string; } -export type CollaborationPrivacyBudgetTemplateSummaryList = - Array; +export type CollaborationPrivacyBudgetTemplateSummaryList = Array; export type CollaborationQueryLogStatus = "ENABLED" | "DISABLED"; export interface CollaborationSummary { id: string; @@ -1553,54 +1028,17 @@ export type ColumnName = string; export type ColumnTypeString = string; -export type CommercialRegion = - | "us-west-1" - | "us-west-2" - | "us-east-1" - | "us-east-2" - | "af-south-1" - | "ap-east-1" - | "ap-south-2" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-southeast-3" - | "ap-southeast-5" - | "ap-southeast-4" - | "ap-southeast-7" - | "ap-south-1" - | "ap-northeast-3" - | "ap-northeast-1" - | "ap-northeast-2" - | "ca-central-1" - | "ca-west-1" - | "eu-south-1" - | "eu-west-3" - | "eu-south-2" - | "eu-central-2" - | "eu-central-1" - | "eu-north-1" - | "eu-west-1" - | "eu-west-2" - | "me-south-1" - | "me-central-1" - | "il-central-1" - | "sa-east-1" - | "mx-central-1" - | "ap-east-2"; +export type CommercialRegion = "us-west-1" | "us-west-2" | "us-east-1" | "us-east-2" | "af-south-1" | "ap-east-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-southeast-5" | "ap-southeast-4" | "ap-southeast-7" | "ap-south-1" | "ap-northeast-3" | "ap-northeast-1" | "ap-northeast-2" | "ca-central-1" | "ca-west-1" | "eu-south-1" | "eu-west-3" | "eu-south-2" | "eu-central-2" | "eu-central-1" | "eu-north-1" | "eu-west-1" | "eu-west-2" | "me-south-1" | "me-central-1" | "il-central-1" | "sa-east-1" | "mx-central-1" | "ap-east-2"; interface _ComputeConfiguration { worker?: WorkerComputeConfiguration; } -export type ComputeConfiguration = _ComputeConfiguration & { - worker: WorkerComputeConfiguration; -}; +export type ComputeConfiguration = (_ComputeConfiguration & { worker: WorkerComputeConfiguration }); interface _ConfigurationDetails { directAnalysisConfigurationDetails?: DirectAnalysisConfigurationDetails; } -export type ConfigurationDetails = _ConfigurationDetails & { - directAnalysisConfigurationDetails: DirectAnalysisConfigurationDetails; -}; +export type ConfigurationDetails = (_ConfigurationDetails & { directAnalysisConfigurationDetails: DirectAnalysisConfigurationDetails }); export type ConfiguredAudienceModelArn = string; export interface ConfiguredAudienceModelAssociation { @@ -1636,8 +1074,7 @@ export interface ConfiguredAudienceModelAssociationSummary { configuredAudienceModelArn: string; description?: string; } -export type ConfiguredAudienceModelAssociationSummaryList = - Array; +export type ConfiguredAudienceModelAssociationSummaryList = Array; export interface ConfiguredTable { id: string; arn: string; @@ -1663,25 +1100,16 @@ interface _ConfiguredTableAnalysisRulePolicy { v1?: ConfiguredTableAnalysisRulePolicyV1; } -export type ConfiguredTableAnalysisRulePolicy = - _ConfiguredTableAnalysisRulePolicy & { - v1: ConfiguredTableAnalysisRulePolicyV1; - }; +export type ConfiguredTableAnalysisRulePolicy = (_ConfiguredTableAnalysisRulePolicy & { v1: ConfiguredTableAnalysisRulePolicyV1 }); interface _ConfiguredTableAnalysisRulePolicyV1 { list?: AnalysisRuleList; aggregation?: AnalysisRuleAggregation; custom?: AnalysisRuleCustom; } -export type ConfiguredTableAnalysisRulePolicyV1 = - | (_ConfiguredTableAnalysisRulePolicyV1 & { list: AnalysisRuleList }) - | (_ConfiguredTableAnalysisRulePolicyV1 & { - aggregation: AnalysisRuleAggregation; - }) - | (_ConfiguredTableAnalysisRulePolicyV1 & { custom: AnalysisRuleCustom }); +export type ConfiguredTableAnalysisRulePolicyV1 = (_ConfiguredTableAnalysisRulePolicyV1 & { list: AnalysisRuleList }) | (_ConfiguredTableAnalysisRulePolicyV1 & { aggregation: AnalysisRuleAggregation }) | (_ConfiguredTableAnalysisRulePolicyV1 & { custom: AnalysisRuleCustom }); export type ConfiguredTableAnalysisRuleType = "AGGREGATION" | "LIST" | "CUSTOM"; -export type ConfiguredTableAnalysisRuleTypeList = - Array; +export type ConfiguredTableAnalysisRuleTypeList = Array; export type ConfiguredTableArn = string; export interface ConfiguredTableAssociation { @@ -1723,32 +1151,16 @@ interface _ConfiguredTableAssociationAnalysisRulePolicy { v1?: ConfiguredTableAssociationAnalysisRulePolicyV1; } -export type ConfiguredTableAssociationAnalysisRulePolicy = - _ConfiguredTableAssociationAnalysisRulePolicy & { - v1: ConfiguredTableAssociationAnalysisRulePolicyV1; - }; +export type ConfiguredTableAssociationAnalysisRulePolicy = (_ConfiguredTableAssociationAnalysisRulePolicy & { v1: ConfiguredTableAssociationAnalysisRulePolicyV1 }); interface _ConfiguredTableAssociationAnalysisRulePolicyV1 { list?: ConfiguredTableAssociationAnalysisRuleList; aggregation?: ConfiguredTableAssociationAnalysisRuleAggregation; custom?: ConfiguredTableAssociationAnalysisRuleCustom; } -export type ConfiguredTableAssociationAnalysisRulePolicyV1 = - | (_ConfiguredTableAssociationAnalysisRulePolicyV1 & { - list: ConfiguredTableAssociationAnalysisRuleList; - }) - | (_ConfiguredTableAssociationAnalysisRulePolicyV1 & { - aggregation: ConfiguredTableAssociationAnalysisRuleAggregation; - }) - | (_ConfiguredTableAssociationAnalysisRulePolicyV1 & { - custom: ConfiguredTableAssociationAnalysisRuleCustom; - }); -export type ConfiguredTableAssociationAnalysisRuleType = - | "AGGREGATION" - | "LIST" - | "CUSTOM"; -export type ConfiguredTableAssociationAnalysisRuleTypeList = - Array; +export type ConfiguredTableAssociationAnalysisRulePolicyV1 = (_ConfiguredTableAssociationAnalysisRulePolicyV1 & { list: ConfiguredTableAssociationAnalysisRuleList }) | (_ConfiguredTableAssociationAnalysisRulePolicyV1 & { aggregation: ConfiguredTableAssociationAnalysisRuleAggregation }) | (_ConfiguredTableAssociationAnalysisRulePolicyV1 & { custom: ConfiguredTableAssociationAnalysisRuleCustom }); +export type ConfiguredTableAssociationAnalysisRuleType = "AGGREGATION" | "LIST" | "CUSTOM"; +export type ConfiguredTableAssociationAnalysisRuleTypeList = Array; export type ConfiguredTableAssociationArn = string; export type ConfiguredTableAssociationIdentifier = string; @@ -1764,8 +1176,7 @@ export interface ConfiguredTableAssociationSummary { arn: string; analysisRuleTypes?: Array; } -export type ConfiguredTableAssociationSummaryList = - Array; +export type ConfiguredTableAssociationSummaryList = Array; export type ConfiguredTableIdentifier = string; export interface ConfiguredTableSummary { @@ -1793,9 +1204,7 @@ interface _ConsolidatedPolicy { v1?: ConsolidatedPolicyV1; } -export type ConsolidatedPolicy = _ConsolidatedPolicy & { - v1: ConsolidatedPolicyV1; -}; +export type ConsolidatedPolicy = (_ConsolidatedPolicy & { v1: ConsolidatedPolicyV1 }); export interface ConsolidatedPolicyAggregation { aggregateColumns: Array; joinColumns: Array; @@ -1831,10 +1240,7 @@ interface _ConsolidatedPolicyV1 { custom?: ConsolidatedPolicyCustom; } -export type ConsolidatedPolicyV1 = - | (_ConsolidatedPolicyV1 & { list: ConsolidatedPolicyList }) - | (_ConsolidatedPolicyV1 & { aggregation: ConsolidatedPolicyAggregation }) - | (_ConsolidatedPolicyV1 & { custom: ConsolidatedPolicyCustom }); +export type ConsolidatedPolicyV1 = (_ConsolidatedPolicyV1 & { list: ConsolidatedPolicyList }) | (_ConsolidatedPolicyV1 & { aggregation: ConsolidatedPolicyAggregation }) | (_ConsolidatedPolicyV1 & { custom: ConsolidatedPolicyCustom }); export interface CreateAnalysisTemplateInput { description?: string; membershipIdentifier: string; @@ -1971,9 +1377,7 @@ export interface CreatePrivacyBudgetTemplateOutput { privacyBudgetTemplate: PrivacyBudgetTemplate; } export type CustomMLMemberAbilities = Array; -export type CustomMLMemberAbility = - | "CAN_RECEIVE_MODEL_OUTPUT" - | "CAN_RECEIVE_INFERENCE_OUTPUT"; +export type CustomMLMemberAbility = "CAN_RECEIVE_MODEL_OUTPUT" | "CAN_RECEIVE_INFERENCE_OUTPUT"; export interface DataEncryptionMetadata { allowCleartext: boolean; allowDuplicates: boolean; @@ -1984,68 +1388,75 @@ export interface DeleteAnalysisTemplateInput { membershipIdentifier: string; analysisTemplateIdentifier: string; } -export interface DeleteAnalysisTemplateOutput {} +export interface DeleteAnalysisTemplateOutput { +} export interface DeleteCollaborationInput { collaborationIdentifier: string; } -export interface DeleteCollaborationOutput {} +export interface DeleteCollaborationOutput { +} export interface DeleteConfiguredAudienceModelAssociationInput { configuredAudienceModelAssociationIdentifier: string; membershipIdentifier: string; } -export interface DeleteConfiguredAudienceModelAssociationOutput {} +export interface DeleteConfiguredAudienceModelAssociationOutput { +} export interface DeleteConfiguredTableAnalysisRuleInput { configuredTableIdentifier: string; analysisRuleType: ConfiguredTableAnalysisRuleType; } -export interface DeleteConfiguredTableAnalysisRuleOutput {} +export interface DeleteConfiguredTableAnalysisRuleOutput { +} export interface DeleteConfiguredTableAssociationAnalysisRuleInput { membershipIdentifier: string; configuredTableAssociationIdentifier: string; analysisRuleType: ConfiguredTableAssociationAnalysisRuleType; } -export interface DeleteConfiguredTableAssociationAnalysisRuleOutput {} +export interface DeleteConfiguredTableAssociationAnalysisRuleOutput { +} export interface DeleteConfiguredTableAssociationInput { configuredTableAssociationIdentifier: string; membershipIdentifier: string; } -export interface DeleteConfiguredTableAssociationOutput {} +export interface DeleteConfiguredTableAssociationOutput { +} export interface DeleteConfiguredTableInput { configuredTableIdentifier: string; } -export interface DeleteConfiguredTableOutput {} +export interface DeleteConfiguredTableOutput { +} export interface DeleteIdMappingTableInput { idMappingTableIdentifier: string; membershipIdentifier: string; } -export interface DeleteIdMappingTableOutput {} +export interface DeleteIdMappingTableOutput { +} export interface DeleteIdNamespaceAssociationInput { idNamespaceAssociationIdentifier: string; membershipIdentifier: string; } -export interface DeleteIdNamespaceAssociationOutput {} +export interface DeleteIdNamespaceAssociationOutput { +} export interface DeleteMemberInput { collaborationIdentifier: string; accountId: string; } -export interface DeleteMemberOutput {} +export interface DeleteMemberOutput { +} export interface DeleteMembershipInput { membershipIdentifier: string; } -export interface DeleteMembershipOutput {} +export interface DeleteMembershipOutput { +} export interface DeletePrivacyBudgetTemplateInput { membershipIdentifier: string; privacyBudgetTemplateIdentifier: string; } -export interface DeletePrivacyBudgetTemplateOutput {} +export interface DeletePrivacyBudgetTemplateOutput { +} export type DifferentialPrivacyAggregationExpression = string; -export type DifferentialPrivacyAggregationType = - | "AVG" - | "COUNT" - | "COUNT_DISTINCT" - | "SUM" - | "STDDEV"; +export type DifferentialPrivacyAggregationType = "AVG" | "COUNT" | "COUNT_DISTINCT" | "SUM" | "STDDEV"; export interface DifferentialPrivacyColumn { name: string; } @@ -2060,8 +1471,7 @@ export interface DifferentialPrivacyPreviewAggregation { type: DifferentialPrivacyAggregationType; maxCount: number; } -export type DifferentialPrivacyPreviewAggregationList = - Array; +export type DifferentialPrivacyPreviewAggregationList = Array; export interface DifferentialPrivacyPreviewParametersInput { epsilon: number; usersNoisePerQuery: number; @@ -2075,8 +1485,7 @@ export interface DifferentialPrivacyPrivacyBudgetAggregation { maxCount: number; remainingCount: number; } -export type DifferentialPrivacyPrivacyBudgetAggregationList = - Array; +export type DifferentialPrivacyPrivacyBudgetAggregationList = Array; export interface DifferentialPrivacyPrivacyImpact { aggregations: Array; } @@ -2087,8 +1496,7 @@ export interface DifferentialPrivacySensitivityParameters { minColumnValue?: number; maxColumnValue?: number; } -export type DifferentialPrivacySensitivityParametersList = - Array; +export type DifferentialPrivacySensitivityParametersList = Array; export interface DifferentialPrivacyTemplateParametersInput { epsilon: number; usersNoisePerQuery: number; @@ -2366,8 +1774,7 @@ export interface IdNamespaceAssociationSummary { description?: string; inputReferenceProperties: IdNamespaceAssociationInputReferencePropertiesSummary; } -export type IdNamespaceAssociationSummaryList = - Array; +export type IdNamespaceAssociationSummaryList = Array; export type IdNamespaceType = "SOURCE" | "TARGET"; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", @@ -2636,10 +2043,7 @@ interface _MembershipProtectedJobOutputConfiguration { s3?: ProtectedJobS3OutputConfigurationInput; } -export type MembershipProtectedJobOutputConfiguration = - _MembershipProtectedJobOutputConfiguration & { - s3: ProtectedJobS3OutputConfigurationInput; - }; +export type MembershipProtectedJobOutputConfiguration = (_MembershipProtectedJobOutputConfiguration & { s3: ProtectedJobS3OutputConfigurationInput }); export interface MembershipProtectedJobResultConfiguration { outputConfiguration: MembershipProtectedJobOutputConfiguration; roleArn: string; @@ -2648,10 +2052,7 @@ interface _MembershipProtectedQueryOutputConfiguration { s3?: ProtectedQueryS3OutputConfiguration; } -export type MembershipProtectedQueryOutputConfiguration = - _MembershipProtectedQueryOutputConfiguration & { - s3: ProtectedQueryS3OutputConfiguration; - }; +export type MembershipProtectedQueryOutputConfiguration = (_MembershipProtectedQueryOutputConfiguration & { s3: ProtectedQueryS3OutputConfiguration }); export interface MembershipProtectedQueryResultConfiguration { outputConfiguration: MembershipProtectedQueryOutputConfiguration; roleArn?: string; @@ -2718,35 +2119,7 @@ export type PaginationToken = string; export type ParameterMap = Record; export type ParameterName = string; -export type ParameterType = - | "SMALLINT" - | "INTEGER" - | "BIGINT" - | "DECIMAL" - | "REAL" - | "DOUBLE_PRECISION" - | "BOOLEAN" - | "CHAR" - | "VARCHAR" - | "DATE" - | "TIMESTAMP" - | "TIMESTAMPTZ" - | "TIME" - | "TIMETZ" - | "VARBYTE" - | "BINARY" - | "BYTE" - | "CHARACTER" - | "DOUBLE" - | "FLOAT" - | "INT" - | "LONG" - | "NUMERIC" - | "SHORT" - | "STRING" - | "TIMESTAMP_LTZ" - | "TIMESTAMP_NTZ" - | "TINYINT"; +export type ParameterType = "SMALLINT" | "INTEGER" | "BIGINT" | "DECIMAL" | "REAL" | "DOUBLE_PRECISION" | "BOOLEAN" | "CHAR" | "VARCHAR" | "DATE" | "TIMESTAMP" | "TIMESTAMPTZ" | "TIME" | "TIMETZ" | "VARBYTE" | "BINARY" | "BYTE" | "CHARACTER" | "DOUBLE" | "FLOAT" | "INT" | "LONG" | "NUMERIC" | "SHORT" | "STRING" | "TIMESTAMP_LTZ" | "TIMESTAMP_NTZ" | "TINYINT"; export type ParameterValue = string; export interface PaymentConfiguration { @@ -2773,18 +2146,13 @@ interface _PreviewPrivacyImpactParametersInput { differentialPrivacy?: DifferentialPrivacyPreviewParametersInput; } -export type PreviewPrivacyImpactParametersInput = - _PreviewPrivacyImpactParametersInput & { - differentialPrivacy: DifferentialPrivacyPreviewParametersInput; - }; +export type PreviewPrivacyImpactParametersInput = (_PreviewPrivacyImpactParametersInput & { differentialPrivacy: DifferentialPrivacyPreviewParametersInput }); interface _PrivacyBudget { differentialPrivacy?: DifferentialPrivacyPrivacyBudget; accessBudget?: AccessBudget; } -export type PrivacyBudget = - | (_PrivacyBudget & { differentialPrivacy: DifferentialPrivacyPrivacyBudget }) - | (_PrivacyBudget & { accessBudget: AccessBudget }); +export type PrivacyBudget = (_PrivacyBudget & { differentialPrivacy: DifferentialPrivacyPrivacyBudget }) | (_PrivacyBudget & { accessBudget: AccessBudget }); export interface PrivacyBudgetSummary { id: string; privacyBudgetTemplateId: string; @@ -2822,25 +2190,13 @@ interface _PrivacyBudgetTemplateParametersInput { accessBudget?: AccessBudgetsPrivacyTemplateParametersInput; } -export type PrivacyBudgetTemplateParametersInput = - | (_PrivacyBudgetTemplateParametersInput & { - differentialPrivacy: DifferentialPrivacyTemplateParametersInput; - }) - | (_PrivacyBudgetTemplateParametersInput & { - accessBudget: AccessBudgetsPrivacyTemplateParametersInput; - }); +export type PrivacyBudgetTemplateParametersInput = (_PrivacyBudgetTemplateParametersInput & { differentialPrivacy: DifferentialPrivacyTemplateParametersInput }) | (_PrivacyBudgetTemplateParametersInput & { accessBudget: AccessBudgetsPrivacyTemplateParametersInput }); interface _PrivacyBudgetTemplateParametersOutput { differentialPrivacy?: DifferentialPrivacyTemplateParametersOutput; accessBudget?: AccessBudgetsPrivacyTemplateParametersOutput; } -export type PrivacyBudgetTemplateParametersOutput = - | (_PrivacyBudgetTemplateParametersOutput & { - differentialPrivacy: DifferentialPrivacyTemplateParametersOutput; - }) - | (_PrivacyBudgetTemplateParametersOutput & { - accessBudget: AccessBudgetsPrivacyTemplateParametersOutput; - }); +export type PrivacyBudgetTemplateParametersOutput = (_PrivacyBudgetTemplateParametersOutput & { differentialPrivacy: DifferentialPrivacyTemplateParametersOutput }) | (_PrivacyBudgetTemplateParametersOutput & { accessBudget: AccessBudgetsPrivacyTemplateParametersOutput }); export interface PrivacyBudgetTemplateSummary { id: string; arn: string; @@ -2852,28 +2208,19 @@ export interface PrivacyBudgetTemplateSummary { createTime: Date | string; updateTime: Date | string; } -export type PrivacyBudgetTemplateSummaryList = - Array; +export type PrivacyBudgetTemplateSummaryList = Array; interface _PrivacyBudgetTemplateUpdateParameters { differentialPrivacy?: DifferentialPrivacyTemplateUpdateParameters; accessBudget?: AccessBudgetsPrivacyTemplateUpdateParameters; } -export type PrivacyBudgetTemplateUpdateParameters = - | (_PrivacyBudgetTemplateUpdateParameters & { - differentialPrivacy: DifferentialPrivacyTemplateUpdateParameters; - }) - | (_PrivacyBudgetTemplateUpdateParameters & { - accessBudget: AccessBudgetsPrivacyTemplateUpdateParameters; - }); +export type PrivacyBudgetTemplateUpdateParameters = (_PrivacyBudgetTemplateUpdateParameters & { differentialPrivacy: DifferentialPrivacyTemplateUpdateParameters }) | (_PrivacyBudgetTemplateUpdateParameters & { accessBudget: AccessBudgetsPrivacyTemplateUpdateParameters }); export type PrivacyBudgetType = "DIFFERENTIAL_PRIVACY" | "ACCESS_BUDGET"; interface _PrivacyImpact { differentialPrivacy?: DifferentialPrivacyPrivacyImpact; } -export type PrivacyImpact = _PrivacyImpact & { - differentialPrivacy: DifferentialPrivacyPrivacyImpact; -}; +export type PrivacyImpact = (_PrivacyImpact & { differentialPrivacy: DifferentialPrivacyPrivacyImpact }); export interface ProtectedJob { id: string; membershipId: string; @@ -2892,18 +2239,12 @@ interface _ProtectedJobComputeConfiguration { worker?: ProtectedJobWorkerComputeConfiguration; } -export type ProtectedJobComputeConfiguration = - _ProtectedJobComputeConfiguration & { - worker: ProtectedJobWorkerComputeConfiguration; - }; +export type ProtectedJobComputeConfiguration = (_ProtectedJobComputeConfiguration & { worker: ProtectedJobWorkerComputeConfiguration }); interface _ProtectedJobConfigurationDetails { directAnalysisConfigurationDetails?: ProtectedJobDirectAnalysisConfigurationDetails; } -export type ProtectedJobConfigurationDetails = - _ProtectedJobConfigurationDetails & { - directAnalysisConfigurationDetails: ProtectedJobDirectAnalysisConfigurationDetails; - }; +export type ProtectedJobConfigurationDetails = (_ProtectedJobConfigurationDetails & { directAnalysisConfigurationDetails: ProtectedJobDirectAnalysisConfigurationDetails }); export interface ProtectedJobDirectAnalysisConfigurationDetails { receiverAccountIds?: Array; } @@ -2919,38 +2260,24 @@ export interface ProtectedJobMemberOutputConfigurationInput { export interface ProtectedJobMemberOutputConfigurationOutput { accountId: string; } -export type ProtectedJobMemberOutputList = - Array; +export type ProtectedJobMemberOutputList = Array; interface _ProtectedJobOutput { s3?: ProtectedJobS3Output; memberList?: Array; } -export type ProtectedJobOutput = - | (_ProtectedJobOutput & { s3: ProtectedJobS3Output }) - | (_ProtectedJobOutput & { - memberList: Array; - }); +export type ProtectedJobOutput = (_ProtectedJobOutput & { s3: ProtectedJobS3Output }) | (_ProtectedJobOutput & { memberList: Array }); interface _ProtectedJobOutputConfigurationInput { member?: ProtectedJobMemberOutputConfigurationInput; } -export type ProtectedJobOutputConfigurationInput = - _ProtectedJobOutputConfigurationInput & { - member: ProtectedJobMemberOutputConfigurationInput; - }; +export type ProtectedJobOutputConfigurationInput = (_ProtectedJobOutputConfigurationInput & { member: ProtectedJobMemberOutputConfigurationInput }); interface _ProtectedJobOutputConfigurationOutput { s3?: ProtectedJobS3OutputConfigurationOutput; member?: ProtectedJobMemberOutputConfigurationOutput; } -export type ProtectedJobOutputConfigurationOutput = - | (_ProtectedJobOutputConfigurationOutput & { - s3: ProtectedJobS3OutputConfigurationOutput; - }) - | (_ProtectedJobOutputConfigurationOutput & { - member: ProtectedJobMemberOutputConfigurationOutput; - }); +export type ProtectedJobOutputConfigurationOutput = (_ProtectedJobOutputConfigurationOutput & { s3: ProtectedJobS3OutputConfigurationOutput }) | (_ProtectedJobOutputConfigurationOutput & { member: ProtectedJobMemberOutputConfigurationOutput }); export interface ProtectedJobParameters { analysisTemplateArn?: string; } @@ -2959,8 +2286,7 @@ export interface ProtectedJobReceiverConfiguration { analysisType: ProtectedJobAnalysisType; configurationDetails?: ProtectedJobConfigurationDetails; } -export type ProtectedJobReceiverConfigurations = - Array; +export type ProtectedJobReceiverConfigurations = Array; export interface ProtectedJobResult { output: ProtectedJobOutput; } @@ -2988,13 +2314,7 @@ export interface ProtectedJobStatistics { totalDurationInMillis?: number; billedResourceUtilization?: BilledJobResourceUtilization; } -export type ProtectedJobStatus = - | "SUBMITTED" - | "STARTED" - | "CANCELLED" - | "CANCELLING" - | "FAILED" - | "SUCCESS"; +export type ProtectedJobStatus = "SUBMITTED" | "STARTED" | "CANCELLED" | "CANCELLING" | "FAILED" | "SUCCESS"; export interface ProtectedJobSummary { id: string; membershipId: string; @@ -3036,15 +2356,8 @@ interface _ProtectedQueryDistributeOutputConfigurationLocation { member?: ProtectedQueryMemberOutputConfiguration; } -export type ProtectedQueryDistributeOutputConfigurationLocation = - | (_ProtectedQueryDistributeOutputConfigurationLocation & { - s3: ProtectedQueryS3OutputConfiguration; - }) - | (_ProtectedQueryDistributeOutputConfigurationLocation & { - member: ProtectedQueryMemberOutputConfiguration; - }); -export type ProtectedQueryDistributeOutputConfigurationLocations = - Array; +export type ProtectedQueryDistributeOutputConfigurationLocation = (_ProtectedQueryDistributeOutputConfigurationLocation & { s3: ProtectedQueryS3OutputConfiguration }) | (_ProtectedQueryDistributeOutputConfigurationLocation & { member: ProtectedQueryMemberOutputConfiguration }); +export type ProtectedQueryDistributeOutputConfigurationLocations = Array; export interface ProtectedQueryError { message: string; code: string; @@ -3054,36 +2367,21 @@ export type ProtectedQueryIdentifier = string; export interface ProtectedQueryMemberOutputConfiguration { accountId: string; } -export type ProtectedQueryMemberOutputList = - Array; +export type ProtectedQueryMemberOutputList = Array; interface _ProtectedQueryOutput { s3?: ProtectedQueryS3Output; memberList?: Array; distribute?: ProtectedQueryDistributeOutput; } -export type ProtectedQueryOutput = - | (_ProtectedQueryOutput & { s3: ProtectedQueryS3Output }) - | (_ProtectedQueryOutput & { - memberList: Array; - }) - | (_ProtectedQueryOutput & { distribute: ProtectedQueryDistributeOutput }); +export type ProtectedQueryOutput = (_ProtectedQueryOutput & { s3: ProtectedQueryS3Output }) | (_ProtectedQueryOutput & { memberList: Array }) | (_ProtectedQueryOutput & { distribute: ProtectedQueryDistributeOutput }); interface _ProtectedQueryOutputConfiguration { s3?: ProtectedQueryS3OutputConfiguration; member?: ProtectedQueryMemberOutputConfiguration; distribute?: ProtectedQueryDistributeOutputConfiguration; } -export type ProtectedQueryOutputConfiguration = - | (_ProtectedQueryOutputConfiguration & { - s3: ProtectedQueryS3OutputConfiguration; - }) - | (_ProtectedQueryOutputConfiguration & { - member: ProtectedQueryMemberOutputConfiguration; - }) - | (_ProtectedQueryOutputConfiguration & { - distribute: ProtectedQueryDistributeOutputConfiguration; - }); +export type ProtectedQueryOutputConfiguration = (_ProtectedQueryOutputConfiguration & { s3: ProtectedQueryS3OutputConfiguration }) | (_ProtectedQueryOutputConfiguration & { member: ProtectedQueryMemberOutputConfiguration }) | (_ProtectedQueryOutputConfiguration & { distribute: ProtectedQueryDistributeOutputConfiguration }); export interface ProtectedQueryResult { output: ProtectedQueryOutput; } @@ -3131,9 +2429,7 @@ interface _QueryConstraint { requireOverlap?: QueryConstraintRequireOverlap; } -export type QueryConstraint = _QueryConstraint & { - requireOverlap: QueryConstraintRequireOverlap; -}; +export type QueryConstraint = (_QueryConstraint & { requireOverlap: QueryConstraintRequireOverlap }); export type QueryConstraintList = Array; export interface QueryConstraintRequireOverlap { columns?: Array; @@ -3213,18 +2509,7 @@ export interface SchemaStatusReason { code: SchemaStatusReasonCode; message: string; } -export type SchemaStatusReasonCode = - | "ANALYSIS_RULE_MISSING" - | "ANALYSIS_TEMPLATES_NOT_CONFIGURED" - | "ANALYSIS_PROVIDERS_NOT_CONFIGURED" - | "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED" - | "ID_MAPPING_TABLE_NOT_POPULATED" - | "COLLABORATION_ANALYSIS_RULE_NOT_CONFIGURED" - | "ADDITIONAL_ANALYSES_NOT_CONFIGURED" - | "RESULT_RECEIVERS_NOT_CONFIGURED" - | "ADDITIONAL_ANALYSES_NOT_ALLOWED" - | "RESULT_RECEIVERS_NOT_ALLOWED" - | "ANALYSIS_RULE_TYPES_NOT_COMPATIBLE"; +export type SchemaStatusReasonCode = "ANALYSIS_RULE_MISSING" | "ANALYSIS_TEMPLATES_NOT_CONFIGURED" | "ANALYSIS_PROVIDERS_NOT_CONFIGURED" | "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED" | "ID_MAPPING_TABLE_NOT_POPULATED" | "COLLABORATION_ANALYSIS_RULE_NOT_CONFIGURED" | "ADDITIONAL_ANALYSES_NOT_CONFIGURED" | "RESULT_RECEIVERS_NOT_CONFIGURED" | "ADDITIONAL_ANALYSES_NOT_ALLOWED" | "RESULT_RECEIVERS_NOT_ALLOWED" | "ANALYSIS_RULE_TYPES_NOT_COMPATIBLE"; export type SchemaStatusReasonList = Array; export interface SchemaSummary { name: string; @@ -3245,9 +2530,7 @@ interface _SchemaTypeProperties { idMappingTable?: IdMappingTableSchemaTypeProperties; } -export type SchemaTypeProperties = _SchemaTypeProperties & { - idMappingTable: IdMappingTableSchemaTypeProperties; -}; +export type SchemaTypeProperties = (_SchemaTypeProperties & { idMappingTable: IdMappingTableSchemaTypeProperties }); export type SecretsManagerArn = string; export type SelectedAnalysisMethod = "DIRECT_QUERY" | "DIRECT_JOB"; @@ -3279,9 +2562,7 @@ interface _SnowflakeTableSchema { v1?: Array; } -export type SnowflakeTableSchema = _SnowflakeTableSchema & { - v1: Array; -}; +export type SnowflakeTableSchema = (_SnowflakeTableSchema & { v1: Array }); export type SnowflakeTableSchemaList = Array; export interface SnowflakeTableSchemaV1 { columnName: string; @@ -3312,40 +2593,7 @@ export interface StartProtectedQueryInput { export interface StartProtectedQueryOutput { protectedQuery: ProtectedQuery; } -export type SupportedS3Region = - | "us-west-1" - | "us-west-2" - | "us-east-1" - | "us-east-2" - | "af-south-1" - | "ap-east-1" - | "ap-east-2" - | "ap-south-2" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-southeast-3" - | "ap-southeast-5" - | "ap-southeast-4" - | "ap-southeast-7" - | "ap-south-1" - | "ap-northeast-3" - | "ap-northeast-1" - | "ap-northeast-2" - | "ca-central-1" - | "ca-west-1" - | "eu-south-1" - | "eu-west-3" - | "eu-south-2" - | "eu-central-2" - | "eu-central-1" - | "eu-north-1" - | "eu-west-1" - | "eu-west-2" - | "me-south-1" - | "me-central-1" - | "il-central-1" - | "sa-east-1" - | "mx-central-1"; +export type SupportedS3Region = "us-west-1" | "us-west-2" | "us-east-1" | "us-east-2" | "af-south-1" | "ap-east-1" | "ap-east-2" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-southeast-5" | "ap-southeast-4" | "ap-southeast-7" | "ap-south-1" | "ap-northeast-3" | "ap-northeast-1" | "ap-northeast-2" | "ca-central-1" | "ca-west-1" | "eu-south-1" | "eu-west-3" | "eu-south-2" | "eu-central-2" | "eu-central-1" | "eu-north-1" | "eu-west-1" | "eu-west-2" | "me-south-1" | "me-central-1" | "il-central-1" | "sa-east-1" | "mx-central-1"; export type TableAlias = string; export type TableAliasList = Array; @@ -3357,10 +2605,7 @@ interface _TableReference { athena?: AthenaTableReference; } -export type TableReference = - | (_TableReference & { glue: GlueTableReference }) - | (_TableReference & { snowflake: SnowflakeTableReference }) - | (_TableReference & { athena: AthenaTableReference }); +export type TableReference = (_TableReference & { glue: GlueTableReference }) | (_TableReference & { snowflake: SnowflakeTableReference }) | (_TableReference & { athena: AthenaTableReference }); export type TagKey = string; export type TagKeys = Array; @@ -3369,7 +2614,8 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type TargetProtectedJobStatus = "CANCELLED"; @@ -3384,7 +2630,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateAnalysisTemplateInput { membershipIdentifier: string; analysisTemplateIdentifier: string; @@ -3530,8 +2777,7 @@ interface _WorkerComputeConfigurationProperties { spark?: Record; } -export type WorkerComputeConfigurationProperties = - _WorkerComputeConfigurationProperties & { spark: Record }; +export type WorkerComputeConfigurationProperties = (_WorkerComputeConfigurationProperties & { spark: Record }); export type WorkerComputeType = "CR.1X" | "CR.4X"; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceInput; @@ -4187,8 +3433,7 @@ export declare namespace ListCollaborationChangeRequests { export declare namespace ListCollaborationConfiguredAudienceModelAssociations { export type Input = ListCollaborationConfiguredAudienceModelAssociationsInput; - export type Output = - ListCollaborationConfiguredAudienceModelAssociationsOutput; + export type Output = ListCollaborationConfiguredAudienceModelAssociationsOutput; export type Error = | AccessDeniedException | InternalServerException @@ -4603,12 +3848,5 @@ export declare namespace UpdateProtectedQuery { | CommonAwsError; } -export type CleanRoomsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type CleanRoomsErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/cleanroomsml/index.ts b/src/services/cleanroomsml/index.ts index c1285523..970d646a 100644 --- a/src/services/cleanroomsml/index.ts +++ b/src/services/cleanroomsml/index.ts @@ -5,23 +5,7 @@ import type { CleanRoomsML as _CleanRoomsMLClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,104 +14,65 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "cleanrooms-ml", operations: { - ListCollaborationConfiguredModelAlgorithmAssociations: - "GET /collaborations/{collaborationIdentifier}/configured-model-algorithm-associations", - ListCollaborationMLInputChannels: - "GET /collaborations/{collaborationIdentifier}/ml-input-channels", - ListCollaborationTrainedModelExportJobs: - "GET /collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}/export-jobs", - ListCollaborationTrainedModelInferenceJobs: - "GET /collaborations/{collaborationIdentifier}/trained-model-inference-jobs", - ListCollaborationTrainedModels: - "GET /collaborations/{collaborationIdentifier}/trained-models", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CancelTrainedModel: - "PATCH /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}", - CancelTrainedModelInferenceJob: - "PATCH /memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}", - CreateAudienceModel: "POST /audience-model", - CreateConfiguredAudienceModel: "POST /configured-audience-model", - CreateConfiguredModelAlgorithm: "POST /configured-model-algorithms", - CreateConfiguredModelAlgorithmAssociation: - "POST /memberships/{membershipIdentifier}/configured-model-algorithm-associations", - CreateMLInputChannel: - "POST /memberships/{membershipIdentifier}/ml-input-channels", - CreateTrainedModel: - "POST /memberships/{membershipIdentifier}/trained-models", - CreateTrainingDataset: "POST /training-dataset", - DeleteAudienceGenerationJob: - "DELETE /audience-generation-job/{audienceGenerationJobArn}", - DeleteAudienceModel: "DELETE /audience-model/{audienceModelArn}", - DeleteConfiguredAudienceModel: - "DELETE /configured-audience-model/{configuredAudienceModelArn}", - DeleteConfiguredAudienceModelPolicy: - "DELETE /configured-audience-model/{configuredAudienceModelArn}/policy", - DeleteConfiguredModelAlgorithm: - "DELETE /configured-model-algorithms/{configuredModelAlgorithmArn}", - DeleteConfiguredModelAlgorithmAssociation: - "DELETE /memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}", - DeleteMLConfiguration: - "DELETE /memberships/{membershipIdentifier}/ml-configurations", - DeleteMLInputChannelData: - "DELETE /memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}", - DeleteTrainedModelOutput: - "DELETE /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}", - DeleteTrainingDataset: "DELETE /training-dataset/{trainingDatasetArn}", - GetAudienceGenerationJob: - "GET /audience-generation-job/{audienceGenerationJobArn}", - GetAudienceModel: "GET /audience-model/{audienceModelArn}", - GetCollaborationConfiguredModelAlgorithmAssociation: - "GET /collaborations/{collaborationIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}", - GetCollaborationMLInputChannel: - "GET /collaborations/{collaborationIdentifier}/ml-input-channels/{mlInputChannelArn}", - GetCollaborationTrainedModel: - "GET /collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}", - GetConfiguredAudienceModel: - "GET /configured-audience-model/{configuredAudienceModelArn}", - GetConfiguredAudienceModelPolicy: - "GET /configured-audience-model/{configuredAudienceModelArn}/policy", - GetConfiguredModelAlgorithm: - "GET /configured-model-algorithms/{configuredModelAlgorithmArn}", - GetConfiguredModelAlgorithmAssociation: - "GET /memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}", - GetMLConfiguration: - "GET /memberships/{membershipIdentifier}/ml-configurations", - GetMLInputChannel: - "GET /memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}", - GetTrainedModel: - "GET /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}", - GetTrainedModelInferenceJob: - "GET /memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}", - GetTrainingDataset: "GET /training-dataset/{trainingDatasetArn}", - ListAudienceExportJobs: "GET /audience-export-job", - ListAudienceGenerationJobs: "GET /audience-generation-job", - ListAudienceModels: "GET /audience-model", - ListConfiguredAudienceModels: "GET /configured-audience-model", - ListConfiguredModelAlgorithmAssociations: - "GET /memberships/{membershipIdentifier}/configured-model-algorithm-associations", - ListConfiguredModelAlgorithms: "GET /configured-model-algorithms", - ListMLInputChannels: - "GET /memberships/{membershipIdentifier}/ml-input-channels", - ListTrainedModelInferenceJobs: - "GET /memberships/{membershipIdentifier}/trained-model-inference-jobs", - ListTrainedModelVersions: - "GET /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/versions", - ListTrainedModels: "GET /memberships/{membershipIdentifier}/trained-models", - ListTrainingDatasets: "GET /training-dataset", - PutConfiguredAudienceModelPolicy: - "PUT /configured-audience-model/{configuredAudienceModelArn}/policy", - PutMLConfiguration: - "PUT /memberships/{membershipIdentifier}/ml-configurations", - StartAudienceExportJob: "POST /audience-export-job", - StartAudienceGenerationJob: "POST /audience-generation-job", - StartTrainedModelExportJob: - "POST /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/export-jobs", - StartTrainedModelInferenceJob: - "POST /memberships/{membershipIdentifier}/trained-model-inference-jobs", - UpdateConfiguredAudienceModel: - "PATCH /configured-audience-model/{configuredAudienceModelArn}", + "ListCollaborationConfiguredModelAlgorithmAssociations": "GET /collaborations/{collaborationIdentifier}/configured-model-algorithm-associations", + "ListCollaborationMLInputChannels": "GET /collaborations/{collaborationIdentifier}/ml-input-channels", + "ListCollaborationTrainedModelExportJobs": "GET /collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}/export-jobs", + "ListCollaborationTrainedModelInferenceJobs": "GET /collaborations/{collaborationIdentifier}/trained-model-inference-jobs", + "ListCollaborationTrainedModels": "GET /collaborations/{collaborationIdentifier}/trained-models", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CancelTrainedModel": "PATCH /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}", + "CancelTrainedModelInferenceJob": "PATCH /memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}", + "CreateAudienceModel": "POST /audience-model", + "CreateConfiguredAudienceModel": "POST /configured-audience-model", + "CreateConfiguredModelAlgorithm": "POST /configured-model-algorithms", + "CreateConfiguredModelAlgorithmAssociation": "POST /memberships/{membershipIdentifier}/configured-model-algorithm-associations", + "CreateMLInputChannel": "POST /memberships/{membershipIdentifier}/ml-input-channels", + "CreateTrainedModel": "POST /memberships/{membershipIdentifier}/trained-models", + "CreateTrainingDataset": "POST /training-dataset", + "DeleteAudienceGenerationJob": "DELETE /audience-generation-job/{audienceGenerationJobArn}", + "DeleteAudienceModel": "DELETE /audience-model/{audienceModelArn}", + "DeleteConfiguredAudienceModel": "DELETE /configured-audience-model/{configuredAudienceModelArn}", + "DeleteConfiguredAudienceModelPolicy": "DELETE /configured-audience-model/{configuredAudienceModelArn}/policy", + "DeleteConfiguredModelAlgorithm": "DELETE /configured-model-algorithms/{configuredModelAlgorithmArn}", + "DeleteConfiguredModelAlgorithmAssociation": "DELETE /memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}", + "DeleteMLConfiguration": "DELETE /memberships/{membershipIdentifier}/ml-configurations", + "DeleteMLInputChannelData": "DELETE /memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}", + "DeleteTrainedModelOutput": "DELETE /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}", + "DeleteTrainingDataset": "DELETE /training-dataset/{trainingDatasetArn}", + "GetAudienceGenerationJob": "GET /audience-generation-job/{audienceGenerationJobArn}", + "GetAudienceModel": "GET /audience-model/{audienceModelArn}", + "GetCollaborationConfiguredModelAlgorithmAssociation": "GET /collaborations/{collaborationIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}", + "GetCollaborationMLInputChannel": "GET /collaborations/{collaborationIdentifier}/ml-input-channels/{mlInputChannelArn}", + "GetCollaborationTrainedModel": "GET /collaborations/{collaborationIdentifier}/trained-models/{trainedModelArn}", + "GetConfiguredAudienceModel": "GET /configured-audience-model/{configuredAudienceModelArn}", + "GetConfiguredAudienceModelPolicy": "GET /configured-audience-model/{configuredAudienceModelArn}/policy", + "GetConfiguredModelAlgorithm": "GET /configured-model-algorithms/{configuredModelAlgorithmArn}", + "GetConfiguredModelAlgorithmAssociation": "GET /memberships/{membershipIdentifier}/configured-model-algorithm-associations/{configuredModelAlgorithmAssociationArn}", + "GetMLConfiguration": "GET /memberships/{membershipIdentifier}/ml-configurations", + "GetMLInputChannel": "GET /memberships/{membershipIdentifier}/ml-input-channels/{mlInputChannelArn}", + "GetTrainedModel": "GET /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}", + "GetTrainedModelInferenceJob": "GET /memberships/{membershipIdentifier}/trained-model-inference-jobs/{trainedModelInferenceJobArn}", + "GetTrainingDataset": "GET /training-dataset/{trainingDatasetArn}", + "ListAudienceExportJobs": "GET /audience-export-job", + "ListAudienceGenerationJobs": "GET /audience-generation-job", + "ListAudienceModels": "GET /audience-model", + "ListConfiguredAudienceModels": "GET /configured-audience-model", + "ListConfiguredModelAlgorithmAssociations": "GET /memberships/{membershipIdentifier}/configured-model-algorithm-associations", + "ListConfiguredModelAlgorithms": "GET /configured-model-algorithms", + "ListMLInputChannels": "GET /memberships/{membershipIdentifier}/ml-input-channels", + "ListTrainedModelInferenceJobs": "GET /memberships/{membershipIdentifier}/trained-model-inference-jobs", + "ListTrainedModelVersions": "GET /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/versions", + "ListTrainedModels": "GET /memberships/{membershipIdentifier}/trained-models", + "ListTrainingDatasets": "GET /training-dataset", + "PutConfiguredAudienceModelPolicy": "PUT /configured-audience-model/{configuredAudienceModelArn}/policy", + "PutMLConfiguration": "PUT /memberships/{membershipIdentifier}/ml-configurations", + "StartAudienceExportJob": "POST /audience-export-job", + "StartAudienceGenerationJob": "POST /audience-generation-job", + "StartTrainedModelExportJob": "POST /memberships/{membershipIdentifier}/trained-models/{trainedModelArn}/export-jobs", + "StartTrainedModelInferenceJob": "POST /memberships/{membershipIdentifier}/trained-model-inference-jobs", + "UpdateConfiguredAudienceModel": "PATCH /configured-audience-model/{configuredAudienceModelArn}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/cleanroomsml/types.ts b/src/services/cleanroomsml/types.ts index 7309d781..1d93f5bf 100644 --- a/src/services/cleanroomsml/types.ts +++ b/src/services/cleanroomsml/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CleanRoomsML extends AWSServiceClient { @@ -40,409 +8,247 @@ export declare class CleanRoomsML extends AWSServiceClient { input: ListCollaborationConfiguredModelAlgorithmAssociationsRequest, ): Effect.Effect< ListCollaborationConfiguredModelAlgorithmAssociationsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationMLInputChannels( input: ListCollaborationMLInputChannelsRequest, ): Effect.Effect< ListCollaborationMLInputChannelsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationTrainedModelExportJobs( input: ListCollaborationTrainedModelExportJobsRequest, ): Effect.Effect< ListCollaborationTrainedModelExportJobsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationTrainedModelInferenceJobs( input: ListCollaborationTrainedModelInferenceJobsRequest, ): Effect.Effect< ListCollaborationTrainedModelInferenceJobsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listCollaborationTrainedModels( input: ListCollaborationTrainedModelsRequest, ): Effect.Effect< ListCollaborationTrainedModelsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; cancelTrainedModel( input: CancelTrainedModelRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelTrainedModelInferenceJob( input: CancelTrainedModelInferenceJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAudienceModel( input: CreateAudienceModelRequest, ): Effect.Effect< CreateAudienceModelResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createConfiguredAudienceModel( input: CreateConfiguredAudienceModelRequest, ): Effect.Effect< CreateConfiguredAudienceModelResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createConfiguredModelAlgorithm( input: CreateConfiguredModelAlgorithmRequest, ): Effect.Effect< CreateConfiguredModelAlgorithmResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createConfiguredModelAlgorithmAssociation( input: CreateConfiguredModelAlgorithmAssociationRequest, ): Effect.Effect< CreateConfiguredModelAlgorithmAssociationResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMLInputChannel( input: CreateMLInputChannelRequest, ): Effect.Effect< CreateMLInputChannelResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTrainedModel( input: CreateTrainedModelRequest, ): Effect.Effect< CreateTrainedModelResponse, - | AccessDeniedException - | ConflictException - | InternalServiceException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTrainingDataset( input: CreateTrainingDatasetRequest, ): Effect.Effect< CreateTrainingDatasetResponse, - | AccessDeniedException - | ConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ValidationException | CommonAwsError >; deleteAudienceGenerationJob( input: DeleteAudienceGenerationJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteAudienceModel( input: DeleteAudienceModelRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteConfiguredAudienceModel( input: DeleteConfiguredAudienceModelRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteConfiguredAudienceModelPolicy( input: DeleteConfiguredAudienceModelPolicyRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteConfiguredModelAlgorithm( input: DeleteConfiguredModelAlgorithmRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteConfiguredModelAlgorithmAssociation( input: DeleteConfiguredModelAlgorithmAssociationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMLConfiguration( input: DeleteMLConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMLInputChannelData( input: DeleteMLInputChannelDataRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTrainedModelOutput( input: DeleteTrainedModelOutputRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTrainingDataset( input: DeleteTrainingDatasetRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAudienceGenerationJob( input: GetAudienceGenerationJobRequest, ): Effect.Effect< GetAudienceGenerationJobResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAudienceModel( input: GetAudienceModelRequest, ): Effect.Effect< GetAudienceModelResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getCollaborationConfiguredModelAlgorithmAssociation( input: GetCollaborationConfiguredModelAlgorithmAssociationRequest, ): Effect.Effect< GetCollaborationConfiguredModelAlgorithmAssociationResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCollaborationMLInputChannel( input: GetCollaborationMLInputChannelRequest, ): Effect.Effect< GetCollaborationMLInputChannelResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCollaborationTrainedModel( input: GetCollaborationTrainedModelRequest, ): Effect.Effect< GetCollaborationTrainedModelResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfiguredAudienceModel( input: GetConfiguredAudienceModelRequest, ): Effect.Effect< GetConfiguredAudienceModelResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getConfiguredAudienceModelPolicy( input: GetConfiguredAudienceModelPolicyRequest, ): Effect.Effect< GetConfiguredAudienceModelPolicyResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getConfiguredModelAlgorithm( input: GetConfiguredModelAlgorithmRequest, ): Effect.Effect< GetConfiguredModelAlgorithmResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getConfiguredModelAlgorithmAssociation( input: GetConfiguredModelAlgorithmAssociationRequest, ): Effect.Effect< GetConfiguredModelAlgorithmAssociationResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMLConfiguration( input: GetMLConfigurationRequest, ): Effect.Effect< GetMLConfigurationResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMLInputChannel( input: GetMLInputChannelRequest, ): Effect.Effect< GetMLInputChannelResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTrainedModel( input: GetTrainedModelRequest, ): Effect.Effect< GetTrainedModelResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTrainedModelInferenceJob( input: GetTrainedModelInferenceJobRequest, ): Effect.Effect< GetTrainedModelInferenceJobResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTrainingDataset( input: GetTrainingDatasetRequest, ): Effect.Effect< GetTrainingDatasetResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAudienceExportJobs( input: ListAudienceExportJobsRequest, @@ -472,10 +278,7 @@ export declare class CleanRoomsML extends AWSServiceClient { input: ListConfiguredModelAlgorithmAssociationsRequest, ): Effect.Effect< ListConfiguredModelAlgorithmAssociationsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listConfiguredModelAlgorithms( input: ListConfiguredModelAlgorithmsRequest, @@ -487,38 +290,25 @@ export declare class CleanRoomsML extends AWSServiceClient { input: ListMLInputChannelsRequest, ): Effect.Effect< ListMLInputChannelsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listTrainedModelInferenceJobs( input: ListTrainedModelInferenceJobsRequest, ): Effect.Effect< ListTrainedModelInferenceJobsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listTrainedModelVersions( input: ListTrainedModelVersionsRequest, ): Effect.Effect< ListTrainedModelVersionsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTrainedModels( input: ListTrainedModelsRequest, ): Effect.Effect< ListTrainedModelsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listTrainingDatasets( input: ListTrainingDatasetsRequest, @@ -530,75 +320,43 @@ export declare class CleanRoomsML extends AWSServiceClient { input: PutConfiguredAudienceModelPolicyRequest, ): Effect.Effect< PutConfiguredAudienceModelPolicyResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; putMLConfiguration( input: PutMLConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; startAudienceExportJob( input: StartAudienceExportJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; startAudienceGenerationJob( input: StartAudienceGenerationJobRequest, ): Effect.Effect< StartAudienceGenerationJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startTrainedModelExportJob( input: StartTrainedModelExportJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startTrainedModelInferenceJob( input: StartTrainedModelInferenceJobRequest, ): Effect.Effect< StartTrainedModelInferenceJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateConfiguredAudienceModel( input: UpdateConfiguredAudienceModelRequest, ): Effect.Effect< UpdateConfiguredAudienceModelResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -619,11 +377,7 @@ export interface AccessBudgetDetails { } export type AccessBudgetDetailsList = Array; export type AccessBudgets = Array; -export type AccessBudgetType = - | "CALENDAR_DAY" - | "CALENDAR_MONTH" - | "CALENDAR_WEEK" - | "LIFETIME"; +export type AccessBudgetType = "CALENDAR_DAY" | "CALENDAR_MONTH" | "CALENDAR_WEEK" | "LIFETIME"; export declare class AccessDeniedException extends EffectData.TaggedError( "AccessDeniedException", )<{ @@ -642,11 +396,7 @@ export interface AudienceDestination { export type AudienceExportJobArn = string; export type AudienceExportJobList = Array; -export type AudienceExportJobStatus = - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "ACTIVE"; +export type AudienceExportJobStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE"; export interface AudienceExportJobSummary { createTime: Date | string; updateTime: Date | string; @@ -667,14 +417,7 @@ export interface AudienceGenerationJobDataSource { sqlComputeConfiguration?: ComputeConfiguration; } export type AudienceGenerationJobList = Array; -export type AudienceGenerationJobStatus = - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETE_PENDING" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED"; +export type AudienceGenerationJobStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED"; export interface AudienceGenerationJobSummary { createTime: Date | string; updateTime: Date | string; @@ -689,14 +432,7 @@ export interface AudienceGenerationJobSummary { export type AudienceModelArn = string; export type AudienceModelList = Array; -export type AudienceModelStatus = - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETE_PENDING" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED"; +export type AudienceModelStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED"; export interface AudienceModelSummary { createTime: Date | string; updateTime: Date | string; @@ -736,8 +472,7 @@ export interface CancelTrainedModelRequest { trainedModelArn: string; versionIdentifier?: string; } -export type CollaborationConfiguredModelAlgorithmAssociationList = - Array; +export type CollaborationConfiguredModelAlgorithmAssociationList = Array; export interface CollaborationConfiguredModelAlgorithmAssociationSummary { createTime: Date | string; updateTime: Date | string; @@ -749,8 +484,7 @@ export interface CollaborationConfiguredModelAlgorithmAssociationSummary { configuredModelAlgorithmArn: string; creatorAccountId: string; } -export type CollaborationMLInputChannelsList = - Array; +export type CollaborationMLInputChannelsList = Array; export interface CollaborationMLInputChannelSummary { createTime: Date | string; updateTime: Date | string; @@ -763,8 +497,7 @@ export interface CollaborationMLInputChannelSummary { creatorAccountId: string; description?: string; } -export type CollaborationTrainedModelExportJobList = - Array; +export type CollaborationTrainedModelExportJobList = Array; export interface CollaborationTrainedModelExportJobSummary { createTime: Date | string; updateTime: Date | string; @@ -779,8 +512,7 @@ export interface CollaborationTrainedModelExportJobSummary { membershipIdentifier: string; collaborationIdentifier: string; } -export type CollaborationTrainedModelInferenceJobList = - Array; +export type CollaborationTrainedModelInferenceJobList = Array; export interface CollaborationTrainedModelInferenceJobSummary { trainedModelInferenceJobArn: string; configuredModelAlgorithmAssociationArn?: string; @@ -800,8 +532,7 @@ export interface CollaborationTrainedModelInferenceJobSummary { updateTime: Date | string; creatorAccountId: string; } -export type CollaborationTrainedModelList = - Array; +export type CollaborationTrainedModelList = Array; export interface CollaborationTrainedModelSummary { createTime: Date | string; updateTime: Date | string; @@ -822,20 +553,13 @@ export interface ColumnSchema { columnName: string; columnTypes: Array; } -export type ColumnType = - | "USER_ID" - | "ITEM_ID" - | "TIMESTAMP" - | "CATEGORICAL_FEATURE" - | "NUMERICAL_FEATURE"; +export type ColumnType = "USER_ID" | "ITEM_ID" | "TIMESTAMP" | "CATEGORICAL_FEATURE" | "NUMERICAL_FEATURE"; export type ColumnTypeList = Array; interface _ComputeConfiguration { worker?: WorkerComputeConfiguration; } -export type ComputeConfiguration = _ComputeConfiguration & { - worker: WorkerComputeConfiguration; -}; +export type ComputeConfiguration = (_ComputeConfiguration & { worker: WorkerComputeConfiguration }); export type ConfiguredAudienceModelArn = string; export type ConfiguredAudienceModelList = Array; @@ -859,8 +583,7 @@ export type ConfiguredModelAlgorithmArn = string; export type ConfiguredModelAlgorithmAssociationArn = string; export type ConfiguredModelAlgorithmAssociationArnList = Array; -export type ConfiguredModelAlgorithmAssociationList = - Array; +export type ConfiguredModelAlgorithmAssociationList = Array; export interface ConfiguredModelAlgorithmAssociationSummary { createTime: Date | string; updateTime: Date | string; @@ -871,8 +594,7 @@ export interface ConfiguredModelAlgorithmAssociationSummary { membershipIdentifier: string; collaborationIdentifier: string; } -export type ConfiguredModelAlgorithmList = - Array; +export type ConfiguredModelAlgorithmList = Array; export interface ConfiguredModelAlgorithmSummary { createTime: Date | string; updateTime: Date | string; @@ -1045,10 +767,7 @@ export interface DeleteTrainingDatasetRequest { export interface Destination { s3Destination: S3ConfigMap; } -export type EntityType = - | "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION" - | "NUMBERS" - | "CUSTOM"; +export type EntityType = "ALL_PERSONALLY_IDENTIFIABLE_INFORMATION" | "NUMBERS" | "CUSTOM"; export type EntityTypeList = Array; export type Environment = Record; export interface GetAudienceGenerationJobRequest { @@ -1342,10 +1061,8 @@ export interface IncrementalTrainingDataChannelOutput { versionIdentifier?: string; modelName: string; } -export type IncrementalTrainingDataChannels = - Array; -export type IncrementalTrainingDataChannelsOutput = - Array; +export type IncrementalTrainingDataChannels = Array; +export type IncrementalTrainingDataChannelsOutput = Array; export interface InferenceContainerConfig { imageUri: string; } @@ -1353,101 +1070,7 @@ export interface InferenceContainerExecutionParameters { maxPayloadInMB?: number; } export type InferenceEnvironmentMap = Record; -export type InferenceInstanceType = - | "ml.r7i.48xlarge" - | "ml.r6i.16xlarge" - | "ml.m6i.xlarge" - | "ml.m5.4xlarge" - | "ml.p2.xlarge" - | "ml.m4.16xlarge" - | "ml.r7i.16xlarge" - | "ml.m7i.xlarge" - | "ml.m6i.12xlarge" - | "ml.r7i.8xlarge" - | "ml.r7i.large" - | "ml.m7i.12xlarge" - | "ml.m6i.24xlarge" - | "ml.m7i.24xlarge" - | "ml.r6i.8xlarge" - | "ml.r6i.large" - | "ml.g5.2xlarge" - | "ml.m5.large" - | "ml.m7i.48xlarge" - | "ml.m6i.16xlarge" - | "ml.p2.16xlarge" - | "ml.g5.4xlarge" - | "ml.m7i.16xlarge" - | "ml.c4.2xlarge" - | "ml.c5.2xlarge" - | "ml.c6i.32xlarge" - | "ml.c4.4xlarge" - | "ml.g5.8xlarge" - | "ml.c6i.xlarge" - | "ml.c5.4xlarge" - | "ml.g4dn.xlarge" - | "ml.c7i.xlarge" - | "ml.c6i.12xlarge" - | "ml.g4dn.12xlarge" - | "ml.c7i.12xlarge" - | "ml.c6i.24xlarge" - | "ml.g4dn.2xlarge" - | "ml.c7i.24xlarge" - | "ml.c7i.2xlarge" - | "ml.c4.8xlarge" - | "ml.c6i.2xlarge" - | "ml.g4dn.4xlarge" - | "ml.c7i.48xlarge" - | "ml.c7i.4xlarge" - | "ml.c6i.16xlarge" - | "ml.c5.9xlarge" - | "ml.g4dn.16xlarge" - | "ml.c7i.16xlarge" - | "ml.c6i.4xlarge" - | "ml.c5.xlarge" - | "ml.c4.xlarge" - | "ml.g4dn.8xlarge" - | "ml.c7i.8xlarge" - | "ml.c7i.large" - | "ml.g5.xlarge" - | "ml.c6i.8xlarge" - | "ml.c6i.large" - | "ml.g5.12xlarge" - | "ml.g5.24xlarge" - | "ml.m7i.2xlarge" - | "ml.c5.18xlarge" - | "ml.g5.48xlarge" - | "ml.m6i.2xlarge" - | "ml.g5.16xlarge" - | "ml.m7i.4xlarge" - | "ml.r6i.32xlarge" - | "ml.m6i.4xlarge" - | "ml.m5.xlarge" - | "ml.m4.10xlarge" - | "ml.r6i.xlarge" - | "ml.m5.12xlarge" - | "ml.m4.xlarge" - | "ml.r7i.2xlarge" - | "ml.r7i.xlarge" - | "ml.r6i.12xlarge" - | "ml.m5.24xlarge" - | "ml.r7i.12xlarge" - | "ml.m7i.8xlarge" - | "ml.m7i.large" - | "ml.r6i.24xlarge" - | "ml.r6i.2xlarge" - | "ml.m4.2xlarge" - | "ml.r7i.24xlarge" - | "ml.r7i.4xlarge" - | "ml.m6i.8xlarge" - | "ml.m6i.large" - | "ml.m5.2xlarge" - | "ml.p2.8xlarge" - | "ml.r6i.4xlarge" - | "ml.m6i.32xlarge" - | "ml.m4.4xlarge" - | "ml.p3.16xlarge" - | "ml.p3.2xlarge" - | "ml.p3.8xlarge"; +export type InferenceInstanceType = "ml.r7i.48xlarge" | "ml.r6i.16xlarge" | "ml.m6i.xlarge" | "ml.m5.4xlarge" | "ml.p2.xlarge" | "ml.m4.16xlarge" | "ml.r7i.16xlarge" | "ml.m7i.xlarge" | "ml.m6i.12xlarge" | "ml.r7i.8xlarge" | "ml.r7i.large" | "ml.m7i.12xlarge" | "ml.m6i.24xlarge" | "ml.m7i.24xlarge" | "ml.r6i.8xlarge" | "ml.r6i.large" | "ml.g5.2xlarge" | "ml.m5.large" | "ml.m7i.48xlarge" | "ml.m6i.16xlarge" | "ml.p2.16xlarge" | "ml.g5.4xlarge" | "ml.m7i.16xlarge" | "ml.c4.2xlarge" | "ml.c5.2xlarge" | "ml.c6i.32xlarge" | "ml.c4.4xlarge" | "ml.g5.8xlarge" | "ml.c6i.xlarge" | "ml.c5.4xlarge" | "ml.g4dn.xlarge" | "ml.c7i.xlarge" | "ml.c6i.12xlarge" | "ml.g4dn.12xlarge" | "ml.c7i.12xlarge" | "ml.c6i.24xlarge" | "ml.g4dn.2xlarge" | "ml.c7i.24xlarge" | "ml.c7i.2xlarge" | "ml.c4.8xlarge" | "ml.c6i.2xlarge" | "ml.g4dn.4xlarge" | "ml.c7i.48xlarge" | "ml.c7i.4xlarge" | "ml.c6i.16xlarge" | "ml.c5.9xlarge" | "ml.g4dn.16xlarge" | "ml.c7i.16xlarge" | "ml.c6i.4xlarge" | "ml.c5.xlarge" | "ml.c4.xlarge" | "ml.g4dn.8xlarge" | "ml.c7i.8xlarge" | "ml.c7i.large" | "ml.g5.xlarge" | "ml.c6i.8xlarge" | "ml.c6i.large" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.m7i.2xlarge" | "ml.c5.18xlarge" | "ml.g5.48xlarge" | "ml.m6i.2xlarge" | "ml.g5.16xlarge" | "ml.m7i.4xlarge" | "ml.r6i.32xlarge" | "ml.m6i.4xlarge" | "ml.m5.xlarge" | "ml.m4.10xlarge" | "ml.r6i.xlarge" | "ml.m5.12xlarge" | "ml.m4.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.xlarge" | "ml.r6i.12xlarge" | "ml.m5.24xlarge" | "ml.r7i.12xlarge" | "ml.m7i.8xlarge" | "ml.m7i.large" | "ml.r6i.24xlarge" | "ml.r6i.2xlarge" | "ml.m4.2xlarge" | "ml.r7i.24xlarge" | "ml.r7i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.large" | "ml.m5.2xlarge" | "ml.p2.8xlarge" | "ml.r6i.4xlarge" | "ml.m6i.32xlarge" | "ml.m4.4xlarge" | "ml.p3.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge"; export interface InferenceOutputConfiguration { accept?: string; members: Array; @@ -1468,143 +1091,8 @@ interface _InputChannelDataSource { protectedQueryInputParameters?: ProtectedQueryInputParameters; } -export type InputChannelDataSource = _InputChannelDataSource & { - protectedQueryInputParameters: ProtectedQueryInputParameters; -}; -export type InstanceType = - | "ml.m4.xlarge" - | "ml.m4.2xlarge" - | "ml.m4.4xlarge" - | "ml.m4.10xlarge" - | "ml.m4.16xlarge" - | "ml.g4dn.xlarge" - | "ml.g4dn.2xlarge" - | "ml.g4dn.4xlarge" - | "ml.g4dn.8xlarge" - | "ml.g4dn.12xlarge" - | "ml.g4dn.16xlarge" - | "ml.m5.large" - | "ml.m5.xlarge" - | "ml.m5.2xlarge" - | "ml.m5.4xlarge" - | "ml.m5.12xlarge" - | "ml.m5.24xlarge" - | "ml.c4.xlarge" - | "ml.c4.2xlarge" - | "ml.c4.4xlarge" - | "ml.c4.8xlarge" - | "ml.p2.xlarge" - | "ml.p2.8xlarge" - | "ml.p2.16xlarge" - | "ml.p4d.24xlarge" - | "ml.p4de.24xlarge" - | "ml.p5.48xlarge" - | "ml.c5.xlarge" - | "ml.c5.2xlarge" - | "ml.c5.4xlarge" - | "ml.c5.9xlarge" - | "ml.c5.18xlarge" - | "ml.c5n.xlarge" - | "ml.c5n.2xlarge" - | "ml.c5n.4xlarge" - | "ml.c5n.9xlarge" - | "ml.c5n.18xlarge" - | "ml.g5.xlarge" - | "ml.g5.2xlarge" - | "ml.g5.4xlarge" - | "ml.g5.8xlarge" - | "ml.g5.16xlarge" - | "ml.g5.12xlarge" - | "ml.g5.24xlarge" - | "ml.g5.48xlarge" - | "ml.trn1.2xlarge" - | "ml.trn1.32xlarge" - | "ml.trn1n.32xlarge" - | "ml.m6i.large" - | "ml.m6i.xlarge" - | "ml.m6i.2xlarge" - | "ml.m6i.4xlarge" - | "ml.m6i.8xlarge" - | "ml.m6i.12xlarge" - | "ml.m6i.16xlarge" - | "ml.m6i.24xlarge" - | "ml.m6i.32xlarge" - | "ml.c6i.xlarge" - | "ml.c6i.2xlarge" - | "ml.c6i.8xlarge" - | "ml.c6i.4xlarge" - | "ml.c6i.12xlarge" - | "ml.c6i.16xlarge" - | "ml.c6i.24xlarge" - | "ml.c6i.32xlarge" - | "ml.r5d.large" - | "ml.r5d.xlarge" - | "ml.r5d.2xlarge" - | "ml.r5d.4xlarge" - | "ml.r5d.8xlarge" - | "ml.r5d.12xlarge" - | "ml.r5d.16xlarge" - | "ml.r5d.24xlarge" - | "ml.t3.medium" - | "ml.t3.large" - | "ml.t3.xlarge" - | "ml.t3.2xlarge" - | "ml.r5.large" - | "ml.r5.xlarge" - | "ml.r5.2xlarge" - | "ml.r5.4xlarge" - | "ml.r5.8xlarge" - | "ml.r5.12xlarge" - | "ml.r5.16xlarge" - | "ml.r5.24xlarge" - | "ml.c7i.large" - | "ml.c7i.xlarge" - | "ml.c7i.2xlarge" - | "ml.c7i.4xlarge" - | "ml.c7i.8xlarge" - | "ml.c7i.12xlarge" - | "ml.c7i.16xlarge" - | "ml.c7i.24xlarge" - | "ml.c7i.48xlarge" - | "ml.m7i.large" - | "ml.m7i.xlarge" - | "ml.m7i.2xlarge" - | "ml.m7i.4xlarge" - | "ml.m7i.8xlarge" - | "ml.m7i.12xlarge" - | "ml.m7i.16xlarge" - | "ml.m7i.24xlarge" - | "ml.m7i.48xlarge" - | "ml.r7i.large" - | "ml.r7i.xlarge" - | "ml.r7i.2xlarge" - | "ml.r7i.4xlarge" - | "ml.r7i.8xlarge" - | "ml.r7i.12xlarge" - | "ml.r7i.16xlarge" - | "ml.r7i.24xlarge" - | "ml.r7i.48xlarge" - | "ml.g6.xlarge" - | "ml.g6.2xlarge" - | "ml.g6.4xlarge" - | "ml.g6.8xlarge" - | "ml.g6.12xlarge" - | "ml.g6.16xlarge" - | "ml.g6.24xlarge" - | "ml.g6.48xlarge" - | "ml.g6e.xlarge" - | "ml.g6e.2xlarge" - | "ml.g6e.4xlarge" - | "ml.g6e.8xlarge" - | "ml.g6e.12xlarge" - | "ml.g6e.16xlarge" - | "ml.g6e.24xlarge" - | "ml.g6e.48xlarge" - | "ml.p5en.48xlarge" - | "ml.p3.2xlarge" - | "ml.p3.8xlarge" - | "ml.p3.16xlarge" - | "ml.p3dn.24xlarge"; +export type InputChannelDataSource = (_InputChannelDataSource & { protectedQueryInputParameters: ProtectedQueryInputParameters }); +export type InstanceType = "ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.c5n.xlarge" | "ml.c5n.2xlarge" | "ml.c5n.4xlarge" | "ml.c5n.9xlarge" | "ml.c5n.18xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.8xlarge" | "ml.c6i.4xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.r5d.large" | "ml.r5d.xlarge" | "ml.r5d.2xlarge" | "ml.r5d.4xlarge" | "ml.r5d.8xlarge" | "ml.r5d.12xlarge" | "ml.r5d.16xlarge" | "ml.r5d.24xlarge" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.p5en.48xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge"; export declare class InternalServiceException extends EffectData.TaggedError( "InternalServiceException", )<{ @@ -1801,15 +1289,7 @@ export type MinMatchingSeedSize = number; export type MLInputChannelArn = string; export type MLInputChannelsList = Array; -export type MLInputChannelStatus = - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETE_PENDING" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED" - | "INACTIVE"; +export type MLInputChannelStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "INACTIVE"; export interface MLInputChannelSummary { createTime: Date | string; updateTime: Date | string; @@ -1847,16 +1327,12 @@ export type ParameterKey = string; export type ParameterMap = Record; export type ParameterValue = string; -export type PolicyExistenceCondition = - | "POLICY_MUST_EXIST" - | "POLICY_MUST_NOT_EXIST"; +export type PolicyExistenceCondition = "POLICY_MUST_EXIST" | "POLICY_MUST_NOT_EXIST"; interface _PrivacyBudgets { accessBudgets?: Array; } -export type PrivacyBudgets = _PrivacyBudgets & { - accessBudgets: Array; -}; +export type PrivacyBudgets = (_PrivacyBudgets & { accessBudgets: Array }); export interface PrivacyConfiguration { policies: PrivacyConfigurationPolicies; } @@ -1985,7 +1461,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -2006,19 +1483,14 @@ export type TrainedModelExportFileType = "MODEL" | "OUTPUT"; export type TrainedModelExportFileTypeList = Array; export type TrainedModelExportJobArn = string; -export type TrainedModelExportJobStatus = - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "ACTIVE"; +export type TrainedModelExportJobStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE"; export interface TrainedModelExportOutputConfiguration { members: Array; } export interface TrainedModelExportReceiverMember { accountId: string; } -export type TrainedModelExportReceiverMembers = - Array; +export type TrainedModelExportReceiverMembers = Array; export interface TrainedModelExportsConfigurationPolicy { maxSize: TrainedModelExportsMaxSize; filesToExport: Array; @@ -2032,21 +1504,12 @@ export type TrainedModelExportsMaxSizeValue = number; export type TrainedModelInferenceJobArn = string; -export type TrainedModelInferenceJobList = - Array; +export type TrainedModelInferenceJobList = Array; export interface TrainedModelInferenceJobsConfigurationPolicy { containerLogs?: Array; maxOutputSize?: TrainedModelInferenceMaxOutputSize; } -export type TrainedModelInferenceJobStatus = - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "ACTIVE" - | "CANCEL_PENDING" - | "CANCEL_IN_PROGRESS" - | "CANCEL_FAILED" - | "INACTIVE"; +export type TrainedModelInferenceJobStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "CANCEL_PENDING" | "CANCEL_IN_PROGRESS" | "CANCEL_FAILED" | "INACTIVE"; export interface TrainedModelInferenceJobSummary { trainedModelInferenceJobArn: string; configuredModelAlgorithmAssociationArn?: string; @@ -2078,18 +1541,7 @@ export interface TrainedModelsConfigurationPolicy { containerMetrics?: MetricsConfigurationPolicy; maxArtifactSize?: TrainedModelArtifactMaxSize; } -export type TrainedModelStatus = - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETE_PENDING" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED" - | "INACTIVE" - | "CANCEL_PENDING" - | "CANCEL_IN_PROGRESS" - | "CANCEL_FAILED"; +export type TrainedModelStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "ACTIVE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "INACTIVE" | "CANCEL_PENDING" | "CANCEL_IN_PROGRESS" | "CANCEL_FAILED"; export interface TrainedModelSummary { createTime: Date | string; updateTime: Date | string; @@ -2120,7 +1572,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateConfiguredAudienceModelRequest { configuredAudienceModelArn: string; outputConfig?: ConfiguredAudienceModelOutputConfig; @@ -2146,10 +1599,8 @@ export interface WorkerComputeConfiguration { } export type WorkerComputeType = "CR.1X" | "CR.4X"; export declare namespace ListCollaborationConfiguredModelAlgorithmAssociations { - export type Input = - ListCollaborationConfiguredModelAlgorithmAssociationsRequest; - export type Output = - ListCollaborationConfiguredModelAlgorithmAssociationsResponse; + export type Input = ListCollaborationConfiguredModelAlgorithmAssociationsRequest; + export type Output = ListCollaborationConfiguredModelAlgorithmAssociationsResponse; export type Error = | AccessDeniedException | ThrottlingException @@ -2469,10 +1920,8 @@ export declare namespace GetAudienceModel { } export declare namespace GetCollaborationConfiguredModelAlgorithmAssociation { - export type Input = - GetCollaborationConfiguredModelAlgorithmAssociationRequest; - export type Output = - GetCollaborationConfiguredModelAlgorithmAssociationResponse; + export type Input = GetCollaborationConfiguredModelAlgorithmAssociationRequest; + export type Output = GetCollaborationConfiguredModelAlgorithmAssociationResponse; export type Error = | AccessDeniedException | ResourceNotFoundException @@ -2784,12 +2233,5 @@ export declare namespace UpdateConfiguredAudienceModel { | CommonAwsError; } -export type CleanRoomsMLErrors = - | AccessDeniedException - | ConflictException - | InternalServiceException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type CleanRoomsMLErrors = AccessDeniedException | ConflictException | InternalServiceException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/cloud9/index.ts b/src/services/cloud9/index.ts index 8781ea28..b9a0a9b6 100644 --- a/src/services/cloud9/index.ts +++ b/src/services/cloud9/index.ts @@ -5,26 +5,7 @@ import type { Cloud9 as _Cloud9Client } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cloud9/types.ts b/src/services/cloud9/types.ts index 6551a449..e5d7613a 100644 --- a/src/services/cloud9/types.ts +++ b/src/services/cloud9/types.ts @@ -7,160 +7,79 @@ export declare class Cloud9 extends AWSServiceClient { input: CreateEnvironmentEC2Request, ): Effect.Effect< CreateEnvironmentEC2Result, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; createEnvironmentMembership( input: CreateEnvironmentMembershipRequest, ): Effect.Effect< CreateEnvironmentMembershipResult, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteEnvironment( input: DeleteEnvironmentRequest, ): Effect.Effect< DeleteEnvironmentResult, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteEnvironmentMembership( input: DeleteEnvironmentMembershipRequest, ): Effect.Effect< DeleteEnvironmentMembershipResult, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeEnvironmentMemberships( input: DescribeEnvironmentMembershipsRequest, ): Effect.Effect< DescribeEnvironmentMembershipsResult, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeEnvironments( input: DescribeEnvironmentsRequest, ): Effect.Effect< DescribeEnvironmentsResult, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeEnvironmentStatus( input: DescribeEnvironmentStatusRequest, ): Effect.Effect< DescribeEnvironmentStatusResult, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; listEnvironments( input: ListEnvironmentsRequest, ): Effect.Effect< ListEnvironmentsResult, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | InternalServerErrorException | NotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ConcurrentAccessException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ConcurrentAccessException | InternalServerErrorException | NotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ConcurrentAccessException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ConcurrentAccessException | InternalServerErrorException | NotFoundException | CommonAwsError >; updateEnvironment( input: UpdateEnvironmentRequest, ): Effect.Effect< UpdateEnvironmentResult, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateEnvironmentMembership( input: UpdateEnvironmentMembershipRequest, ): Effect.Effect< UpdateEnvironmentMembershipResult, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -219,11 +138,13 @@ export interface DeleteEnvironmentMembershipRequest { environmentId: string; userArn: string; } -export interface DeleteEnvironmentMembershipResult {} +export interface DeleteEnvironmentMembershipResult { +} export interface DeleteEnvironmentRequest { environmentId: string; } -export interface DeleteEnvironmentResult {} +export interface DeleteEnvironmentResult { +} export interface DescribeEnvironmentMembershipsRequest { userArn?: string; environmentId?: string; @@ -271,12 +192,7 @@ export interface EnvironmentLifecycle { reason?: string; failureResource?: string; } -export type EnvironmentLifecycleStatus = - | "CREATING" - | "CREATED" - | "CREATE_FAILED" - | "DELETING" - | "DELETE_FAILED"; +export type EnvironmentLifecycleStatus = "CREATING" | "CREATED" | "CREATE_FAILED" | "DELETING" | "DELETE_FAILED"; export type EnvironmentList = Array; export interface EnvironmentMember { permissions: Permissions; @@ -288,14 +204,7 @@ export interface EnvironmentMember { export type EnvironmentMembersList = Array; export type EnvironmentName = string; -export type EnvironmentStatus = - | "error" - | "creating" - | "connecting" - | "ready" - | "stopping" - | "stopped" - | "deleting"; +export type EnvironmentStatus = "error" | "creating" | "connecting" | "ready" | "stopping" | "stopped" | "deleting"; export type EnvironmentType = "ssh" | "ec2"; export declare class ForbiddenException extends EffectData.TaggedError( "ForbiddenException", @@ -339,18 +248,7 @@ export interface ListTagsForResourceResponse { Tags?: Array; } export type ManagedCredentialsAction = "ENABLE" | "DISABLE"; -export type ManagedCredentialsStatus = - | "ENABLED_ON_CREATE" - | "ENABLED_BY_OWNER" - | "DISABLED_BY_DEFAULT" - | "DISABLED_BY_OWNER" - | "DISABLED_BY_COLLABORATOR" - | "PENDING_REMOVAL_BY_COLLABORATOR" - | "PENDING_START_REMOVAL_BY_COLLABORATOR" - | "PENDING_REMOVAL_BY_OWNER" - | "PENDING_START_REMOVAL_BY_OWNER" - | "FAILED_REMOVAL_BY_COLLABORATOR" - | "FAILED_REMOVAL_BY_OWNER"; +export type ManagedCredentialsStatus = "ENABLED_ON_CREATE" | "ENABLED_BY_OWNER" | "DISABLED_BY_DEFAULT" | "DISABLED_BY_OWNER" | "DISABLED_BY_COLLABORATOR" | "PENDING_REMOVAL_BY_COLLABORATOR" | "PENDING_START_REMOVAL_BY_COLLABORATOR" | "PENDING_REMOVAL_BY_OWNER" | "PENDING_START_REMOVAL_BY_OWNER" | "FAILED_REMOVAL_BY_COLLABORATOR" | "FAILED_REMOVAL_BY_OWNER"; export type MaxResults = number; export type MemberPermissions = "read-write" | "read-only"; @@ -381,7 +279,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Timestamp = Date | string; @@ -397,7 +296,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateEnvironmentMembershipRequest { environmentId: string; userArn: string; @@ -412,7 +312,8 @@ export interface UpdateEnvironmentRequest { description?: string; managedCredentialsAction?: ManagedCredentialsAction; } -export interface UpdateEnvironmentResult {} +export interface UpdateEnvironmentResult { +} export type UserArn = string; export declare namespace CreateEnvironmentEC2 { @@ -587,13 +488,5 @@ export declare namespace UpdateEnvironmentMembership { | CommonAwsError; } -export type Cloud9Errors = - | BadRequestException - | ConcurrentAccessException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError; +export type Cloud9Errors = BadRequestException | ConcurrentAccessException | ConflictException | ForbiddenException | InternalServerErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/cloudcontrol/index.ts b/src/services/cloudcontrol/index.ts index bca495bf..1c777cb1 100644 --- a/src/services/cloudcontrol/index.ts +++ b/src/services/cloudcontrol/index.ts @@ -5,25 +5,7 @@ import type { CloudControl as _CloudControlClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cloudcontrol/types.ts b/src/services/cloudcontrol/types.ts index 544cf495..6191cc81 100644 --- a/src/services/cloudcontrol/types.ts +++ b/src/services/cloudcontrol/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class CloudControl extends AWSServiceClient { @@ -42,82 +8,25 @@ export declare class CloudControl extends AWSServiceClient { input: CancelResourceRequestInput, ): Effect.Effect< CancelResourceRequestOutput, - | ConcurrentModificationException - | RequestTokenNotFoundException - | CommonAwsError + ConcurrentModificationException | RequestTokenNotFoundException | CommonAwsError >; createResource( input: CreateResourceInput, ): Effect.Effect< CreateResourceOutput, - | AlreadyExistsException - | ClientTokenConflictException - | ConcurrentOperationException - | GeneralServiceException - | HandlerFailureException - | HandlerInternalFailureException - | InvalidCredentialsException - | InvalidRequestException - | NetworkFailureException - | NotStabilizedException - | NotUpdatableException - | PrivateTypeException - | ResourceConflictException - | ResourceNotFoundException - | ServiceInternalErrorException - | ServiceLimitExceededException - | ThrottlingException - | TypeNotFoundException - | UnsupportedActionException - | CommonAwsError + AlreadyExistsException | ClientTokenConflictException | ConcurrentOperationException | GeneralServiceException | HandlerFailureException | HandlerInternalFailureException | InvalidCredentialsException | InvalidRequestException | NetworkFailureException | NotStabilizedException | NotUpdatableException | PrivateTypeException | ResourceConflictException | ResourceNotFoundException | ServiceInternalErrorException | ServiceLimitExceededException | ThrottlingException | TypeNotFoundException | UnsupportedActionException | CommonAwsError >; deleteResource( input: DeleteResourceInput, ): Effect.Effect< DeleteResourceOutput, - | AlreadyExistsException - | ClientTokenConflictException - | ConcurrentOperationException - | GeneralServiceException - | HandlerFailureException - | HandlerInternalFailureException - | InvalidCredentialsException - | InvalidRequestException - | NetworkFailureException - | NotStabilizedException - | NotUpdatableException - | PrivateTypeException - | ResourceConflictException - | ResourceNotFoundException - | ServiceInternalErrorException - | ServiceLimitExceededException - | ThrottlingException - | TypeNotFoundException - | UnsupportedActionException - | CommonAwsError + AlreadyExistsException | ClientTokenConflictException | ConcurrentOperationException | GeneralServiceException | HandlerFailureException | HandlerInternalFailureException | InvalidCredentialsException | InvalidRequestException | NetworkFailureException | NotStabilizedException | NotUpdatableException | PrivateTypeException | ResourceConflictException | ResourceNotFoundException | ServiceInternalErrorException | ServiceLimitExceededException | ThrottlingException | TypeNotFoundException | UnsupportedActionException | CommonAwsError >; getResource( input: GetResourceInput, ): Effect.Effect< GetResourceOutput, - | AlreadyExistsException - | GeneralServiceException - | HandlerFailureException - | HandlerInternalFailureException - | InvalidCredentialsException - | InvalidRequestException - | NetworkFailureException - | NotStabilizedException - | NotUpdatableException - | PrivateTypeException - | ResourceConflictException - | ResourceNotFoundException - | ServiceInternalErrorException - | ServiceLimitExceededException - | ThrottlingException - | TypeNotFoundException - | UnsupportedActionException - | CommonAwsError + AlreadyExistsException | GeneralServiceException | HandlerFailureException | HandlerInternalFailureException | InvalidCredentialsException | InvalidRequestException | NetworkFailureException | NotStabilizedException | NotUpdatableException | PrivateTypeException | ResourceConflictException | ResourceNotFoundException | ServiceInternalErrorException | ServiceLimitExceededException | ThrottlingException | TypeNotFoundException | UnsupportedActionException | CommonAwsError >; getResourceRequestStatus( input: GetResourceRequestStatusInput, @@ -127,54 +36,21 @@ export declare class CloudControl extends AWSServiceClient { >; listResourceRequests( input: ListResourceRequestsInput, - ): Effect.Effect; + ): Effect.Effect< + ListResourceRequestsOutput, + CommonAwsError + >; listResources( input: ListResourcesInput, ): Effect.Effect< ListResourcesOutput, - | AlreadyExistsException - | GeneralServiceException - | HandlerFailureException - | HandlerInternalFailureException - | InvalidCredentialsException - | InvalidRequestException - | NetworkFailureException - | NotStabilizedException - | NotUpdatableException - | PrivateTypeException - | ResourceConflictException - | ResourceNotFoundException - | ServiceInternalErrorException - | ServiceLimitExceededException - | ThrottlingException - | TypeNotFoundException - | UnsupportedActionException - | CommonAwsError + AlreadyExistsException | GeneralServiceException | HandlerFailureException | HandlerInternalFailureException | InvalidCredentialsException | InvalidRequestException | NetworkFailureException | NotStabilizedException | NotUpdatableException | PrivateTypeException | ResourceConflictException | ResourceNotFoundException | ServiceInternalErrorException | ServiceLimitExceededException | ThrottlingException | TypeNotFoundException | UnsupportedActionException | CommonAwsError >; updateResource( input: UpdateResourceInput, ): Effect.Effect< UpdateResourceOutput, - | AlreadyExistsException - | ClientTokenConflictException - | ConcurrentOperationException - | GeneralServiceException - | HandlerFailureException - | HandlerInternalFailureException - | InvalidCredentialsException - | InvalidRequestException - | NetworkFailureException - | NotStabilizedException - | NotUpdatableException - | PrivateTypeException - | ResourceConflictException - | ResourceNotFoundException - | ServiceInternalErrorException - | ServiceLimitExceededException - | ThrottlingException - | TypeNotFoundException - | UnsupportedActionException - | CommonAwsError + AlreadyExistsException | ClientTokenConflictException | ConcurrentOperationException | GeneralServiceException | HandlerFailureException | HandlerInternalFailureException | InvalidCredentialsException | InvalidRequestException | NetworkFailureException | NotStabilizedException | NotUpdatableException | PrivateTypeException | ResourceConflictException | ResourceNotFoundException | ServiceInternalErrorException | ServiceLimitExceededException | ThrottlingException | TypeNotFoundException | UnsupportedActionException | CommonAwsError >; } @@ -527,13 +403,16 @@ export declare namespace GetResource { export declare namespace GetResourceRequestStatus { export type Input = GetResourceRequestStatusInput; export type Output = GetResourceRequestStatusOutput; - export type Error = RequestTokenNotFoundException | CommonAwsError; + export type Error = + | RequestTokenNotFoundException + | CommonAwsError; } export declare namespace ListResourceRequests { export type Input = ListResourceRequestsInput; export type Output = ListResourceRequestsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListResources { @@ -586,26 +465,5 @@ export declare namespace UpdateResource { | CommonAwsError; } -export type CloudControlErrors = - | AlreadyExistsException - | ClientTokenConflictException - | ConcurrentModificationException - | ConcurrentOperationException - | GeneralServiceException - | HandlerFailureException - | HandlerInternalFailureException - | InvalidCredentialsException - | InvalidRequestException - | NetworkFailureException - | NotStabilizedException - | NotUpdatableException - | PrivateTypeException - | RequestTokenNotFoundException - | ResourceConflictException - | ResourceNotFoundException - | ServiceInternalErrorException - | ServiceLimitExceededException - | ThrottlingException - | TypeNotFoundException - | UnsupportedActionException - | CommonAwsError; +export type CloudControlErrors = AlreadyExistsException | ClientTokenConflictException | ConcurrentModificationException | ConcurrentOperationException | GeneralServiceException | HandlerFailureException | HandlerInternalFailureException | InvalidCredentialsException | InvalidRequestException | NetworkFailureException | NotStabilizedException | NotUpdatableException | PrivateTypeException | RequestTokenNotFoundException | ResourceConflictException | ResourceNotFoundException | ServiceInternalErrorException | ServiceLimitExceededException | ThrottlingException | TypeNotFoundException | UnsupportedActionException | CommonAwsError; + diff --git a/src/services/clouddirectory/index.ts b/src/services/clouddirectory/index.ts index 4191a92f..f09d2ac9 100644 --- a/src/services/clouddirectory/index.ts +++ b/src/services/clouddirectory/index.ts @@ -5,24 +5,7 @@ import type { CloudDirectory as _CloudDirectoryClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,97 +15,72 @@ const metadata = { sigV4ServiceName: "clouddirectory", endpointPrefix: "clouddirectory", operations: { - AddFacetToObject: "PUT /amazonclouddirectory/2017-01-11/object/facets", - ApplySchema: "PUT /amazonclouddirectory/2017-01-11/schema/apply", - AttachObject: "PUT /amazonclouddirectory/2017-01-11/object/attach", - AttachPolicy: "PUT /amazonclouddirectory/2017-01-11/policy/attach", - AttachToIndex: "PUT /amazonclouddirectory/2017-01-11/index/attach", - AttachTypedLink: "PUT /amazonclouddirectory/2017-01-11/typedlink/attach", - BatchRead: "POST /amazonclouddirectory/2017-01-11/batchread", - BatchWrite: "PUT /amazonclouddirectory/2017-01-11/batchwrite", - CreateDirectory: "PUT /amazonclouddirectory/2017-01-11/directory/create", - CreateFacet: "PUT /amazonclouddirectory/2017-01-11/facet/create", - CreateIndex: "PUT /amazonclouddirectory/2017-01-11/index", - CreateObject: "PUT /amazonclouddirectory/2017-01-11/object", - CreateSchema: "PUT /amazonclouddirectory/2017-01-11/schema/create", - CreateTypedLinkFacet: - "PUT /amazonclouddirectory/2017-01-11/typedlink/facet/create", - DeleteDirectory: "PUT /amazonclouddirectory/2017-01-11/directory", - DeleteFacet: "PUT /amazonclouddirectory/2017-01-11/facet/delete", - DeleteObject: "PUT /amazonclouddirectory/2017-01-11/object/delete", - DeleteSchema: "PUT /amazonclouddirectory/2017-01-11/schema", - DeleteTypedLinkFacet: - "PUT /amazonclouddirectory/2017-01-11/typedlink/facet/delete", - DetachFromIndex: "PUT /amazonclouddirectory/2017-01-11/index/detach", - DetachObject: "PUT /amazonclouddirectory/2017-01-11/object/detach", - DetachPolicy: "PUT /amazonclouddirectory/2017-01-11/policy/detach", - DetachTypedLink: "PUT /amazonclouddirectory/2017-01-11/typedlink/detach", - DisableDirectory: "PUT /amazonclouddirectory/2017-01-11/directory/disable", - EnableDirectory: "PUT /amazonclouddirectory/2017-01-11/directory/enable", - GetAppliedSchemaVersion: - "POST /amazonclouddirectory/2017-01-11/schema/getappliedschema", - GetDirectory: "POST /amazonclouddirectory/2017-01-11/directory/get", - GetFacet: "POST /amazonclouddirectory/2017-01-11/facet", - GetLinkAttributes: - "POST /amazonclouddirectory/2017-01-11/typedlink/attributes/get", - GetObjectAttributes: - "POST /amazonclouddirectory/2017-01-11/object/attributes/get", - GetObjectInformation: - "POST /amazonclouddirectory/2017-01-11/object/information", - GetSchemaAsJson: "POST /amazonclouddirectory/2017-01-11/schema/json", - GetTypedLinkFacetInformation: - "POST /amazonclouddirectory/2017-01-11/typedlink/facet/get", - ListAppliedSchemaArns: - "POST /amazonclouddirectory/2017-01-11/schema/applied", - ListAttachedIndices: "POST /amazonclouddirectory/2017-01-11/object/indices", - ListDevelopmentSchemaArns: - "POST /amazonclouddirectory/2017-01-11/schema/development", - ListDirectories: "POST /amazonclouddirectory/2017-01-11/directory/list", - ListFacetAttributes: - "POST /amazonclouddirectory/2017-01-11/facet/attributes", - ListFacetNames: "POST /amazonclouddirectory/2017-01-11/facet/list", - ListIncomingTypedLinks: - "POST /amazonclouddirectory/2017-01-11/typedlink/incoming", - ListIndex: "POST /amazonclouddirectory/2017-01-11/index/targets", - ListManagedSchemaArns: - "POST /amazonclouddirectory/2017-01-11/schema/managed", - ListObjectAttributes: - "POST /amazonclouddirectory/2017-01-11/object/attributes", - ListObjectChildren: "POST /amazonclouddirectory/2017-01-11/object/children", - ListObjectParentPaths: - "POST /amazonclouddirectory/2017-01-11/object/parentpaths", - ListObjectParents: "POST /amazonclouddirectory/2017-01-11/object/parent", - ListObjectPolicies: "POST /amazonclouddirectory/2017-01-11/object/policy", - ListOutgoingTypedLinks: - "POST /amazonclouddirectory/2017-01-11/typedlink/outgoing", - ListPolicyAttachments: - "POST /amazonclouddirectory/2017-01-11/policy/attachment", - ListPublishedSchemaArns: - "POST /amazonclouddirectory/2017-01-11/schema/published", - ListTagsForResource: "POST /amazonclouddirectory/2017-01-11/tags", - ListTypedLinkFacetAttributes: - "POST /amazonclouddirectory/2017-01-11/typedlink/facet/attributes", - ListTypedLinkFacetNames: - "POST /amazonclouddirectory/2017-01-11/typedlink/facet/list", - LookupPolicy: "POST /amazonclouddirectory/2017-01-11/policy/lookup", - PublishSchema: "PUT /amazonclouddirectory/2017-01-11/schema/publish", - PutSchemaFromJson: "PUT /amazonclouddirectory/2017-01-11/schema/json", - RemoveFacetFromObject: - "PUT /amazonclouddirectory/2017-01-11/object/facets/delete", - TagResource: "PUT /amazonclouddirectory/2017-01-11/tags/add", - UntagResource: "PUT /amazonclouddirectory/2017-01-11/tags/remove", - UpdateFacet: "PUT /amazonclouddirectory/2017-01-11/facet", - UpdateLinkAttributes: - "POST /amazonclouddirectory/2017-01-11/typedlink/attributes/update", - UpdateObjectAttributes: - "PUT /amazonclouddirectory/2017-01-11/object/update", - UpdateSchema: "PUT /amazonclouddirectory/2017-01-11/schema/update", - UpdateTypedLinkFacet: - "PUT /amazonclouddirectory/2017-01-11/typedlink/facet", - UpgradeAppliedSchema: - "PUT /amazonclouddirectory/2017-01-11/schema/upgradeapplied", - UpgradePublishedSchema: - "PUT /amazonclouddirectory/2017-01-11/schema/upgradepublished", + "AddFacetToObject": "PUT /amazonclouddirectory/2017-01-11/object/facets", + "ApplySchema": "PUT /amazonclouddirectory/2017-01-11/schema/apply", + "AttachObject": "PUT /amazonclouddirectory/2017-01-11/object/attach", + "AttachPolicy": "PUT /amazonclouddirectory/2017-01-11/policy/attach", + "AttachToIndex": "PUT /amazonclouddirectory/2017-01-11/index/attach", + "AttachTypedLink": "PUT /amazonclouddirectory/2017-01-11/typedlink/attach", + "BatchRead": "POST /amazonclouddirectory/2017-01-11/batchread", + "BatchWrite": "PUT /amazonclouddirectory/2017-01-11/batchwrite", + "CreateDirectory": "PUT /amazonclouddirectory/2017-01-11/directory/create", + "CreateFacet": "PUT /amazonclouddirectory/2017-01-11/facet/create", + "CreateIndex": "PUT /amazonclouddirectory/2017-01-11/index", + "CreateObject": "PUT /amazonclouddirectory/2017-01-11/object", + "CreateSchema": "PUT /amazonclouddirectory/2017-01-11/schema/create", + "CreateTypedLinkFacet": "PUT /amazonclouddirectory/2017-01-11/typedlink/facet/create", + "DeleteDirectory": "PUT /amazonclouddirectory/2017-01-11/directory", + "DeleteFacet": "PUT /amazonclouddirectory/2017-01-11/facet/delete", + "DeleteObject": "PUT /amazonclouddirectory/2017-01-11/object/delete", + "DeleteSchema": "PUT /amazonclouddirectory/2017-01-11/schema", + "DeleteTypedLinkFacet": "PUT /amazonclouddirectory/2017-01-11/typedlink/facet/delete", + "DetachFromIndex": "PUT /amazonclouddirectory/2017-01-11/index/detach", + "DetachObject": "PUT /amazonclouddirectory/2017-01-11/object/detach", + "DetachPolicy": "PUT /amazonclouddirectory/2017-01-11/policy/detach", + "DetachTypedLink": "PUT /amazonclouddirectory/2017-01-11/typedlink/detach", + "DisableDirectory": "PUT /amazonclouddirectory/2017-01-11/directory/disable", + "EnableDirectory": "PUT /amazonclouddirectory/2017-01-11/directory/enable", + "GetAppliedSchemaVersion": "POST /amazonclouddirectory/2017-01-11/schema/getappliedschema", + "GetDirectory": "POST /amazonclouddirectory/2017-01-11/directory/get", + "GetFacet": "POST /amazonclouddirectory/2017-01-11/facet", + "GetLinkAttributes": "POST /amazonclouddirectory/2017-01-11/typedlink/attributes/get", + "GetObjectAttributes": "POST /amazonclouddirectory/2017-01-11/object/attributes/get", + "GetObjectInformation": "POST /amazonclouddirectory/2017-01-11/object/information", + "GetSchemaAsJson": "POST /amazonclouddirectory/2017-01-11/schema/json", + "GetTypedLinkFacetInformation": "POST /amazonclouddirectory/2017-01-11/typedlink/facet/get", + "ListAppliedSchemaArns": "POST /amazonclouddirectory/2017-01-11/schema/applied", + "ListAttachedIndices": "POST /amazonclouddirectory/2017-01-11/object/indices", + "ListDevelopmentSchemaArns": "POST /amazonclouddirectory/2017-01-11/schema/development", + "ListDirectories": "POST /amazonclouddirectory/2017-01-11/directory/list", + "ListFacetAttributes": "POST /amazonclouddirectory/2017-01-11/facet/attributes", + "ListFacetNames": "POST /amazonclouddirectory/2017-01-11/facet/list", + "ListIncomingTypedLinks": "POST /amazonclouddirectory/2017-01-11/typedlink/incoming", + "ListIndex": "POST /amazonclouddirectory/2017-01-11/index/targets", + "ListManagedSchemaArns": "POST /amazonclouddirectory/2017-01-11/schema/managed", + "ListObjectAttributes": "POST /amazonclouddirectory/2017-01-11/object/attributes", + "ListObjectChildren": "POST /amazonclouddirectory/2017-01-11/object/children", + "ListObjectParentPaths": "POST /amazonclouddirectory/2017-01-11/object/parentpaths", + "ListObjectParents": "POST /amazonclouddirectory/2017-01-11/object/parent", + "ListObjectPolicies": "POST /amazonclouddirectory/2017-01-11/object/policy", + "ListOutgoingTypedLinks": "POST /amazonclouddirectory/2017-01-11/typedlink/outgoing", + "ListPolicyAttachments": "POST /amazonclouddirectory/2017-01-11/policy/attachment", + "ListPublishedSchemaArns": "POST /amazonclouddirectory/2017-01-11/schema/published", + "ListTagsForResource": "POST /amazonclouddirectory/2017-01-11/tags", + "ListTypedLinkFacetAttributes": "POST /amazonclouddirectory/2017-01-11/typedlink/facet/attributes", + "ListTypedLinkFacetNames": "POST /amazonclouddirectory/2017-01-11/typedlink/facet/list", + "LookupPolicy": "POST /amazonclouddirectory/2017-01-11/policy/lookup", + "PublishSchema": "PUT /amazonclouddirectory/2017-01-11/schema/publish", + "PutSchemaFromJson": "PUT /amazonclouddirectory/2017-01-11/schema/json", + "RemoveFacetFromObject": "PUT /amazonclouddirectory/2017-01-11/object/facets/delete", + "TagResource": "PUT /amazonclouddirectory/2017-01-11/tags/add", + "UntagResource": "PUT /amazonclouddirectory/2017-01-11/tags/remove", + "UpdateFacet": "PUT /amazonclouddirectory/2017-01-11/facet", + "UpdateLinkAttributes": "POST /amazonclouddirectory/2017-01-11/typedlink/attributes/update", + "UpdateObjectAttributes": "PUT /amazonclouddirectory/2017-01-11/object/update", + "UpdateSchema": "PUT /amazonclouddirectory/2017-01-11/schema/update", + "UpdateTypedLinkFacet": "PUT /amazonclouddirectory/2017-01-11/typedlink/facet", + "UpgradeAppliedSchema": "PUT /amazonclouddirectory/2017-01-11/schema/upgradeapplied", + "UpgradePublishedSchema": "PUT /amazonclouddirectory/2017-01-11/schema/upgradepublished", }, } as const satisfies ServiceMetadata; diff --git a/src/services/clouddirectory/types.ts b/src/services/clouddirectory/types.ts index d159a9a9..ad6e978f 100644 --- a/src/services/clouddirectory/types.ts +++ b/src/services/clouddirectory/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CloudDirectory extends AWSServiceClient { @@ -41,980 +8,397 @@ export declare class CloudDirectory extends AWSServiceClient { input: AddFacetToObjectRequest, ): Effect.Effect< AddFacetToObjectResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; applySchema( input: ApplySchemaRequest, ): Effect.Effect< ApplySchemaResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidAttachmentException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | SchemaAlreadyExistsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidAttachmentException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | SchemaAlreadyExistsException | ValidationException | CommonAwsError >; attachObject( input: AttachObjectRequest, ): Effect.Effect< AttachObjectResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidAttachmentException - | LimitExceededException - | LinkNameAlreadyInUseException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidAttachmentException | LimitExceededException | LinkNameAlreadyInUseException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; attachPolicy( input: AttachPolicyRequest, ): Effect.Effect< AttachPolicyResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | NotPolicyException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | LimitExceededException | NotPolicyException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; attachToIndex( input: AttachToIndexRequest, ): Effect.Effect< AttachToIndexResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | IndexedAttributeMissingException - | InternalServiceException - | InvalidArnException - | InvalidAttachmentException - | LimitExceededException - | LinkNameAlreadyInUseException - | NotIndexException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | IndexedAttributeMissingException | InternalServiceException | InvalidArnException | InvalidAttachmentException | LimitExceededException | LinkNameAlreadyInUseException | NotIndexException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; attachTypedLink( input: AttachTypedLinkRequest, ): Effect.Effect< AttachTypedLinkResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidAttachmentException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidAttachmentException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; batchRead( input: BatchReadRequest, ): Effect.Effect< BatchReadResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | LimitExceededException | RetryableConflictException | ValidationException | CommonAwsError >; batchWrite( input: BatchWriteRequest, ): Effect.Effect< BatchWriteResponse, - | AccessDeniedException - | BatchWriteException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | BatchWriteException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | LimitExceededException | RetryableConflictException | ValidationException | CommonAwsError >; createDirectory( input: CreateDirectoryRequest, ): Effect.Effect< CreateDirectoryResponse, - | AccessDeniedException - | DirectoryAlreadyExistsException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryAlreadyExistsException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; createFacet( input: CreateFacetRequest, ): Effect.Effect< CreateFacetResponse, - | AccessDeniedException - | FacetAlreadyExistsException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidRuleException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetAlreadyExistsException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidRuleException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; createIndex( input: CreateIndexRequest, ): Effect.Effect< CreateIndexResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | LinkNameAlreadyInUseException - | ResourceNotFoundException - | RetryableConflictException - | UnsupportedIndexTypeException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | LimitExceededException | LinkNameAlreadyInUseException | ResourceNotFoundException | RetryableConflictException | UnsupportedIndexTypeException | ValidationException | CommonAwsError >; createObject( input: CreateObjectRequest, ): Effect.Effect< CreateObjectResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | LinkNameAlreadyInUseException - | ResourceNotFoundException - | RetryableConflictException - | UnsupportedIndexTypeException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | LimitExceededException | LinkNameAlreadyInUseException | ResourceNotFoundException | RetryableConflictException | UnsupportedIndexTypeException | ValidationException | CommonAwsError >; createSchema( input: CreateSchemaRequest, ): Effect.Effect< CreateSchemaResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | RetryableConflictException - | SchemaAlreadyExistsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | LimitExceededException | RetryableConflictException | SchemaAlreadyExistsException | ValidationException | CommonAwsError >; createTypedLinkFacet( input: CreateTypedLinkFacetRequest, ): Effect.Effect< CreateTypedLinkFacetResponse, - | AccessDeniedException - | FacetAlreadyExistsException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidRuleException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetAlreadyExistsException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidRuleException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; deleteDirectory( input: DeleteDirectoryRequest, ): Effect.Effect< DeleteDirectoryResponse, - | AccessDeniedException - | DirectoryDeletedException - | DirectoryNotDisabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryDeletedException | DirectoryNotDisabledException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; deleteFacet( input: DeleteFacetRequest, ): Effect.Effect< DeleteFacetResponse, - | AccessDeniedException - | FacetInUseException - | FacetNotFoundException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetInUseException | FacetNotFoundException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; deleteObject( input: DeleteObjectRequest, ): Effect.Effect< DeleteObjectResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ObjectNotDetachedException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | LimitExceededException | ObjectNotDetachedException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; deleteSchema( input: DeleteSchemaRequest, ): Effect.Effect< DeleteSchemaResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | StillContainsLinksException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | StillContainsLinksException | ValidationException | CommonAwsError >; deleteTypedLinkFacet( input: DeleteTypedLinkFacetRequest, ): Effect.Effect< DeleteTypedLinkFacetResponse, - | AccessDeniedException - | FacetNotFoundException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetNotFoundException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; detachFromIndex( input: DetachFromIndexRequest, ): Effect.Effect< DetachFromIndexResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | NotIndexException - | ObjectAlreadyDetachedException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | LimitExceededException | NotIndexException | ObjectAlreadyDetachedException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; detachObject( input: DetachObjectRequest, ): Effect.Effect< DetachObjectResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | NotNodeException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | LimitExceededException | NotNodeException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; detachPolicy( input: DetachPolicyRequest, ): Effect.Effect< DetachPolicyResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | NotPolicyException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | LimitExceededException | NotPolicyException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; detachTypedLink( input: DetachTypedLinkRequest, ): Effect.Effect< {}, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; disableDirectory( input: DisableDirectoryRequest, ): Effect.Effect< DisableDirectoryResponse, - | AccessDeniedException - | DirectoryDeletedException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryDeletedException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; enableDirectory( input: EnableDirectoryRequest, ): Effect.Effect< EnableDirectoryResponse, - | AccessDeniedException - | DirectoryDeletedException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryDeletedException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; getAppliedSchemaVersion( input: GetAppliedSchemaVersionRequest, ): Effect.Effect< GetAppliedSchemaVersionResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; getDirectory( input: GetDirectoryRequest, ): Effect.Effect< GetDirectoryResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | LimitExceededException | RetryableConflictException | ValidationException | CommonAwsError >; getFacet( input: GetFacetRequest, ): Effect.Effect< GetFacetResponse, - | AccessDeniedException - | FacetNotFoundException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetNotFoundException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; getLinkAttributes( input: GetLinkAttributesRequest, ): Effect.Effect< GetLinkAttributesResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; getObjectAttributes( input: GetObjectAttributesRequest, ): Effect.Effect< GetObjectAttributesResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; getObjectInformation( input: GetObjectInformationRequest, ): Effect.Effect< GetObjectInformationResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; getSchemaAsJson( input: GetSchemaAsJsonRequest, ): Effect.Effect< GetSchemaAsJsonResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; getTypedLinkFacetInformation( input: GetTypedLinkFacetInformationRequest, ): Effect.Effect< GetTypedLinkFacetInformationResponse, - | AccessDeniedException - | FacetNotFoundException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetNotFoundException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listAppliedSchemaArns( input: ListAppliedSchemaArnsRequest, ): Effect.Effect< ListAppliedSchemaArnsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listAttachedIndices( input: ListAttachedIndicesRequest, ): Effect.Effect< ListAttachedIndicesResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listDevelopmentSchemaArns( input: ListDevelopmentSchemaArnsRequest, ): Effect.Effect< ListDevelopmentSchemaArnsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listDirectories( input: ListDirectoriesRequest, ): Effect.Effect< ListDirectoriesResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | RetryableConflictException | ValidationException | CommonAwsError >; listFacetAttributes( input: ListFacetAttributesRequest, ): Effect.Effect< ListFacetAttributesResponse, - | AccessDeniedException - | FacetNotFoundException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetNotFoundException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listFacetNames( input: ListFacetNamesRequest, ): Effect.Effect< ListFacetNamesResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listIncomingTypedLinks( input: ListIncomingTypedLinksRequest, ): Effect.Effect< ListIncomingTypedLinksResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listIndex( input: ListIndexRequest, ): Effect.Effect< ListIndexResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | NotIndexException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | NotIndexException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listManagedSchemaArns( input: ListManagedSchemaArnsRequest, ): Effect.Effect< ListManagedSchemaArnsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidNextTokenException | ResourceNotFoundException | ValidationException | CommonAwsError >; listObjectAttributes( input: ListObjectAttributesRequest, ): Effect.Effect< ListObjectAttributesResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listObjectChildren( input: ListObjectChildrenRequest, ): Effect.Effect< ListObjectChildrenResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | NotNodeException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | NotNodeException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listObjectParentPaths( input: ListObjectParentPathsRequest, ): Effect.Effect< ListObjectParentPathsResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listObjectParents( input: ListObjectParentsRequest, ): Effect.Effect< ListObjectParentsResponse, - | AccessDeniedException - | CannotListParentOfRootException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | CannotListParentOfRootException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listObjectPolicies( input: ListObjectPoliciesRequest, ): Effect.Effect< ListObjectPoliciesResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listOutgoingTypedLinks( input: ListOutgoingTypedLinksRequest, ): Effect.Effect< ListOutgoingTypedLinksResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listPolicyAttachments( input: ListPolicyAttachmentsRequest, ): Effect.Effect< ListPolicyAttachmentsResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | NotPolicyException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | NotPolicyException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listPublishedSchemaArns( input: ListPublishedSchemaArnsRequest, ): Effect.Effect< ListPublishedSchemaArnsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidTaggingRequestException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidTaggingRequestException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listTypedLinkFacetAttributes( input: ListTypedLinkFacetAttributesRequest, ): Effect.Effect< ListTypedLinkFacetAttributesResponse, - | AccessDeniedException - | FacetNotFoundException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetNotFoundException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; listTypedLinkFacetNames( input: ListTypedLinkFacetNamesRequest, ): Effect.Effect< ListTypedLinkFacetNamesResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; lookupPolicy( input: LookupPolicyRequest, ): Effect.Effect< LookupPolicyResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | InternalServiceException - | InvalidArnException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | InternalServiceException | InvalidArnException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; publishSchema( input: PublishSchemaRequest, ): Effect.Effect< PublishSchemaResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | SchemaAlreadyPublishedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | SchemaAlreadyPublishedException | ValidationException | CommonAwsError >; putSchemaFromJson( input: PutSchemaFromJsonRequest, ): Effect.Effect< PutSchemaFromJsonResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidRuleException - | InvalidSchemaDocException - | LimitExceededException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidRuleException | InvalidSchemaDocException | LimitExceededException | RetryableConflictException | ValidationException | CommonAwsError >; removeFacetFromObject( input: RemoveFacetFromObjectRequest, ): Effect.Effect< RemoveFacetFromObjectResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidTaggingRequestException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidTaggingRequestException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | InvalidTaggingRequestException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | InvalidTaggingRequestException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; updateFacet( input: UpdateFacetRequest, ): Effect.Effect< UpdateFacetResponse, - | AccessDeniedException - | FacetNotFoundException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidFacetUpdateException - | InvalidRuleException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetNotFoundException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidFacetUpdateException | InvalidRuleException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; updateLinkAttributes( input: UpdateLinkAttributesRequest, ): Effect.Effect< UpdateLinkAttributesResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; updateObjectAttributes( input: UpdateObjectAttributesRequest, ): Effect.Effect< UpdateObjectAttributesResponse, - | AccessDeniedException - | DirectoryNotEnabledException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | LinkNameAlreadyInUseException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryNotEnabledException | FacetValidationException | InternalServiceException | InvalidArnException | LimitExceededException | LinkNameAlreadyInUseException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; updateSchema( input: UpdateSchemaRequest, ): Effect.Effect< UpdateSchemaResponse, - | AccessDeniedException - | InternalServiceException - | InvalidArnException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidArnException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; updateTypedLinkFacet( input: UpdateTypedLinkFacetRequest, ): Effect.Effect< UpdateTypedLinkFacetResponse, - | AccessDeniedException - | FacetNotFoundException - | FacetValidationException - | InternalServiceException - | InvalidArnException - | InvalidFacetUpdateException - | InvalidRuleException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | FacetNotFoundException | FacetValidationException | InternalServiceException | InvalidArnException | InvalidFacetUpdateException | InvalidRuleException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; upgradeAppliedSchema( input: UpgradeAppliedSchemaRequest, ): Effect.Effect< UpgradeAppliedSchemaResponse, - | AccessDeniedException - | IncompatibleSchemaException - | InternalServiceException - | InvalidArnException - | InvalidAttachmentException - | ResourceNotFoundException - | RetryableConflictException - | SchemaAlreadyExistsException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleSchemaException | InternalServiceException | InvalidArnException | InvalidAttachmentException | ResourceNotFoundException | RetryableConflictException | SchemaAlreadyExistsException | ValidationException | CommonAwsError >; upgradePublishedSchema( input: UpgradePublishedSchemaRequest, ): Effect.Effect< UpgradePublishedSchemaResponse, - | AccessDeniedException - | IncompatibleSchemaException - | InternalServiceException - | InvalidArnException - | InvalidAttachmentException - | LimitExceededException - | ResourceNotFoundException - | RetryableConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleSchemaException | InternalServiceException | InvalidArnException | InvalidAttachmentException | LimitExceededException | ResourceNotFoundException | RetryableConflictException | ValidationException | CommonAwsError >; } @@ -1031,7 +415,8 @@ export interface AddFacetToObjectRequest { ObjectAttributeList?: Array; ObjectReference: ObjectReference; } -export interface AddFacetToObjectResponse {} +export interface AddFacetToObjectResponse { +} export interface ApplySchemaRequest { PublishedSchemaArn: string; DirectoryArn: string; @@ -1057,7 +442,8 @@ export interface AttachPolicyRequest { PolicyReference: ObjectReference; ObjectReference: ObjectReference; } -export interface AttachPolicyResponse {} +export interface AttachPolicyResponse { +} export interface AttachToIndexRequest { DirectoryArn: string; IndexReference: ObjectReference; @@ -1100,7 +486,8 @@ export interface BatchAddFacetToObject { ObjectAttributeList: Array; ObjectReference: ObjectReference; } -export interface BatchAddFacetToObjectResponse {} +export interface BatchAddFacetToObjectResponse { +} export interface BatchAttachObject { ParentReference: ObjectReference; ChildReference: ObjectReference; @@ -1113,7 +500,8 @@ export interface BatchAttachPolicy { PolicyReference: ObjectReference; ObjectReference: ObjectReference; } -export interface BatchAttachPolicyResponse {} +export interface BatchAttachPolicyResponse { +} export interface BatchAttachToIndex { IndexReference: ObjectReference; TargetReference: ObjectReference; @@ -1153,7 +541,8 @@ export interface BatchCreateObjectResponse { export interface BatchDeleteObject { ObjectReference: ObjectReference; } -export interface BatchDeleteObjectResponse {} +export interface BatchDeleteObjectResponse { +} export interface BatchDetachFromIndex { IndexReference: ObjectReference; TargetReference: ObjectReference; @@ -1173,11 +562,13 @@ export interface BatchDetachPolicy { PolicyReference: ObjectReference; ObjectReference: ObjectReference; } -export interface BatchDetachPolicyResponse {} +export interface BatchDetachPolicyResponse { +} export interface BatchDetachTypedLink { TypedLinkSpecifier: TypedLinkSpecifier; } -export interface BatchDetachTypedLinkResponse {} +export interface BatchDetachTypedLinkResponse { +} export interface BatchGetLinkAttributes { TypedLinkSpecifier: TypedLinkSpecifier; AttributeNames: Array; @@ -1311,20 +702,7 @@ export interface BatchReadException { Type?: BatchReadExceptionType; Message?: string; } -export type BatchReadExceptionType = - | "ValidationException" - | "InvalidArnException" - | "ResourceNotFoundException" - | "InvalidNextTokenException" - | "AccessDeniedException" - | "NotNodeException" - | "FacetValidationException" - | "CannotListParentOfRootException" - | "NotIndexException" - | "NotPolicyException" - | "DirectoryNotEnabledException" - | "LimitExceededException" - | "InternalServiceException"; +export type BatchReadExceptionType = "ValidationException" | "InvalidArnException" | "ResourceNotFoundException" | "InvalidNextTokenException" | "AccessDeniedException" | "NotNodeException" | "FacetValidationException" | "CannotListParentOfRootException" | "NotIndexException" | "NotPolicyException" | "DirectoryNotEnabledException" | "LimitExceededException" | "InternalServiceException"; export interface BatchReadOperation { ListObjectAttributes?: BatchListObjectAttributes; ListObjectChildren?: BatchListObjectChildren; @@ -1377,12 +755,14 @@ export interface BatchRemoveFacetFromObject { SchemaFacet: SchemaFacet; ObjectReference: ObjectReference; } -export interface BatchRemoveFacetFromObjectResponse {} +export interface BatchRemoveFacetFromObjectResponse { +} export interface BatchUpdateLinkAttributes { TypedLinkSpecifier: TypedLinkSpecifier; AttributeUpdates: Array; } -export interface BatchUpdateLinkAttributesResponse {} +export interface BatchUpdateLinkAttributesResponse { +} export interface BatchUpdateObjectAttributes { ObjectReference: ObjectReference; AttributeUpdates: Array; @@ -1397,25 +777,7 @@ export declare class BatchWriteException extends EffectData.TaggedError( readonly Type?: BatchWriteExceptionType; readonly Message?: string; }> {} -export type BatchWriteExceptionType = - | "InternalServiceException" - | "ValidationException" - | "InvalidArnException" - | "LinkNameAlreadyInUseException" - | "StillContainsLinksException" - | "FacetValidationException" - | "ObjectNotDetachedException" - | "ResourceNotFoundException" - | "AccessDeniedException" - | "InvalidAttachmentException" - | "NotIndexException" - | "NotNodeException" - | "IndexedAttributeMissingException" - | "ObjectAlreadyDetachedException" - | "NotPolicyException" - | "DirectoryNotEnabledException" - | "LimitExceededException" - | "UnsupportedIndexTypeException"; +export type BatchWriteExceptionType = "InternalServiceException" | "ValidationException" | "InvalidArnException" | "LinkNameAlreadyInUseException" | "StillContainsLinksException" | "FacetValidationException" | "ObjectNotDetachedException" | "ResourceNotFoundException" | "AccessDeniedException" | "InvalidAttachmentException" | "NotIndexException" | "NotNodeException" | "IndexedAttributeMissingException" | "ObjectAlreadyDetachedException" | "NotPolicyException" | "DirectoryNotEnabledException" | "LimitExceededException" | "UnsupportedIndexTypeException"; export interface BatchWriteOperation { CreateObject?: BatchCreateObject; AttachObject?: BatchAttachObject; @@ -1451,8 +813,7 @@ export interface BatchWriteOperationResponse { DetachTypedLink?: BatchDetachTypedLinkResponse; UpdateLinkAttributes?: BatchUpdateLinkAttributesResponse; } -export type BatchWriteOperationResponseList = - Array; +export type BatchWriteOperationResponseList = Array; export interface BatchWriteRequest { DirectoryArn: string; Operations: Array; @@ -1489,7 +850,8 @@ export interface CreateFacetRequest { ObjectType?: ObjectType; FacetStyle?: FacetStyle; } -export interface CreateFacetResponse {} +export interface CreateFacetResponse { +} export interface CreateIndexRequest { DirectoryArn: string; OrderedIndexedAttributeList: Array; @@ -1520,7 +882,8 @@ export interface CreateTypedLinkFacetRequest { SchemaArn: string; Facet: TypedLinkFacet; } -export interface CreateTypedLinkFacetResponse {} +export interface CreateTypedLinkFacetResponse { +} export type ClouddirectoryDate = Date | string; export type DatetimeAttributeValue = Date | string; @@ -1535,12 +898,14 @@ export interface DeleteFacetRequest { SchemaArn: string; Name: string; } -export interface DeleteFacetResponse {} +export interface DeleteFacetResponse { +} export interface DeleteObjectRequest { DirectoryArn: string; ObjectReference: ObjectReference; } -export interface DeleteObjectResponse {} +export interface DeleteObjectResponse { +} export interface DeleteSchemaRequest { SchemaArn: string; } @@ -1551,7 +916,8 @@ export interface DeleteTypedLinkFacetRequest { SchemaArn: string; Name: string; } -export interface DeleteTypedLinkFacetResponse {} +export interface DeleteTypedLinkFacetResponse { +} export interface DetachFromIndexRequest { DirectoryArn: string; IndexReference: ObjectReference; @@ -1573,7 +939,8 @@ export interface DetachPolicyRequest { PolicyReference: ObjectReference; ObjectReference: ObjectReference; } -export interface DetachPolicyResponse {} +export interface DetachPolicyResponse { +} export interface DetachTypedLinkRequest { DirectoryArn: string; TypedLinkSpecifier: TypedLinkSpecifier; @@ -1651,13 +1018,7 @@ export interface FacetAttributeReference { TargetFacetName: string; TargetAttributeName: string; } -export type FacetAttributeType = - | "STRING" - | "BINARY" - | "BOOLEAN" - | "NUMBER" - | "DATETIME" - | "VARIANT"; +export type FacetAttributeType = "STRING" | "BINARY" | "BOOLEAN" | "NUMBER" | "DATETIME" | "VARIANT"; export interface FacetAttributeUpdate { Attribute?: FacetAttribute; Action?: UpdateActionType; @@ -2081,8 +1442,7 @@ export interface ObjectAttributeUpdate { export type ObjectAttributeUpdateList = Array; export type ObjectIdentifier = string; -export type ObjectIdentifierAndLinkNameList = - Array; +export type ObjectIdentifierAndLinkNameList = Array; export interface ObjectIdentifierAndLinkNameTuple { ObjectIdentifier?: string; LinkName?: string; @@ -2134,18 +1494,14 @@ export interface PutSchemaFromJsonRequest { export interface PutSchemaFromJsonResponse { Arn?: string; } -export type RangeMode = - | "FIRST" - | "LAST" - | "LAST_BEFORE_MISSING_VALUES" - | "INCLUSIVE" - | "EXCLUSIVE"; +export type RangeMode = "FIRST" | "LAST" | "LAST_BEFORE_MISSING_VALUES" | "INCLUSIVE" | "EXCLUSIVE"; export interface RemoveFacetFromObjectRequest { DirectoryArn: string; SchemaFacet: SchemaFacet; ObjectReference: ObjectReference; } -export interface RemoveFacetFromObjectResponse {} +export interface RemoveFacetFromObjectResponse { +} export type RequiredAttributeBehavior = "REQUIRED_ALWAYS" | "NOT_REQUIRED"; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", @@ -2169,11 +1525,7 @@ export type RuleParameterKey = string; export type RuleParameterMap = Record; export type RuleParameterValue = string; -export type RuleType = - | "BINARY_LENGTH" - | "NUMBER_COMPARISON" - | "STRING_FROM_SET" - | "STRING_LENGTH"; +export type RuleType = "BINARY_LENGTH" | "NUMBER_COMPARISON" | "STRING_FROM_SET" | "STRING_LENGTH"; export declare class SchemaAlreadyExistsException extends EffectData.TaggedError( "SchemaAlreadyExistsException", )<{ @@ -2214,7 +1566,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsNumberResults = number; export type TagValue = string; @@ -2227,12 +1580,7 @@ interface _TypedAttributeValue { DatetimeValue?: Date | string; } -export type TypedAttributeValue = - | (_TypedAttributeValue & { StringValue: string }) - | (_TypedAttributeValue & { BinaryValue: Uint8Array | string }) - | (_TypedAttributeValue & { BooleanValue: boolean }) - | (_TypedAttributeValue & { NumberValue: string }) - | (_TypedAttributeValue & { DatetimeValue: Date | string }); +export type TypedAttributeValue = (_TypedAttributeValue & { StringValue: string }) | (_TypedAttributeValue & { BinaryValue: Uint8Array | string }) | (_TypedAttributeValue & { BooleanValue: boolean }) | (_TypedAttributeValue & { NumberValue: string }) | (_TypedAttributeValue & { DatetimeValue: Date | string }); export interface TypedAttributeValueRange { StartMode: RangeMode; StartValue?: TypedAttributeValue; @@ -2247,8 +1595,7 @@ export interface TypedLinkAttributeDefinition { Rules?: Record; RequiredBehavior: RequiredAttributeBehavior; } -export type TypedLinkAttributeDefinitionList = - Array; +export type TypedLinkAttributeDefinitionList = Array; export interface TypedLinkAttributeRange { AttributeName?: string; Range: TypedAttributeValueRange; @@ -2263,8 +1610,7 @@ export interface TypedLinkFacetAttributeUpdate { Attribute: TypedLinkAttributeDefinition; Action: UpdateActionType; } -export type TypedLinkFacetAttributeUpdateList = - Array; +export type TypedLinkFacetAttributeUpdateList = Array; export type TypedLinkName = string; export type TypedLinkNameList = Array; @@ -2288,7 +1634,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UpdateActionType = "CREATE_OR_UPDATE" | "DELETE"; export interface UpdateFacetRequest { SchemaArn: string; @@ -2296,13 +1643,15 @@ export interface UpdateFacetRequest { AttributeUpdates?: Array; ObjectType?: ObjectType; } -export interface UpdateFacetResponse {} +export interface UpdateFacetResponse { +} export interface UpdateLinkAttributesRequest { DirectoryArn: string; TypedLinkSpecifier: TypedLinkSpecifier; AttributeUpdates: Array; } -export interface UpdateLinkAttributesResponse {} +export interface UpdateLinkAttributesResponse { +} export interface UpdateObjectAttributesRequest { DirectoryArn: string; ObjectReference: ObjectReference; @@ -2324,7 +1673,8 @@ export interface UpdateTypedLinkFacetRequest { AttributeUpdates: Array; IdentityAttributeOrder: Array; } -export interface UpdateTypedLinkFacetResponse {} +export interface UpdateTypedLinkFacetResponse { +} export interface UpgradeAppliedSchemaRequest { PublishedSchemaArn: string; DirectoryArn: string; @@ -3395,40 +2745,5 @@ export declare namespace UpgradePublishedSchema { | CommonAwsError; } -export type CloudDirectoryErrors = - | AccessDeniedException - | BatchWriteException - | CannotListParentOfRootException - | DirectoryAlreadyExistsException - | DirectoryDeletedException - | DirectoryNotDisabledException - | DirectoryNotEnabledException - | FacetAlreadyExistsException - | FacetInUseException - | FacetNotFoundException - | FacetValidationException - | IncompatibleSchemaException - | IndexedAttributeMissingException - | InternalServiceException - | InvalidArnException - | InvalidAttachmentException - | InvalidFacetUpdateException - | InvalidNextTokenException - | InvalidRuleException - | InvalidSchemaDocException - | InvalidTaggingRequestException - | LimitExceededException - | LinkNameAlreadyInUseException - | NotIndexException - | NotNodeException - | NotPolicyException - | ObjectAlreadyDetachedException - | ObjectNotDetachedException - | ResourceNotFoundException - | RetryableConflictException - | SchemaAlreadyExistsException - | SchemaAlreadyPublishedException - | StillContainsLinksException - | UnsupportedIndexTypeException - | ValidationException - | CommonAwsError; +export type CloudDirectoryErrors = AccessDeniedException | BatchWriteException | CannotListParentOfRootException | DirectoryAlreadyExistsException | DirectoryDeletedException | DirectoryNotDisabledException | DirectoryNotEnabledException | FacetAlreadyExistsException | FacetInUseException | FacetNotFoundException | FacetValidationException | IncompatibleSchemaException | IndexedAttributeMissingException | InternalServiceException | InvalidArnException | InvalidAttachmentException | InvalidFacetUpdateException | InvalidNextTokenException | InvalidRuleException | InvalidSchemaDocException | InvalidTaggingRequestException | LimitExceededException | LinkNameAlreadyInUseException | NotIndexException | NotNodeException | NotPolicyException | ObjectAlreadyDetachedException | ObjectNotDetachedException | ResourceNotFoundException | RetryableConflictException | SchemaAlreadyExistsException | SchemaAlreadyPublishedException | StillContainsLinksException | UnsupportedIndexTypeException | ValidationException | CommonAwsError; + diff --git a/src/services/cloudformation/index.ts b/src/services/cloudformation/index.ts index 72220236..36756f08 100644 --- a/src/services/cloudformation/index.ts +++ b/src/services/cloudformation/index.ts @@ -6,26 +6,7 @@ import type { CloudFormation as _CloudFormationClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const CloudFormation = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _CloudFormationClient; diff --git a/src/services/cloudformation/types.ts b/src/services/cloudformation/types.ts index fa5267c9..00beea12 100644 --- a/src/services/cloudformation/types.ts +++ b/src/services/cloudformation/types.ts @@ -23,7 +23,10 @@ export declare class CloudFormation extends AWSServiceClient { >; cancelUpdateStack( input: CancelUpdateStackInput, - ): Effect.Effect<{}, TokenAlreadyExistsException | CommonAwsError>; + ): Effect.Effect< + {}, + TokenAlreadyExistsException | CommonAwsError + >; continueUpdateRollback( input: ContinueUpdateRollbackInput, ): Effect.Effect< @@ -34,53 +37,37 @@ export declare class CloudFormation extends AWSServiceClient { input: CreateChangeSetInput, ): Effect.Effect< CreateChangeSetOutput, - | AlreadyExistsException - | InsufficientCapabilitiesException - | LimitExceededException - | CommonAwsError + AlreadyExistsException | InsufficientCapabilitiesException | LimitExceededException | CommonAwsError >; createGeneratedTemplate( input: CreateGeneratedTemplateInput, ): Effect.Effect< CreateGeneratedTemplateOutput, - | AlreadyExistsException - | ConcurrentResourcesLimitExceededException - | LimitExceededException - | CommonAwsError + AlreadyExistsException | ConcurrentResourcesLimitExceededException | LimitExceededException | CommonAwsError >; createStack( input: CreateStackInput, ): Effect.Effect< CreateStackOutput, - | AlreadyExistsException - | InsufficientCapabilitiesException - | LimitExceededException - | TokenAlreadyExistsException - | CommonAwsError + AlreadyExistsException | InsufficientCapabilitiesException | LimitExceededException | TokenAlreadyExistsException | CommonAwsError >; createStackInstances( input: CreateStackInstancesInput, ): Effect.Effect< CreateStackInstancesOutput, - | InvalidOperationException - | LimitExceededException - | OperationIdAlreadyExistsException - | OperationInProgressException - | StackSetNotFoundException - | StaleRequestException - | CommonAwsError + InvalidOperationException | LimitExceededException | OperationIdAlreadyExistsException | OperationInProgressException | StackSetNotFoundException | StaleRequestException | CommonAwsError >; createStackRefactor( input: CreateStackRefactorInput, - ): Effect.Effect; + ): Effect.Effect< + CreateStackRefactorOutput, + CommonAwsError + >; createStackSet( input: CreateStackSetInput, ): Effect.Effect< CreateStackSetOutput, - | CreatedButModifiedException - | LimitExceededException - | NameAlreadyExistsException - | CommonAwsError + CreatedButModifiedException | LimitExceededException | NameAlreadyExistsException | CommonAwsError >; deactivateOrganizationsAccess( input: DeactivateOrganizationsAccessInput, @@ -104,23 +91,19 @@ export declare class CloudFormation extends AWSServiceClient { input: DeleteGeneratedTemplateInput, ): Effect.Effect< {}, - | ConcurrentResourcesLimitExceededException - | GeneratedTemplateNotFoundException - | CommonAwsError + ConcurrentResourcesLimitExceededException | GeneratedTemplateNotFoundException | CommonAwsError >; deleteStack( input: DeleteStackInput, - ): Effect.Effect<{}, TokenAlreadyExistsException | CommonAwsError>; + ): Effect.Effect< + {}, + TokenAlreadyExistsException | CommonAwsError + >; deleteStackInstances( input: DeleteStackInstancesInput, ): Effect.Effect< DeleteStackInstancesOutput, - | InvalidOperationException - | OperationIdAlreadyExistsException - | OperationInProgressException - | StackSetNotFoundException - | StaleRequestException - | CommonAwsError + InvalidOperationException | OperationIdAlreadyExistsException | OperationInProgressException | StackSetNotFoundException | StaleRequestException | CommonAwsError >; deleteStackSet( input: DeleteStackSetInput, @@ -136,7 +119,10 @@ export declare class CloudFormation extends AWSServiceClient { >; describeAccountLimits( input: DescribeAccountLimitsInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeAccountLimitsOutput, + CommonAwsError + >; describeChangeSet( input: DescribeChangeSetInput, ): Effect.Effect< @@ -175,10 +161,16 @@ export declare class CloudFormation extends AWSServiceClient { >; describeStackDriftDetectionStatus( input: DescribeStackDriftDetectionStatusInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeStackDriftDetectionStatusOutput, + CommonAwsError + >; describeStackEvents( input: DescribeStackEventsInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeStackEventsOutput, + CommonAwsError + >; describeStackInstance( input: DescribeStackInstanceInput, ): Effect.Effect< @@ -193,16 +185,28 @@ export declare class CloudFormation extends AWSServiceClient { >; describeStackResource( input: DescribeStackResourceInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeStackResourceOutput, + CommonAwsError + >; describeStackResourceDrifts( input: DescribeStackResourceDriftsInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeStackResourceDriftsOutput, + CommonAwsError + >; describeStackResources( input: DescribeStackResourcesInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeStackResourcesOutput, + CommonAwsError + >; describeStacks( input: DescribeStacksInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeStacksOutput, + CommonAwsError + >; describeStackSet( input: DescribeStackSetInput, ): Effect.Effect< @@ -229,35 +233,40 @@ export declare class CloudFormation extends AWSServiceClient { >; detectStackDrift( input: DetectStackDriftInput, - ): Effect.Effect; + ): Effect.Effect< + DetectStackDriftOutput, + CommonAwsError + >; detectStackResourceDrift( input: DetectStackResourceDriftInput, - ): Effect.Effect; + ): Effect.Effect< + DetectStackResourceDriftOutput, + CommonAwsError + >; detectStackSetDrift( input: DetectStackSetDriftInput, ): Effect.Effect< DetectStackSetDriftOutput, - | InvalidOperationException - | OperationInProgressException - | StackSetNotFoundException - | CommonAwsError + InvalidOperationException | OperationInProgressException | StackSetNotFoundException | CommonAwsError >; estimateTemplateCost( input: EstimateTemplateCostInput, - ): Effect.Effect; + ): Effect.Effect< + EstimateTemplateCostOutput, + CommonAwsError + >; executeChangeSet( input: ExecuteChangeSetInput, ): Effect.Effect< ExecuteChangeSetOutput, - | ChangeSetNotFoundException - | InsufficientCapabilitiesException - | InvalidChangeSetStatusException - | TokenAlreadyExistsException - | CommonAwsError + ChangeSetNotFoundException | InsufficientCapabilitiesException | InvalidChangeSetStatusException | TokenAlreadyExistsException | CommonAwsError >; executeStackRefactor( input: ExecuteStackRefactorInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; getGeneratedTemplate( input: GetGeneratedTemplateInput, ): Effect.Effect< @@ -266,7 +275,10 @@ export declare class CloudFormation extends AWSServiceClient { >; getStackPolicy( input: GetStackPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + GetStackPolicyOutput, + CommonAwsError + >; getTemplate( input: GetTemplateInput, ): Effect.Effect< @@ -283,24 +295,26 @@ export declare class CloudFormation extends AWSServiceClient { input: ImportStacksToStackSetInput, ): Effect.Effect< ImportStacksToStackSetOutput, - | InvalidOperationException - | LimitExceededException - | OperationIdAlreadyExistsException - | OperationInProgressException - | StackNotFoundException - | StackSetNotFoundException - | StaleRequestException - | CommonAwsError + InvalidOperationException | LimitExceededException | OperationIdAlreadyExistsException | OperationInProgressException | StackNotFoundException | StackSetNotFoundException | StaleRequestException | CommonAwsError >; listChangeSets( input: ListChangeSetsInput, - ): Effect.Effect; + ): Effect.Effect< + ListChangeSetsOutput, + CommonAwsError + >; listExports( input: ListExportsInput, - ): Effect.Effect; + ): Effect.Effect< + ListExportsOutput, + CommonAwsError + >; listGeneratedTemplates( input: ListGeneratedTemplatesInput, - ): Effect.Effect; + ): Effect.Effect< + ListGeneratedTemplatesOutput, + CommonAwsError + >; listHookResults( input: ListHookResultsInput, ): Effect.Effect< @@ -309,34 +323,33 @@ export declare class CloudFormation extends AWSServiceClient { >; listImports( input: ListImportsInput, - ): Effect.Effect; + ): Effect.Effect< + ListImportsOutput, + CommonAwsError + >; listResourceScanRelatedResources( input: ListResourceScanRelatedResourcesInput, ): Effect.Effect< ListResourceScanRelatedResourcesOutput, - | ResourceScanInProgressException - | ResourceScanNotFoundException - | CommonAwsError + ResourceScanInProgressException | ResourceScanNotFoundException | CommonAwsError >; listResourceScanResources( input: ListResourceScanResourcesInput, ): Effect.Effect< ListResourceScanResourcesOutput, - | ResourceScanInProgressException - | ResourceScanNotFoundException - | CommonAwsError + ResourceScanInProgressException | ResourceScanNotFoundException | CommonAwsError >; listResourceScans( input: ListResourceScansInput, - ): Effect.Effect; + ): Effect.Effect< + ListResourceScansOutput, + CommonAwsError + >; listStackInstanceResourceDrifts( input: ListStackInstanceResourceDriftsInput, ): Effect.Effect< ListStackInstanceResourceDriftsOutput, - | OperationNotFoundException - | StackInstanceNotFoundException - | StackSetNotFoundException - | CommonAwsError + OperationNotFoundException | StackInstanceNotFoundException | StackSetNotFoundException | CommonAwsError >; listStackInstances( input: ListStackInstancesInput, @@ -346,16 +359,28 @@ export declare class CloudFormation extends AWSServiceClient { >; listStackRefactorActions( input: ListStackRefactorActionsInput, - ): Effect.Effect; + ): Effect.Effect< + ListStackRefactorActionsOutput, + CommonAwsError + >; listStackRefactors( input: ListStackRefactorsInput, - ): Effect.Effect; + ): Effect.Effect< + ListStackRefactorsOutput, + CommonAwsError + >; listStackResources( input: ListStackResourcesInput, - ): Effect.Effect; + ): Effect.Effect< + ListStackResourcesOutput, + CommonAwsError + >; listStacks( input: ListStacksInput, - ): Effect.Effect; + ): Effect.Effect< + ListStacksOutput, + CommonAwsError + >; listStackSetAutoDeploymentTargets( input: ListStackSetAutoDeploymentTargetsInput, ): Effect.Effect< @@ -376,7 +401,10 @@ export declare class CloudFormation extends AWSServiceClient { >; listStackSets( input: ListStackSetsInput, - ): Effect.Effect; + ): Effect.Effect< + ListStackSetsOutput, + CommonAwsError + >; listTypeRegistrations( input: ListTypeRegistrationsInput, ): Effect.Effect< @@ -385,7 +413,10 @@ export declare class CloudFormation extends AWSServiceClient { >; listTypes( input: ListTypesInput, - ): Effect.Effect; + ): Effect.Effect< + ListTypesOutput, + CFNRegistryException | CommonAwsError + >; listTypeVersions( input: ListTypeVersionsInput, ): Effect.Effect< @@ -402,9 +433,7 @@ export declare class CloudFormation extends AWSServiceClient { input: RecordHandlerProgressInput, ): Effect.Effect< RecordHandlerProgressOutput, - | InvalidStateTransitionException - | OperationStatusCheckFailedException - | CommonAwsError + InvalidStateTransitionException | OperationStatusCheckFailedException | CommonAwsError >; registerPublisher( input: RegisterPublisherInput, @@ -414,14 +443,22 @@ export declare class CloudFormation extends AWSServiceClient { >; registerType( input: RegisterTypeInput, - ): Effect.Effect; + ): Effect.Effect< + RegisterTypeOutput, + CFNRegistryException | CommonAwsError + >; rollbackStack( input: RollbackStackInput, ): Effect.Effect< RollbackStackOutput, TokenAlreadyExistsException | CommonAwsError >; - setStackPolicy(input: SetStackPolicyInput): Effect.Effect<{}, CommonAwsError>; + setStackPolicy( + input: SetStackPolicyInput, + ): Effect.Effect< + {}, + CommonAwsError + >; setTypeConfiguration( input: SetTypeConfigurationInput, ): Effect.Effect< @@ -434,23 +471,23 @@ export declare class CloudFormation extends AWSServiceClient { SetTypeDefaultVersionOutput, CFNRegistryException | TypeNotFoundException | CommonAwsError >; - signalResource(input: SignalResourceInput): Effect.Effect<{}, CommonAwsError>; + signalResource( + input: SignalResourceInput, + ): Effect.Effect< + {}, + CommonAwsError + >; startResourceScan( input: StartResourceScanInput, ): Effect.Effect< StartResourceScanOutput, - | ResourceScanInProgressException - | ResourceScanLimitExceededException - | CommonAwsError + ResourceScanInProgressException | ResourceScanLimitExceededException | CommonAwsError >; stopStackSetOperation( input: StopStackSetOperationInput, ): Effect.Effect< StopStackSetOperationOutput, - | InvalidOperationException - | OperationNotFoundException - | StackSetNotFoundException - | CommonAwsError + InvalidOperationException | OperationNotFoundException | StackSetNotFoundException | CommonAwsError >; testType( input: TestTypeInput, @@ -462,49 +499,38 @@ export declare class CloudFormation extends AWSServiceClient { input: UpdateGeneratedTemplateInput, ): Effect.Effect< UpdateGeneratedTemplateOutput, - | AlreadyExistsException - | GeneratedTemplateNotFoundException - | LimitExceededException - | CommonAwsError + AlreadyExistsException | GeneratedTemplateNotFoundException | LimitExceededException | CommonAwsError >; updateStack( input: UpdateStackInput, ): Effect.Effect< UpdateStackOutput, - | InsufficientCapabilitiesException - | TokenAlreadyExistsException - | CommonAwsError + InsufficientCapabilitiesException | TokenAlreadyExistsException | CommonAwsError >; updateStackInstances( input: UpdateStackInstancesInput, ): Effect.Effect< UpdateStackInstancesOutput, - | InvalidOperationException - | OperationIdAlreadyExistsException - | OperationInProgressException - | StackInstanceNotFoundException - | StackSetNotFoundException - | StaleRequestException - | CommonAwsError + InvalidOperationException | OperationIdAlreadyExistsException | OperationInProgressException | StackInstanceNotFoundException | StackSetNotFoundException | StaleRequestException | CommonAwsError >; updateStackSet( input: UpdateStackSetInput, ): Effect.Effect< UpdateStackSetOutput, - | InvalidOperationException - | OperationIdAlreadyExistsException - | OperationInProgressException - | StackInstanceNotFoundException - | StackSetNotFoundException - | StaleRequestException - | CommonAwsError + InvalidOperationException | OperationIdAlreadyExistsException | OperationInProgressException | StackInstanceNotFoundException | StackSetNotFoundException | StaleRequestException | CommonAwsError >; updateTerminationProtection( input: UpdateTerminationProtectionInput, - ): Effect.Effect; + ): Effect.Effect< + UpdateTerminationProtectionOutput, + CommonAwsError + >; validateTemplate( input: ValidateTemplateInput, - ): Effect.Effect; + ): Effect.Effect< + ValidateTemplateOutput, + CommonAwsError + >; } export declare class Cloudformation extends CloudFormation {} @@ -513,11 +539,7 @@ export type AcceptTermsAndConditions = boolean; export type Account = string; -export type AccountFilterType = - | "NONE" - | "INTERSECTION" - | "DIFFERENCE" - | "UNION"; +export type AccountFilterType = "NONE" | "INTERSECTION" | "DIFFERENCE" | "UNION"; export interface AccountGateResult { Status?: AccountGateStatus; StatusReason?: string; @@ -533,8 +555,10 @@ export type AccountLimitList = Array; export type AccountList = Array; export type AccountsUrl = string; -export interface ActivateOrganizationsAccessInput {} -export interface ActivateOrganizationsAccessOutput {} +export interface ActivateOrganizationsAccessInput { +} +export interface ActivateOrganizationsAccessOutput { +} export interface ActivateTypeInput { Type?: ThirdPartyType; PublicTypeArn?: string; @@ -578,8 +602,7 @@ export interface BatchDescribeTypeConfigurationsError { ErrorMessage?: string; TypeConfigurationIdentifier?: TypeConfigurationIdentifier; } -export type BatchDescribeTypeConfigurationsErrors = - Array; +export type BatchDescribeTypeConfigurationsErrors = Array; export interface BatchDescribeTypeConfigurationsInput { TypeConfigurationIdentifiers: Array; } @@ -604,10 +627,7 @@ export interface CancelUpdateStackInput { export type Capabilities = Array; export type CapabilitiesReason = string; -export type Capability = - | "CAPABILITY_IAM" - | "CAPABILITY_NAMED_IAM" - | "CAPABILITY_AUTO_EXPAND"; +export type Capability = "CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND"; export type Category = "REGISTERED" | "ACTIVATED" | "THIRD_PARTY" | "AWS_TYPES"; export type CausingEntity = string; @@ -653,15 +673,7 @@ export declare class ChangeSetNotFoundException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type ChangeSetStatus = - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_COMPLETE" - | "DELETE_PENDING" - | "DELETE_IN_PROGRESS" - | "DELETE_COMPLETE" - | "DELETE_FAILED" - | "FAILED"; +export type ChangeSetStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED" | "FAILED"; export type ChangeSetStatusReason = string; export type ChangeSetSummaries = Array; @@ -681,20 +693,13 @@ export interface ChangeSetSummary { ImportExistingResources?: boolean; } export type ChangeSetType = "CREATE" | "UPDATE" | "IMPORT"; -export type ChangeSource = - | "ResourceReference" - | "ParameterReference" - | "ResourceAttribute" - | "DirectModification" - | "Automatic"; +export type ChangeSource = "ResourceReference" | "ParameterReference" | "ResourceAttribute" | "DirectModification" | "Automatic"; export type ChangeType = "Resource"; export type ClientRequestToken = string; export type ClientToken = string; -export type ConcurrencyMode = - | "STRICT_FAILURE_TOLERANCE" - | "SOFT_FAILURE_TOLERANCE"; +export type ConcurrencyMode = "STRICT_FAILURE_TOLERANCE" | "SOFT_FAILURE_TOLERANCE"; export declare class ConcurrentResourcesLimitExceededException extends EffectData.TaggedError( "ConcurrentResourcesLimitExceededException", )<{ @@ -710,7 +715,8 @@ export interface ContinueUpdateRollbackInput { ResourcesToSkip?: Array; ClientRequestToken?: string; } -export interface ContinueUpdateRollbackOutput {} +export interface ContinueUpdateRollbackOutput { +} export interface CreateChangeSetInput { StackName: string; TemplateBody?: string; @@ -817,19 +823,23 @@ export interface CreateStackSetOutput { } export type CreationTime = Date | string; -export interface DeactivateOrganizationsAccessInput {} -export interface DeactivateOrganizationsAccessOutput {} +export interface DeactivateOrganizationsAccessInput { +} +export interface DeactivateOrganizationsAccessOutput { +} export interface DeactivateTypeInput { TypeName?: string; Type?: ThirdPartyType; Arn?: string; } -export interface DeactivateTypeOutput {} +export interface DeactivateTypeOutput { +} export interface DeleteChangeSetInput { ChangeSetName: string; StackName?: string; } -export interface DeleteChangeSetOutput {} +export interface DeleteChangeSetOutput { +} export interface DeleteGeneratedTemplateInput { GeneratedTemplateName: string; } @@ -857,7 +867,8 @@ export interface DeleteStackSetInput { StackSetName: string; CallAs?: CallAs; } -export interface DeleteStackSetOutput {} +export interface DeleteStackSetOutput { +} export type DeletionMode = "STANDARD" | "FORCE_DELETE_STACK"; export type DeletionTime = Date | string; @@ -874,7 +885,8 @@ export interface DeregisterTypeInput { TypeName?: string; VersionId?: string; } -export interface DeregisterTypeOutput {} +export interface DeregisterTypeOutput { +} export interface DescribeAccountLimitsInput { NextToken?: string; } @@ -1166,19 +1178,14 @@ export interface ExecuteChangeSetInput { DisableRollback?: boolean; RetainExceptOnCreate?: boolean; } -export interface ExecuteChangeSetOutput {} +export interface ExecuteChangeSetOutput { +} export interface ExecuteStackRefactorInput { StackRefactorId: string; } export type ExecutionRoleName = string; -export type ExecutionStatus = - | "UNAVAILABLE" - | "AVAILABLE" - | "EXECUTE_IN_PROGRESS" - | "EXECUTE_COMPLETE" - | "EXECUTE_FAILED" - | "OBSOLETE"; +export type ExecutionStatus = "UNAVAILABLE" | "AVAILABLE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "OBSOLETE"; export type ExecutionStatusReason = string; export interface Export { @@ -1207,20 +1214,8 @@ export declare class GeneratedTemplateNotFoundException extends EffectData.Tagge )<{ readonly Message?: string; }> {} -export type GeneratedTemplateResourceStatus = - | "PENDING" - | "IN_PROGRESS" - | "FAILED" - | "COMPLETE"; -export type GeneratedTemplateStatus = - | "CREATE_PENDING" - | "UPDATE_PENDING" - | "DELETE_PENDING" - | "CREATE_IN_PROGRESS" - | "UPDATE_IN_PROGRESS" - | "DELETE_IN_PROGRESS" - | "FAILED" - | "COMPLETE"; +export type GeneratedTemplateResourceStatus = "PENDING" | "IN_PROGRESS" | "FAILED" | "COMPLETE"; +export type GeneratedTemplateStatus = "CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE"; export type GeneratedTemplateUpdateReplacePolicy = "DELETE" | "RETAIN"; export interface GetGeneratedTemplateInput { Format?: TemplateFormat; @@ -1265,26 +1260,7 @@ export interface GetTemplateSummaryOutput { ResourceIdentifierSummaries?: Array; Warnings?: Warnings; } -export type HandlerErrorCode = - | "NotUpdatable" - | "InvalidRequest" - | "AccessDenied" - | "InvalidCredentials" - | "AlreadyExists" - | "NotFound" - | "ResourceConflict" - | "Throttling" - | "ServiceLimitExceeded" - | "NotStabilized" - | "GeneralServiceException" - | "ServiceInternalError" - | "NetworkFailure" - | "InternalFailure" - | "InvalidTypeConfiguration" - | "HandlerInternalFailure" - | "NonCompliant" - | "Unknown" - | "UnsupportedTarget"; +export type HandlerErrorCode = "NotUpdatable" | "InvalidRequest" | "AccessDenied" | "InvalidCredentials" | "AlreadyExists" | "NotFound" | "ResourceConflict" | "Throttling" | "ServiceLimitExceeded" | "NotStabilized" | "GeneralServiceException" | "ServiceInternalError" | "NetworkFailure" | "InternalFailure" | "InvalidTypeConfiguration" | "HandlerInternalFailure" | "NonCompliant" | "Unknown" | "UnsupportedTarget"; export type HookFailureMode = "FAIL" | "WARN"; export type HookInvocationCount = number; @@ -1314,11 +1290,7 @@ export interface HookResultSummary { TypeArn?: string; HookExecutionTarget?: string; } -export type HookStatus = - | "HOOK_IN_PROGRESS" - | "HOOK_COMPLETE_SUCCEEDED" - | "HOOK_COMPLETE_FAILED" - | "HOOK_FAILED"; +export type HookStatus = "HOOK_IN_PROGRESS" | "HOOK_COMPLETE_SUCCEEDED" | "HOOK_COMPLETE_FAILED" | "HOOK_FAILED"; export type HookStatusReason = string; export type HookTargetType = "RESOURCE"; @@ -1439,11 +1411,7 @@ export interface ListHookResultsOutput { HookResults?: Array; NextToken?: string; } -export type ListHookResultsTargetType = - | "CHANGE_SET" - | "STACK" - | "RESOURCE" - | "CLOUD_CONTROL"; +export type ListHookResultsTargetType = "CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL"; export interface ListImportsInput { ExportName: string; NextToken?: string; @@ -1709,10 +1677,7 @@ export type OptionalSecureUrl = string; export type OrganizationalUnitId = string; export type OrganizationalUnitIdList = Array; -export type OrganizationStatus = - | "ENABLED" - | "DISABLED" - | "DISABLED_PERMANENTLY"; +export type OrganizationStatus = "ENABLED" | "DISABLED" | "DISABLED_PERMANENTLY"; export interface Output { OutputKey?: string; OutputValue?: string; @@ -1754,19 +1719,12 @@ export type PercentageCompleted = number; export type PermissionModels = "SERVICE_MANAGED" | "SELF_MANAGED"; export type PhysicalResourceId = string; -export type PhysicalResourceIdContext = - Array; +export type PhysicalResourceIdContext = Array; export interface PhysicalResourceIdContextKeyValuePair { Key: string; Value: string; } -export type PolicyAction = - | "Delete" - | "Retain" - | "Snapshot" - | "ReplaceAndDelete" - | "ReplaceAndRetain" - | "ReplaceAndSnapshot"; +export type PolicyAction = "Delete" | "Retain" | "Snapshot" | "ReplaceAndDelete" | "ReplaceAndRetain" | "ReplaceAndSnapshot"; export type PrivateTypeArn = string; export type Properties = string; @@ -1786,10 +1744,7 @@ export type PropertyPath = string; export type PropertyValue = string; -export type ProvisioningType = - | "NON_PROVISIONABLE" - | "IMMUTABLE" - | "FULLY_MUTABLE"; +export type ProvisioningType = "NON_PROVISIONABLE" | "IMMUTABLE" | "FULLY_MUTABLE"; export type PublicVersionNumber = string; export type PublisherId = string; @@ -1819,7 +1774,8 @@ export interface RecordHandlerProgressInput { ResourceModel?: string; ClientRequestToken?: string; } -export interface RecordHandlerProgressOutput {} +export interface RecordHandlerProgressOutput { +} export type RefreshAllResources = boolean; export type Region = string; @@ -1863,14 +1819,7 @@ export type RequiredActivatedTypes = Array; export type RequiredProperty = boolean; export type RequiresRecreation = "Never" | "Conditionally" | "Always"; -export type ResourceAttribute = - | "Properties" - | "Metadata" - | "CreationPolicy" - | "UpdatePolicy" - | "DeletionPolicy" - | "UpdateReplacePolicy" - | "Tags"; +export type ResourceAttribute = "Properties" | "Metadata" | "CreationPolicy" | "UpdatePolicy" | "DeletionPolicy" | "UpdateReplacePolicy" | "Tags"; export interface ResourceChange { PolicyAction?: PolicyAction; Action?: ChangeAction; @@ -1955,11 +1904,7 @@ export declare class ResourceScanNotFoundException extends EffectData.TaggedErro )<{ readonly Message?: string; }> {} -export type ResourceScanStatus = - | "IN_PROGRESS" - | "FAILED" - | "COMPLETE" - | "EXPIRED"; +export type ResourceScanStatus = "IN_PROGRESS" | "FAILED" | "COMPLETE" | "EXPIRED"; export type ResourceScanStatusReason = string; export type ResourceScanSummaries = Array; @@ -1987,35 +1932,7 @@ export type ResourcesScanned = number; export type ResourcesSucceeded = number; -export type ResourceStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "CREATE_COMPLETE" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED" - | "DELETE_COMPLETE" - | "DELETE_SKIPPED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED" - | "UPDATE_COMPLETE" - | "IMPORT_FAILED" - | "IMPORT_COMPLETE" - | "IMPORT_IN_PROGRESS" - | "IMPORT_ROLLBACK_IN_PROGRESS" - | "IMPORT_ROLLBACK_FAILED" - | "IMPORT_ROLLBACK_COMPLETE" - | "EXPORT_FAILED" - | "EXPORT_COMPLETE" - | "EXPORT_IN_PROGRESS" - | "EXPORT_ROLLBACK_IN_PROGRESS" - | "EXPORT_ROLLBACK_FAILED" - | "EXPORT_ROLLBACK_COMPLETE" - | "UPDATE_ROLLBACK_IN_PROGRESS" - | "UPDATE_ROLLBACK_COMPLETE" - | "UPDATE_ROLLBACK_FAILED" - | "ROLLBACK_IN_PROGRESS" - | "ROLLBACK_COMPLETE" - | "ROLLBACK_FAILED"; +export type ResourceStatus = "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "DELETE_SKIPPED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_COMPLETE" | "IMPORT_FAILED" | "IMPORT_COMPLETE" | "IMPORT_IN_PROGRESS" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE" | "EXPORT_FAILED" | "EXPORT_COMPLETE" | "EXPORT_IN_PROGRESS" | "EXPORT_ROLLBACK_IN_PROGRESS" | "EXPORT_ROLLBACK_FAILED" | "EXPORT_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED"; export type ResourceStatusReason = string; export type ResourcesToImport = Array; @@ -2117,7 +2034,8 @@ export interface SetTypeDefaultVersionInput { TypeName?: string; VersionId?: string; } -export interface SetTypeDefaultVersionOutput {} +export interface SetTypeDefaultVersionOutput { +} export interface SignalResourceInput { StackName: string; LogicalResourceId: string; @@ -2159,10 +2077,7 @@ export interface StackDefinition { export type StackDefinitions = Array; export type StackDriftDetectionId = string; -export type StackDriftDetectionStatus = - | "DETECTION_IN_PROGRESS" - | "DETECTION_FAILED" - | "DETECTION_COMPLETE"; +export type StackDriftDetectionStatus = "DETECTION_IN_PROGRESS" | "DETECTION_FAILED" | "DETECTION_COMPLETE"; export type StackDriftDetectionStatusReason = string; export interface StackDriftInformation { @@ -2173,11 +2088,7 @@ export interface StackDriftInformationSummary { StackDriftStatus: StackDriftStatus; LastCheckTimestamp?: Date | string; } -export type StackDriftStatus = - | "DRIFTED" - | "IN_SYNC" - | "UNKNOWN" - | "NOT_CHECKED"; +export type StackDriftStatus = "DRIFTED" | "IN_SYNC" | "UNKNOWN" | "NOT_CHECKED"; export interface StackEvent { StackId: string; EventId: string; @@ -2222,23 +2133,12 @@ export interface StackInstance { export interface StackInstanceComprehensiveStatus { DetailedStatus?: StackInstanceDetailedStatus; } -export type StackInstanceDetailedStatus = - | "PENDING" - | "RUNNING" - | "SUCCEEDED" - | "FAILED" - | "CANCELLED" - | "INOPERABLE" - | "SKIPPED_SUSPENDED_ACCOUNT" - | "FAILED_IMPORT"; +export type StackInstanceDetailedStatus = "PENDING" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED" | "INOPERABLE" | "SKIPPED_SUSPENDED_ACCOUNT" | "FAILED_IMPORT"; export interface StackInstanceFilter { Name?: StackInstanceFilterName; Values?: string; } -export type StackInstanceFilterName = - | "DETAILED_STATUS" - | "LAST_OPERATION_ID" - | "DRIFT_STATUS"; +export type StackInstanceFilterName = "DETAILED_STATUS" | "LAST_OPERATION_ID" | "DRIFT_STATUS"; export type StackInstanceFilters = Array; export type StackInstanceFilterValues = string; @@ -2247,8 +2147,7 @@ export declare class StackInstanceNotFoundException extends EffectData.TaggedErr )<{ readonly Message?: string; }> {} -export type StackInstanceResourceDriftsSummaries = - Array; +export type StackInstanceResourceDriftsSummaries = Array; export interface StackInstanceResourceDriftsSummary { StackId: string; LogicalResourceId: string; @@ -2307,18 +2206,8 @@ export type StackRefactorActionEntity = "RESOURCE" | "STACK"; export type StackRefactorActions = Array; export type StackRefactorActionType = "MOVE" | "CREATE"; export type StackRefactorDetection = "AUTO" | "MANUAL"; -export type StackRefactorExecutionStatus = - | "UNAVAILABLE" - | "AVAILABLE" - | "OBSOLETE" - | "EXECUTE_IN_PROGRESS" - | "EXECUTE_COMPLETE" - | "EXECUTE_FAILED" - | "ROLLBACK_IN_PROGRESS" - | "ROLLBACK_COMPLETE" - | "ROLLBACK_FAILED"; -export type StackRefactorExecutionStatusFilter = - Array; +export type StackRefactorExecutionStatus = "UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED"; +export type StackRefactorExecutionStatusFilter = Array; export type StackRefactorId = string; export declare class StackRefactorNotFoundException extends EffectData.TaggedError( @@ -2328,13 +2217,7 @@ export declare class StackRefactorNotFoundException extends EffectData.TaggedErr }> {} export type StackRefactorResourceIdentifier = string; -export type StackRefactorStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_COMPLETE" - | "CREATE_FAILED" - | "DELETE_IN_PROGRESS" - | "DELETE_COMPLETE" - | "DELETE_FAILED"; +export type StackRefactorStatus = "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED"; export type StackRefactorStatusReason = string; export type StackRefactorSummaries = Array; @@ -2398,12 +2281,7 @@ export interface StackResourceDriftInformationSummary { LastCheckTimestamp?: Date | string; } export type StackResourceDrifts = Array; -export type StackResourceDriftStatus = - | "IN_SYNC" - | "MODIFIED" - | "DELETED" - | "NOT_CHECKED" - | "UNKNOWN"; +export type StackResourceDriftStatus = "IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED" | "UNKNOWN"; export type StackResourceDriftStatusFilters = Array; export type StackResourceDriftStatusReason = string; @@ -2441,8 +2319,7 @@ export interface StackSet { } export type StackSetARN = string; -export type StackSetAutoDeploymentTargetSummaries = - Array; +export type StackSetAutoDeploymentTargetSummaries = Array; export interface StackSetAutoDeploymentTargetSummary { OrganizationalUnitId?: string; Regions?: Array; @@ -2457,12 +2334,7 @@ export interface StackSetDriftDetectionDetails { InProgressStackInstancesCount?: number; FailedStackInstancesCount?: number; } -export type StackSetDriftDetectionStatus = - | "COMPLETED" - | "FAILED" - | "PARTIAL_SUCCESS" - | "IN_PROGRESS" - | "STOPPED"; +export type StackSetDriftDetectionStatus = "COMPLETED" | "FAILED" | "PARTIAL_SUCCESS" | "IN_PROGRESS" | "STOPPED"; export type StackSetDriftStatus = "DRIFTED" | "IN_SYNC" | "NOT_CHECKED"; export type StackSetId = string; @@ -2496,11 +2368,7 @@ export interface StackSetOperation { StatusReason?: string; StatusDetails?: StackSetOperationStatusDetails; } -export type StackSetOperationAction = - | "CREATE" - | "UPDATE" - | "DELETE" - | "DETECT_DRIFT"; +export type StackSetOperationAction = "CREATE" | "UPDATE" | "DELETE" | "DETECT_DRIFT"; export interface StackSetOperationPreferences { RegionConcurrencyType?: RegionConcurrencyType; RegionOrder?: Array; @@ -2510,14 +2378,8 @@ export interface StackSetOperationPreferences { MaxConcurrentPercentage?: number; ConcurrencyMode?: ConcurrencyMode; } -export type StackSetOperationResultStatus = - | "PENDING" - | "RUNNING" - | "SUCCEEDED" - | "FAILED" - | "CANCELLED"; -export type StackSetOperationResultSummaries = - Array; +export type StackSetOperationResultStatus = "PENDING" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED"; +export type StackSetOperationResultSummaries = Array; export interface StackSetOperationResultSummary { Account?: string; Region?: string; @@ -2526,13 +2388,7 @@ export interface StackSetOperationResultSummary { AccountGateResult?: AccountGateResult; OrganizationalUnitId?: string; } -export type StackSetOperationStatus = - | "RUNNING" - | "SUCCEEDED" - | "FAILED" - | "STOPPING" - | "STOPPED" - | "QUEUED"; +export type StackSetOperationStatus = "RUNNING" | "SUCCEEDED" | "FAILED" | "STOPPING" | "STOPPED" | "QUEUED"; export interface StackSetOperationStatusDetails { FailedStackInstancesCount?: number; } @@ -2562,30 +2418,7 @@ export interface StackSetSummary { LastDriftCheckTimestamp?: Date | string; ManagedExecution?: ManagedExecution; } -export type StackStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "CREATE_COMPLETE" - | "ROLLBACK_IN_PROGRESS" - | "ROLLBACK_FAILED" - | "ROLLBACK_COMPLETE" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED" - | "DELETE_COMPLETE" - | "UPDATE_IN_PROGRESS" - | "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" - | "UPDATE_COMPLETE" - | "UPDATE_FAILED" - | "UPDATE_ROLLBACK_IN_PROGRESS" - | "UPDATE_ROLLBACK_FAILED" - | "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" - | "UPDATE_ROLLBACK_COMPLETE" - | "REVIEW_IN_PROGRESS" - | "IMPORT_IN_PROGRESS" - | "IMPORT_COMPLETE" - | "IMPORT_ROLLBACK_IN_PROGRESS" - | "IMPORT_ROLLBACK_FAILED" - | "IMPORT_ROLLBACK_COMPLETE"; +export type StackStatus = "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_FAILED" | "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "REVIEW_IN_PROGRESS" | "IMPORT_IN_PROGRESS" | "IMPORT_COMPLETE" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE"; export type StackStatusFilter = Array; export type StackStatusReason = string; @@ -2623,7 +2456,8 @@ export interface StopStackSetOperationInput { OperationId: string; CallAs?: CallAs; } -export interface StopStackSetOperationOutput {} +export interface StopStackSetOperationOutput { +} export type SupportedMajorVersion = number; export type SupportedMajorVersions = Array; @@ -2774,11 +2608,7 @@ export interface TypeSummary { PublisherName?: string; IsActivated?: boolean; } -export type TypeTestsStatus = - | "PASSED" - | "FAILED" - | "IN_PROGRESS" - | "NOT_TESTED"; +export type TypeTestsStatus = "PASSED" | "FAILED" | "IN_PROGRESS" | "NOT_TESTED"; export type TypeTestsStatusDescription = string; export type TypeVersionId = string; @@ -2910,12 +2740,7 @@ export interface WarningProperty { export interface Warnings { UnrecognizedResourceTypes?: Array; } -export type WarningType = - | "MUTUALLY_EXCLUSIVE_PROPERTIES" - | "UNSUPPORTED_PROPERTIES" - | "MUTUALLY_EXCLUSIVE_TYPES" - | "EXCLUDED_PROPERTIES" - | "EXCLUDED_RESOURCES"; +export type WarningType = "MUTUALLY_EXCLUSIVE_PROPERTIES" | "UNSUPPORTED_PROPERTIES" | "MUTUALLY_EXCLUSIVE_TYPES" | "EXCLUDED_PROPERTIES" | "EXCLUDED_RESOURCES"; export declare namespace ActivateOrganizationsAccess { export type Input = ActivateOrganizationsAccessInput; export type Output = ActivateOrganizationsAccessOutput; @@ -2946,13 +2771,17 @@ export declare namespace BatchDescribeTypeConfigurations { export declare namespace CancelUpdateStack { export type Input = CancelUpdateStackInput; export type Output = {}; - export type Error = TokenAlreadyExistsException | CommonAwsError; + export type Error = + | TokenAlreadyExistsException + | CommonAwsError; } export declare namespace ContinueUpdateRollback { export type Input = ContinueUpdateRollbackInput; export type Output = ContinueUpdateRollbackOutput; - export type Error = TokenAlreadyExistsException | CommonAwsError; + export type Error = + | TokenAlreadyExistsException + | CommonAwsError; } export declare namespace CreateChangeSet { @@ -3002,7 +2831,8 @@ export declare namespace CreateStackInstances { export declare namespace CreateStackRefactor { export type Input = CreateStackRefactorInput; export type Output = CreateStackRefactorOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateStackSet { @@ -3036,7 +2866,9 @@ export declare namespace DeactivateType { export declare namespace DeleteChangeSet { export type Input = DeleteChangeSetInput; export type Output = DeleteChangeSetOutput; - export type Error = InvalidChangeSetStatusException | CommonAwsError; + export type Error = + | InvalidChangeSetStatusException + | CommonAwsError; } export declare namespace DeleteGeneratedTemplate { @@ -3051,7 +2883,9 @@ export declare namespace DeleteGeneratedTemplate { export declare namespace DeleteStack { export type Input = DeleteStackInput; export type Output = {}; - export type Error = TokenAlreadyExistsException | CommonAwsError; + export type Error = + | TokenAlreadyExistsException + | CommonAwsError; } export declare namespace DeleteStackInstances { @@ -3087,25 +2921,32 @@ export declare namespace DeregisterType { export declare namespace DescribeAccountLimits { export type Input = DescribeAccountLimitsInput; export type Output = DescribeAccountLimitsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeChangeSet { export type Input = DescribeChangeSetInput; export type Output = DescribeChangeSetOutput; - export type Error = ChangeSetNotFoundException | CommonAwsError; + export type Error = + | ChangeSetNotFoundException + | CommonAwsError; } export declare namespace DescribeChangeSetHooks { export type Input = DescribeChangeSetHooksInput; export type Output = DescribeChangeSetHooksOutput; - export type Error = ChangeSetNotFoundException | CommonAwsError; + export type Error = + | ChangeSetNotFoundException + | CommonAwsError; } export declare namespace DescribeGeneratedTemplate { export type Input = DescribeGeneratedTemplateInput; export type Output = DescribeGeneratedTemplateOutput; - export type Error = GeneratedTemplateNotFoundException | CommonAwsError; + export type Error = + | GeneratedTemplateNotFoundException + | CommonAwsError; } export declare namespace DescribeOrganizationsAccess { @@ -3120,25 +2961,31 @@ export declare namespace DescribeOrganizationsAccess { export declare namespace DescribePublisher { export type Input = DescribePublisherInput; export type Output = DescribePublisherOutput; - export type Error = CFNRegistryException | CommonAwsError; + export type Error = + | CFNRegistryException + | CommonAwsError; } export declare namespace DescribeResourceScan { export type Input = DescribeResourceScanInput; export type Output = DescribeResourceScanOutput; - export type Error = ResourceScanNotFoundException | CommonAwsError; + export type Error = + | ResourceScanNotFoundException + | CommonAwsError; } export declare namespace DescribeStackDriftDetectionStatus { export type Input = DescribeStackDriftDetectionStatusInput; export type Output = DescribeStackDriftDetectionStatusOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeStackEvents { export type Input = DescribeStackEventsInput; export type Output = DescribeStackEventsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeStackInstance { @@ -3153,37 +3000,45 @@ export declare namespace DescribeStackInstance { export declare namespace DescribeStackRefactor { export type Input = DescribeStackRefactorInput; export type Output = DescribeStackRefactorOutput; - export type Error = StackRefactorNotFoundException | CommonAwsError; + export type Error = + | StackRefactorNotFoundException + | CommonAwsError; } export declare namespace DescribeStackResource { export type Input = DescribeStackResourceInput; export type Output = DescribeStackResourceOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeStackResourceDrifts { export type Input = DescribeStackResourceDriftsInput; export type Output = DescribeStackResourceDriftsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeStackResources { export type Input = DescribeStackResourcesInput; export type Output = DescribeStackResourcesOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeStacks { export type Input = DescribeStacksInput; export type Output = DescribeStacksOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeStackSet { export type Input = DescribeStackSetInput; export type Output = DescribeStackSetOutput; - export type Error = StackSetNotFoundException | CommonAwsError; + export type Error = + | StackSetNotFoundException + | CommonAwsError; } export declare namespace DescribeStackSetOperation { @@ -3207,19 +3062,23 @@ export declare namespace DescribeType { export declare namespace DescribeTypeRegistration { export type Input = DescribeTypeRegistrationInput; export type Output = DescribeTypeRegistrationOutput; - export type Error = CFNRegistryException | CommonAwsError; + export type Error = + | CFNRegistryException + | CommonAwsError; } export declare namespace DetectStackDrift { export type Input = DetectStackDriftInput; export type Output = DetectStackDriftOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DetectStackResourceDrift { export type Input = DetectStackResourceDriftInput; export type Output = DetectStackResourceDriftOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DetectStackSetDrift { @@ -3235,7 +3094,8 @@ export declare namespace DetectStackSetDrift { export declare namespace EstimateTemplateCost { export type Input = EstimateTemplateCostInput; export type Output = EstimateTemplateCostOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ExecuteChangeSet { @@ -3252,31 +3112,39 @@ export declare namespace ExecuteChangeSet { export declare namespace ExecuteStackRefactor { export type Input = ExecuteStackRefactorInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetGeneratedTemplate { export type Input = GetGeneratedTemplateInput; export type Output = GetGeneratedTemplateOutput; - export type Error = GeneratedTemplateNotFoundException | CommonAwsError; + export type Error = + | GeneratedTemplateNotFoundException + | CommonAwsError; } export declare namespace GetStackPolicy { export type Input = GetStackPolicyInput; export type Output = GetStackPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTemplate { export type Input = GetTemplateInput; export type Output = GetTemplateOutput; - export type Error = ChangeSetNotFoundException | CommonAwsError; + export type Error = + | ChangeSetNotFoundException + | CommonAwsError; } export declare namespace GetTemplateSummary { export type Input = GetTemplateSummaryInput; export type Output = GetTemplateSummaryOutput; - export type Error = StackSetNotFoundException | CommonAwsError; + export type Error = + | StackSetNotFoundException + | CommonAwsError; } export declare namespace ImportStacksToStackSet { @@ -3296,31 +3164,37 @@ export declare namespace ImportStacksToStackSet { export declare namespace ListChangeSets { export type Input = ListChangeSetsInput; export type Output = ListChangeSetsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListExports { export type Input = ListExportsInput; export type Output = ListExportsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListGeneratedTemplates { export type Input = ListGeneratedTemplatesInput; export type Output = ListGeneratedTemplatesOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListHookResults { export type Input = ListHookResultsInput; export type Output = ListHookResultsOutput; - export type Error = HookResultNotFoundException | CommonAwsError; + export type Error = + | HookResultNotFoundException + | CommonAwsError; } export declare namespace ListImports { export type Input = ListImportsInput; export type Output = ListImportsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListResourceScanRelatedResources { @@ -3344,7 +3218,8 @@ export declare namespace ListResourceScanResources { export declare namespace ListResourceScans { export type Input = ListResourceScansInput; export type Output = ListResourceScansOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListStackInstanceResourceDrifts { @@ -3360,37 +3235,45 @@ export declare namespace ListStackInstanceResourceDrifts { export declare namespace ListStackInstances { export type Input = ListStackInstancesInput; export type Output = ListStackInstancesOutput; - export type Error = StackSetNotFoundException | CommonAwsError; + export type Error = + | StackSetNotFoundException + | CommonAwsError; } export declare namespace ListStackRefactorActions { export type Input = ListStackRefactorActionsInput; export type Output = ListStackRefactorActionsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListStackRefactors { export type Input = ListStackRefactorsInput; export type Output = ListStackRefactorsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListStackResources { export type Input = ListStackResourcesInput; export type Output = ListStackResourcesOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListStacks { export type Input = ListStacksInput; export type Output = ListStacksOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListStackSetAutoDeploymentTargets { export type Input = ListStackSetAutoDeploymentTargetsInput; export type Output = ListStackSetAutoDeploymentTargetsOutput; - export type Error = StackSetNotFoundException | CommonAwsError; + export type Error = + | StackSetNotFoundException + | CommonAwsError; } export declare namespace ListStackSetOperationResults { @@ -3405,31 +3288,40 @@ export declare namespace ListStackSetOperationResults { export declare namespace ListStackSetOperations { export type Input = ListStackSetOperationsInput; export type Output = ListStackSetOperationsOutput; - export type Error = StackSetNotFoundException | CommonAwsError; + export type Error = + | StackSetNotFoundException + | CommonAwsError; } export declare namespace ListStackSets { export type Input = ListStackSetsInput; export type Output = ListStackSetsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTypeRegistrations { export type Input = ListTypeRegistrationsInput; export type Output = ListTypeRegistrationsOutput; - export type Error = CFNRegistryException | CommonAwsError; + export type Error = + | CFNRegistryException + | CommonAwsError; } export declare namespace ListTypes { export type Input = ListTypesInput; export type Output = ListTypesOutput; - export type Error = CFNRegistryException | CommonAwsError; + export type Error = + | CFNRegistryException + | CommonAwsError; } export declare namespace ListTypeVersions { export type Input = ListTypeVersionsInput; export type Output = ListTypeVersionsOutput; - export type Error = CFNRegistryException | CommonAwsError; + export type Error = + | CFNRegistryException + | CommonAwsError; } export declare namespace PublishType { @@ -3453,25 +3345,32 @@ export declare namespace RecordHandlerProgress { export declare namespace RegisterPublisher { export type Input = RegisterPublisherInput; export type Output = RegisterPublisherOutput; - export type Error = CFNRegistryException | CommonAwsError; + export type Error = + | CFNRegistryException + | CommonAwsError; } export declare namespace RegisterType { export type Input = RegisterTypeInput; export type Output = RegisterTypeOutput; - export type Error = CFNRegistryException | CommonAwsError; + export type Error = + | CFNRegistryException + | CommonAwsError; } export declare namespace RollbackStack { export type Input = RollbackStackInput; export type Output = RollbackStackOutput; - export type Error = TokenAlreadyExistsException | CommonAwsError; + export type Error = + | TokenAlreadyExistsException + | CommonAwsError; } export declare namespace SetStackPolicy { export type Input = SetStackPolicyInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SetTypeConfiguration { @@ -3495,7 +3394,8 @@ export declare namespace SetTypeDefaultVersion { export declare namespace SignalResource { export type Input = SignalResourceInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartResourceScan { @@ -3574,43 +3474,16 @@ export declare namespace UpdateStackSet { export declare namespace UpdateTerminationProtection { export type Input = UpdateTerminationProtectionInput; export type Output = UpdateTerminationProtectionOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ValidateTemplate { export type Input = ValidateTemplateInput; export type Output = ValidateTemplateOutput; - export type Error = CommonAwsError; -} - -export type CloudFormationErrors = - | AlreadyExistsException - | CFNRegistryException - | ChangeSetNotFoundException - | ConcurrentResourcesLimitExceededException - | CreatedButModifiedException - | GeneratedTemplateNotFoundException - | HookResultNotFoundException - | InsufficientCapabilitiesException - | InvalidChangeSetStatusException - | InvalidOperationException - | InvalidStateTransitionException - | LimitExceededException - | NameAlreadyExistsException - | OperationIdAlreadyExistsException - | OperationInProgressException - | OperationNotFoundException - | OperationStatusCheckFailedException - | ResourceScanInProgressException - | ResourceScanLimitExceededException - | ResourceScanNotFoundException - | StackInstanceNotFoundException - | StackNotFoundException - | StackRefactorNotFoundException - | StackSetNotEmptyException - | StackSetNotFoundException - | StaleRequestException - | TokenAlreadyExistsException - | TypeConfigurationNotFoundException - | TypeNotFoundException - | CommonAwsError; + export type Error = + | CommonAwsError; +} + +export type CloudFormationErrors = AlreadyExistsException | CFNRegistryException | ChangeSetNotFoundException | ConcurrentResourcesLimitExceededException | CreatedButModifiedException | GeneratedTemplateNotFoundException | HookResultNotFoundException | InsufficientCapabilitiesException | InvalidChangeSetStatusException | InvalidOperationException | InvalidStateTransitionException | LimitExceededException | NameAlreadyExistsException | OperationIdAlreadyExistsException | OperationInProgressException | OperationNotFoundException | OperationStatusCheckFailedException | ResourceScanInProgressException | ResourceScanLimitExceededException | ResourceScanNotFoundException | StackInstanceNotFoundException | StackNotFoundException | StackRefactorNotFoundException | StackSetNotEmptyException | StackSetNotFoundException | StaleRequestException | TokenAlreadyExistsException | TypeConfigurationNotFoundException | TypeNotFoundException | CommonAwsError; + diff --git a/src/services/cloudfront-keyvaluestore/index.ts b/src/services/cloudfront-keyvaluestore/index.ts index 5d59e898..1c5509f8 100644 --- a/src/services/cloudfront-keyvaluestore/index.ts +++ b/src/services/cloudfront-keyvaluestore/index.ts @@ -5,24 +5,7 @@ import type { CloudFrontKeyValueStore as _CloudFrontKeyValueStoreClient } from " export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,30 +15,30 @@ const metadata = { sigV4ServiceName: "cloudfront-keyvaluestore", endpointPrefix: "cloudfront-keyvaluestore", operations: { - DeleteKey: { + "DeleteKey": { http: "DELETE /key-value-stores/{KvsARN}/keys/{Key}", traits: { - ETag: "ETag", + "ETag": "ETag", }, }, - DescribeKeyValueStore: { + "DescribeKeyValueStore": { http: "GET /key-value-stores/{KvsARN}", traits: { - ETag: "ETag", + "ETag": "ETag", }, }, - GetKey: "GET /key-value-stores/{KvsARN}/keys/{Key}", - ListKeys: "GET /key-value-stores/{KvsARN}/keys", - PutKey: { + "GetKey": "GET /key-value-stores/{KvsARN}/keys/{Key}", + "ListKeys": "GET /key-value-stores/{KvsARN}/keys", + "PutKey": { http: "PUT /key-value-stores/{KvsARN}/keys/{Key}", traits: { - ETag: "ETag", + "ETag": "ETag", }, }, - UpdateKeys: { + "UpdateKeys": { http: "POST /key-value-stores/{KvsARN}/keys", traits: { - ETag: "ETag", + "ETag": "ETag", }, }, }, diff --git a/src/services/cloudfront-keyvaluestore/types.ts b/src/services/cloudfront-keyvaluestore/types.ts index 780cd130..9aafb8b6 100644 --- a/src/services/cloudfront-keyvaluestore/types.ts +++ b/src/services/cloudfront-keyvaluestore/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CloudFrontKeyValueStore extends AWSServiceClient { @@ -41,68 +8,37 @@ export declare class CloudFrontKeyValueStore extends AWSServiceClient { input: DeleteKeyRequest, ): Effect.Effect< DeleteKeyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; describeKeyValueStore( input: DescribeKeyValueStoreRequest, ): Effect.Effect< DescribeKeyValueStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | CommonAwsError >; getKey( input: GetKeyRequest, ): Effect.Effect< GetKeyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | CommonAwsError >; listKeys( input: ListKeysRequest, ): Effect.Effect< ListKeysResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putKey( input: PutKeyRequest, ): Effect.Effect< PutKeyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateKeys( input: UpdateKeysRequest, ): Effect.Effect< UpdateKeysResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -297,11 +233,5 @@ export declare namespace UpdateKeys { | CommonAwsError; } -export type CloudFrontKeyValueStoreErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type CloudFrontKeyValueStoreErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/cloudfront/index.ts b/src/services/cloudfront/index.ts index b35fe031..31f5be72 100644 --- a/src/services/cloudfront/index.ts +++ b/src/services/cloudfront/index.ts @@ -5,26 +5,7 @@ import type { CloudFront as _CloudFrontClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,1118 +15,1118 @@ const metadata = { sigV4ServiceName: "cloudfront", endpointPrefix: "cloudfront", operations: { - AssociateAlias: { + "AssociateAlias": { http: "PUT /2020-05-31/distribution/{TargetDistributionId}/associate-alias", }, - AssociateDistributionTenantWebACL: { + "AssociateDistributionTenantWebACL": { http: "PUT /2020-05-31/distribution-tenant/{Id}/associate-web-acl", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - ETag: "ETag", + "ETag": "ETag", }, }, - AssociateDistributionWebACL: { + "AssociateDistributionWebACL": { http: "PUT /2020-05-31/distribution/{Id}/associate-web-acl", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - ETag: "ETag", + "ETag": "ETag", }, }, - CopyDistribution: { + "CopyDistribution": { http: "POST /2020-05-31/distribution/{PrimaryDistributionId}/copy", inputTraits: { - Staging: "Staging", - IfMatch: "If-Match", + "Staging": "Staging", + "IfMatch": "If-Match", }, outputTraits: { - Distribution: "httpPayload", - Location: "Location", - ETag: "ETag", + "Distribution": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateAnycastIpList: { + "CreateAnycastIpList": { http: "POST /2020-05-31/anycast-ip-list", outputTraits: { - AnycastIpList: "httpPayload", - ETag: "ETag", + "AnycastIpList": "httpPayload", + "ETag": "ETag", }, }, - CreateCachePolicy: { + "CreateCachePolicy": { http: "POST /2020-05-31/cache-policy", inputTraits: { - CachePolicyConfig: "httpPayload", + "CachePolicyConfig": "httpPayload", }, outputTraits: { - CachePolicy: "httpPayload", - Location: "Location", - ETag: "ETag", + "CachePolicy": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateCloudFrontOriginAccessIdentity: { + "CreateCloudFrontOriginAccessIdentity": { http: "POST /2020-05-31/origin-access-identity/cloudfront", inputTraits: { - CloudFrontOriginAccessIdentityConfig: "httpPayload", + "CloudFrontOriginAccessIdentityConfig": "httpPayload", }, outputTraits: { - CloudFrontOriginAccessIdentity: "httpPayload", - Location: "Location", - ETag: "ETag", + "CloudFrontOriginAccessIdentity": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateConnectionGroup: { + "CreateConnectionGroup": { http: "POST /2020-05-31/connection-group", outputTraits: { - ConnectionGroup: "httpPayload", - ETag: "ETag", + "ConnectionGroup": "httpPayload", + "ETag": "ETag", }, }, - CreateContinuousDeploymentPolicy: { + "CreateContinuousDeploymentPolicy": { http: "POST /2020-05-31/continuous-deployment-policy", inputTraits: { - ContinuousDeploymentPolicyConfig: "httpPayload", + "ContinuousDeploymentPolicyConfig": "httpPayload", }, outputTraits: { - ContinuousDeploymentPolicy: "httpPayload", - Location: "Location", - ETag: "ETag", + "ContinuousDeploymentPolicy": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateDistribution: { + "CreateDistribution": { http: "POST /2020-05-31/distribution", inputTraits: { - DistributionConfig: "httpPayload", + "DistributionConfig": "httpPayload", }, outputTraits: { - Distribution: "httpPayload", - Location: "Location", - ETag: "ETag", + "Distribution": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateDistributionTenant: { + "CreateDistributionTenant": { http: "POST /2020-05-31/distribution-tenant", outputTraits: { - DistributionTenant: "httpPayload", - ETag: "ETag", + "DistributionTenant": "httpPayload", + "ETag": "ETag", }, }, - CreateDistributionWithTags: { + "CreateDistributionWithTags": { http: "POST /2020-05-31/distribution?WithTags", inputTraits: { - DistributionConfigWithTags: "httpPayload", + "DistributionConfigWithTags": "httpPayload", }, outputTraits: { - Distribution: "httpPayload", - Location: "Location", - ETag: "ETag", + "Distribution": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateFieldLevelEncryptionConfig: { + "CreateFieldLevelEncryptionConfig": { http: "POST /2020-05-31/field-level-encryption", inputTraits: { - FieldLevelEncryptionConfig: "httpPayload", + "FieldLevelEncryptionConfig": "httpPayload", }, outputTraits: { - FieldLevelEncryption: "httpPayload", - Location: "Location", - ETag: "ETag", + "FieldLevelEncryption": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateFieldLevelEncryptionProfile: { + "CreateFieldLevelEncryptionProfile": { http: "POST /2020-05-31/field-level-encryption-profile", inputTraits: { - FieldLevelEncryptionProfileConfig: "httpPayload", + "FieldLevelEncryptionProfileConfig": "httpPayload", }, outputTraits: { - FieldLevelEncryptionProfile: "httpPayload", - Location: "Location", - ETag: "ETag", + "FieldLevelEncryptionProfile": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateFunction: { + "CreateFunction": { http: "POST /2020-05-31/function", outputTraits: { - FunctionSummary: "httpPayload", - Location: "Location", - ETag: "ETag", + "FunctionSummary": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateInvalidation: { + "CreateInvalidation": { http: "POST /2020-05-31/distribution/{DistributionId}/invalidation", inputTraits: { - InvalidationBatch: "httpPayload", + "InvalidationBatch": "httpPayload", }, outputTraits: { - Location: "Location", - Invalidation: "httpPayload", + "Location": "Location", + "Invalidation": "httpPayload", }, }, - CreateInvalidationForDistributionTenant: { + "CreateInvalidationForDistributionTenant": { http: "POST /2020-05-31/distribution-tenant/{Id}/invalidation", inputTraits: { - InvalidationBatch: "httpPayload", + "InvalidationBatch": "httpPayload", }, outputTraits: { - Location: "Location", - Invalidation: "httpPayload", + "Location": "Location", + "Invalidation": "httpPayload", }, }, - CreateKeyGroup: { + "CreateKeyGroup": { http: "POST /2020-05-31/key-group", inputTraits: { - KeyGroupConfig: "httpPayload", + "KeyGroupConfig": "httpPayload", }, outputTraits: { - KeyGroup: "httpPayload", - Location: "Location", - ETag: "ETag", + "KeyGroup": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateKeyValueStore: { + "CreateKeyValueStore": { http: "POST /2020-05-31/key-value-store", outputTraits: { - KeyValueStore: "httpPayload", - ETag: "ETag", - Location: "Location", + "KeyValueStore": "httpPayload", + "ETag": "ETag", + "Location": "Location", }, }, - CreateMonitoringSubscription: { + "CreateMonitoringSubscription": { http: "POST /2020-05-31/distributions/{DistributionId}/monitoring-subscription", inputTraits: { - MonitoringSubscription: "httpPayload", + "MonitoringSubscription": "httpPayload", }, outputTraits: { - MonitoringSubscription: "httpPayload", + "MonitoringSubscription": "httpPayload", }, }, - CreateOriginAccessControl: { + "CreateOriginAccessControl": { http: "POST /2020-05-31/origin-access-control", inputTraits: { - OriginAccessControlConfig: "httpPayload", + "OriginAccessControlConfig": "httpPayload", }, outputTraits: { - OriginAccessControl: "httpPayload", - Location: "Location", - ETag: "ETag", + "OriginAccessControl": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateOriginRequestPolicy: { + "CreateOriginRequestPolicy": { http: "POST /2020-05-31/origin-request-policy", inputTraits: { - OriginRequestPolicyConfig: "httpPayload", + "OriginRequestPolicyConfig": "httpPayload", }, outputTraits: { - OriginRequestPolicy: "httpPayload", - Location: "Location", - ETag: "ETag", + "OriginRequestPolicy": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreatePublicKey: { + "CreatePublicKey": { http: "POST /2020-05-31/public-key", inputTraits: { - PublicKeyConfig: "httpPayload", + "PublicKeyConfig": "httpPayload", }, outputTraits: { - PublicKey: "httpPayload", - Location: "Location", - ETag: "ETag", + "PublicKey": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateRealtimeLogConfig: { + "CreateRealtimeLogConfig": { http: "POST /2020-05-31/realtime-log-config", }, - CreateResponseHeadersPolicy: { + "CreateResponseHeadersPolicy": { http: "POST /2020-05-31/response-headers-policy", inputTraits: { - ResponseHeadersPolicyConfig: "httpPayload", + "ResponseHeadersPolicyConfig": "httpPayload", }, outputTraits: { - ResponseHeadersPolicy: "httpPayload", - Location: "Location", - ETag: "ETag", + "ResponseHeadersPolicy": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateStreamingDistribution: { + "CreateStreamingDistribution": { http: "POST /2020-05-31/streaming-distribution", inputTraits: { - StreamingDistributionConfig: "httpPayload", + "StreamingDistributionConfig": "httpPayload", }, outputTraits: { - StreamingDistribution: "httpPayload", - Location: "Location", - ETag: "ETag", + "StreamingDistribution": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateStreamingDistributionWithTags: { + "CreateStreamingDistributionWithTags": { http: "POST /2020-05-31/streaming-distribution?WithTags", inputTraits: { - StreamingDistributionConfigWithTags: "httpPayload", + "StreamingDistributionConfigWithTags": "httpPayload", }, outputTraits: { - StreamingDistribution: "httpPayload", - Location: "Location", - ETag: "ETag", + "StreamingDistribution": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - CreateVpcOrigin: { + "CreateVpcOrigin": { http: "POST /2020-05-31/vpc-origin", outputTraits: { - VpcOrigin: "httpPayload", - Location: "Location", - ETag: "ETag", + "VpcOrigin": "httpPayload", + "Location": "Location", + "ETag": "ETag", }, }, - DeleteAnycastIpList: { + "DeleteAnycastIpList": { http: "DELETE /2020-05-31/anycast-ip-list/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteCachePolicy: { + "DeleteCachePolicy": { http: "DELETE /2020-05-31/cache-policy/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteCloudFrontOriginAccessIdentity: { + "DeleteCloudFrontOriginAccessIdentity": { http: "DELETE /2020-05-31/origin-access-identity/cloudfront/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteConnectionGroup: { + "DeleteConnectionGroup": { http: "DELETE /2020-05-31/connection-group/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteContinuousDeploymentPolicy: { + "DeleteContinuousDeploymentPolicy": { http: "DELETE /2020-05-31/continuous-deployment-policy/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteDistribution: { + "DeleteDistribution": { http: "DELETE /2020-05-31/distribution/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteDistributionTenant: { + "DeleteDistributionTenant": { http: "DELETE /2020-05-31/distribution-tenant/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteFieldLevelEncryptionConfig: { + "DeleteFieldLevelEncryptionConfig": { http: "DELETE /2020-05-31/field-level-encryption/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteFieldLevelEncryptionProfile: { + "DeleteFieldLevelEncryptionProfile": { http: "DELETE /2020-05-31/field-level-encryption-profile/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteFunction: { + "DeleteFunction": { http: "DELETE /2020-05-31/function/{Name}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteKeyGroup: { + "DeleteKeyGroup": { http: "DELETE /2020-05-31/key-group/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteKeyValueStore: { + "DeleteKeyValueStore": { http: "DELETE /2020-05-31/key-value-store/{Name}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteMonitoringSubscription: { + "DeleteMonitoringSubscription": { http: "DELETE /2020-05-31/distributions/{DistributionId}/monitoring-subscription", }, - DeleteOriginAccessControl: { + "DeleteOriginAccessControl": { http: "DELETE /2020-05-31/origin-access-control/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteOriginRequestPolicy: { + "DeleteOriginRequestPolicy": { http: "DELETE /2020-05-31/origin-request-policy/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeletePublicKey: { + "DeletePublicKey": { http: "DELETE /2020-05-31/public-key/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteRealtimeLogConfig: { + "DeleteRealtimeLogConfig": { http: "POST /2020-05-31/delete-realtime-log-config", }, - DeleteResourcePolicy: { + "DeleteResourcePolicy": { http: "POST /2020-05-31/delete-resource-policy", }, - DeleteResponseHeadersPolicy: { + "DeleteResponseHeadersPolicy": { http: "DELETE /2020-05-31/response-headers-policy/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteStreamingDistribution: { + "DeleteStreamingDistribution": { http: "DELETE /2020-05-31/streaming-distribution/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, }, - DeleteVpcOrigin: { + "DeleteVpcOrigin": { http: "DELETE /2020-05-31/vpc-origin/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - VpcOrigin: "httpPayload", - ETag: "ETag", + "VpcOrigin": "httpPayload", + "ETag": "ETag", }, }, - DescribeFunction: { + "DescribeFunction": { http: "GET /2020-05-31/function/{Name}/describe", outputTraits: { - FunctionSummary: "httpPayload", - ETag: "ETag", + "FunctionSummary": "httpPayload", + "ETag": "ETag", }, }, - DescribeKeyValueStore: { + "DescribeKeyValueStore": { http: "GET /2020-05-31/key-value-store/{Name}", outputTraits: { - KeyValueStore: "httpPayload", - ETag: "ETag", + "KeyValueStore": "httpPayload", + "ETag": "ETag", }, }, - DisassociateDistributionTenantWebACL: { + "DisassociateDistributionTenantWebACL": { http: "PUT /2020-05-31/distribution-tenant/{Id}/disassociate-web-acl", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - ETag: "ETag", + "ETag": "ETag", }, }, - DisassociateDistributionWebACL: { + "DisassociateDistributionWebACL": { http: "PUT /2020-05-31/distribution/{Id}/disassociate-web-acl", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - ETag: "ETag", + "ETag": "ETag", }, }, - GetAnycastIpList: { + "GetAnycastIpList": { http: "GET /2020-05-31/anycast-ip-list/{Id}", outputTraits: { - AnycastIpList: "httpPayload", - ETag: "ETag", + "AnycastIpList": "httpPayload", + "ETag": "ETag", }, }, - GetCachePolicy: { + "GetCachePolicy": { http: "GET /2020-05-31/cache-policy/{Id}", outputTraits: { - CachePolicy: "httpPayload", - ETag: "ETag", + "CachePolicy": "httpPayload", + "ETag": "ETag", }, }, - GetCachePolicyConfig: { + "GetCachePolicyConfig": { http: "GET /2020-05-31/cache-policy/{Id}/config", outputTraits: { - CachePolicyConfig: "httpPayload", - ETag: "ETag", + "CachePolicyConfig": "httpPayload", + "ETag": "ETag", }, }, - GetCloudFrontOriginAccessIdentity: { + "GetCloudFrontOriginAccessIdentity": { http: "GET /2020-05-31/origin-access-identity/cloudfront/{Id}", outputTraits: { - CloudFrontOriginAccessIdentity: "httpPayload", - ETag: "ETag", + "CloudFrontOriginAccessIdentity": "httpPayload", + "ETag": "ETag", }, }, - GetCloudFrontOriginAccessIdentityConfig: { + "GetCloudFrontOriginAccessIdentityConfig": { http: "GET /2020-05-31/origin-access-identity/cloudfront/{Id}/config", outputTraits: { - CloudFrontOriginAccessIdentityConfig: "httpPayload", - ETag: "ETag", + "CloudFrontOriginAccessIdentityConfig": "httpPayload", + "ETag": "ETag", }, }, - GetConnectionGroup: { + "GetConnectionGroup": { http: "GET /2020-05-31/connection-group/{Identifier}", outputTraits: { - ConnectionGroup: "httpPayload", - ETag: "ETag", + "ConnectionGroup": "httpPayload", + "ETag": "ETag", }, }, - GetConnectionGroupByRoutingEndpoint: { + "GetConnectionGroupByRoutingEndpoint": { http: "GET /2020-05-31/connection-group", outputTraits: { - ConnectionGroup: "httpPayload", - ETag: "ETag", + "ConnectionGroup": "httpPayload", + "ETag": "ETag", }, }, - GetContinuousDeploymentPolicy: { + "GetContinuousDeploymentPolicy": { http: "GET /2020-05-31/continuous-deployment-policy/{Id}", outputTraits: { - ContinuousDeploymentPolicy: "httpPayload", - ETag: "ETag", + "ContinuousDeploymentPolicy": "httpPayload", + "ETag": "ETag", }, }, - GetContinuousDeploymentPolicyConfig: { + "GetContinuousDeploymentPolicyConfig": { http: "GET /2020-05-31/continuous-deployment-policy/{Id}/config", outputTraits: { - ContinuousDeploymentPolicyConfig: "httpPayload", - ETag: "ETag", + "ContinuousDeploymentPolicyConfig": "httpPayload", + "ETag": "ETag", }, }, - GetDistribution: { + "GetDistribution": { http: "GET /2020-05-31/distribution/{Id}", outputTraits: { - Distribution: "httpPayload", - ETag: "ETag", + "Distribution": "httpPayload", + "ETag": "ETag", }, }, - GetDistributionConfig: { + "GetDistributionConfig": { http: "GET /2020-05-31/distribution/{Id}/config", outputTraits: { - DistributionConfig: "httpPayload", - ETag: "ETag", + "DistributionConfig": "httpPayload", + "ETag": "ETag", }, }, - GetDistributionTenant: { + "GetDistributionTenant": { http: "GET /2020-05-31/distribution-tenant/{Identifier}", outputTraits: { - DistributionTenant: "httpPayload", - ETag: "ETag", + "DistributionTenant": "httpPayload", + "ETag": "ETag", }, }, - GetDistributionTenantByDomain: { + "GetDistributionTenantByDomain": { http: "GET /2020-05-31/distribution-tenant", outputTraits: { - DistributionTenant: "httpPayload", - ETag: "ETag", + "DistributionTenant": "httpPayload", + "ETag": "ETag", }, }, - GetFieldLevelEncryption: { + "GetFieldLevelEncryption": { http: "GET /2020-05-31/field-level-encryption/{Id}", outputTraits: { - FieldLevelEncryption: "httpPayload", - ETag: "ETag", + "FieldLevelEncryption": "httpPayload", + "ETag": "ETag", }, }, - GetFieldLevelEncryptionConfig: { + "GetFieldLevelEncryptionConfig": { http: "GET /2020-05-31/field-level-encryption/{Id}/config", outputTraits: { - FieldLevelEncryptionConfig: "httpPayload", - ETag: "ETag", + "FieldLevelEncryptionConfig": "httpPayload", + "ETag": "ETag", }, }, - GetFieldLevelEncryptionProfile: { + "GetFieldLevelEncryptionProfile": { http: "GET /2020-05-31/field-level-encryption-profile/{Id}", outputTraits: { - FieldLevelEncryptionProfile: "httpPayload", - ETag: "ETag", + "FieldLevelEncryptionProfile": "httpPayload", + "ETag": "ETag", }, }, - GetFieldLevelEncryptionProfileConfig: { + "GetFieldLevelEncryptionProfileConfig": { http: "GET /2020-05-31/field-level-encryption-profile/{Id}/config", outputTraits: { - FieldLevelEncryptionProfileConfig: "httpPayload", - ETag: "ETag", + "FieldLevelEncryptionProfileConfig": "httpPayload", + "ETag": "ETag", }, }, - GetFunction: { + "GetFunction": { http: "GET /2020-05-31/function/{Name}", outputTraits: { - FunctionCode: "httpPayload", - ETag: "ETag", - ContentType: "Content-Type", + "FunctionCode": "httpPayload", + "ETag": "ETag", + "ContentType": "Content-Type", }, }, - GetInvalidation: { + "GetInvalidation": { http: "GET /2020-05-31/distribution/{DistributionId}/invalidation/{Id}", outputTraits: { - Invalidation: "httpPayload", + "Invalidation": "httpPayload", }, }, - GetInvalidationForDistributionTenant: { + "GetInvalidationForDistributionTenant": { http: "GET /2020-05-31/distribution-tenant/{DistributionTenantId}/invalidation/{Id}", outputTraits: { - Invalidation: "httpPayload", + "Invalidation": "httpPayload", }, }, - GetKeyGroup: { + "GetKeyGroup": { http: "GET /2020-05-31/key-group/{Id}", outputTraits: { - KeyGroup: "httpPayload", - ETag: "ETag", + "KeyGroup": "httpPayload", + "ETag": "ETag", }, }, - GetKeyGroupConfig: { + "GetKeyGroupConfig": { http: "GET /2020-05-31/key-group/{Id}/config", outputTraits: { - KeyGroupConfig: "httpPayload", - ETag: "ETag", + "KeyGroupConfig": "httpPayload", + "ETag": "ETag", }, }, - GetManagedCertificateDetails: { + "GetManagedCertificateDetails": { http: "GET /2020-05-31/managed-certificate/{Identifier}", outputTraits: { - ManagedCertificateDetails: "httpPayload", + "ManagedCertificateDetails": "httpPayload", }, }, - GetMonitoringSubscription: { + "GetMonitoringSubscription": { http: "GET /2020-05-31/distributions/{DistributionId}/monitoring-subscription", outputTraits: { - MonitoringSubscription: "httpPayload", + "MonitoringSubscription": "httpPayload", }, }, - GetOriginAccessControl: { + "GetOriginAccessControl": { http: "GET /2020-05-31/origin-access-control/{Id}", outputTraits: { - OriginAccessControl: "httpPayload", - ETag: "ETag", + "OriginAccessControl": "httpPayload", + "ETag": "ETag", }, }, - GetOriginAccessControlConfig: { + "GetOriginAccessControlConfig": { http: "GET /2020-05-31/origin-access-control/{Id}/config", outputTraits: { - OriginAccessControlConfig: "httpPayload", - ETag: "ETag", + "OriginAccessControlConfig": "httpPayload", + "ETag": "ETag", }, }, - GetOriginRequestPolicy: { + "GetOriginRequestPolicy": { http: "GET /2020-05-31/origin-request-policy/{Id}", outputTraits: { - OriginRequestPolicy: "httpPayload", - ETag: "ETag", + "OriginRequestPolicy": "httpPayload", + "ETag": "ETag", }, }, - GetOriginRequestPolicyConfig: { + "GetOriginRequestPolicyConfig": { http: "GET /2020-05-31/origin-request-policy/{Id}/config", outputTraits: { - OriginRequestPolicyConfig: "httpPayload", - ETag: "ETag", + "OriginRequestPolicyConfig": "httpPayload", + "ETag": "ETag", }, }, - GetPublicKey: { + "GetPublicKey": { http: "GET /2020-05-31/public-key/{Id}", outputTraits: { - PublicKey: "httpPayload", - ETag: "ETag", + "PublicKey": "httpPayload", + "ETag": "ETag", }, }, - GetPublicKeyConfig: { + "GetPublicKeyConfig": { http: "GET /2020-05-31/public-key/{Id}/config", outputTraits: { - PublicKeyConfig: "httpPayload", - ETag: "ETag", + "PublicKeyConfig": "httpPayload", + "ETag": "ETag", }, }, - GetRealtimeLogConfig: { + "GetRealtimeLogConfig": { http: "POST /2020-05-31/get-realtime-log-config", }, - GetResourcePolicy: { + "GetResourcePolicy": { http: "POST /2020-05-31/get-resource-policy", }, - GetResponseHeadersPolicy: { + "GetResponseHeadersPolicy": { http: "GET /2020-05-31/response-headers-policy/{Id}", outputTraits: { - ResponseHeadersPolicy: "httpPayload", - ETag: "ETag", + "ResponseHeadersPolicy": "httpPayload", + "ETag": "ETag", }, }, - GetResponseHeadersPolicyConfig: { + "GetResponseHeadersPolicyConfig": { http: "GET /2020-05-31/response-headers-policy/{Id}/config", outputTraits: { - ResponseHeadersPolicyConfig: "httpPayload", - ETag: "ETag", + "ResponseHeadersPolicyConfig": "httpPayload", + "ETag": "ETag", }, }, - GetStreamingDistribution: { + "GetStreamingDistribution": { http: "GET /2020-05-31/streaming-distribution/{Id}", outputTraits: { - StreamingDistribution: "httpPayload", - ETag: "ETag", + "StreamingDistribution": "httpPayload", + "ETag": "ETag", }, }, - GetStreamingDistributionConfig: { + "GetStreamingDistributionConfig": { http: "GET /2020-05-31/streaming-distribution/{Id}/config", outputTraits: { - StreamingDistributionConfig: "httpPayload", - ETag: "ETag", + "StreamingDistributionConfig": "httpPayload", + "ETag": "ETag", }, }, - GetVpcOrigin: { + "GetVpcOrigin": { http: "GET /2020-05-31/vpc-origin/{Id}", outputTraits: { - VpcOrigin: "httpPayload", - ETag: "ETag", + "VpcOrigin": "httpPayload", + "ETag": "ETag", }, }, - ListAnycastIpLists: { + "ListAnycastIpLists": { http: "GET /2020-05-31/anycast-ip-list", outputTraits: { - AnycastIpLists: "httpPayload", + "AnycastIpLists": "httpPayload", }, }, - ListCachePolicies: { + "ListCachePolicies": { http: "GET /2020-05-31/cache-policy", outputTraits: { - CachePolicyList: "httpPayload", + "CachePolicyList": "httpPayload", }, }, - ListCloudFrontOriginAccessIdentities: { + "ListCloudFrontOriginAccessIdentities": { http: "GET /2020-05-31/origin-access-identity/cloudfront", outputTraits: { - CloudFrontOriginAccessIdentityList: "httpPayload", + "CloudFrontOriginAccessIdentityList": "httpPayload", }, }, - ListConflictingAliases: { + "ListConflictingAliases": { http: "GET /2020-05-31/conflicting-alias", outputTraits: { - ConflictingAliasesList: "httpPayload", + "ConflictingAliasesList": "httpPayload", }, }, - ListConnectionGroups: { + "ListConnectionGroups": { http: "POST /2020-05-31/connection-groups", }, - ListContinuousDeploymentPolicies: { + "ListContinuousDeploymentPolicies": { http: "GET /2020-05-31/continuous-deployment-policy", outputTraits: { - ContinuousDeploymentPolicyList: "httpPayload", + "ContinuousDeploymentPolicyList": "httpPayload", }, }, - ListDistributions: { + "ListDistributions": { http: "GET /2020-05-31/distribution", outputTraits: { - DistributionList: "httpPayload", + "DistributionList": "httpPayload", }, }, - ListDistributionsByAnycastIpListId: { + "ListDistributionsByAnycastIpListId": { http: "GET /2020-05-31/distributionsByAnycastIpListId/{AnycastIpListId}", outputTraits: { - DistributionList: "httpPayload", + "DistributionList": "httpPayload", }, }, - ListDistributionsByCachePolicyId: { + "ListDistributionsByCachePolicyId": { http: "GET /2020-05-31/distributionsByCachePolicyId/{CachePolicyId}", outputTraits: { - DistributionIdList: "httpPayload", + "DistributionIdList": "httpPayload", }, }, - ListDistributionsByConnectionMode: { + "ListDistributionsByConnectionMode": { http: "GET /2020-05-31/distributionsByConnectionMode/{ConnectionMode}", outputTraits: { - DistributionList: "httpPayload", + "DistributionList": "httpPayload", }, }, - ListDistributionsByKeyGroup: { + "ListDistributionsByKeyGroup": { http: "GET /2020-05-31/distributionsByKeyGroupId/{KeyGroupId}", outputTraits: { - DistributionIdList: "httpPayload", + "DistributionIdList": "httpPayload", }, }, - ListDistributionsByOriginRequestPolicyId: { + "ListDistributionsByOriginRequestPolicyId": { http: "GET /2020-05-31/distributionsByOriginRequestPolicyId/{OriginRequestPolicyId}", outputTraits: { - DistributionIdList: "httpPayload", + "DistributionIdList": "httpPayload", }, }, - ListDistributionsByOwnedResource: { + "ListDistributionsByOwnedResource": { http: "GET /2020-05-31/distributionsByOwnedResource/{ResourceArn}", outputTraits: { - DistributionList: "httpPayload", + "DistributionList": "httpPayload", }, }, - ListDistributionsByRealtimeLogConfig: { + "ListDistributionsByRealtimeLogConfig": { http: "POST /2020-05-31/distributionsByRealtimeLogConfig", outputTraits: { - DistributionList: "httpPayload", + "DistributionList": "httpPayload", }, }, - ListDistributionsByResponseHeadersPolicyId: { + "ListDistributionsByResponseHeadersPolicyId": { http: "GET /2020-05-31/distributionsByResponseHeadersPolicyId/{ResponseHeadersPolicyId}", outputTraits: { - DistributionIdList: "httpPayload", + "DistributionIdList": "httpPayload", }, }, - ListDistributionsByVpcOriginId: { + "ListDistributionsByVpcOriginId": { http: "GET /2020-05-31/distributionsByVpcOriginId/{VpcOriginId}", outputTraits: { - DistributionIdList: "httpPayload", + "DistributionIdList": "httpPayload", }, }, - ListDistributionsByWebACLId: { + "ListDistributionsByWebACLId": { http: "GET /2020-05-31/distributionsByWebACLId/{WebACLId}", outputTraits: { - DistributionList: "httpPayload", + "DistributionList": "httpPayload", }, }, - ListDistributionTenants: { + "ListDistributionTenants": { http: "POST /2020-05-31/distribution-tenants", }, - ListDistributionTenantsByCustomization: { + "ListDistributionTenantsByCustomization": { http: "POST /2020-05-31/distribution-tenants-by-customization", }, - ListDomainConflicts: { + "ListDomainConflicts": { http: "POST /2020-05-31/domain-conflicts", }, - ListFieldLevelEncryptionConfigs: { + "ListFieldLevelEncryptionConfigs": { http: "GET /2020-05-31/field-level-encryption", outputTraits: { - FieldLevelEncryptionList: "httpPayload", + "FieldLevelEncryptionList": "httpPayload", }, }, - ListFieldLevelEncryptionProfiles: { + "ListFieldLevelEncryptionProfiles": { http: "GET /2020-05-31/field-level-encryption-profile", outputTraits: { - FieldLevelEncryptionProfileList: "httpPayload", + "FieldLevelEncryptionProfileList": "httpPayload", }, }, - ListFunctions: { + "ListFunctions": { http: "GET /2020-05-31/function", outputTraits: { - FunctionList: "httpPayload", + "FunctionList": "httpPayload", }, }, - ListInvalidations: { + "ListInvalidations": { http: "GET /2020-05-31/distribution/{DistributionId}/invalidation", outputTraits: { - InvalidationList: "httpPayload", + "InvalidationList": "httpPayload", }, }, - ListInvalidationsForDistributionTenant: { + "ListInvalidationsForDistributionTenant": { http: "GET /2020-05-31/distribution-tenant/{Id}/invalidation", outputTraits: { - InvalidationList: "httpPayload", + "InvalidationList": "httpPayload", }, }, - ListKeyGroups: { + "ListKeyGroups": { http: "GET /2020-05-31/key-group", outputTraits: { - KeyGroupList: "httpPayload", + "KeyGroupList": "httpPayload", }, }, - ListKeyValueStores: { + "ListKeyValueStores": { http: "GET /2020-05-31/key-value-store", outputTraits: { - KeyValueStoreList: "httpPayload", + "KeyValueStoreList": "httpPayload", }, }, - ListOriginAccessControls: { + "ListOriginAccessControls": { http: "GET /2020-05-31/origin-access-control", outputTraits: { - OriginAccessControlList: "httpPayload", + "OriginAccessControlList": "httpPayload", }, }, - ListOriginRequestPolicies: { + "ListOriginRequestPolicies": { http: "GET /2020-05-31/origin-request-policy", outputTraits: { - OriginRequestPolicyList: "httpPayload", + "OriginRequestPolicyList": "httpPayload", }, }, - ListPublicKeys: { + "ListPublicKeys": { http: "GET /2020-05-31/public-key", outputTraits: { - PublicKeyList: "httpPayload", + "PublicKeyList": "httpPayload", }, }, - ListRealtimeLogConfigs: { + "ListRealtimeLogConfigs": { http: "GET /2020-05-31/realtime-log-config", outputTraits: { - RealtimeLogConfigs: "httpPayload", + "RealtimeLogConfigs": "httpPayload", }, }, - ListResponseHeadersPolicies: { + "ListResponseHeadersPolicies": { http: "GET /2020-05-31/response-headers-policy", outputTraits: { - ResponseHeadersPolicyList: "httpPayload", + "ResponseHeadersPolicyList": "httpPayload", }, }, - ListStreamingDistributions: { + "ListStreamingDistributions": { http: "GET /2020-05-31/streaming-distribution", outputTraits: { - StreamingDistributionList: "httpPayload", + "StreamingDistributionList": "httpPayload", }, }, - ListTagsForResource: { + "ListTagsForResource": { http: "GET /2020-05-31/tagging", outputTraits: { - Tags: "httpPayload", + "Tags": "httpPayload", }, }, - ListVpcOrigins: { + "ListVpcOrigins": { http: "GET /2020-05-31/vpc-origin", outputTraits: { - VpcOriginList: "httpPayload", + "VpcOriginList": "httpPayload", }, }, - PublishFunction: { + "PublishFunction": { http: "POST /2020-05-31/function/{Name}/publish", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - FunctionSummary: "httpPayload", + "FunctionSummary": "httpPayload", }, }, - PutResourcePolicy: { + "PutResourcePolicy": { http: "POST /2020-05-31/put-resource-policy", }, - TagResource: { + "TagResource": { http: "POST /2020-05-31/tagging?Operation=Tag", inputTraits: { - Tags: "httpPayload", + "Tags": "httpPayload", }, }, - TestFunction: { + "TestFunction": { http: "POST /2020-05-31/function/{Name}/test", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - TestResult: "httpPayload", + "TestResult": "httpPayload", }, }, - UntagResource: { + "UntagResource": { http: "POST /2020-05-31/tagging?Operation=Untag", inputTraits: { - TagKeys: "httpPayload", + "TagKeys": "httpPayload", }, }, - UpdateAnycastIpList: { + "UpdateAnycastIpList": { http: "PUT /2020-05-31/anycast-ip-list/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - AnycastIpList: "httpPayload", - ETag: "ETag", + "AnycastIpList": "httpPayload", + "ETag": "ETag", }, }, - UpdateCachePolicy: { + "UpdateCachePolicy": { http: "PUT /2020-05-31/cache-policy/{Id}", inputTraits: { - CachePolicyConfig: "httpPayload", - IfMatch: "If-Match", + "CachePolicyConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - CachePolicy: "httpPayload", - ETag: "ETag", + "CachePolicy": "httpPayload", + "ETag": "ETag", }, }, - UpdateCloudFrontOriginAccessIdentity: { + "UpdateCloudFrontOriginAccessIdentity": { http: "PUT /2020-05-31/origin-access-identity/cloudfront/{Id}/config", inputTraits: { - CloudFrontOriginAccessIdentityConfig: "httpPayload", - IfMatch: "If-Match", + "CloudFrontOriginAccessIdentityConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - CloudFrontOriginAccessIdentity: "httpPayload", - ETag: "ETag", + "CloudFrontOriginAccessIdentity": "httpPayload", + "ETag": "ETag", }, }, - UpdateConnectionGroup: { + "UpdateConnectionGroup": { http: "PUT /2020-05-31/connection-group/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - ConnectionGroup: "httpPayload", - ETag: "ETag", + "ConnectionGroup": "httpPayload", + "ETag": "ETag", }, }, - UpdateContinuousDeploymentPolicy: { + "UpdateContinuousDeploymentPolicy": { http: "PUT /2020-05-31/continuous-deployment-policy/{Id}", inputTraits: { - ContinuousDeploymentPolicyConfig: "httpPayload", - IfMatch: "If-Match", + "ContinuousDeploymentPolicyConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - ContinuousDeploymentPolicy: "httpPayload", - ETag: "ETag", + "ContinuousDeploymentPolicy": "httpPayload", + "ETag": "ETag", }, }, - UpdateDistribution: { + "UpdateDistribution": { http: "PUT /2020-05-31/distribution/{Id}/config", inputTraits: { - DistributionConfig: "httpPayload", - IfMatch: "If-Match", + "DistributionConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - Distribution: "httpPayload", - ETag: "ETag", + "Distribution": "httpPayload", + "ETag": "ETag", }, }, - UpdateDistributionTenant: { + "UpdateDistributionTenant": { http: "PUT /2020-05-31/distribution-tenant/{Id}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - DistributionTenant: "httpPayload", - ETag: "ETag", + "DistributionTenant": "httpPayload", + "ETag": "ETag", }, }, - UpdateDistributionWithStagingConfig: { + "UpdateDistributionWithStagingConfig": { http: "PUT /2020-05-31/distribution/{Id}/promote-staging-config", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - Distribution: "httpPayload", - ETag: "ETag", + "Distribution": "httpPayload", + "ETag": "ETag", }, }, - UpdateDomainAssociation: { + "UpdateDomainAssociation": { http: "POST /2020-05-31/domain-association", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - ETag: "ETag", + "ETag": "ETag", }, }, - UpdateFieldLevelEncryptionConfig: { + "UpdateFieldLevelEncryptionConfig": { http: "PUT /2020-05-31/field-level-encryption/{Id}/config", inputTraits: { - FieldLevelEncryptionConfig: "httpPayload", - IfMatch: "If-Match", + "FieldLevelEncryptionConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - FieldLevelEncryption: "httpPayload", - ETag: "ETag", + "FieldLevelEncryption": "httpPayload", + "ETag": "ETag", }, }, - UpdateFieldLevelEncryptionProfile: { + "UpdateFieldLevelEncryptionProfile": { http: "PUT /2020-05-31/field-level-encryption-profile/{Id}/config", inputTraits: { - FieldLevelEncryptionProfileConfig: "httpPayload", - IfMatch: "If-Match", + "FieldLevelEncryptionProfileConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - FieldLevelEncryptionProfile: "httpPayload", - ETag: "ETag", + "FieldLevelEncryptionProfile": "httpPayload", + "ETag": "ETag", }, }, - UpdateFunction: { + "UpdateFunction": { http: "PUT /2020-05-31/function/{Name}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - FunctionSummary: "httpPayload", - ETag: "ETtag", + "FunctionSummary": "httpPayload", + "ETag": "ETtag", }, }, - UpdateKeyGroup: { + "UpdateKeyGroup": { http: "PUT /2020-05-31/key-group/{Id}", inputTraits: { - KeyGroupConfig: "httpPayload", - IfMatch: "If-Match", + "KeyGroupConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - KeyGroup: "httpPayload", - ETag: "ETag", + "KeyGroup": "httpPayload", + "ETag": "ETag", }, }, - UpdateKeyValueStore: { + "UpdateKeyValueStore": { http: "PUT /2020-05-31/key-value-store/{Name}", inputTraits: { - IfMatch: "If-Match", + "IfMatch": "If-Match", }, outputTraits: { - KeyValueStore: "httpPayload", - ETag: "ETag", + "KeyValueStore": "httpPayload", + "ETag": "ETag", }, }, - UpdateOriginAccessControl: { + "UpdateOriginAccessControl": { http: "PUT /2020-05-31/origin-access-control/{Id}/config", inputTraits: { - OriginAccessControlConfig: "httpPayload", - IfMatch: "If-Match", + "OriginAccessControlConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - OriginAccessControl: "httpPayload", - ETag: "ETag", + "OriginAccessControl": "httpPayload", + "ETag": "ETag", }, }, - UpdateOriginRequestPolicy: { + "UpdateOriginRequestPolicy": { http: "PUT /2020-05-31/origin-request-policy/{Id}", inputTraits: { - OriginRequestPolicyConfig: "httpPayload", - IfMatch: "If-Match", + "OriginRequestPolicyConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - OriginRequestPolicy: "httpPayload", - ETag: "ETag", + "OriginRequestPolicy": "httpPayload", + "ETag": "ETag", }, }, - UpdatePublicKey: { + "UpdatePublicKey": { http: "PUT /2020-05-31/public-key/{Id}/config", inputTraits: { - PublicKeyConfig: "httpPayload", - IfMatch: "If-Match", + "PublicKeyConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - PublicKey: "httpPayload", - ETag: "ETag", + "PublicKey": "httpPayload", + "ETag": "ETag", }, }, - UpdateRealtimeLogConfig: { + "UpdateRealtimeLogConfig": { http: "PUT /2020-05-31/realtime-log-config", }, - UpdateResponseHeadersPolicy: { + "UpdateResponseHeadersPolicy": { http: "PUT /2020-05-31/response-headers-policy/{Id}", inputTraits: { - ResponseHeadersPolicyConfig: "httpPayload", - IfMatch: "If-Match", + "ResponseHeadersPolicyConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - ResponseHeadersPolicy: "httpPayload", - ETag: "ETag", + "ResponseHeadersPolicy": "httpPayload", + "ETag": "ETag", }, }, - UpdateStreamingDistribution: { + "UpdateStreamingDistribution": { http: "PUT /2020-05-31/streaming-distribution/{Id}/config", inputTraits: { - StreamingDistributionConfig: "httpPayload", - IfMatch: "If-Match", + "StreamingDistributionConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - StreamingDistribution: "httpPayload", - ETag: "ETag", + "StreamingDistribution": "httpPayload", + "ETag": "ETag", }, }, - UpdateVpcOrigin: { + "UpdateVpcOrigin": { http: "PUT /2020-05-31/vpc-origin/{Id}", inputTraits: { - VpcOriginEndpointConfig: "httpPayload", - IfMatch: "If-Match", + "VpcOriginEndpointConfig": "httpPayload", + "IfMatch": "If-Match", }, outputTraits: { - VpcOrigin: "httpPayload", - ETag: "ETag", + "VpcOrigin": "httpPayload", + "ETag": "ETag", }, }, - VerifyDnsConfiguration: { + "VerifyDnsConfiguration": { http: "POST /2020-05-31/verify-dns-configuration", }, }, diff --git a/src/services/cloudfront/types.ts b/src/services/cloudfront/types.ts index b94a1c85..e69a5162 100644 --- a/src/services/cloudfront/types.ts +++ b/src/services/cloudfront/types.ts @@ -7,772 +7,295 @@ export declare class CloudFront extends AWSServiceClient { input: AssociateAliasRequest, ): Effect.Effect< {}, - | AccessDenied - | IllegalUpdate - | InvalidArgument - | NoSuchDistribution - | TooManyDistributionCNAMEs - | CommonAwsError + AccessDenied | IllegalUpdate | InvalidArgument | NoSuchDistribution | TooManyDistributionCNAMEs | CommonAwsError >; associateDistributionTenantWebACL( input: AssociateDistributionTenantWebACLRequest, ): Effect.Effect< AssociateDistributionTenantWebACLResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | CommonAwsError >; associateDistributionWebACL( input: AssociateDistributionWebACLRequest, ): Effect.Effect< AssociateDistributionWebACLResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | CommonAwsError >; copyDistribution( input: CopyDistributionRequest, ): Effect.Effect< CopyDistributionResult, - | AccessDenied - | CNAMEAlreadyExists - | DistributionAlreadyExists - | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior - | InconsistentQuantities - | InvalidArgument - | InvalidDefaultRootObject - | InvalidErrorCode - | InvalidForwardCookies - | InvalidFunctionAssociation - | InvalidGeoRestrictionParameter - | InvalidHeadersForS3Origin - | InvalidIfMatchVersion - | InvalidLambdaFunctionAssociation - | InvalidLocationCode - | InvalidMinimumProtocolVersion - | InvalidOrigin - | InvalidOriginAccessControl - | InvalidOriginAccessIdentity - | InvalidOriginKeepaliveTimeout - | InvalidOriginReadTimeout - | InvalidProtocolSettings - | InvalidQueryStringParameters - | InvalidRelativePath - | InvalidRequiredProtocol - | InvalidResponseCode - | InvalidTTLOrder - | InvalidViewerCertificate - | InvalidWebACLId - | MissingBody - | NoSuchCachePolicy - | NoSuchDistribution - | NoSuchFieldLevelEncryptionConfig - | NoSuchOrigin - | NoSuchOriginRequestPolicy - | NoSuchRealtimeLogConfig - | NoSuchResponseHeadersPolicy - | PreconditionFailed - | RealtimeLogConfigOwnerMismatch - | TooManyCacheBehaviors - | TooManyCertificates - | TooManyCookieNamesInWhiteList - | TooManyDistributionCNAMEs - | TooManyDistributions - | TooManyDistributionsAssociatedToCachePolicy - | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig - | TooManyDistributionsAssociatedToKeyGroup - | TooManyDistributionsAssociatedToOriginAccessControl - | TooManyDistributionsAssociatedToOriginRequestPolicy - | TooManyDistributionsAssociatedToResponseHeadersPolicy - | TooManyDistributionsWithFunctionAssociations - | TooManyDistributionsWithLambdaAssociations - | TooManyDistributionsWithSingleFunctionARN - | TooManyFunctionAssociations - | TooManyHeadersInForwardedValues - | TooManyKeyGroupsAssociatedToDistribution - | TooManyLambdaFunctionAssociations - | TooManyOriginCustomHeaders - | TooManyOriginGroupsPerDistribution - | TooManyOrigins - | TooManyQueryStringParameters - | TooManyTrustedSigners - | TrustedKeyGroupDoesNotExist - | TrustedSignerDoesNotExist - | CommonAwsError + AccessDenied | CNAMEAlreadyExists | DistributionAlreadyExists | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior | InconsistentQuantities | InvalidArgument | InvalidDefaultRootObject | InvalidErrorCode | InvalidForwardCookies | InvalidFunctionAssociation | InvalidGeoRestrictionParameter | InvalidHeadersForS3Origin | InvalidIfMatchVersion | InvalidLambdaFunctionAssociation | InvalidLocationCode | InvalidMinimumProtocolVersion | InvalidOrigin | InvalidOriginAccessControl | InvalidOriginAccessIdentity | InvalidOriginKeepaliveTimeout | InvalidOriginReadTimeout | InvalidProtocolSettings | InvalidQueryStringParameters | InvalidRelativePath | InvalidRequiredProtocol | InvalidResponseCode | InvalidTTLOrder | InvalidViewerCertificate | InvalidWebACLId | MissingBody | NoSuchCachePolicy | NoSuchDistribution | NoSuchFieldLevelEncryptionConfig | NoSuchOrigin | NoSuchOriginRequestPolicy | NoSuchRealtimeLogConfig | NoSuchResponseHeadersPolicy | PreconditionFailed | RealtimeLogConfigOwnerMismatch | TooManyCacheBehaviors | TooManyCertificates | TooManyCookieNamesInWhiteList | TooManyDistributionCNAMEs | TooManyDistributions | TooManyDistributionsAssociatedToCachePolicy | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig | TooManyDistributionsAssociatedToKeyGroup | TooManyDistributionsAssociatedToOriginAccessControl | TooManyDistributionsAssociatedToOriginRequestPolicy | TooManyDistributionsAssociatedToResponseHeadersPolicy | TooManyDistributionsWithFunctionAssociations | TooManyDistributionsWithLambdaAssociations | TooManyDistributionsWithSingleFunctionARN | TooManyFunctionAssociations | TooManyHeadersInForwardedValues | TooManyKeyGroupsAssociatedToDistribution | TooManyLambdaFunctionAssociations | TooManyOriginCustomHeaders | TooManyOriginGroupsPerDistribution | TooManyOrigins | TooManyQueryStringParameters | TooManyTrustedSigners | TrustedKeyGroupDoesNotExist | TrustedSignerDoesNotExist | CommonAwsError >; createAnycastIpList( input: CreateAnycastIpListRequest, ): Effect.Effect< CreateAnycastIpListResult, - | AccessDenied - | EntityAlreadyExists - | EntityLimitExceeded - | InvalidArgument - | InvalidTagging - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityAlreadyExists | EntityLimitExceeded | InvalidArgument | InvalidTagging | UnsupportedOperation | CommonAwsError >; createCachePolicy( input: CreateCachePolicyRequest, ): Effect.Effect< CreateCachePolicyResult, - | AccessDenied - | CachePolicyAlreadyExists - | InconsistentQuantities - | InvalidArgument - | TooManyCachePolicies - | TooManyCookiesInCachePolicy - | TooManyHeadersInCachePolicy - | TooManyQueryStringsInCachePolicy - | CommonAwsError + AccessDenied | CachePolicyAlreadyExists | InconsistentQuantities | InvalidArgument | TooManyCachePolicies | TooManyCookiesInCachePolicy | TooManyHeadersInCachePolicy | TooManyQueryStringsInCachePolicy | CommonAwsError >; createCloudFrontOriginAccessIdentity( input: CreateCloudFrontOriginAccessIdentityRequest, ): Effect.Effect< CreateCloudFrontOriginAccessIdentityResult, - | CloudFrontOriginAccessIdentityAlreadyExists - | InconsistentQuantities - | InvalidArgument - | MissingBody - | TooManyCloudFrontOriginAccessIdentities - | CommonAwsError + CloudFrontOriginAccessIdentityAlreadyExists | InconsistentQuantities | InvalidArgument | MissingBody | TooManyCloudFrontOriginAccessIdentities | CommonAwsError >; createConnectionGroup( input: CreateConnectionGroupRequest, ): Effect.Effect< CreateConnectionGroupResult, - | AccessDenied - | EntityAlreadyExists - | EntityLimitExceeded - | EntityNotFound - | InvalidArgument - | InvalidTagging - | CommonAwsError + AccessDenied | EntityAlreadyExists | EntityLimitExceeded | EntityNotFound | InvalidArgument | InvalidTagging | CommonAwsError >; createContinuousDeploymentPolicy( input: CreateContinuousDeploymentPolicyRequest, ): Effect.Effect< CreateContinuousDeploymentPolicyResult, - | AccessDenied - | ContinuousDeploymentPolicyAlreadyExists - | InconsistentQuantities - | InvalidArgument - | StagingDistributionInUse - | TooManyContinuousDeploymentPolicies - | CommonAwsError + AccessDenied | ContinuousDeploymentPolicyAlreadyExists | InconsistentQuantities | InvalidArgument | StagingDistributionInUse | TooManyContinuousDeploymentPolicies | CommonAwsError >; createDistribution( input: CreateDistributionRequest, ): Effect.Effect< CreateDistributionResult, - | AccessDenied - | CNAMEAlreadyExists - | ContinuousDeploymentPolicyInUse - | DistributionAlreadyExists - | EntityLimitExceeded - | EntityNotFound - | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior - | IllegalOriginAccessConfiguration - | InconsistentQuantities - | InvalidArgument - | InvalidDefaultRootObject - | InvalidDomainNameForOriginAccessControl - | InvalidErrorCode - | InvalidForwardCookies - | InvalidFunctionAssociation - | InvalidGeoRestrictionParameter - | InvalidHeadersForS3Origin - | InvalidLambdaFunctionAssociation - | InvalidLocationCode - | InvalidMinimumProtocolVersion - | InvalidOrigin - | InvalidOriginAccessControl - | InvalidOriginAccessIdentity - | InvalidOriginKeepaliveTimeout - | InvalidOriginReadTimeout - | InvalidProtocolSettings - | InvalidQueryStringParameters - | InvalidRelativePath - | InvalidRequiredProtocol - | InvalidResponseCode - | InvalidTTLOrder - | InvalidViewerCertificate - | InvalidWebACLId - | MissingBody - | NoSuchCachePolicy - | NoSuchContinuousDeploymentPolicy - | NoSuchFieldLevelEncryptionConfig - | NoSuchOrigin - | NoSuchOriginRequestPolicy - | NoSuchRealtimeLogConfig - | NoSuchResponseHeadersPolicy - | RealtimeLogConfigOwnerMismatch - | TooManyCacheBehaviors - | TooManyCertificates - | TooManyCookieNamesInWhiteList - | TooManyDistributionCNAMEs - | TooManyDistributions - | TooManyDistributionsAssociatedToCachePolicy - | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig - | TooManyDistributionsAssociatedToKeyGroup - | TooManyDistributionsAssociatedToOriginAccessControl - | TooManyDistributionsAssociatedToOriginRequestPolicy - | TooManyDistributionsAssociatedToResponseHeadersPolicy - | TooManyDistributionsWithFunctionAssociations - | TooManyDistributionsWithLambdaAssociations - | TooManyDistributionsWithSingleFunctionARN - | TooManyFunctionAssociations - | TooManyHeadersInForwardedValues - | TooManyKeyGroupsAssociatedToDistribution - | TooManyLambdaFunctionAssociations - | TooManyOriginCustomHeaders - | TooManyOriginGroupsPerDistribution - | TooManyOrigins - | TooManyQueryStringParameters - | TooManyTrustedSigners - | TrustedKeyGroupDoesNotExist - | TrustedSignerDoesNotExist - | CommonAwsError + AccessDenied | CNAMEAlreadyExists | ContinuousDeploymentPolicyInUse | DistributionAlreadyExists | EntityLimitExceeded | EntityNotFound | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior | IllegalOriginAccessConfiguration | InconsistentQuantities | InvalidArgument | InvalidDefaultRootObject | InvalidDomainNameForOriginAccessControl | InvalidErrorCode | InvalidForwardCookies | InvalidFunctionAssociation | InvalidGeoRestrictionParameter | InvalidHeadersForS3Origin | InvalidLambdaFunctionAssociation | InvalidLocationCode | InvalidMinimumProtocolVersion | InvalidOrigin | InvalidOriginAccessControl | InvalidOriginAccessIdentity | InvalidOriginKeepaliveTimeout | InvalidOriginReadTimeout | InvalidProtocolSettings | InvalidQueryStringParameters | InvalidRelativePath | InvalidRequiredProtocol | InvalidResponseCode | InvalidTTLOrder | InvalidViewerCertificate | InvalidWebACLId | MissingBody | NoSuchCachePolicy | NoSuchContinuousDeploymentPolicy | NoSuchFieldLevelEncryptionConfig | NoSuchOrigin | NoSuchOriginRequestPolicy | NoSuchRealtimeLogConfig | NoSuchResponseHeadersPolicy | RealtimeLogConfigOwnerMismatch | TooManyCacheBehaviors | TooManyCertificates | TooManyCookieNamesInWhiteList | TooManyDistributionCNAMEs | TooManyDistributions | TooManyDistributionsAssociatedToCachePolicy | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig | TooManyDistributionsAssociatedToKeyGroup | TooManyDistributionsAssociatedToOriginAccessControl | TooManyDistributionsAssociatedToOriginRequestPolicy | TooManyDistributionsAssociatedToResponseHeadersPolicy | TooManyDistributionsWithFunctionAssociations | TooManyDistributionsWithLambdaAssociations | TooManyDistributionsWithSingleFunctionARN | TooManyFunctionAssociations | TooManyHeadersInForwardedValues | TooManyKeyGroupsAssociatedToDistribution | TooManyLambdaFunctionAssociations | TooManyOriginCustomHeaders | TooManyOriginGroupsPerDistribution | TooManyOrigins | TooManyQueryStringParameters | TooManyTrustedSigners | TrustedKeyGroupDoesNotExist | TrustedSignerDoesNotExist | CommonAwsError >; createDistributionTenant( input: CreateDistributionTenantRequest, ): Effect.Effect< CreateDistributionTenantResult, - | AccessDenied - | CNAMEAlreadyExists - | EntityAlreadyExists - | EntityLimitExceeded - | EntityNotFound - | InvalidArgument - | InvalidAssociation - | InvalidTagging - | CommonAwsError + AccessDenied | CNAMEAlreadyExists | EntityAlreadyExists | EntityLimitExceeded | EntityNotFound | InvalidArgument | InvalidAssociation | InvalidTagging | CommonAwsError >; createDistributionWithTags( input: CreateDistributionWithTagsRequest, ): Effect.Effect< CreateDistributionWithTagsResult, - | AccessDenied - | CNAMEAlreadyExists - | ContinuousDeploymentPolicyInUse - | DistributionAlreadyExists - | EntityNotFound - | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior - | IllegalOriginAccessConfiguration - | InconsistentQuantities - | InvalidArgument - | InvalidDefaultRootObject - | InvalidDomainNameForOriginAccessControl - | InvalidErrorCode - | InvalidForwardCookies - | InvalidFunctionAssociation - | InvalidGeoRestrictionParameter - | InvalidHeadersForS3Origin - | InvalidLambdaFunctionAssociation - | InvalidLocationCode - | InvalidMinimumProtocolVersion - | InvalidOrigin - | InvalidOriginAccessControl - | InvalidOriginAccessIdentity - | InvalidOriginKeepaliveTimeout - | InvalidOriginReadTimeout - | InvalidProtocolSettings - | InvalidQueryStringParameters - | InvalidRelativePath - | InvalidRequiredProtocol - | InvalidResponseCode - | InvalidTagging - | InvalidTTLOrder - | InvalidViewerCertificate - | InvalidWebACLId - | MissingBody - | NoSuchCachePolicy - | NoSuchContinuousDeploymentPolicy - | NoSuchFieldLevelEncryptionConfig - | NoSuchOrigin - | NoSuchOriginRequestPolicy - | NoSuchRealtimeLogConfig - | NoSuchResponseHeadersPolicy - | RealtimeLogConfigOwnerMismatch - | TooManyCacheBehaviors - | TooManyCertificates - | TooManyCookieNamesInWhiteList - | TooManyDistributionCNAMEs - | TooManyDistributions - | TooManyDistributionsAssociatedToCachePolicy - | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig - | TooManyDistributionsAssociatedToKeyGroup - | TooManyDistributionsAssociatedToOriginAccessControl - | TooManyDistributionsAssociatedToOriginRequestPolicy - | TooManyDistributionsAssociatedToResponseHeadersPolicy - | TooManyDistributionsWithFunctionAssociations - | TooManyDistributionsWithLambdaAssociations - | TooManyDistributionsWithSingleFunctionARN - | TooManyFunctionAssociations - | TooManyHeadersInForwardedValues - | TooManyKeyGroupsAssociatedToDistribution - | TooManyLambdaFunctionAssociations - | TooManyOriginCustomHeaders - | TooManyOriginGroupsPerDistribution - | TooManyOrigins - | TooManyQueryStringParameters - | TooManyTrustedSigners - | TrustedKeyGroupDoesNotExist - | TrustedSignerDoesNotExist - | CommonAwsError + AccessDenied | CNAMEAlreadyExists | ContinuousDeploymentPolicyInUse | DistributionAlreadyExists | EntityNotFound | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior | IllegalOriginAccessConfiguration | InconsistentQuantities | InvalidArgument | InvalidDefaultRootObject | InvalidDomainNameForOriginAccessControl | InvalidErrorCode | InvalidForwardCookies | InvalidFunctionAssociation | InvalidGeoRestrictionParameter | InvalidHeadersForS3Origin | InvalidLambdaFunctionAssociation | InvalidLocationCode | InvalidMinimumProtocolVersion | InvalidOrigin | InvalidOriginAccessControl | InvalidOriginAccessIdentity | InvalidOriginKeepaliveTimeout | InvalidOriginReadTimeout | InvalidProtocolSettings | InvalidQueryStringParameters | InvalidRelativePath | InvalidRequiredProtocol | InvalidResponseCode | InvalidTagging | InvalidTTLOrder | InvalidViewerCertificate | InvalidWebACLId | MissingBody | NoSuchCachePolicy | NoSuchContinuousDeploymentPolicy | NoSuchFieldLevelEncryptionConfig | NoSuchOrigin | NoSuchOriginRequestPolicy | NoSuchRealtimeLogConfig | NoSuchResponseHeadersPolicy | RealtimeLogConfigOwnerMismatch | TooManyCacheBehaviors | TooManyCertificates | TooManyCookieNamesInWhiteList | TooManyDistributionCNAMEs | TooManyDistributions | TooManyDistributionsAssociatedToCachePolicy | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig | TooManyDistributionsAssociatedToKeyGroup | TooManyDistributionsAssociatedToOriginAccessControl | TooManyDistributionsAssociatedToOriginRequestPolicy | TooManyDistributionsAssociatedToResponseHeadersPolicy | TooManyDistributionsWithFunctionAssociations | TooManyDistributionsWithLambdaAssociations | TooManyDistributionsWithSingleFunctionARN | TooManyFunctionAssociations | TooManyHeadersInForwardedValues | TooManyKeyGroupsAssociatedToDistribution | TooManyLambdaFunctionAssociations | TooManyOriginCustomHeaders | TooManyOriginGroupsPerDistribution | TooManyOrigins | TooManyQueryStringParameters | TooManyTrustedSigners | TrustedKeyGroupDoesNotExist | TrustedSignerDoesNotExist | CommonAwsError >; createFieldLevelEncryptionConfig( input: CreateFieldLevelEncryptionConfigRequest, ): Effect.Effect< CreateFieldLevelEncryptionConfigResult, - | FieldLevelEncryptionConfigAlreadyExists - | InconsistentQuantities - | InvalidArgument - | NoSuchFieldLevelEncryptionProfile - | QueryArgProfileEmpty - | TooManyFieldLevelEncryptionConfigs - | TooManyFieldLevelEncryptionContentTypeProfiles - | TooManyFieldLevelEncryptionQueryArgProfiles - | CommonAwsError + FieldLevelEncryptionConfigAlreadyExists | InconsistentQuantities | InvalidArgument | NoSuchFieldLevelEncryptionProfile | QueryArgProfileEmpty | TooManyFieldLevelEncryptionConfigs | TooManyFieldLevelEncryptionContentTypeProfiles | TooManyFieldLevelEncryptionQueryArgProfiles | CommonAwsError >; createFieldLevelEncryptionProfile( input: CreateFieldLevelEncryptionProfileRequest, ): Effect.Effect< CreateFieldLevelEncryptionProfileResult, - | FieldLevelEncryptionProfileAlreadyExists - | FieldLevelEncryptionProfileSizeExceeded - | InconsistentQuantities - | InvalidArgument - | NoSuchPublicKey - | TooManyFieldLevelEncryptionEncryptionEntities - | TooManyFieldLevelEncryptionFieldPatterns - | TooManyFieldLevelEncryptionProfiles - | CommonAwsError + FieldLevelEncryptionProfileAlreadyExists | FieldLevelEncryptionProfileSizeExceeded | InconsistentQuantities | InvalidArgument | NoSuchPublicKey | TooManyFieldLevelEncryptionEncryptionEntities | TooManyFieldLevelEncryptionFieldPatterns | TooManyFieldLevelEncryptionProfiles | CommonAwsError >; createFunction( input: CreateFunctionRequest, ): Effect.Effect< CreateFunctionResult, - | FunctionAlreadyExists - | FunctionSizeLimitExceeded - | InvalidArgument - | TooManyFunctions - | UnsupportedOperation - | CommonAwsError + FunctionAlreadyExists | FunctionSizeLimitExceeded | InvalidArgument | TooManyFunctions | UnsupportedOperation | CommonAwsError >; createInvalidation( - input: CreateInvalidationRequest, - ): Effect.Effect< - CreateInvalidationResult, - | AccessDenied - | BatchTooLarge - | InconsistentQuantities - | InvalidArgument - | MissingBody - | NoSuchDistribution - | TooManyInvalidationsInProgress - | CommonAwsError + input: CreateInvalidationRequest, + ): Effect.Effect< + CreateInvalidationResult, + AccessDenied | BatchTooLarge | InconsistentQuantities | InvalidArgument | MissingBody | NoSuchDistribution | TooManyInvalidationsInProgress | CommonAwsError >; createInvalidationForDistributionTenant( input: CreateInvalidationForDistributionTenantRequest, ): Effect.Effect< CreateInvalidationForDistributionTenantResult, - | AccessDenied - | BatchTooLarge - | EntityNotFound - | InconsistentQuantities - | InvalidArgument - | MissingBody - | TooManyInvalidationsInProgress - | CommonAwsError + AccessDenied | BatchTooLarge | EntityNotFound | InconsistentQuantities | InvalidArgument | MissingBody | TooManyInvalidationsInProgress | CommonAwsError >; createKeyGroup( input: CreateKeyGroupRequest, ): Effect.Effect< CreateKeyGroupResult, - | InvalidArgument - | KeyGroupAlreadyExists - | TooManyKeyGroups - | TooManyPublicKeysInKeyGroup - | CommonAwsError + InvalidArgument | KeyGroupAlreadyExists | TooManyKeyGroups | TooManyPublicKeysInKeyGroup | CommonAwsError >; createKeyValueStore( input: CreateKeyValueStoreRequest, ): Effect.Effect< CreateKeyValueStoreResult, - | AccessDenied - | EntityAlreadyExists - | EntityLimitExceeded - | EntitySizeLimitExceeded - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityAlreadyExists | EntityLimitExceeded | EntitySizeLimitExceeded | InvalidArgument | UnsupportedOperation | CommonAwsError >; createMonitoringSubscription( input: CreateMonitoringSubscriptionRequest, ): Effect.Effect< CreateMonitoringSubscriptionResult, - | AccessDenied - | MonitoringSubscriptionAlreadyExists - | NoSuchDistribution - | UnsupportedOperation - | CommonAwsError + AccessDenied | MonitoringSubscriptionAlreadyExists | NoSuchDistribution | UnsupportedOperation | CommonAwsError >; createOriginAccessControl( input: CreateOriginAccessControlRequest, ): Effect.Effect< CreateOriginAccessControlResult, - | InvalidArgument - | OriginAccessControlAlreadyExists - | TooManyOriginAccessControls - | CommonAwsError + InvalidArgument | OriginAccessControlAlreadyExists | TooManyOriginAccessControls | CommonAwsError >; createOriginRequestPolicy( input: CreateOriginRequestPolicyRequest, ): Effect.Effect< CreateOriginRequestPolicyResult, - | AccessDenied - | InconsistentQuantities - | InvalidArgument - | OriginRequestPolicyAlreadyExists - | TooManyCookiesInOriginRequestPolicy - | TooManyHeadersInOriginRequestPolicy - | TooManyOriginRequestPolicies - | TooManyQueryStringsInOriginRequestPolicy - | CommonAwsError + AccessDenied | InconsistentQuantities | InvalidArgument | OriginRequestPolicyAlreadyExists | TooManyCookiesInOriginRequestPolicy | TooManyHeadersInOriginRequestPolicy | TooManyOriginRequestPolicies | TooManyQueryStringsInOriginRequestPolicy | CommonAwsError >; createPublicKey( input: CreatePublicKeyRequest, ): Effect.Effect< CreatePublicKeyResult, - | InvalidArgument - | PublicKeyAlreadyExists - | TooManyPublicKeys - | CommonAwsError + InvalidArgument | PublicKeyAlreadyExists | TooManyPublicKeys | CommonAwsError >; createRealtimeLogConfig( input: CreateRealtimeLogConfigRequest, ): Effect.Effect< CreateRealtimeLogConfigResult, - | AccessDenied - | InvalidArgument - | RealtimeLogConfigAlreadyExists - | TooManyRealtimeLogConfigs - | CommonAwsError + AccessDenied | InvalidArgument | RealtimeLogConfigAlreadyExists | TooManyRealtimeLogConfigs | CommonAwsError >; createResponseHeadersPolicy( input: CreateResponseHeadersPolicyRequest, ): Effect.Effect< CreateResponseHeadersPolicyResult, - | AccessDenied - | InconsistentQuantities - | InvalidArgument - | ResponseHeadersPolicyAlreadyExists - | TooLongCSPInResponseHeadersPolicy - | TooManyCustomHeadersInResponseHeadersPolicy - | TooManyRemoveHeadersInResponseHeadersPolicy - | TooManyResponseHeadersPolicies - | CommonAwsError + AccessDenied | InconsistentQuantities | InvalidArgument | ResponseHeadersPolicyAlreadyExists | TooLongCSPInResponseHeadersPolicy | TooManyCustomHeadersInResponseHeadersPolicy | TooManyRemoveHeadersInResponseHeadersPolicy | TooManyResponseHeadersPolicies | CommonAwsError >; createStreamingDistribution( input: CreateStreamingDistributionRequest, ): Effect.Effect< CreateStreamingDistributionResult, - | AccessDenied - | CNAMEAlreadyExists - | InconsistentQuantities - | InvalidArgument - | InvalidOrigin - | InvalidOriginAccessControl - | InvalidOriginAccessIdentity - | MissingBody - | StreamingDistributionAlreadyExists - | TooManyStreamingDistributionCNAMEs - | TooManyStreamingDistributions - | TooManyTrustedSigners - | TrustedSignerDoesNotExist - | CommonAwsError + AccessDenied | CNAMEAlreadyExists | InconsistentQuantities | InvalidArgument | InvalidOrigin | InvalidOriginAccessControl | InvalidOriginAccessIdentity | MissingBody | StreamingDistributionAlreadyExists | TooManyStreamingDistributionCNAMEs | TooManyStreamingDistributions | TooManyTrustedSigners | TrustedSignerDoesNotExist | CommonAwsError >; createStreamingDistributionWithTags( input: CreateStreamingDistributionWithTagsRequest, ): Effect.Effect< CreateStreamingDistributionWithTagsResult, - | AccessDenied - | CNAMEAlreadyExists - | InconsistentQuantities - | InvalidArgument - | InvalidOrigin - | InvalidOriginAccessControl - | InvalidOriginAccessIdentity - | InvalidTagging - | MissingBody - | StreamingDistributionAlreadyExists - | TooManyStreamingDistributionCNAMEs - | TooManyStreamingDistributions - | TooManyTrustedSigners - | TrustedSignerDoesNotExist - | CommonAwsError + AccessDenied | CNAMEAlreadyExists | InconsistentQuantities | InvalidArgument | InvalidOrigin | InvalidOriginAccessControl | InvalidOriginAccessIdentity | InvalidTagging | MissingBody | StreamingDistributionAlreadyExists | TooManyStreamingDistributionCNAMEs | TooManyStreamingDistributions | TooManyTrustedSigners | TrustedSignerDoesNotExist | CommonAwsError >; createVpcOrigin( input: CreateVpcOriginRequest, ): Effect.Effect< CreateVpcOriginResult, - | AccessDenied - | EntityAlreadyExists - | EntityLimitExceeded - | InconsistentQuantities - | InvalidArgument - | InvalidTagging - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityAlreadyExists | EntityLimitExceeded | InconsistentQuantities | InvalidArgument | InvalidTagging | UnsupportedOperation | CommonAwsError >; deleteAnycastIpList( input: DeleteAnycastIpListRequest, ): Effect.Effect< {}, - | AccessDenied - | CannotDeleteEntityWhileInUse - | EntityNotFound - | IllegalDelete - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + AccessDenied | CannotDeleteEntityWhileInUse | EntityNotFound | IllegalDelete | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | UnsupportedOperation | CommonAwsError >; deleteCachePolicy( input: DeleteCachePolicyRequest, ): Effect.Effect< {}, - | AccessDenied - | CachePolicyInUse - | IllegalDelete - | InvalidIfMatchVersion - | NoSuchCachePolicy - | PreconditionFailed - | CommonAwsError + AccessDenied | CachePolicyInUse | IllegalDelete | InvalidIfMatchVersion | NoSuchCachePolicy | PreconditionFailed | CommonAwsError >; deleteCloudFrontOriginAccessIdentity( input: DeleteCloudFrontOriginAccessIdentityRequest, ): Effect.Effect< {}, - | AccessDenied - | CloudFrontOriginAccessIdentityInUse - | InvalidIfMatchVersion - | NoSuchCloudFrontOriginAccessIdentity - | PreconditionFailed - | CommonAwsError + AccessDenied | CloudFrontOriginAccessIdentityInUse | InvalidIfMatchVersion | NoSuchCloudFrontOriginAccessIdentity | PreconditionFailed | CommonAwsError >; deleteConnectionGroup( input: DeleteConnectionGroupRequest, ): Effect.Effect< {}, - | AccessDenied - | CannotDeleteEntityWhileInUse - | EntityNotFound - | InvalidIfMatchVersion - | PreconditionFailed - | ResourceNotDisabled - | CommonAwsError + AccessDenied | CannotDeleteEntityWhileInUse | EntityNotFound | InvalidIfMatchVersion | PreconditionFailed | ResourceNotDisabled | CommonAwsError >; deleteContinuousDeploymentPolicy( input: DeleteContinuousDeploymentPolicyRequest, ): Effect.Effect< {}, - | AccessDenied - | ContinuousDeploymentPolicyInUse - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchContinuousDeploymentPolicy - | PreconditionFailed - | CommonAwsError + AccessDenied | ContinuousDeploymentPolicyInUse | InvalidArgument | InvalidIfMatchVersion | NoSuchContinuousDeploymentPolicy | PreconditionFailed | CommonAwsError >; deleteDistribution( input: DeleteDistributionRequest, ): Effect.Effect< {}, - | AccessDenied - | DistributionNotDisabled - | InvalidIfMatchVersion - | NoSuchDistribution - | PreconditionFailed - | ResourceInUse - | CommonAwsError + AccessDenied | DistributionNotDisabled | InvalidIfMatchVersion | NoSuchDistribution | PreconditionFailed | ResourceInUse | CommonAwsError >; deleteDistributionTenant( input: DeleteDistributionTenantRequest, ): Effect.Effect< {}, - | AccessDenied - | EntityNotFound - | InvalidIfMatchVersion - | PreconditionFailed - | ResourceNotDisabled - | CommonAwsError + AccessDenied | EntityNotFound | InvalidIfMatchVersion | PreconditionFailed | ResourceNotDisabled | CommonAwsError >; deleteFieldLevelEncryptionConfig( input: DeleteFieldLevelEncryptionConfigRequest, ): Effect.Effect< {}, - | AccessDenied - | FieldLevelEncryptionConfigInUse - | InvalidIfMatchVersion - | NoSuchFieldLevelEncryptionConfig - | PreconditionFailed - | CommonAwsError + AccessDenied | FieldLevelEncryptionConfigInUse | InvalidIfMatchVersion | NoSuchFieldLevelEncryptionConfig | PreconditionFailed | CommonAwsError >; deleteFieldLevelEncryptionProfile( input: DeleteFieldLevelEncryptionProfileRequest, ): Effect.Effect< {}, - | AccessDenied - | FieldLevelEncryptionProfileInUse - | InvalidIfMatchVersion - | NoSuchFieldLevelEncryptionProfile - | PreconditionFailed - | CommonAwsError + AccessDenied | FieldLevelEncryptionProfileInUse | InvalidIfMatchVersion | NoSuchFieldLevelEncryptionProfile | PreconditionFailed | CommonAwsError >; deleteFunction( input: DeleteFunctionRequest, ): Effect.Effect< {}, - | FunctionInUse - | InvalidIfMatchVersion - | NoSuchFunctionExists - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + FunctionInUse | InvalidIfMatchVersion | NoSuchFunctionExists | PreconditionFailed | UnsupportedOperation | CommonAwsError >; deleteKeyGroup( input: DeleteKeyGroupRequest, ): Effect.Effect< {}, - | InvalidIfMatchVersion - | NoSuchResource - | PreconditionFailed - | ResourceInUse - | CommonAwsError + InvalidIfMatchVersion | NoSuchResource | PreconditionFailed | ResourceInUse | CommonAwsError >; deleteKeyValueStore( input: DeleteKeyValueStoreRequest, ): Effect.Effect< {}, - | AccessDenied - | CannotDeleteEntityWhileInUse - | EntityNotFound - | InvalidIfMatchVersion - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + AccessDenied | CannotDeleteEntityWhileInUse | EntityNotFound | InvalidIfMatchVersion | PreconditionFailed | UnsupportedOperation | CommonAwsError >; deleteMonitoringSubscription( input: DeleteMonitoringSubscriptionRequest, ): Effect.Effect< DeleteMonitoringSubscriptionResult, - | AccessDenied - | NoSuchDistribution - | NoSuchMonitoringSubscription - | UnsupportedOperation - | CommonAwsError + AccessDenied | NoSuchDistribution | NoSuchMonitoringSubscription | UnsupportedOperation | CommonAwsError >; deleteOriginAccessControl( input: DeleteOriginAccessControlRequest, ): Effect.Effect< {}, - | AccessDenied - | InvalidIfMatchVersion - | NoSuchOriginAccessControl - | OriginAccessControlInUse - | PreconditionFailed - | CommonAwsError + AccessDenied | InvalidIfMatchVersion | NoSuchOriginAccessControl | OriginAccessControlInUse | PreconditionFailed | CommonAwsError >; deleteOriginRequestPolicy( input: DeleteOriginRequestPolicyRequest, ): Effect.Effect< {}, - | AccessDenied - | IllegalDelete - | InvalidIfMatchVersion - | NoSuchOriginRequestPolicy - | OriginRequestPolicyInUse - | PreconditionFailed - | CommonAwsError + AccessDenied | IllegalDelete | InvalidIfMatchVersion | NoSuchOriginRequestPolicy | OriginRequestPolicyInUse | PreconditionFailed | CommonAwsError >; deletePublicKey( input: DeletePublicKeyRequest, ): Effect.Effect< {}, - | AccessDenied - | InvalidIfMatchVersion - | NoSuchPublicKey - | PreconditionFailed - | PublicKeyInUse - | CommonAwsError + AccessDenied | InvalidIfMatchVersion | NoSuchPublicKey | PreconditionFailed | PublicKeyInUse | CommonAwsError >; deleteRealtimeLogConfig( input: DeleteRealtimeLogConfigRequest, ): Effect.Effect< {}, - | AccessDenied - | InvalidArgument - | NoSuchRealtimeLogConfig - | RealtimeLogConfigInUse - | CommonAwsError + AccessDenied | InvalidArgument | NoSuchRealtimeLogConfig | RealtimeLogConfigInUse | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< {}, - | AccessDenied - | EntityNotFound - | IllegalDelete - | InvalidArgument - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | IllegalDelete | InvalidArgument | PreconditionFailed | UnsupportedOperation | CommonAwsError >; deleteResponseHeadersPolicy( input: DeleteResponseHeadersPolicyRequest, ): Effect.Effect< {}, - | AccessDenied - | IllegalDelete - | InvalidIfMatchVersion - | NoSuchResponseHeadersPolicy - | PreconditionFailed - | ResponseHeadersPolicyInUse - | CommonAwsError + AccessDenied | IllegalDelete | InvalidIfMatchVersion | NoSuchResponseHeadersPolicy | PreconditionFailed | ResponseHeadersPolicyInUse | CommonAwsError >; deleteStreamingDistribution( input: DeleteStreamingDistributionRequest, ): Effect.Effect< {}, - | AccessDenied - | InvalidIfMatchVersion - | NoSuchStreamingDistribution - | PreconditionFailed - | StreamingDistributionNotDisabled - | CommonAwsError + AccessDenied | InvalidIfMatchVersion | NoSuchStreamingDistribution | PreconditionFailed | StreamingDistributionNotDisabled | CommonAwsError >; deleteVpcOrigin( input: DeleteVpcOriginRequest, ): Effect.Effect< DeleteVpcOriginResult, - | AccessDenied - | CannotDeleteEntityWhileInUse - | EntityNotFound - | IllegalDelete - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + AccessDenied | CannotDeleteEntityWhileInUse | EntityNotFound | IllegalDelete | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | UnsupportedOperation | CommonAwsError >; describeFunction( input: DescribeFunctionRequest, @@ -784,43 +307,25 @@ export declare class CloudFront extends AWSServiceClient { input: DescribeKeyValueStoreRequest, ): Effect.Effect< DescribeKeyValueStoreResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | UnsupportedOperation | CommonAwsError >; disassociateDistributionTenantWebACL( input: DisassociateDistributionTenantWebACLRequest, ): Effect.Effect< DisassociateDistributionTenantWebACLResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | CommonAwsError >; disassociateDistributionWebACL( input: DisassociateDistributionWebACLRequest, ): Effect.Effect< DisassociateDistributionWebACLResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | CommonAwsError >; getAnycastIpList( input: GetAnycastIpListRequest, ): Effect.Effect< GetAnycastIpListResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | UnsupportedOperation | CommonAwsError >; getCachePolicy( input: GetCachePolicyRequest, @@ -938,10 +443,16 @@ export declare class CloudFront extends AWSServiceClient { >; getKeyGroup( input: GetKeyGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + GetKeyGroupResult, + NoSuchResource | CommonAwsError + >; getKeyGroupConfig( input: GetKeyGroupConfigRequest, - ): Effect.Effect; + ): Effect.Effect< + GetKeyGroupConfigResult, + NoSuchResource | CommonAwsError + >; getManagedCertificateDetails( input: GetManagedCertificateDetailsRequest, ): Effect.Effect< @@ -952,11 +463,7 @@ export declare class CloudFront extends AWSServiceClient { input: GetMonitoringSubscriptionRequest, ): Effect.Effect< GetMonitoringSubscriptionResult, - | AccessDenied - | NoSuchDistribution - | NoSuchMonitoringSubscription - | UnsupportedOperation - | CommonAwsError + AccessDenied | NoSuchDistribution | NoSuchMonitoringSubscription | UnsupportedOperation | CommonAwsError >; getOriginAccessControl( input: GetOriginAccessControlRequest, @@ -1004,11 +511,7 @@ export declare class CloudFront extends AWSServiceClient { input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | UnsupportedOperation | CommonAwsError >; getResponseHeadersPolicy( input: GetResponseHeadersPolicyRequest, @@ -1038,21 +541,13 @@ export declare class CloudFront extends AWSServiceClient { input: GetVpcOriginRequest, ): Effect.Effect< GetVpcOriginResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | UnsupportedOperation | CommonAwsError >; listAnycastIpLists( input: ListAnycastIpListsRequest, ): Effect.Effect< ListAnycastIpListsResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | UnsupportedOperation | CommonAwsError >; listCachePolicies( input: ListCachePoliciesRequest, @@ -1082,23 +577,19 @@ export declare class CloudFront extends AWSServiceClient { input: ListContinuousDeploymentPoliciesRequest, ): Effect.Effect< ListContinuousDeploymentPoliciesResult, - | AccessDenied - | InvalidArgument - | NoSuchContinuousDeploymentPolicy - | CommonAwsError + AccessDenied | InvalidArgument | NoSuchContinuousDeploymentPolicy | CommonAwsError >; listDistributions( input: ListDistributionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDistributionsResult, + InvalidArgument | CommonAwsError + >; listDistributionsByAnycastIpListId( input: ListDistributionsByAnycastIpListIdRequest, ): Effect.Effect< ListDistributionsByAnycastIpListIdResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | UnsupportedOperation | CommonAwsError >; listDistributionsByCachePolicyId( input: ListDistributionsByCachePolicyIdRequest, @@ -1128,11 +619,7 @@ export declare class CloudFront extends AWSServiceClient { input: ListDistributionsByOwnedResourceRequest, ): Effect.Effect< ListDistributionsByOwnedResourceResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | UnsupportedOperation | CommonAwsError >; listDistributionsByRealtimeLogConfig( input: ListDistributionsByRealtimeLogConfigRequest, @@ -1143,21 +630,14 @@ export declare class CloudFront extends AWSServiceClient { listDistributionsByResponseHeadersPolicyId( input: ListDistributionsByResponseHeadersPolicyIdRequest, ): Effect.Effect< - ListDistributionsByResponseHeadersPolicyIdResult, - | AccessDenied - | InvalidArgument - | NoSuchResponseHeadersPolicy - | CommonAwsError + ListDistributionsByResponseHeadersPolicyIdResult, + AccessDenied | InvalidArgument | NoSuchResponseHeadersPolicy | CommonAwsError >; listDistributionsByVpcOriginId( input: ListDistributionsByVpcOriginIdRequest, ): Effect.Effect< ListDistributionsByVpcOriginIdResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | UnsupportedOperation | CommonAwsError >; listDistributionsByWebACLId( input: ListDistributionsByWebACLIdRequest, @@ -1215,7 +695,10 @@ export declare class CloudFront extends AWSServiceClient { >; listKeyGroups( input: ListKeyGroupsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListKeyGroupsResult, + InvalidArgument | CommonAwsError + >; listKeyValueStores( input: ListKeyValueStoresRequest, ): Effect.Effect< @@ -1236,7 +719,10 @@ export declare class CloudFront extends AWSServiceClient { >; listPublicKeys( input: ListPublicKeysRequest, - ): Effect.Effect; + ): Effect.Effect< + ListPublicKeysResult, + InvalidArgument | CommonAwsError + >; listRealtimeLogConfigs( input: ListRealtimeLogConfigsRequest, ): Effect.Effect< @@ -1247,10 +733,7 @@ export declare class CloudFront extends AWSServiceClient { input: ListResponseHeadersPoliciesRequest, ): Effect.Effect< ListResponseHeadersPoliciesResult, - | AccessDenied - | InvalidArgument - | NoSuchResponseHeadersPolicy - | CommonAwsError + AccessDenied | InvalidArgument | NoSuchResponseHeadersPolicy | CommonAwsError >; listStreamingDistributions( input: ListStreamingDistributionsRequest, @@ -1262,427 +745,145 @@ export declare class CloudFront extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResult, - | AccessDenied - | InvalidArgument - | InvalidTagging - | NoSuchResource - | CommonAwsError + AccessDenied | InvalidArgument | InvalidTagging | NoSuchResource | CommonAwsError >; listVpcOrigins( input: ListVpcOriginsRequest, ): Effect.Effect< ListVpcOriginsResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | UnsupportedOperation | CommonAwsError >; publishFunction( input: PublishFunctionRequest, ): Effect.Effect< PublishFunctionResult, - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchFunctionExists - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + InvalidArgument | InvalidIfMatchVersion | NoSuchFunctionExists | PreconditionFailed | UnsupportedOperation | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResult, - | AccessDenied - | EntityNotFound - | IllegalUpdate - | InvalidArgument - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | IllegalUpdate | InvalidArgument | PreconditionFailed | UnsupportedOperation | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessDenied - | InvalidArgument - | InvalidTagging - | NoSuchResource - | CommonAwsError + AccessDenied | InvalidArgument | InvalidTagging | NoSuchResource | CommonAwsError >; testFunction( input: TestFunctionRequest, ): Effect.Effect< TestFunctionResult, - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchFunctionExists - | TestFunctionFailed - | UnsupportedOperation - | CommonAwsError + InvalidArgument | InvalidIfMatchVersion | NoSuchFunctionExists | TestFunctionFailed | UnsupportedOperation | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessDenied - | InvalidArgument - | InvalidTagging - | NoSuchResource - | CommonAwsError + AccessDenied | InvalidArgument | InvalidTagging | NoSuchResource | CommonAwsError >; updateAnycastIpList( input: UpdateAnycastIpListRequest, ): Effect.Effect< UpdateAnycastIpListResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | UnsupportedOperation | CommonAwsError >; updateCachePolicy( input: UpdateCachePolicyRequest, - ): Effect.Effect< - UpdateCachePolicyResult, - | AccessDenied - | CachePolicyAlreadyExists - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchCachePolicy - | PreconditionFailed - | TooManyCookiesInCachePolicy - | TooManyHeadersInCachePolicy - | TooManyQueryStringsInCachePolicy - | CommonAwsError - >; - updateCloudFrontOriginAccessIdentity( - input: UpdateCloudFrontOriginAccessIdentityRequest, - ): Effect.Effect< - UpdateCloudFrontOriginAccessIdentityResult, - | AccessDenied - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidIfMatchVersion - | MissingBody - | NoSuchCloudFrontOriginAccessIdentity - | PreconditionFailed - | CommonAwsError - >; - updateConnectionGroup( - input: UpdateConnectionGroupRequest, - ): Effect.Effect< - UpdateConnectionGroupResult, - | AccessDenied - | EntityAlreadyExists - | EntityLimitExceeded - | EntityNotFound - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | ResourceInUse - | CommonAwsError - >; - updateContinuousDeploymentPolicy( - input: UpdateContinuousDeploymentPolicyRequest, - ): Effect.Effect< - UpdateContinuousDeploymentPolicyResult, - | AccessDenied - | InconsistentQuantities - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchContinuousDeploymentPolicy - | PreconditionFailed - | StagingDistributionInUse - | CommonAwsError - >; - updateDistribution( - input: UpdateDistributionRequest, - ): Effect.Effect< - UpdateDistributionResult, - | AccessDenied - | CNAMEAlreadyExists - | ContinuousDeploymentPolicyInUse - | EntityNotFound - | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior - | IllegalOriginAccessConfiguration - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidDefaultRootObject - | InvalidDomainNameForOriginAccessControl - | InvalidErrorCode - | InvalidForwardCookies - | InvalidFunctionAssociation - | InvalidGeoRestrictionParameter - | InvalidHeadersForS3Origin - | InvalidIfMatchVersion - | InvalidLambdaFunctionAssociation - | InvalidLocationCode - | InvalidMinimumProtocolVersion - | InvalidOriginAccessControl - | InvalidOriginAccessIdentity - | InvalidOriginKeepaliveTimeout - | InvalidOriginReadTimeout - | InvalidQueryStringParameters - | InvalidRelativePath - | InvalidRequiredProtocol - | InvalidResponseCode - | InvalidTTLOrder - | InvalidViewerCertificate - | InvalidWebACLId - | MissingBody - | NoSuchCachePolicy - | NoSuchContinuousDeploymentPolicy - | NoSuchDistribution - | NoSuchFieldLevelEncryptionConfig - | NoSuchOrigin - | NoSuchOriginRequestPolicy - | NoSuchRealtimeLogConfig - | NoSuchResponseHeadersPolicy - | PreconditionFailed - | RealtimeLogConfigOwnerMismatch - | StagingDistributionInUse - | TooManyCacheBehaviors - | TooManyCertificates - | TooManyCookieNamesInWhiteList - | TooManyDistributionCNAMEs - | TooManyDistributionsAssociatedToCachePolicy - | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig - | TooManyDistributionsAssociatedToKeyGroup - | TooManyDistributionsAssociatedToOriginAccessControl - | TooManyDistributionsAssociatedToOriginRequestPolicy - | TooManyDistributionsAssociatedToResponseHeadersPolicy - | TooManyDistributionsWithFunctionAssociations - | TooManyDistributionsWithLambdaAssociations - | TooManyDistributionsWithSingleFunctionARN - | TooManyFunctionAssociations - | TooManyHeadersInForwardedValues - | TooManyKeyGroupsAssociatedToDistribution - | TooManyLambdaFunctionAssociations - | TooManyOriginCustomHeaders - | TooManyOriginGroupsPerDistribution - | TooManyOrigins - | TooManyQueryStringParameters - | TooManyTrustedSigners - | TrustedKeyGroupDoesNotExist - | TrustedSignerDoesNotExist - | CommonAwsError - >; - updateDistributionTenant( - input: UpdateDistributionTenantRequest, - ): Effect.Effect< - UpdateDistributionTenantResult, - | AccessDenied - | CNAMEAlreadyExists - | EntityAlreadyExists - | EntityLimitExceeded - | EntityNotFound - | InvalidArgument - | InvalidAssociation - | InvalidIfMatchVersion - | PreconditionFailed - | CommonAwsError - >; - updateDistributionWithStagingConfig( - input: UpdateDistributionWithStagingConfigRequest, - ): Effect.Effect< - UpdateDistributionWithStagingConfigResult, - | AccessDenied - | CNAMEAlreadyExists - | EntityNotFound - | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidDefaultRootObject - | InvalidErrorCode - | InvalidForwardCookies - | InvalidFunctionAssociation - | InvalidGeoRestrictionParameter - | InvalidHeadersForS3Origin - | InvalidIfMatchVersion - | InvalidLambdaFunctionAssociation - | InvalidLocationCode - | InvalidMinimumProtocolVersion - | InvalidOriginAccessControl - | InvalidOriginAccessIdentity - | InvalidOriginKeepaliveTimeout - | InvalidOriginReadTimeout - | InvalidQueryStringParameters - | InvalidRelativePath - | InvalidRequiredProtocol - | InvalidResponseCode - | InvalidTTLOrder - | InvalidViewerCertificate - | InvalidWebACLId - | MissingBody - | NoSuchCachePolicy - | NoSuchDistribution - | NoSuchFieldLevelEncryptionConfig - | NoSuchOrigin - | NoSuchOriginRequestPolicy - | NoSuchRealtimeLogConfig - | NoSuchResponseHeadersPolicy - | PreconditionFailed - | RealtimeLogConfigOwnerMismatch - | TooManyCacheBehaviors - | TooManyCertificates - | TooManyCookieNamesInWhiteList - | TooManyDistributionCNAMEs - | TooManyDistributionsAssociatedToCachePolicy - | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig - | TooManyDistributionsAssociatedToKeyGroup - | TooManyDistributionsAssociatedToOriginAccessControl - | TooManyDistributionsAssociatedToOriginRequestPolicy - | TooManyDistributionsAssociatedToResponseHeadersPolicy - | TooManyDistributionsWithFunctionAssociations - | TooManyDistributionsWithLambdaAssociations - | TooManyDistributionsWithSingleFunctionARN - | TooManyFunctionAssociations - | TooManyHeadersInForwardedValues - | TooManyKeyGroupsAssociatedToDistribution - | TooManyLambdaFunctionAssociations - | TooManyOriginCustomHeaders - | TooManyOriginGroupsPerDistribution - | TooManyOrigins - | TooManyQueryStringParameters - | TooManyTrustedSigners - | TrustedKeyGroupDoesNotExist - | TrustedSignerDoesNotExist - | CommonAwsError + ): Effect.Effect< + UpdateCachePolicyResult, + AccessDenied | CachePolicyAlreadyExists | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidIfMatchVersion | NoSuchCachePolicy | PreconditionFailed | TooManyCookiesInCachePolicy | TooManyHeadersInCachePolicy | TooManyQueryStringsInCachePolicy | CommonAwsError + >; + updateCloudFrontOriginAccessIdentity( + input: UpdateCloudFrontOriginAccessIdentityRequest, + ): Effect.Effect< + UpdateCloudFrontOriginAccessIdentityResult, + AccessDenied | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidIfMatchVersion | MissingBody | NoSuchCloudFrontOriginAccessIdentity | PreconditionFailed | CommonAwsError + >; + updateConnectionGroup( + input: UpdateConnectionGroupRequest, + ): Effect.Effect< + UpdateConnectionGroupResult, + AccessDenied | EntityAlreadyExists | EntityLimitExceeded | EntityNotFound | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | ResourceInUse | CommonAwsError + >; + updateContinuousDeploymentPolicy( + input: UpdateContinuousDeploymentPolicyRequest, + ): Effect.Effect< + UpdateContinuousDeploymentPolicyResult, + AccessDenied | InconsistentQuantities | InvalidArgument | InvalidIfMatchVersion | NoSuchContinuousDeploymentPolicy | PreconditionFailed | StagingDistributionInUse | CommonAwsError + >; + updateDistribution( + input: UpdateDistributionRequest, + ): Effect.Effect< + UpdateDistributionResult, + AccessDenied | CNAMEAlreadyExists | ContinuousDeploymentPolicyInUse | EntityNotFound | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior | IllegalOriginAccessConfiguration | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidDefaultRootObject | InvalidDomainNameForOriginAccessControl | InvalidErrorCode | InvalidForwardCookies | InvalidFunctionAssociation | InvalidGeoRestrictionParameter | InvalidHeadersForS3Origin | InvalidIfMatchVersion | InvalidLambdaFunctionAssociation | InvalidLocationCode | InvalidMinimumProtocolVersion | InvalidOriginAccessControl | InvalidOriginAccessIdentity | InvalidOriginKeepaliveTimeout | InvalidOriginReadTimeout | InvalidQueryStringParameters | InvalidRelativePath | InvalidRequiredProtocol | InvalidResponseCode | InvalidTTLOrder | InvalidViewerCertificate | InvalidWebACLId | MissingBody | NoSuchCachePolicy | NoSuchContinuousDeploymentPolicy | NoSuchDistribution | NoSuchFieldLevelEncryptionConfig | NoSuchOrigin | NoSuchOriginRequestPolicy | NoSuchRealtimeLogConfig | NoSuchResponseHeadersPolicy | PreconditionFailed | RealtimeLogConfigOwnerMismatch | StagingDistributionInUse | TooManyCacheBehaviors | TooManyCertificates | TooManyCookieNamesInWhiteList | TooManyDistributionCNAMEs | TooManyDistributionsAssociatedToCachePolicy | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig | TooManyDistributionsAssociatedToKeyGroup | TooManyDistributionsAssociatedToOriginAccessControl | TooManyDistributionsAssociatedToOriginRequestPolicy | TooManyDistributionsAssociatedToResponseHeadersPolicy | TooManyDistributionsWithFunctionAssociations | TooManyDistributionsWithLambdaAssociations | TooManyDistributionsWithSingleFunctionARN | TooManyFunctionAssociations | TooManyHeadersInForwardedValues | TooManyKeyGroupsAssociatedToDistribution | TooManyLambdaFunctionAssociations | TooManyOriginCustomHeaders | TooManyOriginGroupsPerDistribution | TooManyOrigins | TooManyQueryStringParameters | TooManyTrustedSigners | TrustedKeyGroupDoesNotExist | TrustedSignerDoesNotExist | CommonAwsError + >; + updateDistributionTenant( + input: UpdateDistributionTenantRequest, + ): Effect.Effect< + UpdateDistributionTenantResult, + AccessDenied | CNAMEAlreadyExists | EntityAlreadyExists | EntityLimitExceeded | EntityNotFound | InvalidArgument | InvalidAssociation | InvalidIfMatchVersion | PreconditionFailed | CommonAwsError + >; + updateDistributionWithStagingConfig( + input: UpdateDistributionWithStagingConfigRequest, + ): Effect.Effect< + UpdateDistributionWithStagingConfigResult, + AccessDenied | CNAMEAlreadyExists | EntityNotFound | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidDefaultRootObject | InvalidErrorCode | InvalidForwardCookies | InvalidFunctionAssociation | InvalidGeoRestrictionParameter | InvalidHeadersForS3Origin | InvalidIfMatchVersion | InvalidLambdaFunctionAssociation | InvalidLocationCode | InvalidMinimumProtocolVersion | InvalidOriginAccessControl | InvalidOriginAccessIdentity | InvalidOriginKeepaliveTimeout | InvalidOriginReadTimeout | InvalidQueryStringParameters | InvalidRelativePath | InvalidRequiredProtocol | InvalidResponseCode | InvalidTTLOrder | InvalidViewerCertificate | InvalidWebACLId | MissingBody | NoSuchCachePolicy | NoSuchDistribution | NoSuchFieldLevelEncryptionConfig | NoSuchOrigin | NoSuchOriginRequestPolicy | NoSuchRealtimeLogConfig | NoSuchResponseHeadersPolicy | PreconditionFailed | RealtimeLogConfigOwnerMismatch | TooManyCacheBehaviors | TooManyCertificates | TooManyCookieNamesInWhiteList | TooManyDistributionCNAMEs | TooManyDistributionsAssociatedToCachePolicy | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig | TooManyDistributionsAssociatedToKeyGroup | TooManyDistributionsAssociatedToOriginAccessControl | TooManyDistributionsAssociatedToOriginRequestPolicy | TooManyDistributionsAssociatedToResponseHeadersPolicy | TooManyDistributionsWithFunctionAssociations | TooManyDistributionsWithLambdaAssociations | TooManyDistributionsWithSingleFunctionARN | TooManyFunctionAssociations | TooManyHeadersInForwardedValues | TooManyKeyGroupsAssociatedToDistribution | TooManyLambdaFunctionAssociations | TooManyOriginCustomHeaders | TooManyOriginGroupsPerDistribution | TooManyOrigins | TooManyQueryStringParameters | TooManyTrustedSigners | TrustedKeyGroupDoesNotExist | TrustedSignerDoesNotExist | CommonAwsError >; updateDomainAssociation( input: UpdateDomainAssociationRequest, ): Effect.Effect< UpdateDomainAssociationResult, - | AccessDenied - | EntityNotFound - | IllegalUpdate - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | CommonAwsError + AccessDenied | EntityNotFound | IllegalUpdate | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | CommonAwsError >; updateFieldLevelEncryptionConfig( input: UpdateFieldLevelEncryptionConfigRequest, ): Effect.Effect< UpdateFieldLevelEncryptionConfigResult, - | AccessDenied - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchFieldLevelEncryptionConfig - | NoSuchFieldLevelEncryptionProfile - | PreconditionFailed - | QueryArgProfileEmpty - | TooManyFieldLevelEncryptionContentTypeProfiles - | TooManyFieldLevelEncryptionQueryArgProfiles - | CommonAwsError + AccessDenied | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidIfMatchVersion | NoSuchFieldLevelEncryptionConfig | NoSuchFieldLevelEncryptionProfile | PreconditionFailed | QueryArgProfileEmpty | TooManyFieldLevelEncryptionContentTypeProfiles | TooManyFieldLevelEncryptionQueryArgProfiles | CommonAwsError >; updateFieldLevelEncryptionProfile( input: UpdateFieldLevelEncryptionProfileRequest, ): Effect.Effect< UpdateFieldLevelEncryptionProfileResult, - | AccessDenied - | FieldLevelEncryptionProfileAlreadyExists - | FieldLevelEncryptionProfileSizeExceeded - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchFieldLevelEncryptionProfile - | NoSuchPublicKey - | PreconditionFailed - | TooManyFieldLevelEncryptionEncryptionEntities - | TooManyFieldLevelEncryptionFieldPatterns - | CommonAwsError + AccessDenied | FieldLevelEncryptionProfileAlreadyExists | FieldLevelEncryptionProfileSizeExceeded | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidIfMatchVersion | NoSuchFieldLevelEncryptionProfile | NoSuchPublicKey | PreconditionFailed | TooManyFieldLevelEncryptionEncryptionEntities | TooManyFieldLevelEncryptionFieldPatterns | CommonAwsError >; updateFunction( input: UpdateFunctionRequest, ): Effect.Effect< UpdateFunctionResult, - | FunctionSizeLimitExceeded - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchFunctionExists - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + FunctionSizeLimitExceeded | InvalidArgument | InvalidIfMatchVersion | NoSuchFunctionExists | PreconditionFailed | UnsupportedOperation | CommonAwsError >; updateKeyGroup( input: UpdateKeyGroupRequest, ): Effect.Effect< UpdateKeyGroupResult, - | InvalidArgument - | InvalidIfMatchVersion - | KeyGroupAlreadyExists - | NoSuchResource - | PreconditionFailed - | TooManyPublicKeysInKeyGroup - | CommonAwsError + InvalidArgument | InvalidIfMatchVersion | KeyGroupAlreadyExists | NoSuchResource | PreconditionFailed | TooManyPublicKeysInKeyGroup | CommonAwsError >; updateKeyValueStore( input: UpdateKeyValueStoreRequest, ): Effect.Effect< UpdateKeyValueStoreResult, - | AccessDenied - | EntityNotFound - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + AccessDenied | EntityNotFound | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | UnsupportedOperation | CommonAwsError >; updateOriginAccessControl( input: UpdateOriginAccessControlRequest, ): Effect.Effect< UpdateOriginAccessControlResult, - | AccessDenied - | IllegalUpdate - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchOriginAccessControl - | OriginAccessControlAlreadyExists - | PreconditionFailed - | CommonAwsError + AccessDenied | IllegalUpdate | InvalidArgument | InvalidIfMatchVersion | NoSuchOriginAccessControl | OriginAccessControlAlreadyExists | PreconditionFailed | CommonAwsError >; updateOriginRequestPolicy( input: UpdateOriginRequestPolicyRequest, ): Effect.Effect< UpdateOriginRequestPolicyResult, - | AccessDenied - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchOriginRequestPolicy - | OriginRequestPolicyAlreadyExists - | PreconditionFailed - | TooManyCookiesInOriginRequestPolicy - | TooManyHeadersInOriginRequestPolicy - | TooManyQueryStringsInOriginRequestPolicy - | CommonAwsError + AccessDenied | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidIfMatchVersion | NoSuchOriginRequestPolicy | OriginRequestPolicyAlreadyExists | PreconditionFailed | TooManyCookiesInOriginRequestPolicy | TooManyHeadersInOriginRequestPolicy | TooManyQueryStringsInOriginRequestPolicy | CommonAwsError >; updatePublicKey( input: UpdatePublicKeyRequest, ): Effect.Effect< UpdatePublicKeyResult, - | AccessDenied - | CannotChangeImmutablePublicKeyFields - | IllegalUpdate - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchPublicKey - | PreconditionFailed - | CommonAwsError + AccessDenied | CannotChangeImmutablePublicKeyFields | IllegalUpdate | InvalidArgument | InvalidIfMatchVersion | NoSuchPublicKey | PreconditionFailed | CommonAwsError >; updateRealtimeLogConfig( input: UpdateRealtimeLogConfigRequest, @@ -1694,55 +895,19 @@ export declare class CloudFront extends AWSServiceClient { input: UpdateResponseHeadersPolicyRequest, ): Effect.Effect< UpdateResponseHeadersPolicyResult, - | AccessDenied - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidIfMatchVersion - | NoSuchResponseHeadersPolicy - | PreconditionFailed - | ResponseHeadersPolicyAlreadyExists - | TooLongCSPInResponseHeadersPolicy - | TooManyCustomHeadersInResponseHeadersPolicy - | TooManyRemoveHeadersInResponseHeadersPolicy - | CommonAwsError + AccessDenied | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidIfMatchVersion | NoSuchResponseHeadersPolicy | PreconditionFailed | ResponseHeadersPolicyAlreadyExists | TooLongCSPInResponseHeadersPolicy | TooManyCustomHeadersInResponseHeadersPolicy | TooManyRemoveHeadersInResponseHeadersPolicy | CommonAwsError >; updateStreamingDistribution( input: UpdateStreamingDistributionRequest, ): Effect.Effect< UpdateStreamingDistributionResult, - | AccessDenied - | CNAMEAlreadyExists - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidIfMatchVersion - | InvalidOriginAccessControl - | InvalidOriginAccessIdentity - | MissingBody - | NoSuchStreamingDistribution - | PreconditionFailed - | TooManyStreamingDistributionCNAMEs - | TooManyTrustedSigners - | TrustedSignerDoesNotExist - | CommonAwsError + AccessDenied | CNAMEAlreadyExists | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidIfMatchVersion | InvalidOriginAccessControl | InvalidOriginAccessIdentity | MissingBody | NoSuchStreamingDistribution | PreconditionFailed | TooManyStreamingDistributionCNAMEs | TooManyTrustedSigners | TrustedSignerDoesNotExist | CommonAwsError >; updateVpcOrigin( input: UpdateVpcOriginRequest, ): Effect.Effect< UpdateVpcOriginResult, - | AccessDenied - | CannotUpdateEntityWhileInUse - | EntityAlreadyExists - | EntityLimitExceeded - | EntityNotFound - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidIfMatchVersion - | PreconditionFailed - | UnsupportedOperation - | CommonAwsError + AccessDenied | CannotUpdateEntityWhileInUse | EntityAlreadyExists | EntityLimitExceeded | EntityNotFound | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidIfMatchVersion | PreconditionFailed | UnsupportedOperation | CommonAwsError >; verifyDnsConfiguration( input: VerifyDnsConfigurationRequest, @@ -1755,8 +920,7 @@ export declare class CloudFront extends AWSServiceClient { export declare class Cloudfront extends CloudFront {} export type AccessControlAllowHeadersList = Array; -export type AccessControlAllowMethodsList = - Array; +export type AccessControlAllowMethodsList = Array; export type AccessControlAllowOriginsList = Array; export type AccessControlExposeHeadersList = Array; export declare class AccessDenied extends EffectData.TaggedError( @@ -1904,11 +1068,7 @@ export interface CachePolicyConfig { MinTTL: number; ParametersInCacheKeyAndForwardedToOrigin?: ParametersInCacheKeyAndForwardedToOrigin; } -export type CachePolicyCookieBehavior = - | "none" - | "whitelist" - | "allExcept" - | "all"; +export type CachePolicyCookieBehavior = "none" | "whitelist" | "allExcept" | "all"; export interface CachePolicyCookiesConfig { CookieBehavior: CachePolicyCookieBehavior; Cookies?: CookieNames; @@ -1929,11 +1089,7 @@ export interface CachePolicyList { Quantity: number; Items?: Array; } -export type CachePolicyQueryStringBehavior = - | "none" - | "whitelist" - | "allExcept" - | "all"; +export type CachePolicyQueryStringBehavior = "none" | "whitelist" | "allExcept" | "all"; export interface CachePolicyQueryStringsConfig { QueryStringBehavior: CachePolicyQueryStringBehavior; QueryStrings?: QueryStringNames; @@ -1996,8 +1152,7 @@ export interface CloudFrontOriginAccessIdentitySummary { S3CanonicalUserId: string; Comment: string; } -export type CloudFrontOriginAccessIdentitySummaryList = - Array; +export type CloudFrontOriginAccessIdentitySummaryList = Array; export declare class CNAMEAlreadyExists extends EffectData.TaggedError( "CNAMEAlreadyExists", )<{ @@ -2092,8 +1247,7 @@ export interface ContinuousDeploymentPolicyList { export interface ContinuousDeploymentPolicySummary { ContinuousDeploymentPolicy: ContinuousDeploymentPolicy; } -export type ContinuousDeploymentPolicySummaryList = - Array; +export type ContinuousDeploymentPolicySummaryList = Array; export type ContinuousDeploymentPolicyType = "SingleWeight" | "SingleHeader"; export interface ContinuousDeploymentSingleHeaderConfig { Header: string; @@ -2435,7 +1589,8 @@ export interface DeleteKeyValueStoreRequest { export interface DeleteMonitoringSubscriptionRequest { DistributionId: string; } -export interface DeleteMonitoringSubscriptionResult {} +export interface DeleteMonitoringSubscriptionResult { +} export interface DeleteOriginAccessControlRequest { Id: string; IfMatch?: string; @@ -2656,10 +1811,7 @@ export interface DnsConfiguration { Reason?: string; } export type DnsConfigurationList = Array; -export type DnsConfigurationStatus = - | "valid-configuration" - | "invalid-configuration" - | "unknown-configuration"; +export type DnsConfigurationStatus = "valid-configuration" | "invalid-configuration" | "unknown-configuration"; export interface DomainConflict { Domain: string; ResourceType: DistributionResourceType; @@ -2712,11 +1864,7 @@ export declare class EntitySizeLimitExceeded extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type EventType = - | "viewer-request" - | "viewer-response" - | "origin-request" - | "origin-response"; +export type EventType = "viewer-request" | "viewer-response" | "origin-request" | "origin-response"; export interface FieldLevelEncryption { Id: string; LastModifiedTime: Date | string; @@ -2783,8 +1931,7 @@ export interface FieldLevelEncryptionProfileSummary { EncryptionEntities: EncryptionEntities; Comment?: string; } -export type FieldLevelEncryptionProfileSummaryList = - Array; +export type FieldLevelEncryptionProfileSummaryList = Array; export interface FieldLevelEncryptionSummary { Id: string; LastModifiedTime: Date | string; @@ -2792,8 +1939,7 @@ export interface FieldLevelEncryptionSummary { QueryArgProfileConfig?: QueryArgProfileConfig; ContentTypeProfileConfig?: ContentTypeProfileConfig; } -export type FieldLevelEncryptionSummaryList = - Array; +export type FieldLevelEncryptionSummaryList = Array; export type FieldList = Array; export type FieldPatternList = Array; export interface FieldPatterns { @@ -3717,34 +2863,13 @@ export interface ManagedCertificateRequest { PrimaryDomainName?: string; CertificateTransparencyLoggingPreference?: CertificateTransparencyLoggingPreference; } -export type ManagedCertificateStatus = - | "pending-validation" - | "issued" - | "inactive" - | "expired" - | "validation-timed-out" - | "revoked" - | "failed"; -export type Method = - | "GET" - | "HEAD" - | "POST" - | "PUT" - | "PATCH" - | "OPTIONS" - | "DELETE"; +export type ManagedCertificateStatus = "pending-validation" | "issued" | "inactive" | "expired" | "validation-timed-out" | "revoked" | "failed"; +export type Method = "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE"; export type MethodsList = Array; -export type MinimumProtocolVersion = - | "SSLv3" - | "TLSv1" - | "TLSv1_2016" - | "TLSv1.1_2016" - | "TLSv1.2_2018" - | "TLSv1.2_2019" - | "TLSv1.2_2021" - | "TLSv1.3_2025" - | "TLSv1.2_2025"; -export declare class MissingBody extends EffectData.TaggedError("MissingBody")<{ +export type MinimumProtocolVersion = "SSLv3" | "TLSv1" | "TLSv1_2016" | "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021" | "TLSv1.3_2025" | "TLSv1.2_2025"; +export declare class MissingBody extends EffectData.TaggedError( + "MissingBody", +)<{ readonly Message?: string; }> {} export interface MonitoringSubscription { @@ -3883,15 +3008,8 @@ export interface OriginAccessControlList { Quantity: number; Items?: Array; } -export type OriginAccessControlOriginTypes = - | "s3" - | "mediastore" - | "mediapackagev2" - | "lambda"; -export type OriginAccessControlSigningBehaviors = - | "never" - | "always" - | "no-override"; +export type OriginAccessControlOriginTypes = "s3" | "mediastore" | "mediapackagev2" | "lambda"; +export type OriginAccessControlSigningBehaviors = "never" | "always" | "no-override"; export type OriginAccessControlSigningProtocols = "sigv4"; export interface OriginAccessControlSummary { Id: string; @@ -3949,21 +3067,12 @@ export interface OriginRequestPolicyConfig { CookiesConfig: OriginRequestPolicyCookiesConfig; QueryStringsConfig: OriginRequestPolicyQueryStringsConfig; } -export type OriginRequestPolicyCookieBehavior = - | "none" - | "whitelist" - | "all" - | "allExcept"; +export type OriginRequestPolicyCookieBehavior = "none" | "whitelist" | "all" | "allExcept"; export interface OriginRequestPolicyCookiesConfig { CookieBehavior: OriginRequestPolicyCookieBehavior; Cookies?: CookieNames; } -export type OriginRequestPolicyHeaderBehavior = - | "none" - | "whitelist" - | "allViewer" - | "allViewerAndWhitelistCloudFront" - | "allExcept"; +export type OriginRequestPolicyHeaderBehavior = "none" | "whitelist" | "allViewer" | "allViewerAndWhitelistCloudFront" | "allExcept"; export interface OriginRequestPolicyHeadersConfig { HeaderBehavior: OriginRequestPolicyHeaderBehavior; Headers?: Headers; @@ -3979,11 +3088,7 @@ export interface OriginRequestPolicyList { Quantity: number; Items?: Array; } -export type OriginRequestPolicyQueryStringBehavior = - | "none" - | "whitelist" - | "all" - | "allExcept"; +export type OriginRequestPolicyQueryStringBehavior = "none" | "whitelist" | "all" | "allExcept"; export interface OriginRequestPolicyQueryStringsConfig { QueryStringBehavior: OriginRequestPolicyQueryStringBehavior; QueryStrings?: QueryStringNames; @@ -4042,11 +3147,7 @@ export declare class PreconditionFailed extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type PriceClass = - | "PriceClass_100" - | "PriceClass_200" - | "PriceClass_All" - | "None"; +export type PriceClass = "PriceClass_100" | "PriceClass_200" | "PriceClass_All" | "None"; export interface PublicKey { Id: string; CreatedTime: Date | string; @@ -4159,15 +3260,7 @@ export interface RealtimeMetricsSubscriptionConfig { RealtimeMetricsSubscriptionStatus: RealtimeMetricsSubscriptionStatus; } export type RealtimeMetricsSubscriptionStatus = "Enabled" | "Disabled"; -export type ReferrerPolicyList = - | "no-referrer" - | "no-referrer-when-downgrade" - | "origin" - | "origin-when-cross-origin" - | "same-origin" - | "strict-origin" - | "strict-origin-when-cross-origin" - | "unsafe-url"; +export type ReferrerPolicyList = "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url"; export type ResourceARN = string; export declare class ResourceInUse extends EffectData.TaggedError( @@ -4193,15 +3286,7 @@ export interface ResponseHeadersPolicyAccessControlAllowMethods { Quantity: number; Items: Array; } -export type ResponseHeadersPolicyAccessControlAllowMethodsValues = - | "GET" - | "POST" - | "OPTIONS" - | "PUT" - | "DELETE" - | "PATCH" - | "HEAD" - | "ALL"; +export type ResponseHeadersPolicyAccessControlAllowMethodsValues = "GET" | "POST" | "OPTIONS" | "PUT" | "DELETE" | "PATCH" | "HEAD" | "ALL"; export interface ResponseHeadersPolicyAccessControlAllowOrigins { Quantity: number; Items: Array; @@ -4245,8 +3330,7 @@ export interface ResponseHeadersPolicyCustomHeader { Value: string; Override: boolean; } -export type ResponseHeadersPolicyCustomHeaderList = - Array; +export type ResponseHeadersPolicyCustomHeaderList = Array; export interface ResponseHeadersPolicyCustomHeadersConfig { Quantity: number; Items?: Array; @@ -4273,8 +3357,7 @@ export interface ResponseHeadersPolicyReferrerPolicy { export interface ResponseHeadersPolicyRemoveHeader { Header: string; } -export type ResponseHeadersPolicyRemoveHeaderList = - Array; +export type ResponseHeadersPolicyRemoveHeaderList = Array; export interface ResponseHeadersPolicyRemoveHeadersConfig { Quantity: number; Items?: Array; @@ -4301,8 +3384,7 @@ export interface ResponseHeadersPolicySummary { Type: ResponseHeadersPolicyType; ResponseHeadersPolicy: ResponseHeadersPolicy; } -export type ResponseHeadersPolicySummaryList = - Array; +export type ResponseHeadersPolicySummaryList = Array; export type ResponseHeadersPolicyType = "managed" | "custom"; export interface ResponseHeadersPolicyXSSProtection { Override: boolean; @@ -4408,8 +3490,7 @@ export interface StreamingDistributionSummary { PriceClass: PriceClass; Enabled: boolean; } -export type StreamingDistributionSummaryList = - Array; +export type StreamingDistributionSummaryList = Array; export interface StreamingLoggingConfig { Enabled: boolean; Bucket: string; @@ -4986,10 +4067,7 @@ export interface ViewerCertificate { Certificate?: string; CertificateSource?: CertificateSource; } -export type ViewerProtocolPolicy = - | "allow-all" - | "https-only" - | "redirect-to-https"; +export type ViewerProtocolPolicy = "allow-all" | "https-only" | "redirect-to-https"; export interface VpcOrigin { Id: string; Arn: string; @@ -5914,13 +4992,19 @@ export declare namespace GetAnycastIpList { export declare namespace GetCachePolicy { export type Input = GetCachePolicyRequest; export type Output = GetCachePolicyResult; - export type Error = AccessDenied | NoSuchCachePolicy | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchCachePolicy + | CommonAwsError; } export declare namespace GetCachePolicyConfig { export type Input = GetCachePolicyConfigRequest; export type Output = GetCachePolicyConfigResult; - export type Error = AccessDenied | NoSuchCachePolicy | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchCachePolicy + | CommonAwsError; } export declare namespace GetCloudFrontOriginAccessIdentity { @@ -5944,13 +5028,19 @@ export declare namespace GetCloudFrontOriginAccessIdentityConfig { export declare namespace GetConnectionGroup { export type Input = GetConnectionGroupRequest; export type Output = GetConnectionGroupResult; - export type Error = AccessDenied | EntityNotFound | CommonAwsError; + export type Error = + | AccessDenied + | EntityNotFound + | CommonAwsError; } export declare namespace GetConnectionGroupByRoutingEndpoint { export type Input = GetConnectionGroupByRoutingEndpointRequest; export type Output = GetConnectionGroupByRoutingEndpointResult; - export type Error = AccessDenied | EntityNotFound | CommonAwsError; + export type Error = + | AccessDenied + | EntityNotFound + | CommonAwsError; } export declare namespace GetContinuousDeploymentPolicy { @@ -5974,25 +5064,37 @@ export declare namespace GetContinuousDeploymentPolicyConfig { export declare namespace GetDistribution { export type Input = GetDistributionRequest; export type Output = GetDistributionResult; - export type Error = AccessDenied | NoSuchDistribution | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchDistribution + | CommonAwsError; } export declare namespace GetDistributionConfig { export type Input = GetDistributionConfigRequest; export type Output = GetDistributionConfigResult; - export type Error = AccessDenied | NoSuchDistribution | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchDistribution + | CommonAwsError; } export declare namespace GetDistributionTenant { export type Input = GetDistributionTenantRequest; export type Output = GetDistributionTenantResult; - export type Error = AccessDenied | EntityNotFound | CommonAwsError; + export type Error = + | AccessDenied + | EntityNotFound + | CommonAwsError; } export declare namespace GetDistributionTenantByDomain { export type Input = GetDistributionTenantByDomainRequest; export type Output = GetDistributionTenantByDomainResult; - export type Error = AccessDenied | EntityNotFound | CommonAwsError; + export type Error = + | AccessDenied + | EntityNotFound + | CommonAwsError; } export declare namespace GetFieldLevelEncryption { @@ -6063,19 +5165,26 @@ export declare namespace GetInvalidationForDistributionTenant { export declare namespace GetKeyGroup { export type Input = GetKeyGroupRequest; export type Output = GetKeyGroupResult; - export type Error = NoSuchResource | CommonAwsError; + export type Error = + | NoSuchResource + | CommonAwsError; } export declare namespace GetKeyGroupConfig { export type Input = GetKeyGroupConfigRequest; export type Output = GetKeyGroupConfigResult; - export type Error = NoSuchResource | CommonAwsError; + export type Error = + | NoSuchResource + | CommonAwsError; } export declare namespace GetManagedCertificateDetails { export type Input = GetManagedCertificateDetailsRequest; export type Output = GetManagedCertificateDetailsResult; - export type Error = AccessDenied | EntityNotFound | CommonAwsError; + export type Error = + | AccessDenied + | EntityNotFound + | CommonAwsError; } export declare namespace GetMonitoringSubscription { @@ -6092,37 +5201,55 @@ export declare namespace GetMonitoringSubscription { export declare namespace GetOriginAccessControl { export type Input = GetOriginAccessControlRequest; export type Output = GetOriginAccessControlResult; - export type Error = AccessDenied | NoSuchOriginAccessControl | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchOriginAccessControl + | CommonAwsError; } export declare namespace GetOriginAccessControlConfig { export type Input = GetOriginAccessControlConfigRequest; export type Output = GetOriginAccessControlConfigResult; - export type Error = AccessDenied | NoSuchOriginAccessControl | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchOriginAccessControl + | CommonAwsError; } export declare namespace GetOriginRequestPolicy { export type Input = GetOriginRequestPolicyRequest; export type Output = GetOriginRequestPolicyResult; - export type Error = AccessDenied | NoSuchOriginRequestPolicy | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchOriginRequestPolicy + | CommonAwsError; } export declare namespace GetOriginRequestPolicyConfig { export type Input = GetOriginRequestPolicyConfigRequest; export type Output = GetOriginRequestPolicyConfigResult; - export type Error = AccessDenied | NoSuchOriginRequestPolicy | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchOriginRequestPolicy + | CommonAwsError; } export declare namespace GetPublicKey { export type Input = GetPublicKeyRequest; export type Output = GetPublicKeyResult; - export type Error = AccessDenied | NoSuchPublicKey | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchPublicKey + | CommonAwsError; } export declare namespace GetPublicKeyConfig { export type Input = GetPublicKeyConfigRequest; export type Output = GetPublicKeyConfigResult; - export type Error = AccessDenied | NoSuchPublicKey | CommonAwsError; + export type Error = + | AccessDenied + | NoSuchPublicKey + | CommonAwsError; } export declare namespace GetRealtimeLogConfig { @@ -6217,13 +5344,18 @@ export declare namespace ListCachePolicies { export declare namespace ListCloudFrontOriginAccessIdentities { export type Input = ListCloudFrontOriginAccessIdentitiesRequest; export type Output = ListCloudFrontOriginAccessIdentitiesResult; - export type Error = InvalidArgument | CommonAwsError; + export type Error = + | InvalidArgument + | CommonAwsError; } export declare namespace ListConflictingAliases { export type Input = ListConflictingAliasesRequest; export type Output = ListConflictingAliasesResult; - export type Error = InvalidArgument | NoSuchDistribution | CommonAwsError; + export type Error = + | InvalidArgument + | NoSuchDistribution + | CommonAwsError; } export declare namespace ListConnectionGroups { @@ -6249,7 +5381,9 @@ export declare namespace ListContinuousDeploymentPolicies { export declare namespace ListDistributions { export type Input = ListDistributionsRequest; export type Output = ListDistributionsResult; - export type Error = InvalidArgument | CommonAwsError; + export type Error = + | InvalidArgument + | CommonAwsError; } export declare namespace ListDistributionsByAnycastIpListId { @@ -6276,13 +5410,19 @@ export declare namespace ListDistributionsByCachePolicyId { export declare namespace ListDistributionsByConnectionMode { export type Input = ListDistributionsByConnectionModeRequest; export type Output = ListDistributionsByConnectionModeResult; - export type Error = AccessDenied | InvalidArgument | CommonAwsError; + export type Error = + | AccessDenied + | InvalidArgument + | CommonAwsError; } export declare namespace ListDistributionsByKeyGroup { export type Input = ListDistributionsByKeyGroupRequest; export type Output = ListDistributionsByKeyGroupResult; - export type Error = InvalidArgument | NoSuchResource | CommonAwsError; + export type Error = + | InvalidArgument + | NoSuchResource + | CommonAwsError; } export declare namespace ListDistributionsByOriginRequestPolicyId { @@ -6309,7 +5449,9 @@ export declare namespace ListDistributionsByOwnedResource { export declare namespace ListDistributionsByRealtimeLogConfig { export type Input = ListDistributionsByRealtimeLogConfigRequest; export type Output = ListDistributionsByRealtimeLogConfigResult; - export type Error = InvalidArgument | CommonAwsError; + export type Error = + | InvalidArgument + | CommonAwsError; } export declare namespace ListDistributionsByResponseHeadersPolicyId { @@ -6336,7 +5478,10 @@ export declare namespace ListDistributionsByVpcOriginId { export declare namespace ListDistributionsByWebACLId { export type Input = ListDistributionsByWebACLIdRequest; export type Output = ListDistributionsByWebACLIdResult; - export type Error = InvalidArgument | InvalidWebACLId | CommonAwsError; + export type Error = + | InvalidArgument + | InvalidWebACLId + | CommonAwsError; } export declare namespace ListDistributionTenants { @@ -6372,19 +5517,26 @@ export declare namespace ListDomainConflicts { export declare namespace ListFieldLevelEncryptionConfigs { export type Input = ListFieldLevelEncryptionConfigsRequest; export type Output = ListFieldLevelEncryptionConfigsResult; - export type Error = InvalidArgument | CommonAwsError; + export type Error = + | InvalidArgument + | CommonAwsError; } export declare namespace ListFieldLevelEncryptionProfiles { export type Input = ListFieldLevelEncryptionProfilesRequest; export type Output = ListFieldLevelEncryptionProfilesResult; - export type Error = InvalidArgument | CommonAwsError; + export type Error = + | InvalidArgument + | CommonAwsError; } export declare namespace ListFunctions { export type Input = ListFunctionsRequest; export type Output = ListFunctionsResult; - export type Error = InvalidArgument | UnsupportedOperation | CommonAwsError; + export type Error = + | InvalidArgument + | UnsupportedOperation + | CommonAwsError; } export declare namespace ListInvalidations { @@ -6410,7 +5562,9 @@ export declare namespace ListInvalidationsForDistributionTenant { export declare namespace ListKeyGroups { export type Input = ListKeyGroupsRequest; export type Output = ListKeyGroupsResult; - export type Error = InvalidArgument | CommonAwsError; + export type Error = + | InvalidArgument + | CommonAwsError; } export declare namespace ListKeyValueStores { @@ -6426,7 +5580,9 @@ export declare namespace ListKeyValueStores { export declare namespace ListOriginAccessControls { export type Input = ListOriginAccessControlsRequest; export type Output = ListOriginAccessControlsResult; - export type Error = InvalidArgument | CommonAwsError; + export type Error = + | InvalidArgument + | CommonAwsError; } export declare namespace ListOriginRequestPolicies { @@ -6442,7 +5598,9 @@ export declare namespace ListOriginRequestPolicies { export declare namespace ListPublicKeys { export type Input = ListPublicKeysRequest; export type Output = ListPublicKeysResult; - export type Error = InvalidArgument | CommonAwsError; + export type Error = + | InvalidArgument + | CommonAwsError; } export declare namespace ListRealtimeLogConfigs { @@ -6468,7 +5626,9 @@ export declare namespace ListResponseHeadersPolicies { export declare namespace ListStreamingDistributions { export type Input = ListStreamingDistributionsRequest; export type Output = ListStreamingDistributionsResult; - export type Error = InvalidArgument | CommonAwsError; + export type Error = + | InvalidArgument + | CommonAwsError; } export declare namespace ListTagsForResource { @@ -6998,157 +6158,5 @@ export declare namespace VerifyDnsConfiguration { | CommonAwsError; } -export type CloudFrontErrors = - | AccessDenied - | BatchTooLarge - | CNAMEAlreadyExists - | CachePolicyAlreadyExists - | CachePolicyInUse - | CannotChangeImmutablePublicKeyFields - | CannotDeleteEntityWhileInUse - | CannotUpdateEntityWhileInUse - | CloudFrontOriginAccessIdentityAlreadyExists - | CloudFrontOriginAccessIdentityInUse - | ContinuousDeploymentPolicyAlreadyExists - | ContinuousDeploymentPolicyInUse - | DistributionAlreadyExists - | DistributionNotDisabled - | EntityAlreadyExists - | EntityLimitExceeded - | EntityNotFound - | EntitySizeLimitExceeded - | FieldLevelEncryptionConfigAlreadyExists - | FieldLevelEncryptionConfigInUse - | FieldLevelEncryptionProfileAlreadyExists - | FieldLevelEncryptionProfileInUse - | FieldLevelEncryptionProfileSizeExceeded - | FunctionAlreadyExists - | FunctionInUse - | FunctionSizeLimitExceeded - | IllegalDelete - | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior - | IllegalOriginAccessConfiguration - | IllegalUpdate - | InconsistentQuantities - | InvalidArgument - | InvalidAssociation - | InvalidDefaultRootObject - | InvalidDomainNameForOriginAccessControl - | InvalidErrorCode - | InvalidForwardCookies - | InvalidFunctionAssociation - | InvalidGeoRestrictionParameter - | InvalidHeadersForS3Origin - | InvalidIfMatchVersion - | InvalidLambdaFunctionAssociation - | InvalidLocationCode - | InvalidMinimumProtocolVersion - | InvalidOrigin - | InvalidOriginAccessControl - | InvalidOriginAccessIdentity - | InvalidOriginKeepaliveTimeout - | InvalidOriginReadTimeout - | InvalidProtocolSettings - | InvalidQueryStringParameters - | InvalidRelativePath - | InvalidRequiredProtocol - | InvalidResponseCode - | InvalidTTLOrder - | InvalidTagging - | InvalidViewerCertificate - | InvalidWebACLId - | KeyGroupAlreadyExists - | MissingBody - | MonitoringSubscriptionAlreadyExists - | NoSuchCachePolicy - | NoSuchCloudFrontOriginAccessIdentity - | NoSuchContinuousDeploymentPolicy - | NoSuchDistribution - | NoSuchFieldLevelEncryptionConfig - | NoSuchFieldLevelEncryptionProfile - | NoSuchFunctionExists - | NoSuchInvalidation - | NoSuchMonitoringSubscription - | NoSuchOrigin - | NoSuchOriginAccessControl - | NoSuchOriginRequestPolicy - | NoSuchPublicKey - | NoSuchRealtimeLogConfig - | NoSuchResource - | NoSuchResponseHeadersPolicy - | NoSuchStreamingDistribution - | OriginAccessControlAlreadyExists - | OriginAccessControlInUse - | OriginRequestPolicyAlreadyExists - | OriginRequestPolicyInUse - | PreconditionFailed - | PublicKeyAlreadyExists - | PublicKeyInUse - | QueryArgProfileEmpty - | RealtimeLogConfigAlreadyExists - | RealtimeLogConfigInUse - | RealtimeLogConfigOwnerMismatch - | ResourceInUse - | ResourceNotDisabled - | ResponseHeadersPolicyAlreadyExists - | ResponseHeadersPolicyInUse - | StagingDistributionInUse - | StreamingDistributionAlreadyExists - | StreamingDistributionNotDisabled - | TestFunctionFailed - | TooLongCSPInResponseHeadersPolicy - | TooManyCacheBehaviors - | TooManyCachePolicies - | TooManyCertificates - | TooManyCloudFrontOriginAccessIdentities - | TooManyContinuousDeploymentPolicies - | TooManyCookieNamesInWhiteList - | TooManyCookiesInCachePolicy - | TooManyCookiesInOriginRequestPolicy - | TooManyCustomHeadersInResponseHeadersPolicy - | TooManyDistributionCNAMEs - | TooManyDistributions - | TooManyDistributionsAssociatedToCachePolicy - | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig - | TooManyDistributionsAssociatedToKeyGroup - | TooManyDistributionsAssociatedToOriginAccessControl - | TooManyDistributionsAssociatedToOriginRequestPolicy - | TooManyDistributionsAssociatedToResponseHeadersPolicy - | TooManyDistributionsWithFunctionAssociations - | TooManyDistributionsWithLambdaAssociations - | TooManyDistributionsWithSingleFunctionARN - | TooManyFieldLevelEncryptionConfigs - | TooManyFieldLevelEncryptionContentTypeProfiles - | TooManyFieldLevelEncryptionEncryptionEntities - | TooManyFieldLevelEncryptionFieldPatterns - | TooManyFieldLevelEncryptionProfiles - | TooManyFieldLevelEncryptionQueryArgProfiles - | TooManyFunctionAssociations - | TooManyFunctions - | TooManyHeadersInCachePolicy - | TooManyHeadersInForwardedValues - | TooManyHeadersInOriginRequestPolicy - | TooManyInvalidationsInProgress - | TooManyKeyGroups - | TooManyKeyGroupsAssociatedToDistribution - | TooManyLambdaFunctionAssociations - | TooManyOriginAccessControls - | TooManyOriginCustomHeaders - | TooManyOriginGroupsPerDistribution - | TooManyOriginRequestPolicies - | TooManyOrigins - | TooManyPublicKeys - | TooManyPublicKeysInKeyGroup - | TooManyQueryStringParameters - | TooManyQueryStringsInCachePolicy - | TooManyQueryStringsInOriginRequestPolicy - | TooManyRealtimeLogConfigs - | TooManyRemoveHeadersInResponseHeadersPolicy - | TooManyResponseHeadersPolicies - | TooManyStreamingDistributionCNAMEs - | TooManyStreamingDistributions - | TooManyTrustedSigners - | TrustedKeyGroupDoesNotExist - | TrustedSignerDoesNotExist - | UnsupportedOperation - | CommonAwsError; +export type CloudFrontErrors = AccessDenied | BatchTooLarge | CNAMEAlreadyExists | CachePolicyAlreadyExists | CachePolicyInUse | CannotChangeImmutablePublicKeyFields | CannotDeleteEntityWhileInUse | CannotUpdateEntityWhileInUse | CloudFrontOriginAccessIdentityAlreadyExists | CloudFrontOriginAccessIdentityInUse | ContinuousDeploymentPolicyAlreadyExists | ContinuousDeploymentPolicyInUse | DistributionAlreadyExists | DistributionNotDisabled | EntityAlreadyExists | EntityLimitExceeded | EntityNotFound | EntitySizeLimitExceeded | FieldLevelEncryptionConfigAlreadyExists | FieldLevelEncryptionConfigInUse | FieldLevelEncryptionProfileAlreadyExists | FieldLevelEncryptionProfileInUse | FieldLevelEncryptionProfileSizeExceeded | FunctionAlreadyExists | FunctionInUse | FunctionSizeLimitExceeded | IllegalDelete | IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior | IllegalOriginAccessConfiguration | IllegalUpdate | InconsistentQuantities | InvalidArgument | InvalidAssociation | InvalidDefaultRootObject | InvalidDomainNameForOriginAccessControl | InvalidErrorCode | InvalidForwardCookies | InvalidFunctionAssociation | InvalidGeoRestrictionParameter | InvalidHeadersForS3Origin | InvalidIfMatchVersion | InvalidLambdaFunctionAssociation | InvalidLocationCode | InvalidMinimumProtocolVersion | InvalidOrigin | InvalidOriginAccessControl | InvalidOriginAccessIdentity | InvalidOriginKeepaliveTimeout | InvalidOriginReadTimeout | InvalidProtocolSettings | InvalidQueryStringParameters | InvalidRelativePath | InvalidRequiredProtocol | InvalidResponseCode | InvalidTTLOrder | InvalidTagging | InvalidViewerCertificate | InvalidWebACLId | KeyGroupAlreadyExists | MissingBody | MonitoringSubscriptionAlreadyExists | NoSuchCachePolicy | NoSuchCloudFrontOriginAccessIdentity | NoSuchContinuousDeploymentPolicy | NoSuchDistribution | NoSuchFieldLevelEncryptionConfig | NoSuchFieldLevelEncryptionProfile | NoSuchFunctionExists | NoSuchInvalidation | NoSuchMonitoringSubscription | NoSuchOrigin | NoSuchOriginAccessControl | NoSuchOriginRequestPolicy | NoSuchPublicKey | NoSuchRealtimeLogConfig | NoSuchResource | NoSuchResponseHeadersPolicy | NoSuchStreamingDistribution | OriginAccessControlAlreadyExists | OriginAccessControlInUse | OriginRequestPolicyAlreadyExists | OriginRequestPolicyInUse | PreconditionFailed | PublicKeyAlreadyExists | PublicKeyInUse | QueryArgProfileEmpty | RealtimeLogConfigAlreadyExists | RealtimeLogConfigInUse | RealtimeLogConfigOwnerMismatch | ResourceInUse | ResourceNotDisabled | ResponseHeadersPolicyAlreadyExists | ResponseHeadersPolicyInUse | StagingDistributionInUse | StreamingDistributionAlreadyExists | StreamingDistributionNotDisabled | TestFunctionFailed | TooLongCSPInResponseHeadersPolicy | TooManyCacheBehaviors | TooManyCachePolicies | TooManyCertificates | TooManyCloudFrontOriginAccessIdentities | TooManyContinuousDeploymentPolicies | TooManyCookieNamesInWhiteList | TooManyCookiesInCachePolicy | TooManyCookiesInOriginRequestPolicy | TooManyCustomHeadersInResponseHeadersPolicy | TooManyDistributionCNAMEs | TooManyDistributions | TooManyDistributionsAssociatedToCachePolicy | TooManyDistributionsAssociatedToFieldLevelEncryptionConfig | TooManyDistributionsAssociatedToKeyGroup | TooManyDistributionsAssociatedToOriginAccessControl | TooManyDistributionsAssociatedToOriginRequestPolicy | TooManyDistributionsAssociatedToResponseHeadersPolicy | TooManyDistributionsWithFunctionAssociations | TooManyDistributionsWithLambdaAssociations | TooManyDistributionsWithSingleFunctionARN | TooManyFieldLevelEncryptionConfigs | TooManyFieldLevelEncryptionContentTypeProfiles | TooManyFieldLevelEncryptionEncryptionEntities | TooManyFieldLevelEncryptionFieldPatterns | TooManyFieldLevelEncryptionProfiles | TooManyFieldLevelEncryptionQueryArgProfiles | TooManyFunctionAssociations | TooManyFunctions | TooManyHeadersInCachePolicy | TooManyHeadersInForwardedValues | TooManyHeadersInOriginRequestPolicy | TooManyInvalidationsInProgress | TooManyKeyGroups | TooManyKeyGroupsAssociatedToDistribution | TooManyLambdaFunctionAssociations | TooManyOriginAccessControls | TooManyOriginCustomHeaders | TooManyOriginGroupsPerDistribution | TooManyOriginRequestPolicies | TooManyOrigins | TooManyPublicKeys | TooManyPublicKeysInKeyGroup | TooManyQueryStringParameters | TooManyQueryStringsInCachePolicy | TooManyQueryStringsInOriginRequestPolicy | TooManyRealtimeLogConfigs | TooManyRemoveHeadersInResponseHeadersPolicy | TooManyResponseHeadersPolicies | TooManyStreamingDistributionCNAMEs | TooManyStreamingDistributions | TooManyTrustedSigners | TrustedKeyGroupDoesNotExist | TrustedSignerDoesNotExist | UnsupportedOperation | CommonAwsError; + diff --git a/src/services/cloudhsm-v2/index.ts b/src/services/cloudhsm-v2/index.ts index bc643503..736c61c1 100644 --- a/src/services/cloudhsm-v2/index.ts +++ b/src/services/cloudhsm-v2/index.ts @@ -5,26 +5,7 @@ import type { CloudHSMV2 as _CloudHSMV2Client } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cloudhsm-v2/types.ts b/src/services/cloudhsm-v2/types.ts index e2781ed1..65fb4c6f 100644 --- a/src/services/cloudhsm-v2/types.ts +++ b/src/services/cloudhsm-v2/types.ts @@ -7,207 +7,109 @@ export declare class CloudHSMV2 extends AWSServiceClient { input: CopyBackupToRegionRequest, ): Effect.Effect< CopyBackupToRegionResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CloudHsmTagException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CloudHsmTagException | CommonAwsError >; createCluster( input: CreateClusterRequest, ): Effect.Effect< CreateClusterResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CloudHsmTagException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CloudHsmTagException | CommonAwsError >; createHsm( input: CreateHsmRequest, ): Effect.Effect< CreateHsmResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; deleteBackup( input: DeleteBackupRequest, ): Effect.Effect< DeleteBackupResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; deleteCluster( input: DeleteClusterRequest, ): Effect.Effect< DeleteClusterResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CloudHsmTagException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CloudHsmTagException | CommonAwsError >; deleteHsm( input: DeleteHsmRequest, ): Effect.Effect< DeleteHsmResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; describeBackups( input: DescribeBackupsRequest, ): Effect.Effect< DescribeBackupsResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CloudHsmTagException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CloudHsmTagException | CommonAwsError >; describeClusters( input: DescribeClustersRequest, ): Effect.Effect< DescribeClustersResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmServiceException - | CloudHsmTagException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmServiceException | CloudHsmTagException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; initializeCluster( input: InitializeClusterRequest, ): Effect.Effect< InitializeClusterResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; listTags( input: ListTagsRequest, ): Effect.Effect< ListTagsResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CloudHsmTagException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CloudHsmTagException | CommonAwsError >; modifyBackupAttributes( input: ModifyBackupAttributesRequest, ): Effect.Effect< ModifyBackupAttributesResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; modifyCluster( input: ModifyClusterRequest, ): Effect.Effect< ModifyClusterResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; restoreBackup( input: RestoreBackupRequest, ): Effect.Effect< RestoreBackupResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceLimitExceededException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CloudHsmTagException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceLimitExceededException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CloudHsmTagException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CloudHsmTagException - | CommonAwsError + CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CloudHsmTagException | CommonAwsError >; } @@ -244,11 +146,7 @@ export type BackupRetentionValue = string; export type Backups = Array; export type BackupsMaxSize = number; -export type BackupState = - | "CREATE_IN_PROGRESS" - | "READY" - | "DELETED" - | "PENDING_DELETION"; +export type BackupState = "CREATE_IN_PROGRESS" | "READY" | "DELETED" | "PENDING_DELETION"; export type CloudhsmV2Boolean = boolean; export type Cert = string; @@ -323,18 +221,7 @@ export type ClusterMode = "FIPS" | "NON_FIPS"; export type Clusters = Array; export type ClustersMaxSize = number; -export type ClusterState = - | "CREATE_IN_PROGRESS" - | "UNINITIALIZED" - | "INITIALIZE_IN_PROGRESS" - | "INITIALIZED" - | "ACTIVE" - | "UPDATE_IN_PROGRESS" - | "MODIFY_IN_PROGRESS" - | "ROLLBACK_IN_PROGRESS" - | "DELETE_IN_PROGRESS" - | "DELETED" - | "DEGRADED"; +export type ClusterState = "CREATE_IN_PROGRESS" | "UNINITIALIZED" | "INITIALIZE_IN_PROGRESS" | "INITIALIZED" | "ACTIVE" | "UPDATE_IN_PROGRESS" | "MODIFY_IN_PROGRESS" | "ROLLBACK_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "DELETED" | "DEGRADED"; export interface CopyBackupToRegionRequest { DestinationRegion: string; BackupId: string; @@ -448,12 +335,7 @@ export interface Hsm { export type HsmId = string; export type Hsms = Array; -export type HsmState = - | "CREATE_IN_PROGRESS" - | "ACTIVE" - | "DEGRADED" - | "DELETE_IN_PROGRESS" - | "DELETED"; +export type HsmState = "CREATE_IN_PROGRESS" | "ACTIVE" | "DEGRADED" | "DELETE_IN_PROGRESS" | "DELETED"; export type HsmType = string; export interface InitializeClusterRequest { @@ -542,7 +424,8 @@ export interface TagResourceRequest { ResourceId: string; TagList: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Timestamp = Date | string; @@ -551,7 +434,8 @@ export interface UntagResourceRequest { ResourceId: string; TagKeyList: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type VpcId = string; export declare namespace CopyBackupToRegion { @@ -778,12 +662,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type CloudHSMV2Errors = - | CloudHsmAccessDeniedException - | CloudHsmInternalFailureException - | CloudHsmInvalidRequestException - | CloudHsmResourceLimitExceededException - | CloudHsmResourceNotFoundException - | CloudHsmServiceException - | CloudHsmTagException - | CommonAwsError; +export type CloudHSMV2Errors = CloudHsmAccessDeniedException | CloudHsmInternalFailureException | CloudHsmInvalidRequestException | CloudHsmResourceLimitExceededException | CloudHsmResourceNotFoundException | CloudHsmServiceException | CloudHsmTagException | CommonAwsError; + diff --git a/src/services/cloudhsm/index.ts b/src/services/cloudhsm/index.ts index cf5275c6..772d664a 100644 --- a/src/services/cloudhsm/index.ts +++ b/src/services/cloudhsm/index.ts @@ -5,26 +5,7 @@ import type { CloudHSM as _CloudHSMClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cloudhsm/types.ts b/src/services/cloudhsm/types.ts index be086b10..bfd35079 100644 --- a/src/services/cloudhsm/types.ts +++ b/src/services/cloudhsm/types.ts @@ -7,163 +7,109 @@ export declare class CloudHSM extends AWSServiceClient { input: AddTagsToResourceRequest, ): Effect.Effect< AddTagsToResourceResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; createHapg( input: CreateHapgRequest, ): Effect.Effect< CreateHapgResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; createHsm( input: CreateHsmRequest, ): Effect.Effect< CreateHsmResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; createLunaClient( input: CreateLunaClientRequest, ): Effect.Effect< CreateLunaClientResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; deleteHapg( input: DeleteHapgRequest, ): Effect.Effect< DeleteHapgResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; deleteHsm( input: DeleteHsmRequest, ): Effect.Effect< DeleteHsmResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; deleteLunaClient( input: DeleteLunaClientRequest, ): Effect.Effect< DeleteLunaClientResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; describeHapg( input: DescribeHapgRequest, ): Effect.Effect< DescribeHapgResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; describeHsm( input: DescribeHsmRequest, ): Effect.Effect< DescribeHsmResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; describeLunaClient( input: DescribeLunaClientRequest, ): Effect.Effect< DescribeLunaClientResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; getConfig( input: GetConfigRequest, ): Effect.Effect< GetConfigResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; listAvailableZones( input: ListAvailableZonesRequest, ): Effect.Effect< ListAvailableZonesResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; listHapgs( input: ListHapgsRequest, ): Effect.Effect< ListHapgsResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; listHsms( input: ListHsmsRequest, ): Effect.Effect< ListHsmsResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; listLunaClients( input: ListLunaClientsRequest, ): Effect.Effect< ListLunaClientsResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; modifyHapg( input: ModifyHapgRequest, ): Effect.Effect< ModifyHapgResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; modifyHsm( input: ModifyHsmRequest, ): Effect.Effect< ModifyHsmResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; modifyLunaClient( input: ModifyLunaClientRequest, @@ -175,10 +121,7 @@ export declare class CloudHSM extends AWSServiceClient { input: RemoveTagsFromResourceRequest, ): Effect.Effect< RemoveTagsFromResourceResponse, - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError + CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError >; } @@ -339,14 +282,7 @@ export type HsmArn = string; export type HsmList = Array; export type HsmSerialNumber = string; -export type HsmStatus = - | "PENDING" - | "RUNNING" - | "UPDATING" - | "SUSPENDED" - | "TERMINATING" - | "TERMINATED" - | "DEGRADED"; +export type HsmStatus = "PENDING" | "RUNNING" | "UPDATING" | "SUSPENDED" | "TERMINATING" | "TERMINATED" | "DEGRADED"; export type IamRoleArn = string; export declare class InvalidRequestException extends EffectData.TaggedError( @@ -359,7 +295,8 @@ export type IpAddress = string; export type Label = string; -export interface ListAvailableZonesRequest {} +export interface ListAvailableZonesRequest { +} export interface ListAvailableZonesResponse { AZList?: Array; } @@ -635,7 +572,9 @@ export declare namespace ModifyHsm { export declare namespace ModifyLunaClient { export type Input = ModifyLunaClientRequest; export type Output = ModifyLunaClientResponse; - export type Error = CloudHsmServiceException | CommonAwsError; + export type Error = + | CloudHsmServiceException + | CommonAwsError; } export declare namespace RemoveTagsFromResource { @@ -648,8 +587,5 @@ export declare namespace RemoveTagsFromResource { | CommonAwsError; } -export type CloudHSMErrors = - | CloudHsmInternalException - | CloudHsmServiceException - | InvalidRequestException - | CommonAwsError; +export type CloudHSMErrors = CloudHsmInternalException | CloudHsmServiceException | InvalidRequestException | CommonAwsError; + diff --git a/src/services/cloudsearch-domain/index.ts b/src/services/cloudsearch-domain/index.ts index fde584cd..d3964a83 100644 --- a/src/services/cloudsearch-domain/index.ts +++ b/src/services/cloudsearch-domain/index.ts @@ -5,26 +5,7 @@ import type { CloudSearchDomain as _CloudSearchDomainClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,9 +15,9 @@ const metadata = { sigV4ServiceName: "cloudsearch", endpointPrefix: "cloudsearchdomain", operations: { - Search: "GET /2013-01-01/search?format=sdk&pretty=true", - Suggest: "GET /2013-01-01/suggest?format=sdk&pretty=true", - UploadDocuments: "POST /2013-01-01/documents/batch?format=sdk", + "Search": "GET /2013-01-01/search?format=sdk&pretty=true", + "Suggest": "GET /2013-01-01/suggest?format=sdk&pretty=true", + "UploadDocuments": "POST /2013-01-01/documents/batch?format=sdk", }, } as const satisfies ServiceMetadata; diff --git a/src/services/cloudsearch-domain/types.ts b/src/services/cloudsearch-domain/types.ts index 6633a626..a692afe9 100644 --- a/src/services/cloudsearch-domain/types.ts +++ b/src/services/cloudsearch-domain/types.ts @@ -5,10 +5,16 @@ import { AWSServiceClient } from "../../client.ts"; export declare class CloudSearchDomain extends AWSServiceClient { search( input: SearchRequest, - ): Effect.Effect; + ): Effect.Effect< + SearchResponse, + SearchException | CommonAwsError + >; suggest( input: SuggestRequest, - ): Effect.Effect; + ): Effect.Effect< + SuggestResponse, + SearchException | CommonAwsError + >; uploadDocuments( input: UploadDocumentsRequest, ): Effect.Effect< @@ -178,22 +184,26 @@ export interface UploadDocumentsResponse { export declare namespace Search { export type Input = SearchRequest; export type Output = SearchResponse; - export type Error = SearchException | CommonAwsError; + export type Error = + | SearchException + | CommonAwsError; } export declare namespace Suggest { export type Input = SuggestRequest; export type Output = SuggestResponse; - export type Error = SearchException | CommonAwsError; + export type Error = + | SearchException + | CommonAwsError; } export declare namespace UploadDocuments { export type Input = UploadDocumentsRequest; export type Output = UploadDocumentsResponse; - export type Error = DocumentServiceException | CommonAwsError; + export type Error = + | DocumentServiceException + | CommonAwsError; } -export type CloudSearchDomainErrors = - | DocumentServiceException - | SearchException - | CommonAwsError; +export type CloudSearchDomainErrors = DocumentServiceException | SearchException | CommonAwsError; + diff --git a/src/services/cloudsearch/index.ts b/src/services/cloudsearch/index.ts index cd4273e6..686975e8 100644 --- a/src/services/cloudsearch/index.ts +++ b/src/services/cloudsearch/index.ts @@ -6,25 +6,7 @@ import type { CloudSearch as _CloudSearchClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -46,10 +28,6 @@ export const CloudSearch = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _CloudSearchClient; diff --git a/src/services/cloudsearch/types.ts b/src/services/cloudsearch/types.ts index 387f51b0..c1f0f7e6 100644 --- a/src/services/cloudsearch/types.ts +++ b/src/services/cloudsearch/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CloudSearch extends AWSServiceClient { @@ -42,81 +8,43 @@ export declare class CloudSearch extends AWSServiceClient { input: BuildSuggestersRequest, ): Effect.Effect< BuildSuggestersResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; createDomain( input: CreateDomainRequest, ): Effect.Effect< CreateDomainResponse, - | BaseException - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | ValidationException - | CommonAwsError + BaseException | InternalException | LimitExceededException | ResourceAlreadyExistsException | ValidationException | CommonAwsError >; defineAnalysisScheme( input: DefineAnalysisSchemeRequest, ): Effect.Effect< DefineAnalysisSchemeResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; defineExpression( input: DefineExpressionRequest, ): Effect.Effect< DefineExpressionResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; defineIndexField( input: DefineIndexFieldRequest, ): Effect.Effect< DefineIndexFieldResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; defineSuggester( input: DefineSuggesterRequest, ): Effect.Effect< DefineSuggesterResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteAnalysisScheme( input: DeleteAnalysisSchemeRequest, ): Effect.Effect< DeleteAnalysisSchemeResponse, - | BaseException - | InternalException - | InvalidTypeException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteDomain( input: DeleteDomainRequest, @@ -128,66 +56,37 @@ export declare class CloudSearch extends AWSServiceClient { input: DeleteExpressionRequest, ): Effect.Effect< DeleteExpressionResponse, - | BaseException - | InternalException - | InvalidTypeException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteIndexField( input: DeleteIndexFieldRequest, ): Effect.Effect< DeleteIndexFieldResponse, - | BaseException - | InternalException - | InvalidTypeException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteSuggester( input: DeleteSuggesterRequest, ): Effect.Effect< DeleteSuggesterResponse, - | BaseException - | InternalException - | InvalidTypeException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeAnalysisSchemes( input: DescribeAnalysisSchemesRequest, ): Effect.Effect< DescribeAnalysisSchemesResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | CommonAwsError >; describeAvailabilityOptions( input: DescribeAvailabilityOptionsRequest, ): Effect.Effect< DescribeAvailabilityOptionsResponse, - | BaseException - | DisabledOperationException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; describeDomainEndpointOptions( input: DescribeDomainEndpointOptionsRequest, ): Effect.Effect< DescribeDomainEndpointOptionsResponse, - | BaseException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; describeDomains( input: DescribeDomainsRequest, @@ -199,58 +98,41 @@ export declare class CloudSearch extends AWSServiceClient { input: DescribeExpressionsRequest, ): Effect.Effect< DescribeExpressionsResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | CommonAwsError >; describeIndexFields( input: DescribeIndexFieldsRequest, ): Effect.Effect< DescribeIndexFieldsResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | CommonAwsError >; describeScalingParameters( input: DescribeScalingParametersRequest, ): Effect.Effect< DescribeScalingParametersResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | CommonAwsError >; describeServiceAccessPolicies( input: DescribeServiceAccessPoliciesRequest, ): Effect.Effect< DescribeServiceAccessPoliciesResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | CommonAwsError >; describeSuggesters( input: DescribeSuggestersRequest, ): Effect.Effect< DescribeSuggestersResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | CommonAwsError >; indexDocuments( input: IndexDocumentsRequest, ): Effect.Effect< IndexDocumentsResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; - listDomainNames(input: {}): Effect.Effect< + listDomainNames( + input: {}, + ): Effect.Effect< ListDomainNamesResponse, BaseException | CommonAwsError >; @@ -258,51 +140,25 @@ export declare class CloudSearch extends AWSServiceClient { input: UpdateAvailabilityOptionsRequest, ): Effect.Effect< UpdateAvailabilityOptionsResponse, - | BaseException - | DisabledOperationException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateDomainEndpointOptions( input: UpdateDomainEndpointOptionsRequest, ): Effect.Effect< UpdateDomainEndpointOptionsResponse, - | BaseException - | DisabledOperationException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateScalingParameters( input: UpdateScalingParametersRequest, ): Effect.Effect< UpdateScalingParametersResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateServiceAccessPolicies( input: UpdateServiceAccessPoliciesRequest, ): Effect.Effect< UpdateServiceAccessPoliciesResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -325,42 +181,7 @@ export interface AnalysisScheme { AnalysisSchemeLanguage: AnalysisSchemeLanguage; AnalysisOptions?: AnalysisOptions; } -export type AnalysisSchemeLanguage = - | "ar" - | "bg" - | "ca" - | "cs" - | "da" - | "de" - | "el" - | "en" - | "es" - | "eu" - | "fa" - | "fi" - | "fr" - | "ga" - | "gl" - | "he" - | "hi" - | "hu" - | "hy" - | "id" - | "it" - | "ja" - | "ko" - | "lv" - | "mul" - | "nl" - | "no" - | "pt" - | "ro" - | "ru" - | "sv" - | "th" - | "tr" - | "zh-Hans" - | "zh-Hant"; +export type AnalysisSchemeLanguage = "ar" | "bg" | "ca" | "cs" | "da" | "de" | "el" | "en" | "es" | "eu" | "fa" | "fi" | "fr" | "ga" | "gl" | "he" | "hi" | "hu" | "hy" | "id" | "it" | "ja" | "ko" | "lv" | "mul" | "nl" | "no" | "pt" | "ro" | "ru" | "sv" | "th" | "tr" | "zh-Hans" | "zh-Hant"; export interface AnalysisSchemeStatus { Options: AnalysisScheme; Status: OptionStatus; @@ -645,18 +466,7 @@ export interface IndexFieldStatus { Status: OptionStatus; } export type IndexFieldStatusList = Array; -export type IndexFieldType = - | "int" - | "double" - | "literal" - | "text" - | "date" - | "latlon" - | "int-array" - | "double-array" - | "literal-array" - | "text-array" - | "date-array"; +export type IndexFieldType = "int" | "double" | "literal" | "text" | "date" | "latlon" | "int-array" | "double-array" | "literal-array" | "text-array" | "date-array"; export type InstanceCount = number; export interface IntArrayOptions { @@ -730,11 +540,7 @@ export type MaximumReplicationCount = number; export type MultiAZ = boolean; -export type OptionState = - | "RequiresIndexDocuments" - | "Processing" - | "Active" - | "FailedToValidate"; +export type OptionState = "RequiresIndexDocuments" | "Processing" | "Active" | "FailedToValidate"; export interface OptionStatus { CreationDate: Date | string; UpdateDate: Date | string; @@ -744,24 +550,7 @@ export interface OptionStatus { } export type PartitionCount = number; -export type PartitionInstanceType = - | "search.m1.small" - | "search.m1.large" - | "search.m2.xlarge" - | "search.m2.2xlarge" - | "search.m3.medium" - | "search.m3.large" - | "search.m3.xlarge" - | "search.m3.2xlarge" - | "search.small" - | "search.medium" - | "search.large" - | "search.xlarge" - | "search.2xlarge" - | "search.previousgeneration.small" - | "search.previousgeneration.large" - | "search.previousgeneration.xlarge" - | "search.previousgeneration.2xlarge"; +export type PartitionInstanceType = "search.m1.small" | "search.m1.large" | "search.m2.xlarge" | "search.m2.2xlarge" | "search.m3.medium" | "search.m3.large" | "search.m3.xlarge" | "search.m3.2xlarge" | "search.small" | "search.medium" | "search.large" | "search.xlarge" | "search.2xlarge" | "search.previousgeneration.small" | "search.previousgeneration.large" | "search.previousgeneration.xlarge" | "search.previousgeneration.2xlarge"; export type PolicyDocument = string; export declare class ResourceAlreadyExistsException extends EffectData.TaggedError( @@ -822,9 +611,7 @@ export interface TextOptions { HighlightEnabled?: boolean; AnalysisScheme?: string; } -export type TLSSecurityPolicy = - | "Policy-Min-TLS-1-0-2019-07" - | "Policy-Min-TLS-1-2-2019-07"; +export type TLSSecurityPolicy = "Policy-Min-TLS-1-0-2019-07" | "Policy-Min-TLS-1-2-2019-07"; export type UIntValue = number; export interface UpdateAvailabilityOptionsRequest { @@ -955,7 +742,10 @@ export declare namespace DeleteAnalysisScheme { export declare namespace DeleteDomain { export type Input = DeleteDomainRequest; export type Output = DeleteDomainResponse; - export type Error = BaseException | InternalException | CommonAwsError; + export type Error = + | BaseException + | InternalException + | CommonAwsError; } export declare namespace DeleteExpression { @@ -1032,7 +822,10 @@ export declare namespace DescribeDomainEndpointOptions { export declare namespace DescribeDomains { export type Input = DescribeDomainsRequest; export type Output = DescribeDomainsResponse; - export type Error = BaseException | InternalException | CommonAwsError; + export type Error = + | BaseException + | InternalException + | CommonAwsError; } export declare namespace DescribeExpressions { @@ -1099,7 +892,9 @@ export declare namespace IndexDocuments { export declare namespace ListDomainNames { export type Input = {}; export type Output = ListDomainNamesResponse; - export type Error = BaseException | CommonAwsError; + export type Error = + | BaseException + | CommonAwsError; } export declare namespace UpdateAvailabilityOptions { @@ -1156,13 +951,5 @@ export declare namespace UpdateServiceAccessPolicies { | CommonAwsError; } -export type CloudSearchErrors = - | BaseException - | DisabledOperationException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type CloudSearchErrors = BaseException | DisabledOperationException | InternalException | InvalidTypeException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/cloudtrail-data/index.ts b/src/services/cloudtrail-data/index.ts index 119c063e..2382453c 100644 --- a/src/services/cloudtrail-data/index.ts +++ b/src/services/cloudtrail-data/index.ts @@ -5,26 +5,7 @@ import type { CloudTrailData as _CloudTrailDataClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,7 +15,7 @@ const metadata = { sigV4ServiceName: "cloudtrail-data", endpointPrefix: "cloudtrail-data", operations: { - PutAuditEvents: "POST /PutAuditEvents", + "PutAuditEvents": "POST /PutAuditEvents", }, } as const satisfies ServiceMetadata; diff --git a/src/services/cloudtrail-data/types.ts b/src/services/cloudtrail-data/types.ts index 8984c19a..d26fa9c5 100644 --- a/src/services/cloudtrail-data/types.ts +++ b/src/services/cloudtrail-data/types.ts @@ -7,13 +7,7 @@ export declare class CloudTrailData extends AWSServiceClient { input: PutAuditEventsRequest, ): Effect.Effect< PutAuditEventsResponse, - | ChannelInsufficientPermission - | ChannelNotFound - | ChannelUnsupportedSchema - | DuplicatedAuditEventId - | InvalidChannelARN - | UnsupportedOperationException - | CommonAwsError + ChannelInsufficientPermission | ChannelNotFound | ChannelUnsupportedSchema | DuplicatedAuditEventId | InvalidChannelARN | UnsupportedOperationException | CommonAwsError >; } @@ -98,11 +92,5 @@ export declare namespace PutAuditEvents { | CommonAwsError; } -export type CloudTrailDataErrors = - | ChannelInsufficientPermission - | ChannelNotFound - | ChannelUnsupportedSchema - | DuplicatedAuditEventId - | InvalidChannelARN - | UnsupportedOperationException - | CommonAwsError; +export type CloudTrailDataErrors = ChannelInsufficientPermission | ChannelNotFound | ChannelUnsupportedSchema | DuplicatedAuditEventId | InvalidChannelARN | UnsupportedOperationException | CommonAwsError; + diff --git a/src/services/cloudtrail/index.ts b/src/services/cloudtrail/index.ts index 69011785..d720012f 100644 --- a/src/services/cloudtrail/index.ts +++ b/src/services/cloudtrail/index.ts @@ -5,24 +5,7 @@ import type { CloudTrail as _CloudTrailClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cloudtrail/types.ts b/src/services/cloudtrail/types.ts index c86b86d2..287f6b2f 100644 --- a/src/services/cloudtrail/types.ts +++ b/src/services/cloudtrail/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class CloudTrail extends AWSServiceClient { @@ -41,310 +8,109 @@ export declare class CloudTrail extends AWSServiceClient { input: AddTagsRequest, ): Effect.Effect< AddTagsResponse, - | ChannelARNInvalidException - | ChannelNotFoundException - | CloudTrailARNInvalidException - | ConflictException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InvalidTagParameterException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | ResourceNotFoundException - | ResourceTypeNotSupportedException - | TagsLimitExceededException - | UnsupportedOperationException - | CommonAwsError + ChannelARNInvalidException | ChannelNotFoundException | CloudTrailARNInvalidException | ConflictException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InvalidTagParameterException | InvalidTrailNameException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | ResourceNotFoundException | ResourceTypeNotSupportedException | TagsLimitExceededException | UnsupportedOperationException | CommonAwsError >; cancelQuery( input: CancelQueryRequest, ): Effect.Effect< CancelQueryResponse, - | ConflictException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InactiveQueryException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | QueryIdNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConflictException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InactiveQueryException | InvalidParameterException | NoManagementAccountSLRExistsException | OperationNotPermittedException | QueryIdNotFoundException | UnsupportedOperationException | CommonAwsError >; createChannel( input: CreateChannelRequest, ): Effect.Effect< CreateChannelResponse, - | ChannelAlreadyExistsException - | ChannelMaxLimitExceededException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InvalidEventDataStoreCategoryException - | InvalidParameterException - | InvalidSourceException - | InvalidTagParameterException - | OperationNotPermittedException - | TagsLimitExceededException - | UnsupportedOperationException - | CommonAwsError + ChannelAlreadyExistsException | ChannelMaxLimitExceededException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InvalidEventDataStoreCategoryException | InvalidParameterException | InvalidSourceException | InvalidTagParameterException | OperationNotPermittedException | TagsLimitExceededException | UnsupportedOperationException | CommonAwsError >; createDashboard( input: CreateDashboardRequest, ): Effect.Effect< CreateDashboardResponse, - | ConflictException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InsufficientEncryptionPolicyException - | InvalidQueryStatementException - | InvalidTagParameterException - | ServiceQuotaExceededException - | UnsupportedOperationException - | CommonAwsError + ConflictException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InsufficientEncryptionPolicyException | InvalidQueryStatementException | InvalidTagParameterException | ServiceQuotaExceededException | UnsupportedOperationException | CommonAwsError >; createEventDataStore( input: CreateEventDataStoreRequest, ): Effect.Effect< CreateEventDataStoreResponse, - | CloudTrailAccessNotEnabledException - | ConflictException - | EventDataStoreAlreadyExistsException - | EventDataStoreMaxLimitExceededException - | InsufficientDependencyServiceAccessPermissionException - | InsufficientEncryptionPolicyException - | InvalidEventSelectorsException - | InvalidKmsKeyIdException - | InvalidParameterException - | InvalidTagParameterException - | KmsException - | KmsKeyNotFoundException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | UnsupportedOperationException - | CommonAwsError + CloudTrailAccessNotEnabledException | ConflictException | EventDataStoreAlreadyExistsException | EventDataStoreMaxLimitExceededException | InsufficientDependencyServiceAccessPermissionException | InsufficientEncryptionPolicyException | InvalidEventSelectorsException | InvalidKmsKeyIdException | InvalidParameterException | InvalidTagParameterException | KmsException | KmsKeyNotFoundException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | UnsupportedOperationException | CommonAwsError >; createTrail( input: CreateTrailRequest, ): Effect.Effect< CreateTrailResponse, - | CloudTrailAccessNotEnabledException - | CloudTrailInvalidClientTokenIdException - | CloudWatchLogsDeliveryUnavailableException - | ConflictException - | InsufficientDependencyServiceAccessPermissionException - | InsufficientEncryptionPolicyException - | InsufficientS3BucketPolicyException - | InsufficientSnsTopicPolicyException - | InvalidCloudWatchLogsLogGroupArnException - | InvalidCloudWatchLogsRoleArnException - | InvalidKmsKeyIdException - | InvalidParameterCombinationException - | InvalidParameterException - | InvalidS3BucketNameException - | InvalidS3PrefixException - | InvalidSnsTopicNameException - | InvalidTagParameterException - | InvalidTrailNameException - | KmsException - | KmsKeyDisabledException - | KmsKeyNotFoundException - | MaximumNumberOfTrailsExceededException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | S3BucketDoesNotExistException - | TagsLimitExceededException - | ThrottlingException - | TrailAlreadyExistsException - | TrailNotProvidedException - | UnsupportedOperationException - | CommonAwsError + CloudTrailAccessNotEnabledException | CloudTrailInvalidClientTokenIdException | CloudWatchLogsDeliveryUnavailableException | ConflictException | InsufficientDependencyServiceAccessPermissionException | InsufficientEncryptionPolicyException | InsufficientS3BucketPolicyException | InsufficientSnsTopicPolicyException | InvalidCloudWatchLogsLogGroupArnException | InvalidCloudWatchLogsRoleArnException | InvalidKmsKeyIdException | InvalidParameterCombinationException | InvalidParameterException | InvalidS3BucketNameException | InvalidS3PrefixException | InvalidSnsTopicNameException | InvalidTagParameterException | InvalidTrailNameException | KmsException | KmsKeyDisabledException | KmsKeyNotFoundException | MaximumNumberOfTrailsExceededException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | S3BucketDoesNotExistException | TagsLimitExceededException | ThrottlingException | TrailAlreadyExistsException | TrailNotProvidedException | UnsupportedOperationException | CommonAwsError >; deleteChannel( input: DeleteChannelRequest, ): Effect.Effect< DeleteChannelResponse, - | ChannelARNInvalidException - | ChannelNotFoundException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + ChannelARNInvalidException | ChannelNotFoundException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; deleteDashboard( input: DeleteDashboardRequest, ): Effect.Effect< DeleteDashboardResponse, - | ConflictException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConflictException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; deleteEventDataStore( input: DeleteEventDataStoreRequest, ): Effect.Effect< DeleteEventDataStoreResponse, - | ChannelExistsForEDSException - | ConflictException - | EventDataStoreARNInvalidException - | EventDataStoreFederationEnabledException - | EventDataStoreHasOngoingImportException - | EventDataStoreNotFoundException - | EventDataStoreTerminationProtectedException - | InactiveEventDataStoreException - | InsufficientDependencyServiceAccessPermissionException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + ChannelExistsForEDSException | ConflictException | EventDataStoreARNInvalidException | EventDataStoreFederationEnabledException | EventDataStoreHasOngoingImportException | EventDataStoreNotFoundException | EventDataStoreTerminationProtectedException | InactiveEventDataStoreException | InsufficientDependencyServiceAccessPermissionException | InvalidParameterException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | ConflictException - | OperationNotPermittedException - | ResourceARNNotValidException - | ResourceNotFoundException - | ResourcePolicyNotFoundException - | ResourceTypeNotSupportedException - | UnsupportedOperationException - | CommonAwsError + ConflictException | OperationNotPermittedException | ResourceARNNotValidException | ResourceNotFoundException | ResourcePolicyNotFoundException | ResourceTypeNotSupportedException | UnsupportedOperationException | CommonAwsError >; deleteTrail( input: DeleteTrailRequest, ): Effect.Effect< DeleteTrailResponse, - | CloudTrailARNInvalidException - | ConflictException - | InsufficientDependencyServiceAccessPermissionException - | InvalidHomeRegionException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | ThrottlingException - | TrailNotFoundException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | ConflictException | InsufficientDependencyServiceAccessPermissionException | InvalidHomeRegionException | InvalidTrailNameException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | ThrottlingException | TrailNotFoundException | UnsupportedOperationException | CommonAwsError >; deregisterOrganizationDelegatedAdmin( input: DeregisterOrganizationDelegatedAdminRequest, ): Effect.Effect< DeregisterOrganizationDelegatedAdminResponse, - | AccountNotFoundException - | AccountNotRegisteredException - | CloudTrailAccessNotEnabledException - | ConflictException - | InsufficientDependencyServiceAccessPermissionException - | InvalidParameterException - | NotOrganizationManagementAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | UnsupportedOperationException - | CommonAwsError + AccountNotFoundException | AccountNotRegisteredException | CloudTrailAccessNotEnabledException | ConflictException | InsufficientDependencyServiceAccessPermissionException | InvalidParameterException | NotOrganizationManagementAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | UnsupportedOperationException | CommonAwsError >; describeQuery( input: DescribeQueryRequest, ): Effect.Effect< DescribeQueryResponse, - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | QueryIdNotFoundException - | UnsupportedOperationException - | CommonAwsError + EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InvalidParameterException | NoManagementAccountSLRExistsException | OperationNotPermittedException | QueryIdNotFoundException | UnsupportedOperationException | CommonAwsError >; describeTrails( input: DescribeTrailsRequest, ): Effect.Effect< DescribeTrailsResponse, - | CloudTrailARNInvalidException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | InvalidTrailNameException | NoManagementAccountSLRExistsException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; disableFederation( input: DisableFederationRequest, ): Effect.Effect< DisableFederationResponse, - | AccessDeniedException - | CloudTrailAccessNotEnabledException - | ConcurrentModificationException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InsufficientDependencyServiceAccessPermissionException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | CloudTrailAccessNotEnabledException | ConcurrentModificationException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InsufficientDependencyServiceAccessPermissionException | InvalidParameterException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | UnsupportedOperationException | CommonAwsError >; enableFederation( input: EnableFederationRequest, ): Effect.Effect< EnableFederationResponse, - | AccessDeniedException - | CloudTrailAccessNotEnabledException - | ConcurrentModificationException - | EventDataStoreARNInvalidException - | EventDataStoreFederationEnabledException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InsufficientDependencyServiceAccessPermissionException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | CloudTrailAccessNotEnabledException | ConcurrentModificationException | EventDataStoreARNInvalidException | EventDataStoreFederationEnabledException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InsufficientDependencyServiceAccessPermissionException | InvalidParameterException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | UnsupportedOperationException | CommonAwsError >; generateQuery( input: GenerateQueryRequest, ): Effect.Effect< GenerateQueryResponse, - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | GenerateResponseException - | InactiveEventDataStoreException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + EventDataStoreARNInvalidException | EventDataStoreNotFoundException | GenerateResponseException | InactiveEventDataStoreException | InvalidParameterException | NoManagementAccountSLRExistsException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; getChannel( input: GetChannelRequest, ): Effect.Effect< GetChannelResponse, - | ChannelARNInvalidException - | ChannelNotFoundException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + ChannelARNInvalidException | ChannelNotFoundException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; getDashboard( input: GetDashboardRequest, @@ -356,127 +122,61 @@ export declare class CloudTrail extends AWSServiceClient { input: GetEventConfigurationRequest, ): Effect.Effect< GetEventConfigurationResponse, - | CloudTrailARNInvalidException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InvalidEventDataStoreCategoryException - | InvalidEventDataStoreStatusException - | InvalidParameterCombinationException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InvalidEventDataStoreCategoryException | InvalidEventDataStoreStatusException | InvalidParameterCombinationException | InvalidParameterException | NoManagementAccountSLRExistsException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; getEventDataStore( input: GetEventDataStoreRequest, ): Effect.Effect< GetEventDataStoreResponse, - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InvalidParameterException | NoManagementAccountSLRExistsException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; getEventSelectors( input: GetEventSelectorsRequest, ): Effect.Effect< GetEventSelectorsResponse, - | CloudTrailARNInvalidException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | TrailNotFoundException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | InvalidTrailNameException | NoManagementAccountSLRExistsException | OperationNotPermittedException | TrailNotFoundException | UnsupportedOperationException | CommonAwsError >; getImport( input: GetImportRequest, ): Effect.Effect< GetImportResponse, - | ImportNotFoundException - | InvalidParameterException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + ImportNotFoundException | InvalidParameterException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; getInsightSelectors( input: GetInsightSelectorsRequest, ): Effect.Effect< GetInsightSelectorsResponse, - | CloudTrailARNInvalidException - | InsightNotEnabledException - | InvalidParameterCombinationException - | InvalidParameterException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | ThrottlingException - | TrailNotFoundException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | InsightNotEnabledException | InvalidParameterCombinationException | InvalidParameterException | InvalidTrailNameException | NoManagementAccountSLRExistsException | OperationNotPermittedException | ThrottlingException | TrailNotFoundException | UnsupportedOperationException | CommonAwsError >; getQueryResults( input: GetQueryResultsRequest, ): Effect.Effect< GetQueryResultsResponse, - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InsufficientEncryptionPolicyException - | InvalidMaxResultsException - | InvalidNextTokenException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | QueryIdNotFoundException - | UnsupportedOperationException - | CommonAwsError + EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InsufficientEncryptionPolicyException | InvalidMaxResultsException | InvalidNextTokenException | InvalidParameterException | NoManagementAccountSLRExistsException | OperationNotPermittedException | QueryIdNotFoundException | UnsupportedOperationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | OperationNotPermittedException - | ResourceARNNotValidException - | ResourceNotFoundException - | ResourcePolicyNotFoundException - | ResourceTypeNotSupportedException - | UnsupportedOperationException - | CommonAwsError + OperationNotPermittedException | ResourceARNNotValidException | ResourceNotFoundException | ResourcePolicyNotFoundException | ResourceTypeNotSupportedException | UnsupportedOperationException | CommonAwsError >; getTrail( input: GetTrailRequest, ): Effect.Effect< GetTrailResponse, - | CloudTrailARNInvalidException - | InvalidTrailNameException - | OperationNotPermittedException - | TrailNotFoundException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | InvalidTrailNameException | OperationNotPermittedException | TrailNotFoundException | UnsupportedOperationException | CommonAwsError >; getTrailStatus( input: GetTrailStatusRequest, ): Effect.Effect< GetTrailStatusResponse, - | CloudTrailARNInvalidException - | InvalidTrailNameException - | OperationNotPermittedException - | TrailNotFoundException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | InvalidTrailNameException | OperationNotPermittedException | TrailNotFoundException | UnsupportedOperationException | CommonAwsError >; listChannels( input: ListChannelsRequest, ): Effect.Effect< ListChannelsResponse, - | InvalidNextTokenException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + InvalidNextTokenException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; listDashboards( input: ListDashboardsRequest, @@ -488,474 +188,175 @@ export declare class CloudTrail extends AWSServiceClient { input: ListEventDataStoresRequest, ): Effect.Effect< ListEventDataStoresResponse, - | InvalidMaxResultsException - | InvalidNextTokenException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + InvalidMaxResultsException | InvalidNextTokenException | NoManagementAccountSLRExistsException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; listImportFailures( input: ListImportFailuresRequest, ): Effect.Effect< ListImportFailuresResponse, - | InvalidNextTokenException - | InvalidParameterException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; listImports( input: ListImportsRequest, ): Effect.Effect< ListImportsResponse, - | EventDataStoreARNInvalidException - | InvalidNextTokenException - | InvalidParameterException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + EventDataStoreARNInvalidException | InvalidNextTokenException | InvalidParameterException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; listInsightsMetricData( input: ListInsightsMetricDataRequest, ): Effect.Effect< ListInsightsMetricDataResponse, - | InvalidParameterException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + InvalidParameterException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; listPublicKeys( input: ListPublicKeysRequest, ): Effect.Effect< ListPublicKeysResponse, - | InvalidTimeRangeException - | InvalidTokenException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + InvalidTimeRangeException | InvalidTokenException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; listQueries( input: ListQueriesRequest, ): Effect.Effect< ListQueriesResponse, - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InvalidDateRangeException - | InvalidMaxResultsException - | InvalidNextTokenException - | InvalidParameterException - | InvalidQueryStatusException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InvalidDateRangeException | InvalidMaxResultsException | InvalidNextTokenException | InvalidParameterException | InvalidQueryStatusException | NoManagementAccountSLRExistsException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; listTags( input: ListTagsRequest, ): Effect.Effect< ListTagsResponse, - | ChannelARNInvalidException - | CloudTrailARNInvalidException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InvalidTokenException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | ResourceNotFoundException - | ResourceTypeNotSupportedException - | UnsupportedOperationException - | CommonAwsError + ChannelARNInvalidException | CloudTrailARNInvalidException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InvalidTokenException | InvalidTrailNameException | NoManagementAccountSLRExistsException | OperationNotPermittedException | ResourceNotFoundException | ResourceTypeNotSupportedException | UnsupportedOperationException | CommonAwsError >; listTrails( input: ListTrailsRequest, ): Effect.Effect< ListTrailsResponse, - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; - lookupEvents( - input: LookupEventsRequest, - ): Effect.Effect< - LookupEventsResponse, - | InvalidEventCategoryException - | InvalidLookupAttributesException - | InvalidMaxResultsException - | InvalidNextTokenException - | InvalidTimeRangeException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError - >; - putEventConfiguration( - input: PutEventConfigurationRequest, - ): Effect.Effect< - PutEventConfigurationResponse, - | CloudTrailARNInvalidException - | ConflictException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InsufficientDependencyServiceAccessPermissionException - | InsufficientIAMAccessPermissionException - | InvalidEventDataStoreCategoryException - | InvalidEventDataStoreStatusException - | InvalidParameterCombinationException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError + lookupEvents( + input: LookupEventsRequest, + ): Effect.Effect< + LookupEventsResponse, + InvalidEventCategoryException | InvalidLookupAttributesException | InvalidMaxResultsException | InvalidNextTokenException | InvalidTimeRangeException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError + >; + putEventConfiguration( + input: PutEventConfigurationRequest, + ): Effect.Effect< + PutEventConfigurationResponse, + CloudTrailARNInvalidException | ConflictException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InsufficientDependencyServiceAccessPermissionException | InsufficientIAMAccessPermissionException | InvalidEventDataStoreCategoryException | InvalidEventDataStoreStatusException | InvalidParameterCombinationException | InvalidParameterException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | ThrottlingException | UnsupportedOperationException | CommonAwsError >; putEventSelectors( input: PutEventSelectorsRequest, ): Effect.Effect< PutEventSelectorsResponse, - | CloudTrailARNInvalidException - | ConflictException - | InsufficientDependencyServiceAccessPermissionException - | InvalidEventSelectorsException - | InvalidHomeRegionException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | ThrottlingException - | TrailNotFoundException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | ConflictException | InsufficientDependencyServiceAccessPermissionException | InvalidEventSelectorsException | InvalidHomeRegionException | InvalidTrailNameException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | ThrottlingException | TrailNotFoundException | UnsupportedOperationException | CommonAwsError >; putInsightSelectors( input: PutInsightSelectorsRequest, ): Effect.Effect< PutInsightSelectorsResponse, - | CloudTrailARNInvalidException - | InsufficientEncryptionPolicyException - | InsufficientS3BucketPolicyException - | InvalidHomeRegionException - | InvalidInsightSelectorsException - | InvalidParameterCombinationException - | InvalidParameterException - | InvalidTrailNameException - | KmsException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | S3BucketDoesNotExistException - | ThrottlingException - | TrailNotFoundException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | InsufficientEncryptionPolicyException | InsufficientS3BucketPolicyException | InvalidHomeRegionException | InvalidInsightSelectorsException | InvalidParameterCombinationException | InvalidParameterException | InvalidTrailNameException | KmsException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | S3BucketDoesNotExistException | ThrottlingException | TrailNotFoundException | UnsupportedOperationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | ConflictException - | OperationNotPermittedException - | ResourceARNNotValidException - | ResourceNotFoundException - | ResourcePolicyNotValidException - | ResourceTypeNotSupportedException - | UnsupportedOperationException - | CommonAwsError + ConflictException | OperationNotPermittedException | ResourceARNNotValidException | ResourceNotFoundException | ResourcePolicyNotValidException | ResourceTypeNotSupportedException | UnsupportedOperationException | CommonAwsError >; registerOrganizationDelegatedAdmin( input: RegisterOrganizationDelegatedAdminRequest, ): Effect.Effect< RegisterOrganizationDelegatedAdminResponse, - | AccountNotFoundException - | AccountRegisteredException - | CannotDelegateManagementAccountException - | CloudTrailAccessNotEnabledException - | ConflictException - | DelegatedAdminAccountLimitExceededException - | InsufficientDependencyServiceAccessPermissionException - | InsufficientIAMAccessPermissionException - | InvalidParameterException - | NotOrganizationManagementAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | UnsupportedOperationException - | CommonAwsError + AccountNotFoundException | AccountRegisteredException | CannotDelegateManagementAccountException | CloudTrailAccessNotEnabledException | ConflictException | DelegatedAdminAccountLimitExceededException | InsufficientDependencyServiceAccessPermissionException | InsufficientIAMAccessPermissionException | InvalidParameterException | NotOrganizationManagementAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | UnsupportedOperationException | CommonAwsError >; removeTags( input: RemoveTagsRequest, ): Effect.Effect< RemoveTagsResponse, - | ChannelARNInvalidException - | ChannelNotFoundException - | CloudTrailARNInvalidException - | ConflictException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InvalidTagParameterException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | ResourceNotFoundException - | ResourceTypeNotSupportedException - | UnsupportedOperationException - | CommonAwsError + ChannelARNInvalidException | ChannelNotFoundException | CloudTrailARNInvalidException | ConflictException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InvalidTagParameterException | InvalidTrailNameException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | ResourceNotFoundException | ResourceTypeNotSupportedException | UnsupportedOperationException | CommonAwsError >; restoreEventDataStore( input: RestoreEventDataStoreRequest, ): Effect.Effect< RestoreEventDataStoreResponse, - | CloudTrailAccessNotEnabledException - | EventDataStoreARNInvalidException - | EventDataStoreMaxLimitExceededException - | EventDataStoreNotFoundException - | InsufficientDependencyServiceAccessPermissionException - | InvalidEventDataStoreStatusException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | UnsupportedOperationException - | CommonAwsError + CloudTrailAccessNotEnabledException | EventDataStoreARNInvalidException | EventDataStoreMaxLimitExceededException | EventDataStoreNotFoundException | InsufficientDependencyServiceAccessPermissionException | InvalidEventDataStoreStatusException | InvalidParameterException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | UnsupportedOperationException | CommonAwsError >; searchSampleQueries( input: SearchSampleQueriesRequest, ): Effect.Effect< SearchSampleQueriesResponse, - | InvalidParameterException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + InvalidParameterException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; startDashboardRefresh( input: StartDashboardRefreshRequest, ): Effect.Effect< StartDashboardRefreshResponse, - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UnsupportedOperationException - | CommonAwsError + EventDataStoreNotFoundException | InactiveEventDataStoreException | ResourceNotFoundException | ServiceQuotaExceededException | UnsupportedOperationException | CommonAwsError >; startEventDataStoreIngestion( input: StartEventDataStoreIngestionRequest, ): Effect.Effect< StartEventDataStoreIngestionResponse, - | ConflictException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InsufficientDependencyServiceAccessPermissionException - | InvalidEventDataStoreCategoryException - | InvalidEventDataStoreStatusException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + ConflictException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InsufficientDependencyServiceAccessPermissionException | InvalidEventDataStoreCategoryException | InvalidEventDataStoreStatusException | InvalidParameterException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; startImport( input: StartImportRequest, ): Effect.Effect< StartImportResponse, - | AccountHasOngoingImportException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | ImportNotFoundException - | InactiveEventDataStoreException - | InsufficientEncryptionPolicyException - | InvalidEventDataStoreCategoryException - | InvalidEventDataStoreStatusException - | InvalidImportSourceException - | InvalidParameterException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + AccountHasOngoingImportException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | ImportNotFoundException | InactiveEventDataStoreException | InsufficientEncryptionPolicyException | InvalidEventDataStoreCategoryException | InvalidEventDataStoreStatusException | InvalidImportSourceException | InvalidParameterException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; startLogging( input: StartLoggingRequest, ): Effect.Effect< StartLoggingResponse, - | CloudTrailARNInvalidException - | ConflictException - | InsufficientDependencyServiceAccessPermissionException - | InvalidHomeRegionException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | ThrottlingException - | TrailNotFoundException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | ConflictException | InsufficientDependencyServiceAccessPermissionException | InvalidHomeRegionException | InvalidTrailNameException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | ThrottlingException | TrailNotFoundException | UnsupportedOperationException | CommonAwsError >; startQuery( input: StartQueryRequest, ): Effect.Effect< StartQueryResponse, - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InsufficientEncryptionPolicyException - | InsufficientS3BucketPolicyException - | InvalidParameterException - | InvalidQueryStatementException - | InvalidS3BucketNameException - | InvalidS3PrefixException - | MaxConcurrentQueriesException - | NoManagementAccountSLRExistsException - | OperationNotPermittedException - | S3BucketDoesNotExistException - | UnsupportedOperationException - | CommonAwsError + EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InsufficientEncryptionPolicyException | InsufficientS3BucketPolicyException | InvalidParameterException | InvalidQueryStatementException | InvalidS3BucketNameException | InvalidS3PrefixException | MaxConcurrentQueriesException | NoManagementAccountSLRExistsException | OperationNotPermittedException | S3BucketDoesNotExistException | UnsupportedOperationException | CommonAwsError >; stopEventDataStoreIngestion( input: StopEventDataStoreIngestionRequest, ): Effect.Effect< StopEventDataStoreIngestionResponse, - | ConflictException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InsufficientDependencyServiceAccessPermissionException - | InvalidEventDataStoreCategoryException - | InvalidEventDataStoreStatusException - | InvalidParameterException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + ConflictException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InsufficientDependencyServiceAccessPermissionException | InvalidEventDataStoreCategoryException | InvalidEventDataStoreStatusException | InvalidParameterException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; stopImport( input: StopImportRequest, ): Effect.Effect< StopImportResponse, - | ImportNotFoundException - | InvalidParameterException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + ImportNotFoundException | InvalidParameterException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; stopLogging( input: StopLoggingRequest, ): Effect.Effect< StopLoggingResponse, - | CloudTrailARNInvalidException - | ConflictException - | InsufficientDependencyServiceAccessPermissionException - | InvalidHomeRegionException - | InvalidTrailNameException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | ThrottlingException - | TrailNotFoundException - | UnsupportedOperationException - | CommonAwsError + CloudTrailARNInvalidException | ConflictException | InsufficientDependencyServiceAccessPermissionException | InvalidHomeRegionException | InvalidTrailNameException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | ThrottlingException | TrailNotFoundException | UnsupportedOperationException | CommonAwsError >; updateChannel( input: UpdateChannelRequest, ): Effect.Effect< UpdateChannelResponse, - | ChannelAlreadyExistsException - | ChannelARNInvalidException - | ChannelNotFoundException - | EventDataStoreARNInvalidException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InvalidEventDataStoreCategoryException - | InvalidParameterException - | OperationNotPermittedException - | UnsupportedOperationException - | CommonAwsError + ChannelAlreadyExistsException | ChannelARNInvalidException | ChannelNotFoundException | EventDataStoreARNInvalidException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InvalidEventDataStoreCategoryException | InvalidParameterException | OperationNotPermittedException | UnsupportedOperationException | CommonAwsError >; updateDashboard( input: UpdateDashboardRequest, ): Effect.Effect< UpdateDashboardResponse, - | ConflictException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InsufficientEncryptionPolicyException - | InvalidQueryStatementException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UnsupportedOperationException - | CommonAwsError + ConflictException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InsufficientEncryptionPolicyException | InvalidQueryStatementException | ResourceNotFoundException | ServiceQuotaExceededException | UnsupportedOperationException | CommonAwsError >; updateEventDataStore( input: UpdateEventDataStoreRequest, ): Effect.Effect< UpdateEventDataStoreResponse, - | CloudTrailAccessNotEnabledException - | EventDataStoreAlreadyExistsException - | EventDataStoreARNInvalidException - | EventDataStoreHasOngoingImportException - | EventDataStoreNotFoundException - | InactiveEventDataStoreException - | InsufficientDependencyServiceAccessPermissionException - | InsufficientEncryptionPolicyException - | InvalidEventSelectorsException - | InvalidInsightSelectorsException - | InvalidKmsKeyIdException - | InvalidParameterException - | KmsException - | KmsKeyNotFoundException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | UnsupportedOperationException - | CommonAwsError + CloudTrailAccessNotEnabledException | EventDataStoreAlreadyExistsException | EventDataStoreARNInvalidException | EventDataStoreHasOngoingImportException | EventDataStoreNotFoundException | InactiveEventDataStoreException | InsufficientDependencyServiceAccessPermissionException | InsufficientEncryptionPolicyException | InvalidEventSelectorsException | InvalidInsightSelectorsException | InvalidKmsKeyIdException | InvalidParameterException | KmsException | KmsKeyNotFoundException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | UnsupportedOperationException | CommonAwsError >; updateTrail( input: UpdateTrailRequest, ): Effect.Effect< UpdateTrailResponse, - | CloudTrailAccessNotEnabledException - | CloudTrailARNInvalidException - | CloudTrailInvalidClientTokenIdException - | CloudWatchLogsDeliveryUnavailableException - | ConflictException - | InsufficientDependencyServiceAccessPermissionException - | InsufficientEncryptionPolicyException - | InsufficientS3BucketPolicyException - | InsufficientSnsTopicPolicyException - | InvalidCloudWatchLogsLogGroupArnException - | InvalidCloudWatchLogsRoleArnException - | InvalidEventSelectorsException - | InvalidHomeRegionException - | InvalidKmsKeyIdException - | InvalidParameterCombinationException - | InvalidParameterException - | InvalidS3BucketNameException - | InvalidS3PrefixException - | InvalidSnsTopicNameException - | InvalidTrailNameException - | KmsException - | KmsKeyDisabledException - | KmsKeyNotFoundException - | NoManagementAccountSLRExistsException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | S3BucketDoesNotExistException - | ThrottlingException - | TrailNotFoundException - | TrailNotProvidedException - | UnsupportedOperationException - | CommonAwsError + CloudTrailAccessNotEnabledException | CloudTrailARNInvalidException | CloudTrailInvalidClientTokenIdException | CloudWatchLogsDeliveryUnavailableException | ConflictException | InsufficientDependencyServiceAccessPermissionException | InsufficientEncryptionPolicyException | InsufficientS3BucketPolicyException | InsufficientSnsTopicPolicyException | InvalidCloudWatchLogsLogGroupArnException | InvalidCloudWatchLogsRoleArnException | InvalidEventSelectorsException | InvalidHomeRegionException | InvalidKmsKeyIdException | InvalidParameterCombinationException | InvalidParameterException | InvalidS3BucketNameException | InvalidS3PrefixException | InvalidSnsTopicNameException | InvalidTrailNameException | KmsException | KmsKeyDisabledException | KmsKeyNotFoundException | NoManagementAccountSLRExistsException | NotOrganizationMasterAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | S3BucketDoesNotExistException | ThrottlingException | TrailNotFoundException | TrailNotProvidedException | UnsupportedOperationException | CommonAwsError >; } @@ -992,7 +393,8 @@ export interface AddTagsRequest { ResourceId: string; TagsList: Array; } -export interface AddTagsResponse {} +export interface AddTagsResponse { +} export interface AdvancedEventSelector { Name?: string; FieldSelectors: Array; @@ -1008,9 +410,7 @@ export interface AdvancedFieldSelector { NotEndsWith?: Array; } export type AdvancedFieldSelectors = Array; -export type BillingMode = - | "EXTENDABLE_RETENTION_PRICING" - | "FIXED_RETENTION_PRICING"; +export type BillingMode = "EXTENDABLE_RETENTION_PRICING" | "FIXED_RETENTION_PRICING"; export type CloudtrailBoolean = boolean; export type ByteBuffer = Uint8Array | string; @@ -1193,12 +593,7 @@ export interface DashboardDetail { export type DashboardName = string; export type Dashboards = Array; -export type DashboardStatus = - | "CREATING" - | "CREATED" - | "UPDATING" - | "UPDATED" - | "DELETING"; +export type DashboardStatus = "CREATING" | "CREATED" | "UPDATING" | "UPDATED" | "DELETING"; export type DashboardType = "MANAGED" | "CUSTOM"; export interface DataResource { Type?: string; @@ -1216,39 +611,36 @@ export declare class DelegatedAdminAccountLimitExceededException extends EffectD export interface DeleteChannelRequest { Channel: string; } -export interface DeleteChannelResponse {} +export interface DeleteChannelResponse { +} export interface DeleteDashboardRequest { DashboardId: string; } -export interface DeleteDashboardResponse {} +export interface DeleteDashboardResponse { +} export interface DeleteEventDataStoreRequest { EventDataStore: string; } -export interface DeleteEventDataStoreResponse {} +export interface DeleteEventDataStoreResponse { +} export interface DeleteResourcePolicyRequest { ResourceArn: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export interface DeleteTrailRequest { Name: string; } -export interface DeleteTrailResponse {} +export interface DeleteTrailResponse { +} export type DeliveryS3Uri = string; -export type DeliveryStatus = - | "SUCCESS" - | "FAILED" - | "FAILED_SIGNING_FILE" - | "PENDING" - | "RESOURCE_NOT_FOUND" - | "ACCESS_DENIED" - | "ACCESS_DENIED_SIGNING_FILE" - | "CANCELLED" - | "UNKNOWN"; +export type DeliveryStatus = "SUCCESS" | "FAILED" | "FAILED_SIGNING_FILE" | "PENDING" | "RESOURCE_NOT_FOUND" | "ACCESS_DENIED" | "ACCESS_DENIED_SIGNING_FILE" | "CANCELLED" | "UNKNOWN"; export interface DeregisterOrganizationDelegatedAdminRequest { DelegatedAdminAccountId: string; } -export interface DeregisterOrganizationDelegatedAdminResponse {} +export interface DeregisterOrganizationDelegatedAdminResponse { +} export interface DescribeQueryRequest { EventDataStore?: string; QueryId?: string; @@ -1364,13 +756,7 @@ export declare class EventDataStoreNotFoundException extends EffectData.TaggedEr readonly Message?: string; }> {} export type EventDataStores = Array; -export type EventDataStoreStatus = - | "CREATED" - | "ENABLED" - | "PENDING_DELETION" - | "STARTING_INGESTION" - | "STOPPING_INGESTION" - | "STOPPED_INGESTION"; +export type EventDataStoreStatus = "CREATED" | "ENABLED" | "PENDING_DELETION" | "STARTING_INGESTION" | "STOPPING_INGESTION" | "STOPPED_INGESTION"; export declare class EventDataStoreTerminationProtectedException extends EffectData.TaggedError( "EventDataStoreTerminationProtectedException", )<{ @@ -1391,11 +777,7 @@ export type EventSource = string; export type ExcludeManagementEventSources = Array; export type FederationRoleArn = string; -export type FederationStatus = - | "ENABLING" - | "ENABLED" - | "DISABLING" - | "DISABLED"; +export type FederationStatus = "ENABLING" | "ENABLED" | "DISABLING" | "DISABLED"; export interface GenerateQueryRequest { EventDataStores: Array; Prompt: string; @@ -1579,12 +961,7 @@ export interface ImportStatistics { EventsCompleted?: number; FailedEntries?: number; } -export type ImportStatus = - | "INITIALIZING" - | "IN_PROGRESS" - | "FAILED" - | "STOPPED" - | "COMPLETED"; +export type ImportStatus = "INITIALIZING" | "IN_PROGRESS" | "FAILED" | "STOPPED" | "COMPLETED"; export declare class InactiveEventDataStoreException extends EffectData.TaggedError( "InactiveEventDataStoreException", )<{ @@ -1914,15 +1291,7 @@ export interface LookupAttribute { AttributeKey: LookupAttributeKey; AttributeValue: string; } -export type LookupAttributeKey = - | "EventId" - | "EventName" - | "ReadOnly" - | "Username" - | "ResourceType" - | "ResourceName" - | "EventSource" - | "AccessKeyId"; +export type LookupAttributeKey = "EventId" | "EventName" | "ReadOnly" | "Username" | "ResourceType" | "ResourceName" | "EventSource" | "AccessKeyId"; export type LookupAttributesList = Array; export type LookupAttributeValue = string; @@ -2094,13 +1463,7 @@ export interface QueryStatisticsForDescribeQuery { ExecutionTimeInMillis?: number; CreationTime?: Date | string; } -export type QueryStatus = - | "QUEUED" - | "RUNNING" - | "FINISHED" - | "FAILED" - | "CANCELLED" - | "TIMED_OUT"; +export type QueryStatus = "QUEUED" | "RUNNING" | "FINISHED" | "FAILED" | "CANCELLED" | "TIMED_OUT"; export type ReadWriteType = "ReadOnly" | "WriteOnly" | "All"; export type RefreshId = string; @@ -2120,12 +1483,14 @@ export type RefreshScheduleStatus = "ENABLED" | "DISABLED"; export interface RegisterOrganizationDelegatedAdminRequest { MemberAccountId: string; } -export interface RegisterOrganizationDelegatedAdminResponse {} +export interface RegisterOrganizationDelegatedAdminResponse { +} export interface RemoveTagsRequest { ResourceId: string; TagsList: Array; } -export interface RemoveTagsResponse {} +export interface RemoveTagsResponse { +} export interface RequestWidget { QueryStatement: string; QueryParameters?: Array; @@ -2228,8 +1593,7 @@ export interface SearchSampleQueriesSearchResult { SQL?: string; Relevance?: number; } -export type SearchSampleQueriesSearchResults = - Array; +export type SearchSampleQueriesSearchResults = Array; export type SelectorField = string; export type SelectorName = string; @@ -2255,7 +1619,8 @@ export interface StartDashboardRefreshResponse { export interface StartEventDataStoreIngestionRequest { EventDataStore: string; } -export interface StartEventDataStoreIngestionResponse {} +export interface StartEventDataStoreIngestionResponse { +} export interface StartImportRequest { Destinations?: Array; ImportSource?: ImportSource; @@ -2276,7 +1641,8 @@ export interface StartImportResponse { export interface StartLoggingRequest { Name: string; } -export interface StartLoggingResponse {} +export interface StartLoggingResponse { +} export interface StartQueryRequest { QueryStatement?: string; DeliveryS3Uri?: string; @@ -2291,7 +1657,8 @@ export interface StartQueryResponse { export interface StopEventDataStoreIngestionRequest { EventDataStore: string; } -export interface StopEventDataStoreIngestionResponse {} +export interface StopEventDataStoreIngestionResponse { +} export interface StopImportRequest { ImportId: string; } @@ -2309,7 +1676,8 @@ export interface StopImportResponse { export interface StopLoggingRequest { Name: string; } -export interface StopLoggingResponse {} +export interface StopLoggingResponse { +} export type CloudtrailString = string; export interface Tag { @@ -2954,7 +2322,9 @@ export declare namespace ListChannels { export declare namespace ListDashboards { export type Input = ListDashboardsRequest; export type Output = ListDashboardsResponse; - export type Error = UnsupportedOperationException | CommonAwsError; + export type Error = + | UnsupportedOperationException + | CommonAwsError; } export declare namespace ListEventDataStores { @@ -3459,91 +2829,5 @@ export declare namespace UpdateTrail { | CommonAwsError; } -export type CloudTrailErrors = - | AccessDeniedException - | AccountHasOngoingImportException - | AccountNotFoundException - | AccountNotRegisteredException - | AccountRegisteredException - | CannotDelegateManagementAccountException - | ChannelARNInvalidException - | ChannelAlreadyExistsException - | ChannelExistsForEDSException - | ChannelMaxLimitExceededException - | ChannelNotFoundException - | CloudTrailARNInvalidException - | CloudTrailAccessNotEnabledException - | CloudTrailInvalidClientTokenIdException - | CloudWatchLogsDeliveryUnavailableException - | ConcurrentModificationException - | ConflictException - | DelegatedAdminAccountLimitExceededException - | EventDataStoreARNInvalidException - | EventDataStoreAlreadyExistsException - | EventDataStoreFederationEnabledException - | EventDataStoreHasOngoingImportException - | EventDataStoreMaxLimitExceededException - | EventDataStoreNotFoundException - | EventDataStoreTerminationProtectedException - | GenerateResponseException - | ImportNotFoundException - | InactiveEventDataStoreException - | InactiveQueryException - | InsightNotEnabledException - | InsufficientDependencyServiceAccessPermissionException - | InsufficientEncryptionPolicyException - | InsufficientIAMAccessPermissionException - | InsufficientS3BucketPolicyException - | InsufficientSnsTopicPolicyException - | InvalidCloudWatchLogsLogGroupArnException - | InvalidCloudWatchLogsRoleArnException - | InvalidDateRangeException - | InvalidEventCategoryException - | InvalidEventDataStoreCategoryException - | InvalidEventDataStoreStatusException - | InvalidEventSelectorsException - | InvalidHomeRegionException - | InvalidImportSourceException - | InvalidInsightSelectorsException - | InvalidKmsKeyIdException - | InvalidLookupAttributesException - | InvalidMaxResultsException - | InvalidNextTokenException - | InvalidParameterCombinationException - | InvalidParameterException - | InvalidQueryStatementException - | InvalidQueryStatusException - | InvalidS3BucketNameException - | InvalidS3PrefixException - | InvalidSnsTopicNameException - | InvalidSourceException - | InvalidTagParameterException - | InvalidTimeRangeException - | InvalidTokenException - | InvalidTrailNameException - | KmsException - | KmsKeyDisabledException - | KmsKeyNotFoundException - | MaxConcurrentQueriesException - | MaximumNumberOfTrailsExceededException - | NoManagementAccountSLRExistsException - | NotOrganizationManagementAccountException - | NotOrganizationMasterAccountException - | OperationNotPermittedException - | OrganizationNotInAllFeaturesModeException - | OrganizationsNotInUseException - | QueryIdNotFoundException - | ResourceARNNotValidException - | ResourceNotFoundException - | ResourcePolicyNotFoundException - | ResourcePolicyNotValidException - | ResourceTypeNotSupportedException - | S3BucketDoesNotExistException - | ServiceQuotaExceededException - | TagsLimitExceededException - | ThrottlingException - | TrailAlreadyExistsException - | TrailNotFoundException - | TrailNotProvidedException - | UnsupportedOperationException - | CommonAwsError; +export type CloudTrailErrors = AccessDeniedException | AccountHasOngoingImportException | AccountNotFoundException | AccountNotRegisteredException | AccountRegisteredException | CannotDelegateManagementAccountException | ChannelARNInvalidException | ChannelAlreadyExistsException | ChannelExistsForEDSException | ChannelMaxLimitExceededException | ChannelNotFoundException | CloudTrailARNInvalidException | CloudTrailAccessNotEnabledException | CloudTrailInvalidClientTokenIdException | CloudWatchLogsDeliveryUnavailableException | ConcurrentModificationException | ConflictException | DelegatedAdminAccountLimitExceededException | EventDataStoreARNInvalidException | EventDataStoreAlreadyExistsException | EventDataStoreFederationEnabledException | EventDataStoreHasOngoingImportException | EventDataStoreMaxLimitExceededException | EventDataStoreNotFoundException | EventDataStoreTerminationProtectedException | GenerateResponseException | ImportNotFoundException | InactiveEventDataStoreException | InactiveQueryException | InsightNotEnabledException | InsufficientDependencyServiceAccessPermissionException | InsufficientEncryptionPolicyException | InsufficientIAMAccessPermissionException | InsufficientS3BucketPolicyException | InsufficientSnsTopicPolicyException | InvalidCloudWatchLogsLogGroupArnException | InvalidCloudWatchLogsRoleArnException | InvalidDateRangeException | InvalidEventCategoryException | InvalidEventDataStoreCategoryException | InvalidEventDataStoreStatusException | InvalidEventSelectorsException | InvalidHomeRegionException | InvalidImportSourceException | InvalidInsightSelectorsException | InvalidKmsKeyIdException | InvalidLookupAttributesException | InvalidMaxResultsException | InvalidNextTokenException | InvalidParameterCombinationException | InvalidParameterException | InvalidQueryStatementException | InvalidQueryStatusException | InvalidS3BucketNameException | InvalidS3PrefixException | InvalidSnsTopicNameException | InvalidSourceException | InvalidTagParameterException | InvalidTimeRangeException | InvalidTokenException | InvalidTrailNameException | KmsException | KmsKeyDisabledException | KmsKeyNotFoundException | MaxConcurrentQueriesException | MaximumNumberOfTrailsExceededException | NoManagementAccountSLRExistsException | NotOrganizationManagementAccountException | NotOrganizationMasterAccountException | OperationNotPermittedException | OrganizationNotInAllFeaturesModeException | OrganizationsNotInUseException | QueryIdNotFoundException | ResourceARNNotValidException | ResourceNotFoundException | ResourcePolicyNotFoundException | ResourcePolicyNotValidException | ResourceTypeNotSupportedException | S3BucketDoesNotExistException | ServiceQuotaExceededException | TagsLimitExceededException | ThrottlingException | TrailAlreadyExistsException | TrailNotFoundException | TrailNotProvidedException | UnsupportedOperationException | CommonAwsError; + diff --git a/src/services/cloudwatch-events/index.ts b/src/services/cloudwatch-events/index.ts index 0b586d70..0b63034d 100644 --- a/src/services/cloudwatch-events/index.ts +++ b/src/services/cloudwatch-events/index.ts @@ -5,26 +5,7 @@ import type { CloudWatchEvents as _CloudWatchEventsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cloudwatch-events/types.ts b/src/services/cloudwatch-events/types.ts index 7c2e7923..4ddb3017 100644 --- a/src/services/cloudwatch-events/types.ts +++ b/src/services/cloudwatch-events/types.ts @@ -7,124 +7,73 @@ export declare class CloudWatchEvents extends AWSServiceClient { input: ActivateEventSourceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | InvalidStateException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidStateException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; cancelReplay( input: CancelReplayRequest, ): Effect.Effect< CancelReplayResponse, - | ConcurrentModificationException - | IllegalStatusException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IllegalStatusException | InternalException | ResourceNotFoundException | CommonAwsError >; createApiDestination( input: CreateApiDestinationRequest, ): Effect.Effect< CreateApiDestinationResponse, - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InternalException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createArchive( input: CreateArchiveRequest, ): Effect.Effect< CreateArchiveResponse, - | ConcurrentModificationException - | InternalException - | InvalidEventPatternException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidEventPatternException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createConnection( input: CreateConnectionRequest, ): Effect.Effect< CreateConnectionResponse, - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | CommonAwsError + InternalException | LimitExceededException | ResourceAlreadyExistsException | CommonAwsError >; createEventBus( input: CreateEventBusRequest, ): Effect.Effect< CreateEventBusResponse, - | ConcurrentModificationException - | InternalException - | InvalidStateException - | LimitExceededException - | OperationDisabledException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidStateException | LimitExceededException | OperationDisabledException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createPartnerEventSource( input: CreatePartnerEventSourceRequest, ): Effect.Effect< CreatePartnerEventSourceResponse, - | ConcurrentModificationException - | InternalException - | LimitExceededException - | OperationDisabledException - | ResourceAlreadyExistsException - | CommonAwsError + ConcurrentModificationException | InternalException | LimitExceededException | OperationDisabledException | ResourceAlreadyExistsException | CommonAwsError >; deactivateEventSource( input: DeactivateEventSourceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | InvalidStateException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidStateException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; deauthorizeConnection( input: DeauthorizeConnectionRequest, ): Effect.Effect< DeauthorizeConnectionResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; deleteApiDestination( input: DeleteApiDestinationRequest, ): Effect.Effect< DeleteApiDestinationResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; deleteArchive( input: DeleteArchiveRequest, ): Effect.Effect< DeleteArchiveResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; deleteConnection( input: DeleteConnectionRequest, ): Effect.Effect< DeleteConnectionResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; deleteEventBus( input: DeleteEventBusRequest, @@ -136,20 +85,13 @@ export declare class CloudWatchEvents extends AWSServiceClient { input: DeletePartnerEventSourceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | OperationDisabledException - | CommonAwsError + ConcurrentModificationException | InternalException | OperationDisabledException | CommonAwsError >; deleteRule( input: DeleteRuleRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; describeApiDestination( input: DescribeApiDestinationRequest, @@ -161,10 +103,7 @@ export declare class CloudWatchEvents extends AWSServiceClient { input: DescribeArchiveRequest, ): Effect.Effect< DescribeArchiveResponse, - | InternalException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InternalException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; describeConnection( input: DescribeConnectionRequest, @@ -182,19 +121,13 @@ export declare class CloudWatchEvents extends AWSServiceClient { input: DescribeEventSourceRequest, ): Effect.Effect< DescribeEventSourceResponse, - | InternalException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + InternalException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; describePartnerEventSource( input: DescribePartnerEventSourceRequest, ): Effect.Effect< DescribePartnerEventSourceResponse, - | InternalException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + InternalException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; describeReplay( input: DescribeReplayRequest, @@ -212,21 +145,13 @@ export declare class CloudWatchEvents extends AWSServiceClient { input: DisableRuleRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; enableRule( input: EnableRuleRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; listApiDestinations( input: ListApiDestinationsRequest, @@ -242,10 +167,16 @@ export declare class CloudWatchEvents extends AWSServiceClient { >; listConnections( input: ListConnectionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListConnectionsResponse, + InternalException | CommonAwsError + >; listEventBuses( input: ListEventBusesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListEventBusesResponse, + InternalException | CommonAwsError + >; listEventSources( input: ListEventSourcesRequest, ): Effect.Effect< @@ -256,10 +187,7 @@ export declare class CloudWatchEvents extends AWSServiceClient { input: ListPartnerEventSourceAccountsRequest, ): Effect.Effect< ListPartnerEventSourceAccountsResponse, - | InternalException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + InternalException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; listPartnerEventSources( input: ListPartnerEventSourcesRequest, @@ -269,7 +197,10 @@ export declare class CloudWatchEvents extends AWSServiceClient { >; listReplays( input: ListReplaysRequest, - ): Effect.Effect; + ): Effect.Effect< + ListReplaysResponse, + InternalException | CommonAwsError + >; listRuleNamesByTarget( input: ListRuleNamesByTargetRequest, ): Effect.Effect< @@ -296,7 +227,10 @@ export declare class CloudWatchEvents extends AWSServiceClient { >; putEvents( input: PutEventsRequest, - ): Effect.Effect; + ): Effect.Effect< + PutEventsResponse, + InternalException | CommonAwsError + >; putPartnerEvents( input: PutPartnerEventsRequest, ): Effect.Effect< @@ -307,76 +241,43 @@ export declare class CloudWatchEvents extends AWSServiceClient { input: PutPermissionRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | OperationDisabledException - | PolicyLengthExceededException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | OperationDisabledException | PolicyLengthExceededException | ResourceNotFoundException | CommonAwsError >; putRule( input: PutRuleRequest, ): Effect.Effect< PutRuleResponse, - | ConcurrentModificationException - | InternalException - | InvalidEventPatternException - | LimitExceededException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidEventPatternException | LimitExceededException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; putTargets( input: PutTargetsRequest, ): Effect.Effect< PutTargetsResponse, - | ConcurrentModificationException - | InternalException - | LimitExceededException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | LimitExceededException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; removePermission( input: RemovePermissionRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; removeTargets( input: RemoveTargetsRequest, ): Effect.Effect< RemoveTargetsResponse, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; startReplay( input: StartReplayRequest, ): Effect.Effect< StartReplayResponse, - | InternalException - | InvalidEventPatternException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidEventPatternException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; testEventPattern( input: TestEventPatternRequest, @@ -388,42 +289,25 @@ export declare class CloudWatchEvents extends AWSServiceClient { input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; updateApiDestination( input: UpdateApiDestinationRequest, ): Effect.Effect< UpdateApiDestinationResponse, - | ConcurrentModificationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; updateArchive( input: UpdateArchiveRequest, ): Effect.Effect< UpdateArchiveResponse, - | ConcurrentModificationException - | InternalException - | InvalidEventPatternException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidEventPatternException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; updateConnection( input: UpdateConnectionRequest, ): Effect.Effect< UpdateConnectionResponse, - | ConcurrentModificationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; } @@ -451,14 +335,7 @@ export type ApiDestinationArn = string; export type ApiDestinationDescription = string; -export type ApiDestinationHttpMethod = - | "POST" - | "GET" - | "HEAD" - | "OPTIONS" - | "PUT" - | "PATCH" - | "DELETE"; +export type ApiDestinationHttpMethod = "POST" | "GET" | "HEAD" | "OPTIONS" | "PUT" | "PATCH" | "DELETE"; export type ApiDestinationInvocationRateLimitPerSecond = number; export type ApiDestinationName = string; @@ -482,13 +359,7 @@ export type ArchiveDescription = string; export type ArchiveName = string; export type ArchiveResponseList = Array; -export type ArchiveState = - | "ENABLED" - | "DISABLED" - | "CREATING" - | "UPDATING" - | "CREATE_FAILED" - | "UPDATE_FAILED"; +export type ArchiveState = "ENABLED" | "DISABLED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED"; export type ArchiveStateReason = string; export type Arn = string; @@ -562,10 +433,7 @@ export interface ConnectionApiKeyAuthResponseParameters { } export type ConnectionArn = string; -export type ConnectionAuthorizationType = - | "BASIC" - | "OAUTH_CLIENT_CREDENTIALS" - | "API_KEY"; +export type ConnectionAuthorizationType = "BASIC" | "OAUTH_CLIENT_CREDENTIALS" | "API_KEY"; export interface ConnectionAuthResponseParameters { BasicAuthParameters?: ConnectionBasicAuthResponseParameters; OAuthParameters?: ConnectionOAuthResponseParameters; @@ -611,17 +479,9 @@ export interface ConnectionQueryStringParameter { Value?: string; IsValueSecret?: boolean; } -export type ConnectionQueryStringParametersList = - Array; +export type ConnectionQueryStringParametersList = Array; export type ConnectionResponseList = Array; -export type ConnectionState = - | "CREATING" - | "UPDATING" - | "DELETING" - | "AUTHORIZED" - | "DEAUTHORIZED" - | "AUTHORIZING" - | "DEAUTHORIZING"; +export type ConnectionState = "CREATING" | "UPDATING" | "DELETING" | "AUTHORIZED" | "DEAUTHORIZED" | "AUTHORIZING" | "DEAUTHORIZING"; export type ConnectionStateReason = string; export interface CreateApiDestinationRequest { @@ -727,11 +587,13 @@ export interface DeauthorizeConnectionResponse { export interface DeleteApiDestinationRequest { Name: string; } -export interface DeleteApiDestinationResponse {} +export interface DeleteApiDestinationResponse { +} export interface DeleteArchiveRequest { ArchiveName: string; } -export interface DeleteArchiveResponse {} +export interface DeleteArchiveResponse { +} export interface DeleteConnectionRequest { Name: string; } @@ -1193,8 +1055,7 @@ export interface PutPartnerEventsRequestEntry { DetailType?: string; Detail?: string; } -export type PutPartnerEventsRequestEntryList = - Array; +export type PutPartnerEventsRequestEntryList = Array; export interface PutPartnerEventsResponse { FailedEntryCount?: number; Entries?: Array; @@ -1204,8 +1065,7 @@ export interface PutPartnerEventsResultEntry { ErrorCode?: string; ErrorMessage?: string; } -export type PutPartnerEventsResultEntryList = - Array; +export type PutPartnerEventsResultEntryList = Array; export interface PutPermissionRequest { EventBusName?: string; Action?: string; @@ -1305,13 +1165,7 @@ export type ReplayDestinationFilters = Array; export type ReplayList = Array; export type ReplayName = string; -export type ReplayState = - | "STARTING" - | "RUNNING" - | "CANCELLING" - | "COMPLETED" - | "CANCELLED" - | "FAILED"; +export type ReplayState = "STARTING" | "RUNNING" | "CANCELLING" | "COMPLETED" | "CANCELLED" | "FAILED"; export type ReplayStateReason = string; export declare class ResourceAlreadyExistsException extends EffectData.TaggedError( @@ -1423,7 +1277,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Target { @@ -1474,7 +1329,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApiDestinationRequest { Name: string; Description?: string; @@ -1803,7 +1659,9 @@ export declare namespace EnableRule { export declare namespace ListApiDestinations { export type Input = ListApiDestinationsRequest; export type Output = ListApiDestinationsResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace ListArchives { @@ -1818,13 +1676,17 @@ export declare namespace ListArchives { export declare namespace ListConnections { export type Input = ListConnectionsRequest; export type Output = ListConnectionsResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace ListEventBuses { export type Input = ListEventBusesRequest; export type Output = ListEventBusesResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace ListEventSources { @@ -1858,7 +1720,9 @@ export declare namespace ListPartnerEventSources { export declare namespace ListReplays { export type Input = ListReplaysRequest; export type Output = ListReplaysResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace ListRuleNamesByTarget { @@ -1900,7 +1764,9 @@ export declare namespace ListTargetsByRule { export declare namespace PutEvents { export type Input = PutEventsRequest; export type Output = PutEventsResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace PutPartnerEvents { @@ -2048,16 +1914,5 @@ export declare namespace UpdateConnection { | CommonAwsError; } -export type CloudWatchEventsErrors = - | ConcurrentModificationException - | IllegalStatusException - | InternalException - | InvalidEventPatternException - | InvalidStateException - | LimitExceededException - | ManagedRuleException - | OperationDisabledException - | PolicyLengthExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError; +export type CloudWatchEventsErrors = ConcurrentModificationException | IllegalStatusException | InternalException | InvalidEventPatternException | InvalidStateException | LimitExceededException | ManagedRuleException | OperationDisabledException | PolicyLengthExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/cloudwatch-logs/index.ts b/src/services/cloudwatch-logs/index.ts index de4ee021..52a0b5f0 100644 --- a/src/services/cloudwatch-logs/index.ts +++ b/src/services/cloudwatch-logs/index.ts @@ -5,22 +5,7 @@ import type { CloudWatchLogs as _CloudWatchLogsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cloudwatch-logs/types.ts b/src/services/cloudwatch-logs/types.ts index bff3585d..59f9c4bd 100644 --- a/src/services/cloudwatch-logs/types.ts +++ b/src/services/cloudwatch-logs/types.ts @@ -1,37 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | UnrecognizedClientException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | UnrecognizedClientException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CloudWatchLogs extends AWSServiceClient { @@ -39,315 +8,181 @@ export declare class CloudWatchLogs extends AWSServiceClient { input: AssociateKmsKeyRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; cancelExportTask( input: CancelExportTaskRequest, ): Effect.Effect< {}, - | InvalidOperationException - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidOperationException | InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; createDelivery( input: CreateDeliveryRequest, ): Effect.Effect< CreateDeliveryResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; createExportTask( input: CreateExportTaskRequest, ): Effect.Effect< CreateExportTaskResponse, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; createLogAnomalyDetector( input: CreateLogAnomalyDetectorRequest, ): Effect.Effect< CreateLogAnomalyDetectorResponse, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; createLogGroup( input: CreateLogGroupRequest, ): Effect.Effect< {}, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceAlreadyExistsException | ServiceUnavailableException | CommonAwsError >; createLogStream( input: CreateLogStreamRequest, ): Effect.Effect< {}, - | InvalidParameterException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteAccountPolicy( input: DeleteAccountPolicyRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteDataProtectionPolicy( input: DeleteDataProtectionPolicyRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteDelivery( input: DeleteDeliveryRequest, ): Effect.Effect< {}, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; deleteDeliveryDestination( input: DeleteDeliveryDestinationRequest, ): Effect.Effect< {}, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; deleteDeliveryDestinationPolicy( input: DeleteDeliveryDestinationPolicyRequest, ): Effect.Effect< {}, - | ConflictException - | ResourceNotFoundException - | ServiceUnavailableException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceUnavailableException | ValidationException | CommonAwsError >; deleteDeliverySource( input: DeleteDeliverySourceRequest, ): Effect.Effect< {}, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; deleteDestination( input: DeleteDestinationRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteIndexPolicy( input: DeleteIndexPolicyRequest, ): Effect.Effect< DeleteIndexPolicyResponse, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteIntegration( input: DeleteIntegrationRequest, ): Effect.Effect< DeleteIntegrationResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | ValidationException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | ValidationException | CommonAwsError >; deleteLogAnomalyDetector( input: DeleteLogAnomalyDetectorRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteLogGroup( input: DeleteLogGroupRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteLogStream( input: DeleteLogStreamRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteMetricFilter( input: DeleteMetricFilterRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteQueryDefinition( input: DeleteQueryDefinitionRequest, ): Effect.Effect< DeleteQueryDefinitionResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteRetentionPolicy( input: DeleteRetentionPolicyRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteSubscriptionFilter( input: DeleteSubscriptionFilterRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteTransformer( input: DeleteTransformerRequest, ): Effect.Effect< {}, - | InvalidOperationException - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidOperationException | InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeAccountPolicies( input: DescribeAccountPoliciesRequest, ): Effect.Effect< DescribeAccountPoliciesResponse, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeConfigurationTemplates( input: DescribeConfigurationTemplatesRequest, ): Effect.Effect< DescribeConfigurationTemplatesResponse, - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; describeDeliveries( input: DescribeDeliveriesRequest, ): Effect.Effect< DescribeDeliveriesResponse, - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; describeDeliveryDestinations( input: DescribeDeliveryDestinationsRequest, ): Effect.Effect< DescribeDeliveryDestinationsResponse, - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; describeDeliverySources( input: DescribeDeliverySourcesRequest, ): Effect.Effect< DescribeDeliverySourcesResponse, - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; describeDestinations( input: DescribeDestinationsRequest, @@ -365,23 +200,13 @@ export declare class CloudWatchLogs extends AWSServiceClient { input: DescribeFieldIndexesRequest, ): Effect.Effect< DescribeFieldIndexesResponse, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeIndexPolicies( input: DescribeIndexPoliciesRequest, ): Effect.Effect< DescribeIndexPoliciesResponse, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeLogGroups( input: DescribeLogGroupsRequest, @@ -393,28 +218,19 @@ export declare class CloudWatchLogs extends AWSServiceClient { input: DescribeLogStreamsRequest, ): Effect.Effect< DescribeLogStreamsResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeMetricFilters( input: DescribeMetricFiltersRequest, ): Effect.Effect< DescribeMetricFiltersResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeQueries( input: DescribeQueriesRequest, ): Effect.Effect< DescribeQueriesResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeQueryDefinitions( input: DescribeQueryDefinitionsRequest, @@ -432,169 +248,103 @@ export declare class CloudWatchLogs extends AWSServiceClient { input: DescribeSubscriptionFiltersRequest, ): Effect.Effect< DescribeSubscriptionFiltersResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; disassociateKmsKey( input: DisassociateKmsKeyRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; filterLogEvents( input: FilterLogEventsRequest, ): Effect.Effect< FilterLogEventsResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getDataProtectionPolicy( input: GetDataProtectionPolicyRequest, ): Effect.Effect< GetDataProtectionPolicyResponse, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getDelivery( input: GetDeliveryRequest, ): Effect.Effect< GetDeliveryResponse, - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getDeliveryDestination( input: GetDeliveryDestinationRequest, ): Effect.Effect< GetDeliveryDestinationResponse, - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getDeliveryDestinationPolicy( input: GetDeliveryDestinationPolicyRequest, ): Effect.Effect< GetDeliveryDestinationPolicyResponse, - | ResourceNotFoundException - | ServiceUnavailableException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ServiceUnavailableException | ValidationException | CommonAwsError >; getDeliverySource( input: GetDeliverySourceRequest, ): Effect.Effect< GetDeliverySourceResponse, - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getIntegration( input: GetIntegrationRequest, ): Effect.Effect< GetIntegrationResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getLogAnomalyDetector( input: GetLogAnomalyDetectorRequest, ): Effect.Effect< GetLogAnomalyDetectorResponse, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getLogEvents( input: GetLogEventsRequest, ): Effect.Effect< GetLogEventsResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getLogGroupFields( input: GetLogGroupFieldsRequest, ): Effect.Effect< GetLogGroupFieldsResponse, - | InvalidParameterException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getLogObject( input: GetLogObjectRequest, ): Effect.Effect< GetLogObjectResponse, - | AccessDeniedException - | InvalidOperationException - | InvalidParameterException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidOperationException | InvalidParameterException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getLogRecord( input: GetLogRecordRequest, ): Effect.Effect< GetLogRecordResponse, - | InvalidParameterException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getQueryResults( input: GetQueryResultsRequest, ): Effect.Effect< GetQueryResultsResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getTransformer( input: GetTransformerRequest, ): Effect.Effect< GetTransformerResponse, - | InvalidOperationException - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidOperationException | InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listAnomalies( input: ListAnomaliesRequest, ): Effect.Effect< ListAnomaliesResponse, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listIntegrations( input: ListIntegrationsRequest, @@ -606,11 +356,7 @@ export declare class CloudWatchLogs extends AWSServiceClient { input: ListLogAnomalyDetectorsRequest, ): Effect.Effect< ListLogAnomalyDetectorsResponse, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listLogGroups( input: ListLogGroupsRequest, @@ -622,20 +368,13 @@ export declare class CloudWatchLogs extends AWSServiceClient { input: ListLogGroupsForQueryRequest, ): Effect.Effect< ListLogGroupsForQueryResponse, - | AccessDeniedException - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + AccessDeniedException | InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listTagsLogGroup( input: ListTagsLogGroupRequest, @@ -647,205 +386,115 @@ export declare class CloudWatchLogs extends AWSServiceClient { input: PutAccountPolicyRequest, ): Effect.Effect< PutAccountPolicyResponse, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ServiceUnavailableException | CommonAwsError >; putDataProtectionPolicy( input: PutDataProtectionPolicyRequest, ): Effect.Effect< PutDataProtectionPolicyResponse, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putDeliveryDestination( input: PutDeliveryDestinationRequest, ): Effect.Effect< PutDeliveryDestinationResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; putDeliveryDestinationPolicy( input: PutDeliveryDestinationPolicyRequest, ): Effect.Effect< PutDeliveryDestinationPolicyResponse, - | ConflictException - | ResourceNotFoundException - | ServiceUnavailableException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceUnavailableException | ValidationException | CommonAwsError >; putDeliverySource( input: PutDeliverySourceRequest, ): Effect.Effect< PutDeliverySourceResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; putDestination( input: PutDestinationRequest, ): Effect.Effect< PutDestinationResponse, - | InvalidParameterException - | OperationAbortedException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ServiceUnavailableException | CommonAwsError >; putDestinationPolicy( input: PutDestinationPolicyRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ServiceUnavailableException | CommonAwsError >; putIndexPolicy( input: PutIndexPolicyRequest, ): Effect.Effect< PutIndexPolicyResponse, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putIntegration( input: PutIntegrationRequest, ): Effect.Effect< PutIntegrationResponse, - | InvalidParameterException - | LimitExceededException - | ServiceUnavailableException - | ValidationException - | CommonAwsError + InvalidParameterException | LimitExceededException | ServiceUnavailableException | ValidationException | CommonAwsError >; putLogEvents( input: PutLogEventsRequest, ): Effect.Effect< PutLogEventsResponse, - | DataAlreadyAcceptedException - | InvalidParameterException - | InvalidSequenceTokenException - | ResourceNotFoundException - | ServiceUnavailableException - | UnrecognizedClientException - | CommonAwsError + DataAlreadyAcceptedException | InvalidParameterException | InvalidSequenceTokenException | ResourceNotFoundException | ServiceUnavailableException | UnrecognizedClientException | CommonAwsError >; putMetricFilter( input: PutMetricFilterRequest, ): Effect.Effect< {}, - | InvalidOperationException - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidOperationException | InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putQueryDefinition( input: PutQueryDefinitionRequest, ): Effect.Effect< PutQueryDefinitionResponse, - | InvalidParameterException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putRetentionPolicy( input: PutRetentionPolicyRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putSubscriptionFilter( input: PutSubscriptionFilterRequest, ): Effect.Effect< {}, - | InvalidOperationException - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidOperationException | InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putTransformer( input: PutTransformerRequest, ): Effect.Effect< {}, - | InvalidOperationException - | InvalidParameterException - | LimitExceededException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidOperationException | InvalidParameterException | LimitExceededException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; startLiveTail( input: StartLiveTailRequest, ): Effect.Effect< StartLiveTailResponse, - | AccessDeniedException - | InvalidOperationException - | InvalidParameterException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidOperationException | InvalidParameterException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; startQuery( input: StartQueryRequest, ): Effect.Effect< StartQueryResponse, - | InvalidParameterException - | LimitExceededException - | MalformedQueryException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | LimitExceededException | MalformedQueryException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; stopQuery( input: StopQueryRequest, ): Effect.Effect< StopQueryResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; tagLogGroup( input: TagLogGroupRequest, @@ -857,11 +506,7 @@ export declare class CloudWatchLogs extends AWSServiceClient { input: TagResourceRequest, ): Effect.Effect< {}, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | TooManyTagsException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | TooManyTagsException | CommonAwsError >; testMetricFilter( input: TestMetricFilterRequest, @@ -873,54 +518,37 @@ export declare class CloudWatchLogs extends AWSServiceClient { input: TestTransformerRequest, ): Effect.Effect< TestTransformerResponse, - | InvalidOperationException - | InvalidParameterException - | ServiceUnavailableException - | CommonAwsError + InvalidOperationException | InvalidParameterException | ServiceUnavailableException | CommonAwsError >; untagLogGroup( input: UntagLogGroupRequest, - ): Effect.Effect<{}, ResourceNotFoundException | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFoundException | CommonAwsError + >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | InvalidParameterException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateAnomaly( input: UpdateAnomalyRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateDeliveryConfiguration( input: UpdateDeliveryConfigurationRequest, ): Effect.Effect< UpdateDeliveryConfigurationResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; updateLogAnomalyDetector( input: UpdateLogAnomalyDetectorRequest, ): Effect.Effect< {}, - | InvalidParameterException - | OperationAbortedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterException | OperationAbortedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; } @@ -1002,13 +630,7 @@ export interface AnomalyDetector { export type AnomalyDetectorArn = string; export type AnomalyDetectors = Array; -export type AnomalyDetectorStatus = - | "INITIALIZING" - | "TRAINING" - | "ANALYZING" - | "FAILED" - | "DELETED" - | "PAUSED"; +export type AnomalyDetectorStatus = "INITIALIZING" | "TRAINING" | "ANALYZING" | "FAILED" | "DELETED" | "PAUSED"; export type AnomalyId = string; export type AnomalyVisibilityTime = number; @@ -1132,11 +754,7 @@ export declare class DataAlreadyAcceptedException extends EffectData.TaggedError }> {} export type DataProtectionPolicyDocument = string; -export type DataProtectionStatus = - | "ACTIVATED" - | "DELETED" - | "ARCHIVED" - | "DISABLED"; +export type DataProtectionStatus = "ACTIVATED" | "DELETED" | "ARCHIVED" | "DISABLED"; export interface DateTimeConverter { source: string; target: string; @@ -1175,12 +793,14 @@ export interface DeleteDestinationRequest { export interface DeleteIndexPolicyRequest { logGroupIdentifier: string; } -export interface DeleteIndexPolicyResponse {} +export interface DeleteIndexPolicyResponse { +} export interface DeleteIntegrationRequest { integrationName: string; force?: boolean; } -export interface DeleteIntegrationResponse {} +export interface DeleteIntegrationResponse { +} export interface DeleteKeys { withKeys: Array; } @@ -1487,24 +1107,11 @@ export type EntityKeyAttributesKey = string; export type EntityKeyAttributesValue = string; -export type EntityRejectionErrorType = - | "InvalidEntity" - | "InvalidTypeValue" - | "InvalidKeyAttributes" - | "InvalidAttributes" - | "EntitySizeTooLarge" - | "UnsupportedLogGroupType" - | "MissingRequiredFields"; +export type EntityRejectionErrorType = "InvalidEntity" | "InvalidTypeValue" | "InvalidKeyAttributes" | "InvalidAttributes" | "EntitySizeTooLarge" | "UnsupportedLogGroupType" | "MissingRequiredFields"; export type Enumerations = Record; export type EpochMillis = number; -export type EvaluationFrequency = - | "ONE_MIN" - | "FIVE_MIN" - | "TEN_MIN" - | "FIFTEEN_MIN" - | "THIRTY_MIN" - | "ONE_HOUR"; +export type EvaluationFrequency = "ONE_MIN" | "FIVE_MIN" | "TEN_MIN" | "FIFTEEN_MIN" | "THIRTY_MIN" | "ONE_HOUR"; export type EventId = string; export type EventMessage = string; @@ -1513,12 +1120,7 @@ export type EventNumber = number; export type EventsLimit = number; -export type EventSource = - | "CloudTrail" - | "Route53Resolver" - | "VPCFlow" - | "EKSAudit" - | "AWSWAF"; +export type EventSource = "CloudTrail" | "Route53Resolver" | "VPCFlow" | "EKSAudit" | "AWSWAF"; export type ExpectedRevisionId = string; export type ExportDestinationBucket = string; @@ -1549,13 +1151,7 @@ export interface ExportTaskStatus { code?: ExportTaskStatusCode; message?: string; } -export type ExportTaskStatusCode = - | "CANCELLED" - | "COMPLETED" - | "FAILED" - | "PENDING" - | "PENDING_CANCEL" - | "RUNNING"; +export type ExportTaskStatusCode = "CANCELLED" | "COMPLETED" | "FAILED" | "PENDING" | "PENDING_CANCEL" | "RUNNING"; export type ExportTaskStatusMessage = string; export type ExtractedValues = Record; @@ -1712,11 +1308,7 @@ interface _GetLogObjectResponseStream { InternalStreamingException?: InternalStreamingException; } -export type GetLogObjectResponseStream = - | (_GetLogObjectResponseStream & { fields: FieldsData }) - | (_GetLogObjectResponseStream & { - InternalStreamingException: InternalStreamingException; - }); +export type GetLogObjectResponseStream = (_GetLogObjectResponseStream & { fields: FieldsData }) | (_GetLogObjectResponseStream & { InternalStreamingException: InternalStreamingException }); export interface GetLogRecordRequest { logRecordPointer: string; unmask?: boolean; @@ -1777,9 +1369,7 @@ interface _IntegrationDetails { openSearchIntegrationDetails?: OpenSearchIntegrationDetails; } -export type IntegrationDetails = _IntegrationDetails & { - openSearchIntegrationDetails: OpenSearchIntegrationDetails; -}; +export type IntegrationDetails = (_IntegrationDetails & { openSearchIntegrationDetails: OpenSearchIntegrationDetails }); export type IntegrationName = string; export type IntegrationNamePrefix = string; @@ -2207,12 +1797,7 @@ export type PolicyDocument = string; export type PolicyName = string; export type PolicyScope = "ACCOUNT" | "RESOURCE"; -export type PolicyType = - | "DATA_PROTECTION_POLICY" - | "SUBSCRIPTION_FILTER_POLICY" - | "FIELD_INDEX_POLICY" - | "TRANSFORMER_POLICY" - | "METRIC_EXTRACTION_POLICY"; +export type PolicyType = "DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY" | "METRIC_EXTRACTION_POLICY"; export type Priority = string; export interface Processor { @@ -2423,14 +2008,7 @@ export interface QueryStatistics { estimatedBytesSkipped?: number; logGroupsScanned?: number; } -export type QueryStatus = - | "Scheduled" - | "Running" - | "Complete" - | "Failed" - | "Cancelled" - | "Timeout" - | "Unknown"; +export type QueryStatus = "Scheduled" | "Running" | "Complete" | "Failed" | "Cancelled" | "Timeout" | "Unknown"; export type QueryString = string; export type QuoteCharacter = string; @@ -2471,9 +2049,7 @@ interface _ResourceConfig { openSearchResourceConfig?: OpenSearchResourceConfig; } -export type ResourceConfig = _ResourceConfig & { - openSearchResourceConfig: OpenSearchResourceConfig; -}; +export type ResourceConfig = (_ResourceConfig & { openSearchResourceConfig: OpenSearchResourceConfig }); export type ResourceIdentifier = string; export declare class ResourceNotFoundException extends EffectData.TaggedError( @@ -2552,34 +2128,7 @@ export interface SplitStringEntry { source: string; delimiter: string; } -export type StandardUnit = - | "Seconds" - | "Microseconds" - | "Milliseconds" - | "Bytes" - | "Kilobytes" - | "Megabytes" - | "Gigabytes" - | "Terabytes" - | "Bits" - | "Kilobits" - | "Megabits" - | "Gigabits" - | "Terabits" - | "Percent" - | "Count" - | "Bytes/Second" - | "Kilobytes/Second" - | "Megabytes/Second" - | "Gigabytes/Second" - | "Terabytes/Second" - | "Bits/Second" - | "Kilobits/Second" - | "Megabits/Second" - | "Gigabits/Second" - | "Terabits/Second" - | "Count/Second" - | "None"; +export type StandardUnit = "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None"; export type StartFromHead = boolean; export type StartLiveTailLogGroupIdentifiers = Array; @@ -2599,15 +2148,7 @@ interface _StartLiveTailResponseStream { SessionStreamingException?: SessionStreamingException; } -export type StartLiveTailResponseStream = - | (_StartLiveTailResponseStream & { sessionStart: LiveTailSessionStart }) - | (_StartLiveTailResponseStream & { sessionUpdate: LiveTailSessionUpdate }) - | (_StartLiveTailResponseStream & { - SessionTimeoutException: SessionTimeoutException; - }) - | (_StartLiveTailResponseStream & { - SessionStreamingException: SessionStreamingException; - }); +export type StartLiveTailResponseStream = (_StartLiveTailResponseStream & { sessionStart: LiveTailSessionStart }) | (_StartLiveTailResponseStream & { sessionUpdate: LiveTailSessionUpdate }) | (_StartLiveTailResponseStream & { SessionTimeoutException: SessionTimeoutException }) | (_StartLiveTailResponseStream & { SessionStreamingException: SessionStreamingException }); export interface StartQueryRequest { queryLanguage?: QueryLanguage; logGroupName?: string; @@ -2776,7 +2317,8 @@ export interface UpdateDeliveryConfigurationRequest { fieldDelimiter?: string; s3DeliveryConfiguration?: S3DeliveryConfiguration; } -export interface UpdateDeliveryConfigurationResponse {} +export interface UpdateDeliveryConfigurationResponse { +} export interface UpdateLogAnomalyDetectorRequest { anomalyDetectorArn: string; evaluationFrequency?: EvaluationFrequency; @@ -3751,7 +3293,9 @@ export declare namespace TestTransformer { export declare namespace UntagLogGroup { export type Input = UntagLogGroupRequest; export type Output = {}; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UntagResource { @@ -3799,25 +3343,5 @@ export declare namespace UpdateLogAnomalyDetector { | CommonAwsError; } -export type CloudWatchLogsErrors = - | AccessDeniedException - | ConflictException - | DataAlreadyAcceptedException - | InternalStreamingException - | InvalidOperationException - | InvalidParameterException - | InvalidSequenceTokenException - | LimitExceededException - | MalformedQueryException - | OperationAbortedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | SessionStreamingException - | SessionTimeoutException - | ThrottlingException - | TooManyTagsException - | UnrecognizedClientException - | ValidationException - | CommonAwsError; +export type CloudWatchLogsErrors = AccessDeniedException | ConflictException | DataAlreadyAcceptedException | InternalStreamingException | InvalidOperationException | InvalidParameterException | InvalidSequenceTokenException | LimitExceededException | MalformedQueryException | OperationAbortedException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | SessionStreamingException | SessionTimeoutException | ThrottlingException | TooManyTagsException | UnrecognizedClientException | ValidationException | CommonAwsError; + diff --git a/src/services/cloudwatch/index.ts b/src/services/cloudwatch/index.ts index 2283fac7..d0be7f46 100644 --- a/src/services/cloudwatch/index.ts +++ b/src/services/cloudwatch/index.ts @@ -6,26 +6,7 @@ import type { CloudWatch as _CloudWatchClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const CloudWatch = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _CloudWatchClient; diff --git a/src/services/cloudwatch/types.ts b/src/services/cloudwatch/types.ts index d76c9122..7303348d 100644 --- a/src/services/cloudwatch/types.ts +++ b/src/services/cloudwatch/types.ts @@ -5,44 +5,33 @@ import { AWSServiceClient } from "../../client.ts"; export declare class CloudWatch extends AWSServiceClient { deleteAlarms( input: DeleteAlarmsInput, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteAnomalyDetector( input: DeleteAnomalyDetectorInput, ): Effect.Effect< DeleteAnomalyDetectorOutput, - | InternalServiceFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterCombinationException | InvalidParameterValueException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; deleteDashboards( input: DeleteDashboardsInput, ): Effect.Effect< DeleteDashboardsOutput, - | ConflictException - | DashboardNotFoundError - | InternalServiceFault - | InvalidParameterValueException - | CommonAwsError + ConflictException | DashboardNotFoundError | InternalServiceFault | InvalidParameterValueException | CommonAwsError >; deleteInsightRules( input: DeleteInsightRulesInput, ): Effect.Effect< DeleteInsightRulesOutput, - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; deleteMetricStream( input: DeleteMetricStreamInput, ): Effect.Effect< DeleteMetricStreamOutput, - | InternalServiceFault - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InternalServiceFault | InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; describeAlarmContributors( input: DescribeAlarmContributorsInput, @@ -58,19 +47,21 @@ export declare class CloudWatch extends AWSServiceClient { >; describeAlarms( input: DescribeAlarmsInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeAlarmsOutput, + InvalidNextToken | CommonAwsError + >; describeAlarmsForMetric( input: DescribeAlarmsForMetricInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeAlarmsForMetricOutput, + CommonAwsError + >; describeAnomalyDetectors( input: DescribeAnomalyDetectorsInput, ): Effect.Effect< DescribeAnomalyDetectorsOutput, - | InternalServiceFault - | InvalidNextToken - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + InternalServiceFault | InvalidNextToken | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; describeInsightRules( input: DescribeInsightRulesInput, @@ -80,72 +71,64 @@ export declare class CloudWatch extends AWSServiceClient { >; disableAlarmActions( input: DisableAlarmActionsInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; disableInsightRules( input: DisableInsightRulesInput, ): Effect.Effect< DisableInsightRulesOutput, - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; enableAlarmActions( input: EnableAlarmActionsInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; enableInsightRules( input: EnableInsightRulesInput, ): Effect.Effect< EnableInsightRulesOutput, - | InvalidParameterValueException - | LimitExceededException - | MissingRequiredParameterException - | CommonAwsError + InvalidParameterValueException | LimitExceededException | MissingRequiredParameterException | CommonAwsError >; getDashboard( input: GetDashboardInput, ): Effect.Effect< GetDashboardOutput, - | DashboardNotFoundError - | InternalServiceFault - | InvalidParameterValueException - | CommonAwsError + DashboardNotFoundError | InternalServiceFault | InvalidParameterValueException | CommonAwsError >; getInsightRuleReport( input: GetInsightRuleReportInput, ): Effect.Effect< GetInsightRuleReportOutput, - | InvalidParameterValueException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterValueException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; getMetricData( input: GetMetricDataInput, - ): Effect.Effect; + ): Effect.Effect< + GetMetricDataOutput, + InvalidNextToken | CommonAwsError + >; getMetricStatistics( input: GetMetricStatisticsInput, ): Effect.Effect< GetMetricStatisticsOutput, - | InternalServiceFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InternalServiceFault | InvalidParameterCombinationException | InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; getMetricStream( input: GetMetricStreamInput, ): Effect.Effect< GetMetricStreamOutput, - | InternalServiceFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterCombinationException | InvalidParameterValueException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; getMetricWidgetImage( input: GetMetricWidgetImageInput, - ): Effect.Effect; + ): Effect.Effect< + GetMetricWidgetImageOutput, + CommonAwsError + >; listDashboards( input: ListDashboardsInput, ): Effect.Effect< @@ -156,10 +139,7 @@ export declare class CloudWatch extends AWSServiceClient { input: ListManagedInsightRulesInput, ): Effect.Effect< ListManagedInsightRulesOutput, - | InvalidNextToken - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InvalidNextToken | InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; listMetrics( input: ListMetricsInput, @@ -171,127 +151,91 @@ export declare class CloudWatch extends AWSServiceClient { input: ListMetricStreamsInput, ): Effect.Effect< ListMetricStreamsOutput, - | InternalServiceFault - | InvalidNextToken - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InternalServiceFault | InvalidNextToken | InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServiceFault - | InvalidParameterValueException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterValueException | ResourceNotFoundException | CommonAwsError >; putAnomalyDetector( input: PutAnomalyDetectorInput, ): Effect.Effect< PutAnomalyDetectorOutput, - | InternalServiceFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | LimitExceededException - | MissingRequiredParameterException - | CommonAwsError + InternalServiceFault | InvalidParameterCombinationException | InvalidParameterValueException | LimitExceededException | MissingRequiredParameterException | CommonAwsError >; putCompositeAlarm( input: PutCompositeAlarmInput, - ): Effect.Effect<{}, LimitExceededFault | CommonAwsError>; + ): Effect.Effect< + {}, + LimitExceededFault | CommonAwsError + >; putDashboard( input: PutDashboardInput, ): Effect.Effect< PutDashboardOutput, - | ConflictException - | DashboardInvalidInputError - | InternalServiceFault - | CommonAwsError + ConflictException | DashboardInvalidInputError | InternalServiceFault | CommonAwsError >; putInsightRule( input: PutInsightRuleInput, ): Effect.Effect< PutInsightRuleOutput, - | InvalidParameterValueException - | LimitExceededException - | MissingRequiredParameterException - | CommonAwsError + InvalidParameterValueException | LimitExceededException | MissingRequiredParameterException | CommonAwsError >; putManagedInsightRules( input: PutManagedInsightRulesInput, ): Effect.Effect< PutManagedInsightRulesOutput, - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; putMetricAlarm( input: PutMetricAlarmInput, - ): Effect.Effect<{}, LimitExceededFault | CommonAwsError>; + ): Effect.Effect< + {}, + LimitExceededFault | CommonAwsError + >; putMetricData( input: PutMetricDataInput, ): Effect.Effect< {}, - | InternalServiceFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InternalServiceFault | InvalidParameterCombinationException | InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; putMetricStream( input: PutMetricStreamInput, ): Effect.Effect< PutMetricStreamOutput, - | ConcurrentModificationException - | InternalServiceFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + ConcurrentModificationException | InternalServiceFault | InvalidParameterCombinationException | InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; setAlarmState( input: SetAlarmStateInput, - ): Effect.Effect<{}, InvalidFormatFault | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + InvalidFormatFault | ResourceNotFound | CommonAwsError + >; startMetricStreams( input: StartMetricStreamsInput, ): Effect.Effect< StartMetricStreamsOutput, - | InternalServiceFault - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InternalServiceFault | InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; stopMetricStreams( input: StopMetricStreamsInput, ): Effect.Effect< StopMetricStreamsOutput, - | InternalServiceFault - | InvalidParameterValueException - | MissingRequiredParameterException - | CommonAwsError + InternalServiceFault | InvalidParameterValueException | MissingRequiredParameterException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | ConcurrentModificationException - | ConflictException - | InternalServiceFault - | InvalidParameterValueException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | ConflictException | InternalServiceFault | InvalidParameterValueException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | ConcurrentModificationException - | ConflictException - | InternalServiceFault - | InvalidParameterValueException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | ConflictException | InternalServiceFault | InvalidParameterValueException | ResourceNotFoundException | CommonAwsError >; } @@ -360,10 +304,7 @@ export type AnomalyDetectorMetricStat = string; export type AnomalyDetectorMetricTimezone = string; export type AnomalyDetectors = Array; -export type AnomalyDetectorStateValue = - | "PENDING_TRAINING" - | "TRAINED_INSUFFICIENT_DATA" - | "TRAINED"; +export type AnomalyDetectorStateValue = "PENDING_TRAINING" | "TRAINED_INSUFFICIENT_DATA" | "TRAINED"; export type AnomalyDetectorType = "SINGLE_METRIC" | "METRIC_MATH"; export type AnomalyDetectorTypes = Array; export type AttributeName = string; @@ -373,14 +314,7 @@ export type AttributeValue = string; export type AwsQueryErrorMessage = string; export type BatchFailures = Array; -export type ComparisonOperator = - | "GreaterThanOrEqualToThreshold" - | "GreaterThanThreshold" - | "LessThanThreshold" - | "LessThanOrEqualToThreshold" - | "LessThanLowerOrGreaterThanUpperThreshold" - | "LessThanLowerThreshold" - | "GreaterThanUpperThreshold"; +export type ComparisonOperator = "GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold" | "LessThanLowerOrGreaterThanUpperThreshold" | "LessThanLowerThreshold" | "GreaterThanUpperThreshold"; export interface CompositeAlarm { ActionsEnabled?: boolean; AlarmActions?: Array; @@ -481,11 +415,13 @@ export interface DeleteAnomalyDetectorInput { SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector; MetricMathAnomalyDetector?: MetricMathAnomalyDetector; } -export interface DeleteAnomalyDetectorOutput {} +export interface DeleteAnomalyDetectorOutput { +} export interface DeleteDashboardsInput { DashboardNames: Array; } -export interface DeleteDashboardsOutput {} +export interface DeleteDashboardsOutput { +} export interface DeleteInsightRulesInput { RuleNames: Array; } @@ -495,7 +431,8 @@ export interface DeleteInsightRulesOutput { export interface DeleteMetricStreamInput { Name: string; } -export interface DeleteMetricStreamOutput {} +export interface DeleteMetricStreamOutput { +} export interface DescribeAlarmContributorsInput { AlarmName: string; NextToken?: string; @@ -722,12 +659,7 @@ export interface GetMetricWidgetImageOutput { } export type HistoryData = string; -export type HistoryItemType = - | "ConfigurationUpdate" - | "StateUpdate" - | "Action" - | "AlarmContributorStateUpdate" - | "AlarmContributorAction"; +export type HistoryItemType = "ConfigurationUpdate" | "StateUpdate" | "Action" | "AlarmContributorStateUpdate" | "AlarmContributorAction"; export type HistorySummary = string; export type IncludeLinkedAccounts = boolean; @@ -753,8 +685,7 @@ export interface InsightRuleContributorDatapoint { Timestamp: Date | string; ApproximateValue: number; } -export type InsightRuleContributorDatapoints = - Array; +export type InsightRuleContributorDatapoints = Array; export type InsightRuleContributorKey = string; export type InsightRuleContributorKeyLabel = string; @@ -1026,10 +957,7 @@ export type MetricStreamFilters = Array; export type MetricStreamName = string; export type MetricStreamNames = Array; -export type MetricStreamOutputFormat = - | "json" - | "opentelemetry0.7" - | "opentelemetry1.0"; +export type MetricStreamOutputFormat = "json" | "opentelemetry0.7" | "opentelemetry1.0"; export type MetricStreamState = string; export type MetricStreamStatistic = string; @@ -1039,10 +967,8 @@ export interface MetricStreamStatisticsConfiguration { IncludeMetrics: Array; AdditionalStatistics: Array; } -export type MetricStreamStatisticsConfigurations = - Array; -export type MetricStreamStatisticsIncludeMetrics = - Array; +export type MetricStreamStatisticsConfigurations = Array; +export type MetricStreamStatisticsIncludeMetrics = Array; export interface MetricStreamStatisticsMetric { Namespace: string; MetricName: string; @@ -1083,7 +1009,8 @@ export interface PutAnomalyDetectorInput { SingleMetricAnomalyDetector?: SingleMetricAnomalyDetector; MetricMathAnomalyDetector?: MetricMathAnomalyDetector; } -export interface PutAnomalyDetectorOutput {} +export interface PutAnomalyDetectorOutput { +} export interface PutCompositeAlarmInput { ActionsEnabled?: boolean; AlarmActions?: Array; @@ -1111,7 +1038,8 @@ export interface PutInsightRuleInput { Tags?: Array; ApplyOnTransformedLogs?: boolean; } -export interface PutInsightRuleOutput {} +export interface PutInsightRuleOutput { +} export interface PutManagedInsightRulesInput { ManagedRules: Array; } @@ -1204,38 +1132,12 @@ export interface SingleMetricAnomalyDetector { } export type Size = number; -export type StandardUnit = - | "Seconds" - | "Microseconds" - | "Milliseconds" - | "Bytes" - | "Kilobytes" - | "Megabytes" - | "Gigabytes" - | "Terabytes" - | "Bits" - | "Kilobits" - | "Megabits" - | "Gigabits" - | "Terabits" - | "Percent" - | "Count" - | "Bytes/Second" - | "Kilobytes/Second" - | "Megabytes/Second" - | "Gigabytes/Second" - | "Terabytes/Second" - | "Bits/Second" - | "Kilobits/Second" - | "Megabits/Second" - | "Gigabits/Second" - | "Terabits/Second" - | "Count/Second" - | "None"; +export type StandardUnit = "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None"; export interface StartMetricStreamsInput { Names: Array; } -export interface StartMetricStreamsOutput {} +export interface StartMetricStreamsOutput { +} export type Stat = string; export type StateReason = string; @@ -1243,12 +1145,7 @@ export type StateReason = string; export type StateReasonData = string; export type StateValue = "OK" | "ALARM" | "INSUFFICIENT_DATA"; -export type Statistic = - | "SampleCount" - | "Average" - | "Sum" - | "Minimum" - | "Maximum"; +export type Statistic = "SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum"; export type Statistics = Array; export interface StatisticSet { SampleCount: number; @@ -1256,15 +1153,12 @@ export interface StatisticSet { Minimum: number; Maximum: number; } -export type StatusCode = - | "Complete" - | "InternalError" - | "PartialData" - | "Forbidden"; +export type StatusCode = "Complete" | "InternalError" | "PartialData" | "Forbidden"; export interface StopMetricStreamsInput { Names: Array; } -export interface StopMetricStreamsOutput {} +export interface StopMetricStreamsOutput { +} export type StorageResolution = number; export type StrictEntityValidation = boolean; @@ -1283,7 +1177,8 @@ export interface TagResourceInput { ResourceARN: string; Tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type TemplateName = string; @@ -1299,12 +1194,15 @@ export interface UntagResourceInput { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export type Values = Array; export declare namespace DeleteAlarms { export type Input = DeleteAlarmsInput; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteAnomalyDetector { @@ -1361,19 +1259,24 @@ export declare namespace DescribeAlarmContributors { export declare namespace DescribeAlarmHistory { export type Input = DescribeAlarmHistoryInput; export type Output = DescribeAlarmHistoryOutput; - export type Error = InvalidNextToken | CommonAwsError; + export type Error = + | InvalidNextToken + | CommonAwsError; } export declare namespace DescribeAlarms { export type Input = DescribeAlarmsInput; export type Output = DescribeAlarmsOutput; - export type Error = InvalidNextToken | CommonAwsError; + export type Error = + | InvalidNextToken + | CommonAwsError; } export declare namespace DescribeAlarmsForMetric { export type Input = DescribeAlarmsForMetricInput; export type Output = DescribeAlarmsForMetricOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAnomalyDetectors { @@ -1390,13 +1293,16 @@ export declare namespace DescribeAnomalyDetectors { export declare namespace DescribeInsightRules { export type Input = DescribeInsightRulesInput; export type Output = DescribeInsightRulesOutput; - export type Error = InvalidNextToken | CommonAwsError; + export type Error = + | InvalidNextToken + | CommonAwsError; } export declare namespace DisableAlarmActions { export type Input = DisableAlarmActionsInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableInsightRules { @@ -1411,7 +1317,8 @@ export declare namespace DisableInsightRules { export declare namespace EnableAlarmActions { export type Input = EnableAlarmActionsInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableInsightRules { @@ -1447,7 +1354,9 @@ export declare namespace GetInsightRuleReport { export declare namespace GetMetricData { export type Input = GetMetricDataInput; export type Output = GetMetricDataOutput; - export type Error = InvalidNextToken | CommonAwsError; + export type Error = + | InvalidNextToken + | CommonAwsError; } export declare namespace GetMetricStatistics { @@ -1476,7 +1385,8 @@ export declare namespace GetMetricStream { export declare namespace GetMetricWidgetImage { export type Input = GetMetricWidgetImageInput; export type Output = GetMetricWidgetImageOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListDashboards { @@ -1543,7 +1453,9 @@ export declare namespace PutAnomalyDetector { export declare namespace PutCompositeAlarm { export type Input = PutCompositeAlarmInput; export type Output = {}; - export type Error = LimitExceededFault | CommonAwsError; + export type Error = + | LimitExceededFault + | CommonAwsError; } export declare namespace PutDashboard { @@ -1578,7 +1490,9 @@ export declare namespace PutManagedInsightRules { export declare namespace PutMetricAlarm { export type Input = PutMetricAlarmInput; export type Output = {}; - export type Error = LimitExceededFault | CommonAwsError; + export type Error = + | LimitExceededFault + | CommonAwsError; } export declare namespace PutMetricData { @@ -1607,7 +1521,10 @@ export declare namespace PutMetricStream { export declare namespace SetAlarmState { export type Input = SetAlarmStateInput; export type Output = {}; - export type Error = InvalidFormatFault | ResourceNotFound | CommonAwsError; + export type Error = + | InvalidFormatFault + | ResourceNotFound + | CommonAwsError; } export declare namespace StartMetricStreams { @@ -1654,19 +1571,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type CloudWatchErrors = - | ConcurrentModificationException - | ConflictException - | DashboardInvalidInputError - | DashboardNotFoundError - | InternalServiceFault - | InvalidFormatFault - | InvalidNextToken - | InvalidParameterCombinationException - | InvalidParameterValueException - | LimitExceededException - | LimitExceededFault - | MissingRequiredParameterException - | ResourceNotFound - | ResourceNotFoundException - | CommonAwsError; +export type CloudWatchErrors = ConcurrentModificationException | ConflictException | DashboardInvalidInputError | DashboardNotFoundError | InternalServiceFault | InvalidFormatFault | InvalidNextToken | InvalidParameterCombinationException | InvalidParameterValueException | LimitExceededException | LimitExceededFault | MissingRequiredParameterException | ResourceNotFound | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/codeartifact/index.ts b/src/services/codeartifact/index.ts index 9f3c8a89..f3ff9667 100644 --- a/src/services/codeartifact/index.ts +++ b/src/services/codeartifact/index.ts @@ -5,23 +5,7 @@ import type { codeartifact as _codeartifactClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,65 +15,62 @@ const metadata = { sigV4ServiceName: "codeartifact", endpointPrefix: "codeartifact", operations: { - AssociateExternalConnection: "POST /v1/repository/external-connection", - CopyPackageVersions: "POST /v1/package/versions/copy", - CreateDomain: "POST /v1/domain", - CreatePackageGroup: "POST /v1/package-group", - CreateRepository: "POST /v1/repository", - DeleteDomain: "DELETE /v1/domain", - DeleteDomainPermissionsPolicy: "DELETE /v1/domain/permissions/policy", - DeletePackage: "DELETE /v1/package", - DeletePackageGroup: "DELETE /v1/package-group", - DeletePackageVersions: "POST /v1/package/versions/delete", - DeleteRepository: "DELETE /v1/repository", - DeleteRepositoryPermissionsPolicy: - "DELETE /v1/repository/permissions/policies", - DescribeDomain: "GET /v1/domain", - DescribePackage: "GET /v1/package", - DescribePackageGroup: "GET /v1/package-group", - DescribePackageVersion: "GET /v1/package/version", - DescribeRepository: "GET /v1/repository", - DisassociateExternalConnection: "DELETE /v1/repository/external-connection", - DisposePackageVersions: "POST /v1/package/versions/dispose", - GetAssociatedPackageGroup: "GET /v1/get-associated-package-group", - GetAuthorizationToken: "POST /v1/authorization-token", - GetDomainPermissionsPolicy: "GET /v1/domain/permissions/policy", - GetPackageVersionAsset: { + "AssociateExternalConnection": "POST /v1/repository/external-connection", + "CopyPackageVersions": "POST /v1/package/versions/copy", + "CreateDomain": "POST /v1/domain", + "CreatePackageGroup": "POST /v1/package-group", + "CreateRepository": "POST /v1/repository", + "DeleteDomain": "DELETE /v1/domain", + "DeleteDomainPermissionsPolicy": "DELETE /v1/domain/permissions/policy", + "DeletePackage": "DELETE /v1/package", + "DeletePackageGroup": "DELETE /v1/package-group", + "DeletePackageVersions": "POST /v1/package/versions/delete", + "DeleteRepository": "DELETE /v1/repository", + "DeleteRepositoryPermissionsPolicy": "DELETE /v1/repository/permissions/policies", + "DescribeDomain": "GET /v1/domain", + "DescribePackage": "GET /v1/package", + "DescribePackageGroup": "GET /v1/package-group", + "DescribePackageVersion": "GET /v1/package/version", + "DescribeRepository": "GET /v1/repository", + "DisassociateExternalConnection": "DELETE /v1/repository/external-connection", + "DisposePackageVersions": "POST /v1/package/versions/dispose", + "GetAssociatedPackageGroup": "GET /v1/get-associated-package-group", + "GetAuthorizationToken": "POST /v1/authorization-token", + "GetDomainPermissionsPolicy": "GET /v1/domain/permissions/policy", + "GetPackageVersionAsset": { http: "GET /v1/package/version/asset", traits: { - asset: "httpPayload", - assetName: "X-AssetName", - packageVersion: "X-PackageVersion", - packageVersionRevision: "X-PackageVersionRevision", + "asset": "httpPayload", + "assetName": "X-AssetName", + "packageVersion": "X-PackageVersion", + "packageVersionRevision": "X-PackageVersionRevision", }, }, - GetPackageVersionReadme: "GET /v1/package/version/readme", - GetRepositoryEndpoint: "GET /v1/repository/endpoint", - GetRepositoryPermissionsPolicy: "GET /v1/repository/permissions/policy", - ListAllowedRepositoriesForGroup: - "GET /v1/package-group-allowed-repositories", - ListAssociatedPackages: "GET /v1/list-associated-packages", - ListDomains: "POST /v1/domains", - ListPackageGroups: "POST /v1/package-groups", - ListPackages: "POST /v1/packages", - ListPackageVersionAssets: "POST /v1/package/version/assets", - ListPackageVersionDependencies: "POST /v1/package/version/dependencies", - ListPackageVersions: "POST /v1/package/versions", - ListRepositories: "POST /v1/repositories", - ListRepositoriesInDomain: "POST /v1/domain/repositories", - ListSubPackageGroups: "POST /v1/package-groups/sub-groups", - ListTagsForResource: "POST /v1/tags", - PublishPackageVersion: "POST /v1/package/version/publish", - PutDomainPermissionsPolicy: "PUT /v1/domain/permissions/policy", - PutPackageOriginConfiguration: "POST /v1/package", - PutRepositoryPermissionsPolicy: "PUT /v1/repository/permissions/policy", - TagResource: "POST /v1/tag", - UntagResource: "POST /v1/untag", - UpdatePackageGroup: "PUT /v1/package-group", - UpdatePackageGroupOriginConfiguration: - "PUT /v1/package-group-origin-configuration", - UpdatePackageVersionsStatus: "POST /v1/package/versions/update_status", - UpdateRepository: "PUT /v1/repository", + "GetPackageVersionReadme": "GET /v1/package/version/readme", + "GetRepositoryEndpoint": "GET /v1/repository/endpoint", + "GetRepositoryPermissionsPolicy": "GET /v1/repository/permissions/policy", + "ListAllowedRepositoriesForGroup": "GET /v1/package-group-allowed-repositories", + "ListAssociatedPackages": "GET /v1/list-associated-packages", + "ListDomains": "POST /v1/domains", + "ListPackageGroups": "POST /v1/package-groups", + "ListPackages": "POST /v1/packages", + "ListPackageVersionAssets": "POST /v1/package/version/assets", + "ListPackageVersionDependencies": "POST /v1/package/version/dependencies", + "ListPackageVersions": "POST /v1/package/versions", + "ListRepositories": "POST /v1/repositories", + "ListRepositoriesInDomain": "POST /v1/domain/repositories", + "ListSubPackageGroups": "POST /v1/package-groups/sub-groups", + "ListTagsForResource": "POST /v1/tags", + "PublishPackageVersion": "POST /v1/package/version/publish", + "PutDomainPermissionsPolicy": "PUT /v1/domain/permissions/policy", + "PutPackageOriginConfiguration": "POST /v1/package", + "PutRepositoryPermissionsPolicy": "PUT /v1/repository/permissions/policy", + "TagResource": "POST /v1/tag", + "UntagResource": "POST /v1/untag", + "UpdatePackageGroup": "PUT /v1/package-group", + "UpdatePackageGroupOriginConfiguration": "PUT /v1/package-group-origin-configuration", + "UpdatePackageVersionsStatus": "POST /v1/package/versions/update_status", + "UpdateRepository": "PUT /v1/repository", }, } as const satisfies ServiceMetadata; diff --git a/src/services/codeartifact/types.ts b/src/services/codeartifact/types.ts index 5f4a7c01..7f94df54 100644 --- a/src/services/codeartifact/types.ts +++ b/src/services/codeartifact/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class codeartifact extends AWSServiceClient { @@ -40,557 +8,289 @@ export declare class codeartifact extends AWSServiceClient { input: AssociateExternalConnectionRequest, ): Effect.Effect< AssociateExternalConnectionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; copyPackageVersions( input: CopyPackageVersionsRequest, ): Effect.Effect< CopyPackageVersionsResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDomain( input: CreateDomainRequest, ): Effect.Effect< CreateDomainResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPackageGroup( input: CreatePackageGroupRequest, ): Effect.Effect< CreatePackageGroupResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRepository( input: CreateRepositoryRequest, ): Effect.Effect< CreateRepositoryResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDomain( input: DeleteDomainRequest, ): Effect.Effect< DeleteDomainResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteDomainPermissionsPolicy( input: DeleteDomainPermissionsPolicyRequest, ): Effect.Effect< DeleteDomainPermissionsPolicyResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePackage( input: DeletePackageRequest, ): Effect.Effect< DeletePackageResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePackageGroup( input: DeletePackageGroupRequest, ): Effect.Effect< DeletePackageGroupResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deletePackageVersions( input: DeletePackageVersionsRequest, ): Effect.Effect< DeletePackageVersionsResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRepository( input: DeleteRepositoryRequest, ): Effect.Effect< DeleteRepositoryResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRepositoryPermissionsPolicy( input: DeleteRepositoryPermissionsPolicyRequest, ): Effect.Effect< DeleteRepositoryPermissionsPolicyResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeDomain( input: DescribeDomainRequest, ): Effect.Effect< DescribeDomainResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePackage( input: DescribePackageRequest, ): Effect.Effect< DescribePackageResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePackageGroup( input: DescribePackageGroupRequest, ): Effect.Effect< DescribePackageGroupResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePackageVersion( input: DescribePackageVersionRequest, ): Effect.Effect< DescribePackageVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRepository( input: DescribeRepositoryRequest, ): Effect.Effect< DescribeRepositoryResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateExternalConnection( input: DisassociateExternalConnectionRequest, ): Effect.Effect< DisassociateExternalConnectionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; disposePackageVersions( input: DisposePackageVersionsRequest, ): Effect.Effect< DisposePackageVersionsResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAssociatedPackageGroup( input: GetAssociatedPackageGroupRequest, ): Effect.Effect< GetAssociatedPackageGroupResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAuthorizationToken( input: GetAuthorizationTokenRequest, ): Effect.Effect< GetAuthorizationTokenResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDomainPermissionsPolicy( input: GetDomainPermissionsPolicyRequest, ): Effect.Effect< GetDomainPermissionsPolicyResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPackageVersionAsset( input: GetPackageVersionAssetRequest, ): Effect.Effect< GetPackageVersionAssetResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPackageVersionReadme( input: GetPackageVersionReadmeRequest, ): Effect.Effect< GetPackageVersionReadmeResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRepositoryEndpoint( input: GetRepositoryEndpointRequest, ): Effect.Effect< GetRepositoryEndpointResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRepositoryPermissionsPolicy( input: GetRepositoryPermissionsPolicyRequest, ): Effect.Effect< GetRepositoryPermissionsPolicyResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAllowedRepositoriesForGroup( input: ListAllowedRepositoriesForGroupRequest, ): Effect.Effect< ListAllowedRepositoriesForGroupResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listAssociatedPackages( input: ListAssociatedPackagesRequest, ): Effect.Effect< ListAssociatedPackagesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDomains( input: ListDomainsRequest, ): Effect.Effect< ListDomainsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPackageGroups( input: ListPackageGroupsRequest, ): Effect.Effect< ListPackageGroupsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPackages( input: ListPackagesRequest, ): Effect.Effect< ListPackagesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPackageVersionAssets( input: ListPackageVersionAssetsRequest, ): Effect.Effect< ListPackageVersionAssetsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPackageVersionDependencies( input: ListPackageVersionDependenciesRequest, ): Effect.Effect< ListPackageVersionDependenciesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPackageVersions( input: ListPackageVersionsRequest, ): Effect.Effect< ListPackageVersionsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRepositories( input: ListRepositoriesRequest, ): Effect.Effect< ListRepositoriesResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRepositoriesInDomain( input: ListRepositoriesInDomainRequest, ): Effect.Effect< ListRepositoriesInDomainResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSubPackageGroups( input: ListSubPackageGroupsRequest, ): Effect.Effect< ListSubPackageGroupsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResult, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; publishPackageVersion( input: PublishPackageVersionRequest, ): Effect.Effect< PublishPackageVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putDomainPermissionsPolicy( input: PutDomainPermissionsPolicyRequest, ): Effect.Effect< PutDomainPermissionsPolicyResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putPackageOriginConfiguration( input: PutPackageOriginConfigurationRequest, ): Effect.Effect< PutPackageOriginConfigurationResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putRepositoryPermissionsPolicy( input: PutRepositoryPermissionsPolicyRequest, ): Effect.Effect< PutRepositoryPermissionsPolicyResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResult, - | AccessDeniedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResult, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePackageGroup( input: UpdatePackageGroupRequest, ): Effect.Effect< UpdatePackageGroupResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updatePackageGroupOriginConfiguration( input: UpdatePackageGroupOriginConfigurationRequest, ): Effect.Effect< UpdatePackageGroupOriginConfigurationResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updatePackageVersionsStatus( input: UpdatePackageVersionsStatusRequest, ): Effect.Effect< UpdatePackageVersionsStatusResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRepository( input: UpdateRepositoryRequest, ): Effect.Effect< UpdateRepositoryResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1133,10 +833,7 @@ export type Long = number; export type LongOptional = number; -export type OriginRestrictions = Record< - PackageGroupOriginRestrictionType, - PackageGroupOriginRestrictionMode ->; +export type OriginRestrictions = Record; export interface PackageDependency { namespace?: string; package?: string; @@ -1150,29 +847,14 @@ export interface PackageDescription { name?: string; originConfiguration?: PackageOriginConfiguration; } -export type PackageFormat = - | "npm" - | "pypi" - | "maven" - | "nuget" - | "generic" - | "ruby" - | "swift" - | "cargo"; +export type PackageFormat = "npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"; export interface PackageGroupAllowedRepository { repositoryName?: string; originRestrictionType?: PackageGroupOriginRestrictionType; } -export type PackageGroupAllowedRepositoryList = - Array; -export type PackageGroupAllowedRepositoryUpdate = Record< - PackageGroupAllowedRepositoryUpdateType, - Array ->; -export type PackageGroupAllowedRepositoryUpdates = Record< - PackageGroupOriginRestrictionType, - { [key in PackageGroupAllowedRepositoryUpdateType]?: string } ->; +export type PackageGroupAllowedRepositoryList = Array; +export type PackageGroupAllowedRepositoryUpdate = Record>; +export type PackageGroupAllowedRepositoryUpdates = Record; export type PackageGroupAllowedRepositoryUpdateType = "ADDED" | "REMOVED"; export type PackageGroupAssociationType = "STRONG" | "WEAK"; export type PackageGroupContactInfo = string; @@ -1197,19 +879,9 @@ export interface PackageGroupOriginRestriction { inheritedFrom?: PackageGroupReference; repositoriesCount?: number; } -export type PackageGroupOriginRestrictionMode = - | "ALLOW" - | "ALLOW_SPECIFIC_REPOSITORIES" - | "BLOCK" - | "INHERIT"; -export type PackageGroupOriginRestrictions = Record< - PackageGroupOriginRestrictionType, - PackageGroupOriginRestriction ->; -export type PackageGroupOriginRestrictionType = - | "EXTERNAL_UPSTREAM" - | "INTERNAL_UPSTREAM" - | "PUBLISH"; +export type PackageGroupOriginRestrictionMode = "ALLOW" | "ALLOW_SPECIFIC_REPOSITORIES" | "BLOCK" | "INHERIT"; +export type PackageGroupOriginRestrictions = Record; +export type PackageGroupOriginRestrictionType = "EXTERNAL_UPSTREAM" | "INTERNAL_UPSTREAM" | "PUBLISH"; export type PackageGroupPattern = string; export type PackageGroupPatternPrefix = string; @@ -1269,13 +941,7 @@ export interface PackageVersionError { errorCode?: PackageVersionErrorCode; errorMessage?: string; } -export type PackageVersionErrorCode = - | "ALREADY_EXISTS" - | "MISMATCHED_REVISION" - | "MISMATCHED_STATUS" - | "NOT_ALLOWED" - | "NOT_FOUND" - | "SKIPPED"; +export type PackageVersionErrorCode = "ALREADY_EXISTS" | "MISMATCHED_REVISION" | "MISMATCHED_STATUS" | "NOT_ALLOWED" | "NOT_FOUND" | "SKIPPED"; export type PackageVersionErrorMap = Record; export type PackageVersionList = Array; export interface PackageVersionOrigin { @@ -1287,13 +953,7 @@ export type PackageVersionRevision = string; export type PackageVersionRevisionMap = Record; export type PackageVersionSortType = "PUBLISHED_TIME"; -export type PackageVersionStatus = - | "Published" - | "Unfinished" - | "Unlisted" - | "Archived" - | "Disposed" - | "Deleted"; +export type PackageVersionStatus = "Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted"; export interface PackageVersionSummary { version: string; revision?: string; @@ -1376,8 +1036,7 @@ export interface RepositoryExternalConnectionInfo { packageFormat?: PackageFormat; status?: ExternalConnectionStatus; } -export type RepositoryExternalConnectionInfoList = - Array; +export type RepositoryExternalConnectionInfoList = Array; export type RepositoryName = string; export type RepositoryNameList = Array; @@ -1403,12 +1062,7 @@ export interface ResourcePolicy { revision?: string; document?: string; } -export type ResourceType = - | "domain" - | "repository" - | "package" - | "package-version" - | "asset"; +export type ResourceType = "domain" | "repository" | "package" | "package-version" | "asset"; export type RetryAfterSeconds = number; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( @@ -1428,10 +1082,7 @@ export interface SuccessfulPackageVersionInfo { revision?: string; status?: PackageVersionStatus; } -export type SuccessfulPackageVersionInfoMap = Record< - string, - SuccessfulPackageVersionInfo ->; +export type SuccessfulPackageVersionInfoMap = Record; export interface Tag { key: string; value: string; @@ -1444,7 +1095,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResult {} +export interface TagResourceResult { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1459,7 +1111,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResult {} +export interface UntagResourceResult { +} export interface UpdatePackageGroupOriginConfigurationRequest { domain: string; domainOwner?: string; @@ -1470,9 +1123,7 @@ export interface UpdatePackageGroupOriginConfigurationRequest { } export interface UpdatePackageGroupOriginConfigurationResult { packageGroup?: PackageGroupDescription; - allowedRepositoryUpdates?: { - [key in PackageGroupOriginRestrictionType]?: string; - }; + allowedRepositoryUpdates?: { [key in PackageGroupOriginRestrictionType]?: string }; } export interface UpdatePackageGroupRequest { domain: string; @@ -1524,12 +1175,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly message: string; readonly reason?: ValidationExceptionReason; }> {} -export type ValidationExceptionReason = - | "CANNOT_PARSE" - | "ENCRYPTION_KEY_ERROR" - | "FIELD_VALIDATION_FAILED" - | "UNKNOWN_OPERATION" - | "OTHER"; +export type ValidationExceptionReason = "CANNOT_PARSE" | "ENCRYPTION_KEY_ERROR" | "FIELD_VALIDATION_FAILED" | "UNKNOWN_OPERATION" | "OTHER"; export declare namespace AssociateExternalConnection { export type Input = AssociateExternalConnectionRequest; export type Output = AssociateExternalConnectionResult; @@ -2134,12 +1780,5 @@ export declare namespace UpdateRepository { | CommonAwsError; } -export type codeartifactErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type codeartifactErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/codebuild/index.ts b/src/services/codebuild/index.ts index 93c7e34d..9e40a775 100644 --- a/src/services/codebuild/index.ts +++ b/src/services/codebuild/index.ts @@ -5,26 +5,7 @@ import type { CodeBuild as _CodeBuildClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/codebuild/types.ts b/src/services/codebuild/types.ts index c7dd07a7..6fdc9b49 100644 --- a/src/services/codebuild/types.ts +++ b/src/services/codebuild/types.ts @@ -61,38 +61,25 @@ export declare class CodeBuild extends AWSServiceClient { input: CreateFleetInput, ): Effect.Effect< CreateFleetOutput, - | AccountLimitExceededException - | InvalidInputException - | ResourceAlreadyExistsException - | CommonAwsError + AccountLimitExceededException | InvalidInputException | ResourceAlreadyExistsException | CommonAwsError >; createProject( input: CreateProjectInput, ): Effect.Effect< CreateProjectOutput, - | AccountLimitExceededException - | InvalidInputException - | ResourceAlreadyExistsException - | CommonAwsError + AccountLimitExceededException | InvalidInputException | ResourceAlreadyExistsException | CommonAwsError >; createReportGroup( input: CreateReportGroupInput, ): Effect.Effect< CreateReportGroupOutput, - | AccountLimitExceededException - | InvalidInputException - | ResourceAlreadyExistsException - | CommonAwsError + AccountLimitExceededException | InvalidInputException | ResourceAlreadyExistsException | CommonAwsError >; createWebhook( input: CreateWebhookInput, ): Effect.Effect< CreateWebhookOutput, - | InvalidInputException - | OAuthProviderException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | OAuthProviderException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; deleteBuildBatch( input: DeleteBuildBatchInput, @@ -102,13 +89,22 @@ export declare class CodeBuild extends AWSServiceClient { >; deleteFleet( input: DeleteFleetInput, - ): Effect.Effect; + ): Effect.Effect< + DeleteFleetOutput, + InvalidInputException | CommonAwsError + >; deleteProject( input: DeleteProjectInput, - ): Effect.Effect; + ): Effect.Effect< + DeleteProjectOutput, + InvalidInputException | CommonAwsError + >; deleteReport( input: DeleteReportInput, - ): Effect.Effect; + ): Effect.Effect< + DeleteReportOutput, + InvalidInputException | CommonAwsError + >; deleteReportGroup( input: DeleteReportGroupInput, ): Effect.Effect< @@ -131,10 +127,7 @@ export declare class CodeBuild extends AWSServiceClient { input: DeleteWebhookInput, ): Effect.Effect< DeleteWebhookOutput, - | InvalidInputException - | OAuthProviderException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | OAuthProviderException | ResourceNotFoundException | CommonAwsError >; describeCodeCoverages( input: DescribeCodeCoveragesInput, @@ -164,10 +157,7 @@ export declare class CodeBuild extends AWSServiceClient { input: ImportSourceCredentialsInput, ): Effect.Effect< ImportSourceCredentialsOutput, - | AccountLimitExceededException - | InvalidInputException - | ResourceAlreadyExistsException - | CommonAwsError + AccountLimitExceededException | InvalidInputException | ResourceAlreadyExistsException | CommonAwsError >; invalidateProjectCache( input: InvalidateProjectCacheInput, @@ -189,7 +179,10 @@ export declare class CodeBuild extends AWSServiceClient { >; listBuilds( input: ListBuildsInput, - ): Effect.Effect; + ): Effect.Effect< + ListBuildsOutput, + InvalidInputException | CommonAwsError + >; listBuildsForProject( input: ListBuildsForProjectInput, ): Effect.Effect< @@ -204,13 +197,22 @@ export declare class CodeBuild extends AWSServiceClient { >; listCuratedEnvironmentImages( input: ListCuratedEnvironmentImagesInput, - ): Effect.Effect; + ): Effect.Effect< + ListCuratedEnvironmentImagesOutput, + CommonAwsError + >; listFleets( input: ListFleetsInput, - ): Effect.Effect; + ): Effect.Effect< + ListFleetsOutput, + InvalidInputException | CommonAwsError + >; listProjects( input: ListProjectsInput, - ): Effect.Effect; + ): Effect.Effect< + ListProjectsOutput, + InvalidInputException | CommonAwsError + >; listReportGroups( input: ListReportGroupsInput, ): Effect.Effect< @@ -219,7 +221,10 @@ export declare class CodeBuild extends AWSServiceClient { >; listReports( input: ListReportsInput, - ): Effect.Effect; + ): Effect.Effect< + ListReportsOutput, + InvalidInputException | CommonAwsError + >; listReportsForReportGroup( input: ListReportsForReportGroupInput, ): Effect.Effect< @@ -228,7 +233,10 @@ export declare class CodeBuild extends AWSServiceClient { >; listSandboxes( input: ListSandboxesInput, - ): Effect.Effect; + ): Effect.Effect< + ListSandboxesOutput, + InvalidInputException | CommonAwsError + >; listSandboxesForProject( input: ListSandboxesForProjectInput, ): Effect.Effect< @@ -263,10 +271,7 @@ export declare class CodeBuild extends AWSServiceClient { input: RetryBuildInput, ): Effect.Effect< RetryBuildOutput, - | AccountLimitExceededException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + AccountLimitExceededException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; retryBuildBatch( input: RetryBuildBatchInput, @@ -278,10 +283,7 @@ export declare class CodeBuild extends AWSServiceClient { input: StartBuildInput, ): Effect.Effect< StartBuildOutput, - | AccountLimitExceededException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + AccountLimitExceededException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; startBuildBatch( input: StartBuildBatchInput, @@ -299,10 +301,7 @@ export declare class CodeBuild extends AWSServiceClient { input: StartSandboxInput, ): Effect.Effect< StartSandboxOutput, - | AccountSuspendedException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + AccountSuspendedException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; startSandboxConnection( input: StartSandboxConnectionInput, @@ -332,10 +331,7 @@ export declare class CodeBuild extends AWSServiceClient { input: UpdateFleetInput, ): Effect.Effect< UpdateFleetOutput, - | AccountLimitExceededException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + AccountLimitExceededException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; updateProject( input: UpdateProjectInput, @@ -359,10 +355,7 @@ export declare class CodeBuild extends AWSServiceClient { input: UpdateWebhookInput, ): Effect.Effect< UpdateWebhookOutput, - | InvalidInputException - | OAuthProviderException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | OAuthProviderException | ResourceNotFoundException | CommonAwsError >; } @@ -381,12 +374,7 @@ export declare class AccountSuspendedException extends EffectData.TaggedError( export type ArtifactNamespace = "NONE" | "BUILD_ID"; export type ArtifactPackaging = "NONE" | "ZIP"; export type ArtifactsType = "CODEPIPELINE" | "S3" | "NO_ARTIFACTS"; -export type AuthType = - | "OAUTH" - | "BASIC_AUTH" - | "PERSONAL_ACCESS_TOKEN" - | "CODECONNECTIONS" - | "SECRETS_MANAGER"; +export type AuthType = "OAUTH" | "BASIC_AUTH" | "PERSONAL_ACCESS_TOKEN" | "CODECONNECTIONS" | "SECRETS_MANAGER"; export interface AutoRetryConfig { autoRetryLimit?: number; autoRetryNumber?: number; @@ -457,9 +445,7 @@ export interface BatchGetSandboxesOutput { sandboxes?: Array; sandboxesNotFound?: Array; } -export type BatchReportModeType = - | "REPORT_INDIVIDUAL_BUILDS" - | "REPORT_AGGREGATED_BATCH"; +export type BatchReportModeType = "REPORT_INDIVIDUAL_BUILDS" | "REPORT_AGGREGATED_BATCH"; export interface BatchRestrictions { maximumBuildsAllowed?: number; computeTypesAllowed?: Array; @@ -560,14 +546,7 @@ export interface BuildBatchPhase { contexts?: Array; } export type BuildBatchPhases = Array; -export type BuildBatchPhaseType = - | "SUBMITTED" - | "DOWNLOAD_BATCHSPEC" - | "IN_PROGRESS" - | "COMBINE_ARTIFACTS" - | "SUCCEEDED" - | "FAILED" - | "STOPPED"; +export type BuildBatchPhaseType = "SUBMITTED" | "DOWNLOAD_BATCHSPEC" | "IN_PROGRESS" | "COMBINE_ARTIFACTS" | "SUCCEEDED" | "FAILED" | "STOPPED"; export interface BuildGroup { identifier?: string; dependsOn?: Array; @@ -590,18 +569,7 @@ export interface BuildPhase { contexts?: Array; } export type BuildPhases = Array; -export type BuildPhaseType = - | "SUBMITTED" - | "QUEUED" - | "PROVISIONING" - | "DOWNLOAD_SOURCE" - | "INSTALL" - | "PRE_BUILD" - | "BUILD" - | "POST_BUILD" - | "UPLOAD_ARTIFACTS" - | "FINALIZING" - | "COMPLETED"; +export type BuildPhaseType = "SUBMITTED" | "QUEUED" | "PROVISIONING" | "DOWNLOAD_SOURCE" | "INSTALL" | "PRE_BUILD" | "BUILD" | "POST_BUILD" | "UPLOAD_ARTIFACTS" | "FINALIZING" | "COMPLETED"; export type BuildReportArns = Array; export type Builds = Array; export type BuildsNotDeleted = Array; @@ -619,10 +587,7 @@ export interface BuildSummary { } export type BuildTimeOut = number; -export type CacheMode = - | "LOCAL_DOCKER_LAYER_CACHE" - | "LOCAL_SOURCE_CACHE" - | "LOCAL_CUSTOM_CACHE"; +export type CacheMode = "LOCAL_DOCKER_LAYER_CACHE" | "LOCAL_SOURCE_CACHE" | "LOCAL_CUSTOM_CACHE"; export type CacheType = "NO_CACHE" | "S3" | "LOCAL"; export interface CloudWatchLogsConfig { status: LogsConfigStatusType; @@ -675,19 +640,7 @@ export interface ComputeConfiguration { machineType?: MachineType; instanceType?: string; } -export type ComputeType = - | "BUILD_GENERAL1_SMALL" - | "BUILD_GENERAL1_MEDIUM" - | "BUILD_GENERAL1_LARGE" - | "BUILD_GENERAL1_XLARGE" - | "BUILD_GENERAL1_2XLARGE" - | "BUILD_LAMBDA_1GB" - | "BUILD_LAMBDA_2GB" - | "BUILD_LAMBDA_4GB" - | "BUILD_LAMBDA_8GB" - | "BUILD_LAMBDA_10GB" - | "ATTRIBUTE_BASED_COMPUTE" - | "CUSTOM_INSTANCE_TYPE"; +export type ComputeType = "BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE" | "BUILD_GENERAL1_XLARGE" | "BUILD_GENERAL1_2XLARGE" | "BUILD_LAMBDA_1GB" | "BUILD_LAMBDA_2GB" | "BUILD_LAMBDA_4GB" | "BUILD_LAMBDA_8GB" | "BUILD_LAMBDA_10GB" | "ATTRIBUTE_BASED_COMPUTE" | "CUSTOM_INSTANCE_TYPE"; export type ComputeTypesAllowed = Array; export interface CreateFleetInput { name: string; @@ -770,24 +723,29 @@ export interface DeleteBuildBatchOutput { export interface DeleteFleetInput { arn: string; } -export interface DeleteFleetOutput {} +export interface DeleteFleetOutput { +} export interface DeleteProjectInput { name: string; } -export interface DeleteProjectOutput {} +export interface DeleteProjectOutput { +} export interface DeleteReportGroupInput { arn: string; deleteReports?: boolean; } -export interface DeleteReportGroupOutput {} +export interface DeleteReportGroupOutput { +} export interface DeleteReportInput { arn: string; } -export interface DeleteReportOutput {} +export interface DeleteReportOutput { +} export interface DeleteResourcePolicyInput { resourceArn: string; } -export interface DeleteResourcePolicyOutput {} +export interface DeleteResourcePolicyOutput { +} export interface DeleteSourceCredentialsInput { arn: string; } @@ -797,7 +755,8 @@ export interface DeleteSourceCredentialsOutput { export interface DeleteWebhookInput { projectName: string; } -export interface DeleteWebhookOutput {} +export interface DeleteWebhookOutput { +} export interface DescribeCodeCoveragesInput { reportArn: string; nextToken?: string; @@ -846,29 +805,14 @@ export interface EnvironmentPlatform { languages?: Array; } export type EnvironmentPlatforms = Array; -export type EnvironmentType = - | "WINDOWS_CONTAINER" - | "LINUX_CONTAINER" - | "LINUX_GPU_CONTAINER" - | "ARM_CONTAINER" - | "WINDOWS_SERVER_2019_CONTAINER" - | "WINDOWS_SERVER_2022_CONTAINER" - | "LINUX_LAMBDA_CONTAINER" - | "ARM_LAMBDA_CONTAINER" - | "LINUX_EC2" - | "ARM_EC2" - | "WINDOWS_EC2" - | "MAC_ARM"; +export type EnvironmentType = "WINDOWS_CONTAINER" | "LINUX_CONTAINER" | "LINUX_GPU_CONTAINER" | "ARM_CONTAINER" | "WINDOWS_SERVER_2019_CONTAINER" | "WINDOWS_SERVER_2022_CONTAINER" | "LINUX_LAMBDA_CONTAINER" | "ARM_LAMBDA_CONTAINER" | "LINUX_EC2" | "ARM_EC2" | "WINDOWS_EC2" | "MAC_ARM"; export interface EnvironmentVariable { name: string; value: string; type?: EnvironmentVariableType; } export type EnvironmentVariables = Array; -export type EnvironmentVariableType = - | "PLAINTEXT" - | "PARAMETER_STORE" - | "SECRETS_MANAGER"; +export type EnvironmentVariableType = "PLAINTEXT" | "PARAMETER_STORE" | "SECRETS_MANAGER"; export interface ExportedEnvironmentVariable { name?: string; value?: string; @@ -899,12 +843,7 @@ export interface Fleet { export type FleetArns = Array; export type FleetCapacity = number; -export type FleetContextCode = - | "CREATE_FAILED" - | "UPDATE_FAILED" - | "ACTION_REQUIRED" - | "PENDING_DELETION" - | "INSUFFICIENT_CAPACITY"; +export type FleetContextCode = "CREATE_FAILED" | "UPDATE_FAILED" | "ACTION_REQUIRED" | "PENDING_DELETION" | "INSUFFICIENT_CAPACITY"; export type FleetName = string; export type FleetNames = Array; @@ -929,15 +868,7 @@ export interface FleetStatus { context?: FleetContextCode; message?: string; } -export type FleetStatusCode = - | "CREATING" - | "UPDATING" - | "ROTATING" - | "PENDING_DELETION" - | "DELETING" - | "CREATE_FAILED" - | "UPDATE_ROLLBACK_FAILED" - | "ACTIVE"; +export type FleetStatusCode = "CREATING" | "UPDATING" | "ROTATING" | "PENDING_DELETION" | "DELETING" | "CREATE_FAILED" | "UPDATE_ROLLBACK_FAILED" | "ACTIVE"; export interface GetReportGroupTrendInput { reportGroupArn: string; numOfReports?: number; @@ -974,7 +905,8 @@ export interface ImportSourceCredentialsOutput { export interface InvalidateProjectCacheInput { projectName: string; } -export interface InvalidateProjectCacheOutput {} +export interface InvalidateProjectCacheOutput { +} export declare class InvalidInputException extends EffectData.TaggedError( "InvalidInputException", )<{ @@ -982,17 +914,7 @@ export declare class InvalidInputException extends EffectData.TaggedError( }> {} export type KeyInput = string; -export type LanguageType = - | "JAVA" - | "PYTHON" - | "NODE_JS" - | "RUBY" - | "GOLANG" - | "DOCKER" - | "ANDROID" - | "DOTNET" - | "BASE" - | "PHP"; +export type LanguageType = "JAVA" | "PYTHON" | "NODE_JS" | "RUBY" | "GOLANG" | "DOCKER" | "ANDROID" | "DOTNET" | "BASE" | "PHP"; export interface ListBuildBatchesForProjectInput { projectName?: string; filter?: BuildBatchFilter; @@ -1041,7 +963,8 @@ export interface ListCommandExecutionsForSandboxOutput { commandExecutions?: Array; nextToken?: string; } -export interface ListCuratedEnvironmentImagesInput {} +export interface ListCuratedEnvironmentImagesInput { +} export interface ListCuratedEnvironmentImagesOutput { platforms?: Array; } @@ -1134,7 +1057,8 @@ export interface ListSharedReportGroupsOutput { nextToken?: string; reportGroups?: Array; } -export interface ListSourceCredentialsInput {} +export interface ListSourceCredentialsInput { +} export interface ListSourceCredentialsOutput { sourceCredentialsInfos?: Array; } @@ -1176,11 +1100,7 @@ export interface PhaseContext { message?: string; } export type PhaseContexts = Array; -export type PlatformType = - | "DEBIAN" - | "AMAZON_LINUX" - | "UBUNTU" - | "WINDOWS_SERVER"; +export type PlatformType = "DEBIAN" | "AMAZON_LINUX" | "UBUNTU" | "WINDOWS_SERVER"; export interface Project { name?: string; arn?: string; @@ -1298,26 +1218,9 @@ export interface ProxyConfiguration { defaultBehavior?: FleetProxyRuleBehavior; orderedProxyRules?: Array; } -export type PullRequestBuildApproverRole = - | "GITHUB_READ" - | "GITHUB_TRIAGE" - | "GITHUB_WRITE" - | "GITHUB_MAINTAIN" - | "GITHUB_ADMIN" - | "GITLAB_GUEST" - | "GITLAB_PLANNER" - | "GITLAB_REPORTER" - | "GITLAB_DEVELOPER" - | "GITLAB_MAINTAINER" - | "GITLAB_OWNER" - | "BITBUCKET_READ" - | "BITBUCKET_WRITE" - | "BITBUCKET_ADMIN"; +export type PullRequestBuildApproverRole = "GITHUB_READ" | "GITHUB_TRIAGE" | "GITHUB_WRITE" | "GITHUB_MAINTAIN" | "GITHUB_ADMIN" | "GITLAB_GUEST" | "GITLAB_PLANNER" | "GITLAB_REPORTER" | "GITLAB_DEVELOPER" | "GITLAB_MAINTAINER" | "GITLAB_OWNER" | "BITBUCKET_READ" | "BITBUCKET_WRITE" | "BITBUCKET_ADMIN"; export type PullRequestBuildApproverRoles = Array; -export type PullRequestBuildCommentApproval = - | "DISABLED" - | "ALL_PULL_REQUESTS" - | "FORK_PULL_REQUESTS"; +export type PullRequestBuildCommentApproval = "DISABLED" | "ALL_PULL_REQUESTS" | "FORK_PULL_REQUESTS"; export interface PullRequestBuildPolicy { requiresCommentApproval: PullRequestBuildCommentApproval; approverRoles?: Array; @@ -1348,9 +1251,7 @@ export interface Report { codeCoverageSummary?: CodeCoverageReportSummary; } export type ReportArns = Array; -export type ReportCodeCoverageSortByType = - | "LINE_COVERAGE_PERCENTAGE" - | "FILE_PATH"; +export type ReportCodeCoverageSortByType = "LINE_COVERAGE_PERCENTAGE" | "FILE_PATH"; export interface ReportExportConfig { exportConfigType?: ReportExportConfigType; s3Destination?: S3ReportExportConfig; @@ -1373,21 +1274,9 @@ export type ReportGroupArns = Array; export type ReportGroupName = string; export type ReportGroups = Array; -export type ReportGroupSortByType = - | "NAME" - | "CREATED_TIME" - | "LAST_MODIFIED_TIME"; +export type ReportGroupSortByType = "NAME" | "CREATED_TIME" | "LAST_MODIFIED_TIME"; export type ReportGroupStatusType = "ACTIVE" | "DELETING"; -export type ReportGroupTrendFieldType = - | "PASS_RATE" - | "DURATION" - | "TOTAL" - | "LINE_COVERAGE" - | "LINES_COVERED" - | "LINES_MISSED" - | "BRANCH_COVERAGE" - | "BRANCHES_COVERED" - | "BRANCHES_MISSED"; +export type ReportGroupTrendFieldType = "PASS_RATE" | "DURATION" | "TOTAL" | "LINE_COVERAGE" | "LINES_COVERED" | "LINES_MISSED" | "BRANCH_COVERAGE" | "BRANCHES_COVERED" | "BRANCHES_MISSED"; export type ReportGroupTrendRawDataList = Array; export interface ReportGroupTrendStats { average?: string; @@ -1397,12 +1286,7 @@ export interface ReportGroupTrendStats { export type ReportPackagingType = "ZIP" | "NONE"; export type Reports = Array; export type ReportStatusCounts = Record; -export type ReportStatusType = - | "GENERATING" - | "SUCCEEDED" - | "FAILED" - | "INCOMPLETE" - | "DELETING"; +export type ReportStatusType = "GENERATING" | "SUCCEEDED" | "FAILED" | "INCOMPLETE" | "DELETING"; export type ReportType = "TEST" | "CODE_COVERAGE"; export interface ReportWithRawData { reportArn?: string; @@ -1519,12 +1403,7 @@ export type SensitiveNonEmptyString = string; export type SensitiveString = string; -export type ServerType = - | "GITHUB" - | "BITBUCKET" - | "GITHUB_ENTERPRISE" - | "GITLAB" - | "GITLAB_SELF_MANAGED"; +export type ServerType = "GITHUB" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "GITLAB" | "GITLAB_SELF_MANAGED"; export type SharedResourceSortByType = "ARN" | "MODIFIED_TIME"; export type SortOrderType = "ASCENDING" | "DESCENDING"; export interface SourceAuth { @@ -1539,16 +1418,7 @@ export interface SourceCredentialsInfo { resource?: string; } export type SourceCredentialsInfos = Array; -export type SourceType = - | "CODECOMMIT" - | "CODEPIPELINE" - | "GITHUB" - | "GITLAB" - | "GITLAB_SELF_MANAGED" - | "S3" - | "BITBUCKET" - | "GITHUB_ENTERPRISE" - | "NO_SOURCE"; +export type SourceType = "CODECOMMIT" | "CODEPIPELINE" | "GITHUB" | "GITLAB" | "GITLAB_SELF_MANAGED" | "S3" | "BITBUCKET" | "GITHUB_ENTERPRISE" | "NO_SOURCE"; export interface SSMSession { sessionId?: string; tokenValue?: string; @@ -1649,13 +1519,7 @@ export interface StartSandboxInput { export interface StartSandboxOutput { sandbox?: Sandbox; } -export type StatusType = - | "SUCCEEDED" - | "FAILED" - | "FAULT" - | "TIMED_OUT" - | "IN_PROGRESS" - | "STOPPED"; +export type StatusType = "SUCCEEDED" | "FAILED" | "FAULT" | "TIMED_OUT" | "IN_PROGRESS" | "STOPPED"; export interface StopBuildBatchInput { id: string; } @@ -1686,8 +1550,7 @@ export interface TargetTrackingScalingConfiguration { metricType?: FleetScalingMetricType; targetValue?: number; } -export type TargetTrackingScalingConfigurations = - Array; +export type TargetTrackingScalingConfigurations = Array; export interface TestCase { reportArn?: string; testRawDataPath?: string; @@ -1807,36 +1670,15 @@ export interface Webhook { statusMessage?: string; pullRequestBuildPolicy?: PullRequestBuildPolicy; } -export type WebhookBuildType = - | "BUILD" - | "BUILD_BATCH" - | "RUNNER_BUILDKITE_BUILD"; +export type WebhookBuildType = "BUILD" | "BUILD_BATCH" | "RUNNER_BUILDKITE_BUILD"; export interface WebhookFilter { type: WebhookFilterType; pattern: string; excludeMatchedPattern?: boolean; } -export type WebhookFilterType = - | "EVENT" - | "BASE_REF" - | "HEAD_REF" - | "ACTOR_ACCOUNT_ID" - | "FILE_PATH" - | "COMMIT_MESSAGE" - | "WORKFLOW_NAME" - | "TAG_NAME" - | "RELEASE_NAME" - | "REPOSITORY_NAME" - | "ORGANIZATION_NAME"; -export type WebhookScopeType = - | "GITHUB_ORGANIZATION" - | "GITHUB_GLOBAL" - | "GITLAB_GROUP"; -export type WebhookStatus = - | "CREATING" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETING"; +export type WebhookFilterType = "EVENT" | "BASE_REF" | "HEAD_REF" | "ACTOR_ACCOUNT_ID" | "FILE_PATH" | "COMMIT_MESSAGE" | "WORKFLOW_NAME" | "TAG_NAME" | "RELEASE_NAME" | "REPOSITORY_NAME" | "ORGANIZATION_NAME"; +export type WebhookScopeType = "GITHUB_ORGANIZATION" | "GITHUB_GLOBAL" | "GITLAB_GROUP"; +export type WebhookStatus = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING"; export type WrapperBoolean = boolean; export type WrapperDouble = number; @@ -1848,55 +1690,73 @@ export type WrapperLong = number; export declare namespace BatchDeleteBuilds { export type Input = BatchDeleteBuildsInput; export type Output = BatchDeleteBuildsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace BatchGetBuildBatches { export type Input = BatchGetBuildBatchesInput; export type Output = BatchGetBuildBatchesOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace BatchGetBuilds { export type Input = BatchGetBuildsInput; export type Output = BatchGetBuildsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace BatchGetCommandExecutions { export type Input = BatchGetCommandExecutionsInput; export type Output = BatchGetCommandExecutionsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace BatchGetFleets { export type Input = BatchGetFleetsInput; export type Output = BatchGetFleetsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace BatchGetProjects { export type Input = BatchGetProjectsInput; export type Output = BatchGetProjectsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace BatchGetReportGroups { export type Input = BatchGetReportGroupsInput; export type Output = BatchGetReportGroupsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace BatchGetReports { export type Input = BatchGetReportsInput; export type Output = BatchGetReportsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace BatchGetSandboxes { export type Input = BatchGetSandboxesInput; export type Output = BatchGetSandboxesOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace CreateFleet { @@ -1943,37 +1803,49 @@ export declare namespace CreateWebhook { export declare namespace DeleteBuildBatch { export type Input = DeleteBuildBatchInput; export type Output = DeleteBuildBatchOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace DeleteFleet { export type Input = DeleteFleetInput; export type Output = DeleteFleetOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace DeleteProject { export type Input = DeleteProjectInput; export type Output = DeleteProjectOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace DeleteReport { export type Input = DeleteReportInput; export type Output = DeleteReportOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace DeleteReportGroup { export type Input = DeleteReportGroupInput; export type Output = DeleteReportGroupOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace DeleteResourcePolicy { export type Input = DeleteResourcePolicyInput; export type Output = DeleteResourcePolicyOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace DeleteSourceCredentials { @@ -1998,7 +1870,9 @@ export declare namespace DeleteWebhook { export declare namespace DescribeCodeCoverages { export type Input = DescribeCodeCoveragesInput; export type Output = DescribeCodeCoveragesOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace DescribeTestCases { @@ -2050,7 +1924,9 @@ export declare namespace InvalidateProjectCache { export declare namespace ListBuildBatches { export type Input = ListBuildBatchesInput; export type Output = ListBuildBatchesOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace ListBuildBatchesForProject { @@ -2065,7 +1941,9 @@ export declare namespace ListBuildBatchesForProject { export declare namespace ListBuilds { export type Input = ListBuildsInput; export type Output = ListBuildsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace ListBuildsForProject { @@ -2089,31 +1967,40 @@ export declare namespace ListCommandExecutionsForSandbox { export declare namespace ListCuratedEnvironmentImages { export type Input = ListCuratedEnvironmentImagesInput; export type Output = ListCuratedEnvironmentImagesOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListFleets { export type Input = ListFleetsInput; export type Output = ListFleetsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace ListProjects { export type Input = ListProjectsInput; export type Output = ListProjectsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace ListReportGroups { export type Input = ListReportGroupsInput; export type Output = ListReportGroupsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace ListReports { export type Input = ListReportsInput; export type Output = ListReportsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace ListReportsForReportGroup { @@ -2128,7 +2015,9 @@ export declare namespace ListReportsForReportGroup { export declare namespace ListSandboxes { export type Input = ListSandboxesInput; export type Output = ListSandboxesOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace ListSandboxesForProject { @@ -2143,19 +2032,25 @@ export declare namespace ListSandboxesForProject { export declare namespace ListSharedProjects { export type Input = ListSharedProjectsInput; export type Output = ListSharedProjectsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace ListSharedReportGroups { export type Input = ListSharedReportGroupsInput; export type Output = ListSharedReportGroupsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace ListSourceCredentials { export type Input = ListSourceCredentialsInput; export type Output = ListSourceCredentialsOutput; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace PutResourcePolicy { @@ -2307,11 +2202,5 @@ export declare namespace UpdateWebhook { | CommonAwsError; } -export type CodeBuildErrors = - | AccountLimitExceededException - | AccountSuspendedException - | InvalidInputException - | OAuthProviderException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError; +export type CodeBuildErrors = AccountLimitExceededException | AccountSuspendedException | InvalidInputException | OAuthProviderException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/codecatalyst/index.ts b/src/services/codecatalyst/index.ts index 4b3de48b..cdda0cb9 100644 --- a/src/services/codecatalyst/index.ts +++ b/src/services/codecatalyst/index.ts @@ -5,23 +5,7 @@ import type { CodeCatalyst as _CodeCatalystClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,65 +15,44 @@ const metadata = { sigV4ServiceName: "undefined", endpointPrefix: "codecatalyst", operations: { - GetUserDetails: "GET /userDetails", - VerifySession: "GET /session", - CreateAccessToken: "PUT /v1/accessTokens", - CreateDevEnvironment: - "PUT /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments", - CreateProject: "PUT /v1/spaces/{spaceName}/projects", - CreateSourceRepository: - "PUT /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}", - CreateSourceRepositoryBranch: - "PUT /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches/{name}", - DeleteAccessToken: "DELETE /v1/accessTokens/{id}", - DeleteDevEnvironment: - "DELETE /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}", - DeleteProject: "DELETE /v1/spaces/{spaceName}/projects/{name}", - DeleteSourceRepository: - "DELETE /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}", - DeleteSpace: "DELETE /v1/spaces/{name}", - GetDevEnvironment: - "GET /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}", - GetProject: "GET /v1/spaces/{spaceName}/projects/{name}", - GetSourceRepository: - "GET /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}", - GetSourceRepositoryCloneUrls: - "GET /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/cloneUrls", - GetSpace: "GET /v1/spaces/{name}", - GetSubscription: "GET /v1/spaces/{spaceName}/subscription", - GetWorkflow: - "GET /v1/spaces/{spaceName}/projects/{projectName}/workflows/{id}", - GetWorkflowRun: - "GET /v1/spaces/{spaceName}/projects/{projectName}/workflowRuns/{id}", - ListAccessTokens: "POST /v1/accessTokens", - ListDevEnvironmentSessions: - "POST /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{devEnvironmentId}/sessions", - ListDevEnvironments: "POST /v1/spaces/{spaceName}/devEnvironments", - ListEventLogs: "POST /v1/spaces/{spaceName}/eventLogs", - ListProjects: "POST /v1/spaces/{spaceName}/projects", - ListSourceRepositories: - "POST /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories", - ListSourceRepositoryBranches: - "POST /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches", - ListSpaces: "POST /v1/spaces", - ListWorkflowRuns: - "POST /v1/spaces/{spaceName}/projects/{projectName}/workflowRuns", - ListWorkflows: - "POST /v1/spaces/{spaceName}/projects/{projectName}/workflows", - StartDevEnvironment: - "PUT /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/start", - StartDevEnvironmentSession: - "PUT /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session", - StartWorkflowRun: - "PUT /v1/spaces/{spaceName}/projects/{projectName}/workflowRuns", - StopDevEnvironment: - "PUT /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/stop", - StopDevEnvironmentSession: - "DELETE /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}", - UpdateDevEnvironment: - "PATCH /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}", - UpdateProject: "PATCH /v1/spaces/{spaceName}/projects/{name}", - UpdateSpace: "PATCH /v1/spaces/{name}", + "GetUserDetails": "GET /userDetails", + "VerifySession": "GET /session", + "CreateAccessToken": "PUT /v1/accessTokens", + "CreateDevEnvironment": "PUT /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments", + "CreateProject": "PUT /v1/spaces/{spaceName}/projects", + "CreateSourceRepository": "PUT /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}", + "CreateSourceRepositoryBranch": "PUT /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches/{name}", + "DeleteAccessToken": "DELETE /v1/accessTokens/{id}", + "DeleteDevEnvironment": "DELETE /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}", + "DeleteProject": "DELETE /v1/spaces/{spaceName}/projects/{name}", + "DeleteSourceRepository": "DELETE /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}", + "DeleteSpace": "DELETE /v1/spaces/{name}", + "GetDevEnvironment": "GET /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}", + "GetProject": "GET /v1/spaces/{spaceName}/projects/{name}", + "GetSourceRepository": "GET /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{name}", + "GetSourceRepositoryCloneUrls": "GET /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/cloneUrls", + "GetSpace": "GET /v1/spaces/{name}", + "GetSubscription": "GET /v1/spaces/{spaceName}/subscription", + "GetWorkflow": "GET /v1/spaces/{spaceName}/projects/{projectName}/workflows/{id}", + "GetWorkflowRun": "GET /v1/spaces/{spaceName}/projects/{projectName}/workflowRuns/{id}", + "ListAccessTokens": "POST /v1/accessTokens", + "ListDevEnvironmentSessions": "POST /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{devEnvironmentId}/sessions", + "ListDevEnvironments": "POST /v1/spaces/{spaceName}/devEnvironments", + "ListEventLogs": "POST /v1/spaces/{spaceName}/eventLogs", + "ListProjects": "POST /v1/spaces/{spaceName}/projects", + "ListSourceRepositories": "POST /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories", + "ListSourceRepositoryBranches": "POST /v1/spaces/{spaceName}/projects/{projectName}/sourceRepositories/{sourceRepositoryName}/branches", + "ListSpaces": "POST /v1/spaces", + "ListWorkflowRuns": "POST /v1/spaces/{spaceName}/projects/{projectName}/workflowRuns", + "ListWorkflows": "POST /v1/spaces/{spaceName}/projects/{projectName}/workflows", + "StartDevEnvironment": "PUT /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/start", + "StartDevEnvironmentSession": "PUT /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session", + "StartWorkflowRun": "PUT /v1/spaces/{spaceName}/projects/{projectName}/workflowRuns", + "StopDevEnvironment": "PUT /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/stop", + "StopDevEnvironmentSession": "DELETE /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}", + "UpdateDevEnvironment": "PATCH /v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}", + "UpdateProject": "PATCH /v1/spaces/{spaceName}/projects/{name}", + "UpdateSpace": "PATCH /v1/spaces/{name}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/codecatalyst/types.ts b/src/services/codecatalyst/types.ts index 9a29774c..ffd894a2 100644 --- a/src/services/codecatalyst/types.ts +++ b/src/services/codecatalyst/types.ts @@ -1,156 +1,237 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CodeCatalyst extends AWSServiceClient { getUserDetails( input: GetUserDetailsRequest, - ): Effect.Effect; - verifySession(input: {}): Effect.Effect< + ): Effect.Effect< + GetUserDetailsResponse, + CommonAwsError + >; + verifySession( + input: {}, + ): Effect.Effect< VerifySessionResponse, CommonAwsError >; createAccessToken( input: CreateAccessTokenRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateAccessTokenResponse, + CommonAwsError + >; createDevEnvironment( input: CreateDevEnvironmentRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateDevEnvironmentResponse, + CommonAwsError + >; createProject( input: CreateProjectRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateProjectResponse, + CommonAwsError + >; createSourceRepository( input: CreateSourceRepositoryRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateSourceRepositoryResponse, + CommonAwsError + >; createSourceRepositoryBranch( input: CreateSourceRepositoryBranchRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateSourceRepositoryBranchResponse, + CommonAwsError + >; deleteAccessToken( input: DeleteAccessTokenRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteAccessTokenResponse, + CommonAwsError + >; deleteDevEnvironment( input: DeleteDevEnvironmentRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteDevEnvironmentResponse, + CommonAwsError + >; deleteProject( input: DeleteProjectRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteProjectResponse, + CommonAwsError + >; deleteSourceRepository( input: DeleteSourceRepositoryRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteSourceRepositoryResponse, + CommonAwsError + >; deleteSpace( input: DeleteSpaceRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteSpaceResponse, + CommonAwsError + >; getDevEnvironment( input: GetDevEnvironmentRequest, - ): Effect.Effect; + ): Effect.Effect< + GetDevEnvironmentResponse, + CommonAwsError + >; getProject( input: GetProjectRequest, - ): Effect.Effect; + ): Effect.Effect< + GetProjectResponse, + CommonAwsError + >; getSourceRepository( input: GetSourceRepositoryRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSourceRepositoryResponse, + CommonAwsError + >; getSourceRepositoryCloneUrls( input: GetSourceRepositoryCloneUrlsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSourceRepositoryCloneUrlsResponse, + CommonAwsError + >; getSpace( input: GetSpaceRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSpaceResponse, + CommonAwsError + >; getSubscription( input: GetSubscriptionRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSubscriptionResponse, + CommonAwsError + >; getWorkflow( input: GetWorkflowRequest, - ): Effect.Effect; + ): Effect.Effect< + GetWorkflowResponse, + CommonAwsError + >; getWorkflowRun( input: GetWorkflowRunRequest, - ): Effect.Effect; + ): Effect.Effect< + GetWorkflowRunResponse, + CommonAwsError + >; listAccessTokens( input: ListAccessTokensRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAccessTokensResponse, + CommonAwsError + >; listDevEnvironmentSessions( input: ListDevEnvironmentSessionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDevEnvironmentSessionsResponse, + CommonAwsError + >; listDevEnvironments( input: ListDevEnvironmentsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDevEnvironmentsResponse, + CommonAwsError + >; listEventLogs( input: ListEventLogsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListEventLogsResponse, + CommonAwsError + >; listProjects( input: ListProjectsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListProjectsResponse, + CommonAwsError + >; listSourceRepositories( input: ListSourceRepositoriesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListSourceRepositoriesResponse, + CommonAwsError + >; listSourceRepositoryBranches( input: ListSourceRepositoryBranchesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListSourceRepositoryBranchesResponse, + CommonAwsError + >; listSpaces( input: ListSpacesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListSpacesResponse, + CommonAwsError + >; listWorkflowRuns( input: ListWorkflowRunsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListWorkflowRunsResponse, + CommonAwsError + >; listWorkflows( input: ListWorkflowsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListWorkflowsResponse, + CommonAwsError + >; startDevEnvironment( input: StartDevEnvironmentRequest, - ): Effect.Effect; + ): Effect.Effect< + StartDevEnvironmentResponse, + CommonAwsError + >; startDevEnvironmentSession( input: StartDevEnvironmentSessionRequest, - ): Effect.Effect; + ): Effect.Effect< + StartDevEnvironmentSessionResponse, + CommonAwsError + >; startWorkflowRun( input: StartWorkflowRunRequest, - ): Effect.Effect; + ): Effect.Effect< + StartWorkflowRunResponse, + CommonAwsError + >; stopDevEnvironment( input: StopDevEnvironmentRequest, - ): Effect.Effect; + ): Effect.Effect< + StopDevEnvironmentResponse, + CommonAwsError + >; stopDevEnvironmentSession( input: StopDevEnvironmentSessionRequest, - ): Effect.Effect; + ): Effect.Effect< + StopDevEnvironmentSessionResponse, + CommonAwsError + >; updateDevEnvironment( input: UpdateDevEnvironmentRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateDevEnvironmentResponse, + CommonAwsError + >; updateProject( input: UpdateProjectRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateProjectResponse, + CommonAwsError + >; updateSpace( input: UpdateSpaceRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateSpaceResponse, + CommonAwsError + >; } export declare class Codecatalyst extends CodeCatalyst {} @@ -248,7 +329,8 @@ export interface CreateSourceRepositoryResponse { export interface DeleteAccessTokenRequest { id: string; } -export interface DeleteAccessTokenResponse {} +export interface DeleteAccessTokenResponse { +} export interface DeleteDevEnvironmentRequest { spaceName: string; projectName: string; @@ -289,8 +371,7 @@ export interface DevEnvironmentAccessDetails { streamUrl: string; tokenValue: string; } -export type DevEnvironmentRepositorySummaries = - Array; +export type DevEnvironmentRepositorySummaries = Array; export interface DevEnvironmentRepositorySummary { repositoryName: string; branchName?: string; @@ -299,8 +380,7 @@ export interface DevEnvironmentSessionConfiguration { sessionType: string; executeCommandSessionConfiguration?: ExecuteCommandSessionConfiguration; } -export type DevEnvironmentSessionsSummaryList = - Array; +export type DevEnvironmentSessionsSummaryList = Array; export interface DevEnvironmentSessionSummary { spaceName: string; projectName: string; @@ -573,8 +653,7 @@ export interface ListSourceRepositoryBranchesItem { lastUpdatedTime?: Date | string; headCommitId?: string; } -export type ListSourceRepositoryBranchesItems = - Array; +export type ListSourceRepositoryBranchesItems = Array; export interface ListSourceRepositoryBranchesRequest { spaceName: string; projectName: string; @@ -822,11 +901,13 @@ export interface WorkflowDefinitionSummary { } export type WorkflowRunMode = string; -export interface WorkflowRunSortCriteria {} +export interface WorkflowRunSortCriteria { +} export type WorkflowRunSortCriteriaList = Array; export type WorkflowRunStatus = string; -export interface WorkflowRunStatusReason {} +export interface WorkflowRunStatusReason { +} export type WorkflowRunStatusReasons = Array; export type WorkflowRunSummaries = Array; export interface WorkflowRunSummary { @@ -839,7 +920,8 @@ export interface WorkflowRunSummary { endTime?: Date | string; lastUpdatedTime: Date | string; } -export interface WorkflowSortCriteria {} +export interface WorkflowSortCriteria { +} export type WorkflowSortCriteriaList = Array; export type WorkflowStatus = string; @@ -858,236 +940,268 @@ export interface WorkflowSummary { export declare namespace GetUserDetails { export type Input = GetUserDetailsRequest; export type Output = GetUserDetailsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace VerifySession { export type Input = {}; export type Output = VerifySessionResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateAccessToken { export type Input = CreateAccessTokenRequest; export type Output = CreateAccessTokenResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateDevEnvironment { export type Input = CreateDevEnvironmentRequest; export type Output = CreateDevEnvironmentResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateProject { export type Input = CreateProjectRequest; export type Output = CreateProjectResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSourceRepository { export type Input = CreateSourceRepositoryRequest; export type Output = CreateSourceRepositoryResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSourceRepositoryBranch { export type Input = CreateSourceRepositoryBranchRequest; export type Output = CreateSourceRepositoryBranchResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessToken { export type Input = DeleteAccessTokenRequest; export type Output = DeleteAccessTokenResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteDevEnvironment { export type Input = DeleteDevEnvironmentRequest; export type Output = DeleteDevEnvironmentResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteProject { export type Input = DeleteProjectRequest; export type Output = DeleteProjectResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteSourceRepository { export type Input = DeleteSourceRepositoryRequest; export type Output = DeleteSourceRepositoryResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteSpace { export type Input = DeleteSpaceRequest; export type Output = DeleteSpaceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetDevEnvironment { export type Input = GetDevEnvironmentRequest; export type Output = GetDevEnvironmentResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetProject { export type Input = GetProjectRequest; export type Output = GetProjectResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSourceRepository { export type Input = GetSourceRepositoryRequest; export type Output = GetSourceRepositoryResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSourceRepositoryCloneUrls { export type Input = GetSourceRepositoryCloneUrlsRequest; export type Output = GetSourceRepositoryCloneUrlsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSpace { export type Input = GetSpaceRequest; export type Output = GetSpaceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSubscription { export type Input = GetSubscriptionRequest; export type Output = GetSubscriptionResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetWorkflow { export type Input = GetWorkflowRequest; export type Output = GetWorkflowResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetWorkflowRun { export type Input = GetWorkflowRunRequest; export type Output = GetWorkflowRunResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAccessTokens { export type Input = ListAccessTokensRequest; export type Output = ListAccessTokensResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListDevEnvironmentSessions { export type Input = ListDevEnvironmentSessionsRequest; export type Output = ListDevEnvironmentSessionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListDevEnvironments { export type Input = ListDevEnvironmentsRequest; export type Output = ListDevEnvironmentsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListEventLogs { export type Input = ListEventLogsRequest; export type Output = ListEventLogsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListProjects { export type Input = ListProjectsRequest; export type Output = ListProjectsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListSourceRepositories { export type Input = ListSourceRepositoriesRequest; export type Output = ListSourceRepositoriesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListSourceRepositoryBranches { export type Input = ListSourceRepositoryBranchesRequest; export type Output = ListSourceRepositoryBranchesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListSpaces { export type Input = ListSpacesRequest; export type Output = ListSpacesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListWorkflowRuns { export type Input = ListWorkflowRunsRequest; export type Output = ListWorkflowRunsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListWorkflows { export type Input = ListWorkflowsRequest; export type Output = ListWorkflowsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartDevEnvironment { export type Input = StartDevEnvironmentRequest; export type Output = StartDevEnvironmentResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartDevEnvironmentSession { export type Input = StartDevEnvironmentSessionRequest; export type Output = StartDevEnvironmentSessionResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartWorkflowRun { export type Input = StartWorkflowRunRequest; export type Output = StartWorkflowRunResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StopDevEnvironment { export type Input = StopDevEnvironmentRequest; export type Output = StopDevEnvironmentResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StopDevEnvironmentSession { export type Input = StopDevEnvironmentSessionRequest; export type Output = StopDevEnvironmentSessionResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateDevEnvironment { export type Input = UpdateDevEnvironmentRequest; export type Output = UpdateDevEnvironmentResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateProject { export type Input = UpdateProjectRequest; export type Output = UpdateProjectResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateSpace { export type Input = UpdateSpaceRequest; export type Output = UpdateSpaceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } -export type CodeCatalystErrors = - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type CodeCatalystErrors = AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/codecommit/index.ts b/src/services/codecommit/index.ts index 682a1d06..a4cbd908 100644 --- a/src/services/codecommit/index.ts +++ b/src/services/codecommit/index.ts @@ -5,26 +5,7 @@ import type { CodeCommit as _CodeCommitClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/codecommit/types.ts b/src/services/codecommit/types.ts index 5fac946b..4a5e771c 100644 --- a/src/services/codecommit/types.ts +++ b/src/services/codecommit/types.ts @@ -7,1573 +7,475 @@ export declare class CodeCommit extends AWSServiceClient { input: AssociateApprovalRuleTemplateWithRepositoryInput, ): Effect.Effect< {}, - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateNameRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidApprovalRuleTemplateNameException - | InvalidRepositoryNameException - | MaximumRuleTemplatesAssociatedWithRepositoryException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidApprovalRuleTemplateNameException | InvalidRepositoryNameException | MaximumRuleTemplatesAssociatedWithRepositoryException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; batchAssociateApprovalRuleTemplateWithRepositories( input: BatchAssociateApprovalRuleTemplateWithRepositoriesInput, ): Effect.Effect< BatchAssociateApprovalRuleTemplateWithRepositoriesOutput, - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateNameRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidApprovalRuleTemplateNameException - | MaximumRepositoryNamesExceededException - | RepositoryNamesRequiredException - | CommonAwsError + ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidApprovalRuleTemplateNameException | MaximumRepositoryNamesExceededException | RepositoryNamesRequiredException | CommonAwsError >; batchDescribeMergeConflicts( input: BatchDescribeMergeConflictsInput, ): Effect.Effect< BatchDescribeMergeConflictsOutput, - | CommitDoesNotExistException - | CommitRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionStrategyException - | InvalidContinuationTokenException - | InvalidMaxConflictFilesException - | InvalidMaxMergeHunksException - | InvalidMergeOptionException - | InvalidRepositoryNameException - | MaximumFileContentToLoadExceededException - | MaximumItemsToCompareExceededException - | MergeOptionRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | TipsDivergenceExceededException - | CommonAwsError + CommitDoesNotExistException | CommitRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitException | InvalidConflictDetailLevelException | InvalidConflictResolutionStrategyException | InvalidContinuationTokenException | InvalidMaxConflictFilesException | InvalidMaxMergeHunksException | InvalidMergeOptionException | InvalidRepositoryNameException | MaximumFileContentToLoadExceededException | MaximumItemsToCompareExceededException | MergeOptionRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | TipsDivergenceExceededException | CommonAwsError >; batchDisassociateApprovalRuleTemplateFromRepositories( input: BatchDisassociateApprovalRuleTemplateFromRepositoriesInput, ): Effect.Effect< BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateNameRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidApprovalRuleTemplateNameException - | MaximumRepositoryNamesExceededException - | RepositoryNamesRequiredException - | CommonAwsError + ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidApprovalRuleTemplateNameException | MaximumRepositoryNamesExceededException | RepositoryNamesRequiredException | CommonAwsError >; batchGetCommits( input: BatchGetCommitsInput, ): Effect.Effect< BatchGetCommitsOutput, - | CommitIdsLimitExceededException - | CommitIdsListRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + CommitIdsLimitExceededException | CommitIdsListRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; batchGetRepositories( input: BatchGetRepositoriesInput, ): Effect.Effect< BatchGetRepositoriesOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidRepositoryNameException - | MaximumRepositoryNamesExceededException - | RepositoryNamesRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidRepositoryNameException | MaximumRepositoryNamesExceededException | RepositoryNamesRequiredException | CommonAwsError >; createApprovalRuleTemplate( input: CreateApprovalRuleTemplateInput, ): Effect.Effect< CreateApprovalRuleTemplateOutput, - | ApprovalRuleTemplateContentRequiredException - | ApprovalRuleTemplateNameAlreadyExistsException - | ApprovalRuleTemplateNameRequiredException - | InvalidApprovalRuleTemplateContentException - | InvalidApprovalRuleTemplateDescriptionException - | InvalidApprovalRuleTemplateNameException - | NumberOfRuleTemplatesExceededException - | CommonAwsError + ApprovalRuleTemplateContentRequiredException | ApprovalRuleTemplateNameAlreadyExistsException | ApprovalRuleTemplateNameRequiredException | InvalidApprovalRuleTemplateContentException | InvalidApprovalRuleTemplateDescriptionException | InvalidApprovalRuleTemplateNameException | NumberOfRuleTemplatesExceededException | CommonAwsError >; createBranch( input: CreateBranchInput, ): Effect.Effect< {}, - | BranchNameExistsException - | BranchNameRequiredException - | CommitDoesNotExistException - | CommitIdRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidBranchNameException - | InvalidCommitIdException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + BranchNameExistsException | BranchNameRequiredException | CommitDoesNotExistException | CommitIdRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidBranchNameException | InvalidCommitIdException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; createCommit( input: CreateCommitInput, ): Effect.Effect< CreateCommitOutput, - | BranchDoesNotExistException - | BranchNameIsTagNameException - | BranchNameRequiredException - | CommitMessageLengthExceededException - | DirectoryNameConflictsWithFileNameException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileContentAndSourceFileSpecifiedException - | FileContentSizeLimitExceededException - | FileDoesNotExistException - | FileEntryRequiredException - | FileModeRequiredException - | FileNameConflictsWithDirectoryNameException - | FilePathConflictsWithSubmodulePathException - | FolderContentSizeLimitExceededException - | InvalidBranchNameException - | InvalidDeletionParameterException - | InvalidEmailException - | InvalidFileModeException - | InvalidParentCommitIdException - | InvalidPathException - | InvalidRepositoryNameException - | MaximumFileEntriesExceededException - | NameLengthExceededException - | NoChangeException - | ParentCommitDoesNotExistException - | ParentCommitIdOutdatedException - | ParentCommitIdRequiredException - | PathRequiredException - | PutFileEntryConflictException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | RestrictedSourceFileException - | SamePathRequestException - | SourceFileOrContentRequiredException - | CommonAwsError + BranchDoesNotExistException | BranchNameIsTagNameException | BranchNameRequiredException | CommitMessageLengthExceededException | DirectoryNameConflictsWithFileNameException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileContentAndSourceFileSpecifiedException | FileContentSizeLimitExceededException | FileDoesNotExistException | FileEntryRequiredException | FileModeRequiredException | FileNameConflictsWithDirectoryNameException | FilePathConflictsWithSubmodulePathException | FolderContentSizeLimitExceededException | InvalidBranchNameException | InvalidDeletionParameterException | InvalidEmailException | InvalidFileModeException | InvalidParentCommitIdException | InvalidPathException | InvalidRepositoryNameException | MaximumFileEntriesExceededException | NameLengthExceededException | NoChangeException | ParentCommitDoesNotExistException | ParentCommitIdOutdatedException | ParentCommitIdRequiredException | PathRequiredException | PutFileEntryConflictException | RepositoryDoesNotExistException | RepositoryNameRequiredException | RestrictedSourceFileException | SamePathRequestException | SourceFileOrContentRequiredException | CommonAwsError >; createPullRequest( input: CreatePullRequestInput, ): Effect.Effect< CreatePullRequestOutput, - | ClientRequestTokenRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | IdempotencyParameterMismatchException - | InvalidClientRequestTokenException - | InvalidDescriptionException - | InvalidReferenceNameException - | InvalidRepositoryNameException - | InvalidTargetException - | InvalidTargetsException - | InvalidTitleException - | MaximumOpenPullRequestsExceededException - | MultipleRepositoriesInPullRequestException - | ReferenceDoesNotExistException - | ReferenceNameRequiredException - | ReferenceTypeNotSupportedException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | SourceAndDestinationAreSameException - | TargetRequiredException - | TargetsRequiredException - | TitleRequiredException - | CommonAwsError + ClientRequestTokenRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | IdempotencyParameterMismatchException | InvalidClientRequestTokenException | InvalidDescriptionException | InvalidReferenceNameException | InvalidRepositoryNameException | InvalidTargetException | InvalidTargetsException | InvalidTitleException | MaximumOpenPullRequestsExceededException | MultipleRepositoriesInPullRequestException | ReferenceDoesNotExistException | ReferenceNameRequiredException | ReferenceTypeNotSupportedException | RepositoryDoesNotExistException | RepositoryNameRequiredException | SourceAndDestinationAreSameException | TargetRequiredException | TargetsRequiredException | TitleRequiredException | CommonAwsError >; createPullRequestApprovalRule( input: CreatePullRequestApprovalRuleInput, ): Effect.Effect< CreatePullRequestApprovalRuleOutput, - | ApprovalRuleContentRequiredException - | ApprovalRuleNameAlreadyExistsException - | ApprovalRuleNameRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidApprovalRuleContentException - | InvalidApprovalRuleNameException - | InvalidPullRequestIdException - | NumberOfRulesExceededException - | PullRequestAlreadyClosedException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | CommonAwsError + ApprovalRuleContentRequiredException | ApprovalRuleNameAlreadyExistsException | ApprovalRuleNameRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidApprovalRuleContentException | InvalidApprovalRuleNameException | InvalidPullRequestIdException | NumberOfRulesExceededException | PullRequestAlreadyClosedException | PullRequestDoesNotExistException | PullRequestIdRequiredException | CommonAwsError >; createRepository( input: CreateRepositoryInput, ): Effect.Effect< CreateRepositoryOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyInvalidIdException - | EncryptionKeyInvalidUsageException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidRepositoryDescriptionException - | InvalidRepositoryNameException - | InvalidSystemTagUsageException - | InvalidTagsMapException - | OperationNotAllowedException - | RepositoryLimitExceededException - | RepositoryNameExistsException - | RepositoryNameRequiredException - | TagPolicyException - | TooManyTagsException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyInvalidIdException | EncryptionKeyInvalidUsageException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidRepositoryDescriptionException | InvalidRepositoryNameException | InvalidSystemTagUsageException | InvalidTagsMapException | OperationNotAllowedException | RepositoryLimitExceededException | RepositoryNameExistsException | RepositoryNameRequiredException | TagPolicyException | TooManyTagsException | CommonAwsError >; createUnreferencedMergeCommit( input: CreateUnreferencedMergeCommitInput, ): Effect.Effect< CreateUnreferencedMergeCommitOutput, - | CommitDoesNotExistException - | CommitMessageLengthExceededException - | CommitRequiredException - | ConcurrentReferenceUpdateException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileContentSizeLimitExceededException - | FileModeRequiredException - | FolderContentSizeLimitExceededException - | InvalidCommitException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionException - | InvalidConflictResolutionStrategyException - | InvalidEmailException - | InvalidFileModeException - | InvalidMergeOptionException - | InvalidPathException - | InvalidReplacementContentException - | InvalidReplacementTypeException - | InvalidRepositoryNameException - | ManualMergeRequiredException - | MaximumConflictResolutionEntriesExceededException - | MaximumFileContentToLoadExceededException - | MaximumItemsToCompareExceededException - | MergeOptionRequiredException - | MultipleConflictResolutionEntriesException - | NameLengthExceededException - | PathRequiredException - | ReplacementContentRequiredException - | ReplacementTypeRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | TipsDivergenceExceededException - | CommonAwsError + CommitDoesNotExistException | CommitMessageLengthExceededException | CommitRequiredException | ConcurrentReferenceUpdateException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileContentSizeLimitExceededException | FileModeRequiredException | FolderContentSizeLimitExceededException | InvalidCommitException | InvalidConflictDetailLevelException | InvalidConflictResolutionException | InvalidConflictResolutionStrategyException | InvalidEmailException | InvalidFileModeException | InvalidMergeOptionException | InvalidPathException | InvalidReplacementContentException | InvalidReplacementTypeException | InvalidRepositoryNameException | ManualMergeRequiredException | MaximumConflictResolutionEntriesExceededException | MaximumFileContentToLoadExceededException | MaximumItemsToCompareExceededException | MergeOptionRequiredException | MultipleConflictResolutionEntriesException | NameLengthExceededException | PathRequiredException | ReplacementContentRequiredException | ReplacementTypeRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | TipsDivergenceExceededException | CommonAwsError >; deleteApprovalRuleTemplate( input: DeleteApprovalRuleTemplateInput, ): Effect.Effect< DeleteApprovalRuleTemplateOutput, - | ApprovalRuleTemplateInUseException - | ApprovalRuleTemplateNameRequiredException - | InvalidApprovalRuleTemplateNameException - | CommonAwsError + ApprovalRuleTemplateInUseException | ApprovalRuleTemplateNameRequiredException | InvalidApprovalRuleTemplateNameException | CommonAwsError >; deleteBranch( input: DeleteBranchInput, ): Effect.Effect< DeleteBranchOutput, - | BranchNameRequiredException - | DefaultBranchCannotBeDeletedException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidBranchNameException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + BranchNameRequiredException | DefaultBranchCannotBeDeletedException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidBranchNameException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; deleteCommentContent( input: DeleteCommentContentInput, ): Effect.Effect< DeleteCommentContentOutput, - | CommentDeletedException - | CommentDoesNotExistException - | CommentIdRequiredException - | InvalidCommentIdException - | CommonAwsError + CommentDeletedException | CommentDoesNotExistException | CommentIdRequiredException | InvalidCommentIdException | CommonAwsError >; deleteFile( input: DeleteFileInput, ): Effect.Effect< DeleteFileOutput, - | BranchDoesNotExistException - | BranchNameIsTagNameException - | BranchNameRequiredException - | CommitMessageLengthExceededException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileDoesNotExistException - | InvalidBranchNameException - | InvalidEmailException - | InvalidParentCommitIdException - | InvalidPathException - | InvalidRepositoryNameException - | NameLengthExceededException - | ParentCommitDoesNotExistException - | ParentCommitIdOutdatedException - | ParentCommitIdRequiredException - | PathRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + BranchDoesNotExistException | BranchNameIsTagNameException | BranchNameRequiredException | CommitMessageLengthExceededException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileDoesNotExistException | InvalidBranchNameException | InvalidEmailException | InvalidParentCommitIdException | InvalidPathException | InvalidRepositoryNameException | NameLengthExceededException | ParentCommitDoesNotExistException | ParentCommitIdOutdatedException | ParentCommitIdRequiredException | PathRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; deletePullRequestApprovalRule( input: DeletePullRequestApprovalRuleInput, ): Effect.Effect< DeletePullRequestApprovalRuleOutput, - | ApprovalRuleNameRequiredException - | CannotDeleteApprovalRuleFromTemplateException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidApprovalRuleNameException - | InvalidPullRequestIdException - | PullRequestAlreadyClosedException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | CommonAwsError + ApprovalRuleNameRequiredException | CannotDeleteApprovalRuleFromTemplateException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidApprovalRuleNameException | InvalidPullRequestIdException | PullRequestAlreadyClosedException | PullRequestDoesNotExistException | PullRequestIdRequiredException | CommonAwsError >; deleteRepository( input: DeleteRepositoryInput, ): Effect.Effect< DeleteRepositoryOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidRepositoryNameException - | RepositoryNameRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidRepositoryNameException | RepositoryNameRequiredException | CommonAwsError >; describeMergeConflicts( input: DescribeMergeConflictsInput, ): Effect.Effect< DescribeMergeConflictsOutput, - | CommitDoesNotExistException - | CommitRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileDoesNotExistException - | InvalidCommitException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionStrategyException - | InvalidContinuationTokenException - | InvalidMaxMergeHunksException - | InvalidMergeOptionException - | InvalidPathException - | InvalidRepositoryNameException - | MaximumFileContentToLoadExceededException - | MaximumItemsToCompareExceededException - | MergeOptionRequiredException - | PathRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | TipsDivergenceExceededException - | CommonAwsError + CommitDoesNotExistException | CommitRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileDoesNotExistException | InvalidCommitException | InvalidConflictDetailLevelException | InvalidConflictResolutionStrategyException | InvalidContinuationTokenException | InvalidMaxMergeHunksException | InvalidMergeOptionException | InvalidPathException | InvalidRepositoryNameException | MaximumFileContentToLoadExceededException | MaximumItemsToCompareExceededException | MergeOptionRequiredException | PathRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | TipsDivergenceExceededException | CommonAwsError >; describePullRequestEvents( input: DescribePullRequestEventsInput, ): Effect.Effect< DescribePullRequestEventsOutput, - | ActorDoesNotExistException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidActorArnException - | InvalidContinuationTokenException - | InvalidMaxResultsException - | InvalidPullRequestEventTypeException - | InvalidPullRequestIdException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | CommonAwsError + ActorDoesNotExistException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidActorArnException | InvalidContinuationTokenException | InvalidMaxResultsException | InvalidPullRequestEventTypeException | InvalidPullRequestIdException | PullRequestDoesNotExistException | PullRequestIdRequiredException | CommonAwsError >; disassociateApprovalRuleTemplateFromRepository( input: DisassociateApprovalRuleTemplateFromRepositoryInput, ): Effect.Effect< {}, - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateNameRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidApprovalRuleTemplateNameException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidApprovalRuleTemplateNameException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; evaluatePullRequestApprovalRules( input: EvaluatePullRequestApprovalRulesInput, ): Effect.Effect< EvaluatePullRequestApprovalRulesOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidPullRequestIdException - | InvalidRevisionIdException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | RevisionIdRequiredException - | RevisionNotCurrentException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidPullRequestIdException | InvalidRevisionIdException | PullRequestDoesNotExistException | PullRequestIdRequiredException | RevisionIdRequiredException | RevisionNotCurrentException | CommonAwsError >; getApprovalRuleTemplate( input: GetApprovalRuleTemplateInput, ): Effect.Effect< GetApprovalRuleTemplateOutput, - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateNameRequiredException - | InvalidApprovalRuleTemplateNameException - | CommonAwsError + ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameRequiredException | InvalidApprovalRuleTemplateNameException | CommonAwsError >; getBlob( input: GetBlobInput, ): Effect.Effect< GetBlobOutput, - | BlobIdDoesNotExistException - | BlobIdRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileTooLargeException - | InvalidBlobIdException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + BlobIdDoesNotExistException | BlobIdRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileTooLargeException | InvalidBlobIdException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; getBranch( input: GetBranchInput, ): Effect.Effect< GetBranchOutput, - | BranchDoesNotExistException - | BranchNameRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidBranchNameException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + BranchDoesNotExistException | BranchNameRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidBranchNameException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; getComment( input: GetCommentInput, ): Effect.Effect< GetCommentOutput, - | CommentDeletedException - | CommentDoesNotExistException - | CommentIdRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommentIdException - | CommonAwsError + CommentDeletedException | CommentDoesNotExistException | CommentIdRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommentIdException | CommonAwsError >; getCommentReactions( input: GetCommentReactionsInput, ): Effect.Effect< GetCommentReactionsOutput, - | CommentDeletedException - | CommentDoesNotExistException - | CommentIdRequiredException - | InvalidCommentIdException - | InvalidContinuationTokenException - | InvalidMaxResultsException - | InvalidReactionUserArnException - | CommonAwsError + CommentDeletedException | CommentDoesNotExistException | CommentIdRequiredException | InvalidCommentIdException | InvalidContinuationTokenException | InvalidMaxResultsException | InvalidReactionUserArnException | CommonAwsError >; getCommentsForComparedCommit( input: GetCommentsForComparedCommitInput, ): Effect.Effect< GetCommentsForComparedCommitOutput, - | CommitDoesNotExistException - | CommitIdRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitIdException - | InvalidContinuationTokenException - | InvalidMaxResultsException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + CommitDoesNotExistException | CommitIdRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitIdException | InvalidContinuationTokenException | InvalidMaxResultsException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; getCommentsForPullRequest( input: GetCommentsForPullRequestInput, ): Effect.Effect< GetCommentsForPullRequestOutput, - | CommitDoesNotExistException - | CommitIdRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitIdException - | InvalidContinuationTokenException - | InvalidMaxResultsException - | InvalidPullRequestIdException - | InvalidRepositoryNameException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | RepositoryNotAssociatedWithPullRequestException - | CommonAwsError + CommitDoesNotExistException | CommitIdRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitIdException | InvalidContinuationTokenException | InvalidMaxResultsException | InvalidPullRequestIdException | InvalidRepositoryNameException | PullRequestDoesNotExistException | PullRequestIdRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | RepositoryNotAssociatedWithPullRequestException | CommonAwsError >; getCommit( input: GetCommitInput, ): Effect.Effect< GetCommitOutput, - | CommitIdDoesNotExistException - | CommitIdRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitIdException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + CommitIdDoesNotExistException | CommitIdRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitIdException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; getDifferences( input: GetDifferencesInput, ): Effect.Effect< GetDifferencesOutput, - | CommitDoesNotExistException - | CommitRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitException - | InvalidCommitIdException - | InvalidContinuationTokenException - | InvalidMaxResultsException - | InvalidPathException - | InvalidRepositoryNameException - | PathDoesNotExistException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + CommitDoesNotExistException | CommitRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitException | InvalidCommitIdException | InvalidContinuationTokenException | InvalidMaxResultsException | InvalidPathException | InvalidRepositoryNameException | PathDoesNotExistException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; getFile( input: GetFileInput, ): Effect.Effect< GetFileOutput, - | CommitDoesNotExistException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileDoesNotExistException - | FileTooLargeException - | InvalidCommitException - | InvalidPathException - | InvalidRepositoryNameException - | PathRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + CommitDoesNotExistException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileDoesNotExistException | FileTooLargeException | InvalidCommitException | InvalidPathException | InvalidRepositoryNameException | PathRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; getFolder( input: GetFolderInput, ): Effect.Effect< GetFolderOutput, - | CommitDoesNotExistException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FolderDoesNotExistException - | InvalidCommitException - | InvalidPathException - | InvalidRepositoryNameException - | PathRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + CommitDoesNotExistException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FolderDoesNotExistException | InvalidCommitException | InvalidPathException | InvalidRepositoryNameException | PathRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; getMergeCommit( input: GetMergeCommitInput, ): Effect.Effect< GetMergeCommitOutput, - | CommitDoesNotExistException - | CommitRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionStrategyException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + CommitDoesNotExistException | CommitRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitException | InvalidConflictDetailLevelException | InvalidConflictResolutionStrategyException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; getMergeConflicts( input: GetMergeConflictsInput, ): Effect.Effect< GetMergeConflictsOutput, - | CommitDoesNotExistException - | CommitRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionStrategyException - | InvalidContinuationTokenException - | InvalidDestinationCommitSpecifierException - | InvalidMaxConflictFilesException - | InvalidMergeOptionException - | InvalidRepositoryNameException - | InvalidSourceCommitSpecifierException - | MaximumFileContentToLoadExceededException - | MaximumItemsToCompareExceededException - | MergeOptionRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | TipsDivergenceExceededException - | CommonAwsError + CommitDoesNotExistException | CommitRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitException | InvalidConflictDetailLevelException | InvalidConflictResolutionStrategyException | InvalidContinuationTokenException | InvalidDestinationCommitSpecifierException | InvalidMaxConflictFilesException | InvalidMergeOptionException | InvalidRepositoryNameException | InvalidSourceCommitSpecifierException | MaximumFileContentToLoadExceededException | MaximumItemsToCompareExceededException | MergeOptionRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | TipsDivergenceExceededException | CommonAwsError >; getMergeOptions( input: GetMergeOptionsInput, ): Effect.Effect< GetMergeOptionsOutput, - | CommitDoesNotExistException - | CommitRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionStrategyException - | InvalidRepositoryNameException - | MaximumFileContentToLoadExceededException - | MaximumItemsToCompareExceededException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | TipsDivergenceExceededException - | CommonAwsError + CommitDoesNotExistException | CommitRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitException | InvalidConflictDetailLevelException | InvalidConflictResolutionStrategyException | InvalidRepositoryNameException | MaximumFileContentToLoadExceededException | MaximumItemsToCompareExceededException | RepositoryDoesNotExistException | RepositoryNameRequiredException | TipsDivergenceExceededException | CommonAwsError >; getPullRequest( input: GetPullRequestInput, ): Effect.Effect< GetPullRequestOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidPullRequestIdException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidPullRequestIdException | PullRequestDoesNotExistException | PullRequestIdRequiredException | CommonAwsError >; getPullRequestApprovalStates( input: GetPullRequestApprovalStatesInput, ): Effect.Effect< GetPullRequestApprovalStatesOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidPullRequestIdException - | InvalidRevisionIdException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | RevisionIdRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidPullRequestIdException | InvalidRevisionIdException | PullRequestDoesNotExistException | PullRequestIdRequiredException | RevisionIdRequiredException | CommonAwsError >; getPullRequestOverrideState( input: GetPullRequestOverrideStateInput, ): Effect.Effect< GetPullRequestOverrideStateOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidPullRequestIdException - | InvalidRevisionIdException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | RevisionIdRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidPullRequestIdException | InvalidRevisionIdException | PullRequestDoesNotExistException | PullRequestIdRequiredException | RevisionIdRequiredException | CommonAwsError >; getRepository( input: GetRepositoryInput, ): Effect.Effect< GetRepositoryOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; getRepositoryTriggers( input: GetRepositoryTriggersInput, ): Effect.Effect< GetRepositoryTriggersOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; listApprovalRuleTemplates( input: ListApprovalRuleTemplatesInput, ): Effect.Effect< ListApprovalRuleTemplatesOutput, - | InvalidContinuationTokenException - | InvalidMaxResultsException - | CommonAwsError + InvalidContinuationTokenException | InvalidMaxResultsException | CommonAwsError >; listAssociatedApprovalRuleTemplatesForRepository( input: ListAssociatedApprovalRuleTemplatesForRepositoryInput, ): Effect.Effect< ListAssociatedApprovalRuleTemplatesForRepositoryOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidContinuationTokenException - | InvalidMaxResultsException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidContinuationTokenException | InvalidMaxResultsException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; listBranches( input: ListBranchesInput, ): Effect.Effect< ListBranchesOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidContinuationTokenException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidContinuationTokenException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; listFileCommitHistory( input: ListFileCommitHistoryRequest, ): Effect.Effect< ListFileCommitHistoryResponse, - | CommitDoesNotExistException - | CommitRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitException - | InvalidContinuationTokenException - | InvalidMaxResultsException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | TipsDivergenceExceededException - | CommonAwsError + CommitDoesNotExistException | CommitRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitException | InvalidContinuationTokenException | InvalidMaxResultsException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | TipsDivergenceExceededException | CommonAwsError >; listPullRequests( input: ListPullRequestsInput, ): Effect.Effect< ListPullRequestsOutput, - | AuthorDoesNotExistException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidAuthorArnException - | InvalidContinuationTokenException - | InvalidMaxResultsException - | InvalidPullRequestStatusException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + AuthorDoesNotExistException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidAuthorArnException | InvalidContinuationTokenException | InvalidMaxResultsException | InvalidPullRequestStatusException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; listRepositories( input: ListRepositoriesInput, ): Effect.Effect< ListRepositoriesOutput, - | InvalidContinuationTokenException - | InvalidOrderException - | InvalidSortByException - | CommonAwsError + InvalidContinuationTokenException | InvalidOrderException | InvalidSortByException | CommonAwsError >; listRepositoriesForApprovalRuleTemplate( input: ListRepositoriesForApprovalRuleTemplateInput, ): Effect.Effect< ListRepositoriesForApprovalRuleTemplateOutput, - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateNameRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidApprovalRuleTemplateNameException - | InvalidContinuationTokenException - | InvalidMaxResultsException - | CommonAwsError + ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidApprovalRuleTemplateNameException | InvalidContinuationTokenException | InvalidMaxResultsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InvalidRepositoryNameException - | InvalidResourceArnException - | RepositoryDoesNotExistException - | ResourceArnRequiredException - | CommonAwsError + InvalidRepositoryNameException | InvalidResourceArnException | RepositoryDoesNotExistException | ResourceArnRequiredException | CommonAwsError >; mergeBranchesByFastForward( input: MergeBranchesByFastForwardInput, ): Effect.Effect< MergeBranchesByFastForwardOutput, - | BranchDoesNotExistException - | BranchNameIsTagNameException - | BranchNameRequiredException - | CommitDoesNotExistException - | CommitRequiredException - | ConcurrentReferenceUpdateException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidBranchNameException - | InvalidCommitException - | InvalidRepositoryNameException - | InvalidTargetBranchException - | ManualMergeRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | TipsDivergenceExceededException - | CommonAwsError + BranchDoesNotExistException | BranchNameIsTagNameException | BranchNameRequiredException | CommitDoesNotExistException | CommitRequiredException | ConcurrentReferenceUpdateException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidBranchNameException | InvalidCommitException | InvalidRepositoryNameException | InvalidTargetBranchException | ManualMergeRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | TipsDivergenceExceededException | CommonAwsError >; mergeBranchesBySquash( input: MergeBranchesBySquashInput, ): Effect.Effect< MergeBranchesBySquashOutput, - | BranchDoesNotExistException - | BranchNameIsTagNameException - | BranchNameRequiredException - | CommitDoesNotExistException - | CommitMessageLengthExceededException - | CommitRequiredException - | ConcurrentReferenceUpdateException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileContentSizeLimitExceededException - | FileModeRequiredException - | FolderContentSizeLimitExceededException - | InvalidBranchNameException - | InvalidCommitException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionException - | InvalidConflictResolutionStrategyException - | InvalidEmailException - | InvalidFileModeException - | InvalidPathException - | InvalidReplacementContentException - | InvalidReplacementTypeException - | InvalidRepositoryNameException - | InvalidTargetBranchException - | ManualMergeRequiredException - | MaximumConflictResolutionEntriesExceededException - | MaximumFileContentToLoadExceededException - | MaximumItemsToCompareExceededException - | MultipleConflictResolutionEntriesException - | NameLengthExceededException - | PathRequiredException - | ReplacementContentRequiredException - | ReplacementTypeRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | TipsDivergenceExceededException - | CommonAwsError + BranchDoesNotExistException | BranchNameIsTagNameException | BranchNameRequiredException | CommitDoesNotExistException | CommitMessageLengthExceededException | CommitRequiredException | ConcurrentReferenceUpdateException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileContentSizeLimitExceededException | FileModeRequiredException | FolderContentSizeLimitExceededException | InvalidBranchNameException | InvalidCommitException | InvalidConflictDetailLevelException | InvalidConflictResolutionException | InvalidConflictResolutionStrategyException | InvalidEmailException | InvalidFileModeException | InvalidPathException | InvalidReplacementContentException | InvalidReplacementTypeException | InvalidRepositoryNameException | InvalidTargetBranchException | ManualMergeRequiredException | MaximumConflictResolutionEntriesExceededException | MaximumFileContentToLoadExceededException | MaximumItemsToCompareExceededException | MultipleConflictResolutionEntriesException | NameLengthExceededException | PathRequiredException | ReplacementContentRequiredException | ReplacementTypeRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | TipsDivergenceExceededException | CommonAwsError >; mergeBranchesByThreeWay( input: MergeBranchesByThreeWayInput, ): Effect.Effect< MergeBranchesByThreeWayOutput, - | BranchDoesNotExistException - | BranchNameIsTagNameException - | BranchNameRequiredException - | CommitDoesNotExistException - | CommitMessageLengthExceededException - | CommitRequiredException - | ConcurrentReferenceUpdateException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileContentSizeLimitExceededException - | FileModeRequiredException - | FolderContentSizeLimitExceededException - | InvalidBranchNameException - | InvalidCommitException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionException - | InvalidConflictResolutionStrategyException - | InvalidEmailException - | InvalidFileModeException - | InvalidPathException - | InvalidReplacementContentException - | InvalidReplacementTypeException - | InvalidRepositoryNameException - | InvalidTargetBranchException - | ManualMergeRequiredException - | MaximumConflictResolutionEntriesExceededException - | MaximumFileContentToLoadExceededException - | MaximumItemsToCompareExceededException - | MultipleConflictResolutionEntriesException - | NameLengthExceededException - | PathRequiredException - | ReplacementContentRequiredException - | ReplacementTypeRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | TipsDivergenceExceededException - | CommonAwsError + BranchDoesNotExistException | BranchNameIsTagNameException | BranchNameRequiredException | CommitDoesNotExistException | CommitMessageLengthExceededException | CommitRequiredException | ConcurrentReferenceUpdateException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileContentSizeLimitExceededException | FileModeRequiredException | FolderContentSizeLimitExceededException | InvalidBranchNameException | InvalidCommitException | InvalidConflictDetailLevelException | InvalidConflictResolutionException | InvalidConflictResolutionStrategyException | InvalidEmailException | InvalidFileModeException | InvalidPathException | InvalidReplacementContentException | InvalidReplacementTypeException | InvalidRepositoryNameException | InvalidTargetBranchException | ManualMergeRequiredException | MaximumConflictResolutionEntriesExceededException | MaximumFileContentToLoadExceededException | MaximumItemsToCompareExceededException | MultipleConflictResolutionEntriesException | NameLengthExceededException | PathRequiredException | ReplacementContentRequiredException | ReplacementTypeRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | TipsDivergenceExceededException | CommonAwsError >; mergePullRequestByFastForward( input: MergePullRequestByFastForwardInput, ): Effect.Effect< MergePullRequestByFastForwardOutput, - | ConcurrentReferenceUpdateException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidCommitIdException - | InvalidPullRequestIdException - | InvalidRepositoryNameException - | ManualMergeRequiredException - | PullRequestAlreadyClosedException - | PullRequestApprovalRulesNotSatisfiedException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | ReferenceDoesNotExistException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | RepositoryNotAssociatedWithPullRequestException - | TipOfSourceReferenceIsDifferentException - | CommonAwsError + ConcurrentReferenceUpdateException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidCommitIdException | InvalidPullRequestIdException | InvalidRepositoryNameException | ManualMergeRequiredException | PullRequestAlreadyClosedException | PullRequestApprovalRulesNotSatisfiedException | PullRequestDoesNotExistException | PullRequestIdRequiredException | ReferenceDoesNotExistException | RepositoryDoesNotExistException | RepositoryNameRequiredException | RepositoryNotAssociatedWithPullRequestException | TipOfSourceReferenceIsDifferentException | CommonAwsError >; mergePullRequestBySquash( input: MergePullRequestBySquashInput, ): Effect.Effect< MergePullRequestBySquashOutput, - | CommitMessageLengthExceededException - | ConcurrentReferenceUpdateException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileContentSizeLimitExceededException - | FolderContentSizeLimitExceededException - | InvalidCommitIdException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionException - | InvalidConflictResolutionStrategyException - | InvalidEmailException - | InvalidFileModeException - | InvalidPathException - | InvalidPullRequestIdException - | InvalidReplacementContentException - | InvalidReplacementTypeException - | InvalidRepositoryNameException - | ManualMergeRequiredException - | MaximumConflictResolutionEntriesExceededException - | MaximumFileContentToLoadExceededException - | MaximumItemsToCompareExceededException - | MultipleConflictResolutionEntriesException - | NameLengthExceededException - | PathRequiredException - | PullRequestAlreadyClosedException - | PullRequestApprovalRulesNotSatisfiedException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | ReplacementContentRequiredException - | ReplacementTypeRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | RepositoryNotAssociatedWithPullRequestException - | TipOfSourceReferenceIsDifferentException - | TipsDivergenceExceededException - | CommonAwsError + CommitMessageLengthExceededException | ConcurrentReferenceUpdateException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileContentSizeLimitExceededException | FolderContentSizeLimitExceededException | InvalidCommitIdException | InvalidConflictDetailLevelException | InvalidConflictResolutionException | InvalidConflictResolutionStrategyException | InvalidEmailException | InvalidFileModeException | InvalidPathException | InvalidPullRequestIdException | InvalidReplacementContentException | InvalidReplacementTypeException | InvalidRepositoryNameException | ManualMergeRequiredException | MaximumConflictResolutionEntriesExceededException | MaximumFileContentToLoadExceededException | MaximumItemsToCompareExceededException | MultipleConflictResolutionEntriesException | NameLengthExceededException | PathRequiredException | PullRequestAlreadyClosedException | PullRequestApprovalRulesNotSatisfiedException | PullRequestDoesNotExistException | PullRequestIdRequiredException | ReplacementContentRequiredException | ReplacementTypeRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | RepositoryNotAssociatedWithPullRequestException | TipOfSourceReferenceIsDifferentException | TipsDivergenceExceededException | CommonAwsError >; mergePullRequestByThreeWay( - input: MergePullRequestByThreeWayInput, - ): Effect.Effect< - MergePullRequestByThreeWayOutput, - | CommitMessageLengthExceededException - | ConcurrentReferenceUpdateException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileContentSizeLimitExceededException - | FolderContentSizeLimitExceededException - | InvalidCommitIdException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionException - | InvalidConflictResolutionStrategyException - | InvalidEmailException - | InvalidFileModeException - | InvalidPathException - | InvalidPullRequestIdException - | InvalidReplacementContentException - | InvalidReplacementTypeException - | InvalidRepositoryNameException - | ManualMergeRequiredException - | MaximumConflictResolutionEntriesExceededException - | MaximumFileContentToLoadExceededException - | MaximumItemsToCompareExceededException - | MultipleConflictResolutionEntriesException - | NameLengthExceededException - | PathRequiredException - | PullRequestAlreadyClosedException - | PullRequestApprovalRulesNotSatisfiedException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | ReplacementContentRequiredException - | ReplacementTypeRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | RepositoryNotAssociatedWithPullRequestException - | TipOfSourceReferenceIsDifferentException - | TipsDivergenceExceededException - | CommonAwsError - >; - overridePullRequestApprovalRules( - input: OverridePullRequestApprovalRulesInput, - ): Effect.Effect< - {}, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidOverrideStatusException - | InvalidPullRequestIdException - | InvalidRevisionIdException - | OverrideAlreadySetException - | OverrideStatusRequiredException - | PullRequestAlreadyClosedException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | RevisionIdRequiredException - | RevisionNotCurrentException - | CommonAwsError - >; - postCommentForComparedCommit( - input: PostCommentForComparedCommitInput, - ): Effect.Effect< - PostCommentForComparedCommitOutput, - | BeforeCommitIdAndAfterCommitIdAreSameException - | ClientRequestTokenRequiredException - | CommentContentRequiredException - | CommentContentSizeLimitExceededException - | CommitDoesNotExistException - | CommitIdRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | IdempotencyParameterMismatchException - | InvalidClientRequestTokenException - | InvalidCommitIdException - | InvalidFileLocationException - | InvalidFilePositionException - | InvalidPathException - | InvalidRelativeFileVersionEnumException - | InvalidRepositoryNameException - | PathDoesNotExistException - | PathRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + input: MergePullRequestByThreeWayInput, + ): Effect.Effect< + MergePullRequestByThreeWayOutput, + CommitMessageLengthExceededException | ConcurrentReferenceUpdateException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileContentSizeLimitExceededException | FolderContentSizeLimitExceededException | InvalidCommitIdException | InvalidConflictDetailLevelException | InvalidConflictResolutionException | InvalidConflictResolutionStrategyException | InvalidEmailException | InvalidFileModeException | InvalidPathException | InvalidPullRequestIdException | InvalidReplacementContentException | InvalidReplacementTypeException | InvalidRepositoryNameException | ManualMergeRequiredException | MaximumConflictResolutionEntriesExceededException | MaximumFileContentToLoadExceededException | MaximumItemsToCompareExceededException | MultipleConflictResolutionEntriesException | NameLengthExceededException | PathRequiredException | PullRequestAlreadyClosedException | PullRequestApprovalRulesNotSatisfiedException | PullRequestDoesNotExistException | PullRequestIdRequiredException | ReplacementContentRequiredException | ReplacementTypeRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | RepositoryNotAssociatedWithPullRequestException | TipOfSourceReferenceIsDifferentException | TipsDivergenceExceededException | CommonAwsError + >; + overridePullRequestApprovalRules( + input: OverridePullRequestApprovalRulesInput, + ): Effect.Effect< + {}, + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidOverrideStatusException | InvalidPullRequestIdException | InvalidRevisionIdException | OverrideAlreadySetException | OverrideStatusRequiredException | PullRequestAlreadyClosedException | PullRequestDoesNotExistException | PullRequestIdRequiredException | RevisionIdRequiredException | RevisionNotCurrentException | CommonAwsError + >; + postCommentForComparedCommit( + input: PostCommentForComparedCommitInput, + ): Effect.Effect< + PostCommentForComparedCommitOutput, + BeforeCommitIdAndAfterCommitIdAreSameException | ClientRequestTokenRequiredException | CommentContentRequiredException | CommentContentSizeLimitExceededException | CommitDoesNotExistException | CommitIdRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | IdempotencyParameterMismatchException | InvalidClientRequestTokenException | InvalidCommitIdException | InvalidFileLocationException | InvalidFilePositionException | InvalidPathException | InvalidRelativeFileVersionEnumException | InvalidRepositoryNameException | PathDoesNotExistException | PathRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; postCommentForPullRequest( input: PostCommentForPullRequestInput, ): Effect.Effect< PostCommentForPullRequestOutput, - | BeforeCommitIdAndAfterCommitIdAreSameException - | ClientRequestTokenRequiredException - | CommentContentRequiredException - | CommentContentSizeLimitExceededException - | CommitDoesNotExistException - | CommitIdRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | IdempotencyParameterMismatchException - | InvalidClientRequestTokenException - | InvalidCommitIdException - | InvalidFileLocationException - | InvalidFilePositionException - | InvalidPathException - | InvalidPullRequestIdException - | InvalidRelativeFileVersionEnumException - | InvalidRepositoryNameException - | PathDoesNotExistException - | PathRequiredException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | RepositoryNotAssociatedWithPullRequestException - | CommonAwsError + BeforeCommitIdAndAfterCommitIdAreSameException | ClientRequestTokenRequiredException | CommentContentRequiredException | CommentContentSizeLimitExceededException | CommitDoesNotExistException | CommitIdRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | IdempotencyParameterMismatchException | InvalidClientRequestTokenException | InvalidCommitIdException | InvalidFileLocationException | InvalidFilePositionException | InvalidPathException | InvalidPullRequestIdException | InvalidRelativeFileVersionEnumException | InvalidRepositoryNameException | PathDoesNotExistException | PathRequiredException | PullRequestDoesNotExistException | PullRequestIdRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | RepositoryNotAssociatedWithPullRequestException | CommonAwsError >; postCommentReply( input: PostCommentReplyInput, ): Effect.Effect< PostCommentReplyOutput, - | ClientRequestTokenRequiredException - | CommentContentRequiredException - | CommentContentSizeLimitExceededException - | CommentDoesNotExistException - | CommentIdRequiredException - | IdempotencyParameterMismatchException - | InvalidClientRequestTokenException - | InvalidCommentIdException - | CommonAwsError + ClientRequestTokenRequiredException | CommentContentRequiredException | CommentContentSizeLimitExceededException | CommentDoesNotExistException | CommentIdRequiredException | IdempotencyParameterMismatchException | InvalidClientRequestTokenException | InvalidCommentIdException | CommonAwsError >; putCommentReaction( input: PutCommentReactionInput, ): Effect.Effect< {}, - | CommentDeletedException - | CommentDoesNotExistException - | CommentIdRequiredException - | InvalidCommentIdException - | InvalidReactionValueException - | ReactionLimitExceededException - | ReactionValueRequiredException - | CommonAwsError + CommentDeletedException | CommentDoesNotExistException | CommentIdRequiredException | InvalidCommentIdException | InvalidReactionValueException | ReactionLimitExceededException | ReactionValueRequiredException | CommonAwsError >; putFile( input: PutFileInput, ): Effect.Effect< PutFileOutput, - | BranchDoesNotExistException - | BranchNameIsTagNameException - | BranchNameRequiredException - | CommitMessageLengthExceededException - | DirectoryNameConflictsWithFileNameException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | FileContentRequiredException - | FileContentSizeLimitExceededException - | FileNameConflictsWithDirectoryNameException - | FilePathConflictsWithSubmodulePathException - | FolderContentSizeLimitExceededException - | InvalidBranchNameException - | InvalidDeletionParameterException - | InvalidEmailException - | InvalidFileModeException - | InvalidParentCommitIdException - | InvalidPathException - | InvalidRepositoryNameException - | NameLengthExceededException - | ParentCommitDoesNotExistException - | ParentCommitIdOutdatedException - | ParentCommitIdRequiredException - | PathRequiredException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | SameFileContentException - | CommonAwsError + BranchDoesNotExistException | BranchNameIsTagNameException | BranchNameRequiredException | CommitMessageLengthExceededException | DirectoryNameConflictsWithFileNameException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | FileContentRequiredException | FileContentSizeLimitExceededException | FileNameConflictsWithDirectoryNameException | FilePathConflictsWithSubmodulePathException | FolderContentSizeLimitExceededException | InvalidBranchNameException | InvalidDeletionParameterException | InvalidEmailException | InvalidFileModeException | InvalidParentCommitIdException | InvalidPathException | InvalidRepositoryNameException | NameLengthExceededException | ParentCommitDoesNotExistException | ParentCommitIdOutdatedException | ParentCommitIdRequiredException | PathRequiredException | RepositoryDoesNotExistException | RepositoryNameRequiredException | SameFileContentException | CommonAwsError >; putRepositoryTriggers( input: PutRepositoryTriggersInput, ): Effect.Effect< PutRepositoryTriggersOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidRepositoryNameException - | InvalidRepositoryTriggerBranchNameException - | InvalidRepositoryTriggerCustomDataException - | InvalidRepositoryTriggerDestinationArnException - | InvalidRepositoryTriggerEventsException - | InvalidRepositoryTriggerNameException - | InvalidRepositoryTriggerRegionException - | MaximumBranchesExceededException - | MaximumRepositoryTriggersExceededException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | RepositoryTriggerBranchNameListRequiredException - | RepositoryTriggerDestinationArnRequiredException - | RepositoryTriggerEventsListRequiredException - | RepositoryTriggerNameRequiredException - | RepositoryTriggersListRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidRepositoryNameException | InvalidRepositoryTriggerBranchNameException | InvalidRepositoryTriggerCustomDataException | InvalidRepositoryTriggerDestinationArnException | InvalidRepositoryTriggerEventsException | InvalidRepositoryTriggerNameException | InvalidRepositoryTriggerRegionException | MaximumBranchesExceededException | MaximumRepositoryTriggersExceededException | RepositoryDoesNotExistException | RepositoryNameRequiredException | RepositoryTriggerBranchNameListRequiredException | RepositoryTriggerDestinationArnRequiredException | RepositoryTriggerEventsListRequiredException | RepositoryTriggerNameRequiredException | RepositoryTriggersListRequiredException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< {}, - | InvalidRepositoryNameException - | InvalidResourceArnException - | InvalidSystemTagUsageException - | InvalidTagsMapException - | RepositoryDoesNotExistException - | ResourceArnRequiredException - | TagPolicyException - | TagsMapRequiredException - | TooManyTagsException - | CommonAwsError + InvalidRepositoryNameException | InvalidResourceArnException | InvalidSystemTagUsageException | InvalidTagsMapException | RepositoryDoesNotExistException | ResourceArnRequiredException | TagPolicyException | TagsMapRequiredException | TooManyTagsException | CommonAwsError >; testRepositoryTriggers( input: TestRepositoryTriggersInput, ): Effect.Effect< TestRepositoryTriggersOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidRepositoryNameException - | InvalidRepositoryTriggerBranchNameException - | InvalidRepositoryTriggerCustomDataException - | InvalidRepositoryTriggerDestinationArnException - | InvalidRepositoryTriggerEventsException - | InvalidRepositoryTriggerNameException - | InvalidRepositoryTriggerRegionException - | MaximumBranchesExceededException - | MaximumRepositoryTriggersExceededException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | RepositoryTriggerBranchNameListRequiredException - | RepositoryTriggerDestinationArnRequiredException - | RepositoryTriggerEventsListRequiredException - | RepositoryTriggerNameRequiredException - | RepositoryTriggersListRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidRepositoryNameException | InvalidRepositoryTriggerBranchNameException | InvalidRepositoryTriggerCustomDataException | InvalidRepositoryTriggerDestinationArnException | InvalidRepositoryTriggerEventsException | InvalidRepositoryTriggerNameException | InvalidRepositoryTriggerRegionException | MaximumBranchesExceededException | MaximumRepositoryTriggersExceededException | RepositoryDoesNotExistException | RepositoryNameRequiredException | RepositoryTriggerBranchNameListRequiredException | RepositoryTriggerDestinationArnRequiredException | RepositoryTriggerEventsListRequiredException | RepositoryTriggerNameRequiredException | RepositoryTriggersListRequiredException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< {}, - | InvalidRepositoryNameException - | InvalidResourceArnException - | InvalidSystemTagUsageException - | InvalidTagKeysListException - | RepositoryDoesNotExistException - | ResourceArnRequiredException - | TagKeysListRequiredException - | TagPolicyException - | TooManyTagsException - | CommonAwsError + InvalidRepositoryNameException | InvalidResourceArnException | InvalidSystemTagUsageException | InvalidTagKeysListException | RepositoryDoesNotExistException | ResourceArnRequiredException | TagKeysListRequiredException | TagPolicyException | TooManyTagsException | CommonAwsError >; updateApprovalRuleTemplateContent( input: UpdateApprovalRuleTemplateContentInput, ): Effect.Effect< UpdateApprovalRuleTemplateContentOutput, - | ApprovalRuleTemplateContentRequiredException - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateNameRequiredException - | InvalidApprovalRuleTemplateContentException - | InvalidApprovalRuleTemplateNameException - | InvalidRuleContentSha256Exception - | CommonAwsError + ApprovalRuleTemplateContentRequiredException | ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameRequiredException | InvalidApprovalRuleTemplateContentException | InvalidApprovalRuleTemplateNameException | InvalidRuleContentSha256Exception | CommonAwsError >; updateApprovalRuleTemplateDescription( input: UpdateApprovalRuleTemplateDescriptionInput, ): Effect.Effect< UpdateApprovalRuleTemplateDescriptionOutput, - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateNameRequiredException - | InvalidApprovalRuleTemplateDescriptionException - | InvalidApprovalRuleTemplateNameException - | CommonAwsError + ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameRequiredException | InvalidApprovalRuleTemplateDescriptionException | InvalidApprovalRuleTemplateNameException | CommonAwsError >; updateApprovalRuleTemplateName( input: UpdateApprovalRuleTemplateNameInput, ): Effect.Effect< UpdateApprovalRuleTemplateNameOutput, - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateNameAlreadyExistsException - | ApprovalRuleTemplateNameRequiredException - | InvalidApprovalRuleTemplateNameException - | CommonAwsError + ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameAlreadyExistsException | ApprovalRuleTemplateNameRequiredException | InvalidApprovalRuleTemplateNameException | CommonAwsError >; updateComment( input: UpdateCommentInput, ): Effect.Effect< UpdateCommentOutput, - | CommentContentRequiredException - | CommentContentSizeLimitExceededException - | CommentDeletedException - | CommentDoesNotExistException - | CommentIdRequiredException - | CommentNotCreatedByCallerException - | InvalidCommentIdException - | CommonAwsError + CommentContentRequiredException | CommentContentSizeLimitExceededException | CommentDeletedException | CommentDoesNotExistException | CommentIdRequiredException | CommentNotCreatedByCallerException | InvalidCommentIdException | CommonAwsError >; updateDefaultBranch( input: UpdateDefaultBranchInput, ): Effect.Effect< {}, - | BranchDoesNotExistException - | BranchNameRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidBranchNameException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + BranchDoesNotExistException | BranchNameRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidBranchNameException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; updatePullRequestApprovalRuleContent( input: UpdatePullRequestApprovalRuleContentInput, ): Effect.Effect< UpdatePullRequestApprovalRuleContentOutput, - | ApprovalRuleContentRequiredException - | ApprovalRuleDoesNotExistException - | ApprovalRuleNameRequiredException - | CannotModifyApprovalRuleFromTemplateException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidApprovalRuleContentException - | InvalidApprovalRuleNameException - | InvalidPullRequestIdException - | InvalidRuleContentSha256Exception - | PullRequestAlreadyClosedException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | CommonAwsError + ApprovalRuleContentRequiredException | ApprovalRuleDoesNotExistException | ApprovalRuleNameRequiredException | CannotModifyApprovalRuleFromTemplateException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidApprovalRuleContentException | InvalidApprovalRuleNameException | InvalidPullRequestIdException | InvalidRuleContentSha256Exception | PullRequestAlreadyClosedException | PullRequestDoesNotExistException | PullRequestIdRequiredException | CommonAwsError >; updatePullRequestApprovalState( input: UpdatePullRequestApprovalStateInput, ): Effect.Effect< {}, - | ApprovalStateRequiredException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidApprovalStateException - | InvalidPullRequestIdException - | InvalidRevisionIdException - | MaximumNumberOfApprovalsExceededException - | PullRequestAlreadyClosedException - | PullRequestCannotBeApprovedByAuthorException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | RevisionIdRequiredException - | RevisionNotCurrentException - | CommonAwsError + ApprovalStateRequiredException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidApprovalStateException | InvalidPullRequestIdException | InvalidRevisionIdException | MaximumNumberOfApprovalsExceededException | PullRequestAlreadyClosedException | PullRequestCannotBeApprovedByAuthorException | PullRequestDoesNotExistException | PullRequestIdRequiredException | RevisionIdRequiredException | RevisionNotCurrentException | CommonAwsError >; updatePullRequestDescription( input: UpdatePullRequestDescriptionInput, ): Effect.Effect< UpdatePullRequestDescriptionOutput, - | InvalidDescriptionException - | InvalidPullRequestIdException - | PullRequestAlreadyClosedException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | CommonAwsError + InvalidDescriptionException | InvalidPullRequestIdException | PullRequestAlreadyClosedException | PullRequestDoesNotExistException | PullRequestIdRequiredException | CommonAwsError >; updatePullRequestStatus( input: UpdatePullRequestStatusInput, ): Effect.Effect< UpdatePullRequestStatusOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidPullRequestIdException - | InvalidPullRequestStatusException - | InvalidPullRequestStatusUpdateException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | PullRequestStatusRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidPullRequestIdException | InvalidPullRequestStatusException | InvalidPullRequestStatusUpdateException | PullRequestDoesNotExistException | PullRequestIdRequiredException | PullRequestStatusRequiredException | CommonAwsError >; updatePullRequestTitle( input: UpdatePullRequestTitleInput, ): Effect.Effect< UpdatePullRequestTitleOutput, - | InvalidPullRequestIdException - | InvalidTitleException - | PullRequestAlreadyClosedException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | TitleRequiredException - | CommonAwsError + InvalidPullRequestIdException | InvalidTitleException | PullRequestAlreadyClosedException | PullRequestDoesNotExistException | PullRequestIdRequiredException | TitleRequiredException | CommonAwsError >; updateRepositoryDescription( input: UpdateRepositoryDescriptionInput, ): Effect.Effect< {}, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyNotFoundException - | EncryptionKeyUnavailableException - | InvalidRepositoryDescriptionException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyNotFoundException | EncryptionKeyUnavailableException | InvalidRepositoryDescriptionException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; updateRepositoryEncryptionKey( input: UpdateRepositoryEncryptionKeyInput, ): Effect.Effect< UpdateRepositoryEncryptionKeyOutput, - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyInvalidIdException - | EncryptionKeyInvalidUsageException - | EncryptionKeyNotFoundException - | EncryptionKeyRequiredException - | EncryptionKeyUnavailableException - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameRequiredException - | CommonAwsError + EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyInvalidIdException | EncryptionKeyInvalidUsageException | EncryptionKeyNotFoundException | EncryptionKeyRequiredException | EncryptionKeyUnavailableException | InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameRequiredException | CommonAwsError >; updateRepositoryName( input: UpdateRepositoryNameInput, ): Effect.Effect< {}, - | InvalidRepositoryNameException - | RepositoryDoesNotExistException - | RepositoryNameExistsException - | RepositoryNameRequiredException - | CommonAwsError + InvalidRepositoryNameException | RepositoryDoesNotExistException | RepositoryNameExistsException | RepositoryNameRequiredException | CommonAwsError >; } @@ -1713,8 +615,7 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesError { errorCode?: string; errorMessage?: string; } -export type BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList = - Array; +export type BatchAssociateApprovalRuleTemplateWithRepositoriesErrorsList = Array; export interface BatchAssociateApprovalRuleTemplateWithRepositoriesInput { approvalRuleTemplateName: string; repositoryNames: Array; @@ -1728,8 +629,7 @@ export interface BatchDescribeMergeConflictsError { exceptionName: string; message: string; } -export type BatchDescribeMergeConflictsErrors = - Array; +export type BatchDescribeMergeConflictsErrors = Array; export interface BatchDescribeMergeConflictsInput { repositoryName: string; destinationCommitSpecifier: string; @@ -1755,8 +655,7 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesError { errorCode?: string; errorMessage?: string; } -export type BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList = - Array; +export type BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorsList = Array; export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput { approvalRuleTemplateName: string; repositoryNames: Array; @@ -1785,13 +684,7 @@ export interface BatchGetRepositoriesError { errorCode?: BatchGetRepositoriesErrorCodeEnum; errorMessage?: string; } -export type BatchGetRepositoriesErrorCodeEnum = - | "EncryptionIntegrityChecksFailedException" - | "EncryptionKeyAccessDeniedException" - | "EncryptionKeyDisabledException" - | "EncryptionKeyNotFoundException" - | "EncryptionKeyUnavailableException" - | "RepositoryDoesNotExistException"; +export type BatchGetRepositoriesErrorCodeEnum = "EncryptionIntegrityChecksFailedException" | "EncryptionKeyAccessDeniedException" | "EncryptionKeyDisabledException" | "EncryptionKeyNotFoundException" | "EncryptionKeyUnavailableException" | "RepositoryDoesNotExistException"; export type BatchGetRepositoriesErrorsList = Array; export interface BatchGetRepositoriesInput { repositoryNames: Array; @@ -2019,11 +912,7 @@ export interface ConflictResolution { deleteFiles?: Array; setFileModes?: Array; } -export type ConflictResolutionStrategyTypeEnum = - | "NONE" - | "ACCEPT_SOURCE" - | "ACCEPT_DESTINATION" - | "AUTOMERGE"; +export type ConflictResolutionStrategyTypeEnum = "NONE" | "ACCEPT_SOURCE" | "ACCEPT_DESTINATION" | "AUTOMERGE"; export type Conflicts = Array; export type Content = string; @@ -3115,10 +2004,7 @@ export declare class MergeOptionRequiredException extends EffectData.TaggedError readonly message?: string; }> {} export type MergeOptions = Array; -export type MergeOptionTypeEnum = - | "FAST_FORWARD_MERGE" - | "SQUASH_MERGE" - | "THREE_WAY_MERGE"; +export type MergeOptionTypeEnum = "FAST_FORWARD_MERGE" | "SQUASH_MERGE" | "THREE_WAY_MERGE"; export interface MergePullRequestByFastForwardInput { pullRequestId: string; repositoryName: string; @@ -3201,11 +2087,7 @@ export type ObjectId = string; export type ObjectSize = number; -export type ObjectTypeEnum = - | "FILE" - | "DIRECTORY" - | "GIT_LINK" - | "SYMBOLIC_LINK"; +export type ObjectTypeEnum = "FILE" | "DIRECTORY" | "GIT_LINK" | "SYMBOLIC_LINK"; export interface ObjectTypes { source?: ObjectTypeEnum; destination?: ObjectTypeEnum; @@ -3366,16 +2248,7 @@ export interface PullRequestEvent { approvalRuleOverriddenEventMetadata?: ApprovalRuleOverriddenEventMetadata; } export type PullRequestEventList = Array; -export type PullRequestEventType = - | "PULL_REQUEST_CREATED" - | "PULL_REQUEST_STATUS_CHANGED" - | "PULL_REQUEST_SOURCE_REFERENCE_UPDATED" - | "PULL_REQUEST_MERGE_STATE_CHANGED" - | "PULL_REQUEST_APPROVAL_RULE_CREATED" - | "PULL_REQUEST_APPROVAL_RULE_UPDATED" - | "PULL_REQUEST_APPROVAL_RULE_DELETED" - | "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN" - | "PULL_REQUEST_APPROVAL_STATE_CHANGED"; +export type PullRequestEventType = "PULL_REQUEST_CREATED" | "PULL_REQUEST_STATUS_CHANGED" | "PULL_REQUEST_SOURCE_REFERENCE_UPDATED" | "PULL_REQUEST_MERGE_STATE_CHANGED" | "PULL_REQUEST_APPROVAL_RULE_CREATED" | "PULL_REQUEST_APPROVAL_RULE_UPDATED" | "PULL_REQUEST_APPROVAL_RULE_DELETED" | "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN" | "PULL_REQUEST_APPROVAL_STATE_CHANGED"; export type PullRequestId = string; export type PullRequestIdList = Array; @@ -3514,11 +2387,7 @@ export declare class ReplacementContentRequiredException extends EffectData.Tagg )<{ readonly message?: string; }> {} -export type ReplacementTypeEnum = - | "KEEP_BASE" - | "KEEP_SOURCE" - | "KEEP_DESTINATION" - | "USE_NEW_CONTENT"; +export type ReplacementTypeEnum = "KEEP_BASE" | "KEEP_SOURCE" | "KEEP_DESTINATION" | "USE_NEW_CONTENT"; export declare class ReplacementTypeRequiredException extends EffectData.TaggedError( "ReplacementTypeRequiredException", )<{ @@ -3600,11 +2469,7 @@ export declare class RepositoryTriggerDestinationArnRequiredException extends Ef )<{ readonly message?: string; }> {} -export type RepositoryTriggerEventEnum = - | "all" - | "updateReference" - | "createReference" - | "deleteReference"; +export type RepositoryTriggerEventEnum = "all" | "updateReference" | "createReference" | "deleteReference"; export type RepositoryTriggerEventList = Array; export declare class RepositoryTriggerEventsListRequiredException extends EffectData.TaggedError( "RepositoryTriggerEventsListRequiredException", @@ -3615,8 +2480,7 @@ export interface RepositoryTriggerExecutionFailure { trigger?: string; failureMessage?: string; } -export type RepositoryTriggerExecutionFailureList = - Array; +export type RepositoryTriggerExecutionFailureList = Array; export type RepositoryTriggerExecutionFailureMessage = string; export type RepositoryTriggerName = string; @@ -3936,10 +2800,8 @@ export declare namespace BatchDescribeMergeConflicts { } export declare namespace BatchDisassociateApprovalRuleTemplateFromRepositories { - export type Input = - BatchDisassociateApprovalRuleTemplateFromRepositoriesInput; - export type Output = - BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput; + export type Input = BatchDisassociateApprovalRuleTemplateFromRepositoriesInput; + export type Output = BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput; export type Error = | ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateNameRequiredException @@ -5524,194 +4386,5 @@ export declare namespace UpdateRepositoryName { | CommonAwsError; } -export type CodeCommitErrors = - | ActorDoesNotExistException - | ApprovalRuleContentRequiredException - | ApprovalRuleDoesNotExistException - | ApprovalRuleNameAlreadyExistsException - | ApprovalRuleNameRequiredException - | ApprovalRuleTemplateContentRequiredException - | ApprovalRuleTemplateDoesNotExistException - | ApprovalRuleTemplateInUseException - | ApprovalRuleTemplateNameAlreadyExistsException - | ApprovalRuleTemplateNameRequiredException - | ApprovalStateRequiredException - | AuthorDoesNotExistException - | BeforeCommitIdAndAfterCommitIdAreSameException - | BlobIdDoesNotExistException - | BlobIdRequiredException - | BranchDoesNotExistException - | BranchNameExistsException - | BranchNameIsTagNameException - | BranchNameRequiredException - | CannotDeleteApprovalRuleFromTemplateException - | CannotModifyApprovalRuleFromTemplateException - | ClientRequestTokenRequiredException - | CommentContentRequiredException - | CommentContentSizeLimitExceededException - | CommentDeletedException - | CommentDoesNotExistException - | CommentIdRequiredException - | CommentNotCreatedByCallerException - | CommitDoesNotExistException - | CommitIdDoesNotExistException - | CommitIdRequiredException - | CommitIdsLimitExceededException - | CommitIdsListRequiredException - | CommitMessageLengthExceededException - | CommitRequiredException - | ConcurrentReferenceUpdateException - | DefaultBranchCannotBeDeletedException - | DirectoryNameConflictsWithFileNameException - | EncryptionIntegrityChecksFailedException - | EncryptionKeyAccessDeniedException - | EncryptionKeyDisabledException - | EncryptionKeyInvalidIdException - | EncryptionKeyInvalidUsageException - | EncryptionKeyNotFoundException - | EncryptionKeyRequiredException - | EncryptionKeyUnavailableException - | FileContentAndSourceFileSpecifiedException - | FileContentRequiredException - | FileContentSizeLimitExceededException - | FileDoesNotExistException - | FileEntryRequiredException - | FileModeRequiredException - | FileNameConflictsWithDirectoryNameException - | FilePathConflictsWithSubmodulePathException - | FileTooLargeException - | FolderContentSizeLimitExceededException - | FolderDoesNotExistException - | IdempotencyParameterMismatchException - | InvalidActorArnException - | InvalidApprovalRuleContentException - | InvalidApprovalRuleNameException - | InvalidApprovalRuleTemplateContentException - | InvalidApprovalRuleTemplateDescriptionException - | InvalidApprovalRuleTemplateNameException - | InvalidApprovalStateException - | InvalidAuthorArnException - | InvalidBlobIdException - | InvalidBranchNameException - | InvalidClientRequestTokenException - | InvalidCommentIdException - | InvalidCommitException - | InvalidCommitIdException - | InvalidConflictDetailLevelException - | InvalidConflictResolutionException - | InvalidConflictResolutionStrategyException - | InvalidContinuationTokenException - | InvalidDeletionParameterException - | InvalidDescriptionException - | InvalidDestinationCommitSpecifierException - | InvalidEmailException - | InvalidFileLocationException - | InvalidFileModeException - | InvalidFilePositionException - | InvalidMaxConflictFilesException - | InvalidMaxMergeHunksException - | InvalidMaxResultsException - | InvalidMergeOptionException - | InvalidOrderException - | InvalidOverrideStatusException - | InvalidParentCommitIdException - | InvalidPathException - | InvalidPullRequestEventTypeException - | InvalidPullRequestIdException - | InvalidPullRequestStatusException - | InvalidPullRequestStatusUpdateException - | InvalidReactionUserArnException - | InvalidReactionValueException - | InvalidReferenceNameException - | InvalidRelativeFileVersionEnumException - | InvalidReplacementContentException - | InvalidReplacementTypeException - | InvalidRepositoryDescriptionException - | InvalidRepositoryNameException - | InvalidRepositoryTriggerBranchNameException - | InvalidRepositoryTriggerCustomDataException - | InvalidRepositoryTriggerDestinationArnException - | InvalidRepositoryTriggerEventsException - | InvalidRepositoryTriggerNameException - | InvalidRepositoryTriggerRegionException - | InvalidResourceArnException - | InvalidRevisionIdException - | InvalidRuleContentSha256Exception - | InvalidSortByException - | InvalidSourceCommitSpecifierException - | InvalidSystemTagUsageException - | InvalidTagKeysListException - | InvalidTagsMapException - | InvalidTargetBranchException - | InvalidTargetException - | InvalidTargetsException - | InvalidTitleException - | ManualMergeRequiredException - | MaximumBranchesExceededException - | MaximumConflictResolutionEntriesExceededException - | MaximumFileContentToLoadExceededException - | MaximumFileEntriesExceededException - | MaximumItemsToCompareExceededException - | MaximumNumberOfApprovalsExceededException - | MaximumOpenPullRequestsExceededException - | MaximumRepositoryNamesExceededException - | MaximumRepositoryTriggersExceededException - | MaximumRuleTemplatesAssociatedWithRepositoryException - | MergeOptionRequiredException - | MultipleConflictResolutionEntriesException - | MultipleRepositoriesInPullRequestException - | NameLengthExceededException - | NoChangeException - | NumberOfRuleTemplatesExceededException - | NumberOfRulesExceededException - | OperationNotAllowedException - | OverrideAlreadySetException - | OverrideStatusRequiredException - | ParentCommitDoesNotExistException - | ParentCommitIdOutdatedException - | ParentCommitIdRequiredException - | PathDoesNotExistException - | PathRequiredException - | PullRequestAlreadyClosedException - | PullRequestApprovalRulesNotSatisfiedException - | PullRequestCannotBeApprovedByAuthorException - | PullRequestDoesNotExistException - | PullRequestIdRequiredException - | PullRequestStatusRequiredException - | PutFileEntryConflictException - | ReactionLimitExceededException - | ReactionValueRequiredException - | ReferenceDoesNotExistException - | ReferenceNameRequiredException - | ReferenceTypeNotSupportedException - | ReplacementContentRequiredException - | ReplacementTypeRequiredException - | RepositoryDoesNotExistException - | RepositoryLimitExceededException - | RepositoryNameExistsException - | RepositoryNameRequiredException - | RepositoryNamesRequiredException - | RepositoryNotAssociatedWithPullRequestException - | RepositoryTriggerBranchNameListRequiredException - | RepositoryTriggerDestinationArnRequiredException - | RepositoryTriggerEventsListRequiredException - | RepositoryTriggerNameRequiredException - | RepositoryTriggersListRequiredException - | ResourceArnRequiredException - | RestrictedSourceFileException - | RevisionIdRequiredException - | RevisionNotCurrentException - | SameFileContentException - | SamePathRequestException - | SourceAndDestinationAreSameException - | SourceFileOrContentRequiredException - | TagKeysListRequiredException - | TagPolicyException - | TagsMapRequiredException - | TargetRequiredException - | TargetsRequiredException - | TipOfSourceReferenceIsDifferentException - | TipsDivergenceExceededException - | TitleRequiredException - | TooManyTagsException - | CommonAwsError; +export type CodeCommitErrors = ActorDoesNotExistException | ApprovalRuleContentRequiredException | ApprovalRuleDoesNotExistException | ApprovalRuleNameAlreadyExistsException | ApprovalRuleNameRequiredException | ApprovalRuleTemplateContentRequiredException | ApprovalRuleTemplateDoesNotExistException | ApprovalRuleTemplateInUseException | ApprovalRuleTemplateNameAlreadyExistsException | ApprovalRuleTemplateNameRequiredException | ApprovalStateRequiredException | AuthorDoesNotExistException | BeforeCommitIdAndAfterCommitIdAreSameException | BlobIdDoesNotExistException | BlobIdRequiredException | BranchDoesNotExistException | BranchNameExistsException | BranchNameIsTagNameException | BranchNameRequiredException | CannotDeleteApprovalRuleFromTemplateException | CannotModifyApprovalRuleFromTemplateException | ClientRequestTokenRequiredException | CommentContentRequiredException | CommentContentSizeLimitExceededException | CommentDeletedException | CommentDoesNotExistException | CommentIdRequiredException | CommentNotCreatedByCallerException | CommitDoesNotExistException | CommitIdDoesNotExistException | CommitIdRequiredException | CommitIdsLimitExceededException | CommitIdsListRequiredException | CommitMessageLengthExceededException | CommitRequiredException | ConcurrentReferenceUpdateException | DefaultBranchCannotBeDeletedException | DirectoryNameConflictsWithFileNameException | EncryptionIntegrityChecksFailedException | EncryptionKeyAccessDeniedException | EncryptionKeyDisabledException | EncryptionKeyInvalidIdException | EncryptionKeyInvalidUsageException | EncryptionKeyNotFoundException | EncryptionKeyRequiredException | EncryptionKeyUnavailableException | FileContentAndSourceFileSpecifiedException | FileContentRequiredException | FileContentSizeLimitExceededException | FileDoesNotExistException | FileEntryRequiredException | FileModeRequiredException | FileNameConflictsWithDirectoryNameException | FilePathConflictsWithSubmodulePathException | FileTooLargeException | FolderContentSizeLimitExceededException | FolderDoesNotExistException | IdempotencyParameterMismatchException | InvalidActorArnException | InvalidApprovalRuleContentException | InvalidApprovalRuleNameException | InvalidApprovalRuleTemplateContentException | InvalidApprovalRuleTemplateDescriptionException | InvalidApprovalRuleTemplateNameException | InvalidApprovalStateException | InvalidAuthorArnException | InvalidBlobIdException | InvalidBranchNameException | InvalidClientRequestTokenException | InvalidCommentIdException | InvalidCommitException | InvalidCommitIdException | InvalidConflictDetailLevelException | InvalidConflictResolutionException | InvalidConflictResolutionStrategyException | InvalidContinuationTokenException | InvalidDeletionParameterException | InvalidDescriptionException | InvalidDestinationCommitSpecifierException | InvalidEmailException | InvalidFileLocationException | InvalidFileModeException | InvalidFilePositionException | InvalidMaxConflictFilesException | InvalidMaxMergeHunksException | InvalidMaxResultsException | InvalidMergeOptionException | InvalidOrderException | InvalidOverrideStatusException | InvalidParentCommitIdException | InvalidPathException | InvalidPullRequestEventTypeException | InvalidPullRequestIdException | InvalidPullRequestStatusException | InvalidPullRequestStatusUpdateException | InvalidReactionUserArnException | InvalidReactionValueException | InvalidReferenceNameException | InvalidRelativeFileVersionEnumException | InvalidReplacementContentException | InvalidReplacementTypeException | InvalidRepositoryDescriptionException | InvalidRepositoryNameException | InvalidRepositoryTriggerBranchNameException | InvalidRepositoryTriggerCustomDataException | InvalidRepositoryTriggerDestinationArnException | InvalidRepositoryTriggerEventsException | InvalidRepositoryTriggerNameException | InvalidRepositoryTriggerRegionException | InvalidResourceArnException | InvalidRevisionIdException | InvalidRuleContentSha256Exception | InvalidSortByException | InvalidSourceCommitSpecifierException | InvalidSystemTagUsageException | InvalidTagKeysListException | InvalidTagsMapException | InvalidTargetBranchException | InvalidTargetException | InvalidTargetsException | InvalidTitleException | ManualMergeRequiredException | MaximumBranchesExceededException | MaximumConflictResolutionEntriesExceededException | MaximumFileContentToLoadExceededException | MaximumFileEntriesExceededException | MaximumItemsToCompareExceededException | MaximumNumberOfApprovalsExceededException | MaximumOpenPullRequestsExceededException | MaximumRepositoryNamesExceededException | MaximumRepositoryTriggersExceededException | MaximumRuleTemplatesAssociatedWithRepositoryException | MergeOptionRequiredException | MultipleConflictResolutionEntriesException | MultipleRepositoriesInPullRequestException | NameLengthExceededException | NoChangeException | NumberOfRuleTemplatesExceededException | NumberOfRulesExceededException | OperationNotAllowedException | OverrideAlreadySetException | OverrideStatusRequiredException | ParentCommitDoesNotExistException | ParentCommitIdOutdatedException | ParentCommitIdRequiredException | PathDoesNotExistException | PathRequiredException | PullRequestAlreadyClosedException | PullRequestApprovalRulesNotSatisfiedException | PullRequestCannotBeApprovedByAuthorException | PullRequestDoesNotExistException | PullRequestIdRequiredException | PullRequestStatusRequiredException | PutFileEntryConflictException | ReactionLimitExceededException | ReactionValueRequiredException | ReferenceDoesNotExistException | ReferenceNameRequiredException | ReferenceTypeNotSupportedException | ReplacementContentRequiredException | ReplacementTypeRequiredException | RepositoryDoesNotExistException | RepositoryLimitExceededException | RepositoryNameExistsException | RepositoryNameRequiredException | RepositoryNamesRequiredException | RepositoryNotAssociatedWithPullRequestException | RepositoryTriggerBranchNameListRequiredException | RepositoryTriggerDestinationArnRequiredException | RepositoryTriggerEventsListRequiredException | RepositoryTriggerNameRequiredException | RepositoryTriggersListRequiredException | ResourceArnRequiredException | RestrictedSourceFileException | RevisionIdRequiredException | RevisionNotCurrentException | SameFileContentException | SamePathRequestException | SourceAndDestinationAreSameException | SourceFileOrContentRequiredException | TagKeysListRequiredException | TagPolicyException | TagsMapRequiredException | TargetRequiredException | TargetsRequiredException | TipOfSourceReferenceIsDifferentException | TipsDivergenceExceededException | TitleRequiredException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/codeconnections/index.ts b/src/services/codeconnections/index.ts index af5449e3..b325f759 100644 --- a/src/services/codeconnections/index.ts +++ b/src/services/codeconnections/index.ts @@ -5,24 +5,7 @@ import type { CodeConnections as _CodeConnectionsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/codeconnections/types.ts b/src/services/codeconnections/types.ts index d3f74ff6..393a0184 100644 --- a/src/services/codeconnections/types.ts +++ b/src/services/codeconnections/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class CodeConnections extends AWSServiceClient { @@ -41,39 +8,25 @@ export declare class CodeConnections extends AWSServiceClient { input: CreateConnectionInput, ): Effect.Effect< CreateConnectionOutput, - | LimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | CommonAwsError + LimitExceededException | ResourceNotFoundException | ResourceUnavailableException | CommonAwsError >; createHost( input: CreateHostInput, - ): Effect.Effect; + ): Effect.Effect< + CreateHostOutput, + LimitExceededException | CommonAwsError + >; createRepositoryLink( input: CreateRepositoryLinkInput, ): Effect.Effect< CreateRepositoryLinkOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createSyncConfiguration( input: CreateSyncConfigurationInput, ): Effect.Effect< CreateSyncConfigurationOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; deleteConnection( input: DeleteConnectionInput, @@ -91,27 +44,13 @@ export declare class CodeConnections extends AWSServiceClient { input: DeleteRepositoryLinkInput, ): Effect.Effect< DeleteRepositoryLinkOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | SyncConfigurationStillExistsException - | ThrottlingException - | UnsupportedProviderTypeException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | ResourceNotFoundException | SyncConfigurationStillExistsException | ThrottlingException | UnsupportedProviderTypeException | CommonAwsError >; deleteSyncConfiguration( input: DeleteSyncConfigurationInput, ): Effect.Effect< DeleteSyncConfigurationOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | LimitExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | LimitExceededException | ThrottlingException | CommonAwsError >; getConnection( input: GetConnectionInput, @@ -129,57 +68,31 @@ export declare class CodeConnections extends AWSServiceClient { input: GetRepositoryLinkInput, ): Effect.Effect< GetRepositoryLinkOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getRepositorySyncStatus( input: GetRepositorySyncStatusInput, ): Effect.Effect< GetRepositorySyncStatusOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getResourceSyncStatus( input: GetResourceSyncStatusInput, ): Effect.Effect< GetResourceSyncStatusOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSyncBlockerSummary( input: GetSyncBlockerSummaryInput, ): Effect.Effect< GetSyncBlockerSummaryOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSyncConfiguration( input: GetSyncConfigurationInput, ): Effect.Effect< GetSyncConfigurationOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listConnections( input: ListConnectionsInput, @@ -189,40 +102,27 @@ export declare class CodeConnections extends AWSServiceClient { >; listHosts( input: ListHostsInput, - ): Effect.Effect; + ): Effect.Effect< + ListHostsOutput, + CommonAwsError + >; listRepositoryLinks( input: ListRepositoryLinksInput, ): Effect.Effect< ListRepositoryLinksOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRepositorySyncDefinitions( input: ListRepositorySyncDefinitionsInput, ): Effect.Effect< ListRepositorySyncDefinitionsOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listSyncConfigurations( input: ListSyncConfigurationsInput, ): Effect.Effect< ListSyncConfigurationsOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, @@ -246,50 +146,25 @@ export declare class CodeConnections extends AWSServiceClient { input: UpdateHostInput, ): Effect.Effect< UpdateHostOutput, - | ConflictException - | ResourceNotFoundException - | ResourceUnavailableException - | UnsupportedOperationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ResourceUnavailableException | UnsupportedOperationException | CommonAwsError >; updateRepositoryLink( input: UpdateRepositoryLinkInput, ): Effect.Effect< UpdateRepositoryLinkOutput, - | AccessDeniedException - | ConditionalCheckFailedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | UpdateOutOfSyncException - | CommonAwsError + AccessDeniedException | ConditionalCheckFailedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | UpdateOutOfSyncException | CommonAwsError >; updateSyncBlocker( input: UpdateSyncBlockerInput, ): Effect.Effect< UpdateSyncBlockerOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | RetryLatestCommitFailedException - | SyncBlockerDoesNotExistException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | RetryLatestCommitFailedException | SyncBlockerDoesNotExistException | ThrottlingException | CommonAwsError >; updateSyncConfiguration( input: UpdateSyncConfigurationInput, ): Effect.Effect< UpdateSyncConfigurationOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | UpdateOutOfSyncException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | UpdateOutOfSyncException | CommonAwsError >; } @@ -387,20 +262,24 @@ export interface CreateSyncConfigurationOutput { export interface DeleteConnectionInput { ConnectionArn: string; } -export interface DeleteConnectionOutput {} +export interface DeleteConnectionOutput { +} export interface DeleteHostInput { HostArn: string; } -export interface DeleteHostOutput {} +export interface DeleteHostOutput { +} export interface DeleteRepositoryLinkInput { RepositoryLinkId: string; } -export interface DeleteRepositoryLinkOutput {} +export interface DeleteRepositoryLinkOutput { +} export interface DeleteSyncConfigurationInput { SyncType: SyncConfigurationType; ResourceName: string; } -export interface DeleteSyncConfigurationOutput {} +export interface DeleteSyncConfigurationOutput { +} export type DeploymentFilePath = string; export type Directory = string; @@ -562,13 +441,7 @@ export type OwnerId = string; export type Parent = string; -export type ProviderType = - | "Bitbucket" - | "GitHub" - | "GitHubEnterpriseServer" - | "GitLab" - | "GitLabSelfManaged" - | "AzureDevOps"; +export type ProviderType = "Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged" | "AzureDevOps"; export type PublishDeploymentStatus = "ENABLED" | "DISABLED"; export type PullRequestComment = "ENABLED" | "DISABLED"; export type RepositoryLinkArn = string; @@ -606,12 +479,7 @@ export interface RepositorySyncEvent { Type: string; } export type RepositorySyncEventList = Array; -export type RepositorySyncStatus = - | "FAILED" - | "INITIATED" - | "IN_PROGRESS" - | "SUCCEEDED" - | "QUEUED"; +export type RepositorySyncStatus = "FAILED" | "INITIATED" | "IN_PROGRESS" | "SUCCEEDED" | "QUEUED"; export type ResolvedReason = string; export declare class ResourceAlreadyExistsException extends EffectData.TaggedError( @@ -641,11 +509,7 @@ export interface ResourceSyncEvent { Type: string; } export type ResourceSyncEventList = Array; -export type ResourceSyncStatus = - | "FAILED" - | "INITIATED" - | "IN_PROGRESS" - | "SUCCEEDED"; +export type ResourceSyncStatus = "FAILED" | "INITIATED" | "IN_PROGRESS" | "SUCCEEDED"; export declare class ResourceUnavailableException extends EffectData.TaggedError( "ResourceUnavailableException", )<{ @@ -736,7 +600,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type Target = string; @@ -767,13 +632,15 @@ export interface UntagResourceInput { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateHostInput { HostArn: string; ProviderEndpoint?: string; VpcConfiguration?: VpcConfiguration; } -export interface UpdateHostOutput {} +export interface UpdateHostOutput { +} export declare class UpdateOutOfSyncException extends EffectData.TaggedError( "UpdateOutOfSyncException", )<{ @@ -835,7 +702,9 @@ export declare namespace CreateConnection { export declare namespace CreateHost { export type Input = CreateHostInput; export type Output = CreateHostOutput; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace CreateRepositoryLink { @@ -869,7 +738,9 @@ export declare namespace CreateSyncConfiguration { export declare namespace DeleteConnection { export type Input = DeleteConnectionInput; export type Output = DeleteConnectionOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DeleteHost { @@ -991,13 +862,16 @@ export declare namespace GetSyncConfiguration { export declare namespace ListConnections { export type Input = ListConnectionsInput; export type Output = ListConnectionsOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListHosts { export type Input = ListHostsInput; export type Output = ListHostsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListRepositoryLinks { @@ -1040,7 +914,9 @@ export declare namespace ListSyncConfigurations { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceInput; export type Output = ListTagsForResourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -1055,7 +931,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceInput; export type Output = UntagResourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UpdateHost { @@ -1111,22 +989,5 @@ export declare namespace UpdateSyncConfiguration { | CommonAwsError; } -export type CodeConnectionsErrors = - | AccessDeniedException - | ConcurrentModificationException - | ConditionalCheckFailedException - | ConflictException - | InternalServerException - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | RetryLatestCommitFailedException - | SyncBlockerDoesNotExistException - | SyncConfigurationStillExistsException - | ThrottlingException - | UnsupportedOperationException - | UnsupportedProviderTypeException - | UpdateOutOfSyncException - | CommonAwsError; +export type CodeConnectionsErrors = AccessDeniedException | ConcurrentModificationException | ConditionalCheckFailedException | ConflictException | InternalServerException | InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ResourceUnavailableException | RetryLatestCommitFailedException | SyncBlockerDoesNotExistException | SyncConfigurationStillExistsException | ThrottlingException | UnsupportedOperationException | UnsupportedProviderTypeException | UpdateOutOfSyncException | CommonAwsError; + diff --git a/src/services/codedeploy/index.ts b/src/services/codedeploy/index.ts index ec178438..24c230fc 100644 --- a/src/services/codedeploy/index.ts +++ b/src/services/codedeploy/index.ts @@ -5,25 +5,7 @@ import type { CodeDeploy as _CodeDeployClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/codedeploy/types.ts b/src/services/codedeploy/types.ts index 67c1fe98..da8f1e12 100644 --- a/src/services/codedeploy/types.ts +++ b/src/services/codedeploy/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class CodeDeploy extends AWSServiceClient { @@ -42,363 +8,169 @@ export declare class CodeDeploy extends AWSServiceClient { input: AddTagsToOnPremisesInstancesInput, ): Effect.Effect< {}, - | InstanceLimitExceededException - | InstanceNameRequiredException - | InstanceNotRegisteredException - | InvalidInstanceNameException - | InvalidTagException - | TagLimitExceededException - | TagRequiredException - | CommonAwsError + InstanceLimitExceededException | InstanceNameRequiredException | InstanceNotRegisteredException | InvalidInstanceNameException | InvalidTagException | TagLimitExceededException | TagRequiredException | CommonAwsError >; batchGetApplicationRevisions( input: BatchGetApplicationRevisionsInput, ): Effect.Effect< BatchGetApplicationRevisionsOutput, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | BatchLimitExceededException - | InvalidApplicationNameException - | InvalidRevisionException - | RevisionRequiredException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | BatchLimitExceededException | InvalidApplicationNameException | InvalidRevisionException | RevisionRequiredException | CommonAwsError >; batchGetApplications( input: BatchGetApplicationsInput, ): Effect.Effect< BatchGetApplicationsOutput, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | BatchLimitExceededException - | InvalidApplicationNameException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | BatchLimitExceededException | InvalidApplicationNameException | CommonAwsError >; batchGetDeploymentGroups( input: BatchGetDeploymentGroupsInput, ): Effect.Effect< BatchGetDeploymentGroupsOutput, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | BatchLimitExceededException - | DeploymentConfigDoesNotExistException - | DeploymentGroupNameRequiredException - | InvalidApplicationNameException - | InvalidDeploymentGroupNameException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | BatchLimitExceededException | DeploymentConfigDoesNotExistException | DeploymentGroupNameRequiredException | InvalidApplicationNameException | InvalidDeploymentGroupNameException | CommonAwsError >; batchGetDeploymentInstances( input: BatchGetDeploymentInstancesInput, ): Effect.Effect< BatchGetDeploymentInstancesOutput, - | BatchLimitExceededException - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | InstanceIdRequiredException - | InvalidComputePlatformException - | InvalidDeploymentIdException - | InvalidInstanceNameException - | CommonAwsError + BatchLimitExceededException | DeploymentDoesNotExistException | DeploymentIdRequiredException | InstanceIdRequiredException | InvalidComputePlatformException | InvalidDeploymentIdException | InvalidInstanceNameException | CommonAwsError >; batchGetDeployments( input: BatchGetDeploymentsInput, ): Effect.Effect< BatchGetDeploymentsOutput, - | BatchLimitExceededException - | DeploymentIdRequiredException - | InvalidDeploymentIdException - | CommonAwsError + BatchLimitExceededException | DeploymentIdRequiredException | InvalidDeploymentIdException | CommonAwsError >; batchGetDeploymentTargets( input: BatchGetDeploymentTargetsInput, ): Effect.Effect< BatchGetDeploymentTargetsOutput, - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | DeploymentNotStartedException - | DeploymentTargetDoesNotExistException - | DeploymentTargetIdRequiredException - | DeploymentTargetListSizeExceededException - | InstanceDoesNotExistException - | InvalidDeploymentIdException - | InvalidDeploymentTargetIdException - | CommonAwsError + DeploymentDoesNotExistException | DeploymentIdRequiredException | DeploymentNotStartedException | DeploymentTargetDoesNotExistException | DeploymentTargetIdRequiredException | DeploymentTargetListSizeExceededException | InstanceDoesNotExistException | InvalidDeploymentIdException | InvalidDeploymentTargetIdException | CommonAwsError >; batchGetOnPremisesInstances( input: BatchGetOnPremisesInstancesInput, ): Effect.Effect< BatchGetOnPremisesInstancesOutput, - | BatchLimitExceededException - | InstanceNameRequiredException - | InvalidInstanceNameException - | CommonAwsError + BatchLimitExceededException | InstanceNameRequiredException | InvalidInstanceNameException | CommonAwsError >; continueDeployment( input: ContinueDeploymentInput, ): Effect.Effect< {}, - | DeploymentAlreadyCompletedException - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | DeploymentIsNotInReadyStateException - | InvalidDeploymentIdException - | InvalidDeploymentStatusException - | InvalidDeploymentWaitTypeException - | UnsupportedActionForDeploymentTypeException - | CommonAwsError + DeploymentAlreadyCompletedException | DeploymentDoesNotExistException | DeploymentIdRequiredException | DeploymentIsNotInReadyStateException | InvalidDeploymentIdException | InvalidDeploymentStatusException | InvalidDeploymentWaitTypeException | UnsupportedActionForDeploymentTypeException | CommonAwsError >; createApplication( input: CreateApplicationInput, ): Effect.Effect< CreateApplicationOutput, - | ApplicationAlreadyExistsException - | ApplicationLimitExceededException - | ApplicationNameRequiredException - | InvalidApplicationNameException - | InvalidComputePlatformException - | InvalidTagsToAddException - | CommonAwsError + ApplicationAlreadyExistsException | ApplicationLimitExceededException | ApplicationNameRequiredException | InvalidApplicationNameException | InvalidComputePlatformException | InvalidTagsToAddException | CommonAwsError >; createDeployment( input: CreateDeploymentInput, ): Effect.Effect< CreateDeploymentOutput, - | AlarmsLimitExceededException - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | DeploymentConfigDoesNotExistException - | DeploymentGroupDoesNotExistException - | DeploymentGroupNameRequiredException - | DeploymentLimitExceededException - | DescriptionTooLongException - | InvalidAlarmConfigException - | InvalidApplicationNameException - | InvalidAutoRollbackConfigException - | InvalidAutoScalingGroupException - | InvalidDeploymentConfigNameException - | InvalidDeploymentGroupNameException - | InvalidFileExistsBehaviorException - | InvalidGitHubAccountTokenException - | InvalidIgnoreApplicationStopFailuresValueException - | InvalidLoadBalancerInfoException - | InvalidRevisionException - | InvalidRoleException - | InvalidTargetInstancesException - | InvalidTrafficRoutingConfigurationException - | InvalidUpdateOutdatedInstancesOnlyValueException - | RevisionDoesNotExistException - | RevisionRequiredException - | ThrottlingException - | CommonAwsError + AlarmsLimitExceededException | ApplicationDoesNotExistException | ApplicationNameRequiredException | DeploymentConfigDoesNotExistException | DeploymentGroupDoesNotExistException | DeploymentGroupNameRequiredException | DeploymentLimitExceededException | DescriptionTooLongException | InvalidAlarmConfigException | InvalidApplicationNameException | InvalidAutoRollbackConfigException | InvalidAutoScalingGroupException | InvalidDeploymentConfigNameException | InvalidDeploymentGroupNameException | InvalidFileExistsBehaviorException | InvalidGitHubAccountTokenException | InvalidIgnoreApplicationStopFailuresValueException | InvalidLoadBalancerInfoException | InvalidRevisionException | InvalidRoleException | InvalidTargetInstancesException | InvalidTrafficRoutingConfigurationException | InvalidUpdateOutdatedInstancesOnlyValueException | RevisionDoesNotExistException | RevisionRequiredException | ThrottlingException | CommonAwsError >; createDeploymentConfig( input: CreateDeploymentConfigInput, ): Effect.Effect< CreateDeploymentConfigOutput, - | DeploymentConfigAlreadyExistsException - | DeploymentConfigLimitExceededException - | DeploymentConfigNameRequiredException - | InvalidComputePlatformException - | InvalidDeploymentConfigNameException - | InvalidMinimumHealthyHostValueException - | InvalidTrafficRoutingConfigurationException - | InvalidZonalDeploymentConfigurationException - | CommonAwsError + DeploymentConfigAlreadyExistsException | DeploymentConfigLimitExceededException | DeploymentConfigNameRequiredException | InvalidComputePlatformException | InvalidDeploymentConfigNameException | InvalidMinimumHealthyHostValueException | InvalidTrafficRoutingConfigurationException | InvalidZonalDeploymentConfigurationException | CommonAwsError >; createDeploymentGroup( input: CreateDeploymentGroupInput, ): Effect.Effect< CreateDeploymentGroupOutput, - | AlarmsLimitExceededException - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | DeploymentConfigDoesNotExistException - | DeploymentGroupAlreadyExistsException - | DeploymentGroupLimitExceededException - | DeploymentGroupNameRequiredException - | ECSServiceMappingLimitExceededException - | InvalidAlarmConfigException - | InvalidApplicationNameException - | InvalidAutoRollbackConfigException - | InvalidAutoScalingGroupException - | InvalidBlueGreenDeploymentConfigurationException - | InvalidDeploymentConfigNameException - | InvalidDeploymentGroupNameException - | InvalidDeploymentStyleException - | InvalidEC2TagCombinationException - | InvalidEC2TagException - | InvalidECSServiceException - | InvalidInputException - | InvalidLoadBalancerInfoException - | InvalidOnPremisesTagCombinationException - | InvalidRoleException - | InvalidTagException - | InvalidTagsToAddException - | InvalidTargetGroupPairException - | InvalidTrafficRoutingConfigurationException - | InvalidTriggerConfigException - | LifecycleHookLimitExceededException - | RoleRequiredException - | TagSetListLimitExceededException - | ThrottlingException - | TriggerTargetsLimitExceededException - | CommonAwsError + AlarmsLimitExceededException | ApplicationDoesNotExistException | ApplicationNameRequiredException | DeploymentConfigDoesNotExistException | DeploymentGroupAlreadyExistsException | DeploymentGroupLimitExceededException | DeploymentGroupNameRequiredException | ECSServiceMappingLimitExceededException | InvalidAlarmConfigException | InvalidApplicationNameException | InvalidAutoRollbackConfigException | InvalidAutoScalingGroupException | InvalidBlueGreenDeploymentConfigurationException | InvalidDeploymentConfigNameException | InvalidDeploymentGroupNameException | InvalidDeploymentStyleException | InvalidEC2TagCombinationException | InvalidEC2TagException | InvalidECSServiceException | InvalidInputException | InvalidLoadBalancerInfoException | InvalidOnPremisesTagCombinationException | InvalidRoleException | InvalidTagException | InvalidTagsToAddException | InvalidTargetGroupPairException | InvalidTrafficRoutingConfigurationException | InvalidTriggerConfigException | LifecycleHookLimitExceededException | RoleRequiredException | TagSetListLimitExceededException | ThrottlingException | TriggerTargetsLimitExceededException | CommonAwsError >; deleteApplication( input: DeleteApplicationInput, ): Effect.Effect< {}, - | ApplicationNameRequiredException - | InvalidApplicationNameException - | InvalidRoleException - | CommonAwsError + ApplicationNameRequiredException | InvalidApplicationNameException | InvalidRoleException | CommonAwsError >; deleteDeploymentConfig( input: DeleteDeploymentConfigInput, ): Effect.Effect< {}, - | DeploymentConfigInUseException - | DeploymentConfigNameRequiredException - | InvalidDeploymentConfigNameException - | InvalidOperationException - | CommonAwsError + DeploymentConfigInUseException | DeploymentConfigNameRequiredException | InvalidDeploymentConfigNameException | InvalidOperationException | CommonAwsError >; deleteDeploymentGroup( input: DeleteDeploymentGroupInput, ): Effect.Effect< DeleteDeploymentGroupOutput, - | ApplicationNameRequiredException - | DeploymentGroupNameRequiredException - | InvalidApplicationNameException - | InvalidDeploymentGroupNameException - | InvalidRoleException - | CommonAwsError + ApplicationNameRequiredException | DeploymentGroupNameRequiredException | InvalidApplicationNameException | InvalidDeploymentGroupNameException | InvalidRoleException | CommonAwsError >; deleteGitHubAccountToken( input: DeleteGitHubAccountTokenInput, ): Effect.Effect< DeleteGitHubAccountTokenOutput, - | GitHubAccountTokenDoesNotExistException - | GitHubAccountTokenNameRequiredException - | InvalidGitHubAccountTokenNameException - | OperationNotSupportedException - | ResourceValidationException - | CommonAwsError + GitHubAccountTokenDoesNotExistException | GitHubAccountTokenNameRequiredException | InvalidGitHubAccountTokenNameException | OperationNotSupportedException | ResourceValidationException | CommonAwsError >; deleteResourcesByExternalId( input: DeleteResourcesByExternalIdInput, - ): Effect.Effect; + ): Effect.Effect< + DeleteResourcesByExternalIdOutput, + CommonAwsError + >; deregisterOnPremisesInstance( input: DeregisterOnPremisesInstanceInput, ): Effect.Effect< {}, - | InstanceNameRequiredException - | InvalidInstanceNameException - | CommonAwsError + InstanceNameRequiredException | InvalidInstanceNameException | CommonAwsError >; getApplication( input: GetApplicationInput, ): Effect.Effect< GetApplicationOutput, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | InvalidApplicationNameException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | InvalidApplicationNameException | CommonAwsError >; getApplicationRevision( input: GetApplicationRevisionInput, ): Effect.Effect< GetApplicationRevisionOutput, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | InvalidApplicationNameException - | InvalidRevisionException - | RevisionDoesNotExistException - | RevisionRequiredException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | InvalidApplicationNameException | InvalidRevisionException | RevisionDoesNotExistException | RevisionRequiredException | CommonAwsError >; getDeployment( input: GetDeploymentInput, ): Effect.Effect< GetDeploymentOutput, - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | InvalidDeploymentIdException - | CommonAwsError + DeploymentDoesNotExistException | DeploymentIdRequiredException | InvalidDeploymentIdException | CommonAwsError >; getDeploymentConfig( input: GetDeploymentConfigInput, ): Effect.Effect< GetDeploymentConfigOutput, - | DeploymentConfigDoesNotExistException - | DeploymentConfigNameRequiredException - | InvalidComputePlatformException - | InvalidDeploymentConfigNameException - | CommonAwsError + DeploymentConfigDoesNotExistException | DeploymentConfigNameRequiredException | InvalidComputePlatformException | InvalidDeploymentConfigNameException | CommonAwsError >; getDeploymentGroup( input: GetDeploymentGroupInput, ): Effect.Effect< GetDeploymentGroupOutput, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | DeploymentConfigDoesNotExistException - | DeploymentGroupDoesNotExistException - | DeploymentGroupNameRequiredException - | InvalidApplicationNameException - | InvalidDeploymentGroupNameException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | DeploymentConfigDoesNotExistException | DeploymentGroupDoesNotExistException | DeploymentGroupNameRequiredException | InvalidApplicationNameException | InvalidDeploymentGroupNameException | CommonAwsError >; getDeploymentInstance( input: GetDeploymentInstanceInput, ): Effect.Effect< GetDeploymentInstanceOutput, - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | InstanceDoesNotExistException - | InstanceIdRequiredException - | InvalidComputePlatformException - | InvalidDeploymentIdException - | InvalidInstanceNameException - | CommonAwsError + DeploymentDoesNotExistException | DeploymentIdRequiredException | InstanceDoesNotExistException | InstanceIdRequiredException | InvalidComputePlatformException | InvalidDeploymentIdException | InvalidInstanceNameException | CommonAwsError >; getDeploymentTarget( input: GetDeploymentTargetInput, ): Effect.Effect< GetDeploymentTargetOutput, - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | DeploymentNotStartedException - | DeploymentTargetDoesNotExistException - | DeploymentTargetIdRequiredException - | InvalidDeploymentIdException - | InvalidDeploymentTargetIdException - | InvalidInstanceNameException - | CommonAwsError + DeploymentDoesNotExistException | DeploymentIdRequiredException | DeploymentNotStartedException | DeploymentTargetDoesNotExistException | DeploymentTargetIdRequiredException | InvalidDeploymentIdException | InvalidDeploymentTargetIdException | InvalidInstanceNameException | CommonAwsError >; getOnPremisesInstance( input: GetOnPremisesInstanceInput, ): Effect.Effect< GetOnPremisesInstanceOutput, - | InstanceNameRequiredException - | InstanceNotRegisteredException - | InvalidInstanceNameException - | CommonAwsError + InstanceNameRequiredException | InstanceNotRegisteredException | InvalidInstanceNameException | CommonAwsError >; listApplicationRevisions( input: ListApplicationRevisionsInput, ): Effect.Effect< ListApplicationRevisionsOutput, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | BucketNameFilterRequiredException - | InvalidApplicationNameException - | InvalidBucketNameFilterException - | InvalidDeployedStateFilterException - | InvalidKeyPrefixFilterException - | InvalidNextTokenException - | InvalidSortByException - | InvalidSortOrderException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | BucketNameFilterRequiredException | InvalidApplicationNameException | InvalidBucketNameFilterException | InvalidDeployedStateFilterException | InvalidKeyPrefixFilterException | InvalidNextTokenException | InvalidSortByException | InvalidSortOrderException | CommonAwsError >; listApplications( input: ListApplicationsInput, @@ -416,239 +188,103 @@ export declare class CodeDeploy extends AWSServiceClient { input: ListDeploymentGroupsInput, ): Effect.Effect< ListDeploymentGroupsOutput, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | InvalidApplicationNameException - | InvalidNextTokenException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | InvalidApplicationNameException | InvalidNextTokenException | CommonAwsError >; listDeploymentInstances( input: ListDeploymentInstancesInput, ): Effect.Effect< ListDeploymentInstancesOutput, - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | DeploymentNotStartedException - | InvalidComputePlatformException - | InvalidDeploymentIdException - | InvalidDeploymentInstanceTypeException - | InvalidInstanceStatusException - | InvalidInstanceTypeException - | InvalidNextTokenException - | InvalidTargetFilterNameException - | CommonAwsError + DeploymentDoesNotExistException | DeploymentIdRequiredException | DeploymentNotStartedException | InvalidComputePlatformException | InvalidDeploymentIdException | InvalidDeploymentInstanceTypeException | InvalidInstanceStatusException | InvalidInstanceTypeException | InvalidNextTokenException | InvalidTargetFilterNameException | CommonAwsError >; listDeployments( input: ListDeploymentsInput, ): Effect.Effect< ListDeploymentsOutput, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | DeploymentGroupDoesNotExistException - | DeploymentGroupNameRequiredException - | InvalidApplicationNameException - | InvalidDeploymentGroupNameException - | InvalidDeploymentStatusException - | InvalidExternalIdException - | InvalidInputException - | InvalidNextTokenException - | InvalidTimeRangeException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | DeploymentGroupDoesNotExistException | DeploymentGroupNameRequiredException | InvalidApplicationNameException | InvalidDeploymentGroupNameException | InvalidDeploymentStatusException | InvalidExternalIdException | InvalidInputException | InvalidNextTokenException | InvalidTimeRangeException | CommonAwsError >; listDeploymentTargets( input: ListDeploymentTargetsInput, ): Effect.Effect< ListDeploymentTargetsOutput, - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | DeploymentNotStartedException - | InvalidDeploymentIdException - | InvalidDeploymentInstanceTypeException - | InvalidInstanceStatusException - | InvalidInstanceTypeException - | InvalidNextTokenException - | InvalidTargetFilterNameException - | CommonAwsError + DeploymentDoesNotExistException | DeploymentIdRequiredException | DeploymentNotStartedException | InvalidDeploymentIdException | InvalidDeploymentInstanceTypeException | InvalidInstanceStatusException | InvalidInstanceTypeException | InvalidNextTokenException | InvalidTargetFilterNameException | CommonAwsError >; listGitHubAccountTokenNames( input: ListGitHubAccountTokenNamesInput, ): Effect.Effect< ListGitHubAccountTokenNamesOutput, - | InvalidNextTokenException - | OperationNotSupportedException - | ResourceValidationException - | CommonAwsError + InvalidNextTokenException | OperationNotSupportedException | ResourceValidationException | CommonAwsError >; listOnPremisesInstances( input: ListOnPremisesInstancesInput, ): Effect.Effect< ListOnPremisesInstancesOutput, - | InvalidNextTokenException - | InvalidRegistrationStatusException - | InvalidTagFilterException - | CommonAwsError + InvalidNextTokenException | InvalidRegistrationStatusException | InvalidTagFilterException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | ArnNotSupportedException - | InvalidArnException - | ResourceArnRequiredException - | CommonAwsError + ArnNotSupportedException | InvalidArnException | ResourceArnRequiredException | CommonAwsError >; putLifecycleEventHookExecutionStatus( input: PutLifecycleEventHookExecutionStatusInput, ): Effect.Effect< PutLifecycleEventHookExecutionStatusOutput, - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | InvalidDeploymentIdException - | InvalidLifecycleEventHookExecutionIdException - | InvalidLifecycleEventHookExecutionStatusException - | LifecycleEventAlreadyCompletedException - | UnsupportedActionForDeploymentTypeException - | CommonAwsError + DeploymentDoesNotExistException | DeploymentIdRequiredException | InvalidDeploymentIdException | InvalidLifecycleEventHookExecutionIdException | InvalidLifecycleEventHookExecutionStatusException | LifecycleEventAlreadyCompletedException | UnsupportedActionForDeploymentTypeException | CommonAwsError >; registerApplicationRevision( input: RegisterApplicationRevisionInput, ): Effect.Effect< {}, - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | DescriptionTooLongException - | InvalidApplicationNameException - | InvalidRevisionException - | RevisionRequiredException - | CommonAwsError + ApplicationDoesNotExistException | ApplicationNameRequiredException | DescriptionTooLongException | InvalidApplicationNameException | InvalidRevisionException | RevisionRequiredException | CommonAwsError >; registerOnPremisesInstance( input: RegisterOnPremisesInstanceInput, ): Effect.Effect< {}, - | IamArnRequiredException - | IamSessionArnAlreadyRegisteredException - | IamUserArnAlreadyRegisteredException - | IamUserArnRequiredException - | InstanceNameAlreadyRegisteredException - | InstanceNameRequiredException - | InvalidIamSessionArnException - | InvalidIamUserArnException - | InvalidInstanceNameException - | MultipleIamArnsProvidedException - | CommonAwsError + IamArnRequiredException | IamSessionArnAlreadyRegisteredException | IamUserArnAlreadyRegisteredException | IamUserArnRequiredException | InstanceNameAlreadyRegisteredException | InstanceNameRequiredException | InvalidIamSessionArnException | InvalidIamUserArnException | InvalidInstanceNameException | MultipleIamArnsProvidedException | CommonAwsError >; removeTagsFromOnPremisesInstances( input: RemoveTagsFromOnPremisesInstancesInput, ): Effect.Effect< {}, - | InstanceLimitExceededException - | InstanceNameRequiredException - | InstanceNotRegisteredException - | InvalidInstanceNameException - | InvalidTagException - | TagLimitExceededException - | TagRequiredException - | CommonAwsError + InstanceLimitExceededException | InstanceNameRequiredException | InstanceNotRegisteredException | InvalidInstanceNameException | InvalidTagException | TagLimitExceededException | TagRequiredException | CommonAwsError >; skipWaitTimeForInstanceTermination( input: SkipWaitTimeForInstanceTerminationInput, ): Effect.Effect< {}, - | DeploymentAlreadyCompletedException - | DeploymentDoesNotExistException - | DeploymentIdRequiredException - | DeploymentNotStartedException - | InvalidDeploymentIdException - | UnsupportedActionForDeploymentTypeException - | CommonAwsError + DeploymentAlreadyCompletedException | DeploymentDoesNotExistException | DeploymentIdRequiredException | DeploymentNotStartedException | InvalidDeploymentIdException | UnsupportedActionForDeploymentTypeException | CommonAwsError >; stopDeployment( input: StopDeploymentInput, ): Effect.Effect< StopDeploymentOutput, - | DeploymentAlreadyCompletedException - | DeploymentDoesNotExistException - | DeploymentGroupDoesNotExistException - | DeploymentIdRequiredException - | InvalidDeploymentIdException - | UnsupportedActionForDeploymentTypeException - | CommonAwsError + DeploymentAlreadyCompletedException | DeploymentDoesNotExistException | DeploymentGroupDoesNotExistException | DeploymentIdRequiredException | InvalidDeploymentIdException | UnsupportedActionForDeploymentTypeException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | ApplicationDoesNotExistException - | ArnNotSupportedException - | DeploymentConfigDoesNotExistException - | DeploymentGroupDoesNotExistException - | InvalidArnException - | InvalidTagsToAddException - | ResourceArnRequiredException - | TagRequiredException - | CommonAwsError + ApplicationDoesNotExistException | ArnNotSupportedException | DeploymentConfigDoesNotExistException | DeploymentGroupDoesNotExistException | InvalidArnException | InvalidTagsToAddException | ResourceArnRequiredException | TagRequiredException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | ApplicationDoesNotExistException - | ArnNotSupportedException - | DeploymentConfigDoesNotExistException - | DeploymentGroupDoesNotExistException - | InvalidArnException - | InvalidTagsToAddException - | ResourceArnRequiredException - | TagRequiredException - | CommonAwsError + ApplicationDoesNotExistException | ArnNotSupportedException | DeploymentConfigDoesNotExistException | DeploymentGroupDoesNotExistException | InvalidArnException | InvalidTagsToAddException | ResourceArnRequiredException | TagRequiredException | CommonAwsError >; updateApplication( input: UpdateApplicationInput, ): Effect.Effect< {}, - | ApplicationAlreadyExistsException - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | InvalidApplicationNameException - | CommonAwsError + ApplicationAlreadyExistsException | ApplicationDoesNotExistException | ApplicationNameRequiredException | InvalidApplicationNameException | CommonAwsError >; updateDeploymentGroup( input: UpdateDeploymentGroupInput, ): Effect.Effect< UpdateDeploymentGroupOutput, - | AlarmsLimitExceededException - | ApplicationDoesNotExistException - | ApplicationNameRequiredException - | DeploymentConfigDoesNotExistException - | DeploymentGroupAlreadyExistsException - | DeploymentGroupDoesNotExistException - | DeploymentGroupNameRequiredException - | ECSServiceMappingLimitExceededException - | InvalidAlarmConfigException - | InvalidApplicationNameException - | InvalidAutoRollbackConfigException - | InvalidAutoScalingGroupException - | InvalidBlueGreenDeploymentConfigurationException - | InvalidDeploymentConfigNameException - | InvalidDeploymentGroupNameException - | InvalidDeploymentStyleException - | InvalidEC2TagCombinationException - | InvalidEC2TagException - | InvalidECSServiceException - | InvalidInputException - | InvalidLoadBalancerInfoException - | InvalidOnPremisesTagCombinationException - | InvalidRoleException - | InvalidTagException - | InvalidTargetGroupPairException - | InvalidTrafficRoutingConfigurationException - | InvalidTriggerConfigException - | LifecycleHookLimitExceededException - | TagSetListLimitExceededException - | ThrottlingException - | TriggerTargetsLimitExceededException - | CommonAwsError + AlarmsLimitExceededException | ApplicationDoesNotExistException | ApplicationNameRequiredException | DeploymentConfigDoesNotExistException | DeploymentGroupAlreadyExistsException | DeploymentGroupDoesNotExistException | DeploymentGroupNameRequiredException | ECSServiceMappingLimitExceededException | InvalidAlarmConfigException | InvalidApplicationNameException | InvalidAutoRollbackConfigException | InvalidAutoScalingGroupException | InvalidBlueGreenDeploymentConfigurationException | InvalidDeploymentConfigNameException | InvalidDeploymentGroupNameException | InvalidDeploymentStyleException | InvalidEC2TagCombinationException | InvalidEC2TagException | InvalidECSServiceException | InvalidInputException | InvalidLoadBalancerInfoException | InvalidOnPremisesTagCombinationException | InvalidRoleException | InvalidTagException | InvalidTargetGroupPairException | InvalidTrafficRoutingConfigurationException | InvalidTriggerConfigException | LifecycleHookLimitExceededException | TagSetListLimitExceededException | ThrottlingException | TriggerTargetsLimitExceededException | CommonAwsError >; } @@ -708,10 +344,7 @@ export declare class ApplicationNameRequiredException extends EffectData.TaggedE )<{ readonly message?: string; }> {} -export type ApplicationRevisionSortBy = - | "registerTime" - | "firstUsedTime" - | "lastUsedTime"; +export type ApplicationRevisionSortBy = "registerTime" | "firstUsedTime" | "lastUsedTime"; export type ApplicationsInfoList = Array; export type ApplicationsList = Array; export interface AppSpecContent { @@ -729,10 +362,7 @@ export interface AutoRollbackConfiguration { enabled?: boolean; events?: Array; } -export type AutoRollbackEvent = - | "DEPLOYMENT_FAILURE" - | "DEPLOYMENT_STOP_ON_ALARM" - | "DEPLOYMENT_STOP_ON_REQUEST"; +export type AutoRollbackEvent = "DEPLOYMENT_FAILURE" | "DEPLOYMENT_STOP_ON_ALARM" | "DEPLOYMENT_STOP_ON_REQUEST"; export type AutoRollbackEventsList = Array; export interface AutoScalingGroup { name?: string; @@ -915,7 +545,8 @@ export interface DeleteGitHubAccountTokenOutput { export interface DeleteResourcesByExternalIdInput { externalId?: string; } -export interface DeleteResourcesByExternalIdOutput {} +export interface DeleteResourcesByExternalIdOutput { +} export declare class DeploymentAlreadyCompletedException extends EffectData.TaggedError( "DeploymentAlreadyCompletedException", )<{ @@ -960,15 +591,7 @@ export declare class DeploymentConfigNameRequiredException extends EffectData.Ta readonly message?: string; }> {} export type DeploymentConfigsList = Array; -export type DeploymentCreator = - | "user" - | "autoscaling" - | "codeDeployRollback" - | "CodeDeploy" - | "CodeDeployAutoUpdate" - | "CloudFormation" - | "CloudFormationRollback" - | "autoscalingTermination"; +export type DeploymentCreator = "user" | "autoscaling" | "codeDeployRollback" | "CodeDeploy" | "CodeDeployAutoUpdate" | "CloudFormation" | "CloudFormationRollback" | "autoscalingTermination"; export declare class DeploymentDoesNotExistException extends EffectData.TaggedError( "DeploymentDoesNotExistException", )<{ @@ -1079,9 +702,7 @@ export declare class DeploymentNotStartedException extends EffectData.TaggedErro )<{ readonly message?: string; }> {} -export type DeploymentOption = - | "WITH_TRAFFIC_CONTROL" - | "WITHOUT_TRAFFIC_CONTROL"; +export type DeploymentOption = "WITH_TRAFFIC_CONTROL" | "WITHOUT_TRAFFIC_CONTROL"; export interface DeploymentOverview { Pending?: number; InProgress?: number; @@ -1097,15 +718,7 @@ export interface DeploymentReadyOption { } export type DeploymentsInfoList = Array; export type DeploymentsList = Array; -export type DeploymentStatus = - | "Created" - | "Queued" - | "InProgress" - | "Baking" - | "Succeeded" - | "Failed" - | "Stopped" - | "Ready"; +export type DeploymentStatus = "Created" | "Queued" | "InProgress" | "Baking" | "Succeeded" | "Failed" | "Stopped" | "Ready"; export type DeploymentStatusList = Array; export type DeploymentStatusMessageList = Array; export interface DeploymentStyle { @@ -1135,11 +748,7 @@ export declare class DeploymentTargetListSizeExceededException extends EffectDat )<{ readonly message?: string; }> {} -export type DeploymentTargetType = - | "InstanceTarget" - | "LambdaTarget" - | "ECSTarget" - | "CloudFormationTarget"; +export type DeploymentTargetType = "InstanceTarget" | "LambdaTarget" | "ECSTarget" | "CloudFormationTarget"; export type DeploymentType = "IN_PLACE" | "BLUE_GREEN"; export type DeploymentWaitType = "READY_WAIT" | "TERMINATION_WAIT"; export interface DeregisterOnPremisesInstanceInput { @@ -1217,41 +826,7 @@ export interface ELBInfo { export type ELBInfoList = Array; export type ELBName = string; -export type ErrorCode = - | "AGENT_ISSUE" - | "ALARM_ACTIVE" - | "APPLICATION_MISSING" - | "AUTOSCALING_VALIDATION_ERROR" - | "AUTO_SCALING_CONFIGURATION" - | "AUTO_SCALING_IAM_ROLE_PERMISSIONS" - | "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND" - | "CUSTOMER_APPLICATION_UNHEALTHY" - | "DEPLOYMENT_GROUP_MISSING" - | "ECS_UPDATE_ERROR" - | "ELASTIC_LOAD_BALANCING_INVALID" - | "ELB_INVALID_INSTANCE" - | "HEALTH_CONSTRAINTS" - | "HEALTH_CONSTRAINTS_INVALID" - | "HOOK_EXECUTION_FAILURE" - | "IAM_ROLE_MISSING" - | "IAM_ROLE_PERMISSIONS" - | "INTERNAL_ERROR" - | "INVALID_ECS_SERVICE" - | "INVALID_LAMBDA_CONFIGURATION" - | "INVALID_LAMBDA_FUNCTION" - | "INVALID_REVISION" - | "MANUAL_STOP" - | "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" - | "MISSING_ELB_INFORMATION" - | "MISSING_GITHUB_TOKEN" - | "NO_EC2_SUBSCRIPTION" - | "NO_INSTANCES" - | "OVER_MAX_INSTANCES" - | "RESOURCE_LIMIT_EXCEEDED" - | "REVISION_MISSING" - | "THROTTLED" - | "TIMEOUT" - | "CLOUDFORMATION_STACK_FAILURE"; +export type ErrorCode = "AGENT_ISSUE" | "ALARM_ACTIVE" | "APPLICATION_MISSING" | "AUTOSCALING_VALIDATION_ERROR" | "AUTO_SCALING_CONFIGURATION" | "AUTO_SCALING_IAM_ROLE_PERMISSIONS" | "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND" | "CUSTOMER_APPLICATION_UNHEALTHY" | "DEPLOYMENT_GROUP_MISSING" | "ECS_UPDATE_ERROR" | "ELASTIC_LOAD_BALANCING_INVALID" | "ELB_INVALID_INSTANCE" | "HEALTH_CONSTRAINTS" | "HEALTH_CONSTRAINTS_INVALID" | "HOOK_EXECUTION_FAILURE" | "IAM_ROLE_MISSING" | "IAM_ROLE_PERMISSIONS" | "INTERNAL_ERROR" | "INVALID_ECS_SERVICE" | "INVALID_LAMBDA_CONFIGURATION" | "INVALID_LAMBDA_FUNCTION" | "INVALID_REVISION" | "MANUAL_STOP" | "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" | "MISSING_ELB_INFORMATION" | "MISSING_GITHUB_TOKEN" | "NO_EC2_SUBSCRIPTION" | "NO_INSTANCES" | "OVER_MAX_INSTANCES" | "RESOURCE_LIMIT_EXCEEDED" | "REVISION_MISSING" | "THROTTLED" | "TIMEOUT" | "CLOUDFORMATION_STACK_FAILURE"; export interface ErrorInformation { code?: ErrorCode; message?: string; @@ -1344,9 +919,7 @@ export interface GitHubLocation { repository?: string; commitId?: string; } -export type GreenFleetProvisioningAction = - | "DISCOVER_EXISTING" - | "COPY_AUTO_SCALING_GROUP"; +export type GreenFleetProvisioningAction = "DISCOVER_EXISTING" | "COPY_AUTO_SCALING_GROUP"; export interface GreenFleetProvisioningOption { action?: GreenFleetProvisioningAction; } @@ -1425,14 +998,7 @@ export declare class InstanceNotRegisteredException extends EffectData.TaggedErr readonly message?: string; }> {} export type InstancesList = Array; -export type InstanceStatus = - | "Pending" - | "InProgress" - | "Succeeded" - | "Failed" - | "Skipped" - | "Unknown" - | "Ready"; +export type InstanceStatus = "Pending" | "InProgress" | "Succeeded" | "Failed" | "Skipped" | "Unknown" | "Ready"; export type InstanceStatusList = Array; export interface InstanceSummary { deploymentId?: string; @@ -1757,13 +1323,7 @@ export interface LastDeploymentInfo { endTime?: Date | string; createTime?: Date | string; } -export type LifecycleErrorCode = - | "Success" - | "ScriptMissing" - | "ScriptNotExecutable" - | "ScriptTimedOut" - | "ScriptFailed" - | "UnknownError"; +export type LifecycleErrorCode = "Success" | "ScriptMissing" | "ScriptNotExecutable" | "ScriptTimedOut" | "ScriptFailed" | "UnknownError"; export interface LifecycleEvent { lifecycleEventName?: string; diagnostics?: Diagnostics; @@ -1781,13 +1341,7 @@ export type LifecycleEventHookExecutionId = string; export type LifecycleEventList = Array; export type LifecycleEventName = string; -export type LifecycleEventStatus = - | "Pending" - | "InProgress" - | "Succeeded" - | "Failed" - | "Skipped" - | "Unknown"; +export type LifecycleEventStatus = "Pending" | "InProgress" | "Succeeded" | "Failed" | "Skipped" | "Unknown"; export declare class LifecycleHookLimitExceededException extends EffectData.TaggedError( "LifecycleHookLimitExceededException", )<{ @@ -1999,11 +1553,7 @@ export interface RevisionLocation { appSpecContent?: AppSpecContent; } export type RevisionLocationList = Array; -export type RevisionLocationType = - | "S3" - | "GitHub" - | "String" - | "AppSpecContent"; +export type RevisionLocationType = "S3" | "GitHub" | "String" | "AppSpecContent"; export declare class RevisionRequiredException extends EffectData.TaggedError( "RevisionRequiredException", )<{ @@ -2074,7 +1624,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export declare class TagSetListLimitExceededException extends EffectData.TaggedError( "TagSetListLimitExceededException", )<{ @@ -2105,14 +1656,7 @@ export interface TargetInstances { ec2TagSet?: EC2TagSet; } export type TargetLabel = "Blue" | "Green"; -export type TargetStatus = - | "Pending" - | "InProgress" - | "Succeeded" - | "Failed" - | "Skipped" - | "Unknown" - | "Ready"; +export type TargetStatus = "Pending" | "InProgress" | "Succeeded" | "Failed" | "Skipped" | "Unknown" | "Ready"; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -2142,10 +1686,7 @@ export interface TrafficRoutingConfig { timeBasedCanary?: TimeBasedCanary; timeBasedLinear?: TimeBasedLinear; } -export type TrafficRoutingType = - | "TimeBasedCanary" - | "TimeBasedLinear" - | "AllAtOnce"; +export type TrafficRoutingType = "TimeBasedCanary" | "TimeBasedLinear" | "AllAtOnce"; export type TrafficWeight = number; export interface TriggerConfig { @@ -2154,17 +1695,7 @@ export interface TriggerConfig { triggerEvents?: Array; } export type TriggerConfigList = Array; -export type TriggerEventType = - | "DeploymentStart" - | "DeploymentSuccess" - | "DeploymentFailure" - | "DeploymentStop" - | "DeploymentRollback" - | "DeploymentReady" - | "InstanceStart" - | "InstanceSuccess" - | "InstanceFailure" - | "InstanceReady"; +export type TriggerEventType = "DeploymentStart" | "DeploymentSuccess" | "DeploymentFailure" | "DeploymentStop" | "DeploymentRollback" | "DeploymentReady" | "InstanceStart" | "InstanceSuccess" | "InstanceFailure" | "InstanceReady"; export type TriggerEventTypeList = Array; export type TriggerName = string; @@ -2184,7 +1715,8 @@ export interface UntagResourceInput { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateApplicationInput { applicationName?: string; newApplicationName?: string; @@ -2494,7 +2026,8 @@ export declare namespace DeleteGitHubAccountToken { export declare namespace DeleteResourcesByExternalId { export type Input = DeleteResourcesByExternalIdInput; export type Output = DeleteResourcesByExternalIdOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeregisterOnPremisesInstance { @@ -2623,13 +2156,17 @@ export declare namespace ListApplicationRevisions { export declare namespace ListApplications { export type Input = ListApplicationsInput; export type Output = ListApplicationsOutput; - export type Error = InvalidNextTokenException | CommonAwsError; + export type Error = + | InvalidNextTokenException + | CommonAwsError; } export declare namespace ListDeploymentConfigs { export type Input = ListDeploymentConfigsInput; export type Output = ListDeploymentConfigsOutput; - export type Error = InvalidNextTokenException | CommonAwsError; + export type Error = + | InvalidNextTokenException + | CommonAwsError; } export declare namespace ListDeploymentGroups { @@ -2887,115 +2424,5 @@ export declare namespace UpdateDeploymentGroup { | CommonAwsError; } -export type CodeDeployErrors = - | AlarmsLimitExceededException - | ApplicationAlreadyExistsException - | ApplicationDoesNotExistException - | ApplicationLimitExceededException - | ApplicationNameRequiredException - | ArnNotSupportedException - | BatchLimitExceededException - | BucketNameFilterRequiredException - | DeploymentAlreadyCompletedException - | DeploymentConfigAlreadyExistsException - | DeploymentConfigDoesNotExistException - | DeploymentConfigInUseException - | DeploymentConfigLimitExceededException - | DeploymentConfigNameRequiredException - | DeploymentDoesNotExistException - | DeploymentGroupAlreadyExistsException - | DeploymentGroupDoesNotExistException - | DeploymentGroupLimitExceededException - | DeploymentGroupNameRequiredException - | DeploymentIdRequiredException - | DeploymentIsNotInReadyStateException - | DeploymentLimitExceededException - | DeploymentNotStartedException - | DeploymentTargetDoesNotExistException - | DeploymentTargetIdRequiredException - | DeploymentTargetListSizeExceededException - | DescriptionTooLongException - | ECSServiceMappingLimitExceededException - | GitHubAccountTokenDoesNotExistException - | GitHubAccountTokenNameRequiredException - | IamArnRequiredException - | IamSessionArnAlreadyRegisteredException - | IamUserArnAlreadyRegisteredException - | IamUserArnRequiredException - | InstanceDoesNotExistException - | InstanceIdRequiredException - | InstanceLimitExceededException - | InstanceNameAlreadyRegisteredException - | InstanceNameRequiredException - | InstanceNotRegisteredException - | InvalidAlarmConfigException - | InvalidApplicationNameException - | InvalidArnException - | InvalidAutoRollbackConfigException - | InvalidAutoScalingGroupException - | InvalidBlueGreenDeploymentConfigurationException - | InvalidBucketNameFilterException - | InvalidComputePlatformException - | InvalidDeployedStateFilterException - | InvalidDeploymentConfigNameException - | InvalidDeploymentGroupNameException - | InvalidDeploymentIdException - | InvalidDeploymentInstanceTypeException - | InvalidDeploymentStatusException - | InvalidDeploymentStyleException - | InvalidDeploymentTargetIdException - | InvalidDeploymentWaitTypeException - | InvalidEC2TagCombinationException - | InvalidEC2TagException - | InvalidECSServiceException - | InvalidExternalIdException - | InvalidFileExistsBehaviorException - | InvalidGitHubAccountTokenException - | InvalidGitHubAccountTokenNameException - | InvalidIamSessionArnException - | InvalidIamUserArnException - | InvalidIgnoreApplicationStopFailuresValueException - | InvalidInputException - | InvalidInstanceNameException - | InvalidInstanceStatusException - | InvalidInstanceTypeException - | InvalidKeyPrefixFilterException - | InvalidLifecycleEventHookExecutionIdException - | InvalidLifecycleEventHookExecutionStatusException - | InvalidLoadBalancerInfoException - | InvalidMinimumHealthyHostValueException - | InvalidNextTokenException - | InvalidOnPremisesTagCombinationException - | InvalidOperationException - | InvalidRegistrationStatusException - | InvalidRevisionException - | InvalidRoleException - | InvalidSortByException - | InvalidSortOrderException - | InvalidTagException - | InvalidTagFilterException - | InvalidTagsToAddException - | InvalidTargetFilterNameException - | InvalidTargetGroupPairException - | InvalidTargetInstancesException - | InvalidTimeRangeException - | InvalidTrafficRoutingConfigurationException - | InvalidTriggerConfigException - | InvalidUpdateOutdatedInstancesOnlyValueException - | InvalidZonalDeploymentConfigurationException - | LifecycleEventAlreadyCompletedException - | LifecycleHookLimitExceededException - | MultipleIamArnsProvidedException - | OperationNotSupportedException - | ResourceArnRequiredException - | ResourceValidationException - | RevisionDoesNotExistException - | RevisionRequiredException - | RoleRequiredException - | TagLimitExceededException - | TagRequiredException - | TagSetListLimitExceededException - | ThrottlingException - | TriggerTargetsLimitExceededException - | UnsupportedActionForDeploymentTypeException - | CommonAwsError; +export type CodeDeployErrors = AlarmsLimitExceededException | ApplicationAlreadyExistsException | ApplicationDoesNotExistException | ApplicationLimitExceededException | ApplicationNameRequiredException | ArnNotSupportedException | BatchLimitExceededException | BucketNameFilterRequiredException | DeploymentAlreadyCompletedException | DeploymentConfigAlreadyExistsException | DeploymentConfigDoesNotExistException | DeploymentConfigInUseException | DeploymentConfigLimitExceededException | DeploymentConfigNameRequiredException | DeploymentDoesNotExistException | DeploymentGroupAlreadyExistsException | DeploymentGroupDoesNotExistException | DeploymentGroupLimitExceededException | DeploymentGroupNameRequiredException | DeploymentIdRequiredException | DeploymentIsNotInReadyStateException | DeploymentLimitExceededException | DeploymentNotStartedException | DeploymentTargetDoesNotExistException | DeploymentTargetIdRequiredException | DeploymentTargetListSizeExceededException | DescriptionTooLongException | ECSServiceMappingLimitExceededException | GitHubAccountTokenDoesNotExistException | GitHubAccountTokenNameRequiredException | IamArnRequiredException | IamSessionArnAlreadyRegisteredException | IamUserArnAlreadyRegisteredException | IamUserArnRequiredException | InstanceDoesNotExistException | InstanceIdRequiredException | InstanceLimitExceededException | InstanceNameAlreadyRegisteredException | InstanceNameRequiredException | InstanceNotRegisteredException | InvalidAlarmConfigException | InvalidApplicationNameException | InvalidArnException | InvalidAutoRollbackConfigException | InvalidAutoScalingGroupException | InvalidBlueGreenDeploymentConfigurationException | InvalidBucketNameFilterException | InvalidComputePlatformException | InvalidDeployedStateFilterException | InvalidDeploymentConfigNameException | InvalidDeploymentGroupNameException | InvalidDeploymentIdException | InvalidDeploymentInstanceTypeException | InvalidDeploymentStatusException | InvalidDeploymentStyleException | InvalidDeploymentTargetIdException | InvalidDeploymentWaitTypeException | InvalidEC2TagCombinationException | InvalidEC2TagException | InvalidECSServiceException | InvalidExternalIdException | InvalidFileExistsBehaviorException | InvalidGitHubAccountTokenException | InvalidGitHubAccountTokenNameException | InvalidIamSessionArnException | InvalidIamUserArnException | InvalidIgnoreApplicationStopFailuresValueException | InvalidInputException | InvalidInstanceNameException | InvalidInstanceStatusException | InvalidInstanceTypeException | InvalidKeyPrefixFilterException | InvalidLifecycleEventHookExecutionIdException | InvalidLifecycleEventHookExecutionStatusException | InvalidLoadBalancerInfoException | InvalidMinimumHealthyHostValueException | InvalidNextTokenException | InvalidOnPremisesTagCombinationException | InvalidOperationException | InvalidRegistrationStatusException | InvalidRevisionException | InvalidRoleException | InvalidSortByException | InvalidSortOrderException | InvalidTagException | InvalidTagFilterException | InvalidTagsToAddException | InvalidTargetFilterNameException | InvalidTargetGroupPairException | InvalidTargetInstancesException | InvalidTimeRangeException | InvalidTrafficRoutingConfigurationException | InvalidTriggerConfigException | InvalidUpdateOutdatedInstancesOnlyValueException | InvalidZonalDeploymentConfigurationException | LifecycleEventAlreadyCompletedException | LifecycleHookLimitExceededException | MultipleIamArnsProvidedException | OperationNotSupportedException | ResourceArnRequiredException | ResourceValidationException | RevisionDoesNotExistException | RevisionRequiredException | RoleRequiredException | TagLimitExceededException | TagRequiredException | TagSetListLimitExceededException | ThrottlingException | TriggerTargetsLimitExceededException | UnsupportedActionForDeploymentTypeException | CommonAwsError; + diff --git a/src/services/codeguru-reviewer/index.ts b/src/services/codeguru-reviewer/index.ts index a995925b..ba7e4ead 100644 --- a/src/services/codeguru-reviewer/index.ts +++ b/src/services/codeguru-reviewer/index.ts @@ -5,23 +5,7 @@ import type { CodeGuruReviewer as _CodeGuruReviewerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,21 +15,20 @@ const metadata = { sigV4ServiceName: "codeguru-reviewer", endpointPrefix: "codeguru-reviewer", operations: { - AssociateRepository: "POST /associations", - CreateCodeReview: "POST /codereviews", - DescribeCodeReview: "GET /codereviews/{CodeReviewArn}", - DescribeRecommendationFeedback: "GET /feedback/{CodeReviewArn}", - DescribeRepositoryAssociation: "GET /associations/{AssociationArn}", - DisassociateRepository: "DELETE /associations/{AssociationArn}", - ListCodeReviews: "GET /codereviews", - ListRecommendationFeedback: - "GET /feedback/{CodeReviewArn}/RecommendationFeedback", - ListRecommendations: "GET /codereviews/{CodeReviewArn}/Recommendations", - ListRepositoryAssociations: "GET /associations", - ListTagsForResource: "GET /tags/{resourceArn}", - PutRecommendationFeedback: "PUT /feedback", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", + "AssociateRepository": "POST /associations", + "CreateCodeReview": "POST /codereviews", + "DescribeCodeReview": "GET /codereviews/{CodeReviewArn}", + "DescribeRecommendationFeedback": "GET /feedback/{CodeReviewArn}", + "DescribeRepositoryAssociation": "GET /associations/{AssociationArn}", + "DisassociateRepository": "DELETE /associations/{AssociationArn}", + "ListCodeReviews": "GET /codereviews", + "ListRecommendationFeedback": "GET /feedback/{CodeReviewArn}/RecommendationFeedback", + "ListRecommendations": "GET /codereviews/{CodeReviewArn}/Recommendations", + "ListRepositoryAssociations": "GET /associations", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutRecommendationFeedback": "PUT /feedback", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/codeguru-reviewer/types.ts b/src/services/codeguru-reviewer/types.ts index 95366e14..370a092c 100644 --- a/src/services/codeguru-reviewer/types.ts +++ b/src/services/codeguru-reviewer/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CodeGuruReviewer extends AWSServiceClient { @@ -40,148 +8,85 @@ export declare class CodeGuruReviewer extends AWSServiceClient { input: AssociateRepositoryRequest, ): Effect.Effect< AssociateRepositoryResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createCodeReview( input: CreateCodeReviewRequest, ): Effect.Effect< CreateCodeReviewResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeCodeReview( input: DescribeCodeReviewRequest, ): Effect.Effect< DescribeCodeReviewResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRecommendationFeedback( input: DescribeRecommendationFeedbackRequest, ): Effect.Effect< DescribeRecommendationFeedbackResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRepositoryAssociation( input: DescribeRepositoryAssociationRequest, ): Effect.Effect< DescribeRepositoryAssociationResponse, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateRepository( input: DisassociateRepositoryRequest, ): Effect.Effect< DisassociateRepositoryResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCodeReviews( input: ListCodeReviewsRequest, ): Effect.Effect< ListCodeReviewsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRecommendationFeedback( input: ListRecommendationFeedbackRequest, ): Effect.Effect< ListRecommendationFeedbackResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRecommendations( input: ListRecommendationsRequest, ): Effect.Effect< ListRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRepositoryAssociations( input: ListRepositoryAssociationsRequest, ): Effect.Effect< ListRepositoryAssociationsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putRecommendationFeedback( input: PutRecommendationFeedbackRequest, ): Effect.Effect< PutRecommendationFeedbackResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -431,12 +336,7 @@ export declare class NotFoundException extends EffectData.TaggedError( export type Owner = string; export type Owners = Array; -export type ProviderType = - | "CodeCommit" - | "GitHub" - | "Bitbucket" - | "GitHubEnterpriseServer" - | "S3Bucket"; +export type ProviderType = "CodeCommit" | "GitHub" | "Bitbucket" | "GitHubEnterpriseServer" | "S3Bucket"; export type ProviderTypes = Array; export type PullRequestId = string; @@ -445,21 +345,11 @@ export interface PutRecommendationFeedbackRequest { RecommendationId: string; Reactions: Array; } -export interface PutRecommendationFeedbackResponse {} +export interface PutRecommendationFeedbackResponse { +} export type Reaction = "ThumbsUp" | "ThumbsDown"; export type Reactions = Array; -export type RecommendationCategory = - | "AWSBestPractices" - | "AWSCloudFormationIssues" - | "DuplicateCode" - | "CodeMaintenanceIssues" - | "ConcurrencyIssues" - | "InputValidations" - | "PythonBestPractices" - | "JavaBestPractices" - | "ResourceLeaks" - | "SecurityIssues" - | "CodeInconsistencies"; +export type RecommendationCategory = "AWSBestPractices" | "AWSCloudFormationIssues" | "DuplicateCode" | "CodeMaintenanceIssues" | "ConcurrencyIssues" | "InputValidations" | "PythonBestPractices" | "JavaBestPractices" | "ResourceLeaks" | "SecurityIssues" | "CodeInconsistencies"; export interface RecommendationFeedback { CodeReviewArn?: string; RecommendationId?: string; @@ -468,8 +358,7 @@ export interface RecommendationFeedback { CreatedTimeStamp?: Date | string; LastUpdatedTimeStamp?: Date | string; } -export type RecommendationFeedbackSummaries = - Array; +export type RecommendationFeedbackSummaries = Array; export interface RecommendationFeedbackSummary { RecommendationId?: string; Reactions?: Array; @@ -513,15 +402,9 @@ export interface RepositoryAssociation { KMSKeyDetails?: KMSKeyDetails; S3RepositoryDetails?: S3RepositoryDetails; } -export type RepositoryAssociationState = - | "Associated" - | "Associating" - | "Failed" - | "Disassociating" - | "Disassociated"; +export type RepositoryAssociationState = "Associated" | "Associating" | "Failed" | "Disassociating" | "Disassociated"; export type RepositoryAssociationStates = Array; -export type RepositoryAssociationSummaries = - Array; +export type RepositoryAssociationSummaries = Array; export interface RepositoryAssociationSummary { AssociationArn?: string; ConnectionArn?: string; @@ -601,7 +484,8 @@ export interface TagResourceRequest { resourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Text = string; @@ -623,7 +507,8 @@ export interface UntagResourceRequest { resourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UserId = string; export type UserIds = Array; @@ -794,12 +679,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type CodeGuruReviewerErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type CodeGuruReviewerErrors = AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/codeguru-security/index.ts b/src/services/codeguru-security/index.ts index eec40ec1..addab3ec 100644 --- a/src/services/codeguru-security/index.ts +++ b/src/services/codeguru-security/index.ts @@ -5,23 +5,7 @@ import type { CodeGuruSecurity as _CodeGuruSecurityClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,19 +14,23 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "codeguru-security", operations: { - BatchGetFindings: "POST /batchGetFindings", - CreateScan: "POST /scans", - CreateUploadUrl: "POST /uploadUrl", - GetAccountConfiguration: "GET /accountConfiguration/get", - GetFindings: "GET /findings/{scanName}", - GetMetricsSummary: "GET /metrics/summary", - GetScan: "GET /scans/{scanName}", - ListFindingsMetrics: "GET /metrics/findings", - ListScans: "GET /scans", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAccountConfiguration: "PUT /updateAccountConfiguration", + "BatchGetFindings": "POST /batchGetFindings", + "CreateScan": "POST /scans", + "CreateUploadUrl": "POST /uploadUrl", + "GetAccountConfiguration": "GET /accountConfiguration/get", + "GetFindings": "GET /findings/{scanName}", + "GetMetricsSummary": "GET /metrics/summary", + "GetScan": "GET /scans/{scanName}", + "ListFindingsMetrics": "GET /metrics/findings", + "ListScans": "GET /scans", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAccountConfiguration": "PUT /updateAccountConfiguration", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/codeguru-security/types.ts b/src/services/codeguru-security/types.ts index 20fd474c..96c676eb 100644 --- a/src/services/codeguru-security/types.ts +++ b/src/services/codeguru-security/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CodeGuruSecurity extends AWSServiceClient { @@ -40,143 +8,79 @@ export declare class CodeGuruSecurity extends AWSServiceClient { input: BatchGetFindingsRequest, ): Effect.Effect< BatchGetFindingsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createScan( input: CreateScanRequest, ): Effect.Effect< CreateScanResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createUploadUrl( input: CreateUploadUrlRequest, ): Effect.Effect< CreateUploadUrlResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getAccountConfiguration( input: GetAccountConfigurationRequest, ): Effect.Effect< GetAccountConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getFindings( input: GetFindingsRequest, ): Effect.Effect< GetFindingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMetricsSummary( input: GetMetricsSummaryRequest, ): Effect.Effect< GetMetricsSummaryResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getScan( input: GetScanRequest, ): Effect.Effect< GetScanResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFindingsMetrics( input: ListFindingsMetricsRequest, ): Effect.Effect< ListFindingsMetricsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listScans( input: ListScansRequest, ): Effect.Effect< ListScansResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAccountConfiguration( input: UpdateAccountConfigurationRequest, ): Effect.Effect< UpdateAccountConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -259,12 +163,7 @@ export type DetectorTags = Array; export interface EncryptionConfig { kmsKeyArn?: string; } -export type ErrorCode = - | "DUPLICATE_IDENTIFIER" - | "ITEM_DOES_NOT_EXIST" - | "INTERNAL_ERROR" - | "INVALID_FINDING_ID" - | "INVALID_SCAN_NAME"; +export type ErrorCode = "DUPLICATE_IDENTIFIER" | "ITEM_DOES_NOT_EXIST" | "INTERNAL_ERROR" | "INVALID_FINDING_ID" | "INVALID_SCAN_NAME"; export type ErrorMessage = string; export interface FilePath { @@ -306,7 +205,8 @@ export interface FindingMetricsValuePerSeverity { } export type Findings = Array; export type FindingsMetricList = Array; -export interface GetAccountConfigurationRequest {} +export interface GetAccountConfigurationRequest { +} export interface GetAccountConfigurationResponse { encryptionConfig: EncryptionConfig; } @@ -405,7 +305,7 @@ interface _ResourceId { codeArtifactId?: string; } -export type ResourceId = _ResourceId & { codeArtifactId: string }; +export type ResourceId = (_ResourceId & { codeArtifactId: string }); export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -452,7 +352,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -467,7 +368,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAccountConfigurationRequest { encryptionConfig: EncryptionConfig; } @@ -489,12 +391,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other" - | "lambdaCodeShaMisMatch"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other" | "lambdaCodeShaMisMatch"; export interface Vulnerability { referenceUrls?: Array; relatedVulnerabilities?: Array; @@ -657,11 +554,5 @@ export declare namespace UpdateAccountConfiguration { | CommonAwsError; } -export type CodeGuruSecurityErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type CodeGuruSecurityErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/codeguruprofiler/index.ts b/src/services/codeguruprofiler/index.ts index d8ea09c7..8d9f9750 100644 --- a/src/services/codeguruprofiler/index.ts +++ b/src/services/codeguruprofiler/index.ts @@ -5,24 +5,7 @@ import type { CodeGuruProfiler as _CodeGuruProfilerClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,66 +15,62 @@ const metadata = { sigV4ServiceName: "codeguru-profiler", endpointPrefix: "codeguru-profiler", operations: { - GetFindingsReportAccountSummary: "GET /internal/findingsReports", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - AddNotificationChannels: - "POST /profilingGroups/{profilingGroupName}/notificationConfiguration", - BatchGetFrameMetricData: - "POST /profilingGroups/{profilingGroupName}/frames/-/metrics", - ConfigureAgent: { + "GetFindingsReportAccountSummary": "GET /internal/findingsReports", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "AddNotificationChannels": "POST /profilingGroups/{profilingGroupName}/notificationConfiguration", + "BatchGetFrameMetricData": "POST /profilingGroups/{profilingGroupName}/frames/-/metrics", + "ConfigureAgent": { http: "POST /profilingGroups/{profilingGroupName}/configureAgent", traits: { - configuration: "httpPayload", + "configuration": "httpPayload", }, }, - CreateProfilingGroup: { + "CreateProfilingGroup": { http: "POST /profilingGroups", traits: { - profilingGroup: "httpPayload", + "profilingGroup": "httpPayload", }, }, - DeleteProfilingGroup: "DELETE /profilingGroups/{profilingGroupName}", - DescribeProfilingGroup: { + "DeleteProfilingGroup": "DELETE /profilingGroups/{profilingGroupName}", + "DescribeProfilingGroup": { http: "GET /profilingGroups/{profilingGroupName}", traits: { - profilingGroup: "httpPayload", + "profilingGroup": "httpPayload", }, }, - GetNotificationConfiguration: - "GET /profilingGroups/{profilingGroupName}/notificationConfiguration", - GetPolicy: "GET /profilingGroups/{profilingGroupName}/policy", - GetProfile: { + "GetNotificationConfiguration": "GET /profilingGroups/{profilingGroupName}/notificationConfiguration", + "GetPolicy": "GET /profilingGroups/{profilingGroupName}/policy", + "GetProfile": { http: "GET /profilingGroups/{profilingGroupName}/profile", traits: { - profile: "httpPayload", - contentType: "Content-Type", - contentEncoding: "Content-Encoding", + "profile": "httpPayload", + "contentType": "Content-Type", + "contentEncoding": "Content-Encoding", }, }, - GetRecommendations: - "GET /internal/profilingGroups/{profilingGroupName}/recommendations", - ListFindingsReports: - "GET /internal/profilingGroups/{profilingGroupName}/findingsReports", - ListProfileTimes: "GET /profilingGroups/{profilingGroupName}/profileTimes", - ListProfilingGroups: "GET /profilingGroups", - PostAgentProfile: "POST /profilingGroups/{profilingGroupName}/agentProfile", - PutPermission: - "PUT /profilingGroups/{profilingGroupName}/policy/{actionGroup}", - RemoveNotificationChannel: - "DELETE /profilingGroups/{profilingGroupName}/notificationConfiguration/{channelId}", - RemovePermission: - "DELETE /profilingGroups/{profilingGroupName}/policy/{actionGroup}", - SubmitFeedback: - "POST /internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback", - UpdateProfilingGroup: { + "GetRecommendations": "GET /internal/profilingGroups/{profilingGroupName}/recommendations", + "ListFindingsReports": "GET /internal/profilingGroups/{profilingGroupName}/findingsReports", + "ListProfileTimes": "GET /profilingGroups/{profilingGroupName}/profileTimes", + "ListProfilingGroups": "GET /profilingGroups", + "PostAgentProfile": "POST /profilingGroups/{profilingGroupName}/agentProfile", + "PutPermission": "PUT /profilingGroups/{profilingGroupName}/policy/{actionGroup}", + "RemoveNotificationChannel": "DELETE /profilingGroups/{profilingGroupName}/notificationConfiguration/{channelId}", + "RemovePermission": "DELETE /profilingGroups/{profilingGroupName}/policy/{actionGroup}", + "SubmitFeedback": "POST /internal/profilingGroups/{profilingGroupName}/anomalies/{anomalyInstanceId}/feedback", + "UpdateProfilingGroup": { http: "PUT /profilingGroups/{profilingGroupName}", traits: { - profilingGroup: "httpPayload", + "profilingGroup": "httpPayload", }, }, }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, + "ServiceQuotaExceededException": {}, + }, } as const satisfies ServiceMetadata; export type _CodeGuruProfiler = _CodeGuruProfilerClient; diff --git a/src/services/codeguruprofiler/types.ts b/src/services/codeguruprofiler/types.ts index 9af55b54..8391bdc8 100644 --- a/src/services/codeguruprofiler/types.ts +++ b/src/services/codeguruprofiler/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CodeGuruProfiler extends AWSServiceClient { @@ -41,160 +8,97 @@ export declare class CodeGuruProfiler extends AWSServiceClient { input: GetFindingsReportAccountSummaryRequest, ): Effect.Effect< GetFindingsReportAccountSummaryResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; addNotificationChannels( input: AddNotificationChannelsRequest, ): Effect.Effect< AddNotificationChannelsResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchGetFrameMetricData( input: BatchGetFrameMetricDataRequest, ): Effect.Effect< BatchGetFrameMetricDataResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; configureAgent( input: ConfigureAgentRequest, ): Effect.Effect< ConfigureAgentResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createProfilingGroup( input: CreateProfilingGroupRequest, ): Effect.Effect< CreateProfilingGroupResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteProfilingGroup( input: DeleteProfilingGroupRequest, ): Effect.Effect< DeleteProfilingGroupResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeProfilingGroup( input: DescribeProfilingGroupRequest, ): Effect.Effect< DescribeProfilingGroupResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNotificationConfiguration( input: GetNotificationConfigurationRequest, ): Effect.Effect< GetNotificationConfigurationResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPolicy( input: GetPolicyRequest, ): Effect.Effect< GetPolicyResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getProfile( input: GetProfileRequest, ): Effect.Effect< GetProfileResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRecommendations( input: GetRecommendationsRequest, ): Effect.Effect< GetRecommendationsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFindingsReports( input: ListFindingsReportsRequest, ): Effect.Effect< ListFindingsReportsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProfileTimes( input: ListProfileTimesRequest, ): Effect.Effect< ListProfileTimesResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProfilingGroups( input: ListProfilingGroupsRequest, @@ -206,64 +110,37 @@ export declare class CodeGuruProfiler extends AWSServiceClient { input: PostAgentProfileRequest, ): Effect.Effect< PostAgentProfileResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putPermission( input: PutPermissionRequest, ): Effect.Effect< PutPermissionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; removeNotificationChannel( input: RemoveNotificationChannelRequest, ): Effect.Effect< RemoveNotificationChannelResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; removePermission( input: RemovePermissionRequest, ): Effect.Effect< RemovePermissionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; submitFeedback( input: SubmitFeedbackRequest, ): Effect.Effect< SubmitFeedbackResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateProfilingGroup( input: UpdateProfilingGroupRequest, ): Effect.Effect< UpdateProfilingGroupResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -370,7 +247,8 @@ export interface CreateProfilingGroupResponse { export interface DeleteProfilingGroupRequest { profilingGroupName: string; } -export interface DeleteProfilingGroupResponse {} +export interface DeleteProfilingGroupResponse { +} export interface DescribeProfilingGroupRequest { profilingGroupName: string; } @@ -551,7 +429,8 @@ export interface PostAgentProfileRequest { profileToken?: string; contentType: string; } -export interface PostAgentProfileResponse {} +export interface PostAgentProfileResponse { +} export type Principal = string; export type Principals = Array; @@ -634,13 +513,15 @@ export interface SubmitFeedbackRequest { type: string; comment?: string; } -export interface SubmitFeedbackResponse {} +export interface SubmitFeedbackResponse { +} export type TagKeys = Array; export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export type TargetFrame = Array; export type TargetFrames = Array>; @@ -660,7 +541,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateProfilingGroupRequest { profilingGroupName: string; agentOrchestrationConfig: AgentOrchestrationConfig; @@ -929,11 +811,5 @@ export declare namespace UpdateProfilingGroup { | CommonAwsError; } -export type CodeGuruProfilerErrors = - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type CodeGuruProfilerErrors = ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/codepipeline/index.ts b/src/services/codepipeline/index.ts index 68bb39af..5e695c50 100644 --- a/src/services/codepipeline/index.ts +++ b/src/services/codepipeline/index.ts @@ -5,25 +5,7 @@ import type { CodePipeline as _CodePipelineClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/codepipeline/types.ts b/src/services/codepipeline/types.ts index 694ed96c..7fceac24 100644 --- a/src/services/codepipeline/types.ts +++ b/src/services/codepipeline/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CodePipeline extends AWSServiceClient { @@ -42,47 +8,25 @@ export declare class CodePipeline extends AWSServiceClient { input: AcknowledgeJobInput, ): Effect.Effect< AcknowledgeJobOutput, - | InvalidNonceException - | JobNotFoundException - | ValidationException - | CommonAwsError + InvalidNonceException | JobNotFoundException | ValidationException | CommonAwsError >; acknowledgeThirdPartyJob( input: AcknowledgeThirdPartyJobInput, ): Effect.Effect< AcknowledgeThirdPartyJobOutput, - | InvalidClientTokenException - | InvalidNonceException - | JobNotFoundException - | ValidationException - | CommonAwsError + InvalidClientTokenException | InvalidNonceException | JobNotFoundException | ValidationException | CommonAwsError >; createCustomActionType( input: CreateCustomActionTypeInput, ): Effect.Effect< CreateCustomActionTypeOutput, - | ConcurrentModificationException - | InvalidTagsException - | LimitExceededException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConcurrentModificationException | InvalidTagsException | LimitExceededException | TooManyTagsException | ValidationException | CommonAwsError >; createPipeline( input: CreatePipelineInput, ): Effect.Effect< CreatePipelineOutput, - | ConcurrentModificationException - | InvalidActionDeclarationException - | InvalidBlockerDeclarationException - | InvalidStageDeclarationException - | InvalidStructureException - | InvalidTagsException - | LimitExceededException - | PipelineNameInUseException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConcurrentModificationException | InvalidActionDeclarationException | InvalidBlockerDeclarationException | InvalidStageDeclarationException | InvalidStructureException | InvalidTagsException | LimitExceededException | PipelineNameInUseException | TooManyTagsException | ValidationException | CommonAwsError >; deleteCustomActionType( input: DeleteCustomActionTypeInput, @@ -112,19 +56,13 @@ export declare class CodePipeline extends AWSServiceClient { input: DisableStageTransitionInput, ): Effect.Effect< {}, - | PipelineNotFoundException - | StageNotFoundException - | ValidationException - | CommonAwsError + PipelineNotFoundException | StageNotFoundException | ValidationException | CommonAwsError >; enableStageTransition( input: EnableStageTransitionInput, ): Effect.Effect< {}, - | PipelineNotFoundException - | StageNotFoundException - | ValidationException - | CommonAwsError + PipelineNotFoundException | StageNotFoundException | ValidationException | CommonAwsError >; getActionType( input: GetActionTypeInput, @@ -142,19 +80,13 @@ export declare class CodePipeline extends AWSServiceClient { input: GetPipelineInput, ): Effect.Effect< GetPipelineOutput, - | PipelineNotFoundException - | PipelineVersionNotFoundException - | ValidationException - | CommonAwsError + PipelineNotFoundException | PipelineVersionNotFoundException | ValidationException | CommonAwsError >; getPipelineExecution( input: GetPipelineExecutionInput, ): Effect.Effect< GetPipelineExecutionOutput, - | PipelineExecutionNotFoundException - | PipelineNotFoundException - | ValidationException - | CommonAwsError + PipelineExecutionNotFoundException | PipelineNotFoundException | ValidationException | CommonAwsError >; getPipelineState( input: GetPipelineStateInput, @@ -166,21 +98,13 @@ export declare class CodePipeline extends AWSServiceClient { input: GetThirdPartyJobDetailsInput, ): Effect.Effect< GetThirdPartyJobDetailsOutput, - | InvalidClientTokenException - | InvalidJobException - | JobNotFoundException - | ValidationException - | CommonAwsError + InvalidClientTokenException | InvalidJobException | JobNotFoundException | ValidationException | CommonAwsError >; listActionExecutions( input: ListActionExecutionsInput, ): Effect.Effect< ListActionExecutionsOutput, - | InvalidNextTokenException - | PipelineExecutionNotFoundException - | PipelineNotFoundException - | ValidationException - | CommonAwsError + InvalidNextTokenException | PipelineExecutionNotFoundException | PipelineNotFoundException | ValidationException | CommonAwsError >; listActionTypes( input: ListActionTypesInput, @@ -192,20 +116,13 @@ export declare class CodePipeline extends AWSServiceClient { input: ListDeployActionExecutionTargetsInput, ): Effect.Effect< ListDeployActionExecutionTargetsOutput, - | ActionExecutionNotFoundException - | InvalidNextTokenException - | PipelineNotFoundException - | ValidationException - | CommonAwsError + ActionExecutionNotFoundException | InvalidNextTokenException | PipelineNotFoundException | ValidationException | CommonAwsError >; listPipelineExecutions( input: ListPipelineExecutionsInput, ): Effect.Effect< ListPipelineExecutionsOutput, - | InvalidNextTokenException - | PipelineNotFoundException - | ValidationException - | CommonAwsError + InvalidNextTokenException | PipelineNotFoundException | ValidationException | CommonAwsError >; listPipelines( input: ListPipelinesInput, @@ -217,11 +134,7 @@ export declare class CodePipeline extends AWSServiceClient { input: ListRuleExecutionsInput, ): Effect.Effect< ListRuleExecutionsOutput, - | InvalidNextTokenException - | PipelineExecutionNotFoundException - | PipelineNotFoundException - | ValidationException - | CommonAwsError + InvalidNextTokenException | PipelineExecutionNotFoundException | PipelineNotFoundException | ValidationException | CommonAwsError >; listRuleTypes( input: ListRuleTypesInput, @@ -233,11 +146,7 @@ export declare class CodePipeline extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InvalidArnException - | InvalidNextTokenException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InvalidArnException | InvalidNextTokenException | ResourceNotFoundException | ValidationException | CommonAwsError >; listWebhooks( input: ListWebhooksInput, @@ -249,14 +158,7 @@ export declare class CodePipeline extends AWSServiceClient { input: OverrideStageConditionInput, ): Effect.Effect< {}, - | ConcurrentPipelineExecutionsLimitExceededException - | ConditionNotOverridableException - | ConflictException - | NotLatestPipelineExecutionException - | PipelineNotFoundException - | StageNotFoundException - | ValidationException - | CommonAwsError + ConcurrentPipelineExecutionsLimitExceededException | ConditionNotOverridableException | ConflictException | NotLatestPipelineExecutionException | PipelineNotFoundException | StageNotFoundException | ValidationException | CommonAwsError >; pollForJobs( input: PollForJobsInput, @@ -274,77 +176,43 @@ export declare class CodePipeline extends AWSServiceClient { input: PutActionRevisionInput, ): Effect.Effect< PutActionRevisionOutput, - | ActionNotFoundException - | ConcurrentPipelineExecutionsLimitExceededException - | PipelineNotFoundException - | StageNotFoundException - | ValidationException - | CommonAwsError + ActionNotFoundException | ConcurrentPipelineExecutionsLimitExceededException | PipelineNotFoundException | StageNotFoundException | ValidationException | CommonAwsError >; putApprovalResult( input: PutApprovalResultInput, ): Effect.Effect< PutApprovalResultOutput, - | ActionNotFoundException - | ApprovalAlreadyCompletedException - | InvalidApprovalTokenException - | PipelineNotFoundException - | StageNotFoundException - | ValidationException - | CommonAwsError + ActionNotFoundException | ApprovalAlreadyCompletedException | InvalidApprovalTokenException | PipelineNotFoundException | StageNotFoundException | ValidationException | CommonAwsError >; putJobFailureResult( input: PutJobFailureResultInput, ): Effect.Effect< {}, - | InvalidJobStateException - | JobNotFoundException - | ValidationException - | CommonAwsError + InvalidJobStateException | JobNotFoundException | ValidationException | CommonAwsError >; putJobSuccessResult( input: PutJobSuccessResultInput, ): Effect.Effect< {}, - | InvalidJobStateException - | JobNotFoundException - | OutputVariablesSizeExceededException - | ValidationException - | CommonAwsError + InvalidJobStateException | JobNotFoundException | OutputVariablesSizeExceededException | ValidationException | CommonAwsError >; putThirdPartyJobFailureResult( input: PutThirdPartyJobFailureResultInput, ): Effect.Effect< {}, - | InvalidClientTokenException - | InvalidJobStateException - | JobNotFoundException - | ValidationException - | CommonAwsError + InvalidClientTokenException | InvalidJobStateException | JobNotFoundException | ValidationException | CommonAwsError >; putThirdPartyJobSuccessResult( input: PutThirdPartyJobSuccessResultInput, ): Effect.Effect< {}, - | InvalidClientTokenException - | InvalidJobStateException - | JobNotFoundException - | ValidationException - | CommonAwsError + InvalidClientTokenException | InvalidJobStateException | JobNotFoundException | ValidationException | CommonAwsError >; putWebhook( input: PutWebhookInput, ): Effect.Effect< PutWebhookOutput, - | ConcurrentModificationException - | InvalidTagsException - | InvalidWebhookAuthenticationParametersException - | InvalidWebhookFilterPatternException - | LimitExceededException - | PipelineNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConcurrentModificationException | InvalidTagsException | InvalidWebhookAuthenticationParametersException | InvalidWebhookFilterPatternException | LimitExceededException | PipelineNotFoundException | TooManyTagsException | ValidationException | CommonAwsError >; registerWebhookWithThirdParty( input: RegisterWebhookWithThirdPartyInput, @@ -356,92 +224,49 @@ export declare class CodePipeline extends AWSServiceClient { input: RetryStageExecutionInput, ): Effect.Effect< RetryStageExecutionOutput, - | ConcurrentPipelineExecutionsLimitExceededException - | ConflictException - | NotLatestPipelineExecutionException - | PipelineNotFoundException - | StageNotFoundException - | StageNotRetryableException - | ValidationException - | CommonAwsError + ConcurrentPipelineExecutionsLimitExceededException | ConflictException | NotLatestPipelineExecutionException | PipelineNotFoundException | StageNotFoundException | StageNotRetryableException | ValidationException | CommonAwsError >; rollbackStage( input: RollbackStageInput, ): Effect.Effect< RollbackStageOutput, - | ConflictException - | PipelineExecutionNotFoundException - | PipelineExecutionOutdatedException - | PipelineNotFoundException - | StageNotFoundException - | UnableToRollbackStageException - | ValidationException - | CommonAwsError + ConflictException | PipelineExecutionNotFoundException | PipelineExecutionOutdatedException | PipelineNotFoundException | StageNotFoundException | UnableToRollbackStageException | ValidationException | CommonAwsError >; startPipelineExecution( input: StartPipelineExecutionInput, ): Effect.Effect< StartPipelineExecutionOutput, - | ConcurrentPipelineExecutionsLimitExceededException - | ConflictException - | PipelineNotFoundException - | ValidationException - | CommonAwsError + ConcurrentPipelineExecutionsLimitExceededException | ConflictException | PipelineNotFoundException | ValidationException | CommonAwsError >; stopPipelineExecution( input: StopPipelineExecutionInput, ): Effect.Effect< StopPipelineExecutionOutput, - | ConflictException - | DuplicatedStopRequestException - | PipelineExecutionNotStoppableException - | PipelineNotFoundException - | ValidationException - | CommonAwsError + ConflictException | DuplicatedStopRequestException | PipelineExecutionNotStoppableException | PipelineNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | ConcurrentModificationException - | InvalidArnException - | InvalidTagsException - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConcurrentModificationException | InvalidArnException | InvalidTagsException | ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | ConcurrentModificationException - | InvalidArnException - | InvalidTagsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConcurrentModificationException | InvalidArnException | InvalidTagsException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateActionType( input: UpdateActionTypeInput, ): Effect.Effect< {}, - | ActionTypeNotFoundException - | RequestFailedException - | ValidationException - | CommonAwsError + ActionTypeNotFoundException | RequestFailedException | ValidationException | CommonAwsError >; updatePipeline( input: UpdatePipelineInput, ): Effect.Effect< UpdatePipelineOutput, - | InvalidActionDeclarationException - | InvalidBlockerDeclarationException - | InvalidStageDeclarationException - | InvalidStructureException - | LimitExceededException - | ValidationException - | CommonAwsError + InvalidActionDeclarationException | InvalidBlockerDeclarationException | InvalidStageDeclarationException | InvalidStructureException | LimitExceededException | ValidationException | CommonAwsError >; } @@ -466,14 +291,7 @@ export interface AcknowledgeThirdPartyJobInput { export interface AcknowledgeThirdPartyJobOutput { status?: JobStatus; } -export type ActionCategory = - | "Source" - | "Build" - | "Deploy" - | "Test" - | "Invoke" - | "Approval" - | "Compute"; +export type ActionCategory = "Source" | "Build" | "Deploy" | "Test" | "Invoke" | "Approval" | "Compute"; export interface ActionConfiguration { configuration?: Record; } @@ -489,8 +307,7 @@ export interface ActionConfigurationProperty { description?: string; type?: ActionConfigurationPropertyType; } -export type ActionConfigurationPropertyList = - Array; +export type ActionConfigurationPropertyList = Array; export type ActionConfigurationPropertyType = "String" | "Number" | "Boolean"; export type ActionConfigurationQueryableValue = string; @@ -574,11 +391,7 @@ export interface ActionExecutionResult { errorDetails?: ErrorDetails; logStreamARN?: string; } -export type ActionExecutionStatus = - | "InProgress" - | "Abandoned" - | "Succeeded" - | "Failed"; +export type ActionExecutionStatus = "InProgress" | "Abandoned" | "Succeeded" | "Failed"; export type ActionExecutionToken = string; export type ActionName = string; @@ -789,14 +602,7 @@ export interface ConditionExecution { summary?: string; lastStatusChange?: Date | string; } -export type ConditionExecutionStatus = - | "InProgress" - | "Failed" - | "Errored" - | "Succeeded" - | "Cancelled" - | "Abandoned" - | "Overridden"; +export type ConditionExecutionStatus = "InProgress" | "Failed" | "Errored" | "Succeeded" | "Cancelled" | "Abandoned" | "Overridden"; export type ConditionList = Array; export declare class ConditionNotOverridableException extends EffectData.TaggedError( "ConditionNotOverridableException", @@ -855,7 +661,8 @@ export interface DeletePipelineInput { export interface DeleteWebhookInput { name: string; } -export interface DeleteWebhookOutput {} +export interface DeleteWebhookOutput { +} export interface DeployActionExecutionTarget { targetId?: string; targetType?: string; @@ -864,8 +671,7 @@ export interface DeployActionExecutionTarget { endTime?: Date | string; events?: Array; } -export type DeployActionExecutionTargetList = - Array; +export type DeployActionExecutionTargetList = Array; export interface DeployTargetEvent { name?: string; status?: string; @@ -881,7 +687,8 @@ export type DeployTargetEventList = Array; export interface DeregisterWebhookWithThirdPartyInput { webhookName?: string; } -export interface DeregisterWebhookWithThirdPartyOutput {} +export interface DeregisterWebhookWithThirdPartyOutput { +} export type Description = string; export type DisabledReason = string; @@ -960,13 +767,7 @@ export interface FailureDetails { message: string; externalExecutionId?: string; } -export type FailureType = - | "JobFailed" - | "ConfigurationError" - | "PermissionError" - | "RevisionOutOfSync" - | "RevisionUnavailable" - | "SystemUnavailable"; +export type FailureType = "JobFailed" | "ConfigurationError" | "PermissionError" | "RevisionOutOfSync" | "RevisionUnavailable" | "SystemUnavailable"; export type FilePath = string; export type FilePathList = Array; @@ -1160,14 +961,7 @@ export declare class JobNotFoundException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type JobStatus = - | "Created" - | "Queued" - | "Dispatched" - | "InProgress" - | "TimedOut" - | "Succeeded" - | "Failed"; +export type JobStatus = "Created" | "Queued" | "Dispatched" | "InProgress" | "TimedOut" | "Succeeded" | "Failed"; export type JobTimeout = number; export interface JobWorkerExecutorConfiguration { @@ -1396,14 +1190,7 @@ export declare class PipelineExecutionOutdatedException extends EffectData.Tagge )<{ readonly message?: string; }> {} -export type PipelineExecutionStatus = - | "Cancelled" - | "InProgress" - | "Stopped" - | "Stopping" - | "Succeeded" - | "Superseded" - | "Failed"; +export type PipelineExecutionStatus = "Cancelled" | "InProgress" | "Stopped" | "Stopping" | "Succeeded" | "Superseded" | "Failed"; export type PipelineExecutionStatusSummary = string; export interface PipelineExecutionSummary { @@ -1467,8 +1254,7 @@ export interface PipelineVariableDeclaration { defaultValue?: string; description?: string; } -export type PipelineVariableDeclarationList = - Array; +export type PipelineVariableDeclarationList = Array; export type PipelineVariableDescription = string; export type PipelineVariableList = Array; @@ -1558,7 +1344,8 @@ export type QueryParamMap = Record; export interface RegisterWebhookWithThirdPartyInput { webhookName?: string; } -export interface RegisterWebhookWithThirdPartyOutput {} +export interface RegisterWebhookWithThirdPartyOutput { +} export declare class RequestFailedException extends EffectData.TaggedError( "RequestFailedException", )<{ @@ -1691,11 +1478,7 @@ export interface RuleExecutionResult { externalExecutionUrl?: string; errorDetails?: ErrorDetails; } -export type RuleExecutionStatus = - | "InProgress" - | "Abandoned" - | "Succeeded" - | "Failed"; +export type RuleExecutionStatus = "InProgress" | "Abandoned" | "Succeeded" | "Failed"; export type RuleExecutionToken = string; export type RuleName = string; @@ -1772,11 +1555,7 @@ export interface SourceRevisionOverride { revisionValue: string; } export type SourceRevisionOverrideList = Array; -export type SourceRevisionType = - | "COMMIT_ID" - | "IMAGE_DIGEST" - | "S3_OBJECT_VERSION_ID" - | "S3_OBJECT_KEY"; +export type SourceRevisionType = "COMMIT_ID" | "IMAGE_DIGEST" | "S3_OBJECT_VERSION_ID" | "S3_OBJECT_KEY"; export type StageActionDeclarationList = Array; export type StageBlockerDeclarationList = Array; export interface StageConditionsExecution { @@ -1804,14 +1583,7 @@ export interface StageExecution { type?: ExecutionType; } export type StageExecutionList = Array; -export type StageExecutionStatus = - | "Cancelled" - | "InProgress" - | "Failed" - | "Stopped" - | "Stopping" - | "Succeeded" - | "Skipped"; +export type StageExecutionStatus = "Cancelled" | "InProgress" | "Failed" | "Stopped" | "Stopping" | "Succeeded" | "Skipped"; export type StageName = string; export declare class StageNotFoundException extends EffectData.TaggedError( @@ -1883,7 +1655,8 @@ export interface TagResourceInput { resourceArn: string; tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export interface TargetFilter { @@ -1934,16 +1707,7 @@ export interface TransitionState { } export type TriggerDetail = string; -export type TriggerType = - | "CreatePipeline" - | "StartPipelineExecution" - | "PollForSourceChanges" - | "Webhook" - | "CloudWatchEvent" - | "PutActionRevision" - | "WebhookV2" - | "ManualRollback" - | "AutomatedRollback"; +export type TriggerType = "CreatePipeline" | "StartPipelineExecution" | "PollForSourceChanges" | "Webhook" | "CloudWatchEvent" | "PutActionRevision" | "WebhookV2" | "ManualRollback" | "AutomatedRollback"; export declare class UnableToRollbackStageException extends EffectData.TaggedError( "UnableToRollbackStageException", )<{ @@ -1953,7 +1717,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateActionTypeInput { actionType: ActionTypeDeclaration; } @@ -1984,10 +1749,7 @@ export type WebhookAuthConfigurationAllowedIPRange = string; export type WebhookAuthConfigurationSecretToken = string; -export type WebhookAuthenticationType = - | "GITHUB_HMAC" - | "IP" - | "UNAUTHENTICATED"; +export type WebhookAuthenticationType = "GITHUB_HMAC" | "IP" | "UNAUTHENTICATED"; export interface WebhookDefinition { name: string; targetPipeline: string; @@ -2012,7 +1774,8 @@ export type WebhookName = string; export declare class WebhookNotFoundException extends EffectData.TaggedError( "WebhookNotFoundException", -)<{}> {} +)<{ +}> {} export type WebhookUrl = string; export declare namespace AcknowledgeJob { @@ -2492,46 +2255,5 @@ export declare namespace UpdatePipeline { | CommonAwsError; } -export type CodePipelineErrors = - | ActionExecutionNotFoundException - | ActionNotFoundException - | ActionTypeNotFoundException - | ApprovalAlreadyCompletedException - | ConcurrentModificationException - | ConcurrentPipelineExecutionsLimitExceededException - | ConditionNotOverridableException - | ConflictException - | DuplicatedStopRequestException - | InvalidActionDeclarationException - | InvalidApprovalTokenException - | InvalidArnException - | InvalidBlockerDeclarationException - | InvalidClientTokenException - | InvalidJobException - | InvalidJobStateException - | InvalidNextTokenException - | InvalidNonceException - | InvalidStageDeclarationException - | InvalidStructureException - | InvalidTagsException - | InvalidWebhookAuthenticationParametersException - | InvalidWebhookFilterPatternException - | JobNotFoundException - | LimitExceededException - | NotLatestPipelineExecutionException - | OutputVariablesSizeExceededException - | PipelineExecutionNotFoundException - | PipelineExecutionNotStoppableException - | PipelineExecutionOutdatedException - | PipelineNameInUseException - | PipelineNotFoundException - | PipelineVersionNotFoundException - | RequestFailedException - | ResourceNotFoundException - | StageNotFoundException - | StageNotRetryableException - | TooManyTagsException - | UnableToRollbackStageException - | ValidationException - | WebhookNotFoundException - | CommonAwsError; +export type CodePipelineErrors = ActionExecutionNotFoundException | ActionNotFoundException | ActionTypeNotFoundException | ApprovalAlreadyCompletedException | ConcurrentModificationException | ConcurrentPipelineExecutionsLimitExceededException | ConditionNotOverridableException | ConflictException | DuplicatedStopRequestException | InvalidActionDeclarationException | InvalidApprovalTokenException | InvalidArnException | InvalidBlockerDeclarationException | InvalidClientTokenException | InvalidJobException | InvalidJobStateException | InvalidNextTokenException | InvalidNonceException | InvalidStageDeclarationException | InvalidStructureException | InvalidTagsException | InvalidWebhookAuthenticationParametersException | InvalidWebhookFilterPatternException | JobNotFoundException | LimitExceededException | NotLatestPipelineExecutionException | OutputVariablesSizeExceededException | PipelineExecutionNotFoundException | PipelineExecutionNotStoppableException | PipelineExecutionOutdatedException | PipelineNameInUseException | PipelineNotFoundException | PipelineVersionNotFoundException | RequestFailedException | ResourceNotFoundException | StageNotFoundException | StageNotRetryableException | TooManyTagsException | UnableToRollbackStageException | ValidationException | WebhookNotFoundException | CommonAwsError; + diff --git a/src/services/codestar-connections/index.ts b/src/services/codestar-connections/index.ts index 19b50405..418b6a68 100644 --- a/src/services/codestar-connections/index.ts +++ b/src/services/codestar-connections/index.ts @@ -5,24 +5,7 @@ import type { CodeStarconnections as _CodeStarconnectionsClient } from "./types. export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/codestar-connections/types.ts b/src/services/codestar-connections/types.ts index 6ed9b030..a9a420b4 100644 --- a/src/services/codestar-connections/types.ts +++ b/src/services/codestar-connections/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class CodeStarconnections extends AWSServiceClient { @@ -41,39 +8,25 @@ export declare class CodeStarconnections extends AWSServiceClient { input: CreateConnectionInput, ): Effect.Effect< CreateConnectionOutput, - | LimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | CommonAwsError + LimitExceededException | ResourceNotFoundException | ResourceUnavailableException | CommonAwsError >; createHost( input: CreateHostInput, - ): Effect.Effect; + ): Effect.Effect< + CreateHostOutput, + LimitExceededException | CommonAwsError + >; createRepositoryLink( input: CreateRepositoryLinkInput, ): Effect.Effect< CreateRepositoryLinkOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createSyncConfiguration( input: CreateSyncConfigurationInput, ): Effect.Effect< CreateSyncConfigurationOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; deleteConnection( input: DeleteConnectionInput, @@ -91,27 +44,13 @@ export declare class CodeStarconnections extends AWSServiceClient { input: DeleteRepositoryLinkInput, ): Effect.Effect< DeleteRepositoryLinkOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | SyncConfigurationStillExistsException - | ThrottlingException - | UnsupportedProviderTypeException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | ResourceNotFoundException | SyncConfigurationStillExistsException | ThrottlingException | UnsupportedProviderTypeException | CommonAwsError >; deleteSyncConfiguration( input: DeleteSyncConfigurationInput, ): Effect.Effect< DeleteSyncConfigurationOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | LimitExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | LimitExceededException | ThrottlingException | CommonAwsError >; getConnection( input: GetConnectionInput, @@ -129,57 +68,31 @@ export declare class CodeStarconnections extends AWSServiceClient { input: GetRepositoryLinkInput, ): Effect.Effect< GetRepositoryLinkOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getRepositorySyncStatus( input: GetRepositorySyncStatusInput, ): Effect.Effect< GetRepositorySyncStatusOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getResourceSyncStatus( input: GetResourceSyncStatusInput, ): Effect.Effect< GetResourceSyncStatusOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSyncBlockerSummary( input: GetSyncBlockerSummaryInput, ): Effect.Effect< GetSyncBlockerSummaryOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSyncConfiguration( input: GetSyncConfigurationInput, ): Effect.Effect< GetSyncConfigurationOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listConnections( input: ListConnectionsInput, @@ -189,40 +102,27 @@ export declare class CodeStarconnections extends AWSServiceClient { >; listHosts( input: ListHostsInput, - ): Effect.Effect; + ): Effect.Effect< + ListHostsOutput, + CommonAwsError + >; listRepositoryLinks( input: ListRepositoryLinksInput, ): Effect.Effect< ListRepositoryLinksOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRepositorySyncDefinitions( input: ListRepositorySyncDefinitionsInput, ): Effect.Effect< ListRepositorySyncDefinitionsOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listSyncConfigurations( input: ListSyncConfigurationsInput, ): Effect.Effect< ListSyncConfigurationsOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, @@ -246,50 +146,25 @@ export declare class CodeStarconnections extends AWSServiceClient { input: UpdateHostInput, ): Effect.Effect< UpdateHostOutput, - | ConflictException - | ResourceNotFoundException - | ResourceUnavailableException - | UnsupportedOperationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ResourceUnavailableException | UnsupportedOperationException | CommonAwsError >; updateRepositoryLink( input: UpdateRepositoryLinkInput, ): Effect.Effect< UpdateRepositoryLinkOutput, - | AccessDeniedException - | ConditionalCheckFailedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | UpdateOutOfSyncException - | CommonAwsError + AccessDeniedException | ConditionalCheckFailedException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | UpdateOutOfSyncException | CommonAwsError >; updateSyncBlocker( input: UpdateSyncBlockerInput, ): Effect.Effect< UpdateSyncBlockerOutput, - | AccessDeniedException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | RetryLatestCommitFailedException - | SyncBlockerDoesNotExistException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidInputException | ResourceNotFoundException | RetryLatestCommitFailedException | SyncBlockerDoesNotExistException | ThrottlingException | CommonAwsError >; updateSyncConfiguration( input: UpdateSyncConfigurationInput, ): Effect.Effect< UpdateSyncConfigurationOutput, - | AccessDeniedException - | ConcurrentModificationException - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | ThrottlingException - | UpdateOutOfSyncException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalServerException | InvalidInputException | ResourceNotFoundException | ThrottlingException | UpdateOutOfSyncException | CommonAwsError >; } @@ -386,20 +261,24 @@ export interface CreateSyncConfigurationOutput { export interface DeleteConnectionInput { ConnectionArn: string; } -export interface DeleteConnectionOutput {} +export interface DeleteConnectionOutput { +} export interface DeleteHostInput { HostArn: string; } -export interface DeleteHostOutput {} +export interface DeleteHostOutput { +} export interface DeleteRepositoryLinkInput { RepositoryLinkId: string; } -export interface DeleteRepositoryLinkOutput {} +export interface DeleteRepositoryLinkOutput { +} export interface DeleteSyncConfigurationInput { SyncType: SyncConfigurationType; ResourceName: string; } -export interface DeleteSyncConfigurationOutput {} +export interface DeleteSyncConfigurationOutput { +} export type DeploymentFilePath = string; export type Directory = string; @@ -561,12 +440,7 @@ export type OwnerId = string; export type Parent = string; -export type ProviderType = - | "Bitbucket" - | "GitHub" - | "GitHubEnterpriseServer" - | "GitLab" - | "GitLabSelfManaged"; +export type ProviderType = "Bitbucket" | "GitHub" | "GitHubEnterpriseServer" | "GitLab" | "GitLabSelfManaged"; export type PublishDeploymentStatus = "ENABLED" | "DISABLED"; export type RepositoryLinkArn = string; @@ -603,12 +477,7 @@ export interface RepositorySyncEvent { Type: string; } export type RepositorySyncEventList = Array; -export type RepositorySyncStatus = - | "FAILED" - | "INITIATED" - | "IN_PROGRESS" - | "SUCCEEDED" - | "QUEUED"; +export type RepositorySyncStatus = "FAILED" | "INITIATED" | "IN_PROGRESS" | "SUCCEEDED" | "QUEUED"; export type ResolvedReason = string; export declare class ResourceAlreadyExistsException extends EffectData.TaggedError( @@ -638,11 +507,7 @@ export interface ResourceSyncEvent { Type: string; } export type ResourceSyncEventList = Array; -export type ResourceSyncStatus = - | "FAILED" - | "INITIATED" - | "IN_PROGRESS" - | "SUCCEEDED"; +export type ResourceSyncStatus = "FAILED" | "INITIATED" | "IN_PROGRESS" | "SUCCEEDED"; export declare class ResourceUnavailableException extends EffectData.TaggedError( "ResourceUnavailableException", )<{ @@ -732,7 +597,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type Target = string; @@ -763,13 +629,15 @@ export interface UntagResourceInput { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateHostInput { HostArn: string; ProviderEndpoint?: string; VpcConfiguration?: VpcConfiguration; } -export interface UpdateHostOutput {} +export interface UpdateHostOutput { +} export declare class UpdateOutOfSyncException extends EffectData.TaggedError( "UpdateOutOfSyncException", )<{ @@ -830,7 +698,9 @@ export declare namespace CreateConnection { export declare namespace CreateHost { export type Input = CreateHostInput; export type Output = CreateHostOutput; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace CreateRepositoryLink { @@ -864,7 +734,9 @@ export declare namespace CreateSyncConfiguration { export declare namespace DeleteConnection { export type Input = DeleteConnectionInput; export type Output = DeleteConnectionOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DeleteHost { @@ -986,13 +858,16 @@ export declare namespace GetSyncConfiguration { export declare namespace ListConnections { export type Input = ListConnectionsInput; export type Output = ListConnectionsOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListHosts { export type Input = ListHostsInput; export type Output = ListHostsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListRepositoryLinks { @@ -1035,7 +910,9 @@ export declare namespace ListSyncConfigurations { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceInput; export type Output = ListTagsForResourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -1050,7 +927,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceInput; export type Output = UntagResourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UpdateHost { @@ -1106,22 +985,5 @@ export declare namespace UpdateSyncConfiguration { | CommonAwsError; } -export type CodeStarconnectionsErrors = - | AccessDeniedException - | ConcurrentModificationException - | ConditionalCheckFailedException - | ConflictException - | InternalServerException - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | RetryLatestCommitFailedException - | SyncBlockerDoesNotExistException - | SyncConfigurationStillExistsException - | ThrottlingException - | UnsupportedOperationException - | UnsupportedProviderTypeException - | UpdateOutOfSyncException - | CommonAwsError; +export type CodeStarconnectionsErrors = AccessDeniedException | ConcurrentModificationException | ConditionalCheckFailedException | ConflictException | InternalServerException | InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ResourceUnavailableException | RetryLatestCommitFailedException | SyncBlockerDoesNotExistException | SyncConfigurationStillExistsException | ThrottlingException | UnsupportedOperationException | UnsupportedProviderTypeException | UpdateOutOfSyncException | CommonAwsError; + diff --git a/src/services/codestar-notifications/index.ts b/src/services/codestar-notifications/index.ts index f398e58a..2f4c90d7 100644 --- a/src/services/codestar-notifications/index.ts +++ b/src/services/codestar-notifications/index.ts @@ -5,24 +5,7 @@ import type { codestarnotifications as _codestarnotificationsClient } from "./ty export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,19 +15,19 @@ const metadata = { sigV4ServiceName: "codestar-notifications", endpointPrefix: "codestar-notifications", operations: { - CreateNotificationRule: "POST /createNotificationRule", - DeleteNotificationRule: "POST /deleteNotificationRule", - DeleteTarget: "POST /deleteTarget", - DescribeNotificationRule: "POST /describeNotificationRule", - ListEventTypes: "POST /listEventTypes", - ListNotificationRules: "POST /listNotificationRules", - ListTagsForResource: "POST /listTagsForResource", - ListTargets: "POST /listTargets", - Subscribe: "POST /subscribe", - TagResource: "POST /tagResource", - Unsubscribe: "POST /unsubscribe", - UntagResource: "POST /untagResource/{Arn}", - UpdateNotificationRule: "POST /updateNotificationRule", + "CreateNotificationRule": "POST /createNotificationRule", + "DeleteNotificationRule": "POST /deleteNotificationRule", + "DeleteTarget": "POST /deleteTarget", + "DescribeNotificationRule": "POST /describeNotificationRule", + "ListEventTypes": "POST /listEventTypes", + "ListNotificationRules": "POST /listNotificationRules", + "ListTagsForResource": "POST /listTagsForResource", + "ListTargets": "POST /listTargets", + "Subscribe": "POST /subscribe", + "TagResource": "POST /tagResource", + "Unsubscribe": "POST /unsubscribe", + "UntagResource": "POST /untagResource/{Arn}", + "UpdateNotificationRule": "POST /updateNotificationRule", }, } as const satisfies ServiceMetadata; diff --git a/src/services/codestar-notifications/types.ts b/src/services/codestar-notifications/types.ts index 299e7261..dda98ce8 100644 --- a/src/services/codestar-notifications/types.ts +++ b/src/services/codestar-notifications/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class codestarnotifications extends AWSServiceClient { @@ -41,26 +8,20 @@ export declare class codestarnotifications extends AWSServiceClient { input: CreateNotificationRuleRequest, ): Effect.Effect< CreateNotificationRuleResult, - | AccessDeniedException - | ConcurrentModificationException - | ConfigurationException - | LimitExceededException - | ResourceAlreadyExistsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | ConfigurationException | LimitExceededException | ResourceAlreadyExistsException | ValidationException | CommonAwsError >; deleteNotificationRule( input: DeleteNotificationRuleRequest, ): Effect.Effect< DeleteNotificationRuleResult, - | ConcurrentModificationException - | LimitExceededException - | ValidationException - | CommonAwsError + ConcurrentModificationException | LimitExceededException | ValidationException | CommonAwsError >; deleteTarget( input: DeleteTargetRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTargetResult, + ValidationException | CommonAwsError + >; describeNotificationRule( input: DescribeNotificationRuleRequest, ): Effect.Effect< @@ -95,42 +56,31 @@ export declare class codestarnotifications extends AWSServiceClient { input: SubscribeRequest, ): Effect.Effect< SubscribeResult, - | ConfigurationException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConfigurationException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResult, - | ConcurrentModificationException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConcurrentModificationException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; unsubscribe( input: UnsubscribeRequest, - ): Effect.Effect; + ): Effect.Effect< + UnsubscribeResult, + ValidationException | CommonAwsError + >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResult, - | ConcurrentModificationException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConcurrentModificationException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateNotificationRule( input: UpdateNotificationRuleRequest, ): Effect.Effect< UpdateNotificationRuleResult, - | ConfigurationException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConfigurationException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -178,7 +128,8 @@ export interface DeleteTargetRequest { TargetAddress: string; ForceUnsubscribeAll?: boolean; } -export interface DeleteTargetResult {} +export interface DeleteTargetResult { +} export interface DescribeNotificationRuleRequest { Arn: string; } @@ -243,11 +194,7 @@ export interface ListNotificationRulesFilter { Name: ListNotificationRulesFilterName; Value: string; } -export type ListNotificationRulesFilterName = - | "EVENT_TYPE_ID" - | "CREATED_BY" - | "RESOURCE" - | "TARGET_ADDRESS"; +export type ListNotificationRulesFilterName = "EVENT_TYPE_ID" | "CREATED_BY" | "RESOURCE" | "TARGET_ADDRESS"; export type ListNotificationRulesFilters = Array; export type ListNotificationRulesFilterValue = string; @@ -270,10 +217,7 @@ export interface ListTargetsFilter { Name: ListTargetsFilterName; Value: string; } -export type ListTargetsFilterName = - | "TARGET_TYPE" - | "TARGET_ADDRESS" - | "TARGET_STATUS"; +export type ListTargetsFilterName = "TARGET_TYPE" | "TARGET_ADDRESS" | "TARGET_STATUS"; export type ListTargetsFilters = Array; export type ListTargetsFilterValue = string; @@ -351,12 +295,7 @@ export type TargetAddress = string; export type Targets = Array; export type TargetsBatch = Array; -export type TargetStatus = - | "PENDING" - | "ACTIVE" - | "UNREACHABLE" - | "INACTIVE" - | "DEACTIVATED"; +export type TargetStatus = "PENDING" | "ACTIVE" | "UNREACHABLE" | "INACTIVE" | "DEACTIVATED"; export interface TargetSummary { TargetAddress?: string; TargetType?: string; @@ -375,7 +314,8 @@ export interface UntagResourceRequest { Arn: string; TagKeys: Array; } -export interface UntagResourceResult {} +export interface UntagResourceResult { +} export interface UpdateNotificationRuleRequest { Arn: string; Name?: string; @@ -384,7 +324,8 @@ export interface UpdateNotificationRuleRequest { Targets?: Array; DetailType?: DetailType; } -export interface UpdateNotificationRuleResult {} +export interface UpdateNotificationRuleResult { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -416,7 +357,9 @@ export declare namespace DeleteNotificationRule { export declare namespace DeleteTarget { export type Input = DeleteTargetRequest; export type Output = DeleteTargetResult; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace DescribeNotificationRule { @@ -488,7 +431,9 @@ export declare namespace TagResource { export declare namespace Unsubscribe { export type Input = UnsubscribeRequest; export type Output = UnsubscribeResult; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace UntagResource { @@ -512,13 +457,5 @@ export declare namespace UpdateNotificationRule { | CommonAwsError; } -export type codestarnotificationsErrors = - | AccessDeniedException - | ConcurrentModificationException - | ConfigurationException - | InvalidNextTokenException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type codestarnotificationsErrors = AccessDeniedException | ConcurrentModificationException | ConfigurationException | InvalidNextTokenException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/cognito-identity-provider/index.ts b/src/services/cognito-identity-provider/index.ts index acb7c5a1..ef5f481c 100644 --- a/src/services/cognito-identity-provider/index.ts +++ b/src/services/cognito-identity-provider/index.ts @@ -5,26 +5,7 @@ import type { CognitoIdentityProvider as _CognitoIdentityProviderClient } from " export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cognito-identity-provider/types.ts b/src/services/cognito-identity-provider/types.ts index 82d680b0..b39ec6ce 100644 --- a/src/services/cognito-identity-provider/types.ts +++ b/src/services/cognito-identity-provider/types.ts @@ -7,1671 +7,715 @@ export declare class CognitoIdentityProvider extends AWSServiceClient { input: AddCustomAttributesRequest, ): Effect.Effect< AddCustomAttributesResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserImportInProgressException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserImportInProgressException | CommonAwsError >; adminAddUserToGroup( input: AdminAddUserToGroupRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminConfirmSignUp( input: AdminConfirmSignUpRequest, ): Effect.Effect< AdminConfirmSignUpResponse, - | InternalErrorException - | InvalidLambdaResponseException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyFailedAttemptsException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidLambdaResponseException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyFailedAttemptsException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotFoundException | CommonAwsError >; adminCreateUser( input: AdminCreateUserRequest, ): Effect.Effect< AdminCreateUserResponse, - | CodeDeliveryFailureException - | InternalErrorException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidPasswordException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | NotAuthorizedException - | PreconditionNotMetException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UnsupportedUserStateException - | UserLambdaValidationException - | UsernameExistsException - | UserNotFoundException - | CommonAwsError + CodeDeliveryFailureException | InternalErrorException | InvalidLambdaResponseException | InvalidParameterException | InvalidPasswordException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | NotAuthorizedException | PreconditionNotMetException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UnsupportedUserStateException | UserLambdaValidationException | UsernameExistsException | UserNotFoundException | CommonAwsError >; adminDeleteUser( input: AdminDeleteUserRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminDeleteUserAttributes( input: AdminDeleteUserAttributesRequest, ): Effect.Effect< AdminDeleteUserAttributesResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminDisableProviderForUser( input: AdminDisableProviderForUserRequest, ): Effect.Effect< AdminDisableProviderForUserResponse, - | AliasExistsException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + AliasExistsException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminDisableUser( input: AdminDisableUserRequest, ): Effect.Effect< AdminDisableUserResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminEnableUser( input: AdminEnableUserRequest, ): Effect.Effect< AdminEnableUserResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminForgetDevice( input: AdminForgetDeviceRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | InvalidUserPoolConfigurationException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminGetDevice( input: AdminGetDeviceRequest, ): Effect.Effect< AdminGetDeviceResponse, - | InternalErrorException - | InvalidParameterException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | InvalidUserPoolConfigurationException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; adminGetUser( input: AdminGetUserRequest, ): Effect.Effect< AdminGetUserResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminInitiateAuth( input: AdminInitiateAuthRequest, ): Effect.Effect< AdminInitiateAuthResponse, - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | InvalidUserPoolConfigurationException - | MFAMethodNotFoundException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UnsupportedOperationException - | UserLambdaValidationException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | InvalidUserPoolConfigurationException | MFAMethodNotFoundException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UnsupportedOperationException | UserLambdaValidationException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; adminLinkProviderForUser( input: AdminLinkProviderForUserRequest, ): Effect.Effect< AdminLinkProviderForUserResponse, - | AliasExistsException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + AliasExistsException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminListDevices( input: AdminListDevicesRequest, ): Effect.Effect< AdminListDevicesResponse, - | InternalErrorException - | InvalidParameterException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | InvalidUserPoolConfigurationException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; adminListGroupsForUser( input: AdminListGroupsForUserRequest, ): Effect.Effect< AdminListGroupsForUserResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminListUserAuthEvents( input: AdminListUserAuthEventsRequest, ): Effect.Effect< AdminListUserAuthEventsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | UserPoolAddOnNotEnabledException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | UserPoolAddOnNotEnabledException | CommonAwsError >; adminRemoveUserFromGroup( input: AdminRemoveUserFromGroupRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminResetUserPassword( input: AdminResetUserPasswordRequest, ): Effect.Effect< AdminResetUserPasswordResponse, - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotFoundException | CommonAwsError >; adminRespondToAuthChallenge( input: AdminRespondToAuthChallengeRequest, ): Effect.Effect< AdminRespondToAuthChallengeResponse, - | AliasExistsException - | CodeMismatchException - | ExpiredCodeException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidPasswordException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | InvalidUserPoolConfigurationException - | MFAMethodNotFoundException - | NotAuthorizedException - | PasswordHistoryPolicyViolationException - | PasswordResetRequiredException - | ResourceNotFoundException - | SoftwareTokenMFANotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + AliasExistsException | CodeMismatchException | ExpiredCodeException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidPasswordException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | InvalidUserPoolConfigurationException | MFAMethodNotFoundException | NotAuthorizedException | PasswordHistoryPolicyViolationException | PasswordResetRequiredException | ResourceNotFoundException | SoftwareTokenMFANotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; adminSetUserMFAPreference( input: AdminSetUserMFAPreferenceRequest, ): Effect.Effect< AdminSetUserMFAPreferenceResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; adminSetUserPassword( input: AdminSetUserPasswordRequest, ): Effect.Effect< AdminSetUserPasswordResponse, - | InternalErrorException - | InvalidParameterException - | InvalidPasswordException - | NotAuthorizedException - | PasswordHistoryPolicyViolationException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | InvalidPasswordException | NotAuthorizedException | PasswordHistoryPolicyViolationException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminSetUserSettings( input: AdminSetUserSettingsRequest, ): Effect.Effect< AdminSetUserSettingsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | UserNotFoundException | CommonAwsError >; adminUpdateAuthEventFeedback( input: AdminUpdateAuthEventFeedbackRequest, ): Effect.Effect< AdminUpdateAuthEventFeedbackResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | UserPoolAddOnNotEnabledException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | UserPoolAddOnNotEnabledException | CommonAwsError >; adminUpdateDeviceStatus( input: AdminUpdateDeviceStatusRequest, ): Effect.Effect< AdminUpdateDeviceStatusResponse, - | InternalErrorException - | InvalidParameterException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | InvalidUserPoolConfigurationException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; adminUpdateUserAttributes( input: AdminUpdateUserAttributesRequest, ): Effect.Effect< AdminUpdateUserAttributesResponse, - | AliasExistsException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotFoundException - | CommonAwsError + AliasExistsException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotFoundException | CommonAwsError >; adminUserGlobalSignOut( input: AdminUserGlobalSignOutRequest, ): Effect.Effect< AdminUserGlobalSignOutResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | CommonAwsError >; associateSoftwareToken( input: AssociateSoftwareTokenRequest, ): Effect.Effect< AssociateSoftwareTokenResponse, - | ConcurrentModificationException - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | SoftwareTokenMFANotFoundException - | CommonAwsError + ConcurrentModificationException | ForbiddenException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | SoftwareTokenMFANotFoundException | CommonAwsError >; changePassword( input: ChangePasswordRequest, ): Effect.Effect< ChangePasswordResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | InvalidPasswordException - | LimitExceededException - | NotAuthorizedException - | PasswordHistoryPolicyViolationException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | InvalidPasswordException | LimitExceededException | NotAuthorizedException | PasswordHistoryPolicyViolationException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; completeWebAuthnRegistration( input: CompleteWebAuthnRegistrationRequest, ): Effect.Effect< CompleteWebAuthnRegistrationResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | TooManyRequestsException - | WebAuthnChallengeNotFoundException - | WebAuthnClientMismatchException - | WebAuthnCredentialNotSupportedException - | WebAuthnNotEnabledException - | WebAuthnOriginNotAllowedException - | WebAuthnRelyingPartyMismatchException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | TooManyRequestsException | WebAuthnChallengeNotFoundException | WebAuthnClientMismatchException | WebAuthnCredentialNotSupportedException | WebAuthnNotEnabledException | WebAuthnOriginNotAllowedException | WebAuthnRelyingPartyMismatchException | CommonAwsError >; confirmDevice( input: ConfirmDeviceRequest, ): Effect.Effect< ConfirmDeviceResponse, - | DeviceKeyExistsException - | ForbiddenException - | InternalErrorException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidPasswordException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UsernameExistsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + DeviceKeyExistsException | ForbiddenException | InternalErrorException | InvalidLambdaResponseException | InvalidParameterException | InvalidPasswordException | InvalidUserPoolConfigurationException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UsernameExistsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; confirmForgotPassword( input: ConfirmForgotPasswordRequest, ): Effect.Effect< ConfirmForgotPasswordResponse, - | CodeMismatchException - | ExpiredCodeException - | ForbiddenException - | InternalErrorException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidPasswordException - | LimitExceededException - | NotAuthorizedException - | PasswordHistoryPolicyViolationException - | ResourceNotFoundException - | TooManyFailedAttemptsException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + CodeMismatchException | ExpiredCodeException | ForbiddenException | InternalErrorException | InvalidLambdaResponseException | InvalidParameterException | InvalidPasswordException | LimitExceededException | NotAuthorizedException | PasswordHistoryPolicyViolationException | ResourceNotFoundException | TooManyFailedAttemptsException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; confirmSignUp( input: ConfirmSignUpRequest, ): Effect.Effect< ConfirmSignUpResponse, - | AliasExistsException - | CodeMismatchException - | ExpiredCodeException - | ForbiddenException - | InternalErrorException - | InvalidLambdaResponseException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyFailedAttemptsException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotFoundException - | CommonAwsError + AliasExistsException | CodeMismatchException | ExpiredCodeException | ForbiddenException | InternalErrorException | InvalidLambdaResponseException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyFailedAttemptsException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotFoundException | CommonAwsError >; createGroup( input: CreateGroupRequest, ): Effect.Effect< CreateGroupResponse, - | GroupExistsException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + GroupExistsException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; createIdentityProvider( input: CreateIdentityProviderRequest, ): Effect.Effect< CreateIdentityProviderResponse, - | DuplicateProviderException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + DuplicateProviderException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; createManagedLoginBranding( input: CreateManagedLoginBrandingRequest, ): Effect.Effect< CreateManagedLoginBrandingResponse, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | ManagedLoginBrandingExistsException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | LimitExceededException | ManagedLoginBrandingExistsException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; createResourceServer( input: CreateResourceServerRequest, ): Effect.Effect< CreateResourceServerResponse, - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; createTerms( input: CreateTermsRequest, ): Effect.Effect< CreateTermsResponse, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TermsExistsException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TermsExistsException | TooManyRequestsException | CommonAwsError >; createUserImportJob( input: CreateUserImportJobRequest, ): Effect.Effect< CreateUserImportJobResponse, - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | PreconditionNotMetException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | PreconditionNotMetException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; createUserPool( input: CreateUserPoolRequest, ): Effect.Effect< CreateUserPoolResponse, - | FeatureUnavailableInTierException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | LimitExceededException - | NotAuthorizedException - | TierChangeNotAllowedException - | TooManyRequestsException - | UserPoolTaggingException - | CommonAwsError + FeatureUnavailableInTierException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | LimitExceededException | NotAuthorizedException | TierChangeNotAllowedException | TooManyRequestsException | UserPoolTaggingException | CommonAwsError >; createUserPoolClient( input: CreateUserPoolClientRequest, ): Effect.Effect< CreateUserPoolClientResponse, - | FeatureUnavailableInTierException - | InternalErrorException - | InvalidOAuthFlowException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | ScopeDoesNotExistException - | TooManyRequestsException - | CommonAwsError + FeatureUnavailableInTierException | InternalErrorException | InvalidOAuthFlowException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | ScopeDoesNotExistException | TooManyRequestsException | CommonAwsError >; createUserPoolDomain( input: CreateUserPoolDomainRequest, ): Effect.Effect< CreateUserPoolDomainResponse, - | ConcurrentModificationException - | FeatureUnavailableInTierException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | FeatureUnavailableInTierException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; deleteGroup( input: DeleteGroupRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; deleteIdentityProvider( input: DeleteIdentityProviderRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UnsupportedIdentityProviderException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UnsupportedIdentityProviderException | CommonAwsError >; deleteManagedLoginBranding( input: DeleteManagedLoginBrandingRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; deleteResourceServer( input: DeleteResourceServerRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; deleteTerms( input: DeleteTermsRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< {}, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; deleteUserAttributes( input: DeleteUserAttributesRequest, ): Effect.Effect< DeleteUserAttributesResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; deleteUserPool( input: DeleteUserPoolRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserImportInProgressException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserImportInProgressException | CommonAwsError >; deleteUserPoolClient( input: DeleteUserPoolClientRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; deleteUserPoolDomain( input: DeleteUserPoolDomainRequest, ): Effect.Effect< DeleteUserPoolDomainResponse, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; deleteWebAuthnCredential( input: DeleteWebAuthnCredentialRequest, ): Effect.Effect< DeleteWebAuthnCredentialResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeIdentityProvider( input: DescribeIdentityProviderRequest, ): Effect.Effect< DescribeIdentityProviderResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeManagedLoginBranding( input: DescribeManagedLoginBrandingRequest, ): Effect.Effect< DescribeManagedLoginBrandingResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeManagedLoginBrandingByClient( input: DescribeManagedLoginBrandingByClientRequest, ): Effect.Effect< DescribeManagedLoginBrandingByClientResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeResourceServer( input: DescribeResourceServerRequest, ): Effect.Effect< DescribeResourceServerResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeRiskConfiguration( input: DescribeRiskConfigurationRequest, ): Effect.Effect< DescribeRiskConfigurationResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserPoolAddOnNotEnabledException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserPoolAddOnNotEnabledException | CommonAwsError >; describeTerms( input: DescribeTermsRequest, ): Effect.Effect< DescribeTermsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeUserImportJob( input: DescribeUserImportJobRequest, ): Effect.Effect< DescribeUserImportJobResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeUserPool( input: DescribeUserPoolRequest, ): Effect.Effect< DescribeUserPoolResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserPoolTaggingException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserPoolTaggingException | CommonAwsError >; - describeUserPoolClient( - input: DescribeUserPoolClientRequest, - ): Effect.Effect< - DescribeUserPoolClientResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + describeUserPoolClient( + input: DescribeUserPoolClientRequest, + ): Effect.Effect< + DescribeUserPoolClientResponse, + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeUserPoolDomain( input: DescribeUserPoolDomainRequest, ): Effect.Effect< DescribeUserPoolDomainResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; forgetDevice( input: ForgetDeviceRequest, ): Effect.Effect< {}, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | InvalidUserPoolConfigurationException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; forgotPassword( input: ForgotPasswordRequest, ): Effect.Effect< ForgotPasswordResponse, - | CodeDeliveryFailureException - | ForbiddenException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotFoundException - | CommonAwsError + CodeDeliveryFailureException | ForbiddenException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotFoundException | CommonAwsError >; getCSVHeader( input: GetCSVHeaderRequest, ): Effect.Effect< GetCSVHeaderResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getDevice( input: GetDeviceRequest, ): Effect.Effect< GetDeviceResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | InvalidUserPoolConfigurationException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; getGroup( input: GetGroupRequest, ): Effect.Effect< GetGroupResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getIdentityProviderByIdentifier( input: GetIdentityProviderByIdentifierRequest, ): Effect.Effect< GetIdentityProviderByIdentifierResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getLogDeliveryConfiguration( input: GetLogDeliveryConfigurationRequest, ): Effect.Effect< GetLogDeliveryConfigurationResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getSigningCertificate( input: GetSigningCertificateRequest, ): Effect.Effect< GetSigningCertificateResponse, - | InternalErrorException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getTokensFromRefreshToken( input: GetTokensFromRefreshTokenRequest, ): Effect.Effect< GetTokensFromRefreshTokenResponse, - | ForbiddenException - | InternalErrorException - | InvalidLambdaResponseException - | InvalidParameterException - | NotAuthorizedException - | RefreshTokenReuseException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidLambdaResponseException | InvalidParameterException | NotAuthorizedException | RefreshTokenReuseException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotFoundException | CommonAwsError >; getUICustomization( input: GetUICustomizationRequest, ): Effect.Effect< GetUICustomizationResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getUser( input: GetUserRequest, ): Effect.Effect< GetUserResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; getUserAttributeVerificationCode( input: GetUserAttributeVerificationCodeRequest, ): Effect.Effect< GetUserAttributeVerificationCodeResponse, - | CodeDeliveryFailureException - | ForbiddenException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | LimitExceededException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + CodeDeliveryFailureException | ForbiddenException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | LimitExceededException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; getUserAuthFactors( input: GetUserAuthFactorsRequest, ): Effect.Effect< GetUserAuthFactorsResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; getUserPoolMfaConfig( input: GetUserPoolMfaConfigRequest, ): Effect.Effect< GetUserPoolMfaConfigResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; globalSignOut( input: GlobalSignOutRequest, ): Effect.Effect< GlobalSignOutResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | CommonAwsError >; initiateAuth( input: InitiateAuthRequest, ): Effect.Effect< InitiateAuthResponse, - | ForbiddenException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UnsupportedOperationException - | UserLambdaValidationException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | InvalidUserPoolConfigurationException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UnsupportedOperationException | UserLambdaValidationException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; listDevices( input: ListDevicesRequest, ): Effect.Effect< ListDevicesResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | InvalidUserPoolConfigurationException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; listGroups( input: ListGroupsRequest, ): Effect.Effect< ListGroupsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listIdentityProviders( input: ListIdentityProvidersRequest, ): Effect.Effect< ListIdentityProvidersResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listResourceServers( input: ListResourceServersRequest, ): Effect.Effect< ListResourceServersResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listTerms( input: ListTermsRequest, ): Effect.Effect< ListTermsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listUserImportJobs( input: ListUserImportJobsRequest, ): Effect.Effect< ListUserImportJobsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listUserPoolClients( input: ListUserPoolClientsRequest, ): Effect.Effect< ListUserPoolClientsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listUserPools( input: ListUserPoolsRequest, ): Effect.Effect< ListUserPoolsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | TooManyRequestsException | CommonAwsError >; listUsers( input: ListUsersRequest, ): Effect.Effect< ListUsersResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listUsersInGroup( input: ListUsersInGroupRequest, ): Effect.Effect< ListUsersInGroupResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listWebAuthnCredentials( input: ListWebAuthnCredentialsRequest, ): Effect.Effect< ListWebAuthnCredentialsResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | TooManyRequestsException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | TooManyRequestsException | CommonAwsError >; resendConfirmationCode( input: ResendConfirmationCodeRequest, ): Effect.Effect< - ResendConfirmationCodeResponse, - | CodeDeliveryFailureException - | ForbiddenException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotFoundException - | CommonAwsError - >; - respondToAuthChallenge( - input: RespondToAuthChallengeRequest, - ): Effect.Effect< - RespondToAuthChallengeResponse, - | AliasExistsException - | CodeMismatchException - | ExpiredCodeException - | ForbiddenException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidPasswordException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | InvalidUserPoolConfigurationException - | MFAMethodNotFoundException - | NotAuthorizedException - | PasswordHistoryPolicyViolationException - | PasswordResetRequiredException - | ResourceNotFoundException - | SoftwareTokenMFANotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ResendConfirmationCodeResponse, + CodeDeliveryFailureException | ForbiddenException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotFoundException | CommonAwsError + >; + respondToAuthChallenge( + input: RespondToAuthChallengeRequest, + ): Effect.Effect< + RespondToAuthChallengeResponse, + AliasExistsException | CodeMismatchException | ExpiredCodeException | ForbiddenException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidPasswordException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | InvalidUserPoolConfigurationException | MFAMethodNotFoundException | NotAuthorizedException | PasswordHistoryPolicyViolationException | PasswordResetRequiredException | ResourceNotFoundException | SoftwareTokenMFANotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; revokeToken( input: RevokeTokenRequest, ): Effect.Effect< RevokeTokenResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | TooManyRequestsException - | UnauthorizedException - | UnsupportedOperationException - | UnsupportedTokenTypeException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | TooManyRequestsException | UnauthorizedException | UnsupportedOperationException | UnsupportedTokenTypeException | CommonAwsError >; setLogDeliveryConfiguration( input: SetLogDeliveryConfigurationRequest, ): Effect.Effect< SetLogDeliveryConfigurationResponse, - | FeatureUnavailableInTierException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + FeatureUnavailableInTierException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; setRiskConfiguration( input: SetRiskConfigurationRequest, ): Effect.Effect< SetRiskConfigurationResponse, - | CodeDeliveryFailureException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserPoolAddOnNotEnabledException - | CommonAwsError + CodeDeliveryFailureException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserPoolAddOnNotEnabledException | CommonAwsError >; setUICustomization( input: SetUICustomizationRequest, ): Effect.Effect< SetUICustomizationResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; setUserMFAPreference( input: SetUserMFAPreferenceRequest, ): Effect.Effect< SetUserMFAPreferenceResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; setUserPoolMfaConfig( input: SetUserPoolMfaConfigRequest, ): Effect.Effect< SetUserPoolMfaConfigResponse, - | ConcurrentModificationException - | FeatureUnavailableInTierException - | InternalErrorException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | FeatureUnavailableInTierException | InternalErrorException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; setUserSettings( input: SetUserSettingsRequest, ): Effect.Effect< SetUserSettingsResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; signUp( input: SignUpRequest, ): Effect.Effect< SignUpResponse, - | CodeDeliveryFailureException - | ForbiddenException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidPasswordException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | LimitExceededException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UsernameExistsException - | CommonAwsError + CodeDeliveryFailureException | ForbiddenException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidPasswordException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | LimitExceededException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UsernameExistsException | CommonAwsError >; startUserImportJob( input: StartUserImportJobRequest, ): Effect.Effect< StartUserImportJobResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PreconditionNotMetException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | PreconditionNotMetException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; startWebAuthnRegistration( input: StartWebAuthnRegistrationRequest, ): Effect.Effect< StartWebAuthnRegistrationResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | TooManyRequestsException - | WebAuthnConfigurationMissingException - | WebAuthnNotEnabledException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | TooManyRequestsException | WebAuthnConfigurationMissingException | WebAuthnNotEnabledException | CommonAwsError >; stopUserImportJob( input: StopUserImportJobRequest, ): Effect.Effect< StopUserImportJobResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | PreconditionNotMetException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | PreconditionNotMetException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; updateAuthEventFeedback( input: UpdateAuthEventFeedbackRequest, ): Effect.Effect< UpdateAuthEventFeedbackResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotFoundException - | UserPoolAddOnNotEnabledException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UserNotFoundException | UserPoolAddOnNotEnabledException | CommonAwsError >; updateDeviceStatus( input: UpdateDeviceStatusRequest, ): Effect.Effect< UpdateDeviceStatusResponse, - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + ForbiddenException | InternalErrorException | InvalidParameterException | InvalidUserPoolConfigurationException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; updateGroup( input: UpdateGroupRequest, ): Effect.Effect< UpdateGroupResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; updateIdentityProvider( input: UpdateIdentityProviderRequest, ): Effect.Effect< UpdateIdentityProviderResponse, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | UnsupportedIdentityProviderException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | UnsupportedIdentityProviderException | CommonAwsError >; updateManagedLoginBranding( input: UpdateManagedLoginBrandingRequest, ): Effect.Effect< UpdateManagedLoginBrandingResponse, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; updateResourceServer( input: UpdateResourceServerRequest, ): Effect.Effect< UpdateResourceServerResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; updateTerms( input: UpdateTermsRequest, ): Effect.Effect< UpdateTermsResponse, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TermsExistsException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TermsExistsException | TooManyRequestsException | CommonAwsError >; updateUserAttributes( input: UpdateUserAttributesRequest, ): Effect.Effect< UpdateUserAttributesResponse, - | AliasExistsException - | CodeDeliveryFailureException - | CodeMismatchException - | ExpiredCodeException - | ForbiddenException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UnexpectedLambdaException - | UserLambdaValidationException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + AliasExistsException | CodeDeliveryFailureException | CodeMismatchException | ExpiredCodeException | ForbiddenException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UnexpectedLambdaException | UserLambdaValidationException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; updateUserPool( input: UpdateUserPoolRequest, ): Effect.Effect< UpdateUserPoolResponse, - | ConcurrentModificationException - | FeatureUnavailableInTierException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidParameterException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | NotAuthorizedException - | ResourceNotFoundException - | TierChangeNotAllowedException - | TooManyRequestsException - | UserImportInProgressException - | UserPoolTaggingException - | CommonAwsError + ConcurrentModificationException | FeatureUnavailableInTierException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidParameterException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | NotAuthorizedException | ResourceNotFoundException | TierChangeNotAllowedException | TooManyRequestsException | UserImportInProgressException | UserPoolTaggingException | CommonAwsError >; updateUserPoolClient( input: UpdateUserPoolClientRequest, ): Effect.Effect< UpdateUserPoolClientResponse, - | ConcurrentModificationException - | FeatureUnavailableInTierException - | InternalErrorException - | InvalidOAuthFlowException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | ScopeDoesNotExistException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | FeatureUnavailableInTierException | InternalErrorException | InvalidOAuthFlowException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | ScopeDoesNotExistException | TooManyRequestsException | CommonAwsError >; updateUserPoolDomain( input: UpdateUserPoolDomainRequest, ): Effect.Effect< UpdateUserPoolDomainResponse, - | ConcurrentModificationException - | FeatureUnavailableInTierException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | FeatureUnavailableInTierException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; verifySoftwareToken( input: VerifySoftwareTokenRequest, ): Effect.Effect< VerifySoftwareTokenResponse, - | CodeMismatchException - | EnableSoftwareTokenMFAException - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | InvalidUserPoolConfigurationException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | SoftwareTokenMFANotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + CodeMismatchException | EnableSoftwareTokenMFAException | ForbiddenException | InternalErrorException | InvalidParameterException | InvalidUserPoolConfigurationException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | SoftwareTokenMFANotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; verifyUserAttribute( input: VerifyUserAttributeRequest, ): Effect.Effect< VerifyUserAttributeResponse, - | AliasExistsException - | CodeMismatchException - | ExpiredCodeException - | ForbiddenException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | PasswordResetRequiredException - | ResourceNotFoundException - | TooManyRequestsException - | UserNotConfirmedException - | UserNotFoundException - | CommonAwsError + AliasExistsException | CodeMismatchException | ExpiredCodeException | ForbiddenException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | PasswordResetRequiredException | ResourceNotFoundException | TooManyRequestsException | UserNotConfirmedException | UserNotFoundException | CommonAwsError >; } @@ -1691,11 +735,7 @@ export interface AccountTakeoverActionType { Notify: boolean; EventAction: AccountTakeoverEventActionType; } -export type AccountTakeoverEventActionType = - | "BLOCK" - | "MFA_IF_CONFIGURED" - | "MFA_REQUIRED" - | "NO_ACTION"; +export type AccountTakeoverEventActionType = "BLOCK" | "MFA_IF_CONFIGURED" | "MFA_REQUIRED" | "NO_ACTION"; export interface AccountTakeoverRiskConfigurationType { NotifyConfiguration?: NotifyConfigurationType; Actions: AccountTakeoverActionsType; @@ -1704,7 +744,8 @@ export interface AddCustomAttributesRequest { UserPoolId: string; CustomAttributes: Array; } -export interface AddCustomAttributesResponse {} +export interface AddCustomAttributesResponse { +} export interface AdminAddUserToGroupRequest { UserPoolId: string; Username: string; @@ -1715,7 +756,8 @@ export interface AdminConfirmSignUpRequest { Username: string; ClientMetadata?: Record; } -export interface AdminConfirmSignUpResponse {} +export interface AdminConfirmSignUpResponse { +} export interface AdminCreateUserConfigType { AllowAdminCreateUserOnly?: boolean; UnusedAccountValidityDays?: number; @@ -1742,7 +784,8 @@ export interface AdminDeleteUserAttributesRequest { Username: string; UserAttributeNames: Array; } -export interface AdminDeleteUserAttributesResponse {} +export interface AdminDeleteUserAttributesResponse { +} export interface AdminDeleteUserRequest { UserPoolId: string; Username: string; @@ -1751,17 +794,20 @@ export interface AdminDisableProviderForUserRequest { UserPoolId: string; User: ProviderUserIdentifierType; } -export interface AdminDisableProviderForUserResponse {} +export interface AdminDisableProviderForUserResponse { +} export interface AdminDisableUserRequest { UserPoolId: string; Username: string; } -export interface AdminDisableUserResponse {} +export interface AdminDisableUserResponse { +} export interface AdminEnableUserRequest { UserPoolId: string; Username: string; } -export interface AdminEnableUserResponse {} +export interface AdminEnableUserResponse { +} export interface AdminForgetDeviceRequest { UserPoolId: string; Username: string; @@ -1812,7 +858,8 @@ export interface AdminLinkProviderForUserRequest { DestinationUser: ProviderUserIdentifierType; SourceUser: ProviderUserIdentifierType; } -export interface AdminLinkProviderForUserResponse {} +export interface AdminLinkProviderForUserResponse { +} export interface AdminListDevicesRequest { UserPoolId: string; Username: string; @@ -1853,7 +900,8 @@ export interface AdminResetUserPasswordRequest { Username: string; ClientMetadata?: Record; } -export interface AdminResetUserPasswordResponse {} +export interface AdminResetUserPasswordResponse { +} export interface AdminRespondToAuthChallengeRequest { UserPoolId: string; ClientId: string; @@ -1877,56 +925,60 @@ export interface AdminSetUserMFAPreferenceRequest { Username: string; UserPoolId: string; } -export interface AdminSetUserMFAPreferenceResponse {} +export interface AdminSetUserMFAPreferenceResponse { +} export interface AdminSetUserPasswordRequest { UserPoolId: string; Username: string; Password: string; Permanent?: boolean; } -export interface AdminSetUserPasswordResponse {} +export interface AdminSetUserPasswordResponse { +} export interface AdminSetUserSettingsRequest { UserPoolId: string; Username: string; MFAOptions: Array; } -export interface AdminSetUserSettingsResponse {} +export interface AdminSetUserSettingsResponse { +} export interface AdminUpdateAuthEventFeedbackRequest { UserPoolId: string; Username: string; EventId: string; FeedbackValue: FeedbackValueType; } -export interface AdminUpdateAuthEventFeedbackResponse {} +export interface AdminUpdateAuthEventFeedbackResponse { +} export interface AdminUpdateDeviceStatusRequest { UserPoolId: string; Username: string; DeviceKey: string; DeviceRememberedStatus?: DeviceRememberedStatusType; } -export interface AdminUpdateDeviceStatusResponse {} +export interface AdminUpdateDeviceStatusResponse { +} export interface AdminUpdateUserAttributesRequest { UserPoolId: string; Username: string; UserAttributes: Array; ClientMetadata?: Record; } -export interface AdminUpdateUserAttributesResponse {} +export interface AdminUpdateUserAttributesResponse { +} export interface AdminUserGlobalSignOutRequest { UserPoolId: string; Username: string; } -export interface AdminUserGlobalSignOutResponse {} +export interface AdminUserGlobalSignOutResponse { +} export interface AdvancedSecurityAdditionalFlowsType { CustomAuthMode?: AdvancedSecurityEnabledModeType; } export type AdvancedSecurityEnabledModeType = "AUDIT" | "ENFORCED"; export type AdvancedSecurityModeType = "OFF" | "AUDIT" | "ENFORCED"; export type AliasAttributesListType = Array; -export type AliasAttributeType = - | "phone_number" - | "email" - | "preferred_username"; +export type AliasAttributeType = "phone_number" | "email" | "preferred_username"; export declare class AliasExistsException extends EffectData.TaggedError( "AliasExistsException", )<{ @@ -1947,22 +999,7 @@ export type ArnType = string; export type AssetBytesType = Uint8Array | string; -export type AssetCategoryType = - | "FAVICON_ICO" - | "FAVICON_SVG" - | "EMAIL_GRAPHIC" - | "SMS_GRAPHIC" - | "AUTH_APP_GRAPHIC" - | "PASSWORD_GRAPHIC" - | "PASSKEY_GRAPHIC" - | "PAGE_HEADER_LOGO" - | "PAGE_HEADER_BACKGROUND" - | "PAGE_FOOTER_LOGO" - | "PAGE_FOOTER_BACKGROUND" - | "PAGE_BACKGROUND" - | "FORM_BACKGROUND" - | "FORM_LOGO" - | "IDP_BUTTON_ICON"; +export type AssetCategoryType = "FAVICON_ICO" | "FAVICON_SVG" | "EMAIL_GRAPHIC" | "SMS_GRAPHIC" | "AUTH_APP_GRAPHIC" | "PASSWORD_GRAPHIC" | "PASSKEY_GRAPHIC" | "PAGE_HEADER_LOGO" | "PAGE_HEADER_BACKGROUND" | "PAGE_FOOTER_LOGO" | "PAGE_FOOTER_BACKGROUND" | "PAGE_BACKGROUND" | "FORM_BACKGROUND" | "FORM_LOGO" | "IDP_BUTTON_ICON"; export type AssetExtensionType = "ICO" | "JPEG" | "PNG" | "SVG" | "WEBP"; export type AssetListType = Array; export interface AssetType { @@ -1988,8 +1025,7 @@ export type AttributeMappingType = Record; export type AttributeNameListType = Array; export type AttributeNameType = string; -export type AttributesRequireVerificationBeforeUpdateType = - Array; +export type AttributesRequireVerificationBeforeUpdateType = Array; export interface AttributeType { Name: string; Value?: string; @@ -2016,15 +1052,7 @@ export interface AuthEventType { EventFeedback?: EventFeedbackType; } export type AuthFactorType = "PASSWORD" | "EMAIL_OTP" | "SMS_OTP" | "WEB_AUTHN"; -export type AuthFlowType = - | "USER_SRP_AUTH" - | "REFRESH_TOKEN_AUTH" - | "REFRESH_TOKEN" - | "CUSTOM_AUTH" - | "ADMIN_NO_SRP_AUTH" - | "USER_PASSWORD_AUTH" - | "ADMIN_USER_PASSWORD_AUTH" - | "USER_AUTH"; +export type AuthFlowType = "USER_SRP_AUTH" | "REFRESH_TOKEN_AUTH" | "REFRESH_TOKEN" | "CUSTOM_AUTH" | "ADMIN_NO_SRP_AUTH" | "USER_PASSWORD_AUTH" | "ADMIN_USER_PASSWORD_AUTH" | "USER_AUTH"; export type AuthParametersType = Record; export type AuthSessionValidityType = number; @@ -2036,23 +1064,7 @@ export type BooleanType = boolean; export type CallbackURLsListType = Array; export type ChallengeName = "Password" | "Mfa"; -export type ChallengeNameType = - | "SMS_MFA" - | "EMAIL_OTP" - | "SOFTWARE_TOKEN_MFA" - | "SELECT_MFA_TYPE" - | "MFA_SETUP" - | "PASSWORD_VERIFIER" - | "CUSTOM_CHALLENGE" - | "SELECT_CHALLENGE" - | "DEVICE_SRP_AUTH" - | "DEVICE_PASSWORD_VERIFIER" - | "ADMIN_NO_SRP_AUTH" - | "NEW_PASSWORD_REQUIRED" - | "SMS_OTP" - | "PASSWORD" - | "WEB_AUTHN" - | "PASSWORD_SRP"; +export type ChallengeNameType = "SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "SELECT_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED" | "SMS_OTP" | "PASSWORD" | "WEB_AUTHN" | "PASSWORD_SRP"; export type ChallengeParametersType = Record; export type ChallengeResponse = "Success" | "Failure"; export type ChallengeResponseListType = Array; @@ -2066,7 +1078,8 @@ export interface ChangePasswordRequest { ProposedPassword: string; AccessToken: string; } -export interface ChangePasswordResponse {} +export interface ChangePasswordResponse { +} export type ClientIdType = string; export type ClientMetadataType = Record; @@ -2101,7 +1114,8 @@ export interface CompleteWebAuthnRegistrationRequest { AccessToken: string; Credential: unknown; } -export interface CompleteWebAuthnRegistrationResponse {} +export interface CompleteWebAuthnRegistrationResponse { +} export type CompletionMessageType = string; export interface CompromisedCredentialsActionsType { @@ -2139,7 +1153,8 @@ export interface ConfirmForgotPasswordRequest { UserContextData?: UserContextDataType; ClientMetadata?: Record; } -export interface ConfirmForgotPasswordResponse {} +export interface ConfirmForgotPasswordResponse { +} export interface ConfirmSignUpRequest { ClientId: string; SecretHash?: string; @@ -2334,7 +1349,8 @@ export interface DeleteUserAttributesRequest { UserAttributeNames: Array; AccessToken: string; } -export interface DeleteUserAttributesResponse {} +export interface DeleteUserAttributesResponse { +} export interface DeleteUserPoolClientRequest { UserPoolId: string; ClientId: string; @@ -2343,7 +1359,8 @@ export interface DeleteUserPoolDomainRequest { Domain: string; UserPoolId: string; } -export interface DeleteUserPoolDomainResponse {} +export interface DeleteUserPoolDomainResponse { +} export interface DeleteUserPoolRequest { UserPoolId: string; } @@ -2354,7 +1371,8 @@ export interface DeleteWebAuthnCredentialRequest { AccessToken: string; CredentialId: string; } -export interface DeleteWebAuthnCredentialResponse {} +export interface DeleteWebAuthnCredentialResponse { +} export type DeletionProtectionType = "ACTIVE" | "INACTIVE"; export type DeliveryMediumListType = Array; export type DeliveryMediumType = "SMS" | "EMAIL"; @@ -2469,12 +1487,7 @@ export interface DomainDescriptionType { CustomDomainConfig?: CustomDomainConfigType; ManagedLoginVersion?: number; } -export type DomainStatusType = - | "CREATING" - | "DELETING" - | "UPDATING" - | "ACTIVE" - | "FAILED"; +export type DomainStatusType = "CREATING" | "DELETING" | "UPDATING" | "ACTIVE" | "FAILED"; export type DomainType = string; export type DomainVersionType = string; @@ -2548,28 +1561,14 @@ export interface EventRiskType { CompromisedCredentialsDetected?: boolean; } export type EventSourceName = "userNotification" | "userAuthEvents"; -export type EventType = - | "SignIn" - | "SignUp" - | "ForgotPassword" - | "PasswordChange" - | "ResendCode"; +export type EventType = "SignIn" | "SignUp" | "ForgotPassword" | "PasswordChange" | "ResendCode"; export declare class ExpiredCodeException extends EffectData.TaggedError( "ExpiredCodeException", )<{ readonly message?: string; }> {} export type ExplicitAuthFlowsListType = Array; -export type ExplicitAuthFlowsType = - | "ADMIN_NO_SRP_AUTH" - | "CUSTOM_AUTH_FLOW_ONLY" - | "USER_PASSWORD_AUTH" - | "ALLOW_ADMIN_USER_PASSWORD_AUTH" - | "ALLOW_CUSTOM_AUTH" - | "ALLOW_USER_PASSWORD_AUTH" - | "ALLOW_USER_SRP_AUTH" - | "ALLOW_REFRESH_TOKEN_AUTH" - | "ALLOW_USER_AUTH"; +export type ExplicitAuthFlowsType = "ADMIN_NO_SRP_AUTH" | "CUSTOM_AUTH_FLOW_ONLY" | "USER_PASSWORD_AUTH" | "ALLOW_ADMIN_USER_PASSWORD_AUTH" | "ALLOW_CUSTOM_AUTH" | "ALLOW_USER_PASSWORD_AUTH" | "ALLOW_USER_SRP_AUTH" | "ALLOW_REFRESH_TOKEN_AUTH" | "ALLOW_USER_AUTH"; export type FeatureType = "ENABLED" | "DISABLED"; export declare class FeatureUnavailableInTierException extends EffectData.TaggedError( "FeatureUnavailableInTierException", @@ -2701,7 +1700,8 @@ export interface GetUserResponse { export interface GlobalSignOutRequest { AccessToken: string; } -export interface GlobalSignOutResponse {} +export interface GlobalSignOutResponse { +} export declare class GroupExistsException extends EffectData.TaggedError( "GroupExistsException", )<{ @@ -2736,13 +1736,7 @@ export interface IdentityProviderType { LastModifiedDate?: Date | string; CreationDate?: Date | string; } -export type IdentityProviderTypeType = - | "SAML" - | "Facebook" - | "Google" - | "LoginWithAmazon" - | "SignInWithApple" - | "OIDC"; +export type IdentityProviderTypeType = "SAML" | "Facebook" | "Google" | "LoginWithAmazon" | "SignInWithApple" | "OIDC"; export type IdpIdentifiersListType = Array; export type IdpIdentifierType = string; @@ -3106,10 +2100,7 @@ export type QueryLimit = number; export type QueryLimitType = number; export type RecoveryMechanismsType = Array; -export type RecoveryOptionNameType = - | "verified_email" - | "verified_phone_number" - | "admin_only"; +export type RecoveryOptionNameType = "verified_email" | "verified_phone_number" | "admin_only"; export interface RecoveryOptionType { Priority: number; Name: RecoveryOptionNameType; @@ -3191,7 +2182,8 @@ export interface RevokeTokenRequest { ClientId: string; ClientSecret?: string; } -export interface RevokeTokenResponse {} +export interface RevokeTokenResponse { +} export interface RiskConfigurationType { UserPoolId?: string; ClientId?: string; @@ -3274,7 +2266,8 @@ export interface SetUserMFAPreferenceRequest { EmailMfaSettings?: EmailMfaSettingsType; AccessToken: string; } -export interface SetUserMFAPreferenceResponse {} +export interface SetUserMFAPreferenceResponse { +} export interface SetUserPoolMfaConfigRequest { UserPoolId: string; SmsMfaConfiguration?: SmsMfaConfigType; @@ -3294,7 +2287,8 @@ export interface SetUserSettingsRequest { AccessToken: string; MFAOptions: Array; } -export interface SetUserSettingsResponse {} +export interface SetUserSettingsResponse { +} export interface SignInPolicyType { AllowedFirstAuthFactors?: Array; } @@ -3381,7 +2375,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValueType = string; export type TemporaryPasswordValidityDaysType = number; @@ -3482,7 +2477,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAuthEventFeedbackRequest { UserPoolId: string; Username: string; @@ -3490,13 +2486,15 @@ export interface UpdateAuthEventFeedbackRequest { FeedbackToken: string; FeedbackValue: FeedbackValueType; } -export interface UpdateAuthEventFeedbackResponse {} +export interface UpdateAuthEventFeedbackResponse { +} export interface UpdateDeviceStatusRequest { AccessToken: string; DeviceKey: string; DeviceRememberedStatus?: DeviceRememberedStatusType; } -export interface UpdateDeviceStatusResponse {} +export interface UpdateDeviceStatusResponse { +} export interface UpdateGroupRequest { GroupName: string; UserPoolId: string; @@ -3616,7 +2614,8 @@ export interface UpdateUserPoolRequest { PoolName?: string; UserPoolTier?: UserPoolTierType; } -export interface UpdateUserPoolResponse {} +export interface UpdateUserPoolResponse { +} export interface UserAttributeUpdateSettingsType { AttributesRequireVerificationBeforeUpdate?: Array; } @@ -3636,15 +2635,7 @@ export type UserImportJobIdType = string; export type UserImportJobNameType = string; export type UserImportJobsListType = Array; -export type UserImportJobStatusType = - | "Created" - | "Pending" - | "InProgress" - | "Stopping" - | "Expired" - | "Stopped" - | "Failed" - | "Succeeded"; +export type UserImportJobStatusType = "Created" | "Pending" | "InProgress" | "Stopping" | "Expired" | "Stopped" | "Failed" | "Succeeded"; export interface UserImportJobType { JobName?: string; JobId?: string; @@ -3794,15 +2785,7 @@ export interface UserPoolType { UserPoolTier?: UserPoolTierType; } export type UsersListType = Array; -export type UserStatusType = - | "UNCONFIRMED" - | "CONFIRMED" - | "ARCHIVED" - | "COMPROMISED" - | "UNKNOWN" - | "RESET_REQUIRED" - | "FORCE_CHANGE_PASSWORD" - | "EXTERNAL_PROVIDER"; +export type UserStatusType = "UNCONFIRMED" | "CONFIRMED" | "ARCHIVED" | "COMPROMISED" | "UNKNOWN" | "RESET_REQUIRED" | "FORCE_CHANGE_PASSWORD" | "EXTERNAL_PROVIDER"; export interface UserType { Username?: string; Attributes?: Array; @@ -3839,7 +2822,8 @@ export interface VerifyUserAttributeRequest { AttributeName: string; Code: string; } -export interface VerifyUserAttributeResponse {} +export interface VerifyUserAttributeResponse { +} export type WebAuthnAuthenticatorAttachmentType = string; export type WebAuthnAuthenticatorTransportsList = Array; @@ -3872,8 +2856,7 @@ export interface WebAuthnCredentialDescription { AuthenticatorTransports: Array; CreatedAt: Date | string; } -export type WebAuthnCredentialDescriptionListType = - Array; +export type WebAuthnCredentialDescriptionListType = Array; export declare class WebAuthnCredentialNotSupportedException extends EffectData.TaggedError( "WebAuthnCredentialNotSupportedException", )<{ @@ -5689,60 +4672,5 @@ export declare namespace VerifyUserAttribute { | CommonAwsError; } -export type CognitoIdentityProviderErrors = - | AliasExistsException - | CodeDeliveryFailureException - | CodeMismatchException - | ConcurrentModificationException - | DeviceKeyExistsException - | DuplicateProviderException - | EnableSoftwareTokenMFAException - | ExpiredCodeException - | FeatureUnavailableInTierException - | ForbiddenException - | GroupExistsException - | InternalErrorException - | InvalidEmailRoleAccessPolicyException - | InvalidLambdaResponseException - | InvalidOAuthFlowException - | InvalidParameterException - | InvalidPasswordException - | InvalidSmsRoleAccessPolicyException - | InvalidSmsRoleTrustRelationshipException - | InvalidUserPoolConfigurationException - | LimitExceededException - | MFAMethodNotFoundException - | ManagedLoginBrandingExistsException - | NotAuthorizedException - | PasswordHistoryPolicyViolationException - | PasswordResetRequiredException - | PreconditionNotMetException - | RefreshTokenReuseException - | ResourceNotFoundException - | ScopeDoesNotExistException - | SoftwareTokenMFANotFoundException - | TermsExistsException - | TierChangeNotAllowedException - | TooManyFailedAttemptsException - | TooManyRequestsException - | UnauthorizedException - | UnexpectedLambdaException - | UnsupportedIdentityProviderException - | UnsupportedOperationException - | UnsupportedTokenTypeException - | UnsupportedUserStateException - | UserImportInProgressException - | UserLambdaValidationException - | UserNotConfirmedException - | UserNotFoundException - | UserPoolAddOnNotEnabledException - | UserPoolTaggingException - | UsernameExistsException - | WebAuthnChallengeNotFoundException - | WebAuthnClientMismatchException - | WebAuthnConfigurationMissingException - | WebAuthnCredentialNotSupportedException - | WebAuthnNotEnabledException - | WebAuthnOriginNotAllowedException - | WebAuthnRelyingPartyMismatchException - | CommonAwsError; +export type CognitoIdentityProviderErrors = AliasExistsException | CodeDeliveryFailureException | CodeMismatchException | ConcurrentModificationException | DeviceKeyExistsException | DuplicateProviderException | EnableSoftwareTokenMFAException | ExpiredCodeException | FeatureUnavailableInTierException | ForbiddenException | GroupExistsException | InternalErrorException | InvalidEmailRoleAccessPolicyException | InvalidLambdaResponseException | InvalidOAuthFlowException | InvalidParameterException | InvalidPasswordException | InvalidSmsRoleAccessPolicyException | InvalidSmsRoleTrustRelationshipException | InvalidUserPoolConfigurationException | LimitExceededException | MFAMethodNotFoundException | ManagedLoginBrandingExistsException | NotAuthorizedException | PasswordHistoryPolicyViolationException | PasswordResetRequiredException | PreconditionNotMetException | RefreshTokenReuseException | ResourceNotFoundException | ScopeDoesNotExistException | SoftwareTokenMFANotFoundException | TermsExistsException | TierChangeNotAllowedException | TooManyFailedAttemptsException | TooManyRequestsException | UnauthorizedException | UnexpectedLambdaException | UnsupportedIdentityProviderException | UnsupportedOperationException | UnsupportedTokenTypeException | UnsupportedUserStateException | UserImportInProgressException | UserLambdaValidationException | UserNotConfirmedException | UserNotFoundException | UserPoolAddOnNotEnabledException | UserPoolTaggingException | UsernameExistsException | WebAuthnChallengeNotFoundException | WebAuthnClientMismatchException | WebAuthnConfigurationMissingException | WebAuthnCredentialNotSupportedException | WebAuthnNotEnabledException | WebAuthnOriginNotAllowedException | WebAuthnRelyingPartyMismatchException | CommonAwsError; + diff --git a/src/services/cognito-identity/index.ts b/src/services/cognito-identity/index.ts index b8ede54e..c2d5f080 100644 --- a/src/services/cognito-identity/index.ts +++ b/src/services/cognito-identity/index.ts @@ -5,26 +5,7 @@ import type { CognitoIdentity as _CognitoIdentityClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cognito-identity/types.ts b/src/services/cognito-identity/types.ts index d6ad79f7..f252da65 100644 --- a/src/services/cognito-identity/types.ts +++ b/src/services/cognito-identity/types.ts @@ -7,274 +7,139 @@ export declare class CognitoIdentity extends AWSServiceClient { input: CreateIdentityPoolInput, ): Effect.Effect< IdentityPool, - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceConflictException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceConflictException | TooManyRequestsException | CommonAwsError >; deleteIdentities( input: DeleteIdentitiesInput, ): Effect.Effect< DeleteIdentitiesResponse, - | InternalErrorException - | InvalidParameterException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | TooManyRequestsException | CommonAwsError >; deleteIdentityPool( input: DeleteIdentityPoolInput, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeIdentity( input: DescribeIdentityInput, ): Effect.Effect< IdentityDescription, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeIdentityPool( input: DescribeIdentityPoolInput, ): Effect.Effect< IdentityPool, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getCredentialsForIdentity( input: GetCredentialsForIdentityInput, ): Effect.Effect< GetCredentialsForIdentityResponse, - | ExternalServiceException - | InternalErrorException - | InvalidIdentityPoolConfigurationException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ExternalServiceException | InternalErrorException | InvalidIdentityPoolConfigurationException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getId( input: GetIdInput, ): Effect.Effect< GetIdResponse, - | ExternalServiceException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ExternalServiceException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getIdentityPoolRoles( input: GetIdentityPoolRolesInput, ): Effect.Effect< GetIdentityPoolRolesResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getOpenIdToken( input: GetOpenIdTokenInput, ): Effect.Effect< GetOpenIdTokenResponse, - | ExternalServiceException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ExternalServiceException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getOpenIdTokenForDeveloperIdentity( input: GetOpenIdTokenForDeveloperIdentityInput, ): Effect.Effect< GetOpenIdTokenForDeveloperIdentityResponse, - | DeveloperUserAlreadyRegisteredException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + DeveloperUserAlreadyRegisteredException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getPrincipalTagAttributeMap( input: GetPrincipalTagAttributeMapInput, ): Effect.Effect< GetPrincipalTagAttributeMapResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listIdentities( input: ListIdentitiesInput, ): Effect.Effect< ListIdentitiesResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listIdentityPools( input: ListIdentityPoolsInput, ): Effect.Effect< ListIdentityPoolsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; lookupDeveloperIdentity( input: LookupDeveloperIdentityInput, ): Effect.Effect< LookupDeveloperIdentityResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; mergeDeveloperIdentities( input: MergeDeveloperIdentitiesInput, ): Effect.Effect< MergeDeveloperIdentitiesResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; setIdentityPoolRoles( input: SetIdentityPoolRolesInput, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; setPrincipalTagAttributeMap( input: SetPrincipalTagAttributeMapInput, ): Effect.Effect< SetPrincipalTagAttributeMapResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; unlinkDeveloperIdentity( input: UnlinkDeveloperIdentityInput, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; unlinkIdentity( input: UnlinkIdentityInput, ): Effect.Effect< {}, - | ExternalServiceException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ExternalServiceException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; updateIdentityPool( input: IdentityPool, ): Effect.Effect< IdentityPool, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -521,11 +386,7 @@ export interface MappingRule { Value: string; RoleARN: string; } -export type MappingRuleMatchType = - | "Equals" - | "Contains" - | "StartsWith" - | "NotEqual"; +export type MappingRuleMatchType = "Equals" | "Contains" | "StartsWith" | "NotEqual"; export type MappingRulesList = Array; export interface MergeDeveloperIdentitiesInput { SourceUserIdentifier: string; @@ -606,7 +467,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValueType = string; export type TokenDuration = number; @@ -636,7 +498,8 @@ export interface UntagResourceInput { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UseDefaults = boolean; export declare namespace CreateIdentityPool { @@ -935,16 +798,5 @@ export declare namespace UpdateIdentityPool { | CommonAwsError; } -export type CognitoIdentityErrors = - | ConcurrentModificationException - | DeveloperUserAlreadyRegisteredException - | ExternalServiceException - | InternalErrorException - | InvalidIdentityPoolConfigurationException - | InvalidParameterException - | LimitExceededException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError; +export type CognitoIdentityErrors = ConcurrentModificationException | DeveloperUserAlreadyRegisteredException | ExternalServiceException | InternalErrorException | InvalidIdentityPoolConfigurationException | InvalidParameterException | LimitExceededException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/cognito-sync/index.ts b/src/services/cognito-sync/index.ts index 700344d7..f87bb317 100644 --- a/src/services/cognito-sync/index.ts +++ b/src/services/cognito-sync/index.ts @@ -5,26 +5,7 @@ import type { CognitoSync as _CognitoSyncClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,35 +15,23 @@ const metadata = { sigV4ServiceName: "cognito-sync", endpointPrefix: "cognito-sync", operations: { - BulkPublish: "POST /identitypools/{IdentityPoolId}/bulkpublish", - DeleteDataset: - "DELETE /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", - DescribeDataset: - "GET /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", - DescribeIdentityPoolUsage: "GET /identitypools/{IdentityPoolId}", - DescribeIdentityUsage: - "GET /identitypools/{IdentityPoolId}/identities/{IdentityId}", - GetBulkPublishDetails: - "POST /identitypools/{IdentityPoolId}/getBulkPublishDetails", - GetCognitoEvents: "GET /identitypools/{IdentityPoolId}/events", - GetIdentityPoolConfiguration: - "GET /identitypools/{IdentityPoolId}/configuration", - ListDatasets: - "GET /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", - ListIdentityPoolUsage: "GET /identitypools", - ListRecords: - "GET /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", - RegisterDevice: - "POST /identitypools/{IdentityPoolId}/identity/{IdentityId}/device", - SetCognitoEvents: "POST /identitypools/{IdentityPoolId}/events", - SetIdentityPoolConfiguration: - "POST /identitypools/{IdentityPoolId}/configuration", - SubscribeToDataset: - "POST /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", - UnsubscribeFromDataset: - "DELETE /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", - UpdateRecords: - "POST /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", + "BulkPublish": "POST /identitypools/{IdentityPoolId}/bulkpublish", + "DeleteDataset": "DELETE /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", + "DescribeDataset": "GET /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", + "DescribeIdentityPoolUsage": "GET /identitypools/{IdentityPoolId}", + "DescribeIdentityUsage": "GET /identitypools/{IdentityPoolId}/identities/{IdentityId}", + "GetBulkPublishDetails": "POST /identitypools/{IdentityPoolId}/getBulkPublishDetails", + "GetCognitoEvents": "GET /identitypools/{IdentityPoolId}/events", + "GetIdentityPoolConfiguration": "GET /identitypools/{IdentityPoolId}/configuration", + "ListDatasets": "GET /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets", + "ListIdentityPoolUsage": "GET /identitypools", + "ListRecords": "GET /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records", + "RegisterDevice": "POST /identitypools/{IdentityPoolId}/identity/{IdentityId}/device", + "SetCognitoEvents": "POST /identitypools/{IdentityPoolId}/events", + "SetIdentityPoolConfiguration": "POST /identitypools/{IdentityPoolId}/configuration", + "SubscribeToDataset": "POST /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", + "UnsubscribeFromDataset": "DELETE /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}", + "UpdateRecords": "POST /identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/cognito-sync/types.ts b/src/services/cognito-sync/types.ts index 12070a73..b27dcc18 100644 --- a/src/services/cognito-sync/types.ts +++ b/src/services/cognito-sync/types.ts @@ -7,194 +7,103 @@ export declare class CognitoSync extends AWSServiceClient { input: BulkPublishRequest, ): Effect.Effect< BulkPublishResponse, - | AlreadyStreamedException - | DuplicateRequestException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + AlreadyStreamedException | DuplicateRequestException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; deleteDataset( input: DeleteDatasetRequest, ): Effect.Effect< DeleteDatasetResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeDataset( input: DescribeDatasetRequest, ): Effect.Effect< DescribeDatasetResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeIdentityPoolUsage( input: DescribeIdentityPoolUsageRequest, ): Effect.Effect< DescribeIdentityPoolUsageResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeIdentityUsage( input: DescribeIdentityUsageRequest, ): Effect.Effect< DescribeIdentityUsageResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getBulkPublishDetails( input: GetBulkPublishDetailsRequest, ): Effect.Effect< GetBulkPublishDetailsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; getCognitoEvents( input: GetCognitoEventsRequest, ): Effect.Effect< GetCognitoEventsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getIdentityPoolConfiguration( input: GetIdentityPoolConfigurationRequest, ): Effect.Effect< GetIdentityPoolConfigurationResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listDatasets( input: ListDatasetsRequest, ): Effect.Effect< ListDatasetsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | TooManyRequestsException | CommonAwsError >; listIdentityPoolUsage( input: ListIdentityPoolUsageRequest, ): Effect.Effect< ListIdentityPoolUsageResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | TooManyRequestsException | CommonAwsError >; listRecords( input: ListRecordsRequest, ): Effect.Effect< ListRecordsResponse, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | TooManyRequestsException | CommonAwsError >; registerDevice( input: RegisterDeviceRequest, ): Effect.Effect< RegisterDeviceResponse, - | InternalErrorException - | InvalidConfigurationException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidConfigurationException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; setCognitoEvents( input: SetCognitoEventsRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; setIdentityPoolConfiguration( input: SetIdentityPoolConfigurationRequest, ): Effect.Effect< SetIdentityPoolConfigurationResponse, - | ConcurrentModificationException - | InternalErrorException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalErrorException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; subscribeToDataset( input: SubscribeToDatasetRequest, ): Effect.Effect< SubscribeToDatasetResponse, - | InternalErrorException - | InvalidConfigurationException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidConfigurationException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; unsubscribeFromDataset( input: UnsubscribeFromDatasetRequest, ): Effect.Effect< UnsubscribeFromDatasetResponse, - | InternalErrorException - | InvalidConfigurationException - | InvalidParameterException - | NotAuthorizedException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidConfigurationException | InvalidParameterException | NotAuthorizedException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; updateRecords( input: UpdateRecordsRequest, ): Effect.Effect< UpdateRecordsResponse, - | InternalErrorException - | InvalidLambdaFunctionOutputException - | InvalidParameterException - | LambdaThrottledException - | LimitExceededException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalErrorException | InvalidLambdaFunctionOutputException | InvalidParameterException | LambdaThrottledException | LimitExceededException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -216,11 +125,7 @@ export interface BulkPublishRequest { export interface BulkPublishResponse { IdentityPoolId?: string; } -export type BulkPublishStatus = - | "NOT_STARTED" - | "IN_PROGRESS" - | "FAILED" - | "SUCCEEDED"; +export type BulkPublishStatus = "NOT_STARTED" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED"; export type ClientContext = string; export type CognitoEventType = string; @@ -488,7 +393,8 @@ export interface SubscribeToDatasetRequest { DatasetName: string; DeviceId: string; } -export interface SubscribeToDatasetResponse {} +export interface SubscribeToDatasetResponse { +} export type SyncSessionToken = string; export declare class TooManyRequestsException extends EffectData.TaggedError( @@ -502,7 +408,8 @@ export interface UnsubscribeFromDatasetRequest { DatasetName: string; DeviceId: string; } -export interface UnsubscribeFromDatasetResponse {} +export interface UnsubscribeFromDatasetResponse { +} export interface UpdateRecordsRequest { IdentityPoolId: string; IdentityId: string; @@ -725,18 +632,5 @@ export declare namespace UpdateRecords { | CommonAwsError; } -export type CognitoSyncErrors = - | AlreadyStreamedException - | ConcurrentModificationException - | DuplicateRequestException - | InternalErrorException - | InvalidConfigurationException - | InvalidLambdaFunctionOutputException - | InvalidParameterException - | LambdaThrottledException - | LimitExceededException - | NotAuthorizedException - | ResourceConflictException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError; +export type CognitoSyncErrors = AlreadyStreamedException | ConcurrentModificationException | DuplicateRequestException | InternalErrorException | InvalidConfigurationException | InvalidLambdaFunctionOutputException | InvalidParameterException | LambdaThrottledException | LimitExceededException | NotAuthorizedException | ResourceConflictException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/comprehend/index.ts b/src/services/comprehend/index.ts index 08afabc8..1a54e40b 100644 --- a/src/services/comprehend/index.ts +++ b/src/services/comprehend/index.ts @@ -5,26 +5,7 @@ import type { Comprehend as _ComprehendClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/comprehend/types.ts b/src/services/comprehend/types.ts index 4e4f11e3..223ebb99 100644 --- a/src/services/comprehend/types.ts +++ b/src/services/comprehend/types.ts @@ -7,906 +7,511 @@ export declare class Comprehend extends AWSServiceClient { input: BatchDetectDominantLanguageRequest, ): Effect.Effect< BatchDetectDominantLanguageResponse, - | BatchSizeLimitExceededException - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | CommonAwsError + BatchSizeLimitExceededException | InternalServerException | InvalidRequestException | TextSizeLimitExceededException | CommonAwsError >; batchDetectEntities( input: BatchDetectEntitiesRequest, ): Effect.Effect< BatchDetectEntitiesResponse, - | BatchSizeLimitExceededException - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + BatchSizeLimitExceededException | InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; batchDetectKeyPhrases( input: BatchDetectKeyPhrasesRequest, ): Effect.Effect< BatchDetectKeyPhrasesResponse, - | BatchSizeLimitExceededException - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + BatchSizeLimitExceededException | InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; batchDetectSentiment( input: BatchDetectSentimentRequest, ): Effect.Effect< BatchDetectSentimentResponse, - | BatchSizeLimitExceededException - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + BatchSizeLimitExceededException | InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; batchDetectSyntax( input: BatchDetectSyntaxRequest, ): Effect.Effect< BatchDetectSyntaxResponse, - | BatchSizeLimitExceededException - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + BatchSizeLimitExceededException | InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; batchDetectTargetedSentiment( input: BatchDetectTargetedSentimentRequest, ): Effect.Effect< BatchDetectTargetedSentimentResponse, - | BatchSizeLimitExceededException - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + BatchSizeLimitExceededException | InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; classifyDocument( input: ClassifyDocumentRequest, ): Effect.Effect< ClassifyDocumentResponse, - | InternalServerException - | InvalidRequestException - | ResourceUnavailableException - | TextSizeLimitExceededException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceUnavailableException | TextSizeLimitExceededException | CommonAwsError >; containsPiiEntities( input: ContainsPiiEntitiesRequest, ): Effect.Effect< ContainsPiiEntitiesResponse, - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; createDataset( input: CreateDatasetRequest, ): Effect.Effect< CreateDatasetResponse, - | InternalServerException - | InvalidRequestException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; createDocumentClassifier( input: CreateDocumentClassifierRequest, ): Effect.Effect< CreateDocumentClassifierResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | ResourceLimitExceededException - | TooManyRequestsException - | TooManyTagsException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | ResourceLimitExceededException | TooManyRequestsException | TooManyTagsException | UnsupportedLanguageException | CommonAwsError >; createEndpoint( input: CreateEndpointRequest, ): Effect.Effect< CreateEndpointResponse, - | InternalServerException - | InvalidRequestException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ResourceUnavailableException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; createEntityRecognizer( input: CreateEntityRecognizerRequest, ): Effect.Effect< CreateEntityRecognizerResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | ResourceLimitExceededException - | TooManyRequestsException - | TooManyTagsException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | ResourceLimitExceededException | TooManyRequestsException | TooManyTagsException | UnsupportedLanguageException | CommonAwsError >; createFlywheel( input: CreateFlywheelRequest, ): Effect.Effect< CreateFlywheelResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | TooManyRequestsException - | TooManyTagsException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ResourceUnavailableException | TooManyRequestsException | TooManyTagsException | UnsupportedLanguageException | CommonAwsError >; deleteDocumentClassifier( input: DeleteDocumentClassifierRequest, ): Effect.Effect< DeleteDocumentClassifierResponse, - | InternalServerException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ResourceUnavailableException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ResourceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteEndpoint( input: DeleteEndpointRequest, ): Effect.Effect< DeleteEndpointResponse, - | InternalServerException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; deleteEntityRecognizer( input: DeleteEntityRecognizerRequest, ): Effect.Effect< DeleteEntityRecognizerResponse, - | InternalServerException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ResourceUnavailableException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ResourceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteFlywheel( input: DeleteFlywheelRequest, ): Effect.Effect< DeleteFlywheelResponse, - | InternalServerException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ResourceUnavailableException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ResourceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeDataset( input: DescribeDatasetRequest, ): Effect.Effect< DescribeDatasetResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeDocumentClassificationJob( input: DescribeDocumentClassificationJobRequest, ): Effect.Effect< DescribeDocumentClassificationJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | TooManyRequestsException | CommonAwsError >; describeDocumentClassifier( input: DescribeDocumentClassifierRequest, ): Effect.Effect< DescribeDocumentClassifierResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeDominantLanguageDetectionJob( input: DescribeDominantLanguageDetectionJobRequest, ): Effect.Effect< DescribeDominantLanguageDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | TooManyRequestsException | CommonAwsError >; describeEndpoint( input: DescribeEndpointRequest, ): Effect.Effect< DescribeEndpointResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeEntitiesDetectionJob( input: DescribeEntitiesDetectionJobRequest, ): Effect.Effect< DescribeEntitiesDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | TooManyRequestsException | CommonAwsError >; describeEntityRecognizer( input: DescribeEntityRecognizerRequest, ): Effect.Effect< DescribeEntityRecognizerResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeEventsDetectionJob( input: DescribeEventsDetectionJobRequest, ): Effect.Effect< DescribeEventsDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | TooManyRequestsException | CommonAwsError >; describeFlywheel( input: DescribeFlywheelRequest, ): Effect.Effect< DescribeFlywheelResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeFlywheelIteration( input: DescribeFlywheelIterationRequest, ): Effect.Effect< DescribeFlywheelIterationResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeKeyPhrasesDetectionJob( input: DescribeKeyPhrasesDetectionJobRequest, ): Effect.Effect< DescribeKeyPhrasesDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | TooManyRequestsException | CommonAwsError >; describePiiEntitiesDetectionJob( input: DescribePiiEntitiesDetectionJobRequest, ): Effect.Effect< DescribePiiEntitiesDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | TooManyRequestsException | CommonAwsError >; describeResourcePolicy( input: DescribeResourcePolicyRequest, ): Effect.Effect< DescribeResourcePolicyResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeSentimentDetectionJob( input: DescribeSentimentDetectionJobRequest, ): Effect.Effect< DescribeSentimentDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | TooManyRequestsException | CommonAwsError >; describeTargetedSentimentDetectionJob( input: DescribeTargetedSentimentDetectionJobRequest, ): Effect.Effect< DescribeTargetedSentimentDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | TooManyRequestsException | CommonAwsError >; describeTopicsDetectionJob( input: DescribeTopicsDetectionJobRequest, ): Effect.Effect< DescribeTopicsDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | TooManyRequestsException | CommonAwsError >; detectDominantLanguage( input: DetectDominantLanguageRequest, ): Effect.Effect< DetectDominantLanguageResponse, - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | CommonAwsError + InternalServerException | InvalidRequestException | TextSizeLimitExceededException | CommonAwsError >; detectEntities( input: DetectEntitiesRequest, ): Effect.Effect< DetectEntitiesResponse, - | InternalServerException - | InvalidRequestException - | ResourceUnavailableException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceUnavailableException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; detectKeyPhrases( input: DetectKeyPhrasesRequest, ): Effect.Effect< DetectKeyPhrasesResponse, - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; detectPiiEntities( input: DetectPiiEntitiesRequest, ): Effect.Effect< DetectPiiEntitiesResponse, - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; detectSentiment( input: DetectSentimentRequest, ): Effect.Effect< DetectSentimentResponse, - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; detectSyntax( input: DetectSyntaxRequest, ): Effect.Effect< DetectSyntaxResponse, - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; detectTargetedSentiment( input: DetectTargetedSentimentRequest, ): Effect.Effect< DetectTargetedSentimentResponse, - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; detectToxicContent( input: DetectToxicContentRequest, ): Effect.Effect< DetectToxicContentResponse, - | InternalServerException - | InvalidRequestException - | TextSizeLimitExceededException - | UnsupportedLanguageException - | CommonAwsError + InternalServerException | InvalidRequestException | TextSizeLimitExceededException | UnsupportedLanguageException | CommonAwsError >; importModel( input: ImportModelRequest, ): Effect.Effect< ImportModelResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ResourceUnavailableException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; listDatasets( input: ListDatasetsRequest, ): Effect.Effect< ListDatasetsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listDocumentClassificationJobs( input: ListDocumentClassificationJobsRequest, ): Effect.Effect< ListDocumentClassificationJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listDocumentClassifiers( input: ListDocumentClassifiersRequest, ): Effect.Effect< ListDocumentClassifiersResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listDocumentClassifierSummaries( input: ListDocumentClassifierSummariesRequest, ): Effect.Effect< ListDocumentClassifierSummariesResponse, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listDominantLanguageDetectionJobs( input: ListDominantLanguageDetectionJobsRequest, ): Effect.Effect< ListDominantLanguageDetectionJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listEndpoints( input: ListEndpointsRequest, ): Effect.Effect< ListEndpointsResponse, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listEntitiesDetectionJobs( input: ListEntitiesDetectionJobsRequest, ): Effect.Effect< ListEntitiesDetectionJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listEntityRecognizers( input: ListEntityRecognizersRequest, ): Effect.Effect< ListEntityRecognizersResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listEntityRecognizerSummaries( input: ListEntityRecognizerSummariesRequest, ): Effect.Effect< ListEntityRecognizerSummariesResponse, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listEventsDetectionJobs( input: ListEventsDetectionJobsRequest, ): Effect.Effect< ListEventsDetectionJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listFlywheelIterationHistory( input: ListFlywheelIterationHistoryRequest, ): Effect.Effect< ListFlywheelIterationHistoryResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listFlywheels( input: ListFlywheelsRequest, ): Effect.Effect< ListFlywheelsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listKeyPhrasesDetectionJobs( input: ListKeyPhrasesDetectionJobsRequest, ): Effect.Effect< ListKeyPhrasesDetectionJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listPiiEntitiesDetectionJobs( input: ListPiiEntitiesDetectionJobsRequest, ): Effect.Effect< ListPiiEntitiesDetectionJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listSentimentDetectionJobs( input: ListSentimentDetectionJobsRequest, ): Effect.Effect< ListSentimentDetectionJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listTargetedSentimentDetectionJobs( input: ListTargetedSentimentDetectionJobsRequest, ): Effect.Effect< ListTargetedSentimentDetectionJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; listTopicsDetectionJobs( input: ListTopicsDetectionJobsRequest, ): Effect.Effect< ListTopicsDetectionJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; startDocumentClassificationJob( input: StartDocumentClassificationJobRequest, ): Effect.Effect< StartDocumentClassificationJobResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | ResourceNotFoundException - | ResourceUnavailableException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | ResourceNotFoundException | ResourceUnavailableException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; startDominantLanguageDetectionJob( input: StartDominantLanguageDetectionJobRequest, ): Effect.Effect< StartDominantLanguageDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; startEntitiesDetectionJob( input: StartEntitiesDetectionJobRequest, ): Effect.Effect< StartEntitiesDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | ResourceNotFoundException - | ResourceUnavailableException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | ResourceNotFoundException | ResourceUnavailableException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; startEventsDetectionJob( input: StartEventsDetectionJobRequest, ): Effect.Effect< StartEventsDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; startFlywheelIteration( input: StartFlywheelIterationRequest, ): Effect.Effect< StartFlywheelIterationResponse, - | InternalServerException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; startKeyPhrasesDetectionJob( input: StartKeyPhrasesDetectionJobRequest, ): Effect.Effect< StartKeyPhrasesDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; startPiiEntitiesDetectionJob( input: StartPiiEntitiesDetectionJobRequest, ): Effect.Effect< StartPiiEntitiesDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; startSentimentDetectionJob( input: StartSentimentDetectionJobRequest, ): Effect.Effect< StartSentimentDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; startTargetedSentimentDetectionJob( input: StartTargetedSentimentDetectionJobRequest, ): Effect.Effect< StartTargetedSentimentDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; startTopicsDetectionJob( input: StartTopicsDetectionJobRequest, ): Effect.Effect< StartTopicsDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceInUseException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceInUseException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; stopDominantLanguageDetectionJob( input: StopDominantLanguageDetectionJobRequest, ): Effect.Effect< StopDominantLanguageDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | CommonAwsError >; stopEntitiesDetectionJob( input: StopEntitiesDetectionJobRequest, ): Effect.Effect< StopEntitiesDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | CommonAwsError >; stopEventsDetectionJob( input: StopEventsDetectionJobRequest, ): Effect.Effect< StopEventsDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | CommonAwsError >; stopKeyPhrasesDetectionJob( input: StopKeyPhrasesDetectionJobRequest, ): Effect.Effect< StopKeyPhrasesDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | CommonAwsError >; stopPiiEntitiesDetectionJob( input: StopPiiEntitiesDetectionJobRequest, ): Effect.Effect< StopPiiEntitiesDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | CommonAwsError >; stopSentimentDetectionJob( input: StopSentimentDetectionJobRequest, ): Effect.Effect< StopSentimentDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | CommonAwsError >; stopTargetedSentimentDetectionJob( input: StopTargetedSentimentDetectionJobRequest, ): Effect.Effect< StopTargetedSentimentDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | JobNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | JobNotFoundException | CommonAwsError >; stopTrainingDocumentClassifier( input: StopTrainingDocumentClassifierRequest, ): Effect.Effect< StopTrainingDocumentClassifierResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; stopTrainingEntityRecognizer( input: StopTrainingEntityRecognizerRequest, ): Effect.Effect< StopTrainingEntityRecognizerResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConcurrentModificationException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + ConcurrentModificationException | InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConcurrentModificationException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyTagKeysException - | CommonAwsError + ConcurrentModificationException | InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyTagKeysException | CommonAwsError >; updateEndpoint( input: UpdateEndpointRequest, ): Effect.Effect< UpdateEndpointResponse, - | InternalServerException - | InvalidRequestException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ResourceUnavailableException | TooManyRequestsException | CommonAwsError >; updateFlywheel( input: UpdateFlywheelRequest, ): Effect.Effect< UpdateFlywheelResponse, - | InternalServerException - | InvalidRequestException - | KmsKeyValidationException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | KmsKeyValidationException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -915,9 +520,7 @@ export type AnyLengthString = string; export type AttributeNamesList = Array; export type AttributeNamesListItem = string; -export type AugmentedManifestsDocumentTypeFormat = - | "PLAIN_TEXT_DOCUMENT" - | "SEMI_STRUCTURED_DOCUMENT"; +export type AugmentedManifestsDocumentTypeFormat = "PLAIN_TEXT_DOCUMENT" | "SEMI_STRUCTURED_DOCUMENT"; export interface AugmentedManifestsListItem { S3Uri: string; Split?: Split; @@ -1176,8 +779,7 @@ export interface DataSecurityConfig { DataLakeKmsKeyId?: string; VpcConfig?: VpcConfig; } -export type DatasetAugmentedManifestsList = - Array; +export type DatasetAugmentedManifestsList = Array; export interface DatasetAugmentedManifestsListItem { AttributeNames: Array; S3Uri: string; @@ -1235,24 +837,29 @@ export type DatasetType = "TRAIN" | "TEST"; export interface DeleteDocumentClassifierRequest { DocumentClassifierArn: string; } -export interface DeleteDocumentClassifierResponse {} +export interface DeleteDocumentClassifierResponse { +} export interface DeleteEndpointRequest { EndpointArn: string; } -export interface DeleteEndpointResponse {} +export interface DeleteEndpointResponse { +} export interface DeleteEntityRecognizerRequest { EntityRecognizerArn: string; } -export interface DeleteEntityRecognizerResponse {} +export interface DeleteEntityRecognizerResponse { +} export interface DeleteFlywheelRequest { FlywheelArn: string; } -export interface DeleteFlywheelResponse {} +export interface DeleteFlywheelResponse { +} export interface DeleteResourcePolicyRequest { ResourceArn: string; PolicyRevisionId?: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export interface DescribeDatasetRequest { DatasetArn: string; } @@ -1449,22 +1056,16 @@ export interface DocumentClassificationJobProperties { VpcConfig?: VpcConfig; FlywheelArn?: string; } -export type DocumentClassificationJobPropertiesList = - Array; +export type DocumentClassificationJobPropertiesList = Array; export type DocumentClassifierArn = string; -export type DocumentClassifierAugmentedManifestsList = - Array; -export type DocumentClassifierDataFormat = - | "COMPREHEND_CSV" - | "AUGMENTED_MANIFEST"; +export type DocumentClassifierAugmentedManifestsList = Array; +export type DocumentClassifierDataFormat = "COMPREHEND_CSV" | "AUGMENTED_MANIFEST"; export interface DocumentClassifierDocuments { S3Uri: string; TestS3Uri?: string; } -export type DocumentClassifierDocumentTypeFormat = - | "PLAIN_TEXT_DOCUMENT" - | "SEMI_STRUCTURED_DOCUMENT"; +export type DocumentClassifierDocumentTypeFormat = "PLAIN_TEXT_DOCUMENT" | "SEMI_STRUCTURED_DOCUMENT"; export type DocumentClassifierEndpointArn = string; export interface DocumentClassifierFilter { @@ -1510,8 +1111,7 @@ export interface DocumentClassifierProperties { SourceModelArn?: string; FlywheelArn?: string; } -export type DocumentClassifierPropertiesList = - Array; +export type DocumentClassifierPropertiesList = Array; export type DocumentClassifierSummariesList = Array; export interface DocumentClassifierSummary { DocumentClassifierName?: string; @@ -1529,9 +1129,7 @@ export interface DocumentMetadata { Pages?: number; ExtractedCharacters?: Array; } -export type DocumentReadAction = - | "TEXTRACT_DETECT_DOCUMENT_TEXT" - | "TEXTRACT_ANALYZE_DOCUMENT"; +export type DocumentReadAction = "TEXTRACT_DETECT_DOCUMENT_TEXT" | "TEXTRACT_ANALYZE_DOCUMENT"; export interface DocumentReaderConfig { DocumentReadAction: DocumentReadAction; DocumentReadMode?: DocumentReadMode; @@ -1539,14 +1137,7 @@ export interface DocumentReaderConfig { } export type DocumentReadFeatureTypes = "TABLES" | "FORMS"; export type DocumentReadMode = "SERVICE_DEFAULT" | "FORCE_DOCUMENT_READ_ACTION"; -export type DocumentType = - | "NATIVE_PDF" - | "SCANNED_PDF" - | "MS_WORD" - | "IMAGE" - | "PLAIN_TEXT" - | "TEXTRACT_DETECT_DOCUMENT_TEXT_JSON" - | "TEXTRACT_ANALYZE_DOCUMENT_JSON"; +export type DocumentType = "NATIVE_PDF" | "SCANNED_PDF" | "MS_WORD" | "IMAGE" | "PLAIN_TEXT" | "TEXTRACT_DETECT_DOCUMENT_TEXT_JSON" | "TEXTRACT_ANALYZE_DOCUMENT_JSON"; export interface DocumentTypeListItem { Page?: number; Type?: DocumentType; @@ -1575,8 +1166,7 @@ export interface DominantLanguageDetectionJobProperties { VolumeKmsKeyId?: string; VpcConfig?: VpcConfig; } -export type DominantLanguageDetectionJobPropertiesList = - Array; +export type DominantLanguageDetectionJobPropertiesList = Array; export type Double = number; export interface EndpointFilter { @@ -1600,12 +1190,7 @@ export interface EndpointProperties { FlywheelArn?: string; } export type EndpointPropertiesList = Array; -export type EndpointStatus = - | "CREATING" - | "DELETING" - | "FAILED" - | "IN_SERVICE" - | "UPDATING"; +export type EndpointStatus = "CREATING" | "DELETING" | "FAILED" | "IN_SERVICE" | "UPDATING"; export interface EntitiesDetectionJobFilter { JobName?: string; JobStatus?: JobStatus; @@ -1629,8 +1214,7 @@ export interface EntitiesDetectionJobProperties { VpcConfig?: VpcConfig; FlywheelArn?: string; } -export type EntitiesDetectionJobPropertiesList = - Array; +export type EntitiesDetectionJobPropertiesList = Array; export interface Entity { Score?: number; Type?: EntityType; @@ -1652,11 +1236,8 @@ export interface EntityRecognizerAnnotations { } export type EntityRecognizerArn = string; -export type EntityRecognizerAugmentedManifestsList = - Array; -export type EntityRecognizerDataFormat = - | "COMPREHEND_CSV" - | "AUGMENTED_MANIFEST"; +export type EntityRecognizerAugmentedManifestsList = Array; +export type EntityRecognizerDataFormat = "COMPREHEND_CSV" | "AUGMENTED_MANIFEST"; export interface EntityRecognizerDocuments { S3Uri: string; TestS3Uri?: string; @@ -1692,8 +1273,7 @@ export interface EntityRecognizerMetadata { EvaluationMetrics?: EntityRecognizerEvaluationMetrics; EntityTypes?: Array; } -export type EntityRecognizerMetadataEntityTypesList = - Array; +export type EntityRecognizerMetadataEntityTypesList = Array; export interface EntityRecognizerMetadataEntityTypesListItem { Type?: string; EvaluationMetrics?: EntityTypesEvaluationMetrics; @@ -1731,16 +1311,7 @@ export interface EntityRecognizerSummary { LatestVersionName?: string; LatestVersionStatus?: ModelStatus; } -export type EntityType = - | "PERSON" - | "LOCATION" - | "ORGANIZATION" - | "COMMERCIAL_ITEM" - | "EVENT" - | "DATE" - | "QUANTITY" - | "TITLE" - | "OTHER"; +export type EntityType = "PERSON" | "LOCATION" | "ORGANIZATION" | "COMMERCIAL_ITEM" | "EVENT" | "DATE" | "QUANTITY" | "TITLE" | "OTHER"; export type EntityTypeName = string; export interface EntityTypesEvaluationMetrics { @@ -1777,8 +1348,7 @@ export interface EventsDetectionJobProperties { DataAccessRoleArn?: string; TargetEventTypes?: Array; } -export type EventsDetectionJobPropertiesList = - Array; +export type EventsDetectionJobPropertiesList = Array; export type EventTypeString = string; export interface ExtractedCharactersListItem { @@ -1811,15 +1381,8 @@ export interface FlywheelIterationProperties { TrainedModelMetrics?: FlywheelModelEvaluationMetrics; EvaluationManifestS3Prefix?: string; } -export type FlywheelIterationPropertiesList = - Array; -export type FlywheelIterationStatus = - | "TRAINING" - | "EVALUATING" - | "COMPLETED" - | "FAILED" - | "STOP_REQUESTED" - | "STOPPED"; +export type FlywheelIterationPropertiesList = Array; +export type FlywheelIterationStatus = "TRAINING" | "EVALUATING" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED"; export interface FlywheelModelEvaluationMetrics { AverageF1Score?: number; AveragePrecision?: number; @@ -1842,12 +1405,7 @@ export interface FlywheelProperties { } export type FlywheelS3Uri = string; -export type FlywheelStatus = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "FAILED"; +export type FlywheelStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED"; export interface FlywheelSummary { FlywheelArn?: string; ActiveModelArn?: string; @@ -1900,11 +1458,7 @@ export declare class InvalidFilterException extends EffectData.TaggedError( export interface InvalidRequestDetail { Reason?: InvalidRequestDetailReason; } -export type InvalidRequestDetailReason = - | "DOCUMENT_SIZE_EXCEEDED" - | "UNSUPPORTED_DOC_TYPE" - | "PAGE_LIMIT_EXCEEDED" - | "TEXTRACT_ACCESS_DENIED"; +export type InvalidRequestDetailReason = "DOCUMENT_SIZE_EXCEEDED" | "UNSUPPORTED_DOC_TYPE" | "PAGE_LIMIT_EXCEEDED" | "TEXTRACT_ACCESS_DENIED"; export declare class InvalidRequestException extends EffectData.TaggedError( "InvalidRequestException", )<{ @@ -1922,13 +1476,7 @@ export declare class JobNotFoundException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type JobStatus = - | "SUBMITTED" - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED" - | "STOP_REQUESTED" - | "STOPPED"; +export type JobStatus = "SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOP_REQUESTED" | "STOPPED"; export interface KeyPhrase { Score?: number; Text?: string; @@ -1956,8 +1504,7 @@ export interface KeyPhrasesDetectionJobProperties { VolumeKmsKeyId?: string; VpcConfig?: VpcConfig; } -export type KeyPhrasesDetectionJobPropertiesList = - Array; +export type KeyPhrasesDetectionJobPropertiesList = Array; export type KmsKeyId = string; export declare class KmsKeyValidationException extends EffectData.TaggedError( @@ -1970,19 +1517,7 @@ export type LabelDelimiter = string; export type LabelListItem = string; export type LabelsList = Array; -export type LanguageCode = - | "en" - | "es" - | "fr" - | "de" - | "it" - | "pt" - | "ar" - | "hi" - | "ja" - | "ko" - | "zh" - | "zh-TW"; +export type LanguageCode = "en" | "es" | "fr" | "de" | "it" | "pt" | "ar" | "hi" | "ja" | "ko" | "zh" | "zh-TW"; export interface ListDatasetsRequest { FlywheelArn?: string; Filter?: DatasetFilter; @@ -2105,15 +1640,12 @@ export type ListOfBlocks = Array; export type ListOfChildBlocks = Array; export type ListOfClasses = Array; export type ListOfDescriptiveMentionIndices = Array; -export type ListOfDetectDominantLanguageResult = - Array; +export type ListOfDetectDominantLanguageResult = Array; export type ListOfDetectEntitiesResult = Array; -export type ListOfDetectKeyPhrasesResult = - Array; +export type ListOfDetectKeyPhrasesResult = Array; export type ListOfDetectSentimentResult = Array; export type ListOfDetectSyntaxResult = Array; -export type ListOfDetectTargetedSentimentResult = - Array; +export type ListOfDetectTargetedSentimentResult = Array; export type ListOfDocumentReadFeatureTypes = Array; export type ListOfDocumentType = Array; export type ListOfDominantLanguages = Array; @@ -2184,15 +1716,7 @@ export interface MentionSentiment { Sentiment?: SentimentType; SentimentScore?: SentimentScore; } -export type ModelStatus = - | "SUBMITTED" - | "TRAINING" - | "DELETING" - | "STOP_REQUESTED" - | "STOPPED" - | "IN_ERROR" - | "TRAINED" - | "TRAINED_WITH_WARNING"; +export type ModelStatus = "SUBMITTED" | "TRAINING" | "DELETING" | "STOP_REQUESTED" | "STOPPED" | "IN_ERROR" | "TRAINED" | "TRAINED_WITH_WARNING"; export type ModelType = "DOCUMENT_CLASSIFIER" | "ENTITY_RECOGNIZER"; export type NumberOfDocuments = number; @@ -2202,38 +1726,13 @@ export interface OutputDataConfig { S3Uri: string; KmsKeyId?: string; } -export type PageBasedErrorCode = - | "TEXTRACT_BAD_PAGE" - | "TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED" - | "PAGE_CHARACTERS_EXCEEDED" - | "PAGE_SIZE_EXCEEDED" - | "INTERNAL_SERVER_ERROR"; -export type PageBasedWarningCode = - | "INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL" - | "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL"; +export type PageBasedErrorCode = "TEXTRACT_BAD_PAGE" | "TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED" | "PAGE_CHARACTERS_EXCEEDED" | "PAGE_SIZE_EXCEEDED" | "INTERNAL_SERVER_ERROR"; +export type PageBasedWarningCode = "INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL" | "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL"; export interface PartOfSpeechTag { Tag?: PartOfSpeechTagType; Score?: number; } -export type PartOfSpeechTagType = - | "ADJ" - | "ADP" - | "ADV" - | "AUX" - | "CONJ" - | "CCONJ" - | "DET" - | "INTJ" - | "NOUN" - | "NUM" - | "O" - | "PART" - | "PRON" - | "PROPN" - | "PUNCT" - | "SCONJ" - | "SYM" - | "VERB"; +export type PartOfSpeechTagType = "ADJ" | "ADP" | "ADV" | "AUX" | "CONJ" | "CCONJ" | "DET" | "INTJ" | "NOUN" | "NUM" | "O" | "PART" | "PRON" | "PROPN" | "PUNCT" | "SCONJ" | "SYM" | "VERB"; export interface PiiEntitiesDetectionJobFilter { JobName?: string; JobStatus?: JobStatus; @@ -2255,11 +1754,8 @@ export interface PiiEntitiesDetectionJobProperties { DataAccessRoleArn?: string; Mode?: PiiEntitiesDetectionMode; } -export type PiiEntitiesDetectionJobPropertiesList = - Array; -export type PiiEntitiesDetectionMaskMode = - | "MASK" - | "REPLACE_WITH_PII_ENTITY_TYPE"; +export type PiiEntitiesDetectionJobPropertiesList = Array; +export type PiiEntitiesDetectionMaskMode = "MASK" | "REPLACE_WITH_PII_ENTITY_TYPE"; export type PiiEntitiesDetectionMode = "ONLY_REDACTION" | "ONLY_OFFSETS"; export interface PiiEntity { Score?: number; @@ -2267,44 +1763,7 @@ export interface PiiEntity { BeginOffset?: number; EndOffset?: number; } -export type PiiEntityType = - | "BANK_ACCOUNT_NUMBER" - | "BANK_ROUTING" - | "CREDIT_DEBIT_NUMBER" - | "CREDIT_DEBIT_CVV" - | "CREDIT_DEBIT_EXPIRY" - | "PIN" - | "EMAIL" - | "ADDRESS" - | "NAME" - | "PHONE" - | "SSN" - | "DATE_TIME" - | "PASSPORT_NUMBER" - | "DRIVER_ID" - | "URL" - | "AGE" - | "USERNAME" - | "PASSWORD" - | "AWS_ACCESS_KEY" - | "AWS_SECRET_KEY" - | "IP_ADDRESS" - | "MAC_ADDRESS" - | "ALL" - | "LICENSE_PLATE" - | "VEHICLE_IDENTIFICATION_NUMBER" - | "UK_NATIONAL_INSURANCE_NUMBER" - | "CA_SOCIAL_INSURANCE_NUMBER" - | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" - | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" - | "IN_PERMANENT_ACCOUNT_NUMBER" - | "IN_NREGA" - | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" - | "SWIFT_CODE" - | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" - | "CA_HEALTH_NUMBER" - | "IN_AADHAAR" - | "IN_VOTER_NUMBER"; +export type PiiEntityType = "BANK_ACCOUNT_NUMBER" | "BANK_ROUTING" | "CREDIT_DEBIT_NUMBER" | "CREDIT_DEBIT_CVV" | "CREDIT_DEBIT_EXPIRY" | "PIN" | "EMAIL" | "ADDRESS" | "NAME" | "PHONE" | "SSN" | "DATE_TIME" | "PASSPORT_NUMBER" | "DRIVER_ID" | "URL" | "AGE" | "USERNAME" | "PASSWORD" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "IP_ADDRESS" | "MAC_ADDRESS" | "ALL" | "LICENSE_PLATE" | "VEHICLE_IDENTIFICATION_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "IN_PERMANENT_ACCOUNT_NUMBER" | "IN_NREGA" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "CA_HEALTH_NUMBER" | "IN_AADHAAR" | "IN_VOTER_NUMBER"; export interface PiiOutputDataConfig { S3Uri: string; KmsKeyId?: string; @@ -2384,8 +1843,7 @@ export interface SentimentDetectionJobProperties { VolumeKmsKeyId?: string; VpcConfig?: VpcConfig; } -export type SentimentDetectionJobPropertiesList = - Array; +export type SentimentDetectionJobPropertiesList = Array; export interface SentimentScore { Positive?: number; Negative?: number; @@ -2601,11 +2059,13 @@ export interface StopTargetedSentimentDetectionJobResponse { export interface StopTrainingDocumentClassifierRequest { DocumentClassifierArn: string; } -export interface StopTrainingDocumentClassifierResponse {} +export interface StopTrainingDocumentClassifierResponse { +} export interface StopTrainingEntityRecognizerRequest { EntityRecognizerArn: string; } -export interface StopTrainingEntityRecognizerResponse {} +export interface StopTrainingEntityRecognizerResponse { +} export type ComprehendString = string; export type StringList = Array; @@ -2632,7 +2092,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TargetedSentimentDetectionJobFilter { @@ -2656,30 +2117,12 @@ export interface TargetedSentimentDetectionJobProperties { VolumeKmsKeyId?: string; VpcConfig?: VpcConfig; } -export type TargetedSentimentDetectionJobPropertiesList = - Array; +export type TargetedSentimentDetectionJobPropertiesList = Array; export interface TargetedSentimentEntity { DescriptiveMentionIndex?: Array; Mentions?: Array; } -export type TargetedSentimentEntityType = - | "PERSON" - | "LOCATION" - | "ORGANIZATION" - | "FACILITY" - | "BRAND" - | "COMMERCIAL_ITEM" - | "MOVIE" - | "MUSIC" - | "BOOK" - | "SOFTWARE" - | "GAME" - | "PERSONAL_TITLE" - | "EVENT" - | "DATE" - | "QUANTITY" - | "ATTRIBUTE" - | "OTHER"; +export type TargetedSentimentEntityType = "PERSON" | "LOCATION" | "ORGANIZATION" | "FACILITY" | "BRAND" | "COMMERCIAL_ITEM" | "MOVIE" | "MUSIC" | "BOOK" | "SOFTWARE" | "GAME" | "PERSONAL_TITLE" | "EVENT" | "DATE" | "QUANTITY" | "ATTRIBUTE" | "OTHER"; export interface TargetedSentimentMention { Score?: number; GroupScore?: number; @@ -2741,20 +2184,12 @@ export interface TopicsDetectionJobProperties { VolumeKmsKeyId?: string; VpcConfig?: VpcConfig; } -export type TopicsDetectionJobPropertiesList = - Array; +export type TopicsDetectionJobPropertiesList = Array; export interface ToxicContent { Name?: ToxicContentType; Score?: number; } -export type ToxicContentType = - | "GRAPHIC" - | "HARASSMENT_OR_ABUSE" - | "HATE_SPEECH" - | "INSULT" - | "PROFANITY" - | "SEXUAL" - | "VIOLENCE_OR_THREAT"; +export type ToxicContentType = "GRAPHIC" | "HARASSMENT_OR_ABUSE" | "HATE_SPEECH" | "INSULT" | "PROFANITY" | "SEXUAL" | "VIOLENCE_OR_THREAT"; export interface ToxicLabels { Labels?: Array; Toxicity?: number; @@ -2768,7 +2203,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDataSecurityConfig { ModelKmsKeyId?: string; VolumeKmsKeyId?: string; @@ -3794,21 +3230,5 @@ export declare namespace UpdateFlywheel { | CommonAwsError; } -export type ComprehendErrors = - | BatchSizeLimitExceededException - | ConcurrentModificationException - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | JobNotFoundException - | KmsKeyValidationException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | TooManyTagKeysException - | TooManyTagsException - | UnsupportedLanguageException - | CommonAwsError; +export type ComprehendErrors = BatchSizeLimitExceededException | ConcurrentModificationException | InternalServerException | InvalidFilterException | InvalidRequestException | JobNotFoundException | KmsKeyValidationException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ResourceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | TooManyTagKeysException | TooManyTagsException | UnsupportedLanguageException | CommonAwsError; + diff --git a/src/services/comprehendmedical/index.ts b/src/services/comprehendmedical/index.ts index d457db14..8a5227dd 100644 --- a/src/services/comprehendmedical/index.ts +++ b/src/services/comprehendmedical/index.ts @@ -5,25 +5,7 @@ import type { ComprehendMedical as _ComprehendMedicalClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/comprehendmedical/types.ts b/src/services/comprehendmedical/types.ts index 7e5c236c..9afadf14 100644 --- a/src/services/comprehendmedical/types.ts +++ b/src/services/comprehendmedical/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ComprehendMedical extends AWSServiceClient { @@ -42,269 +8,157 @@ export declare class ComprehendMedical extends AWSServiceClient { input: DescribeEntitiesDetectionV2JobRequest, ): Effect.Effect< DescribeEntitiesDetectionV2JobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeICD10CMInferenceJob( input: DescribeICD10CMInferenceJobRequest, ): Effect.Effect< DescribeICD10CMInferenceJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describePHIDetectionJob( input: DescribePHIDetectionJobRequest, ): Effect.Effect< DescribePHIDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeRxNormInferenceJob( input: DescribeRxNormInferenceJobRequest, ): Effect.Effect< DescribeRxNormInferenceJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeSNOMEDCTInferenceJob( input: DescribeSNOMEDCTInferenceJobRequest, ): Effect.Effect< DescribeSNOMEDCTInferenceJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; detectEntities( input: DetectEntitiesRequest, ): Effect.Effect< DetectEntitiesResponse, - | InternalServerException - | InvalidEncodingException - | InvalidRequestException - | ServiceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidEncodingException | InvalidRequestException | ServiceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | CommonAwsError >; detectEntitiesV2( input: DetectEntitiesV2Request, ): Effect.Effect< DetectEntitiesV2Response, - | InternalServerException - | InvalidEncodingException - | InvalidRequestException - | ServiceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidEncodingException | InvalidRequestException | ServiceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | CommonAwsError >; detectPHI( input: DetectPHIRequest, ): Effect.Effect< DetectPHIResponse, - | InternalServerException - | InvalidEncodingException - | InvalidRequestException - | ServiceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidEncodingException | InvalidRequestException | ServiceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | CommonAwsError >; inferICD10CM( input: InferICD10CMRequest, ): Effect.Effect< InferICD10CMResponse, - | InternalServerException - | InvalidEncodingException - | InvalidRequestException - | ServiceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidEncodingException | InvalidRequestException | ServiceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | CommonAwsError >; inferRxNorm( input: InferRxNormRequest, ): Effect.Effect< InferRxNormResponse, - | InternalServerException - | InvalidEncodingException - | InvalidRequestException - | ServiceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidEncodingException | InvalidRequestException | ServiceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | CommonAwsError >; inferSNOMEDCT( input: InferSNOMEDCTRequest, ): Effect.Effect< InferSNOMEDCTResponse, - | InternalServerException - | InvalidEncodingException - | InvalidRequestException - | ServiceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidEncodingException | InvalidRequestException | ServiceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | CommonAwsError >; listEntitiesDetectionV2Jobs( input: ListEntitiesDetectionV2JobsRequest, ): Effect.Effect< ListEntitiesDetectionV2JobsResponse, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | ValidationException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | ValidationException | CommonAwsError >; listICD10CMInferenceJobs( input: ListICD10CMInferenceJobsRequest, ): Effect.Effect< ListICD10CMInferenceJobsResponse, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | ValidationException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | ValidationException | CommonAwsError >; listPHIDetectionJobs( input: ListPHIDetectionJobsRequest, ): Effect.Effect< ListPHIDetectionJobsResponse, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | ValidationException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | ValidationException | CommonAwsError >; listRxNormInferenceJobs( input: ListRxNormInferenceJobsRequest, ): Effect.Effect< ListRxNormInferenceJobsResponse, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | ValidationException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | ValidationException | CommonAwsError >; listSNOMEDCTInferenceJobs( input: ListSNOMEDCTInferenceJobsRequest, ): Effect.Effect< ListSNOMEDCTInferenceJobsResponse, - | InternalServerException - | InvalidRequestException - | TooManyRequestsException - | ValidationException - | CommonAwsError + InternalServerException | InvalidRequestException | TooManyRequestsException | ValidationException | CommonAwsError >; startEntitiesDetectionV2Job( input: StartEntitiesDetectionV2JobRequest, ): Effect.Effect< StartEntitiesDetectionV2JobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; startICD10CMInferenceJob( input: StartICD10CMInferenceJobRequest, ): Effect.Effect< StartICD10CMInferenceJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; startPHIDetectionJob( input: StartPHIDetectionJobRequest, ): Effect.Effect< StartPHIDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; startRxNormInferenceJob( input: StartRxNormInferenceJobRequest, ): Effect.Effect< StartRxNormInferenceJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; startSNOMEDCTInferenceJob( input: StartSNOMEDCTInferenceJobRequest, ): Effect.Effect< StartSNOMEDCTInferenceJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; stopEntitiesDetectionV2Job( input: StopEntitiesDetectionV2JobRequest, ): Effect.Effect< StopEntitiesDetectionV2JobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; stopICD10CMInferenceJob( input: StopICD10CMInferenceJobRequest, ): Effect.Effect< StopICD10CMInferenceJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; stopPHIDetectionJob( input: StopPHIDetectionJobRequest, ): Effect.Effect< StopPHIDetectionJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; stopRxNormInferenceJob( input: StopRxNormInferenceJobRequest, ): Effect.Effect< StopRxNormInferenceJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; stopSNOMEDCTInferenceJob( input: StopSNOMEDCTInferenceJobRequest, ): Effect.Effect< StopSNOMEDCTInferenceJobResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -325,16 +179,7 @@ export interface Attribute { Traits?: Array; } export type AttributeList = Array; -export type AttributeName = - | "SIGN" - | "SYMPTOM" - | "DIAGNOSIS" - | "NEGATION" - | "PERTAINS_TO_FAMILY" - | "HYPOTHETICAL" - | "LOW_CONFIDENCE" - | "PAST_HISTORY" - | "FUTURE"; +export type AttributeName = "SIGN" | "SYMPTOM" | "DIAGNOSIS" | "NEGATION" | "PERTAINS_TO_FAMILY" | "HYPOTHETICAL" | "LOW_CONFIDENCE" | "PAST_HISTORY" | "FUTURE"; export type BoundedLengthString = string; export interface Characters { @@ -364,8 +209,7 @@ export interface ComprehendMedicalAsyncJobProperties { KMSKey?: string; ModelVersion?: string; } -export type ComprehendMedicalAsyncJobPropertiesList = - Array; +export type ComprehendMedicalAsyncJobPropertiesList = Array; export interface DescribeEntitiesDetectionV2JobRequest { JobId: string; } @@ -434,60 +278,8 @@ export interface Entity { Attributes?: Array; } export type EntityList = Array; -export type EntitySubType = - | "NAME" - | "DX_NAME" - | "DOSAGE" - | "ROUTE_OR_MODE" - | "FORM" - | "FREQUENCY" - | "DURATION" - | "GENERIC_NAME" - | "BRAND_NAME" - | "STRENGTH" - | "RATE" - | "ACUITY" - | "TEST_NAME" - | "TEST_VALUE" - | "TEST_UNITS" - | "TEST_UNIT" - | "PROCEDURE_NAME" - | "TREATMENT_NAME" - | "DATE" - | "AGE" - | "CONTACT_POINT" - | "PHONE_OR_FAX" - | "EMAIL" - | "IDENTIFIER" - | "ID" - | "URL" - | "ADDRESS" - | "PROFESSION" - | "SYSTEM_ORGAN_SITE" - | "DIRECTION" - | "QUALITY" - | "QUANTITY" - | "TIME_EXPRESSION" - | "TIME_TO_MEDICATION_NAME" - | "TIME_TO_DX_NAME" - | "TIME_TO_TEST_NAME" - | "TIME_TO_PROCEDURE_NAME" - | "TIME_TO_TREATMENT_NAME" - | "AMOUNT" - | "GENDER" - | "RACE_ETHNICITY" - | "ALLERGIES" - | "TOBACCO_USE" - | "ALCOHOL_CONSUMPTION" - | "REC_DRUG_USE"; -export type EntityType = - | "MEDICATION" - | "MEDICAL_CONDITION" - | "PROTECTED_HEALTH_INFORMATION" - | "TEST_TREATMENT_PROCEDURE" - | "ANATOMY" - | "TIME_EXPRESSION" - | "BEHAVIORAL_ENVIRONMENTAL_SOCIAL"; +export type EntitySubType = "NAME" | "DX_NAME" | "DOSAGE" | "ROUTE_OR_MODE" | "FORM" | "FREQUENCY" | "DURATION" | "GENERIC_NAME" | "BRAND_NAME" | "STRENGTH" | "RATE" | "ACUITY" | "TEST_NAME" | "TEST_VALUE" | "TEST_UNITS" | "TEST_UNIT" | "PROCEDURE_NAME" | "TREATMENT_NAME" | "DATE" | "AGE" | "CONTACT_POINT" | "PHONE_OR_FAX" | "EMAIL" | "IDENTIFIER" | "ID" | "URL" | "ADDRESS" | "PROFESSION" | "SYSTEM_ORGAN_SITE" | "DIRECTION" | "QUALITY" | "QUANTITY" | "TIME_EXPRESSION" | "TIME_TO_MEDICATION_NAME" | "TIME_TO_DX_NAME" | "TIME_TO_TEST_NAME" | "TIME_TO_PROCEDURE_NAME" | "TIME_TO_TREATMENT_NAME" | "AMOUNT" | "GENDER" | "RACE_ETHNICITY" | "ALLERGIES" | "TOBACCO_USE" | "ALCOHOL_CONSUMPTION" | "REC_DRUG_USE"; +export type EntityType = "MEDICATION" | "MEDICAL_CONDITION" | "PROTECTED_HEALTH_INFORMATION" | "TEST_TREATMENT_PROCEDURE" | "ANATOMY" | "TIME_EXPRESSION" | "BEHAVIORAL_ENVIRONMENTAL_SOCIAL"; export type Float = number; export type IamRoleArn = string; @@ -505,14 +297,7 @@ export interface ICD10CMAttribute { RelationshipType?: ICD10CMRelationshipType; } export type ICD10CMAttributeList = Array; -export type ICD10CMAttributeType = - | "ACUITY" - | "DIRECTION" - | "SYSTEM_ORGAN_SITE" - | "QUALITY" - | "QUANTITY" - | "TIME_TO_DX_NAME" - | "TIME_EXPRESSION"; +export type ICD10CMAttributeType = "ACUITY" | "DIRECTION" | "SYSTEM_ORGAN_SITE" | "QUALITY" | "QUANTITY" | "TIME_TO_DX_NAME" | "TIME_EXPRESSION"; export interface ICD10CMConcept { Description?: string; Code?: string; @@ -534,23 +319,13 @@ export interface ICD10CMEntity { export type ICD10CMEntityCategory = "MEDICAL_CONDITION"; export type ICD10CMEntityList = Array; export type ICD10CMEntityType = "DX_NAME" | "TIME_EXPRESSION"; -export type ICD10CMRelationshipType = - | "OVERLAP" - | "SYSTEM_ORGAN_SITE" - | "QUALITY"; +export type ICD10CMRelationshipType = "OVERLAP" | "SYSTEM_ORGAN_SITE" | "QUALITY"; export interface ICD10CMTrait { Name?: ICD10CMTraitName; Score?: number; } export type ICD10CMTraitList = Array; -export type ICD10CMTraitName = - | "NEGATION" - | "DIAGNOSIS" - | "SIGN" - | "SYMPTOM" - | "PERTAINS_TO_FAMILY" - | "HYPOTHETICAL" - | "LOW_CONFIDENCE"; +export type ICD10CMTraitName = "NEGATION" | "DIAGNOSIS" | "SIGN" | "SYMPTOM" | "PERTAINS_TO_FAMILY" | "HYPOTHETICAL" | "LOW_CONFIDENCE"; export interface InferICD10CMRequest { Text: string; } @@ -602,14 +377,7 @@ export type JobId = string; export type JobName = string; -export type JobStatus = - | "SUBMITTED" - | "IN_PROGRESS" - | "COMPLETED" - | "PARTIAL_SUCCESS" - | "FAILED" - | "STOP_REQUESTED" - | "STOPPED"; +export type JobStatus = "SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "PARTIAL_SUCCESS" | "FAILED" | "STOP_REQUESTED" | "STOPPED"; export type KMSKey = string; export type LanguageCode = "en"; @@ -670,29 +438,7 @@ export interface OutputDataConfig { S3Bucket: string; S3Key?: string; } -export type RelationshipType = - | "EVERY" - | "WITH_DOSAGE" - | "ADMINISTERED_VIA" - | "FOR" - | "NEGATIVE" - | "OVERLAP" - | "DOSAGE" - | "ROUTE_OR_MODE" - | "FORM" - | "FREQUENCY" - | "DURATION" - | "STRENGTH" - | "RATE" - | "ACUITY" - | "TEST_VALUE" - | "TEST_UNITS" - | "TEST_UNIT" - | "DIRECTION" - | "SYSTEM_ORGAN_SITE" - | "AMOUNT" - | "USAGE" - | "QUALITY"; +export type RelationshipType = "EVERY" | "WITH_DOSAGE" | "ADMINISTERED_VIA" | "FOR" | "NEGATIVE" | "OVERLAP" | "DOSAGE" | "ROUTE_OR_MODE" | "FORM" | "FREQUENCY" | "DURATION" | "STRENGTH" | "RATE" | "ACUITY" | "TEST_VALUE" | "TEST_UNITS" | "TEST_UNIT" | "DIRECTION" | "SYSTEM_ORGAN_SITE" | "AMOUNT" | "USAGE" | "QUALITY"; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -709,14 +455,7 @@ export interface RxNormAttribute { Traits?: Array; } export type RxNormAttributeList = Array; -export type RxNormAttributeType = - | "DOSAGE" - | "DURATION" - | "FORM" - | "FREQUENCY" - | "RATE" - | "ROUTE_OR_MODE" - | "STRENGTH"; +export type RxNormAttributeType = "DOSAGE" | "DURATION" | "FORM" | "FREQUENCY" | "RATE" | "ROUTE_OR_MODE" | "STRENGTH"; export interface RxNormConcept { Description?: string; Code?: string; @@ -767,13 +506,7 @@ export interface SNOMEDCTAttribute { SNOMEDCTConcepts?: Array; } export type SNOMEDCTAttributeList = Array; -export type SNOMEDCTAttributeType = - | "ACUITY" - | "QUALITY" - | "DIRECTION" - | "SYSTEM_ORGAN_SITE" - | "TEST_VALUE" - | "TEST_UNIT"; +export type SNOMEDCTAttributeType = "ACUITY" | "QUALITY" | "DIRECTION" | "SYSTEM_ORGAN_SITE" | "TEST_VALUE" | "TEST_UNIT"; export interface SNOMEDCTConcept { Description?: string; Code?: string; @@ -797,39 +530,16 @@ export interface SNOMEDCTEntity { Traits?: Array; SNOMEDCTConcepts?: Array; } -export type SNOMEDCTEntityCategory = - | "MEDICAL_CONDITION" - | "ANATOMY" - | "TEST_TREATMENT_PROCEDURE"; +export type SNOMEDCTEntityCategory = "MEDICAL_CONDITION" | "ANATOMY" | "TEST_TREATMENT_PROCEDURE"; export type SNOMEDCTEntityList = Array; -export type SNOMEDCTEntityType = - | "DX_NAME" - | "TEST_NAME" - | "PROCEDURE_NAME" - | "TREATMENT_NAME"; -export type SNOMEDCTRelationshipType = - | "ACUITY" - | "QUALITY" - | "TEST_VALUE" - | "TEST_UNITS" - | "DIRECTION" - | "SYSTEM_ORGAN_SITE" - | "TEST_UNIT"; +export type SNOMEDCTEntityType = "DX_NAME" | "TEST_NAME" | "PROCEDURE_NAME" | "TREATMENT_NAME"; +export type SNOMEDCTRelationshipType = "ACUITY" | "QUALITY" | "TEST_VALUE" | "TEST_UNITS" | "DIRECTION" | "SYSTEM_ORGAN_SITE" | "TEST_UNIT"; export interface SNOMEDCTTrait { Name?: SNOMEDCTTraitName; Score?: number; } export type SNOMEDCTTraitList = Array; -export type SNOMEDCTTraitName = - | "NEGATION" - | "DIAGNOSIS" - | "SIGN" - | "SYMPTOM" - | "PERTAINS_TO_FAMILY" - | "HYPOTHETICAL" - | "LOW_CONFIDENCE" - | "PAST_HISTORY" - | "FUTURE"; +export type SNOMEDCTTraitName = "NEGATION" | "DIAGNOSIS" | "SIGN" | "SYMPTOM" | "PERTAINS_TO_FAMILY" | "HYPOTHETICAL" | "LOW_CONFIDENCE" | "PAST_HISTORY" | "FUTURE"; export interface StartEntitiesDetectionV2JobRequest { InputDataConfig: InputDataConfig; OutputDataConfig: OutputDataConfig; @@ -1243,13 +953,5 @@ export declare namespace StopSNOMEDCTInferenceJob { | CommonAwsError; } -export type ComprehendMedicalErrors = - | InternalServerException - | InvalidEncodingException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError; +export type ComprehendMedicalErrors = InternalServerException | InvalidEncodingException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | ValidationException | CommonAwsError; + diff --git a/src/services/compute-optimizer/index.ts b/src/services/compute-optimizer/index.ts index 1b695ed8..c8a87de9 100644 --- a/src/services/compute-optimizer/index.ts +++ b/src/services/compute-optimizer/index.ts @@ -5,24 +5,7 @@ import type { ComputeOptimizer as _ComputeOptimizerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/compute-optimizer/types.ts b/src/services/compute-optimizer/types.ts index a92e4bc9..a51f8f3a 100644 --- a/src/services/compute-optimizer/types.ts +++ b/src/services/compute-optimizer/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class ComputeOptimizer extends AWSServiceClient { @@ -41,386 +8,169 @@ export declare class ComputeOptimizer extends AWSServiceClient { input: DeleteRecommendationPreferencesRequest, ): Effect.Effect< DeleteRecommendationPreferencesResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeRecommendationExportJobs( input: DescribeRecommendationExportJobsRequest, ): Effect.Effect< DescribeRecommendationExportJobsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; exportAutoScalingGroupRecommendations( input: ExportAutoScalingGroupRecommendationsRequest, ): Effect.Effect< ExportAutoScalingGroupRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; exportEBSVolumeRecommendations( input: ExportEBSVolumeRecommendationsRequest, ): Effect.Effect< ExportEBSVolumeRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; exportEC2InstanceRecommendations( input: ExportEC2InstanceRecommendationsRequest, ): Effect.Effect< ExportEC2InstanceRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; exportECSServiceRecommendations( input: ExportECSServiceRecommendationsRequest, ): Effect.Effect< ExportECSServiceRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; exportIdleRecommendations( input: ExportIdleRecommendationsRequest, ): Effect.Effect< ExportIdleRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; exportLambdaFunctionRecommendations( input: ExportLambdaFunctionRecommendationsRequest, ): Effect.Effect< ExportLambdaFunctionRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; exportLicenseRecommendations( input: ExportLicenseRecommendationsRequest, ): Effect.Effect< ExportLicenseRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; exportRDSDatabaseRecommendations( input: ExportRDSDatabaseRecommendationsRequest, ): Effect.Effect< ExportRDSDatabaseRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getAutoScalingGroupRecommendations( input: GetAutoScalingGroupRecommendationsRequest, ): Effect.Effect< GetAutoScalingGroupRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getEBSVolumeRecommendations( input: GetEBSVolumeRecommendationsRequest, ): Effect.Effect< GetEBSVolumeRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getEC2InstanceRecommendations( input: GetEC2InstanceRecommendationsRequest, ): Effect.Effect< GetEC2InstanceRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getEC2RecommendationProjectedMetrics( input: GetEC2RecommendationProjectedMetricsRequest, ): Effect.Effect< GetEC2RecommendationProjectedMetricsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getECSServiceRecommendationProjectedMetrics( input: GetECSServiceRecommendationProjectedMetricsRequest, ): Effect.Effect< GetECSServiceRecommendationProjectedMetricsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getECSServiceRecommendations( input: GetECSServiceRecommendationsRequest, ): Effect.Effect< GetECSServiceRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getEffectiveRecommendationPreferences( input: GetEffectiveRecommendationPreferencesRequest, ): Effect.Effect< GetEffectiveRecommendationPreferencesResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getEnrollmentStatus( input: GetEnrollmentStatusRequest, ): Effect.Effect< GetEnrollmentStatusResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getEnrollmentStatusesForOrganization( input: GetEnrollmentStatusesForOrganizationRequest, ): Effect.Effect< GetEnrollmentStatusesForOrganizationResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getIdleRecommendations( input: GetIdleRecommendationsRequest, ): Effect.Effect< GetIdleRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getLambdaFunctionRecommendations( input: GetLambdaFunctionRecommendationsRequest, ): Effect.Effect< GetLambdaFunctionRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getLicenseRecommendations( input: GetLicenseRecommendationsRequest, ): Effect.Effect< GetLicenseRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getRDSDatabaseRecommendationProjectedMetrics( input: GetRDSDatabaseRecommendationProjectedMetricsRequest, ): Effect.Effect< GetRDSDatabaseRecommendationProjectedMetricsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getRDSDatabaseRecommendations( input: GetRDSDatabaseRecommendationsRequest, ): Effect.Effect< GetRDSDatabaseRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getRecommendationPreferences( input: GetRecommendationPreferencesRequest, ): Effect.Effect< GetRecommendationPreferencesResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getRecommendationSummaries( input: GetRecommendationSummariesRequest, ): Effect.Effect< GetRecommendationSummariesResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; putRecommendationPreferences( input: PutRecommendationPreferencesRequest, ): Effect.Effect< PutRecommendationPreferencesResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateEnrollmentStatus( input: UpdateEnrollmentStatusRequest, ): Effect.Effect< UpdateEnrollmentStatusResponse, - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | MissingAuthenticationToken - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidParameterValueException | MissingAuthenticationToken | ServiceUnavailableException | ThrottlingException | CommonAwsError >; } @@ -443,9 +193,7 @@ export type AllocatedStorage = number; export type AllocationStrategy = "Prioritized" | "LowestPrice"; export type AsgType = "SingleInstanceType" | "MixedInstanceTypes"; -export type AutoScalingConfiguration = - | "TargetTrackingScalingCpu" - | "TargetTrackingScalingMemory"; +export type AutoScalingConfiguration = "TargetTrackingScalingCpu" | "TargetTrackingScalingMemory"; export type AutoScalingGroupArn = string; export type AutoScalingGroupArns = Array; @@ -490,10 +238,8 @@ export interface AutoScalingGroupRecommendationOption { savingsOpportunityAfterDiscounts?: AutoScalingGroupSavingsOpportunityAfterDiscounts; migrationEffort?: MigrationEffort; } -export type AutoScalingGroupRecommendationOptions = - Array; -export type AutoScalingGroupRecommendations = - Array; +export type AutoScalingGroupRecommendationOptions = Array; +export type AutoScalingGroupRecommendations = Array; export interface AutoScalingGroupSavingsOpportunityAfterDiscounts { savingsOpportunityPercentage?: number; estimatedMonthlySavings?: AutoScalingGroupEstimatedMonthlySavings; @@ -532,11 +278,7 @@ export interface CurrentPerformanceRiskRatings { low?: number; veryLow?: number; } -export type CustomizableMetricHeadroom = - | "PERCENT_30" - | "PERCENT_20" - | "PERCENT_10" - | "PERCENT_0"; +export type CustomizableMetricHeadroom = "PERCENT_30" | "PERCENT_20" | "PERCENT_10" | "PERCENT_0"; export type CustomizableMetricName = "CpuUtilization" | "MemoryUtilization"; export interface CustomizableMetricParameters { threshold?: CustomizableMetricThreshold; @@ -559,7 +301,8 @@ export interface DeleteRecommendationPreferencesRequest { scope?: Scope; recommendationPreferenceNames: Array; } -export interface DeleteRecommendationPreferencesResponse {} +export interface DeleteRecommendationPreferencesResponse { +} export interface DescribeRecommendationExportJobsRequest { jobIds?: Array; filters?: Array; @@ -593,18 +336,11 @@ export interface EBSFilter { export type EBSFilterName = "Finding"; export type EBSFilters = Array; export type EBSFinding = "Optimized" | "NotOptimized"; -export type EBSMetricName = - | "VolumeReadOpsPerSecond" - | "VolumeWriteOpsPerSecond" - | "VolumeReadBytesPerSecond" - | "VolumeWriteBytesPerSecond"; +export type EBSMetricName = "VolumeReadOpsPerSecond" | "VolumeWriteOpsPerSecond" | "VolumeReadBytesPerSecond" | "VolumeWriteBytesPerSecond"; export interface EBSSavingsEstimationMode { source?: EBSSavingsEstimationModeSource; } -export type EBSSavingsEstimationModeSource = - | "PublicPricing" - | "CostExplorerRightsizing" - | "CostOptimizationHub"; +export type EBSSavingsEstimationModeSource = "PublicPricing" | "CostExplorerRightsizing" | "CostOptimizationHub"; export interface EBSSavingsOpportunityAfterDiscounts { savingsOpportunityPercentage?: number; estimatedMonthlySavings?: EBSEstimatedMonthlySavings; @@ -625,10 +361,7 @@ export interface ECSEstimatedMonthlySavings { export interface ECSSavingsEstimationMode { source?: ECSSavingsEstimationModeSource; } -export type ECSSavingsEstimationModeSource = - | "PublicPricing" - | "CostExplorerRightsizing" - | "CostOptimizationHub"; +export type ECSSavingsEstimationModeSource = "PublicPricing" | "CostExplorerRightsizing" | "CostOptimizationHub"; export interface ECSSavingsOpportunityAfterDiscounts { savingsOpportunityPercentage?: number; estimatedMonthlySavings?: ECSEstimatedMonthlySavings; @@ -649,8 +382,7 @@ export interface ECSServiceProjectedUtilizationMetric { lowerBoundValue?: number; upperBoundValue?: number; } -export type ECSServiceProjectedUtilizationMetrics = - Array; +export type ECSServiceProjectedUtilizationMetrics = Array; export interface ECSServiceRecommendation { serviceArn?: string; accountId?: string; @@ -670,22 +402,11 @@ export interface ECSServiceRecommendationFilter { name?: ECSServiceRecommendationFilterName; values?: Array; } -export type ECSServiceRecommendationFilterName = - | "Finding" - | "FindingReasonCode"; -export type ECSServiceRecommendationFilters = - Array; -export type ECSServiceRecommendationFinding = - | "Optimized" - | "Underprovisioned" - | "Overprovisioned"; -export type ECSServiceRecommendationFindingReasonCode = - | "MemoryOverprovisioned" - | "MemoryUnderprovisioned" - | "CPUOverprovisioned" - | "CPUUnderprovisioned"; -export type ECSServiceRecommendationFindingReasonCodes = - Array; +export type ECSServiceRecommendationFilterName = "Finding" | "FindingReasonCode"; +export type ECSServiceRecommendationFilters = Array; +export type ECSServiceRecommendationFinding = "Optimized" | "Underprovisioned" | "Overprovisioned"; +export type ECSServiceRecommendationFindingReasonCode = "MemoryOverprovisioned" | "MemoryUnderprovisioned" | "CPUOverprovisioned" | "CPUUnderprovisioned"; +export type ECSServiceRecommendationFindingReasonCodes = Array; export interface ECSServiceRecommendationOption { memory?: number; cpu?: number; @@ -694,16 +415,14 @@ export interface ECSServiceRecommendationOption { projectedUtilizationMetrics?: Array; containerRecommendations?: Array; } -export type ECSServiceRecommendationOptions = - Array; +export type ECSServiceRecommendationOptions = Array; export type ECSServiceRecommendations = Array; export interface ECSServiceRecommendedOptionProjectedMetric { recommendedCpuUnits?: number; recommendedMemorySize?: number; projectedMetrics?: Array; } -export type ECSServiceRecommendedOptionProjectedMetrics = - Array; +export type ECSServiceRecommendedOptionProjectedMetrics = Array; export interface ECSServiceUtilizationMetric { name?: ECSServiceMetricName; statistic?: ECSServiceMetricStatistic; @@ -744,384 +463,21 @@ export interface EstimatedMonthlySavings { currency?: Currency; value?: number; } -export type ExportableAutoScalingGroupField = - | "AccountId" - | "AutoScalingGroupArn" - | "AutoScalingGroupName" - | "Finding" - | "UtilizationMetricsCpuMaximum" - | "UtilizationMetricsMemoryMaximum" - | "UtilizationMetricsEbsReadOpsPerSecondMaximum" - | "UtilizationMetricsEbsWriteOpsPerSecondMaximum" - | "UtilizationMetricsEbsReadBytesPerSecondMaximum" - | "UtilizationMetricsEbsWriteBytesPerSecondMaximum" - | "UtilizationMetricsDiskReadOpsPerSecondMaximum" - | "UtilizationMetricsDiskWriteOpsPerSecondMaximum" - | "UtilizationMetricsDiskReadBytesPerSecondMaximum" - | "UtilizationMetricsDiskWriteBytesPerSecondMaximum" - | "UtilizationMetricsNetworkInBytesPerSecondMaximum" - | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" - | "UtilizationMetricsNetworkPacketsInPerSecondMaximum" - | "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" - | "LookbackPeriodInDays" - | "CurrentConfigurationInstanceType" - | "CurrentConfigurationDesiredCapacity" - | "CurrentConfigurationMinSize" - | "CurrentConfigurationMaxSize" - | "CurrentConfigurationAllocationStrategy" - | "CurrentConfigurationMixedInstanceTypes" - | "CurrentConfigurationType" - | "CurrentOnDemandPrice" - | "CurrentStandardOneYearNoUpfrontReservedPrice" - | "CurrentStandardThreeYearNoUpfrontReservedPrice" - | "CurrentVCpus" - | "CurrentMemory" - | "CurrentStorage" - | "CurrentNetwork" - | "RecommendationOptionsConfigurationInstanceType" - | "RecommendationOptionsConfigurationDesiredCapacity" - | "RecommendationOptionsConfigurationMinSize" - | "RecommendationOptionsConfigurationMaxSize" - | "RecommendationOptionsConfigurationEstimatedInstanceHourReductionPercentage" - | "RecommendationOptionsConfigurationAllocationStrategy" - | "RecommendationOptionsConfigurationMixedInstanceTypes" - | "RecommendationOptionsConfigurationType" - | "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" - | "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" - | "RecommendationOptionsPerformanceRisk" - | "RecommendationOptionsOnDemandPrice" - | "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" - | "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" - | "RecommendationOptionsVcpus" - | "RecommendationOptionsMemory" - | "RecommendationOptionsStorage" - | "RecommendationOptionsNetwork" - | "LastRefreshTimestamp" - | "CurrentPerformanceRisk" - | "RecommendationOptionsSavingsOpportunityPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrency" - | "RecommendationOptionsEstimatedMonthlySavingsValue" - | "EffectiveRecommendationPreferencesCpuVendorArchitectures" - | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" - | "EffectiveRecommendationPreferencesInferredWorkloadTypes" - | "EffectiveRecommendationPreferencesPreferredResources" - | "EffectiveRecommendationPreferencesLookBackPeriod" - | "InferredWorkloadTypes" - | "RecommendationOptionsMigrationEffort" - | "CurrentInstanceGpuInfo" - | "RecommendationOptionsInstanceGpuInfo" - | "UtilizationMetricsGpuPercentageMaximum" - | "UtilizationMetricsGpuMemoryPercentageMaximum" - | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" - | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" - | "EffectiveRecommendationPreferencesSavingsEstimationMode" - | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" - | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; -export type ExportableAutoScalingGroupFields = - Array; -export type ExportableECSServiceField = - | "AccountId" - | "ServiceArn" - | "LookbackPeriodInDays" - | "LastRefreshTimestamp" - | "LaunchType" - | "CurrentPerformanceRisk" - | "CurrentServiceConfigurationMemory" - | "CurrentServiceConfigurationCpu" - | "CurrentServiceConfigurationTaskDefinitionArn" - | "CurrentServiceConfigurationAutoScalingConfiguration" - | "CurrentServiceContainerConfigurations" - | "UtilizationMetricsCpuMaximum" - | "UtilizationMetricsMemoryMaximum" - | "Finding" - | "FindingReasonCodes" - | "RecommendationOptionsMemory" - | "RecommendationOptionsCpu" - | "RecommendationOptionsSavingsOpportunityPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrency" - | "RecommendationOptionsEstimatedMonthlySavingsValue" - | "RecommendationOptionsContainerRecommendations" - | "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" - | "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" - | "Tags" - | "EffectiveRecommendationPreferencesSavingsEstimationMode" - | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" - | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; +export type ExportableAutoScalingGroupField = "AccountId" | "AutoScalingGroupArn" | "AutoScalingGroupName" | "Finding" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsEbsReadOpsPerSecondMaximum" | "UtilizationMetricsEbsWriteOpsPerSecondMaximum" | "UtilizationMetricsEbsReadBytesPerSecondMaximum" | "UtilizationMetricsEbsWriteBytesPerSecondMaximum" | "UtilizationMetricsDiskReadOpsPerSecondMaximum" | "UtilizationMetricsDiskWriteOpsPerSecondMaximum" | "UtilizationMetricsDiskReadBytesPerSecondMaximum" | "UtilizationMetricsDiskWriteBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkPacketsInPerSecondMaximum" | "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" | "LookbackPeriodInDays" | "CurrentConfigurationInstanceType" | "CurrentConfigurationDesiredCapacity" | "CurrentConfigurationMinSize" | "CurrentConfigurationMaxSize" | "CurrentConfigurationAllocationStrategy" | "CurrentConfigurationMixedInstanceTypes" | "CurrentConfigurationType" | "CurrentOnDemandPrice" | "CurrentStandardOneYearNoUpfrontReservedPrice" | "CurrentStandardThreeYearNoUpfrontReservedPrice" | "CurrentVCpus" | "CurrentMemory" | "CurrentStorage" | "CurrentNetwork" | "RecommendationOptionsConfigurationInstanceType" | "RecommendationOptionsConfigurationDesiredCapacity" | "RecommendationOptionsConfigurationMinSize" | "RecommendationOptionsConfigurationMaxSize" | "RecommendationOptionsConfigurationEstimatedInstanceHourReductionPercentage" | "RecommendationOptionsConfigurationAllocationStrategy" | "RecommendationOptionsConfigurationMixedInstanceTypes" | "RecommendationOptionsConfigurationType" | "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" | "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" | "RecommendationOptionsPerformanceRisk" | "RecommendationOptionsOnDemandPrice" | "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" | "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" | "RecommendationOptionsVcpus" | "RecommendationOptionsMemory" | "RecommendationOptionsStorage" | "RecommendationOptionsNetwork" | "LastRefreshTimestamp" | "CurrentPerformanceRisk" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "EffectiveRecommendationPreferencesCpuVendorArchitectures" | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" | "EffectiveRecommendationPreferencesInferredWorkloadTypes" | "EffectiveRecommendationPreferencesPreferredResources" | "EffectiveRecommendationPreferencesLookBackPeriod" | "InferredWorkloadTypes" | "RecommendationOptionsMigrationEffort" | "CurrentInstanceGpuInfo" | "RecommendationOptionsInstanceGpuInfo" | "UtilizationMetricsGpuPercentageMaximum" | "UtilizationMetricsGpuMemoryPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; +export type ExportableAutoScalingGroupFields = Array; +export type ExportableECSServiceField = "AccountId" | "ServiceArn" | "LookbackPeriodInDays" | "LastRefreshTimestamp" | "LaunchType" | "CurrentPerformanceRisk" | "CurrentServiceConfigurationMemory" | "CurrentServiceConfigurationCpu" | "CurrentServiceConfigurationTaskDefinitionArn" | "CurrentServiceConfigurationAutoScalingConfiguration" | "CurrentServiceContainerConfigurations" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "Finding" | "FindingReasonCodes" | "RecommendationOptionsMemory" | "RecommendationOptionsCpu" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "RecommendationOptionsContainerRecommendations" | "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" | "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" | "Tags" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; export type ExportableECSServiceFields = Array; -export type ExportableIdleField = - | "AccountId" - | "ResourceArn" - | "ResourceId" - | "ResourceType" - | "LastRefreshTimestamp" - | "LookbackPeriodInDays" - | "SavingsOpportunity" - | "SavingsOpportunityAfterDiscount" - | "UtilizationMetricsCpuMaximum" - | "UtilizationMetricsMemoryMaximum" - | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" - | "UtilizationMetricsNetworkInBytesPerSecondMaximum" - | "UtilizationMetricsDatabaseConnectionsMaximum" - | "UtilizationMetricsEBSVolumeReadIOPSMaximum" - | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" - | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" - | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" - | "Finding" - | "FindingDescription" - | "Tags"; +export type ExportableIdleField = "AccountId" | "ResourceArn" | "ResourceId" | "ResourceType" | "LastRefreshTimestamp" | "LookbackPeriodInDays" | "SavingsOpportunity" | "SavingsOpportunityAfterDiscount" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "Finding" | "FindingDescription" | "Tags"; export type ExportableIdleFields = Array; -export type ExportableInstanceField = - | "AccountId" - | "InstanceArn" - | "InstanceName" - | "Finding" - | "FindingReasonCodes" - | "LookbackPeriodInDays" - | "CurrentInstanceType" - | "UtilizationMetricsCpuMaximum" - | "UtilizationMetricsMemoryMaximum" - | "UtilizationMetricsEbsReadOpsPerSecondMaximum" - | "UtilizationMetricsEbsWriteOpsPerSecondMaximum" - | "UtilizationMetricsEbsReadBytesPerSecondMaximum" - | "UtilizationMetricsEbsWriteBytesPerSecondMaximum" - | "UtilizationMetricsDiskReadOpsPerSecondMaximum" - | "UtilizationMetricsDiskWriteOpsPerSecondMaximum" - | "UtilizationMetricsDiskReadBytesPerSecondMaximum" - | "UtilizationMetricsDiskWriteBytesPerSecondMaximum" - | "UtilizationMetricsNetworkInBytesPerSecondMaximum" - | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" - | "UtilizationMetricsNetworkPacketsInPerSecondMaximum" - | "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" - | "CurrentOnDemandPrice" - | "CurrentStandardOneYearNoUpfrontReservedPrice" - | "CurrentStandardThreeYearNoUpfrontReservedPrice" - | "CurrentVCpus" - | "CurrentMemory" - | "CurrentStorage" - | "CurrentNetwork" - | "RecommendationOptionsInstanceType" - | "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" - | "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" - | "RecommendationOptionsPlatformDifferences" - | "RecommendationOptionsPerformanceRisk" - | "RecommendationOptionsVcpus" - | "RecommendationOptionsMemory" - | "RecommendationOptionsStorage" - | "RecommendationOptionsNetwork" - | "RecommendationOptionsOnDemandPrice" - | "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" - | "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" - | "RecommendationsSourcesRecommendationSourceArn" - | "RecommendationsSourcesRecommendationSourceType" - | "LastRefreshTimestamp" - | "CurrentPerformanceRisk" - | "RecommendationOptionsSavingsOpportunityPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrency" - | "RecommendationOptionsEstimatedMonthlySavingsValue" - | "EffectiveRecommendationPreferencesCpuVendorArchitectures" - | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" - | "EffectiveRecommendationPreferencesInferredWorkloadTypes" - | "InferredWorkloadTypes" - | "RecommendationOptionsMigrationEffort" - | "EffectiveRecommendationPreferencesExternalMetricsSource" - | "Tags" - | "InstanceState" - | "ExternalMetricStatusCode" - | "ExternalMetricStatusReason" - | "CurrentInstanceGpuInfo" - | "RecommendationOptionsInstanceGpuInfo" - | "UtilizationMetricsGpuPercentageMaximum" - | "UtilizationMetricsGpuMemoryPercentageMaximum" - | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" - | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" - | "Idle" - | "EffectiveRecommendationPreferencesPreferredResources" - | "EffectiveRecommendationPreferencesLookBackPeriod" - | "EffectiveRecommendationPreferencesUtilizationPreferences" - | "EffectiveRecommendationPreferencesSavingsEstimationMode" - | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" - | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; +export type ExportableInstanceField = "AccountId" | "InstanceArn" | "InstanceName" | "Finding" | "FindingReasonCodes" | "LookbackPeriodInDays" | "CurrentInstanceType" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsEbsReadOpsPerSecondMaximum" | "UtilizationMetricsEbsWriteOpsPerSecondMaximum" | "UtilizationMetricsEbsReadBytesPerSecondMaximum" | "UtilizationMetricsEbsWriteBytesPerSecondMaximum" | "UtilizationMetricsDiskReadOpsPerSecondMaximum" | "UtilizationMetricsDiskWriteOpsPerSecondMaximum" | "UtilizationMetricsDiskReadBytesPerSecondMaximum" | "UtilizationMetricsDiskWriteBytesPerSecondMaximum" | "UtilizationMetricsNetworkInBytesPerSecondMaximum" | "UtilizationMetricsNetworkOutBytesPerSecondMaximum" | "UtilizationMetricsNetworkPacketsInPerSecondMaximum" | "UtilizationMetricsNetworkPacketsOutPerSecondMaximum" | "CurrentOnDemandPrice" | "CurrentStandardOneYearNoUpfrontReservedPrice" | "CurrentStandardThreeYearNoUpfrontReservedPrice" | "CurrentVCpus" | "CurrentMemory" | "CurrentStorage" | "CurrentNetwork" | "RecommendationOptionsInstanceType" | "RecommendationOptionsProjectedUtilizationMetricsCpuMaximum" | "RecommendationOptionsProjectedUtilizationMetricsMemoryMaximum" | "RecommendationOptionsPlatformDifferences" | "RecommendationOptionsPerformanceRisk" | "RecommendationOptionsVcpus" | "RecommendationOptionsMemory" | "RecommendationOptionsStorage" | "RecommendationOptionsNetwork" | "RecommendationOptionsOnDemandPrice" | "RecommendationOptionsStandardOneYearNoUpfrontReservedPrice" | "RecommendationOptionsStandardThreeYearNoUpfrontReservedPrice" | "RecommendationsSourcesRecommendationSourceArn" | "RecommendationsSourcesRecommendationSourceType" | "LastRefreshTimestamp" | "CurrentPerformanceRisk" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "EffectiveRecommendationPreferencesCpuVendorArchitectures" | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" | "EffectiveRecommendationPreferencesInferredWorkloadTypes" | "InferredWorkloadTypes" | "RecommendationOptionsMigrationEffort" | "EffectiveRecommendationPreferencesExternalMetricsSource" | "Tags" | "InstanceState" | "ExternalMetricStatusCode" | "ExternalMetricStatusReason" | "CurrentInstanceGpuInfo" | "RecommendationOptionsInstanceGpuInfo" | "UtilizationMetricsGpuPercentageMaximum" | "UtilizationMetricsGpuMemoryPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" | "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" | "Idle" | "EffectiveRecommendationPreferencesPreferredResources" | "EffectiveRecommendationPreferencesLookBackPeriod" | "EffectiveRecommendationPreferencesUtilizationPreferences" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; export type ExportableInstanceFields = Array; -export type ExportableLambdaFunctionField = - | "AccountId" - | "FunctionArn" - | "FunctionVersion" - | "Finding" - | "FindingReasonCodes" - | "NumberOfInvocations" - | "UtilizationMetricsDurationMaximum" - | "UtilizationMetricsDurationAverage" - | "UtilizationMetricsMemoryMaximum" - | "UtilizationMetricsMemoryAverage" - | "LookbackPeriodInDays" - | "CurrentConfigurationMemorySize" - | "CurrentConfigurationTimeout" - | "CurrentCostTotal" - | "CurrentCostAverage" - | "RecommendationOptionsConfigurationMemorySize" - | "RecommendationOptionsCostLow" - | "RecommendationOptionsCostHigh" - | "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound" - | "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound" - | "RecommendationOptionsProjectedUtilizationMetricsDurationExpected" - | "LastRefreshTimestamp" - | "CurrentPerformanceRisk" - | "RecommendationOptionsSavingsOpportunityPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrency" - | "RecommendationOptionsEstimatedMonthlySavingsValue" - | "Tags" - | "EffectiveRecommendationPreferencesSavingsEstimationMode" - | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" - | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; -export type ExportableLambdaFunctionFields = - Array; -export type ExportableLicenseField = - | "AccountId" - | "ResourceArn" - | "LookbackPeriodInDays" - | "LastRefreshTimestamp" - | "Finding" - | "FindingReasonCodes" - | "CurrentLicenseConfigurationNumberOfCores" - | "CurrentLicenseConfigurationInstanceType" - | "CurrentLicenseConfigurationOperatingSystem" - | "CurrentLicenseConfigurationLicenseName" - | "CurrentLicenseConfigurationLicenseEdition" - | "CurrentLicenseConfigurationLicenseModel" - | "CurrentLicenseConfigurationLicenseVersion" - | "CurrentLicenseConfigurationMetricsSource" - | "RecommendationOptionsOperatingSystem" - | "RecommendationOptionsLicenseEdition" - | "RecommendationOptionsLicenseModel" - | "RecommendationOptionsSavingsOpportunityPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrency" - | "RecommendationOptionsEstimatedMonthlySavingsValue" - | "Tags"; +export type ExportableLambdaFunctionField = "AccountId" | "FunctionArn" | "FunctionVersion" | "Finding" | "FindingReasonCodes" | "NumberOfInvocations" | "UtilizationMetricsDurationMaximum" | "UtilizationMetricsDurationAverage" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsMemoryAverage" | "LookbackPeriodInDays" | "CurrentConfigurationMemorySize" | "CurrentConfigurationTimeout" | "CurrentCostTotal" | "CurrentCostAverage" | "RecommendationOptionsConfigurationMemorySize" | "RecommendationOptionsCostLow" | "RecommendationOptionsCostHigh" | "RecommendationOptionsProjectedUtilizationMetricsDurationLowerBound" | "RecommendationOptionsProjectedUtilizationMetricsDurationUpperBound" | "RecommendationOptionsProjectedUtilizationMetricsDurationExpected" | "LastRefreshTimestamp" | "CurrentPerformanceRisk" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "Tags" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; +export type ExportableLambdaFunctionFields = Array; +export type ExportableLicenseField = "AccountId" | "ResourceArn" | "LookbackPeriodInDays" | "LastRefreshTimestamp" | "Finding" | "FindingReasonCodes" | "CurrentLicenseConfigurationNumberOfCores" | "CurrentLicenseConfigurationInstanceType" | "CurrentLicenseConfigurationOperatingSystem" | "CurrentLicenseConfigurationLicenseName" | "CurrentLicenseConfigurationLicenseEdition" | "CurrentLicenseConfigurationLicenseModel" | "CurrentLicenseConfigurationLicenseVersion" | "CurrentLicenseConfigurationMetricsSource" | "RecommendationOptionsOperatingSystem" | "RecommendationOptionsLicenseEdition" | "RecommendationOptionsLicenseModel" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "Tags"; export type ExportableLicenseFields = Array; -export type ExportableRDSDBField = - | "ResourceArn" - | "AccountId" - | "Engine" - | "EngineVersion" - | "Idle" - | "MultiAZDBInstance" - | "ClusterWriter" - | "CurrentDBInstanceClass" - | "CurrentStorageConfigurationStorageType" - | "CurrentStorageConfigurationAllocatedStorage" - | "CurrentStorageConfigurationMaxAllocatedStorage" - | "CurrentStorageConfigurationIOPS" - | "CurrentStorageConfigurationStorageThroughput" - | "CurrentStorageEstimatedMonthlyVolumeIOPsCostVariation" - | "CurrentInstanceOnDemandHourlyPrice" - | "CurrentStorageOnDemandMonthlyPrice" - | "LookbackPeriodInDays" - | "CurrentStorageEstimatedClusterInstanceOnDemandMonthlyCost" - | "CurrentStorageEstimatedClusterStorageOnDemandMonthlyCost" - | "CurrentStorageEstimatedClusterStorageIOOnDemandMonthlyCost" - | "CurrentInstancePerformanceRisk" - | "UtilizationMetricsCpuMaximum" - | "UtilizationMetricsMemoryMaximum" - | "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum" - | "UtilizationMetricsNetworkReceiveThroughputMaximum" - | "UtilizationMetricsNetworkTransmitThroughputMaximum" - | "UtilizationMetricsEBSVolumeReadIOPSMaximum" - | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" - | "UtilizationMetricsEBSVolumeReadThroughputMaximum" - | "UtilizationMetricsEBSVolumeWriteThroughputMaximum" - | "UtilizationMetricsDatabaseConnectionsMaximum" - | "UtilizationMetricsStorageNetworkReceiveThroughputMaximum" - | "UtilizationMetricsStorageNetworkTransmitThroughputMaximum" - | "UtilizationMetricsAuroraMemoryHealthStateMaximum" - | "UtilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum" - | "UtilizationMetricsAuroraMemoryNumKillConnTotalMaximum" - | "UtilizationMetricsAuroraMemoryNumKillQueryTotalMaximum" - | "UtilizationMetricsReadIOPSEphemeralStorageMaximum" - | "UtilizationMetricsWriteIOPSEphemeralStorageMaximum" - | "UtilizationMetricsVolumeBytesUsedAverage" - | "UtilizationMetricsVolumeReadIOPsAverage" - | "UtilizationMetricsVolumeWriteIOPsAverage" - | "InstanceFinding" - | "InstanceFindingReasonCodes" - | "StorageFinding" - | "StorageFindingReasonCodes" - | "InstanceRecommendationOptionsDBInstanceClass" - | "InstanceRecommendationOptionsRank" - | "InstanceRecommendationOptionsPerformanceRisk" - | "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" - | "StorageRecommendationOptionsStorageType" - | "StorageRecommendationOptionsAllocatedStorage" - | "StorageRecommendationOptionsMaxAllocatedStorage" - | "StorageRecommendationOptionsIOPS" - | "StorageRecommendationOptionsStorageThroughput" - | "StorageRecommendationOptionsRank" - | "StorageRecommendationOptionsEstimatedMonthlyVolumeIOPsCostVariation" - | "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice" - | "InstanceRecommendationOptionsSavingsOpportunityPercentage" - | "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency" - | "InstanceRecommendationOptionsEstimatedMonthlySavingsValue" - | "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" - | "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" - | "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" - | "StorageRecommendationOptionsOnDemandMonthlyPrice" - | "StorageRecommendationOptionsEstimatedClusterInstanceOnDemandMonthlyCost" - | "StorageRecommendationOptionsEstimatedClusterStorageOnDemandMonthlyCost" - | "StorageRecommendationOptionsEstimatedClusterStorageIOOnDemandMonthlyCost" - | "StorageRecommendationOptionsSavingsOpportunityPercentage" - | "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency" - | "StorageRecommendationOptionsEstimatedMonthlySavingsValue" - | "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" - | "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" - | "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" - | "EffectiveRecommendationPreferencesCpuVendorArchitectures" - | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" - | "EffectiveRecommendationPreferencesLookBackPeriod" - | "EffectiveRecommendationPreferencesSavingsEstimationMode" - | "LastRefreshTimestamp" - | "Tags" - | "DBClusterIdentifier" - | "PromotionTier"; +export type ExportableRDSDBField = "ResourceArn" | "AccountId" | "Engine" | "EngineVersion" | "Idle" | "MultiAZDBInstance" | "ClusterWriter" | "CurrentDBInstanceClass" | "CurrentStorageConfigurationStorageType" | "CurrentStorageConfigurationAllocatedStorage" | "CurrentStorageConfigurationMaxAllocatedStorage" | "CurrentStorageConfigurationIOPS" | "CurrentStorageConfigurationStorageThroughput" | "CurrentStorageEstimatedMonthlyVolumeIOPsCostVariation" | "CurrentInstanceOnDemandHourlyPrice" | "CurrentStorageOnDemandMonthlyPrice" | "LookbackPeriodInDays" | "CurrentStorageEstimatedClusterInstanceOnDemandMonthlyCost" | "CurrentStorageEstimatedClusterStorageOnDemandMonthlyCost" | "CurrentStorageEstimatedClusterStorageIOOnDemandMonthlyCost" | "CurrentInstancePerformanceRisk" | "UtilizationMetricsCpuMaximum" | "UtilizationMetricsMemoryMaximum" | "UtilizationMetricsEBSVolumeStorageSpaceUtilizationMaximum" | "UtilizationMetricsNetworkReceiveThroughputMaximum" | "UtilizationMetricsNetworkTransmitThroughputMaximum" | "UtilizationMetricsEBSVolumeReadIOPSMaximum" | "UtilizationMetricsEBSVolumeWriteIOPSMaximum" | "UtilizationMetricsEBSVolumeReadThroughputMaximum" | "UtilizationMetricsEBSVolumeWriteThroughputMaximum" | "UtilizationMetricsDatabaseConnectionsMaximum" | "UtilizationMetricsStorageNetworkReceiveThroughputMaximum" | "UtilizationMetricsStorageNetworkTransmitThroughputMaximum" | "UtilizationMetricsAuroraMemoryHealthStateMaximum" | "UtilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum" | "UtilizationMetricsAuroraMemoryNumKillConnTotalMaximum" | "UtilizationMetricsAuroraMemoryNumKillQueryTotalMaximum" | "UtilizationMetricsReadIOPSEphemeralStorageMaximum" | "UtilizationMetricsWriteIOPSEphemeralStorageMaximum" | "UtilizationMetricsVolumeBytesUsedAverage" | "UtilizationMetricsVolumeReadIOPsAverage" | "UtilizationMetricsVolumeWriteIOPsAverage" | "InstanceFinding" | "InstanceFindingReasonCodes" | "StorageFinding" | "StorageFindingReasonCodes" | "InstanceRecommendationOptionsDBInstanceClass" | "InstanceRecommendationOptionsRank" | "InstanceRecommendationOptionsPerformanceRisk" | "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" | "StorageRecommendationOptionsStorageType" | "StorageRecommendationOptionsAllocatedStorage" | "StorageRecommendationOptionsMaxAllocatedStorage" | "StorageRecommendationOptionsIOPS" | "StorageRecommendationOptionsStorageThroughput" | "StorageRecommendationOptionsRank" | "StorageRecommendationOptionsEstimatedMonthlyVolumeIOPsCostVariation" | "InstanceRecommendationOptionsInstanceOnDemandHourlyPrice" | "InstanceRecommendationOptionsSavingsOpportunityPercentage" | "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrency" | "InstanceRecommendationOptionsEstimatedMonthlySavingsValue" | "InstanceRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "InstanceRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "InstanceRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" | "StorageRecommendationOptionsOnDemandMonthlyPrice" | "StorageRecommendationOptionsEstimatedClusterInstanceOnDemandMonthlyCost" | "StorageRecommendationOptionsEstimatedClusterStorageOnDemandMonthlyCost" | "StorageRecommendationOptionsEstimatedClusterStorageIOOnDemandMonthlyCost" | "StorageRecommendationOptionsSavingsOpportunityPercentage" | "StorageRecommendationOptionsEstimatedMonthlySavingsCurrency" | "StorageRecommendationOptionsEstimatedMonthlySavingsValue" | "StorageRecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "StorageRecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "StorageRecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts" | "EffectiveRecommendationPreferencesCpuVendorArchitectures" | "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" | "EffectiveRecommendationPreferencesLookBackPeriod" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "LastRefreshTimestamp" | "Tags" | "DBClusterIdentifier" | "PromotionTier"; export type ExportableRDSDBFields = Array; -export type ExportableVolumeField = - | "AccountId" - | "VolumeArn" - | "Finding" - | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" - | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" - | "UtilizationMetricsVolumeReadBytesPerSecondMaximum" - | "UtilizationMetricsVolumeWriteBytesPerSecondMaximum" - | "LookbackPeriodInDays" - | "CurrentConfigurationVolumeType" - | "CurrentConfigurationVolumeBaselineIOPS" - | "CurrentConfigurationVolumeBaselineThroughput" - | "CurrentConfigurationVolumeBurstIOPS" - | "CurrentConfigurationVolumeBurstThroughput" - | "CurrentConfigurationVolumeSize" - | "CurrentMonthlyPrice" - | "RecommendationOptionsConfigurationVolumeType" - | "RecommendationOptionsConfigurationVolumeBaselineIOPS" - | "RecommendationOptionsConfigurationVolumeBaselineThroughput" - | "RecommendationOptionsConfigurationVolumeBurstIOPS" - | "RecommendationOptionsConfigurationVolumeBurstThroughput" - | "RecommendationOptionsConfigurationVolumeSize" - | "RecommendationOptionsMonthlyPrice" - | "RecommendationOptionsPerformanceRisk" - | "LastRefreshTimestamp" - | "CurrentPerformanceRisk" - | "RecommendationOptionsSavingsOpportunityPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrency" - | "RecommendationOptionsEstimatedMonthlySavingsValue" - | "Tags" - | "RootVolume" - | "CurrentConfigurationRootVolume" - | "EffectiveRecommendationPreferencesSavingsEstimationMode" - | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" - | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" - | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; +export type ExportableVolumeField = "AccountId" | "VolumeArn" | "Finding" | "UtilizationMetricsVolumeReadOpsPerSecondMaximum" | "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" | "UtilizationMetricsVolumeReadBytesPerSecondMaximum" | "UtilizationMetricsVolumeWriteBytesPerSecondMaximum" | "LookbackPeriodInDays" | "CurrentConfigurationVolumeType" | "CurrentConfigurationVolumeBaselineIOPS" | "CurrentConfigurationVolumeBaselineThroughput" | "CurrentConfigurationVolumeBurstIOPS" | "CurrentConfigurationVolumeBurstThroughput" | "CurrentConfigurationVolumeSize" | "CurrentMonthlyPrice" | "RecommendationOptionsConfigurationVolumeType" | "RecommendationOptionsConfigurationVolumeBaselineIOPS" | "RecommendationOptionsConfigurationVolumeBaselineThroughput" | "RecommendationOptionsConfigurationVolumeBurstIOPS" | "RecommendationOptionsConfigurationVolumeBurstThroughput" | "RecommendationOptionsConfigurationVolumeSize" | "RecommendationOptionsMonthlyPrice" | "RecommendationOptionsPerformanceRisk" | "LastRefreshTimestamp" | "CurrentPerformanceRisk" | "RecommendationOptionsSavingsOpportunityPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrency" | "RecommendationOptionsEstimatedMonthlySavingsValue" | "Tags" | "RootVolume" | "CurrentConfigurationRootVolume" | "EffectiveRecommendationPreferencesSavingsEstimationMode" | "RecommendationOptionsSavingsOpportunityAfterDiscountsPercentage" | "RecommendationOptionsEstimatedMonthlySavingsCurrencyAfterDiscounts" | "RecommendationOptionsEstimatedMonthlySavingsValueAfterDiscounts"; export type ExportableVolumeFields = Array; export interface ExportAutoScalingGroupRecommendationsRequest { accountIds?: Array; @@ -1228,26 +584,12 @@ export interface ExportRDSDatabaseRecommendationsResponse { export interface ExternalMetricsPreference { source?: ExternalMetricsSource; } -export type ExternalMetricsSource = - | "Datadog" - | "Dynatrace" - | "NewRelic" - | "Instana"; +export type ExternalMetricsSource = "Datadog" | "Dynatrace" | "NewRelic" | "Instana"; export interface ExternalMetricStatus { statusCode?: ExternalMetricStatusCode; statusReason?: string; } -export type ExternalMetricStatusCode = - | "NO_EXTERNAL_METRIC_SET" - | "INTEGRATION_SUCCESS" - | "DATADOG_INTEGRATION_ERROR" - | "DYNATRACE_INTEGRATION_ERROR" - | "NEWRELIC_INTEGRATION_ERROR" - | "INSTANA_INTEGRATION_ERROR" - | "INSUFFICIENT_DATADOG_METRICS" - | "INSUFFICIENT_DYNATRACE_METRICS" - | "INSUFFICIENT_NEWRELIC_METRICS" - | "INSUFFICIENT_INSTANA_METRICS"; +export type ExternalMetricStatusCode = "NO_EXTERNAL_METRIC_SET" | "INTEGRATION_SUCCESS" | "DATADOG_INTEGRATION_ERROR" | "DYNATRACE_INTEGRATION_ERROR" | "NEWRELIC_INTEGRATION_ERROR" | "INSTANA_INTEGRATION_ERROR" | "INSUFFICIENT_DATADOG_METRICS" | "INSUFFICIENT_DYNATRACE_METRICS" | "INSUFFICIENT_NEWRELIC_METRICS" | "INSUFFICIENT_INSTANA_METRICS"; export type ExternalMetricStatusReason = string; export type FailureReason = string; @@ -1257,23 +599,13 @@ export interface Filter { name?: FilterName; values?: Array; } -export type FilterName = - | "Finding" - | "FindingReasonCodes" - | "RecommendationSourceType" - | "InferredWorkloadTypes"; +export type FilterName = "Finding" | "FindingReasonCodes" | "RecommendationSourceType" | "InferredWorkloadTypes"; export type Filters = Array; export type FilterValue = string; export type FilterValues = Array; -export type Finding = - | "Underprovisioned" - | "Overprovisioned" - | "Optimized" - | "NotOptimized"; -export type FindingReasonCode = - | "MemoryOverprovisioned" - | "MemoryUnderprovisioned"; +export type Finding = "Underprovisioned" | "Overprovisioned" | "Optimized" | "NotOptimized"; +export type FindingReasonCode = "MemoryOverprovisioned" | "MemoryUnderprovisioned"; export type FunctionArn = string; export type FunctionArns = Array; @@ -1369,7 +701,8 @@ export interface GetEnrollmentStatusesForOrganizationResponse { accountEnrollmentStatuses?: Array; nextToken?: string; } -export interface GetEnrollmentStatusRequest {} +export interface GetEnrollmentStatusRequest { +} export interface GetEnrollmentStatusResponse { status?: Status; statusReason?: string; @@ -1488,16 +821,7 @@ export type IdleFindingDescription = string; export type IdleMaxResults = number; -export type IdleMetricName = - | "CPU" - | "Memory" - | "NetworkOutBytesPerSecond" - | "NetworkInBytesPerSecond" - | "DatabaseConnections" - | "EBSVolumeReadIOPS" - | "EBSVolumeWriteIOPS" - | "VolumeReadOpsPerSecond" - | "VolumeWriteOpsPerSecond"; +export type IdleMetricName = "CPU" | "Memory" | "NetworkOutBytesPerSecond" | "NetworkInBytesPerSecond" | "DatabaseConnections" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "VolumeReadOpsPerSecond" | "VolumeWriteOpsPerSecond"; export interface IdleRecommendation { resourceArn?: string; resourceId?: string; @@ -1525,12 +849,7 @@ export interface IdleRecommendationFilter { } export type IdleRecommendationFilterName = "Finding" | "ResourceType"; export type IdleRecommendationFilters = Array; -export type IdleRecommendationResourceType = - | "EC2Instance" - | "AutoScalingGroup" - | "EBSVolume" - | "ECSService" - | "RDSDBInstance"; +export type IdleRecommendationResourceType = "EC2Instance" | "AutoScalingGroup" | "EBSVolume" | "ECSService" | "RDSDBInstance"; export type IdleRecommendations = Array; export interface IdleSavingsOpportunity { savingsOpportunityPercentage?: number; @@ -1558,16 +877,7 @@ export interface InferredWorkloadSaving { estimatedMonthlySavings?: EstimatedMonthlySavings; } export type InferredWorkloadSavings = Array; -export type InferredWorkloadType = - | "AmazonEmr" - | "ApacheCassandra" - | "ApacheHadoop" - | "Memcached" - | "Nginx" - | "PostgreSql" - | "Redis" - | "Kafka" - | "SQLServer"; +export type InferredWorkloadType = "AmazonEmr" | "ApacheCassandra" | "ApacheHadoop" | "Memcached" | "Nginx" | "PostgreSql" | "Redis" | "Kafka" | "SQLServer"; export type InferredWorkloadTypes = Array; export type InferredWorkloadTypesPreference = "Active" | "Inactive"; export type InstanceArn = string; @@ -1601,29 +911,8 @@ export interface InstanceRecommendation { currentInstanceGpuInfo?: GpuInfo; idle?: InstanceIdle; } -export type InstanceRecommendationFindingReasonCode = - | "CPUOverprovisioned" - | "CPUUnderprovisioned" - | "MemoryOverprovisioned" - | "MemoryUnderprovisioned" - | "EBSThroughputOverprovisioned" - | "EBSThroughputUnderprovisioned" - | "EBSIOPSOverprovisioned" - | "EBSIOPSUnderprovisioned" - | "NetworkBandwidthOverprovisioned" - | "NetworkBandwidthUnderprovisioned" - | "NetworkPPSOverprovisioned" - | "NetworkPPSUnderprovisioned" - | "DiskIOPSOverprovisioned" - | "DiskIOPSUnderprovisioned" - | "DiskThroughputOverprovisioned" - | "DiskThroughputUnderprovisioned" - | "GPUUnderprovisioned" - | "GPUOverprovisioned" - | "GPUMemoryUnderprovisioned" - | "GPUMemoryOverprovisioned"; -export type InstanceRecommendationFindingReasonCodes = - Array; +export type InstanceRecommendationFindingReasonCode = "CPUOverprovisioned" | "CPUUnderprovisioned" | "MemoryOverprovisioned" | "MemoryUnderprovisioned" | "EBSThroughputOverprovisioned" | "EBSThroughputUnderprovisioned" | "EBSIOPSOverprovisioned" | "EBSIOPSUnderprovisioned" | "NetworkBandwidthOverprovisioned" | "NetworkBandwidthUnderprovisioned" | "NetworkPPSOverprovisioned" | "NetworkPPSUnderprovisioned" | "DiskIOPSOverprovisioned" | "DiskIOPSUnderprovisioned" | "DiskThroughputOverprovisioned" | "DiskThroughputUnderprovisioned" | "GPUUnderprovisioned" | "GPUOverprovisioned" | "GPUMemoryUnderprovisioned" | "GPUMemoryOverprovisioned"; +export type InstanceRecommendationFindingReasonCodes = Array; export interface InstanceRecommendationOption { instanceType?: string; instanceGpuInfo?: GpuInfo; @@ -1639,21 +928,12 @@ export type InstanceRecommendations = Array; export interface InstanceSavingsEstimationMode { source?: InstanceSavingsEstimationModeSource; } -export type InstanceSavingsEstimationModeSource = - | "PublicPricing" - | "CostExplorerRightsizing" - | "CostOptimizationHub"; +export type InstanceSavingsEstimationModeSource = "PublicPricing" | "CostExplorerRightsizing" | "CostOptimizationHub"; export interface InstanceSavingsOpportunityAfterDiscounts { savingsOpportunityPercentage?: number; estimatedMonthlySavings?: InstanceEstimatedMonthlySavings; } -export type InstanceState = - | "pending" - | "running" - | "shutting-down" - | "terminated" - | "stopping" - | "stopped"; +export type InstanceState = "pending" | "running" | "shutting-down" | "terminated" | "stopping" | "stopped"; export type InstanceType = string; export declare class InternalServerException extends EffectData.TaggedError( @@ -1684,17 +964,13 @@ export interface LambdaEstimatedMonthlySavings { value?: number; } export type LambdaFunctionMemoryMetricName = "Duration"; -export type LambdaFunctionMemoryMetricStatistic = - | "LowerBound" - | "UpperBound" - | "Expected"; +export type LambdaFunctionMemoryMetricStatistic = "LowerBound" | "UpperBound" | "Expected"; export interface LambdaFunctionMemoryProjectedMetric { name?: LambdaFunctionMemoryMetricName; statistic?: LambdaFunctionMemoryMetricStatistic; value?: number; } -export type LambdaFunctionMemoryProjectedMetrics = - Array; +export type LambdaFunctionMemoryProjectedMetrics = Array; export interface LambdaFunctionMemoryRecommendationOption { rank?: number; memorySize?: number; @@ -1702,8 +978,7 @@ export interface LambdaFunctionMemoryRecommendationOption { savingsOpportunity?: SavingsOpportunity; savingsOpportunityAfterDiscounts?: LambdaSavingsOpportunityAfterDiscounts; } -export type LambdaFunctionMemoryRecommendationOptions = - Array; +export type LambdaFunctionMemoryRecommendationOptions = Array; export type LambdaFunctionMetricName = "Duration" | "Memory"; export type LambdaFunctionMetricStatistic = "Maximum" | "Average"; export interface LambdaFunctionRecommendation { @@ -1726,37 +1001,22 @@ export interface LambdaFunctionRecommendationFilter { name?: LambdaFunctionRecommendationFilterName; values?: Array; } -export type LambdaFunctionRecommendationFilterName = - | "Finding" - | "FindingReasonCode"; -export type LambdaFunctionRecommendationFilters = - Array; -export type LambdaFunctionRecommendationFinding = - | "Optimized" - | "NotOptimized" - | "Unavailable"; -export type LambdaFunctionRecommendationFindingReasonCode = - | "MemoryOverprovisioned" - | "MemoryUnderprovisioned" - | "InsufficientData" - | "Inconclusive"; -export type LambdaFunctionRecommendationFindingReasonCodes = - Array; +export type LambdaFunctionRecommendationFilterName = "Finding" | "FindingReasonCode"; +export type LambdaFunctionRecommendationFilters = Array; +export type LambdaFunctionRecommendationFinding = "Optimized" | "NotOptimized" | "Unavailable"; +export type LambdaFunctionRecommendationFindingReasonCode = "MemoryOverprovisioned" | "MemoryUnderprovisioned" | "InsufficientData" | "Inconclusive"; +export type LambdaFunctionRecommendationFindingReasonCodes = Array; export type LambdaFunctionRecommendations = Array; export interface LambdaFunctionUtilizationMetric { name?: LambdaFunctionMetricName; statistic?: LambdaFunctionMetricStatistic; value?: number; } -export type LambdaFunctionUtilizationMetrics = - Array; +export type LambdaFunctionUtilizationMetrics = Array; export interface LambdaSavingsEstimationMode { source?: LambdaSavingsEstimationModeSource; } -export type LambdaSavingsEstimationModeSource = - | "PublicPricing" - | "CostExplorerRightsizing" - | "CostOptimizationHub"; +export type LambdaSavingsEstimationModeSource = "PublicPricing" | "CostExplorerRightsizing" | "CostOptimizationHub"; export interface LambdaSavingsOpportunityAfterDiscounts { savingsOpportunityPercentage?: number; estimatedMonthlySavings?: LambdaEstimatedMonthlySavings; @@ -1775,20 +1035,9 @@ export interface LicenseConfiguration { licenseVersion?: string; metricsSource?: Array; } -export type LicenseEdition = - | "Enterprise" - | "Standard" - | "Free" - | "NoLicenseEditionFound"; -export type LicenseFinding = - | "InsufficientMetrics" - | "Optimized" - | "NotOptimized"; -export type LicenseFindingReasonCode = - | "InvalidCloudWatchApplicationInsightsSetup" - | "CloudWatchApplicationInsightsError" - | "LicenseOverprovisioned" - | "Optimized"; +export type LicenseEdition = "Enterprise" | "Standard" | "Free" | "NoLicenseEditionFound"; +export type LicenseFinding = "InsufficientMetrics" | "Optimized" | "NotOptimized"; +export type LicenseFindingReasonCode = "InvalidCloudWatchApplicationInsightsSetup" | "CloudWatchApplicationInsightsError" | "LicenseOverprovisioned" | "Optimized"; export type LicenseFindingReasonCodes = Array; export type LicenseModel = "LicenseIncluded" | "BringYourOwnLicense"; export type LicenseName = "SQLServer"; @@ -1807,10 +1056,7 @@ export interface LicenseRecommendationFilter { name?: LicenseRecommendationFilterName; values?: Array; } -export type LicenseRecommendationFilterName = - | "Finding" - | "FindingReasonCode" - | "LicenseName"; +export type LicenseRecommendationFilterName = "Finding" | "FindingReasonCode" | "LicenseName"; export type LicenseRecommendationFilters = Array; export interface LicenseRecommendationOption { rank?: number; @@ -1853,23 +1099,7 @@ export type Message = string; export type MetadataKey = string; -export type MetricName = - | "Cpu" - | "Memory" - | "EBS_READ_OPS_PER_SECOND" - | "EBS_WRITE_OPS_PER_SECOND" - | "EBS_READ_BYTES_PER_SECOND" - | "EBS_WRITE_BYTES_PER_SECOND" - | "DISK_READ_OPS_PER_SECOND" - | "DISK_WRITE_OPS_PER_SECOND" - | "DISK_READ_BYTES_PER_SECOND" - | "DISK_WRITE_BYTES_PER_SECOND" - | "NETWORK_IN_BYTES_PER_SECOND" - | "NETWORK_OUT_BYTES_PER_SECOND" - | "NETWORK_PACKETS_IN_PER_SECOND" - | "NETWORK_PACKETS_OUT_PER_SECOND" - | "GPU_PERCENTAGE" - | "GPU_MEMORY_PERCENTAGE"; +export type MetricName = "Cpu" | "Memory" | "EBS_READ_OPS_PER_SECOND" | "EBS_WRITE_OPS_PER_SECOND" | "EBS_READ_BYTES_PER_SECOND" | "EBS_WRITE_BYTES_PER_SECOND" | "DISK_READ_OPS_PER_SECOND" | "DISK_WRITE_OPS_PER_SECOND" | "DISK_READ_BYTES_PER_SECOND" | "DISK_WRITE_BYTES_PER_SECOND" | "NETWORK_IN_BYTES_PER_SECOND" | "NETWORK_OUT_BYTES_PER_SECOND" | "NETWORK_PACKETS_IN_PER_SECOND" | "NETWORK_PACKETS_OUT_PER_SECOND" | "GPU_PERCENTAGE" | "GPU_MEMORY_PERCENTAGE"; export type MetricProviderArn = string; export interface MetricSource { @@ -1933,13 +1163,7 @@ export type PerformanceRisk = number; export type Period = number; -export type PlatformDifference = - | "Hypervisor" - | "NetworkInterface" - | "StorageInterface" - | "InstanceStoreAvailability" - | "VirtualizationType" - | "Architecture"; +export type PlatformDifference = "Hypervisor" | "NetworkInterface" | "StorageInterface" | "InstanceStoreAvailability" | "VirtualizationType" | "Architecture"; export type PlatformDifferences = Array; export interface PreferredResource { name?: PreferredResourceName; @@ -1971,14 +1195,11 @@ export interface PutRecommendationPreferencesRequest { preferredResources?: Array; savingsEstimationMode?: SavingsEstimationMode; } -export interface PutRecommendationPreferencesResponse {} +export interface PutRecommendationPreferencesResponse { +} export type Rank = number; -export type RDSCurrentInstancePerformanceRisk = - | "VeryLow" - | "Low" - | "Medium" - | "High"; +export type RDSCurrentInstancePerformanceRisk = "VeryLow" | "Low" | "Medium" | "High"; export interface RDSDatabaseProjectedMetric { name?: RDSDBMetricName; timestamps?: Array; @@ -1990,8 +1211,7 @@ export interface RDSDatabaseRecommendedOptionProjectedMetric { rank?: number; projectedMetrics?: Array; } -export type RDSDatabaseRecommendedOptionProjectedMetrics = - Array; +export type RDSDatabaseRecommendedOptionProjectedMetrics = Array; export interface RDSDBInstanceRecommendationOption { dbInstanceClass?: string; projectedUtilizationMetrics?: Array; @@ -2000,30 +1220,8 @@ export interface RDSDBInstanceRecommendationOption { savingsOpportunity?: SavingsOpportunity; savingsOpportunityAfterDiscounts?: RDSInstanceSavingsOpportunityAfterDiscounts; } -export type RDSDBInstanceRecommendationOptions = - Array; -export type RDSDBMetricName = - | "CPU" - | "Memory" - | "EBSVolumeStorageSpaceUtilization" - | "NetworkReceiveThroughput" - | "NetworkTransmitThroughput" - | "EBSVolumeReadIOPS" - | "EBSVolumeWriteIOPS" - | "EBSVolumeReadThroughput" - | "EBSVolumeWriteThroughput" - | "DatabaseConnections" - | "StorageNetworkReceiveThroughput" - | "StorageNetworkTransmitThroughput" - | "AuroraMemoryHealthState" - | "AuroraMemoryNumDeclinedSql" - | "AuroraMemoryNumKillConnTotal" - | "AuroraMemoryNumKillQueryTotal" - | "ReadIOPSEphemeralStorage" - | "WriteIOPSEphemeralStorage" - | "VolumeReadIOPs" - | "VolumeBytesUsed" - | "VolumeWriteIOPs"; +export type RDSDBInstanceRecommendationOptions = Array; +export type RDSDBMetricName = "CPU" | "Memory" | "EBSVolumeStorageSpaceUtilization" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "EBSVolumeReadIOPS" | "EBSVolumeWriteIOPS" | "EBSVolumeReadThroughput" | "EBSVolumeWriteThroughput" | "DatabaseConnections" | "StorageNetworkReceiveThroughput" | "StorageNetworkTransmitThroughput" | "AuroraMemoryHealthState" | "AuroraMemoryNumDeclinedSql" | "AuroraMemoryNumKillConnTotal" | "AuroraMemoryNumKillQueryTotal" | "ReadIOPSEphemeralStorage" | "WriteIOPSEphemeralStorage" | "VolumeReadIOPs" | "VolumeBytesUsed" | "VolumeWriteIOPs"; export type RDSDBMetricStatistic = "Maximum" | "Minimum" | "Average"; export type RDSDBProjectedUtilizationMetrics = Array; export interface RDSDBRecommendation { @@ -2054,12 +1252,7 @@ export interface RDSDBRecommendationFilter { name?: RDSDBRecommendationFilterName; values?: Array; } -export type RDSDBRecommendationFilterName = - | "InstanceFinding" - | "InstanceFindingReasonCode" - | "StorageFinding" - | "StorageFindingReasonCode" - | "Idle"; +export type RDSDBRecommendationFilterName = "InstanceFinding" | "InstanceFindingReasonCode" | "StorageFinding" | "StorageFindingReasonCode" | "Idle"; export type RDSDBRecommendationFilters = Array; export type RDSDBRecommendations = Array; export interface RDSDBStorageRecommendationOption { @@ -2069,8 +1262,7 @@ export interface RDSDBStorageRecommendationOption { savingsOpportunityAfterDiscounts?: RDSStorageSavingsOpportunityAfterDiscounts; estimatedMonthlyVolumeIOPsCostVariation?: RDSEstimatedMonthlyVolumeIOPsCostVariation; } -export type RDSDBStorageRecommendationOptions = - Array; +export type RDSDBStorageRecommendationOptions = Array; export interface RDSDBUtilizationMetric { name?: RDSDBMetricName; statistic?: RDSDBMetricStatistic; @@ -2083,34 +1275,13 @@ export interface RDSEffectiveRecommendationPreferences { lookBackPeriod?: LookBackPeriodPreference; savingsEstimationMode?: RDSSavingsEstimationMode; } -export type RDSEstimatedMonthlyVolumeIOPsCostVariation = - | "None" - | "Low" - | "Medium" - | "High"; +export type RDSEstimatedMonthlyVolumeIOPsCostVariation = "None" | "Low" | "Medium" | "High"; export interface RDSInstanceEstimatedMonthlySavings { currency?: Currency; value?: number; } -export type RDSInstanceFinding = - | "Optimized" - | "Underprovisioned" - | "Overprovisioned"; -export type RDSInstanceFindingReasonCode = - | "CPUOverprovisioned" - | "NetworkBandwidthOverprovisioned" - | "EBSIOPSOverprovisioned" - | "EBSIOPSUnderprovisioned" - | "EBSThroughputOverprovisioned" - | "CPUUnderprovisioned" - | "NetworkBandwidthUnderprovisioned" - | "EBSThroughputUnderprovisioned" - | "NewGenerationDBInstanceClassAvailable" - | "NewEngineVersionAvailable" - | "DBClusterWriterUnderprovisioned" - | "MemoryUnderprovisioned" - | "InstanceStorageReadIOPSUnderprovisioned" - | "InstanceStorageWriteIOPSUnderprovisioned"; +export type RDSInstanceFinding = "Optimized" | "Underprovisioned" | "Overprovisioned"; +export type RDSInstanceFindingReasonCode = "CPUOverprovisioned" | "NetworkBandwidthOverprovisioned" | "EBSIOPSOverprovisioned" | "EBSIOPSUnderprovisioned" | "EBSThroughputOverprovisioned" | "CPUUnderprovisioned" | "NetworkBandwidthUnderprovisioned" | "EBSThroughputUnderprovisioned" | "NewGenerationDBInstanceClassAvailable" | "NewEngineVersionAvailable" | "DBClusterWriterUnderprovisioned" | "MemoryUnderprovisioned" | "InstanceStorageReadIOPSUnderprovisioned" | "InstanceStorageWriteIOPSUnderprovisioned"; export type RDSInstanceFindingReasonCodes = Array; export interface RDSInstanceSavingsOpportunityAfterDiscounts { savingsOpportunityPercentage?: number; @@ -2119,27 +1290,13 @@ export interface RDSInstanceSavingsOpportunityAfterDiscounts { export interface RDSSavingsEstimationMode { source?: RDSSavingsEstimationModeSource; } -export type RDSSavingsEstimationModeSource = - | "PublicPricing" - | "CostExplorerRightsizing" - | "CostOptimizationHub"; +export type RDSSavingsEstimationModeSource = "PublicPricing" | "CostExplorerRightsizing" | "CostOptimizationHub"; export interface RDSStorageEstimatedMonthlySavings { currency?: Currency; value?: number; } -export type RDSStorageFinding = - | "Optimized" - | "Underprovisioned" - | "Overprovisioned" - | "NotOptimized"; -export type RDSStorageFindingReasonCode = - | "EBSVolumeAllocatedStorageUnderprovisioned" - | "EBSVolumeThroughputUnderprovisioned" - | "EBSVolumeIOPSOverprovisioned" - | "EBSVolumeThroughputOverprovisioned" - | "NewGenerationStorageTypeAvailable" - | "DBClusterStorageOptionAvailable" - | "DBClusterStorageSavingsAvailable"; +export type RDSStorageFinding = "Optimized" | "Underprovisioned" | "Overprovisioned" | "NotOptimized"; +export type RDSStorageFindingReasonCode = "EBSVolumeAllocatedStorageUnderprovisioned" | "EBSVolumeThroughputUnderprovisioned" | "EBSVolumeIOPSOverprovisioned" | "EBSVolumeThroughputOverprovisioned" | "NewGenerationStorageTypeAvailable" | "DBClusterStorageOptionAvailable" | "DBClusterStorageSavingsAvailable"; export type RDSStorageFindingReasonCodes = Array; export interface RDSStorageSavingsOpportunityAfterDiscounts { savingsOpportunityPercentage?: number; @@ -2161,13 +1318,7 @@ export interface RecommendationExportJob { } export type RecommendationExportJobs = Array; export type RecommendationOptions = Array; -export type RecommendationPreferenceName = - | "EnhancedInfrastructureMetrics" - | "InferredWorkloadTypes" - | "ExternalMetricsPreference" - | "LookBackPeriodPreference" - | "PreferredResources" - | "UtilizationPreferences"; +export type RecommendationPreferenceName = "EnhancedInfrastructureMetrics" | "InferredWorkloadTypes" | "ExternalMetricsPreference" | "LookBackPeriodPreference" | "PreferredResources" | "UtilizationPreferences"; export type RecommendationPreferenceNames = Array; export interface RecommendationPreferences { cpuVendorArchitectures?: Array; @@ -2183,8 +1334,7 @@ export interface RecommendationPreferencesDetail { preferredResources?: Array; savingsEstimationMode?: SavingsEstimationMode; } -export type RecommendationPreferencesDetails = - Array; +export type RecommendationPreferencesDetails = Array; export interface RecommendationSource { recommendationSourceArn?: string; recommendationSourceType?: RecommendationSourceType; @@ -2192,16 +1342,7 @@ export interface RecommendationSource { export type RecommendationSourceArn = string; export type RecommendationSources = Array; -export type RecommendationSourceType = - | "Ec2Instance" - | "AutoScalingGroup" - | "EbsVolume" - | "LambdaFunction" - | "EcsService" - | "License" - | "RdsDBInstance" - | "RdsDBInstanceStorage" - | "AuroraDBClusterStorage"; +export type RecommendationSourceType = "Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "EcsService" | "License" | "RdsDBInstance" | "RdsDBInstanceStorage" | "AuroraDBClusterStorage"; export type RecommendationSummaries = Array; export interface RecommendationSummary { summaries?: Array; @@ -2223,8 +1364,7 @@ export interface RecommendedOptionProjectedMetric { rank?: number; projectedMetrics?: Array; } -export type RecommendedOptionProjectedMetrics = - Array; +export type RecommendedOptionProjectedMetrics = Array; export type ResourceArn = string; export type ResourceArns = Array; @@ -2235,17 +1375,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type ResourceType = - | "Ec2Instance" - | "AutoScalingGroup" - | "EbsVolume" - | "LambdaFunction" - | "NotApplicable" - | "EcsService" - | "License" - | "RdsDBInstance" - | "AuroraDBClusterStorage" - | "Idle"; +export type ResourceType = "Ec2Instance" | "AutoScalingGroup" | "EbsVolume" | "LambdaFunction" | "NotApplicable" | "EcsService" | "License" | "RdsDBInstance" | "AuroraDBClusterStorage" | "Idle"; export type RootVolume = boolean; export interface S3Destination { @@ -2802,14 +1932,5 @@ export declare namespace UpdateEnrollmentStatus { | CommonAwsError; } -export type ComputeOptimizerErrors = - | AccessDeniedException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | MissingAuthenticationToken - | OptInRequiredException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError; +export type ComputeOptimizerErrors = AccessDeniedException | InternalServerException | InvalidParameterValueException | LimitExceededException | MissingAuthenticationToken | OptInRequiredException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError; + diff --git a/src/services/config-service/index.ts b/src/services/config-service/index.ts index ef1759de..4e6c312a 100644 --- a/src/services/config-service/index.ts +++ b/src/services/config-service/index.ts @@ -5,25 +5,7 @@ import type { ConfigService as _ConfigServiceClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/config-service/types.ts b/src/services/config-service/types.ts index 55432856..35aa9e1a 100644 --- a/src/services/config-service/types.ts +++ b/src/services/config-service/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ConfigService extends AWSServiceClient { @@ -42,30 +8,26 @@ export declare class ConfigService extends AWSServiceClient { input: AssociateResourceTypesRequest, ): Effect.Effect< AssociateResourceTypesResponse, - | ConflictException - | NoSuchConfigurationRecorderException - | ValidationException - | CommonAwsError + ConflictException | NoSuchConfigurationRecorderException | ValidationException | CommonAwsError >; batchGetAggregateResourceConfig( input: BatchGetAggregateResourceConfigRequest, ): Effect.Effect< BatchGetAggregateResourceConfigResponse, - | NoSuchConfigurationAggregatorException - | ValidationException - | CommonAwsError + NoSuchConfigurationAggregatorException | ValidationException | CommonAwsError >; batchGetResourceConfig( input: BatchGetResourceConfigRequest, ): Effect.Effect< BatchGetResourceConfigResponse, - | NoAvailableConfigurationRecorderException - | ValidationException - | CommonAwsError + NoAvailableConfigurationRecorderException | ValidationException | CommonAwsError >; deleteAggregationAuthorization( input: DeleteAggregationAuthorizationRequest, - ): Effect.Effect<{}, InvalidParameterValueException | CommonAwsError>; + ): Effect.Effect< + {}, + InvalidParameterValueException | CommonAwsError + >; deleteConfigRule( input: DeleteConfigRuleRequest, ): Effect.Effect< @@ -74,14 +36,15 @@ export declare class ConfigService extends AWSServiceClient { >; deleteConfigurationAggregator( input: DeleteConfigurationAggregatorRequest, - ): Effect.Effect<{}, NoSuchConfigurationAggregatorException | CommonAwsError>; + ): Effect.Effect< + {}, + NoSuchConfigurationAggregatorException | CommonAwsError + >; deleteConfigurationRecorder( input: DeleteConfigurationRecorderRequest, ): Effect.Effect< {}, - | NoSuchConfigurationRecorderException - | UnmodifiableEntityException - | CommonAwsError + NoSuchConfigurationRecorderException | UnmodifiableEntityException | CommonAwsError >; deleteConformancePack( input: DeleteConformancePackRequest, @@ -93,9 +56,7 @@ export declare class ConfigService extends AWSServiceClient { input: DeleteDeliveryChannelRequest, ): Effect.Effect< {}, - | LastDeliveryChannelDeleteFailedException - | NoSuchDeliveryChannelException - | CommonAwsError + LastDeliveryChannelDeleteFailedException | NoSuchDeliveryChannelException | CommonAwsError >; deleteEvaluationResults( input: DeleteEvaluationResultsRequest, @@ -107,32 +68,25 @@ export declare class ConfigService extends AWSServiceClient { input: DeleteOrganizationConfigRuleRequest, ): Effect.Effect< {}, - | NoSuchOrganizationConfigRuleException - | OrganizationAccessDeniedException - | ResourceInUseException - | CommonAwsError + NoSuchOrganizationConfigRuleException | OrganizationAccessDeniedException | ResourceInUseException | CommonAwsError >; deleteOrganizationConformancePack( input: DeleteOrganizationConformancePackRequest, ): Effect.Effect< {}, - | NoSuchOrganizationConformancePackException - | OrganizationAccessDeniedException - | ResourceInUseException - | CommonAwsError + NoSuchOrganizationConformancePackException | OrganizationAccessDeniedException | ResourceInUseException | CommonAwsError >; deletePendingAggregationRequest( input: DeletePendingAggregationRequestRequest, - ): Effect.Effect<{}, InvalidParameterValueException | CommonAwsError>; + ): Effect.Effect< + {}, + InvalidParameterValueException | CommonAwsError + >; deleteRemediationConfiguration( input: DeleteRemediationConfigurationRequest, ): Effect.Effect< DeleteRemediationConfigurationResponse, - | InsufficientPermissionsException - | InvalidParameterValueException - | NoSuchRemediationConfigurationException - | RemediationInProgressException - | CommonAwsError + InsufficientPermissionsException | InvalidParameterValueException | NoSuchRemediationConfigurationException | RemediationInProgressException | CommonAwsError >; deleteRemediationExceptions( input: DeleteRemediationExceptionsRequest, @@ -144,26 +98,19 @@ export declare class ConfigService extends AWSServiceClient { input: DeleteResourceConfigRequest, ): Effect.Effect< {}, - | NoRunningConfigurationRecorderException - | ValidationException - | CommonAwsError + NoRunningConfigurationRecorderException | ValidationException | CommonAwsError >; deleteRetentionConfiguration( input: DeleteRetentionConfigurationRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | NoSuchRetentionConfigurationException - | CommonAwsError + InvalidParameterValueException | NoSuchRetentionConfigurationException | CommonAwsError >; deleteServiceLinkedConfigurationRecorder( input: DeleteServiceLinkedConfigurationRecorderRequest, ): Effect.Effect< DeleteServiceLinkedConfigurationRecorderResponse, - | ConflictException - | NoSuchConfigurationRecorderException - | ValidationException - | CommonAwsError + ConflictException | NoSuchConfigurationRecorderException | ValidationException | CommonAwsError >; deleteStoredQuery( input: DeleteStoredQueryRequest, @@ -175,48 +122,31 @@ export declare class ConfigService extends AWSServiceClient { input: DeliverConfigSnapshotRequest, ): Effect.Effect< DeliverConfigSnapshotResponse, - | NoAvailableConfigurationRecorderException - | NoRunningConfigurationRecorderException - | NoSuchDeliveryChannelException - | CommonAwsError + NoAvailableConfigurationRecorderException | NoRunningConfigurationRecorderException | NoSuchDeliveryChannelException | CommonAwsError >; describeAggregateComplianceByConfigRules( input: DescribeAggregateComplianceByConfigRulesRequest, ): Effect.Effect< DescribeAggregateComplianceByConfigRulesResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchConfigurationAggregatorException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchConfigurationAggregatorException | ValidationException | CommonAwsError >; describeAggregateComplianceByConformancePacks( input: DescribeAggregateComplianceByConformancePacksRequest, ): Effect.Effect< DescribeAggregateComplianceByConformancePacksResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchConfigurationAggregatorException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchConfigurationAggregatorException | ValidationException | CommonAwsError >; describeAggregationAuthorizations( input: DescribeAggregationAuthorizationsRequest, ): Effect.Effect< DescribeAggregationAuthorizationsResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | CommonAwsError >; describeComplianceByConfigRule( input: DescribeComplianceByConfigRuleRequest, ): Effect.Effect< DescribeComplianceByConfigRuleResponse, - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchConfigRuleException - | CommonAwsError + InvalidNextTokenException | InvalidParameterValueException | NoSuchConfigRuleException | CommonAwsError >; describeComplianceByResource( input: DescribeComplianceByResourceRequest, @@ -228,39 +158,25 @@ export declare class ConfigService extends AWSServiceClient { input: DescribeConfigRuleEvaluationStatusRequest, ): Effect.Effect< DescribeConfigRuleEvaluationStatusResponse, - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchConfigRuleException - | CommonAwsError + InvalidNextTokenException | InvalidParameterValueException | NoSuchConfigRuleException | CommonAwsError >; describeConfigRules( input: DescribeConfigRulesRequest, ): Effect.Effect< DescribeConfigRulesResponse, - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchConfigRuleException - | CommonAwsError + InvalidNextTokenException | InvalidParameterValueException | NoSuchConfigRuleException | CommonAwsError >; describeConfigurationAggregators( input: DescribeConfigurationAggregatorsRequest, ): Effect.Effect< DescribeConfigurationAggregatorsResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchConfigurationAggregatorException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | NoSuchConfigurationAggregatorException | CommonAwsError >; describeConfigurationAggregatorSourcesStatus( input: DescribeConfigurationAggregatorSourcesStatusRequest, ): Effect.Effect< DescribeConfigurationAggregatorSourcesStatusResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchConfigurationAggregatorException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | NoSuchConfigurationAggregatorException | CommonAwsError >; describeConfigurationRecorders( input: DescribeConfigurationRecordersRequest, @@ -278,31 +194,19 @@ export declare class ConfigService extends AWSServiceClient { input: DescribeConformancePackComplianceRequest, ): Effect.Effect< DescribeConformancePackComplianceResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchConfigRuleInConformancePackException - | NoSuchConformancePackException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | NoSuchConfigRuleInConformancePackException | NoSuchConformancePackException | CommonAwsError >; describeConformancePacks( input: DescribeConformancePacksRequest, ): Effect.Effect< DescribeConformancePacksResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchConformancePackException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | NoSuchConformancePackException | CommonAwsError >; describeConformancePackStatus( input: DescribeConformancePackStatusRequest, ): Effect.Effect< DescribeConformancePackStatusResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | CommonAwsError >; describeDeliveryChannels( input: DescribeDeliveryChannelsRequest, @@ -320,54 +224,38 @@ export declare class ConfigService extends AWSServiceClient { input: DescribeOrganizationConfigRulesRequest, ): Effect.Effect< DescribeOrganizationConfigRulesResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchOrganizationConfigRuleException - | OrganizationAccessDeniedException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchOrganizationConfigRuleException | OrganizationAccessDeniedException | CommonAwsError >; describeOrganizationConfigRuleStatuses( input: DescribeOrganizationConfigRuleStatusesRequest, ): Effect.Effect< DescribeOrganizationConfigRuleStatusesResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchOrganizationConfigRuleException - | OrganizationAccessDeniedException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchOrganizationConfigRuleException | OrganizationAccessDeniedException | CommonAwsError >; describeOrganizationConformancePacks( input: DescribeOrganizationConformancePacksRequest, ): Effect.Effect< DescribeOrganizationConformancePacksResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchOrganizationConformancePackException - | OrganizationAccessDeniedException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchOrganizationConformancePackException | OrganizationAccessDeniedException | CommonAwsError >; describeOrganizationConformancePackStatuses( input: DescribeOrganizationConformancePackStatusesRequest, ): Effect.Effect< DescribeOrganizationConformancePackStatusesResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchOrganizationConformancePackException - | OrganizationAccessDeniedException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchOrganizationConformancePackException | OrganizationAccessDeniedException | CommonAwsError >; describePendingAggregationRequests( input: DescribePendingAggregationRequestsRequest, ): Effect.Effect< DescribePendingAggregationRequestsResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | CommonAwsError >; describeRemediationConfigurations( input: DescribeRemediationConfigurationsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeRemediationConfigurationsResponse, + CommonAwsError + >; describeRemediationExceptions( input: DescribeRemediationExceptionsRequest, ): Effect.Effect< @@ -378,87 +266,55 @@ export declare class ConfigService extends AWSServiceClient { input: DescribeRemediationExecutionStatusRequest, ): Effect.Effect< DescribeRemediationExecutionStatusResponse, - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchRemediationConfigurationException - | CommonAwsError + InvalidNextTokenException | InvalidParameterValueException | NoSuchRemediationConfigurationException | CommonAwsError >; describeRetentionConfigurations( input: DescribeRetentionConfigurationsRequest, ): Effect.Effect< DescribeRetentionConfigurationsResponse, - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchRetentionConfigurationException - | CommonAwsError + InvalidNextTokenException | InvalidParameterValueException | NoSuchRetentionConfigurationException | CommonAwsError >; disassociateResourceTypes( input: DisassociateResourceTypesRequest, ): Effect.Effect< DisassociateResourceTypesResponse, - | ConflictException - | NoSuchConfigurationRecorderException - | ValidationException - | CommonAwsError + ConflictException | NoSuchConfigurationRecorderException | ValidationException | CommonAwsError >; getAggregateComplianceDetailsByConfigRule( input: GetAggregateComplianceDetailsByConfigRuleRequest, ): Effect.Effect< GetAggregateComplianceDetailsByConfigRuleResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchConfigurationAggregatorException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchConfigurationAggregatorException | ValidationException | CommonAwsError >; getAggregateConfigRuleComplianceSummary( input: GetAggregateConfigRuleComplianceSummaryRequest, ): Effect.Effect< GetAggregateConfigRuleComplianceSummaryResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchConfigurationAggregatorException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchConfigurationAggregatorException | ValidationException | CommonAwsError >; getAggregateConformancePackComplianceSummary( input: GetAggregateConformancePackComplianceSummaryRequest, ): Effect.Effect< GetAggregateConformancePackComplianceSummaryResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchConfigurationAggregatorException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchConfigurationAggregatorException | ValidationException | CommonAwsError >; getAggregateDiscoveredResourceCounts( input: GetAggregateDiscoveredResourceCountsRequest, ): Effect.Effect< GetAggregateDiscoveredResourceCountsResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchConfigurationAggregatorException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchConfigurationAggregatorException | ValidationException | CommonAwsError >; getAggregateResourceConfig( input: GetAggregateResourceConfigRequest, ): Effect.Effect< GetAggregateResourceConfigResponse, - | NoSuchConfigurationAggregatorException - | OversizedConfigurationItemException - | ResourceNotDiscoveredException - | ValidationException - | CommonAwsError + NoSuchConfigurationAggregatorException | OversizedConfigurationItemException | ResourceNotDiscoveredException | ValidationException | CommonAwsError >; getComplianceDetailsByConfigRule( input: GetComplianceDetailsByConfigRuleRequest, ): Effect.Effect< GetComplianceDetailsByConfigRuleResponse, - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchConfigRuleException - | CommonAwsError + InvalidNextTokenException | InvalidParameterValueException | NoSuchConfigRuleException | CommonAwsError >; getComplianceDetailsByResource( input: GetComplianceDetailsByResourceRequest, @@ -466,7 +322,9 @@ export declare class ConfigService extends AWSServiceClient { GetComplianceDetailsByResourceResponse, InvalidParameterValueException | CommonAwsError >; - getComplianceSummaryByConfigRule(input: {}): Effect.Effect< + getComplianceSummaryByConfigRule( + input: {}, + ): Effect.Effect< GetComplianceSummaryByConfigRuleResponse, CommonAwsError >; @@ -480,21 +338,13 @@ export declare class ConfigService extends AWSServiceClient { input: GetConformancePackComplianceDetailsRequest, ): Effect.Effect< GetConformancePackComplianceDetailsResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | NoSuchConfigRuleInConformancePackException - | NoSuchConformancePackException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | NoSuchConfigRuleInConformancePackException | NoSuchConformancePackException | CommonAwsError >; getConformancePackComplianceSummary( input: GetConformancePackComplianceSummaryRequest, ): Effect.Effect< GetConformancePackComplianceSummaryResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchConformancePackException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchConformancePackException | CommonAwsError >; getCustomRulePolicy( input: GetCustomRulePolicyRequest, @@ -506,50 +356,31 @@ export declare class ConfigService extends AWSServiceClient { input: GetDiscoveredResourceCountsRequest, ): Effect.Effect< GetDiscoveredResourceCountsResponse, - | InvalidLimitException - | InvalidNextTokenException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | ValidationException | CommonAwsError >; getOrganizationConfigRuleDetailedStatus( input: GetOrganizationConfigRuleDetailedStatusRequest, ): Effect.Effect< GetOrganizationConfigRuleDetailedStatusResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchOrganizationConfigRuleException - | OrganizationAccessDeniedException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchOrganizationConfigRuleException | OrganizationAccessDeniedException | CommonAwsError >; getOrganizationConformancePackDetailedStatus( input: GetOrganizationConformancePackDetailedStatusRequest, ): Effect.Effect< GetOrganizationConformancePackDetailedStatusResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchOrganizationConformancePackException - | OrganizationAccessDeniedException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchOrganizationConformancePackException | OrganizationAccessDeniedException | CommonAwsError >; getOrganizationCustomRulePolicy( input: GetOrganizationCustomRulePolicyRequest, ): Effect.Effect< GetOrganizationCustomRulePolicyResponse, - | NoSuchOrganizationConfigRuleException - | OrganizationAccessDeniedException - | CommonAwsError + NoSuchOrganizationConfigRuleException | OrganizationAccessDeniedException | CommonAwsError >; getResourceConfigHistory( input: GetResourceConfigHistoryRequest, ): Effect.Effect< GetResourceConfigHistoryResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidTimeRangeException - | NoAvailableConfigurationRecorderException - | ResourceNotDiscoveredException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidTimeRangeException | NoAvailableConfigurationRecorderException | ResourceNotDiscoveredException | ValidationException | CommonAwsError >; getResourceEvaluationSummary( input: GetResourceEvaluationSummaryRequest, @@ -567,11 +398,7 @@ export declare class ConfigService extends AWSServiceClient { input: ListAggregateDiscoveredResourcesRequest, ): Effect.Effect< ListAggregateDiscoveredResourcesResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoSuchConfigurationAggregatorException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoSuchConfigurationAggregatorException | ValidationException | CommonAwsError >; listConfigurationRecorders( input: ListConfigurationRecordersRequest, @@ -583,29 +410,19 @@ export declare class ConfigService extends AWSServiceClient { input: ListConformancePackComplianceScoresRequest, ): Effect.Effect< ListConformancePackComplianceScoresResponse, - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | CommonAwsError >; listDiscoveredResources( input: ListDiscoveredResourcesRequest, ): Effect.Effect< ListDiscoveredResourcesResponse, - | InvalidLimitException - | InvalidNextTokenException - | NoAvailableConfigurationRecorderException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | NoAvailableConfigurationRecorderException | ValidationException | CommonAwsError >; listResourceEvaluations( input: ListResourceEvaluationsRequest, ): Effect.Effect< ListResourceEvaluationsResponse, - | InvalidNextTokenException - | InvalidParameterValueException - | InvalidTimeRangeException - | CommonAwsError + InvalidNextTokenException | InvalidParameterValueException | InvalidTimeRangeException | CommonAwsError >; listStoredQueries( input: ListStoredQueriesRequest, @@ -617,11 +434,7 @@ export declare class ConfigService extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidLimitException - | InvalidNextTokenException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InvalidLimitException | InvalidNextTokenException | ResourceNotFoundException | ValidationException | CommonAwsError >; putAggregationAuthorization( input: PutAggregationAuthorizationRequest, @@ -633,70 +446,37 @@ export declare class ConfigService extends AWSServiceClient { input: PutConfigRuleRequest, ): Effect.Effect< {}, - | InsufficientPermissionsException - | InvalidParameterValueException - | MaxNumberOfConfigRulesExceededException - | NoAvailableConfigurationRecorderException - | ResourceInUseException - | CommonAwsError + InsufficientPermissionsException | InvalidParameterValueException | MaxNumberOfConfigRulesExceededException | NoAvailableConfigurationRecorderException | ResourceInUseException | CommonAwsError >; putConfigurationAggregator( input: PutConfigurationAggregatorRequest, ): Effect.Effect< PutConfigurationAggregatorResponse, - | InvalidParameterValueException - | InvalidRoleException - | LimitExceededException - | NoAvailableOrganizationException - | OrganizationAccessDeniedException - | OrganizationAllFeaturesNotEnabledException - | CommonAwsError + InvalidParameterValueException | InvalidRoleException | LimitExceededException | NoAvailableOrganizationException | OrganizationAccessDeniedException | OrganizationAllFeaturesNotEnabledException | CommonAwsError >; putConfigurationRecorder( input: PutConfigurationRecorderRequest, ): Effect.Effect< {}, - | InvalidConfigurationRecorderNameException - | InvalidRecordingGroupException - | InvalidRoleException - | MaxNumberOfConfigurationRecordersExceededException - | UnmodifiableEntityException - | ValidationException - | CommonAwsError + InvalidConfigurationRecorderNameException | InvalidRecordingGroupException | InvalidRoleException | MaxNumberOfConfigurationRecordersExceededException | UnmodifiableEntityException | ValidationException | CommonAwsError >; putConformancePack( input: PutConformancePackRequest, ): Effect.Effect< PutConformancePackResponse, - | ConformancePackTemplateValidationException - | InsufficientPermissionsException - | InvalidParameterValueException - | MaxNumberOfConformancePacksExceededException - | ResourceInUseException - | CommonAwsError + ConformancePackTemplateValidationException | InsufficientPermissionsException | InvalidParameterValueException | MaxNumberOfConformancePacksExceededException | ResourceInUseException | CommonAwsError >; putDeliveryChannel( input: PutDeliveryChannelRequest, ): Effect.Effect< {}, - | InsufficientDeliveryPolicyException - | InvalidDeliveryChannelNameException - | InvalidS3KeyPrefixException - | InvalidS3KmsKeyArnException - | InvalidSNSTopicARNException - | MaxNumberOfDeliveryChannelsExceededException - | NoAvailableConfigurationRecorderException - | NoSuchBucketException - | CommonAwsError + InsufficientDeliveryPolicyException | InvalidDeliveryChannelNameException | InvalidS3KeyPrefixException | InvalidS3KmsKeyArnException | InvalidSNSTopicARNException | MaxNumberOfDeliveryChannelsExceededException | NoAvailableConfigurationRecorderException | NoSuchBucketException | CommonAwsError >; putEvaluations( input: PutEvaluationsRequest, ): Effect.Effect< PutEvaluationsResponse, - | InvalidParameterValueException - | InvalidResultTokenException - | NoSuchConfigRuleException - | CommonAwsError + InvalidParameterValueException | InvalidResultTokenException | NoSuchConfigRuleException | CommonAwsError >; putExternalEvaluation( input: PutExternalEvaluationRequest, @@ -708,154 +488,97 @@ export declare class ConfigService extends AWSServiceClient { input: PutOrganizationConfigRuleRequest, ): Effect.Effect< PutOrganizationConfigRuleResponse, - | InsufficientPermissionsException - | InvalidParameterValueException - | MaxNumberOfOrganizationConfigRulesExceededException - | NoAvailableOrganizationException - | OrganizationAccessDeniedException - | OrganizationAllFeaturesNotEnabledException - | ResourceInUseException - | ValidationException - | CommonAwsError + InsufficientPermissionsException | InvalidParameterValueException | MaxNumberOfOrganizationConfigRulesExceededException | NoAvailableOrganizationException | OrganizationAccessDeniedException | OrganizationAllFeaturesNotEnabledException | ResourceInUseException | ValidationException | CommonAwsError >; putOrganizationConformancePack( input: PutOrganizationConformancePackRequest, ): Effect.Effect< PutOrganizationConformancePackResponse, - | InsufficientPermissionsException - | MaxNumberOfOrganizationConformancePacksExceededException - | NoAvailableOrganizationException - | OrganizationAccessDeniedException - | OrganizationAllFeaturesNotEnabledException - | OrganizationConformancePackTemplateValidationException - | ResourceInUseException - | ValidationException - | CommonAwsError + InsufficientPermissionsException | MaxNumberOfOrganizationConformancePacksExceededException | NoAvailableOrganizationException | OrganizationAccessDeniedException | OrganizationAllFeaturesNotEnabledException | OrganizationConformancePackTemplateValidationException | ResourceInUseException | ValidationException | CommonAwsError >; putRemediationConfigurations( input: PutRemediationConfigurationsRequest, ): Effect.Effect< PutRemediationConfigurationsResponse, - | InsufficientPermissionsException - | InvalidParameterValueException - | CommonAwsError + InsufficientPermissionsException | InvalidParameterValueException | CommonAwsError >; putRemediationExceptions( input: PutRemediationExceptionsRequest, ): Effect.Effect< PutRemediationExceptionsResponse, - | InsufficientPermissionsException - | InvalidParameterValueException - | CommonAwsError + InsufficientPermissionsException | InvalidParameterValueException | CommonAwsError >; putResourceConfig( input: PutResourceConfigRequest, ): Effect.Effect< {}, - | InsufficientPermissionsException - | MaxActiveResourcesExceededException - | NoRunningConfigurationRecorderException - | ValidationException - | CommonAwsError + InsufficientPermissionsException | MaxActiveResourcesExceededException | NoRunningConfigurationRecorderException | ValidationException | CommonAwsError >; putRetentionConfiguration( input: PutRetentionConfigurationRequest, ): Effect.Effect< PutRetentionConfigurationResponse, - | InvalidParameterValueException - | MaxNumberOfRetentionConfigurationsExceededException - | CommonAwsError + InvalidParameterValueException | MaxNumberOfRetentionConfigurationsExceededException | CommonAwsError >; putServiceLinkedConfigurationRecorder( input: PutServiceLinkedConfigurationRecorderRequest, ): Effect.Effect< PutServiceLinkedConfigurationRecorderResponse, - | ConflictException - | InsufficientPermissionsException - | LimitExceededException - | ValidationException - | CommonAwsError + ConflictException | InsufficientPermissionsException | LimitExceededException | ValidationException | CommonAwsError >; putStoredQuery( input: PutStoredQueryRequest, ): Effect.Effect< PutStoredQueryResponse, - | ResourceConcurrentModificationException - | TooManyTagsException - | ValidationException - | CommonAwsError + ResourceConcurrentModificationException | TooManyTagsException | ValidationException | CommonAwsError >; selectAggregateResourceConfig( input: SelectAggregateResourceConfigRequest, ): Effect.Effect< SelectAggregateResourceConfigResponse, - | InvalidExpressionException - | InvalidLimitException - | InvalidNextTokenException - | NoSuchConfigurationAggregatorException - | CommonAwsError + InvalidExpressionException | InvalidLimitException | InvalidNextTokenException | NoSuchConfigurationAggregatorException | CommonAwsError >; selectResourceConfig( input: SelectResourceConfigRequest, ): Effect.Effect< SelectResourceConfigResponse, - | InvalidExpressionException - | InvalidLimitException - | InvalidNextTokenException - | CommonAwsError + InvalidExpressionException | InvalidLimitException | InvalidNextTokenException | CommonAwsError >; startConfigRulesEvaluation( input: StartConfigRulesEvaluationRequest, ): Effect.Effect< StartConfigRulesEvaluationResponse, - | InvalidParameterValueException - | LimitExceededException - | NoSuchConfigRuleException - | ResourceInUseException - | CommonAwsError + InvalidParameterValueException | LimitExceededException | NoSuchConfigRuleException | ResourceInUseException | CommonAwsError >; startConfigurationRecorder( input: StartConfigurationRecorderRequest, ): Effect.Effect< {}, - | NoAvailableDeliveryChannelException - | NoSuchConfigurationRecorderException - | UnmodifiableEntityException - | CommonAwsError + NoAvailableDeliveryChannelException | NoSuchConfigurationRecorderException | UnmodifiableEntityException | CommonAwsError >; startRemediationExecution( input: StartRemediationExecutionRequest, ): Effect.Effect< StartRemediationExecutionResponse, - | InsufficientPermissionsException - | InvalidParameterValueException - | NoSuchRemediationConfigurationException - | CommonAwsError + InsufficientPermissionsException | InvalidParameterValueException | NoSuchRemediationConfigurationException | CommonAwsError >; startResourceEvaluation( input: StartResourceEvaluationRequest, ): Effect.Effect< StartResourceEvaluationResponse, - | IdempotentParameterMismatch - | InvalidParameterValueException - | CommonAwsError + IdempotentParameterMismatch | InvalidParameterValueException | CommonAwsError >; stopConfigurationRecorder( input: StopConfigurationRecorderRequest, ): Effect.Effect< {}, - | NoSuchConfigurationRecorderException - | UnmodifiableEntityException - | CommonAwsError + NoSuchConfigurationRecorderException | UnmodifiableEntityException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError + ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -880,16 +603,14 @@ export interface AggregateComplianceByConfigRule { AccountId?: string; AwsRegion?: string; } -export type AggregateComplianceByConfigRuleList = - Array; +export type AggregateComplianceByConfigRuleList = Array; export interface AggregateComplianceByConformancePack { ConformancePackName?: string; Compliance?: AggregateConformancePackCompliance; AccountId?: string; AwsRegion?: string; } -export type AggregateComplianceByConformancePackList = - Array; +export type AggregateComplianceByConformancePackList = Array; export interface AggregateComplianceCount { GroupName?: string; ComplianceSummary?: ComplianceSummary; @@ -919,11 +640,8 @@ export interface AggregateConformancePackComplianceSummaryFilters { AccountId?: string; AwsRegion?: string; } -export type AggregateConformancePackComplianceSummaryGroupKey = - | "ACCOUNT_ID" - | "AWS_REGION"; -export type AggregateConformancePackComplianceSummaryList = - Array; +export type AggregateConformancePackComplianceSummaryGroupKey = "ACCOUNT_ID" | "AWS_REGION"; +export type AggregateConformancePackComplianceSummaryList = Array; export interface AggregatedSourceStatus { SourceId?: string; SourceType?: AggregatedSourceType; @@ -1063,8 +781,7 @@ export interface ComplianceContributorCount { export type ComplianceResourceTypes = Array; export type ComplianceScore = string; -export type ComplianceSummariesByResourceType = - Array; +export type ComplianceSummariesByResourceType = Array; export interface ComplianceSummary { CompliantResourceCount?: ComplianceContributorCount; NonCompliantResourceCount?: ComplianceContributorCount; @@ -1074,11 +791,7 @@ export interface ComplianceSummaryByResourceType { ResourceType?: string; ComplianceSummary?: ComplianceSummary; } -export type ComplianceType = - | "COMPLIANT" - | "NON_COMPLIANT" - | "NOT_APPLICABLE" - | "INSUFFICIENT_DATA"; +export type ComplianceType = "COMPLIANT" | "NON_COMPLIANT" | "NOT_APPLICABLE" | "INSUFFICIENT_DATA"; export type ComplianceTypes = Array; export interface ConfigExportDeliveryInfo { lastStatus?: DeliveryStatus; @@ -1134,11 +847,7 @@ export type ConfigRuleName = string; export type ConfigRuleNames = Array; export type ConfigRules = Array; -export type ConfigRuleState = - | "ACTIVE" - | "DELETING" - | "DELETING_RESULTS" - | "EVALUATING"; +export type ConfigRuleState = "ACTIVE" | "DELETING" | "DELETING_RESULTS" | "EVALUATING"; export interface ConfigSnapshotDeliveryProperties { deliveryFrequency?: MaximumExecutionFrequency; } @@ -1195,12 +904,7 @@ export type ConfigurationItemDeliveryTime = Date | string; export type ConfigurationItemList = Array; export type ConfigurationItemMD5Hash = string; -export type ConfigurationItemStatus = - | "OK" - | "ResourceDiscovered" - | "ResourceNotRecorded" - | "ResourceDeleted" - | "ResourceDeletedNotRecorded"; +export type ConfigurationItemStatus = "OK" | "ResourceDiscovered" | "ResourceNotRecorded" | "ResourceDeleted" | "ResourceDeletedNotRecorded"; export interface ConfigurationRecorder { arn?: string; name?: string; @@ -1214,8 +918,7 @@ export interface ConfigurationRecorderFilter { filterName?: ConfigurationRecorderFilterName; filterValue?: Array; } -export type ConfigurationRecorderFilterList = - Array; +export type ConfigurationRecorderFilterList = Array; export type ConfigurationRecorderFilterName = "recordingScope"; export type ConfigurationRecorderFilterValue = string; @@ -1234,10 +937,8 @@ export interface ConfigurationRecorderStatus { lastStatusChangeTime?: Date | string; servicePrincipal?: string; } -export type ConfigurationRecorderStatusList = - Array; -export type ConfigurationRecorderSummaries = - Array; +export type ConfigurationRecorderStatusList = Array; +export type ConfigurationRecorderSummaries = Array; export interface ConfigurationRecorderSummary { arn: string; name: string; @@ -1263,8 +964,7 @@ export interface ConformancePackComplianceScore { ConformancePackName?: string; LastUpdatedTime?: Date | string; } -export type ConformancePackComplianceScores = - Array; +export type ConformancePackComplianceScores = Array; export interface ConformancePackComplianceScoresFilters { ConformancePackNames: Array; } @@ -1272,12 +972,8 @@ export interface ConformancePackComplianceSummary { ConformancePackName: string; ConformancePackComplianceStatus: ConformancePackComplianceType; } -export type ConformancePackComplianceSummaryList = - Array; -export type ConformancePackComplianceType = - | "COMPLIANT" - | "NON_COMPLIANT" - | "INSUFFICIENT_DATA"; +export type ConformancePackComplianceSummaryList = Array; +export type ConformancePackComplianceType = "COMPLIANT" | "NON_COMPLIANT" | "INSUFFICIENT_DATA"; export type ConformancePackConfigRuleNames = Array; export interface ConformancePackDetail { ConformancePackName: string; @@ -1310,8 +1006,7 @@ export interface ConformancePackInputParameter { ParameterName: string; ParameterValue: string; } -export type ConformancePackInputParameters = - Array; +export type ConformancePackInputParameters = Array; export type ConformancePackName = string; export type ConformancePackNameFilter = Array; @@ -1322,16 +1017,9 @@ export interface ConformancePackRuleCompliance { ComplianceType?: ConformancePackComplianceType; Controls?: Array; } -export type ConformancePackRuleComplianceList = - Array; -export type ConformancePackRuleEvaluationResultsList = - Array; -export type ConformancePackState = - | "CREATE_IN_PROGRESS" - | "CREATE_COMPLETE" - | "CREATE_FAILED" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED"; +export type ConformancePackRuleComplianceList = Array; +export type ConformancePackRuleEvaluationResultsList = Array; +export type ConformancePackState = "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED"; export interface ConformancePackStatusDetail { ConformancePackName: string; ConformancePackId: string; @@ -1342,8 +1030,7 @@ export interface ConformancePackStatusDetail { LastUpdateRequestedTime: Date | string; LastUpdateCompletedTime?: Date | string; } -export type ConformancePackStatusDetailsList = - Array; +export type ConformancePackStatusDetailsList = Array; export type ConformancePackStatusReason = string; export declare class ConformancePackTemplateValidationException extends EffectData.TaggedError( @@ -1384,7 +1071,8 @@ export interface DeleteDeliveryChannelRequest { export interface DeleteEvaluationResultsRequest { ConfigRuleName: string; } -export interface DeleteEvaluationResultsResponse {} +export interface DeleteEvaluationResultsResponse { +} export interface DeleteOrganizationConfigRuleRequest { OrganizationConfigRuleName: string; } @@ -1399,7 +1087,8 @@ export interface DeleteRemediationConfigurationRequest { ConfigRuleName: string; ResourceType?: string; } -export interface DeleteRemediationConfigurationResponse {} +export interface DeleteRemediationConfigurationResponse { +} export interface DeleteRemediationExceptionsRequest { ConfigRuleName: string; ResourceKeys: Array; @@ -1424,7 +1113,8 @@ export interface DeleteServiceLinkedConfigurationRecorderResponse { export interface DeleteStoredQueryRequest { QueryName: string; } -export interface DeleteStoredQueryResponse {} +export interface DeleteStoredQueryResponse { +} export interface DeliverConfigSnapshotRequest { deliveryChannelName: string; } @@ -1689,8 +1379,7 @@ export interface DisassociateResourceTypesRequest { export interface DisassociateResourceTypesResponse { ConfigurationRecorder: ConfigurationRecorder; } -export type DiscoveredResourceIdentifierList = - Array; +export type DiscoveredResourceIdentifierList = Array; export type EarlierTime = Date | string; export type EmptiableStringWithCharLimit256 = string; @@ -1762,8 +1451,7 @@ export interface FailedDeleteRemediationExceptionsBatch { FailureMessage?: string; FailedItems?: Array; } -export type FailedDeleteRemediationExceptionsBatches = - Array; +export type FailedDeleteRemediationExceptionsBatches = Array; export interface FailedRemediationBatch { FailureMessage?: string; FailedItems?: Array; @@ -1773,8 +1461,7 @@ export interface FailedRemediationExceptionBatch { FailureMessage?: string; FailedItems?: Array; } -export type FailedRemediationExceptionBatches = - Array; +export type FailedRemediationExceptionBatches = Array; export interface FieldInfo { Name?: string; } @@ -2148,12 +1835,7 @@ export declare class MaxActiveResourcesExceededException extends EffectData.Tagg )<{ readonly message?: string; }> {} -export type MaximumExecutionFrequency = - | "One_Hour" - | "Three_Hours" - | "Six_Hours" - | "Twelve_Hours" - | "TwentyFour_Hours"; +export type MaximumExecutionFrequency = "One_Hour" | "Three_Hours" | "Six_Hours" | "Twelve_Hours" | "TwentyFour_Hours"; export declare class MaxNumberOfConfigRulesExceededException extends EffectData.TaggedError( "MaxNumberOfConfigRulesExceededException", )<{ @@ -2191,16 +1873,7 @@ export declare class MaxNumberOfRetentionConfigurationsExceededException extends }> {} export type MaxResults = number; -export type MemberAccountRuleStatus = - | "CREATE_SUCCESSFUL" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "DELETE_SUCCESSFUL" - | "DELETE_FAILED" - | "DELETE_IN_PROGRESS" - | "UPDATE_SUCCESSFUL" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED"; +export type MemberAccountRuleStatus = "CREATE_SUCCESSFUL" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_SUCCESSFUL" | "DELETE_FAILED" | "DELETE_IN_PROGRESS" | "UPDATE_SUCCESSFUL" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED"; export interface MemberAccountStatus { AccountId: string; ConfigRuleName: string; @@ -2209,11 +1882,7 @@ export interface MemberAccountStatus { ErrorMessage?: string; LastUpdateTime?: Date | string; } -export type MessageType = - | "ConfigurationItemChangeNotification" - | "ConfigurationSnapshotDeliveryCompleted" - | "ScheduledNotification" - | "OversizedConfigurationItemChangeNotification"; +export type MessageType = "ConfigurationItemChangeNotification" | "ConfigurationSnapshotDeliveryCompleted" | "ScheduledNotification" | "OversizedConfigurationItemChangeNotification"; export type Name = string; export type NextToken = string; @@ -2336,19 +2005,11 @@ export interface OrganizationConfigRuleStatus { ErrorMessage?: string; LastUpdateTime?: Date | string; } -export type OrganizationConfigRuleStatuses = - Array; -export type OrganizationConfigRuleTriggerType = - | "ConfigurationItemChangeNotification" - | "OversizedConfigurationItemChangeNotification" - | "ScheduledNotification"; -export type OrganizationConfigRuleTriggerTypeNoSN = - | "ConfigurationItemChangeNotification" - | "OversizedConfigurationItemChangeNotification"; -export type OrganizationConfigRuleTriggerTypeNoSNs = - Array; -export type OrganizationConfigRuleTriggerTypes = - Array; +export type OrganizationConfigRuleStatuses = Array; +export type OrganizationConfigRuleTriggerType = "ConfigurationItemChangeNotification" | "OversizedConfigurationItemChangeNotification" | "ScheduledNotification"; +export type OrganizationConfigRuleTriggerTypeNoSN = "ConfigurationItemChangeNotification" | "OversizedConfigurationItemChangeNotification"; +export type OrganizationConfigRuleTriggerTypeNoSNs = Array; +export type OrganizationConfigRuleTriggerTypes = Array; export interface OrganizationConformancePack { OrganizationConformancePackName: string; OrganizationConformancePackArn: string; @@ -2366,8 +2027,7 @@ export interface OrganizationConformancePackDetailedStatus { ErrorMessage?: string; LastUpdateTime?: Date | string; } -export type OrganizationConformancePackDetailedStatuses = - Array; +export type OrganizationConformancePackDetailedStatuses = Array; export type OrganizationConformancePackName = string; export type OrganizationConformancePackNames = Array; @@ -2379,8 +2039,7 @@ export interface OrganizationConformancePackStatus { ErrorMessage?: string; LastUpdateTime?: Date | string; } -export type OrganizationConformancePackStatuses = - Array; +export type OrganizationConformancePackStatuses = Array; export declare class OrganizationConformancePackTemplateValidationException extends EffectData.TaggedError( "OrganizationConformancePackTemplateValidationException", )<{ @@ -2432,40 +2091,13 @@ export interface OrganizationManagedRuleMetadata { TagKeyScope?: string; TagValueScope?: string; } -export type OrganizationResourceDetailedStatus = - | "CREATE_SUCCESSFUL" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "DELETE_SUCCESSFUL" - | "DELETE_FAILED" - | "DELETE_IN_PROGRESS" - | "UPDATE_SUCCESSFUL" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED"; +export type OrganizationResourceDetailedStatus = "CREATE_SUCCESSFUL" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_SUCCESSFUL" | "DELETE_FAILED" | "DELETE_IN_PROGRESS" | "UPDATE_SUCCESSFUL" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED"; export interface OrganizationResourceDetailedStatusFilters { AccountId?: string; Status?: OrganizationResourceDetailedStatus; } -export type OrganizationResourceStatus = - | "CREATE_SUCCESSFUL" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "DELETE_SUCCESSFUL" - | "DELETE_FAILED" - | "DELETE_IN_PROGRESS" - | "UPDATE_SUCCESSFUL" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED"; -export type OrganizationRuleStatus = - | "CREATE_SUCCESSFUL" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "DELETE_SUCCESSFUL" - | "DELETE_FAILED" - | "DELETE_IN_PROGRESS" - | "UPDATE_SUCCESSFUL" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED"; +export type OrganizationResourceStatus = "CREATE_SUCCESSFUL" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_SUCCESSFUL" | "DELETE_FAILED" | "DELETE_IN_PROGRESS" | "UPDATE_SUCCESSFUL" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED"; +export type OrganizationRuleStatus = "CREATE_SUCCESSFUL" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_SUCCESSFUL" | "DELETE_FAILED" | "DELETE_IN_PROGRESS" | "UPDATE_SUCCESSFUL" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED"; export declare class OversizedConfigurationItemException extends EffectData.TaggedError( "OversizedConfigurationItemException", )<{ @@ -2542,7 +2174,8 @@ export interface PutExternalEvaluationRequest { ConfigRuleName: string; ExternalEvaluation: ExternalEvaluation; } -export interface PutExternalEvaluationResponse {} +export interface PutExternalEvaluationResponse { +} export interface PutOrganizationConfigRuleRequest { OrganizationConfigRuleName: string; OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata; @@ -2624,11 +2257,7 @@ export type QueryName = string; export type RecorderName = string; -export type RecorderStatus = - | "Pending" - | "Success" - | "Failure" - | "NotApplicable"; +export type RecorderStatus = "Pending" | "Success" | "Failure" | "NotApplicable"; export type RecordingFrequency = "CONTINUOUS" | "DAILY"; export interface RecordingGroup { allSupported?: boolean; @@ -2652,10 +2281,7 @@ export type RecordingScope = "INTERNAL" | "PAID"; export interface RecordingStrategy { useOnly?: RecordingStrategyType; } -export type RecordingStrategyType = - | "ALL_SUPPORTED_RESOURCE_TYPES" - | "INCLUSION_BY_RESOURCE_TYPES" - | "EXCLUSION_BY_RESOURCE_TYPES"; +export type RecordingStrategyType = "ALL_SUPPORTED_RESOURCE_TYPES" | "INCLUSION_BY_RESOURCE_TYPES" | "EXCLUSION_BY_RESOURCE_TYPES"; export type ReevaluateConfigRuleNames = Array; export type RelatedEvent = string; @@ -2695,15 +2321,9 @@ export interface RemediationExceptionResourceKey { ResourceType?: string; ResourceId?: string; } -export type RemediationExceptionResourceKeys = - Array; +export type RemediationExceptionResourceKeys = Array; export type RemediationExceptions = Array; -export type RemediationExecutionState = - | "QUEUED" - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED" - | "UNKNOWN"; +export type RemediationExecutionState = "QUEUED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "UNKNOWN"; export interface RemediationExecutionStatus { ResourceKey?: ResourceKey; State?: RemediationExecutionState; @@ -2720,13 +2340,7 @@ export interface RemediationExecutionStep { StopTime?: Date | string; } export type RemediationExecutionSteps = Array; -export type RemediationExecutionStepState = - | "SUCCEEDED" - | "PENDING" - | "FAILED" - | "IN_PROGRESS" - | "EXITED" - | "UNKNOWN"; +export type RemediationExecutionStepState = "SUCCEEDED" | "PENDING" | "FAILED" | "IN_PROGRESS" | "EXITED" | "UNKNOWN"; export declare class RemediationInProgressException extends EffectData.TaggedError( "RemediationInProgressException", )<{ @@ -2755,10 +2369,7 @@ export interface ResourceCountFilters { AccountId?: string; Region?: string; } -export type ResourceCountGroupKey = - | "RESOURCE_TYPE" - | "ACCOUNT_ID" - | "AWS_REGION"; +export type ResourceCountGroupKey = "RESOURCE_TYPE" | "ACCOUNT_ID" | "AWS_REGION"; export type ResourceCounts = Array; export type ResourceCreationTime = Date | string; @@ -2823,449 +2434,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type ResourceType = - | "AWS::EC2::CustomerGateway" - | "AWS::EC2::EIP" - | "AWS::EC2::Host" - | "AWS::EC2::Instance" - | "AWS::EC2::InternetGateway" - | "AWS::EC2::NetworkAcl" - | "AWS::EC2::NetworkInterface" - | "AWS::EC2::RouteTable" - | "AWS::EC2::SecurityGroup" - | "AWS::EC2::Subnet" - | "AWS::CloudTrail::Trail" - | "AWS::EC2::Volume" - | "AWS::EC2::VPC" - | "AWS::EC2::VPNConnection" - | "AWS::EC2::VPNGateway" - | "AWS::EC2::RegisteredHAInstance" - | "AWS::EC2::NatGateway" - | "AWS::EC2::EgressOnlyInternetGateway" - | "AWS::EC2::VPCEndpoint" - | "AWS::EC2::VPCEndpointService" - | "AWS::EC2::FlowLog" - | "AWS::EC2::VPCPeeringConnection" - | "AWS::Elasticsearch::Domain" - | "AWS::IAM::Group" - | "AWS::IAM::Policy" - | "AWS::IAM::Role" - | "AWS::IAM::User" - | "AWS::ElasticLoadBalancingV2::LoadBalancer" - | "AWS::ACM::Certificate" - | "AWS::RDS::DBInstance" - | "AWS::RDS::DBSubnetGroup" - | "AWS::RDS::DBSecurityGroup" - | "AWS::RDS::DBSnapshot" - | "AWS::RDS::DBCluster" - | "AWS::RDS::DBClusterSnapshot" - | "AWS::RDS::EventSubscription" - | "AWS::S3::Bucket" - | "AWS::S3::AccountPublicAccessBlock" - | "AWS::Redshift::Cluster" - | "AWS::Redshift::ClusterSnapshot" - | "AWS::Redshift::ClusterParameterGroup" - | "AWS::Redshift::ClusterSecurityGroup" - | "AWS::Redshift::ClusterSubnetGroup" - | "AWS::Redshift::EventSubscription" - | "AWS::SSM::ManagedInstanceInventory" - | "AWS::CloudWatch::Alarm" - | "AWS::CloudFormation::Stack" - | "AWS::ElasticLoadBalancing::LoadBalancer" - | "AWS::AutoScaling::AutoScalingGroup" - | "AWS::AutoScaling::LaunchConfiguration" - | "AWS::AutoScaling::ScalingPolicy" - | "AWS::AutoScaling::ScheduledAction" - | "AWS::DynamoDB::Table" - | "AWS::CodeBuild::Project" - | "AWS::WAF::RateBasedRule" - | "AWS::WAF::Rule" - | "AWS::WAF::RuleGroup" - | "AWS::WAF::WebACL" - | "AWS::WAFRegional::RateBasedRule" - | "AWS::WAFRegional::Rule" - | "AWS::WAFRegional::RuleGroup" - | "AWS::WAFRegional::WebACL" - | "AWS::CloudFront::Distribution" - | "AWS::CloudFront::StreamingDistribution" - | "AWS::Lambda::Function" - | "AWS::NetworkFirewall::Firewall" - | "AWS::NetworkFirewall::FirewallPolicy" - | "AWS::NetworkFirewall::RuleGroup" - | "AWS::ElasticBeanstalk::Application" - | "AWS::ElasticBeanstalk::ApplicationVersion" - | "AWS::ElasticBeanstalk::Environment" - | "AWS::WAFv2::WebACL" - | "AWS::WAFv2::RuleGroup" - | "AWS::WAFv2::IPSet" - | "AWS::WAFv2::RegexPatternSet" - | "AWS::WAFv2::ManagedRuleSet" - | "AWS::XRay::EncryptionConfig" - | "AWS::SSM::AssociationCompliance" - | "AWS::SSM::PatchCompliance" - | "AWS::Shield::Protection" - | "AWS::ShieldRegional::Protection" - | "AWS::Config::ConformancePackCompliance" - | "AWS::Config::ResourceCompliance" - | "AWS::ApiGateway::Stage" - | "AWS::ApiGateway::RestApi" - | "AWS::ApiGatewayV2::Stage" - | "AWS::ApiGatewayV2::Api" - | "AWS::CodePipeline::Pipeline" - | "AWS::ServiceCatalog::CloudFormationProvisionedProduct" - | "AWS::ServiceCatalog::CloudFormationProduct" - | "AWS::ServiceCatalog::Portfolio" - | "AWS::SQS::Queue" - | "AWS::KMS::Key" - | "AWS::QLDB::Ledger" - | "AWS::SecretsManager::Secret" - | "AWS::SNS::Topic" - | "AWS::SSM::FileData" - | "AWS::Backup::BackupPlan" - | "AWS::Backup::BackupSelection" - | "AWS::Backup::BackupVault" - | "AWS::Backup::RecoveryPoint" - | "AWS::ECR::Repository" - | "AWS::ECS::Cluster" - | "AWS::ECS::Service" - | "AWS::ECS::TaskDefinition" - | "AWS::EFS::AccessPoint" - | "AWS::EFS::FileSystem" - | "AWS::EKS::Cluster" - | "AWS::OpenSearch::Domain" - | "AWS::EC2::TransitGateway" - | "AWS::Kinesis::Stream" - | "AWS::Kinesis::StreamConsumer" - | "AWS::CodeDeploy::Application" - | "AWS::CodeDeploy::DeploymentConfig" - | "AWS::CodeDeploy::DeploymentGroup" - | "AWS::EC2::LaunchTemplate" - | "AWS::ECR::PublicRepository" - | "AWS::GuardDuty::Detector" - | "AWS::EMR::SecurityConfiguration" - | "AWS::SageMaker::CodeRepository" - | "AWS::Route53Resolver::ResolverEndpoint" - | "AWS::Route53Resolver::ResolverRule" - | "AWS::Route53Resolver::ResolverRuleAssociation" - | "AWS::DMS::ReplicationSubnetGroup" - | "AWS::DMS::EventSubscription" - | "AWS::MSK::Cluster" - | "AWS::StepFunctions::Activity" - | "AWS::WorkSpaces::Workspace" - | "AWS::WorkSpaces::ConnectionAlias" - | "AWS::SageMaker::Model" - | "AWS::ElasticLoadBalancingV2::Listener" - | "AWS::StepFunctions::StateMachine" - | "AWS::Batch::JobQueue" - | "AWS::Batch::ComputeEnvironment" - | "AWS::AccessAnalyzer::Analyzer" - | "AWS::Athena::WorkGroup" - | "AWS::Athena::DataCatalog" - | "AWS::Detective::Graph" - | "AWS::GlobalAccelerator::Accelerator" - | "AWS::GlobalAccelerator::EndpointGroup" - | "AWS::GlobalAccelerator::Listener" - | "AWS::EC2::TransitGatewayAttachment" - | "AWS::EC2::TransitGatewayRouteTable" - | "AWS::DMS::Certificate" - | "AWS::AppConfig::Application" - | "AWS::AppSync::GraphQLApi" - | "AWS::DataSync::LocationSMB" - | "AWS::DataSync::LocationFSxLustre" - | "AWS::DataSync::LocationS3" - | "AWS::DataSync::LocationEFS" - | "AWS::DataSync::Task" - | "AWS::DataSync::LocationNFS" - | "AWS::EC2::NetworkInsightsAccessScopeAnalysis" - | "AWS::EKS::FargateProfile" - | "AWS::Glue::Job" - | "AWS::GuardDuty::ThreatIntelSet" - | "AWS::GuardDuty::IPSet" - | "AWS::SageMaker::Workteam" - | "AWS::SageMaker::NotebookInstanceLifecycleConfig" - | "AWS::ServiceDiscovery::Service" - | "AWS::ServiceDiscovery::PublicDnsNamespace" - | "AWS::SES::ContactList" - | "AWS::SES::ConfigurationSet" - | "AWS::Route53::HostedZone" - | "AWS::IoTEvents::Input" - | "AWS::IoTEvents::DetectorModel" - | "AWS::IoTEvents::AlarmModel" - | "AWS::ServiceDiscovery::HttpNamespace" - | "AWS::Events::EventBus" - | "AWS::ImageBuilder::ContainerRecipe" - | "AWS::ImageBuilder::DistributionConfiguration" - | "AWS::ImageBuilder::InfrastructureConfiguration" - | "AWS::DataSync::LocationObjectStorage" - | "AWS::DataSync::LocationHDFS" - | "AWS::Glue::Classifier" - | "AWS::Route53RecoveryReadiness::Cell" - | "AWS::Route53RecoveryReadiness::ReadinessCheck" - | "AWS::ECR::RegistryPolicy" - | "AWS::Backup::ReportPlan" - | "AWS::Lightsail::Certificate" - | "AWS::RUM::AppMonitor" - | "AWS::Events::Endpoint" - | "AWS::SES::ReceiptRuleSet" - | "AWS::Events::Archive" - | "AWS::Events::ApiDestination" - | "AWS::Lightsail::Disk" - | "AWS::FIS::ExperimentTemplate" - | "AWS::DataSync::LocationFSxWindows" - | "AWS::SES::ReceiptFilter" - | "AWS::GuardDuty::Filter" - | "AWS::SES::Template" - | "AWS::AmazonMQ::Broker" - | "AWS::AppConfig::Environment" - | "AWS::AppConfig::ConfigurationProfile" - | "AWS::Cloud9::EnvironmentEC2" - | "AWS::EventSchemas::Registry" - | "AWS::EventSchemas::RegistryPolicy" - | "AWS::EventSchemas::Discoverer" - | "AWS::FraudDetector::Label" - | "AWS::FraudDetector::EntityType" - | "AWS::FraudDetector::Variable" - | "AWS::FraudDetector::Outcome" - | "AWS::IoT::Authorizer" - | "AWS::IoT::SecurityProfile" - | "AWS::IoT::RoleAlias" - | "AWS::IoT::Dimension" - | "AWS::IoTAnalytics::Datastore" - | "AWS::Lightsail::Bucket" - | "AWS::Lightsail::StaticIp" - | "AWS::MediaPackage::PackagingGroup" - | "AWS::Route53RecoveryReadiness::RecoveryGroup" - | "AWS::ResilienceHub::ResiliencyPolicy" - | "AWS::Transfer::Workflow" - | "AWS::EKS::IdentityProviderConfig" - | "AWS::EKS::Addon" - | "AWS::Glue::MLTransform" - | "AWS::IoT::Policy" - | "AWS::IoT::MitigationAction" - | "AWS::IoTTwinMaker::Workspace" - | "AWS::IoTTwinMaker::Entity" - | "AWS::IoTAnalytics::Dataset" - | "AWS::IoTAnalytics::Pipeline" - | "AWS::IoTAnalytics::Channel" - | "AWS::IoTSiteWise::Dashboard" - | "AWS::IoTSiteWise::Project" - | "AWS::IoTSiteWise::Portal" - | "AWS::IoTSiteWise::AssetModel" - | "AWS::IVS::Channel" - | "AWS::IVS::RecordingConfiguration" - | "AWS::IVS::PlaybackKeyPair" - | "AWS::KinesisAnalyticsV2::Application" - | "AWS::RDS::GlobalCluster" - | "AWS::S3::MultiRegionAccessPoint" - | "AWS::DeviceFarm::TestGridProject" - | "AWS::Budgets::BudgetsAction" - | "AWS::Lex::Bot" - | "AWS::CodeGuruReviewer::RepositoryAssociation" - | "AWS::IoT::CustomMetric" - | "AWS::Route53Resolver::FirewallDomainList" - | "AWS::RoboMaker::RobotApplicationVersion" - | "AWS::EC2::TrafficMirrorSession" - | "AWS::IoTSiteWise::Gateway" - | "AWS::Lex::BotAlias" - | "AWS::LookoutMetrics::Alert" - | "AWS::IoT::AccountAuditConfiguration" - | "AWS::EC2::TrafficMirrorTarget" - | "AWS::S3::StorageLens" - | "AWS::IoT::ScheduledAudit" - | "AWS::Events::Connection" - | "AWS::EventSchemas::Schema" - | "AWS::MediaPackage::PackagingConfiguration" - | "AWS::KinesisVideo::SignalingChannel" - | "AWS::AppStream::DirectoryConfig" - | "AWS::LookoutVision::Project" - | "AWS::Route53RecoveryControl::Cluster" - | "AWS::Route53RecoveryControl::SafetyRule" - | "AWS::Route53RecoveryControl::ControlPanel" - | "AWS::Route53RecoveryControl::RoutingControl" - | "AWS::Route53RecoveryReadiness::ResourceSet" - | "AWS::RoboMaker::SimulationApplication" - | "AWS::RoboMaker::RobotApplication" - | "AWS::HealthLake::FHIRDatastore" - | "AWS::Pinpoint::Segment" - | "AWS::Pinpoint::ApplicationSettings" - | "AWS::Events::Rule" - | "AWS::EC2::DHCPOptions" - | "AWS::EC2::NetworkInsightsPath" - | "AWS::EC2::TrafficMirrorFilter" - | "AWS::EC2::IPAM" - | "AWS::IoTTwinMaker::Scene" - | "AWS::NetworkManager::TransitGatewayRegistration" - | "AWS::CustomerProfiles::Domain" - | "AWS::AutoScaling::WarmPool" - | "AWS::Connect::PhoneNumber" - | "AWS::AppConfig::DeploymentStrategy" - | "AWS::AppFlow::Flow" - | "AWS::AuditManager::Assessment" - | "AWS::CloudWatch::MetricStream" - | "AWS::DeviceFarm::InstanceProfile" - | "AWS::DeviceFarm::Project" - | "AWS::EC2::EC2Fleet" - | "AWS::EC2::SubnetRouteTableAssociation" - | "AWS::ECR::PullThroughCacheRule" - | "AWS::GroundStation::Config" - | "AWS::ImageBuilder::ImagePipeline" - | "AWS::IoT::FleetMetric" - | "AWS::IoTWireless::ServiceProfile" - | "AWS::NetworkManager::Device" - | "AWS::NetworkManager::GlobalNetwork" - | "AWS::NetworkManager::Link" - | "AWS::NetworkManager::Site" - | "AWS::Panorama::Package" - | "AWS::Pinpoint::App" - | "AWS::Redshift::ScheduledAction" - | "AWS::Route53Resolver::FirewallRuleGroupAssociation" - | "AWS::SageMaker::AppImageConfig" - | "AWS::SageMaker::Image" - | "AWS::ECS::TaskSet" - | "AWS::Cassandra::Keyspace" - | "AWS::Signer::SigningProfile" - | "AWS::Amplify::App" - | "AWS::AppMesh::VirtualNode" - | "AWS::AppMesh::VirtualService" - | "AWS::AppRunner::VpcConnector" - | "AWS::AppStream::Application" - | "AWS::CodeArtifact::Repository" - | "AWS::EC2::PrefixList" - | "AWS::EC2::SpotFleet" - | "AWS::Evidently::Project" - | "AWS::Forecast::Dataset" - | "AWS::IAM::SAMLProvider" - | "AWS::IAM::ServerCertificate" - | "AWS::Pinpoint::Campaign" - | "AWS::Pinpoint::InAppTemplate" - | "AWS::SageMaker::Domain" - | "AWS::Transfer::Agreement" - | "AWS::Transfer::Connector" - | "AWS::KinesisFirehose::DeliveryStream" - | "AWS::Amplify::Branch" - | "AWS::AppIntegrations::EventIntegration" - | "AWS::AppMesh::Route" - | "AWS::Athena::PreparedStatement" - | "AWS::EC2::IPAMScope" - | "AWS::Evidently::Launch" - | "AWS::Forecast::DatasetGroup" - | "AWS::GreengrassV2::ComponentVersion" - | "AWS::GroundStation::MissionProfile" - | "AWS::MediaConnect::FlowEntitlement" - | "AWS::MediaConnect::FlowVpcInterface" - | "AWS::MediaTailor::PlaybackConfiguration" - | "AWS::MSK::Configuration" - | "AWS::Personalize::Dataset" - | "AWS::Personalize::Schema" - | "AWS::Personalize::Solution" - | "AWS::Pinpoint::EmailTemplate" - | "AWS::Pinpoint::EventStream" - | "AWS::ResilienceHub::App" - | "AWS::ACMPCA::CertificateAuthority" - | "AWS::AppConfig::HostedConfigurationVersion" - | "AWS::AppMesh::VirtualGateway" - | "AWS::AppMesh::VirtualRouter" - | "AWS::AppRunner::Service" - | "AWS::CustomerProfiles::ObjectType" - | "AWS::DMS::Endpoint" - | "AWS::EC2::CapacityReservation" - | "AWS::EC2::ClientVpnEndpoint" - | "AWS::Kendra::Index" - | "AWS::KinesisVideo::Stream" - | "AWS::Logs::Destination" - | "AWS::Pinpoint::EmailChannel" - | "AWS::S3::AccessPoint" - | "AWS::NetworkManager::CustomerGatewayAssociation" - | "AWS::NetworkManager::LinkAssociation" - | "AWS::IoTWireless::MulticastGroup" - | "AWS::Personalize::DatasetGroup" - | "AWS::IoTTwinMaker::ComponentType" - | "AWS::CodeBuild::ReportGroup" - | "AWS::SageMaker::FeatureGroup" - | "AWS::MSK::BatchScramSecret" - | "AWS::AppStream::Stack" - | "AWS::IoT::JobTemplate" - | "AWS::IoTWireless::FuotaTask" - | "AWS::IoT::ProvisioningTemplate" - | "AWS::InspectorV2::Filter" - | "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" - | "AWS::ServiceDiscovery::Instance" - | "AWS::Transfer::Certificate" - | "AWS::MediaConnect::FlowSource" - | "AWS::APS::RuleGroupsNamespace" - | "AWS::CodeGuruProfiler::ProfilingGroup" - | "AWS::Route53Resolver::ResolverQueryLoggingConfig" - | "AWS::Batch::SchedulingPolicy" - | "AWS::ACMPCA::CertificateAuthorityActivation" - | "AWS::AppMesh::GatewayRoute" - | "AWS::AppMesh::Mesh" - | "AWS::Connect::Instance" - | "AWS::Connect::QuickConnect" - | "AWS::EC2::CarrierGateway" - | "AWS::EC2::IPAMPool" - | "AWS::EC2::TransitGatewayConnect" - | "AWS::EC2::TransitGatewayMulticastDomain" - | "AWS::ECS::CapacityProvider" - | "AWS::IAM::InstanceProfile" - | "AWS::IoT::CACertificate" - | "AWS::IoTTwinMaker::SyncJob" - | "AWS::KafkaConnect::Connector" - | "AWS::Lambda::CodeSigningConfig" - | "AWS::NetworkManager::ConnectPeer" - | "AWS::ResourceExplorer2::Index" - | "AWS::AppStream::Fleet" - | "AWS::Cognito::UserPool" - | "AWS::Cognito::UserPoolClient" - | "AWS::Cognito::UserPoolGroup" - | "AWS::EC2::NetworkInsightsAccessScope" - | "AWS::EC2::NetworkInsightsAnalysis" - | "AWS::Grafana::Workspace" - | "AWS::GroundStation::DataflowEndpointGroup" - | "AWS::ImageBuilder::ImageRecipe" - | "AWS::KMS::Alias" - | "AWS::M2::Environment" - | "AWS::QuickSight::DataSource" - | "AWS::QuickSight::Template" - | "AWS::QuickSight::Theme" - | "AWS::RDS::OptionGroup" - | "AWS::Redshift::EndpointAccess" - | "AWS::Route53Resolver::FirewallRuleGroup" - | "AWS::SSM::Document" - | "AWS::AppConfig::ExtensionAssociation" - | "AWS::AppIntegrations::Application" - | "AWS::AppSync::ApiCache" - | "AWS::Bedrock::Guardrail" - | "AWS::Bedrock::KnowledgeBase" - | "AWS::Cognito::IdentityPool" - | "AWS::Connect::Rule" - | "AWS::Connect::User" - | "AWS::EC2::ClientVpnTargetNetworkAssociation" - | "AWS::EC2::EIPAssociation" - | "AWS::EC2::IPAMResourceDiscovery" - | "AWS::EC2::IPAMResourceDiscoveryAssociation" - | "AWS::EC2::InstanceConnectEndpoint" - | "AWS::EC2::SnapshotBlockPublicAccess" - | "AWS::EC2::VPCBlockPublicAccessExclusion" - | "AWS::EC2::VPCBlockPublicAccessOptions" - | "AWS::EC2::VPCEndpointConnectionNotification" - | "AWS::EC2::VPNConnectionRoute" - | "AWS::Evidently::Segment" - | "AWS::IAM::OIDCProvider" - | "AWS::InspectorV2::Activation" - | "AWS::MSK::ClusterPolicy" - | "AWS::MSK::VpcConnection" - | "AWS::MediaConnect::Gateway" - | "AWS::MemoryDB::SubnetGroup" - | "AWS::OpenSearchServerless::Collection" - | "AWS::OpenSearchServerless::VpcEndpoint" - | "AWS::Redshift::EndpointAuthorization" - | "AWS::Route53Profiles::Profile" - | "AWS::S3::StorageLensGroup" - | "AWS::S3Express::BucketPolicy" - | "AWS::S3Express::DirectoryBucket" - | "AWS::SageMaker::InferenceExperiment" - | "AWS::SecurityHub::Standard" - | "AWS::Transfer::Profile"; +export type ResourceType = "AWS::EC2::CustomerGateway" | "AWS::EC2::EIP" | "AWS::EC2::Host" | "AWS::EC2::Instance" | "AWS::EC2::InternetGateway" | "AWS::EC2::NetworkAcl" | "AWS::EC2::NetworkInterface" | "AWS::EC2::RouteTable" | "AWS::EC2::SecurityGroup" | "AWS::EC2::Subnet" | "AWS::CloudTrail::Trail" | "AWS::EC2::Volume" | "AWS::EC2::VPC" | "AWS::EC2::VPNConnection" | "AWS::EC2::VPNGateway" | "AWS::EC2::RegisteredHAInstance" | "AWS::EC2::NatGateway" | "AWS::EC2::EgressOnlyInternetGateway" | "AWS::EC2::VPCEndpoint" | "AWS::EC2::VPCEndpointService" | "AWS::EC2::FlowLog" | "AWS::EC2::VPCPeeringConnection" | "AWS::Elasticsearch::Domain" | "AWS::IAM::Group" | "AWS::IAM::Policy" | "AWS::IAM::Role" | "AWS::IAM::User" | "AWS::ElasticLoadBalancingV2::LoadBalancer" | "AWS::ACM::Certificate" | "AWS::RDS::DBInstance" | "AWS::RDS::DBSubnetGroup" | "AWS::RDS::DBSecurityGroup" | "AWS::RDS::DBSnapshot" | "AWS::RDS::DBCluster" | "AWS::RDS::DBClusterSnapshot" | "AWS::RDS::EventSubscription" | "AWS::S3::Bucket" | "AWS::S3::AccountPublicAccessBlock" | "AWS::Redshift::Cluster" | "AWS::Redshift::ClusterSnapshot" | "AWS::Redshift::ClusterParameterGroup" | "AWS::Redshift::ClusterSecurityGroup" | "AWS::Redshift::ClusterSubnetGroup" | "AWS::Redshift::EventSubscription" | "AWS::SSM::ManagedInstanceInventory" | "AWS::CloudWatch::Alarm" | "AWS::CloudFormation::Stack" | "AWS::ElasticLoadBalancing::LoadBalancer" | "AWS::AutoScaling::AutoScalingGroup" | "AWS::AutoScaling::LaunchConfiguration" | "AWS::AutoScaling::ScalingPolicy" | "AWS::AutoScaling::ScheduledAction" | "AWS::DynamoDB::Table" | "AWS::CodeBuild::Project" | "AWS::WAF::RateBasedRule" | "AWS::WAF::Rule" | "AWS::WAF::RuleGroup" | "AWS::WAF::WebACL" | "AWS::WAFRegional::RateBasedRule" | "AWS::WAFRegional::Rule" | "AWS::WAFRegional::RuleGroup" | "AWS::WAFRegional::WebACL" | "AWS::CloudFront::Distribution" | "AWS::CloudFront::StreamingDistribution" | "AWS::Lambda::Function" | "AWS::NetworkFirewall::Firewall" | "AWS::NetworkFirewall::FirewallPolicy" | "AWS::NetworkFirewall::RuleGroup" | "AWS::ElasticBeanstalk::Application" | "AWS::ElasticBeanstalk::ApplicationVersion" | "AWS::ElasticBeanstalk::Environment" | "AWS::WAFv2::WebACL" | "AWS::WAFv2::RuleGroup" | "AWS::WAFv2::IPSet" | "AWS::WAFv2::RegexPatternSet" | "AWS::WAFv2::ManagedRuleSet" | "AWS::XRay::EncryptionConfig" | "AWS::SSM::AssociationCompliance" | "AWS::SSM::PatchCompliance" | "AWS::Shield::Protection" | "AWS::ShieldRegional::Protection" | "AWS::Config::ConformancePackCompliance" | "AWS::Config::ResourceCompliance" | "AWS::ApiGateway::Stage" | "AWS::ApiGateway::RestApi" | "AWS::ApiGatewayV2::Stage" | "AWS::ApiGatewayV2::Api" | "AWS::CodePipeline::Pipeline" | "AWS::ServiceCatalog::CloudFormationProvisionedProduct" | "AWS::ServiceCatalog::CloudFormationProduct" | "AWS::ServiceCatalog::Portfolio" | "AWS::SQS::Queue" | "AWS::KMS::Key" | "AWS::QLDB::Ledger" | "AWS::SecretsManager::Secret" | "AWS::SNS::Topic" | "AWS::SSM::FileData" | "AWS::Backup::BackupPlan" | "AWS::Backup::BackupSelection" | "AWS::Backup::BackupVault" | "AWS::Backup::RecoveryPoint" | "AWS::ECR::Repository" | "AWS::ECS::Cluster" | "AWS::ECS::Service" | "AWS::ECS::TaskDefinition" | "AWS::EFS::AccessPoint" | "AWS::EFS::FileSystem" | "AWS::EKS::Cluster" | "AWS::OpenSearch::Domain" | "AWS::EC2::TransitGateway" | "AWS::Kinesis::Stream" | "AWS::Kinesis::StreamConsumer" | "AWS::CodeDeploy::Application" | "AWS::CodeDeploy::DeploymentConfig" | "AWS::CodeDeploy::DeploymentGroup" | "AWS::EC2::LaunchTemplate" | "AWS::ECR::PublicRepository" | "AWS::GuardDuty::Detector" | "AWS::EMR::SecurityConfiguration" | "AWS::SageMaker::CodeRepository" | "AWS::Route53Resolver::ResolverEndpoint" | "AWS::Route53Resolver::ResolverRule" | "AWS::Route53Resolver::ResolverRuleAssociation" | "AWS::DMS::ReplicationSubnetGroup" | "AWS::DMS::EventSubscription" | "AWS::MSK::Cluster" | "AWS::StepFunctions::Activity" | "AWS::WorkSpaces::Workspace" | "AWS::WorkSpaces::ConnectionAlias" | "AWS::SageMaker::Model" | "AWS::ElasticLoadBalancingV2::Listener" | "AWS::StepFunctions::StateMachine" | "AWS::Batch::JobQueue" | "AWS::Batch::ComputeEnvironment" | "AWS::AccessAnalyzer::Analyzer" | "AWS::Athena::WorkGroup" | "AWS::Athena::DataCatalog" | "AWS::Detective::Graph" | "AWS::GlobalAccelerator::Accelerator" | "AWS::GlobalAccelerator::EndpointGroup" | "AWS::GlobalAccelerator::Listener" | "AWS::EC2::TransitGatewayAttachment" | "AWS::EC2::TransitGatewayRouteTable" | "AWS::DMS::Certificate" | "AWS::AppConfig::Application" | "AWS::AppSync::GraphQLApi" | "AWS::DataSync::LocationSMB" | "AWS::DataSync::LocationFSxLustre" | "AWS::DataSync::LocationS3" | "AWS::DataSync::LocationEFS" | "AWS::DataSync::Task" | "AWS::DataSync::LocationNFS" | "AWS::EC2::NetworkInsightsAccessScopeAnalysis" | "AWS::EKS::FargateProfile" | "AWS::Glue::Job" | "AWS::GuardDuty::ThreatIntelSet" | "AWS::GuardDuty::IPSet" | "AWS::SageMaker::Workteam" | "AWS::SageMaker::NotebookInstanceLifecycleConfig" | "AWS::ServiceDiscovery::Service" | "AWS::ServiceDiscovery::PublicDnsNamespace" | "AWS::SES::ContactList" | "AWS::SES::ConfigurationSet" | "AWS::Route53::HostedZone" | "AWS::IoTEvents::Input" | "AWS::IoTEvents::DetectorModel" | "AWS::IoTEvents::AlarmModel" | "AWS::ServiceDiscovery::HttpNamespace" | "AWS::Events::EventBus" | "AWS::ImageBuilder::ContainerRecipe" | "AWS::ImageBuilder::DistributionConfiguration" | "AWS::ImageBuilder::InfrastructureConfiguration" | "AWS::DataSync::LocationObjectStorage" | "AWS::DataSync::LocationHDFS" | "AWS::Glue::Classifier" | "AWS::Route53RecoveryReadiness::Cell" | "AWS::Route53RecoveryReadiness::ReadinessCheck" | "AWS::ECR::RegistryPolicy" | "AWS::Backup::ReportPlan" | "AWS::Lightsail::Certificate" | "AWS::RUM::AppMonitor" | "AWS::Events::Endpoint" | "AWS::SES::ReceiptRuleSet" | "AWS::Events::Archive" | "AWS::Events::ApiDestination" | "AWS::Lightsail::Disk" | "AWS::FIS::ExperimentTemplate" | "AWS::DataSync::LocationFSxWindows" | "AWS::SES::ReceiptFilter" | "AWS::GuardDuty::Filter" | "AWS::SES::Template" | "AWS::AmazonMQ::Broker" | "AWS::AppConfig::Environment" | "AWS::AppConfig::ConfigurationProfile" | "AWS::Cloud9::EnvironmentEC2" | "AWS::EventSchemas::Registry" | "AWS::EventSchemas::RegistryPolicy" | "AWS::EventSchemas::Discoverer" | "AWS::FraudDetector::Label" | "AWS::FraudDetector::EntityType" | "AWS::FraudDetector::Variable" | "AWS::FraudDetector::Outcome" | "AWS::IoT::Authorizer" | "AWS::IoT::SecurityProfile" | "AWS::IoT::RoleAlias" | "AWS::IoT::Dimension" | "AWS::IoTAnalytics::Datastore" | "AWS::Lightsail::Bucket" | "AWS::Lightsail::StaticIp" | "AWS::MediaPackage::PackagingGroup" | "AWS::Route53RecoveryReadiness::RecoveryGroup" | "AWS::ResilienceHub::ResiliencyPolicy" | "AWS::Transfer::Workflow" | "AWS::EKS::IdentityProviderConfig" | "AWS::EKS::Addon" | "AWS::Glue::MLTransform" | "AWS::IoT::Policy" | "AWS::IoT::MitigationAction" | "AWS::IoTTwinMaker::Workspace" | "AWS::IoTTwinMaker::Entity" | "AWS::IoTAnalytics::Dataset" | "AWS::IoTAnalytics::Pipeline" | "AWS::IoTAnalytics::Channel" | "AWS::IoTSiteWise::Dashboard" | "AWS::IoTSiteWise::Project" | "AWS::IoTSiteWise::Portal" | "AWS::IoTSiteWise::AssetModel" | "AWS::IVS::Channel" | "AWS::IVS::RecordingConfiguration" | "AWS::IVS::PlaybackKeyPair" | "AWS::KinesisAnalyticsV2::Application" | "AWS::RDS::GlobalCluster" | "AWS::S3::MultiRegionAccessPoint" | "AWS::DeviceFarm::TestGridProject" | "AWS::Budgets::BudgetsAction" | "AWS::Lex::Bot" | "AWS::CodeGuruReviewer::RepositoryAssociation" | "AWS::IoT::CustomMetric" | "AWS::Route53Resolver::FirewallDomainList" | "AWS::RoboMaker::RobotApplicationVersion" | "AWS::EC2::TrafficMirrorSession" | "AWS::IoTSiteWise::Gateway" | "AWS::Lex::BotAlias" | "AWS::LookoutMetrics::Alert" | "AWS::IoT::AccountAuditConfiguration" | "AWS::EC2::TrafficMirrorTarget" | "AWS::S3::StorageLens" | "AWS::IoT::ScheduledAudit" | "AWS::Events::Connection" | "AWS::EventSchemas::Schema" | "AWS::MediaPackage::PackagingConfiguration" | "AWS::KinesisVideo::SignalingChannel" | "AWS::AppStream::DirectoryConfig" | "AWS::LookoutVision::Project" | "AWS::Route53RecoveryControl::Cluster" | "AWS::Route53RecoveryControl::SafetyRule" | "AWS::Route53RecoveryControl::ControlPanel" | "AWS::Route53RecoveryControl::RoutingControl" | "AWS::Route53RecoveryReadiness::ResourceSet" | "AWS::RoboMaker::SimulationApplication" | "AWS::RoboMaker::RobotApplication" | "AWS::HealthLake::FHIRDatastore" | "AWS::Pinpoint::Segment" | "AWS::Pinpoint::ApplicationSettings" | "AWS::Events::Rule" | "AWS::EC2::DHCPOptions" | "AWS::EC2::NetworkInsightsPath" | "AWS::EC2::TrafficMirrorFilter" | "AWS::EC2::IPAM" | "AWS::IoTTwinMaker::Scene" | "AWS::NetworkManager::TransitGatewayRegistration" | "AWS::CustomerProfiles::Domain" | "AWS::AutoScaling::WarmPool" | "AWS::Connect::PhoneNumber" | "AWS::AppConfig::DeploymentStrategy" | "AWS::AppFlow::Flow" | "AWS::AuditManager::Assessment" | "AWS::CloudWatch::MetricStream" | "AWS::DeviceFarm::InstanceProfile" | "AWS::DeviceFarm::Project" | "AWS::EC2::EC2Fleet" | "AWS::EC2::SubnetRouteTableAssociation" | "AWS::ECR::PullThroughCacheRule" | "AWS::GroundStation::Config" | "AWS::ImageBuilder::ImagePipeline" | "AWS::IoT::FleetMetric" | "AWS::IoTWireless::ServiceProfile" | "AWS::NetworkManager::Device" | "AWS::NetworkManager::GlobalNetwork" | "AWS::NetworkManager::Link" | "AWS::NetworkManager::Site" | "AWS::Panorama::Package" | "AWS::Pinpoint::App" | "AWS::Redshift::ScheduledAction" | "AWS::Route53Resolver::FirewallRuleGroupAssociation" | "AWS::SageMaker::AppImageConfig" | "AWS::SageMaker::Image" | "AWS::ECS::TaskSet" | "AWS::Cassandra::Keyspace" | "AWS::Signer::SigningProfile" | "AWS::Amplify::App" | "AWS::AppMesh::VirtualNode" | "AWS::AppMesh::VirtualService" | "AWS::AppRunner::VpcConnector" | "AWS::AppStream::Application" | "AWS::CodeArtifact::Repository" | "AWS::EC2::PrefixList" | "AWS::EC2::SpotFleet" | "AWS::Evidently::Project" | "AWS::Forecast::Dataset" | "AWS::IAM::SAMLProvider" | "AWS::IAM::ServerCertificate" | "AWS::Pinpoint::Campaign" | "AWS::Pinpoint::InAppTemplate" | "AWS::SageMaker::Domain" | "AWS::Transfer::Agreement" | "AWS::Transfer::Connector" | "AWS::KinesisFirehose::DeliveryStream" | "AWS::Amplify::Branch" | "AWS::AppIntegrations::EventIntegration" | "AWS::AppMesh::Route" | "AWS::Athena::PreparedStatement" | "AWS::EC2::IPAMScope" | "AWS::Evidently::Launch" | "AWS::Forecast::DatasetGroup" | "AWS::GreengrassV2::ComponentVersion" | "AWS::GroundStation::MissionProfile" | "AWS::MediaConnect::FlowEntitlement" | "AWS::MediaConnect::FlowVpcInterface" | "AWS::MediaTailor::PlaybackConfiguration" | "AWS::MSK::Configuration" | "AWS::Personalize::Dataset" | "AWS::Personalize::Schema" | "AWS::Personalize::Solution" | "AWS::Pinpoint::EmailTemplate" | "AWS::Pinpoint::EventStream" | "AWS::ResilienceHub::App" | "AWS::ACMPCA::CertificateAuthority" | "AWS::AppConfig::HostedConfigurationVersion" | "AWS::AppMesh::VirtualGateway" | "AWS::AppMesh::VirtualRouter" | "AWS::AppRunner::Service" | "AWS::CustomerProfiles::ObjectType" | "AWS::DMS::Endpoint" | "AWS::EC2::CapacityReservation" | "AWS::EC2::ClientVpnEndpoint" | "AWS::Kendra::Index" | "AWS::KinesisVideo::Stream" | "AWS::Logs::Destination" | "AWS::Pinpoint::EmailChannel" | "AWS::S3::AccessPoint" | "AWS::NetworkManager::CustomerGatewayAssociation" | "AWS::NetworkManager::LinkAssociation" | "AWS::IoTWireless::MulticastGroup" | "AWS::Personalize::DatasetGroup" | "AWS::IoTTwinMaker::ComponentType" | "AWS::CodeBuild::ReportGroup" | "AWS::SageMaker::FeatureGroup" | "AWS::MSK::BatchScramSecret" | "AWS::AppStream::Stack" | "AWS::IoT::JobTemplate" | "AWS::IoTWireless::FuotaTask" | "AWS::IoT::ProvisioningTemplate" | "AWS::InspectorV2::Filter" | "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation" | "AWS::ServiceDiscovery::Instance" | "AWS::Transfer::Certificate" | "AWS::MediaConnect::FlowSource" | "AWS::APS::RuleGroupsNamespace" | "AWS::CodeGuruProfiler::ProfilingGroup" | "AWS::Route53Resolver::ResolverQueryLoggingConfig" | "AWS::Batch::SchedulingPolicy" | "AWS::ACMPCA::CertificateAuthorityActivation" | "AWS::AppMesh::GatewayRoute" | "AWS::AppMesh::Mesh" | "AWS::Connect::Instance" | "AWS::Connect::QuickConnect" | "AWS::EC2::CarrierGateway" | "AWS::EC2::IPAMPool" | "AWS::EC2::TransitGatewayConnect" | "AWS::EC2::TransitGatewayMulticastDomain" | "AWS::ECS::CapacityProvider" | "AWS::IAM::InstanceProfile" | "AWS::IoT::CACertificate" | "AWS::IoTTwinMaker::SyncJob" | "AWS::KafkaConnect::Connector" | "AWS::Lambda::CodeSigningConfig" | "AWS::NetworkManager::ConnectPeer" | "AWS::ResourceExplorer2::Index" | "AWS::AppStream::Fleet" | "AWS::Cognito::UserPool" | "AWS::Cognito::UserPoolClient" | "AWS::Cognito::UserPoolGroup" | "AWS::EC2::NetworkInsightsAccessScope" | "AWS::EC2::NetworkInsightsAnalysis" | "AWS::Grafana::Workspace" | "AWS::GroundStation::DataflowEndpointGroup" | "AWS::ImageBuilder::ImageRecipe" | "AWS::KMS::Alias" | "AWS::M2::Environment" | "AWS::QuickSight::DataSource" | "AWS::QuickSight::Template" | "AWS::QuickSight::Theme" | "AWS::RDS::OptionGroup" | "AWS::Redshift::EndpointAccess" | "AWS::Route53Resolver::FirewallRuleGroup" | "AWS::SSM::Document" | "AWS::AppConfig::ExtensionAssociation" | "AWS::AppIntegrations::Application" | "AWS::AppSync::ApiCache" | "AWS::Bedrock::Guardrail" | "AWS::Bedrock::KnowledgeBase" | "AWS::Cognito::IdentityPool" | "AWS::Connect::Rule" | "AWS::Connect::User" | "AWS::EC2::ClientVpnTargetNetworkAssociation" | "AWS::EC2::EIPAssociation" | "AWS::EC2::IPAMResourceDiscovery" | "AWS::EC2::IPAMResourceDiscoveryAssociation" | "AWS::EC2::InstanceConnectEndpoint" | "AWS::EC2::SnapshotBlockPublicAccess" | "AWS::EC2::VPCBlockPublicAccessExclusion" | "AWS::EC2::VPCBlockPublicAccessOptions" | "AWS::EC2::VPCEndpointConnectionNotification" | "AWS::EC2::VPNConnectionRoute" | "AWS::Evidently::Segment" | "AWS::IAM::OIDCProvider" | "AWS::InspectorV2::Activation" | "AWS::MSK::ClusterPolicy" | "AWS::MSK::VpcConnection" | "AWS::MediaConnect::Gateway" | "AWS::MemoryDB::SubnetGroup" | "AWS::OpenSearchServerless::Collection" | "AWS::OpenSearchServerless::VpcEndpoint" | "AWS::Redshift::EndpointAuthorization" | "AWS::Route53Profiles::Profile" | "AWS::S3::StorageLensGroup" | "AWS::S3Express::BucketPolicy" | "AWS::S3Express::DirectoryBucket" | "AWS::SageMaker::InferenceExperiment" | "AWS::SecurityHub::Standard" | "AWS::Transfer::Profile"; export type ResourceTypeList = Array; export type ResourceTypes = Array; export type ResourceTypesScope = Array; @@ -3353,7 +2522,8 @@ export type StackArn = string; export interface StartConfigRulesEvaluationRequest { ConfigRuleNames?: Array; } -export interface StartConfigRulesEvaluationResponse {} +export interface StartConfigRulesEvaluationResponse { +} export interface StartConfigurationRecorderRequest { ConfigurationRecorderName: string; } @@ -3459,8 +2629,7 @@ export declare class UnmodifiableEntityException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type UnprocessedResourceIdentifierList = - Array; +export type UnprocessedResourceIdentifierList = Array; export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; @@ -3505,7 +2674,9 @@ export declare namespace BatchGetResourceConfig { export declare namespace DeleteAggregationAuthorization { export type Input = DeleteAggregationAuthorizationRequest; export type Output = {}; - export type Error = InvalidParameterValueException | CommonAwsError; + export type Error = + | InvalidParameterValueException + | CommonAwsError; } export declare namespace DeleteConfigRule { @@ -3520,7 +2691,9 @@ export declare namespace DeleteConfigRule { export declare namespace DeleteConfigurationAggregator { export type Input = DeleteConfigurationAggregatorRequest; export type Output = {}; - export type Error = NoSuchConfigurationAggregatorException | CommonAwsError; + export type Error = + | NoSuchConfigurationAggregatorException + | CommonAwsError; } export declare namespace DeleteConfigurationRecorder { @@ -3582,7 +2755,9 @@ export declare namespace DeleteOrganizationConformancePack { export declare namespace DeletePendingAggregationRequest { export type Input = DeletePendingAggregationRequestRequest; export type Output = {}; - export type Error = InvalidParameterValueException | CommonAwsError; + export type Error = + | InvalidParameterValueException + | CommonAwsError; } export declare namespace DeleteRemediationConfiguration { @@ -3599,7 +2774,9 @@ export declare namespace DeleteRemediationConfiguration { export declare namespace DeleteRemediationExceptions { export type Input = DeleteRemediationExceptionsRequest; export type Output = DeleteRemediationExceptionsResponse; - export type Error = NoSuchRemediationExceptionException | CommonAwsError; + export type Error = + | NoSuchRemediationExceptionException + | CommonAwsError; } export declare namespace DeleteResourceConfig { @@ -3796,13 +2973,17 @@ export declare namespace DescribeConformancePackStatus { export declare namespace DescribeDeliveryChannels { export type Input = DescribeDeliveryChannelsRequest; export type Output = DescribeDeliveryChannelsResponse; - export type Error = NoSuchDeliveryChannelException | CommonAwsError; + export type Error = + | NoSuchDeliveryChannelException + | CommonAwsError; } export declare namespace DescribeDeliveryChannelStatus { export type Input = DescribeDeliveryChannelStatusRequest; export type Output = DescribeDeliveryChannelStatusResponse; - export type Error = NoSuchDeliveryChannelException | CommonAwsError; + export type Error = + | NoSuchDeliveryChannelException + | CommonAwsError; } export declare namespace DescribeOrganizationConfigRules { @@ -3862,7 +3043,8 @@ export declare namespace DescribePendingAggregationRequests { export declare namespace DescribeRemediationConfigurations { export type Input = DescribeRemediationConfigurationsRequest; export type Output = DescribeRemediationConfigurationsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeRemediationExceptions { @@ -3972,19 +3154,24 @@ export declare namespace GetComplianceDetailsByConfigRule { export declare namespace GetComplianceDetailsByResource { export type Input = GetComplianceDetailsByResourceRequest; export type Output = GetComplianceDetailsByResourceResponse; - export type Error = InvalidParameterValueException | CommonAwsError; + export type Error = + | InvalidParameterValueException + | CommonAwsError; } export declare namespace GetComplianceSummaryByConfigRule { export type Input = {}; export type Output = GetComplianceSummaryByConfigRuleResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetComplianceSummaryByResourceType { export type Input = GetComplianceSummaryByResourceTypeRequest; export type Output = GetComplianceSummaryByResourceTypeResponse; - export type Error = InvalidParameterValueException | CommonAwsError; + export type Error = + | InvalidParameterValueException + | CommonAwsError; } export declare namespace GetConformancePackComplianceDetails { @@ -4012,7 +3199,9 @@ export declare namespace GetConformancePackComplianceSummary { export declare namespace GetCustomRulePolicy { export type Input = GetCustomRulePolicyRequest; export type Output = GetCustomRulePolicyResponse; - export type Error = NoSuchConfigRuleException | CommonAwsError; + export type Error = + | NoSuchConfigRuleException + | CommonAwsError; } export declare namespace GetDiscoveredResourceCounts { @@ -4072,7 +3261,9 @@ export declare namespace GetResourceConfigHistory { export declare namespace GetResourceEvaluationSummary { export type Input = GetResourceEvaluationSummaryRequest; export type Output = GetResourceEvaluationSummaryResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetStoredQuery { @@ -4098,7 +3289,9 @@ export declare namespace ListAggregateDiscoveredResources { export declare namespace ListConfigurationRecorders { export type Input = ListConfigurationRecordersRequest; export type Output = ListConfigurationRecordersResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListConformancePackComplianceScores { @@ -4155,7 +3348,9 @@ export declare namespace ListTagsForResource { export declare namespace PutAggregationAuthorization { export type Input = PutAggregationAuthorizationRequest; export type Output = PutAggregationAuthorizationResponse; - export type Error = InvalidParameterValueException | CommonAwsError; + export type Error = + | InvalidParameterValueException + | CommonAwsError; } export declare namespace PutConfigRule { @@ -4420,61 +3615,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type ConfigServiceErrors = - | ConflictException - | ConformancePackTemplateValidationException - | IdempotentParameterMismatch - | InsufficientDeliveryPolicyException - | InsufficientPermissionsException - | InvalidConfigurationRecorderNameException - | InvalidDeliveryChannelNameException - | InvalidExpressionException - | InvalidLimitException - | InvalidNextTokenException - | InvalidParameterValueException - | InvalidRecordingGroupException - | InvalidResultTokenException - | InvalidRoleException - | InvalidS3KeyPrefixException - | InvalidS3KmsKeyArnException - | InvalidSNSTopicARNException - | InvalidTimeRangeException - | LastDeliveryChannelDeleteFailedException - | LimitExceededException - | MaxActiveResourcesExceededException - | MaxNumberOfConfigRulesExceededException - | MaxNumberOfConfigurationRecordersExceededException - | MaxNumberOfConformancePacksExceededException - | MaxNumberOfDeliveryChannelsExceededException - | MaxNumberOfOrganizationConfigRulesExceededException - | MaxNumberOfOrganizationConformancePacksExceededException - | MaxNumberOfRetentionConfigurationsExceededException - | NoAvailableConfigurationRecorderException - | NoAvailableDeliveryChannelException - | NoAvailableOrganizationException - | NoRunningConfigurationRecorderException - | NoSuchBucketException - | NoSuchConfigRuleException - | NoSuchConfigRuleInConformancePackException - | NoSuchConfigurationAggregatorException - | NoSuchConfigurationRecorderException - | NoSuchConformancePackException - | NoSuchDeliveryChannelException - | NoSuchOrganizationConfigRuleException - | NoSuchOrganizationConformancePackException - | NoSuchRemediationConfigurationException - | NoSuchRemediationExceptionException - | NoSuchRetentionConfigurationException - | OrganizationAccessDeniedException - | OrganizationAllFeaturesNotEnabledException - | OrganizationConformancePackTemplateValidationException - | OversizedConfigurationItemException - | RemediationInProgressException - | ResourceConcurrentModificationException - | ResourceInUseException - | ResourceNotDiscoveredException - | ResourceNotFoundException - | TooManyTagsException - | UnmodifiableEntityException - | ValidationException - | CommonAwsError; +export type ConfigServiceErrors = ConflictException | ConformancePackTemplateValidationException | IdempotentParameterMismatch | InsufficientDeliveryPolicyException | InsufficientPermissionsException | InvalidConfigurationRecorderNameException | InvalidDeliveryChannelNameException | InvalidExpressionException | InvalidLimitException | InvalidNextTokenException | InvalidParameterValueException | InvalidRecordingGroupException | InvalidResultTokenException | InvalidRoleException | InvalidS3KeyPrefixException | InvalidS3KmsKeyArnException | InvalidSNSTopicARNException | InvalidTimeRangeException | LastDeliveryChannelDeleteFailedException | LimitExceededException | MaxActiveResourcesExceededException | MaxNumberOfConfigRulesExceededException | MaxNumberOfConfigurationRecordersExceededException | MaxNumberOfConformancePacksExceededException | MaxNumberOfDeliveryChannelsExceededException | MaxNumberOfOrganizationConfigRulesExceededException | MaxNumberOfOrganizationConformancePacksExceededException | MaxNumberOfRetentionConfigurationsExceededException | NoAvailableConfigurationRecorderException | NoAvailableDeliveryChannelException | NoAvailableOrganizationException | NoRunningConfigurationRecorderException | NoSuchBucketException | NoSuchConfigRuleException | NoSuchConfigRuleInConformancePackException | NoSuchConfigurationAggregatorException | NoSuchConfigurationRecorderException | NoSuchConformancePackException | NoSuchDeliveryChannelException | NoSuchOrganizationConfigRuleException | NoSuchOrganizationConformancePackException | NoSuchRemediationConfigurationException | NoSuchRemediationExceptionException | NoSuchRetentionConfigurationException | OrganizationAccessDeniedException | OrganizationAllFeaturesNotEnabledException | OrganizationConformancePackTemplateValidationException | OversizedConfigurationItemException | RemediationInProgressException | ResourceConcurrentModificationException | ResourceInUseException | ResourceNotDiscoveredException | ResourceNotFoundException | TooManyTagsException | UnmodifiableEntityException | ValidationException | CommonAwsError; + diff --git a/src/services/connect-contact-lens/index.ts b/src/services/connect-contact-lens/index.ts index 5ac6b8af..6fbf4691 100644 --- a/src/services/connect-contact-lens/index.ts +++ b/src/services/connect-contact-lens/index.ts @@ -5,24 +5,7 @@ import type { ConnectContactLens as _ConnectContactLensClient } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,8 +15,7 @@ const metadata = { sigV4ServiceName: "connect", endpointPrefix: "contact-lens", operations: { - ListRealtimeContactAnalysisSegments: - "POST /realtime-contact-analysis/analysis-segments", + "ListRealtimeContactAnalysisSegments": "POST /realtime-contact-analysis/analysis-segments", }, } as const satisfies ServiceMetadata; diff --git a/src/services/connect-contact-lens/types.ts b/src/services/connect-contact-lens/types.ts index 44d4f00f..7f72dab8 100644 --- a/src/services/connect-contact-lens/types.ts +++ b/src/services/connect-contact-lens/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class ConnectContactLens extends AWSServiceClient { @@ -41,12 +8,7 @@ export declare class ConnectContactLens extends AWSServiceClient { input: ListRealtimeContactAnalysisSegmentsRequest, ): Effect.Effect< ListRealtimeContactAnalysisSegmentsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -124,20 +86,14 @@ export interface PostContactSummary { } export type PostContactSummaryContent = string; -export type PostContactSummaryFailureCode = - | "QUOTA_EXCEEDED" - | "INSUFFICIENT_CONVERSATION_CONTENT" - | "FAILED_SAFETY_GUIDELINES" - | "INVALID_ANALYSIS_CONFIGURATION" - | "INTERNAL_ERROR"; +export type PostContactSummaryFailureCode = "QUOTA_EXCEEDED" | "INSUFFICIENT_CONVERSATION_CONTENT" | "FAILED_SAFETY_GUIDELINES" | "INVALID_ANALYSIS_CONFIGURATION" | "INTERNAL_ERROR"; export type PostContactSummaryStatus = "FAILED" | "COMPLETED"; export interface RealtimeContactAnalysisSegment { Transcript?: Transcript; Categories?: Categories; PostContactSummary?: PostContactSummary; } -export type RealtimeContactAnalysisSegments = - Array; +export type RealtimeContactAnalysisSegments = Array; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -175,10 +131,5 @@ export declare namespace ListRealtimeContactAnalysisSegments { | CommonAwsError; } -export type ConnectContactLensErrors = - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError; +export type ConnectContactLensErrors = AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError; + diff --git a/src/services/connect/index.ts b/src/services/connect/index.ts index e024782f..4a2ced7f 100644 --- a/src/services/connect/index.ts +++ b/src/services/connect/index.ts @@ -5,24 +5,7 @@ import type { Connect as _ConnectClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,404 +15,293 @@ const metadata = { sigV4ServiceName: "connect", endpointPrefix: "connect", operations: { - ActivateEvaluationForm: - "POST /evaluation-forms/{InstanceId}/{EvaluationFormId}/activate", - AssociateAnalyticsDataSet: - "PUT /analytics-data/instance/{InstanceId}/association", - AssociateApprovedOrigin: "PUT /instance/{InstanceId}/approved-origin", - AssociateBot: "PUT /instance/{InstanceId}/bot", - AssociateContactWithUser: - "POST /contacts/{InstanceId}/{ContactId}/associate-user", - AssociateDefaultVocabulary: - "PUT /default-vocabulary/{InstanceId}/{LanguageCode}", - AssociateEmailAddressAlias: - "POST /email-addresses/{InstanceId}/{EmailAddressId}/associate-alias", - AssociateFlow: "PUT /flow-associations/{InstanceId}", - AssociateInstanceStorageConfig: "PUT /instance/{InstanceId}/storage-config", - AssociateLambdaFunction: "PUT /instance/{InstanceId}/lambda-function", - AssociateLexBot: "PUT /instance/{InstanceId}/lex-bot", - AssociatePhoneNumberContactFlow: - "PUT /phone-number/{PhoneNumberId}/contact-flow", - AssociateQueueQuickConnects: - "POST /queues/{InstanceId}/{QueueId}/associate-quick-connects", - AssociateRoutingProfileQueues: - "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues", - AssociateSecurityKey: "PUT /instance/{InstanceId}/security-key", - AssociateTrafficDistributionGroupUser: - "PUT /traffic-distribution-group/{TrafficDistributionGroupId}/user", - AssociateUserProficiencies: - "POST /users/{InstanceId}/{UserId}/associate-proficiencies", - BatchAssociateAnalyticsDataSet: - "PUT /analytics-data/instance/{InstanceId}/associations", - BatchDisassociateAnalyticsDataSet: - "POST /analytics-data/instance/{InstanceId}/associations", - BatchGetAttachedFileMetadata: "POST /attached-files/{InstanceId}", - BatchGetFlowAssociation: "POST /flow-associations-batch/{InstanceId}", - BatchPutContact: "PUT /contact/batch/{InstanceId}", - ClaimPhoneNumber: "POST /phone-number/claim", - CompleteAttachedFileUpload: "POST /attached-files/{InstanceId}/{FileId}", - CreateAgentStatus: "PUT /agent-status/{InstanceId}", - CreateContact: "PUT /contact/create-contact", - CreateContactFlow: "PUT /contact-flows/{InstanceId}", - CreateContactFlowModule: "PUT /contact-flow-modules/{InstanceId}", - CreateContactFlowVersion: - "PUT /contact-flows/{InstanceId}/{ContactFlowId}/version", - CreateEmailAddress: "PUT /email-addresses/{InstanceId}", - CreateEvaluationForm: "PUT /evaluation-forms/{InstanceId}", - CreateHoursOfOperation: "PUT /hours-of-operations/{InstanceId}", - CreateHoursOfOperationOverride: - "PUT /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides", - CreateInstance: "PUT /instance", - CreateIntegrationAssociation: - "PUT /instance/{InstanceId}/integration-associations", - CreateParticipant: "POST /contact/create-participant", - CreatePersistentContactAssociation: - "POST /contact/persistent-contact-association/{InstanceId}/{InitialContactId}", - CreatePredefinedAttribute: "PUT /predefined-attributes/{InstanceId}", - CreatePrompt: "PUT /prompts/{InstanceId}", - CreatePushNotificationRegistration: - "PUT /push-notification/{InstanceId}/registrations", - CreateQueue: "PUT /queues/{InstanceId}", - CreateQuickConnect: "PUT /quick-connects/{InstanceId}", - CreateRoutingProfile: "PUT /routing-profiles/{InstanceId}", - CreateRule: "POST /rules/{InstanceId}", - CreateSecurityProfile: "PUT /security-profiles/{InstanceId}", - CreateTaskTemplate: "PUT /instance/{InstanceId}/task/template", - CreateTrafficDistributionGroup: "PUT /traffic-distribution-group", - CreateUseCase: - "PUT /instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases", - CreateUser: "PUT /users/{InstanceId}", - CreateUserHierarchyGroup: "PUT /user-hierarchy-groups/{InstanceId}", - CreateView: "PUT /views/{InstanceId}", - CreateViewVersion: "PUT /views/{InstanceId}/{ViewId}/versions", - CreateVocabulary: "POST /vocabulary/{InstanceId}", - DeactivateEvaluationForm: - "POST /evaluation-forms/{InstanceId}/{EvaluationFormId}/deactivate", - DeleteAttachedFile: "DELETE /attached-files/{InstanceId}/{FileId}", - DeleteContactEvaluation: - "DELETE /contact-evaluations/{InstanceId}/{EvaluationId}", - DeleteContactFlow: "DELETE /contact-flows/{InstanceId}/{ContactFlowId}", - DeleteContactFlowModule: - "DELETE /contact-flow-modules/{InstanceId}/{ContactFlowModuleId}", - DeleteContactFlowVersion: - "DELETE /contact-flows/{InstanceId}/{ContactFlowId}/version/{ContactFlowVersion}", - DeleteEmailAddress: "DELETE /email-addresses/{InstanceId}/{EmailAddressId}", - DeleteEvaluationForm: - "DELETE /evaluation-forms/{InstanceId}/{EvaluationFormId}", - DeleteHoursOfOperation: - "DELETE /hours-of-operations/{InstanceId}/{HoursOfOperationId}", - DeleteHoursOfOperationOverride: - "DELETE /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides/{HoursOfOperationOverrideId}", - DeleteInstance: "DELETE /instance/{InstanceId}", - DeleteIntegrationAssociation: - "DELETE /instance/{InstanceId}/integration-associations/{IntegrationAssociationId}", - DeletePredefinedAttribute: - "DELETE /predefined-attributes/{InstanceId}/{Name}", - DeletePrompt: "DELETE /prompts/{InstanceId}/{PromptId}", - DeletePushNotificationRegistration: - "DELETE /push-notification/{InstanceId}/registrations/{RegistrationId}", - DeleteQueue: "DELETE /queues/{InstanceId}/{QueueId}", - DeleteQuickConnect: "DELETE /quick-connects/{InstanceId}/{QuickConnectId}", - DeleteRoutingProfile: - "DELETE /routing-profiles/{InstanceId}/{RoutingProfileId}", - DeleteRule: "DELETE /rules/{InstanceId}/{RuleId}", - DeleteSecurityProfile: - "DELETE /security-profiles/{InstanceId}/{SecurityProfileId}", - DeleteTaskTemplate: - "DELETE /instance/{InstanceId}/task/template/{TaskTemplateId}", - DeleteTrafficDistributionGroup: - "DELETE /traffic-distribution-group/{TrafficDistributionGroupId}", - DeleteUseCase: - "DELETE /instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}", - DeleteUser: "DELETE /users/{InstanceId}/{UserId}", - DeleteUserHierarchyGroup: - "DELETE /user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}", - DeleteView: "DELETE /views/{InstanceId}/{ViewId}", - DeleteViewVersion: - "DELETE /views/{InstanceId}/{ViewId}/versions/{ViewVersion}", - DeleteVocabulary: "POST /vocabulary-remove/{InstanceId}/{VocabularyId}", - DescribeAgentStatus: "GET /agent-status/{InstanceId}/{AgentStatusId}", - DescribeAuthenticationProfile: - "GET /authentication-profiles/{InstanceId}/{AuthenticationProfileId}", - DescribeContact: "GET /contacts/{InstanceId}/{ContactId}", - DescribeContactEvaluation: - "GET /contact-evaluations/{InstanceId}/{EvaluationId}", - DescribeContactFlow: "GET /contact-flows/{InstanceId}/{ContactFlowId}", - DescribeContactFlowModule: - "GET /contact-flow-modules/{InstanceId}/{ContactFlowModuleId}", - DescribeEmailAddress: "GET /email-addresses/{InstanceId}/{EmailAddressId}", - DescribeEvaluationForm: - "GET /evaluation-forms/{InstanceId}/{EvaluationFormId}", - DescribeHoursOfOperation: - "GET /hours-of-operations/{InstanceId}/{HoursOfOperationId}", - DescribeHoursOfOperationOverride: - "GET /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides/{HoursOfOperationOverrideId}", - DescribeInstance: "GET /instance/{InstanceId}", - DescribeInstanceAttribute: - "GET /instance/{InstanceId}/attribute/{AttributeType}", - DescribeInstanceStorageConfig: - "GET /instance/{InstanceId}/storage-config/{AssociationId}", - DescribePhoneNumber: "GET /phone-number/{PhoneNumberId}", - DescribePredefinedAttribute: - "GET /predefined-attributes/{InstanceId}/{Name}", - DescribePrompt: "GET /prompts/{InstanceId}/{PromptId}", - DescribeQueue: "GET /queues/{InstanceId}/{QueueId}", - DescribeQuickConnect: "GET /quick-connects/{InstanceId}/{QuickConnectId}", - DescribeRoutingProfile: - "GET /routing-profiles/{InstanceId}/{RoutingProfileId}", - DescribeRule: "GET /rules/{InstanceId}/{RuleId}", - DescribeSecurityProfile: - "GET /security-profiles/{InstanceId}/{SecurityProfileId}", - DescribeTrafficDistributionGroup: - "GET /traffic-distribution-group/{TrafficDistributionGroupId}", - DescribeUser: "GET /users/{InstanceId}/{UserId}", - DescribeUserHierarchyGroup: - "GET /user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}", - DescribeUserHierarchyStructure: - "GET /user-hierarchy-structure/{InstanceId}", - DescribeView: "GET /views/{InstanceId}/{ViewId}", - DescribeVocabulary: "GET /vocabulary/{InstanceId}/{VocabularyId}", - DisassociateAnalyticsDataSet: - "POST /analytics-data/instance/{InstanceId}/association", - DisassociateApprovedOrigin: "DELETE /instance/{InstanceId}/approved-origin", - DisassociateBot: "POST /instance/{InstanceId}/bot", - DisassociateEmailAddressAlias: - "POST /email-addresses/{InstanceId}/{EmailAddressId}/disassociate-alias", - DisassociateFlow: - "DELETE /flow-associations/{InstanceId}/{ResourceId}/{ResourceType}", - DisassociateInstanceStorageConfig: - "DELETE /instance/{InstanceId}/storage-config/{AssociationId}", - DisassociateLambdaFunction: "DELETE /instance/{InstanceId}/lambda-function", - DisassociateLexBot: "DELETE /instance/{InstanceId}/lex-bot", - DisassociatePhoneNumberContactFlow: - "DELETE /phone-number/{PhoneNumberId}/contact-flow", - DisassociateQueueQuickConnects: - "POST /queues/{InstanceId}/{QueueId}/disassociate-quick-connects", - DisassociateRoutingProfileQueues: - "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues", - DisassociateSecurityKey: - "DELETE /instance/{InstanceId}/security-key/{AssociationId}", - DisassociateTrafficDistributionGroupUser: - "DELETE /traffic-distribution-group/{TrafficDistributionGroupId}/user", - DisassociateUserProficiencies: - "POST /users/{InstanceId}/{UserId}/disassociate-proficiencies", - DismissUserContact: "POST /users/{InstanceId}/{UserId}/contact", - GetAttachedFile: "GET /attached-files/{InstanceId}/{FileId}", - GetContactAttributes: - "GET /contact/attributes/{InstanceId}/{InitialContactId}", - GetContactMetrics: "POST /metrics/contact", - GetCurrentMetricData: "POST /metrics/current/{InstanceId}", - GetCurrentUserData: "POST /metrics/userdata/{InstanceId}", - GetEffectiveHoursOfOperations: - "GET /effective-hours-of-operations/{InstanceId}/{HoursOfOperationId}", - GetFederationToken: "GET /user/federate/{InstanceId}", - GetFlowAssociation: - "GET /flow-associations/{InstanceId}/{ResourceId}/{ResourceType}", - GetMetricData: "POST /metrics/historical/{InstanceId}", - GetMetricDataV2: "POST /metrics/data", - GetPromptFile: "GET /prompts/{InstanceId}/{PromptId}/file", - GetTaskTemplate: - "GET /instance/{InstanceId}/task/template/{TaskTemplateId}", - GetTrafficDistribution: "GET /traffic-distribution/{Id}", - ImportPhoneNumber: "POST /phone-number/import", - ListAgentStatuses: "GET /agent-status/{InstanceId}", - ListAnalyticsDataAssociations: - "GET /analytics-data/instance/{InstanceId}/association", - ListAnalyticsDataLakeDataSets: - "GET /analytics-data/instance/{InstanceId}/datasets", - ListApprovedOrigins: "GET /instance/{InstanceId}/approved-origins", - ListAssociatedContacts: "GET /contact/associated/{InstanceId}", - ListAuthenticationProfiles: - "GET /authentication-profiles-summary/{InstanceId}", - ListBots: "GET /instance/{InstanceId}/bots", - ListContactEvaluations: "GET /contact-evaluations/{InstanceId}", - ListContactFlowModules: "GET /contact-flow-modules-summary/{InstanceId}", - ListContactFlows: "GET /contact-flows-summary/{InstanceId}", - ListContactFlowVersions: - "GET /contact-flows/{InstanceId}/{ContactFlowId}/versions", - ListContactReferences: "GET /contact/references/{InstanceId}/{ContactId}", - ListDefaultVocabularies: "POST /default-vocabulary-summary/{InstanceId}", - ListEvaluationForms: "GET /evaluation-forms/{InstanceId}", - ListEvaluationFormVersions: - "GET /evaluation-forms/{InstanceId}/{EvaluationFormId}/versions", - ListFlowAssociations: "GET /flow-associations-summary/{InstanceId}", - ListHoursOfOperationOverrides: - "GET /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides", - ListHoursOfOperations: "GET /hours-of-operations-summary/{InstanceId}", - ListInstanceAttributes: "GET /instance/{InstanceId}/attributes", - ListInstances: "GET /instance", - ListInstanceStorageConfigs: "GET /instance/{InstanceId}/storage-configs", - ListIntegrationAssociations: - "GET /instance/{InstanceId}/integration-associations", - ListLambdaFunctions: "GET /instance/{InstanceId}/lambda-functions", - ListLexBots: "GET /instance/{InstanceId}/lex-bots", - ListPhoneNumbers: "GET /phone-numbers-summary/{InstanceId}", - ListPhoneNumbersV2: "POST /phone-number/list", - ListPredefinedAttributes: "GET /predefined-attributes/{InstanceId}", - ListPrompts: "GET /prompts-summary/{InstanceId}", - ListQueueQuickConnects: "GET /queues/{InstanceId}/{QueueId}/quick-connects", - ListQueues: "GET /queues-summary/{InstanceId}", - ListQuickConnects: "GET /quick-connects/{InstanceId}", - ListRealtimeContactAnalysisSegmentsV2: - "POST /contact/list-real-time-analysis-segments-v2/{InstanceId}/{ContactId}", - ListRoutingProfileManualAssignmentQueues: - "GET /routing-profiles/{InstanceId}/{RoutingProfileId}/manual-assignment-queues", - ListRoutingProfileQueues: - "GET /routing-profiles/{InstanceId}/{RoutingProfileId}/queues", - ListRoutingProfiles: "GET /routing-profiles-summary/{InstanceId}", - ListRules: "GET /rules/{InstanceId}", - ListSecurityKeys: "GET /instance/{InstanceId}/security-keys", - ListSecurityProfileApplications: - "GET /security-profiles-applications/{InstanceId}/{SecurityProfileId}", - ListSecurityProfilePermissions: - "GET /security-profiles-permissions/{InstanceId}/{SecurityProfileId}", - ListSecurityProfiles: "GET /security-profiles-summary/{InstanceId}", - ListTagsForResource: "GET /tags/{resourceArn}", - ListTaskTemplates: "GET /instance/{InstanceId}/task/template", - ListTrafficDistributionGroups: "GET /traffic-distribution-groups", - ListTrafficDistributionGroupUsers: - "GET /traffic-distribution-group/{TrafficDistributionGroupId}/user", - ListUseCases: - "GET /instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases", - ListUserHierarchyGroups: "GET /user-hierarchy-groups-summary/{InstanceId}", - ListUserProficiencies: "GET /users/{InstanceId}/{UserId}/proficiencies", - ListUsers: "GET /users-summary/{InstanceId}", - ListViews: "GET /views/{InstanceId}", - ListViewVersions: "GET /views/{InstanceId}/{ViewId}/versions", - MonitorContact: "POST /contact/monitor", - PauseContact: "POST /contact/pause", - PutUserStatus: "PUT /users/{InstanceId}/{UserId}/status", - ReleasePhoneNumber: "DELETE /phone-number/{PhoneNumberId}", - ReplicateInstance: "POST /instance/{InstanceId}/replicate", - ResumeContact: "POST /contact/resume", - ResumeContactRecording: "POST /contact/resume-recording", - SearchAgentStatuses: "POST /search-agent-statuses", - SearchAvailablePhoneNumbers: "POST /phone-number/search-available", - SearchContactFlowModules: "POST /search-contact-flow-modules", - SearchContactFlows: "POST /search-contact-flows", - SearchContacts: "POST /search-contacts", - SearchEmailAddresses: "POST /search-email-addresses", - SearchHoursOfOperationOverrides: - "POST /search-hours-of-operation-overrides", - SearchHoursOfOperations: "POST /search-hours-of-operations", - SearchPredefinedAttributes: "POST /search-predefined-attributes", - SearchPrompts: "POST /search-prompts", - SearchQueues: "POST /search-queues", - SearchQuickConnects: "POST /search-quick-connects", - SearchResourceTags: "POST /search-resource-tags", - SearchRoutingProfiles: "POST /search-routing-profiles", - SearchSecurityProfiles: "POST /search-security-profiles", - SearchUserHierarchyGroups: "POST /search-user-hierarchy-groups", - SearchUsers: "POST /search-users", - SearchVocabularies: "POST /vocabulary-summary/{InstanceId}", - SendChatIntegrationEvent: "POST /chat-integration-event", - SendOutboundEmail: "PUT /instance/{InstanceId}/outbound-email", - StartAttachedFileUpload: "PUT /attached-files/{InstanceId}", - StartChatContact: "PUT /contact/chat", - StartContactEvaluation: "PUT /contact-evaluations/{InstanceId}", - StartContactRecording: "POST /contact/start-recording", - StartContactStreaming: "POST /contact/start-streaming", - StartEmailContact: "PUT /contact/email", - StartOutboundChatContact: "PUT /contact/outbound-chat", - StartOutboundEmailContact: "PUT /contact/outbound-email", - StartOutboundVoiceContact: "PUT /contact/outbound-voice", - StartScreenSharing: "PUT /contact/screen-sharing", - StartTaskContact: "PUT /contact/task", - StartWebRTCContact: "PUT /contact/webrtc", - StopContact: "POST /contact/stop", - StopContactRecording: "POST /contact/stop-recording", - StopContactStreaming: "POST /contact/stop-streaming", - SubmitContactEvaluation: - "POST /contact-evaluations/{InstanceId}/{EvaluationId}/submit", - SuspendContactRecording: "POST /contact/suspend-recording", - TagContact: "POST /contact/tags", - TagResource: "POST /tags/{resourceArn}", - TransferContact: "POST /contact/transfer", - UntagContact: "DELETE /contact/tags/{InstanceId}/{ContactId}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAgentStatus: "POST /agent-status/{InstanceId}/{AgentStatusId}", - UpdateAuthenticationProfile: - "POST /authentication-profiles/{InstanceId}/{AuthenticationProfileId}", - UpdateContact: "POST /contacts/{InstanceId}/{ContactId}", - UpdateContactAttributes: "POST /contact/attributes", - UpdateContactEvaluation: - "POST /contact-evaluations/{InstanceId}/{EvaluationId}", - UpdateContactFlowContent: - "POST /contact-flows/{InstanceId}/{ContactFlowId}/content", - UpdateContactFlowMetadata: - "POST /contact-flows/{InstanceId}/{ContactFlowId}/metadata", - UpdateContactFlowModuleContent: - "POST /contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/content", - UpdateContactFlowModuleMetadata: - "POST /contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/metadata", - UpdateContactFlowName: - "POST /contact-flows/{InstanceId}/{ContactFlowId}/name", - UpdateContactRoutingData: - "POST /contacts/{InstanceId}/{ContactId}/routing-data", - UpdateContactSchedule: "POST /contact/schedule", - UpdateEmailAddressMetadata: - "POST /email-addresses/{InstanceId}/{EmailAddressId}", - UpdateEvaluationForm: - "PUT /evaluation-forms/{InstanceId}/{EvaluationFormId}", - UpdateHoursOfOperation: - "POST /hours-of-operations/{InstanceId}/{HoursOfOperationId}", - UpdateHoursOfOperationOverride: - "POST /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides/{HoursOfOperationOverrideId}", - UpdateInstanceAttribute: - "POST /instance/{InstanceId}/attribute/{AttributeType}", - UpdateInstanceStorageConfig: - "POST /instance/{InstanceId}/storage-config/{AssociationId}", - UpdateParticipantAuthentication: - "POST /contact/update-participant-authentication", - UpdateParticipantRoleConfig: - "PUT /contact/participant-role-config/{InstanceId}/{ContactId}", - UpdatePhoneNumber: "PUT /phone-number/{PhoneNumberId}", - UpdatePhoneNumberMetadata: "PUT /phone-number/{PhoneNumberId}/metadata", - UpdatePredefinedAttribute: - "POST /predefined-attributes/{InstanceId}/{Name}", - UpdatePrompt: "POST /prompts/{InstanceId}/{PromptId}", - UpdateQueueHoursOfOperation: - "POST /queues/{InstanceId}/{QueueId}/hours-of-operation", - UpdateQueueMaxContacts: "POST /queues/{InstanceId}/{QueueId}/max-contacts", - UpdateQueueName: "POST /queues/{InstanceId}/{QueueId}/name", - UpdateQueueOutboundCallerConfig: - "POST /queues/{InstanceId}/{QueueId}/outbound-caller-config", - UpdateQueueOutboundEmailConfig: - "POST /queues/{InstanceId}/{QueueId}/outbound-email-config", - UpdateQueueStatus: "POST /queues/{InstanceId}/{QueueId}/status", - UpdateQuickConnectConfig: - "POST /quick-connects/{InstanceId}/{QuickConnectId}/config", - UpdateQuickConnectName: - "POST /quick-connects/{InstanceId}/{QuickConnectId}/name", - UpdateRoutingProfileAgentAvailabilityTimer: - "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/agent-availability-timer", - UpdateRoutingProfileConcurrency: - "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency", - UpdateRoutingProfileDefaultOutboundQueue: - "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue", - UpdateRoutingProfileName: - "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/name", - UpdateRoutingProfileQueues: - "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/queues", - UpdateRule: "PUT /rules/{InstanceId}/{RuleId}", - UpdateSecurityProfile: - "POST /security-profiles/{InstanceId}/{SecurityProfileId}", - UpdateTaskTemplate: - "POST /instance/{InstanceId}/task/template/{TaskTemplateId}", - UpdateTrafficDistribution: "PUT /traffic-distribution/{Id}", - UpdateUserHierarchy: "POST /users/{InstanceId}/{UserId}/hierarchy", - UpdateUserHierarchyGroupName: - "POST /user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name", - UpdateUserHierarchyStructure: "POST /user-hierarchy-structure/{InstanceId}", - UpdateUserIdentityInfo: "POST /users/{InstanceId}/{UserId}/identity-info", - UpdateUserPhoneConfig: "POST /users/{InstanceId}/{UserId}/phone-config", - UpdateUserProficiencies: "POST /users/{InstanceId}/{UserId}/proficiencies", - UpdateUserRoutingProfile: - "POST /users/{InstanceId}/{UserId}/routing-profile", - UpdateUserSecurityProfiles: - "POST /users/{InstanceId}/{UserId}/security-profiles", - UpdateViewContent: "POST /views/{InstanceId}/{ViewId}", - UpdateViewMetadata: "POST /views/{InstanceId}/{ViewId}/metadata", + "ActivateEvaluationForm": "POST /evaluation-forms/{InstanceId}/{EvaluationFormId}/activate", + "AssociateAnalyticsDataSet": "PUT /analytics-data/instance/{InstanceId}/association", + "AssociateApprovedOrigin": "PUT /instance/{InstanceId}/approved-origin", + "AssociateBot": "PUT /instance/{InstanceId}/bot", + "AssociateContactWithUser": "POST /contacts/{InstanceId}/{ContactId}/associate-user", + "AssociateDefaultVocabulary": "PUT /default-vocabulary/{InstanceId}/{LanguageCode}", + "AssociateEmailAddressAlias": "POST /email-addresses/{InstanceId}/{EmailAddressId}/associate-alias", + "AssociateFlow": "PUT /flow-associations/{InstanceId}", + "AssociateInstanceStorageConfig": "PUT /instance/{InstanceId}/storage-config", + "AssociateLambdaFunction": "PUT /instance/{InstanceId}/lambda-function", + "AssociateLexBot": "PUT /instance/{InstanceId}/lex-bot", + "AssociatePhoneNumberContactFlow": "PUT /phone-number/{PhoneNumberId}/contact-flow", + "AssociateQueueQuickConnects": "POST /queues/{InstanceId}/{QueueId}/associate-quick-connects", + "AssociateRoutingProfileQueues": "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/associate-queues", + "AssociateSecurityKey": "PUT /instance/{InstanceId}/security-key", + "AssociateTrafficDistributionGroupUser": "PUT /traffic-distribution-group/{TrafficDistributionGroupId}/user", + "AssociateUserProficiencies": "POST /users/{InstanceId}/{UserId}/associate-proficiencies", + "BatchAssociateAnalyticsDataSet": "PUT /analytics-data/instance/{InstanceId}/associations", + "BatchDisassociateAnalyticsDataSet": "POST /analytics-data/instance/{InstanceId}/associations", + "BatchGetAttachedFileMetadata": "POST /attached-files/{InstanceId}", + "BatchGetFlowAssociation": "POST /flow-associations-batch/{InstanceId}", + "BatchPutContact": "PUT /contact/batch/{InstanceId}", + "ClaimPhoneNumber": "POST /phone-number/claim", + "CompleteAttachedFileUpload": "POST /attached-files/{InstanceId}/{FileId}", + "CreateAgentStatus": "PUT /agent-status/{InstanceId}", + "CreateContact": "PUT /contact/create-contact", + "CreateContactFlow": "PUT /contact-flows/{InstanceId}", + "CreateContactFlowModule": "PUT /contact-flow-modules/{InstanceId}", + "CreateContactFlowVersion": "PUT /contact-flows/{InstanceId}/{ContactFlowId}/version", + "CreateEmailAddress": "PUT /email-addresses/{InstanceId}", + "CreateEvaluationForm": "PUT /evaluation-forms/{InstanceId}", + "CreateHoursOfOperation": "PUT /hours-of-operations/{InstanceId}", + "CreateHoursOfOperationOverride": "PUT /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides", + "CreateInstance": "PUT /instance", + "CreateIntegrationAssociation": "PUT /instance/{InstanceId}/integration-associations", + "CreateParticipant": "POST /contact/create-participant", + "CreatePersistentContactAssociation": "POST /contact/persistent-contact-association/{InstanceId}/{InitialContactId}", + "CreatePredefinedAttribute": "PUT /predefined-attributes/{InstanceId}", + "CreatePrompt": "PUT /prompts/{InstanceId}", + "CreatePushNotificationRegistration": "PUT /push-notification/{InstanceId}/registrations", + "CreateQueue": "PUT /queues/{InstanceId}", + "CreateQuickConnect": "PUT /quick-connects/{InstanceId}", + "CreateRoutingProfile": "PUT /routing-profiles/{InstanceId}", + "CreateRule": "POST /rules/{InstanceId}", + "CreateSecurityProfile": "PUT /security-profiles/{InstanceId}", + "CreateTaskTemplate": "PUT /instance/{InstanceId}/task/template", + "CreateTrafficDistributionGroup": "PUT /traffic-distribution-group", + "CreateUseCase": "PUT /instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases", + "CreateUser": "PUT /users/{InstanceId}", + "CreateUserHierarchyGroup": "PUT /user-hierarchy-groups/{InstanceId}", + "CreateView": "PUT /views/{InstanceId}", + "CreateViewVersion": "PUT /views/{InstanceId}/{ViewId}/versions", + "CreateVocabulary": "POST /vocabulary/{InstanceId}", + "DeactivateEvaluationForm": "POST /evaluation-forms/{InstanceId}/{EvaluationFormId}/deactivate", + "DeleteAttachedFile": "DELETE /attached-files/{InstanceId}/{FileId}", + "DeleteContactEvaluation": "DELETE /contact-evaluations/{InstanceId}/{EvaluationId}", + "DeleteContactFlow": "DELETE /contact-flows/{InstanceId}/{ContactFlowId}", + "DeleteContactFlowModule": "DELETE /contact-flow-modules/{InstanceId}/{ContactFlowModuleId}", + "DeleteContactFlowVersion": "DELETE /contact-flows/{InstanceId}/{ContactFlowId}/version/{ContactFlowVersion}", + "DeleteEmailAddress": "DELETE /email-addresses/{InstanceId}/{EmailAddressId}", + "DeleteEvaluationForm": "DELETE /evaluation-forms/{InstanceId}/{EvaluationFormId}", + "DeleteHoursOfOperation": "DELETE /hours-of-operations/{InstanceId}/{HoursOfOperationId}", + "DeleteHoursOfOperationOverride": "DELETE /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides/{HoursOfOperationOverrideId}", + "DeleteInstance": "DELETE /instance/{InstanceId}", + "DeleteIntegrationAssociation": "DELETE /instance/{InstanceId}/integration-associations/{IntegrationAssociationId}", + "DeletePredefinedAttribute": "DELETE /predefined-attributes/{InstanceId}/{Name}", + "DeletePrompt": "DELETE /prompts/{InstanceId}/{PromptId}", + "DeletePushNotificationRegistration": "DELETE /push-notification/{InstanceId}/registrations/{RegistrationId}", + "DeleteQueue": "DELETE /queues/{InstanceId}/{QueueId}", + "DeleteQuickConnect": "DELETE /quick-connects/{InstanceId}/{QuickConnectId}", + "DeleteRoutingProfile": "DELETE /routing-profiles/{InstanceId}/{RoutingProfileId}", + "DeleteRule": "DELETE /rules/{InstanceId}/{RuleId}", + "DeleteSecurityProfile": "DELETE /security-profiles/{InstanceId}/{SecurityProfileId}", + "DeleteTaskTemplate": "DELETE /instance/{InstanceId}/task/template/{TaskTemplateId}", + "DeleteTrafficDistributionGroup": "DELETE /traffic-distribution-group/{TrafficDistributionGroupId}", + "DeleteUseCase": "DELETE /instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases/{UseCaseId}", + "DeleteUser": "DELETE /users/{InstanceId}/{UserId}", + "DeleteUserHierarchyGroup": "DELETE /user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}", + "DeleteView": "DELETE /views/{InstanceId}/{ViewId}", + "DeleteViewVersion": "DELETE /views/{InstanceId}/{ViewId}/versions/{ViewVersion}", + "DeleteVocabulary": "POST /vocabulary-remove/{InstanceId}/{VocabularyId}", + "DescribeAgentStatus": "GET /agent-status/{InstanceId}/{AgentStatusId}", + "DescribeAuthenticationProfile": "GET /authentication-profiles/{InstanceId}/{AuthenticationProfileId}", + "DescribeContact": "GET /contacts/{InstanceId}/{ContactId}", + "DescribeContactEvaluation": "GET /contact-evaluations/{InstanceId}/{EvaluationId}", + "DescribeContactFlow": "GET /contact-flows/{InstanceId}/{ContactFlowId}", + "DescribeContactFlowModule": "GET /contact-flow-modules/{InstanceId}/{ContactFlowModuleId}", + "DescribeEmailAddress": "GET /email-addresses/{InstanceId}/{EmailAddressId}", + "DescribeEvaluationForm": "GET /evaluation-forms/{InstanceId}/{EvaluationFormId}", + "DescribeHoursOfOperation": "GET /hours-of-operations/{InstanceId}/{HoursOfOperationId}", + "DescribeHoursOfOperationOverride": "GET /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides/{HoursOfOperationOverrideId}", + "DescribeInstance": "GET /instance/{InstanceId}", + "DescribeInstanceAttribute": "GET /instance/{InstanceId}/attribute/{AttributeType}", + "DescribeInstanceStorageConfig": "GET /instance/{InstanceId}/storage-config/{AssociationId}", + "DescribePhoneNumber": "GET /phone-number/{PhoneNumberId}", + "DescribePredefinedAttribute": "GET /predefined-attributes/{InstanceId}/{Name}", + "DescribePrompt": "GET /prompts/{InstanceId}/{PromptId}", + "DescribeQueue": "GET /queues/{InstanceId}/{QueueId}", + "DescribeQuickConnect": "GET /quick-connects/{InstanceId}/{QuickConnectId}", + "DescribeRoutingProfile": "GET /routing-profiles/{InstanceId}/{RoutingProfileId}", + "DescribeRule": "GET /rules/{InstanceId}/{RuleId}", + "DescribeSecurityProfile": "GET /security-profiles/{InstanceId}/{SecurityProfileId}", + "DescribeTrafficDistributionGroup": "GET /traffic-distribution-group/{TrafficDistributionGroupId}", + "DescribeUser": "GET /users/{InstanceId}/{UserId}", + "DescribeUserHierarchyGroup": "GET /user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}", + "DescribeUserHierarchyStructure": "GET /user-hierarchy-structure/{InstanceId}", + "DescribeView": "GET /views/{InstanceId}/{ViewId}", + "DescribeVocabulary": "GET /vocabulary/{InstanceId}/{VocabularyId}", + "DisassociateAnalyticsDataSet": "POST /analytics-data/instance/{InstanceId}/association", + "DisassociateApprovedOrigin": "DELETE /instance/{InstanceId}/approved-origin", + "DisassociateBot": "POST /instance/{InstanceId}/bot", + "DisassociateEmailAddressAlias": "POST /email-addresses/{InstanceId}/{EmailAddressId}/disassociate-alias", + "DisassociateFlow": "DELETE /flow-associations/{InstanceId}/{ResourceId}/{ResourceType}", + "DisassociateInstanceStorageConfig": "DELETE /instance/{InstanceId}/storage-config/{AssociationId}", + "DisassociateLambdaFunction": "DELETE /instance/{InstanceId}/lambda-function", + "DisassociateLexBot": "DELETE /instance/{InstanceId}/lex-bot", + "DisassociatePhoneNumberContactFlow": "DELETE /phone-number/{PhoneNumberId}/contact-flow", + "DisassociateQueueQuickConnects": "POST /queues/{InstanceId}/{QueueId}/disassociate-quick-connects", + "DisassociateRoutingProfileQueues": "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/disassociate-queues", + "DisassociateSecurityKey": "DELETE /instance/{InstanceId}/security-key/{AssociationId}", + "DisassociateTrafficDistributionGroupUser": "DELETE /traffic-distribution-group/{TrafficDistributionGroupId}/user", + "DisassociateUserProficiencies": "POST /users/{InstanceId}/{UserId}/disassociate-proficiencies", + "DismissUserContact": "POST /users/{InstanceId}/{UserId}/contact", + "GetAttachedFile": "GET /attached-files/{InstanceId}/{FileId}", + "GetContactAttributes": "GET /contact/attributes/{InstanceId}/{InitialContactId}", + "GetContactMetrics": "POST /metrics/contact", + "GetCurrentMetricData": "POST /metrics/current/{InstanceId}", + "GetCurrentUserData": "POST /metrics/userdata/{InstanceId}", + "GetEffectiveHoursOfOperations": "GET /effective-hours-of-operations/{InstanceId}/{HoursOfOperationId}", + "GetFederationToken": "GET /user/federate/{InstanceId}", + "GetFlowAssociation": "GET /flow-associations/{InstanceId}/{ResourceId}/{ResourceType}", + "GetMetricData": "POST /metrics/historical/{InstanceId}", + "GetMetricDataV2": "POST /metrics/data", + "GetPromptFile": "GET /prompts/{InstanceId}/{PromptId}/file", + "GetTaskTemplate": "GET /instance/{InstanceId}/task/template/{TaskTemplateId}", + "GetTrafficDistribution": "GET /traffic-distribution/{Id}", + "ImportPhoneNumber": "POST /phone-number/import", + "ListAgentStatuses": "GET /agent-status/{InstanceId}", + "ListAnalyticsDataAssociations": "GET /analytics-data/instance/{InstanceId}/association", + "ListAnalyticsDataLakeDataSets": "GET /analytics-data/instance/{InstanceId}/datasets", + "ListApprovedOrigins": "GET /instance/{InstanceId}/approved-origins", + "ListAssociatedContacts": "GET /contact/associated/{InstanceId}", + "ListAuthenticationProfiles": "GET /authentication-profiles-summary/{InstanceId}", + "ListBots": "GET /instance/{InstanceId}/bots", + "ListContactEvaluations": "GET /contact-evaluations/{InstanceId}", + "ListContactFlowModules": "GET /contact-flow-modules-summary/{InstanceId}", + "ListContactFlows": "GET /contact-flows-summary/{InstanceId}", + "ListContactFlowVersions": "GET /contact-flows/{InstanceId}/{ContactFlowId}/versions", + "ListContactReferences": "GET /contact/references/{InstanceId}/{ContactId}", + "ListDefaultVocabularies": "POST /default-vocabulary-summary/{InstanceId}", + "ListEvaluationForms": "GET /evaluation-forms/{InstanceId}", + "ListEvaluationFormVersions": "GET /evaluation-forms/{InstanceId}/{EvaluationFormId}/versions", + "ListFlowAssociations": "GET /flow-associations-summary/{InstanceId}", + "ListHoursOfOperationOverrides": "GET /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides", + "ListHoursOfOperations": "GET /hours-of-operations-summary/{InstanceId}", + "ListInstanceAttributes": "GET /instance/{InstanceId}/attributes", + "ListInstances": "GET /instance", + "ListInstanceStorageConfigs": "GET /instance/{InstanceId}/storage-configs", + "ListIntegrationAssociations": "GET /instance/{InstanceId}/integration-associations", + "ListLambdaFunctions": "GET /instance/{InstanceId}/lambda-functions", + "ListLexBots": "GET /instance/{InstanceId}/lex-bots", + "ListPhoneNumbers": "GET /phone-numbers-summary/{InstanceId}", + "ListPhoneNumbersV2": "POST /phone-number/list", + "ListPredefinedAttributes": "GET /predefined-attributes/{InstanceId}", + "ListPrompts": "GET /prompts-summary/{InstanceId}", + "ListQueueQuickConnects": "GET /queues/{InstanceId}/{QueueId}/quick-connects", + "ListQueues": "GET /queues-summary/{InstanceId}", + "ListQuickConnects": "GET /quick-connects/{InstanceId}", + "ListRealtimeContactAnalysisSegmentsV2": "POST /contact/list-real-time-analysis-segments-v2/{InstanceId}/{ContactId}", + "ListRoutingProfileManualAssignmentQueues": "GET /routing-profiles/{InstanceId}/{RoutingProfileId}/manual-assignment-queues", + "ListRoutingProfileQueues": "GET /routing-profiles/{InstanceId}/{RoutingProfileId}/queues", + "ListRoutingProfiles": "GET /routing-profiles-summary/{InstanceId}", + "ListRules": "GET /rules/{InstanceId}", + "ListSecurityKeys": "GET /instance/{InstanceId}/security-keys", + "ListSecurityProfileApplications": "GET /security-profiles-applications/{InstanceId}/{SecurityProfileId}", + "ListSecurityProfilePermissions": "GET /security-profiles-permissions/{InstanceId}/{SecurityProfileId}", + "ListSecurityProfiles": "GET /security-profiles-summary/{InstanceId}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListTaskTemplates": "GET /instance/{InstanceId}/task/template", + "ListTrafficDistributionGroups": "GET /traffic-distribution-groups", + "ListTrafficDistributionGroupUsers": "GET /traffic-distribution-group/{TrafficDistributionGroupId}/user", + "ListUseCases": "GET /instance/{InstanceId}/integration-associations/{IntegrationAssociationId}/use-cases", + "ListUserHierarchyGroups": "GET /user-hierarchy-groups-summary/{InstanceId}", + "ListUserProficiencies": "GET /users/{InstanceId}/{UserId}/proficiencies", + "ListUsers": "GET /users-summary/{InstanceId}", + "ListViews": "GET /views/{InstanceId}", + "ListViewVersions": "GET /views/{InstanceId}/{ViewId}/versions", + "MonitorContact": "POST /contact/monitor", + "PauseContact": "POST /contact/pause", + "PutUserStatus": "PUT /users/{InstanceId}/{UserId}/status", + "ReleasePhoneNumber": "DELETE /phone-number/{PhoneNumberId}", + "ReplicateInstance": "POST /instance/{InstanceId}/replicate", + "ResumeContact": "POST /contact/resume", + "ResumeContactRecording": "POST /contact/resume-recording", + "SearchAgentStatuses": "POST /search-agent-statuses", + "SearchAvailablePhoneNumbers": "POST /phone-number/search-available", + "SearchContactFlowModules": "POST /search-contact-flow-modules", + "SearchContactFlows": "POST /search-contact-flows", + "SearchContacts": "POST /search-contacts", + "SearchEmailAddresses": "POST /search-email-addresses", + "SearchHoursOfOperationOverrides": "POST /search-hours-of-operation-overrides", + "SearchHoursOfOperations": "POST /search-hours-of-operations", + "SearchPredefinedAttributes": "POST /search-predefined-attributes", + "SearchPrompts": "POST /search-prompts", + "SearchQueues": "POST /search-queues", + "SearchQuickConnects": "POST /search-quick-connects", + "SearchResourceTags": "POST /search-resource-tags", + "SearchRoutingProfiles": "POST /search-routing-profiles", + "SearchSecurityProfiles": "POST /search-security-profiles", + "SearchUserHierarchyGroups": "POST /search-user-hierarchy-groups", + "SearchUsers": "POST /search-users", + "SearchVocabularies": "POST /vocabulary-summary/{InstanceId}", + "SendChatIntegrationEvent": "POST /chat-integration-event", + "SendOutboundEmail": "PUT /instance/{InstanceId}/outbound-email", + "StartAttachedFileUpload": "PUT /attached-files/{InstanceId}", + "StartChatContact": "PUT /contact/chat", + "StartContactEvaluation": "PUT /contact-evaluations/{InstanceId}", + "StartContactRecording": "POST /contact/start-recording", + "StartContactStreaming": "POST /contact/start-streaming", + "StartEmailContact": "PUT /contact/email", + "StartOutboundChatContact": "PUT /contact/outbound-chat", + "StartOutboundEmailContact": "PUT /contact/outbound-email", + "StartOutboundVoiceContact": "PUT /contact/outbound-voice", + "StartScreenSharing": "PUT /contact/screen-sharing", + "StartTaskContact": "PUT /contact/task", + "StartWebRTCContact": "PUT /contact/webrtc", + "StopContact": "POST /contact/stop", + "StopContactRecording": "POST /contact/stop-recording", + "StopContactStreaming": "POST /contact/stop-streaming", + "SubmitContactEvaluation": "POST /contact-evaluations/{InstanceId}/{EvaluationId}/submit", + "SuspendContactRecording": "POST /contact/suspend-recording", + "TagContact": "POST /contact/tags", + "TagResource": "POST /tags/{resourceArn}", + "TransferContact": "POST /contact/transfer", + "UntagContact": "DELETE /contact/tags/{InstanceId}/{ContactId}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAgentStatus": "POST /agent-status/{InstanceId}/{AgentStatusId}", + "UpdateAuthenticationProfile": "POST /authentication-profiles/{InstanceId}/{AuthenticationProfileId}", + "UpdateContact": "POST /contacts/{InstanceId}/{ContactId}", + "UpdateContactAttributes": "POST /contact/attributes", + "UpdateContactEvaluation": "POST /contact-evaluations/{InstanceId}/{EvaluationId}", + "UpdateContactFlowContent": "POST /contact-flows/{InstanceId}/{ContactFlowId}/content", + "UpdateContactFlowMetadata": "POST /contact-flows/{InstanceId}/{ContactFlowId}/metadata", + "UpdateContactFlowModuleContent": "POST /contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/content", + "UpdateContactFlowModuleMetadata": "POST /contact-flow-modules/{InstanceId}/{ContactFlowModuleId}/metadata", + "UpdateContactFlowName": "POST /contact-flows/{InstanceId}/{ContactFlowId}/name", + "UpdateContactRoutingData": "POST /contacts/{InstanceId}/{ContactId}/routing-data", + "UpdateContactSchedule": "POST /contact/schedule", + "UpdateEmailAddressMetadata": "POST /email-addresses/{InstanceId}/{EmailAddressId}", + "UpdateEvaluationForm": "PUT /evaluation-forms/{InstanceId}/{EvaluationFormId}", + "UpdateHoursOfOperation": "POST /hours-of-operations/{InstanceId}/{HoursOfOperationId}", + "UpdateHoursOfOperationOverride": "POST /hours-of-operations/{InstanceId}/{HoursOfOperationId}/overrides/{HoursOfOperationOverrideId}", + "UpdateInstanceAttribute": "POST /instance/{InstanceId}/attribute/{AttributeType}", + "UpdateInstanceStorageConfig": "POST /instance/{InstanceId}/storage-config/{AssociationId}", + "UpdateParticipantAuthentication": "POST /contact/update-participant-authentication", + "UpdateParticipantRoleConfig": "PUT /contact/participant-role-config/{InstanceId}/{ContactId}", + "UpdatePhoneNumber": "PUT /phone-number/{PhoneNumberId}", + "UpdatePhoneNumberMetadata": "PUT /phone-number/{PhoneNumberId}/metadata", + "UpdatePredefinedAttribute": "POST /predefined-attributes/{InstanceId}/{Name}", + "UpdatePrompt": "POST /prompts/{InstanceId}/{PromptId}", + "UpdateQueueHoursOfOperation": "POST /queues/{InstanceId}/{QueueId}/hours-of-operation", + "UpdateQueueMaxContacts": "POST /queues/{InstanceId}/{QueueId}/max-contacts", + "UpdateQueueName": "POST /queues/{InstanceId}/{QueueId}/name", + "UpdateQueueOutboundCallerConfig": "POST /queues/{InstanceId}/{QueueId}/outbound-caller-config", + "UpdateQueueOutboundEmailConfig": "POST /queues/{InstanceId}/{QueueId}/outbound-email-config", + "UpdateQueueStatus": "POST /queues/{InstanceId}/{QueueId}/status", + "UpdateQuickConnectConfig": "POST /quick-connects/{InstanceId}/{QuickConnectId}/config", + "UpdateQuickConnectName": "POST /quick-connects/{InstanceId}/{QuickConnectId}/name", + "UpdateRoutingProfileAgentAvailabilityTimer": "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/agent-availability-timer", + "UpdateRoutingProfileConcurrency": "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/concurrency", + "UpdateRoutingProfileDefaultOutboundQueue": "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/default-outbound-queue", + "UpdateRoutingProfileName": "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/name", + "UpdateRoutingProfileQueues": "POST /routing-profiles/{InstanceId}/{RoutingProfileId}/queues", + "UpdateRule": "PUT /rules/{InstanceId}/{RuleId}", + "UpdateSecurityProfile": "POST /security-profiles/{InstanceId}/{SecurityProfileId}", + "UpdateTaskTemplate": "POST /instance/{InstanceId}/task/template/{TaskTemplateId}", + "UpdateTrafficDistribution": "PUT /traffic-distribution/{Id}", + "UpdateUserHierarchy": "POST /users/{InstanceId}/{UserId}/hierarchy", + "UpdateUserHierarchyGroupName": "POST /user-hierarchy-groups/{InstanceId}/{HierarchyGroupId}/name", + "UpdateUserHierarchyStructure": "POST /user-hierarchy-structure/{InstanceId}", + "UpdateUserIdentityInfo": "POST /users/{InstanceId}/{UserId}/identity-info", + "UpdateUserPhoneConfig": "POST /users/{InstanceId}/{UserId}/phone-config", + "UpdateUserProficiencies": "POST /users/{InstanceId}/{UserId}/proficiencies", + "UpdateUserRoutingProfile": "POST /users/{InstanceId}/{UserId}/routing-profile", + "UpdateUserSecurityProfiles": "POST /users/{InstanceId}/{UserId}/security-profiles", + "UpdateViewContent": "POST /views/{InstanceId}/{ViewId}", + "UpdateViewMetadata": "POST /views/{InstanceId}/{ViewId}/metadata", }, } as const satisfies ServiceMetadata; diff --git a/src/services/connect/types.ts b/src/services/connect/types.ts index 4721691a..232d39de 100644 --- a/src/services/connect/types.ts +++ b/src/services/connect/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class Connect extends AWSServiceClient { @@ -41,1813 +8,937 @@ export declare class Connect extends AWSServiceClient { input: ActivateEvaluationFormRequest, ): Effect.Effect< ActivateEvaluationFormResponse, - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateAnalyticsDataSet( input: AssociateAnalyticsDataSetRequest, ): Effect.Effect< AssociateAnalyticsDataSetResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateApprovedOrigin( input: AssociateApprovedOriginRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; associateBot( input: AssociateBotRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidRequestException | LimitExceededException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; associateContactWithUser( input: AssociateContactWithUserRequest, ): Effect.Effect< AssociateContactWithUserResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateDefaultVocabulary( input: AssociateDefaultVocabularyRequest, ): Effect.Effect< AssociateDefaultVocabularyResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateEmailAddressAlias( input: AssociateEmailAddressAliasRequest, ): Effect.Effect< AssociateEmailAddressAliasResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateFlow( input: AssociateFlowRequest, ): Effect.Effect< AssociateFlowResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateInstanceStorageConfig( input: AssociateInstanceStorageConfigRequest, ): Effect.Effect< AssociateInstanceStorageConfigResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateLambdaFunction( input: AssociateLambdaFunctionRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; associateLexBot( input: AssociateLexBotRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; associatePhoneNumberContactFlow( input: AssociatePhoneNumberContactFlowRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateQueueQuickConnects( input: AssociateQueueQuickConnectsRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateRoutingProfileQueues( input: AssociateRoutingProfileQueuesRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateSecurityKey( input: AssociateSecurityKeyRequest, ): Effect.Effect< AssociateSecurityKeyResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; associateTrafficDistributionGroupUser( input: AssociateTrafficDistributionGroupUserRequest, ): Effect.Effect< AssociateTrafficDistributionGroupUserResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateUserProficiencies( input: AssociateUserProficienciesRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchAssociateAnalyticsDataSet( input: BatchAssociateAnalyticsDataSetRequest, ): Effect.Effect< BatchAssociateAnalyticsDataSetResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchDisassociateAnalyticsDataSet( input: BatchDisassociateAnalyticsDataSetRequest, ): Effect.Effect< BatchDisassociateAnalyticsDataSetResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchGetAttachedFileMetadata( input: BatchGetAttachedFileMetadataRequest, ): Effect.Effect< BatchGetAttachedFileMetadataResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchGetFlowAssociation( input: BatchGetFlowAssociationRequest, ): Effect.Effect< BatchGetFlowAssociationResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchPutContact( input: BatchPutContactRequest, ): Effect.Effect< BatchPutContactResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; claimPhoneNumber( input: ClaimPhoneNumberRequest, ): Effect.Effect< ClaimPhoneNumberResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; completeAttachedFileUpload( input: CompleteAttachedFileUploadRequest, ): Effect.Effect< CompleteAttachedFileUploadResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createAgentStatus( input: CreateAgentStatusRequest, ): Effect.Effect< CreateAgentStatusResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createContact( input: CreateContactRequest, ): Effect.Effect< CreateContactResponse, - | AccessDeniedException - | ConflictException - | IdempotencyException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | IdempotencyException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createContactFlow( input: CreateContactFlowRequest, ): Effect.Effect< CreateContactFlowResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidContactFlowException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidContactFlowException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createContactFlowModule( input: CreateContactFlowModuleRequest, ): Effect.Effect< CreateContactFlowModuleResponse, - | AccessDeniedException - | DuplicateResourceException - | IdempotencyException - | InternalServiceException - | InvalidContactFlowModuleException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | DuplicateResourceException | IdempotencyException | InternalServiceException | InvalidContactFlowModuleException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createContactFlowVersion( input: CreateContactFlowVersionRequest, ): Effect.Effect< CreateContactFlowVersionResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createEmailAddress( input: CreateEmailAddressRequest, ): Effect.Effect< CreateEmailAddressResponse, - | AccessDeniedException - | DuplicateResourceException - | IdempotencyException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | DuplicateResourceException | IdempotencyException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createEvaluationForm( input: CreateEvaluationFormRequest, ): Effect.Effect< CreateEvaluationFormResponse, - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createHoursOfOperation( input: CreateHoursOfOperationRequest, ): Effect.Effect< CreateHoursOfOperationResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createHoursOfOperationOverride( input: CreateHoursOfOperationOverrideRequest, ): Effect.Effect< CreateHoursOfOperationOverrideResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createInstance( input: CreateInstanceRequest, ): Effect.Effect< CreateInstanceResponse, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createIntegrationAssociation( input: CreateIntegrationAssociationRequest, ): Effect.Effect< CreateIntegrationAssociationResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createParticipant( input: CreateParticipantRequest, ): Effect.Effect< CreateParticipantResponse, - | ConflictException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createPersistentContactAssociation( input: CreatePersistentContactAssociationRequest, ): Effect.Effect< CreatePersistentContactAssociationResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createPredefinedAttribute( input: CreatePredefinedAttributeRequest, ): Effect.Effect< {}, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createPrompt( input: CreatePromptRequest, ): Effect.Effect< CreatePromptResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ThrottlingException | CommonAwsError >; createPushNotificationRegistration( input: CreatePushNotificationRegistrationRequest, ): Effect.Effect< CreatePushNotificationRegistrationResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createQueue( input: CreateQueueRequest, ): Effect.Effect< CreateQueueResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createQuickConnect( input: CreateQuickConnectRequest, ): Effect.Effect< CreateQuickConnectResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createRoutingProfile( input: CreateRoutingProfileRequest, ): Effect.Effect< CreateRoutingProfileResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createRule( input: CreateRuleRequest, ): Effect.Effect< CreateRuleResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createSecurityProfile( input: CreateSecurityProfileRequest, ): Effect.Effect< CreateSecurityProfileResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createTaskTemplate( input: CreateTaskTemplateRequest, ): Effect.Effect< CreateTaskTemplateResponse, - | InternalServiceException - | InvalidParameterException - | PropertyValidationException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | PropertyValidationException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createTrafficDistributionGroup( input: CreateTrafficDistributionGroupRequest, ): Effect.Effect< CreateTrafficDistributionGroupResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ResourceNotReadyException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ResourceNotReadyException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createUseCase( input: CreateUseCaseRequest, ): Effect.Effect< CreateUseCaseResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createUserHierarchyGroup( input: CreateUserHierarchyGroupRequest, ): Effect.Effect< CreateUserHierarchyGroupResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createView( input: CreateViewRequest, ): Effect.Effect< CreateViewResponse, - | AccessDeniedException - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; createViewVersion( input: CreateViewVersionRequest, ): Effect.Effect< CreateViewVersionResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; createVocabulary( input: CreateVocabularyRequest, ): Effect.Effect< CreateVocabularyResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; deactivateEvaluationForm( input: DeactivateEvaluationFormRequest, ): Effect.Effect< DeactivateEvaluationFormResponse, - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAttachedFile( input: DeleteAttachedFileRequest, ): Effect.Effect< DeleteAttachedFileResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteContactEvaluation( input: DeleteContactEvaluationRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteContactFlow( input: DeleteContactFlowRequest, ): Effect.Effect< DeleteContactFlowResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteContactFlowModule( input: DeleteContactFlowModuleRequest, ): Effect.Effect< - DeleteContactFlowModuleResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DeleteContactFlowModuleResponse, + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteContactFlowVersion( input: DeleteContactFlowVersionRequest, ): Effect.Effect< DeleteContactFlowVersionResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteEmailAddress( input: DeleteEmailAddressRequest, ): Effect.Effect< DeleteEmailAddressResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteEvaluationForm( input: DeleteEvaluationFormRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteHoursOfOperation( input: DeleteHoursOfOperationRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteHoursOfOperationOverride( input: DeleteHoursOfOperationOverrideRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteInstance( input: DeleteInstanceRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteIntegrationAssociation( input: DeleteIntegrationAssociationRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deletePredefinedAttribute( input: DeletePredefinedAttributeRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deletePrompt( input: DeletePromptRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deletePushNotificationRegistration( input: DeletePushNotificationRegistrationRequest, ): Effect.Effect< DeletePushNotificationRegistrationResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteQueue( input: DeleteQueueRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteQuickConnect( input: DeleteQuickConnectRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteRoutingProfile( input: DeleteRoutingProfileRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteRule( input: DeleteRuleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteSecurityProfile( input: DeleteSecurityProfileRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteTaskTemplate( input: DeleteTaskTemplateRequest, ): Effect.Effect< DeleteTaskTemplateResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteTrafficDistributionGroup( input: DeleteTrafficDistributionGroupRequest, ): Effect.Effect< DeleteTrafficDistributionGroupResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceInUseException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceInUseException | ThrottlingException | CommonAwsError >; deleteUseCase( input: DeleteUseCaseRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteUserHierarchyGroup( input: DeleteUserHierarchyGroupRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteView( input: DeleteViewRequest, ): Effect.Effect< DeleteViewResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; deleteViewVersion( input: DeleteViewVersionRequest, ): Effect.Effect< DeleteViewVersionResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; deleteVocabulary( input: DeleteVocabularyRequest, ): Effect.Effect< DeleteVocabularyResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAgentStatus( input: DescribeAgentStatusRequest, ): Effect.Effect< DescribeAgentStatusResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAuthenticationProfile( input: DescribeAuthenticationProfileRequest, ): Effect.Effect< DescribeAuthenticationProfileResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeContact( input: DescribeContactRequest, ): Effect.Effect< DescribeContactResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeContactEvaluation( input: DescribeContactEvaluationRequest, ): Effect.Effect< DescribeContactEvaluationResponse, - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeContactFlow( input: DescribeContactFlowRequest, ): Effect.Effect< DescribeContactFlowResponse, - | ContactFlowNotPublishedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ContactFlowNotPublishedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeContactFlowModule( input: DescribeContactFlowModuleRequest, ): Effect.Effect< DescribeContactFlowModuleResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeEmailAddress( input: DescribeEmailAddressRequest, ): Effect.Effect< DescribeEmailAddressResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeEvaluationForm( input: DescribeEvaluationFormRequest, ): Effect.Effect< DescribeEvaluationFormResponse, - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeHoursOfOperation( input: DescribeHoursOfOperationRequest, ): Effect.Effect< DescribeHoursOfOperationResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeHoursOfOperationOverride( input: DescribeHoursOfOperationOverrideRequest, ): Effect.Effect< DescribeHoursOfOperationOverrideResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeInstance( input: DescribeInstanceRequest, ): Effect.Effect< DescribeInstanceResponse, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeInstanceAttribute( input: DescribeInstanceAttributeRequest, ): Effect.Effect< DescribeInstanceAttributeResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeInstanceStorageConfig( input: DescribeInstanceStorageConfigRequest, ): Effect.Effect< DescribeInstanceStorageConfigResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describePhoneNumber( input: DescribePhoneNumberRequest, ): Effect.Effect< DescribePhoneNumberResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describePredefinedAttribute( input: DescribePredefinedAttributeRequest, ): Effect.Effect< DescribePredefinedAttributeResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describePrompt( input: DescribePromptRequest, ): Effect.Effect< DescribePromptResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeQueue( input: DescribeQueueRequest, ): Effect.Effect< DescribeQueueResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeQuickConnect( input: DescribeQuickConnectRequest, ): Effect.Effect< DescribeQuickConnectResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeRoutingProfile( input: DescribeRoutingProfileRequest, ): Effect.Effect< DescribeRoutingProfileResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeRule( input: DescribeRuleRequest, ): Effect.Effect< DescribeRuleResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeSecurityProfile( input: DescribeSecurityProfileRequest, ): Effect.Effect< DescribeSecurityProfileResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeTrafficDistributionGroup( input: DescribeTrafficDistributionGroupRequest, ): Effect.Effect< DescribeTrafficDistributionGroupResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeUser( input: DescribeUserRequest, ): Effect.Effect< DescribeUserResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeUserHierarchyGroup( input: DescribeUserHierarchyGroupRequest, ): Effect.Effect< DescribeUserHierarchyGroupResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeUserHierarchyStructure( input: DescribeUserHierarchyStructureRequest, ): Effect.Effect< DescribeUserHierarchyStructureResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeView( input: DescribeViewRequest, ): Effect.Effect< DescribeViewResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeVocabulary( input: DescribeVocabularyRequest, ): Effect.Effect< DescribeVocabularyResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateAnalyticsDataSet( input: DisassociateAnalyticsDataSetRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateApprovedOrigin( input: DisassociateApprovedOriginRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateBot( input: DisassociateBotRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateEmailAddressAlias( input: DisassociateEmailAddressAliasRequest, ): Effect.Effect< DisassociateEmailAddressAliasResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateFlow( input: DisassociateFlowRequest, ): Effect.Effect< DisassociateFlowResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateInstanceStorageConfig( input: DisassociateInstanceStorageConfigRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateLambdaFunction( input: DisassociateLambdaFunctionRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateLexBot( input: DisassociateLexBotRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociatePhoneNumberContactFlow( input: DisassociatePhoneNumberContactFlowRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateQueueQuickConnects( input: DisassociateQueueQuickConnectsRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateRoutingProfileQueues( input: DisassociateRoutingProfileQueuesRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateSecurityKey( input: DisassociateSecurityKeyRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateTrafficDistributionGroupUser( input: DisassociateTrafficDistributionGroupUserRequest, ): Effect.Effect< DisassociateTrafficDistributionGroupUserResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateUserProficiencies( input: DisassociateUserProficienciesRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; dismissUserContact( input: DismissUserContactRequest, ): Effect.Effect< DismissUserContactResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getAttachedFile( input: GetAttachedFileRequest, ): Effect.Effect< GetAttachedFileResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getContactAttributes( input: GetContactAttributesRequest, ): Effect.Effect< GetContactAttributesResponse, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; getContactMetrics( input: GetContactMetricsRequest, ): Effect.Effect< GetContactMetricsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getCurrentMetricData( input: GetCurrentMetricDataRequest, ): Effect.Effect< GetCurrentMetricDataResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getCurrentUserData( input: GetCurrentUserDataRequest, ): Effect.Effect< GetCurrentUserDataResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getEffectiveHoursOfOperations( input: GetEffectiveHoursOfOperationsRequest, ): Effect.Effect< GetEffectiveHoursOfOperationsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getFederationToken( input: GetFederationTokenRequest, ): Effect.Effect< GetFederationTokenResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | UserNotFoundException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | UserNotFoundException | CommonAwsError >; getFlowAssociation( input: GetFlowAssociationRequest, ): Effect.Effect< GetFlowAssociationResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getMetricData( input: GetMetricDataRequest, ): Effect.Effect< GetMetricDataResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getMetricDataV2( input: GetMetricDataV2Request, ): Effect.Effect< GetMetricDataV2Response, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getPromptFile( input: GetPromptFileRequest, ): Effect.Effect< GetPromptFileResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getTaskTemplate( input: GetTaskTemplateRequest, ): Effect.Effect< GetTaskTemplateResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getTrafficDistribution( input: GetTrafficDistributionRequest, ): Effect.Effect< GetTrafficDistributionResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; importPhoneNumber( input: ImportPhoneNumberRequest, ): Effect.Effect< ImportPhoneNumberResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAgentStatuses( input: ListAgentStatusRequest, ): Effect.Effect< ListAgentStatusResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAnalyticsDataAssociations( input: ListAnalyticsDataAssociationsRequest, ): Effect.Effect< ListAnalyticsDataAssociationsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAnalyticsDataLakeDataSets( input: ListAnalyticsDataLakeDataSetsRequest, ): Effect.Effect< ListAnalyticsDataLakeDataSetsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listApprovedOrigins( input: ListApprovedOriginsRequest, ): Effect.Effect< ListApprovedOriginsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAssociatedContacts( input: ListAssociatedContactsRequest, ): Effect.Effect< ListAssociatedContactsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAuthenticationProfiles( input: ListAuthenticationProfilesRequest, ): Effect.Effect< ListAuthenticationProfilesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listBots( input: ListBotsRequest, ): Effect.Effect< ListBotsResponse, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listContactEvaluations( input: ListContactEvaluationsRequest, ): Effect.Effect< ListContactEvaluationsResponse, - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listContactFlowModules( input: ListContactFlowModulesRequest, ): Effect.Effect< ListContactFlowModulesResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listContactFlows( input: ListContactFlowsRequest, ): Effect.Effect< ListContactFlowsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listContactFlowVersions( input: ListContactFlowVersionsRequest, ): Effect.Effect< ListContactFlowVersionsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listContactReferences( input: ListContactReferencesRequest, ): Effect.Effect< ListContactReferencesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listDefaultVocabularies( input: ListDefaultVocabulariesRequest, ): Effect.Effect< ListDefaultVocabulariesResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ThrottlingException | CommonAwsError >; listEvaluationForms( input: ListEvaluationFormsRequest, ): Effect.Effect< ListEvaluationFormsResponse, - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listEvaluationFormVersions( input: ListEvaluationFormVersionsRequest, ): Effect.Effect< ListEvaluationFormVersionsResponse, - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listFlowAssociations( input: ListFlowAssociationsRequest, ): Effect.Effect< ListFlowAssociationsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listHoursOfOperationOverrides( input: ListHoursOfOperationOverridesRequest, ): Effect.Effect< ListHoursOfOperationOverridesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listHoursOfOperations( input: ListHoursOfOperationsRequest, ): Effect.Effect< ListHoursOfOperationsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listInstanceAttributes( input: ListInstanceAttributesRequest, ): Effect.Effect< ListInstanceAttributesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listInstances( input: ListInstancesRequest, @@ -1857,1492 +948,783 @@ export declare class Connect extends AWSServiceClient { >; listInstanceStorageConfigs( input: ListInstanceStorageConfigsRequest, - ): Effect.Effect< - ListInstanceStorageConfigsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ): Effect.Effect< + ListInstanceStorageConfigsResponse, + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listIntegrationAssociations( input: ListIntegrationAssociationsRequest, ): Effect.Effect< ListIntegrationAssociationsResponse, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listLambdaFunctions( input: ListLambdaFunctionsRequest, ): Effect.Effect< ListLambdaFunctionsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listLexBots( input: ListLexBotsRequest, ): Effect.Effect< ListLexBotsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listPhoneNumbers( input: ListPhoneNumbersRequest, ): Effect.Effect< ListPhoneNumbersResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listPhoneNumbersV2( input: ListPhoneNumbersV2Request, ): Effect.Effect< ListPhoneNumbersV2Response, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listPredefinedAttributes( input: ListPredefinedAttributesRequest, ): Effect.Effect< ListPredefinedAttributesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listPrompts( input: ListPromptsRequest, ): Effect.Effect< ListPromptsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listQueueQuickConnects( input: ListQueueQuickConnectsRequest, ): Effect.Effect< ListQueueQuickConnectsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listQueues( input: ListQueuesRequest, ): Effect.Effect< ListQueuesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listQuickConnects( input: ListQuickConnectsRequest, ): Effect.Effect< ListQuickConnectsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRealtimeContactAnalysisSegmentsV2( input: ListRealtimeContactAnalysisSegmentsV2Request, ): Effect.Effect< ListRealtimeContactAnalysisSegmentsV2Response, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | OutputTypeNotFoundException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | OutputTypeNotFoundException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRoutingProfileManualAssignmentQueues( input: ListRoutingProfileManualAssignmentQueuesRequest, ): Effect.Effect< ListRoutingProfileManualAssignmentQueuesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRoutingProfileQueues( input: ListRoutingProfileQueuesRequest, ): Effect.Effect< ListRoutingProfileQueuesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRoutingProfiles( input: ListRoutingProfilesRequest, ): Effect.Effect< ListRoutingProfilesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRules( input: ListRulesRequest, ): Effect.Effect< ListRulesResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listSecurityKeys( input: ListSecurityKeysRequest, ): Effect.Effect< ListSecurityKeysResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listSecurityProfileApplications( input: ListSecurityProfileApplicationsRequest, ): Effect.Effect< ListSecurityProfileApplicationsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listSecurityProfilePermissions( input: ListSecurityProfilePermissionsRequest, ): Effect.Effect< ListSecurityProfilePermissionsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listSecurityProfiles( input: ListSecurityProfilesRequest, ): Effect.Effect< ListSecurityProfilesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTaskTemplates( input: ListTaskTemplatesRequest, ): Effect.Effect< ListTaskTemplatesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTrafficDistributionGroups( input: ListTrafficDistributionGroupsRequest, ): Effect.Effect< ListTrafficDistributionGroupsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ThrottlingException | CommonAwsError >; listTrafficDistributionGroupUsers( input: ListTrafficDistributionGroupUsersRequest, ): Effect.Effect< ListTrafficDistributionGroupUsersResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listUseCases( input: ListUseCasesRequest, ): Effect.Effect< ListUseCasesResponse, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listUserHierarchyGroups( input: ListUserHierarchyGroupsRequest, ): Effect.Effect< ListUserHierarchyGroupsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listUserProficiencies( input: ListUserProficienciesRequest, ): Effect.Effect< ListUserProficienciesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listUsers( input: ListUsersRequest, ): Effect.Effect< ListUsersResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listViews( input: ListViewsRequest, ): Effect.Effect< ListViewsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listViewVersions( input: ListViewVersionsRequest, ): Effect.Effect< ListViewVersionsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; monitorContact( input: MonitorContactRequest, ): Effect.Effect< MonitorContactResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; pauseContact( input: PauseContactRequest, ): Effect.Effect< PauseContactResponse, - | AccessDeniedException - | ConflictException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putUserStatus( input: PutUserStatusRequest, ): Effect.Effect< PutUserStatusResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; releasePhoneNumber( input: ReleasePhoneNumberRequest, ): Effect.Effect< {}, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidParameterException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidParameterException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; replicateInstance( input: ReplicateInstanceRequest, ): Effect.Effect< ReplicateInstanceResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ResourceNotReadyException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ResourceNotReadyException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; resumeContact( input: ResumeContactRequest, ): Effect.Effect< ResumeContactResponse, - | AccessDeniedException - | ConflictException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; resumeContactRecording( input: ResumeContactRecordingRequest, ): Effect.Effect< ResumeContactRecordingResponse, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; searchAgentStatuses( input: SearchAgentStatusesRequest, ): Effect.Effect< SearchAgentStatusesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchAvailablePhoneNumbers( input: SearchAvailablePhoneNumbersRequest, ): Effect.Effect< SearchAvailablePhoneNumbersResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | ThrottlingException | CommonAwsError >; searchContactFlowModules( input: SearchContactFlowModulesRequest, ): Effect.Effect< SearchContactFlowModulesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchContactFlows( input: SearchContactFlowsRequest, ): Effect.Effect< SearchContactFlowsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchContacts( input: SearchContactsRequest, ): Effect.Effect< SearchContactsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchEmailAddresses( input: SearchEmailAddressesRequest, ): Effect.Effect< SearchEmailAddressesResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchHoursOfOperationOverrides( input: SearchHoursOfOperationOverridesRequest, ): Effect.Effect< SearchHoursOfOperationOverridesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchHoursOfOperations( input: SearchHoursOfOperationsRequest, ): Effect.Effect< SearchHoursOfOperationsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchPredefinedAttributes( input: SearchPredefinedAttributesRequest, ): Effect.Effect< SearchPredefinedAttributesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchPrompts( input: SearchPromptsRequest, ): Effect.Effect< SearchPromptsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchQueues( input: SearchQueuesRequest, ): Effect.Effect< SearchQueuesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchQuickConnects( - input: SearchQuickConnectsRequest, - ): Effect.Effect< - SearchQuickConnectsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + input: SearchQuickConnectsRequest, + ): Effect.Effect< + SearchQuickConnectsResponse, + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchResourceTags( input: SearchResourceTagsRequest, ): Effect.Effect< SearchResourceTagsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | MaximumResultReturnedException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | MaximumResultReturnedException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchRoutingProfiles( input: SearchRoutingProfilesRequest, ): Effect.Effect< SearchRoutingProfilesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchSecurityProfiles( input: SearchSecurityProfilesRequest, ): Effect.Effect< SearchSecurityProfilesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchUserHierarchyGroups( input: SearchUserHierarchyGroupsRequest, ): Effect.Effect< SearchUserHierarchyGroupsResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchUsers( input: SearchUsersRequest, ): Effect.Effect< SearchUsersResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchVocabularies( input: SearchVocabulariesRequest, ): Effect.Effect< SearchVocabulariesResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ThrottlingException | CommonAwsError >; sendChatIntegrationEvent( input: SendChatIntegrationEventRequest, ): Effect.Effect< SendChatIntegrationEventResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; sendOutboundEmail( input: SendOutboundEmailRequest, ): Effect.Effect< SendOutboundEmailResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; startAttachedFileUpload( input: StartAttachedFileUploadRequest, ): Effect.Effect< StartAttachedFileUploadResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceConflictException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceConflictException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; startChatContact( input: StartChatContactRequest, ): Effect.Effect< StartChatContactResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; startContactEvaluation( input: StartContactEvaluationRequest, ): Effect.Effect< StartContactEvaluationResponse, - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; startContactRecording( input: StartContactRecordingRequest, ): Effect.Effect< StartContactRecordingResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; startContactStreaming( input: StartContactStreamingRequest, ): Effect.Effect< StartContactStreamingResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; startEmailContact( input: StartEmailContactRequest, ): Effect.Effect< StartEmailContactResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; startOutboundChatContact( input: StartOutboundChatContactRequest, ): Effect.Effect< StartOutboundChatContactResponse, - | AccessDeniedException - | ConflictException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startOutboundEmailContact( input: StartOutboundEmailContactRequest, ): Effect.Effect< StartOutboundEmailContactResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; startOutboundVoiceContact( input: StartOutboundVoiceContactRequest, ): Effect.Effect< StartOutboundVoiceContactResponse, - | DestinationNotAllowedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | OutboundContactNotPermittedException - | ResourceNotFoundException - | CommonAwsError + DestinationNotAllowedException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | OutboundContactNotPermittedException | ResourceNotFoundException | CommonAwsError >; startScreenSharing( input: StartScreenSharingRequest, ): Effect.Effect< StartScreenSharingResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startTaskContact( input: StartTaskContactRequest, ): Effect.Effect< StartTaskContactResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; startWebRTCContact( input: StartWebRTCContactRequest, ): Effect.Effect< StartWebRTCContactResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; stopContact( input: StopContactRequest, ): Effect.Effect< StopContactResponse, - | ContactNotFoundException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + ContactNotFoundException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; stopContactRecording( input: StopContactRecordingRequest, ): Effect.Effect< StopContactRecordingResponse, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; stopContactStreaming( input: StopContactStreamingRequest, ): Effect.Effect< StopContactStreamingResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; submitContactEvaluation( input: SubmitContactEvaluationRequest, ): Effect.Effect< SubmitContactEvaluationResponse, - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; suspendContactRecording( input: SuspendContactRecordingRequest, ): Effect.Effect< SuspendContactRecordingResponse, - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; tagContact( input: TagContactRequest, ): Effect.Effect< TagContactResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; transferContact( input: TransferContactRequest, ): Effect.Effect< TransferContactResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidRequestException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidRequestException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; untagContact( input: UntagContactRequest, ): Effect.Effect< UntagContactResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAgentStatus( input: UpdateAgentStatusRequest, ): Effect.Effect< {}, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAuthenticationProfile( input: UpdateAuthenticationProfileRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateContact( input: UpdateContactRequest, ): Effect.Effect< UpdateContactResponse, - | AccessDeniedException - | ConflictException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateContactAttributes( input: UpdateContactAttributesRequest, ): Effect.Effect< UpdateContactAttributesResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; updateContactEvaluation( input: UpdateContactEvaluationRequest, ): Effect.Effect< UpdateContactEvaluationResponse, - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateContactFlowContent( input: UpdateContactFlowContentRequest, ): Effect.Effect< UpdateContactFlowContentResponse, - | InternalServiceException - | InvalidContactFlowException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidContactFlowException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateContactFlowMetadata( input: UpdateContactFlowMetadataRequest, ): Effect.Effect< UpdateContactFlowMetadataResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateContactFlowModuleContent( input: UpdateContactFlowModuleContentRequest, ): Effect.Effect< UpdateContactFlowModuleContentResponse, - | AccessDeniedException - | InternalServiceException - | InvalidContactFlowModuleException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidContactFlowModuleException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateContactFlowModuleMetadata( input: UpdateContactFlowModuleMetadataRequest, ): Effect.Effect< UpdateContactFlowModuleMetadataResponse, - | AccessDeniedException - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateContactFlowName( input: UpdateContactFlowNameRequest, ): Effect.Effect< UpdateContactFlowNameResponse, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateContactRoutingData( input: UpdateContactRoutingDataRequest, ): Effect.Effect< UpdateContactRoutingDataResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateContactSchedule( input: UpdateContactScheduleRequest, ): Effect.Effect< UpdateContactScheduleResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateEmailAddressMetadata( input: UpdateEmailAddressMetadataRequest, ): Effect.Effect< UpdateEmailAddressMetadataResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateEvaluationForm( input: UpdateEvaluationFormRequest, ): Effect.Effect< UpdateEvaluationFormResponse, - | InternalServiceException - | InvalidParameterException - | ResourceConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | ResourceConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; updateHoursOfOperation( - input: UpdateHoursOfOperationRequest, - ): Effect.Effect< - {}, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + input: UpdateHoursOfOperationRequest, + ): Effect.Effect< + {}, + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateHoursOfOperationOverride( input: UpdateHoursOfOperationOverrideRequest, ): Effect.Effect< {}, - | ConditionalOperationFailedException - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConditionalOperationFailedException | DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateInstanceAttribute( input: UpdateInstanceAttributeRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateInstanceStorageConfig( input: UpdateInstanceStorageConfigRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateParticipantAuthentication( input: UpdateParticipantAuthenticationRequest, ): Effect.Effect< UpdateParticipantAuthenticationResponse, - | AccessDeniedException - | ConflictException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceException | InvalidParameterException | InvalidRequestException | ThrottlingException | CommonAwsError >; updateParticipantRoleConfig( input: UpdateParticipantRoleConfigRequest, ): Effect.Effect< UpdateParticipantRoleConfigResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updatePhoneNumber( input: UpdatePhoneNumberRequest, ): Effect.Effect< UpdatePhoneNumberResponse, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidParameterException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidParameterException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updatePhoneNumberMetadata( input: UpdatePhoneNumberMetadataRequest, ): Effect.Effect< {}, - | AccessDeniedException - | IdempotencyException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotencyException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updatePredefinedAttribute( input: UpdatePredefinedAttributeRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updatePrompt( input: UpdatePromptRequest, ): Effect.Effect< UpdatePromptResponse, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateQueueHoursOfOperation( input: UpdateQueueHoursOfOperationRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateQueueMaxContacts( input: UpdateQueueMaxContactsRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateQueueName( input: UpdateQueueNameRequest, ): Effect.Effect< {}, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateQueueOutboundCallerConfig( input: UpdateQueueOutboundCallerConfigRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateQueueOutboundEmailConfig( input: UpdateQueueOutboundEmailConfigRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConditionalOperationFailedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConditionalOperationFailedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateQueueStatus( input: UpdateQueueStatusRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateQuickConnectConfig( input: UpdateQuickConnectConfigRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateQuickConnectName( input: UpdateQuickConnectNameRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateRoutingProfileAgentAvailabilityTimer( input: UpdateRoutingProfileAgentAvailabilityTimerRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateRoutingProfileConcurrency( input: UpdateRoutingProfileConcurrencyRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateRoutingProfileDefaultOutboundQueue( input: UpdateRoutingProfileDefaultOutboundQueueRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateRoutingProfileName( input: UpdateRoutingProfileNameRequest, ): Effect.Effect< {}, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateRoutingProfileQueues( input: UpdateRoutingProfileQueuesRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateRule( input: UpdateRuleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateSecurityProfile( input: UpdateSecurityProfileRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateTaskTemplate( input: UpdateTaskTemplateRequest, ): Effect.Effect< UpdateTaskTemplateResponse, - | InternalServiceException - | InvalidParameterException - | PropertyValidationException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | PropertyValidationException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; updateTrafficDistribution( input: UpdateTrafficDistributionRequest, ): Effect.Effect< UpdateTrafficDistributionResponse, - | AccessDeniedException - | InternalServiceException - | InvalidRequestException - | ResourceConflictException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidRequestException | ResourceConflictException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateUserHierarchy( input: UpdateUserHierarchyRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateUserHierarchyGroupName( input: UpdateUserHierarchyGroupNameRequest, ): Effect.Effect< {}, - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateUserHierarchyStructure( input: UpdateUserHierarchyStructureRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateUserIdentityInfo( input: UpdateUserIdentityInfoRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateUserPhoneConfig( input: UpdateUserPhoneConfigRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateUserProficiencies( input: UpdateUserProficienciesRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateUserRoutingProfile( input: UpdateUserRoutingProfileRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateUserSecurityProfiles( input: UpdateUserSecurityProfilesRequest, ): Effect.Effect< {}, - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateViewContent( input: UpdateViewContentRequest, ): Effect.Effect< UpdateViewContentResponse, - | AccessDeniedException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; updateViewMetadata( input: UpdateViewMetadataRequest, ): Effect.Effect< UpdateViewMetadataResponse, - | AccessDeniedException - | DuplicateResourceException - | InternalServiceException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | DuplicateResourceException | InternalServiceException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -3357,16 +1739,7 @@ export type ActionSummaries = Array; export interface ActionSummary { ActionType: ActionType; } -export type ActionType = - | "CREATE_TASK" - | "ASSIGN_CONTACT_CATEGORY" - | "GENERATE_EVENTBRIDGE_EVENT" - | "SEND_NOTIFICATION" - | "CREATE_CASE" - | "UPDATE_CASE" - | "ASSIGN_SLA" - | "END_ASSOCIATED_TASKS" - | "SUBMIT_AUTO_EVALUATION"; +export type ActionType = "CREATE_TASK" | "ASSIGN_CONTACT_CATEGORY" | "GENERATE_EVENTBRIDGE_EVENT" | "SEND_NOTIFICATION" | "CREATE_CASE" | "UPDATE_CASE" | "ASSIGN_SLA" | "END_ASSOCIATED_TASKS" | "SUBMIT_AUTO_EVALUATION"; export interface ActivateEvaluationFormRequest { InstanceId: string; EvaluationFormId: string; @@ -3383,9 +1756,7 @@ export interface AdditionalEmailRecipients { } export type AfterContactWorkTimeLimit = number; -export type AgentAvailabilityTimer = - | "TIME_SINCE_LAST_ACTIVITY" - | "TIME_SINCE_LAST_INBOUND"; +export type AgentAvailabilityTimer = "TIME_SINCE_LAST_ACTIVITY" | "TIME_SINCE_LAST_INBOUND"; export interface AgentConfig { Distributions: Array; } @@ -3521,28 +1892,13 @@ export interface AnalyticsDataAssociationResult { ResourceShareArn?: string; ResourceShareStatus?: string; } -export type AnalyticsDataAssociationResults = - Array; +export type AnalyticsDataAssociationResults = Array; export interface AnalyticsDataSetsResult { DataSetId?: string; DataSetName?: string; } export type AnalyticsDataSetsResults = Array; -export type AnsweringMachineDetectionStatus = - | "ANSWERED" - | "UNDETECTED" - | "ERROR" - | "HUMAN_ANSWERED" - | "SIT_TONE_DETECTED" - | "SIT_TONE_BUSY" - | "SIT_TONE_INVALID_NUMBER" - | "FAX_MACHINE_DETECTED" - | "VOICEMAIL_BEEP" - | "VOICEMAIL_NO_BEEP" - | "AMD_UNRESOLVED" - | "AMD_UNANSWERED" - | "AMD_ERROR" - | "AMD_NOT_APPLICABLE"; +export type AnsweringMachineDetectionStatus = "ANSWERED" | "UNDETECTED" | "ERROR" | "HUMAN_ANSWERED" | "SIT_TONE_DETECTED" | "SIT_TONE_BUSY" | "SIT_TONE_INVALID_NUMBER" | "FAX_MACHINE_DETECTED" | "VOICEMAIL_BEEP" | "VOICEMAIL_NO_BEEP" | "AMD_UNRESOLVED" | "AMD_UNANSWERED" | "AMD_ERROR" | "AMD_NOT_APPLICABLE"; export interface AnswerMachineDetectionConfig { EnableAnswerMachineDetection?: boolean; AwaitAnswerMachinePrompt?: boolean; @@ -3560,7 +1916,8 @@ export type ARN = string; export type ArtifactId = string; export type ArtifactStatus = "APPROVED" | "REJECTED" | "IN_PROGRESS"; -export interface AssignContactCategoryActionDefinition {} +export interface AssignContactCategoryActionDefinition { +} export interface AssignSlaActionDefinition { SlaAssignmentType: SlaAssignmentType; CaseSlaConfiguration?: CaseSlaConfiguration; @@ -3592,7 +1949,8 @@ export interface AssociateContactWithUserRequest { ContactId: string; UserId: string; } -export interface AssociateContactWithUserResponse {} +export interface AssociateContactWithUserResponse { +} export interface AssociatedContactSummary { ContactId?: string; ContactArn?: string; @@ -3610,7 +1968,8 @@ export interface AssociateDefaultVocabularyRequest { LanguageCode: VocabularyLanguageCode; VocabularyId?: string; } -export interface AssociateDefaultVocabularyResponse {} +export interface AssociateDefaultVocabularyResponse { +} export type AssociatedQueueIdList = Array; export interface AssociateEmailAddressAliasRequest { EmailAddressId: string; @@ -3618,14 +1977,16 @@ export interface AssociateEmailAddressAliasRequest { AliasConfiguration: AliasConfiguration; ClientToken?: string; } -export interface AssociateEmailAddressAliasResponse {} +export interface AssociateEmailAddressAliasResponse { +} export interface AssociateFlowRequest { InstanceId: string; ResourceId: string; FlowId: string; ResourceType: FlowAssociationResourceType; } -export interface AssociateFlowResponse {} +export interface AssociateFlowResponse { +} export interface AssociateInstanceStorageConfigRequest { InstanceId: string; ResourceType: InstanceStorageResourceType; @@ -3674,7 +2035,8 @@ export interface AssociateTrafficDistributionGroupUserRequest { UserId: string; InstanceId: string; } -export interface AssociateTrafficDistributionGroupUserResponse {} +export interface AssociateTrafficDistributionGroupUserResponse { +} export interface AssociateUserProficienciesRequest { InstanceId: string; UserId: string; @@ -3700,13 +2062,8 @@ export interface AttachedFileError { FileId?: string; } export type AttachedFileErrorsList = Array; -export type AttachedFileInvalidRequestExceptionReason = - | "INVALID_FILE_SIZE" - | "INVALID_FILE_TYPE" - | "INVALID_FILE_NAME"; -export type AttachedFileServiceQuotaExceededExceptionReason = - | "TOTAL_FILE_SIZE_EXCEEDED" - | "TOTAL_FILE_COUNT_EXCEEDED"; +export type AttachedFileInvalidRequestExceptionReason = "INVALID_FILE_SIZE" | "INVALID_FILE_TYPE" | "INVALID_FILE_NAME"; +export type AttachedFileServiceQuotaExceededExceptionReason = "TOTAL_FILE_SIZE_EXCEEDED" | "TOTAL_FILE_COUNT_EXCEEDED"; export type AttachedFilesList = Array; export type AttachmentName = string; @@ -3786,8 +2143,7 @@ export interface AuthenticationProfileSummary { LastModifiedTime?: Date | string; LastModifiedRegion?: string; } -export type AuthenticationProfileSummaryList = - Array; +export type AuthenticationProfileSummaryList = Array; export type AuthorizationCode = string; export type AutoAccept = boolean; @@ -3957,7 +2313,8 @@ export interface CompleteAttachedFileUploadRequest { FileId: string; AssociatedResourceArn: string; } -export interface CompleteAttachedFileUploadResponse {} +export interface CompleteAttachedFileUploadResponse { +} export type Concurrency = number; export interface Condition { @@ -4105,8 +2462,7 @@ export type ContactFlowModuleId = string; export type ContactFlowModuleName = string; -export type ContactFlowModuleSearchConditionList = - Array; +export type ContactFlowModuleSearchConditionList = Array; export interface ContactFlowModuleSearchCriteria { OrConditions?: Array; AndConditions?: Array; @@ -4158,17 +2514,7 @@ export interface ContactFlowSummary { ContactFlowStatus?: ContactFlowStatus; } export type ContactFlowSummaryList = Array; -export type ContactFlowType = - | "CONTACT_FLOW" - | "CUSTOMER_QUEUE" - | "CUSTOMER_HOLD" - | "CUSTOMER_WHISPER" - | "AGENT_HOLD" - | "AGENT_WHISPER" - | "OUTBOUND_WHISPER" - | "AGENT_TRANSFER" - | "QUEUE_TRANSFER" - | "CAMPAIGN"; +export type ContactFlowType = "CONTACT_FLOW" | "CUSTOMER_QUEUE" | "CUSTOMER_HOLD" | "CUSTOMER_WHISPER" | "AGENT_HOLD" | "AGENT_WHISPER" | "OUTBOUND_WHISPER" | "AGENT_TRANSFER" | "QUEUE_TRANSFER" | "CAMPAIGN"; export type ContactFlowTypes = Array; export interface ContactFlowVersionSummary { Arn?: string; @@ -4178,19 +2524,7 @@ export interface ContactFlowVersionSummary { export type ContactFlowVersionSummaryList = Array; export type ContactId = string; -export type ContactInitiationMethod = - | "INBOUND" - | "OUTBOUND" - | "TRANSFER" - | "QUEUE_TRANSFER" - | "CALLBACK" - | "API" - | "DISCONNECT" - | "MONITOR" - | "EXTERNAL_OUTBOUND" - | "WEBRTC_API" - | "AGENT_REPLY" - | "FLOW"; +export type ContactInitiationMethod = "INBOUND" | "OUTBOUND" | "TRANSFER" | "QUEUE_TRANSFER" | "CALLBACK" | "API" | "DISCONNECT" | "MONITOR" | "EXTERNAL_OUTBOUND" | "WEBRTC_API" | "AGENT_REPLY" | "FLOW"; export interface ContactMetricInfo { Name: ContactMetricName; } @@ -4205,7 +2539,7 @@ interface _ContactMetricValue { Number?: number; } -export type ContactMetricValue = _ContactMetricValue & { Number: number }; +export type ContactMetricValue = (_ContactMetricValue & { Number: number }); export declare class ContactNotFoundException extends EffectData.TaggedError( "ContactNotFoundException", )<{ @@ -4238,24 +2572,12 @@ export interface ContactSearchSummaryQueueInfo { Id?: string; EnqueueTimestamp?: Date | string; } -export type ContactSearchSummarySegmentAttributes = Record< - string, - ContactSearchSummarySegmentAttributeValue ->; +export type ContactSearchSummarySegmentAttributes = Record; export interface ContactSearchSummarySegmentAttributeValue { ValueString?: string; ValueMap?: Record; } -export type ContactState = - | "INCOMING" - | "PENDING" - | "CONNECTING" - | "CONNECTED" - | "CONNECTED_ONHOLD" - | "MISSED" - | "ERROR" - | "ENDED" - | "REJECTED"; +export type ContactState = "INCOMING" | "PENDING" | "CONNECTING" | "CONNECTED" | "CONNECTED_ONHOLD" | "MISSED" | "ERROR" | "ENDED" | "REJECTED"; export type ContactStates = Array; export type ContactTagKey = string; @@ -4365,9 +2687,7 @@ interface _CreatedByInfo { AWSIdentityArn?: string; } -export type CreatedByInfo = - | (_CreatedByInfo & { ConnectUserArn: string }) - | (_CreatedByInfo & { AWSIdentityArn: string }); +export type CreatedByInfo = (_CreatedByInfo & { ConnectUserArn: string }) | (_CreatedByInfo & { AWSIdentityArn: string }); export interface CreateEmailAddressRequest { Description?: string; InstanceId: string; @@ -4678,20 +2998,7 @@ export interface CurrentMetricData { Value?: number; } export type CurrentMetricDataCollections = Array; -export type CurrentMetricName = - | "AGENTS_ONLINE" - | "AGENTS_AVAILABLE" - | "AGENTS_ON_CALL" - | "AGENTS_NON_PRODUCTIVE" - | "AGENTS_AFTER_CONTACT_WORK" - | "AGENTS_ERROR" - | "AGENTS_STAFFED" - | "CONTACTS_IN_QUEUE" - | "OLDEST_CONTACT_AGE" - | "CONTACTS_SCHEDULED" - | "AGENTS_ON_CONTACT" - | "SLOTS_ACTIVE" - | "SLOTS_AVAILABLE"; +export type CurrentMetricName = "AGENTS_ONLINE" | "AGENTS_AVAILABLE" | "AGENTS_ON_CALL" | "AGENTS_NON_PRODUCTIVE" | "AGENTS_AFTER_CONTACT_WORK" | "AGENTS_ERROR" | "AGENTS_STAFFED" | "CONTACTS_IN_QUEUE" | "OLDEST_CONTACT_AGE" | "CONTACTS_SCHEDULED" | "AGENTS_ON_CONTACT" | "SLOTS_ACTIVE" | "SLOTS_AVAILABLE"; export interface CurrentMetricResult { Dimensions?: Dimensions; Collections?: Array; @@ -4723,12 +3030,7 @@ export interface CustomerVoiceActivity { export type DataSetId = string; export type DataSetIds = Array; -export type DateComparisonType = - | "GREATER_THAN" - | "LESS_THAN" - | "GREATER_THAN_OR_EQUAL_TO" - | "LESS_THAN_OR_EQUAL_TO" - | "EQUAL_TO"; +export type DateComparisonType = "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL_TO" | "LESS_THAN_OR_EQUAL_TO" | "EQUAL_TO"; export interface DateCondition { FieldName?: string; Value?: string; @@ -4764,7 +3066,8 @@ export interface DeleteAttachedFileRequest { FileId: string; AssociatedResourceArn: string; } -export interface DeleteAttachedFileResponse {} +export interface DeleteAttachedFileResponse { +} export interface DeleteContactEvaluationRequest { InstanceId: string; EvaluationId: string; @@ -4773,23 +3076,27 @@ export interface DeleteContactFlowModuleRequest { InstanceId: string; ContactFlowModuleId: string; } -export interface DeleteContactFlowModuleResponse {} +export interface DeleteContactFlowModuleResponse { +} export interface DeleteContactFlowRequest { InstanceId: string; ContactFlowId: string; } -export interface DeleteContactFlowResponse {} +export interface DeleteContactFlowResponse { +} export interface DeleteContactFlowVersionRequest { InstanceId: string; ContactFlowId: string; ContactFlowVersion: number; } -export interface DeleteContactFlowVersionResponse {} +export interface DeleteContactFlowVersionResponse { +} export interface DeleteEmailAddressRequest { InstanceId: string; EmailAddressId: string; } -export interface DeleteEmailAddressResponse {} +export interface DeleteEmailAddressResponse { +} export interface DeleteEvaluationFormRequest { InstanceId: string; EvaluationFormId: string; @@ -4825,7 +3132,8 @@ export interface DeletePushNotificationRegistrationRequest { RegistrationId: string; ContactId: string; } -export interface DeletePushNotificationRegistrationResponse {} +export interface DeletePushNotificationRegistrationResponse { +} export interface DeleteQueueRequest { InstanceId: string; QueueId: string; @@ -4850,11 +3158,13 @@ export interface DeleteTaskTemplateRequest { InstanceId: string; TaskTemplateId: string; } -export interface DeleteTaskTemplateResponse {} +export interface DeleteTaskTemplateResponse { +} export interface DeleteTrafficDistributionGroupRequest { TrafficDistributionGroupId: string; } -export interface DeleteTrafficDistributionGroupResponse {} +export interface DeleteTrafficDistributionGroupResponse { +} export interface DeleteUseCaseRequest { InstanceId: string; IntegrationAssociationId: string; @@ -4872,13 +3182,15 @@ export interface DeleteViewRequest { InstanceId: string; ViewId: string; } -export interface DeleteViewResponse {} +export interface DeleteViewResponse { +} export interface DeleteViewVersionRequest { InstanceId: string; ViewId: string; ViewVersion: number; } -export interface DeleteViewVersionResponse {} +export interface DeleteViewVersionResponse { +} export interface DeleteVocabularyRequest { InstanceId: string; VocabularyId: string; @@ -5146,13 +3458,15 @@ export interface DisassociateEmailAddressAliasRequest { AliasConfiguration: AliasConfiguration; ClientToken?: string; } -export interface DisassociateEmailAddressAliasResponse {} +export interface DisassociateEmailAddressAliasResponse { +} export interface DisassociateFlowRequest { InstanceId: string; ResourceId: string; ResourceType: FlowAssociationResourceType; } -export interface DisassociateFlowResponse {} +export interface DisassociateFlowResponse { +} export interface DisassociateInstanceStorageConfigRequest { InstanceId: string; AssociationId: string; @@ -5195,7 +3509,8 @@ export interface DisassociateTrafficDistributionGroupUserRequest { UserId: string; InstanceId: string; } -export interface DisassociateTrafficDistributionGroupUserResponse {} +export interface DisassociateTrafficDistributionGroupUserResponse { +} export interface DisassociateUserProficienciesRequest { InstanceId: string; UserId: string; @@ -5214,7 +3529,8 @@ export interface DismissUserContactRequest { InstanceId: string; ContactId: string; } -export interface DismissUserContactResponse {} +export interface DismissUserContactResponse { +} export type DisplayName = string; export interface Distribution { @@ -5283,12 +3599,7 @@ export interface EmailAttachment { } export type EmailAttachments = Array; export type EmailHeaders = Record; -export type EmailHeaderType = - | "REFERENCES" - | "MESSAGE_ID" - | "IN_REPLY_TO" - | "X_SES_SPAM_VERDICT" - | "X_SES_VIRUS_VERDICT"; +export type EmailHeaderType = "REFERENCES" | "MESSAGE_ID" | "IN_REPLY_TO" | "X_SES_SPAM_VERDICT" | "X_SES_VIRUS_VERDICT"; export type EmailHeaderValue = string; export type EmailMessageContentType = string; @@ -5306,7 +3617,8 @@ export interface EmailReference { Name?: string; Value?: string; } -export interface EmptyFieldValue {} +export interface EmptyFieldValue { +} export type EnableValueValidationOnAssociation = boolean; export interface EncryptionConfig { @@ -5314,7 +3626,8 @@ export interface EncryptionConfig { KeyId: string; } export type EncryptionType = "KMS"; -export interface EndAssociatedTasksActionDefinition {} +export interface EndAssociatedTasksActionDefinition { +} export interface Endpoint { Type?: EndpointType; Address?: string; @@ -5328,12 +3641,7 @@ export interface EndpointInfo { Address?: string; DisplayName?: string; } -export type EndpointType = - | "TELEPHONE_NUMBER" - | "VOIP" - | "CONTACT_FLOW" - | "CONNECT_PHONENUMBER_ARN" - | "EMAIL_ADDRESS"; +export type EndpointType = "TELEPHONE_NUMBER" | "VOIP" | "CONTACT_FLOW" | "CONNECT_PHONENUMBER_ARN" | "EMAIL_ADDRESS"; export type ErrorCode = string; export type ErrorMessage = string; @@ -5361,10 +3669,7 @@ interface _EvaluationAnswerData { NotApplicable?: boolean; } -export type EvaluationAnswerData = - | (_EvaluationAnswerData & { StringValue: string }) - | (_EvaluationAnswerData & { NumericValue: number }) - | (_EvaluationAnswerData & { NotApplicable: boolean }); +export type EvaluationAnswerData = (_EvaluationAnswerData & { StringValue: string }) | (_EvaluationAnswerData & { NumericValue: number }) | (_EvaluationAnswerData & { NotApplicable: boolean }); export type EvaluationAnswerDataNumericValue = number; export type EvaluationAnswerDataStringValue = string; @@ -5414,9 +3719,7 @@ interface _EvaluationFormItem { Question?: EvaluationFormQuestion; } -export type EvaluationFormItem = - | (_EvaluationFormItem & { Section: EvaluationFormSection }) - | (_EvaluationFormItem & { Question: EvaluationFormQuestion }); +export type EvaluationFormItem = (_EvaluationFormItem & { Section: EvaluationFormSection }) | (_EvaluationFormItem & { Question: EvaluationFormQuestion }); export type EvaluationFormItemsList = Array; export type EvaluationFormItemWeight = number; @@ -5424,18 +3727,14 @@ interface _EvaluationFormNumericQuestionAutomation { PropertyValue?: NumericQuestionPropertyValueAutomation; } -export type EvaluationFormNumericQuestionAutomation = - _EvaluationFormNumericQuestionAutomation & { - PropertyValue: NumericQuestionPropertyValueAutomation; - }; +export type EvaluationFormNumericQuestionAutomation = (_EvaluationFormNumericQuestionAutomation & { PropertyValue: NumericQuestionPropertyValueAutomation }); export interface EvaluationFormNumericQuestionOption { MinValue: number; MaxValue: number; Score?: number; AutomaticFail?: boolean; } -export type EvaluationFormNumericQuestionOptionList = - Array; +export type EvaluationFormNumericQuestionOptionList = Array; export interface EvaluationFormNumericQuestionProperties { MinValue: number; MaxValue: number; @@ -5463,13 +3762,7 @@ interface _EvaluationFormQuestionTypeProperties { SingleSelect?: EvaluationFormSingleSelectQuestionProperties; } -export type EvaluationFormQuestionTypeProperties = - | (_EvaluationFormQuestionTypeProperties & { - Numeric: EvaluationFormNumericQuestionProperties; - }) - | (_EvaluationFormQuestionTypeProperties & { - SingleSelect: EvaluationFormSingleSelectQuestionProperties; - }); +export type EvaluationFormQuestionTypeProperties = (_EvaluationFormQuestionTypeProperties & { Numeric: EvaluationFormNumericQuestionProperties }) | (_EvaluationFormQuestionTypeProperties & { SingleSelect: EvaluationFormSingleSelectQuestionProperties }); export type EvaluationFormScoringMode = "QUESTION_ONLY" | "SECTION_ONLY"; export type EvaluationFormScoringStatus = "ENABLED" | "DISABLED"; export interface EvaluationFormScoringStrategy { @@ -5493,23 +3786,16 @@ interface _EvaluationFormSingleSelectQuestionAutomationOption { RuleCategory?: SingleSelectQuestionRuleCategoryAutomation; } -export type EvaluationFormSingleSelectQuestionAutomationOption = - _EvaluationFormSingleSelectQuestionAutomationOption & { - RuleCategory: SingleSelectQuestionRuleCategoryAutomation; - }; -export type EvaluationFormSingleSelectQuestionAutomationOptionList = - Array; -export type EvaluationFormSingleSelectQuestionDisplayMode = - | "DROPDOWN" - | "RADIO"; +export type EvaluationFormSingleSelectQuestionAutomationOption = (_EvaluationFormSingleSelectQuestionAutomationOption & { RuleCategory: SingleSelectQuestionRuleCategoryAutomation }); +export type EvaluationFormSingleSelectQuestionAutomationOptionList = Array; +export type EvaluationFormSingleSelectQuestionDisplayMode = "DROPDOWN" | "RADIO"; export interface EvaluationFormSingleSelectQuestionOption { RefId: string; Text: string; Score?: number; AutomaticFail?: boolean; } -export type EvaluationFormSingleSelectQuestionOptionList = - Array; +export type EvaluationFormSingleSelectQuestionOptionList = Array; export type EvaluationFormSingleSelectQuestionOptionText = string; export interface EvaluationFormSingleSelectQuestionProperties { @@ -5547,8 +3833,7 @@ export interface EvaluationFormVersionSummary { LastModifiedTime: Date | string; LastModifiedBy: string; } -export type EvaluationFormVersionSummaryList = - Array; +export type EvaluationFormVersionSummaryList = Array; export type EvaluationId = string; export interface EvaluationMetadata { @@ -5589,19 +3874,7 @@ export interface EventBridgeActionDefinition { } export type EventBridgeActionName = string; -export type EventSourceName = - | "OnPostCallAnalysisAvailable" - | "OnRealTimeCallAnalysisAvailable" - | "OnRealTimeChatAnalysisAvailable" - | "OnPostChatAnalysisAvailable" - | "OnZendeskTicketCreate" - | "OnZendeskTicketStatusUpdate" - | "OnSalesforceCaseCreate" - | "OnContactEvaluationSubmit" - | "OnMetricDataUpdate" - | "OnCaseCreate" - | "OnCaseUpdate" - | "OnSlaBreach"; +export type EventSourceName = "OnPostCallAnalysisAvailable" | "OnRealTimeCallAnalysisAvailable" | "OnRealTimeChatAnalysisAvailable" | "OnPostChatAnalysisAvailable" | "OnZendeskTicketCreate" | "OnZendeskTicketStatusUpdate" | "OnSalesforceCaseCreate" | "OnContactEvaluationSubmit" | "OnMetricDataUpdate" | "OnCaseCreate" | "OnCaseUpdate" | "OnSlaBreach"; export interface Expiry { DurationInSeconds?: number; ExpiryTimestamp?: Date | string; @@ -5623,18 +3896,7 @@ export interface FailedRequest { FailureReasonMessage?: string; } export type FailedRequestList = Array; -export type FailureReasonCode = - | "INVALID_ATTRIBUTE_KEY" - | "INVALID_CUSTOMER_ENDPOINT" - | "INVALID_SYSTEM_ENDPOINT" - | "INVALID_QUEUE" - | "INVALID_OUTBOUND_STRATEGY" - | "MISSING_CAMPAIGN" - | "MISSING_CUSTOMER_ENDPOINT" - | "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT" - | "REQUEST_THROTTLED" - | "IDEMPOTENCY_EXCEPTION" - | "INTERNAL_ERROR"; +export type FailureReasonCode = "INVALID_ATTRIBUTE_KEY" | "INVALID_CUSTOMER_ENDPOINT" | "INVALID_SYSTEM_ENDPOINT" | "INVALID_QUEUE" | "INVALID_OUTBOUND_STRATEGY" | "MISSING_CAMPAIGN" | "MISSING_CUSTOMER_ENDPOINT" | "MISSING_QUEUE_ID_AND_SYSTEM_ENDPOINT" | "REQUEST_THROTTLED" | "IDEMPOTENCY_EXCEPTION" | "INTERNAL_ERROR"; export type FieldStringValue = string; export interface FieldValue { @@ -5672,12 +3934,7 @@ export interface FilterV2 { FilterValues?: Array; } export type FilterValueList = Array; -export type FlowAssociationResourceType = - | "SMS_PHONE_NUMBER" - | "INBOUND_EMAIL" - | "OUTBOUND_EMAIL" - | "ANALYTICS_CONNECTOR" - | "WHATSAPP_MESSAGING_PHONE_NUMBER"; +export type FlowAssociationResourceType = "SMS_PHONE_NUMBER" | "INBOUND_EMAIL" | "OUTBOUND_EMAIL" | "ANALYTICS_CONNECTOR" | "WHATSAPP_MESSAGING_PHONE_NUMBER"; export interface FlowAssociationSummary { ResourceId?: string; FlowId?: string; @@ -5855,12 +4112,7 @@ export interface GetTrafficDistributionResponse { } export type GlobalSignInEndpoint = string; -export type Grouping = - | "QUEUE" - | "CHANNEL" - | "ROUTING_PROFILE" - | "ROUTING_STEP_EXPRESSION" - | "AGENT_STATUS"; +export type Grouping = "QUEUE" | "CHANNEL" | "ROUTING_PROFILE" | "ROUTING_STEP_EXPRESSION" | "AGENT_STATUS"; export type Groupings = Array; export type GroupingsV2 = Array; export type GroupingV2 = string; @@ -5960,32 +4212,7 @@ export interface HistoricalMetricData { Value?: number; } export type HistoricalMetricDataCollections = Array; -export type HistoricalMetricName = - | "CONTACTS_QUEUED" - | "CONTACTS_HANDLED" - | "CONTACTS_ABANDONED" - | "CONTACTS_CONSULTED" - | "CONTACTS_AGENT_HUNG_UP_FIRST" - | "CONTACTS_HANDLED_INCOMING" - | "CONTACTS_HANDLED_OUTBOUND" - | "CONTACTS_HOLD_ABANDONS" - | "CONTACTS_TRANSFERRED_IN" - | "CONTACTS_TRANSFERRED_OUT" - | "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" - | "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" - | "CONTACTS_MISSED" - | "CALLBACK_CONTACTS_HANDLED" - | "API_CONTACTS_HANDLED" - | "OCCUPANCY" - | "HANDLE_TIME" - | "AFTER_CONTACT_WORK_TIME" - | "QUEUED_TIME" - | "ABANDON_TIME" - | "QUEUE_ANSWER_TIME" - | "HOLD_TIME" - | "INTERACTION_TIME" - | "INTERACTION_AND_HOLD_TIME" - | "SERVICE_LEVEL"; +export type HistoricalMetricName = "CONTACTS_QUEUED" | "CONTACTS_HANDLED" | "CONTACTS_ABANDONED" | "CONTACTS_CONSULTED" | "CONTACTS_AGENT_HUNG_UP_FIRST" | "CONTACTS_HANDLED_INCOMING" | "CONTACTS_HANDLED_OUTBOUND" | "CONTACTS_HOLD_ABANDONS" | "CONTACTS_TRANSFERRED_IN" | "CONTACTS_TRANSFERRED_OUT" | "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" | "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" | "CONTACTS_MISSED" | "CALLBACK_CONTACTS_HANDLED" | "API_CONTACTS_HANDLED" | "OCCUPANCY" | "HANDLE_TIME" | "AFTER_CONTACT_WORK_TIME" | "QUEUED_TIME" | "ABANDON_TIME" | "QUEUE_ANSWER_TIME" | "HOLD_TIME" | "INTERACTION_TIME" | "INTERACTION_AND_HOLD_TIME" | "SERVICE_LEVEL"; export interface HistoricalMetricResult { Dimensions?: Dimensions; Collections?: Array; @@ -6013,14 +4240,7 @@ export interface HoursOfOperationConfig { EndTime: HoursOfOperationTimeSlice; } export type HoursOfOperationConfigList = Array; -export type HoursOfOperationDays = - | "SUNDAY" - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY"; +export type HoursOfOperationDays = "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY"; export type HoursOfOperationDescription = string; export type HoursOfOperationId = string; @@ -6043,13 +4263,11 @@ export interface HoursOfOperationOverrideConfig { StartTime?: OverrideTimeSlice; EndTime?: OverrideTimeSlice; } -export type HoursOfOperationOverrideConfigList = - Array; +export type HoursOfOperationOverrideConfigList = Array; export type HoursOfOperationOverrideId = string; export type HoursOfOperationOverrideList = Array; -export type HoursOfOperationOverrideSearchConditionList = - Array; +export type HoursOfOperationOverrideSearchConditionList = Array; export interface HoursOfOperationOverrideSearchCriteria { OrConditions?: Array; AndConditions?: Array; @@ -6058,8 +4276,7 @@ export interface HoursOfOperationOverrideSearchCriteria { } export type HoursOfOperationOverrideYearMonthDayDateFormat = string; -export type HoursOfOperationSearchConditionList = - Array; +export type HoursOfOperationSearchConditionList = Array; export interface HoursOfOperationSearchCriteria { OrConditions?: Array; AndConditions?: Array; @@ -6140,36 +4357,15 @@ export interface Instance { } export type InstanceArn = string; -export type InstanceAttributeType = - | "INBOUND_CALLS" - | "OUTBOUND_CALLS" - | "CONTACTFLOW_LOGS" - | "CONTACT_LENS" - | "AUTO_RESOLVE_BEST_VOICES" - | "USE_CUSTOM_TTS_VOICES" - | "EARLY_MEDIA" - | "MULTI_PARTY_CONFERENCE" - | "HIGH_VOLUME_OUTBOUND" - | "ENHANCED_CONTACT_MONITORING" - | "ENHANCED_CHAT_MONITORING" - | "MULTI_PARTY_CHAT_CONFERENCE"; +export type InstanceAttributeType = "INBOUND_CALLS" | "OUTBOUND_CALLS" | "CONTACTFLOW_LOGS" | "CONTACT_LENS" | "AUTO_RESOLVE_BEST_VOICES" | "USE_CUSTOM_TTS_VOICES" | "EARLY_MEDIA" | "MULTI_PARTY_CONFERENCE" | "HIGH_VOLUME_OUTBOUND" | "ENHANCED_CONTACT_MONITORING" | "ENHANCED_CHAT_MONITORING" | "MULTI_PARTY_CHAT_CONFERENCE"; export type InstanceAttributeValue = string; export type InstanceId = string; export type InstanceIdOrArn = string; -export type InstanceReplicationStatus = - | "INSTANCE_REPLICATION_COMPLETE" - | "INSTANCE_REPLICATION_IN_PROGRESS" - | "INSTANCE_REPLICATION_FAILED" - | "INSTANCE_REPLICA_DELETING" - | "INSTANCE_REPLICATION_DELETION_FAILED" - | "RESOURCE_REPLICATION_NOT_STARTED"; -export type InstanceStatus = - | "CREATION_IN_PROGRESS" - | "ACTIVE" - | "CREATION_FAILED"; +export type InstanceReplicationStatus = "INSTANCE_REPLICATION_COMPLETE" | "INSTANCE_REPLICATION_IN_PROGRESS" | "INSTANCE_REPLICATION_FAILED" | "INSTANCE_REPLICA_DELETING" | "INSTANCE_REPLICATION_DELETION_FAILED" | "RESOURCE_REPLICATION_NOT_STARTED"; +export type InstanceStatus = "CREATION_IN_PROGRESS" | "ACTIVE" | "CREATION_FAILED"; export interface InstanceStatusReason { Message?: string; } @@ -6182,20 +4378,7 @@ export interface InstanceStorageConfig { KinesisFirehoseConfig?: KinesisFirehoseConfig; } export type InstanceStorageConfigs = Array; -export type InstanceStorageResourceType = - | "CHAT_TRANSCRIPTS" - | "CALL_RECORDINGS" - | "SCHEDULED_REPORTS" - | "MEDIA_STREAMS" - | "CONTACT_TRACE_RECORDS" - | "AGENT_EVENTS" - | "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" - | "ATTACHMENTS" - | "CONTACT_EVALUATIONS" - | "SCREEN_RECORDINGS" - | "REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS" - | "REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS" - | "EMAIL_MESSAGES"; +export type InstanceStorageResourceType = "CHAT_TRANSCRIPTS" | "CALL_RECORDINGS" | "SCHEDULED_REPORTS" | "MEDIA_STREAMS" | "CONTACT_TRACE_RECORDS" | "AGENT_EVENTS" | "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" | "ATTACHMENTS" | "CONTACT_EVALUATIONS" | "SCREEN_RECORDINGS" | "REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS" | "REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS" | "EMAIL_MESSAGES"; export interface InstanceSummary { Id?: string; Arn?: string; @@ -6225,23 +4408,8 @@ export interface IntegrationAssociationSummary { SourceApplicationName?: string; SourceType?: SourceType; } -export type IntegrationAssociationSummaryList = - Array; -export type IntegrationType = - | "EVENT" - | "VOICE_ID" - | "PINPOINT_APP" - | "WISDOM_ASSISTANT" - | "WISDOM_KNOWLEDGE_BASE" - | "WISDOM_QUICK_RESPONSES" - | "Q_MESSAGE_TEMPLATES" - | "CASES_DOMAIN" - | "APPLICATION" - | "FILE_SCANNER" - | "SES_IDENTITY" - | "ANALYTICS_CONNECTOR" - | "CALL_TRANSFER_CONNECTOR" - | "COGNITO_USER_POOL"; +export type IntegrationAssociationSummaryList = Array; +export type IntegrationType = "EVENT" | "VOICE_ID" | "PINPOINT_APP" | "WISDOM_ASSISTANT" | "WISDOM_KNOWLEDGE_BASE" | "WISDOM_QUICK_RESPONSES" | "Q_MESSAGE_TEMPLATES" | "CASES_DOMAIN" | "APPLICATION" | "FILE_SCANNER" | "SES_IDENTITY" | "ANALYTICS_CONNECTOR" | "CALL_TRANSFER_CONNECTOR" | "COGNITO_USER_POOL"; export declare class InternalServiceException extends EffectData.TaggedError( "InternalServiceException", )<{ @@ -6251,13 +4419,7 @@ export interface IntervalDetails { TimeZone?: string; IntervalPeriod?: IntervalPeriod; } -export type IntervalPeriod = - | "FIFTEEN_MIN" - | "THIRTY_MIN" - | "HOUR" - | "DAY" - | "WEEK" - | "TOTAL"; +export type IntervalPeriod = "FIFTEEN_MIN" | "THIRTY_MIN" | "HOUR" | "DAY" | "WEEK" | "TOTAL"; export declare class InvalidContactFlowException extends EffectData.TaggedError( "InvalidContactFlowException", )<{ @@ -6283,9 +4445,7 @@ interface _InvalidRequestExceptionReason { AttachedFileInvalidRequestExceptionReason?: AttachedFileInvalidRequestExceptionReason; } -export type InvalidRequestExceptionReason = _InvalidRequestExceptionReason & { - AttachedFileInvalidRequestExceptionReason: AttachedFileInvalidRequestExceptionReason; -}; +export type InvalidRequestExceptionReason = (_InvalidRequestExceptionReason & { AttachedFileInvalidRequestExceptionReason: AttachedFileInvalidRequestExceptionReason }); export interface InvisibleFieldInfo { Id?: TaskTemplateFieldIdentifier; } @@ -6487,12 +4647,7 @@ export interface ListEvaluationFormVersionsResponse { EvaluationFormVersionSummaryList: Array; NextToken?: string; } -export type ListFlowAssociationResourceType = - | "WHATSAPP_MESSAGING_PHONE_NUMBER" - | "VOICE_PHONE_NUMBER" - | "INBOUND_EMAIL" - | "OUTBOUND_EMAIL" - | "ANALYTICS_CONNECTOR"; +export type ListFlowAssociationResourceType = "WHATSAPP_MESSAGING_PHONE_NUMBER" | "VOICE_PHONE_NUMBER" | "INBOUND_EMAIL" | "OUTBOUND_EMAIL" | "ANALYTICS_CONNECTOR"; export interface ListFlowAssociationsRequest { InstanceId: string; ResourceType?: ListFlowAssociationResourceType; @@ -7004,14 +5159,7 @@ export type NullableProficiencyLevel = number; export type NullableProficiencyLimitValue = number; -export type NumberComparisonType = - | "GREATER_OR_EQUAL" - | "GREATER" - | "LESSER_OR_EQUAL" - | "LESSER" - | "EQUAL" - | "NOT_EQUAL" - | "RANGE"; +export type NumberComparisonType = "GREATER_OR_EQUAL" | "GREATER" | "LESSER_OR_EQUAL" | "LESSER" | "EQUAL" | "NOT_EQUAL" | "RANGE"; export interface NumberCondition { FieldName?: string; MinValue?: number; @@ -7022,15 +5170,7 @@ export interface NumberReference { Name?: string; Value?: string; } -export type NumericQuestionPropertyAutomationLabel = - | "OVERALL_CUSTOMER_SENTIMENT_SCORE" - | "OVERALL_AGENT_SENTIMENT_SCORE" - | "NON_TALK_TIME" - | "NON_TALK_TIME_PERCENTAGE" - | "NUMBER_OF_INTERRUPTIONS" - | "CONTACT_DURATION" - | "AGENT_INTERACTION_DURATION" - | "CUSTOMER_HOLD_TIME"; +export type NumericQuestionPropertyAutomationLabel = "OVERALL_CUSTOMER_SENTIMENT_SCORE" | "OVERALL_AGENT_SENTIMENT_SCORE" | "NON_TALK_TIME" | "NON_TALK_TIME_PERCENTAGE" | "NUMBER_OF_INTERRUPTIONS" | "CONTACT_DURATION" | "AGENT_INTERACTION_DURATION" | "CUSTOMER_HOLD_TIME"; export interface NumericQuestionPropertyValueAutomation { Label: NumericQuestionPropertyAutomationLabel; } @@ -7092,14 +5232,7 @@ export declare class OutputTypeNotFoundException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type OverrideDays = - | "SUNDAY" - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY"; +export type OverrideDays = "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY"; export interface OverrideTimeSlice { Hours: number; Minutes: number; @@ -7129,17 +5262,8 @@ export interface ParticipantMetrics { MaxResponseTimeInMillis?: number; LastMessageTimestamp?: Date | string; } -export type ParticipantRole = - | "AGENT" - | "CUSTOMER" - | "SYSTEM" - | "CUSTOM_BOT" - | "SUPERVISOR"; -export type ParticipantState = - | "INITIAL" - | "CONNECTED" - | "DISCONNECTED" - | "MISSED"; +export type ParticipantRole = "AGENT" | "CUSTOMER" | "SYSTEM" | "CUSTOM_BOT" | "SUPERVISOR"; +export type ParticipantState = "INITIAL" | "CONNECTED" | "DISCONNECTED" | "MISSED"; export type ParticipantTimerAction = "Unset"; export type ParticipantTimerConfigList = Array; export interface ParticipantTimerConfiguration { @@ -7155,23 +5279,14 @@ interface _ParticipantTimerValue { ParticipantTimerDurationInMinutes?: number; } -export type ParticipantTimerValue = - | (_ParticipantTimerValue & { - ParticipantTimerAction: ParticipantTimerAction; - }) - | (_ParticipantTimerValue & { ParticipantTimerDurationInMinutes: number }); +export type ParticipantTimerValue = (_ParticipantTimerValue & { ParticipantTimerAction: ParticipantTimerAction }) | (_ParticipantTimerValue & { ParticipantTimerDurationInMinutes: number }); export type ParticipantToken = string; export interface ParticipantTokenCredentials { ParticipantToken?: string; Expiry?: string; } -export type ParticipantType = - | "ALL" - | "MANAGER" - | "AGENT" - | "CUSTOMER" - | "THIRDPARTY"; +export type ParticipantType = "ALL" | "MANAGER" | "AGENT" | "CUSTOMER" | "THIRDPARTY"; export type Password = string; export interface PauseContactRequest { @@ -7179,7 +5294,8 @@ export interface PauseContactRequest { InstanceId: string; ContactFlowId?: string; } -export interface PauseContactResponse {} +export interface PauseContactResponse { +} export type PEM = string; export type Percentage = number; @@ -7195,244 +5311,7 @@ export type PersistentConnection = boolean; export type PhoneNumber = string; -export type PhoneNumberCountryCode = - | "AF" - | "AL" - | "DZ" - | "AS" - | "AD" - | "AO" - | "AI" - | "AQ" - | "AG" - | "AR" - | "AM" - | "AW" - | "AU" - | "AT" - | "AZ" - | "BS" - | "BH" - | "BD" - | "BB" - | "BY" - | "BE" - | "BZ" - | "BJ" - | "BM" - | "BT" - | "BO" - | "BA" - | "BW" - | "BR" - | "IO" - | "VG" - | "BN" - | "BG" - | "BF" - | "BI" - | "KH" - | "CM" - | "CA" - | "CV" - | "KY" - | "CF" - | "TD" - | "CL" - | "CN" - | "CX" - | "CC" - | "CO" - | "KM" - | "CK" - | "CR" - | "HR" - | "CU" - | "CW" - | "CY" - | "CZ" - | "CD" - | "DK" - | "DJ" - | "DM" - | "DO" - | "TL" - | "EC" - | "EG" - | "SV" - | "GQ" - | "ER" - | "EE" - | "ET" - | "FK" - | "FO" - | "FJ" - | "FI" - | "FR" - | "PF" - | "GA" - | "GM" - | "GE" - | "DE" - | "GH" - | "GI" - | "GR" - | "GL" - | "GD" - | "GU" - | "GT" - | "GG" - | "GN" - | "GW" - | "GY" - | "HT" - | "HN" - | "HK" - | "HU" - | "IS" - | "IN" - | "ID" - | "IR" - | "IQ" - | "IE" - | "IM" - | "IL" - | "IT" - | "CI" - | "JM" - | "JP" - | "JE" - | "JO" - | "KZ" - | "KE" - | "KI" - | "KW" - | "KG" - | "LA" - | "LV" - | "LB" - | "LS" - | "LR" - | "LY" - | "LI" - | "LT" - | "LU" - | "MO" - | "MK" - | "MG" - | "MW" - | "MY" - | "MV" - | "ML" - | "MT" - | "MH" - | "MR" - | "MU" - | "YT" - | "MX" - | "FM" - | "MD" - | "MC" - | "MN" - | "ME" - | "MS" - | "MA" - | "MZ" - | "MM" - | "NA" - | "NR" - | "NP" - | "NL" - | "AN" - | "NC" - | "NZ" - | "NI" - | "NE" - | "NG" - | "NU" - | "KP" - | "MP" - | "NO" - | "OM" - | "PK" - | "PW" - | "PA" - | "PG" - | "PY" - | "PE" - | "PH" - | "PN" - | "PL" - | "PT" - | "PR" - | "QA" - | "CG" - | "RE" - | "RO" - | "RU" - | "RW" - | "BL" - | "SH" - | "KN" - | "LC" - | "MF" - | "PM" - | "VC" - | "WS" - | "SM" - | "ST" - | "SA" - | "SN" - | "RS" - | "SC" - | "SL" - | "SG" - | "SX" - | "SK" - | "SI" - | "SB" - | "SO" - | "ZA" - | "KR" - | "ES" - | "LK" - | "SD" - | "SR" - | "SJ" - | "SZ" - | "SE" - | "CH" - | "SY" - | "TW" - | "TJ" - | "TZ" - | "TH" - | "TG" - | "TK" - | "TO" - | "TT" - | "TN" - | "TR" - | "TM" - | "TC" - | "TV" - | "VI" - | "UG" - | "UA" - | "AE" - | "GB" - | "US" - | "UY" - | "UZ" - | "VU" - | "VA" - | "VE" - | "VN" - | "WF" - | "EH" - | "YE" - | "ZM" - | "ZW"; +export type PhoneNumberCountryCode = "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BA" | "BW" | "BR" | "IO" | "VG" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CK" | "CR" | "HR" | "CU" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "KP" | "MP" | "NO" | "OM" | "PK" | "PW" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "KR" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UY" | "UZ" | "VU" | "VA" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW"; export type PhoneNumberCountryCodes = Array; export type PhoneNumberDescription = string; @@ -7455,14 +5334,7 @@ export interface PhoneNumberSummary { PhoneNumberCountryCode?: PhoneNumberCountryCode; } export type PhoneNumberSummaryList = Array; -export type PhoneNumberType = - | "TOLL_FREE" - | "DID" - | "UIFN" - | "SHARED" - | "THIRD_PARTY_TF" - | "THIRD_PARTY_DID" - | "SHORT_CODE"; +export type PhoneNumberType = "TOLL_FREE" | "DID" | "UIFN" | "SHARED" | "THIRD_PARTY_TF" | "THIRD_PARTY_DID" | "SHORT_CODE"; export type PhoneNumberTypes = Array; export type PhoneNumberWorkflowMessage = string; @@ -7499,8 +5371,7 @@ export type PredefinedAttributeName = string; export type PredefinedAttributePurposeName = string; export type PredefinedAttributePurposeNameList = Array; -export type PredefinedAttributeSearchConditionList = - Array; +export type PredefinedAttributeSearchConditionList = Array; export interface PredefinedAttributeSearchCriteria { OrConditions?: Array; AndConditions?: Array; @@ -7520,9 +5391,7 @@ interface _PredefinedAttributeValues { StringList?: Array; } -export type PredefinedAttributeValues = _PredefinedAttributeValues & { - StringList: Array; -}; +export type PredefinedAttributeValues = (_PredefinedAttributeValues & { StringList: Array }); export type Prefix = string; export type PreSignedAttachmentUrl = string; @@ -7589,21 +5458,15 @@ export interface PropertyValidationExceptionProperty { Reason: PropertyValidationExceptionReason; Message: string; } -export type PropertyValidationExceptionPropertyList = - Array; -export type PropertyValidationExceptionReason = - | "INVALID_FORMAT" - | "UNIQUE_CONSTRAINT_VIOLATED" - | "REFERENCED_RESOURCE_NOT_FOUND" - | "RESOURCE_NAME_ALREADY_EXISTS" - | "REQUIRED_PROPERTY_MISSING" - | "NOT_SUPPORTED"; +export type PropertyValidationExceptionPropertyList = Array; +export type PropertyValidationExceptionReason = "INVALID_FORMAT" | "UNIQUE_CONSTRAINT_VIOLATED" | "REFERENCED_RESOURCE_NOT_FOUND" | "RESOURCE_NAME_ALREADY_EXISTS" | "REQUIRED_PROPERTY_MISSING" | "NOT_SUPPORTED"; export interface PutUserStatusRequest { UserId: string; InstanceId: string; AgentStatusId: string; } -export interface PutUserStatusResponse {} +export interface PutUserStatusResponse { +} export interface QualityMetrics { Agent?: AgentQualityMetrics; Customer?: CustomerQualityMetrics; @@ -7732,8 +5595,7 @@ export interface RealTimeContactAnalysisAttachment { AttachmentId: string; Status?: ArtifactStatus; } -export type RealTimeContactAnalysisAttachments = - Array; +export type RealTimeContactAnalysisAttachments = Array; export interface RealTimeContactAnalysisCategoryDetails { PointsOfInterest: Array; } @@ -7743,8 +5605,7 @@ export interface RealTimeContactAnalysisCharacterInterval { BeginOffsetChar: number; EndOffsetChar: number; } -export type RealTimeContactAnalysisCharacterIntervals = - Array; +export type RealTimeContactAnalysisCharacterIntervals = Array; export type RealTimeContactAnalysisContentType = string; export type RealTimeContactAnalysisEventType = string; @@ -7754,31 +5615,19 @@ export type RealTimeContactAnalysisId256 = string; export interface RealTimeContactAnalysisIssueDetected { TranscriptItems: Array; } -export type RealTimeContactAnalysisIssuesDetected = - Array; -export type RealTimeContactAnalysisMatchedDetails = Record< - string, - RealTimeContactAnalysisCategoryDetails ->; +export type RealTimeContactAnalysisIssuesDetected = Array; +export type RealTimeContactAnalysisMatchedDetails = Record; export type RealTimeContactAnalysisOffset = number; export type RealTimeContactAnalysisOutputType = "Raw" | "Redacted"; export interface RealTimeContactAnalysisPointOfInterest { TranscriptItems?: Array; } -export type RealTimeContactAnalysisPointsOfInterest = - Array; +export type RealTimeContactAnalysisPointsOfInterest = Array; export type RealTimeContactAnalysisPostContactSummaryContent = string; -export type RealTimeContactAnalysisPostContactSummaryFailureCode = - | "QUOTA_EXCEEDED" - | "INSUFFICIENT_CONVERSATION_CONTENT" - | "FAILED_SAFETY_GUIDELINES" - | "INVALID_ANALYSIS_CONFIGURATION" - | "INTERNAL_ERROR"; -export type RealTimeContactAnalysisPostContactSummaryStatus = - | "FAILED" - | "COMPLETED"; +export type RealTimeContactAnalysisPostContactSummaryFailureCode = "QUOTA_EXCEEDED" | "INSUFFICIENT_CONVERSATION_CONTENT" | "FAILED_SAFETY_GUIDELINES" | "INVALID_ANALYSIS_CONFIGURATION" | "INTERNAL_ERROR"; +export type RealTimeContactAnalysisPostContactSummaryStatus = "FAILED" | "COMPLETED"; interface _RealtimeContactAnalysisSegment { Transcript?: RealTimeContactAnalysisSegmentTranscript; Categories?: RealTimeContactAnalysisSegmentCategories; @@ -7788,25 +5637,7 @@ interface _RealtimeContactAnalysisSegment { PostContactSummary?: RealTimeContactAnalysisSegmentPostContactSummary; } -export type RealtimeContactAnalysisSegment = - | (_RealtimeContactAnalysisSegment & { - Transcript: RealTimeContactAnalysisSegmentTranscript; - }) - | (_RealtimeContactAnalysisSegment & { - Categories: RealTimeContactAnalysisSegmentCategories; - }) - | (_RealtimeContactAnalysisSegment & { - Issues: RealTimeContactAnalysisSegmentIssues; - }) - | (_RealtimeContactAnalysisSegment & { - Event: RealTimeContactAnalysisSegmentEvent; - }) - | (_RealtimeContactAnalysisSegment & { - Attachments: RealTimeContactAnalysisSegmentAttachments; - }) - | (_RealtimeContactAnalysisSegment & { - PostContactSummary: RealTimeContactAnalysisSegmentPostContactSummary; - }); +export type RealtimeContactAnalysisSegment = (_RealtimeContactAnalysisSegment & { Transcript: RealTimeContactAnalysisSegmentTranscript }) | (_RealtimeContactAnalysisSegment & { Categories: RealTimeContactAnalysisSegmentCategories }) | (_RealtimeContactAnalysisSegment & { Issues: RealTimeContactAnalysisSegmentIssues }) | (_RealtimeContactAnalysisSegment & { Event: RealTimeContactAnalysisSegmentEvent }) | (_RealtimeContactAnalysisSegment & { Attachments: RealTimeContactAnalysisSegmentAttachments }) | (_RealtimeContactAnalysisSegment & { PostContactSummary: RealTimeContactAnalysisSegmentPostContactSummary }); export interface RealTimeContactAnalysisSegmentAttachments { Id: string; ParticipantId: string; @@ -7834,8 +5665,7 @@ export interface RealTimeContactAnalysisSegmentPostContactSummary { Status: RealTimeContactAnalysisPostContactSummaryStatus; FailureCode?: RealTimeContactAnalysisPostContactSummaryFailureCode; } -export type RealtimeContactAnalysisSegments = - Array; +export type RealtimeContactAnalysisSegments = Array; export interface RealTimeContactAnalysisSegmentTranscript { Id: string; ParticipantId: string; @@ -7847,30 +5677,16 @@ export interface RealTimeContactAnalysisSegmentTranscript { Redaction?: RealTimeContactAnalysisTranscriptItemRedaction; Sentiment?: RealTimeContactAnalysisSentimentLabel; } -export type RealTimeContactAnalysisSegmentType = - | "Transcript" - | "Categories" - | "Issues" - | "Event" - | "Attachments" - | "PostContactSummary"; -export type RealTimeContactAnalysisSegmentTypes = - Array; -export type RealTimeContactAnalysisSentimentLabel = - | "POSITIVE" - | "NEGATIVE" - | "NEUTRAL"; -export type RealTimeContactAnalysisStatus = - | "IN_PROGRESS" - | "FAILED" - | "COMPLETED"; +export type RealTimeContactAnalysisSegmentType = "Transcript" | "Categories" | "Issues" | "Event" | "Attachments" | "PostContactSummary"; +export type RealTimeContactAnalysisSegmentTypes = Array; +export type RealTimeContactAnalysisSentimentLabel = "POSITIVE" | "NEGATIVE" | "NEUTRAL"; +export type RealTimeContactAnalysisStatus = "IN_PROGRESS" | "FAILED" | "COMPLETED"; export type RealTimeContactAnalysisSupportedChannel = "VOICE" | "CHAT"; interface _RealTimeContactAnalysisTimeData { AbsoluteTime?: Date | string; } -export type RealTimeContactAnalysisTimeData = - _RealTimeContactAnalysisTimeData & { AbsoluteTime: Date | string }; +export type RealTimeContactAnalysisTimeData = (_RealTimeContactAnalysisTimeData & { AbsoluteTime: Date | string }); export type RealTimeContactAnalysisTimeInstant = Date | string; export type RealTimeContactAnalysisTranscriptContent = string; @@ -7878,10 +5694,8 @@ export type RealTimeContactAnalysisTranscriptContent = string; export interface RealTimeContactAnalysisTranscriptItemRedaction { CharacterOffsets?: Array; } -export type RealTimeContactAnalysisTranscriptItemsWithCharacterOffsets = - Array; -export type RealTimeContactAnalysisTranscriptItemsWithContent = - Array; +export type RealTimeContactAnalysisTranscriptItemsWithCharacterOffsets = Array; +export type RealTimeContactAnalysisTranscriptItemsWithContent = Array; export interface RealTimeContactAnalysisTranscriptItemWithCharacterOffsets { Id: string; CharacterOffsets?: RealTimeContactAnalysisCharacterInterval; @@ -7922,13 +5736,7 @@ export type ReferenceId = string; export type ReferenceKey = string; -export type ReferenceStatus = - | "AVAILABLE" - | "DELETED" - | "APPROVED" - | "REJECTED" - | "PROCESSING" - | "FAILED"; +export type ReferenceStatus = "AVAILABLE" | "DELETED" | "APPROVED" | "REJECTED" | "PROCESSING" | "FAILED"; export type ReferenceStatusReason = string; interface _ReferenceSummary { @@ -7941,24 +5749,9 @@ interface _ReferenceSummary { Email?: EmailReference; } -export type ReferenceSummary = - | (_ReferenceSummary & { Url: UrlReference }) - | (_ReferenceSummary & { Attachment: AttachmentReference }) - | (_ReferenceSummary & { EmailMessage: EmailMessageReference }) - | (_ReferenceSummary & { String: StringReference }) - | (_ReferenceSummary & { Number: NumberReference }) - | (_ReferenceSummary & { Date: DateReference }) - | (_ReferenceSummary & { Email: EmailReference }); +export type ReferenceSummary = (_ReferenceSummary & { Url: UrlReference }) | (_ReferenceSummary & { Attachment: AttachmentReference }) | (_ReferenceSummary & { EmailMessage: EmailMessageReference }) | (_ReferenceSummary & { String: StringReference }) | (_ReferenceSummary & { Number: NumberReference }) | (_ReferenceSummary & { Date: DateReference }) | (_ReferenceSummary & { Email: EmailReference }); export type ReferenceSummaryList = Array; -export type ReferenceType = - | "URL" - | "ATTACHMENT" - | "CONTACT_ANALYSIS" - | "NUMBER" - | "STRING" - | "DATE" - | "EMAIL" - | "EMAIL_MESSAGE"; +export type ReferenceType = "URL" | "ATTACHMENT" | "CONTACT_ANALYSIS" | "NUMBER" | "STRING" | "DATE" | "EMAIL" | "EMAIL_MESSAGE"; export type ReferenceTypes = Array; export type ReferenceValue = string; @@ -8032,15 +5825,7 @@ export declare class ResourceNotReadyException extends EffectData.TaggedError( export interface ResourceTagsSearchCriteria { TagSearchCondition?: TagSearchCondition; } -export type ResourceType = - | "CONTACT" - | "CONTACT_FLOW" - | "INSTANCE" - | "PARTICIPANT" - | "HIERARCHY_LEVEL" - | "HIERARCHY_GROUP" - | "USER" - | "PHONE_NUMBER"; +export type ResourceType = "CONTACT" | "CONTACT_FLOW" | "INSTANCE" | "PARTICIPANT" | "HIERARCHY_LEVEL" | "HIERARCHY_GROUP" | "USER" | "PHONE_NUMBER"; export type ResourceTypeList = Array; export type ResourceVersion = number; @@ -8050,13 +5835,15 @@ export interface ResumeContactRecordingRequest { InitialContactId: string; ContactRecordingType?: ContactRecordingType; } -export interface ResumeContactRecordingResponse {} +export interface ResumeContactRecordingResponse { +} export interface ResumeContactRequest { ContactId: string; InstanceId: string; ContactFlowId?: string; } -export interface ResumeContactResponse {} +export interface ResumeContactResponse { +} export interface RoutingCriteria { Steps?: Array; ActivationTimestamp?: Date | string; @@ -8073,11 +5860,7 @@ export interface RoutingCriteriaInputStepExpiry { DurationInSeconds?: number; } export type RoutingCriteriaInputSteps = Array; -export type RoutingCriteriaStepStatus = - | "ACTIVE" - | "INACTIVE" - | "JOINED" - | "EXPIRED"; +export type RoutingCriteriaStepStatus = "ACTIVE" | "INACTIVE" | "JOINED" | "EXPIRED"; export type RoutingExpression = string; export type RoutingExpressions = Array; @@ -8108,16 +5891,14 @@ export type RoutingProfileList = Array; export interface RoutingProfileManualAssignmentQueueConfig { QueueReference: RoutingProfileQueueReference; } -export type RoutingProfileManualAssignmentQueueConfigList = - Array; +export type RoutingProfileManualAssignmentQueueConfigList = Array; export interface RoutingProfileManualAssignmentQueueConfigSummary { QueueId: string; QueueArn: string; QueueName: string; Channel: Channel; } -export type RoutingProfileManualAssignmentQueueConfigSummaryList = - Array; +export type RoutingProfileManualAssignmentQueueConfigSummaryList = Array; export type RoutingProfileName = string; export interface RoutingProfileQueueConfig { @@ -8134,21 +5915,18 @@ export interface RoutingProfileQueueConfigSummary { Delay: number; Channel: Channel; } -export type RoutingProfileQueueConfigSummaryList = - Array; +export type RoutingProfileQueueConfigSummaryList = Array; export interface RoutingProfileQueueReference { QueueId: string; Channel: Channel; } -export type RoutingProfileQueueReferenceList = - Array; +export type RoutingProfileQueueReferenceList = Array; export interface RoutingProfileReference { Id?: string; Arn?: string; } export type RoutingProfiles = Array; -export type RoutingProfileSearchConditionList = - Array; +export type RoutingProfileSearchConditionList = Array; export interface RoutingProfileSearchCriteria { OrConditions?: Array; AndConditions?: Array; @@ -8235,8 +6013,7 @@ export interface SearchableContactAttributesCriteria { Key: string; Values: Array; } -export type SearchableContactAttributesCriteriaList = - Array; +export type SearchableContactAttributesCriteriaList = Array; export type SearchableContactAttributeValue = string; export type SearchableContactAttributeValueList = Array; @@ -8247,8 +6024,7 @@ export interface SearchableRoutingCriteria { export interface SearchableRoutingCriteriaStep { AgentCriteria?: SearchableAgentCriteriaStep; } -export type SearchableRoutingCriteriaStepList = - Array; +export type SearchableRoutingCriteriaStepList = Array; export type SearchableSegmentAttributeKey = string; export interface SearchableSegmentAttributes { @@ -8259,8 +6035,7 @@ export interface SearchableSegmentAttributesCriteria { Key: string; Values: Array; } -export type SearchableSegmentAttributesCriteriaList = - Array; +export type SearchableSegmentAttributesCriteriaList = Array; export type SearchableSegmentAttributeValue = string; export type SearchableSegmentAttributeValueList = Array; @@ -8321,13 +6096,8 @@ export interface SearchContactsAdditionalTimeRangeCriteria { TimeRange?: SearchContactsTimeRange; TimestampCondition?: SearchContactsTimestampCondition; } -export type SearchContactsAdditionalTimeRangeCriteriaList = - Array; -export type SearchContactsMatchType = - | "MATCH_ALL" - | "MATCH_ANY" - | "MATCH_EXACT" - | "MATCH_NONE"; +export type SearchContactsAdditionalTimeRangeCriteriaList = Array; +export type SearchContactsMatchType = "MATCH_ALL" | "MATCH_ANY" | "MATCH_EXACT" | "MATCH_NONE"; export interface SearchContactsRequest { InstanceId: string; TimeRange: SearchContactsTimeRange; @@ -8347,12 +6117,7 @@ export interface SearchContactsTimeRange { EndTime: Date | string; } export type SearchContactsTimeRangeConditionType = "NOT_EXISTS"; -export type SearchContactsTimeRangeType = - | "INITIATION_TIMESTAMP" - | "SCHEDULED_TIMESTAMP" - | "CONNECTED_TO_AGENT_TIMESTAMP" - | "DISCONNECT_TIMESTAMP" - | "ENQUEUE_TIMESTAMP"; +export type SearchContactsTimeRangeType = "INITIATION_TIMESTAMP" | "SCHEDULED_TIMESTAMP" | "CONNECTED_TO_AGENT_TIMESTAMP" | "DISCONNECT_TIMESTAMP" | "ENQUEUE_TIMESTAMP"; export interface SearchContactsTimestampCondition { Type: SearchContactsTimeRangeType; ConditionType: SearchContactsTimeRangeConditionType; @@ -8560,8 +6325,7 @@ export type SecurityProfilePolicyKey = string; export type SecurityProfilePolicyValue = string; -export type SecurityProfileSearchConditionList = - Array; +export type SecurityProfileSearchConditionList = Array; export interface SecurityProfileSearchCriteria { OrConditions?: Array; AndConditions?: Array; @@ -8578,8 +6342,7 @@ export interface SecurityProfileSearchSummary { export interface SecurityProfilesSearchFilter { TagFilter?: ControlPlaneTagFilter; } -export type SecurityProfilesSearchSummaryList = - Array; +export type SecurityProfilesSearchSummaryList = Array; export interface SecurityProfileSummary { Id?: string; Arn?: string; @@ -8634,7 +6397,8 @@ export interface SendOutboundEmailRequest { SourceCampaign?: SourceCampaign; ClientToken?: string; } -export interface SendOutboundEmailResponse {} +export interface SendOutboundEmailResponse { +} export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", )<{ @@ -8645,10 +6409,7 @@ interface _ServiceQuotaExceededExceptionReason { AttachedFileServiceQuotaExceededExceptionReason?: AttachedFileServiceQuotaExceededExceptionReason; } -export type ServiceQuotaExceededExceptionReason = - _ServiceQuotaExceededExceptionReason & { - AttachedFileServiceQuotaExceededExceptionReason: AttachedFileServiceQuotaExceededExceptionReason; - }; +export type ServiceQuotaExceededExceptionReason = (_ServiceQuotaExceededExceptionReason & { AttachedFileServiceQuotaExceededExceptionReason: AttachedFileServiceQuotaExceededExceptionReason }); export interface SignInConfig { Distributions: Array; } @@ -8663,9 +6424,7 @@ export interface SingleSelectQuestionRuleCategoryAutomation { Condition: SingleSelectQuestionRuleCategoryAutomationCondition; OptionRefId: string; } -export type SingleSelectQuestionRuleCategoryAutomationCondition = - | "PRESENT" - | "NOT_PRESENT"; +export type SingleSelectQuestionRuleCategoryAutomationCondition = "PRESENT" | "NOT_PRESENT"; export type SingleSelectQuestionRuleCategoryAutomationLabel = string; export type SlaAssignmentType = "CASES"; @@ -8679,14 +6438,7 @@ export interface Sort { FieldName: SortableFieldName; Order: SortOrder; } -export type SortableFieldName = - | "INITIATION_TIMESTAMP" - | "SCHEDULED_TIMESTAMP" - | "CONNECTED_TO_AGENT_TIMESTAMP" - | "DISCONNECT_TIMESTAMP" - | "INITIATION_METHOD" - | "CHANNEL" - | "EXPIRY_TIMESTAMP"; +export type SortableFieldName = "INITIATION_TIMESTAMP" | "SCHEDULED_TIMESTAMP" | "CONNECTED_TO_AGENT_TIMESTAMP" | "DISCONNECT_TIMESTAMP" | "INITIATION_METHOD" | "CHANNEL" | "EXPIRY_TIMESTAMP"; export type SortOrder = "ASCENDING" | "DESCENDING"; export type SourceApplicationName = string; @@ -8752,7 +6504,8 @@ export interface StartContactRecordingRequest { InitialContactId: string; VoiceRecordingConfiguration: VoiceRecordingConfiguration; } -export interface StartContactRecordingResponse {} +export interface StartContactRecordingResponse { +} export interface StartContactStreamingRequest { InstanceId: string; ContactId: string; @@ -8835,7 +6588,8 @@ export interface StartScreenSharingRequest { InstanceId: string; ContactId: string; } -export interface StartScreenSharingResponse {} +export interface StartScreenSharingResponse { +} export interface StartTaskContactRequest { InstanceId: string; PreviousContactId?: string; @@ -8891,24 +6645,23 @@ export interface StopContactRecordingRequest { InitialContactId: string; ContactRecordingType?: ContactRecordingType; } -export interface StopContactRecordingResponse {} +export interface StopContactRecordingResponse { +} export interface StopContactRequest { ContactId: string; InstanceId: string; DisconnectReason?: DisconnectReason; } -export interface StopContactResponse {} +export interface StopContactResponse { +} export interface StopContactStreamingRequest { InstanceId: string; ContactId: string; StreamingId: string; } -export interface StopContactStreamingResponse {} -export type StorageType = - | "S3" - | "KINESIS_VIDEO_STREAM" - | "KINESIS_STREAM" - | "KINESIS_FIREHOSE"; +export interface StopContactStreamingResponse { +} +export type StorageType = "S3" | "KINESIS_VIDEO_STREAM" | "KINESIS_STREAM" | "KINESIS_FIREHOSE"; export type StreamingId = string; export type ConnectString = string; @@ -8954,7 +6707,8 @@ export interface SuspendContactRecordingRequest { InitialContactId: string; ContactRecordingType?: ContactRecordingType; } -export interface SuspendContactRecordingResponse {} +export interface SuspendContactRecordingResponse { +} export type TagAndConditionList = Array; export interface TagCondition { TagKey?: string; @@ -8965,7 +6719,8 @@ export interface TagContactRequest { InstanceId: string; Tags: Record; } -export interface TagContactResponse {} +export interface TagContactResponse { +} export type TagKey = string; export type TagKeyList = Array; @@ -9019,8 +6774,7 @@ export interface TaskTemplateDefaultFieldValue { Id?: TaskTemplateFieldIdentifier; DefaultValue?: string; } -export type TaskTemplateDefaultFieldValueList = - Array; +export type TaskTemplateDefaultFieldValueList = Array; export interface TaskTemplateDefaults { DefaultFieldValues?: Array; } @@ -9040,21 +6794,7 @@ export interface TaskTemplateFieldIdentifier { export type TaskTemplateFieldName = string; export type TaskTemplateFields = Array; -export type TaskTemplateFieldType = - | "NAME" - | "DESCRIPTION" - | "SCHEDULED_TIME" - | "QUICK_CONNECT" - | "URL" - | "NUMBER" - | "TEXT" - | "TEXT_AREA" - | "DATE_TIME" - | "BOOLEAN" - | "SINGLE_SELECT" - | "EMAIL" - | "SELF_ASSIGN" - | "EXPIRY_DURATION"; +export type TaskTemplateFieldType = "NAME" | "DESCRIPTION" | "SCHEDULED_TIME" | "QUICK_CONNECT" | "URL" | "NUMBER" | "TEXT" | "TEXT_AREA" | "DATE_TIME" | "BOOLEAN" | "SINGLE_SELECT" | "EMAIL" | "SELF_ASSIGN" | "EXPIRY_DURATION"; export type TaskTemplateFieldValue = string; export type TaskTemplateId = string; @@ -9140,13 +6880,7 @@ export type TrafficDistributionGroupId = string; export type TrafficDistributionGroupIdOrArn = string; -export type TrafficDistributionGroupStatus = - | "CREATION_IN_PROGRESS" - | "ACTIVE" - | "CREATION_FAILED" - | "PENDING_DELETION" - | "DELETION_FAILED" - | "UPDATE_IN_PROGRESS"; +export type TrafficDistributionGroupStatus = "CREATION_IN_PROGRESS" | "ACTIVE" | "CREATION_FAILED" | "PENDING_DELETION" | "DELETION_FAILED" | "UPDATE_IN_PROGRESS"; export interface TrafficDistributionGroupSummary { Id?: string; Arn?: string; @@ -9155,13 +6889,11 @@ export interface TrafficDistributionGroupSummary { Status?: TrafficDistributionGroupStatus; IsDefault?: boolean; } -export type TrafficDistributionGroupSummaryList = - Array; +export type TrafficDistributionGroupSummaryList = Array; export interface TrafficDistributionGroupUserSummary { UserId?: string; } -export type TrafficDistributionGroupUserSummaryList = - Array; +export type TrafficDistributionGroupUserSummaryList = Array; export type TrafficType = "GENERAL" | "CAMPAIGN"; export interface Transcript { Criteria: Array; @@ -9191,7 +6923,8 @@ export interface UntagContactRequest { InstanceId: string; TagKeys: Array; } -export interface UntagContactResponse {} +export interface UntagContactResponse { +} export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; @@ -9224,7 +6957,8 @@ export interface UpdateContactAttributesRequest { InstanceId: string; Attributes: Record; } -export interface UpdateContactAttributesResponse {} +export interface UpdateContactAttributesResponse { +} export interface UpdateContactEvaluationRequest { InstanceId: string; EvaluationId: string; @@ -9240,7 +6974,8 @@ export interface UpdateContactFlowContentRequest { ContactFlowId: string; Content: string; } -export interface UpdateContactFlowContentResponse {} +export interface UpdateContactFlowContentResponse { +} export interface UpdateContactFlowMetadataRequest { InstanceId: string; ContactFlowId: string; @@ -9248,13 +6983,15 @@ export interface UpdateContactFlowMetadataRequest { Description?: string; ContactFlowState?: ContactFlowState; } -export interface UpdateContactFlowMetadataResponse {} +export interface UpdateContactFlowMetadataResponse { +} export interface UpdateContactFlowModuleContentRequest { InstanceId: string; ContactFlowModuleId: string; Content: string; } -export interface UpdateContactFlowModuleContentResponse {} +export interface UpdateContactFlowModuleContentResponse { +} export interface UpdateContactFlowModuleMetadataRequest { InstanceId: string; ContactFlowModuleId: string; @@ -9262,14 +6999,16 @@ export interface UpdateContactFlowModuleMetadataRequest { Description?: string; State?: ContactFlowModuleState; } -export interface UpdateContactFlowModuleMetadataResponse {} +export interface UpdateContactFlowModuleMetadataResponse { +} export interface UpdateContactFlowNameRequest { InstanceId: string; ContactFlowId: string; Name?: string; Description?: string; } -export interface UpdateContactFlowNameResponse {} +export interface UpdateContactFlowNameResponse { +} export interface UpdateContactRequest { InstanceId: string; ContactId: string; @@ -9282,7 +7021,8 @@ export interface UpdateContactRequest { CustomerEndpoint?: Endpoint; SystemEndpoint?: Endpoint; } -export interface UpdateContactResponse {} +export interface UpdateContactResponse { +} export interface UpdateContactRoutingDataRequest { InstanceId: string; ContactId: string; @@ -9290,13 +7030,15 @@ export interface UpdateContactRoutingDataRequest { QueuePriority?: number; RoutingCriteria?: RoutingCriteriaInput; } -export interface UpdateContactRoutingDataResponse {} +export interface UpdateContactRoutingDataResponse { +} export interface UpdateContactScheduleRequest { InstanceId: string; ContactId: string; ScheduledTime: Date | string; } -export interface UpdateContactScheduleResponse {} +export interface UpdateContactScheduleResponse { +} export interface UpdateEmailAddressMetadataRequest { InstanceId: string; EmailAddressId: string; @@ -9364,19 +7106,20 @@ export interface UpdateParticipantAuthenticationRequest { Error?: string; ErrorDescription?: string; } -export interface UpdateParticipantAuthenticationResponse {} +export interface UpdateParticipantAuthenticationResponse { +} interface _UpdateParticipantRoleConfigChannelInfo { Chat?: ChatParticipantRoleConfig; } -export type UpdateParticipantRoleConfigChannelInfo = - _UpdateParticipantRoleConfigChannelInfo & { Chat: ChatParticipantRoleConfig }; +export type UpdateParticipantRoleConfigChannelInfo = (_UpdateParticipantRoleConfigChannelInfo & { Chat: ChatParticipantRoleConfig }); export interface UpdateParticipantRoleConfigRequest { InstanceId: string; ContactId: string; ChannelConfiguration: UpdateParticipantRoleConfigChannelInfo; } -export interface UpdateParticipantRoleConfigResponse {} +export interface UpdateParticipantRoleConfigResponse { +} export interface UpdatePhoneNumberMetadataRequest { PhoneNumberId: string; PhoneNumberDescription?: string; @@ -9532,7 +7275,8 @@ export interface UpdateTrafficDistributionRequest { SignInConfig?: SignInConfig; AgentConfig?: AgentConfig; } -export interface UpdateTrafficDistributionResponse {} +export interface UpdateTrafficDistributionResponse { +} export interface UpdateUserHierarchyGroupNameRequest { Name: string; HierarchyGroupId: string; @@ -9587,7 +7331,8 @@ export interface UpdateViewMetadataRequest { Name?: string; Description?: string; } -export interface UpdateViewMetadataResponse {} +export interface UpdateViewMetadataResponse { +} export interface UploadUrlMetadata { Url?: string; UrlExpiry?: string; @@ -9652,8 +7397,7 @@ export interface UserDataFilters { export type UserDataHierarchyGroups = Array; export type UserDataList = Array; export type UserHierarchyGroupList = Array; -export type UserHierarchyGroupSearchConditionList = - Array; +export type UserHierarchyGroupSearchConditionList = Array; export interface UserHierarchyGroupSearchCriteria { OrConditions?: Array; AndConditions?: Array; @@ -9700,8 +7444,7 @@ export interface UserProficiencyDisassociate { AttributeName: string; AttributeValue: string; } -export type UserProficiencyDisassociateList = - Array; +export type UserProficiencyDisassociateList = Array; export type UserProficiencyList = Array; export interface UserQuickConnectConfig { UserId: string; @@ -9835,51 +7578,14 @@ export type VocabularyFailureReason = string; export type VocabularyId = string; -export type VocabularyLanguageCode = - | "ar-AE" - | "de-CH" - | "de-DE" - | "en-AB" - | "en-AU" - | "en-GB" - | "en-IE" - | "en-IN" - | "en-US" - | "en-WL" - | "es-ES" - | "es-US" - | "fr-CA" - | "fr-FR" - | "hi-IN" - | "it-IT" - | "ja-JP" - | "ko-KR" - | "pt-BR" - | "pt-PT" - | "zh-CN" - | "en-NZ" - | "en-ZA" - | "ca-ES" - | "da-DK" - | "fi-FI" - | "id-ID" - | "ms-MY" - | "nl-NL" - | "no-NO" - | "pl-PL" - | "sv-SE" - | "tl-PH"; +export type VocabularyLanguageCode = "ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH"; export type VocabularyLastModifiedTime = Date | string; export type VocabularyName = string; export type VocabularyNextToken = string; -export type VocabularyState = - | "CREATION_IN_PROGRESS" - | "ACTIVE" - | "CREATION_FAILED" - | "DELETE_IN_PROGRESS"; +export type VocabularyState = "CREATION_IN_PROGRESS" | "ACTIVE" | "CREATION_FAILED" | "DELETE_IN_PROGRESS"; export interface VocabularySummary { Name: string; Id: string; @@ -13494,31 +11200,5 @@ export declare namespace UpdateViewMetadata { | CommonAwsError; } -export type ConnectErrors = - | AccessDeniedException - | ConditionalOperationFailedException - | ConflictException - | ContactFlowNotPublishedException - | ContactNotFoundException - | DestinationNotAllowedException - | DuplicateResourceException - | IdempotencyException - | InternalServiceException - | InvalidContactFlowException - | InvalidContactFlowModuleException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | MaximumResultReturnedException - | OutboundContactNotPermittedException - | OutputTypeNotFoundException - | PropertyValidationException - | ResourceConflictException - | ResourceInUseException - | ResourceNotFoundException - | ResourceNotReadyException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyRequestsException - | UserNotFoundException - | CommonAwsError; +export type ConnectErrors = AccessDeniedException | ConditionalOperationFailedException | ConflictException | ContactFlowNotPublishedException | ContactNotFoundException | DestinationNotAllowedException | DuplicateResourceException | IdempotencyException | InternalServiceException | InvalidContactFlowException | InvalidContactFlowModuleException | InvalidParameterException | InvalidRequestException | LimitExceededException | MaximumResultReturnedException | OutboundContactNotPermittedException | OutputTypeNotFoundException | PropertyValidationException | ResourceConflictException | ResourceInUseException | ResourceNotFoundException | ResourceNotReadyException | ServiceQuotaExceededException | ThrottlingException | TooManyRequestsException | UserNotFoundException | CommonAwsError; + diff --git a/src/services/connectcampaigns/index.ts b/src/services/connectcampaigns/index.ts index 58e76023..0ec72414 100644 --- a/src/services/connectcampaigns/index.ts +++ b/src/services/connectcampaigns/index.ts @@ -5,23 +5,7 @@ import type { ConnectCampaigns as _ConnectCampaignsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,34 +14,32 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "connect-campaigns", operations: { - CreateCampaign: "PUT /campaigns", - DeleteCampaign: "DELETE /campaigns/{id}", - DeleteConnectInstanceConfig: - "DELETE /connect-instance/{connectInstanceId}/config", - DeleteInstanceOnboardingJob: - "DELETE /connect-instance/{connectInstanceId}/onboarding", - DescribeCampaign: "GET /campaigns/{id}", - GetCampaignState: "GET /campaigns/{id}/state", - GetCampaignStateBatch: "POST /campaigns-state", - GetConnectInstanceConfig: - "GET /connect-instance/{connectInstanceId}/config", - GetInstanceOnboardingJobStatus: - "GET /connect-instance/{connectInstanceId}/onboarding", - ListCampaigns: "POST /campaigns-summary", - ListTagsForResource: "GET /tags/{arn}", - PauseCampaign: "POST /campaigns/{id}/pause", - PutDialRequestBatch: "PUT /campaigns/{id}/dial-requests", - ResumeCampaign: "POST /campaigns/{id}/resume", - StartCampaign: "POST /campaigns/{id}/start", - StartInstanceOnboardingJob: - "PUT /connect-instance/{connectInstanceId}/onboarding", - StopCampaign: "POST /campaigns/{id}/stop", - TagResource: "POST /tags/{arn}", - UntagResource: "DELETE /tags/{arn}", - UpdateCampaignDialerConfig: "POST /campaigns/{id}/dialer-config", - UpdateCampaignName: "POST /campaigns/{id}/name", - UpdateCampaignOutboundCallConfig: - "POST /campaigns/{id}/outbound-call-config", + "CreateCampaign": "PUT /campaigns", + "DeleteCampaign": "DELETE /campaigns/{id}", + "DeleteConnectInstanceConfig": "DELETE /connect-instance/{connectInstanceId}/config", + "DeleteInstanceOnboardingJob": "DELETE /connect-instance/{connectInstanceId}/onboarding", + "DescribeCampaign": "GET /campaigns/{id}", + "GetCampaignState": "GET /campaigns/{id}/state", + "GetCampaignStateBatch": "POST /campaigns-state", + "GetConnectInstanceConfig": "GET /connect-instance/{connectInstanceId}/config", + "GetInstanceOnboardingJobStatus": "GET /connect-instance/{connectInstanceId}/onboarding", + "ListCampaigns": "POST /campaigns-summary", + "ListTagsForResource": "GET /tags/{arn}", + "PauseCampaign": "POST /campaigns/{id}/pause", + "PutDialRequestBatch": "PUT /campaigns/{id}/dial-requests", + "ResumeCampaign": "POST /campaigns/{id}/resume", + "StartCampaign": "POST /campaigns/{id}/start", + "StartInstanceOnboardingJob": "PUT /connect-instance/{connectInstanceId}/onboarding", + "StopCampaign": "POST /campaigns/{id}/stop", + "TagResource": "POST /tags/{arn}", + "UntagResource": "DELETE /tags/{arn}", + "UpdateCampaignDialerConfig": "POST /campaigns/{id}/dialer-config", + "UpdateCampaignName": "POST /campaigns/{id}/name", + "UpdateCampaignOutboundCallConfig": "POST /campaigns/{id}/outbound-call-config", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/connectcampaigns/types.ts b/src/services/connectcampaigns/types.ts index 992578a1..5db3aa93 100644 --- a/src/services/connectcampaigns/types.ts +++ b/src/services/connectcampaigns/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ConnectCampaigns extends AWSServiceClient { @@ -40,251 +8,133 @@ export declare class ConnectCampaigns extends AWSServiceClient { input: CreateCampaignRequest, ): Effect.Effect< CreateCampaignResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteCampaign( input: DeleteCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteConnectInstanceConfig( input: DeleteConnectInstanceConfigRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | InvalidStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteInstanceOnboardingJob( input: DeleteInstanceOnboardingJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | InvalidStateException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidStateException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeCampaign( input: DescribeCampaignRequest, ): Effect.Effect< DescribeCampaignResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getCampaignState( input: GetCampaignStateRequest, ): Effect.Effect< GetCampaignStateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCampaignStateBatch( input: GetCampaignStateBatchRequest, ): Effect.Effect< GetCampaignStateBatchResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getConnectInstanceConfig( input: GetConnectInstanceConfigRequest, ): Effect.Effect< GetConnectInstanceConfigResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getInstanceOnboardingJobStatus( input: GetInstanceOnboardingJobStatusRequest, ): Effect.Effect< GetInstanceOnboardingJobStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listCampaigns( input: ListCampaignsRequest, ): Effect.Effect< ListCampaignsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; pauseCampaign( input: PauseCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putDialRequestBatch( input: PutDialRequestBatchRequest, ): Effect.Effect< PutDialRequestBatchResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resumeCampaign( input: ResumeCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startCampaign( input: StartCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startInstanceOnboardingJob( input: StartInstanceOnboardingJobRequest, ): Effect.Effect< StartInstanceOnboardingJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopCampaign( input: StopCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCampaignDialerConfig( input: UpdateCampaignDialerConfigRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCampaignName( input: UpdateCampaignNameRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCampaignOutboundCallConfig( input: UpdateCampaignOutboundCallConfigRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -385,10 +235,7 @@ interface _DialerConfig { agentlessDialerConfig?: AgentlessDialerConfig; } -export type DialerConfig = - | (_DialerConfig & { progressiveDialerConfig: ProgressiveDialerConfig }) - | (_DialerConfig & { predictiveDialerConfig: PredictiveDialerConfig }) - | (_DialerConfig & { agentlessDialerConfig: AgentlessDialerConfig }); +export type DialerConfig = (_DialerConfig & { progressiveDialerConfig: ProgressiveDialerConfig }) | (_DialerConfig & { predictiveDialerConfig: PredictiveDialerConfig }) | (_DialerConfig & { agentlessDialerConfig: AgentlessDialerConfig }); export type DialingCapacity = number; export interface DialRequest { @@ -415,8 +262,7 @@ export interface FailedCampaignStateResponse { campaignId?: string; failureCode?: string; } -export type FailedCampaignStateResponseList = - Array; +export type FailedCampaignStateResponseList = Array; export interface FailedRequest { clientToken?: string; id?: string; @@ -575,8 +421,7 @@ export interface SuccessfulCampaignStateResponse { campaignId?: string; state?: string; } -export type SuccessfulCampaignStateResponseList = - Array; +export type SuccessfulCampaignStateResponseList = Array; export interface SuccessfulRequest { clientToken?: string; id?: string; @@ -898,14 +743,5 @@ export declare namespace UpdateCampaignOutboundCallConfig { | CommonAwsError; } -export type ConnectCampaignsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | InvalidStateException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ConnectCampaignsErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | InvalidStateException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/connectcampaignsv2/index.ts b/src/services/connectcampaignsv2/index.ts index 0b6284c6..9d8b62d1 100644 --- a/src/services/connectcampaignsv2/index.ts +++ b/src/services/connectcampaignsv2/index.ts @@ -5,23 +5,7 @@ import type { ConnectCampaignsV2 as _ConnectCampaignsV2Client } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,58 +14,45 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "connect-campaigns", operations: { - CreateCampaign: "PUT /v2/campaigns", - DeleteCampaign: "DELETE /v2/campaigns/{id}", - DeleteCampaignChannelSubtypeConfig: - "DELETE /v2/campaigns/{id}/channel-subtype-config", - DeleteCampaignCommunicationLimits: - "DELETE /v2/campaigns/{id}/communication-limits", - DeleteCampaignCommunicationTime: - "DELETE /v2/campaigns/{id}/communication-time", - DeleteConnectInstanceConfig: - "DELETE /v2/connect-instance/{connectInstanceId}/config", - DeleteConnectInstanceIntegration: - "POST /v2/connect-instance/{connectInstanceId}/integrations/delete", - DeleteInstanceOnboardingJob: - "DELETE /v2/connect-instance/{connectInstanceId}/onboarding", - DescribeCampaign: "GET /v2/campaigns/{id}", - GetCampaignState: "GET /v2/campaigns/{id}/state", - GetCampaignStateBatch: "POST /v2/campaigns-state", - GetConnectInstanceConfig: - "GET /v2/connect-instance/{connectInstanceId}/config", - GetInstanceCommunicationLimits: - "GET /v2/connect-instance/{connectInstanceId}/communication-limits", - GetInstanceOnboardingJobStatus: - "GET /v2/connect-instance/{connectInstanceId}/onboarding", - ListCampaigns: "POST /v2/campaigns-summary", - ListConnectInstanceIntegrations: - "GET /v2/connect-instance/{connectInstanceId}/integrations", - ListTagsForResource: "GET /v2/tags/{arn}", - PauseCampaign: "POST /v2/campaigns/{id}/pause", - PutConnectInstanceIntegration: - "PUT /v2/connect-instance/{connectInstanceId}/integrations", - PutInstanceCommunicationLimits: - "PUT /v2/connect-instance/{connectInstanceId}/communication-limits", - PutOutboundRequestBatch: "PUT /v2/campaigns/{id}/outbound-requests", - PutProfileOutboundRequestBatch: - "PUT /v2/campaigns/{id}/profile-outbound-requests", - ResumeCampaign: "POST /v2/campaigns/{id}/resume", - StartCampaign: "POST /v2/campaigns/{id}/start", - StartInstanceOnboardingJob: - "PUT /v2/connect-instance/{connectInstanceId}/onboarding", - StopCampaign: "POST /v2/campaigns/{id}/stop", - TagResource: "POST /v2/tags/{arn}", - UntagResource: "DELETE /v2/tags/{arn}", - UpdateCampaignChannelSubtypeConfig: - "POST /v2/campaigns/{id}/channel-subtype-config", - UpdateCampaignCommunicationLimits: - "POST /v2/campaigns/{id}/communication-limits", - UpdateCampaignCommunicationTime: - "POST /v2/campaigns/{id}/communication-time", - UpdateCampaignFlowAssociation: "POST /v2/campaigns/{id}/flow", - UpdateCampaignName: "POST /v2/campaigns/{id}/name", - UpdateCampaignSchedule: "POST /v2/campaigns/{id}/schedule", - UpdateCampaignSource: "POST /v2/campaigns/{id}/source", + "CreateCampaign": "PUT /v2/campaigns", + "DeleteCampaign": "DELETE /v2/campaigns/{id}", + "DeleteCampaignChannelSubtypeConfig": "DELETE /v2/campaigns/{id}/channel-subtype-config", + "DeleteCampaignCommunicationLimits": "DELETE /v2/campaigns/{id}/communication-limits", + "DeleteCampaignCommunicationTime": "DELETE /v2/campaigns/{id}/communication-time", + "DeleteConnectInstanceConfig": "DELETE /v2/connect-instance/{connectInstanceId}/config", + "DeleteConnectInstanceIntegration": "POST /v2/connect-instance/{connectInstanceId}/integrations/delete", + "DeleteInstanceOnboardingJob": "DELETE /v2/connect-instance/{connectInstanceId}/onboarding", + "DescribeCampaign": "GET /v2/campaigns/{id}", + "GetCampaignState": "GET /v2/campaigns/{id}/state", + "GetCampaignStateBatch": "POST /v2/campaigns-state", + "GetConnectInstanceConfig": "GET /v2/connect-instance/{connectInstanceId}/config", + "GetInstanceCommunicationLimits": "GET /v2/connect-instance/{connectInstanceId}/communication-limits", + "GetInstanceOnboardingJobStatus": "GET /v2/connect-instance/{connectInstanceId}/onboarding", + "ListCampaigns": "POST /v2/campaigns-summary", + "ListConnectInstanceIntegrations": "GET /v2/connect-instance/{connectInstanceId}/integrations", + "ListTagsForResource": "GET /v2/tags/{arn}", + "PauseCampaign": "POST /v2/campaigns/{id}/pause", + "PutConnectInstanceIntegration": "PUT /v2/connect-instance/{connectInstanceId}/integrations", + "PutInstanceCommunicationLimits": "PUT /v2/connect-instance/{connectInstanceId}/communication-limits", + "PutOutboundRequestBatch": "PUT /v2/campaigns/{id}/outbound-requests", + "PutProfileOutboundRequestBatch": "PUT /v2/campaigns/{id}/profile-outbound-requests", + "ResumeCampaign": "POST /v2/campaigns/{id}/resume", + "StartCampaign": "POST /v2/campaigns/{id}/start", + "StartInstanceOnboardingJob": "PUT /v2/connect-instance/{connectInstanceId}/onboarding", + "StopCampaign": "POST /v2/campaigns/{id}/stop", + "TagResource": "POST /v2/tags/{arn}", + "UntagResource": "DELETE /v2/tags/{arn}", + "UpdateCampaignChannelSubtypeConfig": "POST /v2/campaigns/{id}/channel-subtype-config", + "UpdateCampaignCommunicationLimits": "POST /v2/campaigns/{id}/communication-limits", + "UpdateCampaignCommunicationTime": "POST /v2/campaigns/{id}/communication-time", + "UpdateCampaignFlowAssociation": "POST /v2/campaigns/{id}/flow", + "UpdateCampaignName": "POST /v2/campaigns/{id}/name", + "UpdateCampaignSchedule": "POST /v2/campaigns/{id}/schedule", + "UpdateCampaignSource": "POST /v2/campaigns/{id}/source", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/connectcampaignsv2/types.ts b/src/services/connectcampaignsv2/types.ts index 02730680..6335b748 100644 --- a/src/services/connectcampaignsv2/types.ts +++ b/src/services/connectcampaignsv2/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ConnectCampaignsV2 extends AWSServiceClient { @@ -40,402 +8,211 @@ export declare class ConnectCampaignsV2 extends AWSServiceClient { input: CreateCampaignRequest, ): Effect.Effect< CreateCampaignResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteCampaign( input: DeleteCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteCampaignChannelSubtypeConfig( input: DeleteCampaignChannelSubtypeConfigRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteCampaignCommunicationLimits( input: DeleteCampaignCommunicationLimitsRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteCampaignCommunicationTime( input: DeleteCampaignCommunicationTimeRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteConnectInstanceConfig( input: DeleteConnectInstanceConfigRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | InvalidStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConnectInstanceIntegration( input: DeleteConnectInstanceIntegrationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteInstanceOnboardingJob( input: DeleteInstanceOnboardingJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | InvalidStateException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidStateException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeCampaign( input: DescribeCampaignRequest, ): Effect.Effect< DescribeCampaignResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getCampaignState( input: GetCampaignStateRequest, ): Effect.Effect< GetCampaignStateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCampaignStateBatch( input: GetCampaignStateBatchRequest, ): Effect.Effect< GetCampaignStateBatchResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getConnectInstanceConfig( input: GetConnectInstanceConfigRequest, ): Effect.Effect< GetConnectInstanceConfigResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getInstanceCommunicationLimits( input: GetInstanceCommunicationLimitsRequest, ): Effect.Effect< GetInstanceCommunicationLimitsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getInstanceOnboardingJobStatus( input: GetInstanceOnboardingJobStatusRequest, ): Effect.Effect< GetInstanceOnboardingJobStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listCampaigns( input: ListCampaignsRequest, ): Effect.Effect< ListCampaignsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listConnectInstanceIntegrations( input: ListConnectInstanceIntegrationsRequest, ): Effect.Effect< ListConnectInstanceIntegrationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; pauseCampaign( input: PauseCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putConnectInstanceIntegration( input: PutConnectInstanceIntegrationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putInstanceCommunicationLimits( input: PutInstanceCommunicationLimitsRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putOutboundRequestBatch( input: PutOutboundRequestBatchRequest, ): Effect.Effect< PutOutboundRequestBatchResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putProfileOutboundRequestBatch( input: PutProfileOutboundRequestBatchRequest, ): Effect.Effect< PutProfileOutboundRequestBatchResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resumeCampaign( input: ResumeCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startCampaign( input: StartCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startInstanceOnboardingJob( input: StartInstanceOnboardingJobRequest, ): Effect.Effect< StartInstanceOnboardingJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopCampaign( input: StopCampaignRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCampaignChannelSubtypeConfig( input: UpdateCampaignChannelSubtypeConfigRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCampaignCommunicationLimits( input: UpdateCampaignCommunicationLimitsRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCampaignCommunicationTime( input: UpdateCampaignCommunicationTimeRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCampaignFlowAssociation( input: UpdateCampaignFlowAssociationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCampaignName( input: UpdateCampaignNameRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCampaignSchedule( input: UpdateCampaignScheduleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCampaignSource( input: UpdateCampaignSourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -450,7 +227,8 @@ export declare class AccessDeniedException extends EffectData.TaggedError( export type AgentAction = string; export type AgentActions = Array; -export interface AgentlessConfig {} +export interface AgentlessConfig { +} export interface AnswerMachineDetectionConfig { enableAnswerMachineDetection: boolean; awaitAnswerMachinePrompt?: boolean; @@ -517,12 +295,7 @@ interface _ChannelSubtypeParameters { email?: EmailChannelSubtypeParameters; } -export type ChannelSubtypeParameters = - | (_ChannelSubtypeParameters & { - telephony: TelephonyChannelSubtypeParameters; - }) - | (_ChannelSubtypeParameters & { sms: SmsChannelSubtypeParameters }) - | (_ChannelSubtypeParameters & { email: EmailChannelSubtypeParameters }); +export type ChannelSubtypeParameters = (_ChannelSubtypeParameters & { telephony: TelephonyChannelSubtypeParameters }) | (_ChannelSubtypeParameters & { sms: SmsChannelSubtypeParameters }) | (_ChannelSubtypeParameters & { email: EmailChannelSubtypeParameters }); export type ClientToken = string; export interface CommunicationLimit { @@ -535,9 +308,7 @@ interface _CommunicationLimits { communicationLimitsList?: Array; } -export type CommunicationLimits = _CommunicationLimits & { - communicationLimitsList: Array; -}; +export type CommunicationLimits = (_CommunicationLimits & { communicationLimitsList: Array }); export interface CommunicationLimitsConfig { allChannelSubtypes?: CommunicationLimits; instanceLimitsHandling?: string; @@ -652,9 +423,7 @@ interface _EmailOutboundMode { agentless?: AgentlessConfig; } -export type EmailOutboundMode = _EmailOutboundMode & { - agentless: AgentlessConfig; -}; +export type EmailOutboundMode = (_EmailOutboundMode & { agentless: AgentlessConfig }); export type Enabled = boolean; export interface EncryptionConfig { @@ -675,15 +444,13 @@ export interface FailedCampaignStateResponse { campaignId?: string; failureCode?: string; } -export type FailedCampaignStateResponseList = - Array; +export type FailedCampaignStateResponseList = Array; export interface FailedProfileOutboundRequest { clientToken?: string; id?: string; failureCode?: string; } -export type FailedProfileOutboundRequestList = - Array; +export type FailedProfileOutboundRequestList = Array; export interface FailedRequest { clientToken?: string; id?: string; @@ -757,31 +524,19 @@ interface _IntegrationConfig { qConnect?: QConnectIntegrationConfig; } -export type IntegrationConfig = - | (_IntegrationConfig & { - customerProfiles: CustomerProfilesIntegrationConfig; - }) - | (_IntegrationConfig & { qConnect: QConnectIntegrationConfig }); +export type IntegrationConfig = (_IntegrationConfig & { customerProfiles: CustomerProfilesIntegrationConfig }) | (_IntegrationConfig & { qConnect: QConnectIntegrationConfig }); interface _IntegrationIdentifier { customerProfiles?: CustomerProfilesIntegrationIdentifier; qConnect?: QConnectIntegrationIdentifier; } -export type IntegrationIdentifier = - | (_IntegrationIdentifier & { - customerProfiles: CustomerProfilesIntegrationIdentifier; - }) - | (_IntegrationIdentifier & { qConnect: QConnectIntegrationIdentifier }); +export type IntegrationIdentifier = (_IntegrationIdentifier & { customerProfiles: CustomerProfilesIntegrationIdentifier }) | (_IntegrationIdentifier & { qConnect: QConnectIntegrationIdentifier }); interface _IntegrationSummary { customerProfiles?: CustomerProfilesIntegrationSummary; qConnect?: QConnectIntegrationSummary; } -export type IntegrationSummary = - | (_IntegrationSummary & { - customerProfiles: CustomerProfilesIntegrationSummary; - }) - | (_IntegrationSummary & { qConnect: QConnectIntegrationSummary }); +export type IntegrationSummary = (_IntegrationSummary & { customerProfiles: CustomerProfilesIntegrationSummary }) | (_IntegrationSummary & { qConnect: QConnectIntegrationSummary }); export type IntegrationSummaryList = Array; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", @@ -850,9 +605,7 @@ interface _OpenHours { dailyHours?: Record>; } -export type OpenHours = _OpenHours & { - dailyHours: Record>; -}; +export type OpenHours = (_OpenHours & { dailyHours: Record> }); export interface OutboundRequest { clientToken: string; expirationTime: Date | string; @@ -938,9 +691,7 @@ interface _RestrictedPeriods { restrictedPeriodList?: Array; } -export type RestrictedPeriods = _RestrictedPeriods & { - restrictedPeriodList: Array; -}; +export type RestrictedPeriods = (_RestrictedPeriods & { restrictedPeriodList: Array }); export interface ResumeCampaignRequest { id: string; } @@ -976,15 +727,13 @@ interface _SmsOutboundMode { agentless?: AgentlessConfig; } -export type SmsOutboundMode = _SmsOutboundMode & { agentless: AgentlessConfig }; +export type SmsOutboundMode = (_SmsOutboundMode & { agentless: AgentlessConfig }); interface _Source { customerProfilesSegmentArn?: string; eventTrigger?: EventTrigger; } -export type Source = - | (_Source & { customerProfilesSegmentArn: string }) - | (_Source & { eventTrigger: EventTrigger }); +export type Source = (_Source & { customerProfilesSegmentArn: string }) | (_Source & { eventTrigger: EventTrigger }); export type SourcePhoneNumber = string; export interface StartCampaignRequest { @@ -1004,14 +753,12 @@ export interface SuccessfulCampaignStateResponse { campaignId?: string; state?: string; } -export type SuccessfulCampaignStateResponseList = - Array; +export type SuccessfulCampaignStateResponseList = Array; export interface SuccessfulProfileOutboundRequest { clientToken?: string; id?: string; } -export type SuccessfulProfileOutboundRequestList = - Array; +export type SuccessfulProfileOutboundRequestList = Array; export interface SuccessfulRequest { clientToken?: string; id?: string; @@ -1051,11 +798,7 @@ interface _TelephonyOutboundMode { preview?: PreviewConfig; } -export type TelephonyOutboundMode = - | (_TelephonyOutboundMode & { progressive: ProgressiveConfig }) - | (_TelephonyOutboundMode & { predictive: PredictiveConfig }) - | (_TelephonyOutboundMode & { agentless: AgentlessConfig }) - | (_TelephonyOutboundMode & { preview: PreviewConfig }); +export type TelephonyOutboundMode = (_TelephonyOutboundMode & { progressive: ProgressiveConfig }) | (_TelephonyOutboundMode & { predictive: PredictiveConfig }) | (_TelephonyOutboundMode & { agentless: AgentlessConfig }) | (_TelephonyOutboundMode & { preview: PreviewConfig }); export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -1556,14 +1299,5 @@ export declare namespace UpdateCampaignSource { | CommonAwsError; } -export type ConnectCampaignsV2Errors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidCampaignStateException - | InvalidStateException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ConnectCampaignsV2Errors = AccessDeniedException | ConflictException | InternalServerException | InvalidCampaignStateException | InvalidStateException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/connectcases/index.ts b/src/services/connectcases/index.ts index 0a8cc904..fb0008cc 100644 --- a/src/services/connectcases/index.ts +++ b/src/services/connectcases/index.ts @@ -5,23 +5,7 @@ import type { ConnectCases as _ConnectCasesClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,52 +15,52 @@ const metadata = { sigV4ServiceName: "cases", endpointPrefix: "cases", operations: { - ListTagsForResource: "GET /tags/{arn}", - TagResource: "POST /tags/{arn}", - UntagResource: "DELETE /tags/{arn}", - BatchGetCaseRule: "POST /domains/{domainId}/rules-batch", - BatchGetField: "POST /domains/{domainId}/fields-batch", - BatchPutFieldOptions: "PUT /domains/{domainId}/fields/{fieldId}/options", - CreateCase: "POST /domains/{domainId}/cases", - CreateCaseRule: "POST /domains/{domainId}/case-rules", - CreateDomain: "POST /domains", - CreateField: "POST /domains/{domainId}/fields", - CreateLayout: "POST /domains/{domainId}/layouts", - CreateRelatedItem: "POST /domains/{domainId}/cases/{caseId}/related-items/", - CreateTemplate: "POST /domains/{domainId}/templates", - DeleteCase: "DELETE /domains/{domainId}/cases/{caseId}", - DeleteCaseRule: "DELETE /domains/{domainId}/case-rules/{caseRuleId}", - DeleteDomain: "DELETE /domains/{domainId}", - DeleteField: "DELETE /domains/{domainId}/fields/{fieldId}", - DeleteLayout: "DELETE /domains/{domainId}/layouts/{layoutId}", - DeleteRelatedItem: - "DELETE /domains/{domainId}/cases/{caseId}/related-items/{relatedItemId}", - DeleteTemplate: "DELETE /domains/{domainId}/templates/{templateId}", - GetCase: "POST /domains/{domainId}/cases/{caseId}", - GetCaseAuditEvents: "POST /domains/{domainId}/cases/{caseId}/audit-history", - GetCaseEventConfiguration: - "POST /domains/{domainId}/case-event-configuration", - GetDomain: "POST /domains/{domainId}", - GetLayout: "POST /domains/{domainId}/layouts/{layoutId}", - GetTemplate: "POST /domains/{domainId}/templates/{templateId}", - ListCaseRules: "POST /domains/{domainId}/rules-list/", - ListCasesForContact: "POST /domains/{domainId}/list-cases-for-contact", - ListDomains: "POST /domains-list", - ListFieldOptions: "POST /domains/{domainId}/fields/{fieldId}/options-list", - ListFields: "POST /domains/{domainId}/fields-list", - ListLayouts: "POST /domains/{domainId}/layouts-list", - ListTemplates: "POST /domains/{domainId}/templates-list", - PutCaseEventConfiguration: - "PUT /domains/{domainId}/case-event-configuration", - SearchAllRelatedItems: "POST /domains/{domainId}/related-items-search", - SearchCases: "POST /domains/{domainId}/cases-search", - SearchRelatedItems: - "POST /domains/{domainId}/cases/{caseId}/related-items-search", - UpdateCase: "PUT /domains/{domainId}/cases/{caseId}", - UpdateCaseRule: "PUT /domains/{domainId}/case-rules/{caseRuleId}", - UpdateField: "PUT /domains/{domainId}/fields/{fieldId}", - UpdateLayout: "PUT /domains/{domainId}/layouts/{layoutId}", - UpdateTemplate: "PUT /domains/{domainId}/templates/{templateId}", + "ListTagsForResource": "GET /tags/{arn}", + "TagResource": "POST /tags/{arn}", + "UntagResource": "DELETE /tags/{arn}", + "BatchGetCaseRule": "POST /domains/{domainId}/rules-batch", + "BatchGetField": "POST /domains/{domainId}/fields-batch", + "BatchPutFieldOptions": "PUT /domains/{domainId}/fields/{fieldId}/options", + "CreateCase": "POST /domains/{domainId}/cases", + "CreateCaseRule": "POST /domains/{domainId}/case-rules", + "CreateDomain": "POST /domains", + "CreateField": "POST /domains/{domainId}/fields", + "CreateLayout": "POST /domains/{domainId}/layouts", + "CreateRelatedItem": "POST /domains/{domainId}/cases/{caseId}/related-items/", + "CreateTemplate": "POST /domains/{domainId}/templates", + "DeleteCase": "DELETE /domains/{domainId}/cases/{caseId}", + "DeleteCaseRule": "DELETE /domains/{domainId}/case-rules/{caseRuleId}", + "DeleteDomain": "DELETE /domains/{domainId}", + "DeleteField": "DELETE /domains/{domainId}/fields/{fieldId}", + "DeleteLayout": "DELETE /domains/{domainId}/layouts/{layoutId}", + "DeleteRelatedItem": "DELETE /domains/{domainId}/cases/{caseId}/related-items/{relatedItemId}", + "DeleteTemplate": "DELETE /domains/{domainId}/templates/{templateId}", + "GetCase": "POST /domains/{domainId}/cases/{caseId}", + "GetCaseAuditEvents": "POST /domains/{domainId}/cases/{caseId}/audit-history", + "GetCaseEventConfiguration": "POST /domains/{domainId}/case-event-configuration", + "GetDomain": "POST /domains/{domainId}", + "GetLayout": "POST /domains/{domainId}/layouts/{layoutId}", + "GetTemplate": "POST /domains/{domainId}/templates/{templateId}", + "ListCaseRules": "POST /domains/{domainId}/rules-list/", + "ListCasesForContact": "POST /domains/{domainId}/list-cases-for-contact", + "ListDomains": "POST /domains-list", + "ListFieldOptions": "POST /domains/{domainId}/fields/{fieldId}/options-list", + "ListFields": "POST /domains/{domainId}/fields-list", + "ListLayouts": "POST /domains/{domainId}/layouts-list", + "ListTemplates": "POST /domains/{domainId}/templates-list", + "PutCaseEventConfiguration": "PUT /domains/{domainId}/case-event-configuration", + "SearchAllRelatedItems": "POST /domains/{domainId}/related-items-search", + "SearchCases": "POST /domains/{domainId}/cases-search", + "SearchRelatedItems": "POST /domains/{domainId}/cases/{caseId}/related-items-search", + "UpdateCase": "PUT /domains/{domainId}/cases/{caseId}", + "UpdateCaseRule": "PUT /domains/{domainId}/case-rules/{caseRuleId}", + "UpdateField": "PUT /domains/{domainId}/fields/{fieldId}", + "UpdateLayout": "PUT /domains/{domainId}/layouts/{layoutId}", + "UpdateTemplate": "PUT /domains/{domainId}/templates/{templateId}", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/connectcases/types.ts b/src/services/connectcases/types.ts index cf282896..ac0fed34 100644 --- a/src/services/connectcases/types.ts +++ b/src/services/connectcases/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ConnectCases extends AWSServiceClient { @@ -40,487 +8,253 @@ export declare class ConnectCases extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetCaseRule( input: BatchGetCaseRuleRequest, ): Effect.Effect< BatchGetCaseRuleResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetField( input: BatchGetFieldRequest, ): Effect.Effect< BatchGetFieldResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchPutFieldOptions( input: BatchPutFieldOptionsRequest, ): Effect.Effect< BatchPutFieldOptionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCase( input: CreateCaseRequest, ): Effect.Effect< CreateCaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createCaseRule( input: CreateCaseRuleRequest, ): Effect.Effect< CreateCaseRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDomain( input: CreateDomainRequest, ): Effect.Effect< CreateDomainResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createField( input: CreateFieldRequest, ): Effect.Effect< CreateFieldResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLayout( input: CreateLayoutRequest, ): Effect.Effect< CreateLayoutResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRelatedItem( input: CreateRelatedItemRequest, ): Effect.Effect< CreateRelatedItemResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTemplate( input: CreateTemplateRequest, ): Effect.Effect< CreateTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteCase( input: DeleteCaseRequest, ): Effect.Effect< DeleteCaseResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCaseRule( input: DeleteCaseRuleRequest, ): Effect.Effect< DeleteCaseRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDomain( input: DeleteDomainRequest, ): Effect.Effect< DeleteDomainResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteField( input: DeleteFieldRequest, ): Effect.Effect< DeleteFieldResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteLayout( input: DeleteLayoutRequest, ): Effect.Effect< DeleteLayoutResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRelatedItem( input: DeleteRelatedItemRequest, ): Effect.Effect< DeleteRelatedItemResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTemplate( input: DeleteTemplateRequest, ): Effect.Effect< DeleteTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCase( input: GetCaseRequest, ): Effect.Effect< GetCaseResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCaseAuditEvents( input: GetCaseAuditEventsRequest, ): Effect.Effect< GetCaseAuditEventsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCaseEventConfiguration( input: GetCaseEventConfigurationRequest, ): Effect.Effect< GetCaseEventConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDomain( input: GetDomainRequest, ): Effect.Effect< GetDomainResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLayout( input: GetLayoutRequest, ): Effect.Effect< GetLayoutResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTemplate( input: GetTemplateRequest, ): Effect.Effect< GetTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCaseRules( input: ListCaseRulesRequest, ): Effect.Effect< ListCaseRulesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCasesForContact( input: ListCasesForContactRequest, ): Effect.Effect< ListCasesForContactResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDomains( input: ListDomainsRequest, ): Effect.Effect< ListDomainsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listFieldOptions( input: ListFieldOptionsRequest, ): Effect.Effect< ListFieldOptionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFields( input: ListFieldsRequest, ): Effect.Effect< ListFieldsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLayouts( input: ListLayoutsRequest, ): Effect.Effect< ListLayoutsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTemplates( input: ListTemplatesRequest, ): Effect.Effect< ListTemplatesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putCaseEventConfiguration( input: PutCaseEventConfigurationRequest, ): Effect.Effect< PutCaseEventConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchAllRelatedItems( input: SearchAllRelatedItemsRequest, ): Effect.Effect< SearchAllRelatedItemsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchCases( input: SearchCasesRequest, ): Effect.Effect< SearchCasesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchRelatedItems( input: SearchRelatedItemsRequest, ): Effect.Effect< SearchRelatedItemsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCase( input: UpdateCaseRequest, ): Effect.Effect< UpdateCaseResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCaseRule( input: UpdateCaseRuleRequest, ): Effect.Effect< UpdateCaseRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateField( input: UpdateFieldRequest, ): Effect.Effect< UpdateFieldResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateLayout( input: UpdateLayoutRequest, ): Effect.Effect< UpdateLayoutResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateTemplate( input: UpdateTemplateRequest, ): Effect.Effect< UpdateTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -561,12 +295,7 @@ interface _AuditEventFieldValueUnion { userArnValue?: string; } -export type AuditEventFieldValueUnion = - | (_AuditEventFieldValueUnion & { stringValue: string }) - | (_AuditEventFieldValueUnion & { doubleValue: number }) - | (_AuditEventFieldValueUnion & { booleanValue: boolean }) - | (_AuditEventFieldValueUnion & { emptyValue: EmptyFieldValue }) - | (_AuditEventFieldValueUnion & { userArnValue: string }); +export type AuditEventFieldValueUnion = (_AuditEventFieldValueUnion & { stringValue: string }) | (_AuditEventFieldValueUnion & { doubleValue: number }) | (_AuditEventFieldValueUnion & { booleanValue: boolean }) | (_AuditEventFieldValueUnion & { emptyValue: EmptyFieldValue }) | (_AuditEventFieldValueUnion & { userArnValue: string }); export type AuditEventId = string; export interface AuditEventPerformedBy { @@ -616,9 +345,7 @@ interface _BooleanCondition { notEqualTo?: BooleanOperands; } -export type BooleanCondition = - | (_BooleanCondition & { equalTo: BooleanOperands }) - | (_BooleanCondition & { notEqualTo: BooleanOperands }); +export type BooleanCondition = (_BooleanCondition & { equalTo: BooleanOperands }) | (_BooleanCondition & { notEqualTo: BooleanOperands }); export type BooleanConditionList = Array; export interface BooleanOperands { operandOne: OperandOne; @@ -637,11 +364,7 @@ interface _CaseFilter { orAll?: Array; } -export type CaseFilter = - | (_CaseFilter & { field: FieldFilter }) - | (_CaseFilter & { not: CaseFilter }) - | (_CaseFilter & { andAll: Array }) - | (_CaseFilter & { orAll: Array }); +export type CaseFilter = (_CaseFilter & { field: FieldFilter }) | (_CaseFilter & { not: CaseFilter }) | (_CaseFilter & { andAll: Array }) | (_CaseFilter & { orAll: Array }); export type CaseFilterList = Array; export type CaseId = string; @@ -655,10 +378,7 @@ interface _CaseRuleDetails { hidden?: HiddenCaseRule; } -export type CaseRuleDetails = - | (_CaseRuleDetails & { required: RequiredCaseRule }) - | (_CaseRuleDetails & { fieldOptions: FieldOptionsCaseRule }) - | (_CaseRuleDetails & { hidden: HiddenCaseRule }); +export type CaseRuleDetails = (_CaseRuleDetails & { required: RequiredCaseRule }) | (_CaseRuleDetails & { fieldOptions: FieldOptionsCaseRule }) | (_CaseRuleDetails & { hidden: HiddenCaseRule }); export interface CaseRuleError { id: string; errorCode: string; @@ -696,7 +416,8 @@ export interface CommentContent { body: string; contentType: string; } -export interface CommentFilter {} +export interface CommentFilter { +} export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -813,11 +534,7 @@ interface _CustomFieldsFilter { orAll?: Array; } -export type CustomFieldsFilter = - | (_CustomFieldsFilter & { field: FieldFilter }) - | (_CustomFieldsFilter & { not: CustomFieldsFilter }) - | (_CustomFieldsFilter & { andAll: Array }) - | (_CustomFieldsFilter & { orAll: Array }); +export type CustomFieldsFilter = (_CustomFieldsFilter & { field: FieldFilter }) | (_CustomFieldsFilter & { not: CustomFieldsFilter }) | (_CustomFieldsFilter & { andAll: Array }) | (_CustomFieldsFilter & { orAll: Array }); export type CustomFieldsFilterList = Array; export interface CustomFilter { fields?: CustomFieldsFilter; @@ -829,39 +546,46 @@ export interface DeleteCaseRequest { domainId: string; caseId: string; } -export interface DeleteCaseResponse {} +export interface DeleteCaseResponse { +} export interface DeleteCaseRuleRequest { domainId: string; caseRuleId: string; } -export interface DeleteCaseRuleResponse {} +export interface DeleteCaseRuleResponse { +} export type Deleted = boolean; export interface DeleteDomainRequest { domainId: string; } -export interface DeleteDomainResponse {} +export interface DeleteDomainResponse { +} export interface DeleteFieldRequest { domainId: string; fieldId: string; } -export interface DeleteFieldResponse {} +export interface DeleteFieldResponse { +} export interface DeleteLayoutRequest { domainId: string; layoutId: string; } -export interface DeleteLayoutResponse {} +export interface DeleteLayoutResponse { +} export interface DeleteRelatedItemRequest { domainId: string; caseId: string; relatedItemId: string; } -export interface DeleteRelatedItemResponse {} +export interface DeleteRelatedItemResponse { +} export interface DeleteTemplateRequest { domainId: string; templateId: string; } -export interface DeleteTemplateResponse {} +export interface DeleteTemplateResponse { +} export type DomainArn = string; export type DomainId = string; @@ -876,8 +600,10 @@ export interface DomainSummary { name: string; } export type DomainSummaryList = Array; -export interface EmptyFieldValue {} -export interface EmptyOperandValue {} +export interface EmptyFieldValue { +} +export interface EmptyOperandValue { +} export interface EventBridgeConfiguration { enabled: boolean; includedData?: EventIncludedData; @@ -904,13 +630,7 @@ interface _FieldFilter { lessThanOrEqualTo?: FieldValue; } -export type FieldFilter = - | (_FieldFilter & { equalTo: FieldValue }) - | (_FieldFilter & { contains: FieldValue }) - | (_FieldFilter & { greaterThan: FieldValue }) - | (_FieldFilter & { greaterThanOrEqualTo: FieldValue }) - | (_FieldFilter & { lessThan: FieldValue }) - | (_FieldFilter & { lessThanOrEqualTo: FieldValue }); +export type FieldFilter = (_FieldFilter & { equalTo: FieldValue }) | (_FieldFilter & { contains: FieldValue }) | (_FieldFilter & { greaterThan: FieldValue }) | (_FieldFilter & { greaterThanOrEqualTo: FieldValue }) | (_FieldFilter & { lessThan: FieldValue }) | (_FieldFilter & { lessThanOrEqualTo: FieldValue }); export interface FieldGroup { name?: string; fields: Array; @@ -973,12 +693,7 @@ interface _FieldValueUnion { userArnValue?: string; } -export type FieldValueUnion = - | (_FieldValueUnion & { stringValue: string }) - | (_FieldValueUnion & { doubleValue: number }) - | (_FieldValueUnion & { booleanValue: boolean }) - | (_FieldValueUnion & { emptyValue: EmptyFieldValue }) - | (_FieldValueUnion & { userArnValue: string }); +export type FieldValueUnion = (_FieldValueUnion & { stringValue: string }) | (_FieldValueUnion & { doubleValue: number }) | (_FieldValueUnion & { booleanValue: boolean }) | (_FieldValueUnion & { emptyValue: EmptyFieldValue }) | (_FieldValueUnion & { userArnValue: string }); export type FileArn = string; export interface FileContent { @@ -1104,7 +819,7 @@ interface _LayoutContent { basic?: BasicLayout; } -export type LayoutContent = _LayoutContent & { basic: BasicLayout }; +export type LayoutContent = (_LayoutContent & { basic: BasicLayout }); export type LayoutId = string; export type LayoutName = string; @@ -1198,7 +913,7 @@ interface _OperandOne { fieldId?: string; } -export type OperandOne = _OperandOne & { fieldId: string }; +export type OperandOne = (_OperandOne & { fieldId: string }); interface _OperandTwo { stringValue?: string; booleanValue?: boolean; @@ -1206,19 +921,14 @@ interface _OperandTwo { emptyValue?: EmptyOperandValue; } -export type OperandTwo = - | (_OperandTwo & { stringValue: string }) - | (_OperandTwo & { booleanValue: boolean }) - | (_OperandTwo & { doubleValue: number }) - | (_OperandTwo & { emptyValue: EmptyOperandValue }); +export type OperandTwo = (_OperandTwo & { stringValue: string }) | (_OperandTwo & { booleanValue: boolean }) | (_OperandTwo & { doubleValue: number }) | (_OperandTwo & { emptyValue: EmptyOperandValue }); export type Order = string; export interface ParentChildFieldOptionsMapping { parentFieldOptionValue: string; childFieldOptionValues: Array; } -export type ParentChildFieldOptionsMappingList = - Array; +export type ParentChildFieldOptionsMappingList = Array; export type ParentChildFieldOptionValue = string; export type ParentChildFieldOptionValueList = Array; @@ -1226,7 +936,8 @@ export interface PutCaseEventConfigurationRequest { domainId: string; eventBridge: EventBridgeConfiguration; } -export interface PutCaseEventConfigurationResponse {} +export interface PutCaseEventConfigurationResponse { +} export type RelatedItemArn = string; interface _RelatedItemContent { @@ -1238,13 +949,7 @@ interface _RelatedItemContent { custom?: CustomContent; } -export type RelatedItemContent = - | (_RelatedItemContent & { contact: ContactContent }) - | (_RelatedItemContent & { comment: CommentContent }) - | (_RelatedItemContent & { file: FileContent }) - | (_RelatedItemContent & { sla: SlaContent }) - | (_RelatedItemContent & { connectCase: ConnectCaseContent }) - | (_RelatedItemContent & { custom: CustomContent }); +export type RelatedItemContent = (_RelatedItemContent & { contact: ContactContent }) | (_RelatedItemContent & { comment: CommentContent }) | (_RelatedItemContent & { file: FileContent }) | (_RelatedItemContent & { sla: SlaContent }) | (_RelatedItemContent & { connectCase: ConnectCaseContent }) | (_RelatedItemContent & { custom: CustomContent }); export interface RelatedItemEventIncludedData { includeContent: boolean; } @@ -1260,13 +965,7 @@ interface _RelatedItemInputContent { custom?: CustomInputContent; } -export type RelatedItemInputContent = - | (_RelatedItemInputContent & { contact: Contact }) - | (_RelatedItemInputContent & { comment: CommentContent }) - | (_RelatedItemInputContent & { file: FileContent }) - | (_RelatedItemInputContent & { sla: SlaInputContent }) - | (_RelatedItemInputContent & { connectCase: ConnectCaseInputContent }) - | (_RelatedItemInputContent & { custom: CustomInputContent }); +export type RelatedItemInputContent = (_RelatedItemInputContent & { contact: Contact }) | (_RelatedItemInputContent & { comment: CommentContent }) | (_RelatedItemInputContent & { file: FileContent }) | (_RelatedItemInputContent & { sla: SlaInputContent }) | (_RelatedItemInputContent & { connectCase: ConnectCaseInputContent }) | (_RelatedItemInputContent & { custom: CustomInputContent }); export type RelatedItemType = string; interface _RelatedItemTypeFilter { @@ -1278,13 +977,7 @@ interface _RelatedItemTypeFilter { custom?: CustomFilter; } -export type RelatedItemTypeFilter = - | (_RelatedItemTypeFilter & { contact: ContactFilter }) - | (_RelatedItemTypeFilter & { comment: CommentFilter }) - | (_RelatedItemTypeFilter & { file: FileFilter }) - | (_RelatedItemTypeFilter & { sla: SlaFilter }) - | (_RelatedItemTypeFilter & { connectCase: ConnectCaseFilter }) - | (_RelatedItemTypeFilter & { custom: CustomFilter }); +export type RelatedItemTypeFilter = (_RelatedItemTypeFilter & { contact: ContactFilter }) | (_RelatedItemTypeFilter & { comment: CommentFilter }) | (_RelatedItemTypeFilter & { file: FileFilter }) | (_RelatedItemTypeFilter & { sla: SlaFilter }) | (_RelatedItemTypeFilter & { connectCase: ConnectCaseFilter }) | (_RelatedItemTypeFilter & { custom: CustomFilter }); export interface RequiredCaseRule { defaultValue: boolean; conditions: Array; @@ -1322,8 +1015,7 @@ export interface SearchAllRelatedItemsResponseItem { performedBy?: UserUnion; tags?: Record; } -export type SearchAllRelatedItemsResponseItemList = - Array; +export type SearchAllRelatedItemsResponseItemList = Array; export interface SearchAllRelatedItemsSort { sortProperty: string; sortOrder: string; @@ -1370,13 +1062,12 @@ export interface SearchRelatedItemsResponseItem { tags?: Record; performedBy?: UserUnion; } -export type SearchRelatedItemsResponseItemList = - Array; +export type SearchRelatedItemsResponseItemList = Array; interface _Section { fieldGroup?: FieldGroup; } -export type Section = _Section & { fieldGroup: FieldGroup }; +export type Section = (_Section & { fieldGroup: FieldGroup }); export type SectionsList = Array
; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", @@ -1413,9 +1104,7 @@ interface _SlaInputContent { slaInputConfiguration?: SlaInputConfiguration; } -export type SlaInputContent = _SlaInputContent & { - slaInputConfiguration: SlaInputConfiguration; -}; +export type SlaInputContent = (_SlaInputContent & { slaInputConfiguration: SlaInputConfiguration }); export type SlaName = string; export type SlaStatus = string; @@ -1477,7 +1166,8 @@ export interface UpdateCaseRequest { fields: Array; performedBy?: UserUnion; } -export interface UpdateCaseResponse {} +export interface UpdateCaseResponse { +} export interface UpdateCaseRuleRequest { domainId: string; caseRuleId: string; @@ -1485,21 +1175,24 @@ export interface UpdateCaseRuleRequest { description?: string; rule?: CaseRuleDetails; } -export interface UpdateCaseRuleResponse {} +export interface UpdateCaseRuleResponse { +} export interface UpdateFieldRequest { domainId: string; fieldId: string; name?: string; description?: string; } -export interface UpdateFieldResponse {} +export interface UpdateFieldResponse { +} export interface UpdateLayoutRequest { domainId: string; layoutId: string; name?: string; content?: LayoutContent; } -export interface UpdateLayoutResponse {} +export interface UpdateLayoutResponse { +} export interface UpdateTemplateRequest { domainId: string; templateId: string; @@ -1510,7 +1203,8 @@ export interface UpdateTemplateRequest { status?: string; rules?: Array; } -export interface UpdateTemplateResponse {} +export interface UpdateTemplateResponse { +} export type UserArn = string; interface _UserUnion { @@ -1518,9 +1212,7 @@ interface _UserUnion { customEntity?: string; } -export type UserUnion = - | (_UserUnion & { userArn: string }) - | (_UserUnion & { customEntity: string }); +export type UserUnion = (_UserUnion & { userArn: string }) | (_UserUnion & { customEntity: string }); export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -2057,12 +1749,5 @@ export declare namespace UpdateTemplate { | CommonAwsError; } -export type ConnectCasesErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ConnectCasesErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/connectparticipant/index.ts b/src/services/connectparticipant/index.ts index c7b26d9d..93e24cb7 100644 --- a/src/services/connectparticipant/index.ts +++ b/src/services/connectparticipant/index.ts @@ -5,23 +5,7 @@ import type { ConnectParticipant as _ConnectParticipantClient } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,17 +15,17 @@ const metadata = { sigV4ServiceName: "execute-api", endpointPrefix: "participant.connect", operations: { - CancelParticipantAuthentication: "POST /participant/cancel-authentication", - CompleteAttachmentUpload: "POST /participant/complete-attachment-upload", - CreateParticipantConnection: "POST /participant/connection", - DescribeView: "GET /participant/views/{ViewToken}", - DisconnectParticipant: "POST /participant/disconnect", - GetAttachment: "POST /participant/attachment", - GetAuthenticationUrl: "POST /participant/authentication-url", - GetTranscript: "POST /participant/transcript", - SendEvent: "POST /participant/event", - SendMessage: "POST /participant/message", - StartAttachmentUpload: "POST /participant/start-attachment-upload", + "CancelParticipantAuthentication": "POST /participant/cancel-authentication", + "CompleteAttachmentUpload": "POST /participant/complete-attachment-upload", + "CreateParticipantConnection": "POST /participant/connection", + "DescribeView": "GET /participant/views/{ViewToken}", + "DisconnectParticipant": "POST /participant/disconnect", + "GetAttachment": "POST /participant/attachment", + "GetAuthenticationUrl": "POST /participant/authentication-url", + "GetTranscript": "POST /participant/transcript", + "SendEvent": "POST /participant/event", + "SendMessage": "POST /participant/message", + "StartAttachmentUpload": "POST /participant/start-attachment-upload", }, } as const satisfies ServiceMetadata; diff --git a/src/services/connectparticipant/types.ts b/src/services/connectparticipant/types.ts index 5721945a..87b518ce 100644 --- a/src/services/connectparticipant/types.ts +++ b/src/services/connectparticipant/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ConnectParticipant extends AWSServiceClient { @@ -40,116 +8,67 @@ export declare class ConnectParticipant extends AWSServiceClient { input: CancelParticipantAuthenticationRequest, ): Effect.Effect< CancelParticipantAuthenticationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; completeAttachmentUpload( input: CompleteAttachmentUploadRequest, ): Effect.Effect< CompleteAttachmentUploadResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createParticipantConnection( input: CreateParticipantConnectionRequest, ): Effect.Effect< CreateParticipantConnectionResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeView( input: DescribeViewRequest, ): Effect.Effect< DescribeViewResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disconnectParticipant( input: DisconnectParticipantRequest, ): Effect.Effect< DisconnectParticipantResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getAttachment( input: GetAttachmentRequest, ): Effect.Effect< GetAttachmentResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getAuthenticationUrl( input: GetAuthenticationUrlRequest, ): Effect.Effect< GetAuthenticationUrlResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getTranscript( input: GetTranscriptRequest, ): Effect.Effect< GetTranscriptResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; sendEvent( input: SendEventRequest, ): Effect.Effect< SendEventResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; sendMessage( input: SendMessageRequest, ): Effect.Effect< SendMessageResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; startAttachmentUpload( input: StartAttachmentUploadRequest, ): Effect.Effect< StartAttachmentUploadResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -194,26 +113,15 @@ export interface CancelParticipantAuthenticationRequest { SessionId: string; ConnectionToken: string; } -export interface CancelParticipantAuthenticationResponse {} +export interface CancelParticipantAuthenticationResponse { +} export type ChatContent = string; export type ChatContentType = string; export type ChatItemId = string; -export type ChatItemType = - | "TYPING" - | "PARTICIPANT_JOINED" - | "PARTICIPANT_LEFT" - | "CHAT_ENDED" - | "TRANSFER_SUCCEEDED" - | "TRANSFER_FAILED" - | "MESSAGE" - | "EVENT" - | "ATTACHMENT" - | "CONNECTION_ACK" - | "MESSAGE_DELIVERED" - | "MESSAGE_READ"; +export type ChatItemType = "TYPING" | "PARTICIPANT_JOINED" | "PARTICIPANT_LEFT" | "CHAT_ENDED" | "TRANSFER_SUCCEEDED" | "TRANSFER_FAILED" | "MESSAGE" | "EVENT" | "ATTACHMENT" | "CONNECTION_ACK" | "MESSAGE_DELIVERED" | "MESSAGE_READ"; export type ClientToken = string; export interface CompleteAttachmentUploadRequest { @@ -221,7 +129,8 @@ export interface CompleteAttachmentUploadRequest { ClientToken: string; ConnectionToken: string; } -export interface CompleteAttachmentUploadResponse {} +export interface CompleteAttachmentUploadResponse { +} export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -231,10 +140,7 @@ export interface ConnectionCredentials { ConnectionToken?: string; Expiry?: string; } -export type ConnectionType = - | "WEBSOCKET" - | "CONNECTION_CREDENTIALS" - | "WEBRTC_CONNECTION"; +export type ConnectionType = "WEBSOCKET" | "CONNECTION_CREDENTIALS" | "WEBRTC_CONNECTION"; export type ConnectionTypeList = Array; export type ContactId = string; @@ -261,7 +167,8 @@ export interface DisconnectParticipantRequest { ClientToken?: string; ConnectionToken: string; } -export interface DisconnectParticipantResponse {} +export interface DisconnectParticipantResponse { +} export type DisplayName = string; export interface GetAttachmentRequest { @@ -343,12 +250,7 @@ export type NonEmptyClientToken = string; export type ParticipantId = string; -export type ParticipantRole = - | "AGENT" - | "CUSTOMER" - | "SYSTEM" - | "CUSTOM_BOT" - | "SUPERVISOR"; +export type ParticipantRole = "AGENT" | "CUSTOMER" | "SYSTEM" | "CUSTOM_BOT" | "SUPERVISOR"; export type ParticipantToken = string; export type PreSignedAttachmentUrl = string; @@ -374,15 +276,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( readonly ResourceId?: string; readonly ResourceType?: ResourceType; }> {} -export type ResourceType = - | "CONTACT" - | "CONTACT_FLOW" - | "INSTANCE" - | "PARTICIPANT" - | "HIERARCHY_LEVEL" - | "HIERARCHY_GROUP" - | "USER" - | "PHONE_NUMBER"; +export type ResourceType = "CONTACT" | "CONTACT_FLOW" | "INSTANCE" | "PARTICIPANT" | "HIERARCHY_LEVEL" | "HIERARCHY_GROUP" | "USER" | "PHONE_NUMBER"; export type ScanDirection = "FORWARD" | "BACKWARD"; export interface SendEventRequest { ContentType: string; @@ -627,12 +521,5 @@ export declare namespace StartAttachmentUpload { | CommonAwsError; } -export type ConnectParticipantErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ConnectParticipantErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/controlcatalog/index.ts b/src/services/controlcatalog/index.ts index 71caf021..061d6888 100644 --- a/src/services/controlcatalog/index.ts +++ b/src/services/controlcatalog/index.ts @@ -5,23 +5,7 @@ import type { ControlCatalog as _ControlCatalogClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,12 +14,16 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "controlcatalog", operations: { - ListControlMappings: "POST /list-control-mappings", - GetControl: "POST /get-control", - ListCommonControls: "POST /common-controls", - ListControls: "POST /list-controls", - ListDomains: "POST /domains", - ListObjectives: "POST /objectives", + "ListControlMappings": "POST /list-control-mappings", + "GetControl": "POST /get-control", + "ListCommonControls": "POST /common-controls", + "ListControls": "POST /list-controls", + "ListDomains": "POST /domains", + "ListObjectives": "POST /objectives", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/controlcatalog/types.ts b/src/services/controlcatalog/types.ts index 01cfaa42..7d802b17 100644 --- a/src/services/controlcatalog/types.ts +++ b/src/services/controlcatalog/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ControlCatalog extends AWSServiceClient { @@ -40,62 +8,37 @@ export declare class ControlCatalog extends AWSServiceClient { input: ListControlMappingsRequest, ): Effect.Effect< ListControlMappingsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getControl( input: GetControlRequest, ): Effect.Effect< GetControlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCommonControls( input: ListCommonControlsRequest, ): Effect.Effect< ListCommonControlsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listControls( input: ListControlsRequest, ): Effect.Effect< ListControlsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDomains( input: ListDomainsRequest, ): Effect.Effect< ListDomainsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listObjectives( input: ListObjectivesRequest, ): Effect.Effect< ListObjectivesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -286,9 +229,7 @@ interface _Mapping { CommonControl?: CommonControlMappingDetails; } -export type Mapping = - | (_Mapping & { Framework: FrameworkMappingDetails }) - | (_Mapping & { CommonControl: CommonControlMappingDetails }); +export type Mapping = (_Mapping & { Framework: FrameworkMappingDetails }) | (_Mapping & { CommonControl: CommonControlMappingDetails }); export type MappingType = "FRAMEWORK" | "COMMON_CONTROL"; export type MappingTypeFilterList = Array; export type MaxListCommonControlsResults = number; @@ -409,10 +350,5 @@ export declare namespace ListObjectives { | CommonAwsError; } -export type ControlCatalogErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ControlCatalogErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/controltower/index.ts b/src/services/controltower/index.ts index b54e8c09..b2308183 100644 --- a/src/services/controltower/index.ts +++ b/src/services/controltower/index.ts @@ -5,23 +5,7 @@ import type { ControlTower as _ControlTowerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,34 +15,38 @@ const metadata = { sigV4ServiceName: "controltower", endpointPrefix: "controltower", operations: { - DisableControl: "POST /disable-control", - CreateLandingZone: "POST /create-landingzone", - DeleteLandingZone: "POST /delete-landingzone", - DisableBaseline: "POST /disable-baseline", - EnableBaseline: "POST /enable-baseline", - EnableControl: "POST /enable-control", - GetBaseline: "POST /get-baseline", - GetBaselineOperation: "POST /get-baseline-operation", - GetControlOperation: "POST /get-control-operation", - GetEnabledBaseline: "POST /get-enabled-baseline", - GetEnabledControl: "POST /get-enabled-control", - GetLandingZone: "POST /get-landingzone", - GetLandingZoneOperation: "POST /get-landingzone-operation", - ListBaselines: "POST /list-baselines", - ListControlOperations: "POST /list-control-operations", - ListEnabledBaselines: "POST /list-enabled-baselines", - ListEnabledControls: "POST /list-enabled-controls", - ListLandingZoneOperations: "POST /list-landingzone-operations", - ListLandingZones: "POST /list-landingzones", - ListTagsForResource: "GET /tags/{resourceArn}", - ResetEnabledBaseline: "POST /reset-enabled-baseline", - ResetEnabledControl: "POST /reset-enabled-control", - ResetLandingZone: "POST /reset-landingzone", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateEnabledBaseline: "POST /update-enabled-baseline", - UpdateEnabledControl: "POST /update-enabled-control", - UpdateLandingZone: "POST /update-landingzone", + "DisableControl": "POST /disable-control", + "CreateLandingZone": "POST /create-landingzone", + "DeleteLandingZone": "POST /delete-landingzone", + "DisableBaseline": "POST /disable-baseline", + "EnableBaseline": "POST /enable-baseline", + "EnableControl": "POST /enable-control", + "GetBaseline": "POST /get-baseline", + "GetBaselineOperation": "POST /get-baseline-operation", + "GetControlOperation": "POST /get-control-operation", + "GetEnabledBaseline": "POST /get-enabled-baseline", + "GetEnabledControl": "POST /get-enabled-control", + "GetLandingZone": "POST /get-landingzone", + "GetLandingZoneOperation": "POST /get-landingzone-operation", + "ListBaselines": "POST /list-baselines", + "ListControlOperations": "POST /list-control-operations", + "ListEnabledBaselines": "POST /list-enabled-baselines", + "ListEnabledControls": "POST /list-enabled-controls", + "ListLandingZoneOperations": "POST /list-landingzone-operations", + "ListLandingZones": "POST /list-landingzones", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ResetEnabledBaseline": "POST /reset-enabled-baseline", + "ResetEnabledControl": "POST /reset-enabled-control", + "ResetLandingZone": "POST /reset-landingzone", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateEnabledBaseline": "POST /update-enabled-baseline", + "UpdateEnabledControl": "POST /update-enabled-control", + "UpdateLandingZone": "POST /update-landingzone", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/controltower/types.ts b/src/services/controltower/types.ts index 3f5be970..1dfcffc8 100644 --- a/src/services/controltower/types.ts +++ b/src/services/controltower/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ControlTower extends AWSServiceClient { @@ -40,317 +8,169 @@ export declare class ControlTower extends AWSServiceClient { input: DisableControlInput, ): Effect.Effect< DisableControlOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLandingZone( input: CreateLandingZoneInput, ): Effect.Effect< CreateLandingZoneOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteLandingZone( input: DeleteLandingZoneInput, ): Effect.Effect< DeleteLandingZoneOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disableBaseline( input: DisableBaselineInput, ): Effect.Effect< DisableBaselineOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; enableBaseline( input: EnableBaselineInput, ): Effect.Effect< EnableBaselineOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; enableControl( input: EnableControlInput, ): Effect.Effect< EnableControlOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getBaseline( input: GetBaselineInput, ): Effect.Effect< GetBaselineOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getBaselineOperation( input: GetBaselineOperationInput, ): Effect.Effect< GetBaselineOperationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getControlOperation( input: GetControlOperationInput, ): Effect.Effect< GetControlOperationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnabledBaseline( input: GetEnabledBaselineInput, ): Effect.Effect< GetEnabledBaselineOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnabledControl( input: GetEnabledControlInput, ): Effect.Effect< GetEnabledControlOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLandingZone( input: GetLandingZoneInput, ): Effect.Effect< GetLandingZoneOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLandingZoneOperation( input: GetLandingZoneOperationInput, ): Effect.Effect< GetLandingZoneOperationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBaselines( input: ListBaselinesInput, ): Effect.Effect< ListBaselinesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listControlOperations( input: ListControlOperationsInput, ): Effect.Effect< ListControlOperationsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEnabledBaselines( input: ListEnabledBaselinesInput, ): Effect.Effect< ListEnabledBaselinesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEnabledControls( input: ListEnabledControlsInput, ): Effect.Effect< ListEnabledControlsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLandingZoneOperations( input: ListLandingZoneOperationsInput, ): Effect.Effect< ListLandingZoneOperationsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listLandingZones( input: ListLandingZonesInput, ): Effect.Effect< ListLandingZonesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; resetEnabledBaseline( input: ResetEnabledBaselineInput, ): Effect.Effect< ResetEnabledBaselineOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; resetEnabledControl( input: ResetEnabledControlInput, ): Effect.Effect< ResetEnabledControlOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; resetLandingZone( input: ResetLandingZoneInput, ): Effect.Effect< ResetLandingZoneOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateEnabledBaseline( input: UpdateEnabledBaselineInput, ): Effect.Effect< UpdateEnabledBaselineOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateEnabledControl( input: UpdateEnabledControlInput, ): Effect.Effect< UpdateEnabledControlOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateLandingZone( input: UpdateLandingZoneInput, ): Effect.Effect< UpdateLandingZoneOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -374,11 +194,7 @@ export interface BaselineOperation { statusMessage?: string; } export type BaselineOperationStatus = "SUCCEEDED" | "FAILED" | "IN_PROGRESS"; -export type BaselineOperationType = - | "ENABLE_BASELINE" - | "DISABLE_BASELINE" - | "UPDATE_ENABLED_BASELINE" - | "RESET_ENABLED_BASELINE"; +export type BaselineOperationType = "ENABLE_BASELINE" | "DISABLE_BASELINE" | "UPDATE_ENABLED_BASELINE" | "RESET_ENABLED_BASELINE"; export type Baselines = Array; export interface BaselineSummary { arn: string; @@ -427,11 +243,7 @@ export interface ControlOperationSummary { targetIdentifier?: string; enabledControlIdentifier?: string; } -export type ControlOperationType = - | "ENABLE_CONTROL" - | "DISABLE_CONTROL" - | "UPDATE_ENABLED_CONTROL" - | "RESET_ENABLED_CONTROL"; +export type ControlOperationType = "ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL" | "RESET_ENABLED_CONTROL"; export type ControlOperationTypes = Array; export interface CreateLandingZoneInput { version: string; @@ -524,8 +336,7 @@ export interface EnabledBaselineParameter { export type EnabledBaselineParameterDocument = unknown; export type EnabledBaselineParameters = Array; -export type EnabledBaselineParameterSummaries = - Array; +export type EnabledBaselineParameterSummaries = Array; export interface EnabledBaselineParameterSummary { key: string; value: unknown; @@ -562,8 +373,7 @@ export interface EnabledControlParameter { value: unknown; } export type EnabledControlParameters = Array; -export type EnabledControlParameterSummaries = - Array; +export type EnabledControlParameterSummaries = Array; export interface EnabledControlParameterSummary { key: string; value: unknown; @@ -793,7 +603,8 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type TargetIdentifier = string; @@ -814,7 +625,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateEnabledBaselineInput { baselineVersion: string; parameters?: Array; @@ -1187,12 +999,5 @@ export declare namespace UpdateLandingZone { | CommonAwsError; } -export type ControlTowerErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ControlTowerErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/cost-and-usage-report-service/index.ts b/src/services/cost-and-usage-report-service/index.ts index dc6b4202..1d51a334 100644 --- a/src/services/cost-and-usage-report-service/index.ts +++ b/src/services/cost-and-usage-report-service/index.ts @@ -5,25 +5,7 @@ import type { CostandUsageReportService as _CostandUsageReportServiceClient } fr export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cost-and-usage-report-service/types.ts b/src/services/cost-and-usage-report-service/types.ts index 68d7479a..c9e42474 100644 --- a/src/services/cost-and-usage-report-service/types.ts +++ b/src/services/cost-and-usage-report-service/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CostandUsageReportService extends AWSServiceClient { @@ -54,10 +20,7 @@ export declare class CostandUsageReportService extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalErrorException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalErrorException | ResourceNotFoundException | ValidationException | CommonAwsError >; modifyReportDefinition( input: ModifyReportDefinitionRequest, @@ -69,30 +32,19 @@ export declare class CostandUsageReportService extends AWSServiceClient { input: PutReportDefinitionRequest, ): Effect.Effect< PutReportDefinitionResponse, - | DuplicateReportNameException - | InternalErrorException - | ReportLimitReachedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + DuplicateReportNameException | InternalErrorException | ReportLimitReachedException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalErrorException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalErrorException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalErrorException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalErrorException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -100,35 +52,7 @@ export declare class CostAndUsageReportService extends CostandUsageReportService export type AdditionalArtifact = "REDSHIFT" | "QUICKSIGHT" | "ATHENA"; export type AdditionalArtifactList = Array; -export type AWSRegion = - | "af-south-1" - | "ap-east-1" - | "ap-south-1" - | "ap-south-2" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-southeast-3" - | "ap-northeast-1" - | "ap-northeast-2" - | "ap-northeast-3" - | "ca-central-1" - | "eu-central-1" - | "eu-central-2" - | "eu-west-1" - | "eu-west-2" - | "eu-west-3" - | "eu-north-1" - | "eu-south-1" - | "eu-south-2" - | "me-central-1" - | "me-south-1" - | "sa-east-1" - | "us-east-1" - | "us-east-2" - | "us-west-1" - | "us-west-2" - | "cn-north-1" - | "cn-northwest-1"; +export type AWSRegion = "af-south-1" | "ap-east-1" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "cn-north-1" | "cn-northwest-1"; export type BillingViewArn = string; export type CompressionFormat = "ZIP" | "GZIP" | "Parquet"; @@ -177,12 +101,14 @@ export interface ModifyReportDefinitionRequest { ReportName: string; ReportDefinition: ReportDefinition; } -export interface ModifyReportDefinitionResponse {} +export interface ModifyReportDefinitionResponse { +} export interface PutReportDefinitionRequest { ReportDefinition: ReportDefinition; Tags?: Array; } -export interface PutReportDefinitionResponse {} +export interface PutReportDefinitionResponse { +} export type RefreshClosedReports = boolean; export interface ReportDefinition { @@ -223,10 +149,7 @@ export type S3Bucket = string; export type S3Prefix = string; -export type SchemaElement = - | "RESOURCES" - | "SPLIT_COST_ALLOCATION_DATA" - | "MANUAL_DISCOUNT_COMPATIBILITY"; +export type SchemaElement = "RESOURCES" | "SPLIT_COST_ALLOCATION_DATA" | "MANUAL_DISCOUNT_COMPATIBILITY"; export type SchemaElementList = Array; export interface Tag { Key: string; @@ -240,7 +163,8 @@ export interface TagResourceRequest { ReportName: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TimeUnit = "HOURLY" | "DAILY" | "MONTHLY"; @@ -248,7 +172,8 @@ export interface UntagResourceRequest { ReportName: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -266,7 +191,9 @@ export declare namespace DeleteReportDefinition { export declare namespace DescribeReportDefinitions { export type Input = DescribeReportDefinitionsRequest; export type Output = DescribeReportDefinitionsResponse; - export type Error = InternalErrorException | CommonAwsError; + export type Error = + | InternalErrorException + | CommonAwsError; } export declare namespace ListTagsForResource { @@ -320,10 +247,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type CostandUsageReportServiceErrors = - | DuplicateReportNameException - | InternalErrorException - | ReportLimitReachedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type CostandUsageReportServiceErrors = DuplicateReportNameException | InternalErrorException | ReportLimitReachedException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/cost-explorer/index.ts b/src/services/cost-explorer/index.ts index 42356d11..4da9df4f 100644 --- a/src/services/cost-explorer/index.ts +++ b/src/services/cost-explorer/index.ts @@ -5,26 +5,7 @@ import type { CostExplorer as _CostExplorerClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cost-explorer/types.ts b/src/services/cost-explorer/types.ts index a16f738d..46ecb473 100644 --- a/src/services/cost-explorer/types.ts +++ b/src/services/cost-explorer/types.ts @@ -55,19 +55,13 @@ export declare class CostExplorer extends AWSServiceClient { input: GetAnomalyMonitorsRequest, ): Effect.Effect< GetAnomalyMonitorsResponse, - | InvalidNextTokenException - | LimitExceededException - | UnknownMonitorException - | CommonAwsError + InvalidNextTokenException | LimitExceededException | UnknownMonitorException | CommonAwsError >; getAnomalySubscriptions( input: GetAnomalySubscriptionsRequest, ): Effect.Effect< GetAnomalySubscriptionsResponse, - | InvalidNextTokenException - | LimitExceededException - | UnknownSubscriptionException - | CommonAwsError + InvalidNextTokenException | LimitExceededException | UnknownSubscriptionException | CommonAwsError >; getApproximateUsageRecords( input: GetApproximateUsageRecordsRequest, @@ -79,121 +73,67 @@ export declare class CostExplorer extends AWSServiceClient { input: GetCommitmentPurchaseAnalysisRequest, ): Effect.Effect< GetCommitmentPurchaseAnalysisResponse, - | AnalysisNotFoundException - | DataUnavailableException - | LimitExceededException - | CommonAwsError + AnalysisNotFoundException | DataUnavailableException | LimitExceededException | CommonAwsError >; getCostAndUsage( input: GetCostAndUsageRequest, ): Effect.Effect< GetCostAndUsageResponse, - | BillExpirationException - | BillingViewHealthStatusException - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | RequestChangedException - | ResourceNotFoundException - | CommonAwsError + BillExpirationException | BillingViewHealthStatusException | DataUnavailableException | InvalidNextTokenException | LimitExceededException | RequestChangedException | ResourceNotFoundException | CommonAwsError >; getCostAndUsageComparisons( input: GetCostAndUsageComparisonsRequest, ): Effect.Effect< GetCostAndUsageComparisonsResponse, - | BillingViewHealthStatusException - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + BillingViewHealthStatusException | DataUnavailableException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getCostAndUsageWithResources( input: GetCostAndUsageWithResourcesRequest, ): Effect.Effect< GetCostAndUsageWithResourcesResponse, - | BillExpirationException - | BillingViewHealthStatusException - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | RequestChangedException - | ResourceNotFoundException - | CommonAwsError + BillExpirationException | BillingViewHealthStatusException | DataUnavailableException | InvalidNextTokenException | LimitExceededException | RequestChangedException | ResourceNotFoundException | CommonAwsError >; getCostCategories( input: GetCostCategoriesRequest, ): Effect.Effect< GetCostCategoriesResponse, - | BillExpirationException - | BillingViewHealthStatusException - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | RequestChangedException - | ResourceNotFoundException - | CommonAwsError + BillExpirationException | BillingViewHealthStatusException | DataUnavailableException | InvalidNextTokenException | LimitExceededException | RequestChangedException | ResourceNotFoundException | CommonAwsError >; getCostComparisonDrivers( input: GetCostComparisonDriversRequest, ): Effect.Effect< GetCostComparisonDriversResponse, - | BillingViewHealthStatusException - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + BillingViewHealthStatusException | DataUnavailableException | InvalidNextTokenException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getCostForecast( input: GetCostForecastRequest, ): Effect.Effect< GetCostForecastResponse, - | BillingViewHealthStatusException - | DataUnavailableException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + BillingViewHealthStatusException | DataUnavailableException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getDimensionValues( input: GetDimensionValuesRequest, ): Effect.Effect< GetDimensionValuesResponse, - | BillExpirationException - | BillingViewHealthStatusException - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | RequestChangedException - | ResourceNotFoundException - | CommonAwsError + BillExpirationException | BillingViewHealthStatusException | DataUnavailableException | InvalidNextTokenException | LimitExceededException | RequestChangedException | ResourceNotFoundException | CommonAwsError >; getReservationCoverage( input: GetReservationCoverageRequest, ): Effect.Effect< GetReservationCoverageResponse, - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | CommonAwsError + DataUnavailableException | InvalidNextTokenException | LimitExceededException | CommonAwsError >; getReservationPurchaseRecommendation( input: GetReservationPurchaseRecommendationRequest, ): Effect.Effect< GetReservationPurchaseRecommendationResponse, - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | CommonAwsError + DataUnavailableException | InvalidNextTokenException | LimitExceededException | CommonAwsError >; getReservationUtilization( input: GetReservationUtilizationRequest, ): Effect.Effect< GetReservationUtilizationResponse, - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | CommonAwsError + DataUnavailableException | InvalidNextTokenException | LimitExceededException | CommonAwsError >; getRightsizingRecommendation( input: GetRightsizingRecommendationRequest, @@ -211,10 +151,7 @@ export declare class CostExplorer extends AWSServiceClient { input: GetSavingsPlansCoverageRequest, ): Effect.Effect< GetSavingsPlansCoverageResponse, - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | CommonAwsError + DataUnavailableException | InvalidNextTokenException | LimitExceededException | CommonAwsError >; getSavingsPlansPurchaseRecommendation( input: GetSavingsPlansPurchaseRecommendationRequest, @@ -232,43 +169,25 @@ export declare class CostExplorer extends AWSServiceClient { input: GetSavingsPlansUtilizationDetailsRequest, ): Effect.Effect< GetSavingsPlansUtilizationDetailsResponse, - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | CommonAwsError + DataUnavailableException | InvalidNextTokenException | LimitExceededException | CommonAwsError >; getTags( input: GetTagsRequest, ): Effect.Effect< GetTagsResponse, - | BillExpirationException - | BillingViewHealthStatusException - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | RequestChangedException - | ResourceNotFoundException - | CommonAwsError + BillExpirationException | BillingViewHealthStatusException | DataUnavailableException | InvalidNextTokenException | LimitExceededException | RequestChangedException | ResourceNotFoundException | CommonAwsError >; getUsageForecast( input: GetUsageForecastRequest, ): Effect.Effect< GetUsageForecastResponse, - | BillingViewHealthStatusException - | DataUnavailableException - | LimitExceededException - | ResourceNotFoundException - | UnresolvableUsageUnitException - | CommonAwsError + BillingViewHealthStatusException | DataUnavailableException | LimitExceededException | ResourceNotFoundException | UnresolvableUsageUnitException | CommonAwsError >; listCommitmentPurchaseAnalyses( input: ListCommitmentPurchaseAnalysesRequest, ): Effect.Effect< ListCommitmentPurchaseAnalysesResponse, - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | CommonAwsError + DataUnavailableException | InvalidNextTokenException | LimitExceededException | CommonAwsError >; listCostAllocationTagBackfillHistory( input: ListCostAllocationTagBackfillHistoryRequest, @@ -292,10 +211,7 @@ export declare class CostExplorer extends AWSServiceClient { input: ListSavingsPlansPurchaseRecommendationGenerationRequest, ): Effect.Effect< ListSavingsPlansPurchaseRecommendationGenerationResponse, - | DataUnavailableException - | InvalidNextTokenException - | LimitExceededException - | CommonAwsError + DataUnavailableException | InvalidNextTokenException | LimitExceededException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, @@ -313,11 +229,7 @@ export declare class CostExplorer extends AWSServiceClient { input: StartCommitmentPurchaseAnalysisRequest, ): Effect.Effect< StartCommitmentPurchaseAnalysisResponse, - | DataUnavailableException - | GenerationExistsException - | LimitExceededException - | ServiceQuotaExceededException - | CommonAwsError + DataUnavailableException | GenerationExistsException | LimitExceededException | ServiceQuotaExceededException | CommonAwsError >; startCostAllocationTagBackfill( input: StartCostAllocationTagBackfillRequest, @@ -329,20 +241,13 @@ export declare class CostExplorer extends AWSServiceClient { input: StartSavingsPlansPurchaseRecommendationGenerationRequest, ): Effect.Effect< StartSavingsPlansPurchaseRecommendationGenerationResponse, - | DataUnavailableException - | GenerationExistsException - | LimitExceededException - | ServiceQuotaExceededException - | CommonAwsError + DataUnavailableException | GenerationExistsException | LimitExceededException | ServiceQuotaExceededException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | LimitExceededException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + LimitExceededException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -360,10 +265,7 @@ export declare class CostExplorer extends AWSServiceClient { input: UpdateAnomalySubscriptionRequest, ): Effect.Effect< UpdateAnomalySubscriptionResponse, - | LimitExceededException - | UnknownMonitorException - | UnknownSubscriptionException - | CommonAwsError + LimitExceededException | UnknownMonitorException | UnknownSubscriptionException | CommonAwsError >; updateCostAllocationTagsStatus( input: UpdateCostAllocationTagsStatusRequest, @@ -375,10 +277,7 @@ export declare class CostExplorer extends AWSServiceClient { input: UpdateCostCategoryDefinitionRequest, ): Effect.Effect< UpdateCostCategoryDefinitionResponse, - | LimitExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + LimitExceededException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; } @@ -508,12 +407,8 @@ export interface CostAllocationTagBackfillRequest { BackfillStatus?: CostAllocationTagBackfillStatus; LastUpdatedAt?: string; } -export type CostAllocationTagBackfillRequestList = - Array; -export type CostAllocationTagBackfillStatus = - | "SUCCEEDED" - | "PROCESSING" - | "FAILED"; +export type CostAllocationTagBackfillRequestList = Array; +export type CostAllocationTagBackfillStatus = "SUCCEEDED" | "PROCESSING" | "FAILED"; export type CostAllocationTagKeyList = Array; export type CostAllocationTagList = Array; export type CostAllocationTagsMaxResults = number; @@ -547,9 +442,7 @@ export interface CostCategoryInheritedValueDimension { DimensionName?: CostCategoryInheritedValueDimensionName; DimensionKey?: string; } -export type CostCategoryInheritedValueDimensionName = - | "LINKED_ACCOUNT_NAME" - | "TAG"; +export type CostCategoryInheritedValueDimensionName = "LINKED_ACCOUNT_NAME" | "TAG"; export type CostCategoryMaxResults = number; export type CostCategoryName = string; @@ -559,8 +452,7 @@ export interface CostCategoryProcessingStatus { Component?: CostCategoryStatusComponent; Status?: CostCategoryStatus; } -export type CostCategoryProcessingStatusList = - Array; +export type CostCategoryProcessingStatusList = Array; export interface CostCategoryReference { CostCategoryArn?: string; Name?: string; @@ -592,12 +484,10 @@ export interface CostCategorySplitChargeRuleParameter { Type: CostCategorySplitChargeRuleParameterType; Values: Array; } -export type CostCategorySplitChargeRuleParametersList = - Array; +export type CostCategorySplitChargeRuleParametersList = Array; export type CostCategorySplitChargeRuleParameterType = "ALLOCATION_PERCENTAGES"; export type CostCategorySplitChargeRuleParameterValuesList = Array; -export type CostCategorySplitChargeRulesList = - Array; +export type CostCategorySplitChargeRulesList = Array; export type CostCategorySplitChargeRuleTargetsList = Array; export type CostCategoryStatus = "PROCESSING" | "APPLIED"; export type CostCategoryStatusComponent = "COST_EXPLORER"; @@ -705,11 +595,13 @@ export interface DateInterval { export interface DeleteAnomalyMonitorRequest { MonitorArn: string; } -export interface DeleteAnomalyMonitorResponse {} +export interface DeleteAnomalyMonitorResponse { +} export interface DeleteAnomalySubscriptionRequest { SubscriptionArn: string; } -export interface DeleteAnomalySubscriptionResponse {} +export interface DeleteAnomalySubscriptionResponse { +} export interface DeleteCostCategoryDefinitionRequest { CostCategoryArn: string; } @@ -724,42 +616,7 @@ export interface DescribeCostCategoryDefinitionRequest { export interface DescribeCostCategoryDefinitionResponse { CostCategory?: CostCategory; } -export type Dimension = - | "AZ" - | "INSTANCE_TYPE" - | "LINKED_ACCOUNT" - | "PAYER_ACCOUNT" - | "LINKED_ACCOUNT_NAME" - | "OPERATION" - | "PURCHASE_TYPE" - | "REGION" - | "SERVICE" - | "SERVICE_CODE" - | "USAGE_TYPE" - | "USAGE_TYPE_GROUP" - | "RECORD_TYPE" - | "OPERATING_SYSTEM" - | "TENANCY" - | "SCOPE" - | "PLATFORM" - | "SUBSCRIPTION_ID" - | "LEGAL_ENTITY_NAME" - | "DEPLOYMENT_OPTION" - | "DATABASE_ENGINE" - | "CACHE_ENGINE" - | "INSTANCE_TYPE_FAMILY" - | "BILLING_ENTITY" - | "RESERVATION_ID" - | "RESOURCE_ID" - | "RIGHTSIZING_TYPE" - | "SAVINGS_PLANS_TYPE" - | "SAVINGS_PLAN_ARN" - | "PAYMENT_OPTION" - | "AGREEMENT_END_DATE_TIME_AFTER" - | "AGREEMENT_END_DATE_TIME_BEFORE" - | "INVOICING_ENTITY" - | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" - | "ANOMALY_TOTAL_IMPACT_PERCENTAGE"; +export type Dimension = "AZ" | "INSTANCE_TYPE" | "LINKED_ACCOUNT" | "PAYER_ACCOUNT" | "LINKED_ACCOUNT_NAME" | "OPERATION" | "PURCHASE_TYPE" | "REGION" | "SERVICE" | "SERVICE_CODE" | "USAGE_TYPE" | "USAGE_TYPE_GROUP" | "RECORD_TYPE" | "OPERATING_SYSTEM" | "TENANCY" | "SCOPE" | "PLATFORM" | "SUBSCRIPTION_ID" | "LEGAL_ENTITY_NAME" | "DEPLOYMENT_OPTION" | "DATABASE_ENGINE" | "CACHE_ENGINE" | "INSTANCE_TYPE_FAMILY" | "BILLING_ENTITY" | "RESERVATION_ID" | "RESOURCE_ID" | "RIGHTSIZING_TYPE" | "SAVINGS_PLANS_TYPE" | "SAVINGS_PLAN_ARN" | "PAYMENT_OPTION" | "AGREEMENT_END_DATE_TIME_AFTER" | "AGREEMENT_END_DATE_TIME_BEFORE" | "INVOICING_ENTITY" | "ANOMALY_TOTAL_IMPACT_ABSOLUTE" | "ANOMALY_TOTAL_IMPACT_PERCENTAGE"; export interface DimensionValues { Key?: Dimension; Values?: Array; @@ -769,8 +626,7 @@ export interface DimensionValuesWithAttributes { Value?: string; Attributes?: Record; } -export type DimensionValuesWithAttributesList = - Array; +export type DimensionValuesWithAttributesList = Array; export interface DiskResourceUtilization { DiskReadOpsPerSecond?: string; DiskWriteOpsPerSecond?: string; @@ -829,12 +685,7 @@ export interface ElastiCacheInstanceDetails { } export type Entity = string; -export type ErrorCode = - | "NO_USAGE_FOUND" - | "INTERNAL_FAILURE" - | "INVALID_SAVINGS_PLANS_TO_ADD" - | "INVALID_SAVINGS_PLANS_TO_EXCLUDE" - | "INVALID_ACCOUNT_ID"; +export type ErrorCode = "NO_USAGE_FOUND" | "INTERNAL_FAILURE" | "INVALID_SAVINGS_PLANS_TO_ADD" | "INVALID_SAVINGS_PLANS_TO_EXCLUDE" | "INVALID_ACCOUNT_ID"; export type ErrorMessage = string; export interface ESInstanceDetails { @@ -855,23 +706,7 @@ export interface Expression { CostCategories?: CostCategoryValues; } export type Expressions = Array; -export type FindingReasonCode = - | "CPU_OVER_PROVISIONED" - | "CPU_UNDER_PROVISIONED" - | "MEMORY_OVER_PROVISIONED" - | "MEMORY_UNDER_PROVISIONED" - | "EBS_THROUGHPUT_OVER_PROVISIONED" - | "EBS_THROUGHPUT_UNDER_PROVISIONED" - | "EBS_IOPS_OVER_PROVISIONED" - | "EBS_IOPS_UNDER_PROVISIONED" - | "NETWORK_BANDWIDTH_OVER_PROVISIONED" - | "NETWORK_BANDWIDTH_UNDER_PROVISIONED" - | "NETWORK_PPS_OVER_PROVISIONED" - | "NETWORK_PPS_UNDER_PROVISIONED" - | "DISK_IOPS_OVER_PROVISIONED" - | "DISK_IOPS_UNDER_PROVISIONED" - | "DISK_THROUGHPUT_OVER_PROVISIONED" - | "DISK_THROUGHPUT_UNDER_PROVISIONED"; +export type FindingReasonCode = "CPU_OVER_PROVISIONED" | "CPU_UNDER_PROVISIONED" | "MEMORY_OVER_PROVISIONED" | "MEMORY_UNDER_PROVISIONED" | "EBS_THROUGHPUT_OVER_PROVISIONED" | "EBS_THROUGHPUT_UNDER_PROVISIONED" | "EBS_IOPS_OVER_PROVISIONED" | "EBS_IOPS_UNDER_PROVISIONED" | "NETWORK_BANDWIDTH_OVER_PROVISIONED" | "NETWORK_BANDWIDTH_UNDER_PROVISIONED" | "NETWORK_PPS_OVER_PROVISIONED" | "NETWORK_PPS_UNDER_PROVISIONED" | "DISK_IOPS_OVER_PROVISIONED" | "DISK_IOPS_UNDER_PROVISIONED" | "DISK_THROUGHPUT_OVER_PROVISIONED" | "DISK_THROUGHPUT_UNDER_PROVISIONED"; export type FindingReasonCodes = Array; export interface ForecastResult { TimePeriod?: DateInterval; @@ -1304,15 +1139,7 @@ export interface ListTagsForResourceResponse { ResourceTags?: Array; } export type LookbackPeriodInDays = "SEVEN_DAYS" | "THIRTY_DAYS" | "SIXTY_DAYS"; -export type MatchOption = - | "EQUALS" - | "ABSENT" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS" - | "CASE_SENSITIVE" - | "CASE_INSENSITIVE" - | "GREATER_THAN_OR_EQUAL"; +export type MatchOption = "EQUALS" | "ABSENT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CASE_SENSITIVE" | "CASE_INSENSITIVE" | "GREATER_THAN_OR_EQUAL"; export type MatchOptions = Array; export type MaxResults = number; @@ -1323,22 +1150,14 @@ export interface MemoryDBInstanceDetails { CurrentGeneration?: boolean; SizeFlexEligible?: boolean; } -export type Metric = - | "BLENDED_COST" - | "UNBLENDED_COST" - | "AMORTIZED_COST" - | "NET_UNBLENDED_COST" - | "NET_AMORTIZED_COST" - | "USAGE_QUANTITY" - | "NORMALIZED_USAGE_AMOUNT"; +export type Metric = "BLENDED_COST" | "UNBLENDED_COST" | "AMORTIZED_COST" | "NET_UNBLENDED_COST" | "NET_AMORTIZED_COST" | "USAGE_QUANTITY" | "NORMALIZED_USAGE_AMOUNT"; export type MetricAmount = string; export type MetricName = string; export type MetricNames = Array; export type Metrics = Record; -export type MetricsOverLookbackPeriod = - Array; +export type MetricsOverLookbackPeriod = Array; export type MetricUnit = string; export interface MetricValue { @@ -1367,13 +1186,7 @@ export type NonNegativeLong = number; export type NullableNonNegativeDouble = number; -export type NumericOperator = - | "EQUAL" - | "GREATER_THAN_OR_EQUAL" - | "LESS_THAN_OR_EQUAL" - | "GREATER_THAN" - | "LESS_THAN" - | "BETWEEN"; +export type NumericOperator = "EQUAL" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "BETWEEN"; export type OfferingClass = "STANDARD" | "CONVERTIBLE"; export type OnDemandCost = string; @@ -1385,19 +1198,8 @@ export type OnDemandNormalizedUnits = string; export type PageSize = number; -export type PaymentOption = - | "NO_UPFRONT" - | "PARTIAL_UPFRONT" - | "ALL_UPFRONT" - | "LIGHT_UTILIZATION" - | "MEDIUM_UTILIZATION" - | "HEAVY_UTILIZATION"; -export type PlatformDifference = - | "HYPERVISOR" - | "NETWORK_INTERFACE" - | "STORAGE_INTERFACE" - | "INSTANCE_STORE_AVAILABILITY" - | "VIRTUALIZATION_TYPE"; +export type PaymentOption = "NO_UPFRONT" | "PARTIAL_UPFRONT" | "ALL_UPFRONT" | "LIGHT_UTILIZATION" | "MEDIUM_UTILIZATION" | "HEAVY_UTILIZATION"; +export type PlatformDifference = "HYPERVISOR" | "NETWORK_INTERFACE" | "STORAGE_INTERFACE" | "INSTANCE_STORE_AVAILABILITY" | "VIRTUALIZATION_TYPE"; export type PlatformDifferences = Array; export type PredictionIntervalLevel = number; @@ -1468,9 +1270,7 @@ export type RecommendationDetailId = string; export type RecommendationId = string; export type RecommendationIdList = Array; -export type RecommendationTarget = - | "SAME_INSTANCE_FAMILY" - | "CROSS_INSTANCE_FAMILY"; +export type RecommendationTarget = "SAME_INSTANCE_FAMILY" | "CROSS_INSTANCE_FAMILY"; export interface RedshiftInstanceDetails { Family?: string; NodeType?: string; @@ -1546,15 +1346,13 @@ export interface ReservationPurchaseRecommendationDetail { MaximumNumberOfCapacityUnitsUsedPerHour?: string; AverageNumberOfCapacityUnitsUsedPerHour?: string; } -export type ReservationPurchaseRecommendationDetails = - Array; +export type ReservationPurchaseRecommendationDetails = Array; export interface ReservationPurchaseRecommendationMetadata { RecommendationId?: string; GenerationTimestamp?: string; AdditionalMetadata?: string; } -export type ReservationPurchaseRecommendations = - Array; +export type ReservationPurchaseRecommendations = Array; export interface ReservationPurchaseRecommendationSummary { TotalEstimatedMonthlySavingsAmount?: string; TotalEstimatedMonthlySavingsPercentage?: string; @@ -1673,11 +1471,7 @@ export interface SavingsPlansCoverageData { CoveragePercentage?: string; } export type SavingsPlansCoverages = Array; -export type SavingsPlansDataType = - | "ATTRIBUTES" - | "UTILIZATION" - | "AMORTIZED_COMMITMENT" - | "SAVINGS"; +export type SavingsPlansDataType = "ATTRIBUTES" | "UTILIZATION" | "AMORTIZED_COMMITMENT" | "SAVINGS"; export type SavingsPlansDataTypes = Array; export interface SavingsPlansDetails { Region?: string; @@ -1746,8 +1540,7 @@ export interface SavingsPlansPurchaseRecommendationDetail { CurrentAverageHourlyOnDemandSpend?: string; RecommendationDetailId?: string; } -export type SavingsPlansPurchaseRecommendationDetailList = - Array; +export type SavingsPlansPurchaseRecommendationDetailList = Array; export interface SavingsPlansPurchaseRecommendationMetadata { RecommendationId?: string; GenerationTimestamp?: string; @@ -1796,10 +1589,8 @@ export interface SavingsPlansUtilizationDetail { Savings?: SavingsPlansSavings; AmortizedCommitment?: SavingsPlansAmortizedCommitment; } -export type SavingsPlansUtilizationDetails = - Array; -export type SavingsPlansUtilizationsByTime = - Array; +export type SavingsPlansUtilizationDetails = Array; +export type SavingsPlansUtilizationsByTime = Array; export type SearchString = string; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( @@ -1832,7 +1623,8 @@ export interface StartCostAllocationTagBackfillRequest { export interface StartCostAllocationTagBackfillResponse { BackfillRequest?: CostAllocationTagBackfillRequest; } -export interface StartSavingsPlansPurchaseRecommendationGenerationRequest {} +export interface StartSavingsPlansPurchaseRecommendationGenerationRequest { +} export interface StartSavingsPlansPurchaseRecommendationGenerationResponse { RecommendationId?: string; GenerationStartedTime?: string; @@ -1848,10 +1640,7 @@ export type SubscriberAddress = string; export type Subscribers = Array; export type SubscriberStatus = "CONFIRMED" | "DECLINED"; export type SubscriberType = "EMAIL" | "SNS"; -export type SupportedSavingsPlansType = - | "COMPUTE_SP" - | "EC2_INSTANCE_SP" - | "SAGEMAKER_SP"; +export type SupportedSavingsPlansType = "COMPUTE_SP" | "EC2_INSTANCE_SP" | "SAGEMAKER_SP"; export type TagKey = string; export type TagList = Array; @@ -1859,7 +1648,8 @@ export interface TagResourceRequest { ResourceArn: string; ResourceTags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export interface TagValues { Key?: string; Values?: Array; @@ -1925,7 +1715,8 @@ export interface UntagResourceRequest { ResourceArn: string; ResourceTagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UnusedHours = string; export type UnusedUnits = string; @@ -1954,8 +1745,7 @@ export interface UpdateCostAllocationTagsStatusError { Code?: string; Message?: string; } -export type UpdateCostAllocationTagsStatusErrors = - Array; +export type UpdateCostAllocationTagsStatusErrors = Array; export interface UpdateCostAllocationTagsStatusRequest { CostAllocationTagsStatus: Array; } @@ -1995,7 +1785,9 @@ export type ZonedDateTime = string; export declare namespace CreateAnomalyMonitor { export type Input = CreateAnomalyMonitorRequest; export type Output = CreateAnomalyMonitorResponse; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace CreateAnomalySubscription { @@ -2334,7 +2126,9 @@ export declare namespace ListCostAllocationTags { export declare namespace ListCostCategoryDefinitions { export type Input = ListCostCategoryDefinitionsRequest; export type Output = ListCostCategoryDefinitionsResponse; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace ListSavingsPlansPurchaseRecommendationGeneration { @@ -2359,7 +2153,9 @@ export declare namespace ListTagsForResource { export declare namespace ProvideAnomalyFeedback { export type Input = ProvideAnomalyFeedbackRequest; export type Output = ProvideAnomalyFeedbackResponse; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace StartCommitmentPurchaseAnalysis { @@ -2384,8 +2180,7 @@ export declare namespace StartCostAllocationTagBackfill { export declare namespace StartSavingsPlansPurchaseRecommendationGeneration { export type Input = StartSavingsPlansPurchaseRecommendationGenerationRequest; - export type Output = - StartSavingsPlansPurchaseRecommendationGenerationResponse; + export type Output = StartSavingsPlansPurchaseRecommendationGenerationResponse; export type Error = | DataUnavailableException | GenerationExistsException @@ -2435,7 +2230,9 @@ export declare namespace UpdateAnomalySubscription { export declare namespace UpdateCostAllocationTagsStatus { export type Input = UpdateCostAllocationTagsStatusRequest; export type Output = UpdateCostAllocationTagsStatusResponse; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace UpdateCostCategoryDefinition { @@ -2448,20 +2245,5 @@ export declare namespace UpdateCostCategoryDefinition { | CommonAwsError; } -export type CostExplorerErrors = - | AnalysisNotFoundException - | BackfillLimitExceededException - | BillExpirationException - | BillingViewHealthStatusException - | DataUnavailableException - | GenerationExistsException - | InvalidNextTokenException - | LimitExceededException - | RequestChangedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyTagsException - | UnknownMonitorException - | UnknownSubscriptionException - | UnresolvableUsageUnitException - | CommonAwsError; +export type CostExplorerErrors = AnalysisNotFoundException | BackfillLimitExceededException | BillExpirationException | BillingViewHealthStatusException | DataUnavailableException | GenerationExistsException | InvalidNextTokenException | LimitExceededException | RequestChangedException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyTagsException | UnknownMonitorException | UnknownSubscriptionException | UnresolvableUsageUnitException | CommonAwsError; + diff --git a/src/services/cost-optimization-hub/index.ts b/src/services/cost-optimization-hub/index.ts index d4d23fea..ebe986ab 100644 --- a/src/services/cost-optimization-hub/index.ts +++ b/src/services/cost-optimization-hub/index.ts @@ -5,23 +5,7 @@ import type { CostOptimizationHub as _CostOptimizationHubClient } from "./types. export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/cost-optimization-hub/types.ts b/src/services/cost-optimization-hub/types.ts index 82f80cc6..459fd8e8 100644 --- a/src/services/cost-optimization-hub/types.ts +++ b/src/services/cost-optimization-hub/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class CostOptimizationHub extends AWSServiceClient { @@ -40,72 +8,43 @@ export declare class CostOptimizationHub extends AWSServiceClient { input: GetPreferencesRequest, ): Effect.Effect< GetPreferencesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getRecommendation( input: GetRecommendationRequest, ): Effect.Effect< GetRecommendationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnrollmentStatuses( input: ListEnrollmentStatusesRequest, ): Effect.Effect< ListEnrollmentStatusesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRecommendations( input: ListRecommendationsRequest, ): Effect.Effect< ListRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRecommendationSummaries( input: ListRecommendationSummariesRequest, ): Effect.Effect< ListRecommendationSummariesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateEnrollmentStatus( input: UpdateEnrollmentStatusRequest, ): Effect.Effect< UpdateEnrollmentStatusResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updatePreferences( input: UpdatePreferencesRequest, ): Effect.Effect< UpdatePreferencesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -124,15 +63,7 @@ export type AccountEnrollmentStatuses = Array; export type AccountId = string; export type AccountIdList = Array; -export type ActionType = - | "Rightsize" - | "Stop" - | "Upgrade" - | "PurchaseSavingsPlans" - | "PurchaseReservedInstances" - | "MigrateToGraviton" - | "Delete" - | "ScaleIn"; +export type ActionType = "Rightsize" | "Stop" | "Upgrade" | "PurchaseSavingsPlans" | "PurchaseReservedInstances" | "MigrateToGraviton" | "Delete" | "ScaleIn"; export type ActionTypeList = Array; export type AllocationStrategy = "Prioritized" | "LowestPrice"; export interface AuroraDbClusterStorage { @@ -201,9 +132,7 @@ export interface Ec2AutoScalingGroupConfiguration { type?: Ec2AutoScalingGroupType; allocationStrategy?: AllocationStrategy; } -export type Ec2AutoScalingGroupType = - | "SingleInstanceType" - | "MixedInstanceTypes"; +export type Ec2AutoScalingGroupType = "SingleInstanceType" | "MixedInstanceTypes"; export interface Ec2Instance { configuration?: Ec2InstanceConfiguration; costCalculation?: ResourceCostCalculation; @@ -290,7 +219,8 @@ export interface Filter { resourceArns?: Array; recommendationIds?: Array; } -export interface GetPreferencesRequest {} +export interface GetPreferencesRequest { +} export interface GetPreferencesResponse { savingsEstimationMode?: SavingsEstimationMode; memberAccountDiscountVisibility?: MemberAccountDiscountVisibility; @@ -324,12 +254,7 @@ export interface GetRecommendationResponse { recommendedResourceDetails?: ResourceDetails; tags?: Array; } -export type ImplementationEffort = - | "VeryLow" - | "Low" - | "Medium" - | "High" - | "VeryHigh"; +export type ImplementationEffort = "VeryLow" | "Low" | "Medium" | "High" | "VeryHigh"; export type ImplementationEffortList = Array; export interface InstanceConfiguration { type?: string; @@ -563,33 +488,7 @@ interface _ResourceDetails { memoryDbReservedInstances?: MemoryDbReservedInstances; } -export type ResourceDetails = - | (_ResourceDetails & { lambdaFunction: LambdaFunction }) - | (_ResourceDetails & { ecsService: EcsService }) - | (_ResourceDetails & { ec2Instance: Ec2Instance }) - | (_ResourceDetails & { ebsVolume: EbsVolume }) - | (_ResourceDetails & { ec2AutoScalingGroup: Ec2AutoScalingGroup }) - | (_ResourceDetails & { ec2ReservedInstances: Ec2ReservedInstances }) - | (_ResourceDetails & { rdsReservedInstances: RdsReservedInstances }) - | (_ResourceDetails & { - elastiCacheReservedInstances: ElastiCacheReservedInstances; - }) - | (_ResourceDetails & { - openSearchReservedInstances: OpenSearchReservedInstances; - }) - | (_ResourceDetails & { - redshiftReservedInstances: RedshiftReservedInstances; - }) - | (_ResourceDetails & { ec2InstanceSavingsPlans: Ec2InstanceSavingsPlans }) - | (_ResourceDetails & { computeSavingsPlans: ComputeSavingsPlans }) - | (_ResourceDetails & { sageMakerSavingsPlans: SageMakerSavingsPlans }) - | (_ResourceDetails & { rdsDbInstance: RdsDbInstance }) - | (_ResourceDetails & { rdsDbInstanceStorage: RdsDbInstanceStorage }) - | (_ResourceDetails & { auroraDbClusterStorage: AuroraDbClusterStorage }) - | (_ResourceDetails & { dynamoDbReservedCapacity: DynamoDbReservedCapacity }) - | (_ResourceDetails & { - memoryDbReservedInstances: MemoryDbReservedInstances; - }); +export type ResourceDetails = (_ResourceDetails & { lambdaFunction: LambdaFunction }) | (_ResourceDetails & { ecsService: EcsService }) | (_ResourceDetails & { ec2Instance: Ec2Instance }) | (_ResourceDetails & { ebsVolume: EbsVolume }) | (_ResourceDetails & { ec2AutoScalingGroup: Ec2AutoScalingGroup }) | (_ResourceDetails & { ec2ReservedInstances: Ec2ReservedInstances }) | (_ResourceDetails & { rdsReservedInstances: RdsReservedInstances }) | (_ResourceDetails & { elastiCacheReservedInstances: ElastiCacheReservedInstances }) | (_ResourceDetails & { openSearchReservedInstances: OpenSearchReservedInstances }) | (_ResourceDetails & { redshiftReservedInstances: RedshiftReservedInstances }) | (_ResourceDetails & { ec2InstanceSavingsPlans: Ec2InstanceSavingsPlans }) | (_ResourceDetails & { computeSavingsPlans: ComputeSavingsPlans }) | (_ResourceDetails & { sageMakerSavingsPlans: SageMakerSavingsPlans }) | (_ResourceDetails & { rdsDbInstance: RdsDbInstance }) | (_ResourceDetails & { rdsDbInstanceStorage: RdsDbInstanceStorage }) | (_ResourceDetails & { auroraDbClusterStorage: AuroraDbClusterStorage }) | (_ResourceDetails & { dynamoDbReservedCapacity: DynamoDbReservedCapacity }) | (_ResourceDetails & { memoryDbReservedInstances: MemoryDbReservedInstances }); export type ResourceIdList = Array; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", @@ -603,25 +502,7 @@ export interface ResourcePricing { estimatedDiscounts?: EstimatedDiscounts; estimatedCostAfterDiscounts?: number; } -export type ResourceType = - | "Ec2Instance" - | "LambdaFunction" - | "EbsVolume" - | "EcsService" - | "Ec2AutoScalingGroup" - | "Ec2InstanceSavingsPlans" - | "ComputeSavingsPlans" - | "SageMakerSavingsPlans" - | "Ec2ReservedInstances" - | "RdsReservedInstances" - | "OpenSearchReservedInstances" - | "RedshiftReservedInstances" - | "ElastiCacheReservedInstances" - | "RdsDbInstanceStorage" - | "RdsDbInstance" - | "AuroraDbClusterStorage" - | "DynamoDbReservedCapacity" - | "MemoryDbReservedInstances"; +export type ResourceType = "Ec2Instance" | "LambdaFunction" | "EbsVolume" | "EcsService" | "Ec2AutoScalingGroup" | "Ec2InstanceSavingsPlans" | "ComputeSavingsPlans" | "SageMakerSavingsPlans" | "Ec2ReservedInstances" | "RdsReservedInstances" | "OpenSearchReservedInstances" | "RedshiftReservedInstances" | "ElastiCacheReservedInstances" | "RdsDbInstanceStorage" | "RdsDbInstance" | "AuroraDbClusterStorage" | "DynamoDbReservedCapacity" | "MemoryDbReservedInstances"; export type ResourceTypeList = Array; export interface SageMakerSavingsPlans { configuration?: SageMakerSavingsPlansConfiguration; @@ -780,10 +661,5 @@ export declare namespace UpdatePreferences { | CommonAwsError; } -export type CostOptimizationHubErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type CostOptimizationHubErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/customer-profiles/index.ts b/src/services/customer-profiles/index.ts index 4ad9d518..6798d79b 100644 --- a/src/services/customer-profiles/index.ts +++ b/src/services/customer-profiles/index.ts @@ -5,24 +5,7 @@ import type { CustomerProfiles as _CustomerProfilesClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,137 +15,104 @@ const metadata = { sigV4ServiceName: "profile", endpointPrefix: "profile", operations: { - AddProfileKey: "POST /domains/{DomainName}/profiles/keys", - BatchGetCalculatedAttributeForProfile: - "POST /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}/batch-get-for-profiles", - BatchGetProfile: "POST /domains/{DomainName}/batch-get-profiles", - CreateCalculatedAttributeDefinition: - "POST /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", - CreateDomain: "POST /domains/{DomainName}", - CreateDomainLayout: - "POST /domains/{DomainName}/layouts/{LayoutDefinitionName}", - CreateEventStream: - "POST /domains/{DomainName}/event-streams/{EventStreamName}", - CreateEventTrigger: - "POST /domains/{DomainName}/event-triggers/{EventTriggerName}", - CreateIntegrationWorkflow: - "POST /domains/{DomainName}/workflows/integrations", - CreateProfile: "POST /domains/{DomainName}/profiles", - CreateSegmentDefinition: - "POST /domains/{DomainName}/segment-definitions/{SegmentDefinitionName}", - CreateSegmentEstimate: { + "AddProfileKey": "POST /domains/{DomainName}/profiles/keys", + "BatchGetCalculatedAttributeForProfile": "POST /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}/batch-get-for-profiles", + "BatchGetProfile": "POST /domains/{DomainName}/batch-get-profiles", + "CreateCalculatedAttributeDefinition": "POST /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", + "CreateDomain": "POST /domains/{DomainName}", + "CreateDomainLayout": "POST /domains/{DomainName}/layouts/{LayoutDefinitionName}", + "CreateEventStream": "POST /domains/{DomainName}/event-streams/{EventStreamName}", + "CreateEventTrigger": "POST /domains/{DomainName}/event-triggers/{EventTriggerName}", + "CreateIntegrationWorkflow": "POST /domains/{DomainName}/workflows/integrations", + "CreateProfile": "POST /domains/{DomainName}/profiles", + "CreateSegmentDefinition": "POST /domains/{DomainName}/segment-definitions/{SegmentDefinitionName}", + "CreateSegmentEstimate": { http: "POST /domains/{DomainName}/segment-estimates", traits: { - StatusCode: "httpResponseCode", + "StatusCode": "httpResponseCode", }, }, - CreateSegmentSnapshot: - "POST /domains/{DomainName}/segments/{SegmentDefinitionName}/snapshots", - CreateUploadJob: "POST /domains/{DomainName}/upload-jobs", - DeleteCalculatedAttributeDefinition: - "DELETE /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", - DeleteDomain: "DELETE /domains/{DomainName}", - DeleteDomainLayout: - "DELETE /domains/{DomainName}/layouts/{LayoutDefinitionName}", - DeleteEventStream: - "DELETE /domains/{DomainName}/event-streams/{EventStreamName}", - DeleteEventTrigger: - "DELETE /domains/{DomainName}/event-triggers/{EventTriggerName}", - DeleteIntegration: "POST /domains/{DomainName}/integrations/delete", - DeleteProfile: "POST /domains/{DomainName}/profiles/delete", - DeleteProfileKey: "POST /domains/{DomainName}/profiles/keys/delete", - DeleteProfileObject: "POST /domains/{DomainName}/profiles/objects/delete", - DeleteProfileObjectType: - "DELETE /domains/{DomainName}/object-types/{ObjectTypeName}", - DeleteSegmentDefinition: - "DELETE /domains/{DomainName}/segment-definitions/{SegmentDefinitionName}", - DeleteWorkflow: "DELETE /domains/{DomainName}/workflows/{WorkflowId}", - DetectProfileObjectType: "POST /domains/{DomainName}/detect/object-types", - GetAutoMergingPreview: - "POST /domains/{DomainName}/identity-resolution-jobs/auto-merging-preview", - GetCalculatedAttributeDefinition: - "GET /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", - GetCalculatedAttributeForProfile: - "GET /domains/{DomainName}/profile/{ProfileId}/calculated-attributes/{CalculatedAttributeName}", - GetDomain: "GET /domains/{DomainName}", - GetDomainLayout: "GET /domains/{DomainName}/layouts/{LayoutDefinitionName}", - GetEventStream: "GET /domains/{DomainName}/event-streams/{EventStreamName}", - GetEventTrigger: - "GET /domains/{DomainName}/event-triggers/{EventTriggerName}", - GetIdentityResolutionJob: - "GET /domains/{DomainName}/identity-resolution-jobs/{JobId}", - GetIntegration: "POST /domains/{DomainName}/integrations", - GetMatches: "GET /domains/{DomainName}/matches", - GetProfileHistoryRecord: - "GET /domains/{DomainName}/profiles/{ProfileId}/history-records/{Id}", - GetProfileObjectType: - "GET /domains/{DomainName}/object-types/{ObjectTypeName}", - GetProfileObjectTypeTemplate: "GET /templates/{TemplateId}", - GetSegmentDefinition: - "GET /domains/{DomainName}/segment-definitions/{SegmentDefinitionName}", - GetSegmentEstimate: { + "CreateSegmentSnapshot": "POST /domains/{DomainName}/segments/{SegmentDefinitionName}/snapshots", + "CreateUploadJob": "POST /domains/{DomainName}/upload-jobs", + "DeleteCalculatedAttributeDefinition": "DELETE /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", + "DeleteDomain": "DELETE /domains/{DomainName}", + "DeleteDomainLayout": "DELETE /domains/{DomainName}/layouts/{LayoutDefinitionName}", + "DeleteEventStream": "DELETE /domains/{DomainName}/event-streams/{EventStreamName}", + "DeleteEventTrigger": "DELETE /domains/{DomainName}/event-triggers/{EventTriggerName}", + "DeleteIntegration": "POST /domains/{DomainName}/integrations/delete", + "DeleteProfile": "POST /domains/{DomainName}/profiles/delete", + "DeleteProfileKey": "POST /domains/{DomainName}/profiles/keys/delete", + "DeleteProfileObject": "POST /domains/{DomainName}/profiles/objects/delete", + "DeleteProfileObjectType": "DELETE /domains/{DomainName}/object-types/{ObjectTypeName}", + "DeleteSegmentDefinition": "DELETE /domains/{DomainName}/segment-definitions/{SegmentDefinitionName}", + "DeleteWorkflow": "DELETE /domains/{DomainName}/workflows/{WorkflowId}", + "DetectProfileObjectType": "POST /domains/{DomainName}/detect/object-types", + "GetAutoMergingPreview": "POST /domains/{DomainName}/identity-resolution-jobs/auto-merging-preview", + "GetCalculatedAttributeDefinition": "GET /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", + "GetCalculatedAttributeForProfile": "GET /domains/{DomainName}/profile/{ProfileId}/calculated-attributes/{CalculatedAttributeName}", + "GetDomain": "GET /domains/{DomainName}", + "GetDomainLayout": "GET /domains/{DomainName}/layouts/{LayoutDefinitionName}", + "GetEventStream": "GET /domains/{DomainName}/event-streams/{EventStreamName}", + "GetEventTrigger": "GET /domains/{DomainName}/event-triggers/{EventTriggerName}", + "GetIdentityResolutionJob": "GET /domains/{DomainName}/identity-resolution-jobs/{JobId}", + "GetIntegration": "POST /domains/{DomainName}/integrations", + "GetMatches": "GET /domains/{DomainName}/matches", + "GetProfileHistoryRecord": "GET /domains/{DomainName}/profiles/{ProfileId}/history-records/{Id}", + "GetProfileObjectType": "GET /domains/{DomainName}/object-types/{ObjectTypeName}", + "GetProfileObjectTypeTemplate": "GET /templates/{TemplateId}", + "GetSegmentDefinition": "GET /domains/{DomainName}/segment-definitions/{SegmentDefinitionName}", + "GetSegmentEstimate": { http: "GET /domains/{DomainName}/segment-estimates/{EstimateId}", traits: { - StatusCode: "httpResponseCode", + "StatusCode": "httpResponseCode", }, }, - GetSegmentMembership: - "POST /domains/{DomainName}/segments/{SegmentDefinitionName}/membership", - GetSegmentSnapshot: - "GET /domains/{DomainName}/segments/{SegmentDefinitionName}/snapshots/{SnapshotId}", - GetSimilarProfiles: "POST /domains/{DomainName}/matches", - GetUploadJob: "GET /domains/{DomainName}/upload-jobs/{JobId}", - GetUploadJobPath: "GET /domains/{DomainName}/upload-jobs/{JobId}/path", - GetWorkflow: "GET /domains/{DomainName}/workflows/{WorkflowId}", - GetWorkflowSteps: "GET /domains/{DomainName}/workflows/{WorkflowId}/steps", - ListAccountIntegrations: "POST /integrations", - ListCalculatedAttributeDefinitions: - "GET /domains/{DomainName}/calculated-attributes", - ListCalculatedAttributesForProfile: - "GET /domains/{DomainName}/profile/{ProfileId}/calculated-attributes", - ListDomainLayouts: "GET /domains/{DomainName}/layouts", - ListDomains: "GET /domains", - ListEventStreams: "GET /domains/{DomainName}/event-streams", - ListEventTriggers: "GET /domains/{DomainName}/event-triggers", - ListIdentityResolutionJobs: - "GET /domains/{DomainName}/identity-resolution-jobs", - ListIntegrations: "GET /domains/{DomainName}/integrations", - ListObjectTypeAttributes: - "GET /domains/{DomainName}/object-types/{ObjectTypeName}/attributes", - ListProfileAttributeValues: { + "GetSegmentMembership": "POST /domains/{DomainName}/segments/{SegmentDefinitionName}/membership", + "GetSegmentSnapshot": "GET /domains/{DomainName}/segments/{SegmentDefinitionName}/snapshots/{SnapshotId}", + "GetSimilarProfiles": "POST /domains/{DomainName}/matches", + "GetUploadJob": "GET /domains/{DomainName}/upload-jobs/{JobId}", + "GetUploadJobPath": "GET /domains/{DomainName}/upload-jobs/{JobId}/path", + "GetWorkflow": "GET /domains/{DomainName}/workflows/{WorkflowId}", + "GetWorkflowSteps": "GET /domains/{DomainName}/workflows/{WorkflowId}/steps", + "ListAccountIntegrations": "POST /integrations", + "ListCalculatedAttributeDefinitions": "GET /domains/{DomainName}/calculated-attributes", + "ListCalculatedAttributesForProfile": "GET /domains/{DomainName}/profile/{ProfileId}/calculated-attributes", + "ListDomainLayouts": "GET /domains/{DomainName}/layouts", + "ListDomains": "GET /domains", + "ListEventStreams": "GET /domains/{DomainName}/event-streams", + "ListEventTriggers": "GET /domains/{DomainName}/event-triggers", + "ListIdentityResolutionJobs": "GET /domains/{DomainName}/identity-resolution-jobs", + "ListIntegrations": "GET /domains/{DomainName}/integrations", + "ListObjectTypeAttributes": "GET /domains/{DomainName}/object-types/{ObjectTypeName}/attributes", + "ListProfileAttributeValues": { http: "GET /domains/{DomainName}/profile-attributes/{AttributeName}/values", traits: { - StatusCode: "httpResponseCode", + "StatusCode": "httpResponseCode", }, }, - ListProfileHistoryRecords: - "POST /domains/{DomainName}/profiles/history-records", - ListProfileObjects: "POST /domains/{DomainName}/profiles/objects", - ListProfileObjectTypes: "GET /domains/{DomainName}/object-types", - ListProfileObjectTypeTemplates: "GET /templates", - ListRuleBasedMatches: "GET /domains/{DomainName}/profiles/ruleBasedMatches", - ListSegmentDefinitions: "GET /domains/{DomainName}/segment-definitions", - ListTagsForResource: "GET /tags/{resourceArn}", - ListUploadJobs: "GET /domains/{DomainName}/upload-jobs", - ListWorkflows: "POST /domains/{DomainName}/workflows", - MergeProfiles: "POST /domains/{DomainName}/profiles/objects/merge", - PutIntegration: "PUT /domains/{DomainName}/integrations", - PutProfileObject: "PUT /domains/{DomainName}/profiles/objects", - PutProfileObjectType: - "PUT /domains/{DomainName}/object-types/{ObjectTypeName}", - SearchProfiles: "POST /domains/{DomainName}/profiles/search", - StartUploadJob: "PUT /domains/{DomainName}/upload-jobs/{JobId}", - StopUploadJob: "PUT /domains/{DomainName}/upload-jobs/{JobId}/stop", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateCalculatedAttributeDefinition: - "PUT /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", - UpdateDomain: "PUT /domains/{DomainName}", - UpdateDomainLayout: - "PUT /domains/{DomainName}/layouts/{LayoutDefinitionName}", - UpdateEventTrigger: - "PUT /domains/{DomainName}/event-triggers/{EventTriggerName}", - UpdateProfile: "PUT /domains/{DomainName}/profiles", + "ListProfileHistoryRecords": "POST /domains/{DomainName}/profiles/history-records", + "ListProfileObjects": "POST /domains/{DomainName}/profiles/objects", + "ListProfileObjectTypes": "GET /domains/{DomainName}/object-types", + "ListProfileObjectTypeTemplates": "GET /templates", + "ListRuleBasedMatches": "GET /domains/{DomainName}/profiles/ruleBasedMatches", + "ListSegmentDefinitions": "GET /domains/{DomainName}/segment-definitions", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListUploadJobs": "GET /domains/{DomainName}/upload-jobs", + "ListWorkflows": "POST /domains/{DomainName}/workflows", + "MergeProfiles": "POST /domains/{DomainName}/profiles/objects/merge", + "PutIntegration": "PUT /domains/{DomainName}/integrations", + "PutProfileObject": "PUT /domains/{DomainName}/profiles/objects", + "PutProfileObjectType": "PUT /domains/{DomainName}/object-types/{ObjectTypeName}", + "SearchProfiles": "POST /domains/{DomainName}/profiles/search", + "StartUploadJob": "PUT /domains/{DomainName}/upload-jobs/{JobId}", + "StopUploadJob": "PUT /domains/{DomainName}/upload-jobs/{JobId}/stop", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateCalculatedAttributeDefinition": "PUT /domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}", + "UpdateDomain": "PUT /domains/{DomainName}", + "UpdateDomainLayout": "PUT /domains/{DomainName}/layouts/{LayoutDefinitionName}", + "UpdateEventTrigger": "PUT /domains/{DomainName}/event-triggers/{EventTriggerName}", + "UpdateProfile": "PUT /domains/{DomainName}/profiles", }, } as const satisfies ServiceMetadata; diff --git a/src/services/customer-profiles/types.ts b/src/services/customer-profiles/types.ts index 7875c360..66b9bc7c 100644 --- a/src/services/customer-profiles/types.ts +++ b/src/services/customer-profiles/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class CustomerProfiles extends AWSServiceClient { @@ -41,907 +8,499 @@ export declare class CustomerProfiles extends AWSServiceClient { input: AddProfileKeyRequest, ): Effect.Effect< AddProfileKeyResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchGetCalculatedAttributeForProfile( input: BatchGetCalculatedAttributeForProfileRequest, ): Effect.Effect< BatchGetCalculatedAttributeForProfileResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchGetProfile( input: BatchGetProfileRequest, ): Effect.Effect< BatchGetProfileResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createCalculatedAttributeDefinition( input: CreateCalculatedAttributeDefinitionRequest, ): Effect.Effect< CreateCalculatedAttributeDefinitionResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createDomain( input: CreateDomainRequest, ): Effect.Effect< CreateDomainResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createDomainLayout( input: CreateDomainLayoutRequest, ): Effect.Effect< CreateDomainLayoutResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createEventStream( input: CreateEventStreamRequest, ): Effect.Effect< CreateEventStreamResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createEventTrigger( input: CreateEventTriggerRequest, ): Effect.Effect< CreateEventTriggerResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createIntegrationWorkflow( input: CreateIntegrationWorkflowRequest, ): Effect.Effect< CreateIntegrationWorkflowResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createProfile( input: CreateProfileRequest, ): Effect.Effect< CreateProfileResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createSegmentDefinition( input: CreateSegmentDefinitionRequest, ): Effect.Effect< CreateSegmentDefinitionResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createSegmentEstimate( input: CreateSegmentEstimateRequest, ): Effect.Effect< CreateSegmentEstimateResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createSegmentSnapshot( input: CreateSegmentSnapshotRequest, ): Effect.Effect< CreateSegmentSnapshotResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createUploadJob( input: CreateUploadJobRequest, ): Effect.Effect< CreateUploadJobResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteCalculatedAttributeDefinition( input: DeleteCalculatedAttributeDefinitionRequest, ): Effect.Effect< DeleteCalculatedAttributeDefinitionResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDomain( input: DeleteDomainRequest, ): Effect.Effect< DeleteDomainResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDomainLayout( input: DeleteDomainLayoutRequest, ): Effect.Effect< DeleteDomainLayoutResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteEventStream( input: DeleteEventStreamRequest, ): Effect.Effect< DeleteEventStreamResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteEventTrigger( input: DeleteEventTriggerRequest, ): Effect.Effect< DeleteEventTriggerResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteIntegration( input: DeleteIntegrationRequest, ): Effect.Effect< DeleteIntegrationResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteProfile( input: DeleteProfileRequest, ): Effect.Effect< DeleteProfileResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteProfileKey( input: DeleteProfileKeyRequest, ): Effect.Effect< DeleteProfileKeyResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteProfileObject( input: DeleteProfileObjectRequest, ): Effect.Effect< DeleteProfileObjectResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteProfileObjectType( input: DeleteProfileObjectTypeRequest, ): Effect.Effect< DeleteProfileObjectTypeResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteSegmentDefinition( input: DeleteSegmentDefinitionRequest, ): Effect.Effect< DeleteSegmentDefinitionResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteWorkflow( input: DeleteWorkflowRequest, ): Effect.Effect< DeleteWorkflowResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; detectProfileObjectType( input: DetectProfileObjectTypeRequest, ): Effect.Effect< DetectProfileObjectTypeResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getAutoMergingPreview( input: GetAutoMergingPreviewRequest, ): Effect.Effect< GetAutoMergingPreviewResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getCalculatedAttributeDefinition( input: GetCalculatedAttributeDefinitionRequest, ): Effect.Effect< GetCalculatedAttributeDefinitionResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getCalculatedAttributeForProfile( input: GetCalculatedAttributeForProfileRequest, ): Effect.Effect< GetCalculatedAttributeForProfileResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getDomain( input: GetDomainRequest, ): Effect.Effect< GetDomainResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getDomainLayout( input: GetDomainLayoutRequest, ): Effect.Effect< GetDomainLayoutResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getEventStream( input: GetEventStreamRequest, ): Effect.Effect< GetEventStreamResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getEventTrigger( input: GetEventTriggerRequest, ): Effect.Effect< GetEventTriggerResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getIdentityResolutionJob( input: GetIdentityResolutionJobRequest, ): Effect.Effect< GetIdentityResolutionJobResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getIntegration( input: GetIntegrationRequest, ): Effect.Effect< GetIntegrationResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getMatches( input: GetMatchesRequest, ): Effect.Effect< GetMatchesResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getProfileHistoryRecord( input: GetProfileHistoryRecordRequest, ): Effect.Effect< GetProfileHistoryRecordResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getProfileObjectType( input: GetProfileObjectTypeRequest, ): Effect.Effect< GetProfileObjectTypeResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getProfileObjectTypeTemplate( input: GetProfileObjectTypeTemplateRequest, ): Effect.Effect< GetProfileObjectTypeTemplateResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSegmentDefinition( input: GetSegmentDefinitionRequest, ): Effect.Effect< GetSegmentDefinitionResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSegmentEstimate( input: GetSegmentEstimateRequest, ): Effect.Effect< GetSegmentEstimateResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSegmentMembership( input: GetSegmentMembershipRequest, ): Effect.Effect< GetSegmentMembershipResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSegmentSnapshot( input: GetSegmentSnapshotRequest, ): Effect.Effect< GetSegmentSnapshotResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSimilarProfiles( input: GetSimilarProfilesRequest, ): Effect.Effect< GetSimilarProfilesResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getUploadJob( input: GetUploadJobRequest, ): Effect.Effect< GetUploadJobResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getUploadJobPath( input: GetUploadJobPathRequest, ): Effect.Effect< GetUploadJobPathResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getWorkflow( input: GetWorkflowRequest, ): Effect.Effect< GetWorkflowResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getWorkflowSteps( input: GetWorkflowStepsRequest, ): Effect.Effect< GetWorkflowStepsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAccountIntegrations( input: ListAccountIntegrationsRequest, ): Effect.Effect< ListAccountIntegrationsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listCalculatedAttributeDefinitions( input: ListCalculatedAttributeDefinitionsRequest, ): Effect.Effect< ListCalculatedAttributeDefinitionsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listCalculatedAttributesForProfile( input: ListCalculatedAttributesForProfileRequest, ): Effect.Effect< ListCalculatedAttributesForProfileResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listDomainLayouts( input: ListDomainLayoutsRequest, ): Effect.Effect< ListDomainLayoutsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listDomains( input: ListDomainsRequest, ): Effect.Effect< ListDomainsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listEventStreams( input: ListEventStreamsRequest, ): Effect.Effect< ListEventStreamsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listEventTriggers( input: ListEventTriggersRequest, ): Effect.Effect< ListEventTriggersResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listIdentityResolutionJobs( input: ListIdentityResolutionJobsRequest, ): Effect.Effect< ListIdentityResolutionJobsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listIntegrations( input: ListIntegrationsRequest, ): Effect.Effect< ListIntegrationsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listObjectTypeAttributes( input: ListObjectTypeAttributesRequest, ): Effect.Effect< ListObjectTypeAttributesResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listProfileAttributeValues( input: ProfileAttributeValuesRequest, ): Effect.Effect< ProfileAttributeValuesResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listProfileHistoryRecords( input: ListProfileHistoryRecordsRequest, ): Effect.Effect< ListProfileHistoryRecordsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listProfileObjects( input: ListProfileObjectsRequest, ): Effect.Effect< ListProfileObjectsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listProfileObjectTypes( input: ListProfileObjectTypesRequest, ): Effect.Effect< ListProfileObjectTypesResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listProfileObjectTypeTemplates( input: ListProfileObjectTypeTemplatesRequest, ): Effect.Effect< ListProfileObjectTypeTemplatesResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRuleBasedMatches( input: ListRuleBasedMatchesRequest, ): Effect.Effect< ListRuleBasedMatchesResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listSegmentDefinitions( input: ListSegmentDefinitionsRequest, ): Effect.Effect< ListSegmentDefinitionsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; listUploadJobs( input: ListUploadJobsRequest, ): Effect.Effect< ListUploadJobsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listWorkflows( input: ListWorkflowsRequest, ): Effect.Effect< ListWorkflowsResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; mergeProfiles( input: MergeProfilesRequest, ): Effect.Effect< MergeProfilesResponse, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putIntegration( input: PutIntegrationRequest, ): Effect.Effect< PutIntegrationResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putProfileObject( input: PutProfileObjectRequest, ): Effect.Effect< PutProfileObjectResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putProfileObjectType( input: PutProfileObjectTypeRequest, ): Effect.Effect< PutProfileObjectTypeResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchProfiles( input: SearchProfilesRequest, ): Effect.Effect< SearchProfilesResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startUploadJob( input: StartUploadJobRequest, ): Effect.Effect< StartUploadJobResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; stopUploadJob( input: StopUploadJobRequest, ): Effect.Effect< StopUploadJobResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | CommonAwsError >; updateCalculatedAttributeDefinition( input: UpdateCalculatedAttributeDefinitionRequest, ): Effect.Effect< UpdateCalculatedAttributeDefinitionResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDomain( input: UpdateDomainRequest, ): Effect.Effect< UpdateDomainResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDomainLayout( input: UpdateDomainLayoutRequest, ): Effect.Effect< UpdateDomainLayoutResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateEventTrigger( input: UpdateEventTriggerRequest, ): Effect.Effect< UpdateEventTriggerResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateProfile( input: UpdateProfileRequest, ): Effect.Effect< UpdateProfileResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -950,16 +509,7 @@ export declare class AccessDeniedException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type ActionType = - | "ADDED_PROFILE_KEY" - | "DELETED_PROFILE_KEY" - | "CREATED" - | "UPDATED" - | "INGESTED" - | "DELETED_BY_CUSTOMER" - | "EXPIRED" - | "MERGED" - | "DELETED_BY_MERGE"; +export type ActionType = "ADDED_PROFILE_KEY" | "DELETED_PROFILE_KEY" | "CREATED" | "UPDATED" | "INGESTED" | "DELETED_BY_CUSTOMER" | "EXPIRED" | "MERGED" | "DELETED_BY_MERGE"; export interface AdditionalSearchKey { KeyName: string; Values: Array; @@ -1028,22 +578,7 @@ export interface AttributeDimension { DimensionType: AttributeDimensionType; Values: Array; } -export type AttributeDimensionType = - | "INCLUSIVE" - | "EXCLUSIVE" - | "CONTAINS" - | "BEGINS_WITH" - | "ENDS_WITH" - | "BEFORE" - | "AFTER" - | "BETWEEN" - | "NOT_BETWEEN" - | "ON" - | "GREATER_THAN" - | "LESS_THAN" - | "GREATER_THAN_OR_EQUAL" - | "LESS_THAN_OR_EQUAL" - | "EQUAL"; +export type AttributeDimensionType = "INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH" | "BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUAL"; export interface AttributeItem { Name: string; } @@ -1085,8 +620,7 @@ export interface BatchGetCalculatedAttributeForProfileError { Message: string; ProfileId: string; } -export type BatchGetCalculatedAttributeForProfileErrorList = - Array; +export type BatchGetCalculatedAttributeForProfileErrorList = Array; export type BatchGetCalculatedAttributeForProfileIdList = Array; export interface BatchGetCalculatedAttributeForProfileRequest { CalculatedAttributeName: string; @@ -1120,15 +654,13 @@ export type BucketName = string; export type BucketPrefix = string; -export type CalculatedAttributeDefinitionsList = - Array; +export type CalculatedAttributeDefinitionsList = Array; export interface CalculatedAttributeDimension { DimensionType: AttributeDimensionType; Values: Array; ConditionOverrides?: ConditionOverrides; } -export type CalculatedAttributesForProfileList = - Array; +export type CalculatedAttributesForProfileList = Array; export interface CalculatedAttributeValue { CalculatedAttributeName?: string; DisplayName?: string; @@ -1138,26 +670,8 @@ export interface CalculatedAttributeValue { LastObjectTimestamp?: Date | string; } export type CalculatedAttributeValueList = Array; -export type CalculatedCustomAttributes = Record< - string, - CalculatedAttributeDimension ->; -export type ComparisonOperator = - | "INCLUSIVE" - | "EXCLUSIVE" - | "CONTAINS" - | "BEGINS_WITH" - | "ENDS_WITH" - | "GREATER_THAN" - | "LESS_THAN" - | "GREATER_THAN_OR_EQUAL" - | "LESS_THAN_OR_EQUAL" - | "EQUAL" - | "BEFORE" - | "AFTER" - | "ON" - | "BETWEEN" - | "NOT_BETWEEN"; +export type CalculatedCustomAttributes = Record; +export type ComparisonOperator = "INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUAL" | "BEFORE" | "AFTER" | "ON" | "BETWEEN" | "NOT_BETWEEN"; export interface ConditionOverrides { Range?: RangeOverride; } @@ -1189,14 +703,7 @@ export interface ContactPreference { ProfileId?: string; ContactType?: ContactType; } -export type ContactType = - | "PhoneNumber" - | "MobilePhoneNumber" - | "HomePhoneNumber" - | "BusinessPhoneNumber" - | "EmailAddress" - | "PersonalEmailAddress" - | "BusinessEmailAddress"; +export type ContactType = "PhoneNumber" | "MobilePhoneNumber" | "HomePhoneNumber" | "BusinessPhoneNumber" | "EmailAddress" | "PersonalEmailAddress" | "BusinessEmailAddress"; export interface CreateCalculatedAttributeDefinitionRequest { DomainName: string; CalculatedAttributeName: string; @@ -1395,12 +902,7 @@ export interface DateDimension { DimensionType: DateDimensionType; Values: Array; } -export type DateDimensionType = - | "BEFORE" - | "AFTER" - | "BETWEEN" - | "NOT_BETWEEN" - | "ON"; +export type DateDimensionType = "BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON"; export type DatetimeTypeFieldName = string; export type DateValues = Array; @@ -1408,7 +910,8 @@ export interface DeleteCalculatedAttributeDefinitionRequest { DomainName: string; CalculatedAttributeName: string; } -export interface DeleteCalculatedAttributeDefinitionResponse {} +export interface DeleteCalculatedAttributeDefinitionResponse { +} export interface DeleteDomainLayoutRequest { DomainName: string; LayoutDefinitionName: string; @@ -1426,7 +929,8 @@ export interface DeleteEventStreamRequest { DomainName: string; EventStreamName: string; } -export interface DeleteEventStreamResponse {} +export interface DeleteEventStreamResponse { +} export interface DeleteEventTriggerRequest { DomainName: string; EventTriggerName: string; @@ -1484,7 +988,8 @@ export interface DeleteWorkflowRequest { DomainName: string; WorkflowId: string; } -export interface DeleteWorkflowResponse {} +export interface DeleteWorkflowResponse { +} export type DestinationField = string; export interface DestinationSummary { @@ -1510,11 +1015,7 @@ interface _Dimension { CalculatedAttributes?: Record; } -export type Dimension = - | (_Dimension & { ProfileAttributes: ProfileAttributes }) - | (_Dimension & { - CalculatedAttributes: Record; - }); +export type Dimension = (_Dimension & { ProfileAttributes: ProfileAttributes }) | (_Dimension & { CalculatedAttributes: Record }); export type DimensionList = Array; export type displayName = string; @@ -1597,12 +1098,7 @@ export interface ExtraLengthValueProfileDimension { } export type ExtraLengthValues = Array; export type Failures = Array; -export type FieldContentType = - | "STRING" - | "NUMBER" - | "PHONE_NUMBER" - | "EMAIL_ADDRESS" - | "NAME"; +export type FieldContentType = "STRING" | "NUMBER" | "PHONE_NUMBER" | "EMAIL_ADDRESS" | "NAME"; export type FieldMap = Record; export type fieldName = string; @@ -1644,22 +1140,7 @@ export interface FilterDimension { Attributes: Record; } export type FilterDimensionList = Array; -export type FilterDimensionType = - | "INCLUSIVE" - | "EXCLUSIVE" - | "CONTAINS" - | "BEGINS_WITH" - | "ENDS_WITH" - | "BEFORE" - | "AFTER" - | "BETWEEN" - | "NOT_BETWEEN" - | "ON" - | "GREATER_THAN" - | "LESS_THAN" - | "GREATER_THAN_OR_EQUAL" - | "LESS_THAN_OR_EQUAL" - | "EQUAL"; +export type FilterDimensionType = "INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH" | "BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUAL"; export interface FilterGroup { Type: Type; Dimensions: Array; @@ -2014,14 +1495,7 @@ export interface IdentityResolutionJob { Message?: string; } export type IdentityResolutionJobsList = Array; -export type IdentityResolutionJobStatus = - | "PENDING" - | "PREPROCESSING" - | "FIND_MATCHING" - | "MERGING" - | "COMPLETED" - | "PARTIAL_SUCCESS" - | "FAILED"; +export type IdentityResolutionJobStatus = "PENDING" | "PREPROCESSING" | "FIND_MATCHING" | "MERGING" | "COMPLETED" | "PARTIAL_SUCCESS" | "FAILED"; export type Include = "ALL" | "ANY" | "NONE"; export type IncludeOptions = "ALL" | "ANY" | "NONE"; export interface IncrementalPullConfig { @@ -2040,14 +1514,7 @@ export interface JobSchedule { DayOfTheWeek: JobScheduleDayOfTheWeek; Time: string; } -export type JobScheduleDayOfTheWeek = - | "SUNDAY" - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY"; +export type JobScheduleDayOfTheWeek = "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY"; export type JobScheduleTime = string; export interface JobStats { @@ -2322,23 +1789,7 @@ export interface ListWorkflowsResponse { export type logicalOperator = "AND" | "OR"; export type long = number; -export type MarketoConnectorOperator = - | "PROJECTION" - | "LESS_THAN" - | "GREATER_THAN" - | "BETWEEN" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type MarketoConnectorOperator = "PROJECTION" | "LESS_THAN" | "GREATER_THAN" | "BETWEEN" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface MarketoSourceProperties { Object: string; } @@ -2427,26 +1878,8 @@ export interface ObjectTypeKey { } export type ObjectTypeKeyList = Array; export type ObjectTypeNames = Record; -export type Operator = - | "EQUAL_TO" - | "GREATER_THAN" - | "LESS_THAN" - | "NOT_EQUAL_TO"; -export type OperatorPropertiesKeys = - | "VALUE" - | "VALUES" - | "DATA_TYPE" - | "UPPER_BOUND" - | "LOWER_BOUND" - | "SOURCE_DATA_TYPE" - | "DESTINATION_DATA_TYPE" - | "VALIDATION_ACTION" - | "MASK_VALUE" - | "MASK_LENGTH" - | "TRUNCATE_LENGTH" - | "MATH_OPERATION_FIELDS_ORDER" - | "CONCAT_FORMAT" - | "SUBFIELD_CATEGORY_MAP"; +export type Operator = "EQUAL_TO" | "GREATER_THAN" | "LESS_THAN" | "NOT_EQUAL_TO"; +export type OperatorPropertiesKeys = "VALUE" | "VALUES" | "DATA_TYPE" | "UPPER_BOUND" | "LOWER_BOUND" | "SOURCE_DATA_TYPE" | "DESTINATION_DATA_TYPE" | "VALIDATION_ACTION" | "MASK_VALUE" | "MASK_LENGTH" | "TRUNCATE_LENGTH" | "MATH_OPERATION_FIELDS_ORDER" | "CONCAT_FORMAT" | "SUBFIELD_CATEGORY_MAP"; export type optionalBoolean = boolean; export type optionalLong = number; @@ -2549,8 +1982,7 @@ export type ProfileIdToBeMergedList = Array; export type ProfileList = Array; export type ProfileObjectList = Array; export type ProfileObjectTypeList = Array; -export type ProfileObjectTypeTemplateList = - Array; +export type ProfileObjectTypeTemplateList = Array; export interface ProfileQueryFailures { ProfileId: string; Message: string; @@ -2650,11 +2082,7 @@ export interface Readiness { ProgressPercentage?: number; Message?: string; } -export type ReadinessStatus = - | "PREPARING" - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED"; +export type ReadinessStatus = "PREPARING" | "IN_PROGRESS" | "COMPLETED" | "FAILED"; export type requestValueList = Array; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", @@ -2692,27 +2120,7 @@ export type RuleLevel = number; export type s3BucketName = string; -export type S3ConnectorOperator = - | "PROJECTION" - | "LESS_THAN" - | "GREATER_THAN" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type S3ConnectorOperator = "PROJECTION" | "LESS_THAN" | "GREATER_THAN" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface S3ExportingConfig { S3BucketName: string; S3KeyName?: string; @@ -2729,28 +2137,7 @@ export interface S3SourceProperties { BucketName: string; BucketPrefix?: string; } -export type SalesforceConnectorOperator = - | "PROJECTION" - | "LESS_THAN" - | "CONTAINS" - | "GREATER_THAN" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type SalesforceConnectorOperator = "PROJECTION" | "LESS_THAN" | "CONTAINS" | "GREATER_THAN" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface SalesforceSourceProperties { Object: string; EnableDynamicFieldUpdate?: boolean; @@ -2815,28 +2202,7 @@ export type sensitiveString1To255 = string; export type sensitiveText = string; -export type ServiceNowConnectorOperator = - | "PROJECTION" - | "CONTAINS" - | "LESS_THAN" - | "GREATER_THAN" - | "BETWEEN" - | "LESS_THAN_OR_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type ServiceNowConnectorOperator = "PROJECTION" | "CONTAINS" | "LESS_THAN" | "GREATER_THAN" | "BETWEEN" | "LESS_THAN_OR_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "EQUAL_TO" | "NOT_EQUAL_TO" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface ServiceNowSourceProperties { Object: string; } @@ -2847,12 +2213,7 @@ export interface SourceConnectorProperties { ServiceNow?: ServiceNowSourceProperties; Zendesk?: ZendeskSourceProperties; } -export type SourceConnectorType = - | "Salesforce" - | "Marketo" - | "Zendesk" - | "Servicenow" - | "S3"; +export type SourceConnectorType = "Salesforce" | "Marketo" | "Zendesk" | "Servicenow" | "S3"; export type SourceFields = Array; export interface SourceFlowConfig { ConnectorProfileName?: string; @@ -2866,25 +2227,7 @@ export interface SourceSegment { export type SourceSegmentList = Array; export type sqsQueueUrl = string; -export type StandardIdentifier = - | "PROFILE" - | "ASSET" - | "CASE" - | "ORDER" - | "COMMUNICATION_RECORD" - | "AIR_PREFERENCE" - | "HOTEL_PREFERENCE" - | "AIR_BOOKING" - | "AIR_SEGMENT" - | "HOTEL_RESERVATION" - | "HOTEL_STAY_REVENUE" - | "LOYALTY" - | "LOYALTY_TRANSACTION" - | "LOYALTY_PROMOTION" - | "UNIQUE" - | "SECONDARY" - | "LOOKUP_ONLY" - | "NEW_ONLY"; +export type StandardIdentifier = "PROFILE" | "ASSET" | "CASE" | "ORDER" | "COMMUNICATION_RECORD" | "AIR_PREFERENCE" | "HOTEL_PREFERENCE" | "AIR_BOOKING" | "AIR_SEGMENT" | "HOTEL_RESERVATION" | "HOTEL_STAY_REVENUE" | "LOYALTY" | "LOYALTY_TRANSACTION" | "LOYALTY_PROMOTION" | "UNIQUE" | "SECONDARY" | "LOOKUP_ONLY" | "NEW_ONLY"; export type StandardIdentifierList = Array; export type Start = number; @@ -2892,24 +2235,10 @@ export interface StartUploadJobRequest { DomainName: string; JobId: string; } -export interface StartUploadJobResponse {} -export type Statistic = - | "FIRST_OCCURRENCE" - | "LAST_OCCURRENCE" - | "COUNT" - | "SUM" - | "MINIMUM" - | "MAXIMUM" - | "AVERAGE" - | "MAX_OCCURRENCE"; -export type Status = - | "NOT_STARTED" - | "IN_PROGRESS" - | "COMPLETE" - | "FAILED" - | "SPLIT" - | "RETRY" - | "CANCELLED"; +export interface StartUploadJobResponse { +} +export type Statistic = "FIRST_OCCURRENCE" | "LAST_OCCURRENCE" | "COUNT" | "SUM" | "MINIMUM" | "MAXIMUM" | "AVERAGE" | "MAX_OCCURRENCE"; +export type Status = "NOT_STARTED" | "IN_PROGRESS" | "COMPLETE" | "FAILED" | "SPLIT" | "RETRY" | "CANCELLED"; export type StatusCode = number; export type StatusReason = "VALIDATION_FAILURE" | "INTERNAL_FAILURE"; @@ -2917,19 +2246,15 @@ export interface StopUploadJobRequest { DomainName: string; JobId: string; } -export interface StopUploadJobResponse {} +export interface StopUploadJobResponse { +} export type string0To255 = string; export type string1To1000 = string; export type string1To255 = string; -export type StringDimensionType = - | "INCLUSIVE" - | "EXCLUSIVE" - | "CONTAINS" - | "BEGINS_WITH" - | "ENDS_WITH"; +export type StringDimensionType = "INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"; export type stringifiedJson = string; export type stringTo2048 = string; @@ -2944,7 +2269,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Task { @@ -2956,14 +2282,7 @@ export interface Task { } export type TaskPropertiesMap = Record; export type Tasks = Array; -export type TaskType = - | "Arithmetic" - | "Filter" - | "Map" - | "Mask" - | "Merge" - | "Truncate" - | "Validate"; +export type TaskType = "Arithmetic" | "Filter" | "Map" | "Mask" | "Merge" | "Truncate" | "Validate"; export type text = string; export interface Threshold { @@ -2997,7 +2316,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAddress { Address1?: string; Address2?: string; @@ -3135,13 +2455,7 @@ export interface UploadJobItem { DataExpiry?: number; } export type UploadJobsList = Array; -export type UploadJobStatus = - | "CREATED" - | "IN_PROGRESS" - | "PARTIALLY_SUCCEEDED" - | "SUCCEEDED" - | "FAILED" - | "STOPPED"; +export type UploadJobStatus = "CREATED" | "IN_PROGRESS" | "PARTIALLY_SUCCEEDED" | "SUCCEEDED" | "FAILED" | "STOPPED"; export type uuid = string; export type Value = number; @@ -3168,21 +2482,7 @@ export interface WorkflowStepItem { } export type WorkflowStepsList = Array; export type WorkflowType = "APPFLOW_INTEGRATION"; -export type ZendeskConnectorOperator = - | "PROJECTION" - | "GREATER_THAN" - | "ADDITION" - | "MULTIPLICATION" - | "DIVISION" - | "SUBTRACTION" - | "MASK_ALL" - | "MASK_FIRST_N" - | "MASK_LAST_N" - | "VALIDATE_NON_NULL" - | "VALIDATE_NON_ZERO" - | "VALIDATE_NON_NEGATIVE" - | "VALIDATE_NUMERIC" - | "NO_OP"; +export type ZendeskConnectorOperator = "PROJECTION" | "GREATER_THAN" | "ADDITION" | "MULTIPLICATION" | "DIVISION" | "SUBTRACTION" | "MASK_ALL" | "MASK_FIRST_N" | "MASK_LAST_N" | "VALIDATE_NON_NULL" | "VALIDATE_NON_ZERO" | "VALIDATE_NON_NEGATIVE" | "VALIDATE_NUMERIC" | "NO_OP"; export interface ZendeskSourceProperties { Object: string; } @@ -4175,10 +3475,5 @@ export declare namespace UpdateProfile { | CommonAwsError; } -export type CustomerProfilesErrors = - | AccessDeniedException - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError; +export type CustomerProfilesErrors = AccessDeniedException | BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError; + diff --git a/src/services/data-pipeline/index.ts b/src/services/data-pipeline/index.ts index 1d62171e..2c44d966 100644 --- a/src/services/data-pipeline/index.ts +++ b/src/services/data-pipeline/index.ts @@ -5,26 +5,7 @@ import type { DataPipeline as _DataPipelineClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/data-pipeline/types.ts b/src/services/data-pipeline/types.ts index fc6866c6..ae29d34d 100644 --- a/src/services/data-pipeline/types.ts +++ b/src/services/data-pipeline/types.ts @@ -7,21 +7,13 @@ export declare class DataPipeline extends AWSServiceClient { input: ActivatePipelineInput, ): Effect.Effect< ActivatePipelineOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; addTags( input: AddTagsInput, ): Effect.Effect< AddTagsOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; createPipeline( input: CreatePipelineInput, @@ -33,61 +25,37 @@ export declare class DataPipeline extends AWSServiceClient { input: DeactivatePipelineInput, ): Effect.Effect< DeactivatePipelineOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; deletePipeline( input: DeletePipelineInput, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineNotFoundException | CommonAwsError >; describeObjects( input: DescribeObjectsInput, ): Effect.Effect< DescribeObjectsOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; describePipelines( input: DescribePipelinesInput, ): Effect.Effect< DescribePipelinesOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; evaluateExpression( input: EvaluateExpressionInput, ): Effect.Effect< EvaluateExpressionOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | TaskNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | TaskNotFoundException | CommonAwsError >; getPipelineDefinition( input: GetPipelineDefinitionInput, ): Effect.Effect< GetPipelineDefinitionOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; listPipelines( input: ListPipelinesInput, @@ -99,51 +67,31 @@ export declare class DataPipeline extends AWSServiceClient { input: PollForTaskInput, ): Effect.Effect< PollForTaskOutput, - | InternalServiceError - | InvalidRequestException - | TaskNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | TaskNotFoundException | CommonAwsError >; putPipelineDefinition( input: PutPipelineDefinitionInput, ): Effect.Effect< PutPipelineDefinitionOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; queryObjects( input: QueryObjectsInput, ): Effect.Effect< QueryObjectsOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; removeTags( input: RemoveTagsInput, ): Effect.Effect< RemoveTagsOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; reportTaskProgress( input: ReportTaskProgressInput, ): Effect.Effect< ReportTaskProgressOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | TaskNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | TaskNotFoundException | CommonAwsError >; reportTaskRunnerHeartbeat( input: ReportTaskRunnerHeartbeatInput, @@ -155,32 +103,19 @@ export declare class DataPipeline extends AWSServiceClient { input: SetStatusInput, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; setTaskStatus( input: SetTaskStatusInput, ): Effect.Effect< SetTaskStatusOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | TaskNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | TaskNotFoundException | CommonAwsError >; validatePipelineDefinition( input: ValidatePipelineDefinitionInput, ): Effect.Effect< ValidatePipelineDefinitionOutput, - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | CommonAwsError + InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | CommonAwsError >; } @@ -189,12 +124,14 @@ export interface ActivatePipelineInput { parameterValues?: Array; startTimestamp?: Date | string; } -export interface ActivatePipelineOutput {} +export interface ActivatePipelineOutput { +} export interface AddTagsInput { pipelineId: string; tags: Array; } -export interface AddTagsOutput {} +export interface AddTagsOutput { +} export type attributeNameString = string; export type attributeValueString = string; @@ -216,7 +153,8 @@ export interface DeactivatePipelineInput { pipelineId: string; cancelActive?: boolean; } -export interface DeactivatePipelineOutput {} +export interface DeactivatePipelineOutput { +} export interface DeletePipelineInput { pipelineId: string; } @@ -383,7 +321,8 @@ export interface RemoveTagsInput { pipelineId: string; tagKeys: Array; } -export interface RemoveTagsOutput {} +export interface RemoveTagsOutput { +} export interface ReportTaskProgressInput { taskId: string; fields?: Array; @@ -416,7 +355,8 @@ export interface SetTaskStatusInput { errorMessage?: string; errorStackTrace?: string; } -export interface SetTaskStatusOutput {} +export interface SetTaskStatusOutput { +} export type DataPipelinestring = string; export type stringList = Array; @@ -673,10 +613,5 @@ export declare namespace ValidatePipelineDefinition { | CommonAwsError; } -export type DataPipelineErrors = - | InternalServiceError - | InvalidRequestException - | PipelineDeletedException - | PipelineNotFoundException - | TaskNotFoundException - | CommonAwsError; +export type DataPipelineErrors = InternalServiceError | InvalidRequestException | PipelineDeletedException | PipelineNotFoundException | TaskNotFoundException | CommonAwsError; + diff --git a/src/services/database-migration-service/index.ts b/src/services/database-migration-service/index.ts index 3250510b..014d2051 100644 --- a/src/services/database-migration-service/index.ts +++ b/src/services/database-migration-service/index.ts @@ -5,26 +5,7 @@ import type { DatabaseMigrationService as _DatabaseMigrationServiceClient } from export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/database-migration-service/types.ts b/src/services/database-migration-service/types.ts index c9436894..956f6e17 100644 --- a/src/services/database-migration-service/types.ts +++ b/src/services/database-migration-service/types.ts @@ -19,162 +19,79 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: BatchStartRecommendationsRequest, ): Effect.Effect< BatchStartRecommendationsResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; cancelReplicationTaskAssessmentRun( input: CancelReplicationTaskAssessmentRunMessage, ): Effect.Effect< CancelReplicationTaskAssessmentRunResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; createDataMigration( input: CreateDataMigrationMessage, ): Effect.Effect< CreateDataMigrationResponse, - | FailedDependencyFault - | InvalidOperationFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | CommonAwsError + FailedDependencyFault | InvalidOperationFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | CommonAwsError >; createDataProvider( input: CreateDataProviderMessage, ): Effect.Effect< CreateDataProviderResponse, - | AccessDeniedFault - | FailedDependencyFault - | ResourceAlreadyExistsFault - | ResourceQuotaExceededFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | ResourceAlreadyExistsFault | ResourceQuotaExceededFault | CommonAwsError >; createEndpoint( input: CreateEndpointMessage, ): Effect.Effect< CreateEndpointResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | CommonAwsError >; createEventSubscription( input: CreateEventSubscriptionMessage, ): Effect.Effect< CreateEventSubscriptionResponse, - | KMSAccessDeniedFault - | KMSDisabledFault - | KMSInvalidStateFault - | KMSNotFoundFault - | KMSThrottlingFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | CommonAwsError + KMSAccessDeniedFault | KMSDisabledFault | KMSInvalidStateFault | KMSNotFoundFault | KMSThrottlingFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | CommonAwsError >; createFleetAdvisorCollector( input: CreateFleetAdvisorCollectorRequest, ): Effect.Effect< CreateFleetAdvisorCollectorResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; createInstanceProfile( input: CreateInstanceProfileMessage, ): Effect.Effect< CreateInstanceProfileResponse, - | AccessDeniedFault - | FailedDependencyFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; createMigrationProject( input: CreateMigrationProjectMessage, ): Effect.Effect< CreateMigrationProjectResponse, - | AccessDeniedFault - | FailedDependencyFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; createReplicationConfig( input: CreateReplicationConfigMessage, ): Effect.Effect< CreateReplicationConfigResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | InvalidSubnet - | KMSKeyNotAccessibleFault - | ReplicationSubnetGroupDoesNotCoverEnoughAZs - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | InvalidSubnet | KMSKeyNotAccessibleFault | ReplicationSubnetGroupDoesNotCoverEnoughAZs | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | CommonAwsError >; createReplicationInstance( input: CreateReplicationInstanceMessage, ): Effect.Effect< CreateReplicationInstanceResponse, - | AccessDeniedFault - | InsufficientResourceCapacityFault - | InvalidResourceStateFault - | InvalidSubnet - | KMSKeyNotAccessibleFault - | ReplicationSubnetGroupDoesNotCoverEnoughAZs - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | StorageQuotaExceededFault - | CommonAwsError + AccessDeniedFault | InsufficientResourceCapacityFault | InvalidResourceStateFault | InvalidSubnet | KMSKeyNotAccessibleFault | ReplicationSubnetGroupDoesNotCoverEnoughAZs | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | StorageQuotaExceededFault | CommonAwsError >; createReplicationSubnetGroup( input: CreateReplicationSubnetGroupMessage, ): Effect.Effect< CreateReplicationSubnetGroupResponse, - | AccessDeniedFault - | InvalidSubnet - | ReplicationSubnetGroupDoesNotCoverEnoughAZs - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | CommonAwsError + AccessDeniedFault | InvalidSubnet | ReplicationSubnetGroupDoesNotCoverEnoughAZs | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | CommonAwsError >; createReplicationTask( input: CreateReplicationTaskMessage, ): Effect.Effect< CreateReplicationTaskResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | CommonAwsError >; deleteCertificate( input: DeleteCertificateMessage, @@ -186,29 +103,19 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: DeleteConnectionMessage, ): Effect.Effect< DeleteConnectionResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; deleteDataMigration( input: DeleteDataMigrationMessage, ): Effect.Effect< DeleteDataMigrationResponse, - | FailedDependencyFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + FailedDependencyFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; deleteDataProvider( input: DeleteDataProviderMessage, ): Effect.Effect< DeleteDataProviderResponse, - | AccessDeniedFault - | FailedDependencyFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; deleteEndpoint( input: DeleteEndpointMessage, @@ -220,57 +127,37 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: DeleteEventSubscriptionMessage, ): Effect.Effect< DeleteEventSubscriptionResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; deleteFleetAdvisorCollector( input: DeleteCollectorRequest, ): Effect.Effect< {}, - | AccessDeniedFault - | CollectorNotFoundFault - | InvalidResourceStateFault - | CommonAwsError + AccessDeniedFault | CollectorNotFoundFault | InvalidResourceStateFault | CommonAwsError >; deleteFleetAdvisorDatabases( input: DeleteFleetAdvisorDatabasesRequest, ): Effect.Effect< DeleteFleetAdvisorDatabasesResponse, - | AccessDeniedFault - | InvalidOperationFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidOperationFault | ResourceNotFoundFault | CommonAwsError >; deleteInstanceProfile( input: DeleteInstanceProfileMessage, ): Effect.Effect< DeleteInstanceProfileResponse, - | AccessDeniedFault - | FailedDependencyFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; deleteMigrationProject( input: DeleteMigrationProjectMessage, ): Effect.Effect< DeleteMigrationProjectResponse, - | AccessDeniedFault - | FailedDependencyFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; deleteReplicationConfig( input: DeleteReplicationConfigMessage, ): Effect.Effect< DeleteReplicationConfigResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; deleteReplicationInstance( input: DeleteReplicationInstanceMessage, @@ -282,10 +169,7 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: DeleteReplicationSubnetGroupMessage, ): Effect.Effect< DeleteReplicationSubnetGroupResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; deleteReplicationTask( input: DeleteReplicationTaskMessage, @@ -297,22 +181,19 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: DeleteReplicationTaskAssessmentRunMessage, ): Effect.Effect< DeleteReplicationTaskAssessmentRunResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; describeAccountAttributes( input: DescribeAccountAttributesMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeAccountAttributesResponse, + CommonAwsError + >; describeApplicableIndividualAssessments( input: DescribeApplicableIndividualAssessmentsMessage, ): Effect.Effect< DescribeApplicableIndividualAssessmentsResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; describeCertificates( input: DescribeCertificatesMessage, @@ -336,19 +217,13 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: DescribeDataMigrationsMessage, ): Effect.Effect< DescribeDataMigrationsResponse, - | FailedDependencyFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + FailedDependencyFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; describeDataProviders( input: DescribeDataProvidersMessage, ): Effect.Effect< DescribeDataProvidersResponse, - | AccessDeniedFault - | FailedDependencyFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | ResourceNotFoundFault | CommonAwsError >; describeEndpoints( input: DescribeEndpointsMessage, @@ -358,19 +233,34 @@ export declare class DatabaseMigrationService extends AWSServiceClient { >; describeEndpointSettings( input: DescribeEndpointSettingsMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeEndpointSettingsResponse, + CommonAwsError + >; describeEndpointTypes( input: DescribeEndpointTypesMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeEndpointTypesResponse, + CommonAwsError + >; describeEngineVersions( input: DescribeEngineVersionsMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeEngineVersionsResponse, + CommonAwsError + >; describeEventCategories( input: DescribeEventCategoriesMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeEventCategoriesResponse, + CommonAwsError + >; describeEvents( input: DescribeEventsMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeEventsResponse, + CommonAwsError + >; describeEventSubscriptions( input: DescribeEventSubscriptionsMessage, ): Effect.Effect< @@ -379,7 +269,10 @@ export declare class DatabaseMigrationService extends AWSServiceClient { >; describeExtensionPackAssociations( input: DescribeExtensionPackAssociationsMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeExtensionPackAssociationsResponse, + CommonAwsError + >; describeFleetAdvisorCollectors( input: DescribeFleetAdvisorCollectorsRequest, ): Effect.Effect< @@ -414,10 +307,7 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: DescribeInstanceProfilesMessage, ): Effect.Effect< DescribeInstanceProfilesResponse, - | AccessDeniedFault - | FailedDependencyFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | ResourceNotFoundFault | CommonAwsError >; describeMetadataModelAssessments( input: DescribeMetadataModelAssessmentsMessage, @@ -453,10 +343,7 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: DescribeMigrationProjectsMessage, ): Effect.Effect< DescribeMigrationProjectsResponse, - | AccessDeniedFault - | FailedDependencyFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | ResourceNotFoundFault | CommonAwsError >; describeOrderableReplicationInstances( input: DescribeOrderableReplicationInstancesMessage, @@ -558,10 +445,7 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: DescribeTableStatisticsMessage, ): Effect.Effect< DescribeTableStatisticsResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; exportMetadataModelAssessment( input: ExportMetadataModelAssessmentMessage, @@ -573,10 +457,7 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: ImportCertificateMessage, ): Effect.Effect< ImportCertificateResponse, - | InvalidCertificateFault - | ResourceAlreadyExistsFault - | ResourceQuotaExceededFault - | CommonAwsError + InvalidCertificateFault | ResourceAlreadyExistsFault | ResourceQuotaExceededFault | CommonAwsError >; listTagsForResource( input: ListTagsForResourceMessage, @@ -594,130 +475,67 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: ModifyDataMigrationMessage, ): Effect.Effect< ModifyDataMigrationResponse, - | FailedDependencyFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + FailedDependencyFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; modifyDataProvider( input: ModifyDataProviderMessage, ): Effect.Effect< ModifyDataProviderResponse, - | AccessDeniedFault - | FailedDependencyFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; modifyEndpoint( input: ModifyEndpointMessage, ): Effect.Effect< ModifyEndpointResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | CommonAwsError >; modifyEventSubscription( input: ModifyEventSubscriptionMessage, ): Effect.Effect< ModifyEventSubscriptionResponse, - | AccessDeniedFault - | KMSAccessDeniedFault - | KMSDisabledFault - | KMSInvalidStateFault - | KMSNotFoundFault - | KMSThrottlingFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | CommonAwsError + AccessDeniedFault | KMSAccessDeniedFault | KMSDisabledFault | KMSInvalidStateFault | KMSNotFoundFault | KMSThrottlingFault | ResourceNotFoundFault | ResourceQuotaExceededFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | CommonAwsError >; modifyInstanceProfile( input: ModifyInstanceProfileMessage, ): Effect.Effect< ModifyInstanceProfileResponse, - | AccessDeniedFault - | FailedDependencyFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceNotFoundFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceNotFoundFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; modifyMigrationProject( input: ModifyMigrationProjectMessage, ): Effect.Effect< ModifyMigrationProjectResponse, - | AccessDeniedFault - | FailedDependencyFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | FailedDependencyFault | InvalidResourceStateFault | ResourceNotFoundFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; modifyReplicationConfig( input: ModifyReplicationConfigMessage, ): Effect.Effect< ModifyReplicationConfigResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | InvalidSubnet - | KMSKeyNotAccessibleFault - | ReplicationSubnetGroupDoesNotCoverEnoughAZs - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | InvalidSubnet | KMSKeyNotAccessibleFault | ReplicationSubnetGroupDoesNotCoverEnoughAZs | ResourceNotFoundFault | CommonAwsError >; modifyReplicationInstance( input: ModifyReplicationInstanceMessage, ): Effect.Effect< ModifyReplicationInstanceResponse, - | AccessDeniedFault - | InsufficientResourceCapacityFault - | InvalidResourceStateFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | StorageQuotaExceededFault - | UpgradeDependencyFailureFault - | CommonAwsError + AccessDeniedFault | InsufficientResourceCapacityFault | InvalidResourceStateFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | StorageQuotaExceededFault | UpgradeDependencyFailureFault | CommonAwsError >; modifyReplicationSubnetGroup( input: ModifyReplicationSubnetGroupMessage, ): Effect.Effect< ModifyReplicationSubnetGroupResponse, - | AccessDeniedFault - | InvalidSubnet - | ReplicationSubnetGroupDoesNotCoverEnoughAZs - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | SubnetAlreadyInUse - | CommonAwsError + AccessDeniedFault | InvalidSubnet | ReplicationSubnetGroupDoesNotCoverEnoughAZs | ResourceNotFoundFault | ResourceQuotaExceededFault | SubnetAlreadyInUse | CommonAwsError >; modifyReplicationTask( input: ModifyReplicationTaskMessage, ): Effect.Effect< ModifyReplicationTaskResponse, - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | CommonAwsError + InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | CommonAwsError >; moveReplicationTask( input: MoveReplicationTaskMessage, ): Effect.Effect< MoveReplicationTaskResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceNotFoundFault | ResourceQuotaExceededFault | CommonAwsError >; rebootReplicationInstance( input: RebootReplicationInstanceMessage, @@ -729,11 +547,7 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: RefreshSchemasMessage, ): Effect.Effect< RefreshSchemasResponse, - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | CommonAwsError + InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceNotFoundFault | ResourceQuotaExceededFault | CommonAwsError >; reloadReplicationTables( input: ReloadReplicationTablesMessage, @@ -753,7 +567,9 @@ export declare class DatabaseMigrationService extends AWSServiceClient { RemoveTagsFromResourceResponse, InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; - runFleetAdvisorLsaAnalysis(input: {}): Effect.Effect< + runFleetAdvisorLsaAnalysis( + input: {}, + ): Effect.Effect< RunFleetAdvisorLsaAnalysisResponse, InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; @@ -761,123 +577,61 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: StartDataMigrationMessage, ): Effect.Effect< StartDataMigrationResponse, - | FailedDependencyFault - | InvalidOperationFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | CommonAwsError + FailedDependencyFault | InvalidOperationFault | InvalidResourceStateFault | ResourceNotFoundFault | ResourceQuotaExceededFault | CommonAwsError >; startExtensionPackAssociation( input: StartExtensionPackAssociationMessage, ): Effect.Effect< StartExtensionPackAssociationResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; startMetadataModelAssessment( input: StartMetadataModelAssessmentMessage, ): Effect.Effect< StartMetadataModelAssessmentResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; startMetadataModelConversion( input: StartMetadataModelConversionMessage, ): Effect.Effect< StartMetadataModelConversionResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; startMetadataModelExportAsScript( input: StartMetadataModelExportAsScriptMessage, ): Effect.Effect< StartMetadataModelExportAsScriptResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; startMetadataModelExportToTarget( input: StartMetadataModelExportToTargetMessage, ): Effect.Effect< StartMetadataModelExportToTargetResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; startMetadataModelImport( input: StartMetadataModelImportMessage, ): Effect.Effect< StartMetadataModelImportResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; startRecommendations( input: StartRecommendationsRequest, ): Effect.Effect< {}, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; startReplication( input: StartReplicationMessage, ): Effect.Effect< StartReplicationResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; startReplicationTask( input: StartReplicationTaskMessage, ): Effect.Effect< StartReplicationTaskResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; startReplicationTaskAssessment( input: StartReplicationTaskAssessmentMessage, @@ -889,37 +643,19 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: StartReplicationTaskAssessmentRunMessage, ): Effect.Effect< StartReplicationTaskAssessmentRunResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSAccessDeniedFault - | KMSDisabledFault - | KMSFault - | KMSInvalidStateFault - | KMSKeyNotAccessibleFault - | KMSNotFoundFault - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSAccessDeniedFault | KMSDisabledFault | KMSFault | KMSInvalidStateFault | KMSKeyNotAccessibleFault | KMSNotFoundFault | ResourceAlreadyExistsFault | ResourceNotFoundFault | S3AccessDeniedFault | S3ResourceNotFoundFault | CommonAwsError >; stopDataMigration( input: StopDataMigrationMessage, ): Effect.Effect< StopDataMigrationResponse, - | FailedDependencyFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + FailedDependencyFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; stopReplication( input: StopReplicationMessage, ): Effect.Effect< StopReplicationResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | ResourceNotFoundFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | ResourceNotFoundFault | CommonAwsError >; stopReplicationTask( input: StopReplicationTaskMessage, @@ -931,12 +667,7 @@ export declare class DatabaseMigrationService extends AWSServiceClient { input: TestConnectionMessage, ): Effect.Effect< TestConnectionResponse, - | AccessDeniedFault - | InvalidResourceStateFault - | KMSKeyNotAccessibleFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | CommonAwsError + AccessDeniedFault | InvalidResourceStateFault | KMSKeyNotAccessibleFault | ResourceNotFoundFault | ResourceQuotaExceededFault | CommonAwsError >; updateSubscriptionsToEventBridge( input: UpdateSubscriptionsToEventBridgeMessage, @@ -961,7 +692,8 @@ export interface AddTagsToResourceMessage { ResourceArn: string; Tags: Array; } -export interface AddTagsToResourceResponse {} +export interface AddTagsToResourceResponse { +} export interface ApplyPendingMaintenanceActionMessage { ReplicationInstanceArn: string; ApplyAction: string; @@ -985,8 +717,7 @@ export interface BatchStartRecommendationsErrorEntry { Message?: string; Code?: string; } -export type BatchStartRecommendationsErrorEntryList = - Array; +export type BatchStartRecommendationsErrorEntryList = Array; export interface BatchStartRecommendationsRequest { Data?: Array; } @@ -1003,15 +734,7 @@ export interface CancelReplicationTaskAssessmentRunMessage { export interface CancelReplicationTaskAssessmentRunResponse { ReplicationTaskAssessmentRun?: ReplicationTaskAssessmentRun; } -export type CannedAclForObjectsValue = - | "none" - | "private" - | "public-read" - | "public-read-write" - | "authenticated-read" - | "aws-exec-read" - | "bucket-owner-read" - | "bucket-owner-full-control"; +export type CannedAclForObjectsValue = "none" | "private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"; export interface Certificate { CertificateIdentifier?: string; CertificateCreationDate?: Date | string; @@ -1348,8 +1071,7 @@ export interface DataProviderDescriptorDefinition { SecretsManagerSecretId?: string; SecretsManagerAccessRoleArn?: string; } -export type DataProviderDescriptorDefinitionList = - Array; +export type DataProviderDescriptorDefinitionList = Array; export type DataProviderDescriptorList = Array; export type DataProviderList = Array; interface _DataProviderSettings { @@ -1365,36 +1087,9 @@ interface _DataProviderSettings { MongoDbSettings?: MongoDbDataProviderSettings; } -export type DataProviderSettings = - | (_DataProviderSettings & { RedshiftSettings: RedshiftDataProviderSettings }) - | (_DataProviderSettings & { - PostgreSqlSettings: PostgreSqlDataProviderSettings; - }) - | (_DataProviderSettings & { MySqlSettings: MySqlDataProviderSettings }) - | (_DataProviderSettings & { OracleSettings: OracleDataProviderSettings }) - | (_DataProviderSettings & { - MicrosoftSqlServerSettings: MicrosoftSqlServerDataProviderSettings; - }) - | (_DataProviderSettings & { DocDbSettings: DocDbDataProviderSettings }) - | (_DataProviderSettings & { MariaDbSettings: MariaDbDataProviderSettings }) - | (_DataProviderSettings & { - IbmDb2LuwSettings: IbmDb2LuwDataProviderSettings; - }) - | (_DataProviderSettings & { - IbmDb2zOsSettings: IbmDb2zOsDataProviderSettings; - }) - | (_DataProviderSettings & { MongoDbSettings: MongoDbDataProviderSettings }); -export type DatePartitionDelimiterValue = - | "SLASH" - | "UNDERSCORE" - | "DASH" - | "NONE"; -export type DatePartitionSequenceValue = - | "YYYYMMDD" - | "YYYYMMDDHH" - | "YYYYMM" - | "MMYYYYDD" - | "DDMMYYYY"; +export type DataProviderSettings = (_DataProviderSettings & { RedshiftSettings: RedshiftDataProviderSettings }) | (_DataProviderSettings & { PostgreSqlSettings: PostgreSqlDataProviderSettings }) | (_DataProviderSettings & { MySqlSettings: MySqlDataProviderSettings }) | (_DataProviderSettings & { OracleSettings: OracleDataProviderSettings }) | (_DataProviderSettings & { MicrosoftSqlServerSettings: MicrosoftSqlServerDataProviderSettings }) | (_DataProviderSettings & { DocDbSettings: DocDbDataProviderSettings }) | (_DataProviderSettings & { MariaDbSettings: MariaDbDataProviderSettings }) | (_DataProviderSettings & { IbmDb2LuwSettings: IbmDb2LuwDataProviderSettings }) | (_DataProviderSettings & { IbmDb2zOsSettings: IbmDb2zOsDataProviderSettings }) | (_DataProviderSettings & { MongoDbSettings: MongoDbDataProviderSettings }); +export type DatePartitionDelimiterValue = "SLASH" | "UNDERSCORE" | "DASH" | "NONE"; +export type DatePartitionSequenceValue = "YYYYMMDD" | "YYYYMMDDHH" | "YYYYMM" | "MMYYYYDD" | "DDMMYYYY"; export interface DefaultErrorDetails { Message?: string; } @@ -1471,7 +1166,8 @@ export interface DeleteReplicationInstanceResponse { export interface DeleteReplicationSubnetGroupMessage { ReplicationSubnetGroupIdentifier: string; } -export interface DeleteReplicationSubnetGroupResponse {} +export interface DeleteReplicationSubnetGroupResponse { +} export interface DeleteReplicationTaskAssessmentRunMessage { ReplicationTaskAssessmentRunArn: string; } @@ -1484,7 +1180,8 @@ export interface DeleteReplicationTaskMessage { export interface DeleteReplicationTaskResponse { ReplicationTask?: ReplicationTask; } -export interface DescribeAccountAttributesMessage {} +export interface DescribeAccountAttributesMessage { +} export interface DescribeAccountAttributesResponse { AccountQuotas?: Array; UniqueAccountIdentifier?: string; @@ -1987,11 +1684,7 @@ export interface EndpointSetting { } export type EndpointSettingEnumValues = Array; export type EndpointSettingsList = Array; -export type EndpointSettingTypeValue = - | "string" - | "boolean" - | "integer" - | "enum"; +export type EndpointSettingTypeValue = "string" | "boolean" | "integer" | "enum"; export interface EngineVersion { Version?: string; Lifecycle?: string; @@ -2007,9 +1700,7 @@ interface _ErrorDetails { defaultErrorDetails?: DefaultErrorDetails; } -export type ErrorDetails = _ErrorDetails & { - defaultErrorDetails: DefaultErrorDetails; -}; +export type ErrorDetails = (_ErrorDetails & { defaultErrorDetails: DefaultErrorDetails }); export interface Event { SourceIdentifier?: string; SourceType?: SourceType; @@ -2072,11 +1763,9 @@ export interface FleetAdvisorLsaAnalysisResponse { LsaAnalysisId?: string; Status?: string; } -export type FleetAdvisorLsaAnalysisResponseList = - Array; +export type FleetAdvisorLsaAnalysisResponseList = Array; export type FleetAdvisorSchemaList = Array; -export type FleetAdvisorSchemaObjectList = - Array; +export type FleetAdvisorSchemaObjectList = Array; export interface FleetAdvisorSchemaObjectResponse { SchemaId?: string; ObjectType?: string; @@ -2195,11 +1884,7 @@ export interface InventoryData { export type Iso8601DateTime = Date | string; export type KafkaSaslMechanism = "scram-sha-512" | "plain"; -export type KafkaSecurityProtocol = - | "plaintext" - | "ssl-authentication" - | "ssl-encryption" - | "sasl-ssl"; +export type KafkaSecurityProtocol = "plaintext" | "ssl-authentication" | "ssl-encryption" | "sasl-ssl"; export interface KafkaSettings { Broker?: string; Topic?: string; @@ -2253,7 +1938,9 @@ export declare class KMSDisabledFault extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export declare class KMSFault extends EffectData.TaggedError("KMSFault")<{ +export declare class KMSFault extends EffectData.TaggedError( + "KMSFault", +)<{ readonly message?: string; }> {} export declare class KMSInvalidStateFault extends EffectData.TaggedError( @@ -2661,8 +2348,7 @@ export interface OrderableReplicationInstance { AvailabilityZones?: Array; ReleaseStatus?: ReleaseStatusValues; } -export type OrderableReplicationInstanceList = - Array; +export type OrderableReplicationInstanceList = Array; export type OriginTypeValue = "SOURCE" | "TARGET"; export type ParquetVersionValue = "parquet-1-0" | "parquet-2-0"; export interface PendingMaintenanceAction { @@ -2674,8 +2360,7 @@ export interface PendingMaintenanceAction { Description?: string; } export type PendingMaintenanceActionDetails = Array; -export type PendingMaintenanceActions = - Array; +export type PendingMaintenanceActions = Array; export type PluginNameValue = "no-preference" | "test-decoding" | "pglogical"; export type PostgreSQLAuthenticationMethod = "password" | "iam"; export interface PostgreSqlDataProviderSettings { @@ -2729,8 +2414,7 @@ export interface PremigrationAssessmentStatus { ResultKmsKeyArn?: string; ResultStatistic?: ReplicationTaskAssessmentRunResultStatistic; } -export type PremigrationAssessmentStatusList = - Array; +export type PremigrationAssessmentStatusList = Array; export interface ProvisionData { ProvisionState?: string; ProvisionedCapacityUnits?: number; @@ -2853,10 +2537,7 @@ export interface RefreshSchemasStatus { LastRefreshDate?: Date | string; LastFailureMessage?: string; } -export type RefreshSchemasStatusTypeValue = - | "successful" - | "failed" - | "refreshing"; +export type RefreshSchemasStatusTypeValue = "successful" | "failed" | "refreshing"; export type ReleaseStatusValues = "beta" | "prod"; export type ReloadOptionValue = "data-reload" | "validate-only"; export interface ReloadReplicationTablesMessage { @@ -2879,7 +2560,8 @@ export interface RemoveTagsFromResourceMessage { ResourceArn: string; TagKeys: Array; } -export interface RemoveTagsFromResourceResponse {} +export interface RemoveTagsFromResourceResponse { +} export interface Replication { ReplicationConfigIdentifier?: string; ReplicationConfigArn?: string; @@ -3023,8 +2705,7 @@ export interface ReplicationTaskAssessmentResult { AssessmentResults?: string; S3ObjectUrl?: string; } -export type ReplicationTaskAssessmentResultList = - Array; +export type ReplicationTaskAssessmentResultList = Array; export interface ReplicationTaskAssessmentRun { ReplicationTaskAssessmentRunArn?: string; ReplicationTaskArn?: string; @@ -3041,8 +2722,7 @@ export interface ReplicationTaskAssessmentRun { IsLatestTaskAssessmentRun?: boolean; ResultStatistic?: ReplicationTaskAssessmentRunResultStatistic; } -export type ReplicationTaskAssessmentRunList = - Array; +export type ReplicationTaskAssessmentRunList = Array; export interface ReplicationTaskAssessmentRunProgress { IndividualAssessmentCount?: number; IndividualAssessmentCompletedCount?: number; @@ -3062,8 +2742,7 @@ export interface ReplicationTaskIndividualAssessment { Status?: string; ReplicationTaskIndividualAssessmentStartDate?: Date | string; } -export type ReplicationTaskIndividualAssessmentList = - Array; +export type ReplicationTaskIndividualAssessmentList = Array; export type ReplicationTaskList = Array; export interface ReplicationTaskStats { FullLoadProgressPercent?: number; @@ -3157,10 +2836,7 @@ export interface S3Settings { ExpectedBucketOwner?: string; GlueCatalogGeneration?: boolean; } -export type SafeguardPolicy = - | "rely-on-sql-server-replication-agent" - | "exclusive-automatic-truncation" - | "shared-automatic-truncation"; +export type SafeguardPolicy = "rely-on-sql-server-replication-agent" | "exclusive-automatic-truncation" | "shared-automatic-truncation"; export interface SCApplicationAttributes { S3BucketPath?: string; S3BucketRoleArn?: string; @@ -3281,8 +2957,7 @@ export interface StartRecommendationsRequestEntry { DatabaseId: string; Settings: RecommendationSettings; } -export type StartRecommendationsRequestEntryList = - Array; +export type StartRecommendationsRequestEntryList = Array; export interface StartReplicationMessage { ReplicationConfigArn: string; StartReplicationType: string; @@ -3291,10 +2966,7 @@ export interface StartReplicationMessage { CdcStartPosition?: string; CdcStopPosition?: string; } -export type StartReplicationMigrationTypeValue = - | "reload-target" - | "resume-processing" - | "start-replication"; +export type StartReplicationMigrationTypeValue = "reload-target" | "resume-processing" | "start-replication"; export interface StartReplicationResponse { Replication?: Replication; } @@ -3329,10 +3001,7 @@ export interface StartReplicationTaskMessage { export interface StartReplicationTaskResponse { ReplicationTask?: ReplicationTask; } -export type StartReplicationTaskTypeValue = - | "start-replication" - | "resume-processing" - | "reload-target"; +export type StartReplicationTaskTypeValue = "start-replication" | "resume-processing" | "reload-target"; export interface StopDataMigrationMessage { DataMigrationIdentifier: string; } @@ -3389,10 +3058,7 @@ export interface SybaseSettings { SecretsManagerSecretId?: string; } export type TableListToReload = Array; -export type TablePreparationMode = - | "do-nothing" - | "truncate" - | "drop-tables-on-target"; +export type TablePreparationMode = "do-nothing" | "truncate" | "drop-tables-on-target"; export interface TableStatistics { SchemaName?: string; TableName?: string; @@ -3453,11 +3119,7 @@ export interface TimestreamSettings { CdcInsertsAndUpdates?: boolean; EnableMagneticStoreWrites?: boolean; } -export type TlogAccessMode = - | "BackupOnly" - | "PreferBackup" - | "PreferTlog" - | "TlogOnly"; +export type TlogAccessMode = "BackupOnly" | "PreferBackup" | "PreferTlog" | "TlogOnly"; export type TStamp = Date | string; export interface UpdateSubscriptionsToEventBridgeMessage { @@ -3490,7 +3152,9 @@ export declare namespace AddTagsToResource { export declare namespace ApplyPendingMaintenanceAction { export type Input = ApplyPendingMaintenanceActionMessage; export type Output = ApplyPendingMaintenanceActionResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace BatchStartRecommendations { @@ -3819,7 +3483,8 @@ export declare namespace DeleteReplicationTaskAssessmentRun { export declare namespace DescribeAccountAttributes { export type Input = DescribeAccountAttributesMessage; export type Output = DescribeAccountAttributesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeApplicableIndividualAssessments { @@ -3835,19 +3500,25 @@ export declare namespace DescribeApplicableIndividualAssessments { export declare namespace DescribeCertificates { export type Input = DescribeCertificatesMessage; export type Output = DescribeCertificatesResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeConnections { export type Input = DescribeConnectionsMessage; export type Output = DescribeConnectionsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeConversionConfiguration { export type Input = DescribeConversionConfigurationMessage; export type Output = DescribeConversionConfigurationResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeDataMigrations { @@ -3873,79 +3544,99 @@ export declare namespace DescribeDataProviders { export declare namespace DescribeEndpoints { export type Input = DescribeEndpointsMessage; export type Output = DescribeEndpointsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeEndpointSettings { export type Input = DescribeEndpointSettingsMessage; export type Output = DescribeEndpointSettingsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEndpointTypes { export type Input = DescribeEndpointTypesMessage; export type Output = DescribeEndpointTypesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEngineVersions { export type Input = DescribeEngineVersionsMessage; export type Output = DescribeEngineVersionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventCategories { export type Input = DescribeEventCategoriesMessage; export type Output = DescribeEventCategoriesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEvents { export type Input = DescribeEventsMessage; export type Output = DescribeEventsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventSubscriptions { export type Input = DescribeEventSubscriptionsMessage; export type Output = DescribeEventSubscriptionsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeExtensionPackAssociations { export type Input = DescribeExtensionPackAssociationsMessage; export type Output = DescribeExtensionPackAssociationsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeFleetAdvisorCollectors { export type Input = DescribeFleetAdvisorCollectorsRequest; export type Output = DescribeFleetAdvisorCollectorsResponse; - export type Error = InvalidResourceStateFault | CommonAwsError; + export type Error = + | InvalidResourceStateFault + | CommonAwsError; } export declare namespace DescribeFleetAdvisorDatabases { export type Input = DescribeFleetAdvisorDatabasesRequest; export type Output = DescribeFleetAdvisorDatabasesResponse; - export type Error = InvalidResourceStateFault | CommonAwsError; + export type Error = + | InvalidResourceStateFault + | CommonAwsError; } export declare namespace DescribeFleetAdvisorLsaAnalysis { export type Input = DescribeFleetAdvisorLsaAnalysisRequest; export type Output = DescribeFleetAdvisorLsaAnalysisResponse; - export type Error = InvalidResourceStateFault | CommonAwsError; + export type Error = + | InvalidResourceStateFault + | CommonAwsError; } export declare namespace DescribeFleetAdvisorSchemaObjectSummary { export type Input = DescribeFleetAdvisorSchemaObjectSummaryRequest; export type Output = DescribeFleetAdvisorSchemaObjectSummaryResponse; - export type Error = InvalidResourceStateFault | CommonAwsError; + export type Error = + | InvalidResourceStateFault + | CommonAwsError; } export declare namespace DescribeFleetAdvisorSchemas { export type Input = DescribeFleetAdvisorSchemasRequest; export type Output = DescribeFleetAdvisorSchemasResponse; - export type Error = InvalidResourceStateFault | CommonAwsError; + export type Error = + | InvalidResourceStateFault + | CommonAwsError; } export declare namespace DescribeInstanceProfiles { @@ -3961,31 +3652,41 @@ export declare namespace DescribeInstanceProfiles { export declare namespace DescribeMetadataModelAssessments { export type Input = DescribeMetadataModelAssessmentsMessage; export type Output = DescribeMetadataModelAssessmentsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeMetadataModelConversions { export type Input = DescribeMetadataModelConversionsMessage; export type Output = DescribeMetadataModelConversionsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeMetadataModelExportsAsScript { export type Input = DescribeMetadataModelExportsAsScriptMessage; export type Output = DescribeMetadataModelExportsAsScriptResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeMetadataModelExportsToTarget { export type Input = DescribeMetadataModelExportsToTargetMessage; export type Output = DescribeMetadataModelExportsToTargetResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeMetadataModelImports { export type Input = DescribeMetadataModelImportsMessage; export type Output = DescribeMetadataModelImportsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeMigrationProjects { @@ -4001,13 +3702,16 @@ export declare namespace DescribeMigrationProjects { export declare namespace DescribeOrderableReplicationInstances { export type Input = DescribeOrderableReplicationInstancesMessage; export type Output = DescribeOrderableReplicationInstancesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribePendingMaintenanceActions { export type Input = DescribePendingMaintenanceActionsMessage; export type Output = DescribePendingMaintenanceActionsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeRecommendationLimitations { @@ -4040,13 +3744,17 @@ export declare namespace DescribeRefreshSchemasStatus { export declare namespace DescribeReplicationConfigs { export type Input = DescribeReplicationConfigsMessage; export type Output = DescribeReplicationConfigsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeReplicationInstances { export type Input = DescribeReplicationInstancesMessage; export type Output = DescribeReplicationInstancesResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeReplicationInstanceTaskLogs { @@ -4061,13 +3769,17 @@ export declare namespace DescribeReplicationInstanceTaskLogs { export declare namespace DescribeReplications { export type Input = DescribeReplicationsMessage; export type Output = DescribeReplicationsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeReplicationSubnetGroups { export type Input = DescribeReplicationSubnetGroupsMessage; export type Output = DescribeReplicationSubnetGroupsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeReplicationTableStatistics { @@ -4082,25 +3794,33 @@ export declare namespace DescribeReplicationTableStatistics { export declare namespace DescribeReplicationTaskAssessmentResults { export type Input = DescribeReplicationTaskAssessmentResultsMessage; export type Output = DescribeReplicationTaskAssessmentResultsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeReplicationTaskAssessmentRuns { export type Input = DescribeReplicationTaskAssessmentRunsMessage; export type Output = DescribeReplicationTaskAssessmentRunsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeReplicationTaskIndividualAssessments { export type Input = DescribeReplicationTaskIndividualAssessmentsMessage; export type Output = DescribeReplicationTaskIndividualAssessmentsResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeReplicationTasks { export type Input = DescribeReplicationTasksMessage; export type Output = DescribeReplicationTasksResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeSchemas { @@ -4125,7 +3845,9 @@ export declare namespace DescribeTableStatistics { export declare namespace ExportMetadataModelAssessment { export type Input = ExportMetadataModelAssessmentMessage; export type Output = ExportMetadataModelAssessmentResponse; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace ImportCertificate { @@ -4562,31 +4284,5 @@ export declare namespace UpdateSubscriptionsToEventBridge { | CommonAwsError; } -export type DatabaseMigrationServiceErrors = - | AccessDeniedFault - | CollectorNotFoundFault - | FailedDependencyFault - | InsufficientResourceCapacityFault - | InvalidCertificateFault - | InvalidOperationFault - | InvalidResourceStateFault - | InvalidSubnet - | KMSAccessDeniedFault - | KMSDisabledFault - | KMSFault - | KMSInvalidStateFault - | KMSKeyNotAccessibleFault - | KMSNotFoundFault - | KMSThrottlingFault - | ReplicationSubnetGroupDoesNotCoverEnoughAZs - | ResourceAlreadyExistsFault - | ResourceNotFoundFault - | ResourceQuotaExceededFault - | S3AccessDeniedFault - | S3ResourceNotFoundFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | StorageQuotaExceededFault - | SubnetAlreadyInUse - | UpgradeDependencyFailureFault - | CommonAwsError; +export type DatabaseMigrationServiceErrors = AccessDeniedFault | CollectorNotFoundFault | FailedDependencyFault | InsufficientResourceCapacityFault | InvalidCertificateFault | InvalidOperationFault | InvalidResourceStateFault | InvalidSubnet | KMSAccessDeniedFault | KMSDisabledFault | KMSFault | KMSInvalidStateFault | KMSKeyNotAccessibleFault | KMSNotFoundFault | KMSThrottlingFault | ReplicationSubnetGroupDoesNotCoverEnoughAZs | ResourceAlreadyExistsFault | ResourceNotFoundFault | ResourceQuotaExceededFault | S3AccessDeniedFault | S3ResourceNotFoundFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | StorageQuotaExceededFault | SubnetAlreadyInUse | UpgradeDependencyFailureFault | CommonAwsError; + diff --git a/src/services/databrew/index.ts b/src/services/databrew/index.ts index 035c5ef8..9a495b0e 100644 --- a/src/services/databrew/index.ts +++ b/src/services/databrew/index.ts @@ -5,24 +5,7 @@ import type { DataBrew as _DataBrewClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,50 +15,50 @@ const metadata = { sigV4ServiceName: "databrew", endpointPrefix: "databrew", operations: { - BatchDeleteRecipeVersion: "POST /recipes/{Name}/batchDeleteRecipeVersion", - CreateDataset: "POST /datasets", - CreateProfileJob: "POST /profileJobs", - CreateProject: "POST /projects", - CreateRecipe: "POST /recipes", - CreateRecipeJob: "POST /recipeJobs", - CreateRuleset: "POST /rulesets", - CreateSchedule: "POST /schedules", - DeleteDataset: "DELETE /datasets/{Name}", - DeleteJob: "DELETE /jobs/{Name}", - DeleteProject: "DELETE /projects/{Name}", - DeleteRecipeVersion: "DELETE /recipes/{Name}/recipeVersion/{RecipeVersion}", - DeleteRuleset: "DELETE /rulesets/{Name}", - DeleteSchedule: "DELETE /schedules/{Name}", - DescribeDataset: "GET /datasets/{Name}", - DescribeJob: "GET /jobs/{Name}", - DescribeJobRun: "GET /jobs/{Name}/jobRun/{RunId}", - DescribeProject: "GET /projects/{Name}", - DescribeRecipe: "GET /recipes/{Name}", - DescribeRuleset: "GET /rulesets/{Name}", - DescribeSchedule: "GET /schedules/{Name}", - ListDatasets: "GET /datasets", - ListJobRuns: "GET /jobs/{Name}/jobRuns", - ListJobs: "GET /jobs", - ListProjects: "GET /projects", - ListRecipes: "GET /recipes", - ListRecipeVersions: "GET /recipeVersions", - ListRulesets: "GET /rulesets", - ListSchedules: "GET /schedules", - ListTagsForResource: "GET /tags/{ResourceArn}", - PublishRecipe: "POST /recipes/{Name}/publishRecipe", - SendProjectSessionAction: "PUT /projects/{Name}/sendProjectSessionAction", - StartJobRun: "POST /jobs/{Name}/startJobRun", - StartProjectSession: "PUT /projects/{Name}/startProjectSession", - StopJobRun: "POST /jobs/{Name}/jobRun/{RunId}/stopJobRun", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateDataset: "PUT /datasets/{Name}", - UpdateProfileJob: "PUT /profileJobs/{Name}", - UpdateProject: "PUT /projects/{Name}", - UpdateRecipe: "PUT /recipes/{Name}", - UpdateRecipeJob: "PUT /recipeJobs/{Name}", - UpdateRuleset: "PUT /rulesets/{Name}", - UpdateSchedule: "PUT /schedules/{Name}", + "BatchDeleteRecipeVersion": "POST /recipes/{Name}/batchDeleteRecipeVersion", + "CreateDataset": "POST /datasets", + "CreateProfileJob": "POST /profileJobs", + "CreateProject": "POST /projects", + "CreateRecipe": "POST /recipes", + "CreateRecipeJob": "POST /recipeJobs", + "CreateRuleset": "POST /rulesets", + "CreateSchedule": "POST /schedules", + "DeleteDataset": "DELETE /datasets/{Name}", + "DeleteJob": "DELETE /jobs/{Name}", + "DeleteProject": "DELETE /projects/{Name}", + "DeleteRecipeVersion": "DELETE /recipes/{Name}/recipeVersion/{RecipeVersion}", + "DeleteRuleset": "DELETE /rulesets/{Name}", + "DeleteSchedule": "DELETE /schedules/{Name}", + "DescribeDataset": "GET /datasets/{Name}", + "DescribeJob": "GET /jobs/{Name}", + "DescribeJobRun": "GET /jobs/{Name}/jobRun/{RunId}", + "DescribeProject": "GET /projects/{Name}", + "DescribeRecipe": "GET /recipes/{Name}", + "DescribeRuleset": "GET /rulesets/{Name}", + "DescribeSchedule": "GET /schedules/{Name}", + "ListDatasets": "GET /datasets", + "ListJobRuns": "GET /jobs/{Name}/jobRuns", + "ListJobs": "GET /jobs", + "ListProjects": "GET /projects", + "ListRecipes": "GET /recipes", + "ListRecipeVersions": "GET /recipeVersions", + "ListRulesets": "GET /rulesets", + "ListSchedules": "GET /schedules", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "PublishRecipe": "POST /recipes/{Name}/publishRecipe", + "SendProjectSessionAction": "PUT /projects/{Name}/sendProjectSessionAction", + "StartJobRun": "POST /jobs/{Name}/startJobRun", + "StartProjectSession": "PUT /projects/{Name}/startProjectSession", + "StopJobRun": "POST /jobs/{Name}/jobRun/{RunId}/stopJobRun", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateDataset": "PUT /datasets/{Name}", + "UpdateProfileJob": "PUT /profileJobs/{Name}", + "UpdateProject": "PUT /projects/{Name}", + "UpdateRecipe": "PUT /recipes/{Name}", + "UpdateRecipeJob": "PUT /recipeJobs/{Name}", + "UpdateRuleset": "PUT /rulesets/{Name}", + "UpdateSchedule": "PUT /schedules/{Name}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/databrew/types.ts b/src/services/databrew/types.ts index 2dd39298..a52170c7 100644 --- a/src/services/databrew/types.ts +++ b/src/services/databrew/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class DataBrew extends AWSServiceClient { @@ -41,124 +8,79 @@ export declare class DataBrew extends AWSServiceClient { input: BatchDeleteRecipeVersionRequest, ): Effect.Effect< BatchDeleteRecipeVersionResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; createDataset( input: CreateDatasetRequest, ): Effect.Effect< CreateDatasetResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createProfileJob( input: CreateProfileJobRequest, ): Effect.Effect< CreateProfileJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createProject( input: CreateProjectRequest, ): Effect.Effect< CreateProjectResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createRecipe( input: CreateRecipeRequest, ): Effect.Effect< CreateRecipeResponse, - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createRecipeJob( input: CreateRecipeJobRequest, ): Effect.Effect< CreateRecipeJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createRuleset( input: CreateRulesetRequest, ): Effect.Effect< CreateRulesetResponse, - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createSchedule( input: CreateScheduleRequest, ): Effect.Effect< CreateScheduleResponse, - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteDataset( input: DeleteDatasetRequest, ): Effect.Effect< DeleteDatasetResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteJob( input: DeleteJobRequest, ): Effect.Effect< DeleteJobResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteProject( input: DeleteProjectRequest, ): Effect.Effect< DeleteProjectResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteRecipeVersion( input: DeleteRecipeVersionRequest, ): Effect.Effect< DeleteRecipeVersionResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteRuleset( input: DeleteRulesetRequest, ): Effect.Effect< DeleteRulesetResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteSchedule( input: DeleteScheduleRequest, @@ -210,7 +132,10 @@ export declare class DataBrew extends AWSServiceClient { >; listDatasets( input: ListDatasetsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDatasetsResponse, + ValidationException | CommonAwsError + >; listJobRuns( input: ListJobRunsRequest, ): Effect.Effect< @@ -219,13 +144,22 @@ export declare class DataBrew extends AWSServiceClient { >; listJobs( input: ListJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListJobsResponse, + ValidationException | CommonAwsError + >; listProjects( input: ListProjectsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListProjectsResponse, + ValidationException | CommonAwsError + >; listRecipes( input: ListRecipesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListRecipesResponse, + ValidationException | CommonAwsError + >; listRecipeVersions( input: ListRecipeVersionsRequest, ): Effect.Effect< @@ -240,53 +174,39 @@ export declare class DataBrew extends AWSServiceClient { >; listSchedules( input: ListSchedulesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListSchedulesResponse, + ValidationException | CommonAwsError + >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; publishRecipe( input: PublishRecipeRequest, ): Effect.Effect< PublishRecipeResponse, - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; sendProjectSessionAction( input: SendProjectSessionActionRequest, ): Effect.Effect< SendProjectSessionActionResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; startJobRun( input: StartJobRunRequest, ): Effect.Effect< StartJobRunResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; startProjectSession( input: StartProjectSessionRequest, ): Effect.Effect< StartProjectSessionResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; stopJobRun( input: StopJobRunRequest, @@ -298,37 +218,25 @@ export declare class DataBrew extends AWSServiceClient { input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateDataset( input: UpdateDatasetRequest, ): Effect.Effect< UpdateDatasetResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateProfileJob( input: UpdateProfileJobRequest, ): Effect.Effect< UpdateProfileJobResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateProject( input: UpdateProjectRequest, @@ -346,10 +254,7 @@ export declare class DataBrew extends AWSServiceClient { input: UpdateRecipeJobRequest, ): Effect.Effect< UpdateRecipeJobResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateRuleset( input: UpdateRulesetRequest, @@ -361,10 +266,7 @@ export declare class DataBrew extends AWSServiceClient { input: UpdateScheduleRequest, ): Effect.Effect< UpdateScheduleResponse, - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -420,18 +322,8 @@ export interface ColumnStatisticsConfiguration { Selectors?: Array; Statistics: StatisticsConfiguration; } -export type ColumnStatisticsConfigurationList = - Array; -export type CompressionFormat = - | "GZIP" - | "LZ4" - | "SNAPPY" - | "BZIP2" - | "DEFLATE" - | "LZO" - | "BROTLI" - | "ZSTD" - | "ZLIB"; +export type ColumnStatisticsConfigurationList = Array; +export type CompressionFormat = "GZIP" | "LZ4" | "SNAPPY" | "BZIP2" | "DEFLATE" | "LZO" | "BROTLI" | "ZSTD" | "ZLIB"; export type Condition = string; export interface ConditionExpression { @@ -906,14 +798,7 @@ export type JobRunErrorMessage = string; export type JobRunId = string; export type JobRunList = Array; -export type JobRunState = - | "STARTING" - | "RUNNING" - | "STOPPING" - | "STOPPED" - | "SUCCEEDED" - | "FAILED" - | "TIMEOUT"; +export type JobRunState = "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "SUCCEEDED" | "FAILED" | "TIMEOUT"; export interface JobSample { Mode?: SampleMode; Size?: number; @@ -1044,15 +929,7 @@ export interface Output { FormatOptions?: OutputFormatOptions; MaxOutputFiles?: number; } -export type OutputFormat = - | "CSV" - | "JSON" - | "PARQUET" - | "GLUEPARQUET" - | "AVRO" - | "ORC" - | "XML" - | "TABLEAUHYPER"; +export type OutputFormat = "CSV" | "JSON" | "PARQUET" | "GLUEPARQUET" | "AVRO" | "ORC" | "XML" | "TABLEAUHYPER"; export interface OutputFormatOptions { Csv?: CsvOutputOptions; } @@ -1244,17 +1121,7 @@ export declare class ServiceQuotaExceededException extends EffectData.TaggedErro )<{ readonly Message?: string; }> {} -export type SessionStatus = - | "ASSIGNED" - | "FAILED" - | "INITIALIZING" - | "PROVISIONING" - | "READY" - | "RECYCLING" - | "ROTATING" - | "TERMINATED" - | "TERMINATING" - | "UPDATING"; +export type SessionStatus = "ASSIGNED" | "FAILED" | "INITIALIZING" | "PROVISIONING" | "READY" | "RECYCLING" | "ROTATING" | "TERMINATED" | "TERMINATING" | "UPDATING"; export type SheetIndex = number; export type SheetIndexList = Array; @@ -1313,7 +1180,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TargetColumn = string; @@ -1323,11 +1191,7 @@ export interface Threshold { Type?: ThresholdType; Unit?: ThresholdUnit; } -export type ThresholdType = - | "GREATER_THAN_OR_EQUAL" - | "LESS_THAN_OR_EQUAL" - | "GREATER_THAN" - | "LESS_THAN"; +export type ThresholdType = "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN"; export type ThresholdUnit = "COUNT" | "PERCENTAGE"; export type ThresholdValue = number; @@ -1339,7 +1203,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDatasetRequest { Name: string; Format?: InputFormat; @@ -1649,7 +1514,9 @@ export declare namespace DescribeSchedule { export declare namespace ListDatasets { export type Input = ListDatasetsRequest; export type Output = ListDatasetsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListJobRuns { @@ -1664,25 +1531,33 @@ export declare namespace ListJobRuns { export declare namespace ListJobs { export type Input = ListJobsRequest; export type Output = ListJobsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListProjects { export type Input = ListProjectsRequest; export type Output = ListProjectsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListRecipes { export type Input = ListRecipesRequest; export type Output = ListRecipesResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListRecipeVersions { export type Input = ListRecipeVersionsRequest; export type Output = ListRecipeVersionsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListRulesets { @@ -1697,7 +1572,9 @@ export declare namespace ListRulesets { export declare namespace ListSchedules { export type Input = ListSchedulesRequest; export type Output = ListSchedulesResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListTagsForResource { @@ -1848,11 +1725,5 @@ export declare namespace UpdateSchedule { | CommonAwsError; } -export type DataBrewErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type DataBrewErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/dataexchange/index.ts b/src/services/dataexchange/index.ts index 92392b7b..c92aedd7 100644 --- a/src/services/dataexchange/index.ts +++ b/src/services/dataexchange/index.ts @@ -5,23 +5,7 @@ import type { DataExchange as _DataExchangeClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,53 +15,48 @@ const metadata = { sigV4ServiceName: "dataexchange", endpointPrefix: "dataexchange", operations: { - AcceptDataGrant: "POST /v1/data-grants/{DataGrantArn}/accept", - CancelJob: "DELETE /v1/jobs/{JobId}", - CreateDataGrant: "POST /v1/data-grants", - CreateDataSet: "POST /v1/data-sets", - CreateEventAction: "POST /v1/event-actions", - CreateJob: "POST /v1/jobs", - CreateRevision: "POST /v1/data-sets/{DataSetId}/revisions", - DeleteAsset: - "DELETE /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}", - DeleteDataGrant: "DELETE /v1/data-grants/{DataGrantId}", - DeleteDataSet: "DELETE /v1/data-sets/{DataSetId}", - DeleteEventAction: "DELETE /v1/event-actions/{EventActionId}", - DeleteRevision: "DELETE /v1/data-sets/{DataSetId}/revisions/{RevisionId}", - GetAsset: - "GET /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}", - GetDataGrant: "GET /v1/data-grants/{DataGrantId}", - GetDataSet: "GET /v1/data-sets/{DataSetId}", - GetEventAction: "GET /v1/event-actions/{EventActionId}", - GetJob: "GET /v1/jobs/{JobId}", - GetReceivedDataGrant: "GET /v1/received-data-grants/{DataGrantArn}", - GetRevision: "GET /v1/data-sets/{DataSetId}/revisions/{RevisionId}", - ListDataGrants: "GET /v1/data-grants", - ListDataSetRevisions: "GET /v1/data-sets/{DataSetId}/revisions", - ListDataSets: "GET /v1/data-sets", - ListEventActions: "GET /v1/event-actions", - ListJobs: "GET /v1/jobs", - ListReceivedDataGrants: "GET /v1/received-data-grants", - ListRevisionAssets: - "GET /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets", - ListTagsForResource: "GET /tags/{ResourceArn}", - RevokeRevision: - "POST /v1/data-sets/{DataSetId}/revisions/{RevisionId}/revoke", - SendApiAsset: { + "AcceptDataGrant": "POST /v1/data-grants/{DataGrantArn}/accept", + "CancelJob": "DELETE /v1/jobs/{JobId}", + "CreateDataGrant": "POST /v1/data-grants", + "CreateDataSet": "POST /v1/data-sets", + "CreateEventAction": "POST /v1/event-actions", + "CreateJob": "POST /v1/jobs", + "CreateRevision": "POST /v1/data-sets/{DataSetId}/revisions", + "DeleteAsset": "DELETE /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}", + "DeleteDataGrant": "DELETE /v1/data-grants/{DataGrantId}", + "DeleteDataSet": "DELETE /v1/data-sets/{DataSetId}", + "DeleteEventAction": "DELETE /v1/event-actions/{EventActionId}", + "DeleteRevision": "DELETE /v1/data-sets/{DataSetId}/revisions/{RevisionId}", + "GetAsset": "GET /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}", + "GetDataGrant": "GET /v1/data-grants/{DataGrantId}", + "GetDataSet": "GET /v1/data-sets/{DataSetId}", + "GetEventAction": "GET /v1/event-actions/{EventActionId}", + "GetJob": "GET /v1/jobs/{JobId}", + "GetReceivedDataGrant": "GET /v1/received-data-grants/{DataGrantArn}", + "GetRevision": "GET /v1/data-sets/{DataSetId}/revisions/{RevisionId}", + "ListDataGrants": "GET /v1/data-grants", + "ListDataSetRevisions": "GET /v1/data-sets/{DataSetId}/revisions", + "ListDataSets": "GET /v1/data-sets", + "ListEventActions": "GET /v1/event-actions", + "ListJobs": "GET /v1/jobs", + "ListReceivedDataGrants": "GET /v1/received-data-grants", + "ListRevisionAssets": "GET /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "RevokeRevision": "POST /v1/data-sets/{DataSetId}/revisions/{RevisionId}/revoke", + "SendApiAsset": { http: "POST /v1", traits: { - Body: "httpPayload", + "Body": "httpPayload", }, }, - SendDataSetNotification: "POST /v1/data-sets/{DataSetId}/notification", - StartJob: "PATCH /v1/jobs/{JobId}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateAsset: - "PATCH /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}", - UpdateDataSet: "PATCH /v1/data-sets/{DataSetId}", - UpdateEventAction: "PATCH /v1/event-actions/{EventActionId}", - UpdateRevision: "PATCH /v1/data-sets/{DataSetId}/revisions/{RevisionId}", + "SendDataSetNotification": "POST /v1/data-sets/{DataSetId}/notification", + "StartJob": "PATCH /v1/jobs/{JobId}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateAsset": "PATCH /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}", + "UpdateDataSet": "PATCH /v1/data-sets/{DataSetId}", + "UpdateEventAction": "PATCH /v1/event-actions/{EventActionId}", + "UpdateRevision": "PATCH /v1/data-sets/{DataSetId}/revisions/{RevisionId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/dataexchange/types.ts b/src/services/dataexchange/types.ts index 96fdec9b..108ef29d 100644 --- a/src/services/dataexchange/types.ts +++ b/src/services/dataexchange/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class DataExchange extends AWSServiceClient { @@ -40,380 +8,223 @@ export declare class DataExchange extends AWSServiceClient { input: AcceptDataGrantRequest, ): Effect.Effect< AcceptDataGrantResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelJob( input: CancelJobRequest, ): Effect.Effect< {}, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createDataGrant( input: CreateDataGrantRequest, ): Effect.Effect< CreateDataGrantResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataSet( input: CreateDataSetRequest, ): Effect.Effect< CreateDataSetResponse, - | AccessDeniedException - | InternalServerException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEventAction( input: CreateEventActionRequest, ): Effect.Effect< CreateEventActionResponse, - | AccessDeniedException - | InternalServerException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createJob( input: CreateJobRequest, ): Effect.Effect< CreateJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createRevision( input: CreateRevisionRequest, ): Effect.Effect< CreateRevisionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAsset( input: DeleteAssetRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataGrant( input: DeleteDataGrantRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataSet( input: DeleteDataSetRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEventAction( input: DeleteEventActionRequest, ): Effect.Effect< {}, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRevision( input: DeleteRevisionRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAsset( input: GetAssetRequest, ): Effect.Effect< GetAssetResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataGrant( input: GetDataGrantRequest, ): Effect.Effect< GetDataGrantResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataSet( input: GetDataSetRequest, ): Effect.Effect< GetDataSetResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEventAction( input: GetEventActionRequest, ): Effect.Effect< GetEventActionResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getJob( input: GetJobRequest, ): Effect.Effect< GetJobResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReceivedDataGrant( input: GetReceivedDataGrantRequest, ): Effect.Effect< GetReceivedDataGrantResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRevision( input: GetRevisionRequest, ): Effect.Effect< GetRevisionResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataGrants( input: ListDataGrantsRequest, ): Effect.Effect< ListDataGrantsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSetRevisions( input: ListDataSetRevisionsRequest, ): Effect.Effect< ListDataSetRevisionsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSets( input: ListDataSetsRequest, ): Effect.Effect< ListDataSetsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEventActions( input: ListEventActionsRequest, ): Effect.Effect< ListEventActionsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listJobs( input: ListJobsRequest, ): Effect.Effect< ListJobsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listReceivedDataGrants( input: ListReceivedDataGrantsRequest, ): Effect.Effect< ListReceivedDataGrantsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRevisionAssets( input: ListRevisionAssetsRequest, ): Effect.Effect< ListRevisionAssetsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTagsForResourceResponse, + CommonAwsError + >; revokeRevision( input: RevokeRevisionRequest, ): Effect.Effect< RevokeRevisionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; sendApiAsset( input: SendApiAssetRequest, ): Effect.Effect< SendApiAssetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; sendDataSetNotification( input: SendDataSetNotificationRequest, ): Effect.Effect< SendDataSetNotificationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startJob( input: StartJobRequest, ): Effect.Effect< StartJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError + >; + tagResource( + input: TagResourceRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; + untagResource( + input: UntagResourceRequest, + ): Effect.Effect< + {}, + CommonAwsError >; - tagResource(input: TagResourceRequest): Effect.Effect<{}, CommonAwsError>; - untagResource(input: UntagResourceRequest): Effect.Effect<{}, CommonAwsError>; updateAsset( input: UpdateAssetRequest, ): Effect.Effect< UpdateAssetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDataSet( input: UpdateDataSetRequest, ): Effect.Effect< UpdateDataSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEventAction( input: UpdateEventActionRequest, ): Effect.Effect< UpdateEventActionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRevision( input: UpdateRevisionRequest, ): Effect.Effect< UpdateRevisionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1082,15 +893,12 @@ export type ListOfEventActionEntry = Array; export type ListOfJobEntry = Array; export type ListOfJobError = Array; export type ListOfKmsKeysToGrant = Array; -export type ListOfLakeFormationTagPolicies = - Array; +export type ListOfLakeFormationTagPolicies = Array; export type ListOfLFPermissions = Array; export type ListOfLFTags = Array; export type ListOfLFTagValues = Array; -export type ListOfReceivedDataGrantSummariesEntry = - Array; -export type ListOfRedshiftDataShareAssetSourceEntry = - Array; +export type ListOfReceivedDataGrantSummariesEntry = Array; +export type ListOfRedshiftDataShareAssetSourceEntry = Array; export type ListOfRedshiftDataShares = Array; export type ListOfRevisionDestinationEntry = Array; export type ListOfRevisionEntry = Array; @@ -1304,7 +1112,8 @@ export interface SendDataSetNotificationRequest { Details?: NotificationDetails; Type: string; } -export interface SendDataSetNotificationResponse {} +export interface SendDataSetNotificationResponse { +} export type SenderPrincipal = string; export type ServerSideEncryptionTypes = string; @@ -1319,7 +1128,8 @@ export declare class ServiceLimitExceededException extends EffectData.TaggedErro export interface StartJobRequest { JobId: string; } -export interface StartJobResponse {} +export interface StartJobResponse { +} export type State = string; export interface TableLFTagPolicy { @@ -1730,7 +1540,8 @@ export declare namespace ListRevisionAssets { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RevokeRevision { @@ -1787,13 +1598,15 @@ export declare namespace StartJob { export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateAsset { @@ -1846,12 +1659,5 @@ export declare namespace UpdateRevision { | CommonAwsError; } -export type DataExchangeErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type DataExchangeErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/datasync/index.ts b/src/services/datasync/index.ts index 0483a330..c176d593 100644 --- a/src/services/datasync/index.ts +++ b/src/services/datasync/index.ts @@ -5,26 +5,7 @@ import type { DataSync as _DataSyncClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/datasync/types.ts b/src/services/datasync/types.ts index 1425c040..f47f177b 100644 --- a/src/services/datasync/types.ts +++ b/src/services/datasync/types.ts @@ -358,7 +358,8 @@ export type BytesPerSecond = number; export interface CancelTaskExecutionRequest { TaskExecutionArn: string; } -export interface CancelTaskExecutionResponse {} +export interface CancelTaskExecutionResponse { +} export interface CmkSecretConfig { SecretArn?: string; KmsKeyArn?: string; @@ -540,15 +541,18 @@ export interface CustomSecretConfig { export interface DeleteAgentRequest { AgentArn: string; } -export interface DeleteAgentResponse {} +export interface DeleteAgentResponse { +} export interface DeleteLocationRequest { LocationArn: string; } -export interface DeleteLocationResponse {} +export interface DeleteLocationResponse { +} export interface DeleteTaskRequest { TaskArn: string; } -export interface DeleteTaskResponse {} +export interface DeleteTaskResponse { +} export interface DescribeAgentRequest { AgentArn: string; } @@ -778,11 +782,7 @@ export type EfsSubdirectory = string; export type Endpoint = string; -export type EndpointType = - | "PUBLIC" - | "PRIVATE_LINK" - | "FIPS" - | "FIPS_PRIVATE_LINK"; +export type EndpointType = "PUBLIC" | "PRIVATE_LINK" | "FIPS" | "FIPS_PRIVATE_LINK"; export type FilterAttributeValue = string; export type FilterList = Array; @@ -831,11 +831,7 @@ export type Gid = "NONE" | "INT_VALUE" | "NAME" | "BOTH"; export type HdfsAuthenticationType = "SIMPLE" | "KERBEROS"; export type HdfsBlockSize = number; -export type HdfsDataTransferProtection = - | "DISABLED" - | "AUTHENTICATION" - | "INTEGRITY" - | "PRIVACY"; +export type HdfsDataTransferProtection = "DISABLED" | "AUTHENTICATION" | "INTEGRITY" | "PRIVACY"; export interface HdfsNameNode { Hostname: string; Port: number; @@ -843,11 +839,7 @@ export interface HdfsNameNode { export type HdfsNameNodeList = Array; export type HdfsReplicationFactor = number; -export type HdfsRpcProtection = - | "DISABLED" - | "AUTHENTICATION" - | "INTEGRITY" - | "PRIVACY"; +export type HdfsRpcProtection = "DISABLED" | "AUTHENTICATION" | "INTEGRITY" | "PRIVACY"; export type HdfsServerHostname = string; export type HdfsServerPort = number; @@ -935,10 +927,7 @@ export interface LocationFilter { Values: Array; Operator: Operator; } -export type LocationFilterName = - | "LocationUri" - | "LocationType" - | "CreationTime"; +export type LocationFilterName = "LocationUri" | "LocationType" | "CreationTime"; export type LocationFilters = Array; export type LocationList = Array; export interface LocationListEntry { @@ -991,17 +980,7 @@ export type ObjectVersionIds = "INCLUDE" | "NONE"; export interface OnPremConfig { AgentArns: Array; } -export type Operator = - | "Equals" - | "NotEquals" - | "In" - | "LessThanOrEqual" - | "LessThan" - | "GreaterThanOrEqual" - | "GreaterThan" - | "Contains" - | "NotContains" - | "BeginsWith"; +export type Operator = "Equals" | "NotEquals" | "In" | "LessThanOrEqual" | "LessThan" | "GreaterThanOrEqual" | "GreaterThan" | "Contains" | "NotContains" | "BeginsWith"; export interface Options { VerifyMode?: VerifyMode; OverwriteMode?: OverwriteMode; @@ -1077,15 +1056,7 @@ export interface S3ManifestConfig { } export type S3ObjectVersionId = string; -export type S3StorageClass = - | "STANDARD" - | "STANDARD_IA" - | "ONEZONE_IA" - | "INTELLIGENT_TIERING" - | "GLACIER" - | "DEEP_ARCHIVE" - | "OUTPOSTS" - | "GLACIER_INSTANT_RETRIEVAL"; +export type S3StorageClass = "STANDARD" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_INSTANT_RETRIEVAL"; export type S3Subdirectory = string; export type ScheduleDisabledBy = "USER" | "SERVICE"; @@ -1108,10 +1079,7 @@ export interface SmbMountOptions { } export type SmbPassword = string; -export type SmbSecurityDescriptorCopyFlags = - | "NONE" - | "OWNER_DACL" - | "OWNER_DACL_SACL"; +export type SmbSecurityDescriptorCopyFlags = "NONE" | "OWNER_DACL" | "OWNER_DACL_SACL"; export type SmbSubdirectory = string; export type SmbUser = string; @@ -1150,7 +1118,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TaskArn = string; @@ -1184,15 +1153,7 @@ export interface TaskExecutionResultDetail { ErrorCode?: string; ErrorDetail?: string; } -export type TaskExecutionStatus = - | "QUEUED" - | "CANCELLING" - | "LAUNCHING" - | "PREPARING" - | "TRANSFERRING" - | "VERIFYING" - | "SUCCESS" - | "ERROR"; +export type TaskExecutionStatus = "QUEUED" | "CANCELLING" | "LAUNCHING" | "PREPARING" | "TRANSFERRING" | "VERIFYING" | "SUCCESS" | "ERROR"; export interface TaskFilter { Name: TaskFilterName; Values: Array; @@ -1225,12 +1186,7 @@ export interface TaskScheduleDetails { DisabledReason?: string; DisabledBy?: ScheduleDisabledBy; } -export type TaskStatus = - | "AVAILABLE" - | "CREATING" - | "QUEUED" - | "RUNNING" - | "UNAVAILABLE"; +export type TaskStatus = "AVAILABLE" | "CREATING" | "QUEUED" | "RUNNING" | "UNAVAILABLE"; export type Time = Date | string; export type TransferMode = "CHANGED" | "ALL"; @@ -1239,12 +1195,14 @@ export interface UntagResourceRequest { ResourceArn: string; Keys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAgentRequest { AgentArn: string; Name?: string; } -export interface UpdateAgentResponse {} +export interface UpdateAgentResponse { +} export type UpdatedEfsAccessPointArn = string; export type UpdatedEfsIamRoleArn = string; @@ -1260,7 +1218,8 @@ export interface UpdateLocationAzureBlobRequest { CmkSecretConfig?: CmkSecretConfig; CustomSecretConfig?: CustomSecretConfig; } -export interface UpdateLocationAzureBlobResponse {} +export interface UpdateLocationAzureBlobResponse { +} export interface UpdateLocationEfsRequest { LocationArn: string; Subdirectory?: string; @@ -1268,24 +1227,28 @@ export interface UpdateLocationEfsRequest { FileSystemAccessRoleArn?: string; InTransitEncryption?: EfsInTransitEncryption; } -export interface UpdateLocationEfsResponse {} +export interface UpdateLocationEfsResponse { +} export interface UpdateLocationFsxLustreRequest { LocationArn: string; Subdirectory?: string; } -export interface UpdateLocationFsxLustreResponse {} +export interface UpdateLocationFsxLustreResponse { +} export interface UpdateLocationFsxOntapRequest { LocationArn: string; Protocol?: FsxUpdateProtocol; Subdirectory?: string; } -export interface UpdateLocationFsxOntapResponse {} +export interface UpdateLocationFsxOntapResponse { +} export interface UpdateLocationFsxOpenZfsRequest { LocationArn: string; Protocol?: FsxProtocol; Subdirectory?: string; } -export interface UpdateLocationFsxOpenZfsResponse {} +export interface UpdateLocationFsxOpenZfsResponse { +} export interface UpdateLocationFsxWindowsRequest { LocationArn: string; Subdirectory?: string; @@ -1293,7 +1256,8 @@ export interface UpdateLocationFsxWindowsRequest { User?: string; Password?: string; } -export interface UpdateLocationFsxWindowsResponse {} +export interface UpdateLocationFsxWindowsResponse { +} export interface UpdateLocationHdfsRequest { LocationArn: string; Subdirectory?: string; @@ -1309,7 +1273,8 @@ export interface UpdateLocationHdfsRequest { KerberosKrb5Conf?: Uint8Array | string; AgentArns?: Array; } -export interface UpdateLocationHdfsResponse {} +export interface UpdateLocationHdfsResponse { +} export interface UpdateLocationNfsRequest { LocationArn: string; Subdirectory?: string; @@ -1317,7 +1282,8 @@ export interface UpdateLocationNfsRequest { OnPremConfig?: OnPremConfig; MountOptions?: NfsMountOptions; } -export interface UpdateLocationNfsResponse {} +export interface UpdateLocationNfsResponse { +} export interface UpdateLocationObjectStorageRequest { LocationArn: string; ServerPort?: number; @@ -1331,14 +1297,16 @@ export interface UpdateLocationObjectStorageRequest { CmkSecretConfig?: CmkSecretConfig; CustomSecretConfig?: CustomSecretConfig; } -export interface UpdateLocationObjectStorageResponse {} +export interface UpdateLocationObjectStorageResponse { +} export interface UpdateLocationS3Request { LocationArn: string; Subdirectory?: string; S3StorageClass?: S3StorageClass; S3Config?: S3Config; } -export interface UpdateLocationS3Response {} +export interface UpdateLocationS3Response { +} export interface UpdateLocationSmbRequest { LocationArn: string; Subdirectory?: string; @@ -1354,14 +1322,16 @@ export interface UpdateLocationSmbRequest { KerberosKeytab?: Uint8Array | string; KerberosKrb5Conf?: Uint8Array | string; } -export interface UpdateLocationSmbResponse {} +export interface UpdateLocationSmbResponse { +} export type UpdateSmbDomain = string; export interface UpdateTaskExecutionRequest { TaskExecutionArn: string; Options: Options; } -export interface UpdateTaskExecutionResponse {} +export interface UpdateTaskExecutionResponse { +} export interface UpdateTaskRequest { TaskArn: string; Options?: Options; @@ -1373,11 +1343,9 @@ export interface UpdateTaskRequest { ManifestConfig?: ManifestConfig; TaskReportConfig?: TaskReportConfig; } -export interface UpdateTaskResponse {} -export type VerifyMode = - | "POINT_IN_TIME_CONSISTENT" - | "ONLY_FILES_TRANSFERRED" - | "NONE"; +export interface UpdateTaskResponse { +} +export type VerifyMode = "POINT_IN_TIME_CONSISTENT" | "ONLY_FILES_TRANSFERRED" | "NONE"; export type VpcEndpointId = string; export declare namespace CancelTaskExecution { @@ -1857,7 +1825,5 @@ export declare namespace UpdateTaskExecution { | CommonAwsError; } -export type DataSyncErrors = - | InternalException - | InvalidRequestException - | CommonAwsError; +export type DataSyncErrors = InternalException | InvalidRequestException | CommonAwsError; + diff --git a/src/services/datazone/index.ts b/src/services/datazone/index.ts index 743fd62c..2637dffb 100644 --- a/src/services/datazone/index.ts +++ b/src/services/datazone/index.ts @@ -5,23 +5,7 @@ import type { DataZone as _DataZoneClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,305 +14,190 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "datazone", operations: { - AcceptPredictions: - "PUT /v2/domains/{domainIdentifier}/assets/{identifier}/accept-predictions", - AcceptSubscriptionRequest: - "PUT /v2/domains/{domainIdentifier}/subscription-requests/{identifier}/accept", - AddEntityOwner: - "POST /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/addOwner", - AddPolicyGrant: - "POST /v2/domains/{domainIdentifier}/policies/managed/{entityType}/{entityIdentifier}/addGrant", - AssociateEnvironmentRole: - "PUT /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/roles/{environmentRoleArn}", - AssociateGovernedTerms: - "PATCH /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/associate-governed-terms", - CancelSubscription: - "PUT /v2/domains/{domainIdentifier}/subscriptions/{identifier}/cancel", - CreateAccountPool: "POST /v2/domains/{domainIdentifier}/account-pools", - CreateAssetFilter: - "POST /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters", - CreateConnection: "POST /v2/domains/{domainIdentifier}/connections", - CreateEnvironment: "POST /v2/domains/{domainIdentifier}/environments", - CreateEnvironmentAction: - "POST /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions", - CreateEnvironmentBlueprint: - "POST /v2/domains/{domainIdentifier}/environment-blueprints", - CreateEnvironmentProfile: - "POST /v2/domains/{domainIdentifier}/environment-profiles", - CreateGroupProfile: "POST /v2/domains/{domainIdentifier}/group-profiles", - CreateListingChangeSet: - "POST /v2/domains/{domainIdentifier}/listings/change-set", - CreateProject: "POST /v2/domains/{domainIdentifier}/projects", - CreateProjectMembership: - "POST /v2/domains/{domainIdentifier}/projects/{projectIdentifier}/createMembership", - CreateProjectProfile: - "POST /v2/domains/{domainIdentifier}/project-profiles", - CreateSubscriptionGrant: - "POST /v2/domains/{domainIdentifier}/subscription-grants", - CreateSubscriptionRequest: - "POST /v2/domains/{domainIdentifier}/subscription-requests", - CreateSubscriptionTarget: - "POST /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets", - CreateUserProfile: "POST /v2/domains/{domainIdentifier}/user-profiles", - DeleteAccountPool: - "DELETE /v2/domains/{domainIdentifier}/account-pools/{identifier}", - DeleteAssetFilter: - "DELETE /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters/{identifier}", - DeleteConnection: - "DELETE /v2/domains/{domainIdentifier}/connections/{identifier}", - DeleteEnvironment: - "DELETE /v2/domains/{domainIdentifier}/environments/{identifier}", - DeleteEnvironmentAction: - "DELETE /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}", - DeleteEnvironmentBlueprint: - "DELETE /v2/domains/{domainIdentifier}/environment-blueprints/{identifier}", - DeleteEnvironmentProfile: - "DELETE /v2/domains/{domainIdentifier}/environment-profiles/{identifier}", - DeleteProject: - "DELETE /v2/domains/{domainIdentifier}/projects/{identifier}", - DeleteProjectMembership: - "POST /v2/domains/{domainIdentifier}/projects/{projectIdentifier}/deleteMembership", - DeleteProjectProfile: - "DELETE /v2/domains/{domainIdentifier}/project-profiles/{identifier}", - DeleteSubscriptionGrant: - "DELETE /v2/domains/{domainIdentifier}/subscription-grants/{identifier}", - DeleteSubscriptionRequest: - "DELETE /v2/domains/{domainIdentifier}/subscription-requests/{identifier}", - DeleteSubscriptionTarget: - "DELETE /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets/{identifier}", - DeleteTimeSeriesDataPoints: - "DELETE /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points", - DisassociateEnvironmentRole: - "DELETE /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/roles/{environmentRoleArn}", - DisassociateGovernedTerms: - "PATCH /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/disassociate-governed-terms", - GetAccountPool: - "GET /v2/domains/{domainIdentifier}/account-pools/{identifier}", - GetAssetFilter: - "GET /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters/{identifier}", - GetConnection: - "GET /v2/domains/{domainIdentifier}/connections/{identifier}", - GetEnvironment: - "GET /v2/domains/{domainIdentifier}/environments/{identifier}", - GetEnvironmentAction: - "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}", - GetEnvironmentBlueprint: - "GET /v2/domains/{domainIdentifier}/environment-blueprints/{identifier}", - GetEnvironmentCredentials: - "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/credentials", - GetEnvironmentProfile: - "GET /v2/domains/{domainIdentifier}/environment-profiles/{identifier}", - GetGroupProfile: - "GET /v2/domains/{domainIdentifier}/group-profiles/{groupIdentifier}", - GetIamPortalLoginUrl: - "POST /v2/domains/{domainIdentifier}/get-portal-login-url", - GetJobRun: "GET /v2/domains/{domainIdentifier}/jobRuns/{identifier}", - GetLineageEvent: { + "AcceptPredictions": "PUT /v2/domains/{domainIdentifier}/assets/{identifier}/accept-predictions", + "AcceptSubscriptionRequest": "PUT /v2/domains/{domainIdentifier}/subscription-requests/{identifier}/accept", + "AddEntityOwner": "POST /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/addOwner", + "AddPolicyGrant": "POST /v2/domains/{domainIdentifier}/policies/managed/{entityType}/{entityIdentifier}/addGrant", + "AssociateEnvironmentRole": "PUT /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/roles/{environmentRoleArn}", + "AssociateGovernedTerms": "PATCH /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/associate-governed-terms", + "CancelSubscription": "PUT /v2/domains/{domainIdentifier}/subscriptions/{identifier}/cancel", + "CreateAccountPool": "POST /v2/domains/{domainIdentifier}/account-pools", + "CreateAssetFilter": "POST /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters", + "CreateConnection": "POST /v2/domains/{domainIdentifier}/connections", + "CreateEnvironment": "POST /v2/domains/{domainIdentifier}/environments", + "CreateEnvironmentAction": "POST /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions", + "CreateEnvironmentBlueprint": "POST /v2/domains/{domainIdentifier}/environment-blueprints", + "CreateEnvironmentProfile": "POST /v2/domains/{domainIdentifier}/environment-profiles", + "CreateGroupProfile": "POST /v2/domains/{domainIdentifier}/group-profiles", + "CreateListingChangeSet": "POST /v2/domains/{domainIdentifier}/listings/change-set", + "CreateProject": "POST /v2/domains/{domainIdentifier}/projects", + "CreateProjectMembership": "POST /v2/domains/{domainIdentifier}/projects/{projectIdentifier}/createMembership", + "CreateProjectProfile": "POST /v2/domains/{domainIdentifier}/project-profiles", + "CreateSubscriptionGrant": "POST /v2/domains/{domainIdentifier}/subscription-grants", + "CreateSubscriptionRequest": "POST /v2/domains/{domainIdentifier}/subscription-requests", + "CreateSubscriptionTarget": "POST /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets", + "CreateUserProfile": "POST /v2/domains/{domainIdentifier}/user-profiles", + "DeleteAccountPool": "DELETE /v2/domains/{domainIdentifier}/account-pools/{identifier}", + "DeleteAssetFilter": "DELETE /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters/{identifier}", + "DeleteConnection": "DELETE /v2/domains/{domainIdentifier}/connections/{identifier}", + "DeleteEnvironment": "DELETE /v2/domains/{domainIdentifier}/environments/{identifier}", + "DeleteEnvironmentAction": "DELETE /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}", + "DeleteEnvironmentBlueprint": "DELETE /v2/domains/{domainIdentifier}/environment-blueprints/{identifier}", + "DeleteEnvironmentProfile": "DELETE /v2/domains/{domainIdentifier}/environment-profiles/{identifier}", + "DeleteProject": "DELETE /v2/domains/{domainIdentifier}/projects/{identifier}", + "DeleteProjectMembership": "POST /v2/domains/{domainIdentifier}/projects/{projectIdentifier}/deleteMembership", + "DeleteProjectProfile": "DELETE /v2/domains/{domainIdentifier}/project-profiles/{identifier}", + "DeleteSubscriptionGrant": "DELETE /v2/domains/{domainIdentifier}/subscription-grants/{identifier}", + "DeleteSubscriptionRequest": "DELETE /v2/domains/{domainIdentifier}/subscription-requests/{identifier}", + "DeleteSubscriptionTarget": "DELETE /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets/{identifier}", + "DeleteTimeSeriesDataPoints": "DELETE /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points", + "DisassociateEnvironmentRole": "DELETE /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/roles/{environmentRoleArn}", + "DisassociateGovernedTerms": "PATCH /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/disassociate-governed-terms", + "GetAccountPool": "GET /v2/domains/{domainIdentifier}/account-pools/{identifier}", + "GetAssetFilter": "GET /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters/{identifier}", + "GetConnection": "GET /v2/domains/{domainIdentifier}/connections/{identifier}", + "GetEnvironment": "GET /v2/domains/{domainIdentifier}/environments/{identifier}", + "GetEnvironmentAction": "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}", + "GetEnvironmentBlueprint": "GET /v2/domains/{domainIdentifier}/environment-blueprints/{identifier}", + "GetEnvironmentCredentials": "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/credentials", + "GetEnvironmentProfile": "GET /v2/domains/{domainIdentifier}/environment-profiles/{identifier}", + "GetGroupProfile": "GET /v2/domains/{domainIdentifier}/group-profiles/{groupIdentifier}", + "GetIamPortalLoginUrl": "POST /v2/domains/{domainIdentifier}/get-portal-login-url", + "GetJobRun": "GET /v2/domains/{domainIdentifier}/jobRuns/{identifier}", + "GetLineageEvent": { http: "GET /v2/domains/{domainIdentifier}/lineage/events/{identifier}", traits: { - domainId: "Domain-Id", - id: "Id", - event: "httpPayload", - createdBy: "Created-By", - processingStatus: "Processing-Status", - eventTime: "Event-Time", - createdAt: "Created-At", + "domainId": "Domain-Id", + "id": "Id", + "event": "httpPayload", + "createdBy": "Created-By", + "processingStatus": "Processing-Status", + "eventTime": "Event-Time", + "createdAt": "Created-At", }, }, - GetLineageNode: - "GET /v2/domains/{domainIdentifier}/lineage/nodes/{identifier}", - GetProject: "GET /v2/domains/{domainIdentifier}/projects/{identifier}", - GetProjectProfile: - "GET /v2/domains/{domainIdentifier}/project-profiles/{identifier}", - GetSubscription: - "GET /v2/domains/{domainIdentifier}/subscriptions/{identifier}", - GetSubscriptionGrant: - "GET /v2/domains/{domainIdentifier}/subscription-grants/{identifier}", - GetSubscriptionRequestDetails: - "GET /v2/domains/{domainIdentifier}/subscription-requests/{identifier}", - GetSubscriptionTarget: - "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets/{identifier}", - GetTimeSeriesDataPoint: - "GET /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points/{identifier}", - GetUserProfile: - "GET /v2/domains/{domainIdentifier}/user-profiles/{userIdentifier}", - ListAccountPools: "GET /v2/domains/{domainIdentifier}/account-pools", - ListAccountsInAccountPool: - "GET /v2/domains/{domainIdentifier}/account-pools/{identifier}/accounts", - ListAssetFilters: - "GET /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters", - ListAssetRevisions: - "GET /v2/domains/{domainIdentifier}/assets/{identifier}/revisions", - ListConnections: "GET /v2/domains/{domainIdentifier}/connections", - ListDataProductRevisions: - "GET /v2/domains/{domainIdentifier}/data-products/{identifier}/revisions", - ListDataSourceRunActivities: - "GET /v2/domains/{domainIdentifier}/data-source-runs/{identifier}/activities", - ListEntityOwners: - "GET /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/owners", - ListEnvironmentActions: - "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions", - ListEnvironmentBlueprints: - "GET /v2/domains/{domainIdentifier}/environment-blueprints", - ListEnvironmentProfiles: - "GET /v2/domains/{domainIdentifier}/environment-profiles", - ListEnvironments: "GET /v2/domains/{domainIdentifier}/environments", - ListJobRuns: "GET /v2/domains/{domainIdentifier}/jobs/{jobIdentifier}/runs", - ListLineageEvents: "GET /v2/domains/{domainIdentifier}/lineage/events", - ListLineageNodeHistory: - "GET /v2/domains/{domainIdentifier}/lineage/nodes/{identifier}/history", - ListNotifications: "GET /v2/domains/{domainIdentifier}/notifications", - ListPolicyGrants: - "GET /v2/domains/{domainIdentifier}/policies/managed/{entityType}/{entityIdentifier}/grants", - ListProjectMemberships: - "GET /v2/domains/{domainIdentifier}/projects/{projectIdentifier}/memberships", - ListProjectProfiles: "GET /v2/domains/{domainIdentifier}/project-profiles", - ListProjects: "GET /v2/domains/{domainIdentifier}/projects", - ListSubscriptionGrants: - "GET /v2/domains/{domainIdentifier}/subscription-grants", - ListSubscriptionRequests: - "GET /v2/domains/{domainIdentifier}/subscription-requests", - ListSubscriptions: "GET /v2/domains/{domainIdentifier}/subscriptions", - ListSubscriptionTargets: - "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets", - ListTagsForResource: "GET /tags/{resourceArn}", - ListTimeSeriesDataPoints: - "GET /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points", - PostLineageEvent: "POST /v2/domains/{domainIdentifier}/lineage/events", - PostTimeSeriesDataPoints: - "POST /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points", - RejectPredictions: - "PUT /v2/domains/{domainIdentifier}/assets/{identifier}/reject-predictions", - RejectSubscriptionRequest: - "PUT /v2/domains/{domainIdentifier}/subscription-requests/{identifier}/reject", - RemoveEntityOwner: - "POST /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/removeOwner", - RemovePolicyGrant: - "POST /v2/domains/{domainIdentifier}/policies/managed/{entityType}/{entityIdentifier}/removeGrant", - RevokeSubscription: - "PUT /v2/domains/{domainIdentifier}/subscriptions/{identifier}/revoke", - Search: "POST /v2/domains/{domainIdentifier}/search", - SearchGroupProfiles: - "POST /v2/domains/{domainIdentifier}/search-group-profiles", - SearchListings: "POST /v2/domains/{domainIdentifier}/listings/search", - SearchTypes: "POST /v2/domains/{domainIdentifier}/types-search", - SearchUserProfiles: - "POST /v2/domains/{domainIdentifier}/search-user-profiles", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAccountPool: - "PATCH /v2/domains/{domainIdentifier}/account-pools/{identifier}", - UpdateAssetFilter: - "PATCH /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters/{identifier}", - UpdateConnection: - "PATCH /v2/domains/{domainIdentifier}/connections/{identifier}", - UpdateEnvironment: - "PATCH /v2/domains/{domainIdentifier}/environments/{identifier}", - UpdateEnvironmentAction: - "PATCH /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}", - UpdateEnvironmentBlueprint: - "PATCH /v2/domains/{domainIdentifier}/environment-blueprints/{identifier}", - UpdateEnvironmentProfile: - "PATCH /v2/domains/{domainIdentifier}/environment-profiles/{identifier}", - UpdateGroupProfile: - "PUT /v2/domains/{domainIdentifier}/group-profiles/{groupIdentifier}", - UpdateProject: "PATCH /v2/domains/{domainIdentifier}/projects/{identifier}", - UpdateProjectProfile: - "PATCH /v2/domains/{domainIdentifier}/project-profiles/{identifier}", - UpdateSubscriptionGrantStatus: - "PATCH /v2/domains/{domainIdentifier}/subscription-grants/{identifier}/status/{assetIdentifier}", - UpdateSubscriptionRequest: - "PATCH /v2/domains/{domainIdentifier}/subscription-requests/{identifier}", - UpdateSubscriptionTarget: - "PATCH /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets/{identifier}", - UpdateUserProfile: - "PUT /v2/domains/{domainIdentifier}/user-profiles/{userIdentifier}", - CancelMetadataGenerationRun: - "POST /v2/domains/{domainIdentifier}/metadata-generation-runs/{identifier}/cancel", - CreateAsset: "POST /v2/domains/{domainIdentifier}/assets", - CreateAssetRevision: - "POST /v2/domains/{domainIdentifier}/assets/{identifier}/revisions", - CreateAssetType: "POST /v2/domains/{domainIdentifier}/asset-types", - CreateDataProduct: "POST /v2/domains/{domainIdentifier}/data-products", - CreateDataProductRevision: - "POST /v2/domains/{domainIdentifier}/data-products/{identifier}/revisions", - CreateDataSource: "POST /v2/domains/{domainIdentifier}/data-sources", - CreateDomain: "POST /v2/domains", - CreateDomainUnit: "POST /v2/domains/{domainIdentifier}/domain-units", - CreateFormType: "POST /v2/domains/{domainIdentifier}/form-types", - CreateGlossary: "POST /v2/domains/{domainIdentifier}/glossaries", - CreateGlossaryTerm: "POST /v2/domains/{domainIdentifier}/glossary-terms", - CreateRule: "POST /v2/domains/{domainIdentifier}/rules", - DeleteAsset: "DELETE /v2/domains/{domainIdentifier}/assets/{identifier}", - DeleteAssetType: - "DELETE /v2/domains/{domainIdentifier}/asset-types/{identifier}", - DeleteDataProduct: - "DELETE /v2/domains/{domainIdentifier}/data-products/{identifier}", - DeleteDataSource: - "DELETE /v2/domains/{domainIdentifier}/data-sources/{identifier}", - DeleteDomain: "DELETE /v2/domains/{identifier}", - DeleteDomainUnit: - "DELETE /v2/domains/{domainIdentifier}/domain-units/{identifier}", - DeleteEnvironmentBlueprintConfiguration: - "DELETE /v2/domains/{domainIdentifier}/environment-blueprint-configurations/{environmentBlueprintIdentifier}", - DeleteFormType: - "DELETE /v2/domains/{domainIdentifier}/form-types/{formTypeIdentifier}", - DeleteGlossary: - "DELETE /v2/domains/{domainIdentifier}/glossaries/{identifier}", - DeleteGlossaryTerm: - "DELETE /v2/domains/{domainIdentifier}/glossary-terms/{identifier}", - DeleteListing: - "DELETE /v2/domains/{domainIdentifier}/listings/{identifier}", - DeleteRule: "DELETE /v2/domains/{domainIdentifier}/rules/{identifier}", - GetAsset: "GET /v2/domains/{domainIdentifier}/assets/{identifier}", - GetAssetType: "GET /v2/domains/{domainIdentifier}/asset-types/{identifier}", - GetDataProduct: - "GET /v2/domains/{domainIdentifier}/data-products/{identifier}", - GetDataSource: - "GET /v2/domains/{domainIdentifier}/data-sources/{identifier}", - GetDataSourceRun: - "GET /v2/domains/{domainIdentifier}/data-source-runs/{identifier}", - GetDomain: "GET /v2/domains/{identifier}", - GetDomainUnit: - "GET /v2/domains/{domainIdentifier}/domain-units/{identifier}", - GetEnvironmentBlueprintConfiguration: - "GET /v2/domains/{domainIdentifier}/environment-blueprint-configurations/{environmentBlueprintIdentifier}", - GetFormType: - "GET /v2/domains/{domainIdentifier}/form-types/{formTypeIdentifier}", - GetGlossary: "GET /v2/domains/{domainIdentifier}/glossaries/{identifier}", - GetGlossaryTerm: - "GET /v2/domains/{domainIdentifier}/glossary-terms/{identifier}", - GetListing: "GET /v2/domains/{domainIdentifier}/listings/{identifier}", - GetMetadataGenerationRun: - "GET /v2/domains/{domainIdentifier}/metadata-generation-runs/{identifier}", - GetRule: "GET /v2/domains/{domainIdentifier}/rules/{identifier}", - ListDataSourceRuns: - "GET /v2/domains/{domainIdentifier}/data-sources/{dataSourceIdentifier}/runs", - ListDataSources: "GET /v2/domains/{domainIdentifier}/data-sources", - ListDomainUnitsForParent: "GET /v2/domains/{domainIdentifier}/domain-units", - ListDomains: "GET /v2/domains", - ListEnvironmentBlueprintConfigurations: - "GET /v2/domains/{domainIdentifier}/environment-blueprint-configurations", - ListMetadataGenerationRuns: - "GET /v2/domains/{domainIdentifier}/metadata-generation-runs", - ListRules: - "GET /v2/domains/{domainIdentifier}/list-rules/{targetType}/{targetIdentifier}", - PutEnvironmentBlueprintConfiguration: - "PUT /v2/domains/{domainIdentifier}/environment-blueprint-configurations/{environmentBlueprintIdentifier}", - StartDataSourceRun: - "POST /v2/domains/{domainIdentifier}/data-sources/{dataSourceIdentifier}/runs", - StartMetadataGenerationRun: - "POST /v2/domains/{domainIdentifier}/metadata-generation-runs", - UpdateDataSource: - "PATCH /v2/domains/{domainIdentifier}/data-sources/{identifier}", - UpdateDomain: "PUT /v2/domains/{identifier}", - UpdateDomainUnit: - "PUT /v2/domains/{domainIdentifier}/domain-units/{identifier}", - UpdateGlossary: - "PATCH /v2/domains/{domainIdentifier}/glossaries/{identifier}", - UpdateGlossaryTerm: - "PATCH /v2/domains/{domainIdentifier}/glossary-terms/{identifier}", - UpdateRule: "PATCH /v2/domains/{domainIdentifier}/rules/{identifier}", + "GetLineageNode": "GET /v2/domains/{domainIdentifier}/lineage/nodes/{identifier}", + "GetProject": "GET /v2/domains/{domainIdentifier}/projects/{identifier}", + "GetProjectProfile": "GET /v2/domains/{domainIdentifier}/project-profiles/{identifier}", + "GetSubscription": "GET /v2/domains/{domainIdentifier}/subscriptions/{identifier}", + "GetSubscriptionGrant": "GET /v2/domains/{domainIdentifier}/subscription-grants/{identifier}", + "GetSubscriptionRequestDetails": "GET /v2/domains/{domainIdentifier}/subscription-requests/{identifier}", + "GetSubscriptionTarget": "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets/{identifier}", + "GetTimeSeriesDataPoint": "GET /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points/{identifier}", + "GetUserProfile": "GET /v2/domains/{domainIdentifier}/user-profiles/{userIdentifier}", + "ListAccountPools": "GET /v2/domains/{domainIdentifier}/account-pools", + "ListAccountsInAccountPool": "GET /v2/domains/{domainIdentifier}/account-pools/{identifier}/accounts", + "ListAssetFilters": "GET /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters", + "ListAssetRevisions": "GET /v2/domains/{domainIdentifier}/assets/{identifier}/revisions", + "ListConnections": "GET /v2/domains/{domainIdentifier}/connections", + "ListDataProductRevisions": "GET /v2/domains/{domainIdentifier}/data-products/{identifier}/revisions", + "ListDataSourceRunActivities": "GET /v2/domains/{domainIdentifier}/data-source-runs/{identifier}/activities", + "ListEntityOwners": "GET /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/owners", + "ListEnvironmentActions": "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions", + "ListEnvironmentBlueprints": "GET /v2/domains/{domainIdentifier}/environment-blueprints", + "ListEnvironmentProfiles": "GET /v2/domains/{domainIdentifier}/environment-profiles", + "ListEnvironments": "GET /v2/domains/{domainIdentifier}/environments", + "ListJobRuns": "GET /v2/domains/{domainIdentifier}/jobs/{jobIdentifier}/runs", + "ListLineageEvents": "GET /v2/domains/{domainIdentifier}/lineage/events", + "ListLineageNodeHistory": "GET /v2/domains/{domainIdentifier}/lineage/nodes/{identifier}/history", + "ListNotifications": "GET /v2/domains/{domainIdentifier}/notifications", + "ListPolicyGrants": "GET /v2/domains/{domainIdentifier}/policies/managed/{entityType}/{entityIdentifier}/grants", + "ListProjectMemberships": "GET /v2/domains/{domainIdentifier}/projects/{projectIdentifier}/memberships", + "ListProjectProfiles": "GET /v2/domains/{domainIdentifier}/project-profiles", + "ListProjects": "GET /v2/domains/{domainIdentifier}/projects", + "ListSubscriptionGrants": "GET /v2/domains/{domainIdentifier}/subscription-grants", + "ListSubscriptionRequests": "GET /v2/domains/{domainIdentifier}/subscription-requests", + "ListSubscriptions": "GET /v2/domains/{domainIdentifier}/subscriptions", + "ListSubscriptionTargets": "GET /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListTimeSeriesDataPoints": "GET /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points", + "PostLineageEvent": "POST /v2/domains/{domainIdentifier}/lineage/events", + "PostTimeSeriesDataPoints": "POST /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/time-series-data-points", + "RejectPredictions": "PUT /v2/domains/{domainIdentifier}/assets/{identifier}/reject-predictions", + "RejectSubscriptionRequest": "PUT /v2/domains/{domainIdentifier}/subscription-requests/{identifier}/reject", + "RemoveEntityOwner": "POST /v2/domains/{domainIdentifier}/entities/{entityType}/{entityIdentifier}/removeOwner", + "RemovePolicyGrant": "POST /v2/domains/{domainIdentifier}/policies/managed/{entityType}/{entityIdentifier}/removeGrant", + "RevokeSubscription": "PUT /v2/domains/{domainIdentifier}/subscriptions/{identifier}/revoke", + "Search": "POST /v2/domains/{domainIdentifier}/search", + "SearchGroupProfiles": "POST /v2/domains/{domainIdentifier}/search-group-profiles", + "SearchListings": "POST /v2/domains/{domainIdentifier}/listings/search", + "SearchTypes": "POST /v2/domains/{domainIdentifier}/types-search", + "SearchUserProfiles": "POST /v2/domains/{domainIdentifier}/search-user-profiles", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAccountPool": "PATCH /v2/domains/{domainIdentifier}/account-pools/{identifier}", + "UpdateAssetFilter": "PATCH /v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters/{identifier}", + "UpdateConnection": "PATCH /v2/domains/{domainIdentifier}/connections/{identifier}", + "UpdateEnvironment": "PATCH /v2/domains/{domainIdentifier}/environments/{identifier}", + "UpdateEnvironmentAction": "PATCH /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}", + "UpdateEnvironmentBlueprint": "PATCH /v2/domains/{domainIdentifier}/environment-blueprints/{identifier}", + "UpdateEnvironmentProfile": "PATCH /v2/domains/{domainIdentifier}/environment-profiles/{identifier}", + "UpdateGroupProfile": "PUT /v2/domains/{domainIdentifier}/group-profiles/{groupIdentifier}", + "UpdateProject": "PATCH /v2/domains/{domainIdentifier}/projects/{identifier}", + "UpdateProjectProfile": "PATCH /v2/domains/{domainIdentifier}/project-profiles/{identifier}", + "UpdateSubscriptionGrantStatus": "PATCH /v2/domains/{domainIdentifier}/subscription-grants/{identifier}/status/{assetIdentifier}", + "UpdateSubscriptionRequest": "PATCH /v2/domains/{domainIdentifier}/subscription-requests/{identifier}", + "UpdateSubscriptionTarget": "PATCH /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/subscription-targets/{identifier}", + "UpdateUserProfile": "PUT /v2/domains/{domainIdentifier}/user-profiles/{userIdentifier}", + "CancelMetadataGenerationRun": "POST /v2/domains/{domainIdentifier}/metadata-generation-runs/{identifier}/cancel", + "CreateAsset": "POST /v2/domains/{domainIdentifier}/assets", + "CreateAssetRevision": "POST /v2/domains/{domainIdentifier}/assets/{identifier}/revisions", + "CreateAssetType": "POST /v2/domains/{domainIdentifier}/asset-types", + "CreateDataProduct": "POST /v2/domains/{domainIdentifier}/data-products", + "CreateDataProductRevision": "POST /v2/domains/{domainIdentifier}/data-products/{identifier}/revisions", + "CreateDataSource": "POST /v2/domains/{domainIdentifier}/data-sources", + "CreateDomain": "POST /v2/domains", + "CreateDomainUnit": "POST /v2/domains/{domainIdentifier}/domain-units", + "CreateFormType": "POST /v2/domains/{domainIdentifier}/form-types", + "CreateGlossary": "POST /v2/domains/{domainIdentifier}/glossaries", + "CreateGlossaryTerm": "POST /v2/domains/{domainIdentifier}/glossary-terms", + "CreateRule": "POST /v2/domains/{domainIdentifier}/rules", + "DeleteAsset": "DELETE /v2/domains/{domainIdentifier}/assets/{identifier}", + "DeleteAssetType": "DELETE /v2/domains/{domainIdentifier}/asset-types/{identifier}", + "DeleteDataProduct": "DELETE /v2/domains/{domainIdentifier}/data-products/{identifier}", + "DeleteDataSource": "DELETE /v2/domains/{domainIdentifier}/data-sources/{identifier}", + "DeleteDomain": "DELETE /v2/domains/{identifier}", + "DeleteDomainUnit": "DELETE /v2/domains/{domainIdentifier}/domain-units/{identifier}", + "DeleteEnvironmentBlueprintConfiguration": "DELETE /v2/domains/{domainIdentifier}/environment-blueprint-configurations/{environmentBlueprintIdentifier}", + "DeleteFormType": "DELETE /v2/domains/{domainIdentifier}/form-types/{formTypeIdentifier}", + "DeleteGlossary": "DELETE /v2/domains/{domainIdentifier}/glossaries/{identifier}", + "DeleteGlossaryTerm": "DELETE /v2/domains/{domainIdentifier}/glossary-terms/{identifier}", + "DeleteListing": "DELETE /v2/domains/{domainIdentifier}/listings/{identifier}", + "DeleteRule": "DELETE /v2/domains/{domainIdentifier}/rules/{identifier}", + "GetAsset": "GET /v2/domains/{domainIdentifier}/assets/{identifier}", + "GetAssetType": "GET /v2/domains/{domainIdentifier}/asset-types/{identifier}", + "GetDataProduct": "GET /v2/domains/{domainIdentifier}/data-products/{identifier}", + "GetDataSource": "GET /v2/domains/{domainIdentifier}/data-sources/{identifier}", + "GetDataSourceRun": "GET /v2/domains/{domainIdentifier}/data-source-runs/{identifier}", + "GetDomain": "GET /v2/domains/{identifier}", + "GetDomainUnit": "GET /v2/domains/{domainIdentifier}/domain-units/{identifier}", + "GetEnvironmentBlueprintConfiguration": "GET /v2/domains/{domainIdentifier}/environment-blueprint-configurations/{environmentBlueprintIdentifier}", + "GetFormType": "GET /v2/domains/{domainIdentifier}/form-types/{formTypeIdentifier}", + "GetGlossary": "GET /v2/domains/{domainIdentifier}/glossaries/{identifier}", + "GetGlossaryTerm": "GET /v2/domains/{domainIdentifier}/glossary-terms/{identifier}", + "GetListing": "GET /v2/domains/{domainIdentifier}/listings/{identifier}", + "GetMetadataGenerationRun": "GET /v2/domains/{domainIdentifier}/metadata-generation-runs/{identifier}", + "GetRule": "GET /v2/domains/{domainIdentifier}/rules/{identifier}", + "ListDataSourceRuns": "GET /v2/domains/{domainIdentifier}/data-sources/{dataSourceIdentifier}/runs", + "ListDataSources": "GET /v2/domains/{domainIdentifier}/data-sources", + "ListDomainUnitsForParent": "GET /v2/domains/{domainIdentifier}/domain-units", + "ListDomains": "GET /v2/domains", + "ListEnvironmentBlueprintConfigurations": "GET /v2/domains/{domainIdentifier}/environment-blueprint-configurations", + "ListMetadataGenerationRuns": "GET /v2/domains/{domainIdentifier}/metadata-generation-runs", + "ListRules": "GET /v2/domains/{domainIdentifier}/list-rules/{targetType}/{targetIdentifier}", + "PutEnvironmentBlueprintConfiguration": "PUT /v2/domains/{domainIdentifier}/environment-blueprint-configurations/{environmentBlueprintIdentifier}", + "StartDataSourceRun": "POST /v2/domains/{domainIdentifier}/data-sources/{dataSourceIdentifier}/runs", + "StartMetadataGenerationRun": "POST /v2/domains/{domainIdentifier}/metadata-generation-runs", + "UpdateDataSource": "PATCH /v2/domains/{domainIdentifier}/data-sources/{identifier}", + "UpdateDomain": "PUT /v2/domains/{identifier}", + "UpdateDomainUnit": "PUT /v2/domains/{domainIdentifier}/domain-units/{identifier}", + "UpdateGlossary": "PATCH /v2/domains/{domainIdentifier}/glossaries/{identifier}", + "UpdateGlossaryTerm": "PATCH /v2/domains/{domainIdentifier}/glossary-terms/{identifier}", + "UpdateRule": "PATCH /v2/domains/{domainIdentifier}/rules/{identifier}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/datazone/types.ts b/src/services/datazone/types.ts index 6099a4ab..6a7b987d 100644 --- a/src/services/datazone/types.ts +++ b/src/services/datazone/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class DataZone extends AWSServiceClient { @@ -40,1112 +8,595 @@ export declare class DataZone extends AWSServiceClient { input: AcceptPredictionsInput, ): Effect.Effect< AcceptPredictionsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; acceptSubscriptionRequest( input: AcceptSubscriptionRequestInput, ): Effect.Effect< AcceptSubscriptionRequestOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; addEntityOwner( input: AddEntityOwnerInput, ): Effect.Effect< AddEntityOwnerOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; addPolicyGrant( input: AddPolicyGrantInput, ): Effect.Effect< AddPolicyGrantOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateEnvironmentRole( input: AssociateEnvironmentRoleInput, ): Effect.Effect< AssociateEnvironmentRoleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateGovernedTerms( input: AssociateGovernedTermsInput, ): Effect.Effect< AssociateGovernedTermsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelSubscription( input: CancelSubscriptionInput, ): Effect.Effect< CancelSubscriptionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAccountPool( input: CreateAccountPoolInput, ): Effect.Effect< CreateAccountPoolOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAssetFilter( input: CreateAssetFilterInput, ): Effect.Effect< CreateAssetFilterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConnection( input: CreateConnectionInput, ): Effect.Effect< CreateConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironment( input: CreateEnvironmentInput, ): Effect.Effect< CreateEnvironmentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironmentAction( input: CreateEnvironmentActionInput, ): Effect.Effect< CreateEnvironmentActionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironmentBlueprint( input: CreateEnvironmentBlueprintInput, ): Effect.Effect< CreateEnvironmentBlueprintOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironmentProfile( input: CreateEnvironmentProfileInput, ): Effect.Effect< CreateEnvironmentProfileOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createGroupProfile( input: CreateGroupProfileInput, ): Effect.Effect< CreateGroupProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createListingChangeSet( input: CreateListingChangeSetInput, ): Effect.Effect< CreateListingChangeSetOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createProject( input: CreateProjectInput, ): Effect.Effect< CreateProjectOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createProjectMembership( input: CreateProjectMembershipInput, ): Effect.Effect< CreateProjectMembershipOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createProjectProfile( input: CreateProjectProfileInput, ): Effect.Effect< CreateProjectProfileOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSubscriptionGrant( input: CreateSubscriptionGrantInput, ): Effect.Effect< CreateSubscriptionGrantOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createSubscriptionRequest( input: CreateSubscriptionRequestInput, ): Effect.Effect< CreateSubscriptionRequestOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createSubscriptionTarget( input: CreateSubscriptionTargetInput, ): Effect.Effect< CreateSubscriptionTargetOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createUserProfile( input: CreateUserProfileInput, ): Effect.Effect< CreateUserProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteAccountPool( input: DeleteAccountPoolInput, ): Effect.Effect< DeleteAccountPoolOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAssetFilter( input: DeleteAssetFilterInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConnection( input: DeleteConnectionInput, ): Effect.Effect< DeleteConnectionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironment( input: DeleteEnvironmentInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironmentAction( input: DeleteEnvironmentActionInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironmentBlueprint( input: DeleteEnvironmentBlueprintInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironmentProfile( input: DeleteEnvironmentProfileInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProject( input: DeleteProjectInput, ): Effect.Effect< DeleteProjectOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProjectMembership( input: DeleteProjectMembershipInput, ): Effect.Effect< DeleteProjectMembershipOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteProjectProfile( input: DeleteProjectProfileInput, ): Effect.Effect< DeleteProjectProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSubscriptionGrant( input: DeleteSubscriptionGrantInput, ): Effect.Effect< DeleteSubscriptionGrantOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSubscriptionRequest( input: DeleteSubscriptionRequestInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSubscriptionTarget( input: DeleteSubscriptionTargetInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTimeSeriesDataPoints( input: DeleteTimeSeriesDataPointsInput, ): Effect.Effect< DeleteTimeSeriesDataPointsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateEnvironmentRole( input: DisassociateEnvironmentRoleInput, ): Effect.Effect< DisassociateEnvironmentRoleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateGovernedTerms( input: DisassociateGovernedTermsInput, ): Effect.Effect< DisassociateGovernedTermsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAccountPool( input: GetAccountPoolInput, ): Effect.Effect< GetAccountPoolOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAssetFilter( input: GetAssetFilterInput, ): Effect.Effect< GetAssetFilterOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConnection( input: GetConnectionInput, ): Effect.Effect< GetConnectionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironment( input: GetEnvironmentInput, ): Effect.Effect< GetEnvironmentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironmentAction( input: GetEnvironmentActionInput, ): Effect.Effect< GetEnvironmentActionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironmentBlueprint( input: GetEnvironmentBlueprintInput, ): Effect.Effect< GetEnvironmentBlueprintOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironmentCredentials( input: GetEnvironmentCredentialsInput, ): Effect.Effect< GetEnvironmentCredentialsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironmentProfile( input: GetEnvironmentProfileInput, ): Effect.Effect< GetEnvironmentProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGroupProfile( input: GetGroupProfileInput, ): Effect.Effect< GetGroupProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getIamPortalLoginUrl( input: GetIamPortalLoginUrlInput, ): Effect.Effect< GetIamPortalLoginUrlOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getJobRun( input: GetJobRunInput, ): Effect.Effect< GetJobRunOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLineageEvent( input: GetLineageEventInput, ): Effect.Effect< GetLineageEventOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLineageNode( input: GetLineageNodeInput, ): Effect.Effect< GetLineageNodeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProject( input: GetProjectInput, ): Effect.Effect< GetProjectOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProjectProfile( input: GetProjectProfileInput, ): Effect.Effect< GetProjectProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSubscription( input: GetSubscriptionInput, ): Effect.Effect< GetSubscriptionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSubscriptionGrant( input: GetSubscriptionGrantInput, ): Effect.Effect< GetSubscriptionGrantOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSubscriptionRequestDetails( input: GetSubscriptionRequestDetailsInput, ): Effect.Effect< GetSubscriptionRequestDetailsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSubscriptionTarget( input: GetSubscriptionTargetInput, ): Effect.Effect< GetSubscriptionTargetOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTimeSeriesDataPoint( input: GetTimeSeriesDataPointInput, ): Effect.Effect< GetTimeSeriesDataPointOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getUserProfile( input: GetUserProfileInput, ): Effect.Effect< GetUserProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAccountPools( input: ListAccountPoolsInput, ): Effect.Effect< ListAccountPoolsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listAccountsInAccountPool( input: ListAccountsInAccountPoolInput, ): Effect.Effect< ListAccountsInAccountPoolOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAssetFilters( input: ListAssetFiltersInput, ): Effect.Effect< ListAssetFiltersOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAssetRevisions( input: ListAssetRevisionsInput, ): Effect.Effect< ListAssetRevisionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listConnections( input: ListConnectionsInput, ): Effect.Effect< ListConnectionsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDataProductRevisions( input: ListDataProductRevisionsInput, ): Effect.Effect< ListDataProductRevisionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSourceRunActivities( input: ListDataSourceRunActivitiesInput, ): Effect.Effect< ListDataSourceRunActivitiesOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listEntityOwners( input: ListEntityOwnersInput, ): Effect.Effect< ListEntityOwnersOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentActions( input: ListEnvironmentActionsInput, ): Effect.Effect< ListEnvironmentActionsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentBlueprints( input: ListEnvironmentBlueprintsInput, ): Effect.Effect< ListEnvironmentBlueprintsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentProfiles( input: ListEnvironmentProfilesInput, ): Effect.Effect< ListEnvironmentProfilesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironments( input: ListEnvironmentsInput, ): Effect.Effect< ListEnvironmentsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listJobRuns( input: ListJobRunsInput, ): Effect.Effect< ListJobRunsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLineageEvents( input: ListLineageEventsInput, ): Effect.Effect< ListLineageEventsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listLineageNodeHistory( input: ListLineageNodeHistoryInput, ): Effect.Effect< ListLineageNodeHistoryOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listNotifications( input: ListNotificationsInput, ): Effect.Effect< ListNotificationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listPolicyGrants( input: ListPolicyGrantsInput, ): Effect.Effect< ListPolicyGrantsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listProjectMemberships( input: ListProjectMembershipsInput, ): Effect.Effect< ListProjectMembershipsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProjectProfiles( input: ListProjectProfilesInput, ): Effect.Effect< ListProjectProfilesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listProjects( input: ListProjectsInput, ): Effect.Effect< ListProjectsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSubscriptionGrants( input: ListSubscriptionGrantsInput, ): Effect.Effect< ListSubscriptionGrantsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSubscriptionRequests( input: ListSubscriptionRequestsInput, ): Effect.Effect< ListSubscriptionRequestsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSubscriptions( input: ListSubscriptionsInput, ): Effect.Effect< ListSubscriptionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSubscriptionTargets( input: ListSubscriptionTargetsInput, ): Effect.Effect< ListSubscriptionTargetsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTimeSeriesDataPoints( input: ListTimeSeriesDataPointsInput, ): Effect.Effect< ListTimeSeriesDataPointsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; postLineageEvent( input: PostLineageEventInput, ): Effect.Effect< PostLineageEventOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; postTimeSeriesDataPoints( input: PostTimeSeriesDataPointsInput, ): Effect.Effect< PostTimeSeriesDataPointsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; rejectPredictions( input: RejectPredictionsInput, ): Effect.Effect< RejectPredictionsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; rejectSubscriptionRequest( input: RejectSubscriptionRequestInput, ): Effect.Effect< RejectSubscriptionRequestOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; removeEntityOwner( input: RemoveEntityOwnerInput, ): Effect.Effect< RemoveEntityOwnerOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; removePolicyGrant( input: RemovePolicyGrantInput, ): Effect.Effect< RemovePolicyGrantOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; revokeSubscription( input: RevokeSubscriptionInput, ): Effect.Effect< RevokeSubscriptionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; search( input: SearchInput, ): Effect.Effect< SearchOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; searchGroupProfiles( input: SearchGroupProfilesInput, ): Effect.Effect< SearchGroupProfilesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; searchListings( input: SearchListingsInput, ): Effect.Effect< SearchListingsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; searchTypes( input: SearchTypesInput, ): Effect.Effect< SearchTypesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; searchUserProfiles( input: SearchUserProfilesInput, ): Effect.Effect< SearchUserProfilesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -1157,826 +608,415 @@ export declare class DataZone extends AWSServiceClient { input: UpdateAccountPoolInput, ): Effect.Effect< UpdateAccountPoolOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAssetFilter( input: UpdateAssetFilterInput, ): Effect.Effect< UpdateAssetFilterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateConnection( input: UpdateConnectionInput, ): Effect.Effect< UpdateConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironment( input: UpdateEnvironmentInput, ): Effect.Effect< UpdateEnvironmentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironmentAction( input: UpdateEnvironmentActionInput, ): Effect.Effect< UpdateEnvironmentActionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironmentBlueprint( input: UpdateEnvironmentBlueprintInput, ): Effect.Effect< UpdateEnvironmentBlueprintOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironmentProfile( input: UpdateEnvironmentProfileInput, ): Effect.Effect< UpdateEnvironmentProfileOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateGroupProfile( input: UpdateGroupProfileInput, ): Effect.Effect< UpdateGroupProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateProject( input: UpdateProjectInput, ): Effect.Effect< UpdateProjectOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateProjectProfile( input: UpdateProjectProfileInput, ): Effect.Effect< UpdateProjectProfileOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateSubscriptionGrantStatus( input: UpdateSubscriptionGrantStatusInput, ): Effect.Effect< UpdateSubscriptionGrantStatusOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSubscriptionRequest( input: UpdateSubscriptionRequestInput, ): Effect.Effect< UpdateSubscriptionRequestOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSubscriptionTarget( input: UpdateSubscriptionTargetInput, ): Effect.Effect< UpdateSubscriptionTargetOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateUserProfile( input: UpdateUserProfileInput, ): Effect.Effect< UpdateUserProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; cancelMetadataGenerationRun( input: CancelMetadataGenerationRunInput, ): Effect.Effect< CancelMetadataGenerationRunOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAsset( input: CreateAssetInput, ): Effect.Effect< CreateAssetOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAssetRevision( input: CreateAssetRevisionInput, ): Effect.Effect< CreateAssetRevisionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAssetType( input: CreateAssetTypeInput, ): Effect.Effect< CreateAssetTypeOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataProduct( input: CreateDataProductInput, ): Effect.Effect< CreateDataProductOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataProductRevision( input: CreateDataProductRevisionInput, ): Effect.Effect< CreateDataProductRevisionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createDataSource( input: CreateDataSourceInput, ): Effect.Effect< CreateDataSourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDomain( input: CreateDomainInput, ): Effect.Effect< CreateDomainOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDomainUnit( input: CreateDomainUnitInput, ): Effect.Effect< CreateDomainUnitOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFormType( input: CreateFormTypeInput, ): Effect.Effect< CreateFormTypeOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createGlossary( input: CreateGlossaryInput, ): Effect.Effect< CreateGlossaryOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createGlossaryTerm( input: CreateGlossaryTermInput, ): Effect.Effect< CreateGlossaryTermOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRule( input: CreateRuleInput, ): Effect.Effect< CreateRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAsset( input: DeleteAssetInput, ): Effect.Effect< DeleteAssetOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAssetType( input: DeleteAssetTypeInput, ): Effect.Effect< DeleteAssetTypeOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataProduct( input: DeleteDataProductInput, - ): Effect.Effect< - DeleteDataProductOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ): Effect.Effect< + DeleteDataProductOutput, + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataSource( input: DeleteDataSourceInput, ): Effect.Effect< DeleteDataSourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDomain( input: DeleteDomainInput, ): Effect.Effect< DeleteDomainOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDomainUnit( input: DeleteDomainUnitInput, ): Effect.Effect< DeleteDomainUnitOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironmentBlueprintConfiguration( input: DeleteEnvironmentBlueprintConfigurationInput, ): Effect.Effect< DeleteEnvironmentBlueprintConfigurationOutput, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; deleteFormType( input: DeleteFormTypeInput, ): Effect.Effect< DeleteFormTypeOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteGlossary( input: DeleteGlossaryInput, ): Effect.Effect< DeleteGlossaryOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteGlossaryTerm( input: DeleteGlossaryTermInput, ): Effect.Effect< DeleteGlossaryTermOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteListing( input: DeleteListingInput, ): Effect.Effect< DeleteListingOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRule( input: DeleteRuleInput, ): Effect.Effect< DeleteRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAsset( input: GetAssetInput, ): Effect.Effect< GetAssetOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAssetType( input: GetAssetTypeInput, ): Effect.Effect< GetAssetTypeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataProduct( input: GetDataProductInput, ): Effect.Effect< GetDataProductOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataSource( input: GetDataSourceInput, ): Effect.Effect< GetDataSourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getDataSourceRun( input: GetDataSourceRunInput, ): Effect.Effect< GetDataSourceRunOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getDomain( input: GetDomainInput, ): Effect.Effect< GetDomainOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getDomainUnit( input: GetDomainUnitInput, ): Effect.Effect< GetDomainUnitOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironmentBlueprintConfiguration( input: GetEnvironmentBlueprintConfigurationInput, ): Effect.Effect< GetEnvironmentBlueprintConfigurationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getFormType( input: GetFormTypeInput, ): Effect.Effect< GetFormTypeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGlossary( input: GetGlossaryInput, ): Effect.Effect< GetGlossaryOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGlossaryTerm( input: GetGlossaryTermInput, ): Effect.Effect< GetGlossaryTermOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getListing( input: GetListingInput, ): Effect.Effect< GetListingOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMetadataGenerationRun( input: GetMetadataGenerationRunInput, ): Effect.Effect< GetMetadataGenerationRunOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRule( input: GetRuleInput, ): Effect.Effect< GetRuleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSourceRuns( input: ListDataSourceRunsInput, ): Effect.Effect< ListDataSourceRunsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listDataSources( input: ListDataSourcesInput, ): Effect.Effect< ListDataSourcesOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listDomainUnitsForParent( input: ListDomainUnitsForParentInput, ): Effect.Effect< ListDomainUnitsForParentOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDomains( input: ListDomainsInput, ): Effect.Effect< ListDomainsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentBlueprintConfigurations( input: ListEnvironmentBlueprintConfigurationsInput, ): Effect.Effect< ListEnvironmentBlueprintConfigurationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listMetadataGenerationRuns( input: ListMetadataGenerationRunsInput, ): Effect.Effect< ListMetadataGenerationRunsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRules( input: ListRulesInput, ): Effect.Effect< ListRulesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putEnvironmentBlueprintConfiguration( input: PutEnvironmentBlueprintConfigurationInput, ): Effect.Effect< PutEnvironmentBlueprintConfigurationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startDataSourceRun( input: StartDataSourceRunInput, ): Effect.Effect< StartDataSourceRunOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startMetadataGenerationRun( input: StartMetadataGenerationRunInput, ): Effect.Effect< StartMetadataGenerationRunOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateDataSource( input: UpdateDataSourceInput, ): Effect.Effect< UpdateDataSourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateDomain( input: UpdateDomainInput, ): Effect.Effect< UpdateDomainOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateDomainUnit( input: UpdateDomainUnitInput, ): Effect.Effect< UpdateDomainUnitOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateGlossary( input: UpdateGlossaryInput, ): Effect.Effect< UpdateGlossaryOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateGlossaryTerm( input: UpdateGlossaryTermInput, ): Effect.Effect< UpdateGlossaryTermOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRule( input: UpdateRuleInput, ): Effect.Effect< UpdateRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -2064,18 +1104,14 @@ interface _AccountSource { customAccountPoolHandler?: CustomAccountPoolHandler; } -export type AccountSource = - | (_AccountSource & { accounts: Array }) - | (_AccountSource & { customAccountPoolHandler: CustomAccountPoolHandler }); +export type AccountSource = (_AccountSource & { accounts: Array }) | (_AccountSource & { customAccountPoolHandler: CustomAccountPoolHandler }); export type ActionLink = string; interface _ActionParameters { awsConsoleLink?: AwsConsoleLinkParameters; } -export type ActionParameters = _ActionParameters & { - awsConsoleLink: AwsConsoleLinkParameters; -}; +export type ActionParameters = (_ActionParameters & { awsConsoleLink: AwsConsoleLinkParameters }); export interface AddEntityOwnerInput { domainIdentifier: string; entityType: DataZoneEntityType; @@ -2083,7 +1119,8 @@ export interface AddEntityOwnerInput { owner: OwnerProperties; clientToken?: string; } -export interface AddEntityOwnerOutput {} +export interface AddEntityOwnerOutput { +} export interface AddPolicyGrantInput { domainIdentifier: string; entityType: TargetEntityType; @@ -2122,8 +1159,10 @@ export interface AggregationOutputItem { } export type AggregationOutputItems = Array; export type AggregationOutputList = Array; -export interface AllDomainUnitsGrantFilter {} -export interface AllUsersGrantFilter {} +export interface AllDomainUnitsGrantFilter { +} +export interface AllUsersGrantFilter { +} export interface AmazonQPropertiesInput { isEnabled: boolean; profileArn?: string; @@ -2145,11 +1184,7 @@ interface _AssetFilterConfiguration { rowConfiguration?: RowFilterConfiguration; } -export type AssetFilterConfiguration = - | (_AssetFilterConfiguration & { - columnConfiguration: ColumnFilterConfiguration; - }) - | (_AssetFilterConfiguration & { rowConfiguration: RowFilterConfiguration }); +export type AssetFilterConfiguration = (_AssetFilterConfiguration & { columnConfiguration: ColumnFilterConfiguration }) | (_AssetFilterConfiguration & { rowConfiguration: RowFilterConfiguration }); export type AssetFilters = Array; export interface AssetFilterSummary { id: string; @@ -2172,8 +1207,7 @@ export interface AssetInDataProductListingItem { entityRevision?: string; entityType?: string; } -export type AssetInDataProductListingItems = - Array; +export type AssetInDataProductListingItems = Array; export interface AssetItem { domainId: string; identifier: string; @@ -2280,14 +1314,16 @@ export interface AssociateEnvironmentRoleInput { environmentIdentifier: string; environmentRoleArn: string; } -export interface AssociateEnvironmentRoleOutput {} +export interface AssociateEnvironmentRoleOutput { +} export interface AssociateGovernedTermsInput { domainIdentifier: string; entityIdentifier: string; entityType: GovernedEntityType; governedGlossaryTerms: Array; } -export interface AssociateGovernedTermsOutput {} +export interface AssociateGovernedTermsOutput { +} export interface AthenaPropertiesInput { workgroupName?: string; } @@ -2330,9 +1366,7 @@ interface _AwsAccount { awsAccountIdPath?: string; } -export type AwsAccount = - | (_AwsAccount & { awsAccountId: string }) - | (_AwsAccount & { awsAccountIdPath: string }); +export type AwsAccount = (_AwsAccount & { awsAccountId: string }) | (_AwsAccount & { awsAccountIdPath: string }); export type AwsAccountId = string; export type AwsAccountName = string; @@ -2360,7 +1394,8 @@ export interface CancelMetadataGenerationRunInput { domainIdentifier: string; identifier: string; } -export interface CancelMetadataGenerationRunOutput {} +export interface CancelMetadataGenerationRunOutput { +} export interface CancelSubscriptionInput { domainIdentifier: string; identifier: string; @@ -2394,8 +1429,7 @@ export interface ConfigurableActionParameter { key?: string; value?: string; } -export type ConfigurableActionParameterList = - Array; +export type ConfigurableActionParameterList = Array; export type ConfigurableActionTypeAuthorization = "IAM" | "HTTPS"; export interface ConfigurableEnvironmentAction { type: string; @@ -2431,25 +1465,7 @@ interface _ConnectionPropertiesInput { mlflowProperties?: MlflowPropertiesInput; } -export type ConnectionPropertiesInput = - | (_ConnectionPropertiesInput & { athenaProperties: AthenaPropertiesInput }) - | (_ConnectionPropertiesInput & { glueProperties: GluePropertiesInput }) - | (_ConnectionPropertiesInput & { - hyperPodProperties: HyperPodPropertiesInput; - }) - | (_ConnectionPropertiesInput & { iamProperties: IamPropertiesInput }) - | (_ConnectionPropertiesInput & { - redshiftProperties: RedshiftPropertiesInput; - }) - | (_ConnectionPropertiesInput & { - sparkEmrProperties: SparkEmrPropertiesInput; - }) - | (_ConnectionPropertiesInput & { - sparkGlueProperties: SparkGluePropertiesInput; - }) - | (_ConnectionPropertiesInput & { s3Properties: S3PropertiesInput }) - | (_ConnectionPropertiesInput & { amazonQProperties: AmazonQPropertiesInput }) - | (_ConnectionPropertiesInput & { mlflowProperties: MlflowPropertiesInput }); +export type ConnectionPropertiesInput = (_ConnectionPropertiesInput & { athenaProperties: AthenaPropertiesInput }) | (_ConnectionPropertiesInput & { glueProperties: GluePropertiesInput }) | (_ConnectionPropertiesInput & { hyperPodProperties: HyperPodPropertiesInput }) | (_ConnectionPropertiesInput & { iamProperties: IamPropertiesInput }) | (_ConnectionPropertiesInput & { redshiftProperties: RedshiftPropertiesInput }) | (_ConnectionPropertiesInput & { sparkEmrProperties: SparkEmrPropertiesInput }) | (_ConnectionPropertiesInput & { sparkGlueProperties: SparkGluePropertiesInput }) | (_ConnectionPropertiesInput & { s3Properties: S3PropertiesInput }) | (_ConnectionPropertiesInput & { amazonQProperties: AmazonQPropertiesInput }) | (_ConnectionPropertiesInput & { mlflowProperties: MlflowPropertiesInput }); interface _ConnectionPropertiesOutput { athenaProperties?: AthenaPropertiesOutput; glueProperties?: GluePropertiesOutput; @@ -2463,29 +1479,7 @@ interface _ConnectionPropertiesOutput { mlflowProperties?: MlflowPropertiesOutput; } -export type ConnectionPropertiesOutput = - | (_ConnectionPropertiesOutput & { athenaProperties: AthenaPropertiesOutput }) - | (_ConnectionPropertiesOutput & { glueProperties: GluePropertiesOutput }) - | (_ConnectionPropertiesOutput & { - hyperPodProperties: HyperPodPropertiesOutput; - }) - | (_ConnectionPropertiesOutput & { iamProperties: IamPropertiesOutput }) - | (_ConnectionPropertiesOutput & { - redshiftProperties: RedshiftPropertiesOutput; - }) - | (_ConnectionPropertiesOutput & { - sparkEmrProperties: SparkEmrPropertiesOutput; - }) - | (_ConnectionPropertiesOutput & { - sparkGlueProperties: SparkGluePropertiesOutput; - }) - | (_ConnectionPropertiesOutput & { s3Properties: S3PropertiesOutput }) - | (_ConnectionPropertiesOutput & { - amazonQProperties: AmazonQPropertiesOutput; - }) - | (_ConnectionPropertiesOutput & { - mlflowProperties: MlflowPropertiesOutput; - }); +export type ConnectionPropertiesOutput = (_ConnectionPropertiesOutput & { athenaProperties: AthenaPropertiesOutput }) | (_ConnectionPropertiesOutput & { glueProperties: GluePropertiesOutput }) | (_ConnectionPropertiesOutput & { hyperPodProperties: HyperPodPropertiesOutput }) | (_ConnectionPropertiesOutput & { iamProperties: IamPropertiesOutput }) | (_ConnectionPropertiesOutput & { redshiftProperties: RedshiftPropertiesOutput }) | (_ConnectionPropertiesOutput & { sparkEmrProperties: SparkEmrPropertiesOutput }) | (_ConnectionPropertiesOutput & { sparkGlueProperties: SparkGluePropertiesOutput }) | (_ConnectionPropertiesOutput & { s3Properties: S3PropertiesOutput }) | (_ConnectionPropertiesOutput & { amazonQProperties: AmazonQPropertiesOutput }) | (_ConnectionPropertiesOutput & { mlflowProperties: MlflowPropertiesOutput }); interface _ConnectionPropertiesPatch { athenaProperties?: AthenaPropertiesPatch; glueProperties?: GluePropertiesPatch; @@ -2497,29 +1491,9 @@ interface _ConnectionPropertiesPatch { mlflowProperties?: MlflowPropertiesPatch; } -export type ConnectionPropertiesPatch = - | (_ConnectionPropertiesPatch & { athenaProperties: AthenaPropertiesPatch }) - | (_ConnectionPropertiesPatch & { glueProperties: GluePropertiesPatch }) - | (_ConnectionPropertiesPatch & { iamProperties: IamPropertiesPatch }) - | (_ConnectionPropertiesPatch & { - redshiftProperties: RedshiftPropertiesPatch; - }) - | (_ConnectionPropertiesPatch & { - sparkEmrProperties: SparkEmrPropertiesPatch; - }) - | (_ConnectionPropertiesPatch & { s3Properties: S3PropertiesPatch }) - | (_ConnectionPropertiesPatch & { amazonQProperties: AmazonQPropertiesPatch }) - | (_ConnectionPropertiesPatch & { mlflowProperties: MlflowPropertiesPatch }); +export type ConnectionPropertiesPatch = (_ConnectionPropertiesPatch & { athenaProperties: AthenaPropertiesPatch }) | (_ConnectionPropertiesPatch & { glueProperties: GluePropertiesPatch }) | (_ConnectionPropertiesPatch & { iamProperties: IamPropertiesPatch }) | (_ConnectionPropertiesPatch & { redshiftProperties: RedshiftPropertiesPatch }) | (_ConnectionPropertiesPatch & { sparkEmrProperties: SparkEmrPropertiesPatch }) | (_ConnectionPropertiesPatch & { s3Properties: S3PropertiesPatch }) | (_ConnectionPropertiesPatch & { amazonQProperties: AmazonQPropertiesPatch }) | (_ConnectionPropertiesPatch & { mlflowProperties: MlflowPropertiesPatch }); export type ConnectionScope = "DOMAIN" | "PROJECT"; -export type ConnectionStatus = - | "CREATING" - | "CREATE_FAILED" - | "DELETING" - | "DELETE_FAILED" - | "READY" - | "UPDATING" - | "UPDATE_FAILED" - | "DELETED"; +export type ConnectionStatus = "CREATING" | "CREATE_FAILED" | "DELETING" | "DELETE_FAILED" | "READY" | "UPDATING" | "UPDATE_FAILED" | "DELETED"; export type ConnectionSummaries = Array; export interface ConnectionSummary { connectionId: string; @@ -2533,29 +1507,7 @@ export interface ConnectionSummary { type: ConnectionType; scope?: ConnectionScope; } -export type ConnectionType = - | "ATHENA" - | "BIGQUERY" - | "DATABRICKS" - | "DOCUMENTDB" - | "DYNAMODB" - | "HYPERPOD" - | "IAM" - | "MYSQL" - | "OPENSEARCH" - | "ORACLE" - | "POSTGRESQL" - | "REDSHIFT" - | "S3" - | "SAPHANA" - | "SNOWFLAKE" - | "SPARK" - | "SQLSERVER" - | "TERADATA" - | "VERTICA" - | "WORKFLOWS_MWAA" - | "AMAZON_Q" - | "MLFLOW"; +export type ConnectionType = "ATHENA" | "BIGQUERY" | "DATABRICKS" | "DOCUMENTDB" | "DYNAMODB" | "HYPERPOD" | "IAM" | "MYSQL" | "OPENSEARCH" | "ORACLE" | "POSTGRESQL" | "REDSHIFT" | "S3" | "SAPHANA" | "SNOWFLAKE" | "SPARK" | "SQLSERVER" | "TERADATA" | "VERTICA" | "WORKFLOWS_MWAA" | "AMAZON_Q" | "MLFLOW"; export interface CreateAccountPoolInput { domainIdentifier: string; name: string; @@ -3060,7 +2012,8 @@ export interface CreateProjectMembershipInput { member: Member; designation: UserDesignation; } -export interface CreateProjectMembershipOutput {} +export interface CreateProjectMembershipOutput { +} export interface CreateProjectOutput { domainId: string; id: string; @@ -3234,15 +2187,7 @@ export interface CustomParameter { isUpdateSupported?: boolean; } export type CustomParameterList = Array; -export type DataAssetActivityStatus = - | "FAILED" - | "PUBLISHING_FAILED" - | "SUCCEEDED_CREATED" - | "SUCCEEDED_UPDATED" - | "SKIPPED_ALREADY_IMPORTED" - | "SKIPPED_ARCHIVED" - | "SKIPPED_NO_ACCESS" - | "UNCHANGED"; +export type DataAssetActivityStatus = "FAILED" | "PUBLISHING_FAILED" | "SUCCEEDED_CREATED" | "SUCCEEDED_UPDATED" | "SKIPPED_ALREADY_IMPORTED" | "SKIPPED_ARCHIVED" | "SKIPPED_NO_ACCESS" | "UNCHANGED"; export type DataPointIdentifier = string; export type DataProductDescription = string; @@ -3318,44 +2263,19 @@ interface _DataSourceConfigurationInput { sageMakerRunConfiguration?: SageMakerRunConfigurationInput; } -export type DataSourceConfigurationInput = - | (_DataSourceConfigurationInput & { - glueRunConfiguration: GlueRunConfigurationInput; - }) - | (_DataSourceConfigurationInput & { - redshiftRunConfiguration: RedshiftRunConfigurationInput; - }) - | (_DataSourceConfigurationInput & { - sageMakerRunConfiguration: SageMakerRunConfigurationInput; - }); +export type DataSourceConfigurationInput = (_DataSourceConfigurationInput & { glueRunConfiguration: GlueRunConfigurationInput }) | (_DataSourceConfigurationInput & { redshiftRunConfiguration: RedshiftRunConfigurationInput }) | (_DataSourceConfigurationInput & { sageMakerRunConfiguration: SageMakerRunConfigurationInput }); interface _DataSourceConfigurationOutput { glueRunConfiguration?: GlueRunConfigurationOutput; redshiftRunConfiguration?: RedshiftRunConfigurationOutput; sageMakerRunConfiguration?: SageMakerRunConfigurationOutput; } -export type DataSourceConfigurationOutput = - | (_DataSourceConfigurationOutput & { - glueRunConfiguration: GlueRunConfigurationOutput; - }) - | (_DataSourceConfigurationOutput & { - redshiftRunConfiguration: RedshiftRunConfigurationOutput; - }) - | (_DataSourceConfigurationOutput & { - sageMakerRunConfiguration: SageMakerRunConfigurationOutput; - }); +export type DataSourceConfigurationOutput = (_DataSourceConfigurationOutput & { glueRunConfiguration: GlueRunConfigurationOutput }) | (_DataSourceConfigurationOutput & { redshiftRunConfiguration: RedshiftRunConfigurationOutput }) | (_DataSourceConfigurationOutput & { sageMakerRunConfiguration: SageMakerRunConfigurationOutput }); export interface DataSourceErrorMessage { errorType: DataSourceErrorType; errorDetail?: string; } -export type DataSourceErrorType = - | "ACCESS_DENIED_EXCEPTION" - | "CONFLICT_EXCEPTION" - | "INTERNAL_SERVER_EXCEPTION" - | "RESOURCE_NOT_FOUND_EXCEPTION" - | "SERVICE_QUOTA_EXCEEDED_EXCEPTION" - | "THROTTLING_EXCEPTION" - | "VALIDATION_EXCEPTION"; +export type DataSourceErrorType = "ACCESS_DENIED_EXCEPTION" | "CONFLICT_EXCEPTION" | "INTERNAL_SERVER_EXCEPTION" | "RESOURCE_NOT_FOUND_EXCEPTION" | "SERVICE_QUOTA_EXCEEDED_EXCEPTION" | "THROTTLING_EXCEPTION" | "VALIDATION_EXCEPTION"; export type DataSourceId = string; export type DataSourceRunActivities = Array; @@ -3377,12 +2297,7 @@ export type DataSourceRunId = string; export interface DataSourceRunLineageSummary { importStatus?: LineageImportStatus; } -export type DataSourceRunStatus = - | "REQUESTED" - | "RUNNING" - | "FAILED" - | "PARTIALLY_SUCCEEDED" - | "SUCCESS"; +export type DataSourceRunStatus = "REQUESTED" | "RUNNING" | "FAILED" | "PARTIALLY_SUCCEEDED" | "SUCCESS"; export type DataSourceRunSummaries = Array; export interface DataSourceRunSummary { id: string; @@ -3399,15 +2314,7 @@ export interface DataSourceRunSummary { lineageSummary?: DataSourceRunLineageSummary; } export type DataSourceRunType = "PRIORITIZED" | "SCHEDULED"; -export type DataSourceStatus = - | "CREATING" - | "FAILED_CREATION" - | "READY" - | "UPDATING" - | "FAILED_UPDATE" - | "RUNNING" - | "DELETING" - | "FAILED_DELETION"; +export type DataSourceStatus = "CREATING" | "FAILED_CREATION" | "READY" | "UPDATING" | "FAILED_UPDATE" | "RUNNING" | "DELETING" | "FAILED_DELETION"; export type DataSourceSummaries = Array; export interface DataSourceSummary { domainId: string; @@ -3438,7 +2345,8 @@ export interface DeleteAccountPoolInput { domainIdentifier: string; identifier: string; } -export interface DeleteAccountPoolOutput {} +export interface DeleteAccountPoolOutput { +} export interface DeleteAssetFilterInput { domainIdentifier: string; assetIdentifier: string; @@ -3448,12 +2356,14 @@ export interface DeleteAssetInput { domainIdentifier: string; identifier: string; } -export interface DeleteAssetOutput {} +export interface DeleteAssetOutput { +} export interface DeleteAssetTypeInput { domainIdentifier: string; identifier: string; } -export interface DeleteAssetTypeOutput {} +export interface DeleteAssetTypeOutput { +} export interface DeleteConnectionInput { domainIdentifier: string; identifier: string; @@ -3465,7 +2375,8 @@ export interface DeleteDataProductInput { domainIdentifier: string; identifier: string; } -export interface DeleteDataProductOutput {} +export interface DeleteDataProductOutput { +} export interface DeleteDataSourceInput { domainIdentifier: string; identifier: string; @@ -3508,7 +2419,8 @@ export interface DeleteDomainUnitInput { domainIdentifier: string; identifier: string; } -export interface DeleteDomainUnitOutput {} +export interface DeleteDomainUnitOutput { +} export interface DeleteEnvironmentActionInput { domainIdentifier: string; environmentIdentifier: string; @@ -3518,7 +2430,8 @@ export interface DeleteEnvironmentBlueprintConfigurationInput { domainIdentifier: string; environmentBlueprintIdentifier: string; } -export interface DeleteEnvironmentBlueprintConfigurationOutput {} +export interface DeleteEnvironmentBlueprintConfigurationOutput { +} export interface DeleteEnvironmentBlueprintInput { domainIdentifier: string; identifier: string; @@ -3535,22 +2448,26 @@ export interface DeleteFormTypeInput { domainIdentifier: string; formTypeIdentifier: string; } -export interface DeleteFormTypeOutput {} +export interface DeleteFormTypeOutput { +} export interface DeleteGlossaryInput { domainIdentifier: string; identifier: string; } -export interface DeleteGlossaryOutput {} +export interface DeleteGlossaryOutput { +} export interface DeleteGlossaryTermInput { domainIdentifier: string; identifier: string; } -export interface DeleteGlossaryTermOutput {} +export interface DeleteGlossaryTermOutput { +} export interface DeleteListingInput { domainIdentifier: string; identifier: string; } -export interface DeleteListingOutput {} +export interface DeleteListingOutput { +} export interface DeleteProjectInput { domainIdentifier: string; identifier: string; @@ -3561,18 +2478,22 @@ export interface DeleteProjectMembershipInput { projectIdentifier: string; member: Member; } -export interface DeleteProjectMembershipOutput {} -export interface DeleteProjectOutput {} +export interface DeleteProjectMembershipOutput { +} +export interface DeleteProjectOutput { +} export interface DeleteProjectProfileInput { domainIdentifier: string; identifier: string; } -export interface DeleteProjectProfileOutput {} +export interface DeleteProjectProfileOutput { +} export interface DeleteRuleInput { domainIdentifier: string; identifier: string; } -export interface DeleteRuleOutput {} +export interface DeleteRuleOutput { +} export interface DeleteSubscriptionGrantInput { domainIdentifier: string; identifier: string; @@ -3606,7 +2527,8 @@ export interface DeleteTimeSeriesDataPointsInput { formName: string; clientToken?: string; } -export interface DeleteTimeSeriesDataPointsOutput {} +export interface DeleteTimeSeriesDataPointsOutput { +} export interface Deployment { deploymentId?: string; deploymentType?: DeploymentType; @@ -3625,11 +2547,7 @@ export interface DeploymentProperties { startTimeoutMinutes?: number; endTimeoutMinutes?: number; } -export type DeploymentStatus = - | "IN_PROGRESS" - | "SUCCESSFUL" - | "FAILED" - | "PENDING_DEPLOYMENT"; +export type DeploymentStatus = "IN_PROGRESS" | "SUCCESSFUL" | "FAILED" | "PENDING_DEPLOYMENT"; export type DeploymentType = "CREATE" | "UPDATE" | "DELETE"; export type Description = string; @@ -3643,27 +2561,23 @@ export interface DisassociateEnvironmentRoleInput { environmentIdentifier: string; environmentRoleArn: string; } -export interface DisassociateEnvironmentRoleOutput {} +export interface DisassociateEnvironmentRoleOutput { +} export interface DisassociateGovernedTermsInput { domainIdentifier: string; entityIdentifier: string; entityType: GovernedEntityType; governedGlossaryTerms: Array; } -export interface DisassociateGovernedTermsOutput {} +export interface DisassociateGovernedTermsOutput { +} export type DomainDescription = string; export type DomainId = string; export type DomainName = string; -export type DomainStatus = - | "CREATING" - | "AVAILABLE" - | "CREATION_FAILED" - | "DELETING" - | "DELETED" - | "DELETION_FAILED"; +export type DomainStatus = "CREATING" | "AVAILABLE" | "CREATION_FAILED" | "DELETING" | "DELETED" | "DELETION_FAILED"; export type DomainSummaries = Array; export interface DomainSummary { id: string; @@ -3688,9 +2602,7 @@ interface _DomainUnitGrantFilter { allDomainUnitsGrantFilter?: AllDomainUnitsGrantFilter; } -export type DomainUnitGrantFilter = _DomainUnitGrantFilter & { - allDomainUnitsGrantFilter: AllDomainUnitsGrantFilter; -}; +export type DomainUnitGrantFilter = (_DomainUnitGrantFilter & { allDomainUnitsGrantFilter: AllDomainUnitsGrantFilter }); export interface DomainUnitGroupProperties { groupId?: string; } @@ -3704,9 +2616,7 @@ interface _DomainUnitOwnerProperties { group?: DomainUnitGroupProperties; } -export type DomainUnitOwnerProperties = - | (_DomainUnitOwnerProperties & { user: DomainUnitUserProperties }) - | (_DomainUnitOwnerProperties & { group: DomainUnitGroupProperties }); +export type DomainUnitOwnerProperties = (_DomainUnitOwnerProperties & { user: DomainUnitUserProperties }) | (_DomainUnitOwnerProperties & { group: DomainUnitGroupProperties }); export type DomainUnitOwners = Array; export interface DomainUnitPolicyGrantPrincipal { domainUnitDesignation: DomainUnitDesignation; @@ -3760,8 +2670,7 @@ export interface EnvironmentBlueprintConfigurationItem { updatedAt?: Date | string; provisioningConfigurations?: Array; } -export type EnvironmentBlueprintConfigurations = - Array; +export type EnvironmentBlueprintConfigurations = Array; export type EnvironmentBlueprintId = string; export type EnvironmentBlueprintName = string; @@ -3804,8 +2713,7 @@ export interface EnvironmentConfigurationParametersDetails { parameterOverrides?: Array; resolvedParameters?: Array; } -export type EnvironmentConfigurationParametersList = - Array; +export type EnvironmentConfigurationParametersList = Array; export type EnvironmentConfigurationsList = Array; export interface EnvironmentConfigurationUserParameter { environmentId?: string; @@ -3813,8 +2721,7 @@ export interface EnvironmentConfigurationUserParameter { environmentConfigurationName?: string; environmentParameters?: Array; } -export type EnvironmentConfigurationUserParametersList = - Array; +export type EnvironmentConfigurationUserParametersList = Array; export interface EnvironmentDeploymentDetails { overallDeploymentStatus?: OverallDeploymentStatus; environmentFailureReasons?: Record>; @@ -3857,20 +2764,7 @@ export interface EnvironmentResolvedAccount { regionName: string; sourceAccountPoolId?: string; } -export type EnvironmentStatus = - | "ACTIVE" - | "CREATING" - | "UPDATING" - | "DELETING" - | "CREATE_FAILED" - | "UPDATE_FAILED" - | "DELETE_FAILED" - | "VALIDATION_FAILED" - | "SUSPENDED" - | "DISABLED" - | "EXPIRED" - | "DELETED" - | "INACCESSIBLE"; +export type EnvironmentStatus = "ACTIVE" | "CREATING" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED" | "VALIDATION_FAILED" | "SUSPENDED" | "DISABLED" | "EXPIRED" | "DELETED" | "INACCESSIBLE"; export type EnvironmentSummaries = Array; export interface EnvironmentSummary { projectId: string; @@ -3898,9 +2792,7 @@ interface _EventSummary { openLineageRunEventSummary?: OpenLineageRunEventSummary; } -export type EventSummary = _EventSummary & { - openLineageRunEventSummary: OpenLineageRunEventSummary; -}; +export type EventSummary = (_EventSummary & { openLineageRunEventSummary: OpenLineageRunEventSummary }); export type ExternalIdentifier = string; export type FailedQueryProcessingErrorMessages = Array; @@ -3918,10 +2810,7 @@ interface _FilterClause { or?: Array; } -export type FilterClause = - | (_FilterClause & { filter: Filter }) - | (_FilterClause & { and: Array }) - | (_FilterClause & { or: Array }); +export type FilterClause = (_FilterClause & { filter: Filter }) | (_FilterClause & { and: Array }) | (_FilterClause & { or: Array }); export interface FilterExpression { type: FilterExpressionType; expression: string; @@ -4704,20 +3593,7 @@ export interface GlueConnectionPatch { connectionProperties?: Record; authenticationConfiguration?: AuthenticationConfigurationPatch; } -export type GlueConnectionType = - | "SNOWFLAKE" - | "BIGQUERY" - | "DOCUMENTDB" - | "DYNAMODB" - | "MYSQL" - | "OPENSEARCH" - | "ORACLE" - | "POSTGRESQL" - | "REDSHIFT" - | "SAPHANA" - | "SQLSERVER" - | "TERADATA" - | "VERTICA"; +export type GlueConnectionType = "SNOWFLAKE" | "BIGQUERY" | "DOCUMENTDB" | "DYNAMODB" | "MYSQL" | "OPENSEARCH" | "ORACLE" | "POSTGRESQL" | "REDSHIFT" | "SAPHANA" | "SQLSERVER" | "TERADATA" | "VERTICA"; export interface GlueOAuth2Credentials { userManagedClientApplicationClientSecret?: string; accessToken?: string; @@ -4758,14 +3634,12 @@ interface _GrantedEntity { listing?: ListingRevision; } -export type GrantedEntity = _GrantedEntity & { listing: ListingRevision }; +export type GrantedEntity = (_GrantedEntity & { listing: ListingRevision }); interface _GrantedEntityInput { listing?: ListingRevisionInput; } -export type GrantedEntityInput = _GrantedEntityInput & { - listing: ListingRevisionInput; -}; +export type GrantedEntityInput = (_GrantedEntityInput & { listing: ListingRevisionInput }); export type GrantIdentifier = string; export interface GreaterThanExpression { @@ -4785,9 +3659,7 @@ interface _GroupPolicyGrantPrincipal { groupIdentifier?: string; } -export type GroupPolicyGrantPrincipal = _GroupPolicyGrantPrincipal & { - groupIdentifier: string; -}; +export type GroupPolicyGrantPrincipal = (_GroupPolicyGrantPrincipal & { groupIdentifier: string }); export type GroupProfileId = string; export type GroupProfileName = string; @@ -4842,11 +3714,7 @@ export declare class InternalServerException extends EffectData.TaggedError( )<{ readonly message: string; }> {} -export type InventorySearchScope = - | "ASSET" - | "GLOSSARY" - | "GLOSSARY_TERM" - | "DATA_PRODUCT"; +export type InventorySearchScope = "ASSET" | "GLOSSARY" | "GLOSSARY_TERM" | "DATA_PRODUCT"; export interface IsNotNullExpression { columnName: string; } @@ -4858,22 +3726,12 @@ interface _JobRunDetails { lineageRunDetails?: LineageRunDetails; } -export type JobRunDetails = _JobRunDetails & { - lineageRunDetails: LineageRunDetails; -}; +export type JobRunDetails = (_JobRunDetails & { lineageRunDetails: LineageRunDetails }); export interface JobRunError { message: string; } export type JobRunMode = "SCHEDULED" | "ON_DEMAND"; -export type JobRunStatus = - | "SCHEDULED" - | "IN_PROGRESS" - | "SUCCESS" - | "PARTIALLY_SUCCEEDED" - | "FAILED" - | "ABORTED" - | "TIMED_OUT" - | "CANCELED"; +export type JobRunStatus = "SCHEDULED" | "IN_PROGRESS" | "SUCCESS" | "PARTIALLY_SUCCEEDED" | "FAILED" | "ABORTED" | "TIMED_OUT" | "CANCELED"; export type JobRunSummaries = Array; export interface JobRunSummary { domainId?: string; @@ -4919,11 +3777,7 @@ export type LineageEventErrorMessage = string; export type LineageEventIdentifier = string; -export type LineageEventProcessingStatus = - | "REQUESTED" - | "PROCESSING" - | "SUCCESS" - | "FAILED"; +export type LineageEventProcessingStatus = "REQUESTED" | "PROCESSING" | "SUCCESS" | "FAILED"; export type LineageEventSummaries = Array; export interface LineageEventSummary { id?: string; @@ -4934,11 +3788,7 @@ export interface LineageEventSummary { createdBy?: string; createdAt?: Date | string; } -export type LineageImportStatus = - | "IN_PROGRESS" - | "SUCCESS" - | "FAILED" - | "PARTIALLY_SUCCEEDED"; +export type LineageImportStatus = "IN_PROGRESS" | "SUCCESS" | "FAILED" | "PARTIALLY_SUCCEEDED"; export interface LineageInfo { eventId?: string; eventStatus?: LineageEventProcessingStatus; @@ -5197,9 +4047,7 @@ interface _ListingItem { dataProductListing?: DataProductListing; } -export type ListingItem = - | (_ListingItem & { assetListing: AssetListing }) - | (_ListingItem & { dataProductListing: DataProductListing }); +export type ListingItem = (_ListingItem & { assetListing: AssetListing }) | (_ListingItem & { dataProductListing: DataProductListing }); export type ListingName = string; export interface ListingRevision { @@ -5437,21 +4285,7 @@ export interface ManagedEndpointCredentials { id?: string; token?: string; } -export type ManagedPolicyType = - | "CREATE_DOMAIN_UNIT" - | "OVERRIDE_DOMAIN_UNIT_OWNERS" - | "ADD_TO_PROJECT_MEMBER_POOL" - | "OVERRIDE_PROJECT_OWNERS" - | "CREATE_GLOSSARY" - | "CREATE_FORM_TYPE" - | "CREATE_ASSET_TYPE" - | "CREATE_PROJECT" - | "CREATE_ENVIRONMENT_PROFILE" - | "DELEGATE_CREATE_ENVIRONMENT_PROFILE" - | "CREATE_ENVIRONMENT" - | "CREATE_ENVIRONMENT_FROM_BLUEPRINT" - | "CREATE_PROJECT_FROM_PROJECT_PROFILE" - | "USE_ASSET_TYPE"; +export type ManagedPolicyType = "CREATE_DOMAIN_UNIT" | "OVERRIDE_DOMAIN_UNIT_OWNERS" | "ADD_TO_PROJECT_MEMBER_POOL" | "OVERRIDE_PROJECT_OWNERS" | "CREATE_GLOSSARY" | "CREATE_FORM_TYPE" | "CREATE_ASSET_TYPE" | "CREATE_PROJECT" | "CREATE_ENVIRONMENT_PROFILE" | "DELEGATE_CREATE_ENVIRONMENT_PROFILE" | "CREATE_ENVIRONMENT" | "CREATE_ENVIRONMENT_FROM_BLUEPRINT" | "CREATE_PROJECT_FROM_PROJECT_PROFILE" | "USE_ASSET_TYPE"; export type MatchCriteria = Array; export interface MatchOffset { startOffset?: number; @@ -5463,9 +4297,7 @@ interface _MatchRationaleItem { textMatches?: Array; } -export type MatchRationaleItem = _MatchRationaleItem & { - textMatches: Array; -}; +export type MatchRationaleItem = (_MatchRationaleItem & { textMatches: Array }); export type MaxResults = number; export type MaxResultsForListDomains = number; @@ -5475,17 +4307,13 @@ interface _Member { groupIdentifier?: string; } -export type Member = - | (_Member & { userIdentifier: string }) - | (_Member & { groupIdentifier: string }); +export type Member = (_Member & { userIdentifier: string }) | (_Member & { groupIdentifier: string }); interface _MemberDetails { user?: UserDetails; group?: GroupDetails; } -export type MemberDetails = - | (_MemberDetails & { user: UserDetails }) - | (_MemberDetails & { group: GroupDetails }); +export type MemberDetails = (_MemberDetails & { user: UserDetails }) | (_MemberDetails & { group: GroupDetails }); export type Message = string; export interface MetadataFormEnforcementDetail { @@ -5516,12 +4344,7 @@ export interface MetadataGenerationRunItem { owningProjectId: string; } export type MetadataGenerationRuns = Array; -export type MetadataGenerationRunStatus = - | "SUBMITTED" - | "IN_PROGRESS" - | "CANCELED" - | "SUCCEEDED" - | "FAILED"; +export type MetadataGenerationRunStatus = "SUBMITTED" | "IN_PROGRESS" | "CANCELED" | "SUCCEEDED" | "FAILED"; export interface MetadataGenerationRunTarget { type: MetadataGenerationTargetType; identifier: string; @@ -5546,7 +4369,7 @@ interface _Model { smithy?: string; } -export type Model = _Model & { smithy: string }; +export type Model = (_Model & { smithy: string }); export type Name = string; export interface NameIdentifier { @@ -5577,12 +4400,7 @@ export interface NotificationResource { name?: string; } export type NotificationResourceType = "PROJECT"; -export type NotificationRole = - | "PROJECT_OWNER" - | "PROJECT_CONTRIBUTOR" - | "PROJECT_VIEWER" - | "DOMAIN_OWNER" - | "PROJECT_SUBSCRIBER"; +export type NotificationRole = "PROJECT_OWNER" | "PROJECT_CONTRIBUTOR" | "PROJECT_VIEWER" | "DOMAIN_OWNER" | "PROJECT_SUBSCRIBER"; export type NotificationsList = Array; export type NotificationSubjects = Array; export type NotificationType = "TASK" | "EVENT"; @@ -5598,10 +4416,7 @@ export interface OAuth2ClientApplication { userManagedClientApplicationClientId?: string; aWSManagedClientApplicationReference?: string; } -export type OAuth2GrantType = - | "AUTHORIZATION_CODE" - | "CLIENT_CREDENTIALS" - | "JWT_BEARER"; +export type OAuth2GrantType = "AUTHORIZATION_CODE" | "CLIENT_CREDENTIALS" | "JWT_BEARER"; export interface OAuth2Properties { oAuth2GrantType?: OAuth2GrantType; oAuth2ClientApplication?: OAuth2ClientApplication; @@ -5617,19 +4432,8 @@ export interface OpenLineageRunEventSummary { inputs?: Array; outputs?: Array; } -export type OpenLineageRunState = - | "START" - | "RUNNING" - | "COMPLETE" - | "ABORT" - | "FAIL" - | "OTHER"; -export type OverallDeploymentStatus = - | "PENDING_DEPLOYMENT" - | "IN_PROGRESS" - | "SUCCESSFUL" - | "FAILED_VALIDATION" - | "FAILED_DEPLOYMENT"; +export type OpenLineageRunState = "START" | "RUNNING" | "COMPLETE" | "ABORT" | "FAIL" | "OTHER"; +export type OverallDeploymentStatus = "PENDING_DEPLOYMENT" | "IN_PROGRESS" | "SUCCESSFUL" | "FAILED_VALIDATION" | "FAILED_DEPLOYMENT"; export interface OverrideDomainUnitOwnersPolicyGrantDetail { includeChildDomainUnits?: boolean; } @@ -5647,17 +4451,13 @@ interface _OwnerProperties { group?: OwnerGroupProperties; } -export type OwnerProperties = - | (_OwnerProperties & { user: OwnerUserProperties }) - | (_OwnerProperties & { group: OwnerGroupProperties }); +export type OwnerProperties = (_OwnerProperties & { user: OwnerUserProperties }) | (_OwnerProperties & { group: OwnerGroupProperties }); interface _OwnerPropertiesOutput { user?: OwnerUserPropertiesOutput; group?: OwnerGroupPropertiesOutput; } -export type OwnerPropertiesOutput = - | (_OwnerPropertiesOutput & { user: OwnerUserPropertiesOutput }) - | (_OwnerPropertiesOutput & { group: OwnerGroupPropertiesOutput }); +export type OwnerPropertiesOutput = (_OwnerPropertiesOutput & { user: OwnerUserPropertiesOutput }) | (_OwnerPropertiesOutput & { group: OwnerGroupPropertiesOutput }); export interface OwnerUserProperties { userIdentifier: string; } @@ -5706,33 +4506,7 @@ interface _PolicyGrantDetail { useAssetType?: UseAssetTypePolicyGrantDetail; } -export type PolicyGrantDetail = - | (_PolicyGrantDetail & { - createDomainUnit: CreateDomainUnitPolicyGrantDetail; - }) - | (_PolicyGrantDetail & { - overrideDomainUnitOwners: OverrideDomainUnitOwnersPolicyGrantDetail; - }) - | (_PolicyGrantDetail & { - addToProjectMemberPool: AddToProjectMemberPoolPolicyGrantDetail; - }) - | (_PolicyGrantDetail & { - overrideProjectOwners: OverrideProjectOwnersPolicyGrantDetail; - }) - | (_PolicyGrantDetail & { createGlossary: CreateGlossaryPolicyGrantDetail }) - | (_PolicyGrantDetail & { createFormType: CreateFormTypePolicyGrantDetail }) - | (_PolicyGrantDetail & { createAssetType: CreateAssetTypePolicyGrantDetail }) - | (_PolicyGrantDetail & { createProject: CreateProjectPolicyGrantDetail }) - | (_PolicyGrantDetail & { - createEnvironmentProfile: CreateEnvironmentProfilePolicyGrantDetail; - }) - | (_PolicyGrantDetail & { delegateCreateEnvironmentProfile: Unit }) - | (_PolicyGrantDetail & { createEnvironment: Unit }) - | (_PolicyGrantDetail & { createEnvironmentFromBlueprint: Unit }) - | (_PolicyGrantDetail & { - createProjectFromProjectProfile: CreateProjectFromProjectProfilePolicyGrantDetail; - }) - | (_PolicyGrantDetail & { useAssetType: UseAssetTypePolicyGrantDetail }); +export type PolicyGrantDetail = (_PolicyGrantDetail & { createDomainUnit: CreateDomainUnitPolicyGrantDetail }) | (_PolicyGrantDetail & { overrideDomainUnitOwners: OverrideDomainUnitOwnersPolicyGrantDetail }) | (_PolicyGrantDetail & { addToProjectMemberPool: AddToProjectMemberPoolPolicyGrantDetail }) | (_PolicyGrantDetail & { overrideProjectOwners: OverrideProjectOwnersPolicyGrantDetail }) | (_PolicyGrantDetail & { createGlossary: CreateGlossaryPolicyGrantDetail }) | (_PolicyGrantDetail & { createFormType: CreateFormTypePolicyGrantDetail }) | (_PolicyGrantDetail & { createAssetType: CreateAssetTypePolicyGrantDetail }) | (_PolicyGrantDetail & { createProject: CreateProjectPolicyGrantDetail }) | (_PolicyGrantDetail & { createEnvironmentProfile: CreateEnvironmentProfilePolicyGrantDetail }) | (_PolicyGrantDetail & { delegateCreateEnvironmentProfile: Unit }) | (_PolicyGrantDetail & { createEnvironment: Unit }) | (_PolicyGrantDetail & { createEnvironmentFromBlueprint: Unit }) | (_PolicyGrantDetail & { createProjectFromProjectProfile: CreateProjectFromProjectProfilePolicyGrantDetail }) | (_PolicyGrantDetail & { useAssetType: UseAssetTypePolicyGrantDetail }); export type PolicyGrantList = Array; export interface PolicyGrantMember { principal?: PolicyGrantPrincipal; @@ -5748,11 +4522,7 @@ interface _PolicyGrantPrincipal { domainUnit?: DomainUnitPolicyGrantPrincipal; } -export type PolicyGrantPrincipal = - | (_PolicyGrantPrincipal & { user: UserPolicyGrantPrincipal }) - | (_PolicyGrantPrincipal & { group: GroupPolicyGrantPrincipal }) - | (_PolicyGrantPrincipal & { project: ProjectPolicyGrantPrincipal }) - | (_PolicyGrantPrincipal & { domainUnit: DomainUnitPolicyGrantPrincipal }); +export type PolicyGrantPrincipal = (_PolicyGrantPrincipal & { user: UserPolicyGrantPrincipal }) | (_PolicyGrantPrincipal & { group: GroupPolicyGrantPrincipal }) | (_PolicyGrantPrincipal & { project: ProjectPolicyGrantPrincipal }) | (_PolicyGrantPrincipal & { domainUnit: DomainUnitPolicyGrantPrincipal }); export interface PostLineageEventInput { domainIdentifier: string; event: Uint8Array | string; @@ -5783,17 +4553,12 @@ export interface ProjectDeletionError { code?: string; message?: string; } -export type ProjectDesignation = - | "OWNER" - | "CONTRIBUTOR" - | "PROJECT_CATALOG_STEWARD"; +export type ProjectDesignation = "OWNER" | "CONTRIBUTOR" | "PROJECT_CATALOG_STEWARD"; interface _ProjectGrantFilter { domainUnitFilter?: DomainUnitFilterForProject; } -export type ProjectGrantFilter = _ProjectGrantFilter & { - domainUnitFilter: DomainUnitFilterForProject; -}; +export type ProjectGrantFilter = (_ProjectGrantFilter & { domainUnitFilter: DomainUnitFilterForProject }); export type ProjectId = string; export type ProjectIds = Array; @@ -5831,13 +4596,7 @@ export interface ProjectsForRule { selectionMode: RuleScopeSelectionMode; specificProjects?: Array; } -export type ProjectStatus = - | "ACTIVE" - | "DELETING" - | "DELETE_FAILED" - | "UPDATING" - | "UPDATE_FAILED" - | "MOVING"; +export type ProjectStatus = "ACTIVE" | "DELETING" | "DELETE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "MOVING"; export type ProjectSummaries = Array; export interface ProjectSummary { domainId: string; @@ -5852,29 +4611,18 @@ export interface ProjectSummary { domainUnitId?: string; } export type PropertyMap = Record; -export type Protocol = - | "ATHENA" - | "GLUE_INTERACTIVE_SESSION" - | "HTTPS" - | "JDBC" - | "LIVY" - | "ODBC" - | "PRISM"; +export type Protocol = "ATHENA" | "GLUE_INTERACTIVE_SESSION" | "HTTPS" | "JDBC" | "LIVY" | "ODBC" | "PRISM"; interface _ProvisioningConfiguration { lakeFormationConfiguration?: LakeFormationConfiguration; } -export type ProvisioningConfiguration = _ProvisioningConfiguration & { - lakeFormationConfiguration: LakeFormationConfiguration; -}; +export type ProvisioningConfiguration = (_ProvisioningConfiguration & { lakeFormationConfiguration: LakeFormationConfiguration }); export type ProvisioningConfigurationList = Array; interface _ProvisioningProperties { cloudFormation?: CloudFormationProperties; } -export type ProvisioningProperties = _ProvisioningProperties & { - cloudFormation: CloudFormationProperties; -}; +export type ProvisioningProperties = (_ProvisioningProperties & { cloudFormation: CloudFormationProperties }); export interface PutEnvironmentBlueprintConfigurationInput { domainIdentifier: string; environmentBlueprintIdentifier: string; @@ -5912,9 +4660,7 @@ interface _RedshiftCredentials { usernamePassword?: UsernamePassword; } -export type RedshiftCredentials = - | (_RedshiftCredentials & { secretArn: string }) - | (_RedshiftCredentials & { usernamePassword: UsernamePassword }); +export type RedshiftCredentials = (_RedshiftCredentials & { secretArn: string }) | (_RedshiftCredentials & { usernamePassword: UsernamePassword }); export interface RedshiftLineageSyncConfigurationInput { enabled?: boolean; schedule?: LineageSyncSchedule; @@ -5976,27 +4722,19 @@ interface _RedshiftStorage { redshiftServerlessSource?: RedshiftServerlessStorage; } -export type RedshiftStorage = - | (_RedshiftStorage & { redshiftClusterSource: RedshiftClusterStorage }) - | (_RedshiftStorage & { - redshiftServerlessSource: RedshiftServerlessStorage; - }); +export type RedshiftStorage = (_RedshiftStorage & { redshiftClusterSource: RedshiftClusterStorage }) | (_RedshiftStorage & { redshiftServerlessSource: RedshiftServerlessStorage }); interface _RedshiftStorageProperties { clusterName?: string; workgroupName?: string; } -export type RedshiftStorageProperties = - | (_RedshiftStorageProperties & { clusterName: string }) - | (_RedshiftStorageProperties & { workgroupName: string }); +export type RedshiftStorageProperties = (_RedshiftStorageProperties & { clusterName: string }) | (_RedshiftStorageProperties & { workgroupName: string }); interface _Region { regionName?: string; regionNamePath?: string; } -export type Region = - | (_Region & { regionName: string }) - | (_Region & { regionNamePath: string }); +export type Region = (_Region & { regionName: string }) | (_Region & { regionNamePath: string }); export type RegionalParameter = Record; export type RegionalParameterMap = Record>; export type RegionName = string; @@ -6050,8 +4788,7 @@ export interface RelationalFilterConfiguration { schemaName?: string; filterExpressions?: Array; } -export type RelationalFilterConfigurations = - Array; +export type RelationalFilterConfigurations = Array; export interface RemoveEntityOwnerInput { domainIdentifier: string; entityType: DataZoneEntityType; @@ -6059,7 +4796,8 @@ export interface RemoveEntityOwnerInput { owner: OwnerProperties; clientToken?: string; } -export interface RemoveEntityOwnerOutput {} +export interface RemoveEntityOwnerOutput { +} export interface RemovePolicyGrantInput { domainIdentifier: string; entityType: TargetEntityType; @@ -6069,7 +4807,8 @@ export interface RemovePolicyGrantInput { grantIdentifier?: string; clientToken?: string; } -export interface RemovePolicyGrantOutput {} +export interface RemovePolicyGrantOutput { +} export type RequestReason = string; export type RequiredMetadataFormList = Array; @@ -6128,10 +4867,7 @@ interface _RowFilter { or?: Array; } -export type RowFilter = - | (_RowFilter & { expression: RowFilterExpression }) - | (_RowFilter & { and: Array }) - | (_RowFilter & { or: Array }); +export type RowFilter = (_RowFilter & { expression: RowFilterExpression }) | (_RowFilter & { and: Array }) | (_RowFilter & { or: Array }); export interface RowFilterConfiguration { rowFilter: RowFilter; sensitive?: boolean; @@ -6151,33 +4887,15 @@ interface _RowFilterExpression { notLike?: NotLikeExpression; } -export type RowFilterExpression = - | (_RowFilterExpression & { equalTo: EqualToExpression }) - | (_RowFilterExpression & { notEqualTo: NotEqualToExpression }) - | (_RowFilterExpression & { greaterThan: GreaterThanExpression }) - | (_RowFilterExpression & { lessThan: LessThanExpression }) - | (_RowFilterExpression & { - greaterThanOrEqualTo: GreaterThanOrEqualToExpression; - }) - | (_RowFilterExpression & { lessThanOrEqualTo: LessThanOrEqualToExpression }) - | (_RowFilterExpression & { isNull: IsNullExpression }) - | (_RowFilterExpression & { isNotNull: IsNotNullExpression }) - | (_RowFilterExpression & { in: InExpression }) - | (_RowFilterExpression & { notIn: NotInExpression }) - | (_RowFilterExpression & { like: LikeExpression }) - | (_RowFilterExpression & { notLike: NotLikeExpression }); +export type RowFilterExpression = (_RowFilterExpression & { equalTo: EqualToExpression }) | (_RowFilterExpression & { notEqualTo: NotEqualToExpression }) | (_RowFilterExpression & { greaterThan: GreaterThanExpression }) | (_RowFilterExpression & { lessThan: LessThanExpression }) | (_RowFilterExpression & { greaterThanOrEqualTo: GreaterThanOrEqualToExpression }) | (_RowFilterExpression & { lessThanOrEqualTo: LessThanOrEqualToExpression }) | (_RowFilterExpression & { isNull: IsNullExpression }) | (_RowFilterExpression & { isNotNull: IsNotNullExpression }) | (_RowFilterExpression & { in: InExpression }) | (_RowFilterExpression & { notIn: NotInExpression }) | (_RowFilterExpression & { like: LikeExpression }) | (_RowFilterExpression & { notLike: NotLikeExpression }); export type RowFilterList = Array; -export type RuleAction = - | "CREATE_LISTING_CHANGE_SET" - | "CREATE_SUBSCRIPTION_REQUEST"; +export type RuleAction = "CREATE_LISTING_CHANGE_SET" | "CREATE_SUBSCRIPTION_REQUEST"; export type RuleAssetTypeList = Array; interface _RuleDetail { metadataFormEnforcementDetail?: MetadataFormEnforcementDetail; } -export type RuleDetail = _RuleDetail & { - metadataFormEnforcementDetail: MetadataFormEnforcementDetail; -}; +export type RuleDetail = (_RuleDetail & { metadataFormEnforcementDetail: MetadataFormEnforcementDetail }); export type RuleId = string; export type RuleName = string; @@ -6206,7 +4924,7 @@ interface _RuleTarget { domainUnitTarget?: DomainUnitTarget; } -export type RuleTarget = _RuleTarget & { domainUnitTarget: DomainUnitTarget }; +export type RuleTarget = (_RuleTarget & { domainUnitTarget: DomainUnitTarget }); export type RuleTargetType = "DOMAIN_UNIT"; export type RuleType = "METADATA_FORM_ENFORCEMENT"; export type RunIdentifier = string; @@ -6289,11 +5007,7 @@ interface _SearchInventoryResultItem { dataProductItem?: DataProductResultItem; } -export type SearchInventoryResultItem = - | (_SearchInventoryResultItem & { glossaryItem: GlossaryItem }) - | (_SearchInventoryResultItem & { glossaryTermItem: GlossaryTermItem }) - | (_SearchInventoryResultItem & { assetItem: AssetItem }) - | (_SearchInventoryResultItem & { dataProductItem: DataProductResultItem }); +export type SearchInventoryResultItem = (_SearchInventoryResultItem & { glossaryItem: GlossaryItem }) | (_SearchInventoryResultItem & { glossaryTermItem: GlossaryTermItem }) | (_SearchInventoryResultItem & { assetItem: AssetItem }) | (_SearchInventoryResultItem & { dataProductItem: DataProductResultItem }); export type SearchInventoryResultItems = Array; export interface SearchListingsInput { domainIdentifier: string; @@ -6317,20 +5031,14 @@ export interface SearchOutput { nextToken?: string; totalMatchCount?: number; } -export type SearchOutputAdditionalAttribute = - | "FORMS" - | "TIME_SERIES_DATA_POINT_FORMS" - | "TEXT_MATCH_RATIONALE"; -export type SearchOutputAdditionalAttributes = - Array; +export type SearchOutputAdditionalAttribute = "FORMS" | "TIME_SERIES_DATA_POINT_FORMS" | "TEXT_MATCH_RATIONALE"; +export type SearchOutputAdditionalAttributes = Array; interface _SearchResultItem { assetListing?: AssetListingItem; dataProductListing?: DataProductListingItem; } -export type SearchResultItem = - | (_SearchResultItem & { assetListing: AssetListingItem }) - | (_SearchResultItem & { dataProductListing: DataProductListingItem }); +export type SearchResultItem = (_SearchResultItem & { assetListing: AssetListingItem }) | (_SearchResultItem & { dataProductListing: DataProductListingItem }); export type SearchResultItems = Array; export interface SearchSort { attribute: string; @@ -6360,10 +5068,7 @@ interface _SearchTypesResultItem { lineageNodeTypeItem?: LineageNodeTypeItem; } -export type SearchTypesResultItem = - | (_SearchTypesResultItem & { assetTypeItem: AssetTypeItem }) - | (_SearchTypesResultItem & { formTypeItem: FormTypeData }) - | (_SearchTypesResultItem & { lineageNodeTypeItem: LineageNodeTypeItem }); +export type SearchTypesResultItem = (_SearchTypesResultItem & { assetTypeItem: AssetTypeItem }) | (_SearchTypesResultItem & { formTypeItem: FormTypeData }) | (_SearchTypesResultItem & { lineageNodeTypeItem: LineageNodeTypeItem }); export type SearchTypesResultItems = Array; export interface SearchUserProfilesInput { domainIdentifier: string; @@ -6377,14 +5082,7 @@ export interface SearchUserProfilesOutput { nextToken?: string; } export type SecurityGroupIdList = Array; -export type SelfGrantStatus = - | "GRANT_PENDING" - | "REVOKE_PENDING" - | "GRANT_IN_PROGRESS" - | "REVOKE_IN_PROGRESS" - | "GRANTED" - | "GRANT_FAILED" - | "REVOKE_FAILED"; +export type SelfGrantStatus = "GRANT_PENDING" | "REVOKE_PENDING" | "GRANT_IN_PROGRESS" | "REVOKE_IN_PROGRESS" | "GRANTED" | "GRANT_FAILED" | "REVOKE_FAILED"; export interface SelfGrantStatusDetail { databaseName: string; schemaName?: string; @@ -6397,13 +5095,7 @@ interface _SelfGrantStatusOutput { redshiftSelfGrantStatus?: RedshiftSelfGrantStatusOutput; } -export type SelfGrantStatusOutput = - | (_SelfGrantStatusOutput & { - glueSelfGrantStatus: GlueSelfGrantStatusOutput; - }) - | (_SelfGrantStatusOutput & { - redshiftSelfGrantStatus: RedshiftSelfGrantStatusOutput; - }); +export type SelfGrantStatusOutput = (_SelfGrantStatusOutput & { glueSelfGrantStatus: GlueSelfGrantStatusOutput }) | (_SelfGrantStatusOutput & { redshiftSelfGrantStatus: RedshiftSelfGrantStatusOutput }); export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", )<{ @@ -6565,24 +5257,18 @@ interface _SubscribedListingItem { productListing?: SubscribedProductListing; } -export type SubscribedListingItem = - | (_SubscribedListingItem & { assetListing: SubscribedAssetListing }) - | (_SubscribedListingItem & { productListing: SubscribedProductListing }); +export type SubscribedListingItem = (_SubscribedListingItem & { assetListing: SubscribedAssetListing }) | (_SubscribedListingItem & { productListing: SubscribedProductListing }); export type SubscribedListings = Array; interface _SubscribedPrincipal { project?: SubscribedProject; } -export type SubscribedPrincipal = _SubscribedPrincipal & { - project: SubscribedProject; -}; +export type SubscribedPrincipal = (_SubscribedPrincipal & { project: SubscribedProject }); interface _SubscribedPrincipalInput { project?: SubscribedProjectInput; } -export type SubscribedPrincipalInput = _SubscribedPrincipalInput & { - project: SubscribedProjectInput; -}; +export type SubscribedPrincipalInput = (_SubscribedPrincipalInput & { project: SubscribedProjectInput }); export type SubscribedPrincipalInputs = Array; export type SubscribedPrincipals = Array; export interface SubscribedProductListing { @@ -6602,24 +5288,9 @@ export interface SubscribedProjectInput { } export type SubscriptionGrantId = string; -export type SubscriptionGrantOverallStatus = - | "PENDING" - | "IN_PROGRESS" - | "GRANT_FAILED" - | "REVOKE_FAILED" - | "GRANT_AND_REVOKE_FAILED" - | "COMPLETED" - | "INACCESSIBLE"; +export type SubscriptionGrantOverallStatus = "PENDING" | "IN_PROGRESS" | "GRANT_FAILED" | "REVOKE_FAILED" | "GRANT_AND_REVOKE_FAILED" | "COMPLETED" | "INACCESSIBLE"; export type SubscriptionGrants = Array; -export type SubscriptionGrantStatus = - | "GRANT_PENDING" - | "REVOKE_PENDING" - | "GRANT_IN_PROGRESS" - | "REVOKE_IN_PROGRESS" - | "GRANTED" - | "REVOKED" - | "GRANT_FAILED" - | "REVOKE_FAILED"; +export type SubscriptionGrantStatus = "GRANT_PENDING" | "REVOKE_PENDING" | "GRANT_IN_PROGRESS" | "REVOKE_IN_PROGRESS" | "GRANTED" | "REVOKED" | "GRANT_FAILED" | "REVOKE_FAILED"; export interface SubscriptionGrantSummary { id: string; createdBy: string; @@ -6704,15 +5375,12 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; -export type TargetEntityType = - | "DOMAIN_UNIT" - | "ENVIRONMENT_BLUEPRINT_CONFIGURATION" - | "ENVIRONMENT_PROFILE" - | "ASSET_TYPE"; +export type TargetEntityType = "DOMAIN_UNIT" | "ENVIRONMENT_BLUEPRINT_CONFIGURATION" | "ENVIRONMENT_PROFILE" | "ASSET_TYPE"; export type TaskId = string; export type TaskStatus = "ACTIVE" | "INACTIVE"; @@ -6738,8 +5406,7 @@ export interface TimeSeriesDataPointFormInput { timestamp: Date | string; content?: string; } -export type TimeSeriesDataPointFormInputList = - Array; +export type TimeSeriesDataPointFormInputList = Array; export interface TimeSeriesDataPointFormOutput { formName: string; typeIdentifier: string; @@ -6748,8 +5415,7 @@ export interface TimeSeriesDataPointFormOutput { content?: string; id?: string; } -export type TimeSeriesDataPointFormOutputList = - Array; +export type TimeSeriesDataPointFormOutputList = Array; export type TimeSeriesDataPointIdentifier = string; export interface TimeSeriesDataPointSummaryFormOutput { @@ -6760,76 +5426,11 @@ export interface TimeSeriesDataPointSummaryFormOutput { contentSummary?: string; id?: string; } -export type TimeSeriesDataPointSummaryFormOutputList = - Array; +export type TimeSeriesDataPointSummaryFormOutputList = Array; export type TimeSeriesEntityType = "ASSET" | "LISTING"; export type TimeSeriesFormName = string; -export type Timezone = - | "UTC" - | "AFRICA_JOHANNESBURG" - | "AMERICA_MONTREAL" - | "AMERICA_SAO_PAULO" - | "ASIA_BAHRAIN" - | "ASIA_BANGKOK" - | "ASIA_CALCUTTA" - | "ASIA_DUBAI" - | "ASIA_HONG_KONG" - | "ASIA_JAKARTA" - | "ASIA_KUALA_LUMPUR" - | "ASIA_SEOUL" - | "ASIA_SHANGHAI" - | "ASIA_SINGAPORE" - | "ASIA_TAIPEI" - | "ASIA_TOKYO" - | "AUSTRALIA_MELBOURNE" - | "AUSTRALIA_SYDNEY" - | "CANADA_CENTRAL" - | "CET" - | "CST6CDT" - | "ETC_GMT" - | "ETC_GMT0" - | "ETC_GMT_ADD_0" - | "ETC_GMT_ADD_1" - | "ETC_GMT_ADD_10" - | "ETC_GMT_ADD_11" - | "ETC_GMT_ADD_12" - | "ETC_GMT_ADD_2" - | "ETC_GMT_ADD_3" - | "ETC_GMT_ADD_4" - | "ETC_GMT_ADD_5" - | "ETC_GMT_ADD_6" - | "ETC_GMT_ADD_7" - | "ETC_GMT_ADD_8" - | "ETC_GMT_ADD_9" - | "ETC_GMT_NEG_0" - | "ETC_GMT_NEG_1" - | "ETC_GMT_NEG_10" - | "ETC_GMT_NEG_11" - | "ETC_GMT_NEG_12" - | "ETC_GMT_NEG_13" - | "ETC_GMT_NEG_14" - | "ETC_GMT_NEG_2" - | "ETC_GMT_NEG_3" - | "ETC_GMT_NEG_4" - | "ETC_GMT_NEG_5" - | "ETC_GMT_NEG_6" - | "ETC_GMT_NEG_7" - | "ETC_GMT_NEG_8" - | "ETC_GMT_NEG_9" - | "EUROPE_DUBLIN" - | "EUROPE_LONDON" - | "EUROPE_PARIS" - | "EUROPE_STOCKHOLM" - | "EUROPE_ZURICH" - | "ISRAEL" - | "MEXICO_GENERAL" - | "MST7MDT" - | "PACIFIC_AUCKLAND" - | "US_CENTRAL" - | "US_EASTERN" - | "US_MOUNTAIN" - | "US_PACIFIC"; +export type Timezone = "UTC" | "AFRICA_JOHANNESBURG" | "AMERICA_MONTREAL" | "AMERICA_SAO_PAULO" | "ASIA_BAHRAIN" | "ASIA_BANGKOK" | "ASIA_CALCUTTA" | "ASIA_DUBAI" | "ASIA_HONG_KONG" | "ASIA_JAKARTA" | "ASIA_KUALA_LUMPUR" | "ASIA_SEOUL" | "ASIA_SHANGHAI" | "ASIA_SINGAPORE" | "ASIA_TAIPEI" | "ASIA_TOKYO" | "AUSTRALIA_MELBOURNE" | "AUSTRALIA_SYDNEY" | "CANADA_CENTRAL" | "CET" | "CST6CDT" | "ETC_GMT" | "ETC_GMT0" | "ETC_GMT_ADD_0" | "ETC_GMT_ADD_1" | "ETC_GMT_ADD_10" | "ETC_GMT_ADD_11" | "ETC_GMT_ADD_12" | "ETC_GMT_ADD_2" | "ETC_GMT_ADD_3" | "ETC_GMT_ADD_4" | "ETC_GMT_ADD_5" | "ETC_GMT_ADD_6" | "ETC_GMT_ADD_7" | "ETC_GMT_ADD_8" | "ETC_GMT_ADD_9" | "ETC_GMT_NEG_0" | "ETC_GMT_NEG_1" | "ETC_GMT_NEG_10" | "ETC_GMT_NEG_11" | "ETC_GMT_NEG_12" | "ETC_GMT_NEG_13" | "ETC_GMT_NEG_14" | "ETC_GMT_NEG_2" | "ETC_GMT_NEG_3" | "ETC_GMT_NEG_4" | "ETC_GMT_NEG_5" | "ETC_GMT_NEG_6" | "ETC_GMT_NEG_7" | "ETC_GMT_NEG_8" | "ETC_GMT_NEG_9" | "EUROPE_DUBLIN" | "EUROPE_LONDON" | "EUROPE_PARIS" | "EUROPE_STOCKHOLM" | "EUROPE_ZURICH" | "ISRAEL" | "MEXICO_GENERAL" | "MST7MDT" | "PACIFIC_AUCKLAND" | "US_CENTRAL" | "US_EASTERN" | "US_MOUNTAIN" | "US_PACIFIC"; export type Title = string; export type TokenUrlParametersMap = Record; @@ -6848,12 +5449,14 @@ export declare class UnauthorizedException extends EffectData.TaggedError( )<{ readonly message: string; }> {} -export interface Unit {} +export interface Unit { +} export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAccountPoolInput { domainIdentifier: string; identifier: string; @@ -7302,12 +5905,7 @@ export interface UseAssetTypePolicyGrantDetail { domainUnitId?: string; } export type UserAssignment = "AUTOMATIC" | "MANUAL"; -export type UserDesignation = - | "PROJECT_OWNER" - | "PROJECT_CONTRIBUTOR" - | "PROJECT_CATALOG_VIEWER" - | "PROJECT_CATALOG_CONSUMER" - | "PROJECT_CATALOG_STEWARD"; +export type UserDesignation = "PROJECT_OWNER" | "PROJECT_CONTRIBUTOR" | "PROJECT_CATALOG_VIEWER" | "PROJECT_CATALOG_CONSUMER" | "PROJECT_CATALOG_STEWARD"; export interface UserDetails { userId: string; } @@ -7324,26 +5922,18 @@ interface _UserPolicyGrantPrincipal { allUsersGrantFilter?: AllUsersGrantFilter; } -export type UserPolicyGrantPrincipal = - | (_UserPolicyGrantPrincipal & { userIdentifier: string }) - | (_UserPolicyGrantPrincipal & { allUsersGrantFilter: AllUsersGrantFilter }); +export type UserPolicyGrantPrincipal = (_UserPolicyGrantPrincipal & { userIdentifier: string }) | (_UserPolicyGrantPrincipal & { allUsersGrantFilter: AllUsersGrantFilter }); interface _UserProfileDetails { iam?: IamUserProfileDetails; sso?: SsoUserProfileDetails; } -export type UserProfileDetails = - | (_UserProfileDetails & { iam: IamUserProfileDetails }) - | (_UserProfileDetails & { sso: SsoUserProfileDetails }); +export type UserProfileDetails = (_UserProfileDetails & { iam: IamUserProfileDetails }) | (_UserProfileDetails & { sso: SsoUserProfileDetails }); export type UserProfileId = string; export type UserProfileName = string; -export type UserProfileStatus = - | "ASSIGNED" - | "NOT_ASSIGNED" - | "ACTIVATED" - | "DEACTIVATED"; +export type UserProfileStatus = "ASSIGNED" | "NOT_ASSIGNED" | "ACTIVATED" | "DEACTIVATED"; export type UserProfileSummaries = Array; export interface UserProfileSummary { domainId?: string; @@ -7355,11 +5945,7 @@ export interface UserProfileSummary { export type UserProfileType = "IAM" | "SSO"; export type UserSearchText = string; -export type UserSearchType = - | "SSO_USER" - | "DATAZONE_USER" - | "DATAZONE_SSO_USER" - | "DATAZONE_IAM_USER"; +export type UserSearchType = "SSO_USER" | "DATAZONE_USER" | "DATAZONE_SSO_USER" | "DATAZONE_IAM_USER"; export type UserType = "IAM_USER" | "IAM_ROLE" | "SSO_USER"; export declare class ValidationException extends EffectData.TaggedError( "ValidationException", @@ -9479,13 +8065,5 @@ export declare namespace UpdateRule { | CommonAwsError; } -export type DataZoneErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError; +export type DataZoneErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError; + diff --git a/src/services/dax/index.ts b/src/services/dax/index.ts index c4a60541..dec85521 100644 --- a/src/services/dax/index.ts +++ b/src/services/dax/index.ts @@ -5,26 +5,7 @@ import type { DAX as _DAXClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/dax/types.ts b/src/services/dax/types.ts index b25be698..b2b8f856 100644 --- a/src/services/dax/types.ts +++ b/src/services/dax/types.ts @@ -7,137 +7,73 @@ export declare class DAX extends AWSServiceClient { input: CreateClusterRequest, ): Effect.Effect< CreateClusterResponse, - | ClusterAlreadyExistsFault - | ClusterQuotaForCustomerExceededFault - | InsufficientClusterCapacityFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | InvalidVPCNetworkStateFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | ServiceQuotaExceededException - | SubnetGroupNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + ClusterAlreadyExistsFault | ClusterQuotaForCustomerExceededFault | InsufficientClusterCapacityFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | InvalidVPCNetworkStateFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | ServiceQuotaExceededException | SubnetGroupNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; createParameterGroup( input: CreateParameterGroupRequest, ): Effect.Effect< CreateParameterGroupResponse, - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | ParameterGroupAlreadyExistsFault - | ParameterGroupQuotaExceededFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | ParameterGroupAlreadyExistsFault | ParameterGroupQuotaExceededFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; createSubnetGroup( input: CreateSubnetGroupRequest, ): Effect.Effect< CreateSubnetGroupResponse, - | InvalidSubnet - | ServiceLinkedRoleNotFoundFault - | SubnetGroupAlreadyExistsFault - | SubnetGroupQuotaExceededFault - | SubnetNotAllowedFault - | SubnetQuotaExceededFault - | CommonAwsError + InvalidSubnet | ServiceLinkedRoleNotFoundFault | SubnetGroupAlreadyExistsFault | SubnetGroupQuotaExceededFault | SubnetNotAllowedFault | SubnetQuotaExceededFault | CommonAwsError >; decreaseReplicationFactor( input: DecreaseReplicationFactorRequest, ): Effect.Effect< DecreaseReplicationFactorResponse, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | NodeNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | NodeNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; deleteCluster( input: DeleteClusterRequest, ): Effect.Effect< DeleteClusterResponse, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | CommonAwsError >; deleteParameterGroup( input: DeleteParameterGroupRequest, ): Effect.Effect< DeleteParameterGroupResponse, - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; deleteSubnetGroup( input: DeleteSubnetGroupRequest, ): Effect.Effect< DeleteSubnetGroupResponse, - | ServiceLinkedRoleNotFoundFault - | SubnetGroupInUseFault - | SubnetGroupNotFoundFault - | CommonAwsError + ServiceLinkedRoleNotFoundFault | SubnetGroupInUseFault | SubnetGroupNotFoundFault | CommonAwsError >; describeClusters( input: DescribeClustersRequest, ): Effect.Effect< DescribeClustersResponse, - | ClusterNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeDefaultParameters( input: DescribeDefaultParametersRequest, ): Effect.Effect< DescribeDefaultParametersResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeEvents( input: DescribeEventsRequest, ): Effect.Effect< DescribeEventsResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeParameterGroups( input: DescribeParameterGroupsRequest, ): Effect.Effect< DescribeParameterGroupsResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeParameters( input: DescribeParametersRequest, ): Effect.Effect< DescribeParametersResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeSubnetGroups( input: DescribeSubnetGroupsRequest, @@ -149,102 +85,49 @@ export declare class DAX extends AWSServiceClient { input: IncreaseReplicationFactorRequest, ): Effect.Effect< IncreaseReplicationFactorResponse, - | ClusterNotFoundFault - | InsufficientClusterCapacityFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidVPCNetworkStateFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InsufficientClusterCapacityFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidVPCNetworkStateFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; listTags( input: ListTagsRequest, ): Effect.Effect< ListTagsResponse, - | ClusterNotFoundFault - | InvalidARNFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidARNFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | CommonAwsError >; rebootNode( input: RebootNodeRequest, ): Effect.Effect< RebootNodeResponse, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | NodeNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | NodeNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ClusterNotFoundFault - | InvalidARNFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + ClusterNotFoundFault | InvalidARNFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ClusterNotFoundFault - | InvalidARNFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | TagNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidARNFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | TagNotFoundFault | CommonAwsError >; updateCluster( input: UpdateClusterRequest, ): Effect.Effect< UpdateClusterResponse, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; updateParameterGroup( input: UpdateParameterGroupRequest, ): Effect.Effect< UpdateParameterGroupResponse, - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; updateSubnetGroup( input: UpdateSubnetGroupRequest, ): Effect.Effect< UpdateSubnetGroupResponse, - | InvalidSubnet - | ServiceLinkedRoleNotFoundFault - | SubnetGroupNotFoundFault - | SubnetInUse - | SubnetNotAllowedFault - | SubnetQuotaExceededFault - | CommonAwsError + InvalidSubnet | ServiceLinkedRoleNotFoundFault | SubnetGroupNotFoundFault | SubnetInUse | SubnetNotAllowedFault | SubnetQuotaExceededFault | CommonAwsError >; } @@ -590,7 +473,8 @@ export declare class ServiceLinkedRoleNotFoundFault extends EffectData.TaggedErr }> {} export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", -)<{}> {} +)<{ +}> {} export type SourceType = "CLUSTER" | "PARAMETER_GROUP" | "SUBNET_GROUP"; export interface SSEDescription { Status?: SSEStatus; @@ -638,7 +522,9 @@ export declare class SubnetGroupQuotaExceededFault extends EffectData.TaggedErro readonly message?: string; }> {} export type SubnetIdentifierList = Array; -export declare class SubnetInUse extends EffectData.TaggedError("SubnetInUse")<{ +export declare class SubnetInUse extends EffectData.TaggedError( + "SubnetInUse", +)<{ readonly message?: string; }> {} export type SubnetList = Array; @@ -976,33 +862,5 @@ export declare namespace UpdateSubnetGroup { | CommonAwsError; } -export type DAXErrors = - | ClusterAlreadyExistsFault - | ClusterNotFoundFault - | ClusterQuotaForCustomerExceededFault - | InsufficientClusterCapacityFault - | InvalidARNFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | InvalidSubnet - | InvalidVPCNetworkStateFault - | NodeNotFoundFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | ParameterGroupAlreadyExistsFault - | ParameterGroupNotFoundFault - | ParameterGroupQuotaExceededFault - | ServiceLinkedRoleNotFoundFault - | ServiceQuotaExceededException - | SubnetGroupAlreadyExistsFault - | SubnetGroupInUseFault - | SubnetGroupNotFoundFault - | SubnetGroupQuotaExceededFault - | SubnetInUse - | SubnetNotAllowedFault - | SubnetQuotaExceededFault - | TagNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError; +export type DAXErrors = ClusterAlreadyExistsFault | ClusterNotFoundFault | ClusterQuotaForCustomerExceededFault | InsufficientClusterCapacityFault | InvalidARNFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | InvalidSubnet | InvalidVPCNetworkStateFault | NodeNotFoundFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | ParameterGroupAlreadyExistsFault | ParameterGroupNotFoundFault | ParameterGroupQuotaExceededFault | ServiceLinkedRoleNotFoundFault | ServiceQuotaExceededException | SubnetGroupAlreadyExistsFault | SubnetGroupInUseFault | SubnetGroupNotFoundFault | SubnetGroupQuotaExceededFault | SubnetInUse | SubnetNotAllowedFault | SubnetQuotaExceededFault | TagNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError; + diff --git a/src/services/deadline/index.ts b/src/services/deadline/index.ts index bcfd53f1..84e79ce1 100644 --- a/src/services/deadline/index.ts +++ b/src/services/deadline/index.ts @@ -5,23 +5,7 @@ import type { deadline as _deadlineClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,180 +14,123 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "deadline", operations: { - CreateQueueFleetAssociation: - "PUT /2023-10-12/farms/{farmId}/queue-fleet-associations", - CreateQueueLimitAssociation: - "PUT /2023-10-12/farms/{farmId}/queue-limit-associations", - DeleteQueueFleetAssociation: - "DELETE /2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", - DeleteQueueLimitAssociation: - "DELETE /2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", - GetQueueFleetAssociation: - "GET /2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", - GetQueueLimitAssociation: - "GET /2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", - GetSessionsStatisticsAggregation: - "GET /2023-10-12/farms/{farmId}/sessions-statistics-aggregation", - ListAvailableMeteredProducts: "GET /2023-10-12/metered-products", - ListQueueFleetAssociations: - "GET /2023-10-12/farms/{farmId}/queue-fleet-associations", - ListQueueLimitAssociations: - "GET /2023-10-12/farms/{farmId}/queue-limit-associations", - ListTagsForResource: "GET /2023-10-12/tags/{resourceArn}", - SearchJobs: "POST /2023-10-12/farms/{farmId}/search/jobs", - SearchSteps: "POST /2023-10-12/farms/{farmId}/search/steps", - SearchTasks: "POST /2023-10-12/farms/{farmId}/search/tasks", - SearchWorkers: "POST /2023-10-12/farms/{farmId}/search/workers", - StartSessionsStatisticsAggregation: - "POST /2023-10-12/farms/{farmId}/sessions-statistics-aggregation", - TagResource: "POST /2023-10-12/tags/{resourceArn}", - UntagResource: "DELETE /2023-10-12/tags/{resourceArn}", - UpdateQueueFleetAssociation: - "PATCH /2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", - UpdateQueueLimitAssociation: - "PATCH /2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", - AssociateMemberToFarm: - "PUT /2023-10-12/farms/{farmId}/members/{principalId}", - AssociateMemberToFleet: - "PUT /2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", - AssociateMemberToJob: - "PUT /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", - AssociateMemberToQueue: - "PUT /2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", - AssumeFleetRoleForRead: - "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/read-roles", - AssumeFleetRoleForWorker: - "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/fleet-roles", - AssumeQueueRoleForRead: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/read-roles", - AssumeQueueRoleForUser: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/user-roles", - AssumeQueueRoleForWorker: - "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/queue-roles", - BatchGetJobEntity: - "POST /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/batchGetJobEntity", - CopyJobTemplate: - "POST /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/template", - CreateBudget: "POST /2023-10-12/farms/{farmId}/budgets", - CreateFarm: "POST /2023-10-12/farms", - CreateFleet: "POST /2023-10-12/farms/{farmId}/fleets", - CreateJob: "POST /2023-10-12/farms/{farmId}/queues/{queueId}/jobs", - CreateLicenseEndpoint: "POST /2023-10-12/license-endpoints", - CreateLimit: "POST /2023-10-12/farms/{farmId}/limits", - CreateMonitor: "POST /2023-10-12/monitors", - CreateQueue: "POST /2023-10-12/farms/{farmId}/queues", - CreateQueueEnvironment: - "POST /2023-10-12/farms/{farmId}/queues/{queueId}/environments", - CreateStorageProfile: "POST /2023-10-12/farms/{farmId}/storage-profiles", - CreateWorker: "POST /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers", - DeleteBudget: "DELETE /2023-10-12/farms/{farmId}/budgets/{budgetId}", - DeleteFarm: "DELETE /2023-10-12/farms/{farmId}", - DeleteFleet: "DELETE /2023-10-12/farms/{farmId}/fleets/{fleetId}", - DeleteLicenseEndpoint: - "DELETE /2023-10-12/license-endpoints/{licenseEndpointId}", - DeleteLimit: "DELETE /2023-10-12/farms/{farmId}/limits/{limitId}", - DeleteMeteredProduct: - "DELETE /2023-10-12/license-endpoints/{licenseEndpointId}/metered-products/{productId}", - DeleteMonitor: "DELETE /2023-10-12/monitors/{monitorId}", - DeleteQueue: "DELETE /2023-10-12/farms/{farmId}/queues/{queueId}", - DeleteQueueEnvironment: - "DELETE /2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", - DeleteStorageProfile: - "DELETE /2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", - DeleteWorker: - "DELETE /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}", - DisassociateMemberFromFarm: - "DELETE /2023-10-12/farms/{farmId}/members/{principalId}", - DisassociateMemberFromFleet: - "DELETE /2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", - DisassociateMemberFromJob: - "DELETE /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", - DisassociateMemberFromQueue: - "DELETE /2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", - GetBudget: "GET /2023-10-12/farms/{farmId}/budgets/{budgetId}", - GetFarm: "GET /2023-10-12/farms/{farmId}", - GetFleet: "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}", - GetJob: "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}", - GetLicenseEndpoint: "GET /2023-10-12/license-endpoints/{licenseEndpointId}", - GetLimit: "GET /2023-10-12/farms/{farmId}/limits/{limitId}", - GetMonitor: "GET /2023-10-12/monitors/{monitorId}", - GetQueue: "GET /2023-10-12/farms/{farmId}/queues/{queueId}", - GetQueueEnvironment: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", - GetSession: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions/{sessionId}", - GetSessionAction: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/session-actions/{sessionActionId}", - GetStep: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}", - GetStorageProfile: - "GET /2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", - GetStorageProfileForQueue: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles/{storageProfileId}", - GetTask: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks/{taskId}", - GetWorker: - "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}", - ListBudgets: "GET /2023-10-12/farms/{farmId}/budgets", - ListFarmMembers: "GET /2023-10-12/farms/{farmId}/members", - ListFarms: "GET /2023-10-12/farms", - ListFleetMembers: "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/members", - ListFleets: "GET /2023-10-12/farms/{farmId}/fleets", - ListJobMembers: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members", - ListJobParameterDefinitions: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/parameter-definitions", - ListJobs: "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs", - ListLicenseEndpoints: "GET /2023-10-12/license-endpoints", - ListLimits: "GET /2023-10-12/farms/{farmId}/limits", - ListMeteredProducts: - "GET /2023-10-12/license-endpoints/{licenseEndpointId}/metered-products", - ListMonitors: "GET /2023-10-12/monitors", - ListQueueEnvironments: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/environments", - ListQueueMembers: "GET /2023-10-12/farms/{farmId}/queues/{queueId}/members", - ListQueues: "GET /2023-10-12/farms/{farmId}/queues", - ListSessionActions: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/session-actions", - ListSessions: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions", - ListSessionsForWorker: - "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/sessions", - ListStepConsumers: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/consumers", - ListStepDependencies: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/dependencies", - ListSteps: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps", - ListStorageProfiles: "GET /2023-10-12/farms/{farmId}/storage-profiles", - ListStorageProfilesForQueue: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles", - ListTasks: - "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks", - ListWorkers: "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers", - PutMeteredProduct: - "PUT /2023-10-12/license-endpoints/{licenseEndpointId}/metered-products/{productId}", - UpdateBudget: "PATCH /2023-10-12/farms/{farmId}/budgets/{budgetId}", - UpdateFarm: "PATCH /2023-10-12/farms/{farmId}", - UpdateFleet: "PATCH /2023-10-12/farms/{farmId}/fleets/{fleetId}", - UpdateJob: "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}", - UpdateLimit: "PATCH /2023-10-12/farms/{farmId}/limits/{limitId}", - UpdateMonitor: "PATCH /2023-10-12/monitors/{monitorId}", - UpdateQueue: "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}", - UpdateQueueEnvironment: - "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", - UpdateSession: - "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions/{sessionId}", - UpdateStep: - "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}", - UpdateStorageProfile: - "PATCH /2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", - UpdateTask: - "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks/{taskId}", - UpdateWorker: - "PATCH /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}", - UpdateWorkerSchedule: - "PATCH /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/schedule", + "CreateQueueFleetAssociation": "PUT /2023-10-12/farms/{farmId}/queue-fleet-associations", + "CreateQueueLimitAssociation": "PUT /2023-10-12/farms/{farmId}/queue-limit-associations", + "DeleteQueueFleetAssociation": "DELETE /2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", + "DeleteQueueLimitAssociation": "DELETE /2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", + "GetQueueFleetAssociation": "GET /2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", + "GetQueueLimitAssociation": "GET /2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", + "GetSessionsStatisticsAggregation": "GET /2023-10-12/farms/{farmId}/sessions-statistics-aggregation", + "ListAvailableMeteredProducts": "GET /2023-10-12/metered-products", + "ListQueueFleetAssociations": "GET /2023-10-12/farms/{farmId}/queue-fleet-associations", + "ListQueueLimitAssociations": "GET /2023-10-12/farms/{farmId}/queue-limit-associations", + "ListTagsForResource": "GET /2023-10-12/tags/{resourceArn}", + "SearchJobs": "POST /2023-10-12/farms/{farmId}/search/jobs", + "SearchSteps": "POST /2023-10-12/farms/{farmId}/search/steps", + "SearchTasks": "POST /2023-10-12/farms/{farmId}/search/tasks", + "SearchWorkers": "POST /2023-10-12/farms/{farmId}/search/workers", + "StartSessionsStatisticsAggregation": "POST /2023-10-12/farms/{farmId}/sessions-statistics-aggregation", + "TagResource": "POST /2023-10-12/tags/{resourceArn}", + "UntagResource": "DELETE /2023-10-12/tags/{resourceArn}", + "UpdateQueueFleetAssociation": "PATCH /2023-10-12/farms/{farmId}/queue-fleet-associations/{queueId}/{fleetId}", + "UpdateQueueLimitAssociation": "PATCH /2023-10-12/farms/{farmId}/queue-limit-associations/{queueId}/{limitId}", + "AssociateMemberToFarm": "PUT /2023-10-12/farms/{farmId}/members/{principalId}", + "AssociateMemberToFleet": "PUT /2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", + "AssociateMemberToJob": "PUT /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", + "AssociateMemberToQueue": "PUT /2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", + "AssumeFleetRoleForRead": "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/read-roles", + "AssumeFleetRoleForWorker": "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/fleet-roles", + "AssumeQueueRoleForRead": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/read-roles", + "AssumeQueueRoleForUser": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/user-roles", + "AssumeQueueRoleForWorker": "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/queue-roles", + "BatchGetJobEntity": "POST /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/batchGetJobEntity", + "CopyJobTemplate": "POST /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/template", + "CreateBudget": "POST /2023-10-12/farms/{farmId}/budgets", + "CreateFarm": "POST /2023-10-12/farms", + "CreateFleet": "POST /2023-10-12/farms/{farmId}/fleets", + "CreateJob": "POST /2023-10-12/farms/{farmId}/queues/{queueId}/jobs", + "CreateLicenseEndpoint": "POST /2023-10-12/license-endpoints", + "CreateLimit": "POST /2023-10-12/farms/{farmId}/limits", + "CreateMonitor": "POST /2023-10-12/monitors", + "CreateQueue": "POST /2023-10-12/farms/{farmId}/queues", + "CreateQueueEnvironment": "POST /2023-10-12/farms/{farmId}/queues/{queueId}/environments", + "CreateStorageProfile": "POST /2023-10-12/farms/{farmId}/storage-profiles", + "CreateWorker": "POST /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers", + "DeleteBudget": "DELETE /2023-10-12/farms/{farmId}/budgets/{budgetId}", + "DeleteFarm": "DELETE /2023-10-12/farms/{farmId}", + "DeleteFleet": "DELETE /2023-10-12/farms/{farmId}/fleets/{fleetId}", + "DeleteLicenseEndpoint": "DELETE /2023-10-12/license-endpoints/{licenseEndpointId}", + "DeleteLimit": "DELETE /2023-10-12/farms/{farmId}/limits/{limitId}", + "DeleteMeteredProduct": "DELETE /2023-10-12/license-endpoints/{licenseEndpointId}/metered-products/{productId}", + "DeleteMonitor": "DELETE /2023-10-12/monitors/{monitorId}", + "DeleteQueue": "DELETE /2023-10-12/farms/{farmId}/queues/{queueId}", + "DeleteQueueEnvironment": "DELETE /2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", + "DeleteStorageProfile": "DELETE /2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", + "DeleteWorker": "DELETE /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}", + "DisassociateMemberFromFarm": "DELETE /2023-10-12/farms/{farmId}/members/{principalId}", + "DisassociateMemberFromFleet": "DELETE /2023-10-12/farms/{farmId}/fleets/{fleetId}/members/{principalId}", + "DisassociateMemberFromJob": "DELETE /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members/{principalId}", + "DisassociateMemberFromQueue": "DELETE /2023-10-12/farms/{farmId}/queues/{queueId}/members/{principalId}", + "GetBudget": "GET /2023-10-12/farms/{farmId}/budgets/{budgetId}", + "GetFarm": "GET /2023-10-12/farms/{farmId}", + "GetFleet": "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}", + "GetJob": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}", + "GetLicenseEndpoint": "GET /2023-10-12/license-endpoints/{licenseEndpointId}", + "GetLimit": "GET /2023-10-12/farms/{farmId}/limits/{limitId}", + "GetMonitor": "GET /2023-10-12/monitors/{monitorId}", + "GetQueue": "GET /2023-10-12/farms/{farmId}/queues/{queueId}", + "GetQueueEnvironment": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", + "GetSession": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions/{sessionId}", + "GetSessionAction": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/session-actions/{sessionActionId}", + "GetStep": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}", + "GetStorageProfile": "GET /2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", + "GetStorageProfileForQueue": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles/{storageProfileId}", + "GetTask": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks/{taskId}", + "GetWorker": "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}", + "ListBudgets": "GET /2023-10-12/farms/{farmId}/budgets", + "ListFarmMembers": "GET /2023-10-12/farms/{farmId}/members", + "ListFarms": "GET /2023-10-12/farms", + "ListFleetMembers": "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/members", + "ListFleets": "GET /2023-10-12/farms/{farmId}/fleets", + "ListJobMembers": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/members", + "ListJobParameterDefinitions": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/parameter-definitions", + "ListJobs": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs", + "ListLicenseEndpoints": "GET /2023-10-12/license-endpoints", + "ListLimits": "GET /2023-10-12/farms/{farmId}/limits", + "ListMeteredProducts": "GET /2023-10-12/license-endpoints/{licenseEndpointId}/metered-products", + "ListMonitors": "GET /2023-10-12/monitors", + "ListQueueEnvironments": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/environments", + "ListQueueMembers": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/members", + "ListQueues": "GET /2023-10-12/farms/{farmId}/queues", + "ListSessionActions": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/session-actions", + "ListSessions": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions", + "ListSessionsForWorker": "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/sessions", + "ListStepConsumers": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/consumers", + "ListStepDependencies": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/dependencies", + "ListSteps": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps", + "ListStorageProfiles": "GET /2023-10-12/farms/{farmId}/storage-profiles", + "ListStorageProfilesForQueue": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/storage-profiles", + "ListTasks": "GET /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks", + "ListWorkers": "GET /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers", + "PutMeteredProduct": "PUT /2023-10-12/license-endpoints/{licenseEndpointId}/metered-products/{productId}", + "UpdateBudget": "PATCH /2023-10-12/farms/{farmId}/budgets/{budgetId}", + "UpdateFarm": "PATCH /2023-10-12/farms/{farmId}", + "UpdateFleet": "PATCH /2023-10-12/farms/{farmId}/fleets/{fleetId}", + "UpdateJob": "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}", + "UpdateLimit": "PATCH /2023-10-12/farms/{farmId}/limits/{limitId}", + "UpdateMonitor": "PATCH /2023-10-12/monitors/{monitorId}", + "UpdateQueue": "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}", + "UpdateQueueEnvironment": "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/environments/{queueEnvironmentId}", + "UpdateSession": "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/sessions/{sessionId}", + "UpdateStep": "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}", + "UpdateStorageProfile": "PATCH /2023-10-12/farms/{farmId}/storage-profiles/{storageProfileId}", + "UpdateTask": "PATCH /2023-10-12/farms/{farmId}/queues/{queueId}/jobs/{jobId}/steps/{stepId}/tasks/{taskId}", + "UpdateWorker": "PATCH /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}", + "UpdateWorkerSchedule": "PATCH /2023-10-12/farms/{farmId}/fleets/{fleetId}/workers/{workerId}/schedule", + }, + retryableErrors: { + "InternalServerErrorException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/deadline/types.ts b/src/services/deadline/types.ts index f62c9915..fc38b2b8 100644 --- a/src/services/deadline/types.ts +++ b/src/services/deadline/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class deadline extends AWSServiceClient { @@ -40,80 +8,43 @@ export declare class deadline extends AWSServiceClient { input: CreateQueueFleetAssociationRequest, ): Effect.Effect< CreateQueueFleetAssociationResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createQueueLimitAssociation( input: CreateQueueLimitAssociationRequest, ): Effect.Effect< CreateQueueLimitAssociationResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteQueueFleetAssociation( input: DeleteQueueFleetAssociationRequest, ): Effect.Effect< DeleteQueueFleetAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteQueueLimitAssociation( input: DeleteQueueLimitAssociationRequest, ): Effect.Effect< DeleteQueueLimitAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getQueueFleetAssociation( input: GetQueueFleetAssociationRequest, ): Effect.Effect< GetQueueFleetAssociationResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getQueueLimitAssociation( input: GetQueueLimitAssociationRequest, ): Effect.Effect< GetQueueLimitAssociationResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSessionsStatisticsAggregation( input: GetSessionsStatisticsAggregationRequest, ): Effect.Effect< GetSessionsStatisticsAggregationResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAvailableMeteredProducts( input: ListAvailableMeteredProductsRequest, @@ -125,1180 +56,631 @@ export declare class deadline extends AWSServiceClient { input: ListQueueFleetAssociationsRequest, ): Effect.Effect< ListQueueFleetAssociationsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listQueueLimitAssociations( input: ListQueueLimitAssociationsRequest, ): Effect.Effect< ListQueueLimitAssociationsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchJobs( input: SearchJobsRequest, ): Effect.Effect< SearchJobsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchSteps( input: SearchStepsRequest, ): Effect.Effect< SearchStepsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchTasks( input: SearchTasksRequest, ): Effect.Effect< SearchTasksResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchWorkers( input: SearchWorkersRequest, ): Effect.Effect< SearchWorkersResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startSessionsStatisticsAggregation( input: StartSessionsStatisticsAggregationRequest, ): Effect.Effect< StartSessionsStatisticsAggregationResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateQueueFleetAssociation( input: UpdateQueueFleetAssociationRequest, ): Effect.Effect< UpdateQueueFleetAssociationResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateQueueLimitAssociation( input: UpdateQueueLimitAssociationRequest, ): Effect.Effect< UpdateQueueLimitAssociationResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateMemberToFarm( input: AssociateMemberToFarmRequest, ): Effect.Effect< AssociateMemberToFarmResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateMemberToFleet( input: AssociateMemberToFleetRequest, ): Effect.Effect< AssociateMemberToFleetResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateMemberToJob( input: AssociateMemberToJobRequest, ): Effect.Effect< AssociateMemberToJobResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateMemberToQueue( input: AssociateMemberToQueueRequest, ): Effect.Effect< AssociateMemberToQueueResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; assumeFleetRoleForRead( input: AssumeFleetRoleForReadRequest, ): Effect.Effect< AssumeFleetRoleForReadResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; assumeFleetRoleForWorker( input: AssumeFleetRoleForWorkerRequest, ): Effect.Effect< AssumeFleetRoleForWorkerResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; assumeQueueRoleForRead( input: AssumeQueueRoleForReadRequest, ): Effect.Effect< AssumeQueueRoleForReadResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; assumeQueueRoleForUser( input: AssumeQueueRoleForUserRequest, ): Effect.Effect< AssumeQueueRoleForUserResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; assumeQueueRoleForWorker( input: AssumeQueueRoleForWorkerRequest, ): Effect.Effect< AssumeQueueRoleForWorkerResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetJobEntity( input: BatchGetJobEntityRequest, ): Effect.Effect< BatchGetJobEntityResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; copyJobTemplate( input: CopyJobTemplateRequest, ): Effect.Effect< CopyJobTemplateResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createBudget( input: CreateBudgetRequest, ): Effect.Effect< CreateBudgetResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFarm( input: CreateFarmRequest, ): Effect.Effect< CreateFarmResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFleet( input: CreateFleetRequest, ): Effect.Effect< CreateFleetResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createJob( input: CreateJobRequest, ): Effect.Effect< CreateJobResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLicenseEndpoint( input: CreateLicenseEndpointRequest, ): Effect.Effect< CreateLicenseEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLimit( input: CreateLimitRequest, ): Effect.Effect< CreateLimitResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMonitor( input: CreateMonitorRequest, ): Effect.Effect< CreateMonitorResponse, - | AccessDeniedException - | InternalServerErrorException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createQueue( input: CreateQueueRequest, ): Effect.Effect< CreateQueueResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createQueueEnvironment( input: CreateQueueEnvironmentRequest, ): Effect.Effect< CreateQueueEnvironmentResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createStorageProfile( input: CreateStorageProfileRequest, ): Effect.Effect< CreateStorageProfileResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorker( input: CreateWorkerRequest, ): Effect.Effect< CreateWorkerResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteBudget( input: DeleteBudgetRequest, ): Effect.Effect< DeleteBudgetResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFarm( input: DeleteFarmRequest, ): Effect.Effect< DeleteFarmResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFleet( input: DeleteFleetRequest, ): Effect.Effect< DeleteFleetResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteLicenseEndpoint( input: DeleteLicenseEndpointRequest, ): Effect.Effect< DeleteLicenseEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteLimit( input: DeleteLimitRequest, ): Effect.Effect< DeleteLimitResponse, - | AccessDeniedException - | InternalServerErrorException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ThrottlingException | ValidationException | CommonAwsError >; deleteMeteredProduct( input: DeleteMeteredProductRequest, ): Effect.Effect< DeleteMeteredProductResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMonitor( input: DeleteMonitorRequest, ): Effect.Effect< DeleteMonitorResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteQueue( input: DeleteQueueRequest, ): Effect.Effect< DeleteQueueResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteQueueEnvironment( input: DeleteQueueEnvironmentRequest, ): Effect.Effect< DeleteQueueEnvironmentResponse, - | AccessDeniedException - | InternalServerErrorException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ThrottlingException | ValidationException | CommonAwsError >; deleteStorageProfile( input: DeleteStorageProfileRequest, ): Effect.Effect< DeleteStorageProfileResponse, - | AccessDeniedException - | InternalServerErrorException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorker( input: DeleteWorkerRequest, ): Effect.Effect< DeleteWorkerResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateMemberFromFarm( input: DisassociateMemberFromFarmRequest, ): Effect.Effect< DisassociateMemberFromFarmResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateMemberFromFleet( input: DisassociateMemberFromFleetRequest, ): Effect.Effect< DisassociateMemberFromFleetResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateMemberFromJob( input: DisassociateMemberFromJobRequest, ): Effect.Effect< DisassociateMemberFromJobResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateMemberFromQueue( input: DisassociateMemberFromQueueRequest, ): Effect.Effect< DisassociateMemberFromQueueResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getBudget( input: GetBudgetRequest, ): Effect.Effect< GetBudgetResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFarm( input: GetFarmRequest, ): Effect.Effect< GetFarmResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFleet( input: GetFleetRequest, ): Effect.Effect< GetFleetResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getJob( input: GetJobRequest, ): Effect.Effect< GetJobResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLicenseEndpoint( input: GetLicenseEndpointRequest, ): Effect.Effect< GetLicenseEndpointResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLimit( input: GetLimitRequest, ): Effect.Effect< GetLimitResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMonitor( input: GetMonitorRequest, ): Effect.Effect< GetMonitorResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getQueue( input: GetQueueRequest, ): Effect.Effect< GetQueueResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getQueueEnvironment( input: GetQueueEnvironmentRequest, ): Effect.Effect< GetQueueEnvironmentResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSession( input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSessionAction( input: GetSessionActionRequest, ): Effect.Effect< GetSessionActionResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getStep( input: GetStepRequest, ): Effect.Effect< GetStepResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getStorageProfile( input: GetStorageProfileRequest, ): Effect.Effect< GetStorageProfileResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getStorageProfileForQueue( input: GetStorageProfileForQueueRequest, ): Effect.Effect< GetStorageProfileForQueueResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; - getTask( - input: GetTaskRequest, - ): Effect.Effect< - GetTaskResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + getTask( + input: GetTaskRequest, + ): Effect.Effect< + GetTaskResponse, + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWorker( input: GetWorkerRequest, ): Effect.Effect< GetWorkerResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBudgets( input: ListBudgetsRequest, ): Effect.Effect< ListBudgetsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFarmMembers( input: ListFarmMembersRequest, ): Effect.Effect< ListFarmMembersResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFarms( input: ListFarmsRequest, ): Effect.Effect< ListFarmsResponse, - | AccessDeniedException - | InternalServerErrorException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ThrottlingException | ValidationException | CommonAwsError >; listFleetMembers( input: ListFleetMembersRequest, ): Effect.Effect< ListFleetMembersResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFleets( input: ListFleetsRequest, ): Effect.Effect< ListFleetsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listJobMembers( input: ListJobMembersRequest, ): Effect.Effect< ListJobMembersResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listJobParameterDefinitions( input: ListJobParameterDefinitionsRequest, ): Effect.Effect< ListJobParameterDefinitionsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listJobs( input: ListJobsRequest, ): Effect.Effect< ListJobsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLicenseEndpoints( input: ListLicenseEndpointsRequest, ): Effect.Effect< ListLicenseEndpointsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLimits( input: ListLimitsRequest, ): Effect.Effect< ListLimitsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMeteredProducts( input: ListMeteredProductsRequest, ): Effect.Effect< ListMeteredProductsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMonitors( input: ListMonitorsRequest, ): Effect.Effect< ListMonitorsResponse, - | AccessDeniedException - | InternalServerErrorException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ThrottlingException | ValidationException | CommonAwsError >; listQueueEnvironments( input: ListQueueEnvironmentsRequest, ): Effect.Effect< ListQueueEnvironmentsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listQueueMembers( input: ListQueueMembersRequest, ): Effect.Effect< ListQueueMembersResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listQueues( input: ListQueuesRequest, ): Effect.Effect< ListQueuesResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSessionActions( input: ListSessionActionsRequest, ): Effect.Effect< ListSessionActionsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSessions( input: ListSessionsRequest, ): Effect.Effect< ListSessionsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSessionsForWorker( input: ListSessionsForWorkerRequest, ): Effect.Effect< ListSessionsForWorkerResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listStepConsumers( input: ListStepConsumersRequest, ): Effect.Effect< ListStepConsumersResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listStepDependencies( input: ListStepDependenciesRequest, ): Effect.Effect< ListStepDependenciesResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSteps( input: ListStepsRequest, ): Effect.Effect< ListStepsResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listStorageProfiles( input: ListStorageProfilesRequest, ): Effect.Effect< ListStorageProfilesResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listStorageProfilesForQueue( input: ListStorageProfilesForQueueRequest, ): Effect.Effect< ListStorageProfilesForQueueResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTasks( input: ListTasksRequest, ): Effect.Effect< ListTasksResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWorkers( input: ListWorkersRequest, ): Effect.Effect< ListWorkersResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putMeteredProduct( input: PutMeteredProductRequest, ): Effect.Effect< PutMeteredProductResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateBudget( input: UpdateBudgetRequest, ): Effect.Effect< UpdateBudgetResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFarm( input: UpdateFarmRequest, ): Effect.Effect< UpdateFarmResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFleet( input: UpdateFleetRequest, ): Effect.Effect< UpdateFleetResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateJob( input: UpdateJobRequest, ): Effect.Effect< UpdateJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateLimit( input: UpdateLimitRequest, ): Effect.Effect< UpdateLimitResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateMonitor( input: UpdateMonitorRequest, ): Effect.Effect< UpdateMonitorResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateQueue( input: UpdateQueueRequest, ): Effect.Effect< UpdateQueueResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateQueueEnvironment( input: UpdateQueueEnvironmentRequest, ): Effect.Effect< UpdateQueueEnvironmentResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSession( input: UpdateSessionRequest, ): Effect.Effect< UpdateSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateStep( input: UpdateStepRequest, ): Effect.Effect< UpdateStepResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateStorageProfile( input: UpdateStorageProfileRequest, ): Effect.Effect< UpdateStorageProfileResponse, - | AccessDeniedException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTask( input: UpdateTaskRequest, ): Effect.Effect< UpdateTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorker( input: UpdateWorkerRequest, ): Effect.Effect< UpdateWorkerResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkerSchedule( input: UpdateWorkerScheduleRequest, ): Effect.Effect< UpdateWorkerScheduleResponse, - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1367,19 +749,7 @@ interface _AssignedSessionActionDefinition { syncInputJobAttachments?: AssignedSyncInputJobAttachmentsSessionActionDefinition; } -export type AssignedSessionActionDefinition = - | (_AssignedSessionActionDefinition & { - envEnter: AssignedEnvironmentEnterSessionActionDefinition; - }) - | (_AssignedSessionActionDefinition & { - envExit: AssignedEnvironmentExitSessionActionDefinition; - }) - | (_AssignedSessionActionDefinition & { - taskRun: AssignedTaskRunSessionActionDefinition; - }) - | (_AssignedSessionActionDefinition & { - syncInputJobAttachments: AssignedSyncInputJobAttachmentsSessionActionDefinition; - }); +export type AssignedSessionActionDefinition = (_AssignedSessionActionDefinition & { envEnter: AssignedEnvironmentEnterSessionActionDefinition }) | (_AssignedSessionActionDefinition & { envExit: AssignedEnvironmentExitSessionActionDefinition }) | (_AssignedSessionActionDefinition & { taskRun: AssignedTaskRunSessionActionDefinition }) | (_AssignedSessionActionDefinition & { syncInputJobAttachments: AssignedSyncInputJobAttachmentsSessionActionDefinition }); export type AssignedSessionActions = Array; export type AssignedSessions = Record; export interface AssignedSyncInputJobAttachmentsSessionActionDefinition { @@ -1397,7 +767,8 @@ export interface AssociateMemberToFarmRequest { identityStoreId: string; membershipLevel: MembershipLevel; } -export interface AssociateMemberToFarmResponse {} +export interface AssociateMemberToFarmResponse { +} export interface AssociateMemberToFleetRequest { farmId: string; fleetId: string; @@ -1406,7 +777,8 @@ export interface AssociateMemberToFleetRequest { identityStoreId: string; membershipLevel: MembershipLevel; } -export interface AssociateMemberToFleetResponse {} +export interface AssociateMemberToFleetResponse { +} export interface AssociateMemberToJobRequest { farmId: string; queueId: string; @@ -1416,7 +788,8 @@ export interface AssociateMemberToJobRequest { identityStoreId: string; membershipLevel: MembershipLevel; } -export interface AssociateMemberToJobResponse {} +export interface AssociateMemberToJobResponse { +} export interface AssociateMemberToQueueRequest { farmId: string; queueId: string; @@ -1425,7 +798,8 @@ export interface AssociateMemberToQueueRequest { identityStoreId: string; membershipLevel: MembershipLevel; } -export interface AssociateMemberToQueueResponse {} +export interface AssociateMemberToQueueResponse { +} export interface AssumeFleetRoleForReadRequest { farmId: string; fleetId: string; @@ -1506,16 +880,14 @@ export interface BudgetActionToRemove { type: BudgetActionType; thresholdPercentage: number; } -export type BudgetActionType = - | "STOP_SCHEDULING_AND_COMPLETE_TASKS" - | "STOP_SCHEDULING_AND_CANCEL_TASKS"; +export type BudgetActionType = "STOP_SCHEDULING_AND_COMPLETE_TASKS" | "STOP_SCHEDULING_AND_CANCEL_TASKS"; export type BudgetId = string; interface _BudgetSchedule { fixed?: FixedBudgetSchedule; } -export type BudgetSchedule = _BudgetSchedule & { fixed: FixedBudgetSchedule }; +export type BudgetSchedule = (_BudgetSchedule & { fixed: FixedBudgetSchedule }); export type BudgetStatus = "ACTIVE" | "INACTIVE"; export type BudgetSummaries = Array; export interface BudgetSummary { @@ -1536,19 +908,8 @@ export type ClientToken = string; export type CombinationExpression = string; -export type ComparisonOperator = - | "EQUAL" - | "NOT_EQUAL" - | "GREATER_THAN_EQUAL_TO" - | "GREATER_THAN" - | "LESS_THAN_EQUAL_TO" - | "LESS_THAN"; -export type CompletedStatus = - | "SUCCEEDED" - | "FAILED" - | "INTERRUPTED" - | "CANCELED" - | "NEVER_ATTEMPTED"; +export type ComparisonOperator = "EQUAL" | "NOT_EQUAL" | "GREATER_THAN_EQUAL_TO" | "GREATER_THAN" | "LESS_THAN_EQUAL_TO" | "LESS_THAN"; +export type CompletedStatus = "SUCCEEDED" | "FAILED" | "INTERRUPTED" | "CANCELED" | "NEVER_ATTEMPTED"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -1558,12 +919,7 @@ export declare class ConflictException extends EffectData.TaggedError( readonly resourceType: string; readonly context?: Record; }> {} -export type ConflictExceptionReason = - | "CONFLICT_EXCEPTION" - | "CONCURRENT_MODIFICATION" - | "RESOURCE_ALREADY_EXISTS" - | "RESOURCE_IN_USE" - | "STATUS_CONFLICT"; +export type ConflictExceptionReason = "CONFLICT_EXCEPTION" | "CONCURRENT_MODIFICATION" | "RESOURCE_ALREADY_EXISTS" | "RESOURCE_IN_USE" | "STATUS_CONFLICT"; export type ConsumedUsageLimit = number; export interface ConsumedUsages { @@ -1690,13 +1046,15 @@ export interface CreateQueueFleetAssociationRequest { queueId: string; fleetId: string; } -export interface CreateQueueFleetAssociationResponse {} +export interface CreateQueueFleetAssociationResponse { +} export interface CreateQueueLimitAssociationRequest { farmId: string; queueId: string; limitId: string; } -export interface CreateQueueLimitAssociationResponse {} +export interface CreateQueueLimitAssociationResponse { +} export interface CreateQueueRequest { clientToken?: string; farmId: string; @@ -1739,10 +1097,7 @@ export interface CustomerManagedFleetConfiguration { storageProfileId?: string; tagPropagationMode?: TagPropagationMode; } -export type CustomerManagedFleetOperatingSystemFamily = - | "WINDOWS" - | "LINUX" - | "MACOS"; +export type CustomerManagedFleetOperatingSystemFamily = "WINDOWS" | "LINUX" | "MACOS"; export interface CustomerManagedWorkerCapabilities { vCpuCount: VCpuCountRange; memoryMiB: MemoryMiBRange; @@ -1762,77 +1117,87 @@ export interface DateTimeFilterExpression { dateTime: Date | string; } export type DeadlinePrincipalType = "USER" | "GROUP"; -export type DefaultQueueBudgetAction = - | "NONE" - | "STOP_SCHEDULING_AND_COMPLETE_TASKS" - | "STOP_SCHEDULING_AND_CANCEL_TASKS"; +export type DefaultQueueBudgetAction = "NONE" | "STOP_SCHEDULING_AND_COMPLETE_TASKS" | "STOP_SCHEDULING_AND_CANCEL_TASKS"; export interface DeleteBudgetRequest { farmId: string; budgetId: string; } -export interface DeleteBudgetResponse {} +export interface DeleteBudgetResponse { +} export interface DeleteFarmRequest { farmId: string; } -export interface DeleteFarmResponse {} +export interface DeleteFarmResponse { +} export interface DeleteFleetRequest { clientToken?: string; farmId: string; fleetId: string; } -export interface DeleteFleetResponse {} +export interface DeleteFleetResponse { +} export interface DeleteLicenseEndpointRequest { licenseEndpointId: string; } -export interface DeleteLicenseEndpointResponse {} +export interface DeleteLicenseEndpointResponse { +} export interface DeleteLimitRequest { farmId: string; limitId: string; } -export interface DeleteLimitResponse {} +export interface DeleteLimitResponse { +} export interface DeleteMeteredProductRequest { licenseEndpointId: string; productId: string; } -export interface DeleteMeteredProductResponse {} +export interface DeleteMeteredProductResponse { +} export interface DeleteMonitorRequest { monitorId: string; } -export interface DeleteMonitorResponse {} +export interface DeleteMonitorResponse { +} export interface DeleteQueueEnvironmentRequest { farmId: string; queueId: string; queueEnvironmentId: string; } -export interface DeleteQueueEnvironmentResponse {} +export interface DeleteQueueEnvironmentResponse { +} export interface DeleteQueueFleetAssociationRequest { farmId: string; queueId: string; fleetId: string; } -export interface DeleteQueueFleetAssociationResponse {} +export interface DeleteQueueFleetAssociationResponse { +} export interface DeleteQueueLimitAssociationRequest { farmId: string; queueId: string; limitId: string; } -export interface DeleteQueueLimitAssociationResponse {} +export interface DeleteQueueLimitAssociationResponse { +} export interface DeleteQueueRequest { farmId: string; queueId: string; } -export interface DeleteQueueResponse {} +export interface DeleteQueueResponse { +} export interface DeleteStorageProfileRequest { farmId: string; storageProfileId: string; } -export interface DeleteStorageProfileResponse {} +export interface DeleteStorageProfileResponse { +} export interface DeleteWorkerRequest { farmId: string; fleetId: string; workerId: string; } -export interface DeleteWorkerResponse {} +export interface DeleteWorkerResponse { +} export type DependenciesList = Array; export type DependencyConsumerResolutionStatus = "RESOLVED" | "UNRESOLVED"; export interface DependencyCounts { @@ -1848,26 +1213,30 @@ export interface DisassociateMemberFromFarmRequest { farmId: string; principalId: string; } -export interface DisassociateMemberFromFarmResponse {} +export interface DisassociateMemberFromFarmResponse { +} export interface DisassociateMemberFromFleetRequest { farmId: string; fleetId: string; principalId: string; } -export interface DisassociateMemberFromFleetResponse {} +export interface DisassociateMemberFromFleetResponse { +} export interface DisassociateMemberFromJobRequest { farmId: string; queueId: string; jobId: string; principalId: string; } -export interface DisassociateMemberFromJobResponse {} +export interface DisassociateMemberFromJobResponse { +} export interface DisassociateMemberFromQueueRequest { farmId: string; queueId: string; principalId: string; } -export interface DisassociateMemberFromQueueResponse {} +export interface DisassociateMemberFromQueueResponse { +} export type DnsName = string; export type Document = unknown; @@ -1981,13 +1350,7 @@ interface _FleetConfiguration { serviceManagedEc2?: ServiceManagedEc2FleetConfiguration; } -export type FleetConfiguration = - | (_FleetConfiguration & { - customerManaged: CustomerManagedFleetConfiguration; - }) - | (_FleetConfiguration & { - serviceManagedEc2: ServiceManagedEc2FleetConfiguration; - }); +export type FleetConfiguration = (_FleetConfiguration & { customerManaged: CustomerManagedFleetConfiguration }) | (_FleetConfiguration & { serviceManagedEc2: ServiceManagedEc2FleetConfiguration }); export type FleetId = string; export type FleetIds = Array; @@ -2000,13 +1363,7 @@ export interface FleetMember { membershipLevel: MembershipLevel; } export type FleetMembers = Array; -export type FleetStatus = - | "ACTIVE" - | "CREATE_IN_PROGRESS" - | "UPDATE_IN_PROGRESS" - | "CREATE_FAILED" - | "UPDATE_FAILED" - | "SUSPENDED"; +export type FleetStatus = "ACTIVE" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_FAILED" | "SUSPENDED"; export type FleetSummaries = Array; export interface FleetSummary { fleetId: string; @@ -2092,11 +1449,7 @@ interface _GetJobEntityError { environmentDetails?: EnvironmentDetailsError; } -export type GetJobEntityError = - | (_GetJobEntityError & { jobDetails: JobDetailsError }) - | (_GetJobEntityError & { jobAttachmentDetails: JobAttachmentDetailsError }) - | (_GetJobEntityError & { stepDetails: StepDetailsError }) - | (_GetJobEntityError & { environmentDetails: EnvironmentDetailsError }); +export type GetJobEntityError = (_GetJobEntityError & { jobDetails: JobDetailsError }) | (_GetJobEntityError & { jobAttachmentDetails: JobAttachmentDetailsError }) | (_GetJobEntityError & { stepDetails: StepDetailsError }) | (_GetJobEntityError & { environmentDetails: EnvironmentDetailsError }); export interface GetJobRequest { farmId: string; queueId: string; @@ -2476,18 +1829,8 @@ interface _JobEntity { environmentDetails?: EnvironmentDetailsEntity; } -export type JobEntity = - | (_JobEntity & { jobDetails: JobDetailsEntity }) - | (_JobEntity & { jobAttachmentDetails: JobAttachmentDetailsEntity }) - | (_JobEntity & { stepDetails: StepDetailsEntity }) - | (_JobEntity & { environmentDetails: EnvironmentDetailsEntity }); -export type JobEntityErrorCode = - | "AccessDeniedException" - | "InternalServerException" - | "ValidationException" - | "ResourceNotFoundException" - | "MaxPayloadSizeExceeded" - | "ConflictException"; +export type JobEntity = (_JobEntity & { jobDetails: JobDetailsEntity }) | (_JobEntity & { jobAttachmentDetails: JobAttachmentDetailsEntity }) | (_JobEntity & { stepDetails: StepDetailsEntity }) | (_JobEntity & { environmentDetails: EnvironmentDetailsEntity }); +export type JobEntityErrorCode = "AccessDeniedException" | "InternalServerException" | "ValidationException" | "ResourceNotFoundException" | "MaxPayloadSizeExceeded" | "ConflictException"; export type JobEntityIdentifiers = Array; interface _JobEntityIdentifiersUnion { jobDetails?: JobDetailsIdentifiers; @@ -2496,27 +1839,10 @@ interface _JobEntityIdentifiersUnion { environmentDetails?: EnvironmentDetailsIdentifiers; } -export type JobEntityIdentifiersUnion = - | (_JobEntityIdentifiersUnion & { jobDetails: JobDetailsIdentifiers }) - | (_JobEntityIdentifiersUnion & { - jobAttachmentDetails: JobAttachmentDetailsIdentifiers; - }) - | (_JobEntityIdentifiersUnion & { stepDetails: StepDetailsIdentifiers }) - | (_JobEntityIdentifiersUnion & { - environmentDetails: EnvironmentDetailsIdentifiers; - }); +export type JobEntityIdentifiersUnion = (_JobEntityIdentifiersUnion & { jobDetails: JobDetailsIdentifiers }) | (_JobEntityIdentifiersUnion & { jobAttachmentDetails: JobAttachmentDetailsIdentifiers }) | (_JobEntityIdentifiersUnion & { stepDetails: StepDetailsIdentifiers }) | (_JobEntityIdentifiersUnion & { environmentDetails: EnvironmentDetailsIdentifiers }); export type JobId = string; -export type JobLifecycleStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "CREATE_COMPLETE" - | "UPLOAD_IN_PROGRESS" - | "UPLOAD_FAILED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED" - | "UPDATE_SUCCEEDED" - | "ARCHIVED"; +export type JobLifecycleStatus = "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "UPLOAD_IN_PROGRESS" | "UPLOAD_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_SUCCEEDED" | "ARCHIVED"; export interface JobMember { farmId: string; queueId: string; @@ -2536,11 +1862,7 @@ interface _JobParameter { path?: string; } -export type JobParameter = - | (_JobParameter & { int: string }) - | (_JobParameter & { float: string }) - | (_JobParameter & { string: string }) - | (_JobParameter & { path: string }); +export type JobParameter = (_JobParameter & { int: string }) | (_JobParameter & { float: string }) | (_JobParameter & { string: string }) | (_JobParameter & { path: string }); export type JobParameterDefinition = unknown; export type JobParameterDefinitions = Array; @@ -2598,13 +1920,7 @@ export interface JobSummary { maxWorkerCount?: number; sourceJobId?: string; } -export type JobTargetTaskRunStatus = - | "READY" - | "FAILED" - | "SUCCEEDED" - | "CANCELED" - | "SUSPENDED" - | "PENDING"; +export type JobTargetTaskRunStatus = "READY" | "FAILED" | "SUCCEEDED" | "CANCELED" | "SUSPENDED" | "PENDING"; export type JobTemplate = string; export type JobTemplateType = "JSON" | "YAML"; @@ -2612,11 +1928,7 @@ export type KmsKeyArn = string; export type LicenseEndpointId = string; -export type LicenseEndpointStatus = - | "CREATE_IN_PROGRESS" - | "DELETE_IN_PROGRESS" - | "READY" - | "NOT_READY"; +export type LicenseEndpointStatus = "CREATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "READY" | "NOT_READY"; export type LicenseEndpointSummaries = Array; export interface LicenseEndpointSummary { licenseEndpointId?: string; @@ -3052,10 +2364,9 @@ export interface PutMeteredProductRequest { licenseEndpointId: string; productId: string; } -export interface PutMeteredProductResponse {} -export type QueueBlockedReason = - | "NO_BUDGET_CONFIGURED" - | "BUDGET_THRESHOLD_REACHED"; +export interface PutMeteredProductResponse { +} +export type QueueBlockedReason = "NO_BUDGET_CONFIGURED" | "BUDGET_THRESHOLD_REACHED"; export type QueueEnvironmentId = string; export type QueueEnvironmentSummaries = Array; @@ -3064,13 +2375,8 @@ export interface QueueEnvironmentSummary { name: string; priority: number; } -export type QueueFleetAssociationStatus = - | "ACTIVE" - | "STOP_SCHEDULING_AND_COMPLETE_TASKS" - | "STOP_SCHEDULING_AND_CANCEL_TASKS" - | "STOPPED"; -export type QueueFleetAssociationSummaries = - Array; +export type QueueFleetAssociationStatus = "ACTIVE" | "STOP_SCHEDULING_AND_COMPLETE_TASKS" | "STOP_SCHEDULING_AND_CANCEL_TASKS" | "STOPPED"; +export type QueueFleetAssociationSummaries = Array; export interface QueueFleetAssociationSummary { queueId: string; fleetId: string; @@ -3083,13 +2389,8 @@ export interface QueueFleetAssociationSummary { export type QueueId = string; export type QueueIds = Array; -export type QueueLimitAssociationStatus = - | "ACTIVE" - | "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" - | "STOP_LIMIT_USAGE_AND_CANCEL_TASKS" - | "STOPPED"; -export type QueueLimitAssociationSummaries = - Array; +export type QueueLimitAssociationStatus = "ACTIVE" | "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" | "STOP_LIMIT_USAGE_AND_CANCEL_TASKS" | "STOPPED"; +export type QueueLimitAssociationSummaries = Array; export interface QueueLimitAssociationSummary { createdAt: Date | string; createdBy: string; @@ -3158,12 +2459,7 @@ interface _SearchFilterExpression { groupFilter?: SearchGroupedFilterExpressions; } -export type SearchFilterExpression = - | (_SearchFilterExpression & { dateTimeFilter: DateTimeFilterExpression }) - | (_SearchFilterExpression & { parameterFilter: ParameterFilterExpression }) - | (_SearchFilterExpression & { searchTermFilter: SearchTermFilterExpression }) - | (_SearchFilterExpression & { stringFilter: StringFilterExpression }) - | (_SearchFilterExpression & { groupFilter: SearchGroupedFilterExpressions }); +export type SearchFilterExpression = (_SearchFilterExpression & { dateTimeFilter: DateTimeFilterExpression }) | (_SearchFilterExpression & { parameterFilter: ParameterFilterExpression }) | (_SearchFilterExpression & { searchTermFilter: SearchTermFilterExpression }) | (_SearchFilterExpression & { stringFilter: StringFilterExpression }) | (_SearchFilterExpression & { groupFilter: SearchGroupedFilterExpressions }); export type SearchFilterExpressions = Array; export interface SearchGroupedFilterExpressions { filters: Array; @@ -3188,10 +2484,7 @@ interface _SearchSortExpression { parameterSort?: ParameterSortExpression; } -export type SearchSortExpression = - | (_SearchSortExpression & { userJobsFirst: UserJobsFirst }) - | (_SearchSortExpression & { fieldSort: FieldSortExpression }) - | (_SearchSortExpression & { parameterSort: ParameterSortExpression }); +export type SearchSortExpression = (_SearchSortExpression & { userJobsFirst: UserJobsFirst }) | (_SearchSortExpression & { fieldSort: FieldSortExpression }) | (_SearchSortExpression & { parameterSort: ParameterSortExpression }); export type SearchSortExpressions = Array; export interface SearchStepsRequest { farmId: string; @@ -3279,10 +2572,7 @@ export declare class ServiceQuotaExceededException extends EffectData.TaggedErro readonly resourceId?: string; readonly context?: Record; }> {} -export type ServiceQuotaExceededExceptionReason = - | "SERVICE_QUOTA_EXCEEDED_EXCEPTION" - | "KMS_KEY_LIMIT_EXCEEDED" - | "DEPENDENCY_LIMIT_EXCEEDED"; +export type ServiceQuotaExceededExceptionReason = "SERVICE_QUOTA_EXCEEDED_EXCEPTION" | "KMS_KEY_LIMIT_EXCEEDED" | "DEPENDENCY_LIMIT_EXCEEDED"; interface _SessionActionDefinition { envEnter?: EnvironmentEnterSessionActionDefinition; envExit?: EnvironmentExitSessionActionDefinition; @@ -3290,17 +2580,7 @@ interface _SessionActionDefinition { syncInputJobAttachments?: SyncInputJobAttachmentsSessionActionDefinition; } -export type SessionActionDefinition = - | (_SessionActionDefinition & { - envEnter: EnvironmentEnterSessionActionDefinition; - }) - | (_SessionActionDefinition & { - envExit: EnvironmentExitSessionActionDefinition; - }) - | (_SessionActionDefinition & { taskRun: TaskRunSessionActionDefinition }) - | (_SessionActionDefinition & { - syncInputJobAttachments: SyncInputJobAttachmentsSessionActionDefinition; - }); +export type SessionActionDefinition = (_SessionActionDefinition & { envEnter: EnvironmentEnterSessionActionDefinition }) | (_SessionActionDefinition & { envExit: EnvironmentExitSessionActionDefinition }) | (_SessionActionDefinition & { taskRun: TaskRunSessionActionDefinition }) | (_SessionActionDefinition & { syncInputJobAttachments: SyncInputJobAttachmentsSessionActionDefinition }); interface _SessionActionDefinitionSummary { envEnter?: EnvironmentEnterSessionActionDefinitionSummary; envExit?: EnvironmentExitSessionActionDefinitionSummary; @@ -3308,19 +2588,7 @@ interface _SessionActionDefinitionSummary { syncInputJobAttachments?: SyncInputJobAttachmentsSessionActionDefinitionSummary; } -export type SessionActionDefinitionSummary = - | (_SessionActionDefinitionSummary & { - envEnter: EnvironmentEnterSessionActionDefinitionSummary; - }) - | (_SessionActionDefinitionSummary & { - envExit: EnvironmentExitSessionActionDefinitionSummary; - }) - | (_SessionActionDefinitionSummary & { - taskRun: TaskRunSessionActionDefinitionSummary; - }) - | (_SessionActionDefinitionSummary & { - syncInputJobAttachments: SyncInputJobAttachmentsSessionActionDefinitionSummary; - }); +export type SessionActionDefinitionSummary = (_SessionActionDefinitionSummary & { envEnter: EnvironmentEnterSessionActionDefinitionSummary }) | (_SessionActionDefinitionSummary & { envExit: EnvironmentExitSessionActionDefinitionSummary }) | (_SessionActionDefinitionSummary & { taskRun: TaskRunSessionActionDefinitionSummary }) | (_SessionActionDefinitionSummary & { syncInputJobAttachments: SyncInputJobAttachmentsSessionActionDefinitionSummary }); export type SessionActionId = string; export type SessionActionIdList = Array; @@ -3328,18 +2596,7 @@ export type SessionActionProgressMessage = string; export type SessionActionProgressPercent = number; -export type SessionActionStatus = - | "ASSIGNED" - | "RUNNING" - | "CANCELING" - | "SUCCEEDED" - | "FAILED" - | "INTERRUPTED" - | "CANCELED" - | "NEVER_ATTEMPTED" - | "SCHEDULED" - | "RECLAIMING" - | "RECLAIMED"; +export type SessionActionStatus = "ASSIGNED" | "RUNNING" | "CANCELING" | "SUCCEEDED" | "FAILED" | "INTERRUPTED" | "CANCELED" | "NEVER_ATTEMPTED" | "SCHEDULED" | "RECLAIMING" | "RECLAIMED"; export type SessionActionSummaries = Array; export interface SessionActionSummary { sessionActionId: string; @@ -3353,26 +2610,15 @@ export interface SessionActionSummary { } export type SessionId = string; -export type SessionLifecycleStatus = - | "STARTED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_SUCCEEDED" - | "UPDATE_FAILED" - | "ENDED"; +export type SessionLifecycleStatus = "STARTED" | "UPDATE_IN_PROGRESS" | "UPDATE_SUCCEEDED" | "UPDATE_FAILED" | "ENDED"; export type SessionLifecycleTargetStatus = "ENDED"; -export type SessionsStatisticsAggregationStatus = - | "IN_PROGRESS" - | "TIMEOUT" - | "FAILED" - | "COMPLETED"; +export type SessionsStatisticsAggregationStatus = "IN_PROGRESS" | "TIMEOUT" | "FAILED" | "COMPLETED"; interface _SessionsStatisticsResources { queueIds?: Array; fleetIds?: Array; } -export type SessionsStatisticsResources = - | (_SessionsStatisticsResources & { queueIds: Array }) - | (_SessionsStatisticsResources & { fleetIds: Array }); +export type SessionsStatisticsResources = (_SessionsStatisticsResources & { queueIds: Array }) | (_SessionsStatisticsResources & { fleetIds: Array }); export type SessionSummaries = Array; export interface SessionSummary { sessionId: string; @@ -3473,11 +2719,7 @@ export interface StepDetailsIdentifiers { } export type StepId = string; -export type StepLifecycleStatus = - | "CREATE_COMPLETE" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED" - | "UPDATE_SUCCEEDED"; +export type StepLifecycleStatus = "CREATE_COMPLETE" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_SUCCEEDED"; export type StepName = string; export interface StepParameter { @@ -3487,12 +2729,7 @@ export interface StepParameter { export type StepParameterList = Array; export type StepParameterName = string; -export type StepParameterType = - | "INT" - | "FLOAT" - | "STRING" - | "PATH" - | "CHUNK_INT"; +export type StepParameterType = "INT" | "FLOAT" | "STRING" | "PATH" | "CHUNK_INT"; export interface StepRequiredCapabilities { attributes: Array; amounts: Array; @@ -3535,13 +2772,7 @@ export interface StepSummary { endedAt?: Date | string; dependencyCounts?: DependencyCounts; } -export type StepTargetTaskRunStatus = - | "READY" - | "FAILED" - | "SUCCEEDED" - | "CANCELED" - | "SUSPENDED" - | "PENDING"; +export type StepTargetTaskRunStatus = "READY" | "FAILED" | "SUCCEEDED" | "CANCELED" | "SUSPENDED" | "PENDING"; export type StorageProfileId = string; export type StorageProfileOperatingSystemFamily = "WINDOWS" | "LINUX" | "MACOS"; @@ -3573,14 +2804,13 @@ export interface SyncInputJobAttachmentsSessionActionDefinition { export interface SyncInputJobAttachmentsSessionActionDefinitionSummary { stepId?: string; } -export type TagPropagationMode = - | "NO_PROPAGATION" - | "PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH"; +export type TagPropagationMode = "NO_PROPAGATION" | "PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH"; export interface TagResourceRequest { resourceArn: string; tags?: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TaskFailureRetryCount = number; @@ -3595,18 +2825,11 @@ interface _TaskParameterValue { chunkInt?: string; } -export type TaskParameterValue = - | (_TaskParameterValue & { int: string }) - | (_TaskParameterValue & { float: string }) - | (_TaskParameterValue & { string: string }) - | (_TaskParameterValue & { path: string }) - | (_TaskParameterValue & { chunkInt: string }); +export type TaskParameterValue = (_TaskParameterValue & { int: string }) | (_TaskParameterValue & { float: string }) | (_TaskParameterValue & { string: string }) | (_TaskParameterValue & { path: string }) | (_TaskParameterValue & { chunkInt: string }); export type TaskRetryCount = number; -export type TaskRunManifestPropertiesListRequest = - Array; -export type TaskRunManifestPropertiesListResponse = - Array; +export type TaskRunManifestPropertiesListRequest = Array; +export type TaskRunManifestPropertiesListResponse = Array; export interface TaskRunManifestPropertiesRequest { outputManifestPath?: string; outputManifestHash?: string; @@ -3625,19 +2848,7 @@ export interface TaskRunSessionActionDefinitionSummary { stepId: string; parameters?: Record; } -export type TaskRunStatus = - | "PENDING" - | "READY" - | "ASSIGNED" - | "STARTING" - | "SCHEDULED" - | "INTERRUPTING" - | "RUNNING" - | "SUSPENDED" - | "CANCELED" - | "FAILED" - | "SUCCEEDED" - | "NOT_COMPATIBLE"; +export type TaskRunStatus = "PENDING" | "READY" | "ASSIGNED" | "STARTING" | "SCHEDULED" | "INTERRUPTING" | "RUNNING" | "SUSPENDED" | "CANCELED" | "FAILED" | "SUCCEEDED" | "NOT_COMPATIBLE"; export type TaskRunStatusCounts = Record; export type TaskSearchSummaries = Array; export interface TaskSearchSummary { @@ -3669,13 +2880,7 @@ export interface TaskSummary { updatedBy?: string; latestSessionActionId?: string; } -export type TaskTargetRunStatus = - | "READY" - | "FAILED" - | "SUCCEEDED" - | "CANCELED" - | "SUSPENDED" - | "PENDING"; +export type TaskTargetRunStatus = "READY" | "FAILED" | "SUCCEEDED" | "CANCELED" | "SUSPENDED" | "PENDING"; export type ThresholdPercentage = number; export declare class ThrottlingException extends EffectData.TaggedError( @@ -3697,7 +2902,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateBudgetRequest { clientToken?: string; farmId: string; @@ -3710,7 +2916,8 @@ export interface UpdateBudgetRequest { actionsToRemove?: Array; schedule?: BudgetSchedule; } -export interface UpdateBudgetResponse {} +export interface UpdateBudgetResponse { +} export type UpdatedAt = Date | string; export type UpdatedBy = string; @@ -3732,7 +2939,8 @@ export interface UpdateFarmRequest { displayName?: string; description?: string; } -export interface UpdateFarmResponse {} +export interface UpdateFarmResponse { +} export interface UpdateFleetRequest { clientToken?: string; farmId: string; @@ -3745,7 +2953,8 @@ export interface UpdateFleetRequest { configuration?: FleetConfiguration; hostConfiguration?: HostConfiguration; } -export interface UpdateFleetResponse {} +export interface UpdateFleetResponse { +} export type UpdateJobLifecycleStatus = "ARCHIVED"; export interface UpdateJobRequest { clientToken?: string; @@ -3759,7 +2968,8 @@ export interface UpdateJobRequest { queueId: string; jobId: string; } -export interface UpdateJobResponse {} +export interface UpdateJobResponse { +} export interface UpdateLimitRequest { farmId: string; limitId: string; @@ -3767,14 +2977,16 @@ export interface UpdateLimitRequest { description?: string; maxCount?: number; } -export interface UpdateLimitResponse {} +export interface UpdateLimitResponse { +} export interface UpdateMonitorRequest { monitorId: string; subdomain?: string; displayName?: string; roleArn?: string; } -export interface UpdateMonitorResponse {} +export interface UpdateMonitorResponse { +} export interface UpdateQueueEnvironmentRequest { clientToken?: string; farmId: string; @@ -3784,29 +2996,26 @@ export interface UpdateQueueEnvironmentRequest { templateType?: EnvironmentTemplateType; template?: string; } -export interface UpdateQueueEnvironmentResponse {} +export interface UpdateQueueEnvironmentResponse { +} export interface UpdateQueueFleetAssociationRequest { farmId: string; queueId: string; fleetId: string; status: UpdateQueueFleetAssociationStatus; } -export interface UpdateQueueFleetAssociationResponse {} -export type UpdateQueueFleetAssociationStatus = - | "ACTIVE" - | "STOP_SCHEDULING_AND_COMPLETE_TASKS" - | "STOP_SCHEDULING_AND_CANCEL_TASKS"; +export interface UpdateQueueFleetAssociationResponse { +} +export type UpdateQueueFleetAssociationStatus = "ACTIVE" | "STOP_SCHEDULING_AND_COMPLETE_TASKS" | "STOP_SCHEDULING_AND_CANCEL_TASKS"; export interface UpdateQueueLimitAssociationRequest { farmId: string; queueId: string; limitId: string; status: UpdateQueueLimitAssociationStatus; } -export interface UpdateQueueLimitAssociationResponse {} -export type UpdateQueueLimitAssociationStatus = - | "ACTIVE" - | "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" - | "STOP_LIMIT_USAGE_AND_CANCEL_TASKS"; +export interface UpdateQueueLimitAssociationResponse { +} +export type UpdateQueueLimitAssociationStatus = "ACTIVE" | "STOP_LIMIT_USAGE_AND_COMPLETE_TASKS" | "STOP_LIMIT_USAGE_AND_CANCEL_TASKS"; export interface UpdateQueueRequest { clientToken?: string; farmId: string; @@ -3822,7 +3031,8 @@ export interface UpdateQueueRequest { allowedStorageProfileIdsToAdd?: Array; allowedStorageProfileIdsToRemove?: Array; } -export interface UpdateQueueResponse {} +export interface UpdateQueueResponse { +} export interface UpdateSessionRequest { clientToken?: string; targetLifecycleStatus: SessionLifecycleTargetStatus; @@ -3831,7 +3041,8 @@ export interface UpdateSessionRequest { jobId: string; sessionId: string; } -export interface UpdateSessionResponse {} +export interface UpdateSessionResponse { +} export interface UpdateStepRequest { targetTaskRunStatus: StepTargetTaskRunStatus; clientToken?: string; @@ -3840,7 +3051,8 @@ export interface UpdateStepRequest { jobId: string; stepId: string; } -export interface UpdateStepResponse {} +export interface UpdateStepResponse { +} export interface UpdateStorageProfileRequest { clientToken?: string; farmId: string; @@ -3850,7 +3062,8 @@ export interface UpdateStorageProfileRequest { fileSystemLocationsToAdd?: Array; fileSystemLocationsToRemove?: Array; } -export interface UpdateStorageProfileResponse {} +export interface UpdateStorageProfileResponse { +} export interface UpdateTaskRequest { clientToken?: string; targetRunStatus: TaskTargetRunStatus; @@ -3860,7 +3073,8 @@ export interface UpdateTaskRequest { stepId: string; taskId: string; } -export interface UpdateTaskResponse {} +export interface UpdateTaskResponse { +} export interface UpdateWorkerRequest { farmId: string; fleetId: string; @@ -3890,23 +3104,14 @@ export interface UpdateWorkerScheduleResponse { export type Url = string; export type UsageGroupBy = Array; -export type UsageGroupByField = - | "QUEUE_ID" - | "FLEET_ID" - | "JOB_ID" - | "USER_ID" - | "USAGE_TYPE" - | "INSTANCE_TYPE" - | "LICENSE_PRODUCT"; +export type UsageGroupByField = "QUEUE_ID" | "FLEET_ID" | "JOB_ID" | "USER_ID" | "USAGE_TYPE" | "INSTANCE_TYPE" | "LICENSE_PRODUCT"; export type UsageStatistic = "SUM" | "MIN" | "MAX" | "AVG"; export type UsageStatistics = Array; interface _UsageTrackingResource { queueId?: string; } -export type UsageTrackingResource = _UsageTrackingResource & { - queueId: string; -}; +export type UsageTrackingResource = (_UsageTrackingResource & { queueId: string }); export type UsageType = "COMPUTE" | "LICENSE"; export type UserId = string; @@ -3926,11 +3131,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "UNKNOWN_OPERATION" - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "OTHER"; +export type ValidationExceptionReason = "UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER"; export interface VCpuCountRange { min: number; max?: number; @@ -3983,15 +3184,7 @@ export interface WorkerSessionSummary { endedAt?: Date | string; targetLifecycleStatus?: SessionLifecycleTargetStatus; } -export type WorkerStatus = - | "CREATED" - | "STARTED" - | "STOPPING" - | "STOPPED" - | "NOT_RESPONDING" - | "NOT_COMPATIBLE" - | "RUNNING" - | "IDLE"; +export type WorkerStatus = "CREATED" | "STARTED" | "STOPPING" | "STOPPED" | "NOT_RESPONDING" | "NOT_COMPATIBLE" | "RUNNING" | "IDLE"; export type WorkerSummaries = Array; export interface WorkerSummary { workerId: string; @@ -5384,12 +4577,5 @@ export declare namespace UpdateWorkerSchedule { | CommonAwsError; } -export type deadlineErrors = - | AccessDeniedException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type deadlineErrors = AccessDeniedException | ConflictException | InternalServerErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/detective/index.ts b/src/services/detective/index.ts index 544a924a..7c7ec9ff 100644 --- a/src/services/detective/index.ts +++ b/src/services/detective/index.ts @@ -5,24 +5,7 @@ import type { Detective as _DetectiveClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,37 +15,35 @@ const metadata = { sigV4ServiceName: "detective", endpointPrefix: "api.detective", operations: { - AcceptInvitation: "PUT /invitation", - BatchGetGraphMemberDatasources: "POST /graph/datasources/get", - BatchGetMembershipDatasources: "POST /membership/datasources/get", - CreateGraph: "POST /graph", - CreateMembers: "POST /graph/members", - DeleteGraph: "POST /graph/removal", - DeleteMembers: "POST /graph/members/removal", - DescribeOrganizationConfiguration: - "POST /orgs/describeOrganizationConfiguration", - DisableOrganizationAdminAccount: "POST /orgs/disableAdminAccount", - DisassociateMembership: "POST /membership/removal", - EnableOrganizationAdminAccount: "POST /orgs/enableAdminAccount", - GetInvestigation: "POST /investigations/getInvestigation", - GetMembers: "POST /graph/members/get", - ListDatasourcePackages: "POST /graph/datasources/list", - ListGraphs: "POST /graphs/list", - ListIndicators: "POST /investigations/listIndicators", - ListInvestigations: "POST /investigations/listInvestigations", - ListInvitations: "POST /invitations/list", - ListMembers: "POST /graph/members/list", - ListOrganizationAdminAccounts: "POST /orgs/adminAccountslist", - ListTagsForResource: "GET /tags/{ResourceArn}", - RejectInvitation: "POST /invitation/removal", - StartInvestigation: "POST /investigations/startInvestigation", - StartMonitoringMember: "POST /graph/member/monitoringstate", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateDatasourcePackages: "POST /graph/datasources/update", - UpdateInvestigationState: "POST /investigations/updateInvestigationState", - UpdateOrganizationConfiguration: - "POST /orgs/updateOrganizationConfiguration", + "AcceptInvitation": "PUT /invitation", + "BatchGetGraphMemberDatasources": "POST /graph/datasources/get", + "BatchGetMembershipDatasources": "POST /membership/datasources/get", + "CreateGraph": "POST /graph", + "CreateMembers": "POST /graph/members", + "DeleteGraph": "POST /graph/removal", + "DeleteMembers": "POST /graph/members/removal", + "DescribeOrganizationConfiguration": "POST /orgs/describeOrganizationConfiguration", + "DisableOrganizationAdminAccount": "POST /orgs/disableAdminAccount", + "DisassociateMembership": "POST /membership/removal", + "EnableOrganizationAdminAccount": "POST /orgs/enableAdminAccount", + "GetInvestigation": "POST /investigations/getInvestigation", + "GetMembers": "POST /graph/members/get", + "ListDatasourcePackages": "POST /graph/datasources/list", + "ListGraphs": "POST /graphs/list", + "ListIndicators": "POST /investigations/listIndicators", + "ListInvestigations": "POST /investigations/listInvestigations", + "ListInvitations": "POST /invitations/list", + "ListMembers": "POST /graph/members/list", + "ListOrganizationAdminAccounts": "POST /orgs/adminAccountslist", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "RejectInvitation": "POST /invitation/removal", + "StartInvestigation": "POST /investigations/startInvestigation", + "StartMonitoringMember": "POST /graph/member/monitoringstate", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateDatasourcePackages": "POST /graph/datasources/update", + "UpdateInvestigationState": "POST /investigations/updateInvestigationState", + "UpdateOrganizationConfiguration": "POST /orgs/updateOrganizationConfiguration", }, } as const satisfies ServiceMetadata; diff --git a/src/services/detective/types.ts b/src/services/detective/types.ts index 24d88ea1..0db35569 100644 --- a/src/services/detective/types.ts +++ b/src/services/detective/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Detective extends AWSServiceClient { @@ -41,300 +8,175 @@ export declare class Detective extends AWSServiceClient { input: AcceptInvitationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchGetGraphMemberDatasources( input: BatchGetGraphMemberDatasourcesRequest, ): Effect.Effect< BatchGetGraphMemberDatasourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchGetMembershipDatasources( input: BatchGetMembershipDatasourcesRequest, ): Effect.Effect< BatchGetMembershipDatasourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createGraph( input: CreateGraphRequest, ): Effect.Effect< CreateGraphResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | CommonAwsError >; createMembers( input: CreateMembersRequest, ): Effect.Effect< CreateMembersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteGraph( input: DeleteGraphRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteMembers( input: DeleteMembersRequest, ): Effect.Effect< DeleteMembersResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeOrganizationConfiguration( input: DescribeOrganizationConfigurationRequest, ): Effect.Effect< DescribeOrganizationConfigurationResponse, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; - disableOrganizationAdminAccount(input: {}): Effect.Effect< + disableOrganizationAdminAccount( + input: {}, + ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; disassociateMembership( input: DisassociateMembershipRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; enableOrganizationAdminAccount( input: EnableOrganizationAdminAccountRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; getInvestigation( input: GetInvestigationRequest, ): Effect.Effect< GetInvestigationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; getMembers( input: GetMembersRequest, ): Effect.Effect< GetMembersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDatasourcePackages( input: ListDatasourcePackagesRequest, ): Effect.Effect< ListDatasourcePackagesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listGraphs( input: ListGraphsRequest, ): Effect.Effect< ListGraphsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listIndicators( input: ListIndicatorsRequest, ): Effect.Effect< ListIndicatorsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; listInvestigations( input: ListInvestigationsRequest, ): Effect.Effect< ListInvestigationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; listInvitations( input: ListInvitationsRequest, ): Effect.Effect< ListInvitationsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listMembers( input: ListMembersRequest, ): Effect.Effect< ListMembersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listOrganizationAdminAccounts( input: ListOrganizationAdminAccountsRequest, ): Effect.Effect< ListOrganizationAdminAccountsResponse, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; rejectInvitation( input: RejectInvitationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startInvestigation( input: StartInvestigationRequest, ): Effect.Effect< StartInvestigationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; startMonitoringMember( input: StartMonitoringMemberRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateDatasourcePackages( input: UpdateDatasourcePackagesRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateInvestigationState( input: UpdateInvestigationStateRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; updateOrganizationConfiguration( input: UpdateOrganizationConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; } @@ -415,27 +257,15 @@ export interface CreateMembersResponse { Members?: Array; UnprocessedAccounts?: Array; } -export type DatasourcePackage = - | "DETECTIVE_CORE" - | "EKS_AUDIT" - | "ASFF_SECURITYHUB_FINDING"; +export type DatasourcePackage = "DETECTIVE_CORE" | "EKS_AUDIT" | "ASFF_SECURITYHUB_FINDING"; export interface DatasourcePackageIngestDetail { DatasourcePackageIngestState?: DatasourcePackageIngestState; LastIngestStateChange?: { [key in DatasourcePackageIngestState]?: string }; } -export type DatasourcePackageIngestDetails = Record< - DatasourcePackage, - DatasourcePackageIngestDetail ->; -export type DatasourcePackageIngestHistory = Record< - DatasourcePackage, - { [key in DatasourcePackageIngestState]?: string } ->; +export type DatasourcePackageIngestDetails = Record; +export type DatasourcePackageIngestHistory = Record; export type DatasourcePackageIngestState = "STARTED" | "STOPPED" | "DISABLED"; -export type DatasourcePackageIngestStates = Record< - DatasourcePackage, - DatasourcePackageIngestState ->; +export type DatasourcePackageIngestStates = Record; export type DatasourcePackageList = Array; export interface DatasourcePackageUsageInfo { VolumeUsageInBytes?: number; @@ -475,10 +305,7 @@ export interface EnableOrganizationAdminAccountRequest { export type EntityArn = string; export type EntityType = "IAM_ROLE" | "IAM_USER"; -export type ErrorCode = - | "INVALID_GRAPH_ARN" - | "INVALID_REQUEST_BODY" - | "INTERNAL_ERROR"; +export type ErrorCode = "INVALID_GRAPH_ARN" | "INVALID_REQUEST_BODY" | "INTERNAL_ERROR"; export type ErrorCodeReason = string; export type ErrorMessage = string; @@ -553,15 +380,7 @@ export interface IndicatorDetail { RelatedFindingGroupDetail?: RelatedFindingGroupDetail; } export type Indicators = Array; -export type IndicatorType = - | "TTP_OBSERVED" - | "IMPOSSIBLE_TRAVEL" - | "FLAGGED_IP_ADDRESS" - | "NEW_GEOLOCATION" - | "NEW_ASO" - | "NEW_USER_AGENT" - | "RELATED_FINDING" - | "RELATED_FINDING_GROUP"; +export type IndicatorType = "TTP_OBSERVED" | "IMPOSSIBLE_TRAVEL" | "FLAGGED_IP_ADDRESS" | "NEW_GEOLOCATION" | "NEW_ASO" | "NEW_USER_AGENT" | "RELATED_FINDING" | "RELATED_FINDING_GROUP"; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", )<{ @@ -584,10 +403,7 @@ export type IpAddress = string; export type IsNewForEntireAccount = boolean; -export type LastIngestStateChangeDates = Record< - DatasourcePackageIngestState, - TimestampForCollection ->; +export type LastIngestStateChangeDates = Record; export interface ListDatasourcePackagesRequest { GraphArn: string; NextToken?: string; @@ -692,12 +508,7 @@ export interface MembershipDatasources { DatasourcePackageIngestHistory?: { [key in DatasourcePackage]?: string }; } export type MembershipDatasourcesList = Array; -export type MemberStatus = - | "INVITED" - | "VERIFICATION_IN_PROGRESS" - | "VERIFICATION_FAILED" - | "ENABLED" - | "ACCEPTED_BUT_DISABLED"; +export type MemberStatus = "INVITED" | "VERIFICATION_IN_PROGRESS" | "VERIFICATION_FAILED" | "ENABLED" | "ACCEPTED_BUT_DISABLED"; export interface NewAsoDetail { Aso?: string; IsNewForEntireAccount?: boolean; @@ -777,7 +588,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Technique = string; @@ -819,7 +631,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDatasourcePackagesRequest { GraphArn: string; DatasourcePackages: Array; @@ -844,10 +657,7 @@ export declare class ValidationException extends EffectData.TaggedError( }> {} export type Value = string; -export type VolumeUsageByDatasourcePackage = Record< - DatasourcePackage, - DatasourcePackageUsageInfo ->; +export type VolumeUsageByDatasourcePackage = Record; export declare namespace AcceptInvitation { export type Input = AcceptInvitationRequest; export type Output = {}; @@ -1178,12 +988,5 @@ export declare namespace UpdateOrganizationConfiguration { | CommonAwsError; } -export type DetectiveErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError; +export type DetectiveErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError; + diff --git a/src/services/device-farm/index.ts b/src/services/device-farm/index.ts index 610b744c..4c49610b 100644 --- a/src/services/device-farm/index.ts +++ b/src/services/device-farm/index.ts @@ -5,26 +5,7 @@ import type { DeviceFarm as _DeviceFarmClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/device-farm/types.ts b/src/services/device-farm/types.ts index a8aeb234..967792c8 100644 --- a/src/services/device-farm/types.ts +++ b/src/services/device-farm/types.ts @@ -7,529 +7,319 @@ export declare class DeviceFarm extends AWSServiceClient { input: CreateDevicePoolRequest, ): Effect.Effect< CreateDevicePoolResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; createInstanceProfile( input: CreateInstanceProfileRequest, ): Effect.Effect< CreateInstanceProfileResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; createNetworkProfile( input: CreateNetworkProfileRequest, ): Effect.Effect< CreateNetworkProfileResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; createProject( input: CreateProjectRequest, ): Effect.Effect< CreateProjectResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | TagOperationException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | TagOperationException | CommonAwsError >; createRemoteAccessSession( input: CreateRemoteAccessSessionRequest, ): Effect.Effect< CreateRemoteAccessSessionResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; createTestGridProject( input: CreateTestGridProjectRequest, ): Effect.Effect< CreateTestGridProjectResult, - | ArgumentException - | InternalServiceException - | LimitExceededException - | CommonAwsError + ArgumentException | InternalServiceException | LimitExceededException | CommonAwsError >; createTestGridUrl( input: CreateTestGridUrlRequest, ): Effect.Effect< CreateTestGridUrlResult, - | ArgumentException - | InternalServiceException - | NotFoundException - | CommonAwsError + ArgumentException | InternalServiceException | NotFoundException | CommonAwsError >; createUpload( input: CreateUploadRequest, ): Effect.Effect< CreateUploadResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; createVPCEConfiguration( input: CreateVPCEConfigurationRequest, ): Effect.Effect< CreateVPCEConfigurationResult, - | ArgumentException - | LimitExceededException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | ServiceAccountException | CommonAwsError >; deleteDevicePool( input: DeleteDevicePoolRequest, ): Effect.Effect< DeleteDevicePoolResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; deleteInstanceProfile( input: DeleteInstanceProfileRequest, ): Effect.Effect< DeleteInstanceProfileResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; deleteNetworkProfile( input: DeleteNetworkProfileRequest, ): Effect.Effect< DeleteNetworkProfileResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; deleteProject( input: DeleteProjectRequest, ): Effect.Effect< DeleteProjectResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; deleteRemoteAccessSession( input: DeleteRemoteAccessSessionRequest, ): Effect.Effect< DeleteRemoteAccessSessionResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; deleteRun( input: DeleteRunRequest, ): Effect.Effect< DeleteRunResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; deleteTestGridProject( input: DeleteTestGridProjectRequest, ): Effect.Effect< DeleteTestGridProjectResult, - | ArgumentException - | CannotDeleteException - | InternalServiceException - | NotFoundException - | CommonAwsError + ArgumentException | CannotDeleteException | InternalServiceException | NotFoundException | CommonAwsError >; deleteUpload( input: DeleteUploadRequest, ): Effect.Effect< DeleteUploadResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; deleteVPCEConfiguration( input: DeleteVPCEConfigurationRequest, ): Effect.Effect< DeleteVPCEConfigurationResult, - | ArgumentException - | InvalidOperationException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | InvalidOperationException | NotFoundException | ServiceAccountException | CommonAwsError >; getAccountSettings( input: GetAccountSettingsRequest, ): Effect.Effect< GetAccountSettingsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getDevice( input: GetDeviceRequest, ): Effect.Effect< GetDeviceResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getDeviceInstance( input: GetDeviceInstanceRequest, ): Effect.Effect< GetDeviceInstanceResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getDevicePool( input: GetDevicePoolRequest, ): Effect.Effect< GetDevicePoolResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getDevicePoolCompatibility( input: GetDevicePoolCompatibilityRequest, ): Effect.Effect< GetDevicePoolCompatibilityResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getInstanceProfile( input: GetInstanceProfileRequest, ): Effect.Effect< GetInstanceProfileResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getJob( input: GetJobRequest, ): Effect.Effect< GetJobResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getNetworkProfile( input: GetNetworkProfileRequest, ): Effect.Effect< GetNetworkProfileResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getOfferingStatus( input: GetOfferingStatusRequest, ): Effect.Effect< GetOfferingStatusResult, - | ArgumentException - | LimitExceededException - | NotEligibleException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotEligibleException | NotFoundException | ServiceAccountException | CommonAwsError >; getProject( input: GetProjectRequest, ): Effect.Effect< GetProjectResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getRemoteAccessSession( input: GetRemoteAccessSessionRequest, ): Effect.Effect< GetRemoteAccessSessionResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getRun( input: GetRunRequest, ): Effect.Effect< GetRunResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getSuite( input: GetSuiteRequest, ): Effect.Effect< GetSuiteResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getTest( input: GetTestRequest, ): Effect.Effect< GetTestResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getTestGridProject( input: GetTestGridProjectRequest, ): Effect.Effect< GetTestGridProjectResult, - | ArgumentException - | InternalServiceException - | NotFoundException - | CommonAwsError + ArgumentException | InternalServiceException | NotFoundException | CommonAwsError >; getTestGridSession( input: GetTestGridSessionRequest, ): Effect.Effect< GetTestGridSessionResult, - | ArgumentException - | InternalServiceException - | NotFoundException - | CommonAwsError + ArgumentException | InternalServiceException | NotFoundException | CommonAwsError >; getUpload( input: GetUploadRequest, ): Effect.Effect< GetUploadResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; getVPCEConfiguration( input: GetVPCEConfigurationRequest, ): Effect.Effect< GetVPCEConfigurationResult, - | ArgumentException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | NotFoundException | ServiceAccountException | CommonAwsError >; installToRemoteAccessSession( input: InstallToRemoteAccessSessionRequest, ): Effect.Effect< InstallToRemoteAccessSessionResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listArtifacts( input: ListArtifactsRequest, ): Effect.Effect< ListArtifactsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listDeviceInstances( input: ListDeviceInstancesRequest, ): Effect.Effect< ListDeviceInstancesResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listDevicePools( input: ListDevicePoolsRequest, ): Effect.Effect< ListDevicePoolsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listDevices( input: ListDevicesRequest, ): Effect.Effect< ListDevicesResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listInstanceProfiles( input: ListInstanceProfilesRequest, ): Effect.Effect< ListInstanceProfilesResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listJobs( input: ListJobsRequest, ): Effect.Effect< ListJobsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listNetworkProfiles( input: ListNetworkProfilesRequest, ): Effect.Effect< ListNetworkProfilesResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listOfferingPromotions( input: ListOfferingPromotionsRequest, ): Effect.Effect< ListOfferingPromotionsResult, - | ArgumentException - | LimitExceededException - | NotEligibleException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotEligibleException | NotFoundException | ServiceAccountException | CommonAwsError >; listOfferings( input: ListOfferingsRequest, ): Effect.Effect< ListOfferingsResult, - | ArgumentException - | LimitExceededException - | NotEligibleException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotEligibleException | NotFoundException | ServiceAccountException | CommonAwsError >; listOfferingTransactions( input: ListOfferingTransactionsRequest, ): Effect.Effect< ListOfferingTransactionsResult, - | ArgumentException - | LimitExceededException - | NotEligibleException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotEligibleException | NotFoundException | ServiceAccountException | CommonAwsError >; listProjects( input: ListProjectsRequest, ): Effect.Effect< ListProjectsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listRemoteAccessSessions( input: ListRemoteAccessSessionsRequest, ): Effect.Effect< ListRemoteAccessSessionsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listRuns( input: ListRunsRequest, ): Effect.Effect< ListRunsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listSamples( input: ListSamplesRequest, ): Effect.Effect< ListSamplesResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listSuites( input: ListSuitesRequest, ): Effect.Effect< ListSuitesResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | ArgumentException - | NotFoundException - | TagOperationException - | CommonAwsError + ArgumentException | NotFoundException | TagOperationException | CommonAwsError >; listTestGridProjects( input: ListTestGridProjectsRequest, @@ -541,58 +331,37 @@ export declare class DeviceFarm extends AWSServiceClient { input: ListTestGridSessionActionsRequest, ): Effect.Effect< ListTestGridSessionActionsResult, - | ArgumentException - | InternalServiceException - | NotFoundException - | CommonAwsError + ArgumentException | InternalServiceException | NotFoundException | CommonAwsError >; listTestGridSessionArtifacts( input: ListTestGridSessionArtifactsRequest, ): Effect.Effect< ListTestGridSessionArtifactsResult, - | ArgumentException - | InternalServiceException - | NotFoundException - | CommonAwsError + ArgumentException | InternalServiceException | NotFoundException | CommonAwsError >; listTestGridSessions( input: ListTestGridSessionsRequest, ): Effect.Effect< ListTestGridSessionsResult, - | ArgumentException - | InternalServiceException - | NotFoundException - | CommonAwsError + ArgumentException | InternalServiceException | NotFoundException | CommonAwsError >; listTests( input: ListTestsRequest, ): Effect.Effect< ListTestsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listUniqueProblems( input: ListUniqueProblemsRequest, ): Effect.Effect< ListUniqueProblemsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listUploads( input: ListUploadsRequest, ): Effect.Effect< ListUploadsResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; listVPCEConfigurations( input: ListVPCEConfigurationsRequest, @@ -604,164 +373,97 @@ export declare class DeviceFarm extends AWSServiceClient { input: PurchaseOfferingRequest, ): Effect.Effect< PurchaseOfferingResult, - | ArgumentException - | LimitExceededException - | NotEligibleException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotEligibleException | NotFoundException | ServiceAccountException | CommonAwsError >; renewOffering( input: RenewOfferingRequest, ): Effect.Effect< RenewOfferingResult, - | ArgumentException - | LimitExceededException - | NotEligibleException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotEligibleException | NotFoundException | ServiceAccountException | CommonAwsError >; scheduleRun( input: ScheduleRunRequest, ): Effect.Effect< ScheduleRunResult, - | ArgumentException - | IdempotencyException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | IdempotencyException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; stopJob( input: StopJobRequest, ): Effect.Effect< StopJobResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; stopRemoteAccessSession( input: StopRemoteAccessSessionRequest, ): Effect.Effect< StopRemoteAccessSessionResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; stopRun( input: StopRunRequest, ): Effect.Effect< StopRunResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ArgumentException - | NotFoundException - | TagOperationException - | TagPolicyException - | TooManyTagsException - | CommonAwsError + ArgumentException | NotFoundException | TagOperationException | TagPolicyException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ArgumentException - | NotFoundException - | TagOperationException - | CommonAwsError + ArgumentException | NotFoundException | TagOperationException | CommonAwsError >; updateDeviceInstance( input: UpdateDeviceInstanceRequest, ): Effect.Effect< UpdateDeviceInstanceResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; updateDevicePool( input: UpdateDevicePoolRequest, ): Effect.Effect< UpdateDevicePoolResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; updateInstanceProfile( input: UpdateInstanceProfileRequest, ): Effect.Effect< UpdateInstanceProfileResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; updateNetworkProfile( input: UpdateNetworkProfileRequest, ): Effect.Effect< UpdateNetworkProfileResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; updateProject( input: UpdateProjectRequest, ): Effect.Effect< UpdateProjectResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; updateTestGridProject( input: UpdateTestGridProjectRequest, ): Effect.Effect< UpdateTestGridProjectResult, - | ArgumentException - | InternalServiceException - | LimitExceededException - | NotFoundException - | CommonAwsError + ArgumentException | InternalServiceException | LimitExceededException | NotFoundException | CommonAwsError >; updateUpload( input: UpdateUploadRequest, ): Effect.Effect< UpdateUploadResult, - | ArgumentException - | LimitExceededException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | LimitExceededException | NotFoundException | ServiceAccountException | CommonAwsError >; updateVPCEConfiguration( input: UpdateVPCEConfigurationRequest, ): Effect.Effect< UpdateVPCEConfigurationResult, - | ArgumentException - | InvalidOperationException - | NotFoundException - | ServiceAccountException - | CommonAwsError + ArgumentException | InvalidOperationException | NotFoundException | ServiceAccountException | CommonAwsError >; } @@ -797,35 +499,7 @@ export interface Artifact { } export type ArtifactCategory = "SCREENSHOT" | "FILE" | "LOG"; export type Artifacts = Array; -export type ArtifactType = - | "UNKNOWN" - | "SCREENSHOT" - | "DEVICE_LOG" - | "MESSAGE_LOG" - | "VIDEO_LOG" - | "RESULT_LOG" - | "SERVICE_LOG" - | "WEBKIT_LOG" - | "INSTRUMENTATION_OUTPUT" - | "EXERCISER_MONKEY_OUTPUT" - | "CALABASH_JSON_OUTPUT" - | "CALABASH_PRETTY_OUTPUT" - | "CALABASH_STANDARD_OUTPUT" - | "CALABASH_JAVA_XML_OUTPUT" - | "AUTOMATION_OUTPUT" - | "APPIUM_SERVER_OUTPUT" - | "APPIUM_JAVA_OUTPUT" - | "APPIUM_JAVA_XML_OUTPUT" - | "APPIUM_PYTHON_OUTPUT" - | "APPIUM_PYTHON_XML_OUTPUT" - | "EXPLORER_EVENT_LOG" - | "EXPLORER_SUMMARY_LOG" - | "APPLICATION_CRASH_REPORT" - | "XCTEST_LOG" - | "VIDEO" - | "CUSTOMER_ARTIFACT" - | "CUSTOMER_ARTIFACT_LOG" - | "TESTSPEC_OUTPUT"; +export type ArtifactType = "UNKNOWN" | "SCREENSHOT" | "DEVICE_LOG" | "MESSAGE_LOG" | "VIDEO_LOG" | "RESULT_LOG" | "SERVICE_LOG" | "WEBKIT_LOG" | "INSTRUMENTATION_OUTPUT" | "EXERCISER_MONKEY_OUTPUT" | "CALABASH_JSON_OUTPUT" | "CALABASH_PRETTY_OUTPUT" | "CALABASH_STANDARD_OUTPUT" | "CALABASH_JAVA_XML_OUTPUT" | "AUTOMATION_OUTPUT" | "APPIUM_SERVER_OUTPUT" | "APPIUM_JAVA_OUTPUT" | "APPIUM_JAVA_XML_OUTPUT" | "APPIUM_PYTHON_OUTPUT" | "APPIUM_PYTHON_XML_OUTPUT" | "EXPLORER_EVENT_LOG" | "EXPLORER_SUMMARY_LOG" | "APPLICATION_CRASH_REPORT" | "XCTEST_LOG" | "VIDEO" | "CUSTOMER_ARTIFACT" | "CUSTOMER_ARTIFACT_LOG" | "TESTSPEC_OUTPUT"; export type AuxiliaryAppArnList = Array; export type AWSAccountNumber = string; @@ -969,39 +643,48 @@ export type DateTime = Date | string; export interface DeleteDevicePoolRequest { arn: string; } -export interface DeleteDevicePoolResult {} +export interface DeleteDevicePoolResult { +} export interface DeleteInstanceProfileRequest { arn: string; } -export interface DeleteInstanceProfileResult {} +export interface DeleteInstanceProfileResult { +} export interface DeleteNetworkProfileRequest { arn: string; } -export interface DeleteNetworkProfileResult {} +export interface DeleteNetworkProfileResult { +} export interface DeleteProjectRequest { arn: string; } -export interface DeleteProjectResult {} +export interface DeleteProjectResult { +} export interface DeleteRemoteAccessSessionRequest { arn: string; } -export interface DeleteRemoteAccessSessionResult {} +export interface DeleteRemoteAccessSessionResult { +} export interface DeleteRunRequest { arn: string; } -export interface DeleteRunResult {} +export interface DeleteRunResult { +} export interface DeleteTestGridProjectRequest { projectArn: string; } -export interface DeleteTestGridProjectResult {} +export interface DeleteTestGridProjectResult { +} export interface DeleteUploadRequest { arn: string; } -export interface DeleteUploadResult {} +export interface DeleteUploadResult { +} export interface DeleteVPCEConfigurationRequest { arn: string; } -export interface DeleteVPCEConfigurationResult {} +export interface DeleteVPCEConfigurationResult { +} export interface Device { arn?: string; name?: string; @@ -1025,25 +708,8 @@ export interface Device { instances?: Array; availability?: DeviceAvailability; } -export type DeviceAttribute = - | "ARN" - | "PLATFORM" - | "FORM_FACTOR" - | "MANUFACTURER" - | "REMOTE_ACCESS_ENABLED" - | "REMOTE_DEBUG_ENABLED" - | "APPIUM_VERSION" - | "INSTANCE_ARN" - | "INSTANCE_LABELS" - | "FLEET_TYPE" - | "OS_VERSION" - | "MODEL" - | "AVAILABILITY"; -export type DeviceAvailability = - | "TEMPORARY_NOT_AVAILABLE" - | "BUSY" - | "AVAILABLE" - | "HIGHLY_AVAILABLE"; +export type DeviceAttribute = "ARN" | "PLATFORM" | "FORM_FACTOR" | "MANUFACTURER" | "REMOTE_ACCESS_ENABLED" | "REMOTE_DEBUG_ENABLED" | "APPIUM_VERSION" | "INSTANCE_ARN" | "INSTANCE_LABELS" | "FLEET_TYPE" | "OS_VERSION" | "MODEL" | "AVAILABILITY"; +export type DeviceAvailability = "TEMPORARY_NOT_AVAILABLE" | "BUSY" | "AVAILABLE" | "HIGHLY_AVAILABLE"; export type DeviceFarmArn = string; export interface DeviceFilter { @@ -1051,19 +717,7 @@ export interface DeviceFilter { operator: RuleOperator; values: Array; } -export type DeviceFilterAttribute = - | "ARN" - | "PLATFORM" - | "OS_VERSION" - | "MODEL" - | "AVAILABILITY" - | "FORM_FACTOR" - | "MANUFACTURER" - | "REMOTE_ACCESS_ENABLED" - | "REMOTE_DEBUG_ENABLED" - | "INSTANCE_ARN" - | "INSTANCE_LABELS" - | "FLEET_TYPE"; +export type DeviceFilterAttribute = "ARN" | "PLATFORM" | "OS_VERSION" | "MODEL" | "AVAILABILITY" | "FORM_FACTOR" | "MANUFACTURER" | "REMOTE_ACCESS_ENABLED" | "REMOTE_DEBUG_ENABLED" | "INSTANCE_ARN" | "INSTANCE_LABELS" | "FLEET_TYPE"; export type DeviceFilters = Array; export type DeviceFilterValues = Array; export type DeviceFormFactor = "PHONE" | "TABLET"; @@ -1096,8 +750,7 @@ export interface DevicePoolCompatibilityResult { compatible?: boolean; incompatibilityMessages?: Array; } -export type DevicePoolCompatibilityResults = - Array; +export type DevicePoolCompatibilityResults = Array; export type DevicePools = Array; export type DevicePoolType = "CURATED" | "PRIVATE"; export interface DeviceProxy { @@ -1129,30 +782,13 @@ export interface ExecutionConfiguration { videoCapture?: boolean; skipAppResign?: boolean; } -export type ExecutionResult = - | "PENDING" - | "PASSED" - | "WARNED" - | "FAILED" - | "SKIPPED" - | "ERRORED" - | "STOPPED"; -export type ExecutionResultCode = - | "PARSING_FAILED" - | "VPC_ENDPOINT_SETUP_FAILED"; -export type ExecutionStatus = - | "PENDING" - | "PENDING_CONCURRENCY" - | "PENDING_DEVICE" - | "PROCESSING" - | "SCHEDULING" - | "PREPARING" - | "RUNNING" - | "COMPLETED" - | "STOPPING"; +export type ExecutionResult = "PENDING" | "PASSED" | "WARNED" | "FAILED" | "SKIPPED" | "ERRORED" | "STOPPED"; +export type ExecutionResultCode = "PARSING_FAILED" | "VPC_ENDPOINT_SETUP_FAILED"; +export type ExecutionStatus = "PENDING" | "PENDING_CONCURRENCY" | "PENDING_DEVICE" | "PROCESSING" | "SCHEDULING" | "PREPARING" | "RUNNING" | "COMPLETED" | "STOPPING"; export type Filter = string; -export interface GetAccountSettingsRequest {} +export interface GetAccountSettingsRequest { +} export interface GetAccountSettingsResult { accountSettings?: AccountSettings; } @@ -1297,11 +933,7 @@ export interface InstanceProfile { description?: string; } export type InstanceProfiles = Array; -export type InstanceStatus = - | "IN_USE" - | "PREPARING" - | "AVAILABLE" - | "NOT_AVAILABLE"; +export type InstanceStatus = "IN_USE" | "PREPARING" | "AVAILABLE" | "NOT_AVAILABLE"; export type Integer = number; export type InteractionMode = "INTERACTIVE" | "NO_VIDEO" | "VIDEO_ONLY"; @@ -1720,15 +1352,7 @@ export interface Rule { operator?: RuleOperator; value?: string; } -export type RuleOperator = - | "EQUALS" - | "LESS_THAN" - | "LESS_THAN_OR_EQUALS" - | "GREATER_THAN" - | "GREATER_THAN_OR_EQUALS" - | "IN" - | "NOT_IN" - | "CONTAINS"; +export type RuleOperator = "EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "IN" | "NOT_IN" | "CONTAINS"; export type Rules = Array; export interface Run { arn?: string; @@ -1772,24 +1396,7 @@ export interface Sample { url?: string; } export type Samples = Array; -export type SampleType = - | "CPU" - | "MEMORY" - | "THREADS" - | "RX_RATE" - | "TX_RATE" - | "RX" - | "TX" - | "NATIVE_FRAMES" - | "NATIVE_FPS" - | "NATIVE_MIN_DRAWTIME" - | "NATIVE_AVG_DRAWTIME" - | "NATIVE_MAX_DRAWTIME" - | "OPENGL_FRAMES" - | "OPENGL_FPS" - | "OPENGL_MIN_DRAWTIME" - | "OPENGL_AVG_DRAWTIME" - | "OPENGL_MAX_DRAWTIME"; +export type SampleType = "CPU" | "MEMORY" | "THREADS" | "RX_RATE" | "TX_RATE" | "RX" | "TX" | "NATIVE_FRAMES" | "NATIVE_FPS" | "NATIVE_MIN_DRAWTIME" | "NATIVE_AVG_DRAWTIME" | "NATIVE_MAX_DRAWTIME" | "OPENGL_FRAMES" | "OPENGL_FPS" | "OPENGL_MIN_DRAWTIME" | "OPENGL_AVG_DRAWTIME" | "OPENGL_MAX_DRAWTIME"; export interface ScheduleRunConfiguration { extraDataPackageArn?: string; networkProfileArn?: string; @@ -1901,7 +1508,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Test { @@ -1960,21 +1568,7 @@ export interface TestGridVpcConfig { } export type TestParameters = Record; export type Tests = Array; -export type TestType = - | "BUILTIN_FUZZ" - | "APPIUM_JAVA_JUNIT" - | "APPIUM_JAVA_TESTNG" - | "APPIUM_PYTHON" - | "APPIUM_NODE" - | "APPIUM_RUBY" - | "APPIUM_WEB_JAVA_JUNIT" - | "APPIUM_WEB_JAVA_TESTNG" - | "APPIUM_WEB_PYTHON" - | "APPIUM_WEB_NODE" - | "APPIUM_WEB_RUBY" - | "INSTRUMENTATION" - | "XCTEST" - | "XCTEST_UI"; +export type TestType = "BUILTIN_FUZZ" | "APPIUM_JAVA_JUNIT" | "APPIUM_JAVA_TESTNG" | "APPIUM_PYTHON" | "APPIUM_NODE" | "APPIUM_RUBY" | "APPIUM_WEB_JAVA_JUNIT" | "APPIUM_WEB_JAVA_TESTNG" | "APPIUM_WEB_PYTHON" | "APPIUM_WEB_NODE" | "APPIUM_WEB_RUBY" | "INSTRUMENTATION" | "XCTEST" | "XCTEST_UI"; export declare class TooManyTagsException extends EffectData.TaggedError( "TooManyTagsException", )<{ @@ -1992,15 +1586,13 @@ export interface UniqueProblem { problems?: Array; } export type UniqueProblems = Array; -export type UniqueProblemsByExecutionResultMap = Record< - ExecutionResult, - Array ->; +export type UniqueProblemsByExecutionResultMap = Record>; export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDeviceInstanceRequest { arn: string; profileArn?: string; @@ -2099,44 +1691,8 @@ export interface Upload { } export type UploadCategory = "CURATED" | "PRIVATE"; export type Uploads = Array; -export type UploadStatus = - | "INITIALIZED" - | "PROCESSING" - | "SUCCEEDED" - | "FAILED"; -export type UploadType = - | "ANDROID_APP" - | "IOS_APP" - | "WEB_APP" - | "EXTERNAL_DATA" - | "APPIUM_JAVA_JUNIT_TEST_PACKAGE" - | "APPIUM_JAVA_TESTNG_TEST_PACKAGE" - | "APPIUM_PYTHON_TEST_PACKAGE" - | "APPIUM_NODE_TEST_PACKAGE" - | "APPIUM_RUBY_TEST_PACKAGE" - | "APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE" - | "APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE" - | "APPIUM_WEB_PYTHON_TEST_PACKAGE" - | "APPIUM_WEB_NODE_TEST_PACKAGE" - | "APPIUM_WEB_RUBY_TEST_PACKAGE" - | "CALABASH_TEST_PACKAGE" - | "INSTRUMENTATION_TEST_PACKAGE" - | "UIAUTOMATION_TEST_PACKAGE" - | "UIAUTOMATOR_TEST_PACKAGE" - | "XCTEST_TEST_PACKAGE" - | "XCTEST_UI_TEST_PACKAGE" - | "APPIUM_JAVA_JUNIT_TEST_SPEC" - | "APPIUM_JAVA_TESTNG_TEST_SPEC" - | "APPIUM_PYTHON_TEST_SPEC" - | "APPIUM_NODE_TEST_SPEC" - | "APPIUM_RUBY_TEST_SPEC" - | "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC" - | "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC" - | "APPIUM_WEB_PYTHON_TEST_SPEC" - | "APPIUM_WEB_NODE_TEST_SPEC" - | "APPIUM_WEB_RUBY_TEST_SPEC" - | "INSTRUMENTATION_TEST_SPEC" - | "XCTEST_UI_TEST_SPEC"; +export type UploadStatus = "INITIALIZED" | "PROCESSING" | "SUCCEEDED" | "FAILED"; +export type UploadType = "ANDROID_APP" | "IOS_APP" | "WEB_APP" | "EXTERNAL_DATA" | "APPIUM_JAVA_JUNIT_TEST_PACKAGE" | "APPIUM_JAVA_TESTNG_TEST_PACKAGE" | "APPIUM_PYTHON_TEST_PACKAGE" | "APPIUM_NODE_TEST_PACKAGE" | "APPIUM_RUBY_TEST_PACKAGE" | "APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE" | "APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE" | "APPIUM_WEB_PYTHON_TEST_PACKAGE" | "APPIUM_WEB_NODE_TEST_PACKAGE" | "APPIUM_WEB_RUBY_TEST_PACKAGE" | "CALABASH_TEST_PACKAGE" | "INSTRUMENTATION_TEST_PACKAGE" | "UIAUTOMATION_TEST_PACKAGE" | "UIAUTOMATOR_TEST_PACKAGE" | "XCTEST_TEST_PACKAGE" | "XCTEST_UI_TEST_PACKAGE" | "APPIUM_JAVA_JUNIT_TEST_SPEC" | "APPIUM_JAVA_TESTNG_TEST_SPEC" | "APPIUM_PYTHON_TEST_SPEC" | "APPIUM_NODE_TEST_SPEC" | "APPIUM_RUBY_TEST_SPEC" | "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC" | "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC" | "APPIUM_WEB_PYTHON_TEST_SPEC" | "APPIUM_WEB_NODE_TEST_SPEC" | "APPIUM_WEB_RUBY_TEST_SPEC" | "INSTRUMENTATION_TEST_SPEC" | "XCTEST_UI_TEST_SPEC"; export type URL = string; export type VideoCapture = boolean; @@ -3003,17 +2559,5 @@ export declare namespace UpdateVPCEConfiguration { | CommonAwsError; } -export type DeviceFarmErrors = - | ArgumentException - | CannotDeleteException - | IdempotencyException - | InternalServiceException - | InvalidOperationException - | LimitExceededException - | NotEligibleException - | NotFoundException - | ServiceAccountException - | TagOperationException - | TagPolicyException - | TooManyTagsException - | CommonAwsError; +export type DeviceFarmErrors = ArgumentException | CannotDeleteException | IdempotencyException | InternalServiceException | InvalidOperationException | LimitExceededException | NotEligibleException | NotFoundException | ServiceAccountException | TagOperationException | TagPolicyException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/devops-guru/index.ts b/src/services/devops-guru/index.ts index 3b54e361..e384380c 100644 --- a/src/services/devops-guru/index.ts +++ b/src/services/devops-guru/index.ts @@ -5,23 +5,7 @@ import type { DevOpsGuru as _DevOpsGuruClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,39 +15,37 @@ const metadata = { sigV4ServiceName: "devops-guru", endpointPrefix: "devops-guru", operations: { - AddNotificationChannel: "PUT /channels", - DeleteInsight: "DELETE /insights/{Id}", - DescribeAccountHealth: "GET /accounts/health", - DescribeAccountOverview: "POST /accounts/overview", - DescribeAnomaly: "GET /anomalies/{Id}", - DescribeEventSourcesConfig: "POST /event-sources", - DescribeFeedback: "POST /feedback", - DescribeInsight: "GET /insights/{Id}", - DescribeOrganizationHealth: "POST /organization/health", - DescribeOrganizationOverview: "POST /organization/overview", - DescribeOrganizationResourceCollectionHealth: - "POST /organization/health/resource-collection", - DescribeResourceCollectionHealth: - "GET /accounts/health/resource-collection/{ResourceCollectionType}", - DescribeServiceIntegration: "GET /service-integrations", - GetCostEstimation: "GET /cost-estimation", - GetResourceCollection: "GET /resource-collections/{ResourceCollectionType}", - ListAnomaliesForInsight: "POST /anomalies/insight/{InsightId}", - ListAnomalousLogGroups: "POST /list-log-anomalies", - ListEvents: "POST /events", - ListInsights: "POST /insights", - ListMonitoredResources: "POST /monitoredResources", - ListNotificationChannels: "POST /channels", - ListOrganizationInsights: "POST /organization/insights", - ListRecommendations: "POST /recommendations", - PutFeedback: "PUT /feedback", - RemoveNotificationChannel: "DELETE /channels/{Id}", - SearchInsights: "POST /insights/search", - SearchOrganizationInsights: "POST /organization/insights/search", - StartCostEstimation: "PUT /cost-estimation", - UpdateEventSourcesConfig: "PUT /event-sources", - UpdateResourceCollection: "PUT /resource-collections", - UpdateServiceIntegration: "PUT /service-integrations", + "AddNotificationChannel": "PUT /channels", + "DeleteInsight": "DELETE /insights/{Id}", + "DescribeAccountHealth": "GET /accounts/health", + "DescribeAccountOverview": "POST /accounts/overview", + "DescribeAnomaly": "GET /anomalies/{Id}", + "DescribeEventSourcesConfig": "POST /event-sources", + "DescribeFeedback": "POST /feedback", + "DescribeInsight": "GET /insights/{Id}", + "DescribeOrganizationHealth": "POST /organization/health", + "DescribeOrganizationOverview": "POST /organization/overview", + "DescribeOrganizationResourceCollectionHealth": "POST /organization/health/resource-collection", + "DescribeResourceCollectionHealth": "GET /accounts/health/resource-collection/{ResourceCollectionType}", + "DescribeServiceIntegration": "GET /service-integrations", + "GetCostEstimation": "GET /cost-estimation", + "GetResourceCollection": "GET /resource-collections/{ResourceCollectionType}", + "ListAnomaliesForInsight": "POST /anomalies/insight/{InsightId}", + "ListAnomalousLogGroups": "POST /list-log-anomalies", + "ListEvents": "POST /events", + "ListInsights": "POST /insights", + "ListMonitoredResources": "POST /monitoredResources", + "ListNotificationChannels": "POST /channels", + "ListOrganizationInsights": "POST /organization/insights", + "ListRecommendations": "POST /recommendations", + "PutFeedback": "PUT /feedback", + "RemoveNotificationChannel": "DELETE /channels/{Id}", + "SearchInsights": "POST /insights/search", + "SearchOrganizationInsights": "POST /organization/insights/search", + "StartCostEstimation": "PUT /cost-estimation", + "UpdateEventSourcesConfig": "PUT /event-sources", + "UpdateResourceCollection": "PUT /resource-collections", + "UpdateServiceIntegration": "PUT /service-integrations", }, } as const satisfies ServiceMetadata; diff --git a/src/services/devops-guru/types.ts b/src/services/devops-guru/types.ts index 8f88c9dc..4efafa3c 100644 --- a/src/services/devops-guru/types.ts +++ b/src/services/devops-guru/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class DevOpsGuru extends AWSServiceClient { @@ -40,334 +8,187 @@ export declare class DevOpsGuru extends AWSServiceClient { input: AddNotificationChannelRequest, ): Effect.Effect< AddNotificationChannelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteInsight( input: DeleteInsightRequest, ): Effect.Effect< DeleteInsightResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAccountHealth( input: DescribeAccountHealthRequest, ): Effect.Effect< DescribeAccountHealthResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeAccountOverview( input: DescribeAccountOverviewRequest, ): Effect.Effect< DescribeAccountOverviewResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeAnomaly( input: DescribeAnomalyRequest, ): Effect.Effect< DescribeAnomalyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeEventSourcesConfig( input: DescribeEventSourcesConfigRequest, ): Effect.Effect< DescribeEventSourcesConfigResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeFeedback( input: DescribeFeedbackRequest, ): Effect.Effect< DescribeFeedbackResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeInsight( input: DescribeInsightRequest, ): Effect.Effect< DescribeInsightResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeOrganizationHealth( input: DescribeOrganizationHealthRequest, ): Effect.Effect< DescribeOrganizationHealthResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeOrganizationOverview( input: DescribeOrganizationOverviewRequest, ): Effect.Effect< DescribeOrganizationOverviewResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeOrganizationResourceCollectionHealth( input: DescribeOrganizationResourceCollectionHealthRequest, ): Effect.Effect< DescribeOrganizationResourceCollectionHealthResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeResourceCollectionHealth( input: DescribeResourceCollectionHealthRequest, ): Effect.Effect< DescribeResourceCollectionHealthResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeServiceIntegration( input: DescribeServiceIntegrationRequest, ): Effect.Effect< DescribeServiceIntegrationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCostEstimation( input: GetCostEstimationRequest, ): Effect.Effect< GetCostEstimationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourceCollection( input: GetResourceCollectionRequest, ): Effect.Effect< GetResourceCollectionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAnomaliesForInsight( input: ListAnomaliesForInsightRequest, ): Effect.Effect< ListAnomaliesForInsightResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAnomalousLogGroups( input: ListAnomalousLogGroupsRequest, ): Effect.Effect< ListAnomalousLogGroupsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEvents( input: ListEventsRequest, ): Effect.Effect< ListEventsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInsights( input: ListInsightsRequest, ): Effect.Effect< ListInsightsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listMonitoredResources( input: ListMonitoredResourcesRequest, ): Effect.Effect< ListMonitoredResourcesResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listNotificationChannels( input: ListNotificationChannelsRequest, ): Effect.Effect< ListNotificationChannelsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listOrganizationInsights( input: ListOrganizationInsightsRequest, ): Effect.Effect< ListOrganizationInsightsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRecommendations( input: ListRecommendationsRequest, ): Effect.Effect< ListRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putFeedback( input: PutFeedbackRequest, ): Effect.Effect< PutFeedbackResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; removeNotificationChannel( input: RemoveNotificationChannelRequest, ): Effect.Effect< RemoveNotificationChannelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchInsights( input: SearchInsightsRequest, ): Effect.Effect< SearchInsightsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; searchOrganizationInsights( input: SearchOrganizationInsightsRequest, ): Effect.Effect< SearchOrganizationInsightsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; startCostEstimation( input: StartCostEstimationRequest, ): Effect.Effect< StartCostEstimationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEventSourcesConfig( input: UpdateEventSourcesConfigRequest, ): Effect.Effect< UpdateEventSourcesConfigResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateResourceCollection( input: UpdateResourceCollectionRequest, ): Effect.Effect< UpdateResourceCollectionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateServiceIntegration( input: UpdateServiceIntegrationRequest, ): Effect.Effect< UpdateServiceIntegrationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -465,10 +286,7 @@ export interface CloudFormationHealth { AnalyzedResourceCount?: number; } export type CloudFormationHealths = Array; -export type CloudWatchMetricDataStatusCode = - | "Complete" - | "InternalError" - | "PartialData"; +export type CloudWatchMetricDataStatusCode = "Complete" | "InternalError" | "PartialData"; export interface CloudWatchMetricsDataSummary { TimestampMetricValuePairList?: Array; StatusCode?: CloudWatchMetricDataStatusCode; @@ -498,15 +316,7 @@ export type CloudWatchMetricsNamespace = string; export type CloudWatchMetricsPeriod = number; -export type CloudWatchMetricsStat = - | "Sum" - | "Average" - | "SampleCount" - | "Minimum" - | "Maximum" - | "p99" - | "p90" - | "p50"; +export type CloudWatchMetricsStat = "Sum" | "Average" | "SampleCount" | "Minimum" | "Maximum" | "p99" | "p90" | "p50"; export type CloudWatchMetricsUnit = string; export declare class ConflictException extends EffectData.TaggedError( @@ -535,8 +345,10 @@ export interface CostEstimationTimeRange { export interface DeleteInsightRequest { Id: string; } -export interface DeleteInsightResponse {} -export interface DescribeAccountHealthRequest {} +export interface DeleteInsightResponse { +} +export interface DescribeAccountHealthRequest { +} export interface DescribeAccountHealthResponse { OpenReactiveInsights: number; OpenProactiveInsights: number; @@ -561,7 +373,8 @@ export interface DescribeAnomalyResponse { ProactiveAnomaly?: ProactiveAnomaly; ReactiveAnomaly?: ReactiveAnomaly; } -export interface DescribeEventSourcesConfigRequest {} +export interface DescribeEventSourcesConfigRequest { +} export interface DescribeEventSourcesConfigResponse { EventSources?: EventSourcesConfig; } @@ -623,7 +436,8 @@ export interface DescribeResourceCollectionHealthResponse { NextToken?: string; Tags?: Array; } -export interface DescribeServiceIntegrationRequest {} +export interface DescribeServiceIntegrationRequest { +} export interface DescribeServiceIntegrationResponse { ServiceIntegration?: ServiceIntegrationConfig; } @@ -649,12 +463,7 @@ export interface Event { EventClass?: EventClass; Resources?: Array; } -export type EventClass = - | "INFRASTRUCTURE" - | "DEPLOYMENT" - | "SECURITY_CHANGE" - | "CONFIG_CHANGE" - | "SCHEMA_CHANGE"; +export type EventClass = "INFRASTRUCTURE" | "DEPLOYMENT" | "SECURITY_CHANGE" | "CONFIG_CHANGE" | "SCHEMA_CHANGE"; export type EventDataSource = "AWS_CLOUD_TRAIL" | "AWS_CODE_DEPLOY"; export type EventId = string; @@ -710,12 +519,7 @@ export interface InsightFeedback { Id?: string; Feedback?: InsightFeedbackOption; } -export type InsightFeedbackOption = - | "VALID_COLLECTION" - | "RECOMMENDATION_USEFUL" - | "ALERT_TOO_SENSITIVE" - | "DATA_NOISY_ANOMALY" - | "DATA_INCORRECT"; +export type InsightFeedbackOption = "VALID_COLLECTION" | "RECOMMENDATION_USEFUL" | "ALERT_TOO_SENSITIVE" | "DATA_NOISY_ANOMALY" | "DATA_INCORRECT"; export interface InsightHealth { OpenProactiveInsights?: number; OpenReactiveInsights?: number; @@ -876,18 +680,7 @@ export interface ListRecommendationsResponse { Recommendations?: Array; NextToken?: string; } -export type Locale = - | "DE_DE" - | "EN_US" - | "EN_GB" - | "ES_ES" - | "FR_FR" - | "IT_IT" - | "JA_JP" - | "KO_KR" - | "PT_BR" - | "ZH_CN" - | "ZH_TW"; +export type Locale = "DE_DE" | "EN_US" | "EN_GB" | "ES_ES" | "FR_FR" | "IT_IT" | "JA_JP" | "KO_KR" | "PT_BR" | "ZH_CN" | "ZH_TW"; export interface LogAnomalyClass { LogStreamName?: string; LogAnomalyType?: LogAnomalyType; @@ -904,15 +697,7 @@ export interface LogAnomalyShowcase { export type LogAnomalyShowcases = Array; export type LogAnomalyToken = string; -export type LogAnomalyType = - | "KEYWORD" - | "KEYWORD_TOKEN" - | "FORMAT" - | "HTTP_CODE" - | "BLOCK_FORMAT" - | "NUMERICAL_POINT" - | "NUMERICAL_NAN" - | "NEW_FIELD_NAME"; +export type LogAnomalyType = "KEYWORD" | "KEYWORD_TOKEN" | "FORMAT" | "HTTP_CODE" | "BLOCK_FORMAT" | "NUMERICAL_POINT" | "NUMERICAL_NAN" | "NEW_FIELD_NAME"; export type LogEventId = string; export type LogGroupName = string; @@ -953,12 +738,7 @@ export interface NotificationFilterConfig { Severities?: Array; MessageTypes?: Array; } -export type NotificationMessageType = - | "NEW_INSIGHT" - | "CLOSED_INSIGHT" - | "NEW_ASSOCIATION" - | "SEVERITY_UPGRADED" - | "NEW_RECOMMENDATION"; +export type NotificationMessageType = "NEW_INSIGHT" | "CLOSED_INSIGHT" | "NEW_ASSOCIATION" | "SEVERITY_UPGRADED" | "NEW_RECOMMENDATION"; export type NotificationMessageTypes = Array; export type NumberOfLogLinesOccurrences = number; @@ -986,11 +766,7 @@ export type OrganizationalUnitId = string; export type OrganizationalUnitIdList = Array; export type OrganizationResourceCollectionMaxResults = number; -export type OrganizationResourceCollectionType = - | "AWS_CLOUD_FORMATION" - | "AWS_SERVICE" - | "AWS_ACCOUNT" - | "AWS_TAGS"; +export type OrganizationResourceCollectionType = "AWS_CLOUD_FORMATION" | "AWS_SERVICE" | "AWS_ACCOUNT" | "AWS_TAGS"; export type PerformanceInsightsMetricDimension = string; export interface PerformanceInsightsMetricDimensionGroup { @@ -1025,8 +801,7 @@ export interface PerformanceInsightsMetricsDetail { StatsAtAnomaly?: Array; StatsAtBaseline?: Array; } -export type PerformanceInsightsMetricsDetails = - Array; +export type PerformanceInsightsMetricsDetails = Array; export type PerformanceInsightsMetricUnit = string; export interface PerformanceInsightsReferenceComparisonValues { @@ -1037,8 +812,7 @@ export interface PerformanceInsightsReferenceData { Name?: string; ComparisonValues?: PerformanceInsightsReferenceComparisonValues; } -export type PerformanceInsightsReferenceDataList = - Array; +export type PerformanceInsightsReferenceDataList = Array; export interface PerformanceInsightsReferenceMetric { MetricQuery?: PerformanceInsightsMetricQuery; } @@ -1116,8 +890,7 @@ export interface ProactiveInsightSummary { ServiceCollection?: ServiceCollection; AssociatedResourceArns?: Array; } -export type ProactiveOrganizationInsights = - Array; +export type ProactiveOrganizationInsights = Array; export interface ProactiveOrganizationInsightSummary { Id?: string; AccountId?: string; @@ -1133,7 +906,8 @@ export interface ProactiveOrganizationInsightSummary { export interface PutFeedbackRequest { InsightFeedback?: InsightFeedback; } -export interface PutFeedbackResponse {} +export interface PutFeedbackResponse { +} export type ReactiveAnomalies = Array; export interface ReactiveAnomaly { Id?: string; @@ -1186,8 +960,7 @@ export interface ReactiveInsightSummary { ServiceCollection?: ServiceCollection; AssociatedResourceArns?: Array; } -export type ReactiveOrganizationInsights = - Array; +export type ReactiveOrganizationInsights = Array; export interface ReactiveOrganizationInsightSummary { Id?: string; AccountId?: string; @@ -1218,8 +991,7 @@ export type RecommendationName = string; export type RecommendationReason = string; -export type RecommendationRelatedAnomalies = - Array; +export type RecommendationRelatedAnomalies = Array; export interface RecommendationRelatedAnomaly { Resources?: Array; SourceDetails?: Array; @@ -1231,8 +1003,7 @@ export interface RecommendationRelatedAnomalyResource { } export type RecommendationRelatedAnomalyResourceName = string; -export type RecommendationRelatedAnomalyResources = - Array; +export type RecommendationRelatedAnomalyResources = Array; export type RecommendationRelatedAnomalyResourceType = string; export interface RecommendationRelatedAnomalySourceDetail { @@ -1242,8 +1013,7 @@ export interface RecommendationRelatedCloudWatchMetricsSourceDetail { MetricName?: string; Namespace?: string; } -export type RecommendationRelatedCloudWatchMetricsSourceDetails = - Array; +export type RecommendationRelatedCloudWatchMetricsSourceDetails = Array; export type RecommendationRelatedCloudWatchMetricsSourceMetricName = string; export type RecommendationRelatedCloudWatchMetricsSourceNamespace = string; @@ -1260,18 +1030,17 @@ export interface RecommendationRelatedEventResource { } export type RecommendationRelatedEventResourceName = string; -export type RecommendationRelatedEventResources = - Array; +export type RecommendationRelatedEventResources = Array; export type RecommendationRelatedEventResourceType = string; export type RecommendationRelatedEvents = Array; export type Recommendations = Array; -export type RelatedAnomalySourceDetails = - Array; +export type RelatedAnomalySourceDetails = Array; export interface RemoveNotificationChannelRequest { Id: string; } -export interface RemoveNotificationChannelResponse {} +export interface RemoveNotificationChannelResponse { +} export type ResourceArn = string; export interface ResourceCollection { @@ -1282,10 +1051,7 @@ export interface ResourceCollectionFilter { CloudFormation?: CloudFormationCollectionFilter; Tags?: Array; } -export type ResourceCollectionType = - | "AWS_CLOUD_FORMATION" - | "AWS_SERVICE" - | "AWS_TAGS"; +export type ResourceCollectionType = "AWS_CLOUD_FORMATION" | "AWS_SERVICE" | "AWS_TAGS"; export type ResourceHours = number; export type ResourceIdString = string; @@ -1304,34 +1070,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( export type ResourcePermission = "FULL_PERMISSION" | "MISSING_PERMISSION"; export type ResourceType = string; -export type ResourceTypeFilter = - | "LOG_GROUPS" - | "CLOUDFRONT_DISTRIBUTION" - | "DYNAMODB_TABLE" - | "EC2_NAT_GATEWAY" - | "ECS_CLUSTER" - | "ECS_SERVICE" - | "EKS_CLUSTER" - | "ELASTIC_BEANSTALK_ENVIRONMENT" - | "ELASTIC_LOAD_BALANCER_LOAD_BALANCER" - | "ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER" - | "ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP" - | "ELASTICACHE_CACHE_CLUSTER" - | "ELASTICSEARCH_DOMAIN" - | "KINESIS_STREAM" - | "LAMBDA_FUNCTION" - | "OPEN_SEARCH_SERVICE_DOMAIN" - | "RDS_DB_INSTANCE" - | "RDS_DB_CLUSTER" - | "REDSHIFT_CLUSTER" - | "ROUTE53_HOSTED_ZONE" - | "ROUTE53_HEALTH_CHECK" - | "S3_BUCKET" - | "SAGEMAKER_ENDPOINT" - | "SNS_TOPIC" - | "SQS_QUEUE" - | "STEP_FUNCTIONS_ACTIVITY" - | "STEP_FUNCTIONS_STATE_MACHINE"; +export type ResourceTypeFilter = "LOG_GROUPS" | "CLOUDFRONT_DISTRIBUTION" | "DYNAMODB_TABLE" | "EC2_NAT_GATEWAY" | "ECS_CLUSTER" | "ECS_SERVICE" | "EKS_CLUSTER" | "ELASTIC_BEANSTALK_ENVIRONMENT" | "ELASTIC_LOAD_BALANCER_LOAD_BALANCER" | "ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER" | "ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP" | "ELASTICACHE_CACHE_CLUSTER" | "ELASTICSEARCH_DOMAIN" | "KINESIS_STREAM" | "LAMBDA_FUNCTION" | "OPEN_SEARCH_SERVICE_DOMAIN" | "RDS_DB_INSTANCE" | "RDS_DB_CLUSTER" | "REDSHIFT_CLUSTER" | "ROUTE53_HOSTED_ZONE" | "ROUTE53_HEALTH_CHECK" | "S3_BUCKET" | "SAGEMAKER_ENDPOINT" | "SNS_TOPIC" | "SQS_QUEUE" | "STEP_FUNCTIONS_ACTIVITY" | "STEP_FUNCTIONS_STATE_MACHINE"; export type ResourceTypeFilters = Array; export type RetryAfterSeconds = number; @@ -1377,9 +1116,7 @@ export interface SearchOrganizationInsightsResponse { ReactiveInsights?: Array; NextToken?: string; } -export type ServerSideEncryptionType = - | "CUSTOMER_MANAGED_KEY" - | "AWS_OWNED_KMS_KEY"; +export type ServerSideEncryptionType = "CUSTOMER_MANAGED_KEY" | "AWS_OWNED_KMS_KEY"; export interface ServiceCollection { ServiceNames?: Array; } @@ -1398,32 +1135,7 @@ export interface ServiceIntegrationConfig { LogsAnomalyDetection?: LogsAnomalyDetectionIntegration; KMSServerSideEncryption?: KMSServerSideEncryptionIntegration; } -export type ServiceName = - | "API_GATEWAY" - | "APPLICATION_ELB" - | "AUTO_SCALING_GROUP" - | "CLOUD_FRONT" - | "DYNAMO_DB" - | "EC2" - | "ECS" - | "EKS" - | "ELASTIC_BEANSTALK" - | "ELASTI_CACHE" - | "ELB" - | "ES" - | "KINESIS" - | "LAMBDA" - | "NAT_GATEWAY" - | "NETWORK_ELB" - | "RDS" - | "REDSHIFT" - | "ROUTE_53" - | "S3" - | "SAGE_MAKER" - | "SNS" - | "SQS" - | "STEP_FUNCTIONS" - | "SWF"; +export type ServiceName = "API_GATEWAY" | "APPLICATION_ELB" | "AUTO_SCALING_GROUP" | "CLOUD_FRONT" | "DYNAMO_DB" | "EC2" | "ECS" | "EKS" | "ELASTIC_BEANSTALK" | "ELASTI_CACHE" | "ELB" | "ES" | "KINESIS" | "LAMBDA" | "NAT_GATEWAY" | "NETWORK_ELB" | "RDS" | "REDSHIFT" | "ROUTE_53" | "S3" | "SAGE_MAKER" | "SNS" | "SQS" | "STEP_FUNCTIONS" | "SWF"; export type ServiceNames = Array; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", @@ -1450,7 +1162,8 @@ export interface StartCostEstimationRequest { ResourceCollection: CostEstimationResourceCollectionFilter; ClientToken?: string; } -export interface StartCostEstimationResponse {} +export interface StartCostEstimationResponse { +} export interface StartTimeRange { FromTime?: Date | string; ToTime?: Date | string; @@ -1469,8 +1182,7 @@ export interface TagCostEstimationResourceCollectionFilter { AppBoundaryKey: string; TagValues: Array; } -export type TagCostEstimationResourceCollectionFilters = - Array; +export type TagCostEstimationResourceCollectionFilters = Array; export interface TagHealth { AppBoundaryKey?: string; TagValue?: string; @@ -1504,7 +1216,8 @@ export interface UpdateCloudFormationCollectionFilter { export interface UpdateEventSourcesConfigRequest { EventSources?: EventSourcesConfig; } -export interface UpdateEventSourcesConfigResponse {} +export interface UpdateEventSourcesConfigResponse { +} export type UpdateResourceCollectionAction = "ADD" | "REMOVE"; export interface UpdateResourceCollectionFilter { CloudFormation?: UpdateCloudFormationCollectionFilter; @@ -1514,7 +1227,8 @@ export interface UpdateResourceCollectionRequest { Action: UpdateResourceCollectionAction; ResourceCollection: UpdateResourceCollectionFilter; } -export interface UpdateResourceCollectionResponse {} +export interface UpdateResourceCollectionResponse { +} export interface UpdateServiceIntegrationConfig { OpsCenter?: OpsCenterIntegrationConfig; LogsAnomalyDetection?: LogsAnomalyDetectionIntegrationConfig; @@ -1523,7 +1237,8 @@ export interface UpdateServiceIntegrationConfig { export interface UpdateServiceIntegrationRequest { ServiceIntegration: UpdateServiceIntegrationConfig; } -export interface UpdateServiceIntegrationResponse {} +export interface UpdateServiceIntegrationResponse { +} export type UpdateStackNames = Array; export interface UpdateTagCollectionFilter { AppBoundaryKey: string; @@ -1545,13 +1260,7 @@ export interface ValidationExceptionField { Message: string; } export type ValidationExceptionFields = Array; -export type ValidationExceptionReason = - | "UNKNOWN_OPERATION" - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "OTHER" - | "INVALID_PARAMETER_COMBINATION" - | "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE"; +export type ValidationExceptionReason = "UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER" | "INVALID_PARAMETER_COMBINATION" | "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE"; export declare namespace AddNotificationChannel { export type Input = AddNotificationChannelRequest; export type Output = AddNotificationChannelResponse; @@ -1916,12 +1625,5 @@ export declare namespace UpdateServiceIntegration { | CommonAwsError; } -export type DevOpsGuruErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type DevOpsGuruErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/direct-connect/index.ts b/src/services/direct-connect/index.ts index 156bd39d..c3e1029a 100644 --- a/src/services/direct-connect/index.ts +++ b/src/services/direct-connect/index.ts @@ -5,26 +5,7 @@ import type { DirectConnect as _DirectConnectClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/direct-connect/types.ts b/src/services/direct-connect/types.ts index 2d429b91..5542d3fd 100644 --- a/src/services/direct-connect/types.ts +++ b/src/services/direct-connect/types.ts @@ -19,41 +19,25 @@ export declare class DirectConnect extends AWSServiceClient { input: AllocateHostedConnectionRequest, ): Effect.Effect< Connection, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; allocatePrivateVirtualInterface( input: AllocatePrivateVirtualInterfaceRequest, ): Effect.Effect< VirtualInterface, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; allocatePublicVirtualInterface( input: AllocatePublicVirtualInterfaceRequest, ): Effect.Effect< VirtualInterface, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; allocateTransitVirtualInterface( input: AllocateTransitVirtualInterfaceRequest, ): Effect.Effect< AllocateTransitVirtualInterfaceResult, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; associateConnectionWithLag( input: AssociateConnectionWithLagRequest, @@ -119,11 +103,7 @@ export declare class DirectConnect extends AWSServiceClient { input: CreateConnectionRequest, ): Effect.Effect< Connection, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; createDirectConnectGateway( input: CreateDirectConnectGatewayRequest, @@ -147,51 +127,31 @@ export declare class DirectConnect extends AWSServiceClient { input: CreateInterconnectRequest, ): Effect.Effect< Interconnect, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; createLag( input: CreateLagRequest, ): Effect.Effect< Lag, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; createPrivateVirtualInterface( input: CreatePrivateVirtualInterfaceRequest, ): Effect.Effect< VirtualInterface, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; createPublicVirtualInterface( input: CreatePublicVirtualInterfaceRequest, ): Effect.Effect< VirtualInterface, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; createTransitVirtualInterface( input: CreateTransitVirtualInterfaceRequest, ): Effect.Effect< CreateTransitVirtualInterfaceResult, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; deleteBGPPeer( input: DeleteBGPPeerRequest, @@ -259,7 +219,9 @@ export declare class DirectConnect extends AWSServiceClient { Connections, DirectConnectClientException | DirectConnectServerException | CommonAwsError >; - describeCustomerMetadata(input: {}): Effect.Effect< + describeCustomerMetadata( + input: {}, + ): Effect.Effect< DescribeCustomerMetadataResponse, DirectConnectClientException | DirectConnectServerException | CommonAwsError >; @@ -317,7 +279,9 @@ export declare class DirectConnect extends AWSServiceClient { Loa, DirectConnectClientException | DirectConnectServerException | CommonAwsError >; - describeLocations(input: {}): Effect.Effect< + describeLocations( + input: {}, + ): Effect.Effect< Locations, DirectConnectClientException | DirectConnectServerException | CommonAwsError >; @@ -333,7 +297,9 @@ export declare class DirectConnect extends AWSServiceClient { DescribeTagsResponse, DirectConnectClientException | DirectConnectServerException | CommonAwsError >; - describeVirtualGateways(input: {}): Effect.Effect< + describeVirtualGateways( + input: {}, + ): Effect.Effect< VirtualGateways, DirectConnectClientException | DirectConnectServerException | CommonAwsError >; @@ -377,11 +343,7 @@ export declare class DirectConnect extends AWSServiceClient { input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -535,12 +497,7 @@ export type BGPPeerId = string; export type BGPPeerIdList = Array; export type BGPPeerList = Array; -export type BGPPeerState = - | "verifying" - | "pending" - | "available" - | "deleting" - | "deleted"; +export type BGPPeerState = "verifying" | "pending" | "available" | "deleting" | "deleted"; export type BGPStatus = "up" | "down" | "unknown"; export type BooleanFlag = boolean; @@ -617,16 +574,7 @@ export interface Connections { connections?: Array; nextToken?: string; } -export type ConnectionState = - | "ordering" - | "requested" - | "pending" - | "available" - | "down" - | "deleting" - | "deleted" - | "rejected" - | "unknown"; +export type ConnectionState = "ordering" | "requested" | "pending" | "available" | "down" | "deleting" | "deleted" | "rejected" | "unknown"; export type CoreNetworkAttachmentId = string; export type CoreNetworkIdentifier = string; @@ -906,8 +854,7 @@ export interface DirectConnectGatewayAssociation { } export type DirectConnectGatewayAssociationId = string; -export type DirectConnectGatewayAssociationList = - Array; +export type DirectConnectGatewayAssociationList = Array; export interface DirectConnectGatewayAssociationProposal { proposalId?: string; directConnectGatewayId?: string; @@ -919,18 +866,9 @@ export interface DirectConnectGatewayAssociationProposal { } export type DirectConnectGatewayAssociationProposalId = string; -export type DirectConnectGatewayAssociationProposalList = - Array; -export type DirectConnectGatewayAssociationProposalState = - | "requested" - | "accepted" - | "deleted"; -export type DirectConnectGatewayAssociationState = - | "associating" - | "associated" - | "disassociating" - | "disassociated" - | "updating"; +export type DirectConnectGatewayAssociationProposalList = Array; +export type DirectConnectGatewayAssociationProposalState = "requested" | "accepted" | "deleted"; +export type DirectConnectGatewayAssociationState = "associating" | "associated" | "disassociating" | "disassociated" | "updating"; export interface DirectConnectGatewayAttachment { directConnectGatewayId?: string; virtualInterfaceId?: string; @@ -940,26 +878,15 @@ export interface DirectConnectGatewayAttachment { attachmentType?: DirectConnectGatewayAttachmentType; stateChangeError?: string; } -export type DirectConnectGatewayAttachmentList = - Array; -export type DirectConnectGatewayAttachmentState = - | "attaching" - | "attached" - | "detaching" - | "detached"; -export type DirectConnectGatewayAttachmentType = - | "TransitVirtualInterface" - | "PrivateVirtualInterface"; +export type DirectConnectGatewayAttachmentList = Array; +export type DirectConnectGatewayAttachmentState = "attaching" | "attached" | "detaching" | "detached"; +export type DirectConnectGatewayAttachmentType = "TransitVirtualInterface" | "PrivateVirtualInterface"; export type DirectConnectGatewayId = string; export type DirectConnectGatewayList = Array; export type DirectConnectGatewayName = string; -export type DirectConnectGatewayState = - | "pending" - | "available" - | "deleting" - | "deleted"; +export type DirectConnectGatewayState = "pending" | "available" | "deleting" | "deleted"; export declare class DirectConnectServerException extends EffectData.TaggedError( "DirectConnectServerException", )<{ @@ -1028,14 +955,7 @@ export interface Interconnects { interconnects?: Array; nextToken?: string; } -export type InterconnectState = - | "requested" - | "pending" - | "available" - | "down" - | "deleting" - | "deleted" - | "unknown"; +export type InterconnectState = "requested" | "pending" | "available" | "down" | "deleting" | "deleted" | "unknown"; export type JumboFrameCapable = boolean; export interface Lag { @@ -1070,14 +990,7 @@ export interface Lags { lags?: Array; nextToken?: string; } -export type LagState = - | "requested" - | "pending" - | "available" - | "down" - | "deleting" - | "deleted" - | "unknown"; +export type LagState = "requested" | "pending" | "available" | "down" | "deleting" | "deleted" | "unknown"; export interface ListVirtualInterfaceTestHistoryRequest { testId?: string; virtualInterfaceId?: string; @@ -1303,7 +1216,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TestDuration = number; @@ -1319,7 +1233,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateConnectionRequest { connectionId: string; connectionName?: string; @@ -1408,17 +1323,7 @@ export interface VirtualInterfaces { virtualInterfaces?: Array; nextToken?: string; } -export type VirtualInterfaceState = - | "confirming" - | "verifying" - | "pending" - | "available" - | "down" - | "testing" - | "deleting" - | "deleted" - | "rejected" - | "unknown"; +export type VirtualInterfaceState = "confirming" | "verifying" | "pending" | "available" | "down" | "testing" | "deleting" | "deleted" | "rejected" | "unknown"; export interface VirtualInterfaceTestHistory { testId?: string; virtualInterfaceId?: string; @@ -1429,8 +1334,7 @@ export interface VirtualInterfaceTestHistory { startTime?: Date | string; endTime?: Date | string; } -export type VirtualInterfaceTestHistoryList = - Array; +export type VirtualInterfaceTestHistoryList = Array; export type VirtualInterfaceType = string; export type VLAN = number; @@ -2028,9 +1932,5 @@ export declare namespace UpdateVirtualInterfaceAttributes { | CommonAwsError; } -export type DirectConnectErrors = - | DirectConnectClientException - | DirectConnectServerException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError; +export type DirectConnectErrors = DirectConnectClientException | DirectConnectServerException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/directory-service-data/index.ts b/src/services/directory-service-data/index.ts index 52809be7..520acd29 100644 --- a/src/services/directory-service-data/index.ts +++ b/src/services/directory-service-data/index.ts @@ -5,23 +5,7 @@ import type { DirectoryServiceData as _DirectoryServiceDataClient } from "./type export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,23 +15,28 @@ const metadata = { sigV4ServiceName: "ds-data", endpointPrefix: "ds-data", operations: { - AddGroupMember: "POST /GroupMemberships/AddGroupMember", - CreateGroup: "POST /Groups/CreateGroup", - CreateUser: "POST /Users/CreateUser", - DeleteGroup: "POST /Groups/DeleteGroup", - DeleteUser: "POST /Users/DeleteUser", - DescribeGroup: "POST /Groups/DescribeGroup", - DescribeUser: "POST /Users/DescribeUser", - DisableUser: "POST /Users/DisableUser", - ListGroupMembers: "POST /GroupMemberships/ListGroupMembers", - ListGroups: "POST /Groups/ListGroups", - ListGroupsForMember: "POST /GroupMemberships/ListGroupsForMember", - ListUsers: "POST /Users/ListUsers", - RemoveGroupMember: "POST /GroupMemberships/RemoveGroupMember", - SearchGroups: "POST /Groups/SearchGroups", - SearchUsers: "POST /Users/SearchUsers", - UpdateGroup: "POST /Groups/UpdateGroup", - UpdateUser: "POST /Users/UpdateUser", + "AddGroupMember": "POST /GroupMemberships/AddGroupMember", + "CreateGroup": "POST /Groups/CreateGroup", + "CreateUser": "POST /Users/CreateUser", + "DeleteGroup": "POST /Groups/DeleteGroup", + "DeleteUser": "POST /Users/DeleteUser", + "DescribeGroup": "POST /Groups/DescribeGroup", + "DescribeUser": "POST /Users/DescribeUser", + "DisableUser": "POST /Users/DisableUser", + "ListGroupMembers": "POST /GroupMemberships/ListGroupMembers", + "ListGroups": "POST /Groups/ListGroups", + "ListGroupsForMember": "POST /GroupMemberships/ListGroupsForMember", + "ListUsers": "POST /Users/ListUsers", + "RemoveGroupMember": "POST /GroupMemberships/RemoveGroupMember", + "SearchGroups": "POST /Groups/SearchGroups", + "SearchUsers": "POST /Users/SearchUsers", + "UpdateGroup": "POST /Groups/UpdateGroup", + "UpdateUser": "POST /Users/UpdateUser", + }, + retryableErrors: { + "DirectoryUnavailableException": {}, + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/directory-service-data/types.ts b/src/services/directory-service-data/types.ts index beb003dd..9f7079cd 100644 --- a/src/services/directory-service-data/types.ts +++ b/src/services/directory-service-data/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class DirectoryServiceData extends AWSServiceClient { @@ -40,208 +8,103 @@ export declare class DirectoryServiceData extends AWSServiceClient { input: AddGroupMemberRequest, ): Effect.Effect< AddGroupMemberResult, - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createGroup( input: CreateGroupRequest, ): Effect.Effect< CreateGroupResult, - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResult, - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteGroup( input: DeleteGroupRequest, ): Effect.Effect< DeleteGroupResult, - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< DeleteUserResult, - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeGroup( input: DescribeGroupRequest, ): Effect.Effect< DescribeGroupResult, - | AccessDeniedException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeUser( input: DescribeUserRequest, ): Effect.Effect< DescribeUserResult, - | AccessDeniedException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disableUser( input: DisableUserRequest, ): Effect.Effect< DisableUserResult, - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listGroupMembers( input: ListGroupMembersRequest, ): Effect.Effect< ListGroupMembersResult, - | AccessDeniedException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listGroups( input: ListGroupsRequest, ): Effect.Effect< ListGroupsResult, - | AccessDeniedException - | DirectoryUnavailableException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryUnavailableException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listGroupsForMember( input: ListGroupsForMemberRequest, ): Effect.Effect< ListGroupsForMemberResult, - | AccessDeniedException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listUsers( input: ListUsersRequest, ): Effect.Effect< ListUsersResult, - | AccessDeniedException - | DirectoryUnavailableException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryUnavailableException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; removeGroupMember( input: RemoveGroupMemberRequest, ): Effect.Effect< RemoveGroupMemberResult, - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchGroups( input: SearchGroupsRequest, ): Effect.Effect< SearchGroupsResult, - | AccessDeniedException - | DirectoryUnavailableException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryUnavailableException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; searchUsers( input: SearchUsersRequest, ): Effect.Effect< SearchUsersResult, - | AccessDeniedException - | DirectoryUnavailableException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DirectoryUnavailableException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateGroup( input: UpdateGroupRequest, ): Effect.Effect< UpdateGroupResult, - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResult, - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -251,10 +114,7 @@ export declare class AccessDeniedException extends EffectData.TaggedError( readonly Message?: string; readonly Reason?: AccessDeniedReason; }> {} -export type AccessDeniedReason = - | "IAM_AUTH" - | "DIRECTORY_AUTH" - | "DATA_DISABLED"; +export type AccessDeniedReason = "IAM_AUTH" | "DIRECTORY_AUTH" | "DATA_DISABLED"; export interface AddGroupMemberRequest { DirectoryId: string; GroupName: string; @@ -262,7 +122,8 @@ export interface AddGroupMemberRequest { MemberRealm?: string; ClientToken?: string; } -export interface AddGroupMemberResult {} +export interface AddGroupMemberResult { +} export type Attributes = Record; interface _AttributeValue { S?: string; @@ -271,11 +132,7 @@ interface _AttributeValue { SS?: Array; } -export type AttributeValue = - | (_AttributeValue & { S: string }) - | (_AttributeValue & { N: number }) - | (_AttributeValue & { BOOL: boolean }) - | (_AttributeValue & { SS: Array }); +export type AttributeValue = (_AttributeValue & { S: string }) | (_AttributeValue & { N: number }) | (_AttributeValue & { BOOL: boolean }) | (_AttributeValue & { SS: Array }); export type BooleanAttributeValue = boolean; export type ClientToken = string; @@ -317,13 +174,15 @@ export interface DeleteGroupRequest { SAMAccountName: string; ClientToken?: string; } -export interface DeleteGroupResult {} +export interface DeleteGroupResult { +} export interface DeleteUserRequest { DirectoryId: string; SAMAccountName: string; ClientToken?: string; } -export interface DeleteUserResult {} +export interface DeleteUserResult { +} export interface DescribeGroupRequest { DirectoryId: string; Realm?: string; @@ -367,18 +226,14 @@ export declare class DirectoryUnavailableException extends EffectData.TaggedErro readonly Message?: string; readonly Reason?: DirectoryUnavailableReason; }> {} -export type DirectoryUnavailableReason = - | "INVALID_DIRECTORY_STATE" - | "DIRECTORY_TIMEOUT" - | "DIRECTORY_RESOURCES_EXCEEDED" - | "NO_DISK_SPACE" - | "TRUST_AUTH_FAILURE"; +export type DirectoryUnavailableReason = "INVALID_DIRECTORY_STATE" | "DIRECTORY_TIMEOUT" | "DIRECTORY_RESOURCES_EXCEEDED" | "NO_DISK_SPACE" | "TRUST_AUTH_FAILURE"; export interface DisableUserRequest { DirectoryId: string; SAMAccountName: string; ClientToken?: string; } -export interface DisableUserResult {} +export interface DisableUserResult { +} export type DistinguishedName = string; export type EmailAddress = string; @@ -398,11 +253,7 @@ export interface Group { export type GroupList = Array; export type GroupName = string; -export type GroupScope = - | "DomainLocal" - | "Global" - | "Universal" - | "BuiltinLocal"; +export type GroupScope = "DomainLocal" | "Global" | "Universal" | "BuiltinLocal"; export interface GroupSummary { SID: string; SAMAccountName: string; @@ -497,7 +348,8 @@ export interface RemoveGroupMemberRequest { MemberRealm?: string; ClientToken?: string; } -export interface RemoveGroupMemberResult {} +export interface RemoveGroupMemberResult { +} export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -555,7 +407,8 @@ export interface UpdateGroupRequest { UpdateType?: UpdateType; ClientToken?: string; } -export interface UpdateGroupResult {} +export interface UpdateGroupResult { +} export type UpdateType = "ADD" | "REPLACE" | "REMOVE"; export interface UpdateUserRequest { DirectoryId: string; @@ -567,7 +420,8 @@ export interface UpdateUserRequest { UpdateType?: UpdateType; ClientToken?: string; } -export interface UpdateUserResult {} +export interface UpdateUserResult { +} export interface User { SID?: string; SAMAccountName: string; @@ -598,22 +452,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly Message?: string; readonly Reason?: ValidationExceptionReason; }> {} -export type ValidationExceptionReason = - | "INVALID_REALM" - | "INVALID_DIRECTORY_TYPE" - | "INVALID_SECONDARY_REGION" - | "INVALID_NEXT_TOKEN" - | "INVALID_ATTRIBUTE_VALUE" - | "INVALID_ATTRIBUTE_NAME" - | "INVALID_ATTRIBUTE_FOR_USER" - | "INVALID_ATTRIBUTE_FOR_GROUP" - | "INVALID_ATTRIBUTE_FOR_SEARCH" - | "INVALID_ATTRIBUTE_FOR_MODIFY" - | "DUPLICATE_ATTRIBUTE" - | "MISSING_ATTRIBUTE" - | "ATTRIBUTE_EXISTS" - | "LDAP_SIZE_LIMIT_EXCEEDED" - | "LDAP_UNSUPPORTED_OPERATION"; +export type ValidationExceptionReason = "INVALID_REALM" | "INVALID_DIRECTORY_TYPE" | "INVALID_SECONDARY_REGION" | "INVALID_NEXT_TOKEN" | "INVALID_ATTRIBUTE_VALUE" | "INVALID_ATTRIBUTE_NAME" | "INVALID_ATTRIBUTE_FOR_USER" | "INVALID_ATTRIBUTE_FOR_GROUP" | "INVALID_ATTRIBUTE_FOR_SEARCH" | "INVALID_ATTRIBUTE_FOR_MODIFY" | "DUPLICATE_ATTRIBUTE" | "MISSING_ATTRIBUTE" | "ATTRIBUTE_EXISTS" | "LDAP_SIZE_LIMIT_EXCEEDED" | "LDAP_UNSUPPORTED_OPERATION"; export declare namespace AddGroupMember { export type Input = AddGroupMemberRequest; export type Output = AddGroupMemberResult; @@ -838,12 +677,5 @@ export declare namespace UpdateUser { | CommonAwsError; } -export type DirectoryServiceDataErrors = - | AccessDeniedException - | ConflictException - | DirectoryUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type DirectoryServiceDataErrors = AccessDeniedException | ConflictException | DirectoryUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/directory-service/index.ts b/src/services/directory-service/index.ts index 680ae0ba..9904f5a0 100644 --- a/src/services/directory-service/index.ts +++ b/src/services/directory-service/index.ts @@ -5,25 +5,7 @@ import type { DirectoryService as _DirectoryServiceClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/directory-service/types.ts b/src/services/directory-service/types.ts index 800872a0..eaf3ae88 100644 --- a/src/services/directory-service/types.ts +++ b/src/services/directory-service/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class DirectoryService extends AWSServiceClient { @@ -42,934 +8,481 @@ export declare class DirectoryService extends AWSServiceClient { input: AcceptSharedDirectoryRequest, ): Effect.Effect< AcceptSharedDirectoryResult, - | ClientException - | DirectoryAlreadySharedException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | DirectoryAlreadySharedException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; addIpRoutes( input: AddIpRoutesRequest, ): Effect.Effect< AddIpRoutesResult, - | ClientException - | DirectoryUnavailableException - | EntityAlreadyExistsException - | EntityDoesNotExistException - | InvalidParameterException - | IpRouteLimitExceededException - | ServiceException - | CommonAwsError + ClientException | DirectoryUnavailableException | EntityAlreadyExistsException | EntityDoesNotExistException | InvalidParameterException | IpRouteLimitExceededException | ServiceException | CommonAwsError >; addRegion( input: AddRegionRequest, ): Effect.Effect< AddRegionResult, - | AccessDeniedException - | ClientException - | DirectoryAlreadyInRegionException - | DirectoryDoesNotExistException - | DirectoryUnavailableException - | EntityDoesNotExistException - | InvalidParameterException - | RegionLimitExceededException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryAlreadyInRegionException | DirectoryDoesNotExistException | DirectoryUnavailableException | EntityDoesNotExistException | InvalidParameterException | RegionLimitExceededException | ServiceException | UnsupportedOperationException | CommonAwsError >; addTagsToResource( input: AddTagsToResourceRequest, ): Effect.Effect< AddTagsToResourceResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | TagLimitExceededException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | TagLimitExceededException | CommonAwsError >; cancelSchemaExtension( input: CancelSchemaExtensionRequest, ): Effect.Effect< CancelSchemaExtensionResult, - | ClientException - | EntityDoesNotExistException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | ServiceException | CommonAwsError >; connectDirectory( input: ConnectDirectoryRequest, ): Effect.Effect< ConnectDirectoryResult, - | ClientException - | DirectoryLimitExceededException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | DirectoryLimitExceededException | InvalidParameterException | ServiceException | CommonAwsError >; createAlias( input: CreateAliasRequest, ): Effect.Effect< CreateAliasResult, - | ClientException - | EntityAlreadyExistsException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityAlreadyExistsException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; createComputer( input: CreateComputerRequest, ): Effect.Effect< CreateComputerResult, - | AuthenticationFailedException - | ClientException - | DirectoryUnavailableException - | EntityAlreadyExistsException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AuthenticationFailedException | ClientException | DirectoryUnavailableException | EntityAlreadyExistsException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; createConditionalForwarder( input: CreateConditionalForwarderRequest, ): Effect.Effect< CreateConditionalForwarderResult, - | ClientException - | DirectoryUnavailableException - | EntityAlreadyExistsException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryUnavailableException | EntityAlreadyExistsException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; createDirectory( input: CreateDirectoryRequest, ): Effect.Effect< CreateDirectoryResult, - | ClientException - | DirectoryLimitExceededException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | DirectoryLimitExceededException | InvalidParameterException | ServiceException | CommonAwsError >; createHybridAD( input: CreateHybridADRequest, ): Effect.Effect< CreateHybridADResult, - | ADAssessmentLimitExceededException - | ClientException - | DirectoryLimitExceededException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ADAssessmentLimitExceededException | ClientException | DirectoryLimitExceededException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; createLogSubscription( input: CreateLogSubscriptionRequest, ): Effect.Effect< CreateLogSubscriptionResult, - | ClientException - | EntityAlreadyExistsException - | EntityDoesNotExistException - | InsufficientPermissionsException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityAlreadyExistsException | EntityDoesNotExistException | InsufficientPermissionsException | ServiceException | UnsupportedOperationException | CommonAwsError >; createMicrosoftAD( input: CreateMicrosoftADRequest, ): Effect.Effect< CreateMicrosoftADResult, - | ClientException - | DirectoryLimitExceededException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryLimitExceededException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; createSnapshot( input: CreateSnapshotRequest, ): Effect.Effect< CreateSnapshotResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | SnapshotLimitExceededException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | SnapshotLimitExceededException | CommonAwsError >; createTrust( input: CreateTrustRequest, ): Effect.Effect< CreateTrustResult, - | ClientException - | EntityAlreadyExistsException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityAlreadyExistsException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; deleteADAssessment( input: DeleteADAssessmentRequest, ): Effect.Effect< DeleteADAssessmentResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; deleteConditionalForwarder( input: DeleteConditionalForwarderRequest, ): Effect.Effect< DeleteConditionalForwarderResult, - | ClientException - | DirectoryUnavailableException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryUnavailableException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; deleteDirectory( input: DeleteDirectoryRequest, ): Effect.Effect< DeleteDirectoryResult, - | ClientException - | EntityDoesNotExistException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | ServiceException | CommonAwsError >; deleteLogSubscription( input: DeleteLogSubscriptionRequest, ): Effect.Effect< DeleteLogSubscriptionResult, - | ClientException - | EntityDoesNotExistException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityDoesNotExistException | ServiceException | UnsupportedOperationException | CommonAwsError >; deleteSnapshot( input: DeleteSnapshotRequest, ): Effect.Effect< DeleteSnapshotResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; deleteTrust( input: DeleteTrustRequest, ): Effect.Effect< DeleteTrustResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; deregisterCertificate( input: DeregisterCertificateRequest, ): Effect.Effect< DeregisterCertificateResult, - | CertificateDoesNotExistException - | CertificateInUseException - | ClientException - | DirectoryDoesNotExistException - | DirectoryUnavailableException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + CertificateDoesNotExistException | CertificateInUseException | ClientException | DirectoryDoesNotExistException | DirectoryUnavailableException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; deregisterEventTopic( input: DeregisterEventTopicRequest, ): Effect.Effect< DeregisterEventTopicResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; describeADAssessment( input: DescribeADAssessmentRequest, ): Effect.Effect< DescribeADAssessmentResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeCAEnrollmentPolicy( input: DescribeCAEnrollmentPolicyRequest, ): Effect.Effect< DescribeCAEnrollmentPolicyResult, - | ClientException - | DirectoryDoesNotExistException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryDoesNotExistException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeCertificate( input: DescribeCertificateRequest, ): Effect.Effect< DescribeCertificateResult, - | CertificateDoesNotExistException - | ClientException - | DirectoryDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + CertificateDoesNotExistException | ClientException | DirectoryDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeClientAuthenticationSettings( input: DescribeClientAuthenticationSettingsRequest, ): Effect.Effect< DescribeClientAuthenticationSettingsResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeConditionalForwarders( input: DescribeConditionalForwardersRequest, ): Effect.Effect< DescribeConditionalForwardersResult, - | ClientException - | DirectoryUnavailableException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryUnavailableException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeDirectories( input: DescribeDirectoriesRequest, ): Effect.Effect< DescribeDirectoriesResult, - | ClientException - | EntityDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | CommonAwsError >; describeDirectoryDataAccess( input: DescribeDirectoryDataAccessRequest, ): Effect.Effect< DescribeDirectoryDataAccessResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeDomainControllers( input: DescribeDomainControllersRequest, ): Effect.Effect< DescribeDomainControllersResult, - | ClientException - | EntityDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeEventTopics( input: DescribeEventTopicsRequest, ): Effect.Effect< DescribeEventTopicsResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; describeHybridADUpdate( input: DescribeHybridADUpdateRequest, ): Effect.Effect< DescribeHybridADUpdateResult, - | ClientException - | DirectoryDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeLDAPSSettings( input: DescribeLDAPSSettingsRequest, ): Effect.Effect< DescribeLDAPSSettingsResult, - | ClientException - | DirectoryDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeRegions( input: DescribeRegionsRequest, ): Effect.Effect< DescribeRegionsResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeSettings( input: DescribeSettingsRequest, ): Effect.Effect< DescribeSettingsResult, - | ClientException - | DirectoryDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeSharedDirectories( input: DescribeSharedDirectoriesRequest, ): Effect.Effect< DescribeSharedDirectoriesResult, - | ClientException - | EntityDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeSnapshots( input: DescribeSnapshotsRequest, ): Effect.Effect< DescribeSnapshotsResult, - | ClientException - | EntityDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | CommonAwsError >; describeTrusts( input: DescribeTrustsRequest, ): Effect.Effect< DescribeTrustsResult, - | ClientException - | EntityDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; describeUpdateDirectory( input: DescribeUpdateDirectoryRequest, ): Effect.Effect< DescribeUpdateDirectoryResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | CommonAwsError >; disableCAEnrollmentPolicy( input: DisableCAEnrollmentPolicyRequest, ): Effect.Effect< DisableCAEnrollmentPolicyResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | DirectoryUnavailableException - | DisableAlreadyInProgressException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | DirectoryUnavailableException | DisableAlreadyInProgressException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; disableClientAuthentication( input: DisableClientAuthenticationRequest, ): Effect.Effect< DisableClientAuthenticationResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | InvalidClientAuthStatusException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | InvalidClientAuthStatusException | ServiceException | UnsupportedOperationException | CommonAwsError >; disableDirectoryDataAccess( input: DisableDirectoryDataAccessRequest, ): Effect.Effect< DisableDirectoryDataAccessResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | DirectoryInDesiredStateException - | DirectoryUnavailableException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | DirectoryInDesiredStateException | DirectoryUnavailableException | ServiceException | UnsupportedOperationException | CommonAwsError >; disableLDAPS( input: DisableLDAPSRequest, ): Effect.Effect< DisableLDAPSResult, - | ClientException - | DirectoryDoesNotExistException - | DirectoryUnavailableException - | InvalidLDAPSStatusException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryDoesNotExistException | DirectoryUnavailableException | InvalidLDAPSStatusException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; disableRadius( input: DisableRadiusRequest, ): Effect.Effect< DisableRadiusResult, - | ClientException - | EntityDoesNotExistException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | ServiceException | CommonAwsError >; disableSso( input: DisableSsoRequest, ): Effect.Effect< DisableSsoResult, - | AuthenticationFailedException - | ClientException - | EntityDoesNotExistException - | InsufficientPermissionsException - | ServiceException - | CommonAwsError + AuthenticationFailedException | ClientException | EntityDoesNotExistException | InsufficientPermissionsException | ServiceException | CommonAwsError >; enableCAEnrollmentPolicy( input: EnableCAEnrollmentPolicyRequest, ): Effect.Effect< EnableCAEnrollmentPolicyResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | DirectoryUnavailableException - | EnableAlreadyInProgressException - | EntityAlreadyExistsException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | DirectoryUnavailableException | EnableAlreadyInProgressException | EntityAlreadyExistsException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; enableClientAuthentication( input: EnableClientAuthenticationRequest, ): Effect.Effect< EnableClientAuthenticationResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | InvalidClientAuthStatusException - | NoAvailableCertificateException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | InvalidClientAuthStatusException | NoAvailableCertificateException | ServiceException | UnsupportedOperationException | CommonAwsError >; enableDirectoryDataAccess( input: EnableDirectoryDataAccessRequest, ): Effect.Effect< EnableDirectoryDataAccessResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | DirectoryInDesiredStateException - | DirectoryUnavailableException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | DirectoryInDesiredStateException | DirectoryUnavailableException | ServiceException | UnsupportedOperationException | CommonAwsError >; enableLDAPS( input: EnableLDAPSRequest, ): Effect.Effect< EnableLDAPSResult, - | ClientException - | DirectoryDoesNotExistException - | DirectoryUnavailableException - | InvalidLDAPSStatusException - | InvalidParameterException - | NoAvailableCertificateException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryDoesNotExistException | DirectoryUnavailableException | InvalidLDAPSStatusException | InvalidParameterException | NoAvailableCertificateException | ServiceException | UnsupportedOperationException | CommonAwsError >; enableRadius( input: EnableRadiusRequest, ): Effect.Effect< EnableRadiusResult, - | ClientException - | EntityAlreadyExistsException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityAlreadyExistsException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; enableSso( input: EnableSsoRequest, ): Effect.Effect< EnableSsoResult, - | AuthenticationFailedException - | ClientException - | EntityDoesNotExistException - | InsufficientPermissionsException - | ServiceException - | CommonAwsError + AuthenticationFailedException | ClientException | EntityDoesNotExistException | InsufficientPermissionsException | ServiceException | CommonAwsError >; getDirectoryLimits( input: GetDirectoryLimitsRequest, ): Effect.Effect< GetDirectoryLimitsResult, - | ClientException - | EntityDoesNotExistException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | ServiceException | CommonAwsError >; getSnapshotLimits( input: GetSnapshotLimitsRequest, ): Effect.Effect< GetSnapshotLimitsResult, - | ClientException - | EntityDoesNotExistException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | ServiceException | CommonAwsError >; listADAssessments( input: ListADAssessmentsRequest, ): Effect.Effect< ListADAssessmentsResult, - | ClientException - | DirectoryDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; listCertificates( input: ListCertificatesRequest, ): Effect.Effect< ListCertificatesResult, - | ClientException - | DirectoryDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; listIpRoutes( input: ListIpRoutesRequest, ): Effect.Effect< ListIpRoutesResult, - | ClientException - | EntityDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | CommonAwsError >; listLogSubscriptions( input: ListLogSubscriptionsRequest, ): Effect.Effect< ListLogSubscriptionsResult, - | ClientException - | EntityDoesNotExistException - | InvalidNextTokenException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidNextTokenException | ServiceException | CommonAwsError >; listSchemaExtensions( input: ListSchemaExtensionsRequest, ): Effect.Effect< ListSchemaExtensionsResult, - | ClientException - | EntityDoesNotExistException - | InvalidNextTokenException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidNextTokenException | ServiceException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResult, - | ClientException - | EntityDoesNotExistException - | InvalidNextTokenException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidNextTokenException | InvalidParameterException | ServiceException | CommonAwsError >; registerCertificate( input: RegisterCertificateRequest, ): Effect.Effect< RegisterCertificateResult, - | CertificateAlreadyExistsException - | CertificateLimitExceededException - | ClientException - | DirectoryDoesNotExistException - | DirectoryUnavailableException - | InvalidCertificateException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + CertificateAlreadyExistsException | CertificateLimitExceededException | ClientException | DirectoryDoesNotExistException | DirectoryUnavailableException | InvalidCertificateException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; registerEventTopic( input: RegisterEventTopicRequest, ): Effect.Effect< RegisterEventTopicResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; rejectSharedDirectory( input: RejectSharedDirectoryRequest, ): Effect.Effect< RejectSharedDirectoryResult, - | ClientException - | DirectoryAlreadySharedException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | DirectoryAlreadySharedException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; removeIpRoutes( input: RemoveIpRoutesRequest, ): Effect.Effect< RemoveIpRoutesResult, - | ClientException - | DirectoryUnavailableException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | DirectoryUnavailableException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; removeRegion( input: RemoveRegionRequest, ): Effect.Effect< RemoveRegionResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | DirectoryUnavailableException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | DirectoryUnavailableException | ServiceException | UnsupportedOperationException | CommonAwsError >; removeTagsFromResource( input: RemoveTagsFromResourceRequest, ): Effect.Effect< RemoveTagsFromResourceResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; resetUserPassword( input: ResetUserPasswordRequest, ): Effect.Effect< ResetUserPasswordResult, - | ClientException - | DirectoryUnavailableException - | EntityDoesNotExistException - | InvalidPasswordException - | ServiceException - | UnsupportedOperationException - | UserDoesNotExistException - | CommonAwsError + ClientException | DirectoryUnavailableException | EntityDoesNotExistException | InvalidPasswordException | ServiceException | UnsupportedOperationException | UserDoesNotExistException | CommonAwsError >; restoreFromSnapshot( input: RestoreFromSnapshotRequest, ): Effect.Effect< RestoreFromSnapshotResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; shareDirectory( input: ShareDirectoryRequest, ): Effect.Effect< ShareDirectoryResult, - | AccessDeniedException - | ClientException - | DirectoryAlreadySharedException - | EntityDoesNotExistException - | InvalidParameterException - | InvalidTargetException - | OrganizationsException - | ServiceException - | ShareLimitExceededException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryAlreadySharedException | EntityDoesNotExistException | InvalidParameterException | InvalidTargetException | OrganizationsException | ServiceException | ShareLimitExceededException | UnsupportedOperationException | CommonAwsError >; startADAssessment( input: StartADAssessmentRequest, ): Effect.Effect< StartADAssessmentResult, - | ADAssessmentLimitExceededException - | ClientException - | DirectoryDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ADAssessmentLimitExceededException | ClientException | DirectoryDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; startSchemaExtension( input: StartSchemaExtensionRequest, ): Effect.Effect< StartSchemaExtensionResult, - | ClientException - | DirectoryUnavailableException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | SnapshotLimitExceededException - | CommonAwsError + ClientException | DirectoryUnavailableException | EntityDoesNotExistException | InvalidParameterException | ServiceException | SnapshotLimitExceededException | CommonAwsError >; unshareDirectory( input: UnshareDirectoryRequest, ): Effect.Effect< UnshareDirectoryResult, - | ClientException - | DirectoryNotSharedException - | EntityDoesNotExistException - | InvalidTargetException - | ServiceException - | CommonAwsError + ClientException | DirectoryNotSharedException | EntityDoesNotExistException | InvalidTargetException | ServiceException | CommonAwsError >; updateConditionalForwarder( input: UpdateConditionalForwarderRequest, ): Effect.Effect< UpdateConditionalForwarderResult, - | ClientException - | DirectoryUnavailableException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryUnavailableException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; updateDirectorySetup( input: UpdateDirectorySetupRequest, ): Effect.Effect< UpdateDirectorySetupResult, - | AccessDeniedException - | ClientException - | DirectoryDoesNotExistException - | DirectoryInDesiredStateException - | DirectoryUnavailableException - | InvalidParameterException - | ServiceException - | SnapshotLimitExceededException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientException | DirectoryDoesNotExistException | DirectoryInDesiredStateException | DirectoryUnavailableException | InvalidParameterException | ServiceException | SnapshotLimitExceededException | UnsupportedOperationException | CommonAwsError >; updateHybridAD( input: UpdateHybridADRequest, ): Effect.Effect< UpdateHybridADResult, - | ADAssessmentLimitExceededException - | ClientException - | DirectoryDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ADAssessmentLimitExceededException | ClientException | DirectoryDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; updateNumberOfDomainControllers( input: UpdateNumberOfDomainControllersRequest, ): Effect.Effect< UpdateNumberOfDomainControllersResult, - | ClientException - | DirectoryUnavailableException - | DomainControllerLimitExceededException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | DirectoryUnavailableException | DomainControllerLimitExceededException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; updateRadius( input: UpdateRadiusRequest, ): Effect.Effect< UpdateRadiusResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; updateSettings( input: UpdateSettingsRequest, ): Effect.Effect< UpdateSettingsResult, - | ClientException - | DirectoryDoesNotExistException - | DirectoryUnavailableException - | IncompatibleSettingsException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | UnsupportedSettingsException - | CommonAwsError + ClientException | DirectoryDoesNotExistException | DirectoryUnavailableException | IncompatibleSettingsException | InvalidParameterException | ServiceException | UnsupportedOperationException | UnsupportedSettingsException | CommonAwsError >; updateTrust( input: UpdateTrustRequest, ): Effect.Effect< UpdateTrustResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | CommonAwsError >; verifyTrust( input: VerifyTrustRequest, ): Effect.Effect< VerifyTrustResult, - | ClientException - | EntityDoesNotExistException - | InvalidParameterException - | ServiceException - | UnsupportedOperationException - | CommonAwsError + ClientException | EntityDoesNotExistException | InvalidParameterException | ServiceException | UnsupportedOperationException | CommonAwsError >; } @@ -1000,19 +513,22 @@ export interface AddIpRoutesRequest { IpRoutes: Array; UpdateSecurityGroupForDirectoryControllers?: boolean; } -export interface AddIpRoutesResult {} +export interface AddIpRoutesResult { +} export type AdditionalRegions = Array; export interface AddRegionRequest { DirectoryId: string; RegionName: string; VPCSettings: DirectoryVpcSettings; } -export interface AddRegionResult {} +export interface AddRegionResult { +} export interface AddTagsToResourceRequest { ResourceId: string; Tags: Array; } -export interface AddTagsToResourceResult {} +export interface AddTagsToResourceResult { +} export type AliasName = string; export interface Assessment { @@ -1114,20 +630,15 @@ export declare class AuthenticationFailedException extends EffectData.TaggedErro export type AvailabilityZone = string; export type AvailabilityZones = Array; -export type CaEnrollmentPolicyStatus = - | "InProgress" - | "Success" - | "Failed" - | "Disabling" - | "Disabled" - | "Impaired"; +export type CaEnrollmentPolicyStatus = "InProgress" | "Success" | "Failed" | "Disabling" | "Disabled" | "Impaired"; export type CaEnrollmentPolicyStatusReason = string; export interface CancelSchemaExtensionRequest { DirectoryId: string; SchemaExtensionId: string; } -export interface CancelSchemaExtensionResult {} +export interface CancelSchemaExtensionResult { +} export interface Certificate { CertificateId?: string; State?: CertificateState; @@ -1180,13 +691,7 @@ export declare class CertificateLimitExceededException extends EffectData.Tagged export type CertificateRegisteredDateTime = Date | string; export type CertificatesInfo = Array; -export type CertificateState = - | "Registering" - | "Registered" - | "RegisterFailed" - | "Deregistering" - | "Deregistered" - | "DeregisterFailed"; +export type CertificateState = "Registering" | "Registered" | "RegisterFailed" | "Deregistering" | "Deregistered" | "DeregisterFailed"; export type CertificateStateReason = string; export type CertificateType = "ClientCertAuth" | "ClientLDAPS"; @@ -1201,8 +706,7 @@ export interface ClientAuthenticationSettingInfo { Status?: ClientAuthenticationStatus; LastUpdatedDateTime?: Date | string; } -export type ClientAuthenticationSettingsInfo = - Array; +export type ClientAuthenticationSettingsInfo = Array; export type ClientAuthenticationStatus = "Enabled" | "Disabled"; export type ClientAuthenticationType = "SmartCard" | "SmartCardOrPassword"; export interface ClientCertAuthSettings { @@ -1273,7 +777,8 @@ export interface CreateConditionalForwarderRequest { DnsIpAddrs?: Array; DnsIpv6Addrs?: Array; } -export interface CreateConditionalForwarderResult {} +export interface CreateConditionalForwarderResult { +} export type CreatedDateTime = Date | string; export interface CreateDirectoryRequest { @@ -1301,7 +806,8 @@ export interface CreateLogSubscriptionRequest { DirectoryId: string; LogGroupName: string; } -export interface CreateLogSubscriptionResult {} +export interface CreateLogSubscriptionResult { +} export interface CreateMicrosoftADRequest { Name: string; ShortName?: string; @@ -1344,12 +850,7 @@ export type CustomerId = string; export type CustomerUserName = string; -export type DataAccessStatus = - | "Disabled" - | "Disabling" - | "Enabled" - | "Enabling" - | "Failed"; +export type DataAccessStatus = "Disabled" | "Disabling" | "Enabled" | "Enabling" | "Failed"; export interface DeleteADAssessmentRequest { AssessmentId: string; } @@ -1362,7 +863,8 @@ export interface DeleteConditionalForwarderRequest { DirectoryId: string; RemoteDomainName: string; } -export interface DeleteConditionalForwarderResult {} +export interface DeleteConditionalForwarderResult { +} export interface DeleteDirectoryRequest { DirectoryId: string; } @@ -1372,7 +874,8 @@ export interface DeleteDirectoryResult { export interface DeleteLogSubscriptionRequest { DirectoryId: string; } -export interface DeleteLogSubscriptionResult {} +export interface DeleteLogSubscriptionResult { +} export interface DeleteSnapshotRequest { SnapshotId: string; } @@ -1390,12 +893,14 @@ export interface DeregisterCertificateRequest { DirectoryId: string; CertificateId: string; } -export interface DeregisterCertificateResult {} +export interface DeregisterCertificateResult { +} export interface DeregisterEventTopicRequest { DirectoryId: string; TopicName: string; } -export interface DeregisterEventTopicResult {} +export interface DeregisterEventTopicResult { +} export interface DescribeADAssessmentRequest { AssessmentId: string; } @@ -1573,22 +1078,14 @@ export type DirectoryConfigurationSettingLastUpdatedDateTime = Date | string; export type DirectoryConfigurationSettingName = string; -export type DirectoryConfigurationSettingRequestDetailedStatus = Record< - string, - DirectoryConfigurationStatus ->; +export type DirectoryConfigurationSettingRequestDetailedStatus = Record; export type DirectoryConfigurationSettingRequestStatusMessage = string; export type DirectoryConfigurationSettingType = string; export type DirectoryConfigurationSettingValue = string; -export type DirectoryConfigurationStatus = - | "Requested" - | "Updating" - | "Updated" - | "Failed" - | "Default"; +export type DirectoryConfigurationStatus = "Requested" | "Updating" | "Updated" | "Failed" | "Default"; export interface DirectoryConnectSettings { VpcId: string; SubnetIds: Array; @@ -1684,24 +1181,8 @@ export type DirectorySize = "Small" | "Large"; export interface DirectorySizeUpdateSettings { DirectorySize?: DirectorySize; } -export type DirectoryStage = - | "Requested" - | "Creating" - | "Created" - | "Active" - | "Inoperable" - | "Impaired" - | "Restoring" - | "RestoreFailed" - | "Deleting" - | "Deleted" - | "Failed" - | "Updating"; -export type DirectoryType = - | "SimpleAD" - | "ADConnector" - | "MicrosoftAD" - | "SharedMicrosoftAD"; +export type DirectoryStage = "Requested" | "Creating" | "Created" | "Active" | "Inoperable" | "Impaired" | "Restoring" | "RestoreFailed" | "Deleting" | "Deleted" | "Failed" | "Updating"; +export type DirectoryType = "SimpleAD" | "ADConnector" | "MicrosoftAD" | "SharedMicrosoftAD"; export declare class DirectoryUnavailableException extends EffectData.TaggedError( "DirectoryUnavailableException", )<{ @@ -1727,31 +1208,37 @@ export declare class DisableAlreadyInProgressException extends EffectData.Tagged export interface DisableCAEnrollmentPolicyRequest { DirectoryId: string; } -export interface DisableCAEnrollmentPolicyResult {} +export interface DisableCAEnrollmentPolicyResult { +} export interface DisableClientAuthenticationRequest { DirectoryId: string; Type: ClientAuthenticationType; } -export interface DisableClientAuthenticationResult {} +export interface DisableClientAuthenticationResult { +} export interface DisableDirectoryDataAccessRequest { DirectoryId: string; } -export interface DisableDirectoryDataAccessResult {} +export interface DisableDirectoryDataAccessResult { +} export interface DisableLDAPSRequest { DirectoryId: string; Type: LDAPSType; } -export interface DisableLDAPSResult {} +export interface DisableLDAPSResult { +} export interface DisableRadiusRequest { DirectoryId: string; } -export interface DisableRadiusResult {} +export interface DisableRadiusResult { +} export interface DisableSsoRequest { DirectoryId: string; UserName?: string; Password?: string; } -export interface DisableSsoResult {} +export interface DisableSsoResult { +} export type DnsIpAddrs = Array; export type DnsIpv6Addrs = Array; export interface DomainController { @@ -1777,15 +1264,7 @@ export declare class DomainControllerLimitExceededException extends EffectData.T readonly RequestId?: string; }> {} export type DomainControllers = Array; -export type DomainControllerStatus = - | "Creating" - | "Active" - | "Impaired" - | "Restoring" - | "Deleting" - | "Deleted" - | "Failed" - | "Updating"; +export type DomainControllerStatus = "Creating" | "Active" | "Impaired" | "Restoring" | "Deleting" | "Deleted" | "Failed" | "Updating"; export type DomainControllerStatusReason = string; export declare class EnableAlreadyInProgressException extends EffectData.TaggedError( @@ -1798,32 +1277,38 @@ export interface EnableCAEnrollmentPolicyRequest { DirectoryId: string; PcaConnectorArn: string; } -export interface EnableCAEnrollmentPolicyResult {} +export interface EnableCAEnrollmentPolicyResult { +} export interface EnableClientAuthenticationRequest { DirectoryId: string; Type: ClientAuthenticationType; } -export interface EnableClientAuthenticationResult {} +export interface EnableClientAuthenticationResult { +} export interface EnableDirectoryDataAccessRequest { DirectoryId: string; } -export interface EnableDirectoryDataAccessResult {} +export interface EnableDirectoryDataAccessResult { +} export interface EnableLDAPSRequest { DirectoryId: string; Type: LDAPSType; } -export interface EnableLDAPSResult {} +export interface EnableLDAPSResult { +} export interface EnableRadiusRequest { DirectoryId: string; RadiusSettings: RadiusSettings; } -export interface EnableRadiusResult {} +export interface EnableRadiusResult { +} export interface EnableSsoRequest { DirectoryId: string; UserName?: string; Password?: string; } -export interface EnableSsoResult {} +export interface EnableSsoResult { +} export type EndDateTime = Date | string; export declare class EntityAlreadyExistsException extends EffectData.TaggedError( @@ -1848,7 +1333,8 @@ export interface EventTopic { export type EventTopics = Array; export type ExceptionMessage = string; -export interface GetDirectoryLimitsRequest {} +export interface GetDirectoryLimitsRequest { +} export interface GetDirectoryLimitsResult { DirectoryLimits?: DirectoryLimits; } @@ -1884,9 +1370,7 @@ export interface HybridUpdateInfoEntry { LastUpdatedDateTime?: Date | string; AssessmentId?: string; } -export type HybridUpdateType = - | "SelfManagedInstances" - | "HybridAdministratorAccount"; +export type HybridUpdateType = "SelfManagedInstances" | "HybridAdministratorAccount"; export interface HybridUpdateValue { InstanceIds?: Array; DnsIps?: Array; @@ -1972,13 +1456,7 @@ export declare class IpRouteLimitExceededException extends EffectData.TaggedErro }> {} export type IpRoutes = Array; export type IpRoutesInfo = Array; -export type IpRouteStatusMsg = - | "Adding" - | "Added" - | "Removing" - | "Removed" - | "AddFailed" - | "RemoveFailed"; +export type IpRouteStatusMsg = "Adding" | "Added" | "Removing" | "Removed" | "AddFailed" | "RemoveFailed"; export type IpRouteStatusReason = string; export type Ipv6Addr = string; @@ -2115,11 +1593,7 @@ export type PcaConnectorArn = string; export type PortNumber = number; -export type RadiusAuthenticationProtocol = - | "PAP" - | "CHAP" - | "MS-CHAPv1" - | "MS-CHAPv2"; +export type RadiusAuthenticationProtocol = "PAP" | "CHAP" | "MS-CHAPv1" | "MS-CHAPv2"; export type RadiusDisplayLabel = string; export type RadiusRetries = number; @@ -2178,7 +1652,8 @@ export interface RegisterEventTopicRequest { DirectoryId: string; TopicName: string; } -export interface RegisterEventTopicResult {} +export interface RegisterEventTopicResult { +} export interface RejectSharedDirectoryRequest { SharedDirectoryId: string; } @@ -2193,16 +1668,19 @@ export interface RemoveIpRoutesRequest { CidrIps?: Array; CidrIpv6s?: Array; } -export interface RemoveIpRoutesResult {} +export interface RemoveIpRoutesResult { +} export interface RemoveRegionRequest { DirectoryId: string; } -export interface RemoveRegionResult {} +export interface RemoveRegionResult { +} export interface RemoveTagsFromResourceRequest { ResourceId: string; TagKeys: Array; } -export interface RemoveTagsFromResourceResult {} +export interface RemoveTagsFromResourceResult { +} export type ReplicationScope = "Domain"; export type RequestId = string; @@ -2211,13 +1689,15 @@ export interface ResetUserPasswordRequest { UserName: string; NewPassword: string; } -export interface ResetUserPasswordResult {} +export interface ResetUserPasswordResult { +} export type ResourceId = string; export interface RestoreFromSnapshotRequest { SnapshotId: string; } -export interface RestoreFromSnapshotResult {} +export interface RestoreFromSnapshotResult { +} export type SchemaExtensionId = string; export interface SchemaExtensionInfo { @@ -2230,16 +1710,7 @@ export interface SchemaExtensionInfo { EndDateTime?: Date | string; } export type SchemaExtensionsInfo = Array; -export type SchemaExtensionStatus = - | "Initializing" - | "CreatingSnapshot" - | "UpdatingSchema" - | "Replicating" - | "CancelInProgress" - | "RollbackInProgress" - | "Cancelled" - | "Failed" - | "Completed"; +export type SchemaExtensionStatus = "Initializing" | "CreatingSnapshot" | "UpdatingSchema" | "Replicating" | "CancelInProgress" | "RollbackInProgress" | "Cancelled" | "Failed" | "Completed"; export type SchemaExtensionStatusReason = string; export type SecretArn = string; @@ -2304,16 +1775,7 @@ export declare class ShareLimitExceededException extends EffectData.TaggedError( readonly RequestId?: string; }> {} export type ShareMethod = "ORGANIZATIONS" | "HANDSHAKE"; -export type ShareStatus = - | "Shared" - | "PendingAcceptance" - | "Rejected" - | "Rejecting" - | "RejectFailed" - | "Sharing" - | "ShareFailed" - | "Deleted" - | "Deleting"; +export type ShareStatus = "Shared" | "PendingAcceptance" | "Rejected" | "Rejecting" | "RejectFailed" | "Sharing" | "ShareFailed" | "Deleted" | "Deleting"; export interface ShareTarget { Id: string; Type: TargetType; @@ -2402,11 +1864,7 @@ export type TopicArn = string; export type TopicName = string; export type TopicNames = Array; -export type TopicStatus = - | "Registered" - | "Topic not found" - | "Failed" - | "Deleted"; +export type TopicStatus = "Registered" | "Topic not found" | "Failed" | "Deleted"; export interface Trust { DirectoryId?: string; TrustId?: string; @@ -2420,28 +1878,14 @@ export interface Trust { TrustStateReason?: string; SelectiveAuth?: SelectiveAuth; } -export type TrustDirection = - | "One-Way: Outgoing" - | "One-Way: Incoming" - | "Two-Way"; +export type TrustDirection = "One-Way: Outgoing" | "One-Way: Incoming" | "Two-Way"; export type TrustId = string; export type TrustIds = Array; export type TrustPassword = string; export type Trusts = Array; -export type TrustState = - | "Creating" - | "Created" - | "Verifying" - | "VerifyFailed" - | "Verified" - | "Updating" - | "UpdateFailed" - | "Updated" - | "Deleting" - | "Deleted" - | "Failed"; +export type TrustState = "Creating" | "Created" | "Verifying" | "VerifyFailed" | "Verified" | "Updating" | "UpdateFailed" | "Updated" | "Deleting" | "Deleted" | "Failed"; export type TrustStateReason = string; export type TrustType = "Forest" | "External"; @@ -2475,7 +1919,8 @@ export interface UpdateConditionalForwarderRequest { DnsIpAddrs?: Array; DnsIpv6Addrs?: Array; } -export interface UpdateConditionalForwarderResult {} +export interface UpdateConditionalForwarderResult { +} export interface UpdateDirectorySetupRequest { DirectoryId: string; UpdateType: UpdateType; @@ -2484,7 +1929,8 @@ export interface UpdateDirectorySetupRequest { NetworkUpdateSettings?: NetworkUpdateSettings; CreateSnapshotBeforeUpdate?: boolean; } -export interface UpdateDirectorySetupResult {} +export interface UpdateDirectorySetupResult { +} export interface UpdateHybridADRequest { DirectoryId: string; HybridAdministratorAccountUpdate?: HybridAdministratorAccountUpdate; @@ -2508,12 +1954,14 @@ export interface UpdateNumberOfDomainControllersRequest { DirectoryId: string; DesiredNumber: number; } -export interface UpdateNumberOfDomainControllersResult {} +export interface UpdateNumberOfDomainControllersResult { +} export interface UpdateRadiusRequest { DirectoryId: string; RadiusSettings: RadiusSettings; } -export interface UpdateRadiusResult {} +export interface UpdateRadiusResult { +} export type UpdateSecurityGroupForDirectoryControllers = boolean; export interface UpdateSettingsRequest { @@ -3571,45 +3019,5 @@ export declare namespace VerifyTrust { | CommonAwsError; } -export type DirectoryServiceErrors = - | ADAssessmentLimitExceededException - | AccessDeniedException - | AuthenticationFailedException - | CertificateAlreadyExistsException - | CertificateDoesNotExistException - | CertificateInUseException - | CertificateLimitExceededException - | ClientException - | DirectoryAlreadyInRegionException - | DirectoryAlreadySharedException - | DirectoryDoesNotExistException - | DirectoryInDesiredStateException - | DirectoryLimitExceededException - | DirectoryNotSharedException - | DirectoryUnavailableException - | DisableAlreadyInProgressException - | DomainControllerLimitExceededException - | EnableAlreadyInProgressException - | EntityAlreadyExistsException - | EntityDoesNotExistException - | IncompatibleSettingsException - | InsufficientPermissionsException - | InvalidCertificateException - | InvalidClientAuthStatusException - | InvalidLDAPSStatusException - | InvalidNextTokenException - | InvalidParameterException - | InvalidPasswordException - | InvalidTargetException - | IpRouteLimitExceededException - | NoAvailableCertificateException - | OrganizationsException - | RegionLimitExceededException - | ServiceException - | ShareLimitExceededException - | SnapshotLimitExceededException - | TagLimitExceededException - | UnsupportedOperationException - | UnsupportedSettingsException - | UserDoesNotExistException - | CommonAwsError; +export type DirectoryServiceErrors = ADAssessmentLimitExceededException | AccessDeniedException | AuthenticationFailedException | CertificateAlreadyExistsException | CertificateDoesNotExistException | CertificateInUseException | CertificateLimitExceededException | ClientException | DirectoryAlreadyInRegionException | DirectoryAlreadySharedException | DirectoryDoesNotExistException | DirectoryInDesiredStateException | DirectoryLimitExceededException | DirectoryNotSharedException | DirectoryUnavailableException | DisableAlreadyInProgressException | DomainControllerLimitExceededException | EnableAlreadyInProgressException | EntityAlreadyExistsException | EntityDoesNotExistException | IncompatibleSettingsException | InsufficientPermissionsException | InvalidCertificateException | InvalidClientAuthStatusException | InvalidLDAPSStatusException | InvalidNextTokenException | InvalidParameterException | InvalidPasswordException | InvalidTargetException | IpRouteLimitExceededException | NoAvailableCertificateException | OrganizationsException | RegionLimitExceededException | ServiceException | ShareLimitExceededException | SnapshotLimitExceededException | TagLimitExceededException | UnsupportedOperationException | UnsupportedSettingsException | UserDoesNotExistException | CommonAwsError; + diff --git a/src/services/dlm/index.ts b/src/services/dlm/index.ts index 026d59bb..3ec615ba 100644 --- a/src/services/dlm/index.ts +++ b/src/services/dlm/index.ts @@ -5,26 +5,7 @@ import type { DLM as _DLMClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,14 +15,14 @@ const metadata = { sigV4ServiceName: "dlm", endpointPrefix: "dlm", operations: { - CreateLifecyclePolicy: "POST /policies", - DeleteLifecyclePolicy: "DELETE /policies/{PolicyId}", - GetLifecyclePolicies: "GET /policies", - GetLifecyclePolicy: "GET /policies/{PolicyId}", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateLifecyclePolicy: "PATCH /policies/{PolicyId}", + "CreateLifecyclePolicy": "POST /policies", + "DeleteLifecyclePolicy": "DELETE /policies/{PolicyId}", + "GetLifecyclePolicies": "GET /policies", + "GetLifecyclePolicy": "GET /policies/{PolicyId}", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateLifecyclePolicy": "PATCH /policies/{PolicyId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/dlm/types.ts b/src/services/dlm/types.ts index 3682a985..2a42ce30 100644 --- a/src/services/dlm/types.ts +++ b/src/services/dlm/types.ts @@ -7,75 +7,49 @@ export declare class DLM extends AWSServiceClient { input: CreateLifecyclePolicyRequest, ): Effect.Effect< CreateLifecyclePolicyResponse, - | InternalServerException - | InvalidRequestException - | LimitExceededException - | CommonAwsError + InternalServerException | InvalidRequestException | LimitExceededException | CommonAwsError >; deleteLifecyclePolicy( input: DeleteLifecyclePolicyRequest, ): Effect.Effect< DeleteLifecyclePolicyResponse, - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getLifecyclePolicies( input: GetLifecyclePoliciesRequest, ): Effect.Effect< GetLifecyclePoliciesResponse, - | InternalServerException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getLifecyclePolicy( input: GetLifecyclePolicyRequest, ): Effect.Effect< GetLifecyclePolicyResponse, - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; updateLifecyclePolicy( input: UpdateLifecyclePolicyRequest, ): Effect.Effect< UpdateLifecyclePolicyResponse, - | InternalServerException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; } @@ -171,7 +145,8 @@ export type DefaultPolicyTypeValues = "VOLUME" | "INSTANCE"; export interface DeleteLifecyclePolicyRequest { PolicyId: string; } -export interface DeleteLifecyclePolicyResponse {} +export interface DeleteLifecyclePolicyResponse { +} export interface DeprecateRule { Count?: number; Interval?: number; @@ -334,10 +309,7 @@ export type PolicyId = string; export type PolicyIdList = Array; export type PolicyLanguageValues = "SIMPLIFIED" | "STANDARD"; -export type PolicyTypeValues = - | "EBS_SNAPSHOT_MANAGEMENT" - | "IMAGE_MANAGEMENT" - | "EVENT_BASED_POLICY"; +export type PolicyTypeValues = "EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY"; export type ResourceLocationList = Array; export type ResourceLocationValues = "CLOUD" | "OUTPOST" | "LOCAL_ZONE"; export declare class ResourceNotFoundException extends EffectData.TaggedError( @@ -425,7 +397,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsToAddFilterList = Array; export type TagsToAddList = Array; export type TagValue = string; @@ -445,7 +418,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateLifecyclePolicyRequest { PolicyId: string; ExecutionRoleArn?: string; @@ -459,7 +433,8 @@ export interface UpdateLifecyclePolicyRequest { CrossRegionCopyTargets?: Array; Exclusions?: Exclusions; } -export interface UpdateLifecyclePolicyResponse {} +export interface UpdateLifecyclePolicyResponse { +} export type VariableTagsList = Array; export type VolumeTypeValues = string; @@ -545,9 +520,5 @@ export declare namespace UpdateLifecyclePolicy { | CommonAwsError; } -export type DLMErrors = - | InternalServerException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError; +export type DLMErrors = InternalServerException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/docdb-elastic/index.ts b/src/services/docdb-elastic/index.ts index 45496326..6b694765 100644 --- a/src/services/docdb-elastic/index.ts +++ b/src/services/docdb-elastic/index.ts @@ -5,23 +5,7 @@ import type { DocDBElastic as _DocDBElasticClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,25 +14,29 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "docdb-elastic", operations: { - ApplyPendingMaintenanceAction: "POST /pending-action", - CopyClusterSnapshot: "POST /cluster-snapshot/{snapshotArn}/copy", - CreateCluster: "POST /cluster", - CreateClusterSnapshot: "POST /cluster-snapshot", - DeleteCluster: "DELETE /cluster/{clusterArn}", - DeleteClusterSnapshot: "DELETE /cluster-snapshot/{snapshotArn}", - GetCluster: "GET /cluster/{clusterArn}", - GetClusterSnapshot: "GET /cluster-snapshot/{snapshotArn}", - GetPendingMaintenanceAction: "GET /pending-action/{resourceArn}", - ListClusters: "GET /clusters", - ListClusterSnapshots: "GET /cluster-snapshots", - ListPendingMaintenanceActions: "GET /pending-actions", - ListTagsForResource: "GET /tags/{resourceArn}", - RestoreClusterFromSnapshot: "POST /cluster-snapshot/{snapshotArn}/restore", - StartCluster: "POST /cluster/{clusterArn}/start", - StopCluster: "POST /cluster/{clusterArn}/stop", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateCluster: "PUT /cluster/{clusterArn}", + "ApplyPendingMaintenanceAction": "POST /pending-action", + "CopyClusterSnapshot": "POST /cluster-snapshot/{snapshotArn}/copy", + "CreateCluster": "POST /cluster", + "CreateClusterSnapshot": "POST /cluster-snapshot", + "DeleteCluster": "DELETE /cluster/{clusterArn}", + "DeleteClusterSnapshot": "DELETE /cluster-snapshot/{snapshotArn}", + "GetCluster": "GET /cluster/{clusterArn}", + "GetClusterSnapshot": "GET /cluster-snapshot/{snapshotArn}", + "GetPendingMaintenanceAction": "GET /pending-action/{resourceArn}", + "ListClusters": "GET /clusters", + "ListClusterSnapshots": "GET /cluster-snapshots", + "ListPendingMaintenanceActions": "GET /pending-actions", + "ListTagsForResource": "GET /tags/{resourceArn}", + "RestoreClusterFromSnapshot": "POST /cluster-snapshot/{snapshotArn}/restore", + "StartCluster": "POST /cluster/{clusterArn}/start", + "StopCluster": "POST /cluster/{clusterArn}/stop", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateCluster": "PUT /cluster/{clusterArn}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/docdb-elastic/types.ts b/src/services/docdb-elastic/types.ts index a1858ee9..fb4c6853 100644 --- a/src/services/docdb-elastic/types.ts +++ b/src/services/docdb-elastic/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class DocDBElastic extends AWSServiceClient { @@ -40,216 +8,115 @@ export declare class DocDBElastic extends AWSServiceClient { input: ApplyPendingMaintenanceActionInput, ): Effect.Effect< ApplyPendingMaintenanceActionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; copyClusterSnapshot( input: CopyClusterSnapshotInput, ): Effect.Effect< CopyClusterSnapshotOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCluster( input: CreateClusterInput, ): Effect.Effect< CreateClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createClusterSnapshot( input: CreateClusterSnapshotInput, ): Effect.Effect< CreateClusterSnapshotOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteCluster( input: DeleteClusterInput, ): Effect.Effect< DeleteClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteClusterSnapshot( input: DeleteClusterSnapshotInput, ): Effect.Effect< DeleteClusterSnapshotOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCluster( input: GetClusterInput, ): Effect.Effect< GetClusterOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getClusterSnapshot( input: GetClusterSnapshotInput, ): Effect.Effect< GetClusterSnapshotOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPendingMaintenanceAction( input: GetPendingMaintenanceActionInput, ): Effect.Effect< GetPendingMaintenanceActionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listClusters( input: ListClustersInput, ): Effect.Effect< ListClustersOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listClusterSnapshots( input: ListClusterSnapshotsInput, ): Effect.Effect< ListClusterSnapshotsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPendingMaintenanceActions( input: ListPendingMaintenanceActionsInput, ): Effect.Effect< ListPendingMaintenanceActionsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; restoreClusterFromSnapshot( input: RestoreClusterFromSnapshotInput, ): Effect.Effect< RestoreClusterFromSnapshotOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startCluster( input: StartClusterInput, ): Effect.Effect< StartClusterOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopCluster( input: StopClusterInput, ): Effect.Effect< StopClusterOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCluster( input: UpdateClusterInput, ): Effect.Effect< UpdateClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -447,8 +314,7 @@ export interface PendingMaintenanceActionDetails { currentApplyDate?: string; description?: string; } -export type PendingMaintenanceActionDetailsList = - Array; +export type PendingMaintenanceActionDetailsList = Array; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -460,8 +326,7 @@ export interface ResourcePendingMaintenanceAction { resourceArn?: string; pendingMaintenanceActionDetails?: Array; } -export type ResourcePendingMaintenanceActionList = - Array; +export type ResourcePendingMaintenanceActionList = Array; export interface RestoreClusterFromSnapshotInput { clusterName: string; snapshotArn: string; @@ -511,7 +376,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -524,7 +390,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateClusterInput { clusterArn: string; authType?: string; @@ -790,12 +657,5 @@ export declare namespace UpdateCluster { | CommonAwsError; } -export type DocDBElasticErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type DocDBElasticErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/docdb/index.ts b/src/services/docdb/index.ts index 78accfa0..63f07ccf 100644 --- a/src/services/docdb/index.ts +++ b/src/services/docdb/index.ts @@ -6,26 +6,7 @@ import type { DocDB as _DocDBClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const DocDB = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _DocDBClient; diff --git a/src/services/docdb/types.ts b/src/services/docdb/types.ts index fcbff43c..272d0741 100644 --- a/src/services/docdb/types.ts +++ b/src/services/docdb/types.ts @@ -13,193 +13,103 @@ export declare class DocDB extends AWSServiceClient { input: AddTagsToResourceMessage, ): Effect.Effect< {}, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBSnapshotNotFoundFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | DBSnapshotNotFoundFault | CommonAwsError >; applyPendingMaintenanceAction( input: ApplyPendingMaintenanceActionMessage, ): Effect.Effect< ApplyPendingMaintenanceActionResult, - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | ResourceNotFoundFault - | CommonAwsError + InvalidDBClusterStateFault | InvalidDBInstanceStateFault | ResourceNotFoundFault | CommonAwsError >; copyDBClusterParameterGroup( input: CopyDBClusterParameterGroupMessage, ): Effect.Effect< CopyDBClusterParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupNotFoundFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; copyDBClusterSnapshot( input: CopyDBClusterSnapshotMessage, ): Effect.Effect< CopyDBClusterSnapshotResult, - | DBClusterSnapshotAlreadyExistsFault - | DBClusterSnapshotNotFoundFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | KMSKeyNotAccessibleFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBClusterSnapshotAlreadyExistsFault | DBClusterSnapshotNotFoundFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | KMSKeyNotAccessibleFault | SnapshotQuotaExceededFault | CommonAwsError >; createDBCluster( input: CreateDBClusterMessage, ): Effect.Effect< CreateDBClusterResult, - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBInstanceNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | GlobalClusterNotFoundFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBSubnetGroupStateFault - | InvalidGlobalClusterStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | StorageQuotaExceededFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBInstanceNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | GlobalClusterNotFoundFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBSubnetGroupStateFault | InvalidGlobalClusterStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | StorageQuotaExceededFault | CommonAwsError >; createDBClusterParameterGroup( input: CreateDBClusterParameterGroupMessage, ): Effect.Effect< CreateDBClusterParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; createDBClusterSnapshot( input: CreateDBClusterSnapshotMessage, ): Effect.Effect< CreateDBClusterSnapshotResult, - | DBClusterNotFoundFault - | DBClusterSnapshotAlreadyExistsFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterSnapshotAlreadyExistsFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | SnapshotQuotaExceededFault | CommonAwsError >; createDBInstance( input: CreateDBInstanceMessage, ): Effect.Effect< CreateDBInstanceResult, - | AuthorizationNotFoundFault - | DBClusterNotFoundFault - | DBInstanceAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | InstanceQuotaExceededFault - | InsufficientDBInstanceCapacityFault - | InvalidDBClusterStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError + AuthorizationNotFoundFault | DBClusterNotFoundFault | DBInstanceAlreadyExistsFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | InstanceQuotaExceededFault | InsufficientDBInstanceCapacityFault | InvalidDBClusterStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError >; createDBSubnetGroup( input: CreateDBSubnetGroupMessage, ): Effect.Effect< CreateDBSubnetGroupResult, - | DBSubnetGroupAlreadyExistsFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupQuotaExceededFault - | DBSubnetQuotaExceededFault - | InvalidSubnet - | CommonAwsError + DBSubnetGroupAlreadyExistsFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupQuotaExceededFault | DBSubnetQuotaExceededFault | InvalidSubnet | CommonAwsError >; createEventSubscription( input: CreateEventSubscriptionMessage, ): Effect.Effect< CreateEventSubscriptionResult, - | EventSubscriptionQuotaExceededFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SourceNotFoundFault - | SubscriptionAlreadyExistFault - | SubscriptionCategoryNotFoundFault - | CommonAwsError + EventSubscriptionQuotaExceededFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SourceNotFoundFault | SubscriptionAlreadyExistFault | SubscriptionCategoryNotFoundFault | CommonAwsError >; createGlobalCluster( input: CreateGlobalClusterMessage, ): Effect.Effect< CreateGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterAlreadyExistsFault - | GlobalClusterQuotaExceededFault - | InvalidDBClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterAlreadyExistsFault | GlobalClusterQuotaExceededFault | InvalidDBClusterStateFault | CommonAwsError >; deleteDBCluster( input: DeleteDBClusterMessage, ): Effect.Effect< DeleteDBClusterResult, - | DBClusterNotFoundFault - | DBClusterSnapshotAlreadyExistsFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterSnapshotAlreadyExistsFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | SnapshotQuotaExceededFault | CommonAwsError >; deleteDBClusterParameterGroup( input: DeleteDBClusterParameterGroupMessage, ): Effect.Effect< {}, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; deleteDBClusterSnapshot( input: DeleteDBClusterSnapshotMessage, ): Effect.Effect< DeleteDBClusterSnapshotResult, - | DBClusterSnapshotNotFoundFault - | InvalidDBClusterSnapshotStateFault - | CommonAwsError + DBClusterSnapshotNotFoundFault | InvalidDBClusterSnapshotStateFault | CommonAwsError >; deleteDBInstance( input: DeleteDBInstanceMessage, ): Effect.Effect< DeleteDBInstanceResult, - | DBInstanceNotFoundFault - | DBSnapshotAlreadyExistsFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBInstanceNotFoundFault | DBSnapshotAlreadyExistsFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | SnapshotQuotaExceededFault | CommonAwsError >; deleteDBSubnetGroup( input: DeleteDBSubnetGroupMessage, ): Effect.Effect< {}, - | DBSubnetGroupNotFoundFault - | InvalidDBSubnetGroupStateFault - | InvalidDBSubnetStateFault - | CommonAwsError + DBSubnetGroupNotFoundFault | InvalidDBSubnetGroupStateFault | InvalidDBSubnetStateFault | CommonAwsError >; deleteEventSubscription( input: DeleteEventSubscriptionMessage, ): Effect.Effect< DeleteEventSubscriptionResult, - | InvalidEventSubscriptionStateFault - | SubscriptionNotFoundFault - | CommonAwsError + InvalidEventSubscriptionStateFault | SubscriptionNotFoundFault | CommonAwsError >; deleteGlobalCluster( input: DeleteGlobalClusterMessage, @@ -227,7 +137,10 @@ export declare class DocDB extends AWSServiceClient { >; describeDBClusters( input: DescribeDBClustersMessage, - ): Effect.Effect; + ): Effect.Effect< + DBClusterMessage, + DBClusterNotFoundFault | CommonAwsError + >; describeDBClusterSnapshotAttributes( input: DescribeDBClusterSnapshotAttributesMessage, ): Effect.Effect< @@ -242,7 +155,10 @@ export declare class DocDB extends AWSServiceClient { >; describeDBEngineVersions( input: DescribeDBEngineVersionsMessage, - ): Effect.Effect; + ): Effect.Effect< + DBEngineVersionMessage, + CommonAwsError + >; describeDBInstances( input: DescribeDBInstancesMessage, ): Effect.Effect< @@ -263,10 +179,16 @@ export declare class DocDB extends AWSServiceClient { >; describeEventCategories( input: DescribeEventCategoriesMessage, - ): Effect.Effect; + ): Effect.Effect< + EventCategoriesMessage, + CommonAwsError + >; describeEvents( input: DescribeEventsMessage, - ): Effect.Effect; + ): Effect.Effect< + EventsMessage, + CommonAwsError + >; describeEventSubscriptions( input: DescribeEventSubscriptionsMessage, ): Effect.Effect< @@ -281,7 +203,10 @@ export declare class DocDB extends AWSServiceClient { >; describeOrderableDBInstanceOptions( input: DescribeOrderableDBInstanceOptionsMessage, - ): Effect.Effect; + ): Effect.Effect< + OrderableDBInstanceOptionsMessage, + CommonAwsError + >; describePendingMaintenanceActions( input: DescribePendingMaintenanceActionsMessage, ): Effect.Effect< @@ -292,106 +217,55 @@ export declare class DocDB extends AWSServiceClient { input: FailoverDBClusterMessage, ): Effect.Effect< FailoverDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; failoverGlobalCluster( input: FailoverGlobalClusterMessage, ): Effect.Effect< FailoverGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidGlobalClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterNotFoundFault | InvalidDBClusterStateFault | InvalidGlobalClusterStateFault | CommonAwsError >; listTagsForResource( input: ListTagsForResourceMessage, ): Effect.Effect< TagListMessage, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBSnapshotNotFoundFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | DBSnapshotNotFoundFault | CommonAwsError >; modifyDBCluster( input: ModifyDBClusterMessage, ): Effect.Effect< ModifyDBClusterResult, - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBSubnetGroupNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBSecurityGroupStateFault - | InvalidDBSubnetGroupStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | NetworkTypeNotSupported - | StorageQuotaExceededFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBSubnetGroupNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBSecurityGroupStateFault | InvalidDBSubnetGroupStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | NetworkTypeNotSupported | StorageQuotaExceededFault | CommonAwsError >; modifyDBClusterParameterGroup( input: ModifyDBClusterParameterGroupMessage, ): Effect.Effect< DBClusterParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; modifyDBClusterSnapshotAttribute( input: ModifyDBClusterSnapshotAttributeMessage, ): Effect.Effect< ModifyDBClusterSnapshotAttributeResult, - | DBClusterSnapshotNotFoundFault - | InvalidDBClusterSnapshotStateFault - | SharedSnapshotQuotaExceededFault - | CommonAwsError + DBClusterSnapshotNotFoundFault | InvalidDBClusterSnapshotStateFault | SharedSnapshotQuotaExceededFault | CommonAwsError >; modifyDBInstance( input: ModifyDBInstanceMessage, ): Effect.Effect< ModifyDBInstanceResult, - | AuthorizationNotFoundFault - | CertificateNotFoundFault - | DBInstanceAlreadyExistsFault - | DBInstanceNotFoundFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBUpgradeDependencyFailureFault - | InsufficientDBInstanceCapacityFault - | InvalidDBInstanceStateFault - | InvalidDBSecurityGroupStateFault - | InvalidVPCNetworkStateFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError + AuthorizationNotFoundFault | CertificateNotFoundFault | DBInstanceAlreadyExistsFault | DBInstanceNotFoundFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBUpgradeDependencyFailureFault | InsufficientDBInstanceCapacityFault | InvalidDBInstanceStateFault | InvalidDBSecurityGroupStateFault | InvalidVPCNetworkStateFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError >; modifyDBSubnetGroup( input: ModifyDBSubnetGroupMessage, ): Effect.Effect< ModifyDBSubnetGroupResult, - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DBSubnetQuotaExceededFault - | InvalidSubnet - | SubnetAlreadyInUse - | CommonAwsError + DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DBSubnetQuotaExceededFault | InvalidSubnet | SubnetAlreadyInUse | CommonAwsError >; modifyEventSubscription( input: ModifyEventSubscriptionMessage, ): Effect.Effect< ModifyEventSubscriptionResult, - | EventSubscriptionQuotaExceededFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SubscriptionCategoryNotFoundFault - | SubscriptionNotFoundFault - | CommonAwsError + EventSubscriptionQuotaExceededFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SubscriptionCategoryNotFoundFault | SubscriptionNotFoundFault | CommonAwsError >; modifyGlobalCluster( input: ModifyGlobalClusterMessage, @@ -409,10 +283,7 @@ export declare class DocDB extends AWSServiceClient { input: RemoveFromGlobalClusterMessage, ): Effect.Effect< RemoveFromGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterNotFoundFault - | InvalidGlobalClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterNotFoundFault | InvalidGlobalClusterStateFault | CommonAwsError >; removeSourceIdentifierFromSubscription( input: RemoveSourceIdentifierFromSubscriptionMessage, @@ -424,89 +295,43 @@ export declare class DocDB extends AWSServiceClient { input: RemoveTagsFromResourceMessage, ): Effect.Effect< {}, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBSnapshotNotFoundFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | DBSnapshotNotFoundFault | CommonAwsError >; resetDBClusterParameterGroup( input: ResetDBClusterParameterGroupMessage, ): Effect.Effect< DBClusterParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; restoreDBClusterFromSnapshot( input: RestoreDBClusterFromSnapshotMessage, ): Effect.Effect< RestoreDBClusterFromSnapshotResult, - | DBClusterAlreadyExistsFault - | DBClusterQuotaExceededFault - | DBClusterSnapshotNotFoundFault - | DBSnapshotNotFoundFault - | DBSubnetGroupNotFoundFault - | InsufficientDBClusterCapacityFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBSnapshotStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | StorageQuotaExceededFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterQuotaExceededFault | DBClusterSnapshotNotFoundFault | DBSnapshotNotFoundFault | DBSubnetGroupNotFoundFault | InsufficientDBClusterCapacityFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterSnapshotStateFault | InvalidDBSnapshotStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | StorageQuotaExceededFault | CommonAwsError >; restoreDBClusterToPointInTime( input: RestoreDBClusterToPointInTimeMessage, ): Effect.Effect< RestoreDBClusterToPointInTimeResult, - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterQuotaExceededFault - | DBClusterSnapshotNotFoundFault - | DBSubnetGroupNotFoundFault - | InsufficientDBClusterCapacityFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | InvalidDBSnapshotStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | StorageQuotaExceededFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterQuotaExceededFault | DBClusterSnapshotNotFoundFault | DBSubnetGroupNotFoundFault | InsufficientDBClusterCapacityFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | InvalidDBSnapshotStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | StorageQuotaExceededFault | CommonAwsError >; startDBCluster( input: StartDBClusterMessage, ): Effect.Effect< StartDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; stopDBCluster( input: StopDBClusterMessage, ): Effect.Effect< StopDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; switchoverGlobalCluster( input: SwitchoverGlobalClusterMessage, ): Effect.Effect< SwitchoverGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidGlobalClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterNotFoundFault | InvalidDBClusterStateFault | InvalidGlobalClusterStateFault | CommonAwsError >; } @@ -1253,9 +1078,7 @@ export interface GlobalClusterMember { SynchronizationStatus?: GlobalClusterMemberSynchronizationStatus; } export type GlobalClusterMemberList = Array; -export type GlobalClusterMemberSynchronizationStatus = - | "connected" - | "pending-resync"; +export type GlobalClusterMemberSynchronizationStatus = "connected" | "pending-resync"; export declare class GlobalClusterNotFoundFault extends EffectData.TaggedError( "GlobalClusterNotFoundFault", )<{ @@ -1497,8 +1320,7 @@ export interface PendingMaintenanceAction { Description?: string; } export type PendingMaintenanceActionDetails = Array; -export type PendingMaintenanceActions = - Array; +export type PendingMaintenanceActions = Array; export interface PendingMaintenanceActionsMessage { PendingMaintenanceActions?: Array; Marker?: string; @@ -1644,13 +1466,7 @@ export declare class SourceNotFoundFault extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type SourceType = - | "db-instance" - | "db-parameter-group" - | "db-security-group" - | "db-snapshot" - | "db-cluster" - | "db-cluster-snapshot"; +export type SourceType = "db-instance" | "db-parameter-group" | "db-security-group" | "db-snapshot" | "db-cluster" | "db-cluster-snapshot"; export interface StartDBClusterMessage { DBClusterIdentifier: string; } @@ -1967,43 +1783,56 @@ export declare namespace DeleteGlobalCluster { export declare namespace DescribeCertificates { export type Input = DescribeCertificatesMessage; export type Output = CertificateMessage; - export type Error = CertificateNotFoundFault | CommonAwsError; + export type Error = + | CertificateNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterParameterGroups { export type Input = DescribeDBClusterParameterGroupsMessage; export type Output = DBClusterParameterGroupsMessage; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterParameters { export type Input = DescribeDBClusterParametersMessage; export type Output = DBClusterParameterGroupDetails; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusters { export type Input = DescribeDBClustersMessage; export type Output = DBClusterMessage; - export type Error = DBClusterNotFoundFault | CommonAwsError; + export type Error = + | DBClusterNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterSnapshotAttributes { export type Input = DescribeDBClusterSnapshotAttributesMessage; export type Output = DescribeDBClusterSnapshotAttributesResult; - export type Error = DBClusterSnapshotNotFoundFault | CommonAwsError; + export type Error = + | DBClusterSnapshotNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterSnapshots { export type Input = DescribeDBClusterSnapshotsMessage; export type Output = DBClusterSnapshotMessage; - export type Error = DBClusterSnapshotNotFoundFault | CommonAwsError; + export type Error = + | DBClusterSnapshotNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBEngineVersions { export type Input = DescribeDBEngineVersionsMessage; export type Output = DBEngineVersionMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeDBInstances { @@ -2018,49 +1847,61 @@ export declare namespace DescribeDBInstances { export declare namespace DescribeDBSubnetGroups { export type Input = DescribeDBSubnetGroupsMessage; export type Output = DBSubnetGroupMessage; - export type Error = DBSubnetGroupNotFoundFault | CommonAwsError; + export type Error = + | DBSubnetGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeEngineDefaultClusterParameters { export type Input = DescribeEngineDefaultClusterParametersMessage; export type Output = DescribeEngineDefaultClusterParametersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventCategories { export type Input = DescribeEventCategoriesMessage; export type Output = EventCategoriesMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEvents { export type Input = DescribeEventsMessage; export type Output = EventsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventSubscriptions { export type Input = DescribeEventSubscriptionsMessage; export type Output = EventSubscriptionsMessage; - export type Error = SubscriptionNotFoundFault | CommonAwsError; + export type Error = + | SubscriptionNotFoundFault + | CommonAwsError; } export declare namespace DescribeGlobalClusters { export type Input = DescribeGlobalClustersMessage; export type Output = GlobalClustersMessage; - export type Error = GlobalClusterNotFoundFault | CommonAwsError; + export type Error = + | GlobalClusterNotFoundFault + | CommonAwsError; } export declare namespace DescribeOrderableDBInstanceOptions { export type Input = DescribeOrderableDBInstanceOptionsMessage; export type Output = OrderableDBInstanceOptionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribePendingMaintenanceActions { export type Input = DescribePendingMaintenanceActionsMessage; export type Output = PendingMaintenanceActionsMessage; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace FailoverDBCluster { @@ -2309,64 +2150,5 @@ export declare namespace SwitchoverGlobalCluster { | CommonAwsError; } -export type DocDBErrors = - | AuthorizationNotFoundFault - | CertificateNotFoundFault - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBClusterSnapshotAlreadyExistsFault - | DBClusterSnapshotNotFoundFault - | DBInstanceAlreadyExistsFault - | DBInstanceNotFoundFault - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBParameterGroupQuotaExceededFault - | DBSecurityGroupNotFoundFault - | DBSnapshotAlreadyExistsFault - | DBSnapshotNotFoundFault - | DBSubnetGroupAlreadyExistsFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DBSubnetGroupQuotaExceededFault - | DBSubnetQuotaExceededFault - | DBUpgradeDependencyFailureFault - | EventSubscriptionQuotaExceededFault - | GlobalClusterAlreadyExistsFault - | GlobalClusterNotFoundFault - | GlobalClusterQuotaExceededFault - | InstanceQuotaExceededFault - | InsufficientDBClusterCapacityFault - | InsufficientDBInstanceCapacityFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBParameterGroupStateFault - | InvalidDBSecurityGroupStateFault - | InvalidDBSnapshotStateFault - | InvalidDBSubnetGroupStateFault - | InvalidDBSubnetStateFault - | InvalidEventSubscriptionStateFault - | InvalidGlobalClusterStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | ResourceNotFoundFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SharedSnapshotQuotaExceededFault - | SnapshotQuotaExceededFault - | SourceNotFoundFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | SubnetAlreadyInUse - | SubscriptionAlreadyExistFault - | SubscriptionCategoryNotFoundFault - | SubscriptionNotFoundFault - | DBInstanceNotFound - | CommonAwsError; +export type DocDBErrors = AuthorizationNotFoundFault | CertificateNotFoundFault | DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBClusterSnapshotAlreadyExistsFault | DBClusterSnapshotNotFoundFault | DBInstanceAlreadyExistsFault | DBInstanceNotFoundFault | DBParameterGroupAlreadyExistsFault | DBParameterGroupNotFoundFault | DBParameterGroupQuotaExceededFault | DBSecurityGroupNotFoundFault | DBSnapshotAlreadyExistsFault | DBSnapshotNotFoundFault | DBSubnetGroupAlreadyExistsFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DBSubnetGroupQuotaExceededFault | DBSubnetQuotaExceededFault | DBUpgradeDependencyFailureFault | EventSubscriptionQuotaExceededFault | GlobalClusterAlreadyExistsFault | GlobalClusterNotFoundFault | GlobalClusterQuotaExceededFault | InstanceQuotaExceededFault | InsufficientDBClusterCapacityFault | InsufficientDBInstanceCapacityFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBParameterGroupStateFault | InvalidDBSecurityGroupStateFault | InvalidDBSnapshotStateFault | InvalidDBSubnetGroupStateFault | InvalidDBSubnetStateFault | InvalidEventSubscriptionStateFault | InvalidGlobalClusterStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | ResourceNotFoundFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SharedSnapshotQuotaExceededFault | SnapshotQuotaExceededFault | SourceNotFoundFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | SubnetAlreadyInUse | SubscriptionAlreadyExistFault | SubscriptionCategoryNotFoundFault | SubscriptionNotFoundFault | DBInstanceNotFound | CommonAwsError; + diff --git a/src/services/drs/index.ts b/src/services/drs/index.ts index e6d67cb9..bd1e2fa8 100644 --- a/src/services/drs/index.ts +++ b/src/services/drs/index.ts @@ -5,23 +5,7 @@ import type { drs as _drsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,66 +14,56 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "drs", operations: { - CreateExtendedSourceServer: "POST /CreateExtendedSourceServer", - DeleteLaunchAction: "POST /DeleteLaunchAction", - InitializeService: "POST /InitializeService", - ListExtensibleSourceServers: "POST /ListExtensibleSourceServers", - ListLaunchActions: "POST /ListLaunchActions", - ListStagingAccounts: "GET /ListStagingAccounts", - ListTagsForResource: "GET /tags/{resourceArn}", - PutLaunchAction: "POST /PutLaunchAction", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - AssociateSourceNetworkStack: "POST /AssociateSourceNetworkStack", - CreateLaunchConfigurationTemplate: - "POST /CreateLaunchConfigurationTemplate", - CreateReplicationConfigurationTemplate: - "POST /CreateReplicationConfigurationTemplate", - CreateSourceNetwork: "POST /CreateSourceNetwork", - DeleteJob: "POST /DeleteJob", - DeleteLaunchConfigurationTemplate: - "POST /DeleteLaunchConfigurationTemplate", - DeleteRecoveryInstance: "POST /DeleteRecoveryInstance", - DeleteReplicationConfigurationTemplate: - "POST /DeleteReplicationConfigurationTemplate", - DeleteSourceNetwork: "POST /DeleteSourceNetwork", - DeleteSourceServer: "POST /DeleteSourceServer", - DescribeJobLogItems: "POST /DescribeJobLogItems", - DescribeJobs: "POST /DescribeJobs", - DescribeLaunchConfigurationTemplates: - "POST /DescribeLaunchConfigurationTemplates", - DescribeRecoveryInstances: "POST /DescribeRecoveryInstances", - DescribeRecoverySnapshots: "POST /DescribeRecoverySnapshots", - DescribeReplicationConfigurationTemplates: - "POST /DescribeReplicationConfigurationTemplates", - DescribeSourceNetworks: "POST /DescribeSourceNetworks", - DescribeSourceServers: "POST /DescribeSourceServers", - DisconnectRecoveryInstance: "POST /DisconnectRecoveryInstance", - DisconnectSourceServer: "POST /DisconnectSourceServer", - ExportSourceNetworkCfnTemplate: "POST /ExportSourceNetworkCfnTemplate", - GetFailbackReplicationConfiguration: - "POST /GetFailbackReplicationConfiguration", - GetLaunchConfiguration: "POST /GetLaunchConfiguration", - GetReplicationConfiguration: "POST /GetReplicationConfiguration", - RetryDataReplication: "POST /RetryDataReplication", - ReverseReplication: "POST /ReverseReplication", - StartFailbackLaunch: "POST /StartFailbackLaunch", - StartRecovery: "POST /StartRecovery", - StartReplication: "POST /StartReplication", - StartSourceNetworkRecovery: "POST /StartSourceNetworkRecovery", - StartSourceNetworkReplication: "POST /StartSourceNetworkReplication", - StopFailback: "POST /StopFailback", - StopReplication: "POST /StopReplication", - StopSourceNetworkReplication: "POST /StopSourceNetworkReplication", - TerminateRecoveryInstances: "POST /TerminateRecoveryInstances", - UpdateFailbackReplicationConfiguration: - "POST /UpdateFailbackReplicationConfiguration", - UpdateLaunchConfiguration: "POST /UpdateLaunchConfiguration", - UpdateLaunchConfigurationTemplate: - "POST /UpdateLaunchConfigurationTemplate", - UpdateReplicationConfiguration: "POST /UpdateReplicationConfiguration", - UpdateReplicationConfigurationTemplate: - "POST /UpdateReplicationConfigurationTemplate", + "CreateExtendedSourceServer": "POST /CreateExtendedSourceServer", + "DeleteLaunchAction": "POST /DeleteLaunchAction", + "InitializeService": "POST /InitializeService", + "ListExtensibleSourceServers": "POST /ListExtensibleSourceServers", + "ListLaunchActions": "POST /ListLaunchActions", + "ListStagingAccounts": "GET /ListStagingAccounts", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutLaunchAction": "POST /PutLaunchAction", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "AssociateSourceNetworkStack": "POST /AssociateSourceNetworkStack", + "CreateLaunchConfigurationTemplate": "POST /CreateLaunchConfigurationTemplate", + "CreateReplicationConfigurationTemplate": "POST /CreateReplicationConfigurationTemplate", + "CreateSourceNetwork": "POST /CreateSourceNetwork", + "DeleteJob": "POST /DeleteJob", + "DeleteLaunchConfigurationTemplate": "POST /DeleteLaunchConfigurationTemplate", + "DeleteRecoveryInstance": "POST /DeleteRecoveryInstance", + "DeleteReplicationConfigurationTemplate": "POST /DeleteReplicationConfigurationTemplate", + "DeleteSourceNetwork": "POST /DeleteSourceNetwork", + "DeleteSourceServer": "POST /DeleteSourceServer", + "DescribeJobLogItems": "POST /DescribeJobLogItems", + "DescribeJobs": "POST /DescribeJobs", + "DescribeLaunchConfigurationTemplates": "POST /DescribeLaunchConfigurationTemplates", + "DescribeRecoveryInstances": "POST /DescribeRecoveryInstances", + "DescribeRecoverySnapshots": "POST /DescribeRecoverySnapshots", + "DescribeReplicationConfigurationTemplates": "POST /DescribeReplicationConfigurationTemplates", + "DescribeSourceNetworks": "POST /DescribeSourceNetworks", + "DescribeSourceServers": "POST /DescribeSourceServers", + "DisconnectRecoveryInstance": "POST /DisconnectRecoveryInstance", + "DisconnectSourceServer": "POST /DisconnectSourceServer", + "ExportSourceNetworkCfnTemplate": "POST /ExportSourceNetworkCfnTemplate", + "GetFailbackReplicationConfiguration": "POST /GetFailbackReplicationConfiguration", + "GetLaunchConfiguration": "POST /GetLaunchConfiguration", + "GetReplicationConfiguration": "POST /GetReplicationConfiguration", + "RetryDataReplication": "POST /RetryDataReplication", + "ReverseReplication": "POST /ReverseReplication", + "StartFailbackLaunch": "POST /StartFailbackLaunch", + "StartRecovery": "POST /StartRecovery", + "StartReplication": "POST /StartReplication", + "StartSourceNetworkRecovery": "POST /StartSourceNetworkRecovery", + "StartSourceNetworkReplication": "POST /StartSourceNetworkReplication", + "StopFailback": "POST /StopFailback", + "StopReplication": "POST /StopReplication", + "StopSourceNetworkReplication": "POST /StopSourceNetworkReplication", + "TerminateRecoveryInstances": "POST /TerminateRecoveryInstances", + "UpdateFailbackReplicationConfiguration": "POST /UpdateFailbackReplicationConfiguration", + "UpdateLaunchConfiguration": "POST /UpdateLaunchConfiguration", + "UpdateLaunchConfigurationTemplate": "POST /UpdateLaunchConfigurationTemplate", + "UpdateReplicationConfiguration": "POST /UpdateReplicationConfiguration", + "UpdateReplicationConfigurationTemplate": "POST /UpdateReplicationConfigurationTemplate", }, } as const satisfies ServiceMetadata; diff --git a/src/services/drs/types.ts b/src/services/drs/types.ts index b9801d24..5ecadd6e 100644 --- a/src/services/drs/types.ts +++ b/src/services/drs/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class drs extends AWSServiceClient { @@ -40,563 +8,301 @@ export declare class drs extends AWSServiceClient { input: CreateExtendedSourceServerRequest, ): Effect.Effect< CreateExtendedSourceServerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; deleteLaunchAction( input: DeleteLaunchActionRequest, ): Effect.Effect< DeleteLaunchActionResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; initializeService( input: InitializeServiceRequest, ): Effect.Effect< InitializeServiceResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listExtensibleSourceServers( input: ListExtensibleSourceServersRequest, ): Effect.Effect< ListExtensibleSourceServersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; listLaunchActions( input: ListLaunchActionsRequest, ): Effect.Effect< ListLaunchActionsResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | CommonAwsError >; listStagingAccounts( input: ListStagingAccountsRequest, ): Effect.Effect< ListStagingAccountsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putLaunchAction( input: PutLaunchActionRequest, ): Effect.Effect< PutLaunchActionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateSourceNetworkStack( input: AssociateSourceNetworkStackRequest, ): Effect.Effect< AssociateSourceNetworkStackResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; createLaunchConfigurationTemplate( input: CreateLaunchConfigurationTemplateRequest, ): Effect.Effect< CreateLaunchConfigurationTemplateResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; createReplicationConfigurationTemplate( input: CreateReplicationConfigurationTemplateRequest, ): Effect.Effect< ReplicationConfigurationTemplate, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; createSourceNetwork( input: CreateSourceNetworkRequest, ): Effect.Effect< CreateSourceNetworkResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; deleteJob( input: DeleteJobRequest, ): Effect.Effect< DeleteJobResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; deleteLaunchConfigurationTemplate( input: DeleteLaunchConfigurationTemplateRequest, ): Effect.Effect< DeleteLaunchConfigurationTemplateResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; deleteRecoveryInstance( input: DeleteRecoveryInstanceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | UninitializedAccountException | CommonAwsError >; deleteReplicationConfigurationTemplate( input: DeleteReplicationConfigurationTemplateRequest, ): Effect.Effect< DeleteReplicationConfigurationTemplateResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; deleteSourceNetwork( input: DeleteSourceNetworkRequest, ): Effect.Effect< DeleteSourceNetworkResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; deleteSourceServer( input: DeleteSourceServerRequest, ): Effect.Effect< DeleteSourceServerResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; describeJobLogItems( input: DescribeJobLogItemsRequest, ): Effect.Effect< DescribeJobLogItemsResponse, - | InternalServerException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; describeJobs( input: DescribeJobsRequest, ): Effect.Effect< DescribeJobsResponse, - | InternalServerException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; describeLaunchConfigurationTemplates( input: DescribeLaunchConfigurationTemplatesRequest, ): Effect.Effect< DescribeLaunchConfigurationTemplatesResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; describeRecoveryInstances( input: DescribeRecoveryInstancesRequest, ): Effect.Effect< DescribeRecoveryInstancesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | UninitializedAccountException | CommonAwsError >; describeRecoverySnapshots( input: DescribeRecoverySnapshotsRequest, ): Effect.Effect< DescribeRecoverySnapshotsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; describeReplicationConfigurationTemplates( input: DescribeReplicationConfigurationTemplatesRequest, ): Effect.Effect< DescribeReplicationConfigurationTemplatesResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; describeSourceNetworks( input: DescribeSourceNetworksRequest, ): Effect.Effect< DescribeSourceNetworksResponse, - | InternalServerException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; describeSourceServers( input: DescribeSourceServersRequest, ): Effect.Effect< DescribeSourceServersResponse, - | InternalServerException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; disconnectRecoveryInstance( input: DisconnectRecoveryInstanceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; disconnectSourceServer( input: DisconnectSourceServerRequest, ): Effect.Effect< SourceServer, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; exportSourceNetworkCfnTemplate( input: ExportSourceNetworkCfnTemplateRequest, ): Effect.Effect< ExportSourceNetworkCfnTemplateResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; getFailbackReplicationConfiguration( input: GetFailbackReplicationConfigurationRequest, ): Effect.Effect< GetFailbackReplicationConfigurationResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; getLaunchConfiguration( input: GetLaunchConfigurationRequest, ): Effect.Effect< LaunchConfiguration, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; getReplicationConfiguration( input: GetReplicationConfigurationRequest, ): Effect.Effect< ReplicationConfiguration, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; retryDataReplication( input: RetryDataReplicationRequest, ): Effect.Effect< SourceServer, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; reverseReplication( input: ReverseReplicationRequest, ): Effect.Effect< ReverseReplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; startFailbackLaunch( input: StartFailbackLaunchRequest, ): Effect.Effect< StartFailbackLaunchResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; startRecovery( input: StartRecoveryRequest, ): Effect.Effect< StartRecoveryResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | CommonAwsError >; startReplication( input: StartReplicationRequest, ): Effect.Effect< StartReplicationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; startSourceNetworkRecovery( input: StartSourceNetworkRecoveryRequest, ): Effect.Effect< StartSourceNetworkRecoveryResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; startSourceNetworkReplication( input: StartSourceNetworkReplicationRequest, ): Effect.Effect< StartSourceNetworkReplicationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; stopFailback( input: StopFailbackRequest, ): Effect.Effect< {}, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; stopReplication( input: StopReplicationRequest, ): Effect.Effect< StopReplicationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; stopSourceNetworkReplication( input: StopSourceNetworkReplicationRequest, ): Effect.Effect< StopSourceNetworkReplicationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; terminateRecoveryInstances( input: TerminateRecoveryInstancesRequest, ): Effect.Effect< TerminateRecoveryInstancesResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | CommonAwsError >; updateFailbackReplicationConfiguration( input: UpdateFailbackReplicationConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | CommonAwsError >; updateLaunchConfiguration( input: UpdateLaunchConfigurationRequest, ): Effect.Effect< LaunchConfiguration, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; updateLaunchConfigurationTemplate( input: UpdateLaunchConfigurationTemplateRequest, ): Effect.Effect< UpdateLaunchConfigurationTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; updateReplicationConfiguration( input: UpdateReplicationConfigurationRequest, ): Effect.Effect< ReplicationConfiguration, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; updateReplicationConfigurationTemplate( input: UpdateReplicationConfigurationTemplateRequest, ): Effect.Effect< ReplicationConfigurationTemplate, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError >; } @@ -727,8 +433,7 @@ export interface DataReplicationInfoReplicatedDisk { backloggedStorageBytes?: number; volumeStatus?: string; } -export type DataReplicationInfoReplicatedDisks = - Array; +export type DataReplicationInfoReplicatedDisks = Array; export interface DataReplicationInitiation { startDateTime?: string; nextAttemptDateTime?: string; @@ -740,8 +445,7 @@ export interface DataReplicationInitiationStep { } export type DataReplicationInitiationStepName = string; -export type DataReplicationInitiationSteps = - Array; +export type DataReplicationInitiationSteps = Array; export type DataReplicationInitiationStepStatus = string; export type DataReplicationState = string; @@ -749,31 +453,37 @@ export type DataReplicationState = string; export interface DeleteJobRequest { jobID: string; } -export interface DeleteJobResponse {} +export interface DeleteJobResponse { +} export interface DeleteLaunchActionRequest { resourceId: string; actionId: string; } -export interface DeleteLaunchActionResponse {} +export interface DeleteLaunchActionResponse { +} export interface DeleteLaunchConfigurationTemplateRequest { launchConfigurationTemplateID: string; } -export interface DeleteLaunchConfigurationTemplateResponse {} +export interface DeleteLaunchConfigurationTemplateResponse { +} export interface DeleteRecoveryInstanceRequest { recoveryInstanceID: string; } export interface DeleteReplicationConfigurationTemplateRequest { replicationConfigurationTemplateID: string; } -export interface DeleteReplicationConfigurationTemplateResponse {} +export interface DeleteReplicationConfigurationTemplateResponse { +} export interface DeleteSourceNetworkRequest { sourceNetworkID: string; } -export interface DeleteSourceNetworkResponse {} +export interface DeleteSourceNetworkResponse { +} export interface DeleteSourceServerRequest { sourceServerID: string; } -export interface DeleteSourceServerResponse {} +export interface DeleteSourceServerResponse { +} export interface DescribeJobLogItemsRequest { jobID: string; maxResults?: number; @@ -901,9 +611,7 @@ interface _EventResourceData { sourceNetworkData?: SourceNetworkData; } -export type EventResourceData = _EventResourceData & { - sourceNetworkData: SourceNetworkData; -}; +export type EventResourceData = (_EventResourceData & { sourceNetworkData: SourceNetworkData }); export interface ExportSourceNetworkCfnTemplateRequest { sourceNetworkID: string; } @@ -941,8 +649,10 @@ export interface IdentificationHints { vmWareUuid?: string; awsInstanceID?: string; } -export interface InitializeServiceRequest {} -export interface InitializeServiceResponse {} +export interface InitializeServiceRequest { +} +export interface InitializeServiceResponse { +} export type InitiatedBy = string; export declare class InternalServerException extends EffectData.TaggedError( @@ -1172,9 +882,7 @@ interface _ParticipatingResourceID { sourceNetworkID?: string; } -export type ParticipatingResourceID = _ParticipatingResourceID & { - sourceNetworkID: string; -}; +export type ParticipatingResourceID = (_ParticipatingResourceID & { sourceNetworkID: string }); export type ParticipatingResources = Array; export interface ParticipatingServer { sourceServerID?: string; @@ -1270,8 +978,7 @@ export interface RecoveryInstanceDataReplicationInfoReplicatedDisk { rescannedStorageBytes?: number; backloggedStorageBytes?: number; } -export type RecoveryInstanceDataReplicationInfoReplicatedDisks = - Array; +export type RecoveryInstanceDataReplicationInfoReplicatedDisks = Array; export interface RecoveryInstanceDataReplicationInitiation { startDateTime?: string; steps?: Array; @@ -1282,8 +989,7 @@ export interface RecoveryInstanceDataReplicationInitiationStep { } export type RecoveryInstanceDataReplicationInitiationStepName = string; -export type RecoveryInstanceDataReplicationInitiationSteps = - Array; +export type RecoveryInstanceDataReplicationInitiationSteps = Array; export type RecoveryInstanceDataReplicationInitiationStepStatus = string; export type RecoveryInstanceDataReplicationState = string; @@ -1371,8 +1077,7 @@ export interface ReplicationConfigurationReplicatedDisk { throughput?: number; optimizedStagingDiskType?: string; } -export type ReplicationConfigurationReplicatedDisks = - Array; +export type ReplicationConfigurationReplicatedDisks = Array; export type ReplicationConfigurationReplicatedDiskStagingDiskType = string; export interface ReplicationConfigurationTemplate { @@ -1397,8 +1102,7 @@ export interface ReplicationConfigurationTemplate { export type ReplicationConfigurationTemplateID = string; export type ReplicationConfigurationTemplateIDs = Array; -export type ReplicationConfigurationTemplates = - Array; +export type ReplicationConfigurationTemplates = Array; export type ReplicationDirection = string; export type ReplicationServersSecurityGroupsIDs = Array; @@ -1529,8 +1233,7 @@ export interface StartRecoveryRequestSourceServer { sourceServerID: string; recoverySnapshotID?: string; } -export type StartRecoveryRequestSourceServers = - Array; +export type StartRecoveryRequestSourceServers = Array; export interface StartRecoveryResponse { job?: Job; } @@ -1545,8 +1248,7 @@ export interface StartSourceNetworkRecoveryRequest { deployAsNew?: boolean; tags?: Record; } -export type StartSourceNetworkRecoveryRequestNetworkEntries = - Array; +export type StartSourceNetworkRecoveryRequestNetworkEntries = Array; export interface StartSourceNetworkRecoveryRequestNetworkEntry { sourceNetworkID: string; cfnStackName?: string; @@ -2317,13 +2019,5 @@ export declare namespace UpdateReplicationConfigurationTemplate { | CommonAwsError; } -export type drsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError; +export type drsErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError; + diff --git a/src/services/dsql/index.ts b/src/services/dsql/index.ts index 30635b7b..09d324b3 100644 --- a/src/services/dsql/index.ts +++ b/src/services/dsql/index.ts @@ -5,23 +5,7 @@ import type { DSQL as _DSQLClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,19 +15,22 @@ const metadata = { sigV4ServiceName: "dsql", endpointPrefix: "dsql", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateCluster: "POST /cluster", - DeleteCluster: "DELETE /cluster/{identifier}", - DeleteClusterPolicy: "DELETE /cluster/{identifier}/policy", - GetCluster: "GET /cluster/{identifier}", - GetClusterPolicy: "GET /cluster/{identifier}/policy", - GetVpcEndpointServiceName: - "GET /clusters/{identifier}/vpc-endpoint-service-name", - ListClusters: "GET /cluster", - PutClusterPolicy: "POST /cluster/{identifier}/policy", - UpdateCluster: "POST /cluster/{identifier}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateCluster": "POST /cluster", + "DeleteCluster": "DELETE /cluster/{identifier}", + "DeleteClusterPolicy": "DELETE /cluster/{identifier}/policy", + "GetCluster": "GET /cluster/{identifier}", + "GetClusterPolicy": "GET /cluster/{identifier}/policy", + "GetVpcEndpointServiceName": "GET /clusters/{identifier}/vpc-endpoint-service-name", + "ListClusters": "GET /cluster", + "PutClusterPolicy": "POST /cluster/{identifier}/policy", + "UpdateCluster": "POST /cluster/{identifier}", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/dsql/types.ts b/src/services/dsql/types.ts index 009f896b..bbcb076f 100644 --- a/src/services/dsql/types.ts +++ b/src/services/dsql/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class DSQL extends AWSServiceClient { @@ -50,15 +18,15 @@ export declare class DSQL extends AWSServiceClient { >; untagResource( input: UntagResourceInput, - ): Effect.Effect<{}, ResourceNotFoundException | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFoundException | CommonAwsError + >; createCluster( input: CreateClusterInput, ): Effect.Effect< CreateClusterOutput, - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteCluster( input: DeleteClusterInput, @@ -70,10 +38,7 @@ export declare class DSQL extends AWSServiceClient { input: DeleteClusterPolicyInput, ): Effect.Effect< DeleteClusterPolicyOutput, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; getCluster( input: GetClusterInput, @@ -91,11 +56,7 @@ export declare class DSQL extends AWSServiceClient { input: GetVpcEndpointServiceNameInput, ): Effect.Effect< GetVpcEndpointServiceNameOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listClusters( input: ListClustersInput, @@ -107,19 +68,13 @@ export declare class DSQL extends AWSServiceClient { input: PutClusterPolicyInput, ): Effect.Effect< PutClusterPolicyOutput, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCluster( input: UpdateClusterInput, ): Effect.Effect< UpdateClusterOutput, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -144,17 +99,7 @@ export type ClusterCreationTime = Date | string; export type ClusterId = string; export type ClusterList = Array; -export type ClusterStatus = - | "CREATING" - | "ACTIVE" - | "IDLE" - | "INACTIVE" - | "UPDATING" - | "DELETING" - | "DELETED" - | "FAILED" - | "PENDING_SETUP" - | "PENDING_DELETE"; +export type ClusterStatus = "CREATING" | "ACTIVE" | "IDLE" | "INACTIVE" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "PENDING_SETUP" | "PENDING_DELETE"; export interface ClusterSummary { identifier: string; arn: string; @@ -209,11 +154,7 @@ export interface EncryptionDetails { kmsKeyArn?: string; encryptionStatus: EncryptionStatus; } -export type EncryptionStatus = - | "ENABLED" - | "UPDATING" - | "KMS_KEY_INACCESSIBLE" - | "ENABLING"; +export type EncryptionStatus = "ENABLED" | "UPDATING" | "KMS_KEY_INACCESSIBLE" | "ENABLING"; export type EncryptionType = "AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KMS_KEY"; export interface GetClusterInput { identifier: string; @@ -354,16 +295,13 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "deletionProtectionEnabled" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "deletionProtectionEnabled" | "other"; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceInput; export type Output = ListTagsForResourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -378,7 +316,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceInput; export type Output = {}; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace CreateCluster { @@ -413,7 +353,9 @@ export declare namespace DeleteClusterPolicy { export declare namespace GetCluster { export type Input = GetClusterInput; export type Output = GetClusterOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetClusterPolicy { @@ -439,7 +381,9 @@ export declare namespace GetVpcEndpointServiceName { export declare namespace ListClusters { export type Input = ListClustersInput; export type Output = ListClustersOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace PutClusterPolicy { @@ -462,12 +406,5 @@ export declare namespace UpdateCluster { | CommonAwsError; } -export type DSQLErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type DSQLErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/dynamodb-streams/index.ts b/src/services/dynamodb-streams/index.ts index c710404c..3e17b66a 100644 --- a/src/services/dynamodb-streams/index.ts +++ b/src/services/dynamodb-streams/index.ts @@ -5,26 +5,7 @@ import type { DynamoDBStreams as _DynamoDBStreamsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/dynamodb-streams/types.ts b/src/services/dynamodb-streams/types.ts index d795bcb6..165ca1a8 100644 --- a/src/services/dynamodb-streams/types.ts +++ b/src/services/dynamodb-streams/types.ts @@ -13,21 +13,13 @@ export declare class DynamoDBStreams extends AWSServiceClient { input: GetRecordsInput, ): Effect.Effect< GetRecordsOutput, - | ExpiredIteratorException - | InternalServerError - | LimitExceededException - | ResourceNotFoundException - | TrimmedDataAccessException - | CommonAwsError + ExpiredIteratorException | InternalServerError | LimitExceededException | ResourceNotFoundException | TrimmedDataAccessException | CommonAwsError >; getShardIterator( input: GetShardIteratorInput, ): Effect.Effect< GetShardIteratorOutput, - | InternalServerError - | ResourceNotFoundException - | TrimmedDataAccessException - | CommonAwsError + InternalServerError | ResourceNotFoundException | TrimmedDataAccessException | CommonAwsError >; listStreams( input: ListStreamsInput, @@ -55,17 +47,7 @@ interface _AttributeValue { BOOL?: boolean; } -export type AttributeValue = - | (_AttributeValue & { S: string }) - | (_AttributeValue & { N: string }) - | (_AttributeValue & { B: Uint8Array | string }) - | (_AttributeValue & { SS: Array }) - | (_AttributeValue & { NS: Array }) - | (_AttributeValue & { BS: Array }) - | (_AttributeValue & { M: Record }) - | (_AttributeValue & { L: Array }) - | (_AttributeValue & { NULL: boolean }) - | (_AttributeValue & { BOOL: boolean }); +export type AttributeValue = (_AttributeValue & { S: string }) | (_AttributeValue & { N: string }) | (_AttributeValue & { B: Uint8Array | string }) | (_AttributeValue & { SS: Array }) | (_AttributeValue & { NS: Array }) | (_AttributeValue & { BS: Array }) | (_AttributeValue & { M: Record }) | (_AttributeValue & { L: Array }) | (_AttributeValue & { NULL: boolean }) | (_AttributeValue & { BOOL: boolean }); export type BinaryAttributeValue = Uint8Array | string; export type BinarySetAttributeValue = Array; @@ -185,11 +167,7 @@ export type ShardId = string; export type ShardIterator = string; -export type ShardIteratorType = - | "TRIM_HORIZON" - | "LATEST" - | "AT_SEQUENCE_NUMBER" - | "AFTER_SEQUENCE_NUMBER"; +export type ShardIteratorType = "TRIM_HORIZON" | "LATEST" | "AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER"; export interface Stream { StreamArn?: string; TableName?: string; @@ -219,11 +197,7 @@ export interface StreamRecord { StreamViewType?: StreamViewType; } export type StreamStatus = "ENABLING" | "ENABLED" | "DISABLING" | "DISABLED"; -export type StreamViewType = - | "NEW_IMAGE" - | "OLD_IMAGE" - | "NEW_AND_OLD_IMAGES" - | "KEYS_ONLY"; +export type StreamViewType = "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY"; export type DynamodbStreamsString = string; export type StringAttributeValue = string; @@ -276,10 +250,5 @@ export declare namespace ListStreams { | CommonAwsError; } -export type DynamoDBStreamsErrors = - | ExpiredIteratorException - | InternalServerError - | LimitExceededException - | ResourceNotFoundException - | TrimmedDataAccessException - | CommonAwsError; +export type DynamoDBStreamsErrors = ExpiredIteratorException | InternalServerError | LimitExceededException | ResourceNotFoundException | TrimmedDataAccessException | CommonAwsError; + diff --git a/src/services/dynamodb/index.ts b/src/services/dynamodb/index.ts index 01fdc233..1b947bb1 100644 --- a/src/services/dynamodb/index.ts +++ b/src/services/dynamodb/index.ts @@ -5,25 +5,7 @@ import type { DynamoDB as _DynamoDBClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/dynamodb/types.ts b/src/services/dynamodb/types.ts index c3815455..fc9f523a 100644 --- a/src/services/dynamodb/types.ts +++ b/src/services/dynamodb/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class DynamoDB extends AWSServiceClient { @@ -42,138 +8,73 @@ export declare class DynamoDB extends AWSServiceClient { input: BatchExecuteStatementInput, ): Effect.Effect< BatchExecuteStatementOutput, - | InternalServerError - | RequestLimitExceeded - | ThrottlingException - | CommonAwsError + InternalServerError | RequestLimitExceeded | ThrottlingException | CommonAwsError >; batchGetItem( input: BatchGetItemInput, ): Effect.Effect< BatchGetItemOutput, - | InternalServerError - | InvalidEndpointException - | ProvisionedThroughputExceededException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidEndpointException | ProvisionedThroughputExceededException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchWriteItem( input: BatchWriteItemInput, ): Effect.Effect< BatchWriteItemOutput, - | InternalServerError - | InvalidEndpointException - | ItemCollectionSizeLimitExceededException - | ProvisionedThroughputExceededException - | ReplicatedWriteConflictException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidEndpointException | ItemCollectionSizeLimitExceededException | ProvisionedThroughputExceededException | ReplicatedWriteConflictException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createBackup( input: CreateBackupInput, ): Effect.Effect< CreateBackupOutput, - | BackupInUseException - | ContinuousBackupsUnavailableException - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | TableInUseException - | TableNotFoundException - | CommonAwsError + BackupInUseException | ContinuousBackupsUnavailableException | InternalServerError | InvalidEndpointException | LimitExceededException | TableInUseException | TableNotFoundException | CommonAwsError >; createGlobalTable( input: CreateGlobalTableInput, ): Effect.Effect< CreateGlobalTableOutput, - | GlobalTableAlreadyExistsException - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | TableNotFoundException - | CommonAwsError + GlobalTableAlreadyExistsException | InternalServerError | InvalidEndpointException | LimitExceededException | TableNotFoundException | CommonAwsError >; createTable( input: CreateTableInput, ): Effect.Effect< CreateTableOutput, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ResourceInUseException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | ResourceInUseException | CommonAwsError >; deleteBackup( input: DeleteBackupInput, ): Effect.Effect< DeleteBackupOutput, - | BackupInUseException - | BackupNotFoundException - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | CommonAwsError + BackupInUseException | BackupNotFoundException | InternalServerError | InvalidEndpointException | LimitExceededException | CommonAwsError >; deleteItem( input: DeleteItemInput, ): Effect.Effect< DeleteItemOutput, - | ConditionalCheckFailedException - | InternalServerError - | InvalidEndpointException - | ItemCollectionSizeLimitExceededException - | ProvisionedThroughputExceededException - | ReplicatedWriteConflictException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | TransactionConflictException - | CommonAwsError + ConditionalCheckFailedException | InternalServerError | InvalidEndpointException | ItemCollectionSizeLimitExceededException | ProvisionedThroughputExceededException | ReplicatedWriteConflictException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | TransactionConflictException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyInput, ): Effect.Effect< DeleteResourcePolicyOutput, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | PolicyNotFoundException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | PolicyNotFoundException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteTable( input: DeleteTableInput, ): Effect.Effect< DeleteTableOutput, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; describeBackup( input: DescribeBackupInput, ): Effect.Effect< DescribeBackupOutput, - | BackupNotFoundException - | InternalServerError - | InvalidEndpointException - | CommonAwsError + BackupNotFoundException | InternalServerError | InvalidEndpointException | CommonAwsError >; describeContinuousBackups( input: DescribeContinuousBackupsInput, ): Effect.Effect< DescribeContinuousBackupsOutput, - | InternalServerError - | InvalidEndpointException - | TableNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | TableNotFoundException | CommonAwsError >; describeContributorInsights( input: DescribeContributorInsightsInput, @@ -183,33 +84,27 @@ export declare class DynamoDB extends AWSServiceClient { >; describeEndpoints( input: DescribeEndpointsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeEndpointsResponse, + CommonAwsError + >; describeExport( input: DescribeExportInput, ): Effect.Effect< DescribeExportOutput, - | ExportNotFoundException - | InternalServerError - | LimitExceededException - | CommonAwsError + ExportNotFoundException | InternalServerError | LimitExceededException | CommonAwsError >; describeGlobalTable( input: DescribeGlobalTableInput, ): Effect.Effect< DescribeGlobalTableOutput, - | GlobalTableNotFoundException - | InternalServerError - | InvalidEndpointException - | CommonAwsError + GlobalTableNotFoundException | InternalServerError | InvalidEndpointException | CommonAwsError >; describeGlobalTableSettings( input: DescribeGlobalTableSettingsInput, ): Effect.Effect< DescribeGlobalTableSettingsOutput, - | GlobalTableNotFoundException - | InternalServerError - | InvalidEndpointException - | CommonAwsError + GlobalTableNotFoundException | InternalServerError | InvalidEndpointException | CommonAwsError >; describeImport( input: DescribeImportInput, @@ -221,10 +116,7 @@ export declare class DynamoDB extends AWSServiceClient { input: DescribeKinesisStreamingDestinationInput, ): Effect.Effect< DescribeKinesisStreamingDestinationOutput, - | InternalServerError - | InvalidEndpointException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | ResourceNotFoundException | CommonAwsError >; describeLimits( input: DescribeLimitsInput, @@ -236,10 +128,7 @@ export declare class DynamoDB extends AWSServiceClient { input: DescribeTableInput, ): Effect.Effect< DescribeTableOutput, - | InternalServerError - | InvalidEndpointException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | ResourceNotFoundException | CommonAwsError >; describeTableReplicaAutoScaling( input: DescribeTableReplicaAutoScalingInput, @@ -251,104 +140,55 @@ export declare class DynamoDB extends AWSServiceClient { input: DescribeTimeToLiveInput, ): Effect.Effect< DescribeTimeToLiveOutput, - | InternalServerError - | InvalidEndpointException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | ResourceNotFoundException | CommonAwsError >; disableKinesisStreamingDestination( input: KinesisStreamingDestinationInput, ): Effect.Effect< KinesisStreamingDestinationOutput, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; enableKinesisStreamingDestination( input: KinesisStreamingDestinationInput, ): Effect.Effect< KinesisStreamingDestinationOutput, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; executeStatement( input: ExecuteStatementInput, ): Effect.Effect< ExecuteStatementOutput, - | ConditionalCheckFailedException - | DuplicateItemException - | InternalServerError - | ItemCollectionSizeLimitExceededException - | ProvisionedThroughputExceededException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | TransactionConflictException - | CommonAwsError + ConditionalCheckFailedException | DuplicateItemException | InternalServerError | ItemCollectionSizeLimitExceededException | ProvisionedThroughputExceededException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | TransactionConflictException | CommonAwsError >; executeTransaction( input: ExecuteTransactionInput, ): Effect.Effect< ExecuteTransactionOutput, - | IdempotentParameterMismatchException - | InternalServerError - | ProvisionedThroughputExceededException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | TransactionCanceledException - | TransactionInProgressException - | CommonAwsError + IdempotentParameterMismatchException | InternalServerError | ProvisionedThroughputExceededException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | TransactionCanceledException | TransactionInProgressException | CommonAwsError >; exportTableToPointInTime( input: ExportTableToPointInTimeInput, ): Effect.Effect< ExportTableToPointInTimeOutput, - | ExportConflictException - | InternalServerError - | InvalidExportTimeException - | LimitExceededException - | PointInTimeRecoveryUnavailableException - | TableNotFoundException - | CommonAwsError + ExportConflictException | InternalServerError | InvalidExportTimeException | LimitExceededException | PointInTimeRecoveryUnavailableException | TableNotFoundException | CommonAwsError >; getItem( input: GetItemInput, ): Effect.Effect< GetItemOutput, - | InternalServerError - | InvalidEndpointException - | ProvisionedThroughputExceededException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidEndpointException | ProvisionedThroughputExceededException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyInput, ): Effect.Effect< GetResourcePolicyOutput, - | InternalServerError - | InvalidEndpointException - | PolicyNotFoundException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | PolicyNotFoundException | ResourceNotFoundException | CommonAwsError >; importTable( input: ImportTableInput, ): Effect.Effect< ImportTableOutput, - | ImportConflictException - | LimitExceededException - | ResourceInUseException - | CommonAwsError + ImportConflictException | LimitExceededException | ResourceInUseException | CommonAwsError >; listBackups( input: ListBackupsInput, @@ -376,7 +216,10 @@ export declare class DynamoDB extends AWSServiceClient { >; listImports( input: ListImportsInput, - ): Effect.Effect; + ): Effect.Effect< + ListImportsOutput, + LimitExceededException | CommonAwsError + >; listTables( input: ListTablesInput, ): Effect.Effect< @@ -387,149 +230,73 @@ export declare class DynamoDB extends AWSServiceClient { input: ListTagsOfResourceInput, ): Effect.Effect< ListTagsOfResourceOutput, - | InternalServerError - | InvalidEndpointException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | ResourceNotFoundException | CommonAwsError >; putItem( input: PutItemInput, ): Effect.Effect< PutItemOutput, - | ConditionalCheckFailedException - | InternalServerError - | InvalidEndpointException - | ItemCollectionSizeLimitExceededException - | ProvisionedThroughputExceededException - | ReplicatedWriteConflictException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | TransactionConflictException - | CommonAwsError + ConditionalCheckFailedException | InternalServerError | InvalidEndpointException | ItemCollectionSizeLimitExceededException | ProvisionedThroughputExceededException | ReplicatedWriteConflictException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | TransactionConflictException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyInput, ): Effect.Effect< PutResourcePolicyOutput, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | PolicyNotFoundException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | PolicyNotFoundException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; query( input: QueryInput, ): Effect.Effect< QueryOutput, - | InternalServerError - | InvalidEndpointException - | ProvisionedThroughputExceededException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidEndpointException | ProvisionedThroughputExceededException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | CommonAwsError >; restoreTableFromBackup( input: RestoreTableFromBackupInput, ): Effect.Effect< RestoreTableFromBackupOutput, - | BackupInUseException - | BackupNotFoundException - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | TableAlreadyExistsException - | TableInUseException - | CommonAwsError + BackupInUseException | BackupNotFoundException | InternalServerError | InvalidEndpointException | LimitExceededException | TableAlreadyExistsException | TableInUseException | CommonAwsError >; restoreTableToPointInTime( input: RestoreTableToPointInTimeInput, ): Effect.Effect< RestoreTableToPointInTimeOutput, - | InternalServerError - | InvalidEndpointException - | InvalidRestoreTimeException - | LimitExceededException - | PointInTimeRecoveryUnavailableException - | TableAlreadyExistsException - | TableInUseException - | TableNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | InvalidRestoreTimeException | LimitExceededException | PointInTimeRecoveryUnavailableException | TableAlreadyExistsException | TableInUseException | TableNotFoundException | CommonAwsError >; scan( input: ScanInput, ): Effect.Effect< ScanOutput, - | InternalServerError - | InvalidEndpointException - | ProvisionedThroughputExceededException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidEndpointException | ProvisionedThroughputExceededException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< {}, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; transactGetItems( input: TransactGetItemsInput, ): Effect.Effect< TransactGetItemsOutput, - | InternalServerError - | InvalidEndpointException - | ProvisionedThroughputExceededException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | TransactionCanceledException - | CommonAwsError + InternalServerError | InvalidEndpointException | ProvisionedThroughputExceededException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | TransactionCanceledException | CommonAwsError >; transactWriteItems( input: TransactWriteItemsInput, ): Effect.Effect< TransactWriteItemsOutput, - | IdempotentParameterMismatchException - | InternalServerError - | InvalidEndpointException - | ProvisionedThroughputExceededException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | TransactionCanceledException - | TransactionInProgressException - | CommonAwsError + IdempotentParameterMismatchException | InternalServerError | InvalidEndpointException | ProvisionedThroughputExceededException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | TransactionCanceledException | TransactionInProgressException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< {}, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateContinuousBackups( input: UpdateContinuousBackupsInput, ): Effect.Effect< UpdateContinuousBackupsOutput, - | ContinuousBackupsUnavailableException - | InternalServerError - | InvalidEndpointException - | TableNotFoundException - | CommonAwsError + ContinuousBackupsUnavailableException | InternalServerError | InvalidEndpointException | TableNotFoundException | CommonAwsError >; updateContributorInsights( input: UpdateContributorInsightsInput, @@ -541,91 +308,47 @@ export declare class DynamoDB extends AWSServiceClient { input: UpdateGlobalTableInput, ): Effect.Effect< UpdateGlobalTableOutput, - | GlobalTableNotFoundException - | InternalServerError - | InvalidEndpointException - | ReplicaAlreadyExistsException - | ReplicaNotFoundException - | TableNotFoundException - | CommonAwsError + GlobalTableNotFoundException | InternalServerError | InvalidEndpointException | ReplicaAlreadyExistsException | ReplicaNotFoundException | TableNotFoundException | CommonAwsError >; updateGlobalTableSettings( input: UpdateGlobalTableSettingsInput, ): Effect.Effect< UpdateGlobalTableSettingsOutput, - | GlobalTableNotFoundException - | IndexNotFoundException - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ReplicaNotFoundException - | ResourceInUseException - | CommonAwsError + GlobalTableNotFoundException | IndexNotFoundException | InternalServerError | InvalidEndpointException | LimitExceededException | ReplicaNotFoundException | ResourceInUseException | CommonAwsError >; updateItem( input: UpdateItemInput, ): Effect.Effect< UpdateItemOutput, - | ConditionalCheckFailedException - | InternalServerError - | InvalidEndpointException - | ItemCollectionSizeLimitExceededException - | ProvisionedThroughputExceededException - | ReplicatedWriteConflictException - | RequestLimitExceeded - | ResourceNotFoundException - | ThrottlingException - | TransactionConflictException - | CommonAwsError + ConditionalCheckFailedException | InternalServerError | InvalidEndpointException | ItemCollectionSizeLimitExceededException | ProvisionedThroughputExceededException | ReplicatedWriteConflictException | RequestLimitExceeded | ResourceNotFoundException | ThrottlingException | TransactionConflictException | CommonAwsError >; updateKinesisStreamingDestination( input: UpdateKinesisStreamingDestinationInput, ): Effect.Effect< UpdateKinesisStreamingDestinationOutput, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateTable( input: UpdateTableInput, ): Effect.Effect< UpdateTableOutput, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateTableReplicaAutoScaling( input: UpdateTableReplicaAutoScalingInput, ): Effect.Effect< UpdateTableReplicaAutoScalingOutput, - | InternalServerError - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateTimeToLive( input: UpdateTimeToLiveInput, ): Effect.Effect< UpdateTimeToLiveOutput, - | InternalServerError - | InvalidEndpointException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InternalServerError | InvalidEndpointException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; } -export type ApproximateCreationDateTimePrecision = - | "MILLISECOND" - | "MICROSECOND"; +export type ApproximateCreationDateTimePrecision = "MILLISECOND" | "MICROSECOND"; export type ArchivalReason = string; export interface ArchivalSummary { @@ -657,17 +380,7 @@ interface _AttributeValue { BOOL?: boolean; } -export type AttributeValue = - | (_AttributeValue & { S: string }) - | (_AttributeValue & { N: string }) - | (_AttributeValue & { B: Uint8Array | string }) - | (_AttributeValue & { SS: Array }) - | (_AttributeValue & { NS: Array }) - | (_AttributeValue & { BS: Array }) - | (_AttributeValue & { M: Record }) - | (_AttributeValue & { L: Array }) - | (_AttributeValue & { NULL: boolean }) - | (_AttributeValue & { BOOL: boolean }); +export type AttributeValue = (_AttributeValue & { S: string }) | (_AttributeValue & { N: string }) | (_AttributeValue & { B: Uint8Array | string }) | (_AttributeValue & { SS: Array }) | (_AttributeValue & { NS: Array }) | (_AttributeValue & { BS: Array }) | (_AttributeValue & { M: Record }) | (_AttributeValue & { L: Array }) | (_AttributeValue & { NULL: boolean }) | (_AttributeValue & { BOOL: boolean }); export type AttributeValueList = Array; export interface AttributeValueUpdate { Value?: AttributeValue; @@ -677,8 +390,7 @@ export interface AutoScalingPolicyDescription { PolicyName?: string; TargetTrackingScalingPolicyConfiguration?: AutoScalingTargetTrackingScalingPolicyConfigurationDescription; } -export type AutoScalingPolicyDescriptionList = - Array; +export type AutoScalingPolicyDescriptionList = Array; export type AutoScalingPolicyName = string; export interface AutoScalingPolicyUpdate { @@ -785,27 +497,13 @@ export interface BatchGetItemOutput { ConsumedCapacity?: Array; } export type BatchGetRequestMap = Record; -export type BatchGetResponseMap = Record< - string, - Array> ->; +export type BatchGetResponseMap = Record>>; export interface BatchStatementError { Code?: BatchStatementErrorCodeEnum; Message?: string; Item?: Record; } -export type BatchStatementErrorCodeEnum = - | "ConditionalCheckFailed" - | "ItemCollectionSizeLimitExceeded" - | "RequestLimitExceeded" - | "ValidationError" - | "ProvisionedThroughputExceeded" - | "TransactionConflict" - | "ThrottlingError" - | "InternalServerError" - | "ResourceNotFound" - | "AccessDenied" - | "DuplicateItem"; +export type BatchStatementErrorCodeEnum = "ConditionalCheckFailed" | "ItemCollectionSizeLimitExceeded" | "RequestLimitExceeded" | "ValidationError" | "ProvisionedThroughputExceeded" | "TransactionConflict" | "ThrottlingError" | "InternalServerError" | "ResourceNotFound" | "AccessDenied" | "DuplicateItem"; export interface BatchStatementRequest { Statement: string; Parameters?: Array; @@ -861,20 +559,7 @@ export type CloudWatchLogGroupArn = string; export type Code = string; -export type ComparisonOperator = - | "EQ" - | "NE" - | "IN" - | "LE" - | "LT" - | "GE" - | "GT" - | "BETWEEN" - | "NOT_NULL" - | "NULL" - | "CONTAINS" - | "NOT_CONTAINS" - | "BEGINS_WITH"; +export type ComparisonOperator = "EQ" | "NE" | "IN" | "LE" | "LT" | "GE" | "GT" | "BETWEEN" | "NOT_NULL" | "NULL" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH"; export interface Condition { AttributeValueList?: Array; ComparisonOperator: ComparisonOperator; @@ -923,18 +608,11 @@ export declare class ContinuousBackupsUnavailableException extends EffectData.Ta readonly message?: string; }> {} export type ContributorInsightsAction = "ENABLE" | "DISABLE"; -export type ContributorInsightsMode = - | "ACCESSED_AND_THROTTLED_KEYS" - | "THROTTLED_KEYS"; +export type ContributorInsightsMode = "ACCESSED_AND_THROTTLED_KEYS" | "THROTTLED_KEYS"; export type ContributorInsightsRule = string; export type ContributorInsightsRuleList = Array; -export type ContributorInsightsStatus = - | "ENABLING" - | "ENABLED" - | "DISABLING" - | "DISABLED" - | "FAILED"; +export type ContributorInsightsStatus = "ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "FAILED"; export type ContributorInsightsSummaries = Array; export interface ContributorInsightsSummary { TableName?: string; @@ -1096,7 +774,8 @@ export interface DescribeContributorInsightsOutput { FailureException?: FailureException; ContributorInsightsMode?: ContributorInsightsMode; } -export interface DescribeEndpointsRequest {} +export interface DescribeEndpointsRequest { +} export interface DescribeEndpointsResponse { Endpoints: Array; } @@ -1132,7 +811,8 @@ export interface DescribeKinesisStreamingDestinationOutput { TableName?: string; KinesisDataStreamDestinations?: Array; } -export interface DescribeLimitsInput {} +export interface DescribeLimitsInput { +} export interface DescribeLimitsOutput { AccountMaxReadCapacityUnits?: number; AccountMaxWriteCapacityUnits?: number; @@ -1157,13 +837,7 @@ export interface DescribeTimeToLiveInput { export interface DescribeTimeToLiveOutput { TimeToLiveDescription?: TimeToLiveDescription; } -export type DestinationStatus = - | "ENABLING" - | "ACTIVE" - | "DISABLING" - | "DISABLED" - | "ENABLE_FAILED" - | "UPDATING"; +export type DestinationStatus = "ENABLING" | "ACTIVE" | "DISABLING" | "DISABLED" | "ENABLE_FAILED" | "UPDATING"; export type DoubleObject = number; export declare class DuplicateItemException extends EffectData.TaggedError( @@ -1346,8 +1020,7 @@ export interface GlobalSecondaryIndexAutoScalingUpdate { IndexName?: string; ProvisionedWriteCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate; } -export type GlobalSecondaryIndexAutoScalingUpdateList = - Array; +export type GlobalSecondaryIndexAutoScalingUpdateList = Array; export interface GlobalSecondaryIndexDescription { IndexName?: string; KeySchema?: Array; @@ -1361,8 +1034,7 @@ export interface GlobalSecondaryIndexDescription { OnDemandThroughput?: OnDemandThroughput; WarmThroughput?: GlobalSecondaryIndexWarmThroughputDescription; } -export type GlobalSecondaryIndexDescriptionList = - Array; +export type GlobalSecondaryIndexDescriptionList = Array; export type GlobalSecondaryIndexes = Array; export interface GlobalSecondaryIndexInfo { IndexName?: string; @@ -1406,8 +1078,7 @@ export interface GlobalTableGlobalSecondaryIndexSettingsUpdate { ProvisionedWriteCapacityUnits?: number; ProvisionedWriteCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate; } -export type GlobalTableGlobalSecondaryIndexSettingsUpdateList = - Array; +export type GlobalTableGlobalSecondaryIndexSettingsUpdateList = Array; export type GlobalTableList = Array; export declare class GlobalTableNotFoundException extends EffectData.TaggedError( "GlobalTableNotFoundException", @@ -1419,14 +1090,12 @@ export interface GlobalTableWitnessDescription { RegionName?: string; WitnessStatus?: WitnessStatus; } -export type GlobalTableWitnessDescriptionList = - Array; +export type GlobalTableWitnessDescriptionList = Array; export interface GlobalTableWitnessGroupUpdate { Create?: CreateGlobalTableWitnessGroupMemberAction; Delete?: DeleteGlobalTableWitnessGroupMemberAction; } -export type GlobalTableWitnessGroupUpdateList = - Array; +export type GlobalTableWitnessGroupUpdateList = Array; export declare class IdempotentParameterMismatchException extends EffectData.TaggedError( "IdempotentParameterMismatchException", )<{ @@ -1452,12 +1121,7 @@ export declare class ImportNotFoundException extends EffectData.TaggedError( }> {} export type ImportStartTime = Date | string; -export type ImportStatus = - | "IN_PROGRESS" - | "COMPLETED" - | "CANCELLING" - | "CANCELLED" - | "FAILED"; +export type ImportStatus = "IN_PROGRESS" | "COMPLETED" | "CANCELLING" | "CANCELLED" | "FAILED"; export interface ImportSummary { ImportArn?: string; ImportStatus?: ImportStatus; @@ -1549,10 +1213,7 @@ export interface ItemCollectionMetrics { SizeEstimateRangeGB?: Array; } export type ItemCollectionMetricsMultiple = Array; -export type ItemCollectionMetricsPerTable = Record< - string, - Array ->; +export type ItemCollectionMetricsPerTable = Record>; export type ItemCollectionSizeEstimateBound = number; export type ItemCollectionSizeEstimateRange = Array; @@ -1703,8 +1364,7 @@ export interface LocalSecondaryIndexDescription { ItemCount?: number; IndexArn?: string; } -export type LocalSecondaryIndexDescriptionList = - Array; +export type LocalSecondaryIndexDescriptionList = Array; export type LocalSecondaryIndexes = Array; export interface LocalSecondaryIndexInfo { IndexName?: string; @@ -1892,8 +1552,7 @@ export interface ReplicaAutoScalingDescription { ReplicaProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription; ReplicaStatus?: ReplicaStatus; } -export type ReplicaAutoScalingDescriptionList = - Array; +export type ReplicaAutoScalingDescriptionList = Array; export interface ReplicaAutoScalingUpdate { RegionName: string; ReplicaGlobalSecondaryIndexUpdates?: Array; @@ -1925,24 +1584,20 @@ export interface ReplicaGlobalSecondaryIndexAutoScalingDescription { ProvisionedReadCapacityAutoScalingSettings?: AutoScalingSettingsDescription; ProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription; } -export type ReplicaGlobalSecondaryIndexAutoScalingDescriptionList = - Array; +export type ReplicaGlobalSecondaryIndexAutoScalingDescriptionList = Array; export interface ReplicaGlobalSecondaryIndexAutoScalingUpdate { IndexName?: string; ProvisionedReadCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate; } -export type ReplicaGlobalSecondaryIndexAutoScalingUpdateList = - Array; +export type ReplicaGlobalSecondaryIndexAutoScalingUpdateList = Array; export interface ReplicaGlobalSecondaryIndexDescription { IndexName?: string; ProvisionedThroughputOverride?: ProvisionedThroughputOverride; OnDemandThroughputOverride?: OnDemandThroughputOverride; WarmThroughput?: GlobalSecondaryIndexWarmThroughputDescription; } -export type ReplicaGlobalSecondaryIndexDescriptionList = - Array; -export type ReplicaGlobalSecondaryIndexList = - Array; +export type ReplicaGlobalSecondaryIndexDescriptionList = Array; +export type ReplicaGlobalSecondaryIndexList = Array; export interface ReplicaGlobalSecondaryIndexSettingsDescription { IndexName: string; IndexStatus?: IndexStatus; @@ -1951,15 +1606,13 @@ export interface ReplicaGlobalSecondaryIndexSettingsDescription { ProvisionedWriteCapacityUnits?: number; ProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription; } -export type ReplicaGlobalSecondaryIndexSettingsDescriptionList = - Array; +export type ReplicaGlobalSecondaryIndexSettingsDescriptionList = Array; export interface ReplicaGlobalSecondaryIndexSettingsUpdate { IndexName: string; ProvisionedReadCapacityUnits?: number; ProvisionedReadCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate; } -export type ReplicaGlobalSecondaryIndexSettingsUpdateList = - Array; +export type ReplicaGlobalSecondaryIndexSettingsUpdateList = Array; export type ReplicaList = Array; export declare class ReplicaNotFoundException extends EffectData.TaggedError( "ReplicaNotFoundException", @@ -1986,17 +1639,7 @@ export interface ReplicaSettingsUpdate { ReplicaTableClass?: TableClass; } export type ReplicaSettingsUpdateList = Array; -export type ReplicaStatus = - | "CREATING" - | "CREATION_FAILED" - | "UPDATING" - | "DELETING" - | "ACTIVE" - | "REGION_DISABLED" - | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" - | "ARCHIVING" - | "ARCHIVED" - | "REPLICATION_NOT_AUTHORIZED"; +export type ReplicaStatus = "CREATING" | "CREATION_FAILED" | "UPDATING" | "DELETING" | "ACTIVE" | "REGION_DISABLED" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED" | "REPLICATION_NOT_AUTHORIZED"; export type ReplicaStatusDescription = string; export type ReplicaStatusPercentProgress = string; @@ -2078,12 +1721,7 @@ export interface RestoreTableToPointInTimeOutput { } export type ReturnConsumedCapacity = "INDEXES" | "TOTAL" | "NONE"; export type ReturnItemCollectionMetrics = "SIZE" | "NONE"; -export type ReturnValue = - | "NONE" - | "ALL_OLD" - | "UPDATED_OLD" - | "ALL_NEW" - | "UPDATED_NEW"; +export type ReturnValue = "NONE" | "ALL_OLD" | "UPDATED_OLD" | "ALL_NEW" | "UPDATED_NEW"; export type ReturnValuesOnConditionCheckFailure = "ALL_OLD" | "NONE"; export type S3Bucket = string; @@ -2130,11 +1768,7 @@ export type ScanSegment = number; export type ScanTotalSegments = number; export type SecondaryIndexesCapacityMap = Record; -export type Select = - | "ALL_ATTRIBUTES" - | "ALL_PROJECTED_ATTRIBUTES" - | "SPECIFIC_ATTRIBUTES" - | "COUNT"; +export type Select = "ALL_ATTRIBUTES" | "ALL_PROJECTED_ATTRIBUTES" | "SPECIFIC_ATTRIBUTES" | "COUNT"; export interface SourceTableDetails { TableName: string; TableId: string; @@ -2167,12 +1801,7 @@ export interface SSESpecification { SSEType?: SSEType; KMSMasterKeyId?: string; } -export type SSEStatus = - | "ENABLING" - | "ENABLED" - | "DISABLING" - | "DISABLED" - | "UPDATING"; +export type SSEStatus = "ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "UPDATING"; export type SSEType = "AES256" | "KMS"; export type StreamArn = string; @@ -2182,11 +1811,7 @@ export interface StreamSpecification { StreamEnabled: boolean; StreamViewType?: StreamViewType; } -export type StreamViewType = - | "NEW_IMAGE" - | "OLD_IMAGE" - | "NEW_AND_OLD_IMAGES" - | "KEYS_ONLY"; +export type StreamViewType = "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY"; export type DynamodbString = string; export type StringAttributeValue = string; @@ -2265,15 +1890,7 @@ export declare class TableNotFoundException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type TableStatus = - | "CREATING" - | "UPDATING" - | "DELETING" - | "ACTIVE" - | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" - | "ARCHIVING" - | "ARCHIVED" - | "REPLICATION_NOT_AUTHORIZED"; +export type TableStatus = "CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED" | "REPLICATION_NOT_AUTHORIZED"; export interface TableWarmThroughputDescription { ReadUnitsPerSecond?: number; WriteUnitsPerSecond?: number; @@ -2320,11 +1937,7 @@ export interface TimeToLiveSpecification { Enabled: boolean; AttributeName: string; } -export type TimeToLiveStatus = - | "ENABLING" - | "DISABLING" - | "ENABLED" - | "DISABLED"; +export type TimeToLiveStatus = "ENABLING" | "DISABLING" | "ENABLED" | "DISABLED"; export interface TransactGetItem { Get: Get; } @@ -2677,7 +2290,8 @@ export declare namespace DescribeContributorInsights { export declare namespace DescribeEndpoints { export type Input = DescribeEndpointsRequest; export type Output = DescribeEndpointsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeExport { @@ -2713,7 +2327,9 @@ export declare namespace DescribeGlobalTableSettings { export declare namespace DescribeImport { export type Input = DescribeImportInput; export type Output = DescribeImportOutput; - export type Error = ImportNotFoundException | CommonAwsError; + export type Error = + | ImportNotFoundException + | CommonAwsError; } export declare namespace DescribeKinesisStreamingDestination { @@ -2905,7 +2521,9 @@ export declare namespace ListGlobalTables { export declare namespace ListImports { export type Input = ListImportsInput; export type Output = ListImportsOutput; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace ListTables { @@ -3177,40 +2795,5 @@ export declare namespace UpdateTimeToLive { | CommonAwsError; } -export type DynamoDBErrors = - | BackupInUseException - | BackupNotFoundException - | ConditionalCheckFailedException - | ContinuousBackupsUnavailableException - | DuplicateItemException - | ExportConflictException - | ExportNotFoundException - | GlobalTableAlreadyExistsException - | GlobalTableNotFoundException - | IdempotentParameterMismatchException - | ImportConflictException - | ImportNotFoundException - | IndexNotFoundException - | InternalServerError - | InvalidEndpointException - | InvalidExportTimeException - | InvalidRestoreTimeException - | ItemCollectionSizeLimitExceededException - | LimitExceededException - | PointInTimeRecoveryUnavailableException - | PolicyNotFoundException - | ProvisionedThroughputExceededException - | ReplicaAlreadyExistsException - | ReplicaNotFoundException - | ReplicatedWriteConflictException - | RequestLimitExceeded - | ResourceInUseException - | ResourceNotFoundException - | TableAlreadyExistsException - | TableInUseException - | TableNotFoundException - | ThrottlingException - | TransactionCanceledException - | TransactionConflictException - | TransactionInProgressException - | CommonAwsError; +export type DynamoDBErrors = BackupInUseException | BackupNotFoundException | ConditionalCheckFailedException | ContinuousBackupsUnavailableException | DuplicateItemException | ExportConflictException | ExportNotFoundException | GlobalTableAlreadyExistsException | GlobalTableNotFoundException | IdempotentParameterMismatchException | ImportConflictException | ImportNotFoundException | IndexNotFoundException | InternalServerError | InvalidEndpointException | InvalidExportTimeException | InvalidRestoreTimeException | ItemCollectionSizeLimitExceededException | LimitExceededException | PointInTimeRecoveryUnavailableException | PolicyNotFoundException | ProvisionedThroughputExceededException | ReplicaAlreadyExistsException | ReplicaNotFoundException | ReplicatedWriteConflictException | RequestLimitExceeded | ResourceInUseException | ResourceNotFoundException | TableAlreadyExistsException | TableInUseException | TableNotFoundException | ThrottlingException | TransactionCanceledException | TransactionConflictException | TransactionInProgressException | CommonAwsError; + diff --git a/src/services/ebs/index.ts b/src/services/ebs/index.ts index 7383ada4..0e37c560 100644 --- a/src/services/ebs/index.ts +++ b/src/services/ebs/index.ts @@ -5,24 +5,7 @@ import type { EBS as _EBSClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,26 +15,26 @@ const metadata = { sigV4ServiceName: "ebs", endpointPrefix: "ebs", operations: { - CompleteSnapshot: "POST /snapshots/completion/{SnapshotId}", - GetSnapshotBlock: { + "CompleteSnapshot": "POST /snapshots/completion/{SnapshotId}", + "GetSnapshotBlock": { http: "GET /snapshots/{SnapshotId}/blocks/{BlockIndex}", traits: { - DataLength: "x-amz-Data-Length", - BlockData: "httpPayload", - Checksum: "x-amz-Checksum", - ChecksumAlgorithm: "x-amz-Checksum-Algorithm", + "DataLength": "x-amz-Data-Length", + "BlockData": "httpPayload", + "Checksum": "x-amz-Checksum", + "ChecksumAlgorithm": "x-amz-Checksum-Algorithm", }, }, - ListChangedBlocks: "GET /snapshots/{SecondSnapshotId}/changedblocks", - ListSnapshotBlocks: "GET /snapshots/{SnapshotId}/blocks", - PutSnapshotBlock: { + "ListChangedBlocks": "GET /snapshots/{SecondSnapshotId}/changedblocks", + "ListSnapshotBlocks": "GET /snapshots/{SnapshotId}/blocks", + "PutSnapshotBlock": { http: "PUT /snapshots/{SnapshotId}/blocks/{BlockIndex}", traits: { - Checksum: "x-amz-Checksum", - ChecksumAlgorithm: "x-amz-Checksum-Algorithm", + "Checksum": "x-amz-Checksum", + "ChecksumAlgorithm": "x-amz-Checksum-Algorithm", }, }, - StartSnapshot: "POST /snapshots", + "StartSnapshot": "POST /snapshots", }, } as const satisfies ServiceMetadata; diff --git a/src/services/ebs/types.ts b/src/services/ebs/types.ts index e6f5ee14..038be3d5 100644 --- a/src/services/ebs/types.ts +++ b/src/services/ebs/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class EBS extends AWSServiceClient { @@ -41,75 +8,37 @@ export declare class EBS extends AWSServiceClient { input: CompleteSnapshotRequest, ): Effect.Effect< CompleteSnapshotResponse, - | AccessDeniedException - | InternalServerException - | RequestThrottledException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestThrottledException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; getSnapshotBlock( input: GetSnapshotBlockRequest, ): Effect.Effect< GetSnapshotBlockResponse, - | AccessDeniedException - | InternalServerException - | RequestThrottledException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestThrottledException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listChangedBlocks( input: ListChangedBlocksRequest, ): Effect.Effect< ListChangedBlocksResponse, - | AccessDeniedException - | InternalServerException - | RequestThrottledException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestThrottledException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listSnapshotBlocks( input: ListSnapshotBlocksRequest, ): Effect.Effect< ListSnapshotBlocksResponse, - | AccessDeniedException - | InternalServerException - | RequestThrottledException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestThrottledException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; putSnapshotBlock( input: PutSnapshotBlockRequest, ): Effect.Effect< PutSnapshotBlockResponse, - | AccessDeniedException - | InternalServerException - | RequestThrottledException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestThrottledException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; startSnapshot( input: StartSnapshotRequest, ): Effect.Effect< StartSnapshotResponse, - | AccessDeniedException - | ConcurrentLimitExceededException - | ConflictException - | InternalServerException - | RequestThrottledException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConcurrentLimitExceededException | ConflictException | InternalServerException | RequestThrottledException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -119,9 +48,7 @@ export declare class AccessDeniedException extends EffectData.TaggedError( readonly Message?: string; readonly Reason: AccessDeniedExceptionReason; }> {} -export type AccessDeniedExceptionReason = - | "UNAUTHORIZED_ACCOUNT" - | "DEPENDENCY_ACCESS_DENIED"; +export type AccessDeniedExceptionReason = "UNAUTHORIZED_ACCOUNT" | "DEPENDENCY_ACCESS_DENIED"; export interface Block { BlockIndex?: number; BlockToken?: string; @@ -249,29 +176,21 @@ export declare class RequestThrottledException extends EffectData.TaggedError( readonly Message?: string; readonly Reason?: RequestThrottledExceptionReason; }> {} -export type RequestThrottledExceptionReason = - | "ACCOUNT_THROTTLED" - | "DEPENDENCY_REQUEST_THROTTLED" - | "RESOURCE_LEVEL_THROTTLE"; +export type RequestThrottledExceptionReason = "ACCOUNT_THROTTLED" | "DEPENDENCY_REQUEST_THROTTLED" | "RESOURCE_LEVEL_THROTTLE"; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ readonly Message?: string; readonly Reason?: ResourceNotFoundExceptionReason; }> {} -export type ResourceNotFoundExceptionReason = - | "SNAPSHOT_NOT_FOUND" - | "GRANT_NOT_FOUND" - | "DEPENDENCY_RESOURCE_NOT_FOUND" - | "IMAGE_NOT_FOUND"; +export type ResourceNotFoundExceptionReason = "SNAPSHOT_NOT_FOUND" | "GRANT_NOT_FOUND" | "DEPENDENCY_RESOURCE_NOT_FOUND" | "IMAGE_NOT_FOUND"; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", )<{ readonly Message?: string; readonly Reason?: ServiceQuotaExceededExceptionReason; }> {} -export type ServiceQuotaExceededExceptionReason = - "DEPENDENCY_SERVICE_QUOTA_EXCEEDED"; +export type ServiceQuotaExceededExceptionReason = "DEPENDENCY_SERVICE_QUOTA_EXCEEDED"; export type SnapshotId = string; export type SSEType = "sse-ebs" | "sse-kms" | "none"; @@ -318,22 +237,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly Message?: string; readonly Reason?: ValidationExceptionReason; }> {} -export type ValidationExceptionReason = - | "INVALID_CUSTOMER_KEY" - | "INVALID_PAGE_TOKEN" - | "INVALID_BLOCK_TOKEN" - | "INVALID_GRANT_TOKEN" - | "INVALID_SNAPSHOT_ID" - | "UNRELATED_SNAPSHOTS" - | "INVALID_BLOCK" - | "INVALID_CONTENT_ENCODING" - | "INVALID_TAG" - | "INVALID_DEPENDENCY_REQUEST" - | "INVALID_PARAMETER_VALUE" - | "INVALID_VOLUME_SIZE" - | "CONFLICTING_BLOCK_UPDATE" - | "INVALID_IMAGE_ID" - | "WRITE_REQUEST_TIMEOUT"; +export type ValidationExceptionReason = "INVALID_CUSTOMER_KEY" | "INVALID_PAGE_TOKEN" | "INVALID_BLOCK_TOKEN" | "INVALID_GRANT_TOKEN" | "INVALID_SNAPSHOT_ID" | "UNRELATED_SNAPSHOTS" | "INVALID_BLOCK" | "INVALID_CONTENT_ENCODING" | "INVALID_TAG" | "INVALID_DEPENDENCY_REQUEST" | "INVALID_PARAMETER_VALUE" | "INVALID_VOLUME_SIZE" | "CONFLICTING_BLOCK_UPDATE" | "INVALID_IMAGE_ID" | "WRITE_REQUEST_TIMEOUT"; export type VolumeSize = number; export declare namespace CompleteSnapshot { @@ -416,13 +320,5 @@ export declare namespace StartSnapshot { | CommonAwsError; } -export type EBSErrors = - | AccessDeniedException - | ConcurrentLimitExceededException - | ConflictException - | InternalServerException - | RequestThrottledException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type EBSErrors = AccessDeniedException | ConcurrentLimitExceededException | ConflictException | InternalServerException | RequestThrottledException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/ec2-instance-connect/index.ts b/src/services/ec2-instance-connect/index.ts index 195d13e7..db1a761a 100644 --- a/src/services/ec2-instance-connect/index.ts +++ b/src/services/ec2-instance-connect/index.ts @@ -5,25 +5,7 @@ import type { EC2InstanceConnect as _EC2InstanceConnectClient } from "./types.ts export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/ec2-instance-connect/types.ts b/src/services/ec2-instance-connect/types.ts index 33a12655..557e522b 100644 --- a/src/services/ec2-instance-connect/types.ts +++ b/src/services/ec2-instance-connect/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class EC2InstanceConnect extends AWSServiceClient { @@ -42,32 +8,13 @@ export declare class EC2InstanceConnect extends AWSServiceClient { input: SendSerialConsoleSSHPublicKeyRequest, ): Effect.Effect< SendSerialConsoleSSHPublicKeyResponse, - | AuthException - | EC2InstanceNotFoundException - | EC2InstanceStateInvalidException - | EC2InstanceTypeInvalidException - | EC2InstanceUnavailableException - | InvalidArgsException - | SerialConsoleAccessDisabledException - | SerialConsoleSessionLimitExceededException - | SerialConsoleSessionUnavailableException - | SerialConsoleSessionUnsupportedException - | ServiceException - | ThrottlingException - | CommonAwsError + AuthException | EC2InstanceNotFoundException | EC2InstanceStateInvalidException | EC2InstanceTypeInvalidException | EC2InstanceUnavailableException | InvalidArgsException | SerialConsoleAccessDisabledException | SerialConsoleSessionLimitExceededException | SerialConsoleSessionUnavailableException | SerialConsoleSessionUnsupportedException | ServiceException | ThrottlingException | CommonAwsError >; sendSSHPublicKey( input: SendSSHPublicKeyRequest, ): Effect.Effect< SendSSHPublicKeyResponse, - | AuthException - | EC2InstanceNotFoundException - | EC2InstanceStateInvalidException - | EC2InstanceUnavailableException - | InvalidArgsException - | ServiceException - | ThrottlingException - | CommonAwsError + AuthException | EC2InstanceNotFoundException | EC2InstanceStateInvalidException | EC2InstanceUnavailableException | InvalidArgsException | ServiceException | ThrottlingException | CommonAwsError >; } @@ -201,17 +148,5 @@ export declare namespace SendSSHPublicKey { | CommonAwsError; } -export type EC2InstanceConnectErrors = - | AuthException - | EC2InstanceNotFoundException - | EC2InstanceStateInvalidException - | EC2InstanceTypeInvalidException - | EC2InstanceUnavailableException - | InvalidArgsException - | SerialConsoleAccessDisabledException - | SerialConsoleSessionLimitExceededException - | SerialConsoleSessionUnavailableException - | SerialConsoleSessionUnsupportedException - | ServiceException - | ThrottlingException - | CommonAwsError; +export type EC2InstanceConnectErrors = AuthException | EC2InstanceNotFoundException | EC2InstanceStateInvalidException | EC2InstanceTypeInvalidException | EC2InstanceUnavailableException | InvalidArgsException | SerialConsoleAccessDisabledException | SerialConsoleSessionLimitExceededException | SerialConsoleSessionUnavailableException | SerialConsoleSessionUnsupportedException | ServiceException | ThrottlingException | CommonAwsError; + diff --git a/src/services/ec2/index.ts b/src/services/ec2/index.ts index 1d6a1cd5..2502fca6 100644 --- a/src/services/ec2/index.ts +++ b/src/services/ec2/index.ts @@ -5,26 +5,7 @@ import type { EC2 as _EC2Client } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/ec2/types.ts b/src/services/ec2/types.ts index 3a1cdae8..05858ee4 100644 --- a/src/services/ec2/types.ts +++ b/src/services/ec2/types.ts @@ -5,7 +5,10 @@ import { AWSServiceClient } from "../../client.ts"; export declare class EC2 extends AWSServiceClient { acceptAddressTransfer( input: AcceptAddressTransferRequest, - ): Effect.Effect; + ): Effect.Effect< + AcceptAddressTransferResult, + CommonAwsError + >; acceptCapacityReservationBillingOwnership( input: AcceptCapacityReservationBillingOwnershipRequest, ): Effect.Effect< @@ -14,7 +17,10 @@ export declare class EC2 extends AWSServiceClient { >; acceptReservedInstancesExchangeQuote( input: AcceptReservedInstancesExchangeQuoteRequest, - ): Effect.Effect; + ): Effect.Effect< + AcceptReservedInstancesExchangeQuoteResult, + CommonAwsError + >; acceptTransitGatewayMulticastDomainAssociations( input: AcceptTransitGatewayMulticastDomainAssociationsRequest, ): Effect.Effect< @@ -23,28 +29,52 @@ export declare class EC2 extends AWSServiceClient { >; acceptTransitGatewayPeeringAttachment( input: AcceptTransitGatewayPeeringAttachmentRequest, - ): Effect.Effect; + ): Effect.Effect< + AcceptTransitGatewayPeeringAttachmentResult, + CommonAwsError + >; acceptTransitGatewayVpcAttachment( input: AcceptTransitGatewayVpcAttachmentRequest, - ): Effect.Effect; + ): Effect.Effect< + AcceptTransitGatewayVpcAttachmentResult, + CommonAwsError + >; acceptVpcEndpointConnections( input: AcceptVpcEndpointConnectionsRequest, - ): Effect.Effect; + ): Effect.Effect< + AcceptVpcEndpointConnectionsResult, + CommonAwsError + >; acceptVpcPeeringConnection( input: AcceptVpcPeeringConnectionRequest, - ): Effect.Effect; + ): Effect.Effect< + AcceptVpcPeeringConnectionResult, + CommonAwsError + >; advertiseByoipCidr( input: AdvertiseByoipCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + AdvertiseByoipCidrResult, + CommonAwsError + >; allocateAddress( input: AllocateAddressRequest, - ): Effect.Effect; + ): Effect.Effect< + AllocateAddressResult, + CommonAwsError + >; allocateHosts( input: AllocateHostsRequest, - ): Effect.Effect; + ): Effect.Effect< + AllocateHostsResult, + CommonAwsError + >; allocateIpamPoolCidr( input: AllocateIpamPoolCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + AllocateIpamPoolCidrResult, + CommonAwsError + >; applySecurityGroupsToClientVpnTargetNetwork( input: ApplySecurityGroupsToClientVpnTargetNetworkRequest, ): Effect.Effect< @@ -53,16 +83,28 @@ export declare class EC2 extends AWSServiceClient { >; assignIpv6Addresses( input: AssignIpv6AddressesRequest, - ): Effect.Effect; + ): Effect.Effect< + AssignIpv6AddressesResult, + CommonAwsError + >; assignPrivateIpAddresses( input: AssignPrivateIpAddressesRequest, - ): Effect.Effect; + ): Effect.Effect< + AssignPrivateIpAddressesResult, + CommonAwsError + >; assignPrivateNatGatewayAddress( input: AssignPrivateNatGatewayAddressRequest, - ): Effect.Effect; + ): Effect.Effect< + AssignPrivateNatGatewayAddressResult, + CommonAwsError + >; associateAddress( input: AssociateAddressRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateAddressResult, + CommonAwsError + >; associateCapacityReservationBillingOwner( input: AssociateCapacityReservationBillingOwnerRequest, ): Effect.Effect< @@ -71,40 +113,76 @@ export declare class EC2 extends AWSServiceClient { >; associateClientVpnTargetNetwork( input: AssociateClientVpnTargetNetworkRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateClientVpnTargetNetworkResult, + CommonAwsError + >; associateDhcpOptions( input: AssociateDhcpOptionsRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; associateEnclaveCertificateIamRole( input: AssociateEnclaveCertificateIamRoleRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateEnclaveCertificateIamRoleResult, + CommonAwsError + >; associateIamInstanceProfile( input: AssociateIamInstanceProfileRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateIamInstanceProfileResult, + CommonAwsError + >; associateInstanceEventWindow( input: AssociateInstanceEventWindowRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateInstanceEventWindowResult, + CommonAwsError + >; associateIpamByoasn( input: AssociateIpamByoasnRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateIpamByoasnResult, + CommonAwsError + >; associateIpamResourceDiscovery( input: AssociateIpamResourceDiscoveryRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateIpamResourceDiscoveryResult, + CommonAwsError + >; associateNatGatewayAddress( input: AssociateNatGatewayAddressRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateNatGatewayAddressResult, + CommonAwsError + >; associateRouteServer( input: AssociateRouteServerRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateRouteServerResult, + CommonAwsError + >; associateRouteTable( input: AssociateRouteTableRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateRouteTableResult, + CommonAwsError + >; associateSecurityGroupVpc( input: AssociateSecurityGroupVpcRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateSecurityGroupVpcResult, + CommonAwsError + >; associateSubnetCidrBlock( input: AssociateSubnetCidrBlockRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateSubnetCidrBlockResult, + CommonAwsError + >; associateTransitGatewayMulticastDomain( input: AssociateTransitGatewayMulticastDomainRequest, ): Effect.Effect< @@ -113,169 +191,334 @@ export declare class EC2 extends AWSServiceClient { >; associateTransitGatewayPolicyTable( input: AssociateTransitGatewayPolicyTableRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateTransitGatewayPolicyTableResult, + CommonAwsError + >; associateTransitGatewayRouteTable( input: AssociateTransitGatewayRouteTableRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateTransitGatewayRouteTableResult, + CommonAwsError + >; associateTrunkInterface( input: AssociateTrunkInterfaceRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateTrunkInterfaceResult, + CommonAwsError + >; associateVpcCidrBlock( input: AssociateVpcCidrBlockRequest, - ): Effect.Effect; + ): Effect.Effect< + AssociateVpcCidrBlockResult, + CommonAwsError + >; attachClassicLinkVpc( input: AttachClassicLinkVpcRequest, - ): Effect.Effect; + ): Effect.Effect< + AttachClassicLinkVpcResult, + CommonAwsError + >; attachInternetGateway( input: AttachInternetGatewayRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; attachNetworkInterface( input: AttachNetworkInterfaceRequest, - ): Effect.Effect; + ): Effect.Effect< + AttachNetworkInterfaceResult, + CommonAwsError + >; attachVerifiedAccessTrustProvider( input: AttachVerifiedAccessTrustProviderRequest, - ): Effect.Effect; + ): Effect.Effect< + AttachVerifiedAccessTrustProviderResult, + CommonAwsError + >; attachVolume( input: AttachVolumeRequest, - ): Effect.Effect; + ): Effect.Effect< + VolumeAttachment, + CommonAwsError + >; attachVpnGateway( input: AttachVpnGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + AttachVpnGatewayResult, + CommonAwsError + >; authorizeClientVpnIngress( input: AuthorizeClientVpnIngressRequest, - ): Effect.Effect; + ): Effect.Effect< + AuthorizeClientVpnIngressResult, + CommonAwsError + >; authorizeSecurityGroupEgress( input: AuthorizeSecurityGroupEgressRequest, - ): Effect.Effect; + ): Effect.Effect< + AuthorizeSecurityGroupEgressResult, + CommonAwsError + >; authorizeSecurityGroupIngress( input: AuthorizeSecurityGroupIngressRequest, - ): Effect.Effect; + ): Effect.Effect< + AuthorizeSecurityGroupIngressResult, + CommonAwsError + >; bundleInstance( input: BundleInstanceRequest, - ): Effect.Effect; + ): Effect.Effect< + BundleInstanceResult, + CommonAwsError + >; cancelBundleTask( input: CancelBundleTaskRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelBundleTaskResult, + CommonAwsError + >; cancelCapacityReservation( input: CancelCapacityReservationRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelCapacityReservationResult, + CommonAwsError + >; cancelCapacityReservationFleets( input: CancelCapacityReservationFleetsRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelCapacityReservationFleetsResult, + CommonAwsError + >; cancelConversionTask( input: CancelConversionRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; cancelDeclarativePoliciesReport( input: CancelDeclarativePoliciesReportRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelDeclarativePoliciesReportResult, + CommonAwsError + >; cancelExportTask( input: CancelExportTaskRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; cancelImageLaunchPermission( input: CancelImageLaunchPermissionRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelImageLaunchPermissionResult, + CommonAwsError + >; cancelImportTask( input: CancelImportTaskRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelImportTaskResult, + CommonAwsError + >; cancelReservedInstancesListing( input: CancelReservedInstancesListingRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelReservedInstancesListingResult, + CommonAwsError + >; cancelSpotFleetRequests( input: CancelSpotFleetRequestsRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelSpotFleetRequestsResponse, + CommonAwsError + >; cancelSpotInstanceRequests( input: CancelSpotInstanceRequestsRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelSpotInstanceRequestsResult, + CommonAwsError + >; confirmProductInstance( input: ConfirmProductInstanceRequest, - ): Effect.Effect; + ): Effect.Effect< + ConfirmProductInstanceResult, + CommonAwsError + >; copyFpgaImage( input: CopyFpgaImageRequest, - ): Effect.Effect; + ): Effect.Effect< + CopyFpgaImageResult, + CommonAwsError + >; copyImage( input: CopyImageRequest, - ): Effect.Effect; + ): Effect.Effect< + CopyImageResult, + CommonAwsError + >; copySnapshot( input: CopySnapshotRequest, - ): Effect.Effect; + ): Effect.Effect< + CopySnapshotResult, + CommonAwsError + >; copyVolumes( input: CopyVolumesRequest, - ): Effect.Effect; + ): Effect.Effect< + CopyVolumesResult, + CommonAwsError + >; createCapacityManagerDataExport( input: CreateCapacityManagerDataExportRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCapacityManagerDataExportResult, + CommonAwsError + >; createCapacityReservation( input: CreateCapacityReservationRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCapacityReservationResult, + CommonAwsError + >; createCapacityReservationBySplitting( input: CreateCapacityReservationBySplittingRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCapacityReservationBySplittingResult, + CommonAwsError + >; createCapacityReservationFleet( input: CreateCapacityReservationFleetRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCapacityReservationFleetResult, + CommonAwsError + >; createCarrierGateway( input: CreateCarrierGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCarrierGatewayResult, + CommonAwsError + >; createClientVpnEndpoint( input: CreateClientVpnEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateClientVpnEndpointResult, + CommonAwsError + >; createClientVpnRoute( input: CreateClientVpnRouteRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateClientVpnRouteResult, + CommonAwsError + >; createCoipCidr( input: CreateCoipCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCoipCidrResult, + CommonAwsError + >; createCoipPool( input: CreateCoipPoolRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCoipPoolResult, + CommonAwsError + >; createCustomerGateway( input: CreateCustomerGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCustomerGatewayResult, + CommonAwsError + >; createDefaultSubnet( input: CreateDefaultSubnetRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateDefaultSubnetResult, + CommonAwsError + >; createDefaultVpc( input: CreateDefaultVpcRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateDefaultVpcResult, + CommonAwsError + >; createDelegateMacVolumeOwnershipTask( input: CreateDelegateMacVolumeOwnershipTaskRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateDelegateMacVolumeOwnershipTaskResult, + CommonAwsError + >; createDhcpOptions( input: CreateDhcpOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateDhcpOptionsResult, + CommonAwsError + >; createEgressOnlyInternetGateway( input: CreateEgressOnlyInternetGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateEgressOnlyInternetGatewayResult, + CommonAwsError + >; createFleet( input: CreateFleetRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateFleetResult, + CommonAwsError + >; createFlowLogs( input: CreateFlowLogsRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateFlowLogsResult, + CommonAwsError + >; createFpgaImage( input: CreateFpgaImageRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateFpgaImageResult, + CommonAwsError + >; createImage( input: CreateImageRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateImageResult, + CommonAwsError + >; createImageUsageReport( input: CreateImageUsageReportRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateImageUsageReportResult, + CommonAwsError + >; createInstanceConnectEndpoint( input: CreateInstanceConnectEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateInstanceConnectEndpointResult, + CommonAwsError + >; createInstanceEventWindow( input: CreateInstanceEventWindowRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateInstanceEventWindowResult, + CommonAwsError + >; createInstanceExportTask( input: CreateInstanceExportTaskRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateInstanceExportTaskResult, + CommonAwsError + >; createInternetGateway( input: CreateInternetGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateInternetGatewayResult, + CommonAwsError + >; createIpam( input: CreateIpamRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateIpamResult, + CommonAwsError + >; createIpamExternalResourceVerificationToken( input: CreateIpamExternalResourceVerificationTokenRequest, ): Effect.Effect< @@ -284,34 +527,64 @@ export declare class EC2 extends AWSServiceClient { >; createIpamPool( input: CreateIpamPoolRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateIpamPoolResult, + CommonAwsError + >; createIpamPrefixListResolver( input: CreateIpamPrefixListResolverRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateIpamPrefixListResolverResult, + CommonAwsError + >; createIpamPrefixListResolverTarget( input: CreateIpamPrefixListResolverTargetRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateIpamPrefixListResolverTargetResult, + CommonAwsError + >; createIpamResourceDiscovery( input: CreateIpamResourceDiscoveryRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateIpamResourceDiscoveryResult, + CommonAwsError + >; createIpamScope( input: CreateIpamScopeRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateIpamScopeResult, + CommonAwsError + >; createKeyPair( input: CreateKeyPairRequest, - ): Effect.Effect; + ): Effect.Effect< + KeyPair, + CommonAwsError + >; createLaunchTemplate( input: CreateLaunchTemplateRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateLaunchTemplateResult, + CommonAwsError + >; createLaunchTemplateVersion( input: CreateLaunchTemplateVersionRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateLaunchTemplateVersionResult, + CommonAwsError + >; createLocalGatewayRoute( input: CreateLocalGatewayRouteRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateLocalGatewayRouteResult, + CommonAwsError + >; createLocalGatewayRouteTable( input: CreateLocalGatewayRouteTableRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateLocalGatewayRouteTableResult, + CommonAwsError + >; createLocalGatewayRouteTableVirtualInterfaceGroupAssociation( input: CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest, ): Effect.Effect< @@ -326,7 +599,10 @@ export declare class EC2 extends AWSServiceClient { >; createLocalGatewayVirtualInterface( input: CreateLocalGatewayVirtualInterfaceRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateLocalGatewayVirtualInterfaceResult, + CommonAwsError + >; createLocalGatewayVirtualInterfaceGroup( input: CreateLocalGatewayVirtualInterfaceGroupRequest, ): Effect.Effect< @@ -341,110 +617,220 @@ export declare class EC2 extends AWSServiceClient { >; createManagedPrefixList( input: CreateManagedPrefixListRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateManagedPrefixListResult, + CommonAwsError + >; createNatGateway( input: CreateNatGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateNatGatewayResult, + CommonAwsError + >; createNetworkAcl( input: CreateNetworkAclRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateNetworkAclResult, + CommonAwsError + >; createNetworkAclEntry( input: CreateNetworkAclEntryRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; createNetworkInsightsAccessScope( input: CreateNetworkInsightsAccessScopeRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateNetworkInsightsAccessScopeResult, + CommonAwsError + >; createNetworkInsightsPath( input: CreateNetworkInsightsPathRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateNetworkInsightsPathResult, + CommonAwsError + >; createNetworkInterface( input: CreateNetworkInterfaceRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateNetworkInterfaceResult, + CommonAwsError + >; createNetworkInterfacePermission( input: CreateNetworkInterfacePermissionRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateNetworkInterfacePermissionResult, + CommonAwsError + >; createPlacementGroup( input: CreatePlacementGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + CreatePlacementGroupResult, + CommonAwsError + >; createPublicIpv4Pool( input: CreatePublicIpv4PoolRequest, - ): Effect.Effect; + ): Effect.Effect< + CreatePublicIpv4PoolResult, + CommonAwsError + >; createReplaceRootVolumeTask( input: CreateReplaceRootVolumeTaskRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateReplaceRootVolumeTaskResult, + CommonAwsError + >; createReservedInstancesListing( input: CreateReservedInstancesListingRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateReservedInstancesListingResult, + CommonAwsError + >; createRestoreImageTask( input: CreateRestoreImageTaskRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateRestoreImageTaskResult, + CommonAwsError + >; createRoute( input: CreateRouteRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateRouteResult, + CommonAwsError + >; createRouteServer( input: CreateRouteServerRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateRouteServerResult, + CommonAwsError + >; createRouteServerEndpoint( input: CreateRouteServerEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateRouteServerEndpointResult, + CommonAwsError + >; createRouteServerPeer( input: CreateRouteServerPeerRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateRouteServerPeerResult, + CommonAwsError + >; createRouteTable( input: CreateRouteTableRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateRouteTableResult, + CommonAwsError + >; createSecurityGroup( input: CreateSecurityGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateSecurityGroupResult, + CommonAwsError + >; createSnapshot( input: CreateSnapshotRequest, - ): Effect.Effect; + ): Effect.Effect< + Snapshot, + CommonAwsError + >; createSnapshots( input: CreateSnapshotsRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateSnapshotsResult, + CommonAwsError + >; createSpotDatafeedSubscription( input: CreateSpotDatafeedSubscriptionRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateSpotDatafeedSubscriptionResult, + CommonAwsError + >; createStoreImageTask( input: CreateStoreImageTaskRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateStoreImageTaskResult, + CommonAwsError + >; createSubnet( input: CreateSubnetRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateSubnetResult, + CommonAwsError + >; createSubnetCidrReservation( input: CreateSubnetCidrReservationRequest, - ): Effect.Effect; - createTags(input: CreateTagsRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + CreateSubnetCidrReservationResult, + CommonAwsError + >; + createTags( + input: CreateTagsRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; createTrafficMirrorFilter( input: CreateTrafficMirrorFilterRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTrafficMirrorFilterResult, + CommonAwsError + >; createTrafficMirrorFilterRule( input: CreateTrafficMirrorFilterRuleRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTrafficMirrorFilterRuleResult, + CommonAwsError + >; createTrafficMirrorSession( input: CreateTrafficMirrorSessionRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTrafficMirrorSessionResult, + CommonAwsError + >; createTrafficMirrorTarget( input: CreateTrafficMirrorTargetRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTrafficMirrorTargetResult, + CommonAwsError + >; createTransitGateway( input: CreateTransitGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTransitGatewayResult, + CommonAwsError + >; createTransitGatewayConnect( input: CreateTransitGatewayConnectRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTransitGatewayConnectResult, + CommonAwsError + >; createTransitGatewayConnectPeer( input: CreateTransitGatewayConnectPeerRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTransitGatewayConnectPeerResult, + CommonAwsError + >; createTransitGatewayMulticastDomain( input: CreateTransitGatewayMulticastDomainRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTransitGatewayMulticastDomainResult, + CommonAwsError + >; createTransitGatewayPeeringAttachment( input: CreateTransitGatewayPeeringAttachmentRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTransitGatewayPeeringAttachmentResult, + CommonAwsError + >; createTransitGatewayPolicyTable( input: CreateTransitGatewayPolicyTableRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTransitGatewayPolicyTableResult, + CommonAwsError + >; createTransitGatewayPrefixListReference( input: CreateTransitGatewayPrefixListReferenceRequest, ): Effect.Effect< @@ -453,10 +839,16 @@ export declare class EC2 extends AWSServiceClient { >; createTransitGatewayRoute( input: CreateTransitGatewayRouteRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTransitGatewayRouteResult, + CommonAwsError + >; createTransitGatewayRouteTable( input: CreateTransitGatewayRouteTableRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTransitGatewayRouteTableResult, + CommonAwsError + >; createTransitGatewayRouteTableAnnouncement( input: CreateTransitGatewayRouteTableAnnouncementRequest, ): Effect.Effect< @@ -465,31 +857,58 @@ export declare class EC2 extends AWSServiceClient { >; createTransitGatewayVpcAttachment( input: CreateTransitGatewayVpcAttachmentRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateTransitGatewayVpcAttachmentResult, + CommonAwsError + >; createVerifiedAccessEndpoint( input: CreateVerifiedAccessEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVerifiedAccessEndpointResult, + CommonAwsError + >; createVerifiedAccessGroup( input: CreateVerifiedAccessGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVerifiedAccessGroupResult, + CommonAwsError + >; createVerifiedAccessInstance( input: CreateVerifiedAccessInstanceRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVerifiedAccessInstanceResult, + CommonAwsError + >; createVerifiedAccessTrustProvider( input: CreateVerifiedAccessTrustProviderRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVerifiedAccessTrustProviderResult, + CommonAwsError + >; createVolume( input: CreateVolumeRequest, - ): Effect.Effect; + ): Effect.Effect< + Volume, + CommonAwsError + >; createVpc( input: CreateVpcRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVpcResult, + CommonAwsError + >; createVpcBlockPublicAccessExclusion( input: CreateVpcBlockPublicAccessExclusionRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVpcBlockPublicAccessExclusionResult, + CommonAwsError + >; createVpcEndpoint( input: CreateVpcEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVpcEndpointResult, + CommonAwsError + >; createVpcEndpointConnectionNotification( input: CreateVpcEndpointConnectionNotificationRequest, ): Effect.Effect< @@ -498,70 +917,136 @@ export declare class EC2 extends AWSServiceClient { >; createVpcEndpointServiceConfiguration( input: CreateVpcEndpointServiceConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVpcEndpointServiceConfigurationResult, + CommonAwsError + >; createVpcPeeringConnection( input: CreateVpcPeeringConnectionRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVpcPeeringConnectionResult, + CommonAwsError + >; createVpnConnection( input: CreateVpnConnectionRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVpnConnectionResult, + CommonAwsError + >; createVpnConnectionRoute( input: CreateVpnConnectionRouteRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; createVpnGateway( input: CreateVpnGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVpnGatewayResult, + CommonAwsError + >; deleteCapacityManagerDataExport( input: DeleteCapacityManagerDataExportRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteCapacityManagerDataExportResult, + CommonAwsError + >; deleteCarrierGateway( input: DeleteCarrierGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteCarrierGatewayResult, + CommonAwsError + >; deleteClientVpnEndpoint( input: DeleteClientVpnEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteClientVpnEndpointResult, + CommonAwsError + >; deleteClientVpnRoute( input: DeleteClientVpnRouteRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteClientVpnRouteResult, + CommonAwsError + >; deleteCoipCidr( input: DeleteCoipCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteCoipCidrResult, + CommonAwsError + >; deleteCoipPool( input: DeleteCoipPoolRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteCoipPoolResult, + CommonAwsError + >; deleteCustomerGateway( input: DeleteCustomerGatewayRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteDhcpOptions( input: DeleteDhcpOptionsRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteEgressOnlyInternetGateway( input: DeleteEgressOnlyInternetGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteEgressOnlyInternetGatewayResult, + CommonAwsError + >; deleteFleets( input: DeleteFleetsRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteFleetsResult, + CommonAwsError + >; deleteFlowLogs( input: DeleteFlowLogsRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteFlowLogsResult, + CommonAwsError + >; deleteFpgaImage( input: DeleteFpgaImageRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteFpgaImageResult, + CommonAwsError + >; deleteImageUsageReport( input: DeleteImageUsageReportRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteImageUsageReportResult, + CommonAwsError + >; deleteInstanceConnectEndpoint( input: DeleteInstanceConnectEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteInstanceConnectEndpointResult, + CommonAwsError + >; deleteInstanceEventWindow( input: DeleteInstanceEventWindowRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteInstanceEventWindowResult, + CommonAwsError + >; deleteInternetGateway( input: DeleteInternetGatewayRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteIpam( input: DeleteIpamRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteIpamResult, + CommonAwsError + >; deleteIpamExternalResourceVerificationToken( input: DeleteIpamExternalResourceVerificationTokenRequest, ): Effect.Effect< @@ -570,34 +1055,64 @@ export declare class EC2 extends AWSServiceClient { >; deleteIpamPool( input: DeleteIpamPoolRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteIpamPoolResult, + CommonAwsError + >; deleteIpamPrefixListResolver( input: DeleteIpamPrefixListResolverRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteIpamPrefixListResolverResult, + CommonAwsError + >; deleteIpamPrefixListResolverTarget( input: DeleteIpamPrefixListResolverTargetRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteIpamPrefixListResolverTargetResult, + CommonAwsError + >; deleteIpamResourceDiscovery( input: DeleteIpamResourceDiscoveryRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteIpamResourceDiscoveryResult, + CommonAwsError + >; deleteIpamScope( input: DeleteIpamScopeRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteIpamScopeResult, + CommonAwsError + >; deleteKeyPair( input: DeleteKeyPairRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteKeyPairResult, + CommonAwsError + >; deleteLaunchTemplate( input: DeleteLaunchTemplateRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteLaunchTemplateResult, + CommonAwsError + >; deleteLaunchTemplateVersions( input: DeleteLaunchTemplateVersionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteLaunchTemplateVersionsResult, + CommonAwsError + >; deleteLocalGatewayRoute( input: DeleteLocalGatewayRouteRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteLocalGatewayRouteResult, + CommonAwsError + >; deleteLocalGatewayRouteTable( input: DeleteLocalGatewayRouteTableRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteLocalGatewayRouteTableResult, + CommonAwsError + >; deleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation( input: DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest, ): Effect.Effect< @@ -612,7 +1127,10 @@ export declare class EC2 extends AWSServiceClient { >; deleteLocalGatewayVirtualInterface( input: DeleteLocalGatewayVirtualInterfaceRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteLocalGatewayVirtualInterfaceResult, + CommonAwsError + >; deleteLocalGatewayVirtualInterfaceGroup( input: DeleteLocalGatewayVirtualInterfaceGroupRequest, ): Effect.Effect< @@ -621,19 +1139,34 @@ export declare class EC2 extends AWSServiceClient { >; deleteManagedPrefixList( input: DeleteManagedPrefixListRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteManagedPrefixListResult, + CommonAwsError + >; deleteNatGateway( input: DeleteNatGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteNatGatewayResult, + CommonAwsError + >; deleteNetworkAcl( input: DeleteNetworkAclRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteNetworkAclEntry( input: DeleteNetworkAclEntryRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteNetworkInsightsAccessScope( input: DeleteNetworkInsightsAccessScopeRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteNetworkInsightsAccessScopeResult, + CommonAwsError + >; deleteNetworkInsightsAccessScopeAnalysis( input: DeleteNetworkInsightsAccessScopeAnalysisRequest, ): Effect.Effect< @@ -642,82 +1175,172 @@ export declare class EC2 extends AWSServiceClient { >; deleteNetworkInsightsAnalysis( input: DeleteNetworkInsightsAnalysisRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteNetworkInsightsAnalysisResult, + CommonAwsError + >; deleteNetworkInsightsPath( input: DeleteNetworkInsightsPathRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteNetworkInsightsPathResult, + CommonAwsError + >; deleteNetworkInterface( input: DeleteNetworkInterfaceRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteNetworkInterfacePermission( input: DeleteNetworkInterfacePermissionRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteNetworkInterfacePermissionResult, + CommonAwsError + >; deletePlacementGroup( input: DeletePlacementGroupRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deletePublicIpv4Pool( input: DeletePublicIpv4PoolRequest, - ): Effect.Effect; + ): Effect.Effect< + DeletePublicIpv4PoolResult, + CommonAwsError + >; deleteQueuedReservedInstances( input: DeleteQueuedReservedInstancesRequest, - ): Effect.Effect; - deleteRoute(input: DeleteRouteRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + DeleteQueuedReservedInstancesResult, + CommonAwsError + >; + deleteRoute( + input: DeleteRouteRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; deleteRouteServer( input: DeleteRouteServerRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteRouteServerResult, + CommonAwsError + >; deleteRouteServerEndpoint( input: DeleteRouteServerEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteRouteServerEndpointResult, + CommonAwsError + >; deleteRouteServerPeer( input: DeleteRouteServerPeerRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteRouteServerPeerResult, + CommonAwsError + >; deleteRouteTable( input: DeleteRouteTableRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteSecurityGroup( input: DeleteSecurityGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteSecurityGroupResult, + CommonAwsError + >; deleteSnapshot( input: DeleteSnapshotRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteSpotDatafeedSubscription( input: DeleteSpotDatafeedSubscriptionRequest, - ): Effect.Effect<{}, CommonAwsError>; - deleteSubnet(input: DeleteSubnetRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; + deleteSubnet( + input: DeleteSubnetRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; deleteSubnetCidrReservation( input: DeleteSubnetCidrReservationRequest, - ): Effect.Effect; - deleteTags(input: DeleteTagsRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + DeleteSubnetCidrReservationResult, + CommonAwsError + >; + deleteTags( + input: DeleteTagsRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; deleteTrafficMirrorFilter( input: DeleteTrafficMirrorFilterRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTrafficMirrorFilterResult, + CommonAwsError + >; deleteTrafficMirrorFilterRule( input: DeleteTrafficMirrorFilterRuleRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTrafficMirrorFilterRuleResult, + CommonAwsError + >; deleteTrafficMirrorSession( input: DeleteTrafficMirrorSessionRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTrafficMirrorSessionResult, + CommonAwsError + >; deleteTrafficMirrorTarget( input: DeleteTrafficMirrorTargetRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTrafficMirrorTargetResult, + CommonAwsError + >; deleteTransitGateway( input: DeleteTransitGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTransitGatewayResult, + CommonAwsError + >; deleteTransitGatewayConnect( input: DeleteTransitGatewayConnectRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTransitGatewayConnectResult, + CommonAwsError + >; deleteTransitGatewayConnectPeer( input: DeleteTransitGatewayConnectPeerRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTransitGatewayConnectPeerResult, + CommonAwsError + >; deleteTransitGatewayMulticastDomain( input: DeleteTransitGatewayMulticastDomainRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTransitGatewayMulticastDomainResult, + CommonAwsError + >; deleteTransitGatewayPeeringAttachment( input: DeleteTransitGatewayPeeringAttachmentRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTransitGatewayPeeringAttachmentResult, + CommonAwsError + >; deleteTransitGatewayPolicyTable( input: DeleteTransitGatewayPolicyTableRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTransitGatewayPolicyTableResult, + CommonAwsError + >; deleteTransitGatewayPrefixListReference( input: DeleteTransitGatewayPrefixListReferenceRequest, ): Effect.Effect< @@ -726,10 +1349,16 @@ export declare class EC2 extends AWSServiceClient { >; deleteTransitGatewayRoute( input: DeleteTransitGatewayRouteRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTransitGatewayRouteResult, + CommonAwsError + >; deleteTransitGatewayRouteTable( input: DeleteTransitGatewayRouteTableRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTransitGatewayRouteTableResult, + CommonAwsError + >; deleteTransitGatewayRouteTableAnnouncement( input: DeleteTransitGatewayRouteTableAnnouncementRequest, ): Effect.Effect< @@ -738,26 +1367,52 @@ export declare class EC2 extends AWSServiceClient { >; deleteTransitGatewayVpcAttachment( input: DeleteTransitGatewayVpcAttachmentRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTransitGatewayVpcAttachmentResult, + CommonAwsError + >; deleteVerifiedAccessEndpoint( input: DeleteVerifiedAccessEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteVerifiedAccessEndpointResult, + CommonAwsError + >; deleteVerifiedAccessGroup( input: DeleteVerifiedAccessGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteVerifiedAccessGroupResult, + CommonAwsError + >; deleteVerifiedAccessInstance( input: DeleteVerifiedAccessInstanceRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteVerifiedAccessInstanceResult, + CommonAwsError + >; deleteVerifiedAccessTrustProvider( input: DeleteVerifiedAccessTrustProviderRequest, - ): Effect.Effect; - deleteVolume(input: DeleteVolumeRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + DeleteVerifiedAccessTrustProviderResult, + CommonAwsError + >; + deleteVolume( + input: DeleteVolumeRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; deleteVpc( input: DeleteVpcRequest, - ): Effect.Effect<{}, InvalidVpcIDNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + InvalidVpcIDNotFound | CommonAwsError + >; deleteVpcBlockPublicAccessExclusion( input: DeleteVpcBlockPublicAccessExclusionRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteVpcBlockPublicAccessExclusionResult, + CommonAwsError + >; deleteVpcEndpointConnectionNotifications( input: DeleteVpcEndpointConnectionNotificationsRequest, ): Effect.Effect< @@ -766,7 +1421,10 @@ export declare class EC2 extends AWSServiceClient { >; deleteVpcEndpoints( input: DeleteVpcEndpointsRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteVpcEndpointsResult, + CommonAwsError + >; deleteVpcEndpointServiceConfigurations( input: DeleteVpcEndpointServiceConfigurationsRequest, ): Effect.Effect< @@ -775,31 +1433,58 @@ export declare class EC2 extends AWSServiceClient { >; deleteVpcPeeringConnection( input: DeleteVpcPeeringConnectionRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteVpcPeeringConnectionResult, + CommonAwsError + >; deleteVpnConnection( input: DeleteVpnConnectionRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteVpnConnectionRoute( input: DeleteVpnConnectionRouteRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteVpnGateway( input: DeleteVpnGatewayRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deprovisionByoipCidr( input: DeprovisionByoipCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + DeprovisionByoipCidrResult, + CommonAwsError + >; deprovisionIpamByoasn( input: DeprovisionIpamByoasnRequest, - ): Effect.Effect; + ): Effect.Effect< + DeprovisionIpamByoasnResult, + CommonAwsError + >; deprovisionIpamPoolCidr( input: DeprovisionIpamPoolCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + DeprovisionIpamPoolCidrResult, + CommonAwsError + >; deprovisionPublicIpv4PoolCidr( input: DeprovisionPublicIpv4PoolCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + DeprovisionPublicIpv4PoolCidrResult, + CommonAwsError + >; deregisterImage( input: DeregisterImageRequest, - ): Effect.Effect; + ): Effect.Effect< + DeregisterImageResult, + CommonAwsError + >; deregisterInstanceEventNotificationAttributes( input: DeregisterInstanceEventNotificationAttributesRequest, ): Effect.Effect< @@ -820,22 +1505,40 @@ export declare class EC2 extends AWSServiceClient { >; describeAccountAttributes( input: DescribeAccountAttributesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeAccountAttributesResult, + CommonAwsError + >; describeAddresses( input: DescribeAddressesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeAddressesResult, + CommonAwsError + >; describeAddressesAttribute( input: DescribeAddressesAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeAddressesAttributeResult, + CommonAwsError + >; describeAddressTransfers( input: DescribeAddressTransfersRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeAddressTransfersResult, + CommonAwsError + >; describeAggregateIdFormat( input: DescribeAggregateIdFormatRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeAggregateIdFormatResult, + CommonAwsError + >; describeAvailabilityZones( input: DescribeAvailabilityZonesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeAvailabilityZonesResult, + CommonAwsError + >; describeAwsNetworkPerformanceMetricSubscriptions( input: DescribeAwsNetworkPerformanceMetricSubscriptionsRequest, ): Effect.Effect< @@ -844,13 +1547,22 @@ export declare class EC2 extends AWSServiceClient { >; describeBundleTasks( input: DescribeBundleTasksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeBundleTasksResult, + CommonAwsError + >; describeByoipCidrs( input: DescribeByoipCidrsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeByoipCidrsResult, + CommonAwsError + >; describeCapacityBlockExtensionHistory( input: DescribeCapacityBlockExtensionHistoryRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCapacityBlockExtensionHistoryResult, + CommonAwsError + >; describeCapacityBlockExtensionOfferings( input: DescribeCapacityBlockExtensionOfferingsRequest, ): Effect.Effect< @@ -859,16 +1571,28 @@ export declare class EC2 extends AWSServiceClient { >; describeCapacityBlockOfferings( input: DescribeCapacityBlockOfferingsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCapacityBlockOfferingsResult, + CommonAwsError + >; describeCapacityBlocks( input: DescribeCapacityBlocksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCapacityBlocksResult, + CommonAwsError + >; describeCapacityBlockStatus( input: DescribeCapacityBlockStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCapacityBlockStatusResult, + CommonAwsError + >; describeCapacityManagerDataExports( input: DescribeCapacityManagerDataExportsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCapacityManagerDataExportsResult, + CommonAwsError + >; describeCapacityReservationBillingRequests( input: DescribeCapacityReservationBillingRequestsRequest, ): Effect.Effect< @@ -877,94 +1601,184 @@ export declare class EC2 extends AWSServiceClient { >; describeCapacityReservationFleets( input: DescribeCapacityReservationFleetsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCapacityReservationFleetsResult, + CommonAwsError + >; describeCapacityReservations( input: DescribeCapacityReservationsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCapacityReservationsResult, + CommonAwsError + >; describeCapacityReservationTopology( input: DescribeCapacityReservationTopologyRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCapacityReservationTopologyResult, + CommonAwsError + >; describeCarrierGateways( input: DescribeCarrierGatewaysRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCarrierGatewaysResult, + CommonAwsError + >; describeClassicLinkInstances( input: DescribeClassicLinkInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeClassicLinkInstancesResult, + CommonAwsError + >; describeClientVpnAuthorizationRules( input: DescribeClientVpnAuthorizationRulesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeClientVpnAuthorizationRulesResult, + CommonAwsError + >; describeClientVpnConnections( input: DescribeClientVpnConnectionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeClientVpnConnectionsResult, + CommonAwsError + >; describeClientVpnEndpoints( input: DescribeClientVpnEndpointsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeClientVpnEndpointsResult, + CommonAwsError + >; describeClientVpnRoutes( input: DescribeClientVpnRoutesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeClientVpnRoutesResult, + CommonAwsError + >; describeClientVpnTargetNetworks( input: DescribeClientVpnTargetNetworksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeClientVpnTargetNetworksResult, + CommonAwsError + >; describeCoipPools( input: DescribeCoipPoolsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCoipPoolsResult, + CommonAwsError + >; describeConversionTasks( input: DescribeConversionTasksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeConversionTasksResult, + CommonAwsError + >; describeCustomerGateways( input: DescribeCustomerGatewaysRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeCustomerGatewaysResult, + CommonAwsError + >; describeDeclarativePoliciesReports( input: DescribeDeclarativePoliciesReportsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeDeclarativePoliciesReportsResult, + CommonAwsError + >; describeDhcpOptions( input: DescribeDhcpOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeDhcpOptionsResult, + CommonAwsError + >; describeEgressOnlyInternetGateways( input: DescribeEgressOnlyInternetGatewaysRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeEgressOnlyInternetGatewaysResult, + CommonAwsError + >; describeElasticGpus( input: DescribeElasticGpusRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeElasticGpusResult, + CommonAwsError + >; describeExportImageTasks( input: DescribeExportImageTasksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeExportImageTasksResult, + CommonAwsError + >; describeExportTasks( input: DescribeExportTasksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeExportTasksResult, + CommonAwsError + >; describeFastLaunchImages( input: DescribeFastLaunchImagesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeFastLaunchImagesResult, + CommonAwsError + >; describeFastSnapshotRestores( input: DescribeFastSnapshotRestoresRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeFastSnapshotRestoresResult, + CommonAwsError + >; describeFleetHistory( input: DescribeFleetHistoryRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeFleetHistoryResult, + CommonAwsError + >; describeFleetInstances( input: DescribeFleetInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeFleetInstancesResult, + CommonAwsError + >; describeFleets( input: DescribeFleetsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeFleetsResult, + CommonAwsError + >; describeFlowLogs( input: DescribeFlowLogsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeFlowLogsResult, + CommonAwsError + >; describeFpgaImageAttribute( input: DescribeFpgaImageAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeFpgaImageAttributeResult, + CommonAwsError + >; describeFpgaImages( input: DescribeFpgaImagesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeFpgaImagesResult, + CommonAwsError + >; describeHostReservationOfferings( input: DescribeHostReservationOfferingsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeHostReservationOfferingsResult, + CommonAwsError + >; describeHostReservations( input: DescribeHostReservationsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeHostReservationsResult, + CommonAwsError + >; describeHosts( input: DescribeHostsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeHostsResult, + CommonAwsError + >; describeIamInstanceProfileAssociations( input: DescribeIamInstanceProfileAssociationsRequest, ): Effect.Effect< @@ -973,40 +1787,76 @@ export declare class EC2 extends AWSServiceClient { >; describeIdentityIdFormat( input: DescribeIdentityIdFormatRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIdentityIdFormatResult, + CommonAwsError + >; describeIdFormat( input: DescribeIdFormatRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIdFormatResult, + CommonAwsError + >; describeImageAttribute( input: DescribeImageAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + ImageAttribute, + CommonAwsError + >; describeImageReferences( input: DescribeImageReferencesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeImageReferencesResult, + CommonAwsError + >; describeImages( input: DescribeImagesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeImagesResult, + InvalidAMIIDNotFound | CommonAwsError + >; describeImageUsageReportEntries( input: DescribeImageUsageReportEntriesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeImageUsageReportEntriesResult, + CommonAwsError + >; describeImageUsageReports( input: DescribeImageUsageReportsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeImageUsageReportsResult, + CommonAwsError + >; describeImportImageTasks( input: DescribeImportImageTasksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeImportImageTasksResult, + CommonAwsError + >; describeImportSnapshotTasks( input: DescribeImportSnapshotTasksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeImportSnapshotTasksResult, + CommonAwsError + >; describeInstanceAttribute( input: DescribeInstanceAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + InstanceAttribute, + CommonAwsError + >; describeInstanceConnectEndpoints( input: DescribeInstanceConnectEndpointsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeInstanceConnectEndpointsResult, + CommonAwsError + >; describeInstanceCreditSpecifications( input: DescribeInstanceCreditSpecificationsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeInstanceCreditSpecificationsResult, + CommonAwsError + >; describeInstanceEventNotificationAttributes( input: DescribeInstanceEventNotificationAttributesRequest, ): Effect.Effect< @@ -1015,10 +1865,16 @@ export declare class EC2 extends AWSServiceClient { >; describeInstanceEventWindows( input: DescribeInstanceEventWindowsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeInstanceEventWindowsResult, + CommonAwsError + >; describeInstanceImageMetadata( input: DescribeInstanceImageMetadataRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeInstanceImageMetadataResult, + CommonAwsError + >; describeInstances( input: DescribeInstancesRequest, ): Effect.Effect< @@ -1033,13 +1889,22 @@ export declare class EC2 extends AWSServiceClient { >; describeInstanceTopology( input: DescribeInstanceTopologyRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeInstanceTopologyResult, + CommonAwsError + >; describeInstanceTypeOfferings( input: DescribeInstanceTypeOfferingsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeInstanceTypeOfferingsResult, + CommonAwsError + >; describeInstanceTypes( input: DescribeInstanceTypesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeInstanceTypesResult, + CommonAwsError + >; describeInternetGateways( input: DescribeInternetGatewaysRequest, ): Effect.Effect< @@ -1048,7 +1913,10 @@ export declare class EC2 extends AWSServiceClient { >; describeIpamByoasn( input: DescribeIpamByoasnRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIpamByoasnResult, + CommonAwsError + >; describeIpamExternalResourceVerificationTokens( input: DescribeIpamExternalResourceVerificationTokensRequest, ): Effect.Effect< @@ -1057,16 +1925,28 @@ export declare class EC2 extends AWSServiceClient { >; describeIpamPools( input: DescribeIpamPoolsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIpamPoolsResult, + CommonAwsError + >; describeIpamPrefixListResolvers( input: DescribeIpamPrefixListResolversRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIpamPrefixListResolversResult, + CommonAwsError + >; describeIpamPrefixListResolverTargets( input: DescribeIpamPrefixListResolverTargetsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIpamPrefixListResolverTargetsResult, + CommonAwsError + >; describeIpamResourceDiscoveries( input: DescribeIpamResourceDiscoveriesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIpamResourceDiscoveriesResult, + CommonAwsError + >; describeIpamResourceDiscoveryAssociations( input: DescribeIpamResourceDiscoveryAssociationsRequest, ): Effect.Effect< @@ -1075,13 +1955,22 @@ export declare class EC2 extends AWSServiceClient { >; describeIpams( input: DescribeIpamsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIpamsResult, + CommonAwsError + >; describeIpamScopes( input: DescribeIpamScopesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIpamScopesResult, + CommonAwsError + >; describeIpv6Pools( input: DescribeIpv6PoolsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeIpv6PoolsResult, + CommonAwsError + >; describeKeyPairs( input: DescribeKeyPairsRequest, ): Effect.Effect< @@ -1090,13 +1979,22 @@ export declare class EC2 extends AWSServiceClient { >; describeLaunchTemplates( input: DescribeLaunchTemplatesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeLaunchTemplatesResult, + CommonAwsError + >; describeLaunchTemplateVersions( input: DescribeLaunchTemplateVersionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeLaunchTemplateVersionsResult, + CommonAwsError + >; describeLocalGatewayRouteTables( input: DescribeLocalGatewayRouteTablesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeLocalGatewayRouteTablesResult, + CommonAwsError + >; describeLocalGatewayRouteTableVirtualInterfaceGroupAssociations( input: DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest, ): Effect.Effect< @@ -1111,7 +2009,10 @@ export declare class EC2 extends AWSServiceClient { >; describeLocalGateways( input: DescribeLocalGatewaysRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeLocalGatewaysResult, + CommonAwsError + >; describeLocalGatewayVirtualInterfaceGroups( input: DescribeLocalGatewayVirtualInterfaceGroupsRequest, ): Effect.Effect< @@ -1120,22 +2021,40 @@ export declare class EC2 extends AWSServiceClient { >; describeLocalGatewayVirtualInterfaces( input: DescribeLocalGatewayVirtualInterfacesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeLocalGatewayVirtualInterfacesResult, + CommonAwsError + >; describeLockedSnapshots( input: DescribeLockedSnapshotsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeLockedSnapshotsResult, + CommonAwsError + >; describeMacHosts( input: DescribeMacHostsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeMacHostsResult, + CommonAwsError + >; describeMacModificationTasks( input: DescribeMacModificationTasksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeMacModificationTasksResult, + CommonAwsError + >; describeManagedPrefixLists( input: DescribeManagedPrefixListsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeManagedPrefixListsResult, + CommonAwsError + >; describeMovingAddresses( input: DescribeMovingAddressesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeMovingAddressesResult, + CommonAwsError + >; describeNatGateways( input: DescribeNatGatewaysRequest, ): Effect.Effect< @@ -1144,7 +2063,10 @@ export declare class EC2 extends AWSServiceClient { >; describeNetworkAcls( input: DescribeNetworkAclsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeNetworkAclsResult, + CommonAwsError + >; describeNetworkInsightsAccessScopeAnalyses( input: DescribeNetworkInsightsAccessScopeAnalysesRequest, ): Effect.Effect< @@ -1153,19 +2075,34 @@ export declare class EC2 extends AWSServiceClient { >; describeNetworkInsightsAccessScopes( input: DescribeNetworkInsightsAccessScopesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeNetworkInsightsAccessScopesResult, + CommonAwsError + >; describeNetworkInsightsAnalyses( input: DescribeNetworkInsightsAnalysesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeNetworkInsightsAnalysesResult, + CommonAwsError + >; describeNetworkInsightsPaths( input: DescribeNetworkInsightsPathsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeNetworkInsightsPathsResult, + CommonAwsError + >; describeNetworkInterfaceAttribute( input: DescribeNetworkInterfaceAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeNetworkInterfaceAttributeResult, + CommonAwsError + >; describeNetworkInterfacePermissions( input: DescribeNetworkInterfacePermissionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeNetworkInterfacePermissionsResult, + CommonAwsError + >; describeNetworkInterfaces( input: DescribeNetworkInterfacesRequest, ): Effect.Effect< @@ -1174,31 +2111,58 @@ export declare class EC2 extends AWSServiceClient { >; describeOutpostLags( input: DescribeOutpostLagsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeOutpostLagsResult, + CommonAwsError + >; describePlacementGroups( input: DescribePlacementGroupsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribePlacementGroupsResult, + CommonAwsError + >; describePrefixLists( input: DescribePrefixListsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribePrefixListsResult, + CommonAwsError + >; describePrincipalIdFormat( input: DescribePrincipalIdFormatRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribePrincipalIdFormatResult, + CommonAwsError + >; describePublicIpv4Pools( input: DescribePublicIpv4PoolsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribePublicIpv4PoolsResult, + CommonAwsError + >; describeRegions( input: DescribeRegionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeRegionsResult, + CommonAwsError + >; describeReplaceRootVolumeTasks( input: DescribeReplaceRootVolumeTasksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeReplaceRootVolumeTasksResult, + CommonAwsError + >; describeReservedInstances( input: DescribeReservedInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeReservedInstancesResult, + CommonAwsError + >; describeReservedInstancesListings( input: DescribeReservedInstancesListingsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeReservedInstancesListingsResult, + CommonAwsError + >; describeReservedInstancesModifications( input: DescribeReservedInstancesModificationsRequest, ): Effect.Effect< @@ -1207,31 +2171,58 @@ export declare class EC2 extends AWSServiceClient { >; describeReservedInstancesOfferings( input: DescribeReservedInstancesOfferingsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeReservedInstancesOfferingsResult, + CommonAwsError + >; describeRouteServerEndpoints( input: DescribeRouteServerEndpointsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeRouteServerEndpointsResult, + CommonAwsError + >; describeRouteServerPeers( input: DescribeRouteServerPeersRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeRouteServerPeersResult, + CommonAwsError + >; describeRouteServers( input: DescribeRouteServersRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeRouteServersResult, + CommonAwsError + >; describeRouteTables( input: DescribeRouteTablesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeRouteTablesResult, + CommonAwsError + >; describeScheduledInstanceAvailability( input: DescribeScheduledInstanceAvailabilityRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeScheduledInstanceAvailabilityResult, + CommonAwsError + >; describeScheduledInstances( input: DescribeScheduledInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeScheduledInstancesResult, + CommonAwsError + >; describeSecurityGroupReferences( input: DescribeSecurityGroupReferencesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSecurityGroupReferencesResult, + CommonAwsError + >; describeSecurityGroupRules( input: DescribeSecurityGroupRulesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSecurityGroupRulesResult, + CommonAwsError + >; describeSecurityGroups( input: DescribeSecurityGroupsRequest, ): Effect.Effect< @@ -1240,31 +2231,58 @@ export declare class EC2 extends AWSServiceClient { >; describeSecurityGroupVpcAssociations( input: DescribeSecurityGroupVpcAssociationsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSecurityGroupVpcAssociationsResult, + CommonAwsError + >; describeServiceLinkVirtualInterfaces( input: DescribeServiceLinkVirtualInterfacesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeServiceLinkVirtualInterfacesResult, + CommonAwsError + >; describeSnapshotAttribute( input: DescribeSnapshotAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSnapshotAttributeResult, + CommonAwsError + >; describeSnapshots( input: DescribeSnapshotsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSnapshotsResult, + CommonAwsError + >; describeSnapshotTierStatus( input: DescribeSnapshotTierStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSnapshotTierStatusResult, + CommonAwsError + >; describeSpotDatafeedSubscription( input: DescribeSpotDatafeedSubscriptionRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSpotDatafeedSubscriptionResult, + CommonAwsError + >; describeSpotFleetInstances( input: DescribeSpotFleetInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSpotFleetInstancesResponse, + CommonAwsError + >; describeSpotFleetRequestHistory( input: DescribeSpotFleetRequestHistoryRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSpotFleetRequestHistoryResponse, + CommonAwsError + >; describeSpotFleetRequests( input: DescribeSpotFleetRequestsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSpotFleetRequestsResponse, + CommonAwsError + >; describeSpotInstanceRequests( input: DescribeSpotInstanceRequestsRequest, ): Effect.Effect< @@ -1273,40 +2291,76 @@ export declare class EC2 extends AWSServiceClient { >; describeSpotPriceHistory( input: DescribeSpotPriceHistoryRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSpotPriceHistoryResult, + CommonAwsError + >; describeStaleSecurityGroups( input: DescribeStaleSecurityGroupsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeStaleSecurityGroupsResult, + CommonAwsError + >; describeStoreImageTasks( input: DescribeStoreImageTasksRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeStoreImageTasksResult, + CommonAwsError + >; describeSubnets( input: DescribeSubnetsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSubnetsResult, + CommonAwsError + >; describeTags( input: DescribeTagsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTagsResult, + CommonAwsError + >; describeTrafficMirrorFilterRules( input: DescribeTrafficMirrorFilterRulesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTrafficMirrorFilterRulesResult, + CommonAwsError + >; describeTrafficMirrorFilters( input: DescribeTrafficMirrorFiltersRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTrafficMirrorFiltersResult, + CommonAwsError + >; describeTrafficMirrorSessions( input: DescribeTrafficMirrorSessionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTrafficMirrorSessionsResult, + CommonAwsError + >; describeTrafficMirrorTargets( input: DescribeTrafficMirrorTargetsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTrafficMirrorTargetsResult, + CommonAwsError + >; describeTransitGatewayAttachments( input: DescribeTransitGatewayAttachmentsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTransitGatewayAttachmentsResult, + CommonAwsError + >; describeTransitGatewayConnectPeers( input: DescribeTransitGatewayConnectPeersRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTransitGatewayConnectPeersResult, + CommonAwsError + >; describeTransitGatewayConnects( input: DescribeTransitGatewayConnectsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTransitGatewayConnectsResult, + CommonAwsError + >; describeTransitGatewayMulticastDomains( input: DescribeTransitGatewayMulticastDomainsRequest, ): Effect.Effect< @@ -1321,7 +2375,10 @@ export declare class EC2 extends AWSServiceClient { >; describeTransitGatewayPolicyTables( input: DescribeTransitGatewayPolicyTablesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTransitGatewayPolicyTablesResult, + CommonAwsError + >; describeTransitGatewayRouteTableAnnouncements( input: DescribeTransitGatewayRouteTableAnnouncementsRequest, ): Effect.Effect< @@ -1330,22 +2387,40 @@ export declare class EC2 extends AWSServiceClient { >; describeTransitGatewayRouteTables( input: DescribeTransitGatewayRouteTablesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTransitGatewayRouteTablesResult, + CommonAwsError + >; describeTransitGateways( input: DescribeTransitGatewaysRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTransitGatewaysResult, + CommonAwsError + >; describeTransitGatewayVpcAttachments( input: DescribeTransitGatewayVpcAttachmentsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTransitGatewayVpcAttachmentsResult, + CommonAwsError + >; describeTrunkInterfaceAssociations( input: DescribeTrunkInterfaceAssociationsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTrunkInterfaceAssociationsResult, + CommonAwsError + >; describeVerifiedAccessEndpoints( input: DescribeVerifiedAccessEndpointsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVerifiedAccessEndpointsResult, + CommonAwsError + >; describeVerifiedAccessGroups( input: DescribeVerifiedAccessGroupsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVerifiedAccessGroupsResult, + CommonAwsError + >; describeVerifiedAccessInstanceLoggingConfigurations( input: DescribeVerifiedAccessInstanceLoggingConfigurationsRequest, ): Effect.Effect< @@ -1354,13 +2429,22 @@ export declare class EC2 extends AWSServiceClient { >; describeVerifiedAccessInstances( input: DescribeVerifiedAccessInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVerifiedAccessInstancesResult, + CommonAwsError + >; describeVerifiedAccessTrustProviders( input: DescribeVerifiedAccessTrustProvidersRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVerifiedAccessTrustProvidersResult, + CommonAwsError + >; describeVolumeAttribute( input: DescribeVolumeAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVolumeAttributeResult, + CommonAwsError + >; describeVolumes( input: DescribeVolumesRequest, ): Effect.Effect< @@ -1369,13 +2453,22 @@ export declare class EC2 extends AWSServiceClient { >; describeVolumesModifications( input: DescribeVolumesModificationsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVolumesModificationsResult, + CommonAwsError + >; describeVolumeStatus( input: DescribeVolumeStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVolumeStatusResult, + CommonAwsError + >; describeVpcAttribute( input: DescribeVpcAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcAttributeResult, + CommonAwsError + >; describeVpcBlockPublicAccessExclusions( input: DescribeVpcBlockPublicAccessExclusionsRequest, ): Effect.Effect< @@ -1384,16 +2477,28 @@ export declare class EC2 extends AWSServiceClient { >; describeVpcBlockPublicAccessOptions( input: DescribeVpcBlockPublicAccessOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcBlockPublicAccessOptionsResult, + CommonAwsError + >; describeVpcClassicLink( input: DescribeVpcClassicLinkRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcClassicLinkResult, + CommonAwsError + >; describeVpcClassicLinkDnsSupport( input: DescribeVpcClassicLinkDnsSupportRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcClassicLinkDnsSupportResult, + CommonAwsError + >; describeVpcEndpointAssociations( input: DescribeVpcEndpointAssociationsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcEndpointAssociationsResult, + CommonAwsError + >; describeVpcEndpointConnectionNotifications( input: DescribeVpcEndpointConnectionNotificationsRequest, ): Effect.Effect< @@ -1402,10 +2507,16 @@ export declare class EC2 extends AWSServiceClient { >; describeVpcEndpointConnections( input: DescribeVpcEndpointConnectionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcEndpointConnectionsResult, + CommonAwsError + >; describeVpcEndpoints( input: DescribeVpcEndpointsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcEndpointsResult, + CommonAwsError + >; describeVpcEndpointServiceConfigurations( input: DescribeVpcEndpointServiceConfigurationsRequest, ): Effect.Effect< @@ -1414,10 +2525,16 @@ export declare class EC2 extends AWSServiceClient { >; describeVpcEndpointServicePermissions( input: DescribeVpcEndpointServicePermissionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcEndpointServicePermissionsResult, + CommonAwsError + >; describeVpcEndpointServices( input: DescribeVpcEndpointServicesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcEndpointServicesResult, + CommonAwsError + >; describeVpcPeeringConnections( input: DescribeVpcPeeringConnectionsRequest, ): Effect.Effect< @@ -1426,37 +2543,70 @@ export declare class EC2 extends AWSServiceClient { >; describeVpcs( input: DescribeVpcsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpcsResult, + InvalidVpcIDNotFound | CommonAwsError + >; describeVpnConnections( input: DescribeVpnConnectionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpnConnectionsResult, + CommonAwsError + >; describeVpnGateways( input: DescribeVpnGatewaysRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVpnGatewaysResult, + CommonAwsError + >; detachClassicLinkVpc( input: DetachClassicLinkVpcRequest, - ): Effect.Effect; + ): Effect.Effect< + DetachClassicLinkVpcResult, + CommonAwsError + >; detachInternetGateway( input: DetachInternetGatewayRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; detachNetworkInterface( input: DetachNetworkInterfaceRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; detachVerifiedAccessTrustProvider( input: DetachVerifiedAccessTrustProviderRequest, - ): Effect.Effect; + ): Effect.Effect< + DetachVerifiedAccessTrustProviderResult, + CommonAwsError + >; detachVolume( input: DetachVolumeRequest, - ): Effect.Effect; + ): Effect.Effect< + VolumeAttachment, + CommonAwsError + >; detachVpnGateway( input: DetachVpnGatewayRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; disableAddressTransfer( input: DisableAddressTransferRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableAddressTransferResult, + CommonAwsError + >; disableAllowedImagesSettings( input: DisableAllowedImagesSettingsRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableAllowedImagesSettingsResult, + CommonAwsError + >; disableAwsNetworkPerformanceMetricSubscription( input: DisableAwsNetworkPerformanceMetricSubscriptionRequest, ): Effect.Effect< @@ -1465,40 +2615,76 @@ export declare class EC2 extends AWSServiceClient { >; disableCapacityManager( input: DisableCapacityManagerRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableCapacityManagerResult, + CommonAwsError + >; disableEbsEncryptionByDefault( input: DisableEbsEncryptionByDefaultRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableEbsEncryptionByDefaultResult, + CommonAwsError + >; disableFastLaunch( input: DisableFastLaunchRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableFastLaunchResult, + CommonAwsError + >; disableFastSnapshotRestores( input: DisableFastSnapshotRestoresRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableFastSnapshotRestoresResult, + CommonAwsError + >; disableImage( input: DisableImageRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableImageResult, + CommonAwsError + >; disableImageBlockPublicAccess( input: DisableImageBlockPublicAccessRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableImageBlockPublicAccessResult, + CommonAwsError + >; disableImageDeprecation( input: DisableImageDeprecationRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableImageDeprecationResult, + CommonAwsError + >; disableImageDeregistrationProtection( input: DisableImageDeregistrationProtectionRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableImageDeregistrationProtectionResult, + CommonAwsError + >; disableIpamOrganizationAdminAccount( input: DisableIpamOrganizationAdminAccountRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableIpamOrganizationAdminAccountResult, + CommonAwsError + >; disableRouteServerPropagation( input: DisableRouteServerPropagationRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableRouteServerPropagationResult, + CommonAwsError + >; disableSerialConsoleAccess( input: DisableSerialConsoleAccessRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableSerialConsoleAccessResult, + CommonAwsError + >; disableSnapshotBlockPublicAccess( input: DisableSnapshotBlockPublicAccessRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableSnapshotBlockPublicAccessResult, + CommonAwsError + >; disableTransitGatewayRouteTablePropagation( input: DisableTransitGatewayRouteTablePropagationRequest, ): Effect.Effect< @@ -1507,16 +2693,28 @@ export declare class EC2 extends AWSServiceClient { >; disableVgwRoutePropagation( input: DisableVgwRoutePropagationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; disableVpcClassicLink( input: DisableVpcClassicLinkRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableVpcClassicLinkResult, + CommonAwsError + >; disableVpcClassicLinkDnsSupport( input: DisableVpcClassicLinkDnsSupportRequest, - ): Effect.Effect; + ): Effect.Effect< + DisableVpcClassicLinkDnsSupportResult, + CommonAwsError + >; disassociateAddress( input: DisassociateAddressRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; disassociateCapacityReservationBillingOwner( input: DisassociateCapacityReservationBillingOwnerRequest, ): Effect.Effect< @@ -1525,37 +2723,70 @@ export declare class EC2 extends AWSServiceClient { >; disassociateClientVpnTargetNetwork( input: DisassociateClientVpnTargetNetworkRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateClientVpnTargetNetworkResult, + CommonAwsError + >; disassociateEnclaveCertificateIamRole( input: DisassociateEnclaveCertificateIamRoleRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateEnclaveCertificateIamRoleResult, + CommonAwsError + >; disassociateIamInstanceProfile( input: DisassociateIamInstanceProfileRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateIamInstanceProfileResult, + CommonAwsError + >; disassociateInstanceEventWindow( input: DisassociateInstanceEventWindowRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateInstanceEventWindowResult, + CommonAwsError + >; disassociateIpamByoasn( input: DisassociateIpamByoasnRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateIpamByoasnResult, + CommonAwsError + >; disassociateIpamResourceDiscovery( input: DisassociateIpamResourceDiscoveryRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateIpamResourceDiscoveryResult, + CommonAwsError + >; disassociateNatGatewayAddress( input: DisassociateNatGatewayAddressRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateNatGatewayAddressResult, + CommonAwsError + >; disassociateRouteServer( input: DisassociateRouteServerRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateRouteServerResult, + CommonAwsError + >; disassociateRouteTable( input: DisassociateRouteTableRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; disassociateSecurityGroupVpc( input: DisassociateSecurityGroupVpcRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateSecurityGroupVpcResult, + CommonAwsError + >; disassociateSubnetCidrBlock( input: DisassociateSubnetCidrBlockRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateSubnetCidrBlockResult, + CommonAwsError + >; disassociateTransitGatewayMulticastDomain( input: DisassociateTransitGatewayMulticastDomainRequest, ): Effect.Effect< @@ -1564,22 +2795,40 @@ export declare class EC2 extends AWSServiceClient { >; disassociateTransitGatewayPolicyTable( input: DisassociateTransitGatewayPolicyTableRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateTransitGatewayPolicyTableResult, + CommonAwsError + >; disassociateTransitGatewayRouteTable( input: DisassociateTransitGatewayRouteTableRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateTransitGatewayRouteTableResult, + CommonAwsError + >; disassociateTrunkInterface( input: DisassociateTrunkInterfaceRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateTrunkInterfaceResult, + CommonAwsError + >; disassociateVpcCidrBlock( input: DisassociateVpcCidrBlockRequest, - ): Effect.Effect; + ): Effect.Effect< + DisassociateVpcCidrBlockResult, + CommonAwsError + >; enableAddressTransfer( input: EnableAddressTransferRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableAddressTransferResult, + CommonAwsError + >; enableAllowedImagesSettings( input: EnableAllowedImagesSettingsRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableAllowedImagesSettingsResult, + CommonAwsError + >; enableAwsNetworkPerformanceMetricSubscription( input: EnableAwsNetworkPerformanceMetricSubscriptionRequest, ): Effect.Effect< @@ -1588,31 +2837,58 @@ export declare class EC2 extends AWSServiceClient { >; enableCapacityManager( input: EnableCapacityManagerRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableCapacityManagerResult, + CommonAwsError + >; enableEbsEncryptionByDefault( input: EnableEbsEncryptionByDefaultRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableEbsEncryptionByDefaultResult, + CommonAwsError + >; enableFastLaunch( input: EnableFastLaunchRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableFastLaunchResult, + CommonAwsError + >; enableFastSnapshotRestores( input: EnableFastSnapshotRestoresRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableFastSnapshotRestoresResult, + CommonAwsError + >; enableImage( input: EnableImageRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableImageResult, + CommonAwsError + >; enableImageBlockPublicAccess( input: EnableImageBlockPublicAccessRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableImageBlockPublicAccessResult, + CommonAwsError + >; enableImageDeprecation( input: EnableImageDeprecationRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableImageDeprecationResult, + CommonAwsError + >; enableImageDeregistrationProtection( input: EnableImageDeregistrationProtectionRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableImageDeregistrationProtectionResult, + CommonAwsError + >; enableIpamOrganizationAdminAccount( input: EnableIpamOrganizationAdminAccountRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableIpamOrganizationAdminAccountResult, + CommonAwsError + >; enableReachabilityAnalyzerOrganizationSharing( input: EnableReachabilityAnalyzerOrganizationSharingRequest, ): Effect.Effect< @@ -1621,13 +2897,22 @@ export declare class EC2 extends AWSServiceClient { >; enableRouteServerPropagation( input: EnableRouteServerPropagationRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableRouteServerPropagationResult, + CommonAwsError + >; enableSerialConsoleAccess( input: EnableSerialConsoleAccessRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableSerialConsoleAccessResult, + CommonAwsError + >; enableSnapshotBlockPublicAccess( input: EnableSnapshotBlockPublicAccessRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableSnapshotBlockPublicAccessResult, + CommonAwsError + >; enableTransitGatewayRouteTablePropagation( input: EnableTransitGatewayRouteTablePropagationRequest, ): Effect.Effect< @@ -1636,16 +2921,28 @@ export declare class EC2 extends AWSServiceClient { >; enableVgwRoutePropagation( input: EnableVgwRoutePropagationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; enableVolumeIO( input: EnableVolumeIORequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; enableVpcClassicLink( input: EnableVpcClassicLinkRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableVpcClassicLinkResult, + CommonAwsError + >; enableVpcClassicLinkDnsSupport( input: EnableVpcClassicLinkDnsSupportRequest, - ): Effect.Effect; + ): Effect.Effect< + EnableVpcClassicLinkDnsSupportResult, + CommonAwsError + >; exportClientVpnClientCertificateRevocationList( input: ExportClientVpnClientCertificateRevocationListRequest, ): Effect.Effect< @@ -1654,13 +2951,22 @@ export declare class EC2 extends AWSServiceClient { >; exportClientVpnClientConfiguration( input: ExportClientVpnClientConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + ExportClientVpnClientConfigurationResult, + CommonAwsError + >; exportImage( input: ExportImageRequest, - ): Effect.Effect; + ): Effect.Effect< + ExportImageResult, + CommonAwsError + >; exportTransitGatewayRoutes( input: ExportTransitGatewayRoutesRequest, - ): Effect.Effect; + ): Effect.Effect< + ExportTransitGatewayRoutesResult, + CommonAwsError + >; exportVerifiedAccessInstanceClientConfiguration( input: ExportVerifiedAccessInstanceClientConfigurationRequest, ): Effect.Effect< @@ -1669,10 +2975,16 @@ export declare class EC2 extends AWSServiceClient { >; getActiveVpnTunnelStatus( input: GetActiveVpnTunnelStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + GetActiveVpnTunnelStatusResult, + CommonAwsError + >; getAllowedImagesSettings( input: GetAllowedImagesSettingsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAllowedImagesSettingsResult, + CommonAwsError + >; getAssociatedEnclaveCertificateIamRoles( input: GetAssociatedEnclaveCertificateIamRolesRequest, ): Effect.Effect< @@ -1681,61 +2993,118 @@ export declare class EC2 extends AWSServiceClient { >; getAssociatedIpv6PoolCidrs( input: GetAssociatedIpv6PoolCidrsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAssociatedIpv6PoolCidrsResult, + CommonAwsError + >; getAwsNetworkPerformanceData( input: GetAwsNetworkPerformanceDataRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAwsNetworkPerformanceDataResult, + CommonAwsError + >; getCapacityManagerAttributes( input: GetCapacityManagerAttributesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCapacityManagerAttributesResult, + CommonAwsError + >; getCapacityManagerMetricData( input: GetCapacityManagerMetricDataRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCapacityManagerMetricDataResult, + CommonAwsError + >; getCapacityManagerMetricDimensions( input: GetCapacityManagerMetricDimensionsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCapacityManagerMetricDimensionsResult, + CommonAwsError + >; getCapacityReservationUsage( input: GetCapacityReservationUsageRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCapacityReservationUsageResult, + CommonAwsError + >; getCoipPoolUsage( input: GetCoipPoolUsageRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCoipPoolUsageResult, + CommonAwsError + >; getConsoleOutput( input: GetConsoleOutputRequest, - ): Effect.Effect; + ): Effect.Effect< + GetConsoleOutputResult, + CommonAwsError + >; getConsoleScreenshot( input: GetConsoleScreenshotRequest, - ): Effect.Effect; + ): Effect.Effect< + GetConsoleScreenshotResult, + CommonAwsError + >; getDeclarativePoliciesReportSummary( input: GetDeclarativePoliciesReportSummaryRequest, - ): Effect.Effect; + ): Effect.Effect< + GetDeclarativePoliciesReportSummaryResult, + CommonAwsError + >; getDefaultCreditSpecification( input: GetDefaultCreditSpecificationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetDefaultCreditSpecificationResult, + CommonAwsError + >; getEbsDefaultKmsKeyId( input: GetEbsDefaultKmsKeyIdRequest, - ): Effect.Effect; + ): Effect.Effect< + GetEbsDefaultKmsKeyIdResult, + CommonAwsError + >; getEbsEncryptionByDefault( input: GetEbsEncryptionByDefaultRequest, - ): Effect.Effect; + ): Effect.Effect< + GetEbsEncryptionByDefaultResult, + CommonAwsError + >; getFlowLogsIntegrationTemplate( input: GetFlowLogsIntegrationTemplateRequest, - ): Effect.Effect; + ): Effect.Effect< + GetFlowLogsIntegrationTemplateResult, + CommonAwsError + >; getGroupsForCapacityReservation( input: GetGroupsForCapacityReservationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetGroupsForCapacityReservationResult, + CommonAwsError + >; getHostReservationPurchasePreview( input: GetHostReservationPurchasePreviewRequest, - ): Effect.Effect; + ): Effect.Effect< + GetHostReservationPurchasePreviewResult, + CommonAwsError + >; getImageBlockPublicAccessState( input: GetImageBlockPublicAccessStateRequest, - ): Effect.Effect; + ): Effect.Effect< + GetImageBlockPublicAccessStateResult, + CommonAwsError + >; getInstanceMetadataDefaults( input: GetInstanceMetadataDefaultsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetInstanceMetadataDefaultsResult, + CommonAwsError + >; getInstanceTpmEkPub( input: GetInstanceTpmEkPubRequest, - ): Effect.Effect; + ): Effect.Effect< + GetInstanceTpmEkPubResult, + CommonAwsError + >; getInstanceTypesFromInstanceRequirements( input: GetInstanceTypesFromInstanceRequirementsRequest, ): Effect.Effect< @@ -1744,28 +3113,52 @@ export declare class EC2 extends AWSServiceClient { >; getInstanceUefiData( input: GetInstanceUefiDataRequest, - ): Effect.Effect; + ): Effect.Effect< + GetInstanceUefiDataResult, + CommonAwsError + >; getIpamAddressHistory( input: GetIpamAddressHistoryRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIpamAddressHistoryResult, + CommonAwsError + >; getIpamDiscoveredAccounts( input: GetIpamDiscoveredAccountsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIpamDiscoveredAccountsResult, + CommonAwsError + >; getIpamDiscoveredPublicAddresses( input: GetIpamDiscoveredPublicAddressesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIpamDiscoveredPublicAddressesResult, + CommonAwsError + >; getIpamDiscoveredResourceCidrs( input: GetIpamDiscoveredResourceCidrsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIpamDiscoveredResourceCidrsResult, + CommonAwsError + >; getIpamPoolAllocations( input: GetIpamPoolAllocationsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIpamPoolAllocationsResult, + CommonAwsError + >; getIpamPoolCidrs( input: GetIpamPoolCidrsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIpamPoolCidrsResult, + CommonAwsError + >; getIpamPrefixListResolverRules( input: GetIpamPrefixListResolverRulesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIpamPrefixListResolverRulesResult, + CommonAwsError + >; getIpamPrefixListResolverVersionEntries( input: GetIpamPrefixListResolverVersionEntriesRequest, ): Effect.Effect< @@ -1774,19 +3167,34 @@ export declare class EC2 extends AWSServiceClient { >; getIpamPrefixListResolverVersions( input: GetIpamPrefixListResolverVersionsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIpamPrefixListResolverVersionsResult, + CommonAwsError + >; getIpamResourceCidrs( input: GetIpamResourceCidrsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIpamResourceCidrsResult, + CommonAwsError + >; getLaunchTemplateData( input: GetLaunchTemplateDataRequest, - ): Effect.Effect; + ): Effect.Effect< + GetLaunchTemplateDataResult, + CommonAwsError + >; getManagedPrefixListAssociations( input: GetManagedPrefixListAssociationsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetManagedPrefixListAssociationsResult, + CommonAwsError + >; getManagedPrefixListEntries( input: GetManagedPrefixListEntriesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetManagedPrefixListEntriesResult, + CommonAwsError + >; getNetworkInsightsAccessScopeAnalysisFindings( input: GetNetworkInsightsAccessScopeAnalysisFindingsRequest, ): Effect.Effect< @@ -1795,37 +3203,70 @@ export declare class EC2 extends AWSServiceClient { >; getNetworkInsightsAccessScopeContent( input: GetNetworkInsightsAccessScopeContentRequest, - ): Effect.Effect; + ): Effect.Effect< + GetNetworkInsightsAccessScopeContentResult, + CommonAwsError + >; getPasswordData( input: GetPasswordDataRequest, - ): Effect.Effect; + ): Effect.Effect< + GetPasswordDataResult, + CommonAwsError + >; getReservedInstancesExchangeQuote( input: GetReservedInstancesExchangeQuoteRequest, - ): Effect.Effect; + ): Effect.Effect< + GetReservedInstancesExchangeQuoteResult, + CommonAwsError + >; getRouteServerAssociations( input: GetRouteServerAssociationsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetRouteServerAssociationsResult, + CommonAwsError + >; getRouteServerPropagations( input: GetRouteServerPropagationsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetRouteServerPropagationsResult, + CommonAwsError + >; getRouteServerRoutingDatabase( input: GetRouteServerRoutingDatabaseRequest, - ): Effect.Effect; + ): Effect.Effect< + GetRouteServerRoutingDatabaseResult, + CommonAwsError + >; getSecurityGroupsForVpc( input: GetSecurityGroupsForVpcRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSecurityGroupsForVpcResult, + CommonAwsError + >; getSerialConsoleAccessStatus( input: GetSerialConsoleAccessStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSerialConsoleAccessStatusResult, + CommonAwsError + >; getSnapshotBlockPublicAccessState( input: GetSnapshotBlockPublicAccessStateRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSnapshotBlockPublicAccessStateResult, + CommonAwsError + >; getSpotPlacementScores( input: GetSpotPlacementScoresRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSpotPlacementScoresResult, + CommonAwsError + >; getSubnetCidrReservations( input: GetSubnetCidrReservationsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSubnetCidrReservationsResult, + CommonAwsError + >; getTransitGatewayAttachmentPropagations( input: GetTransitGatewayAttachmentPropagationsRequest, ): Effect.Effect< @@ -1846,10 +3287,16 @@ export declare class EC2 extends AWSServiceClient { >; getTransitGatewayPolicyTableEntries( input: GetTransitGatewayPolicyTableEntriesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetTransitGatewayPolicyTableEntriesResult, + CommonAwsError + >; getTransitGatewayPrefixListReferences( input: GetTransitGatewayPrefixListReferencesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetTransitGatewayPrefixListReferencesResult, + CommonAwsError + >; getTransitGatewayRouteTableAssociations( input: GetTransitGatewayRouteTableAssociationsRequest, ): Effect.Effect< @@ -1864,13 +3311,22 @@ export declare class EC2 extends AWSServiceClient { >; getVerifiedAccessEndpointPolicy( input: GetVerifiedAccessEndpointPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + GetVerifiedAccessEndpointPolicyResult, + CommonAwsError + >; getVerifiedAccessEndpointTargets( input: GetVerifiedAccessEndpointTargetsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetVerifiedAccessEndpointTargetsResult, + CommonAwsError + >; getVerifiedAccessGroupPolicy( input: GetVerifiedAccessGroupPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + GetVerifiedAccessGroupPolicyResult, + CommonAwsError + >; getVpnConnectionDeviceSampleConfiguration( input: GetVpnConnectionDeviceSampleConfigurationRequest, ): Effect.Effect< @@ -1879,10 +3335,16 @@ export declare class EC2 extends AWSServiceClient { >; getVpnConnectionDeviceTypes( input: GetVpnConnectionDeviceTypesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetVpnConnectionDeviceTypesResult, + CommonAwsError + >; getVpnTunnelReplacementStatus( input: GetVpnTunnelReplacementStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + GetVpnTunnelReplacementStatusResult, + CommonAwsError + >; importClientVpnClientCertificateRevocationList( input: ImportClientVpnClientCertificateRevocationListRequest, ): Effect.Effect< @@ -1891,70 +3353,136 @@ export declare class EC2 extends AWSServiceClient { >; importImage( input: ImportImageRequest, - ): Effect.Effect; + ): Effect.Effect< + ImportImageResult, + CommonAwsError + >; importInstance( input: ImportInstanceRequest, - ): Effect.Effect; + ): Effect.Effect< + ImportInstanceResult, + CommonAwsError + >; importKeyPair( input: ImportKeyPairRequest, - ): Effect.Effect; + ): Effect.Effect< + ImportKeyPairResult, + CommonAwsError + >; importSnapshot( input: ImportSnapshotRequest, - ): Effect.Effect; + ): Effect.Effect< + ImportSnapshotResult, + CommonAwsError + >; importVolume( input: ImportVolumeRequest, - ): Effect.Effect; + ): Effect.Effect< + ImportVolumeResult, + CommonAwsError + >; listImagesInRecycleBin( input: ListImagesInRecycleBinRequest, - ): Effect.Effect; + ): Effect.Effect< + ListImagesInRecycleBinResult, + CommonAwsError + >; listSnapshotsInRecycleBin( input: ListSnapshotsInRecycleBinRequest, - ): Effect.Effect; + ): Effect.Effect< + ListSnapshotsInRecycleBinResult, + CommonAwsError + >; lockSnapshot( input: LockSnapshotRequest, - ): Effect.Effect; + ): Effect.Effect< + LockSnapshotResult, + CommonAwsError + >; modifyAddressAttribute( input: ModifyAddressAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyAddressAttributeResult, + CommonAwsError + >; modifyAvailabilityZoneGroup( input: ModifyAvailabilityZoneGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyAvailabilityZoneGroupResult, + CommonAwsError + >; modifyCapacityReservation( input: ModifyCapacityReservationRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyCapacityReservationResult, + CommonAwsError + >; modifyCapacityReservationFleet( input: ModifyCapacityReservationFleetRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyCapacityReservationFleetResult, + CommonAwsError + >; modifyClientVpnEndpoint( input: ModifyClientVpnEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyClientVpnEndpointResult, + CommonAwsError + >; modifyDefaultCreditSpecification( input: ModifyDefaultCreditSpecificationRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyDefaultCreditSpecificationResult, + CommonAwsError + >; modifyEbsDefaultKmsKeyId( input: ModifyEbsDefaultKmsKeyIdRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyEbsDefaultKmsKeyIdResult, + CommonAwsError + >; modifyFleet( input: ModifyFleetRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyFleetResult, + CommonAwsError + >; modifyFpgaImageAttribute( input: ModifyFpgaImageAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyFpgaImageAttributeResult, + CommonAwsError + >; modifyHosts( input: ModifyHostsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyHostsResult, + CommonAwsError + >; modifyIdentityIdFormat( input: ModifyIdentityIdFormatRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; modifyIdFormat( input: ModifyIdFormatRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; modifyImageAttribute( input: ModifyImageAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; modifyInstanceAttribute( input: ModifyInstanceAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; modifyInstanceCapacityReservationAttributes( input: ModifyInstanceCapacityReservationAttributesRequest, ): Effect.Effect< @@ -1963,94 +3491,184 @@ export declare class EC2 extends AWSServiceClient { >; modifyInstanceConnectEndpoint( input: ModifyInstanceConnectEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstanceConnectEndpointResult, + CommonAwsError + >; modifyInstanceCpuOptions( input: ModifyInstanceCpuOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstanceCpuOptionsResult, + CommonAwsError + >; modifyInstanceCreditSpecification( input: ModifyInstanceCreditSpecificationRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstanceCreditSpecificationResult, + CommonAwsError + >; modifyInstanceEventStartTime( input: ModifyInstanceEventStartTimeRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstanceEventStartTimeResult, + CommonAwsError + >; modifyInstanceEventWindow( input: ModifyInstanceEventWindowRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstanceEventWindowResult, + CommonAwsError + >; modifyInstanceMaintenanceOptions( input: ModifyInstanceMaintenanceOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstanceMaintenanceOptionsResult, + CommonAwsError + >; modifyInstanceMetadataDefaults( input: ModifyInstanceMetadataDefaultsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstanceMetadataDefaultsResult, + CommonAwsError + >; modifyInstanceMetadataOptions( input: ModifyInstanceMetadataOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstanceMetadataOptionsResult, + CommonAwsError + >; modifyInstanceNetworkPerformanceOptions( input: ModifyInstanceNetworkPerformanceRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstanceNetworkPerformanceResult, + CommonAwsError + >; modifyInstancePlacement( input: ModifyInstancePlacementRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyInstancePlacementResult, + CommonAwsError + >; modifyIpam( input: ModifyIpamRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyIpamResult, + CommonAwsError + >; modifyIpamPool( input: ModifyIpamPoolRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyIpamPoolResult, + CommonAwsError + >; modifyIpamPrefixListResolver( input: ModifyIpamPrefixListResolverRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyIpamPrefixListResolverResult, + CommonAwsError + >; modifyIpamPrefixListResolverTarget( input: ModifyIpamPrefixListResolverTargetRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyIpamPrefixListResolverTargetResult, + CommonAwsError + >; modifyIpamResourceCidr( input: ModifyIpamResourceCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyIpamResourceCidrResult, + CommonAwsError + >; modifyIpamResourceDiscovery( input: ModifyIpamResourceDiscoveryRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyIpamResourceDiscoveryResult, + CommonAwsError + >; modifyIpamScope( input: ModifyIpamScopeRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyIpamScopeResult, + CommonAwsError + >; modifyLaunchTemplate( input: ModifyLaunchTemplateRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyLaunchTemplateResult, + CommonAwsError + >; modifyLocalGatewayRoute( input: ModifyLocalGatewayRouteRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyLocalGatewayRouteResult, + CommonAwsError + >; modifyManagedPrefixList( input: ModifyManagedPrefixListRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyManagedPrefixListResult, + CommonAwsError + >; modifyNetworkInterfaceAttribute( input: ModifyNetworkInterfaceAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; modifyPrivateDnsNameOptions( input: ModifyPrivateDnsNameOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyPrivateDnsNameOptionsResult, + CommonAwsError + >; modifyPublicIpDnsNameOptions( input: ModifyPublicIpDnsNameOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyPublicIpDnsNameOptionsResult, + CommonAwsError + >; modifyReservedInstances( input: ModifyReservedInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyReservedInstancesResult, + CommonAwsError + >; modifyRouteServer( input: ModifyRouteServerRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyRouteServerResult, + CommonAwsError + >; modifySecurityGroupRules( input: ModifySecurityGroupRulesRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifySecurityGroupRulesResult, + CommonAwsError + >; modifySnapshotAttribute( input: ModifySnapshotAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; modifySnapshotTier( input: ModifySnapshotTierRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifySnapshotTierResult, + CommonAwsError + >; modifySpotFleetRequest( input: ModifySpotFleetRequestRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifySpotFleetRequestResponse, + CommonAwsError + >; modifySubnetAttribute( input: ModifySubnetAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; modifyTrafficMirrorFilterNetworkServices( input: ModifyTrafficMirrorFilterNetworkServicesRequest, ): Effect.Effect< @@ -2059,13 +3677,22 @@ export declare class EC2 extends AWSServiceClient { >; modifyTrafficMirrorFilterRule( input: ModifyTrafficMirrorFilterRuleRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyTrafficMirrorFilterRuleResult, + CommonAwsError + >; modifyTrafficMirrorSession( input: ModifyTrafficMirrorSessionRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyTrafficMirrorSessionResult, + CommonAwsError + >; modifyTransitGateway( input: ModifyTransitGatewayRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyTransitGatewayResult, + CommonAwsError + >; modifyTransitGatewayPrefixListReference( input: ModifyTransitGatewayPrefixListReferenceRequest, ): Effect.Effect< @@ -2074,22 +3701,40 @@ export declare class EC2 extends AWSServiceClient { >; modifyTransitGatewayVpcAttachment( input: ModifyTransitGatewayVpcAttachmentRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyTransitGatewayVpcAttachmentResult, + CommonAwsError + >; modifyVerifiedAccessEndpoint( input: ModifyVerifiedAccessEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVerifiedAccessEndpointResult, + CommonAwsError + >; modifyVerifiedAccessEndpointPolicy( input: ModifyVerifiedAccessEndpointPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVerifiedAccessEndpointPolicyResult, + CommonAwsError + >; modifyVerifiedAccessGroup( input: ModifyVerifiedAccessGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVerifiedAccessGroupResult, + CommonAwsError + >; modifyVerifiedAccessGroupPolicy( input: ModifyVerifiedAccessGroupPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVerifiedAccessGroupPolicyResult, + CommonAwsError + >; modifyVerifiedAccessInstance( input: ModifyVerifiedAccessInstanceRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVerifiedAccessInstanceResult, + CommonAwsError + >; modifyVerifiedAccessInstanceLoggingConfiguration( input: ModifyVerifiedAccessInstanceLoggingConfigurationRequest, ): Effect.Effect< @@ -2098,25 +3743,46 @@ export declare class EC2 extends AWSServiceClient { >; modifyVerifiedAccessTrustProvider( input: ModifyVerifiedAccessTrustProviderRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVerifiedAccessTrustProviderResult, + CommonAwsError + >; modifyVolume( input: ModifyVolumeRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVolumeResult, + CommonAwsError + >; modifyVolumeAttribute( input: ModifyVolumeAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; modifyVpcAttribute( input: ModifyVpcAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; modifyVpcBlockPublicAccessExclusion( input: ModifyVpcBlockPublicAccessExclusionRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpcBlockPublicAccessExclusionResult, + CommonAwsError + >; modifyVpcBlockPublicAccessOptions( input: ModifyVpcBlockPublicAccessOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpcBlockPublicAccessOptionsResult, + CommonAwsError + >; modifyVpcEndpoint( input: ModifyVpcEndpointRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpcEndpointResult, + CommonAwsError + >; modifyVpcEndpointConnectionNotification( input: ModifyVpcEndpointConnectionNotificationRequest, ): Effect.Effect< @@ -2125,7 +3791,10 @@ export declare class EC2 extends AWSServiceClient { >; modifyVpcEndpointServiceConfiguration( input: ModifyVpcEndpointServiceConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpcEndpointServiceConfigurationResult, + CommonAwsError + >; modifyVpcEndpointServicePayerResponsibility( input: ModifyVpcEndpointServicePayerResponsibilityRequest, ): Effect.Effect< @@ -2134,70 +3803,136 @@ export declare class EC2 extends AWSServiceClient { >; modifyVpcEndpointServicePermissions( input: ModifyVpcEndpointServicePermissionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpcEndpointServicePermissionsResult, + CommonAwsError + >; modifyVpcPeeringConnectionOptions( input: ModifyVpcPeeringConnectionOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpcPeeringConnectionOptionsResult, + CommonAwsError + >; modifyVpcTenancy( input: ModifyVpcTenancyRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpcTenancyResult, + CommonAwsError + >; modifyVpnConnection( input: ModifyVpnConnectionRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpnConnectionResult, + CommonAwsError + >; modifyVpnConnectionOptions( input: ModifyVpnConnectionOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpnConnectionOptionsResult, + CommonAwsError + >; modifyVpnTunnelCertificate( input: ModifyVpnTunnelCertificateRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpnTunnelCertificateResult, + CommonAwsError + >; modifyVpnTunnelOptions( input: ModifyVpnTunnelOptionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ModifyVpnTunnelOptionsResult, + CommonAwsError + >; monitorInstances( input: MonitorInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + MonitorInstancesResult, + CommonAwsError + >; moveAddressToVpc( input: MoveAddressToVpcRequest, - ): Effect.Effect; + ): Effect.Effect< + MoveAddressToVpcResult, + CommonAwsError + >; moveByoipCidrToIpam( input: MoveByoipCidrToIpamRequest, - ): Effect.Effect; + ): Effect.Effect< + MoveByoipCidrToIpamResult, + CommonAwsError + >; moveCapacityReservationInstances( input: MoveCapacityReservationInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + MoveCapacityReservationInstancesResult, + CommonAwsError + >; provisionByoipCidr( input: ProvisionByoipCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + ProvisionByoipCidrResult, + CommonAwsError + >; provisionIpamByoasn( input: ProvisionIpamByoasnRequest, - ): Effect.Effect; + ): Effect.Effect< + ProvisionIpamByoasnResult, + CommonAwsError + >; provisionIpamPoolCidr( input: ProvisionIpamPoolCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + ProvisionIpamPoolCidrResult, + CommonAwsError + >; provisionPublicIpv4PoolCidr( input: ProvisionPublicIpv4PoolCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + ProvisionPublicIpv4PoolCidrResult, + CommonAwsError + >; purchaseCapacityBlock( input: PurchaseCapacityBlockRequest, - ): Effect.Effect; + ): Effect.Effect< + PurchaseCapacityBlockResult, + CommonAwsError + >; purchaseCapacityBlockExtension( input: PurchaseCapacityBlockExtensionRequest, - ): Effect.Effect; + ): Effect.Effect< + PurchaseCapacityBlockExtensionResult, + CommonAwsError + >; purchaseHostReservation( input: PurchaseHostReservationRequest, - ): Effect.Effect; + ): Effect.Effect< + PurchaseHostReservationResult, + CommonAwsError + >; purchaseReservedInstancesOffering( input: PurchaseReservedInstancesOfferingRequest, - ): Effect.Effect; + ): Effect.Effect< + PurchaseReservedInstancesOfferingResult, + CommonAwsError + >; purchaseScheduledInstances( input: PurchaseScheduledInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + PurchaseScheduledInstancesResult, + CommonAwsError + >; rebootInstances( input: RebootInstancesRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; registerImage( input: RegisterImageRequest, - ): Effect.Effect; + ): Effect.Effect< + RegisterImageResult, + CommonAwsError + >; registerInstanceEventNotificationAttributes( input: RegisterInstanceEventNotificationAttributesRequest, ): Effect.Effect< @@ -2230,28 +3965,52 @@ export declare class EC2 extends AWSServiceClient { >; rejectTransitGatewayPeeringAttachment( input: RejectTransitGatewayPeeringAttachmentRequest, - ): Effect.Effect; + ): Effect.Effect< + RejectTransitGatewayPeeringAttachmentResult, + CommonAwsError + >; rejectTransitGatewayVpcAttachment( input: RejectTransitGatewayVpcAttachmentRequest, - ): Effect.Effect; + ): Effect.Effect< + RejectTransitGatewayVpcAttachmentResult, + CommonAwsError + >; rejectVpcEndpointConnections( input: RejectVpcEndpointConnectionsRequest, - ): Effect.Effect; + ): Effect.Effect< + RejectVpcEndpointConnectionsResult, + CommonAwsError + >; rejectVpcPeeringConnection( input: RejectVpcPeeringConnectionRequest, - ): Effect.Effect; + ): Effect.Effect< + RejectVpcPeeringConnectionResult, + CommonAwsError + >; releaseAddress( input: ReleaseAddressRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; releaseHosts( input: ReleaseHostsRequest, - ): Effect.Effect; + ): Effect.Effect< + ReleaseHostsResult, + CommonAwsError + >; releaseIpamPoolAllocation( input: ReleaseIpamPoolAllocationRequest, - ): Effect.Effect; + ): Effect.Effect< + ReleaseIpamPoolAllocationResult, + CommonAwsError + >; replaceIamInstanceProfileAssociation( input: ReplaceIamInstanceProfileAssociationRequest, - ): Effect.Effect; + ): Effect.Effect< + ReplaceIamInstanceProfileAssociationResult, + CommonAwsError + >; replaceImageCriteriaInAllowedImagesSettings( input: ReplaceImageCriteriaInAllowedImagesSettingsRequest, ): Effect.Effect< @@ -2260,98 +4019,196 @@ export declare class EC2 extends AWSServiceClient { >; replaceNetworkAclAssociation( input: ReplaceNetworkAclAssociationRequest, - ): Effect.Effect; + ): Effect.Effect< + ReplaceNetworkAclAssociationResult, + CommonAwsError + >; replaceNetworkAclEntry( input: ReplaceNetworkAclEntryRequest, - ): Effect.Effect<{}, CommonAwsError>; - replaceRoute(input: ReplaceRouteRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; + replaceRoute( + input: ReplaceRouteRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; replaceRouteTableAssociation( input: ReplaceRouteTableAssociationRequest, - ): Effect.Effect; + ): Effect.Effect< + ReplaceRouteTableAssociationResult, + CommonAwsError + >; replaceTransitGatewayRoute( input: ReplaceTransitGatewayRouteRequest, - ): Effect.Effect; + ): Effect.Effect< + ReplaceTransitGatewayRouteResult, + CommonAwsError + >; replaceVpnTunnel( input: ReplaceVpnTunnelRequest, - ): Effect.Effect; + ): Effect.Effect< + ReplaceVpnTunnelResult, + CommonAwsError + >; reportInstanceStatus( input: ReportInstanceStatusRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; requestSpotFleet( input: RequestSpotFleetRequest, - ): Effect.Effect; + ): Effect.Effect< + RequestSpotFleetResponse, + CommonAwsError + >; requestSpotInstances( input: RequestSpotInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + RequestSpotInstancesResult, + CommonAwsError + >; resetAddressAttribute( input: ResetAddressAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + ResetAddressAttributeResult, + CommonAwsError + >; resetEbsDefaultKmsKeyId( input: ResetEbsDefaultKmsKeyIdRequest, - ): Effect.Effect; + ): Effect.Effect< + ResetEbsDefaultKmsKeyIdResult, + CommonAwsError + >; resetFpgaImageAttribute( input: ResetFpgaImageAttributeRequest, - ): Effect.Effect; + ): Effect.Effect< + ResetFpgaImageAttributeResult, + CommonAwsError + >; resetImageAttribute( input: ResetImageAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; resetInstanceAttribute( input: ResetInstanceAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; resetNetworkInterfaceAttribute( input: ResetNetworkInterfaceAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; resetSnapshotAttribute( input: ResetSnapshotAttributeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; restoreAddressToClassic( input: RestoreAddressToClassicRequest, - ): Effect.Effect; + ): Effect.Effect< + RestoreAddressToClassicResult, + CommonAwsError + >; restoreImageFromRecycleBin( input: RestoreImageFromRecycleBinRequest, - ): Effect.Effect; + ): Effect.Effect< + RestoreImageFromRecycleBinResult, + CommonAwsError + >; restoreManagedPrefixListVersion( input: RestoreManagedPrefixListVersionRequest, - ): Effect.Effect; + ): Effect.Effect< + RestoreManagedPrefixListVersionResult, + CommonAwsError + >; restoreSnapshotFromRecycleBin( input: RestoreSnapshotFromRecycleBinRequest, - ): Effect.Effect; + ): Effect.Effect< + RestoreSnapshotFromRecycleBinResult, + CommonAwsError + >; restoreSnapshotTier( input: RestoreSnapshotTierRequest, - ): Effect.Effect; + ): Effect.Effect< + RestoreSnapshotTierResult, + CommonAwsError + >; revokeClientVpnIngress( input: RevokeClientVpnIngressRequest, - ): Effect.Effect; + ): Effect.Effect< + RevokeClientVpnIngressResult, + CommonAwsError + >; revokeSecurityGroupEgress( input: RevokeSecurityGroupEgressRequest, - ): Effect.Effect; + ): Effect.Effect< + RevokeSecurityGroupEgressResult, + CommonAwsError + >; revokeSecurityGroupIngress( input: RevokeSecurityGroupIngressRequest, - ): Effect.Effect; + ): Effect.Effect< + RevokeSecurityGroupIngressResult, + CommonAwsError + >; runInstances( input: RunInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + Reservation, + CommonAwsError + >; runScheduledInstances( input: RunScheduledInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + RunScheduledInstancesResult, + CommonAwsError + >; searchLocalGatewayRoutes( input: SearchLocalGatewayRoutesRequest, - ): Effect.Effect; + ): Effect.Effect< + SearchLocalGatewayRoutesResult, + CommonAwsError + >; searchTransitGatewayMulticastGroups( input: SearchTransitGatewayMulticastGroupsRequest, - ): Effect.Effect; + ): Effect.Effect< + SearchTransitGatewayMulticastGroupsResult, + CommonAwsError + >; searchTransitGatewayRoutes( input: SearchTransitGatewayRoutesRequest, - ): Effect.Effect; + ): Effect.Effect< + SearchTransitGatewayRoutesResult, + CommonAwsError + >; sendDiagnosticInterrupt( input: SendDiagnosticInterruptRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; startDeclarativePoliciesReport( input: StartDeclarativePoliciesReportRequest, - ): Effect.Effect; + ): Effect.Effect< + StartDeclarativePoliciesReportResult, + CommonAwsError + >; startInstances( input: StartInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + StartInstancesResult, + CommonAwsError + >; startNetworkInsightsAccessScopeAnalysis( input: StartNetworkInsightsAccessScopeAnalysisRequest, ): Effect.Effect< @@ -2360,7 +4217,10 @@ export declare class EC2 extends AWSServiceClient { >; startNetworkInsightsAnalysis( input: StartNetworkInsightsAnalysisRequest, - ): Effect.Effect; + ): Effect.Effect< + StartNetworkInsightsAnalysisResult, + CommonAwsError + >; startVpcEndpointServicePrivateDnsVerification( input: StartVpcEndpointServicePrivateDnsVerificationRequest, ): Effect.Effect< @@ -2369,28 +4229,52 @@ export declare class EC2 extends AWSServiceClient { >; stopInstances( input: StopInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + StopInstancesResult, + CommonAwsError + >; terminateClientVpnConnections( input: TerminateClientVpnConnectionsRequest, - ): Effect.Effect; + ): Effect.Effect< + TerminateClientVpnConnectionsResult, + CommonAwsError + >; terminateInstances( input: TerminateInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + TerminateInstancesResult, + CommonAwsError + >; unassignIpv6Addresses( input: UnassignIpv6AddressesRequest, - ): Effect.Effect; + ): Effect.Effect< + UnassignIpv6AddressesResult, + CommonAwsError + >; unassignPrivateIpAddresses( input: UnassignPrivateIpAddressesRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; unassignPrivateNatGatewayAddress( input: UnassignPrivateNatGatewayAddressRequest, - ): Effect.Effect; + ): Effect.Effect< + UnassignPrivateNatGatewayAddressResult, + CommonAwsError + >; unlockSnapshot( input: UnlockSnapshotRequest, - ): Effect.Effect; + ): Effect.Effect< + UnlockSnapshotResult, + CommonAwsError + >; unmonitorInstances( input: UnmonitorInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + UnmonitorInstancesResult, + CommonAwsError + >; updateCapacityManagerOrganizationsAccess( input: UpdateCapacityManagerOrganizationsAccessRequest, ): Effect.Effect< @@ -2411,7 +4295,10 @@ export declare class EC2 extends AWSServiceClient { >; withdrawByoipCidr( input: WithdrawByoipCidrRequest, - ): Effect.Effect; + ): Effect.Effect< + WithdrawByoipCidrResult, + CommonAwsError + >; } export declare class Ec2 extends EC2 {} @@ -2424,26 +4311,9 @@ export interface AcceleratorCountRequest { Min?: number; Max?: number; } -export type AcceleratorManufacturer = - | "amazon-web-services" - | "amd" - | "nvidia" - | "xilinx" - | "habana"; +export type AcceleratorManufacturer = "amazon-web-services" | "amd" | "nvidia" | "xilinx" | "habana"; export type AcceleratorManufacturerSet = Array; -export type AcceleratorName = - | "a100" - | "inferentia" - | "k520" - | "k80" - | "m60" - | "radeon-pro-v520" - | "t4" - | "vu9p" - | "v100" - | "a10g" - | "h100" - | "t4g"; +export type AcceleratorName = "a100" | "inferentia" | "k520" | "k80" | "m60" | "radeon-pro-v520" | "t4" | "vu9p" | "v100" | "a10g" | "h100" | "t4g"; export type AcceleratorNameSet = Array; export interface AcceleratorTotalMemoryMiB { Min?: number; @@ -2566,11 +4436,7 @@ export interface ActiveVpnTunnelStatus { ProvisioningStatus?: VpnTunnelProvisioningStatus; ProvisioningStatusReason?: string; } -export type ActivityStatus = - | "error" - | "pending_fulfillment" - | "pending_termination" - | "fulfilled"; +export type ActivityStatus = "error" | "pending_fulfillment" | "pending_termination" | "fulfilled"; export interface AddedPrincipal { PrincipalType?: PrincipalType; Principal?: string; @@ -2585,8 +4451,7 @@ export type AddIpamOperatingRegionSet = Array; export interface AddIpamOrganizationalUnitExclusion { OrganizationsEntityPath?: string; } -export type AddIpamOrganizationalUnitExclusionSet = - Array; +export type AddIpamOrganizationalUnitExclusionSet = Array; export interface AdditionalDetail { AdditionalDetailType?: string; Component?: AnalysisComponent; @@ -2708,19 +4573,8 @@ export type AllocationId = string; export type AllocationIdList = Array; export type AllocationIds = Array; -export type AllocationState = - | "available" - | "under-assessment" - | "permanent-failure" - | "released" - | "released-permanent-failure" - | "pending"; -export type AllocationStrategy = - | "lowestPrice" - | "diversified" - | "capacityOptimized" - | "capacityOptimizedPrioritized" - | "priceCapacityOptimized"; +export type AllocationState = "available" | "under-assessment" | "permanent-failure" | "released" | "released-permanent-failure" | "pending"; +export type AllocationStrategy = "lowestPrice" | "diversified" | "capacityOptimized" | "capacityOptimizedPrioritized" | "priceCapacityOptimized"; export type AllocationType = "used" | "future"; export type AllowedImagesSettingsDisabledState = "disabled"; export type AllowedImagesSettingsEnabledState = "enabled" | "audit-mode"; @@ -2809,20 +4663,10 @@ export interface ApplySecurityGroupsToClientVpnTargetNetworkRequest { export interface ApplySecurityGroupsToClientVpnTargetNetworkResult { SecurityGroupIds?: Array; } -export type ArchitectureType = - | "i386" - | "x86_64" - | "arm64" - | "x86_64_mac" - | "arm64_mac"; +export type ArchitectureType = "i386" | "x86_64" | "arm64" | "x86_64_mac" | "arm64_mac"; export type ArchitectureTypeList = Array; export type ArchitectureTypeSet = Array; -export type ArchitectureValues = - | "i386" - | "x86_64" - | "arm64" - | "x86_64_mac" - | "arm64_mac"; +export type ArchitectureValues = "i386" | "x86_64" | "arm64" | "x86_64_mac" | "arm64_mac"; export type ArnList = Array; export interface AsnAssociation { Asn?: string; @@ -2831,24 +4675,12 @@ export interface AsnAssociation { State?: AsnAssociationState; } export type AsnAssociationSet = Array; -export type AsnAssociationState = - | "disassociated" - | "failed-disassociation" - | "failed-association" - | "pending-disassociation" - | "pending-association" - | "associated"; +export type AsnAssociationState = "disassociated" | "failed-disassociation" | "failed-association" | "pending-disassociation" | "pending-association" | "associated"; export interface AsnAuthorizationContext { Message: string; Signature: string; } -export type AsnState = - | "deprovisioned" - | "failed-deprovision" - | "failed-provision" - | "pending-deprovision" - | "pending-provision" - | "provisioned"; +export type AsnState = "deprovisioned" | "failed-deprovision" | "failed-provision" | "pending-deprovision" | "pending-provision" | "provisioned"; export type AsPath = Array; export type AssetId = string; @@ -3090,12 +4922,7 @@ export interface AssociationStatus { Code?: AssociationStatusCode; Message?: string; } -export type AssociationStatusCode = - | "associating" - | "associated" - | "association-failed" - | "disassociating" - | "disassociated"; +export type AssociationStatusCode = "associating" | "associated" | "association-failed" | "disassociating" | "disassociated"; export interface AthenaIntegration { IntegrationResultS3DestinationArn: string; PartitionLoadFrequency: PartitionLoadFrequency; @@ -3125,11 +4952,7 @@ export interface AttachmentEnaSrdUdpSpecification { EnaSrdUdpEnabled?: boolean; } export type AttachmentLimitType = "shared" | "dedicated"; -export type AttachmentStatus = - | "attaching" - | "attached" - | "detaching" - | "detached"; +export type AttachmentStatus = "attaching" | "attached" | "detaching" | "detached"; export interface AttachNetworkInterfaceRequest { NetworkCardIndex?: number; EnaSrdSpecification?: EnaSrdSpecification; @@ -3264,16 +5087,8 @@ export interface AvailabilityZoneMessage { export type AvailabilityZoneMessageList = Array; export type AvailabilityZoneName = string; -export type AvailabilityZoneOptInStatus = - | "opt-in-not-required" - | "opted-in" - | "not-opted-in"; -export type AvailabilityZoneState = - | "available" - | "information" - | "impaired" - | "unavailable" - | "constrained"; +export type AvailabilityZoneOptInStatus = "opt-in-not-required" | "opted-in" | "not-opted-in"; +export type AvailabilityZoneState = "available" | "information" | "impaired" | "unavailable" | "constrained"; export type AvailabilityZoneStringList = Array; export interface AvailableCapacity { AvailableInstanceCapacity?: Array; @@ -3307,14 +5122,7 @@ export interface BaselinePerformanceFactorsRequest { } export type BaselineThroughputInMBps = number; -export type BatchState = - | "submitted" - | "active" - | "cancelled" - | "failed" - | "cancelled_running" - | "cancelled_terminating" - | "modifying"; +export type BatchState = "submitted" | "active" | "cancelled" | "failed" | "cancelled_running" | "cancelled_terminating" | "modifying"; export type BgpStatus = "up" | "down"; export type BillingProductList = Array; export type Blob = Uint8Array | string; @@ -3337,10 +5145,7 @@ export interface BlockDeviceMappingResponse { NoDevice?: string; } export type BlockDeviceMappingResponseList = Array; -export type BlockPublicAccessMode = - | "off" - | "block-bidirectional" - | "block-ingress"; +export type BlockPublicAccessMode = "off" | "block-bidirectional" | "block-ingress"; export interface BlockPublicAccessStates { InternetGatewayBlockMode?: BlockPublicAccessMode; } @@ -3383,14 +5188,7 @@ export interface BundleTaskError { Message?: string; } export type BundleTaskList = Array; -export type BundleTaskState = - | "pending" - | "waiting-for-shutdown" - | "bundling" - | "storing" - | "cancelling" - | "complete" - | "failed"; +export type BundleTaskState = "pending" | "waiting-for-shutdown" | "bundling" | "storing" | "cancelling" | "complete" | "failed"; export type BurstablePerformance = "included" | "required" | "excluded"; export type BurstablePerformanceFlag = boolean; @@ -3410,21 +5208,9 @@ export interface ByoipCidr { NetworkBorderGroup?: string; } export type ByoipCidrSet = Array; -export type ByoipCidrState = - | "advertised" - | "deprovisioned" - | "failed-deprovision" - | "failed-provision" - | "pending-deprovision" - | "pending-provision" - | "provisioned" - | "provisioned-not-publicly-advertisable"; +export type ByoipCidrState = "advertised" | "deprovisioned" | "failed-deprovision" | "failed-provision" | "pending-deprovision" | "pending-provision" | "provisioned" | "provisioned-not-publicly-advertisable"; export type CallerRole = "odcr-owner" | "unused-reservation-billing-owner"; -export type CancelBatchErrorCode = - | "fleetRequestIdDoesNotExist" - | "fleetRequestIdMalformed" - | "fleetRequestNotInCancellableState" - | "unexpectedError"; +export type CancelBatchErrorCode = "fleetRequestIdDoesNotExist" | "fleetRequestIdMalformed" | "fleetRequestNotInCancellableState" | "unexpectedError"; export interface CancelBundleTaskRequest { BundleId: string; DryRun?: boolean; @@ -3491,8 +5277,7 @@ export interface CancelledSpotInstanceRequest { SpotInstanceRequestId?: string; State?: CancelSpotInstanceRequestState; } -export type CancelledSpotInstanceRequestList = - Array; +export type CancelledSpotInstanceRequestList = Array; export interface CancelReservedInstancesListingRequest { ReservedInstancesListingId: string; } @@ -3507,8 +5292,7 @@ export interface CancelSpotFleetRequestsErrorItem { Error?: CancelSpotFleetRequestsError; SpotFleetRequestId?: string; } -export type CancelSpotFleetRequestsErrorSet = - Array; +export type CancelSpotFleetRequestsErrorSet = Array; export interface CancelSpotFleetRequestsRequest { DryRun?: boolean; SpotFleetRequestIds: Array; @@ -3523,8 +5307,7 @@ export interface CancelSpotFleetRequestsSuccessItem { PreviousSpotFleetRequestState?: BatchState; SpotFleetRequestId?: string; } -export type CancelSpotFleetRequestsSuccessSet = - Array; +export type CancelSpotFleetRequestsSuccessSet = Array; export interface CancelSpotInstanceRequestsRequest { DryRun?: boolean; SpotInstanceRequestIds: Array; @@ -3532,12 +5315,7 @@ export interface CancelSpotInstanceRequestsRequest { export interface CancelSpotInstanceRequestsResult { CancelledSpotInstanceRequests?: Array; } -export type CancelSpotInstanceRequestState = - | "active" - | "open" - | "closed" - | "cancelled" - | "completed"; +export type CancelSpotInstanceRequestState = "active" | "open" | "closed" | "cancelled" | "completed"; export interface CapacityAllocation { AllocationType?: AllocationType; Count?: number; @@ -3584,20 +5362,13 @@ export interface CapacityBlockExtensionOffering { CurrencyCode?: string; Tenancy?: CapacityReservationTenancy; } -export type CapacityBlockExtensionOfferingSet = - Array; +export type CapacityBlockExtensionOfferingSet = Array; export type CapacityBlockExtensionSet = Array; -export type CapacityBlockExtensionStatus = - | "payment-pending" - | "payment-failed" - | "payment-succeeded"; +export type CapacityBlockExtensionStatus = "payment-pending" | "payment-failed" | "payment-succeeded"; export type CapacityBlockId = string; export type CapacityBlockIds = Array; -export type CapacityBlockInterconnectStatus = - | "ok" - | "impaired" - | "insufficient-data"; +export type CapacityBlockInterconnectStatus = "ok" | "impaired" | "insufficient-data"; export interface CapacityBlockOffering { CapacityBlockOfferingId?: string; InstanceType?: string; @@ -3614,15 +5385,7 @@ export interface CapacityBlockOffering { CapacityBlockDurationMinutes?: number; } export type CapacityBlockOfferingSet = Array; -export type CapacityBlockResourceState = - | "active" - | "expired" - | "unavailable" - | "cancelled" - | "failed" - | "scheduled" - | "payment-pending" - | "payment-failed"; +export type CapacityBlockResourceState = "active" | "expired" | "unavailable" | "cancelled" | "failed" | "scheduled" | "payment-pending" | "payment-failed"; export type CapacityBlockSet = Array; export interface CapacityBlockStatus { CapacityBlockId?: string; @@ -3653,13 +5416,8 @@ export interface CapacityManagerDataExportResponse { LatestDeliveryTime?: Date | string; Tags?: Array; } -export type CapacityManagerDataExportResponseSet = - Array; -export type CapacityManagerDataExportStatus = - | "pending" - | "in-progress" - | "delivered" - | "failed"; +export type CapacityManagerDataExportResponseSet = Array; +export type CapacityManagerDataExportStatus = "pending" | "in-progress" | "delivered" | "failed"; export interface CapacityManagerDimension { ResourceRegion?: string; AvailabilityZoneId?: string; @@ -3719,15 +5477,8 @@ export interface CapacityReservationBillingRequest { StatusMessage?: string; CapacityReservationInfo?: CapacityReservationInfo; } -export type CapacityReservationBillingRequestSet = - Array; -export type CapacityReservationBillingRequestStatus = - | "pending" - | "accepted" - | "rejected" - | "cancelled" - | "revoked" - | "expired"; +export type CapacityReservationBillingRequestSet = Array; +export type CapacityReservationBillingRequestStatus = "pending" | "accepted" | "rejected" | "cancelled" | "revoked" | "expired"; export type CapacityReservationCommitmentDuration = number; export interface CapacityReservationCommitmentInfo { @@ -3754,22 +5505,12 @@ export interface CapacityReservationFleetCancellationState { PreviousFleetState?: CapacityReservationFleetState; CapacityReservationFleetId?: string; } -export type CapacityReservationFleetCancellationStateSet = - Array; +export type CapacityReservationFleetCancellationStateSet = Array; export type CapacityReservationFleetId = string; export type CapacityReservationFleetIdSet = Array; export type CapacityReservationFleetSet = Array; -export type CapacityReservationFleetState = - | "submitted" - | "modifying" - | "active" - | "partially_fulfilled" - | "expiring" - | "expired" - | "cancelling" - | "cancelled" - | "failed"; +export type CapacityReservationFleetState = "submitted" | "modifying" | "active" | "partially_fulfilled" | "expiring" | "expired" | "cancelling" | "cancelled" | "failed"; export interface CapacityReservationGroup { GroupArn?: string; OwnerId?: string; @@ -3784,35 +5525,14 @@ export interface CapacityReservationInfo { Tenancy?: CapacityReservationTenancy; AvailabilityZoneId?: string; } -export type CapacityReservationInstancePlatform = - | "Linux/UNIX" - | "Red Hat Enterprise Linux" - | "SUSE Linux" - | "Windows" - | "Windows with SQL Server" - | "Windows with SQL Server Enterprise" - | "Windows with SQL Server Standard" - | "Windows with SQL Server Web" - | "Linux with SQL Server Standard" - | "Linux with SQL Server Web" - | "Linux with SQL Server Enterprise" - | "RHEL with SQL Server Standard" - | "RHEL with SQL Server Enterprise" - | "RHEL with SQL Server Web" - | "RHEL with HA" - | "RHEL with HA and SQL Server Standard" - | "RHEL with HA and SQL Server Enterprise" - | "Ubuntu Pro"; +export type CapacityReservationInstancePlatform = "Linux/UNIX" | "Red Hat Enterprise Linux" | "SUSE Linux" | "Windows" | "Windows with SQL Server" | "Windows with SQL Server Enterprise" | "Windows with SQL Server Standard" | "Windows with SQL Server Web" | "Linux with SQL Server Standard" | "Linux with SQL Server Web" | "Linux with SQL Server Enterprise" | "RHEL with SQL Server Standard" | "RHEL with SQL Server Enterprise" | "RHEL with SQL Server Web" | "RHEL with HA" | "RHEL with HA and SQL Server Standard" | "RHEL with HA and SQL Server Enterprise" | "Ubuntu Pro"; export interface CapacityReservationOptions { UsageStrategy?: FleetCapacityReservationUsageStrategy; } export interface CapacityReservationOptionsRequest { UsageStrategy?: FleetCapacityReservationUsageStrategy; } -export type CapacityReservationPreference = - | "capacity-reservations-only" - | "open" - | "none"; +export type CapacityReservationPreference = "capacity-reservations-only" | "open" | "none"; export type CapacityReservationSet = Array; export interface CapacityReservationSpecification { CapacityReservationPreference?: CapacityReservationPreference; @@ -3822,19 +5542,7 @@ export interface CapacityReservationSpecificationResponse { CapacityReservationPreference?: CapacityReservationPreference; CapacityReservationTarget?: CapacityReservationTargetResponse; } -export type CapacityReservationState = - | "active" - | "expired" - | "cancelled" - | "pending" - | "failed" - | "scheduled" - | "payment-pending" - | "payment-failed" - | "assessing" - | "delayed" - | "unsupported" - | "unavailable"; +export type CapacityReservationState = "active" | "expired" | "cancelled" | "pending" | "failed" | "scheduled" | "payment-pending" | "payment-failed" | "assessing" | "delayed" | "unsupported" | "unavailable"; export interface CapacityReservationStatus { CapacityReservationId?: string; TotalCapacity?: number; @@ -3877,11 +5585,7 @@ export type CarrierGatewayIdSet = Array; export type CarrierGatewayMaxResults = number; export type CarrierGatewaySet = Array; -export type CarrierGatewayState = - | "pending" - | "available" - | "deleting" - | "deleted"; +export type CarrierGatewayState = "pending" | "available" | "deleting" | "deleted"; export type CertificateArn = string; export interface CertificateAuthentication { @@ -3968,21 +5672,13 @@ export interface ClientVpnAuthenticationRequest { MutualAuthentication?: CertificateAuthenticationRequest; FederatedAuthentication?: FederatedAuthenticationRequest; } -export type ClientVpnAuthenticationRequestList = - Array; -export type ClientVpnAuthenticationType = - | "certificate-authentication" - | "directory-service-authentication" - | "federated-authentication"; +export type ClientVpnAuthenticationRequestList = Array; +export type ClientVpnAuthenticationType = "certificate-authentication" | "directory-service-authentication" | "federated-authentication"; export interface ClientVpnAuthorizationRuleStatus { Code?: ClientVpnAuthorizationRuleStatusCode; Message?: string; } -export type ClientVpnAuthorizationRuleStatusCode = - | "authorizing" - | "active" - | "failed" - | "revoking"; +export type ClientVpnAuthorizationRuleStatusCode = "authorizing" | "active" | "failed" | "revoking"; export interface ClientVpnConnection { ClientVpnEndpointId?: string; Timestamp?: string; @@ -4005,11 +5701,7 @@ export interface ClientVpnConnectionStatus { Code?: ClientVpnConnectionStatusCode; Message?: string; } -export type ClientVpnConnectionStatusCode = - | "active" - | "failed-to-terminate" - | "terminating" - | "terminated"; +export type ClientVpnConnectionStatusCode = "active" | "failed-to-terminate" | "terminating" | "terminated"; export interface ClientVpnEndpoint { ClientVpnEndpointId?: string; Description?: string; @@ -4051,11 +5743,7 @@ export interface ClientVpnEndpointStatus { Code?: ClientVpnEndpointStatusCode; Message?: string; } -export type ClientVpnEndpointStatusCode = - | "pending-associate" - | "available" - | "deleting" - | "deleted"; +export type ClientVpnEndpointStatusCode = "pending-associate" | "available" | "deleting" | "deleted"; export interface ClientVpnRoute { ClientVpnEndpointId?: string; DestinationCidr?: string; @@ -4070,11 +5758,7 @@ export interface ClientVpnRouteStatus { Code?: ClientVpnRouteStatusCode; Message?: string; } -export type ClientVpnRouteStatusCode = - | "creating" - | "active" - | "failed" - | "deleting"; +export type ClientVpnRouteStatusCode = "creating" | "active" | "failed" | "deleting"; export type ClientVpnSecurityGroupIdSet = Array; export type CloudWatchLogGroupArn = string; @@ -4188,11 +5872,7 @@ export interface ConversionTask { } export type ConversionTaskId = string; -export type ConversionTaskState = - | "active" - | "cancelling" - | "cancelled" - | "completed"; +export type ConversionTaskState = "active" | "cancelling" | "cancelled" | "completed"; export type CoolOffPeriodRequestHours = number; export type CoolOffPeriodResponseHours = number; @@ -5327,8 +7007,7 @@ export interface CreateVerifiedAccessEndpointPortRange { FromPort?: number; ToPort?: number; } -export type CreateVerifiedAccessEndpointPortRangeList = - Array; +export type CreateVerifiedAccessEndpointPortRangeList = Array; export interface CreateVerifiedAccessEndpointRdsOptions { Protocol?: VerifiedAccessEndpointProtocol; Port?: number; @@ -5644,14 +7323,8 @@ export type DefaultEnaQueueCountPerInterface = number; export type DefaultingDhcpOptionsId = string; -export type DefaultInstanceMetadataEndpointState = - | "disabled" - | "enabled" - | "no-preference"; -export type DefaultInstanceMetadataTagsState = - | "disabled" - | "enabled" - | "no-preference"; +export type DefaultInstanceMetadataEndpointState = "disabled" | "enabled" | "no-preference"; +export type DefaultInstanceMetadataTagsState = "disabled" | "enabled" | "no-preference"; export type DefaultNetworkCardIndex = number; export type DefaultRouteTableAssociationValue = "enable" | "disable"; @@ -5721,11 +7394,7 @@ export interface DeleteFleetError { Code?: DeleteFleetErrorCode; Message?: string; } -export type DeleteFleetErrorCode = - | "fleetIdDoesNotExist" - | "fleetIdMalformed" - | "fleetNotInDeletableState" - | "unexpectedError"; +export type DeleteFleetErrorCode = "fleetIdDoesNotExist" | "fleetIdMalformed" | "fleetNotInDeletableState" | "unexpectedError"; export interface DeleteFleetErrorItem { Error?: DeleteFleetError; FleetId?: string; @@ -5866,15 +7535,13 @@ export interface DeleteLaunchTemplateVersionsResponseErrorItem { VersionNumber?: number; ResponseError?: ResponseError; } -export type DeleteLaunchTemplateVersionsResponseErrorSet = - Array; +export type DeleteLaunchTemplateVersionsResponseErrorSet = Array; export interface DeleteLaunchTemplateVersionsResponseSuccessItem { LaunchTemplateId?: string; LaunchTemplateName?: string; VersionNumber?: number; } -export type DeleteLaunchTemplateVersionsResponseSuccessSet = - Array; +export type DeleteLaunchTemplateVersionsResponseSuccessSet = Array; export interface DeleteLaunchTemplateVersionsResult { SuccessfullyDeletedLaunchTemplateVersions?: Array; UnsuccessfullyDeletedLaunchTemplateVersions?: Array; @@ -6003,10 +7670,7 @@ export interface DeleteQueuedReservedInstancesError { Code?: DeleteQueuedReservedInstancesErrorCode; Message?: string; } -export type DeleteQueuedReservedInstancesErrorCode = - | "reserved-instances-id-invalid" - | "reserved-instances-not-in-queued-state" - | "unexpected-error"; +export type DeleteQueuedReservedInstancesErrorCode = "reserved-instances-id-invalid" | "reserved-instances-not-in-queued-state" | "unexpected-error"; export type DeleteQueuedReservedInstancesIdList = Array; export interface DeleteQueuedReservedInstancesRequest { DryRun?: boolean; @@ -6530,8 +8194,7 @@ export interface DescribeCapacityReservationBillingRequestsRequest { Filters?: Array; DryRun?: boolean; } -export type DescribeCapacityReservationBillingRequestsRequestMaxResults = - number; +export type DescribeCapacityReservationBillingRequestsRequestMaxResults = number; export interface DescribeCapacityReservationBillingRequestsResult { NextToken?: string; @@ -6787,8 +8450,7 @@ export interface DescribeFastLaunchImagesSuccessItem { StateTransitionReason?: string; StateTransitionTime?: Date | string; } -export type DescribeFastLaunchImagesSuccessSet = - Array; +export type DescribeFastLaunchImagesSuccessSet = Array; export type DescribeFastSnapshotRestoresMaxResults = number; export interface DescribeFastSnapshotRestoresRequest { @@ -6815,8 +8477,7 @@ export interface DescribeFastSnapshotRestoreSuccessItem { DisablingTime?: Date | string; DisabledTime?: Date | string; } -export type DescribeFastSnapshotRestoreSuccessSet = - Array; +export type DescribeFastSnapshotRestoreSuccessSet = Array; export interface DescribeFleetError { LaunchTemplateAndOverrides?: LaunchTemplateAndOverridesResponse; Lifecycle?: InstanceLifecycle; @@ -8186,8 +9847,7 @@ export interface DescribeVerifiedAccessGroupsResult { VerifiedAccessGroups?: Array; NextToken?: string; } -export type DescribeVerifiedAccessInstanceLoggingConfigurationsMaxResults = - number; +export type DescribeVerifiedAccessInstanceLoggingConfigurationsMaxResults = number; export interface DescribeVerifiedAccessInstanceLoggingConfigurationsRequest { VerifiedAccessInstanceIds?: Array; @@ -8582,8 +10242,7 @@ export interface DisableFastSnapshotRestoreErrorItem { SnapshotId?: string; FastSnapshotRestoreStateErrors?: Array; } -export type DisableFastSnapshotRestoreErrorSet = - Array; +export type DisableFastSnapshotRestoreErrorSet = Array; export interface DisableFastSnapshotRestoresRequest { AvailabilityZones?: Array; AvailabilityZoneIds?: Array; @@ -8603,8 +10262,7 @@ export interface DisableFastSnapshotRestoreStateErrorItem { AvailabilityZoneId?: string; Error?: DisableFastSnapshotRestoreStateError; } -export type DisableFastSnapshotRestoreStateErrorSet = - Array; +export type DisableFastSnapshotRestoreStateErrorSet = Array; export interface DisableFastSnapshotRestoreSuccessItem { SnapshotId?: string; AvailabilityZone?: string; @@ -8619,8 +10277,7 @@ export interface DisableFastSnapshotRestoreSuccessItem { DisablingTime?: Date | string; DisabledTime?: Date | string; } -export type DisableFastSnapshotRestoreSuccessSet = - Array; +export type DisableFastSnapshotRestoreSuccessSet = Array; export interface DisableImageBlockPublicAccessRequest { DryRun?: boolean; } @@ -8992,16 +10649,7 @@ export interface Ec2InstanceConnectEndpoint { IpAddressType?: IpAddressType; PublicDnsNames?: InstanceConnectEndpointPublicDnsNames; } -export type Ec2InstanceConnectEndpointState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "delete-in-progress" - | "delete-complete" - | "delete-failed" - | "update-in-progress" - | "update-complete" - | "update-failed"; +export type Ec2InstanceConnectEndpointState = "create-in-progress" | "create-complete" | "create-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "update-in-progress" | "update-complete" | "update-failed"; export interface EfaInfo { MaximumEfaInterfaces?: number; } @@ -9053,8 +10701,7 @@ export type ElasticGpuSpecificationList = Array; export interface ElasticGpuSpecificationResponse { Type?: string; } -export type ElasticGpuSpecificationResponseList = - Array; +export type ElasticGpuSpecificationResponseList = Array; export type ElasticGpuSpecifications = Array; export type ElasticGpuState = "ATTACHED"; export type ElasticGpuStatus = "OK" | "IMPAIRED"; @@ -9068,8 +10715,7 @@ export interface ElasticInferenceAcceleratorAssociation { ElasticInferenceAcceleratorAssociationState?: string; ElasticInferenceAcceleratorAssociationTime?: Date | string; } -export type ElasticInferenceAcceleratorAssociationList = - Array; +export type ElasticInferenceAcceleratorAssociationList = Array; export type ElasticInferenceAcceleratorCount = number; export type ElasticInferenceAccelerators = Array; @@ -9138,8 +10784,7 @@ export interface EnableFastSnapshotRestoreErrorItem { SnapshotId?: string; FastSnapshotRestoreStateErrors?: Array; } -export type EnableFastSnapshotRestoreErrorSet = - Array; +export type EnableFastSnapshotRestoreErrorSet = Array; export interface EnableFastSnapshotRestoresRequest { AvailabilityZones?: Array; AvailabilityZoneIds?: Array; @@ -9159,8 +10804,7 @@ export interface EnableFastSnapshotRestoreStateErrorItem { AvailabilityZoneId?: string; Error?: EnableFastSnapshotRestoreStateError; } -export type EnableFastSnapshotRestoreStateErrorSet = - Array; +export type EnableFastSnapshotRestoreStateErrorSet = Array; export interface EnableFastSnapshotRestoreSuccessItem { SnapshotId?: string; AvailabilityZone?: string; @@ -9175,8 +10819,7 @@ export interface EnableFastSnapshotRestoreSuccessItem { DisablingTime?: Date | string; DisabledTime?: Date | string; } -export type EnableFastSnapshotRestoreSuccessSet = - Array; +export type EnableFastSnapshotRestoreSuccessSet = Array; export interface EnableImageBlockPublicAccessRequest { ImageBlockPublicAccessState: ImageBlockPublicAccessEnabledState; DryRun?: boolean; @@ -9302,22 +10945,13 @@ export type EndpointIpAddressType = "ipv4" | "ipv6" | "dual-stack"; export type EndpointSet = Array; export type EphemeralNvmeSupport = "unsupported" | "supported" | "required"; export type ErrorSet = Array<_ValidationError>; -export type EventCode = - | "instance-reboot" - | "system-reboot" - | "system-maintenance" - | "instance-retirement" - | "instance-stop"; +export type EventCode = "instance-reboot" | "system-reboot" | "system-maintenance" | "instance-retirement" | "instance-stop"; export interface EventInformation { EventDescription?: string; EventSubType?: string; InstanceId?: string; } -export type EventType = - | "instanceChange" - | "fleetRequestChange" - | "error" - | "information"; +export type EventType = "instanceChange" | "fleetRequestChange" | "error" | "information"; export type ExcessCapacityTerminationPolicy = "noTermination" | "default"; export type ExcludedInstanceType = string; @@ -9453,11 +11087,7 @@ export interface ExportTaskS3LocationRequest { S3Bucket: string; S3Prefix?: string; } -export type ExportTaskState = - | "active" - | "cancelling" - | "cancelled" - | "completed"; +export type ExportTaskState = "active" | "cancelling" | "cancelled" | "completed"; export interface ExportToS3Task { ContainerFormat?: ContainerFormat; DiskImageFormat?: DiskImageFormat; @@ -9497,14 +11127,12 @@ export interface FailedCapacityReservationFleetCancellationResult { CapacityReservationFleetId?: string; CancelCapacityReservationFleetError?: CancelCapacityReservationFleetError; } -export type FailedCapacityReservationFleetCancellationResultSet = - Array; +export type FailedCapacityReservationFleetCancellationResultSet = Array; export interface FailedQueuedPurchaseDeletion { Error?: DeleteQueuedReservedInstancesError; ReservedInstancesId?: string; } -export type FailedQueuedPurchaseDeletionSet = - Array; +export type FailedQueuedPurchaseDeletionSet = Array; export type FastLaunchImageIdList = Array; export interface FastLaunchLaunchTemplateSpecificationRequest { LaunchTemplateId?: string; @@ -9523,19 +11151,8 @@ export interface FastLaunchSnapshotConfigurationRequest { export interface FastLaunchSnapshotConfigurationResponse { TargetResourceCount?: number; } -export type FastLaunchStateCode = - | "enabling" - | "enabling-failed" - | "enabled" - | "enabled-failed" - | "disabling" - | "disabling-failed"; -export type FastSnapshotRestoreStateCode = - | "enabling" - | "optimizing" - | "enabled" - | "disabling" - | "disabled"; +export type FastLaunchStateCode = "enabling" | "enabling-failed" | "enabled" | "enabled-failed" | "disabling" | "disabling-failed"; +export type FastSnapshotRestoreStateCode = "enabling" | "optimizing" | "enabled" | "disabling" | "disabled"; export interface FederatedAuthentication { SamlProviderArn?: string; SelfServiceSamlProviderArn?: string; @@ -9548,24 +11165,7 @@ export interface Filter { Name?: string; Values?: Array; } -export type FilterByDimension = - | "resource-region" - | "availability-zone-id" - | "account-id" - | "instance-family" - | "instance-type" - | "instance-platform" - | "reservation-arn" - | "reservation-id" - | "reservation-type" - | "reservation-create-timestamp" - | "reservation-start-timestamp" - | "reservation-end-timestamp" - | "reservation-end-date-type" - | "tenancy" - | "reservation-state" - | "reservation-instance-match-criteria" - | "reservation-unused-financial-owner"; +export type FilterByDimension = "resource-region" | "availability-zone-id" | "account-id" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner"; export type FilterList = Array; export interface FilterPortRange { FromPort?: number; @@ -9592,19 +11192,14 @@ export interface FirewallStatelessRule { RuleAction?: string; Priority?: number; } -export type FleetActivityStatus = - | "error" - | "pending_fulfillment" - | "pending_termination" - | "fulfilled"; +export type FleetActivityStatus = "error" | "pending_fulfillment" | "pending_termination" | "fulfilled"; export interface FleetBlockDeviceMappingRequest { DeviceName?: string; VirtualName?: string; Ebs?: FleetEbsBlockDeviceRequest; NoDevice?: string; } -export type FleetBlockDeviceMappingRequestList = - Array; +export type FleetBlockDeviceMappingRequestList = Array; export interface FleetCapacityReservation { CapacityReservationId?: string; AvailabilityZoneId?: string; @@ -9620,8 +11215,7 @@ export interface FleetCapacityReservation { } export type FleetCapacityReservationSet = Array; export type FleetCapacityReservationTenancy = "default"; -export type FleetCapacityReservationUsageStrategy = - "use-capacity-reservations-first"; +export type FleetCapacityReservationUsageStrategy = "use-capacity-reservations-first"; export interface FleetData { ActivityStatus?: FleetActivityStatus; CreateTime?: Date | string; @@ -9655,13 +11249,8 @@ export interface FleetEbsBlockDeviceRequest { VolumeSize?: number; VolumeType?: VolumeType; } -export type FleetEventType = - | "instance-change" - | "fleet-change" - | "service-error"; -export type FleetExcessCapacityTerminationPolicy = - | "no-termination" - | "termination"; +export type FleetEventType = "instance-change" | "fleet-change" | "service-error"; +export type FleetExcessCapacityTerminationPolicy = "no-termination" | "termination"; export type FleetId = string; export type FleetIdSet = Array; @@ -9671,8 +11260,7 @@ export interface FleetLaunchTemplateConfig { Overrides?: Array; } export type FleetLaunchTemplateConfigList = Array; -export type FleetLaunchTemplateConfigListRequest = - Array; +export type FleetLaunchTemplateConfigListRequest = Array; export interface FleetLaunchTemplateConfigRequest { LaunchTemplateSpecification?: FleetLaunchTemplateSpecificationRequest; Overrides?: Array; @@ -9689,10 +11277,8 @@ export interface FleetLaunchTemplateOverrides { ImageId?: string; BlockDeviceMappings?: Array; } -export type FleetLaunchTemplateOverridesList = - Array; -export type FleetLaunchTemplateOverridesListRequest = - Array; +export type FleetLaunchTemplateOverridesList = Array; +export type FleetLaunchTemplateOverridesListRequest = Array; export interface FleetLaunchTemplateOverridesRequest { InstanceType?: InstanceType; MaxPrice?: string; @@ -9732,14 +11318,7 @@ export interface FleetSpotMaintenanceStrategies { export interface FleetSpotMaintenanceStrategiesRequest { CapacityRebalance?: FleetSpotCapacityRebalanceRequest; } -export type FleetStateCode = - | "submitted" - | "active" - | "deleted" - | "failed" - | "deleted_running" - | "deleted_terminating" - | "modifying"; +export type FleetStateCode = "submitted" | "active" | "deleted" | "failed" | "deleted_running" | "deleted_terminating" | "modifying"; export type FleetType = "request" | "maintain" | "instant"; export type FlexibleEnaQueuesSupport = "unsupported" | "supported"; export type Float = number; @@ -9767,12 +11346,7 @@ export type FlowLogResourceId = string; export type FlowLogResourceIds = Array; export type FlowLogSet = Array; -export type FlowLogsResourceType = - | "VPC" - | "Subnet" - | "NetworkInterface" - | "TransitGateway" - | "TransitGatewayAttachment"; +export type FlowLogsResourceType = "VPC" | "Subnet" | "NetworkInterface" | "TransitGateway" | "TransitGatewayAttachment"; export type FpgaDeviceCount = number; export interface FpgaDeviceInfo { @@ -9816,11 +11390,7 @@ export interface FpgaImageAttribute { LoadPermissions?: Array; ProductCodes?: Array; } -export type FpgaImageAttributeName = - | "description" - | "name" - | "loadPermission" - | "productCodes"; +export type FpgaImageAttributeName = "description" | "name" | "loadPermission" | "productCodes"; export type FpgaImageId = string; export type FpgaImageIdList = Array; @@ -9829,22 +11399,14 @@ export interface FpgaImageState { Code?: FpgaImageStateCode; Message?: string; } -export type FpgaImageStateCode = - | "pending" - | "failed" - | "available" - | "unavailable"; +export type FpgaImageStateCode = "pending" | "failed" | "available" | "unavailable"; export interface FpgaInfo { Fpgas?: Array; TotalFpgaMemoryInMiB?: number; } export type FreeTierEligibleFlag = boolean; -export type GatewayAssociationState = - | "associated" - | "not-associated" - | "associating" - | "disassociating"; +export type GatewayAssociationState = "associated" | "not-associated" | "associating" | "disassociating"; export type GatewayType = "ipsec.1"; export interface GetActiveVpnTunnelStatusRequest { VpnConnectionId: string; @@ -10536,24 +12098,7 @@ export interface GpuInfo { Gpus?: Array; TotalGpuMemoryInMiB?: number; } -export type GroupBy = - | "resource-region" - | "availability-zone-id" - | "account-id" - | "instance-family" - | "instance-type" - | "instance-platform" - | "reservation-arn" - | "reservation-id" - | "reservation-type" - | "reservation-create-timestamp" - | "reservation-start-timestamp" - | "reservation-end-timestamp" - | "reservation-end-date-type" - | "tenancy" - | "reservation-state" - | "reservation-instance-match-criteria" - | "reservation-unused-financial-owner"; +export type GroupBy = "resource-region" | "availability-zone-id" | "account-id" | "instance-family" | "instance-type" | "instance-platform" | "reservation-arn" | "reservation-id" | "reservation-type" | "reservation-create-timestamp" | "reservation-start-timestamp" | "reservation-end-timestamp" | "reservation-end-date-type" | "tenancy" | "reservation-state" | "reservation-instance-match-criteria" | "reservation-unused-financial-owner"; export type GroupBySet = Array; export interface GroupIdentifier { GroupId?: string; @@ -10673,13 +12218,8 @@ export interface IamInstanceProfileAssociation { } export type IamInstanceProfileAssociationId = string; -export type IamInstanceProfileAssociationSet = - Array; -export type IamInstanceProfileAssociationState = - | "associating" - | "associated" - | "disassociating" - | "disassociated"; +export type IamInstanceProfileAssociationSet = Array; +export type IamInstanceProfileAssociationState = "associating" | "associated" | "disassociating" | "disassociated"; export interface IamInstanceProfileSpecification { Arn?: string; Name?: string; @@ -10758,20 +12298,7 @@ export interface ImageAttribute { ProductCodes?: Array; BlockDeviceMappings?: Array; } -export type ImageAttributeName = - | "description" - | "kernel" - | "ramdisk" - | "launchPermission" - | "productCodes" - | "blockDeviceMapping" - | "sriovNetSupport" - | "bootMode" - | "tpmSupport" - | "uefiData" - | "lastLaunchedTime" - | "imdsSupport" - | "deregistrationProtection"; +export type ImageAttributeName = "description" | "kernel" | "ramdisk" | "launchPermission" | "productCodes" | "blockDeviceMapping" | "sriovNetSupport" | "bootMode" | "tpmSupport" | "uefiData" | "lastLaunchedTime" | "imdsSupport" | "deregistrationProtection"; export type ImageBlockPublicAccessDisabledState = "unblocked"; export type ImageBlockPublicAccessEnabledState = "block-new-sharing"; export interface ImageCriterion { @@ -10842,21 +12369,8 @@ export interface ImageReference { } export type ImageReferenceList = Array; export type ImageReferenceOptionName = "state-name" | "version-depth"; -export type ImageReferenceResourceType = - | "ec2:Instance" - | "ec2:LaunchTemplate" - | "ssm:Parameter" - | "imagebuilder:ImageRecipe" - | "imagebuilder:ContainerRecipe"; -export type ImageState = - | "pending" - | "available" - | "invalid" - | "deregistered" - | "transient" - | "failed" - | "error" - | "disabled"; +export type ImageReferenceResourceType = "ec2:Instance" | "ec2:LaunchTemplate" | "ssm:Parameter" | "imagebuilder:ImageRecipe" | "imagebuilder:ContainerRecipe"; +export type ImageState = "pending" | "available" | "invalid" | "deregistered" | "transient" | "failed" | "error" | "disabled"; export type ImageTypeValues = "machine" | "kernel" | "ramdisk"; export interface ImageUsageReport { ImageId?: string; @@ -10898,14 +12412,12 @@ export interface ImageUsageResourceTypeOption { OptionName?: string; OptionValues?: Array; } -export type ImageUsageResourceTypeOptionList = - Array; +export type ImageUsageResourceTypeOptionList = Array; export interface ImageUsageResourceTypeOptionRequest { OptionName?: string; OptionValues?: Array; } -export type ImageUsageResourceTypeOptionRequestList = - Array; +export type ImageUsageResourceTypeOptionRequestList = Array; export type ImageUsageResourceTypeOptionValue = string; export type ImageUsageResourceTypeOptionValuesList = Array; @@ -10913,8 +12425,7 @@ export interface ImageUsageResourceTypeRequest { ResourceType?: string; ResourceTypeOptions?: Array; } -export type ImageUsageResourceTypeRequestList = - Array; +export type ImageUsageResourceTypeRequestList = Array; export type ImdsSupportValues = "v2.0"; export interface ImportClientVpnClientCertificateRevocationListRequest { ClientVpnEndpointId: string; @@ -10930,10 +12441,8 @@ export interface ImportImageLicenseConfigurationRequest { export interface ImportImageLicenseConfigurationResponse { LicenseConfigurationArn?: string; } -export type ImportImageLicenseSpecificationListRequest = - Array; -export type ImportImageLicenseSpecificationListResponse = - Array; +export type ImportImageLicenseSpecificationListRequest = Array; +export type ImportImageLicenseSpecificationListResponse = Array; export interface ImportImageRequest { Architecture?: string; ClientData?: ClientData; @@ -11031,8 +12540,7 @@ export interface ImportInstanceVolumeDetailItem { StatusMessage?: string; Volume?: DiskImageVolumeDescription; } -export type ImportInstanceVolumeDetailSet = - Array; +export type ImportInstanceVolumeDetailSet = Array; export interface ImportKeyPairRequest { TagSpecifications?: Array; DryRun?: boolean; @@ -11118,10 +12626,7 @@ export type InferenceDeviceMemorySize = number; export type InferenceDeviceName = string; -export type IngestionStatus = - | "initial-ingestion-in-progress" - | "ingestion-complete" - | "ingestion-failed"; +export type IngestionStatus = "initial-ingestion-in-progress" | "ingestion-complete" | "ingestion-failed"; export interface InitializationStatusDetails { InitializationType?: InitializationType; Progress?: number; @@ -11217,23 +12722,7 @@ export interface InstanceAttribute { DisableApiStop?: AttributeBooleanValue; Groups?: Array; } -export type InstanceAttributeName = - | "instanceType" - | "kernel" - | "ramdisk" - | "userData" - | "disableApiTermination" - | "instanceInitiatedShutdownBehavior" - | "rootDeviceName" - | "blockDeviceMapping" - | "productCodes" - | "sourceDestCheck" - | "groupSet" - | "ebsOptimized" - | "sriovNetSupport" - | "enaSupport" - | "enclaveOptions" - | "disableApiStop"; +export type InstanceAttributeName = "instanceType" | "kernel" | "ramdisk" | "userData" | "disableApiTermination" | "instanceInitiatedShutdownBehavior" | "rootDeviceName" | "blockDeviceMapping" | "productCodes" | "sourceDestCheck" | "groupSet" | "ebsOptimized" | "sriovNetSupport" | "enaSupport" | "enclaveOptions" | "disableApiStop"; export type InstanceAutoRecoveryState = "disabled" | "default"; export type InstanceBandwidthWeighting = "default" | "vpc-1" | "ebs-1"; export interface InstanceBlockDeviceMapping { @@ -11247,8 +12736,7 @@ export interface InstanceBlockDeviceMappingSpecification { VirtualName?: string; NoDevice?: string; } -export type InstanceBlockDeviceMappingSpecificationList = - Array; +export type InstanceBlockDeviceMappingSpecificationList = Array; export type InstanceBootModeValues = "legacy-bios" | "uefi"; export interface InstanceCapacity { AvailableCapacity?: number; @@ -11277,10 +12765,8 @@ export interface InstanceCreditSpecification { InstanceId?: string; CpuCredits?: string; } -export type InstanceCreditSpecificationList = - Array; -export type InstanceCreditSpecificationListRequest = - Array; +export type InstanceCreditSpecificationList = Array; +export type InstanceCreditSpecificationListRequest = Array; export interface InstanceCreditSpecificationRequest { InstanceId: string; CpuCredits?: string; @@ -11317,11 +12803,7 @@ export type InstanceEventWindowId = string; export type InstanceEventWindowIdSet = Array; export type InstanceEventWindowSet = Array; -export type InstanceEventWindowState = - | "creating" - | "deleting" - | "active" - | "deleted"; +export type InstanceEventWindowState = "creating" | "deleting" | "active" | "deleted"; export interface InstanceEventWindowStateChange { InstanceEventWindowId?: string; State?: InstanceEventWindowState; @@ -11332,16 +12814,14 @@ export interface InstanceEventWindowTimeRange { EndWeekDay?: WeekDay; EndHour?: number; } -export type InstanceEventWindowTimeRangeList = - Array; +export type InstanceEventWindowTimeRangeList = Array; export interface InstanceEventWindowTimeRangeRequest { StartWeekDay?: WeekDay; StartHour?: number; EndWeekDay?: WeekDay; EndHour?: number; } -export type InstanceEventWindowTimeRangeRequestSet = - Array; +export type InstanceEventWindowTimeRangeRequestSet = Array; export interface InstanceExportDetails { InstanceId?: string; TargetEnvironment?: ExportEnvironment; @@ -11506,8 +12986,7 @@ export interface InstanceNetworkInterfaceSpecification { ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest; EnaQueueCount?: number; } -export type InstanceNetworkInterfaceSpecificationList = - Array; +export type InstanceNetworkInterfaceSpecificationList = Array; export interface InstanceNetworkPerformanceOptions { BandwidthWeighting?: InstanceBandwidthWeighting; } @@ -11597,13 +13076,7 @@ export interface InstanceStateChange { PreviousState?: InstanceState; } export type InstanceStateChangeList = Array; -export type InstanceStateName = - | "pending" - | "running" - | "shutting-down" - | "terminated" - | "stopping" - | "stopped"; +export type InstanceStateName = "pending" | "running" | "shutting-down" | "terminated" | "stopping" | "stopped"; export interface InstanceStatus { AvailabilityZone?: string; AvailabilityZoneId?: string; @@ -11659,1080 +13132,7 @@ export interface InstanceTopology { ZoneId?: string; CapacityBlockId?: string; } -export type InstanceType = - | "a1.medium" - | "a1.large" - | "a1.xlarge" - | "a1.2xlarge" - | "a1.4xlarge" - | "a1.metal" - | "c1.medium" - | "c1.xlarge" - | "c3.large" - | "c3.xlarge" - | "c3.2xlarge" - | "c3.4xlarge" - | "c3.8xlarge" - | "c4.large" - | "c4.xlarge" - | "c4.2xlarge" - | "c4.4xlarge" - | "c4.8xlarge" - | "c5.large" - | "c5.xlarge" - | "c5.2xlarge" - | "c5.4xlarge" - | "c5.9xlarge" - | "c5.12xlarge" - | "c5.18xlarge" - | "c5.24xlarge" - | "c5.metal" - | "c5a.large" - | "c5a.xlarge" - | "c5a.2xlarge" - | "c5a.4xlarge" - | "c5a.8xlarge" - | "c5a.12xlarge" - | "c5a.16xlarge" - | "c5a.24xlarge" - | "c5ad.large" - | "c5ad.xlarge" - | "c5ad.2xlarge" - | "c5ad.4xlarge" - | "c5ad.8xlarge" - | "c5ad.12xlarge" - | "c5ad.16xlarge" - | "c5ad.24xlarge" - | "c5d.large" - | "c5d.xlarge" - | "c5d.2xlarge" - | "c5d.4xlarge" - | "c5d.9xlarge" - | "c5d.12xlarge" - | "c5d.18xlarge" - | "c5d.24xlarge" - | "c5d.metal" - | "c5n.large" - | "c5n.xlarge" - | "c5n.2xlarge" - | "c5n.4xlarge" - | "c5n.9xlarge" - | "c5n.18xlarge" - | "c5n.metal" - | "c6g.medium" - | "c6g.large" - | "c6g.xlarge" - | "c6g.2xlarge" - | "c6g.4xlarge" - | "c6g.8xlarge" - | "c6g.12xlarge" - | "c6g.16xlarge" - | "c6g.metal" - | "c6gd.medium" - | "c6gd.large" - | "c6gd.xlarge" - | "c6gd.2xlarge" - | "c6gd.4xlarge" - | "c6gd.8xlarge" - | "c6gd.12xlarge" - | "c6gd.16xlarge" - | "c6gd.metal" - | "c6gn.medium" - | "c6gn.large" - | "c6gn.xlarge" - | "c6gn.2xlarge" - | "c6gn.4xlarge" - | "c6gn.8xlarge" - | "c6gn.12xlarge" - | "c6gn.16xlarge" - | "c6i.large" - | "c6i.xlarge" - | "c6i.2xlarge" - | "c6i.4xlarge" - | "c6i.8xlarge" - | "c6i.12xlarge" - | "c6i.16xlarge" - | "c6i.24xlarge" - | "c6i.32xlarge" - | "c6i.metal" - | "cc1.4xlarge" - | "cc2.8xlarge" - | "cg1.4xlarge" - | "cr1.8xlarge" - | "d2.xlarge" - | "d2.2xlarge" - | "d2.4xlarge" - | "d2.8xlarge" - | "d3.xlarge" - | "d3.2xlarge" - | "d3.4xlarge" - | "d3.8xlarge" - | "d3en.xlarge" - | "d3en.2xlarge" - | "d3en.4xlarge" - | "d3en.6xlarge" - | "d3en.8xlarge" - | "d3en.12xlarge" - | "dl1.24xlarge" - | "f1.2xlarge" - | "f1.4xlarge" - | "f1.16xlarge" - | "g2.2xlarge" - | "g2.8xlarge" - | "g3.4xlarge" - | "g3.8xlarge" - | "g3.16xlarge" - | "g3s.xlarge" - | "g4ad.xlarge" - | "g4ad.2xlarge" - | "g4ad.4xlarge" - | "g4ad.8xlarge" - | "g4ad.16xlarge" - | "g4dn.xlarge" - | "g4dn.2xlarge" - | "g4dn.4xlarge" - | "g4dn.8xlarge" - | "g4dn.12xlarge" - | "g4dn.16xlarge" - | "g4dn.metal" - | "g5.xlarge" - | "g5.2xlarge" - | "g5.4xlarge" - | "g5.8xlarge" - | "g5.12xlarge" - | "g5.16xlarge" - | "g5.24xlarge" - | "g5.48xlarge" - | "g5g.xlarge" - | "g5g.2xlarge" - | "g5g.4xlarge" - | "g5g.8xlarge" - | "g5g.16xlarge" - | "g5g.metal" - | "hi1.4xlarge" - | "hpc6a.48xlarge" - | "hs1.8xlarge" - | "h1.2xlarge" - | "h1.4xlarge" - | "h1.8xlarge" - | "h1.16xlarge" - | "i2.xlarge" - | "i2.2xlarge" - | "i2.4xlarge" - | "i2.8xlarge" - | "i3.large" - | "i3.xlarge" - | "i3.2xlarge" - | "i3.4xlarge" - | "i3.8xlarge" - | "i3.16xlarge" - | "i3.metal" - | "i3en.large" - | "i3en.xlarge" - | "i3en.2xlarge" - | "i3en.3xlarge" - | "i3en.6xlarge" - | "i3en.12xlarge" - | "i3en.24xlarge" - | "i3en.metal" - | "im4gn.large" - | "im4gn.xlarge" - | "im4gn.2xlarge" - | "im4gn.4xlarge" - | "im4gn.8xlarge" - | "im4gn.16xlarge" - | "inf1.xlarge" - | "inf1.2xlarge" - | "inf1.6xlarge" - | "inf1.24xlarge" - | "is4gen.medium" - | "is4gen.large" - | "is4gen.xlarge" - | "is4gen.2xlarge" - | "is4gen.4xlarge" - | "is4gen.8xlarge" - | "m1.small" - | "m1.medium" - | "m1.large" - | "m1.xlarge" - | "m2.xlarge" - | "m2.2xlarge" - | "m2.4xlarge" - | "m3.medium" - | "m3.large" - | "m3.xlarge" - | "m3.2xlarge" - | "m4.large" - | "m4.xlarge" - | "m4.2xlarge" - | "m4.4xlarge" - | "m4.10xlarge" - | "m4.16xlarge" - | "m5.large" - | "m5.xlarge" - | "m5.2xlarge" - | "m5.4xlarge" - | "m5.8xlarge" - | "m5.12xlarge" - | "m5.16xlarge" - | "m5.24xlarge" - | "m5.metal" - | "m5a.large" - | "m5a.xlarge" - | "m5a.2xlarge" - | "m5a.4xlarge" - | "m5a.8xlarge" - | "m5a.12xlarge" - | "m5a.16xlarge" - | "m5a.24xlarge" - | "m5ad.large" - | "m5ad.xlarge" - | "m5ad.2xlarge" - | "m5ad.4xlarge" - | "m5ad.8xlarge" - | "m5ad.12xlarge" - | "m5ad.16xlarge" - | "m5ad.24xlarge" - | "m5d.large" - | "m5d.xlarge" - | "m5d.2xlarge" - | "m5d.4xlarge" - | "m5d.8xlarge" - | "m5d.12xlarge" - | "m5d.16xlarge" - | "m5d.24xlarge" - | "m5d.metal" - | "m5dn.large" - | "m5dn.xlarge" - | "m5dn.2xlarge" - | "m5dn.4xlarge" - | "m5dn.8xlarge" - | "m5dn.12xlarge" - | "m5dn.16xlarge" - | "m5dn.24xlarge" - | "m5dn.metal" - | "m5n.large" - | "m5n.xlarge" - | "m5n.2xlarge" - | "m5n.4xlarge" - | "m5n.8xlarge" - | "m5n.12xlarge" - | "m5n.16xlarge" - | "m5n.24xlarge" - | "m5n.metal" - | "m5zn.large" - | "m5zn.xlarge" - | "m5zn.2xlarge" - | "m5zn.3xlarge" - | "m5zn.6xlarge" - | "m5zn.12xlarge" - | "m5zn.metal" - | "m6a.large" - | "m6a.xlarge" - | "m6a.2xlarge" - | "m6a.4xlarge" - | "m6a.8xlarge" - | "m6a.12xlarge" - | "m6a.16xlarge" - | "m6a.24xlarge" - | "m6a.32xlarge" - | "m6a.48xlarge" - | "m6g.metal" - | "m6g.medium" - | "m6g.large" - | "m6g.xlarge" - | "m6g.2xlarge" - | "m6g.4xlarge" - | "m6g.8xlarge" - | "m6g.12xlarge" - | "m6g.16xlarge" - | "m6gd.metal" - | "m6gd.medium" - | "m6gd.large" - | "m6gd.xlarge" - | "m6gd.2xlarge" - | "m6gd.4xlarge" - | "m6gd.8xlarge" - | "m6gd.12xlarge" - | "m6gd.16xlarge" - | "m6i.large" - | "m6i.xlarge" - | "m6i.2xlarge" - | "m6i.4xlarge" - | "m6i.8xlarge" - | "m6i.12xlarge" - | "m6i.16xlarge" - | "m6i.24xlarge" - | "m6i.32xlarge" - | "m6i.metal" - | "mac1.metal" - | "p2.xlarge" - | "p2.8xlarge" - | "p2.16xlarge" - | "p3.2xlarge" - | "p3.8xlarge" - | "p3.16xlarge" - | "p3dn.24xlarge" - | "p4d.24xlarge" - | "r3.large" - | "r3.xlarge" - | "r3.2xlarge" - | "r3.4xlarge" - | "r3.8xlarge" - | "r4.large" - | "r4.xlarge" - | "r4.2xlarge" - | "r4.4xlarge" - | "r4.8xlarge" - | "r4.16xlarge" - | "r5.large" - | "r5.xlarge" - | "r5.2xlarge" - | "r5.4xlarge" - | "r5.8xlarge" - | "r5.12xlarge" - | "r5.16xlarge" - | "r5.24xlarge" - | "r5.metal" - | "r5a.large" - | "r5a.xlarge" - | "r5a.2xlarge" - | "r5a.4xlarge" - | "r5a.8xlarge" - | "r5a.12xlarge" - | "r5a.16xlarge" - | "r5a.24xlarge" - | "r5ad.large" - | "r5ad.xlarge" - | "r5ad.2xlarge" - | "r5ad.4xlarge" - | "r5ad.8xlarge" - | "r5ad.12xlarge" - | "r5ad.16xlarge" - | "r5ad.24xlarge" - | "r5b.large" - | "r5b.xlarge" - | "r5b.2xlarge" - | "r5b.4xlarge" - | "r5b.8xlarge" - | "r5b.12xlarge" - | "r5b.16xlarge" - | "r5b.24xlarge" - | "r5b.metal" - | "r5d.large" - | "r5d.xlarge" - | "r5d.2xlarge" - | "r5d.4xlarge" - | "r5d.8xlarge" - | "r5d.12xlarge" - | "r5d.16xlarge" - | "r5d.24xlarge" - | "r5d.metal" - | "r5dn.large" - | "r5dn.xlarge" - | "r5dn.2xlarge" - | "r5dn.4xlarge" - | "r5dn.8xlarge" - | "r5dn.12xlarge" - | "r5dn.16xlarge" - | "r5dn.24xlarge" - | "r5dn.metal" - | "r5n.large" - | "r5n.xlarge" - | "r5n.2xlarge" - | "r5n.4xlarge" - | "r5n.8xlarge" - | "r5n.12xlarge" - | "r5n.16xlarge" - | "r5n.24xlarge" - | "r5n.metal" - | "r6g.medium" - | "r6g.large" - | "r6g.xlarge" - | "r6g.2xlarge" - | "r6g.4xlarge" - | "r6g.8xlarge" - | "r6g.12xlarge" - | "r6g.16xlarge" - | "r6g.metal" - | "r6gd.medium" - | "r6gd.large" - | "r6gd.xlarge" - | "r6gd.2xlarge" - | "r6gd.4xlarge" - | "r6gd.8xlarge" - | "r6gd.12xlarge" - | "r6gd.16xlarge" - | "r6gd.metal" - | "r6i.large" - | "r6i.xlarge" - | "r6i.2xlarge" - | "r6i.4xlarge" - | "r6i.8xlarge" - | "r6i.12xlarge" - | "r6i.16xlarge" - | "r6i.24xlarge" - | "r6i.32xlarge" - | "r6i.metal" - | "t1.micro" - | "t2.nano" - | "t2.micro" - | "t2.small" - | "t2.medium" - | "t2.large" - | "t2.xlarge" - | "t2.2xlarge" - | "t3.nano" - | "t3.micro" - | "t3.small" - | "t3.medium" - | "t3.large" - | "t3.xlarge" - | "t3.2xlarge" - | "t3a.nano" - | "t3a.micro" - | "t3a.small" - | "t3a.medium" - | "t3a.large" - | "t3a.xlarge" - | "t3a.2xlarge" - | "t4g.nano" - | "t4g.micro" - | "t4g.small" - | "t4g.medium" - | "t4g.large" - | "t4g.xlarge" - | "t4g.2xlarge" - | "u-6tb1.56xlarge" - | "u-6tb1.112xlarge" - | "u-9tb1.112xlarge" - | "u-12tb1.112xlarge" - | "u-6tb1.metal" - | "u-9tb1.metal" - | "u-12tb1.metal" - | "u-18tb1.metal" - | "u-24tb1.metal" - | "vt1.3xlarge" - | "vt1.6xlarge" - | "vt1.24xlarge" - | "x1.16xlarge" - | "x1.32xlarge" - | "x1e.xlarge" - | "x1e.2xlarge" - | "x1e.4xlarge" - | "x1e.8xlarge" - | "x1e.16xlarge" - | "x1e.32xlarge" - | "x2iezn.2xlarge" - | "x2iezn.4xlarge" - | "x2iezn.6xlarge" - | "x2iezn.8xlarge" - | "x2iezn.12xlarge" - | "x2iezn.metal" - | "x2gd.medium" - | "x2gd.large" - | "x2gd.xlarge" - | "x2gd.2xlarge" - | "x2gd.4xlarge" - | "x2gd.8xlarge" - | "x2gd.12xlarge" - | "x2gd.16xlarge" - | "x2gd.metal" - | "z1d.large" - | "z1d.xlarge" - | "z1d.2xlarge" - | "z1d.3xlarge" - | "z1d.6xlarge" - | "z1d.12xlarge" - | "z1d.metal" - | "x2idn.16xlarge" - | "x2idn.24xlarge" - | "x2idn.32xlarge" - | "x2iedn.xlarge" - | "x2iedn.2xlarge" - | "x2iedn.4xlarge" - | "x2iedn.8xlarge" - | "x2iedn.16xlarge" - | "x2iedn.24xlarge" - | "x2iedn.32xlarge" - | "c6a.large" - | "c6a.xlarge" - | "c6a.2xlarge" - | "c6a.4xlarge" - | "c6a.8xlarge" - | "c6a.12xlarge" - | "c6a.16xlarge" - | "c6a.24xlarge" - | "c6a.32xlarge" - | "c6a.48xlarge" - | "c6a.metal" - | "m6a.metal" - | "i4i.large" - | "i4i.xlarge" - | "i4i.2xlarge" - | "i4i.4xlarge" - | "i4i.8xlarge" - | "i4i.16xlarge" - | "i4i.32xlarge" - | "i4i.metal" - | "x2idn.metal" - | "x2iedn.metal" - | "c7g.medium" - | "c7g.large" - | "c7g.xlarge" - | "c7g.2xlarge" - | "c7g.4xlarge" - | "c7g.8xlarge" - | "c7g.12xlarge" - | "c7g.16xlarge" - | "mac2.metal" - | "c6id.large" - | "c6id.xlarge" - | "c6id.2xlarge" - | "c6id.4xlarge" - | "c6id.8xlarge" - | "c6id.12xlarge" - | "c6id.16xlarge" - | "c6id.24xlarge" - | "c6id.32xlarge" - | "c6id.metal" - | "m6id.large" - | "m6id.xlarge" - | "m6id.2xlarge" - | "m6id.4xlarge" - | "m6id.8xlarge" - | "m6id.12xlarge" - | "m6id.16xlarge" - | "m6id.24xlarge" - | "m6id.32xlarge" - | "m6id.metal" - | "r6id.large" - | "r6id.xlarge" - | "r6id.2xlarge" - | "r6id.4xlarge" - | "r6id.8xlarge" - | "r6id.12xlarge" - | "r6id.16xlarge" - | "r6id.24xlarge" - | "r6id.32xlarge" - | "r6id.metal" - | "r6a.large" - | "r6a.xlarge" - | "r6a.2xlarge" - | "r6a.4xlarge" - | "r6a.8xlarge" - | "r6a.12xlarge" - | "r6a.16xlarge" - | "r6a.24xlarge" - | "r6a.32xlarge" - | "r6a.48xlarge" - | "r6a.metal" - | "p4de.24xlarge" - | "u-3tb1.56xlarge" - | "u-18tb1.112xlarge" - | "u-24tb1.112xlarge" - | "trn1.2xlarge" - | "trn1.32xlarge" - | "hpc6id.32xlarge" - | "c6in.large" - | "c6in.xlarge" - | "c6in.2xlarge" - | "c6in.4xlarge" - | "c6in.8xlarge" - | "c6in.12xlarge" - | "c6in.16xlarge" - | "c6in.24xlarge" - | "c6in.32xlarge" - | "m6in.large" - | "m6in.xlarge" - | "m6in.2xlarge" - | "m6in.4xlarge" - | "m6in.8xlarge" - | "m6in.12xlarge" - | "m6in.16xlarge" - | "m6in.24xlarge" - | "m6in.32xlarge" - | "m6idn.large" - | "m6idn.xlarge" - | "m6idn.2xlarge" - | "m6idn.4xlarge" - | "m6idn.8xlarge" - | "m6idn.12xlarge" - | "m6idn.16xlarge" - | "m6idn.24xlarge" - | "m6idn.32xlarge" - | "r6in.large" - | "r6in.xlarge" - | "r6in.2xlarge" - | "r6in.4xlarge" - | "r6in.8xlarge" - | "r6in.12xlarge" - | "r6in.16xlarge" - | "r6in.24xlarge" - | "r6in.32xlarge" - | "r6idn.large" - | "r6idn.xlarge" - | "r6idn.2xlarge" - | "r6idn.4xlarge" - | "r6idn.8xlarge" - | "r6idn.12xlarge" - | "r6idn.16xlarge" - | "r6idn.24xlarge" - | "r6idn.32xlarge" - | "c7g.metal" - | "m7g.medium" - | "m7g.large" - | "m7g.xlarge" - | "m7g.2xlarge" - | "m7g.4xlarge" - | "m7g.8xlarge" - | "m7g.12xlarge" - | "m7g.16xlarge" - | "m7g.metal" - | "r7g.medium" - | "r7g.large" - | "r7g.xlarge" - | "r7g.2xlarge" - | "r7g.4xlarge" - | "r7g.8xlarge" - | "r7g.12xlarge" - | "r7g.16xlarge" - | "r7g.metal" - | "c6in.metal" - | "m6in.metal" - | "m6idn.metal" - | "r6in.metal" - | "r6idn.metal" - | "inf2.xlarge" - | "inf2.8xlarge" - | "inf2.24xlarge" - | "inf2.48xlarge" - | "trn1n.32xlarge" - | "i4g.large" - | "i4g.xlarge" - | "i4g.2xlarge" - | "i4g.4xlarge" - | "i4g.8xlarge" - | "i4g.16xlarge" - | "hpc7g.4xlarge" - | "hpc7g.8xlarge" - | "hpc7g.16xlarge" - | "c7gn.medium" - | "c7gn.large" - | "c7gn.xlarge" - | "c7gn.2xlarge" - | "c7gn.4xlarge" - | "c7gn.8xlarge" - | "c7gn.12xlarge" - | "c7gn.16xlarge" - | "p5.48xlarge" - | "m7i.large" - | "m7i.xlarge" - | "m7i.2xlarge" - | "m7i.4xlarge" - | "m7i.8xlarge" - | "m7i.12xlarge" - | "m7i.16xlarge" - | "m7i.24xlarge" - | "m7i.48xlarge" - | "m7i-flex.large" - | "m7i-flex.xlarge" - | "m7i-flex.2xlarge" - | "m7i-flex.4xlarge" - | "m7i-flex.8xlarge" - | "m7a.medium" - | "m7a.large" - | "m7a.xlarge" - | "m7a.2xlarge" - | "m7a.4xlarge" - | "m7a.8xlarge" - | "m7a.12xlarge" - | "m7a.16xlarge" - | "m7a.24xlarge" - | "m7a.32xlarge" - | "m7a.48xlarge" - | "m7a.metal-48xl" - | "hpc7a.12xlarge" - | "hpc7a.24xlarge" - | "hpc7a.48xlarge" - | "hpc7a.96xlarge" - | "c7gd.medium" - | "c7gd.large" - | "c7gd.xlarge" - | "c7gd.2xlarge" - | "c7gd.4xlarge" - | "c7gd.8xlarge" - | "c7gd.12xlarge" - | "c7gd.16xlarge" - | "m7gd.medium" - | "m7gd.large" - | "m7gd.xlarge" - | "m7gd.2xlarge" - | "m7gd.4xlarge" - | "m7gd.8xlarge" - | "m7gd.12xlarge" - | "m7gd.16xlarge" - | "r7gd.medium" - | "r7gd.large" - | "r7gd.xlarge" - | "r7gd.2xlarge" - | "r7gd.4xlarge" - | "r7gd.8xlarge" - | "r7gd.12xlarge" - | "r7gd.16xlarge" - | "r7a.medium" - | "r7a.large" - | "r7a.xlarge" - | "r7a.2xlarge" - | "r7a.4xlarge" - | "r7a.8xlarge" - | "r7a.12xlarge" - | "r7a.16xlarge" - | "r7a.24xlarge" - | "r7a.32xlarge" - | "r7a.48xlarge" - | "c7i.large" - | "c7i.xlarge" - | "c7i.2xlarge" - | "c7i.4xlarge" - | "c7i.8xlarge" - | "c7i.12xlarge" - | "c7i.16xlarge" - | "c7i.24xlarge" - | "c7i.48xlarge" - | "mac2-m2pro.metal" - | "r7iz.large" - | "r7iz.xlarge" - | "r7iz.2xlarge" - | "r7iz.4xlarge" - | "r7iz.8xlarge" - | "r7iz.12xlarge" - | "r7iz.16xlarge" - | "r7iz.32xlarge" - | "c7a.medium" - | "c7a.large" - | "c7a.xlarge" - | "c7a.2xlarge" - | "c7a.4xlarge" - | "c7a.8xlarge" - | "c7a.12xlarge" - | "c7a.16xlarge" - | "c7a.24xlarge" - | "c7a.32xlarge" - | "c7a.48xlarge" - | "c7a.metal-48xl" - | "r7a.metal-48xl" - | "r7i.large" - | "r7i.xlarge" - | "r7i.2xlarge" - | "r7i.4xlarge" - | "r7i.8xlarge" - | "r7i.12xlarge" - | "r7i.16xlarge" - | "r7i.24xlarge" - | "r7i.48xlarge" - | "dl2q.24xlarge" - | "mac2-m2.metal" - | "i4i.12xlarge" - | "i4i.24xlarge" - | "c7i.metal-24xl" - | "c7i.metal-48xl" - | "m7i.metal-24xl" - | "m7i.metal-48xl" - | "r7i.metal-24xl" - | "r7i.metal-48xl" - | "r7iz.metal-16xl" - | "r7iz.metal-32xl" - | "c7gd.metal" - | "m7gd.metal" - | "r7gd.metal" - | "g6.xlarge" - | "g6.2xlarge" - | "g6.4xlarge" - | "g6.8xlarge" - | "g6.12xlarge" - | "g6.16xlarge" - | "g6.24xlarge" - | "g6.48xlarge" - | "gr6.4xlarge" - | "gr6.8xlarge" - | "c7i-flex.large" - | "c7i-flex.xlarge" - | "c7i-flex.2xlarge" - | "c7i-flex.4xlarge" - | "c7i-flex.8xlarge" - | "u7i-12tb.224xlarge" - | "u7in-16tb.224xlarge" - | "u7in-24tb.224xlarge" - | "u7in-32tb.224xlarge" - | "u7ib-12tb.224xlarge" - | "c7gn.metal" - | "r8g.medium" - | "r8g.large" - | "r8g.xlarge" - | "r8g.2xlarge" - | "r8g.4xlarge" - | "r8g.8xlarge" - | "r8g.12xlarge" - | "r8g.16xlarge" - | "r8g.24xlarge" - | "r8g.48xlarge" - | "r8g.metal-24xl" - | "r8g.metal-48xl" - | "mac2-m1ultra.metal" - | "g6e.xlarge" - | "g6e.2xlarge" - | "g6e.4xlarge" - | "g6e.8xlarge" - | "g6e.12xlarge" - | "g6e.16xlarge" - | "g6e.24xlarge" - | "g6e.48xlarge" - | "c8g.medium" - | "c8g.large" - | "c8g.xlarge" - | "c8g.2xlarge" - | "c8g.4xlarge" - | "c8g.8xlarge" - | "c8g.12xlarge" - | "c8g.16xlarge" - | "c8g.24xlarge" - | "c8g.48xlarge" - | "c8g.metal-24xl" - | "c8g.metal-48xl" - | "m8g.medium" - | "m8g.large" - | "m8g.xlarge" - | "m8g.2xlarge" - | "m8g.4xlarge" - | "m8g.8xlarge" - | "m8g.12xlarge" - | "m8g.16xlarge" - | "m8g.24xlarge" - | "m8g.48xlarge" - | "m8g.metal-24xl" - | "m8g.metal-48xl" - | "x8g.medium" - | "x8g.large" - | "x8g.xlarge" - | "x8g.2xlarge" - | "x8g.4xlarge" - | "x8g.8xlarge" - | "x8g.12xlarge" - | "x8g.16xlarge" - | "x8g.24xlarge" - | "x8g.48xlarge" - | "x8g.metal-24xl" - | "x8g.metal-48xl" - | "i7ie.large" - | "i7ie.xlarge" - | "i7ie.2xlarge" - | "i7ie.3xlarge" - | "i7ie.6xlarge" - | "i7ie.12xlarge" - | "i7ie.18xlarge" - | "i7ie.24xlarge" - | "i7ie.48xlarge" - | "i8g.large" - | "i8g.xlarge" - | "i8g.2xlarge" - | "i8g.4xlarge" - | "i8g.8xlarge" - | "i8g.12xlarge" - | "i8g.16xlarge" - | "i8g.24xlarge" - | "i8g.metal-24xl" - | "u7i-6tb.112xlarge" - | "u7i-8tb.112xlarge" - | "u7inh-32tb.480xlarge" - | "p5e.48xlarge" - | "p5en.48xlarge" - | "f2.12xlarge" - | "f2.48xlarge" - | "trn2.48xlarge" - | "c7i-flex.12xlarge" - | "c7i-flex.16xlarge" - | "m7i-flex.12xlarge" - | "m7i-flex.16xlarge" - | "i7ie.metal-24xl" - | "i7ie.metal-48xl" - | "i8g.48xlarge" - | "c8gd.medium" - | "c8gd.large" - | "c8gd.xlarge" - | "c8gd.2xlarge" - | "c8gd.4xlarge" - | "c8gd.8xlarge" - | "c8gd.12xlarge" - | "c8gd.16xlarge" - | "c8gd.24xlarge" - | "c8gd.48xlarge" - | "c8gd.metal-24xl" - | "c8gd.metal-48xl" - | "i7i.large" - | "i7i.xlarge" - | "i7i.2xlarge" - | "i7i.4xlarge" - | "i7i.8xlarge" - | "i7i.12xlarge" - | "i7i.16xlarge" - | "i7i.24xlarge" - | "i7i.48xlarge" - | "i7i.metal-24xl" - | "i7i.metal-48xl" - | "p6-b200.48xlarge" - | "m8gd.medium" - | "m8gd.large" - | "m8gd.xlarge" - | "m8gd.2xlarge" - | "m8gd.4xlarge" - | "m8gd.8xlarge" - | "m8gd.12xlarge" - | "m8gd.16xlarge" - | "m8gd.24xlarge" - | "m8gd.48xlarge" - | "m8gd.metal-24xl" - | "m8gd.metal-48xl" - | "r8gd.medium" - | "r8gd.large" - | "r8gd.xlarge" - | "r8gd.2xlarge" - | "r8gd.4xlarge" - | "r8gd.8xlarge" - | "r8gd.12xlarge" - | "r8gd.16xlarge" - | "r8gd.24xlarge" - | "r8gd.48xlarge" - | "r8gd.metal-24xl" - | "r8gd.metal-48xl" - | "c8gn.medium" - | "c8gn.large" - | "c8gn.xlarge" - | "c8gn.2xlarge" - | "c8gn.4xlarge" - | "c8gn.8xlarge" - | "c8gn.12xlarge" - | "c8gn.16xlarge" - | "c8gn.24xlarge" - | "c8gn.48xlarge" - | "c8gn.metal-24xl" - | "c8gn.metal-48xl" - | "f2.6xlarge" - | "p6e-gb200.36xlarge" - | "g6f.large" - | "g6f.xlarge" - | "g6f.2xlarge" - | "g6f.4xlarge" - | "gr6f.4xlarge" - | "p5.4xlarge" - | "r8i.large" - | "r8i.xlarge" - | "r8i.2xlarge" - | "r8i.4xlarge" - | "r8i.8xlarge" - | "r8i.12xlarge" - | "r8i.16xlarge" - | "r8i.24xlarge" - | "r8i.32xlarge" - | "r8i.48xlarge" - | "r8i.96xlarge" - | "r8i.metal-48xl" - | "r8i.metal-96xl" - | "r8i-flex.large" - | "r8i-flex.xlarge" - | "r8i-flex.2xlarge" - | "r8i-flex.4xlarge" - | "r8i-flex.8xlarge" - | "r8i-flex.12xlarge" - | "r8i-flex.16xlarge" - | "m8i.large" - | "m8i.xlarge" - | "m8i.2xlarge" - | "m8i.4xlarge" - | "m8i.8xlarge" - | "m8i.12xlarge" - | "m8i.16xlarge" - | "m8i.24xlarge" - | "m8i.32xlarge" - | "m8i.48xlarge" - | "m8i.96xlarge" - | "m8i.metal-48xl" - | "m8i.metal-96xl" - | "m8i-flex.large" - | "m8i-flex.xlarge" - | "m8i-flex.2xlarge" - | "m8i-flex.4xlarge" - | "m8i-flex.8xlarge" - | "m8i-flex.12xlarge" - | "m8i-flex.16xlarge" - | "i8ge.large" - | "i8ge.xlarge" - | "i8ge.2xlarge" - | "i8ge.3xlarge" - | "i8ge.6xlarge" - | "i8ge.12xlarge" - | "i8ge.18xlarge" - | "i8ge.24xlarge" - | "i8ge.48xlarge" - | "i8ge.metal-24xl" - | "i8ge.metal-48xl" - | "mac-m4.metal" - | "mac-m4pro.metal" - | "r8gn.medium" - | "r8gn.large" - | "r8gn.xlarge" - | "r8gn.2xlarge" - | "r8gn.4xlarge" - | "r8gn.8xlarge" - | "r8gn.12xlarge" - | "r8gn.16xlarge" - | "r8gn.24xlarge" - | "r8gn.48xlarge" - | "r8gn.metal-24xl" - | "r8gn.metal-48xl" - | "c8i.large" - | "c8i.xlarge" - | "c8i.2xlarge" - | "c8i.4xlarge" - | "c8i.8xlarge" - | "c8i.12xlarge" - | "c8i.16xlarge" - | "c8i.24xlarge" - | "c8i.32xlarge" - | "c8i.48xlarge" - | "c8i.96xlarge" - | "c8i.metal-48xl" - | "c8i.metal-96xl" - | "c8i-flex.large" - | "c8i-flex.xlarge" - | "c8i-flex.2xlarge" - | "c8i-flex.4xlarge" - | "c8i-flex.8xlarge" - | "c8i-flex.12xlarge" - | "c8i-flex.16xlarge" - | "r8gb.medium" - | "r8gb.large" - | "r8gb.xlarge" - | "r8gb.2xlarge" - | "r8gb.4xlarge" - | "r8gb.8xlarge" - | "r8gb.12xlarge" - | "r8gb.16xlarge" - | "r8gb.24xlarge" - | "r8gb.metal-24xl" - | "m8a.medium" - | "m8a.large" - | "m8a.xlarge" - | "m8a.2xlarge" - | "m8a.4xlarge" - | "m8a.8xlarge" - | "m8a.12xlarge" - | "m8a.16xlarge" - | "m8a.24xlarge" - | "m8a.48xlarge" - | "m8a.metal-24xl" - | "m8a.metal-48xl" - | "trn2.3xlarge"; +export type InstanceType = "a1.medium" | "a1.large" | "a1.xlarge" | "a1.2xlarge" | "a1.4xlarge" | "a1.metal" | "c1.medium" | "c1.xlarge" | "c3.large" | "c3.xlarge" | "c3.2xlarge" | "c3.4xlarge" | "c3.8xlarge" | "c4.large" | "c4.xlarge" | "c4.2xlarge" | "c4.4xlarge" | "c4.8xlarge" | "c5.large" | "c5.xlarge" | "c5.2xlarge" | "c5.4xlarge" | "c5.9xlarge" | "c5.12xlarge" | "c5.18xlarge" | "c5.24xlarge" | "c5.metal" | "c5a.large" | "c5a.xlarge" | "c5a.2xlarge" | "c5a.4xlarge" | "c5a.8xlarge" | "c5a.12xlarge" | "c5a.16xlarge" | "c5a.24xlarge" | "c5ad.large" | "c5ad.xlarge" | "c5ad.2xlarge" | "c5ad.4xlarge" | "c5ad.8xlarge" | "c5ad.12xlarge" | "c5ad.16xlarge" | "c5ad.24xlarge" | "c5d.large" | "c5d.xlarge" | "c5d.2xlarge" | "c5d.4xlarge" | "c5d.9xlarge" | "c5d.12xlarge" | "c5d.18xlarge" | "c5d.24xlarge" | "c5d.metal" | "c5n.large" | "c5n.xlarge" | "c5n.2xlarge" | "c5n.4xlarge" | "c5n.9xlarge" | "c5n.18xlarge" | "c5n.metal" | "c6g.medium" | "c6g.large" | "c6g.xlarge" | "c6g.2xlarge" | "c6g.4xlarge" | "c6g.8xlarge" | "c6g.12xlarge" | "c6g.16xlarge" | "c6g.metal" | "c6gd.medium" | "c6gd.large" | "c6gd.xlarge" | "c6gd.2xlarge" | "c6gd.4xlarge" | "c6gd.8xlarge" | "c6gd.12xlarge" | "c6gd.16xlarge" | "c6gd.metal" | "c6gn.medium" | "c6gn.large" | "c6gn.xlarge" | "c6gn.2xlarge" | "c6gn.4xlarge" | "c6gn.8xlarge" | "c6gn.12xlarge" | "c6gn.16xlarge" | "c6i.large" | "c6i.xlarge" | "c6i.2xlarge" | "c6i.4xlarge" | "c6i.8xlarge" | "c6i.12xlarge" | "c6i.16xlarge" | "c6i.24xlarge" | "c6i.32xlarge" | "c6i.metal" | "cc1.4xlarge" | "cc2.8xlarge" | "cg1.4xlarge" | "cr1.8xlarge" | "d2.xlarge" | "d2.2xlarge" | "d2.4xlarge" | "d2.8xlarge" | "d3.xlarge" | "d3.2xlarge" | "d3.4xlarge" | "d3.8xlarge" | "d3en.xlarge" | "d3en.2xlarge" | "d3en.4xlarge" | "d3en.6xlarge" | "d3en.8xlarge" | "d3en.12xlarge" | "dl1.24xlarge" | "f1.2xlarge" | "f1.4xlarge" | "f1.16xlarge" | "g2.2xlarge" | "g2.8xlarge" | "g3.4xlarge" | "g3.8xlarge" | "g3.16xlarge" | "g3s.xlarge" | "g4ad.xlarge" | "g4ad.2xlarge" | "g4ad.4xlarge" | "g4ad.8xlarge" | "g4ad.16xlarge" | "g4dn.xlarge" | "g4dn.2xlarge" | "g4dn.4xlarge" | "g4dn.8xlarge" | "g4dn.12xlarge" | "g4dn.16xlarge" | "g4dn.metal" | "g5.xlarge" | "g5.2xlarge" | "g5.4xlarge" | "g5.8xlarge" | "g5.12xlarge" | "g5.16xlarge" | "g5.24xlarge" | "g5.48xlarge" | "g5g.xlarge" | "g5g.2xlarge" | "g5g.4xlarge" | "g5g.8xlarge" | "g5g.16xlarge" | "g5g.metal" | "hi1.4xlarge" | "hpc6a.48xlarge" | "hs1.8xlarge" | "h1.2xlarge" | "h1.4xlarge" | "h1.8xlarge" | "h1.16xlarge" | "i2.xlarge" | "i2.2xlarge" | "i2.4xlarge" | "i2.8xlarge" | "i3.large" | "i3.xlarge" | "i3.2xlarge" | "i3.4xlarge" | "i3.8xlarge" | "i3.16xlarge" | "i3.metal" | "i3en.large" | "i3en.xlarge" | "i3en.2xlarge" | "i3en.3xlarge" | "i3en.6xlarge" | "i3en.12xlarge" | "i3en.24xlarge" | "i3en.metal" | "im4gn.large" | "im4gn.xlarge" | "im4gn.2xlarge" | "im4gn.4xlarge" | "im4gn.8xlarge" | "im4gn.16xlarge" | "inf1.xlarge" | "inf1.2xlarge" | "inf1.6xlarge" | "inf1.24xlarge" | "is4gen.medium" | "is4gen.large" | "is4gen.xlarge" | "is4gen.2xlarge" | "is4gen.4xlarge" | "is4gen.8xlarge" | "m1.small" | "m1.medium" | "m1.large" | "m1.xlarge" | "m2.xlarge" | "m2.2xlarge" | "m2.4xlarge" | "m3.medium" | "m3.large" | "m3.xlarge" | "m3.2xlarge" | "m4.large" | "m4.xlarge" | "m4.2xlarge" | "m4.4xlarge" | "m4.10xlarge" | "m4.16xlarge" | "m5.large" | "m5.xlarge" | "m5.2xlarge" | "m5.4xlarge" | "m5.8xlarge" | "m5.12xlarge" | "m5.16xlarge" | "m5.24xlarge" | "m5.metal" | "m5a.large" | "m5a.xlarge" | "m5a.2xlarge" | "m5a.4xlarge" | "m5a.8xlarge" | "m5a.12xlarge" | "m5a.16xlarge" | "m5a.24xlarge" | "m5ad.large" | "m5ad.xlarge" | "m5ad.2xlarge" | "m5ad.4xlarge" | "m5ad.8xlarge" | "m5ad.12xlarge" | "m5ad.16xlarge" | "m5ad.24xlarge" | "m5d.large" | "m5d.xlarge" | "m5d.2xlarge" | "m5d.4xlarge" | "m5d.8xlarge" | "m5d.12xlarge" | "m5d.16xlarge" | "m5d.24xlarge" | "m5d.metal" | "m5dn.large" | "m5dn.xlarge" | "m5dn.2xlarge" | "m5dn.4xlarge" | "m5dn.8xlarge" | "m5dn.12xlarge" | "m5dn.16xlarge" | "m5dn.24xlarge" | "m5dn.metal" | "m5n.large" | "m5n.xlarge" | "m5n.2xlarge" | "m5n.4xlarge" | "m5n.8xlarge" | "m5n.12xlarge" | "m5n.16xlarge" | "m5n.24xlarge" | "m5n.metal" | "m5zn.large" | "m5zn.xlarge" | "m5zn.2xlarge" | "m5zn.3xlarge" | "m5zn.6xlarge" | "m5zn.12xlarge" | "m5zn.metal" | "m6a.large" | "m6a.xlarge" | "m6a.2xlarge" | "m6a.4xlarge" | "m6a.8xlarge" | "m6a.12xlarge" | "m6a.16xlarge" | "m6a.24xlarge" | "m6a.32xlarge" | "m6a.48xlarge" | "m6g.metal" | "m6g.medium" | "m6g.large" | "m6g.xlarge" | "m6g.2xlarge" | "m6g.4xlarge" | "m6g.8xlarge" | "m6g.12xlarge" | "m6g.16xlarge" | "m6gd.metal" | "m6gd.medium" | "m6gd.large" | "m6gd.xlarge" | "m6gd.2xlarge" | "m6gd.4xlarge" | "m6gd.8xlarge" | "m6gd.12xlarge" | "m6gd.16xlarge" | "m6i.large" | "m6i.xlarge" | "m6i.2xlarge" | "m6i.4xlarge" | "m6i.8xlarge" | "m6i.12xlarge" | "m6i.16xlarge" | "m6i.24xlarge" | "m6i.32xlarge" | "m6i.metal" | "mac1.metal" | "p2.xlarge" | "p2.8xlarge" | "p2.16xlarge" | "p3.2xlarge" | "p3.8xlarge" | "p3.16xlarge" | "p3dn.24xlarge" | "p4d.24xlarge" | "r3.large" | "r3.xlarge" | "r3.2xlarge" | "r3.4xlarge" | "r3.8xlarge" | "r4.large" | "r4.xlarge" | "r4.2xlarge" | "r4.4xlarge" | "r4.8xlarge" | "r4.16xlarge" | "r5.large" | "r5.xlarge" | "r5.2xlarge" | "r5.4xlarge" | "r5.8xlarge" | "r5.12xlarge" | "r5.16xlarge" | "r5.24xlarge" | "r5.metal" | "r5a.large" | "r5a.xlarge" | "r5a.2xlarge" | "r5a.4xlarge" | "r5a.8xlarge" | "r5a.12xlarge" | "r5a.16xlarge" | "r5a.24xlarge" | "r5ad.large" | "r5ad.xlarge" | "r5ad.2xlarge" | "r5ad.4xlarge" | "r5ad.8xlarge" | "r5ad.12xlarge" | "r5ad.16xlarge" | "r5ad.24xlarge" | "r5b.large" | "r5b.xlarge" | "r5b.2xlarge" | "r5b.4xlarge" | "r5b.8xlarge" | "r5b.12xlarge" | "r5b.16xlarge" | "r5b.24xlarge" | "r5b.metal" | "r5d.large" | "r5d.xlarge" | "r5d.2xlarge" | "r5d.4xlarge" | "r5d.8xlarge" | "r5d.12xlarge" | "r5d.16xlarge" | "r5d.24xlarge" | "r5d.metal" | "r5dn.large" | "r5dn.xlarge" | "r5dn.2xlarge" | "r5dn.4xlarge" | "r5dn.8xlarge" | "r5dn.12xlarge" | "r5dn.16xlarge" | "r5dn.24xlarge" | "r5dn.metal" | "r5n.large" | "r5n.xlarge" | "r5n.2xlarge" | "r5n.4xlarge" | "r5n.8xlarge" | "r5n.12xlarge" | "r5n.16xlarge" | "r5n.24xlarge" | "r5n.metal" | "r6g.medium" | "r6g.large" | "r6g.xlarge" | "r6g.2xlarge" | "r6g.4xlarge" | "r6g.8xlarge" | "r6g.12xlarge" | "r6g.16xlarge" | "r6g.metal" | "r6gd.medium" | "r6gd.large" | "r6gd.xlarge" | "r6gd.2xlarge" | "r6gd.4xlarge" | "r6gd.8xlarge" | "r6gd.12xlarge" | "r6gd.16xlarge" | "r6gd.metal" | "r6i.large" | "r6i.xlarge" | "r6i.2xlarge" | "r6i.4xlarge" | "r6i.8xlarge" | "r6i.12xlarge" | "r6i.16xlarge" | "r6i.24xlarge" | "r6i.32xlarge" | "r6i.metal" | "t1.micro" | "t2.nano" | "t2.micro" | "t2.small" | "t2.medium" | "t2.large" | "t2.xlarge" | "t2.2xlarge" | "t3.nano" | "t3.micro" | "t3.small" | "t3.medium" | "t3.large" | "t3.xlarge" | "t3.2xlarge" | "t3a.nano" | "t3a.micro" | "t3a.small" | "t3a.medium" | "t3a.large" | "t3a.xlarge" | "t3a.2xlarge" | "t4g.nano" | "t4g.micro" | "t4g.small" | "t4g.medium" | "t4g.large" | "t4g.xlarge" | "t4g.2xlarge" | "u-6tb1.56xlarge" | "u-6tb1.112xlarge" | "u-9tb1.112xlarge" | "u-12tb1.112xlarge" | "u-6tb1.metal" | "u-9tb1.metal" | "u-12tb1.metal" | "u-18tb1.metal" | "u-24tb1.metal" | "vt1.3xlarge" | "vt1.6xlarge" | "vt1.24xlarge" | "x1.16xlarge" | "x1.32xlarge" | "x1e.xlarge" | "x1e.2xlarge" | "x1e.4xlarge" | "x1e.8xlarge" | "x1e.16xlarge" | "x1e.32xlarge" | "x2iezn.2xlarge" | "x2iezn.4xlarge" | "x2iezn.6xlarge" | "x2iezn.8xlarge" | "x2iezn.12xlarge" | "x2iezn.metal" | "x2gd.medium" | "x2gd.large" | "x2gd.xlarge" | "x2gd.2xlarge" | "x2gd.4xlarge" | "x2gd.8xlarge" | "x2gd.12xlarge" | "x2gd.16xlarge" | "x2gd.metal" | "z1d.large" | "z1d.xlarge" | "z1d.2xlarge" | "z1d.3xlarge" | "z1d.6xlarge" | "z1d.12xlarge" | "z1d.metal" | "x2idn.16xlarge" | "x2idn.24xlarge" | "x2idn.32xlarge" | "x2iedn.xlarge" | "x2iedn.2xlarge" | "x2iedn.4xlarge" | "x2iedn.8xlarge" | "x2iedn.16xlarge" | "x2iedn.24xlarge" | "x2iedn.32xlarge" | "c6a.large" | "c6a.xlarge" | "c6a.2xlarge" | "c6a.4xlarge" | "c6a.8xlarge" | "c6a.12xlarge" | "c6a.16xlarge" | "c6a.24xlarge" | "c6a.32xlarge" | "c6a.48xlarge" | "c6a.metal" | "m6a.metal" | "i4i.large" | "i4i.xlarge" | "i4i.2xlarge" | "i4i.4xlarge" | "i4i.8xlarge" | "i4i.16xlarge" | "i4i.32xlarge" | "i4i.metal" | "x2idn.metal" | "x2iedn.metal" | "c7g.medium" | "c7g.large" | "c7g.xlarge" | "c7g.2xlarge" | "c7g.4xlarge" | "c7g.8xlarge" | "c7g.12xlarge" | "c7g.16xlarge" | "mac2.metal" | "c6id.large" | "c6id.xlarge" | "c6id.2xlarge" | "c6id.4xlarge" | "c6id.8xlarge" | "c6id.12xlarge" | "c6id.16xlarge" | "c6id.24xlarge" | "c6id.32xlarge" | "c6id.metal" | "m6id.large" | "m6id.xlarge" | "m6id.2xlarge" | "m6id.4xlarge" | "m6id.8xlarge" | "m6id.12xlarge" | "m6id.16xlarge" | "m6id.24xlarge" | "m6id.32xlarge" | "m6id.metal" | "r6id.large" | "r6id.xlarge" | "r6id.2xlarge" | "r6id.4xlarge" | "r6id.8xlarge" | "r6id.12xlarge" | "r6id.16xlarge" | "r6id.24xlarge" | "r6id.32xlarge" | "r6id.metal" | "r6a.large" | "r6a.xlarge" | "r6a.2xlarge" | "r6a.4xlarge" | "r6a.8xlarge" | "r6a.12xlarge" | "r6a.16xlarge" | "r6a.24xlarge" | "r6a.32xlarge" | "r6a.48xlarge" | "r6a.metal" | "p4de.24xlarge" | "u-3tb1.56xlarge" | "u-18tb1.112xlarge" | "u-24tb1.112xlarge" | "trn1.2xlarge" | "trn1.32xlarge" | "hpc6id.32xlarge" | "c6in.large" | "c6in.xlarge" | "c6in.2xlarge" | "c6in.4xlarge" | "c6in.8xlarge" | "c6in.12xlarge" | "c6in.16xlarge" | "c6in.24xlarge" | "c6in.32xlarge" | "m6in.large" | "m6in.xlarge" | "m6in.2xlarge" | "m6in.4xlarge" | "m6in.8xlarge" | "m6in.12xlarge" | "m6in.16xlarge" | "m6in.24xlarge" | "m6in.32xlarge" | "m6idn.large" | "m6idn.xlarge" | "m6idn.2xlarge" | "m6idn.4xlarge" | "m6idn.8xlarge" | "m6idn.12xlarge" | "m6idn.16xlarge" | "m6idn.24xlarge" | "m6idn.32xlarge" | "r6in.large" | "r6in.xlarge" | "r6in.2xlarge" | "r6in.4xlarge" | "r6in.8xlarge" | "r6in.12xlarge" | "r6in.16xlarge" | "r6in.24xlarge" | "r6in.32xlarge" | "r6idn.large" | "r6idn.xlarge" | "r6idn.2xlarge" | "r6idn.4xlarge" | "r6idn.8xlarge" | "r6idn.12xlarge" | "r6idn.16xlarge" | "r6idn.24xlarge" | "r6idn.32xlarge" | "c7g.metal" | "m7g.medium" | "m7g.large" | "m7g.xlarge" | "m7g.2xlarge" | "m7g.4xlarge" | "m7g.8xlarge" | "m7g.12xlarge" | "m7g.16xlarge" | "m7g.metal" | "r7g.medium" | "r7g.large" | "r7g.xlarge" | "r7g.2xlarge" | "r7g.4xlarge" | "r7g.8xlarge" | "r7g.12xlarge" | "r7g.16xlarge" | "r7g.metal" | "c6in.metal" | "m6in.metal" | "m6idn.metal" | "r6in.metal" | "r6idn.metal" | "inf2.xlarge" | "inf2.8xlarge" | "inf2.24xlarge" | "inf2.48xlarge" | "trn1n.32xlarge" | "i4g.large" | "i4g.xlarge" | "i4g.2xlarge" | "i4g.4xlarge" | "i4g.8xlarge" | "i4g.16xlarge" | "hpc7g.4xlarge" | "hpc7g.8xlarge" | "hpc7g.16xlarge" | "c7gn.medium" | "c7gn.large" | "c7gn.xlarge" | "c7gn.2xlarge" | "c7gn.4xlarge" | "c7gn.8xlarge" | "c7gn.12xlarge" | "c7gn.16xlarge" | "p5.48xlarge" | "m7i.large" | "m7i.xlarge" | "m7i.2xlarge" | "m7i.4xlarge" | "m7i.8xlarge" | "m7i.12xlarge" | "m7i.16xlarge" | "m7i.24xlarge" | "m7i.48xlarge" | "m7i-flex.large" | "m7i-flex.xlarge" | "m7i-flex.2xlarge" | "m7i-flex.4xlarge" | "m7i-flex.8xlarge" | "m7a.medium" | "m7a.large" | "m7a.xlarge" | "m7a.2xlarge" | "m7a.4xlarge" | "m7a.8xlarge" | "m7a.12xlarge" | "m7a.16xlarge" | "m7a.24xlarge" | "m7a.32xlarge" | "m7a.48xlarge" | "m7a.metal-48xl" | "hpc7a.12xlarge" | "hpc7a.24xlarge" | "hpc7a.48xlarge" | "hpc7a.96xlarge" | "c7gd.medium" | "c7gd.large" | "c7gd.xlarge" | "c7gd.2xlarge" | "c7gd.4xlarge" | "c7gd.8xlarge" | "c7gd.12xlarge" | "c7gd.16xlarge" | "m7gd.medium" | "m7gd.large" | "m7gd.xlarge" | "m7gd.2xlarge" | "m7gd.4xlarge" | "m7gd.8xlarge" | "m7gd.12xlarge" | "m7gd.16xlarge" | "r7gd.medium" | "r7gd.large" | "r7gd.xlarge" | "r7gd.2xlarge" | "r7gd.4xlarge" | "r7gd.8xlarge" | "r7gd.12xlarge" | "r7gd.16xlarge" | "r7a.medium" | "r7a.large" | "r7a.xlarge" | "r7a.2xlarge" | "r7a.4xlarge" | "r7a.8xlarge" | "r7a.12xlarge" | "r7a.16xlarge" | "r7a.24xlarge" | "r7a.32xlarge" | "r7a.48xlarge" | "c7i.large" | "c7i.xlarge" | "c7i.2xlarge" | "c7i.4xlarge" | "c7i.8xlarge" | "c7i.12xlarge" | "c7i.16xlarge" | "c7i.24xlarge" | "c7i.48xlarge" | "mac2-m2pro.metal" | "r7iz.large" | "r7iz.xlarge" | "r7iz.2xlarge" | "r7iz.4xlarge" | "r7iz.8xlarge" | "r7iz.12xlarge" | "r7iz.16xlarge" | "r7iz.32xlarge" | "c7a.medium" | "c7a.large" | "c7a.xlarge" | "c7a.2xlarge" | "c7a.4xlarge" | "c7a.8xlarge" | "c7a.12xlarge" | "c7a.16xlarge" | "c7a.24xlarge" | "c7a.32xlarge" | "c7a.48xlarge" | "c7a.metal-48xl" | "r7a.metal-48xl" | "r7i.large" | "r7i.xlarge" | "r7i.2xlarge" | "r7i.4xlarge" | "r7i.8xlarge" | "r7i.12xlarge" | "r7i.16xlarge" | "r7i.24xlarge" | "r7i.48xlarge" | "dl2q.24xlarge" | "mac2-m2.metal" | "i4i.12xlarge" | "i4i.24xlarge" | "c7i.metal-24xl" | "c7i.metal-48xl" | "m7i.metal-24xl" | "m7i.metal-48xl" | "r7i.metal-24xl" | "r7i.metal-48xl" | "r7iz.metal-16xl" | "r7iz.metal-32xl" | "c7gd.metal" | "m7gd.metal" | "r7gd.metal" | "g6.xlarge" | "g6.2xlarge" | "g6.4xlarge" | "g6.8xlarge" | "g6.12xlarge" | "g6.16xlarge" | "g6.24xlarge" | "g6.48xlarge" | "gr6.4xlarge" | "gr6.8xlarge" | "c7i-flex.large" | "c7i-flex.xlarge" | "c7i-flex.2xlarge" | "c7i-flex.4xlarge" | "c7i-flex.8xlarge" | "u7i-12tb.224xlarge" | "u7in-16tb.224xlarge" | "u7in-24tb.224xlarge" | "u7in-32tb.224xlarge" | "u7ib-12tb.224xlarge" | "c7gn.metal" | "r8g.medium" | "r8g.large" | "r8g.xlarge" | "r8g.2xlarge" | "r8g.4xlarge" | "r8g.8xlarge" | "r8g.12xlarge" | "r8g.16xlarge" | "r8g.24xlarge" | "r8g.48xlarge" | "r8g.metal-24xl" | "r8g.metal-48xl" | "mac2-m1ultra.metal" | "g6e.xlarge" | "g6e.2xlarge" | "g6e.4xlarge" | "g6e.8xlarge" | "g6e.12xlarge" | "g6e.16xlarge" | "g6e.24xlarge" | "g6e.48xlarge" | "c8g.medium" | "c8g.large" | "c8g.xlarge" | "c8g.2xlarge" | "c8g.4xlarge" | "c8g.8xlarge" | "c8g.12xlarge" | "c8g.16xlarge" | "c8g.24xlarge" | "c8g.48xlarge" | "c8g.metal-24xl" | "c8g.metal-48xl" | "m8g.medium" | "m8g.large" | "m8g.xlarge" | "m8g.2xlarge" | "m8g.4xlarge" | "m8g.8xlarge" | "m8g.12xlarge" | "m8g.16xlarge" | "m8g.24xlarge" | "m8g.48xlarge" | "m8g.metal-24xl" | "m8g.metal-48xl" | "x8g.medium" | "x8g.large" | "x8g.xlarge" | "x8g.2xlarge" | "x8g.4xlarge" | "x8g.8xlarge" | "x8g.12xlarge" | "x8g.16xlarge" | "x8g.24xlarge" | "x8g.48xlarge" | "x8g.metal-24xl" | "x8g.metal-48xl" | "i7ie.large" | "i7ie.xlarge" | "i7ie.2xlarge" | "i7ie.3xlarge" | "i7ie.6xlarge" | "i7ie.12xlarge" | "i7ie.18xlarge" | "i7ie.24xlarge" | "i7ie.48xlarge" | "i8g.large" | "i8g.xlarge" | "i8g.2xlarge" | "i8g.4xlarge" | "i8g.8xlarge" | "i8g.12xlarge" | "i8g.16xlarge" | "i8g.24xlarge" | "i8g.metal-24xl" | "u7i-6tb.112xlarge" | "u7i-8tb.112xlarge" | "u7inh-32tb.480xlarge" | "p5e.48xlarge" | "p5en.48xlarge" | "f2.12xlarge" | "f2.48xlarge" | "trn2.48xlarge" | "c7i-flex.12xlarge" | "c7i-flex.16xlarge" | "m7i-flex.12xlarge" | "m7i-flex.16xlarge" | "i7ie.metal-24xl" | "i7ie.metal-48xl" | "i8g.48xlarge" | "c8gd.medium" | "c8gd.large" | "c8gd.xlarge" | "c8gd.2xlarge" | "c8gd.4xlarge" | "c8gd.8xlarge" | "c8gd.12xlarge" | "c8gd.16xlarge" | "c8gd.24xlarge" | "c8gd.48xlarge" | "c8gd.metal-24xl" | "c8gd.metal-48xl" | "i7i.large" | "i7i.xlarge" | "i7i.2xlarge" | "i7i.4xlarge" | "i7i.8xlarge" | "i7i.12xlarge" | "i7i.16xlarge" | "i7i.24xlarge" | "i7i.48xlarge" | "i7i.metal-24xl" | "i7i.metal-48xl" | "p6-b200.48xlarge" | "m8gd.medium" | "m8gd.large" | "m8gd.xlarge" | "m8gd.2xlarge" | "m8gd.4xlarge" | "m8gd.8xlarge" | "m8gd.12xlarge" | "m8gd.16xlarge" | "m8gd.24xlarge" | "m8gd.48xlarge" | "m8gd.metal-24xl" | "m8gd.metal-48xl" | "r8gd.medium" | "r8gd.large" | "r8gd.xlarge" | "r8gd.2xlarge" | "r8gd.4xlarge" | "r8gd.8xlarge" | "r8gd.12xlarge" | "r8gd.16xlarge" | "r8gd.24xlarge" | "r8gd.48xlarge" | "r8gd.metal-24xl" | "r8gd.metal-48xl" | "c8gn.medium" | "c8gn.large" | "c8gn.xlarge" | "c8gn.2xlarge" | "c8gn.4xlarge" | "c8gn.8xlarge" | "c8gn.12xlarge" | "c8gn.16xlarge" | "c8gn.24xlarge" | "c8gn.48xlarge" | "c8gn.metal-24xl" | "c8gn.metal-48xl" | "f2.6xlarge" | "p6e-gb200.36xlarge" | "g6f.large" | "g6f.xlarge" | "g6f.2xlarge" | "g6f.4xlarge" | "gr6f.4xlarge" | "p5.4xlarge" | "r8i.large" | "r8i.xlarge" | "r8i.2xlarge" | "r8i.4xlarge" | "r8i.8xlarge" | "r8i.12xlarge" | "r8i.16xlarge" | "r8i.24xlarge" | "r8i.32xlarge" | "r8i.48xlarge" | "r8i.96xlarge" | "r8i.metal-48xl" | "r8i.metal-96xl" | "r8i-flex.large" | "r8i-flex.xlarge" | "r8i-flex.2xlarge" | "r8i-flex.4xlarge" | "r8i-flex.8xlarge" | "r8i-flex.12xlarge" | "r8i-flex.16xlarge" | "m8i.large" | "m8i.xlarge" | "m8i.2xlarge" | "m8i.4xlarge" | "m8i.8xlarge" | "m8i.12xlarge" | "m8i.16xlarge" | "m8i.24xlarge" | "m8i.32xlarge" | "m8i.48xlarge" | "m8i.96xlarge" | "m8i.metal-48xl" | "m8i.metal-96xl" | "m8i-flex.large" | "m8i-flex.xlarge" | "m8i-flex.2xlarge" | "m8i-flex.4xlarge" | "m8i-flex.8xlarge" | "m8i-flex.12xlarge" | "m8i-flex.16xlarge" | "i8ge.large" | "i8ge.xlarge" | "i8ge.2xlarge" | "i8ge.3xlarge" | "i8ge.6xlarge" | "i8ge.12xlarge" | "i8ge.18xlarge" | "i8ge.24xlarge" | "i8ge.48xlarge" | "i8ge.metal-24xl" | "i8ge.metal-48xl" | "mac-m4.metal" | "mac-m4pro.metal" | "r8gn.medium" | "r8gn.large" | "r8gn.xlarge" | "r8gn.2xlarge" | "r8gn.4xlarge" | "r8gn.8xlarge" | "r8gn.12xlarge" | "r8gn.16xlarge" | "r8gn.24xlarge" | "r8gn.48xlarge" | "r8gn.metal-24xl" | "r8gn.metal-48xl" | "c8i.large" | "c8i.xlarge" | "c8i.2xlarge" | "c8i.4xlarge" | "c8i.8xlarge" | "c8i.12xlarge" | "c8i.16xlarge" | "c8i.24xlarge" | "c8i.32xlarge" | "c8i.48xlarge" | "c8i.96xlarge" | "c8i.metal-48xl" | "c8i.metal-96xl" | "c8i-flex.large" | "c8i-flex.xlarge" | "c8i-flex.2xlarge" | "c8i-flex.4xlarge" | "c8i-flex.8xlarge" | "c8i-flex.12xlarge" | "c8i-flex.16xlarge" | "r8gb.medium" | "r8gb.large" | "r8gb.xlarge" | "r8gb.2xlarge" | "r8gb.4xlarge" | "r8gb.8xlarge" | "r8gb.12xlarge" | "r8gb.16xlarge" | "r8gb.24xlarge" | "r8gb.metal-24xl" | "m8a.medium" | "m8a.large" | "m8a.xlarge" | "m8a.2xlarge" | "m8a.4xlarge" | "m8a.8xlarge" | "m8a.12xlarge" | "m8a.16xlarge" | "m8a.24xlarge" | "m8a.48xlarge" | "m8a.metal-24xl" | "m8a.metal-48xl" | "trn2.3xlarge"; export type InstanceTypeHypervisor = "nitro" | "xen"; export interface InstanceTypeInfo { InstanceType?: InstanceType; @@ -12770,8 +13170,7 @@ export interface InstanceTypeInfo { export interface InstanceTypeInfoFromInstanceRequirements { InstanceType?: string; } -export type InstanceTypeInfoFromInstanceRequirementsSet = - Array; +export type InstanceTypeInfoFromInstanceRequirementsSet = Array; export type InstanceTypeInfoList = Array; export type InstanceTypeList = Array; export interface InstanceTypeOffering { @@ -12807,13 +13206,8 @@ export interface InternetGatewayAttachment { VpcId?: string; } export type InternetGatewayAttachmentList = Array; -export type InternetGatewayBlockMode = - | "off" - | "block-bidirectional" - | "block-ingress"; -export type InternetGatewayExclusionMode = - | "allow-bidirectional" - | "allow-egress"; +export type InternetGatewayBlockMode = "off" | "block-bidirectional" | "block-ingress"; +export type InternetGatewayExclusionMode = "allow-bidirectional" | "allow-egress"; export type InternetGatewayId = string; export type InternetGatewayIdList = Array; @@ -12858,22 +13252,13 @@ export interface IpamAddressHistoryRecord { SampledEndTime?: Date | string; } export type IpamAddressHistoryRecordSet = Array; -export type IpamAddressHistoryResourceType = - | "eip" - | "vpc" - | "subnet" - | "network-interface" - | "instance"; +export type IpamAddressHistoryResourceType = "eip" | "vpc" | "subnet" | "network-interface" | "instance"; export type IpamAssociatedResourceDiscoveryStatus = "active" | "not-found"; export interface IpamCidrAuthorizationContext { Message?: string; Signature?: string; } -export type IpamComplianceStatus = - | "compliant" - | "noncompliant" - | "unmanaged" - | "ignored"; +export type IpamComplianceStatus = "compliant" | "noncompliant" | "unmanaged" | "ignored"; export interface IpamDiscoveredAccount { AccountId?: string; DiscoveryRegion?: string; @@ -12922,10 +13307,7 @@ export interface IpamDiscoveredResourceCidr { AvailabilityZoneId?: string; } export type IpamDiscoveredResourceCidrSet = Array; -export type IpamDiscoveryFailureCode = - | "assume-role-failure" - | "throttling-failure" - | "unauthorized-failure"; +export type IpamDiscoveryFailureCode = "assume-role-failure" | "throttling-failure" | "unauthorized-failure"; export interface IpamDiscoveryFailureReason { Code?: IpamDiscoveryFailureCode; Message?: string; @@ -12945,15 +13327,8 @@ export interface IpamExternalResourceVerificationToken { } export type IpamExternalResourceVerificationTokenId = string; -export type IpamExternalResourceVerificationTokenSet = - Array; -export type IpamExternalResourceVerificationTokenState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "delete-in-progress" - | "delete-complete" - | "delete-failed"; +export type IpamExternalResourceVerificationTokenSet = Array; +export type IpamExternalResourceVerificationTokenState = "create-in-progress" | "create-complete" | "create-failed" | "delete-in-progress" | "delete-complete" | "delete-failed"; export type IpamId = string; export type IpamManagementState = "managed" | "unmanaged" | "ignored"; @@ -12970,8 +13345,7 @@ export type IpamOperatingRegionSet = Array; export interface IpamOrganizationalUnitExclusion { OrganizationsEntityPath?: string; } -export type IpamOrganizationalUnitExclusionSet = - Array; +export type IpamOrganizationalUnitExclusionSet = Array; export type IpamOverlapStatus = "overlapping" | "nonoverlapping" | "ignored"; export interface IpamPool { OwnerId?: string; @@ -13012,13 +13386,7 @@ export type IpamPoolAllocationAllowedCidrs = Array; export type IpamPoolAllocationDisallowedCidrs = Array; export type IpamPoolAllocationId = string; -export type IpamPoolAllocationResourceType = - | "ipam-pool" - | "vpc" - | "ec2-public-ipv4-pool" - | "custom" - | "subnet" - | "eip"; +export type IpamPoolAllocationResourceType = "ipam-pool" | "vpc" | "ec2-public-ipv4-pool" | "custom" | "subnet" | "eip"; export type IpamPoolAllocationSet = Array; export type IpamPoolAwsService = "ec2"; export interface IpamPoolCidr { @@ -13036,15 +13404,7 @@ export interface IpamPoolCidrFailureReason { export type IpamPoolCidrId = string; export type IpamPoolCidrSet = Array; -export type IpamPoolCidrState = - | "pending-provision" - | "provisioned" - | "failed-provision" - | "pending-deprovision" - | "deprovisioned" - | "failed-deprovision" - | "pending-import" - | "failed-import"; +export type IpamPoolCidrState = "pending-provision" | "provisioned" | "failed-provision" | "pending-deprovision" | "deprovisioned" | "failed-deprovision" | "pending-import" | "failed-import"; export type IpamPoolId = string; export type IpamPoolPublicIpSource = "amazon" | "byoip"; @@ -13062,19 +13422,7 @@ export interface IpamPoolSourceResourceRequest { ResourceOwner?: string; } export type IpamPoolSourceResourceType = "vpc"; -export type IpamPoolState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "modify-in-progress" - | "modify-complete" - | "modify-failed" - | "delete-in-progress" - | "delete-complete" - | "delete-failed" - | "isolate-in-progress" - | "isolate-complete" - | "restore-in-progress"; +export type IpamPoolState = "create-in-progress" | "create-complete" | "create-failed" | "modify-in-progress" | "modify-complete" | "modify-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "isolate-in-progress" | "isolate-complete" | "restore-in-progress"; export interface IpamPrefixListResolver { OwnerId?: string; IpamPrefixListResolverId?: string; @@ -13106,10 +13454,7 @@ export interface IpamPrefixListResolverRuleCondition { ResourceTag?: IpamResourceTag; Cidr?: string; } -export type IpamPrefixListResolverRuleConditionOperation = - | "equals" - | "not-equals" - | "subnet-of"; +export type IpamPrefixListResolverRuleConditionOperation = "equals" | "not-equals" | "subnet-of"; export interface IpamPrefixListResolverRuleConditionRequest { Operation: IpamPrefixListResolverRuleConditionOperation; IpamPoolId?: string; @@ -13119,10 +13464,8 @@ export interface IpamPrefixListResolverRuleConditionRequest { ResourceTag?: RequestIpamResourceTag; Cidr?: string; } -export type IpamPrefixListResolverRuleConditionRequestSet = - Array; -export type IpamPrefixListResolverRuleConditionSet = - Array; +export type IpamPrefixListResolverRuleConditionRequestSet = Array; +export type IpamPrefixListResolverRuleConditionSet = Array; export interface IpamPrefixListResolverRuleRequest { RuleType: IpamPrefixListResolverRuleType; StaticCidr?: string; @@ -13130,27 +13473,11 @@ export interface IpamPrefixListResolverRuleRequest { ResourceType?: IpamResourceType; Conditions?: Array; } -export type IpamPrefixListResolverRuleRequestSet = - Array; +export type IpamPrefixListResolverRuleRequestSet = Array; export type IpamPrefixListResolverRuleSet = Array; -export type IpamPrefixListResolverRuleType = - | "static-cidr" - | "ipam-resource-cidr" - | "ipam-pool-cidr"; +export type IpamPrefixListResolverRuleType = "static-cidr" | "ipam-resource-cidr" | "ipam-pool-cidr"; export type IpamPrefixListResolverSet = Array; -export type IpamPrefixListResolverState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "modify-in-progress" - | "modify-complete" - | "modify-failed" - | "delete-in-progress" - | "delete-complete" - | "delete-failed" - | "isolate-in-progress" - | "isolate-complete" - | "restore-in-progress"; +export type IpamPrefixListResolverState = "create-in-progress" | "create-complete" | "create-failed" | "modify-in-progress" | "modify-complete" | "modify-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "isolate-in-progress" | "isolate-complete" | "restore-in-progress"; export interface IpamPrefixListResolverTarget { IpamPrefixListResolverTargetId?: string; IpamPrefixListResolverTargetArn?: string; @@ -13167,56 +13494,25 @@ export interface IpamPrefixListResolverTarget { } export type IpamPrefixListResolverTargetId = string; -export type IpamPrefixListResolverTargetSet = - Array; -export type IpamPrefixListResolverTargetState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "modify-in-progress" - | "modify-complete" - | "modify-failed" - | "sync-in-progress" - | "sync-complete" - | "sync-failed" - | "delete-in-progress" - | "delete-complete" - | "delete-failed" - | "isolate-in-progress" - | "isolate-complete" - | "restore-in-progress"; +export type IpamPrefixListResolverTargetSet = Array; +export type IpamPrefixListResolverTargetState = "create-in-progress" | "create-complete" | "create-failed" | "modify-in-progress" | "modify-complete" | "modify-failed" | "sync-in-progress" | "sync-complete" | "sync-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "isolate-in-progress" | "isolate-complete" | "restore-in-progress"; export interface IpamPrefixListResolverVersion { Version?: number; } -export type IpamPrefixListResolverVersionCreationStatus = - | "pending" - | "success" - | "failure"; +export type IpamPrefixListResolverVersionCreationStatus = "pending" | "success" | "failure"; export interface IpamPrefixListResolverVersionEntry { Cidr?: string; } -export type IpamPrefixListResolverVersionEntrySet = - Array; +export type IpamPrefixListResolverVersionEntrySet = Array; export type IpamPrefixListResolverVersionNumberSet = Array; -export type IpamPrefixListResolverVersionSet = - Array; +export type IpamPrefixListResolverVersionSet = Array; export type IpamPublicAddressAssociationStatus = "associated" | "disassociated"; -export type IpamPublicAddressAwsService = - | "nat-gateway" - | "database-migration-service" - | "redshift" - | "elastic-container-service" - | "relational-database-service" - | "site-to-site-vpn" - | "load-balancer" - | "global-accelerator" - | "other"; +export type IpamPublicAddressAwsService = "nat-gateway" | "database-migration-service" | "redshift" | "elastic-container-service" | "relational-database-service" | "site-to-site-vpn" | "load-balancer" | "global-accelerator" | "other"; export interface IpamPublicAddressSecurityGroup { GroupName?: string; GroupId?: string; } -export type IpamPublicAddressSecurityGroupList = - Array; +export type IpamPublicAddressSecurityGroupList = Array; export interface IpamPublicAddressTag { Key?: string; Value?: string; @@ -13225,13 +13521,7 @@ export type IpamPublicAddressTagList = Array; export interface IpamPublicAddressTags { EipTags?: Array; } -export type IpamPublicAddressType = - | "service-managed-ip" - | "service-managed-byoip" - | "amazon-owned-eip" - | "amazon-owned-contig" - | "byoip" - | "ec2-public-ip"; +export type IpamPublicAddressType = "service-managed-ip" | "service-managed-byoip" | "amazon-owned-eip" | "amazon-owned-contig" | "byoip" | "ec2-public-ip"; export interface IpamResourceCidr { IpamId?: string; IpamScopeId?: string; @@ -13279,46 +13569,18 @@ export interface IpamResourceDiscoveryAssociation { } export type IpamResourceDiscoveryAssociationId = string; -export type IpamResourceDiscoveryAssociationSet = - Array; -export type IpamResourceDiscoveryAssociationState = - | "associate-in-progress" - | "associate-complete" - | "associate-failed" - | "disassociate-in-progress" - | "disassociate-complete" - | "disassociate-failed" - | "isolate-in-progress" - | "isolate-complete" - | "restore-in-progress"; +export type IpamResourceDiscoveryAssociationSet = Array; +export type IpamResourceDiscoveryAssociationState = "associate-in-progress" | "associate-complete" | "associate-failed" | "disassociate-in-progress" | "disassociate-complete" | "disassociate-failed" | "isolate-in-progress" | "isolate-complete" | "restore-in-progress"; export type IpamResourceDiscoveryId = string; export type IpamResourceDiscoverySet = Array; -export type IpamResourceDiscoveryState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "modify-in-progress" - | "modify-complete" - | "modify-failed" - | "delete-in-progress" - | "delete-complete" - | "delete-failed" - | "isolate-in-progress" - | "isolate-complete" - | "restore-in-progress"; +export type IpamResourceDiscoveryState = "create-in-progress" | "create-complete" | "create-failed" | "modify-in-progress" | "modify-complete" | "modify-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "isolate-in-progress" | "isolate-complete" | "restore-in-progress"; export interface IpamResourceTag { Key?: string; Value?: string; } export type IpamResourceTagList = Array; -export type IpamResourceType = - | "vpc" - | "subnet" - | "eip" - | "public-ipv4-pool" - | "ipv6-pool" - | "eni"; +export type IpamResourceType = "vpc" | "subnet" | "eip" | "public-ipv4-pool" | "ipv6-pool" | "eni"; export interface IpamScope { OwnerId?: string; IpamScopeId?: string; @@ -13335,34 +13597,10 @@ export interface IpamScope { export type IpamScopeId = string; export type IpamScopeSet = Array; -export type IpamScopeState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "modify-in-progress" - | "modify-complete" - | "modify-failed" - | "delete-in-progress" - | "delete-complete" - | "delete-failed" - | "isolate-in-progress" - | "isolate-complete" - | "restore-in-progress"; +export type IpamScopeState = "create-in-progress" | "create-complete" | "create-failed" | "modify-in-progress" | "modify-complete" | "modify-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "isolate-in-progress" | "isolate-complete" | "restore-in-progress"; export type IpamScopeType = "public" | "private"; export type IpamSet = Array; -export type IpamState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "modify-in-progress" - | "modify-complete" - | "modify-failed" - | "delete-in-progress" - | "delete-complete" - | "delete-failed" - | "isolate-in-progress" - | "isolate-complete" - | "restore-in-progress"; +export type IpamState = "create-in-progress" | "create-complete" | "create-failed" | "modify-in-progress" | "modify-complete" | "modify-failed" | "delete-in-progress" | "delete-complete" | "delete-failed" | "isolate-in-progress" | "isolate-complete" | "restore-in-progress"; export type IpamTier = "free" | "advanced"; export type IpList = Array; export interface IpPermission { @@ -13531,16 +13769,14 @@ export interface LaunchTemplateBlockDeviceMapping { Ebs?: LaunchTemplateEbsBlockDevice; NoDevice?: string; } -export type LaunchTemplateBlockDeviceMappingList = - Array; +export type LaunchTemplateBlockDeviceMappingList = Array; export interface LaunchTemplateBlockDeviceMappingRequest { DeviceName?: string; VirtualName?: string; Ebs?: LaunchTemplateEbsBlockDeviceRequest; NoDevice?: string; } -export type LaunchTemplateBlockDeviceMappingRequestList = - Array; +export type LaunchTemplateBlockDeviceMappingRequestList = Array; export interface LaunchTemplateCapacityReservationSpecificationRequest { CapacityReservationPreference?: CapacityReservationPreference; CapacityReservationTarget?: CapacityReservationTarget; @@ -13592,14 +13828,12 @@ export interface LaunchTemplateElasticInferenceAccelerator { } export type LaunchTemplateElasticInferenceAcceleratorCount = number; -export type LaunchTemplateElasticInferenceAcceleratorList = - Array; +export type LaunchTemplateElasticInferenceAcceleratorList = Array; export interface LaunchTemplateElasticInferenceAcceleratorResponse { Type?: string; Count?: number; } -export type LaunchTemplateElasticInferenceAcceleratorResponseList = - Array; +export type LaunchTemplateElasticInferenceAcceleratorResponseList = Array; export interface LaunchTemplateEnaSrdSpecification { EnaSrdEnabled?: boolean; EnaSrdUdpSpecification?: LaunchTemplateEnaSrdUdpSpecification; @@ -13613,13 +13847,7 @@ export interface LaunchTemplateEnclaveOptions { export interface LaunchTemplateEnclaveOptionsRequest { Enabled?: boolean; } -export type LaunchTemplateErrorCode = - | "launchTemplateIdDoesNotExist" - | "launchTemplateIdMalformed" - | "launchTemplateNameDoesNotExist" - | "launchTemplateNameMalformed" - | "launchTemplateVersionDoesNotExist" - | "unexpectedError"; +export type LaunchTemplateErrorCode = "launchTemplateIdDoesNotExist" | "launchTemplateIdMalformed" | "launchTemplateNameDoesNotExist" | "launchTemplateNameMalformed" | "launchTemplateVersionDoesNotExist" | "unexpectedError"; export interface LaunchTemplateHibernationOptions { Configured?: boolean; } @@ -13652,9 +13880,7 @@ export interface LaunchTemplateInstanceMarketOptionsRequest { MarketType?: MarketType; SpotOptions?: LaunchTemplateSpotMarketOptionsRequest; } -export type LaunchTemplateInstanceMetadataEndpointState = - | "disabled" - | "enabled"; +export type LaunchTemplateInstanceMetadataEndpointState = "disabled" | "enabled"; export interface LaunchTemplateInstanceMetadataOptions { State?: LaunchTemplateInstanceMetadataOptionsState; HttpTokens?: LaunchTemplateHttpTokensState; @@ -13698,8 +13924,7 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecification { ConnectionTrackingSpecification?: ConnectionTrackingSpecification; EnaQueueCount?: number; } -export type LaunchTemplateInstanceNetworkInterfaceSpecificationList = - Array; +export type LaunchTemplateInstanceNetworkInterfaceSpecificationList = Array; export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { AssociateCarrierIpAddress?: boolean; AssociatePublicIpAddress?: boolean; @@ -13725,18 +13950,15 @@ export interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest { ConnectionTrackingSpecification?: ConnectionTrackingSpecificationRequest; EnaQueueCount?: number; } -export type LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = - Array; +export type LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = Array; export interface LaunchTemplateLicenseConfiguration { LicenseConfigurationArn?: string; } export interface LaunchTemplateLicenseConfigurationRequest { LicenseConfigurationArn?: string; } -export type LaunchTemplateLicenseList = - Array; -export type LaunchTemplateLicenseSpecificationListRequest = - Array; +export type LaunchTemplateLicenseList = Array; +export type LaunchTemplateLicenseSpecificationListRequest = Array; export type LaunchTemplateName = string; export type LaunchTemplateNameStringList = Array; @@ -13820,14 +14042,12 @@ export interface LaunchTemplateTagSpecification { ResourceType?: ResourceType; Tags?: Array; } -export type LaunchTemplateTagSpecificationList = - Array; +export type LaunchTemplateTagSpecificationList = Array; export interface LaunchTemplateTagSpecificationRequest { ResourceType?: ResourceType; Tags?: Array; } -export type LaunchTemplateTagSpecificationRequestList = - Array; +export type LaunchTemplateTagSpecificationRequestList = Array; export interface LaunchTemplateVersion { LaunchTemplateId?: string; LaunchTemplateName?: string; @@ -13847,8 +14067,7 @@ export interface LicenseConfigurationRequest { LicenseConfigurationArn?: string; } export type LicenseList = Array; -export type LicenseSpecificationListRequest = - Array; +export type LicenseSpecificationListRequest = Array; export type ListImagesInRecycleBinMaxResults = number; export interface ListImagesInRecycleBinRequest { @@ -13921,12 +14140,7 @@ export interface LocalGatewayRoute { DestinationPrefixListId?: string; } export type LocalGatewayRouteList = Array; -export type LocalGatewayRouteState = - | "pending" - | "active" - | "blackhole" - | "deleting" - | "deleted"; +export type LocalGatewayRouteState = "pending" | "active" | "blackhole" | "deleting" | "deleted"; export interface LocalGatewayRouteTable { LocalGatewayRouteTableId?: string; LocalGatewayRouteTableArn?: string; @@ -13955,10 +14169,8 @@ export interface LocalGatewayRouteTableVirtualInterfaceGroupAssociation { } export type LocalGatewayRouteTableVirtualInterfaceGroupAssociationId = string; -export type LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet = - Array; -export type LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet = - Array; +export type LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet = Array; +export type LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet = Array; export interface LocalGatewayRouteTableVpcAssociation { LocalGatewayRouteTableVpcAssociationId?: string; LocalGatewayRouteTableId?: string; @@ -13972,8 +14184,7 @@ export interface LocalGatewayRouteTableVpcAssociation { export type LocalGatewayRouteTableVpcAssociationId = string; export type LocalGatewayRouteTableVpcAssociationIdSet = Array; -export type LocalGatewayRouteTableVpcAssociationSet = - Array; +export type LocalGatewayRouteTableVpcAssociationSet = Array; export type LocalGatewayRouteType = "static" | "propagated"; export type LocalGatewaySet = Array; export interface LocalGatewayVirtualInterface { @@ -13992,11 +14203,7 @@ export interface LocalGatewayVirtualInterface { Tags?: Array; ConfigurationState?: LocalGatewayVirtualInterfaceConfigurationState; } -export type LocalGatewayVirtualInterfaceConfigurationState = - | "pending" - | "available" - | "deleting" - | "deleted"; +export type LocalGatewayVirtualInterfaceConfigurationState = "pending" | "available" | "deleting" | "deleted"; export interface LocalGatewayVirtualInterfaceGroup { LocalGatewayVirtualInterfaceGroupId?: string; LocalGatewayVirtualInterfaceIds?: Array; @@ -14008,32 +14215,21 @@ export interface LocalGatewayVirtualInterfaceGroup { Tags?: Array; ConfigurationState?: LocalGatewayVirtualInterfaceGroupConfigurationState; } -export type LocalGatewayVirtualInterfaceGroupConfigurationState = - | "pending" - | "incomplete" - | "available" - | "deleting" - | "deleted"; +export type LocalGatewayVirtualInterfaceGroupConfigurationState = "pending" | "incomplete" | "available" | "deleting" | "deleted"; export type LocalGatewayVirtualInterfaceGroupId = string; export type LocalGatewayVirtualInterfaceGroupIdSet = Array; -export type LocalGatewayVirtualInterfaceGroupSet = - Array; +export type LocalGatewayVirtualInterfaceGroupSet = Array; export type LocalGatewayVirtualInterfaceId = string; export type LocalGatewayVirtualInterfaceIdSet = Array; -export type LocalGatewayVirtualInterfaceSet = - Array; +export type LocalGatewayVirtualInterfaceSet = Array; export type LocalStorage = "included" | "required" | "excluded"; export type LocalStorageType = "hdd" | "ssd"; export type LocalStorageTypeSet = Array; export type Location = string; -export type LocationType = - | "region" - | "availability-zone" - | "availability-zone-id" - | "outpost"; +export type LocationType = "region" | "availability-zone" | "availability-zone-id" | "outpost"; export interface LockedSnapshotsInfo { OwnerId?: string; SnapshotId?: string; @@ -14065,15 +14261,8 @@ export interface LockSnapshotResult { LockExpiresOn?: Date | string; LockDurationStartTime?: Date | string; } -export type LockState = - | "compliance" - | "governance" - | "compliance-cooloff" - | "expired"; -export type LogDestinationType = - | "cloud-watch-logs" - | "s3" - | "kinesis-data-firehose"; +export type LockState = "compliance" | "governance" | "compliance-cooloff" | "expired"; +export type LogDestinationType = "cloud-watch-logs" | "s3" | "kinesis-data-firehose"; export type Long = number; export interface MacHost { @@ -14094,14 +14283,8 @@ export type MacModificationTaskId = string; export type MacModificationTaskIdList = Array; export type MacModificationTaskList = Array; -export type MacModificationTaskState = - | "successful" - | "failed" - | "in-progress" - | "pending"; -export type MacModificationTaskType = - | "sip-modification" - | "volume-ownership-delegation"; +export type MacModificationTaskState = "successful" | "failed" | "in-progress" | "pending"; +export type MacModificationTaskType = "sip-modification" | "volume-ownership-delegation"; export type MacOSVersionStringList = Array; export interface MacSystemIntegrityProtectionConfiguration { AppleInternal?: MacSystemIntegrityProtectionSettingStatus; @@ -14227,54 +14410,8 @@ export interface MemoryMiBRequest { } export type MemorySize = number; -export type MetadataDefaultHttpTokensState = - | "optional" - | "required" - | "no-preference"; -export type Metric = - | "reservation-total-capacity-hrs-vcpu" - | "reservation-total-capacity-hrs-inst" - | "reservation-max-size-vcpu" - | "reservation-max-size-inst" - | "reservation-min-size-vcpu" - | "reservation-min-size-inst" - | "reservation-unused-total-capacity-hrs-vcpu" - | "reservation-unused-total-capacity-hrs-inst" - | "reservation-unused-total-estimated-cost" - | "reservation-max-unused-size-vcpu" - | "reservation-max-unused-size-inst" - | "reservation-min-unused-size-vcpu" - | "reservation-min-unused-size-inst" - | "reservation-max-utilization" - | "reservation-min-utilization" - | "reservation-avg-utilization-vcpu" - | "reservation-avg-utilization-inst" - | "reservation-total-count" - | "reservation-total-estimated-cost" - | "reservation-avg-future-size-vcpu" - | "reservation-avg-future-size-inst" - | "reservation-min-future-size-vcpu" - | "reservation-min-future-size-inst" - | "reservation-max-future-size-vcpu" - | "reservation-max-future-size-inst" - | "reservation-avg-committed-size-vcpu" - | "reservation-avg-committed-size-inst" - | "reservation-max-committed-size-vcpu" - | "reservation-max-committed-size-inst" - | "reservation-min-committed-size-vcpu" - | "reservation-min-committed-size-inst" - | "reserved-total-usage-hrs-vcpu" - | "reserved-total-usage-hrs-inst" - | "reserved-total-estimated-cost" - | "unreserved-total-usage-hrs-vcpu" - | "unreserved-total-usage-hrs-inst" - | "unreserved-total-estimated-cost" - | "spot-total-usage-hrs-vcpu" - | "spot-total-usage-hrs-inst" - | "spot-total-estimated-cost" - | "spot-avg-run-time-before-interruption-inst" - | "spot-max-run-time-before-interruption-inst" - | "spot-min-run-time-before-interruption-inst"; +export type MetadataDefaultHttpTokensState = "optional" | "required" | "no-preference"; +export type Metric = "reservation-total-capacity-hrs-vcpu" | "reservation-total-capacity-hrs-inst" | "reservation-max-size-vcpu" | "reservation-max-size-inst" | "reservation-min-size-vcpu" | "reservation-min-size-inst" | "reservation-unused-total-capacity-hrs-vcpu" | "reservation-unused-total-capacity-hrs-inst" | "reservation-unused-total-estimated-cost" | "reservation-max-unused-size-vcpu" | "reservation-max-unused-size-inst" | "reservation-min-unused-size-vcpu" | "reservation-min-unused-size-inst" | "reservation-max-utilization" | "reservation-min-utilization" | "reservation-avg-utilization-vcpu" | "reservation-avg-utilization-inst" | "reservation-total-count" | "reservation-total-estimated-cost" | "reservation-avg-future-size-vcpu" | "reservation-avg-future-size-inst" | "reservation-min-future-size-vcpu" | "reservation-min-future-size-inst" | "reservation-max-future-size-vcpu" | "reservation-max-future-size-inst" | "reservation-avg-committed-size-vcpu" | "reservation-avg-committed-size-inst" | "reservation-max-committed-size-vcpu" | "reservation-max-committed-size-inst" | "reservation-min-committed-size-vcpu" | "reservation-min-committed-size-inst" | "reserved-total-usage-hrs-vcpu" | "reserved-total-usage-hrs-inst" | "reserved-total-estimated-cost" | "unreserved-total-usage-hrs-vcpu" | "unreserved-total-usage-hrs-inst" | "unreserved-total-estimated-cost" | "spot-total-usage-hrs-vcpu" | "spot-total-usage-hrs-inst" | "spot-total-estimated-cost" | "spot-avg-run-time-before-interruption-inst" | "spot-max-run-time-before-interruption-inst" | "spot-min-run-time-before-interruption-inst"; export interface MetricDataResult { Dimension?: CapacityManagerDimension; Timestamp?: Date | string; @@ -14899,8 +15036,7 @@ export interface ModifyVerifiedAccessEndpointPortRange { FromPort?: number; ToPort?: number; } -export type ModifyVerifiedAccessEndpointPortRangeList = - Array; +export type ModifyVerifiedAccessEndpointPortRangeList = Array; export interface ModifyVerifiedAccessEndpointRdsOptions { SubnetIds?: Array; Port?: number; @@ -15252,23 +15388,12 @@ export interface NatGatewayAddress { Status?: NatGatewayAddressStatus; } export type NatGatewayAddressList = Array; -export type NatGatewayAddressStatus = - | "assigning" - | "unassigning" - | "associating" - | "disassociating" - | "succeeded" - | "failed"; +export type NatGatewayAddressStatus = "assigning" | "unassigning" | "associating" | "disassociating" | "succeeded" | "failed"; export type NatGatewayId = string; export type NatGatewayIdStringList = Array; export type NatGatewayList = Array; -export type NatGatewayState = - | "pending" - | "failed" - | "available" - | "deleting" - | "deleted"; +export type NatGatewayState = "pending" | "failed" | "available" | "deleting" | "deleted"; export interface NativeApplicationOidcOptions { PublicSigningKeyEndpoint?: string; Issuer?: string; @@ -15373,8 +15498,7 @@ export interface NetworkInsightsAccessScopeAnalysis { export type NetworkInsightsAccessScopeAnalysisId = string; export type NetworkInsightsAccessScopeAnalysisIdList = Array; -export type NetworkInsightsAccessScopeAnalysisList = - Array; +export type NetworkInsightsAccessScopeAnalysisList = Array; export interface NetworkInsightsAccessScopeContent { NetworkInsightsAccessScopeId?: string; MatchPaths?: Array; @@ -15494,12 +15618,7 @@ export interface NetworkInterfaceAttachmentChanges { } export type NetworkInterfaceAttachmentId = string; -export type NetworkInterfaceAttribute = - | "description" - | "groupSet" - | "sourceDestCheck" - | "attachment" - | "associatePublicIpAddress"; +export type NetworkInterfaceAttribute = "description" | "groupSet" | "sourceDestCheck" | "attachment" | "associatePublicIpAddress"; export interface NetworkInterfaceCount { Min?: number; Max?: number; @@ -15508,11 +15627,7 @@ export interface NetworkInterfaceCountRequest { Min?: number; Max?: number; } -export type NetworkInterfaceCreationType = - | "efa" - | "efa-only" - | "branch" - | "trunk"; +export type NetworkInterfaceCreationType = "efa" | "efa-only" | "branch" | "trunk"; export type NetworkInterfaceId = string; export type NetworkInterfaceIdList = Array; @@ -15522,8 +15637,7 @@ export interface NetworkInterfaceIpv6Address { PublicIpv6DnsName?: string; IsPrimaryIpv6?: boolean; } -export type NetworkInterfaceIpv6AddressesList = - Array; +export type NetworkInterfaceIpv6AddressesList = Array; export type NetworkInterfaceList = Array; export interface NetworkInterfacePermission { NetworkInterfacePermissionId?: string; @@ -15541,44 +15655,16 @@ export interface NetworkInterfacePermissionState { State?: NetworkInterfacePermissionStateCode; StatusMessage?: string; } -export type NetworkInterfacePermissionStateCode = - | "pending" - | "granted" - | "revoking" - | "revoked"; +export type NetworkInterfacePermissionStateCode = "pending" | "granted" | "revoking" | "revoked"; export interface NetworkInterfacePrivateIpAddress { Association?: NetworkInterfaceAssociation; Primary?: boolean; PrivateDnsName?: string; PrivateIpAddress?: string; } -export type NetworkInterfacePrivateIpAddressList = - Array; -export type NetworkInterfaceStatus = - | "available" - | "associated" - | "attaching" - | "in-use" - | "detaching"; -export type NetworkInterfaceType = - | "interface" - | "natGateway" - | "efa" - | "efa-only" - | "trunk" - | "load_balancer" - | "network_load_balancer" - | "vpc_endpoint" - | "branch" - | "transit_gateway" - | "lambda" - | "quicksight" - | "global_accelerator_managed" - | "api_gateway_managed" - | "gateway_load_balancer" - | "gateway_load_balancer_endpoint" - | "iot_rules_managed" - | "aws_codestar_connections_managed"; +export type NetworkInterfacePrivateIpAddressList = Array; +export type NetworkInterfaceStatus = "available" | "associated" | "attaching" | "in-use" | "detaching"; +export type NetworkInterfaceType = "interface" | "natGateway" | "efa" | "efa-only" | "trunk" | "load_balancer" | "network_load_balancer" | "vpc_endpoint" | "branch" | "transit_gateway" | "lambda" | "quicksight" | "global_accelerator_managed" | "api_gateway_managed" | "gateway_load_balancer" | "gateway_load_balancer_endpoint" | "iot_rules_managed" | "aws_codestar_connections_managed"; export type NetworkNodeSet = Array; export type NetworkNodesList = Array; export type NetworkPerformance = string; @@ -15633,13 +15719,7 @@ export type OdbNetworkArn = string; export type OfferingClassType = "standard" | "convertible"; export type OfferingId = string; -export type OfferingTypeValues = - | "Heavy Utilization" - | "Medium Utilization" - | "Light Utilization" - | "No Upfront" - | "Partial Upfront" - | "All Upfront"; +export type OfferingTypeValues = "Heavy Utilization" | "Medium Utilization" | "Light Utilization" | "No Upfront" | "Partial Upfront" | "All Upfront"; export interface OidcOptions { Issuer?: string; AuthorizationEndpoint?: string; @@ -15796,44 +15876,32 @@ export interface PerformanceFactorReferenceRequest { InstanceFamily?: string; } export type PerformanceFactorReferenceSet = Array; -export type PerformanceFactorReferenceSetRequest = - Array; +export type PerformanceFactorReferenceSetRequest = Array; export type Period = number; -export type PeriodType = - | "five-minutes" - | "fifteen-minutes" - | "one-hour" - | "three-hours" - | "one-day" - | "one-week"; +export type PeriodType = "five-minutes" | "fifteen-minutes" | "one-hour" | "three-hours" | "one-day" | "one-week"; export type PermissionGroup = "all"; export type Phase1DHGroupNumbersList = Array; export interface Phase1DHGroupNumbersListValue { Value?: number; } -export type Phase1DHGroupNumbersRequestList = - Array; +export type Phase1DHGroupNumbersRequestList = Array; export interface Phase1DHGroupNumbersRequestListValue { Value?: number; } -export type Phase1EncryptionAlgorithmsList = - Array; +export type Phase1EncryptionAlgorithmsList = Array; export interface Phase1EncryptionAlgorithmsListValue { Value?: string; } -export type Phase1EncryptionAlgorithmsRequestList = - Array; +export type Phase1EncryptionAlgorithmsRequestList = Array; export interface Phase1EncryptionAlgorithmsRequestListValue { Value?: string; } -export type Phase1IntegrityAlgorithmsList = - Array; +export type Phase1IntegrityAlgorithmsList = Array; export interface Phase1IntegrityAlgorithmsListValue { Value?: string; } -export type Phase1IntegrityAlgorithmsRequestList = - Array; +export type Phase1IntegrityAlgorithmsRequestList = Array; export interface Phase1IntegrityAlgorithmsRequestListValue { Value?: string; } @@ -15841,28 +15909,23 @@ export type Phase2DHGroupNumbersList = Array; export interface Phase2DHGroupNumbersListValue { Value?: number; } -export type Phase2DHGroupNumbersRequestList = - Array; +export type Phase2DHGroupNumbersRequestList = Array; export interface Phase2DHGroupNumbersRequestListValue { Value?: number; } -export type Phase2EncryptionAlgorithmsList = - Array; +export type Phase2EncryptionAlgorithmsList = Array; export interface Phase2EncryptionAlgorithmsListValue { Value?: string; } -export type Phase2EncryptionAlgorithmsRequestList = - Array; +export type Phase2EncryptionAlgorithmsRequestList = Array; export interface Phase2EncryptionAlgorithmsRequestListValue { Value?: string; } -export type Phase2IntegrityAlgorithmsList = - Array; +export type Phase2IntegrityAlgorithmsList = Array; export interface Phase2IntegrityAlgorithmsListValue { Value?: string; } -export type Phase2IntegrityAlgorithmsRequestList = - Array; +export type Phase2IntegrityAlgorithmsRequestList = Array; export interface Phase2IntegrityAlgorithmsRequestListValue { Value?: string; } @@ -15900,11 +15963,7 @@ export interface PlacementGroupInfo { export type PlacementGroupList = Array; export type PlacementGroupName = string; -export type PlacementGroupState = - | "pending" - | "available" - | "deleting" - | "deleted"; +export type PlacementGroupState = "pending" | "available" | "deleting" | "deleted"; export type PlacementGroupStrategy = "cluster" | "partition" | "spread"; export type PlacementGroupStrategyList = Array; export type PlacementGroupStringList = Array; @@ -15953,19 +16012,7 @@ export type PrefixListResourceId = string; export type PrefixListResourceIdStringList = Array; export type PrefixListSet = Array; -export type PrefixListState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "modify-in-progress" - | "modify-complete" - | "modify-failed" - | "restore-in-progress" - | "restore-complete" - | "restore-failed" - | "delete-in-progress" - | "delete-complete" - | "delete-failed"; +export type PrefixListState = "create-in-progress" | "create-complete" | "create-failed" | "modify-in-progress" | "modify-complete" | "modify-failed" | "restore-in-progress" | "restore-complete" | "restore-failed" | "delete-in-progress" | "delete-complete" | "delete-failed"; export type preSharedKey = string; export interface PriceSchedule { @@ -15991,13 +16038,7 @@ export interface PrincipalIdFormat { Statuses?: Array; } export type PrincipalIdFormatList = Array; -export type PrincipalType = - | "All" - | "Service" - | "OrganizationUnit" - | "Account" - | "User" - | "Role"; +export type PrincipalType = "All" | "Service" | "OrganizationUnit" | "Account" | "User" | "Role"; export type Priority = number; export interface PrivateDnsDetails { @@ -16025,16 +16066,14 @@ export interface PrivateDnsNameOptionsResponse { EnableResourceNameDnsARecord?: boolean; EnableResourceNameDnsAAAARecord?: boolean; } -export type PrivateIpAddressConfigSet = - Array; +export type PrivateIpAddressConfigSet = Array; export type PrivateIpAddressCount = number; export interface PrivateIpAddressSpecification { Primary?: boolean; PrivateIpAddress?: string; } -export type PrivateIpAddressSpecificationList = - Array; +export type PrivateIpAddressSpecificationList = Array; export type PrivateIpAddressStringList = Array; export interface ProcessorInfo { SupportedArchitectures?: Array; @@ -16128,10 +16167,7 @@ export interface PublicIpDnsNameOptions { PublicIpv6DnsName?: string; PublicDualStackDnsName?: string; } -export type PublicIpDnsOption = - | "public-dual-stack-dns-name" - | "public-ipv4-dns-name" - | "public-ipv6-dns-name"; +export type PublicIpDnsOption = "public-dual-stack-dns-name" | "public-ipv4-dns-name" | "public-ipv6-dns-name"; export type PublicIpStringList = Array; export interface PublicIpv4Pool { PoolId?: string; @@ -16386,8 +16422,7 @@ export type RemoveIpamOperatingRegionSet = Array; export interface RemoveIpamOrganizationalUnitExclusion { OrganizationsEntityPath?: string; } -export type RemoveIpamOrganizationalUnitExclusionSet = - Array; +export type RemoveIpamOrganizationalUnitExclusionSet = Array; export type RemovePrefixListEntries = Array; export interface RemovePrefixListEntry { Cidr: string; @@ -16442,13 +16477,7 @@ export type ReplaceRootVolumeTaskId = string; export type ReplaceRootVolumeTaskIds = Array; export type ReplaceRootVolumeTasks = Array; -export type ReplaceRootVolumeTaskState = - | "pending" - | "in-progress" - | "failing" - | "succeeded" - | "failed" - | "failed-detached"; +export type ReplaceRootVolumeTaskState = "pending" | "in-progress" | "failing" | "succeeded" | "failed" | "failed-detached"; export interface ReplaceRouteRequest { DestinationPrefixListId?: string; VpcEndpointId?: string; @@ -16497,16 +16526,7 @@ export interface ReplaceVpnTunnelRequest { export interface ReplaceVpnTunnelResult { Return?: boolean; } -export type ReportInstanceReasonCodes = - | "instance-stuck-in-state" - | "unresponsive" - | "not-accepting-credentials" - | "password-not-available" - | "performance-network" - | "performance-instance-store" - | "performance-ebs-volume" - | "performance-other" - | "other"; +export type ReportInstanceReasonCodes = "instance-stuck-in-state" | "unresponsive" | "not-accepting-credentials" | "password-not-available" | "performance-network" | "performance-instance-store" | "performance-ebs-volume" | "performance-other" | "other"; export interface ReportInstanceStatusRequest { DryRun?: boolean; Instances: Array; @@ -16629,23 +16649,11 @@ export interface ReservationFleetInstanceSpecification { EbsOptimized?: boolean; Priority?: number; } -export type ReservationFleetInstanceSpecificationList = - Array; +export type ReservationFleetInstanceSpecificationList = Array; export type ReservationId = string; export type ReservationList = Array; -export type ReservationState = - | "active" - | "expired" - | "cancelled" - | "scheduled" - | "pending" - | "failed" - | "delayed" - | "unsupported" - | "payment-pending" - | "payment-failed" - | "retired"; +export type ReservationState = "active" | "expired" | "cancelled" | "scheduled" | "pending" | "failed" | "delayed" | "unsupported" | "payment-pending" | "payment-failed" | "retired"; export type ReservationType = "capacity-block" | "odcr"; export interface ReservationValue { HourlyPrice?: string; @@ -16661,8 +16669,7 @@ export interface ReservedInstanceReservationValue { ReservationValue?: ReservationValue; ReservedInstanceId?: string; } -export type ReservedInstanceReservationValueSet = - Array; +export type ReservedInstanceReservationValueSet = Array; export interface ReservedInstances { CurrencyCode?: CurrencyCodeValues; InstanceTenancy?: Tenancy; @@ -16692,8 +16699,7 @@ export interface ReservedInstancesConfiguration { Scope?: scope; AvailabilityZoneId?: string; } -export type ReservedInstancesConfigurationList = - Array; +export type ReservedInstancesConfigurationList = Array; export interface ReservedInstancesId { ReservedInstancesId?: string; } @@ -16728,14 +16734,12 @@ export interface ReservedInstancesModification { export type ReservedInstancesModificationId = string; export type ReservedInstancesModificationIdStringList = Array; -export type ReservedInstancesModificationList = - Array; +export type ReservedInstancesModificationList = Array; export interface ReservedInstancesModificationResult { ReservedInstancesId?: string; TargetConfiguration?: ReservedInstancesConfiguration; } -export type ReservedInstancesModificationResultList = - Array; +export type ReservedInstancesModificationResultList = Array; export interface ReservedInstancesOffering { CurrencyCode?: CurrencyCodeValues; InstanceTenancy?: Tenancy; @@ -16758,13 +16762,7 @@ export type ReservedInstancesOfferingId = string; export type ReservedInstancesOfferingIdStringList = Array; export type ReservedInstancesOfferingList = Array; -export type ReservedInstanceState = - | "payment-pending" - | "active" - | "payment-failed" - | "retired" - | "queued" - | "queued-deleted"; +export type ReservedInstanceState = "payment-pending" | "active" | "payment-failed" | "retired" | "queued" | "queued-deleted"; export type ReservedIntancesIds = Array; export interface ResetAddressAttributeRequest { AllocationId: string; @@ -16824,107 +16822,7 @@ export interface ResourceStatementRequest { Resources?: Array; ResourceTypes?: Array; } -export type ResourceType = - | "capacity-reservation" - | "client-vpn-endpoint" - | "customer-gateway" - | "carrier-gateway" - | "coip-pool" - | "declarative-policies-report" - | "dedicated-host" - | "dhcp-options" - | "egress-only-internet-gateway" - | "elastic-ip" - | "elastic-gpu" - | "export-image-task" - | "export-instance-task" - | "fleet" - | "fpga-image" - | "host-reservation" - | "image" - | "image-usage-report" - | "import-image-task" - | "import-snapshot-task" - | "instance" - | "instance-event-window" - | "internet-gateway" - | "ipam" - | "ipam-pool" - | "ipam-scope" - | "ipv4pool-ec2" - | "ipv6pool-ec2" - | "key-pair" - | "launch-template" - | "local-gateway" - | "local-gateway-route-table" - | "local-gateway-virtual-interface" - | "local-gateway-virtual-interface-group" - | "local-gateway-route-table-vpc-association" - | "local-gateway-route-table-virtual-interface-group-association" - | "natgateway" - | "network-acl" - | "network-interface" - | "network-insights-analysis" - | "network-insights-path" - | "network-insights-access-scope" - | "network-insights-access-scope-analysis" - | "outpost-lag" - | "placement-group" - | "prefix-list" - | "replace-root-volume-task" - | "reserved-instances" - | "route-table" - | "security-group" - | "security-group-rule" - | "service-link-virtual-interface" - | "snapshot" - | "spot-fleet-request" - | "spot-instances-request" - | "subnet" - | "subnet-cidr-reservation" - | "traffic-mirror-filter" - | "traffic-mirror-session" - | "traffic-mirror-target" - | "transit-gateway" - | "transit-gateway-attachment" - | "transit-gateway-connect-peer" - | "transit-gateway-multicast-domain" - | "transit-gateway-policy-table" - | "transit-gateway-route-table" - | "transit-gateway-route-table-announcement" - | "volume" - | "vpc" - | "vpc-endpoint" - | "vpc-endpoint-connection" - | "vpc-endpoint-service" - | "vpc-endpoint-service-permission" - | "vpc-peering-connection" - | "vpn-connection" - | "vpn-gateway" - | "vpc-flow-log" - | "capacity-reservation-fleet" - | "traffic-mirror-filter-rule" - | "vpc-endpoint-connection-device-type" - | "verified-access-instance" - | "verified-access-group" - | "verified-access-endpoint" - | "verified-access-policy" - | "verified-access-trust-provider" - | "vpn-connection-device-type" - | "vpc-block-public-access-exclusion" - | "route-server" - | "route-server-endpoint" - | "route-server-peer" - | "ipam-resource-discovery" - | "ipam-resource-discovery-association" - | "instance-connect-endpoint" - | "verified-access-endpoint-target" - | "ipam-external-resource-verification-token" - | "capacity-block" - | "mac-modification-task" - | "ipam-prefix-list-resolver" - | "ipam-prefix-list-resolver-target" - | "capacity-manager-data-export"; +export type ResourceType = "capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "declarative-policies-report" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "image-usage-report" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "outpost-lag" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "service-link-virtual-interface" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "route-server" | "route-server-endpoint" | "route-server-peer" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "verified-access-endpoint-target" | "ipam-external-resource-verification-token" | "capacity-block" | "mac-modification-task" | "ipam-prefix-list-resolver" | "ipam-prefix-list-resolver-target" | "capacity-manager-data-export"; export interface ResourceTypeOption { OptionName?: ImageReferenceOptionName; OptionValues?: Array; @@ -17100,11 +16998,7 @@ export interface RevokeSecurityGroupIngressResult { UnknownIpPermissions?: Array; RevokedSecurityGroupRules?: Array; } -export type RIProductDescription = - | "Linux/UNIX" - | "Linux/UNIX (Amazon VPC)" - | "Windows" - | "Windows (Amazon VPC)"; +export type RIProductDescription = "Linux/UNIX" | "Linux/UNIX (Amazon VPC)" | "Windows" | "Windows (Amazon VPC)"; export type RoleId = string; export type RootDeviceType = "ebs" | "instance-store"; @@ -17132,11 +17026,7 @@ export interface Route { export type RouteGatewayId = string; export type RouteList = Array; -export type RouteOrigin = - | "CreateRouteTable" - | "CreateRoute" - | "EnableVgwRoutePropagation" - | "Advertisement"; +export type RouteOrigin = "CreateRouteTable" | "CreateRoute" | "EnableVgwRoutePropagation" | "Advertisement"; export interface RouteServer { RouteServerId?: string; AmazonSideAsn?: number; @@ -17153,10 +17043,7 @@ export interface RouteServerAssociation { State?: RouteServerAssociationState; } export type RouteServerAssociationsList = Array; -export type RouteServerAssociationState = - | "associating" - | "associated" - | "disassociating"; +export type RouteServerAssociationState = "associating" | "associated" | "disassociating"; export type RouteServerBfdState = "up" | "down"; export interface RouteServerBfdStatus { Status?: RouteServerBfdState; @@ -17188,14 +17075,7 @@ export type RouteServerEndpointId = string; export type RouteServerEndpointIdsList = Array; export type RouteServerEndpointsList = Array; -export type RouteServerEndpointState = - | "pending" - | "available" - | "deleting" - | "deleted" - | "failing" - | "failed" - | "delete-failed"; +export type RouteServerEndpointState = "pending" | "available" | "deleting" | "deleted" | "failing" | "failed" | "delete-failed"; export type RouteServerId = string; export type RouteServerIdsList = Array; @@ -17222,21 +17102,9 @@ export type RouteServerPeerId = string; export type RouteServerPeerIdsList = Array; export type RouteServerPeerLivenessMode = "bfd" | "bgp-keepalive"; export type RouteServerPeersList = Array; -export type RouteServerPeerState = - | "pending" - | "available" - | "deleting" - | "deleted" - | "failing" - | "failed"; +export type RouteServerPeerState = "pending" | "available" | "deleting" | "deleted" | "failing" | "failed"; export type RouteServerPersistRoutesAction = "enable" | "disable" | "reset"; -export type RouteServerPersistRoutesState = - | "enabling" - | "enabled" - | "resetting" - | "disabling" - | "disabled" - | "modifying"; +export type RouteServerPersistRoutesState = "enabling" | "enabled" | "resetting" | "disabling" | "disabled" | "modifying"; export interface RouteServerPropagation { RouteServerId?: string; RouteTableId?: string; @@ -17259,18 +17127,12 @@ export interface RouteServerRouteInstallationDetail { RouteInstallationStatus?: RouteServerRouteInstallationStatus; RouteInstallationStatusReason?: string; } -export type RouteServerRouteInstallationDetails = - Array; +export type RouteServerRouteInstallationDetails = Array; export type RouteServerRouteInstallationStatus = "installed" | "rejected"; export type RouteServerRouteList = Array; export type RouteServerRouteStatus = "in-rib" | "in-fib"; export type RouteServersList = Array; -export type RouteServerState = - | "pending" - | "available" - | "modifying" - | "deleting" - | "deleted"; +export type RouteServerState = "pending" | "available" | "modifying" | "deleting" | "deleted"; export type RouteState = "active" | "blackhole" | "filtered"; export interface RouteTable { Associations?: Array; @@ -17297,12 +17159,7 @@ export interface RouteTableAssociationState { State?: RouteTableAssociationStateCode; StatusMessage?: string; } -export type RouteTableAssociationStateCode = - | "associating" - | "associated" - | "disassociating" - | "disassociated" - | "failed"; +export type RouteTableAssociationStateCode = "associating" | "associated" | "disassociating" | "disassociated" | "failed"; export type RouteTableId = string; export type RouteTableIdStringList = Array; @@ -17430,8 +17287,7 @@ export interface ScheduledInstanceAvailability { SlotDurationInHours?: number; TotalScheduledInstanceHours?: number; } -export type ScheduledInstanceAvailabilitySet = - Array; +export type ScheduledInstanceAvailabilitySet = Array; export type ScheduledInstanceId = string; export type ScheduledInstanceIdRequestSet = Array; @@ -17455,8 +17311,7 @@ export interface ScheduledInstancesBlockDeviceMapping { NoDevice?: string; VirtualName?: string; } -export type ScheduledInstancesBlockDeviceMappingSet = - Array; +export type ScheduledInstancesBlockDeviceMappingSet = Array; export interface ScheduledInstancesEbs { DeleteOnTermination?: boolean; Encrypted?: boolean; @@ -17473,8 +17328,7 @@ export interface ScheduledInstancesIamInstanceProfile { export interface ScheduledInstancesIpv6Address { Ipv6Address?: string; } -export type ScheduledInstancesIpv6AddressList = - Array; +export type ScheduledInstancesIpv6AddressList = Array; export interface ScheduledInstancesLaunchSpecification { BlockDeviceMappings?: Array; EbsOptimized?: boolean; @@ -17508,8 +17362,7 @@ export interface ScheduledInstancesNetworkInterface { SecondaryPrivateIpAddressCount?: number; SubnetId?: string; } -export type ScheduledInstancesNetworkInterfaceSet = - Array; +export type ScheduledInstancesNetworkInterfaceSet = Array; export interface ScheduledInstancesPlacement { AvailabilityZone?: string; GroupName?: string; @@ -17613,8 +17466,7 @@ export interface SecurityGroupRuleDescription { SecurityGroupRuleId?: string; Description?: string; } -export type SecurityGroupRuleDescriptionList = - Array; +export type SecurityGroupRuleDescriptionList = Array; export type SecurityGroupRuleId = string; export type SecurityGroupRuleIdList = Array; @@ -17643,15 +17495,8 @@ export interface SecurityGroupVpcAssociation { StateReason?: string; GroupOwnerId?: string; } -export type SecurityGroupVpcAssociationList = - Array; -export type SecurityGroupVpcAssociationState = - | "associating" - | "associated" - | "association-failed" - | "disassociating" - | "disassociated" - | "disassociation-failed"; +export type SecurityGroupVpcAssociationList = Array; +export type SecurityGroupVpcAssociationState = "associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed"; export type SelfServicePortal = "enabled" | "disabled"; export interface SendDiagnosticInterruptRequest { InstanceId: string; @@ -17721,11 +17566,7 @@ export interface ServiceLinkVirtualInterface { Tags?: Array; ConfigurationState?: ServiceLinkVirtualInterfaceConfigurationState; } -export type ServiceLinkVirtualInterfaceConfigurationState = - | "pending" - | "available" - | "deleting" - | "deleted"; +export type ServiceLinkVirtualInterfaceConfigurationState = "pending" | "available" | "deleting" | "deleted"; export type ServiceLinkVirtualInterfaceId = string; export type ServiceLinkVirtualInterfaceIdSet = Array; @@ -17733,12 +17574,7 @@ export type ServiceLinkVirtualInterfaceSet = Array; export type ServiceManaged = "alb" | "nlb" | "rnat"; export type ServiceNetworkArn = string; -export type ServiceState = - | "Pending" - | "Available" - | "Deleting" - | "Deleted" - | "Failed"; +export type ServiceState = "Pending" | "Available" | "Deleting" | "Deleted" | "Failed"; export type ServiceType = "Interface" | "Gateway" | "GatewayLoadBalancer"; export interface ServiceTypeDetail { ServiceType?: ServiceType; @@ -17779,10 +17615,7 @@ export interface Snapshot { DataEncryptionKeyId?: string; } export type SnapshotAttributeName = "productCodes" | "createVolumePermission"; -export type SnapshotBlockPublicAccessState = - | "block-all-sharing" - | "block-new-sharing" - | "unblocked"; +export type SnapshotBlockPublicAccessState = "block-all-sharing" | "block-new-sharing" | "unblocked"; export type SnapshotCompletionDurationMinutesRequest = number; export type SnapshotCompletionDurationMinutesResponse = number; @@ -17834,19 +17667,9 @@ export interface SnapshotRecycleBinInfo { VolumeId?: string; } export type SnapshotRecycleBinInfoList = Array; -export type SnapshotReturnCodes = - | "success" - | "skipped" - | "missing-permissions" - | "internal-error" - | "client-error"; +export type SnapshotReturnCodes = "success" | "skipped" | "missing-permissions" | "internal-error" | "client-error"; export type SnapshotSet = Array; -export type SnapshotState = - | "pending" - | "completed" - | "error" - | "recoverable" - | "recovering"; +export type SnapshotState = "pending" | "completed" | "error" | "recoverable" | "recovering"; export interface SnapshotTaskDetail { Description?: string; DiskImageSize?: number; @@ -17875,12 +17698,7 @@ export interface SnapshotTierStatus { RestoreExpiryTime?: Date | string; } export type snapshotTierStatusSet = Array; -export type SpotAllocationStrategy = - | "lowest-price" - | "diversified" - | "capacity-optimized" - | "capacity-optimized-prioritized" - | "price-capacity-optimized"; +export type SpotAllocationStrategy = "lowest-price" | "diversified" | "capacity-optimized" | "capacity-optimized-prioritized" | "price-capacity-optimized"; export interface SpotCapacityRebalance { ReplacementStrategy?: ReplacementStrategy; TerminationDelay?: number; @@ -17961,10 +17779,7 @@ export interface SpotFleetTagSpecification { Tags?: Array; } export type SpotFleetTagSpecificationList = Array; -export type SpotInstanceInterruptionBehavior = - | "hibernate" - | "stop" - | "terminate"; +export type SpotInstanceInterruptionBehavior = "hibernate" | "stop" | "terminate"; export interface SpotInstanceRequest { ActualBlockHourlyPrice?: string; AvailabilityZoneGroup?: string; @@ -17991,13 +17806,7 @@ export type SpotInstanceRequestId = string; export type SpotInstanceRequestIdList = Array; export type SpotInstanceRequestList = Array; -export type SpotInstanceState = - | "open" - | "active" - | "closed" - | "cancelled" - | "failed" - | "disabled"; +export type SpotInstanceState = "open" | "active" | "closed" | "cancelled" | "failed" | "disabled"; export interface SpotInstanceStateFault { Code?: string; Message?: string; @@ -18128,16 +17937,7 @@ export interface StartVpcEndpointServicePrivateDnsVerificationRequest { export interface StartVpcEndpointServicePrivateDnsVerificationResult { ReturnValue?: boolean; } -export type State = - | "PendingAcceptance" - | "Pending" - | "Available" - | "Deleting" - | "Deleted" - | "Rejected" - | "Failed" - | "Expired" - | "Partial"; +export type State = "PendingAcceptance" | "Pending" | "Available" | "Deleting" | "Deleted" | "Rejected" | "Failed" | "Expired" | "Partial"; export interface StateReason { Code?: string; Message?: string; @@ -18146,11 +17946,7 @@ export type StaticSourcesSupportValue = "enable" | "disable"; export type StatisticType = "p50"; export type Status = "MoveInProgress" | "InVpc" | "InClassic"; export type StatusName = "reachability"; -export type StatusType = - | "passed" - | "failed" - | "insufficient-data" - | "initializing"; +export type StatusType = "passed" | "failed" | "insufficient-data" | "initializing"; export interface StopInstancesRequest { InstanceIds: Array; Hibernate?: boolean; @@ -18220,13 +18016,7 @@ export interface SubnetCidrBlockState { State?: SubnetCidrBlockStateCode; StatusMessage?: string; } -export type SubnetCidrBlockStateCode = - | "associating" - | "associated" - | "disassociating" - | "disassociated" - | "failing" - | "failed"; +export type SubnetCidrBlockStateCode = "associating" | "associated" | "disassociating" | "disassociated" | "failing" | "failed"; export interface SubnetCidrReservation { SubnetCidrReservationId?: string; SubnetId?: string; @@ -18262,15 +18052,9 @@ export interface SubnetIpv6CidrBlockAssociation { Ipv6AddressAttribute?: Ipv6AddressAttribute; IpSource?: IpSource; } -export type SubnetIpv6CidrBlockAssociationSet = - Array; +export type SubnetIpv6CidrBlockAssociationSet = Array; export type SubnetList = Array; -export type SubnetState = - | "pending" - | "available" - | "unavailable" - | "failed" - | "failed-insufficient-capacity"; +export type SubnetState = "pending" | "available" | "unavailable" | "failed" | "failed-insufficient-capacity"; export interface Subscription { Source?: string; Destination?: string; @@ -18282,22 +18066,14 @@ export type SubscriptionList = Array; export interface SuccessfulInstanceCreditSpecificationItem { InstanceId?: string; } -export type SuccessfulInstanceCreditSpecificationSet = - Array; +export type SuccessfulInstanceCreditSpecificationSet = Array; export interface SuccessfulQueuedPurchaseDeletion { ReservedInstancesId?: string; } -export type SuccessfulQueuedPurchaseDeletionSet = - Array; -export type SummaryStatus = - | "ok" - | "impaired" - | "insufficient-data" - | "not-applicable" - | "initializing"; +export type SuccessfulQueuedPurchaseDeletionSet = Array; +export type SummaryStatus = "ok" | "impaired" | "insufficient-data" | "not-applicable" | "initializing"; export type SupportedAdditionalProcessorFeature = "amd-sev-snp"; -export type SupportedAdditionalProcessorFeatureList = - Array; +export type SupportedAdditionalProcessorFeatureList = Array; export type SupportedIpAddressTypes = Array; export interface SupportedRegionDetail { Region?: string; @@ -18407,18 +18183,8 @@ export type ThroughResourcesStatementList = Array; export interface ThroughResourcesStatementRequest { ResourceStatement?: ResourceStatementRequest; } -export type ThroughResourcesStatementRequestList = - Array; -export type TieringOperationStatus = - | "archival-in-progress" - | "archival-completed" - | "archival-failed" - | "temporary-restore-in-progress" - | "temporary-restore-completed" - | "temporary-restore-failed" - | "permanent-restore-in-progress" - | "permanent-restore-completed" - | "permanent-restore-failed"; +export type ThroughResourcesStatementRequestList = Array; +export type TieringOperationStatus = "archival-in-progress" | "archival-completed" | "archival-failed" | "temporary-restore-in-progress" | "temporary-restore-completed" | "temporary-restore-failed" | "permanent-restore-in-progress" | "permanent-restore-completed" | "permanent-restore-failed"; export type TokenState = "valid" | "expired"; export type totalFpgaMemory = number; @@ -18466,13 +18232,8 @@ export interface TrafficMirrorFilterRule { Description?: string; Tags?: Array; } -export type TrafficMirrorFilterRuleField = - | "destination-port-range" - | "source-port-range" - | "protocol" - | "description"; -export type TrafficMirrorFilterRuleFieldList = - Array; +export type TrafficMirrorFilterRuleField = "destination-port-range" | "source-port-range" | "protocol" | "description"; +export type TrafficMirrorFilterRuleFieldList = Array; export type TrafficMirrorFilterRuleIdList = Array; export type TrafficMirrorFilterRuleIdWithResolver = string; @@ -18482,8 +18243,7 @@ export type TrafficMirrorFilterSet = Array; export type TrafficMirroringMaxResults = number; export type TrafficMirrorNetworkService = "amazon-dns"; -export type TrafficMirrorNetworkServiceList = - Array; +export type TrafficMirrorNetworkServiceList = Array; export interface TrafficMirrorPortRange { FromPort?: number; ToPort?: number; @@ -18505,10 +18265,7 @@ export interface TrafficMirrorSession { Description?: string; Tags?: Array; } -export type TrafficMirrorSessionField = - | "packet-length" - | "description" - | "virtual-network-id"; +export type TrafficMirrorSessionField = "packet-length" | "description" | "virtual-network-id"; export type TrafficMirrorSessionFieldList = Array; export type TrafficMirrorSessionId = string; @@ -18528,10 +18285,7 @@ export type TrafficMirrorTargetId = string; export type TrafficMirrorTargetIdList = Array; export type TrafficMirrorTargetSet = Array; -export type TrafficMirrorTargetType = - | "network-interface" - | "network-load-balancer" - | "gateway-load-balancer-endpoint"; +export type TrafficMirrorTargetType = "network-interface" | "network-load-balancer" | "gateway-load-balancer-endpoint"; export type TrafficType = "ACCEPT" | "REJECT" | "ALL"; export type TransferType = "time-based" | "standard"; export type TransitAssociationGatewayId = string; @@ -18553,11 +18307,7 @@ export interface TransitGatewayAssociation { ResourceType?: TransitGatewayAttachmentResourceType; State?: TransitGatewayAssociationState; } -export type TransitGatewayAssociationState = - | "associating" - | "associated" - | "disassociating" - | "disassociated"; +export type TransitGatewayAssociationState = "associating" | "associated" | "disassociating" | "disassociated"; export interface TransitGatewayAttachment { TransitGatewayAttachmentId?: string; TransitGatewayId?: string; @@ -18581,8 +18331,7 @@ export interface TransitGatewayAttachmentBgpConfiguration { PeerAddress?: string; BgpStatus?: BgpStatus; } -export type TransitGatewayAttachmentBgpConfigurationList = - Array; +export type TransitGatewayAttachmentBgpConfigurationList = Array; export type TransitGatewayAttachmentId = string; export type TransitGatewayAttachmentIdStringList = Array; @@ -18591,30 +18340,9 @@ export interface TransitGatewayAttachmentPropagation { TransitGatewayRouteTableId?: string; State?: TransitGatewayPropagationState; } -export type TransitGatewayAttachmentPropagationList = - Array; -export type TransitGatewayAttachmentResourceType = - | "vpc" - | "vpn" - | "direct-connect-gateway" - | "connect" - | "peering" - | "tgw-peering" - | "network-function"; -export type TransitGatewayAttachmentState = - | "initiating" - | "initiatingRequest" - | "pendingAcceptance" - | "rollingBack" - | "pending" - | "available" - | "modifying" - | "deleting" - | "deleted" - | "failed" - | "rejected" - | "rejecting" - | "failing"; +export type TransitGatewayAttachmentPropagationList = Array; +export type TransitGatewayAttachmentResourceType = "vpc" | "vpn" | "direct-connect-gateway" | "connect" | "peering" | "tgw-peering" | "network-function"; +export type TransitGatewayAttachmentState = "initiating" | "initiatingRequest" | "pendingAcceptance" | "rollingBack" | "pending" | "available" | "modifying" | "deleting" | "deleted" | "failed" | "rejected" | "rejecting" | "failing"; export type TransitGatewayCidrBlockStringList = Array; export interface TransitGatewayConnect { TransitGatewayAttachmentId?: string; @@ -18648,11 +18376,7 @@ export type TransitGatewayConnectPeerId = string; export type TransitGatewayConnectPeerIdStringList = Array; export type TransitGatewayConnectPeerList = Array; -export type TransitGatewayConnectPeerState = - | "pending" - | "available" - | "deleting" - | "deleted"; +export type TransitGatewayConnectPeerState = "pending" | "available" | "deleting" | "deleted"; export interface TransitGatewayConnectRequestBgpOptions { PeerAsn?: number; } @@ -18662,14 +18386,7 @@ export type TransitGatewayIdStringList = Array; export type TransitGatewayList = Array; export type TransitGatewayMaxResults = number; -export type TransitGatewayMulitcastDomainAssociationState = - | "pendingAcceptance" - | "associating" - | "associated" - | "disassociating" - | "disassociated" - | "rejected" - | "failed"; +export type TransitGatewayMulitcastDomainAssociationState = "pendingAcceptance" | "associating" | "associated" | "disassociating" | "disassociated" | "rejected" | "failed"; export interface TransitGatewayMulticastDeregisteredGroupMembers { TransitGatewayMulticastDomainId?: string; DeregisteredNetworkInterfaceIds?: Array; @@ -18697,8 +18414,7 @@ export interface TransitGatewayMulticastDomainAssociation { ResourceOwnerId?: string; Subnet?: SubnetAssociation; } -export type TransitGatewayMulticastDomainAssociationList = - Array; +export type TransitGatewayMulticastDomainAssociationList = Array; export interface TransitGatewayMulticastDomainAssociations { TransitGatewayMulticastDomainId?: string; TransitGatewayAttachmentId?: string; @@ -18710,18 +18426,13 @@ export interface TransitGatewayMulticastDomainAssociations { export type TransitGatewayMulticastDomainId = string; export type TransitGatewayMulticastDomainIdStringList = Array; -export type TransitGatewayMulticastDomainList = - Array; +export type TransitGatewayMulticastDomainList = Array; export interface TransitGatewayMulticastDomainOptions { Igmpv2Support?: Igmpv2SupportValue; StaticSourcesSupport?: StaticSourcesSupportValue; AutoAcceptSharedAssociations?: AutoAcceptSharedAssociationsValue; } -export type TransitGatewayMulticastDomainState = - | "pending" - | "available" - | "deleting" - | "deleted"; +export type TransitGatewayMulticastDomainState = "pending" | "available" | "deleting" | "deleted"; export interface TransitGatewayMulticastGroup { GroupIpAddress?: string; TransitGatewayAttachmentId?: string; @@ -18735,8 +18446,7 @@ export interface TransitGatewayMulticastGroup { MemberType?: MembershipType; SourceType?: MembershipType; } -export type TransitGatewayMulticastGroupList = - Array; +export type TransitGatewayMulticastGroupList = Array; export interface TransitGatewayMulticastRegisteredGroupMembers { TransitGatewayMulticastDomainId?: string; RegisteredNetworkInterfaceIds?: Array; @@ -18772,8 +18482,7 @@ export interface TransitGatewayPeeringAttachment { CreationTime?: Date | string; Tags?: Array; } -export type TransitGatewayPeeringAttachmentList = - Array; +export type TransitGatewayPeeringAttachmentList = Array; export interface TransitGatewayPeeringAttachmentOptions { DynamicRouting?: DynamicRoutingValue; } @@ -18803,24 +18512,18 @@ export interface TransitGatewayPolicyTableAssociation { ResourceType?: TransitGatewayAttachmentResourceType; State?: TransitGatewayAssociationState; } -export type TransitGatewayPolicyTableAssociationList = - Array; +export type TransitGatewayPolicyTableAssociationList = Array; export interface TransitGatewayPolicyTableEntry { PolicyRuleNumber?: string; PolicyRule?: TransitGatewayPolicyRule; TargetRouteTableId?: string; } -export type TransitGatewayPolicyTableEntryList = - Array; +export type TransitGatewayPolicyTableEntryList = Array; export type TransitGatewayPolicyTableId = string; export type TransitGatewayPolicyTableIdStringList = Array; export type TransitGatewayPolicyTableList = Array; -export type TransitGatewayPolicyTableState = - | "pending" - | "available" - | "deleting" - | "deleted"; +export type TransitGatewayPolicyTableState = "pending" | "available" | "deleting" | "deleted"; export interface TransitGatewayPrefixListAttachment { TransitGatewayAttachmentId?: string; ResourceType?: TransitGatewayAttachmentResourceType; @@ -18834,13 +18537,8 @@ export interface TransitGatewayPrefixListReference { Blackhole?: boolean; TransitGatewayAttachment?: TransitGatewayPrefixListAttachment; } -export type TransitGatewayPrefixListReferenceSet = - Array; -export type TransitGatewayPrefixListReferenceState = - | "pending" - | "available" - | "modifying" - | "deleting"; +export type TransitGatewayPrefixListReferenceSet = Array; +export type TransitGatewayPrefixListReferenceState = "pending" | "available" | "modifying" | "deleting"; export interface TransitGatewayPropagation { TransitGatewayAttachmentId?: string; ResourceId?: string; @@ -18849,11 +18547,7 @@ export interface TransitGatewayPropagation { State?: TransitGatewayPropagationState; TransitGatewayRouteTableAnnouncementId?: string; } -export type TransitGatewayPropagationState = - | "enabling" - | "enabled" - | "disabling" - | "disabled"; +export type TransitGatewayPropagationState = "enabling" | "enabled" | "disabling" | "disabled"; export interface TransitGatewayRequestOptions { AmazonSideAsn?: number; AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue; @@ -18878,15 +18572,9 @@ export interface TransitGatewayRouteAttachment { TransitGatewayAttachmentId?: string; ResourceType?: TransitGatewayAttachmentResourceType; } -export type TransitGatewayRouteAttachmentList = - Array; +export type TransitGatewayRouteAttachmentList = Array; export type TransitGatewayRouteList = Array; -export type TransitGatewayRouteState = - | "pending" - | "active" - | "blackhole" - | "deleting" - | "deleted"; +export type TransitGatewayRouteState = "pending" | "active" | "blackhole" | "deleting" | "deleted"; export interface TransitGatewayRouteTable { TransitGatewayRouteTableId?: string; TransitGatewayId?: string; @@ -18909,29 +18597,19 @@ export interface TransitGatewayRouteTableAnnouncement { CreationTime?: Date | string; Tags?: Array; } -export type TransitGatewayRouteTableAnnouncementDirection = - | "outgoing" - | "incoming"; +export type TransitGatewayRouteTableAnnouncementDirection = "outgoing" | "incoming"; export type TransitGatewayRouteTableAnnouncementId = string; export type TransitGatewayRouteTableAnnouncementIdStringList = Array; -export type TransitGatewayRouteTableAnnouncementList = - Array; -export type TransitGatewayRouteTableAnnouncementState = - | "available" - | "pending" - | "failing" - | "failed" - | "deleting" - | "deleted"; +export type TransitGatewayRouteTableAnnouncementList = Array; +export type TransitGatewayRouteTableAnnouncementState = "available" | "pending" | "failing" | "failed" | "deleting" | "deleted"; export interface TransitGatewayRouteTableAssociation { TransitGatewayAttachmentId?: string; ResourceId?: string; ResourceType?: TransitGatewayAttachmentResourceType; State?: TransitGatewayAssociationState; } -export type TransitGatewayRouteTableAssociationList = - Array; +export type TransitGatewayRouteTableAssociationList = Array; export type TransitGatewayRouteTableId = string; export type TransitGatewayRouteTableIdStringList = Array; @@ -18943,8 +18621,7 @@ export interface TransitGatewayRouteTablePropagation { State?: TransitGatewayPropagationState; TransitGatewayRouteTableAnnouncementId?: string; } -export type TransitGatewayRouteTablePropagationList = - Array; +export type TransitGatewayRouteTablePropagationList = Array; export interface TransitGatewayRouteTableRoute { DestinationCidr?: string; State?: string; @@ -18954,18 +18631,9 @@ export interface TransitGatewayRouteTableRoute { ResourceId?: string; ResourceType?: string; } -export type TransitGatewayRouteTableState = - | "pending" - | "available" - | "deleting" - | "deleted"; +export type TransitGatewayRouteTableState = "pending" | "available" | "deleting" | "deleted"; export type TransitGatewayRouteType = "static" | "propagated"; -export type TransitGatewayState = - | "pending" - | "available" - | "modifying" - | "deleting" - | "deleted"; +export type TransitGatewayState = "pending" | "available" | "modifying" | "deleting" | "deleted"; export type TransitGatewaySubnetIdList = Array; export interface TransitGatewayVpcAttachment { TransitGatewayAttachmentId?: string; @@ -18978,8 +18646,7 @@ export interface TransitGatewayVpcAttachment { Options?: TransitGatewayVpcAttachmentOptions; Tags?: Array; } -export type TransitGatewayVpcAttachmentList = - Array; +export type TransitGatewayVpcAttachmentList = Array; export interface TransitGatewayVpcAttachmentOptions { DnsSupport?: DnsSupportValue; SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue; @@ -19066,11 +18733,7 @@ export interface UnmonitorInstancesRequest { export interface UnmonitorInstancesResult { InstanceMonitorings?: Array; } -export type UnsuccessfulInstanceCreditSpecificationErrorCode = - | "InvalidInstanceID.Malformed" - | "InvalidInstanceID.NotFound" - | "IncorrectInstanceState" - | "InstanceCreditSpecification.NotSupported"; +export type UnsuccessfulInstanceCreditSpecificationErrorCode = "InvalidInstanceID.Malformed" | "InvalidInstanceID.NotFound" | "IncorrectInstanceState" | "InstanceCreditSpecification.NotSupported"; export interface UnsuccessfulInstanceCreditSpecificationItem { InstanceId?: string; Error?: UnsuccessfulInstanceCreditSpecificationItemError; @@ -19079,8 +18742,7 @@ export interface UnsuccessfulInstanceCreditSpecificationItemError { Code?: UnsuccessfulInstanceCreditSpecificationErrorCode; Message?: string; } -export type UnsuccessfulInstanceCreditSpecificationSet = - Array; +export type UnsuccessfulInstanceCreditSpecificationSet = Array; export interface UnsuccessfulItem { Error?: UnsuccessfulItemError; ResourceId?: string; @@ -19227,8 +18889,7 @@ export interface VerifiedAccessEndpointPortRange { FromPort?: number; ToPort?: number; } -export type VerifiedAccessEndpointPortRangeList = - Array; +export type VerifiedAccessEndpointPortRangeList = Array; export type VerifiedAccessEndpointProtocol = "http" | "https" | "tcp"; export interface VerifiedAccessEndpointRdsOptions { Protocol?: VerifiedAccessEndpointProtocol; @@ -19243,25 +18904,15 @@ export interface VerifiedAccessEndpointStatus { Code?: VerifiedAccessEndpointStatusCode; Message?: string; } -export type VerifiedAccessEndpointStatusCode = - | "pending" - | "active" - | "updating" - | "deleting" - | "deleted"; +export type VerifiedAccessEndpointStatusCode = "pending" | "active" | "updating" | "deleting" | "deleted"; export type VerifiedAccessEndpointSubnetIdList = Array; export interface VerifiedAccessEndpointTarget { VerifiedAccessEndpointId?: string; VerifiedAccessEndpointTargetIpAddress?: string; VerifiedAccessEndpointTargetDns?: string; } -export type VerifiedAccessEndpointTargetList = - Array; -export type VerifiedAccessEndpointType = - | "load-balancer" - | "network-interface" - | "rds" - | "cidr"; +export type VerifiedAccessEndpointTargetList = Array; +export type VerifiedAccessEndpointType = "load-balancer" | "network-interface" | "rds" | "cidr"; export interface VerifiedAccessGroup { VerifiedAccessGroupId?: string; VerifiedAccessInstanceId?: string; @@ -19300,19 +18951,16 @@ export interface VerifiedAccessInstanceLoggingConfiguration { VerifiedAccessInstanceId?: string; AccessLogs?: VerifiedAccessLogs; } -export type VerifiedAccessInstanceLoggingConfigurationList = - Array; +export type VerifiedAccessInstanceLoggingConfigurationList = Array; export interface VerifiedAccessInstanceOpenVpnClientConfiguration { Config?: string; Routes?: Array; } -export type VerifiedAccessInstanceOpenVpnClientConfigurationList = - Array; +export type VerifiedAccessInstanceOpenVpnClientConfigurationList = Array; export interface VerifiedAccessInstanceOpenVpnClientConfigurationRoute { Cidr?: string; } -export type VerifiedAccessInstanceOpenVpnClientConfigurationRouteList = - Array; +export type VerifiedAccessInstanceOpenVpnClientConfigurationRouteList = Array; export interface VerifiedAccessInstanceUserTrustProviderClientConfiguration { Type?: UserTrustProviderType; Scopes?: string; @@ -19405,13 +19053,11 @@ export interface VerifiedAccessTrustProviderCondensed { UserTrustProviderType?: UserTrustProviderType; DeviceTrustProviderType?: DeviceTrustProviderType; } -export type VerifiedAccessTrustProviderCondensedList = - Array; +export type VerifiedAccessTrustProviderCondensedList = Array; export type VerifiedAccessTrustProviderId = string; export type VerifiedAccessTrustProviderIdList = Array; -export type VerifiedAccessTrustProviderList = - Array; +export type VerifiedAccessTrustProviderList = Array; export type VersionDescription = string; export type VersionStringList = Array; @@ -19461,12 +19107,7 @@ export interface VolumeAttachment { AttachTime?: Date | string; } export type VolumeAttachmentList = Array; -export type VolumeAttachmentState = - | "attaching" - | "attached" - | "detaching" - | "detached" - | "busy"; +export type VolumeAttachmentState = "attaching" | "attached" | "detaching" | "detached" | "busy"; export type VolumeAttributeName = "autoEnableIO" | "productCodes"; export interface VolumeDetail { Size: number; @@ -19496,18 +19137,8 @@ export interface VolumeModification { EndTime?: Date | string; } export type VolumeModificationList = Array; -export type VolumeModificationState = - | "modifying" - | "optimizing" - | "completed" - | "failed"; -export type VolumeState = - | "creating" - | "available" - | "in-use" - | "deleting" - | "deleted" - | "error"; +export type VolumeModificationState = "modifying" | "optimizing" | "completed" | "failed"; +export type VolumeState = "creating" | "available" | "in-use" | "deleting" | "deleted" | "error"; export interface VolumeStatusAction { Code?: string; Description?: string; @@ -19519,8 +19150,7 @@ export interface VolumeStatusAttachmentStatus { IoPerformance?: string; InstanceId?: string; } -export type VolumeStatusAttachmentStatusList = - Array; +export type VolumeStatusAttachmentStatusList = Array; export interface VolumeStatusDetails { Name?: VolumeStatusName; Status?: string; @@ -19539,11 +19169,7 @@ export interface VolumeStatusInfo { Details?: Array; Status?: VolumeStatusInfoStatus; } -export type VolumeStatusInfoStatus = - | "ok" - | "impaired" - | "insufficient-data" - | "warning"; +export type VolumeStatusInfoStatus = "ok" | "impaired" | "insufficient-data" | "warning"; export interface VolumeStatusItem { Actions?: Array; AvailabilityZone?: string; @@ -19556,18 +19182,8 @@ export interface VolumeStatusItem { AvailabilityZoneId?: string; } export type VolumeStatusList = Array; -export type VolumeStatusName = - | "io-enabled" - | "io-performance" - | "initialization-state"; -export type VolumeType = - | "standard" - | "io1" - | "io2" - | "gp2" - | "sc1" - | "st1" - | "gp3"; +export type VolumeStatusName = "io-enabled" | "io-performance" | "initialization-state"; +export type VolumeType = "standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"; export interface Vpc { OwnerId?: string; InstanceTenancy?: Tenancy; @@ -19587,10 +19203,7 @@ export interface VpcAttachment { State?: AttachmentStatus; } export type VpcAttachmentList = Array; -export type VpcAttributeName = - | "enableDnsSupport" - | "enableDnsHostnames" - | "enableNetworkAddressUsageMetrics"; +export type VpcAttributeName = "enableDnsSupport" | "enableDnsHostnames" | "enableNetworkAddressUsageMetrics"; export interface VpcBlockPublicAccessExclusion { ExclusionId?: string; InternetGatewayExclusionMode?: InternetGatewayExclusionMode; @@ -19605,20 +19218,9 @@ export interface VpcBlockPublicAccessExclusion { export type VpcBlockPublicAccessExclusionId = string; export type VpcBlockPublicAccessExclusionIdList = Array; -export type VpcBlockPublicAccessExclusionList = - Array; +export type VpcBlockPublicAccessExclusionList = Array; export type VpcBlockPublicAccessExclusionsAllowed = "allowed" | "not-allowed"; -export type VpcBlockPublicAccessExclusionState = - | "create-in-progress" - | "create-complete" - | "create-failed" - | "update-in-progress" - | "update-complete" - | "update-failed" - | "delete-in-progress" - | "delete-complete" - | "disable-in-progress" - | "disable-complete"; +export type VpcBlockPublicAccessExclusionState = "create-in-progress" | "create-complete" | "create-failed" | "update-in-progress" | "update-complete" | "update-failed" | "delete-in-progress" | "delete-complete" | "disable-in-progress" | "disable-complete"; export interface VpcBlockPublicAccessOptions { AwsAccountId?: string; AwsRegion?: string; @@ -19629,10 +19231,7 @@ export interface VpcBlockPublicAccessOptions { ManagedBy?: ManagedBy; ExclusionsAllowed?: VpcBlockPublicAccessExclusionsAllowed; } -export type VpcBlockPublicAccessState = - | "default-state" - | "update-in-progress" - | "update-complete"; +export type VpcBlockPublicAccessState = "default-state" | "update-in-progress" | "update-complete"; export type VpcCidrAssociationId = string; export interface VpcCidrBlockAssociation { @@ -19645,13 +19244,7 @@ export interface VpcCidrBlockState { State?: VpcCidrBlockStateCode; StatusMessage?: string; } -export type VpcCidrBlockStateCode = - | "associating" - | "associated" - | "disassociating" - | "disassociated" - | "failing" - | "failed"; +export type VpcCidrBlockStateCode = "associating" | "associated" | "disassociating" | "disassociated" | "failing" | "failed"; export interface VpcClassicLink { ClassicLinkEnabled?: boolean; Tags?: Array; @@ -19682,24 +19275,11 @@ export interface VpcEncryptionControlExclusions { VpcLattice?: VpcEncryptionControlExclusion; ElasticFileSystem?: VpcEncryptionControlExclusion; } -export type VpcEncryptionControlExclusionState = - | "enabling" - | "enabled" - | "disabling" - | "disabled"; +export type VpcEncryptionControlExclusionState = "enabling" | "enabled" | "disabling" | "disabled"; export type VpcEncryptionControlId = string; export type VpcEncryptionControlMode = "monitor" | "enforce"; -export type VpcEncryptionControlState = - | "enforce-in-progress" - | "monitor-in-progress" - | "enforce-failed" - | "monitor-failed" - | "deleting" - | "deleted" - | "available" - | "creating" - | "delete-failed"; +export type VpcEncryptionControlState = "enforce-in-progress" | "monitor-in-progress" | "enforce-failed" | "monitor-failed" | "deleting" | "deleted" | "available" | "creating" | "delete-failed"; export interface VpcEndpoint { VpcEndpointId?: string; VpcEndpointType?: VpcEndpointType; @@ -19767,12 +19347,7 @@ export type VpcEndpointServiceId = string; export type VpcEndpointServiceIdList = Array; export type VpcEndpointSet = Array; export type VpcEndpointSubnetIdList = Array; -export type VpcEndpointType = - | "Interface" - | "Gateway" - | "GatewayLoadBalancer" - | "Resource" - | "ServiceNetwork"; +export type VpcEndpointType = "Interface" | "Gateway" | "GatewayLoadBalancer" | "Resource" | "ServiceNetwork"; export type VpcFlowLogId = string; export type VpcId = string; @@ -19812,16 +19387,7 @@ export interface VpcPeeringConnectionStateReason { Code?: VpcPeeringConnectionStateReasonCode; Message?: string; } -export type VpcPeeringConnectionStateReasonCode = - | "initiating-request" - | "pending-acceptance" - | "active" - | "deleted" - | "rejected" - | "failed" - | "expired" - | "provisioning" - | "deleting"; +export type VpcPeeringConnectionStateReasonCode = "initiating-request" | "pending-acceptance" | "active" | "deleted" | "rejected" | "failed" | "expired" | "provisioning" | "deleting"; export interface VpcPeeringConnectionVpcInfo { CidrBlock?: string; Ipv6CidrBlockSet?: Array; @@ -19941,17 +19507,9 @@ export interface VpnTunnelOptionsSpecification { LogOptions?: VpnTunnelLogOptionsSpecification; EnableTunnelLifecycleControl?: boolean; } -export type VpnTunnelOptionsSpecificationsList = - Array; +export type VpnTunnelOptionsSpecificationsList = Array; export type VpnTunnelProvisioningStatus = "available" | "pending" | "failed"; -export type WeekDay = - | "sunday" - | "monday" - | "tuesday" - | "wednesday" - | "thursday" - | "friday" - | "saturday"; +export type WeekDay = "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"; export interface WithdrawByoipCidrRequest { Cidr: string; DryRun?: boolean; @@ -20008,4317 +19566,5027 @@ export declare class InvalidVpcPeeringConnectionIDNotFound extends EffectData.Ta export declare namespace AcceptAddressTransfer { export type Input = AcceptAddressTransferRequest; export type Output = AcceptAddressTransferResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AcceptCapacityReservationBillingOwnership { export type Input = AcceptCapacityReservationBillingOwnershipRequest; export type Output = AcceptCapacityReservationBillingOwnershipResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AcceptReservedInstancesExchangeQuote { export type Input = AcceptReservedInstancesExchangeQuoteRequest; export type Output = AcceptReservedInstancesExchangeQuoteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AcceptTransitGatewayMulticastDomainAssociations { export type Input = AcceptTransitGatewayMulticastDomainAssociationsRequest; export type Output = AcceptTransitGatewayMulticastDomainAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AcceptTransitGatewayPeeringAttachment { export type Input = AcceptTransitGatewayPeeringAttachmentRequest; export type Output = AcceptTransitGatewayPeeringAttachmentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AcceptTransitGatewayVpcAttachment { export type Input = AcceptTransitGatewayVpcAttachmentRequest; export type Output = AcceptTransitGatewayVpcAttachmentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AcceptVpcEndpointConnections { export type Input = AcceptVpcEndpointConnectionsRequest; export type Output = AcceptVpcEndpointConnectionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AcceptVpcPeeringConnection { export type Input = AcceptVpcPeeringConnectionRequest; export type Output = AcceptVpcPeeringConnectionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AdvertiseByoipCidr { export type Input = AdvertiseByoipCidrRequest; export type Output = AdvertiseByoipCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AllocateAddress { export type Input = AllocateAddressRequest; export type Output = AllocateAddressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AllocateHosts { export type Input = AllocateHostsRequest; export type Output = AllocateHostsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AllocateIpamPoolCidr { export type Input = AllocateIpamPoolCidrRequest; export type Output = AllocateIpamPoolCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ApplySecurityGroupsToClientVpnTargetNetwork { export type Input = ApplySecurityGroupsToClientVpnTargetNetworkRequest; export type Output = ApplySecurityGroupsToClientVpnTargetNetworkResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssignIpv6Addresses { export type Input = AssignIpv6AddressesRequest; export type Output = AssignIpv6AddressesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssignPrivateIpAddresses { export type Input = AssignPrivateIpAddressesRequest; export type Output = AssignPrivateIpAddressesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssignPrivateNatGatewayAddress { export type Input = AssignPrivateNatGatewayAddressRequest; export type Output = AssignPrivateNatGatewayAddressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateAddress { export type Input = AssociateAddressRequest; export type Output = AssociateAddressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateCapacityReservationBillingOwner { export type Input = AssociateCapacityReservationBillingOwnerRequest; export type Output = AssociateCapacityReservationBillingOwnerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateClientVpnTargetNetwork { export type Input = AssociateClientVpnTargetNetworkRequest; export type Output = AssociateClientVpnTargetNetworkResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateDhcpOptions { export type Input = AssociateDhcpOptionsRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateEnclaveCertificateIamRole { export type Input = AssociateEnclaveCertificateIamRoleRequest; export type Output = AssociateEnclaveCertificateIamRoleResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateIamInstanceProfile { export type Input = AssociateIamInstanceProfileRequest; export type Output = AssociateIamInstanceProfileResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateInstanceEventWindow { export type Input = AssociateInstanceEventWindowRequest; export type Output = AssociateInstanceEventWindowResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateIpamByoasn { export type Input = AssociateIpamByoasnRequest; export type Output = AssociateIpamByoasnResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateIpamResourceDiscovery { export type Input = AssociateIpamResourceDiscoveryRequest; export type Output = AssociateIpamResourceDiscoveryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateNatGatewayAddress { export type Input = AssociateNatGatewayAddressRequest; export type Output = AssociateNatGatewayAddressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateRouteServer { export type Input = AssociateRouteServerRequest; export type Output = AssociateRouteServerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateRouteTable { export type Input = AssociateRouteTableRequest; export type Output = AssociateRouteTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateSecurityGroupVpc { export type Input = AssociateSecurityGroupVpcRequest; export type Output = AssociateSecurityGroupVpcResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateSubnetCidrBlock { export type Input = AssociateSubnetCidrBlockRequest; export type Output = AssociateSubnetCidrBlockResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateTransitGatewayMulticastDomain { export type Input = AssociateTransitGatewayMulticastDomainRequest; export type Output = AssociateTransitGatewayMulticastDomainResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateTransitGatewayPolicyTable { export type Input = AssociateTransitGatewayPolicyTableRequest; export type Output = AssociateTransitGatewayPolicyTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateTransitGatewayRouteTable { export type Input = AssociateTransitGatewayRouteTableRequest; export type Output = AssociateTransitGatewayRouteTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateTrunkInterface { export type Input = AssociateTrunkInterfaceRequest; export type Output = AssociateTrunkInterfaceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateVpcCidrBlock { export type Input = AssociateVpcCidrBlockRequest; export type Output = AssociateVpcCidrBlockResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AttachClassicLinkVpc { export type Input = AttachClassicLinkVpcRequest; export type Output = AttachClassicLinkVpcResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AttachInternetGateway { export type Input = AttachInternetGatewayRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AttachNetworkInterface { export type Input = AttachNetworkInterfaceRequest; export type Output = AttachNetworkInterfaceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AttachVerifiedAccessTrustProvider { export type Input = AttachVerifiedAccessTrustProviderRequest; export type Output = AttachVerifiedAccessTrustProviderResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AttachVolume { export type Input = AttachVolumeRequest; export type Output = VolumeAttachment; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AttachVpnGateway { export type Input = AttachVpnGatewayRequest; export type Output = AttachVpnGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AuthorizeClientVpnIngress { export type Input = AuthorizeClientVpnIngressRequest; export type Output = AuthorizeClientVpnIngressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AuthorizeSecurityGroupEgress { export type Input = AuthorizeSecurityGroupEgressRequest; export type Output = AuthorizeSecurityGroupEgressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AuthorizeSecurityGroupIngress { export type Input = AuthorizeSecurityGroupIngressRequest; export type Output = AuthorizeSecurityGroupIngressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace BundleInstance { export type Input = BundleInstanceRequest; export type Output = BundleInstanceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelBundleTask { export type Input = CancelBundleTaskRequest; export type Output = CancelBundleTaskResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelCapacityReservation { export type Input = CancelCapacityReservationRequest; export type Output = CancelCapacityReservationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelCapacityReservationFleets { export type Input = CancelCapacityReservationFleetsRequest; export type Output = CancelCapacityReservationFleetsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelConversionTask { export type Input = CancelConversionRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelDeclarativePoliciesReport { export type Input = CancelDeclarativePoliciesReportRequest; export type Output = CancelDeclarativePoliciesReportResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelExportTask { export type Input = CancelExportTaskRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelImageLaunchPermission { export type Input = CancelImageLaunchPermissionRequest; export type Output = CancelImageLaunchPermissionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelImportTask { export type Input = CancelImportTaskRequest; export type Output = CancelImportTaskResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelReservedInstancesListing { export type Input = CancelReservedInstancesListingRequest; export type Output = CancelReservedInstancesListingResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelSpotFleetRequests { export type Input = CancelSpotFleetRequestsRequest; export type Output = CancelSpotFleetRequestsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelSpotInstanceRequests { export type Input = CancelSpotInstanceRequestsRequest; export type Output = CancelSpotInstanceRequestsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ConfirmProductInstance { export type Input = ConfirmProductInstanceRequest; export type Output = ConfirmProductInstanceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CopyFpgaImage { export type Input = CopyFpgaImageRequest; export type Output = CopyFpgaImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CopyImage { export type Input = CopyImageRequest; export type Output = CopyImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CopySnapshot { export type Input = CopySnapshotRequest; export type Output = CopySnapshotResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CopyVolumes { export type Input = CopyVolumesRequest; export type Output = CopyVolumesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCapacityManagerDataExport { export type Input = CreateCapacityManagerDataExportRequest; export type Output = CreateCapacityManagerDataExportResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCapacityReservation { export type Input = CreateCapacityReservationRequest; export type Output = CreateCapacityReservationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCapacityReservationBySplitting { export type Input = CreateCapacityReservationBySplittingRequest; export type Output = CreateCapacityReservationBySplittingResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCapacityReservationFleet { export type Input = CreateCapacityReservationFleetRequest; export type Output = CreateCapacityReservationFleetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCarrierGateway { export type Input = CreateCarrierGatewayRequest; export type Output = CreateCarrierGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateClientVpnEndpoint { export type Input = CreateClientVpnEndpointRequest; export type Output = CreateClientVpnEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateClientVpnRoute { export type Input = CreateClientVpnRouteRequest; export type Output = CreateClientVpnRouteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCoipCidr { export type Input = CreateCoipCidrRequest; export type Output = CreateCoipCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCoipPool { export type Input = CreateCoipPoolRequest; export type Output = CreateCoipPoolResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCustomerGateway { export type Input = CreateCustomerGatewayRequest; export type Output = CreateCustomerGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateDefaultSubnet { export type Input = CreateDefaultSubnetRequest; export type Output = CreateDefaultSubnetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateDefaultVpc { export type Input = CreateDefaultVpcRequest; export type Output = CreateDefaultVpcResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateDelegateMacVolumeOwnershipTask { export type Input = CreateDelegateMacVolumeOwnershipTaskRequest; export type Output = CreateDelegateMacVolumeOwnershipTaskResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateDhcpOptions { export type Input = CreateDhcpOptionsRequest; export type Output = CreateDhcpOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateEgressOnlyInternetGateway { export type Input = CreateEgressOnlyInternetGatewayRequest; export type Output = CreateEgressOnlyInternetGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateFleet { export type Input = CreateFleetRequest; export type Output = CreateFleetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateFlowLogs { export type Input = CreateFlowLogsRequest; export type Output = CreateFlowLogsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateFpgaImage { export type Input = CreateFpgaImageRequest; export type Output = CreateFpgaImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateImage { export type Input = CreateImageRequest; export type Output = CreateImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateImageUsageReport { export type Input = CreateImageUsageReportRequest; export type Output = CreateImageUsageReportResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateInstanceConnectEndpoint { export type Input = CreateInstanceConnectEndpointRequest; export type Output = CreateInstanceConnectEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateInstanceEventWindow { export type Input = CreateInstanceEventWindowRequest; export type Output = CreateInstanceEventWindowResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateInstanceExportTask { export type Input = CreateInstanceExportTaskRequest; export type Output = CreateInstanceExportTaskResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateInternetGateway { export type Input = CreateInternetGatewayRequest; export type Output = CreateInternetGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateIpam { export type Input = CreateIpamRequest; export type Output = CreateIpamResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateIpamExternalResourceVerificationToken { export type Input = CreateIpamExternalResourceVerificationTokenRequest; export type Output = CreateIpamExternalResourceVerificationTokenResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateIpamPool { export type Input = CreateIpamPoolRequest; export type Output = CreateIpamPoolResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateIpamPrefixListResolver { export type Input = CreateIpamPrefixListResolverRequest; export type Output = CreateIpamPrefixListResolverResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateIpamPrefixListResolverTarget { export type Input = CreateIpamPrefixListResolverTargetRequest; export type Output = CreateIpamPrefixListResolverTargetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateIpamResourceDiscovery { export type Input = CreateIpamResourceDiscoveryRequest; export type Output = CreateIpamResourceDiscoveryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateIpamScope { export type Input = CreateIpamScopeRequest; export type Output = CreateIpamScopeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateKeyPair { export type Input = CreateKeyPairRequest; export type Output = KeyPair; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateLaunchTemplate { export type Input = CreateLaunchTemplateRequest; export type Output = CreateLaunchTemplateResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateLaunchTemplateVersion { export type Input = CreateLaunchTemplateVersionRequest; export type Output = CreateLaunchTemplateVersionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateLocalGatewayRoute { export type Input = CreateLocalGatewayRouteRequest; export type Output = CreateLocalGatewayRouteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateLocalGatewayRouteTable { export type Input = CreateLocalGatewayRouteTableRequest; export type Output = CreateLocalGatewayRouteTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation { - export type Input = - CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest; - export type Output = - CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult; - export type Error = CommonAwsError; + export type Input = CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest; + export type Output = CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult; + export type Error = + | CommonAwsError; } export declare namespace CreateLocalGatewayRouteTableVpcAssociation { export type Input = CreateLocalGatewayRouteTableVpcAssociationRequest; export type Output = CreateLocalGatewayRouteTableVpcAssociationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateLocalGatewayVirtualInterface { export type Input = CreateLocalGatewayVirtualInterfaceRequest; export type Output = CreateLocalGatewayVirtualInterfaceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateLocalGatewayVirtualInterfaceGroup { export type Input = CreateLocalGatewayVirtualInterfaceGroupRequest; export type Output = CreateLocalGatewayVirtualInterfaceGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateMacSystemIntegrityProtectionModificationTask { export type Input = CreateMacSystemIntegrityProtectionModificationTaskRequest; export type Output = CreateMacSystemIntegrityProtectionModificationTaskResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateManagedPrefixList { export type Input = CreateManagedPrefixListRequest; export type Output = CreateManagedPrefixListResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateNatGateway { export type Input = CreateNatGatewayRequest; export type Output = CreateNatGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateNetworkAcl { export type Input = CreateNetworkAclRequest; export type Output = CreateNetworkAclResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateNetworkAclEntry { export type Input = CreateNetworkAclEntryRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateNetworkInsightsAccessScope { export type Input = CreateNetworkInsightsAccessScopeRequest; export type Output = CreateNetworkInsightsAccessScopeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateNetworkInsightsPath { export type Input = CreateNetworkInsightsPathRequest; export type Output = CreateNetworkInsightsPathResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateNetworkInterface { export type Input = CreateNetworkInterfaceRequest; export type Output = CreateNetworkInterfaceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateNetworkInterfacePermission { export type Input = CreateNetworkInterfacePermissionRequest; export type Output = CreateNetworkInterfacePermissionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreatePlacementGroup { export type Input = CreatePlacementGroupRequest; export type Output = CreatePlacementGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreatePublicIpv4Pool { export type Input = CreatePublicIpv4PoolRequest; export type Output = CreatePublicIpv4PoolResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateReplaceRootVolumeTask { export type Input = CreateReplaceRootVolumeTaskRequest; export type Output = CreateReplaceRootVolumeTaskResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateReservedInstancesListing { export type Input = CreateReservedInstancesListingRequest; export type Output = CreateReservedInstancesListingResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateRestoreImageTask { export type Input = CreateRestoreImageTaskRequest; export type Output = CreateRestoreImageTaskResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateRoute { export type Input = CreateRouteRequest; export type Output = CreateRouteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateRouteServer { export type Input = CreateRouteServerRequest; export type Output = CreateRouteServerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateRouteServerEndpoint { export type Input = CreateRouteServerEndpointRequest; export type Output = CreateRouteServerEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateRouteServerPeer { export type Input = CreateRouteServerPeerRequest; export type Output = CreateRouteServerPeerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateRouteTable { export type Input = CreateRouteTableRequest; export type Output = CreateRouteTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSecurityGroup { export type Input = CreateSecurityGroupRequest; export type Output = CreateSecurityGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSnapshot { export type Input = CreateSnapshotRequest; export type Output = Snapshot; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSnapshots { export type Input = CreateSnapshotsRequest; export type Output = CreateSnapshotsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSpotDatafeedSubscription { export type Input = CreateSpotDatafeedSubscriptionRequest; export type Output = CreateSpotDatafeedSubscriptionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateStoreImageTask { export type Input = CreateStoreImageTaskRequest; export type Output = CreateStoreImageTaskResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSubnet { export type Input = CreateSubnetRequest; export type Output = CreateSubnetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSubnetCidrReservation { export type Input = CreateSubnetCidrReservationRequest; export type Output = CreateSubnetCidrReservationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTags { export type Input = CreateTagsRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTrafficMirrorFilter { export type Input = CreateTrafficMirrorFilterRequest; export type Output = CreateTrafficMirrorFilterResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTrafficMirrorFilterRule { export type Input = CreateTrafficMirrorFilterRuleRequest; export type Output = CreateTrafficMirrorFilterRuleResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTrafficMirrorSession { export type Input = CreateTrafficMirrorSessionRequest; export type Output = CreateTrafficMirrorSessionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTrafficMirrorTarget { export type Input = CreateTrafficMirrorTargetRequest; export type Output = CreateTrafficMirrorTargetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGateway { export type Input = CreateTransitGatewayRequest; export type Output = CreateTransitGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayConnect { export type Input = CreateTransitGatewayConnectRequest; export type Output = CreateTransitGatewayConnectResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayConnectPeer { export type Input = CreateTransitGatewayConnectPeerRequest; export type Output = CreateTransitGatewayConnectPeerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayMulticastDomain { export type Input = CreateTransitGatewayMulticastDomainRequest; export type Output = CreateTransitGatewayMulticastDomainResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayPeeringAttachment { export type Input = CreateTransitGatewayPeeringAttachmentRequest; export type Output = CreateTransitGatewayPeeringAttachmentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayPolicyTable { export type Input = CreateTransitGatewayPolicyTableRequest; export type Output = CreateTransitGatewayPolicyTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayPrefixListReference { export type Input = CreateTransitGatewayPrefixListReferenceRequest; export type Output = CreateTransitGatewayPrefixListReferenceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayRoute { export type Input = CreateTransitGatewayRouteRequest; export type Output = CreateTransitGatewayRouteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayRouteTable { export type Input = CreateTransitGatewayRouteTableRequest; export type Output = CreateTransitGatewayRouteTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayRouteTableAnnouncement { export type Input = CreateTransitGatewayRouteTableAnnouncementRequest; export type Output = CreateTransitGatewayRouteTableAnnouncementResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateTransitGatewayVpcAttachment { export type Input = CreateTransitGatewayVpcAttachmentRequest; export type Output = CreateTransitGatewayVpcAttachmentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVerifiedAccessEndpoint { export type Input = CreateVerifiedAccessEndpointRequest; export type Output = CreateVerifiedAccessEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVerifiedAccessGroup { export type Input = CreateVerifiedAccessGroupRequest; export type Output = CreateVerifiedAccessGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVerifiedAccessInstance { export type Input = CreateVerifiedAccessInstanceRequest; export type Output = CreateVerifiedAccessInstanceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVerifiedAccessTrustProvider { export type Input = CreateVerifiedAccessTrustProviderRequest; export type Output = CreateVerifiedAccessTrustProviderResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVolume { export type Input = CreateVolumeRequest; export type Output = Volume; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVpc { export type Input = CreateVpcRequest; export type Output = CreateVpcResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVpcBlockPublicAccessExclusion { export type Input = CreateVpcBlockPublicAccessExclusionRequest; export type Output = CreateVpcBlockPublicAccessExclusionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVpcEndpoint { export type Input = CreateVpcEndpointRequest; export type Output = CreateVpcEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVpcEndpointConnectionNotification { export type Input = CreateVpcEndpointConnectionNotificationRequest; export type Output = CreateVpcEndpointConnectionNotificationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVpcEndpointServiceConfiguration { export type Input = CreateVpcEndpointServiceConfigurationRequest; export type Output = CreateVpcEndpointServiceConfigurationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVpcPeeringConnection { export type Input = CreateVpcPeeringConnectionRequest; export type Output = CreateVpcPeeringConnectionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVpnConnection { export type Input = CreateVpnConnectionRequest; export type Output = CreateVpnConnectionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVpnConnectionRoute { export type Input = CreateVpnConnectionRouteRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVpnGateway { export type Input = CreateVpnGatewayRequest; export type Output = CreateVpnGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteCapacityManagerDataExport { export type Input = DeleteCapacityManagerDataExportRequest; export type Output = DeleteCapacityManagerDataExportResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteCarrierGateway { export type Input = DeleteCarrierGatewayRequest; export type Output = DeleteCarrierGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteClientVpnEndpoint { export type Input = DeleteClientVpnEndpointRequest; export type Output = DeleteClientVpnEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteClientVpnRoute { export type Input = DeleteClientVpnRouteRequest; export type Output = DeleteClientVpnRouteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteCoipCidr { export type Input = DeleteCoipCidrRequest; export type Output = DeleteCoipCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteCoipPool { export type Input = DeleteCoipPoolRequest; export type Output = DeleteCoipPoolResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteCustomerGateway { export type Input = DeleteCustomerGatewayRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteDhcpOptions { export type Input = DeleteDhcpOptionsRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteEgressOnlyInternetGateway { export type Input = DeleteEgressOnlyInternetGatewayRequest; export type Output = DeleteEgressOnlyInternetGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteFleets { export type Input = DeleteFleetsRequest; export type Output = DeleteFleetsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteFlowLogs { export type Input = DeleteFlowLogsRequest; export type Output = DeleteFlowLogsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteFpgaImage { export type Input = DeleteFpgaImageRequest; export type Output = DeleteFpgaImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteImageUsageReport { export type Input = DeleteImageUsageReportRequest; export type Output = DeleteImageUsageReportResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteInstanceConnectEndpoint { export type Input = DeleteInstanceConnectEndpointRequest; export type Output = DeleteInstanceConnectEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteInstanceEventWindow { export type Input = DeleteInstanceEventWindowRequest; export type Output = DeleteInstanceEventWindowResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteInternetGateway { export type Input = DeleteInternetGatewayRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteIpam { export type Input = DeleteIpamRequest; export type Output = DeleteIpamResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteIpamExternalResourceVerificationToken { export type Input = DeleteIpamExternalResourceVerificationTokenRequest; export type Output = DeleteIpamExternalResourceVerificationTokenResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteIpamPool { export type Input = DeleteIpamPoolRequest; export type Output = DeleteIpamPoolResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteIpamPrefixListResolver { export type Input = DeleteIpamPrefixListResolverRequest; export type Output = DeleteIpamPrefixListResolverResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteIpamPrefixListResolverTarget { export type Input = DeleteIpamPrefixListResolverTargetRequest; export type Output = DeleteIpamPrefixListResolverTargetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteIpamResourceDiscovery { export type Input = DeleteIpamResourceDiscoveryRequest; export type Output = DeleteIpamResourceDiscoveryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteIpamScope { export type Input = DeleteIpamScopeRequest; export type Output = DeleteIpamScopeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteKeyPair { export type Input = DeleteKeyPairRequest; export type Output = DeleteKeyPairResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteLaunchTemplate { export type Input = DeleteLaunchTemplateRequest; export type Output = DeleteLaunchTemplateResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteLaunchTemplateVersions { export type Input = DeleteLaunchTemplateVersionsRequest; export type Output = DeleteLaunchTemplateVersionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteLocalGatewayRoute { export type Input = DeleteLocalGatewayRouteRequest; export type Output = DeleteLocalGatewayRouteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteLocalGatewayRouteTable { export type Input = DeleteLocalGatewayRouteTableRequest; export type Output = DeleteLocalGatewayRouteTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation { - export type Input = - DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest; - export type Output = - DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult; - export type Error = CommonAwsError; + export type Input = DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest; + export type Output = DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult; + export type Error = + | CommonAwsError; } export declare namespace DeleteLocalGatewayRouteTableVpcAssociation { export type Input = DeleteLocalGatewayRouteTableVpcAssociationRequest; export type Output = DeleteLocalGatewayRouteTableVpcAssociationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteLocalGatewayVirtualInterface { export type Input = DeleteLocalGatewayVirtualInterfaceRequest; export type Output = DeleteLocalGatewayVirtualInterfaceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteLocalGatewayVirtualInterfaceGroup { export type Input = DeleteLocalGatewayVirtualInterfaceGroupRequest; export type Output = DeleteLocalGatewayVirtualInterfaceGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteManagedPrefixList { export type Input = DeleteManagedPrefixListRequest; export type Output = DeleteManagedPrefixListResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNatGateway { export type Input = DeleteNatGatewayRequest; export type Output = DeleteNatGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNetworkAcl { export type Input = DeleteNetworkAclRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNetworkAclEntry { export type Input = DeleteNetworkAclEntryRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNetworkInsightsAccessScope { export type Input = DeleteNetworkInsightsAccessScopeRequest; export type Output = DeleteNetworkInsightsAccessScopeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNetworkInsightsAccessScopeAnalysis { export type Input = DeleteNetworkInsightsAccessScopeAnalysisRequest; export type Output = DeleteNetworkInsightsAccessScopeAnalysisResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNetworkInsightsAnalysis { export type Input = DeleteNetworkInsightsAnalysisRequest; export type Output = DeleteNetworkInsightsAnalysisResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNetworkInsightsPath { export type Input = DeleteNetworkInsightsPathRequest; export type Output = DeleteNetworkInsightsPathResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNetworkInterface { export type Input = DeleteNetworkInterfaceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNetworkInterfacePermission { export type Input = DeleteNetworkInterfacePermissionRequest; export type Output = DeleteNetworkInterfacePermissionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeletePlacementGroup { export type Input = DeletePlacementGroupRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeletePublicIpv4Pool { export type Input = DeletePublicIpv4PoolRequest; export type Output = DeletePublicIpv4PoolResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteQueuedReservedInstances { export type Input = DeleteQueuedReservedInstancesRequest; export type Output = DeleteQueuedReservedInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteRoute { export type Input = DeleteRouteRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteRouteServer { export type Input = DeleteRouteServerRequest; export type Output = DeleteRouteServerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteRouteServerEndpoint { export type Input = DeleteRouteServerEndpointRequest; export type Output = DeleteRouteServerEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteRouteServerPeer { export type Input = DeleteRouteServerPeerRequest; export type Output = DeleteRouteServerPeerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteRouteTable { export type Input = DeleteRouteTableRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteSecurityGroup { export type Input = DeleteSecurityGroupRequest; export type Output = DeleteSecurityGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteSnapshot { export type Input = DeleteSnapshotRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteSpotDatafeedSubscription { export type Input = DeleteSpotDatafeedSubscriptionRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteSubnet { export type Input = DeleteSubnetRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteSubnetCidrReservation { export type Input = DeleteSubnetCidrReservationRequest; export type Output = DeleteSubnetCidrReservationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTags { export type Input = DeleteTagsRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTrafficMirrorFilter { export type Input = DeleteTrafficMirrorFilterRequest; export type Output = DeleteTrafficMirrorFilterResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTrafficMirrorFilterRule { export type Input = DeleteTrafficMirrorFilterRuleRequest; export type Output = DeleteTrafficMirrorFilterRuleResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTrafficMirrorSession { export type Input = DeleteTrafficMirrorSessionRequest; export type Output = DeleteTrafficMirrorSessionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTrafficMirrorTarget { export type Input = DeleteTrafficMirrorTargetRequest; export type Output = DeleteTrafficMirrorTargetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGateway { export type Input = DeleteTransitGatewayRequest; export type Output = DeleteTransitGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayConnect { export type Input = DeleteTransitGatewayConnectRequest; export type Output = DeleteTransitGatewayConnectResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayConnectPeer { export type Input = DeleteTransitGatewayConnectPeerRequest; export type Output = DeleteTransitGatewayConnectPeerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayMulticastDomain { export type Input = DeleteTransitGatewayMulticastDomainRequest; export type Output = DeleteTransitGatewayMulticastDomainResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayPeeringAttachment { export type Input = DeleteTransitGatewayPeeringAttachmentRequest; export type Output = DeleteTransitGatewayPeeringAttachmentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayPolicyTable { export type Input = DeleteTransitGatewayPolicyTableRequest; export type Output = DeleteTransitGatewayPolicyTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayPrefixListReference { export type Input = DeleteTransitGatewayPrefixListReferenceRequest; export type Output = DeleteTransitGatewayPrefixListReferenceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayRoute { export type Input = DeleteTransitGatewayRouteRequest; export type Output = DeleteTransitGatewayRouteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayRouteTable { export type Input = DeleteTransitGatewayRouteTableRequest; export type Output = DeleteTransitGatewayRouteTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayRouteTableAnnouncement { export type Input = DeleteTransitGatewayRouteTableAnnouncementRequest; export type Output = DeleteTransitGatewayRouteTableAnnouncementResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTransitGatewayVpcAttachment { export type Input = DeleteTransitGatewayVpcAttachmentRequest; export type Output = DeleteTransitGatewayVpcAttachmentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVerifiedAccessEndpoint { export type Input = DeleteVerifiedAccessEndpointRequest; export type Output = DeleteVerifiedAccessEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVerifiedAccessGroup { export type Input = DeleteVerifiedAccessGroupRequest; export type Output = DeleteVerifiedAccessGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVerifiedAccessInstance { export type Input = DeleteVerifiedAccessInstanceRequest; export type Output = DeleteVerifiedAccessInstanceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVerifiedAccessTrustProvider { export type Input = DeleteVerifiedAccessTrustProviderRequest; export type Output = DeleteVerifiedAccessTrustProviderResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVolume { export type Input = DeleteVolumeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVpc { export type Input = DeleteVpcRequest; export type Output = {}; - export type Error = InvalidVpcIDNotFound | CommonAwsError; + export type Error = + | InvalidVpcIDNotFound + | CommonAwsError; } export declare namespace DeleteVpcBlockPublicAccessExclusion { export type Input = DeleteVpcBlockPublicAccessExclusionRequest; export type Output = DeleteVpcBlockPublicAccessExclusionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVpcEndpointConnectionNotifications { export type Input = DeleteVpcEndpointConnectionNotificationsRequest; export type Output = DeleteVpcEndpointConnectionNotificationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVpcEndpoints { export type Input = DeleteVpcEndpointsRequest; export type Output = DeleteVpcEndpointsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVpcEndpointServiceConfigurations { export type Input = DeleteVpcEndpointServiceConfigurationsRequest; export type Output = DeleteVpcEndpointServiceConfigurationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVpcPeeringConnection { export type Input = DeleteVpcPeeringConnectionRequest; export type Output = DeleteVpcPeeringConnectionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVpnConnection { export type Input = DeleteVpnConnectionRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVpnConnectionRoute { export type Input = DeleteVpnConnectionRouteRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVpnGateway { export type Input = DeleteVpnGatewayRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeprovisionByoipCidr { export type Input = DeprovisionByoipCidrRequest; export type Output = DeprovisionByoipCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeprovisionIpamByoasn { export type Input = DeprovisionIpamByoasnRequest; export type Output = DeprovisionIpamByoasnResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeprovisionIpamPoolCidr { export type Input = DeprovisionIpamPoolCidrRequest; export type Output = DeprovisionIpamPoolCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeprovisionPublicIpv4PoolCidr { export type Input = DeprovisionPublicIpv4PoolCidrRequest; export type Output = DeprovisionPublicIpv4PoolCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeregisterImage { export type Input = DeregisterImageRequest; export type Output = DeregisterImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeregisterInstanceEventNotificationAttributes { export type Input = DeregisterInstanceEventNotificationAttributesRequest; export type Output = DeregisterInstanceEventNotificationAttributesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeregisterTransitGatewayMulticastGroupMembers { export type Input = DeregisterTransitGatewayMulticastGroupMembersRequest; export type Output = DeregisterTransitGatewayMulticastGroupMembersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeregisterTransitGatewayMulticastGroupSources { export type Input = DeregisterTransitGatewayMulticastGroupSourcesRequest; export type Output = DeregisterTransitGatewayMulticastGroupSourcesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAccountAttributes { export type Input = DescribeAccountAttributesRequest; export type Output = DescribeAccountAttributesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAddresses { export type Input = DescribeAddressesRequest; export type Output = DescribeAddressesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAddressesAttribute { export type Input = DescribeAddressesAttributeRequest; export type Output = DescribeAddressesAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAddressTransfers { export type Input = DescribeAddressTransfersRequest; export type Output = DescribeAddressTransfersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAggregateIdFormat { export type Input = DescribeAggregateIdFormatRequest; export type Output = DescribeAggregateIdFormatResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAvailabilityZones { export type Input = DescribeAvailabilityZonesRequest; export type Output = DescribeAvailabilityZonesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAwsNetworkPerformanceMetricSubscriptions { export type Input = DescribeAwsNetworkPerformanceMetricSubscriptionsRequest; export type Output = DescribeAwsNetworkPerformanceMetricSubscriptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeBundleTasks { export type Input = DescribeBundleTasksRequest; export type Output = DescribeBundleTasksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeByoipCidrs { export type Input = DescribeByoipCidrsRequest; export type Output = DescribeByoipCidrsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityBlockExtensionHistory { export type Input = DescribeCapacityBlockExtensionHistoryRequest; export type Output = DescribeCapacityBlockExtensionHistoryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityBlockExtensionOfferings { export type Input = DescribeCapacityBlockExtensionOfferingsRequest; export type Output = DescribeCapacityBlockExtensionOfferingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityBlockOfferings { export type Input = DescribeCapacityBlockOfferingsRequest; export type Output = DescribeCapacityBlockOfferingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityBlocks { export type Input = DescribeCapacityBlocksRequest; export type Output = DescribeCapacityBlocksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityBlockStatus { export type Input = DescribeCapacityBlockStatusRequest; export type Output = DescribeCapacityBlockStatusResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityManagerDataExports { export type Input = DescribeCapacityManagerDataExportsRequest; export type Output = DescribeCapacityManagerDataExportsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityReservationBillingRequests { export type Input = DescribeCapacityReservationBillingRequestsRequest; export type Output = DescribeCapacityReservationBillingRequestsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityReservationFleets { export type Input = DescribeCapacityReservationFleetsRequest; export type Output = DescribeCapacityReservationFleetsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityReservations { export type Input = DescribeCapacityReservationsRequest; export type Output = DescribeCapacityReservationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityReservationTopology { export type Input = DescribeCapacityReservationTopologyRequest; export type Output = DescribeCapacityReservationTopologyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCarrierGateways { export type Input = DescribeCarrierGatewaysRequest; export type Output = DescribeCarrierGatewaysResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeClassicLinkInstances { export type Input = DescribeClassicLinkInstancesRequest; export type Output = DescribeClassicLinkInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeClientVpnAuthorizationRules { export type Input = DescribeClientVpnAuthorizationRulesRequest; export type Output = DescribeClientVpnAuthorizationRulesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeClientVpnConnections { export type Input = DescribeClientVpnConnectionsRequest; export type Output = DescribeClientVpnConnectionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeClientVpnEndpoints { export type Input = DescribeClientVpnEndpointsRequest; export type Output = DescribeClientVpnEndpointsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeClientVpnRoutes { export type Input = DescribeClientVpnRoutesRequest; export type Output = DescribeClientVpnRoutesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeClientVpnTargetNetworks { export type Input = DescribeClientVpnTargetNetworksRequest; export type Output = DescribeClientVpnTargetNetworksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCoipPools { export type Input = DescribeCoipPoolsRequest; export type Output = DescribeCoipPoolsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeConversionTasks { export type Input = DescribeConversionTasksRequest; export type Output = DescribeConversionTasksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCustomerGateways { export type Input = DescribeCustomerGatewaysRequest; export type Output = DescribeCustomerGatewaysResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeDeclarativePoliciesReports { export type Input = DescribeDeclarativePoliciesReportsRequest; export type Output = DescribeDeclarativePoliciesReportsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeDhcpOptions { export type Input = DescribeDhcpOptionsRequest; export type Output = DescribeDhcpOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEgressOnlyInternetGateways { export type Input = DescribeEgressOnlyInternetGatewaysRequest; export type Output = DescribeEgressOnlyInternetGatewaysResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeElasticGpus { export type Input = DescribeElasticGpusRequest; export type Output = DescribeElasticGpusResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeExportImageTasks { export type Input = DescribeExportImageTasksRequest; export type Output = DescribeExportImageTasksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeExportTasks { export type Input = DescribeExportTasksRequest; export type Output = DescribeExportTasksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeFastLaunchImages { export type Input = DescribeFastLaunchImagesRequest; export type Output = DescribeFastLaunchImagesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeFastSnapshotRestores { export type Input = DescribeFastSnapshotRestoresRequest; export type Output = DescribeFastSnapshotRestoresResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeFleetHistory { export type Input = DescribeFleetHistoryRequest; export type Output = DescribeFleetHistoryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeFleetInstances { export type Input = DescribeFleetInstancesRequest; export type Output = DescribeFleetInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeFleets { export type Input = DescribeFleetsRequest; export type Output = DescribeFleetsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeFlowLogs { export type Input = DescribeFlowLogsRequest; export type Output = DescribeFlowLogsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeFpgaImageAttribute { export type Input = DescribeFpgaImageAttributeRequest; export type Output = DescribeFpgaImageAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeFpgaImages { export type Input = DescribeFpgaImagesRequest; export type Output = DescribeFpgaImagesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeHostReservationOfferings { export type Input = DescribeHostReservationOfferingsRequest; export type Output = DescribeHostReservationOfferingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeHostReservations { export type Input = DescribeHostReservationsRequest; export type Output = DescribeHostReservationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeHosts { export type Input = DescribeHostsRequest; export type Output = DescribeHostsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIamInstanceProfileAssociations { export type Input = DescribeIamInstanceProfileAssociationsRequest; export type Output = DescribeIamInstanceProfileAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIdentityIdFormat { export type Input = DescribeIdentityIdFormatRequest; export type Output = DescribeIdentityIdFormatResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIdFormat { export type Input = DescribeIdFormatRequest; export type Output = DescribeIdFormatResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeImageAttribute { export type Input = DescribeImageAttributeRequest; export type Output = ImageAttribute; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeImageReferences { export type Input = DescribeImageReferencesRequest; export type Output = DescribeImageReferencesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeImages { export type Input = DescribeImagesRequest; export type Output = DescribeImagesResult; - export type Error = InvalidAMIIDNotFound | CommonAwsError; + export type Error = + | InvalidAMIIDNotFound + | CommonAwsError; } export declare namespace DescribeImageUsageReportEntries { export type Input = DescribeImageUsageReportEntriesRequest; export type Output = DescribeImageUsageReportEntriesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeImageUsageReports { export type Input = DescribeImageUsageReportsRequest; export type Output = DescribeImageUsageReportsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeImportImageTasks { export type Input = DescribeImportImageTasksRequest; export type Output = DescribeImportImageTasksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeImportSnapshotTasks { export type Input = DescribeImportSnapshotTasksRequest; export type Output = DescribeImportSnapshotTasksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstanceAttribute { export type Input = DescribeInstanceAttributeRequest; export type Output = InstanceAttribute; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstanceConnectEndpoints { export type Input = DescribeInstanceConnectEndpointsRequest; export type Output = DescribeInstanceConnectEndpointsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstanceCreditSpecifications { export type Input = DescribeInstanceCreditSpecificationsRequest; export type Output = DescribeInstanceCreditSpecificationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstanceEventNotificationAttributes { export type Input = DescribeInstanceEventNotificationAttributesRequest; export type Output = DescribeInstanceEventNotificationAttributesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstanceEventWindows { export type Input = DescribeInstanceEventWindowsRequest; export type Output = DescribeInstanceEventWindowsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstanceImageMetadata { export type Input = DescribeInstanceImageMetadataRequest; export type Output = DescribeInstanceImageMetadataResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstances { export type Input = DescribeInstancesRequest; export type Output = DescribeInstancesResult; - export type Error = InvalidInstanceIDNotFound | CommonAwsError; + export type Error = + | InvalidInstanceIDNotFound + | CommonAwsError; } export declare namespace DescribeInstanceStatus { export type Input = DescribeInstanceStatusRequest; export type Output = DescribeInstanceStatusResult; - export type Error = InvalidInstanceIDNotFound | CommonAwsError; + export type Error = + | InvalidInstanceIDNotFound + | CommonAwsError; } export declare namespace DescribeInstanceTopology { export type Input = DescribeInstanceTopologyRequest; export type Output = DescribeInstanceTopologyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstanceTypeOfferings { export type Input = DescribeInstanceTypeOfferingsRequest; export type Output = DescribeInstanceTypeOfferingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstanceTypes { export type Input = DescribeInstanceTypesRequest; export type Output = DescribeInstanceTypesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInternetGateways { export type Input = DescribeInternetGatewaysRequest; export type Output = DescribeInternetGatewaysResult; - export type Error = InvalidInternetGatewayNotFound | CommonAwsError; + export type Error = + | InvalidInternetGatewayNotFound + | CommonAwsError; } export declare namespace DescribeIpamByoasn { export type Input = DescribeIpamByoasnRequest; export type Output = DescribeIpamByoasnResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIpamExternalResourceVerificationTokens { export type Input = DescribeIpamExternalResourceVerificationTokensRequest; export type Output = DescribeIpamExternalResourceVerificationTokensResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIpamPools { export type Input = DescribeIpamPoolsRequest; export type Output = DescribeIpamPoolsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIpamPrefixListResolvers { export type Input = DescribeIpamPrefixListResolversRequest; export type Output = DescribeIpamPrefixListResolversResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIpamPrefixListResolverTargets { export type Input = DescribeIpamPrefixListResolverTargetsRequest; export type Output = DescribeIpamPrefixListResolverTargetsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIpamResourceDiscoveries { export type Input = DescribeIpamResourceDiscoveriesRequest; export type Output = DescribeIpamResourceDiscoveriesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIpamResourceDiscoveryAssociations { export type Input = DescribeIpamResourceDiscoveryAssociationsRequest; export type Output = DescribeIpamResourceDiscoveryAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIpams { export type Input = DescribeIpamsRequest; export type Output = DescribeIpamsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIpamScopes { export type Input = DescribeIpamScopesRequest; export type Output = DescribeIpamScopesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeIpv6Pools { export type Input = DescribeIpv6PoolsRequest; export type Output = DescribeIpv6PoolsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeKeyPairs { export type Input = DescribeKeyPairsRequest; export type Output = DescribeKeyPairsResult; - export type Error = InvalidKeyPairNotFound | CommonAwsError; + export type Error = + | InvalidKeyPairNotFound + | CommonAwsError; } export declare namespace DescribeLaunchTemplates { export type Input = DescribeLaunchTemplatesRequest; export type Output = DescribeLaunchTemplatesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeLaunchTemplateVersions { export type Input = DescribeLaunchTemplateVersionsRequest; export type Output = DescribeLaunchTemplateVersionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeLocalGatewayRouteTables { export type Input = DescribeLocalGatewayRouteTablesRequest; export type Output = DescribeLocalGatewayRouteTablesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations { - export type Input = - DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest; - export type Output = - DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult; - export type Error = CommonAwsError; + export type Input = DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest; + export type Output = DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult; + export type Error = + | CommonAwsError; } export declare namespace DescribeLocalGatewayRouteTableVpcAssociations { export type Input = DescribeLocalGatewayRouteTableVpcAssociationsRequest; export type Output = DescribeLocalGatewayRouteTableVpcAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeLocalGateways { export type Input = DescribeLocalGatewaysRequest; export type Output = DescribeLocalGatewaysResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeLocalGatewayVirtualInterfaceGroups { export type Input = DescribeLocalGatewayVirtualInterfaceGroupsRequest; export type Output = DescribeLocalGatewayVirtualInterfaceGroupsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeLocalGatewayVirtualInterfaces { export type Input = DescribeLocalGatewayVirtualInterfacesRequest; export type Output = DescribeLocalGatewayVirtualInterfacesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeLockedSnapshots { export type Input = DescribeLockedSnapshotsRequest; export type Output = DescribeLockedSnapshotsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeMacHosts { export type Input = DescribeMacHostsRequest; export type Output = DescribeMacHostsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeMacModificationTasks { export type Input = DescribeMacModificationTasksRequest; export type Output = DescribeMacModificationTasksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeManagedPrefixLists { export type Input = DescribeManagedPrefixListsRequest; export type Output = DescribeManagedPrefixListsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeMovingAddresses { export type Input = DescribeMovingAddressesRequest; export type Output = DescribeMovingAddressesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeNatGateways { export type Input = DescribeNatGatewaysRequest; export type Output = DescribeNatGatewaysResult; - export type Error = NatGatewayNotFound | CommonAwsError; + export type Error = + | NatGatewayNotFound + | CommonAwsError; } export declare namespace DescribeNetworkAcls { export type Input = DescribeNetworkAclsRequest; export type Output = DescribeNetworkAclsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeNetworkInsightsAccessScopeAnalyses { export type Input = DescribeNetworkInsightsAccessScopeAnalysesRequest; export type Output = DescribeNetworkInsightsAccessScopeAnalysesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeNetworkInsightsAccessScopes { export type Input = DescribeNetworkInsightsAccessScopesRequest; export type Output = DescribeNetworkInsightsAccessScopesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeNetworkInsightsAnalyses { export type Input = DescribeNetworkInsightsAnalysesRequest; export type Output = DescribeNetworkInsightsAnalysesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeNetworkInsightsPaths { export type Input = DescribeNetworkInsightsPathsRequest; export type Output = DescribeNetworkInsightsPathsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeNetworkInterfaceAttribute { export type Input = DescribeNetworkInterfaceAttributeRequest; export type Output = DescribeNetworkInterfaceAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeNetworkInterfacePermissions { export type Input = DescribeNetworkInterfacePermissionsRequest; export type Output = DescribeNetworkInterfacePermissionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeNetworkInterfaces { export type Input = DescribeNetworkInterfacesRequest; export type Output = DescribeNetworkInterfacesResult; - export type Error = InvalidNetworkInterfaceIDNotFound | CommonAwsError; + export type Error = + | InvalidNetworkInterfaceIDNotFound + | CommonAwsError; } export declare namespace DescribeOutpostLags { export type Input = DescribeOutpostLagsRequest; export type Output = DescribeOutpostLagsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribePlacementGroups { export type Input = DescribePlacementGroupsRequest; export type Output = DescribePlacementGroupsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribePrefixLists { export type Input = DescribePrefixListsRequest; export type Output = DescribePrefixListsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribePrincipalIdFormat { export type Input = DescribePrincipalIdFormatRequest; export type Output = DescribePrincipalIdFormatResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribePublicIpv4Pools { export type Input = DescribePublicIpv4PoolsRequest; export type Output = DescribePublicIpv4PoolsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeRegions { export type Input = DescribeRegionsRequest; export type Output = DescribeRegionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeReplaceRootVolumeTasks { export type Input = DescribeReplaceRootVolumeTasksRequest; export type Output = DescribeReplaceRootVolumeTasksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeReservedInstances { export type Input = DescribeReservedInstancesRequest; export type Output = DescribeReservedInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeReservedInstancesListings { export type Input = DescribeReservedInstancesListingsRequest; export type Output = DescribeReservedInstancesListingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeReservedInstancesModifications { export type Input = DescribeReservedInstancesModificationsRequest; export type Output = DescribeReservedInstancesModificationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeReservedInstancesOfferings { export type Input = DescribeReservedInstancesOfferingsRequest; export type Output = DescribeReservedInstancesOfferingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeRouteServerEndpoints { export type Input = DescribeRouteServerEndpointsRequest; export type Output = DescribeRouteServerEndpointsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeRouteServerPeers { export type Input = DescribeRouteServerPeersRequest; export type Output = DescribeRouteServerPeersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeRouteServers { export type Input = DescribeRouteServersRequest; export type Output = DescribeRouteServersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeRouteTables { export type Input = DescribeRouteTablesRequest; export type Output = DescribeRouteTablesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeScheduledInstanceAvailability { export type Input = DescribeScheduledInstanceAvailabilityRequest; export type Output = DescribeScheduledInstanceAvailabilityResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeScheduledInstances { export type Input = DescribeScheduledInstancesRequest; export type Output = DescribeScheduledInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSecurityGroupReferences { export type Input = DescribeSecurityGroupReferencesRequest; export type Output = DescribeSecurityGroupReferencesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSecurityGroupRules { export type Input = DescribeSecurityGroupRulesRequest; export type Output = DescribeSecurityGroupRulesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSecurityGroups { export type Input = DescribeSecurityGroupsRequest; export type Output = DescribeSecurityGroupsResult; - export type Error = InvalidGroupNotFound | CommonAwsError; + export type Error = + | InvalidGroupNotFound + | CommonAwsError; } export declare namespace DescribeSecurityGroupVpcAssociations { export type Input = DescribeSecurityGroupVpcAssociationsRequest; export type Output = DescribeSecurityGroupVpcAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeServiceLinkVirtualInterfaces { export type Input = DescribeServiceLinkVirtualInterfacesRequest; export type Output = DescribeServiceLinkVirtualInterfacesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSnapshotAttribute { export type Input = DescribeSnapshotAttributeRequest; export type Output = DescribeSnapshotAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSnapshots { export type Input = DescribeSnapshotsRequest; export type Output = DescribeSnapshotsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSnapshotTierStatus { export type Input = DescribeSnapshotTierStatusRequest; export type Output = DescribeSnapshotTierStatusResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSpotDatafeedSubscription { export type Input = DescribeSpotDatafeedSubscriptionRequest; export type Output = DescribeSpotDatafeedSubscriptionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSpotFleetInstances { export type Input = DescribeSpotFleetInstancesRequest; export type Output = DescribeSpotFleetInstancesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSpotFleetRequestHistory { export type Input = DescribeSpotFleetRequestHistoryRequest; export type Output = DescribeSpotFleetRequestHistoryResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSpotFleetRequests { export type Input = DescribeSpotFleetRequestsRequest; export type Output = DescribeSpotFleetRequestsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSpotInstanceRequests { export type Input = DescribeSpotInstanceRequestsRequest; export type Output = DescribeSpotInstanceRequestsResult; - export type Error = InvalidSpotInstanceRequestIDNotFound | CommonAwsError; + export type Error = + | InvalidSpotInstanceRequestIDNotFound + | CommonAwsError; } export declare namespace DescribeSpotPriceHistory { export type Input = DescribeSpotPriceHistoryRequest; export type Output = DescribeSpotPriceHistoryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeStaleSecurityGroups { export type Input = DescribeStaleSecurityGroupsRequest; export type Output = DescribeStaleSecurityGroupsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeStoreImageTasks { export type Input = DescribeStoreImageTasksRequest; export type Output = DescribeStoreImageTasksResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSubnets { export type Input = DescribeSubnetsRequest; export type Output = DescribeSubnetsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTags { export type Input = DescribeTagsRequest; export type Output = DescribeTagsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTrafficMirrorFilterRules { export type Input = DescribeTrafficMirrorFilterRulesRequest; export type Output = DescribeTrafficMirrorFilterRulesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTrafficMirrorFilters { export type Input = DescribeTrafficMirrorFiltersRequest; export type Output = DescribeTrafficMirrorFiltersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTrafficMirrorSessions { export type Input = DescribeTrafficMirrorSessionsRequest; export type Output = DescribeTrafficMirrorSessionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTrafficMirrorTargets { export type Input = DescribeTrafficMirrorTargetsRequest; export type Output = DescribeTrafficMirrorTargetsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGatewayAttachments { export type Input = DescribeTransitGatewayAttachmentsRequest; export type Output = DescribeTransitGatewayAttachmentsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGatewayConnectPeers { export type Input = DescribeTransitGatewayConnectPeersRequest; export type Output = DescribeTransitGatewayConnectPeersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGatewayConnects { export type Input = DescribeTransitGatewayConnectsRequest; export type Output = DescribeTransitGatewayConnectsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGatewayMulticastDomains { export type Input = DescribeTransitGatewayMulticastDomainsRequest; export type Output = DescribeTransitGatewayMulticastDomainsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGatewayPeeringAttachments { export type Input = DescribeTransitGatewayPeeringAttachmentsRequest; export type Output = DescribeTransitGatewayPeeringAttachmentsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGatewayPolicyTables { export type Input = DescribeTransitGatewayPolicyTablesRequest; export type Output = DescribeTransitGatewayPolicyTablesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGatewayRouteTableAnnouncements { export type Input = DescribeTransitGatewayRouteTableAnnouncementsRequest; export type Output = DescribeTransitGatewayRouteTableAnnouncementsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGatewayRouteTables { export type Input = DescribeTransitGatewayRouteTablesRequest; export type Output = DescribeTransitGatewayRouteTablesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGateways { export type Input = DescribeTransitGatewaysRequest; export type Output = DescribeTransitGatewaysResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTransitGatewayVpcAttachments { export type Input = DescribeTransitGatewayVpcAttachmentsRequest; export type Output = DescribeTransitGatewayVpcAttachmentsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTrunkInterfaceAssociations { export type Input = DescribeTrunkInterfaceAssociationsRequest; export type Output = DescribeTrunkInterfaceAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVerifiedAccessEndpoints { export type Input = DescribeVerifiedAccessEndpointsRequest; export type Output = DescribeVerifiedAccessEndpointsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVerifiedAccessGroups { export type Input = DescribeVerifiedAccessGroupsRequest; export type Output = DescribeVerifiedAccessGroupsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVerifiedAccessInstanceLoggingConfigurations { - export type Input = - DescribeVerifiedAccessInstanceLoggingConfigurationsRequest; - export type Output = - DescribeVerifiedAccessInstanceLoggingConfigurationsResult; - export type Error = CommonAwsError; + export type Input = DescribeVerifiedAccessInstanceLoggingConfigurationsRequest; + export type Output = DescribeVerifiedAccessInstanceLoggingConfigurationsResult; + export type Error = + | CommonAwsError; } export declare namespace DescribeVerifiedAccessInstances { export type Input = DescribeVerifiedAccessInstancesRequest; export type Output = DescribeVerifiedAccessInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVerifiedAccessTrustProviders { export type Input = DescribeVerifiedAccessTrustProvidersRequest; export type Output = DescribeVerifiedAccessTrustProvidersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVolumeAttribute { export type Input = DescribeVolumeAttributeRequest; export type Output = DescribeVolumeAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVolumes { export type Input = DescribeVolumesRequest; export type Output = DescribeVolumesResult; - export type Error = InvalidVolumeNotFound | CommonAwsError; + export type Error = + | InvalidVolumeNotFound + | CommonAwsError; } export declare namespace DescribeVolumesModifications { export type Input = DescribeVolumesModificationsRequest; export type Output = DescribeVolumesModificationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVolumeStatus { export type Input = DescribeVolumeStatusRequest; export type Output = DescribeVolumeStatusResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcAttribute { export type Input = DescribeVpcAttributeRequest; export type Output = DescribeVpcAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcBlockPublicAccessExclusions { export type Input = DescribeVpcBlockPublicAccessExclusionsRequest; export type Output = DescribeVpcBlockPublicAccessExclusionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcBlockPublicAccessOptions { export type Input = DescribeVpcBlockPublicAccessOptionsRequest; export type Output = DescribeVpcBlockPublicAccessOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcClassicLink { export type Input = DescribeVpcClassicLinkRequest; export type Output = DescribeVpcClassicLinkResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcClassicLinkDnsSupport { export type Input = DescribeVpcClassicLinkDnsSupportRequest; export type Output = DescribeVpcClassicLinkDnsSupportResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcEndpointAssociations { export type Input = DescribeVpcEndpointAssociationsRequest; export type Output = DescribeVpcEndpointAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcEndpointConnectionNotifications { export type Input = DescribeVpcEndpointConnectionNotificationsRequest; export type Output = DescribeVpcEndpointConnectionNotificationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcEndpointConnections { export type Input = DescribeVpcEndpointConnectionsRequest; export type Output = DescribeVpcEndpointConnectionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcEndpoints { export type Input = DescribeVpcEndpointsRequest; export type Output = DescribeVpcEndpointsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcEndpointServiceConfigurations { export type Input = DescribeVpcEndpointServiceConfigurationsRequest; export type Output = DescribeVpcEndpointServiceConfigurationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcEndpointServicePermissions { export type Input = DescribeVpcEndpointServicePermissionsRequest; export type Output = DescribeVpcEndpointServicePermissionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcEndpointServices { export type Input = DescribeVpcEndpointServicesRequest; export type Output = DescribeVpcEndpointServicesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpcPeeringConnections { export type Input = DescribeVpcPeeringConnectionsRequest; export type Output = DescribeVpcPeeringConnectionsResult; - export type Error = InvalidVpcPeeringConnectionIDNotFound | CommonAwsError; + export type Error = + | InvalidVpcPeeringConnectionIDNotFound + | CommonAwsError; } export declare namespace DescribeVpcs { export type Input = DescribeVpcsRequest; export type Output = DescribeVpcsResult; - export type Error = InvalidVpcIDNotFound | CommonAwsError; + export type Error = + | InvalidVpcIDNotFound + | CommonAwsError; } export declare namespace DescribeVpnConnections { export type Input = DescribeVpnConnectionsRequest; export type Output = DescribeVpnConnectionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVpnGateways { export type Input = DescribeVpnGatewaysRequest; export type Output = DescribeVpnGatewaysResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DetachClassicLinkVpc { export type Input = DetachClassicLinkVpcRequest; export type Output = DetachClassicLinkVpcResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DetachInternetGateway { export type Input = DetachInternetGatewayRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DetachNetworkInterface { export type Input = DetachNetworkInterfaceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DetachVerifiedAccessTrustProvider { export type Input = DetachVerifiedAccessTrustProviderRequest; export type Output = DetachVerifiedAccessTrustProviderResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DetachVolume { export type Input = DetachVolumeRequest; export type Output = VolumeAttachment; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DetachVpnGateway { export type Input = DetachVpnGatewayRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableAddressTransfer { export type Input = DisableAddressTransferRequest; export type Output = DisableAddressTransferResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableAllowedImagesSettings { export type Input = DisableAllowedImagesSettingsRequest; export type Output = DisableAllowedImagesSettingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableAwsNetworkPerformanceMetricSubscription { export type Input = DisableAwsNetworkPerformanceMetricSubscriptionRequest; export type Output = DisableAwsNetworkPerformanceMetricSubscriptionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableCapacityManager { export type Input = DisableCapacityManagerRequest; export type Output = DisableCapacityManagerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableEbsEncryptionByDefault { export type Input = DisableEbsEncryptionByDefaultRequest; export type Output = DisableEbsEncryptionByDefaultResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableFastLaunch { export type Input = DisableFastLaunchRequest; export type Output = DisableFastLaunchResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableFastSnapshotRestores { export type Input = DisableFastSnapshotRestoresRequest; export type Output = DisableFastSnapshotRestoresResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableImage { export type Input = DisableImageRequest; export type Output = DisableImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableImageBlockPublicAccess { export type Input = DisableImageBlockPublicAccessRequest; export type Output = DisableImageBlockPublicAccessResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableImageDeprecation { export type Input = DisableImageDeprecationRequest; export type Output = DisableImageDeprecationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableImageDeregistrationProtection { export type Input = DisableImageDeregistrationProtectionRequest; export type Output = DisableImageDeregistrationProtectionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableIpamOrganizationAdminAccount { export type Input = DisableIpamOrganizationAdminAccountRequest; export type Output = DisableIpamOrganizationAdminAccountResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableRouteServerPropagation { export type Input = DisableRouteServerPropagationRequest; export type Output = DisableRouteServerPropagationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableSerialConsoleAccess { export type Input = DisableSerialConsoleAccessRequest; export type Output = DisableSerialConsoleAccessResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableSnapshotBlockPublicAccess { export type Input = DisableSnapshotBlockPublicAccessRequest; export type Output = DisableSnapshotBlockPublicAccessResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableTransitGatewayRouteTablePropagation { export type Input = DisableTransitGatewayRouteTablePropagationRequest; export type Output = DisableTransitGatewayRouteTablePropagationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableVgwRoutePropagation { export type Input = DisableVgwRoutePropagationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableVpcClassicLink { export type Input = DisableVpcClassicLinkRequest; export type Output = DisableVpcClassicLinkResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableVpcClassicLinkDnsSupport { export type Input = DisableVpcClassicLinkDnsSupportRequest; export type Output = DisableVpcClassicLinkDnsSupportResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateAddress { export type Input = DisassociateAddressRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateCapacityReservationBillingOwner { export type Input = DisassociateCapacityReservationBillingOwnerRequest; export type Output = DisassociateCapacityReservationBillingOwnerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateClientVpnTargetNetwork { export type Input = DisassociateClientVpnTargetNetworkRequest; export type Output = DisassociateClientVpnTargetNetworkResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateEnclaveCertificateIamRole { export type Input = DisassociateEnclaveCertificateIamRoleRequest; export type Output = DisassociateEnclaveCertificateIamRoleResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateIamInstanceProfile { export type Input = DisassociateIamInstanceProfileRequest; export type Output = DisassociateIamInstanceProfileResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateInstanceEventWindow { export type Input = DisassociateInstanceEventWindowRequest; export type Output = DisassociateInstanceEventWindowResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateIpamByoasn { export type Input = DisassociateIpamByoasnRequest; export type Output = DisassociateIpamByoasnResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateIpamResourceDiscovery { export type Input = DisassociateIpamResourceDiscoveryRequest; export type Output = DisassociateIpamResourceDiscoveryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateNatGatewayAddress { export type Input = DisassociateNatGatewayAddressRequest; export type Output = DisassociateNatGatewayAddressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateRouteServer { export type Input = DisassociateRouteServerRequest; export type Output = DisassociateRouteServerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateRouteTable { export type Input = DisassociateRouteTableRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateSecurityGroupVpc { export type Input = DisassociateSecurityGroupVpcRequest; export type Output = DisassociateSecurityGroupVpcResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateSubnetCidrBlock { export type Input = DisassociateSubnetCidrBlockRequest; export type Output = DisassociateSubnetCidrBlockResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateTransitGatewayMulticastDomain { export type Input = DisassociateTransitGatewayMulticastDomainRequest; export type Output = DisassociateTransitGatewayMulticastDomainResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateTransitGatewayPolicyTable { export type Input = DisassociateTransitGatewayPolicyTableRequest; export type Output = DisassociateTransitGatewayPolicyTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateTransitGatewayRouteTable { export type Input = DisassociateTransitGatewayRouteTableRequest; export type Output = DisassociateTransitGatewayRouteTableResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateTrunkInterface { export type Input = DisassociateTrunkInterfaceRequest; export type Output = DisassociateTrunkInterfaceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateVpcCidrBlock { export type Input = DisassociateVpcCidrBlockRequest; export type Output = DisassociateVpcCidrBlockResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableAddressTransfer { export type Input = EnableAddressTransferRequest; export type Output = EnableAddressTransferResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableAllowedImagesSettings { export type Input = EnableAllowedImagesSettingsRequest; export type Output = EnableAllowedImagesSettingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableAwsNetworkPerformanceMetricSubscription { export type Input = EnableAwsNetworkPerformanceMetricSubscriptionRequest; export type Output = EnableAwsNetworkPerformanceMetricSubscriptionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableCapacityManager { export type Input = EnableCapacityManagerRequest; export type Output = EnableCapacityManagerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableEbsEncryptionByDefault { export type Input = EnableEbsEncryptionByDefaultRequest; export type Output = EnableEbsEncryptionByDefaultResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableFastLaunch { export type Input = EnableFastLaunchRequest; export type Output = EnableFastLaunchResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableFastSnapshotRestores { export type Input = EnableFastSnapshotRestoresRequest; export type Output = EnableFastSnapshotRestoresResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableImage { export type Input = EnableImageRequest; export type Output = EnableImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableImageBlockPublicAccess { export type Input = EnableImageBlockPublicAccessRequest; export type Output = EnableImageBlockPublicAccessResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableImageDeprecation { export type Input = EnableImageDeprecationRequest; export type Output = EnableImageDeprecationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableImageDeregistrationProtection { export type Input = EnableImageDeregistrationProtectionRequest; export type Output = EnableImageDeregistrationProtectionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableIpamOrganizationAdminAccount { export type Input = EnableIpamOrganizationAdminAccountRequest; export type Output = EnableIpamOrganizationAdminAccountResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableReachabilityAnalyzerOrganizationSharing { export type Input = EnableReachabilityAnalyzerOrganizationSharingRequest; export type Output = EnableReachabilityAnalyzerOrganizationSharingResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableRouteServerPropagation { export type Input = EnableRouteServerPropagationRequest; export type Output = EnableRouteServerPropagationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableSerialConsoleAccess { export type Input = EnableSerialConsoleAccessRequest; export type Output = EnableSerialConsoleAccessResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableSnapshotBlockPublicAccess { export type Input = EnableSnapshotBlockPublicAccessRequest; export type Output = EnableSnapshotBlockPublicAccessResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableTransitGatewayRouteTablePropagation { export type Input = EnableTransitGatewayRouteTablePropagationRequest; export type Output = EnableTransitGatewayRouteTablePropagationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableVgwRoutePropagation { export type Input = EnableVgwRoutePropagationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableVolumeIO { export type Input = EnableVolumeIORequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableVpcClassicLink { export type Input = EnableVpcClassicLinkRequest; export type Output = EnableVpcClassicLinkResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace EnableVpcClassicLinkDnsSupport { export type Input = EnableVpcClassicLinkDnsSupportRequest; export type Output = EnableVpcClassicLinkDnsSupportResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ExportClientVpnClientCertificateRevocationList { export type Input = ExportClientVpnClientCertificateRevocationListRequest; export type Output = ExportClientVpnClientCertificateRevocationListResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ExportClientVpnClientConfiguration { export type Input = ExportClientVpnClientConfigurationRequest; export type Output = ExportClientVpnClientConfigurationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ExportImage { export type Input = ExportImageRequest; export type Output = ExportImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ExportTransitGatewayRoutes { export type Input = ExportTransitGatewayRoutesRequest; export type Output = ExportTransitGatewayRoutesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ExportVerifiedAccessInstanceClientConfiguration { export type Input = ExportVerifiedAccessInstanceClientConfigurationRequest; export type Output = ExportVerifiedAccessInstanceClientConfigurationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetActiveVpnTunnelStatus { export type Input = GetActiveVpnTunnelStatusRequest; export type Output = GetActiveVpnTunnelStatusResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAllowedImagesSettings { export type Input = GetAllowedImagesSettingsRequest; export type Output = GetAllowedImagesSettingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAssociatedEnclaveCertificateIamRoles { export type Input = GetAssociatedEnclaveCertificateIamRolesRequest; export type Output = GetAssociatedEnclaveCertificateIamRolesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAssociatedIpv6PoolCidrs { export type Input = GetAssociatedIpv6PoolCidrsRequest; export type Output = GetAssociatedIpv6PoolCidrsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAwsNetworkPerformanceData { export type Input = GetAwsNetworkPerformanceDataRequest; export type Output = GetAwsNetworkPerformanceDataResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCapacityManagerAttributes { export type Input = GetCapacityManagerAttributesRequest; export type Output = GetCapacityManagerAttributesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCapacityManagerMetricData { export type Input = GetCapacityManagerMetricDataRequest; export type Output = GetCapacityManagerMetricDataResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCapacityManagerMetricDimensions { export type Input = GetCapacityManagerMetricDimensionsRequest; export type Output = GetCapacityManagerMetricDimensionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCapacityReservationUsage { export type Input = GetCapacityReservationUsageRequest; export type Output = GetCapacityReservationUsageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCoipPoolUsage { export type Input = GetCoipPoolUsageRequest; export type Output = GetCoipPoolUsageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetConsoleOutput { export type Input = GetConsoleOutputRequest; export type Output = GetConsoleOutputResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetConsoleScreenshot { export type Input = GetConsoleScreenshotRequest; export type Output = GetConsoleScreenshotResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetDeclarativePoliciesReportSummary { export type Input = GetDeclarativePoliciesReportSummaryRequest; export type Output = GetDeclarativePoliciesReportSummaryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetDefaultCreditSpecification { export type Input = GetDefaultCreditSpecificationRequest; export type Output = GetDefaultCreditSpecificationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetEbsDefaultKmsKeyId { export type Input = GetEbsDefaultKmsKeyIdRequest; export type Output = GetEbsDefaultKmsKeyIdResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetEbsEncryptionByDefault { export type Input = GetEbsEncryptionByDefaultRequest; export type Output = GetEbsEncryptionByDefaultResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetFlowLogsIntegrationTemplate { export type Input = GetFlowLogsIntegrationTemplateRequest; export type Output = GetFlowLogsIntegrationTemplateResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetGroupsForCapacityReservation { export type Input = GetGroupsForCapacityReservationRequest; export type Output = GetGroupsForCapacityReservationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetHostReservationPurchasePreview { export type Input = GetHostReservationPurchasePreviewRequest; export type Output = GetHostReservationPurchasePreviewResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetImageBlockPublicAccessState { export type Input = GetImageBlockPublicAccessStateRequest; export type Output = GetImageBlockPublicAccessStateResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetInstanceMetadataDefaults { export type Input = GetInstanceMetadataDefaultsRequest; export type Output = GetInstanceMetadataDefaultsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetInstanceTpmEkPub { export type Input = GetInstanceTpmEkPubRequest; export type Output = GetInstanceTpmEkPubResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetInstanceTypesFromInstanceRequirements { export type Input = GetInstanceTypesFromInstanceRequirementsRequest; export type Output = GetInstanceTypesFromInstanceRequirementsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetInstanceUefiData { export type Input = GetInstanceUefiDataRequest; export type Output = GetInstanceUefiDataResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamAddressHistory { export type Input = GetIpamAddressHistoryRequest; export type Output = GetIpamAddressHistoryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamDiscoveredAccounts { export type Input = GetIpamDiscoveredAccountsRequest; export type Output = GetIpamDiscoveredAccountsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamDiscoveredPublicAddresses { export type Input = GetIpamDiscoveredPublicAddressesRequest; export type Output = GetIpamDiscoveredPublicAddressesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamDiscoveredResourceCidrs { export type Input = GetIpamDiscoveredResourceCidrsRequest; export type Output = GetIpamDiscoveredResourceCidrsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamPoolAllocations { export type Input = GetIpamPoolAllocationsRequest; export type Output = GetIpamPoolAllocationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamPoolCidrs { export type Input = GetIpamPoolCidrsRequest; export type Output = GetIpamPoolCidrsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamPrefixListResolverRules { export type Input = GetIpamPrefixListResolverRulesRequest; export type Output = GetIpamPrefixListResolverRulesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamPrefixListResolverVersionEntries { export type Input = GetIpamPrefixListResolverVersionEntriesRequest; export type Output = GetIpamPrefixListResolverVersionEntriesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamPrefixListResolverVersions { export type Input = GetIpamPrefixListResolverVersionsRequest; export type Output = GetIpamPrefixListResolverVersionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIpamResourceCidrs { export type Input = GetIpamResourceCidrsRequest; export type Output = GetIpamResourceCidrsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetLaunchTemplateData { export type Input = GetLaunchTemplateDataRequest; export type Output = GetLaunchTemplateDataResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetManagedPrefixListAssociations { export type Input = GetManagedPrefixListAssociationsRequest; export type Output = GetManagedPrefixListAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetManagedPrefixListEntries { export type Input = GetManagedPrefixListEntriesRequest; export type Output = GetManagedPrefixListEntriesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetNetworkInsightsAccessScopeAnalysisFindings { export type Input = GetNetworkInsightsAccessScopeAnalysisFindingsRequest; export type Output = GetNetworkInsightsAccessScopeAnalysisFindingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetNetworkInsightsAccessScopeContent { export type Input = GetNetworkInsightsAccessScopeContentRequest; export type Output = GetNetworkInsightsAccessScopeContentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetPasswordData { export type Input = GetPasswordDataRequest; export type Output = GetPasswordDataResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetReservedInstancesExchangeQuote { export type Input = GetReservedInstancesExchangeQuoteRequest; export type Output = GetReservedInstancesExchangeQuoteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetRouteServerAssociations { export type Input = GetRouteServerAssociationsRequest; export type Output = GetRouteServerAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetRouteServerPropagations { export type Input = GetRouteServerPropagationsRequest; export type Output = GetRouteServerPropagationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetRouteServerRoutingDatabase { export type Input = GetRouteServerRoutingDatabaseRequest; export type Output = GetRouteServerRoutingDatabaseResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSecurityGroupsForVpc { export type Input = GetSecurityGroupsForVpcRequest; export type Output = GetSecurityGroupsForVpcResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSerialConsoleAccessStatus { export type Input = GetSerialConsoleAccessStatusRequest; export type Output = GetSerialConsoleAccessStatusResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSnapshotBlockPublicAccessState { export type Input = GetSnapshotBlockPublicAccessStateRequest; export type Output = GetSnapshotBlockPublicAccessStateResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSpotPlacementScores { export type Input = GetSpotPlacementScoresRequest; export type Output = GetSpotPlacementScoresResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSubnetCidrReservations { export type Input = GetSubnetCidrReservationsRequest; export type Output = GetSubnetCidrReservationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTransitGatewayAttachmentPropagations { export type Input = GetTransitGatewayAttachmentPropagationsRequest; export type Output = GetTransitGatewayAttachmentPropagationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTransitGatewayMulticastDomainAssociations { export type Input = GetTransitGatewayMulticastDomainAssociationsRequest; export type Output = GetTransitGatewayMulticastDomainAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTransitGatewayPolicyTableAssociations { export type Input = GetTransitGatewayPolicyTableAssociationsRequest; export type Output = GetTransitGatewayPolicyTableAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTransitGatewayPolicyTableEntries { export type Input = GetTransitGatewayPolicyTableEntriesRequest; export type Output = GetTransitGatewayPolicyTableEntriesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTransitGatewayPrefixListReferences { export type Input = GetTransitGatewayPrefixListReferencesRequest; export type Output = GetTransitGatewayPrefixListReferencesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTransitGatewayRouteTableAssociations { export type Input = GetTransitGatewayRouteTableAssociationsRequest; export type Output = GetTransitGatewayRouteTableAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTransitGatewayRouteTablePropagations { export type Input = GetTransitGatewayRouteTablePropagationsRequest; export type Output = GetTransitGatewayRouteTablePropagationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetVerifiedAccessEndpointPolicy { export type Input = GetVerifiedAccessEndpointPolicyRequest; export type Output = GetVerifiedAccessEndpointPolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetVerifiedAccessEndpointTargets { export type Input = GetVerifiedAccessEndpointTargetsRequest; export type Output = GetVerifiedAccessEndpointTargetsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetVerifiedAccessGroupPolicy { export type Input = GetVerifiedAccessGroupPolicyRequest; export type Output = GetVerifiedAccessGroupPolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetVpnConnectionDeviceSampleConfiguration { export type Input = GetVpnConnectionDeviceSampleConfigurationRequest; export type Output = GetVpnConnectionDeviceSampleConfigurationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetVpnConnectionDeviceTypes { export type Input = GetVpnConnectionDeviceTypesRequest; export type Output = GetVpnConnectionDeviceTypesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetVpnTunnelReplacementStatus { export type Input = GetVpnTunnelReplacementStatusRequest; export type Output = GetVpnTunnelReplacementStatusResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ImportClientVpnClientCertificateRevocationList { export type Input = ImportClientVpnClientCertificateRevocationListRequest; export type Output = ImportClientVpnClientCertificateRevocationListResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ImportImage { export type Input = ImportImageRequest; export type Output = ImportImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ImportInstance { export type Input = ImportInstanceRequest; export type Output = ImportInstanceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ImportKeyPair { export type Input = ImportKeyPairRequest; export type Output = ImportKeyPairResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ImportSnapshot { export type Input = ImportSnapshotRequest; export type Output = ImportSnapshotResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ImportVolume { export type Input = ImportVolumeRequest; export type Output = ImportVolumeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListImagesInRecycleBin { export type Input = ListImagesInRecycleBinRequest; export type Output = ListImagesInRecycleBinResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListSnapshotsInRecycleBin { export type Input = ListSnapshotsInRecycleBinRequest; export type Output = ListSnapshotsInRecycleBinResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace LockSnapshot { export type Input = LockSnapshotRequest; export type Output = LockSnapshotResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyAddressAttribute { export type Input = ModifyAddressAttributeRequest; export type Output = ModifyAddressAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyAvailabilityZoneGroup { export type Input = ModifyAvailabilityZoneGroupRequest; export type Output = ModifyAvailabilityZoneGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyCapacityReservation { export type Input = ModifyCapacityReservationRequest; export type Output = ModifyCapacityReservationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyCapacityReservationFleet { export type Input = ModifyCapacityReservationFleetRequest; export type Output = ModifyCapacityReservationFleetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyClientVpnEndpoint { export type Input = ModifyClientVpnEndpointRequest; export type Output = ModifyClientVpnEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyDefaultCreditSpecification { export type Input = ModifyDefaultCreditSpecificationRequest; export type Output = ModifyDefaultCreditSpecificationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyEbsDefaultKmsKeyId { export type Input = ModifyEbsDefaultKmsKeyIdRequest; export type Output = ModifyEbsDefaultKmsKeyIdResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyFleet { export type Input = ModifyFleetRequest; export type Output = ModifyFleetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyFpgaImageAttribute { export type Input = ModifyFpgaImageAttributeRequest; export type Output = ModifyFpgaImageAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyHosts { export type Input = ModifyHostsRequest; export type Output = ModifyHostsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyIdentityIdFormat { export type Input = ModifyIdentityIdFormatRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyIdFormat { export type Input = ModifyIdFormatRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyImageAttribute { export type Input = ModifyImageAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceAttribute { export type Input = ModifyInstanceAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceCapacityReservationAttributes { export type Input = ModifyInstanceCapacityReservationAttributesRequest; export type Output = ModifyInstanceCapacityReservationAttributesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceConnectEndpoint { export type Input = ModifyInstanceConnectEndpointRequest; export type Output = ModifyInstanceConnectEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceCpuOptions { export type Input = ModifyInstanceCpuOptionsRequest; export type Output = ModifyInstanceCpuOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceCreditSpecification { export type Input = ModifyInstanceCreditSpecificationRequest; export type Output = ModifyInstanceCreditSpecificationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceEventStartTime { export type Input = ModifyInstanceEventStartTimeRequest; export type Output = ModifyInstanceEventStartTimeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceEventWindow { export type Input = ModifyInstanceEventWindowRequest; export type Output = ModifyInstanceEventWindowResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceMaintenanceOptions { export type Input = ModifyInstanceMaintenanceOptionsRequest; export type Output = ModifyInstanceMaintenanceOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceMetadataDefaults { export type Input = ModifyInstanceMetadataDefaultsRequest; export type Output = ModifyInstanceMetadataDefaultsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceMetadataOptions { export type Input = ModifyInstanceMetadataOptionsRequest; export type Output = ModifyInstanceMetadataOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstanceNetworkPerformanceOptions { export type Input = ModifyInstanceNetworkPerformanceRequest; export type Output = ModifyInstanceNetworkPerformanceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyInstancePlacement { export type Input = ModifyInstancePlacementRequest; export type Output = ModifyInstancePlacementResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyIpam { export type Input = ModifyIpamRequest; export type Output = ModifyIpamResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyIpamPool { export type Input = ModifyIpamPoolRequest; export type Output = ModifyIpamPoolResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyIpamPrefixListResolver { export type Input = ModifyIpamPrefixListResolverRequest; export type Output = ModifyIpamPrefixListResolverResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyIpamPrefixListResolverTarget { export type Input = ModifyIpamPrefixListResolverTargetRequest; export type Output = ModifyIpamPrefixListResolverTargetResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyIpamResourceCidr { export type Input = ModifyIpamResourceCidrRequest; export type Output = ModifyIpamResourceCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyIpamResourceDiscovery { export type Input = ModifyIpamResourceDiscoveryRequest; export type Output = ModifyIpamResourceDiscoveryResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyIpamScope { export type Input = ModifyIpamScopeRequest; export type Output = ModifyIpamScopeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyLaunchTemplate { export type Input = ModifyLaunchTemplateRequest; export type Output = ModifyLaunchTemplateResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyLocalGatewayRoute { export type Input = ModifyLocalGatewayRouteRequest; export type Output = ModifyLocalGatewayRouteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyManagedPrefixList { export type Input = ModifyManagedPrefixListRequest; export type Output = ModifyManagedPrefixListResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyNetworkInterfaceAttribute { export type Input = ModifyNetworkInterfaceAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyPrivateDnsNameOptions { export type Input = ModifyPrivateDnsNameOptionsRequest; export type Output = ModifyPrivateDnsNameOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyPublicIpDnsNameOptions { export type Input = ModifyPublicIpDnsNameOptionsRequest; export type Output = ModifyPublicIpDnsNameOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyReservedInstances { export type Input = ModifyReservedInstancesRequest; export type Output = ModifyReservedInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyRouteServer { export type Input = ModifyRouteServerRequest; export type Output = ModifyRouteServerResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifySecurityGroupRules { export type Input = ModifySecurityGroupRulesRequest; export type Output = ModifySecurityGroupRulesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifySnapshotAttribute { export type Input = ModifySnapshotAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifySnapshotTier { export type Input = ModifySnapshotTierRequest; export type Output = ModifySnapshotTierResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifySpotFleetRequest { export type Input = ModifySpotFleetRequestRequest; export type Output = ModifySpotFleetRequestResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifySubnetAttribute { export type Input = ModifySubnetAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyTrafficMirrorFilterNetworkServices { export type Input = ModifyTrafficMirrorFilterNetworkServicesRequest; export type Output = ModifyTrafficMirrorFilterNetworkServicesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyTrafficMirrorFilterRule { export type Input = ModifyTrafficMirrorFilterRuleRequest; export type Output = ModifyTrafficMirrorFilterRuleResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyTrafficMirrorSession { export type Input = ModifyTrafficMirrorSessionRequest; export type Output = ModifyTrafficMirrorSessionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyTransitGateway { export type Input = ModifyTransitGatewayRequest; export type Output = ModifyTransitGatewayResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyTransitGatewayPrefixListReference { export type Input = ModifyTransitGatewayPrefixListReferenceRequest; export type Output = ModifyTransitGatewayPrefixListReferenceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyTransitGatewayVpcAttachment { export type Input = ModifyTransitGatewayVpcAttachmentRequest; export type Output = ModifyTransitGatewayVpcAttachmentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVerifiedAccessEndpoint { export type Input = ModifyVerifiedAccessEndpointRequest; export type Output = ModifyVerifiedAccessEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVerifiedAccessEndpointPolicy { export type Input = ModifyVerifiedAccessEndpointPolicyRequest; export type Output = ModifyVerifiedAccessEndpointPolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVerifiedAccessGroup { export type Input = ModifyVerifiedAccessGroupRequest; export type Output = ModifyVerifiedAccessGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVerifiedAccessGroupPolicy { export type Input = ModifyVerifiedAccessGroupPolicyRequest; export type Output = ModifyVerifiedAccessGroupPolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVerifiedAccessInstance { export type Input = ModifyVerifiedAccessInstanceRequest; export type Output = ModifyVerifiedAccessInstanceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVerifiedAccessInstanceLoggingConfiguration { export type Input = ModifyVerifiedAccessInstanceLoggingConfigurationRequest; export type Output = ModifyVerifiedAccessInstanceLoggingConfigurationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVerifiedAccessTrustProvider { export type Input = ModifyVerifiedAccessTrustProviderRequest; export type Output = ModifyVerifiedAccessTrustProviderResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVolume { export type Input = ModifyVolumeRequest; export type Output = ModifyVolumeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVolumeAttribute { export type Input = ModifyVolumeAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcAttribute { export type Input = ModifyVpcAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcBlockPublicAccessExclusion { export type Input = ModifyVpcBlockPublicAccessExclusionRequest; export type Output = ModifyVpcBlockPublicAccessExclusionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcBlockPublicAccessOptions { export type Input = ModifyVpcBlockPublicAccessOptionsRequest; export type Output = ModifyVpcBlockPublicAccessOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcEndpoint { export type Input = ModifyVpcEndpointRequest; export type Output = ModifyVpcEndpointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcEndpointConnectionNotification { export type Input = ModifyVpcEndpointConnectionNotificationRequest; export type Output = ModifyVpcEndpointConnectionNotificationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcEndpointServiceConfiguration { export type Input = ModifyVpcEndpointServiceConfigurationRequest; export type Output = ModifyVpcEndpointServiceConfigurationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcEndpointServicePayerResponsibility { export type Input = ModifyVpcEndpointServicePayerResponsibilityRequest; export type Output = ModifyVpcEndpointServicePayerResponsibilityResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcEndpointServicePermissions { export type Input = ModifyVpcEndpointServicePermissionsRequest; export type Output = ModifyVpcEndpointServicePermissionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcPeeringConnectionOptions { export type Input = ModifyVpcPeeringConnectionOptionsRequest; export type Output = ModifyVpcPeeringConnectionOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpcTenancy { export type Input = ModifyVpcTenancyRequest; export type Output = ModifyVpcTenancyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpnConnection { export type Input = ModifyVpnConnectionRequest; export type Output = ModifyVpnConnectionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpnConnectionOptions { export type Input = ModifyVpnConnectionOptionsRequest; export type Output = ModifyVpnConnectionOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpnTunnelCertificate { export type Input = ModifyVpnTunnelCertificateRequest; export type Output = ModifyVpnTunnelCertificateResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyVpnTunnelOptions { export type Input = ModifyVpnTunnelOptionsRequest; export type Output = ModifyVpnTunnelOptionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace MonitorInstances { export type Input = MonitorInstancesRequest; export type Output = MonitorInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace MoveAddressToVpc { export type Input = MoveAddressToVpcRequest; export type Output = MoveAddressToVpcResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace MoveByoipCidrToIpam { export type Input = MoveByoipCidrToIpamRequest; export type Output = MoveByoipCidrToIpamResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace MoveCapacityReservationInstances { export type Input = MoveCapacityReservationInstancesRequest; export type Output = MoveCapacityReservationInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ProvisionByoipCidr { export type Input = ProvisionByoipCidrRequest; export type Output = ProvisionByoipCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ProvisionIpamByoasn { export type Input = ProvisionIpamByoasnRequest; export type Output = ProvisionIpamByoasnResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ProvisionIpamPoolCidr { export type Input = ProvisionIpamPoolCidrRequest; export type Output = ProvisionIpamPoolCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ProvisionPublicIpv4PoolCidr { export type Input = ProvisionPublicIpv4PoolCidrRequest; export type Output = ProvisionPublicIpv4PoolCidrResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PurchaseCapacityBlock { export type Input = PurchaseCapacityBlockRequest; export type Output = PurchaseCapacityBlockResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PurchaseCapacityBlockExtension { export type Input = PurchaseCapacityBlockExtensionRequest; export type Output = PurchaseCapacityBlockExtensionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PurchaseHostReservation { export type Input = PurchaseHostReservationRequest; export type Output = PurchaseHostReservationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PurchaseReservedInstancesOffering { export type Input = PurchaseReservedInstancesOfferingRequest; export type Output = PurchaseReservedInstancesOfferingResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PurchaseScheduledInstances { export type Input = PurchaseScheduledInstancesRequest; export type Output = PurchaseScheduledInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RebootInstances { export type Input = RebootInstancesRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RegisterImage { export type Input = RegisterImageRequest; export type Output = RegisterImageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RegisterInstanceEventNotificationAttributes { export type Input = RegisterInstanceEventNotificationAttributesRequest; export type Output = RegisterInstanceEventNotificationAttributesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RegisterTransitGatewayMulticastGroupMembers { export type Input = RegisterTransitGatewayMulticastGroupMembersRequest; export type Output = RegisterTransitGatewayMulticastGroupMembersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RegisterTransitGatewayMulticastGroupSources { export type Input = RegisterTransitGatewayMulticastGroupSourcesRequest; export type Output = RegisterTransitGatewayMulticastGroupSourcesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RejectCapacityReservationBillingOwnership { export type Input = RejectCapacityReservationBillingOwnershipRequest; export type Output = RejectCapacityReservationBillingOwnershipResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RejectTransitGatewayMulticastDomainAssociations { export type Input = RejectTransitGatewayMulticastDomainAssociationsRequest; export type Output = RejectTransitGatewayMulticastDomainAssociationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RejectTransitGatewayPeeringAttachment { export type Input = RejectTransitGatewayPeeringAttachmentRequest; export type Output = RejectTransitGatewayPeeringAttachmentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RejectTransitGatewayVpcAttachment { export type Input = RejectTransitGatewayVpcAttachmentRequest; export type Output = RejectTransitGatewayVpcAttachmentResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RejectVpcEndpointConnections { export type Input = RejectVpcEndpointConnectionsRequest; export type Output = RejectVpcEndpointConnectionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RejectVpcPeeringConnection { export type Input = RejectVpcPeeringConnectionRequest; export type Output = RejectVpcPeeringConnectionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReleaseAddress { export type Input = ReleaseAddressRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReleaseHosts { export type Input = ReleaseHostsRequest; export type Output = ReleaseHostsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReleaseIpamPoolAllocation { export type Input = ReleaseIpamPoolAllocationRequest; export type Output = ReleaseIpamPoolAllocationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReplaceIamInstanceProfileAssociation { export type Input = ReplaceIamInstanceProfileAssociationRequest; export type Output = ReplaceIamInstanceProfileAssociationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReplaceImageCriteriaInAllowedImagesSettings { export type Input = ReplaceImageCriteriaInAllowedImagesSettingsRequest; export type Output = ReplaceImageCriteriaInAllowedImagesSettingsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReplaceNetworkAclAssociation { export type Input = ReplaceNetworkAclAssociationRequest; export type Output = ReplaceNetworkAclAssociationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReplaceNetworkAclEntry { export type Input = ReplaceNetworkAclEntryRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReplaceRoute { export type Input = ReplaceRouteRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReplaceRouteTableAssociation { export type Input = ReplaceRouteTableAssociationRequest; export type Output = ReplaceRouteTableAssociationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReplaceTransitGatewayRoute { export type Input = ReplaceTransitGatewayRouteRequest; export type Output = ReplaceTransitGatewayRouteResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReplaceVpnTunnel { export type Input = ReplaceVpnTunnelRequest; export type Output = ReplaceVpnTunnelResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ReportInstanceStatus { export type Input = ReportInstanceStatusRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RequestSpotFleet { export type Input = RequestSpotFleetRequest; export type Output = RequestSpotFleetResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RequestSpotInstances { export type Input = RequestSpotInstancesRequest; export type Output = RequestSpotInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ResetAddressAttribute { export type Input = ResetAddressAttributeRequest; export type Output = ResetAddressAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ResetEbsDefaultKmsKeyId { export type Input = ResetEbsDefaultKmsKeyIdRequest; export type Output = ResetEbsDefaultKmsKeyIdResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ResetFpgaImageAttribute { export type Input = ResetFpgaImageAttributeRequest; export type Output = ResetFpgaImageAttributeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ResetImageAttribute { export type Input = ResetImageAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ResetInstanceAttribute { export type Input = ResetInstanceAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ResetNetworkInterfaceAttribute { export type Input = ResetNetworkInterfaceAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ResetSnapshotAttribute { export type Input = ResetSnapshotAttributeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RestoreAddressToClassic { export type Input = RestoreAddressToClassicRequest; export type Output = RestoreAddressToClassicResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RestoreImageFromRecycleBin { export type Input = RestoreImageFromRecycleBinRequest; export type Output = RestoreImageFromRecycleBinResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RestoreManagedPrefixListVersion { export type Input = RestoreManagedPrefixListVersionRequest; export type Output = RestoreManagedPrefixListVersionResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RestoreSnapshotFromRecycleBin { export type Input = RestoreSnapshotFromRecycleBinRequest; export type Output = RestoreSnapshotFromRecycleBinResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RestoreSnapshotTier { export type Input = RestoreSnapshotTierRequest; export type Output = RestoreSnapshotTierResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RevokeClientVpnIngress { export type Input = RevokeClientVpnIngressRequest; export type Output = RevokeClientVpnIngressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RevokeSecurityGroupEgress { export type Input = RevokeSecurityGroupEgressRequest; export type Output = RevokeSecurityGroupEgressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RevokeSecurityGroupIngress { export type Input = RevokeSecurityGroupIngressRequest; export type Output = RevokeSecurityGroupIngressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RunInstances { export type Input = RunInstancesRequest; export type Output = Reservation; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RunScheduledInstances { export type Input = RunScheduledInstancesRequest; export type Output = RunScheduledInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SearchLocalGatewayRoutes { export type Input = SearchLocalGatewayRoutesRequest; export type Output = SearchLocalGatewayRoutesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SearchTransitGatewayMulticastGroups { export type Input = SearchTransitGatewayMulticastGroupsRequest; export type Output = SearchTransitGatewayMulticastGroupsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SearchTransitGatewayRoutes { export type Input = SearchTransitGatewayRoutesRequest; export type Output = SearchTransitGatewayRoutesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SendDiagnosticInterrupt { export type Input = SendDiagnosticInterruptRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartDeclarativePoliciesReport { export type Input = StartDeclarativePoliciesReportRequest; export type Output = StartDeclarativePoliciesReportResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartInstances { export type Input = StartInstancesRequest; export type Output = StartInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartNetworkInsightsAccessScopeAnalysis { export type Input = StartNetworkInsightsAccessScopeAnalysisRequest; export type Output = StartNetworkInsightsAccessScopeAnalysisResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartNetworkInsightsAnalysis { export type Input = StartNetworkInsightsAnalysisRequest; export type Output = StartNetworkInsightsAnalysisResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartVpcEndpointServicePrivateDnsVerification { export type Input = StartVpcEndpointServicePrivateDnsVerificationRequest; export type Output = StartVpcEndpointServicePrivateDnsVerificationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StopInstances { export type Input = StopInstancesRequest; export type Output = StopInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace TerminateClientVpnConnections { export type Input = TerminateClientVpnConnectionsRequest; export type Output = TerminateClientVpnConnectionsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace TerminateInstances { export type Input = TerminateInstancesRequest; export type Output = TerminateInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UnassignIpv6Addresses { export type Input = UnassignIpv6AddressesRequest; export type Output = UnassignIpv6AddressesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UnassignPrivateIpAddresses { export type Input = UnassignPrivateIpAddressesRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UnassignPrivateNatGatewayAddress { export type Input = UnassignPrivateNatGatewayAddressRequest; export type Output = UnassignPrivateNatGatewayAddressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UnlockSnapshot { export type Input = UnlockSnapshotRequest; export type Output = UnlockSnapshotResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UnmonitorInstances { export type Input = UnmonitorInstancesRequest; export type Output = UnmonitorInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateCapacityManagerOrganizationsAccess { export type Input = UpdateCapacityManagerOrganizationsAccessRequest; export type Output = UpdateCapacityManagerOrganizationsAccessResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateSecurityGroupRuleDescriptionsEgress { export type Input = UpdateSecurityGroupRuleDescriptionsEgressRequest; export type Output = UpdateSecurityGroupRuleDescriptionsEgressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateSecurityGroupRuleDescriptionsIngress { export type Input = UpdateSecurityGroupRuleDescriptionsIngressRequest; export type Output = UpdateSecurityGroupRuleDescriptionsIngressResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace WithdrawByoipCidr { export type Input = WithdrawByoipCidrRequest; export type Output = WithdrawByoipCidrResult; - export type Error = CommonAwsError; -} - -export type EC2Errors = - | InvalidVpcIDNotFound - | InvalidAMIIDNotFound - | InvalidInstanceIDNotFound - | InvalidInternetGatewayNotFound - | InvalidKeyPairNotFound - | NatGatewayNotFound - | InvalidNetworkInterfaceIDNotFound - | InvalidGroupNotFound - | InvalidSpotInstanceRequestIDNotFound - | InvalidVolumeNotFound - | InvalidVpcPeeringConnectionIDNotFound - | CommonAwsError; + export type Error = + | CommonAwsError; +} + +export type EC2Errors = InvalidVpcIDNotFound | InvalidAMIIDNotFound | InvalidInstanceIDNotFound | InvalidInternetGatewayNotFound | InvalidKeyPairNotFound | NatGatewayNotFound | InvalidNetworkInterfaceIDNotFound | InvalidGroupNotFound | InvalidSpotInstanceRequestIDNotFound | InvalidVolumeNotFound | InvalidVpcPeeringConnectionIDNotFound | CommonAwsError; + diff --git a/src/services/ecr-public/index.ts b/src/services/ecr-public/index.ts index 7c6aa589..f98a013d 100644 --- a/src/services/ecr-public/index.ts +++ b/src/services/ecr-public/index.ts @@ -5,26 +5,7 @@ import type { ECRPUBLIC as _ECRPUBLICClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/ecr-public/types.ts b/src/services/ecr-public/types.ts index dd84c661..e6124e53 100644 --- a/src/services/ecr-public/types.ts +++ b/src/services/ecr-public/types.ts @@ -7,122 +7,67 @@ export declare class ECRPUBLIC extends AWSServiceClient { input: BatchCheckLayerAvailabilityRequest, ): Effect.Effect< BatchCheckLayerAvailabilityResponse, - | InvalidParameterException - | RegistryNotFoundException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RegistryNotFoundException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; batchDeleteImage( input: BatchDeleteImageRequest, ): Effect.Effect< BatchDeleteImageResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; completeLayerUpload( input: CompleteLayerUploadRequest, ): Effect.Effect< CompleteLayerUploadResponse, - | EmptyUploadException - | InvalidLayerException - | InvalidParameterException - | LayerAlreadyExistsException - | LayerPartTooSmallException - | RegistryNotFoundException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | UploadNotFoundException - | CommonAwsError + EmptyUploadException | InvalidLayerException | InvalidParameterException | LayerAlreadyExistsException | LayerPartTooSmallException | RegistryNotFoundException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | UploadNotFoundException | CommonAwsError >; createRepository( input: CreateRepositoryRequest, ): Effect.Effect< CreateRepositoryResponse, - | InvalidParameterException - | InvalidTagParameterException - | LimitExceededException - | RepositoryAlreadyExistsException - | ServerException - | TooManyTagsException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | InvalidTagParameterException | LimitExceededException | RepositoryAlreadyExistsException | ServerException | TooManyTagsException | UnsupportedCommandException | CommonAwsError >; deleteRepository( input: DeleteRepositoryRequest, ): Effect.Effect< DeleteRepositoryResponse, - | InvalidParameterException - | RepositoryNotEmptyException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryNotEmptyException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; deleteRepositoryPolicy( input: DeleteRepositoryPolicyRequest, ): Effect.Effect< DeleteRepositoryPolicyResponse, - | InvalidParameterException - | RepositoryNotFoundException - | RepositoryPolicyNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | RepositoryPolicyNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; describeImages( input: DescribeImagesRequest, ): Effect.Effect< DescribeImagesResponse, - | ImageNotFoundException - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + ImageNotFoundException | InvalidParameterException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; describeImageTags( input: DescribeImageTagsRequest, ): Effect.Effect< DescribeImageTagsResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; describeRegistries( input: DescribeRegistriesRequest, ): Effect.Effect< DescribeRegistriesResponse, - | InvalidParameterException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | ServerException | UnsupportedCommandException | CommonAwsError >; describeRepositories( input: DescribeRepositoriesRequest, ): Effect.Effect< DescribeRepositoriesResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; getAuthorizationToken( input: GetAuthorizationTokenRequest, ): Effect.Effect< GetAuthorizationTokenResponse, - | InvalidParameterException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | ServerException | UnsupportedCommandException | CommonAwsError >; getRegistryCatalogData( input: GetRegistryCatalogDataRequest, @@ -134,128 +79,67 @@ export declare class ECRPUBLIC extends AWSServiceClient { input: GetRepositoryCatalogDataRequest, ): Effect.Effect< GetRepositoryCatalogDataResponse, - | InvalidParameterException - | RepositoryCatalogDataNotFoundException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryCatalogDataNotFoundException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; getRepositoryPolicy( input: GetRepositoryPolicyRequest, ): Effect.Effect< GetRepositoryPolicyResponse, - | InvalidParameterException - | RepositoryNotFoundException - | RepositoryPolicyNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | RepositoryPolicyNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; initiateLayerUpload( input: InitiateLayerUploadRequest, ): Effect.Effect< InitiateLayerUploadResponse, - | InvalidParameterException - | RegistryNotFoundException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RegistryNotFoundException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; putImage( input: PutImageRequest, ): Effect.Effect< PutImageResponse, - | ImageAlreadyExistsException - | ImageDigestDoesNotMatchException - | ImageTagAlreadyExistsException - | InvalidParameterException - | LayersNotFoundException - | LimitExceededException - | ReferencedImagesNotFoundException - | RegistryNotFoundException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + ImageAlreadyExistsException | ImageDigestDoesNotMatchException | ImageTagAlreadyExistsException | InvalidParameterException | LayersNotFoundException | LimitExceededException | ReferencedImagesNotFoundException | RegistryNotFoundException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; putRegistryCatalogData( input: PutRegistryCatalogDataRequest, ): Effect.Effect< PutRegistryCatalogDataResponse, - | InvalidParameterException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | ServerException | UnsupportedCommandException | CommonAwsError >; putRepositoryCatalogData( input: PutRepositoryCatalogDataRequest, ): Effect.Effect< PutRepositoryCatalogDataResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; setRepositoryPolicy( input: SetRepositoryPolicyRequest, ): Effect.Effect< SetRepositoryPolicyResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidParameterException - | InvalidTagParameterException - | RepositoryNotFoundException - | ServerException - | TooManyTagsException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | InvalidTagParameterException | RepositoryNotFoundException | ServerException | TooManyTagsException | UnsupportedCommandException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InvalidParameterException - | InvalidTagParameterException - | RepositoryNotFoundException - | ServerException - | TooManyTagsException - | UnsupportedCommandException - | CommonAwsError + InvalidParameterException | InvalidTagParameterException | RepositoryNotFoundException | ServerException | TooManyTagsException | UnsupportedCommandException | CommonAwsError >; uploadLayerPart( input: UploadLayerPartRequest, ): Effect.Effect< UploadLayerPartResponse, - | InvalidLayerPartException - | InvalidParameterException - | LimitExceededException - | RegistryNotFoundException - | RepositoryNotFoundException - | ServerException - | UnsupportedCommandException - | UploadNotFoundException - | CommonAwsError + InvalidLayerPartException | InvalidParameterException | LimitExceededException | RegistryNotFoundException | RepositoryNotFoundException | ServerException | UnsupportedCommandException | UploadNotFoundException | CommonAwsError >; } @@ -387,11 +271,13 @@ export type ExpirationTimestamp = Date | string; export type ForceFlag = boolean; -export interface GetAuthorizationTokenRequest {} +export interface GetAuthorizationTokenRequest { +} export interface GetAuthorizationTokenResponse { authorizationData?: AuthorizationData; } -export interface GetRegistryCatalogDataRequest {} +export interface GetRegistryCatalogDataRequest { +} export interface GetRegistryCatalogDataResponse { registryCatalogData: RegistryCatalogData; } @@ -446,14 +332,7 @@ export interface ImageFailure { failureCode?: ImageFailureCode; failureReason?: string; } -export type ImageFailureCode = - | "InvalidImageDigest" - | "InvalidImageTag" - | "ImageTagDoesNotMatchDigest" - | "ImageNotFound" - | "MissingDigestAndTag" - | "ImageReferencedByManifestList" - | "KmsError"; +export type ImageFailureCode = "InvalidImageDigest" | "InvalidImageTag" | "ImageTagDoesNotMatchDigest" | "ImageNotFound" | "MissingDigestAndTag" | "ImageReferencedByManifestList" | "KmsError"; export type ImageFailureList = Array; export type ImageFailureReason = string; @@ -744,7 +623,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class TooManyTagsException extends EffectData.TaggedError( @@ -761,7 +641,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UploadId = string; export interface UploadLayerPartRequest { @@ -1066,29 +947,5 @@ export declare namespace UploadLayerPart { | CommonAwsError; } -export type ECRPUBLICErrors = - | EmptyUploadException - | ImageAlreadyExistsException - | ImageDigestDoesNotMatchException - | ImageNotFoundException - | ImageTagAlreadyExistsException - | InvalidLayerException - | InvalidLayerPartException - | InvalidParameterException - | InvalidTagParameterException - | LayerAlreadyExistsException - | LayerPartTooSmallException - | LayersNotFoundException - | LimitExceededException - | ReferencedImagesNotFoundException - | RegistryNotFoundException - | RepositoryAlreadyExistsException - | RepositoryCatalogDataNotFoundException - | RepositoryNotEmptyException - | RepositoryNotFoundException - | RepositoryPolicyNotFoundException - | ServerException - | TooManyTagsException - | UnsupportedCommandException - | UploadNotFoundException - | CommonAwsError; +export type ECRPUBLICErrors = EmptyUploadException | ImageAlreadyExistsException | ImageDigestDoesNotMatchException | ImageNotFoundException | ImageTagAlreadyExistsException | InvalidLayerException | InvalidLayerPartException | InvalidParameterException | InvalidTagParameterException | LayerAlreadyExistsException | LayerPartTooSmallException | LayersNotFoundException | LimitExceededException | ReferencedImagesNotFoundException | RegistryNotFoundException | RepositoryAlreadyExistsException | RepositoryCatalogDataNotFoundException | RepositoryNotEmptyException | RepositoryNotFoundException | RepositoryPolicyNotFoundException | ServerException | TooManyTagsException | UnsupportedCommandException | UploadNotFoundException | CommonAwsError; + diff --git a/src/services/ecr/index.ts b/src/services/ecr/index.ts index 7d104e33..2d254bba 100644 --- a/src/services/ecr/index.ts +++ b/src/services/ecr/index.ts @@ -5,25 +5,7 @@ import type { ECR as _ECRClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/ecr/types.ts b/src/services/ecr/types.ts index 51d1c3b5..0803ae13 100644 --- a/src/services/ecr/types.ts +++ b/src/services/ecr/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ECR extends AWSServiceClient { @@ -42,235 +8,133 @@ export declare class ECR extends AWSServiceClient { input: BatchCheckLayerAvailabilityRequest, ): Effect.Effect< BatchCheckLayerAvailabilityResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | CommonAwsError >; batchDeleteImage( input: BatchDeleteImageRequest, ): Effect.Effect< BatchDeleteImageResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | CommonAwsError >; batchGetImage( input: BatchGetImageRequest, ): Effect.Effect< BatchGetImageResponse, - | InvalidParameterException - | LimitExceededException - | RepositoryNotFoundException - | ServerException - | UnableToGetUpstreamImageException - | CommonAwsError + InvalidParameterException | LimitExceededException | RepositoryNotFoundException | ServerException | UnableToGetUpstreamImageException | CommonAwsError >; batchGetRepositoryScanningConfiguration( input: BatchGetRepositoryScanningConfigurationRequest, ): Effect.Effect< BatchGetRepositoryScanningConfigurationResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | ValidationException | CommonAwsError >; completeLayerUpload( input: CompleteLayerUploadRequest, ): Effect.Effect< CompleteLayerUploadResponse, - | EmptyUploadException - | InvalidLayerException - | InvalidParameterException - | KmsException - | LayerAlreadyExistsException - | LayerPartTooSmallException - | RepositoryNotFoundException - | ServerException - | UploadNotFoundException - | CommonAwsError + EmptyUploadException | InvalidLayerException | InvalidParameterException | KmsException | LayerAlreadyExistsException | LayerPartTooSmallException | RepositoryNotFoundException | ServerException | UploadNotFoundException | CommonAwsError >; createPullThroughCacheRule( input: CreatePullThroughCacheRuleRequest, ): Effect.Effect< CreatePullThroughCacheRuleResponse, - | InvalidParameterException - | LimitExceededException - | PullThroughCacheRuleAlreadyExistsException - | SecretNotFoundException - | ServerException - | UnableToAccessSecretException - | UnableToDecryptSecretValueException - | UnsupportedUpstreamRegistryException - | ValidationException - | CommonAwsError + InvalidParameterException | LimitExceededException | PullThroughCacheRuleAlreadyExistsException | SecretNotFoundException | ServerException | UnableToAccessSecretException | UnableToDecryptSecretValueException | UnsupportedUpstreamRegistryException | ValidationException | CommonAwsError >; createRepository( input: CreateRepositoryRequest, ): Effect.Effect< CreateRepositoryResponse, - | InvalidParameterException - | InvalidTagParameterException - | KmsException - | LimitExceededException - | RepositoryAlreadyExistsException - | ServerException - | TooManyTagsException - | CommonAwsError + InvalidParameterException | InvalidTagParameterException | KmsException | LimitExceededException | RepositoryAlreadyExistsException | ServerException | TooManyTagsException | CommonAwsError >; createRepositoryCreationTemplate( input: CreateRepositoryCreationTemplateRequest, ): Effect.Effect< CreateRepositoryCreationTemplateResponse, - | InvalidParameterException - | LimitExceededException - | ServerException - | TemplateAlreadyExistsException - | ValidationException - | CommonAwsError + InvalidParameterException | LimitExceededException | ServerException | TemplateAlreadyExistsException | ValidationException | CommonAwsError >; deleteLifecyclePolicy( input: DeleteLifecyclePolicyRequest, ): Effect.Effect< DeleteLifecyclePolicyResponse, - | InvalidParameterException - | LifecyclePolicyNotFoundException - | RepositoryNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | LifecyclePolicyNotFoundException | RepositoryNotFoundException | ServerException | ValidationException | CommonAwsError >; deletePullThroughCacheRule( input: DeletePullThroughCacheRuleRequest, ): Effect.Effect< DeletePullThroughCacheRuleResponse, - | InvalidParameterException - | PullThroughCacheRuleNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | PullThroughCacheRuleNotFoundException | ServerException | ValidationException | CommonAwsError >; deleteRegistryPolicy( input: DeleteRegistryPolicyRequest, ): Effect.Effect< DeleteRegistryPolicyResponse, - | InvalidParameterException - | RegistryPolicyNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | RegistryPolicyNotFoundException | ServerException | ValidationException | CommonAwsError >; deleteRepository( input: DeleteRepositoryRequest, ): Effect.Effect< DeleteRepositoryResponse, - | InvalidParameterException - | KmsException - | RepositoryNotEmptyException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | KmsException | RepositoryNotEmptyException | RepositoryNotFoundException | ServerException | CommonAwsError >; deleteRepositoryCreationTemplate( input: DeleteRepositoryCreationTemplateRequest, ): Effect.Effect< DeleteRepositoryCreationTemplateResponse, - | InvalidParameterException - | ServerException - | TemplateNotFoundException - | ValidationException - | CommonAwsError + InvalidParameterException | ServerException | TemplateNotFoundException | ValidationException | CommonAwsError >; deleteRepositoryPolicy( input: DeleteRepositoryPolicyRequest, ): Effect.Effect< DeleteRepositoryPolicyResponse, - | InvalidParameterException - | RepositoryNotFoundException - | RepositoryPolicyNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | RepositoryPolicyNotFoundException | ServerException | CommonAwsError >; describeImageReplicationStatus( input: DescribeImageReplicationStatusRequest, ): Effect.Effect< DescribeImageReplicationStatusResponse, - | ImageNotFoundException - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | ValidationException - | CommonAwsError + ImageNotFoundException | InvalidParameterException | RepositoryNotFoundException | ServerException | ValidationException | CommonAwsError >; describeImages( input: DescribeImagesRequest, ): Effect.Effect< DescribeImagesResponse, - | ImageNotFoundException - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + ImageNotFoundException | InvalidParameterException | RepositoryNotFoundException | ServerException | CommonAwsError >; describeImageScanFindings( input: DescribeImageScanFindingsRequest, ): Effect.Effect< DescribeImageScanFindingsResponse, - | ImageNotFoundException - | InvalidParameterException - | RepositoryNotFoundException - | ScanNotFoundException - | ServerException - | ValidationException - | CommonAwsError + ImageNotFoundException | InvalidParameterException | RepositoryNotFoundException | ScanNotFoundException | ServerException | ValidationException | CommonAwsError >; describePullThroughCacheRules( input: DescribePullThroughCacheRulesRequest, ): Effect.Effect< DescribePullThroughCacheRulesResponse, - | InvalidParameterException - | PullThroughCacheRuleNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | PullThroughCacheRuleNotFoundException | ServerException | ValidationException | CommonAwsError >; describeRegistry( input: DescribeRegistryRequest, ): Effect.Effect< DescribeRegistryResponse, - | InvalidParameterException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | ServerException | ValidationException | CommonAwsError >; describeRepositories( input: DescribeRepositoriesRequest, ): Effect.Effect< DescribeRepositoriesResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | CommonAwsError >; describeRepositoryCreationTemplates( input: DescribeRepositoryCreationTemplatesRequest, ): Effect.Effect< DescribeRepositoryCreationTemplatesResponse, - | InvalidParameterException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | ServerException | ValidationException | CommonAwsError >; getAccountSetting( input: GetAccountSettingRequest, ): Effect.Effect< GetAccountSettingResponse, - | InvalidParameterException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | ServerException | ValidationException | CommonAwsError >; getAuthorizationToken( input: GetAuthorizationTokenRequest, @@ -282,276 +146,157 @@ export declare class ECR extends AWSServiceClient { input: GetDownloadUrlForLayerRequest, ): Effect.Effect< GetDownloadUrlForLayerResponse, - | InvalidParameterException - | LayerInaccessibleException - | LayersNotFoundException - | RepositoryNotFoundException - | ServerException - | UnableToGetUpstreamLayerException - | CommonAwsError + InvalidParameterException | LayerInaccessibleException | LayersNotFoundException | RepositoryNotFoundException | ServerException | UnableToGetUpstreamLayerException | CommonAwsError >; getLifecyclePolicy( input: GetLifecyclePolicyRequest, ): Effect.Effect< GetLifecyclePolicyResponse, - | InvalidParameterException - | LifecyclePolicyNotFoundException - | RepositoryNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | LifecyclePolicyNotFoundException | RepositoryNotFoundException | ServerException | ValidationException | CommonAwsError >; getLifecyclePolicyPreview( input: GetLifecyclePolicyPreviewRequest, ): Effect.Effect< GetLifecyclePolicyPreviewResponse, - | InvalidParameterException - | LifecyclePolicyPreviewNotFoundException - | RepositoryNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | LifecyclePolicyPreviewNotFoundException | RepositoryNotFoundException | ServerException | ValidationException | CommonAwsError >; getRegistryPolicy( input: GetRegistryPolicyRequest, ): Effect.Effect< GetRegistryPolicyResponse, - | InvalidParameterException - | RegistryPolicyNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | RegistryPolicyNotFoundException | ServerException | ValidationException | CommonAwsError >; getRegistryScanningConfiguration( input: GetRegistryScanningConfigurationRequest, ): Effect.Effect< GetRegistryScanningConfigurationResponse, - | InvalidParameterException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | ServerException | ValidationException | CommonAwsError >; getRepositoryPolicy( input: GetRepositoryPolicyRequest, ): Effect.Effect< GetRepositoryPolicyResponse, - | InvalidParameterException - | RepositoryNotFoundException - | RepositoryPolicyNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | RepositoryPolicyNotFoundException | ServerException | CommonAwsError >; initiateLayerUpload( input: InitiateLayerUploadRequest, ): Effect.Effect< InitiateLayerUploadResponse, - | InvalidParameterException - | KmsException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | KmsException | RepositoryNotFoundException | ServerException | CommonAwsError >; listImages( input: ListImagesRequest, ): Effect.Effect< ListImagesResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | CommonAwsError >; putAccountSetting( input: PutAccountSettingRequest, ): Effect.Effect< PutAccountSettingResponse, - | InvalidParameterException - | LimitExceededException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | LimitExceededException | ServerException | ValidationException | CommonAwsError >; putImage( input: PutImageRequest, ): Effect.Effect< PutImageResponse, - | ImageAlreadyExistsException - | ImageDigestDoesNotMatchException - | ImageTagAlreadyExistsException - | InvalidParameterException - | KmsException - | LayersNotFoundException - | LimitExceededException - | ReferencedImagesNotFoundException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + ImageAlreadyExistsException | ImageDigestDoesNotMatchException | ImageTagAlreadyExistsException | InvalidParameterException | KmsException | LayersNotFoundException | LimitExceededException | ReferencedImagesNotFoundException | RepositoryNotFoundException | ServerException | CommonAwsError >; putImageScanningConfiguration( input: PutImageScanningConfigurationRequest, ): Effect.Effect< PutImageScanningConfigurationResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | ValidationException | CommonAwsError >; putImageTagMutability( input: PutImageTagMutabilityRequest, ): Effect.Effect< PutImageTagMutabilityResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | CommonAwsError >; putLifecyclePolicy( input: PutLifecyclePolicyRequest, ): Effect.Effect< PutLifecyclePolicyResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | ValidationException | CommonAwsError >; putRegistryPolicy( input: PutRegistryPolicyRequest, ): Effect.Effect< PutRegistryPolicyResponse, - | InvalidParameterException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | ServerException | ValidationException | CommonAwsError >; putRegistryScanningConfiguration( input: PutRegistryScanningConfigurationRequest, ): Effect.Effect< PutRegistryScanningConfigurationResponse, - | InvalidParameterException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | ServerException | ValidationException | CommonAwsError >; putReplicationConfiguration( input: PutReplicationConfigurationRequest, ): Effect.Effect< PutReplicationConfigurationResponse, - | InvalidParameterException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | ServerException | ValidationException | CommonAwsError >; setRepositoryPolicy( input: SetRepositoryPolicyRequest, ): Effect.Effect< SetRepositoryPolicyResponse, - | InvalidParameterException - | RepositoryNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | RepositoryNotFoundException | ServerException | CommonAwsError >; startImageScan( input: StartImageScanRequest, ): Effect.Effect< StartImageScanResponse, - | ImageNotFoundException - | InvalidParameterException - | LimitExceededException - | RepositoryNotFoundException - | ServerException - | UnsupportedImageTypeException - | ValidationException - | CommonAwsError + ImageNotFoundException | InvalidParameterException | LimitExceededException | RepositoryNotFoundException | ServerException | UnsupportedImageTypeException | ValidationException | CommonAwsError >; startLifecyclePolicyPreview( input: StartLifecyclePolicyPreviewRequest, ): Effect.Effect< StartLifecyclePolicyPreviewResponse, - | InvalidParameterException - | LifecyclePolicyNotFoundException - | LifecyclePolicyPreviewInProgressException - | RepositoryNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | LifecyclePolicyNotFoundException | LifecyclePolicyPreviewInProgressException | RepositoryNotFoundException | ServerException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidParameterException - | InvalidTagParameterException - | RepositoryNotFoundException - | ServerException - | TooManyTagsException - | CommonAwsError + InvalidParameterException | InvalidTagParameterException | RepositoryNotFoundException | ServerException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InvalidParameterException - | InvalidTagParameterException - | RepositoryNotFoundException - | ServerException - | TooManyTagsException - | CommonAwsError + InvalidParameterException | InvalidTagParameterException | RepositoryNotFoundException | ServerException | TooManyTagsException | CommonAwsError >; updatePullThroughCacheRule( input: UpdatePullThroughCacheRuleRequest, ): Effect.Effect< UpdatePullThroughCacheRuleResponse, - | InvalidParameterException - | PullThroughCacheRuleNotFoundException - | SecretNotFoundException - | ServerException - | UnableToAccessSecretException - | UnableToDecryptSecretValueException - | ValidationException - | CommonAwsError + InvalidParameterException | PullThroughCacheRuleNotFoundException | SecretNotFoundException | ServerException | UnableToAccessSecretException | UnableToDecryptSecretValueException | ValidationException | CommonAwsError >; updateRepositoryCreationTemplate( input: UpdateRepositoryCreationTemplateRequest, ): Effect.Effect< UpdateRepositoryCreationTemplateResponse, - | InvalidParameterException - | ServerException - | TemplateNotFoundException - | ValidationException - | CommonAwsError + InvalidParameterException | ServerException | TemplateNotFoundException | ValidationException | CommonAwsError >; uploadLayerPart( input: UploadLayerPartRequest, ): Effect.Effect< UploadLayerPartResponse, - | InvalidLayerPartException - | InvalidParameterException - | KmsException - | LimitExceededException - | RepositoryNotFoundException - | ServerException - | UploadNotFoundException - | CommonAwsError + InvalidLayerPartException | InvalidParameterException | KmsException | LimitExceededException | RepositoryNotFoundException | ServerException | UploadNotFoundException | CommonAwsError >; validatePullThroughCacheRule( input: ValidatePullThroughCacheRuleRequest, ): Effect.Effect< ValidatePullThroughCacheRuleResponse, - | InvalidParameterException - | PullThroughCacheRuleNotFoundException - | ServerException - | ValidationException - | CommonAwsError + InvalidParameterException | PullThroughCacheRuleNotFoundException | ServerException | ValidationException | CommonAwsError >; } @@ -745,7 +490,8 @@ export interface DeletePullThroughCacheRuleResponse { customRoleArn?: string; upstreamRepositoryPrefix?: string; } -export interface DeleteRegistryPolicyRequest {} +export interface DeleteRegistryPolicyRequest { +} export interface DeleteRegistryPolicyResponse { registryId?: string; policyText?: string; @@ -824,7 +570,8 @@ export interface DescribePullThroughCacheRulesResponse { pullThroughCacheRules?: Array; nextToken?: string; } -export interface DescribeRegistryRequest {} +export interface DescribeRegistryRequest { +} export interface DescribeRegistryResponse { registryId?: string; replicationConfiguration?: ReplicationConfiguration; @@ -901,13 +648,7 @@ export type FindingDescription = string; export type FindingName = string; -export type FindingSeverity = - | "INFORMATIONAL" - | "LOW" - | "MEDIUM" - | "HIGH" - | "CRITICAL" - | "UNDEFINED"; +export type FindingSeverity = "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL" | "UNDEFINED"; export type FindingSeverityCounts = Record; export type FixAvailable = string; @@ -965,12 +706,14 @@ export interface GetLifecyclePolicyResponse { lifecyclePolicyText?: string; lastEvaluatedAt?: Date | string; } -export interface GetRegistryPolicyRequest {} +export interface GetRegistryPolicyRequest { +} export interface GetRegistryPolicyResponse { registryId?: string; policyText?: string; } -export interface GetRegistryScanningConfigurationRequest {} +export interface GetRegistryScanningConfigurationRequest { +} export interface GetRegistryScanningConfigurationResponse { registryId?: string; scanningConfiguration?: RegistryScanningConfiguration; @@ -1025,17 +768,7 @@ export interface ImageFailure { failureCode?: ImageFailureCode; failureReason?: string; } -export type ImageFailureCode = - | "InvalidImageDigest" - | "InvalidImageTag" - | "ImageTagDoesNotMatchDigest" - | "ImageNotFound" - | "MissingDigestAndTag" - | "ImageReferencedByManifestList" - | "KmsError" - | "UpstreamAccessDenied" - | "UpstreamTooManyRequests" - | "UpstreamUnavailable"; +export type ImageFailureCode = "InvalidImageDigest" | "InvalidImageTag" | "ImageTagDoesNotMatchDigest" | "ImageNotFound" | "MissingDigestAndTag" | "ImageReferencedByManifestList" | "KmsError" | "UpstreamAccessDenied" | "UpstreamTooManyRequests" | "UpstreamUnavailable"; export type ImageFailureList = Array; export type ImageFailureReason = string; @@ -1096,17 +829,12 @@ export declare class ImageTagAlreadyExistsException extends EffectData.TaggedErr readonly message?: string; }> {} export type ImageTagList = Array; -export type ImageTagMutability = - | "MUTABLE" - | "IMMUTABLE" - | "IMMUTABLE_WITH_EXCLUSION" - | "MUTABLE_WITH_EXCLUSION"; +export type ImageTagMutability = "MUTABLE" | "IMMUTABLE" | "IMMUTABLE_WITH_EXCLUSION" | "MUTABLE_WITH_EXCLUSION"; export interface ImageTagMutabilityExclusionFilter { filterType: ImageTagMutabilityExclusionFilterType; filter: string; } -export type ImageTagMutabilityExclusionFilters = - Array; +export type ImageTagMutabilityExclusionFilters = Array; export type ImageTagMutabilityExclusionFilterType = "WILDCARD"; export type ImageTagMutabilityExclusionFilterValue = string; @@ -1228,13 +956,8 @@ export interface LifecyclePolicyPreviewResult { action?: LifecyclePolicyRuleAction; appliedRulePriority?: number; } -export type LifecyclePolicyPreviewResultList = - Array; -export type LifecyclePolicyPreviewStatus = - | "IN_PROGRESS" - | "COMPLETE" - | "EXPIRED" - | "FAILED"; +export type LifecyclePolicyPreviewResultList = Array; +export type LifecyclePolicyPreviewStatus = "IN_PROGRESS" | "COMPLETE" | "EXPIRED" | "FAILED"; export interface LifecyclePolicyPreviewSummary { expiringImageTotalCount?: number; } @@ -1540,10 +1263,8 @@ export interface RepositoryScanningConfigurationFailure { failureCode?: ScanningConfigurationFailureCode; failureReason?: string; } -export type RepositoryScanningConfigurationFailureList = - Array; -export type RepositoryScanningConfigurationList = - Array; +export type RepositoryScanningConfigurationFailureList = Array; +export type RepositoryScanningConfigurationList = Array; export type RepositoryTemplateDescription = string; export interface Resource { @@ -1578,16 +1299,7 @@ export declare class ScanNotFoundException extends EffectData.TaggedError( }> {} export type ScanOnPushFlag = boolean; -export type ScanStatus = - | "IN_PROGRESS" - | "COMPLETE" - | "FAILED" - | "UNSUPPORTED_IMAGE" - | "ACTIVE" - | "PENDING" - | "SCAN_ELIGIBILITY_EXPIRED" - | "FINDINGS_UNAVAILABLE" - | "LIMIT_EXCEEDED"; +export type ScanStatus = "IN_PROGRESS" | "COMPLETE" | "FAILED" | "UNSUPPORTED_IMAGE" | "ACTIVE" | "PENDING" | "SCAN_ELIGIBILITY_EXPIRED" | "FINDINGS_UNAVAILABLE" | "LIMIT_EXCEEDED"; export type ScanStatusDescription = string; export type ScanTimestamp = Date | string; @@ -1665,7 +1377,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagStatus = "TAGGED" | "UNTAGGED" | "ANY"; export type TagValue = string; @@ -1723,7 +1436,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UpdatedTimestamp = Date | string; export interface UpdatePullThroughCacheRuleRequest { @@ -1777,15 +1491,7 @@ export declare class UploadNotFoundException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type UpstreamRegistry = - | "ecr" - | "ecr-public" - | "quay" - | "k8s" - | "docker-hub" - | "github-container-registry" - | "azure-container-registry" - | "gitlab-container-registry"; +export type UpstreamRegistry = "ecr" | "ecr-public" | "quay" | "k8s" | "docker-hub" | "github-container-registry" | "azure-container-registry" | "gitlab-container-registry"; export type Url = string; export interface ValidatePullThroughCacheRuleRequest { @@ -2393,45 +2099,5 @@ export declare namespace ValidatePullThroughCacheRule { | CommonAwsError; } -export type ECRErrors = - | EmptyUploadException - | ImageAlreadyExistsException - | ImageDigestDoesNotMatchException - | ImageNotFoundException - | ImageTagAlreadyExistsException - | InvalidLayerException - | InvalidLayerPartException - | InvalidParameterException - | InvalidTagParameterException - | KmsException - | LayerAlreadyExistsException - | LayerInaccessibleException - | LayerPartTooSmallException - | LayersNotFoundException - | LifecyclePolicyNotFoundException - | LifecyclePolicyPreviewInProgressException - | LifecyclePolicyPreviewNotFoundException - | LimitExceededException - | PullThroughCacheRuleAlreadyExistsException - | PullThroughCacheRuleNotFoundException - | ReferencedImagesNotFoundException - | RegistryPolicyNotFoundException - | RepositoryAlreadyExistsException - | RepositoryNotEmptyException - | RepositoryNotFoundException - | RepositoryPolicyNotFoundException - | ScanNotFoundException - | SecretNotFoundException - | ServerException - | TemplateAlreadyExistsException - | TemplateNotFoundException - | TooManyTagsException - | UnableToAccessSecretException - | UnableToDecryptSecretValueException - | UnableToGetUpstreamImageException - | UnableToGetUpstreamLayerException - | UnsupportedImageTypeException - | UnsupportedUpstreamRegistryException - | UploadNotFoundException - | ValidationException - | CommonAwsError; +export type ECRErrors = EmptyUploadException | ImageAlreadyExistsException | ImageDigestDoesNotMatchException | ImageNotFoundException | ImageTagAlreadyExistsException | InvalidLayerException | InvalidLayerPartException | InvalidParameterException | InvalidTagParameterException | KmsException | LayerAlreadyExistsException | LayerInaccessibleException | LayerPartTooSmallException | LayersNotFoundException | LifecyclePolicyNotFoundException | LifecyclePolicyPreviewInProgressException | LifecyclePolicyPreviewNotFoundException | LimitExceededException | PullThroughCacheRuleAlreadyExistsException | PullThroughCacheRuleNotFoundException | ReferencedImagesNotFoundException | RegistryPolicyNotFoundException | RepositoryAlreadyExistsException | RepositoryNotEmptyException | RepositoryNotFoundException | RepositoryPolicyNotFoundException | ScanNotFoundException | SecretNotFoundException | ServerException | TemplateAlreadyExistsException | TemplateNotFoundException | TooManyTagsException | UnableToAccessSecretException | UnableToDecryptSecretValueException | UnableToGetUpstreamImageException | UnableToGetUpstreamLayerException | UnsupportedImageTypeException | UnsupportedUpstreamRegistryException | UploadNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/ecs/index.ts b/src/services/ecs/index.ts index ec08e537..6219dd49 100644 --- a/src/services/ecs/index.ts +++ b/src/services/ecs/index.ts @@ -5,25 +5,7 @@ import type { ECS as _ECSClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/ecs/types.ts b/src/services/ecs/types.ts index eed02bd0..cb2e0abd 100644 --- a/src/services/ecs/types.ts +++ b/src/services/ecs/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class ECS extends AWSServiceClient { @@ -42,254 +8,133 @@ export declare class ECS extends AWSServiceClient { input: CreateCapacityProviderRequest, ): Effect.Effect< CreateCapacityProviderResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | LimitExceededException - | ServerException - | UnsupportedFeatureException - | UpdateInProgressException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | LimitExceededException | ServerException | UnsupportedFeatureException | UpdateInProgressException | CommonAwsError >; createCluster( input: CreateClusterRequest, ): Effect.Effect< CreateClusterResponse, - | ClientException - | InvalidParameterException - | NamespaceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | NamespaceNotFoundException | ServerException | CommonAwsError >; createService( input: CreateServiceRequest, ): Effect.Effect< CreateServiceResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | NamespaceNotFoundException - | PlatformTaskDefinitionIncompatibilityException - | PlatformUnknownException - | ServerException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | NamespaceNotFoundException | PlatformTaskDefinitionIncompatibilityException | PlatformUnknownException | ServerException | UnsupportedFeatureException | CommonAwsError >; createTaskSet( input: CreateTaskSetRequest, ): Effect.Effect< CreateTaskSetResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | NamespaceNotFoundException - | PlatformTaskDefinitionIncompatibilityException - | PlatformUnknownException - | ServerException - | ServiceNotActiveException - | ServiceNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | NamespaceNotFoundException | PlatformTaskDefinitionIncompatibilityException | PlatformUnknownException | ServerException | ServiceNotActiveException | ServiceNotFoundException | UnsupportedFeatureException | CommonAwsError >; deleteAccountSetting( input: DeleteAccountSettingRequest, ): Effect.Effect< DeleteAccountSettingResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; deleteAttributes( input: DeleteAttributesRequest, ): Effect.Effect< DeleteAttributesResponse, - | ClusterNotFoundException - | InvalidParameterException - | TargetNotFoundException - | CommonAwsError + ClusterNotFoundException | InvalidParameterException | TargetNotFoundException | CommonAwsError >; deleteCapacityProvider( input: DeleteCapacityProviderRequest, ): Effect.Effect< DeleteCapacityProviderResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | UnsupportedFeatureException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | UnsupportedFeatureException | CommonAwsError >; deleteCluster( input: DeleteClusterRequest, ): Effect.Effect< DeleteClusterResponse, - | ClientException - | ClusterContainsCapacityProviderException - | ClusterContainsContainerInstancesException - | ClusterContainsServicesException - | ClusterContainsTasksException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | UpdateInProgressException - | CommonAwsError + ClientException | ClusterContainsCapacityProviderException | ClusterContainsContainerInstancesException | ClusterContainsServicesException | ClusterContainsTasksException | ClusterNotFoundException | InvalidParameterException | ServerException | UpdateInProgressException | CommonAwsError >; deleteService( input: DeleteServiceRequest, ): Effect.Effect< DeleteServiceResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | ServiceNotFoundException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | ServiceNotFoundException | CommonAwsError >; deleteTaskDefinitions( input: DeleteTaskDefinitionsRequest, ): Effect.Effect< DeleteTaskDefinitionsResponse, - | AccessDeniedException - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + AccessDeniedException | ClientException | InvalidParameterException | ServerException | CommonAwsError >; deleteTaskSet( input: DeleteTaskSetRequest, ): Effect.Effect< DeleteTaskSetResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | ServiceNotActiveException - | ServiceNotFoundException - | TaskSetNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | ServiceNotActiveException | ServiceNotFoundException | TaskSetNotFoundException | UnsupportedFeatureException | CommonAwsError >; deregisterContainerInstance( input: DeregisterContainerInstanceRequest, ): Effect.Effect< DeregisterContainerInstanceResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; deregisterTaskDefinition( input: DeregisterTaskDefinitionRequest, ): Effect.Effect< DeregisterTaskDefinitionResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; describeCapacityProviders( input: DescribeCapacityProvidersRequest, ): Effect.Effect< DescribeCapacityProvidersResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | UnsupportedFeatureException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | UnsupportedFeatureException | CommonAwsError >; describeClusters( input: DescribeClustersRequest, ): Effect.Effect< DescribeClustersResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; describeContainerInstances( input: DescribeContainerInstancesRequest, ): Effect.Effect< DescribeContainerInstancesResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; describeServiceDeployments( input: DescribeServiceDeploymentsRequest, ): Effect.Effect< DescribeServiceDeploymentsResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | ServiceNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | ServiceNotFoundException | UnsupportedFeatureException | CommonAwsError >; describeServiceRevisions( input: DescribeServiceRevisionsRequest, ): Effect.Effect< DescribeServiceRevisionsResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | ServiceNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | ServiceNotFoundException | UnsupportedFeatureException | CommonAwsError >; describeServices( input: DescribeServicesRequest, ): Effect.Effect< DescribeServicesResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; describeTaskDefinition( input: DescribeTaskDefinitionRequest, ): Effect.Effect< DescribeTaskDefinitionResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; describeTasks( input: DescribeTasksRequest, ): Effect.Effect< DescribeTasksResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; describeTaskSets( input: DescribeTaskSetsRequest, ): Effect.Effect< DescribeTaskSetsResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | ServiceNotActiveException - | ServiceNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | ServiceNotActiveException | ServiceNotFoundException | UnsupportedFeatureException | CommonAwsError >; discoverPollEndpoint( input: DiscoverPollEndpointRequest, @@ -301,35 +146,19 @@ export declare class ECS extends AWSServiceClient { input: ExecuteCommandRequest, ): Effect.Effect< ExecuteCommandResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | TargetNotConnectedException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | TargetNotConnectedException | CommonAwsError >; getTaskProtection( input: GetTaskProtectionRequest, ): Effect.Effect< GetTaskProtectionResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | ResourceNotFoundException | ServerException | UnsupportedFeatureException | CommonAwsError >; listAccountSettings( input: ListAccountSettingsRequest, ): Effect.Effect< ListAccountSettingsResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; listAttributes( input: ListAttributesRequest, @@ -341,209 +170,121 @@ export declare class ECS extends AWSServiceClient { input: ListClustersRequest, ): Effect.Effect< ListClustersResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; listContainerInstances( input: ListContainerInstancesRequest, ): Effect.Effect< ListContainerInstancesResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; listServiceDeployments( input: ListServiceDeploymentsRequest, ): Effect.Effect< ListServiceDeploymentsResponse, - | AccessDeniedException - | ClientException - | InvalidParameterException - | ServerException - | ServiceNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | InvalidParameterException | ServerException | ServiceNotFoundException | UnsupportedFeatureException | CommonAwsError >; listServices( input: ListServicesRequest, ): Effect.Effect< ListServicesResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; listServicesByNamespace( input: ListServicesByNamespaceRequest, ): Effect.Effect< ListServicesByNamespaceResponse, - | ClientException - | InvalidParameterException - | NamespaceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | NamespaceNotFoundException | ServerException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; listTaskDefinitionFamilies( input: ListTaskDefinitionFamiliesRequest, ): Effect.Effect< ListTaskDefinitionFamiliesResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; listTaskDefinitions( input: ListTaskDefinitionsRequest, ): Effect.Effect< ListTaskDefinitionsResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; listTasks( input: ListTasksRequest, ): Effect.Effect< ListTasksResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | ServiceNotFoundException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | ServiceNotFoundException | CommonAwsError >; putAccountSetting( input: PutAccountSettingRequest, ): Effect.Effect< PutAccountSettingResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; putAccountSettingDefault( input: PutAccountSettingDefaultRequest, ): Effect.Effect< PutAccountSettingDefaultResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; putAttributes( input: PutAttributesRequest, ): Effect.Effect< PutAttributesResponse, - | AttributeLimitExceededException - | ClusterNotFoundException - | InvalidParameterException - | TargetNotFoundException - | CommonAwsError + AttributeLimitExceededException | ClusterNotFoundException | InvalidParameterException | TargetNotFoundException | CommonAwsError >; putClusterCapacityProviders( input: PutClusterCapacityProvidersRequest, ): Effect.Effect< PutClusterCapacityProvidersResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ResourceInUseException - | ServerException - | UpdateInProgressException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ResourceInUseException | ServerException | UpdateInProgressException | CommonAwsError >; registerContainerInstance( input: RegisterContainerInstanceRequest, ): Effect.Effect< RegisterContainerInstanceResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; registerTaskDefinition( input: RegisterTaskDefinitionRequest, ): Effect.Effect< RegisterTaskDefinitionResponse, - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | CommonAwsError >; runTask( input: RunTaskRequest, ): Effect.Effect< RunTaskResponse, - | AccessDeniedException - | BlockedException - | ClientException - | ClusterNotFoundException - | ConflictException - | InvalidParameterException - | PlatformTaskDefinitionIncompatibilityException - | PlatformUnknownException - | ServerException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | BlockedException | ClientException | ClusterNotFoundException | ConflictException | InvalidParameterException | PlatformTaskDefinitionIncompatibilityException | PlatformUnknownException | ServerException | UnsupportedFeatureException | CommonAwsError >; startTask( input: StartTaskRequest, ): Effect.Effect< StartTaskResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | UnsupportedFeatureException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | UnsupportedFeatureException | CommonAwsError >; stopServiceDeployment( input: StopServiceDeploymentRequest, ): Effect.Effect< StopServiceDeploymentResponse, - | AccessDeniedException - | ClientException - | ConflictException - | InvalidParameterException - | ServerException - | ServiceDeploymentNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ConflictException | InvalidParameterException | ServerException | ServiceDeploymentNotFoundException | UnsupportedFeatureException | CommonAwsError >; stopTask( input: StopTaskRequest, ): Effect.Effect< StopTaskResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; submitAttachmentStateChanges( input: SubmitAttachmentStateChangesRequest, ): Effect.Effect< SubmitAttachmentStateChangesResponse, - | AccessDeniedException - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + AccessDeniedException | ClientException | InvalidParameterException | ServerException | CommonAwsError >; submitContainerStateChange( input: SubmitContainerStateChangeRequest, @@ -555,148 +296,73 @@ export declare class ECS extends AWSServiceClient { input: SubmitTaskStateChangeRequest, ): Effect.Effect< SubmitTaskStateChangeResponse, - | AccessDeniedException - | ClientException - | InvalidParameterException - | ServerException - | CommonAwsError + AccessDeniedException | ClientException | InvalidParameterException | ServerException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ResourceNotFoundException | ServerException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ResourceNotFoundException | ServerException | CommonAwsError >; updateCapacityProvider( input: UpdateCapacityProviderRequest, ): Effect.Effect< UpdateCapacityProviderResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | UnsupportedFeatureException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | UnsupportedFeatureException | CommonAwsError >; updateCluster( input: UpdateClusterRequest, ): Effect.Effect< UpdateClusterResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | NamespaceNotFoundException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | NamespaceNotFoundException | ServerException | CommonAwsError >; updateClusterSettings( input: UpdateClusterSettingsRequest, ): Effect.Effect< UpdateClusterSettingsResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; updateContainerAgent( input: UpdateContainerAgentRequest, ): Effect.Effect< UpdateContainerAgentResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | MissingVersionException - | NoUpdateAvailableException - | ServerException - | UpdateInProgressException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | MissingVersionException | NoUpdateAvailableException | ServerException | UpdateInProgressException | CommonAwsError >; updateContainerInstancesState( input: UpdateContainerInstancesStateRequest, ): Effect.Effect< UpdateContainerInstancesStateResponse, - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | CommonAwsError + ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | CommonAwsError >; updateService( input: UpdateServiceRequest, ): Effect.Effect< UpdateServiceResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | NamespaceNotFoundException - | PlatformTaskDefinitionIncompatibilityException - | PlatformUnknownException - | ServerException - | ServiceNotActiveException - | ServiceNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | NamespaceNotFoundException | PlatformTaskDefinitionIncompatibilityException | PlatformUnknownException | ServerException | ServiceNotActiveException | ServiceNotFoundException | UnsupportedFeatureException | CommonAwsError >; updateServicePrimaryTaskSet( input: UpdateServicePrimaryTaskSetRequest, ): Effect.Effect< UpdateServicePrimaryTaskSetResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | ServiceNotActiveException - | ServiceNotFoundException - | TaskSetNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | ServiceNotActiveException | ServiceNotFoundException | TaskSetNotFoundException | UnsupportedFeatureException | CommonAwsError >; updateTaskProtection( input: UpdateTaskProtectionRequest, ): Effect.Effect< UpdateTaskProtectionResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | ResourceNotFoundException | ServerException | UnsupportedFeatureException | CommonAwsError >; updateTaskSet( input: UpdateTaskSetRequest, ): Effect.Effect< UpdateTaskSetResponse, - | AccessDeniedException - | ClientException - | ClusterNotFoundException - | InvalidParameterException - | ServerException - | ServiceNotActiveException - | ServiceNotFoundException - | TaskSetNotFoundException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | ClientException | ClusterNotFoundException | InvalidParameterException | ServerException | ServiceNotActiveException | ServiceNotFoundException | TaskSetNotFoundException | UnsupportedFeatureException | CommonAwsError >; } @@ -706,26 +372,9 @@ export interface AcceleratorCountRequest { min?: number; max?: number; } -export type AcceleratorManufacturer = - | "amazon-web-services" - | "amd" - | "nvidia" - | "xilinx" - | "habana"; +export type AcceleratorManufacturer = "amazon-web-services" | "amd" | "nvidia" | "xilinx" | "habana"; export type AcceleratorManufacturerSet = Array; -export type AcceleratorName = - | "a100" - | "inferentia" - | "k520" - | "k80" - | "m60" - | "radeon-pro-v520" - | "t4" - | "vu9p" - | "v100" - | "a10g" - | "h100" - | "t4g"; +export type AcceleratorName = "a100" | "inferentia" | "k520" | "k80" | "m60" | "radeon-pro-v520" | "t4" | "vu9p" | "v100" | "a10g" | "h100" | "t4g"; export type AcceleratorNameSet = Array; export interface AcceleratorTotalMemoryMiBRequest { min?: number; @@ -744,13 +393,7 @@ export interface AdvancedConfiguration { testListenerRule?: string; roleArn?: string; } -export type AgentUpdateStatus = - | "PENDING" - | "STAGING" - | "STAGED" - | "UPDATING" - | "UPDATED" - | "FAILED"; +export type AgentUpdateStatus = "PENDING" | "STAGING" | "STAGED" | "UPDATING" | "UPDATED" | "FAILED"; export type AllowedInstanceType = string; export type AllowedInstanceTypeSet = Array; @@ -836,11 +479,7 @@ export interface CapacityProvider { export type CapacityProviderField = "TAGS"; export type CapacityProviderFieldList = Array; export type CapacityProviders = Array; -export type CapacityProviderStatus = - | "PROVISIONING" - | "ACTIVE" - | "DEPROVISIONING" - | "INACTIVE"; +export type CapacityProviderStatus = "PROVISIONING" | "ACTIVE" | "DEPROVISIONING" | "INACTIVE"; export type CapacityProviderStrategy = Array; export interface CapacityProviderStrategyItem { capacityProvider: string; @@ -851,21 +490,8 @@ export type CapacityProviderStrategyItemBase = number; export type CapacityProviderStrategyItemWeight = number; -export type CapacityProviderType = - | "EC2_AUTOSCALING" - | "MANAGED_INSTANCES" - | "FARGATE" - | "FARGATE_SPOT"; -export type CapacityProviderUpdateStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_COMPLETE" - | "CREATE_FAILED" - | "DELETE_IN_PROGRESS" - | "DELETE_COMPLETE" - | "DELETE_FAILED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_COMPLETE" - | "UPDATE_FAILED"; +export type CapacityProviderType = "EC2_AUTOSCALING" | "MANAGED_INSTANCES" | "FARGATE" | "FARGATE_SPOT"; +export type CapacityProviderUpdateStatus = "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED"; export declare class ClientException extends EffectData.TaggedError( "ClientException", )<{ @@ -913,12 +539,7 @@ export declare class ClusterContainsTasksException extends EffectData.TaggedErro )<{ readonly message?: string; }> {} -export type ClusterField = - | "ATTACHMENTS" - | "CONFIGURATIONS" - | "SETTINGS" - | "STATISTICS" - | "TAGS"; +export type ClusterField = "ATTACHMENTS" | "CONFIGURATIONS" | "SETTINGS" | "STATISTICS" | "TAGS"; export type ClusterFieldList = Array; export declare class ClusterNotFoundException extends EffectData.TaggedError( "ClusterNotFoundException", @@ -938,11 +559,7 @@ export interface ClusterSetting { } export type ClusterSettingName = "containerInsights"; export type ClusterSettings = Array; -export type Compatibility = - | "EC2" - | "FARGATE" - | "EXTERNAL" - | "MANAGED_INSTANCES"; +export type Compatibility = "EC2" | "FARGATE" | "EXTERNAL" | "MANAGED_INSTANCES"; export type CompatibilityList = Array; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", @@ -1054,12 +671,7 @@ export interface ContainerInstanceHealthStatus { details?: Array; } export type ContainerInstances = Array; -export type ContainerInstanceStatus = - | "ACTIVE" - | "DRAINING" - | "REGISTERING" - | "DEREGISTERING" - | "REGISTRATION_FAILED"; +export type ContainerInstanceStatus = "ACTIVE" | "DRAINING" | "REGISTERING" | "DEREGISTERING" | "REGISTRATION_FAILED"; export interface ContainerOverride { name?: string; command?: Array; @@ -1278,16 +890,8 @@ export interface DeploymentLifecycleHook { hookDetails?: unknown; } export type DeploymentLifecycleHookList = Array; -export type DeploymentLifecycleHookStage = - | "RECONCILE_SERVICE" - | "PRE_SCALE_UP" - | "POST_SCALE_UP" - | "TEST_TRAFFIC_SHIFT" - | "POST_TEST_TRAFFIC_SHIFT" - | "PRODUCTION_TRAFFIC_SHIFT" - | "POST_PRODUCTION_TRAFFIC_SHIFT"; -export type DeploymentLifecycleHookStageList = - Array; +export type DeploymentLifecycleHookStage = "RECONCILE_SERVICE" | "PRE_SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT"; +export type DeploymentLifecycleHookStageList = Array; export type DeploymentRolloutState = "COMPLETED" | "FAILED" | "IN_PROGRESS"; export type Deployments = Array; export type DeploymentStrategy = "ROLLING" | "BLUE_GREEN" | "LINEAR" | "CANARY"; @@ -1552,11 +1156,7 @@ export interface InstanceHealthCheckResult { lastStatusChange?: Date | string; } export type InstanceHealthCheckResultList = Array; -export type InstanceHealthCheckState = - | "OK" - | "IMPAIRED" - | "INSUFFICIENT_DATA" - | "INITIALIZING"; +export type InstanceHealthCheckState = "OK" | "IMPAIRED" | "INSUFFICIENT_DATA" | "INITIALIZING"; export type InstanceHealthCheckType = "CONTAINER_RUNTIME"; export interface InstanceLaunchTemplate { ec2InstanceProfileArn: string; @@ -1768,15 +1368,7 @@ export interface LogConfiguration { secretOptions?: Array; } export type LogConfigurationOptionsMap = Record; -export type LogDriver = - | "json-file" - | "syslog" - | "journald" - | "gelf" - | "fluentd" - | "awslogs" - | "splunk" - | "awsfirelens"; +export type LogDriver = "json-file" | "syslog" | "journald" | "gelf" | "fluentd" | "awslogs" | "splunk" | "awsfirelens"; export type Long = number; export interface ManagedAgent { @@ -1883,17 +1475,7 @@ export declare class NoUpdateAvailableException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type OSFamily = - | "WINDOWS_SERVER_2019_FULL" - | "WINDOWS_SERVER_2019_CORE" - | "WINDOWS_SERVER_2016_FULL" - | "WINDOWS_SERVER_2004_CORE" - | "WINDOWS_SERVER_2022_CORE" - | "WINDOWS_SERVER_2022_FULL" - | "WINDOWS_SERVER_2025_CORE" - | "WINDOWS_SERVER_2025_FULL" - | "WINDOWS_SERVER_20H2_CORE" - | "LINUX"; +export type OSFamily = "WINDOWS_SERVER_2019_FULL" | "WINDOWS_SERVER_2019_CORE" | "WINDOWS_SERVER_2016_FULL" | "WINDOWS_SERVER_2004_CORE" | "WINDOWS_SERVER_2022_CORE" | "WINDOWS_SERVER_2022_FULL" | "WINDOWS_SERVER_2025_CORE" | "WINDOWS_SERVER_2025_FULL" | "WINDOWS_SERVER_20H2_CORE" | "LINUX"; export type PidMode = "host" | "task"; export interface PlacementConstraint { type?: PlacementConstraintType; @@ -2169,8 +1751,7 @@ export interface ServiceConnectServiceResource { discoveryName?: string; discoveryArn?: string; } -export type ServiceConnectServiceResourceList = - Array; +export type ServiceConnectServiceResourceList = Array; export interface ServiceConnectTestTrafficHeaderMatchRules { exact: string; } @@ -2229,39 +1810,16 @@ export interface ServiceDeploymentCircuitBreaker { failureCount?: number; threshold?: number; } -export type ServiceDeploymentLifecycleStage = - | "RECONCILE_SERVICE" - | "PRE_SCALE_UP" - | "SCALE_UP" - | "POST_SCALE_UP" - | "TEST_TRAFFIC_SHIFT" - | "POST_TEST_TRAFFIC_SHIFT" - | "PRODUCTION_TRAFFIC_SHIFT" - | "POST_PRODUCTION_TRAFFIC_SHIFT" - | "BAKE_TIME" - | "CLEAN_UP"; +export type ServiceDeploymentLifecycleStage = "RECONCILE_SERVICE" | "PRE_SCALE_UP" | "SCALE_UP" | "POST_SCALE_UP" | "TEST_TRAFFIC_SHIFT" | "POST_TEST_TRAFFIC_SHIFT" | "PRODUCTION_TRAFFIC_SHIFT" | "POST_PRODUCTION_TRAFFIC_SHIFT" | "BAKE_TIME" | "CLEAN_UP"; export declare class ServiceDeploymentNotFoundException extends EffectData.TaggedError( "ServiceDeploymentNotFoundException", )<{ readonly message?: string; }> {} -export type ServiceDeploymentRollbackMonitorsStatus = - | "TRIGGERED" - | "MONITORING" - | "MONITORING_COMPLETE" - | "DISABLED"; +export type ServiceDeploymentRollbackMonitorsStatus = "TRIGGERED" | "MONITORING" | "MONITORING_COMPLETE" | "DISABLED"; export type ServiceDeployments = Array; export type ServiceDeploymentsBrief = Array; -export type ServiceDeploymentStatus = - | "PENDING" - | "SUCCESSFUL" - | "STOPPED" - | "STOP_REQUESTED" - | "IN_PROGRESS" - | "ROLLBACK_REQUESTED" - | "ROLLBACK_IN_PROGRESS" - | "ROLLBACK_SUCCESSFUL" - | "ROLLBACK_FAILED"; +export type ServiceDeploymentStatus = "PENDING" | "SUCCESSFUL" | "STOPPED" | "STOP_REQUESTED" | "IN_PROGRESS" | "ROLLBACK_REQUESTED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_SUCCESSFUL" | "ROLLBACK_FAILED"; export type ServiceDeploymentStatusList = Array; export interface ServiceEvent { id?: string; @@ -2354,17 +1912,7 @@ export interface Setting { principalArn?: string; type?: SettingType; } -export type SettingName = - | "serviceLongArnFormat" - | "taskLongArnFormat" - | "containerInstanceLongArnFormat" - | "awsvpcTrunking" - | "containerInsights" - | "fargateFIPSMode" - | "tagResourceAuthorization" - | "fargateTaskRetirementWaitPeriod" - | "guardDutyActivate" - | "defaultLogDriverMode"; +export type SettingName = "serviceLongArnFormat" | "taskLongArnFormat" | "containerInstanceLongArnFormat" | "awsvpcTrunking" | "containerInsights" | "fargateFIPSMode" | "tagResourceAuthorization" | "fargateTaskRetirementWaitPeriod" | "guardDutyActivate" | "defaultLogDriverMode"; export type Settings = Array; export type SettingType = "user" | "aws_managed"; export type SortOrder = "ASC" | "DESC"; @@ -2460,7 +2008,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -2549,8 +2098,7 @@ export interface TaskDefinitionPlacementConstraint { type?: TaskDefinitionPlacementConstraintType; expression?: string; } -export type TaskDefinitionPlacementConstraints = - Array; +export type TaskDefinitionPlacementConstraints = Array; export type TaskDefinitionPlacementConstraintType = "memberOf"; export type TaskDefinitionStatus = "ACTIVE" | "INACTIVE" | "DELETE_IN_PROGRESS"; export interface TaskEphemeralStorage { @@ -2622,13 +2170,7 @@ export declare class TaskSetNotFoundException extends EffectData.TaggedError( readonly message?: string; }> {} export type TaskSets = Array; -export type TaskStopCode = - | "TaskFailedToStart" - | "EssentialContainerExited" - | "UserInitiated" - | "ServiceSchedulerInitiated" - | "SpotInterruption" - | "TerminationNotice"; +export type TaskStopCode = "TaskFailedToStart" | "EssentialContainerExited" | "UserInitiated" | "ServiceSchedulerInitiated" | "SpotInterruption" | "TerminationNotice"; export interface TaskVolumeConfiguration { name: string; managedEBSVolume?: TaskManagedEBSVolumeConfiguration; @@ -2659,22 +2201,7 @@ export interface Ulimit { hardLimit: number; } export type UlimitList = Array; -export type UlimitName = - | "core" - | "cpu" - | "data" - | "fsize" - | "locks" - | "memlock" - | "msgqueue" - | "nice" - | "nofile" - | "nproc" - | "rss" - | "rtprio" - | "rttime" - | "sigpending" - | "stack"; +export type UlimitName = "core" | "cpu" | "data" | "fsize" | "locks" | "memlock" | "msgqueue" | "nice" | "nofile" | "nproc" | "rss" | "rtprio" | "rttime" | "sigpending" | "stack"; export declare class UnsupportedFeatureException extends EffectData.TaggedError( "UnsupportedFeatureException", )<{ @@ -2684,7 +2211,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateCapacityProviderRequest { name: string; cluster?: string; @@ -3098,7 +2626,10 @@ export declare namespace DescribeTaskSets { export declare namespace DiscoverPollEndpoint { export type Input = DiscoverPollEndpointRequest; export type Output = DiscoverPollEndpointResponse; - export type Error = ClientException | ServerException | CommonAwsError; + export type Error = + | ClientException + | ServerException + | CommonAwsError; } export declare namespace ExecuteCommand { @@ -3544,33 +3075,5 @@ export declare namespace UpdateTaskSet { | CommonAwsError; } -export type ECSErrors = - | AccessDeniedException - | AttributeLimitExceededException - | BlockedException - | ClientException - | ClusterContainsCapacityProviderException - | ClusterContainsContainerInstancesException - | ClusterContainsServicesException - | ClusterContainsTasksException - | ClusterNotFoundException - | ConflictException - | InvalidParameterException - | LimitExceededException - | MissingVersionException - | NamespaceNotFoundException - | NoUpdateAvailableException - | PlatformTaskDefinitionIncompatibilityException - | PlatformUnknownException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | ServiceDeploymentNotFoundException - | ServiceNotActiveException - | ServiceNotFoundException - | TargetNotConnectedException - | TargetNotFoundException - | TaskSetNotFoundException - | UnsupportedFeatureException - | UpdateInProgressException - | CommonAwsError; +export type ECSErrors = AccessDeniedException | AttributeLimitExceededException | BlockedException | ClientException | ClusterContainsCapacityProviderException | ClusterContainsContainerInstancesException | ClusterContainsServicesException | ClusterContainsTasksException | ClusterNotFoundException | ConflictException | InvalidParameterException | LimitExceededException | MissingVersionException | NamespaceNotFoundException | NoUpdateAvailableException | PlatformTaskDefinitionIncompatibilityException | PlatformUnknownException | ResourceInUseException | ResourceNotFoundException | ServerException | ServiceDeploymentNotFoundException | ServiceNotActiveException | ServiceNotFoundException | TargetNotConnectedException | TargetNotFoundException | TaskSetNotFoundException | UnsupportedFeatureException | UpdateInProgressException | CommonAwsError; + diff --git a/src/services/efs/index.ts b/src/services/efs/index.ts index 5f82bc4b..b9eaf237 100644 --- a/src/services/efs/index.ts +++ b/src/services/efs/index.ts @@ -5,24 +5,7 @@ import type { EFS as _EFSClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,49 +15,37 @@ const metadata = { sigV4ServiceName: "elasticfilesystem", endpointPrefix: "elasticfilesystem", operations: { - CreateAccessPoint: "POST /2015-02-01/access-points", - CreateFileSystem: "POST /2015-02-01/file-systems", - CreateMountTarget: "POST /2015-02-01/mount-targets", - CreateReplicationConfiguration: - "POST /2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", - CreateTags: "POST /2015-02-01/create-tags/{FileSystemId}", - DeleteAccessPoint: "DELETE /2015-02-01/access-points/{AccessPointId}", - DeleteFileSystem: "DELETE /2015-02-01/file-systems/{FileSystemId}", - DeleteFileSystemPolicy: - "DELETE /2015-02-01/file-systems/{FileSystemId}/policy", - DeleteMountTarget: "DELETE /2015-02-01/mount-targets/{MountTargetId}", - DeleteReplicationConfiguration: - "DELETE /2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", - DeleteTags: "POST /2015-02-01/delete-tags/{FileSystemId}", - DescribeAccessPoints: "GET /2015-02-01/access-points", - DescribeAccountPreferences: "GET /2015-02-01/account-preferences", - DescribeBackupPolicy: - "GET /2015-02-01/file-systems/{FileSystemId}/backup-policy", - DescribeFileSystemPolicy: - "GET /2015-02-01/file-systems/{FileSystemId}/policy", - DescribeFileSystems: "GET /2015-02-01/file-systems", - DescribeLifecycleConfiguration: - "GET /2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration", - DescribeMountTargets: "GET /2015-02-01/mount-targets", - DescribeMountTargetSecurityGroups: - "GET /2015-02-01/mount-targets/{MountTargetId}/security-groups", - DescribeReplicationConfigurations: - "GET /2015-02-01/file-systems/replication-configurations", - DescribeTags: "GET /2015-02-01/tags/{FileSystemId}", - ListTagsForResource: "GET /2015-02-01/resource-tags/{ResourceId}", - ModifyMountTargetSecurityGroups: - "PUT /2015-02-01/mount-targets/{MountTargetId}/security-groups", - PutAccountPreferences: "PUT /2015-02-01/account-preferences", - PutBackupPolicy: - "PUT /2015-02-01/file-systems/{FileSystemId}/backup-policy", - PutFileSystemPolicy: "PUT /2015-02-01/file-systems/{FileSystemId}/policy", - PutLifecycleConfiguration: - "PUT /2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration", - TagResource: "POST /2015-02-01/resource-tags/{ResourceId}", - UntagResource: "DELETE /2015-02-01/resource-tags/{ResourceId}", - UpdateFileSystem: "PUT /2015-02-01/file-systems/{FileSystemId}", - UpdateFileSystemProtection: - "PUT /2015-02-01/file-systems/{FileSystemId}/protection", + "CreateAccessPoint": "POST /2015-02-01/access-points", + "CreateFileSystem": "POST /2015-02-01/file-systems", + "CreateMountTarget": "POST /2015-02-01/mount-targets", + "CreateReplicationConfiguration": "POST /2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", + "CreateTags": "POST /2015-02-01/create-tags/{FileSystemId}", + "DeleteAccessPoint": "DELETE /2015-02-01/access-points/{AccessPointId}", + "DeleteFileSystem": "DELETE /2015-02-01/file-systems/{FileSystemId}", + "DeleteFileSystemPolicy": "DELETE /2015-02-01/file-systems/{FileSystemId}/policy", + "DeleteMountTarget": "DELETE /2015-02-01/mount-targets/{MountTargetId}", + "DeleteReplicationConfiguration": "DELETE /2015-02-01/file-systems/{SourceFileSystemId}/replication-configuration", + "DeleteTags": "POST /2015-02-01/delete-tags/{FileSystemId}", + "DescribeAccessPoints": "GET /2015-02-01/access-points", + "DescribeAccountPreferences": "GET /2015-02-01/account-preferences", + "DescribeBackupPolicy": "GET /2015-02-01/file-systems/{FileSystemId}/backup-policy", + "DescribeFileSystemPolicy": "GET /2015-02-01/file-systems/{FileSystemId}/policy", + "DescribeFileSystems": "GET /2015-02-01/file-systems", + "DescribeLifecycleConfiguration": "GET /2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration", + "DescribeMountTargets": "GET /2015-02-01/mount-targets", + "DescribeMountTargetSecurityGroups": "GET /2015-02-01/mount-targets/{MountTargetId}/security-groups", + "DescribeReplicationConfigurations": "GET /2015-02-01/file-systems/replication-configurations", + "DescribeTags": "GET /2015-02-01/tags/{FileSystemId}", + "ListTagsForResource": "GET /2015-02-01/resource-tags/{ResourceId}", + "ModifyMountTargetSecurityGroups": "PUT /2015-02-01/mount-targets/{MountTargetId}/security-groups", + "PutAccountPreferences": "PUT /2015-02-01/account-preferences", + "PutBackupPolicy": "PUT /2015-02-01/file-systems/{FileSystemId}/backup-policy", + "PutFileSystemPolicy": "PUT /2015-02-01/file-systems/{FileSystemId}/policy", + "PutLifecycleConfiguration": "PUT /2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration", + "TagResource": "POST /2015-02-01/resource-tags/{ResourceId}", + "UntagResource": "DELETE /2015-02-01/resource-tags/{ResourceId}", + "UpdateFileSystem": "PUT /2015-02-01/file-systems/{FileSystemId}", + "UpdateFileSystemProtection": "PUT /2015-02-01/file-systems/{FileSystemId}/protection", }, } as const satisfies ServiceMetadata; diff --git a/src/services/efs/types.ts b/src/services/efs/types.ts index f866a20d..3e777800 100644 --- a/src/services/efs/types.ts +++ b/src/services/efs/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class EFS extends AWSServiceClient { @@ -41,63 +8,25 @@ export declare class EFS extends AWSServiceClient { input: CreateAccessPointRequest, ): Effect.Effect< AccessPointDescription, - | AccessPointAlreadyExists - | AccessPointLimitExceeded - | BadRequest - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | InternalServerError - | ThrottlingException - | CommonAwsError + AccessPointAlreadyExists | AccessPointLimitExceeded | BadRequest | FileSystemNotFound | IncorrectFileSystemLifeCycleState | InternalServerError | ThrottlingException | CommonAwsError >; createFileSystem( input: CreateFileSystemRequest, ): Effect.Effect< FileSystemDescription, - | BadRequest - | FileSystemAlreadyExists - | FileSystemLimitExceeded - | InsufficientThroughputCapacity - | InternalServerError - | ThroughputLimitExceeded - | UnsupportedAvailabilityZone - | CommonAwsError + BadRequest | FileSystemAlreadyExists | FileSystemLimitExceeded | InsufficientThroughputCapacity | InternalServerError | ThroughputLimitExceeded | UnsupportedAvailabilityZone | CommonAwsError >; createMountTarget( input: CreateMountTargetRequest, ): Effect.Effect< MountTargetDescription, - | AvailabilityZonesMismatch - | BadRequest - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | InternalServerError - | IpAddressInUse - | MountTargetConflict - | NetworkInterfaceLimitExceeded - | NoFreeAddressesInSubnet - | SecurityGroupLimitExceeded - | SecurityGroupNotFound - | SubnetNotFound - | UnsupportedAvailabilityZone - | CommonAwsError + AvailabilityZonesMismatch | BadRequest | FileSystemNotFound | IncorrectFileSystemLifeCycleState | InternalServerError | IpAddressInUse | MountTargetConflict | NetworkInterfaceLimitExceeded | NoFreeAddressesInSubnet | SecurityGroupLimitExceeded | SecurityGroupNotFound | SubnetNotFound | UnsupportedAvailabilityZone | CommonAwsError >; createReplicationConfiguration( input: CreateReplicationConfigurationRequest, ): Effect.Effect< ReplicationConfigurationDescription, - | BadRequest - | ConflictException - | FileSystemLimitExceeded - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | InsufficientThroughputCapacity - | InternalServerError - | ReplicationNotFound - | ThroughputLimitExceeded - | UnsupportedAvailabilityZone - | ValidationException - | CommonAwsError + BadRequest | ConflictException | FileSystemLimitExceeded | FileSystemNotFound | IncorrectFileSystemLifeCycleState | InsufficientThroughputCapacity | InternalServerError | ReplicationNotFound | ThroughputLimitExceeded | UnsupportedAvailabilityZone | ValidationException | CommonAwsError >; createTags( input: CreateTagsRequest, @@ -115,41 +44,25 @@ export declare class EFS extends AWSServiceClient { input: DeleteFileSystemRequest, ): Effect.Effect< {}, - | BadRequest - | FileSystemInUse - | FileSystemNotFound - | InternalServerError - | CommonAwsError + BadRequest | FileSystemInUse | FileSystemNotFound | InternalServerError | CommonAwsError >; deleteFileSystemPolicy( input: DeleteFileSystemPolicyRequest, ): Effect.Effect< {}, - | BadRequest - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | InternalServerError - | CommonAwsError + BadRequest | FileSystemNotFound | IncorrectFileSystemLifeCycleState | InternalServerError | CommonAwsError >; deleteMountTarget( input: DeleteMountTargetRequest, ): Effect.Effect< {}, - | BadRequest - | DependencyTimeout - | InternalServerError - | MountTargetNotFound - | CommonAwsError + BadRequest | DependencyTimeout | InternalServerError | MountTargetNotFound | CommonAwsError >; deleteReplicationConfiguration( input: DeleteReplicationConfigurationRequest, ): Effect.Effect< {}, - | BadRequest - | FileSystemNotFound - | InternalServerError - | ReplicationNotFound - | CommonAwsError + BadRequest | FileSystemNotFound | InternalServerError | ReplicationNotFound | CommonAwsError >; deleteTags( input: DeleteTagsRequest, @@ -161,11 +74,7 @@ export declare class EFS extends AWSServiceClient { input: DescribeAccessPointsRequest, ): Effect.Effect< DescribeAccessPointsResponse, - | AccessPointNotFound - | BadRequest - | FileSystemNotFound - | InternalServerError - | CommonAwsError + AccessPointNotFound | BadRequest | FileSystemNotFound | InternalServerError | CommonAwsError >; describeAccountPreferences( input: DescribeAccountPreferencesRequest, @@ -177,22 +86,13 @@ export declare class EFS extends AWSServiceClient { input: DescribeBackupPolicyRequest, ): Effect.Effect< BackupPolicyDescription, - | BadRequest - | FileSystemNotFound - | InternalServerError - | PolicyNotFound - | ValidationException - | CommonAwsError + BadRequest | FileSystemNotFound | InternalServerError | PolicyNotFound | ValidationException | CommonAwsError >; describeFileSystemPolicy( input: DescribeFileSystemPolicyRequest, ): Effect.Effect< FileSystemPolicyDescription, - | BadRequest - | FileSystemNotFound - | InternalServerError - | PolicyNotFound - | CommonAwsError + BadRequest | FileSystemNotFound | InternalServerError | PolicyNotFound | CommonAwsError >; describeFileSystems( input: DescribeFileSystemsRequest, @@ -210,33 +110,19 @@ export declare class EFS extends AWSServiceClient { input: DescribeMountTargetsRequest, ): Effect.Effect< DescribeMountTargetsResponse, - | AccessPointNotFound - | BadRequest - | FileSystemNotFound - | InternalServerError - | MountTargetNotFound - | CommonAwsError + AccessPointNotFound | BadRequest | FileSystemNotFound | InternalServerError | MountTargetNotFound | CommonAwsError >; describeMountTargetSecurityGroups( input: DescribeMountTargetSecurityGroupsRequest, ): Effect.Effect< DescribeMountTargetSecurityGroupsResponse, - | BadRequest - | IncorrectMountTargetState - | InternalServerError - | MountTargetNotFound - | CommonAwsError + BadRequest | IncorrectMountTargetState | InternalServerError | MountTargetNotFound | CommonAwsError >; describeReplicationConfigurations( input: DescribeReplicationConfigurationsRequest, ): Effect.Effect< DescribeReplicationConfigurationsResponse, - | BadRequest - | FileSystemNotFound - | InternalServerError - | ReplicationNotFound - | ValidationException - | CommonAwsError + BadRequest | FileSystemNotFound | InternalServerError | ReplicationNotFound | ValidationException | CommonAwsError >; describeTags( input: DescribeTagsRequest, @@ -248,23 +134,13 @@ export declare class EFS extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessPointNotFound - | BadRequest - | FileSystemNotFound - | InternalServerError - | CommonAwsError + AccessPointNotFound | BadRequest | FileSystemNotFound | InternalServerError | CommonAwsError >; modifyMountTargetSecurityGroups( input: ModifyMountTargetSecurityGroupsRequest, ): Effect.Effect< {}, - | BadRequest - | IncorrectMountTargetState - | InternalServerError - | MountTargetNotFound - | SecurityGroupLimitExceeded - | SecurityGroupNotFound - | CommonAwsError + BadRequest | IncorrectMountTargetState | InternalServerError | MountTargetNotFound | SecurityGroupLimitExceeded | SecurityGroupNotFound | CommonAwsError >; putAccountPreferences( input: PutAccountPreferencesRequest, @@ -276,80 +152,43 @@ export declare class EFS extends AWSServiceClient { input: PutBackupPolicyRequest, ): Effect.Effect< BackupPolicyDescription, - | BadRequest - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | InternalServerError - | ValidationException - | CommonAwsError + BadRequest | FileSystemNotFound | IncorrectFileSystemLifeCycleState | InternalServerError | ValidationException | CommonAwsError >; putFileSystemPolicy( input: PutFileSystemPolicyRequest, ): Effect.Effect< FileSystemPolicyDescription, - | BadRequest - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | InternalServerError - | InvalidPolicyException - | CommonAwsError + BadRequest | FileSystemNotFound | IncorrectFileSystemLifeCycleState | InternalServerError | InvalidPolicyException | CommonAwsError >; putLifecycleConfiguration( input: PutLifecycleConfigurationRequest, ): Effect.Effect< LifecycleConfigurationDescription, - | BadRequest - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | InternalServerError - | CommonAwsError + BadRequest | FileSystemNotFound | IncorrectFileSystemLifeCycleState | InternalServerError | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessPointNotFound - | BadRequest - | FileSystemNotFound - | InternalServerError - | CommonAwsError + AccessPointNotFound | BadRequest | FileSystemNotFound | InternalServerError | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessPointNotFound - | BadRequest - | FileSystemNotFound - | InternalServerError - | CommonAwsError + AccessPointNotFound | BadRequest | FileSystemNotFound | InternalServerError | CommonAwsError >; updateFileSystem( input: UpdateFileSystemRequest, ): Effect.Effect< FileSystemDescription, - | BadRequest - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | InsufficientThroughputCapacity - | InternalServerError - | ThroughputLimitExceeded - | TooManyRequests - | CommonAwsError + BadRequest | FileSystemNotFound | IncorrectFileSystemLifeCycleState | InsufficientThroughputCapacity | InternalServerError | ThroughputLimitExceeded | TooManyRequests | CommonAwsError >; updateFileSystemProtection( input: UpdateFileSystemProtectionRequest, ): Effect.Effect< FileSystemProtectionDescription, - | BadRequest - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | InsufficientThroughputCapacity - | InternalServerError - | ReplicationAlreadyExists - | ThroughputLimitExceeded - | TooManyRequests - | CommonAwsError + BadRequest | FileSystemNotFound | IncorrectFileSystemLifeCycleState | InsufficientThroughputCapacity | InternalServerError | ReplicationAlreadyExists | ThroughputLimitExceeded | TooManyRequests | CommonAwsError >; } @@ -411,7 +250,9 @@ export interface BackupPolicy { export interface BackupPolicyDescription { BackupPolicy?: BackupPolicy; } -export declare class BadRequest extends EffectData.TaggedError("BadRequest")<{ +export declare class BadRequest extends EffectData.TaggedError( + "BadRequest", +)<{ readonly ErrorCode: string; readonly Message?: string; }> {} @@ -714,13 +555,7 @@ export interface LifecyclePolicy { TransitionToPrimaryStorageClass?: TransitionToPrimaryStorageClassRules; TransitionToArchive?: TransitionToArchiveRules; } -export type LifeCycleState = - | "creating" - | "available" - | "updating" - | "deleting" - | "deleted" - | "error"; +export type LifeCycleState = "creating" | "available" | "updating" | "deleting" | "deleted" | "error"; export interface ListTagsForResourceRequest { ResourceId: string; MaxResults?: number; @@ -846,25 +681,15 @@ export interface ReplicationConfigurationDescription { Destinations: Array; SourceFileSystemOwnerId?: string; } -export type ReplicationConfigurationDescriptions = - Array; +export type ReplicationConfigurationDescriptions = Array; export declare class ReplicationNotFound extends EffectData.TaggedError( "ReplicationNotFound", )<{ readonly ErrorCode?: string; readonly Message?: string; }> {} -export type ReplicationOverwriteProtection = - | "ENABLED" - | "DISABLED" - | "REPLICATING"; -export type ReplicationStatus = - | "ENABLED" - | "ENABLING" - | "DELETING" - | "ERROR" - | "PAUSED" - | "PAUSING"; +export type ReplicationOverwriteProtection = "ENABLED" | "DISABLED" | "REPLICATING"; +export type ReplicationStatus = "ENABLED" | "ENABLING" | "DELETING" | "ERROR" | "PAUSED" | "PAUSING"; export type Resource = "FILE_SYSTEM" | "MOUNT_TARGET"; export type ResourceId = string; @@ -944,26 +769,8 @@ export declare class TooManyRequests extends EffectData.TaggedError( readonly ErrorCode: string; readonly Message?: string; }> {} -export type TransitionToArchiveRules = - | "AFTER_1_DAY" - | "AFTER_7_DAYS" - | "AFTER_14_DAYS" - | "AFTER_30_DAYS" - | "AFTER_60_DAYS" - | "AFTER_90_DAYS" - | "AFTER_180_DAYS" - | "AFTER_270_DAYS" - | "AFTER_365_DAYS"; -export type TransitionToIARules = - | "AFTER_7_DAYS" - | "AFTER_14_DAYS" - | "AFTER_30_DAYS" - | "AFTER_60_DAYS" - | "AFTER_90_DAYS" - | "AFTER_1_DAY" - | "AFTER_180_DAYS" - | "AFTER_270_DAYS" - | "AFTER_365_DAYS"; +export type TransitionToArchiveRules = "AFTER_1_DAY" | "AFTER_7_DAYS" | "AFTER_14_DAYS" | "AFTER_30_DAYS" | "AFTER_60_DAYS" | "AFTER_90_DAYS" | "AFTER_180_DAYS" | "AFTER_270_DAYS" | "AFTER_365_DAYS"; +export type TransitionToIARules = "AFTER_7_DAYS" | "AFTER_14_DAYS" | "AFTER_30_DAYS" | "AFTER_60_DAYS" | "AFTER_90_DAYS" | "AFTER_1_DAY" | "AFTER_180_DAYS" | "AFTER_270_DAYS" | "AFTER_365_DAYS"; export type TransitionToPrimaryStorageClassRules = "AFTER_1_ACCESS"; export type Uid = number; @@ -1148,7 +955,9 @@ export declare namespace DescribeAccessPoints { export declare namespace DescribeAccountPreferences { export type Input = DescribeAccountPreferencesRequest; export type Output = DescribeAccountPreferencesResponse; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeBackupPolicy { @@ -1266,7 +1075,10 @@ export declare namespace ModifyMountTargetSecurityGroups { export declare namespace PutAccountPreferences { export type Input = PutAccountPreferencesRequest; export type Output = PutAccountPreferencesResponse; - export type Error = BadRequest | InternalServerError | CommonAwsError; + export type Error = + | BadRequest + | InternalServerError + | CommonAwsError; } export declare namespace PutBackupPolicy { @@ -1355,37 +1167,5 @@ export declare namespace UpdateFileSystemProtection { | CommonAwsError; } -export type EFSErrors = - | AccessPointAlreadyExists - | AccessPointLimitExceeded - | AccessPointNotFound - | AvailabilityZonesMismatch - | BadRequest - | ConflictException - | DependencyTimeout - | FileSystemAlreadyExists - | FileSystemInUse - | FileSystemLimitExceeded - | FileSystemNotFound - | IncorrectFileSystemLifeCycleState - | IncorrectMountTargetState - | InsufficientThroughputCapacity - | InternalServerError - | InvalidPolicyException - | IpAddressInUse - | MountTargetConflict - | MountTargetNotFound - | NetworkInterfaceLimitExceeded - | NoFreeAddressesInSubnet - | PolicyNotFound - | ReplicationAlreadyExists - | ReplicationNotFound - | SecurityGroupLimitExceeded - | SecurityGroupNotFound - | SubnetNotFound - | ThrottlingException - | ThroughputLimitExceeded - | TooManyRequests - | UnsupportedAvailabilityZone - | ValidationException - | CommonAwsError; +export type EFSErrors = AccessPointAlreadyExists | AccessPointLimitExceeded | AccessPointNotFound | AvailabilityZonesMismatch | BadRequest | ConflictException | DependencyTimeout | FileSystemAlreadyExists | FileSystemInUse | FileSystemLimitExceeded | FileSystemNotFound | IncorrectFileSystemLifeCycleState | IncorrectMountTargetState | InsufficientThroughputCapacity | InternalServerError | InvalidPolicyException | IpAddressInUse | MountTargetConflict | MountTargetNotFound | NetworkInterfaceLimitExceeded | NoFreeAddressesInSubnet | PolicyNotFound | ReplicationAlreadyExists | ReplicationNotFound | SecurityGroupLimitExceeded | SecurityGroupNotFound | SubnetNotFound | ThrottlingException | ThroughputLimitExceeded | TooManyRequests | UnsupportedAvailabilityZone | ValidationException | CommonAwsError; + diff --git a/src/services/eks-auth/index.ts b/src/services/eks-auth/index.ts index 6cd79ed7..16874844 100644 --- a/src/services/eks-auth/index.ts +++ b/src/services/eks-auth/index.ts @@ -5,23 +5,7 @@ import type { EKSAuth as _EKSAuthClient } from "./types.ts"; export * from "./types.ts"; -export { - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,8 +15,7 @@ const metadata = { sigV4ServiceName: "eks-auth", endpointPrefix: "eks-auth", operations: { - AssumeRoleForPodIdentity: - "POST /clusters/{clusterName}/assume-role-for-pod-identity", + "AssumeRoleForPodIdentity": "POST /clusters/{clusterName}/assume-role-for-pod-identity", }, } as const satisfies ServiceMetadata; diff --git a/src/services/eks-auth/types.ts b/src/services/eks-auth/types.ts index 1e200124..878632ae 100644 --- a/src/services/eks-auth/types.ts +++ b/src/services/eks-auth/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ExpiredTokenException - | ThrottlingException; +import type { IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ExpiredTokenException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class EKSAuth extends AWSServiceClient { @@ -40,16 +8,7 @@ export declare class EKSAuth extends AWSServiceClient { input: AssumeRoleForPodIdentityRequest, ): Effect.Effect< AssumeRoleForPodIdentityResponse, - | AccessDeniedException - | ExpiredTokenException - | InternalServerException - | InvalidParameterException - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ExpiredTokenException | InternalServerException | InvalidParameterException | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; } @@ -149,14 +108,5 @@ export declare namespace AssumeRoleForPodIdentity { | CommonAwsError; } -export type EKSAuthErrors = - | AccessDeniedException - | ExpiredTokenException - | InternalServerException - | InvalidParameterException - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError; +export type EKSAuthErrors = AccessDeniedException | ExpiredTokenException | InternalServerException | InvalidParameterException | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError; + diff --git a/src/services/eks/index.ts b/src/services/eks/index.ts index dcf7b2eb..5a17cd7a 100644 --- a/src/services/eks/index.ts +++ b/src/services/eks/index.ts @@ -5,24 +5,7 @@ import type { EKS as _EKSClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,87 +15,65 @@ const metadata = { sigV4ServiceName: "eks", endpointPrefix: "eks", operations: { - AssociateAccessPolicy: - "POST /clusters/{clusterName}/access-entries/{principalArn}/access-policies", - AssociateEncryptionConfig: - "POST /clusters/{clusterName}/encryption-config/associate", - AssociateIdentityProviderConfig: - "POST /clusters/{clusterName}/identity-provider-configs/associate", - CreateAccessEntry: "POST /clusters/{clusterName}/access-entries", - CreateAddon: "POST /clusters/{clusterName}/addons", - CreateCluster: "POST /clusters", - CreateEksAnywhereSubscription: "POST /eks-anywhere-subscriptions", - CreateFargateProfile: "POST /clusters/{clusterName}/fargate-profiles", - CreateNodegroup: "POST /clusters/{clusterName}/node-groups", - CreatePodIdentityAssociation: - "POST /clusters/{clusterName}/pod-identity-associations", - DeleteAccessEntry: - "DELETE /clusters/{clusterName}/access-entries/{principalArn}", - DeleteAddon: "DELETE /clusters/{clusterName}/addons/{addonName}", - DeleteCluster: "DELETE /clusters/{name}", - DeleteEksAnywhereSubscription: "DELETE /eks-anywhere-subscriptions/{id}", - DeleteFargateProfile: - "DELETE /clusters/{clusterName}/fargate-profiles/{fargateProfileName}", - DeleteNodegroup: - "DELETE /clusters/{clusterName}/node-groups/{nodegroupName}", - DeletePodIdentityAssociation: - "DELETE /clusters/{clusterName}/pod-identity-associations/{associationId}", - DeregisterCluster: "DELETE /cluster-registrations/{name}", - DescribeAccessEntry: - "GET /clusters/{clusterName}/access-entries/{principalArn}", - DescribeAddon: "GET /clusters/{clusterName}/addons/{addonName}", - DescribeAddonConfiguration: "GET /addons/configuration-schemas", - DescribeAddonVersions: "GET /addons/supported-versions", - DescribeCluster: "GET /clusters/{name}", - DescribeClusterVersions: "GET /cluster-versions", - DescribeEksAnywhereSubscription: "GET /eks-anywhere-subscriptions/{id}", - DescribeFargateProfile: - "GET /clusters/{clusterName}/fargate-profiles/{fargateProfileName}", - DescribeIdentityProviderConfig: - "POST /clusters/{clusterName}/identity-provider-configs/describe", - DescribeInsight: "GET /clusters/{clusterName}/insights/{id}", - DescribeInsightsRefresh: "GET /clusters/{clusterName}/insights-refresh", - DescribeNodegroup: - "GET /clusters/{clusterName}/node-groups/{nodegroupName}", - DescribePodIdentityAssociation: - "GET /clusters/{clusterName}/pod-identity-associations/{associationId}", - DescribeUpdate: "GET /clusters/{name}/updates/{updateId}", - DisassociateAccessPolicy: - "DELETE /clusters/{clusterName}/access-entries/{principalArn}/access-policies/{policyArn}", - DisassociateIdentityProviderConfig: - "POST /clusters/{clusterName}/identity-provider-configs/disassociate", - ListAccessEntries: "GET /clusters/{clusterName}/access-entries", - ListAccessPolicies: "GET /access-policies", - ListAddons: "GET /clusters/{clusterName}/addons", - ListAssociatedAccessPolicies: - "GET /clusters/{clusterName}/access-entries/{principalArn}/access-policies", - ListClusters: "GET /clusters", - ListEksAnywhereSubscriptions: "GET /eks-anywhere-subscriptions", - ListFargateProfiles: "GET /clusters/{clusterName}/fargate-profiles", - ListIdentityProviderConfigs: - "GET /clusters/{clusterName}/identity-provider-configs", - ListInsights: "POST /clusters/{clusterName}/insights", - ListNodegroups: "GET /clusters/{clusterName}/node-groups", - ListPodIdentityAssociations: - "GET /clusters/{clusterName}/pod-identity-associations", - ListTagsForResource: "GET /tags/{resourceArn}", - ListUpdates: "GET /clusters/{name}/updates", - RegisterCluster: "POST /cluster-registrations", - StartInsightsRefresh: "POST /clusters/{clusterName}/insights-refresh", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAccessEntry: - "POST /clusters/{clusterName}/access-entries/{principalArn}", - UpdateAddon: "POST /clusters/{clusterName}/addons/{addonName}/update", - UpdateClusterConfig: "POST /clusters/{name}/update-config", - UpdateClusterVersion: "POST /clusters/{name}/updates", - UpdateEksAnywhereSubscription: "POST /eks-anywhere-subscriptions/{id}", - UpdateNodegroupConfig: - "POST /clusters/{clusterName}/node-groups/{nodegroupName}/update-config", - UpdateNodegroupVersion: - "POST /clusters/{clusterName}/node-groups/{nodegroupName}/update-version", - UpdatePodIdentityAssociation: - "POST /clusters/{clusterName}/pod-identity-associations/{associationId}", + "AssociateAccessPolicy": "POST /clusters/{clusterName}/access-entries/{principalArn}/access-policies", + "AssociateEncryptionConfig": "POST /clusters/{clusterName}/encryption-config/associate", + "AssociateIdentityProviderConfig": "POST /clusters/{clusterName}/identity-provider-configs/associate", + "CreateAccessEntry": "POST /clusters/{clusterName}/access-entries", + "CreateAddon": "POST /clusters/{clusterName}/addons", + "CreateCluster": "POST /clusters", + "CreateEksAnywhereSubscription": "POST /eks-anywhere-subscriptions", + "CreateFargateProfile": "POST /clusters/{clusterName}/fargate-profiles", + "CreateNodegroup": "POST /clusters/{clusterName}/node-groups", + "CreatePodIdentityAssociation": "POST /clusters/{clusterName}/pod-identity-associations", + "DeleteAccessEntry": "DELETE /clusters/{clusterName}/access-entries/{principalArn}", + "DeleteAddon": "DELETE /clusters/{clusterName}/addons/{addonName}", + "DeleteCluster": "DELETE /clusters/{name}", + "DeleteEksAnywhereSubscription": "DELETE /eks-anywhere-subscriptions/{id}", + "DeleteFargateProfile": "DELETE /clusters/{clusterName}/fargate-profiles/{fargateProfileName}", + "DeleteNodegroup": "DELETE /clusters/{clusterName}/node-groups/{nodegroupName}", + "DeletePodIdentityAssociation": "DELETE /clusters/{clusterName}/pod-identity-associations/{associationId}", + "DeregisterCluster": "DELETE /cluster-registrations/{name}", + "DescribeAccessEntry": "GET /clusters/{clusterName}/access-entries/{principalArn}", + "DescribeAddon": "GET /clusters/{clusterName}/addons/{addonName}", + "DescribeAddonConfiguration": "GET /addons/configuration-schemas", + "DescribeAddonVersions": "GET /addons/supported-versions", + "DescribeCluster": "GET /clusters/{name}", + "DescribeClusterVersions": "GET /cluster-versions", + "DescribeEksAnywhereSubscription": "GET /eks-anywhere-subscriptions/{id}", + "DescribeFargateProfile": "GET /clusters/{clusterName}/fargate-profiles/{fargateProfileName}", + "DescribeIdentityProviderConfig": "POST /clusters/{clusterName}/identity-provider-configs/describe", + "DescribeInsight": "GET /clusters/{clusterName}/insights/{id}", + "DescribeInsightsRefresh": "GET /clusters/{clusterName}/insights-refresh", + "DescribeNodegroup": "GET /clusters/{clusterName}/node-groups/{nodegroupName}", + "DescribePodIdentityAssociation": "GET /clusters/{clusterName}/pod-identity-associations/{associationId}", + "DescribeUpdate": "GET /clusters/{name}/updates/{updateId}", + "DisassociateAccessPolicy": "DELETE /clusters/{clusterName}/access-entries/{principalArn}/access-policies/{policyArn}", + "DisassociateIdentityProviderConfig": "POST /clusters/{clusterName}/identity-provider-configs/disassociate", + "ListAccessEntries": "GET /clusters/{clusterName}/access-entries", + "ListAccessPolicies": "GET /access-policies", + "ListAddons": "GET /clusters/{clusterName}/addons", + "ListAssociatedAccessPolicies": "GET /clusters/{clusterName}/access-entries/{principalArn}/access-policies", + "ListClusters": "GET /clusters", + "ListEksAnywhereSubscriptions": "GET /eks-anywhere-subscriptions", + "ListFargateProfiles": "GET /clusters/{clusterName}/fargate-profiles", + "ListIdentityProviderConfigs": "GET /clusters/{clusterName}/identity-provider-configs", + "ListInsights": "POST /clusters/{clusterName}/insights", + "ListNodegroups": "GET /clusters/{clusterName}/node-groups", + "ListPodIdentityAssociations": "GET /clusters/{clusterName}/pod-identity-associations", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListUpdates": "GET /clusters/{name}/updates", + "RegisterCluster": "POST /cluster-registrations", + "StartInsightsRefresh": "POST /clusters/{clusterName}/insights-refresh", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAccessEntry": "POST /clusters/{clusterName}/access-entries/{principalArn}", + "UpdateAddon": "POST /clusters/{clusterName}/addons/{addonName}/update", + "UpdateClusterConfig": "POST /clusters/{name}/update-config", + "UpdateClusterVersion": "POST /clusters/{name}/updates", + "UpdateEksAnywhereSubscription": "POST /eks-anywhere-subscriptions/{id}", + "UpdateNodegroupConfig": "POST /clusters/{clusterName}/node-groups/{nodegroupName}/update-config", + "UpdateNodegroupVersion": "POST /clusters/{clusterName}/node-groups/{nodegroupName}/update-version", + "UpdatePodIdentityAssociation": "POST /clusters/{clusterName}/pod-identity-associations/{associationId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/eks/types.ts b/src/services/eks/types.ts index dc93ebd2..efbbfb4e 100644 --- a/src/services/eks/types.ts +++ b/src/services/eks/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class EKS extends AWSServiceClient { @@ -41,379 +8,211 @@ export declare class EKS extends AWSServiceClient { input: AssociateAccessPolicyRequest, ): Effect.Effect< AssociateAccessPolicyResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; associateEncryptionConfig( input: AssociateEncryptionConfigRequest, ): Effect.Effect< AssociateEncryptionConfigResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | ThrottlingException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServerException | ThrottlingException | CommonAwsError >; associateIdentityProviderConfig( input: AssociateIdentityProviderConfigRequest, ): Effect.Effect< AssociateIdentityProviderConfigResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | ThrottlingException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServerException | ThrottlingException | CommonAwsError >; createAccessEntry( input: CreateAccessEntryRequest, ): Effect.Effect< CreateAccessEntryResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ServerException | CommonAwsError >; createAddon( input: CreateAddonRequest, ): Effect.Effect< CreateAddonResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServerException | CommonAwsError >; createCluster( input: CreateClusterRequest, ): Effect.Effect< CreateClusterResponse, - | ClientException - | InvalidParameterException - | ResourceInUseException - | ResourceLimitExceededException - | ServerException - | ServiceUnavailableException - | UnsupportedAvailabilityZoneException - | CommonAwsError + ClientException | InvalidParameterException | ResourceInUseException | ResourceLimitExceededException | ServerException | ServiceUnavailableException | UnsupportedAvailabilityZoneException | CommonAwsError >; createEksAnywhereSubscription( input: CreateEksAnywhereSubscriptionRequest, ): Effect.Effect< CreateEksAnywhereSubscriptionResponse, - | ClientException - | InvalidParameterException - | ResourceLimitExceededException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidParameterException | ResourceLimitExceededException | ServerException | ServiceUnavailableException | CommonAwsError >; createFargateProfile( input: CreateFargateProfileRequest, ): Effect.Effect< CreateFargateProfileResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceLimitExceededException - | ServerException - | UnsupportedAvailabilityZoneException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceLimitExceededException | ServerException | UnsupportedAvailabilityZoneException | CommonAwsError >; createNodegroup( input: CreateNodegroupRequest, ): Effect.Effect< CreateNodegroupResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceLimitExceededException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceLimitExceededException | ServerException | ServiceUnavailableException | CommonAwsError >; createPodIdentityAssociation( input: CreatePodIdentityAssociationRequest, ): Effect.Effect< CreatePodIdentityAssociationResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ServerException | CommonAwsError >; deleteAccessEntry( input: DeleteAccessEntryRequest, ): Effect.Effect< DeleteAccessEntryResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; deleteAddon( input: DeleteAddonRequest, ): Effect.Effect< DeleteAddonResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; deleteCluster( input: DeleteClusterRequest, ): Effect.Effect< DeleteClusterResponse, - | ClientException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServerException | ServiceUnavailableException | CommonAwsError >; deleteEksAnywhereSubscription( input: DeleteEksAnywhereSubscriptionRequest, ): Effect.Effect< DeleteEksAnywhereSubscriptionResponse, - | ClientException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; deleteFargateProfile( input: DeleteFargateProfileRequest, ): Effect.Effect< DeleteFargateProfileResponse, - | ClientException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ResourceNotFoundException | ServerException | CommonAwsError >; deleteNodegroup( input: DeleteNodegroupRequest, ): Effect.Effect< DeleteNodegroupResponse, - | ClientException - | InvalidParameterException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidParameterException | ResourceInUseException | ResourceNotFoundException | ServerException | ServiceUnavailableException | CommonAwsError >; deletePodIdentityAssociation( input: DeletePodIdentityAssociationRequest, ): Effect.Effect< DeletePodIdentityAssociationResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; deregisterCluster( input: DeregisterClusterRequest, ): Effect.Effect< DeregisterClusterResponse, - | AccessDeniedException - | ClientException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | ServiceUnavailableException - | CommonAwsError + AccessDeniedException | ClientException | ResourceInUseException | ResourceNotFoundException | ServerException | ServiceUnavailableException | CommonAwsError >; describeAccessEntry( input: DescribeAccessEntryRequest, ): Effect.Effect< DescribeAccessEntryResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; describeAddon( input: DescribeAddonRequest, ): Effect.Effect< DescribeAddonResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; describeAddonConfiguration( input: DescribeAddonConfigurationRequest, ): Effect.Effect< DescribeAddonConfigurationResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServerException | CommonAwsError >; describeAddonVersions( input: DescribeAddonVersionsRequest, ): Effect.Effect< DescribeAddonVersionsResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServerException | CommonAwsError >; describeCluster( input: DescribeClusterRequest, ): Effect.Effect< DescribeClusterResponse, - | ClientException - | ResourceNotFoundException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | ResourceNotFoundException | ServerException | ServiceUnavailableException | CommonAwsError >; describeClusterVersions( input: DescribeClusterVersionsRequest, ): Effect.Effect< DescribeClusterVersionsResponse, - | InvalidParameterException - | InvalidRequestException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ServerException | CommonAwsError >; describeEksAnywhereSubscription( input: DescribeEksAnywhereSubscriptionRequest, ): Effect.Effect< DescribeEksAnywhereSubscriptionResponse, - | ClientException - | ResourceNotFoundException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | ResourceNotFoundException | ServerException | ServiceUnavailableException | CommonAwsError >; describeFargateProfile( input: DescribeFargateProfileRequest, ): Effect.Effect< DescribeFargateProfileResponse, - | ClientException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ResourceNotFoundException | ServerException | CommonAwsError >; describeIdentityProviderConfig( input: DescribeIdentityProviderConfigRequest, ): Effect.Effect< DescribeIdentityProviderConfigResponse, - | ClientException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidParameterException | ResourceNotFoundException | ServerException | ServiceUnavailableException | CommonAwsError >; describeInsight( input: DescribeInsightRequest, ): Effect.Effect< DescribeInsightResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; describeInsightsRefresh( input: DescribeInsightsRefreshRequest, ): Effect.Effect< DescribeInsightsRefreshResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; describeNodegroup( input: DescribeNodegroupRequest, ): Effect.Effect< DescribeNodegroupResponse, - | ClientException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidParameterException | ResourceNotFoundException | ServerException | ServiceUnavailableException | CommonAwsError >; describePodIdentityAssociation( input: DescribePodIdentityAssociationRequest, ): Effect.Effect< DescribePodIdentityAssociationResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; describeUpdate( input: DescribeUpdateRequest, ): Effect.Effect< DescribeUpdateResponse, - | ClientException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ResourceNotFoundException | ServerException | CommonAwsError >; disassociateAccessPolicy( input: DisassociateAccessPolicyRequest, ): Effect.Effect< DisassociateAccessPolicyResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; disassociateIdentityProviderConfig( input: DisassociateIdentityProviderConfigRequest, ): Effect.Effect< DisassociateIdentityProviderConfigResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | ThrottlingException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServerException | ThrottlingException | CommonAwsError >; listAccessEntries( input: ListAccessEntriesRequest, ): Effect.Effect< ListAccessEntriesResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; listAccessPolicies( input: ListAccessPoliciesRequest, @@ -425,93 +224,55 @@ export declare class EKS extends AWSServiceClient { input: ListAddonsRequest, ): Effect.Effect< ListAddonsResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; listAssociatedAccessPolicies( input: ListAssociatedAccessPoliciesRequest, ): Effect.Effect< ListAssociatedAccessPoliciesResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; listClusters( input: ListClustersRequest, ): Effect.Effect< ListClustersResponse, - | ClientException - | InvalidParameterException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | ServiceUnavailableException | CommonAwsError >; listEksAnywhereSubscriptions( input: ListEksAnywhereSubscriptionsRequest, ): Effect.Effect< ListEksAnywhereSubscriptionsResponse, - | ClientException - | InvalidParameterException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidParameterException | ServerException | ServiceUnavailableException | CommonAwsError >; listFargateProfiles( input: ListFargateProfilesRequest, ): Effect.Effect< ListFargateProfilesResponse, - | ClientException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ResourceNotFoundException | ServerException | CommonAwsError >; listIdentityProviderConfigs( input: ListIdentityProviderConfigsRequest, ): Effect.Effect< ListIdentityProviderConfigsResponse, - | ClientException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidParameterException | ResourceNotFoundException | ServerException | ServiceUnavailableException | CommonAwsError >; listInsights( input: ListInsightsRequest, ): Effect.Effect< ListInsightsResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; listNodegroups( input: ListNodegroupsRequest, ): Effect.Effect< ListNodegroupsResponse, - | ClientException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | ServiceUnavailableException - | CommonAwsError + ClientException | InvalidParameterException | ResourceNotFoundException | ServerException | ServiceUnavailableException | CommonAwsError >; listPodIdentityAssociations( input: ListPodIdentityAssociationsRequest, ): Effect.Effect< ListPodIdentityAssociationsResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, @@ -523,35 +284,19 @@ export declare class EKS extends AWSServiceClient { input: ListUpdatesRequest, ): Effect.Effect< ListUpdatesResponse, - | ClientException - | InvalidParameterException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | ResourceNotFoundException | ServerException | CommonAwsError >; registerCluster( input: RegisterClusterRequest, ): Effect.Effect< RegisterClusterResponse, - | AccessDeniedException - | ClientException - | InvalidParameterException - | ResourceInUseException - | ResourceLimitExceededException - | ResourcePropagationDelayException - | ServerException - | ServiceUnavailableException - | CommonAwsError + AccessDeniedException | ClientException | InvalidParameterException | ResourceInUseException | ResourceLimitExceededException | ResourcePropagationDelayException | ServerException | ServiceUnavailableException | CommonAwsError >; startInsightsRefresh( input: StartInsightsRefreshRequest, ): Effect.Effect< StartInsightsRefreshResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; tagResource( input: TagResourceRequest, @@ -569,95 +314,49 @@ export declare class EKS extends AWSServiceClient { input: UpdateAccessEntryRequest, ): Effect.Effect< UpdateAccessEntryResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; updateAddon( input: UpdateAddonRequest, ): Effect.Effect< UpdateAddonResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServerException | CommonAwsError >; updateClusterConfig( input: UpdateClusterConfigRequest, ): Effect.Effect< UpdateClusterConfigResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | ThrottlingException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServerException | ThrottlingException | CommonAwsError >; updateClusterVersion( input: UpdateClusterVersionRequest, ): Effect.Effect< UpdateClusterVersionResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | InvalidStateException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | ThrottlingException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | InvalidStateException | ResourceInUseException | ResourceNotFoundException | ServerException | ThrottlingException | CommonAwsError >; updateEksAnywhereSubscription( input: UpdateEksAnywhereSubscriptionRequest, ): Effect.Effect< UpdateEksAnywhereSubscriptionResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; updateNodegroupConfig( input: UpdateNodegroupConfigRequest, ): Effect.Effect< UpdateNodegroupConfigResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServerException | CommonAwsError >; updateNodegroupVersion( input: UpdateNodegroupVersionRequest, ): Effect.Effect< UpdateNodegroupVersionResponse, - | ClientException - | InvalidParameterException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServerException - | CommonAwsError + ClientException | InvalidParameterException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServerException | CommonAwsError >; updatePodIdentityAssociation( input: UpdatePodIdentityAssociationRequest, ): Effect.Effect< UpdatePodIdentityAssociationResponse, - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ServerException - | CommonAwsError + InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ServerException | CommonAwsError >; } @@ -734,17 +433,7 @@ export interface AddonIssue { message?: string; resourceIds?: Array; } -export type AddonIssueCode = - | "AccessDenied" - | "InternalFailure" - | "ClusterUnreachable" - | "InsufficientNumberOfReplicas" - | "ConfigurationConflict" - | "AdmissionRequestDenied" - | "UnsupportedAddonModification" - | "K8sResourceNotFound" - | "AddonSubscriptionNeeded" - | "AddonPermissionFailure"; +export type AddonIssueCode = "AccessDenied" | "InternalFailure" | "ClusterUnreachable" | "InsufficientNumberOfReplicas" | "ConfigurationConflict" | "AdmissionRequestDenied" | "UnsupportedAddonModification" | "K8sResourceNotFound" | "AddonSubscriptionNeeded" | "AddonPermissionFailure"; export type AddonIssueList = Array; export interface AddonNamespaceConfigRequest { namespace?: string; @@ -756,24 +445,14 @@ export interface AddonPodIdentityAssociations { serviceAccount: string; roleArn: string; } -export type AddonPodIdentityAssociationsList = - Array; +export type AddonPodIdentityAssociationsList = Array; export interface AddonPodIdentityConfiguration { serviceAccount?: string; recommendedManagedPolicies?: Array; } -export type AddonPodIdentityConfigurationList = - Array; +export type AddonPodIdentityConfigurationList = Array; export type Addons = Array; -export type AddonStatus = - | "CREATING" - | "ACTIVE" - | "CREATE_FAILED" - | "UPDATING" - | "DELETING" - | "DELETE_FAILED" - | "DEGRADED" - | "UPDATE_FAILED"; +export type AddonStatus = "CREATING" | "ACTIVE" | "CREATE_FAILED" | "UPDATING" | "DELETING" | "DELETE_FAILED" | "DEGRADED" | "UPDATE_FAILED"; export interface AddonVersionInfo { addonVersion?: string; architecture?: Array; @@ -783,26 +462,7 @@ export interface AddonVersionInfo { requiresIamPermissions?: boolean; } export type AddonVersionInfoList = Array; -export type AMITypes = - | "AL2_x86_64" - | "AL2_x86_64_GPU" - | "AL2_ARM_64" - | "CUSTOM" - | "BOTTLEROCKET_ARM_64" - | "BOTTLEROCKET_x86_64" - | "BOTTLEROCKET_ARM_64_FIPS" - | "BOTTLEROCKET_x86_64_FIPS" - | "BOTTLEROCKET_ARM_64_NVIDIA" - | "BOTTLEROCKET_x86_64_NVIDIA" - | "WINDOWS_CORE_2019_x86_64" - | "WINDOWS_FULL_2019_x86_64" - | "WINDOWS_CORE_2022_x86_64" - | "WINDOWS_FULL_2022_x86_64" - | "AL2023_x86_64_STANDARD" - | "AL2023_ARM_64_STANDARD" - | "AL2023_x86_64_NEURON" - | "AL2023_x86_64_NVIDIA" - | "AL2023_ARM_64_NVIDIA"; +export type AMITypes = "AL2_x86_64" | "AL2_x86_64_GPU" | "AL2_ARM_64" | "CUSTOM" | "BOTTLEROCKET_ARM_64" | "BOTTLEROCKET_x86_64" | "BOTTLEROCKET_ARM_64_FIPS" | "BOTTLEROCKET_x86_64_FIPS" | "BOTTLEROCKET_ARM_64_NVIDIA" | "BOTTLEROCKET_x86_64_NVIDIA" | "WINDOWS_CORE_2019_x86_64" | "WINDOWS_FULL_2019_x86_64" | "WINDOWS_CORE_2022_x86_64" | "WINDOWS_FULL_2022_x86_64" | "AL2023_x86_64_STANDARD" | "AL2023_ARM_64_STANDARD" | "AL2023_x86_64_NEURON" | "AL2023_x86_64_NVIDIA" | "AL2023_ARM_64_NVIDIA"; export interface AssociateAccessPolicyRequest { clusterName: string; principalArn: string; @@ -918,36 +578,11 @@ export interface ClusterIssue { message?: string; resourceIds?: Array; } -export type ClusterIssueCode = - | "AccessDenied" - | "ClusterUnreachable" - | "ConfigurationConflict" - | "InternalFailure" - | "ResourceLimitExceeded" - | "ResourceNotFound" - | "IamRoleNotFound" - | "VpcNotFound" - | "InsufficientFreeAddresses" - | "Ec2ServiceNotSubscribed" - | "Ec2SubnetNotFound" - | "Ec2SecurityGroupNotFound" - | "KmsGrantRevoked" - | "KmsKeyNotFound" - | "KmsKeyMarkedForDeletion" - | "KmsKeyDisabled" - | "StsRegionalEndpointDisabled" - | "UnsupportedVersion" - | "Other"; +export type ClusterIssueCode = "AccessDenied" | "ClusterUnreachable" | "ConfigurationConflict" | "InternalFailure" | "ResourceLimitExceeded" | "ResourceNotFound" | "IamRoleNotFound" | "VpcNotFound" | "InsufficientFreeAddresses" | "Ec2ServiceNotSubscribed" | "Ec2SubnetNotFound" | "Ec2SecurityGroupNotFound" | "KmsGrantRevoked" | "KmsKeyNotFound" | "KmsKeyMarkedForDeletion" | "KmsKeyDisabled" | "StsRegionalEndpointDisabled" | "UnsupportedVersion" | "Other"; export type ClusterIssueList = Array; export type ClusterName = string; -export type ClusterStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED" - | "UPDATING" - | "PENDING"; +export type ClusterStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING" | "PENDING"; export interface ClusterVersionInformation { clusterVersion?: string; clusterType?: string; @@ -961,10 +596,7 @@ export interface ClusterVersionInformation { kubernetesPatchVersion?: string; } export type ClusterVersionList = Array; -export type ClusterVersionStatus = - | "unsupported" - | "standard-support" - | "extended-support"; +export type ClusterVersionStatus = "unsupported" | "standard-support" | "extended-support"; export type Compatibilities = Array; export interface Compatibility { clusterVersion?: string; @@ -982,16 +614,7 @@ export interface ComputeConfigResponse { nodeRoleArn?: string; } export type configStatus = "CREATING" | "DELETING" | "ACTIVE"; -export type ConnectorConfigProvider = - | "EKS_ANYWHERE" - | "ANTHOS" - | "GKE" - | "AKS" - | "OPENSHIFT" - | "TANZU" - | "RANCHER" - | "EC2" - | "OTHER"; +export type ConnectorConfigProvider = "EKS_ANYWHERE" | "ANTHOS" | "GKE" | "AKS" | "OPENSHIFT" | "TANZU" | "RANCHER" | "EC2" | "OTHER"; export interface ConnectorConfigRequest { roleArn: string; provider: ConnectorConfigProvider; @@ -1128,7 +751,8 @@ export interface DeleteAccessEntryRequest { clusterName: string; principalArn: string; } -export interface DeleteAccessEntryResponse {} +export interface DeleteAccessEntryResponse { +} export interface DeleteAddonRequest { clusterName: string; addonName: string; @@ -1309,7 +933,8 @@ export interface DisassociateAccessPolicyRequest { principalArn: string; policyArn: string; } -export interface DisassociateAccessPolicyResponse {} +export interface DisassociateAccessPolicyResponse { +} export interface DisassociateIdentityProviderConfigRequest { clusterName: string; identityProviderConfig: IdentityProviderConfig; @@ -1337,15 +962,8 @@ export type EksAnywhereSubscriptionLicenseType = "Cluster"; export type EksAnywhereSubscriptionList = Array; export type EksAnywhereSubscriptionName = string; -export type EksAnywhereSubscriptionStatus = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "EXPIRING" - | "EXPIRED" - | "DELETING"; -export type EksAnywhereSubscriptionStatusValues = - Array; +export type EksAnywhereSubscriptionStatus = "CREATING" | "ACTIVE" | "UPDATING" | "EXPIRING" | "EXPIRED" | "DELETING"; +export type EksAnywhereSubscriptionStatusValues = Array; export interface EksAnywhereSubscriptionTerm { duration?: number; unit?: EksAnywhereSubscriptionTermUnit; @@ -1359,24 +977,7 @@ export interface EncryptionConfig { provider?: Provider; } export type EncryptionConfigList = Array; -export type ErrorCode = - | "SubnetNotFound" - | "SecurityGroupNotFound" - | "EniLimitReached" - | "IpNotAvailable" - | "AccessDenied" - | "OperationNotPermitted" - | "VpcIdNotFound" - | "Unknown" - | "NodeCreationFailure" - | "PodEvictionFailure" - | "InsufficientFreeAddresses" - | "ClusterUnreachable" - | "InsufficientNumberOfReplicas" - | "ConfigurationConflict" - | "AdmissionRequestDenied" - | "UnsupportedAddonModification" - | "K8sResourceNotFound"; +export type ErrorCode = "SubnetNotFound" | "SecurityGroupNotFound" | "EniLimitReached" | "IpNotAvailable" | "AccessDenied" | "OperationNotPermitted" | "VpcIdNotFound" | "Unknown" | "NodeCreationFailure" | "PodEvictionFailure" | "InsufficientFreeAddresses" | "ClusterUnreachable" | "InsufficientNumberOfReplicas" | "ConfigurationConflict" | "AdmissionRequestDenied" | "UnsupportedAddonModification" | "K8sResourceNotFound"; export interface ErrorDetail { errorCode?: ErrorCode; errorMessage?: string; @@ -1403,11 +1004,7 @@ export interface FargateProfileIssue { message?: string; resourceIds?: Array; } -export type FargateProfileIssueCode = - | "PodExecutionRoleAlreadyInUse" - | "AccessDenied" - | "ClusterUnreachable" - | "InternalFailure"; +export type FargateProfileIssueCode = "PodExecutionRoleAlreadyInUse" | "AccessDenied" | "ClusterUnreachable" | "InternalFailure"; export type FargateProfileIssueList = Array; export type FargateProfileLabel = Record; export interface FargateProfileSelector { @@ -1417,12 +1014,7 @@ export interface FargateProfileSelector { export type FargateProfileSelectors = Array; export type FargateProfilesRequestMaxResults = number; -export type FargateProfileStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "CREATE_FAILED" - | "DELETE_FAILED"; +export type FargateProfileStatus = "CREATING" | "ACTIVE" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED"; export interface Identity { oidc?: OIDC; } @@ -1695,12 +1287,7 @@ export interface LogSetup { enabled?: boolean; } export type LogSetups = Array; -export type LogType = - | "api" - | "audit" - | "authenticator" - | "controllerManager" - | "scheduler"; +export type LogType = "api" | "audit" | "authenticator" | "controllerManager" | "scheduler"; export type LogTypes = Array; export interface MarketplaceInformation { productId?: string; @@ -1737,43 +1324,7 @@ export interface Nodegroup { export interface NodegroupHealth { issues?: Array; } -export type NodegroupIssueCode = - | "AutoScalingGroupNotFound" - | "AutoScalingGroupInvalidConfiguration" - | "Ec2SecurityGroupNotFound" - | "Ec2SecurityGroupDeletionFailure" - | "Ec2LaunchTemplateNotFound" - | "Ec2LaunchTemplateVersionMismatch" - | "Ec2SubnetNotFound" - | "Ec2SubnetInvalidConfiguration" - | "IamInstanceProfileNotFound" - | "Ec2SubnetMissingIpv6Assignment" - | "IamLimitExceeded" - | "IamNodeRoleNotFound" - | "NodeCreationFailure" - | "AsgInstanceLaunchFailures" - | "InstanceLimitExceeded" - | "InsufficientFreeAddresses" - | "AccessDenied" - | "InternalFailure" - | "ClusterUnreachable" - | "AmiIdNotFound" - | "AutoScalingGroupOptInRequired" - | "AutoScalingGroupRateLimitExceeded" - | "Ec2LaunchTemplateDeletionFailure" - | "Ec2LaunchTemplateInvalidConfiguration" - | "Ec2LaunchTemplateMaxLimitExceeded" - | "Ec2SubnetListTooLong" - | "IamThrottling" - | "NodeTerminationFailure" - | "PodEvictionFailure" - | "SourceEc2LaunchTemplateNotFound" - | "LimitExceeded" - | "Unknown" - | "AutoScalingGroupInstanceRefreshActive" - | "KubernetesLabelInvalid" - | "Ec2LaunchTemplateVersionMaxLimitExceeded" - | "Ec2InstanceTypeDoesNotExist"; +export type NodegroupIssueCode = "AutoScalingGroupNotFound" | "AutoScalingGroupInvalidConfiguration" | "Ec2SecurityGroupNotFound" | "Ec2SecurityGroupDeletionFailure" | "Ec2LaunchTemplateNotFound" | "Ec2LaunchTemplateVersionMismatch" | "Ec2SubnetNotFound" | "Ec2SubnetInvalidConfiguration" | "IamInstanceProfileNotFound" | "Ec2SubnetMissingIpv6Assignment" | "IamLimitExceeded" | "IamNodeRoleNotFound" | "NodeCreationFailure" | "AsgInstanceLaunchFailures" | "InstanceLimitExceeded" | "InsufficientFreeAddresses" | "AccessDenied" | "InternalFailure" | "ClusterUnreachable" | "AmiIdNotFound" | "AutoScalingGroupOptInRequired" | "AutoScalingGroupRateLimitExceeded" | "Ec2LaunchTemplateDeletionFailure" | "Ec2LaunchTemplateInvalidConfiguration" | "Ec2LaunchTemplateMaxLimitExceeded" | "Ec2SubnetListTooLong" | "IamThrottling" | "NodeTerminationFailure" | "PodEvictionFailure" | "SourceEc2LaunchTemplateNotFound" | "LimitExceeded" | "Unknown" | "AutoScalingGroupInstanceRefreshActive" | "KubernetesLabelInvalid" | "Ec2LaunchTemplateVersionMaxLimitExceeded" | "Ec2InstanceTypeDoesNotExist"; export interface NodegroupResources { autoScalingGroups?: Array; remoteAccessSecurityGroup?: string; @@ -1783,14 +1334,7 @@ export interface NodegroupScalingConfig { maxSize?: number; desiredSize?: number; } -export type NodegroupStatus = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "CREATE_FAILED" - | "DELETE_FAILED" - | "DEGRADED"; +export type NodegroupStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "DEGRADED"; export interface NodegroupUpdateConfig { maxUnavailable?: number; maxUnavailablePercentage?: number; @@ -1873,8 +1417,7 @@ export interface PodIdentityAssociation { targetRoleArn?: string; externalId?: string; } -export type PodIdentityAssociationSummaries = - Array; +export type PodIdentityAssociationSummaries = Array; export interface PodIdentityAssociationSummary { clusterName?: string; namespace?: string; @@ -1994,7 +1537,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Taint { @@ -2028,7 +1572,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface Update { id?: string; status?: UpdateStatus; @@ -2131,45 +1676,7 @@ export interface UpdateParam { value?: string; } export type UpdateParams = Array; -export type UpdateParamType = - | "Version" - | "PlatformVersion" - | "EndpointPrivateAccess" - | "EndpointPublicAccess" - | "ClusterLogging" - | "DesiredSize" - | "LabelsToAdd" - | "LabelsToRemove" - | "TaintsToAdd" - | "TaintsToRemove" - | "MaxSize" - | "MinSize" - | "ReleaseVersion" - | "PublicAccessCidrs" - | "LaunchTemplateName" - | "LaunchTemplateVersion" - | "IdentityProviderConfig" - | "EncryptionConfig" - | "AddonVersion" - | "ServiceAccountRoleArn" - | "ResolveConflicts" - | "MaxUnavailable" - | "MaxUnavailablePercentage" - | "NodeRepairEnabled" - | "UpdateStrategy" - | "ConfigurationValues" - | "SecurityGroups" - | "Subnets" - | "AuthenticationMode" - | "PodIdentityAssociations" - | "UpgradePolicy" - | "ZonalShiftConfig" - | "ComputeConfig" - | "StorageConfig" - | "KubernetesNetworkConfig" - | "RemoteNetworkConfig" - | "DeletionProtection" - | "NodeRepairConfig"; +export type UpdateParamType = "Version" | "PlatformVersion" | "EndpointPrivateAccess" | "EndpointPublicAccess" | "ClusterLogging" | "DesiredSize" | "LabelsToAdd" | "LabelsToRemove" | "TaintsToAdd" | "TaintsToRemove" | "MaxSize" | "MinSize" | "ReleaseVersion" | "PublicAccessCidrs" | "LaunchTemplateName" | "LaunchTemplateVersion" | "IdentityProviderConfig" | "EncryptionConfig" | "AddonVersion" | "ServiceAccountRoleArn" | "ResolveConflicts" | "MaxUnavailable" | "MaxUnavailablePercentage" | "NodeRepairEnabled" | "UpdateStrategy" | "ConfigurationValues" | "SecurityGroups" | "Subnets" | "AuthenticationMode" | "PodIdentityAssociations" | "UpgradePolicy" | "ZonalShiftConfig" | "ComputeConfig" | "StorageConfig" | "KubernetesNetworkConfig" | "RemoteNetworkConfig" | "DeletionProtection" | "NodeRepairConfig"; export interface UpdatePodIdentityAssociationRequest { clusterName: string; associationId: string; @@ -2186,32 +1693,14 @@ export interface UpdateTaintsPayload { addOrUpdateTaints?: Array; removeTaints?: Array; } -export type UpdateType = - | "VersionUpdate" - | "EndpointAccessUpdate" - | "LoggingUpdate" - | "ConfigUpdate" - | "AssociateIdentityProviderConfig" - | "DisassociateIdentityProviderConfig" - | "AssociateEncryptionConfig" - | "AddonUpdate" - | "VpcConfigUpdate" - | "AccessConfigUpdate" - | "UpgradePolicyUpdate" - | "ZonalShiftConfigUpdate" - | "AutoModeUpdate" - | "RemoteNetworkConfigUpdate" - | "DeletionProtectionUpdate"; +export type UpdateType = "VersionUpdate" | "EndpointAccessUpdate" | "LoggingUpdate" | "ConfigUpdate" | "AssociateIdentityProviderConfig" | "DisassociateIdentityProviderConfig" | "AssociateEncryptionConfig" | "AddonUpdate" | "VpcConfigUpdate" | "AccessConfigUpdate" | "UpgradePolicyUpdate" | "ZonalShiftConfigUpdate" | "AutoModeUpdate" | "RemoteNetworkConfigUpdate" | "DeletionProtectionUpdate"; export interface UpgradePolicyRequest { supportType?: SupportType; } export interface UpgradePolicyResponse { supportType?: SupportType; } -export type VersionStatus = - | "UNSUPPORTED" - | "STANDARD_SUPPORT" - | "EXTENDED_SUPPORT"; +export type VersionStatus = "UNSUPPORTED" | "STANDARD_SUPPORT" | "EXTENDED_SUPPORT"; export interface VpcConfigRequest { subnetIds?: Array; securityGroupIds?: Array; @@ -2652,7 +2141,9 @@ export declare namespace ListAccessEntries { export declare namespace ListAccessPolicies { export type Input = ListAccessPoliciesRequest; export type Output = ListAccessPoliciesResponse; - export type Error = ServerException | CommonAwsError; + export type Error = + | ServerException + | CommonAwsError; } export declare namespace ListAddons { @@ -2759,7 +2250,10 @@ export declare namespace ListPodIdentityAssociations { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = BadRequestException | NotFoundException | CommonAwsError; + export type Error = + | BadRequestException + | NotFoundException + | CommonAwsError; } export declare namespace ListUpdates { @@ -2802,13 +2296,19 @@ export declare namespace StartInsightsRefresh { export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = TagResourceResponse; - export type Error = BadRequestException | NotFoundException | CommonAwsError; + export type Error = + | BadRequestException + | NotFoundException + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = BadRequestException | NotFoundException | CommonAwsError; + export type Error = + | BadRequestException + | NotFoundException + | CommonAwsError; } export declare namespace UpdateAccessEntry { @@ -2913,20 +2413,5 @@ export declare namespace UpdatePodIdentityAssociation { | CommonAwsError; } -export type EKSErrors = - | AccessDeniedException - | BadRequestException - | ClientException - | InvalidParameterException - | InvalidRequestException - | InvalidStateException - | NotFoundException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourcePropagationDelayException - | ServerException - | ServiceUnavailableException - | ThrottlingException - | UnsupportedAvailabilityZoneException - | CommonAwsError; +export type EKSErrors = AccessDeniedException | BadRequestException | ClientException | InvalidParameterException | InvalidRequestException | InvalidStateException | NotFoundException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ResourcePropagationDelayException | ServerException | ServiceUnavailableException | ThrottlingException | UnsupportedAvailabilityZoneException | CommonAwsError; + diff --git a/src/services/elastic-beanstalk/index.ts b/src/services/elastic-beanstalk/index.ts index 46ffde70..1b55c210 100644 --- a/src/services/elastic-beanstalk/index.ts +++ b/src/services/elastic-beanstalk/index.ts @@ -6,26 +6,7 @@ import type { ElasticBeanstalk as _ElasticBeanstalkClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const ElasticBeanstalk = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _ElasticBeanstalkClient; diff --git a/src/services/elastic-beanstalk/types.ts b/src/services/elastic-beanstalk/types.ts index 2a23cc1c..2354c45d 100644 --- a/src/services/elastic-beanstalk/types.ts +++ b/src/services/elastic-beanstalk/types.ts @@ -5,28 +5,33 @@ import { AWSServiceClient } from "../../client.ts"; export declare class ElasticBeanstalk extends AWSServiceClient { abortEnvironmentUpdate( input: AbortEnvironmentUpdateMessage, - ): Effect.Effect<{}, InsufficientPrivilegesException | CommonAwsError>; + ): Effect.Effect< + {}, + InsufficientPrivilegesException | CommonAwsError + >; applyEnvironmentManagedAction( input: ApplyEnvironmentManagedActionRequest, ): Effect.Effect< ApplyEnvironmentManagedActionResult, - | ElasticBeanstalkServiceException - | ManagedActionInvalidStateException - | CommonAwsError + ElasticBeanstalkServiceException | ManagedActionInvalidStateException | CommonAwsError >; associateEnvironmentOperationsRole( input: AssociateEnvironmentOperationsRoleMessage, - ): Effect.Effect<{}, InsufficientPrivilegesException | CommonAwsError>; + ): Effect.Effect< + {}, + InsufficientPrivilegesException | CommonAwsError + >; checkDNSAvailability( input: CheckDNSAvailabilityMessage, - ): Effect.Effect; + ): Effect.Effect< + CheckDNSAvailabilityResultMessage, + CommonAwsError + >; composeEnvironments( input: ComposeEnvironmentsMessage, ): Effect.Effect< EnvironmentDescriptionsMessage, - | InsufficientPrivilegesException - | TooManyEnvironmentsException - | CommonAwsError + InsufficientPrivilegesException | TooManyEnvironmentsException | CommonAwsError >; createApplication( input: CreateApplicationMessage, @@ -38,85 +43,80 @@ export declare class ElasticBeanstalk extends AWSServiceClient { input: CreateApplicationVersionMessage, ): Effect.Effect< ApplicationVersionDescriptionMessage, - | CodeBuildNotInServiceRegionException - | InsufficientPrivilegesException - | S3LocationNotInServiceRegionException - | TooManyApplicationsException - | TooManyApplicationVersionsException - | CommonAwsError + CodeBuildNotInServiceRegionException | InsufficientPrivilegesException | S3LocationNotInServiceRegionException | TooManyApplicationsException | TooManyApplicationVersionsException | CommonAwsError >; createConfigurationTemplate( input: CreateConfigurationTemplateMessage, ): Effect.Effect< ConfigurationSettingsDescription, - | InsufficientPrivilegesException - | TooManyBucketsException - | TooManyConfigurationTemplatesException - | CommonAwsError + InsufficientPrivilegesException | TooManyBucketsException | TooManyConfigurationTemplatesException | CommonAwsError >; createEnvironment( input: CreateEnvironmentMessage, ): Effect.Effect< EnvironmentDescription, - | InsufficientPrivilegesException - | TooManyEnvironmentsException - | CommonAwsError + InsufficientPrivilegesException | TooManyEnvironmentsException | CommonAwsError >; createPlatformVersion( input: CreatePlatformVersionRequest, ): Effect.Effect< CreatePlatformVersionResult, - | ElasticBeanstalkServiceException - | InsufficientPrivilegesException - | TooManyPlatformsException - | CommonAwsError + ElasticBeanstalkServiceException | InsufficientPrivilegesException | TooManyPlatformsException | CommonAwsError >; - createStorageLocation(input: {}): Effect.Effect< + createStorageLocation( + input: {}, + ): Effect.Effect< CreateStorageLocationResultMessage, - | InsufficientPrivilegesException - | S3SubscriptionRequiredException - | TooManyBucketsException - | CommonAwsError + InsufficientPrivilegesException | S3SubscriptionRequiredException | TooManyBucketsException | CommonAwsError >; deleteApplication( input: DeleteApplicationMessage, - ): Effect.Effect<{}, OperationInProgressException | CommonAwsError>; + ): Effect.Effect< + {}, + OperationInProgressException | CommonAwsError + >; deleteApplicationVersion( input: DeleteApplicationVersionMessage, ): Effect.Effect< {}, - | InsufficientPrivilegesException - | OperationInProgressException - | S3LocationNotInServiceRegionException - | SourceBundleDeletionException - | CommonAwsError + InsufficientPrivilegesException | OperationInProgressException | S3LocationNotInServiceRegionException | SourceBundleDeletionException | CommonAwsError >; deleteConfigurationTemplate( input: DeleteConfigurationTemplateMessage, - ): Effect.Effect<{}, OperationInProgressException | CommonAwsError>; + ): Effect.Effect< + {}, + OperationInProgressException | CommonAwsError + >; deleteEnvironmentConfiguration( input: DeleteEnvironmentConfigurationMessage, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deletePlatformVersion( input: DeletePlatformVersionRequest, ): Effect.Effect< DeletePlatformVersionResult, - | ElasticBeanstalkServiceException - | InsufficientPrivilegesException - | OperationInProgressException - | PlatformVersionStillReferencedException - | CommonAwsError + ElasticBeanstalkServiceException | InsufficientPrivilegesException | OperationInProgressException | PlatformVersionStillReferencedException | CommonAwsError >; - describeAccountAttributes(input: {}): Effect.Effect< + describeAccountAttributes( + input: {}, + ): Effect.Effect< DescribeAccountAttributesResult, InsufficientPrivilegesException | CommonAwsError >; describeApplications( input: DescribeApplicationsMessage, - ): Effect.Effect; + ): Effect.Effect< + ApplicationDescriptionsMessage, + CommonAwsError + >; describeApplicationVersions( input: DescribeApplicationVersionsMessage, - ): Effect.Effect; + ): Effect.Effect< + ApplicationVersionDescriptionsMessage, + CommonAwsError + >; describeConfigurationOptions( input: DescribeConfigurationOptionsMessage, ): Effect.Effect< @@ -155,10 +155,16 @@ export declare class ElasticBeanstalk extends AWSServiceClient { >; describeEnvironments( input: DescribeEnvironmentsMessage, - ): Effect.Effect; + ): Effect.Effect< + EnvironmentDescriptionsMessage, + CommonAwsError + >; describeEvents( input: DescribeEventsMessage, - ): Effect.Effect; + ): Effect.Effect< + EventDescriptionsMessage, + CommonAwsError + >; describeInstancesHealth( input: DescribeInstancesHealthRequest, ): Effect.Effect< @@ -169,52 +175,68 @@ export declare class ElasticBeanstalk extends AWSServiceClient { input: DescribePlatformVersionRequest, ): Effect.Effect< DescribePlatformVersionResult, - | ElasticBeanstalkServiceException - | InsufficientPrivilegesException - | CommonAwsError + ElasticBeanstalkServiceException | InsufficientPrivilegesException | CommonAwsError >; disassociateEnvironmentOperationsRole( input: DisassociateEnvironmentOperationsRoleMessage, - ): Effect.Effect<{}, InsufficientPrivilegesException | CommonAwsError>; - listAvailableSolutionStacks(input: {}): Effect.Effect< + ): Effect.Effect< + {}, + InsufficientPrivilegesException | CommonAwsError + >; + listAvailableSolutionStacks( + input: {}, + ): Effect.Effect< ListAvailableSolutionStacksResultMessage, CommonAwsError >; listPlatformBranches( input: ListPlatformBranchesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListPlatformBranchesResult, + CommonAwsError + >; listPlatformVersions( input: ListPlatformVersionsRequest, ): Effect.Effect< ListPlatformVersionsResult, - | ElasticBeanstalkServiceException - | InsufficientPrivilegesException - | CommonAwsError + ElasticBeanstalkServiceException | InsufficientPrivilegesException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceMessage, ): Effect.Effect< ResourceTagsDescriptionMessage, - | InsufficientPrivilegesException - | ResourceNotFoundException - | ResourceTypeNotSupportedException - | CommonAwsError + InsufficientPrivilegesException | ResourceNotFoundException | ResourceTypeNotSupportedException | CommonAwsError >; rebuildEnvironment( input: RebuildEnvironmentMessage, - ): Effect.Effect<{}, InsufficientPrivilegesException | CommonAwsError>; + ): Effect.Effect< + {}, + InsufficientPrivilegesException | CommonAwsError + >; requestEnvironmentInfo( input: RequestEnvironmentInfoMessage, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; restartAppServer( input: RestartAppServerMessage, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; retrieveEnvironmentInfo( input: RetrieveEnvironmentInfoMessage, - ): Effect.Effect; + ): Effect.Effect< + RetrieveEnvironmentInfoResultMessage, + CommonAwsError + >; swapEnvironmentCNAMEs( input: SwapEnvironmentCNAMEsMessage, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; terminateEnvironment( input: TerminateEnvironmentMessage, ): Effect.Effect< @@ -223,7 +245,10 @@ export declare class ElasticBeanstalk extends AWSServiceClient { >; updateApplication( input: UpdateApplicationMessage, - ): Effect.Effect; + ): Effect.Effect< + ApplicationDescriptionMessage, + CommonAwsError + >; updateApplicationResourceLifecycle( input: UpdateApplicationResourceLifecycleMessage, ): Effect.Effect< @@ -232,7 +257,10 @@ export declare class ElasticBeanstalk extends AWSServiceClient { >; updateApplicationVersion( input: UpdateApplicationVersionMessage, - ): Effect.Effect; + ): Effect.Effect< + ApplicationVersionDescriptionMessage, + CommonAwsError + >; updateConfigurationTemplate( input: UpdateConfigurationTemplateMessage, ): Effect.Effect< @@ -249,12 +277,7 @@ export declare class ElasticBeanstalk extends AWSServiceClient { input: UpdateTagsForResourceMessage, ): Effect.Effect< {}, - | InsufficientPrivilegesException - | OperationInProgressException - | ResourceNotFoundException - | ResourceTypeNotSupportedException - | TooManyTagsException - | CommonAwsError + InsufficientPrivilegesException | OperationInProgressException | ResourceNotFoundException | ResourceTypeNotSupportedException | TooManyTagsException | CommonAwsError >; validateConfigurationSettings( input: ValidateConfigurationSettingsMessage, @@ -323,8 +346,7 @@ export interface ApplicationVersionDescription { DateUpdated?: Date | string; Status?: ApplicationVersionStatus; } -export type ApplicationVersionDescriptionList = - Array; +export type ApplicationVersionDescriptionList = Array; export interface ApplicationVersionDescriptionMessage { ApplicationVersion?: ApplicationVersionDescription; } @@ -338,12 +360,7 @@ export interface ApplicationVersionLifecycleConfig { } export type ApplicationVersionProccess = boolean; -export type ApplicationVersionStatus = - | "Processed" - | "Unprocessed" - | "Failed" - | "Processing" - | "Building"; +export type ApplicationVersionStatus = "Processed" | "Unprocessed" | "Failed" | "Processing" | "Building"; export interface ApplyEnvironmentManagedActionRequest { EnvironmentName?: string; EnvironmentId?: string; @@ -409,10 +426,7 @@ export interface ComposeEnvironmentsMessage { GroupName?: string; VersionLabels?: Array; } -export type ComputeType = - | "BUILD_GENERAL1_SMALL" - | "BUILD_GENERAL1_MEDIUM" - | "BUILD_GENERAL1_LARGE"; +export type ComputeType = "BUILD_GENERAL1_SMALL" | "BUILD_GENERAL1_MEDIUM" | "BUILD_GENERAL1_LARGE"; export type ConfigurationDeploymentStatus = "deployed" | "pending" | "failed"; export type ConfigurationOptionDefaultValue = string; @@ -429,8 +443,7 @@ export interface ConfigurationOptionDescription { MaxLength?: number; Regex?: OptionRestrictionRegex; } -export type ConfigurationOptionDescriptionsList = - Array; +export type ConfigurationOptionDescriptionsList = Array; export type ConfigurationOptionName = string; export type ConfigurationOptionPossibleValue = string; @@ -465,8 +478,7 @@ export interface ConfigurationSettingsDescription { DateUpdated?: Date | string; OptionSettings?: Array; } -export type ConfigurationSettingsDescriptionList = - Array; +export type ConfigurationSettingsDescriptionList = Array; export interface ConfigurationSettingsDescriptions { ConfigurationSettings?: Array; } @@ -737,26 +749,9 @@ export interface EnvironmentDescriptionsMessage { NextToken?: string; } export type EnvironmentHealth = "Green" | "Yellow" | "Red" | "Grey"; -export type EnvironmentHealthAttribute = - | "Status" - | "Color" - | "Causes" - | "ApplicationMetrics" - | "InstancesHealth" - | "All" - | "HealthStatus" - | "RefreshedAt"; +export type EnvironmentHealthAttribute = "Status" | "Color" | "Causes" | "ApplicationMetrics" | "InstancesHealth" | "All" | "HealthStatus" | "RefreshedAt"; export type EnvironmentHealthAttributes = Array; -export type EnvironmentHealthStatus = - | "NoData" - | "Unknown" - | "Pending" - | "Ok" - | "Info" - | "Warning" - | "Degraded" - | "Severe" - | "Suspended"; +export type EnvironmentHealthStatus = "NoData" | "Unknown" | "Pending" | "Ok" | "Info" | "Warning" | "Degraded" | "Severe" | "Suspended"; export type EnvironmentId = string; export type EnvironmentIdList = Array; @@ -792,15 +787,7 @@ export interface EnvironmentResourceDescriptionsMessage { export interface EnvironmentResourcesDescription { LoadBalancer?: LoadBalancerDescription; } -export type EnvironmentStatus = - | "Aborting" - | "Launching" - | "Updating" - | "LinkingFrom" - | "LinkingTo" - | "Ready" - | "Terminating" - | "Terminated"; +export type EnvironmentStatus = "Aborting" | "Launching" | "Updating" | "LinkingFrom" | "LinkingTo" | "Ready" | "Terminating" | "Terminated"; export interface EnvironmentTier { Name?: string; Type?: string; @@ -826,23 +813,10 @@ export interface EventDescriptionsMessage { } export type EventMessage = string; -export type EventSeverity = - | "TRACE" - | "DEBUG" - | "INFO" - | "WARN" - | "ERROR" - | "FATAL"; +export type EventSeverity = "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL"; export type ExceptionMessage = string; -export type FailureType = - | "UpdateCancelled" - | "CancellationFailed" - | "RollbackFailed" - | "RollbackSuccessful" - | "InternalFailure" - | "InvalidEnvironmentState" - | "PermissionsError"; +export type FailureType = "UpdateCancelled" | "CancellationFailed" | "RollbackFailed" | "RollbackSuccessful" | "InternalFailure" | "InvalidEnvironmentState" | "PermissionsError"; export type FileTypeExtension = string; export type ForceTerminate = boolean; @@ -872,18 +846,7 @@ export interface InstanceHealthSummary { export type InstanceId = string; export type InstanceList = Array; -export type InstancesHealthAttribute = - | "HealthStatus" - | "Color" - | "Causes" - | "ApplicationMetrics" - | "RefreshedAt" - | "LaunchedAt" - | "System" - | "Deployment" - | "AvailabilityZone" - | "InstanceType" - | "All"; +export type InstancesHealthAttribute = "HealthStatus" | "Color" | "Causes" | "ApplicationMetrics" | "RefreshedAt" | "LaunchedAt" | "System" | "Deployment" | "AvailabilityZone" | "InstanceType" | "All"; export type InstancesHealthAttributes = Array; export declare class InsufficientPrivilegesException extends EffectData.TaggedError( "InsufficientPrivilegesException", @@ -1110,12 +1073,7 @@ export interface PlatformProgrammingLanguage { Version?: string; } export type PlatformProgrammingLanguages = Array; -export type PlatformStatus = - | "Creating" - | "Failed" - | "Ready" - | "Deleting" - | "Deleted"; +export type PlatformStatus = "Creating" | "Failed" | "Ready" | "Deleting" | "Deleted"; export interface PlatformSummary { PlatformArn?: string; PlatformOwner?: string; @@ -1434,7 +1392,9 @@ export type VirtualizationType = string; export declare namespace AbortEnvironmentUpdate { export type Input = AbortEnvironmentUpdateMessage; export type Output = {}; - export type Error = InsufficientPrivilegesException | CommonAwsError; + export type Error = + | InsufficientPrivilegesException + | CommonAwsError; } export declare namespace ApplyEnvironmentManagedAction { @@ -1449,13 +1409,16 @@ export declare namespace ApplyEnvironmentManagedAction { export declare namespace AssociateEnvironmentOperationsRole { export type Input = AssociateEnvironmentOperationsRoleMessage; export type Output = {}; - export type Error = InsufficientPrivilegesException | CommonAwsError; + export type Error = + | InsufficientPrivilegesException + | CommonAwsError; } export declare namespace CheckDNSAvailability { export type Input = CheckDNSAvailabilityMessage; export type Output = CheckDNSAvailabilityResultMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ComposeEnvironments { @@ -1470,7 +1433,9 @@ export declare namespace ComposeEnvironments { export declare namespace CreateApplication { export type Input = CreateApplicationMessage; export type Output = ApplicationDescriptionMessage; - export type Error = TooManyApplicationsException | CommonAwsError; + export type Error = + | TooManyApplicationsException + | CommonAwsError; } export declare namespace CreateApplicationVersion { @@ -1527,7 +1492,9 @@ export declare namespace CreateStorageLocation { export declare namespace DeleteApplication { export type Input = DeleteApplicationMessage; export type Output = {}; - export type Error = OperationInProgressException | CommonAwsError; + export type Error = + | OperationInProgressException + | CommonAwsError; } export declare namespace DeleteApplicationVersion { @@ -1544,13 +1511,16 @@ export declare namespace DeleteApplicationVersion { export declare namespace DeleteConfigurationTemplate { export type Input = DeleteConfigurationTemplateMessage; export type Output = {}; - export type Error = OperationInProgressException | CommonAwsError; + export type Error = + | OperationInProgressException + | CommonAwsError; } export declare namespace DeleteEnvironmentConfiguration { export type Input = DeleteEnvironmentConfigurationMessage; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeletePlatformVersion { @@ -1567,31 +1537,39 @@ export declare namespace DeletePlatformVersion { export declare namespace DescribeAccountAttributes { export type Input = {}; export type Output = DescribeAccountAttributesResult; - export type Error = InsufficientPrivilegesException | CommonAwsError; + export type Error = + | InsufficientPrivilegesException + | CommonAwsError; } export declare namespace DescribeApplications { export type Input = DescribeApplicationsMessage; export type Output = ApplicationDescriptionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeApplicationVersions { export type Input = DescribeApplicationVersionsMessage; export type Output = ApplicationVersionDescriptionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeConfigurationOptions { export type Input = DescribeConfigurationOptionsMessage; export type Output = ConfigurationOptionsDescription; - export type Error = TooManyBucketsException | CommonAwsError; + export type Error = + | TooManyBucketsException + | CommonAwsError; } export declare namespace DescribeConfigurationSettings { export type Input = DescribeConfigurationSettingsMessage; export type Output = ConfigurationSettingsDescriptions; - export type Error = TooManyBucketsException | CommonAwsError; + export type Error = + | TooManyBucketsException + | CommonAwsError; } export declare namespace DescribeEnvironmentHealth { @@ -1606,31 +1584,39 @@ export declare namespace DescribeEnvironmentHealth { export declare namespace DescribeEnvironmentManagedActionHistory { export type Input = DescribeEnvironmentManagedActionHistoryRequest; export type Output = DescribeEnvironmentManagedActionHistoryResult; - export type Error = ElasticBeanstalkServiceException | CommonAwsError; + export type Error = + | ElasticBeanstalkServiceException + | CommonAwsError; } export declare namespace DescribeEnvironmentManagedActions { export type Input = DescribeEnvironmentManagedActionsRequest; export type Output = DescribeEnvironmentManagedActionsResult; - export type Error = ElasticBeanstalkServiceException | CommonAwsError; + export type Error = + | ElasticBeanstalkServiceException + | CommonAwsError; } export declare namespace DescribeEnvironmentResources { export type Input = DescribeEnvironmentResourcesMessage; export type Output = EnvironmentResourceDescriptionsMessage; - export type Error = InsufficientPrivilegesException | CommonAwsError; + export type Error = + | InsufficientPrivilegesException + | CommonAwsError; } export declare namespace DescribeEnvironments { export type Input = DescribeEnvironmentsMessage; export type Output = EnvironmentDescriptionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEvents { export type Input = DescribeEventsMessage; export type Output = EventDescriptionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstancesHealth { @@ -1654,19 +1640,23 @@ export declare namespace DescribePlatformVersion { export declare namespace DisassociateEnvironmentOperationsRole { export type Input = DisassociateEnvironmentOperationsRoleMessage; export type Output = {}; - export type Error = InsufficientPrivilegesException | CommonAwsError; + export type Error = + | InsufficientPrivilegesException + | CommonAwsError; } export declare namespace ListAvailableSolutionStacks { export type Input = {}; export type Output = ListAvailableSolutionStacksResultMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListPlatformBranches { export type Input = ListPlatformBranchesRequest; export type Output = ListPlatformBranchesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListPlatformVersions { @@ -1691,55 +1681,67 @@ export declare namespace ListTagsForResource { export declare namespace RebuildEnvironment { export type Input = RebuildEnvironmentMessage; export type Output = {}; - export type Error = InsufficientPrivilegesException | CommonAwsError; + export type Error = + | InsufficientPrivilegesException + | CommonAwsError; } export declare namespace RequestEnvironmentInfo { export type Input = RequestEnvironmentInfoMessage; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RestartAppServer { export type Input = RestartAppServerMessage; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RetrieveEnvironmentInfo { export type Input = RetrieveEnvironmentInfoMessage; export type Output = RetrieveEnvironmentInfoResultMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SwapEnvironmentCNAMEs { export type Input = SwapEnvironmentCNAMEsMessage; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace TerminateEnvironment { export type Input = TerminateEnvironmentMessage; export type Output = EnvironmentDescription; - export type Error = InsufficientPrivilegesException | CommonAwsError; + export type Error = + | InsufficientPrivilegesException + | CommonAwsError; } export declare namespace UpdateApplication { export type Input = UpdateApplicationMessage; export type Output = ApplicationDescriptionMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateApplicationResourceLifecycle { export type Input = UpdateApplicationResourceLifecycleMessage; export type Output = ApplicationResourceLifecycleDescriptionMessage; - export type Error = InsufficientPrivilegesException | CommonAwsError; + export type Error = + | InsufficientPrivilegesException + | CommonAwsError; } export declare namespace UpdateApplicationVersion { export type Input = UpdateApplicationVersionMessage; export type Output = ApplicationVersionDescriptionMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateConfigurationTemplate { @@ -1781,24 +1783,5 @@ export declare namespace ValidateConfigurationSettings { | CommonAwsError; } -export type ElasticBeanstalkErrors = - | CodeBuildNotInServiceRegionException - | ElasticBeanstalkServiceException - | InsufficientPrivilegesException - | InvalidRequestException - | ManagedActionInvalidStateException - | OperationInProgressException - | PlatformVersionStillReferencedException - | ResourceNotFoundException - | ResourceTypeNotSupportedException - | S3LocationNotInServiceRegionException - | S3SubscriptionRequiredException - | SourceBundleDeletionException - | TooManyApplicationVersionsException - | TooManyApplicationsException - | TooManyBucketsException - | TooManyConfigurationTemplatesException - | TooManyEnvironmentsException - | TooManyPlatformsException - | TooManyTagsException - | CommonAwsError; +export type ElasticBeanstalkErrors = CodeBuildNotInServiceRegionException | ElasticBeanstalkServiceException | InsufficientPrivilegesException | InvalidRequestException | ManagedActionInvalidStateException | OperationInProgressException | PlatformVersionStillReferencedException | ResourceNotFoundException | ResourceTypeNotSupportedException | S3LocationNotInServiceRegionException | S3SubscriptionRequiredException | SourceBundleDeletionException | TooManyApplicationVersionsException | TooManyApplicationsException | TooManyBucketsException | TooManyConfigurationTemplatesException | TooManyEnvironmentsException | TooManyPlatformsException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/elastic-load-balancing-v2/index.ts b/src/services/elastic-load-balancing-v2/index.ts index 02e04015..7bb26ccd 100644 --- a/src/services/elastic-load-balancing-v2/index.ts +++ b/src/services/elastic-load-balancing-v2/index.ts @@ -6,26 +6,7 @@ import type { ElasticLoadBalancingv2 as _ElasticLoadBalancingv2Client } from "./ export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const ElasticLoadBalancingv2 = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _ElasticLoadBalancingv2Client; diff --git a/src/services/elastic-load-balancing-v2/types.ts b/src/services/elastic-load-balancing-v2/types.ts index 39a268c9..513641c1 100644 --- a/src/services/elastic-load-balancing-v2/types.ts +++ b/src/services/elastic-load-balancing-v2/types.ts @@ -7,121 +7,49 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: AddListenerCertificatesInput, ): Effect.Effect< AddListenerCertificatesOutput, - | CertificateNotFoundException - | ListenerNotFoundException - | TooManyCertificatesException - | CommonAwsError + CertificateNotFoundException | ListenerNotFoundException | TooManyCertificatesException | CommonAwsError >; addTags( input: AddTagsInput, ): Effect.Effect< AddTagsOutput, - | DuplicateTagKeysException - | ListenerNotFoundException - | LoadBalancerNotFoundException - | RuleNotFoundException - | TargetGroupNotFoundException - | TooManyTagsException - | TrustStoreNotFoundException - | CommonAwsError + DuplicateTagKeysException | ListenerNotFoundException | LoadBalancerNotFoundException | RuleNotFoundException | TargetGroupNotFoundException | TooManyTagsException | TrustStoreNotFoundException | CommonAwsError >; addTrustStoreRevocations( input: AddTrustStoreRevocationsInput, ): Effect.Effect< AddTrustStoreRevocationsOutput, - | InvalidRevocationContentException - | RevocationContentNotFoundException - | TooManyTrustStoreRevocationEntriesException - | TrustStoreNotFoundException - | CommonAwsError + InvalidRevocationContentException | RevocationContentNotFoundException | TooManyTrustStoreRevocationEntriesException | TrustStoreNotFoundException | CommonAwsError >; createListener( input: CreateListenerInput, ): Effect.Effect< CreateListenerOutput, - | ALPNPolicyNotSupportedException - | CertificateNotFoundException - | DuplicateListenerException - | IncompatibleProtocolsException - | InvalidConfigurationRequestException - | InvalidLoadBalancerActionException - | LoadBalancerNotFoundException - | SSLPolicyNotFoundException - | TargetGroupAssociationLimitException - | TargetGroupNotFoundException - | TooManyActionsException - | TooManyCertificatesException - | TooManyListenersException - | TooManyRegistrationsForTargetIdException - | TooManyTagsException - | TooManyTargetsException - | TooManyUniqueTargetGroupsPerLoadBalancerException - | TrustStoreNotFoundException - | TrustStoreNotReadyException - | UnsupportedProtocolException - | CommonAwsError + ALPNPolicyNotSupportedException | CertificateNotFoundException | DuplicateListenerException | IncompatibleProtocolsException | InvalidConfigurationRequestException | InvalidLoadBalancerActionException | LoadBalancerNotFoundException | SSLPolicyNotFoundException | TargetGroupAssociationLimitException | TargetGroupNotFoundException | TooManyActionsException | TooManyCertificatesException | TooManyListenersException | TooManyRegistrationsForTargetIdException | TooManyTagsException | TooManyTargetsException | TooManyUniqueTargetGroupsPerLoadBalancerException | TrustStoreNotFoundException | TrustStoreNotReadyException | UnsupportedProtocolException | CommonAwsError >; createLoadBalancer( input: CreateLoadBalancerInput, ): Effect.Effect< CreateLoadBalancerOutput, - | AllocationIdNotFoundException - | AvailabilityZoneNotSupportedException - | DuplicateLoadBalancerNameException - | DuplicateTagKeysException - | InvalidConfigurationRequestException - | InvalidSchemeException - | InvalidSecurityGroupException - | InvalidSubnetException - | OperationNotPermittedException - | ResourceInUseException - | SubnetNotFoundException - | TooManyLoadBalancersException - | TooManyTagsException - | CommonAwsError + AllocationIdNotFoundException | AvailabilityZoneNotSupportedException | DuplicateLoadBalancerNameException | DuplicateTagKeysException | InvalidConfigurationRequestException | InvalidSchemeException | InvalidSecurityGroupException | InvalidSubnetException | OperationNotPermittedException | ResourceInUseException | SubnetNotFoundException | TooManyLoadBalancersException | TooManyTagsException | CommonAwsError >; createRule( input: CreateRuleInput, ): Effect.Effect< CreateRuleOutput, - | IncompatibleProtocolsException - | InvalidConfigurationRequestException - | InvalidLoadBalancerActionException - | ListenerNotFoundException - | PriorityInUseException - | TargetGroupAssociationLimitException - | TargetGroupNotFoundException - | TooManyActionsException - | TooManyRegistrationsForTargetIdException - | TooManyRulesException - | TooManyTagsException - | TooManyTargetGroupsException - | TooManyTargetsException - | TooManyUniqueTargetGroupsPerLoadBalancerException - | UnsupportedProtocolException - | CommonAwsError + IncompatibleProtocolsException | InvalidConfigurationRequestException | InvalidLoadBalancerActionException | ListenerNotFoundException | PriorityInUseException | TargetGroupAssociationLimitException | TargetGroupNotFoundException | TooManyActionsException | TooManyRegistrationsForTargetIdException | TooManyRulesException | TooManyTagsException | TooManyTargetGroupsException | TooManyTargetsException | TooManyUniqueTargetGroupsPerLoadBalancerException | UnsupportedProtocolException | CommonAwsError >; createTargetGroup( input: CreateTargetGroupInput, ): Effect.Effect< CreateTargetGroupOutput, - | DuplicateTargetGroupNameException - | InvalidConfigurationRequestException - | TooManyTagsException - | TooManyTargetGroupsException - | CommonAwsError + DuplicateTargetGroupNameException | InvalidConfigurationRequestException | TooManyTagsException | TooManyTargetGroupsException | CommonAwsError >; createTrustStore( input: CreateTrustStoreInput, ): Effect.Effect< CreateTrustStoreOutput, - | CaCertificatesBundleNotFoundException - | DuplicateTagKeysException - | DuplicateTrustStoreNameException - | InvalidCaCertificatesBundleException - | TooManyTagsException - | TooManyTrustStoresException - | CommonAwsError + CaCertificatesBundleNotFoundException | DuplicateTagKeysException | DuplicateTrustStoreNameException | InvalidCaCertificatesBundleException | TooManyTagsException | TooManyTrustStoresException | CommonAwsError >; deleteListener( input: DeleteListenerInput, @@ -133,10 +61,7 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: DeleteLoadBalancerInput, ): Effect.Effect< DeleteLoadBalancerOutput, - | LoadBalancerNotFoundException - | OperationNotPermittedException - | ResourceInUseException - | CommonAwsError + LoadBalancerNotFoundException | OperationNotPermittedException | ResourceInUseException | CommonAwsError >; deleteRule( input: DeleteRuleInput, @@ -148,10 +73,7 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: DeleteSharedTrustStoreAssociationInput, ): Effect.Effect< DeleteSharedTrustStoreAssociationOutput, - | DeleteAssociationSameAccountException - | TrustStoreAssociationNotFoundException - | TrustStoreNotFoundException - | CommonAwsError + DeleteAssociationSameAccountException | TrustStoreAssociationNotFoundException | TrustStoreNotFoundException | CommonAwsError >; deleteTargetGroup( input: DeleteTargetGroupInput, @@ -173,7 +95,10 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { >; describeAccountLimits( input: DescribeAccountLimitsInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeAccountLimitsOutput, + CommonAwsError + >; describeCapacityReservation( input: DescribeCapacityReservationInput, ): Effect.Effect< @@ -196,10 +121,7 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: DescribeListenersInput, ): Effect.Effect< DescribeListenersOutput, - | ListenerNotFoundException - | LoadBalancerNotFoundException - | UnsupportedProtocolException - | CommonAwsError + ListenerNotFoundException | LoadBalancerNotFoundException | UnsupportedProtocolException | CommonAwsError >; describeLoadBalancerAttributes( input: DescribeLoadBalancerAttributesInput, @@ -217,10 +139,7 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: DescribeRulesInput, ): Effect.Effect< DescribeRulesOutput, - | ListenerNotFoundException - | RuleNotFoundException - | UnsupportedProtocolException - | CommonAwsError + ListenerNotFoundException | RuleNotFoundException | UnsupportedProtocolException | CommonAwsError >; describeSSLPolicies( input: DescribeSSLPoliciesInput, @@ -232,12 +151,7 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: DescribeTagsInput, ): Effect.Effect< DescribeTagsOutput, - | ListenerNotFoundException - | LoadBalancerNotFoundException - | RuleNotFoundException - | TargetGroupNotFoundException - | TrustStoreNotFoundException - | CommonAwsError + ListenerNotFoundException | LoadBalancerNotFoundException | RuleNotFoundException | TargetGroupNotFoundException | TrustStoreNotFoundException | CommonAwsError >; describeTargetGroupAttributes( input: DescribeTargetGroupAttributesInput, @@ -249,20 +163,13 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: DescribeTargetGroupsInput, ): Effect.Effect< DescribeTargetGroupsOutput, - | LoadBalancerNotFoundException - | TargetGroupNotFoundException - | CommonAwsError + LoadBalancerNotFoundException | TargetGroupNotFoundException | CommonAwsError >; describeTargetHealth( input: DescribeTargetHealthInput, ): Effect.Effect< DescribeTargetHealthOutput, - | HealthUnavailableException - | InvalidTargetException - | TargetGroupNotFoundException - | InvalidTarget - | InvalidInstance - | CommonAwsError + HealthUnavailableException | InvalidTargetException | TargetGroupNotFoundException | InvalidTarget | InvalidInstance | CommonAwsError >; describeTrustStoreAssociations( input: DescribeTrustStoreAssociationsInput, @@ -304,15 +211,7 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: ModifyCapacityReservationInput, ): Effect.Effect< ModifyCapacityReservationOutput, - | CapacityDecreaseRequestsLimitExceededException - | CapacityReservationPendingException - | CapacityUnitsLimitExceededException - | InsufficientCapacityException - | InvalidConfigurationRequestException - | LoadBalancerNotFoundException - | OperationNotPermittedException - | PriorRequestNotCompleteException - | CommonAwsError + CapacityDecreaseRequestsLimitExceededException | CapacityReservationPendingException | CapacityUnitsLimitExceededException | InsufficientCapacityException | InvalidConfigurationRequestException | LoadBalancerNotFoundException | OperationNotPermittedException | PriorRequestNotCompleteException | CommonAwsError >; modifyIpPools( input: ModifyIpPoolsInput, @@ -324,94 +223,49 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: ModifyListenerInput, ): Effect.Effect< ModifyListenerOutput, - | ALPNPolicyNotSupportedException - | CertificateNotFoundException - | DuplicateListenerException - | IncompatibleProtocolsException - | InvalidConfigurationRequestException - | InvalidLoadBalancerActionException - | ListenerNotFoundException - | SSLPolicyNotFoundException - | TargetGroupAssociationLimitException - | TargetGroupNotFoundException - | TooManyActionsException - | TooManyCertificatesException - | TooManyListenersException - | TooManyRegistrationsForTargetIdException - | TooManyTargetsException - | TooManyUniqueTargetGroupsPerLoadBalancerException - | TrustStoreNotFoundException - | TrustStoreNotReadyException - | UnsupportedProtocolException - | CommonAwsError + ALPNPolicyNotSupportedException | CertificateNotFoundException | DuplicateListenerException | IncompatibleProtocolsException | InvalidConfigurationRequestException | InvalidLoadBalancerActionException | ListenerNotFoundException | SSLPolicyNotFoundException | TargetGroupAssociationLimitException | TargetGroupNotFoundException | TooManyActionsException | TooManyCertificatesException | TooManyListenersException | TooManyRegistrationsForTargetIdException | TooManyTargetsException | TooManyUniqueTargetGroupsPerLoadBalancerException | TrustStoreNotFoundException | TrustStoreNotReadyException | UnsupportedProtocolException | CommonAwsError >; modifyListenerAttributes( input: ModifyListenerAttributesInput, ): Effect.Effect< ModifyListenerAttributesOutput, - | InvalidConfigurationRequestException - | ListenerNotFoundException - | CommonAwsError + InvalidConfigurationRequestException | ListenerNotFoundException | CommonAwsError >; modifyLoadBalancerAttributes( input: ModifyLoadBalancerAttributesInput, ): Effect.Effect< ModifyLoadBalancerAttributesOutput, - | InvalidConfigurationRequestException - | LoadBalancerNotFoundException - | CommonAwsError + InvalidConfigurationRequestException | LoadBalancerNotFoundException | CommonAwsError >; modifyRule( input: ModifyRuleInput, ): Effect.Effect< ModifyRuleOutput, - | IncompatibleProtocolsException - | InvalidLoadBalancerActionException - | OperationNotPermittedException - | RuleNotFoundException - | TargetGroupAssociationLimitException - | TargetGroupNotFoundException - | TooManyActionsException - | TooManyRegistrationsForTargetIdException - | TooManyTargetsException - | TooManyUniqueTargetGroupsPerLoadBalancerException - | UnsupportedProtocolException - | CommonAwsError + IncompatibleProtocolsException | InvalidLoadBalancerActionException | OperationNotPermittedException | RuleNotFoundException | TargetGroupAssociationLimitException | TargetGroupNotFoundException | TooManyActionsException | TooManyRegistrationsForTargetIdException | TooManyTargetsException | TooManyUniqueTargetGroupsPerLoadBalancerException | UnsupportedProtocolException | CommonAwsError >; modifyTargetGroup( input: ModifyTargetGroupInput, ): Effect.Effect< ModifyTargetGroupOutput, - | InvalidConfigurationRequestException - | TargetGroupNotFoundException - | CommonAwsError + InvalidConfigurationRequestException | TargetGroupNotFoundException | CommonAwsError >; modifyTargetGroupAttributes( input: ModifyTargetGroupAttributesInput, ): Effect.Effect< ModifyTargetGroupAttributesOutput, - | InvalidConfigurationRequestException - | TargetGroupNotFoundException - | CommonAwsError + InvalidConfigurationRequestException | TargetGroupNotFoundException | CommonAwsError >; modifyTrustStore( input: ModifyTrustStoreInput, ): Effect.Effect< ModifyTrustStoreOutput, - | CaCertificatesBundleNotFoundException - | InvalidCaCertificatesBundleException - | TrustStoreNotFoundException - | CommonAwsError + CaCertificatesBundleNotFoundException | InvalidCaCertificatesBundleException | TrustStoreNotFoundException | CommonAwsError >; registerTargets( input: RegisterTargetsInput, ): Effect.Effect< RegisterTargetsOutput, - | InvalidTargetException - | TargetGroupNotFoundException - | TooManyRegistrationsForTargetIdException - | TooManyTargetsException - | CommonAwsError + InvalidTargetException | TargetGroupNotFoundException | TooManyRegistrationsForTargetIdException | TooManyTargetsException | CommonAwsError >; removeListenerCertificates( input: RemoveListenerCertificatesInput, @@ -423,13 +277,7 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: RemoveTagsInput, ): Effect.Effect< RemoveTagsOutput, - | ListenerNotFoundException - | LoadBalancerNotFoundException - | RuleNotFoundException - | TargetGroupNotFoundException - | TooManyTagsException - | TrustStoreNotFoundException - | CommonAwsError + ListenerNotFoundException | LoadBalancerNotFoundException | RuleNotFoundException | TargetGroupNotFoundException | TooManyTagsException | TrustStoreNotFoundException | CommonAwsError >; removeTrustStoreRevocations( input: RemoveTrustStoreRevocationsInput, @@ -441,41 +289,25 @@ export declare class ElasticLoadBalancingv2 extends AWSServiceClient { input: SetIpAddressTypeInput, ): Effect.Effect< SetIpAddressTypeOutput, - | InvalidConfigurationRequestException - | InvalidSubnetException - | LoadBalancerNotFoundException - | CommonAwsError + InvalidConfigurationRequestException | InvalidSubnetException | LoadBalancerNotFoundException | CommonAwsError >; setRulePriorities( input: SetRulePrioritiesInput, ): Effect.Effect< SetRulePrioritiesOutput, - | OperationNotPermittedException - | PriorityInUseException - | RuleNotFoundException - | CommonAwsError + OperationNotPermittedException | PriorityInUseException | RuleNotFoundException | CommonAwsError >; setSecurityGroups( input: SetSecurityGroupsInput, ): Effect.Effect< SetSecurityGroupsOutput, - | InvalidConfigurationRequestException - | InvalidSecurityGroupException - | LoadBalancerNotFoundException - | CommonAwsError + InvalidConfigurationRequestException | InvalidSecurityGroupException | LoadBalancerNotFoundException | CommonAwsError >; setSubnets( input: SetSubnetsInput, ): Effect.Effect< SetSubnetsOutput, - | AllocationIdNotFoundException - | AvailabilityZoneNotSupportedException - | CapacityReservationPendingException - | InvalidConfigurationRequestException - | InvalidSubnetException - | LoadBalancerNotFoundException - | SubnetNotFoundException - | CommonAwsError + AllocationIdNotFoundException | AvailabilityZoneNotSupportedException | CapacityReservationPendingException | InvalidConfigurationRequestException | InvalidSubnetException | LoadBalancerNotFoundException | SubnetNotFoundException | CommonAwsError >; } @@ -494,12 +326,7 @@ export interface Action { export type ActionOrder = number; export type Actions = Array; -export type ActionTypeEnum = - | "forward" - | "authenticate-oidc" - | "authenticate-cognito" - | "redirect" - | "fixed-response"; +export type ActionTypeEnum = "forward" | "authenticate-oidc" | "authenticate-cognito" | "redirect" | "fixed-response"; export interface AddListenerCertificatesInput { ListenerArn: string; Certificates: Array; @@ -511,7 +338,8 @@ export interface AddTagsInput { ResourceArns: Array; Tags: Array; } -export interface AddTagsOutput {} +export interface AddTagsOutput { +} export interface AddTrustStoreRevocationsInput { TrustStoreArn: string; RevocationContents?: Array; @@ -545,18 +373,12 @@ export interface AnomalyDetection { MitigationInEffect?: MitigationInEffectEnum; } export type AnomalyResultEnum = "anomalous" | "normal"; -export type AuthenticateCognitoActionAuthenticationRequestExtraParams = Record< - string, - string ->; +export type AuthenticateCognitoActionAuthenticationRequestExtraParams = Record; export type AuthenticateCognitoActionAuthenticationRequestParamName = string; export type AuthenticateCognitoActionAuthenticationRequestParamValue = string; -export type AuthenticateCognitoActionConditionalBehaviorEnum = - | "deny" - | "allow" - | "authenticate"; +export type AuthenticateCognitoActionConditionalBehaviorEnum = "deny" | "allow" | "authenticate"; export interface AuthenticateCognitoActionConfig { UserPoolArn: string; UserPoolClientId: string; @@ -579,10 +401,7 @@ export type AuthenticateCognitoActionUserPoolClientId = string; export type AuthenticateCognitoActionUserPoolDomain = string; -export type AuthenticateOidcActionAuthenticationRequestExtraParams = Record< - string, - string ->; +export type AuthenticateOidcActionAuthenticationRequestExtraParams = Record; export type AuthenticateOidcActionAuthenticationRequestParamName = string; export type AuthenticateOidcActionAuthenticationRequestParamValue = string; @@ -593,10 +412,7 @@ export type AuthenticateOidcActionClientId = string; export type AuthenticateOidcActionClientSecret = string; -export type AuthenticateOidcActionConditionalBehaviorEnum = - | "deny" - | "allow" - | "authenticate"; +export type AuthenticateOidcActionConditionalBehaviorEnum = "deny" | "allow" | "authenticate"; export interface AuthenticateOidcActionConfig { Issuer: string; AuthorizationEndpoint: string; @@ -655,11 +471,7 @@ export declare class CapacityReservationPendingException extends EffectData.Tagg )<{ readonly Message?: string; }> {} -export type CapacityReservationStateEnum = - | "provisioned" - | "pending" - | "rebalancing" - | "failed"; +export type CapacityReservationStateEnum = "provisioned" | "pending" | "rebalancing" | "failed"; export interface CapacityReservationStatus { Code?: CapacityReservationStateEnum; Reason?: string; @@ -785,33 +597,40 @@ export declare class DeleteAssociationSameAccountException extends EffectData.Ta export interface DeleteListenerInput { ListenerArn: string; } -export interface DeleteListenerOutput {} +export interface DeleteListenerOutput { +} export interface DeleteLoadBalancerInput { LoadBalancerArn: string; } -export interface DeleteLoadBalancerOutput {} +export interface DeleteLoadBalancerOutput { +} export interface DeleteRuleInput { RuleArn: string; } -export interface DeleteRuleOutput {} +export interface DeleteRuleOutput { +} export interface DeleteSharedTrustStoreAssociationInput { TrustStoreArn: string; ResourceArn: string; } -export interface DeleteSharedTrustStoreAssociationOutput {} +export interface DeleteSharedTrustStoreAssociationOutput { +} export interface DeleteTargetGroupInput { TargetGroupArn: string; } -export interface DeleteTargetGroupOutput {} +export interface DeleteTargetGroupOutput { +} export interface DeleteTrustStoreInput { TrustStoreArn: string; } -export interface DeleteTrustStoreOutput {} +export interface DeleteTrustStoreOutput { +} export interface DeregisterTargetsInput { TargetGroupArn: string; Targets: Array; } -export interface DeregisterTargetsOutput {} +export interface DeregisterTargetsOutput { +} export interface DescribeAccountLimitsInput { Marker?: string; PageSize?: number; @@ -937,8 +756,7 @@ export interface DescribeTrustStoreRevocation { RevocationType?: RevocationType; NumberOfRevokedEntries?: number; } -export type DescribeTrustStoreRevocationResponse = - Array; +export type DescribeTrustStoreRevocationResponse = Array; export interface DescribeTrustStoreRevocationsInput { TrustStoreArn: string; RevocationIds?: Array; @@ -991,9 +809,7 @@ export declare class DuplicateTrustStoreNameException extends EffectData.TaggedE export type EnablePrefixForIpv6SourceNatEnum = "on" | "off"; export type EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = string; -export type EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = - | "on" - | "off"; +export type EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = "on" | "off"; export type ErrorDescription = string; export interface FixedResponseActionConfig { @@ -1120,10 +936,7 @@ export declare class InvalidTargetException extends EffectData.TaggedError( }> {} export type IpAddress = string; -export type IpAddressType = - | "ipv4" - | "dualstack" - | "dualstack-without-public-ipv4"; +export type IpAddressType = "ipv4" | "dualstack" | "dualstack-without-public-ipv4"; export type IpamPoolId = string; export interface IpamPools { @@ -1169,8 +982,7 @@ export declare class ListenerNotFoundException extends EffectData.TaggedError( readonly Message?: string; }> {} export type Listeners = Array; -export type ListOfDescribeTargetHealthIncludeOptions = - Array; +export type ListOfDescribeTargetHealthIncludeOptions = Array; export type ListOfString = Array; export interface LoadBalancer { LoadBalancerArn?: string; @@ -1223,11 +1035,7 @@ export interface LoadBalancerState { Code?: LoadBalancerStateEnum; Reason?: string; } -export type LoadBalancerStateEnum = - | "active" - | "provisioning" - | "active_impaired" - | "failed"; +export type LoadBalancerStateEnum = "active" | "provisioning" | "active_impaired" | "failed"; export type LoadBalancerTypeEnum = "application" | "network" | "gateway"; export type Location = string; @@ -1376,14 +1184,7 @@ export declare class PriorRequestNotCompleteException extends EffectData.TaggedE }> {} export type PrivateIPv4Address = string; -export type ProtocolEnum = - | "HTTP" - | "HTTPS" - | "TCP" - | "TLS" - | "UDP" - | "TCP_UDP" - | "GENEVE"; +export type ProtocolEnum = "HTTP" | "HTTPS" | "TCP" | "TLS" | "UDP" | "TCP_UDP" | "GENEVE"; export type ProtocolVersion = string; export interface QueryStringConditionConfig { @@ -1417,24 +1218,28 @@ export interface RegisterTargetsInput { TargetGroupArn: string; Targets: Array; } -export interface RegisterTargetsOutput {} +export interface RegisterTargetsOutput { +} export type RemoveIpamPoolEnum = "ipv4"; export type RemoveIpamPools = Array; export interface RemoveListenerCertificatesInput { ListenerArn: string; Certificates: Array; } -export interface RemoveListenerCertificatesOutput {} +export interface RemoveListenerCertificatesOutput { +} export interface RemoveTagsInput { ResourceArns: Array; TagKeys: Array; } -export interface RemoveTagsOutput {} +export interface RemoveTagsOutput { +} export interface RemoveTrustStoreRevocationsInput { TrustStoreArn: string; RevocationIds: Array; } -export interface RemoveTrustStoreRevocationsOutput {} +export interface RemoveTrustStoreRevocationsOutput { +} export type ResetCapacityReservation = boolean; export type ResetTransforms = boolean; @@ -1624,16 +1429,8 @@ export type TagKeys = Array; export type TagList = Array; export type TagValue = string; -export type TargetAdministrativeOverrideReasonEnum = - | "AdministrativeOverride.Unknown" - | "AdministrativeOverride.NoOverride" - | "AdministrativeOverride.ZonalShiftActive" - | "AdministrativeOverride.ZonalShiftDelegatedToDns"; -export type TargetAdministrativeOverrideStateEnum = - | "unknown" - | "no_override" - | "zonal_shift_active" - | "zonal_shift_delegated_to_dns"; +export type TargetAdministrativeOverrideReasonEnum = "AdministrativeOverride.Unknown" | "AdministrativeOverride.NoOverride" | "AdministrativeOverride.ZonalShiftActive" | "AdministrativeOverride.ZonalShiftDelegatedToDns"; +export type TargetAdministrativeOverrideStateEnum = "unknown" | "no_override" | "zonal_shift_active" | "zonal_shift_delegated_to_dns"; export interface TargetDescription { Id: string; Port?: number; @@ -1715,27 +1512,8 @@ export interface TargetHealthDescription { AdministrativeOverride?: AdministrativeOverride; } export type TargetHealthDescriptions = Array; -export type TargetHealthReasonEnum = - | "Elb.RegistrationInProgress" - | "Elb.InitialHealthChecking" - | "Target.ResponseCodeMismatch" - | "Target.Timeout" - | "Target.FailedHealthChecks" - | "Target.NotRegistered" - | "Target.NotInUse" - | "Target.DeregistrationInProgress" - | "Target.InvalidState" - | "Target.IpUnusable" - | "Target.HealthCheckDisabled" - | "Elb.InternalError"; -export type TargetHealthStateEnum = - | "initial" - | "healthy" - | "unhealthy" - | "unhealthy.draining" - | "unused" - | "draining" - | "unavailable"; +export type TargetHealthReasonEnum = "Elb.RegistrationInProgress" | "Elb.InitialHealthChecking" | "Target.ResponseCodeMismatch" | "Target.Timeout" | "Target.FailedHealthChecks" | "Target.NotRegistered" | "Target.NotInUse" | "Target.DeregistrationInProgress" | "Target.InvalidState" | "Target.IpUnusable" | "Target.HealthCheckDisabled" | "Elb.InternalError"; +export type TargetHealthStateEnum = "initial" | "healthy" | "unhealthy" | "unhealthy.draining" | "unused" | "draining" | "unavailable"; export type TargetId = string; export type TargetTypeEnum = "instance" | "ip" | "lambda" | "alb"; @@ -1866,8 +1644,7 @@ export interface ZonalCapacityReservationState { AvailabilityZone?: string; EffectiveCapacityUnits?: number; } -export type ZonalCapacityReservationStates = - Array; +export type ZonalCapacityReservationStates = Array; export type ZoneName = string; export declare class LoadBalancerNotFound extends EffectData.TaggedError( @@ -2051,7 +1828,9 @@ export declare namespace DeleteSharedTrustStoreAssociation { export declare namespace DeleteTargetGroup { export type Input = DeleteTargetGroupInput; export type Output = DeleteTargetGroupOutput; - export type Error = ResourceInUseException | CommonAwsError; + export type Error = + | ResourceInUseException + | CommonAwsError; } export declare namespace DeleteTrustStore { @@ -2075,25 +1854,32 @@ export declare namespace DeregisterTargets { export declare namespace DescribeAccountLimits { export type Input = DescribeAccountLimitsInput; export type Output = DescribeAccountLimitsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCapacityReservation { export type Input = DescribeCapacityReservationInput; export type Output = DescribeCapacityReservationOutput; - export type Error = LoadBalancerNotFoundException | CommonAwsError; + export type Error = + | LoadBalancerNotFoundException + | CommonAwsError; } export declare namespace DescribeListenerAttributes { export type Input = DescribeListenerAttributesInput; export type Output = DescribeListenerAttributesOutput; - export type Error = ListenerNotFoundException | CommonAwsError; + export type Error = + | ListenerNotFoundException + | CommonAwsError; } export declare namespace DescribeListenerCertificates { export type Input = DescribeListenerCertificatesInput; export type Output = DescribeListenerCertificatesOutput; - export type Error = ListenerNotFoundException | CommonAwsError; + export type Error = + | ListenerNotFoundException + | CommonAwsError; } export declare namespace DescribeListeners { @@ -2109,7 +1895,9 @@ export declare namespace DescribeListeners { export declare namespace DescribeLoadBalancerAttributes { export type Input = DescribeLoadBalancerAttributesInput; export type Output = DescribeLoadBalancerAttributesOutput; - export type Error = LoadBalancerNotFoundException | CommonAwsError; + export type Error = + | LoadBalancerNotFoundException + | CommonAwsError; } export declare namespace DescribeLoadBalancers { @@ -2134,7 +1922,9 @@ export declare namespace DescribeRules { export declare namespace DescribeSSLPolicies { export type Input = DescribeSSLPoliciesInput; export type Output = DescribeSSLPoliciesOutput; - export type Error = SSLPolicyNotFoundException | CommonAwsError; + export type Error = + | SSLPolicyNotFoundException + | CommonAwsError; } export declare namespace DescribeTags { @@ -2152,7 +1942,9 @@ export declare namespace DescribeTags { export declare namespace DescribeTargetGroupAttributes { export type Input = DescribeTargetGroupAttributesInput; export type Output = DescribeTargetGroupAttributesOutput; - export type Error = TargetGroupNotFoundException | CommonAwsError; + export type Error = + | TargetGroupNotFoundException + | CommonAwsError; } export declare namespace DescribeTargetGroups { @@ -2179,7 +1971,9 @@ export declare namespace DescribeTargetHealth { export declare namespace DescribeTrustStoreAssociations { export type Input = DescribeTrustStoreAssociationsInput; export type Output = DescribeTrustStoreAssociationsOutput; - export type Error = TrustStoreNotFoundException | CommonAwsError; + export type Error = + | TrustStoreNotFoundException + | CommonAwsError; } export declare namespace DescribeTrustStoreRevocations { @@ -2194,19 +1988,25 @@ export declare namespace DescribeTrustStoreRevocations { export declare namespace DescribeTrustStores { export type Input = DescribeTrustStoresInput; export type Output = DescribeTrustStoresOutput; - export type Error = TrustStoreNotFoundException | CommonAwsError; + export type Error = + | TrustStoreNotFoundException + | CommonAwsError; } export declare namespace GetResourcePolicy { export type Input = GetResourcePolicyInput; export type Output = GetResourcePolicyOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetTrustStoreCaCertificatesBundle { export type Input = GetTrustStoreCaCertificatesBundleInput; export type Output = GetTrustStoreCaCertificatesBundleOutput; - export type Error = TrustStoreNotFoundException | CommonAwsError; + export type Error = + | TrustStoreNotFoundException + | CommonAwsError; } export declare namespace GetTrustStoreRevocationContent { @@ -2236,7 +2036,9 @@ export declare namespace ModifyCapacityReservation { export declare namespace ModifyIpPools { export type Input = ModifyIpPoolsInput; export type Output = ModifyIpPoolsOutput; - export type Error = LoadBalancerNotFoundException | CommonAwsError; + export type Error = + | LoadBalancerNotFoundException + | CommonAwsError; } export declare namespace ModifyListener { @@ -2415,64 +2217,5 @@ export declare namespace SetSubnets { | CommonAwsError; } -export type ElasticLoadBalancingv2Errors = - | ALPNPolicyNotSupportedException - | AllocationIdNotFoundException - | AvailabilityZoneNotSupportedException - | CaCertificatesBundleNotFoundException - | CapacityDecreaseRequestsLimitExceededException - | CapacityReservationPendingException - | CapacityUnitsLimitExceededException - | CertificateNotFoundException - | DeleteAssociationSameAccountException - | DuplicateListenerException - | DuplicateLoadBalancerNameException - | DuplicateTagKeysException - | DuplicateTargetGroupNameException - | DuplicateTrustStoreNameException - | HealthUnavailableException - | IncompatibleProtocolsException - | InsufficientCapacityException - | InvalidCaCertificatesBundleException - | InvalidConfigurationRequestException - | InvalidLoadBalancerActionException - | InvalidRevocationContentException - | InvalidSchemeException - | InvalidSecurityGroupException - | InvalidSubnetException - | InvalidTargetException - | ListenerNotFoundException - | LoadBalancerNotFoundException - | OperationNotPermittedException - | PriorRequestNotCompleteException - | PriorityInUseException - | ResourceInUseException - | ResourceNotFoundException - | RevocationContentNotFoundException - | RevocationIdNotFoundException - | RuleNotFoundException - | SSLPolicyNotFoundException - | SubnetNotFoundException - | TargetGroupAssociationLimitException - | TargetGroupNotFoundException - | TooManyActionsException - | TooManyCertificatesException - | TooManyListenersException - | TooManyLoadBalancersException - | TooManyRegistrationsForTargetIdException - | TooManyRulesException - | TooManyTagsException - | TooManyTargetGroupsException - | TooManyTargetsException - | TooManyTrustStoreRevocationEntriesException - | TooManyTrustStoresException - | TooManyUniqueTargetGroupsPerLoadBalancerException - | TrustStoreAssociationNotFoundException - | TrustStoreInUseException - | TrustStoreNotFoundException - | TrustStoreNotReadyException - | UnsupportedProtocolException - | LoadBalancerNotFound - | InvalidTarget - | InvalidInstance - | CommonAwsError; +export type ElasticLoadBalancingv2Errors = ALPNPolicyNotSupportedException | AllocationIdNotFoundException | AvailabilityZoneNotSupportedException | CaCertificatesBundleNotFoundException | CapacityDecreaseRequestsLimitExceededException | CapacityReservationPendingException | CapacityUnitsLimitExceededException | CertificateNotFoundException | DeleteAssociationSameAccountException | DuplicateListenerException | DuplicateLoadBalancerNameException | DuplicateTagKeysException | DuplicateTargetGroupNameException | DuplicateTrustStoreNameException | HealthUnavailableException | IncompatibleProtocolsException | InsufficientCapacityException | InvalidCaCertificatesBundleException | InvalidConfigurationRequestException | InvalidLoadBalancerActionException | InvalidRevocationContentException | InvalidSchemeException | InvalidSecurityGroupException | InvalidSubnetException | InvalidTargetException | ListenerNotFoundException | LoadBalancerNotFoundException | OperationNotPermittedException | PriorRequestNotCompleteException | PriorityInUseException | ResourceInUseException | ResourceNotFoundException | RevocationContentNotFoundException | RevocationIdNotFoundException | RuleNotFoundException | SSLPolicyNotFoundException | SubnetNotFoundException | TargetGroupAssociationLimitException | TargetGroupNotFoundException | TooManyActionsException | TooManyCertificatesException | TooManyListenersException | TooManyLoadBalancersException | TooManyRegistrationsForTargetIdException | TooManyRulesException | TooManyTagsException | TooManyTargetGroupsException | TooManyTargetsException | TooManyTrustStoreRevocationEntriesException | TooManyTrustStoresException | TooManyUniqueTargetGroupsPerLoadBalancerException | TrustStoreAssociationNotFoundException | TrustStoreInUseException | TrustStoreNotFoundException | TrustStoreNotReadyException | UnsupportedProtocolException | LoadBalancerNotFound | InvalidTarget | InvalidInstance | CommonAwsError; + diff --git a/src/services/elastic-load-balancing/index.ts b/src/services/elastic-load-balancing/index.ts index 3e80d9cc..df21c731 100644 --- a/src/services/elastic-load-balancing/index.ts +++ b/src/services/elastic-load-balancing/index.ts @@ -6,26 +6,7 @@ import type { ElasticLoadBalancing as _ElasticLoadBalancingClient } from "./type export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const ElasticLoadBalancing = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _ElasticLoadBalancingClient; diff --git a/src/services/elastic-load-balancing/types.ts b/src/services/elastic-load-balancing/types.ts index 9d1c372c..04267ba9 100644 --- a/src/services/elastic-load-balancing/types.ts +++ b/src/services/elastic-load-balancing/types.ts @@ -7,29 +7,19 @@ export declare class ElasticLoadBalancing extends AWSServiceClient { input: AddTagsInput, ): Effect.Effect< AddTagsOutput, - | AccessPointNotFoundException - | DuplicateTagKeysException - | TooManyTagsException - | CommonAwsError + AccessPointNotFoundException | DuplicateTagKeysException | TooManyTagsException | CommonAwsError >; applySecurityGroupsToLoadBalancer( input: ApplySecurityGroupsToLoadBalancerInput, ): Effect.Effect< ApplySecurityGroupsToLoadBalancerOutput, - | AccessPointNotFoundException - | InvalidConfigurationRequestException - | InvalidSecurityGroupException - | CommonAwsError + AccessPointNotFoundException | InvalidConfigurationRequestException | InvalidSecurityGroupException | CommonAwsError >; attachLoadBalancerToSubnets( input: AttachLoadBalancerToSubnetsInput, ): Effect.Effect< AttachLoadBalancerToSubnetsOutput, - | AccessPointNotFoundException - | InvalidConfigurationRequestException - | InvalidSubnetException - | SubnetNotFoundException - | CommonAwsError + AccessPointNotFoundException | InvalidConfigurationRequestException | InvalidSubnetException | SubnetNotFoundException | CommonAwsError >; configureHealthCheck( input: ConfigureHealthCheckInput, @@ -41,65 +31,38 @@ export declare class ElasticLoadBalancing extends AWSServiceClient { input: CreateAppCookieStickinessPolicyInput, ): Effect.Effect< CreateAppCookieStickinessPolicyOutput, - | AccessPointNotFoundException - | DuplicatePolicyNameException - | InvalidConfigurationRequestException - | TooManyPoliciesException - | CommonAwsError + AccessPointNotFoundException | DuplicatePolicyNameException | InvalidConfigurationRequestException | TooManyPoliciesException | CommonAwsError >; createLBCookieStickinessPolicy( input: CreateLBCookieStickinessPolicyInput, ): Effect.Effect< CreateLBCookieStickinessPolicyOutput, - | AccessPointNotFoundException - | DuplicatePolicyNameException - | InvalidConfigurationRequestException - | TooManyPoliciesException - | CommonAwsError + AccessPointNotFoundException | DuplicatePolicyNameException | InvalidConfigurationRequestException | TooManyPoliciesException | CommonAwsError >; createLoadBalancer( input: CreateAccessPointInput, ): Effect.Effect< CreateAccessPointOutput, - | CertificateNotFoundException - | DuplicateAccessPointNameException - | DuplicateTagKeysException - | InvalidConfigurationRequestException - | InvalidSchemeException - | InvalidSecurityGroupException - | InvalidSubnetException - | OperationNotPermittedException - | SubnetNotFoundException - | TooManyAccessPointsException - | TooManyTagsException - | UnsupportedProtocolException - | CommonAwsError + CertificateNotFoundException | DuplicateAccessPointNameException | DuplicateTagKeysException | InvalidConfigurationRequestException | InvalidSchemeException | InvalidSecurityGroupException | InvalidSubnetException | OperationNotPermittedException | SubnetNotFoundException | TooManyAccessPointsException | TooManyTagsException | UnsupportedProtocolException | CommonAwsError >; createLoadBalancerListeners( input: CreateLoadBalancerListenerInput, ): Effect.Effect< CreateLoadBalancerListenerOutput, - | AccessPointNotFoundException - | CertificateNotFoundException - | DuplicateListenerException - | InvalidConfigurationRequestException - | UnsupportedProtocolException - | CommonAwsError + AccessPointNotFoundException | CertificateNotFoundException | DuplicateListenerException | InvalidConfigurationRequestException | UnsupportedProtocolException | CommonAwsError >; createLoadBalancerPolicy( input: CreateLoadBalancerPolicyInput, ): Effect.Effect< CreateLoadBalancerPolicyOutput, - | AccessPointNotFoundException - | DuplicatePolicyNameException - | InvalidConfigurationRequestException - | PolicyTypeNotFoundException - | TooManyPoliciesException - | CommonAwsError + AccessPointNotFoundException | DuplicatePolicyNameException | InvalidConfigurationRequestException | PolicyTypeNotFoundException | TooManyPoliciesException | CommonAwsError >; deleteLoadBalancer( input: DeleteAccessPointInput, - ): Effect.Effect; + ): Effect.Effect< + DeleteAccessPointOutput, + CommonAwsError + >; deleteLoadBalancerListeners( input: DeleteLoadBalancerListenerInput, ): Effect.Effect< @@ -110,9 +73,7 @@ export declare class ElasticLoadBalancing extends AWSServiceClient { input: DeleteLoadBalancerPolicyInput, ): Effect.Effect< DeleteLoadBalancerPolicyOutput, - | AccessPointNotFoundException - | InvalidConfigurationRequestException - | CommonAwsError + AccessPointNotFoundException | InvalidConfigurationRequestException | CommonAwsError >; deregisterInstancesFromLoadBalancer( input: DeregisterEndPointsInput, @@ -122,23 +83,21 @@ export declare class ElasticLoadBalancing extends AWSServiceClient { >; describeAccountLimits( input: DescribeAccountLimitsInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeAccountLimitsOutput, + CommonAwsError + >; describeInstanceHealth( input: DescribeEndPointStateInput, ): Effect.Effect< DescribeEndPointStateOutput, - | AccessPointNotFoundException - | InvalidEndPointException - | InvalidInstance - | CommonAwsError + AccessPointNotFoundException | InvalidEndPointException | InvalidInstance | CommonAwsError >; describeLoadBalancerAttributes( input: DescribeLoadBalancerAttributesInput, ): Effect.Effect< DescribeLoadBalancerAttributesOutput, - | AccessPointNotFoundException - | LoadBalancerAttributeNotFoundException - | CommonAwsError + AccessPointNotFoundException | LoadBalancerAttributeNotFoundException | CommonAwsError >; describeLoadBalancerPolicies( input: DescribeLoadBalancerPoliciesInput, @@ -168,17 +127,13 @@ export declare class ElasticLoadBalancing extends AWSServiceClient { input: DetachLoadBalancerFromSubnetsInput, ): Effect.Effect< DetachLoadBalancerFromSubnetsOutput, - | AccessPointNotFoundException - | InvalidConfigurationRequestException - | CommonAwsError + AccessPointNotFoundException | InvalidConfigurationRequestException | CommonAwsError >; disableAvailabilityZonesForLoadBalancer( input: RemoveAvailabilityZonesInput, ): Effect.Effect< RemoveAvailabilityZonesOutput, - | AccessPointNotFoundException - | InvalidConfigurationRequestException - | CommonAwsError + AccessPointNotFoundException | InvalidConfigurationRequestException | CommonAwsError >; enableAvailabilityZonesForLoadBalancer( input: AddAvailabilityZonesInput, @@ -190,10 +145,7 @@ export declare class ElasticLoadBalancing extends AWSServiceClient { input: ModifyLoadBalancerAttributesInput, ): Effect.Effect< ModifyLoadBalancerAttributesOutput, - | AccessPointNotFoundException - | InvalidConfigurationRequestException - | LoadBalancerAttributeNotFoundException - | CommonAwsError + AccessPointNotFoundException | InvalidConfigurationRequestException | LoadBalancerAttributeNotFoundException | CommonAwsError >; registerInstancesWithLoadBalancer( input: RegisterEndPointsInput, @@ -211,31 +163,19 @@ export declare class ElasticLoadBalancing extends AWSServiceClient { input: SetLoadBalancerListenerSSLCertificateInput, ): Effect.Effect< SetLoadBalancerListenerSSLCertificateOutput, - | AccessPointNotFoundException - | CertificateNotFoundException - | InvalidConfigurationRequestException - | ListenerNotFoundException - | UnsupportedProtocolException - | CommonAwsError + AccessPointNotFoundException | CertificateNotFoundException | InvalidConfigurationRequestException | ListenerNotFoundException | UnsupportedProtocolException | CommonAwsError >; setLoadBalancerPoliciesForBackendServer( input: SetLoadBalancerPoliciesForBackendServerInput, ): Effect.Effect< SetLoadBalancerPoliciesForBackendServerOutput, - | AccessPointNotFoundException - | InvalidConfigurationRequestException - | PolicyNotFoundException - | CommonAwsError + AccessPointNotFoundException | InvalidConfigurationRequestException | PolicyNotFoundException | CommonAwsError >; setLoadBalancerPoliciesOfListener( input: SetLoadBalancerPoliciesOfListenerInput, ): Effect.Effect< SetLoadBalancerPoliciesOfListenerOutput, - | AccessPointNotFoundException - | InvalidConfigurationRequestException - | ListenerNotFoundException - | PolicyNotFoundException - | CommonAwsError + AccessPointNotFoundException | InvalidConfigurationRequestException | ListenerNotFoundException | PolicyNotFoundException | CommonAwsError >; } @@ -280,7 +220,8 @@ export interface AddTagsInput { LoadBalancerNames: Array; Tags: Array; } -export interface AddTagsOutput {} +export interface AddTagsOutput { +} export type AppCookieStickinessPolicies = Array; export interface AppCookieStickinessPolicy { PolicyName?: string; @@ -360,7 +301,8 @@ export interface CreateAppCookieStickinessPolicyInput { PolicyName: string; CookieName: string; } -export interface CreateAppCookieStickinessPolicyOutput {} +export interface CreateAppCookieStickinessPolicyOutput { +} export type CreatedTime = Date | string; export interface CreateLBCookieStickinessPolicyInput { @@ -368,19 +310,22 @@ export interface CreateLBCookieStickinessPolicyInput { PolicyName: string; CookieExpirationPeriod?: number; } -export interface CreateLBCookieStickinessPolicyOutput {} +export interface CreateLBCookieStickinessPolicyOutput { +} export interface CreateLoadBalancerListenerInput { LoadBalancerName: string; Listeners: Array; } -export interface CreateLoadBalancerListenerOutput {} +export interface CreateLoadBalancerListenerOutput { +} export interface CreateLoadBalancerPolicyInput { LoadBalancerName: string; PolicyName: string; PolicyTypeName: string; PolicyAttributes?: Array; } -export interface CreateLoadBalancerPolicyOutput {} +export interface CreateLoadBalancerPolicyOutput { +} export interface CrossZoneLoadBalancing { Enabled: boolean; } @@ -391,17 +336,20 @@ export type DefaultValue = string; export interface DeleteAccessPointInput { LoadBalancerName: string; } -export interface DeleteAccessPointOutput {} +export interface DeleteAccessPointOutput { +} export interface DeleteLoadBalancerListenerInput { LoadBalancerName: string; LoadBalancerPorts: Array; } -export interface DeleteLoadBalancerListenerOutput {} +export interface DeleteLoadBalancerListenerOutput { +} export interface DeleteLoadBalancerPolicyInput { LoadBalancerName: string; PolicyName: string; } -export interface DeleteLoadBalancerPolicyOutput {} +export interface DeleteLoadBalancerPolicyOutput { +} export declare class DependencyThrottleException extends EffectData.TaggedError( "DependencyThrottleException", )<{ @@ -661,8 +609,7 @@ export interface PolicyAttributeTypeDescription { DefaultValue?: string; Cardinality?: string; } -export type PolicyAttributeTypeDescriptions = - Array; +export type PolicyAttributeTypeDescriptions = Array; export interface PolicyDescription { PolicyName?: string; PolicyTypeName?: string; @@ -714,7 +661,8 @@ export interface RemoveTagsInput { LoadBalancerNames: Array; Tags: Array; } -export interface RemoveTagsOutput {} +export interface RemoveTagsOutput { +} export type S3BucketName = string; export type SecurityGroupId = string; @@ -729,19 +677,22 @@ export interface SetLoadBalancerListenerSSLCertificateInput { LoadBalancerPort: number; SSLCertificateId: string; } -export interface SetLoadBalancerListenerSSLCertificateOutput {} +export interface SetLoadBalancerListenerSSLCertificateOutput { +} export interface SetLoadBalancerPoliciesForBackendServerInput { LoadBalancerName: string; InstancePort: number; PolicyNames: Array; } -export interface SetLoadBalancerPoliciesForBackendServerOutput {} +export interface SetLoadBalancerPoliciesForBackendServerOutput { +} export interface SetLoadBalancerPoliciesOfListenerInput { LoadBalancerName: string; LoadBalancerPort: number; PolicyNames: Array; } -export interface SetLoadBalancerPoliciesOfListenerOutput {} +export interface SetLoadBalancerPoliciesOfListenerOutput { +} export interface SourceSecurityGroup { OwnerAlias?: string; GroupName?: string; @@ -838,7 +789,9 @@ export declare namespace AttachLoadBalancerToSubnets { export declare namespace ConfigureHealthCheck { export type Input = ConfigureHealthCheckInput; export type Output = ConfigureHealthCheckOutput; - export type Error = AccessPointNotFoundException | CommonAwsError; + export type Error = + | AccessPointNotFoundException + | CommonAwsError; } export declare namespace CreateAppCookieStickinessPolicy { @@ -909,13 +862,16 @@ export declare namespace CreateLoadBalancerPolicy { export declare namespace DeleteLoadBalancer { export type Input = DeleteAccessPointInput; export type Output = DeleteAccessPointOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteLoadBalancerListeners { export type Input = DeleteLoadBalancerListenerInput; export type Output = DeleteLoadBalancerListenerOutput; - export type Error = AccessPointNotFoundException | CommonAwsError; + export type Error = + | AccessPointNotFoundException + | CommonAwsError; } export declare namespace DeleteLoadBalancerPolicy { @@ -939,7 +895,8 @@ export declare namespace DeregisterInstancesFromLoadBalancer { export declare namespace DescribeAccountLimits { export type Input = DescribeAccountLimitsInput; export type Output = DescribeAccountLimitsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInstanceHealth { @@ -973,7 +930,9 @@ export declare namespace DescribeLoadBalancerPolicies { export declare namespace DescribeLoadBalancerPolicyTypes { export type Input = DescribeLoadBalancerPolicyTypesInput; export type Output = DescribeLoadBalancerPolicyTypesOutput; - export type Error = PolicyTypeNotFoundException | CommonAwsError; + export type Error = + | PolicyTypeNotFoundException + | CommonAwsError; } export declare namespace DescribeLoadBalancers { @@ -988,7 +947,9 @@ export declare namespace DescribeLoadBalancers { export declare namespace DescribeTags { export type Input = DescribeTagsInput; export type Output = DescribeTagsOutput; - export type Error = AccessPointNotFoundException | CommonAwsError; + export type Error = + | AccessPointNotFoundException + | CommonAwsError; } export declare namespace DetachLoadBalancerFromSubnets { @@ -1012,7 +973,9 @@ export declare namespace DisableAvailabilityZonesForLoadBalancer { export declare namespace EnableAvailabilityZonesForLoadBalancer { export type Input = AddAvailabilityZonesInput; export type Output = AddAvailabilityZonesOutput; - export type Error = AccessPointNotFoundException | CommonAwsError; + export type Error = + | AccessPointNotFoundException + | CommonAwsError; } export declare namespace ModifyLoadBalancerAttributes { @@ -1037,7 +1000,9 @@ export declare namespace RegisterInstancesWithLoadBalancer { export declare namespace RemoveTags { export type Input = RemoveTagsInput; export type Output = RemoveTagsOutput; - export type Error = AccessPointNotFoundException | CommonAwsError; + export type Error = + | AccessPointNotFoundException + | CommonAwsError; } export declare namespace SetLoadBalancerListenerSSLCertificate { @@ -1073,28 +1038,5 @@ export declare namespace SetLoadBalancerPoliciesOfListener { | CommonAwsError; } -export type ElasticLoadBalancingErrors = - | AccessPointNotFoundException - | CertificateNotFoundException - | DependencyThrottleException - | DuplicateAccessPointNameException - | DuplicateListenerException - | DuplicatePolicyNameException - | DuplicateTagKeysException - | InvalidConfigurationRequestException - | InvalidEndPointException - | InvalidSchemeException - | InvalidSecurityGroupException - | InvalidSubnetException - | ListenerNotFoundException - | LoadBalancerAttributeNotFoundException - | OperationNotPermittedException - | PolicyNotFoundException - | PolicyTypeNotFoundException - | SubnetNotFoundException - | TooManyAccessPointsException - | TooManyPoliciesException - | TooManyTagsException - | UnsupportedProtocolException - | InvalidInstance - | CommonAwsError; +export type ElasticLoadBalancingErrors = AccessPointNotFoundException | CertificateNotFoundException | DependencyThrottleException | DuplicateAccessPointNameException | DuplicateListenerException | DuplicatePolicyNameException | DuplicateTagKeysException | InvalidConfigurationRequestException | InvalidEndPointException | InvalidSchemeException | InvalidSecurityGroupException | InvalidSubnetException | ListenerNotFoundException | LoadBalancerAttributeNotFoundException | OperationNotPermittedException | PolicyNotFoundException | PolicyTypeNotFoundException | SubnetNotFoundException | TooManyAccessPointsException | TooManyPoliciesException | TooManyTagsException | UnsupportedProtocolException | InvalidInstance | CommonAwsError; + diff --git a/src/services/elastic-transcoder/index.ts b/src/services/elastic-transcoder/index.ts index 9265b2a6..1e7fe867 100644 --- a/src/services/elastic-transcoder/index.ts +++ b/src/services/elastic-transcoder/index.ts @@ -5,24 +5,7 @@ import type { ElasticTranscoder as _ElasticTranscoderClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,24 +15,23 @@ const metadata = { sigV4ServiceName: "elastictranscoder", endpointPrefix: "elastictranscoder", operations: { - CancelJob: "DELETE /2012-09-25/jobs/{Id}", - CreateJob: "POST /2012-09-25/jobs", - CreatePipeline: "POST /2012-09-25/pipelines", - CreatePreset: "POST /2012-09-25/presets", - DeletePipeline: "DELETE /2012-09-25/pipelines/{Id}", - DeletePreset: "DELETE /2012-09-25/presets/{Id}", - ListJobsByPipeline: "GET /2012-09-25/jobsByPipeline/{PipelineId}", - ListJobsByStatus: "GET /2012-09-25/jobsByStatus/{Status}", - ListPipelines: "GET /2012-09-25/pipelines", - ListPresets: "GET /2012-09-25/presets", - ReadJob: "GET /2012-09-25/jobs/{Id}", - ReadPipeline: "GET /2012-09-25/pipelines/{Id}", - ReadPreset: "GET /2012-09-25/presets/{Id}", - TestRole: "POST /2012-09-25/roleTests", - UpdatePipeline: "PUT /2012-09-25/pipelines/{Id}", - UpdatePipelineNotifications: - "POST /2012-09-25/pipelines/{Id}/notifications", - UpdatePipelineStatus: "POST /2012-09-25/pipelines/{Id}/status", + "CancelJob": "DELETE /2012-09-25/jobs/{Id}", + "CreateJob": "POST /2012-09-25/jobs", + "CreatePipeline": "POST /2012-09-25/pipelines", + "CreatePreset": "POST /2012-09-25/presets", + "DeletePipeline": "DELETE /2012-09-25/pipelines/{Id}", + "DeletePreset": "DELETE /2012-09-25/presets/{Id}", + "ListJobsByPipeline": "GET /2012-09-25/jobsByPipeline/{PipelineId}", + "ListJobsByStatus": "GET /2012-09-25/jobsByStatus/{Status}", + "ListPipelines": "GET /2012-09-25/pipelines", + "ListPresets": "GET /2012-09-25/presets", + "ReadJob": "GET /2012-09-25/jobs/{Id}", + "ReadPipeline": "GET /2012-09-25/pipelines/{Id}", + "ReadPreset": "GET /2012-09-25/presets/{Id}", + "TestRole": "POST /2012-09-25/roleTests", + "UpdatePipeline": "PUT /2012-09-25/pipelines/{Id}", + "UpdatePipelineNotifications": "POST /2012-09-25/pipelines/{Id}/notifications", + "UpdatePipelineStatus": "POST /2012-09-25/pipelines/{Id}/status", }, } as const satisfies ServiceMetadata; diff --git a/src/services/elastic-transcoder/types.ts b/src/services/elastic-transcoder/types.ts index 94f02777..18646767 100644 --- a/src/services/elastic-transcoder/types.ts +++ b/src/services/elastic-transcoder/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ElasticTranscoder extends AWSServiceClient { @@ -41,193 +8,103 @@ export declare class ElasticTranscoder extends AWSServiceClient { input: CancelJobRequest, ): Effect.Effect< CancelJobResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; createJob( input: CreateJobRequest, ): Effect.Effect< CreateJobResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; createPipeline( input: CreatePipelineRequest, ): Effect.Effect< CreatePipelineResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; createPreset( input: CreatePresetRequest, ): Effect.Effect< CreatePresetResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | LimitExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | LimitExceededException | ValidationException | CommonAwsError >; deletePipeline( input: DeletePipelineRequest, ): Effect.Effect< DeletePipelineResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; deletePreset( input: DeletePresetRequest, ): Effect.Effect< DeletePresetResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; listJobsByPipeline( input: ListJobsByPipelineRequest, ): Effect.Effect< ListJobsByPipelineResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; listJobsByStatus( input: ListJobsByStatusRequest, ): Effect.Effect< ListJobsByStatusResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; listPipelines( input: ListPipelinesRequest, ): Effect.Effect< ListPipelinesResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ValidationException | CommonAwsError >; listPresets( input: ListPresetsRequest, ): Effect.Effect< ListPresetsResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ValidationException | CommonAwsError >; readJob( input: ReadJobRequest, ): Effect.Effect< ReadJobResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; readPipeline( input: ReadPipelineRequest, ): Effect.Effect< ReadPipelineResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; readPreset( input: ReadPresetRequest, ): Effect.Effect< ReadPresetResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; testRole( input: TestRoleRequest, ): Effect.Effect< TestRoleResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceNotFoundException | ValidationException | CommonAwsError >; updatePipeline( input: UpdatePipelineRequest, ): Effect.Effect< UpdatePipelineResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; updatePipelineNotifications( input: UpdatePipelineNotificationsRequest, ): Effect.Effect< UpdatePipelineNotificationsResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; updatePipelineStatus( input: UpdatePipelineStatusRequest, ): Effect.Effect< UpdatePipelineStatusResponse, - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | IncompatibleVersionException | InternalServiceException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -292,7 +169,8 @@ export type BucketName = string; export interface CancelJobRequest { Id: string; } -export interface CancelJobResponse {} +export interface CancelJobResponse { +} export interface CaptionFormat { Format?: string; Pattern?: string; @@ -389,11 +267,13 @@ export interface CreatePresetResponse { export interface DeletePipelineRequest { Id: string; } -export interface DeletePipelineResponse {} +export interface DeletePipelineResponse { +} export interface DeletePresetRequest { Id: string; } -export interface DeletePresetResponse {} +export interface DeletePresetResponse { +} export type Description = string; export interface DetectedProperties { @@ -1050,12 +930,5 @@ export declare namespace UpdatePipelineStatus { | CommonAwsError; } -export type ElasticTranscoderErrors = - | AccessDeniedException - | IncompatibleVersionException - | InternalServiceException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type ElasticTranscoderErrors = AccessDeniedException | IncompatibleVersionException | InternalServiceException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/elasticache/index.ts b/src/services/elasticache/index.ts index b16abb56..d81deafd 100644 --- a/src/services/elasticache/index.ts +++ b/src/services/elasticache/index.ts @@ -6,26 +6,7 @@ import type { ElastiCache as _ElastiCacheClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const ElastiCache = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _ElastiCacheClient; diff --git a/src/services/elasticache/types.ts b/src/services/elasticache/types.ts index c38c6e4e..6deb00d8 100644 --- a/src/services/elasticache/types.ts +++ b/src/services/elasticache/types.ts @@ -7,34 +7,13 @@ export declare class ElastiCache extends AWSServiceClient { input: AddTagsToResourceMessage, ): Effect.Effect< TagListMessage, - | CacheClusterNotFoundFault - | CacheParameterGroupNotFoundFault - | CacheSecurityGroupNotFoundFault - | CacheSubnetGroupNotFoundFault - | InvalidARNFault - | InvalidReplicationGroupStateFault - | InvalidServerlessCacheSnapshotStateFault - | InvalidServerlessCacheStateFault - | ReplicationGroupNotFoundFault - | ReservedCacheNodeNotFoundFault - | ServerlessCacheNotFoundFault - | ServerlessCacheSnapshotNotFoundFault - | SnapshotNotFoundFault - | TagQuotaPerResourceExceeded - | UserGroupNotFoundFault - | UserNotFoundFault - | CommonAwsError + CacheClusterNotFoundFault | CacheParameterGroupNotFoundFault | CacheSecurityGroupNotFoundFault | CacheSubnetGroupNotFoundFault | InvalidARNFault | InvalidReplicationGroupStateFault | InvalidServerlessCacheSnapshotStateFault | InvalidServerlessCacheStateFault | ReplicationGroupNotFoundFault | ReservedCacheNodeNotFoundFault | ServerlessCacheNotFoundFault | ServerlessCacheSnapshotNotFoundFault | SnapshotNotFoundFault | TagQuotaPerResourceExceeded | UserGroupNotFoundFault | UserNotFoundFault | CommonAwsError >; authorizeCacheSecurityGroupIngress( input: AuthorizeCacheSecurityGroupIngressMessage, ): Effect.Effect< AuthorizeCacheSecurityGroupIngressResult, - | AuthorizationAlreadyExistsFault - | CacheSecurityGroupNotFoundFault - | InvalidCacheSecurityGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + AuthorizationAlreadyExistsFault | CacheSecurityGroupNotFoundFault | InvalidCacheSecurityGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; batchApplyUpdateAction( input: BatchApplyUpdateActionMessage, @@ -52,263 +31,115 @@ export declare class ElastiCache extends AWSServiceClient { input: CompleteMigrationMessage, ): Effect.Effect< CompleteMigrationResponse, - | InvalidReplicationGroupStateFault - | ReplicationGroupNotFoundFault - | ReplicationGroupNotUnderMigrationFault - | CommonAwsError + InvalidReplicationGroupStateFault | ReplicationGroupNotFoundFault | ReplicationGroupNotUnderMigrationFault | CommonAwsError >; copyServerlessCacheSnapshot( input: CopyServerlessCacheSnapshotRequest, ): Effect.Effect< CopyServerlessCacheSnapshotResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidServerlessCacheSnapshotStateFault - | ServerlessCacheSnapshotAlreadyExistsFault - | ServerlessCacheSnapshotNotFoundFault - | ServerlessCacheSnapshotQuotaExceededFault - | ServiceLinkedRoleNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | InvalidServerlessCacheSnapshotStateFault | ServerlessCacheSnapshotAlreadyExistsFault | ServerlessCacheSnapshotNotFoundFault | ServerlessCacheSnapshotQuotaExceededFault | ServiceLinkedRoleNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; copySnapshot( input: CopySnapshotMessage, ): Effect.Effect< CopySnapshotResult, - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidSnapshotStateFault - | SnapshotAlreadyExistsFault - | SnapshotNotFoundFault - | SnapshotQuotaExceededFault - | TagQuotaPerResourceExceeded - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | InvalidSnapshotStateFault | SnapshotAlreadyExistsFault | SnapshotNotFoundFault | SnapshotQuotaExceededFault | TagQuotaPerResourceExceeded | CommonAwsError >; createCacheCluster( input: CreateCacheClusterMessage, ): Effect.Effect< CreateCacheClusterResult, - | CacheClusterAlreadyExistsFault - | CacheParameterGroupNotFoundFault - | CacheSecurityGroupNotFoundFault - | CacheSubnetGroupNotFoundFault - | ClusterQuotaForCustomerExceededFault - | InsufficientCacheClusterCapacityFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | InvalidVPCNetworkStateFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | ReplicationGroupNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + CacheClusterAlreadyExistsFault | CacheParameterGroupNotFoundFault | CacheSecurityGroupNotFoundFault | CacheSubnetGroupNotFoundFault | ClusterQuotaForCustomerExceededFault | InsufficientCacheClusterCapacityFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidReplicationGroupStateFault | InvalidVPCNetworkStateFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | ReplicationGroupNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; createCacheParameterGroup( input: CreateCacheParameterGroupMessage, ): Effect.Effect< CreateCacheParameterGroupResult, - | CacheParameterGroupAlreadyExistsFault - | CacheParameterGroupQuotaExceededFault - | InvalidCacheParameterGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | TagQuotaPerResourceExceeded - | CommonAwsError + CacheParameterGroupAlreadyExistsFault | CacheParameterGroupQuotaExceededFault | InvalidCacheParameterGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | TagQuotaPerResourceExceeded | CommonAwsError >; createCacheSecurityGroup( input: CreateCacheSecurityGroupMessage, ): Effect.Effect< CreateCacheSecurityGroupResult, - | CacheSecurityGroupAlreadyExistsFault - | CacheSecurityGroupQuotaExceededFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | TagQuotaPerResourceExceeded - | CommonAwsError + CacheSecurityGroupAlreadyExistsFault | CacheSecurityGroupQuotaExceededFault | InvalidParameterCombinationException | InvalidParameterValueException | TagQuotaPerResourceExceeded | CommonAwsError >; createCacheSubnetGroup( input: CreateCacheSubnetGroupMessage, ): Effect.Effect< CreateCacheSubnetGroupResult, - | CacheSubnetGroupAlreadyExistsFault - | CacheSubnetGroupQuotaExceededFault - | CacheSubnetQuotaExceededFault - | InvalidSubnet - | SubnetNotAllowedFault - | TagQuotaPerResourceExceeded - | CommonAwsError + CacheSubnetGroupAlreadyExistsFault | CacheSubnetGroupQuotaExceededFault | CacheSubnetQuotaExceededFault | InvalidSubnet | SubnetNotAllowedFault | TagQuotaPerResourceExceeded | CommonAwsError >; createGlobalReplicationGroup( input: CreateGlobalReplicationGroupMessage, ): Effect.Effect< CreateGlobalReplicationGroupResult, - | GlobalReplicationGroupAlreadyExistsFault - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | ReplicationGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + GlobalReplicationGroupAlreadyExistsFault | InvalidParameterValueException | InvalidReplicationGroupStateFault | ReplicationGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; createReplicationGroup( input: CreateReplicationGroupMessage, ): Effect.Effect< CreateReplicationGroupResult, - | CacheClusterNotFoundFault - | CacheParameterGroupNotFoundFault - | CacheSecurityGroupNotFoundFault - | CacheSubnetGroupNotFoundFault - | ClusterQuotaForCustomerExceededFault - | GlobalReplicationGroupNotFoundFault - | InsufficientCacheClusterCapacityFault - | InvalidCacheClusterStateFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidUserGroupStateFault - | InvalidVPCNetworkStateFault - | NodeGroupsPerReplicationGroupQuotaExceededFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | ReplicationGroupAlreadyExistsFault - | TagQuotaPerResourceExceeded - | UserGroupNotFoundFault - | CommonAwsError + CacheClusterNotFoundFault | CacheParameterGroupNotFoundFault | CacheSecurityGroupNotFoundFault | CacheSubnetGroupNotFoundFault | ClusterQuotaForCustomerExceededFault | GlobalReplicationGroupNotFoundFault | InsufficientCacheClusterCapacityFault | InvalidCacheClusterStateFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidUserGroupStateFault | InvalidVPCNetworkStateFault | NodeGroupsPerReplicationGroupQuotaExceededFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | ReplicationGroupAlreadyExistsFault | TagQuotaPerResourceExceeded | UserGroupNotFoundFault | CommonAwsError >; createServerlessCache( input: CreateServerlessCacheRequest, ): Effect.Effect< CreateServerlessCacheResponse, - | InvalidCredentialsException - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidServerlessCacheStateFault - | InvalidUserGroupStateFault - | ServerlessCacheAlreadyExistsFault - | ServerlessCacheNotFoundFault - | ServerlessCacheQuotaForCustomerExceededFault - | ServiceLinkedRoleNotFoundFault - | TagQuotaPerResourceExceeded - | UserGroupNotFoundFault - | CommonAwsError + InvalidCredentialsException | InvalidParameterCombinationException | InvalidParameterValueException | InvalidServerlessCacheStateFault | InvalidUserGroupStateFault | ServerlessCacheAlreadyExistsFault | ServerlessCacheNotFoundFault | ServerlessCacheQuotaForCustomerExceededFault | ServiceLinkedRoleNotFoundFault | TagQuotaPerResourceExceeded | UserGroupNotFoundFault | CommonAwsError >; createServerlessCacheSnapshot( input: CreateServerlessCacheSnapshotRequest, ): Effect.Effect< CreateServerlessCacheSnapshotResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidServerlessCacheStateFault - | ServerlessCacheNotFoundFault - | ServerlessCacheSnapshotAlreadyExistsFault - | ServerlessCacheSnapshotQuotaExceededFault - | ServiceLinkedRoleNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | InvalidServerlessCacheStateFault | ServerlessCacheNotFoundFault | ServerlessCacheSnapshotAlreadyExistsFault | ServerlessCacheSnapshotQuotaExceededFault | ServiceLinkedRoleNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; createSnapshot( input: CreateSnapshotMessage, ): Effect.Effect< CreateSnapshotResult, - | CacheClusterNotFoundFault - | InvalidCacheClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | ReplicationGroupNotFoundFault - | SnapshotAlreadyExistsFault - | SnapshotFeatureNotSupportedFault - | SnapshotQuotaExceededFault - | TagQuotaPerResourceExceeded - | CommonAwsError + CacheClusterNotFoundFault | InvalidCacheClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidReplicationGroupStateFault | ReplicationGroupNotFoundFault | SnapshotAlreadyExistsFault | SnapshotFeatureNotSupportedFault | SnapshotQuotaExceededFault | TagQuotaPerResourceExceeded | CommonAwsError >; createUser( input: CreateUserMessage, ): Effect.Effect< User, - | DuplicateUserNameFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | TagQuotaPerResourceExceeded - | UserAlreadyExistsFault - | UserQuotaExceededFault - | CommonAwsError + DuplicateUserNameFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | TagQuotaPerResourceExceeded | UserAlreadyExistsFault | UserQuotaExceededFault | CommonAwsError >; createUserGroup( input: CreateUserGroupMessage, ): Effect.Effect< UserGroup, - | DefaultUserRequired - | DuplicateUserNameFault - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | TagQuotaPerResourceExceeded - | UserGroupAlreadyExistsFault - | UserGroupQuotaExceededFault - | UserNotFoundFault - | CommonAwsError + DefaultUserRequired | DuplicateUserNameFault | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | TagQuotaPerResourceExceeded | UserGroupAlreadyExistsFault | UserGroupQuotaExceededFault | UserNotFoundFault | CommonAwsError >; decreaseNodeGroupsInGlobalReplicationGroup( input: DecreaseNodeGroupsInGlobalReplicationGroupMessage, ): Effect.Effect< DecreaseNodeGroupsInGlobalReplicationGroupResult, - | GlobalReplicationGroupNotFoundFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + GlobalReplicationGroupNotFoundFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; decreaseReplicaCount( input: DecreaseReplicaCountMessage, ): Effect.Effect< DecreaseReplicaCountResult, - | ClusterQuotaForCustomerExceededFault - | InsufficientCacheClusterCapacityFault - | InvalidCacheClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | InvalidVPCNetworkStateFault - | NodeGroupsPerReplicationGroupQuotaExceededFault - | NodeQuotaForCustomerExceededFault - | NoOperationFault - | ReplicationGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterQuotaForCustomerExceededFault | InsufficientCacheClusterCapacityFault | InvalidCacheClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidReplicationGroupStateFault | InvalidVPCNetworkStateFault | NodeGroupsPerReplicationGroupQuotaExceededFault | NodeQuotaForCustomerExceededFault | NoOperationFault | ReplicationGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; deleteCacheCluster( input: DeleteCacheClusterMessage, ): Effect.Effect< DeleteCacheClusterResult, - | CacheClusterNotFoundFault - | InvalidCacheClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | SnapshotAlreadyExistsFault - | SnapshotFeatureNotSupportedFault - | SnapshotQuotaExceededFault - | CommonAwsError + CacheClusterNotFoundFault | InvalidCacheClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | SnapshotAlreadyExistsFault | SnapshotFeatureNotSupportedFault | SnapshotQuotaExceededFault | CommonAwsError >; deleteCacheParameterGroup( input: DeleteCacheParameterGroupMessage, ): Effect.Effect< {}, - | CacheParameterGroupNotFoundFault - | InvalidCacheParameterGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + CacheParameterGroupNotFoundFault | InvalidCacheParameterGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; deleteCacheSecurityGroup( input: DeleteCacheSecurityGroupMessage, ): Effect.Effect< {}, - | CacheSecurityGroupNotFoundFault - | InvalidCacheSecurityGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + CacheSecurityGroupNotFoundFault | InvalidCacheSecurityGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; deleteCacheSubnetGroup( input: DeleteCacheSubnetGroupMessage, @@ -320,117 +151,73 @@ export declare class ElastiCache extends AWSServiceClient { input: DeleteGlobalReplicationGroupMessage, ): Effect.Effect< DeleteGlobalReplicationGroupResult, - | GlobalReplicationGroupNotFoundFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterValueException - | CommonAwsError + GlobalReplicationGroupNotFoundFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterValueException | CommonAwsError >; deleteReplicationGroup( input: DeleteReplicationGroupMessage, ): Effect.Effect< DeleteReplicationGroupResult, - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | ReplicationGroupNotFoundFault - | SnapshotAlreadyExistsFault - | SnapshotFeatureNotSupportedFault - | SnapshotQuotaExceededFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | InvalidReplicationGroupStateFault | ReplicationGroupNotFoundFault | SnapshotAlreadyExistsFault | SnapshotFeatureNotSupportedFault | SnapshotQuotaExceededFault | CommonAwsError >; deleteServerlessCache( input: DeleteServerlessCacheRequest, ): Effect.Effect< DeleteServerlessCacheResponse, - | InvalidCredentialsException - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidServerlessCacheStateFault - | ServerlessCacheNotFoundFault - | ServerlessCacheSnapshotAlreadyExistsFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidCredentialsException | InvalidParameterCombinationException | InvalidParameterValueException | InvalidServerlessCacheStateFault | ServerlessCacheNotFoundFault | ServerlessCacheSnapshotAlreadyExistsFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; deleteServerlessCacheSnapshot( input: DeleteServerlessCacheSnapshotRequest, ): Effect.Effect< DeleteServerlessCacheSnapshotResponse, - | InvalidParameterValueException - | InvalidServerlessCacheSnapshotStateFault - | ServerlessCacheSnapshotNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterValueException | InvalidServerlessCacheSnapshotStateFault | ServerlessCacheSnapshotNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; deleteSnapshot( input: DeleteSnapshotMessage, ): Effect.Effect< DeleteSnapshotResult, - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidSnapshotStateFault - | SnapshotNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | InvalidSnapshotStateFault | SnapshotNotFoundFault | CommonAwsError >; deleteUser( input: DeleteUserMessage, ): Effect.Effect< User, - | DefaultUserAssociatedToUserGroupFault - | InvalidParameterValueException - | InvalidUserStateFault - | ServiceLinkedRoleNotFoundFault - | UserNotFoundFault - | CommonAwsError + DefaultUserAssociatedToUserGroupFault | InvalidParameterValueException | InvalidUserStateFault | ServiceLinkedRoleNotFoundFault | UserNotFoundFault | CommonAwsError >; deleteUserGroup( input: DeleteUserGroupMessage, ): Effect.Effect< UserGroup, - | InvalidParameterValueException - | InvalidUserGroupStateFault - | ServiceLinkedRoleNotFoundFault - | UserGroupNotFoundFault - | CommonAwsError + InvalidParameterValueException | InvalidUserGroupStateFault | ServiceLinkedRoleNotFoundFault | UserGroupNotFoundFault | CommonAwsError >; describeCacheClusters( input: DescribeCacheClustersMessage, ): Effect.Effect< CacheClusterMessage, - | CacheClusterNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CacheClusterNotFound - | CommonAwsError + CacheClusterNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | CacheClusterNotFound | CommonAwsError >; describeCacheEngineVersions( input: DescribeCacheEngineVersionsMessage, - ): Effect.Effect; + ): Effect.Effect< + CacheEngineVersionMessage, + CommonAwsError + >; describeCacheParameterGroups( input: DescribeCacheParameterGroupsMessage, ): Effect.Effect< CacheParameterGroupsMessage, - | CacheParameterGroupNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + CacheParameterGroupNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; describeCacheParameters( input: DescribeCacheParametersMessage, ): Effect.Effect< CacheParameterGroupDetails, - | CacheParameterGroupNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + CacheParameterGroupNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; describeCacheSecurityGroups( input: DescribeCacheSecurityGroupsMessage, ): Effect.Effect< CacheSecurityGroupMessage, - | CacheSecurityGroupNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + CacheSecurityGroupNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; describeCacheSubnetGroups( input: DescribeCacheSubnetGroupsMessage, @@ -442,351 +229,187 @@ export declare class ElastiCache extends AWSServiceClient { input: DescribeEngineDefaultParametersMessage, ): Effect.Effect< DescribeEngineDefaultParametersResult, - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; describeEvents( input: DescribeEventsMessage, ): Effect.Effect< EventsMessage, - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; describeGlobalReplicationGroups( input: DescribeGlobalReplicationGroupsMessage, ): Effect.Effect< DescribeGlobalReplicationGroupsResult, - | GlobalReplicationGroupNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + GlobalReplicationGroupNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; describeReplicationGroups( input: DescribeReplicationGroupsMessage, ): Effect.Effect< ReplicationGroupMessage, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ReplicationGroupNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ReplicationGroupNotFoundFault | CommonAwsError >; describeReservedCacheNodes( input: DescribeReservedCacheNodesMessage, ): Effect.Effect< ReservedCacheNodeMessage, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ReservedCacheNodeNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ReservedCacheNodeNotFoundFault | CommonAwsError >; describeReservedCacheNodesOfferings( input: DescribeReservedCacheNodesOfferingsMessage, ): Effect.Effect< ReservedCacheNodesOfferingMessage, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ReservedCacheNodesOfferingNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ReservedCacheNodesOfferingNotFoundFault | CommonAwsError >; describeServerlessCaches( input: DescribeServerlessCachesRequest, ): Effect.Effect< DescribeServerlessCachesResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServerlessCacheNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ServerlessCacheNotFoundFault | CommonAwsError >; describeServerlessCacheSnapshots( input: DescribeServerlessCacheSnapshotsRequest, ): Effect.Effect< DescribeServerlessCacheSnapshotsResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServerlessCacheNotFoundFault - | ServerlessCacheSnapshotNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ServerlessCacheNotFoundFault | ServerlessCacheSnapshotNotFoundFault | CommonAwsError >; describeServiceUpdates( input: DescribeServiceUpdatesMessage, ): Effect.Effect< ServiceUpdatesMessage, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceUpdateNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ServiceUpdateNotFoundFault | CommonAwsError >; describeSnapshots( input: DescribeSnapshotsMessage, ): Effect.Effect< DescribeSnapshotsListMessage, - | CacheClusterNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | SnapshotNotFoundFault - | CommonAwsError + CacheClusterNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | SnapshotNotFoundFault | CommonAwsError >; describeUpdateActions( input: DescribeUpdateActionsMessage, ): Effect.Effect< UpdateActionsMessage, - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; describeUserGroups( input: DescribeUserGroupsMessage, ): Effect.Effect< DescribeUserGroupsResult, - | InvalidParameterCombinationException - | ServiceLinkedRoleNotFoundFault - | UserGroupNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | ServiceLinkedRoleNotFoundFault | UserGroupNotFoundFault | CommonAwsError >; describeUsers( input: DescribeUsersMessage, ): Effect.Effect< DescribeUsersResult, - | InvalidParameterCombinationException - | ServiceLinkedRoleNotFoundFault - | UserNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | ServiceLinkedRoleNotFoundFault | UserNotFoundFault | CommonAwsError >; disassociateGlobalReplicationGroup( input: DisassociateGlobalReplicationGroupMessage, ): Effect.Effect< DisassociateGlobalReplicationGroupResult, - | GlobalReplicationGroupNotFoundFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + GlobalReplicationGroupNotFoundFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; exportServerlessCacheSnapshot( input: ExportServerlessCacheSnapshotRequest, ): Effect.Effect< ExportServerlessCacheSnapshotResponse, - | InvalidParameterValueException - | InvalidServerlessCacheSnapshotStateFault - | ServerlessCacheSnapshotNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterValueException | InvalidServerlessCacheSnapshotStateFault | ServerlessCacheSnapshotNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; failoverGlobalReplicationGroup( input: FailoverGlobalReplicationGroupMessage, ): Effect.Effect< FailoverGlobalReplicationGroupResult, - | GlobalReplicationGroupNotFoundFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + GlobalReplicationGroupNotFoundFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; increaseNodeGroupsInGlobalReplicationGroup( input: IncreaseNodeGroupsInGlobalReplicationGroupMessage, ): Effect.Effect< IncreaseNodeGroupsInGlobalReplicationGroupResult, - | GlobalReplicationGroupNotFoundFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterValueException - | CommonAwsError + GlobalReplicationGroupNotFoundFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterValueException | CommonAwsError >; increaseReplicaCount( input: IncreaseReplicaCountMessage, ): Effect.Effect< IncreaseReplicaCountResult, - | ClusterQuotaForCustomerExceededFault - | InsufficientCacheClusterCapacityFault - | InvalidCacheClusterStateFault - | InvalidKMSKeyFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | InvalidVPCNetworkStateFault - | NodeGroupsPerReplicationGroupQuotaExceededFault - | NodeQuotaForCustomerExceededFault - | NoOperationFault - | ReplicationGroupNotFoundFault - | CommonAwsError + ClusterQuotaForCustomerExceededFault | InsufficientCacheClusterCapacityFault | InvalidCacheClusterStateFault | InvalidKMSKeyFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidReplicationGroupStateFault | InvalidVPCNetworkStateFault | NodeGroupsPerReplicationGroupQuotaExceededFault | NodeQuotaForCustomerExceededFault | NoOperationFault | ReplicationGroupNotFoundFault | CommonAwsError >; listAllowedNodeTypeModifications( input: ListAllowedNodeTypeModificationsMessage, ): Effect.Effect< AllowedNodeTypeModificationsMessage, - | CacheClusterNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ReplicationGroupNotFoundFault - | CommonAwsError + CacheClusterNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | ReplicationGroupNotFoundFault | CommonAwsError >; listTagsForResource( input: ListTagsForResourceMessage, ): Effect.Effect< TagListMessage, - | CacheClusterNotFoundFault - | CacheParameterGroupNotFoundFault - | CacheSecurityGroupNotFoundFault - | CacheSubnetGroupNotFoundFault - | InvalidARNFault - | InvalidReplicationGroupStateFault - | InvalidServerlessCacheSnapshotStateFault - | InvalidServerlessCacheStateFault - | ReplicationGroupNotFoundFault - | ReservedCacheNodeNotFoundFault - | ServerlessCacheNotFoundFault - | ServerlessCacheSnapshotNotFoundFault - | SnapshotNotFoundFault - | UserGroupNotFoundFault - | UserNotFoundFault - | CommonAwsError + CacheClusterNotFoundFault | CacheParameterGroupNotFoundFault | CacheSecurityGroupNotFoundFault | CacheSubnetGroupNotFoundFault | InvalidARNFault | InvalidReplicationGroupStateFault | InvalidServerlessCacheSnapshotStateFault | InvalidServerlessCacheStateFault | ReplicationGroupNotFoundFault | ReservedCacheNodeNotFoundFault | ServerlessCacheNotFoundFault | ServerlessCacheSnapshotNotFoundFault | SnapshotNotFoundFault | UserGroupNotFoundFault | UserNotFoundFault | CommonAwsError >; modifyCacheCluster( input: ModifyCacheClusterMessage, ): Effect.Effect< ModifyCacheClusterResult, - | CacheClusterNotFoundFault - | CacheParameterGroupNotFoundFault - | CacheSecurityGroupNotFoundFault - | InsufficientCacheClusterCapacityFault - | InvalidCacheClusterStateFault - | InvalidCacheSecurityGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidVPCNetworkStateFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | CommonAwsError + CacheClusterNotFoundFault | CacheParameterGroupNotFoundFault | CacheSecurityGroupNotFoundFault | InsufficientCacheClusterCapacityFault | InvalidCacheClusterStateFault | InvalidCacheSecurityGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidVPCNetworkStateFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | CommonAwsError >; modifyCacheParameterGroup( input: ModifyCacheParameterGroupMessage, ): Effect.Effect< CacheParameterGroupNameMessage, - | CacheParameterGroupNotFoundFault - | InvalidCacheParameterGroupStateFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + CacheParameterGroupNotFoundFault | InvalidCacheParameterGroupStateFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; modifyCacheSubnetGroup( input: ModifyCacheSubnetGroupMessage, ): Effect.Effect< ModifyCacheSubnetGroupResult, - | CacheSubnetGroupNotFoundFault - | CacheSubnetQuotaExceededFault - | InvalidSubnet - | SubnetInUse - | SubnetNotAllowedFault - | CommonAwsError + CacheSubnetGroupNotFoundFault | CacheSubnetQuotaExceededFault | InvalidSubnet | SubnetInUse | SubnetNotAllowedFault | CommonAwsError >; modifyGlobalReplicationGroup( input: ModifyGlobalReplicationGroupMessage, ): Effect.Effect< ModifyGlobalReplicationGroupResult, - | GlobalReplicationGroupNotFoundFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterValueException - | CommonAwsError + GlobalReplicationGroupNotFoundFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterValueException | CommonAwsError >; modifyReplicationGroup( input: ModifyReplicationGroupMessage, ): Effect.Effect< ModifyReplicationGroupResult, - | CacheClusterNotFoundFault - | CacheParameterGroupNotFoundFault - | CacheSecurityGroupNotFoundFault - | InsufficientCacheClusterCapacityFault - | InvalidCacheClusterStateFault - | InvalidCacheSecurityGroupStateFault - | InvalidKMSKeyFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | InvalidUserGroupStateFault - | InvalidVPCNetworkStateFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | ReplicationGroupNotFoundFault - | UserGroupNotFoundFault - | CommonAwsError + CacheClusterNotFoundFault | CacheParameterGroupNotFoundFault | CacheSecurityGroupNotFoundFault | InsufficientCacheClusterCapacityFault | InvalidCacheClusterStateFault | InvalidCacheSecurityGroupStateFault | InvalidKMSKeyFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidReplicationGroupStateFault | InvalidUserGroupStateFault | InvalidVPCNetworkStateFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | ReplicationGroupNotFoundFault | UserGroupNotFoundFault | CommonAwsError >; modifyReplicationGroupShardConfiguration( input: ModifyReplicationGroupShardConfigurationMessage, ): Effect.Effect< ModifyReplicationGroupShardConfigurationResult, - | InsufficientCacheClusterCapacityFault - | InvalidCacheClusterStateFault - | InvalidKMSKeyFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | InvalidVPCNetworkStateFault - | NodeGroupsPerReplicationGroupQuotaExceededFault - | NodeQuotaForCustomerExceededFault - | ReplicationGroupNotFoundFault - | CommonAwsError + InsufficientCacheClusterCapacityFault | InvalidCacheClusterStateFault | InvalidKMSKeyFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidReplicationGroupStateFault | InvalidVPCNetworkStateFault | NodeGroupsPerReplicationGroupQuotaExceededFault | NodeQuotaForCustomerExceededFault | ReplicationGroupNotFoundFault | CommonAwsError >; modifyServerlessCache( input: ModifyServerlessCacheRequest, ): Effect.Effect< ModifyServerlessCacheResponse, - | InvalidCredentialsException - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidServerlessCacheStateFault - | InvalidUserGroupStateFault - | ServerlessCacheNotFoundFault - | ServiceLinkedRoleNotFoundFault - | UserGroupNotFoundFault - | CommonAwsError + InvalidCredentialsException | InvalidParameterCombinationException | InvalidParameterValueException | InvalidServerlessCacheStateFault | InvalidUserGroupStateFault | ServerlessCacheNotFoundFault | ServiceLinkedRoleNotFoundFault | UserGroupNotFoundFault | CommonAwsError >; modifyUser( input: ModifyUserMessage, ): Effect.Effect< User, - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidUserStateFault - | ServiceLinkedRoleNotFoundFault - | UserNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | InvalidUserStateFault | ServiceLinkedRoleNotFoundFault | UserNotFoundFault | CommonAwsError >; modifyUserGroup( input: ModifyUserGroupMessage, ): Effect.Effect< UserGroup, - | DefaultUserRequired - | DuplicateUserNameFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidUserGroupStateFault - | ServiceLinkedRoleNotFoundFault - | UserGroupNotFoundFault - | UserNotFoundFault - | CommonAwsError + DefaultUserRequired | DuplicateUserNameFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidUserGroupStateFault | ServiceLinkedRoleNotFoundFault | UserGroupNotFoundFault | UserNotFoundFault | CommonAwsError >; purchaseReservedCacheNodesOffering( input: PurchaseReservedCacheNodesOfferingMessage, ): Effect.Effect< PurchaseReservedCacheNodesOfferingResult, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ReservedCacheNodeAlreadyExistsFault - | ReservedCacheNodeQuotaExceededFault - | ReservedCacheNodesOfferingNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ReservedCacheNodeAlreadyExistsFault | ReservedCacheNodeQuotaExceededFault | ReservedCacheNodesOfferingNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; rebalanceSlotsInGlobalReplicationGroup( input: RebalanceSlotsInGlobalReplicationGroupMessage, ): Effect.Effect< RebalanceSlotsInGlobalReplicationGroupResult, - | GlobalReplicationGroupNotFoundFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterValueException - | CommonAwsError + GlobalReplicationGroupNotFoundFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterValueException | CommonAwsError >; rebootCacheCluster( input: RebootCacheClusterMessage, @@ -798,80 +421,37 @@ export declare class ElastiCache extends AWSServiceClient { input: RemoveTagsFromResourceMessage, ): Effect.Effect< TagListMessage, - | CacheClusterNotFoundFault - | CacheParameterGroupNotFoundFault - | CacheSecurityGroupNotFoundFault - | CacheSubnetGroupNotFoundFault - | InvalidARNFault - | InvalidReplicationGroupStateFault - | InvalidServerlessCacheSnapshotStateFault - | InvalidServerlessCacheStateFault - | ReplicationGroupNotFoundFault - | ReservedCacheNodeNotFoundFault - | ServerlessCacheNotFoundFault - | ServerlessCacheSnapshotNotFoundFault - | SnapshotNotFoundFault - | TagNotFoundFault - | UserGroupNotFoundFault - | UserNotFoundFault - | CommonAwsError + CacheClusterNotFoundFault | CacheParameterGroupNotFoundFault | CacheSecurityGroupNotFoundFault | CacheSubnetGroupNotFoundFault | InvalidARNFault | InvalidReplicationGroupStateFault | InvalidServerlessCacheSnapshotStateFault | InvalidServerlessCacheStateFault | ReplicationGroupNotFoundFault | ReservedCacheNodeNotFoundFault | ServerlessCacheNotFoundFault | ServerlessCacheSnapshotNotFoundFault | SnapshotNotFoundFault | TagNotFoundFault | UserGroupNotFoundFault | UserNotFoundFault | CommonAwsError >; resetCacheParameterGroup( input: ResetCacheParameterGroupMessage, ): Effect.Effect< CacheParameterGroupNameMessage, - | CacheParameterGroupNotFoundFault - | InvalidCacheParameterGroupStateFault - | InvalidGlobalReplicationGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + CacheParameterGroupNotFoundFault | InvalidCacheParameterGroupStateFault | InvalidGlobalReplicationGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; revokeCacheSecurityGroupIngress( input: RevokeCacheSecurityGroupIngressMessage, ): Effect.Effect< RevokeCacheSecurityGroupIngressResult, - | AuthorizationNotFoundFault - | CacheSecurityGroupNotFoundFault - | InvalidCacheSecurityGroupStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + AuthorizationNotFoundFault | CacheSecurityGroupNotFoundFault | InvalidCacheSecurityGroupStateFault | InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; startMigration( input: StartMigrationMessage, ): Effect.Effect< StartMigrationResponse, - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | ReplicationGroupAlreadyUnderMigrationFault - | ReplicationGroupNotFoundFault - | CommonAwsError + InvalidParameterValueException | InvalidReplicationGroupStateFault | ReplicationGroupAlreadyUnderMigrationFault | ReplicationGroupNotFoundFault | CommonAwsError >; testFailover( input: TestFailoverMessage, ): Effect.Effect< TestFailoverResult, - | APICallRateForCustomerExceededFault - | InvalidCacheClusterStateFault - | InvalidKMSKeyFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | NodeGroupNotFoundFault - | ReplicationGroupNotFoundFault - | TestFailoverNotAvailableFault - | CommonAwsError + APICallRateForCustomerExceededFault | InvalidCacheClusterStateFault | InvalidKMSKeyFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidReplicationGroupStateFault | NodeGroupNotFoundFault | ReplicationGroupNotFoundFault | TestFailoverNotAvailableFault | CommonAwsError >; testMigration( input: TestMigrationMessage, ): Effect.Effect< TestMigrationResponse, - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | ReplicationGroupAlreadyUnderMigrationFault - | ReplicationGroupNotFoundFault - | CommonAwsError + InvalidParameterValueException | InvalidReplicationGroupStateFault | ReplicationGroupAlreadyUnderMigrationFault | ReplicationGroupNotFoundFault | CommonAwsError >; } @@ -923,11 +503,7 @@ export interface AuthorizeCacheSecurityGroupIngressResult { } export type AuthTokenUpdateStatus = "SETTING" | "ROTATING"; export type AuthTokenUpdateStrategyType = "SET" | "ROTATE" | "DELETE"; -export type AutomaticFailoverStatus = - | "enabled" - | "disabled" - | "enabling" - | "disabling"; +export type AutomaticFailoverStatus = "enabled" | "disabled" | "enabling" | "disabling"; export interface AvailabilityZone { Name?: string; } @@ -1035,8 +611,7 @@ export interface CacheNodeTypeSpecificParameter { CacheNodeTypeSpecificValues?: Array; ChangeType?: ChangeType; } -export type CacheNodeTypeSpecificParametersList = - Array; +export type CacheNodeTypeSpecificParametersList = Array; export interface CacheNodeTypeSpecificValue { CacheNodeType?: string; Value?: string; @@ -1109,8 +684,7 @@ export interface CacheSecurityGroupMembership { CacheSecurityGroupName?: string; Status?: string; } -export type CacheSecurityGroupMembershipList = - Array; +export type CacheSecurityGroupMembershipList = Array; export interface CacheSecurityGroupMessage { Marker?: string; CacheSecurityGroups?: Array; @@ -1752,8 +1326,7 @@ export interface GlobalReplicationGroupMember { AutomaticFailover?: AutomaticFailoverStatus; Status?: string; } -export type GlobalReplicationGroupMemberList = - Array; +export type GlobalReplicationGroupMemberList = Array; export declare class GlobalReplicationGroupNotFoundFault extends EffectData.TaggedError( "GlobalReplicationGroupNotFoundFault", )<{ @@ -1777,10 +1350,7 @@ export interface IncreaseReplicaCountMessage { export interface IncreaseReplicaCountResult { ReplicationGroup?: ReplicationGroup; } -export type InputAuthenticationType = - | "password" - | "no-password-required" - | "iam"; +export type InputAuthenticationType = "password" | "no-password-required" | "iam"; export declare class InsufficientCacheClusterCapacityFault extends EffectData.TaggedError( "InsufficientCacheClusterCapacityFault", )<{ @@ -1903,14 +1473,8 @@ export interface LogDeliveryConfigurationRequest { LogFormat?: LogFormat; Enabled?: boolean; } -export type LogDeliveryConfigurationRequestList = - Array; -export type LogDeliveryConfigurationStatus = - | "active" - | "enabling" - | "modifying" - | "disabling" - | "error"; +export type LogDeliveryConfigurationRequestList = Array; +export type LogDeliveryConfigurationStatus = "active" | "enabling" | "modifying" | "disabling" | "error"; export type LogFormat = "text" | "json"; export type LogType = "slow-log" | "engine-log"; export interface ModifyCacheClusterMessage { @@ -2084,8 +1648,7 @@ export interface NodeGroupMemberUpdateStatus { NodeUpdateInitiatedDate?: Date | string; NodeUpdateStatusModifiedDate?: Date | string; } -export type NodeGroupMemberUpdateStatusList = - Array; +export type NodeGroupMemberUpdateStatusList = Array; export declare class NodeGroupNotFoundFault extends EffectData.TaggedError( "NodeGroupNotFoundFault", )<{ @@ -2125,13 +1688,7 @@ export interface NodeSnapshot { export type NodeSnapshotList = Array; export type NodeTypeList = Array; export type NodeUpdateInitiatedBy = "system" | "customer"; -export type NodeUpdateStatus = - | "not-applied" - | "waiting-to-start" - | "in-progress" - | "stopping" - | "stopped" - | "complete"; +export type NodeUpdateStatus = "not-applied" | "waiting-to-start" | "in-progress" | "stopping" | "stopped" | "complete"; export declare class NoOperationFault extends EffectData.TaggedError( "NoOperationFault", )<{ @@ -2168,8 +1725,7 @@ export interface PendingLogDeliveryConfiguration { DestinationDetails?: DestinationDetails; LogFormat?: LogFormat; } -export type PendingLogDeliveryConfigurationList = - Array; +export type PendingLogDeliveryConfigurationList = Array; export interface PendingModifiedValues { NumCacheNodes?: number; CacheNodeIdsToRemove?: Array; @@ -2544,16 +2100,7 @@ export declare class SnapshotQuotaExceededFault extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type SourceType = - | "cache-cluster" - | "cache-parameter-group" - | "cache-security-group" - | "cache-subnet-group" - | "replication-group" - | "serverless-cache" - | "serverless-cache-snapshot" - | "user" - | "user-group"; +export type SourceType = "cache-cluster" | "cache-parameter-group" | "cache-security-group" | "cache-subnet-group" | "replication-group" | "serverless-cache" | "serverless-cache-snapshot" | "user" | "user-group"; export interface StartMigrationMessage { ReplicationGroupId: string; CustomerNodeEndpointList: Array; @@ -2571,7 +2118,9 @@ export interface Subnet { } export type SubnetIdentifierList = Array; export type SubnetIdsList = Array; -export declare class SubnetInUse extends EffectData.TaggedError("SubnetInUse")<{ +export declare class SubnetInUse extends EffectData.TaggedError( + "SubnetInUse", +)<{ readonly message?: string; }> {} export type SubnetList = Array; @@ -2665,16 +2214,7 @@ export interface UpdateActionsMessage { Marker?: string; UpdateActions?: Array; } -export type UpdateActionStatus = - | "not-applied" - | "waiting-to-start" - | "in-progress" - | "stopping" - | "stopped" - | "complete" - | "scheduling" - | "scheduled" - | "not-applicable"; +export type UpdateActionStatus = "not-applied" | "waiting-to-start" | "in-progress" | "stopping" | "stopped" | "complete" | "scheduling" | "scheduled" | "not-applicable"; export type UpdateActionStatusList = Array; export interface User { UserId?: string; @@ -3192,7 +2732,8 @@ export declare namespace DescribeCacheClusters { export declare namespace DescribeCacheEngineVersions { export type Input = DescribeCacheEngineVersionsMessage; export type Output = CacheEngineVersionMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCacheParameterGroups { @@ -3228,7 +2769,9 @@ export declare namespace DescribeCacheSecurityGroups { export declare namespace DescribeCacheSubnetGroups { export type Input = DescribeCacheSubnetGroupsMessage; export type Output = CacheSubnetGroupMessage; - export type Error = CacheSubnetGroupNotFoundFault | CommonAwsError; + export type Error = + | CacheSubnetGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeEngineDefaultParameters { @@ -3706,82 +3249,5 @@ export declare namespace TestMigration { | CommonAwsError; } -export type ElastiCacheErrors = - | APICallRateForCustomerExceededFault - | AuthorizationAlreadyExistsFault - | AuthorizationNotFoundFault - | CacheClusterAlreadyExistsFault - | CacheClusterNotFoundFault - | CacheParameterGroupAlreadyExistsFault - | CacheParameterGroupNotFoundFault - | CacheParameterGroupQuotaExceededFault - | CacheSecurityGroupAlreadyExistsFault - | CacheSecurityGroupNotFoundFault - | CacheSecurityGroupQuotaExceededFault - | CacheSubnetGroupAlreadyExistsFault - | CacheSubnetGroupInUse - | CacheSubnetGroupNotFoundFault - | CacheSubnetGroupQuotaExceededFault - | CacheSubnetQuotaExceededFault - | ClusterQuotaForCustomerExceededFault - | DefaultUserAssociatedToUserGroupFault - | DefaultUserRequired - | DuplicateUserNameFault - | GlobalReplicationGroupAlreadyExistsFault - | GlobalReplicationGroupNotFoundFault - | InsufficientCacheClusterCapacityFault - | InvalidARNFault - | InvalidCacheClusterStateFault - | InvalidCacheParameterGroupStateFault - | InvalidCacheSecurityGroupStateFault - | InvalidCredentialsException - | InvalidGlobalReplicationGroupStateFault - | InvalidKMSKeyFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidReplicationGroupStateFault - | InvalidServerlessCacheSnapshotStateFault - | InvalidServerlessCacheStateFault - | InvalidSnapshotStateFault - | InvalidSubnet - | InvalidUserGroupStateFault - | InvalidUserStateFault - | InvalidVPCNetworkStateFault - | NoOperationFault - | NodeGroupNotFoundFault - | NodeGroupsPerReplicationGroupQuotaExceededFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | ReplicationGroupAlreadyExistsFault - | ReplicationGroupAlreadyUnderMigrationFault - | ReplicationGroupNotFoundFault - | ReplicationGroupNotUnderMigrationFault - | ReservedCacheNodeAlreadyExistsFault - | ReservedCacheNodeNotFoundFault - | ReservedCacheNodeQuotaExceededFault - | ReservedCacheNodesOfferingNotFoundFault - | ServerlessCacheAlreadyExistsFault - | ServerlessCacheNotFoundFault - | ServerlessCacheQuotaForCustomerExceededFault - | ServerlessCacheSnapshotAlreadyExistsFault - | ServerlessCacheSnapshotNotFoundFault - | ServerlessCacheSnapshotQuotaExceededFault - | ServiceLinkedRoleNotFoundFault - | ServiceUpdateNotFoundFault - | SnapshotAlreadyExistsFault - | SnapshotFeatureNotSupportedFault - | SnapshotNotFoundFault - | SnapshotQuotaExceededFault - | SubnetInUse - | SubnetNotAllowedFault - | TagNotFoundFault - | TagQuotaPerResourceExceeded - | TestFailoverNotAvailableFault - | UserAlreadyExistsFault - | UserGroupAlreadyExistsFault - | UserGroupNotFoundFault - | UserGroupQuotaExceededFault - | UserNotFoundFault - | UserQuotaExceededFault - | CacheClusterNotFound - | CommonAwsError; +export type ElastiCacheErrors = APICallRateForCustomerExceededFault | AuthorizationAlreadyExistsFault | AuthorizationNotFoundFault | CacheClusterAlreadyExistsFault | CacheClusterNotFoundFault | CacheParameterGroupAlreadyExistsFault | CacheParameterGroupNotFoundFault | CacheParameterGroupQuotaExceededFault | CacheSecurityGroupAlreadyExistsFault | CacheSecurityGroupNotFoundFault | CacheSecurityGroupQuotaExceededFault | CacheSubnetGroupAlreadyExistsFault | CacheSubnetGroupInUse | CacheSubnetGroupNotFoundFault | CacheSubnetGroupQuotaExceededFault | CacheSubnetQuotaExceededFault | ClusterQuotaForCustomerExceededFault | DefaultUserAssociatedToUserGroupFault | DefaultUserRequired | DuplicateUserNameFault | GlobalReplicationGroupAlreadyExistsFault | GlobalReplicationGroupNotFoundFault | InsufficientCacheClusterCapacityFault | InvalidARNFault | InvalidCacheClusterStateFault | InvalidCacheParameterGroupStateFault | InvalidCacheSecurityGroupStateFault | InvalidCredentialsException | InvalidGlobalReplicationGroupStateFault | InvalidKMSKeyFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidReplicationGroupStateFault | InvalidServerlessCacheSnapshotStateFault | InvalidServerlessCacheStateFault | InvalidSnapshotStateFault | InvalidSubnet | InvalidUserGroupStateFault | InvalidUserStateFault | InvalidVPCNetworkStateFault | NoOperationFault | NodeGroupNotFoundFault | NodeGroupsPerReplicationGroupQuotaExceededFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | ReplicationGroupAlreadyExistsFault | ReplicationGroupAlreadyUnderMigrationFault | ReplicationGroupNotFoundFault | ReplicationGroupNotUnderMigrationFault | ReservedCacheNodeAlreadyExistsFault | ReservedCacheNodeNotFoundFault | ReservedCacheNodeQuotaExceededFault | ReservedCacheNodesOfferingNotFoundFault | ServerlessCacheAlreadyExistsFault | ServerlessCacheNotFoundFault | ServerlessCacheQuotaForCustomerExceededFault | ServerlessCacheSnapshotAlreadyExistsFault | ServerlessCacheSnapshotNotFoundFault | ServerlessCacheSnapshotQuotaExceededFault | ServiceLinkedRoleNotFoundFault | ServiceUpdateNotFoundFault | SnapshotAlreadyExistsFault | SnapshotFeatureNotSupportedFault | SnapshotNotFoundFault | SnapshotQuotaExceededFault | SubnetInUse | SubnetNotAllowedFault | TagNotFoundFault | TagQuotaPerResourceExceeded | TestFailoverNotAvailableFault | UserAlreadyExistsFault | UserGroupAlreadyExistsFault | UserGroupNotFoundFault | UserGroupQuotaExceededFault | UserNotFoundFault | UserQuotaExceededFault | CacheClusterNotFound | CommonAwsError; + diff --git a/src/services/elasticsearch-service/index.ts b/src/services/elasticsearch-service/index.ts index c5b9183b..08d79c0c 100644 --- a/src/services/elasticsearch-service/index.ts +++ b/src/services/elasticsearch-service/index.ts @@ -5,24 +5,7 @@ import type { ElasticsearchService as _ElasticsearchServiceClient } from "./type export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,81 +15,57 @@ const metadata = { sigV4ServiceName: "es", endpointPrefix: "es", operations: { - AcceptInboundCrossClusterSearchConnection: - "PUT /2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}/accept", - AddTags: "POST /2015-01-01/tags", - AssociatePackage: - "POST /2015-01-01/packages/associate/{PackageID}/{DomainName}", - AuthorizeVpcEndpointAccess: - "POST /2015-01-01/es/domain/{DomainName}/authorizeVpcEndpointAccess", - CancelDomainConfigChange: - "POST /2015-01-01/es/domain/{DomainName}/config/cancel", - CancelElasticsearchServiceSoftwareUpdate: - "POST /2015-01-01/es/serviceSoftwareUpdate/cancel", - CreateElasticsearchDomain: "POST /2015-01-01/es/domain", - CreateOutboundCrossClusterSearchConnection: - "POST /2015-01-01/es/ccs/outboundConnection", - CreatePackage: "POST /2015-01-01/packages", - CreateVpcEndpoint: "POST /2015-01-01/es/vpcEndpoints", - DeleteElasticsearchDomain: "DELETE /2015-01-01/es/domain/{DomainName}", - DeleteElasticsearchServiceRole: "DELETE /2015-01-01/es/role", - DeleteInboundCrossClusterSearchConnection: - "DELETE /2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}", - DeleteOutboundCrossClusterSearchConnection: - "DELETE /2015-01-01/es/ccs/outboundConnection/{CrossClusterSearchConnectionId}", - DeletePackage: "DELETE /2015-01-01/packages/{PackageID}", - DeleteVpcEndpoint: "DELETE /2015-01-01/es/vpcEndpoints/{VpcEndpointId}", - DescribeDomainAutoTunes: "GET /2015-01-01/es/domain/{DomainName}/autoTunes", - DescribeDomainChangeProgress: - "GET /2015-01-01/es/domain/{DomainName}/progress", - DescribeElasticsearchDomain: "GET /2015-01-01/es/domain/{DomainName}", - DescribeElasticsearchDomainConfig: - "GET /2015-01-01/es/domain/{DomainName}/config", - DescribeElasticsearchDomains: "POST /2015-01-01/es/domain-info", - DescribeElasticsearchInstanceTypeLimits: - "GET /2015-01-01/es/instanceTypeLimits/{ElasticsearchVersion}/{InstanceType}", - DescribeInboundCrossClusterSearchConnections: - "POST /2015-01-01/es/ccs/inboundConnection/search", - DescribeOutboundCrossClusterSearchConnections: - "POST /2015-01-01/es/ccs/outboundConnection/search", - DescribePackages: "POST /2015-01-01/packages/describe", - DescribeReservedElasticsearchInstanceOfferings: - "GET /2015-01-01/es/reservedInstanceOfferings", - DescribeReservedElasticsearchInstances: - "GET /2015-01-01/es/reservedInstances", - DescribeVpcEndpoints: "POST /2015-01-01/es/vpcEndpoints/describe", - DissociatePackage: - "POST /2015-01-01/packages/dissociate/{PackageID}/{DomainName}", - GetCompatibleElasticsearchVersions: "GET /2015-01-01/es/compatibleVersions", - GetPackageVersionHistory: "GET /2015-01-01/packages/{PackageID}/history", - GetUpgradeHistory: "GET /2015-01-01/es/upgradeDomain/{DomainName}/history", - GetUpgradeStatus: "GET /2015-01-01/es/upgradeDomain/{DomainName}/status", - ListDomainNames: "GET /2015-01-01/domain", - ListDomainsForPackage: "GET /2015-01-01/packages/{PackageID}/domains", - ListElasticsearchInstanceTypes: - "GET /2015-01-01/es/instanceTypes/{ElasticsearchVersion}", - ListElasticsearchVersions: "GET /2015-01-01/es/versions", - ListPackagesForDomain: "GET /2015-01-01/domain/{DomainName}/packages", - ListTags: "GET /2015-01-01/tags", - ListVpcEndpointAccess: - "GET /2015-01-01/es/domain/{DomainName}/listVpcEndpointAccess", - ListVpcEndpoints: "GET /2015-01-01/es/vpcEndpoints", - ListVpcEndpointsForDomain: - "GET /2015-01-01/es/domain/{DomainName}/vpcEndpoints", - PurchaseReservedElasticsearchInstanceOffering: - "POST /2015-01-01/es/purchaseReservedInstanceOffering", - RejectInboundCrossClusterSearchConnection: - "PUT /2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}/reject", - RemoveTags: "POST /2015-01-01/tags-removal", - RevokeVpcEndpointAccess: - "POST /2015-01-01/es/domain/{DomainName}/revokeVpcEndpointAccess", - StartElasticsearchServiceSoftwareUpdate: - "POST /2015-01-01/es/serviceSoftwareUpdate/start", - UpdateElasticsearchDomainConfig: - "POST /2015-01-01/es/domain/{DomainName}/config", - UpdatePackage: "POST /2015-01-01/packages/update", - UpdateVpcEndpoint: "POST /2015-01-01/es/vpcEndpoints/update", - UpgradeElasticsearchDomain: "POST /2015-01-01/es/upgradeDomain", + "AcceptInboundCrossClusterSearchConnection": "PUT /2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}/accept", + "AddTags": "POST /2015-01-01/tags", + "AssociatePackage": "POST /2015-01-01/packages/associate/{PackageID}/{DomainName}", + "AuthorizeVpcEndpointAccess": "POST /2015-01-01/es/domain/{DomainName}/authorizeVpcEndpointAccess", + "CancelDomainConfigChange": "POST /2015-01-01/es/domain/{DomainName}/config/cancel", + "CancelElasticsearchServiceSoftwareUpdate": "POST /2015-01-01/es/serviceSoftwareUpdate/cancel", + "CreateElasticsearchDomain": "POST /2015-01-01/es/domain", + "CreateOutboundCrossClusterSearchConnection": "POST /2015-01-01/es/ccs/outboundConnection", + "CreatePackage": "POST /2015-01-01/packages", + "CreateVpcEndpoint": "POST /2015-01-01/es/vpcEndpoints", + "DeleteElasticsearchDomain": "DELETE /2015-01-01/es/domain/{DomainName}", + "DeleteElasticsearchServiceRole": "DELETE /2015-01-01/es/role", + "DeleteInboundCrossClusterSearchConnection": "DELETE /2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}", + "DeleteOutboundCrossClusterSearchConnection": "DELETE /2015-01-01/es/ccs/outboundConnection/{CrossClusterSearchConnectionId}", + "DeletePackage": "DELETE /2015-01-01/packages/{PackageID}", + "DeleteVpcEndpoint": "DELETE /2015-01-01/es/vpcEndpoints/{VpcEndpointId}", + "DescribeDomainAutoTunes": "GET /2015-01-01/es/domain/{DomainName}/autoTunes", + "DescribeDomainChangeProgress": "GET /2015-01-01/es/domain/{DomainName}/progress", + "DescribeElasticsearchDomain": "GET /2015-01-01/es/domain/{DomainName}", + "DescribeElasticsearchDomainConfig": "GET /2015-01-01/es/domain/{DomainName}/config", + "DescribeElasticsearchDomains": "POST /2015-01-01/es/domain-info", + "DescribeElasticsearchInstanceTypeLimits": "GET /2015-01-01/es/instanceTypeLimits/{ElasticsearchVersion}/{InstanceType}", + "DescribeInboundCrossClusterSearchConnections": "POST /2015-01-01/es/ccs/inboundConnection/search", + "DescribeOutboundCrossClusterSearchConnections": "POST /2015-01-01/es/ccs/outboundConnection/search", + "DescribePackages": "POST /2015-01-01/packages/describe", + "DescribeReservedElasticsearchInstanceOfferings": "GET /2015-01-01/es/reservedInstanceOfferings", + "DescribeReservedElasticsearchInstances": "GET /2015-01-01/es/reservedInstances", + "DescribeVpcEndpoints": "POST /2015-01-01/es/vpcEndpoints/describe", + "DissociatePackage": "POST /2015-01-01/packages/dissociate/{PackageID}/{DomainName}", + "GetCompatibleElasticsearchVersions": "GET /2015-01-01/es/compatibleVersions", + "GetPackageVersionHistory": "GET /2015-01-01/packages/{PackageID}/history", + "GetUpgradeHistory": "GET /2015-01-01/es/upgradeDomain/{DomainName}/history", + "GetUpgradeStatus": "GET /2015-01-01/es/upgradeDomain/{DomainName}/status", + "ListDomainNames": "GET /2015-01-01/domain", + "ListDomainsForPackage": "GET /2015-01-01/packages/{PackageID}/domains", + "ListElasticsearchInstanceTypes": "GET /2015-01-01/es/instanceTypes/{ElasticsearchVersion}", + "ListElasticsearchVersions": "GET /2015-01-01/es/versions", + "ListPackagesForDomain": "GET /2015-01-01/domain/{DomainName}/packages", + "ListTags": "GET /2015-01-01/tags", + "ListVpcEndpointAccess": "GET /2015-01-01/es/domain/{DomainName}/listVpcEndpointAccess", + "ListVpcEndpoints": "GET /2015-01-01/es/vpcEndpoints", + "ListVpcEndpointsForDomain": "GET /2015-01-01/es/domain/{DomainName}/vpcEndpoints", + "PurchaseReservedElasticsearchInstanceOffering": "POST /2015-01-01/es/purchaseReservedInstanceOffering", + "RejectInboundCrossClusterSearchConnection": "PUT /2015-01-01/es/ccs/inboundConnection/{CrossClusterSearchConnectionId}/reject", + "RemoveTags": "POST /2015-01-01/tags-removal", + "RevokeVpcEndpointAccess": "POST /2015-01-01/es/domain/{DomainName}/revokeVpcEndpointAccess", + "StartElasticsearchServiceSoftwareUpdate": "POST /2015-01-01/es/serviceSoftwareUpdate/start", + "UpdateElasticsearchDomainConfig": "POST /2015-01-01/es/domain/{DomainName}/config", + "UpdatePackage": "POST /2015-01-01/packages/update", + "UpdateVpcEndpoint": "POST /2015-01-01/es/vpcEndpoints/update", + "UpgradeElasticsearchDomain": "POST /2015-01-01/es/upgradeDomain", }, } as const satisfies ServiceMetadata; diff --git a/src/services/elasticsearch-service/types.ts b/src/services/elasticsearch-service/types.ts index 8e365f34..8e8b768d 100644 --- a/src/services/elasticsearch-service/types.ts +++ b/src/services/elasticsearch-service/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ElasticsearchService extends AWSServiceClient { @@ -41,125 +8,71 @@ export declare class ElasticsearchService extends AWSServiceClient { input: AcceptInboundCrossClusterSearchConnectionRequest, ): Effect.Effect< AcceptInboundCrossClusterSearchConnectionResponse, - | DisabledOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + DisabledOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; addTags( input: AddTagsRequest, ): Effect.Effect< {}, - | BaseException - | InternalException - | LimitExceededException - | ValidationException - | CommonAwsError + BaseException | InternalException | LimitExceededException | ValidationException | CommonAwsError >; associatePackage( input: AssociatePackageRequest, ): Effect.Effect< AssociatePackageResponse, - | AccessDeniedException - | BaseException - | ConflictException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | ConflictException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; authorizeVpcEndpointAccess( input: AuthorizeVpcEndpointAccessRequest, ): Effect.Effect< AuthorizeVpcEndpointAccessResponse, - | BaseException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; cancelDomainConfigChange( input: CancelDomainConfigChangeRequest, ): Effect.Effect< CancelDomainConfigChangeResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; cancelElasticsearchServiceSoftwareUpdate( input: CancelElasticsearchServiceSoftwareUpdateRequest, ): Effect.Effect< CancelElasticsearchServiceSoftwareUpdateResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; createElasticsearchDomain( input: CreateElasticsearchDomainRequest, ): Effect.Effect< CreateElasticsearchDomainResponse, - | BaseException - | DisabledOperationException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceAlreadyExistsException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | InvalidTypeException | LimitExceededException | ResourceAlreadyExistsException | ValidationException | CommonAwsError >; createOutboundCrossClusterSearchConnection( input: CreateOutboundCrossClusterSearchConnectionRequest, ): Effect.Effect< CreateOutboundCrossClusterSearchConnectionResponse, - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | CommonAwsError + DisabledOperationException | InternalException | LimitExceededException | ResourceAlreadyExistsException | CommonAwsError >; createPackage( input: CreatePackageRequest, ): Effect.Effect< CreatePackageResponse, - | AccessDeniedException - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceAlreadyExistsException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceAlreadyExistsException | ValidationException | CommonAwsError >; createVpcEndpoint( input: CreateVpcEndpointRequest, ): Effect.Effect< CreateVpcEndpointResponse, - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | LimitExceededException - | ValidationException - | CommonAwsError + BaseException | ConflictException | DisabledOperationException | InternalException | LimitExceededException | ValidationException | CommonAwsError >; deleteElasticsearchDomain( input: DeleteElasticsearchDomainRequest, ): Effect.Effect< DeleteElasticsearchDomainResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; - deleteElasticsearchServiceRole(input: {}): Effect.Effect< + deleteElasticsearchServiceRole( + input: {}, + ): Effect.Effect< {}, BaseException | InternalException | ValidationException | CommonAwsError >; @@ -179,63 +92,37 @@ export declare class ElasticsearchService extends AWSServiceClient { input: DeletePackageRequest, ): Effect.Effect< DeletePackageResponse, - | AccessDeniedException - | BaseException - | ConflictException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | ConflictException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteVpcEndpoint( input: DeleteVpcEndpointRequest, ): Effect.Effect< DeleteVpcEndpointResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | CommonAwsError >; describeDomainAutoTunes( input: DescribeDomainAutoTunesRequest, ): Effect.Effect< DescribeDomainAutoTunesResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeDomainChangeProgress( input: DescribeDomainChangeProgressRequest, ): Effect.Effect< DescribeDomainChangeProgressResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeElasticsearchDomain( input: DescribeElasticsearchDomainRequest, ): Effect.Effect< DescribeElasticsearchDomainResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeElasticsearchDomainConfig( input: DescribeElasticsearchDomainConfigRequest, ): Effect.Effect< DescribeElasticsearchDomainConfigResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeElasticsearchDomains( input: DescribeElasticsearchDomainsRequest, @@ -247,126 +134,73 @@ export declare class ElasticsearchService extends AWSServiceClient { input: DescribeElasticsearchInstanceTypeLimitsRequest, ): Effect.Effect< DescribeElasticsearchInstanceTypeLimitsResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeInboundCrossClusterSearchConnections( input: DescribeInboundCrossClusterSearchConnectionsRequest, ): Effect.Effect< DescribeInboundCrossClusterSearchConnectionsResponse, - | DisabledOperationException - | InvalidPaginationTokenException - | CommonAwsError + DisabledOperationException | InvalidPaginationTokenException | CommonAwsError >; describeOutboundCrossClusterSearchConnections( input: DescribeOutboundCrossClusterSearchConnectionsRequest, ): Effect.Effect< DescribeOutboundCrossClusterSearchConnectionsResponse, - | DisabledOperationException - | InvalidPaginationTokenException - | CommonAwsError + DisabledOperationException | InvalidPaginationTokenException | CommonAwsError >; describePackages( input: DescribePackagesRequest, ): Effect.Effect< DescribePackagesResponse, - | AccessDeniedException - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeReservedElasticsearchInstanceOfferings( input: DescribeReservedElasticsearchInstanceOfferingsRequest, ): Effect.Effect< DescribeReservedElasticsearchInstanceOfferingsResponse, - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeReservedElasticsearchInstances( input: DescribeReservedElasticsearchInstancesRequest, ): Effect.Effect< DescribeReservedElasticsearchInstancesResponse, - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeVpcEndpoints( input: DescribeVpcEndpointsRequest, ): Effect.Effect< DescribeVpcEndpointsResponse, - | BaseException - | DisabledOperationException - | InternalException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ValidationException | CommonAwsError >; dissociatePackage( input: DissociatePackageRequest, ): Effect.Effect< DissociatePackageResponse, - | AccessDeniedException - | BaseException - | ConflictException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | ConflictException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getCompatibleElasticsearchVersions( input: GetCompatibleElasticsearchVersionsRequest, ): Effect.Effect< GetCompatibleElasticsearchVersionsResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getPackageVersionHistory( input: GetPackageVersionHistoryRequest, ): Effect.Effect< GetPackageVersionHistoryResponse, - | AccessDeniedException - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getUpgradeHistory( input: GetUpgradeHistoryRequest, ): Effect.Effect< GetUpgradeHistoryResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getUpgradeStatus( input: GetUpgradeStatusRequest, ): Effect.Effect< GetUpgradeStatusResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDomainNames( input: ListDomainNamesRequest, @@ -378,94 +212,55 @@ export declare class ElasticsearchService extends AWSServiceClient { input: ListDomainsForPackageRequest, ): Effect.Effect< ListDomainsForPackageResponse, - | AccessDeniedException - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listElasticsearchInstanceTypes( input: ListElasticsearchInstanceTypesRequest, ): Effect.Effect< ListElasticsearchInstanceTypesResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listElasticsearchVersions( input: ListElasticsearchVersionsRequest, ): Effect.Effect< ListElasticsearchVersionsResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listPackagesForDomain( input: ListPackagesForDomainRequest, ): Effect.Effect< ListPackagesForDomainResponse, - | AccessDeniedException - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTags( input: ListTagsRequest, ): Effect.Effect< ListTagsResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listVpcEndpointAccess( input: ListVpcEndpointAccessRequest, ): Effect.Effect< ListVpcEndpointAccessResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | CommonAwsError >; listVpcEndpoints( input: ListVpcEndpointsRequest, ): Effect.Effect< ListVpcEndpointsResponse, - | BaseException - | DisabledOperationException - | InternalException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | CommonAwsError >; listVpcEndpointsForDomain( input: ListVpcEndpointsForDomainRequest, ): Effect.Effect< ListVpcEndpointsForDomainResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | CommonAwsError >; purchaseReservedElasticsearchInstanceOffering( input: PurchaseReservedElasticsearchInstanceOfferingRequest, ): Effect.Effect< PurchaseReservedElasticsearchInstanceOfferingResponse, - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + DisabledOperationException | InternalException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ValidationException | CommonAwsError >; rejectInboundCrossClusterSearchConnection( input: RejectInboundCrossClusterSearchConnectionRequest, @@ -483,70 +278,37 @@ export declare class ElasticsearchService extends AWSServiceClient { input: RevokeVpcEndpointAccessRequest, ): Effect.Effect< RevokeVpcEndpointAccessResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; startElasticsearchServiceSoftwareUpdate( input: StartElasticsearchServiceSoftwareUpdateRequest, ): Effect.Effect< StartElasticsearchServiceSoftwareUpdateResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateElasticsearchDomainConfig( input: UpdateElasticsearchDomainConfigRequest, ): Effect.Effect< UpdateElasticsearchDomainConfigResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; updatePackage( input: UpdatePackageRequest, ): Effect.Effect< UpdatePackageResponse, - | AccessDeniedException - | BaseException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateVpcEndpoint( input: UpdateVpcEndpointRequest, ): Effect.Effect< UpdateVpcEndpointResponse, - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; upgradeElasticsearchDomain( input: UpgradeElasticsearchDomainRequest, ): Effect.Effect< UpgradeElasticsearchDomainResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceAlreadyExistsException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -634,8 +396,7 @@ export interface AutoTuneMaintenanceSchedule { Duration?: Duration; CronExpressionForRecurrence?: string; } -export type AutoTuneMaintenanceScheduleList = - Array; +export type AutoTuneMaintenanceScheduleList = Array; export interface AutoTuneOptions { DesiredState?: AutoTuneDesiredState; RollbackOnDisable?: RollbackOnDisable; @@ -653,16 +414,7 @@ export interface AutoTuneOptionsStatus { Options?: AutoTuneOptions; Status?: AutoTuneStatus; } -export type AutoTuneState = - | "ENABLED" - | "DISABLED" - | "ENABLE_IN_PROGRESS" - | "DISABLE_IN_PROGRESS" - | "DISABLED_AND_ROLLBACK_SCHEDULED" - | "DISABLED_AND_ROLLBACK_IN_PROGRESS" - | "DISABLED_AND_ROLLBACK_COMPLETE" - | "DISABLED_AND_ROLLBACK_ERROR" - | "ERROR"; +export type AutoTuneState = "ENABLED" | "DISABLED" | "ENABLE_IN_PROGRESS" | "DISABLE_IN_PROGRESS" | "DISABLED_AND_ROLLBACK_SCHEDULED" | "DISABLED_AND_ROLLBACK_IN_PROGRESS" | "DISABLED_AND_ROLLBACK_COMPLETE" | "DISABLED_AND_ROLLBACK_ERROR" | "ERROR"; export interface AutoTuneStatus { CreationDate: Date | string; UpdateDate: Date | string; @@ -759,15 +511,7 @@ export interface CompatibleVersionsMap { SourceVersion?: string; TargetVersions?: Array; } -export type ConfigChangeStatus = - | "Pending" - | "Initializing" - | "Validating" - | "ValidationFailed" - | "ApplyingChanges" - | "Completed" - | "PendingUserInput" - | "Cancelled"; +export type ConfigChangeStatus = "Pending" | "Initializing" | "Validating" | "ValidationFailed" | "ApplyingChanges" | "Completed" | "PendingUserInput" | "Cancelled"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -863,12 +607,7 @@ export interface DeleteVpcEndpointResponse { } export type DeploymentCloseDateTimeStamp = Date | string; -export type DeploymentStatus = - | "PENDING_UPDATE" - | "IN_PROGRESS" - | "COMPLETED" - | "NOT_ELIGIBLE" - | "ELIGIBLE"; +export type DeploymentStatus = "PENDING_UPDATE" | "IN_PROGRESS" | "COMPLETED" | "NOT_ELIGIBLE" | "ELIGIBLE"; export type DeploymentType = string; export interface DescribeDomainAutoTunesRequest { @@ -936,10 +675,7 @@ export interface DescribePackagesFilter { Value?: Array; } export type DescribePackagesFilterList = Array; -export type DescribePackagesFilterName = - | "PackageID" - | "PackageName" - | "PackageStatus"; +export type DescribePackagesFilterName = "PackageID" | "PackageName" | "PackageStatus"; export type DescribePackagesFilterValue = string; export type DescribePackagesFilterValues = Array; @@ -1035,20 +771,8 @@ export interface DomainPackageDetails { ErrorDetails?: ErrorDetails; } export type DomainPackageDetailsList = Array; -export type DomainPackageStatus = - | "ASSOCIATING" - | "ASSOCIATION_FAILED" - | "ACTIVE" - | "DISSOCIATING" - | "DISSOCIATION_FAILED"; -export type DomainProcessingStatusType = - | "Creating" - | "Active" - | "Modifying" - | "UpgradingEngineVersion" - | "UpdatingServiceSoftware" - | "Isolated" - | "Deleting"; +export type DomainPackageStatus = "ASSOCIATING" | "ASSOCIATION_FAILED" | "ACTIVE" | "DISSOCIATING" | "DISSOCIATION_FAILED"; +export type DomainProcessingStatusType = "Creating" | "Active" | "Modifying" | "UpgradingEngineVersion" | "UpdatingServiceSoftware" | "Isolated" | "Deleting"; export type Double = number; export type DryRun = boolean; @@ -1167,68 +891,8 @@ export type ErrorMessage = string; export type ErrorType = string; -export type ESPartitionInstanceType = - | "m3.medium.elasticsearch" - | "m3.large.elasticsearch" - | "m3.xlarge.elasticsearch" - | "m3.2xlarge.elasticsearch" - | "m4.large.elasticsearch" - | "m4.xlarge.elasticsearch" - | "m4.2xlarge.elasticsearch" - | "m4.4xlarge.elasticsearch" - | "m4.10xlarge.elasticsearch" - | "m5.large.elasticsearch" - | "m5.xlarge.elasticsearch" - | "m5.2xlarge.elasticsearch" - | "m5.4xlarge.elasticsearch" - | "m5.12xlarge.elasticsearch" - | "r5.large.elasticsearch" - | "r5.xlarge.elasticsearch" - | "r5.2xlarge.elasticsearch" - | "r5.4xlarge.elasticsearch" - | "r5.12xlarge.elasticsearch" - | "c5.large.elasticsearch" - | "c5.xlarge.elasticsearch" - | "c5.2xlarge.elasticsearch" - | "c5.4xlarge.elasticsearch" - | "c5.9xlarge.elasticsearch" - | "c5.18xlarge.elasticsearch" - | "ultrawarm1.medium.elasticsearch" - | "ultrawarm1.large.elasticsearch" - | "t2.micro.elasticsearch" - | "t2.small.elasticsearch" - | "t2.medium.elasticsearch" - | "r3.large.elasticsearch" - | "r3.xlarge.elasticsearch" - | "r3.2xlarge.elasticsearch" - | "r3.4xlarge.elasticsearch" - | "r3.8xlarge.elasticsearch" - | "i2.xlarge.elasticsearch" - | "i2.2xlarge.elasticsearch" - | "d2.xlarge.elasticsearch" - | "d2.2xlarge.elasticsearch" - | "d2.4xlarge.elasticsearch" - | "d2.8xlarge.elasticsearch" - | "c4.large.elasticsearch" - | "c4.xlarge.elasticsearch" - | "c4.2xlarge.elasticsearch" - | "c4.4xlarge.elasticsearch" - | "c4.8xlarge.elasticsearch" - | "r4.large.elasticsearch" - | "r4.xlarge.elasticsearch" - | "r4.2xlarge.elasticsearch" - | "r4.4xlarge.elasticsearch" - | "r4.8xlarge.elasticsearch" - | "r4.16xlarge.elasticsearch" - | "i3.large.elasticsearch" - | "i3.xlarge.elasticsearch" - | "i3.2xlarge.elasticsearch" - | "i3.4xlarge.elasticsearch" - | "i3.8xlarge.elasticsearch" - | "i3.16xlarge.elasticsearch"; -export type ESWarmPartitionInstanceType = - | "ultrawarm1.medium.elasticsearch" - | "ultrawarm1.large.elasticsearch"; +export type ESPartitionInstanceType = "m3.medium.elasticsearch" | "m3.large.elasticsearch" | "m3.xlarge.elasticsearch" | "m3.2xlarge.elasticsearch" | "m4.large.elasticsearch" | "m4.xlarge.elasticsearch" | "m4.2xlarge.elasticsearch" | "m4.4xlarge.elasticsearch" | "m4.10xlarge.elasticsearch" | "m5.large.elasticsearch" | "m5.xlarge.elasticsearch" | "m5.2xlarge.elasticsearch" | "m5.4xlarge.elasticsearch" | "m5.12xlarge.elasticsearch" | "r5.large.elasticsearch" | "r5.xlarge.elasticsearch" | "r5.2xlarge.elasticsearch" | "r5.4xlarge.elasticsearch" | "r5.12xlarge.elasticsearch" | "c5.large.elasticsearch" | "c5.xlarge.elasticsearch" | "c5.2xlarge.elasticsearch" | "c5.4xlarge.elasticsearch" | "c5.9xlarge.elasticsearch" | "c5.18xlarge.elasticsearch" | "ultrawarm1.medium.elasticsearch" | "ultrawarm1.large.elasticsearch" | "t2.micro.elasticsearch" | "t2.small.elasticsearch" | "t2.medium.elasticsearch" | "r3.large.elasticsearch" | "r3.xlarge.elasticsearch" | "r3.2xlarge.elasticsearch" | "r3.4xlarge.elasticsearch" | "r3.8xlarge.elasticsearch" | "i2.xlarge.elasticsearch" | "i2.2xlarge.elasticsearch" | "d2.xlarge.elasticsearch" | "d2.2xlarge.elasticsearch" | "d2.4xlarge.elasticsearch" | "d2.8xlarge.elasticsearch" | "c4.large.elasticsearch" | "c4.xlarge.elasticsearch" | "c4.2xlarge.elasticsearch" | "c4.4xlarge.elasticsearch" | "c4.8xlarge.elasticsearch" | "r4.large.elasticsearch" | "r4.xlarge.elasticsearch" | "r4.2xlarge.elasticsearch" | "r4.4xlarge.elasticsearch" | "r4.8xlarge.elasticsearch" | "r4.16xlarge.elasticsearch" | "i3.large.elasticsearch" | "i3.xlarge.elasticsearch" | "i3.2xlarge.elasticsearch" | "i3.4xlarge.elasticsearch" | "i3.8xlarge.elasticsearch" | "i3.16xlarge.elasticsearch"; +export type ESWarmPartitionInstanceType = "ultrawarm1.medium.elasticsearch" | "ultrawarm1.large.elasticsearch"; export interface Filter { Name?: string; Values?: Array; @@ -1278,19 +942,12 @@ export interface InboundCrossClusterSearchConnection { CrossClusterSearchConnectionId?: string; ConnectionStatus?: InboundCrossClusterSearchConnectionStatus; } -export type InboundCrossClusterSearchConnections = - Array; +export type InboundCrossClusterSearchConnections = Array; export interface InboundCrossClusterSearchConnectionStatus { StatusCode?: InboundCrossClusterSearchConnectionStatusCode; Message?: string; } -export type InboundCrossClusterSearchConnectionStatusCode = - | "PENDING_ACCEPTANCE" - | "APPROVED" - | "REJECTING" - | "REJECTED" - | "DELETING" - | "DELETED"; +export type InboundCrossClusterSearchConnectionStatusCode = "PENDING_ACCEPTANCE" | "APPROVED" | "REJECTING" | "REJECTED" | "DELETING" | "DELETED"; export type InitiatedBy = "CUSTOMER" | "SERVICE"; export type InstanceCount = number; @@ -1425,11 +1082,7 @@ export interface LogPublishingOptionsStatus { Options?: { [key in LogType]?: string }; Status?: OptionStatus; } -export type LogType = - | "INDEX_SLOW_LOGS" - | "SEARCH_SLOW_LOGS" - | "ES_APPLICATION_LOGS" - | "AUDIT_LOGS"; +export type LogType = "INDEX_SLOW_LOGS" | "SEARCH_SLOW_LOGS" | "ES_APPLICATION_LOGS" | "AUDIT_LOGS"; export interface MasterUserOptions { MasterUserARN?: string; MasterUserName?: string; @@ -1476,26 +1129,13 @@ export interface OutboundCrossClusterSearchConnection { ConnectionAlias?: string; ConnectionStatus?: OutboundCrossClusterSearchConnectionStatus; } -export type OutboundCrossClusterSearchConnections = - Array; +export type OutboundCrossClusterSearchConnections = Array; export interface OutboundCrossClusterSearchConnectionStatus { StatusCode?: OutboundCrossClusterSearchConnectionStatusCode; Message?: string; } -export type OutboundCrossClusterSearchConnectionStatusCode = - | "PENDING_ACCEPTANCE" - | "VALIDATING" - | "VALIDATION_FAILED" - | "PROVISIONING" - | "ACTIVE" - | "REJECTED" - | "DELETING" - | "DELETED"; -export type OverallChangeStatus = - | "PENDING" - | "PROCESSING" - | "COMPLETED" - | "FAILED"; +export type OutboundCrossClusterSearchConnectionStatusCode = "PENDING_ACCEPTANCE" | "VALIDATING" | "VALIDATION_FAILED" | "PROVISIONING" | "ACTIVE" | "REJECTED" | "DELETING" | "DELETED"; +export type OverallChangeStatus = "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED"; export type OwnerId = string; export type PackageDescription = string; @@ -1520,15 +1160,7 @@ export interface PackageSource { S3BucketName?: string; S3Key?: string; } -export type PackageStatus = - | "COPYING" - | "COPY_FAILED" - | "VALIDATING" - | "VALIDATION_FAILED" - | "AVAILABLE" - | "DELETING" - | "DELETED" - | "DELETE_FAILED"; +export type PackageStatus = "COPYING" | "COPY_FAILED" | "VALIDATING" | "VALIDATION_FAILED" | "AVAILABLE" | "DELETING" | "DELETED" | "DELETE_FAILED"; export type PackageType = "TXT-DICTIONARY"; export type PackageVersion = string; @@ -1589,8 +1221,7 @@ export interface ReservedElasticsearchInstance { PaymentOption?: ReservedElasticsearchInstancePaymentOption; RecurringCharges?: Array; } -export type ReservedElasticsearchInstanceList = - Array; +export type ReservedElasticsearchInstanceList = Array; export interface ReservedElasticsearchInstanceOffering { ReservedElasticsearchInstanceOfferingId?: string; ElasticsearchInstanceType?: ESPartitionInstanceType; @@ -1601,12 +1232,8 @@ export interface ReservedElasticsearchInstanceOffering { PaymentOption?: ReservedElasticsearchInstancePaymentOption; RecurringCharges?: Array; } -export type ReservedElasticsearchInstanceOfferingList = - Array; -export type ReservedElasticsearchInstancePaymentOption = - | "ALL_UPFRONT" - | "PARTIAL_UPFRONT" - | "NO_UPFRONT"; +export type ReservedElasticsearchInstanceOfferingList = Array; +export type ReservedElasticsearchInstancePaymentOption = "ALL_UPFRONT" | "PARTIAL_UPFRONT" | "NO_UPFRONT"; export declare class ResourceAlreadyExistsException extends EffectData.TaggedError( "ResourceAlreadyExistsException", )<{ @@ -1621,7 +1248,8 @@ export interface RevokeVpcEndpointAccessRequest { DomainName: string; Account: string; } -export interface RevokeVpcEndpointAccessResponse {} +export interface RevokeVpcEndpointAccessResponse { +} export type RoleArn = string; export type RollbackOnDisable = "NO_ROLLBACK" | "DEFAULT_ROLLBACK"; @@ -1653,9 +1281,7 @@ export interface SAMLOptionsOutput { RolesKey?: string; SessionTimeoutMinutes?: number; } -export type ScheduledAutoTuneActionType = - | "JVM_HEAP_SIZE_TUNING" - | "JVM_YOUNG_GEN_TUNING"; +export type ScheduledAutoTuneActionType = "JVM_HEAP_SIZE_TUNING" | "JVM_YOUNG_GEN_TUNING"; export type ScheduledAutoTuneDescription = string; export interface ScheduledAutoTuneDetails { @@ -1722,10 +1348,7 @@ export type TagList = Array; export type TagValue = string; export type TimeUnit = "HOURS"; -export type TLSSecurityPolicy = - | "Policy-Min-TLS-1-0-2019-07" - | "Policy-Min-TLS-1-2-2019-07" - | "Policy-Min-TLS-1-2-PFS-2023-10"; +export type TLSSecurityPolicy = "Policy-Min-TLS-1-0-2019-07" | "Policy-Min-TLS-1-2-2019-07" | "Policy-Min-TLS-1-2-PFS-2023-10"; export type TotalNumberOfStages = number; export type UIntValue = number; @@ -1789,11 +1412,7 @@ export interface UpgradeHistory { export type UpgradeHistoryList = Array; export type UpgradeName = string; -export type UpgradeStatus = - | "IN_PROGRESS" - | "SUCCEEDED" - | "SUCCEEDED_WITH_ISSUES" - | "FAILED"; +export type UpgradeStatus = "IN_PROGRESS" | "SUCCEEDED" | "SUCCEEDED_WITH_ISSUES" | "FAILED"; export type UpgradeStep = "PRE_UPGRADE_CHECK" | "SNAPSHOT" | "UPGRADE"; export interface UpgradeStepItem { UpgradeStep?: UpgradeStep; @@ -1842,14 +1461,7 @@ export type VpcEndpointId = string; export type VpcEndpointIdList = Array; export type VpcEndpoints = Array; -export type VpcEndpointStatus = - | "CREATING" - | "CREATE_FAILED" - | "ACTIVE" - | "UPDATING" - | "UPDATE_FAILED" - | "DELETING" - | "DELETE_FAILED"; +export type VpcEndpointStatus = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "UPDATING" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED"; export interface VpcEndpointSummary { VpcEndpointId?: string; VpcEndpointOwner?: string; @@ -2243,7 +1855,10 @@ export declare namespace GetUpgradeStatus { export declare namespace ListDomainNames { export type Input = ListDomainNamesRequest; export type Output = ListDomainNamesResponse; - export type Error = BaseException | ValidationException | CommonAwsError; + export type Error = + | BaseException + | ValidationException + | CommonAwsError; } export declare namespace ListDomainsForPackage { @@ -2442,16 +2057,5 @@ export declare namespace UpgradeElasticsearchDomain { | CommonAwsError; } -export type ElasticsearchServiceErrors = - | AccessDeniedException - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | InvalidPaginationTokenException - | InvalidTypeException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type ElasticsearchServiceErrors = AccessDeniedException | BaseException | ConflictException | DisabledOperationException | InternalException | InvalidPaginationTokenException | InvalidTypeException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/emr-containers/index.ts b/src/services/emr-containers/index.ts index c080d00b..a790539a 100644 --- a/src/services/emr-containers/index.ts +++ b/src/services/emr-containers/index.ts @@ -5,25 +5,7 @@ import type { EMRcontainers as _EMRcontainersClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,32 +15,29 @@ const metadata = { sigV4ServiceName: "emr-containers", endpointPrefix: "emr-containers", operations: { - CancelJobRun: "DELETE /virtualclusters/{virtualClusterId}/jobruns/{id}", - CreateJobTemplate: "POST /jobtemplates", - CreateManagedEndpoint: "POST /virtualclusters/{virtualClusterId}/endpoints", - CreateSecurityConfiguration: "POST /securityconfigurations", - CreateVirtualCluster: "POST /virtualclusters", - DeleteJobTemplate: "DELETE /jobtemplates/{id}", - DeleteManagedEndpoint: - "DELETE /virtualclusters/{virtualClusterId}/endpoints/{id}", - DeleteVirtualCluster: "DELETE /virtualclusters/{id}", - DescribeJobRun: "GET /virtualclusters/{virtualClusterId}/jobruns/{id}", - DescribeJobTemplate: "GET /jobtemplates/{id}", - DescribeManagedEndpoint: - "GET /virtualclusters/{virtualClusterId}/endpoints/{id}", - DescribeSecurityConfiguration: "GET /securityconfigurations/{id}", - DescribeVirtualCluster: "GET /virtualclusters/{id}", - GetManagedEndpointSessionCredentials: - "POST /virtualclusters/{virtualClusterIdentifier}/endpoints/{endpointIdentifier}/credentials", - ListJobRuns: "GET /virtualclusters/{virtualClusterId}/jobruns", - ListJobTemplates: "GET /jobtemplates", - ListManagedEndpoints: "GET /virtualclusters/{virtualClusterId}/endpoints", - ListSecurityConfigurations: "GET /securityconfigurations", - ListTagsForResource: "GET /tags/{resourceArn}", - ListVirtualClusters: "GET /virtualclusters", - StartJobRun: "POST /virtualclusters/{virtualClusterId}/jobruns", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", + "CancelJobRun": "DELETE /virtualclusters/{virtualClusterId}/jobruns/{id}", + "CreateJobTemplate": "POST /jobtemplates", + "CreateManagedEndpoint": "POST /virtualclusters/{virtualClusterId}/endpoints", + "CreateSecurityConfiguration": "POST /securityconfigurations", + "CreateVirtualCluster": "POST /virtualclusters", + "DeleteJobTemplate": "DELETE /jobtemplates/{id}", + "DeleteManagedEndpoint": "DELETE /virtualclusters/{virtualClusterId}/endpoints/{id}", + "DeleteVirtualCluster": "DELETE /virtualclusters/{id}", + "DescribeJobRun": "GET /virtualclusters/{virtualClusterId}/jobruns/{id}", + "DescribeJobTemplate": "GET /jobtemplates/{id}", + "DescribeManagedEndpoint": "GET /virtualclusters/{virtualClusterId}/endpoints/{id}", + "DescribeSecurityConfiguration": "GET /securityconfigurations/{id}", + "DescribeVirtualCluster": "GET /virtualclusters/{id}", + "GetManagedEndpointSessionCredentials": "POST /virtualclusters/{virtualClusterIdentifier}/endpoints/{endpointIdentifier}/credentials", + "ListJobRuns": "GET /virtualclusters/{virtualClusterId}/jobruns", + "ListJobTemplates": "GET /jobtemplates", + "ListManagedEndpoints": "GET /virtualclusters/{virtualClusterId}/endpoints", + "ListSecurityConfigurations": "GET /securityconfigurations", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListVirtualClusters": "GET /virtualclusters", + "StartJobRun": "POST /virtualclusters/{virtualClusterId}/jobruns", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/emr-containers/types.ts b/src/services/emr-containers/types.ts index 6a4906db..4fec88c2 100644 --- a/src/services/emr-containers/types.ts +++ b/src/services/emr-containers/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class EMRcontainers extends AWSServiceClient { @@ -48,19 +14,13 @@ export declare class EMRcontainers extends AWSServiceClient { input: CreateJobTemplateRequest, ): Effect.Effect< CreateJobTemplateResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createManagedEndpoint( input: CreateManagedEndpointRequest, ): Effect.Effect< CreateManagedEndpointResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createSecurityConfiguration( input: CreateSecurityConfigurationRequest, @@ -72,11 +32,7 @@ export declare class EMRcontainers extends AWSServiceClient { input: CreateVirtualClusterRequest, ): Effect.Effect< CreateVirtualClusterResponse, - | EKSRequestThrottledException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + EKSRequestThrottledException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteJobTemplate( input: DeleteJobTemplateRequest, @@ -100,56 +56,37 @@ export declare class EMRcontainers extends AWSServiceClient { input: DescribeJobRunRequest, ): Effect.Effect< DescribeJobRunResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeJobTemplate( input: DescribeJobTemplateRequest, ): Effect.Effect< DescribeJobTemplateResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeManagedEndpoint( input: DescribeManagedEndpointRequest, ): Effect.Effect< DescribeManagedEndpointResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeSecurityConfiguration( input: DescribeSecurityConfigurationRequest, ): Effect.Effect< DescribeSecurityConfigurationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeVirtualCluster( input: DescribeVirtualClusterRequest, ): Effect.Effect< DescribeVirtualClusterResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getManagedEndpointSessionCredentials( input: GetManagedEndpointSessionCredentialsRequest, ): Effect.Effect< GetManagedEndpointSessionCredentialsResponse, - | InternalServerException - | RequestThrottledException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | RequestThrottledException | ResourceNotFoundException | ValidationException | CommonAwsError >; listJobRuns( input: ListJobRunsRequest, @@ -179,10 +116,7 @@ export declare class EMRcontainers extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listVirtualClusters( input: ListVirtualClustersRequest, @@ -194,28 +128,19 @@ export declare class EMRcontainers extends AWSServiceClient { input: StartJobRunRequest, ): Effect.Effect< StartJobRunResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -267,7 +192,7 @@ interface _ContainerInfo { eksInfo?: EksInfo; } -export type ContainerInfo = _ContainerInfo & { eksInfo: EksInfo }; +export type ContainerInfo = (_ContainerInfo & { eksInfo: EksInfo }); export interface ContainerLogRotationConfiguration { rotationSize: string; maxFilesToKeep: number; @@ -336,7 +261,7 @@ interface _Credentials { token?: string; } -export type Credentials = _Credentials & { token: string }; +export type Credentials = (_Credentials & { token: string }); export type CredentialType = string; export type EmrContainersDate = Date | string; @@ -428,12 +353,7 @@ export interface Endpoint { export type EndpointArn = string; export type Endpoints = Array; -export type EndpointState = - | "CREATING" - | "ACTIVE" - | "TERMINATING" - | "TERMINATED" - | "TERMINATED_WITH_ERRORS"; +export type EndpointState = "CREATING" | "ACTIVE" | "TERMINATING" | "TERMINATED" | "TERMINATED_WITH_ERRORS"; export type EndpointStates = Array; export type EndpointType = string; @@ -443,11 +363,7 @@ export type EntryPointArgument = string; export type EntryPointArguments = Array; export type EntryPointPath = string; -export type FailureReason = - | "INTERNAL_ERROR" - | "USER_ERROR" - | "VALIDATION_ERROR" - | "CLUSTER_UNAVAILABLE"; +export type FailureReason = "INTERNAL_ERROR" | "USER_ERROR" | "VALIDATION_ERROR" | "CLUSTER_UNAVAILABLE"; export interface GetManagedEndpointSessionCredentialsRequest { endpointIdentifier: string; virtualClusterIdentifier: string; @@ -501,14 +417,7 @@ export interface JobRun { retryPolicyExecution?: RetryPolicyExecution; } export type JobRuns = Array; -export type JobRunState = - | "PENDING" - | "SUBMITTED" - | "RUNNING" - | "FAILED" - | "CANCELLED" - | "CANCEL_PENDING" - | "COMPLETED"; +export type JobRunState = "PENDING" | "SUBMITTED" | "RUNNING" | "FAILED" | "CANCELLED" | "CANCEL_PENDING" | "COMPLETED"; export type JobRunStates = Array; export interface JobTemplate { name?: string; @@ -751,17 +660,15 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TemplateParameter = string; export interface TemplateParameterConfiguration { type?: TemplateParameterDataType; defaultValue?: string; } -export type TemplateParameterConfigurationMap = Record< - string, - TemplateParameterConfiguration ->; +export type TemplateParameterConfigurationMap = Record; export type TemplateParameterDataType = "NUMBER" | "STRING"; export type TemplateParameterInputMap = Record; export type TemplateParameterName = string; @@ -777,7 +684,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UriString = string; export declare class ValidationException extends EffectData.TaggedError( @@ -798,11 +706,7 @@ export interface VirtualCluster { export type VirtualClusterArn = string; export type VirtualClusters = Array; -export type VirtualClusterState = - | "RUNNING" - | "TERMINATING" - | "TERMINATED" - | "ARRESTED"; +export type VirtualClusterState = "RUNNING" | "TERMINATING" | "TERMINATED" | "ARRESTED"; export type VirtualClusterStates = Array; export declare namespace CancelJobRun { export type Input = CancelJobRunRequest; @@ -1026,10 +930,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type EMRcontainersErrors = - | EKSRequestThrottledException - | InternalServerException - | RequestThrottledException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type EMRcontainersErrors = EKSRequestThrottledException | InternalServerException | RequestThrottledException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/emr-serverless/index.ts b/src/services/emr-serverless/index.ts index 54a5686a..afa8875f 100644 --- a/src/services/emr-serverless/index.ts +++ b/src/services/emr-serverless/index.ts @@ -5,25 +5,7 @@ import type { EMRServerless as _EMRServerlessClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,24 +14,22 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "emr-serverless", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CancelJobRun: "DELETE /applications/{applicationId}/jobruns/{jobRunId}", - CreateApplication: "POST /applications", - DeleteApplication: "DELETE /applications/{applicationId}", - GetApplication: "GET /applications/{applicationId}", - GetDashboardForJobRun: - "GET /applications/{applicationId}/jobruns/{jobRunId}/dashboard", - GetJobRun: "GET /applications/{applicationId}/jobruns/{jobRunId}", - ListApplications: "GET /applications", - ListJobRunAttempts: - "GET /applications/{applicationId}/jobruns/{jobRunId}/attempts", - ListJobRuns: "GET /applications/{applicationId}/jobruns", - StartApplication: "POST /applications/{applicationId}/start", - StartJobRun: "POST /applications/{applicationId}/jobruns", - StopApplication: "POST /applications/{applicationId}/stop", - UpdateApplication: "PATCH /applications/{applicationId}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CancelJobRun": "DELETE /applications/{applicationId}/jobruns/{jobRunId}", + "CreateApplication": "POST /applications", + "DeleteApplication": "DELETE /applications/{applicationId}", + "GetApplication": "GET /applications/{applicationId}", + "GetDashboardForJobRun": "GET /applications/{applicationId}/jobruns/{jobRunId}/dashboard", + "GetJobRun": "GET /applications/{applicationId}/jobruns/{jobRunId}", + "ListApplications": "GET /applications", + "ListJobRunAttempts": "GET /applications/{applicationId}/jobruns/{jobRunId}/attempts", + "ListJobRuns": "GET /applications/{applicationId}/jobruns", + "StartApplication": "POST /applications/{applicationId}/start", + "StartJobRun": "POST /applications/{applicationId}/jobruns", + "StopApplication": "POST /applications/{applicationId}/stop", + "UpdateApplication": "PATCH /applications/{applicationId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/emr-serverless/types.ts b/src/services/emr-serverless/types.ts index b03eda7c..d1bc08ca 100644 --- a/src/services/emr-serverless/types.ts +++ b/src/services/emr-serverless/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class EMRServerless extends AWSServiceClient { @@ -42,83 +8,55 @@ export declare class EMRServerless extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; cancelJobRun( input: CancelJobRunRequest, ): Effect.Effect< CancelJobRunResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getApplication( input: GetApplicationRequest, ): Effect.Effect< GetApplicationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getDashboardForJobRun( input: GetDashboardForJobRunRequest, ): Effect.Effect< GetDashboardForJobRunResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getJobRun( input: GetJobRunRequest, ): Effect.Effect< GetJobRunResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listApplications( input: ListApplicationsRequest, @@ -130,10 +68,7 @@ export declare class EMRServerless extends AWSServiceClient { input: ListJobRunAttemptsRequest, ): Effect.Effect< ListJobRunAttemptsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listJobRuns( input: ListJobRunsRequest, @@ -145,39 +80,25 @@ export declare class EMRServerless extends AWSServiceClient { input: StartApplicationRequest, ): Effect.Effect< StartApplicationResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; startJobRun( input: StartJobRunRequest, ): Effect.Effect< StartJobRunResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; stopApplication( input: StopApplicationRequest, ): Effect.Effect< StopApplicationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -312,7 +233,8 @@ export type EmrServerlessDate = Date | string; export interface DeleteApplicationRequest { applicationId: string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export type DiskSize = string; export type DiskType = string; @@ -407,9 +329,7 @@ interface _JobDriver { hive?: Hive; } -export type JobDriver = - | (_JobDriver & { sparkSubmit: SparkSubmit }) - | (_JobDriver & { hive: Hive }); +export type JobDriver = (_JobDriver & { sparkSubmit: SparkSubmit }) | (_JobDriver & { hive: Hive }); export interface JobRun { applicationId: string; jobRunId: string; @@ -618,7 +538,8 @@ export type SparkSubmitParameters = string; export interface StartApplicationRequest { applicationId: string; } -export interface StartApplicationResponse {} +export interface StartApplicationResponse { +} export interface StartJobRunRequest { applicationId: string; clientToken: string; @@ -640,7 +561,8 @@ export interface StartJobRunResponse { export interface StopApplicationRequest { applicationId: string; } -export interface StopApplicationResponse {} +export interface StopApplicationResponse { +} export type String1024 = string; export type String256 = string; @@ -656,7 +578,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TotalResourceUtilization { @@ -668,7 +591,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationRequest { applicationId: string; clientToken: string; @@ -713,14 +637,8 @@ export interface WorkerTypeSpecification { export interface WorkerTypeSpecificationInput { imageConfiguration?: ImageConfigurationInput; } -export type WorkerTypeSpecificationInputMap = Record< - string, - WorkerTypeSpecificationInput ->; -export type WorkerTypeSpecificationMap = Record< - string, - WorkerTypeSpecification ->; +export type WorkerTypeSpecificationInputMap = Record; +export type WorkerTypeSpecificationMap = Record; export type WorkerTypeString = string; export declare namespace ListTagsForResource { @@ -884,10 +802,5 @@ export declare namespace UpdateApplication { | CommonAwsError; } -export type EMRServerlessErrors = - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type EMRServerlessErrors = ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/emr/index.ts b/src/services/emr/index.ts index 502ffbf5..530e38d3 100644 --- a/src/services/emr/index.ts +++ b/src/services/emr/index.ts @@ -5,26 +5,7 @@ import type { EMR as _EMRClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/emr/types.ts b/src/services/emr/types.ts index 628993a6..08762f8f 100644 --- a/src/services/emr/types.ts +++ b/src/services/emr/types.ts @@ -17,7 +17,10 @@ export declare class EMR extends AWSServiceClient { >; addJobFlowSteps( input: AddJobFlowStepsInput, - ): Effect.Effect; + ): Effect.Effect< + AddJobFlowStepsOutput, + InternalServerError | CommonAwsError + >; addTags( input: AddTagsInput, ): Effect.Effect< @@ -122,7 +125,10 @@ export declare class EMR extends AWSServiceClient { >; getAutoTerminationPolicy( input: GetAutoTerminationPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + GetAutoTerminationPolicyOutput, + CommonAwsError + >; getBlockPublicAccessConfiguration( input: GetBlockPublicAccessConfigurationInput, ): Effect.Effect< @@ -137,7 +143,10 @@ export declare class EMR extends AWSServiceClient { >; getManagedScalingPolicy( input: GetManagedScalingPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + GetManagedScalingPolicyOutput, + CommonAwsError + >; getOnClusterAppUIPresignedURL( input: GetOnClusterAppUIPresignedURLInput, ): Effect.Effect< @@ -242,13 +251,22 @@ export declare class EMR extends AWSServiceClient { >; modifyInstanceGroups( input: ModifyInstanceGroupsInput, - ): Effect.Effect<{}, InternalServerError | CommonAwsError>; + ): Effect.Effect< + {}, + InternalServerError | CommonAwsError + >; putAutoScalingPolicy( input: PutAutoScalingPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + PutAutoScalingPolicyOutput, + CommonAwsError + >; putAutoTerminationPolicy( input: PutAutoTerminationPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + PutAutoTerminationPolicyOutput, + CommonAwsError + >; putBlockPublicAccessConfiguration( input: PutBlockPublicAccessConfigurationInput, ): Effect.Effect< @@ -257,16 +275,28 @@ export declare class EMR extends AWSServiceClient { >; putManagedScalingPolicy( input: PutManagedScalingPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + PutManagedScalingPolicyOutput, + CommonAwsError + >; removeAutoScalingPolicy( input: RemoveAutoScalingPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + RemoveAutoScalingPolicyOutput, + CommonAwsError + >; removeAutoTerminationPolicy( input: RemoveAutoTerminationPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + RemoveAutoTerminationPolicyOutput, + CommonAwsError + >; removeManagedScalingPolicy( input: RemoveManagedScalingPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + RemoveManagedScalingPolicyOutput, + CommonAwsError + >; removeTags( input: RemoveTagsInput, ): Effect.Effect< @@ -275,19 +305,34 @@ export declare class EMR extends AWSServiceClient { >; runJobFlow( input: RunJobFlowInput, - ): Effect.Effect; + ): Effect.Effect< + RunJobFlowOutput, + InternalServerError | CommonAwsError + >; setKeepJobFlowAliveWhenNoSteps( input: SetKeepJobFlowAliveWhenNoStepsInput, - ): Effect.Effect<{}, InternalServerError | CommonAwsError>; + ): Effect.Effect< + {}, + InternalServerError | CommonAwsError + >; setTerminationProtection( input: SetTerminationProtectionInput, - ): Effect.Effect<{}, InternalServerError | CommonAwsError>; + ): Effect.Effect< + {}, + InternalServerError | CommonAwsError + >; setUnhealthyNodeReplacement( input: SetUnhealthyNodeReplacementInput, - ): Effect.Effect<{}, InternalServerError | CommonAwsError>; + ): Effect.Effect< + {}, + InternalServerError | CommonAwsError + >; setVisibleToAllUsers( input: SetVisibleToAllUsersInput, - ): Effect.Effect<{}, InternalServerError | CommonAwsError>; + ): Effect.Effect< + {}, + InternalServerError | CommonAwsError + >; startNotebookExecution( input: StartNotebookExecutionInput, ): Effect.Effect< @@ -302,7 +347,10 @@ export declare class EMR extends AWSServiceClient { >; terminateJobFlows( input: TerminateJobFlowsInput, - ): Effect.Effect<{}, InternalServerError | CommonAwsError>; + ): Effect.Effect< + {}, + InternalServerError | CommonAwsError + >; updateStudio( input: UpdateStudioInput, ): Effect.Effect< @@ -319,11 +367,7 @@ export declare class EMR extends AWSServiceClient { export declare class Emr extends EMR {} -export type ActionOnFailure = - | "TERMINATE_JOB_FLOW" - | "TERMINATE_CLUSTER" - | "CANCEL_AND_WAIT" - | "CONTINUE"; +export type ActionOnFailure = "TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE"; export interface AddInstanceFleetInput { ClusterId: string; InstanceFleet: InstanceFleetConfig; @@ -354,11 +398,9 @@ export interface AddTagsInput { ResourceId: string; Tags: Array; } -export interface AddTagsOutput {} -export type AdjustmentType = - | "CHANGE_IN_CAPACITY" - | "PERCENT_CHANGE_IN_CAPACITY" - | "EXACT_CAPACITY"; +export interface AddTagsOutput { +} +export type AdjustmentType = "CHANGE_IN_CAPACITY" | "PERCENT_CHANGE_IN_CAPACITY" | "EXACT_CAPACITY"; export interface Application { Name?: string; Version?: string; @@ -378,21 +420,12 @@ export interface AutoScalingPolicyDescription { Constraints?: ScalingConstraints; Rules?: Array; } -export type AutoScalingPolicyState = - | "PENDING" - | "ATTACHING" - | "ATTACHED" - | "DETACHING" - | "DETACHED" - | "FAILED"; +export type AutoScalingPolicyState = "PENDING" | "ATTACHING" | "ATTACHED" | "DETACHING" | "DETACHED" | "FAILED"; export interface AutoScalingPolicyStateChangeReason { Code?: AutoScalingPolicyStateChangeReasonCode; Message?: string; } -export type AutoScalingPolicyStateChangeReasonCode = - | "USER_REQUEST" - | "PROVISION_FAILURE" - | "CLEANUP_FAILURE"; +export type AutoScalingPolicyStateChangeReasonCode = "USER_REQUEST" | "PROVISION_FAILURE" | "CLEANUP_FAILURE"; export interface AutoScalingPolicyStatus { State?: AutoScalingPolicyState; StateChangeReason?: AutoScalingPolicyStateChangeReason; @@ -489,27 +522,12 @@ export interface Cluster { } export type ClusterId = string; -export type ClusterState = - | "STARTING" - | "BOOTSTRAPPING" - | "RUNNING" - | "WAITING" - | "TERMINATING" - | "TERMINATED" - | "TERMINATED_WITH_ERRORS"; +export type ClusterState = "STARTING" | "BOOTSTRAPPING" | "RUNNING" | "WAITING" | "TERMINATING" | "TERMINATED" | "TERMINATED_WITH_ERRORS"; export interface ClusterStateChangeReason { Code?: ClusterStateChangeReasonCode; Message?: string; } -export type ClusterStateChangeReasonCode = - | "INTERNAL_ERROR" - | "VALIDATION_ERROR" - | "INSTANCE_FAILURE" - | "INSTANCE_FLEET_TIMEOUT" - | "BOOTSTRAP_FAILURE" - | "USER_REQUEST" - | "STEP_FAILURE" - | "ALL_STEPS_COMPLETED"; +export type ClusterStateChangeReasonCode = "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INSTANCE_FAILURE" | "INSTANCE_FLEET_TIMEOUT" | "BOOTSTRAP_FAILURE" | "USER_REQUEST" | "STEP_FAILURE" | "ALL_STEPS_COMPLETED"; export type ClusterStateList = Array; export interface ClusterStatus { State?: ClusterState; @@ -537,11 +555,7 @@ export interface Command { Args?: Array; } export type CommandList = Array; -export type ComparisonOperator = - | "GREATER_THAN_OR_EQUAL" - | "GREATER_THAN" - | "LESS_THAN" - | "LESS_THAN_OR_EQUAL"; +export type ComparisonOperator = "GREATER_THAN_OR_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_OR_EQUAL"; export interface ComputeLimits { UnitType: ComputeLimitsUnitType; MinimumCapacityUnits: number; @@ -609,13 +623,14 @@ interface _Credentials { UsernamePassword?: UsernamePassword; } -export type Credentials = _Credentials & { UsernamePassword: UsernamePassword }; +export type Credentials = (_Credentials & { UsernamePassword: UsernamePassword }); export type EmrDate = Date | string; export interface DeleteSecurityConfigurationInput { Name: string; } -export interface DeleteSecurityConfigurationOutput {} +export interface DeleteSecurityConfigurationOutput { +} export interface DeleteStudioInput { StudioId: string; } @@ -753,7 +768,8 @@ export interface GetAutoTerminationPolicyInput { export interface GetAutoTerminationPolicyOutput { AutoTerminationPolicy?: AutoTerminationPolicy; } -export interface GetBlockPublicAccessConfigurationInput {} +export interface GetBlockPublicAccessConfigurationInput { +} export interface GetBlockPublicAccessConfigurationOutput { BlockPublicAccessConfiguration: BlockPublicAccessConfiguration; BlockPublicAccessConfigurationMetadata: BlockPublicAccessConfigurationMetadata; @@ -878,24 +894,12 @@ export interface InstanceFleetResizingSpecifications { SpotResizeSpecification?: SpotResizingSpecification; OnDemandResizeSpecification?: OnDemandResizingSpecification; } -export type InstanceFleetState = - | "PROVISIONING" - | "BOOTSTRAPPING" - | "RUNNING" - | "RESIZING" - | "RECONFIGURING" - | "SUSPENDED" - | "TERMINATING" - | "TERMINATED"; +export type InstanceFleetState = "PROVISIONING" | "BOOTSTRAPPING" | "RUNNING" | "RESIZING" | "RECONFIGURING" | "SUSPENDED" | "TERMINATING" | "TERMINATED"; export interface InstanceFleetStateChangeReason { Code?: InstanceFleetStateChangeReasonCode; Message?: string; } -export type InstanceFleetStateChangeReasonCode = - | "INTERNAL_ERROR" - | "VALIDATION_ERROR" - | "INSTANCE_FAILURE" - | "CLUSTER_TERMINATED"; +export type InstanceFleetStateChangeReasonCode = "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INSTANCE_FAILURE" | "CLUSTER_TERMINATED"; export interface InstanceFleetStatus { State?: InstanceFleetState; StateChangeReason?: InstanceFleetStateChangeReason; @@ -971,27 +975,12 @@ export interface InstanceGroupModifyConfig { Configurations?: Array; } export type InstanceGroupModifyConfigList = Array; -export type InstanceGroupState = - | "PROVISIONING" - | "BOOTSTRAPPING" - | "RUNNING" - | "RECONFIGURING" - | "RESIZING" - | "SUSPENDED" - | "TERMINATING" - | "TERMINATED" - | "ARRESTED" - | "SHUTTING_DOWN" - | "ENDED"; +export type InstanceGroupState = "PROVISIONING" | "BOOTSTRAPPING" | "RUNNING" | "RECONFIGURING" | "RESIZING" | "SUSPENDED" | "TERMINATING" | "TERMINATED" | "ARRESTED" | "SHUTTING_DOWN" | "ENDED"; export interface InstanceGroupStateChangeReason { Code?: InstanceGroupStateChangeReasonCode; Message?: string; } -export type InstanceGroupStateChangeReasonCode = - | "INTERNAL_ERROR" - | "VALIDATION_ERROR" - | "INSTANCE_FAILURE" - | "CLUSTER_TERMINATED"; +export type InstanceGroupStateChangeReasonCode = "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INSTANCE_FAILURE" | "CLUSTER_TERMINATED"; export interface InstanceGroupStatus { State?: InstanceGroupState; StateChangeReason?: InstanceGroupStateChangeReason; @@ -1013,22 +1002,12 @@ export interface InstanceResizePolicy { InstanceTerminationTimeout?: number; } export type InstanceRoleType = "MASTER" | "CORE" | "TASK"; -export type InstanceState = - | "AWAITING_FULFILLMENT" - | "PROVISIONING" - | "BOOTSTRAPPING" - | "RUNNING" - | "TERMINATED"; +export type InstanceState = "AWAITING_FULFILLMENT" | "PROVISIONING" | "BOOTSTRAPPING" | "RUNNING" | "TERMINATED"; export interface InstanceStateChangeReason { Code?: InstanceStateChangeReasonCode; Message?: string; } -export type InstanceStateChangeReasonCode = - | "INTERNAL_ERROR" - | "VALIDATION_ERROR" - | "INSTANCE_FAILURE" - | "BOOTSTRAP_FAILURE" - | "CLUSTER_TERMINATED"; +export type InstanceStateChangeReasonCode = "INTERNAL_ERROR" | "VALIDATION_ERROR" | "INSTANCE_FAILURE" | "BOOTSTRAP_FAILURE" | "CLUSTER_TERMINATED"; export type InstanceStateList = Array; export interface InstanceStatus { State?: InstanceState; @@ -1069,7 +1048,8 @@ export type Integer = number; export declare class InternalServerError extends EffectData.TaggedError( "InternalServerError", -)<{}> {} +)<{ +}> {} export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", )<{ @@ -1099,15 +1079,7 @@ export interface JobFlowDetail { ScaleDownBehavior?: ScaleDownBehavior; } export type JobFlowDetailList = Array; -export type JobFlowExecutionState = - | "STARTING" - | "BOOTSTRAPPING" - | "RUNNING" - | "WAITING" - | "SHUTTING_DOWN" - | "TERMINATED" - | "COMPLETED" - | "FAILED"; +export type JobFlowExecutionState = "STARTING" | "BOOTSTRAPPING" | "RUNNING" | "WAITING" | "SHUTTING_DOWN" | "TERMINATED" | "COMPLETED" | "FAILED"; export type JobFlowExecutionStateList = Array; export interface JobFlowExecutionStatusDetail { State: JobFlowExecutionState; @@ -1330,17 +1302,7 @@ export interface NotebookExecution { OutputNotebookFormat?: OutputNotebookFormat; EnvironmentVariables?: Record; } -export type NotebookExecutionStatus = - | "START_PENDING" - | "STARTING" - | "RUNNING" - | "FINISHING" - | "FINISHED" - | "FAILING" - | "FAILED" - | "STOP_PENDING" - | "STOPPING" - | "STOPPED"; +export type NotebookExecutionStatus = "START_PENDING" | "STARTING" | "RUNNING" | "FINISHING" | "FINISHED" | "FAILING" | "FAILED" | "STOP_PENDING" | "STOPPING" | "STOPPED"; export interface NotebookExecutionSummary { NotebookExecutionId?: string; EditorId?: string; @@ -1360,24 +1322,15 @@ export interface NotebookS3LocationFromInput { Bucket?: string; Key?: string; } -export type OnClusterAppUIType = - | "SparkHistoryServer" - | "YarnTimelineService" - | "TezUI" - | "ApplicationMaster" - | "JobHistoryServer" - | "ResourceManager"; +export type OnClusterAppUIType = "SparkHistoryServer" | "YarnTimelineService" | "TezUI" | "ApplicationMaster" | "JobHistoryServer" | "ResourceManager"; export interface OnDemandCapacityReservationOptions { UsageStrategy?: OnDemandCapacityReservationUsageStrategy; CapacityReservationPreference?: OnDemandCapacityReservationPreference; CapacityReservationResourceGroupArn?: string; } export type OnDemandCapacityReservationPreference = "open" | "none"; -export type OnDemandCapacityReservationUsageStrategy = - "use-capacity-reservations-first"; -export type OnDemandProvisioningAllocationStrategy = - | "lowest-price" - | "prioritized"; +export type OnDemandCapacityReservationUsageStrategy = "use-capacity-reservations-first"; +export type OnDemandProvisioningAllocationStrategy = "lowest-price" | "prioritized"; export interface OnDemandProvisioningSpecification { AllocationStrategy: OnDemandProvisioningAllocationStrategy; CapacityReservationOptions?: OnDemandCapacityReservationOptions; @@ -1419,11 +1372,7 @@ export interface PlacementGroupConfig { PlacementStrategy?: PlacementGroupStrategy; } export type PlacementGroupConfigList = Array; -export type PlacementGroupStrategy = - | "SPREAD" - | "PARTITION" - | "CLUSTER" - | "NONE"; +export type PlacementGroupStrategy = "SPREAD" | "PARTITION" | "CLUSTER" | "NONE"; export interface PlacementType { AvailabilityZone?: string; AvailabilityZones?: Array; @@ -1451,16 +1400,19 @@ export interface PutAutoTerminationPolicyInput { ClusterId: string; AutoTerminationPolicy?: AutoTerminationPolicy; } -export interface PutAutoTerminationPolicyOutput {} +export interface PutAutoTerminationPolicyOutput { +} export interface PutBlockPublicAccessConfigurationInput { BlockPublicAccessConfiguration: BlockPublicAccessConfiguration; } -export interface PutBlockPublicAccessConfigurationOutput {} +export interface PutBlockPublicAccessConfigurationOutput { +} export interface PutManagedScalingPolicyInput { ClusterId: string; ManagedScalingPolicy: ManagedScalingPolicy; } -export interface PutManagedScalingPolicyOutput {} +export interface PutManagedScalingPolicyOutput { +} export type ReconfigurationType = "OVERWRITE" | "MERGE"; export interface ReleaseLabelFilter { Prefix?: string; @@ -1470,20 +1422,24 @@ export interface RemoveAutoScalingPolicyInput { ClusterId: string; InstanceGroupId: string; } -export interface RemoveAutoScalingPolicyOutput {} +export interface RemoveAutoScalingPolicyOutput { +} export interface RemoveAutoTerminationPolicyInput { ClusterId: string; } -export interface RemoveAutoTerminationPolicyOutput {} +export interface RemoveAutoTerminationPolicyOutput { +} export interface RemoveManagedScalingPolicyInput { ClusterId: string; } -export interface RemoveManagedScalingPolicyOutput {} +export interface RemoveManagedScalingPolicyOutput { +} export interface RemoveTagsInput { ResourceId: string; TagKeys: Array; } -export interface RemoveTagsOutput {} +export interface RemoveTagsOutput { +} export type RepoUpgradeOnBoot = "SECURITY" | "NONE"; export type ResourceId = string; @@ -1525,9 +1481,7 @@ export interface RunJobFlowOutput { JobFlowId?: string; ClusterArn?: string; } -export type ScaleDownBehavior = - | "TERMINATE_AT_INSTANCE_HOUR" - | "TERMINATE_AT_TASK_COMPLETION"; +export type ScaleDownBehavior = "TERMINATE_AT_INSTANCE_HOUR" | "TERMINATE_AT_TASK_COMPLETION"; export interface ScalingAction { Market?: MarketType; SimpleScalingPolicyConfiguration: SimpleScalingPolicyConfiguration; @@ -1605,21 +1559,14 @@ export interface SimplifiedApplication { Version?: string; } export type SimplifiedApplicationList = Array; -export type SpotProvisioningAllocationStrategy = - | "capacity-optimized" - | "price-capacity-optimized" - | "lowest-price" - | "diversified" - | "capacity-optimized-prioritized"; +export type SpotProvisioningAllocationStrategy = "capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized"; export interface SpotProvisioningSpecification { TimeoutDurationMinutes: number; TimeoutAction: SpotProvisioningTimeoutAction; BlockDurationMinutes?: number; AllocationStrategy?: SpotProvisioningAllocationStrategy; } -export type SpotProvisioningTimeoutAction = - | "SWITCH_TO_ON_DEMAND" - | "TERMINATE_CLUSTER"; +export type SpotProvisioningTimeoutAction = "SWITCH_TO_ON_DEMAND" | "TERMINATE_CLUSTER"; export interface SpotResizingSpecification { TimeoutDurationMinutes?: number; AllocationStrategy?: SpotProvisioningAllocationStrategy; @@ -1641,12 +1588,7 @@ export interface StartNotebookExecutionInput { export interface StartNotebookExecutionOutput { NotebookExecutionId?: string; } -export type Statistic = - | "SAMPLE_COUNT" - | "AVERAGE" - | "SUM" - | "MINIMUM" - | "MAXIMUM"; +export type Statistic = "SAMPLE_COUNT" | "AVERAGE" | "SUM" | "MINIMUM" | "MAXIMUM"; export interface Step { Id?: string; Name?: string; @@ -1667,14 +1609,7 @@ export interface StepDetail { ExecutionStatusDetail: StepExecutionStatusDetail; } export type StepDetailList = Array; -export type StepExecutionState = - | "PENDING" - | "RUNNING" - | "CONTINUE" - | "COMPLETED" - | "CANCELLED" - | "FAILED" - | "INTERRUPTED"; +export type StepExecutionState = "PENDING" | "RUNNING" | "CONTINUE" | "COMPLETED" | "CANCELLED" | "FAILED" | "INTERRUPTED"; export interface StepExecutionStatusDetail { State: StepExecutionState; CreationDateTime: Date | string; @@ -1685,14 +1620,7 @@ export interface StepExecutionStatusDetail { export type StepId = string; export type StepIdsList = Array; -export type StepState = - | "PENDING" - | "CANCEL_PENDING" - | "RUNNING" - | "COMPLETED" - | "CANCELLED" - | "FAILED" - | "INTERRUPTED"; +export type StepState = "PENDING" | "CANCEL_PENDING" | "RUNNING" | "COMPLETED" | "CANCELLED" | "FAILED" | "INTERRUPTED"; export interface StepStateChangeReason { Code?: StepStateChangeReasonCode; Message?: string; @@ -1788,34 +1716,7 @@ export interface TerminateJobFlowsInput { } export type ThroughputVal = number; -export type Unit = - | "NONE" - | "SECONDS" - | "MICRO_SECONDS" - | "MILLI_SECONDS" - | "BYTES" - | "KILO_BYTES" - | "MEGA_BYTES" - | "GIGA_BYTES" - | "TERA_BYTES" - | "BITS" - | "KILO_BITS" - | "MEGA_BITS" - | "GIGA_BITS" - | "TERA_BITS" - | "PERCENT" - | "COUNT" - | "BYTES_PER_SECOND" - | "KILO_BYTES_PER_SECOND" - | "MEGA_BYTES_PER_SECOND" - | "GIGA_BYTES_PER_SECOND" - | "TERA_BYTES_PER_SECOND" - | "BITS_PER_SECOND" - | "KILO_BITS_PER_SECOND" - | "MEGA_BITS_PER_SECOND" - | "GIGA_BITS_PER_SECOND" - | "TERA_BITS_PER_SECOND" - | "COUNT_PER_SECOND"; +export type Unit = "NONE" | "SECONDS" | "MICRO_SECONDS" | "MILLI_SECONDS" | "BYTES" | "KILO_BYTES" | "MEGA_BYTES" | "GIGA_BYTES" | "TERA_BYTES" | "BITS" | "KILO_BITS" | "MEGA_BITS" | "GIGA_BITS" | "TERA_BITS" | "PERCENT" | "COUNT" | "BYTES_PER_SECOND" | "KILO_BYTES_PER_SECOND" | "MEGA_BYTES_PER_SECOND" | "GIGA_BYTES_PER_SECOND" | "TERA_BYTES_PER_SECOND" | "BITS_PER_SECOND" | "KILO_BITS_PER_SECOND" | "MEGA_BITS_PER_SECOND" | "GIGA_BITS_PER_SECOND" | "TERA_BITS_PER_SECOND" | "COUNT_PER_SECOND"; export interface UpdateStudioInput { StudioId: string; Name?: string; @@ -1865,13 +1766,17 @@ export declare namespace AddInstanceFleet { export declare namespace AddInstanceGroups { export type Input = AddInstanceGroupsInput; export type Output = AddInstanceGroupsOutput; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace AddJobFlowSteps { export type Input = AddJobFlowStepsInput; export type Output = AddJobFlowStepsOutput; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace AddTags { @@ -1967,7 +1872,9 @@ export declare namespace DescribeCluster { export declare namespace DescribeJobFlows { export type Input = DescribeJobFlowsInput; export type Output = DescribeJobFlowsOutput; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeNotebookExecution { @@ -2027,7 +1934,8 @@ export declare namespace DescribeStudio { export declare namespace GetAutoTerminationPolicy { export type Input = GetAutoTerminationPolicyInput; export type Output = GetAutoTerminationPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBlockPublicAccessConfiguration { @@ -2051,7 +1959,8 @@ export declare namespace GetClusterSessionCredentials { export declare namespace GetManagedScalingPolicy { export type Input = GetManagedScalingPolicyInput; export type Output = GetManagedScalingPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetOnClusterAppUIPresignedURL { @@ -2210,19 +2119,23 @@ export declare namespace ModifyInstanceFleet { export declare namespace ModifyInstanceGroups { export type Input = ModifyInstanceGroupsInput; export type Output = {}; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace PutAutoScalingPolicy { export type Input = PutAutoScalingPolicyInput; export type Output = PutAutoScalingPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutAutoTerminationPolicy { export type Input = PutAutoTerminationPolicyInput; export type Output = PutAutoTerminationPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBlockPublicAccessConfiguration { @@ -2237,25 +2150,29 @@ export declare namespace PutBlockPublicAccessConfiguration { export declare namespace PutManagedScalingPolicy { export type Input = PutManagedScalingPolicyInput; export type Output = PutManagedScalingPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RemoveAutoScalingPolicy { export type Input = RemoveAutoScalingPolicyInput; export type Output = RemoveAutoScalingPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RemoveAutoTerminationPolicy { export type Input = RemoveAutoTerminationPolicyInput; export type Output = RemoveAutoTerminationPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RemoveManagedScalingPolicy { export type Input = RemoveManagedScalingPolicyInput; export type Output = RemoveManagedScalingPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RemoveTags { @@ -2270,31 +2187,41 @@ export declare namespace RemoveTags { export declare namespace RunJobFlow { export type Input = RunJobFlowInput; export type Output = RunJobFlowOutput; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace SetKeepJobFlowAliveWhenNoSteps { export type Input = SetKeepJobFlowAliveWhenNoStepsInput; export type Output = {}; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace SetTerminationProtection { export type Input = SetTerminationProtectionInput; export type Output = {}; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace SetUnhealthyNodeReplacement { export type Input = SetUnhealthyNodeReplacementInput; export type Output = {}; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace SetVisibleToAllUsers { export type Input = SetVisibleToAllUsersInput; export type Output = {}; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace StartNotebookExecution { @@ -2318,7 +2245,9 @@ export declare namespace StopNotebookExecution { export declare namespace TerminateJobFlows { export type Input = TerminateJobFlowsInput; export type Output = {}; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace UpdateStudio { @@ -2339,8 +2268,5 @@ export declare namespace UpdateStudioSessionMapping { | CommonAwsError; } -export type EMRErrors = - | InternalServerError - | InternalServerException - | InvalidRequestException - | CommonAwsError; +export type EMRErrors = InternalServerError | InternalServerException | InvalidRequestException | CommonAwsError; + diff --git a/src/services/entityresolution/index.ts b/src/services/entityresolution/index.ts index a0519b55..ffc95061 100644 --- a/src/services/entityresolution/index.ts +++ b/src/services/entityresolution/index.ts @@ -5,23 +5,7 @@ import type { EntityResolution as _EntityResolutionClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,45 +14,48 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "entityresolution", operations: { - AddPolicyStatement: "POST /policies/{arn}/{statementId}", - BatchDeleteUniqueId: "DELETE /matchingworkflows/{workflowName}/uniqueids", - CreateIdMappingWorkflow: "POST /idmappingworkflows", - CreateIdNamespace: "POST /idnamespaces", - CreateMatchingWorkflow: "POST /matchingworkflows", - CreateSchemaMapping: "POST /schemas", - DeleteIdMappingWorkflow: "DELETE /idmappingworkflows/{workflowName}", - DeleteIdNamespace: "DELETE /idnamespaces/{idNamespaceName}", - DeleteMatchingWorkflow: "DELETE /matchingworkflows/{workflowName}", - DeletePolicyStatement: "DELETE /policies/{arn}/{statementId}", - DeleteSchemaMapping: "DELETE /schemas/{schemaName}", - GenerateMatchId: "POST /matchingworkflows/{workflowName}/generateMatches", - GetIdMappingJob: "GET /idmappingworkflows/{workflowName}/jobs/{jobId}", - GetIdMappingWorkflow: "GET /idmappingworkflows/{workflowName}", - GetIdNamespace: "GET /idnamespaces/{idNamespaceName}", - GetMatchId: "POST /matchingworkflows/{workflowName}/matches", - GetMatchingJob: "GET /matchingworkflows/{workflowName}/jobs/{jobId}", - GetMatchingWorkflow: "GET /matchingworkflows/{workflowName}", - GetPolicy: "GET /policies/{arn}", - GetProviderService: - "GET /providerservices/{providerName}/{providerServiceName}", - GetSchemaMapping: "GET /schemas/{schemaName}", - ListIdMappingJobs: "GET /idmappingworkflows/{workflowName}/jobs", - ListIdMappingWorkflows: "GET /idmappingworkflows", - ListIdNamespaces: "GET /idnamespaces", - ListMatchingJobs: "GET /matchingworkflows/{workflowName}/jobs", - ListMatchingWorkflows: "GET /matchingworkflows", - ListProviderServices: "GET /providerservices", - ListSchemaMappings: "GET /schemas", - ListTagsForResource: "GET /tags/{resourceArn}", - PutPolicy: "PUT /policies/{arn}", - StartIdMappingJob: "POST /idmappingworkflows/{workflowName}/jobs", - StartMatchingJob: "POST /matchingworkflows/{workflowName}/jobs", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateIdMappingWorkflow: "PUT /idmappingworkflows/{workflowName}", - UpdateIdNamespace: "PUT /idnamespaces/{idNamespaceName}", - UpdateMatchingWorkflow: "PUT /matchingworkflows/{workflowName}", - UpdateSchemaMapping: "PUT /schemas/{schemaName}", + "AddPolicyStatement": "POST /policies/{arn}/{statementId}", + "BatchDeleteUniqueId": "DELETE /matchingworkflows/{workflowName}/uniqueids", + "CreateIdMappingWorkflow": "POST /idmappingworkflows", + "CreateIdNamespace": "POST /idnamespaces", + "CreateMatchingWorkflow": "POST /matchingworkflows", + "CreateSchemaMapping": "POST /schemas", + "DeleteIdMappingWorkflow": "DELETE /idmappingworkflows/{workflowName}", + "DeleteIdNamespace": "DELETE /idnamespaces/{idNamespaceName}", + "DeleteMatchingWorkflow": "DELETE /matchingworkflows/{workflowName}", + "DeletePolicyStatement": "DELETE /policies/{arn}/{statementId}", + "DeleteSchemaMapping": "DELETE /schemas/{schemaName}", + "GenerateMatchId": "POST /matchingworkflows/{workflowName}/generateMatches", + "GetIdMappingJob": "GET /idmappingworkflows/{workflowName}/jobs/{jobId}", + "GetIdMappingWorkflow": "GET /idmappingworkflows/{workflowName}", + "GetIdNamespace": "GET /idnamespaces/{idNamespaceName}", + "GetMatchId": "POST /matchingworkflows/{workflowName}/matches", + "GetMatchingJob": "GET /matchingworkflows/{workflowName}/jobs/{jobId}", + "GetMatchingWorkflow": "GET /matchingworkflows/{workflowName}", + "GetPolicy": "GET /policies/{arn}", + "GetProviderService": "GET /providerservices/{providerName}/{providerServiceName}", + "GetSchemaMapping": "GET /schemas/{schemaName}", + "ListIdMappingJobs": "GET /idmappingworkflows/{workflowName}/jobs", + "ListIdMappingWorkflows": "GET /idmappingworkflows", + "ListIdNamespaces": "GET /idnamespaces", + "ListMatchingJobs": "GET /matchingworkflows/{workflowName}/jobs", + "ListMatchingWorkflows": "GET /matchingworkflows", + "ListProviderServices": "GET /providerservices", + "ListSchemaMappings": "GET /schemas", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutPolicy": "PUT /policies/{arn}", + "StartIdMappingJob": "POST /idmappingworkflows/{workflowName}/jobs", + "StartMatchingJob": "POST /matchingworkflows/{workflowName}/jobs", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateIdMappingWorkflow": "PUT /idmappingworkflows/{workflowName}", + "UpdateIdNamespace": "PUT /idnamespaces/{idNamespaceName}", + "UpdateMatchingWorkflow": "PUT /matchingworkflows/{workflowName}", + "UpdateSchemaMapping": "PUT /schemas/{schemaName}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/entityresolution/types.ts b/src/services/entityresolution/types.ts index 69c005eb..53fb090a 100644 --- a/src/services/entityresolution/types.ts +++ b/src/services/entityresolution/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class EntityResolution extends AWSServiceClient { @@ -40,363 +8,199 @@ export declare class EntityResolution extends AWSServiceClient { input: AddPolicyStatementInput, ): Effect.Effect< AddPolicyStatementOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchDeleteUniqueId( input: BatchDeleteUniqueIdInput, ): Effect.Effect< BatchDeleteUniqueIdOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createIdMappingWorkflow( input: CreateIdMappingWorkflowInput, ): Effect.Effect< CreateIdMappingWorkflowOutput, - | AccessDeniedException - | ConflictException - | ExceedsLimitException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExceedsLimitException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createIdNamespace( input: CreateIdNamespaceInput, ): Effect.Effect< CreateIdNamespaceOutput, - | AccessDeniedException - | ConflictException - | ExceedsLimitException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExceedsLimitException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createMatchingWorkflow( input: CreateMatchingWorkflowInput, ): Effect.Effect< CreateMatchingWorkflowOutput, - | AccessDeniedException - | ConflictException - | ExceedsLimitException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExceedsLimitException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createSchemaMapping( input: CreateSchemaMappingInput, ): Effect.Effect< CreateSchemaMappingOutput, - | AccessDeniedException - | ConflictException - | ExceedsLimitException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExceedsLimitException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteIdMappingWorkflow( input: DeleteIdMappingWorkflowInput, ): Effect.Effect< DeleteIdMappingWorkflowOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteIdNamespace( input: DeleteIdNamespaceInput, ): Effect.Effect< DeleteIdNamespaceOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteMatchingWorkflow( input: DeleteMatchingWorkflowInput, ): Effect.Effect< DeleteMatchingWorkflowOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deletePolicyStatement( input: DeletePolicyStatementInput, ): Effect.Effect< DeletePolicyStatementOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSchemaMapping( input: DeleteSchemaMappingInput, ): Effect.Effect< DeleteSchemaMappingOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; generateMatchId( input: GenerateMatchIdInput, ): Effect.Effect< GenerateMatchIdOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIdMappingJob( input: GetIdMappingJobInput, ): Effect.Effect< GetIdMappingJobOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIdMappingWorkflow( input: GetIdMappingWorkflowInput, ): Effect.Effect< GetIdMappingWorkflowOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIdNamespace( input: GetIdNamespaceInput, ): Effect.Effect< GetIdNamespaceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMatchId( input: GetMatchIdInput, ): Effect.Effect< GetMatchIdOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMatchingJob( input: GetMatchingJobInput, ): Effect.Effect< GetMatchingJobOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMatchingWorkflow( input: GetMatchingWorkflowInput, ): Effect.Effect< GetMatchingWorkflowOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPolicy( input: GetPolicyInput, ): Effect.Effect< GetPolicyOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProviderService( input: GetProviderServiceInput, ): Effect.Effect< GetProviderServiceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSchemaMapping( input: GetSchemaMappingInput, ): Effect.Effect< GetSchemaMappingOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listIdMappingJobs( input: ListIdMappingJobsInput, ): Effect.Effect< ListIdMappingJobsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listIdMappingWorkflows( input: ListIdMappingWorkflowsInput, ): Effect.Effect< ListIdMappingWorkflowsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listIdNamespaces( input: ListIdNamespacesInput, ): Effect.Effect< ListIdNamespacesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listMatchingJobs( input: ListMatchingJobsInput, ): Effect.Effect< ListMatchingJobsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMatchingWorkflows( input: ListMatchingWorkflowsInput, ): Effect.Effect< ListMatchingWorkflowsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listProviderServices( input: ListProviderServicesInput, ): Effect.Effect< ListProviderServicesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSchemaMappings( input: ListSchemaMappingsInput, ): Effect.Effect< ListSchemaMappingsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putPolicy( input: PutPolicyInput, ): Effect.Effect< PutPolicyOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startIdMappingJob( input: StartIdMappingJobInput, ): Effect.Effect< StartIdMappingJobOutput, - | AccessDeniedException - | ConflictException - | ExceedsLimitException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExceedsLimitException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startMatchingJob( input: StartMatchingJobInput, ): Effect.Effect< StartMatchingJobOutput, - | AccessDeniedException - | ConflictException - | ExceedsLimitException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExceedsLimitException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, @@ -408,46 +212,25 @@ export declare class EntityResolution extends AWSServiceClient { input: UpdateIdMappingWorkflowInput, ): Effect.Effect< UpdateIdMappingWorkflowOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateIdNamespace( input: UpdateIdNamespaceInput, ): Effect.Effect< UpdateIdNamespaceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateMatchingWorkflow( input: UpdateMatchingWorkflowInput, ): Effect.Effect< UpdateMatchingWorkflowOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSchemaMapping( input: UpdateSchemaMappingInput, ): Effect.Effect< UpdateSchemaMappingOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -819,18 +602,15 @@ export interface IdMappingWorkflowInputSource { schemaName?: string; type?: IdNamespaceType; } -export type IdMappingWorkflowInputSourceConfig = - Array; +export type IdMappingWorkflowInputSourceConfig = Array; export type IdMappingWorkflowList = Array; export interface IdMappingWorkflowOutputSource { outputS3Path: string; KMSArn?: string; } -export type IdMappingWorkflowOutputSourceConfig = - Array; +export type IdMappingWorkflowOutputSourceConfig = Array; export type IdMappingWorkflowRuleDefinitionType = "SOURCE" | "TARGET"; -export type IdMappingWorkflowRuleDefinitionTypeList = - Array; +export type IdMappingWorkflowRuleDefinitionTypeList = Array; export interface IdMappingWorkflowSummary { workflowName: string; workflowArn: string; @@ -842,15 +622,13 @@ export type IdNamespaceArn = string; export interface IdNamespaceIdMappingWorkflowMetadata { idMappingType: IdMappingType; } -export type IdNamespaceIdMappingWorkflowMetadataList = - Array; +export type IdNamespaceIdMappingWorkflowMetadataList = Array; export interface IdNamespaceIdMappingWorkflowProperties { idMappingType: IdMappingType; ruleBasedProperties?: NamespaceRuleBasedProperties; providerProperties?: NamespaceProviderProperties; } -export type IdNamespaceIdMappingWorkflowPropertiesList = - Array; +export type IdNamespaceIdMappingWorkflowPropertiesList = Array; export interface IdNamespaceInputSource { inputSourceARN: string; schemaName?: string; @@ -1038,9 +816,7 @@ interface _ProviderEndpointConfiguration { marketplaceConfiguration?: ProviderMarketplaceConfiguration; } -export type ProviderEndpointConfiguration = _ProviderEndpointConfiguration & { - marketplaceConfiguration: ProviderMarketplaceConfiguration; -}; +export type ProviderEndpointConfiguration = (_ProviderEndpointConfiguration & { marketplaceConfiguration: ProviderMarketplaceConfiguration }); export interface ProviderIdNameSpaceConfiguration { description?: string; providerTargetConfigurationDefinition?: unknown; @@ -1098,9 +874,7 @@ export interface EntityresolutionRecord { export type RecordAttributeMap = Record; export type RecordAttributeMapString255 = Record; export type RecordList = Array; -export type RecordMatchingModel = - | "ONE_SOURCE_TO_ONE_TARGET" - | "MANY_SOURCE_TO_ONE_TARGET"; +export type RecordMatchingModel = "ONE_SOURCE_TO_ONE_TARGET" | "MANY_SOURCE_TO_ONE_TARGET"; export type RecordMatchingModelList = Array; export type RequiredBucketActionsList = Array; export interface ResolutionTechniques { @@ -1137,30 +911,7 @@ export interface RuleConditionProperties { export type RuleList = Array; export type S3Path = string; -export type SchemaAttributeType = - | "NAME" - | "NAME_FIRST" - | "NAME_MIDDLE" - | "NAME_LAST" - | "ADDRESS" - | "ADDRESS_STREET1" - | "ADDRESS_STREET2" - | "ADDRESS_STREET3" - | "ADDRESS_CITY" - | "ADDRESS_STATE" - | "ADDRESS_COUNTRY" - | "ADDRESS_POSTALCODE" - | "PHONE" - | "PHONE_NUMBER" - | "PHONE_COUNTRYCODE" - | "EMAIL_ADDRESS" - | "UNIQUE_ID" - | "DATE" - | "STRING" - | "PROVIDER_ID" - | "IPV4" - | "IPV6" - | "MAID"; +export type SchemaAttributeType = "NAME" | "NAME_FIRST" | "NAME_MIDDLE" | "NAME_LAST" | "ADDRESS" | "ADDRESS_STREET1" | "ADDRESS_STREET2" | "ADDRESS_STREET3" | "ADDRESS_CITY" | "ADDRESS_STATE" | "ADDRESS_COUNTRY" | "ADDRESS_POSTALCODE" | "PHONE" | "PHONE_NUMBER" | "PHONE_COUNTRYCODE" | "EMAIL_ADDRESS" | "UNIQUE_ID" | "DATE" | "STRING" | "PROVIDER_ID" | "IPV4" | "IPV6" | "MAID"; export interface SchemaInputAttribute { fieldName: string; type: SchemaAttributeType; @@ -1218,7 +969,8 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1233,7 +985,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateIdMappingWorkflowInput { workflowName: string; description?: string; @@ -1760,12 +1513,5 @@ export declare namespace UpdateSchemaMapping { | CommonAwsError; } -export type EntityResolutionErrors = - | AccessDeniedException - | ConflictException - | ExceedsLimitException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type EntityResolutionErrors = AccessDeniedException | ConflictException | ExceedsLimitException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/eventbridge/index.ts b/src/services/eventbridge/index.ts index 71290027..5e065302 100644 --- a/src/services/eventbridge/index.ts +++ b/src/services/eventbridge/index.ts @@ -5,24 +5,7 @@ import type { EventBridge as _EventBridgeClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/eventbridge/types.ts b/src/services/eventbridge/types.ts index bd404ad0..d8a8e35f 100644 --- a/src/services/eventbridge/types.ts +++ b/src/services/eventbridge/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class EventBridge extends AWSServiceClient { @@ -41,145 +8,85 @@ export declare class EventBridge extends AWSServiceClient { input: ActivateEventSourceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | InvalidStateException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidStateException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; cancelReplay( input: CancelReplayRequest, ): Effect.Effect< CancelReplayResponse, - | ConcurrentModificationException - | IllegalStatusException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | IllegalStatusException | InternalException | ResourceNotFoundException | CommonAwsError >; createApiDestination( input: CreateApiDestinationRequest, ): Effect.Effect< CreateApiDestinationResponse, - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InternalException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createArchive( input: CreateArchiveRequest, ): Effect.Effect< CreateArchiveResponse, - | ConcurrentModificationException - | InternalException - | InvalidEventPatternException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidEventPatternException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createConnection( input: CreateConnectionRequest, ): Effect.Effect< CreateConnectionResponse, - | AccessDeniedException - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createEndpoint( input: CreateEndpointRequest, ): Effect.Effect< CreateEndpointResponse, - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | CommonAwsError + InternalException | LimitExceededException | ResourceAlreadyExistsException | CommonAwsError >; createEventBus( input: CreateEventBusRequest, ): Effect.Effect< CreateEventBusResponse, - | ConcurrentModificationException - | InternalException - | InvalidStateException - | LimitExceededException - | OperationDisabledException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidStateException | LimitExceededException | OperationDisabledException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createPartnerEventSource( input: CreatePartnerEventSourceRequest, ): Effect.Effect< CreatePartnerEventSourceResponse, - | ConcurrentModificationException - | InternalException - | LimitExceededException - | OperationDisabledException - | ResourceAlreadyExistsException - | CommonAwsError + ConcurrentModificationException | InternalException | LimitExceededException | OperationDisabledException | ResourceAlreadyExistsException | CommonAwsError >; deactivateEventSource( input: DeactivateEventSourceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | InvalidStateException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidStateException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; deauthorizeConnection( input: DeauthorizeConnectionRequest, ): Effect.Effect< DeauthorizeConnectionResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; deleteApiDestination( input: DeleteApiDestinationRequest, ): Effect.Effect< DeleteApiDestinationResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; deleteArchive( input: DeleteArchiveRequest, ): Effect.Effect< DeleteArchiveResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; deleteConnection( input: DeleteConnectionRequest, ): Effect.Effect< DeleteConnectionResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; deleteEndpoint( input: DeleteEndpointRequest, ): Effect.Effect< DeleteEndpointResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; deleteEventBus( input: DeleteEventBusRequest, @@ -191,20 +98,13 @@ export declare class EventBridge extends AWSServiceClient { input: DeletePartnerEventSourceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | OperationDisabledException - | CommonAwsError + ConcurrentModificationException | InternalException | OperationDisabledException | CommonAwsError >; deleteRule( input: DeleteRuleRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; describeApiDestination( input: DescribeApiDestinationRequest, @@ -216,10 +116,7 @@ export declare class EventBridge extends AWSServiceClient { input: DescribeArchiveRequest, ): Effect.Effect< DescribeArchiveResponse, - | InternalException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InternalException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; describeConnection( input: DescribeConnectionRequest, @@ -243,19 +140,13 @@ export declare class EventBridge extends AWSServiceClient { input: DescribeEventSourceRequest, ): Effect.Effect< DescribeEventSourceResponse, - | InternalException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + InternalException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; describePartnerEventSource( input: DescribePartnerEventSourceRequest, ): Effect.Effect< DescribePartnerEventSourceResponse, - | InternalException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + InternalException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; describeReplay( input: DescribeReplayRequest, @@ -273,21 +164,13 @@ export declare class EventBridge extends AWSServiceClient { input: DisableRuleRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; enableRule( input: EnableRuleRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; listApiDestinations( input: ListApiDestinationsRequest, @@ -303,13 +186,22 @@ export declare class EventBridge extends AWSServiceClient { >; listConnections( input: ListConnectionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListConnectionsResponse, + InternalException | CommonAwsError + >; listEndpoints( input: ListEndpointsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListEndpointsResponse, + InternalException | CommonAwsError + >; listEventBuses( input: ListEventBusesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListEventBusesResponse, + InternalException | CommonAwsError + >; listEventSources( input: ListEventSourcesRequest, ): Effect.Effect< @@ -320,10 +212,7 @@ export declare class EventBridge extends AWSServiceClient { input: ListPartnerEventSourceAccountsRequest, ): Effect.Effect< ListPartnerEventSourceAccountsResponse, - | InternalException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + InternalException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; listPartnerEventSources( input: ListPartnerEventSourcesRequest, @@ -333,7 +222,10 @@ export declare class EventBridge extends AWSServiceClient { >; listReplays( input: ListReplaysRequest, - ): Effect.Effect; + ): Effect.Effect< + ListReplaysResponse, + InternalException | CommonAwsError + >; listRuleNamesByTarget( input: ListRuleNamesByTargetRequest, ): Effect.Effect< @@ -360,7 +252,10 @@ export declare class EventBridge extends AWSServiceClient { >; putEvents( input: PutEventsRequest, - ): Effect.Effect; + ): Effect.Effect< + PutEventsResponse, + InternalException | CommonAwsError + >; putPartnerEvents( input: PutPartnerEventsRequest, ): Effect.Effect< @@ -371,76 +266,43 @@ export declare class EventBridge extends AWSServiceClient { input: PutPermissionRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | OperationDisabledException - | PolicyLengthExceededException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | OperationDisabledException | PolicyLengthExceededException | ResourceNotFoundException | CommonAwsError >; putRule( input: PutRuleRequest, ): Effect.Effect< PutRuleResponse, - | ConcurrentModificationException - | InternalException - | InvalidEventPatternException - | LimitExceededException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidEventPatternException | LimitExceededException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; putTargets( input: PutTargetsRequest, ): Effect.Effect< PutTargetsResponse, - | ConcurrentModificationException - | InternalException - | LimitExceededException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | LimitExceededException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; removePermission( input: RemovePermissionRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InternalException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; removeTargets( input: RemoveTargetsRequest, ): Effect.Effect< RemoveTargetsResponse, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; startReplay( input: StartReplayRequest, ): Effect.Effect< StartReplayResponse, - | InternalException - | InvalidEventPatternException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidEventPatternException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; testEventPattern( input: TestEventPatternRequest, @@ -452,63 +314,37 @@ export declare class EventBridge extends AWSServiceClient { input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConcurrentModificationException - | InternalException - | ManagedRuleException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ManagedRuleException | ResourceNotFoundException | CommonAwsError >; updateApiDestination( input: UpdateApiDestinationRequest, ): Effect.Effect< UpdateApiDestinationResponse, - | ConcurrentModificationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; updateArchive( input: UpdateArchiveRequest, ): Effect.Effect< UpdateArchiveResponse, - | ConcurrentModificationException - | InternalException - | InvalidEventPatternException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | InvalidEventPatternException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; updateConnection( input: UpdateConnectionRequest, ): Effect.Effect< UpdateConnectionResponse, - | AccessDeniedException - | ConcurrentModificationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InternalException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateEndpoint( input: UpdateEndpointRequest, ): Effect.Effect< UpdateEndpointResponse, - | ConcurrentModificationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | ResourceNotFoundException | CommonAwsError >; updateEventBus( input: UpdateEventBusRequest, ): Effect.Effect< UpdateEventBusResponse, - | ConcurrentModificationException - | InternalException - | OperationDisabledException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalException | OperationDisabledException | ResourceNotFoundException | CommonAwsError >; } @@ -541,14 +377,7 @@ export type ApiDestinationArn = string; export type ApiDestinationDescription = string; -export type ApiDestinationHttpMethod = - | "POST" - | "GET" - | "HEAD" - | "OPTIONS" - | "PUT" - | "PATCH" - | "DELETE"; +export type ApiDestinationHttpMethod = "POST" | "GET" | "HEAD" | "OPTIONS" | "PUT" | "PATCH" | "DELETE"; export type ApiDestinationInvocationRateLimitPerSecond = number; export type ApiDestinationName = string; @@ -575,13 +404,7 @@ export type ArchiveDescription = string; export type ArchiveName = string; export type ArchiveResponseList = Array; -export type ArchiveState = - | "ENABLED" - | "DISABLED" - | "CREATING" - | "UPDATING" - | "CREATE_FAILED" - | "UPDATE_FAILED"; +export type ArchiveState = "ENABLED" | "DISABLED" | "CREATING" | "UPDATING" | "CREATE_FAILED" | "UPDATE_FAILED"; export type ArchiveStateReason = string; export type Arn = string; @@ -655,10 +478,7 @@ export interface ConnectionApiKeyAuthResponseParameters { } export type ConnectionArn = string; -export type ConnectionAuthorizationType = - | "BASIC" - | "OAUTH_CLIENT_CREDENTIALS" - | "API_KEY"; +export type ConnectionAuthorizationType = "BASIC" | "OAUTH_CLIENT_CREDENTIALS" | "API_KEY"; export interface ConnectionAuthResponseParameters { BasicAuthParameters?: ConnectionBasicAuthResponseParameters; OAuthParameters?: ConnectionOAuthResponseParameters; @@ -705,19 +525,9 @@ export interface ConnectionQueryStringParameter { Value?: string; IsValueSecret?: boolean; } -export type ConnectionQueryStringParametersList = - Array; +export type ConnectionQueryStringParametersList = Array; export type ConnectionResponseList = Array; -export type ConnectionState = - | "CREATING" - | "UPDATING" - | "DELETING" - | "AUTHORIZED" - | "DEAUTHORIZED" - | "AUTHORIZING" - | "DEAUTHORIZING" - | "ACTIVE" - | "FAILED_CONNECTIVITY"; +export type ConnectionState = "CREATING" | "UPDATING" | "DELETING" | "AUTHORIZED" | "DEAUTHORIZED" | "AUTHORIZING" | "DEAUTHORIZING" | "ACTIVE" | "FAILED_CONNECTIVITY"; export type ConnectionStateReason = string; export interface ConnectivityResourceConfigurationArn { @@ -858,11 +668,13 @@ export interface DeauthorizeConnectionResponse { export interface DeleteApiDestinationRequest { Name: string; } -export interface DeleteApiDestinationResponse {} +export interface DeleteApiDestinationResponse { +} export interface DeleteArchiveRequest { ArchiveName: string; } -export interface DeleteArchiveResponse {} +export interface DeleteArchiveResponse { +} export interface DeleteConnectionRequest { Name: string; } @@ -876,7 +688,8 @@ export interface DeleteConnectionResponse { export interface DeleteEndpointRequest { Name: string; } -export interface DeleteEndpointResponse {} +export interface DeleteEndpointResponse { +} export interface DeleteEventBusRequest { Name: string; } @@ -1082,14 +895,7 @@ export type EndpointId = string; export type EndpointList = Array; export type EndpointName = string; -export type EndpointState = - | "ACTIVE" - | "CREATING" - | "UPDATING" - | "DELETING" - | "CREATE_FAILED" - | "UPDATE_FAILED" - | "DELETE_FAILED"; +export type EndpointState = "ACTIVE" | "CREATING" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED"; export type EndpointStateReason = string; export type EndpointUrl = string; @@ -1446,8 +1252,7 @@ export interface PutPartnerEventsRequestEntry { DetailType?: string; Detail?: string; } -export type PutPartnerEventsRequestEntryList = - Array; +export type PutPartnerEventsRequestEntryList = Array; export interface PutPartnerEventsResponse { FailedEntryCount?: number; Entries?: Array; @@ -1457,8 +1262,7 @@ export interface PutPartnerEventsResultEntry { ErrorCode?: string; ErrorMessage?: string; } -export type PutPartnerEventsResultEntryList = - Array; +export type PutPartnerEventsResultEntryList = Array; export interface PutPermissionRequest { EventBusName?: string; Action?: string; @@ -1559,13 +1363,7 @@ export type ReplayDestinationFilters = Array; export type ReplayList = Array; export type ReplayName = string; -export type ReplayState = - | "STARTING" - | "RUNNING" - | "CANCELLING" - | "COMPLETED" - | "CANCELLED" - | "FAILED"; +export type ReplayState = "STARTING" | "RUNNING" | "CANCELLING" | "COMPLETED" | "CANCELLED" | "FAILED"; export type ReplayStateReason = string; export interface ReplicationConfig { @@ -1620,10 +1418,7 @@ export type RuleName = string; export type RuleNameList = Array; export type RuleResponseList = Array; -export type RuleState = - | "ENABLED" - | "DISABLED" - | "ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS"; +export type RuleState = "ENABLED" | "DISABLED" | "ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS"; export interface RunCommandParameters { RunCommandTargets: Array; } @@ -1697,7 +1492,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Target { @@ -1754,7 +1550,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApiDestinationRequest { Name: string; Description?: string; @@ -2153,7 +1950,9 @@ export declare namespace EnableRule { export declare namespace ListApiDestinations { export type Input = ListApiDestinationsRequest; export type Output = ListApiDestinationsResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace ListArchives { @@ -2168,19 +1967,25 @@ export declare namespace ListArchives { export declare namespace ListConnections { export type Input = ListConnectionsRequest; export type Output = ListConnectionsResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace ListEndpoints { export type Input = ListEndpointsRequest; export type Output = ListEndpointsResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace ListEventBuses { export type Input = ListEventBusesRequest; export type Output = ListEventBusesResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace ListEventSources { @@ -2214,7 +2019,9 @@ export declare namespace ListPartnerEventSources { export declare namespace ListReplays { export type Input = ListReplaysRequest; export type Output = ListReplaysResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace ListRuleNamesByTarget { @@ -2256,7 +2063,9 @@ export declare namespace ListTargetsByRule { export declare namespace PutEvents { export type Input = PutEventsRequest; export type Output = PutEventsResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace PutPartnerEvents { @@ -2427,18 +2236,5 @@ export declare namespace UpdateEventBus { | CommonAwsError; } -export type EventBridgeErrors = - | AccessDeniedException - | ConcurrentModificationException - | IllegalStatusException - | InternalException - | InvalidEventPatternException - | InvalidStateException - | LimitExceededException - | ManagedRuleException - | OperationDisabledException - | PolicyLengthExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError; +export type EventBridgeErrors = AccessDeniedException | ConcurrentModificationException | IllegalStatusException | InternalException | InvalidEventPatternException | InvalidStateException | LimitExceededException | ManagedRuleException | OperationDisabledException | PolicyLengthExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError; + diff --git a/src/services/evidently/index.ts b/src/services/evidently/index.ts index 593ec5f0..d5f89710 100644 --- a/src/services/evidently/index.ts +++ b/src/services/evidently/index.ts @@ -5,23 +5,7 @@ import type { Evidently as _EvidentlyClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,45 +14,44 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "evidently", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - TestSegmentPattern: "POST /test-segment-pattern", - UntagResource: "DELETE /tags/{resourceArn}", - BatchEvaluateFeature: "POST /projects/{project}/evaluations", - CreateExperiment: "POST /projects/{project}/experiments", - CreateFeature: "POST /projects/{project}/features", - CreateLaunch: "POST /projects/{project}/launches", - CreateProject: "POST /projects", - CreateSegment: "POST /segments", - DeleteExperiment: "DELETE /projects/{project}/experiments/{experiment}", - DeleteFeature: "DELETE /projects/{project}/features/{feature}", - DeleteLaunch: "DELETE /projects/{project}/launches/{launch}", - DeleteProject: "DELETE /projects/{project}", - DeleteSegment: "DELETE /segments/{segment}", - EvaluateFeature: "POST /projects/{project}/evaluations/{feature}", - GetExperiment: "GET /projects/{project}/experiments/{experiment}", - GetExperimentResults: - "POST /projects/{project}/experiments/{experiment}/results", - GetFeature: "GET /projects/{project}/features/{feature}", - GetLaunch: "GET /projects/{project}/launches/{launch}", - GetProject: "GET /projects/{project}", - GetSegment: "GET /segments/{segment}", - ListExperiments: "GET /projects/{project}/experiments", - ListFeatures: "GET /projects/{project}/features", - ListLaunches: "GET /projects/{project}/launches", - ListProjects: "GET /projects", - ListSegmentReferences: "GET /segments/{segment}/references", - ListSegments: "GET /segments", - PutProjectEvents: "POST /events/projects/{project}", - StartExperiment: "POST /projects/{project}/experiments/{experiment}/start", - StartLaunch: "POST /projects/{project}/launches/{launch}/start", - StopExperiment: "POST /projects/{project}/experiments/{experiment}/cancel", - StopLaunch: "POST /projects/{project}/launches/{launch}/cancel", - UpdateExperiment: "PATCH /projects/{project}/experiments/{experiment}", - UpdateFeature: "PATCH /projects/{project}/features/{feature}", - UpdateLaunch: "PATCH /projects/{project}/launches/{launch}", - UpdateProject: "PATCH /projects/{project}", - UpdateProjectDataDelivery: "PATCH /projects/{project}/data-delivery", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "TestSegmentPattern": "POST /test-segment-pattern", + "UntagResource": "DELETE /tags/{resourceArn}", + "BatchEvaluateFeature": "POST /projects/{project}/evaluations", + "CreateExperiment": "POST /projects/{project}/experiments", + "CreateFeature": "POST /projects/{project}/features", + "CreateLaunch": "POST /projects/{project}/launches", + "CreateProject": "POST /projects", + "CreateSegment": "POST /segments", + "DeleteExperiment": "DELETE /projects/{project}/experiments/{experiment}", + "DeleteFeature": "DELETE /projects/{project}/features/{feature}", + "DeleteLaunch": "DELETE /projects/{project}/launches/{launch}", + "DeleteProject": "DELETE /projects/{project}", + "DeleteSegment": "DELETE /segments/{segment}", + "EvaluateFeature": "POST /projects/{project}/evaluations/{feature}", + "GetExperiment": "GET /projects/{project}/experiments/{experiment}", + "GetExperimentResults": "POST /projects/{project}/experiments/{experiment}/results", + "GetFeature": "GET /projects/{project}/features/{feature}", + "GetLaunch": "GET /projects/{project}/launches/{launch}", + "GetProject": "GET /projects/{project}", + "GetSegment": "GET /segments/{segment}", + "ListExperiments": "GET /projects/{project}/experiments", + "ListFeatures": "GET /projects/{project}/features", + "ListLaunches": "GET /projects/{project}/launches", + "ListProjects": "GET /projects", + "ListSegmentReferences": "GET /segments/{segment}/references", + "ListSegments": "GET /segments", + "PutProjectEvents": "POST /events/projects/{project}", + "StartExperiment": "POST /projects/{project}/experiments/{experiment}/start", + "StartLaunch": "POST /projects/{project}/launches/{launch}/start", + "StopExperiment": "POST /projects/{project}/experiments/{experiment}/cancel", + "StopLaunch": "POST /projects/{project}/launches/{launch}/cancel", + "UpdateExperiment": "PATCH /projects/{project}/experiments/{experiment}", + "UpdateFeature": "PATCH /projects/{project}/features/{feature}", + "UpdateLaunch": "PATCH /projects/{project}/launches/{launch}", + "UpdateProject": "PATCH /projects/{project}", + "UpdateProjectDataDelivery": "PATCH /projects/{project}/data-delivery", }, } as const satisfies ServiceMetadata; diff --git a/src/services/evidently/types.ts b/src/services/evidently/types.ts index a8192eda..afc983ad 100644 --- a/src/services/evidently/types.ts +++ b/src/services/evidently/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Evidently extends AWSServiceClient { @@ -40,392 +8,229 @@ export declare class Evidently extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; testSegmentPattern( input: TestSegmentPatternRequest, ): Effect.Effect< TestSegmentPatternResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchEvaluateFeature( input: BatchEvaluateFeatureRequest, ): Effect.Effect< BatchEvaluateFeatureResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createExperiment( input: CreateExperimentRequest, ): Effect.Effect< CreateExperimentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createFeature( input: CreateFeatureRequest, ): Effect.Effect< CreateFeatureResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createLaunch( input: CreateLaunchRequest, ): Effect.Effect< CreateLaunchResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createProject( input: CreateProjectRequest, ): Effect.Effect< CreateProjectResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createSegment( input: CreateSegmentRequest, ): Effect.Effect< CreateSegmentResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteExperiment( input: DeleteExperimentRequest, ): Effect.Effect< DeleteExperimentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ValidationException | CommonAwsError >; deleteFeature( input: DeleteFeatureRequest, ): Effect.Effect< DeleteFeatureResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteLaunch( input: DeleteLaunchRequest, ): Effect.Effect< DeleteLaunchResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProject( input: DeleteProjectRequest, ): Effect.Effect< DeleteProjectResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSegment( input: DeleteSegmentRequest, ): Effect.Effect< DeleteSegmentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; evaluateFeature( input: EvaluateFeatureRequest, ): Effect.Effect< EvaluateFeatureResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getExperiment( input: GetExperimentRequest, ): Effect.Effect< GetExperimentResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getExperimentResults( input: GetExperimentResultsRequest, ): Effect.Effect< GetExperimentResultsResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFeature( input: GetFeatureRequest, ): Effect.Effect< GetFeatureResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLaunch( input: GetLaunchRequest, ): Effect.Effect< GetLaunchResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProject( input: GetProjectRequest, ): Effect.Effect< GetProjectResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSegment( input: GetSegmentRequest, ): Effect.Effect< GetSegmentResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listExperiments( input: ListExperimentsRequest, ): Effect.Effect< ListExperimentsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listFeatures( input: ListFeaturesRequest, ): Effect.Effect< ListFeaturesResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLaunches( input: ListLaunchesRequest, ): Effect.Effect< ListLaunchesResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listProjects( input: ListProjectsRequest, ): Effect.Effect< ListProjectsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listSegmentReferences( input: ListSegmentReferencesRequest, ): Effect.Effect< ListSegmentReferencesResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSegments( input: ListSegmentsRequest, ): Effect.Effect< ListSegmentsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; putProjectEvents( input: PutProjectEventsRequest, ): Effect.Effect< PutProjectEventsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startExperiment( input: StartExperimentRequest, ): Effect.Effect< StartExperimentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startLaunch( input: StartLaunchRequest, ): Effect.Effect< StartLaunchResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopExperiment( input: StopExperimentRequest, ): Effect.Effect< StopExperimentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopLaunch( input: StopLaunchRequest, ): Effect.Effect< StopLaunchResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateExperiment( input: UpdateExperimentRequest, ): Effect.Effect< UpdateExperimentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateFeature( input: UpdateFeatureRequest, ): Effect.Effect< UpdateFeatureResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateLaunch( input: UpdateLaunchRequest, ): Effect.Effect< UpdateLaunchResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateProject( input: UpdateProjectRequest, ): Effect.Effect< UpdateProjectResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateProjectDataDelivery( input: UpdateProjectDataDeliveryRequest, ): Effect.Effect< UpdateProjectDataDeliveryResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -528,25 +333,30 @@ export interface DeleteExperimentRequest { project: string; experiment: string; } -export interface DeleteExperimentResponse {} +export interface DeleteExperimentResponse { +} export interface DeleteFeatureRequest { project: string; feature: string; } -export interface DeleteFeatureResponse {} +export interface DeleteFeatureResponse { +} export interface DeleteLaunchRequest { project: string; launch: string; } -export interface DeleteLaunchResponse {} +export interface DeleteLaunchResponse { +} export interface DeleteProjectRequest { project: string; } -export interface DeleteProjectResponse {} +export interface DeleteProjectResponse { +} export interface DeleteSegmentRequest { segment: string; } -export interface DeleteSegmentResponse {} +export interface DeleteSegmentResponse { +} export type Description = string; export type DoubleValueList = Array; @@ -993,8 +803,7 @@ export interface PutProjectEventsResultEntry { errorCode?: string; errorMessage?: string; } -export type PutProjectEventsResultEntryList = - Array; +export type PutProjectEventsResultEntryList = Array; export type RandomizationSalt = string; export interface RefResource { @@ -1135,7 +944,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TestSegmentPatternRequest { @@ -1174,7 +984,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateExperimentRequest { project: string; experiment: string; @@ -1254,11 +1065,7 @@ interface _VariableValue { doubleValue?: number; } -export type VariableValue = - | (_VariableValue & { boolValue: boolean }) - | (_VariableValue & { stringValue: string }) - | (_VariableValue & { longValue: number }) - | (_VariableValue & { doubleValue: number }); +export type VariableValue = (_VariableValue & { boolValue: boolean }) | (_VariableValue & { stringValue: string }) | (_VariableValue & { longValue: number }) | (_VariableValue & { doubleValue: number }); export interface Variation { name?: string; value?: VariableValue; @@ -1703,13 +1510,5 @@ export declare namespace UpdateProjectDataDelivery { | CommonAwsError; } -export type EvidentlyErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type EvidentlyErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/evs/index.ts b/src/services/evs/index.ts index 6544b024..7701e368 100644 --- a/src/services/evs/index.ts +++ b/src/services/evs/index.ts @@ -5,24 +5,7 @@ import type { evs as _evsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/evs/types.ts b/src/services/evs/types.ts index 7c3231b7..90dbe801 100644 --- a/src/services/evs/types.ts +++ b/src/services/evs/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class evs extends AWSServiceClient { @@ -47,11 +14,7 @@ export declare class evs extends AWSServiceClient { input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ResourceNotFoundException - | ServiceQuotaExceededException - | TagPolicyException - | TooManyTagsException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | TagPolicyException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -63,10 +26,7 @@ export declare class evs extends AWSServiceClient { input: AssociateEipToVlanRequest, ): Effect.Effect< AssociateEipToVlanResponse, - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironment( input: CreateEnvironmentRequest, @@ -96,10 +56,7 @@ export declare class evs extends AWSServiceClient { input: DisassociateEipFromVlanRequest, ): Effect.Effect< DisassociateEipFromVlanResponse, - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironment( input: GetEnvironmentRequest, @@ -151,11 +108,7 @@ export interface Check { } export type CheckResult = "PASSED" | "FAILED" | "UNKNOWN"; export type ChecksList = Array; -export type CheckType = - | "KEY_REUSE" - | "KEY_COVERAGE" - | "REACHABILITY" - | "HOST_COUNT"; +export type CheckType = "KEY_REUSE" | "KEY_COVERAGE" | "REACHABILITY" | "HOST_COUNT"; export type Cidr = string; export type ClientToken = string; @@ -251,12 +204,7 @@ export type EnvironmentId = string; export type EnvironmentName = string; -export type EnvironmentState = - | "CREATING" - | "CREATED" - | "DELETING" - | "DELETED" - | "CREATE_FAILED"; +export type EnvironmentState = "CREATING" | "CREATED" | "DELETING" | "DELETED" | "CREATE_FAILED"; export type EnvironmentStateList = Array; export interface EnvironmentSummary { environmentId?: string; @@ -300,14 +248,7 @@ export type HostInfoForCreateList = Array; export type HostList = Array; export type HostName = string; -export type HostState = - | "CREATING" - | "CREATED" - | "UPDATING" - | "DELETING" - | "DELETED" - | "CREATE_FAILED" - | "UPDATE_FAILED"; +export type HostState = "CREATING" | "CREATED" | "UPDATING" | "DELETING" | "DELETED" | "CREATE_FAILED" | "UPDATE_FAILED"; export interface InitialVlanInfo { cidr: string; } @@ -427,7 +368,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -445,7 +387,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -458,11 +401,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export interface VcfHostnames { vCenter: string; nsx: string; @@ -492,12 +431,7 @@ export interface Vlan { export type VlanId = number; export type VlanList = Array; -export type VlanState = - | "CREATING" - | "CREATED" - | "DELETING" - | "DELETED" - | "CREATE_FAILED"; +export type VlanState = "CREATING" | "CREATED" | "DELETING" | "DELETED" | "CREATE_FAILED"; export type VpcId = string; export type VSanLicenseKey = string; @@ -505,7 +439,9 @@ export type VSanLicenseKey = string; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -541,7 +477,9 @@ export declare namespace AssociateEipToVlan { export declare namespace CreateEnvironment { export type Input = CreateEnvironmentRequest; export type Output = CreateEnvironmentResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace CreateEnvironmentHost { @@ -611,14 +549,10 @@ export declare namespace ListEnvironmentVlans { export declare namespace ListEnvironments { export type Input = ListEnvironmentsRequest; export type Output = ListEnvironmentsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } -export type evsErrors = - | ResourceNotFoundException - | ServiceQuotaExceededException - | TagPolicyException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type evsErrors = ResourceNotFoundException | ServiceQuotaExceededException | TagPolicyException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/finspace-data/index.ts b/src/services/finspace-data/index.ts index 45603cde..40dfc36d 100644 --- a/src/services/finspace-data/index.ts +++ b/src/services/finspace-data/index.ts @@ -5,23 +5,7 @@ import type { finspacedata as _finspacedataClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,49 +15,47 @@ const metadata = { sigV4ServiceName: "finspace-api", endpointPrefix: "finspace-api", operations: { - AssociateUserToPermissionGroup: { + "AssociateUserToPermissionGroup": { http: "POST /permission-group/{permissionGroupId}/users/{userId}", traits: { - statusCode: "httpResponseCode", + "statusCode": "httpResponseCode", }, }, - CreateChangeset: "POST /datasets/{datasetId}/changesetsv2", - CreateDataset: "POST /datasetsv2", - CreateDataView: "POST /datasets/{datasetId}/dataviewsv2", - CreatePermissionGroup: "POST /permission-group", - CreateUser: "POST /user", - DeleteDataset: "DELETE /datasetsv2/{datasetId}", - DeletePermissionGroup: "DELETE /permission-group/{permissionGroupId}", - DisableUser: "POST /user/{userId}/disable", - DisassociateUserFromPermissionGroup: { + "CreateChangeset": "POST /datasets/{datasetId}/changesetsv2", + "CreateDataset": "POST /datasetsv2", + "CreateDataView": "POST /datasets/{datasetId}/dataviewsv2", + "CreatePermissionGroup": "POST /permission-group", + "CreateUser": "POST /user", + "DeleteDataset": "DELETE /datasetsv2/{datasetId}", + "DeletePermissionGroup": "DELETE /permission-group/{permissionGroupId}", + "DisableUser": "POST /user/{userId}/disable", + "DisassociateUserFromPermissionGroup": { http: "DELETE /permission-group/{permissionGroupId}/users/{userId}", traits: { - statusCode: "httpResponseCode", + "statusCode": "httpResponseCode", }, }, - EnableUser: "POST /user/{userId}/enable", - GetChangeset: "GET /datasets/{datasetId}/changesetsv2/{changesetId}", - GetDataset: "GET /datasetsv2/{datasetId}", - GetDataView: "GET /datasets/{datasetId}/dataviewsv2/{dataViewId}", - GetExternalDataViewAccessDetails: - "POST /datasets/{datasetId}/dataviewsv2/{dataViewId}/external-access-details", - GetPermissionGroup: "GET /permission-group/{permissionGroupId}", - GetProgrammaticAccessCredentials: "GET /credentials/programmatic", - GetUser: "GET /user/{userId}", - GetWorkingLocation: "POST /workingLocationV1", - ListChangesets: "GET /datasets/{datasetId}/changesetsv2", - ListDatasets: "GET /datasetsv2", - ListDataViews: "GET /datasets/{datasetId}/dataviewsv2", - ListPermissionGroups: "GET /permission-group", - ListPermissionGroupsByUser: "GET /user/{userId}/permission-groups", - ListUsers: "GET /user", - ListUsersByPermissionGroup: - "GET /permission-group/{permissionGroupId}/users", - ResetUserPassword: "POST /user/{userId}/password", - UpdateChangeset: "PUT /datasets/{datasetId}/changesetsv2/{changesetId}", - UpdateDataset: "PUT /datasetsv2/{datasetId}", - UpdatePermissionGroup: "PUT /permission-group/{permissionGroupId}", - UpdateUser: "PUT /user/{userId}", + "EnableUser": "POST /user/{userId}/enable", + "GetChangeset": "GET /datasets/{datasetId}/changesetsv2/{changesetId}", + "GetDataset": "GET /datasetsv2/{datasetId}", + "GetDataView": "GET /datasets/{datasetId}/dataviewsv2/{dataViewId}", + "GetExternalDataViewAccessDetails": "POST /datasets/{datasetId}/dataviewsv2/{dataViewId}/external-access-details", + "GetPermissionGroup": "GET /permission-group/{permissionGroupId}", + "GetProgrammaticAccessCredentials": "GET /credentials/programmatic", + "GetUser": "GET /user/{userId}", + "GetWorkingLocation": "POST /workingLocationV1", + "ListChangesets": "GET /datasets/{datasetId}/changesetsv2", + "ListDatasets": "GET /datasetsv2", + "ListDataViews": "GET /datasets/{datasetId}/dataviewsv2", + "ListPermissionGroups": "GET /permission-group", + "ListPermissionGroupsByUser": "GET /user/{userId}/permission-groups", + "ListUsers": "GET /user", + "ListUsersByPermissionGroup": "GET /permission-group/{permissionGroupId}/users", + "ResetUserPassword": "POST /user/{userId}/password", + "UpdateChangeset": "PUT /datasets/{datasetId}/changesetsv2/{changesetId}", + "UpdateDataset": "PUT /datasetsv2/{datasetId}", + "UpdatePermissionGroup": "PUT /permission-group/{permissionGroupId}", + "UpdateUser": "PUT /user/{userId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/finspace-data/types.ts b/src/services/finspace-data/types.ts index aa08a90e..c9ebe853 100644 --- a/src/services/finspace-data/types.ts +++ b/src/services/finspace-data/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class finspacedata extends AWSServiceClient { @@ -40,362 +8,187 @@ export declare class finspacedata extends AWSServiceClient { input: AssociateUserToPermissionGroupRequest, ): Effect.Effect< AssociateUserToPermissionGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createChangeset( input: CreateChangesetRequest, ): Effect.Effect< CreateChangesetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createDataset( input: CreateDatasetRequest, ): Effect.Effect< CreateDatasetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createDataView( input: CreateDataViewRequest, ): Effect.Effect< CreateDataViewResponse, - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createPermissionGroup( input: CreatePermissionGroupRequest, ): Effect.Effect< CreatePermissionGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataset( input: DeleteDatasetRequest, ): Effect.Effect< DeleteDatasetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePermissionGroup( input: DeletePermissionGroupRequest, ): Effect.Effect< DeletePermissionGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disableUser( input: DisableUserRequest, ): Effect.Effect< DisableUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateUserFromPermissionGroup( input: DisassociateUserFromPermissionGroupRequest, ): Effect.Effect< DisassociateUserFromPermissionGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; enableUser( input: EnableUserRequest, ): Effect.Effect< EnableUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getChangeset( input: GetChangesetRequest, ): Effect.Effect< GetChangesetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataset( input: GetDatasetRequest, ): Effect.Effect< GetDatasetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataView( input: GetDataViewRequest, ): Effect.Effect< GetDataViewResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getExternalDataViewAccessDetails( input: GetExternalDataViewAccessDetailsRequest, ): Effect.Effect< GetExternalDataViewAccessDetailsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPermissionGroup( input: GetPermissionGroupRequest, ): Effect.Effect< GetPermissionGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProgrammaticAccessCredentials( input: GetProgrammaticAccessCredentialsRequest, ): Effect.Effect< GetProgrammaticAccessCredentialsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getUser( input: GetUserRequest, ): Effect.Effect< GetUserResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWorkingLocation( input: GetWorkingLocationRequest, ): Effect.Effect< GetWorkingLocationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listChangesets( input: ListChangesetsRequest, ): Effect.Effect< ListChangesetsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDatasets( input: ListDatasetsRequest, ): Effect.Effect< ListDatasetsResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataViews( input: ListDataViewsRequest, ): Effect.Effect< ListDataViewsResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPermissionGroups( input: ListPermissionGroupsRequest, ): Effect.Effect< ListPermissionGroupsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPermissionGroupsByUser( input: ListPermissionGroupsByUserRequest, ): Effect.Effect< ListPermissionGroupsByUserResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listUsers( input: ListUsersRequest, ): Effect.Effect< ListUsersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listUsersByPermissionGroup( input: ListUsersByPermissionGroupRequest, ): Effect.Effect< ListUsersByPermissionGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resetUserPassword( input: ResetUserPasswordRequest, ): Effect.Effect< ResetUserPasswordResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateChangeset( input: UpdateChangesetRequest, ): Effect.Effect< UpdateChangesetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDataset( input: UpdateDatasetRequest, ): Effect.Effect< UpdateDatasetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePermissionGroup( input: UpdatePermissionGroupRequest, ): Effect.Effect< UpdatePermissionGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -411,14 +204,7 @@ export type AccessKeyId = string; export type AliasString = string; export type ApiAccess = "ENABLED" | "DISABLED"; -export type ApplicationPermission = - | "CreateDataset" - | "ManageClusters" - | "ManageUsersAndGroups" - | "ManageAttributeSets" - | "ViewAuditData" - | "AccessNotebooks" - | "GetTemporaryCredentials"; +export type ApplicationPermission = "CreateDataset" | "ManageClusters" | "ManageUsersAndGroups" | "ManageAttributeSets" | "ViewAuditData" | "AccessNotebooks" | "GetTemporaryCredentials"; export type ApplicationPermissionList = Array; export interface AssociateUserToPermissionGroupRequest { permissionGroupId: string; @@ -463,19 +249,7 @@ export interface ChangesetSummary { export type ChangeType = "REPLACE" | "APPEND" | "MODIFY"; export type ClientToken = string; -export type ColumnDataType = - | "STRING" - | "CHAR" - | "INTEGER" - | "TINYINT" - | "SMALLINT" - | "BIGINT" - | "FLOAT" - | "DOUBLE" - | "DATE" - | "DATETIME" - | "BOOLEAN" - | "BINARY"; +export type ColumnDataType = "STRING" | "CHAR" | "INTEGER" | "TINYINT" | "SMALLINT" | "BIGINT" | "FLOAT" | "DOUBLE" | "DATE" | "DATETIME" | "BOOLEAN" | "BINARY"; export interface ColumnDefinition { dataType?: ColumnDataType; columnName?: string; @@ -600,15 +374,7 @@ export interface DataViewErrorInfo { export type DataViewId = string; export type DataViewList = Array; -export type DataViewStatus = - | "RUNNING" - | "STARTING" - | "FAILED" - | "CANCELLED" - | "TIMEOUT" - | "SUCCESS" - | "PENDING" - | "FAILED_CLEANUP_FAILED"; +export type DataViewStatus = "RUNNING" | "STARTING" | "FAILED" | "CANCELLED" | "TIMEOUT" | "SUCCESS" | "PENDING" | "FAILED_CLEANUP_FAILED"; export interface DataViewSummary { dataViewId?: string; dataViewArn?: string; @@ -661,15 +427,7 @@ export interface EnableUserRequest { export interface EnableUserResponse { userId?: string; } -export type ErrorCategory = - | "VALIDATION" - | "SERVICE_QUOTA_EXCEEDED" - | "ACCESS_DENIED" - | "RESOURCE_NOT_FOUND" - | "THROTTLING" - | "INTERNAL_SERVICE_EXCEPTION" - | "CANCELLED" - | "USER_RECOVERABLE"; +export type ErrorCategory = "VALIDATION" | "SERVICE_QUOTA_EXCEEDED" | "ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "THROTTLING" | "INTERNAL_SERVICE_EXCEPTION" | "CANCELLED" | "USER_RECOVERABLE"; export type ErrorMessage = string; export type ErrorMessage2 = string; @@ -780,12 +538,7 @@ export interface GetWorkingLocationResponse { } export type IdType = string; -export type IngestionStatus = - | "PENDING" - | "FAILED" - | "SUCCESS" - | "RUNNING" - | "STOP_REQUESTED"; +export type IngestionStatus = "PENDING" | "FAILED" | "SUCCESS" | "RUNNING" | "STOP_REQUESTED"; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", )<{ @@ -886,10 +639,7 @@ export type PermissionGroupDescription = string; export type PermissionGroupId = string; export type PermissionGroupList = Array; -export type PermissionGroupMembershipStatus = - | "ADDITION_IN_PROGRESS" - | "ADDITION_SUCCESS" - | "REMOVAL_IN_PROGRESS"; +export type PermissionGroupMembershipStatus = "ADDITION_IN_PROGRESS" | "ADDITION_SUCCESS" | "REMOVAL_IN_PROGRESS"; export type PermissionGroupName = string; export interface PermissionGroupParams { @@ -964,7 +714,8 @@ export type stringValueMaxLength1000 = string; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", -)<{}> {} +)<{ +}> {} export type TimestampEpoch = number; export interface UpdateChangesetRequest { @@ -1442,12 +1193,5 @@ export declare namespace UpdateUser { | CommonAwsError; } -export type finspacedataErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type finspacedataErrors = AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/finspace/index.ts b/src/services/finspace/index.ts index 018348bf..1f427f9f 100644 --- a/src/services/finspace/index.ts +++ b/src/services/finspace/index.ts @@ -5,23 +5,7 @@ import type { finspace as _finspaceClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,77 +15,56 @@ const metadata = { sigV4ServiceName: "finspace", endpointPrefix: "finspace", operations: { - CreateEnvironment: "POST /environment", - CreateKxChangeset: - "POST /kx/environments/{environmentId}/databases/{databaseName}/changesets", - CreateKxCluster: "POST /kx/environments/{environmentId}/clusters", - CreateKxDatabase: "POST /kx/environments/{environmentId}/databases", - CreateKxDataview: - "POST /kx/environments/{environmentId}/databases/{databaseName}/dataviews", - CreateKxEnvironment: "POST /kx/environments", - CreateKxScalingGroup: "POST /kx/environments/{environmentId}/scalingGroups", - CreateKxUser: "POST /kx/environments/{environmentId}/users", - CreateKxVolume: "POST /kx/environments/{environmentId}/kxvolumes", - DeleteEnvironment: "DELETE /environment/{environmentId}", - DeleteKxCluster: - "DELETE /kx/environments/{environmentId}/clusters/{clusterName}", - DeleteKxClusterNode: - "DELETE /kx/environments/{environmentId}/clusters/{clusterName}/nodes/{nodeId}", - DeleteKxDatabase: - "DELETE /kx/environments/{environmentId}/databases/{databaseName}", - DeleteKxDataview: - "DELETE /kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}", - DeleteKxEnvironment: "DELETE /kx/environments/{environmentId}", - DeleteKxScalingGroup: - "DELETE /kx/environments/{environmentId}/scalingGroups/{scalingGroupName}", - DeleteKxUser: "DELETE /kx/environments/{environmentId}/users/{userName}", - DeleteKxVolume: - "DELETE /kx/environments/{environmentId}/kxvolumes/{volumeName}", - GetEnvironment: "GET /environment/{environmentId}", - GetKxChangeset: - "GET /kx/environments/{environmentId}/databases/{databaseName}/changesets/{changesetId}", - GetKxCluster: "GET /kx/environments/{environmentId}/clusters/{clusterName}", - GetKxConnectionString: - "GET /kx/environments/{environmentId}/connectionString", - GetKxDatabase: - "GET /kx/environments/{environmentId}/databases/{databaseName}", - GetKxDataview: - "GET /kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}", - GetKxEnvironment: "GET /kx/environments/{environmentId}", - GetKxScalingGroup: - "GET /kx/environments/{environmentId}/scalingGroups/{scalingGroupName}", - GetKxUser: "GET /kx/environments/{environmentId}/users/{userName}", - GetKxVolume: "GET /kx/environments/{environmentId}/kxvolumes/{volumeName}", - ListEnvironments: "GET /environment", - ListKxChangesets: - "GET /kx/environments/{environmentId}/databases/{databaseName}/changesets", - ListKxClusterNodes: - "GET /kx/environments/{environmentId}/clusters/{clusterName}/nodes", - ListKxClusters: "GET /kx/environments/{environmentId}/clusters", - ListKxDatabases: "GET /kx/environments/{environmentId}/databases", - ListKxDataviews: - "GET /kx/environments/{environmentId}/databases/{databaseName}/dataviews", - ListKxEnvironments: "GET /kx/environments", - ListKxScalingGroups: "GET /kx/environments/{environmentId}/scalingGroups", - ListKxUsers: "GET /kx/environments/{environmentId}/users", - ListKxVolumes: "GET /kx/environments/{environmentId}/kxvolumes", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateEnvironment: "PUT /environment/{environmentId}", - UpdateKxClusterCodeConfiguration: - "PUT /kx/environments/{environmentId}/clusters/{clusterName}/configuration/code", - UpdateKxClusterDatabases: - "PUT /kx/environments/{environmentId}/clusters/{clusterName}/configuration/databases", - UpdateKxDatabase: - "PUT /kx/environments/{environmentId}/databases/{databaseName}", - UpdateKxDataview: - "PUT /kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}", - UpdateKxEnvironment: "PUT /kx/environments/{environmentId}", - UpdateKxEnvironmentNetwork: "PUT /kx/environments/{environmentId}/network", - UpdateKxUser: "PUT /kx/environments/{environmentId}/users/{userName}", - UpdateKxVolume: - "PATCH /kx/environments/{environmentId}/kxvolumes/{volumeName}", + "CreateEnvironment": "POST /environment", + "CreateKxChangeset": "POST /kx/environments/{environmentId}/databases/{databaseName}/changesets", + "CreateKxCluster": "POST /kx/environments/{environmentId}/clusters", + "CreateKxDatabase": "POST /kx/environments/{environmentId}/databases", + "CreateKxDataview": "POST /kx/environments/{environmentId}/databases/{databaseName}/dataviews", + "CreateKxEnvironment": "POST /kx/environments", + "CreateKxScalingGroup": "POST /kx/environments/{environmentId}/scalingGroups", + "CreateKxUser": "POST /kx/environments/{environmentId}/users", + "CreateKxVolume": "POST /kx/environments/{environmentId}/kxvolumes", + "DeleteEnvironment": "DELETE /environment/{environmentId}", + "DeleteKxCluster": "DELETE /kx/environments/{environmentId}/clusters/{clusterName}", + "DeleteKxClusterNode": "DELETE /kx/environments/{environmentId}/clusters/{clusterName}/nodes/{nodeId}", + "DeleteKxDatabase": "DELETE /kx/environments/{environmentId}/databases/{databaseName}", + "DeleteKxDataview": "DELETE /kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}", + "DeleteKxEnvironment": "DELETE /kx/environments/{environmentId}", + "DeleteKxScalingGroup": "DELETE /kx/environments/{environmentId}/scalingGroups/{scalingGroupName}", + "DeleteKxUser": "DELETE /kx/environments/{environmentId}/users/{userName}", + "DeleteKxVolume": "DELETE /kx/environments/{environmentId}/kxvolumes/{volumeName}", + "GetEnvironment": "GET /environment/{environmentId}", + "GetKxChangeset": "GET /kx/environments/{environmentId}/databases/{databaseName}/changesets/{changesetId}", + "GetKxCluster": "GET /kx/environments/{environmentId}/clusters/{clusterName}", + "GetKxConnectionString": "GET /kx/environments/{environmentId}/connectionString", + "GetKxDatabase": "GET /kx/environments/{environmentId}/databases/{databaseName}", + "GetKxDataview": "GET /kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}", + "GetKxEnvironment": "GET /kx/environments/{environmentId}", + "GetKxScalingGroup": "GET /kx/environments/{environmentId}/scalingGroups/{scalingGroupName}", + "GetKxUser": "GET /kx/environments/{environmentId}/users/{userName}", + "GetKxVolume": "GET /kx/environments/{environmentId}/kxvolumes/{volumeName}", + "ListEnvironments": "GET /environment", + "ListKxChangesets": "GET /kx/environments/{environmentId}/databases/{databaseName}/changesets", + "ListKxClusterNodes": "GET /kx/environments/{environmentId}/clusters/{clusterName}/nodes", + "ListKxClusters": "GET /kx/environments/{environmentId}/clusters", + "ListKxDatabases": "GET /kx/environments/{environmentId}/databases", + "ListKxDataviews": "GET /kx/environments/{environmentId}/databases/{databaseName}/dataviews", + "ListKxEnvironments": "GET /kx/environments", + "ListKxScalingGroups": "GET /kx/environments/{environmentId}/scalingGroups", + "ListKxUsers": "GET /kx/environments/{environmentId}/users", + "ListKxVolumes": "GET /kx/environments/{environmentId}/kxvolumes", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateEnvironment": "PUT /environment/{environmentId}", + "UpdateKxClusterCodeConfiguration": "PUT /kx/environments/{environmentId}/clusters/{clusterName}/configuration/code", + "UpdateKxClusterDatabases": "PUT /kx/environments/{environmentId}/clusters/{clusterName}/configuration/databases", + "UpdateKxDatabase": "PUT /kx/environments/{environmentId}/databases/{databaseName}", + "UpdateKxDataview": "PUT /kx/environments/{environmentId}/databases/{databaseName}/dataviews/{dataviewName}", + "UpdateKxEnvironment": "PUT /kx/environments/{environmentId}", + "UpdateKxEnvironmentNetwork": "PUT /kx/environments/{environmentId}/network", + "UpdateKxUser": "PUT /kx/environments/{environmentId}/users/{userName}", + "UpdateKxVolume": "PATCH /kx/environments/{environmentId}/kxvolumes/{volumeName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/finspace/types.ts b/src/services/finspace/types.ts index b2306e6d..1155b625 100644 --- a/src/services/finspace/types.ts +++ b/src/services/finspace/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class finspace extends AWSServiceClient { @@ -40,597 +8,301 @@ export declare class finspace extends AWSServiceClient { input: CreateEnvironmentRequest, ): Effect.Effect< CreateEnvironmentResponse, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createKxChangeset( input: CreateKxChangesetRequest, ): Effect.Effect< CreateKxChangesetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createKxCluster( input: CreateKxClusterRequest, ): Effect.Effect< CreateKxClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createKxDatabase( input: CreateKxDatabaseRequest, ): Effect.Effect< CreateKxDatabaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createKxDataview( input: CreateKxDataviewRequest, ): Effect.Effect< CreateKxDataviewResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createKxEnvironment( input: CreateKxEnvironmentRequest, ): Effect.Effect< CreateKxEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createKxScalingGroup( input: CreateKxScalingGroupRequest, ): Effect.Effect< CreateKxScalingGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createKxUser( input: CreateKxUserRequest, ): Effect.Effect< CreateKxUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createKxVolume( input: CreateKxVolumeRequest, ): Effect.Effect< CreateKxVolumeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironment( input: DeleteEnvironmentRequest, ): Effect.Effect< DeleteEnvironmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKxCluster( input: DeleteKxClusterRequest, ): Effect.Effect< DeleteKxClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKxClusterNode( input: DeleteKxClusterNodeRequest, ): Effect.Effect< DeleteKxClusterNodeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKxDatabase( input: DeleteKxDatabaseRequest, ): Effect.Effect< DeleteKxDatabaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKxDataview( input: DeleteKxDataviewRequest, ): Effect.Effect< DeleteKxDataviewResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKxEnvironment( input: DeleteKxEnvironmentRequest, ): Effect.Effect< DeleteKxEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKxScalingGroup( input: DeleteKxScalingGroupRequest, ): Effect.Effect< DeleteKxScalingGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKxUser( input: DeleteKxUserRequest, ): Effect.Effect< DeleteKxUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKxVolume( input: DeleteKxVolumeRequest, ): Effect.Effect< DeleteKxVolumeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironment( input: GetEnvironmentRequest, ): Effect.Effect< GetEnvironmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getKxChangeset( input: GetKxChangesetRequest, ): Effect.Effect< GetKxChangesetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getKxCluster( input: GetKxClusterRequest, ): Effect.Effect< GetKxClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getKxConnectionString( input: GetKxConnectionStringRequest, ): Effect.Effect< GetKxConnectionStringResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getKxDatabase( input: GetKxDatabaseRequest, ): Effect.Effect< GetKxDatabaseResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getKxDataview( input: GetKxDataviewRequest, ): Effect.Effect< GetKxDataviewResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getKxEnvironment( input: GetKxEnvironmentRequest, ): Effect.Effect< GetKxEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getKxScalingGroup( input: GetKxScalingGroupRequest, ): Effect.Effect< GetKxScalingGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getKxUser( input: GetKxUserRequest, ): Effect.Effect< GetKxUserResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getKxVolume( input: GetKxVolumeRequest, ): Effect.Effect< GetKxVolumeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironments( input: ListEnvironmentsRequest, ): Effect.Effect< ListEnvironmentsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listKxChangesets( input: ListKxChangesetsRequest, ): Effect.Effect< ListKxChangesetsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listKxClusterNodes( input: ListKxClusterNodesRequest, ): Effect.Effect< ListKxClusterNodesResponse, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listKxClusters( input: ListKxClustersRequest, ): Effect.Effect< ListKxClustersResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listKxDatabases( input: ListKxDatabasesRequest, ): Effect.Effect< ListKxDatabasesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listKxDataviews( input: ListKxDataviewsRequest, ): Effect.Effect< ListKxDataviewsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listKxEnvironments( input: ListKxEnvironmentsRequest, ): Effect.Effect< ListKxEnvironmentsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listKxScalingGroups( input: ListKxScalingGroupsRequest, ): Effect.Effect< ListKxScalingGroupsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listKxUsers( input: ListKxUsersRequest, ): Effect.Effect< ListKxUsersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listKxVolumes( input: ListKxVolumesRequest, ): Effect.Effect< ListKxVolumesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; updateEnvironment( input: UpdateEnvironmentRequest, ): Effect.Effect< UpdateEnvironmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateKxClusterCodeConfiguration( input: UpdateKxClusterCodeConfigurationRequest, ): Effect.Effect< UpdateKxClusterCodeConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateKxClusterDatabases( input: UpdateKxClusterDatabasesRequest, ): Effect.Effect< UpdateKxClusterDatabasesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateKxDatabase( input: UpdateKxDatabaseRequest, ): Effect.Effect< UpdateKxDatabaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateKxDataview( input: UpdateKxDataviewRequest, ): Effect.Effect< UpdateKxDataviewResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateKxEnvironment( input: UpdateKxEnvironmentRequest, ): Effect.Effect< UpdateKxEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateKxEnvironmentNetwork( input: UpdateKxEnvironmentNetworkRequest, ): Effect.Effect< UpdateKxEnvironmentNetworkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateKxUser( input: UpdateKxUserRequest, ): Effect.Effect< UpdateKxUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateKxVolume( input: UpdateKxVolumeRequest, ): Effect.Effect< UpdateKxVolumeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -910,63 +582,67 @@ export type DbPaths = Array; export interface DeleteEnvironmentRequest { environmentId: string; } -export interface DeleteEnvironmentResponse {} +export interface DeleteEnvironmentResponse { +} export interface DeleteKxClusterNodeRequest { environmentId: string; clusterName: string; nodeId: string; } -export interface DeleteKxClusterNodeResponse {} +export interface DeleteKxClusterNodeResponse { +} export interface DeleteKxClusterRequest { environmentId: string; clusterName: string; clientToken?: string; } -export interface DeleteKxClusterResponse {} +export interface DeleteKxClusterResponse { +} export interface DeleteKxDatabaseRequest { environmentId: string; databaseName: string; clientToken: string; } -export interface DeleteKxDatabaseResponse {} +export interface DeleteKxDatabaseResponse { +} export interface DeleteKxDataviewRequest { environmentId: string; databaseName: string; dataviewName: string; clientToken: string; } -export interface DeleteKxDataviewResponse {} +export interface DeleteKxDataviewResponse { +} export interface DeleteKxEnvironmentRequest { environmentId: string; clientToken?: string; } -export interface DeleteKxEnvironmentResponse {} +export interface DeleteKxEnvironmentResponse { +} export interface DeleteKxScalingGroupRequest { environmentId: string; scalingGroupName: string; clientToken?: string; } -export interface DeleteKxScalingGroupResponse {} +export interface DeleteKxScalingGroupResponse { +} export interface DeleteKxUserRequest { userName: string; environmentId: string; clientToken?: string; } -export interface DeleteKxUserResponse {} +export interface DeleteKxUserResponse { +} export interface DeleteKxVolumeRequest { environmentId: string; volumeName: string; clientToken?: string; } -export interface DeleteKxVolumeResponse {} +export interface DeleteKxVolumeResponse { +} export type Description = string; -export type dnsStatus = - | "NONE" - | "UPDATE_REQUESTED" - | "UPDATING" - | "FAILED_UPDATE" - | "SUCCESSFULLY_UPDATED"; +export type dnsStatus = "NONE" | "UPDATE_REQUESTED" | "UPDATING" | "FAILED_UPDATE" | "SUCCESSFULLY_UPDATED"; export type EmailId = string; export interface Environment { @@ -992,29 +668,8 @@ export type EnvironmentId = string; export type EnvironmentList = Array; export type EnvironmentName = string; -export type EnvironmentStatus = - | "CREATE_REQUESTED" - | "CREATING" - | "CREATED" - | "DELETE_REQUESTED" - | "DELETING" - | "DELETED" - | "FAILED_CREATION" - | "RETRY_DELETION" - | "FAILED_DELETION" - | "UPDATE_NETWORK_REQUESTED" - | "UPDATING_NETWORK" - | "FAILED_UPDATING_NETWORK" - | "SUSPENDED"; -export type ErrorDetails = - | "The inputs to this request are invalid." - | "Service limits have been exceeded." - | "Missing required permission to perform this request." - | "One or more inputs to this request were not found." - | "The system temporarily lacks sufficient resources to process the request." - | "An internal error has occurred." - | "Cancelled" - | "A user recoverable error has occurred"; +export type EnvironmentStatus = "CREATE_REQUESTED" | "CREATING" | "CREATED" | "DELETE_REQUESTED" | "DELETING" | "DELETED" | "FAILED_CREATION" | "RETRY_DELETION" | "FAILED_DELETION" | "UPDATE_NETWORK_REQUESTED" | "UPDATING_NETWORK" | "FAILED_UPDATING_NETWORK" | "SUSPENDED"; +export type ErrorDetails = "The inputs to this request are invalid." | "Service limits have been exceeded." | "Missing required permission to perform this request." | "One or more inputs to this request were not found." | "The system temporarily lacks sufficient resources to process the request." | "An internal error has occurred." | "Cancelled" | "A user recoverable error has occurred"; export interface ErrorInfo { errorMessage?: string; errorType?: ErrorDetails; @@ -1272,10 +927,7 @@ export interface KxCluster { export interface KxClusterCodeDeploymentConfiguration { deploymentStrategy: KxClusterCodeDeploymentStrategy; } -export type KxClusterCodeDeploymentStrategy = - | "NO_RESTART" - | "ROLLING" - | "FORCE"; +export type KxClusterCodeDeploymentStrategy = "NO_RESTART" | "ROLLING" | "FORCE"; export type KxClusterDescription = string; export type KxClusterName = string; @@ -1284,15 +936,7 @@ export type KxClusterNameList = Array; export type KxClusterNodeIdString = string; export type KxClusters = Array; -export type KxClusterStatus = - | "PENDING" - | "CREATING" - | "CREATE_FAILED" - | "RUNNING" - | "UPDATING" - | "DELETING" - | "DELETED" - | "DELETE_FAILED"; +export type KxClusterStatus = "PENDING" | "CREATING" | "CREATE_FAILED" | "RUNNING" | "UPDATING" | "DELETING" | "DELETED" | "DELETE_FAILED"; export type KxClusterStatusReason = string; export type KxClusterType = "HDB" | "RDB" | "GATEWAY" | "GP" | "TICKERPLANT"; @@ -1364,14 +1008,8 @@ export interface KxDataviewSegmentConfiguration { volumeName: string; onDemand?: boolean; } -export type KxDataviewSegmentConfigurationList = - Array; -export type KxDataviewStatus = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "FAILED" - | "DELETING"; +export type KxDataviewSegmentConfigurationList = Array; +export type KxDataviewStatus = "CREATING" | "ACTIVE" | "UPDATING" | "FAILED" | "DELETING"; export type KxDataviewStatusReason = string; export interface KxDeploymentConfiguration { @@ -1447,13 +1085,7 @@ export interface KxScalingGroupConfiguration { export type KxScalingGroupList = Array; export type KxScalingGroupName = string; -export type KxScalingGroupStatus = - | "CREATING" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETING" - | "DELETED" - | "DELETE_FAILED"; +export type KxScalingGroupStatus = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETED" | "DELETE_FAILED"; export interface KxUser { userArn?: string; userName?: string; @@ -1482,16 +1114,7 @@ export type KxVolumeArn = string; export type KxVolumeName = string; export type KxVolumes = Array; -export type KxVolumeStatus = - | "CREATING" - | "CREATE_FAILED" - | "ACTIVE" - | "UPDATING" - | "UPDATED" - | "UPDATE_FAILED" - | "DELETING" - | "DELETED" - | "DELETE_FAILED"; +export type KxVolumeStatus = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "UPDATING" | "UPDATED" | "UPDATE_FAILED" | "DELETING" | "DELETED" | "DELETE_FAILED"; export type KxVolumeStatusReason = string; export type KxVolumeType = "NAS_1"; @@ -1694,15 +1317,11 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; -export type tgwStatus = - | "NONE" - | "UPDATE_REQUESTED" - | "UPDATING" - | "FAILED_UPDATE" - | "SUCCESSFULLY_UPDATED"; +export type tgwStatus = "NONE" | "UPDATE_REQUESTED" | "UPDATING" | "FAILED_UPDATE" | "SUCCESSFULLY_UPDATED"; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -1725,7 +1344,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateEnvironmentRequest { environmentId: string; name?: string; @@ -1745,7 +1365,8 @@ export interface UpdateKxClusterCodeConfigurationRequest { commandLineArguments?: Array; deploymentConfiguration?: KxClusterCodeDeploymentConfiguration; } -export interface UpdateKxClusterCodeConfigurationResponse {} +export interface UpdateKxClusterCodeConfigurationResponse { +} export interface UpdateKxClusterDatabasesRequest { environmentId: string; clusterName: string; @@ -1753,7 +1374,8 @@ export interface UpdateKxClusterDatabasesRequest { databases: Array; deploymentConfiguration?: KxDeploymentConfiguration; } -export interface UpdateKxClusterDatabasesResponse {} +export interface UpdateKxClusterDatabasesResponse { +} export interface UpdateKxDatabaseRequest { environmentId: string; databaseName: string; @@ -2554,15 +2176,5 @@ export declare namespace UpdateKxVolume { | CommonAwsError; } -export type finspaceErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type finspaceErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/firehose/index.ts b/src/services/firehose/index.ts index 48f71cbd..0de60a6c 100644 --- a/src/services/firehose/index.ts +++ b/src/services/firehose/index.ts @@ -5,26 +5,7 @@ import type { Firehose as _FirehoseClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/firehose/types.ts b/src/services/firehose/types.ts index 31b7d3bb..82e95f7b 100644 --- a/src/services/firehose/types.ts +++ b/src/services/firehose/types.ts @@ -7,11 +7,7 @@ export declare class Firehose extends AWSServiceClient { input: CreateDeliveryStreamInput, ): Effect.Effect< CreateDeliveryStreamOutput, - | InvalidArgumentException - | InvalidKMSResourceException - | LimitExceededException - | ResourceInUseException - | CommonAwsError + InvalidArgumentException | InvalidKMSResourceException | LimitExceededException | ResourceInUseException | CommonAwsError >; deleteDeliveryStream( input: DeleteDeliveryStreamInput, @@ -27,88 +23,57 @@ export declare class Firehose extends AWSServiceClient { >; listDeliveryStreams( input: ListDeliveryStreamsInput, - ): Effect.Effect; + ): Effect.Effect< + ListDeliveryStreamsOutput, + CommonAwsError + >; listTagsForDeliveryStream( input: ListTagsForDeliveryStreamInput, ): Effect.Effect< ListTagsForDeliveryStreamOutput, - | InvalidArgumentException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; putRecord( input: PutRecordInput, ): Effect.Effect< PutRecordOutput, - | InvalidArgumentException - | InvalidKMSResourceException - | InvalidSourceException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidArgumentException | InvalidKMSResourceException | InvalidSourceException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; putRecordBatch( input: PutRecordBatchInput, ): Effect.Effect< PutRecordBatchOutput, - | InvalidArgumentException - | InvalidKMSResourceException - | InvalidSourceException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidArgumentException | InvalidKMSResourceException | InvalidSourceException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; startDeliveryStreamEncryption( input: StartDeliveryStreamEncryptionInput, ): Effect.Effect< StartDeliveryStreamEncryptionOutput, - | InvalidArgumentException - | InvalidKMSResourceException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | InvalidKMSResourceException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; stopDeliveryStreamEncryption( input: StopDeliveryStreamEncryptionInput, ): Effect.Effect< StopDeliveryStreamEncryptionOutput, - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; tagDeliveryStream( input: TagDeliveryStreamInput, ): Effect.Effect< TagDeliveryStreamOutput, - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; untagDeliveryStream( input: UntagDeliveryStreamInput, ): Effect.Effect< UntagDeliveryStreamOutput, - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateDestination( input: UpdateDestinationInput, ): Effect.Effect< UpdateDestinationOutput, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; } @@ -163,9 +128,7 @@ export type AmazonOpenSearchServerlessRetryDurationInSeconds = number; export interface AmazonOpenSearchServerlessRetryOptions { DurationInSeconds?: number; } -export type AmazonOpenSearchServerlessS3BackupMode = - | "FailedDocumentsOnly" - | "AllDocuments"; +export type AmazonOpenSearchServerlessS3BackupMode = "FailedDocumentsOnly" | "AllDocuments"; export interface AmazonopensearchserviceBufferingHints { IntervalInSeconds?: number; SizeInMBs?: number; @@ -226,20 +189,13 @@ export type AmazonopensearchserviceDomainARN = string; export type AmazonopensearchserviceIndexName = string; -export type AmazonopensearchserviceIndexRotationPeriod = - | "NoRotation" - | "OneHour" - | "OneDay" - | "OneWeek" - | "OneMonth"; +export type AmazonopensearchserviceIndexRotationPeriod = "NoRotation" | "OneHour" | "OneDay" | "OneWeek" | "OneMonth"; export type AmazonopensearchserviceRetryDurationInSeconds = number; export interface AmazonopensearchserviceRetryOptions { DurationInSeconds?: number; } -export type AmazonopensearchserviceS3BackupMode = - | "FailedDocumentsOnly" - | "AllDocuments"; +export type AmazonopensearchserviceS3BackupMode = "FailedDocumentsOnly" | "AllDocuments"; export type AmazonopensearchserviceTypeName = string; export interface AuthenticationConfiguration { @@ -270,12 +226,7 @@ export interface CloudWatchLoggingOptions { export type ClusterJDBCURL = string; export type ColumnToJsonKeyMappings = Record; -export type CompressionFormat = - | "UNCOMPRESSED" - | "GZIP" - | "ZIP" - | "Snappy" - | "HADOOP_SNAPPY"; +export type CompressionFormat = "UNCOMPRESSED" | "GZIP" | "ZIP" | "Snappy" | "HADOOP_SNAPPY"; export declare class ConcurrentModificationException extends EffectData.TaggedError( "ConcurrentModificationException", )<{ @@ -401,7 +352,8 @@ export interface DeleteDeliveryStreamInput { DeliveryStreamName: string; AllowForceDelete?: boolean; } -export interface DeleteDeliveryStreamOutput {} +export interface DeleteDeliveryStreamOutput { +} export type DeliveryStartTimestamp = Date | string; export type DeliveryStreamARN = string; @@ -430,45 +382,13 @@ export interface DeliveryStreamEncryptionConfigurationInput { KeyARN?: string; KeyType: KeyType; } -export type DeliveryStreamEncryptionStatus = - | "ENABLED" - | "ENABLING" - | "ENABLING_FAILED" - | "DISABLED" - | "DISABLING" - | "DISABLING_FAILED"; -export type DeliveryStreamFailureType = - | "VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND" - | "VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED" - | "RETIRE_KMS_GRANT_FAILED" - | "CREATE_KMS_GRANT_FAILED" - | "KMS_ACCESS_DENIED" - | "DISABLED_KMS_KEY" - | "INVALID_KMS_KEY" - | "KMS_KEY_NOT_FOUND" - | "KMS_OPT_IN_REQUIRED" - | "CREATE_ENI_FAILED" - | "DELETE_ENI_FAILED" - | "SUBNET_NOT_FOUND" - | "SECURITY_GROUP_NOT_FOUND" - | "ENI_ACCESS_DENIED" - | "SUBNET_ACCESS_DENIED" - | "SECURITY_GROUP_ACCESS_DENIED" - | "UNKNOWN_ERROR"; +export type DeliveryStreamEncryptionStatus = "ENABLED" | "ENABLING" | "ENABLING_FAILED" | "DISABLED" | "DISABLING" | "DISABLING_FAILED"; +export type DeliveryStreamFailureType = "VPC_ENDPOINT_SERVICE_NAME_NOT_FOUND" | "VPC_INTERFACE_ENDPOINT_SERVICE_ACCESS_DENIED" | "RETIRE_KMS_GRANT_FAILED" | "CREATE_KMS_GRANT_FAILED" | "KMS_ACCESS_DENIED" | "DISABLED_KMS_KEY" | "INVALID_KMS_KEY" | "KMS_KEY_NOT_FOUND" | "KMS_OPT_IN_REQUIRED" | "CREATE_ENI_FAILED" | "DELETE_ENI_FAILED" | "SUBNET_NOT_FOUND" | "SECURITY_GROUP_NOT_FOUND" | "ENI_ACCESS_DENIED" | "SUBNET_ACCESS_DENIED" | "SECURITY_GROUP_ACCESS_DENIED" | "UNKNOWN_ERROR"; export type DeliveryStreamName = string; export type DeliveryStreamNameList = Array; -export type DeliveryStreamStatus = - | "CREATING" - | "CREATING_FAILED" - | "DELETING" - | "DELETING_FAILED" - | "ACTIVE"; -export type DeliveryStreamType = - | "DirectPut" - | "KinesisStreamAsSource" - | "MSKAsSource" - | "DatabaseAsSource"; +export type DeliveryStreamStatus = "CREATING" | "CREATING_FAILED" | "DELETING" | "DELETING_FAILED" | "ACTIVE"; +export type DeliveryStreamType = "DirectPut" | "KinesisStreamAsSource" | "MSKAsSource" | "DatabaseAsSource"; export type DeliveryStreamVersionId = string; export interface DescribeDeliveryStreamInput { @@ -508,8 +428,7 @@ export interface DestinationTableConfiguration { PartitionSpec?: PartitionSpec; S3ErrorOutputPrefix?: string; } -export type DestinationTableConfigurationList = - Array; +export type DestinationTableConfigurationList = Array; export interface DirectPutSourceConfiguration { ThroughputHintInMBs: number; } @@ -583,12 +502,7 @@ export type ElasticsearchDomainARN = string; export type ElasticsearchIndexName = string; -export type ElasticsearchIndexRotationPeriod = - | "NoRotation" - | "OneHour" - | "OneDay" - | "OneWeek" - | "OneMonth"; +export type ElasticsearchIndexRotationPeriod = "NoRotation" | "OneHour" | "OneDay" | "OneWeek" | "OneMonth"; export type ElasticsearchRetryDurationInSeconds = number; export interface ElasticsearchRetryOptions { @@ -694,8 +608,7 @@ export interface HttpEndpointCommonAttribute { AttributeName: string; AttributeValue: string; } -export type HttpEndpointCommonAttributesList = - Array; +export type HttpEndpointCommonAttributesList = Array; export interface HttpEndpointConfiguration { Url: string; Name?: string; @@ -954,27 +867,10 @@ export interface ProcessorParameter { ParameterValue: string; } export type ProcessorParameterList = Array; -export type ProcessorParameterName = - | "LambdaArn" - | "NumberOfRetries" - | "MetadataExtractionQuery" - | "JsonParsingEngine" - | "RoleArn" - | "BufferSizeInMBs" - | "BufferIntervalInSeconds" - | "SubRecordType" - | "Delimiter" - | "CompressionFormat" - | "DataMessageExtraction"; +export type ProcessorParameterName = "LambdaArn" | "NumberOfRetries" | "MetadataExtractionQuery" | "JsonParsingEngine" | "RoleArn" | "BufferSizeInMBs" | "BufferIntervalInSeconds" | "SubRecordType" | "Delimiter" | "CompressionFormat" | "DataMessageExtraction"; export type ProcessorParameterValue = string; -export type ProcessorType = - | "RecordDeAggregation" - | "Decompression" - | "CloudWatchLogProcessing" - | "Lambda" - | "MetadataExtraction" - | "AppendDelimiterToRecord"; +export type ProcessorType = "RecordDeAggregation" | "Decompression" | "CloudWatchLogProcessing" | "Lambda" | "MetadataExtraction" | "AppendDelimiterToRecord"; export type Proportion = number; export interface PutRecordBatchInput { @@ -992,8 +888,7 @@ export interface PutRecordBatchResponseEntry { ErrorCode?: string; ErrorMessage?: string; } -export type PutRecordBatchResponseEntryList = - Array; +export type PutRecordBatchResponseEntryList = Array; export interface PutRecordInput { DeliveryStreamName: string; Record: FirehoseRecord; @@ -1150,10 +1045,7 @@ export type SnowflakeContentColumnName = string; export type SnowflakeDatabase = string; -export type SnowflakeDataLoadingOption = - | "JSON_MAPPING" - | "VARIANT_CONTENT_MAPPING" - | "VARIANT_CONTENT_AND_METADATA_MAPPING"; +export type SnowflakeDataLoadingOption = "JSON_MAPPING" | "VARIANT_CONTENT_MAPPING" | "VARIANT_CONTENT_AND_METADATA_MAPPING"; export interface SnowflakeDestinationConfiguration { AccountUrl: string; PrivateKey?: string; @@ -1310,11 +1202,13 @@ export interface StartDeliveryStreamEncryptionInput { DeliveryStreamName: string; DeliveryStreamEncryptionConfigurationInput?: DeliveryStreamEncryptionConfigurationInput; } -export interface StartDeliveryStreamEncryptionOutput {} +export interface StartDeliveryStreamEncryptionOutput { +} export interface StopDeliveryStreamEncryptionInput { DeliveryStreamName: string; } -export interface StopDeliveryStreamEncryptionOutput {} +export interface StopDeliveryStreamEncryptionOutput { +} export type StringWithLettersDigitsUnderscoresDots = string; export type SubnetIdList = Array; @@ -1330,7 +1224,8 @@ export interface TagDeliveryStreamInput { Tags: Array; } export type TagDeliveryStreamInputTagList = Array; -export interface TagDeliveryStreamOutput {} +export interface TagDeliveryStreamOutput { +} export type TagKey = string; export type TagKeyList = Array; @@ -1346,7 +1241,8 @@ export interface UntagDeliveryStreamInput { DeliveryStreamName: string; TagKeys: Array; } -export interface UntagDeliveryStreamOutput {} +export interface UntagDeliveryStreamOutput { +} export interface UpdateDestinationInput { DeliveryStreamName: string; CurrentDeliveryStreamVersionId: string; @@ -1362,7 +1258,8 @@ export interface UpdateDestinationInput { SnowflakeDestinationUpdate?: SnowflakeDestinationUpdate; IcebergDestinationUpdate?: IcebergDestinationUpdate; } -export interface UpdateDestinationOutput {} +export interface UpdateDestinationOutput { +} export type Username = string; export interface VpcConfiguration { @@ -1403,13 +1300,16 @@ export declare namespace DeleteDeliveryStream { export declare namespace DescribeDeliveryStream { export type Input = DescribeDeliveryStreamInput; export type Output = DescribeDeliveryStreamOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListDeliveryStreams { export type Input = ListDeliveryStreamsInput; export type Output = ListDeliveryStreamsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTagsForDeliveryStream { @@ -1502,13 +1402,5 @@ export declare namespace UpdateDestination { | CommonAwsError; } -export type FirehoseErrors = - | ConcurrentModificationException - | InvalidArgumentException - | InvalidKMSResourceException - | InvalidSourceException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError; +export type FirehoseErrors = ConcurrentModificationException | InvalidArgumentException | InvalidKMSResourceException | InvalidSourceException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError; + diff --git a/src/services/fis/index.ts b/src/services/fis/index.ts index 276ee21f..25457fc0 100644 --- a/src/services/fis/index.ts +++ b/src/services/fis/index.ts @@ -5,25 +5,7 @@ import type { fis as _fisClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,40 +15,32 @@ const metadata = { sigV4ServiceName: "fis", endpointPrefix: "fis", operations: { - CreateExperimentTemplate: "POST /experimentTemplates", - CreateTargetAccountConfiguration: - "POST /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}", - DeleteExperimentTemplate: "DELETE /experimentTemplates/{id}", - DeleteTargetAccountConfiguration: - "DELETE /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}", - GetAction: "GET /actions/{id}", - GetExperiment: "GET /experiments/{id}", - GetExperimentTargetAccountConfiguration: - "GET /experiments/{experimentId}/targetAccountConfigurations/{accountId}", - GetExperimentTemplate: "GET /experimentTemplates/{id}", - GetSafetyLever: "GET /safetyLevers/{id}", - GetTargetAccountConfiguration: - "GET /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}", - GetTargetResourceType: "GET /targetResourceTypes/{resourceType}", - ListActions: "GET /actions", - ListExperimentResolvedTargets: - "GET /experiments/{experimentId}/resolvedTargets", - ListExperiments: "GET /experiments", - ListExperimentTargetAccountConfigurations: - "GET /experiments/{experimentId}/targetAccountConfigurations", - ListExperimentTemplates: "GET /experimentTemplates", - ListTagsForResource: "GET /tags/{resourceArn}", - ListTargetAccountConfigurations: - "GET /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations", - ListTargetResourceTypes: "GET /targetResourceTypes", - StartExperiment: "POST /experiments", - StopExperiment: "DELETE /experiments/{id}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateExperimentTemplate: "PATCH /experimentTemplates/{id}", - UpdateSafetyLeverState: "PATCH /safetyLevers/{id}/state", - UpdateTargetAccountConfiguration: - "PATCH /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}", + "CreateExperimentTemplate": "POST /experimentTemplates", + "CreateTargetAccountConfiguration": "POST /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}", + "DeleteExperimentTemplate": "DELETE /experimentTemplates/{id}", + "DeleteTargetAccountConfiguration": "DELETE /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}", + "GetAction": "GET /actions/{id}", + "GetExperiment": "GET /experiments/{id}", + "GetExperimentTargetAccountConfiguration": "GET /experiments/{experimentId}/targetAccountConfigurations/{accountId}", + "GetExperimentTemplate": "GET /experimentTemplates/{id}", + "GetSafetyLever": "GET /safetyLevers/{id}", + "GetTargetAccountConfiguration": "GET /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}", + "GetTargetResourceType": "GET /targetResourceTypes/{resourceType}", + "ListActions": "GET /actions", + "ListExperimentResolvedTargets": "GET /experiments/{experimentId}/resolvedTargets", + "ListExperiments": "GET /experiments", + "ListExperimentTargetAccountConfigurations": "GET /experiments/{experimentId}/targetAccountConfigurations", + "ListExperimentTemplates": "GET /experimentTemplates", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListTargetAccountConfigurations": "GET /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations", + "ListTargetResourceTypes": "GET /targetResourceTypes", + "StartExperiment": "POST /experiments", + "StopExperiment": "DELETE /experiments/{id}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateExperimentTemplate": "PATCH /experimentTemplates/{id}", + "UpdateSafetyLeverState": "PATCH /safetyLevers/{id}/state", + "UpdateTargetAccountConfiguration": "PATCH /experimentTemplates/{experimentTemplateId}/targetAccountConfigurations/{accountId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/fis/types.ts b/src/services/fis/types.ts index a278a9c3..a2a9b63a 100644 --- a/src/services/fis/types.ts +++ b/src/services/fis/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class fis extends AWSServiceClient { @@ -42,21 +8,13 @@ export declare class fis extends AWSServiceClient { input: CreateExperimentTemplateRequest, ): Effect.Effect< CreateExperimentTemplateResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createTargetAccountConfiguration( input: CreateTargetAccountConfigurationRequest, ): Effect.Effect< CreateTargetAccountConfigurationResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteExperimentTemplate( input: DeleteExperimentTemplateRequest, @@ -114,7 +72,10 @@ export declare class fis extends AWSServiceClient { >; listActions( input: ListActionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListActionsResponse, + ValidationException | CommonAwsError + >; listExperimentResolvedTargets( input: ListExperimentResolvedTargetsRequest, ): Effect.Effect< @@ -141,7 +102,10 @@ export declare class fis extends AWSServiceClient { >; listTagsForResource( input: ListTagsForResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTagsForResourceResponse, + CommonAwsError + >; listTargetAccountConfigurations( input: ListTargetAccountConfigurationsRequest, ): Effect.Effect< @@ -158,11 +122,7 @@ export declare class fis extends AWSServiceClient { input: StartExperimentRequest, ): Effect.Effect< StartExperimentResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; stopExperiment( input: StopExperimentRequest, @@ -172,27 +132,27 @@ export declare class fis extends AWSServiceClient { >; tagResource( input: TagResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + TagResourceResponse, + CommonAwsError + >; untagResource( input: UntagResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + UntagResourceResponse, + CommonAwsError + >; updateExperimentTemplate( input: UpdateExperimentTemplateRequest, ): Effect.Effect< UpdateExperimentTemplateResponse, - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateSafetyLeverState( input: UpdateSafetyLeverStateRequest, ): Effect.Effect< UpdateSafetyLeverStateResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateTargetAccountConfiguration( input: UpdateTargetAccountConfigurationRequest, @@ -259,10 +219,7 @@ export interface CreateExperimentTemplateActionInput { targets?: Record; startAfter?: Array; } -export type CreateExperimentTemplateActionInputMap = Record< - string, - CreateExperimentTemplateActionInput ->; +export type CreateExperimentTemplateActionInputMap = Record; export interface CreateExperimentTemplateExperimentOptionsInput { accountTargeting?: AccountTargeting; emptyTargetResolutionMode?: EmptyTargetResolutionMode; @@ -297,8 +254,7 @@ export interface CreateExperimentTemplateStopConditionInput { source: string; value?: string; } -export type CreateExperimentTemplateStopConditionInputList = - Array; +export type CreateExperimentTemplateStopConditionInputList = Array; export interface CreateExperimentTemplateTargetInput { resourceType: string; resourceArns?: Array; @@ -307,10 +263,7 @@ export interface CreateExperimentTemplateTargetInput { selectionMode: string; parameters?: Record; } -export type CreateExperimentTemplateTargetInputMap = Record< - string, - CreateExperimentTemplateTargetInput ->; +export type CreateExperimentTemplateTargetInputMap = Record; export interface CreateTargetAccountConfigurationRequest { clientToken?: string; experimentTemplateId: string; @@ -389,16 +342,7 @@ export interface ExperimentActionState { status?: ExperimentActionStatus; reason?: string; } -export type ExperimentActionStatus = - | "pending" - | "initiating" - | "running" - | "completed" - | "cancelled" - | "stopping" - | "stopped" - | "failed" - | "skipped"; +export type ExperimentActionStatus = "pending" | "initiating" | "running" | "completed" | "cancelled" | "stopping" | "stopped" | "failed" | "skipped"; export type ExperimentActionStatusReason = string; export type ExperimentActionTargetMap = Record; @@ -445,8 +389,7 @@ export interface ExperimentReportConfiguration { export interface ExperimentReportConfigurationCloudWatchDashboard { dashboardIdentifier?: string; } -export type ExperimentReportConfigurationCloudWatchDashboardList = - Array; +export type ExperimentReportConfigurationCloudWatchDashboardList = Array; export interface ExperimentReportConfigurationDataSources { cloudWatchDashboards?: Array; } @@ -478,12 +421,7 @@ export interface ExperimentReportState { reason?: string; error?: ExperimentReportError; } -export type ExperimentReportStatus = - | "pending" - | "running" - | "completed" - | "cancelled" - | "failed"; +export type ExperimentReportStatus = "pending" | "running" | "completed" | "cancelled" | "failed"; export interface ExperimentS3LogConfiguration { bucketName?: string; prefix?: string; @@ -495,15 +433,7 @@ export interface ExperimentState { reason?: string; error?: ExperimentError; } -export type ExperimentStatus = - | "pending" - | "initiating" - | "running" - | "completed" - | "stopping" - | "stopped" - | "failed" - | "cancelled"; +export type ExperimentStatus = "pending" | "initiating" | "running" | "completed" | "stopping" | "stopped" | "failed" | "cancelled"; export type ExperimentStatusReason = string; export interface ExperimentStopCondition { @@ -534,8 +464,7 @@ export interface ExperimentTargetAccountConfiguration { accountId?: string; description?: string; } -export type ExperimentTargetAccountConfigurationList = - Array; +export type ExperimentTargetAccountConfigurationList = Array; export interface ExperimentTargetAccountConfigurationSummary { roleArn?: string; accountId?: string; @@ -586,10 +515,7 @@ export interface ExperimentTemplateAction { } export type ExperimentTemplateActionDescription = string; -export type ExperimentTemplateActionMap = Record< - string, - ExperimentTemplateAction ->; +export type ExperimentTemplateActionMap = Record; export type ExperimentTemplateActionName = string; export type ExperimentTemplateActionParameter = string; @@ -631,8 +557,7 @@ export interface ExperimentTemplateReportConfiguration { export interface ExperimentTemplateReportConfigurationCloudWatchDashboard { dashboardIdentifier?: string; } -export type ExperimentTemplateReportConfigurationCloudWatchDashboardList = - Array; +export type ExperimentTemplateReportConfigurationCloudWatchDashboardList = Array; export interface ExperimentTemplateReportConfigurationDataSources { cloudWatchDashboards?: Array; } @@ -657,8 +582,7 @@ export interface ExperimentTemplateStopCondition { source?: string; value?: string; } -export type ExperimentTemplateStopConditionList = - Array; +export type ExperimentTemplateStopConditionList = Array; export interface ExperimentTemplateSummary { id?: string; arn?: string; @@ -680,10 +604,8 @@ export interface ExperimentTemplateTargetFilter { path?: string; values?: Array; } -export type ExperimentTemplateTargetFilterInputList = - Array; -export type ExperimentTemplateTargetFilterList = - Array; +export type ExperimentTemplateTargetFilterInputList = Array; +export type ExperimentTemplateTargetFilterList = Array; export type ExperimentTemplateTargetFilterPath = string; export type ExperimentTemplateTargetFilterValue = string; @@ -693,10 +615,7 @@ export interface ExperimentTemplateTargetInputFilter { path: string; values: Array; } -export type ExperimentTemplateTargetMap = Record< - string, - ExperimentTemplateTarget ->; +export type ExperimentTemplateTargetMap = Record; export type ExperimentTemplateTargetName = string; export type ExperimentTemplateTargetParameterMap = Record; @@ -839,8 +758,7 @@ export type ReportConfigurationCloudWatchDashboardIdentifier = string; export interface ReportConfigurationCloudWatchDashboardInput { dashboardIdentifier?: string; } -export type ReportConfigurationCloudWatchDashboardInputList = - Array; +export type ReportConfigurationCloudWatchDashboardInputList = Array; export type ReportConfigurationDuration = string; export interface ReportConfigurationS3Output { @@ -923,7 +841,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TargetAccountConfiguration { @@ -933,8 +852,7 @@ export interface TargetAccountConfiguration { } export type TargetAccountConfigurationDescription = string; -export type TargetAccountConfigurationList = - Array; +export type TargetAccountConfigurationList = Array; export type TargetAccountConfigurationsCount = number; export interface TargetAccountConfigurationSummary { @@ -966,10 +884,7 @@ export interface TargetResourceTypeParameter { } export type TargetResourceTypeParameterDescription = string; -export type TargetResourceTypeParameterMap = Record< - string, - TargetResourceTypeParameter ->; +export type TargetResourceTypeParameterMap = Record; export type TargetResourceTypeParameterName = string; export type TargetResourceTypeParameterRequired = boolean; @@ -983,7 +898,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys?: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateExperimentTemplateActionInputItem { actionId?: string; description?: string; @@ -991,10 +907,7 @@ export interface UpdateExperimentTemplateActionInputItem { targets?: Record; startAfter?: Array; } -export type UpdateExperimentTemplateActionInputMap = Record< - string, - UpdateExperimentTemplateActionInputItem ->; +export type UpdateExperimentTemplateActionInputMap = Record; export interface UpdateExperimentTemplateExperimentOptionsInput { emptyTargetResolutionMode?: EmptyTargetResolutionMode; } @@ -1027,8 +940,7 @@ export interface UpdateExperimentTemplateStopConditionInput { source: string; value?: string; } -export type UpdateExperimentTemplateStopConditionInputList = - Array; +export type UpdateExperimentTemplateStopConditionInputList = Array; export interface UpdateExperimentTemplateTargetInput { resourceType: string; resourceArns?: Array; @@ -1037,10 +949,7 @@ export interface UpdateExperimentTemplateTargetInput { selectionMode: string; parameters?: Record; } -export type UpdateExperimentTemplateTargetInputMap = Record< - string, - UpdateExperimentTemplateTargetInput ->; +export type UpdateExperimentTemplateTargetInputMap = Record; export interface UpdateSafetyLeverStateInput { status: SafetyLeverStatusInput; reason: string; @@ -1145,7 +1054,9 @@ export declare namespace GetExperimentTemplate { export declare namespace GetSafetyLever { export type Input = GetSafetyLeverRequest; export type Output = GetSafetyLeverResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetTargetAccountConfiguration { @@ -1169,7 +1080,9 @@ export declare namespace GetTargetResourceType { export declare namespace ListActions { export type Input = ListActionsRequest; export type Output = ListActionsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListExperimentResolvedTargets { @@ -1184,7 +1097,9 @@ export declare namespace ListExperimentResolvedTargets { export declare namespace ListExperiments { export type Input = ListExperimentsRequest; export type Output = ListExperimentsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListExperimentTargetAccountConfigurations { @@ -1199,13 +1114,16 @@ export declare namespace ListExperimentTargetAccountConfigurations { export declare namespace ListExperimentTemplates { export type Input = ListExperimentTemplatesRequest; export type Output = ListExperimentTemplatesResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTargetAccountConfigurations { @@ -1220,7 +1138,9 @@ export declare namespace ListTargetAccountConfigurations { export declare namespace ListTargetResourceTypes { export type Input = ListTargetResourceTypesRequest; export type Output = ListTargetResourceTypesResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace StartExperiment { @@ -1246,13 +1166,15 @@ export declare namespace StopExperiment { export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = TagResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateExperimentTemplate { @@ -1284,9 +1206,5 @@ export declare namespace UpdateTargetAccountConfiguration { | CommonAwsError; } -export type fisErrors = - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type fisErrors = ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/fms/index.ts b/src/services/fms/index.ts index 7ee7ffd8..c9060148 100644 --- a/src/services/fms/index.ts +++ b/src/services/fms/index.ts @@ -5,26 +5,7 @@ import type { FMS as _FMSClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/fms/types.ts b/src/services/fms/types.ts index 8b72aa86..fbb55405 100644 --- a/src/services/fms/types.ts +++ b/src/services/fms/types.ts @@ -7,244 +7,151 @@ export declare class FMS extends AWSServiceClient { input: AssociateAdminAccountRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; associateThirdPartyFirewall( input: AssociateThirdPartyFirewallRequest, ): Effect.Effect< AssociateThirdPartyFirewallResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; batchAssociateResource( input: BatchAssociateResourceRequest, ): Effect.Effect< BatchAssociateResourceResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; batchDisassociateResource( input: BatchDisassociateResourceRequest, ): Effect.Effect< BatchDisassociateResourceResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; deleteAppsList( input: DeleteAppsListRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; deleteNotificationChannel( input: DeleteNotificationChannelRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; deletePolicy( input: DeletePolicyRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; deleteProtocolsList( input: DeleteProtocolsListRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; deleteResourceSet( input: DeleteResourceSetRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; disassociateAdminAccount( input: DisassociateAdminAccountRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; disassociateThirdPartyFirewall( input: DisassociateThirdPartyFirewallRequest, ): Effect.Effect< DisassociateThirdPartyFirewallResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; getAdminAccount( input: GetAdminAccountRequest, ): Effect.Effect< GetAdminAccountResponse, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; getAdminScope( input: GetAdminScopeRequest, ): Effect.Effect< GetAdminScopeResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getAppsList( input: GetAppsListRequest, ): Effect.Effect< GetAppsListResponse, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; getComplianceDetail( input: GetComplianceDetailRequest, ): Effect.Effect< GetComplianceDetailResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; getNotificationChannel( input: GetNotificationChannelRequest, ): Effect.Effect< GetNotificationChannelResponse, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; getPolicy( input: GetPolicyRequest, ): Effect.Effect< GetPolicyResponse, - | InternalErrorException - | InvalidOperationException - | InvalidTypeException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | InvalidTypeException | ResourceNotFoundException | CommonAwsError >; getProtectionStatus( input: GetProtectionStatusRequest, ): Effect.Effect< GetProtectionStatusResponse, - | InternalErrorException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; getProtocolsList( input: GetProtocolsListRequest, ): Effect.Effect< GetProtocolsListResponse, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; getResourceSet( input: GetResourceSetRequest, ): Effect.Effect< GetResourceSetResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; getThirdPartyFirewallAssociationStatus( input: GetThirdPartyFirewallAssociationStatusRequest, ): Effect.Effect< GetThirdPartyFirewallAssociationStatusResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; getViolationDetails( input: GetViolationDetailsRequest, ): Effect.Effect< GetViolationDetailsResponse, - | InternalErrorException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; listAdminAccountsForOrganization( input: ListAdminAccountsForOrganizationRequest, ): Effect.Effect< ListAdminAccountsForOrganizationResponse, - | InternalErrorException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; listAdminsManagingAccount( input: ListAdminsManagingAccountRequest, ): Effect.Effect< ListAdminsManagingAccountResponse, - | InternalErrorException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; listAppsLists( input: ListAppsListsRequest, ): Effect.Effect< ListAppsListsResponse, - | InternalErrorException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; listComplianceStatus( input: ListComplianceStatusRequest, @@ -256,10 +163,7 @@ export declare class FMS extends AWSServiceClient { input: ListDiscoveredResourcesRequest, ): Effect.Effect< ListDiscoveredResourcesResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | CommonAwsError >; listMemberAccounts( input: ListMemberAccountsRequest, @@ -271,155 +175,92 @@ export declare class FMS extends AWSServiceClient { input: ListPoliciesRequest, ): Effect.Effect< ListPoliciesResponse, - | InternalErrorException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; listProtocolsLists( input: ListProtocolsListsRequest, ): Effect.Effect< ListProtocolsListsResponse, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; listResourceSetResources( input: ListResourceSetResourcesRequest, ): Effect.Effect< ListResourceSetResourcesResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; listResourceSets( input: ListResourceSetsRequest, ): Effect.Effect< ListResourceSetsResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; listThirdPartyFirewallFirewallPolicies( input: ListThirdPartyFirewallFirewallPoliciesRequest, ): Effect.Effect< ListThirdPartyFirewallFirewallPoliciesResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; putAdminAccount( input: PutAdminAccountRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | LimitExceededException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | LimitExceededException | CommonAwsError >; putAppsList( input: PutAppsListRequest, ): Effect.Effect< PutAppsListResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; putNotificationChannel( input: PutNotificationChannelRequest, ): Effect.Effect< {}, - | InternalErrorException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; putPolicy( input: PutPolicyRequest, ): Effect.Effect< PutPolicyResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; putProtocolsList( input: PutProtocolsListRequest, ): Effect.Effect< PutProtocolsListResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; putResourceSet( input: PutResourceSetRequest, ): Effect.Effect< PutResourceSetResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | LimitExceededException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | LimitExceededException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidInputException | InvalidOperationException | ResourceNotFoundException | CommonAwsError >; } export declare class Fms extends FMS {} export type AccountIdList = Array; -export type AccountRoleStatus = - | "READY" - | "CREATING" - | "PENDING_DELETION" - | "DELETING" - | "DELETED"; +export type AccountRoleStatus = "READY" | "CREATING" | "PENDING_DELETION" | "DELETING" | "DELETED"; export interface AccountScope { Accounts?: Array; AllAccountsEnabled?: boolean; @@ -483,8 +324,7 @@ export interface AwsEc2NetworkInterfaceViolation { ViolationTarget?: string; ViolatingSecurityGroups?: Array; } -export type AwsEc2NetworkInterfaceViolations = - Array; +export type AwsEc2NetworkInterfaceViolations = Array; export type AWSRegion = string; export type AWSRegionList = Array; @@ -543,10 +383,7 @@ export type CustomerPolicyScopeId = string; export type CustomerPolicyScopeIdList = Array; export type CustomerPolicyScopeIdType = "ACCOUNT" | "ORG_UNIT"; -export type CustomerPolicyScopeMap = Record< - CustomerPolicyScopeIdType, - Array ->; +export type CustomerPolicyScopeMap = Record>; export type CustomerPolicyStatus = "ACTIVE" | "OUT_OF_ADMIN_SCOPE"; export interface DeleteAppsListRequest { ListId: string; @@ -557,7 +394,8 @@ export interface DeleteNetworkAclEntriesAction { NetworkAclEntriesToBeDeleted?: Array; FMSCanRemediate?: boolean; } -export interface DeleteNotificationChannelRequest {} +export interface DeleteNotificationChannelRequest { +} export interface DeletePolicyRequest { PolicyId: string; DeleteAllPolicyResources?: boolean; @@ -568,17 +406,14 @@ export interface DeleteProtocolsListRequest { export interface DeleteResourceSetRequest { Identifier: string; } -export type DependentServiceName = - | "AWSCONFIG" - | "AWSWAF" - | "AWSSHIELD_ADVANCED" - | "AWSVPC"; +export type DependentServiceName = "AWSCONFIG" | "AWSWAF" | "AWSSHIELD_ADVANCED" | "AWSVPC"; export type Description = string; export type DestinationType = "IPV4" | "IPV6" | "PREFIX_LIST"; export type DetailedInfo = string; -export interface DisassociateAdminAccountRequest {} +export interface DisassociateAdminAccountRequest { +} export interface DisassociateThirdPartyFirewallRequest { ThirdPartyFirewall: ThirdPartyFirewall; } @@ -662,10 +497,7 @@ export interface EntryDescription { EntryRuleNumber?: number; EntryType?: EntryType; } -export type EntryType = - | "FMS_MANAGED_FIRST_ENTRY" - | "FMS_MANAGED_LAST_ENTRY" - | "CUSTOM_ENTRY"; +export type EntryType = "FMS_MANAGED_FIRST_ENTRY" | "FMS_MANAGED_LAST_ENTRY" | "CUSTOM_ENTRY"; export interface EntryViolation { ExpectedEntry?: EntryDescription; ExpectedEvaluationOrder?: string; @@ -674,10 +506,7 @@ export interface EntryViolation { EntriesWithConflicts?: Array; EntryViolationReasons?: Array; } -export type EntryViolationReason = - | "MISSING_EXPECTED_ENTRY" - | "INCORRECT_ENTRY_ORDER" - | "ENTRY_CONFLICT"; +export type EntryViolationReason = "MISSING_EXPECTED_ENTRY" | "INCORRECT_ENTRY_ORDER" | "ENTRY_CONFLICT"; export type EntryViolationReasons = Array; export type EntryViolations = Array; export type ErrorMessage = string; @@ -702,13 +531,7 @@ export interface FailedItem { Reason?: FailedItemReason; } export type FailedItemList = Array; -export type FailedItemReason = - | "NOT_VALID_ARN" - | "NOT_VALID_PARTITION" - | "NOT_VALID_REGION" - | "NOT_VALID_SERVICE" - | "NOT_VALID_RESOURCE_TYPE" - | "NOT_VALID_ACCOUNT_ID"; +export type FailedItemReason = "NOT_VALID_ARN" | "NOT_VALID_PARTITION" | "NOT_VALID_REGION" | "NOT_VALID_SERVICE" | "NOT_VALID_RESOURCE_TYPE" | "NOT_VALID_ACCOUNT_ID"; export type FirewallDeploymentModel = "CENTRALIZED" | "DISTRIBUTED"; export type FirewallPolicyId = string; @@ -731,7 +554,8 @@ export interface FMSPolicyUpdateFirewallCreationConfigAction { Description?: string; FirewallCreationConfig?: string; } -export interface GetAdminAccountRequest {} +export interface GetAdminAccountRequest { +} export interface GetAdminAccountResponse { AdminAccount?: string; RoleStatus?: AccountRoleStatus; @@ -758,7 +582,8 @@ export interface GetComplianceDetailRequest { export interface GetComplianceDetailResponse { PolicyComplianceDetail?: PolicyComplianceDetail; } -export interface GetNotificationChannelRequest {} +export interface GetNotificationChannelRequest { +} export interface GetNotificationChannelResponse { SnsTopicArn?: string; SnsRoleName?: string; @@ -969,10 +794,7 @@ export interface ListThirdPartyFirewallFirewallPoliciesResponse { } export type ManagedServiceData = string; -export type MarketplaceSubscriptionOnboardingStatus = - | "NO_SUBSCRIPTION" - | "NOT_COMPLETE" - | "COMPLETE"; +export type MarketplaceSubscriptionOnboardingStatus = "NO_SUBSCRIPTION" | "NOT_COMPLETE" | "COMPLETE"; export type MemberAccounts = Array; export type Name = string; @@ -1117,11 +939,7 @@ export interface OrganizationalUnitScope { AllOrganizationalUnitsEnabled?: boolean; ExcludeSpecifiedOrganizationalUnits?: boolean; } -export type OrganizationStatus = - | "ONBOARDING" - | "ONBOARDING_COMPLETE" - | "OFFBOARDING" - | "OFFBOARDING_COMPLETE"; +export type OrganizationStatus = "ONBOARDING" | "ONBOARDING_COMPLETE" | "OFFBOARDING" | "OFFBOARDING_COMPLETE"; export type PaginationMaxResults = number; export type PaginationToken = string; @@ -1415,8 +1233,7 @@ export interface SecurityGroupRemediationAction { RemediationResult?: SecurityGroupRuleDescription; IsDefaultAction?: boolean; } -export type SecurityGroupRemediationActions = - Array; +export type SecurityGroupRemediationActions = Array; export interface SecurityGroupRuleDescription { IPV4Range?: string; IPV6Range?: string; @@ -1430,18 +1247,7 @@ export interface SecurityServicePolicyData { ManagedServiceData?: string; PolicyOption?: PolicyOption; } -export type SecurityServiceType = - | "WAF" - | "WAFV2" - | "SHIELD_ADVANCED" - | "SECURITY_GROUPS_COMMON" - | "SECURITY_GROUPS_CONTENT_AUDIT" - | "SECURITY_GROUPS_USAGE_AUDIT" - | "NETWORK_FIREWALL" - | "DNS_FIREWALL" - | "THIRD_PARTY_FIREWALL" - | "IMPORT_NETWORK_FIREWALL" - | "NETWORK_ACL_COMMON"; +export type SecurityServiceType = "WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "DNS_FIREWALL" | "THIRD_PARTY_FIREWALL" | "IMPORT_NETWORK_FIREWALL" | "NETWORK_ACL_COMMON"; export type SecurityServiceTypeList = Array; export interface StatefulEngineOptions { RuleOrder?: RuleOrder; @@ -1462,11 +1268,7 @@ export interface StatelessRuleGroup { export type StatelessRuleGroupList = Array; export type StatelessRuleGroupPriority = number; -export type StreamExceptionPolicy = - | "DROP" - | "CONTINUE" - | "REJECT" - | "FMS_IGNORE"; +export type StreamExceptionPolicy = "DROP" | "CONTINUE" | "REJECT" | "FMS_IGNORE"; export interface Tag { Key: string; Value: string; @@ -1479,34 +1281,17 @@ export interface TagResourceRequest { ResourceArn: string; TagList: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; -export type TargetType = - | "GATEWAY" - | "CARRIER_GATEWAY" - | "INSTANCE" - | "LOCAL_GATEWAY" - | "NAT_GATEWAY" - | "NETWORK_INTERFACE" - | "VPC_ENDPOINT" - | "VPC_PEERING_CONNECTION" - | "EGRESS_ONLY_INTERNET_GATEWAY" - | "TRANSIT_GATEWAY"; +export type TargetType = "GATEWAY" | "CARRIER_GATEWAY" | "INSTANCE" | "LOCAL_GATEWAY" | "NAT_GATEWAY" | "NETWORK_INTERFACE" | "VPC_ENDPOINT" | "VPC_PEERING_CONNECTION" | "EGRESS_ONLY_INTERNET_GATEWAY" | "TRANSIT_GATEWAY"; export type TargetViolationReason = string; export type TargetViolationReasons = Array; -export type ThirdPartyFirewall = - | "PALO_ALTO_NETWORKS_CLOUD_NGFW" - | "FORTIGATE_CLOUD_NATIVE_FIREWALL"; -export type ThirdPartyFirewallAssociationStatus = - | "ONBOARDING" - | "ONBOARD_COMPLETE" - | "OFFBOARDING" - | "OFFBOARD_COMPLETE" - | "NOT_EXIST"; -export type ThirdPartyFirewallFirewallPolicies = - Array; +export type ThirdPartyFirewall = "PALO_ALTO_NETWORKS_CLOUD_NGFW" | "FORTIGATE_CLOUD_NATIVE_FIREWALL"; +export type ThirdPartyFirewallAssociationStatus = "ONBOARDING" | "ONBOARD_COMPLETE" | "OFFBOARDING" | "OFFBOARD_COMPLETE" | "NOT_EXIST"; +export type ThirdPartyFirewallFirewallPolicies = Array; export interface ThirdPartyFirewallFirewallPolicy { FirewallPolicyId?: string; FirewallPolicyName?: string; @@ -1539,7 +1324,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UpdateToken = string; export interface ViolationDetail { @@ -1551,37 +1337,7 @@ export interface ViolationDetail { ResourceTags?: Array; ResourceDescription?: string; } -export type ViolationReason = - | "WEB_ACL_MISSING_RULE_GROUP" - | "RESOURCE_MISSING_WEB_ACL" - | "RESOURCE_INCORRECT_WEB_ACL" - | "RESOURCE_MISSING_SHIELD_PROTECTION" - | "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION" - | "RESOURCE_MISSING_SECURITY_GROUP" - | "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP" - | "SECURITY_GROUP_UNUSED" - | "SECURITY_GROUP_REDUNDANT" - | "FMS_CREATED_SECURITY_GROUP_EDITED" - | "MISSING_FIREWALL" - | "MISSING_FIREWALL_SUBNET_IN_AZ" - | "MISSING_EXPECTED_ROUTE_TABLE" - | "NETWORK_FIREWALL_POLICY_MODIFIED" - | "FIREWALL_SUBNET_IS_OUT_OF_SCOPE" - | "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE" - | "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE" - | "UNEXPECTED_FIREWALL_ROUTES" - | "UNEXPECTED_TARGET_GATEWAY_ROUTES" - | "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY" - | "INVALID_ROUTE_CONFIGURATION" - | "MISSING_TARGET_GATEWAY" - | "INTERNET_TRAFFIC_NOT_INSPECTED" - | "BLACK_HOLE_ROUTE_DETECTED" - | "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET" - | "RESOURCE_MISSING_DNS_FIREWALL" - | "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT" - | "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT" - | "INVALID_NETWORK_ACL_ENTRY" - | "WEB_ACL_CONFIGURATION_OR_SCOPE_OF_USE"; +export type ViolationReason = "WEB_ACL_MISSING_RULE_GROUP" | "RESOURCE_MISSING_WEB_ACL" | "RESOURCE_INCORRECT_WEB_ACL" | "RESOURCE_MISSING_SHIELD_PROTECTION" | "RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION" | "RESOURCE_MISSING_SECURITY_GROUP" | "RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP" | "SECURITY_GROUP_UNUSED" | "SECURITY_GROUP_REDUNDANT" | "FMS_CREATED_SECURITY_GROUP_EDITED" | "MISSING_FIREWALL" | "MISSING_FIREWALL_SUBNET_IN_AZ" | "MISSING_EXPECTED_ROUTE_TABLE" | "NETWORK_FIREWALL_POLICY_MODIFIED" | "FIREWALL_SUBNET_IS_OUT_OF_SCOPE" | "INTERNET_GATEWAY_MISSING_EXPECTED_ROUTE" | "FIREWALL_SUBNET_MISSING_EXPECTED_ROUTE" | "UNEXPECTED_FIREWALL_ROUTES" | "UNEXPECTED_TARGET_GATEWAY_ROUTES" | "TRAFFIC_INSPECTION_CROSSES_AZ_BOUNDARY" | "INVALID_ROUTE_CONFIGURATION" | "MISSING_TARGET_GATEWAY" | "INTERNET_TRAFFIC_NOT_INSPECTED" | "BLACK_HOLE_ROUTE_DETECTED" | "BLACK_HOLE_ROUTE_DETECTED_IN_FIREWALL_SUBNET" | "RESOURCE_MISSING_DNS_FIREWALL" | "ROUTE_HAS_OUT_OF_SCOPE_ENDPOINT" | "FIREWALL_SUBNET_MISSING_VPCE_ENDPOINT" | "INVALID_NETWORK_ACL_ENTRY" | "WEB_ACL_CONFIGURATION_OR_SCOPE_OF_USE"; export type ViolationTarget = string; export interface WebACLHasIncompatibleConfigurationViolation { @@ -2044,11 +1800,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type FMSErrors = - | InternalErrorException - | InvalidInputException - | InvalidOperationException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError; +export type FMSErrors = InternalErrorException | InvalidInputException | InvalidOperationException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/forecast/index.ts b/src/services/forecast/index.ts index 22f10b29..dff0d82f 100644 --- a/src/services/forecast/index.ts +++ b/src/services/forecast/index.ts @@ -5,26 +5,7 @@ import type { forecast as _forecastClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/forecast/types.ts b/src/services/forecast/types.ts index 7b6c04f1..13ce7597 100644 --- a/src/services/forecast/types.ts +++ b/src/services/forecast/types.ts @@ -7,279 +7,169 @@ export declare class forecast extends AWSServiceClient { input: CreateAutoPredictorRequest, ): Effect.Effect< CreateAutoPredictorResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createDataset( input: CreateDatasetRequest, ): Effect.Effect< CreateDatasetResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | CommonAwsError >; createDatasetGroup( input: CreateDatasetGroupRequest, ): Effect.Effect< CreateDatasetGroupResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createDatasetImportJob( input: CreateDatasetImportJobRequest, ): Effect.Effect< CreateDatasetImportJobResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createExplainability( input: CreateExplainabilityRequest, ): Effect.Effect< CreateExplainabilityResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createExplainabilityExport( input: CreateExplainabilityExportRequest, ): Effect.Effect< CreateExplainabilityExportResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createForecast( input: CreateForecastRequest, ): Effect.Effect< CreateForecastResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createForecastExportJob( input: CreateForecastExportJobRequest, ): Effect.Effect< CreateForecastExportJobResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createMonitor( input: CreateMonitorRequest, ): Effect.Effect< CreateMonitorResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createPredictor( input: CreatePredictorRequest, ): Effect.Effect< CreatePredictorResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createPredictorBacktestExportJob( input: CreatePredictorBacktestExportJobRequest, ): Effect.Effect< CreatePredictorBacktestExportJobResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createWhatIfAnalysis( input: CreateWhatIfAnalysisRequest, ): Effect.Effect< CreateWhatIfAnalysisResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createWhatIfForecast( input: CreateWhatIfForecastRequest, ): Effect.Effect< CreateWhatIfForecastResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createWhatIfForecastExport( input: CreateWhatIfForecastExportRequest, ): Effect.Effect< CreateWhatIfForecastExportResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteDataset( input: DeleteDatasetRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteDatasetGroup( input: DeleteDatasetGroupRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteDatasetImportJob( input: DeleteDatasetImportJobRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteExplainability( input: DeleteExplainabilityRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteExplainabilityExport( input: DeleteExplainabilityExportRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteForecast( input: DeleteForecastRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteForecastExportJob( input: DeleteForecastExportJobRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteMonitor( input: DeleteMonitorRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deletePredictor( input: DeletePredictorRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deletePredictorBacktestExportJob( input: DeletePredictorBacktestExportJobRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteResourceTree( input: DeleteResourceTreeRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteWhatIfAnalysis( input: DeleteWhatIfAnalysisRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteWhatIfForecast( input: DeleteWhatIfForecastRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteWhatIfForecastExport( input: DeleteWhatIfForecastExportRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; describeAutoPredictor( input: DescribeAutoPredictorRequest, @@ -369,10 +259,7 @@ export declare class forecast extends AWSServiceClient { input: GetAccuracyMetricsRequest, ): Effect.Effect< GetAccuracyMetricsResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; listDatasetGroups( input: ListDatasetGroupsRequest, @@ -420,10 +307,7 @@ export declare class forecast extends AWSServiceClient { input: ListMonitorEvaluationsRequest, ): Effect.Effect< ListMonitorEvaluationsResponse, - | InvalidInputException - | InvalidNextTokenException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | InvalidNextTokenException | ResourceNotFoundException | CommonAwsError >; listMonitors( input: ListMonitorsRequest, @@ -471,29 +355,19 @@ export declare class forecast extends AWSServiceClient { input: ResumeResourceRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; stopResource( input: StopResourceRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -505,10 +379,7 @@ export declare class forecast extends AWSServiceClient { input: UpdateDatasetGroupRequest, ): Effect.Effect< UpdateDatasetGroupResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; } @@ -532,12 +403,7 @@ export interface AttributeConfig { Transformations: Record; } export type AttributeConfigs = Array; -export type AttributeType = - | "string" - | "integer" - | "float" - | "timestamp" - | "geolocation"; +export type AttributeType = "string" | "integer" | "float" | "timestamp" | "geolocation"; export type AttributeValue = string; export type AutoMLOverrideStrategy = "LatencyOptimized" | "AccuracyOptimized"; @@ -765,23 +631,13 @@ export interface DatasetSummary { CreationTime?: Date | string; LastModificationTime?: Date | string; } -export type DatasetType = - | "TARGET_TIME_SERIES" - | "RELATED_TIME_SERIES" - | "ITEM_METADATA"; +export type DatasetType = "TARGET_TIME_SERIES" | "RELATED_TIME_SERIES" | "ITEM_METADATA"; export interface DataSource { S3Config: S3Config; } export type DayOfMonth = number; -export type DayOfWeek = - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY" - | "SUNDAY"; +export type DayOfWeek = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"; export interface DeleteDatasetGroupRequest { DatasetGroupArn: string; } @@ -1066,14 +922,7 @@ export interface DescribeWhatIfForecastResponse { } export type Detail = string; -export type Domain = - | "RETAIL" - | "CUSTOM" - | "INVENTORY_PLANNING" - | "EC2_CAPACITY" - | "WORK_FORCE" - | "WEB_TRAFFIC" - | "METRICS"; +export type Domain = "RETAIL" | "CUSTOM" | "INVENTORY_PLANNING" | "EC2_CAPACITY" | "WORK_FORCE" | "WEB_TRAFFIC" | "METRICS"; export type Double = number; export interface EncryptionConfig { @@ -1408,30 +1257,13 @@ export interface MonitorSummary { CreationTime?: Date | string; LastModificationTime?: Date | string; } -export type Month = - | "JANUARY" - | "FEBRUARY" - | "MARCH" - | "APRIL" - | "MAY" - | "JUNE" - | "JULY" - | "AUGUST" - | "SEPTEMBER" - | "OCTOBER" - | "NOVEMBER" - | "DECEMBER"; +export type Month = "JANUARY" | "FEBRUARY" | "MARCH" | "APRIL" | "MAY" | "JUNE" | "JULY" | "AUGUST" | "SEPTEMBER" | "OCTOBER" | "NOVEMBER" | "DECEMBER"; export type Name = string; export type NextToken = string; export type Operation = "ADD" | "SUBTRACT" | "MULTIPLY" | "DIVIDE"; -export type OptimizationMetric = - | "WAPE" - | "RMSE" - | "AverageWeightedQuantileLoss" - | "MASE" - | "MAPE"; +export type OptimizationMetric = "WAPE" | "RMSE" | "AverageWeightedQuantileLoss" | "MASE" | "MAPE"; export type ParameterKey = string; export interface ParameterRanges { @@ -1441,8 +1273,7 @@ export interface ParameterRanges { } export type ParameterValue = string; -export type PredictorBacktestExportJobs = - Array; +export type PredictorBacktestExportJobs = Array; export interface PredictorBacktestExportJobSummary { PredictorBacktestExportJobArn?: string; PredictorBacktestExportJobName?: string; @@ -1523,11 +1354,7 @@ export interface S3Config { } export type S3Path = string; -export type ScalingType = - | "Auto" - | "Linear" - | "Logarithmic" - | "ReverseLogarithmic"; +export type ScalingType = "Auto" | "Linear" | "Logarithmic" | "ReverseLogarithmic"; export interface Schema { Attributes?: Array; } @@ -1574,7 +1401,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -1631,12 +1459,14 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDatasetGroupRequest { DatasetGroupArn: string; DatasetArns: Array; } -export interface UpdateDatasetGroupResponse {} +export interface UpdateDatasetGroupResponse { +} export type UseGeolocationForTimeZone = boolean; export type Value = string; @@ -2131,7 +1961,9 @@ export declare namespace GetAccuracyMetrics { export declare namespace ListDatasetGroups { export type Input = ListDatasetGroupsRequest; export type Output = ListDatasetGroupsResponse; - export type Error = InvalidNextTokenException | CommonAwsError; + export type Error = + | InvalidNextTokenException + | CommonAwsError; } export declare namespace ListDatasetImportJobs { @@ -2146,7 +1978,9 @@ export declare namespace ListDatasetImportJobs { export declare namespace ListDatasets { export type Input = ListDatasetsRequest; export type Output = ListDatasetsResponse; - export type Error = InvalidNextTokenException | CommonAwsError; + export type Error = + | InvalidNextTokenException + | CommonAwsError; } export declare namespace ListExplainabilities { @@ -2308,11 +2142,5 @@ export declare namespace UpdateDatasetGroup { | CommonAwsError; } -export type forecastErrors = - | InvalidInputException - | InvalidNextTokenException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError; +export type forecastErrors = InvalidInputException | InvalidNextTokenException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/forecastquery/index.ts b/src/services/forecastquery/index.ts index 91f1b11d..176777e2 100644 --- a/src/services/forecastquery/index.ts +++ b/src/services/forecastquery/index.ts @@ -5,26 +5,7 @@ import type { forecastquery as _forecastqueryClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/forecastquery/types.ts b/src/services/forecastquery/types.ts index fc600d9c..54486f44 100644 --- a/src/services/forecastquery/types.ts +++ b/src/services/forecastquery/types.ts @@ -7,23 +7,13 @@ export declare class forecastquery extends AWSServiceClient { input: QueryForecastRequest, ): Effect.Effect< QueryForecastResponse, - | InvalidInputException - | InvalidNextTokenException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | InvalidNextTokenException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; queryWhatIfForecast( input: QueryWhatIfForecastRequest, ): Effect.Effect< QueryWhatIfForecastResponse, - | InvalidInputException - | InvalidNextTokenException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | InvalidNextTokenException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; } @@ -128,10 +118,5 @@ export declare namespace QueryWhatIfForecast { | CommonAwsError; } -export type forecastqueryErrors = - | InvalidInputException - | InvalidNextTokenException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError; +export type forecastqueryErrors = InvalidInputException | InvalidNextTokenException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/frauddetector/index.ts b/src/services/frauddetector/index.ts index 9167bfc6..9aca7888 100644 --- a/src/services/frauddetector/index.ts +++ b/src/services/frauddetector/index.ts @@ -5,23 +5,7 @@ import type { FraudDetector as _FraudDetectorClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/frauddetector/types.ts b/src/services/frauddetector/types.ts index 5ba1eb89..449bff84 100644 --- a/src/services/frauddetector/types.ts +++ b/src/services/frauddetector/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class FraudDetector extends AWSServiceClient { @@ -40,803 +8,439 @@ export declare class FraudDetector extends AWSServiceClient { input: BatchCreateVariableRequest, ): Effect.Effect< BatchCreateVariableResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; batchGetVariable( input: BatchGetVariableRequest, ): Effect.Effect< BatchGetVariableResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; cancelBatchImportJob( input: CancelBatchImportJobRequest, ): Effect.Effect< CancelBatchImportJobResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelBatchPredictionJob( input: CancelBatchPredictionJobRequest, ): Effect.Effect< CancelBatchPredictionJobResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createBatchImportJob( input: CreateBatchImportJobRequest, ): Effect.Effect< CreateBatchImportJobResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createBatchPredictionJob( input: CreateBatchPredictionJobRequest, ): Effect.Effect< CreateBatchPredictionJobResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createDetectorVersion( input: CreateDetectorVersionRequest, ): Effect.Effect< CreateDetectorVersionResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createList( input: CreateListRequest, ): Effect.Effect< CreateListResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createModel( input: CreateModelRequest, ): Effect.Effect< CreateModelResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createModelVersion( input: CreateModelVersionRequest, ): Effect.Effect< CreateModelVersionResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createRule( input: CreateRuleRequest, ): Effect.Effect< CreateRuleResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createVariable( input: CreateVariableRequest, ): Effect.Effect< CreateVariableResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteBatchImportJob( input: DeleteBatchImportJobRequest, ): Effect.Effect< DeleteBatchImportJobResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteBatchPredictionJob( input: DeleteBatchPredictionJobRequest, ): Effect.Effect< DeleteBatchPredictionJobResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteDetector( input: DeleteDetectorRequest, ): Effect.Effect< DeleteDetectorResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteDetectorVersion( input: DeleteDetectorVersionRequest, ): Effect.Effect< DeleteDetectorVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEntityType( input: DeleteEntityTypeRequest, ): Effect.Effect< DeleteEntityTypeResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteEvent( input: DeleteEventRequest, ): Effect.Effect< DeleteEventResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteEventsByEventType( input: DeleteEventsByEventTypeRequest, ): Effect.Effect< DeleteEventsByEventTypeResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEventType( input: DeleteEventTypeRequest, ): Effect.Effect< DeleteEventTypeResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteExternalModel( input: DeleteExternalModelRequest, ): Effect.Effect< DeleteExternalModelResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteLabel( input: DeleteLabelRequest, ): Effect.Effect< DeleteLabelResult, - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteList( input: DeleteListRequest, ): Effect.Effect< DeleteListResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteModel( input: DeleteModelRequest, ): Effect.Effect< DeleteModelResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteModelVersion( input: DeleteModelVersionRequest, ): Effect.Effect< DeleteModelVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteOutcome( input: DeleteOutcomeRequest, ): Effect.Effect< DeleteOutcomeResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteRule( input: DeleteRuleRequest, ): Effect.Effect< DeleteRuleResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteVariable( input: DeleteVariableRequest, ): Effect.Effect< DeleteVariableResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeDetector( input: DescribeDetectorRequest, ): Effect.Effect< DescribeDetectorResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeModelVersions( input: DescribeModelVersionsRequest, ): Effect.Effect< DescribeModelVersionsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getBatchImportJobs( input: GetBatchImportJobsRequest, ): Effect.Effect< GetBatchImportJobsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getBatchPredictionJobs( input: GetBatchPredictionJobsRequest, ): Effect.Effect< GetBatchPredictionJobsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDeleteEventsByEventTypeStatus( input: GetDeleteEventsByEventTypeStatusRequest, ): Effect.Effect< GetDeleteEventsByEventTypeStatusResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDetectors( input: GetDetectorsRequest, ): Effect.Effect< GetDetectorsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDetectorVersion( input: GetDetectorVersionRequest, ): Effect.Effect< GetDetectorVersionResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEntityTypes( input: GetEntityTypesRequest, ): Effect.Effect< GetEntityTypesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEvent( input: GetEventRequest, ): Effect.Effect< GetEventResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEventPrediction( input: GetEventPredictionRequest, ): Effect.Effect< GetEventPredictionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getEventPredictionMetadata( input: GetEventPredictionMetadataRequest, ): Effect.Effect< GetEventPredictionMetadataResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEventTypes( input: GetEventTypesRequest, ): Effect.Effect< GetEventTypesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getExternalModels( input: GetExternalModelsRequest, ): Effect.Effect< GetExternalModelsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; - getKMSEncryptionKey(input: {}): Effect.Effect< + getKMSEncryptionKey( + input: {}, + ): Effect.Effect< GetKMSEncryptionKeyResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getLabels( input: GetLabelsRequest, ): Effect.Effect< GetLabelsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getListElements( input: GetListElementsRequest, ): Effect.Effect< GetListElementsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getListsMetadata( input: GetListsMetadataRequest, ): Effect.Effect< GetListsMetadataResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getModels( input: GetModelsRequest, ): Effect.Effect< GetModelsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getModelVersion( input: GetModelVersionRequest, ): Effect.Effect< GetModelVersionResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOutcomes( input: GetOutcomesRequest, ): Effect.Effect< GetOutcomesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRules( input: GetRulesRequest, ): Effect.Effect< GetRulesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getVariables( input: GetVariablesRequest, ): Effect.Effect< GetVariablesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEventPredictions( input: ListEventPredictionsRequest, ): Effect.Effect< ListEventPredictionsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResult, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putDetector( input: PutDetectorRequest, ): Effect.Effect< PutDetectorResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putEntityType( input: PutEntityTypeRequest, ): Effect.Effect< PutEntityTypeResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putEventType( input: PutEventTypeRequest, ): Effect.Effect< PutEventTypeResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putExternalModel( input: PutExternalModelRequest, ): Effect.Effect< PutExternalModelResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putKMSEncryptionKey( input: PutKMSEncryptionKeyRequest, ): Effect.Effect< PutKMSEncryptionKeyResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putLabel( input: PutLabelRequest, ): Effect.Effect< PutLabelResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putOutcome( input: PutOutcomeRequest, ): Effect.Effect< PutOutcomeResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; sendEvent( input: SendEventRequest, ): Effect.Effect< SendEventResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResult, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResult, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDetectorVersion( input: UpdateDetectorVersionRequest, ): Effect.Effect< UpdateDetectorVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDetectorVersionMetadata( input: UpdateDetectorVersionMetadataRequest, ): Effect.Effect< UpdateDetectorVersionMetadataResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateDetectorVersionStatus( input: UpdateDetectorVersionStatusRequest, ): Effect.Effect< UpdateDetectorVersionStatusResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEventLabel( input: UpdateEventLabelRequest, ): Effect.Effect< UpdateEventLabelResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateList( input: UpdateListRequest, ): Effect.Effect< UpdateListResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateModel( input: UpdateModelRequest, ): Effect.Effect< UpdateModelResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateModelVersion( input: UpdateModelVersionRequest, ): Effect.Effect< UpdateModelVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateModelVersionStatus( input: UpdateModelVersionStatusRequest, ): Effect.Effect< UpdateModelVersionStatusResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRuleMetadata( input: UpdateRuleMetadataRequest, ): Effect.Effect< UpdateRuleMetadataResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRuleVersion( input: UpdateRuleVersionRequest, ): Effect.Effect< UpdateRuleVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateVariable( input: UpdateVariableRequest, ): Effect.Effect< UpdateVariableResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -868,13 +472,7 @@ export interface AllowDenyList { arn?: string; } export type AllowDenyLists = Array; -export type AsyncJobStatus = - | "IN_PROGRESS_INITIALIZING" - | "IN_PROGRESS" - | "CANCEL_IN_PROGRESS" - | "CANCELED" - | "COMPLETE" - | "FAILED"; +export type AsyncJobStatus = "IN_PROGRESS_INITIALIZING" | "IN_PROGRESS" | "CANCEL_IN_PROGRESS" | "CANCELED" | "COMPLETE" | "FAILED"; export interface ATIMetricDataPoint { cr?: number; adr?: number; @@ -964,11 +562,13 @@ export type FrauddetectorBoolean = boolean; export interface CancelBatchImportJobRequest { jobId: string; } -export interface CancelBatchImportJobResult {} +export interface CancelBatchImportJobResult { +} export interface CancelBatchPredictionJobRequest { jobId: string; } -export interface CancelBatchPredictionJobResult {} +export interface CancelBatchPredictionJobResult { +} export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -984,7 +584,8 @@ export interface CreateBatchImportJobRequest { iamRoleArn: string; tags?: Array; } -export interface CreateBatchImportJobResult {} +export interface CreateBatchImportJobResult { +} export interface CreateBatchPredictionJobRequest { jobId: string; inputPath: string; @@ -995,7 +596,8 @@ export interface CreateBatchPredictionJobRequest { iamRoleArn: string; tags?: Array; } -export interface CreateBatchPredictionJobResult {} +export interface CreateBatchPredictionJobResult { +} export interface CreateDetectorVersionRequest { detectorId: string; description?: string; @@ -1017,7 +619,8 @@ export interface CreateListRequest { description?: string; tags?: Array; } -export interface CreateListResult {} +export interface CreateListResult { +} export interface CreateModelRequest { modelId: string; modelType: ModelTypeEnum; @@ -1025,7 +628,8 @@ export interface CreateModelRequest { eventTypeName: string; tags?: Array; } -export interface CreateModelResult {} +export interface CreateModelResult { +} export interface CreateModelVersionRequest { modelId: string; modelType: ModelTypeEnum; @@ -1062,7 +666,8 @@ export interface CreateVariableRequest { variableType?: string; tags?: Array; } -export interface CreateVariableResult {} +export interface CreateVariableResult { +} export type CsvIndexToVariableMap = Record; export type DataSource = "EVENT" | "MODEL_SCORE" | "EXTERNAL_MODEL_SCORE"; export type DataType = "STRING" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATETIME"; @@ -1075,30 +680,36 @@ export type DeleteAuditHistory = boolean; export interface DeleteBatchImportJobRequest { jobId: string; } -export interface DeleteBatchImportJobResult {} +export interface DeleteBatchImportJobResult { +} export interface DeleteBatchPredictionJobRequest { jobId: string; } -export interface DeleteBatchPredictionJobResult {} +export interface DeleteBatchPredictionJobResult { +} export interface DeleteDetectorRequest { detectorId: string; } -export interface DeleteDetectorResult {} +export interface DeleteDetectorResult { +} export interface DeleteDetectorVersionRequest { detectorId: string; detectorVersionId: string; } -export interface DeleteDetectorVersionResult {} +export interface DeleteDetectorVersionResult { +} export interface DeleteEntityTypeRequest { name: string; } -export interface DeleteEntityTypeResult {} +export interface DeleteEntityTypeResult { +} export interface DeleteEventRequest { eventId: string; eventTypeName: string; deleteAuditHistory?: boolean; } -export interface DeleteEventResult {} +export interface DeleteEventResult { +} export interface DeleteEventsByEventTypeRequest { eventTypeName: string; } @@ -1109,42 +720,51 @@ export interface DeleteEventsByEventTypeResult { export interface DeleteEventTypeRequest { name: string; } -export interface DeleteEventTypeResult {} +export interface DeleteEventTypeResult { +} export interface DeleteExternalModelRequest { modelEndpoint: string; } -export interface DeleteExternalModelResult {} +export interface DeleteExternalModelResult { +} export interface DeleteLabelRequest { name: string; } -export interface DeleteLabelResult {} +export interface DeleteLabelResult { +} export interface DeleteListRequest { name: string; } -export interface DeleteListResult {} +export interface DeleteListResult { +} export interface DeleteModelRequest { modelId: string; modelType: ModelTypeEnum; } -export interface DeleteModelResult {} +export interface DeleteModelResult { +} export interface DeleteModelVersionRequest { modelId: string; modelType: ModelTypeEnum; modelVersionNumber: string; } -export interface DeleteModelVersionResult {} +export interface DeleteModelVersionResult { +} export interface DeleteOutcomeRequest { name: string; } -export interface DeleteOutcomeResult {} +export interface DeleteOutcomeResult { +} export interface DeleteRuleRequest { rule: Rule; } -export interface DeleteRuleResult {} +export interface DeleteRuleResult { +} export interface DeleteVariableRequest { name: string; } -export interface DeleteVariableResult {} +export interface DeleteVariableResult { +} export interface DescribeDetectorRequest { detectorId: string; nextToken?: string; @@ -1292,10 +912,7 @@ export interface ExternalModel { createdTime?: string; arn?: string; } -export type ExternalModelEndpointDataBlobMap = Record< - string, - ModelEndpointDataBlob ->; +export type ExternalModelEndpointDataBlobMap = Record; export type ExternalModelList = Array; export interface ExternalModelOutputs { externalModel?: ExternalModelSummary; @@ -1605,8 +1222,7 @@ export interface ListEventPredictionsResult { nextToken?: string; } export type ListOfAggregatedLogOddsMetrics = Array; -export type ListOfAggregatedVariablesImpactExplanations = - Array; +export type ListOfAggregatedVariablesImpactExplanations = Array; export type listOfEntities = Array; export type ListOfEvaluatedExternalModels = Array; export type ListOfEvaluatedModelVersions = Array; @@ -1690,10 +1306,7 @@ export interface ModelScores { export type modelsMaxPageSize = number; export type ModelSource = "SAGEMAKER"; -export type ModelTypeEnum = - | "ONLINE_FRAUD_INSIGHTS" - | "TRANSACTION_FRAUD_INSIGHTS" - | "ACCOUNT_TAKEOVER_INSIGHTS"; +export type ModelTypeEnum = "ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"; export interface ModelVersion { modelId: string; modelType: ModelTypeEnum; @@ -1767,13 +1380,15 @@ export interface PutDetectorRequest { eventTypeName: string; tags?: Array; } -export interface PutDetectorResult {} +export interface PutDetectorResult { +} export interface PutEntityTypeRequest { name: string; description?: string; tags?: Array; } -export interface PutEntityTypeResult {} +export interface PutEntityTypeResult { +} export interface PutEventTypeRequest { name: string; description?: string; @@ -1784,7 +1399,8 @@ export interface PutEventTypeRequest { tags?: Array; eventOrchestration?: EventOrchestration; } -export interface PutEventTypeResult {} +export interface PutEventTypeResult { +} export interface PutExternalModelRequest { modelEndpoint: string; modelSource: ModelSource; @@ -1794,23 +1410,27 @@ export interface PutExternalModelRequest { modelEndpointStatus: ModelEndpointStatus; tags?: Array; } -export interface PutExternalModelResult {} +export interface PutExternalModelResult { +} export interface PutKMSEncryptionKeyRequest { kmsEncryptionKeyArn: string; } -export interface PutKMSEncryptionKeyResult {} +export interface PutKMSEncryptionKeyResult { +} export interface PutLabelRequest { name: string; description?: string; tags?: Array; } -export interface PutLabelResult {} +export interface PutLabelResult { +} export interface PutOutcomeRequest { name: string; description?: string; tags?: Array; } -export interface PutOutcomeResult {} +export interface PutOutcomeResult { +} export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -1862,7 +1482,8 @@ export interface SendEventRequest { labelTimestamp?: string; entities: Array; } -export interface SendEventResult {} +export interface SendEventResult { +} export type sensitiveString = string; export type Frauddetectorstring = string; @@ -1879,7 +1500,8 @@ export interface TagResourceRequest { resourceARN: string; tags: Array; } -export interface TagResourceResult {} +export interface TagResourceResult { +} export type TagsMaxResults = number; export type tagValue = string; @@ -1940,13 +1562,15 @@ export interface UntagResourceRequest { resourceARN: string; tagKeys: Array; } -export interface UntagResourceResult {} +export interface UntagResourceResult { +} export interface UpdateDetectorVersionMetadataRequest { detectorId: string; detectorVersionId: string; description: string; } -export interface UpdateDetectorVersionMetadataResult {} +export interface UpdateDetectorVersionMetadataResult { +} export interface UpdateDetectorVersionRequest { detectorId: string; detectorVersionId: string; @@ -1956,20 +1580,23 @@ export interface UpdateDetectorVersionRequest { modelVersions?: Array; ruleExecutionMode?: RuleExecutionMode; } -export interface UpdateDetectorVersionResult {} +export interface UpdateDetectorVersionResult { +} export interface UpdateDetectorVersionStatusRequest { detectorId: string; detectorVersionId: string; status: DetectorVersionStatus; } -export interface UpdateDetectorVersionStatusResult {} +export interface UpdateDetectorVersionStatusResult { +} export interface UpdateEventLabelRequest { eventId: string; eventTypeName: string; assignedLabel: string; labelTimestamp: string; } -export interface UpdateEventLabelResult {} +export interface UpdateEventLabelResult { +} export interface UpdateListRequest { name: string; elements?: Array; @@ -1977,13 +1604,15 @@ export interface UpdateListRequest { updateMode?: ListUpdateMode; variableType?: string; } -export interface UpdateListResult {} +export interface UpdateListResult { +} export interface UpdateModelRequest { modelId: string; modelType: ModelTypeEnum; description?: string; } -export interface UpdateModelResult {} +export interface UpdateModelResult { +} export interface UpdateModelVersionRequest { modelId: string; modelType: ModelTypeEnum; @@ -2004,12 +1633,14 @@ export interface UpdateModelVersionStatusRequest { modelVersionNumber: string; status: ModelVersionStatus; } -export interface UpdateModelVersionStatusResult {} +export interface UpdateModelVersionStatusResult { +} export interface UpdateRuleMetadataRequest { rule: Rule; description: string; } -export interface UpdateRuleMetadataResult {} +export interface UpdateRuleMetadataResult { +} export interface UpdateRuleVersionRequest { rule: Rule; description?: string; @@ -2027,7 +1658,8 @@ export interface UpdateVariableRequest { description?: string; variableType?: string; } -export interface UpdateVariableResult {} +export interface UpdateVariableResult { +} export type UseEventVariables = boolean; export type utcTimestampISO8601 = string; @@ -2953,12 +2585,5 @@ export declare namespace UpdateVariable { | CommonAwsError; } -export type FraudDetectorErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type FraudDetectorErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/freetier/index.ts b/src/services/freetier/index.ts index fdde41e4..8fa9648f 100644 --- a/src/services/freetier/index.ts +++ b/src/services/freetier/index.ts @@ -5,23 +5,7 @@ import type { FreeTier as _FreeTierClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/freetier/types.ts b/src/services/freetier/types.ts index 27981397..60798069 100644 --- a/src/services/freetier/types.ts +++ b/src/services/freetier/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class FreeTier extends AWSServiceClient { @@ -40,51 +8,31 @@ export declare class FreeTier extends AWSServiceClient { input: GetAccountActivityRequest, ): Effect.Effect< GetAccountActivityResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAccountPlanState( input: GetAccountPlanStateRequest, ): Effect.Effect< GetAccountPlanStateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFreeTierUsage( input: GetFreeTierUsageRequest, ): Effect.Effect< GetFreeTierUsageResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listAccountActivities( input: ListAccountActivitiesRequest, ): Effect.Effect< ListAccountActivitiesResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; upgradeAccountPlan( input: UpgradeAccountPlanRequest, ): Effect.Effect< UpgradeAccountPlanResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -106,12 +54,8 @@ interface _ActivityReward { credit?: MonetaryAmount; } -export type ActivityReward = _ActivityReward & { credit: MonetaryAmount }; -export type ActivityStatus = - | "NOT_STARTED" - | "IN_PROGRESS" - | "COMPLETED" - | "EXPIRING"; +export type ActivityReward = (_ActivityReward & { credit: MonetaryAmount }); +export type ActivityStatus = "NOT_STARTED" | "IN_PROGRESS" | "COMPLETED" | "EXPIRING"; export interface ActivitySummary { activityId: string; title: string; @@ -119,14 +63,7 @@ export interface ActivitySummary { status: ActivityStatus; } export type CurrencyCode = "USD"; -export type Dimension = - | "SERVICE" - | "OPERATION" - | "USAGE_TYPE" - | "REGION" - | "FREE_TIER_TYPE" - | "DESCRIPTION" - | "USAGE_PERCENTAGE"; +export type Dimension = "SERVICE" | "OPERATION" | "USAGE_TYPE" | "REGION" | "FREE_TIER_TYPE" | "DESCRIPTION" | "USAGE_PERCENTAGE"; export interface DimensionValues { Key: Dimension; Values: Array; @@ -173,7 +110,8 @@ export interface GetAccountActivityResponse { startedAt?: Date | string; completedAt?: Date | string; } -export interface GetAccountPlanStateRequest {} +export interface GetAccountPlanStateRequest { +} export interface GetAccountPlanStateResponse { accountId: string; accountPlanType: AccountPlanType; @@ -195,20 +133,7 @@ export declare class InternalServerException extends EffectData.TaggedError( )<{ readonly message: string; }> {} -export type LanguageCode = - | "en-US" - | "en-GB" - | "id-ID" - | "de-DE" - | "es-ES" - | "fr-FR" - | "ja-JP" - | "it-IT" - | "pt-PT" - | "ko-KR" - | "zh-CN" - | "zh-TW" - | "tr-TR"; +export type LanguageCode = "en-US" | "en-GB" | "id-ID" | "de-DE" | "es-ES" | "fr-FR" | "ja-JP" | "it-IT" | "pt-PT" | "ko-KR" | "zh-CN" | "zh-TW" | "tr-TR"; export interface ListAccountActivitiesRequest { filterActivityStatuses?: Array; nextToken?: string; @@ -219,12 +144,7 @@ export interface ListAccountActivitiesResponse { activities: Array; nextToken?: string; } -export type MatchOption = - | "EQUALS" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS" - | "GREATER_THAN_OR_EQUAL"; +export type MatchOption = "EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "GREATER_THAN_OR_EQUAL"; export type MatchOptions = Array; export type MaxResults = number; @@ -315,10 +235,5 @@ export declare namespace UpgradeAccountPlan { | CommonAwsError; } -export type FreeTierErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type FreeTierErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/fsx/index.ts b/src/services/fsx/index.ts index b843d05f..05beef03 100644 --- a/src/services/fsx/index.ts +++ b/src/services/fsx/index.ts @@ -5,26 +5,7 @@ import type { FSx as _FSxClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/fsx/types.ts b/src/services/fsx/types.ts index 410ab6d8..c0788970 100644 --- a/src/services/fsx/types.ts +++ b/src/services/fsx/types.ts @@ -13,234 +13,109 @@ export declare class FSx extends AWSServiceClient { input: CancelDataRepositoryTaskRequest, ): Effect.Effect< CancelDataRepositoryTaskResponse, - | BadRequest - | DataRepositoryTaskEnded - | DataRepositoryTaskNotFound - | InternalServerError - | UnsupportedOperation - | CommonAwsError + BadRequest | DataRepositoryTaskEnded | DataRepositoryTaskNotFound | InternalServerError | UnsupportedOperation | CommonAwsError >; copyBackup( input: CopyBackupRequest, ): Effect.Effect< CopyBackupResponse, - | BackupNotFound - | BadRequest - | IncompatibleParameterError - | IncompatibleRegionForMultiAZ - | InternalServerError - | InvalidDestinationKmsKey - | InvalidRegion - | InvalidSourceKmsKey - | ServiceLimitExceeded - | SourceBackupUnavailable - | UnsupportedOperation - | CommonAwsError + BackupNotFound | BadRequest | IncompatibleParameterError | IncompatibleRegionForMultiAZ | InternalServerError | InvalidDestinationKmsKey | InvalidRegion | InvalidSourceKmsKey | ServiceLimitExceeded | SourceBackupUnavailable | UnsupportedOperation | CommonAwsError >; copySnapshotAndUpdateVolume( input: CopySnapshotAndUpdateVolumeRequest, ): Effect.Effect< CopySnapshotAndUpdateVolumeResponse, - | BadRequest - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | CommonAwsError + BadRequest | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | CommonAwsError >; createAndAttachS3AccessPoint( input: CreateAndAttachS3AccessPointRequest, ): Effect.Effect< CreateAndAttachS3AccessPointResponse, - | AccessPointAlreadyOwnedByYou - | BadRequest - | IncompatibleParameterError - | InternalServerError - | InvalidAccessPoint - | InvalidRequest - | TooManyAccessPoints - | UnsupportedOperation - | VolumeNotFound - | CommonAwsError + AccessPointAlreadyOwnedByYou | BadRequest | IncompatibleParameterError | InternalServerError | InvalidAccessPoint | InvalidRequest | TooManyAccessPoints | UnsupportedOperation | VolumeNotFound | CommonAwsError >; createBackup( input: CreateBackupRequest, ): Effect.Effect< CreateBackupResponse, - | BackupInProgress - | BadRequest - | FileSystemNotFound - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | UnsupportedOperation - | VolumeNotFound - | CommonAwsError + BackupInProgress | BadRequest | FileSystemNotFound | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | UnsupportedOperation | VolumeNotFound | CommonAwsError >; createDataRepositoryAssociation( input: CreateDataRepositoryAssociationRequest, ): Effect.Effect< CreateDataRepositoryAssociationResponse, - | BadRequest - | FileSystemNotFound - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | UnsupportedOperation - | CommonAwsError + BadRequest | FileSystemNotFound | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | UnsupportedOperation | CommonAwsError >; createDataRepositoryTask( input: CreateDataRepositoryTaskRequest, ): Effect.Effect< CreateDataRepositoryTaskResponse, - | BadRequest - | DataRepositoryTaskExecuting - | FileSystemNotFound - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | UnsupportedOperation - | CommonAwsError + BadRequest | DataRepositoryTaskExecuting | FileSystemNotFound | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | UnsupportedOperation | CommonAwsError >; createFileCache( input: CreateFileCacheRequest, ): Effect.Effect< CreateFileCacheResponse, - | BadRequest - | IncompatibleParameterError - | InternalServerError - | InvalidNetworkSettings - | InvalidPerUnitStorageThroughput - | MissingFileCacheConfiguration - | ServiceLimitExceeded - | CommonAwsError + BadRequest | IncompatibleParameterError | InternalServerError | InvalidNetworkSettings | InvalidPerUnitStorageThroughput | MissingFileCacheConfiguration | ServiceLimitExceeded | CommonAwsError >; createFileSystem( input: CreateFileSystemRequest, ): Effect.Effect< CreateFileSystemResponse, - | ActiveDirectoryError - | BadRequest - | IncompatibleParameterError - | InternalServerError - | InvalidExportPath - | InvalidImportPath - | InvalidNetworkSettings - | InvalidPerUnitStorageThroughput - | MissingFileSystemConfiguration - | ServiceLimitExceeded - | CommonAwsError + ActiveDirectoryError | BadRequest | IncompatibleParameterError | InternalServerError | InvalidExportPath | InvalidImportPath | InvalidNetworkSettings | InvalidPerUnitStorageThroughput | MissingFileSystemConfiguration | ServiceLimitExceeded | CommonAwsError >; createFileSystemFromBackup( input: CreateFileSystemFromBackupRequest, ): Effect.Effect< CreateFileSystemFromBackupResponse, - | ActiveDirectoryError - | BackupNotFound - | BadRequest - | IncompatibleParameterError - | InternalServerError - | InvalidNetworkSettings - | InvalidPerUnitStorageThroughput - | MissingFileSystemConfiguration - | ServiceLimitExceeded - | CommonAwsError + ActiveDirectoryError | BackupNotFound | BadRequest | IncompatibleParameterError | InternalServerError | InvalidNetworkSettings | InvalidPerUnitStorageThroughput | MissingFileSystemConfiguration | ServiceLimitExceeded | CommonAwsError >; createSnapshot( input: CreateSnapshotRequest, ): Effect.Effect< CreateSnapshotResponse, - | BadRequest - | InternalServerError - | ServiceLimitExceeded - | VolumeNotFound - | CommonAwsError + BadRequest | InternalServerError | ServiceLimitExceeded | VolumeNotFound | CommonAwsError >; createStorageVirtualMachine( input: CreateStorageVirtualMachineRequest, ): Effect.Effect< CreateStorageVirtualMachineResponse, - | ActiveDirectoryError - | BadRequest - | FileSystemNotFound - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | UnsupportedOperation - | CommonAwsError + ActiveDirectoryError | BadRequest | FileSystemNotFound | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | UnsupportedOperation | CommonAwsError >; createVolume( input: CreateVolumeRequest, ): Effect.Effect< CreateVolumeResponse, - | BadRequest - | FileSystemNotFound - | IncompatibleParameterError - | InternalServerError - | MissingVolumeConfiguration - | ServiceLimitExceeded - | StorageVirtualMachineNotFound - | UnsupportedOperation - | CommonAwsError + BadRequest | FileSystemNotFound | IncompatibleParameterError | InternalServerError | MissingVolumeConfiguration | ServiceLimitExceeded | StorageVirtualMachineNotFound | UnsupportedOperation | CommonAwsError >; createVolumeFromBackup( input: CreateVolumeFromBackupRequest, ): Effect.Effect< CreateVolumeFromBackupResponse, - | BackupNotFound - | BadRequest - | FileSystemNotFound - | IncompatibleParameterError - | InternalServerError - | MissingVolumeConfiguration - | ServiceLimitExceeded - | StorageVirtualMachineNotFound - | CommonAwsError + BackupNotFound | BadRequest | FileSystemNotFound | IncompatibleParameterError | InternalServerError | MissingVolumeConfiguration | ServiceLimitExceeded | StorageVirtualMachineNotFound | CommonAwsError >; deleteBackup( input: DeleteBackupRequest, ): Effect.Effect< DeleteBackupResponse, - | BackupBeingCopied - | BackupInProgress - | BackupNotFound - | BackupRestoring - | BadRequest - | IncompatibleParameterError - | InternalServerError - | CommonAwsError + BackupBeingCopied | BackupInProgress | BackupNotFound | BackupRestoring | BadRequest | IncompatibleParameterError | InternalServerError | CommonAwsError >; deleteDataRepositoryAssociation( input: DeleteDataRepositoryAssociationRequest, ): Effect.Effect< DeleteDataRepositoryAssociationResponse, - | BadRequest - | DataRepositoryAssociationNotFound - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | CommonAwsError + BadRequest | DataRepositoryAssociationNotFound | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | CommonAwsError >; deleteFileCache( input: DeleteFileCacheRequest, ): Effect.Effect< DeleteFileCacheResponse, - | BadRequest - | FileCacheNotFound - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | CommonAwsError + BadRequest | FileCacheNotFound | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | CommonAwsError >; deleteFileSystem( input: DeleteFileSystemRequest, ): Effect.Effect< DeleteFileSystemResponse, - | BadRequest - | FileSystemNotFound - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | CommonAwsError + BadRequest | FileSystemNotFound | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | CommonAwsError >; deleteSnapshot( input: DeleteSnapshotRequest, @@ -252,54 +127,31 @@ export declare class FSx extends AWSServiceClient { input: DeleteStorageVirtualMachineRequest, ): Effect.Effect< DeleteStorageVirtualMachineResponse, - | BadRequest - | IncompatibleParameterError - | InternalServerError - | StorageVirtualMachineNotFound - | CommonAwsError + BadRequest | IncompatibleParameterError | InternalServerError | StorageVirtualMachineNotFound | CommonAwsError >; deleteVolume( input: DeleteVolumeRequest, ): Effect.Effect< DeleteVolumeResponse, - | BadRequest - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | VolumeNotFound - | CommonAwsError + BadRequest | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | VolumeNotFound | CommonAwsError >; describeBackups( input: DescribeBackupsRequest, ): Effect.Effect< DescribeBackupsResponse, - | BackupNotFound - | BadRequest - | FileSystemNotFound - | InternalServerError - | VolumeNotFound - | CommonAwsError + BackupNotFound | BadRequest | FileSystemNotFound | InternalServerError | VolumeNotFound | CommonAwsError >; describeDataRepositoryAssociations( input: DescribeDataRepositoryAssociationsRequest, ): Effect.Effect< DescribeDataRepositoryAssociationsResponse, - | BadRequest - | DataRepositoryAssociationNotFound - | FileSystemNotFound - | InternalServerError - | InvalidDataRepositoryType - | CommonAwsError + BadRequest | DataRepositoryAssociationNotFound | FileSystemNotFound | InternalServerError | InvalidDataRepositoryType | CommonAwsError >; describeDataRepositoryTasks( input: DescribeDataRepositoryTasksRequest, ): Effect.Effect< DescribeDataRepositoryTasksResponse, - | BadRequest - | DataRepositoryTaskNotFound - | FileSystemNotFound - | InternalServerError - | CommonAwsError + BadRequest | DataRepositoryTaskNotFound | FileSystemNotFound | InternalServerError | CommonAwsError >; describeFileCaches( input: DescribeFileCachesRequest, @@ -323,11 +175,7 @@ export declare class FSx extends AWSServiceClient { input: DescribeS3AccessPointAttachmentsRequest, ): Effect.Effect< DescribeS3AccessPointAttachmentsResponse, - | BadRequest - | InternalServerError - | S3AccessPointAttachmentNotFound - | UnsupportedOperation - | CommonAwsError + BadRequest | InternalServerError | S3AccessPointAttachmentNotFound | UnsupportedOperation | CommonAwsError >; describeSharedVpcConfiguration( input: DescribeSharedVpcConfigurationRequest, @@ -345,10 +193,7 @@ export declare class FSx extends AWSServiceClient { input: DescribeStorageVirtualMachinesRequest, ): Effect.Effect< DescribeStorageVirtualMachinesResponse, - | BadRequest - | InternalServerError - | StorageVirtualMachineNotFound - | CommonAwsError + BadRequest | InternalServerError | StorageVirtualMachineNotFound | CommonAwsError >; describeVolumes( input: DescribeVolumesRequest, @@ -360,12 +205,7 @@ export declare class FSx extends AWSServiceClient { input: DetachAndDeleteS3AccessPointRequest, ): Effect.Effect< DetachAndDeleteS3AccessPointResponse, - | BadRequest - | IncompatibleParameterError - | InternalServerError - | S3AccessPointAttachmentNotFound - | UnsupportedOperation - | CommonAwsError + BadRequest | IncompatibleParameterError | InternalServerError | S3AccessPointAttachmentNotFound | UnsupportedOperation | CommonAwsError >; disassociateFileSystemAliases( input: DisassociateFileSystemAliasesRequest, @@ -377,23 +217,13 @@ export declare class FSx extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequest - | InternalServerError - | NotServiceResourceError - | ResourceDoesNotSupportTagging - | ResourceNotFound - | CommonAwsError + BadRequest | InternalServerError | NotServiceResourceError | ResourceDoesNotSupportTagging | ResourceNotFound | CommonAwsError >; releaseFileSystemNfsV3Locks( input: ReleaseFileSystemNfsV3LocksRequest, ): Effect.Effect< ReleaseFileSystemNfsV3LocksResponse, - | BadRequest - | FileSystemNotFound - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | CommonAwsError + BadRequest | FileSystemNotFound | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | CommonAwsError >; restoreVolumeFromSnapshot( input: RestoreVolumeFromSnapshotRequest, @@ -411,70 +241,37 @@ export declare class FSx extends AWSServiceClient { input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequest - | InternalServerError - | NotServiceResourceError - | ResourceDoesNotSupportTagging - | ResourceNotFound - | CommonAwsError + BadRequest | InternalServerError | NotServiceResourceError | ResourceDoesNotSupportTagging | ResourceNotFound | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequest - | InternalServerError - | NotServiceResourceError - | ResourceDoesNotSupportTagging - | ResourceNotFound - | CommonAwsError + BadRequest | InternalServerError | NotServiceResourceError | ResourceDoesNotSupportTagging | ResourceNotFound | CommonAwsError >; updateDataRepositoryAssociation( input: UpdateDataRepositoryAssociationRequest, ): Effect.Effect< UpdateDataRepositoryAssociationResponse, - | BadRequest - | DataRepositoryAssociationNotFound - | IncompatibleParameterError - | InternalServerError - | ServiceLimitExceeded - | CommonAwsError + BadRequest | DataRepositoryAssociationNotFound | IncompatibleParameterError | InternalServerError | ServiceLimitExceeded | CommonAwsError >; updateFileCache( input: UpdateFileCacheRequest, ): Effect.Effect< UpdateFileCacheResponse, - | BadRequest - | FileCacheNotFound - | IncompatibleParameterError - | InternalServerError - | MissingFileCacheConfiguration - | ServiceLimitExceeded - | UnsupportedOperation - | CommonAwsError + BadRequest | FileCacheNotFound | IncompatibleParameterError | InternalServerError | MissingFileCacheConfiguration | ServiceLimitExceeded | UnsupportedOperation | CommonAwsError >; updateFileSystem( input: UpdateFileSystemRequest, ): Effect.Effect< UpdateFileSystemResponse, - | BadRequest - | FileSystemNotFound - | IncompatibleParameterError - | InternalServerError - | InvalidNetworkSettings - | MissingFileSystemConfiguration - | ServiceLimitExceeded - | UnsupportedOperation - | CommonAwsError + BadRequest | FileSystemNotFound | IncompatibleParameterError | InternalServerError | InvalidNetworkSettings | MissingFileSystemConfiguration | ServiceLimitExceeded | UnsupportedOperation | CommonAwsError >; updateSharedVpcConfiguration( input: UpdateSharedVpcConfigurationRequest, ): Effect.Effect< UpdateSharedVpcConfigurationResponse, - | BadRequest - | IncompatibleParameterError - | InternalServerError - | CommonAwsError + BadRequest | IncompatibleParameterError | InternalServerError | CommonAwsError >; updateSnapshot( input: UpdateSnapshotRequest, @@ -486,23 +283,13 @@ export declare class FSx extends AWSServiceClient { input: UpdateStorageVirtualMachineRequest, ): Effect.Effect< UpdateStorageVirtualMachineResponse, - | BadRequest - | IncompatibleParameterError - | InternalServerError - | StorageVirtualMachineNotFound - | UnsupportedOperation - | CommonAwsError + BadRequest | IncompatibleParameterError | InternalServerError | StorageVirtualMachineNotFound | UnsupportedOperation | CommonAwsError >; updateVolume( input: UpdateVolumeRequest, ): Effect.Effect< UpdateVolumeResponse, - | BadRequest - | IncompatibleParameterError - | InternalServerError - | MissingVolumeConfiguration - | VolumeNotFound - | CommonAwsError + BadRequest | IncompatibleParameterError | InternalServerError | MissingVolumeConfiguration | VolumeNotFound | CommonAwsError >; } @@ -528,12 +315,7 @@ export declare class ActiveDirectoryError extends EffectData.TaggedError( readonly Type?: ActiveDirectoryErrorType; readonly Message?: string; }> {} -export type ActiveDirectoryErrorType = - | "DOMAIN_NOT_FOUND" - | "INCOMPATIBLE_DOMAIN_MODE" - | "WRONG_VPC" - | "INVALID_NETWORK_TYPE" - | "INVALID_DOMAIN_STAGE"; +export type ActiveDirectoryErrorType = "DOMAIN_NOT_FOUND" | "INCOMPATIBLE_DOMAIN_MODE" | "WRONG_VPC" | "INVALID_NETWORK_TYPE" | "INVALID_DOMAIN_STAGE"; export type ActiveDirectoryFullyQualifiedName = string; export interface AdministrativeAction { @@ -553,22 +335,7 @@ export interface AdministrativeActionFailureDetails { Message?: string; } export type AdministrativeActions = Array; -export type AdministrativeActionType = - | "FILE_SYSTEM_UPDATE" - | "STORAGE_OPTIMIZATION" - | "FILE_SYSTEM_ALIAS_ASSOCIATION" - | "FILE_SYSTEM_ALIAS_DISASSOCIATION" - | "VOLUME_UPDATE" - | "SNAPSHOT_UPDATE" - | "RELEASE_NFS_V3_LOCKS" - | "VOLUME_RESTORE" - | "THROUGHPUT_OPTIMIZATION" - | "IOPS_OPTIMIZATION" - | "STORAGE_TYPE_OPTIMIZATION" - | "MISCONFIGURED_STATE_RECOVERY" - | "VOLUME_UPDATE_WITH_SNAPSHOT" - | "VOLUME_INITIALIZE_WITH_SNAPSHOT" - | "DOWNLOAD_DATA_FROM_BACKUP"; +export type AdministrativeActionType = "FILE_SYSTEM_UPDATE" | "STORAGE_OPTIMIZATION" | "FILE_SYSTEM_ALIAS_ASSOCIATION" | "FILE_SYSTEM_ALIAS_DISASSOCIATION" | "VOLUME_UPDATE" | "SNAPSHOT_UPDATE" | "RELEASE_NFS_V3_LOCKS" | "VOLUME_RESTORE" | "THROUGHPUT_OPTIMIZATION" | "IOPS_OPTIMIZATION" | "STORAGE_TYPE_OPTIMIZATION" | "MISCONFIGURED_STATE_RECOVERY" | "VOLUME_UPDATE_WITH_SNAPSHOT" | "VOLUME_INITIALIZE_WITH_SNAPSHOT" | "DOWNLOAD_DATA_FROM_BACKUP"; export type AdminPassword = string; export type Aggregate = string; @@ -585,12 +352,7 @@ export interface Alias { Lifecycle?: AliasLifecycle; } export type Aliases = Array; -export type AliasLifecycle = - | "AVAILABLE" - | "CREATING" - | "DELETING" - | "CREATE_FAILED" - | "DELETE_FAILED"; +export type AliasLifecycle = "AVAILABLE" | "CREATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED"; export type AlternateDNSName = string; export type AlternateDNSNames = Array; @@ -608,13 +370,7 @@ export interface AutocommitPeriod { Type: AutocommitPeriodType; Value?: number; } -export type AutocommitPeriodType = - | "MINUTES" - | "HOURS" - | "DAYS" - | "MONTHS" - | "YEARS" - | "NONE"; +export type AutocommitPeriodType = "MINUTES" | "HOURS" | "DAYS" | "MONTHS" | "YEARS" | "NONE"; export type AutocommitPeriodValue = number; export interface AutoExportPolicy { @@ -623,11 +379,7 @@ export interface AutoExportPolicy { export interface AutoImportPolicy { Events?: Array; } -export type AutoImportPolicyType = - | "NONE" - | "NEW" - | "NEW_CHANGED" - | "NEW_CHANGED_DELETED"; +export type AutoImportPolicyType = "NONE" | "NEW" | "NEW_CHANGED" | "NEW_CHANGED_DELETED"; export type AutomaticBackupRetentionDays = number; export type AWSAccountId = string; @@ -668,14 +420,7 @@ export declare class BackupInProgress extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type BackupLifecycle = - | "AVAILABLE" - | "CREATING" - | "TRANSFERRING" - | "DELETED" - | "FAILED" - | "PENDING" - | "COPYING"; +export type BackupLifecycle = "AVAILABLE" | "CREATING" | "TRANSFERRING" | "DELETED" | "FAILED" | "PENDING" | "COPYING"; export declare class BackupNotFound extends EffectData.TaggedError( "BackupNotFound", )<{ @@ -689,7 +434,9 @@ export declare class BackupRestoring extends EffectData.TaggedError( }> {} export type Backups = Array; export type BackupType = "AUTOMATIC" | "USER_INITIATED" | "AWS_BACKUP"; -export declare class BadRequest extends EffectData.TaggedError("BadRequest")<{ +export declare class BadRequest extends EffectData.TaggedError( + "BadRequest", +)<{ readonly Message?: string; }> {} export type BatchImportMetaDataOnCreate = boolean; @@ -795,8 +542,7 @@ export interface CreateDataRepositoryTaskRequest { export interface CreateDataRepositoryTaskResponse { DataRepositoryTask?: DataRepositoryTask; } -export type CreateFileCacheDataRepositoryAssociations = - Array; +export type CreateFileCacheDataRepositoryAssociations = Array; export interface CreateFileCacheLustreConfiguration { PerUnitStorageThroughput: number; DeploymentType: FileCacheLustreDeploymentType; @@ -1055,13 +801,7 @@ export interface DataRepositoryConfiguration { export interface DataRepositoryFailureDetails { Message?: string; } -export type DataRepositoryLifecycle = - | "CREATING" - | "AVAILABLE" - | "MISCONFIGURED" - | "UPDATING" - | "DELETING" - | "FAILED"; +export type DataRepositoryLifecycle = "CREATING" | "AVAILABLE" | "MISCONFIGURED" | "UPDATING" | "DELETING" | "FAILED"; export interface DataRepositoryTask { TaskId: string; Lifecycle: DataRepositoryTaskLifecycle; @@ -1097,22 +837,12 @@ export interface DataRepositoryTaskFilter { Name?: DataRepositoryTaskFilterName; Values?: Array; } -export type DataRepositoryTaskFilterName = - | "file-system-id" - | "task-lifecycle" - | "data-repository-association-id" - | "file-cache-id"; +export type DataRepositoryTaskFilterName = "file-system-id" | "task-lifecycle" | "data-repository-association-id" | "file-cache-id"; export type DataRepositoryTaskFilters = Array; export type DataRepositoryTaskFilterValue = string; export type DataRepositoryTaskFilterValues = Array; -export type DataRepositoryTaskLifecycle = - | "PENDING" - | "EXECUTING" - | "FAILED" - | "SUCCEEDED" - | "CANCELED" - | "CANCELING"; +export type DataRepositoryTaskLifecycle = "PENDING" | "EXECUTING" | "FAILED" | "SUCCEEDED" | "CANCELED" | "CANCELING"; export declare class DataRepositoryTaskNotFound extends EffectData.TaggedError( "DataRepositoryTaskNotFound", )<{ @@ -1129,11 +859,7 @@ export interface DataRepositoryTaskStatus { LastUpdatedTime?: Date | string; ReleasedCapacity?: number; } -export type DataRepositoryTaskType = - | "EXPORT_TO_REPOSITORY" - | "IMPORT_METADATA_FROM_REPOSITORY" - | "RELEASE_DATA_FROM_FILESYSTEM" - | "AUTO_RELEASE_DATA"; +export type DataRepositoryTaskType = "EXPORT_TO_REPOSITORY" | "IMPORT_METADATA_FROM_REPOSITORY" | "RELEASE_DATA_FROM_FILESYSTEM" | "AUTO_RELEASE_DATA"; export interface DeleteBackupRequest { BackupId: string; ClientRequestToken?: string; @@ -1175,10 +901,8 @@ export interface DeleteFileSystemOpenZFSConfiguration { FinalBackupTags?: Array; Options?: Array; } -export type DeleteFileSystemOpenZFSOption = - "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS"; -export type DeleteFileSystemOpenZFSOptions = - Array; +export type DeleteFileSystemOpenZFSOption = "DELETE_CHILD_VOLUMES_AND_SNAPSHOTS"; +export type DeleteFileSystemOpenZFSOptions = Array; export interface DeleteFileSystemOpenZFSResponse { FinalBackupId?: string; FinalBackupTags?: Array; @@ -1314,7 +1038,8 @@ export interface DescribeS3AccessPointAttachmentsResponse { S3AccessPointAttachments?: Array; NextToken?: string; } -export interface DescribeSharedVpcConfigurationRequest {} +export interface DescribeSharedVpcConfigurationRequest { +} export interface DescribeSharedVpcConfigurationResponse { EnableFsxRouteTableUpdatesFromParticipantAccounts?: string; } @@ -1444,12 +1169,7 @@ export interface FileCacheFailureDetails { export type FileCacheId = string; export type FileCacheIds = Array; -export type FileCacheLifecycle = - | "AVAILABLE" - | "CREATING" - | "DELETING" - | "UPDATING" - | "FAILED"; +export type FileCacheLifecycle = "AVAILABLE" | "CREATING" | "DELETING" | "UPDATING" | "FAILED"; export interface FileCacheLustreConfiguration { PerUnitStorageThroughput?: number; DeploymentType?: FileCacheLustreDeploymentType; @@ -1516,21 +1236,13 @@ export type FileSystemGID = number; export type FileSystemId = string; export type FileSystemIds = Array; -export type FileSystemLifecycle = - | "AVAILABLE" - | "CREATING" - | "FAILED" - | "DELETING" - | "MISCONFIGURED" - | "UPDATING" - | "MISCONFIGURED_UNAVAILABLE"; +export type FileSystemLifecycle = "AVAILABLE" | "CREATING" | "FAILED" | "DELETING" | "MISCONFIGURED" | "UPDATING" | "MISCONFIGURED_UNAVAILABLE"; export interface FileSystemLustreMetadataConfiguration { Iops?: number; Mode: MetadataConfigurationMode; } export type FileSystemMaintenanceOperation = "PATCHING" | "BACKING_UP"; -export type FileSystemMaintenanceOperations = - Array; +export type FileSystemMaintenanceOperations = Array; export declare class FileSystemNotFound extends EffectData.TaggedError( "FileSystemNotFound", )<{ @@ -1547,14 +1259,7 @@ export interface Filter { Name?: FilterName; Values?: Array; } -export type FilterName = - | "file-system-id" - | "backup-type" - | "file-system-type" - | "volume-id" - | "data-repository-type" - | "file-cache-id" - | "file-cache-type"; +export type FilterName = "file-system-id" | "backup-type" | "file-system-type" | "volume-id" | "data-repository-type" | "file-cache-id" | "file-cache-type"; export type Filters = Array; export type FilterValue = string; @@ -1674,16 +1379,8 @@ export interface ListTagsForResourceResponse { Tags?: Array; NextToken?: string; } -export type LustreAccessAuditLogLevel = - | "DISABLED" - | "WARN_ONLY" - | "ERROR_ONLY" - | "WARN_ERROR"; -export type LustreDeploymentType = - | "SCRATCH_1" - | "SCRATCH_2" - | "PERSISTENT_1" - | "PERSISTENT_2"; +export type LustreAccessAuditLogLevel = "DISABLED" | "WARN_ONLY" | "ERROR_ONLY" | "WARN_ERROR"; +export type LustreDeploymentType = "SCRATCH_1" | "SCRATCH_2" | "PERSISTENT_1" | "PERSISTENT_2"; export interface LustreFileSystemConfiguration { WeeklyMaintenanceStartTime?: string; DataRepositoryConfiguration?: DataRepositoryConfiguration; @@ -1719,10 +1416,7 @@ export interface LustreReadCacheConfiguration { SizingMode?: LustreReadCacheSizingMode; SizeGiB?: number; } -export type LustreReadCacheSizingMode = - | "NO_CACHE" - | "USER_PROVISIONED" - | "PROPORTIONAL_TO_THROUGHPUT_CAPACITY"; +export type LustreReadCacheSizingMode = "NO_CACHE" | "USER_PROVISIONED" | "PROPORTIONAL_TO_THROUGHPUT_CAPACITY"; export type LustreRootSquash = string; export interface LustreRootSquashConfiguration { @@ -1777,11 +1471,7 @@ export declare class NotServiceResourceError extends EffectData.TaggedError( readonly ResourceARN: string; readonly Message?: string; }> {} -export type OntapDeploymentType = - | "MULTI_AZ_1" - | "SINGLE_AZ_1" - | "SINGLE_AZ_2" - | "MULTI_AZ_2"; +export type OntapDeploymentType = "MULTI_AZ_1" | "SINGLE_AZ_1" | "SINGLE_AZ_2" | "MULTI_AZ_2"; export type OntapEndpointIpAddresses = Array; export interface OntapFileSystemConfiguration { AutomaticBackupRetentionDays?: number; @@ -1835,12 +1525,7 @@ export interface OpenZFSCreateRootVolumeConfiguration { ReadOnly?: boolean; } export type OpenZFSDataCompressionType = "NONE" | "ZSTD" | "LZ4"; -export type OpenZFSDeploymentType = - | "SINGLE_AZ_1" - | "SINGLE_AZ_2" - | "SINGLE_AZ_HA_1" - | "SINGLE_AZ_HA_2" - | "MULTI_AZ_1"; +export type OpenZFSDeploymentType = "SINGLE_AZ_1" | "SINGLE_AZ_2" | "SINGLE_AZ_HA_1" | "SINGLE_AZ_HA_2" | "MULTI_AZ_1"; export interface OpenZFSFileSystemConfiguration { AutomaticBackupRetentionDays?: number; CopyTagsToBackups?: boolean; @@ -1885,10 +1570,7 @@ export interface OpenZFSReadCacheConfiguration { SizingMode?: OpenZFSReadCacheSizingMode; SizeGiB?: number; } -export type OpenZFSReadCacheSizingMode = - | "NO_CACHE" - | "USER_PROVISIONED" - | "PROPORTIONAL_TO_THROUGHPUT_CAPACITY"; +export type OpenZFSReadCacheSizingMode = "NO_CACHE" | "USER_PROVISIONED" | "PROPORTIONAL_TO_THROUGHPUT_CAPACITY"; export type OpenZFSUserAndGroupQuotas = Array; export interface OpenZFSUserOrGroupQuota { Type: OpenZFSQuotaType; @@ -1962,9 +1644,7 @@ export declare class ResourceNotFound extends EffectData.TaggedError( readonly Message?: string; }> {} export type ResourceType = "FILE_SYSTEM" | "VOLUME"; -export type RestoreOpenZFSVolumeOption = - | "DELETE_INTERMEDIATE_SNAPSHOTS" - | "DELETE_CLONED_VOLUMES"; +export type RestoreOpenZFSVolumeOption = "DELETE_INTERMEDIATE_SNAPSHOTS" | "DELETE_CLONED_VOLUMES"; export type RestoreOpenZFSVolumeOptions = Array; export interface RestoreVolumeFromSnapshotRequest { ClientRequestToken?: string; @@ -1981,15 +1661,7 @@ export interface RetentionPeriod { Type: RetentionPeriodType; Value?: number; } -export type RetentionPeriodType = - | "SECONDS" - | "MINUTES" - | "HOURS" - | "DAYS" - | "MONTHS" - | "YEARS" - | "INFINITE" - | "UNSPECIFIED"; +export type RetentionPeriodType = "SECONDS" | "MINUTES" | "HOURS" | "DAYS" | "MONTHS" | "YEARS" | "INFINITE" | "UNSPECIFIED"; export type RetentionPeriodValue = number; export type RouteTableId = string; @@ -2011,12 +1683,7 @@ export interface S3AccessPointAttachment { OpenZFSConfiguration?: S3AccessPointOpenZFSConfiguration; S3AccessPoint?: S3AccessPoint; } -export type S3AccessPointAttachmentLifecycle = - | "AVAILABLE" - | "CREATING" - | "DELETING" - | "UPDATING" - | "FAILED"; +export type S3AccessPointAttachmentLifecycle = "AVAILABLE" | "CREATING" | "DELETING" | "UPDATING" | "FAILED"; export type S3AccessPointAttachmentName = string; export type S3AccessPointAttachmentNames = Array; @@ -2030,12 +1697,8 @@ export interface S3AccessPointAttachmentsFilter { Name?: S3AccessPointAttachmentsFilterName; Values?: Array; } -export type S3AccessPointAttachmentsFilterName = - | "file-system-id" - | "volume-id" - | "type"; -export type S3AccessPointAttachmentsFilters = - Array; +export type S3AccessPointAttachmentsFilterName = "file-system-id" | "volume-id" | "type"; +export type S3AccessPointAttachmentsFilters = Array; export type S3AccessPointAttachmentsFilterValue = string; export type S3AccessPointAttachmentsFilterValues = Array; @@ -2081,17 +1744,7 @@ export interface SelfManagedActiveDirectoryConfigurationUpdates { FileSystemAdministratorsGroup?: string; DomainJoinServiceAccountSecret?: string; } -export type ServiceLimit = - | "FILE_SYSTEM_COUNT" - | "TOTAL_THROUGHPUT_CAPACITY" - | "TOTAL_STORAGE" - | "TOTAL_USER_INITIATED_BACKUPS" - | "TOTAL_USER_TAGS" - | "TOTAL_IN_PROGRESS_COPY_BACKUPS" - | "STORAGE_VIRTUAL_MACHINES_PER_FILE_SYSTEM" - | "VOLUMES_PER_FILE_SYSTEM" - | "TOTAL_SSD_IOPS" - | "FILE_CACHE_COUNT"; +export type ServiceLimit = "FILE_SYSTEM_COUNT" | "TOTAL_THROUGHPUT_CAPACITY" | "TOTAL_STORAGE" | "TOTAL_USER_INITIATED_BACKUPS" | "TOTAL_USER_TAGS" | "TOTAL_IN_PROGRESS_COPY_BACKUPS" | "STORAGE_VIRTUAL_MACHINES_PER_FILE_SYSTEM" | "VOLUMES_PER_FILE_SYSTEM" | "TOTAL_SSD_IOPS" | "FILE_CACHE_COUNT"; export declare class ServiceLimitExceeded extends EffectData.TaggedError( "ServiceLimitExceeded", )<{ @@ -2137,11 +1790,7 @@ export type SnapshotFilterValues = Array; export type SnapshotId = string; export type SnapshotIds = Array; -export type SnapshotLifecycle = - | "PENDING" - | "CREATING" - | "DELETING" - | "AVAILABLE"; +export type SnapshotLifecycle = "PENDING" | "CREATING" | "DELETING" | "AVAILABLE"; export type SnapshotName = string; export declare class SnapshotNotFound extends EffectData.TaggedError( @@ -2169,15 +1818,7 @@ export interface StartMisconfiguredStateRecoveryResponse { } export type StartTime = Date | string; -export type Status = - | "FAILED" - | "IN_PROGRESS" - | "PENDING" - | "COMPLETED" - | "UPDATED_OPTIMIZING" - | "OPTIMIZING" - | "PAUSED" - | "CANCELLED"; +export type Status = "FAILED" | "IN_PROGRESS" | "PENDING" | "COMPLETED" | "UPDATED_OPTIMIZING" | "OPTIMIZING" | "PAUSED" | "CANCELLED"; export type StorageCapacity = number; export type StorageType = "SSD" | "HDD" | "INTELLIGENT_TIERING"; @@ -2208,13 +1849,7 @@ export type StorageVirtualMachineFilterValues = Array; export type StorageVirtualMachineId = string; export type StorageVirtualMachineIds = Array; -export type StorageVirtualMachineLifecycle = - | "CREATED" - | "CREATING" - | "DELETING" - | "FAILED" - | "MISCONFIGURED" - | "PENDING"; +export type StorageVirtualMachineLifecycle = "CREATED" | "CREATING" | "DELETING" | "FAILED" | "MISCONFIGURED" | "PENDING"; export type StorageVirtualMachineName = string; export declare class StorageVirtualMachineNotFound extends EffectData.TaggedError( @@ -2222,16 +1857,9 @@ export declare class StorageVirtualMachineNotFound extends EffectData.TaggedErro )<{ readonly Message?: string; }> {} -export type StorageVirtualMachineRootVolumeSecurityStyle = - | "UNIX" - | "NTFS" - | "MIXED"; +export type StorageVirtualMachineRootVolumeSecurityStyle = "UNIX" | "NTFS" | "MIXED"; export type StorageVirtualMachines = Array; -export type StorageVirtualMachineSubtype = - | "DEFAULT" - | "DP_DESTINATION" - | "SYNC_DESTINATION" - | "SYNC_SOURCE"; +export type StorageVirtualMachineSubtype = "DEFAULT" | "DP_DESTINATION" | "SYNC_DESTINATION" | "SYNC_SOURCE"; export type SubDirectoriesPaths = Array; export type SubnetId = string; @@ -2264,7 +1892,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -2302,7 +1931,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDataRepositoryAssociationRequest { AssociationId: string; ClientRequestToken?: string; @@ -2410,10 +2040,7 @@ export interface UpdateOpenZFSVolumeConfiguration { UserAndGroupQuotas?: Array; ReadOnly?: boolean; } -export type UpdateOpenZFSVolumeOption = - | "DELETE_INTERMEDIATE_SNAPSHOTS" - | "DELETE_CLONED_VOLUMES" - | "DELETE_INTERMEDIATE_DATA"; +export type UpdateOpenZFSVolumeOption = "DELETE_INTERMEDIATE_SNAPSHOTS" | "DELETE_CLONED_VOLUMES" | "DELETE_INTERMEDIATE_DATA"; export type UpdateOpenZFSVolumeOptions = Array; export interface UpdateSharedVpcConfigurationRequest { EnableFsxRouteTableUpdatesFromParticipantAccounts?: string; @@ -2496,14 +2123,7 @@ export type VolumeFilterValues = Array; export type VolumeId = string; export type VolumeIds = Array; -export type VolumeLifecycle = - | "CREATING" - | "CREATED" - | "DELETING" - | "FAILED" - | "MISCONFIGURED" - | "PENDING" - | "AVAILABLE"; +export type VolumeLifecycle = "CREATING" | "CREATED" | "DELETING" | "FAILED" | "MISCONFIGURED" | "PENDING" | "AVAILABLE"; export type VolumeName = string; export declare class VolumeNotFound extends EffectData.TaggedError( @@ -2520,11 +2140,7 @@ export type VpcId = string; export type WeeklyTime = string; -export type WindowsAccessAuditLogLevel = - | "DISABLED" - | "SUCCESS_ONLY" - | "FAILURE_ONLY" - | "SUCCESS_AND_FAILURE"; +export type WindowsAccessAuditLogLevel = "DISABLED" | "SUCCESS_ONLY" | "FAILURE_ONLY" | "SUCCESS_AND_FAILURE"; export interface WindowsAuditLogConfiguration { FileAccessAuditLogLevel: WindowsAccessAuditLogLevel; FileShareAccessAuditLogLevel: WindowsAccessAuditLogLevel; @@ -2535,10 +2151,7 @@ export interface WindowsAuditLogCreateConfiguration { FileShareAccessAuditLogLevel: WindowsAccessAuditLogLevel; AuditLogDestination?: string; } -export type WindowsDeploymentType = - | "MULTI_AZ_1" - | "SINGLE_AZ_1" - | "SINGLE_AZ_2"; +export type WindowsDeploymentType = "MULTI_AZ_1" | "SINGLE_AZ_1" | "SINGLE_AZ_2"; export interface WindowsFileSystemConfiguration { ActiveDirectoryId?: string; SelfManagedActiveDirectoryConfiguration?: SelfManagedActiveDirectoryAttributes; @@ -2930,7 +2543,10 @@ export declare namespace DescribeS3AccessPointAttachments { export declare namespace DescribeSharedVpcConfiguration { export type Input = DescribeSharedVpcConfigurationRequest; export type Output = DescribeSharedVpcConfigurationResponse; - export type Error = BadRequest | InternalServerError | CommonAwsError; + export type Error = + | BadRequest + | InternalServerError + | CommonAwsError; } export declare namespace DescribeSnapshots { @@ -3138,45 +2754,5 @@ export declare namespace UpdateVolume { | CommonAwsError; } -export type FSxErrors = - | AccessPointAlreadyOwnedByYou - | ActiveDirectoryError - | BackupBeingCopied - | BackupInProgress - | BackupNotFound - | BackupRestoring - | BadRequest - | DataRepositoryAssociationNotFound - | DataRepositoryTaskEnded - | DataRepositoryTaskExecuting - | DataRepositoryTaskNotFound - | FileCacheNotFound - | FileSystemNotFound - | IncompatibleParameterError - | IncompatibleRegionForMultiAZ - | InternalServerError - | InvalidAccessPoint - | InvalidDataRepositoryType - | InvalidDestinationKmsKey - | InvalidExportPath - | InvalidImportPath - | InvalidNetworkSettings - | InvalidPerUnitStorageThroughput - | InvalidRegion - | InvalidRequest - | InvalidSourceKmsKey - | MissingFileCacheConfiguration - | MissingFileSystemConfiguration - | MissingVolumeConfiguration - | NotServiceResourceError - | ResourceDoesNotSupportTagging - | ResourceNotFound - | S3AccessPointAttachmentNotFound - | ServiceLimitExceeded - | SnapshotNotFound - | SourceBackupUnavailable - | StorageVirtualMachineNotFound - | TooManyAccessPoints - | UnsupportedOperation - | VolumeNotFound - | CommonAwsError; +export type FSxErrors = AccessPointAlreadyOwnedByYou | ActiveDirectoryError | BackupBeingCopied | BackupInProgress | BackupNotFound | BackupRestoring | BadRequest | DataRepositoryAssociationNotFound | DataRepositoryTaskEnded | DataRepositoryTaskExecuting | DataRepositoryTaskNotFound | FileCacheNotFound | FileSystemNotFound | IncompatibleParameterError | IncompatibleRegionForMultiAZ | InternalServerError | InvalidAccessPoint | InvalidDataRepositoryType | InvalidDestinationKmsKey | InvalidExportPath | InvalidImportPath | InvalidNetworkSettings | InvalidPerUnitStorageThroughput | InvalidRegion | InvalidRequest | InvalidSourceKmsKey | MissingFileCacheConfiguration | MissingFileSystemConfiguration | MissingVolumeConfiguration | NotServiceResourceError | ResourceDoesNotSupportTagging | ResourceNotFound | S3AccessPointAttachmentNotFound | ServiceLimitExceeded | SnapshotNotFound | SourceBackupUnavailable | StorageVirtualMachineNotFound | TooManyAccessPoints | UnsupportedOperation | VolumeNotFound | CommonAwsError; + diff --git a/src/services/gamelift/index.ts b/src/services/gamelift/index.ts index dbbe911b..7ebe40cc 100644 --- a/src/services/gamelift/index.ts +++ b/src/services/gamelift/index.ts @@ -5,26 +5,7 @@ import type { GameLift as _GameLiftClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/gamelift/types.ts b/src/services/gamelift/types.ts index 601339b8..7a1f2147 100644 --- a/src/services/gamelift/types.ts +++ b/src/services/gamelift/types.ts @@ -7,1282 +7,709 @@ export declare class GameLift extends AWSServiceClient { input: AcceptMatchInput, ): Effect.Effect< AcceptMatchOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnsupportedRegionException | CommonAwsError >; claimGameServer( input: ClaimGameServerInput, ): Effect.Effect< ClaimGameServerOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | NotFoundException - | OutOfCapacityException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | NotFoundException | OutOfCapacityException | UnauthorizedException | CommonAwsError >; createAlias( input: CreateAliasInput, ): Effect.Effect< CreateAliasOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | LimitExceededException | TaggingFailedException | UnauthorizedException | CommonAwsError >; createBuild( input: CreateBuildInput, ): Effect.Effect< CreateBuildOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | TaggingFailedException | UnauthorizedException | CommonAwsError >; createContainerFleet( input: CreateContainerFleetInput, ): Effect.Effect< CreateContainerFleetOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | TaggingFailedException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | LimitExceededException | TaggingFailedException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; createContainerGroupDefinition( input: CreateContainerGroupDefinitionInput, ): Effect.Effect< CreateContainerGroupDefinitionOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | TaggingFailedException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | LimitExceededException | TaggingFailedException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; createFleet( input: CreateFleetInput, ): Effect.Effect< CreateFleetOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | NotReadyException - | TaggingFailedException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | LimitExceededException | NotFoundException | NotReadyException | TaggingFailedException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; createFleetLocations( input: CreateFleetLocationsInput, ): Effect.Effect< CreateFleetLocationsOutput, - | ConflictException - | InternalServiceException - | InvalidFleetStatusException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | NotReadyException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + ConflictException | InternalServiceException | InvalidFleetStatusException | InvalidRequestException | LimitExceededException | NotFoundException | NotReadyException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; createGameServerGroup( input: CreateGameServerGroupInput, ): Effect.Effect< CreateGameServerGroupOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | LimitExceededException | UnauthorizedException | CommonAwsError >; createGameSession( input: CreateGameSessionInput, ): Effect.Effect< CreateGameSessionOutput, - | ConflictException - | FleetCapacityExceededException - | IdempotentParameterMismatchException - | InternalServiceException - | InvalidFleetStatusException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | TerminalRoutingStrategyException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + ConflictException | FleetCapacityExceededException | IdempotentParameterMismatchException | InternalServiceException | InvalidFleetStatusException | InvalidRequestException | LimitExceededException | NotFoundException | TerminalRoutingStrategyException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; createGameSessionQueue( input: CreateGameSessionQueueInput, ): Effect.Effect< CreateGameSessionQueueOutput, - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | LimitExceededException | NotFoundException | TaggingFailedException | UnauthorizedException | CommonAwsError >; createLocation( input: CreateLocationInput, ): Effect.Effect< CreateLocationOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | LimitExceededException | TaggingFailedException | UnauthorizedException | CommonAwsError >; createMatchmakingConfiguration( input: CreateMatchmakingConfigurationInput, ): Effect.Effect< CreateMatchmakingConfigurationOutput, - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | TaggingFailedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | LimitExceededException | NotFoundException | TaggingFailedException | UnsupportedRegionException | CommonAwsError >; createMatchmakingRuleSet( input: CreateMatchmakingRuleSetInput, ): Effect.Effect< CreateMatchmakingRuleSetOutput, - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | TaggingFailedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | LimitExceededException | TaggingFailedException | UnsupportedRegionException | CommonAwsError >; createPlayerSession( input: CreatePlayerSessionInput, ): Effect.Effect< CreatePlayerSessionOutput, - | GameSessionFullException - | InternalServiceException - | InvalidGameSessionStatusException - | InvalidRequestException - | NotFoundException - | TerminalRoutingStrategyException - | UnauthorizedException - | CommonAwsError + GameSessionFullException | InternalServiceException | InvalidGameSessionStatusException | InvalidRequestException | NotFoundException | TerminalRoutingStrategyException | UnauthorizedException | CommonAwsError >; createPlayerSessions( input: CreatePlayerSessionsInput, ): Effect.Effect< CreatePlayerSessionsOutput, - | GameSessionFullException - | InternalServiceException - | InvalidGameSessionStatusException - | InvalidRequestException - | NotFoundException - | TerminalRoutingStrategyException - | UnauthorizedException - | CommonAwsError + GameSessionFullException | InternalServiceException | InvalidGameSessionStatusException | InvalidRequestException | NotFoundException | TerminalRoutingStrategyException | UnauthorizedException | CommonAwsError >; createScript( input: CreateScriptInput, ): Effect.Effect< CreateScriptOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | TaggingFailedException | UnauthorizedException | CommonAwsError >; createVpcPeeringAuthorization( input: CreateVpcPeeringAuthorizationInput, ): Effect.Effect< CreateVpcPeeringAuthorizationOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; createVpcPeeringConnection( input: CreateVpcPeeringConnectionInput, ): Effect.Effect< CreateVpcPeeringConnectionOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteAlias( input: DeleteAliasInput, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnauthorizedException | CommonAwsError >; deleteBuild( input: DeleteBuildInput, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnauthorizedException | CommonAwsError >; deleteContainerFleet( input: DeleteContainerFleetInput, ): Effect.Effect< DeleteContainerFleetOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; deleteContainerGroupDefinition( input: DeleteContainerGroupDefinitionInput, ): Effect.Effect< DeleteContainerGroupDefinitionOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; deleteFleet( input: DeleteFleetInput, ): Effect.Effect< {}, - | InternalServiceException - | InvalidFleetStatusException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidFleetStatusException | InvalidRequestException | NotFoundException | TaggingFailedException | UnauthorizedException | CommonAwsError >; deleteFleetLocations( input: DeleteFleetLocationsInput, ): Effect.Effect< DeleteFleetLocationsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; deleteGameServerGroup( input: DeleteGameServerGroupInput, ): Effect.Effect< DeleteGameServerGroupOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteGameSessionQueue( input: DeleteGameSessionQueueInput, ): Effect.Effect< DeleteGameSessionQueueOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnauthorizedException | CommonAwsError >; deleteLocation( input: DeleteLocationInput, ): Effect.Effect< DeleteLocationOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteMatchmakingConfiguration( input: DeleteMatchmakingConfigurationInput, ): Effect.Effect< DeleteMatchmakingConfigurationOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnsupportedRegionException | CommonAwsError >; deleteMatchmakingRuleSet( input: DeleteMatchmakingRuleSetInput, ): Effect.Effect< DeleteMatchmakingRuleSetOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnsupportedRegionException | CommonAwsError >; deleteScalingPolicy( input: DeleteScalingPolicyInput, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; deleteScript( input: DeleteScriptInput, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnauthorizedException | CommonAwsError >; deleteVpcPeeringAuthorization( input: DeleteVpcPeeringAuthorizationInput, ): Effect.Effect< DeleteVpcPeeringAuthorizationOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; deleteVpcPeeringConnection( input: DeleteVpcPeeringConnectionInput, ): Effect.Effect< DeleteVpcPeeringConnectionOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; deregisterCompute( input: DeregisterComputeInput, ): Effect.Effect< DeregisterComputeOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; deregisterGameServer( input: DeregisterGameServerInput, ): Effect.Effect< {}, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeAlias( input: DescribeAliasInput, ): Effect.Effect< DescribeAliasOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeBuild( input: DescribeBuildInput, ): Effect.Effect< DescribeBuildOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeCompute( input: DescribeComputeInput, ): Effect.Effect< DescribeComputeOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeContainerFleet( input: DescribeContainerFleetInput, ): Effect.Effect< DescribeContainerFleetOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeContainerGroupDefinition( input: DescribeContainerGroupDefinitionInput, ): Effect.Effect< DescribeContainerGroupDefinitionOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeEC2InstanceLimits( input: DescribeEC2InstanceLimitsInput, ): Effect.Effect< DescribeEC2InstanceLimitsOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeFleetAttributes( input: DescribeFleetAttributesInput, ): Effect.Effect< DescribeFleetAttributesOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeFleetCapacity( input: DescribeFleetCapacityInput, ): Effect.Effect< DescribeFleetCapacityOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeFleetDeployment( input: DescribeFleetDeploymentInput, ): Effect.Effect< DescribeFleetDeploymentOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeFleetEvents( input: DescribeFleetEventsInput, ): Effect.Effect< DescribeFleetEventsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeFleetLocationAttributes( input: DescribeFleetLocationAttributesInput, ): Effect.Effect< DescribeFleetLocationAttributesOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeFleetLocationCapacity( input: DescribeFleetLocationCapacityInput, ): Effect.Effect< DescribeFleetLocationCapacityOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeFleetLocationUtilization( input: DescribeFleetLocationUtilizationInput, ): Effect.Effect< DescribeFleetLocationUtilizationOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeFleetPortSettings( input: DescribeFleetPortSettingsInput, ): Effect.Effect< DescribeFleetPortSettingsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeFleetUtilization( input: DescribeFleetUtilizationInput, ): Effect.Effect< DescribeFleetUtilizationOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeGameServer( input: DescribeGameServerInput, ): Effect.Effect< DescribeGameServerOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeGameServerGroup( input: DescribeGameServerGroupInput, ): Effect.Effect< DescribeGameServerGroupOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeGameServerInstances( input: DescribeGameServerInstancesInput, ): Effect.Effect< DescribeGameServerInstancesOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeGameSessionDetails( input: DescribeGameSessionDetailsInput, ): Effect.Effect< DescribeGameSessionDetailsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TerminalRoutingStrategyException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TerminalRoutingStrategyException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeGameSessionPlacement( input: DescribeGameSessionPlacementInput, ): Effect.Effect< DescribeGameSessionPlacementOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeGameSessionQueues( input: DescribeGameSessionQueuesInput, ): Effect.Effect< DescribeGameSessionQueuesOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeGameSessions( input: DescribeGameSessionsInput, ): Effect.Effect< DescribeGameSessionsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TerminalRoutingStrategyException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TerminalRoutingStrategyException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeInstances( input: DescribeInstancesInput, ): Effect.Effect< DescribeInstancesOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeMatchmaking( input: DescribeMatchmakingInput, ): Effect.Effect< DescribeMatchmakingOutput, - | InternalServiceException - | InvalidRequestException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnsupportedRegionException | CommonAwsError >; describeMatchmakingConfigurations( input: DescribeMatchmakingConfigurationsInput, ): Effect.Effect< DescribeMatchmakingConfigurationsOutput, - | InternalServiceException - | InvalidRequestException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnsupportedRegionException | CommonAwsError >; describeMatchmakingRuleSets( input: DescribeMatchmakingRuleSetsInput, ): Effect.Effect< DescribeMatchmakingRuleSetsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnsupportedRegionException | CommonAwsError >; describePlayerSessions( input: DescribePlayerSessionsInput, ): Effect.Effect< DescribePlayerSessionsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeRuntimeConfiguration( input: DescribeRuntimeConfigurationInput, ): Effect.Effect< DescribeRuntimeConfigurationOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeScalingPolicies( input: DescribeScalingPoliciesInput, ): Effect.Effect< DescribeScalingPoliciesOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; describeScript( input: DescribeScriptInput, - ): Effect.Effect< - DescribeScriptOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + ): Effect.Effect< + DescribeScriptOutput, + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; describeVpcPeeringAuthorizations( input: DescribeVpcPeeringAuthorizationsInput, ): Effect.Effect< DescribeVpcPeeringAuthorizationsOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | CommonAwsError >; describeVpcPeeringConnections( input: DescribeVpcPeeringConnectionsInput, ): Effect.Effect< DescribeVpcPeeringConnectionsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; getComputeAccess( input: GetComputeAccessInput, ): Effect.Effect< GetComputeAccessOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; getComputeAuthToken( input: GetComputeAuthTokenInput, ): Effect.Effect< GetComputeAuthTokenOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; getGameSessionLogUrl( input: GetGameSessionLogUrlInput, ): Effect.Effect< GetGameSessionLogUrlOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; getInstanceAccess( input: GetInstanceAccessInput, ): Effect.Effect< GetInstanceAccessOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; listAliases( input: ListAliasesInput, ): Effect.Effect< ListAliasesOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | CommonAwsError >; listBuilds( input: ListBuildsInput, ): Effect.Effect< ListBuildsOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | CommonAwsError >; listCompute( input: ListComputeInput, ): Effect.Effect< ListComputeOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; listContainerFleets( input: ListContainerFleetsInput, ): Effect.Effect< ListContainerFleetsOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; listContainerGroupDefinitions( input: ListContainerGroupDefinitionsInput, ): Effect.Effect< ListContainerGroupDefinitionsOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; listContainerGroupDefinitionVersions( input: ListContainerGroupDefinitionVersionsInput, ): Effect.Effect< ListContainerGroupDefinitionVersionsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; listFleetDeployments( input: ListFleetDeploymentsInput, ): Effect.Effect< ListFleetDeploymentsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; listFleets( input: ListFleetsInput, ): Effect.Effect< ListFleetsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; listGameServerGroups( input: ListGameServerGroupsInput, ): Effect.Effect< ListGameServerGroupsOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | CommonAwsError >; listGameServers( input: ListGameServersInput, ): Effect.Effect< ListGameServersOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | CommonAwsError >; listLocations( input: ListLocationsInput, ): Effect.Effect< ListLocationsOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | CommonAwsError >; listScripts( input: ListScriptsInput, ): Effect.Effect< ListScriptsOutput, - | InternalServiceException - | InvalidRequestException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnauthorizedException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnsupportedRegionException | CommonAwsError >; putScalingPolicy( input: PutScalingPolicyInput, ): Effect.Effect< PutScalingPolicyOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; registerCompute( input: RegisterComputeInput, ): Effect.Effect< RegisterComputeOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | NotReadyException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | LimitExceededException | NotReadyException | UnauthorizedException | CommonAwsError >; registerGameServer( input: RegisterGameServerInput, ): Effect.Effect< RegisterGameServerOutput, - | ConflictException - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidRequestException | LimitExceededException | UnauthorizedException | CommonAwsError >; requestUploadCredentials( input: RequestUploadCredentialsInput, ): Effect.Effect< RequestUploadCredentialsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; resolveAlias( input: ResolveAliasInput, ): Effect.Effect< ResolveAliasOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TerminalRoutingStrategyException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TerminalRoutingStrategyException | UnauthorizedException | CommonAwsError >; resumeGameServerGroup( input: ResumeGameServerGroupInput, ): Effect.Effect< ResumeGameServerGroupOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; searchGameSessions( input: SearchGameSessionsInput, ): Effect.Effect< SearchGameSessionsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TerminalRoutingStrategyException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TerminalRoutingStrategyException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; startFleetActions( input: StartFleetActionsInput, ): Effect.Effect< StartFleetActionsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; startGameSessionPlacement( input: StartGameSessionPlacementInput, ): Effect.Effect< StartGameSessionPlacementOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; startMatchBackfill( input: StartMatchBackfillInput, ): Effect.Effect< StartMatchBackfillOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnsupportedRegionException | CommonAwsError >; startMatchmaking( input: StartMatchmakingInput, ): Effect.Effect< StartMatchmakingOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnsupportedRegionException | CommonAwsError >; stopFleetActions( input: StopFleetActionsInput, ): Effect.Effect< StopFleetActionsOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; stopGameSessionPlacement( input: StopGameSessionPlacementInput, ): Effect.Effect< StopGameSessionPlacementOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; stopMatchmaking( input: StopMatchmakingInput, ): Effect.Effect< StopMatchmakingOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnsupportedRegionException | CommonAwsError >; suspendGameServerGroup( input: SuspendGameServerGroupInput, ): Effect.Effect< SuspendGameServerGroupOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnsupportedRegionException | CommonAwsError >; terminateGameSession( input: TerminateGameSessionInput, ): Effect.Effect< TerminateGameSessionOutput, - | InternalServiceException - | InvalidGameSessionStatusException - | InvalidRequestException - | NotFoundException - | NotReadyException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidGameSessionStatusException | InvalidRequestException | NotFoundException | NotReadyException | UnauthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | TaggingFailedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | TaggingFailedException | UnsupportedRegionException | CommonAwsError >; updateAlias( input: UpdateAliasInput, ): Effect.Effect< UpdateAliasOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; updateBuild( input: UpdateBuildInput, ): Effect.Effect< UpdateBuildOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; updateContainerFleet( input: UpdateContainerFleetInput, ): Effect.Effect< UpdateContainerFleetOutput, - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | NotReadyException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | LimitExceededException | NotFoundException | NotReadyException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; updateContainerGroupDefinition( input: UpdateContainerGroupDefinitionInput, ): Effect.Effect< UpdateContainerGroupDefinitionOutput, - | InternalServiceException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | LimitExceededException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; updateFleetAttributes( input: UpdateFleetAttributesInput, ): Effect.Effect< UpdateFleetAttributesOutput, - | ConflictException - | InternalServiceException - | InvalidFleetStatusException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidFleetStatusException | InvalidRequestException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; updateFleetCapacity( input: UpdateFleetCapacityInput, ): Effect.Effect< UpdateFleetCapacityOutput, - | ConflictException - | InternalServiceException - | InvalidFleetStatusException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError + ConflictException | InternalServiceException | InvalidFleetStatusException | InvalidRequestException | LimitExceededException | NotFoundException | UnauthorizedException | UnsupportedRegionException | CommonAwsError >; updateFleetPortSettings( input: UpdateFleetPortSettingsInput, ): Effect.Effect< UpdateFleetPortSettingsOutput, - | ConflictException - | InternalServiceException - | InvalidFleetStatusException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidFleetStatusException | InvalidRequestException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; updateGameServer( input: UpdateGameServerInput, ): Effect.Effect< UpdateGameServerOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; updateGameServerGroup( input: UpdateGameServerGroupInput, ): Effect.Effect< UpdateGameServerGroupOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; updateGameSession( input: UpdateGameSessionInput, ): Effect.Effect< UpdateGameSessionOutput, - | ConflictException - | InternalServiceException - | InvalidGameSessionStatusException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + ConflictException | InternalServiceException | InvalidGameSessionStatusException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; updateGameSessionQueue( input: UpdateGameSessionQueueInput, ): Effect.Effect< UpdateGameSessionQueueOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; updateMatchmakingConfiguration( input: UpdateMatchmakingConfigurationInput, ): Effect.Effect< UpdateMatchmakingConfigurationOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnsupportedRegionException | CommonAwsError >; updateRuntimeConfiguration( input: UpdateRuntimeConfigurationInput, ): Effect.Effect< UpdateRuntimeConfigurationOutput, - | InternalServiceException - | InvalidFleetStatusException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidFleetStatusException | InvalidRequestException | LimitExceededException | NotFoundException | UnauthorizedException | CommonAwsError >; updateScript( input: UpdateScriptInput, ): Effect.Effect< UpdateScriptOutput, - | InternalServiceException - | InvalidRequestException - | NotFoundException - | UnauthorizedException - | CommonAwsError + InternalServiceException | InvalidRequestException | NotFoundException | UnauthorizedException | CommonAwsError >; validateMatchmakingRuleSet( input: ValidateMatchmakingRuleSetInput, ): Effect.Effect< ValidateMatchmakingRuleSetOutput, - | InternalServiceException - | InvalidRequestException - | UnsupportedRegionException - | CommonAwsError + InternalServiceException | InvalidRequestException | UnsupportedRegionException | CommonAwsError >; } @@ -1294,7 +721,8 @@ export interface AcceptMatchInput { PlayerIds: Array; AcceptanceType: AcceptanceType; } -export interface AcceptMatchOutput {} +export interface AcceptMatchOutput { +} export interface Alias { AliasId?: string; Name?: string; @@ -1332,10 +760,7 @@ export interface AwsCredentials { SessionToken?: string; } export type BackfillMode = "AUTOMATIC" | "MANUAL"; -export type BalancingStrategy = - | "SPOT_ONLY" - | "SPOT_PREFERRED" - | "ON_DEMAND_ONLY"; +export type BalancingStrategy = "SPOT_ONLY" | "SPOT_PREFERRED" | "ON_DEMAND_ONLY"; export type BooleanModel = boolean; export interface Build { @@ -1373,11 +798,7 @@ export interface ClaimGameServerInput { export interface ClaimGameServerOutput { GameServer?: GameServer; } -export type ComparisonOperatorType = - | "GreaterThanOrEqualToThreshold" - | "GreaterThanThreshold" - | "LessThanThreshold" - | "LessThanOrEqualToThreshold"; +export type ComparisonOperatorType = "GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold"; export interface Compute { FleetId?: string; FleetArn?: string; @@ -1426,11 +847,7 @@ export interface ContainerDependency { ContainerName: string; Condition: ContainerDependencyCondition; } -export type ContainerDependencyCondition = - | "START" - | "COMPLETE" - | "SUCCESS" - | "HEALTHY"; +export type ContainerDependencyCondition = "START" | "COMPLETE" | "SUCCESS" | "HEALTHY"; export type ContainerDependencyList = Array; export interface ContainerEnvironment { Name: string; @@ -1467,28 +884,11 @@ export interface ContainerFleetLocationAttributes { Location?: string; Status?: ContainerFleetLocationStatus; } -export type ContainerFleetLocationAttributesList = - Array; -export type ContainerFleetLocationStatus = - | "PENDING" - | "CREATING" - | "CREATED" - | "ACTIVATING" - | "ACTIVE" - | "UPDATING" - | "DELETING"; -export type ContainerFleetRemoveAttribute = - "PER_INSTANCE_CONTAINER_GROUP_DEFINITION"; -export type ContainerFleetRemoveAttributeList = - Array; -export type ContainerFleetStatus = - | "PENDING" - | "CREATING" - | "CREATED" - | "ACTIVATING" - | "ACTIVE" - | "UPDATING" - | "DELETING"; +export type ContainerFleetLocationAttributesList = Array; +export type ContainerFleetLocationStatus = "PENDING" | "CREATING" | "CREATED" | "ACTIVATING" | "ACTIVE" | "UPDATING" | "DELETING"; +export type ContainerFleetRemoveAttribute = "PER_INSTANCE_CONTAINER_GROUP_DEFINITION"; +export type ContainerFleetRemoveAttributeList = Array; +export type ContainerFleetStatus = "PENDING" | "CREATING" | "CREATED" | "ACTIVATING" | "ACTIVE" | "UPDATING" | "DELETING"; export interface ContainerGroupDefinition { ContainerGroupDefinitionArn?: string; CreationTime?: Date | string; @@ -1772,7 +1172,8 @@ export interface CreateVpcPeeringConnectionInput { PeerVpcAwsAccountId: string; PeerVpcId: string; } -export interface CreateVpcPeeringConnectionOutput {} +export interface CreateVpcPeeringConnectionOutput { +} export type CustomEventData = string; export type CustomInputLocationStringModel = string; @@ -1788,13 +1189,15 @@ export interface DeleteBuildInput { export interface DeleteContainerFleetInput { FleetId: string; } -export interface DeleteContainerFleetOutput {} +export interface DeleteContainerFleetOutput { +} export interface DeleteContainerGroupDefinitionInput { Name: string; VersionNumber?: number; VersionCountToRetain?: number; } -export interface DeleteContainerGroupDefinitionOutput {} +export interface DeleteContainerGroupDefinitionOutput { +} export interface DeleteFleetInput { FleetId: string; } @@ -1817,19 +1220,23 @@ export interface DeleteGameServerGroupOutput { export interface DeleteGameSessionQueueInput { Name: string; } -export interface DeleteGameSessionQueueOutput {} +export interface DeleteGameSessionQueueOutput { +} export interface DeleteLocationInput { LocationName: string; } -export interface DeleteLocationOutput {} +export interface DeleteLocationOutput { +} export interface DeleteMatchmakingConfigurationInput { Name: string; } -export interface DeleteMatchmakingConfigurationOutput {} +export interface DeleteMatchmakingConfigurationOutput { +} export interface DeleteMatchmakingRuleSetInput { Name: string; } -export interface DeleteMatchmakingRuleSetOutput {} +export interface DeleteMatchmakingRuleSetOutput { +} export interface DeleteScalingPolicyInput { Name: string; FleetId: string; @@ -1841,12 +1248,14 @@ export interface DeleteVpcPeeringAuthorizationInput { GameLiftAwsAccountId: string; PeerVpcId: string; } -export interface DeleteVpcPeeringAuthorizationOutput {} +export interface DeleteVpcPeeringAuthorizationOutput { +} export interface DeleteVpcPeeringConnectionInput { FleetId: string; VpcPeeringConnectionId: string; } -export interface DeleteVpcPeeringConnectionOutput {} +export interface DeleteVpcPeeringConnectionOutput { +} export interface DeploymentConfiguration { ProtectionStrategy?: DeploymentProtectionStrategy; MinimumHealthyPercentage?: number; @@ -1858,22 +1267,14 @@ export interface DeploymentDetails { export type DeploymentId = string; export type DeploymentImpairmentStrategy = "MAINTAIN" | "ROLLBACK"; -export type DeploymentProtectionStrategy = - | "WITH_PROTECTION" - | "IGNORE_PROTECTION"; -export type DeploymentStatus = - | "IN_PROGRESS" - | "IMPAIRED" - | "COMPLETE" - | "ROLLBACK_IN_PROGRESS" - | "ROLLBACK_COMPLETE" - | "CANCELLED" - | "PENDING"; +export type DeploymentProtectionStrategy = "WITH_PROTECTION" | "IGNORE_PROTECTION"; +export type DeploymentStatus = "IN_PROGRESS" | "IMPAIRED" | "COMPLETE" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "CANCELLED" | "PENDING"; export interface DeregisterComputeInput { FleetId: string; ComputeName: string; } -export interface DeregisterComputeOutput {} +export interface DeregisterComputeOutput { +} export interface DeregisterGameServerInput { GameServerGroupName: string; GameServerId: string; @@ -2135,7 +1536,8 @@ export interface DescribeScriptInput { export interface DescribeScriptOutput { Script?: Script; } -export interface DescribeVpcPeeringAuthorizationsInput {} +export interface DescribeVpcPeeringAuthorizationsInput { +} export interface DescribeVpcPeeringAuthorizationsOutput { VpcPeeringAuthorizations?: Array; } @@ -2174,512 +1576,7 @@ export interface EC2InstanceLimit { Location?: string; } export type EC2InstanceLimitList = Array; -export type EC2InstanceType = - | "t2.micro" - | "t2.small" - | "t2.medium" - | "t2.large" - | "c3.large" - | "c3.xlarge" - | "c3.2xlarge" - | "c3.4xlarge" - | "c3.8xlarge" - | "c4.large" - | "c4.xlarge" - | "c4.2xlarge" - | "c4.4xlarge" - | "c4.8xlarge" - | "c5.large" - | "c5.xlarge" - | "c5.2xlarge" - | "c5.4xlarge" - | "c5.9xlarge" - | "c5.12xlarge" - | "c5.18xlarge" - | "c5.24xlarge" - | "c5a.large" - | "c5a.xlarge" - | "c5a.2xlarge" - | "c5a.4xlarge" - | "c5a.8xlarge" - | "c5a.12xlarge" - | "c5a.16xlarge" - | "c5a.24xlarge" - | "r3.large" - | "r3.xlarge" - | "r3.2xlarge" - | "r3.4xlarge" - | "r3.8xlarge" - | "r4.large" - | "r4.xlarge" - | "r4.2xlarge" - | "r4.4xlarge" - | "r4.8xlarge" - | "r4.16xlarge" - | "r5.large" - | "r5.xlarge" - | "r5.2xlarge" - | "r5.4xlarge" - | "r5.8xlarge" - | "r5.12xlarge" - | "r5.16xlarge" - | "r5.24xlarge" - | "r5a.large" - | "r5a.xlarge" - | "r5a.2xlarge" - | "r5a.4xlarge" - | "r5a.8xlarge" - | "r5a.12xlarge" - | "r5a.16xlarge" - | "r5a.24xlarge" - | "m3.medium" - | "m3.large" - | "m3.xlarge" - | "m3.2xlarge" - | "m4.large" - | "m4.xlarge" - | "m4.2xlarge" - | "m4.4xlarge" - | "m4.10xlarge" - | "m5.large" - | "m5.xlarge" - | "m5.2xlarge" - | "m5.4xlarge" - | "m5.8xlarge" - | "m5.12xlarge" - | "m5.16xlarge" - | "m5.24xlarge" - | "m5a.large" - | "m5a.xlarge" - | "m5a.2xlarge" - | "m5a.4xlarge" - | "m5a.8xlarge" - | "m5a.12xlarge" - | "m5a.16xlarge" - | "m5a.24xlarge" - | "c5d.large" - | "c5d.xlarge" - | "c5d.2xlarge" - | "c5d.4xlarge" - | "c5d.9xlarge" - | "c5d.12xlarge" - | "c5d.18xlarge" - | "c5d.24xlarge" - | "c6a.large" - | "c6a.xlarge" - | "c6a.2xlarge" - | "c6a.4xlarge" - | "c6a.8xlarge" - | "c6a.12xlarge" - | "c6a.16xlarge" - | "c6a.24xlarge" - | "c6i.large" - | "c6i.xlarge" - | "c6i.2xlarge" - | "c6i.4xlarge" - | "c6i.8xlarge" - | "c6i.12xlarge" - | "c6i.16xlarge" - | "c6i.24xlarge" - | "r5d.large" - | "r5d.xlarge" - | "r5d.2xlarge" - | "r5d.4xlarge" - | "r5d.8xlarge" - | "r5d.12xlarge" - | "r5d.16xlarge" - | "r5d.24xlarge" - | "m6g.medium" - | "m6g.large" - | "m6g.xlarge" - | "m6g.2xlarge" - | "m6g.4xlarge" - | "m6g.8xlarge" - | "m6g.12xlarge" - | "m6g.16xlarge" - | "c6g.medium" - | "c6g.large" - | "c6g.xlarge" - | "c6g.2xlarge" - | "c6g.4xlarge" - | "c6g.8xlarge" - | "c6g.12xlarge" - | "c6g.16xlarge" - | "r6g.medium" - | "r6g.large" - | "r6g.xlarge" - | "r6g.2xlarge" - | "r6g.4xlarge" - | "r6g.8xlarge" - | "r6g.12xlarge" - | "r6g.16xlarge" - | "c6gn.medium" - | "c6gn.large" - | "c6gn.xlarge" - | "c6gn.2xlarge" - | "c6gn.4xlarge" - | "c6gn.8xlarge" - | "c6gn.12xlarge" - | "c6gn.16xlarge" - | "c7g.medium" - | "c7g.large" - | "c7g.xlarge" - | "c7g.2xlarge" - | "c7g.4xlarge" - | "c7g.8xlarge" - | "c7g.12xlarge" - | "c7g.16xlarge" - | "r7g.medium" - | "r7g.large" - | "r7g.xlarge" - | "r7g.2xlarge" - | "r7g.4xlarge" - | "r7g.8xlarge" - | "r7g.12xlarge" - | "r7g.16xlarge" - | "m7g.medium" - | "m7g.large" - | "m7g.xlarge" - | "m7g.2xlarge" - | "m7g.4xlarge" - | "m7g.8xlarge" - | "m7g.12xlarge" - | "m7g.16xlarge" - | "g5g.xlarge" - | "g5g.2xlarge" - | "g5g.4xlarge" - | "g5g.8xlarge" - | "g5g.16xlarge" - | "r6i.large" - | "r6i.xlarge" - | "r6i.2xlarge" - | "r6i.4xlarge" - | "r6i.8xlarge" - | "r6i.12xlarge" - | "r6i.16xlarge" - | "c6gd.medium" - | "c6gd.large" - | "c6gd.xlarge" - | "c6gd.2xlarge" - | "c6gd.4xlarge" - | "c6gd.8xlarge" - | "c6gd.12xlarge" - | "c6gd.16xlarge" - | "c6in.large" - | "c6in.xlarge" - | "c6in.2xlarge" - | "c6in.4xlarge" - | "c6in.8xlarge" - | "c6in.12xlarge" - | "c6in.16xlarge" - | "c7a.medium" - | "c7a.large" - | "c7a.xlarge" - | "c7a.2xlarge" - | "c7a.4xlarge" - | "c7a.8xlarge" - | "c7a.12xlarge" - | "c7a.16xlarge" - | "c7gd.medium" - | "c7gd.large" - | "c7gd.xlarge" - | "c7gd.2xlarge" - | "c7gd.4xlarge" - | "c7gd.8xlarge" - | "c7gd.12xlarge" - | "c7gd.16xlarge" - | "c7gn.medium" - | "c7gn.large" - | "c7gn.xlarge" - | "c7gn.2xlarge" - | "c7gn.4xlarge" - | "c7gn.8xlarge" - | "c7gn.12xlarge" - | "c7gn.16xlarge" - | "c7i.large" - | "c7i.xlarge" - | "c7i.2xlarge" - | "c7i.4xlarge" - | "c7i.8xlarge" - | "c7i.12xlarge" - | "c7i.16xlarge" - | "m6a.large" - | "m6a.xlarge" - | "m6a.2xlarge" - | "m6a.4xlarge" - | "m6a.8xlarge" - | "m6a.12xlarge" - | "m6a.16xlarge" - | "m6gd.medium" - | "m6gd.large" - | "m6gd.xlarge" - | "m6gd.2xlarge" - | "m6gd.4xlarge" - | "m6gd.8xlarge" - | "m6gd.12xlarge" - | "m6gd.16xlarge" - | "m6i.large" - | "m6i.xlarge" - | "m6i.2xlarge" - | "m6i.4xlarge" - | "m6i.8xlarge" - | "m6i.12xlarge" - | "m6i.16xlarge" - | "m7a.medium" - | "m7a.large" - | "m7a.xlarge" - | "m7a.2xlarge" - | "m7a.4xlarge" - | "m7a.8xlarge" - | "m7a.12xlarge" - | "m7a.16xlarge" - | "m7gd.medium" - | "m7gd.large" - | "m7gd.xlarge" - | "m7gd.2xlarge" - | "m7gd.4xlarge" - | "m7gd.8xlarge" - | "m7gd.12xlarge" - | "m7gd.16xlarge" - | "m7i.large" - | "m7i.xlarge" - | "m7i.2xlarge" - | "m7i.4xlarge" - | "m7i.8xlarge" - | "m7i.12xlarge" - | "m7i.16xlarge" - | "r6gd.medium" - | "r6gd.large" - | "r6gd.xlarge" - | "r6gd.2xlarge" - | "r6gd.4xlarge" - | "r6gd.8xlarge" - | "r6gd.12xlarge" - | "r6gd.16xlarge" - | "r7a.medium" - | "r7a.large" - | "r7a.xlarge" - | "r7a.2xlarge" - | "r7a.4xlarge" - | "r7a.8xlarge" - | "r7a.12xlarge" - | "r7a.16xlarge" - | "r7gd.medium" - | "r7gd.large" - | "r7gd.xlarge" - | "r7gd.2xlarge" - | "r7gd.4xlarge" - | "r7gd.8xlarge" - | "r7gd.12xlarge" - | "r7gd.16xlarge" - | "r7i.large" - | "r7i.xlarge" - | "r7i.2xlarge" - | "r7i.4xlarge" - | "r7i.8xlarge" - | "r7i.12xlarge" - | "r7i.16xlarge" - | "r7i.24xlarge" - | "r7i.48xlarge" - | "c5ad.large" - | "c5ad.xlarge" - | "c5ad.2xlarge" - | "c5ad.4xlarge" - | "c5ad.8xlarge" - | "c5ad.12xlarge" - | "c5ad.16xlarge" - | "c5ad.24xlarge" - | "c5n.large" - | "c5n.xlarge" - | "c5n.2xlarge" - | "c5n.4xlarge" - | "c5n.9xlarge" - | "c5n.18xlarge" - | "r5ad.large" - | "r5ad.xlarge" - | "r5ad.2xlarge" - | "r5ad.4xlarge" - | "r5ad.8xlarge" - | "r5ad.12xlarge" - | "r5ad.16xlarge" - | "r5ad.24xlarge" - | "c6id.large" - | "c6id.xlarge" - | "c6id.2xlarge" - | "c6id.4xlarge" - | "c6id.8xlarge" - | "c6id.12xlarge" - | "c6id.16xlarge" - | "c6id.24xlarge" - | "c6id.32xlarge" - | "c8g.medium" - | "c8g.large" - | "c8g.xlarge" - | "c8g.2xlarge" - | "c8g.4xlarge" - | "c8g.8xlarge" - | "c8g.12xlarge" - | "c8g.16xlarge" - | "c8g.24xlarge" - | "c8g.48xlarge" - | "m5ad.large" - | "m5ad.xlarge" - | "m5ad.2xlarge" - | "m5ad.4xlarge" - | "m5ad.8xlarge" - | "m5ad.12xlarge" - | "m5ad.16xlarge" - | "m5ad.24xlarge" - | "m5d.large" - | "m5d.xlarge" - | "m5d.2xlarge" - | "m5d.4xlarge" - | "m5d.8xlarge" - | "m5d.12xlarge" - | "m5d.16xlarge" - | "m5d.24xlarge" - | "m5dn.large" - | "m5dn.xlarge" - | "m5dn.2xlarge" - | "m5dn.4xlarge" - | "m5dn.8xlarge" - | "m5dn.12xlarge" - | "m5dn.16xlarge" - | "m5dn.24xlarge" - | "m5n.large" - | "m5n.xlarge" - | "m5n.2xlarge" - | "m5n.4xlarge" - | "m5n.8xlarge" - | "m5n.12xlarge" - | "m5n.16xlarge" - | "m5n.24xlarge" - | "m6id.large" - | "m6id.xlarge" - | "m6id.2xlarge" - | "m6id.4xlarge" - | "m6id.8xlarge" - | "m6id.12xlarge" - | "m6id.16xlarge" - | "m6id.24xlarge" - | "m6id.32xlarge" - | "m6idn.large" - | "m6idn.xlarge" - | "m6idn.2xlarge" - | "m6idn.4xlarge" - | "m6idn.8xlarge" - | "m6idn.12xlarge" - | "m6idn.16xlarge" - | "m6idn.24xlarge" - | "m6idn.32xlarge" - | "m6in.large" - | "m6in.xlarge" - | "m6in.2xlarge" - | "m6in.4xlarge" - | "m6in.8xlarge" - | "m6in.12xlarge" - | "m6in.16xlarge" - | "m6in.24xlarge" - | "m6in.32xlarge" - | "m8g.medium" - | "m8g.large" - | "m8g.xlarge" - | "m8g.2xlarge" - | "m8g.4xlarge" - | "m8g.8xlarge" - | "m8g.12xlarge" - | "m8g.16xlarge" - | "m8g.24xlarge" - | "m8g.48xlarge" - | "r5dn.large" - | "r5dn.xlarge" - | "r5dn.2xlarge" - | "r5dn.4xlarge" - | "r5dn.8xlarge" - | "r5dn.12xlarge" - | "r5dn.16xlarge" - | "r5dn.24xlarge" - | "r5n.large" - | "r5n.xlarge" - | "r5n.2xlarge" - | "r5n.4xlarge" - | "r5n.8xlarge" - | "r5n.12xlarge" - | "r5n.16xlarge" - | "r5n.24xlarge" - | "r6a.large" - | "r6a.xlarge" - | "r6a.2xlarge" - | "r6a.4xlarge" - | "r6a.8xlarge" - | "r6a.12xlarge" - | "r6a.16xlarge" - | "r6a.24xlarge" - | "r6a.32xlarge" - | "r6a.48xlarge" - | "r6id.large" - | "r6id.xlarge" - | "r6id.2xlarge" - | "r6id.4xlarge" - | "r6id.8xlarge" - | "r6id.12xlarge" - | "r6id.16xlarge" - | "r6id.24xlarge" - | "r6id.32xlarge" - | "r6idn.large" - | "r6idn.xlarge" - | "r6idn.2xlarge" - | "r6idn.4xlarge" - | "r6idn.8xlarge" - | "r6idn.12xlarge" - | "r6idn.16xlarge" - | "r6idn.24xlarge" - | "r6idn.32xlarge" - | "r6in.large" - | "r6in.xlarge" - | "r6in.2xlarge" - | "r6in.4xlarge" - | "r6in.8xlarge" - | "r6in.12xlarge" - | "r6in.16xlarge" - | "r6in.24xlarge" - | "r6in.32xlarge" - | "r8g.medium" - | "r8g.large" - | "r8g.xlarge" - | "r8g.2xlarge" - | "r8g.4xlarge" - | "r8g.8xlarge" - | "r8g.12xlarge" - | "r8g.16xlarge" - | "r8g.24xlarge" - | "r8g.48xlarge" - | "m4.16xlarge" - | "c6a.32xlarge" - | "c6a.48xlarge" - | "c6i.32xlarge" - | "r6i.24xlarge" - | "r6i.32xlarge" - | "c6in.24xlarge" - | "c6in.32xlarge" - | "c7a.24xlarge" - | "c7a.32xlarge" - | "c7a.48xlarge" - | "c7i.24xlarge" - | "c7i.48xlarge" - | "m6a.24xlarge" - | "m6a.32xlarge" - | "m6a.48xlarge" - | "m6i.24xlarge" - | "m6i.32xlarge" - | "m7a.24xlarge" - | "m7a.32xlarge" - | "m7a.48xlarge" - | "m7i.24xlarge" - | "m7i.48xlarge" - | "r7a.24xlarge" - | "r7a.32xlarge" - | "r7a.48xlarge"; +export type EC2InstanceType = "t2.micro" | "t2.small" | "t2.medium" | "t2.large" | "c3.large" | "c3.xlarge" | "c3.2xlarge" | "c3.4xlarge" | "c3.8xlarge" | "c4.large" | "c4.xlarge" | "c4.2xlarge" | "c4.4xlarge" | "c4.8xlarge" | "c5.large" | "c5.xlarge" | "c5.2xlarge" | "c5.4xlarge" | "c5.9xlarge" | "c5.12xlarge" | "c5.18xlarge" | "c5.24xlarge" | "c5a.large" | "c5a.xlarge" | "c5a.2xlarge" | "c5a.4xlarge" | "c5a.8xlarge" | "c5a.12xlarge" | "c5a.16xlarge" | "c5a.24xlarge" | "r3.large" | "r3.xlarge" | "r3.2xlarge" | "r3.4xlarge" | "r3.8xlarge" | "r4.large" | "r4.xlarge" | "r4.2xlarge" | "r4.4xlarge" | "r4.8xlarge" | "r4.16xlarge" | "r5.large" | "r5.xlarge" | "r5.2xlarge" | "r5.4xlarge" | "r5.8xlarge" | "r5.12xlarge" | "r5.16xlarge" | "r5.24xlarge" | "r5a.large" | "r5a.xlarge" | "r5a.2xlarge" | "r5a.4xlarge" | "r5a.8xlarge" | "r5a.12xlarge" | "r5a.16xlarge" | "r5a.24xlarge" | "m3.medium" | "m3.large" | "m3.xlarge" | "m3.2xlarge" | "m4.large" | "m4.xlarge" | "m4.2xlarge" | "m4.4xlarge" | "m4.10xlarge" | "m5.large" | "m5.xlarge" | "m5.2xlarge" | "m5.4xlarge" | "m5.8xlarge" | "m5.12xlarge" | "m5.16xlarge" | "m5.24xlarge" | "m5a.large" | "m5a.xlarge" | "m5a.2xlarge" | "m5a.4xlarge" | "m5a.8xlarge" | "m5a.12xlarge" | "m5a.16xlarge" | "m5a.24xlarge" | "c5d.large" | "c5d.xlarge" | "c5d.2xlarge" | "c5d.4xlarge" | "c5d.9xlarge" | "c5d.12xlarge" | "c5d.18xlarge" | "c5d.24xlarge" | "c6a.large" | "c6a.xlarge" | "c6a.2xlarge" | "c6a.4xlarge" | "c6a.8xlarge" | "c6a.12xlarge" | "c6a.16xlarge" | "c6a.24xlarge" | "c6i.large" | "c6i.xlarge" | "c6i.2xlarge" | "c6i.4xlarge" | "c6i.8xlarge" | "c6i.12xlarge" | "c6i.16xlarge" | "c6i.24xlarge" | "r5d.large" | "r5d.xlarge" | "r5d.2xlarge" | "r5d.4xlarge" | "r5d.8xlarge" | "r5d.12xlarge" | "r5d.16xlarge" | "r5d.24xlarge" | "m6g.medium" | "m6g.large" | "m6g.xlarge" | "m6g.2xlarge" | "m6g.4xlarge" | "m6g.8xlarge" | "m6g.12xlarge" | "m6g.16xlarge" | "c6g.medium" | "c6g.large" | "c6g.xlarge" | "c6g.2xlarge" | "c6g.4xlarge" | "c6g.8xlarge" | "c6g.12xlarge" | "c6g.16xlarge" | "r6g.medium" | "r6g.large" | "r6g.xlarge" | "r6g.2xlarge" | "r6g.4xlarge" | "r6g.8xlarge" | "r6g.12xlarge" | "r6g.16xlarge" | "c6gn.medium" | "c6gn.large" | "c6gn.xlarge" | "c6gn.2xlarge" | "c6gn.4xlarge" | "c6gn.8xlarge" | "c6gn.12xlarge" | "c6gn.16xlarge" | "c7g.medium" | "c7g.large" | "c7g.xlarge" | "c7g.2xlarge" | "c7g.4xlarge" | "c7g.8xlarge" | "c7g.12xlarge" | "c7g.16xlarge" | "r7g.medium" | "r7g.large" | "r7g.xlarge" | "r7g.2xlarge" | "r7g.4xlarge" | "r7g.8xlarge" | "r7g.12xlarge" | "r7g.16xlarge" | "m7g.medium" | "m7g.large" | "m7g.xlarge" | "m7g.2xlarge" | "m7g.4xlarge" | "m7g.8xlarge" | "m7g.12xlarge" | "m7g.16xlarge" | "g5g.xlarge" | "g5g.2xlarge" | "g5g.4xlarge" | "g5g.8xlarge" | "g5g.16xlarge" | "r6i.large" | "r6i.xlarge" | "r6i.2xlarge" | "r6i.4xlarge" | "r6i.8xlarge" | "r6i.12xlarge" | "r6i.16xlarge" | "c6gd.medium" | "c6gd.large" | "c6gd.xlarge" | "c6gd.2xlarge" | "c6gd.4xlarge" | "c6gd.8xlarge" | "c6gd.12xlarge" | "c6gd.16xlarge" | "c6in.large" | "c6in.xlarge" | "c6in.2xlarge" | "c6in.4xlarge" | "c6in.8xlarge" | "c6in.12xlarge" | "c6in.16xlarge" | "c7a.medium" | "c7a.large" | "c7a.xlarge" | "c7a.2xlarge" | "c7a.4xlarge" | "c7a.8xlarge" | "c7a.12xlarge" | "c7a.16xlarge" | "c7gd.medium" | "c7gd.large" | "c7gd.xlarge" | "c7gd.2xlarge" | "c7gd.4xlarge" | "c7gd.8xlarge" | "c7gd.12xlarge" | "c7gd.16xlarge" | "c7gn.medium" | "c7gn.large" | "c7gn.xlarge" | "c7gn.2xlarge" | "c7gn.4xlarge" | "c7gn.8xlarge" | "c7gn.12xlarge" | "c7gn.16xlarge" | "c7i.large" | "c7i.xlarge" | "c7i.2xlarge" | "c7i.4xlarge" | "c7i.8xlarge" | "c7i.12xlarge" | "c7i.16xlarge" | "m6a.large" | "m6a.xlarge" | "m6a.2xlarge" | "m6a.4xlarge" | "m6a.8xlarge" | "m6a.12xlarge" | "m6a.16xlarge" | "m6gd.medium" | "m6gd.large" | "m6gd.xlarge" | "m6gd.2xlarge" | "m6gd.4xlarge" | "m6gd.8xlarge" | "m6gd.12xlarge" | "m6gd.16xlarge" | "m6i.large" | "m6i.xlarge" | "m6i.2xlarge" | "m6i.4xlarge" | "m6i.8xlarge" | "m6i.12xlarge" | "m6i.16xlarge" | "m7a.medium" | "m7a.large" | "m7a.xlarge" | "m7a.2xlarge" | "m7a.4xlarge" | "m7a.8xlarge" | "m7a.12xlarge" | "m7a.16xlarge" | "m7gd.medium" | "m7gd.large" | "m7gd.xlarge" | "m7gd.2xlarge" | "m7gd.4xlarge" | "m7gd.8xlarge" | "m7gd.12xlarge" | "m7gd.16xlarge" | "m7i.large" | "m7i.xlarge" | "m7i.2xlarge" | "m7i.4xlarge" | "m7i.8xlarge" | "m7i.12xlarge" | "m7i.16xlarge" | "r6gd.medium" | "r6gd.large" | "r6gd.xlarge" | "r6gd.2xlarge" | "r6gd.4xlarge" | "r6gd.8xlarge" | "r6gd.12xlarge" | "r6gd.16xlarge" | "r7a.medium" | "r7a.large" | "r7a.xlarge" | "r7a.2xlarge" | "r7a.4xlarge" | "r7a.8xlarge" | "r7a.12xlarge" | "r7a.16xlarge" | "r7gd.medium" | "r7gd.large" | "r7gd.xlarge" | "r7gd.2xlarge" | "r7gd.4xlarge" | "r7gd.8xlarge" | "r7gd.12xlarge" | "r7gd.16xlarge" | "r7i.large" | "r7i.xlarge" | "r7i.2xlarge" | "r7i.4xlarge" | "r7i.8xlarge" | "r7i.12xlarge" | "r7i.16xlarge" | "r7i.24xlarge" | "r7i.48xlarge" | "c5ad.large" | "c5ad.xlarge" | "c5ad.2xlarge" | "c5ad.4xlarge" | "c5ad.8xlarge" | "c5ad.12xlarge" | "c5ad.16xlarge" | "c5ad.24xlarge" | "c5n.large" | "c5n.xlarge" | "c5n.2xlarge" | "c5n.4xlarge" | "c5n.9xlarge" | "c5n.18xlarge" | "r5ad.large" | "r5ad.xlarge" | "r5ad.2xlarge" | "r5ad.4xlarge" | "r5ad.8xlarge" | "r5ad.12xlarge" | "r5ad.16xlarge" | "r5ad.24xlarge" | "c6id.large" | "c6id.xlarge" | "c6id.2xlarge" | "c6id.4xlarge" | "c6id.8xlarge" | "c6id.12xlarge" | "c6id.16xlarge" | "c6id.24xlarge" | "c6id.32xlarge" | "c8g.medium" | "c8g.large" | "c8g.xlarge" | "c8g.2xlarge" | "c8g.4xlarge" | "c8g.8xlarge" | "c8g.12xlarge" | "c8g.16xlarge" | "c8g.24xlarge" | "c8g.48xlarge" | "m5ad.large" | "m5ad.xlarge" | "m5ad.2xlarge" | "m5ad.4xlarge" | "m5ad.8xlarge" | "m5ad.12xlarge" | "m5ad.16xlarge" | "m5ad.24xlarge" | "m5d.large" | "m5d.xlarge" | "m5d.2xlarge" | "m5d.4xlarge" | "m5d.8xlarge" | "m5d.12xlarge" | "m5d.16xlarge" | "m5d.24xlarge" | "m5dn.large" | "m5dn.xlarge" | "m5dn.2xlarge" | "m5dn.4xlarge" | "m5dn.8xlarge" | "m5dn.12xlarge" | "m5dn.16xlarge" | "m5dn.24xlarge" | "m5n.large" | "m5n.xlarge" | "m5n.2xlarge" | "m5n.4xlarge" | "m5n.8xlarge" | "m5n.12xlarge" | "m5n.16xlarge" | "m5n.24xlarge" | "m6id.large" | "m6id.xlarge" | "m6id.2xlarge" | "m6id.4xlarge" | "m6id.8xlarge" | "m6id.12xlarge" | "m6id.16xlarge" | "m6id.24xlarge" | "m6id.32xlarge" | "m6idn.large" | "m6idn.xlarge" | "m6idn.2xlarge" | "m6idn.4xlarge" | "m6idn.8xlarge" | "m6idn.12xlarge" | "m6idn.16xlarge" | "m6idn.24xlarge" | "m6idn.32xlarge" | "m6in.large" | "m6in.xlarge" | "m6in.2xlarge" | "m6in.4xlarge" | "m6in.8xlarge" | "m6in.12xlarge" | "m6in.16xlarge" | "m6in.24xlarge" | "m6in.32xlarge" | "m8g.medium" | "m8g.large" | "m8g.xlarge" | "m8g.2xlarge" | "m8g.4xlarge" | "m8g.8xlarge" | "m8g.12xlarge" | "m8g.16xlarge" | "m8g.24xlarge" | "m8g.48xlarge" | "r5dn.large" | "r5dn.xlarge" | "r5dn.2xlarge" | "r5dn.4xlarge" | "r5dn.8xlarge" | "r5dn.12xlarge" | "r5dn.16xlarge" | "r5dn.24xlarge" | "r5n.large" | "r5n.xlarge" | "r5n.2xlarge" | "r5n.4xlarge" | "r5n.8xlarge" | "r5n.12xlarge" | "r5n.16xlarge" | "r5n.24xlarge" | "r6a.large" | "r6a.xlarge" | "r6a.2xlarge" | "r6a.4xlarge" | "r6a.8xlarge" | "r6a.12xlarge" | "r6a.16xlarge" | "r6a.24xlarge" | "r6a.32xlarge" | "r6a.48xlarge" | "r6id.large" | "r6id.xlarge" | "r6id.2xlarge" | "r6id.4xlarge" | "r6id.8xlarge" | "r6id.12xlarge" | "r6id.16xlarge" | "r6id.24xlarge" | "r6id.32xlarge" | "r6idn.large" | "r6idn.xlarge" | "r6idn.2xlarge" | "r6idn.4xlarge" | "r6idn.8xlarge" | "r6idn.12xlarge" | "r6idn.16xlarge" | "r6idn.24xlarge" | "r6idn.32xlarge" | "r6in.large" | "r6in.xlarge" | "r6in.2xlarge" | "r6in.4xlarge" | "r6in.8xlarge" | "r6in.12xlarge" | "r6in.16xlarge" | "r6in.24xlarge" | "r6in.32xlarge" | "r8g.medium" | "r8g.large" | "r8g.xlarge" | "r8g.2xlarge" | "r8g.4xlarge" | "r8g.8xlarge" | "r8g.12xlarge" | "r8g.16xlarge" | "r8g.24xlarge" | "r8g.48xlarge" | "m4.16xlarge" | "c6a.32xlarge" | "c6a.48xlarge" | "c6i.32xlarge" | "r6i.24xlarge" | "r6i.32xlarge" | "c6in.24xlarge" | "c6in.32xlarge" | "c7a.24xlarge" | "c7a.32xlarge" | "c7a.48xlarge" | "c7i.24xlarge" | "c7i.48xlarge" | "m6a.24xlarge" | "m6a.32xlarge" | "m6a.48xlarge" | "m6i.24xlarge" | "m6i.32xlarge" | "m7a.24xlarge" | "m7a.32xlarge" | "m7a.48xlarge" | "m7i.24xlarge" | "m7i.48xlarge" | "r7a.24xlarge" | "r7a.32xlarge" | "r7a.48xlarge"; export interface Event { EventId?: string; ResourceId?: string; @@ -2689,63 +1586,7 @@ export interface Event { PreSignedLogUrl?: string; Count?: number; } -export type EventCode = - | "GENERIC_EVENT" - | "FLEET_CREATED" - | "FLEET_DELETED" - | "FLEET_SCALING_EVENT" - | "FLEET_STATE_DOWNLOADING" - | "FLEET_STATE_VALIDATING" - | "FLEET_STATE_BUILDING" - | "FLEET_STATE_ACTIVATING" - | "FLEET_STATE_ACTIVE" - | "FLEET_STATE_ERROR" - | "FLEET_STATE_PENDING" - | "FLEET_STATE_CREATING" - | "FLEET_STATE_CREATED" - | "FLEET_STATE_UPDATING" - | "FLEET_INITIALIZATION_FAILED" - | "FLEET_BINARY_DOWNLOAD_FAILED" - | "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND" - | "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE" - | "FLEET_VALIDATION_TIMED_OUT" - | "FLEET_ACTIVATION_FAILED" - | "FLEET_ACTIVATION_FAILED_NO_INSTANCES" - | "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED" - | "SERVER_PROCESS_INVALID_PATH" - | "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT" - | "SERVER_PROCESS_PROCESS_READY_TIMEOUT" - | "SERVER_PROCESS_CRASHED" - | "SERVER_PROCESS_TERMINATED_UNHEALTHY" - | "SERVER_PROCESS_FORCE_TERMINATED" - | "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT" - | "SERVER_PROCESS_SDK_INITIALIZATION_FAILED" - | "SERVER_PROCESS_MISCONFIGURED_CONTAINER_PORT" - | "GAME_SESSION_ACTIVATION_TIMEOUT" - | "FLEET_CREATION_EXTRACTING_BUILD" - | "FLEET_CREATION_RUNNING_INSTALLER" - | "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG" - | "FLEET_VPC_PEERING_SUCCEEDED" - | "FLEET_VPC_PEERING_FAILED" - | "FLEET_VPC_PEERING_DELETED" - | "INSTANCE_INTERRUPTED" - | "INSTANCE_RECYCLED" - | "INSTANCE_REPLACED_UNHEALTHY" - | "FLEET_CREATION_COMPLETED_INSTALLER" - | "FLEET_CREATION_FAILED_INSTALLER" - | "COMPUTE_LOG_UPLOAD_FAILED" - | "GAME_SERVER_CONTAINER_GROUP_CRASHED" - | "PER_INSTANCE_CONTAINER_GROUP_CRASHED" - | "GAME_SERVER_CONTAINER_GROUP_REPLACED_UNHEALTHY" - | "LOCATION_STATE_PENDING" - | "LOCATION_STATE_CREATING" - | "LOCATION_STATE_CREATED" - | "LOCATION_STATE_ACTIVATING" - | "LOCATION_STATE_ACTIVE" - | "LOCATION_STATE_UPDATING" - | "LOCATION_STATE_ERROR" - | "LOCATION_STATE_DELETING" - | "LOCATION_STATE_DELETED"; +export type EventCode = "GENERIC_EVENT" | "FLEET_CREATED" | "FLEET_DELETED" | "FLEET_SCALING_EVENT" | "FLEET_STATE_DOWNLOADING" | "FLEET_STATE_VALIDATING" | "FLEET_STATE_BUILDING" | "FLEET_STATE_ACTIVATING" | "FLEET_STATE_ACTIVE" | "FLEET_STATE_ERROR" | "FLEET_STATE_PENDING" | "FLEET_STATE_CREATING" | "FLEET_STATE_CREATED" | "FLEET_STATE_UPDATING" | "FLEET_INITIALIZATION_FAILED" | "FLEET_BINARY_DOWNLOAD_FAILED" | "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND" | "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE" | "FLEET_VALIDATION_TIMED_OUT" | "FLEET_ACTIVATION_FAILED" | "FLEET_ACTIVATION_FAILED_NO_INSTANCES" | "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED" | "SERVER_PROCESS_INVALID_PATH" | "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT" | "SERVER_PROCESS_PROCESS_READY_TIMEOUT" | "SERVER_PROCESS_CRASHED" | "SERVER_PROCESS_TERMINATED_UNHEALTHY" | "SERVER_PROCESS_FORCE_TERMINATED" | "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT" | "SERVER_PROCESS_SDK_INITIALIZATION_FAILED" | "SERVER_PROCESS_MISCONFIGURED_CONTAINER_PORT" | "GAME_SESSION_ACTIVATION_TIMEOUT" | "FLEET_CREATION_EXTRACTING_BUILD" | "FLEET_CREATION_RUNNING_INSTALLER" | "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG" | "FLEET_VPC_PEERING_SUCCEEDED" | "FLEET_VPC_PEERING_FAILED" | "FLEET_VPC_PEERING_DELETED" | "INSTANCE_INTERRUPTED" | "INSTANCE_RECYCLED" | "INSTANCE_REPLACED_UNHEALTHY" | "FLEET_CREATION_COMPLETED_INSTALLER" | "FLEET_CREATION_FAILED_INSTALLER" | "COMPUTE_LOG_UPLOAD_FAILED" | "GAME_SERVER_CONTAINER_GROUP_CRASHED" | "PER_INSTANCE_CONTAINER_GROUP_CRASHED" | "GAME_SERVER_CONTAINER_GROUP_REPLACED_UNHEALTHY" | "LOCATION_STATE_PENDING" | "LOCATION_STATE_CREATING" | "LOCATION_STATE_CREATED" | "LOCATION_STATE_ACTIVATING" | "LOCATION_STATE_ACTIVE" | "LOCATION_STATE_UPDATING" | "LOCATION_STATE_ERROR" | "LOCATION_STATE_DELETING" | "LOCATION_STATE_DELETED"; export type EventCount = number; export type EventList = Array; @@ -2821,17 +1662,7 @@ export type FleetIdList = Array; export type FleetIdOrArn = string; export type FleetIdOrArnList = Array; -export type FleetStatus = - | "NEW" - | "DOWNLOADING" - | "VALIDATING" - | "BUILDING" - | "ACTIVATING" - | "ACTIVE" - | "DELETING" - | "ERROR" - | "TERMINATED" - | "NOT_FOUND"; +export type FleetStatus = "NEW" | "DOWNLOADING" | "VALIDATING" | "BUILDING" | "ACTIVATING" | "ACTIVE" | "DELETING" | "ERROR" | "TERMINATED" | "NOT_FOUND"; export type FleetType = "ON_DEMAND" | "SPOT"; export interface FleetUtilization { FleetId?: string; @@ -2928,112 +1759,14 @@ export interface GameServerGroupAutoScalingPolicy { EstimatedInstanceWarmup?: number; TargetTrackingConfiguration: TargetTrackingConfiguration; } -export type GameServerGroupDeleteOption = - | "SAFE_DELETE" - | "FORCE_DELETE" - | "RETAIN"; -export type GameServerGroupInstanceType = - | "c4.large" - | "c4.xlarge" - | "c4.2xlarge" - | "c4.4xlarge" - | "c4.8xlarge" - | "c5.large" - | "c5.xlarge" - | "c5.2xlarge" - | "c5.4xlarge" - | "c5.9xlarge" - | "c5.12xlarge" - | "c5.18xlarge" - | "c5.24xlarge" - | "c5a.large" - | "c5a.xlarge" - | "c5a.2xlarge" - | "c5a.4xlarge" - | "c5a.8xlarge" - | "c5a.12xlarge" - | "c5a.16xlarge" - | "c5a.24xlarge" - | "c6g.medium" - | "c6g.large" - | "c6g.xlarge" - | "c6g.2xlarge" - | "c6g.4xlarge" - | "c6g.8xlarge" - | "c6g.12xlarge" - | "c6g.16xlarge" - | "r4.large" - | "r4.xlarge" - | "r4.2xlarge" - | "r4.4xlarge" - | "r4.8xlarge" - | "r4.16xlarge" - | "r5.large" - | "r5.xlarge" - | "r5.2xlarge" - | "r5.4xlarge" - | "r5.8xlarge" - | "r5.12xlarge" - | "r5.16xlarge" - | "r5.24xlarge" - | "r5a.large" - | "r5a.xlarge" - | "r5a.2xlarge" - | "r5a.4xlarge" - | "r5a.8xlarge" - | "r5a.12xlarge" - | "r5a.16xlarge" - | "r5a.24xlarge" - | "r6g.medium" - | "r6g.large" - | "r6g.xlarge" - | "r6g.2xlarge" - | "r6g.4xlarge" - | "r6g.8xlarge" - | "r6g.12xlarge" - | "r6g.16xlarge" - | "m4.large" - | "m4.xlarge" - | "m4.2xlarge" - | "m4.4xlarge" - | "m4.10xlarge" - | "m5.large" - | "m5.xlarge" - | "m5.2xlarge" - | "m5.4xlarge" - | "m5.8xlarge" - | "m5.12xlarge" - | "m5.16xlarge" - | "m5.24xlarge" - | "m5a.large" - | "m5a.xlarge" - | "m5a.2xlarge" - | "m5a.4xlarge" - | "m5a.8xlarge" - | "m5a.12xlarge" - | "m5a.16xlarge" - | "m5a.24xlarge" - | "m6g.medium" - | "m6g.large" - | "m6g.xlarge" - | "m6g.2xlarge" - | "m6g.4xlarge" - | "m6g.8xlarge" - | "m6g.12xlarge" - | "m6g.16xlarge"; +export type GameServerGroupDeleteOption = "SAFE_DELETE" | "FORCE_DELETE" | "RETAIN"; +export type GameServerGroupInstanceType = "c4.large" | "c4.xlarge" | "c4.2xlarge" | "c4.4xlarge" | "c4.8xlarge" | "c5.large" | "c5.xlarge" | "c5.2xlarge" | "c5.4xlarge" | "c5.9xlarge" | "c5.12xlarge" | "c5.18xlarge" | "c5.24xlarge" | "c5a.large" | "c5a.xlarge" | "c5a.2xlarge" | "c5a.4xlarge" | "c5a.8xlarge" | "c5a.12xlarge" | "c5a.16xlarge" | "c5a.24xlarge" | "c6g.medium" | "c6g.large" | "c6g.xlarge" | "c6g.2xlarge" | "c6g.4xlarge" | "c6g.8xlarge" | "c6g.12xlarge" | "c6g.16xlarge" | "r4.large" | "r4.xlarge" | "r4.2xlarge" | "r4.4xlarge" | "r4.8xlarge" | "r4.16xlarge" | "r5.large" | "r5.xlarge" | "r5.2xlarge" | "r5.4xlarge" | "r5.8xlarge" | "r5.12xlarge" | "r5.16xlarge" | "r5.24xlarge" | "r5a.large" | "r5a.xlarge" | "r5a.2xlarge" | "r5a.4xlarge" | "r5a.8xlarge" | "r5a.12xlarge" | "r5a.16xlarge" | "r5a.24xlarge" | "r6g.medium" | "r6g.large" | "r6g.xlarge" | "r6g.2xlarge" | "r6g.4xlarge" | "r6g.8xlarge" | "r6g.12xlarge" | "r6g.16xlarge" | "m4.large" | "m4.xlarge" | "m4.2xlarge" | "m4.4xlarge" | "m4.10xlarge" | "m5.large" | "m5.xlarge" | "m5.2xlarge" | "m5.4xlarge" | "m5.8xlarge" | "m5.12xlarge" | "m5.16xlarge" | "m5.24xlarge" | "m5a.large" | "m5a.xlarge" | "m5a.2xlarge" | "m5a.4xlarge" | "m5a.8xlarge" | "m5a.12xlarge" | "m5a.16xlarge" | "m5a.24xlarge" | "m6g.medium" | "m6g.large" | "m6g.xlarge" | "m6g.2xlarge" | "m6g.4xlarge" | "m6g.8xlarge" | "m6g.12xlarge" | "m6g.16xlarge"; export type GameServerGroupName = string; export type GameServerGroupNameOrArn = string; export type GameServerGroups = Array; -export type GameServerGroupStatus = - | "NEW" - | "ACTIVATING" - | "ACTIVE" - | "DELETE_SCHEDULED" - | "DELETING" - | "DELETED" - | "ERROR"; +export type GameServerGroupStatus = "NEW" | "ACTIVATING" | "ACTIVE" | "DELETE_SCHEDULED" | "DELETING" | "DELETED" | "ERROR"; export type GameServerHealthCheck = "HEALTHY"; export type GameServerId = string; @@ -3047,10 +1780,7 @@ export type GameServerInstanceId = string; export type GameServerInstanceIds = Array; export type GameServerInstances = Array; -export type GameServerInstanceStatus = - | "ACTIVE" - | "DRAINING" - | "SPOT_TERMINATING"; +export type GameServerInstanceStatus = "ACTIVE" | "DRAINING" | "SPOT_TERMINATING"; export type GameServerProtectionPolicy = "NO_PROTECTION" | "FULL_PROTECTION"; export type GameServers = Array; export type GameServerUtilizationStatus = "AVAILABLE" | "UTILIZED"; @@ -3122,12 +1852,7 @@ export interface GameSessionPlacement { MatchmakerData?: string; PriorityConfigurationOverride?: PriorityConfigurationOverride; } -export type GameSessionPlacementState = - | "PENDING" - | "FULFILLED" - | "CANCELLED" - | "TIMED_OUT" - | "FAILED"; +export type GameSessionPlacementState = "PENDING" | "FULFILLED" | "CANCELLED" | "TIMED_OUT" | "FAILED"; export interface GameSessionQueue { Name?: string; GameSessionQueueArn?: string; @@ -3144,24 +1869,15 @@ export type GameSessionQueueArn = string; export interface GameSessionQueueDestination { DestinationArn?: string; } -export type GameSessionQueueDestinationList = - Array; +export type GameSessionQueueDestinationList = Array; export type GameSessionQueueList = Array; export type GameSessionQueueName = string; export type GameSessionQueueNameOrArn = string; export type GameSessionQueueNameOrArnList = Array; -export type GameSessionStatus = - | "ACTIVE" - | "ACTIVATING" - | "TERMINATED" - | "TERMINATING" - | "ERROR"; -export type GameSessionStatusReason = - | "INTERRUPTED" - | "TRIGGERED_ON_PROCESS_TERMINATE" - | "FORCE_TERMINATED"; +export type GameSessionStatus = "ACTIVE" | "ACTIVATING" | "TERMINATED" | "TERMINATING" | "ERROR"; +export type GameSessionStatusReason = "INTERRUPTED" | "TRIGGERED_ON_PROCESS_TERMINATE" | "FORCE_TERMINATED"; export interface GetComputeAccessInput { FleetId: string; ComputeName: string; @@ -3504,15 +2220,7 @@ export type MatchmakingConfigurationList = Array; export type MatchmakingConfigurationName = string; export type MatchmakingConfigurationNameList = Array; -export type MatchmakingConfigurationStatus = - | "CANCELLED" - | "COMPLETED" - | "FAILED" - | "PLACING" - | "QUEUED" - | "REQUIRES_ACCEPTANCE" - | "SEARCHING" - | "TIMED_OUT"; +export type MatchmakingConfigurationStatus = "CANCELLED" | "COMPLETED" | "FAILED" | "PLACING" | "QUEUED" | "REQUIRES_ACCEPTANCE" | "SEARCHING" | "TIMED_OUT"; export type MatchmakingIdList = Array; export type MatchmakingIdStringModel = string; @@ -3551,19 +2259,7 @@ export type MaximumGameServerContainerGroupsPerInstance = number; export type MetricGroup = string; export type MetricGroupList = Array; -export type MetricName = - | "ActivatingGameSessions" - | "ActiveGameSessions" - | "ActiveInstances" - | "AvailableGameSessions" - | "AvailablePlayerSessions" - | "CurrentPlayerSessions" - | "IdleInstances" - | "PercentAvailableGameSessions" - | "PercentIdleInstances" - | "QueueDepth" - | "WaitTime" - | "ConcurrentActivatableGameSessions"; +export type MetricName = "ActivatingGameSessions" | "ActiveGameSessions" | "ActiveInstances" | "AvailableGameSessions" | "AvailablePlayerSessions" | "CurrentPlayerSessions" | "IdleInstances" | "PercentAvailableGameSessions" | "PercentIdleInstances" | "QueueDepth" | "WaitTime" | "ConcurrentActivatableGameSessions"; export type MinimumHealthyPercentage = number; export type NonBlankAndLengthConstraintString = string; @@ -3590,12 +2286,7 @@ export declare class NotReadyException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type OperatingSystem = - | "WINDOWS_2012" - | "AMAZON_LINUX" - | "AMAZON_LINUX_2" - | "WINDOWS_2016" - | "AMAZON_LINUX_2023"; +export type OperatingSystem = "WINDOWS_2012" | "AMAZON_LINUX" | "AMAZON_LINUX_2" | "WINDOWS_2016" | "AMAZON_LINUX_2023"; export declare class OutOfCapacityException extends EffectData.TaggedError( "OutOfCapacityException", )<{ @@ -3658,11 +2349,7 @@ export type PlayerSessionCreationPolicy = "ACCEPT_ALL" | "DENY_ALL"; export type PlayerSessionId = string; export type PlayerSessionList = Array; -export type PlayerSessionStatus = - | "RESERVED" - | "ACTIVE" - | "COMPLETED" - | "TIMEDOUT"; +export type PlayerSessionStatus = "RESERVED" | "ACTIVE" | "COMPLETED" | "TIMEDOUT"; export type PolicyType = "RuleBased" | "TargetBased"; export type PortNumber = number; @@ -3768,10 +2455,7 @@ export interface S3Location { RoleArn?: string; ObjectVersion?: string; } -export type ScalingAdjustmentType = - | "ChangeInCapacity" - | "ExactCapacity" - | "PercentChangeInCapacity"; +export type ScalingAdjustmentType = "ChangeInCapacity" | "ExactCapacity" | "PercentChangeInCapacity"; export interface ScalingPolicy { FleetId?: string; FleetArn?: string; @@ -3789,14 +2473,7 @@ export interface ScalingPolicy { Location?: string; } export type ScalingPolicyList = Array; -export type ScalingStatusType = - | "ACTIVE" - | "UPDATE_REQUESTED" - | "UPDATING" - | "DELETE_REQUESTED" - | "DELETING" - | "DELETED" - | "ERROR"; +export type ScalingStatusType = "ACTIVE" | "UPDATE_REQUESTED" | "UPDATING" | "DELETE_REQUESTED" | "DELETING" | "DELETED" | "ERROR"; export interface Script { ScriptId?: string; ScriptArn?: string; @@ -3899,7 +2576,8 @@ export interface StopGameSessionPlacementOutput { export interface StopMatchmakingInput { TicketId: string; } -export interface StopMatchmakingOutput {} +export interface StopMatchmakingOutput { +} export type StringList = Array; export type StringModel = string; @@ -3928,8 +2606,7 @@ export interface SupportContainerDefinitionInput { PortConfiguration?: ContainerPortConfiguration; Vcpu?: number; } -export type SupportContainerDefinitionInputList = - Array; +export type SupportContainerDefinitionInputList = Array; export type SupportContainerDefinitionList = Array; export interface SuspendGameServerGroupInput { GameServerGroupName: string; @@ -3955,7 +2632,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TargetConfiguration { @@ -3976,9 +2654,7 @@ export interface TerminateGameSessionInput { export interface TerminateGameSessionOutput { GameSession?: GameSession; } -export type TerminationMode = - | "TRIGGER_ON_PROCESS_TERMINATE" - | "FORCE_TERMINATE"; +export type TerminationMode = "TRIGGER_ON_PROCESS_TERMINATE" | "FORCE_TERMINATE"; export type Timestamp = Date | string; export interface UDPEndpoint { @@ -3999,7 +2675,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAliasInput { AliasId: string; Name?: string; @@ -5599,21 +4276,5 @@ export declare namespace ValidateMatchmakingRuleSet { | CommonAwsError; } -export type GameLiftErrors = - | ConflictException - | FleetCapacityExceededException - | GameSessionFullException - | IdempotentParameterMismatchException - | InternalServiceException - | InvalidFleetStatusException - | InvalidGameSessionStatusException - | InvalidRequestException - | LimitExceededException - | NotFoundException - | NotReadyException - | OutOfCapacityException - | TaggingFailedException - | TerminalRoutingStrategyException - | UnauthorizedException - | UnsupportedRegionException - | CommonAwsError; +export type GameLiftErrors = ConflictException | FleetCapacityExceededException | GameSessionFullException | IdempotentParameterMismatchException | InternalServiceException | InvalidFleetStatusException | InvalidGameSessionStatusException | InvalidRequestException | LimitExceededException | NotFoundException | NotReadyException | OutOfCapacityException | TaggingFailedException | TerminalRoutingStrategyException | UnauthorizedException | UnsupportedRegionException | CommonAwsError; + diff --git a/src/services/gameliftstreams/index.ts b/src/services/gameliftstreams/index.ts index 3f63784e..6ab097f1 100644 --- a/src/services/gameliftstreams/index.ts +++ b/src/services/gameliftstreams/index.ts @@ -5,23 +5,7 @@ import type { GameLiftStreams as _GameLiftStreamsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,34 +14,34 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "gameliftstreams", operations: { - AddStreamGroupLocations: "POST /streamgroups/{Identifier}/locations", - AssociateApplications: "POST /streamgroups/{Identifier}/associations", - CreateStreamSessionConnection: - "POST /streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/connections", - DisassociateApplications: "POST /streamgroups/{Identifier}/disassociations", - ExportStreamSessionFiles: - "PUT /streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/exportfiles", - GetStreamSession: - "GET /streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}", - ListStreamSessions: "GET /streamgroups/{Identifier}/streamsessions", - ListStreamSessionsByAccount: "GET /streamsessions", - ListTagsForResource: "GET /tags/{ResourceArn}", - RemoveStreamGroupLocations: "DELETE /streamgroups/{Identifier}/locations", - StartStreamSession: "POST /streamgroups/{Identifier}/streamsessions", - TagResource: "POST /tags/{ResourceArn}", - TerminateStreamSession: - "DELETE /streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}", - UntagResource: "DELETE /tags/{ResourceArn}", - CreateApplication: "POST /applications", - CreateStreamGroup: "POST /streamgroups", - DeleteApplication: "DELETE /applications/{Identifier}", - DeleteStreamGroup: "DELETE /streamgroups/{Identifier}", - GetApplication: "GET /applications/{Identifier}", - GetStreamGroup: "GET /streamgroups/{Identifier}", - ListApplications: "GET /applications", - ListStreamGroups: "GET /streamgroups", - UpdateApplication: "PATCH /applications/{Identifier}", - UpdateStreamGroup: "PATCH /streamgroups/{Identifier}", + "AddStreamGroupLocations": "POST /streamgroups/{Identifier}/locations", + "AssociateApplications": "POST /streamgroups/{Identifier}/associations", + "CreateStreamSessionConnection": "POST /streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/connections", + "DisassociateApplications": "POST /streamgroups/{Identifier}/disassociations", + "ExportStreamSessionFiles": "PUT /streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/exportfiles", + "GetStreamSession": "GET /streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}", + "ListStreamSessions": "GET /streamgroups/{Identifier}/streamsessions", + "ListStreamSessionsByAccount": "GET /streamsessions", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "RemoveStreamGroupLocations": "DELETE /streamgroups/{Identifier}/locations", + "StartStreamSession": "POST /streamgroups/{Identifier}/streamsessions", + "TagResource": "POST /tags/{ResourceArn}", + "TerminateStreamSession": "DELETE /streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "CreateApplication": "POST /applications", + "CreateStreamGroup": "POST /streamgroups", + "DeleteApplication": "DELETE /applications/{Identifier}", + "DeleteStreamGroup": "DELETE /streamgroups/{Identifier}", + "GetApplication": "GET /applications/{Identifier}", + "GetStreamGroup": "GET /streamgroups/{Identifier}", + "ListApplications": "GET /applications", + "ListStreamGroups": "GET /streamgroups", + "UpdateApplication": "PATCH /applications/{Identifier}", + "UpdateStreamGroup": "PATCH /streamgroups/{Identifier}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/gameliftstreams/types.ts b/src/services/gameliftstreams/types.ts index 2fff32eb..3f26360f 100644 --- a/src/services/gameliftstreams/types.ts +++ b/src/services/gameliftstreams/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class GameLiftStreams extends AWSServiceClient { @@ -40,270 +8,145 @@ export declare class GameLiftStreams extends AWSServiceClient { input: AddStreamGroupLocationsInput, ): Effect.Effect< AddStreamGroupLocationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateApplications( input: AssociateApplicationsInput, ): Effect.Effect< AssociateApplicationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createStreamSessionConnection( input: CreateStreamSessionConnectionInput, ): Effect.Effect< CreateStreamSessionConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateApplications( input: DisassociateApplicationsInput, ): Effect.Effect< DisassociateApplicationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; exportStreamSessionFiles( input: ExportStreamSessionFilesInput, ): Effect.Effect< ExportStreamSessionFilesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getStreamSession( input: GetStreamSessionInput, ): Effect.Effect< GetStreamSessionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listStreamSessions( input: ListStreamSessionsInput, ): Effect.Effect< ListStreamSessionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listStreamSessionsByAccount( input: ListStreamSessionsByAccountInput, ): Effect.Effect< ListStreamSessionsByAccountOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; removeStreamGroupLocations( input: RemoveStreamGroupLocationsInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startStreamSession( input: StartStreamSessionInput, ): Effect.Effect< StartStreamSessionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; terminateStreamSession( input: TerminateStreamSessionInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createApplication( input: CreateApplicationInput, ): Effect.Effect< CreateApplicationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createStreamGroup( input: CreateStreamGroupInput, ): Effect.Effect< CreateStreamGroupOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplication( input: DeleteApplicationInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteStreamGroup( input: DeleteStreamGroupInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplication( input: GetApplicationInput, ): Effect.Effect< GetApplicationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getStreamGroup( input: GetStreamGroupInput, ): Effect.Effect< GetStreamGroupOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplications( input: ListApplicationsInput, ): Effect.Effect< ListApplicationsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listStreamGroups( input: ListStreamGroupsInput, ): Effect.Effect< ListStreamGroupsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateApplication( input: UpdateApplicationInput, ): Effect.Effect< UpdateApplicationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateStreamGroup( input: UpdateStreamGroupInput, ): Effect.Effect< UpdateStreamGroupOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -328,12 +171,7 @@ export type ApplicationLogOutputUri = string; export type ApplicationSourceUri = string; -export type ApplicationStatus = - | "INITIALIZED" - | "PROCESSING" - | "READY" - | "DELETING" - | "ERROR"; +export type ApplicationStatus = "INITIALIZED" | "PROCESSING" | "READY" | "DELETING" | "ERROR"; export type ApplicationStatusReason = "internalError" | "accessDenied"; export interface ApplicationSummary { Arn: string; @@ -460,7 +298,8 @@ export interface ExportStreamSessionFilesInput { StreamSessionIdentifier: string; OutputUri: string; } -export interface ExportStreamSessionFilesOutput {} +export interface ExportStreamSessionFilesOutput { +} export type FileLocationUri = string; export type FilePath = string; @@ -680,26 +519,9 @@ export interface StartStreamSessionOutput { ApplicationArn?: string; ExportFilesMetadata?: ExportFilesMetadata; } -export type StreamClass = - | "gen4n_high" - | "gen4n_ultra" - | "gen4n_win2022" - | "gen5n_high" - | "gen5n_ultra" - | "gen5n_win2022"; -export type StreamGroupLocationStatus = - | "ACTIVATING" - | "ACTIVE" - | "ERROR" - | "REMOVING"; -export type StreamGroupStatus = - | "ACTIVATING" - | "UPDATING_LOCATIONS" - | "ACTIVE" - | "ACTIVE_WITH_ERRORS" - | "ERROR" - | "DELETING" - | "EXPIRED"; +export type StreamClass = "gen4n_high" | "gen4n_ultra" | "gen4n_win2022" | "gen5n_high" | "gen5n_ultra" | "gen5n_win2022"; +export type StreamGroupLocationStatus = "ACTIVATING" | "ACTIVE" | "ERROR" | "REMOVING"; +export type StreamGroupStatus = "ACTIVATING" | "UPDATING_LOCATIONS" | "ACTIVE" | "ACTIVE_WITH_ERRORS" | "ERROR" | "DELETING" | "EXPIRED"; export type StreamGroupStatusReason = "internalError" | "noAvailableInstances"; export interface StreamGroupSummary { Arn: string; @@ -713,26 +535,8 @@ export interface StreamGroupSummary { ExpiresAt?: Date | string; } export type StreamGroupSummaryList = Array; -export type StreamSessionStatus = - | "ACTIVATING" - | "ACTIVE" - | "CONNECTED" - | "PENDING_CLIENT_RECONNECTION" - | "RECONNECTING" - | "TERMINATING" - | "TERMINATED" - | "ERROR"; -export type StreamSessionStatusReason = - | "internalError" - | "invalidSignalRequest" - | "placementTimeout" - | "applicationLogS3DestinationError" - | "applicationExit" - | "connectionTimeout" - | "reconnectionTimeout" - | "maxSessionLengthTimeout" - | "idleTimeout" - | "apiTerminated"; +export type StreamSessionStatus = "ACTIVATING" | "ACTIVE" | "CONNECTED" | "PENDING_CLIENT_RECONNECTION" | "RECONNECTING" | "TERMINATING" | "TERMINATED" | "ERROR"; +export type StreamSessionStatusReason = "internalError" | "invalidSignalRequest" | "placementTimeout" | "applicationLogS3DestinationError" | "applicationExit" | "connectionTimeout" | "reconnectionTimeout" | "maxSessionLengthTimeout" | "idleTimeout" | "apiTerminated"; export interface StreamSessionSummary { Arn?: string; UserId?: string; @@ -752,7 +556,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -769,7 +574,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationInput { Identifier: string; Description?: string; @@ -1114,12 +920,5 @@ export declare namespace UpdateStreamGroup { | CommonAwsError; } -export type GameLiftStreamsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type GameLiftStreamsErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/geo-maps/index.ts b/src/services/geo-maps/index.ts index 2b63672c..8655e104 100644 --- a/src/services/geo-maps/index.ts +++ b/src/services/geo-maps/index.ts @@ -5,23 +5,7 @@ import type { GeoMaps as _GeoMapsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,54 +14,58 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "geo-maps", operations: { - GetGlyphs: { + "GetGlyphs": { http: "GET /glyphs/{FontStack}/{FontUnicodeRange}", traits: { - Blob: "httpPayload", - ContentType: "Content-Type", - CacheControl: "Cache-Control", - ETag: "ETag", + "Blob": "httpPayload", + "ContentType": "Content-Type", + "CacheControl": "Cache-Control", + "ETag": "ETag", }, }, - GetSprites: { + "GetSprites": { http: "GET /styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", traits: { - Blob: "httpPayload", - ContentType: "Content-Type", - CacheControl: "Cache-Control", - ETag: "ETag", + "Blob": "httpPayload", + "ContentType": "Content-Type", + "CacheControl": "Cache-Control", + "ETag": "ETag", }, }, - GetStaticMap: { + "GetStaticMap": { http: "GET /static/{FileName}", traits: { - Blob: "httpPayload", - ContentType: "Content-Type", - CacheControl: "Cache-Control", - ETag: "ETag", - PricingBucket: "x-amz-geo-pricing-bucket", + "Blob": "httpPayload", + "ContentType": "Content-Type", + "CacheControl": "Cache-Control", + "ETag": "ETag", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - GetStyleDescriptor: { + "GetStyleDescriptor": { http: "GET /styles/{Style}/descriptor", traits: { - Blob: "httpPayload", - ContentType: "Content-Type", - CacheControl: "Cache-Control", - ETag: "ETag", + "Blob": "httpPayload", + "ContentType": "Content-Type", + "CacheControl": "Cache-Control", + "ETag": "ETag", }, }, - GetTile: { + "GetTile": { http: "GET /tiles/{Tileset}/{Z}/{X}/{Y}", traits: { - Blob: "httpPayload", - ContentType: "Content-Type", - CacheControl: "Cache-Control", - ETag: "ETag", - PricingBucket: "x-amz-geo-pricing-bucket", + "Blob": "httpPayload", + "ContentType": "Content-Type", + "CacheControl": "Cache-Control", + "ETag": "ETag", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, + }, } as const satisfies ServiceMetadata; export type _GeoMaps = _GeoMapsClient; diff --git a/src/services/geo-maps/types.ts b/src/services/geo-maps/types.ts index bd0d623a..bca619de 100644 --- a/src/services/geo-maps/types.ts +++ b/src/services/geo-maps/types.ts @@ -1,70 +1,38 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class GeoMaps extends AWSServiceClient { getGlyphs( input: GetGlyphsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetGlyphsResponse, + CommonAwsError + >; getSprites( input: GetSpritesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSpritesResponse, + CommonAwsError + >; getStaticMap( input: GetStaticMapRequest, ): Effect.Effect< GetStaticMapResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getStyleDescriptor( input: GetStyleDescriptorRequest, - ): Effect.Effect; + ): Effect.Effect< + GetStyleDescriptorResponse, + CommonAwsError + >; getTile( input: GetTileRequest, ): Effect.Effect< GetTileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -237,13 +205,15 @@ export type Variant = string; export declare namespace GetGlyphs { export type Input = GetGlyphsRequest; export type Output = GetGlyphsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSprites { export type Input = GetSpritesRequest; export type Output = GetSpritesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetStaticMap { @@ -260,7 +230,8 @@ export declare namespace GetStaticMap { export declare namespace GetStyleDescriptor { export type Input = GetStyleDescriptorRequest; export type Output = GetStyleDescriptorResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTile { @@ -275,10 +246,5 @@ export declare namespace GetTile { | CommonAwsError; } -export type GeoMapsErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type GeoMapsErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/geo-places/index.ts b/src/services/geo-places/index.ts index b20addc0..3f190dc2 100644 --- a/src/services/geo-places/index.ts +++ b/src/services/geo-places/index.ts @@ -5,23 +5,7 @@ import type { GeoPlaces as _GeoPlacesClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,49 +14,53 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "geo-places", operations: { - Autocomplete: { + "Autocomplete": { http: "POST /autocomplete", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - Geocode: { + "Geocode": { http: "POST /geocode", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - GetPlace: { + "GetPlace": { http: "GET /place/{PlaceId}", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - ReverseGeocode: { + "ReverseGeocode": { http: "POST /reverse-geocode", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - SearchNearby: { + "SearchNearby": { http: "POST /search-nearby", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - SearchText: { + "SearchText": { http: "POST /search-text", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - Suggest: { + "Suggest": { http: "POST /suggest", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, + }, } as const satisfies ServiceMetadata; export type _GeoPlaces = _GeoPlacesClient; diff --git a/src/services/geo-places/types.ts b/src/services/geo-places/types.ts index b0b1444d..5ba25896 100644 --- a/src/services/geo-places/types.ts +++ b/src/services/geo-places/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class GeoPlaces extends AWSServiceClient { @@ -40,71 +8,43 @@ export declare class GeoPlaces extends AWSServiceClient { input: AutocompleteRequest, ): Effect.Effect< AutocompleteResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; geocode( input: GeocodeRequest, ): Effect.Effect< GeocodeResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getPlace( input: GetPlaceRequest, ): Effect.Effect< GetPlaceResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; reverseGeocode( input: ReverseGeocodeRequest, ): Effect.Effect< ReverseGeocodeResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; searchNearby( input: SearchNearbyRequest, ): Effect.Effect< SearchNearbyResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; searchText( input: SearchTextRequest, ): Effect.Effect< SearchTextResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; suggest( input: SuggestRequest, ): Effect.Effect< SuggestResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -471,8 +411,7 @@ export interface ParsedQuerySecondaryAddressComponent { Number: string; Designator: string; } -export type ParsedQuerySecondaryAddressComponentList = - Array; +export type ParsedQuerySecondaryAddressComponentList = Array; export interface PhonemeDetails { Title?: Array; Address?: AddressComponentPhonemes; @@ -681,8 +620,7 @@ export type SecondaryAddressComponentList = Array; export interface SecondaryAddressComponentMatchScore { Number?: number; } -export type SecondaryAddressComponentMatchScoreList = - Array; +export type SecondaryAddressComponentMatchScoreList = Array; export type SensitiveBoolean = boolean; export type SensitiveString = string; @@ -885,9 +823,5 @@ export declare namespace Suggest { | CommonAwsError; } -export type GeoPlacesErrors = - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type GeoPlacesErrors = AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/geo-routes/index.ts b/src/services/geo-routes/index.ts index 2bc99a4a..1f08ece5 100644 --- a/src/services/geo-routes/index.ts +++ b/src/services/geo-routes/index.ts @@ -5,23 +5,7 @@ import type { GeoRoutes as _GeoRoutesClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,37 +14,41 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "geo-routes", operations: { - CalculateIsolines: { + "CalculateIsolines": { http: "POST /isolines", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - CalculateRouteMatrix: { + "CalculateRouteMatrix": { http: "POST /route-matrix", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - CalculateRoutes: { + "CalculateRoutes": { http: "POST /routes", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - OptimizeWaypoints: { + "OptimizeWaypoints": { http: "POST /optimize-waypoints", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, - SnapToRoads: { + "SnapToRoads": { http: "POST /snap-to-roads", traits: { - PricingBucket: "x-amz-geo-pricing-bucket", + "PricingBucket": "x-amz-geo-pricing-bucket", }, }, }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, + }, } as const satisfies ServiceMetadata; export type _GeoRoutes = _GeoRoutesClient; diff --git a/src/services/geo-routes/types.ts b/src/services/geo-routes/types.ts index 96d4bf02..da705836 100644 --- a/src/services/geo-routes/types.ts +++ b/src/services/geo-routes/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class GeoRoutes extends AWSServiceClient { @@ -40,51 +8,31 @@ export declare class GeoRoutes extends AWSServiceClient { input: CalculateIsolinesRequest, ): Effect.Effect< CalculateIsolinesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; calculateRouteMatrix( input: CalculateRouteMatrixRequest, ): Effect.Effect< CalculateRouteMatrixResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; calculateRoutes( input: CalculateRoutesRequest, ): Effect.Effect< CalculateRoutesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; optimizeWaypoints( input: OptimizeWaypointsRequest, ): Effect.Effect< OptimizeWaypointsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; snapToRoads( input: SnapToRoadsRequest, ): Effect.Effect< SnapToRoadsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -237,8 +185,7 @@ export interface IsolineAvoidanceAreaGeometry { PolylineCorridor?: PolylineCorridor; PolylinePolygon?: Array; } -export type IsolineAvoidanceAreaGeometryList = - Array; +export type IsolineAvoidanceAreaGeometryList = Array; export type IsolineAvoidanceAreaList = Array; export interface IsolineAvoidanceOptions { Areas?: Array; @@ -257,8 +204,7 @@ export interface IsolineAvoidanceOptions { export interface IsolineAvoidanceZoneCategory { Category?: string; } -export type IsolineAvoidanceZoneCategoryList = - Array; +export type IsolineAvoidanceZoneCategoryList = Array; export interface IsolineCarOptions { EngineType?: string; LicensePlate?: IsolineVehicleLicensePlate; @@ -539,8 +485,7 @@ export interface RouteDriverScheduleInterval { DriveDuration: number; RestDuration: number; } -export type RouteDriverScheduleIntervalList = - Array; +export type RouteDriverScheduleIntervalList = Array; export interface RouteEmissionType { Co2EmissionClass?: string; Type: string; @@ -718,8 +663,7 @@ export interface RouteMatrixAvoidanceOptions { export interface RouteMatrixAvoidanceZoneCategory { Category?: string; } -export type RouteMatrixAvoidanceZoneCategoryList = - Array; +export type RouteMatrixAvoidanceZoneCategoryList = Array; export interface RouteMatrixBoundary { Geometry?: RouteMatrixBoundaryGeometry; Unbounded?: boolean; @@ -1415,8 +1359,7 @@ export interface WaypointOptimizationAvoidanceArea { export interface WaypointOptimizationAvoidanceAreaGeometry { BoundingBox?: Array; } -export type WaypointOptimizationAvoidanceAreaList = - Array; +export type WaypointOptimizationAvoidanceAreaList = Array; export interface WaypointOptimizationAvoidanceOptions { Areas?: Array; CarShuttleTrains?: boolean; @@ -1441,8 +1384,7 @@ export interface WaypointOptimizationConnection { TravelDuration: number; WaitDuration: number; } -export type WaypointOptimizationConnectionList = - Array; +export type WaypointOptimizationConnectionList = Array; export type WaypointOptimizationConstraint = string; export interface WaypointOptimizationDestinationOptions { @@ -1468,8 +1410,7 @@ export interface WaypointOptimizationFailedConstraint { Constraint?: string; Reason?: string; } -export type WaypointOptimizationFailedConstraintList = - Array; +export type WaypointOptimizationFailedConstraintList = Array; export type WaypointOptimizationHazardousCargoType = string; export type WaypointOptimizationHazardousCargoTypeList = Array; @@ -1478,8 +1419,7 @@ export interface WaypointOptimizationImpedingWaypoint { Id: string; Position: Array; } -export type WaypointOptimizationImpedingWaypointList = - Array; +export type WaypointOptimizationImpedingWaypointList = Array; export interface WaypointOptimizationOptimizedWaypoint { ArrivalTime?: string; ClusterIndex?: number; @@ -1487,8 +1427,7 @@ export interface WaypointOptimizationOptimizedWaypoint { Id: string; Position: Array; } -export type WaypointOptimizationOptimizedWaypointList = - Array; +export type WaypointOptimizationOptimizedWaypointList = Array; export interface WaypointOptimizationOriginOptions { Id?: string; } @@ -1555,8 +1494,7 @@ export interface WaypointOptimizationWaypoint { ServiceDuration?: number; SideOfStreet?: WaypointOptimizationSideOfStreetOptions; } -export type WaypointOptimizationWaypointList = - Array; +export type WaypointOptimizationWaypointList = Array; export type WeightKilograms = number; export interface WeightPerAxleGroup { @@ -1621,9 +1559,5 @@ export declare namespace SnapToRoads { | CommonAwsError; } -export type GeoRoutesErrors = - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type GeoRoutesErrors = AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/glacier/index.ts b/src/services/glacier/index.ts index 6a839727..4b168d53 100644 --- a/src/services/glacier/index.ts +++ b/src/services/glacier/index.ts @@ -5,25 +5,7 @@ import type { Glacier as _GlacierClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,114 +15,105 @@ const metadata = { sigV4ServiceName: "glacier", endpointPrefix: "glacier", operations: { - AbortMultipartUpload: - "DELETE /{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - AbortVaultLock: "DELETE /{accountId}/vaults/{vaultName}/lock-policy", - AddTagsToVault: "POST /{accountId}/vaults/{vaultName}/tags?operation=add", - CompleteMultipartUpload: { + "AbortMultipartUpload": "DELETE /{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", + "AbortVaultLock": "DELETE /{accountId}/vaults/{vaultName}/lock-policy", + "AddTagsToVault": "POST /{accountId}/vaults/{vaultName}/tags?operation=add", + "CompleteMultipartUpload": { http: "POST /{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", traits: { - location: "Location", - checksum: "x-amz-sha256-tree-hash", - archiveId: "x-amz-archive-id", + "location": "Location", + "checksum": "x-amz-sha256-tree-hash", + "archiveId": "x-amz-archive-id", }, }, - CompleteVaultLock: - "POST /{accountId}/vaults/{vaultName}/lock-policy/{lockId}", - CreateVault: { + "CompleteVaultLock": "POST /{accountId}/vaults/{vaultName}/lock-policy/{lockId}", + "CreateVault": { http: "PUT /{accountId}/vaults/{vaultName}", traits: { - location: "Location", + "location": "Location", }, }, - DeleteArchive: - "DELETE /{accountId}/vaults/{vaultName}/archives/{archiveId}", - DeleteVault: "DELETE /{accountId}/vaults/{vaultName}", - DeleteVaultAccessPolicy: - "DELETE /{accountId}/vaults/{vaultName}/access-policy", - DeleteVaultNotifications: - "DELETE /{accountId}/vaults/{vaultName}/notification-configuration", - DescribeJob: "GET /{accountId}/vaults/{vaultName}/jobs/{jobId}", - DescribeVault: "GET /{accountId}/vaults/{vaultName}", - GetDataRetrievalPolicy: "GET /{accountId}/policies/data-retrieval", - GetJobOutput: { + "DeleteArchive": "DELETE /{accountId}/vaults/{vaultName}/archives/{archiveId}", + "DeleteVault": "DELETE /{accountId}/vaults/{vaultName}", + "DeleteVaultAccessPolicy": "DELETE /{accountId}/vaults/{vaultName}/access-policy", + "DeleteVaultNotifications": "DELETE /{accountId}/vaults/{vaultName}/notification-configuration", + "DescribeJob": "GET /{accountId}/vaults/{vaultName}/jobs/{jobId}", + "DescribeVault": "GET /{accountId}/vaults/{vaultName}", + "GetDataRetrievalPolicy": "GET /{accountId}/policies/data-retrieval", + "GetJobOutput": { http: "GET /{accountId}/vaults/{vaultName}/jobs/{jobId}/output", traits: { - body: "httpPayload", - checksum: "x-amz-sha256-tree-hash", - status: "httpResponseCode", - contentRange: "Content-Range", - acceptRanges: "Accept-Ranges", - contentType: "Content-Type", - archiveDescription: "x-amz-archive-description", + "body": "httpPayload", + "checksum": "x-amz-sha256-tree-hash", + "status": "httpResponseCode", + "contentRange": "Content-Range", + "acceptRanges": "Accept-Ranges", + "contentType": "Content-Type", + "archiveDescription": "x-amz-archive-description", }, }, - GetVaultAccessPolicy: { + "GetVaultAccessPolicy": { http: "GET /{accountId}/vaults/{vaultName}/access-policy", traits: { - policy: "httpPayload", + "policy": "httpPayload", }, }, - GetVaultLock: "GET /{accountId}/vaults/{vaultName}/lock-policy", - GetVaultNotifications: { + "GetVaultLock": "GET /{accountId}/vaults/{vaultName}/lock-policy", + "GetVaultNotifications": { http: "GET /{accountId}/vaults/{vaultName}/notification-configuration", traits: { - vaultNotificationConfig: "httpPayload", + "vaultNotificationConfig": "httpPayload", }, }, - InitiateJob: { + "InitiateJob": { http: "POST /{accountId}/vaults/{vaultName}/jobs", traits: { - location: "Location", - jobId: "x-amz-job-id", - jobOutputPath: "x-amz-job-output-path", + "location": "Location", + "jobId": "x-amz-job-id", + "jobOutputPath": "x-amz-job-output-path", }, }, - InitiateMultipartUpload: { + "InitiateMultipartUpload": { http: "POST /{accountId}/vaults/{vaultName}/multipart-uploads", traits: { - location: "Location", - uploadId: "x-amz-multipart-upload-id", + "location": "Location", + "uploadId": "x-amz-multipart-upload-id", }, }, - InitiateVaultLock: { + "InitiateVaultLock": { http: "POST /{accountId}/vaults/{vaultName}/lock-policy", traits: { - lockId: "x-amz-lock-id", + "lockId": "x-amz-lock-id", }, }, - ListJobs: "GET /{accountId}/vaults/{vaultName}/jobs", - ListMultipartUploads: - "GET /{accountId}/vaults/{vaultName}/multipart-uploads", - ListParts: - "GET /{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", - ListProvisionedCapacity: "GET /{accountId}/provisioned-capacity", - ListTagsForVault: "GET /{accountId}/vaults/{vaultName}/tags", - ListVaults: "GET /{accountId}/vaults", - PurchaseProvisionedCapacity: { + "ListJobs": "GET /{accountId}/vaults/{vaultName}/jobs", + "ListMultipartUploads": "GET /{accountId}/vaults/{vaultName}/multipart-uploads", + "ListParts": "GET /{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", + "ListProvisionedCapacity": "GET /{accountId}/provisioned-capacity", + "ListTagsForVault": "GET /{accountId}/vaults/{vaultName}/tags", + "ListVaults": "GET /{accountId}/vaults", + "PurchaseProvisionedCapacity": { http: "POST /{accountId}/provisioned-capacity", traits: { - capacityId: "x-amz-capacity-id", + "capacityId": "x-amz-capacity-id", }, }, - RemoveTagsFromVault: - "POST /{accountId}/vaults/{vaultName}/tags?operation=remove", - SetDataRetrievalPolicy: "PUT /{accountId}/policies/data-retrieval", - SetVaultAccessPolicy: "PUT /{accountId}/vaults/{vaultName}/access-policy", - SetVaultNotifications: - "PUT /{accountId}/vaults/{vaultName}/notification-configuration", - UploadArchive: { + "RemoveTagsFromVault": "POST /{accountId}/vaults/{vaultName}/tags?operation=remove", + "SetDataRetrievalPolicy": "PUT /{accountId}/policies/data-retrieval", + "SetVaultAccessPolicy": "PUT /{accountId}/vaults/{vaultName}/access-policy", + "SetVaultNotifications": "PUT /{accountId}/vaults/{vaultName}/notification-configuration", + "UploadArchive": { http: "POST /{accountId}/vaults/{vaultName}/archives", traits: { - location: "Location", - checksum: "x-amz-sha256-tree-hash", - archiveId: "x-amz-archive-id", + "location": "Location", + "checksum": "x-amz-sha256-tree-hash", + "archiveId": "x-amz-archive-id", }, }, - UploadMultipartPart: { + "UploadMultipartPart": { http: "PUT /{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}", traits: { - checksum: "x-amz-sha256-tree-hash", + "checksum": "x-amz-sha256-tree-hash", }, }, }, diff --git a/src/services/glacier/types.ts b/src/services/glacier/types.ts index 679053ec..cf8b3748 100644 --- a/src/services/glacier/types.ts +++ b/src/services/glacier/types.ts @@ -1,42 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | RequestTimeoutException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | RequestTimeoutException; import { AWSServiceClient } from "../../client.ts"; export declare class Glacier extends AWSServiceClient { @@ -44,333 +10,199 @@ export declare class Glacier extends AWSServiceClient { input: AbortMultipartUploadInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; abortVaultLock( input: AbortVaultLockInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; addTagsToVault( input: AddTagsToVaultInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; completeMultipartUpload( input: CompleteMultipartUploadInput, ): Effect.Effect< ArchiveCreationOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; completeVaultLock( input: CompleteVaultLockInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; createVault( input: CreateVaultInput, ): Effect.Effect< CreateVaultOutput, - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; deleteArchive( input: DeleteArchiveInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteVault( input: DeleteVaultInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteVaultAccessPolicy( input: DeleteVaultAccessPolicyInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteVaultNotifications( input: DeleteVaultNotificationsInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeJob( input: DescribeJobInput, ): Effect.Effect< GlacierJobDescription, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeVault( input: DescribeVaultInput, ): Effect.Effect< DescribeVaultOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getDataRetrievalPolicy( input: GetDataRetrievalPolicyInput, ): Effect.Effect< GetDataRetrievalPolicyOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; getJobOutput( input: GetJobOutputInput, ): Effect.Effect< GetJobOutputOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getVaultAccessPolicy( input: GetVaultAccessPolicyInput, ): Effect.Effect< GetVaultAccessPolicyOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getVaultLock( input: GetVaultLockInput, ): Effect.Effect< GetVaultLockOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; getVaultNotifications( input: GetVaultNotificationsInput, ): Effect.Effect< GetVaultNotificationsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; initiateJob( input: InitiateJobInput, ): Effect.Effect< InitiateJobOutput, - | InsufficientCapacityException - | InvalidParameterValueException - | MissingParameterValueException - | PolicyEnforcedException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InsufficientCapacityException | InvalidParameterValueException | MissingParameterValueException | PolicyEnforcedException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; initiateMultipartUpload( input: InitiateMultipartUploadInput, ): Effect.Effect< InitiateMultipartUploadOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; initiateVaultLock( input: InitiateVaultLockInput, ): Effect.Effect< InitiateVaultLockOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listJobs( input: ListJobsInput, ): Effect.Effect< ListJobsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listMultipartUploads( input: ListMultipartUploadsInput, ): Effect.Effect< ListMultipartUploadsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listParts( input: ListPartsInput, ): Effect.Effect< ListPartsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listProvisionedCapacity( input: ListProvisionedCapacityInput, ): Effect.Effect< ListProvisionedCapacityOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; listTagsForVault( input: ListTagsForVaultInput, ): Effect.Effect< ListTagsForVaultOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listVaults( input: ListVaultsInput, ): Effect.Effect< ListVaultsOutput, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; purchaseProvisionedCapacity( input: PurchaseProvisionedCapacityInput, ): Effect.Effect< PurchaseProvisionedCapacityOutput, - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | LimitExceededException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; removeTagsFromVault( input: RemoveTagsFromVaultInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; setDataRetrievalPolicy( input: SetDataRetrievalPolicyInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ServiceUnavailableException | CommonAwsError >; setVaultAccessPolicy( input: SetVaultAccessPolicyInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; setVaultNotifications( input: SetVaultNotificationsInput, ): Effect.Effect< {}, - | InvalidParameterValueException - | MissingParameterValueException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; uploadArchive( input: UploadArchiveInput, ): Effect.Effect< ArchiveCreationOutput, - | InvalidParameterValueException - | MissingParameterValueException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | RequestTimeoutException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; uploadMultipartPart( input: UploadMultipartPartInput, ): Effect.Effect< UploadMultipartPartOutput, - | InvalidParameterValueException - | MissingParameterValueException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InvalidParameterValueException | MissingParameterValueException | RequestTimeoutException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; } @@ -397,14 +229,7 @@ export interface ArchiveCreationOutput { } export type Glacierboolean = boolean; -export type CannedACL = - | "private" - | "public-read" - | "public-read-write" - | "aws-exec-read" - | "authenticated-read" - | "bucket-owner-read" - | "bucket-owner-full-control"; +export type CannedACL = "private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control"; export interface CompleteMultipartUploadInput { accountId: string; vaultName: string; @@ -734,12 +559,7 @@ export interface PartListElement { RangeInBytes?: string; SHA256TreeHash?: string; } -export type Permission = - | "FULL_CONTROL" - | "WRITE" - | "WRITE_ACP" - | "READ" - | "READ_ACP"; +export type Permission = "FULL_CONTROL" | "WRITE" | "WRITE_ACP" | "READ" | "READ_ACP"; export declare class PolicyEnforcedException extends EffectData.TaggedError( "PolicyEnforcedException", )<{ @@ -1233,13 +1053,5 @@ export declare namespace UploadMultipartPart { | CommonAwsError; } -export type GlacierErrors = - | InsufficientCapacityException - | InvalidParameterValueException - | LimitExceededException - | MissingParameterValueException - | PolicyEnforcedException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError; +export type GlacierErrors = InsufficientCapacityException | InvalidParameterValueException | LimitExceededException | MissingParameterValueException | PolicyEnforcedException | RequestTimeoutException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError; + diff --git a/src/services/global-accelerator/index.ts b/src/services/global-accelerator/index.ts index b9e01a4a..81c73219 100644 --- a/src/services/global-accelerator/index.ts +++ b/src/services/global-accelerator/index.ts @@ -5,25 +5,7 @@ import type { GlobalAccelerator as _GlobalAcceleratorClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/global-accelerator/types.ts b/src/services/global-accelerator/types.ts index 4886881f..cea9c319 100644 --- a/src/services/global-accelerator/types.ts +++ b/src/services/global-accelerator/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class GlobalAccelerator extends AWSServiceClient { @@ -42,332 +8,193 @@ export declare class GlobalAccelerator extends AWSServiceClient { input: AddCustomRoutingEndpointsRequest, ): Effect.Effect< AddCustomRoutingEndpointsResponse, - | AccessDeniedException - | ConflictException - | EndpointAlreadyExistsException - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | LimitExceededException - | CommonAwsError + AccessDeniedException | ConflictException | EndpointAlreadyExistsException | EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | LimitExceededException | CommonAwsError >; addEndpoints( input: AddEndpointsRequest, ): Effect.Effect< AddEndpointsResponse, - | AccessDeniedException - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | LimitExceededException - | TransactionInProgressException - | CommonAwsError + AccessDeniedException | EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | LimitExceededException | TransactionInProgressException | CommonAwsError >; advertiseByoipCidr( input: AdvertiseByoipCidrRequest, ): Effect.Effect< AdvertiseByoipCidrResponse, - | AccessDeniedException - | ByoipCidrNotFoundException - | IncorrectCidrStateException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AccessDeniedException | ByoipCidrNotFoundException | IncorrectCidrStateException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; allowCustomRoutingTraffic( input: AllowCustomRoutingTrafficRequest, ): Effect.Effect< {}, - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; createAccelerator( input: CreateAcceleratorRequest, ): Effect.Effect< CreateAcceleratorResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidArgumentException - | LimitExceededException - | TransactionInProgressException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidArgumentException | LimitExceededException | TransactionInProgressException | CommonAwsError >; createCrossAccountAttachment( input: CreateCrossAccountAttachmentRequest, ): Effect.Effect< CreateCrossAccountAttachmentResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidArgumentException - | LimitExceededException - | TransactionInProgressException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidArgumentException | LimitExceededException | TransactionInProgressException | CommonAwsError >; createCustomRoutingAccelerator( input: CreateCustomRoutingAcceleratorRequest, ): Effect.Effect< CreateCustomRoutingAcceleratorResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidArgumentException - | LimitExceededException - | TransactionInProgressException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidArgumentException | LimitExceededException | TransactionInProgressException | CommonAwsError >; createCustomRoutingEndpointGroup( input: CreateCustomRoutingEndpointGroupRequest, ): Effect.Effect< CreateCustomRoutingEndpointGroupResponse, - | AcceleratorNotFoundException - | AccessDeniedException - | EndpointGroupAlreadyExistsException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidPortRangeException - | LimitExceededException - | ListenerNotFoundException - | CommonAwsError + AcceleratorNotFoundException | AccessDeniedException | EndpointGroupAlreadyExistsException | InternalServiceErrorException | InvalidArgumentException | InvalidPortRangeException | LimitExceededException | ListenerNotFoundException | CommonAwsError >; createCustomRoutingListener( input: CreateCustomRoutingListenerRequest, ): Effect.Effect< CreateCustomRoutingListenerResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidPortRangeException - | LimitExceededException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | InvalidPortRangeException | LimitExceededException | CommonAwsError >; createEndpointGroup( input: CreateEndpointGroupRequest, ): Effect.Effect< CreateEndpointGroupResponse, - | AcceleratorNotFoundException - | AccessDeniedException - | EndpointGroupAlreadyExistsException - | InternalServiceErrorException - | InvalidArgumentException - | LimitExceededException - | ListenerNotFoundException - | CommonAwsError + AcceleratorNotFoundException | AccessDeniedException | EndpointGroupAlreadyExistsException | InternalServiceErrorException | InvalidArgumentException | LimitExceededException | ListenerNotFoundException | CommonAwsError >; createListener( input: CreateListenerRequest, ): Effect.Effect< CreateListenerResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidPortRangeException - | LimitExceededException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | InvalidPortRangeException | LimitExceededException | CommonAwsError >; deleteAccelerator( input: DeleteAcceleratorRequest, ): Effect.Effect< {}, - | AcceleratorNotDisabledException - | AcceleratorNotFoundException - | AssociatedListenerFoundException - | InternalServiceErrorException - | InvalidArgumentException - | TransactionInProgressException - | CommonAwsError + AcceleratorNotDisabledException | AcceleratorNotFoundException | AssociatedListenerFoundException | InternalServiceErrorException | InvalidArgumentException | TransactionInProgressException | CommonAwsError >; deleteCrossAccountAttachment( input: DeleteCrossAccountAttachmentRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AttachmentNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | TransactionInProgressException - | CommonAwsError + AccessDeniedException | AttachmentNotFoundException | InternalServiceErrorException | InvalidArgumentException | TransactionInProgressException | CommonAwsError >; deleteCustomRoutingAccelerator( input: DeleteCustomRoutingAcceleratorRequest, ): Effect.Effect< {}, - | AcceleratorNotDisabledException - | AcceleratorNotFoundException - | AssociatedListenerFoundException - | InternalServiceErrorException - | InvalidArgumentException - | TransactionInProgressException - | CommonAwsError + AcceleratorNotDisabledException | AcceleratorNotFoundException | AssociatedListenerFoundException | InternalServiceErrorException | InvalidArgumentException | TransactionInProgressException | CommonAwsError >; deleteCustomRoutingEndpointGroup( input: DeleteCustomRoutingEndpointGroupRequest, ): Effect.Effect< {}, - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; deleteCustomRoutingListener( input: DeleteCustomRoutingListenerRequest, ): Effect.Effect< {}, - | AssociatedEndpointGroupFoundException - | InternalServiceErrorException - | InvalidArgumentException - | ListenerNotFoundException - | CommonAwsError + AssociatedEndpointGroupFoundException | InternalServiceErrorException | InvalidArgumentException | ListenerNotFoundException | CommonAwsError >; deleteEndpointGroup( input: DeleteEndpointGroupRequest, ): Effect.Effect< {}, - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; deleteListener( input: DeleteListenerRequest, ): Effect.Effect< {}, - | AssociatedEndpointGroupFoundException - | InternalServiceErrorException - | InvalidArgumentException - | ListenerNotFoundException - | CommonAwsError + AssociatedEndpointGroupFoundException | InternalServiceErrorException | InvalidArgumentException | ListenerNotFoundException | CommonAwsError >; denyCustomRoutingTraffic( input: DenyCustomRoutingTrafficRequest, ): Effect.Effect< {}, - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; deprovisionByoipCidr( input: DeprovisionByoipCidrRequest, ): Effect.Effect< DeprovisionByoipCidrResponse, - | AccessDeniedException - | ByoipCidrNotFoundException - | IncorrectCidrStateException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AccessDeniedException | ByoipCidrNotFoundException | IncorrectCidrStateException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; describeAccelerator( input: DescribeAcceleratorRequest, ): Effect.Effect< DescribeAcceleratorResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; describeAcceleratorAttributes( input: DescribeAcceleratorAttributesRequest, ): Effect.Effect< DescribeAcceleratorAttributesResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; describeCrossAccountAttachment( input: DescribeCrossAccountAttachmentRequest, ): Effect.Effect< DescribeCrossAccountAttachmentResponse, - | AccessDeniedException - | AttachmentNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AccessDeniedException | AttachmentNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; describeCustomRoutingAccelerator( input: DescribeCustomRoutingAcceleratorRequest, ): Effect.Effect< DescribeCustomRoutingAcceleratorResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; describeCustomRoutingAcceleratorAttributes( input: DescribeCustomRoutingAcceleratorAttributesRequest, ): Effect.Effect< DescribeCustomRoutingAcceleratorAttributesResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; describeCustomRoutingEndpointGroup( input: DescribeCustomRoutingEndpointGroupRequest, ): Effect.Effect< DescribeCustomRoutingEndpointGroupResponse, - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; describeCustomRoutingListener( input: DescribeCustomRoutingListenerRequest, ): Effect.Effect< DescribeCustomRoutingListenerResponse, - | InternalServiceErrorException - | InvalidArgumentException - | ListenerNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidArgumentException | ListenerNotFoundException | CommonAwsError >; describeEndpointGroup( input: DescribeEndpointGroupRequest, ): Effect.Effect< DescribeEndpointGroupResponse, - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; describeListener( input: DescribeListenerRequest, ): Effect.Effect< DescribeListenerResponse, - | InternalServiceErrorException - | InvalidArgumentException - | ListenerNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidArgumentException | ListenerNotFoundException | CommonAwsError >; listAccelerators( input: ListAcceleratorsRequest, ): Effect.Effect< ListAcceleratorsResponse, - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | CommonAwsError + InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | CommonAwsError >; listByoipCidrs( input: ListByoipCidrsRequest, ): Effect.Effect< ListByoipCidrsResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | CommonAwsError >; listCrossAccountAttachments( input: ListCrossAccountAttachmentsRequest, ): Effect.Effect< ListCrossAccountAttachmentsResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | CommonAwsError >; listCrossAccountResourceAccounts( input: ListCrossAccountResourceAccountsRequest, @@ -379,247 +206,139 @@ export declare class GlobalAccelerator extends AWSServiceClient { input: ListCrossAccountResourcesRequest, ): Effect.Effect< ListCrossAccountResourcesResponse, - | AcceleratorNotFoundException - | AccessDeniedException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | CommonAwsError + AcceleratorNotFoundException | AccessDeniedException | InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | CommonAwsError >; listCustomRoutingAccelerators( input: ListCustomRoutingAcceleratorsRequest, ): Effect.Effect< ListCustomRoutingAcceleratorsResponse, - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | CommonAwsError + InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | CommonAwsError >; listCustomRoutingEndpointGroups( input: ListCustomRoutingEndpointGroupsRequest, ): Effect.Effect< ListCustomRoutingEndpointGroupsResponse, - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | ListenerNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | ListenerNotFoundException | CommonAwsError >; listCustomRoutingListeners( input: ListCustomRoutingListenersRequest, ): Effect.Effect< ListCustomRoutingListenersResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | CommonAwsError >; listCustomRoutingPortMappings( input: ListCustomRoutingPortMappingsRequest, ): Effect.Effect< ListCustomRoutingPortMappingsResponse, - | AcceleratorNotFoundException - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | CommonAwsError + AcceleratorNotFoundException | EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | CommonAwsError >; listCustomRoutingPortMappingsByDestination( input: ListCustomRoutingPortMappingsByDestinationRequest, ): Effect.Effect< ListCustomRoutingPortMappingsByDestinationResponse, - | EndpointNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | CommonAwsError + EndpointNotFoundException | InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | CommonAwsError >; listEndpointGroups( input: ListEndpointGroupsRequest, ): Effect.Effect< ListEndpointGroupsResponse, - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | ListenerNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | ListenerNotFoundException | CommonAwsError >; listListeners( input: ListListenersRequest, ): Effect.Effect< ListListenersResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AcceleratorNotFoundException - | AttachmentNotFoundException - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | ListenerNotFoundException - | CommonAwsError + AcceleratorNotFoundException | AttachmentNotFoundException | EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | ListenerNotFoundException | CommonAwsError >; provisionByoipCidr( input: ProvisionByoipCidrRequest, ): Effect.Effect< ProvisionByoipCidrResponse, - | AccessDeniedException - | IncorrectCidrStateException - | InternalServiceErrorException - | InvalidArgumentException - | LimitExceededException - | CommonAwsError + AccessDeniedException | IncorrectCidrStateException | InternalServiceErrorException | InvalidArgumentException | LimitExceededException | CommonAwsError >; removeCustomRoutingEndpoints( input: RemoveCustomRoutingEndpointsRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | EndpointGroupNotFoundException - | EndpointNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AccessDeniedException | ConflictException | EndpointGroupNotFoundException | EndpointNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; removeEndpoints( input: RemoveEndpointsRequest, ): Effect.Effect< {}, - | AccessDeniedException - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | TransactionInProgressException - | CommonAwsError + AccessDeniedException | EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | TransactionInProgressException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AcceleratorNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AcceleratorNotFoundException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; updateAccelerator( input: UpdateAcceleratorRequest, ): Effect.Effect< UpdateAcceleratorResponse, - | AcceleratorNotFoundException - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | InvalidArgumentException - | TransactionInProgressException - | CommonAwsError + AcceleratorNotFoundException | AccessDeniedException | ConflictException | InternalServiceErrorException | InvalidArgumentException | TransactionInProgressException | CommonAwsError >; updateAcceleratorAttributes( input: UpdateAcceleratorAttributesRequest, ): Effect.Effect< UpdateAcceleratorAttributesResponse, - | AcceleratorNotFoundException - | AccessDeniedException - | InternalServiceErrorException - | InvalidArgumentException - | TransactionInProgressException - | CommonAwsError + AcceleratorNotFoundException | AccessDeniedException | InternalServiceErrorException | InvalidArgumentException | TransactionInProgressException | CommonAwsError >; updateCrossAccountAttachment( input: UpdateCrossAccountAttachmentRequest, ): Effect.Effect< UpdateCrossAccountAttachmentResponse, - | AccessDeniedException - | AttachmentNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | LimitExceededException - | TransactionInProgressException - | CommonAwsError + AccessDeniedException | AttachmentNotFoundException | InternalServiceErrorException | InvalidArgumentException | LimitExceededException | TransactionInProgressException | CommonAwsError >; updateCustomRoutingAccelerator( input: UpdateCustomRoutingAcceleratorRequest, ): Effect.Effect< UpdateCustomRoutingAcceleratorResponse, - | AcceleratorNotFoundException - | ConflictException - | InternalServiceErrorException - | InvalidArgumentException - | TransactionInProgressException - | CommonAwsError + AcceleratorNotFoundException | ConflictException | InternalServiceErrorException | InvalidArgumentException | TransactionInProgressException | CommonAwsError >; updateCustomRoutingAcceleratorAttributes( input: UpdateCustomRoutingAcceleratorAttributesRequest, ): Effect.Effect< UpdateCustomRoutingAcceleratorAttributesResponse, - | AcceleratorNotFoundException - | AccessDeniedException - | InternalServiceErrorException - | InvalidArgumentException - | TransactionInProgressException - | CommonAwsError + AcceleratorNotFoundException | AccessDeniedException | InternalServiceErrorException | InvalidArgumentException | TransactionInProgressException | CommonAwsError >; updateCustomRoutingListener( input: UpdateCustomRoutingListenerRequest, ): Effect.Effect< UpdateCustomRoutingListenerResponse, - | InternalServiceErrorException - | InvalidArgumentException - | InvalidPortRangeException - | LimitExceededException - | ListenerNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidArgumentException | InvalidPortRangeException | LimitExceededException | ListenerNotFoundException | CommonAwsError >; updateEndpointGroup( input: UpdateEndpointGroupRequest, ): Effect.Effect< UpdateEndpointGroupResponse, - | AccessDeniedException - | EndpointGroupNotFoundException - | InternalServiceErrorException - | InvalidArgumentException - | LimitExceededException - | CommonAwsError + AccessDeniedException | EndpointGroupNotFoundException | InternalServiceErrorException | InvalidArgumentException | LimitExceededException | CommonAwsError >; updateListener( input: UpdateListenerRequest, ): Effect.Effect< UpdateListenerResponse, - | InternalServiceErrorException - | InvalidArgumentException - | InvalidPortRangeException - | LimitExceededException - | ListenerNotFoundException - | CommonAwsError + InternalServiceErrorException | InvalidArgumentException | InvalidPortRangeException | LimitExceededException | ListenerNotFoundException | CommonAwsError >; withdrawByoipCidr( input: WithdrawByoipCidrRequest, ): Effect.Effect< WithdrawByoipCidrResponse, - | AccessDeniedException - | ByoipCidrNotFoundException - | IncorrectCidrStateException - | InternalServiceErrorException - | InvalidArgumentException - | CommonAwsError + AccessDeniedException | ByoipCidrNotFoundException | IncorrectCidrStateException | InternalServiceErrorException | InvalidArgumentException | CommonAwsError >; } @@ -737,18 +456,7 @@ export declare class ByoipCidrNotFoundException extends EffectData.TaggedError( readonly Message?: string; }> {} export type ByoipCidrs = Array; -export type ByoipCidrState = - | "PENDING_PROVISIONING" - | "READY" - | "PENDING_ADVERTISING" - | "ADVERTISING" - | "PENDING_WITHDRAWING" - | "PENDING_DEPROVISIONING" - | "DEPROVISIONED" - | "FAILED_PROVISION" - | "FAILED_ADVERTISING" - | "FAILED_WITHDRAW" - | "FAILED_DEPROVISION"; +export type ByoipCidrState = "PENDING_PROVISIONING" | "READY" | "PENDING_ADVERTISING" | "ADVERTISING" | "PENDING_WITHDRAWING" | "PENDING_DEPROVISIONING" | "DEPROVISIONED" | "FAILED_PROVISION" | "FAILED_ADVERTISING" | "FAILED_WITHDRAW" | "FAILED_DEPROVISION"; export interface CidrAuthorizationContext { Message: string; Signature: string; @@ -863,27 +571,23 @@ export interface CustomRoutingDestinationConfiguration { ToPort: number; Protocols: Array; } -export type CustomRoutingDestinationConfigurations = - Array; +export type CustomRoutingDestinationConfigurations = Array; export interface CustomRoutingDestinationDescription { FromPort?: number; ToPort?: number; Protocols?: Array; } -export type CustomRoutingDestinationDescriptions = - Array; +export type CustomRoutingDestinationDescriptions = Array; export type CustomRoutingDestinationTrafficState = "ALLOW" | "DENY"; export interface CustomRoutingEndpointConfiguration { EndpointId?: string; AttachmentArn?: string; } -export type CustomRoutingEndpointConfigurations = - Array; +export type CustomRoutingEndpointConfigurations = Array; export interface CustomRoutingEndpointDescription { EndpointId?: string; } -export type CustomRoutingEndpointDescriptions = - Array; +export type CustomRoutingEndpointDescriptions = Array; export interface CustomRoutingEndpointGroup { EndpointGroupArn?: string; EndpointGroupRegion?: string; @@ -1136,7 +840,8 @@ export interface ListCrossAccountAttachmentsResponse { CrossAccountAttachments?: Array; NextToken?: string; } -export interface ListCrossAccountResourceAccountsRequest {} +export interface ListCrossAccountResourceAccountsRequest { +} export interface ListCrossAccountResourceAccountsResponse { ResourceOwnerAwsAccountIds?: Array; } @@ -1301,7 +1006,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -1320,7 +1026,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAcceleratorAttributesRequest { AcceleratorArn: string; FlowLogsEnabled?: boolean; @@ -2047,25 +1754,5 @@ export declare namespace WithdrawByoipCidr { | CommonAwsError; } -export type GlobalAcceleratorErrors = - | AcceleratorNotDisabledException - | AcceleratorNotFoundException - | AccessDeniedException - | AssociatedEndpointGroupFoundException - | AssociatedListenerFoundException - | AttachmentNotFoundException - | ByoipCidrNotFoundException - | ConflictException - | EndpointAlreadyExistsException - | EndpointGroupAlreadyExistsException - | EndpointGroupNotFoundException - | EndpointNotFoundException - | IncorrectCidrStateException - | InternalServiceErrorException - | InvalidArgumentException - | InvalidNextTokenException - | InvalidPortRangeException - | LimitExceededException - | ListenerNotFoundException - | TransactionInProgressException - | CommonAwsError; +export type GlobalAcceleratorErrors = AcceleratorNotDisabledException | AcceleratorNotFoundException | AccessDeniedException | AssociatedEndpointGroupFoundException | AssociatedListenerFoundException | AttachmentNotFoundException | ByoipCidrNotFoundException | ConflictException | EndpointAlreadyExistsException | EndpointGroupAlreadyExistsException | EndpointGroupNotFoundException | EndpointNotFoundException | IncorrectCidrStateException | InternalServiceErrorException | InvalidArgumentException | InvalidNextTokenException | InvalidPortRangeException | LimitExceededException | ListenerNotFoundException | TransactionInProgressException | CommonAwsError; + diff --git a/src/services/glue/index.ts b/src/services/glue/index.ts index 0ce5f115..1ce5cc32 100644 --- a/src/services/glue/index.ts +++ b/src/services/glue/index.ts @@ -5,23 +5,7 @@ import type { Glue as _GlueClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/glue/types.ts b/src/services/glue/types.ts index bfa351d8..e7f2ebc0 100644 --- a/src/services/glue/types.ts +++ b/src/services/glue/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Glue extends AWSServiceClient { @@ -40,14 +8,7 @@ export declare class Glue extends AWSServiceClient { input: BatchCreatePartitionRequest, ): Effect.Effect< BatchCreatePartitionResponse, - | AlreadyExistsException - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; batchDeleteConnection( input: BatchDeleteConnectionRequest, @@ -59,42 +20,25 @@ export declare class Glue extends AWSServiceClient { input: BatchDeletePartitionRequest, ): Effect.Effect< BatchDeletePartitionResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchDeleteTable( input: BatchDeleteTableRequest, ): Effect.Effect< BatchDeleteTableResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNotReadyException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNotReadyException | CommonAwsError >; batchDeleteTableVersion( input: BatchDeleteTableVersionRequest, ): Effect.Effect< BatchDeleteTableVersionResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchGetBlueprints( input: BatchGetBlueprintsRequest, ): Effect.Effect< BatchGetBlueprintsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchGetCrawlers( input: BatchGetCrawlersRequest, @@ -106,559 +50,283 @@ export declare class Glue extends AWSServiceClient { input: BatchGetCustomEntityTypesRequest, ): Effect.Effect< BatchGetCustomEntityTypesResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchGetDataQualityResult( input: BatchGetDataQualityResultRequest, ): Effect.Effect< BatchGetDataQualityResultResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchGetDevEndpoints( input: BatchGetDevEndpointsRequest, ): Effect.Effect< BatchGetDevEndpointsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchGetJobs( input: BatchGetJobsRequest, ): Effect.Effect< BatchGetJobsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchGetPartition( input: BatchGetPartitionRequest, ): Effect.Effect< BatchGetPartitionResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | InvalidStateException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | InvalidStateException | OperationTimeoutException | CommonAwsError >; batchGetTableOptimizer( input: BatchGetTableOptimizerRequest, ): Effect.Effect< BatchGetTableOptimizerResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | ThrottlingException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | ThrottlingException | CommonAwsError >; batchGetTriggers( input: BatchGetTriggersRequest, ): Effect.Effect< BatchGetTriggersResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchGetWorkflows( input: BatchGetWorkflowsRequest, ): Effect.Effect< BatchGetWorkflowsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchPutDataQualityStatisticAnnotation( input: BatchPutDataQualityStatisticAnnotationRequest, ): Effect.Effect< BatchPutDataQualityStatisticAnnotationResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | ResourceNumberLimitExceededException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | ResourceNumberLimitExceededException | CommonAwsError >; batchStopJobRun( input: BatchStopJobRunRequest, ): Effect.Effect< BatchStopJobRunResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchUpdatePartition( input: BatchUpdatePartitionRequest, ): Effect.Effect< BatchUpdatePartitionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; cancelDataQualityRuleRecommendationRun( input: CancelDataQualityRuleRecommendationRunRequest, ): Effect.Effect< CancelDataQualityRuleRecommendationRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; cancelDataQualityRulesetEvaluationRun( input: CancelDataQualityRulesetEvaluationRunRequest, ): Effect.Effect< CancelDataQualityRulesetEvaluationRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; cancelMLTaskRun( input: CancelMLTaskRunRequest, ): Effect.Effect< CancelMLTaskRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; cancelStatement( input: CancelStatementRequest, ): Effect.Effect< CancelStatementResponse, - | AccessDeniedException - | EntityNotFoundException - | IllegalSessionStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | IllegalSessionStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; checkSchemaVersionValidity( input: CheckSchemaVersionValidityInput, ): Effect.Effect< CheckSchemaVersionValidityResponse, - | AccessDeniedException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidInputException | CommonAwsError >; createBlueprint( input: CreateBlueprintRequest, ): Effect.Effect< CreateBlueprintResponse, - | AlreadyExistsException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createCatalog( input: CreateCatalogRequest, ): Effect.Effect< CreateCatalogResponse, - | AccessDeniedException - | AlreadyExistsException - | ConcurrentModificationException - | EntityNotFoundException - | FederatedResourceAlreadyExistsException - | FederationSourceException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | ConcurrentModificationException | EntityNotFoundException | FederatedResourceAlreadyExistsException | FederationSourceException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createClassifier( input: CreateClassifierRequest, ): Effect.Effect< CreateClassifierResponse, - | AlreadyExistsException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AlreadyExistsException | InvalidInputException | OperationTimeoutException | CommonAwsError >; createColumnStatisticsTaskSettings( input: CreateColumnStatisticsTaskSettingsRequest, ): Effect.Effect< CreateColumnStatisticsTaskSettingsResponse, - | AccessDeniedException - | AlreadyExistsException - | ColumnStatisticsTaskRunningException - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | ColumnStatisticsTaskRunningException | EntityNotFoundException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createConnection( input: CreateConnectionRequest, ): Effect.Effect< CreateConnectionResponse, - | AlreadyExistsException - | GlueEncryptionException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | GlueEncryptionException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createCrawler( input: CreateCrawlerRequest, ): Effect.Effect< CreateCrawlerResponse, - | AlreadyExistsException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createCustomEntityType( input: CreateCustomEntityTypeRequest, ): Effect.Effect< CreateCustomEntityTypeResponse, - | AccessDeniedException - | AlreadyExistsException - | IdempotentParameterMismatchException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | IdempotentParameterMismatchException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createDatabase( input: CreateDatabaseRequest, ): Effect.Effect< CreateDatabaseResponse, - | AlreadyExistsException - | ConcurrentModificationException - | FederatedResourceAlreadyExistsException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | ConcurrentModificationException | FederatedResourceAlreadyExistsException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createDataQualityRuleset( input: CreateDataQualityRulesetRequest, ): Effect.Effect< CreateDataQualityRulesetResponse, - | AlreadyExistsException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createDevEndpoint( input: CreateDevEndpointRequest, ): Effect.Effect< CreateDevEndpointResponse, - | AccessDeniedException - | AlreadyExistsException - | IdempotentParameterMismatchException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | IdempotentParameterMismatchException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | ValidationException | CommonAwsError >; createGlueIdentityCenterConfiguration( input: CreateGlueIdentityCenterConfigurationRequest, ): Effect.Effect< CreateGlueIdentityCenterConfigurationResponse, - | AccessDeniedException - | AlreadyExistsException - | ConcurrentModificationException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | ConcurrentModificationException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; createIntegration( input: CreateIntegrationRequest, ): Effect.Effect< CreateIntegrationResponse, - | AccessDeniedException - | ConflictException - | EntityNotFoundException - | IntegrationConflictOperationFault - | IntegrationQuotaExceededFault - | InternalServerException - | InternalServiceException - | InvalidInputException - | KMSKeyNotAccessibleFault - | ResourceNotFoundException - | ResourceNumberLimitExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | EntityNotFoundException | IntegrationConflictOperationFault | IntegrationQuotaExceededFault | InternalServerException | InternalServiceException | InvalidInputException | KMSKeyNotAccessibleFault | ResourceNotFoundException | ResourceNumberLimitExceededException | ValidationException | CommonAwsError >; createIntegrationResourceProperty( input: CreateIntegrationResourcePropertyRequest, ): Effect.Effect< CreateIntegrationResourcePropertyResponse, - | AccessDeniedException - | ConflictException - | EntityNotFoundException - | InternalServerException - | InternalServiceException - | InvalidInputException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | EntityNotFoundException | InternalServerException | InternalServiceException | InvalidInputException | ResourceNotFoundException | ValidationException | CommonAwsError >; createIntegrationTableProperties( input: CreateIntegrationTablePropertiesRequest, ): Effect.Effect< CreateIntegrationTablePropertiesResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServerException - | InternalServiceException - | InvalidInputException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServerException | InternalServiceException | InvalidInputException | ResourceNotFoundException | ValidationException | CommonAwsError >; createJob( input: CreateJobRequest, ): Effect.Effect< CreateJobResponse, - | AlreadyExistsException - | ConcurrentModificationException - | IdempotentParameterMismatchException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | ConcurrentModificationException | IdempotentParameterMismatchException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createMLTransform( input: CreateMLTransformRequest, ): Effect.Effect< CreateMLTransformResponse, - | AccessDeniedException - | AlreadyExistsException - | IdempotentParameterMismatchException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | IdempotentParameterMismatchException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createPartition( input: CreatePartitionRequest, ): Effect.Effect< CreatePartitionResponse, - | AlreadyExistsException - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createPartitionIndex( input: CreatePartitionIndexRequest, ): Effect.Effect< CreatePartitionIndexResponse, - | AlreadyExistsException - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createRegistry( input: CreateRegistryInput, ): Effect.Effect< CreateRegistryResponse, - | AccessDeniedException - | AlreadyExistsException - | ConcurrentModificationException - | InternalServiceException - | InvalidInputException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | ConcurrentModificationException | InternalServiceException | InvalidInputException | ResourceNumberLimitExceededException | CommonAwsError >; createSchema( input: CreateSchemaInput, ): Effect.Effect< CreateSchemaResponse, - | AccessDeniedException - | AlreadyExistsException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | ResourceNumberLimitExceededException | CommonAwsError >; createScript( input: CreateScriptRequest, ): Effect.Effect< CreateScriptResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; createSecurityConfiguration( input: CreateSecurityConfigurationRequest, ): Effect.Effect< CreateSecurityConfigurationResponse, - | AlreadyExistsException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createSession( input: CreateSessionRequest, ): Effect.Effect< CreateSessionResponse, - | AccessDeniedException - | AlreadyExistsException - | IdempotentParameterMismatchException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | IdempotentParameterMismatchException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | ValidationException | CommonAwsError >; createTable( input: CreateTableRequest, ): Effect.Effect< CreateTableResponse, - | AlreadyExistsException - | ConcurrentModificationException - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNotReadyException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | ConcurrentModificationException | EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNotReadyException | ResourceNumberLimitExceededException | CommonAwsError >; createTableOptimizer( input: CreateTableOptimizerRequest, ): Effect.Effect< CreateTableOptimizerResponse, - | AccessDeniedException - | AlreadyExistsException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | EntityNotFoundException | InternalServiceException | InvalidInputException | ThrottlingException | ValidationException | CommonAwsError >; createTrigger( input: CreateTriggerRequest, ): Effect.Effect< CreateTriggerResponse, - | AlreadyExistsException - | ConcurrentModificationException - | EntityNotFoundException - | IdempotentParameterMismatchException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | ConcurrentModificationException | EntityNotFoundException | IdempotentParameterMismatchException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createUsageProfile( input: CreateUsageProfileRequest, ): Effect.Effect< CreateUsageProfileResponse, - | AlreadyExistsException - | InternalServiceException - | InvalidInputException - | OperationNotSupportedException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | InternalServiceException | InvalidInputException | OperationNotSupportedException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createUserDefinedFunction( input: CreateUserDefinedFunctionRequest, ): Effect.Effect< CreateUserDefinedFunctionResponse, - | AlreadyExistsException - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createWorkflow( input: CreateWorkflowRequest, ): Effect.Effect< CreateWorkflowResponse, - | AlreadyExistsException - | ConcurrentModificationException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | ConcurrentModificationException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; deleteBlueprint( input: DeleteBlueprintRequest, ): Effect.Effect< DeleteBlueprintResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteCatalog( input: DeleteCatalogRequest, ): Effect.Effect< DeleteCatalogResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | FederationSourceException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | FederationSourceException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteClassifier( input: DeleteClassifierRequest, @@ -670,32 +338,19 @@ export declare class Glue extends AWSServiceClient { input: DeleteColumnStatisticsForPartitionRequest, ): Effect.Effect< DeleteColumnStatisticsForPartitionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteColumnStatisticsForTable( input: DeleteColumnStatisticsForTableRequest, ): Effect.Effect< DeleteColumnStatisticsForTableResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteColumnStatisticsTaskSettings( input: DeleteColumnStatisticsTaskSettingsRequest, - ): Effect.Effect< - DeleteColumnStatisticsTaskSettingsResponse, - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ): Effect.Effect< + DeleteColumnStatisticsTaskSettingsResponse, + EntityNotFoundException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteConnection( input: DeleteConnectionRequest, @@ -707,370 +362,199 @@ export declare class Glue extends AWSServiceClient { input: DeleteCrawlerRequest, ): Effect.Effect< DeleteCrawlerResponse, - | CrawlerRunningException - | EntityNotFoundException - | OperationTimeoutException - | SchedulerTransitioningException - | CommonAwsError + CrawlerRunningException | EntityNotFoundException | OperationTimeoutException | SchedulerTransitioningException | CommonAwsError >; deleteCustomEntityType( input: DeleteCustomEntityTypeRequest, ): Effect.Effect< DeleteCustomEntityTypeResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteDatabase( input: DeleteDatabaseRequest, ): Effect.Effect< DeleteDatabaseResponse, - | ConcurrentModificationException - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteDataQualityRuleset( input: DeleteDataQualityRulesetRequest, ): Effect.Effect< DeleteDataQualityRulesetResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteDevEndpoint( input: DeleteDevEndpointRequest, ): Effect.Effect< DeleteDevEndpointResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteGlueIdentityCenterConfiguration( input: DeleteGlueIdentityCenterConfigurationRequest, ): Effect.Effect< DeleteGlueIdentityCenterConfigurationResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteIntegration( input: DeleteIntegrationRequest, ): Effect.Effect< DeleteIntegrationResponse, - | AccessDeniedException - | ConflictException - | EntityNotFoundException - | IntegrationConflictOperationFault - | IntegrationNotFoundFault - | InternalServerException - | InternalServiceException - | InvalidInputException - | InvalidIntegrationStateFault - | InvalidStateException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | EntityNotFoundException | IntegrationConflictOperationFault | IntegrationNotFoundFault | InternalServerException | InternalServiceException | InvalidInputException | InvalidIntegrationStateFault | InvalidStateException | ValidationException | CommonAwsError >; deleteIntegrationTableProperties( input: DeleteIntegrationTablePropertiesRequest, ): Effect.Effect< DeleteIntegrationTablePropertiesResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServerException - | InternalServiceException - | InvalidInputException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServerException | InternalServiceException | InvalidInputException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteJob( input: DeleteJobRequest, ): Effect.Effect< DeleteJobResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteMLTransform( input: DeleteMLTransformRequest, ): Effect.Effect< DeleteMLTransformResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deletePartition( input: DeletePartitionRequest, ): Effect.Effect< DeletePartitionResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deletePartitionIndex( input: DeletePartitionIndexRequest, ): Effect.Effect< DeletePartitionIndexResponse, - | ConflictException - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConflictException | EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteRegistry( input: DeleteRegistryInput, ): Effect.Effect< DeleteRegistryResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InvalidInputException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InvalidInputException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | ConditionCheckFailureException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConditionCheckFailureException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteSchema( input: DeleteSchemaInput, ): Effect.Effect< DeleteSchemaResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InvalidInputException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InvalidInputException | CommonAwsError >; deleteSchemaVersions( input: DeleteSchemaVersionsInput, ): Effect.Effect< DeleteSchemaVersionsResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InvalidInputException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InvalidInputException | CommonAwsError >; deleteSecurityConfiguration( input: DeleteSecurityConfigurationRequest, ): Effect.Effect< DeleteSecurityConfigurationResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteSession( input: DeleteSessionRequest, ): Effect.Effect< DeleteSessionResponse, - | AccessDeniedException - | ConcurrentModificationException - | IllegalSessionStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | IllegalSessionStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteTable( input: DeleteTableRequest, ): Effect.Effect< DeleteTableResponse, - | ConcurrentModificationException - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNotReadyException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNotReadyException | CommonAwsError >; deleteTableOptimizer( input: DeleteTableOptimizerRequest, ): Effect.Effect< DeleteTableOptimizerResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | ThrottlingException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | ThrottlingException | CommonAwsError >; deleteTableVersion( input: DeleteTableVersionRequest, ): Effect.Effect< DeleteTableVersionResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteTrigger( input: DeleteTriggerRequest, ): Effect.Effect< DeleteTriggerResponse, - | ConcurrentModificationException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentModificationException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteUsageProfile( input: DeleteUsageProfileRequest, ): Effect.Effect< DeleteUsageProfileResponse, - | InternalServiceException - | InvalidInputException - | OperationNotSupportedException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationNotSupportedException | OperationTimeoutException | CommonAwsError >; deleteUserDefinedFunction( input: DeleteUserDefinedFunctionRequest, ): Effect.Effect< DeleteUserDefinedFunctionResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteWorkflow( input: DeleteWorkflowRequest, ): Effect.Effect< DeleteWorkflowResponse, - | ConcurrentModificationException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentModificationException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; describeConnectionType( input: DescribeConnectionTypeRequest, ): Effect.Effect< DescribeConnectionTypeResponse, - | AccessDeniedException - | InternalServiceException - | InvalidInputException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidInputException | ValidationException | CommonAwsError >; describeEntity( input: DescribeEntityRequest, ): Effect.Effect< DescribeEntityResponse, - | AccessDeniedException - | EntityNotFoundException - | FederationSourceException - | GlueEncryptionException - | InvalidInputException - | OperationTimeoutException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | FederationSourceException | GlueEncryptionException | InvalidInputException | OperationTimeoutException | ValidationException | CommonAwsError >; describeInboundIntegrations( input: DescribeInboundIntegrationsRequest, ): Effect.Effect< DescribeInboundIntegrationsResponse, - | AccessDeniedException - | EntityNotFoundException - | IntegrationNotFoundFault - | InternalServerException - | InternalServiceException - | InvalidInputException - | OperationNotSupportedException - | TargetResourceNotFound - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | IntegrationNotFoundFault | InternalServerException | InternalServiceException | InvalidInputException | OperationNotSupportedException | TargetResourceNotFound | ValidationException | CommonAwsError >; describeIntegrations( input: DescribeIntegrationsRequest, ): Effect.Effect< DescribeIntegrationsResponse, - | AccessDeniedException - | EntityNotFoundException - | IntegrationNotFoundFault - | InternalServerException - | InternalServiceException - | InvalidInputException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | IntegrationNotFoundFault | InternalServerException | InternalServiceException | InvalidInputException | ValidationException | CommonAwsError >; getBlueprint( input: GetBlueprintRequest, ): Effect.Effect< GetBlueprintResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getBlueprintRun( input: GetBlueprintRunRequest, ): Effect.Effect< GetBlueprintRunResponse, - | EntityNotFoundException - | InternalServiceException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | OperationTimeoutException | CommonAwsError >; getBlueprintRuns( input: GetBlueprintRunsRequest, ): Effect.Effect< GetBlueprintRunsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getCatalog( input: GetCatalogRequest, ): Effect.Effect< GetCatalogResponse, - | AccessDeniedException - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getCatalogImportStatus( input: GetCatalogImportStatusRequest, @@ -1082,15 +566,7 @@ export declare class Glue extends AWSServiceClient { input: GetCatalogsRequest, ): Effect.Effect< GetCatalogsResponse, - | AccessDeniedException - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getClassifier( input: GetClassifierRequest, @@ -1108,32 +584,19 @@ export declare class Glue extends AWSServiceClient { input: GetColumnStatisticsForPartitionRequest, ): Effect.Effect< GetColumnStatisticsForPartitionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getColumnStatisticsForTable( input: GetColumnStatisticsForTableRequest, ): Effect.Effect< GetColumnStatisticsForTableResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getColumnStatisticsTaskRun( input: GetColumnStatisticsTaskRunRequest, ): Effect.Effect< GetColumnStatisticsTaskRunResponse, - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getColumnStatisticsTaskRuns( input: GetColumnStatisticsTaskRunsRequest, @@ -1145,30 +608,19 @@ export declare class Glue extends AWSServiceClient { input: GetColumnStatisticsTaskSettingsRequest, ): Effect.Effect< GetColumnStatisticsTaskSettingsResponse, - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getConnection( input: GetConnectionRequest, ): Effect.Effect< GetConnectionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getConnections( input: GetConnectionsRequest, ): Effect.Effect< GetConnectionsResponse, - | EntityNotFoundException - | GlueEncryptionException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getCrawler( input: GetCrawlerRequest, @@ -1192,654 +644,361 @@ export declare class Glue extends AWSServiceClient { input: GetCustomEntityTypeRequest, ): Effect.Effect< GetCustomEntityTypeResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDatabase( input: GetDatabaseRequest, ): Effect.Effect< GetDatabaseResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDatabases( input: GetDatabasesRequest, ): Effect.Effect< GetDatabasesResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDataCatalogEncryptionSettings( input: GetDataCatalogEncryptionSettingsRequest, ): Effect.Effect< GetDataCatalogEncryptionSettingsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDataflowGraph( input: GetDataflowGraphRequest, ): Effect.Effect< GetDataflowGraphResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDataQualityModel( input: GetDataQualityModelRequest, ): Effect.Effect< GetDataQualityModelResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDataQualityModelResult( input: GetDataQualityModelResultRequest, ): Effect.Effect< GetDataQualityModelResultResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDataQualityResult( input: GetDataQualityResultRequest, ): Effect.Effect< GetDataQualityResultResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDataQualityRuleRecommendationRun( input: GetDataQualityRuleRecommendationRunRequest, ): Effect.Effect< GetDataQualityRuleRecommendationRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDataQualityRuleset( input: GetDataQualityRulesetRequest, ): Effect.Effect< GetDataQualityRulesetResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDataQualityRulesetEvaluationRun( input: GetDataQualityRulesetEvaluationRunRequest, - ): Effect.Effect< - GetDataQualityRulesetEvaluationRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ): Effect.Effect< + GetDataQualityRulesetEvaluationRunResponse, + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDevEndpoint( input: GetDevEndpointRequest, ): Effect.Effect< GetDevEndpointResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDevEndpoints( input: GetDevEndpointsRequest, ): Effect.Effect< GetDevEndpointsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getEntityRecords( input: GetEntityRecordsRequest, ): Effect.Effect< GetEntityRecordsResponse, - | AccessDeniedException - | EntityNotFoundException - | FederationSourceException - | GlueEncryptionException - | InvalidInputException - | OperationTimeoutException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | FederationSourceException | GlueEncryptionException | InvalidInputException | OperationTimeoutException | ValidationException | CommonAwsError >; getGlueIdentityCenterConfiguration( input: GetGlueIdentityCenterConfigurationRequest, ): Effect.Effect< GetGlueIdentityCenterConfigurationResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getIntegrationResourceProperty( input: GetIntegrationResourcePropertyRequest, ): Effect.Effect< GetIntegrationResourcePropertyResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServerException - | InternalServiceException - | InvalidInputException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServerException | InternalServiceException | InvalidInputException | ResourceNotFoundException | ValidationException | CommonAwsError >; getIntegrationTableProperties( input: GetIntegrationTablePropertiesRequest, ): Effect.Effect< GetIntegrationTablePropertiesResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServerException - | InternalServiceException - | InvalidInputException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServerException | InternalServiceException | InvalidInputException | ResourceNotFoundException | ValidationException | CommonAwsError >; getJob( input: GetJobRequest, ): Effect.Effect< GetJobResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getJobBookmark( input: GetJobBookmarkRequest, ): Effect.Effect< GetJobBookmarkResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ValidationException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ValidationException | CommonAwsError >; getJobRun( input: GetJobRunRequest, ): Effect.Effect< GetJobRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getJobRuns( input: GetJobRunsRequest, ): Effect.Effect< GetJobRunsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getJobs( input: GetJobsRequest, ): Effect.Effect< GetJobsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getMapping( input: GetMappingRequest, ): Effect.Effect< GetMappingResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getMLTaskRun( input: GetMLTaskRunRequest, ): Effect.Effect< GetMLTaskRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getMLTaskRuns( input: GetMLTaskRunsRequest, ): Effect.Effect< GetMLTaskRunsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getMLTransform( input: GetMLTransformRequest, ): Effect.Effect< GetMLTransformResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getMLTransforms( input: GetMLTransformsRequest, ): Effect.Effect< GetMLTransformsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getPartition( input: GetPartitionRequest, ): Effect.Effect< GetPartitionResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getPartitionIndexes( input: GetPartitionIndexesRequest, ): Effect.Effect< GetPartitionIndexesResponse, - | ConflictException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConflictException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getPartitions( input: GetPartitionsRequest, ): Effect.Effect< GetPartitionsResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | InvalidStateException - | OperationTimeoutException - | ResourceNotReadyException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | InvalidStateException | OperationTimeoutException | ResourceNotReadyException | CommonAwsError >; getPlan( input: GetPlanRequest, ): Effect.Effect< GetPlanResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getRegistry( input: GetRegistryInput, ): Effect.Effect< GetRegistryResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; getResourcePolicies( input: GetResourcePoliciesRequest, ): Effect.Effect< GetResourcePoliciesResponse, - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getSchema( input: GetSchemaInput, ): Effect.Effect< GetSchemaResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; getSchemaByDefinition( input: GetSchemaByDefinitionInput, ): Effect.Effect< GetSchemaByDefinitionResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; getSchemaVersion( input: GetSchemaVersionInput, ): Effect.Effect< GetSchemaVersionResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; getSchemaVersionsDiff( input: GetSchemaVersionsDiffInput, ): Effect.Effect< GetSchemaVersionsDiffResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; getSecurityConfiguration( input: GetSecurityConfigurationRequest, ): Effect.Effect< GetSecurityConfigurationResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getSecurityConfigurations( input: GetSecurityConfigurationsRequest, ): Effect.Effect< GetSecurityConfigurationsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getSession( input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getStatement( input: GetStatementRequest, ): Effect.Effect< GetStatementResponse, - | AccessDeniedException - | EntityNotFoundException - | IllegalSessionStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | IllegalSessionStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getTable( input: GetTableRequest, ): Effect.Effect< GetTableResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNotReadyException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNotReadyException | CommonAwsError >; getTableOptimizer( input: GetTableOptimizerRequest, ): Effect.Effect< GetTableOptimizerResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | ThrottlingException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | ThrottlingException | CommonAwsError >; getTables( input: GetTablesRequest, ): Effect.Effect< GetTablesResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getTableVersion( input: GetTableVersionRequest, ): Effect.Effect< GetTableVersionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getTableVersions( input: GetTableVersionsRequest, ): Effect.Effect< GetTableVersionsResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getTags( input: GetTagsRequest, ): Effect.Effect< GetTagsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getTrigger( input: GetTriggerRequest, ): Effect.Effect< GetTriggerResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getTriggers( input: GetTriggersRequest, ): Effect.Effect< GetTriggersResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getUnfilteredPartitionMetadata( input: GetUnfilteredPartitionMetadataRequest, ): Effect.Effect< GetUnfilteredPartitionMetadataResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | PermissionTypeMismatchException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | PermissionTypeMismatchException | CommonAwsError >; getUnfilteredPartitionsMetadata( input: GetUnfilteredPartitionsMetadataRequest, ): Effect.Effect< GetUnfilteredPartitionsMetadataResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | PermissionTypeMismatchException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | PermissionTypeMismatchException | CommonAwsError >; getUnfilteredTableMetadata( input: GetUnfilteredTableMetadataRequest, ): Effect.Effect< GetUnfilteredTableMetadataResponse, - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | PermissionTypeMismatchException - | CommonAwsError + EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | PermissionTypeMismatchException | CommonAwsError >; getUsageProfile( input: GetUsageProfileRequest, ): Effect.Effect< GetUsageProfileResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationNotSupportedException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationNotSupportedException | OperationTimeoutException | CommonAwsError >; getUserDefinedFunction( input: GetUserDefinedFunctionRequest, ): Effect.Effect< GetUserDefinedFunctionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getUserDefinedFunctions( input: GetUserDefinedFunctionsRequest, ): Effect.Effect< GetUserDefinedFunctionsResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getWorkflow( input: GetWorkflowRequest, ): Effect.Effect< GetWorkflowResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getWorkflowRun( input: GetWorkflowRunRequest, ): Effect.Effect< GetWorkflowRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getWorkflowRunProperties( input: GetWorkflowRunPropertiesRequest, ): Effect.Effect< GetWorkflowRunPropertiesResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getWorkflowRuns( input: GetWorkflowRunsRequest, ): Effect.Effect< GetWorkflowRunsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; importCatalogToGlue( input: ImportCatalogToGlueRequest, @@ -1851,10 +1010,7 @@ export declare class Glue extends AWSServiceClient { input: ListBlueprintsRequest, ): Effect.Effect< ListBlueprintsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listColumnStatisticsTaskRuns( input: ListColumnStatisticsTaskRunsRequest, @@ -1878,56 +1034,37 @@ export declare class Glue extends AWSServiceClient { input: ListCrawlsRequest, ): Effect.Effect< ListCrawlsResponse, - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listCustomEntityTypes( input: ListCustomEntityTypesRequest, ): Effect.Effect< - ListCustomEntityTypesResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ListCustomEntityTypesResponse, + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listDataQualityResults( input: ListDataQualityResultsRequest, ): Effect.Effect< ListDataQualityResultsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listDataQualityRuleRecommendationRuns( input: ListDataQualityRuleRecommendationRunsRequest, ): Effect.Effect< ListDataQualityRuleRecommendationRunsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listDataQualityRulesetEvaluationRuns( input: ListDataQualityRulesetEvaluationRunsRequest, ): Effect.Effect< ListDataQualityRulesetEvaluationRunsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listDataQualityRulesets( input: ListDataQualityRulesetsRequest, ): Effect.Effect< ListDataQualityRulesetsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listDataQualityStatisticAnnotations( input: ListDataQualityStatisticAnnotationsRequest, @@ -1939,887 +1076,475 @@ export declare class Glue extends AWSServiceClient { input: ListDataQualityStatisticsRequest, ): Effect.Effect< ListDataQualityStatisticsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; listDevEndpoints( input: ListDevEndpointsRequest, ): Effect.Effect< ListDevEndpointsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listEntities( input: ListEntitiesRequest, ): Effect.Effect< ListEntitiesResponse, - | AccessDeniedException - | EntityNotFoundException - | FederationSourceException - | GlueEncryptionException - | InvalidInputException - | OperationTimeoutException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | FederationSourceException | GlueEncryptionException | InvalidInputException | OperationTimeoutException | ValidationException | CommonAwsError >; listJobs( input: ListJobsRequest, ): Effect.Effect< ListJobsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listMLTransforms( input: ListMLTransformsRequest, ): Effect.Effect< ListMLTransformsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listRegistries( input: ListRegistriesInput, ): Effect.Effect< ListRegistriesResponse, - | AccessDeniedException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidInputException | CommonAwsError >; listSchemas( input: ListSchemasInput, ): Effect.Effect< ListSchemasResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; listSchemaVersions( input: ListSchemaVersionsInput, ): Effect.Effect< ListSchemaVersionsResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; listSessions( input: ListSessionsRequest, ): Effect.Effect< ListSessionsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listStatements( input: ListStatementsRequest, ): Effect.Effect< ListStatementsResponse, - | AccessDeniedException - | EntityNotFoundException - | IllegalSessionStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | IllegalSessionStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listTableOptimizerRuns( input: ListTableOptimizerRunsRequest, ): Effect.Effect< ListTableOptimizerRunsResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | ThrottlingException | ValidationException | CommonAwsError >; listTriggers( input: ListTriggersRequest, ): Effect.Effect< ListTriggersResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listUsageProfiles( input: ListUsageProfilesRequest, ): Effect.Effect< ListUsageProfilesResponse, - | InternalServiceException - | InvalidInputException - | OperationNotSupportedException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationNotSupportedException | OperationTimeoutException | CommonAwsError >; listWorkflows( input: ListWorkflowsRequest, ): Effect.Effect< ListWorkflowsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; modifyIntegration( input: ModifyIntegrationRequest, ): Effect.Effect< ModifyIntegrationResponse, - | AccessDeniedException - | ConflictException - | EntityNotFoundException - | IntegrationConflictOperationFault - | IntegrationNotFoundFault - | InternalServerException - | InternalServiceException - | InvalidInputException - | InvalidIntegrationStateFault - | InvalidStateException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | EntityNotFoundException | IntegrationConflictOperationFault | IntegrationNotFoundFault | InternalServerException | InternalServiceException | InvalidInputException | InvalidIntegrationStateFault | InvalidStateException | ValidationException | CommonAwsError >; putDataCatalogEncryptionSettings( input: PutDataCatalogEncryptionSettingsRequest, ): Effect.Effect< PutDataCatalogEncryptionSettingsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; putDataQualityProfileAnnotation( input: PutDataQualityProfileAnnotationRequest, ): Effect.Effect< PutDataQualityProfileAnnotationResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | ConditionCheckFailureException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConditionCheckFailureException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; putSchemaVersionMetadata( input: PutSchemaVersionMetadataInput, ): Effect.Effect< PutSchemaVersionMetadataResponse, - | AccessDeniedException - | AlreadyExistsException - | EntityNotFoundException - | InvalidInputException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | EntityNotFoundException | InvalidInputException | ResourceNumberLimitExceededException | CommonAwsError >; putWorkflowRunProperties( input: PutWorkflowRunPropertiesRequest, ): Effect.Effect< PutWorkflowRunPropertiesResponse, - | AlreadyExistsException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; querySchemaVersionMetadata( input: QuerySchemaVersionMetadataInput, ): Effect.Effect< QuerySchemaVersionMetadataResponse, - | AccessDeniedException - | EntityNotFoundException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InvalidInputException | CommonAwsError >; registerSchemaVersion( input: RegisterSchemaVersionInput, ): Effect.Effect< RegisterSchemaVersionResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | ResourceNumberLimitExceededException | CommonAwsError >; removeSchemaVersionMetadata( input: RemoveSchemaVersionMetadataInput, ): Effect.Effect< RemoveSchemaVersionMetadataResponse, - | AccessDeniedException - | EntityNotFoundException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InvalidInputException | CommonAwsError >; resetJobBookmark( input: ResetJobBookmarkRequest, ): Effect.Effect< ResetJobBookmarkResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; resumeWorkflowRun( input: ResumeWorkflowRunRequest, ): Effect.Effect< ResumeWorkflowRunResponse, - | ConcurrentRunsExceededException - | EntityNotFoundException - | IllegalWorkflowStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentRunsExceededException | EntityNotFoundException | IllegalWorkflowStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; runStatement( input: RunStatementRequest, ): Effect.Effect< RunStatementResponse, - | AccessDeniedException - | EntityNotFoundException - | IllegalSessionStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | IllegalSessionStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | ValidationException | CommonAwsError >; searchTables( input: SearchTablesRequest, ): Effect.Effect< SearchTablesResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; startBlueprintRun( input: StartBlueprintRunRequest, ): Effect.Effect< StartBlueprintRunResponse, - | EntityNotFoundException - | IllegalBlueprintStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + EntityNotFoundException | IllegalBlueprintStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; startColumnStatisticsTaskRun( input: StartColumnStatisticsTaskRunRequest, ): Effect.Effect< StartColumnStatisticsTaskRunResponse, - | AccessDeniedException - | ColumnStatisticsTaskRunningException - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | ColumnStatisticsTaskRunningException | EntityNotFoundException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; startColumnStatisticsTaskRunSchedule( input: StartColumnStatisticsTaskRunScheduleRequest, ): Effect.Effect< StartColumnStatisticsTaskRunScheduleResponse, - | AccessDeniedException - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InvalidInputException | OperationTimeoutException | CommonAwsError >; startCrawler( input: StartCrawlerRequest, ): Effect.Effect< StartCrawlerResponse, - | CrawlerRunningException - | EntityNotFoundException - | OperationTimeoutException - | CommonAwsError + CrawlerRunningException | EntityNotFoundException | OperationTimeoutException | CommonAwsError >; startCrawlerSchedule( input: StartCrawlerScheduleRequest, ): Effect.Effect< StartCrawlerScheduleResponse, - | EntityNotFoundException - | NoScheduleException - | OperationTimeoutException - | SchedulerRunningException - | SchedulerTransitioningException - | CommonAwsError + EntityNotFoundException | NoScheduleException | OperationTimeoutException | SchedulerRunningException | SchedulerTransitioningException | CommonAwsError >; startDataQualityRuleRecommendationRun( input: StartDataQualityRuleRecommendationRunRequest, ): Effect.Effect< StartDataQualityRuleRecommendationRunResponse, - | ConflictException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConflictException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; startDataQualityRulesetEvaluationRun( input: StartDataQualityRulesetEvaluationRunRequest, ): Effect.Effect< StartDataQualityRulesetEvaluationRunResponse, - | ConflictException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConflictException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; startExportLabelsTaskRun( input: StartExportLabelsTaskRunRequest, ): Effect.Effect< StartExportLabelsTaskRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; startImportLabelsTaskRun( input: StartImportLabelsTaskRunRequest, ): Effect.Effect< StartImportLabelsTaskRunResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; startJobRun( input: StartJobRunRequest, ): Effect.Effect< StartJobRunResponse, - | ConcurrentRunsExceededException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + ConcurrentRunsExceededException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; startMLEvaluationTaskRun( input: StartMLEvaluationTaskRunRequest, ): Effect.Effect< StartMLEvaluationTaskRunResponse, - | ConcurrentRunsExceededException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | MLTransformNotReadyException - | OperationTimeoutException - | CommonAwsError + ConcurrentRunsExceededException | EntityNotFoundException | InternalServiceException | InvalidInputException | MLTransformNotReadyException | OperationTimeoutException | CommonAwsError >; startMLLabelingSetGenerationTaskRun( input: StartMLLabelingSetGenerationTaskRunRequest, ): Effect.Effect< StartMLLabelingSetGenerationTaskRunResponse, - | ConcurrentRunsExceededException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentRunsExceededException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; startTrigger( input: StartTriggerRequest, ): Effect.Effect< StartTriggerResponse, - | ConcurrentRunsExceededException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + ConcurrentRunsExceededException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; startWorkflowRun( input: StartWorkflowRunRequest, ): Effect.Effect< StartWorkflowRunResponse, - | ConcurrentRunsExceededException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + ConcurrentRunsExceededException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; stopColumnStatisticsTaskRun( input: StopColumnStatisticsTaskRunRequest, ): Effect.Effect< StopColumnStatisticsTaskRunResponse, - | ColumnStatisticsTaskNotRunningException - | ColumnStatisticsTaskStoppingException - | EntityNotFoundException - | OperationTimeoutException - | CommonAwsError + ColumnStatisticsTaskNotRunningException | ColumnStatisticsTaskStoppingException | EntityNotFoundException | OperationTimeoutException | CommonAwsError >; stopColumnStatisticsTaskRunSchedule( input: StopColumnStatisticsTaskRunScheduleRequest, ): Effect.Effect< StopColumnStatisticsTaskRunScheduleResponse, - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InvalidInputException | OperationTimeoutException | CommonAwsError >; stopCrawler( input: StopCrawlerRequest, ): Effect.Effect< StopCrawlerResponse, - | CrawlerNotRunningException - | CrawlerStoppingException - | EntityNotFoundException - | OperationTimeoutException - | CommonAwsError + CrawlerNotRunningException | CrawlerStoppingException | EntityNotFoundException | OperationTimeoutException | CommonAwsError >; stopCrawlerSchedule( input: StopCrawlerScheduleRequest, ): Effect.Effect< StopCrawlerScheduleResponse, - | EntityNotFoundException - | OperationTimeoutException - | SchedulerNotRunningException - | SchedulerTransitioningException - | CommonAwsError + EntityNotFoundException | OperationTimeoutException | SchedulerNotRunningException | SchedulerTransitioningException | CommonAwsError >; stopSession( input: StopSessionRequest, ): Effect.Effect< StopSessionResponse, - | AccessDeniedException - | ConcurrentModificationException - | IllegalSessionStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | IllegalSessionStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; stopTrigger( input: StopTriggerRequest, ): Effect.Effect< StopTriggerResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; stopWorkflowRun( input: StopWorkflowRunRequest, ): Effect.Effect< StopWorkflowRunResponse, - | EntityNotFoundException - | IllegalWorkflowStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | IllegalWorkflowStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; testConnection( input: TestConnectionRequest, ): Effect.Effect< TestConnectionResponse, - | AccessDeniedException - | ConflictException - | EntityNotFoundException - | FederationSourceException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | ConflictException | EntityNotFoundException | FederationSourceException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateBlueprint( input: UpdateBlueprintRequest, ): Effect.Effect< UpdateBlueprintResponse, - | ConcurrentModificationException - | EntityNotFoundException - | IllegalBlueprintStateException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | IllegalBlueprintStateException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateCatalog( input: UpdateCatalogRequest, ): Effect.Effect< UpdateCatalogResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | FederationSourceException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | FederationSourceException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateClassifier( input: UpdateClassifierRequest, ): Effect.Effect< UpdateClassifierResponse, - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | VersionMismatchException - | CommonAwsError + EntityNotFoundException | InvalidInputException | OperationTimeoutException | VersionMismatchException | CommonAwsError >; updateColumnStatisticsForPartition( input: UpdateColumnStatisticsForPartitionRequest, ): Effect.Effect< UpdateColumnStatisticsForPartitionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateColumnStatisticsForTable( input: UpdateColumnStatisticsForTableRequest, ): Effect.Effect< UpdateColumnStatisticsForTableResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateColumnStatisticsTaskSettings( input: UpdateColumnStatisticsTaskSettingsRequest, ): Effect.Effect< UpdateColumnStatisticsTaskSettingsResponse, - | AccessDeniedException - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | VersionMismatchException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InvalidInputException | OperationTimeoutException | VersionMismatchException | CommonAwsError >; updateConnection( input: UpdateConnectionRequest, ): Effect.Effect< UpdateConnectionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateCrawler( input: UpdateCrawlerRequest, ): Effect.Effect< UpdateCrawlerResponse, - | CrawlerRunningException - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | VersionMismatchException - | CommonAwsError + CrawlerRunningException | EntityNotFoundException | InvalidInputException | OperationTimeoutException | VersionMismatchException | CommonAwsError >; updateCrawlerSchedule( input: UpdateCrawlerScheduleRequest, ): Effect.Effect< UpdateCrawlerScheduleResponse, - | EntityNotFoundException - | InvalidInputException - | OperationTimeoutException - | SchedulerTransitioningException - | VersionMismatchException - | CommonAwsError + EntityNotFoundException | InvalidInputException | OperationTimeoutException | SchedulerTransitioningException | VersionMismatchException | CommonAwsError >; updateDatabase( input: UpdateDatabaseRequest, ): Effect.Effect< UpdateDatabaseResponse, - | AlreadyExistsException - | ConcurrentModificationException - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AlreadyExistsException | ConcurrentModificationException | EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateDataQualityRuleset( input: UpdateDataQualityRulesetRequest, ): Effect.Effect< UpdateDataQualityRulesetResponse, - | AlreadyExistsException - | EntityNotFoundException - | IdempotentParameterMismatchException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | EntityNotFoundException | IdempotentParameterMismatchException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; updateDevEndpoint( input: UpdateDevEndpointRequest, ): Effect.Effect< UpdateDevEndpointResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ValidationException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ValidationException | CommonAwsError >; updateGlueIdentityCenterConfiguration( input: UpdateGlueIdentityCenterConfigurationRequest, ): Effect.Effect< UpdateGlueIdentityCenterConfigurationResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateIntegrationResourceProperty( input: UpdateIntegrationResourcePropertyRequest, ): Effect.Effect< UpdateIntegrationResourcePropertyResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServerException - | InternalServiceException - | InvalidInputException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServerException | InternalServiceException | InvalidInputException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateIntegrationTableProperties( input: UpdateIntegrationTablePropertiesRequest, ): Effect.Effect< UpdateIntegrationTablePropertiesResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServerException - | InternalServiceException - | InvalidInputException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServerException | InternalServiceException | InvalidInputException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateJob( input: UpdateJobRequest, ): Effect.Effect< UpdateJobResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateJobFromSourceControl( input: UpdateJobFromSourceControlRequest, ): Effect.Effect< UpdateJobFromSourceControlResponse, - | AccessDeniedException - | AlreadyExistsException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ValidationException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ValidationException | CommonAwsError >; updateMLTransform( input: UpdateMLTransformRequest, ): Effect.Effect< UpdateMLTransformResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updatePartition( input: UpdatePartitionRequest, ): Effect.Effect< UpdatePartitionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateRegistry( input: UpdateRegistryInput, ): Effect.Effect< UpdateRegistryResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; updateSchema( input: UpdateSchemaInput, ): Effect.Effect< UpdateSchemaResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; updateSourceControlFromJob( input: UpdateSourceControlFromJobRequest, ): Effect.Effect< UpdateSourceControlFromJobResponse, - | AccessDeniedException - | AlreadyExistsException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ValidationException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ValidationException | CommonAwsError >; updateTable( input: UpdateTableRequest, ): Effect.Effect< UpdateTableResponse, - | AlreadyExistsException - | ConcurrentModificationException - | EntityNotFoundException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNotReadyException - | ResourceNumberLimitExceededException - | CommonAwsError + AlreadyExistsException | ConcurrentModificationException | EntityNotFoundException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNotReadyException | ResourceNumberLimitExceededException | CommonAwsError >; updateTableOptimizer( input: UpdateTableOptimizerRequest, ): Effect.Effect< UpdateTableOptimizerResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | ThrottlingException | ValidationException | CommonAwsError >; updateTrigger( input: UpdateTriggerRequest, ): Effect.Effect< UpdateTriggerResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateUsageProfile( input: UpdateUsageProfileRequest, ): Effect.Effect< UpdateUsageProfileResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationNotSupportedException - | OperationTimeoutException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationNotSupportedException | OperationTimeoutException | CommonAwsError >; updateUserDefinedFunction( input: UpdateUserDefinedFunctionRequest, ): Effect.Effect< UpdateUserDefinedFunctionResponse, - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateWorkflow( input: UpdateWorkflowRequest, ): Effect.Effect< UpdateWorkflowResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; } @@ -2842,28 +1567,10 @@ export interface Action { } export type ActionList = Array; export type AdditionalContextMap = Record; -export type AdditionalOptionKeys = - | "performanceTuning.caching" - | "observations.scope" - | "compositeRuleEvaluation.method"; +export type AdditionalOptionKeys = "performanceTuning.caching" | "observations.scope" | "compositeRuleEvaluation.method"; export type AdditionalOptions = Record; export type AdditionalPlanOptionsMap = Record; -export type AggFunction = - | "avg" - | "countDistinct" - | "count" - | "first" - | "last" - | "kurtosis" - | "max" - | "min" - | "skewness" - | "stddev_samp" - | "stddev_pop" - | "sum" - | "sumDistinct" - | "var_samp" - | "var_pop"; +export type AggFunction = "avg" | "countDistinct" | "count" | "first" | "last" | "kurtosis" | "max" | "min" | "skewness" | "stddev_samp" | "stddev_pop" | "sum" | "sumDistinct" | "var_samp" | "var_pop"; export interface Aggregate { Name: string; Inputs: Array; @@ -3011,12 +1718,7 @@ export interface BackfillError { Code?: BackfillErrorCode; Partitions?: Array; } -export type BackfillErrorCode = - | "ENCRYPTED_PARTITION_ERROR" - | "INTERNAL_ERROR" - | "INVALID_PARTITION_TYPE_DATA_ERROR" - | "MISSING_PARTITION_VALUE_ERROR" - | "UNSUPPORTED_PARTITION_CHARACTER_ERROR"; +export type BackfillErrorCode = "ENCRYPTED_PARTITION_ERROR" | "INTERNAL_ERROR" | "INVALID_PARTITION_TYPE_DATA_ERROR" | "MISSING_PARTITION_VALUE_ERROR" | "UNSUPPORTED_PARTITION_CHARACTER_ERROR"; export type BackfillErroredPartitionsList = Array; export type BackfillErrors = Array; export interface BasicAuthenticationCredentials { @@ -3198,8 +1900,7 @@ export interface BatchStopJobRunSuccessfulSubmission { JobName?: string; JobRunId?: string; } -export type BatchStopJobRunSuccessfulSubmissionList = - Array; +export type BatchStopJobRunSuccessfulSubmissionList = Array; export interface BatchTableOptimizer { catalogId?: string; databaseName?: string; @@ -3211,8 +1912,7 @@ export interface BatchUpdatePartitionFailureEntry { PartitionValueList?: Array; ErrorDetail?: ErrorDetail; } -export type BatchUpdatePartitionFailureList = - Array; +export type BatchUpdatePartitionFailureList = Array; export interface BatchUpdatePartitionRequest { CatalogId?: string; DatabaseName: string; @@ -3223,8 +1923,7 @@ export interface BatchUpdatePartitionRequestEntry { PartitionValueList: Array; PartitionInput: PartitionInput; } -export type BatchUpdatePartitionRequestEntryList = - Array; +export type BatchUpdatePartitionRequestEntryList = Array; export interface BatchUpdatePartitionResponse { Errors?: Array; } @@ -3271,11 +1970,7 @@ export interface BlueprintRun { RoleArn?: string; } export type BlueprintRuns = Array; -export type BlueprintRunState = - | "RUNNING" - | "SUCCEEDED" - | "FAILED" - | "ROLLING_BACK"; +export type BlueprintRunState = "RUNNING" | "SUCCEEDED" | "FAILED" | "ROLLING_BACK"; export type Blueprints = Array; export type BlueprintStatus = "CREATING" | "ACTIVE" | "UPDATING" | "FAILED"; export type Bool = boolean; @@ -3307,11 +2002,13 @@ export type BoxedPositiveInt = number; export interface CancelDataQualityRuleRecommendationRunRequest { RunId: string; } -export interface CancelDataQualityRuleRecommendationRunResponse {} +export interface CancelDataQualityRuleRecommendationRunResponse { +} export interface CancelDataQualityRulesetEvaluationRunRequest { RunId: string; } -export interface CancelDataQualityRulesetEvaluationRunResponse {} +export interface CancelDataQualityRulesetEvaluationRunResponse { +} export interface CancelMLTaskRunRequest { TransformId: string; TaskRunId: string; @@ -3326,7 +2023,8 @@ export interface CancelStatementRequest { Id: number; RequestOrigin?: string; } -export interface CancelStatementResponse {} +export interface CancelStatementResponse { +} export interface Capabilities { SupportedAuthenticationTypes: Array; SupportedDataOperations: Array; @@ -3354,10 +2052,7 @@ export interface CatalogDeltaSource { AdditionalDeltaOptions?: Record; OutputSchemas?: Array; } -export type CatalogEncryptionMode = - | "DISABLED" - | "SSE-KMS" - | "SSE-KMS-WITH-SERVICE-ROLE"; +export type CatalogEncryptionMode = "DISABLED" | "SSE-KMS" | "SSE-KMS-WITH-SERVICE-ROLE"; export type CatalogEntries = Array; export interface CatalogEntry { DatabaseName: string; @@ -3557,10 +2252,7 @@ export interface CodeGenConfigurationNode { S3HyperDirectTarget?: S3HyperDirectTarget; DynamoDBELTConnectorSource?: DynamoDBELTConnectorSource; } -export type CodeGenConfigurationNodes = Record< - string, - CodeGenConfigurationNode ->; +export type CodeGenConfigurationNodes = Record; export interface CodeGenEdge { Source: string; Target: string; @@ -3629,12 +2321,7 @@ export interface ColumnStatisticsError { } export type ColumnStatisticsErrors = Array; export type ColumnStatisticsList = Array; -export type ColumnStatisticsState = - | "STARTING" - | "RUNNING" - | "SUCCEEDED" - | "FAILED" - | "STOPPED"; +export type ColumnStatisticsState = "STARTING" | "RUNNING" | "SUCCEEDED" | "FAILED" | "STOPPED"; export declare class ColumnStatisticsTaskNotRunningException extends EffectData.TaggedError( "ColumnStatisticsTaskNotRunningException", )<{ @@ -3686,14 +2373,7 @@ export declare class ColumnStatisticsTaskStoppingException extends EffectData.Ta )<{ readonly Message?: string; }> {} -export type ColumnStatisticsType = - | "BOOLEAN" - | "DATE" - | "DECIMAL" - | "DOUBLE" - | "LONG" - | "STRING" - | "BINARY"; +export type ColumnStatisticsType = "BOOLEAN" | "DATE" | "DECIMAL" | "DOUBLE" | "LONG" | "STRING" | "BINARY"; export type ColumnTypeString = string; export type ColumnValuesString = string; @@ -3710,21 +2390,8 @@ export interface CompactionMetrics { IcebergMetrics?: IcebergCompactionMetrics; } export type CompactionStrategy = "binpack" | "sort" | "z-order"; -export type Comparator = - | "EQUALS" - | "GREATER_THAN" - | "LESS_THAN" - | "GREATER_THAN_EQUALS" - | "LESS_THAN_EQUALS"; -export type Compatibility = - | "NONE" - | "DISABLED" - | "BACKWARD" - | "BACKWARD_ALL" - | "FORWARD" - | "FORWARD_ALL" - | "FULL" - | "FULL_ALL"; +export type Comparator = "EQUALS" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_EQUALS" | "LESS_THAN_EQUALS"; +export type Compatibility = "NONE" | "DISABLED" | "BACKWARD" | "BACKWARD_ALL" | "FORWARD" | "FORWARD_ALL" | "FULL" | "FULL_ALL"; export type CompressionType = "gzip" | "bzip2"; export type ComputationType = "FULL" | "INCREMENTAL"; export type ComputeEnvironment = "SPARK" | "ATHENA" | "PYTHON"; @@ -3741,10 +2408,7 @@ export interface ComputeEnvironmentConfiguration { } export type ComputeEnvironmentConfigurationDescriptionString = string; -export type ComputeEnvironmentConfigurationMap = Record< - string, - ComputeEnvironmentConfiguration ->; +export type ComputeEnvironmentConfigurationMap = Record; export type ComputeEnvironmentList = Array; export type ComputeEnvironmentName = string; @@ -3842,56 +2506,7 @@ export interface ConnectionPasswordEncryption { AwsKmsKeyId?: string; } export type ConnectionProperties = Record; -export type ConnectionPropertyKey = - | "HOST" - | "PORT" - | "USERNAME" - | "PASSWORD" - | "ENCRYPTED_PASSWORD" - | "JDBC_DRIVER_JAR_URI" - | "JDBC_DRIVER_CLASS_NAME" - | "JDBC_ENGINE" - | "JDBC_ENGINE_VERSION" - | "CONFIG_FILES" - | "INSTANCE_ID" - | "JDBC_CONNECTION_URL" - | "JDBC_ENFORCE_SSL" - | "CUSTOM_JDBC_CERT" - | "SKIP_CUSTOM_JDBC_CERT_VALIDATION" - | "CUSTOM_JDBC_CERT_STRING" - | "CONNECTION_URL" - | "KAFKA_BOOTSTRAP_SERVERS" - | "KAFKA_SSL_ENABLED" - | "KAFKA_CUSTOM_CERT" - | "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" - | "KAFKA_CLIENT_KEYSTORE" - | "KAFKA_CLIENT_KEYSTORE_PASSWORD" - | "KAFKA_CLIENT_KEY_PASSWORD" - | "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD" - | "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD" - | "KAFKA_SASL_MECHANISM" - | "KAFKA_SASL_PLAIN_USERNAME" - | "KAFKA_SASL_PLAIN_PASSWORD" - | "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD" - | "KAFKA_SASL_SCRAM_USERNAME" - | "KAFKA_SASL_SCRAM_PASSWORD" - | "KAFKA_SASL_SCRAM_SECRETS_ARN" - | "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD" - | "KAFKA_SASL_GSSAPI_KEYTAB" - | "KAFKA_SASL_GSSAPI_KRB5_CONF" - | "KAFKA_SASL_GSSAPI_SERVICE" - | "KAFKA_SASL_GSSAPI_PRINCIPAL" - | "SECRET_ID" - | "CONNECTOR_URL" - | "CONNECTOR_TYPE" - | "CONNECTOR_CLASS_NAME" - | "ENDPOINT" - | "ENDPOINT_TYPE" - | "ROLE_ARN" - | "REGION" - | "WORKGROUP_NAME" - | "CLUSTER_IDENTIFIER" - | "DATABASE"; +export type ConnectionPropertyKey = "HOST" | "PORT" | "USERNAME" | "PASSWORD" | "ENCRYPTED_PASSWORD" | "JDBC_DRIVER_JAR_URI" | "JDBC_DRIVER_CLASS_NAME" | "JDBC_ENGINE" | "JDBC_ENGINE_VERSION" | "CONFIG_FILES" | "INSTANCE_ID" | "JDBC_CONNECTION_URL" | "JDBC_ENFORCE_SSL" | "CUSTOM_JDBC_CERT" | "SKIP_CUSTOM_JDBC_CERT_VALIDATION" | "CUSTOM_JDBC_CERT_STRING" | "CONNECTION_URL" | "KAFKA_BOOTSTRAP_SERVERS" | "KAFKA_SSL_ENABLED" | "KAFKA_CUSTOM_CERT" | "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" | "KAFKA_CLIENT_KEYSTORE" | "KAFKA_CLIENT_KEYSTORE_PASSWORD" | "KAFKA_CLIENT_KEY_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD" | "KAFKA_SASL_MECHANISM" | "KAFKA_SASL_PLAIN_USERNAME" | "KAFKA_SASL_PLAIN_PASSWORD" | "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD" | "KAFKA_SASL_SCRAM_USERNAME" | "KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_SCRAM_SECRETS_ARN" | "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_GSSAPI_KEYTAB" | "KAFKA_SASL_GSSAPI_KRB5_CONF" | "KAFKA_SASL_GSSAPI_SERVICE" | "KAFKA_SASL_GSSAPI_PRINCIPAL" | "SECRET_ID" | "CONNECTOR_URL" | "CONNECTOR_TYPE" | "CONNECTOR_CLASS_NAME" | "ENDPOINT" | "ENDPOINT_TYPE" | "ROLE_ARN" | "REGION" | "WORKGROUP_NAME" | "CLUSTER_IDENTIFIER" | "DATABASE"; export type ConnectionSchemaVersion = number; export interface ConnectionsList { @@ -3901,99 +2516,7 @@ export type ConnectionStatus = "READY" | "IN_PROGRESS" | "FAILED"; export type ConnectionString = string; export type ConnectionStringList = Array; -export type ConnectionType = - | "JDBC" - | "SFTP" - | "MONGODB" - | "KAFKA" - | "NETWORK" - | "MARKETPLACE" - | "CUSTOM" - | "SALESFORCE" - | "VIEW_VALIDATION_REDSHIFT" - | "VIEW_VALIDATION_ATHENA" - | "GOOGLEADS" - | "GOOGLESHEETS" - | "GOOGLEANALYTICS4" - | "SERVICENOW" - | "MARKETO" - | "SAPODATA" - | "ZENDESK" - | "JIRACLOUD" - | "NETSUITEERP" - | "HUBSPOT" - | "FACEBOOKADS" - | "INSTAGRAMADS" - | "ZOHOCRM" - | "SALESFORCEPARDOT" - | "SALESFORCEMARKETINGCLOUD" - | "ADOBEANALYTICS" - | "SLACK" - | "LINKEDIN" - | "MIXPANEL" - | "ASANA" - | "STRIPE" - | "SMARTSHEET" - | "DATADOG" - | "WOOCOMMERCE" - | "INTERCOM" - | "SNAPCHATADS" - | "PAYPAL" - | "QUICKBOOKS" - | "FACEBOOKPAGEINSIGHTS" - | "FRESHDESK" - | "TWILIO" - | "DOCUSIGNMONITOR" - | "FRESHSALES" - | "ZOOM" - | "GOOGLESEARCHCONSOLE" - | "SALESFORCECOMMERCECLOUD" - | "SAPCONCUR" - | "DYNATRACE" - | "MICROSOFTDYNAMIC365FINANCEANDOPS" - | "MICROSOFTTEAMS" - | "BLACKBAUDRAISEREDGENXT" - | "MAILCHIMP" - | "GITLAB" - | "PENDO" - | "PRODUCTBOARD" - | "CIRCLECI" - | "PIPEDIVE" - | "SENDGRID" - | "AZURECOSMOS" - | "AZURESQL" - | "BIGQUERY" - | "BLACKBAUD" - | "CLOUDERAHIVE" - | "CLOUDERAIMPALA" - | "CLOUDWATCH" - | "CLOUDWATCHMETRICS" - | "CMDB" - | "DATALAKEGEN2" - | "DB2" - | "DB2AS400" - | "DOCUMENTDB" - | "DOMO" - | "DYNAMODB" - | "GOOGLECLOUDSTORAGE" - | "HBASE" - | "KUSTOMER" - | "MICROSOFTDYNAMICS365CRM" - | "MONDAY" - | "MYSQL" - | "OKTA" - | "OPENSEARCH" - | "ORACLE" - | "PIPEDRIVE" - | "POSTGRESQL" - | "SAPHANA" - | "SQLSERVER" - | "SYNAPSE" - | "TERADATA" - | "TERADATANOS" - | "TIMESTREAM" - | "TPCDS" - | "VERTICA"; +export type ConnectionType = "JDBC" | "SFTP" | "MONGODB" | "KAFKA" | "NETWORK" | "MARKETPLACE" | "CUSTOM" | "SALESFORCE" | "VIEW_VALIDATION_REDSHIFT" | "VIEW_VALIDATION_ATHENA" | "GOOGLEADS" | "GOOGLESHEETS" | "GOOGLEANALYTICS4" | "SERVICENOW" | "MARKETO" | "SAPODATA" | "ZENDESK" | "JIRACLOUD" | "NETSUITEERP" | "HUBSPOT" | "FACEBOOKADS" | "INSTAGRAMADS" | "ZOHOCRM" | "SALESFORCEPARDOT" | "SALESFORCEMARKETINGCLOUD" | "ADOBEANALYTICS" | "SLACK" | "LINKEDIN" | "MIXPANEL" | "ASANA" | "STRIPE" | "SMARTSHEET" | "DATADOG" | "WOOCOMMERCE" | "INTERCOM" | "SNAPCHATADS" | "PAYPAL" | "QUICKBOOKS" | "FACEBOOKPAGEINSIGHTS" | "FRESHDESK" | "TWILIO" | "DOCUSIGNMONITOR" | "FRESHSALES" | "ZOOM" | "GOOGLESEARCHCONSOLE" | "SALESFORCECOMMERCECLOUD" | "SAPCONCUR" | "DYNATRACE" | "MICROSOFTDYNAMIC365FINANCEANDOPS" | "MICROSOFTTEAMS" | "BLACKBAUDRAISEREDGENXT" | "MAILCHIMP" | "GITLAB" | "PENDO" | "PRODUCTBOARD" | "CIRCLECI" | "PIPEDIVE" | "SENDGRID" | "AZURECOSMOS" | "AZURESQL" | "BIGQUERY" | "BLACKBAUD" | "CLOUDERAHIVE" | "CLOUDERAIMPALA" | "CLOUDWATCH" | "CLOUDWATCHMETRICS" | "CMDB" | "DATALAKEGEN2" | "DB2" | "DB2AS400" | "DOCUMENTDB" | "DOMO" | "DYNAMODB" | "GOOGLECLOUDSTORAGE" | "HBASE" | "KUSTOMER" | "MICROSOFTDYNAMICS365CRM" | "MONDAY" | "MYSQL" | "OKTA" | "OPENSEARCH" | "ORACLE" | "PIPEDRIVE" | "POSTGRESQL" | "SAPHANA" | "SQLSERVER" | "SYNAPSE" | "TERADATA" | "TERADATANOS" | "TIMESTREAM" | "TPCDS" | "VERTICA"; export interface ConnectionTypeBrief { ConnectionType?: ConnectionType; DisplayName?: string; @@ -4077,11 +2600,7 @@ export interface CrawlerHistory { DPUHour?: number; } export type CrawlerHistoryList = Array; -export type CrawlerHistoryState = - | "RUNNING" - | "COMPLETED" - | "FAILED" - | "STOPPED"; +export type CrawlerHistoryState = "RUNNING" | "COMPLETED" | "FAILED" | "STOPPED"; export type CrawlerLineageSettings = "ENABLE" | "DISABLE"; export type CrawlerList = Array; export interface CrawlerMetrics { @@ -4136,13 +2655,7 @@ export interface CrawlsFilter { FieldValue?: string; } export type CrawlsFilterList = Array; -export type CrawlState = - | "RUNNING" - | "CANCELLING" - | "CANCELLED" - | "SUCCEEDED" - | "FAILED" - | "ERROR"; +export type CrawlState = "RUNNING" | "CANCELLING" | "CANCELLED" | "SUCCEEDED" | "FAILED" | "ERROR"; export interface CreateBlueprintRequest { Name: string; Description?: string; @@ -4157,14 +2670,16 @@ export interface CreateCatalogRequest { CatalogInput: CatalogInput; Tags?: Record; } -export interface CreateCatalogResponse {} +export interface CreateCatalogResponse { +} export interface CreateClassifierRequest { GrokClassifier?: CreateGrokClassifierRequest; XMLClassifier?: CreateXMLClassifierRequest; JsonClassifier?: CreateJsonClassifierRequest; CsvClassifier?: CreateCsvClassifierRequest; } -export interface CreateClassifierResponse {} +export interface CreateClassifierResponse { +} export interface CreateColumnStatisticsTaskSettingsRequest { DatabaseName: string; TableName: string; @@ -4176,7 +2691,8 @@ export interface CreateColumnStatisticsTaskSettingsRequest { SecurityConfiguration?: string; Tags?: Record; } -export interface CreateColumnStatisticsTaskSettingsResponse {} +export interface CreateColumnStatisticsTaskSettingsResponse { +} export interface CreateConnectionRequest { CatalogId?: string; ConnectionInput: ConnectionInput; @@ -4202,7 +2718,8 @@ export interface CreateCrawlerRequest { CrawlerSecurityConfiguration?: string; Tags?: Record; } -export interface CreateCrawlerResponse {} +export interface CreateCrawlerResponse { +} export interface CreateCsvClassifierRequest { Name: string; Delimiter?: string; @@ -4229,7 +2746,8 @@ export interface CreateDatabaseRequest { DatabaseInput: DatabaseInput; Tags?: Record; } -export interface CreateDatabaseResponse {} +export interface CreateDatabaseResponse { +} export interface CreateDataQualityRulesetRequest { Name: string; Description?: string; @@ -4345,7 +2863,8 @@ export interface CreateIntegrationTablePropertiesRequest { SourceTableConfig?: SourceTableConfig; TargetTableConfig?: TargetTableConfig; } -export interface CreateIntegrationTablePropertiesResponse {} +export interface CreateIntegrationTablePropertiesResponse { +} export interface CreateJobRequest { Name: string; JobMode?: JobMode; @@ -4404,14 +2923,16 @@ export interface CreatePartitionIndexRequest { TableName: string; PartitionIndex: PartitionIndex; } -export interface CreatePartitionIndexResponse {} +export interface CreatePartitionIndexResponse { +} export interface CreatePartitionRequest { CatalogId?: string; DatabaseName: string; TableName: string; PartitionInput: PartitionInput; } -export interface CreatePartitionResponse {} +export interface CreatePartitionResponse { +} export interface CreateRegistryInput { RegistryName: string; Description?: string; @@ -4492,7 +3013,8 @@ export interface CreateTableOptimizerRequest { Type: TableOptimizerType; TableOptimizerConfiguration: TableOptimizerConfiguration; } -export interface CreateTableOptimizerResponse {} +export interface CreateTableOptimizerResponse { +} export interface CreateTableRequest { CatalogId?: string; DatabaseName: string; @@ -4502,7 +3024,8 @@ export interface CreateTableRequest { TransactionId?: string; OpenTableFormatInput?: OpenTableFormatInput; } -export interface CreateTableResponse {} +export interface CreateTableResponse { +} export interface CreateTriggerRequest { Name: string; WorkflowName?: string; @@ -4532,7 +3055,8 @@ export interface CreateUserDefinedFunctionRequest { DatabaseName: string; FunctionInput: UserDefinedFunctionInput; } -export interface CreateUserDefinedFunctionResponse {} +export interface CreateUserDefinedFunctionResponse { +} export interface CreateWorkflowRequest { Name: string; Description?: string; @@ -4737,8 +3261,7 @@ export interface DataQualityResultDescription { JobRunId?: string; StartedOn?: Date | string; } -export type DataQualityResultDescriptionList = - Array; +export type DataQualityResultDescriptionList = Array; export interface DataQualityResultFilterCriteria { DataSource?: DataSource; JobName?: string; @@ -4760,8 +3283,7 @@ export interface DataQualityRuleRecommendationRunFilter { StartedBefore?: Date | string; StartedAfter?: Date | string; } -export type DataQualityRuleRecommendationRunList = - Array; +export type DataQualityRuleRecommendationRunList = Array; export interface DataQualityRuleResult { Name?: string; Description?: string; @@ -4787,8 +3309,7 @@ export interface DataQualityRulesetEvaluationRunFilter { StartedBefore?: Date | string; StartedAfter?: Date | string; } -export type DataQualityRulesetEvaluationRunList = - Array; +export type DataQualityRulesetEvaluationRunList = Array; export interface DataQualityRulesetFilterCriteria { Name?: string; Description?: string; @@ -4854,10 +3375,7 @@ export interface DecimalNumber { UnscaledValue: Uint8Array | string; Scale: number; } -export type DeleteBehavior = - | "LOG" - | "DELETE_FROM_DATABASE" - | "DEPRECATE_IN_DATABASE"; +export type DeleteBehavior = "LOG" | "DELETE_FROM_DATABASE" | "DEPRECATE_IN_DATABASE"; export interface DeleteBlueprintRequest { Name: string; } @@ -4867,11 +3385,13 @@ export interface DeleteBlueprintResponse { export interface DeleteCatalogRequest { CatalogId: string; } -export interface DeleteCatalogResponse {} +export interface DeleteCatalogResponse { +} export interface DeleteClassifierRequest { Name: string; } -export interface DeleteClassifierResponse {} +export interface DeleteClassifierResponse { +} export interface DeleteColumnStatisticsForPartitionRequest { CatalogId?: string; DatabaseName: string; @@ -4879,29 +3399,34 @@ export interface DeleteColumnStatisticsForPartitionRequest { PartitionValues: Array; ColumnName: string; } -export interface DeleteColumnStatisticsForPartitionResponse {} +export interface DeleteColumnStatisticsForPartitionResponse { +} export interface DeleteColumnStatisticsForTableRequest { CatalogId?: string; DatabaseName: string; TableName: string; ColumnName: string; } -export interface DeleteColumnStatisticsForTableResponse {} +export interface DeleteColumnStatisticsForTableResponse { +} export interface DeleteColumnStatisticsTaskSettingsRequest { DatabaseName: string; TableName: string; } -export interface DeleteColumnStatisticsTaskSettingsResponse {} +export interface DeleteColumnStatisticsTaskSettingsResponse { +} export type DeleteConnectionNameList = Array; export interface DeleteConnectionRequest { CatalogId?: string; ConnectionName: string; } -export interface DeleteConnectionResponse {} +export interface DeleteConnectionResponse { +} export interface DeleteCrawlerRequest { Name: string; } -export interface DeleteCrawlerResponse {} +export interface DeleteCrawlerResponse { +} export interface DeleteCustomEntityTypeRequest { Name: string; } @@ -4912,17 +3437,22 @@ export interface DeleteDatabaseRequest { CatalogId?: string; Name: string; } -export interface DeleteDatabaseResponse {} +export interface DeleteDatabaseResponse { +} export interface DeleteDataQualityRulesetRequest { Name: string; } -export interface DeleteDataQualityRulesetResponse {} +export interface DeleteDataQualityRulesetResponse { +} export interface DeleteDevEndpointRequest { EndpointName: string; } -export interface DeleteDevEndpointResponse {} -export interface DeleteGlueIdentityCenterConfigurationRequest {} -export interface DeleteGlueIdentityCenterConfigurationResponse {} +export interface DeleteDevEndpointResponse { +} +export interface DeleteGlueIdentityCenterConfigurationRequest { +} +export interface DeleteGlueIdentityCenterConfigurationResponse { +} export interface DeleteIntegrationRequest { IntegrationIdentifier: string; } @@ -4944,7 +3474,8 @@ export interface DeleteIntegrationTablePropertiesRequest { ResourceArn: string; TableName: string; } -export interface DeleteIntegrationTablePropertiesResponse {} +export interface DeleteIntegrationTablePropertiesResponse { +} export interface DeleteJobRequest { JobName: string; } @@ -4963,14 +3494,16 @@ export interface DeletePartitionIndexRequest { TableName: string; IndexName: string; } -export interface DeletePartitionIndexResponse {} +export interface DeletePartitionIndexResponse { +} export interface DeletePartitionRequest { CatalogId?: string; DatabaseName: string; TableName: string; PartitionValues: Array; } -export interface DeletePartitionResponse {} +export interface DeletePartitionResponse { +} export interface DeleteRegistryInput { RegistryId: RegistryId; } @@ -4983,7 +3516,8 @@ export interface DeleteResourcePolicyRequest { PolicyHashCondition?: string; ResourceArn?: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export interface DeleteSchemaInput { SchemaId: SchemaId; } @@ -5002,7 +3536,8 @@ export interface DeleteSchemaVersionsResponse { export interface DeleteSecurityConfigurationRequest { Name: string; } -export interface DeleteSecurityConfigurationResponse {} +export interface DeleteSecurityConfigurationResponse { +} export interface DeleteSessionRequest { Id: string; RequestOrigin?: string; @@ -5016,21 +3551,24 @@ export interface DeleteTableOptimizerRequest { TableName: string; Type: TableOptimizerType; } -export interface DeleteTableOptimizerResponse {} +export interface DeleteTableOptimizerResponse { +} export interface DeleteTableRequest { CatalogId?: string; DatabaseName: string; Name: string; TransactionId?: string; } -export interface DeleteTableResponse {} +export interface DeleteTableResponse { +} export interface DeleteTableVersionRequest { CatalogId?: string; DatabaseName: string; TableName: string; VersionId: string; } -export interface DeleteTableVersionResponse {} +export interface DeleteTableVersionResponse { +} export interface DeleteTriggerRequest { Name: string; } @@ -5040,13 +3578,15 @@ export interface DeleteTriggerResponse { export interface DeleteUsageProfileRequest { Name: string; } -export interface DeleteUsageProfileResponse {} +export interface DeleteUsageProfileResponse { +} export interface DeleteUserDefinedFunctionRequest { CatalogId?: string; DatabaseName: string; FunctionName: string; } -export interface DeleteUserDefinedFunctionResponse {} +export interface DeleteUserDefinedFunctionResponse { +} export interface DeleteWorkflowRequest { Name: string; } @@ -5071,10 +3611,7 @@ export interface DescribeConnectionTypeResponse { ConnectionProperties?: Record; ConnectionOptions?: Record; AuthenticationConfiguration?: AuthConfiguration; - ComputeEnvironmentConfigurations?: Record< - string, - ComputeEnvironmentConfiguration - >; + ComputeEnvironmentConfigurations?: Record; PhysicalConnectionRequirements?: Record; AthenaConnectionProperties?: Record; PythonConnectionProperties?: Record; @@ -5391,17 +3928,7 @@ export interface FederatedTable { } export type FederationIdentifier = string; -export type FederationSourceErrorCode = - | "AccessDeniedException" - | "EntityNotFoundException" - | "InvalidCredentialsException" - | "InvalidInputException" - | "InvalidResponseException" - | "OperationTimeoutException" - | "OperationNotSupportedException" - | "InternalServiceException" - | "PartialFailureException" - | "ThrottlingException"; +export type FederationSourceErrorCode = "AccessDeniedException" | "EntityNotFoundException" | "InvalidCredentialsException" | "InvalidInputException" | "InvalidResponseException" | "OperationTimeoutException" | "OperationNotSupportedException" | "InternalServiceException" | "PartialFailureException" | "ThrottlingException"; export declare class FederationSourceException extends EffectData.TaggedError( "FederationSourceException", )<{ @@ -5433,44 +3960,14 @@ export interface Field { NativeDataType?: string; CustomProperties?: Record; } -export type FieldDataType = - | "INT" - | "SMALLINT" - | "BIGINT" - | "FLOAT" - | "LONG" - | "DATE" - | "BOOLEAN" - | "MAP" - | "ARRAY" - | "STRING" - | "TIMESTAMP" - | "DECIMAL" - | "BYTE" - | "SHORT" - | "DOUBLE" - | "STRUCT"; +export type FieldDataType = "INT" | "SMALLINT" | "BIGINT" | "FLOAT" | "LONG" | "DATE" | "BOOLEAN" | "MAP" | "ARRAY" | "STRING" | "TIMESTAMP" | "DECIMAL" | "BYTE" | "SHORT" | "DOUBLE" | "STRUCT"; export type FieldDescription = string; -export type FieldFilterOperator = - | "LESS_THAN" - | "GREATER_THAN" - | "BETWEEN" - | "EQUAL_TO" - | "NOT_EQUAL_TO" - | "GREATER_THAN_OR_EQUAL_TO" - | "LESS_THAN_OR_EQUAL_TO" - | "CONTAINS" - | "ORDER_BY"; +export type FieldFilterOperator = "LESS_THAN" | "GREATER_THAN" | "BETWEEN" | "EQUAL_TO" | "NOT_EQUAL_TO" | "GREATER_THAN_OR_EQUAL_TO" | "LESS_THAN_OR_EQUAL_TO" | "CONTAINS" | "ORDER_BY"; export type FieldFilterOperatorsList = Array; export type FieldLabel = string; -export type FieldName = - | "CRAWL_ID" - | "STATE" - | "START_TIME" - | "END_TIME" - | "DPU_HOUR"; +export type FieldName = "CRAWL_ID" | "STATE" | "START_TIME" | "END_TIME" | "DPU_HOUR"; export type FieldsList = Array; export type FieldType = string; @@ -5493,14 +3990,7 @@ export interface FilterExpression { } export type FilterExpressions = Array; export type FilterLogicalOperator = "AND" | "OR"; -export type FilterOperation = - | "EQ" - | "LT" - | "GT" - | "LTE" - | "GTE" - | "REGEX" - | "ISNULL"; +export type FilterOperation = "EQ" | "LT" | "GT" | "LTE" | "GTE" | "REGEX" | "ISNULL"; export type FilterOperator = "GT" | "GE" | "LT" | "LE" | "EQ" | "NE"; export type FilterPredicate = string; @@ -5855,7 +4345,8 @@ export interface GetEntityRecordsResponse { Records?: Array; NextToken?: string; } -export interface GetGlueIdentityCenterConfigurationRequest {} +export interface GetGlueIdentityCenterConfigurationRequest { +} export interface GetGlueIdentityCenterConfigurationResponse { ApplicationArn?: string; InstanceArn?: string; @@ -6357,17 +4848,7 @@ export interface GluePolicy { CreateTime?: Date | string; UpdateTime?: Date | string; } -export type GlueRecordType = - | "DATE" - | "STRING" - | "TIMESTAMP" - | "INT" - | "FLOAT" - | "LONG" - | "BIGDECIMAL" - | "BYTE" - | "SHORT" - | "DOUBLE"; +export type GlueRecordType = "DATE" | "STRING" | "TIMESTAMP" | "INT" | "FLOAT" | "LONG" | "BIGDECIMAL" | "BYTE" | "SHORT" | "DOUBLE"; export type GlueResourceArn = string; export interface GlueSchema { @@ -6434,11 +4915,7 @@ export interface HudiTarget { Exclusions?: Array; MaximumTraversalDepth?: number; } -export type HudiTargetCompressionType = - | "gzip" - | "lzo" - | "uncompressed" - | "snappy"; +export type HudiTargetCompressionType = "gzip" | "lzo" | "uncompressed" | "snappy"; export type HudiTargetList = Array; export type HyperTargetCompressionType = "uncompressed"; export type IAMRoleArn = string; @@ -6553,11 +5030,7 @@ export interface IcebergTarget { Exclusions?: Array; MaximumTraversalDepth?: number; } -export type IcebergTargetCompressionType = - | "gzip" - | "lzo" - | "uncompressed" - | "snappy"; +export type IcebergTargetCompressionType = "gzip" | "lzo" | "uncompressed" | "snappy"; export type IcebergTargetList = Array; export type IcebergTransformString = string; @@ -6593,7 +5066,8 @@ export declare class IllegalWorkflowStateException extends EffectData.TaggedErro export interface ImportCatalogToGlueRequest { CatalogId?: string; } -export interface ImportCatalogToGlueResponse {} +export interface ImportCatalogToGlueResponse { +} export interface ImportLabelsTaskRunProperties { InputS3Path?: string; Replace?: boolean; @@ -6678,14 +5152,7 @@ export declare class IntegrationQuotaExceededFault extends EffectData.TaggedErro }> {} export type IntegrationsList = Array; export type IntegrationSourcePropertiesMap = Record; -export type IntegrationStatus = - | "CREATING" - | "ACTIVE" - | "MODIFYING" - | "FAILED" - | "DELETING" - | "SYNCING" - | "NEEDS_ATTENTION"; +export type IntegrationStatus = "CREATING" | "ACTIVE" | "MODIFYING" | "FAILED" | "DELETING" | "SYNCING" | "NEEDS_ATTENTION"; export type IntegrationString = string; export type IntegrationTagsList = Array; @@ -6723,12 +5190,7 @@ export type IsParentEntity = boolean; export type IsVersionValid = boolean; -export type JDBCConnectionType = - | "sqlserver" - | "mysql" - | "oracle" - | "postgresql" - | "redshift"; +export type JDBCConnectionType = "sqlserver" | "mysql" | "oracle" | "postgresql" | "redshift"; export interface JDBCConnectorOptions { FilterPredicate?: string; PartitionColumn?: string; @@ -6759,46 +5221,7 @@ export interface JDBCConnectorTarget { AdditionalOptions?: Record; OutputSchemas?: Array; } -export type JDBCDataType = - | "ARRAY" - | "BIGINT" - | "BINARY" - | "BIT" - | "BLOB" - | "BOOLEAN" - | "CHAR" - | "CLOB" - | "DATALINK" - | "DATE" - | "DECIMAL" - | "DISTINCT" - | "DOUBLE" - | "FLOAT" - | "INTEGER" - | "JAVA_OBJECT" - | "LONGNVARCHAR" - | "LONGVARBINARY" - | "LONGVARCHAR" - | "NCHAR" - | "NCLOB" - | "NULL" - | "NUMERIC" - | "NVARCHAR" - | "OTHER" - | "REAL" - | "REF" - | "REF_CURSOR" - | "ROWID" - | "SMALLINT" - | "SQLXML" - | "STRUCT" - | "TIME" - | "TIME_WITH_TIMEZONE" - | "TIMESTAMP" - | "TIMESTAMP_WITH_TIMEZONE" - | "TINYINT" - | "VARBINARY" - | "VARCHAR"; +export type JDBCDataType = "ARRAY" | "BIGINT" | "BINARY" | "BIT" | "BLOB" | "BOOLEAN" | "CHAR" | "CLOB" | "DATALINK" | "DATE" | "DECIMAL" | "DISTINCT" | "DOUBLE" | "FLOAT" | "INTEGER" | "JAVA_OBJECT" | "LONGNVARCHAR" | "LONGVARBINARY" | "LONGVARCHAR" | "NCHAR" | "NCLOB" | "NULL" | "NUMERIC" | "NVARCHAR" | "OTHER" | "REAL" | "REF" | "REF_CURSOR" | "ROWID" | "SMALLINT" | "SQLXML" | "STRUCT" | "TIME" | "TIME_WITH_TIMEZONE" | "TIMESTAMP" | "TIMESTAMP_WITH_TIMEZONE" | "TINYINT" | "VARBINARY" | "VARCHAR"; export type JDBCDataTypeMapping = Record; export type JdbcMetadataEntry = "COMMENTS" | "RAWTYPES"; export interface JdbcTarget { @@ -6898,17 +5321,7 @@ export interface JobRun { ExecutionRoleSessionPolicy?: string; } export type JobRunList = Array; -export type JobRunState = - | "STARTING" - | "RUNNING" - | "STOPPING" - | "STOPPED" - | "SUCCEEDED" - | "FAILED" - | "TIMEOUT" - | "ERROR" - | "WAITING" - | "EXPIRED"; +export type JobRunState = "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "SUCCEEDED" | "FAILED" | "TIMEOUT" | "ERROR" | "WAITING" | "EXPIRED"; export interface JobUpdate { JobMode?: JobMode; JobRunQueuingEnabled?: boolean; @@ -6945,13 +5358,7 @@ export interface JoinColumn { Keys: Array>; } export type JoinColumns = Array; -export type JoinType = - | "equijoin" - | "left" - | "right" - | "outer" - | "leftsemi" - | "leftanti"; +export type JoinType = "equijoin" | "left" | "right" | "outer" | "leftsemi" | "leftanti"; export interface JsonClassifier { Name: string; CreationTime?: Date | string; @@ -7551,10 +5958,7 @@ export interface OAuth2Credentials { RefreshToken?: string; JwtToken?: string; } -export type OAuth2GrantType = - | "AUTHORIZATION_CODE" - | "CLIENT_CREDENTIALS" - | "JWT_BEARER"; +export type OAuth2GrantType = "AUTHORIZATION_CODE" | "CLIENT_CREDENTIALS" | "JWT_BEARER"; export interface OAuth2Properties { OAuth2GrantType?: OAuth2GrantType; OAuth2ClientApplication?: OAuth2ClientApplication; @@ -7658,22 +6062,8 @@ export type ParametersMapValue = string; export type ParameterValue = string; -export type ParamType = - | "str" - | "int" - | "float" - | "complex" - | "bool" - | "list" - | "null"; -export type ParquetCompressionType = - | "snappy" - | "lzo" - | "gzip" - | "brotli" - | "lz4" - | "uncompressed" - | "none"; +export type ParamType = "str" | "int" | "float" | "complex" | "bool" | "list" | "null"; +export type ParquetCompressionType = "snappy" | "lzo" | "gzip" | "brotli" | "lz4" | "uncompressed" | "none"; export interface Partition { Values?: Array; DatabaseName?: string; @@ -7702,11 +6092,7 @@ export interface PartitionIndexDescriptor { } export type PartitionIndexDescriptorList = Array; export type PartitionIndexList = Array; -export type PartitionIndexStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED"; +export type PartitionIndexStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED"; export interface PartitionInput { Values?: Array; LastAccessTime?: Date | string; @@ -7724,22 +6110,9 @@ export type Password = string; export type Path = string; export type PathList = Array; -export type Permission = - | "ALL" - | "SELECT" - | "ALTER" - | "DROP" - | "DELETE" - | "INSERT" - | "CREATE_DATABASE" - | "CREATE_TABLE" - | "DATA_LOCATION_ACCESS"; +export type Permission = "ALL" | "SELECT" | "ALTER" | "DROP" | "DELETE" | "INSERT" | "CREATE_DATABASE" | "CREATE_TABLE" | "DATA_LOCATION_ACCESS"; export type PermissionList = Array; -export type PermissionType = - | "COLUMN_PERMISSION" - | "CELL_FILTER_PERMISSION" - | "NESTED_PERMISSION" - | "NESTED_CELL_PERMISSION"; +export type PermissionType = "COLUMN_PERMISSION" | "CELL_FILTER_PERMISSION" | "NESTED_PERMISSION" | "NESTED_CELL_PERMISSION"; export type PermissionTypeList = Array; export declare class PermissionTypeMismatchException extends EffectData.TaggedError( "PermissionTypeMismatchException", @@ -7768,14 +6141,7 @@ export interface PIIDetection { DetectionParameters?: string; DetectionSensitivity?: string; } -export type PiiType = - | "RowAudit" - | "RowHashing" - | "RowMasking" - | "RowPartialMasking" - | "ColumnAudit" - | "ColumnHashing" - | "ColumnMasking"; +export type PiiType = "RowAudit" | "RowHashing" | "RowMasking" | "RowPartialMasking" | "ColumnAudit" | "ColumnHashing" | "ColumnMasking"; export type PolicyJsonString = string; export type PollingTime = number; @@ -7844,12 +6210,7 @@ export interface PropertyPredicate { Value?: string; Comparator?: Comparator; } -export type PropertyType = - | "USER_INPUT" - | "SECRET" - | "READ_ONLY" - | "UNUSED" - | "SECRET_OR_USER_INPUT"; +export type PropertyType = "USER_INPUT" | "SECRET" | "READ_ONLY" | "UNUSED" | "SECRET_OR_USER_INPUT"; export type PropertyTypes = Array; export type PropertyValue = string; @@ -7858,12 +6219,14 @@ export interface PutDataCatalogEncryptionSettingsRequest { CatalogId?: string; DataCatalogEncryptionSettings: DataCatalogEncryptionSettings; } -export interface PutDataCatalogEncryptionSettingsResponse {} +export interface PutDataCatalogEncryptionSettingsResponse { +} export interface PutDataQualityProfileAnnotationRequest { ProfileId: string; InclusionAnnotation: InclusionAnnotationValue; } -export interface PutDataQualityProfileAnnotationResponse {} +export interface PutDataQualityProfileAnnotationResponse { +} export interface PutResourcePolicyRequest { PolicyInJson: string; ResourceArn?: string; @@ -7895,7 +6258,8 @@ export interface PutWorkflowRunPropertiesRequest { RunId: string; RunProperties: Record; } -export interface PutWorkflowRunPropertiesResponse {} +export interface PutWorkflowRunPropertiesResponse { +} export type PythonScript = string; export type PythonVersionString = string; @@ -7949,10 +6313,7 @@ export type GlueRecord = unknown; export type Records = Array; export type RecordsCount = number; -export type RecrawlBehavior = - | "CRAWL_EVERYTHING" - | "CRAWL_NEW_FOLDERS_ONLY" - | "CRAWL_EVENT_MODE"; +export type RecrawlBehavior = "CRAWL_EVERYTHING" | "CRAWL_NEW_FOLDERS_ONLY" | "CRAWL_EVENT_MODE"; export interface RecrawlPolicy { RecrawlBehavior?: RecrawlBehavior; } @@ -8055,12 +6416,7 @@ export declare class ResourceNumberLimitExceededException extends EffectData.Tag readonly Message?: string; }> {} export type ResourceShareType = "FOREIGN" | "ALL" | "FEDERATED"; -export type ResourceState = - | "QUEUED" - | "IN_PROGRESS" - | "SUCCESS" - | "STOPPED" - | "FAILED"; +export type ResourceState = "QUEUED" | "IN_PROGRESS" | "SUCCESS" | "STOPPED" | "FAILED"; export type ResourceType = "JAR" | "FILE" | "ARCHIVE"; export interface ResourceUri { ResourceType?: ResourceType; @@ -8449,11 +6805,7 @@ export interface SchemaVersionNumber { LatestVersion?: boolean; VersionNumber?: number; } -export type SchemaVersionStatus = - | "AVAILABLE" - | "PENDING" - | "FAILURE" - | "DELETING"; +export type SchemaVersionStatus = "AVAILABLE" | "PENDING" | "FAILURE" | "DELETING"; export type ScriptLocationString = string; export type SearchPropertyPredicates = Array; @@ -8529,13 +6881,7 @@ export interface SessionCommand { } export type SessionIdList = Array; export type SessionList = Array; -export type SessionStatus = - | "PROVISIONING" - | "READY" - | "FAILED" - | "TIMEOUT" - | "STOPPING" - | "STOPPED"; +export type SessionStatus = "PROVISIONING" | "READY" | "FAILED" | "TIMEOUT" | "STOPPING" | "STOPPED"; export type SettingSource = "CATALOG" | "TABLE"; export interface SkewedInfo { SkewedColumnNames?: Array; @@ -8582,9 +6928,7 @@ export interface SortCriterion { Sort?: Sort; } export type SortDirectionType = "DESCENDING" | "ASCENDING"; -export type SourceControlAuthStrategy = - | "PERSONAL_ACCESS_TOKEN" - | "AWS_SECRETS_MANAGER"; +export type SourceControlAuthStrategy = "PERSONAL_ACCESS_TOKEN" | "AWS_SECRETS_MANAGER"; export interface SourceControlDetails { Provider?: SourceControlProvider; Repository?: string; @@ -8595,11 +6939,7 @@ export interface SourceControlDetails { AuthStrategy?: SourceControlAuthStrategy; AuthToken?: string; } -export type SourceControlProvider = - | "GITHUB" - | "GITLAB" - | "BITBUCKET" - | "AWS_CODE_COMMIT"; +export type SourceControlProvider = "GITHUB" | "GITLAB" | "BITBUCKET" | "AWS_CODE_COMMIT"; export interface SourceProcessingProperties { RoleArn?: string; } @@ -8677,15 +7017,18 @@ export interface StartColumnStatisticsTaskRunScheduleRequest { DatabaseName: string; TableName: string; } -export interface StartColumnStatisticsTaskRunScheduleResponse {} +export interface StartColumnStatisticsTaskRunScheduleResponse { +} export interface StartCrawlerRequest { Name: string; } -export interface StartCrawlerResponse {} +export interface StartCrawlerResponse { +} export interface StartCrawlerScheduleRequest { CrawlerName: string; } -export interface StartCrawlerScheduleResponse {} +export interface StartCrawlerScheduleResponse { +} export interface StartDataQualityRuleRecommendationRunRequest { DataSource: DataSource; Role: string; @@ -8730,11 +7073,7 @@ export interface StartingEventBatchCondition { BatchSize?: number; BatchWindow?: number; } -export type StartingPosition = - | "latest" - | "trim_horizon" - | "earliest" - | "timestamp"; +export type StartingPosition = "latest" | "trim_horizon" | "earliest" | "timestamp"; export interface StartJobRunRequest { JobName: string; JobRunQueuingEnabled?: boolean; @@ -8800,13 +7139,7 @@ export interface StatementOutput { export interface StatementOutputData { TextPlain?: string; } -export type StatementState = - | "WAITING" - | "RUNNING" - | "AVAILABLE" - | "CANCELLING" - | "CANCELLED" - | "ERROR"; +export type StatementState = "WAITING" | "RUNNING" | "AVAILABLE" | "CANCELLING" | "CANCELLED" | "ERROR"; export interface StatisticAnnotation { ProfileId?: string; StatisticId?: string; @@ -8848,20 +7181,24 @@ export interface StopColumnStatisticsTaskRunRequest { DatabaseName: string; TableName: string; } -export interface StopColumnStatisticsTaskRunResponse {} +export interface StopColumnStatisticsTaskRunResponse { +} export interface StopColumnStatisticsTaskRunScheduleRequest { DatabaseName: string; TableName: string; } -export interface StopColumnStatisticsTaskRunScheduleResponse {} +export interface StopColumnStatisticsTaskRunScheduleResponse { +} export interface StopCrawlerRequest { Name: string; } -export interface StopCrawlerResponse {} +export interface StopCrawlerResponse { +} export interface StopCrawlerScheduleRequest { CrawlerName: string; } -export interface StopCrawlerScheduleResponse {} +export interface StopCrawlerScheduleResponse { +} export interface StopSessionRequest { Id: string; RequestOrigin?: string; @@ -8879,7 +7216,8 @@ export interface StopWorkflowRunRequest { Name: string; RunId: string; } -export interface StopWorkflowRunResponse {} +export interface StopWorkflowRunResponse { +} export interface StorageDescriptor { Columns?: Array; Location?: string; @@ -8990,11 +7328,7 @@ export interface TableOptimizerConfiguration { retentionConfiguration?: RetentionConfiguration; orphanFileDeletionConfiguration?: OrphanFileDeletionConfiguration; } -export type TableOptimizerEventType = - | "starting" - | "completed" - | "failed" - | "in_progress"; +export type TableOptimizerEventType = "starting" | "completed" | "failed" | "in_progress"; export interface TableOptimizerRun { eventType?: TableOptimizerEventType; startTimestamp?: Date | string; @@ -9009,17 +7343,12 @@ export interface TableOptimizerRun { export type TableOptimizerRuns = Array; export type TableOptimizerRunTimestamp = Date | string; -export type TableOptimizerType = - | "compaction" - | "retention" - | "orphan_file_deletion"; +export type TableOptimizerType = "compaction" | "retention" | "orphan_file_deletion"; interface _TableOptimizerVpcConfiguration { glueConnectionName?: string; } -export type TableOptimizerVpcConfiguration = _TableOptimizerVpcConfiguration & { - glueConnectionName: string; -}; +export type TableOptimizerVpcConfiguration = (_TableOptimizerVpcConfiguration & { glueConnectionName: string }); export type TablePrefix = string; export interface TableStatus { @@ -9055,23 +7384,14 @@ export interface TagResourceRequest { ResourceArn: string; TagsToAdd: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export type TagValue = string; export type TargetColumn = string; -export type TargetFormat = - | "json" - | "csv" - | "avro" - | "orc" - | "parquet" - | "hudi" - | "delta" - | "iceberg" - | "hyper" - | "xml"; +export type TargetFormat = "json" | "csv" | "avro" | "orc" | "parquet" | "hudi" | "delta" | "iceberg" | "hyper" | "xml"; export interface TargetProcessingProperties { RoleArn?: string; KmsArn?: string; @@ -9122,20 +7442,8 @@ export interface TaskRunSortCriteria { Column: TaskRunSortColumnType; SortDirection: SortDirectionType; } -export type TaskStatusType = - | "STARTING" - | "RUNNING" - | "STOPPING" - | "STOPPED" - | "SUCCEEDED" - | "FAILED" - | "TIMEOUT"; -export type TaskType = - | "EVALUATION" - | "LABELING_SET_GENERATION" - | "IMPORT_LABELS" - | "EXPORT_LABELS" - | "FIND_MATCHES"; +export type TaskStatusType = "STARTING" | "RUNNING" | "STOPPING" | "STOPPED" | "SUCCEEDED" | "FAILED" | "TIMEOUT"; +export type TaskType = "EVALUATION" | "LABELING_SET_GENERATION" | "IMPORT_LABELS" | "EXPORT_LABELS" | "FIND_MATCHES"; export interface TestConnectionInput { ConnectionType: ConnectionType; ConnectionProperties: { [key in ConnectionPropertyKey]?: string }; @@ -9146,7 +7454,8 @@ export interface TestConnectionRequest { CatalogId?: string; TestConnectionInput?: TestConnectionInput; } -export interface TestConnectionResponse {} +export interface TestConnectionResponse { +} export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -9213,12 +7522,7 @@ export interface TransformParameters { FindMatchesParameters?: FindMatchesParameters; } export type TransformSchema = Array; -export type TransformSortColumnType = - | "NAME" - | "TRANSFORM_TYPE" - | "STATUS" - | "CREATED" - | "LAST_MODIFIED"; +export type TransformSortColumnType = "NAME" | "TRANSFORM_TYPE" | "STATUS" | "CREATED" | "LAST_MODIFIED"; export interface TransformSortCriteria { Column: TransformSortColumnType; SortDirection: SortDirectionType; @@ -9242,15 +7546,7 @@ export type TriggerNameList = Array; export interface TriggerNodeDetails { Trigger?: Trigger; } -export type TriggerState = - | "CREATING" - | "CREATED" - | "ACTIVATING" - | "ACTIVATED" - | "DEACTIVATING" - | "DEACTIVATED" - | "DELETING" - | "UPDATING"; +export type TriggerState = "CREATING" | "CREATED" | "ACTIVATING" | "ACTIVATED" | "DEACTIVATING" | "DEACTIVATED" | "DELETING" | "UPDATING"; export type TriggerType = "SCHEDULED" | "CONDITIONAL" | "ON_DEMAND" | "EVENT"; export interface TriggerUpdate { Name?: string; @@ -9280,7 +7576,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagsToRemove: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UpdateBehavior = "LOG" | "UPDATE_IN_DATABASE"; export interface UpdateBlueprintRequest { Name: string; @@ -9295,14 +7592,16 @@ export interface UpdateCatalogRequest { CatalogId: string; CatalogInput: CatalogInput; } -export interface UpdateCatalogResponse {} +export interface UpdateCatalogResponse { +} export interface UpdateClassifierRequest { GrokClassifier?: UpdateGrokClassifierRequest; XMLClassifier?: UpdateXMLClassifierRequest; JsonClassifier?: UpdateJsonClassifierRequest; CsvClassifier?: UpdateCsvClassifierRequest; } -export interface UpdateClassifierResponse {} +export interface UpdateClassifierResponse { +} export interface UpdateColumnStatisticsForPartitionRequest { CatalogId?: string; DatabaseName: string; @@ -9333,13 +7632,15 @@ export interface UpdateColumnStatisticsTaskSettingsRequest { CatalogID?: string; SecurityConfiguration?: string; } -export interface UpdateColumnStatisticsTaskSettingsResponse {} +export interface UpdateColumnStatisticsTaskSettingsResponse { +} export interface UpdateConnectionRequest { CatalogId?: string; Name: string; ConnectionInput: ConnectionInput; } -export interface UpdateConnectionResponse {} +export interface UpdateConnectionResponse { +} export interface UpdateCrawlerRequest { Name: string; Role?: string; @@ -9356,12 +7657,14 @@ export interface UpdateCrawlerRequest { Configuration?: string; CrawlerSecurityConfiguration?: string; } -export interface UpdateCrawlerResponse {} +export interface UpdateCrawlerResponse { +} export interface UpdateCrawlerScheduleRequest { CrawlerName: string; Schedule?: string; } -export interface UpdateCrawlerScheduleResponse {} +export interface UpdateCrawlerScheduleResponse { +} export interface UpdateCsvClassifierRequest { Name: string; Delimiter?: string; @@ -9379,7 +7682,8 @@ export interface UpdateDatabaseRequest { Name: string; DatabaseInput: DatabaseInput; } -export interface UpdateDatabaseResponse {} +export interface UpdateDatabaseResponse { +} export interface UpdateDataQualityRulesetRequest { Name: string; Description?: string; @@ -9400,14 +7704,16 @@ export interface UpdateDevEndpointRequest { DeleteArguments?: Array; AddArguments?: Record; } -export interface UpdateDevEndpointResponse {} +export interface UpdateDevEndpointResponse { +} export type UpdatedTimestamp = string; export interface UpdateGlueIdentityCenterConfigurationRequest { Scopes?: Array; UserBackgroundSessionsEnabled?: boolean; } -export interface UpdateGlueIdentityCenterConfigurationResponse {} +export interface UpdateGlueIdentityCenterConfigurationResponse { +} export interface UpdateGrokClassifierRequest { Name: string; Classification?: string; @@ -9436,7 +7742,8 @@ export interface UpdateIntegrationTablePropertiesRequest { SourceTableConfig?: SourceTableConfig; TargetTableConfig?: TargetTableConfig; } -export interface UpdateIntegrationTablePropertiesResponse {} +export interface UpdateIntegrationTablePropertiesResponse { +} export interface UpdateJobFromSourceControlRequest { JobName?: string; Provider?: SourceControlProvider; @@ -9488,7 +7795,8 @@ export interface UpdatePartitionRequest { PartitionValueList: Array; PartitionInput: PartitionInput; } -export interface UpdatePartitionResponse {} +export interface UpdatePartitionResponse { +} export interface UpdateRegistryInput { RegistryId: RegistryId; Description: string; @@ -9529,7 +7837,8 @@ export interface UpdateTableOptimizerRequest { Type: TableOptimizerType; TableOptimizerConfiguration: TableOptimizerConfiguration; } -export interface UpdateTableOptimizerResponse {} +export interface UpdateTableOptimizerResponse { +} export interface UpdateTableRequest { CatalogId?: string; DatabaseName: string; @@ -9542,7 +7851,8 @@ export interface UpdateTableRequest { Force?: boolean; UpdateOpenTableFormatInput?: UpdateOpenTableFormatInput; } -export interface UpdateTableResponse {} +export interface UpdateTableResponse { +} export interface UpdateTriggerRequest { Name: string; TriggerUpdate: TriggerUpdate; @@ -9564,7 +7874,8 @@ export interface UpdateUserDefinedFunctionRequest { FunctionName: string; FunctionInput: UserDefinedFunctionInput; } -export interface UpdateUserDefinedFunctionResponse {} +export interface UpdateUserDefinedFunctionResponse { +} export interface UpdateWorkflowRequest { Name: string; Description?: string; @@ -9689,14 +8000,7 @@ export interface ViewValidation { Error?: ErrorDetail; } export type ViewValidationList = Array; -export type WorkerType = - | "Standard" - | "G.1X" - | "G.2X" - | "G.025X" - | "G.4X" - | "G.8X" - | "Z.2X"; +export type WorkerType = "Standard" | "G.1X" | "G.2X" | "G.025X" | "G.4X" | "G.8X" | "Z.2X"; export interface Workflow { Name?: string; Description?: string; @@ -9740,12 +8044,7 @@ export interface WorkflowRunStatistics { ErroredActions?: number; WaitingActions?: number; } -export type WorkflowRunStatus = - | "RUNNING" - | "COMPLETED" - | "STOPPING" - | "STOPPED" - | "ERROR"; +export type WorkflowRunStatus = "RUNNING" | "COMPLETED" | "STOPPING" | "STOPPED" | "ERROR"; export type Workflows = Array; export interface XMLClassifier { Name: string; @@ -10927,7 +9226,9 @@ export declare namespace GetClassifier { export declare namespace GetClassifiers { export type Input = GetClassifiersRequest; export type Output = GetClassifiersResponse; - export type Error = OperationTimeoutException | CommonAwsError; + export type Error = + | OperationTimeoutException + | CommonAwsError; } export declare namespace GetColumnStatisticsForPartition { @@ -10967,7 +9268,9 @@ export declare namespace GetColumnStatisticsTaskRun { export declare namespace GetColumnStatisticsTaskRuns { export type Input = GetColumnStatisticsTaskRunsRequest; export type Output = GetColumnStatisticsTaskRunsResponse; - export type Error = OperationTimeoutException | CommonAwsError; + export type Error = + | OperationTimeoutException + | CommonAwsError; } export declare namespace GetColumnStatisticsTaskSettings { @@ -11014,13 +9317,17 @@ export declare namespace GetCrawler { export declare namespace GetCrawlerMetrics { export type Input = GetCrawlerMetricsRequest; export type Output = GetCrawlerMetricsResponse; - export type Error = OperationTimeoutException | CommonAwsError; + export type Error = + | OperationTimeoutException + | CommonAwsError; } export declare namespace GetCrawlers { export type Input = GetCrawlersRequest; export type Output = GetCrawlersResponse; - export type Error = OperationTimeoutException | CommonAwsError; + export type Error = + | OperationTimeoutException + | CommonAwsError; } export declare namespace GetCustomEntityType { @@ -11758,7 +10065,9 @@ export declare namespace ListBlueprints { export declare namespace ListColumnStatisticsTaskRuns { export type Input = ListColumnStatisticsTaskRunsRequest; export type Output = ListColumnStatisticsTaskRunsResponse; - export type Error = OperationTimeoutException | CommonAwsError; + export type Error = + | OperationTimeoutException + | CommonAwsError; } export declare namespace ListConnectionTypes { @@ -11773,7 +10082,9 @@ export declare namespace ListConnectionTypes { export declare namespace ListCrawlers { export type Input = ListCrawlersRequest; export type Output = ListCrawlersResponse; - export type Error = OperationTimeoutException | CommonAwsError; + export type Error = + | OperationTimeoutException + | CommonAwsError; } export declare namespace ListCrawls { @@ -12811,50 +11122,5 @@ export declare namespace UpdateWorkflow { | CommonAwsError; } -export type GlueErrors = - | AccessDeniedException - | AlreadyExistsException - | ColumnStatisticsTaskNotRunningException - | ColumnStatisticsTaskRunningException - | ColumnStatisticsTaskStoppingException - | ConcurrentModificationException - | ConcurrentRunsExceededException - | ConditionCheckFailureException - | ConflictException - | CrawlerNotRunningException - | CrawlerRunningException - | CrawlerStoppingException - | EntityNotFoundException - | FederatedResourceAlreadyExistsException - | FederationSourceException - | FederationSourceRetryableException - | GlueEncryptionException - | IdempotentParameterMismatchException - | IllegalBlueprintStateException - | IllegalSessionStateException - | IllegalWorkflowStateException - | IntegrationConflictOperationFault - | IntegrationNotFoundFault - | IntegrationQuotaExceededFault - | InternalServerException - | InternalServiceException - | InvalidInputException - | InvalidIntegrationStateFault - | InvalidStateException - | KMSKeyNotAccessibleFault - | MLTransformNotReadyException - | NoScheduleException - | OperationNotSupportedException - | OperationTimeoutException - | PermissionTypeMismatchException - | ResourceNotFoundException - | ResourceNotReadyException - | ResourceNumberLimitExceededException - | SchedulerNotRunningException - | SchedulerRunningException - | SchedulerTransitioningException - | TargetResourceNotFound - | ThrottlingException - | ValidationException - | VersionMismatchException - | CommonAwsError; +export type GlueErrors = AccessDeniedException | AlreadyExistsException | ColumnStatisticsTaskNotRunningException | ColumnStatisticsTaskRunningException | ColumnStatisticsTaskStoppingException | ConcurrentModificationException | ConcurrentRunsExceededException | ConditionCheckFailureException | ConflictException | CrawlerNotRunningException | CrawlerRunningException | CrawlerStoppingException | EntityNotFoundException | FederatedResourceAlreadyExistsException | FederationSourceException | FederationSourceRetryableException | GlueEncryptionException | IdempotentParameterMismatchException | IllegalBlueprintStateException | IllegalSessionStateException | IllegalWorkflowStateException | IntegrationConflictOperationFault | IntegrationNotFoundFault | IntegrationQuotaExceededFault | InternalServerException | InternalServiceException | InvalidInputException | InvalidIntegrationStateFault | InvalidStateException | KMSKeyNotAccessibleFault | MLTransformNotReadyException | NoScheduleException | OperationNotSupportedException | OperationTimeoutException | PermissionTypeMismatchException | ResourceNotFoundException | ResourceNotReadyException | ResourceNumberLimitExceededException | SchedulerNotRunningException | SchedulerRunningException | SchedulerTransitioningException | TargetResourceNotFound | ThrottlingException | ValidationException | VersionMismatchException | CommonAwsError; + diff --git a/src/services/grafana/index.ts b/src/services/grafana/index.ts index 98945225..f750af89 100644 --- a/src/services/grafana/index.ts +++ b/src/services/grafana/index.ts @@ -5,23 +5,7 @@ import type { grafana as _grafanaClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,41 +14,35 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "grafana", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - ListVersions: "GET /versions", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - AssociateLicense: "POST /workspaces/{workspaceId}/licenses/{licenseType}", - CreateWorkspace: "POST /workspaces", - CreateWorkspaceApiKey: "POST /workspaces/{workspaceId}/apikeys", - CreateWorkspaceServiceAccount: - "POST /workspaces/{workspaceId}/serviceaccounts", - CreateWorkspaceServiceAccountToken: - "POST /workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", - DeleteWorkspace: "DELETE /workspaces/{workspaceId}", - DeleteWorkspaceApiKey: "DELETE /workspaces/{workspaceId}/apikeys/{keyName}", - DeleteWorkspaceServiceAccount: - "DELETE /workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}", - DeleteWorkspaceServiceAccountToken: - "DELETE /workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens/{tokenId}", - DescribeWorkspace: "GET /workspaces/{workspaceId}", - DescribeWorkspaceAuthentication: - "GET /workspaces/{workspaceId}/authentication", - DescribeWorkspaceConfiguration: - "GET /workspaces/{workspaceId}/configuration", - DisassociateLicense: - "DELETE /workspaces/{workspaceId}/licenses/{licenseType}", - ListPermissions: "GET /workspaces/{workspaceId}/permissions", - ListWorkspaceServiceAccountTokens: - "GET /workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", - ListWorkspaceServiceAccounts: - "GET /workspaces/{workspaceId}/serviceaccounts", - ListWorkspaces: "GET /workspaces", - UpdatePermissions: "PATCH /workspaces/{workspaceId}/permissions", - UpdateWorkspace: "PUT /workspaces/{workspaceId}", - UpdateWorkspaceAuthentication: - "POST /workspaces/{workspaceId}/authentication", - UpdateWorkspaceConfiguration: "PUT /workspaces/{workspaceId}/configuration", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListVersions": "GET /versions", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "AssociateLicense": "POST /workspaces/{workspaceId}/licenses/{licenseType}", + "CreateWorkspace": "POST /workspaces", + "CreateWorkspaceApiKey": "POST /workspaces/{workspaceId}/apikeys", + "CreateWorkspaceServiceAccount": "POST /workspaces/{workspaceId}/serviceaccounts", + "CreateWorkspaceServiceAccountToken": "POST /workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", + "DeleteWorkspace": "DELETE /workspaces/{workspaceId}", + "DeleteWorkspaceApiKey": "DELETE /workspaces/{workspaceId}/apikeys/{keyName}", + "DeleteWorkspaceServiceAccount": "DELETE /workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}", + "DeleteWorkspaceServiceAccountToken": "DELETE /workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens/{tokenId}", + "DescribeWorkspace": "GET /workspaces/{workspaceId}", + "DescribeWorkspaceAuthentication": "GET /workspaces/{workspaceId}/authentication", + "DescribeWorkspaceConfiguration": "GET /workspaces/{workspaceId}/configuration", + "DisassociateLicense": "DELETE /workspaces/{workspaceId}/licenses/{licenseType}", + "ListPermissions": "GET /workspaces/{workspaceId}/permissions", + "ListWorkspaceServiceAccountTokens": "GET /workspaces/{workspaceId}/serviceaccounts/{serviceAccountId}/tokens", + "ListWorkspaceServiceAccounts": "GET /workspaces/{workspaceId}/serviceaccounts", + "ListWorkspaces": "GET /workspaces", + "UpdatePermissions": "PATCH /workspaces/{workspaceId}/permissions", + "UpdateWorkspace": "PUT /workspaces/{workspaceId}", + "UpdateWorkspaceAuthentication": "POST /workspaces/{workspaceId}/authentication", + "UpdateWorkspaceConfiguration": "PUT /workspaces/{workspaceId}/configuration", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/grafana/types.ts b/src/services/grafana/types.ts index 319a05ea..c439448c 100644 --- a/src/services/grafana/types.ts +++ b/src/services/grafana/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class grafana extends AWSServiceClient { @@ -40,290 +8,151 @@ export declare class grafana extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listVersions( input: ListVersionsRequest, ): Effect.Effect< ListVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateLicense( input: AssociateLicenseRequest, ): Effect.Effect< AssociateLicenseResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createWorkspace( input: CreateWorkspaceRequest, ): Effect.Effect< CreateWorkspaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkspaceApiKey( input: CreateWorkspaceApiKeyRequest, ): Effect.Effect< CreateWorkspaceApiKeyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkspaceServiceAccount( input: CreateWorkspaceServiceAccountRequest, ): Effect.Effect< CreateWorkspaceServiceAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkspaceServiceAccountToken( input: CreateWorkspaceServiceAccountTokenRequest, ): Effect.Effect< CreateWorkspaceServiceAccountTokenResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkspace( input: DeleteWorkspaceRequest, ): Effect.Effect< DeleteWorkspaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkspaceApiKey( input: DeleteWorkspaceApiKeyRequest, ): Effect.Effect< DeleteWorkspaceApiKeyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkspaceServiceAccount( input: DeleteWorkspaceServiceAccountRequest, ): Effect.Effect< DeleteWorkspaceServiceAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkspaceServiceAccountToken( input: DeleteWorkspaceServiceAccountTokenRequest, ): Effect.Effect< DeleteWorkspaceServiceAccountTokenResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeWorkspace( input: DescribeWorkspaceRequest, ): Effect.Effect< DescribeWorkspaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeWorkspaceAuthentication( input: DescribeWorkspaceAuthenticationRequest, ): Effect.Effect< DescribeWorkspaceAuthenticationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeWorkspaceConfiguration( input: DescribeWorkspaceConfigurationRequest, ): Effect.Effect< DescribeWorkspaceConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateLicense( input: DisassociateLicenseRequest, ): Effect.Effect< DisassociateLicenseResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPermissions( input: ListPermissionsRequest, ): Effect.Effect< ListPermissionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWorkspaceServiceAccountTokens( input: ListWorkspaceServiceAccountTokensRequest, ): Effect.Effect< ListWorkspaceServiceAccountTokensResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWorkspaceServiceAccounts( input: ListWorkspaceServiceAccountsRequest, ): Effect.Effect< ListWorkspaceServiceAccountsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWorkspaces( input: ListWorkspacesRequest, ): Effect.Effect< ListWorkspacesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; updatePermissions( input: UpdatePermissionsRequest, ): Effect.Effect< UpdatePermissionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkspace( input: UpdateWorkspaceRequest, ): Effect.Effect< UpdateWorkspaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkspaceAuthentication( input: UpdateWorkspaceAuthenticationRequest, ): Effect.Effect< UpdateWorkspaceAuthenticationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkspaceConfiguration( input: UpdateWorkspaceConfigurationRequest, ): Effect.Effect< UpdateWorkspaceConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -517,9 +346,7 @@ interface _IdpMetadata { xml?: string; } -export type IdpMetadata = - | (_IdpMetadata & { url: string }) - | (_IdpMetadata & { xml: string }); +export type IdpMetadata = (_IdpMetadata & { url: string }) | (_IdpMetadata & { xml: string }); export type IdpMetadataUrl = string; export declare class InternalServerException extends EffectData.TaggedError( @@ -699,7 +526,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -714,7 +542,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UpdateAction = string; export interface UpdateError { @@ -749,7 +578,8 @@ export interface UpdateWorkspaceConfigurationRequest { workspaceId: string; grafanaVersion?: string; } -export interface UpdateWorkspaceConfigurationResponse {} +export interface UpdateWorkspaceConfigurationResponse { +} export interface UpdateWorkspaceRequest { accountAccessType?: string; organizationRoleName?: string; @@ -1161,12 +991,5 @@ export declare namespace UpdateWorkspaceConfiguration { | CommonAwsError; } -export type grafanaErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type grafanaErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/greengrass/index.ts b/src/services/greengrass/index.ts index 267b8e69..247e7cdf 100644 --- a/src/services/greengrass/index.ts +++ b/src/services/greengrass/index.ts @@ -5,26 +5,7 @@ import type { Greengrass as _GreengrassClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,151 +15,98 @@ const metadata = { sigV4ServiceName: "greengrass", endpointPrefix: "greengrass", operations: { - AssociateRoleToGroup: "PUT /greengrass/groups/{GroupId}/role", - AssociateServiceRoleToAccount: "PUT /greengrass/servicerole", - CreateConnectorDefinition: "POST /greengrass/definition/connectors", - CreateConnectorDefinitionVersion: - "POST /greengrass/definition/connectors/{ConnectorDefinitionId}/versions", - CreateCoreDefinition: "POST /greengrass/definition/cores", - CreateCoreDefinitionVersion: - "POST /greengrass/definition/cores/{CoreDefinitionId}/versions", - CreateDeployment: "POST /greengrass/groups/{GroupId}/deployments", - CreateDeviceDefinition: "POST /greengrass/definition/devices", - CreateDeviceDefinitionVersion: - "POST /greengrass/definition/devices/{DeviceDefinitionId}/versions", - CreateFunctionDefinition: "POST /greengrass/definition/functions", - CreateFunctionDefinitionVersion: - "POST /greengrass/definition/functions/{FunctionDefinitionId}/versions", - CreateGroup: "POST /greengrass/groups", - CreateGroupCertificateAuthority: - "POST /greengrass/groups/{GroupId}/certificateauthorities", - CreateGroupVersion: "POST /greengrass/groups/{GroupId}/versions", - CreateLoggerDefinition: "POST /greengrass/definition/loggers", - CreateLoggerDefinitionVersion: - "POST /greengrass/definition/loggers/{LoggerDefinitionId}/versions", - CreateResourceDefinition: "POST /greengrass/definition/resources", - CreateResourceDefinitionVersion: - "POST /greengrass/definition/resources/{ResourceDefinitionId}/versions", - CreateSoftwareUpdateJob: "POST /greengrass/updates", - CreateSubscriptionDefinition: "POST /greengrass/definition/subscriptions", - CreateSubscriptionDefinitionVersion: - "POST /greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", - DeleteConnectorDefinition: - "DELETE /greengrass/definition/connectors/{ConnectorDefinitionId}", - DeleteCoreDefinition: - "DELETE /greengrass/definition/cores/{CoreDefinitionId}", - DeleteDeviceDefinition: - "DELETE /greengrass/definition/devices/{DeviceDefinitionId}", - DeleteFunctionDefinition: - "DELETE /greengrass/definition/functions/{FunctionDefinitionId}", - DeleteGroup: "DELETE /greengrass/groups/{GroupId}", - DeleteLoggerDefinition: - "DELETE /greengrass/definition/loggers/{LoggerDefinitionId}", - DeleteResourceDefinition: - "DELETE /greengrass/definition/resources/{ResourceDefinitionId}", - DeleteSubscriptionDefinition: - "DELETE /greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - DisassociateRoleFromGroup: "DELETE /greengrass/groups/{GroupId}/role", - DisassociateServiceRoleFromAccount: "DELETE /greengrass/servicerole", - GetAssociatedRole: "GET /greengrass/groups/{GroupId}/role", - GetBulkDeploymentStatus: - "GET /greengrass/bulk/deployments/{BulkDeploymentId}/status", - GetConnectivityInfo: "GET /greengrass/things/{ThingName}/connectivityInfo", - GetConnectorDefinition: - "GET /greengrass/definition/connectors/{ConnectorDefinitionId}", - GetConnectorDefinitionVersion: - "GET /greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}", - GetCoreDefinition: "GET /greengrass/definition/cores/{CoreDefinitionId}", - GetCoreDefinitionVersion: - "GET /greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}", - GetDeploymentStatus: - "GET /greengrass/groups/{GroupId}/deployments/{DeploymentId}/status", - GetDeviceDefinition: - "GET /greengrass/definition/devices/{DeviceDefinitionId}", - GetDeviceDefinitionVersion: - "GET /greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}", - GetFunctionDefinition: - "GET /greengrass/definition/functions/{FunctionDefinitionId}", - GetFunctionDefinitionVersion: - "GET /greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}", - GetGroup: "GET /greengrass/groups/{GroupId}", - GetGroupCertificateAuthority: - "GET /greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}", - GetGroupCertificateConfiguration: - "GET /greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", - GetGroupVersion: - "GET /greengrass/groups/{GroupId}/versions/{GroupVersionId}", - GetLoggerDefinition: - "GET /greengrass/definition/loggers/{LoggerDefinitionId}", - GetLoggerDefinitionVersion: - "GET /greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}", - GetResourceDefinition: - "GET /greengrass/definition/resources/{ResourceDefinitionId}", - GetResourceDefinitionVersion: - "GET /greengrass/definition/resources/{ResourceDefinitionId}/versions/{ResourceDefinitionVersionId}", - GetServiceRoleForAccount: "GET /greengrass/servicerole", - GetSubscriptionDefinition: - "GET /greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - GetSubscriptionDefinitionVersion: - "GET /greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}", - GetThingRuntimeConfiguration: - "GET /greengrass/things/{ThingName}/runtimeconfig", - ListBulkDeploymentDetailedReports: - "GET /greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports", - ListBulkDeployments: "GET /greengrass/bulk/deployments", - ListConnectorDefinitions: "GET /greengrass/definition/connectors", - ListConnectorDefinitionVersions: - "GET /greengrass/definition/connectors/{ConnectorDefinitionId}/versions", - ListCoreDefinitions: "GET /greengrass/definition/cores", - ListCoreDefinitionVersions: - "GET /greengrass/definition/cores/{CoreDefinitionId}/versions", - ListDeployments: "GET /greengrass/groups/{GroupId}/deployments", - ListDeviceDefinitions: "GET /greengrass/definition/devices", - ListDeviceDefinitionVersions: - "GET /greengrass/definition/devices/{DeviceDefinitionId}/versions", - ListFunctionDefinitions: "GET /greengrass/definition/functions", - ListFunctionDefinitionVersions: - "GET /greengrass/definition/functions/{FunctionDefinitionId}/versions", - ListGroupCertificateAuthorities: - "GET /greengrass/groups/{GroupId}/certificateauthorities", - ListGroups: "GET /greengrass/groups", - ListGroupVersions: "GET /greengrass/groups/{GroupId}/versions", - ListLoggerDefinitions: "GET /greengrass/definition/loggers", - ListLoggerDefinitionVersions: - "GET /greengrass/definition/loggers/{LoggerDefinitionId}/versions", - ListResourceDefinitions: "GET /greengrass/definition/resources", - ListResourceDefinitionVersions: - "GET /greengrass/definition/resources/{ResourceDefinitionId}/versions", - ListSubscriptionDefinitions: "GET /greengrass/definition/subscriptions", - ListSubscriptionDefinitionVersions: - "GET /greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", - ListTagsForResource: "GET /tags/{ResourceArn}", - ResetDeployments: "POST /greengrass/groups/{GroupId}/deployments/$reset", - StartBulkDeployment: "POST /greengrass/bulk/deployments", - StopBulkDeployment: - "PUT /greengrass/bulk/deployments/{BulkDeploymentId}/$stop", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateConnectivityInfo: - "PUT /greengrass/things/{ThingName}/connectivityInfo", - UpdateConnectorDefinition: - "PUT /greengrass/definition/connectors/{ConnectorDefinitionId}", - UpdateCoreDefinition: "PUT /greengrass/definition/cores/{CoreDefinitionId}", - UpdateDeviceDefinition: - "PUT /greengrass/definition/devices/{DeviceDefinitionId}", - UpdateFunctionDefinition: - "PUT /greengrass/definition/functions/{FunctionDefinitionId}", - UpdateGroup: "PUT /greengrass/groups/{GroupId}", - UpdateGroupCertificateConfiguration: - "PUT /greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", - UpdateLoggerDefinition: - "PUT /greengrass/definition/loggers/{LoggerDefinitionId}", - UpdateResourceDefinition: - "PUT /greengrass/definition/resources/{ResourceDefinitionId}", - UpdateSubscriptionDefinition: - "PUT /greengrass/definition/subscriptions/{SubscriptionDefinitionId}", - UpdateThingRuntimeConfiguration: - "PUT /greengrass/things/{ThingName}/runtimeconfig", + "AssociateRoleToGroup": "PUT /greengrass/groups/{GroupId}/role", + "AssociateServiceRoleToAccount": "PUT /greengrass/servicerole", + "CreateConnectorDefinition": "POST /greengrass/definition/connectors", + "CreateConnectorDefinitionVersion": "POST /greengrass/definition/connectors/{ConnectorDefinitionId}/versions", + "CreateCoreDefinition": "POST /greengrass/definition/cores", + "CreateCoreDefinitionVersion": "POST /greengrass/definition/cores/{CoreDefinitionId}/versions", + "CreateDeployment": "POST /greengrass/groups/{GroupId}/deployments", + "CreateDeviceDefinition": "POST /greengrass/definition/devices", + "CreateDeviceDefinitionVersion": "POST /greengrass/definition/devices/{DeviceDefinitionId}/versions", + "CreateFunctionDefinition": "POST /greengrass/definition/functions", + "CreateFunctionDefinitionVersion": "POST /greengrass/definition/functions/{FunctionDefinitionId}/versions", + "CreateGroup": "POST /greengrass/groups", + "CreateGroupCertificateAuthority": "POST /greengrass/groups/{GroupId}/certificateauthorities", + "CreateGroupVersion": "POST /greengrass/groups/{GroupId}/versions", + "CreateLoggerDefinition": "POST /greengrass/definition/loggers", + "CreateLoggerDefinitionVersion": "POST /greengrass/definition/loggers/{LoggerDefinitionId}/versions", + "CreateResourceDefinition": "POST /greengrass/definition/resources", + "CreateResourceDefinitionVersion": "POST /greengrass/definition/resources/{ResourceDefinitionId}/versions", + "CreateSoftwareUpdateJob": "POST /greengrass/updates", + "CreateSubscriptionDefinition": "POST /greengrass/definition/subscriptions", + "CreateSubscriptionDefinitionVersion": "POST /greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", + "DeleteConnectorDefinition": "DELETE /greengrass/definition/connectors/{ConnectorDefinitionId}", + "DeleteCoreDefinition": "DELETE /greengrass/definition/cores/{CoreDefinitionId}", + "DeleteDeviceDefinition": "DELETE /greengrass/definition/devices/{DeviceDefinitionId}", + "DeleteFunctionDefinition": "DELETE /greengrass/definition/functions/{FunctionDefinitionId}", + "DeleteGroup": "DELETE /greengrass/groups/{GroupId}", + "DeleteLoggerDefinition": "DELETE /greengrass/definition/loggers/{LoggerDefinitionId}", + "DeleteResourceDefinition": "DELETE /greengrass/definition/resources/{ResourceDefinitionId}", + "DeleteSubscriptionDefinition": "DELETE /greengrass/definition/subscriptions/{SubscriptionDefinitionId}", + "DisassociateRoleFromGroup": "DELETE /greengrass/groups/{GroupId}/role", + "DisassociateServiceRoleFromAccount": "DELETE /greengrass/servicerole", + "GetAssociatedRole": "GET /greengrass/groups/{GroupId}/role", + "GetBulkDeploymentStatus": "GET /greengrass/bulk/deployments/{BulkDeploymentId}/status", + "GetConnectivityInfo": "GET /greengrass/things/{ThingName}/connectivityInfo", + "GetConnectorDefinition": "GET /greengrass/definition/connectors/{ConnectorDefinitionId}", + "GetConnectorDefinitionVersion": "GET /greengrass/definition/connectors/{ConnectorDefinitionId}/versions/{ConnectorDefinitionVersionId}", + "GetCoreDefinition": "GET /greengrass/definition/cores/{CoreDefinitionId}", + "GetCoreDefinitionVersion": "GET /greengrass/definition/cores/{CoreDefinitionId}/versions/{CoreDefinitionVersionId}", + "GetDeploymentStatus": "GET /greengrass/groups/{GroupId}/deployments/{DeploymentId}/status", + "GetDeviceDefinition": "GET /greengrass/definition/devices/{DeviceDefinitionId}", + "GetDeviceDefinitionVersion": "GET /greengrass/definition/devices/{DeviceDefinitionId}/versions/{DeviceDefinitionVersionId}", + "GetFunctionDefinition": "GET /greengrass/definition/functions/{FunctionDefinitionId}", + "GetFunctionDefinitionVersion": "GET /greengrass/definition/functions/{FunctionDefinitionId}/versions/{FunctionDefinitionVersionId}", + "GetGroup": "GET /greengrass/groups/{GroupId}", + "GetGroupCertificateAuthority": "GET /greengrass/groups/{GroupId}/certificateauthorities/{CertificateAuthorityId}", + "GetGroupCertificateConfiguration": "GET /greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", + "GetGroupVersion": "GET /greengrass/groups/{GroupId}/versions/{GroupVersionId}", + "GetLoggerDefinition": "GET /greengrass/definition/loggers/{LoggerDefinitionId}", + "GetLoggerDefinitionVersion": "GET /greengrass/definition/loggers/{LoggerDefinitionId}/versions/{LoggerDefinitionVersionId}", + "GetResourceDefinition": "GET /greengrass/definition/resources/{ResourceDefinitionId}", + "GetResourceDefinitionVersion": "GET /greengrass/definition/resources/{ResourceDefinitionId}/versions/{ResourceDefinitionVersionId}", + "GetServiceRoleForAccount": "GET /greengrass/servicerole", + "GetSubscriptionDefinition": "GET /greengrass/definition/subscriptions/{SubscriptionDefinitionId}", + "GetSubscriptionDefinitionVersion": "GET /greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions/{SubscriptionDefinitionVersionId}", + "GetThingRuntimeConfiguration": "GET /greengrass/things/{ThingName}/runtimeconfig", + "ListBulkDeploymentDetailedReports": "GET /greengrass/bulk/deployments/{BulkDeploymentId}/detailed-reports", + "ListBulkDeployments": "GET /greengrass/bulk/deployments", + "ListConnectorDefinitions": "GET /greengrass/definition/connectors", + "ListConnectorDefinitionVersions": "GET /greengrass/definition/connectors/{ConnectorDefinitionId}/versions", + "ListCoreDefinitions": "GET /greengrass/definition/cores", + "ListCoreDefinitionVersions": "GET /greengrass/definition/cores/{CoreDefinitionId}/versions", + "ListDeployments": "GET /greengrass/groups/{GroupId}/deployments", + "ListDeviceDefinitions": "GET /greengrass/definition/devices", + "ListDeviceDefinitionVersions": "GET /greengrass/definition/devices/{DeviceDefinitionId}/versions", + "ListFunctionDefinitions": "GET /greengrass/definition/functions", + "ListFunctionDefinitionVersions": "GET /greengrass/definition/functions/{FunctionDefinitionId}/versions", + "ListGroupCertificateAuthorities": "GET /greengrass/groups/{GroupId}/certificateauthorities", + "ListGroups": "GET /greengrass/groups", + "ListGroupVersions": "GET /greengrass/groups/{GroupId}/versions", + "ListLoggerDefinitions": "GET /greengrass/definition/loggers", + "ListLoggerDefinitionVersions": "GET /greengrass/definition/loggers/{LoggerDefinitionId}/versions", + "ListResourceDefinitions": "GET /greengrass/definition/resources", + "ListResourceDefinitionVersions": "GET /greengrass/definition/resources/{ResourceDefinitionId}/versions", + "ListSubscriptionDefinitions": "GET /greengrass/definition/subscriptions", + "ListSubscriptionDefinitionVersions": "GET /greengrass/definition/subscriptions/{SubscriptionDefinitionId}/versions", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "ResetDeployments": "POST /greengrass/groups/{GroupId}/deployments/$reset", + "StartBulkDeployment": "POST /greengrass/bulk/deployments", + "StopBulkDeployment": "PUT /greengrass/bulk/deployments/{BulkDeploymentId}/$stop", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateConnectivityInfo": "PUT /greengrass/things/{ThingName}/connectivityInfo", + "UpdateConnectorDefinition": "PUT /greengrass/definition/connectors/{ConnectorDefinitionId}", + "UpdateCoreDefinition": "PUT /greengrass/definition/cores/{CoreDefinitionId}", + "UpdateDeviceDefinition": "PUT /greengrass/definition/devices/{DeviceDefinitionId}", + "UpdateFunctionDefinition": "PUT /greengrass/definition/functions/{FunctionDefinitionId}", + "UpdateGroup": "PUT /greengrass/groups/{GroupId}", + "UpdateGroupCertificateConfiguration": "PUT /greengrass/groups/{GroupId}/certificateauthorities/configuration/expiry", + "UpdateLoggerDefinition": "PUT /greengrass/definition/loggers/{LoggerDefinitionId}", + "UpdateResourceDefinition": "PUT /greengrass/definition/resources/{ResourceDefinitionId}", + "UpdateSubscriptionDefinition": "PUT /greengrass/definition/subscriptions/{SubscriptionDefinitionId}", + "UpdateThingRuntimeConfiguration": "PUT /greengrass/things/{ThingName}/runtimeconfig", }, } as const satisfies ServiceMetadata; diff --git a/src/services/greengrass/types.ts b/src/services/greengrass/types.ts index c9021f95..88de261c 100644 --- a/src/services/greengrass/types.ts +++ b/src/services/greengrass/types.ts @@ -71,7 +71,10 @@ export declare class Greengrass extends AWSServiceClient { >; createGroup( input: CreateGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateGroupResponse, + BadRequestException | CommonAwsError + >; createGroupCertificateAuthority( input: CreateGroupCertificateAuthorityRequest, ): Effect.Effect< @@ -152,7 +155,10 @@ export declare class Greengrass extends AWSServiceClient { >; deleteGroup( input: DeleteGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteGroupResponse, + BadRequestException | CommonAwsError + >; deleteLoggerDefinition( input: DeleteLoggerDefinitionRequest, ): Effect.Effect< @@ -257,7 +263,10 @@ export declare class Greengrass extends AWSServiceClient { >; getGroup( input: GetGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + GetGroupResponse, + BadRequestException | CommonAwsError + >; getGroupCertificateAuthority( input: GetGroupCertificateAuthorityRequest, ): Effect.Effect< @@ -338,7 +347,10 @@ export declare class Greengrass extends AWSServiceClient { >; listConnectorDefinitions( input: ListConnectorDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListConnectorDefinitionsResponse, + CommonAwsError + >; listConnectorDefinitionVersions( input: ListConnectorDefinitionVersionsRequest, ): Effect.Effect< @@ -347,7 +359,10 @@ export declare class Greengrass extends AWSServiceClient { >; listCoreDefinitions( input: ListCoreDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListCoreDefinitionsResponse, + CommonAwsError + >; listCoreDefinitionVersions( input: ListCoreDefinitionVersionsRequest, ): Effect.Effect< @@ -362,7 +377,10 @@ export declare class Greengrass extends AWSServiceClient { >; listDeviceDefinitions( input: ListDeviceDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDeviceDefinitionsResponse, + CommonAwsError + >; listDeviceDefinitionVersions( input: ListDeviceDefinitionVersionsRequest, ): Effect.Effect< @@ -371,7 +389,10 @@ export declare class Greengrass extends AWSServiceClient { >; listFunctionDefinitions( input: ListFunctionDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListFunctionDefinitionsResponse, + CommonAwsError + >; listFunctionDefinitionVersions( input: ListFunctionDefinitionVersionsRequest, ): Effect.Effect< @@ -386,7 +407,10 @@ export declare class Greengrass extends AWSServiceClient { >; listGroups( input: ListGroupsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListGroupsResponse, + CommonAwsError + >; listGroupVersions( input: ListGroupVersionsRequest, ): Effect.Effect< @@ -395,7 +419,10 @@ export declare class Greengrass extends AWSServiceClient { >; listLoggerDefinitions( input: ListLoggerDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListLoggerDefinitionsResponse, + CommonAwsError + >; listLoggerDefinitionVersions( input: ListLoggerDefinitionVersionsRequest, ): Effect.Effect< @@ -404,7 +431,10 @@ export declare class Greengrass extends AWSServiceClient { >; listResourceDefinitions( input: ListResourceDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListResourceDefinitionsResponse, + CommonAwsError + >; listResourceDefinitionVersions( input: ListResourceDefinitionVersionsRequest, ): Effect.Effect< @@ -413,7 +443,10 @@ export declare class Greengrass extends AWSServiceClient { >; listSubscriptionDefinitions( input: ListSubscriptionDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListSubscriptionDefinitionsResponse, + CommonAwsError + >; listSubscriptionDefinitionVersions( input: ListSubscriptionDefinitionVersionsRequest, ): Effect.Effect< @@ -446,10 +479,16 @@ export declare class Greengrass extends AWSServiceClient { >; tagResource( input: TagResourceRequest, - ): Effect.Effect<{}, BadRequestException | CommonAwsError>; + ): Effect.Effect< + {}, + BadRequestException | CommonAwsError + >; untagResource( input: UntagResourceRequest, - ): Effect.Effect<{}, BadRequestException | CommonAwsError>; + ): Effect.Effect< + {}, + BadRequestException | CommonAwsError + >; updateConnectivityInfo( input: UpdateConnectivityInfoRequest, ): Effect.Effect< @@ -482,7 +521,10 @@ export declare class Greengrass extends AWSServiceClient { >; updateGroup( input: UpdateGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateGroupResponse, + BadRequestException | CommonAwsError + >; updateGroupCertificateConfiguration( input: UpdateGroupCertificateConfigurationRequest, ): Effect.Effect< @@ -526,8 +568,7 @@ export type __listOfCore = Array; export type __listOfDefinitionInformation = Array; export type __listOfDevice = Array; export type __listOfFunction = Array; -export type __listOfGroupCertificateAuthorityProperties = - Array; +export type __listOfGroupCertificateAuthorityProperties = Array; export type __listOfGroupInformation = Array; export type __listOfLogger = Array; export type __listOfResource = Array; @@ -578,13 +619,7 @@ export interface BulkDeploymentResult { } export type BulkDeploymentResults = Array; export type BulkDeployments = Array; -export type BulkDeploymentStatus = - | "Initializing" - | "Running" - | "Completed" - | "Stopping" - | "Stopped" - | "Failed"; +export type BulkDeploymentStatus = "Initializing" | "Running" | "Completed" | "Stopping" | "Stopped" | "Failed"; export type ConfigurationSyncStatus = "InSync" | "OutOfSync"; export interface ConnectivityInfo { HostAddress?: string; @@ -869,35 +904,43 @@ export interface DefinitionInformation { export interface DeleteConnectorDefinitionRequest { ConnectorDefinitionId: string; } -export interface DeleteConnectorDefinitionResponse {} +export interface DeleteConnectorDefinitionResponse { +} export interface DeleteCoreDefinitionRequest { CoreDefinitionId: string; } -export interface DeleteCoreDefinitionResponse {} +export interface DeleteCoreDefinitionResponse { +} export interface DeleteDeviceDefinitionRequest { DeviceDefinitionId: string; } -export interface DeleteDeviceDefinitionResponse {} +export interface DeleteDeviceDefinitionResponse { +} export interface DeleteFunctionDefinitionRequest { FunctionDefinitionId: string; } -export interface DeleteFunctionDefinitionResponse {} +export interface DeleteFunctionDefinitionResponse { +} export interface DeleteGroupRequest { GroupId: string; } -export interface DeleteGroupResponse {} +export interface DeleteGroupResponse { +} export interface DeleteLoggerDefinitionRequest { LoggerDefinitionId: string; } -export interface DeleteLoggerDefinitionResponse {} +export interface DeleteLoggerDefinitionResponse { +} export interface DeleteResourceDefinitionRequest { ResourceDefinitionId: string; } -export interface DeleteResourceDefinitionResponse {} +export interface DeleteResourceDefinitionResponse { +} export interface DeleteSubscriptionDefinitionRequest { SubscriptionDefinitionId: string; } -export interface DeleteSubscriptionDefinitionResponse {} +export interface DeleteSubscriptionDefinitionResponse { +} export interface Deployment { CreatedAt?: string; DeploymentArn?: string; @@ -906,11 +949,7 @@ export interface Deployment { GroupArn?: string; } export type Deployments = Array; -export type DeploymentType = - | "NewDeployment" - | "Redeployment" - | "ResetDeployment" - | "ForceResetDeployment"; +export type DeploymentType = "NewDeployment" | "Redeployment" | "ResetDeployment" | "ForceResetDeployment"; export interface Device { CertificateArn: string; Id: string; @@ -926,7 +965,8 @@ export interface DisassociateRoleFromGroupRequest { export interface DisassociateRoleFromGroupResponse { DisassociatedAt?: string; } -export interface DisassociateServiceRoleFromAccountRequest {} +export interface DisassociateServiceRoleFromAccountRequest { +} export interface DisassociateServiceRoleFromAccountResponse { DisassociatedAt?: string; } @@ -1206,7 +1246,8 @@ export interface GetResourceDefinitionVersionResponse { Id?: string; Version?: string; } -export interface GetServiceRoleForAccountRequest {} +export interface GetServiceRoleForAccountRequest { +} export interface GetServiceRoleForAccountResponse { AssociatedAt?: string; RoleArn?: string; @@ -1537,7 +1578,8 @@ export interface StartBulkDeploymentResponse { export interface StopBulkDeploymentRequest { BulkDeploymentId: string; } -export interface StopBulkDeploymentResponse {} +export interface StopBulkDeploymentResponse { +} export interface Subscription { Id: string; Source: string; @@ -1564,15 +1606,7 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export type UpdateAgentLogLevel = - | "NONE" - | "TRACE" - | "DEBUG" - | "VERBOSE" - | "INFO" - | "WARN" - | "ERROR" - | "FATAL"; +export type UpdateAgentLogLevel = "NONE" | "TRACE" | "DEBUG" | "VERBOSE" | "INFO" | "WARN" | "ERROR" | "FATAL"; export interface UpdateConnectivityInfoRequest { ConnectivityInfo?: Array; ThingName: string; @@ -1585,22 +1619,26 @@ export interface UpdateConnectorDefinitionRequest { ConnectorDefinitionId: string; Name?: string; } -export interface UpdateConnectorDefinitionResponse {} +export interface UpdateConnectorDefinitionResponse { +} export interface UpdateCoreDefinitionRequest { CoreDefinitionId: string; Name?: string; } -export interface UpdateCoreDefinitionResponse {} +export interface UpdateCoreDefinitionResponse { +} export interface UpdateDeviceDefinitionRequest { DeviceDefinitionId: string; Name?: string; } -export interface UpdateDeviceDefinitionResponse {} +export interface UpdateDeviceDefinitionResponse { +} export interface UpdateFunctionDefinitionRequest { FunctionDefinitionId: string; Name?: string; } -export interface UpdateFunctionDefinitionResponse {} +export interface UpdateFunctionDefinitionResponse { +} export interface UpdateGroupCertificateConfigurationRequest { CertificateExpiryInMilliseconds?: string; GroupId: string; @@ -1614,38 +1652,35 @@ export interface UpdateGroupRequest { GroupId: string; Name?: string; } -export interface UpdateGroupResponse {} +export interface UpdateGroupResponse { +} export interface UpdateLoggerDefinitionRequest { LoggerDefinitionId: string; Name?: string; } -export interface UpdateLoggerDefinitionResponse {} +export interface UpdateLoggerDefinitionResponse { +} export interface UpdateResourceDefinitionRequest { Name?: string; ResourceDefinitionId: string; } -export interface UpdateResourceDefinitionResponse {} +export interface UpdateResourceDefinitionResponse { +} export interface UpdateSubscriptionDefinitionRequest { Name?: string; SubscriptionDefinitionId: string; } -export interface UpdateSubscriptionDefinitionResponse {} +export interface UpdateSubscriptionDefinitionResponse { +} export type UpdateTargets = Array; -export type UpdateTargetsArchitecture = - | "armv6l" - | "armv7l" - | "x86_64" - | "aarch64"; -export type UpdateTargetsOperatingSystem = - | "ubuntu" - | "raspbian" - | "amazon_linux" - | "openwrt"; +export type UpdateTargetsArchitecture = "armv6l" | "armv7l" | "x86_64" | "aarch64"; +export type UpdateTargetsOperatingSystem = "ubuntu" | "raspbian" | "amazon_linux" | "openwrt"; export interface UpdateThingRuntimeConfigurationRequest { TelemetryConfiguration?: TelemetryConfigurationUpdate; ThingName: string; } -export interface UpdateThingRuntimeConfigurationResponse {} +export interface UpdateThingRuntimeConfigurationResponse { +} export interface VersionInformation { Arn?: string; CreationTimestamp?: string; @@ -1673,61 +1708,81 @@ export declare namespace AssociateServiceRoleToAccount { export declare namespace CreateConnectorDefinition { export type Input = CreateConnectorDefinitionRequest; export type Output = CreateConnectorDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateConnectorDefinitionVersion { export type Input = CreateConnectorDefinitionVersionRequest; export type Output = CreateConnectorDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateCoreDefinition { export type Input = CreateCoreDefinitionRequest; export type Output = CreateCoreDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateCoreDefinitionVersion { export type Input = CreateCoreDefinitionVersionRequest; export type Output = CreateCoreDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateDeployment { export type Input = CreateDeploymentRequest; export type Output = CreateDeploymentResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateDeviceDefinition { export type Input = CreateDeviceDefinitionRequest; export type Output = CreateDeviceDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateDeviceDefinitionVersion { export type Input = CreateDeviceDefinitionVersionRequest; export type Output = CreateDeviceDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateFunctionDefinition { export type Input = CreateFunctionDefinitionRequest; export type Output = CreateFunctionDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateFunctionDefinitionVersion { export type Input = CreateFunctionDefinitionVersionRequest; export type Output = CreateFunctionDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateGroup { export type Input = CreateGroupRequest; export type Output = CreateGroupResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateGroupCertificateAuthority { @@ -1742,31 +1797,41 @@ export declare namespace CreateGroupCertificateAuthority { export declare namespace CreateGroupVersion { export type Input = CreateGroupVersionRequest; export type Output = CreateGroupVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateLoggerDefinition { export type Input = CreateLoggerDefinitionRequest; export type Output = CreateLoggerDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateLoggerDefinitionVersion { export type Input = CreateLoggerDefinitionVersionRequest; export type Output = CreateLoggerDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateResourceDefinition { export type Input = CreateResourceDefinitionRequest; export type Output = CreateResourceDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateResourceDefinitionVersion { export type Input = CreateResourceDefinitionVersionRequest; export type Output = CreateResourceDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateSoftwareUpdateJob { @@ -1781,61 +1846,81 @@ export declare namespace CreateSoftwareUpdateJob { export declare namespace CreateSubscriptionDefinition { export type Input = CreateSubscriptionDefinitionRequest; export type Output = CreateSubscriptionDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace CreateSubscriptionDefinitionVersion { export type Input = CreateSubscriptionDefinitionVersionRequest; export type Output = CreateSubscriptionDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace DeleteConnectorDefinition { export type Input = DeleteConnectorDefinitionRequest; export type Output = DeleteConnectorDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace DeleteCoreDefinition { export type Input = DeleteCoreDefinitionRequest; export type Output = DeleteCoreDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace DeleteDeviceDefinition { export type Input = DeleteDeviceDefinitionRequest; export type Output = DeleteDeviceDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace DeleteFunctionDefinition { export type Input = DeleteFunctionDefinitionRequest; export type Output = DeleteFunctionDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace DeleteGroup { export type Input = DeleteGroupRequest; export type Output = DeleteGroupResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace DeleteLoggerDefinition { export type Input = DeleteLoggerDefinitionRequest; export type Output = DeleteLoggerDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace DeleteResourceDefinition { export type Input = DeleteResourceDefinitionRequest; export type Output = DeleteResourceDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace DeleteSubscriptionDefinition { export type Input = DeleteSubscriptionDefinitionRequest; export type Output = DeleteSubscriptionDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace DisassociateRoleFromGroup { @@ -1850,7 +1935,9 @@ export declare namespace DisassociateRoleFromGroup { export declare namespace DisassociateServiceRoleFromAccount { export type Input = DisassociateServiceRoleFromAccountRequest; export type Output = DisassociateServiceRoleFromAccountResponse; - export type Error = InternalServerErrorException | CommonAwsError; + export type Error = + | InternalServerErrorException + | CommonAwsError; } export declare namespace GetAssociatedRole { @@ -1865,7 +1952,9 @@ export declare namespace GetAssociatedRole { export declare namespace GetBulkDeploymentStatus { export type Input = GetBulkDeploymentStatusRequest; export type Output = GetBulkDeploymentStatusResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetConnectivityInfo { @@ -1880,61 +1969,81 @@ export declare namespace GetConnectivityInfo { export declare namespace GetConnectorDefinition { export type Input = GetConnectorDefinitionRequest; export type Output = GetConnectorDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetConnectorDefinitionVersion { export type Input = GetConnectorDefinitionVersionRequest; export type Output = GetConnectorDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetCoreDefinition { export type Input = GetCoreDefinitionRequest; export type Output = GetCoreDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetCoreDefinitionVersion { export type Input = GetCoreDefinitionVersionRequest; export type Output = GetCoreDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetDeploymentStatus { export type Input = GetDeploymentStatusRequest; export type Output = GetDeploymentStatusResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetDeviceDefinition { export type Input = GetDeviceDefinitionRequest; export type Output = GetDeviceDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetDeviceDefinitionVersion { export type Input = GetDeviceDefinitionVersionRequest; export type Output = GetDeviceDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetFunctionDefinition { export type Input = GetFunctionDefinitionRequest; export type Output = GetFunctionDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetFunctionDefinitionVersion { export type Input = GetFunctionDefinitionVersionRequest; export type Output = GetFunctionDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetGroup { export type Input = GetGroupRequest; export type Output = GetGroupResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetGroupCertificateAuthority { @@ -1958,49 +2067,65 @@ export declare namespace GetGroupCertificateConfiguration { export declare namespace GetGroupVersion { export type Input = GetGroupVersionRequest; export type Output = GetGroupVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetLoggerDefinition { export type Input = GetLoggerDefinitionRequest; export type Output = GetLoggerDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetLoggerDefinitionVersion { export type Input = GetLoggerDefinitionVersionRequest; export type Output = GetLoggerDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetResourceDefinition { export type Input = GetResourceDefinitionRequest; export type Output = GetResourceDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetResourceDefinitionVersion { export type Input = GetResourceDefinitionVersionRequest; export type Output = GetResourceDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetServiceRoleForAccount { export type Input = GetServiceRoleForAccountRequest; export type Output = GetServiceRoleForAccountResponse; - export type Error = InternalServerErrorException | CommonAwsError; + export type Error = + | InternalServerErrorException + | CommonAwsError; } export declare namespace GetSubscriptionDefinition { export type Input = GetSubscriptionDefinitionRequest; export type Output = GetSubscriptionDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetSubscriptionDefinitionVersion { export type Input = GetSubscriptionDefinitionVersionRequest; export type Output = GetSubscriptionDefinitionVersionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace GetThingRuntimeConfiguration { @@ -2015,67 +2140,85 @@ export declare namespace GetThingRuntimeConfiguration { export declare namespace ListBulkDeploymentDetailedReports { export type Input = ListBulkDeploymentDetailedReportsRequest; export type Output = ListBulkDeploymentDetailedReportsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListBulkDeployments { export type Input = ListBulkDeploymentsRequest; export type Output = ListBulkDeploymentsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListConnectorDefinitions { export type Input = ListConnectorDefinitionsRequest; export type Output = ListConnectorDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListConnectorDefinitionVersions { export type Input = ListConnectorDefinitionVersionsRequest; export type Output = ListConnectorDefinitionVersionsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListCoreDefinitions { export type Input = ListCoreDefinitionsRequest; export type Output = ListCoreDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListCoreDefinitionVersions { export type Input = ListCoreDefinitionVersionsRequest; export type Output = ListCoreDefinitionVersionsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListDeployments { export type Input = ListDeploymentsRequest; export type Output = ListDeploymentsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListDeviceDefinitions { export type Input = ListDeviceDefinitionsRequest; export type Output = ListDeviceDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListDeviceDefinitionVersions { export type Input = ListDeviceDefinitionVersionsRequest; export type Output = ListDeviceDefinitionVersionsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListFunctionDefinitions { export type Input = ListFunctionDefinitionsRequest; export type Output = ListFunctionDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListFunctionDefinitionVersions { export type Input = ListFunctionDefinitionVersionsRequest; export type Output = ListFunctionDefinitionVersionsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListGroupCertificateAuthorities { @@ -2090,85 +2233,109 @@ export declare namespace ListGroupCertificateAuthorities { export declare namespace ListGroups { export type Input = ListGroupsRequest; export type Output = ListGroupsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListGroupVersions { export type Input = ListGroupVersionsRequest; export type Output = ListGroupVersionsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListLoggerDefinitions { export type Input = ListLoggerDefinitionsRequest; export type Output = ListLoggerDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListLoggerDefinitionVersions { export type Input = ListLoggerDefinitionVersionsRequest; export type Output = ListLoggerDefinitionVersionsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListResourceDefinitions { export type Input = ListResourceDefinitionsRequest; export type Output = ListResourceDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListResourceDefinitionVersions { export type Input = ListResourceDefinitionVersionsRequest; export type Output = ListResourceDefinitionVersionsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListSubscriptionDefinitions { export type Input = ListSubscriptionDefinitionsRequest; export type Output = ListSubscriptionDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListSubscriptionDefinitionVersions { export type Input = ListSubscriptionDefinitionVersionsRequest; export type Output = ListSubscriptionDefinitionVersionsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ResetDeployments { export type Input = ResetDeploymentsRequest; export type Output = ResetDeploymentsResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace StartBulkDeployment { export type Input = StartBulkDeploymentRequest; export type Output = StartBulkDeploymentResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace StopBulkDeployment { export type Input = StopBulkDeploymentRequest; export type Output = StopBulkDeploymentResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = {}; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = {}; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UpdateConnectivityInfo { @@ -2183,31 +2350,41 @@ export declare namespace UpdateConnectivityInfo { export declare namespace UpdateConnectorDefinition { export type Input = UpdateConnectorDefinitionRequest; export type Output = UpdateConnectorDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UpdateCoreDefinition { export type Input = UpdateCoreDefinitionRequest; export type Output = UpdateCoreDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UpdateDeviceDefinition { export type Input = UpdateDeviceDefinitionRequest; export type Output = UpdateDeviceDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UpdateFunctionDefinition { export type Input = UpdateFunctionDefinitionRequest; export type Output = UpdateFunctionDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UpdateGroup { export type Input = UpdateGroupRequest; export type Output = UpdateGroupResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UpdateGroupCertificateConfiguration { @@ -2222,19 +2399,25 @@ export declare namespace UpdateGroupCertificateConfiguration { export declare namespace UpdateLoggerDefinition { export type Input = UpdateLoggerDefinitionRequest; export type Output = UpdateLoggerDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UpdateResourceDefinition { export type Input = UpdateResourceDefinitionRequest; export type Output = UpdateResourceDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UpdateSubscriptionDefinition { export type Input = UpdateSubscriptionDefinitionRequest; export type Output = UpdateSubscriptionDefinitionResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UpdateThingRuntimeConfiguration { @@ -2246,7 +2429,5 @@ export declare namespace UpdateThingRuntimeConfiguration { | CommonAwsError; } -export type GreengrassErrors = - | BadRequestException - | InternalServerErrorException - | CommonAwsError; +export type GreengrassErrors = BadRequestException | InternalServerErrorException | CommonAwsError; + diff --git a/src/services/greengrassv2/index.ts b/src/services/greengrassv2/index.ts index 04e64e81..810bbd90 100644 --- a/src/services/greengrassv2/index.ts +++ b/src/services/greengrassv2/index.ts @@ -5,23 +5,7 @@ import type { GreengrassV2 as _GreengrassV2Client } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,43 +15,35 @@ const metadata = { sigV4ServiceName: "greengrass", endpointPrefix: "greengrass", operations: { - AssociateServiceRoleToAccount: "PUT /greengrass/servicerole", - BatchAssociateClientDeviceWithCoreDevice: - "POST /greengrass/v2/coreDevices/{coreDeviceThingName}/associateClientDevices", - BatchDisassociateClientDeviceFromCoreDevice: - "POST /greengrass/v2/coreDevices/{coreDeviceThingName}/disassociateClientDevices", - CancelDeployment: "POST /greengrass/v2/deployments/{deploymentId}/cancel", - CreateComponentVersion: "POST /greengrass/v2/createComponentVersion", - CreateDeployment: "POST /greengrass/v2/deployments", - DeleteComponent: "DELETE /greengrass/v2/components/{arn}", - DeleteCoreDevice: "DELETE /greengrass/v2/coreDevices/{coreDeviceThingName}", - DeleteDeployment: "DELETE /greengrass/v2/deployments/{deploymentId}", - DescribeComponent: "GET /greengrass/v2/components/{arn}/metadata", - DisassociateServiceRoleFromAccount: "DELETE /greengrass/servicerole", - GetComponent: "GET /greengrass/v2/components/{arn}", - GetComponentVersionArtifact: - "GET /greengrass/v2/components/{arn}/artifacts/{artifactName+}", - GetConnectivityInfo: "GET /greengrass/things/{thingName}/connectivityInfo", - GetCoreDevice: "GET /greengrass/v2/coreDevices/{coreDeviceThingName}", - GetDeployment: "GET /greengrass/v2/deployments/{deploymentId}", - GetServiceRoleForAccount: "GET /greengrass/servicerole", - ListClientDevicesAssociatedWithCoreDevice: - "GET /greengrass/v2/coreDevices/{coreDeviceThingName}/associatedClientDevices", - ListComponents: "GET /greengrass/v2/components", - ListComponentVersions: "GET /greengrass/v2/components/{arn}/versions", - ListCoreDevices: "GET /greengrass/v2/coreDevices", - ListDeployments: "GET /greengrass/v2/deployments", - ListEffectiveDeployments: - "GET /greengrass/v2/coreDevices/{coreDeviceThingName}/effectiveDeployments", - ListInstalledComponents: - "GET /greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents", - ListTagsForResource: "GET /tags/{resourceArn}", - ResolveComponentCandidates: - "POST /greengrass/v2/resolveComponentCandidates", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateConnectivityInfo: - "PUT /greengrass/things/{thingName}/connectivityInfo", + "AssociateServiceRoleToAccount": "PUT /greengrass/servicerole", + "BatchAssociateClientDeviceWithCoreDevice": "POST /greengrass/v2/coreDevices/{coreDeviceThingName}/associateClientDevices", + "BatchDisassociateClientDeviceFromCoreDevice": "POST /greengrass/v2/coreDevices/{coreDeviceThingName}/disassociateClientDevices", + "CancelDeployment": "POST /greengrass/v2/deployments/{deploymentId}/cancel", + "CreateComponentVersion": "POST /greengrass/v2/createComponentVersion", + "CreateDeployment": "POST /greengrass/v2/deployments", + "DeleteComponent": "DELETE /greengrass/v2/components/{arn}", + "DeleteCoreDevice": "DELETE /greengrass/v2/coreDevices/{coreDeviceThingName}", + "DeleteDeployment": "DELETE /greengrass/v2/deployments/{deploymentId}", + "DescribeComponent": "GET /greengrass/v2/components/{arn}/metadata", + "DisassociateServiceRoleFromAccount": "DELETE /greengrass/servicerole", + "GetComponent": "GET /greengrass/v2/components/{arn}", + "GetComponentVersionArtifact": "GET /greengrass/v2/components/{arn}/artifacts/{artifactName+}", + "GetConnectivityInfo": "GET /greengrass/things/{thingName}/connectivityInfo", + "GetCoreDevice": "GET /greengrass/v2/coreDevices/{coreDeviceThingName}", + "GetDeployment": "GET /greengrass/v2/deployments/{deploymentId}", + "GetServiceRoleForAccount": "GET /greengrass/servicerole", + "ListClientDevicesAssociatedWithCoreDevice": "GET /greengrass/v2/coreDevices/{coreDeviceThingName}/associatedClientDevices", + "ListComponents": "GET /greengrass/v2/components", + "ListComponentVersions": "GET /greengrass/v2/components/{arn}/versions", + "ListCoreDevices": "GET /greengrass/v2/coreDevices", + "ListDeployments": "GET /greengrass/v2/deployments", + "ListEffectiveDeployments": "GET /greengrass/v2/coreDevices/{coreDeviceThingName}/effectiveDeployments", + "ListInstalledComponents": "GET /greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ResolveComponentCandidates": "POST /greengrass/v2/resolveComponentCandidates", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateConnectivityInfo": "PUT /greengrass/things/{thingName}/connectivityInfo", }, } as const satisfies ServiceMetadata; diff --git a/src/services/greengrassv2/types.ts b/src/services/greengrassv2/types.ts index 25951d40..6a81bb40 100644 --- a/src/services/greengrassv2/types.ts +++ b/src/services/greengrassv2/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class GreengrassV2 extends AWSServiceClient { @@ -46,108 +14,55 @@ export declare class GreengrassV2 extends AWSServiceClient { input: BatchAssociateClientDeviceWithCoreDeviceRequest, ): Effect.Effect< BatchAssociateClientDeviceWithCoreDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchDisassociateClientDeviceFromCoreDevice( input: BatchDisassociateClientDeviceFromCoreDeviceRequest, ): Effect.Effect< BatchDisassociateClientDeviceFromCoreDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelDeployment( input: CancelDeploymentRequest, ): Effect.Effect< CancelDeploymentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createComponentVersion( input: CreateComponentVersionRequest, ): Effect.Effect< CreateComponentVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestAlreadyInProgressException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestAlreadyInProgressException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDeployment( input: CreateDeploymentRequest, ): Effect.Effect< CreateDeploymentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestAlreadyInProgressException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestAlreadyInProgressException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteComponent( input: DeleteComponentRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCoreDevice( input: DeleteCoreDeviceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDeployment( input: DeleteDeploymentRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeComponent( input: DescribeComponentRequest, ): Effect.Effect< DescribeComponentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateServiceRoleFromAccount( input: DisassociateServiceRoleFromAccountRequest, @@ -159,23 +74,13 @@ export declare class GreengrassV2 extends AWSServiceClient { input: GetComponentRequest, ): Effect.Effect< GetComponentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getComponentVersionArtifact( input: GetComponentVersionArtifactRequest, ): Effect.Effect< GetComponentVersionArtifactResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConnectivityInfo( input: GetConnectivityInfoRequest, @@ -187,23 +92,13 @@ export declare class GreengrassV2 extends AWSServiceClient { input: GetCoreDeviceRequest, ): Effect.Effect< GetCoreDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDeployment( input: GetDeploymentRequest, ): Effect.Effect< GetDeploymentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceRoleForAccount( input: GetServiceRoleForAccountRequest, @@ -215,115 +110,67 @@ export declare class GreengrassV2 extends AWSServiceClient { input: ListClientDevicesAssociatedWithCoreDeviceRequest, ): Effect.Effect< ListClientDevicesAssociatedWithCoreDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listComponents( input: ListComponentsRequest, ): Effect.Effect< ListComponentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listComponentVersions( input: ListComponentVersionsRequest, ): Effect.Effect< ListComponentVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCoreDevices( input: ListCoreDevicesRequest, ): Effect.Effect< ListCoreDevicesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDeployments( input: ListDeploymentsRequest, ): Effect.Effect< ListDeploymentsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEffectiveDeployments( input: ListEffectiveDeploymentsRequest, ): Effect.Effect< ListEffectiveDeploymentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInstalledComponents( input: ListInstalledComponentsRequest, ): Effect.Effect< ListInstalledComponentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; resolveComponentCandidates( input: ResolveComponentCandidatesRequest, ): Effect.Effect< ResolveComponentCandidatesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateConnectivityInfo( input: UpdateConnectivityInfoRequest, @@ -343,15 +190,13 @@ export declare class AccessDeniedException extends EffectData.TaggedError( export interface AssociateClientDeviceWithCoreDeviceEntry { thingName: string; } -export type AssociateClientDeviceWithCoreDeviceEntryList = - Array; +export type AssociateClientDeviceWithCoreDeviceEntryList = Array; export interface AssociateClientDeviceWithCoreDeviceErrorEntry { thingName?: string; code?: string; message?: string; } -export type AssociateClientDeviceWithCoreDeviceErrorList = - Array; +export type AssociateClientDeviceWithCoreDeviceErrorList = Array; export interface AssociatedClientDevice { thingName?: string; associationTimestamp?: Date | string; @@ -385,12 +230,7 @@ export interface CancelDeploymentResponse { } export type ClientTokenString = string; -export type CloudComponentState = - | "REQUESTED" - | "INITIATED" - | "DEPLOYABLE" - | "FAILED" - | "DEPRECATED"; +export type CloudComponentState = "REQUESTED" | "INITIATED" | "DEPLOYABLE" | "FAILED" | "DEPRECATED"; export interface CloudComponentStatus { componentState?: CloudComponentState; message?: string; @@ -420,10 +260,7 @@ export interface ComponentConfigurationUpdate { merge?: string; reset?: Array; } -export type ComponentDependencyMap = Record< - string, - ComponentDependencyRequirement ->; +export type ComponentDependencyMap = Record; export interface ComponentDependencyRequirement { versionRequirement?: string; dependencyType?: ComponentDependencyType; @@ -434,10 +271,7 @@ export interface ComponentDeploymentSpecification { configurationUpdate?: ComponentConfigurationUpdate; runWith?: ComponentRunWith; } -export type ComponentDeploymentSpecifications = Record< - string, - ComponentDeploymentSpecification ->; +export type ComponentDeploymentSpecifications = Record; export interface ComponentLatestVersion { arn?: string; componentVersion?: string; @@ -558,9 +392,7 @@ export interface DeploymentComponentUpdatePolicy { timeoutInSeconds?: number; action?: DeploymentComponentUpdatePolicyAction; } -export type DeploymentComponentUpdatePolicyAction = - | "NOTIFY_COMPONENTS" - | "SKIP_NOTIFY_COMPONENTS"; +export type DeploymentComponentUpdatePolicyAction = "NOTIFY_COMPONENTS" | "SKIP_NOTIFY_COMPONENTS"; export interface DeploymentConfigurationValidationPolicy { timeoutInSeconds?: number; } @@ -583,12 +415,7 @@ export interface DeploymentPolicies { componentUpdatePolicy?: DeploymentComponentUpdatePolicy; configurationValidationPolicy?: DeploymentConfigurationValidationPolicy; } -export type DeploymentStatus = - | "ACTIVE" - | "COMPLETED" - | "CANCELED" - | "FAILED" - | "INACTIVE"; +export type DeploymentStatus = "ACTIVE" | "COMPLETED" | "CANCELED" | "FAILED" | "INACTIVE"; export interface DescribeComponentRequest { arn: string; } @@ -610,16 +437,15 @@ export type DescriptionString = string; export interface DisassociateClientDeviceFromCoreDeviceEntry { thingName: string; } -export type DisassociateClientDeviceFromCoreDeviceEntryList = - Array; +export type DisassociateClientDeviceFromCoreDeviceEntryList = Array; export interface DisassociateClientDeviceFromCoreDeviceErrorEntry { thingName?: string; code?: string; message?: string; } -export type DisassociateClientDeviceFromCoreDeviceErrorList = - Array; -export interface DisassociateServiceRoleFromAccountRequest {} +export type DisassociateClientDeviceFromCoreDeviceErrorList = Array; +export interface DisassociateServiceRoleFromAccountRequest { +} export interface DisassociateServiceRoleFromAccountResponse { disassociatedAt?: string; } @@ -642,15 +468,7 @@ export type EffectiveDeploymentErrorStack = Array; export type EffectiveDeploymentErrorType = string; export type EffectiveDeploymentErrorTypeList = Array; -export type EffectiveDeploymentExecutionStatus = - | "IN_PROGRESS" - | "QUEUED" - | "FAILED" - | "COMPLETED" - | "TIMED_OUT" - | "CANCELED" - | "REJECTED" - | "SUCCEEDED"; +export type EffectiveDeploymentExecutionStatus = "IN_PROGRESS" | "QUEUED" | "FAILED" | "COMPLETED" | "TIMED_OUT" | "CANCELED" | "REJECTED" | "SUCCEEDED"; export type EffectiveDeploymentsList = Array; export interface EffectiveDeploymentStatusDetails { errorStack?: Array; @@ -717,7 +535,8 @@ export interface GetDeploymentResponse { parentTargetArn?: string; tags?: Record; } -export interface GetServiceRoleForAccountRequest {} +export interface GetServiceRoleForAccountRequest { +} export interface GetServiceRoleForAccountResponse { associatedAt?: string; roleArn?: string; @@ -735,15 +554,7 @@ export interface InstalledComponent { lastInstallationSource?: string; lifecycleStatusCodes?: Array; } -export type InstalledComponentLifecycleState = - | "NEW" - | "INSTALLED" - | "STARTING" - | "RUNNING" - | "STOPPING" - | "ERRORED" - | "BROKEN" - | "FINISHED"; +export type InstalledComponentLifecycleState = "NEW" | "INSTALLED" | "STARTING" | "RUNNING" | "STOPPING" | "ERRORED" | "BROKEN" | "FINISHED"; export type InstalledComponentLifecycleStatusCode = string; export type InstalledComponentLifecycleStatusCodeList = Array; @@ -771,11 +582,7 @@ export type IoTJobAbortThresholdPercentage = number; export type IoTJobARN = string; -export type IoTJobExecutionFailureType = - | "FAILED" - | "REJECTED" - | "TIMED_OUT" - | "ALL"; +export type IoTJobExecutionFailureType = "FAILED" | "REJECTED" | "TIMED_OUT" | "ALL"; export interface IoTJobExecutionsRolloutConfig { exponentialRate?: IoTJobExponentialRolloutRate; maximumPerMinute?: number; @@ -1022,7 +829,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TargetARN = string; @@ -1045,7 +853,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateConnectivityInfoRequest { thingName: string; connectivityInfo: Array; @@ -1066,11 +875,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "UNKNOWN_OPERATION" - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "OTHER"; +export type ValidationExceptionReason = "UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER"; export type VendorGuidance = "ACTIVE" | "DISCONTINUED" | "DELETED"; export declare namespace AssociateServiceRoleToAccount { export type Input = AssociateServiceRoleToAccountRequest; @@ -1200,7 +1005,9 @@ export declare namespace DescribeComponent { export declare namespace DisassociateServiceRoleFromAccount { export type Input = DisassociateServiceRoleFromAccountRequest; export type Output = DisassociateServiceRoleFromAccountResponse; - export type Error = InternalServerException | CommonAwsError; + export type Error = + | InternalServerException + | CommonAwsError; } export declare namespace GetComponent { @@ -1263,7 +1070,9 @@ export declare namespace GetDeployment { export declare namespace GetServiceRoleForAccount { export type Input = GetServiceRoleForAccountRequest; export type Output = GetServiceRoleForAccountResponse; - export type Error = InternalServerException | CommonAwsError; + export type Error = + | InternalServerException + | CommonAwsError; } export declare namespace ListClientDevicesAssociatedWithCoreDevice { @@ -1400,13 +1209,5 @@ export declare namespace UpdateConnectivityInfo { | CommonAwsError; } -export type GreengrassV2Errors = - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestAlreadyInProgressException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type GreengrassV2Errors = AccessDeniedException | ConflictException | InternalServerException | RequestAlreadyInProgressException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/groundstation/index.ts b/src/services/groundstation/index.ts index 96316997..ee868f8b 100644 --- a/src/services/groundstation/index.ts +++ b/src/services/groundstation/index.ts @@ -5,26 +5,7 @@ import type { GroundStation as _GroundStationClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,43 +14,41 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "groundstation", operations: { - GetAgentTaskResponseUrl: "GET /agentResponseUrl/{agentId}/{taskId}", - GetMinuteUsage: "POST /minute-usage", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CancelContact: "DELETE /contact/{contactId}", - CreateConfig: "POST /config", - CreateDataflowEndpointGroup: "POST /dataflowEndpointGroup", - CreateDataflowEndpointGroupV2: "POST /dataflowEndpointGroupV2", - CreateEphemeris: "POST /ephemeris", - CreateMissionProfile: "POST /missionprofile", - DeleteConfig: "DELETE /config/{configType}/{configId}", - DeleteDataflowEndpointGroup: - "DELETE /dataflowEndpointGroup/{dataflowEndpointGroupId}", - DeleteEphemeris: "DELETE /ephemeris/{ephemerisId}", - DeleteMissionProfile: "DELETE /missionprofile/{missionProfileId}", - DescribeContact: "GET /contact/{contactId}", - DescribeEphemeris: "GET /ephemeris/{ephemerisId}", - GetAgentConfiguration: "GET /agent/{agentId}/configuration", - GetConfig: "GET /config/{configType}/{configId}", - GetDataflowEndpointGroup: - "GET /dataflowEndpointGroup/{dataflowEndpointGroupId}", - GetMissionProfile: "GET /missionprofile/{missionProfileId}", - GetSatellite: "GET /satellite/{satelliteId}", - ListConfigs: "GET /config", - ListContacts: "POST /contacts", - ListDataflowEndpointGroups: "GET /dataflowEndpointGroup", - ListEphemerides: "POST /ephemerides", - ListGroundStations: "GET /groundstation", - ListMissionProfiles: "GET /missionprofile", - ListSatellites: "GET /satellite", - RegisterAgent: "POST /agent", - ReserveContact: "POST /contact", - UpdateAgentStatus: "PUT /agent/{agentId}", - UpdateConfig: "PUT /config/{configType}/{configId}", - UpdateEphemeris: "PUT /ephemeris/{ephemerisId}", - UpdateMissionProfile: "PUT /missionprofile/{missionProfileId}", + "GetAgentTaskResponseUrl": "GET /agentResponseUrl/{agentId}/{taskId}", + "GetMinuteUsage": "POST /minute-usage", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CancelContact": "DELETE /contact/{contactId}", + "CreateConfig": "POST /config", + "CreateDataflowEndpointGroup": "POST /dataflowEndpointGroup", + "CreateDataflowEndpointGroupV2": "POST /dataflowEndpointGroupV2", + "CreateEphemeris": "POST /ephemeris", + "CreateMissionProfile": "POST /missionprofile", + "DeleteConfig": "DELETE /config/{configType}/{configId}", + "DeleteDataflowEndpointGroup": "DELETE /dataflowEndpointGroup/{dataflowEndpointGroupId}", + "DeleteEphemeris": "DELETE /ephemeris/{ephemerisId}", + "DeleteMissionProfile": "DELETE /missionprofile/{missionProfileId}", + "DescribeContact": "GET /contact/{contactId}", + "DescribeEphemeris": "GET /ephemeris/{ephemerisId}", + "GetAgentConfiguration": "GET /agent/{agentId}/configuration", + "GetConfig": "GET /config/{configType}/{configId}", + "GetDataflowEndpointGroup": "GET /dataflowEndpointGroup/{dataflowEndpointGroupId}", + "GetMissionProfile": "GET /missionprofile/{missionProfileId}", + "GetSatellite": "GET /satellite/{satelliteId}", + "ListConfigs": "GET /config", + "ListContacts": "POST /contacts", + "ListDataflowEndpointGroups": "GET /dataflowEndpointGroup", + "ListEphemerides": "POST /ephemerides", + "ListGroundStations": "GET /groundstation", + "ListMissionProfiles": "GET /missionprofile", + "ListSatellites": "GET /satellite", + "RegisterAgent": "POST /agent", + "ReserveContact": "POST /contact", + "UpdateAgentStatus": "PUT /agent/{agentId}", + "UpdateConfig": "PUT /config/{configType}/{configId}", + "UpdateEphemeris": "PUT /ephemeris/{ephemerisId}", + "UpdateMissionProfile": "PUT /missionprofile/{missionProfileId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/groundstation/types.ts b/src/services/groundstation/types.ts index b63aff23..f7b18291 100644 --- a/src/services/groundstation/types.ts +++ b/src/services/groundstation/types.ts @@ -7,320 +7,211 @@ export declare class GroundStation extends AWSServiceClient { input: GetAgentTaskResponseUrlRequest, ): Effect.Effect< GetAgentTaskResponseUrlResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getMinuteUsage( input: GetMinuteUsageRequest, ): Effect.Effect< GetMinuteUsageResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; cancelContact( input: CancelContactRequest, ): Effect.Effect< ContactIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; createConfig( input: CreateConfigRequest, ): Effect.Effect< ConfigIdResponse, - | DependencyException - | InvalidParameterException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; createDataflowEndpointGroup( input: CreateDataflowEndpointGroupRequest, ): Effect.Effect< DataflowEndpointGroupIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; createDataflowEndpointGroupV2( input: CreateDataflowEndpointGroupV2Request, ): Effect.Effect< CreateDataflowEndpointGroupV2Response, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; createEphemeris( input: CreateEphemerisRequest, ): Effect.Effect< EphemerisIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; createMissionProfile( input: CreateMissionProfileRequest, ): Effect.Effect< MissionProfileIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; deleteConfig( input: DeleteConfigRequest, ): Effect.Effect< ConfigIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; deleteDataflowEndpointGroup( input: DeleteDataflowEndpointGroupRequest, ): Effect.Effect< DataflowEndpointGroupIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; deleteEphemeris( input: DeleteEphemerisRequest, ): Effect.Effect< EphemerisIdResponse, - | DependencyException - | InvalidParameterException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteMissionProfile( input: DeleteMissionProfileRequest, ): Effect.Effect< MissionProfileIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; describeContact( input: DescribeContactRequest, ): Effect.Effect< DescribeContactResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; describeEphemeris( input: DescribeEphemerisRequest, ): Effect.Effect< DescribeEphemerisResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getAgentConfiguration( input: GetAgentConfigurationRequest, ): Effect.Effect< GetAgentConfigurationResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getConfig( input: GetConfigRequest, ): Effect.Effect< GetConfigResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getDataflowEndpointGroup( input: GetDataflowEndpointGroupRequest, ): Effect.Effect< GetDataflowEndpointGroupResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getMissionProfile( input: GetMissionProfileRequest, ): Effect.Effect< GetMissionProfileResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getSatellite( input: GetSatelliteRequest, ): Effect.Effect< GetSatelliteResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listConfigs( input: ListConfigsRequest, ): Effect.Effect< ListConfigsResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listContacts( input: ListContactsRequest, ): Effect.Effect< ListContactsResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listDataflowEndpointGroups( input: ListDataflowEndpointGroupsRequest, ): Effect.Effect< ListDataflowEndpointGroupsResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listEphemerides( input: ListEphemeridesRequest, ): Effect.Effect< ListEphemeridesResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listGroundStations( input: ListGroundStationsRequest, ): Effect.Effect< ListGroundStationsResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listMissionProfiles( input: ListMissionProfilesRequest, ): Effect.Effect< ListMissionProfilesResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listSatellites( input: ListSatellitesRequest, ): Effect.Effect< ListSatellitesResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; registerAgent( input: RegisterAgentRequest, ): Effect.Effect< RegisterAgentResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; reserveContact( input: ReserveContactRequest, ): Effect.Effect< ContactIdResponse, - | DependencyException - | InvalidParameterException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; updateAgentStatus( input: UpdateAgentStatusRequest, ): Effect.Effect< UpdateAgentStatusResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; updateConfig( input: UpdateConfigRequest, ): Effect.Effect< ConfigIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; updateEphemeris( input: UpdateEphemerisRequest, ): Effect.Effect< EphemerisIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; updateMissionProfile( input: UpdateMissionProfileRequest, ): Effect.Effect< MissionProfileIdResponse, - | DependencyException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + DependencyException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; } @@ -394,9 +285,7 @@ interface _AzElSegmentsData { azElData?: AzElSegments; } -export type AzElSegmentsData = - | (_AzElSegmentsData & { s3Object: S3Object }) - | (_AzElSegmentsData & { azElData: AzElSegments }); +export type AzElSegmentsData = (_AzElSegmentsData & { s3Object: S3Object }) | (_AzElSegmentsData & { azElData: AzElSegments }); export type BandwidthUnits = "GHz" | "MHz" | "kHz"; export type BucketArn = string; @@ -407,14 +296,7 @@ export type CapabilityArn = string; export type CapabilityArnList = Array; export type CapabilityHealth = "HEALTHY" | "UNHEALTHY"; -export type CapabilityHealthReason = - | "NO_REGISTERED_AGENT" - | "INVALID_IP_OWNERSHIP" - | "NOT_AUTHORIZED_TO_CREATE_SLR" - | "UNVERIFIED_IP_OWNERSHIP" - | "INITIALIZING_DATAPLANE" - | "DATAPLANE_FAILURE" - | "HEALTHY"; +export type CapabilityHealthReason = "NO_REGISTERED_AGENT" | "INVALID_IP_OWNERSHIP" | "NOT_AUTHORIZED_TO_CREATE_SLR" | "UNVERIFIED_IP_OWNERSHIP" | "INITIALIZING_DATAPLANE" | "DATAPLANE_FAILURE" | "HEALTHY"; export type CapabilityHealthReasonList = Array; export interface ComponentStatusData { componentType: string; @@ -435,24 +317,14 @@ export interface ComponentVersion { export type ComponentVersionList = Array; export type ConfigArn = string; -export type ConfigCapabilityType = - | "antenna-downlink" - | "antenna-downlink-demod-decode" - | "tracking" - | "dataflow-endpoint" - | "antenna-uplink" - | "uplink-echo" - | "s3-recording"; +export type ConfigCapabilityType = "antenna-downlink" | "antenna-downlink-demod-decode" | "tracking" | "dataflow-endpoint" | "antenna-uplink" | "uplink-echo" | "s3-recording"; interface _ConfigDetails { endpointDetails?: EndpointDetails; antennaDemodDecodeDetails?: AntennaDemodDecodeDetails; s3RecordingDetails?: S3RecordingDetails; } -export type ConfigDetails = - | (_ConfigDetails & { endpointDetails: EndpointDetails }) - | (_ConfigDetails & { antennaDemodDecodeDetails: AntennaDemodDecodeDetails }) - | (_ConfigDetails & { s3RecordingDetails: S3RecordingDetails }); +export type ConfigDetails = (_ConfigDetails & { endpointDetails: EndpointDetails }) | (_ConfigDetails & { antennaDemodDecodeDetails: AntennaDemodDecodeDetails }) | (_ConfigDetails & { s3RecordingDetails: S3RecordingDetails }); export interface ConfigIdResponse { configId?: string; configType?: ConfigCapabilityType; @@ -475,16 +347,7 @@ interface _ConfigTypeData { s3RecordingConfig?: S3RecordingConfig; } -export type ConfigTypeData = - | (_ConfigTypeData & { antennaDownlinkConfig: AntennaDownlinkConfig }) - | (_ConfigTypeData & { trackingConfig: TrackingConfig }) - | (_ConfigTypeData & { dataflowEndpointConfig: DataflowEndpointConfig }) - | (_ConfigTypeData & { - antennaDownlinkDemodDecodeConfig: AntennaDownlinkDemodDecodeConfig; - }) - | (_ConfigTypeData & { antennaUplinkConfig: AntennaUplinkConfig }) - | (_ConfigTypeData & { uplinkEchoConfig: UplinkEchoConfig }) - | (_ConfigTypeData & { s3RecordingConfig: S3RecordingConfig }); +export type ConfigTypeData = (_ConfigTypeData & { antennaDownlinkConfig: AntennaDownlinkConfig }) | (_ConfigTypeData & { trackingConfig: TrackingConfig }) | (_ConfigTypeData & { dataflowEndpointConfig: DataflowEndpointConfig }) | (_ConfigTypeData & { antennaDownlinkDemodDecodeConfig: AntennaDownlinkDemodDecodeConfig }) | (_ConfigTypeData & { antennaUplinkConfig: AntennaUplinkConfig }) | (_ConfigTypeData & { uplinkEchoConfig: UplinkEchoConfig }) | (_ConfigTypeData & { s3RecordingConfig: S3RecordingConfig }); export interface ConnectionDetails { socketAddress: SocketAddress; mtu?: number; @@ -511,20 +374,7 @@ export interface ContactIdResponse { contactId?: string; } export type ContactList = Array; -export type ContactStatus = - | "SCHEDULING" - | "FAILED_TO_SCHEDULE" - | "SCHEDULED" - | "CANCELLED" - | "AWS_CANCELLED" - | "PREPASS" - | "PASS" - | "POSTPASS" - | "COMPLETED" - | "FAILED" - | "AVAILABLE" - | "CANCELLING" - | "AWS_FAILED"; +export type ContactStatus = "SCHEDULING" | "FAILED_TO_SCHEDULE" | "SCHEDULED" | "CANCELLED" | "AWS_CANCELLED" | "PREPASS" | "PASS" | "POSTPASS" | "COMPLETED" | "FAILED" | "AVAILABLE" | "CANCELLING" | "AWS_FAILED"; export interface CreateConfigRequest { name: string; configData: ConfigTypeData; @@ -550,13 +400,7 @@ interface _CreateEndpointDetails { downlinkAwsGroundStationAgentEndpoint?: DownlinkAwsGroundStationAgentEndpoint; } -export type CreateEndpointDetails = - | (_CreateEndpointDetails & { - uplinkAwsGroundStationAgentEndpoint: UplinkAwsGroundStationAgentEndpoint; - }) - | (_CreateEndpointDetails & { - downlinkAwsGroundStationAgentEndpoint: DownlinkAwsGroundStationAgentEndpoint; - }); +export type CreateEndpointDetails = (_CreateEndpointDetails & { uplinkAwsGroundStationAgentEndpoint: UplinkAwsGroundStationAgentEndpoint }) | (_CreateEndpointDetails & { downlinkAwsGroundStationAgentEndpoint: DownlinkAwsGroundStationAgentEndpoint }); export type CreateEndpointDetailsList = Array; export interface CreateEphemerisRequest { satelliteId?: string; @@ -705,9 +549,7 @@ interface _DownlinkDataflowDetails { agentConnectionDetails?: DownlinkConnectionDetails; } -export type DownlinkDataflowDetails = _DownlinkDataflowDetails & { - agentConnectionDetails: DownlinkConnectionDetails; -}; +export type DownlinkDataflowDetails = (_DownlinkDataflowDetails & { agentConnectionDetails: DownlinkConnectionDetails }); export type DurationInSeconds = number; export interface Eirp { @@ -729,12 +571,7 @@ export interface EndpointDetails { healthReasons?: Array; } export type EndpointDetailsList = Array; -export type EndpointStatus = - | "created" - | "creating" - | "deleted" - | "deleting" - | "failed"; +export type EndpointStatus = "created" | "creating" | "deleted" | "deleting" | "failed"; export type EphemeridesList = Array; interface _EphemerisData { tle?: TLEEphemeris; @@ -742,53 +579,12 @@ interface _EphemerisData { azEl?: AzElEphemeris; } -export type EphemerisData = - | (_EphemerisData & { tle: TLEEphemeris }) - | (_EphemerisData & { oem: OEMEphemeris }) - | (_EphemerisData & { azEl: AzElEphemeris }); +export type EphemerisData = (_EphemerisData & { tle: TLEEphemeris }) | (_EphemerisData & { oem: OEMEphemeris }) | (_EphemerisData & { azEl: AzElEphemeris }); export interface EphemerisDescription { sourceS3Object?: S3Object; ephemerisData?: string; } -export type EphemerisErrorCode = - | "INTERNAL_ERROR" - | "MISMATCHED_SATCAT_ID" - | "OEM_VERSION_UNSUPPORTED" - | "ORIGINATOR_MISSING" - | "CREATION_DATE_MISSING" - | "OBJECT_NAME_MISSING" - | "OBJECT_ID_MISSING" - | "REF_FRAME_UNSUPPORTED" - | "REF_FRAME_EPOCH_UNSUPPORTED" - | "TIME_SYSTEM_UNSUPPORTED" - | "CENTER_BODY_UNSUPPORTED" - | "INTERPOLATION_MISSING" - | "INTERPOLATION_DEGREE_INVALID" - | "AZ_EL_SEGMENT_LIST_MISSING" - | "INSUFFICIENT_TIME_AZ_EL" - | "START_TIME_IN_FUTURE" - | "END_TIME_IN_PAST" - | "EXPIRATION_TIME_TOO_EARLY" - | "START_TIME_METADATA_TOO_EARLY" - | "STOP_TIME_METADATA_TOO_LATE" - | "AZ_EL_SEGMENT_END_TIME_BEFORE_START_TIME" - | "AZ_EL_SEGMENT_TIMES_OVERLAP" - | "AZ_EL_SEGMENTS_OUT_OF_ORDER" - | "TIME_AZ_EL_ITEMS_OUT_OF_ORDER" - | "MEAN_MOTION_INVALID" - | "TIME_AZ_EL_AZ_RADIAN_RANGE_INVALID" - | "TIME_AZ_EL_EL_RADIAN_RANGE_INVALID" - | "TIME_AZ_EL_AZ_DEGREE_RANGE_INVALID" - | "TIME_AZ_EL_EL_DEGREE_RANGE_INVALID" - | "TIME_AZ_EL_ANGLE_UNITS_INVALID" - | "INSUFFICIENT_KMS_PERMISSIONS" - | "FILE_FORMAT_INVALID" - | "AZ_EL_SEGMENT_REFERENCE_EPOCH_INVALID" - | "AZ_EL_SEGMENT_START_TIME_INVALID" - | "AZ_EL_SEGMENT_END_TIME_INVALID" - | "AZ_EL_SEGMENT_VALID_TIME_RANGE_INVALID" - | "AZ_EL_SEGMENT_END_TIME_TOO_LATE" - | "AZ_EL_TOTAL_DURATION_EXCEEDED"; +export type EphemerisErrorCode = "INTERNAL_ERROR" | "MISMATCHED_SATCAT_ID" | "OEM_VERSION_UNSUPPORTED" | "ORIGINATOR_MISSING" | "CREATION_DATE_MISSING" | "OBJECT_NAME_MISSING" | "OBJECT_ID_MISSING" | "REF_FRAME_UNSUPPORTED" | "REF_FRAME_EPOCH_UNSUPPORTED" | "TIME_SYSTEM_UNSUPPORTED" | "CENTER_BODY_UNSUPPORTED" | "INTERPOLATION_MISSING" | "INTERPOLATION_DEGREE_INVALID" | "AZ_EL_SEGMENT_LIST_MISSING" | "INSUFFICIENT_TIME_AZ_EL" | "START_TIME_IN_FUTURE" | "END_TIME_IN_PAST" | "EXPIRATION_TIME_TOO_EARLY" | "START_TIME_METADATA_TOO_EARLY" | "STOP_TIME_METADATA_TOO_LATE" | "AZ_EL_SEGMENT_END_TIME_BEFORE_START_TIME" | "AZ_EL_SEGMENT_TIMES_OVERLAP" | "AZ_EL_SEGMENTS_OUT_OF_ORDER" | "TIME_AZ_EL_ITEMS_OUT_OF_ORDER" | "MEAN_MOTION_INVALID" | "TIME_AZ_EL_AZ_RADIAN_RANGE_INVALID" | "TIME_AZ_EL_EL_RADIAN_RANGE_INVALID" | "TIME_AZ_EL_AZ_DEGREE_RANGE_INVALID" | "TIME_AZ_EL_EL_DEGREE_RANGE_INVALID" | "TIME_AZ_EL_ANGLE_UNITS_INVALID" | "INSUFFICIENT_KMS_PERMISSIONS" | "FILE_FORMAT_INVALID" | "AZ_EL_SEGMENT_REFERENCE_EPOCH_INVALID" | "AZ_EL_SEGMENT_START_TIME_INVALID" | "AZ_EL_SEGMENT_END_TIME_INVALID" | "AZ_EL_SEGMENT_VALID_TIME_RANGE_INVALID" | "AZ_EL_SEGMENT_END_TIME_TOO_LATE" | "AZ_EL_TOTAL_DURATION_EXCEEDED"; export interface EphemerisErrorReason { errorCode: EphemerisErrorCode; errorMessage: string; @@ -798,16 +594,11 @@ interface _EphemerisFilter { azEl?: AzElEphemerisFilter; } -export type EphemerisFilter = _EphemerisFilter & { azEl: AzElEphemerisFilter }; +export type EphemerisFilter = (_EphemerisFilter & { azEl: AzElEphemerisFilter }); export interface EphemerisIdResponse { ephemerisId?: string; } -export type EphemerisInvalidReason = - | "METADATA_INVALID" - | "TIME_RANGE_INVALID" - | "TRAJECTORY_INVALID" - | "KMS_KEY_INVALID" - | "VALIDATION_ERROR"; +export type EphemerisInvalidReason = "METADATA_INVALID" | "TIME_RANGE_INVALID" | "TRAJECTORY_INVALID" | "KMS_KEY_INVALID" | "VALIDATION_ERROR"; export interface EphemerisItem { ephemerisId?: string; ephemerisType?: EphemerisType; @@ -831,13 +622,7 @@ export interface EphemerisResponseData { ephemerisType: EphemerisType; } export type EphemerisSource = "CUSTOMER_PROVIDED" | "SPACE_TRACK"; -export type EphemerisStatus = - | "VALIDATING" - | "INVALID" - | "ERROR" - | "ENABLED" - | "DISABLED" - | "EXPIRED"; +export type EphemerisStatus = "VALIDATING" | "INVALID" | "ERROR" | "ENABLED" | "DISABLED" | "EXPIRED"; export type EphemerisStatusList = Array; export type EphemerisType = "TLE" | "OEM" | "AZ_EL" | "SERVICE_MANAGED"; interface _EphemerisTypeDescription { @@ -846,10 +631,7 @@ interface _EphemerisTypeDescription { azEl?: EphemerisDescription; } -export type EphemerisTypeDescription = - | (_EphemerisTypeDescription & { tle: EphemerisDescription }) - | (_EphemerisTypeDescription & { oem: EphemerisDescription }) - | (_EphemerisTypeDescription & { azEl: EphemerisDescription }); +export type EphemerisTypeDescription = (_EphemerisTypeDescription & { tle: EphemerisDescription }) | (_EphemerisTypeDescription & { oem: EphemerisDescription }) | (_EphemerisTypeDescription & { azEl: EphemerisDescription }); export type ErrorString = string; export interface Frequency { @@ -982,10 +764,7 @@ interface _KmsKey { kmsAliasName?: string; } -export type KmsKey = - | (_KmsKey & { kmsKeyArn: string }) - | (_KmsKey & { kmsAliasArn: string }) - | (_KmsKey & { kmsAliasName: string }); +export type KmsKey = (_KmsKey & { kmsKeyArn: string }) | (_KmsKey & { kmsAliasArn: string }) | (_KmsKey & { kmsAliasName: string }); export interface ListConfigsRequest { maxResults?: number; nextToken?: string; @@ -1092,9 +871,7 @@ interface _ProgramTrackSettings { azEl?: AzElProgramTrackSettings; } -export type ProgramTrackSettings = _ProgramTrackSettings & { - azEl: AzElProgramTrackSettings; -}; +export type ProgramTrackSettings = (_ProgramTrackSettings & { azEl: AzElProgramTrackSettings }); export interface RangedConnectionDetails { socketAddress: RangedSocketAddress; mtu?: number; @@ -1207,7 +984,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export interface TimeAzEl { dt: number; @@ -1245,7 +1023,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAgentStatusRequest { agentId: string; taskId: string; @@ -1296,9 +1075,7 @@ interface _UplinkDataflowDetails { agentConnectionDetails?: UplinkConnectionDetails; } -export type UplinkDataflowDetails = _UplinkDataflowDetails & { - agentConnectionDetails: UplinkConnectionDetails; -}; +export type UplinkDataflowDetails = (_UplinkDataflowDetails & { agentConnectionDetails: UplinkConnectionDetails }); export interface UplinkEchoConfig { enabled: boolean; antennaUplinkConfigArn: string; @@ -1668,11 +1445,5 @@ export declare namespace UpdateMissionProfile { | CommonAwsError; } -export type GroundStationErrors = - | DependencyException - | InvalidParameterException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError; +export type GroundStationErrors = DependencyException | InvalidParameterException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError; + diff --git a/src/services/guardduty/index.ts b/src/services/guardduty/index.ts index 827a69b3..e52aeaf0 100644 --- a/src/services/guardduty/index.ts +++ b/src/services/guardduty/index.ts @@ -5,25 +5,7 @@ import type { GuardDuty as _GuardDutyClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,111 +15,90 @@ const metadata = { sigV4ServiceName: "guardduty", endpointPrefix: "guardduty", operations: { - AcceptAdministratorInvitation: "POST /detector/{DetectorId}/administrator", - AcceptInvitation: "POST /detector/{DetectorId}/master", - ArchiveFindings: "POST /detector/{DetectorId}/findings/archive", - CreateDetector: "POST /detector", - CreateFilter: "POST /detector/{DetectorId}/filter", - CreateIPSet: "POST /detector/{DetectorId}/ipset", - CreateMalwareProtectionPlan: "POST /malware-protection-plan", - CreateMembers: "POST /detector/{DetectorId}/member", - CreatePublishingDestination: - "POST /detector/{DetectorId}/publishingDestination", - CreateSampleFindings: "POST /detector/{DetectorId}/findings/create", - CreateThreatEntitySet: "POST /detector/{DetectorId}/threatentityset", - CreateThreatIntelSet: "POST /detector/{DetectorId}/threatintelset", - CreateTrustedEntitySet: "POST /detector/{DetectorId}/trustedentityset", - DeclineInvitations: "POST /invitation/decline", - DeleteDetector: "DELETE /detector/{DetectorId}", - DeleteFilter: "DELETE /detector/{DetectorId}/filter/{FilterName}", - DeleteInvitations: "POST /invitation/delete", - DeleteIPSet: "DELETE /detector/{DetectorId}/ipset/{IpSetId}", - DeleteMalwareProtectionPlan: - "DELETE /malware-protection-plan/{MalwareProtectionPlanId}", - DeleteMembers: "POST /detector/{DetectorId}/member/delete", - DeletePublishingDestination: - "DELETE /detector/{DetectorId}/publishingDestination/{DestinationId}", - DeleteThreatEntitySet: - "DELETE /detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", - DeleteThreatIntelSet: - "DELETE /detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", - DeleteTrustedEntitySet: - "DELETE /detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", - DescribeMalwareScans: "POST /detector/{DetectorId}/malware-scans", - DescribeOrganizationConfiguration: "GET /detector/{DetectorId}/admin", - DescribePublishingDestination: - "GET /detector/{DetectorId}/publishingDestination/{DestinationId}", - DisableOrganizationAdminAccount: "POST /admin/disable", - DisassociateFromAdministratorAccount: - "POST /detector/{DetectorId}/administrator/disassociate", - DisassociateFromMasterAccount: - "POST /detector/{DetectorId}/master/disassociate", - DisassociateMembers: "POST /detector/{DetectorId}/member/disassociate", - EnableOrganizationAdminAccount: "POST /admin/enable", - GetAdministratorAccount: "GET /detector/{DetectorId}/administrator", - GetCoverageStatistics: "POST /detector/{DetectorId}/coverage/statistics", - GetDetector: "GET /detector/{DetectorId}", - GetFilter: "GET /detector/{DetectorId}/filter/{FilterName}", - GetFindings: "POST /detector/{DetectorId}/findings/get", - GetFindingsStatistics: "POST /detector/{DetectorId}/findings/statistics", - GetInvitationsCount: "GET /invitation/count", - GetIPSet: "GET /detector/{DetectorId}/ipset/{IpSetId}", - GetMalwareProtectionPlan: - "GET /malware-protection-plan/{MalwareProtectionPlanId}", - GetMalwareScanSettings: "GET /detector/{DetectorId}/malware-scan-settings", - GetMasterAccount: "GET /detector/{DetectorId}/master", - GetMemberDetectors: "POST /detector/{DetectorId}/member/detector/get", - GetMembers: "POST /detector/{DetectorId}/member/get", - GetOrganizationStatistics: "GET /organization/statistics", - GetRemainingFreeTrialDays: - "POST /detector/{DetectorId}/freeTrial/daysRemaining", - GetThreatEntitySet: - "GET /detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", - GetThreatIntelSet: - "GET /detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", - GetTrustedEntitySet: - "GET /detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", - GetUsageStatistics: "POST /detector/{DetectorId}/usage/statistics", - InviteMembers: "POST /detector/{DetectorId}/member/invite", - ListCoverage: "POST /detector/{DetectorId}/coverage", - ListDetectors: "GET /detector", - ListFilters: "GET /detector/{DetectorId}/filter", - ListFindings: "POST /detector/{DetectorId}/findings", - ListInvitations: "GET /invitation", - ListIPSets: "GET /detector/{DetectorId}/ipset", - ListMalwareProtectionPlans: "GET /malware-protection-plan", - ListMembers: "GET /detector/{DetectorId}/member", - ListOrganizationAdminAccounts: "GET /admin", - ListPublishingDestinations: - "GET /detector/{DetectorId}/publishingDestination", - ListTagsForResource: "GET /tags/{ResourceArn}", - ListThreatEntitySets: "GET /detector/{DetectorId}/threatentityset", - ListThreatIntelSets: "GET /detector/{DetectorId}/threatintelset", - ListTrustedEntitySets: "GET /detector/{DetectorId}/trustedentityset", - StartMalwareScan: "POST /malware-scan/start", - StartMonitoringMembers: "POST /detector/{DetectorId}/member/start", - StopMonitoringMembers: "POST /detector/{DetectorId}/member/stop", - TagResource: "POST /tags/{ResourceArn}", - UnarchiveFindings: "POST /detector/{DetectorId}/findings/unarchive", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateDetector: "POST /detector/{DetectorId}", - UpdateFilter: "POST /detector/{DetectorId}/filter/{FilterName}", - UpdateFindingsFeedback: "POST /detector/{DetectorId}/findings/feedback", - UpdateIPSet: "POST /detector/{DetectorId}/ipset/{IpSetId}", - UpdateMalwareProtectionPlan: - "PATCH /malware-protection-plan/{MalwareProtectionPlanId}", - UpdateMalwareScanSettings: - "POST /detector/{DetectorId}/malware-scan-settings", - UpdateMemberDetectors: "POST /detector/{DetectorId}/member/detector/update", - UpdateOrganizationConfiguration: "POST /detector/{DetectorId}/admin", - UpdatePublishingDestination: - "POST /detector/{DetectorId}/publishingDestination/{DestinationId}", - UpdateThreatEntitySet: - "POST /detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", - UpdateThreatIntelSet: - "POST /detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", - UpdateTrustedEntitySet: - "POST /detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", + "AcceptAdministratorInvitation": "POST /detector/{DetectorId}/administrator", + "AcceptInvitation": "POST /detector/{DetectorId}/master", + "ArchiveFindings": "POST /detector/{DetectorId}/findings/archive", + "CreateDetector": "POST /detector", + "CreateFilter": "POST /detector/{DetectorId}/filter", + "CreateIPSet": "POST /detector/{DetectorId}/ipset", + "CreateMalwareProtectionPlan": "POST /malware-protection-plan", + "CreateMembers": "POST /detector/{DetectorId}/member", + "CreatePublishingDestination": "POST /detector/{DetectorId}/publishingDestination", + "CreateSampleFindings": "POST /detector/{DetectorId}/findings/create", + "CreateThreatEntitySet": "POST /detector/{DetectorId}/threatentityset", + "CreateThreatIntelSet": "POST /detector/{DetectorId}/threatintelset", + "CreateTrustedEntitySet": "POST /detector/{DetectorId}/trustedentityset", + "DeclineInvitations": "POST /invitation/decline", + "DeleteDetector": "DELETE /detector/{DetectorId}", + "DeleteFilter": "DELETE /detector/{DetectorId}/filter/{FilterName}", + "DeleteInvitations": "POST /invitation/delete", + "DeleteIPSet": "DELETE /detector/{DetectorId}/ipset/{IpSetId}", + "DeleteMalwareProtectionPlan": "DELETE /malware-protection-plan/{MalwareProtectionPlanId}", + "DeleteMembers": "POST /detector/{DetectorId}/member/delete", + "DeletePublishingDestination": "DELETE /detector/{DetectorId}/publishingDestination/{DestinationId}", + "DeleteThreatEntitySet": "DELETE /detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", + "DeleteThreatIntelSet": "DELETE /detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", + "DeleteTrustedEntitySet": "DELETE /detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", + "DescribeMalwareScans": "POST /detector/{DetectorId}/malware-scans", + "DescribeOrganizationConfiguration": "GET /detector/{DetectorId}/admin", + "DescribePublishingDestination": "GET /detector/{DetectorId}/publishingDestination/{DestinationId}", + "DisableOrganizationAdminAccount": "POST /admin/disable", + "DisassociateFromAdministratorAccount": "POST /detector/{DetectorId}/administrator/disassociate", + "DisassociateFromMasterAccount": "POST /detector/{DetectorId}/master/disassociate", + "DisassociateMembers": "POST /detector/{DetectorId}/member/disassociate", + "EnableOrganizationAdminAccount": "POST /admin/enable", + "GetAdministratorAccount": "GET /detector/{DetectorId}/administrator", + "GetCoverageStatistics": "POST /detector/{DetectorId}/coverage/statistics", + "GetDetector": "GET /detector/{DetectorId}", + "GetFilter": "GET /detector/{DetectorId}/filter/{FilterName}", + "GetFindings": "POST /detector/{DetectorId}/findings/get", + "GetFindingsStatistics": "POST /detector/{DetectorId}/findings/statistics", + "GetInvitationsCount": "GET /invitation/count", + "GetIPSet": "GET /detector/{DetectorId}/ipset/{IpSetId}", + "GetMalwareProtectionPlan": "GET /malware-protection-plan/{MalwareProtectionPlanId}", + "GetMalwareScanSettings": "GET /detector/{DetectorId}/malware-scan-settings", + "GetMasterAccount": "GET /detector/{DetectorId}/master", + "GetMemberDetectors": "POST /detector/{DetectorId}/member/detector/get", + "GetMembers": "POST /detector/{DetectorId}/member/get", + "GetOrganizationStatistics": "GET /organization/statistics", + "GetRemainingFreeTrialDays": "POST /detector/{DetectorId}/freeTrial/daysRemaining", + "GetThreatEntitySet": "GET /detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", + "GetThreatIntelSet": "GET /detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", + "GetTrustedEntitySet": "GET /detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", + "GetUsageStatistics": "POST /detector/{DetectorId}/usage/statistics", + "InviteMembers": "POST /detector/{DetectorId}/member/invite", + "ListCoverage": "POST /detector/{DetectorId}/coverage", + "ListDetectors": "GET /detector", + "ListFilters": "GET /detector/{DetectorId}/filter", + "ListFindings": "POST /detector/{DetectorId}/findings", + "ListInvitations": "GET /invitation", + "ListIPSets": "GET /detector/{DetectorId}/ipset", + "ListMalwareProtectionPlans": "GET /malware-protection-plan", + "ListMembers": "GET /detector/{DetectorId}/member", + "ListOrganizationAdminAccounts": "GET /admin", + "ListPublishingDestinations": "GET /detector/{DetectorId}/publishingDestination", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "ListThreatEntitySets": "GET /detector/{DetectorId}/threatentityset", + "ListThreatIntelSets": "GET /detector/{DetectorId}/threatintelset", + "ListTrustedEntitySets": "GET /detector/{DetectorId}/trustedentityset", + "StartMalwareScan": "POST /malware-scan/start", + "StartMonitoringMembers": "POST /detector/{DetectorId}/member/start", + "StopMonitoringMembers": "POST /detector/{DetectorId}/member/stop", + "TagResource": "POST /tags/{ResourceArn}", + "UnarchiveFindings": "POST /detector/{DetectorId}/findings/unarchive", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateDetector": "POST /detector/{DetectorId}", + "UpdateFilter": "POST /detector/{DetectorId}/filter/{FilterName}", + "UpdateFindingsFeedback": "POST /detector/{DetectorId}/findings/feedback", + "UpdateIPSet": "POST /detector/{DetectorId}/ipset/{IpSetId}", + "UpdateMalwareProtectionPlan": "PATCH /malware-protection-plan/{MalwareProtectionPlanId}", + "UpdateMalwareScanSettings": "POST /detector/{DetectorId}/malware-scan-settings", + "UpdateMemberDetectors": "POST /detector/{DetectorId}/member/detector/update", + "UpdateOrganizationConfiguration": "POST /detector/{DetectorId}/admin", + "UpdatePublishingDestination": "POST /detector/{DetectorId}/publishingDestination/{DestinationId}", + "UpdateThreatEntitySet": "POST /detector/{DetectorId}/threatentityset/{ThreatEntitySetId}", + "UpdateThreatIntelSet": "POST /detector/{DetectorId}/threatintelset/{ThreatIntelSetId}", + "UpdateTrustedEntitySet": "POST /detector/{DetectorId}/trustedentityset/{TrustedEntitySetId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/guardduty/types.ts b/src/services/guardduty/types.ts index 7063ece4..8aa932a3 100644 --- a/src/services/guardduty/types.ts +++ b/src/services/guardduty/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class GuardDuty extends AWSServiceClient { @@ -72,20 +38,13 @@ export declare class GuardDuty extends AWSServiceClient { input: CreateIPSetRequest, ): Effect.Effect< CreateIPSetResponse, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | CommonAwsError >; createMalwareProtectionPlan( input: CreateMalwareProtectionPlanRequest, ): Effect.Effect< CreateMalwareProtectionPlanResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerErrorException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerErrorException | CommonAwsError >; createMembers( input: CreateMembersRequest, @@ -115,10 +74,7 @@ export declare class GuardDuty extends AWSServiceClient { input: CreateThreatIntelSetRequest, ): Effect.Effect< CreateThreatIntelSetResponse, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | CommonAwsError >; createTrustedEntitySet( input: CreateTrustedEntitySetRequest, @@ -160,11 +116,7 @@ export declare class GuardDuty extends AWSServiceClient { input: DeleteMalwareProtectionPlanRequest, ): Effect.Effect< {}, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | ResourceNotFoundException | CommonAwsError >; deleteMembers( input: DeleteMembersRequest, @@ -296,11 +248,7 @@ export declare class GuardDuty extends AWSServiceClient { input: GetMalwareProtectionPlanRequest, ): Effect.Effect< GetMalwareProtectionPlanResponse, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | ResourceNotFoundException | CommonAwsError >; getMalwareScanSettings( input: GetMalwareScanSettingsRequest, @@ -326,7 +274,9 @@ export declare class GuardDuty extends AWSServiceClient { GetMembersResponse, BadRequestException | InternalServerErrorException | CommonAwsError >; - getOrganizationStatistics(input: {}): Effect.Effect< + getOrganizationStatistics( + input: {}, + ): Effect.Effect< GetOrganizationStatisticsResponse, BadRequestException | InternalServerErrorException | CommonAwsError >; @@ -406,10 +356,7 @@ export declare class GuardDuty extends AWSServiceClient { input: ListMalwareProtectionPlansRequest, ): Effect.Effect< ListMalwareProtectionPlansResponse, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | CommonAwsError >; listMembers( input: ListMembersRequest, @@ -433,10 +380,7 @@ export declare class GuardDuty extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | CommonAwsError >; listThreatEntitySets( input: ListThreatEntitySetsRequest, @@ -460,10 +404,7 @@ export declare class GuardDuty extends AWSServiceClient { input: StartMalwareScanRequest, ): Effect.Effect< StartMalwareScanResponse, - | BadRequestException - | ConflictException - | InternalServerErrorException - | CommonAwsError + BadRequestException | ConflictException | InternalServerErrorException | CommonAwsError >; startMonitoringMembers( input: StartMonitoringMembersRequest, @@ -481,10 +422,7 @@ export declare class GuardDuty extends AWSServiceClient { input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | CommonAwsError >; unarchiveFindings( input: UnarchiveFindingsRequest, @@ -496,10 +434,7 @@ export declare class GuardDuty extends AWSServiceClient { input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | CommonAwsError >; updateDetector( input: UpdateDetectorRequest, @@ -523,20 +458,13 @@ export declare class GuardDuty extends AWSServiceClient { input: UpdateIPSetRequest, ): Effect.Effect< UpdateIPSetResponse, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | CommonAwsError >; updateMalwareProtectionPlan( input: UpdateMalwareProtectionPlanRequest, ): Effect.Effect< {}, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | ResourceNotFoundException | CommonAwsError >; updateMalwareScanSettings( input: UpdateMalwareScanSettingsRequest, @@ -572,10 +500,7 @@ export declare class GuardDuty extends AWSServiceClient { input: UpdateThreatIntelSetRequest, ): Effect.Effect< UpdateThreatIntelSetResponse, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | CommonAwsError >; updateTrustedEntitySet( input: UpdateTrustedEntitySetRequest, @@ -592,13 +517,15 @@ export interface AcceptAdministratorInvitationRequest { AdministratorId: string; InvitationId: string; } -export interface AcceptAdministratorInvitationResponse {} +export interface AcceptAdministratorInvitationResponse { +} export interface AcceptInvitationRequest { DetectorId: string; MasterId: string; InvitationId: string; } -export interface AcceptInvitationResponse {} +export interface AcceptInvitationResponse { +} export interface AccessControlList { AllowsPublicReadAccess?: boolean; AllowsPublicWriteAccess?: boolean; @@ -703,10 +630,7 @@ export interface AnomalyObject { } export type AnomalyProfileFeatureObjects = Array; export type AnomalyProfileFeatures = Record>; -export type AnomalyProfiles = Record< - string, - Record> ->; +export type AnomalyProfiles = Record>>; export interface AnomalyUnusual { Behavior?: Record>; } @@ -715,7 +639,8 @@ export interface ArchiveFindingsRequest { DetectorId: string; FindingIds: Array; } -export interface ArchiveFindingsResponse {} +export interface ArchiveFindingsResponse { +} export type AutoEnableMembers = "NEW" | "ALL" | "NONE"; export interface AutonomousSystem { Name: string; @@ -764,13 +689,7 @@ export type ClientToken = string; export interface CloudTrailConfigurationResult { Status: DataSourceStatus; } -export type ClusterStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED" - | "UPDATING" - | "PENDING"; +export type ClusterStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING" | "PENDING"; export interface Condition { Eq?: Array; Neq?: Array; @@ -851,18 +770,7 @@ export interface CoverageFilterCriterion { CriterionKey?: CoverageFilterCriterionKey; FilterCondition?: CoverageFilterCondition; } -export type CoverageFilterCriterionKey = - | "ACCOUNT_ID" - | "CLUSTER_NAME" - | "RESOURCE_TYPE" - | "COVERAGE_STATUS" - | "ADDON_VERSION" - | "MANAGEMENT_TYPE" - | "EKS_CLUSTER_NAME" - | "ECS_CLUSTER_NAME" - | "AGENT_VERSION" - | "INSTANCE_ID" - | "CLUSTER_ARN"; +export type CoverageFilterCriterionKey = "ACCOUNT_ID" | "CLUSTER_NAME" | "RESOURCE_TYPE" | "COVERAGE_STATUS" | "ADDON_VERSION" | "MANAGEMENT_TYPE" | "EKS_CLUSTER_NAME" | "ECS_CLUSTER_NAME" | "AGENT_VERSION" | "INSTANCE_ID" | "CLUSTER_ARN"; export type CoverageFilterCriterionList = Array; export interface CoverageResource { ResourceId?: string; @@ -884,23 +792,12 @@ export interface CoverageSortCriteria { AttributeName?: CoverageSortKey; OrderBy?: OrderBy; } -export type CoverageSortKey = - | "ACCOUNT_ID" - | "CLUSTER_NAME" - | "COVERAGE_STATUS" - | "ISSUE" - | "ADDON_VERSION" - | "UPDATED_AT" - | "EKS_CLUSTER_NAME" - | "ECS_CLUSTER_NAME" - | "INSTANCE_ID"; +export type CoverageSortKey = "ACCOUNT_ID" | "CLUSTER_NAME" | "COVERAGE_STATUS" | "ISSUE" | "ADDON_VERSION" | "UPDATED_AT" | "EKS_CLUSTER_NAME" | "ECS_CLUSTER_NAME" | "INSTANCE_ID"; export interface CoverageStatistics { CountByResourceType?: { [key in ResourceType]?: string }; CountByCoverageStatus?: { [key in CoverageStatus]?: string }; } -export type CoverageStatisticsType = - | "COUNT_BY_RESOURCE_TYPE" - | "COUNT_BY_COVERAGE_STATUS"; +export type CoverageStatisticsType = "COUNT_BY_RESOURCE_TYPE" | "COUNT_BY_COVERAGE_STATUS"; export type CoverageStatisticsTypeList = Array; export type CoverageStatus = "HEALTHY" | "UNHEALTHY"; export interface CreateDetectorRequest { @@ -978,7 +875,8 @@ export interface CreateSampleFindingsRequest { DetectorId: string; FindingTypes?: Array; } -export interface CreateSampleFindingsResponse {} +export interface CreateSampleFindingsResponse { +} export interface CreateThreatEntitySetRequest { DetectorId: string; Name: string; @@ -1019,21 +917,8 @@ export interface CreateTrustedEntitySetResponse { TrustedEntitySetId: string; } export type Criterion = Record; -export type CriterionKey = - | "EC2_INSTANCE_ARN" - | "SCAN_ID" - | "ACCOUNT_ID" - | "GUARDDUTY_FINDING_ID" - | "SCAN_START_TIME" - | "SCAN_STATUS" - | "SCAN_TYPE"; -export type DataSource = - | "FLOW_LOGS" - | "CLOUD_TRAIL" - | "DNS_LOGS" - | "S3_LOGS" - | "KUBERNETES_AUDIT_LOGS" - | "EC2_MALWARE_SCAN"; +export type CriterionKey = "EC2_INSTANCE_ARN" | "SCAN_ID" | "ACCOUNT_ID" | "GUARDDUTY_FINDING_ID" | "SCAN_START_TIME" | "SCAN_STATUS" | "SCAN_TYPE"; +export type DataSource = "FLOW_LOGS" | "CLOUD_TRAIL" | "DNS_LOGS" | "S3_LOGS" | "KUBERNETES_AUDIT_LOGS" | "EC2_MALWARE_SCAN"; export interface DataSourceConfigurations { S3Logs?: S3LogsConfiguration; Kubernetes?: KubernetesConfiguration; @@ -1079,12 +964,14 @@ export interface DefaultServerSideEncryption { export interface DeleteDetectorRequest { DetectorId: string; } -export interface DeleteDetectorResponse {} +export interface DeleteDetectorResponse { +} export interface DeleteFilterRequest { DetectorId: string; FilterName: string; } -export interface DeleteFilterResponse {} +export interface DeleteFilterResponse { +} export interface DeleteInvitationsRequest { AccountIds: Array; } @@ -1095,7 +982,8 @@ export interface DeleteIPSetRequest { DetectorId: string; IpSetId: string; } -export interface DeleteIPSetResponse {} +export interface DeleteIPSetResponse { +} export interface DeleteMalwareProtectionPlanRequest { MalwareProtectionPlanId: string; } @@ -1110,22 +998,26 @@ export interface DeletePublishingDestinationRequest { DetectorId: string; DestinationId: string; } -export interface DeletePublishingDestinationResponse {} +export interface DeletePublishingDestinationResponse { +} export interface DeleteThreatEntitySetRequest { DetectorId: string; ThreatEntitySetId: string; } -export interface DeleteThreatEntitySetResponse {} +export interface DeleteThreatEntitySetResponse { +} export interface DeleteThreatIntelSetRequest { DetectorId: string; ThreatIntelSetId: string; } -export interface DeleteThreatIntelSetResponse {} +export interface DeleteThreatIntelSetResponse { +} export interface DeleteTrustedEntitySetRequest { DetectorId: string; TrustedEntitySetId: string; } -export interface DeleteTrustedEntitySetResponse {} +export interface DeleteTrustedEntitySetResponse { +} export interface DescribeMalwareScansRequest { DetectorId: string; NextToken?: string; @@ -1185,18 +1077,9 @@ export interface DetectorAdditionalConfigurationResult { Status?: FeatureStatus; UpdatedAt?: Date | string; } -export type DetectorAdditionalConfigurationResults = - Array; -export type DetectorAdditionalConfigurations = - Array; -export type DetectorFeature = - | "S3_DATA_EVENTS" - | "EKS_AUDIT_LOGS" - | "EBS_MALWARE_PROTECTION" - | "RDS_LOGIN_EVENTS" - | "EKS_RUNTIME_MONITORING" - | "LAMBDA_NETWORK_LOGS" - | "RUNTIME_MONITORING"; +export type DetectorAdditionalConfigurationResults = Array; +export type DetectorAdditionalConfigurations = Array; +export type DetectorFeature = "S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "EKS_RUNTIME_MONITORING" | "LAMBDA_NETWORK_LOGS" | "RUNTIME_MONITORING"; export interface DetectorFeatureConfiguration { Name?: DetectorFeature; Status?: FeatureStatus; @@ -1209,19 +1092,8 @@ export interface DetectorFeatureConfigurationResult { AdditionalConfiguration?: Array; } export type DetectorFeatureConfigurations = Array; -export type DetectorFeatureConfigurationsResults = - Array; -export type DetectorFeatureResult = - | "FLOW_LOGS" - | "CLOUD_TRAIL" - | "DNS_LOGS" - | "S3_DATA_EVENTS" - | "EKS_AUDIT_LOGS" - | "EBS_MALWARE_PROTECTION" - | "RDS_LOGIN_EVENTS" - | "EKS_RUNTIME_MONITORING" - | "LAMBDA_NETWORK_LOGS" - | "RUNTIME_MONITORING"; +export type DetectorFeatureConfigurationsResults = Array; +export type DetectorFeatureResult = "FLOW_LOGS" | "CLOUD_TRAIL" | "DNS_LOGS" | "S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "EKS_RUNTIME_MONITORING" | "LAMBDA_NETWORK_LOGS" | "RUNTIME_MONITORING"; export type DetectorId = string; export type DetectorIds = Array; @@ -1229,15 +1101,18 @@ export type DetectorStatus = "ENABLED" | "DISABLED"; export interface DisableOrganizationAdminAccountRequest { AdminAccountId: string; } -export interface DisableOrganizationAdminAccountResponse {} +export interface DisableOrganizationAdminAccountResponse { +} export interface DisassociateFromAdministratorAccountRequest { DetectorId: string; } -export interface DisassociateFromAdministratorAccountResponse {} +export interface DisassociateFromAdministratorAccountResponse { +} export interface DisassociateFromMasterAccountRequest { DetectorId: string; } -export interface DisassociateFromMasterAccountResponse {} +export interface DisassociateFromMasterAccountResponse { +} export interface DisassociateMembersRequest { DetectorId: string; AccountIds: Array; @@ -1344,7 +1219,8 @@ export type Email = string; export interface EnableOrganizationAdminAccountRequest { AdminAccountId: string; } -export interface EnableOrganizationAdminAccountResponse {} +export interface EnableOrganizationAdminAccountResponse { +} export type EndpointIds = Array; export type Eq = Array; export type Equals = Array; @@ -1357,10 +1233,7 @@ export interface FargateDetails { Issues?: Array; ManagementType?: ManagementType; } -export type FeatureAdditionalConfiguration = - | "EKS_ADDON_MANAGEMENT" - | "ECS_FARGATE_AGENT_MANAGEMENT" - | "EC2_AGENT_MANAGEMENT"; +export type FeatureAdditionalConfiguration = "EKS_ADDON_MANAGEMENT" | "ECS_FARGATE_AGENT_MANAGEMENT" | "EC2_AGENT_MANAGEMENT"; export type FeatureStatus = "ENABLED" | "DISABLED"; export type Feedback = "USEFUL" | "NOT_USEFUL"; export type FilePaths = Array; @@ -1409,19 +1282,8 @@ export interface FindingCriteria { export type FindingId = string; export type FindingIds = Array; -export type FindingPublishingFrequency = - | "FIFTEEN_MINUTES" - | "ONE_HOUR" - | "SIX_HOURS"; -export type FindingResourceType = - | "EC2_INSTANCE" - | "EC2_NETWORK_INTERFACE" - | "S3_BUCKET" - | "S3_OBJECT" - | "ACCESS_KEY" - | "EKS_CLUSTER" - | "KUBERNETES_WORKLOAD" - | "CONTAINER"; +export type FindingPublishingFrequency = "FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS"; +export type FindingResourceType = "EC2_INSTANCE" | "EC2_NETWORK_INTERFACE" | "S3_BUCKET" | "S3_OBJECT" | "ACCESS_KEY" | "EKS_CLUSTER" | "KUBERNETES_WORKLOAD" | "CONTAINER"; export type Findings = Array; export interface FindingStatistics { CountBySeverity?: Record; @@ -1449,20 +1311,8 @@ export interface FreeTrialFeatureConfigurationResult { Name?: FreeTrialFeatureResult; FreeTrialDaysRemaining?: number; } -export type FreeTrialFeatureConfigurationsResults = - Array; -export type FreeTrialFeatureResult = - | "FLOW_LOGS" - | "CLOUD_TRAIL" - | "DNS_LOGS" - | "S3_DATA_EVENTS" - | "EKS_AUDIT_LOGS" - | "EBS_MALWARE_PROTECTION" - | "RDS_LOGIN_EVENTS" - | "EKS_RUNTIME_MONITORING" - | "LAMBDA_NETWORK_LOGS" - | "FARGATE_RUNTIME_MONITORING" - | "EC2_RUNTIME_MONITORING"; +export type FreeTrialFeatureConfigurationsResults = Array; +export type FreeTrialFeatureResult = "FLOW_LOGS" | "CLOUD_TRAIL" | "DNS_LOGS" | "S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "EKS_RUNTIME_MONITORING" | "LAMBDA_NETWORK_LOGS" | "FARGATE_RUNTIME_MONITORING" | "EC2_RUNTIME_MONITORING"; export interface GeoLocation { Lat?: number; Lon?: number; @@ -1526,7 +1376,8 @@ export interface GetFindingsStatisticsResponse { FindingStatistics: FindingStatistics; NextToken?: string; } -export interface GetInvitationsCountRequest {} +export interface GetInvitationsCountRequest { +} export interface GetInvitationsCountResponse { InvitationsCount?: number; } @@ -1649,12 +1500,7 @@ export interface GetUsageStatisticsResponse { UsageStatistics?: UsageStatistics; NextToken?: string; } -export type GroupByType = - | "ACCOUNT" - | "DATE" - | "FINDING_TYPE" - | "RESOURCE" - | "SEVERITY"; +export type GroupByType = "ACCOUNT" | "DATE" | "FINDING_TYPE" | "RESOURCE" | "SEVERITY"; export type GroupedByAccount = Array; export type GroupedByDate = Array; export type GroupedByFindingType = Array; @@ -1687,23 +1533,7 @@ export interface Indicator { export type Indicators = Array; export type IndicatorTitle = string; -export type IndicatorType = - | "SUSPICIOUS_USER_AGENT" - | "SUSPICIOUS_NETWORK" - | "MALICIOUS_IP" - | "TOR_IP" - | "ATTACK_TACTIC" - | "HIGH_RISK_API" - | "ATTACK_TECHNIQUE" - | "UNUSUAL_API_FOR_ACCOUNT" - | "UNUSUAL_ASN_FOR_ACCOUNT" - | "UNUSUAL_ASN_FOR_USER" - | "SUSPICIOUS_PROCESS" - | "MALICIOUS_DOMAIN" - | "MALICIOUS_PROCESS" - | "CRYPTOMINING_IP" - | "CRYPTOMINING_DOMAIN" - | "CRYPTOMINING_PROCESS"; +export type IndicatorType = "SUSPICIOUS_USER_AGENT" | "SUSPICIOUS_NETWORK" | "MALICIOUS_IP" | "TOR_IP" | "ATTACK_TACTIC" | "HIGH_RISK_API" | "ATTACK_TECHNIQUE" | "UNUSUAL_API_FOR_ACCOUNT" | "UNUSUAL_ASN_FOR_ACCOUNT" | "UNUSUAL_ASN_FOR_USER" | "SUSPICIOUS_PROCESS" | "MALICIOUS_DOMAIN" | "MALICIOUS_PROCESS" | "CRYPTOMINING_IP" | "CRYPTOMINING_DOMAIN" | "CRYPTOMINING_PROCESS"; export type IndicatorValues = Array; export type IndicatorValueString = string; @@ -1750,22 +1580,9 @@ export interface InviteMembersRequest { export interface InviteMembersResponse { UnprocessedAccounts: Array; } -export type IpSetFormat = - | "TXT" - | "STIX" - | "OTX_CSV" - | "ALIEN_VAULT" - | "PROOF_POINT" - | "FIRE_EYE"; +export type IpSetFormat = "TXT" | "STIX" | "OTX_CSV" | "ALIEN_VAULT" | "PROOF_POINT" | "FIRE_EYE"; export type IpSetIds = Array; -export type IpSetStatus = - | "INACTIVE" - | "ACTIVATING" - | "ACTIVE" - | "DEACTIVATING" - | "ERROR" - | "DELETE_PENDING" - | "DELETED"; +export type IpSetStatus = "INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED"; export type Ipv6Addresses = Array; export type Issues = Array; export interface ItemPath { @@ -1811,15 +1628,7 @@ export interface KubernetesPermissionCheckedDetails { Namespace?: string; Allowed?: boolean; } -export type KubernetesResourcesTypes = - | "PODS" - | "JOBS" - | "CRONJOBS" - | "DEPLOYMENTS" - | "DAEMONSETS" - | "STATEFULSETS" - | "REPLICASETS" - | "REPLICATIONCONTROLLERS"; +export type KubernetesResourcesTypes = "PODS" | "JOBS" | "CRONJOBS" | "DEPLOYMENTS" | "DAEMONSETS" | "STATEFULSETS" | "REPLICASETS" | "REPLICATIONCONTROLLERS"; export interface KubernetesRoleBindingDetails { Kind?: string; Name?: string; @@ -2043,8 +1852,7 @@ export interface MalwareProtectionPlanStatusReason { Code?: string; Message?: string; } -export type MalwareProtectionPlanStatusReasonsList = - Array; +export type MalwareProtectionPlanStatusReasonsList = Array; export interface MalwareProtectionPlanSummary { MalwareProtectionPlanId?: string; } @@ -2086,17 +1894,14 @@ export interface MemberAdditionalConfigurationResult { Status?: FeatureStatus; UpdatedAt?: Date | string; } -export type MemberAdditionalConfigurationResults = - Array; -export type MemberAdditionalConfigurations = - Array; +export type MemberAdditionalConfigurationResults = Array; +export type MemberAdditionalConfigurations = Array; export interface MemberDataSourceConfiguration { AccountId: string; DataSources?: DataSourceConfigurationsResult; Features?: Array; } -export type MemberDataSourceConfigurations = - Array; +export type MemberDataSourceConfigurations = Array; export interface MemberFeaturesConfiguration { Name?: OrgFeature; Status?: FeatureStatus; @@ -2109,8 +1914,7 @@ export interface MemberFeaturesConfigurationResult { AdditionalConfiguration?: Array; } export type MemberFeaturesConfigurations = Array; -export type MemberFeaturesConfigurationsResults = - Array; +export type MemberFeaturesConfigurationsResults = Array; export type Members = Array; export type MemoryRegionsList = Array; export type MfaStatus = "ENABLED" | "DISABLED"; @@ -2182,10 +1986,8 @@ export interface OrganizationAdditionalConfigurationResult { Name?: OrgFeatureAdditionalConfiguration; AutoEnable?: OrgFeatureStatus; } -export type OrganizationAdditionalConfigurationResults = - Array; -export type OrganizationAdditionalConfigurations = - Array; +export type OrganizationAdditionalConfigurationResults = Array; +export type OrganizationAdditionalConfigurations = Array; export interface OrganizationDataSourceConfigurations { S3Logs?: OrganizationS3LogsConfiguration; Kubernetes?: OrganizationKubernetesConfiguration; @@ -2216,10 +2018,8 @@ export interface OrganizationFeatureConfigurationResult { AutoEnable?: OrgFeatureStatus; AdditionalConfiguration?: Array; } -export type OrganizationFeaturesConfigurations = - Array; -export type OrganizationFeaturesConfigurationsResults = - Array; +export type OrganizationFeaturesConfigurations = Array; +export type OrganizationFeaturesConfigurationsResults = Array; export interface OrganizationFeatureStatistics { Name?: OrgFeature; EnabledAccountsCount?: number; @@ -2229,10 +2029,8 @@ export interface OrganizationFeatureStatisticsAdditionalConfiguration { Name?: OrgFeatureAdditionalConfiguration; EnabledAccountsCount?: number; } -export type OrganizationFeatureStatisticsAdditionalConfigurations = - Array; -export type OrganizationFeatureStatisticsResults = - Array; +export type OrganizationFeatureStatisticsAdditionalConfigurations = Array; +export type OrganizationFeatureStatisticsResults = Array; export interface OrganizationKubernetesAuditLogsConfiguration { AutoEnable: boolean; } @@ -2270,18 +2068,8 @@ export interface OrganizationStatistics { EnabledAccountsCount?: number; CountByFeature?: Array; } -export type OrgFeature = - | "S3_DATA_EVENTS" - | "EKS_AUDIT_LOGS" - | "EBS_MALWARE_PROTECTION" - | "RDS_LOGIN_EVENTS" - | "EKS_RUNTIME_MONITORING" - | "LAMBDA_NETWORK_LOGS" - | "RUNTIME_MONITORING"; -export type OrgFeatureAdditionalConfiguration = - | "EKS_ADDON_MANAGEMENT" - | "ECS_FARGATE_AGENT_MANAGEMENT" - | "EC2_AGENT_MANAGEMENT"; +export type OrgFeature = "S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "EKS_RUNTIME_MONITORING" | "LAMBDA_NETWORK_LOGS" | "RUNTIME_MONITORING"; +export type OrgFeatureAdditionalConfiguration = "EKS_ADDON_MANAGEMENT" | "ECS_FARGATE_AGENT_MANAGEMENT" | "EC2_AGENT_MANAGEMENT"; export type OrgFeatureStatus = "NEW" | "NONE" | "ALL"; export interface Owner { Id?: string; @@ -2348,11 +2136,7 @@ export interface PublicAccessConfiguration { export type PublicAccessStatus = "BLOCKED" | "ALLOWED"; export type PublicAclIgnoreBehavior = "IGNORED" | "NOT_IGNORED"; export type PublicBucketRestrictBehavior = "RESTRICTED" | "NOT_RESTRICTED"; -export type PublishingStatus = - | "PENDING_VERIFICATION" - | "PUBLISHING" - | "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY" - | "STOPPED"; +export type PublishingStatus = "PENDING_VERIFICATION" | "PUBLISHING" | "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY" | "STOPPED"; export interface RdsDbInstanceDetails { DbInstanceIdentifier?: string; Engine?: string; @@ -2673,14 +2457,7 @@ export interface Signal { export type SignalDescription = string; export type Signals = Array; -export type SignalType = - | "FINDING" - | "CLOUD_TRAIL" - | "S3_DATA_EVENTS" - | "EKS_AUDIT_LOGS" - | "FLOW_LOGS" - | "DNS_LOGS" - | "RUNTIME_MONITORING"; +export type SignalType = "FINDING" | "CLOUD_TRAIL" | "S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "FLOW_LOGS" | "DNS_LOGS" | "RUNTIME_MONITORING"; export interface SortCriteria { AttributeName?: string; OrderBy?: OrderBy; @@ -2722,7 +2499,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -2737,44 +2515,18 @@ export interface ThreatDetectedByName { Shortened?: boolean; ThreatNames?: Array; } -export type ThreatEntitySetFormat = - | "TXT" - | "STIX" - | "OTX_CSV" - | "ALIEN_VAULT" - | "PROOF_POINT" - | "FIRE_EYE"; +export type ThreatEntitySetFormat = "TXT" | "STIX" | "OTX_CSV" | "ALIEN_VAULT" | "PROOF_POINT" | "FIRE_EYE"; export type ThreatEntitySetIds = Array; -export type ThreatEntitySetStatus = - | "INACTIVE" - | "ACTIVATING" - | "ACTIVE" - | "DEACTIVATING" - | "ERROR" - | "DELETE_PENDING" - | "DELETED"; +export type ThreatEntitySetStatus = "INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED"; export interface ThreatIntelligenceDetail { ThreatListName?: string; ThreatNames?: Array; ThreatFileSha256?: string; } export type ThreatIntelligenceDetails = Array; -export type ThreatIntelSetFormat = - | "TXT" - | "STIX" - | "OTX_CSV" - | "ALIEN_VAULT" - | "PROOF_POINT" - | "FIRE_EYE"; +export type ThreatIntelSetFormat = "TXT" | "STIX" | "OTX_CSV" | "ALIEN_VAULT" | "PROOF_POINT" | "FIRE_EYE"; export type ThreatIntelSetIds = Array; -export type ThreatIntelSetStatus = - | "INACTIVE" - | "ACTIVATING" - | "ACTIVE" - | "DEACTIVATING" - | "ERROR" - | "DELETE_PENDING" - | "DELETED"; +export type ThreatIntelSetStatus = "INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED"; export type ThreatNames = Array; export type Threats = Array; export interface ThreatsDetectedItemCount { @@ -2790,27 +2542,15 @@ export interface TriggerDetails { GuardDutyFindingId?: string; Description?: string; } -export type TrustedEntitySetFormat = - | "TXT" - | "STIX" - | "OTX_CSV" - | "ALIEN_VAULT" - | "PROOF_POINT" - | "FIRE_EYE"; +export type TrustedEntitySetFormat = "TXT" | "STIX" | "OTX_CSV" | "ALIEN_VAULT" | "PROOF_POINT" | "FIRE_EYE"; export type TrustedEntitySetIds = Array; -export type TrustedEntitySetStatus = - | "INACTIVE" - | "ACTIVATING" - | "ACTIVE" - | "DEACTIVATING" - | "ERROR" - | "DELETE_PENDING" - | "DELETED"; +export type TrustedEntitySetStatus = "INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED"; export interface UnarchiveFindingsRequest { DetectorId: string; FindingIds: Array; } -export interface UnarchiveFindingsResponse {} +export interface UnarchiveFindingsResponse { +} export interface UnprocessedAccount { AccountId: string; Result: string; @@ -2823,7 +2563,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDetectorRequest { DetectorId: string; Enable?: boolean; @@ -2831,7 +2572,8 @@ export interface UpdateDetectorRequest { DataSources?: DataSourceConfigurations; Features?: Array; } -export interface UpdateDetectorResponse {} +export interface UpdateDetectorResponse { +} export interface UpdateFilterRequest { DetectorId: string; FilterName: string; @@ -2849,7 +2591,8 @@ export interface UpdateFindingsFeedbackRequest { Feedback: Feedback; Comments?: string; } -export interface UpdateFindingsFeedbackResponse {} +export interface UpdateFindingsFeedbackResponse { +} export interface UpdateIPSetRequest { DetectorId: string; IpSetId: string; @@ -2858,7 +2601,8 @@ export interface UpdateIPSetRequest { Activate?: boolean; ExpectedBucketOwner?: string; } -export interface UpdateIPSetResponse {} +export interface UpdateIPSetResponse { +} export interface UpdateMalwareProtectionPlanRequest { MalwareProtectionPlanId: string; Role?: string; @@ -2870,7 +2614,8 @@ export interface UpdateMalwareScanSettingsRequest { ScanResourceCriteria?: ScanResourceCriteria; EbsSnapshotPreservation?: EbsSnapshotPreservation; } -export interface UpdateMalwareScanSettingsResponse {} +export interface UpdateMalwareScanSettingsResponse { +} export interface UpdateMemberDetectorsRequest { DetectorId: string; AccountIds: Array; @@ -2887,7 +2632,8 @@ export interface UpdateOrganizationConfigurationRequest { Features?: Array; AutoEnableOrganizationMembers?: AutoEnableMembers; } -export interface UpdateOrganizationConfigurationResponse {} +export interface UpdateOrganizationConfigurationResponse { +} export interface UpdateProtectedResource { S3Bucket?: UpdateS3BucketResource; } @@ -2896,7 +2642,8 @@ export interface UpdatePublishingDestinationRequest { DestinationId: string; DestinationProperties?: DestinationProperties; } -export interface UpdatePublishingDestinationResponse {} +export interface UpdatePublishingDestinationResponse { +} export interface UpdateS3BucketResource { ObjectPrefixes?: Array; } @@ -2908,7 +2655,8 @@ export interface UpdateThreatEntitySetRequest { ExpectedBucketOwner?: string; Activate?: boolean; } -export interface UpdateThreatEntitySetResponse {} +export interface UpdateThreatEntitySetResponse { +} export interface UpdateThreatIntelSetRequest { DetectorId: string; ThreatIntelSetId: string; @@ -2917,7 +2665,8 @@ export interface UpdateThreatIntelSetRequest { Activate?: boolean; ExpectedBucketOwner?: string; } -export interface UpdateThreatIntelSetResponse {} +export interface UpdateThreatIntelSetResponse { +} export interface UpdateTrustedEntitySetRequest { DetectorId: string; TrustedEntitySetId: string; @@ -2926,7 +2675,8 @@ export interface UpdateTrustedEntitySetRequest { ExpectedBucketOwner?: string; Activate?: boolean; } -export interface UpdateTrustedEntitySetResponse {} +export interface UpdateTrustedEntitySetResponse { +} export interface UsageAccountResult { AccountId?: string; Total?: Total; @@ -2943,20 +2693,7 @@ export interface UsageDataSourceResult { Total?: Total; } export type UsageDataSourceResultList = Array; -export type UsageFeature = - | "FLOW_LOGS" - | "CLOUD_TRAIL" - | "DNS_LOGS" - | "S3_DATA_EVENTS" - | "EKS_AUDIT_LOGS" - | "EBS_MALWARE_PROTECTION" - | "RDS_LOGIN_EVENTS" - | "LAMBDA_NETWORK_LOGS" - | "EKS_RUNTIME_MONITORING" - | "FARGATE_RUNTIME_MONITORING" - | "EC2_RUNTIME_MONITORING" - | "RDS_DBI_PROTECTION_PROVISIONED" - | "RDS_DBI_PROTECTION_SERVERLESS"; +export type UsageFeature = "FLOW_LOGS" | "CLOUD_TRAIL" | "DNS_LOGS" | "S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "LAMBDA_NETWORK_LOGS" | "EKS_RUNTIME_MONITORING" | "FARGATE_RUNTIME_MONITORING" | "EC2_RUNTIME_MONITORING" | "RDS_DBI_PROTECTION_PROVISIONED" | "RDS_DBI_PROTECTION_SERVERLESS"; export type UsageFeatureList = Array; export interface UsageFeatureResult { Feature?: UsageFeature; @@ -2976,13 +2713,7 @@ export interface UsageStatistics { TopResources?: Array; SumByFeature?: Array; } -export type UsageStatisticType = - | "SUM_BY_ACCOUNT" - | "SUM_BY_DATA_SOURCE" - | "SUM_BY_RESOURCE" - | "TOP_RESOURCES" - | "SUM_BY_FEATURES" - | "TOP_ACCOUNTS_BY_FEATURE"; +export type UsageStatisticType = "SUM_BY_ACCOUNT" | "SUM_BY_DATA_SOURCE" | "SUM_BY_RESOURCE" | "TOP_RESOURCES" | "SUM_BY_FEATURES" | "TOP_ACCOUNTS_BY_FEATURE"; export interface UsageTopAccountResult { AccountId?: string; Total?: Total; @@ -3798,10 +3529,5 @@ export declare namespace UpdateTrustedEntitySet { | CommonAwsError; } -export type GuardDutyErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerErrorException - | ResourceNotFoundException - | CommonAwsError; +export type GuardDutyErrors = AccessDeniedException | BadRequestException | ConflictException | InternalServerErrorException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/health/index.ts b/src/services/health/index.ts index fdbdc292..d8a8f019 100644 --- a/src/services/health/index.ts +++ b/src/services/health/index.ts @@ -5,26 +5,7 @@ import type { Health as _HealthClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/health/types.ts b/src/services/health/types.ts index 0b9ca105..7ae8ce9f 100644 --- a/src/services/health/types.ts +++ b/src/services/health/types.ts @@ -23,7 +23,10 @@ export declare class Health extends AWSServiceClient { >; describeEntityAggregates( input: DescribeEntityAggregatesRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeEntityAggregatesResponse, + CommonAwsError + >; describeEntityAggregatesForOrganization( input: DescribeEntityAggregatesForOrganizationRequest, ): Effect.Effect< @@ -66,15 +69,21 @@ export declare class Health extends AWSServiceClient { DescribeEventTypesResponse, InvalidPaginationToken | UnsupportedLocale | CommonAwsError >; - describeHealthServiceStatusForOrganization(input: {}): Effect.Effect< + describeHealthServiceStatusForOrganization( + input: {}, + ): Effect.Effect< DescribeHealthServiceStatusForOrganizationResponse, CommonAwsError >; - disableHealthServiceAccessForOrganization(input: {}): Effect.Effect< + disableHealthServiceAccessForOrganization( + input: {}, + ): Effect.Effect< {}, ConcurrentModificationException | CommonAwsError >; - enableHealthServiceAccessForOrganization(input: {}): Effect.Effect< + enableHealthServiceAccessForOrganization( + input: {}, + ): Effect.Effect< {}, ConcurrentModificationException | CommonAwsError >; @@ -128,8 +137,7 @@ export interface DescribeAffectedAccountsForOrganizationResponse { eventScopeCode?: eventScopeCode; nextToken?: string; } -export type DescribeAffectedEntitiesForOrganizationFailedSet = - Array; +export type DescribeAffectedEntitiesForOrganizationFailedSet = Array; export interface DescribeAffectedEntitiesForOrganizationRequest { organizationEntityFilters?: Array; locale?: string; @@ -176,8 +184,7 @@ export interface DescribeEventAggregatesResponse { nextToken?: string; } export type DescribeEventDetailsFailedSet = Array; -export type DescribeEventDetailsForOrganizationFailedSet = - Array; +export type DescribeEventDetailsForOrganizationFailedSet = Array; export interface DescribeEventDetailsForOrganizationRequest { organizationEventDetailFilters: Array; locale?: string; @@ -186,8 +193,7 @@ export interface DescribeEventDetailsForOrganizationResponse { successfulSet?: Array; failedSet?: Array; } -export type DescribeEventDetailsForOrganizationSuccessfulSet = - Array; +export type DescribeEventDetailsForOrganizationSuccessfulSet = Array; export interface DescribeEventDetailsRequest { eventArns: Array; locale?: string; @@ -258,12 +264,7 @@ export type entityMetadataKey = string; export type entityMetadataValue = string; -export type entityStatusCode = - | "IMPAIRED" - | "UNIMPAIRED" - | "UNKNOWN" - | "PENDING" - | "RESOLVED"; +export type entityStatusCode = "IMPAIRED" | "UNIMPAIRED" | "UNKNOWN" | "PENDING" | "RESOLVED"; export type entityStatusCodeList = Array; export type entityStatuses = Record; export type entityUrl = string; @@ -340,11 +341,7 @@ export interface EventType { } export type EventType2 = string; -export type eventTypeCategory = - | "issue" - | "accountNotification" - | "scheduledChange" - | "investigation"; +export type eventTypeCategory = "issue" | "accountNotification" | "scheduledChange" | "investigation"; export type EventTypeCategoryList = Array; export type eventTypeCategoryList2 = Array; export type eventTypeCode = string; @@ -390,8 +387,7 @@ export interface OrganizationEntityAggregate { statuses?: { [key in entityStatusCode]?: string }; accounts?: Array; } -export type OrganizationEntityAggregatesList = - Array; +export type OrganizationEntityAggregatesList = Array; export type OrganizationEntityFiltersList = Array; export interface OrganizationEvent { arn?: string; @@ -457,7 +453,9 @@ export declare class UnsupportedLocale extends EffectData.TaggedError( export declare namespace DescribeAffectedAccountsForOrganization { export type Input = DescribeAffectedAccountsForOrganizationRequest; export type Output = DescribeAffectedAccountsForOrganizationResponse; - export type Error = InvalidPaginationToken | CommonAwsError; + export type Error = + | InvalidPaginationToken + | CommonAwsError; } export declare namespace DescribeAffectedEntities { @@ -481,31 +479,39 @@ export declare namespace DescribeAffectedEntitiesForOrganization { export declare namespace DescribeEntityAggregates { export type Input = DescribeEntityAggregatesRequest; export type Output = DescribeEntityAggregatesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEntityAggregatesForOrganization { export type Input = DescribeEntityAggregatesForOrganizationRequest; export type Output = DescribeEntityAggregatesForOrganizationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventAggregates { export type Input = DescribeEventAggregatesRequest; export type Output = DescribeEventAggregatesResponse; - export type Error = InvalidPaginationToken | CommonAwsError; + export type Error = + | InvalidPaginationToken + | CommonAwsError; } export declare namespace DescribeEventDetails { export type Input = DescribeEventDetailsRequest; export type Output = DescribeEventDetailsResponse; - export type Error = UnsupportedLocale | CommonAwsError; + export type Error = + | UnsupportedLocale + | CommonAwsError; } export declare namespace DescribeEventDetailsForOrganization { export type Input = DescribeEventDetailsForOrganizationRequest; export type Output = DescribeEventDetailsForOrganizationResponse; - export type Error = UnsupportedLocale | CommonAwsError; + export type Error = + | UnsupportedLocale + | CommonAwsError; } export declare namespace DescribeEvents { @@ -538,23 +544,25 @@ export declare namespace DescribeEventTypes { export declare namespace DescribeHealthServiceStatusForOrganization { export type Input = {}; export type Output = DescribeHealthServiceStatusForOrganizationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisableHealthServiceAccessForOrganization { export type Input = {}; export type Output = {}; - export type Error = ConcurrentModificationException | CommonAwsError; + export type Error = + | ConcurrentModificationException + | CommonAwsError; } export declare namespace EnableHealthServiceAccessForOrganization { export type Input = {}; export type Output = {}; - export type Error = ConcurrentModificationException | CommonAwsError; + export type Error = + | ConcurrentModificationException + | CommonAwsError; } -export type HealthErrors = - | ConcurrentModificationException - | InvalidPaginationToken - | UnsupportedLocale - | CommonAwsError; +export type HealthErrors = ConcurrentModificationException | InvalidPaginationToken | UnsupportedLocale | CommonAwsError; + diff --git a/src/services/healthlake/index.ts b/src/services/healthlake/index.ts index 570feb28..45298912 100644 --- a/src/services/healthlake/index.ts +++ b/src/services/healthlake/index.ts @@ -5,23 +5,7 @@ import type { HealthLake as _HealthLakeClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/healthlake/types.ts b/src/services/healthlake/types.ts index e94079cd..f2e5ec81 100644 --- a/src/services/healthlake/types.ts +++ b/src/services/healthlake/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class HealthLake extends AWSServiceClient { @@ -40,84 +8,49 @@ export declare class HealthLake extends AWSServiceClient { input: CreateFHIRDatastoreRequest, ): Effect.Effect< CreateFHIRDatastoreResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteFHIRDatastore( input: DeleteFHIRDatastoreRequest, ): Effect.Effect< DeleteFHIRDatastoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeFHIRDatastore( input: DescribeFHIRDatastoreRequest, ): Effect.Effect< DescribeFHIRDatastoreResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeFHIRExportJob( input: DescribeFHIRExportJobRequest, ): Effect.Effect< DescribeFHIRExportJobResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeFHIRImportJob( input: DescribeFHIRImportJobRequest, ): Effect.Effect< DescribeFHIRImportJobResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFHIRDatastores( input: ListFHIRDatastoresRequest, ): Effect.Effect< ListFHIRDatastoresResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listFHIRExportJobs( input: ListFHIRExportJobsRequest, ): Effect.Effect< ListFHIRExportJobsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFHIRImportJobs( input: ListFHIRImportJobsRequest, ): Effect.Effect< ListFHIRImportJobsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, @@ -129,23 +62,13 @@ export declare class HealthLake extends AWSServiceClient { input: StartFHIRExportJobRequest, ): Effect.Effect< StartFHIRExportJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startFHIRImportJob( input: StartFHIRImportJobRequest, ): Effect.Effect< StartFHIRImportJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, @@ -170,10 +93,7 @@ export declare class AccessDeniedException extends EffectData.TaggedError( }> {} export type AmazonResourceName = string; -export type AuthorizationStrategy = - | "SMART_ON_FHIR_V1" - | "SMART_ON_FHIR" - | "AWS_AUTH"; +export type AuthorizationStrategy = "SMART_ON_FHIR_V1" | "SMART_ON_FHIR" | "AWS_AUTH"; export type HealthlakeBoolean = boolean; export type BoundedLengthString = string; @@ -229,12 +149,7 @@ export interface DatastoreProperties { ErrorCause?: ErrorCause; } export type DatastorePropertiesList = Array; -export type DatastoreStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "DELETED" - | "CREATE_FAILED"; +export type DatastoreStatus = "CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "CREATE_FAILED"; export interface DeleteFHIRDatastoreRequest { DatastoreId: string; } @@ -317,7 +232,7 @@ interface _InputDataConfig { S3Uri?: string; } -export type InputDataConfig = _InputDataConfig & { S3Uri: string }; +export type InputDataConfig = (_InputDataConfig & { S3Uri: string }); export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", )<{ @@ -337,17 +252,7 @@ export interface JobProgressReport { TotalNumberOfFilesReadWithCustomerError?: number; Throughput?: number; } -export type JobStatus = - | "SUBMITTED" - | "QUEUED" - | "IN_PROGRESS" - | "COMPLETED_WITH_ERRORS" - | "COMPLETED" - | "FAILED" - | "CANCEL_SUBMITTED" - | "CANCEL_IN_PROGRESS" - | "CANCEL_COMPLETED" - | "CANCEL_FAILED"; +export type JobStatus = "SUBMITTED" | "QUEUED" | "IN_PROGRESS" | "COMPLETED_WITH_ERRORS" | "COMPLETED" | "FAILED" | "CANCEL_SUBMITTED" | "CANCEL_IN_PROGRESS" | "CANCEL_COMPLETED" | "CANCEL_FAILED"; export interface KmsEncryptionConfig { CmkType: CmkType; KmsKeyId?: string; @@ -405,9 +310,7 @@ interface _OutputDataConfig { S3Configuration?: S3Configuration; } -export type OutputDataConfig = _OutputDataConfig & { - S3Configuration: S3Configuration; -}; +export type OutputDataConfig = (_OutputDataConfig & { S3Configuration: S3Configuration }); export interface PreloadDataConfig { PreloadDataType: PreloadDataType; } @@ -466,7 +369,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -480,7 +384,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -629,11 +534,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type HealthLakeErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type HealthLakeErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/iam/index.ts b/src/services/iam/index.ts index 41eece53..2f20fc64 100644 --- a/src/services/iam/index.ts +++ b/src/services/iam/index.ts @@ -6,26 +6,7 @@ import type { IAM as _IAMClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -49,10 +30,6 @@ export const IAM = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _IAMClient; diff --git a/src/services/iam/types.ts b/src/services/iam/types.ts index a2e1d4dd..3828cb9b 100644 --- a/src/services/iam/types.ts +++ b/src/services/iam/types.ts @@ -7,423 +7,253 @@ export declare class IAM extends AWSServiceClient { input: AddClientIDToOpenIDConnectProviderRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; addRoleToInstanceProfile( input: AddRoleToInstanceProfileRequest, ): Effect.Effect< {}, - | EntityAlreadyExistsException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + EntityAlreadyExistsException | LimitExceededException | NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; addUserToGroup( input: AddUserToGroupRequest, ): Effect.Effect< {}, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; attachGroupPolicy( input: AttachGroupPolicyRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | PolicyNotAttachableException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | PolicyNotAttachableException | ServiceFailureException | CommonAwsError >; attachRolePolicy( input: AttachRolePolicyRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | PolicyNotAttachableException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | PolicyNotAttachableException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; attachUserPolicy( input: AttachUserPolicyRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | PolicyNotAttachableException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | PolicyNotAttachableException | ServiceFailureException | CommonAwsError >; changePassword( input: ChangePasswordRequest, ): Effect.Effect< {}, - | EntityTemporarilyUnmodifiableException - | InvalidUserTypeException - | LimitExceededException - | NoSuchEntityException - | PasswordPolicyViolationException - | ServiceFailureException - | CommonAwsError + EntityTemporarilyUnmodifiableException | InvalidUserTypeException | LimitExceededException | NoSuchEntityException | PasswordPolicyViolationException | ServiceFailureException | CommonAwsError >; createAccessKey( input: CreateAccessKeyRequest, ): Effect.Effect< CreateAccessKeyResponse, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; createAccountAlias( input: CreateAccountAliasRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | EntityAlreadyExistsException - | LimitExceededException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | LimitExceededException | ServiceFailureException | CommonAwsError >; createGroup( input: CreateGroupRequest, ): Effect.Effect< CreateGroupResponse, - | EntityAlreadyExistsException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + EntityAlreadyExistsException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; createInstanceProfile( input: CreateInstanceProfileRequest, ): Effect.Effect< CreateInstanceProfileResponse, - | ConcurrentModificationException - | EntityAlreadyExistsException - | InvalidInputException - | LimitExceededException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | InvalidInputException | LimitExceededException | ServiceFailureException | CommonAwsError >; createLoginProfile( input: CreateLoginProfileRequest, ): Effect.Effect< CreateLoginProfileResponse, - | EntityAlreadyExistsException - | LimitExceededException - | NoSuchEntityException - | PasswordPolicyViolationException - | ServiceFailureException - | CommonAwsError + EntityAlreadyExistsException | LimitExceededException | NoSuchEntityException | PasswordPolicyViolationException | ServiceFailureException | CommonAwsError >; createOpenIDConnectProvider( input: CreateOpenIDConnectProviderRequest, ): Effect.Effect< CreateOpenIDConnectProviderResponse, - | ConcurrentModificationException - | EntityAlreadyExistsException - | InvalidInputException - | LimitExceededException - | OpenIdIdpCommunicationErrorException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | InvalidInputException | LimitExceededException | OpenIdIdpCommunicationErrorException | ServiceFailureException | CommonAwsError >; createPolicy( input: CreatePolicyRequest, ): Effect.Effect< CreatePolicyResponse, - | ConcurrentModificationException - | EntityAlreadyExistsException - | InvalidInputException - | LimitExceededException - | MalformedPolicyDocumentException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | InvalidInputException | LimitExceededException | MalformedPolicyDocumentException | ServiceFailureException | CommonAwsError >; createPolicyVersion( input: CreatePolicyVersionRequest, ): Effect.Effect< CreatePolicyVersionResponse, - | InvalidInputException - | LimitExceededException - | MalformedPolicyDocumentException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | MalformedPolicyDocumentException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; createRole( input: CreateRoleRequest, ): Effect.Effect< CreateRoleResponse, - | ConcurrentModificationException - | EntityAlreadyExistsException - | InvalidInputException - | LimitExceededException - | MalformedPolicyDocumentException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | InvalidInputException | LimitExceededException | MalformedPolicyDocumentException | ServiceFailureException | CommonAwsError >; createSAMLProvider( input: CreateSAMLProviderRequest, ): Effect.Effect< CreateSAMLProviderResponse, - | ConcurrentModificationException - | EntityAlreadyExistsException - | InvalidInputException - | LimitExceededException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | InvalidInputException | LimitExceededException | ServiceFailureException | CommonAwsError >; createServiceLinkedRole( input: CreateServiceLinkedRoleRequest, ): Effect.Effect< CreateServiceLinkedRoleResponse, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; createServiceSpecificCredential( input: CreateServiceSpecificCredentialRequest, ): Effect.Effect< CreateServiceSpecificCredentialResponse, - | LimitExceededException - | NoSuchEntityException - | ServiceNotSupportedException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceNotSupportedException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | ConcurrentModificationException - | EntityAlreadyExistsException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; createVirtualMFADevice( input: CreateVirtualMFADeviceRequest, ): Effect.Effect< CreateVirtualMFADeviceResponse, - | ConcurrentModificationException - | EntityAlreadyExistsException - | InvalidInputException - | LimitExceededException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | InvalidInputException | LimitExceededException | ServiceFailureException | CommonAwsError >; deactivateMFADevice( input: DeactivateMFADeviceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | EntityTemporarilyUnmodifiableException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityTemporarilyUnmodifiableException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteAccessKey( input: DeleteAccessKeyRequest, ): Effect.Effect< {}, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteAccountAlias( input: DeleteAccountAliasRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; - deleteAccountPasswordPolicy(input: {}): Effect.Effect< + deleteAccountPasswordPolicy( + input: {}, + ): Effect.Effect< {}, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteGroup( input: DeleteGroupRequest, ): Effect.Effect< {}, - | DeleteConflictException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + DeleteConflictException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteGroupPolicy( input: DeleteGroupPolicyRequest, ): Effect.Effect< {}, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteInstanceProfile( input: DeleteInstanceProfileRequest, ): Effect.Effect< {}, - | DeleteConflictException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + DeleteConflictException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteLoginProfile( input: DeleteLoginProfileRequest, ): Effect.Effect< {}, - | EntityTemporarilyUnmodifiableException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + EntityTemporarilyUnmodifiableException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteOpenIDConnectProvider( input: DeleteOpenIDConnectProviderRequest, ): Effect.Effect< {}, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deletePolicy( input: DeletePolicyRequest, ): Effect.Effect< {}, - | DeleteConflictException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + DeleteConflictException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deletePolicyVersion( input: DeletePolicyVersionRequest, ): Effect.Effect< {}, - | DeleteConflictException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + DeleteConflictException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteRole( input: DeleteRoleRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | DeleteConflictException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + ConcurrentModificationException | DeleteConflictException | LimitExceededException | NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; deleteRolePermissionsBoundary( input: DeleteRolePermissionsBoundaryRequest, ): Effect.Effect< {}, - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; deleteRolePolicy( input: DeleteRolePolicyRequest, ): Effect.Effect< {}, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; deleteSAMLProvider( input: DeleteSAMLProviderRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteServerCertificate( input: DeleteServerCertificateRequest, ): Effect.Effect< {}, - | DeleteConflictException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + DeleteConflictException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteServiceLinkedRole( input: DeleteServiceLinkedRoleRequest, ): Effect.Effect< DeleteServiceLinkedRoleResponse, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteServiceSpecificCredential( input: DeleteServiceSpecificCredentialRequest, - ): Effect.Effect<{}, NoSuchEntityException | CommonAwsError>; + ): Effect.Effect< + {}, + NoSuchEntityException | CommonAwsError + >; deleteSigningCertificate( input: DeleteSigningCertificateRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteSSHPublicKey( input: DeleteSSHPublicKeyRequest, - ): Effect.Effect<{}, NoSuchEntityException | CommonAwsError>; + ): Effect.Effect< + {}, + NoSuchEntityException | CommonAwsError + >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | DeleteConflictException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | DeleteConflictException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteUserPermissionsBoundary( input: DeleteUserPermissionsBoundaryRequest, @@ -435,109 +265,65 @@ export declare class IAM extends AWSServiceClient { input: DeleteUserPolicyRequest, ): Effect.Effect< {}, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; deleteVirtualMFADevice( input: DeleteVirtualMFADeviceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | DeleteConflictException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | DeleteConflictException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; detachGroupPolicy( input: DetachGroupPolicyRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; detachRolePolicy( input: DetachRolePolicyRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; detachUserPolicy( input: DetachUserPolicyRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; disableOrganizationsRootCredentialsManagement( input: DisableOrganizationsRootCredentialsManagementRequest, ): Effect.Effect< DisableOrganizationsRootCredentialsManagementResponse, - | AccountNotManagementOrDelegatedAdministratorException - | OrganizationNotFoundException - | OrganizationNotInAllFeaturesModeException - | ServiceAccessNotEnabledException - | CommonAwsError + AccountNotManagementOrDelegatedAdministratorException | OrganizationNotFoundException | OrganizationNotInAllFeaturesModeException | ServiceAccessNotEnabledException | CommonAwsError >; disableOrganizationsRootSessions( input: DisableOrganizationsRootSessionsRequest, ): Effect.Effect< DisableOrganizationsRootSessionsResponse, - | AccountNotManagementOrDelegatedAdministratorException - | OrganizationNotFoundException - | OrganizationNotInAllFeaturesModeException - | ServiceAccessNotEnabledException - | CommonAwsError + AccountNotManagementOrDelegatedAdministratorException | OrganizationNotFoundException | OrganizationNotInAllFeaturesModeException | ServiceAccessNotEnabledException | CommonAwsError >; enableMFADevice( input: EnableMFADeviceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | EntityAlreadyExistsException - | EntityTemporarilyUnmodifiableException - | InvalidAuthenticationCodeException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | EntityTemporarilyUnmodifiableException | InvalidAuthenticationCodeException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; enableOrganizationsRootCredentialsManagement( input: EnableOrganizationsRootCredentialsManagementRequest, ): Effect.Effect< EnableOrganizationsRootCredentialsManagementResponse, - | AccountNotManagementOrDelegatedAdministratorException - | CallerIsNotManagementAccountException - | OrganizationNotFoundException - | OrganizationNotInAllFeaturesModeException - | ServiceAccessNotEnabledException - | CommonAwsError + AccountNotManagementOrDelegatedAdministratorException | CallerIsNotManagementAccountException | OrganizationNotFoundException | OrganizationNotInAllFeaturesModeException | ServiceAccessNotEnabledException | CommonAwsError >; enableOrganizationsRootSessions( input: EnableOrganizationsRootSessionsRequest, ): Effect.Effect< EnableOrganizationsRootSessionsResponse, - | AccountNotManagementOrDelegatedAdministratorException - | CallerIsNotManagementAccountException - | OrganizationNotFoundException - | OrganizationNotInAllFeaturesModeException - | ServiceAccessNotEnabledException - | CommonAwsError + AccountNotManagementOrDelegatedAdministratorException | CallerIsNotManagementAccountException | OrganizationNotFoundException | OrganizationNotInAllFeaturesModeException | ServiceAccessNotEnabledException | CommonAwsError >; - generateCredentialReport(input: {}): Effect.Effect< + generateCredentialReport( + input: {}, + ): Effect.Effect< GenerateCredentialReportResponse, LimitExceededException | ServiceFailureException | CommonAwsError >; @@ -555,18 +341,25 @@ export declare class IAM extends AWSServiceClient { >; getAccessKeyLastUsed( input: GetAccessKeyLastUsedRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessKeyLastUsedResponse, + CommonAwsError + >; getAccountAuthorizationDetails( input: GetAccountAuthorizationDetailsRequest, ): Effect.Effect< GetAccountAuthorizationDetailsResponse, ServiceFailureException | CommonAwsError >; - getAccountPasswordPolicy(input: {}): Effect.Effect< + getAccountPasswordPolicy( + input: {}, + ): Effect.Effect< GetAccountPasswordPolicyResponse, NoSuchEntityException | ServiceFailureException | CommonAwsError >; - getAccountSummary(input: {}): Effect.Effect< + getAccountSummary( + input: {}, + ): Effect.Effect< GetAccountSummaryResponse, ServiceFailureException | CommonAwsError >; @@ -582,13 +375,11 @@ export declare class IAM extends AWSServiceClient { GetContextKeysForPolicyResponse, InvalidInputException | NoSuchEntityException | CommonAwsError >; - getCredentialReport(input: {}): Effect.Effect< + getCredentialReport( + input: {}, + ): Effect.Effect< GetCredentialReportResponse, - | CredentialReportExpiredException - | CredentialReportNotPresentException - | CredentialReportNotReadyException - | ServiceFailureException - | CommonAwsError + CredentialReportExpiredException | CredentialReportNotPresentException | CredentialReportNotReadyException | ServiceFailureException | CommonAwsError >; getGroup( input: GetGroupRequest, @@ -624,10 +415,7 @@ export declare class IAM extends AWSServiceClient { input: GetOpenIDConnectProviderRequest, ): Effect.Effect< GetOpenIDConnectProviderResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; getOrganizationsAccessReport( input: GetOrganizationsAccessReportRequest, @@ -639,29 +427,19 @@ export declare class IAM extends AWSServiceClient { input: GetPolicyRequest, ): Effect.Effect< GetPolicyResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | NoSuchEntity - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | NoSuchEntity | CommonAwsError >; getPolicyVersion( input: GetPolicyVersionRequest, ): Effect.Effect< GetPolicyVersionResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; getRole( input: GetRoleRequest, ): Effect.Effect< GetRoleResponse, - | NoSuchEntityException - | ServiceFailureException - | NoSuchEntity - | CommonAwsError + NoSuchEntityException | ServiceFailureException | NoSuchEntity | CommonAwsError >; getRolePolicy( input: GetRolePolicyRequest, @@ -673,10 +451,7 @@ export declare class IAM extends AWSServiceClient { input: GetSAMLProviderRequest, ): Effect.Effect< GetSAMLProviderResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; getServerCertificate( input: GetServerCertificateRequest, @@ -700,27 +475,19 @@ export declare class IAM extends AWSServiceClient { input: GetServiceLinkedRoleDeletionStatusRequest, ): Effect.Effect< GetServiceLinkedRoleDeletionStatusResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; getSSHPublicKey( input: GetSSHPublicKeyRequest, ): Effect.Effect< GetSSHPublicKeyResponse, - | NoSuchEntityException - | UnrecognizedPublicKeyEncodingException - | CommonAwsError + NoSuchEntityException | UnrecognizedPublicKeyEncodingException | CommonAwsError >; getUser( input: GetUserRequest, ): Effect.Effect< GetUserResponse, - | NoSuchEntityException - | ServiceFailureException - | NoSuchEntity - | CommonAwsError + NoSuchEntityException | ServiceFailureException | NoSuchEntity | CommonAwsError >; getUserPolicy( input: GetUserPolicyRequest, @@ -744,37 +511,25 @@ export declare class IAM extends AWSServiceClient { input: ListAttachedGroupPoliciesRequest, ): Effect.Effect< ListAttachedGroupPoliciesResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; listAttachedRolePolicies( input: ListAttachedRolePoliciesRequest, ): Effect.Effect< ListAttachedRolePoliciesResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; listAttachedUserPolicies( input: ListAttachedUserPoliciesRequest, ): Effect.Effect< ListAttachedUserPoliciesResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; listEntitiesForPolicy( input: ListEntitiesForPolicyRequest, ): Effect.Effect< ListEntitiesForPolicyResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; listGroupPolicies( input: ListGroupPoliciesRequest, @@ -822,10 +577,7 @@ export declare class IAM extends AWSServiceClient { input: ListMFADeviceTagsRequest, ): Effect.Effect< ListMFADeviceTagsResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; listOpenIDConnectProviders( input: ListOpenIDConnectProvidersRequest, @@ -837,20 +589,13 @@ export declare class IAM extends AWSServiceClient { input: ListOpenIDConnectProviderTagsRequest, ): Effect.Effect< ListOpenIDConnectProviderTagsResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; listOrganizationsFeatures( input: ListOrganizationsFeaturesRequest, ): Effect.Effect< ListOrganizationsFeaturesResponse, - | AccountNotManagementOrDelegatedAdministratorException - | OrganizationNotFoundException - | OrganizationNotInAllFeaturesModeException - | ServiceAccessNotEnabledException - | CommonAwsError + AccountNotManagementOrDelegatedAdministratorException | OrganizationNotFoundException | OrganizationNotInAllFeaturesModeException | ServiceAccessNotEnabledException | CommonAwsError >; listPolicies( input: ListPoliciesRequest, @@ -868,19 +613,13 @@ export declare class IAM extends AWSServiceClient { input: ListPolicyTagsRequest, ): Effect.Effect< ListPolicyTagsResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; listPolicyVersions( input: ListPolicyVersionsRequest, ): Effect.Effect< ListPolicyVersionsResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; listRolePolicies( input: ListRolePoliciesRequest, @@ -890,7 +629,10 @@ export declare class IAM extends AWSServiceClient { >; listRoles( input: ListRolesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListRolesResponse, + ServiceFailureException | CommonAwsError + >; listRoleTags( input: ListRoleTagsRequest, ): Effect.Effect< @@ -907,10 +649,7 @@ export declare class IAM extends AWSServiceClient { input: ListSAMLProviderTagsRequest, ): Effect.Effect< ListSAMLProviderTagsResponse, - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; listServerCertificates( input: ListServerCertificatesRequest, @@ -950,7 +689,10 @@ export declare class IAM extends AWSServiceClient { >; listUsers( input: ListUsersRequest, - ): Effect.Effect; + ): Effect.Effect< + ListUsersResponse, + ServiceFailureException | CommonAwsError + >; listUserTags( input: ListUserTagsRequest, ): Effect.Effect< @@ -959,87 +701,57 @@ export declare class IAM extends AWSServiceClient { >; listVirtualMFADevices( input: ListVirtualMFADevicesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListVirtualMFADevicesResponse, + CommonAwsError + >; putGroupPolicy( input: PutGroupPolicyRequest, ): Effect.Effect< {}, - | LimitExceededException - | MalformedPolicyDocumentException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | MalformedPolicyDocumentException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; putRolePermissionsBoundary( input: PutRolePermissionsBoundaryRequest, ): Effect.Effect< {}, - | InvalidInputException - | NoSuchEntityException - | PolicyNotAttachableException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + InvalidInputException | NoSuchEntityException | PolicyNotAttachableException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; - putRolePolicy( - input: PutRolePolicyRequest, - ): Effect.Effect< - {}, - | LimitExceededException - | MalformedPolicyDocumentException - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + putRolePolicy( + input: PutRolePolicyRequest, + ): Effect.Effect< + {}, + LimitExceededException | MalformedPolicyDocumentException | NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; putUserPermissionsBoundary( input: PutUserPermissionsBoundaryRequest, ): Effect.Effect< {}, - | InvalidInputException - | NoSuchEntityException - | PolicyNotAttachableException - | ServiceFailureException - | CommonAwsError + InvalidInputException | NoSuchEntityException | PolicyNotAttachableException | ServiceFailureException | CommonAwsError >; putUserPolicy( input: PutUserPolicyRequest, ): Effect.Effect< {}, - | LimitExceededException - | MalformedPolicyDocumentException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | MalformedPolicyDocumentException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; removeClientIDFromOpenIDConnectProvider( input: RemoveClientIDFromOpenIDConnectProviderRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; removeRoleFromInstanceProfile( input: RemoveRoleFromInstanceProfileRequest, ): Effect.Effect< {}, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; removeUserFromGroup( input: RemoveUserFromGroupRequest, ): Effect.Effect< {}, - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; resetServiceSpecificCredential( input: ResetServiceSpecificCredentialRequest, @@ -1051,26 +763,20 @@ export declare class IAM extends AWSServiceClient { input: ResyncMFADeviceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidAuthenticationCodeException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidAuthenticationCodeException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; setDefaultPolicyVersion( input: SetDefaultPolicyVersionRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; setSecurityTokenServicePreferences( input: SetSecurityTokenServicePreferencesRequest, - ): Effect.Effect<{}, ServiceFailureException | CommonAwsError>; + ): Effect.Effect< + {}, + ServiceFailureException | CommonAwsError + >; simulateCustomPolicy( input: SimulateCustomPolicyRequest, ): Effect.Effect< @@ -1081,290 +787,175 @@ export declare class IAM extends AWSServiceClient { input: SimulatePrincipalPolicyRequest, ): Effect.Effect< SimulatePolicyResponse, - | InvalidInputException - | NoSuchEntityException - | PolicyEvaluationException - | CommonAwsError + InvalidInputException | NoSuchEntityException | PolicyEvaluationException | CommonAwsError >; tagInstanceProfile( input: TagInstanceProfileRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; tagMFADevice( input: TagMFADeviceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; tagOpenIDConnectProvider( input: TagOpenIDConnectProviderRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; tagPolicy( input: TagPolicyRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; tagRole( input: TagRoleRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; tagSAMLProvider( input: TagSAMLProviderRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; tagServerCertificate( input: TagServerCertificateRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; tagUser( input: TagUserRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; untagInstanceProfile( input: UntagInstanceProfileRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; untagMFADevice( input: UntagMFADeviceRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; untagOpenIDConnectProvider( input: UntagOpenIDConnectProviderRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; untagPolicy( input: UntagPolicyRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; untagRole( input: UntagRoleRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; untagSAMLProvider( input: UntagSAMLProviderRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; untagServerCertificate( input: UntagServerCertificateRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; untagUser( input: UntagUserRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; updateAccessKey( input: UpdateAccessKeyRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; updateAccountPasswordPolicy( input: UpdateAccountPasswordPolicyRequest, ): Effect.Effect< {}, - | LimitExceededException - | MalformedPolicyDocumentException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + LimitExceededException | MalformedPolicyDocumentException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; updateAssumeRolePolicy( input: UpdateAssumeRolePolicyRequest, ): Effect.Effect< {}, - | LimitExceededException - | MalformedPolicyDocumentException - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + LimitExceededException | MalformedPolicyDocumentException | NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; updateGroup( input: UpdateGroupRequest, ): Effect.Effect< {}, - | EntityAlreadyExistsException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + EntityAlreadyExistsException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; updateLoginProfile( input: UpdateLoginProfileRequest, ): Effect.Effect< {}, - | EntityTemporarilyUnmodifiableException - | LimitExceededException - | NoSuchEntityException - | PasswordPolicyViolationException - | ServiceFailureException - | CommonAwsError + EntityTemporarilyUnmodifiableException | LimitExceededException | NoSuchEntityException | PasswordPolicyViolationException | ServiceFailureException | CommonAwsError >; updateOpenIDConnectProviderThumbprint( input: UpdateOpenIDConnectProviderThumbprintRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | InvalidInputException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; updateRole( input: UpdateRoleRequest, ): Effect.Effect< UpdateRoleResponse, - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; updateRoleDescription( input: UpdateRoleDescriptionRequest, ): Effect.Effect< UpdateRoleDescriptionResponse, - | NoSuchEntityException - | ServiceFailureException - | UnmodifiableEntityException - | CommonAwsError + NoSuchEntityException | ServiceFailureException | UnmodifiableEntityException | CommonAwsError >; updateSAMLProvider( input: UpdateSAMLProviderRequest, ): Effect.Effect< UpdateSAMLProviderResponse, - | ConcurrentModificationException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; updateServerCertificate( input: UpdateServerCertificateRequest, ): Effect.Effect< {}, - | EntityAlreadyExistsException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + EntityAlreadyExistsException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; updateServiceSpecificCredential( input: UpdateServiceSpecificCredentialRequest, - ): Effect.Effect<{}, NoSuchEntityException | CommonAwsError>; + ): Effect.Effect< + {}, + NoSuchEntityException | CommonAwsError + >; updateSigningCertificate( input: UpdateSigningCertificateRequest, ): Effect.Effect< {}, - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; updateSSHPublicKey( input: UpdateSSHPublicKeyRequest, @@ -1376,59 +967,31 @@ export declare class IAM extends AWSServiceClient { input: UpdateUserRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | EntityAlreadyExistsException - | EntityTemporarilyUnmodifiableException - | LimitExceededException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | EntityTemporarilyUnmodifiableException | LimitExceededException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; uploadServerCertificate( input: UploadServerCertificateRequest, ): Effect.Effect< UploadServerCertificateResponse, - | ConcurrentModificationException - | EntityAlreadyExistsException - | InvalidInputException - | KeyPairMismatchException - | LimitExceededException - | MalformedCertificateException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | EntityAlreadyExistsException | InvalidInputException | KeyPairMismatchException | LimitExceededException | MalformedCertificateException | ServiceFailureException | CommonAwsError >; uploadSigningCertificate( input: UploadSigningCertificateRequest, ): Effect.Effect< UploadSigningCertificateResponse, - | ConcurrentModificationException - | DuplicateCertificateException - | EntityAlreadyExistsException - | InvalidCertificateException - | LimitExceededException - | MalformedCertificateException - | NoSuchEntityException - | ServiceFailureException - | CommonAwsError + ConcurrentModificationException | DuplicateCertificateException | EntityAlreadyExistsException | InvalidCertificateException | LimitExceededException | MalformedCertificateException | NoSuchEntityException | ServiceFailureException | CommonAwsError >; uploadSSHPublicKey( input: UploadSSHPublicKeyRequest, ): Effect.Effect< UploadSSHPublicKeyResponse, - | DuplicateSSHPublicKeyException - | InvalidPublicKeyException - | LimitExceededException - | NoSuchEntityException - | UnrecognizedPublicKeyEncodingException - | CommonAwsError + DuplicateSSHPublicKeyException | InvalidPublicKeyException | LimitExceededException | NoSuchEntityException | UnrecognizedPublicKeyEncodingException | CommonAwsError >; } export declare class Iam extends IAM {} -export type AccessAdvisorUsageGranularityType = - | "SERVICE_LEVEL" - | "ACTION_LEVEL"; +export type AccessAdvisorUsageGranularityType = "SERVICE_LEVEL" | "ACTION_LEVEL"; export interface AccessDetail { ServiceName: string; ServiceNamespace: string; @@ -1564,19 +1127,7 @@ export type ContextEntryListType = Array; export type ContextKeyNamesResultListType = Array; export type ContextKeyNameType = string; -export type ContextKeyTypeEnum = - | "string" - | "stringList" - | "numeric" - | "numericList" - | "boolean" - | "booleanList" - | "ip" - | "ipList" - | "binary" - | "binaryList" - | "date" - | "dateList"; +export type ContextKeyTypeEnum = "string" | "stringList" | "numeric" | "numericList" | "boolean" | "booleanList" | "ip" | "ipList" | "binary" | "binaryList" | "date" | "dateList"; export type ContextKeyValueListType = Array; export type ContextKeyValueType = string; @@ -1817,11 +1368,7 @@ export interface DeletionTaskFailureReasonType { } export type DeletionTaskIdType = string; -export type DeletionTaskStatusType = - | "SUCCEEDED" - | "IN_PROGRESS" - | "FAILED" - | "NOT_STARTED"; +export type DeletionTaskStatusType = "SUCCEEDED" | "IN_PROGRESS" | "FAILED" | "NOT_STARTED"; export interface DetachGroupPolicyRequest { GroupName: string; PolicyArn: string; @@ -1834,12 +1381,14 @@ export interface DetachUserPolicyRequest { UserName: string; PolicyArn: string; } -export interface DisableOrganizationsRootCredentialsManagementRequest {} +export interface DisableOrganizationsRootCredentialsManagementRequest { +} export interface DisableOrganizationsRootCredentialsManagementResponse { OrganizationId?: string; EnabledFeatures?: Array; } -export interface DisableOrganizationsRootSessionsRequest {} +export interface DisableOrganizationsRootSessionsRequest { +} export interface DisableOrganizationsRootSessionsResponse { OrganizationId?: string; EnabledFeatures?: Array; @@ -1864,12 +1413,14 @@ export interface EnableMFADeviceRequest { AuthenticationCode1: string; AuthenticationCode2: string; } -export interface EnableOrganizationsRootCredentialsManagementRequest {} +export interface EnableOrganizationsRootCredentialsManagementRequest { +} export interface EnableOrganizationsRootCredentialsManagementResponse { OrganizationId?: string; EnabledFeatures?: Array; } -export interface EnableOrganizationsRootSessionsRequest {} +export interface EnableOrganizationsRootSessionsRequest { +} export interface EnableOrganizationsRootSessionsResponse { OrganizationId?: string; EnabledFeatures?: Array; @@ -1904,20 +1455,12 @@ export declare class EntityTemporarilyUnmodifiableException extends EffectData.T }> {} export type entityTemporarilyUnmodifiableMessage = string; -export type EntityType = - | "User" - | "Role" - | "Group" - | "LocalManagedPolicy" - | "AWSManagedPolicy"; +export type EntityType = "User" | "Role" | "Group" | "LocalManagedPolicy" | "AWSManagedPolicy"; export interface ErrorDetails { Message: string; Code: string; } -export type EvalDecisionDetailsType = Record< - string, - PolicyEvaluationDecisionType ->; +export type EvalDecisionDetailsType = Record; export type EvalDecisionSourceType = string; export interface EvaluationResult { @@ -2411,7 +1954,8 @@ export interface ListMFADeviceTagsResponse { IsTruncated?: boolean; Marker?: string; } -export interface ListOpenIDConnectProvidersRequest {} +export interface ListOpenIDConnectProvidersRequest { +} export interface ListOpenIDConnectProvidersResponse { OpenIDConnectProviderList?: Array; } @@ -2425,7 +1969,8 @@ export interface ListOpenIDConnectProviderTagsResponse { IsTruncated?: boolean; Marker?: string; } -export interface ListOrganizationsFeaturesRequest {} +export interface ListOrganizationsFeaturesRequest { +} export interface ListOrganizationsFeaturesResponse { OrganizationId?: string; EnabledFeatures?: Array; @@ -2457,8 +2002,7 @@ export interface ListPoliciesResponse { IsTruncated?: boolean; Marker?: string; } -export type listPolicyGrantingServiceAccessResponseListType = - Array; +export type listPolicyGrantingServiceAccessResponseListType = Array; export interface ListPolicyTagsRequest { PolicyArn: string; Marker?: string; @@ -2509,7 +2053,8 @@ export interface ListRoleTagsResponse { IsTruncated?: boolean; Marker?: string; } -export interface ListSAMLProvidersRequest {} +export interface ListSAMLProvidersRequest { +} export interface ListSAMLProvidersResponse { SAMLProviderList?: Array; } @@ -2673,8 +2218,7 @@ export type noSuchEntityMessage = string; export interface OpenIDConnectProviderListEntry { Arn?: string; } -export type OpenIDConnectProviderListType = - Array; +export type OpenIDConnectProviderListType = Array; export type OpenIDConnectProviderUrlType = string; export declare class OpenIdIdpCommunicationErrorException extends EffectData.TaggedError( @@ -2758,10 +2302,7 @@ export type policyDetailListType = Array; export type policyDocumentType = string; export type policyDocumentVersionListType = Array; -export type PolicyEvaluationDecisionType = - | "allowed" - | "explicitDeny" - | "implicitDeny"; +export type PolicyEvaluationDecisionType = "allowed" | "explicitDeny" | "implicitDeny"; export type policyEvaluationErrorMessage = string; export declare class PolicyEvaluationException extends EffectData.TaggedError( @@ -2776,8 +2317,7 @@ export interface PolicyGrantingServiceAccess { EntityType?: policyOwnerEntityType; EntityName?: string; } -export type policyGrantingServiceAccessListType = - Array; +export type policyGrantingServiceAccessListType = Array; export interface PolicyGroup { GroupName?: string; GroupId?: string; @@ -2805,14 +2345,7 @@ export interface PolicyRole { } export type PolicyRoleListType = Array; export type policyScopeType = "All" | "AWS" | "Local"; -export type PolicySourceType = - | "user" - | "group" - | "role" - | "aws-managed" - | "user-managed" - | "resource" - | "none"; +export type PolicySourceType = "user" | "group" | "role" | "aws-managed" | "user-managed" | "resource" | "none"; export type policyType = "INLINE" | "MANAGED"; export type PolicyUsageType = "PermissionsPolicy" | "PermissionsBoundary"; export interface PolicyUser { @@ -2998,8 +2531,7 @@ export interface ServerCertificateMetadata { UploadDate?: Date | string; Expiration?: Date | string; } -export type serverCertificateMetadataListType = - Array; +export type serverCertificateMetadataListType = Array; export type serverCertificateNameType = string; export declare class ServiceAccessNotEnabledException extends EffectData.TaggedError( @@ -3068,8 +2600,7 @@ export interface ServiceSpecificCredentialMetadata { ServiceSpecificCredentialId: string; ServiceName: string; } -export type ServiceSpecificCredentialsListType = - Array; +export type ServiceSpecificCredentialsListType = Array; export type serviceUserName = string; export interface SetDefaultPolicyVersionRequest { @@ -3119,11 +2650,7 @@ export interface SimulatePrincipalPolicyRequest { Marker?: string; } export type SimulationPolicyListType = Array; -export type sortKeyType = - | "SERVICE_NAMESPACE_ASCENDING" - | "SERVICE_NAMESPACE_DESCENDING" - | "LAST_AUTHENTICATED_TIME_ASCENDING" - | "LAST_AUTHENTICATED_TIME_DESCENDING"; +export type sortKeyType = "SERVICE_NAMESPACE_ASCENDING" | "SERVICE_NAMESPACE_DESCENDING" | "LAST_AUTHENTICATED_TIME_ASCENDING" | "LAST_AUTHENTICATED_TIME_DESCENDING"; export interface SSHPublicKey { UserName: string; SSHPublicKeyId: string; @@ -3149,41 +2676,7 @@ export type StatementListType = Array; export type statusType = "Active" | "Inactive" | "Expired"; export type stringType = string; -export type summaryKeyType = - | "Users" - | "UsersQuota" - | "Groups" - | "GroupsQuota" - | "ServerCertificates" - | "ServerCertificatesQuota" - | "UserPolicySizeQuota" - | "GroupPolicySizeQuota" - | "GroupsPerUserQuota" - | "SigningCertificatesPerUserQuota" - | "AccessKeysPerUserQuota" - | "MFADevices" - | "MFADevicesInUse" - | "AccountMFAEnabled" - | "AccountAccessKeysPresent" - | "AccountPasswordPresent" - | "AccountSigningCertificatesPresent" - | "AttachedPoliciesPerGroupQuota" - | "AttachedPoliciesPerRoleQuota" - | "AttachedPoliciesPerUserQuota" - | "Policies" - | "PoliciesQuota" - | "PolicySizeQuota" - | "PolicyVersionsInUse" - | "PolicyVersionsInUseQuota" - | "VersionsPerPolicyQuota" - | "GlobalEndpointTokenVersion" - | "AssumeRolePolicySizeQuota" - | "InstanceProfiles" - | "InstanceProfilesQuota" - | "Providers" - | "RolePolicySizeQuota" - | "Roles" - | "RolesQuota"; +export type summaryKeyType = "Users" | "UsersQuota" | "Groups" | "GroupsQuota" | "ServerCertificates" | "ServerCertificatesQuota" | "UserPolicySizeQuota" | "GroupPolicySizeQuota" | "GroupsPerUserQuota" | "SigningCertificatesPerUserQuota" | "AccessKeysPerUserQuota" | "MFADevices" | "MFADevicesInUse" | "AccountMFAEnabled" | "AccountAccessKeysPresent" | "AccountPasswordPresent" | "AccountSigningCertificatesPresent" | "AttachedPoliciesPerGroupQuota" | "AttachedPoliciesPerRoleQuota" | "AttachedPoliciesPerUserQuota" | "Policies" | "PoliciesQuota" | "PolicySizeQuota" | "PolicyVersionsInUse" | "PolicyVersionsInUseQuota" | "VersionsPerPolicyQuota" | "GlobalEndpointTokenVersion" | "AssumeRolePolicySizeQuota" | "InstanceProfiles" | "InstanceProfilesQuota" | "Providers" | "RolePolicySizeQuota" | "Roles" | "RolesQuota"; export type summaryMapType = Record; export type summaryValueType = number; @@ -3331,7 +2824,8 @@ export interface UpdateRoleRequest { Description?: string; MaxSessionDuration?: number; } -export interface UpdateRoleResponse {} +export interface UpdateRoleResponse { +} export interface UpdateSAMLProviderRequest { SAMLMetadataDocument?: string; SAMLProviderArn: string; @@ -3872,7 +3366,9 @@ export declare namespace DeleteServiceLinkedRole { export declare namespace DeleteServiceSpecificCredential { export type Input = DeleteServiceSpecificCredentialRequest; export type Output = {}; - export type Error = NoSuchEntityException | CommonAwsError; + export type Error = + | NoSuchEntityException + | CommonAwsError; } export declare namespace DeleteSigningCertificate { @@ -3889,7 +3385,9 @@ export declare namespace DeleteSigningCertificate { export declare namespace DeleteSSHPublicKey { export type Input = DeleteSSHPublicKeyRequest; export type Output = {}; - export type Error = NoSuchEntityException | CommonAwsError; + export type Error = + | NoSuchEntityException + | CommonAwsError; } export declare namespace DeleteUser { @@ -4041,7 +3539,9 @@ export declare namespace GenerateCredentialReport { export declare namespace GenerateOrganizationsAccessReport { export type Input = GenerateOrganizationsAccessReportRequest; export type Output = GenerateOrganizationsAccessReportResponse; - export type Error = ReportGenerationLimitExceededException | CommonAwsError; + export type Error = + | ReportGenerationLimitExceededException + | CommonAwsError; } export declare namespace GenerateServiceLastAccessedDetails { @@ -4056,13 +3556,16 @@ export declare namespace GenerateServiceLastAccessedDetails { export declare namespace GetAccessKeyLastUsed { export type Input = GetAccessKeyLastUsedRequest; export type Output = GetAccessKeyLastUsedResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccountAuthorizationDetails { export type Input = GetAccountAuthorizationDetailsRequest; export type Output = GetAccountAuthorizationDetailsResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace GetAccountPasswordPolicy { @@ -4077,13 +3580,17 @@ export declare namespace GetAccountPasswordPolicy { export declare namespace GetAccountSummary { export type Input = {}; export type Output = GetAccountSummaryResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace GetContextKeysForCustomPolicy { export type Input = GetContextKeysForCustomPolicyRequest; export type Output = GetContextKeysForPolicyResponse; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace GetContextKeysForPrincipalPolicy { @@ -4164,7 +3671,9 @@ export declare namespace GetOpenIDConnectProvider { export declare namespace GetOrganizationsAccessReport { export type Input = GetOrganizationsAccessReportRequest; export type Output = GetOrganizationsAccessReportResponse; - export type Error = NoSuchEntityException | CommonAwsError; + export type Error = + | NoSuchEntityException + | CommonAwsError; } export declare namespace GetPolicy { @@ -4294,7 +3803,9 @@ export declare namespace ListAccessKeys { export declare namespace ListAccountAliases { export type Input = ListAccountAliasesRequest; export type Output = ListAccountAliasesResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace ListAttachedGroupPolicies { @@ -4349,7 +3860,9 @@ export declare namespace ListGroupPolicies { export declare namespace ListGroups { export type Input = ListGroupsRequest; export type Output = ListGroupsResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace ListGroupsForUser { @@ -4364,7 +3877,9 @@ export declare namespace ListGroupsForUser { export declare namespace ListInstanceProfiles { export type Input = ListInstanceProfilesRequest; export type Output = ListInstanceProfilesResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace ListInstanceProfilesForRole { @@ -4407,7 +3922,9 @@ export declare namespace ListMFADeviceTags { export declare namespace ListOpenIDConnectProviders { export type Input = ListOpenIDConnectProvidersRequest; export type Output = ListOpenIDConnectProvidersResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace ListOpenIDConnectProviderTags { @@ -4434,7 +3951,9 @@ export declare namespace ListOrganizationsFeatures { export declare namespace ListPolicies { export type Input = ListPoliciesRequest; export type Output = ListPoliciesResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace ListPoliciesGrantingServiceAccess { @@ -4478,7 +3997,9 @@ export declare namespace ListRolePolicies { export declare namespace ListRoles { export type Input = ListRolesRequest; export type Output = ListRolesResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace ListRoleTags { @@ -4493,7 +4014,9 @@ export declare namespace ListRoleTags { export declare namespace ListSAMLProviders { export type Input = ListSAMLProvidersRequest; export type Output = ListSAMLProvidersResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace ListSAMLProviderTags { @@ -4509,7 +4032,9 @@ export declare namespace ListSAMLProviderTags { export declare namespace ListServerCertificates { export type Input = ListServerCertificatesRequest; export type Output = ListServerCertificatesResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace ListServerCertificateTags { @@ -4542,7 +4067,9 @@ export declare namespace ListSigningCertificates { export declare namespace ListSSHPublicKeys { export type Input = ListSSHPublicKeysRequest; export type Output = ListSSHPublicKeysResponse; - export type Error = NoSuchEntityException | CommonAwsError; + export type Error = + | NoSuchEntityException + | CommonAwsError; } export declare namespace ListUserPolicies { @@ -4557,7 +4084,9 @@ export declare namespace ListUserPolicies { export declare namespace ListUsers { export type Input = ListUsersRequest; export type Output = ListUsersResponse; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace ListUserTags { @@ -4572,7 +4101,8 @@ export declare namespace ListUserTags { export declare namespace ListVirtualMFADevices { export type Input = ListVirtualMFADevicesRequest; export type Output = ListVirtualMFADevicesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutGroupPolicy { @@ -4667,7 +4197,9 @@ export declare namespace RemoveUserFromGroup { export declare namespace ResetServiceSpecificCredential { export type Input = ResetServiceSpecificCredentialRequest; export type Output = ResetServiceSpecificCredentialResponse; - export type Error = NoSuchEntityException | CommonAwsError; + export type Error = + | NoSuchEntityException + | CommonAwsError; } export declare namespace ResyncMFADevice { @@ -4696,7 +4228,9 @@ export declare namespace SetDefaultPolicyVersion { export declare namespace SetSecurityTokenServicePreferences { export type Input = SetSecurityTokenServicePreferencesRequest; export type Output = {}; - export type Error = ServiceFailureException | CommonAwsError; + export type Error = + | ServiceFailureException + | CommonAwsError; } export declare namespace SimulateCustomPolicy { @@ -5014,7 +4548,9 @@ export declare namespace UpdateServerCertificate { export declare namespace UpdateServiceSpecificCredential { export type Input = UpdateServiceSpecificCredentialRequest; export type Output = {}; - export type Error = NoSuchEntityException | CommonAwsError; + export type Error = + | NoSuchEntityException + | CommonAwsError; } export declare namespace UpdateSigningCertificate { @@ -5091,39 +4627,5 @@ export declare namespace UploadSSHPublicKey { | CommonAwsError; } -export type IAMErrors = - | AccountNotManagementOrDelegatedAdministratorException - | CallerIsNotManagementAccountException - | ConcurrentModificationException - | CredentialReportExpiredException - | CredentialReportNotPresentException - | CredentialReportNotReadyException - | DeleteConflictException - | DuplicateCertificateException - | DuplicateSSHPublicKeyException - | EntityAlreadyExistsException - | EntityTemporarilyUnmodifiableException - | InvalidAuthenticationCodeException - | InvalidCertificateException - | InvalidInputException - | InvalidPublicKeyException - | InvalidUserTypeException - | KeyPairMismatchException - | LimitExceededException - | MalformedCertificateException - | MalformedPolicyDocumentException - | NoSuchEntityException - | OpenIdIdpCommunicationErrorException - | OrganizationNotFoundException - | OrganizationNotInAllFeaturesModeException - | PasswordPolicyViolationException - | PolicyEvaluationException - | PolicyNotAttachableException - | ReportGenerationLimitExceededException - | ServiceAccessNotEnabledException - | ServiceFailureException - | ServiceNotSupportedException - | UnmodifiableEntityException - | UnrecognizedPublicKeyEncodingException - | NoSuchEntity - | CommonAwsError; +export type IAMErrors = AccountNotManagementOrDelegatedAdministratorException | CallerIsNotManagementAccountException | ConcurrentModificationException | CredentialReportExpiredException | CredentialReportNotPresentException | CredentialReportNotReadyException | DeleteConflictException | DuplicateCertificateException | DuplicateSSHPublicKeyException | EntityAlreadyExistsException | EntityTemporarilyUnmodifiableException | InvalidAuthenticationCodeException | InvalidCertificateException | InvalidInputException | InvalidPublicKeyException | InvalidUserTypeException | KeyPairMismatchException | LimitExceededException | MalformedCertificateException | MalformedPolicyDocumentException | NoSuchEntityException | OpenIdIdpCommunicationErrorException | OrganizationNotFoundException | OrganizationNotInAllFeaturesModeException | PasswordPolicyViolationException | PolicyEvaluationException | PolicyNotAttachableException | ReportGenerationLimitExceededException | ServiceAccessNotEnabledException | ServiceFailureException | ServiceNotSupportedException | UnmodifiableEntityException | UnrecognizedPublicKeyEncodingException | NoSuchEntity | CommonAwsError; + diff --git a/src/services/identitystore/index.ts b/src/services/identitystore/index.ts index adfe224c..eea04a0f 100644 --- a/src/services/identitystore/index.ts +++ b/src/services/identitystore/index.ts @@ -5,23 +5,7 @@ import type { identitystore as _identitystoreClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/identitystore/types.ts b/src/services/identitystore/types.ts index 8f1a8e37..4b2127e5 100644 --- a/src/services/identitystore/types.ts +++ b/src/services/identitystore/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class identitystore extends AWSServiceClient { @@ -70,58 +38,37 @@ export declare class identitystore extends AWSServiceClient { input: CreateGroupRequest, ): Effect.Effect< CreateGroupResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createGroupMembership( input: CreateGroupMembershipRequest, ): Effect.Effect< CreateGroupMembershipResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteGroup( input: DeleteGroupRequest, ): Effect.Effect< DeleteGroupResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteGroupMembership( input: DeleteGroupMembershipRequest, ): Effect.Effect< DeleteGroupMembershipResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< DeleteUserResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeGroup( input: DescribeGroupRequest, @@ -163,21 +110,13 @@ export declare class identitystore extends AWSServiceClient { input: UpdateGroupRequest, ): Effect.Effect< UpdateGroupResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -205,9 +144,7 @@ interface _AlternateIdentifier { UniqueAttribute?: UniqueAttribute; } -export type AlternateIdentifier = - | (_AlternateIdentifier & { ExternalId: ExternalId }) - | (_AlternateIdentifier & { UniqueAttribute: UniqueAttribute }); +export type AlternateIdentifier = (_AlternateIdentifier & { ExternalId: ExternalId }) | (_AlternateIdentifier & { UniqueAttribute: UniqueAttribute }); export interface AttributeOperation { AttributePath: string; AttributeValue?: unknown; @@ -268,17 +205,20 @@ export interface DeleteGroupMembershipRequest { IdentityStoreId: string; MembershipId: string; } -export interface DeleteGroupMembershipResponse {} +export interface DeleteGroupMembershipResponse { +} export interface DeleteGroupRequest { IdentityStoreId: string; GroupId: string; } -export interface DeleteGroupResponse {} +export interface DeleteGroupResponse { +} export interface DeleteUserRequest { IdentityStoreId: string; UserId: string; } -export interface DeleteUserResponse {} +export interface DeleteUserResponse { +} export interface DescribeGroupMembershipRequest { IdentityStoreId: string; MembershipId: string; @@ -390,8 +330,7 @@ export interface GroupMembershipExistenceResult { MemberId?: MemberId; MembershipExists?: boolean; } -export type GroupMembershipExistenceResults = - Array; +export type GroupMembershipExistenceResults = Array; export type GroupMemberships = Array; export type Groups = Array; export type IdentityStoreId = string; @@ -457,7 +396,7 @@ interface _MemberId { UserId?: string; } -export type MemberId = _MemberId & { UserId: string }; +export type MemberId = (_MemberId & { UserId: string }); export interface Name { Formatted?: string; FamilyName?: string; @@ -516,13 +455,15 @@ export interface UpdateGroupRequest { GroupId: string; Operations: Array; } -export interface UpdateGroupResponse {} +export interface UpdateGroupResponse { +} export interface UpdateUserRequest { IdentityStoreId: string; UserId: string; Operations: Array; } -export interface UpdateUserResponse {} +export interface UpdateUserResponse { +} export interface User { UserName?: string; UserId: string; @@ -734,12 +675,5 @@ export declare namespace UpdateUser { | CommonAwsError; } -export type identitystoreErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type identitystoreErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/imagebuilder/index.ts b/src/services/imagebuilder/index.ts index 41000bae..552a9110 100644 --- a/src/services/imagebuilder/index.ts +++ b/src/services/imagebuilder/index.ts @@ -5,26 +5,7 @@ import type { imagebuilder as _imagebuilderClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,82 +15,81 @@ const metadata = { sigV4ServiceName: "imagebuilder", endpointPrefix: "imagebuilder", operations: { - CancelImageCreation: "PUT /CancelImageCreation", - CancelLifecycleExecution: "PUT /CancelLifecycleExecution", - CreateComponent: "PUT /CreateComponent", - CreateContainerRecipe: "PUT /CreateContainerRecipe", - CreateDistributionConfiguration: "PUT /CreateDistributionConfiguration", - CreateImage: "PUT /CreateImage", - CreateImagePipeline: "PUT /CreateImagePipeline", - CreateImageRecipe: "PUT /CreateImageRecipe", - CreateInfrastructureConfiguration: "PUT /CreateInfrastructureConfiguration", - CreateLifecyclePolicy: "PUT /CreateLifecyclePolicy", - CreateWorkflow: "PUT /CreateWorkflow", - DeleteComponent: "DELETE /DeleteComponent", - DeleteContainerRecipe: "DELETE /DeleteContainerRecipe", - DeleteDistributionConfiguration: "DELETE /DeleteDistributionConfiguration", - DeleteImage: "DELETE /DeleteImage", - DeleteImagePipeline: "DELETE /DeleteImagePipeline", - DeleteImageRecipe: "DELETE /DeleteImageRecipe", - DeleteInfrastructureConfiguration: - "DELETE /DeleteInfrastructureConfiguration", - DeleteLifecyclePolicy: "DELETE /DeleteLifecyclePolicy", - DeleteWorkflow: "DELETE /DeleteWorkflow", - GetComponent: "GET /GetComponent", - GetComponentPolicy: "GET /GetComponentPolicy", - GetContainerRecipe: "GET /GetContainerRecipe", - GetContainerRecipePolicy: "GET /GetContainerRecipePolicy", - GetDistributionConfiguration: "GET /GetDistributionConfiguration", - GetImage: "GET /GetImage", - GetImagePipeline: "GET /GetImagePipeline", - GetImagePolicy: "GET /GetImagePolicy", - GetImageRecipe: "GET /GetImageRecipe", - GetImageRecipePolicy: "GET /GetImageRecipePolicy", - GetInfrastructureConfiguration: "GET /GetInfrastructureConfiguration", - GetLifecycleExecution: "GET /GetLifecycleExecution", - GetLifecyclePolicy: "GET /GetLifecyclePolicy", - GetMarketplaceResource: "POST /GetMarketplaceResource", - GetWorkflow: "GET /GetWorkflow", - GetWorkflowExecution: "GET /GetWorkflowExecution", - GetWorkflowStepExecution: "GET /GetWorkflowStepExecution", - ImportComponent: "PUT /ImportComponent", - ImportDiskImage: "PUT /ImportDiskImage", - ImportVmImage: "PUT /ImportVmImage", - ListComponentBuildVersions: "POST /ListComponentBuildVersions", - ListComponents: "POST /ListComponents", - ListContainerRecipes: "POST /ListContainerRecipes", - ListDistributionConfigurations: "POST /ListDistributionConfigurations", - ListImageBuildVersions: "POST /ListImageBuildVersions", - ListImagePackages: "POST /ListImagePackages", - ListImagePipelineImages: "POST /ListImagePipelineImages", - ListImagePipelines: "POST /ListImagePipelines", - ListImageRecipes: "POST /ListImageRecipes", - ListImages: "POST /ListImages", - ListImageScanFindingAggregations: "POST /ListImageScanFindingAggregations", - ListImageScanFindings: "POST /ListImageScanFindings", - ListInfrastructureConfigurations: "POST /ListInfrastructureConfigurations", - ListLifecycleExecutionResources: "POST /ListLifecycleExecutionResources", - ListLifecycleExecutions: "POST /ListLifecycleExecutions", - ListLifecyclePolicies: "POST /ListLifecyclePolicies", - ListTagsForResource: "GET /tags/{resourceArn}", - ListWaitingWorkflowSteps: "POST /ListWaitingWorkflowSteps", - ListWorkflowBuildVersions: "POST /ListWorkflowBuildVersions", - ListWorkflowExecutions: "POST /ListWorkflowExecutions", - ListWorkflows: "POST /ListWorkflows", - ListWorkflowStepExecutions: "POST /ListWorkflowStepExecutions", - PutComponentPolicy: "PUT /PutComponentPolicy", - PutContainerRecipePolicy: "PUT /PutContainerRecipePolicy", - PutImagePolicy: "PUT /PutImagePolicy", - PutImageRecipePolicy: "PUT /PutImageRecipePolicy", - SendWorkflowStepAction: "PUT /SendWorkflowStepAction", - StartImagePipelineExecution: "PUT /StartImagePipelineExecution", - StartResourceStateUpdate: "PUT /StartResourceStateUpdate", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateDistributionConfiguration: "PUT /UpdateDistributionConfiguration", - UpdateImagePipeline: "PUT /UpdateImagePipeline", - UpdateInfrastructureConfiguration: "PUT /UpdateInfrastructureConfiguration", - UpdateLifecyclePolicy: "PUT /UpdateLifecyclePolicy", + "CancelImageCreation": "PUT /CancelImageCreation", + "CancelLifecycleExecution": "PUT /CancelLifecycleExecution", + "CreateComponent": "PUT /CreateComponent", + "CreateContainerRecipe": "PUT /CreateContainerRecipe", + "CreateDistributionConfiguration": "PUT /CreateDistributionConfiguration", + "CreateImage": "PUT /CreateImage", + "CreateImagePipeline": "PUT /CreateImagePipeline", + "CreateImageRecipe": "PUT /CreateImageRecipe", + "CreateInfrastructureConfiguration": "PUT /CreateInfrastructureConfiguration", + "CreateLifecyclePolicy": "PUT /CreateLifecyclePolicy", + "CreateWorkflow": "PUT /CreateWorkflow", + "DeleteComponent": "DELETE /DeleteComponent", + "DeleteContainerRecipe": "DELETE /DeleteContainerRecipe", + "DeleteDistributionConfiguration": "DELETE /DeleteDistributionConfiguration", + "DeleteImage": "DELETE /DeleteImage", + "DeleteImagePipeline": "DELETE /DeleteImagePipeline", + "DeleteImageRecipe": "DELETE /DeleteImageRecipe", + "DeleteInfrastructureConfiguration": "DELETE /DeleteInfrastructureConfiguration", + "DeleteLifecyclePolicy": "DELETE /DeleteLifecyclePolicy", + "DeleteWorkflow": "DELETE /DeleteWorkflow", + "GetComponent": "GET /GetComponent", + "GetComponentPolicy": "GET /GetComponentPolicy", + "GetContainerRecipe": "GET /GetContainerRecipe", + "GetContainerRecipePolicy": "GET /GetContainerRecipePolicy", + "GetDistributionConfiguration": "GET /GetDistributionConfiguration", + "GetImage": "GET /GetImage", + "GetImagePipeline": "GET /GetImagePipeline", + "GetImagePolicy": "GET /GetImagePolicy", + "GetImageRecipe": "GET /GetImageRecipe", + "GetImageRecipePolicy": "GET /GetImageRecipePolicy", + "GetInfrastructureConfiguration": "GET /GetInfrastructureConfiguration", + "GetLifecycleExecution": "GET /GetLifecycleExecution", + "GetLifecyclePolicy": "GET /GetLifecyclePolicy", + "GetMarketplaceResource": "POST /GetMarketplaceResource", + "GetWorkflow": "GET /GetWorkflow", + "GetWorkflowExecution": "GET /GetWorkflowExecution", + "GetWorkflowStepExecution": "GET /GetWorkflowStepExecution", + "ImportComponent": "PUT /ImportComponent", + "ImportDiskImage": "PUT /ImportDiskImage", + "ImportVmImage": "PUT /ImportVmImage", + "ListComponentBuildVersions": "POST /ListComponentBuildVersions", + "ListComponents": "POST /ListComponents", + "ListContainerRecipes": "POST /ListContainerRecipes", + "ListDistributionConfigurations": "POST /ListDistributionConfigurations", + "ListImageBuildVersions": "POST /ListImageBuildVersions", + "ListImagePackages": "POST /ListImagePackages", + "ListImagePipelineImages": "POST /ListImagePipelineImages", + "ListImagePipelines": "POST /ListImagePipelines", + "ListImageRecipes": "POST /ListImageRecipes", + "ListImages": "POST /ListImages", + "ListImageScanFindingAggregations": "POST /ListImageScanFindingAggregations", + "ListImageScanFindings": "POST /ListImageScanFindings", + "ListInfrastructureConfigurations": "POST /ListInfrastructureConfigurations", + "ListLifecycleExecutionResources": "POST /ListLifecycleExecutionResources", + "ListLifecycleExecutions": "POST /ListLifecycleExecutions", + "ListLifecyclePolicies": "POST /ListLifecyclePolicies", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListWaitingWorkflowSteps": "POST /ListWaitingWorkflowSteps", + "ListWorkflowBuildVersions": "POST /ListWorkflowBuildVersions", + "ListWorkflowExecutions": "POST /ListWorkflowExecutions", + "ListWorkflows": "POST /ListWorkflows", + "ListWorkflowStepExecutions": "POST /ListWorkflowStepExecutions", + "PutComponentPolicy": "PUT /PutComponentPolicy", + "PutContainerRecipePolicy": "PUT /PutContainerRecipePolicy", + "PutImagePolicy": "PUT /PutImagePolicy", + "PutImageRecipePolicy": "PUT /PutImageRecipePolicy", + "SendWorkflowStepAction": "PUT /SendWorkflowStepAction", + "StartImagePipelineExecution": "PUT /StartImagePipelineExecution", + "StartResourceStateUpdate": "PUT /StartResourceStateUpdate", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateDistributionConfiguration": "PUT /UpdateDistributionConfiguration", + "UpdateImagePipeline": "PUT /UpdateImagePipeline", + "UpdateInfrastructureConfiguration": "PUT /UpdateInfrastructureConfiguration", + "UpdateLifecyclePolicy": "PUT /UpdateLifecyclePolicy", }, } as const satisfies ServiceMetadata; diff --git a/src/services/imagebuilder/types.ts b/src/services/imagebuilder/types.ts index 73270a56..42463bfe 100644 --- a/src/services/imagebuilder/types.ts +++ b/src/services/imagebuilder/types.ts @@ -7,994 +7,451 @@ export declare class imagebuilder extends AWSServiceClient { input: CancelImageCreationRequest, ): Effect.Effect< CancelImageCreationResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceInUseException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceInUseException | ServiceException | ServiceUnavailableException | CommonAwsError >; cancelLifecycleExecution( input: CancelLifecycleExecutionRequest, ): Effect.Effect< CancelLifecycleExecutionResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceInUseException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceInUseException | ServiceException | ServiceUnavailableException | CommonAwsError >; createComponent( input: CreateComponentRequest, ): Effect.Effect< CreateComponentResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidParameterCombinationException - | InvalidRequestException - | InvalidVersionNumberException - | ResourceInUseException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidParameterCombinationException | InvalidRequestException | InvalidVersionNumberException | ResourceInUseException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError >; createContainerRecipe( input: CreateContainerRecipeRequest, ): Effect.Effect< CreateContainerRecipeResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | InvalidVersionNumberException - | ResourceAlreadyExistsException - | ResourceInUseException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | InvalidVersionNumberException | ResourceAlreadyExistsException | ResourceInUseException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError >; createDistributionConfiguration( input: CreateDistributionConfigurationRequest, ): Effect.Effect< CreateDistributionConfigurationResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidParameterCombinationException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceInUseException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidParameterCombinationException | InvalidRequestException | ResourceAlreadyExistsException | ResourceInUseException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError >; createImage( input: CreateImageRequest, ): Effect.Effect< CreateImageResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceInUseException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceInUseException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError >; createImagePipeline( input: CreateImagePipelineRequest, ): Effect.Effect< CreateImagePipelineResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceInUseException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceAlreadyExistsException | ResourceInUseException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError >; createImageRecipe( input: CreateImageRecipeRequest, ): Effect.Effect< CreateImageRecipeResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | InvalidVersionNumberException - | ResourceAlreadyExistsException - | ResourceInUseException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | InvalidVersionNumberException | ResourceAlreadyExistsException | ResourceInUseException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError >; createInfrastructureConfiguration( input: CreateInfrastructureConfigurationRequest, ): Effect.Effect< CreateInfrastructureConfigurationResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceInUseException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceAlreadyExistsException | ResourceInUseException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError >; createLifecyclePolicy( input: CreateLifecyclePolicyRequest, ): Effect.Effect< CreateLifecyclePolicyResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceInUseException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceAlreadyExistsException | ResourceInUseException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError >; createWorkflow( input: CreateWorkflowRequest, ): Effect.Effect< CreateWorkflowResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidParameterCombinationException - | InvalidRequestException - | InvalidVersionNumberException - | ResourceInUseException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidParameterCombinationException | InvalidRequestException | InvalidVersionNumberException | ResourceInUseException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError >; deleteComponent( input: DeleteComponentRequest, ): Effect.Effect< DeleteComponentResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ResourceDependencyException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ResourceDependencyException | ServiceException | ServiceUnavailableException | CommonAwsError >; deleteContainerRecipe( input: DeleteContainerRecipeRequest, ): Effect.Effect< DeleteContainerRecipeResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ResourceDependencyException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ResourceDependencyException | ServiceException | ServiceUnavailableException | CommonAwsError >; deleteDistributionConfiguration( input: DeleteDistributionConfigurationRequest, ): Effect.Effect< DeleteDistributionConfigurationResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ResourceDependencyException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ResourceDependencyException | ServiceException | ServiceUnavailableException | CommonAwsError >; deleteImage( input: DeleteImageRequest, ): Effect.Effect< DeleteImageResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ResourceDependencyException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ResourceDependencyException | ServiceException | ServiceUnavailableException | CommonAwsError >; deleteImagePipeline( input: DeleteImagePipelineRequest, ): Effect.Effect< DeleteImagePipelineResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ResourceDependencyException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ResourceDependencyException | ServiceException | ServiceUnavailableException | CommonAwsError >; deleteImageRecipe( input: DeleteImageRecipeRequest, ): Effect.Effect< DeleteImageRecipeResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ResourceDependencyException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ResourceDependencyException | ServiceException | ServiceUnavailableException | CommonAwsError >; deleteInfrastructureConfiguration( input: DeleteInfrastructureConfigurationRequest, ): Effect.Effect< DeleteInfrastructureConfigurationResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ResourceDependencyException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ResourceDependencyException | ServiceException | ServiceUnavailableException | CommonAwsError >; deleteLifecyclePolicy( input: DeleteLifecyclePolicyRequest, ): Effect.Effect< DeleteLifecyclePolicyResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ResourceDependencyException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ResourceDependencyException | ServiceException | ServiceUnavailableException | CommonAwsError >; deleteWorkflow( input: DeleteWorkflowRequest, ): Effect.Effect< DeleteWorkflowResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ResourceDependencyException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ResourceDependencyException | ServiceException | ServiceUnavailableException | CommonAwsError >; getComponent( input: GetComponentRequest, ): Effect.Effect< GetComponentResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getComponentPolicy( input: GetComponentPolicyRequest, ): Effect.Effect< GetComponentPolicyResponse, - | CallRateLimitExceededException - | ForbiddenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ForbiddenException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; getContainerRecipe( input: GetContainerRecipeRequest, ): Effect.Effect< GetContainerRecipeResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getContainerRecipePolicy( input: GetContainerRecipePolicyRequest, ): Effect.Effect< GetContainerRecipePolicyResponse, - | CallRateLimitExceededException - | ForbiddenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ForbiddenException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; getDistributionConfiguration( input: GetDistributionConfigurationRequest, ): Effect.Effect< GetDistributionConfigurationResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getImage( input: GetImageRequest, ): Effect.Effect< GetImageResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getImagePipeline( input: GetImagePipelineRequest, ): Effect.Effect< GetImagePipelineResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getImagePolicy( input: GetImagePolicyRequest, ): Effect.Effect< GetImagePolicyResponse, - | CallRateLimitExceededException - | ForbiddenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ForbiddenException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; getImageRecipe( input: GetImageRecipeRequest, ): Effect.Effect< GetImageRecipeResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getImageRecipePolicy( input: GetImageRecipePolicyRequest, ): Effect.Effect< GetImageRecipePolicyResponse, - | CallRateLimitExceededException - | ForbiddenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ForbiddenException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; getInfrastructureConfiguration( input: GetInfrastructureConfigurationRequest, ): Effect.Effect< GetInfrastructureConfigurationResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getLifecycleExecution( input: GetLifecycleExecutionRequest, ): Effect.Effect< GetLifecycleExecutionResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getLifecyclePolicy( input: GetLifecyclePolicyRequest, ): Effect.Effect< GetLifecyclePolicyResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getMarketplaceResource( input: GetMarketplaceResourceRequest, ): Effect.Effect< GetMarketplaceResourceResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getWorkflow( input: GetWorkflowRequest, ): Effect.Effect< GetWorkflowResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getWorkflowExecution( input: GetWorkflowExecutionRequest, ): Effect.Effect< GetWorkflowExecutionResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; getWorkflowStepExecution( input: GetWorkflowStepExecutionRequest, ): Effect.Effect< GetWorkflowStepExecutionResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; importComponent( input: ImportComponentRequest, ): Effect.Effect< ImportComponentResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidParameterCombinationException - | InvalidRequestException - | InvalidVersionNumberException - | ResourceInUseException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidParameterCombinationException | InvalidRequestException | InvalidVersionNumberException | ResourceInUseException | ServiceException | ServiceUnavailableException | CommonAwsError >; importDiskImage( input: ImportDiskImageRequest, ): Effect.Effect< ImportDiskImageResponse, - | ClientException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + ClientException | ServiceException | ServiceUnavailableException | CommonAwsError >; importVmImage( input: ImportVmImageRequest, ): Effect.Effect< - ImportVmImageResponse, - | ClientException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + ImportVmImageResponse, + ClientException | ServiceException | ServiceUnavailableException | CommonAwsError >; listComponentBuildVersions( input: ListComponentBuildVersionsRequest, ): Effect.Effect< ListComponentBuildVersionsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listComponents( input: ListComponentsRequest, ): Effect.Effect< ListComponentsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listContainerRecipes( input: ListContainerRecipesRequest, ): Effect.Effect< ListContainerRecipesResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listDistributionConfigurations( input: ListDistributionConfigurationsRequest, ): Effect.Effect< ListDistributionConfigurationsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listImageBuildVersions( input: ListImageBuildVersionsRequest, ): Effect.Effect< ListImageBuildVersionsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listImagePackages( input: ListImagePackagesRequest, ): Effect.Effect< ListImagePackagesResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; listImagePipelineImages( input: ListImagePipelineImagesRequest, ): Effect.Effect< ListImagePipelineImagesResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; listImagePipelines( input: ListImagePipelinesRequest, ): Effect.Effect< ListImagePipelinesResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listImageRecipes( input: ListImageRecipesRequest, ): Effect.Effect< ListImageRecipesResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listImages( input: ListImagesRequest, ): Effect.Effect< ListImagesResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listImageScanFindingAggregations( input: ListImageScanFindingAggregationsRequest, ): Effect.Effect< ListImageScanFindingAggregationsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listImageScanFindings( input: ListImageScanFindingsRequest, ): Effect.Effect< ListImageScanFindingsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listInfrastructureConfigurations( input: ListInfrastructureConfigurationsRequest, ): Effect.Effect< ListInfrastructureConfigurationsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listLifecycleExecutionResources( input: ListLifecycleExecutionResourcesRequest, ): Effect.Effect< ListLifecycleExecutionResourcesResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listLifecycleExecutions( input: ListLifecycleExecutionsRequest, ): Effect.Effect< ListLifecycleExecutionsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listLifecyclePolicies( input: ListLifecyclePoliciesRequest, ): Effect.Effect< ListLifecyclePoliciesResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceException | CommonAwsError >; listWaitingWorkflowSteps( input: ListWaitingWorkflowStepsRequest, ): Effect.Effect< ListWaitingWorkflowStepsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listWorkflowBuildVersions( input: ListWorkflowBuildVersionsRequest, ): Effect.Effect< ListWorkflowBuildVersionsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listWorkflowExecutions( input: ListWorkflowExecutionsRequest, ): Effect.Effect< ListWorkflowExecutionsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listWorkflows( input: ListWorkflowsRequest, ): Effect.Effect< ListWorkflowsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; listWorkflowStepExecutions( input: ListWorkflowStepExecutionsRequest, ): Effect.Effect< ListWorkflowStepExecutionsResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidPaginationTokenException - | InvalidRequestException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidPaginationTokenException | InvalidRequestException | ServiceException | ServiceUnavailableException | CommonAwsError >; putComponentPolicy( input: PutComponentPolicyRequest, ): Effect.Effect< PutComponentPolicyResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidParameterValueException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidParameterValueException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; putContainerRecipePolicy( input: PutContainerRecipePolicyRequest, ): Effect.Effect< PutContainerRecipePolicyResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidParameterValueException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidParameterValueException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; putImagePolicy( input: PutImagePolicyRequest, ): Effect.Effect< PutImagePolicyResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidParameterValueException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidParameterValueException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; putImageRecipePolicy( input: PutImageRecipePolicyRequest, ): Effect.Effect< PutImageRecipePolicyResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | InvalidParameterValueException - | InvalidRequestException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | InvalidParameterValueException | InvalidRequestException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; sendWorkflowStepAction( input: SendWorkflowStepActionRequest, ): Effect.Effect< SendWorkflowStepActionResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidParameterValueException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidParameterValueException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; startImagePipelineExecution( input: StartImagePipelineExecutionRequest, ): Effect.Effect< StartImagePipelineExecutionResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; startResourceStateUpdate( input: StartResourceStateUpdateRequest, ): Effect.Effect< StartResourceStateUpdateResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceException | ServiceUnavailableException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InvalidParameterException - | ResourceNotFoundException - | ServiceException - | CommonAwsError + InvalidParameterException | ResourceNotFoundException | ServiceException | CommonAwsError >; updateDistributionConfiguration( input: UpdateDistributionConfigurationRequest, ): Effect.Effect< UpdateDistributionConfigurationResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidParameterCombinationException - | InvalidRequestException - | ResourceInUseException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidParameterCombinationException | InvalidRequestException | ResourceInUseException | ServiceException | ServiceUnavailableException | CommonAwsError >; updateImagePipeline( input: UpdateImagePipelineRequest, ): Effect.Effect< UpdateImagePipelineResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceInUseException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceInUseException | ServiceException | ServiceUnavailableException | CommonAwsError >; updateInfrastructureConfiguration( input: UpdateInfrastructureConfigurationRequest, ): Effect.Effect< UpdateInfrastructureConfigurationResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidRequestException - | ResourceInUseException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidRequestException | ResourceInUseException | ServiceException | ServiceUnavailableException | CommonAwsError >; updateLifecyclePolicy( input: UpdateLifecyclePolicyRequest, ): Effect.Effect< UpdateLifecyclePolicyResponse, - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidParameterCombinationException - | InvalidRequestException - | ResourceInUseException - | ServiceException - | ServiceUnavailableException - | CommonAwsError + CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidParameterCombinationException | InvalidRequestException | ResourceInUseException | ServiceException | ServiceUnavailableException | CommonAwsError >; } @@ -1039,11 +496,7 @@ export interface AutoDisablePolicy { } export type ImagebuilderBoolean = boolean; -export type BuildType = - | "USER_INITIATED" - | "SCHEDULED" - | "IMPORT" - | "IMPORT_ISO"; +export type BuildType = "USER_INITIATED" | "SCHEDULED" | "IMPORT" | "IMPORT_ISO"; export declare class CallRateLimitExceededException extends EffectData.TaggedError( "CallRateLimitExceededException", )<{ @@ -1495,8 +948,7 @@ export interface DistributionConfigurationSummary { tags?: Record; regions?: Array; } -export type DistributionConfigurationSummaryList = - Array; +export type DistributionConfigurationSummaryList = Array; export type DistributionList = Array; export type DistributionTimeoutMinutes = number; @@ -1518,14 +970,7 @@ export type EbsVolumeSizeInteger = number; export type EbsVolumeThroughput = number; -export type EbsVolumeType = - | "standard" - | "io1" - | "io2" - | "gp2" - | "gp3" - | "sc1" - | "st1"; +export type EbsVolumeType = "standard" | "io1" | "io2" | "gp2" | "gp3" | "sc1" | "st1"; export interface EcrConfiguration { repositoryName?: string; containerTags?: Array; @@ -1850,8 +1295,7 @@ export interface ImageScanFindingAggregation { imagePipelineAggregation?: ImagePipelineAggregation; vulnerabilityIdAggregation?: VulnerabilityIdAggregation; } -export type ImageScanFindingAggregationsList = - Array; +export type ImageScanFindingAggregationsList = Array; export interface ImageScanFindingsFilter { name?: string; values?: Array; @@ -1867,36 +1311,13 @@ export interface ImageScanState { status?: ImageScanStatus; reason?: string; } -export type ImageScanStatus = - | "PENDING" - | "SCANNING" - | "COLLECTING" - | "COMPLETED" - | "ABANDONED" - | "FAILED" - | "TIMED_OUT"; -export type ImageSource = - | "AMAZON_MANAGED" - | "AWS_MARKETPLACE" - | "IMPORTED" - | "CUSTOM"; +export type ImageScanStatus = "PENDING" | "SCANNING" | "COLLECTING" | "COMPLETED" | "ABANDONED" | "FAILED" | "TIMED_OUT"; +export type ImageSource = "AMAZON_MANAGED" | "AWS_MARKETPLACE" | "IMPORTED" | "CUSTOM"; export interface ImageState { status?: ImageStatus; reason?: string; } -export type ImageStatus = - | "PENDING" - | "CREATING" - | "BUILDING" - | "TESTING" - | "DISTRIBUTING" - | "INTEGRATING" - | "AVAILABLE" - | "CANCELLED" - | "FAILED" - | "DEPRECATED" - | "DELETED" - | "DISABLED"; +export type ImageStatus = "PENDING" | "CREATING" | "BUILDING" | "TESTING" | "DISTRIBUTING" | "INTEGRATING" | "AVAILABLE" | "CANCELLED" | "FAILED" | "DEPRECATED" | "DELETED" | "DISABLED"; export interface ImageSummary { arn?: string; name?: string; @@ -2025,8 +1446,7 @@ export interface InfrastructureConfigurationSummary { instanceProfileName?: string; placement?: Placement; } -export type InfrastructureConfigurationSummaryList = - Array; +export type InfrastructureConfigurationSummaryList = Array; export type InlineComponentData = string; export type InlineDockerFileTemplate = string; @@ -2097,8 +1517,7 @@ export interface LaunchTemplateConfiguration { accountId?: string; setDefaultVersion?: boolean; } -export type LaunchTemplateConfigurationList = - Array; +export type LaunchTemplateConfigurationList = Array; export type LaunchTemplateId = string; export type LicenseConfigurationArn = string; @@ -2129,11 +1548,7 @@ export interface LifecycleExecutionResourceAction { name?: LifecycleExecutionResourceActionName; reason?: string; } -export type LifecycleExecutionResourceActionName = - | "AVAILABLE" - | "DELETE" - | "DEPRECATE" - | "DISABLE"; +export type LifecycleExecutionResourceActionName = "AVAILABLE" | "DELETE" | "DEPRECATE" | "DISABLE"; export type LifecycleExecutionResourceList = Array; export interface LifecycleExecutionResourcesImpactedSummary { hasImpactedResources?: boolean; @@ -2142,29 +1557,18 @@ export interface LifecycleExecutionResourceState { status?: LifecycleExecutionResourceStatus; reason?: string; } -export type LifecycleExecutionResourceStatus = - | "FAILED" - | "IN_PROGRESS" - | "SKIPPED" - | "SUCCESS"; +export type LifecycleExecutionResourceStatus = "FAILED" | "IN_PROGRESS" | "SKIPPED" | "SUCCESS"; export type LifecycleExecutionsList = Array; export interface LifecycleExecutionSnapshotResource { snapshotId?: string; state?: LifecycleExecutionResourceState; } -export type LifecycleExecutionSnapshotResourceList = - Array; +export type LifecycleExecutionSnapshotResourceList = Array; export interface LifecycleExecutionState { status?: LifecycleExecutionStatus; reason?: string; } -export type LifecycleExecutionStatus = - | "IN_PROGRESS" - | "CANCELLED" - | "CANCELLING" - | "FAILED" - | "SUCCESS" - | "PENDING"; +export type LifecycleExecutionStatus = "IN_PROGRESS" | "CANCELLED" | "CANCELLING" | "FAILED" | "SUCCESS" | "PENDING"; export interface LifecyclePolicy { arn?: string; name?: string; @@ -2195,10 +1599,7 @@ export interface LifecyclePolicyDetailActionIncludeResources { snapshots?: boolean; containers?: boolean; } -export type LifecyclePolicyDetailActionType = - | "DELETE" - | "DEPRECATE" - | "DISABLE"; +export type LifecyclePolicyDetailActionType = "DELETE" | "DEPRECATE" | "DISABLE"; export interface LifecyclePolicyDetailExclusionRules { tagMap?: Record; amis?: LifecyclePolicyDetailExclusionRulesAmis; @@ -2236,8 +1637,7 @@ export interface LifecyclePolicyResourceSelectionRecipe { name: string; semanticVersion: string; } -export type LifecyclePolicyResourceSelectionRecipes = - Array; +export type LifecyclePolicyResourceSelectionRecipes = Array; export type LifecyclePolicyResourceType = "AMI_IMAGE" | "CONTAINER_IMAGE"; export type LifecyclePolicyStatus = "DISABLED" | "ENABLED"; export interface LifecyclePolicySummary { @@ -2514,12 +1914,7 @@ export interface OutputResources { amis?: Array; containers?: Array; } -export type Ownership = - | "Self" - | "Shared" - | "Amazon" - | "ThirdParty" - | "AWSMarketplace"; +export type Ownership = "Self" | "Shared" | "Amazon" | "ThirdParty" | "AWSMarketplace"; export type PackageArchitecture = string; export type PackageEpoch = number; @@ -2540,9 +1935,7 @@ export type PaginationToken = string; export type ParallelGroup = string; -export type PipelineExecutionStartCondition = - | "EXPRESSION_MATCH_ONLY" - | "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"; +export type PipelineExecutionStartCondition = "EXPRESSION_MATCH_ONLY" | "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE"; export interface PipelineLoggingConfiguration { imageLogGroupName?: string; pipelineLogGroupName?: string; @@ -2638,11 +2031,7 @@ export interface ResourceStateUpdateIncludeResources { snapshots?: boolean; containers?: boolean; } -export type ResourceStatus = - | "AVAILABLE" - | "DELETED" - | "DEPRECATED" - | "DISABLED"; +export type ResourceStatus = "AVAILABLE" | "DELETED" | "DEPRECATED" | "DISABLED"; export type ResourceTagMap = Record; export type RestrictedInteger = number; @@ -2748,7 +2137,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TargetContainerRepository { @@ -2764,7 +2154,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDistributionConfigurationRequest { distributionConfigurationArn: string; description?: string; @@ -2903,15 +2294,7 @@ export interface WorkflowExecutionMetadata { parallelGroup?: string; } export type WorkflowExecutionsList = Array; -export type WorkflowExecutionStatus = - | "PENDING" - | "SKIPPED" - | "RUNNING" - | "COMPLETED" - | "FAILED" - | "ROLLBACK_IN_PROGRESS" - | "ROLLBACK_COMPLETED" - | "CANCELLED"; +export type WorkflowExecutionStatus = "PENDING" | "SKIPPED" | "RUNNING" | "COMPLETED" | "FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETED" | "CANCELLED"; export type WorkflowNameArn = string; export interface WorkflowParameter { @@ -2959,19 +2342,9 @@ export interface WorkflowStepExecution { export type WorkflowStepExecutionId = string; export type WorkflowStepExecutionList = Array; -export type WorkflowStepExecutionRollbackStatus = - | "RUNNING" - | "COMPLETED" - | "SKIPPED" - | "FAILED"; +export type WorkflowStepExecutionRollbackStatus = "RUNNING" | "COMPLETED" | "SKIPPED" | "FAILED"; export type WorkflowStepExecutionsList = Array; -export type WorkflowStepExecutionStatus = - | "PENDING" - | "SKIPPED" - | "RUNNING" - | "COMPLETED" - | "FAILED" - | "CANCELLED"; +export type WorkflowStepExecutionStatus = "PENDING" | "SKIPPED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED"; export type WorkflowStepInputs = string; export type WorkflowStepMessage = string; @@ -4093,22 +3466,5 @@ export declare namespace UpdateLifecyclePolicy { | CommonAwsError; } -export type imagebuilderErrors = - | CallRateLimitExceededException - | ClientException - | ForbiddenException - | IdempotentParameterMismatchException - | InvalidPaginationTokenException - | InvalidParameterCombinationException - | InvalidParameterException - | InvalidParameterValueException - | InvalidRequestException - | InvalidVersionNumberException - | ResourceAlreadyExistsException - | ResourceDependencyException - | ResourceInUseException - | ResourceNotFoundException - | ServiceException - | ServiceQuotaExceededException - | ServiceUnavailableException - | CommonAwsError; +export type imagebuilderErrors = CallRateLimitExceededException | ClientException | ForbiddenException | IdempotentParameterMismatchException | InvalidPaginationTokenException | InvalidParameterCombinationException | InvalidParameterException | InvalidParameterValueException | InvalidRequestException | InvalidVersionNumberException | ResourceAlreadyExistsException | ResourceDependencyException | ResourceInUseException | ResourceNotFoundException | ServiceException | ServiceQuotaExceededException | ServiceUnavailableException | CommonAwsError; + diff --git a/src/services/inspector-scan/index.ts b/src/services/inspector-scan/index.ts index b00a94c0..de9ec490 100644 --- a/src/services/inspector-scan/index.ts +++ b/src/services/inspector-scan/index.ts @@ -5,23 +5,7 @@ import type { InspectorScan as _InspectorScanClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,7 +14,11 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "inspector-scan", operations: { - ScanSbom: "POST /scan/sbom", + "ScanSbom": "POST /scan/sbom", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/inspector-scan/types.ts b/src/services/inspector-scan/types.ts index fd4d4bb6..daf2c738 100644 --- a/src/services/inspector-scan/types.ts +++ b/src/services/inspector-scan/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class InspectorScan extends AWSServiceClient { @@ -40,11 +8,7 @@ export declare class InspectorScan extends AWSServiceClient { input: ScanSbomRequest, ): Effect.Effect< ScanSbomResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -89,12 +53,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFields = Array; -export type ValidationExceptionReason = - | "UNKNOWN_OPERATION" - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "UNSUPPORTED_SBOM_TYPE" - | "OTHER"; +export type ValidationExceptionReason = "UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "UNSUPPORTED_SBOM_TYPE" | "OTHER"; export declare namespace ScanSbom { export type Input = ScanSbomRequest; export type Output = ScanSbomResponse; @@ -106,9 +65,5 @@ export declare namespace ScanSbom { | CommonAwsError; } -export type InspectorScanErrors = - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type InspectorScanErrors = AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/inspector/index.ts b/src/services/inspector/index.ts index 15a0582a..ec7f89cc 100644 --- a/src/services/inspector/index.ts +++ b/src/services/inspector/index.ts @@ -5,25 +5,7 @@ import type { Inspector as _InspectorClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/inspector/types.ts b/src/services/inspector/types.ts index b9d11925..4026cfb9 100644 --- a/src/services/inspector/types.ts +++ b/src/services/inspector/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class Inspector extends AWSServiceClient { @@ -42,96 +8,49 @@ export declare class Inspector extends AWSServiceClient { input: AddAttributesToFindingsRequest, ): Effect.Effect< AddAttributesToFindingsResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; createAssessmentTarget( input: CreateAssessmentTargetRequest, ): Effect.Effect< CreateAssessmentTargetResponse, - | AccessDeniedException - | InternalException - | InvalidCrossAccountRoleException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidCrossAccountRoleException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; createAssessmentTemplate( input: CreateAssessmentTemplateRequest, ): Effect.Effect< CreateAssessmentTemplateResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; createExclusionsPreview( input: CreateExclusionsPreviewRequest, ): Effect.Effect< CreateExclusionsPreviewResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | PreviewGenerationInProgressException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | PreviewGenerationInProgressException | ServiceTemporarilyUnavailableException | CommonAwsError >; createResourceGroup( input: CreateResourceGroupRequest, ): Effect.Effect< CreateResourceGroupResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | LimitExceededException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | LimitExceededException | ServiceTemporarilyUnavailableException | CommonAwsError >; deleteAssessmentRun( input: DeleteAssessmentRunRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AssessmentRunInProgressException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | AssessmentRunInProgressException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; deleteAssessmentTarget( input: DeleteAssessmentTargetRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AssessmentRunInProgressException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | AssessmentRunInProgressException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; deleteAssessmentTemplate( input: DeleteAssessmentTemplateRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AssessmentRunInProgressException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | AssessmentRunInProgressException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; describeAssessmentRuns( input: DescribeAssessmentRunsRequest, @@ -151,7 +70,9 @@ export declare class Inspector extends AWSServiceClient { DescribeAssessmentTemplatesResponse, InternalException | InvalidInputException | CommonAwsError >; - describeCrossAccountAccessRole(input: {}): Effect.Effect< + describeCrossAccountAccessRole( + input: {}, + ): Effect.Effect< DescribeCrossAccountAccessRoleResponse, InternalException | CommonAwsError >; @@ -183,237 +104,131 @@ export declare class Inspector extends AWSServiceClient { input: GetAssessmentReportRequest, ): Effect.Effect< GetAssessmentReportResponse, - | AccessDeniedException - | AssessmentRunInProgressException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | UnsupportedFeatureException - | CommonAwsError + AccessDeniedException | AssessmentRunInProgressException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | UnsupportedFeatureException | CommonAwsError >; getExclusionsPreview( input: GetExclusionsPreviewRequest, ): Effect.Effect< GetExclusionsPreviewResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | CommonAwsError >; getTelemetryMetadata( input: GetTelemetryMetadataRequest, ): Effect.Effect< GetTelemetryMetadataResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | CommonAwsError >; listAssessmentRunAgents( input: ListAssessmentRunAgentsRequest, ): Effect.Effect< ListAssessmentRunAgentsResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | CommonAwsError >; listAssessmentRuns( input: ListAssessmentRunsRequest, ): Effect.Effect< ListAssessmentRunsResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | CommonAwsError >; listAssessmentTargets( input: ListAssessmentTargetsRequest, ): Effect.Effect< ListAssessmentTargetsResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | CommonAwsError >; listAssessmentTemplates( input: ListAssessmentTemplatesRequest, ): Effect.Effect< ListAssessmentTemplatesResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | CommonAwsError >; listEventSubscriptions( input: ListEventSubscriptionsRequest, ): Effect.Effect< ListEventSubscriptionsResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | CommonAwsError >; listExclusions( input: ListExclusionsRequest, ): Effect.Effect< ListExclusionsResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | CommonAwsError >; listFindings( input: ListFindingsRequest, ): Effect.Effect< ListFindingsResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | CommonAwsError >; listRulesPackages( input: ListRulesPackagesRequest, ): Effect.Effect< ListRulesPackagesResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | CommonAwsError >; previewAgents( input: PreviewAgentsRequest, ): Effect.Effect< PreviewAgentsResponse, - | AccessDeniedException - | InternalException - | InvalidCrossAccountRoleException - | InvalidInputException - | NoSuchEntityException - | CommonAwsError + AccessDeniedException | InternalException | InvalidCrossAccountRoleException | InvalidInputException | NoSuchEntityException | CommonAwsError >; registerCrossAccountAccessRole( input: RegisterCrossAccountAccessRoleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalException - | InvalidCrossAccountRoleException - | InvalidInputException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidCrossAccountRoleException | InvalidInputException | ServiceTemporarilyUnavailableException | CommonAwsError >; removeAttributesFromFindings( input: RemoveAttributesFromFindingsRequest, ): Effect.Effect< RemoveAttributesFromFindingsResponse, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; setTagsForResource( input: SetTagsForResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; startAssessmentRun( input: StartAssessmentRunRequest, ): Effect.Effect< StartAssessmentRunResponse, - | AccessDeniedException - | AgentsAlreadyRunningAssessmentException - | InternalException - | InvalidCrossAccountRoleException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | AgentsAlreadyRunningAssessmentException | InternalException | InvalidCrossAccountRoleException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; stopAssessmentRun( input: StopAssessmentRunRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; subscribeToEvent( input: SubscribeToEventRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | LimitExceededException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; unsubscribeFromEvent( input: UnsubscribeFromEventRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; updateAssessmentTarget( input: UpdateAssessmentTargetRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalException - | InvalidInputException - | NoSuchEntityException - | ServiceTemporarilyUnavailableException - | CommonAwsError + AccessDeniedException | InternalException | InvalidInputException | NoSuchEntityException | ServiceTemporarilyUnavailableException | CommonAwsError >; } -export type AccessDeniedErrorCode = - | "ACCESS_DENIED_TO_ASSESSMENT_TARGET" - | "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE" - | "ACCESS_DENIED_TO_ASSESSMENT_RUN" - | "ACCESS_DENIED_TO_FINDING" - | "ACCESS_DENIED_TO_RESOURCE_GROUP" - | "ACCESS_DENIED_TO_RULES_PACKAGE" - | "ACCESS_DENIED_TO_SNS_TOPIC" - | "ACCESS_DENIED_TO_IAM_ROLE"; +export type AccessDeniedErrorCode = "ACCESS_DENIED_TO_ASSESSMENT_TARGET" | "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE" | "ACCESS_DENIED_TO_ASSESSMENT_RUN" | "ACCESS_DENIED_TO_FINDING" | "ACCESS_DENIED_TO_RESOURCE_GROUP" | "ACCESS_DENIED_TO_RULES_PACKAGE" | "ACCESS_DENIED_TO_SNS_TOPIC" | "ACCESS_DENIED_TO_IAM_ROLE"; export declare class AccessDeniedException extends EffectData.TaggedError( "AccessDeniedException", )<{ @@ -433,20 +248,13 @@ export interface AgentAlreadyRunningAssessment { agentId: string; assessmentRunArn: string; } -export type AgentAlreadyRunningAssessmentList = - Array; +export type AgentAlreadyRunningAssessmentList = Array; export interface AgentFilter { agentHealths: Array; agentHealthCodes: Array; } export type AgentHealth = "HEALTHY" | "UNHEALTHY" | "UNKNOWN"; -export type AgentHealthCode = - | "IDLE" - | "RUNNING" - | "SHUTDOWN" - | "UNHEALTHY" - | "THROTTLED" - | "UNKNOWN"; +export type AgentHealthCode = "IDLE" | "RUNNING" | "SHUTDOWN" | "UNHEALTHY" | "THROTTLED" | "UNKNOWN"; export type AgentHealthCodeList = Array; export type AgentHealthList = Array; export type AgentId = string; @@ -540,25 +348,8 @@ export interface AssessmentRunNotification { snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode; } export type AssessmentRunNotificationList = Array; -export type AssessmentRunNotificationSnsStatusCode = - | "SUCCESS" - | "TOPIC_DOES_NOT_EXIST" - | "ACCESS_DENIED" - | "INTERNAL_ERROR"; -export type AssessmentRunState = - | "CREATED" - | "START_DATA_COLLECTION_PENDING" - | "START_DATA_COLLECTION_IN_PROGRESS" - | "COLLECTING_DATA" - | "STOP_DATA_COLLECTION_PENDING" - | "DATA_COLLECTED" - | "START_EVALUATING_RULES_PENDING" - | "EVALUATING_RULES" - | "FAILED" - | "ERROR" - | "COMPLETED" - | "COMPLETED_WITH_ERRORS" - | "CANCELED"; +export type AssessmentRunNotificationSnsStatusCode = "SUCCESS" | "TOPIC_DOES_NOT_EXIST" | "ACCESS_DENIED" | "INTERNAL_ERROR"; +export type AssessmentRunState = "CREATED" | "START_DATA_COLLECTION_PENDING" | "START_DATA_COLLECTION_IN_PROGRESS" | "COLLECTING_DATA" | "STOP_DATA_COLLECTION_PENDING" | "DATA_COLLECTED" | "START_EVALUATING_RULES_PENDING" | "EVALUATING_RULES" | "FAILED" | "ERROR" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "CANCELED"; export interface AssessmentRunStateChange { stateChangedAt: Date | string; state: AssessmentRunState; @@ -752,13 +543,7 @@ export interface FailedItemDetails { failureCode: FailedItemErrorCode; retryable: boolean; } -export type FailedItemErrorCode = - | "INVALID_ARN" - | "DUPLICATE_ARN" - | "ITEM_DOES_NOT_EXIST" - | "ACCESS_DENIED" - | "LIMIT_EXCEEDED" - | "INTERNAL_ERROR"; +export type FailedItemErrorCode = "INVALID_ARN" | "DUPLICATE_ARN" | "ITEM_DOES_NOT_EXIST" | "ACCESS_DENIED" | "LIMIT_EXCEEDED" | "INTERNAL_ERROR"; export type FailedItems = Record; export type FilterRulesPackageArnList = Array; export interface Finding { @@ -825,12 +610,7 @@ export interface GetTelemetryMetadataResponse { } export type Hostname = string; -export type InspectorEvent = - | "ASSESSMENT_RUN_STARTED" - | "ASSESSMENT_RUN_COMPLETED" - | "ASSESSMENT_RUN_STATE_CHANGED" - | "FINDING_REPORTED" - | "OTHER"; +export type InspectorEvent = "ASSESSMENT_RUN_STARTED" | "ASSESSMENT_RUN_COMPLETED" | "ASSESSMENT_RUN_STATE_CHANGED" | "FINDING_REPORTED" | "OTHER"; export interface InspectorServiceAttributes { schemaVersion: number; assessmentRunArn?: string; @@ -842,9 +622,7 @@ export declare class InternalException extends EffectData.TaggedError( readonly message: string; readonly canRetry: boolean; }> {} -export type InvalidCrossAccountRoleErrorCode = - | "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP" - | "ROLE_DOES_NOT_HAVE_CORRECT_POLICY"; +export type InvalidCrossAccountRoleErrorCode = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP" | "ROLE_DOES_NOT_HAVE_CORRECT_POLICY"; export declare class InvalidCrossAccountRoleException extends EffectData.TaggedError( "InvalidCrossAccountRoleException", )<{ @@ -852,61 +630,7 @@ export declare class InvalidCrossAccountRoleException extends EffectData.TaggedE readonly errorCode: InvalidCrossAccountRoleErrorCode; readonly canRetry: boolean; }> {} -export type InvalidInputErrorCode = - | "INVALID_ASSESSMENT_TARGET_ARN" - | "INVALID_ASSESSMENT_TEMPLATE_ARN" - | "INVALID_ASSESSMENT_RUN_ARN" - | "INVALID_FINDING_ARN" - | "INVALID_RESOURCE_GROUP_ARN" - | "INVALID_RULES_PACKAGE_ARN" - | "INVALID_RESOURCE_ARN" - | "INVALID_SNS_TOPIC_ARN" - | "INVALID_IAM_ROLE_ARN" - | "INVALID_ASSESSMENT_TARGET_NAME" - | "INVALID_ASSESSMENT_TARGET_NAME_PATTERN" - | "INVALID_ASSESSMENT_TEMPLATE_NAME" - | "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN" - | "INVALID_ASSESSMENT_TEMPLATE_DURATION" - | "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE" - | "INVALID_ASSESSMENT_RUN_DURATION_RANGE" - | "INVALID_ASSESSMENT_RUN_START_TIME_RANGE" - | "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE" - | "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE" - | "INVALID_ASSESSMENT_RUN_STATE" - | "INVALID_TAG" - | "INVALID_TAG_KEY" - | "INVALID_TAG_VALUE" - | "INVALID_RESOURCE_GROUP_TAG_KEY" - | "INVALID_RESOURCE_GROUP_TAG_VALUE" - | "INVALID_ATTRIBUTE" - | "INVALID_USER_ATTRIBUTE" - | "INVALID_USER_ATTRIBUTE_KEY" - | "INVALID_USER_ATTRIBUTE_VALUE" - | "INVALID_PAGINATION_TOKEN" - | "INVALID_MAX_RESULTS" - | "INVALID_AGENT_ID" - | "INVALID_AUTO_SCALING_GROUP" - | "INVALID_RULE_NAME" - | "INVALID_SEVERITY" - | "INVALID_LOCALE" - | "INVALID_EVENT" - | "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN" - | "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN" - | "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS" - | "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS" - | "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS" - | "INVALID_NUMBER_OF_FINDING_ARNS" - | "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS" - | "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS" - | "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES" - | "INVALID_NUMBER_OF_TAGS" - | "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS" - | "INVALID_NUMBER_OF_ATTRIBUTES" - | "INVALID_NUMBER_OF_USER_ATTRIBUTES" - | "INVALID_NUMBER_OF_AGENT_IDS" - | "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS" - | "INVALID_NUMBER_OF_RULE_NAMES" - | "INVALID_NUMBER_OF_SEVERITIES"; +export type InvalidInputErrorCode = "INVALID_ASSESSMENT_TARGET_ARN" | "INVALID_ASSESSMENT_TEMPLATE_ARN" | "INVALID_ASSESSMENT_RUN_ARN" | "INVALID_FINDING_ARN" | "INVALID_RESOURCE_GROUP_ARN" | "INVALID_RULES_PACKAGE_ARN" | "INVALID_RESOURCE_ARN" | "INVALID_SNS_TOPIC_ARN" | "INVALID_IAM_ROLE_ARN" | "INVALID_ASSESSMENT_TARGET_NAME" | "INVALID_ASSESSMENT_TARGET_NAME_PATTERN" | "INVALID_ASSESSMENT_TEMPLATE_NAME" | "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN" | "INVALID_ASSESSMENT_TEMPLATE_DURATION" | "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE" | "INVALID_ASSESSMENT_RUN_DURATION_RANGE" | "INVALID_ASSESSMENT_RUN_START_TIME_RANGE" | "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE" | "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE" | "INVALID_ASSESSMENT_RUN_STATE" | "INVALID_TAG" | "INVALID_TAG_KEY" | "INVALID_TAG_VALUE" | "INVALID_RESOURCE_GROUP_TAG_KEY" | "INVALID_RESOURCE_GROUP_TAG_VALUE" | "INVALID_ATTRIBUTE" | "INVALID_USER_ATTRIBUTE" | "INVALID_USER_ATTRIBUTE_KEY" | "INVALID_USER_ATTRIBUTE_VALUE" | "INVALID_PAGINATION_TOKEN" | "INVALID_MAX_RESULTS" | "INVALID_AGENT_ID" | "INVALID_AUTO_SCALING_GROUP" | "INVALID_RULE_NAME" | "INVALID_SEVERITY" | "INVALID_LOCALE" | "INVALID_EVENT" | "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN" | "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN" | "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS" | "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS" | "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS" | "INVALID_NUMBER_OF_FINDING_ARNS" | "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS" | "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS" | "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES" | "INVALID_NUMBER_OF_TAGS" | "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS" | "INVALID_NUMBER_OF_ATTRIBUTES" | "INVALID_NUMBER_OF_USER_ATTRIBUTES" | "INVALID_NUMBER_OF_AGENT_IDS" | "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS" | "INVALID_NUMBER_OF_RULE_NAMES" | "INVALID_NUMBER_OF_SEVERITIES"; export declare class InvalidInputException extends EffectData.TaggedError( "InvalidInputException", )<{ @@ -922,12 +646,7 @@ export type Ipv4AddressList = Array; export type Ipv6Addresses = Array; export type KernelVersion = string; -export type LimitExceededErrorCode = - | "ASSESSMENT_TARGET_LIMIT_EXCEEDED" - | "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED" - | "ASSESSMENT_RUN_LIMIT_EXCEEDED" - | "RESOURCE_GROUP_LIMIT_EXCEEDED" - | "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED"; +export type LimitExceededErrorCode = "ASSESSMENT_TARGET_LIMIT_EXCEEDED" | "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED" | "ASSESSMENT_RUN_LIMIT_EXCEEDED" | "RESOURCE_GROUP_LIMIT_EXCEEDED" | "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED"; export declare class LimitExceededException extends EffectData.TaggedError( "LimitExceededException", )<{ @@ -1044,15 +763,7 @@ export interface NetworkInterface { securityGroups?: Array; } export type NetworkInterfaces = Array; -export type NoSuchEntityErrorCode = - | "ASSESSMENT_TARGET_DOES_NOT_EXIST" - | "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST" - | "ASSESSMENT_RUN_DOES_NOT_EXIST" - | "FINDING_DOES_NOT_EXIST" - | "RESOURCE_GROUP_DOES_NOT_EXIST" - | "RULES_PACKAGE_DOES_NOT_EXIST" - | "SNS_TOPIC_DOES_NOT_EXIST" - | "IAM_ROLE_DOES_NOT_EXIST"; +export type NoSuchEntityErrorCode = "ASSESSMENT_TARGET_DOES_NOT_EXIST" | "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST" | "ASSESSMENT_RUN_DOES_NOT_EXIST" | "FINDING_DOES_NOT_EXIST" | "RESOURCE_GROUP_DOES_NOT_EXIST" | "RULES_PACKAGE_DOES_NOT_EXIST" | "SNS_TOPIC_DOES_NOT_EXIST" | "IAM_ROLE_DOES_NOT_EXIST"; export declare class NoSuchEntityException extends EffectData.TaggedError( "NoSuchEntityException", )<{ @@ -1154,12 +865,7 @@ export interface SetTagsForResourceRequest { resourceArn: string; tags?: Array; } -export type Severity = - | "Low" - | "Medium" - | "High" - | "Informational" - | "Undefined"; +export type Severity = "Low" | "Medium" | "High" | "Informational" | "Undefined"; export type SeverityList = Array; export interface StartAssessmentRunRequest { assessmentTemplateArn: string; @@ -1365,7 +1071,9 @@ export declare namespace DescribeAssessmentTemplates { export declare namespace DescribeCrossAccountAccessRole { export type Input = {}; export type Output = DescribeCrossAccountAccessRoleResponse; - export type Error = InternalException | CommonAwsError; + export type Error = + | InternalException + | CommonAwsError; } export declare namespace DescribeExclusions { @@ -1649,16 +1357,5 @@ export declare namespace UpdateAssessmentTarget { | CommonAwsError; } -export type InspectorErrors = - | AccessDeniedException - | AgentsAlreadyRunningAssessmentException - | AssessmentRunInProgressException - | InternalException - | InvalidCrossAccountRoleException - | InvalidInputException - | LimitExceededException - | NoSuchEntityException - | PreviewGenerationInProgressException - | ServiceTemporarilyUnavailableException - | UnsupportedFeatureException - | CommonAwsError; +export type InspectorErrors = AccessDeniedException | AgentsAlreadyRunningAssessmentException | AssessmentRunInProgressException | InternalException | InvalidCrossAccountRoleException | InvalidInputException | LimitExceededException | NoSuchEntityException | PreviewGenerationInProgressException | ServiceTemporarilyUnavailableException | UnsupportedFeatureException | CommonAwsError; + diff --git a/src/services/inspector2/index.ts b/src/services/inspector2/index.ts index 9a5de545..edd2e9ba 100644 --- a/src/services/inspector2/index.ts +++ b/src/services/inspector2/index.ts @@ -5,23 +5,7 @@ import type { Inspector2 as _Inspector2Client } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,96 +14,85 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "inspector2", operations: { - AssociateMember: "POST /members/associate", - BatchAssociateCodeSecurityScanConfiguration: - "POST /codesecurity/scan-configuration/batch/associate", - BatchDisassociateCodeSecurityScanConfiguration: - "POST /codesecurity/scan-configuration/batch/disassociate", - BatchGetAccountStatus: "POST /status/batch/get", - BatchGetCodeSnippet: "POST /codesnippet/batchget", - BatchGetFindingDetails: "POST /findings/details/batch/get", - BatchGetFreeTrialInfo: "POST /freetrialinfo/batchget", - BatchGetMemberEc2DeepInspectionStatus: - "POST /ec2deepinspectionstatus/member/batch/get", - BatchUpdateMemberEc2DeepInspectionStatus: - "POST /ec2deepinspectionstatus/member/batch/update", - CancelFindingsReport: "POST /reporting/cancel", - CancelSbomExport: "POST /sbomexport/cancel", - CreateCisScanConfiguration: "POST /cis/scan-configuration/create", - CreateCodeSecurityIntegration: "POST /codesecurity/integration/create", - CreateCodeSecurityScanConfiguration: - "POST /codesecurity/scan-configuration/create", - CreateFilter: "POST /filters/create", - CreateFindingsReport: "POST /reporting/create", - CreateSbomExport: "POST /sbomexport/create", - DeleteCisScanConfiguration: "POST /cis/scan-configuration/delete", - DeleteCodeSecurityIntegration: "POST /codesecurity/integration/delete", - DeleteCodeSecurityScanConfiguration: - "POST /codesecurity/scan-configuration/delete", - DeleteFilter: "POST /filters/delete", - DescribeOrganizationConfiguration: - "POST /organizationconfiguration/describe", - Disable: "POST /disable", - DisableDelegatedAdminAccount: "POST /delegatedadminaccounts/disable", - DisassociateMember: "POST /members/disassociate", - Enable: "POST /enable", - EnableDelegatedAdminAccount: "POST /delegatedadminaccounts/enable", - GetCisScanReport: "POST /cis/scan/report/get", - GetCisScanResultDetails: "POST /cis/scan-result/details/get", - GetClustersForImage: "POST /cluster/get", - GetCodeSecurityIntegration: "POST /codesecurity/integration/get", - GetCodeSecurityScan: "POST /codesecurity/scan/get", - GetCodeSecurityScanConfiguration: - "POST /codesecurity/scan-configuration/get", - GetConfiguration: "POST /configuration/get", - GetDelegatedAdminAccount: "POST /delegatedadminaccounts/get", - GetEc2DeepInspectionConfiguration: - "POST /ec2deepinspectionconfiguration/get", - GetEncryptionKey: "GET /encryptionkey/get", - GetFindingsReportStatus: "POST /reporting/status/get", - GetMember: "POST /members/get", - GetSbomExport: "POST /sbomexport/get", - ListAccountPermissions: "POST /accountpermissions/list", - ListCisScanConfigurations: "POST /cis/scan-configuration/list", - ListCisScanResultsAggregatedByChecks: "POST /cis/scan-result/check/list", - ListCisScanResultsAggregatedByTargetResource: - "POST /cis/scan-result/resource/list", - ListCisScans: "POST /cis/scan/list", - ListCodeSecurityIntegrations: "POST /codesecurity/integration/list", - ListCodeSecurityScanConfigurationAssociations: - "POST /codesecurity/scan-configuration/associations/list", - ListCodeSecurityScanConfigurations: - "POST /codesecurity/scan-configuration/list", - ListCoverage: "POST /coverage/list", - ListCoverageStatistics: "POST /coverage/statistics/list", - ListDelegatedAdminAccounts: "POST /delegatedadminaccounts/list", - ListFilters: "POST /filters/list", - ListFindingAggregations: "POST /findings/aggregation/list", - ListFindings: "POST /findings/list", - ListMembers: "POST /members/list", - ListTagsForResource: "GET /tags/{resourceArn}", - ListUsageTotals: "POST /usage/list", - ResetEncryptionKey: "PUT /encryptionkey/reset", - SearchVulnerabilities: "POST /vulnerabilities/search", - SendCisSessionHealth: "PUT /cissession/health/send", - SendCisSessionTelemetry: "PUT /cissession/telemetry/send", - StartCisSession: "PUT /cissession/start", - StartCodeSecurityScan: "POST /codesecurity/scan/start", - StopCisSession: "PUT /cissession/stop", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateCisScanConfiguration: "POST /cis/scan-configuration/update", - UpdateCodeSecurityIntegration: "POST /codesecurity/integration/update", - UpdateCodeSecurityScanConfiguration: - "POST /codesecurity/scan-configuration/update", - UpdateConfiguration: "POST /configuration/update", - UpdateEc2DeepInspectionConfiguration: - "POST /ec2deepinspectionconfiguration/update", - UpdateEncryptionKey: "PUT /encryptionkey/update", - UpdateFilter: "POST /filters/update", - UpdateOrganizationConfiguration: "POST /organizationconfiguration/update", - UpdateOrgEc2DeepInspectionConfiguration: - "POST /ec2deepinspectionconfiguration/org/update", + "AssociateMember": "POST /members/associate", + "BatchAssociateCodeSecurityScanConfiguration": "POST /codesecurity/scan-configuration/batch/associate", + "BatchDisassociateCodeSecurityScanConfiguration": "POST /codesecurity/scan-configuration/batch/disassociate", + "BatchGetAccountStatus": "POST /status/batch/get", + "BatchGetCodeSnippet": "POST /codesnippet/batchget", + "BatchGetFindingDetails": "POST /findings/details/batch/get", + "BatchGetFreeTrialInfo": "POST /freetrialinfo/batchget", + "BatchGetMemberEc2DeepInspectionStatus": "POST /ec2deepinspectionstatus/member/batch/get", + "BatchUpdateMemberEc2DeepInspectionStatus": "POST /ec2deepinspectionstatus/member/batch/update", + "CancelFindingsReport": "POST /reporting/cancel", + "CancelSbomExport": "POST /sbomexport/cancel", + "CreateCisScanConfiguration": "POST /cis/scan-configuration/create", + "CreateCodeSecurityIntegration": "POST /codesecurity/integration/create", + "CreateCodeSecurityScanConfiguration": "POST /codesecurity/scan-configuration/create", + "CreateFilter": "POST /filters/create", + "CreateFindingsReport": "POST /reporting/create", + "CreateSbomExport": "POST /sbomexport/create", + "DeleteCisScanConfiguration": "POST /cis/scan-configuration/delete", + "DeleteCodeSecurityIntegration": "POST /codesecurity/integration/delete", + "DeleteCodeSecurityScanConfiguration": "POST /codesecurity/scan-configuration/delete", + "DeleteFilter": "POST /filters/delete", + "DescribeOrganizationConfiguration": "POST /organizationconfiguration/describe", + "Disable": "POST /disable", + "DisableDelegatedAdminAccount": "POST /delegatedadminaccounts/disable", + "DisassociateMember": "POST /members/disassociate", + "Enable": "POST /enable", + "EnableDelegatedAdminAccount": "POST /delegatedadminaccounts/enable", + "GetCisScanReport": "POST /cis/scan/report/get", + "GetCisScanResultDetails": "POST /cis/scan-result/details/get", + "GetClustersForImage": "POST /cluster/get", + "GetCodeSecurityIntegration": "POST /codesecurity/integration/get", + "GetCodeSecurityScan": "POST /codesecurity/scan/get", + "GetCodeSecurityScanConfiguration": "POST /codesecurity/scan-configuration/get", + "GetConfiguration": "POST /configuration/get", + "GetDelegatedAdminAccount": "POST /delegatedadminaccounts/get", + "GetEc2DeepInspectionConfiguration": "POST /ec2deepinspectionconfiguration/get", + "GetEncryptionKey": "GET /encryptionkey/get", + "GetFindingsReportStatus": "POST /reporting/status/get", + "GetMember": "POST /members/get", + "GetSbomExport": "POST /sbomexport/get", + "ListAccountPermissions": "POST /accountpermissions/list", + "ListCisScanConfigurations": "POST /cis/scan-configuration/list", + "ListCisScanResultsAggregatedByChecks": "POST /cis/scan-result/check/list", + "ListCisScanResultsAggregatedByTargetResource": "POST /cis/scan-result/resource/list", + "ListCisScans": "POST /cis/scan/list", + "ListCodeSecurityIntegrations": "POST /codesecurity/integration/list", + "ListCodeSecurityScanConfigurationAssociations": "POST /codesecurity/scan-configuration/associations/list", + "ListCodeSecurityScanConfigurations": "POST /codesecurity/scan-configuration/list", + "ListCoverage": "POST /coverage/list", + "ListCoverageStatistics": "POST /coverage/statistics/list", + "ListDelegatedAdminAccounts": "POST /delegatedadminaccounts/list", + "ListFilters": "POST /filters/list", + "ListFindingAggregations": "POST /findings/aggregation/list", + "ListFindings": "POST /findings/list", + "ListMembers": "POST /members/list", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListUsageTotals": "POST /usage/list", + "ResetEncryptionKey": "PUT /encryptionkey/reset", + "SearchVulnerabilities": "POST /vulnerabilities/search", + "SendCisSessionHealth": "PUT /cissession/health/send", + "SendCisSessionTelemetry": "PUT /cissession/telemetry/send", + "StartCisSession": "PUT /cissession/start", + "StartCodeSecurityScan": "POST /codesecurity/scan/start", + "StopCisSession": "PUT /cissession/stop", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateCisScanConfiguration": "POST /cis/scan-configuration/update", + "UpdateCodeSecurityIntegration": "POST /codesecurity/integration/update", + "UpdateCodeSecurityScanConfiguration": "POST /codesecurity/scan-configuration/update", + "UpdateConfiguration": "POST /configuration/update", + "UpdateEc2DeepInspectionConfiguration": "POST /ec2deepinspectionconfiguration/update", + "UpdateEncryptionKey": "PUT /encryptionkey/update", + "UpdateFilter": "POST /filters/update", + "UpdateOrganizationConfiguration": "POST /organizationconfiguration/update", + "UpdateOrgEc2DeepInspectionConfiguration": "POST /ec2deepinspectionconfiguration/org/update", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/inspector2/types.ts b/src/services/inspector2/types.ts index c0c9c831..3384d383 100644 --- a/src/services/inspector2/types.ts +++ b/src/services/inspector2/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Inspector2 extends AWSServiceClient { @@ -40,799 +8,451 @@ export declare class Inspector2 extends AWSServiceClient { input: AssociateMemberRequest, ): Effect.Effect< AssociateMemberResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchAssociateCodeSecurityScanConfiguration( input: BatchAssociateCodeSecurityScanConfigurationRequest, ): Effect.Effect< BatchAssociateCodeSecurityScanConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchDisassociateCodeSecurityScanConfiguration( input: BatchDisassociateCodeSecurityScanConfigurationRequest, ): Effect.Effect< BatchDisassociateCodeSecurityScanConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetAccountStatus( input: BatchGetAccountStatusRequest, ): Effect.Effect< BatchGetAccountStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetCodeSnippet( input: BatchGetCodeSnippetRequest, ): Effect.Effect< BatchGetCodeSnippetResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; batchGetFindingDetails( input: BatchGetFindingDetailsRequest, ): Effect.Effect< BatchGetFindingDetailsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; batchGetFreeTrialInfo( input: BatchGetFreeTrialInfoRequest, ): Effect.Effect< BatchGetFreeTrialInfoResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; batchGetMemberEc2DeepInspectionStatus( input: BatchGetMemberEc2DeepInspectionStatusRequest, ): Effect.Effect< BatchGetMemberEc2DeepInspectionStatusResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; batchUpdateMemberEc2DeepInspectionStatus( input: BatchUpdateMemberEc2DeepInspectionStatusRequest, ): Effect.Effect< BatchUpdateMemberEc2DeepInspectionStatusResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; cancelFindingsReport( input: CancelFindingsReportRequest, ): Effect.Effect< CancelFindingsReportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelSbomExport( input: CancelSbomExportRequest, ): Effect.Effect< CancelSbomExportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createCisScanConfiguration( input: CreateCisScanConfigurationRequest, ): Effect.Effect< CreateCisScanConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createCodeSecurityIntegration( input: CreateCodeSecurityIntegrationRequest, ): Effect.Effect< CreateCodeSecurityIntegrationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCodeSecurityScanConfiguration( input: CreateCodeSecurityScanConfigurationRequest, ): Effect.Effect< CreateCodeSecurityScanConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFilter( input: CreateFilterRequest, ): Effect.Effect< CreateFilterResponse, - | AccessDeniedException - | BadRequestException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFindingsReport( input: CreateFindingsReportRequest, ): Effect.Effect< CreateFindingsReportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createSbomExport( input: CreateSbomExportRequest, ): Effect.Effect< CreateSbomExportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCisScanConfiguration( input: DeleteCisScanConfigurationRequest, ): Effect.Effect< DeleteCisScanConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCodeSecurityIntegration( input: DeleteCodeSecurityIntegrationRequest, ): Effect.Effect< DeleteCodeSecurityIntegrationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCodeSecurityScanConfiguration( input: DeleteCodeSecurityScanConfigurationRequest, ): Effect.Effect< DeleteCodeSecurityScanConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFilter( input: DeleteFilterRequest, ): Effect.Effect< DeleteFilterResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeOrganizationConfiguration( input: DescribeOrganizationConfigurationRequest, ): Effect.Effect< DescribeOrganizationConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; disable( input: DisableRequest, ): Effect.Effect< DisableResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disableDelegatedAdminAccount( input: DisableDelegatedAdminAccountRequest, ): Effect.Effect< DisableDelegatedAdminAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateMember( input: DisassociateMemberRequest, ): Effect.Effect< DisassociateMemberResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; enable( input: EnableRequest, ): Effect.Effect< EnableResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; enableDelegatedAdminAccount( input: EnableDelegatedAdminAccountRequest, ): Effect.Effect< EnableDelegatedAdminAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCisScanReport( input: GetCisScanReportRequest, ): Effect.Effect< GetCisScanReportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCisScanResultDetails( input: GetCisScanResultDetailsRequest, ): Effect.Effect< GetCisScanResultDetailsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getClustersForImage( input: GetClustersForImageRequest, ): Effect.Effect< GetClustersForImageResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getCodeSecurityIntegration( input: GetCodeSecurityIntegrationRequest, ): Effect.Effect< GetCodeSecurityIntegrationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCodeSecurityScan( input: GetCodeSecurityScanRequest, ): Effect.Effect< GetCodeSecurityScanResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCodeSecurityScanConfiguration( input: GetCodeSecurityScanConfigurationRequest, ): Effect.Effect< GetCodeSecurityScanConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfiguration( input: GetConfigurationRequest, ): Effect.Effect< GetConfigurationResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getDelegatedAdminAccount( input: GetDelegatedAdminAccountRequest, ): Effect.Effect< GetDelegatedAdminAccountResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEc2DeepInspectionConfiguration( input: GetEc2DeepInspectionConfigurationRequest, ): Effect.Effect< GetEc2DeepInspectionConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getEncryptionKey( input: GetEncryptionKeyRequest, ): Effect.Effect< GetEncryptionKeyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFindingsReportStatus( input: GetFindingsReportStatusRequest, ): Effect.Effect< GetFindingsReportStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMember( input: GetMemberRequest, ): Effect.Effect< GetMemberResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSbomExport( input: GetSbomExportRequest, ): Effect.Effect< GetSbomExportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAccountPermissions( input: ListAccountPermissionsRequest, ): Effect.Effect< ListAccountPermissionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCisScanConfigurations( input: ListCisScanConfigurationsRequest, ): Effect.Effect< ListCisScanConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCisScanResultsAggregatedByChecks( input: ListCisScanResultsAggregatedByChecksRequest, ): Effect.Effect< ListCisScanResultsAggregatedByChecksResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCisScanResultsAggregatedByTargetResource( input: ListCisScanResultsAggregatedByTargetResourceRequest, ): Effect.Effect< ListCisScanResultsAggregatedByTargetResourceResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCisScans( input: ListCisScansRequest, ): Effect.Effect< ListCisScansResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCodeSecurityIntegrations( input: ListCodeSecurityIntegrationsRequest, ): Effect.Effect< ListCodeSecurityIntegrationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCodeSecurityScanConfigurationAssociations( input: ListCodeSecurityScanConfigurationAssociationsRequest, ): Effect.Effect< ListCodeSecurityScanConfigurationAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCodeSecurityScanConfigurations( input: ListCodeSecurityScanConfigurationsRequest, ): Effect.Effect< ListCodeSecurityScanConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCoverage( input: ListCoverageRequest, ): Effect.Effect< ListCoverageResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCoverageStatistics( input: ListCoverageStatisticsRequest, ): Effect.Effect< ListCoverageStatisticsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDelegatedAdminAccounts( input: ListDelegatedAdminAccountsRequest, ): Effect.Effect< ListDelegatedAdminAccountsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listFilters( input: ListFiltersRequest, ): Effect.Effect< ListFiltersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listFindingAggregations( input: ListFindingAggregationsRequest, ): Effect.Effect< ListFindingAggregationsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listFindings( input: ListFindingsRequest, ): Effect.Effect< ListFindingsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listMembers( input: ListMembersRequest, ): Effect.Effect< ListMembersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listUsageTotals( input: ListUsageTotalsRequest, ): Effect.Effect< ListUsageTotalsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; resetEncryptionKey( input: ResetEncryptionKeyRequest, ): Effect.Effect< ResetEncryptionKeyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchVulnerabilities( input: SearchVulnerabilitiesRequest, ): Effect.Effect< SearchVulnerabilitiesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; sendCisSessionHealth( input: SendCisSessionHealthRequest, ): Effect.Effect< SendCisSessionHealthResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; sendCisSessionTelemetry( input: SendCisSessionTelemetryRequest, ): Effect.Effect< SendCisSessionTelemetryResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; startCisSession( input: StartCisSessionRequest, ): Effect.Effect< StartCisSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; startCodeSecurityScan( input: StartCodeSecurityScanRequest, ): Effect.Effect< StartCodeSecurityScanResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopCisSession( input: StopCisSessionRequest, ): Effect.Effect< StopCisSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + BadRequestException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCisScanConfiguration( input: UpdateCisScanConfigurationRequest, ): Effect.Effect< UpdateCisScanConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCodeSecurityIntegration( input: UpdateCodeSecurityIntegrationRequest, ): Effect.Effect< UpdateCodeSecurityIntegrationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCodeSecurityScanConfiguration( input: UpdateCodeSecurityScanConfigurationRequest, ): Effect.Effect< UpdateCodeSecurityScanConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateConfiguration( input: UpdateConfigurationRequest, ): Effect.Effect< UpdateConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateEc2DeepInspectionConfiguration( input: UpdateEc2DeepInspectionConfigurationRequest, ): Effect.Effect< UpdateEc2DeepInspectionConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateEncryptionKey( input: UpdateEncryptionKeyRequest, ): Effect.Effect< UpdateEncryptionKeyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFilter( input: UpdateFilterRequest, ): Effect.Effect< UpdateFilterResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateOrganizationConfiguration( input: UpdateOrganizationConfigurationRequest, ): Effect.Effect< UpdateOrganizationConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateOrgEc2DeepInspectionConfiguration( input: UpdateOrgEc2DeepInspectionConfigurationRequest, ): Effect.Effect< UpdateOrgEc2DeepInspectionConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -890,25 +510,7 @@ interface _AggregationRequest { codeRepositoryAggregation?: CodeRepositoryAggregation; } -export type AggregationRequest = - | (_AggregationRequest & { accountAggregation: AccountAggregation }) - | (_AggregationRequest & { amiAggregation: AmiAggregation }) - | (_AggregationRequest & { - awsEcrContainerAggregation: AwsEcrContainerAggregation; - }) - | (_AggregationRequest & { ec2InstanceAggregation: Ec2InstanceAggregation }) - | (_AggregationRequest & { findingTypeAggregation: FindingTypeAggregation }) - | (_AggregationRequest & { imageLayerAggregation: ImageLayerAggregation }) - | (_AggregationRequest & { packageAggregation: PackageAggregation }) - | (_AggregationRequest & { repositoryAggregation: RepositoryAggregation }) - | (_AggregationRequest & { titleAggregation: TitleAggregation }) - | (_AggregationRequest & { lambdaLayerAggregation: LambdaLayerAggregation }) - | (_AggregationRequest & { - lambdaFunctionAggregation: LambdaFunctionAggregation; - }) - | (_AggregationRequest & { - codeRepositoryAggregation: CodeRepositoryAggregation; - }); +export type AggregationRequest = (_AggregationRequest & { accountAggregation: AccountAggregation }) | (_AggregationRequest & { amiAggregation: AmiAggregation }) | (_AggregationRequest & { awsEcrContainerAggregation: AwsEcrContainerAggregation }) | (_AggregationRequest & { ec2InstanceAggregation: Ec2InstanceAggregation }) | (_AggregationRequest & { findingTypeAggregation: FindingTypeAggregation }) | (_AggregationRequest & { imageLayerAggregation: ImageLayerAggregation }) | (_AggregationRequest & { packageAggregation: PackageAggregation }) | (_AggregationRequest & { repositoryAggregation: RepositoryAggregation }) | (_AggregationRequest & { titleAggregation: TitleAggregation }) | (_AggregationRequest & { lambdaLayerAggregation: LambdaLayerAggregation }) | (_AggregationRequest & { lambdaFunctionAggregation: LambdaFunctionAggregation }) | (_AggregationRequest & { codeRepositoryAggregation: CodeRepositoryAggregation }); export type AggregationResourceType = string; interface _AggregationResponse { @@ -926,35 +528,7 @@ interface _AggregationResponse { codeRepositoryAggregation?: CodeRepositoryAggregationResponse; } -export type AggregationResponse = - | (_AggregationResponse & { accountAggregation: AccountAggregationResponse }) - | (_AggregationResponse & { amiAggregation: AmiAggregationResponse }) - | (_AggregationResponse & { - awsEcrContainerAggregation: AwsEcrContainerAggregationResponse; - }) - | (_AggregationResponse & { - ec2InstanceAggregation: Ec2InstanceAggregationResponse; - }) - | (_AggregationResponse & { - findingTypeAggregation: FindingTypeAggregationResponse; - }) - | (_AggregationResponse & { - imageLayerAggregation: ImageLayerAggregationResponse; - }) - | (_AggregationResponse & { packageAggregation: PackageAggregationResponse }) - | (_AggregationResponse & { - repositoryAggregation: RepositoryAggregationResponse; - }) - | (_AggregationResponse & { titleAggregation: TitleAggregationResponse }) - | (_AggregationResponse & { - lambdaLayerAggregation: LambdaLayerAggregationResponse; - }) - | (_AggregationResponse & { - lambdaFunctionAggregation: LambdaFunctionAggregationResponse; - }) - | (_AggregationResponse & { - codeRepositoryAggregation: CodeRepositoryAggregationResponse; - }); +export type AggregationResponse = (_AggregationResponse & { accountAggregation: AccountAggregationResponse }) | (_AggregationResponse & { amiAggregation: AmiAggregationResponse }) | (_AggregationResponse & { awsEcrContainerAggregation: AwsEcrContainerAggregationResponse }) | (_AggregationResponse & { ec2InstanceAggregation: Ec2InstanceAggregationResponse }) | (_AggregationResponse & { findingTypeAggregation: FindingTypeAggregationResponse }) | (_AggregationResponse & { imageLayerAggregation: ImageLayerAggregationResponse }) | (_AggregationResponse & { packageAggregation: PackageAggregationResponse }) | (_AggregationResponse & { repositoryAggregation: RepositoryAggregationResponse }) | (_AggregationResponse & { titleAggregation: TitleAggregationResponse }) | (_AggregationResponse & { lambdaLayerAggregation: LambdaLayerAggregationResponse }) | (_AggregationResponse & { lambdaFunctionAggregation: LambdaFunctionAggregationResponse }) | (_AggregationResponse & { codeRepositoryAggregation: CodeRepositoryAggregationResponse }); export type AggregationResponseList = Array; export type AggregationType = string; @@ -982,21 +556,14 @@ export interface AssociateConfigurationRequest { scanConfigurationArn: string; resource: CodeSecurityResource; } -export type AssociateConfigurationRequestList = - Array; +export type AssociateConfigurationRequestList = Array; export interface AssociateMemberRequest { accountId: string; } export interface AssociateMemberResponse { accountId: string; } -export type AssociationResultStatusCode = - | "INTERNAL_ERROR" - | "ACCESS_DENIED" - | "SCAN_CONFIGURATION_NOT_FOUND" - | "INVALID_INPUT" - | "RESOURCE_NOT_FOUND" - | "QUOTA_EXCEEDED"; +export type AssociationResultStatusCode = "INTERNAL_ERROR" | "ACCESS_DENIED" | "SCAN_CONFIGURATION_NOT_FOUND" | "INVALID_INPUT" | "RESOURCE_NOT_FOUND" | "QUOTA_EXCEEDED"; export type AssociationResultStatusMessage = string; export interface AtigData { @@ -1222,14 +789,7 @@ export interface CisResultStatusFilter { export type CisResultStatusFilterList = Array; export type CisRuleDetails = Uint8Array | string; -export type CisRuleStatus = - | "FAILED" - | "PASSED" - | "NOT_EVALUATED" - | "INFORMATIONAL" - | "UNKNOWN" - | "NOT_APPLICABLE" - | "ERROR"; +export type CisRuleStatus = "FAILED" | "PASSED" | "NOT_EVALUATED" | "INFORMATIONAL" | "UNKNOWN" | "NOT_APPLICABLE" | "ERROR"; export interface CisScan { scanArn: string; scanConfigurationArn: string; @@ -1258,9 +818,7 @@ export type CisScanConfigurationArn = string; export type CisScanConfigurationArnFilterList = Array; export type CisScanConfigurationList = Array; -export type CisScanConfigurationsSortBy = - | "SCAN_NAME" - | "SCAN_CONFIGURATION_ARN"; +export type CisScanConfigurationsSortBy = "SCAN_NAME" | "SCAN_CONFIGURATION_ARN"; export type CisScanDateFilterList = Array; export type CisScanList = Array; export type CisScanName = string; @@ -1297,12 +855,7 @@ export interface CisScanResultsAggregatedByChecksFilterCriteria { failedResourcesFilters?: Array; securityLevelFilters?: Array; } -export type CisScanResultsAggregatedByChecksSortBy = - | "CHECK_ID" - | "TITLE" - | "PLATFORM" - | "FAILED_COUNTS" - | "SECURITY_LEVEL"; +export type CisScanResultsAggregatedByChecksSortBy = "CHECK_ID" | "TITLE" | "PLATFORM" | "FAILED_COUNTS" | "SECURITY_LEVEL"; export interface CisScanResultsAggregatedByTargetResourceFilterCriteria { accountIdFilters?: Array; statusFilters?: Array; @@ -1314,20 +867,10 @@ export interface CisScanResultsAggregatedByTargetResourceFilterCriteria { targetStatusReasonFilters?: Array; failedChecksFilters?: Array; } -export type CisScanResultsAggregatedByTargetResourceSortBy = - | "RESOURCE_ID" - | "FAILED_COUNTS" - | "ACCOUNT_ID" - | "PLATFORM" - | "TARGET_STATUS" - | "TARGET_STATUS_REASON"; +export type CisScanResultsAggregatedByTargetResourceSortBy = "RESOURCE_ID" | "FAILED_COUNTS" | "ACCOUNT_ID" | "PLATFORM" | "TARGET_STATUS" | "TARGET_STATUS_REASON"; export type CisScanResultsMaxResults = number; -export type CisScanStatus = - | "FAILED" - | "COMPLETED" - | "CANCELLED" - | "IN_PROGRESS"; +export type CisScanStatus = "FAILED" | "COMPLETED" | "CANCELLED" | "IN_PROGRESS"; export type CisScanStatusComparison = "EQUALS"; export interface CisScanStatusFilter { comparison: CisScanStatusComparison; @@ -1365,8 +908,7 @@ export interface CisTargetResourceAggregation { targetStatus?: CisTargetStatus; targetStatusReason?: CisTargetStatusReason; } -export type CisTargetResourceAggregationList = - Array; +export type CisTargetResourceAggregationList = Array; export interface CisTargets { accountIds?: Array; targetResourceTags?: Record>; @@ -1377,10 +919,7 @@ export interface CisTargetStatusFilter { comparison: CisTargetStatusComparison; value: CisTargetStatus; } -export type CisTargetStatusReason = - | "SCAN_IN_PROGRESS" - | "UNSUPPORTED_OS" - | "SSM_UNMANAGED"; +export type CisTargetStatusReason = "SCAN_IN_PROGRESS" | "UNSUPPORTED_OS" | "SSM_UNMANAGED"; export interface CisTargetStatusReasonFilter { comparison: CisTargetStatusComparison; value: CisTargetStatusReason; @@ -1407,9 +946,7 @@ interface _ClusterMetadata { awsEksMetadataDetails?: AwsEksMetadataDetails; } -export type ClusterMetadata = - | (_ClusterMetadata & { awsEcsMetadataDetails: AwsEcsMetadataDetails }) - | (_ClusterMetadata & { awsEksMetadataDetails: AwsEksMetadataDetails }); +export type ClusterMetadata = (_ClusterMetadata & { awsEcsMetadataDetails: AwsEcsMetadataDetails }) | (_ClusterMetadata & { awsEksMetadataDetails: AwsEksMetadataDetails }); export interface CodeFilePath { fileName: string; filePath: string; @@ -1464,11 +1001,7 @@ export type CodeRepositoryProviderType = string; export type CodeRepositorySortBy = string; -export type CodeScanStatus = - | "IN_PROGRESS" - | "SUCCESSFUL" - | "FAILED" - | "SKIPPED"; +export type CodeScanStatus = "IN_PROGRESS" | "SUCCESSFUL" | "FAILED" | "SKIPPED"; export type CodeSecurityClientToken = string; export type CodeSecurityIntegrationArn = string; @@ -1487,21 +1020,17 @@ interface _CodeSecurityResource { projectId?: string; } -export type CodeSecurityResource = _CodeSecurityResource & { - projectId: string; -}; +export type CodeSecurityResource = (_CodeSecurityResource & { projectId: string }); export interface CodeSecurityScanConfiguration { periodicScanConfiguration?: PeriodicScanConfiguration; continuousIntegrationScanConfiguration?: ContinuousIntegrationScanConfiguration; ruleSetCategories: Array; } -export type CodeSecurityScanConfigurationAssociationSummaries = - Array; +export type CodeSecurityScanConfigurationAssociationSummaries = Array; export interface CodeSecurityScanConfigurationAssociationSummary { resource?: CodeSecurityResource; } -export type CodeSecurityScanConfigurationSummaries = - Array; +export type CodeSecurityScanConfigurationSummaries = Array; export interface CodeSecurityScanConfigurationSummary { scanConfigurationArn: string; name: string; @@ -1566,8 +1095,7 @@ export interface ContinuousIntegrationScanConfiguration { supportedEvents: Array; } export type ContinuousIntegrationScanEvent = "PULL_REQUEST" | "PUSH"; -export type ContinuousIntegrationScanSupportedEvents = - Array; +export type ContinuousIntegrationScanSupportedEvents = Array; export interface Counts { count?: number; groupKey?: string; @@ -1698,9 +1226,7 @@ interface _CreateIntegrationDetail { gitlabSelfManaged?: CreateGitLabSelfManagedIntegrationDetail; } -export type CreateIntegrationDetail = _CreateIntegrationDetail & { - gitlabSelfManaged: CreateGitLabSelfManagedIntegrationDetail; -}; +export type CreateIntegrationDetail = (_CreateIntegrationDetail & { gitlabSelfManaged: CreateGitLabSelfManagedIntegrationDetail }); export interface CreateSbomExportRequest { resourceFilterCriteria?: ResourceFilterCriteria; reportFormat: string; @@ -1798,7 +1324,8 @@ export interface DeleteFilterRequest { export interface DeleteFilterResponse { arn: string; } -export interface DescribeOrganizationConfigurationRequest {} +export interface DescribeOrganizationConfigurationRequest { +} export interface DescribeOrganizationConfigurationResponse { autoEnable?: AutoEnable; maxAccountLimitReached?: boolean; @@ -1829,8 +1356,7 @@ export interface DisassociateConfigurationRequest { scanConfigurationArn: string; resource: CodeSecurityResource; } -export type DisassociateConfigurationRequestList = - Array; +export type DisassociateConfigurationRequestList = Array; export interface DisassociateMemberRequest { accountId: string; } @@ -1990,8 +1516,7 @@ export interface FailedMemberAccountEc2DeepInspectionStatusState { ec2ScanStatus?: string; errorMessage?: string; } -export type FailedMemberAccountEc2DeepInspectionStatusStateList = - Array; +export type FailedMemberAccountEc2DeepInspectionStatusStateList = Array; export type FilePath = string; export interface Filter { @@ -2247,16 +1772,19 @@ export interface GetCodeSecurityScanResponse { updatedAt?: Date | string; lastCommitId?: string; } -export interface GetConfigurationRequest {} +export interface GetConfigurationRequest { +} export interface GetConfigurationResponse { ecrConfiguration?: EcrConfigurationState; ec2Configuration?: Ec2ConfigurationState; } -export interface GetDelegatedAdminAccountRequest {} +export interface GetDelegatedAdminAccountRequest { +} export interface GetDelegatedAdminAccountResponse { delegatedAdmin?: DelegatedAdmin; } -export interface GetEc2DeepInspectionConfigurationRequest {} +export interface GetEc2DeepInspectionConfigurationRequest { +} export interface GetEc2DeepInspectionConfigurationResponse { packagePaths?: Array; orgPackagePaths?: Array; @@ -2335,12 +1863,7 @@ export type InstanceUrl = string; export type IntegrationName = string; -export type IntegrationStatus = - | "PENDING" - | "IN_PROGRESS" - | "ACTIVE" - | "INACTIVE" - | "DISABLING"; +export type IntegrationStatus = "PENDING" | "IN_PROGRESS" | "ACTIVE" | "INACTIVE" | "DISABLING"; export type IntegrationSummaries = Array; export type IntegrationType = "GITLAB_SELF_MANAGED" | "GITHUB"; export declare class InternalServerException extends EffectData.TaggedError( @@ -2489,11 +2012,7 @@ export interface ListCisScansResponse { scans?: Array; nextToken?: string; } -export type ListCisScansSortBy = - | "STATUS" - | "SCHEDULED_BY" - | "SCAN_START_DATE" - | "FAILED_CHECKS"; +export type ListCisScansSortBy = "STATUS" | "SCHEDULED_BY" | "SCAN_START_DATE" | "FAILED_CHECKS"; export interface ListCodeSecurityIntegrationsRequest { nextToken?: string; maxResults?: number; @@ -2640,15 +2159,13 @@ export interface MemberAccountEc2DeepInspectionStatus { accountId: string; activateDeepInspection: boolean; } -export type MemberAccountEc2DeepInspectionStatusList = - Array; +export type MemberAccountEc2DeepInspectionStatusList = Array; export interface MemberAccountEc2DeepInspectionStatusState { accountId: string; status?: string; errorMessage?: string; } -export type MemberAccountEc2DeepInspectionStatusStateList = - Array; +export type MemberAccountEc2DeepInspectionStatusStateList = Array; export type MemberList = Array; export type MeteringAccountId = string; @@ -2680,7 +2197,8 @@ export interface NumberFilter { } export type NumberFilterList = Array; export type OneAccountIdFilterList = Array; -export interface OneTimeSchedule {} +export interface OneTimeSchedule { +} export type Operation = string; export type OwnerId = string; @@ -2773,16 +2291,14 @@ export interface ProjectContinuousIntegrationScanConfiguration { supportedEvent?: ContinuousIntegrationScanEvent; ruleSetCategories?: Array; } -export type ProjectContinuousIntegrationScanConfigurationList = - Array; +export type ProjectContinuousIntegrationScanConfigurationList = Array; export type ProjectId = string; export interface ProjectPeriodicScanConfiguration { frequencyExpression?: string; ruleSetCategories?: Array; } -export type ProjectPeriodicScanConfigurationList = - Array; +export type ProjectPeriodicScanConfigurationList = Array; export type ProjectSelectionScope = "ALL"; export type Reason = string; @@ -2823,7 +2339,8 @@ export interface ResetEncryptionKeyRequest { scanType: string; resourceType: string; } -export interface ResetEncryptionKeyResponse {} +export interface ResetEncryptionKeyResponse { +} export interface Resource { type: string; id: string; @@ -2933,11 +2450,7 @@ interface _Schedule { monthly?: MonthlySchedule; } -export type Schedule = - | (_Schedule & { oneTime: OneTimeSchedule }) - | (_Schedule & { daily: DailySchedule }) - | (_Schedule & { weekly: WeeklySchedule }) - | (_Schedule & { monthly: MonthlySchedule }); +export type Schedule = (_Schedule & { oneTime: OneTimeSchedule }) | (_Schedule & { daily: DailySchedule }) | (_Schedule & { weekly: WeeklySchedule }) | (_Schedule & { monthly: MonthlySchedule }); export interface ScopeSettings { projectSelectionScope?: ProjectSelectionScope; } @@ -2959,13 +2472,15 @@ export interface SendCisSessionHealthRequest { scanJobId: string; sessionToken: string; } -export interface SendCisSessionHealthResponse {} +export interface SendCisSessionHealthResponse { +} export interface SendCisSessionTelemetryRequest { scanJobId: string; sessionToken: string; messages: Array; } -export interface SendCisSessionTelemetryResponse {} +export interface SendCisSessionTelemetryResponse { +} export type Service = string; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( @@ -2999,7 +2514,8 @@ export interface StartCisSessionRequest { scanJobId: string; message: StartCisSessionMessage; } -export interface StartCisSessionResponse {} +export interface StartCisSessionResponse { +} export interface StartCodeSecurityScanRequest { clientToken?: string; resource: CodeSecurityResource; @@ -3049,12 +2565,9 @@ export interface StopCisSessionRequest { sessionToken: string; message: StopCisSessionMessage; } -export interface StopCisSessionResponse {} -export type StopCisSessionStatus = - | "SUCCESS" - | "FAILED" - | "INTERRUPTED" - | "UNSUPPORTED_OS"; +export interface StopCisSessionResponse { +} +export type StopCisSessionStatus = "SUCCESS" | "FAILED" | "INTERRUPTED" | "UNSUPPORTED_OS"; export type StringComparison = string; export interface StringFilter { @@ -3072,8 +2585,7 @@ export interface SuccessfulAssociationResult { scanConfigurationArn?: string; resource?: CodeSecurityResource; } -export type SuccessfulAssociationResultList = - Array; +export type SuccessfulAssociationResultList = Array; export interface SuggestedFix { description?: string; code?: string; @@ -3094,7 +2606,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValueList = Array; export type Target = string; @@ -3150,7 +2663,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateCisScanConfigurationRequest { scanConfigurationArn: string; scanName?: string; @@ -3184,7 +2698,8 @@ export interface UpdateConfigurationRequest { ecrConfiguration?: EcrConfiguration; ec2Configuration?: Ec2Configuration; } -export interface UpdateConfigurationResponse {} +export interface UpdateConfigurationResponse { +} export interface UpdateEc2DeepInspectionConfigurationRequest { activateDeepInspection?: boolean; packagePaths?: Array; @@ -3200,7 +2715,8 @@ export interface UpdateEncryptionKeyRequest { scanType: string; resourceType: string; } -export interface UpdateEncryptionKeyResponse {} +export interface UpdateEncryptionKeyResponse { +} export interface UpdateFilterRequest { action?: string; description?: string; @@ -3224,11 +2740,7 @@ interface _UpdateIntegrationDetails { github?: UpdateGitHubIntegrationDetail; } -export type UpdateIntegrationDetails = - | (_UpdateIntegrationDetails & { - gitlabSelfManaged: UpdateGitLabSelfManagedIntegrationDetail; - }) - | (_UpdateIntegrationDetails & { github: UpdateGitHubIntegrationDetail }); +export type UpdateIntegrationDetails = (_UpdateIntegrationDetails & { gitlabSelfManaged: UpdateGitLabSelfManagedIntegrationDetail }) | (_UpdateIntegrationDetails & { github: UpdateGitHubIntegrationDetail }); export interface UpdateOrganizationConfigurationRequest { autoEnable: AutoEnable; } @@ -3238,7 +2750,8 @@ export interface UpdateOrganizationConfigurationResponse { export interface UpdateOrgEc2DeepInspectionConfigurationRequest { orgPackagePaths: Array; } -export interface UpdateOrgEc2DeepInspectionConfigurationResponse {} +export interface UpdateOrgEc2DeepInspectionConfigurationResponse { +} export interface Usage { type?: string; total?: number; @@ -4215,13 +3728,5 @@ export declare namespace UpdateOrgEc2DeepInspectionConfiguration { | CommonAwsError; } -export type Inspector2Errors = - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type Inspector2Errors = AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/internetmonitor/index.ts b/src/services/internetmonitor/index.ts index 4cda4a87..7c51dcaa 100644 --- a/src/services/internetmonitor/index.ts +++ b/src/services/internetmonitor/index.ts @@ -5,23 +5,7 @@ import type { InternetMonitor as _InternetMonitorClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,25 +14,28 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "internetmonitor", operations: { - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - CreateMonitor: "POST /v20210603/Monitors", - DeleteMonitor: "DELETE /v20210603/Monitors/{MonitorName}", - GetHealthEvent: - "GET /v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}", - GetInternetEvent: "GET /v20210603/InternetEvents/{EventId}", - GetMonitor: "GET /v20210603/Monitors/{MonitorName}", - GetQueryResults: - "GET /v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Results", - GetQueryStatus: - "GET /v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Status", - ListHealthEvents: "GET /v20210603/Monitors/{MonitorName}/HealthEvents", - ListInternetEvents: "GET /v20210603/InternetEvents", - ListMonitors: "GET /v20210603/Monitors", - StartQuery: "POST /v20210603/Monitors/{MonitorName}/Queries", - StopQuery: "DELETE /v20210603/Monitors/{MonitorName}/Queries/{QueryId}", - UpdateMonitor: "PATCH /v20210603/Monitors/{MonitorName}", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "CreateMonitor": "POST /v20210603/Monitors", + "DeleteMonitor": "DELETE /v20210603/Monitors/{MonitorName}", + "GetHealthEvent": "GET /v20210603/Monitors/{MonitorName}/HealthEvents/{EventId}", + "GetInternetEvent": "GET /v20210603/InternetEvents/{EventId}", + "GetMonitor": "GET /v20210603/Monitors/{MonitorName}", + "GetQueryResults": "GET /v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Results", + "GetQueryStatus": "GET /v20210603/Monitors/{MonitorName}/Queries/{QueryId}/Status", + "ListHealthEvents": "GET /v20210603/Monitors/{MonitorName}/HealthEvents", + "ListInternetEvents": "GET /v20210603/InternetEvents", + "ListMonitors": "GET /v20210603/Monitors", + "StartQuery": "POST /v20210603/Monitors/{MonitorName}/Queries", + "StopQuery": "DELETE /v20210603/Monitors/{MonitorName}/Queries/{QueryId}", + "UpdateMonitor": "PATCH /v20210603/Monitors/{MonitorName}", + }, + retryableErrors: { + "InternalServerErrorException": {}, + "TooManyRequestsException": {}, + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/internetmonitor/types.ts b/src/services/internetmonitor/types.ts index 196619be..3ca9d70f 100644 --- a/src/services/internetmonitor/types.ts +++ b/src/services/internetmonitor/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class InternetMonitor extends AWSServiceClient { @@ -40,172 +8,97 @@ export declare class InternetMonitor extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | BadRequestException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; createMonitor( input: CreateMonitorInput, ): Effect.Effect< CreateMonitorOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteMonitor( input: DeleteMonitorInput, ): Effect.Effect< DeleteMonitorOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getHealthEvent( input: GetHealthEventInput, ): Effect.Effect< GetHealthEventOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getInternetEvent( input: GetInternetEventInput, ): Effect.Effect< GetInternetEventOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getMonitor( input: GetMonitorInput, ): Effect.Effect< GetMonitorOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getQueryResults( input: GetQueryResultsInput, ): Effect.Effect< GetQueryResultsOutput, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; getQueryStatus( input: GetQueryStatusInput, ): Effect.Effect< GetQueryStatusOutput, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; listHealthEvents( input: ListHealthEventsInput, ): Effect.Effect< ListHealthEventsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listInternetEvents( input: ListInternetEventsInput, ): Effect.Effect< ListInternetEventsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listMonitors( input: ListMonitorsInput, ): Effect.Effect< ListMonitorsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; startQuery( input: StartQueryInput, ): Effect.Effect< StartQueryOutput, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopQuery( input: StopQueryInput, ): Effect.Effect< StopQueryOutput, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateMonitor( input: UpdateMonitorInput, ): Effect.Effect< UpdateMonitorOutput, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -262,7 +155,8 @@ export interface CreateMonitorOutput { export interface DeleteMonitorInput { MonitorName: string; } -export interface DeleteMonitorOutput {} +export interface DeleteMonitorOutput { +} export type FilterList = Array; export interface FilterParameter { Field?: string; @@ -560,7 +454,8 @@ export interface StopQueryInput { MonitorName: string; QueryId: string; } -export interface StopQueryOutput {} +export interface StopQueryOutput { +} export type TagKey = string; export type TagKeys = Array; @@ -569,7 +464,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -590,7 +486,8 @@ export interface UntagResourceInput { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateMonitorInput { MonitorName: string; ResourcesToAdd?: Array; @@ -798,16 +695,5 @@ export declare namespace UpdateMonitor { | CommonAwsError; } -export type InternetMonitorErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerErrorException - | InternalServerException - | LimitExceededException - | NotFoundException - | ResourceNotFoundException - | ThrottlingException - | TooManyRequestsException - | ValidationException - | CommonAwsError; +export type InternetMonitorErrors = AccessDeniedException | BadRequestException | ConflictException | InternalServerErrorException | InternalServerException | LimitExceededException | NotFoundException | ResourceNotFoundException | ThrottlingException | TooManyRequestsException | ValidationException | CommonAwsError; + diff --git a/src/services/invoicing/index.ts b/src/services/invoicing/index.ts index c0a22389..1765bd1a 100644 --- a/src/services/invoicing/index.ts +++ b/src/services/invoicing/index.ts @@ -5,23 +5,7 @@ import type { Invoicing as _InvoicingClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/invoicing/types.ts b/src/services/invoicing/types.ts index 571bf833..f1b8fb82 100644 --- a/src/services/invoicing/types.ts +++ b/src/services/invoicing/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Invoicing extends AWSServiceClient { @@ -40,110 +8,61 @@ export declare class Invoicing extends AWSServiceClient { input: BatchGetInvoiceProfileRequest, ): Effect.Effect< BatchGetInvoiceProfileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createInvoiceUnit( input: CreateInvoiceUnitRequest, ): Effect.Effect< CreateInvoiceUnitResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteInvoiceUnit( input: DeleteInvoiceUnitRequest, ): Effect.Effect< DeleteInvoiceUnitResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getInvoiceUnit( input: GetInvoiceUnitRequest, ): Effect.Effect< GetInvoiceUnitResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInvoiceSummaries( input: ListInvoiceSummariesRequest, ): Effect.Effect< ListInvoiceSummariesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInvoiceUnits( input: ListInvoiceUnitsRequest, ): Effect.Effect< ListInvoiceUnitsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateInvoiceUnit( input: UpdateInvoiceUnitRequest, ): Effect.Effect< UpdateInvoiceUnitResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -391,7 +310,8 @@ export interface TagResourceRequest { ResourceArn: string; ResourceTags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagrisArn = string; export interface TaxesBreakdown { @@ -415,7 +335,8 @@ export interface UntagResourceRequest { ResourceArn: string; ResourceTagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateInvoiceUnitRequest { InvoiceUnitArn: string; Description?: string; @@ -438,21 +359,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "nonMemberPresent" - | "maxAccountsExceeded" - | "maxInvoiceUnitsExceeded" - | "duplicateInvoiceUnit" - | "mutualExclusionError" - | "accountMembershipError" - | "taxSettingsError" - | "expiredNextToken" - | "invalidNextToken" - | "invalidInput" - | "fieldValidationFailed" - | "cannotParse" - | "unknownOperation" - | "other"; +export type ValidationExceptionReason = "nonMemberPresent" | "maxAccountsExceeded" | "maxInvoiceUnitsExceeded" | "duplicateInvoiceUnit" | "mutualExclusionError" | "accountMembershipError" | "taxSettingsError" | "expiredNextToken" | "invalidNextToken" | "invalidInput" | "fieldValidationFailed" | "cannotParse" | "unknownOperation" | "other"; export type Year = number; export declare namespace BatchGetInvoiceProfile { @@ -574,11 +481,5 @@ export declare namespace UpdateInvoiceUnit { | CommonAwsError; } -export type InvoicingErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type InvoicingErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/iot-data-plane/index.ts b/src/services/iot-data-plane/index.ts index 86e160f7..f7d569a2 100644 --- a/src/services/iot-data-plane/index.ts +++ b/src/services/iot-data-plane/index.ts @@ -5,24 +5,7 @@ import type { IoTDataPlane as _IoTDataPlaneClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,28 +15,27 @@ const metadata = { sigV4ServiceName: "iotdata", endpointPrefix: "data-ats.iot", operations: { - DeleteConnection: "DELETE /connections/{clientId}", - DeleteThingShadow: { + "DeleteConnection": "DELETE /connections/{clientId}", + "DeleteThingShadow": { http: "DELETE /things/{thingName}/shadow", traits: { - payload: "httpPayload", + "payload": "httpPayload", }, }, - GetRetainedMessage: "GET /retainedMessage/{topic}", - GetThingShadow: { + "GetRetainedMessage": "GET /retainedMessage/{topic}", + "GetThingShadow": { http: "GET /things/{thingName}/shadow", traits: { - payload: "httpPayload", + "payload": "httpPayload", }, }, - ListNamedShadowsForThing: - "GET /api/things/shadow/ListNamedShadowsForThing/{thingName}", - ListRetainedMessages: "GET /retainedMessage", - Publish: "POST /topics/{topic}", - UpdateThingShadow: { + "ListNamedShadowsForThing": "GET /api/things/shadow/ListNamedShadowsForThing/{thingName}", + "ListRetainedMessages": "GET /retainedMessage", + "Publish": "POST /topics/{topic}", + "UpdateThingShadow": { http: "POST /things/{thingName}/shadow", traits: { - payload: "httpPayload", + "payload": "httpPayload", }, }, }, diff --git a/src/services/iot-data-plane/types.ts b/src/services/iot-data-plane/types.ts index 7a696465..57d59b48 100644 --- a/src/services/iot-data-plane/types.ts +++ b/src/services/iot-data-plane/types.ts @@ -1,41 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | RequestEntityTooLargeException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | RequestEntityTooLargeException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTDataPlane extends AWSServiceClient { @@ -43,104 +10,49 @@ export declare class IoTDataPlane extends AWSServiceClient { input: DeleteConnectionRequest, ): Effect.Effect< {}, - | ForbiddenException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ForbiddenException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteThingShadow( input: DeleteThingShadowRequest, ): Effect.Effect< DeleteThingShadowResponse, - | InternalFailureException - | InvalidRequestException - | MethodNotAllowedException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | UnsupportedDocumentEncodingException - | CommonAwsError + InternalFailureException | InvalidRequestException | MethodNotAllowedException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | UnsupportedDocumentEncodingException | CommonAwsError >; getRetainedMessage( input: GetRetainedMessageRequest, ): Effect.Effect< GetRetainedMessageResponse, - | InternalFailureException - | InvalidRequestException - | MethodNotAllowedException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | MethodNotAllowedException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getThingShadow( input: GetThingShadowRequest, ): Effect.Effect< GetThingShadowResponse, - | InternalFailureException - | InvalidRequestException - | MethodNotAllowedException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | UnsupportedDocumentEncodingException - | CommonAwsError + InternalFailureException | InvalidRequestException | MethodNotAllowedException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | UnsupportedDocumentEncodingException | CommonAwsError >; listNamedShadowsForThing( input: ListNamedShadowsForThingRequest, ): Effect.Effect< ListNamedShadowsForThingResponse, - | InternalFailureException - | InvalidRequestException - | MethodNotAllowedException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | MethodNotAllowedException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listRetainedMessages( input: ListRetainedMessagesRequest, ): Effect.Effect< ListRetainedMessagesResponse, - | InternalFailureException - | InvalidRequestException - | MethodNotAllowedException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | MethodNotAllowedException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; publish( input: PublishRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | MethodNotAllowedException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | MethodNotAllowedException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateThingShadow( input: UpdateThingShadowRequest, ): Effect.Effect< UpdateThingShadowResponse, - | ConflictException - | InternalFailureException - | InvalidRequestException - | MethodNotAllowedException - | RequestEntityTooLargeException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | UnsupportedDocumentEncodingException - | CommonAwsError + ConflictException | InternalFailureException | InvalidRequestException | MethodNotAllowedException | RequestEntityTooLargeException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | UnsupportedDocumentEncodingException | CommonAwsError >; } @@ -432,16 +344,5 @@ export declare namespace UpdateThingShadow { | CommonAwsError; } -export type IoTDataPlaneErrors = - | ConflictException - | ForbiddenException - | InternalFailureException - | InvalidRequestException - | MethodNotAllowedException - | RequestEntityTooLargeException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | UnsupportedDocumentEncodingException - | CommonAwsError; +export type IoTDataPlaneErrors = ConflictException | ForbiddenException | InternalFailureException | InvalidRequestException | MethodNotAllowedException | RequestEntityTooLargeException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | UnsupportedDocumentEncodingException | CommonAwsError; + diff --git a/src/services/iot-events-data/index.ts b/src/services/iot-events-data/index.ts index 248df490..47f1e5c2 100644 --- a/src/services/iot-events-data/index.ts +++ b/src/services/iot-events-data/index.ts @@ -5,25 +5,7 @@ import type { IoTEventsData as _IoTEventsDataClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,18 +15,18 @@ const metadata = { sigV4ServiceName: "ioteventsdata", endpointPrefix: "data.iotevents", operations: { - BatchAcknowledgeAlarm: "POST /alarms/acknowledge", - BatchDeleteDetector: "POST /detectors/delete", - BatchDisableAlarm: "POST /alarms/disable", - BatchEnableAlarm: "POST /alarms/enable", - BatchPutMessage: "POST /inputs/messages", - BatchResetAlarm: "POST /alarms/reset", - BatchSnoozeAlarm: "POST /alarms/snooze", - BatchUpdateDetector: "POST /detectors", - DescribeAlarm: "GET /alarms/{alarmModelName}/keyValues", - DescribeDetector: "GET /detectors/{detectorModelName}/keyValues", - ListAlarms: "GET /alarms/{alarmModelName}", - ListDetectors: "GET /detectors/{detectorModelName}", + "BatchAcknowledgeAlarm": "POST /alarms/acknowledge", + "BatchDeleteDetector": "POST /detectors/delete", + "BatchDisableAlarm": "POST /alarms/disable", + "BatchEnableAlarm": "POST /alarms/enable", + "BatchPutMessage": "POST /inputs/messages", + "BatchResetAlarm": "POST /alarms/reset", + "BatchSnoozeAlarm": "POST /alarms/snooze", + "BatchUpdateDetector": "POST /detectors", + "DescribeAlarm": "GET /alarms/{alarmModelName}/keyValues", + "DescribeDetector": "GET /detectors/{detectorModelName}/keyValues", + "ListAlarms": "GET /alarms/{alarmModelName}", + "ListDetectors": "GET /detectors/{detectorModelName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/iot-events-data/types.ts b/src/services/iot-events-data/types.ts index 47e476e6..266f33cb 100644 --- a/src/services/iot-events-data/types.ts +++ b/src/services/iot-events-data/types.ts @@ -1,41 +1,7 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTEventsData extends AWSServiceClient { @@ -43,125 +9,73 @@ export declare class IoTEventsData extends AWSServiceClient { input: BatchAcknowledgeAlarmRequest, ): Effect.Effect< BatchAcknowledgeAlarmResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchDeleteDetector( input: BatchDeleteDetectorRequest, ): Effect.Effect< BatchDeleteDetectorResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchDisableAlarm( input: BatchDisableAlarmRequest, ): Effect.Effect< BatchDisableAlarmResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchEnableAlarm( input: BatchEnableAlarmRequest, ): Effect.Effect< BatchEnableAlarmResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchPutMessage( input: BatchPutMessageRequest, ): Effect.Effect< BatchPutMessageResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchResetAlarm( input: BatchResetAlarmRequest, ): Effect.Effect< BatchResetAlarmResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchSnoozeAlarm( input: BatchSnoozeAlarmRequest, ): Effect.Effect< BatchSnoozeAlarmResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchUpdateDetector( input: BatchUpdateDetectorRequest, ): Effect.Effect< BatchUpdateDetectorResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeAlarm( input: DescribeAlarmRequest, ): Effect.Effect< DescribeAlarmResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeDetector( input: DescribeDetectorRequest, ): Effect.Effect< DescribeDetectorResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listAlarms( input: ListAlarmsRequest, ): Effect.Effect< ListAlarmsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listDetectors( input: ListDetectorsRequest, ): Effect.Effect< ListDetectorsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; } @@ -176,8 +90,7 @@ export interface AcknowledgeAlarmActionRequest { keyValue?: string; note?: string; } -export type AcknowledgeAlarmActionRequests = - Array; +export type AcknowledgeAlarmActionRequests = Array; export interface Alarm { alarmModelName?: string; alarmModelVersion?: string; @@ -197,13 +110,7 @@ export interface AlarmState { customerAction?: CustomerAction; systemEvent?: SystemEvent; } -export type AlarmStateName = - | "DISABLED" - | "NORMAL" - | "ACTIVE" - | "ACKNOWLEDGED" - | "SNOOZE_DISABLED" - | "LATCHED"; +export type AlarmStateName = "DISABLED" | "NORMAL" | "ACTIVE" | "ACKNOWLEDGED" | "SNOOZE_DISABLED" | "LATCHED"; export type AlarmSummaries = Array; export interface AlarmSummary { alarmModelName?: string; @@ -225,8 +132,7 @@ export interface BatchAlarmActionErrorEntry { errorCode?: ErrorCode; errorMessage?: string; } -export type BatchDeleteDetectorErrorEntries = - Array; +export type BatchDeleteDetectorErrorEntries = Array; export interface BatchDeleteDetectorErrorEntry { messageId?: string; errorCode?: ErrorCode; @@ -274,8 +180,7 @@ export interface BatchSnoozeAlarmRequest { export interface BatchSnoozeAlarmResponse { errorEntries?: Array; } -export type BatchUpdateDetectorErrorEntries = - Array; +export type BatchUpdateDetectorErrorEntries = Array; export interface BatchUpdateDetectorErrorEntry { messageId?: string; errorCode?: ErrorCode; @@ -287,13 +192,7 @@ export interface BatchUpdateDetectorRequest { export interface BatchUpdateDetectorResponse { batchUpdateDetectorErrorEntries?: Array; } -export type ComparisonOperator = - | "GREATER" - | "GREATER_OR_EQUAL" - | "LESS" - | "LESS_OR_EQUAL" - | "EQUAL" - | "NOT_EQUAL"; +export type ComparisonOperator = "GREATER" | "GREATER_OR_EQUAL" | "LESS" | "LESS_OR_EQUAL" | "EQUAL" | "NOT_EQUAL"; export interface CustomerAction { actionName?: CustomerActionName; snoozeActionConfiguration?: SnoozeActionConfiguration; @@ -302,12 +201,7 @@ export interface CustomerAction { acknowledgeActionConfiguration?: AcknowledgeActionConfiguration; resetActionConfiguration?: ResetActionConfiguration; } -export type CustomerActionName = - | "SNOOZE" - | "ENABLE" - | "DISABLE" - | "ACKNOWLEDGE" - | "RESET"; +export type CustomerActionName = "SNOOZE" | "ENABLE" | "DISABLE" | "ACKNOWLEDGE" | "RESET"; export interface DeleteDetectorRequest { messageId: string; detectorModelName: string; @@ -386,12 +280,7 @@ export type EphemeralInputName = string; export type EpochMilliTimestamp = number; -export type ErrorCode = - | "ResourceNotFoundException" - | "InvalidRequestException" - | "InternalFailureException" - | "ServiceUnavailableException" - | "ThrottlingException"; +export type ErrorCode = "ResourceNotFoundException" | "InvalidRequestException" | "InternalFailureException" | "ServiceUnavailableException" | "ThrottlingException"; export type ErrorMessage = string; export type EventType = "STATE_CHANGE"; @@ -684,10 +573,5 @@ export declare namespace ListDetectors { | CommonAwsError; } -export type IoTEventsDataErrors = - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError; +export type IoTEventsDataErrors = InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError; + diff --git a/src/services/iot-events/index.ts b/src/services/iot-events/index.ts index 636ba33f..b3292794 100644 --- a/src/services/iot-events/index.ts +++ b/src/services/iot-events/index.ts @@ -5,25 +5,7 @@ import type { IoTEvents as _IoTEventsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,34 +15,32 @@ const metadata = { sigV4ServiceName: "iotevents", endpointPrefix: "iotevents", operations: { - CreateAlarmModel: "POST /alarm-models", - CreateDetectorModel: "POST /detector-models", - CreateInput: "POST /inputs", - DeleteAlarmModel: "DELETE /alarm-models/{alarmModelName}", - DeleteDetectorModel: "DELETE /detector-models/{detectorModelName}", - DeleteInput: "DELETE /inputs/{inputName}", - DescribeAlarmModel: "GET /alarm-models/{alarmModelName}", - DescribeDetectorModel: "GET /detector-models/{detectorModelName}", - DescribeDetectorModelAnalysis: "GET /analysis/detector-models/{analysisId}", - DescribeInput: "GET /inputs/{inputName}", - DescribeLoggingOptions: "GET /logging", - GetDetectorModelAnalysisResults: - "GET /analysis/detector-models/{analysisId}/results", - ListAlarmModels: "GET /alarm-models", - ListAlarmModelVersions: "GET /alarm-models/{alarmModelName}/versions", - ListDetectorModels: "GET /detector-models", - ListDetectorModelVersions: - "GET /detector-models/{detectorModelName}/versions", - ListInputRoutings: "POST /input-routings", - ListInputs: "GET /inputs", - ListTagsForResource: "GET /tags", - PutLoggingOptions: "PUT /logging", - StartDetectorModelAnalysis: "POST /analysis/detector-models", - TagResource: "POST /tags", - UntagResource: "DELETE /tags", - UpdateAlarmModel: "POST /alarm-models/{alarmModelName}", - UpdateDetectorModel: "POST /detector-models/{detectorModelName}", - UpdateInput: "PUT /inputs/{inputName}", + "CreateAlarmModel": "POST /alarm-models", + "CreateDetectorModel": "POST /detector-models", + "CreateInput": "POST /inputs", + "DeleteAlarmModel": "DELETE /alarm-models/{alarmModelName}", + "DeleteDetectorModel": "DELETE /detector-models/{detectorModelName}", + "DeleteInput": "DELETE /inputs/{inputName}", + "DescribeAlarmModel": "GET /alarm-models/{alarmModelName}", + "DescribeDetectorModel": "GET /detector-models/{detectorModelName}", + "DescribeDetectorModelAnalysis": "GET /analysis/detector-models/{analysisId}", + "DescribeInput": "GET /inputs/{inputName}", + "DescribeLoggingOptions": "GET /logging", + "GetDetectorModelAnalysisResults": "GET /analysis/detector-models/{analysisId}/results", + "ListAlarmModels": "GET /alarm-models", + "ListAlarmModelVersions": "GET /alarm-models/{alarmModelName}/versions", + "ListDetectorModels": "GET /detector-models", + "ListDetectorModelVersions": "GET /detector-models/{detectorModelName}/versions", + "ListInputRoutings": "POST /input-routings", + "ListInputs": "GET /inputs", + "ListTagsForResource": "GET /tags", + "PutLoggingOptions": "PUT /logging", + "StartDetectorModelAnalysis": "POST /analysis/detector-models", + "TagResource": "POST /tags", + "UntagResource": "DELETE /tags", + "UpdateAlarmModel": "POST /alarm-models/{alarmModelName}", + "UpdateDetectorModel": "POST /detector-models/{detectorModelName}", + "UpdateInput": "PUT /inputs/{inputName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/iot-events/types.ts b/src/services/iot-events/types.ts index 64649807..cf10ba2d 100644 --- a/src/services/iot-events/types.ts +++ b/src/services/iot-events/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTEvents extends AWSServiceClient { @@ -42,297 +8,157 @@ export declare class IoTEvents extends AWSServiceClient { input: CreateAlarmModelRequest, ): Effect.Effect< CreateAlarmModelResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createDetectorModel( input: CreateDetectorModelRequest, ): Effect.Effect< CreateDetectorModelResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createInput( input: CreateInputRequest, ): Effect.Effect< CreateInputResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteAlarmModel( input: DeleteAlarmModelRequest, ): Effect.Effect< DeleteAlarmModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteDetectorModel( input: DeleteDetectorModelRequest, ): Effect.Effect< DeleteDetectorModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteInput( input: DeleteInputRequest, ): Effect.Effect< DeleteInputResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeAlarmModel( input: DescribeAlarmModelRequest, ): Effect.Effect< DescribeAlarmModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeDetectorModel( input: DescribeDetectorModelRequest, ): Effect.Effect< DescribeDetectorModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeDetectorModelAnalysis( input: DescribeDetectorModelAnalysisRequest, ): Effect.Effect< DescribeDetectorModelAnalysisResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeInput( input: DescribeInputRequest, ): Effect.Effect< DescribeInputResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeLoggingOptions( input: DescribeLoggingOptionsRequest, ): Effect.Effect< DescribeLoggingOptionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnsupportedOperationException | CommonAwsError >; getDetectorModelAnalysisResults( input: GetDetectorModelAnalysisResultsRequest, ): Effect.Effect< GetDetectorModelAnalysisResultsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listAlarmModels( input: ListAlarmModelsRequest, ): Effect.Effect< ListAlarmModelsResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listAlarmModelVersions( input: ListAlarmModelVersionsRequest, ): Effect.Effect< ListAlarmModelVersionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listDetectorModels( input: ListDetectorModelsRequest, ): Effect.Effect< ListDetectorModelsResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listDetectorModelVersions( input: ListDetectorModelVersionsRequest, ): Effect.Effect< ListDetectorModelVersionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listInputRoutings( input: ListInputRoutingsRequest, ): Effect.Effect< ListInputRoutingsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listInputs( input: ListInputsRequest, ): Effect.Effect< ListInputsResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putLoggingOptions( input: PutLoggingOptionsRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ServiceUnavailableException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ServiceUnavailableException | ThrottlingException | UnsupportedOperationException | CommonAwsError >; startDetectorModelAnalysis( input: StartDetectorModelAnalysisRequest, ): Effect.Effect< StartDetectorModelAnalysisResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAlarmModel( input: UpdateAlarmModelRequest, ): Effect.Effect< UpdateAlarmModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateDetectorModel( input: UpdateDetectorModelRequest, ): Effect.Effect< UpdateDetectorModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateInput( input: UpdateInputRequest, ): Effect.Effect< UpdateInputResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; } @@ -392,11 +218,7 @@ export interface AlarmModelSummary { } export type AlarmModelVersion = string; -export type AlarmModelVersionStatus = - | "ACTIVE" - | "ACTIVATING" - | "INACTIVE" - | "FAILED"; +export type AlarmModelVersionStatus = "ACTIVE" | "ACTIVATING" | "INACTIVE" | "FAILED"; export type AlarmModelVersionSummaries = Array; export interface AlarmModelVersionSummary { alarmModelName?: string; @@ -485,13 +307,7 @@ export type Attributes = Array; export interface ClearTimerAction { timerName: string; } -export type ComparisonOperator = - | "GREATER" - | "GREATER_OR_EQUAL" - | "LESS" - | "LESS_OR_EQUAL" - | "EQUAL" - | "NOT_EQUAL"; +export type ComparisonOperator = "GREATER" | "GREATER_OR_EQUAL" | "LESS" | "LESS_OR_EQUAL" | "EQUAL" | "NOT_EQUAL"; export type Condition = string; export type ContentExpression = string; @@ -539,15 +355,18 @@ export interface CreateInputResponse { export interface DeleteAlarmModelRequest { alarmModelName: string; } -export interface DeleteAlarmModelResponse {} +export interface DeleteAlarmModelResponse { +} export interface DeleteDetectorModelRequest { detectorModelName: string; } -export interface DeleteDetectorModelResponse {} +export interface DeleteDetectorModelResponse { +} export interface DeleteInputRequest { inputName: string; } -export interface DeleteInputResponse {} +export interface DeleteInputResponse { +} export type DeliveryStreamName = string; export interface DescribeAlarmModelRequest { @@ -590,7 +409,8 @@ export interface DescribeInputRequest { export interface DescribeInputResponse { input?: Input; } -export interface DescribeLoggingOptionsRequest {} +export interface DescribeLoggingOptionsRequest { +} export interface DescribeLoggingOptionsResponse { loggingOptions?: LoggingOptions; } @@ -633,14 +453,7 @@ export interface DetectorModelSummary { } export type DetectorModelVersion = string; -export type DetectorModelVersionStatus = - | "ACTIVE" - | "ACTIVATING" - | "INACTIVE" - | "DEPRECATED" - | "DRAFT" - | "PAUSED" - | "FAILED"; +export type DetectorModelVersionStatus = "ACTIVE" | "ACTIVATING" | "INACTIVE" | "DEPRECATED" | "DRAFT" | "PAUSED" | "FAILED"; export type DetectorModelVersionSummaries = Array; export interface DetectorModelVersionSummary { detectorModelName?: string; @@ -1026,7 +839,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -1057,7 +871,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAlarmModelRequest { alarmModelName: string; alarmModelDescription?: string; @@ -1421,14 +1236,5 @@ export declare namespace UpdateInput { | CommonAwsError; } -export type IoTEventsErrors = - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError; +export type IoTEventsErrors = InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnsupportedOperationException | CommonAwsError; + diff --git a/src/services/iot-jobs-data-plane/index.ts b/src/services/iot-jobs-data-plane/index.ts index 854e19be..5dc4b119 100644 --- a/src/services/iot-jobs-data-plane/index.ts +++ b/src/services/iot-jobs-data-plane/index.ts @@ -5,24 +5,7 @@ import type { IoTJobsDataPlane as _IoTJobsDataPlaneClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,11 +15,11 @@ const metadata = { sigV4ServiceName: "iot-jobs-data", endpointPrefix: "data.jobs.iot", operations: { - DescribeJobExecution: "GET /things/{thingName}/jobs/{jobId}", - GetPendingJobExecutions: "GET /things/{thingName}/jobs", - StartCommandExecution: "POST /command-executions", - StartNextPendingJobExecution: "PUT /things/{thingName}/jobs/$next", - UpdateJobExecution: "POST /things/{thingName}/jobs/{jobId}", + "DescribeJobExecution": "GET /things/{thingName}/jobs/{jobId}", + "GetPendingJobExecutions": "GET /things/{thingName}/jobs", + "StartCommandExecution": "POST /command-executions", + "StartNextPendingJobExecution": "PUT /things/{thingName}/jobs/$next", + "UpdateJobExecution": "POST /things/{thingName}/jobs/{jobId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/iot-jobs-data-plane/types.ts b/src/services/iot-jobs-data-plane/types.ts index 548bc2af..bae4f69a 100644 --- a/src/services/iot-jobs-data-plane/types.ts +++ b/src/services/iot-jobs-data-plane/types.ts @@ -1,40 +1,7 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTJobsDataPlane extends AWSServiceClient { @@ -42,59 +9,31 @@ export declare class IoTJobsDataPlane extends AWSServiceClient { input: DescribeJobExecutionRequest, ): Effect.Effect< DescribeJobExecutionResponse, - | CertificateValidationException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | TerminalStateException - | ThrottlingException - | CommonAwsError + CertificateValidationException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | TerminalStateException | ThrottlingException | CommonAwsError >; getPendingJobExecutions( input: GetPendingJobExecutionsRequest, ): Effect.Effect< GetPendingJobExecutionsResponse, - | CertificateValidationException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + CertificateValidationException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; startCommandExecution( input: StartCommandExecutionRequest, ): Effect.Effect< StartCommandExecutionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startNextPendingJobExecution( input: StartNextPendingJobExecutionRequest, ): Effect.Effect< StartNextPendingJobExecutionResponse, - | CertificateValidationException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + CertificateValidationException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateJobExecution( input: UpdateJobExecutionRequest, ): Effect.Effect< UpdateJobExecutionResponse, - | CertificateValidationException - | InvalidRequestException - | InvalidStateTransitionException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + CertificateValidationException | InvalidRequestException | InvalidStateTransitionException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; } @@ -119,10 +58,7 @@ export type CommandArn = string; export type CommandExecutionId = string; -export type CommandExecutionParameterMap = Record< - string, - CommandParameterValue ->; +export type CommandExecutionParameterMap = Record; export type CommandExecutionTimeoutInSeconds = number; export type CommandParameterName = string; @@ -214,15 +150,7 @@ export interface JobExecutionState { statusDetails?: Record; versionNumber?: number; } -export type JobExecutionStatus = - | "QUEUED" - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED" - | "TIMED_OUT" - | "REJECTED" - | "REMOVED" - | "CANCELED"; +export type JobExecutionStatus = "QUEUED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "REJECTED" | "REMOVED" | "CANCELED"; export interface JobExecutionSummary { jobId?: string; queuedAt?: number; @@ -383,16 +311,5 @@ export declare namespace UpdateJobExecution { | CommonAwsError; } -export type IoTJobsDataPlaneErrors = - | CertificateValidationException - | ConflictException - | InternalServerException - | InvalidRequestException - | InvalidStateTransitionException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | TerminalStateException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type IoTJobsDataPlaneErrors = CertificateValidationException | ConflictException | InternalServerException | InvalidRequestException | InvalidStateTransitionException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | TerminalStateException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/iot-managed-integrations/index.ts b/src/services/iot-managed-integrations/index.ts index cf5b34ee..d46216e3 100644 --- a/src/services/iot-managed-integrations/index.ts +++ b/src/services/iot-managed-integrations/index.ts @@ -5,23 +5,7 @@ import type { IoTManagedIntegrations as _IoTManagedIntegrationsClient } from "./ export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,100 +15,89 @@ const metadata = { sigV4ServiceName: "iotmanagedintegrations", endpointPrefix: "api.iotmanagedintegrations", operations: { - GetCustomEndpoint: "GET /custom-endpoint", - ListTagsForResource: "GET /tags/{ResourceArn}", - RegisterCustomEndpoint: "POST /custom-endpoint", - SendConnectorEvent: "POST /connector-event/{ConnectorId}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - CreateAccountAssociation: "POST /account-associations", - CreateCloudConnector: "POST /cloud-connectors", - CreateConnectorDestination: "POST /connector-destinations", - CreateCredentialLocker: "POST /credential-lockers", - CreateDestination: "POST /destinations", - CreateEventLogConfiguration: "POST /event-log-configurations", - CreateManagedThing: "POST /managed-things", - CreateNotificationConfiguration: "POST /notification-configurations", - CreateOtaTask: "POST /ota-tasks", - CreateOtaTaskConfiguration: "POST /ota-task-configurations", - CreateProvisioningProfile: "POST /provisioning-profiles", - DeleteAccountAssociation: - "DELETE /account-associations/{AccountAssociationId}", - DeleteCloudConnector: "DELETE /cloud-connectors/{Identifier}", - DeleteConnectorDestination: "DELETE /connector-destinations/{Identifier}", - DeleteCredentialLocker: "DELETE /credential-lockers/{Identifier}", - DeleteDestination: "DELETE /destinations/{Name}", - DeleteEventLogConfiguration: "DELETE /event-log-configurations/{Id}", - DeleteManagedThing: "DELETE /managed-things/{Identifier}", - DeleteNotificationConfiguration: - "DELETE /notification-configurations/{EventType}", - DeleteOtaTask: "DELETE /ota-tasks/{Identifier}", - DeleteOtaTaskConfiguration: "DELETE /ota-task-configurations/{Identifier}", - DeleteProvisioningProfile: "DELETE /provisioning-profiles/{Identifier}", - DeregisterAccountAssociation: "PUT /managed-thing-associations/deregister", - GetAccountAssociation: "GET /account-associations/{AccountAssociationId}", - GetCloudConnector: "GET /cloud-connectors/{Identifier}", - GetConnectorDestination: "GET /connector-destinations/{Identifier}", - GetCredentialLocker: "GET /credential-lockers/{Identifier}", - GetDefaultEncryptionConfiguration: "GET /configuration/account/encryption", - GetDestination: "GET /destinations/{Name}", - GetDeviceDiscovery: "GET /device-discoveries/{Identifier}", - GetEventLogConfiguration: "GET /event-log-configurations/{Id}", - GetHubConfiguration: "GET /hub-configuration", - GetManagedThing: "GET /managed-things/{Identifier}", - GetManagedThingCapabilities: - "GET /managed-things-capabilities/{Identifier}", - GetManagedThingCertificate: "GET /managed-things-certificate/{Identifier}", - GetManagedThingConnectivityData: - "POST /managed-things-connectivity-data/{Identifier}", - GetManagedThingMetaData: "GET /managed-things-metadata/{Identifier}", - GetManagedThingState: "GET /managed-thing-states/{ManagedThingId}", - GetNotificationConfiguration: - "GET /notification-configurations/{EventType}", - GetOtaTask: "GET /ota-tasks/{Identifier}", - GetOtaTaskConfiguration: "GET /ota-task-configurations/{Identifier}", - GetProvisioningProfile: "GET /provisioning-profiles/{Identifier}", - GetRuntimeLogConfiguration: - "GET /runtime-log-configurations/{ManagedThingId}", - GetSchemaVersion: "GET /schema-versions/{Type}/{SchemaVersionedId}", - ListAccountAssociations: "GET /account-associations", - ListCloudConnectors: "GET /cloud-connectors", - ListConnectorDestinations: "GET /connector-destinations", - ListCredentialLockers: "GET /credential-lockers", - ListDestinations: "GET /destinations", - ListDeviceDiscoveries: "GET /device-discoveries", - ListDiscoveredDevices: "GET /device-discoveries/{Identifier}/devices", - ListEventLogConfigurations: "GET /event-log-configurations", - ListManagedThingAccountAssociations: "GET /managed-thing-associations", - ListManagedThingSchemas: "GET /managed-thing-schemas/{Identifier}", - ListManagedThings: "GET /managed-things", - ListNotificationConfigurations: "GET /notification-configurations", - ListOtaTaskConfigurations: "GET /ota-task-configurations", - ListOtaTaskExecutions: "GET /ota-tasks/{Identifier}/devices", - ListOtaTasks: "GET /ota-tasks", - ListProvisioningProfiles: "GET /provisioning-profiles", - ListSchemaVersions: "GET /schema-versions/{Type}", - PutDefaultEncryptionConfiguration: "POST /configuration/account/encryption", - PutHubConfiguration: "PUT /hub-configuration", - PutRuntimeLogConfiguration: - "PUT /runtime-log-configurations/{ManagedThingId}", - RegisterAccountAssociation: "PUT /managed-thing-associations/register", - ResetRuntimeLogConfiguration: - "DELETE /runtime-log-configurations/{ManagedThingId}", - SendManagedThingCommand: "POST /managed-things-command/{ManagedThingId}", - StartAccountAssociationRefresh: - "POST /account-associations/{AccountAssociationId}/refresh", - StartDeviceDiscovery: "POST /device-discoveries", - UpdateAccountAssociation: - "PUT /account-associations/{AccountAssociationId}", - UpdateCloudConnector: "PUT /cloud-connectors/{Identifier}", - UpdateConnectorDestination: "PUT /connector-destinations/{Identifier}", - UpdateDestination: "PUT /destinations/{Name}", - UpdateEventLogConfiguration: "PATCH /event-log-configurations/{Id}", - UpdateManagedThing: "PUT /managed-things/{Identifier}", - UpdateNotificationConfiguration: - "PUT /notification-configurations/{EventType}", - UpdateOtaTask: "PUT /ota-tasks/{Identifier}", + "GetCustomEndpoint": "GET /custom-endpoint", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "RegisterCustomEndpoint": "POST /custom-endpoint", + "SendConnectorEvent": "POST /connector-event/{ConnectorId}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "CreateAccountAssociation": "POST /account-associations", + "CreateCloudConnector": "POST /cloud-connectors", + "CreateConnectorDestination": "POST /connector-destinations", + "CreateCredentialLocker": "POST /credential-lockers", + "CreateDestination": "POST /destinations", + "CreateEventLogConfiguration": "POST /event-log-configurations", + "CreateManagedThing": "POST /managed-things", + "CreateNotificationConfiguration": "POST /notification-configurations", + "CreateOtaTask": "POST /ota-tasks", + "CreateOtaTaskConfiguration": "POST /ota-task-configurations", + "CreateProvisioningProfile": "POST /provisioning-profiles", + "DeleteAccountAssociation": "DELETE /account-associations/{AccountAssociationId}", + "DeleteCloudConnector": "DELETE /cloud-connectors/{Identifier}", + "DeleteConnectorDestination": "DELETE /connector-destinations/{Identifier}", + "DeleteCredentialLocker": "DELETE /credential-lockers/{Identifier}", + "DeleteDestination": "DELETE /destinations/{Name}", + "DeleteEventLogConfiguration": "DELETE /event-log-configurations/{Id}", + "DeleteManagedThing": "DELETE /managed-things/{Identifier}", + "DeleteNotificationConfiguration": "DELETE /notification-configurations/{EventType}", + "DeleteOtaTask": "DELETE /ota-tasks/{Identifier}", + "DeleteOtaTaskConfiguration": "DELETE /ota-task-configurations/{Identifier}", + "DeleteProvisioningProfile": "DELETE /provisioning-profiles/{Identifier}", + "DeregisterAccountAssociation": "PUT /managed-thing-associations/deregister", + "GetAccountAssociation": "GET /account-associations/{AccountAssociationId}", + "GetCloudConnector": "GET /cloud-connectors/{Identifier}", + "GetConnectorDestination": "GET /connector-destinations/{Identifier}", + "GetCredentialLocker": "GET /credential-lockers/{Identifier}", + "GetDefaultEncryptionConfiguration": "GET /configuration/account/encryption", + "GetDestination": "GET /destinations/{Name}", + "GetDeviceDiscovery": "GET /device-discoveries/{Identifier}", + "GetEventLogConfiguration": "GET /event-log-configurations/{Id}", + "GetHubConfiguration": "GET /hub-configuration", + "GetManagedThing": "GET /managed-things/{Identifier}", + "GetManagedThingCapabilities": "GET /managed-things-capabilities/{Identifier}", + "GetManagedThingCertificate": "GET /managed-things-certificate/{Identifier}", + "GetManagedThingConnectivityData": "POST /managed-things-connectivity-data/{Identifier}", + "GetManagedThingMetaData": "GET /managed-things-metadata/{Identifier}", + "GetManagedThingState": "GET /managed-thing-states/{ManagedThingId}", + "GetNotificationConfiguration": "GET /notification-configurations/{EventType}", + "GetOtaTask": "GET /ota-tasks/{Identifier}", + "GetOtaTaskConfiguration": "GET /ota-task-configurations/{Identifier}", + "GetProvisioningProfile": "GET /provisioning-profiles/{Identifier}", + "GetRuntimeLogConfiguration": "GET /runtime-log-configurations/{ManagedThingId}", + "GetSchemaVersion": "GET /schema-versions/{Type}/{SchemaVersionedId}", + "ListAccountAssociations": "GET /account-associations", + "ListCloudConnectors": "GET /cloud-connectors", + "ListConnectorDestinations": "GET /connector-destinations", + "ListCredentialLockers": "GET /credential-lockers", + "ListDestinations": "GET /destinations", + "ListDeviceDiscoveries": "GET /device-discoveries", + "ListDiscoveredDevices": "GET /device-discoveries/{Identifier}/devices", + "ListEventLogConfigurations": "GET /event-log-configurations", + "ListManagedThingAccountAssociations": "GET /managed-thing-associations", + "ListManagedThingSchemas": "GET /managed-thing-schemas/{Identifier}", + "ListManagedThings": "GET /managed-things", + "ListNotificationConfigurations": "GET /notification-configurations", + "ListOtaTaskConfigurations": "GET /ota-task-configurations", + "ListOtaTaskExecutions": "GET /ota-tasks/{Identifier}/devices", + "ListOtaTasks": "GET /ota-tasks", + "ListProvisioningProfiles": "GET /provisioning-profiles", + "ListSchemaVersions": "GET /schema-versions/{Type}", + "PutDefaultEncryptionConfiguration": "POST /configuration/account/encryption", + "PutHubConfiguration": "PUT /hub-configuration", + "PutRuntimeLogConfiguration": "PUT /runtime-log-configurations/{ManagedThingId}", + "RegisterAccountAssociation": "PUT /managed-thing-associations/register", + "ResetRuntimeLogConfiguration": "DELETE /runtime-log-configurations/{ManagedThingId}", + "SendManagedThingCommand": "POST /managed-things-command/{ManagedThingId}", + "StartAccountAssociationRefresh": "POST /account-associations/{AccountAssociationId}/refresh", + "StartDeviceDiscovery": "POST /device-discoveries", + "UpdateAccountAssociation": "PUT /account-associations/{AccountAssociationId}", + "UpdateCloudConnector": "PUT /cloud-connectors/{Identifier}", + "UpdateConnectorDestination": "PUT /connector-destinations/{Identifier}", + "UpdateDestination": "PUT /destinations/{Name}", + "UpdateEventLogConfiguration": "PATCH /event-log-configurations/{Id}", + "UpdateManagedThing": "PUT /managed-things/{Identifier}", + "UpdateNotificationConfiguration": "PUT /notification-configurations/{EventType}", + "UpdateOtaTask": "PUT /ota-tasks/{Identifier}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/iot-managed-integrations/types.ts b/src/services/iot-managed-integrations/types.ts index 8507214d..828507dc 100644 --- a/src/services/iot-managed-integrations/types.ts +++ b/src/services/iot-managed-integrations/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTManagedIntegrations extends AWSServiceClient { @@ -40,983 +8,499 @@ export declare class IoTManagedIntegrations extends AWSServiceClient { input: GetCustomEndpointRequest, ): Effect.Effect< GetCustomEndpointResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; registerCustomEndpoint( input: RegisterCustomEndpointRequest, ): Effect.Effect< RegisterCustomEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; sendConnectorEvent( input: SendConnectorEventRequest, ): Effect.Effect< SendConnectorEventResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConflictException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + ConflictException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConflictException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + ConflictException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; createAccountAssociation( input: CreateAccountAssociationRequest, ): Effect.Effect< CreateAccountAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createCloudConnector( input: CreateCloudConnectorRequest, ): Effect.Effect< CreateCloudConnectorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createConnectorDestination( input: CreateConnectorDestinationRequest, ): Effect.Effect< CreateConnectorDestinationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createCredentialLocker( input: CreateCredentialLockerRequest, ): Effect.Effect< CreateCredentialLockerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; createDestination( input: CreateDestinationRequest, ): Effect.Effect< CreateDestinationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createEventLogConfiguration( input: CreateEventLogConfigurationRequest, ): Effect.Effect< CreateEventLogConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createManagedThing( input: CreateManagedThingRequest, ): Effect.Effect< CreateManagedThingResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createNotificationConfiguration( input: CreateNotificationConfigurationRequest, ): Effect.Effect< CreateNotificationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createOtaTask( input: CreateOtaTaskRequest, ): Effect.Effect< CreateOtaTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createOtaTaskConfiguration( input: CreateOtaTaskConfigurationRequest, ): Effect.Effect< CreateOtaTaskConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createProvisioningProfile( input: CreateProvisioningProfileRequest, ): Effect.Effect< CreateProvisioningProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteAccountAssociation( input: DeleteAccountAssociationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; deleteCloudConnector( input: DeleteCloudConnectorRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteConnectorDestination( input: DeleteConnectorDestinationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCredentialLocker( input: DeleteCredentialLockerRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; deleteDestination( input: DeleteDestinationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEventLogConfiguration( input: DeleteEventLogConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteManagedThing( input: DeleteManagedThingRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteNotificationConfiguration( input: DeleteNotificationConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteOtaTask( input: DeleteOtaTaskRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteOtaTaskConfiguration( input: DeleteOtaTaskConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProvisioningProfile( input: DeleteProvisioningProfileRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deregisterAccountAssociation( input: DeregisterAccountAssociationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAccountAssociation( input: GetAccountAssociationRequest, ): Effect.Effect< GetAccountAssociationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getCloudConnector( input: GetCloudConnectorRequest, ): Effect.Effect< GetCloudConnectorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConnectorDestination( input: GetConnectorDestinationRequest, ): Effect.Effect< GetConnectorDestinationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCredentialLocker( input: GetCredentialLockerRequest, ): Effect.Effect< GetCredentialLockerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getDefaultEncryptionConfiguration( input: GetDefaultEncryptionConfigurationRequest, ): Effect.Effect< GetDefaultEncryptionConfigurationResponse, - | AccessDeniedException - | InternalFailureException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalFailureException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getDestination( input: GetDestinationRequest, ): Effect.Effect< GetDestinationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDeviceDiscovery( input: GetDeviceDiscoveryRequest, ): Effect.Effect< GetDeviceDiscoveryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getEventLogConfiguration( input: GetEventLogConfigurationRequest, ): Effect.Effect< GetEventLogConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getHubConfiguration( input: GetHubConfigurationRequest, ): Effect.Effect< GetHubConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getManagedThing( input: GetManagedThingRequest, ): Effect.Effect< GetManagedThingResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getManagedThingCapabilities( input: GetManagedThingCapabilitiesRequest, ): Effect.Effect< GetManagedThingCapabilitiesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getManagedThingCertificate( input: GetManagedThingCertificateRequest, ): Effect.Effect< GetManagedThingCertificateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getManagedThingConnectivityData( input: GetManagedThingConnectivityDataRequest, ): Effect.Effect< GetManagedThingConnectivityDataResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getManagedThingMetaData( input: GetManagedThingMetaDataRequest, ): Effect.Effect< GetManagedThingMetaDataResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getManagedThingState( input: GetManagedThingStateRequest, ): Effect.Effect< GetManagedThingStateResponse, - | AccessDeniedException - | InternalFailureException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalFailureException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getNotificationConfiguration( input: GetNotificationConfigurationRequest, ): Effect.Effect< GetNotificationConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOtaTask( input: GetOtaTaskRequest, ): Effect.Effect< GetOtaTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOtaTaskConfiguration( input: GetOtaTaskConfigurationRequest, ): Effect.Effect< GetOtaTaskConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProvisioningProfile( input: GetProvisioningProfileRequest, ): Effect.Effect< GetProvisioningProfileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getRuntimeLogConfiguration( input: GetRuntimeLogConfigurationRequest, ): Effect.Effect< GetRuntimeLogConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSchemaVersion( input: GetSchemaVersionRequest, ): Effect.Effect< GetSchemaVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; listAccountAssociations( input: ListAccountAssociationsRequest, ): Effect.Effect< ListAccountAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; listCloudConnectors( input: ListCloudConnectorsRequest, ): Effect.Effect< ListCloudConnectorsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listConnectorDestinations( input: ListConnectorDestinationsRequest, ): Effect.Effect< ListConnectorDestinationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCredentialLockers( input: ListCredentialLockersRequest, ): Effect.Effect< ListCredentialLockersResponse, - | AccessDeniedException - | InternalServerException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; listDestinations( input: ListDestinationsRequest, ): Effect.Effect< ListDestinationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDeviceDiscoveries( input: ListDeviceDiscoveriesRequest, ): Effect.Effect< ListDeviceDiscoveriesResponse, - | AccessDeniedException - | InternalServerException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listDiscoveredDevices( input: ListDiscoveredDevicesRequest, ): Effect.Effect< ListDiscoveredDevicesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listEventLogConfigurations( input: ListEventLogConfigurationsRequest, ): Effect.Effect< ListEventLogConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listManagedThingAccountAssociations( input: ListManagedThingAccountAssociationsRequest, ): Effect.Effect< ListManagedThingAccountAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listManagedThingSchemas( input: ListManagedThingSchemasRequest, ): Effect.Effect< ListManagedThingSchemasResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listManagedThings( input: ListManagedThingsRequest, ): Effect.Effect< ListManagedThingsResponse, - | AccessDeniedException - | InternalServerException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listNotificationConfigurations( input: ListNotificationConfigurationsRequest, ): Effect.Effect< ListNotificationConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listOtaTaskConfigurations( input: ListOtaTaskConfigurationsRequest, ): Effect.Effect< ListOtaTaskConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listOtaTaskExecutions( input: ListOtaTaskExecutionsRequest, ): Effect.Effect< ListOtaTaskExecutionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listOtaTasks( input: ListOtaTasksRequest, ): Effect.Effect< ListOtaTasksResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProvisioningProfiles( input: ListProvisioningProfilesRequest, ): Effect.Effect< ListProvisioningProfilesResponse, - | AccessDeniedException - | InternalServerException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listSchemaVersions( input: ListSchemaVersionsRequest, ): Effect.Effect< ListSchemaVersionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; putDefaultEncryptionConfiguration( input: PutDefaultEncryptionConfigurationRequest, ): Effect.Effect< PutDefaultEncryptionConfigurationResponse, - | AccessDeniedException - | InternalFailureException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalFailureException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; putHubConfiguration( input: PutHubConfigurationRequest, ): Effect.Effect< PutHubConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; putRuntimeLogConfiguration( input: PutRuntimeLogConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; registerAccountAssociation( input: RegisterAccountAssociationRequest, ): Effect.Effect< RegisterAccountAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resetRuntimeLogConfiguration( input: ResetRuntimeLogConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; sendManagedThingCommand( input: SendManagedThingCommandRequest, ): Effect.Effect< SendManagedThingCommandResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; startAccountAssociationRefresh( input: StartAccountAssociationRefreshRequest, ): Effect.Effect< StartAccountAssociationRefreshResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; startDeviceDiscovery( input: StartDeviceDiscoveryRequest, ): Effect.Effect< StartDeviceDiscoveryResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateAccountAssociation( input: UpdateAccountAssociationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; updateCloudConnector( input: UpdateCloudConnectorRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateConnectorDestination( input: UpdateConnectorDestinationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDestination( input: UpdateDestinationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEventLogConfiguration( input: UpdateEventLogConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateManagedThing( input: UpdateManagedThingRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateNotificationConfiguration( input: UpdateNotificationConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateOtaTask( input: UpdateOtaTaskRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1028,11 +512,7 @@ export interface AbortConfigCriteria { } export type AbortConfigCriteriaList = Array; export type AbortCriteriaAction = "CANCEL"; -export type AbortCriteriaFailureType = - | "FAILED" - | "REJECTED" - | "TIMED_OUT" - | "ALL"; +export type AbortCriteriaFailureType = "FAILED" | "REJECTED" | "TIMED_OUT" | "ALL"; export declare class AccessDeniedException extends EffectData.TaggedError( "AccessDeniedException", )<{ @@ -1066,12 +546,7 @@ export type ActionTraceId = string; export type AdvertisedProductId = string; -export type AssociationState = - | "ASSOCIATION_IN_PROGRESS" - | "ASSOCIATION_FAILED" - | "ASSOCIATION_SUCCEEDED" - | "ASSOCIATION_DELETING" - | "REFRESH_TOKEN_EXPIRED"; +export type AssociationState = "ASSOCIATION_IN_PROGRESS" | "ASSOCIATION_FAILED" | "ASSOCIATION_SUCCEEDED" | "ASSOCIATION_DELETING" | "REFRESH_TOKEN_EXPIRED"; export type AttributeName = string; export type AttributeValue = string; @@ -1084,12 +559,7 @@ export interface AuthConfigUpdate { } export type AuthMaterialString = string; -export type AuthMaterialType = - | "CUSTOM_PROTOCOL_QR_BAR_CODE" - | "WIFI_SETUP_QR_BAR_CODE" - | "ZWAVE_QR_BAR_CODE" - | "ZIGBEE_QR_BAR_CODE" - | "DISCOVERED_DEVICE"; +export type AuthMaterialType = "CUSTOM_PROTOCOL_QR_BAR_CODE" | "WIFI_SETUP_QR_BAR_CODE" | "ZWAVE_QR_BAR_CODE" | "ZIGBEE_QR_BAR_CODE" | "DISCOVERED_DEVICE"; export type AuthType = "OAUTH"; export type AuthUrl = string; @@ -1188,10 +658,7 @@ export type ConfigurationErrorCode = string; export type ConfigurationErrorMessage = string; -export type ConfigurationState = - | "ENABLED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED"; +export type ConfigurationState = "ENABLED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED"; export interface ConfigurationStatus { error?: ConfigurationError; state: ConfigurationState; @@ -1211,8 +678,7 @@ export type ConnectorDestinationDescription = string; export type ConnectorDestinationId = string; -export type ConnectorDestinationListDefinition = - Array; +export type ConnectorDestinationListDefinition = Array; export type ConnectorDestinationName = string; export interface ConnectorDestinationSummary { @@ -1227,11 +693,7 @@ export type ConnectorDeviceName = string; export type ConnectorEventMessage = string; -export type ConnectorEventOperation = - | "DEVICE_COMMAND_RESPONSE" - | "DEVICE_DISCOVERY" - | "DEVICE_EVENT" - | "DEVICE_COMMAND_REQUEST"; +export type ConnectorEventOperation = "DEVICE_COMMAND_RESPONSE" | "DEVICE_DISCOVERY" | "DEVICE_EVENT" | "DEVICE_COMMAND_REQUEST"; export type ConnectorEventOperationVersion = string; export type ConnectorEventStatusCode = number; @@ -1485,11 +947,7 @@ export type DeviceDiscoveryArn = string; export type DeviceDiscoveryId = string; export type DeviceDiscoveryListDefinition = Array; -export type DeviceDiscoveryStatus = - | "RUNNING" - | "SUCCEEDED" - | "FAILED" - | "TIMED_OUT"; +export type DeviceDiscoveryStatus = "RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT"; export interface DeviceDiscoverySummary { Id?: string; DiscoveryType?: DiscoveryType; @@ -1504,21 +962,7 @@ export type DeviceType = string; export type DeviceTypeList = Array; export type DeviceTypes = Array; -export type DisconnectReasonValue = - | "AUTH_ERROR" - | "CLIENT_INITIATED_DISCONNECT" - | "CLIENT_ERROR" - | "CONNECTION_LOST" - | "DUPLICATE_CLIENTID" - | "FORBIDDEN_ACCESS" - | "MQTT_KEEP_ALIVE_TIMEOUT" - | "SERVER_ERROR" - | "SERVER_INITIATED_DISCONNECT" - | "THROTTLED" - | "WEBSOCKET_TTL_EXPIRATION" - | "CUSTOMAUTH_TTL_EXPIRATION" - | "UNKNOWN" - | "NONE"; +export type DisconnectReasonValue = "AUTH_ERROR" | "CLIENT_INITIATED_DISCONNECT" | "CLIENT_ERROR" | "CONNECTION_LOST" | "DUPLICATE_CLIENTID" | "FORBIDDEN_ACCESS" | "MQTT_KEEP_ALIVE_TIMEOUT" | "SERVER_ERROR" | "SERVER_INITIATED_DISCONNECT" | "THROTTLED" | "WEBSOCKET_TTL_EXPIRATION" | "CUSTOMAUTH_TTL_EXPIRATION" | "UNKNOWN" | "NONE"; export type DiscoveredAt = Date | string; export type DiscoveredDeviceListDefinition = Array; @@ -1546,9 +990,7 @@ export type DisplayName = string; export type DurationInMinutes = number; -export type EncryptionType = - | "MANAGED_INTEGRATIONS_DEFAULT_ENCRYPTION" - | "CUSTOMER_KEY_ENCRYPTION"; +export type EncryptionType = "MANAGED_INTEGRATIONS_DEFAULT_ENCRYPTION" | "CUSTOMER_KEY_ENCRYPTION"; export type EndpointAddress = string; export interface EndpointConfig { @@ -1567,8 +1009,7 @@ export type ErrorResourceId = string; export type ErrorResourceType = string; -export type EventLogConfigurationListDefinition = - Array; +export type EventLogConfigurationListDefinition = Array; export interface EventLogConfigurationSummary { Id?: string; ResourceType?: string; @@ -1577,17 +1018,7 @@ export interface EventLogConfigurationSummary { } export type EventName = string; -export type EventType = - | "DEVICE_COMMAND" - | "DEVICE_COMMAND_REQUEST" - | "DEVICE_DISCOVERY_STATUS" - | "DEVICE_EVENT" - | "DEVICE_LIFE_CYCLE" - | "DEVICE_STATE" - | "DEVICE_OTA" - | "CONNECTOR_ASSOCIATION" - | "ACCOUNT_ASSOCIATION" - | "CONNECTOR_ERROR_REPORT"; +export type EventType = "DEVICE_COMMAND" | "DEVICE_COMMAND_REQUEST" | "DEVICE_DISCOVERY_STATUS" | "DEVICE_EVENT" | "DEVICE_LIFE_CYCLE" | "DEVICE_STATE" | "DEVICE_OTA" | "CONNECTOR_ASSOCIATION" | "ACCOUNT_ASSOCIATION" | "CONNECTOR_ERROR_REPORT"; export type ExecutionNumber = number; export interface ExponentialRolloutRate { @@ -1645,11 +1076,13 @@ export interface GetCredentialLockerResponse { CreatedAt?: Date | string; Tags?: Record; } -export interface GetCustomEndpointRequest {} +export interface GetCustomEndpointRequest { +} export interface GetCustomEndpointResponse { EndpointAddress: string; } -export interface GetDefaultEncryptionConfigurationRequest {} +export interface GetDefaultEncryptionConfigurationRequest { +} export interface GetDefaultEncryptionConfigurationResponse { configurationStatus: ConfigurationStatus; encryptionType: EncryptionType; @@ -1692,7 +1125,8 @@ export interface GetEventLogConfigurationResponse { ResourceId?: string; EventLogLevel?: LogLevel; } -export interface GetHubConfigurationRequest {} +export interface GetHubConfigurationRequest { +} export interface GetHubConfigurationResponse { HubTokenTimerExpirySettingInSeconds?: number; UpdatedAt?: Date | string; @@ -2071,8 +1505,7 @@ export type ManagedThingAssociationList = Array; export type ManagedThingId = string; export type ManagedThingListDefinition = Array; -export type ManagedThingSchemaListDefinition = - Array; +export type ManagedThingSchemaListDefinition = Array; export interface ManagedThingSchemaListItem { EndpointId?: string; CapabilityId?: string; @@ -2113,8 +1546,7 @@ export interface MatterCapabilityReportAttribute { name?: string; value?: unknown; } -export type MatterCapabilityReportAttributes = - Array; +export type MatterCapabilityReportAttributes = Array; export type MatterCapabilityReportAttributeValue = unknown; export interface MatterCapabilityReportCluster { @@ -2132,8 +1564,7 @@ export interface MatterCapabilityReportCluster { } export type MatterCapabilityReportClusterRevisionId = number; -export type MatterCapabilityReportClusters = - Array; +export type MatterCapabilityReportClusters = Array; export type MatterCapabilityReportCommands = Array; export interface MatterCapabilityReportEndpoint { id: string; @@ -2145,8 +1576,7 @@ export interface MatterCapabilityReportEndpoint { } export type MatterCapabilityReportEndpointClientClusters = Array; export type MatterCapabilityReportEndpointParts = Array; -export type MatterCapabilityReportEndpoints = - Array; +export type MatterCapabilityReportEndpoints = Array; export type MatterCapabilityReportEndpointSemanticTags = Array; export type MatterCapabilityReportEvents = Array; export type MatterCapabilityReportFabricIndex = number; @@ -2192,8 +1622,7 @@ export type NodeId = string; export type NotificationConfigurationCreatedAt = Date | string; -export type NotificationConfigurationListDefinition = - Array; +export type NotificationConfigurationListDefinition = Array; export interface NotificationConfigurationSummary { EventType?: EventType; DestinationName?: string; @@ -2226,12 +1655,7 @@ export type OtaMechanism = "PUSH"; export type OtaNextToken = string; export type OtaProtocol = "HTTP"; -export type OtaStatus = - | "IN_PROGRESS" - | "CANCELED" - | "COMPLETED" - | "DELETION_IN_PROGRESS" - | "SCHEDULED"; +export type OtaStatus = "IN_PROGRESS" | "CANCELED" | "COMPLETED" | "DELETION_IN_PROGRESS" | "SCHEDULED"; export type OtaTargetQueryString = string; export interface OtaTaskAbortConfig { @@ -2241,8 +1665,7 @@ export type OtaTaskArn = string; export type OtaTaskConfigurationId = string; -export type OtaTaskConfigurationListDefinition = - Array; +export type OtaTaskConfigurationListDefinition = Array; export type OtaTaskConfigurationName = string; export interface OtaTaskConfigurationSummary { @@ -2257,21 +1680,12 @@ export interface OtaTaskExecutionRolloutConfig { ExponentialRolloutRate?: ExponentialRolloutRate; MaximumPerMinute?: number; } -export type OtaTaskExecutionStatus = - | "QUEUED" - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED" - | "TIMED_OUT" - | "REJECTED" - | "REMOVED" - | "CANCELED"; +export type OtaTaskExecutionStatus = "QUEUED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "REJECTED" | "REMOVED" | "CANCELED"; export interface OtaTaskExecutionSummaries { TaskExecutionSummary?: OtaTaskExecutionSummary; ManagedThingId?: string; } -export type OtaTaskExecutionSummariesListDefinition = - Array; +export type OtaTaskExecutionSummariesListDefinition = Array; export interface OtaTaskExecutionSummary { ExecutionNumber?: number; LastUpdatedAt?: Date | string; @@ -2315,8 +1729,7 @@ export type ProvisioningProfileArn = string; export type ProvisioningProfileId = string; -export type ProvisioningProfileListDefinition = - Array; +export type ProvisioningProfileListDefinition = Array; export type ProvisioningProfileName = string; export interface ProvisioningProfileSummary { @@ -2325,15 +1738,7 @@ export interface ProvisioningProfileSummary { Arn?: string; ProvisioningType?: ProvisioningType; } -export type ProvisioningStatus = - | "UNASSOCIATED" - | "PRE_ASSOCIATED" - | "DISCOVERED" - | "ACTIVATED" - | "DELETION_FAILED" - | "DELETE_IN_PROGRESS" - | "ISOLATED" - | "DELETED"; +export type ProvisioningStatus = "UNASSOCIATED" | "PRE_ASSOCIATED" | "DISCOVERED" | "ACTIVATED" | "DELETION_FAILED" | "DELETE_IN_PROGRESS" | "ISOLATED" | "DELETED"; export type ProvisioningType = "FLEET_PROVISIONING" | "JITR"; export interface PushConfig { AbortConfig?: OtaTaskAbortConfig; @@ -2371,7 +1776,8 @@ export interface RegisterAccountAssociationResponse { DeviceDiscoveryId?: string; ManagedThingId?: string; } -export interface RegisterCustomEndpointRequest {} +export interface RegisterCustomEndpointRequest { +} export interface RegisterCustomEndpointResponse { EndpointAddress: string; } @@ -2417,10 +1823,7 @@ export interface ScheduleMaintenanceWindow { export type ScheduleMaintenanceWindowList = Array; export type ScheduleStartTime = string; -export type SchedulingConfigEndBehavior = - | "STOP_ROLLOUT" - | "CANCEL" - | "FORCE_CANCEL"; +export type SchedulingConfigEndBehavior = "STOP_ROLLOUT" | "CANCEL" | "FORCE_CANCEL"; export type SchemaId = string; export type SchemaVersionDescription = string; @@ -2542,7 +1945,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export type TagValue = string; @@ -2567,9 +1971,7 @@ export declare class ThrottlingException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type TokenEndpointAuthenticationScheme = - | "HTTP_BASIC" - | "REQUEST_BODY_CREDENTIALS"; +export type TokenEndpointAuthenticationScheme = "HTTP_BASIC" | "REQUEST_BODY_CREDENTIALS"; export type TokenUrl = string; export type TraceId = string; @@ -2585,7 +1987,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAccountAssociationRequest { AccountAssociationId: string; Name?: string; @@ -3717,17 +3120,5 @@ export declare namespace UpdateOtaTask { | CommonAwsError; } -export type IoTManagedIntegrationsErrors = - | AccessDeniedException - | ConflictException - | InternalFailureException - | InternalServerException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError; +export type IoTManagedIntegrationsErrors = AccessDeniedException | ConflictException | InternalFailureException | InternalServerException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError; + diff --git a/src/services/iot-wireless/index.ts b/src/services/iot-wireless/index.ts index 4c997169..76bb7481 100644 --- a/src/services/iot-wireless/index.ts +++ b/src/services/iot-wireless/index.ts @@ -5,23 +5,7 @@ import type { IoTWireless as _IoTWirelessClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,156 +15,128 @@ const metadata = { sigV4ServiceName: "iotwireless", endpointPrefix: "api.iotwireless", operations: { - AssociateAwsAccountWithPartnerAccount: "POST /partner-accounts", - AssociateMulticastGroupWithFuotaTask: - "PUT /fuota-tasks/{Id}/multicast-group", - AssociateWirelessDeviceWithFuotaTask: - "PUT /fuota-tasks/{Id}/wireless-device", - AssociateWirelessDeviceWithMulticastGroup: - "PUT /multicast-groups/{Id}/wireless-device", - AssociateWirelessDeviceWithThing: "PUT /wireless-devices/{Id}/thing", - AssociateWirelessGatewayWithCertificate: - "PUT /wireless-gateways/{Id}/certificate", - AssociateWirelessGatewayWithThing: "PUT /wireless-gateways/{Id}/thing", - CancelMulticastGroupSession: "DELETE /multicast-groups/{Id}/session", - CreateDestination: "POST /destinations", - CreateDeviceProfile: "POST /device-profiles", - CreateFuotaTask: "POST /fuota-tasks", - CreateMulticastGroup: "POST /multicast-groups", - CreateNetworkAnalyzerConfiguration: "POST /network-analyzer-configurations", - CreateServiceProfile: "POST /service-profiles", - CreateWirelessDevice: "POST /wireless-devices", - CreateWirelessGateway: "POST /wireless-gateways", - CreateWirelessGatewayTask: "POST /wireless-gateways/{Id}/tasks", - CreateWirelessGatewayTaskDefinition: - "POST /wireless-gateway-task-definitions", - DeleteDestination: "DELETE /destinations/{Name}", - DeleteDeviceProfile: "DELETE /device-profiles/{Id}", - DeleteFuotaTask: "DELETE /fuota-tasks/{Id}", - DeleteMulticastGroup: "DELETE /multicast-groups/{Id}", - DeleteNetworkAnalyzerConfiguration: - "DELETE /network-analyzer-configurations/{ConfigurationName}", - DeleteQueuedMessages: "DELETE /wireless-devices/{Id}/data", - DeleteServiceProfile: "DELETE /service-profiles/{Id}", - DeleteWirelessDevice: "DELETE /wireless-devices/{Id}", - DeleteWirelessDeviceImportTask: "DELETE /wireless_device_import_task/{Id}", - DeleteWirelessGateway: "DELETE /wireless-gateways/{Id}", - DeleteWirelessGatewayTask: "DELETE /wireless-gateways/{Id}/tasks", - DeleteWirelessGatewayTaskDefinition: - "DELETE /wireless-gateway-task-definitions/{Id}", - DeregisterWirelessDevice: "PATCH /wireless-devices/{Identifier}/deregister", - DisassociateAwsAccountFromPartnerAccount: - "DELETE /partner-accounts/{PartnerAccountId}", - DisassociateMulticastGroupFromFuotaTask: - "DELETE /fuota-tasks/{Id}/multicast-groups/{MulticastGroupId}", - DisassociateWirelessDeviceFromFuotaTask: - "DELETE /fuota-tasks/{Id}/wireless-devices/{WirelessDeviceId}", - DisassociateWirelessDeviceFromMulticastGroup: - "DELETE /multicast-groups/{Id}/wireless-devices/{WirelessDeviceId}", - DisassociateWirelessDeviceFromThing: "DELETE /wireless-devices/{Id}/thing", - DisassociateWirelessGatewayFromCertificate: - "DELETE /wireless-gateways/{Id}/certificate", - DisassociateWirelessGatewayFromThing: - "DELETE /wireless-gateways/{Id}/thing", - GetDestination: "GET /destinations/{Name}", - GetDeviceProfile: "GET /device-profiles/{Id}", - GetEventConfigurationByResourceTypes: - "GET /event-configurations-resource-types", - GetFuotaTask: "GET /fuota-tasks/{Id}", - GetLogLevelsByResourceTypes: "GET /log-levels", - GetMetricConfiguration: "GET /metric-configuration", - GetMetrics: "POST /metrics", - GetMulticastGroup: "GET /multicast-groups/{Id}", - GetMulticastGroupSession: "GET /multicast-groups/{Id}/session", - GetNetworkAnalyzerConfiguration: - "GET /network-analyzer-configurations/{ConfigurationName}", - GetPartnerAccount: "GET /partner-accounts/{PartnerAccountId}", - GetPosition: "GET /positions/{ResourceIdentifier}", - GetPositionConfiguration: - "GET /position-configurations/{ResourceIdentifier}", - GetPositionEstimate: { + "AssociateAwsAccountWithPartnerAccount": "POST /partner-accounts", + "AssociateMulticastGroupWithFuotaTask": "PUT /fuota-tasks/{Id}/multicast-group", + "AssociateWirelessDeviceWithFuotaTask": "PUT /fuota-tasks/{Id}/wireless-device", + "AssociateWirelessDeviceWithMulticastGroup": "PUT /multicast-groups/{Id}/wireless-device", + "AssociateWirelessDeviceWithThing": "PUT /wireless-devices/{Id}/thing", + "AssociateWirelessGatewayWithCertificate": "PUT /wireless-gateways/{Id}/certificate", + "AssociateWirelessGatewayWithThing": "PUT /wireless-gateways/{Id}/thing", + "CancelMulticastGroupSession": "DELETE /multicast-groups/{Id}/session", + "CreateDestination": "POST /destinations", + "CreateDeviceProfile": "POST /device-profiles", + "CreateFuotaTask": "POST /fuota-tasks", + "CreateMulticastGroup": "POST /multicast-groups", + "CreateNetworkAnalyzerConfiguration": "POST /network-analyzer-configurations", + "CreateServiceProfile": "POST /service-profiles", + "CreateWirelessDevice": "POST /wireless-devices", + "CreateWirelessGateway": "POST /wireless-gateways", + "CreateWirelessGatewayTask": "POST /wireless-gateways/{Id}/tasks", + "CreateWirelessGatewayTaskDefinition": "POST /wireless-gateway-task-definitions", + "DeleteDestination": "DELETE /destinations/{Name}", + "DeleteDeviceProfile": "DELETE /device-profiles/{Id}", + "DeleteFuotaTask": "DELETE /fuota-tasks/{Id}", + "DeleteMulticastGroup": "DELETE /multicast-groups/{Id}", + "DeleteNetworkAnalyzerConfiguration": "DELETE /network-analyzer-configurations/{ConfigurationName}", + "DeleteQueuedMessages": "DELETE /wireless-devices/{Id}/data", + "DeleteServiceProfile": "DELETE /service-profiles/{Id}", + "DeleteWirelessDevice": "DELETE /wireless-devices/{Id}", + "DeleteWirelessDeviceImportTask": "DELETE /wireless_device_import_task/{Id}", + "DeleteWirelessGateway": "DELETE /wireless-gateways/{Id}", + "DeleteWirelessGatewayTask": "DELETE /wireless-gateways/{Id}/tasks", + "DeleteWirelessGatewayTaskDefinition": "DELETE /wireless-gateway-task-definitions/{Id}", + "DeregisterWirelessDevice": "PATCH /wireless-devices/{Identifier}/deregister", + "DisassociateAwsAccountFromPartnerAccount": "DELETE /partner-accounts/{PartnerAccountId}", + "DisassociateMulticastGroupFromFuotaTask": "DELETE /fuota-tasks/{Id}/multicast-groups/{MulticastGroupId}", + "DisassociateWirelessDeviceFromFuotaTask": "DELETE /fuota-tasks/{Id}/wireless-devices/{WirelessDeviceId}", + "DisassociateWirelessDeviceFromMulticastGroup": "DELETE /multicast-groups/{Id}/wireless-devices/{WirelessDeviceId}", + "DisassociateWirelessDeviceFromThing": "DELETE /wireless-devices/{Id}/thing", + "DisassociateWirelessGatewayFromCertificate": "DELETE /wireless-gateways/{Id}/certificate", + "DisassociateWirelessGatewayFromThing": "DELETE /wireless-gateways/{Id}/thing", + "GetDestination": "GET /destinations/{Name}", + "GetDeviceProfile": "GET /device-profiles/{Id}", + "GetEventConfigurationByResourceTypes": "GET /event-configurations-resource-types", + "GetFuotaTask": "GET /fuota-tasks/{Id}", + "GetLogLevelsByResourceTypes": "GET /log-levels", + "GetMetricConfiguration": "GET /metric-configuration", + "GetMetrics": "POST /metrics", + "GetMulticastGroup": "GET /multicast-groups/{Id}", + "GetMulticastGroupSession": "GET /multicast-groups/{Id}/session", + "GetNetworkAnalyzerConfiguration": "GET /network-analyzer-configurations/{ConfigurationName}", + "GetPartnerAccount": "GET /partner-accounts/{PartnerAccountId}", + "GetPosition": "GET /positions/{ResourceIdentifier}", + "GetPositionConfiguration": "GET /position-configurations/{ResourceIdentifier}", + "GetPositionEstimate": { http: "POST /position-estimate", traits: { - GeoJsonPayload: "httpPayload", + "GeoJsonPayload": "httpPayload", }, }, - GetResourceEventConfiguration: "GET /event-configurations/{Identifier}", - GetResourceLogLevel: "GET /log-levels/{ResourceIdentifier}", - GetResourcePosition: { + "GetResourceEventConfiguration": "GET /event-configurations/{Identifier}", + "GetResourceLogLevel": "GET /log-levels/{ResourceIdentifier}", + "GetResourcePosition": { http: "GET /resource-positions/{ResourceIdentifier}", traits: { - GeoJsonPayload: "httpPayload", + "GeoJsonPayload": "httpPayload", }, }, - GetServiceEndpoint: "GET /service-endpoint", - GetServiceProfile: "GET /service-profiles/{Id}", - GetWirelessDevice: "GET /wireless-devices/{Identifier}", - GetWirelessDeviceImportTask: "GET /wireless_device_import_task/{Id}", - GetWirelessDeviceStatistics: - "GET /wireless-devices/{WirelessDeviceId}/statistics", - GetWirelessGateway: "GET /wireless-gateways/{Identifier}", - GetWirelessGatewayCertificate: "GET /wireless-gateways/{Id}/certificate", - GetWirelessGatewayFirmwareInformation: - "GET /wireless-gateways/{Id}/firmware-information", - GetWirelessGatewayStatistics: - "GET /wireless-gateways/{WirelessGatewayId}/statistics", - GetWirelessGatewayTask: "GET /wireless-gateways/{Id}/tasks", - GetWirelessGatewayTaskDefinition: - "GET /wireless-gateway-task-definitions/{Id}", - ListDestinations: "GET /destinations", - ListDeviceProfiles: "GET /device-profiles", - ListDevicesForWirelessDeviceImportTask: "GET /wireless_device_import_task", - ListEventConfigurations: "GET /event-configurations", - ListFuotaTasks: "GET /fuota-tasks", - ListMulticastGroups: "GET /multicast-groups", - ListMulticastGroupsByFuotaTask: "GET /fuota-tasks/{Id}/multicast-groups", - ListNetworkAnalyzerConfigurations: "GET /network-analyzer-configurations", - ListPartnerAccounts: "GET /partner-accounts", - ListPositionConfigurations: "GET /position-configurations", - ListQueuedMessages: "GET /wireless-devices/{Id}/data", - ListServiceProfiles: "GET /service-profiles", - ListTagsForResource: "GET /tags", - ListWirelessDeviceImportTasks: "GET /wireless_device_import_tasks", - ListWirelessDevices: "GET /wireless-devices", - ListWirelessGateways: "GET /wireless-gateways", - ListWirelessGatewayTaskDefinitions: - "GET /wireless-gateway-task-definitions", - PutPositionConfiguration: - "PUT /position-configurations/{ResourceIdentifier}", - PutResourceLogLevel: "PUT /log-levels/{ResourceIdentifier}", - ResetAllResourceLogLevels: "DELETE /log-levels", - ResetResourceLogLevel: "DELETE /log-levels/{ResourceIdentifier}", - SendDataToMulticastGroup: "POST /multicast-groups/{Id}/data", - SendDataToWirelessDevice: "POST /wireless-devices/{Id}/data", - StartBulkAssociateWirelessDeviceWithMulticastGroup: - "PATCH /multicast-groups/{Id}/bulk", - StartBulkDisassociateWirelessDeviceFromMulticastGroup: - "POST /multicast-groups/{Id}/bulk", - StartFuotaTask: "PUT /fuota-tasks/{Id}", - StartMulticastGroupSession: "PUT /multicast-groups/{Id}/session", - StartSingleWirelessDeviceImportTask: - "POST /wireless_single_device_import_task", - StartWirelessDeviceImportTask: "POST /wireless_device_import_task", - TagResource: "POST /tags", - TestWirelessDevice: "POST /wireless-devices/{Id}/test", - UntagResource: "DELETE /tags", - UpdateDestination: "PATCH /destinations/{Name}", - UpdateEventConfigurationByResourceTypes: - "PATCH /event-configurations-resource-types", - UpdateFuotaTask: "PATCH /fuota-tasks/{Id}", - UpdateLogLevelsByResourceTypes: "POST /log-levels", - UpdateMetricConfiguration: "PUT /metric-configuration", - UpdateMulticastGroup: "PATCH /multicast-groups/{Id}", - UpdateNetworkAnalyzerConfiguration: - "PATCH /network-analyzer-configurations/{ConfigurationName}", - UpdatePartnerAccount: "PATCH /partner-accounts/{PartnerAccountId}", - UpdatePosition: "PATCH /positions/{ResourceIdentifier}", - UpdateResourceEventConfiguration: - "PATCH /event-configurations/{Identifier}", - UpdateResourcePosition: "PATCH /resource-positions/{ResourceIdentifier}", - UpdateWirelessDevice: "PATCH /wireless-devices/{Id}", - UpdateWirelessDeviceImportTask: "PATCH /wireless_device_import_task/{Id}", - UpdateWirelessGateway: "PATCH /wireless-gateways/{Id}", + "GetServiceEndpoint": "GET /service-endpoint", + "GetServiceProfile": "GET /service-profiles/{Id}", + "GetWirelessDevice": "GET /wireless-devices/{Identifier}", + "GetWirelessDeviceImportTask": "GET /wireless_device_import_task/{Id}", + "GetWirelessDeviceStatistics": "GET /wireless-devices/{WirelessDeviceId}/statistics", + "GetWirelessGateway": "GET /wireless-gateways/{Identifier}", + "GetWirelessGatewayCertificate": "GET /wireless-gateways/{Id}/certificate", + "GetWirelessGatewayFirmwareInformation": "GET /wireless-gateways/{Id}/firmware-information", + "GetWirelessGatewayStatistics": "GET /wireless-gateways/{WirelessGatewayId}/statistics", + "GetWirelessGatewayTask": "GET /wireless-gateways/{Id}/tasks", + "GetWirelessGatewayTaskDefinition": "GET /wireless-gateway-task-definitions/{Id}", + "ListDestinations": "GET /destinations", + "ListDeviceProfiles": "GET /device-profiles", + "ListDevicesForWirelessDeviceImportTask": "GET /wireless_device_import_task", + "ListEventConfigurations": "GET /event-configurations", + "ListFuotaTasks": "GET /fuota-tasks", + "ListMulticastGroups": "GET /multicast-groups", + "ListMulticastGroupsByFuotaTask": "GET /fuota-tasks/{Id}/multicast-groups", + "ListNetworkAnalyzerConfigurations": "GET /network-analyzer-configurations", + "ListPartnerAccounts": "GET /partner-accounts", + "ListPositionConfigurations": "GET /position-configurations", + "ListQueuedMessages": "GET /wireless-devices/{Id}/data", + "ListServiceProfiles": "GET /service-profiles", + "ListTagsForResource": "GET /tags", + "ListWirelessDeviceImportTasks": "GET /wireless_device_import_tasks", + "ListWirelessDevices": "GET /wireless-devices", + "ListWirelessGateways": "GET /wireless-gateways", + "ListWirelessGatewayTaskDefinitions": "GET /wireless-gateway-task-definitions", + "PutPositionConfiguration": "PUT /position-configurations/{ResourceIdentifier}", + "PutResourceLogLevel": "PUT /log-levels/{ResourceIdentifier}", + "ResetAllResourceLogLevels": "DELETE /log-levels", + "ResetResourceLogLevel": "DELETE /log-levels/{ResourceIdentifier}", + "SendDataToMulticastGroup": "POST /multicast-groups/{Id}/data", + "SendDataToWirelessDevice": "POST /wireless-devices/{Id}/data", + "StartBulkAssociateWirelessDeviceWithMulticastGroup": "PATCH /multicast-groups/{Id}/bulk", + "StartBulkDisassociateWirelessDeviceFromMulticastGroup": "POST /multicast-groups/{Id}/bulk", + "StartFuotaTask": "PUT /fuota-tasks/{Id}", + "StartMulticastGroupSession": "PUT /multicast-groups/{Id}/session", + "StartSingleWirelessDeviceImportTask": "POST /wireless_single_device_import_task", + "StartWirelessDeviceImportTask": "POST /wireless_device_import_task", + "TagResource": "POST /tags", + "TestWirelessDevice": "POST /wireless-devices/{Id}/test", + "UntagResource": "DELETE /tags", + "UpdateDestination": "PATCH /destinations/{Name}", + "UpdateEventConfigurationByResourceTypes": "PATCH /event-configurations-resource-types", + "UpdateFuotaTask": "PATCH /fuota-tasks/{Id}", + "UpdateLogLevelsByResourceTypes": "POST /log-levels", + "UpdateMetricConfiguration": "PUT /metric-configuration", + "UpdateMulticastGroup": "PATCH /multicast-groups/{Id}", + "UpdateNetworkAnalyzerConfiguration": "PATCH /network-analyzer-configurations/{ConfigurationName}", + "UpdatePartnerAccount": "PATCH /partner-accounts/{PartnerAccountId}", + "UpdatePosition": "PATCH /positions/{ResourceIdentifier}", + "UpdateResourceEventConfiguration": "PATCH /event-configurations/{Identifier}", + "UpdateResourcePosition": "PATCH /resource-positions/{ResourceIdentifier}", + "UpdateWirelessDevice": "PATCH /wireless-devices/{Id}", + "UpdateWirelessDeviceImportTask": "PATCH /wireless_device_import_task/{Id}", + "UpdateWirelessGateway": "PATCH /wireless-gateways/{Id}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/iot-wireless/types.ts b/src/services/iot-wireless/types.ts index fe8562d5..270cdb59 100644 --- a/src/services/iot-wireless/types.ts +++ b/src/services/iot-wireless/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTWireless extends AWSServiceClient { @@ -40,1252 +8,673 @@ export declare class IoTWireless extends AWSServiceClient { input: AssociateAwsAccountWithPartnerAccountRequest, ): Effect.Effect< AssociateAwsAccountWithPartnerAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateMulticastGroupWithFuotaTask( input: AssociateMulticastGroupWithFuotaTaskRequest, ): Effect.Effect< AssociateMulticastGroupWithFuotaTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateWirelessDeviceWithFuotaTask( input: AssociateWirelessDeviceWithFuotaTaskRequest, ): Effect.Effect< AssociateWirelessDeviceWithFuotaTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateWirelessDeviceWithMulticastGroup( input: AssociateWirelessDeviceWithMulticastGroupRequest, ): Effect.Effect< AssociateWirelessDeviceWithMulticastGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateWirelessDeviceWithThing( input: AssociateWirelessDeviceWithThingRequest, ): Effect.Effect< AssociateWirelessDeviceWithThingResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateWirelessGatewayWithCertificate( input: AssociateWirelessGatewayWithCertificateRequest, ): Effect.Effect< AssociateWirelessGatewayWithCertificateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateWirelessGatewayWithThing( input: AssociateWirelessGatewayWithThingRequest, ): Effect.Effect< AssociateWirelessGatewayWithThingResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelMulticastGroupSession( input: CancelMulticastGroupSessionRequest, ): Effect.Effect< CancelMulticastGroupSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createDestination( input: CreateDestinationRequest, ): Effect.Effect< CreateDestinationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createDeviceProfile( input: CreateDeviceProfileRequest, ): Effect.Effect< CreateDeviceProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createFuotaTask( input: CreateFuotaTaskRequest, ): Effect.Effect< CreateFuotaTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createMulticastGroup( input: CreateMulticastGroupRequest, ): Effect.Effect< CreateMulticastGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createNetworkAnalyzerConfiguration( input: CreateNetworkAnalyzerConfigurationRequest, ): Effect.Effect< CreateNetworkAnalyzerConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createServiceProfile( input: CreateServiceProfileRequest, ): Effect.Effect< CreateServiceProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createWirelessDevice( input: CreateWirelessDeviceRequest, ): Effect.Effect< CreateWirelessDeviceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createWirelessGateway( input: CreateWirelessGatewayRequest, ): Effect.Effect< CreateWirelessGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createWirelessGatewayTask( input: CreateWirelessGatewayTaskRequest, ): Effect.Effect< CreateWirelessGatewayTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createWirelessGatewayTaskDefinition( input: CreateWirelessGatewayTaskDefinitionRequest, ): Effect.Effect< CreateWirelessGatewayTaskDefinitionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDestination( input: DeleteDestinationRequest, ): Effect.Effect< DeleteDestinationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDeviceProfile( input: DeleteDeviceProfileRequest, ): Effect.Effect< DeleteDeviceProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFuotaTask( input: DeleteFuotaTaskRequest, ): Effect.Effect< DeleteFuotaTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMulticastGroup( input: DeleteMulticastGroupRequest, ): Effect.Effect< DeleteMulticastGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteNetworkAnalyzerConfiguration( input: DeleteNetworkAnalyzerConfigurationRequest, ): Effect.Effect< DeleteNetworkAnalyzerConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteQueuedMessages( input: DeleteQueuedMessagesRequest, ): Effect.Effect< DeleteQueuedMessagesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteServiceProfile( input: DeleteServiceProfileRequest, ): Effect.Effect< DeleteServiceProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWirelessDevice( input: DeleteWirelessDeviceRequest, ): Effect.Effect< DeleteWirelessDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWirelessDeviceImportTask( input: DeleteWirelessDeviceImportTaskRequest, ): Effect.Effect< DeleteWirelessDeviceImportTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWirelessGateway( input: DeleteWirelessGatewayRequest, ): Effect.Effect< DeleteWirelessGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWirelessGatewayTask( input: DeleteWirelessGatewayTaskRequest, ): Effect.Effect< DeleteWirelessGatewayTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWirelessGatewayTaskDefinition( input: DeleteWirelessGatewayTaskDefinitionRequest, ): Effect.Effect< DeleteWirelessGatewayTaskDefinitionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deregisterWirelessDevice( input: DeregisterWirelessDeviceRequest, ): Effect.Effect< DeregisterWirelessDeviceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateAwsAccountFromPartnerAccount( input: DisassociateAwsAccountFromPartnerAccountRequest, ): Effect.Effect< DisassociateAwsAccountFromPartnerAccountResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateMulticastGroupFromFuotaTask( input: DisassociateMulticastGroupFromFuotaTaskRequest, ): Effect.Effect< DisassociateMulticastGroupFromFuotaTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; disassociateWirelessDeviceFromFuotaTask( input: DisassociateWirelessDeviceFromFuotaTaskRequest, ): Effect.Effect< DisassociateWirelessDeviceFromFuotaTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateWirelessDeviceFromMulticastGroup( input: DisassociateWirelessDeviceFromMulticastGroupRequest, ): Effect.Effect< DisassociateWirelessDeviceFromMulticastGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateWirelessDeviceFromThing( input: DisassociateWirelessDeviceFromThingRequest, ): Effect.Effect< DisassociateWirelessDeviceFromThingResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateWirelessGatewayFromCertificate( input: DisassociateWirelessGatewayFromCertificateRequest, ): Effect.Effect< DisassociateWirelessGatewayFromCertificateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateWirelessGatewayFromThing( input: DisassociateWirelessGatewayFromThingRequest, ): Effect.Effect< DisassociateWirelessGatewayFromThingResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDestination( input: GetDestinationRequest, ): Effect.Effect< GetDestinationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDeviceProfile( input: GetDeviceProfileRequest, ): Effect.Effect< GetDeviceProfileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEventConfigurationByResourceTypes( input: GetEventConfigurationByResourceTypesRequest, ): Effect.Effect< GetEventConfigurationByResourceTypesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; getFuotaTask( input: GetFuotaTaskRequest, ): Effect.Effect< GetFuotaTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLogLevelsByResourceTypes( input: GetLogLevelsByResourceTypesRequest, ): Effect.Effect< GetLogLevelsByResourceTypesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMetricConfiguration( input: GetMetricConfigurationRequest, ): Effect.Effect< GetMetricConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMetrics( input: GetMetricsRequest, ): Effect.Effect< GetMetricsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMulticastGroup( input: GetMulticastGroupRequest, ): Effect.Effect< GetMulticastGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMulticastGroupSession( input: GetMulticastGroupSessionRequest, ): Effect.Effect< GetMulticastGroupSessionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNetworkAnalyzerConfiguration( input: GetNetworkAnalyzerConfigurationRequest, ): Effect.Effect< GetNetworkAnalyzerConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPartnerAccount( input: GetPartnerAccountRequest, ): Effect.Effect< GetPartnerAccountResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPosition( input: GetPositionRequest, ): Effect.Effect< GetPositionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPositionConfiguration( input: GetPositionConfigurationRequest, ): Effect.Effect< GetPositionConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPositionEstimate( input: GetPositionEstimateRequest, ): Effect.Effect< GetPositionEstimateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourceEventConfiguration( input: GetResourceEventConfigurationRequest, ): Effect.Effect< GetResourceEventConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourceLogLevel( input: GetResourceLogLevelRequest, ): Effect.Effect< GetResourceLogLevelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePosition( input: GetResourcePositionRequest, ): Effect.Effect< GetResourcePositionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceEndpoint( input: GetServiceEndpointRequest, ): Effect.Effect< GetServiceEndpointResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getServiceProfile( input: GetServiceProfileRequest, ): Effect.Effect< GetServiceProfileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWirelessDevice( input: GetWirelessDeviceRequest, ): Effect.Effect< GetWirelessDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWirelessDeviceImportTask( input: GetWirelessDeviceImportTaskRequest, ): Effect.Effect< GetWirelessDeviceImportTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWirelessDeviceStatistics( input: GetWirelessDeviceStatisticsRequest, ): Effect.Effect< GetWirelessDeviceStatisticsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWirelessGateway( input: GetWirelessGatewayRequest, ): Effect.Effect< GetWirelessGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWirelessGatewayCertificate( input: GetWirelessGatewayCertificateRequest, ): Effect.Effect< GetWirelessGatewayCertificateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWirelessGatewayFirmwareInformation( input: GetWirelessGatewayFirmwareInformationRequest, ): Effect.Effect< GetWirelessGatewayFirmwareInformationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWirelessGatewayStatistics( input: GetWirelessGatewayStatisticsRequest, ): Effect.Effect< GetWirelessGatewayStatisticsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWirelessGatewayTask( input: GetWirelessGatewayTaskRequest, ): Effect.Effect< GetWirelessGatewayTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWirelessGatewayTaskDefinition( input: GetWirelessGatewayTaskDefinitionRequest, ): Effect.Effect< GetWirelessGatewayTaskDefinitionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDestinations( input: ListDestinationsRequest, ): Effect.Effect< ListDestinationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDeviceProfiles( input: ListDeviceProfilesRequest, ): Effect.Effect< ListDeviceProfilesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDevicesForWirelessDeviceImportTask( input: ListDevicesForWirelessDeviceImportTaskRequest, ): Effect.Effect< ListDevicesForWirelessDeviceImportTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEventConfigurations( input: ListEventConfigurationsRequest, ): Effect.Effect< ListEventConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listFuotaTasks( input: ListFuotaTasksRequest, ): Effect.Effect< ListFuotaTasksResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listMulticastGroups( input: ListMulticastGroupsRequest, ): Effect.Effect< ListMulticastGroupsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listMulticastGroupsByFuotaTask( - input: ListMulticastGroupsByFuotaTaskRequest, - ): Effect.Effect< - ListMulticastGroupsByFuotaTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + input: ListMulticastGroupsByFuotaTaskRequest, + ): Effect.Effect< + ListMulticastGroupsByFuotaTaskResponse, + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listNetworkAnalyzerConfigurations( input: ListNetworkAnalyzerConfigurationsRequest, ): Effect.Effect< ListNetworkAnalyzerConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPartnerAccounts( input: ListPartnerAccountsRequest, ): Effect.Effect< ListPartnerAccountsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPositionConfigurations( input: ListPositionConfigurationsRequest, ): Effect.Effect< ListPositionConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listQueuedMessages( input: ListQueuedMessagesRequest, ): Effect.Effect< ListQueuedMessagesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceProfiles( input: ListServiceProfilesRequest, ): Effect.Effect< ListServiceProfilesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWirelessDeviceImportTasks( input: ListWirelessDeviceImportTasksRequest, ): Effect.Effect< ListWirelessDeviceImportTasksResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWirelessDevices( input: ListWirelessDevicesRequest, ): Effect.Effect< ListWirelessDevicesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listWirelessGateways( input: ListWirelessGatewaysRequest, ): Effect.Effect< ListWirelessGatewaysResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listWirelessGatewayTaskDefinitions( input: ListWirelessGatewayTaskDefinitionsRequest, ): Effect.Effect< ListWirelessGatewayTaskDefinitionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putPositionConfiguration( input: PutPositionConfigurationRequest, ): Effect.Effect< PutPositionConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putResourceLogLevel( input: PutResourceLogLevelRequest, ): Effect.Effect< PutResourceLogLevelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resetAllResourceLogLevels( input: ResetAllResourceLogLevelsRequest, ): Effect.Effect< ResetAllResourceLogLevelsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resetResourceLogLevel( input: ResetResourceLogLevelRequest, ): Effect.Effect< ResetResourceLogLevelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; sendDataToMulticastGroup( input: SendDataToMulticastGroupRequest, ): Effect.Effect< SendDataToMulticastGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; sendDataToWirelessDevice( input: SendDataToWirelessDeviceRequest, ): Effect.Effect< SendDataToWirelessDeviceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startBulkAssociateWirelessDeviceWithMulticastGroup( input: StartBulkAssociateWirelessDeviceWithMulticastGroupRequest, ): Effect.Effect< StartBulkAssociateWirelessDeviceWithMulticastGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startBulkDisassociateWirelessDeviceFromMulticastGroup( input: StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest, ): Effect.Effect< StartBulkDisassociateWirelessDeviceFromMulticastGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startFuotaTask( input: StartFuotaTaskRequest, ): Effect.Effect< StartFuotaTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startMulticastGroupSession( input: StartMulticastGroupSessionRequest, ): Effect.Effect< StartMulticastGroupSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startSingleWirelessDeviceImportTask( input: StartSingleWirelessDeviceImportTaskRequest, ): Effect.Effect< StartSingleWirelessDeviceImportTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startWirelessDeviceImportTask( input: StartWirelessDeviceImportTaskRequest, ): Effect.Effect< StartWirelessDeviceImportTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; testWirelessDevice( input: TestWirelessDeviceRequest, ): Effect.Effect< TestWirelessDeviceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDestination( input: UpdateDestinationRequest, ): Effect.Effect< UpdateDestinationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEventConfigurationByResourceTypes( input: UpdateEventConfigurationByResourceTypesRequest, ): Effect.Effect< UpdateEventConfigurationByResourceTypesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateFuotaTask( input: UpdateFuotaTaskRequest, ): Effect.Effect< UpdateFuotaTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateLogLevelsByResourceTypes( input: UpdateLogLevelsByResourceTypesRequest, ): Effect.Effect< UpdateLogLevelsByResourceTypesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateMetricConfiguration( input: UpdateMetricConfigurationRequest, ): Effect.Effect< UpdateMetricConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateMulticastGroup( input: UpdateMulticastGroupRequest, ): Effect.Effect< UpdateMulticastGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateNetworkAnalyzerConfiguration( input: UpdateNetworkAnalyzerConfigurationRequest, ): Effect.Effect< UpdateNetworkAnalyzerConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePartnerAccount( input: UpdatePartnerAccountRequest, ): Effect.Effect< UpdatePartnerAccountResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePosition( input: UpdatePositionRequest, ): Effect.Effect< UpdatePositionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateResourceEventConfiguration( input: UpdateResourceEventConfigurationRequest, ): Effect.Effect< UpdateResourceEventConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateResourcePosition( input: UpdateResourcePositionRequest, ): Effect.Effect< UpdateResourcePositionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWirelessDevice( input: UpdateWirelessDeviceRequest, ): Effect.Effect< UpdateWirelessDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWirelessDeviceImportTask( input: UpdateWirelessDeviceImportTaskRequest, ): Effect.Effect< UpdateWirelessDeviceImportTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWirelessGateway( input: UpdateWirelessGatewayRequest, ): Effect.Effect< UpdateWirelessGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1354,22 +743,26 @@ export interface AssociateMulticastGroupWithFuotaTaskRequest { Id: string; MulticastGroupId: string; } -export interface AssociateMulticastGroupWithFuotaTaskResponse {} +export interface AssociateMulticastGroupWithFuotaTaskResponse { +} export interface AssociateWirelessDeviceWithFuotaTaskRequest { Id: string; WirelessDeviceId: string; } -export interface AssociateWirelessDeviceWithFuotaTaskResponse {} +export interface AssociateWirelessDeviceWithFuotaTaskResponse { +} export interface AssociateWirelessDeviceWithMulticastGroupRequest { Id: string; WirelessDeviceId: string; } -export interface AssociateWirelessDeviceWithMulticastGroupResponse {} +export interface AssociateWirelessDeviceWithMulticastGroupResponse { +} export interface AssociateWirelessDeviceWithThingRequest { Id: string; ThingArn: string; } -export interface AssociateWirelessDeviceWithThingResponse {} +export interface AssociateWirelessDeviceWithThingResponse { +} export interface AssociateWirelessGatewayWithCertificateRequest { Id: string; IotCertificateId: string; @@ -1381,7 +774,8 @@ export interface AssociateWirelessGatewayWithThingRequest { Id: string; ThingArn: string; } -export interface AssociateWirelessGatewayWithThingResponse {} +export interface AssociateWirelessGatewayWithThingResponse { +} export type AutoCreateTasks = boolean; export type Avg = number; @@ -1409,7 +803,8 @@ export type BSIC = number; export interface CancelMulticastGroupSessionRequest { Id: string; } -export interface CancelMulticastGroupSessionResponse {} +export interface CancelMulticastGroupSessionResponse { +} export type CaptureTimeAccuracy = number; export type CdmaChannel = number; @@ -1621,58 +1016,71 @@ export type DakCertificateMetadataList = Array; export interface DeleteDestinationRequest { Name: string; } -export interface DeleteDestinationResponse {} +export interface DeleteDestinationResponse { +} export interface DeleteDeviceProfileRequest { Id: string; } -export interface DeleteDeviceProfileResponse {} +export interface DeleteDeviceProfileResponse { +} export interface DeleteFuotaTaskRequest { Id: string; } -export interface DeleteFuotaTaskResponse {} +export interface DeleteFuotaTaskResponse { +} export interface DeleteMulticastGroupRequest { Id: string; } -export interface DeleteMulticastGroupResponse {} +export interface DeleteMulticastGroupResponse { +} export interface DeleteNetworkAnalyzerConfigurationRequest { ConfigurationName: string; } -export interface DeleteNetworkAnalyzerConfigurationResponse {} +export interface DeleteNetworkAnalyzerConfigurationResponse { +} export interface DeleteQueuedMessagesRequest { Id: string; MessageId: string; WirelessDeviceType?: WirelessDeviceType; } -export interface DeleteQueuedMessagesResponse {} +export interface DeleteQueuedMessagesResponse { +} export interface DeleteServiceProfileRequest { Id: string; } -export interface DeleteServiceProfileResponse {} +export interface DeleteServiceProfileResponse { +} export interface DeleteWirelessDeviceImportTaskRequest { Id: string; } -export interface DeleteWirelessDeviceImportTaskResponse {} +export interface DeleteWirelessDeviceImportTaskResponse { +} export interface DeleteWirelessDeviceRequest { Id: string; } -export interface DeleteWirelessDeviceResponse {} +export interface DeleteWirelessDeviceResponse { +} export interface DeleteWirelessGatewayRequest { Id: string; } -export interface DeleteWirelessGatewayResponse {} +export interface DeleteWirelessGatewayResponse { +} export interface DeleteWirelessGatewayTaskDefinitionRequest { Id: string; } -export interface DeleteWirelessGatewayTaskDefinitionResponse {} +export interface DeleteWirelessGatewayTaskDefinitionResponse { +} export interface DeleteWirelessGatewayTaskRequest { Id: string; } -export interface DeleteWirelessGatewayTaskResponse {} +export interface DeleteWirelessGatewayTaskResponse { +} export interface DeregisterWirelessDeviceRequest { Identifier: string; WirelessDeviceType?: WirelessDeviceType; } -export interface DeregisterWirelessDeviceResponse {} +export interface DeregisterWirelessDeviceResponse { +} export type Description = string; export type DestinationArn = string; @@ -1718,11 +1126,7 @@ export interface DeviceRegistrationStateEventConfiguration { export interface DeviceRegistrationStateResourceTypeEventConfiguration { Sidewalk?: SidewalkResourceTypeEventConfiguration; } -export type DeviceState = - | "Provisioned" - | "RegisteredNotSeen" - | "RegisteredReachable" - | "RegisteredUnreachable"; +export type DeviceState = "Provisioned" | "RegisteredNotSeen" | "RegisteredReachable" | "RegisteredUnreachable"; export type DeviceTypeId = string; export type DevStatusReqFreq = number; @@ -1739,34 +1143,41 @@ export interface DisassociateAwsAccountFromPartnerAccountRequest { PartnerAccountId: string; PartnerType: PartnerType; } -export interface DisassociateAwsAccountFromPartnerAccountResponse {} +export interface DisassociateAwsAccountFromPartnerAccountResponse { +} export interface DisassociateMulticastGroupFromFuotaTaskRequest { Id: string; MulticastGroupId: string; } -export interface DisassociateMulticastGroupFromFuotaTaskResponse {} +export interface DisassociateMulticastGroupFromFuotaTaskResponse { +} export interface DisassociateWirelessDeviceFromFuotaTaskRequest { Id: string; WirelessDeviceId: string; } -export interface DisassociateWirelessDeviceFromFuotaTaskResponse {} +export interface DisassociateWirelessDeviceFromFuotaTaskResponse { +} export interface DisassociateWirelessDeviceFromMulticastGroupRequest { Id: string; WirelessDeviceId: string; } -export interface DisassociateWirelessDeviceFromMulticastGroupResponse {} +export interface DisassociateWirelessDeviceFromMulticastGroupResponse { +} export interface DisassociateWirelessDeviceFromThingRequest { Id: string; } -export interface DisassociateWirelessDeviceFromThingResponse {} +export interface DisassociateWirelessDeviceFromThingResponse { +} export interface DisassociateWirelessGatewayFromCertificateRequest { Id: string; } -export interface DisassociateWirelessGatewayFromCertificateResponse {} +export interface DisassociateWirelessGatewayFromCertificateResponse { +} export interface DisassociateWirelessGatewayFromThingRequest { Id: string; } -export interface DisassociateWirelessGatewayFromThingResponse {} +export interface DisassociateWirelessGatewayFromThingResponse { +} export type DlAllowed = boolean; export type DlBucketSize = number; @@ -1822,10 +1233,7 @@ export interface EventNotificationItemConfigurations { MessageDeliveryStatus?: MessageDeliveryStatusEventConfiguration; } export type EventNotificationPartnerType = "Sidewalk"; -export type EventNotificationResourceType = - | "SidewalkAccount" - | "WirelessDevice" - | "WirelessGateway"; +export type EventNotificationResourceType = "SidewalkAccount" | "WirelessDevice" | "WirelessGateway"; export type EventNotificationTopicStatus = "Enabled" | "Disabled"; export type Expression = string; @@ -1858,19 +1266,7 @@ export type FragmentIntervalMS = number; export type FragmentSizeBytes = number; -export type FuotaDeviceStatus = - | "Initial" - | "Package_Not_Supported" - | "FragAlgo_unsupported" - | "Not_enough_memory" - | "FragIndex_unsupported" - | "Wrong_descriptor" - | "SessionCnt_replay" - | "MissingFrag" - | "MemoryError" - | "MICError" - | "Successful" - | "Device_exist_in_conflict_fuota_task"; +export type FuotaDeviceStatus = "Initial" | "Package_Not_Supported" | "FragAlgo_unsupported" | "Not_enough_memory" | "FragIndex_unsupported" | "Wrong_descriptor" | "SessionCnt_replay" | "MissingFrag" | "MemoryError" | "MICError" | "Successful" | "Device_exist_in_conflict_fuota_task"; export interface FuotaTask { Id?: string; Arn?: string; @@ -1895,12 +1291,7 @@ export interface FuotaTaskLogOption { export type FuotaTaskLogOptionList = Array; export type FuotaTaskName = string; -export type FuotaTaskStatus = - | "Pending" - | "FuotaSession_Waiting" - | "In_FuotaSession" - | "FuotaDone" - | "Delete_Waiting"; +export type FuotaTaskStatus = "Pending" | "FuotaSession_Waiting" | "In_FuotaSession" | "FuotaDone" | "Delete_Waiting"; export type FuotaTaskType = "LoRaWAN"; export type GatewayEui = string; @@ -1939,7 +1330,8 @@ export interface GetDeviceProfileResponse { LoRaWAN?: LoRaWANDeviceProfile; Sidewalk?: SidewalkGetDeviceProfile; } -export interface GetEventConfigurationByResourceTypesRequest {} +export interface GetEventConfigurationByResourceTypesRequest { +} export interface GetEventConfigurationByResourceTypesResponse { DeviceRegistrationState?: DeviceRegistrationStateResourceTypeEventConfiguration; Proximity?: ProximityResourceTypeEventConfiguration; @@ -1965,14 +1357,16 @@ export interface GetFuotaTaskResponse { FragmentIntervalMS?: number; Descriptor?: string; } -export interface GetLogLevelsByResourceTypesRequest {} +export interface GetLogLevelsByResourceTypesRequest { +} export interface GetLogLevelsByResourceTypesResponse { DefaultLogLevel?: LogLevel; WirelessGatewayLogOptions?: Array; WirelessDeviceLogOptions?: Array; FuotaTaskLogOptions?: Array; } -export interface GetMetricConfigurationRequest {} +export interface GetMetricConfigurationRequest { +} export interface GetMetricConfigurationResponse { SummaryMetric?: SummaryMetricConfiguration; } @@ -2236,12 +1630,7 @@ export type Id = string; export type Identifier = string; -export type IdentifierType = - | "PartnerAccountId" - | "DevEui" - | "GatewayEui" - | "WirelessDeviceId" - | "WirelessGatewayId"; +export type IdentifierType = "PartnerAccountId" | "DevEui" | "GatewayEui" | "WirelessDeviceId" | "WirelessGatewayId"; export interface ImportedSidewalkDevice { SidewalkManufacturingSn?: string; OnboardingStatus?: OnboardStatus; @@ -2258,13 +1647,7 @@ export type ImportTaskArn = string; export type ImportTaskId = string; -export type ImportTaskStatus = - | "INITIALIZING" - | "INITIALIZED" - | "PENDING" - | "COMPLETE" - | "FAILED" - | "DELETING"; +export type ImportTaskStatus = "INITIALIZING" | "INITIALIZED" | "PENDING" | "COMPLETE" | "FAILED" | "DELETING"; export type Integer = number; export declare class InternalServerException extends EffectData.TaggedError( @@ -2587,8 +1970,7 @@ export interface LoRaWANPublicGatewayMetadata { RfRegion?: string; DlAllowed?: boolean; } -export type LoRaWANPublicGatewayMetadataList = - Array; +export type LoRaWANPublicGatewayMetadataList = Array; export interface LoRaWANSendDataToDevice { FPort?: number; ParticipatingGateways?: ParticipatingGateways; @@ -2680,44 +2062,8 @@ export interface MessageDeliveryStatusResourceTypeEventConfiguration { } export type MessageId = string; -export type MessageType = - | "CUSTOM_COMMAND_ID_NOTIFY" - | "CUSTOM_COMMAND_ID_GET" - | "CUSTOM_COMMAND_ID_SET" - | "CUSTOM_COMMAND_ID_RESP"; -export type MetricName = - | "DeviceRSSI" - | "DeviceSNR" - | "DeviceRoamingRSSI" - | "DeviceRoamingSNR" - | "DeviceUplinkCount" - | "DeviceDownlinkCount" - | "DeviceUplinkLostCount" - | "DeviceUplinkLostRate" - | "DeviceJoinRequestCount" - | "DeviceJoinAcceptCount" - | "DeviceRoamingUplinkCount" - | "DeviceRoamingDownlinkCount" - | "GatewayUpTime" - | "GatewayDownTime" - | "GatewayRSSI" - | "GatewaySNR" - | "GatewayUplinkCount" - | "GatewayDownlinkCount" - | "GatewayJoinRequestCount" - | "GatewayJoinAcceptCount" - | "AwsAccountUplinkCount" - | "AwsAccountDownlinkCount" - | "AwsAccountUplinkLostCount" - | "AwsAccountUplinkLostRate" - | "AwsAccountJoinRequestCount" - | "AwsAccountJoinAcceptCount" - | "AwsAccountRoamingUplinkCount" - | "AwsAccountRoamingDownlinkCount" - | "AwsAccountDeviceCount" - | "AwsAccountGatewayCount" - | "AwsAccountActiveDeviceCount" - | "AwsAccountActiveGatewayCount"; +export type MessageType = "CUSTOM_COMMAND_ID_NOTIFY" | "CUSTOM_COMMAND_ID_GET" | "CUSTOM_COMMAND_ID_SET" | "CUSTOM_COMMAND_ID_RESP"; +export type MetricName = "DeviceRSSI" | "DeviceSNR" | "DeviceRoamingRSSI" | "DeviceRoamingSNR" | "DeviceUplinkCount" | "DeviceDownlinkCount" | "DeviceUplinkLostCount" | "DeviceUplinkLostRate" | "DeviceJoinRequestCount" | "DeviceJoinAcceptCount" | "DeviceRoamingUplinkCount" | "DeviceRoamingDownlinkCount" | "GatewayUpTime" | "GatewayDownTime" | "GatewayRSSI" | "GatewaySNR" | "GatewayUplinkCount" | "GatewayDownlinkCount" | "GatewayJoinRequestCount" | "GatewayJoinAcceptCount" | "AwsAccountUplinkCount" | "AwsAccountDownlinkCount" | "AwsAccountUplinkLostCount" | "AwsAccountUplinkLostRate" | "AwsAccountJoinRequestCount" | "AwsAccountJoinAcceptCount" | "AwsAccountRoamingUplinkCount" | "AwsAccountRoamingDownlinkCount" | "AwsAccountDeviceCount" | "AwsAccountGatewayCount" | "AwsAccountActiveDeviceCount" | "AwsAccountActiveGatewayCount"; export type MetricQueryEndTimestamp = Date | string; export type MetricQueryError = string; @@ -2784,8 +2130,7 @@ export type NetId = string; export type NetIdFilters = Array; export type NetworkAnalyzerConfigurationArn = string; -export type NetworkAnalyzerConfigurationList = - Array; +export type NetworkAnalyzerConfigurationList = Array; export type NetworkAnalyzerConfigurationName = string; export interface NetworkAnalyzerConfigurations { @@ -2912,13 +2257,15 @@ export interface PutPositionConfigurationRequest { Solvers?: PositionSolverConfigurations; Destination?: string; } -export interface PutPositionConfigurationResponse {} +export interface PutPositionConfigurationResponse { +} export interface PutResourceLogLevelRequest { ResourceIdentifier: string; ResourceType: string; LogLevel: LogLevel; } -export interface PutResourceLogLevelResponse {} +export interface PutResourceLogLevelResponse { +} export type QualificationStatus = boolean; export type QueryString = string; @@ -2935,13 +2282,16 @@ export type ReportDevStatusBattery = boolean; export type ReportDevStatusMargin = boolean; -export interface ResetAllResourceLogLevelsRequest {} -export interface ResetAllResourceLogLevelsResponse {} +export interface ResetAllResourceLogLevelsRequest { +} +export interface ResetAllResourceLogLevelsResponse { +} export interface ResetResourceLogLevelRequest { ResourceIdentifier: string; ResourceType: string; } -export interface ResetResourceLogLevelResponse {} +export interface ResetResourceLogLevelResponse { +} export type ResourceId = string; export type ResourceIdentifier = string; @@ -3046,7 +2396,8 @@ export interface SidewalkAccountInfoWithFingerprint { Arn?: string; } export type SidewalkAccountList = Array; -export interface SidewalkCreateDeviceProfile {} +export interface SidewalkCreateDeviceProfile { +} export interface SidewalkCreateWirelessDevice { DeviceProfileId?: string; } @@ -3119,23 +2470,27 @@ export interface StartBulkAssociateWirelessDeviceWithMulticastGroupRequest { QueryString?: string; Tags?: Array; } -export interface StartBulkAssociateWirelessDeviceWithMulticastGroupResponse {} +export interface StartBulkAssociateWirelessDeviceWithMulticastGroupResponse { +} export interface StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest { Id: string; QueryString?: string; Tags?: Array; } -export interface StartBulkDisassociateWirelessDeviceFromMulticastGroupResponse {} +export interface StartBulkDisassociateWirelessDeviceFromMulticastGroupResponse { +} export interface StartFuotaTaskRequest { Id: string; LoRaWAN?: LoRaWANStartFuotaTask; } -export interface StartFuotaTaskResponse {} +export interface StartFuotaTaskResponse { +} export interface StartMulticastGroupSessionRequest { Id: string; LoRaWAN: LoRaWANMulticastSession; } -export interface StartMulticastGroupSessionResponse {} +export interface StartMulticastGroupSessionResponse { +} export interface StartSingleWirelessDeviceImportTaskRequest { DestinationName: string; ClientRequestToken?: string; @@ -3197,20 +2552,7 @@ export interface SummaryMetricQueryResult { Unit?: string; } export type SummaryMetricQueryResults = Array; -export type SupportedRfRegion = - | "EU868" - | "US915" - | "AU915" - | "AS923-1" - | "AS923-2" - | "AS923-3" - | "AS923-4" - | "EU433" - | "CN470" - | "CN779" - | "RU864" - | "KR920" - | "IN865"; +export type SupportedRfRegion = "EU868" | "US915" | "AU915" | "AS923-1" | "AS923-2" | "AS923-3" | "AS923-4" | "EU433" | "CN470" | "CN779" | "RU864" | "KR920" | "IN865"; export type Supports32BitFCnt = boolean; export type SupportsClassB = boolean; @@ -3235,7 +2577,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TargetPer = number; @@ -3316,7 +2659,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAbpV1_0_x { FCntStart?: number; } @@ -3332,7 +2676,8 @@ export interface UpdateDestinationRequest { Description?: string; RoleArn?: string; } -export interface UpdateDestinationResponse {} +export interface UpdateDestinationResponse { +} export interface UpdateEventConfigurationByResourceTypesRequest { DeviceRegistrationState?: DeviceRegistrationStateResourceTypeEventConfiguration; Proximity?: ProximityResourceTypeEventConfiguration; @@ -3340,7 +2685,8 @@ export interface UpdateEventConfigurationByResourceTypesRequest { ConnectionStatus?: ConnectionStatusResourceTypeEventConfiguration; MessageDeliveryStatus?: MessageDeliveryStatusResourceTypeEventConfiguration; } -export interface UpdateEventConfigurationByResourceTypesResponse {} +export interface UpdateEventConfigurationByResourceTypesResponse { +} export interface UpdateFPorts { Positioning?: Positioning; Applications?: Array; @@ -3357,25 +2703,29 @@ export interface UpdateFuotaTaskRequest { FragmentIntervalMS?: number; Descriptor?: string; } -export interface UpdateFuotaTaskResponse {} +export interface UpdateFuotaTaskResponse { +} export interface UpdateLogLevelsByResourceTypesRequest { DefaultLogLevel?: LogLevel; FuotaTaskLogOptions?: Array; WirelessDeviceLogOptions?: Array; WirelessGatewayLogOptions?: Array; } -export interface UpdateLogLevelsByResourceTypesResponse {} +export interface UpdateLogLevelsByResourceTypesResponse { +} export interface UpdateMetricConfigurationRequest { SummaryMetric?: SummaryMetricConfiguration; } -export interface UpdateMetricConfigurationResponse {} +export interface UpdateMetricConfigurationResponse { +} export interface UpdateMulticastGroupRequest { Id: string; Name?: string; Description?: string; LoRaWAN?: LoRaWANMulticast; } -export interface UpdateMulticastGroupResponse {} +export interface UpdateMulticastGroupResponse { +} export interface UpdateNetworkAnalyzerConfigurationRequest { ConfigurationName: string; TraceContent?: TraceContent; @@ -3387,19 +2737,22 @@ export interface UpdateNetworkAnalyzerConfigurationRequest { MulticastGroupsToAdd?: Array; MulticastGroupsToRemove?: Array; } -export interface UpdateNetworkAnalyzerConfigurationResponse {} +export interface UpdateNetworkAnalyzerConfigurationResponse { +} export interface UpdatePartnerAccountRequest { Sidewalk: SidewalkUpdateAccount; PartnerAccountId: string; PartnerType: PartnerType; } -export interface UpdatePartnerAccountResponse {} +export interface UpdatePartnerAccountResponse { +} export interface UpdatePositionRequest { ResourceIdentifier: string; ResourceType: PositionResourceType; Position: Array; } -export interface UpdatePositionResponse {} +export interface UpdatePositionResponse { +} export interface UpdateResourceEventConfigurationRequest { Identifier: string; IdentifierType: IdentifierType; @@ -3410,20 +2763,23 @@ export interface UpdateResourceEventConfigurationRequest { ConnectionStatus?: ConnectionStatusEventConfiguration; MessageDeliveryStatus?: MessageDeliveryStatusEventConfiguration; } -export interface UpdateResourceEventConfigurationResponse {} +export interface UpdateResourceEventConfigurationResponse { +} export interface UpdateResourcePositionRequest { ResourceIdentifier: string; ResourceType: PositionResourceType; GeoJsonPayload?: Uint8Array | string; } -export interface UpdateResourcePositionResponse {} +export interface UpdateResourcePositionResponse { +} export type UpdateSignature = string; export interface UpdateWirelessDeviceImportTaskRequest { Id: string; Sidewalk: SidewalkUpdateImportInfo; } -export interface UpdateWirelessDeviceImportTaskResponse {} +export interface UpdateWirelessDeviceImportTaskResponse { +} export interface UpdateWirelessDeviceRequest { Id: string; DestinationName?: string; @@ -3432,7 +2788,8 @@ export interface UpdateWirelessDeviceRequest { LoRaWAN?: LoRaWANUpdateDevice; Positioning?: PositioningConfigStatus; } -export interface UpdateWirelessDeviceResponse {} +export interface UpdateWirelessDeviceResponse { +} export interface UpdateWirelessGatewayRequest { Id: string; Name?: string; @@ -3441,7 +2798,8 @@ export interface UpdateWirelessGatewayRequest { NetIdFilters?: Array; MaxEirp?: number; } -export interface UpdateWirelessGatewayResponse {} +export interface UpdateWirelessGatewayResponse { +} export interface UpdateWirelessGatewayTaskCreate { UpdateDataSource?: string; UpdateDataRole?: string; @@ -3493,26 +2851,16 @@ export interface WiFiAccessPoint { export type WiFiAccessPoints = Array; export type WirelessDeviceArn = string; -export type WirelessDeviceEvent = - | "Join" - | "Rejoin" - | "Uplink_Data" - | "Downlink_Data" - | "Registration"; +export type WirelessDeviceEvent = "Join" | "Rejoin" | "Uplink_Data" | "Downlink_Data" | "Registration"; export interface WirelessDeviceEventLogOption { Event: WirelessDeviceEvent; LogLevel: LogLevel; } -export type WirelessDeviceEventLogOptionList = - Array; +export type WirelessDeviceEventLogOptionList = Array; export type WirelessDeviceFrameInfo = "ENABLED" | "DISABLED"; export type WirelessDeviceId = string; -export type WirelessDeviceIdType = - | "WirelessDeviceId" - | "DevEui" - | "ThingName" - | "SidewalkManufacturingSn"; +export type WirelessDeviceIdType = "WirelessDeviceId" | "DevEui" | "ThingName" | "SidewalkManufacturingSn"; export interface WirelessDeviceImportTask { Id?: string; Arn?: string; @@ -3536,11 +2884,7 @@ export interface WirelessDeviceLogOption { export type WirelessDeviceLogOptionList = Array; export type WirelessDeviceName = string; -export type WirelessDeviceSidewalkStatus = - | "PROVISIONED" - | "REGISTERED" - | "ACTIVATED" - | "UNKNOWN"; +export type WirelessDeviceSidewalkStatus = "PROVISIONED" | "REGISTERED" | "ACTIVATED" | "UNKNOWN"; export interface WirelessDeviceStatistics { Arn?: string; Id?: string; @@ -3563,14 +2907,10 @@ export interface WirelessGatewayEventLogOption { Event: WirelessGatewayEvent; LogLevel: LogLevel; } -export type WirelessGatewayEventLogOptionList = - Array; +export type WirelessGatewayEventLogOptionList = Array; export type WirelessGatewayId = string; -export type WirelessGatewayIdType = - | "GatewayEui" - | "WirelessGatewayId" - | "ThingName"; +export type WirelessGatewayIdType = "GatewayEui" | "WirelessGatewayId" | "ThingName"; export type WirelessGatewayList = Array; export interface WirelessGatewayLogOption { Type: WirelessGatewayType; @@ -3594,18 +2934,11 @@ export type WirelessGatewayTaskDefinitionArn = string; export type WirelessGatewayTaskDefinitionId = string; -export type WirelessGatewayTaskDefinitionList = - Array; +export type WirelessGatewayTaskDefinitionList = Array; export type WirelessGatewayTaskDefinitionType = "UPDATE"; export type WirelessGatewayTaskName = string; -export type WirelessGatewayTaskStatus = - | "PENDING" - | "IN_PROGRESS" - | "FIRST_RETRY" - | "SECOND_RETRY" - | "COMPLETED" - | "FAILED"; +export type WirelessGatewayTaskStatus = "PENDING" | "IN_PROGRESS" | "FIRST_RETRY" | "SECOND_RETRY" | "COMPLETED" | "FAILED"; export type WirelessGatewayType = "LoRaWAN"; export interface WirelessMetadata { LoRaWAN?: LoRaWANSendDataToDevice; @@ -4692,8 +4025,7 @@ export declare namespace SendDataToWirelessDevice { export declare namespace StartBulkAssociateWirelessDeviceWithMulticastGroup { export type Input = StartBulkAssociateWirelessDeviceWithMulticastGroupRequest; - export type Output = - StartBulkAssociateWirelessDeviceWithMulticastGroupResponse; + export type Output = StartBulkAssociateWirelessDeviceWithMulticastGroupResponse; export type Error = | AccessDeniedException | InternalServerException @@ -4704,10 +4036,8 @@ export declare namespace StartBulkAssociateWirelessDeviceWithMulticastGroup { } export declare namespace StartBulkDisassociateWirelessDeviceFromMulticastGroup { - export type Input = - StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest; - export type Output = - StartBulkDisassociateWirelessDeviceFromMulticastGroupResponse; + export type Input = StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest; + export type Output = StartBulkDisassociateWirelessDeviceFromMulticastGroupResponse; export type Error = | AccessDeniedException | InternalServerException @@ -4977,12 +4307,5 @@ export declare namespace UpdateWirelessGateway { | CommonAwsError; } -export type IoTWirelessErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type IoTWirelessErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/iot/index.ts b/src/services/iot/index.ts index 473070b1..85d8cda1 100644 --- a/src/services/iot/index.ts +++ b/src/services/iot/index.ts @@ -5,24 +5,7 @@ import type { IoT as _IoTClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,322 +15,283 @@ const metadata = { sigV4ServiceName: "iot", endpointPrefix: "iot", operations: { - AcceptCertificateTransfer: - "PATCH /accept-certificate-transfer/{certificateId}", - AddThingToBillingGroup: "PUT /billing-groups/addThingToBillingGroup", - AddThingToThingGroup: "PUT /thing-groups/addThingToThingGroup", - AssociateSbomWithPackageVersion: - "PUT /packages/{packageName}/versions/{versionName}/sbom", - AssociateTargetsWithJob: "POST /jobs/{jobId}/targets", - AttachPolicy: "PUT /target-policies/{policyName}", - AttachPrincipalPolicy: "PUT /principal-policies/{policyName}", - AttachSecurityProfile: - "PUT /security-profiles/{securityProfileName}/targets", - AttachThingPrincipal: "PUT /things/{thingName}/principals", - CancelAuditMitigationActionsTask: - "PUT /audit/mitigationactions/tasks/{taskId}/cancel", - CancelAuditTask: "PUT /audit/tasks/{taskId}/cancel", - CancelCertificateTransfer: - "PATCH /cancel-certificate-transfer/{certificateId}", - CancelDetectMitigationActionsTask: - "PUT /detect/mitigationactions/tasks/{taskId}/cancel", - CancelJob: "PUT /jobs/{jobId}/cancel", - CancelJobExecution: "PUT /things/{thingName}/jobs/{jobId}/cancel", - ClearDefaultAuthorizer: "DELETE /default-authorizer", - ConfirmTopicRuleDestination: "GET /confirmdestination/{confirmationToken+}", - CreateAuditSuppression: "POST /audit/suppressions/create", - CreateAuthorizer: "POST /authorizer/{authorizerName}", - CreateBillingGroup: "POST /billing-groups/{billingGroupName}", - CreateCertificateFromCsr: "POST /certificates", - CreateCertificateProvider: - "POST /certificate-providers/{certificateProviderName}", - CreateCommand: "PUT /commands/{commandId}", - CreateCustomMetric: "POST /custom-metric/{metricName}", - CreateDimension: "POST /dimensions/{name}", - CreateDomainConfiguration: - "POST /domainConfigurations/{domainConfigurationName}", - CreateDynamicThingGroup: "POST /dynamic-thing-groups/{thingGroupName}", - CreateFleetMetric: "PUT /fleet-metric/{metricName}", - CreateJob: "PUT /jobs/{jobId}", - CreateJobTemplate: "PUT /job-templates/{jobTemplateId}", - CreateKeysAndCertificate: "POST /keys-and-certificate", - CreateMitigationAction: "POST /mitigationactions/actions/{actionName}", - CreateOTAUpdate: "POST /otaUpdates/{otaUpdateId}", - CreatePackage: "PUT /packages/{packageName}", - CreatePackageVersion: "PUT /packages/{packageName}/versions/{versionName}", - CreatePolicy: "POST /policies/{policyName}", - CreatePolicyVersion: "POST /policies/{policyName}/version", - CreateProvisioningClaim: - "POST /provisioning-templates/{templateName}/provisioning-claim", - CreateProvisioningTemplate: "POST /provisioning-templates", - CreateProvisioningTemplateVersion: - "POST /provisioning-templates/{templateName}/versions", - CreateRoleAlias: "POST /role-aliases/{roleAlias}", - CreateScheduledAudit: "POST /audit/scheduledaudits/{scheduledAuditName}", - CreateSecurityProfile: "POST /security-profiles/{securityProfileName}", - CreateStream: "POST /streams/{streamId}", - CreateThing: "POST /things/{thingName}", - CreateThingGroup: "POST /thing-groups/{thingGroupName}", - CreateThingType: "POST /thing-types/{thingTypeName}", - CreateTopicRule: "POST /rules/{ruleName}", - CreateTopicRuleDestination: "POST /destinations", - DeleteAccountAuditConfiguration: "DELETE /audit/configuration", - DeleteAuditSuppression: "POST /audit/suppressions/delete", - DeleteAuthorizer: "DELETE /authorizer/{authorizerName}", - DeleteBillingGroup: "DELETE /billing-groups/{billingGroupName}", - DeleteCACertificate: "DELETE /cacertificate/{certificateId}", - DeleteCertificate: "DELETE /certificates/{certificateId}", - DeleteCertificateProvider: - "DELETE /certificate-providers/{certificateProviderName}", - DeleteCommand: { + "AcceptCertificateTransfer": "PATCH /accept-certificate-transfer/{certificateId}", + "AddThingToBillingGroup": "PUT /billing-groups/addThingToBillingGroup", + "AddThingToThingGroup": "PUT /thing-groups/addThingToThingGroup", + "AssociateSbomWithPackageVersion": "PUT /packages/{packageName}/versions/{versionName}/sbom", + "AssociateTargetsWithJob": "POST /jobs/{jobId}/targets", + "AttachPolicy": "PUT /target-policies/{policyName}", + "AttachPrincipalPolicy": "PUT /principal-policies/{policyName}", + "AttachSecurityProfile": "PUT /security-profiles/{securityProfileName}/targets", + "AttachThingPrincipal": "PUT /things/{thingName}/principals", + "CancelAuditMitigationActionsTask": "PUT /audit/mitigationactions/tasks/{taskId}/cancel", + "CancelAuditTask": "PUT /audit/tasks/{taskId}/cancel", + "CancelCertificateTransfer": "PATCH /cancel-certificate-transfer/{certificateId}", + "CancelDetectMitigationActionsTask": "PUT /detect/mitigationactions/tasks/{taskId}/cancel", + "CancelJob": "PUT /jobs/{jobId}/cancel", + "CancelJobExecution": "PUT /things/{thingName}/jobs/{jobId}/cancel", + "ClearDefaultAuthorizer": "DELETE /default-authorizer", + "ConfirmTopicRuleDestination": "GET /confirmdestination/{confirmationToken+}", + "CreateAuditSuppression": "POST /audit/suppressions/create", + "CreateAuthorizer": "POST /authorizer/{authorizerName}", + "CreateBillingGroup": "POST /billing-groups/{billingGroupName}", + "CreateCertificateFromCsr": "POST /certificates", + "CreateCertificateProvider": "POST /certificate-providers/{certificateProviderName}", + "CreateCommand": "PUT /commands/{commandId}", + "CreateCustomMetric": "POST /custom-metric/{metricName}", + "CreateDimension": "POST /dimensions/{name}", + "CreateDomainConfiguration": "POST /domainConfigurations/{domainConfigurationName}", + "CreateDynamicThingGroup": "POST /dynamic-thing-groups/{thingGroupName}", + "CreateFleetMetric": "PUT /fleet-metric/{metricName}", + "CreateJob": "PUT /jobs/{jobId}", + "CreateJobTemplate": "PUT /job-templates/{jobTemplateId}", + "CreateKeysAndCertificate": "POST /keys-and-certificate", + "CreateMitigationAction": "POST /mitigationactions/actions/{actionName}", + "CreateOTAUpdate": "POST /otaUpdates/{otaUpdateId}", + "CreatePackage": "PUT /packages/{packageName}", + "CreatePackageVersion": "PUT /packages/{packageName}/versions/{versionName}", + "CreatePolicy": "POST /policies/{policyName}", + "CreatePolicyVersion": "POST /policies/{policyName}/version", + "CreateProvisioningClaim": "POST /provisioning-templates/{templateName}/provisioning-claim", + "CreateProvisioningTemplate": "POST /provisioning-templates", + "CreateProvisioningTemplateVersion": "POST /provisioning-templates/{templateName}/versions", + "CreateRoleAlias": "POST /role-aliases/{roleAlias}", + "CreateScheduledAudit": "POST /audit/scheduledaudits/{scheduledAuditName}", + "CreateSecurityProfile": "POST /security-profiles/{securityProfileName}", + "CreateStream": "POST /streams/{streamId}", + "CreateThing": "POST /things/{thingName}", + "CreateThingGroup": "POST /thing-groups/{thingGroupName}", + "CreateThingType": "POST /thing-types/{thingTypeName}", + "CreateTopicRule": "POST /rules/{ruleName}", + "CreateTopicRuleDestination": "POST /destinations", + "DeleteAccountAuditConfiguration": "DELETE /audit/configuration", + "DeleteAuditSuppression": "POST /audit/suppressions/delete", + "DeleteAuthorizer": "DELETE /authorizer/{authorizerName}", + "DeleteBillingGroup": "DELETE /billing-groups/{billingGroupName}", + "DeleteCACertificate": "DELETE /cacertificate/{certificateId}", + "DeleteCertificate": "DELETE /certificates/{certificateId}", + "DeleteCertificateProvider": "DELETE /certificate-providers/{certificateProviderName}", + "DeleteCommand": { http: "DELETE /commands/{commandId}", traits: { - statusCode: "httpResponseCode", + "statusCode": "httpResponseCode", }, }, - DeleteCommandExecution: "DELETE /command-executions/{executionId}", - DeleteCustomMetric: "DELETE /custom-metric/{metricName}", - DeleteDimension: "DELETE /dimensions/{name}", - DeleteDomainConfiguration: - "DELETE /domainConfigurations/{domainConfigurationName}", - DeleteDynamicThingGroup: "DELETE /dynamic-thing-groups/{thingGroupName}", - DeleteFleetMetric: "DELETE /fleet-metric/{metricName}", - DeleteJob: "DELETE /jobs/{jobId}", - DeleteJobExecution: - "DELETE /things/{thingName}/jobs/{jobId}/executionNumber/{executionNumber}", - DeleteJobTemplate: "DELETE /job-templates/{jobTemplateId}", - DeleteMitigationAction: "DELETE /mitigationactions/actions/{actionName}", - DeleteOTAUpdate: "DELETE /otaUpdates/{otaUpdateId}", - DeletePackage: "DELETE /packages/{packageName}", - DeletePackageVersion: - "DELETE /packages/{packageName}/versions/{versionName}", - DeletePolicy: "DELETE /policies/{policyName}", - DeletePolicyVersion: - "DELETE /policies/{policyName}/version/{policyVersionId}", - DeleteProvisioningTemplate: "DELETE /provisioning-templates/{templateName}", - DeleteProvisioningTemplateVersion: - "DELETE /provisioning-templates/{templateName}/versions/{versionId}", - DeleteRegistrationCode: "DELETE /registrationcode", - DeleteRoleAlias: "DELETE /role-aliases/{roleAlias}", - DeleteScheduledAudit: "DELETE /audit/scheduledaudits/{scheduledAuditName}", - DeleteSecurityProfile: "DELETE /security-profiles/{securityProfileName}", - DeleteStream: "DELETE /streams/{streamId}", - DeleteThing: "DELETE /things/{thingName}", - DeleteThingGroup: "DELETE /thing-groups/{thingGroupName}", - DeleteThingType: "DELETE /thing-types/{thingTypeName}", - DeleteTopicRule: "DELETE /rules/{ruleName}", - DeleteTopicRuleDestination: "DELETE /destinations/{arn+}", - DeleteV2LoggingLevel: "DELETE /v2LoggingLevel", - DeprecateThingType: "POST /thing-types/{thingTypeName}/deprecate", - DescribeAccountAuditConfiguration: "GET /audit/configuration", - DescribeAuditFinding: "GET /audit/findings/{findingId}", - DescribeAuditMitigationActionsTask: - "GET /audit/mitigationactions/tasks/{taskId}", - DescribeAuditSuppression: "POST /audit/suppressions/describe", - DescribeAuditTask: "GET /audit/tasks/{taskId}", - DescribeAuthorizer: "GET /authorizer/{authorizerName}", - DescribeBillingGroup: "GET /billing-groups/{billingGroupName}", - DescribeCACertificate: "GET /cacertificate/{certificateId}", - DescribeCertificate: "GET /certificates/{certificateId}", - DescribeCertificateProvider: - "GET /certificate-providers/{certificateProviderName}", - DescribeCustomMetric: "GET /custom-metric/{metricName}", - DescribeDefaultAuthorizer: "GET /default-authorizer", - DescribeDetectMitigationActionsTask: - "GET /detect/mitigationactions/tasks/{taskId}", - DescribeDimension: "GET /dimensions/{name}", - DescribeDomainConfiguration: - "GET /domainConfigurations/{domainConfigurationName}", - DescribeEncryptionConfiguration: "GET /encryption-configuration", - DescribeEndpoint: "GET /endpoint", - DescribeEventConfigurations: "GET /event-configurations", - DescribeFleetMetric: "GET /fleet-metric/{metricName}", - DescribeIndex: "GET /indices/{indexName}", - DescribeJob: "GET /jobs/{jobId}", - DescribeJobExecution: "GET /things/{thingName}/jobs/{jobId}", - DescribeJobTemplate: "GET /job-templates/{jobTemplateId}", - DescribeManagedJobTemplate: "GET /managed-job-templates/{templateName}", - DescribeMitigationAction: "GET /mitigationactions/actions/{actionName}", - DescribeProvisioningTemplate: "GET /provisioning-templates/{templateName}", - DescribeProvisioningTemplateVersion: - "GET /provisioning-templates/{templateName}/versions/{versionId}", - DescribeRoleAlias: "GET /role-aliases/{roleAlias}", - DescribeScheduledAudit: "GET /audit/scheduledaudits/{scheduledAuditName}", - DescribeSecurityProfile: "GET /security-profiles/{securityProfileName}", - DescribeStream: "GET /streams/{streamId}", - DescribeThing: "GET /things/{thingName}", - DescribeThingGroup: "GET /thing-groups/{thingGroupName}", - DescribeThingRegistrationTask: "GET /thing-registration-tasks/{taskId}", - DescribeThingType: "GET /thing-types/{thingTypeName}", - DetachPolicy: "POST /target-policies/{policyName}", - DetachPrincipalPolicy: "DELETE /principal-policies/{policyName}", - DetachSecurityProfile: - "DELETE /security-profiles/{securityProfileName}/targets", - DetachThingPrincipal: "DELETE /things/{thingName}/principals", - DisableTopicRule: "POST /rules/{ruleName}/disable", - DisassociateSbomFromPackageVersion: - "DELETE /packages/{packageName}/versions/{versionName}/sbom", - EnableTopicRule: "POST /rules/{ruleName}/enable", - GetBehaviorModelTrainingSummaries: "GET /behavior-model-training/summaries", - GetBucketsAggregation: "POST /indices/buckets", - GetCardinality: "POST /indices/cardinality", - GetCommand: "GET /commands/{commandId}", - GetCommandExecution: "GET /command-executions/{executionId}", - GetEffectivePolicies: "POST /effective-policies", - GetIndexingConfiguration: "GET /indexing/config", - GetJobDocument: "GET /jobs/{jobId}/job-document", - GetLoggingOptions: "GET /loggingOptions", - GetOTAUpdate: "GET /otaUpdates/{otaUpdateId}", - GetPackage: "GET /packages/{packageName}", - GetPackageConfiguration: "GET /package-configuration", - GetPackageVersion: "GET /packages/{packageName}/versions/{versionName}", - GetPercentiles: "POST /indices/percentiles", - GetPolicy: "GET /policies/{policyName}", - GetPolicyVersion: "GET /policies/{policyName}/version/{policyVersionId}", - GetRegistrationCode: "GET /registrationcode", - GetStatistics: "POST /indices/statistics", - GetThingConnectivityData: "POST /things/{thingName}/connectivity-data", - GetTopicRule: "GET /rules/{ruleName}", - GetTopicRuleDestination: "GET /destinations/{arn+}", - GetV2LoggingOptions: "GET /v2LoggingOptions", - ListActiveViolations: "GET /active-violations", - ListAttachedPolicies: "POST /attached-policies/{target}", - ListAuditFindings: "POST /audit/findings", - ListAuditMitigationActionsExecutions: - "GET /audit/mitigationactions/executions", - ListAuditMitigationActionsTasks: "GET /audit/mitigationactions/tasks", - ListAuditSuppressions: "POST /audit/suppressions/list", - ListAuditTasks: "GET /audit/tasks", - ListAuthorizers: "GET /authorizers", - ListBillingGroups: "GET /billing-groups", - ListCACertificates: "GET /cacertificates", - ListCertificateProviders: "GET /certificate-providers", - ListCertificates: "GET /certificates", - ListCertificatesByCA: "GET /certificates-by-ca/{caCertificateId}", - ListCommandExecutions: "POST /command-executions", - ListCommands: "GET /commands", - ListCustomMetrics: "GET /custom-metrics", - ListDetectMitigationActionsExecutions: - "GET /detect/mitigationactions/executions", - ListDetectMitigationActionsTasks: "GET /detect/mitigationactions/tasks", - ListDimensions: "GET /dimensions", - ListDomainConfigurations: "GET /domainConfigurations", - ListFleetMetrics: "GET /fleet-metrics", - ListIndices: "GET /indices", - ListJobExecutionsForJob: "GET /jobs/{jobId}/things", - ListJobExecutionsForThing: "GET /things/{thingName}/jobs", - ListJobs: "GET /jobs", - ListJobTemplates: "GET /job-templates", - ListManagedJobTemplates: "GET /managed-job-templates", - ListMetricValues: "GET /metric-values", - ListMitigationActions: "GET /mitigationactions/actions", - ListOTAUpdates: "GET /otaUpdates", - ListOutgoingCertificates: "GET /certificates-out-going", - ListPackages: "GET /packages", - ListPackageVersions: "GET /packages/{packageName}/versions", - ListPolicies: "GET /policies", - ListPolicyPrincipals: "GET /policy-principals", - ListPolicyVersions: "GET /policies/{policyName}/version", - ListPrincipalPolicies: "GET /principal-policies", - ListPrincipalThings: "GET /principals/things", - ListPrincipalThingsV2: "GET /principals/things-v2", - ListProvisioningTemplates: "GET /provisioning-templates", - ListProvisioningTemplateVersions: - "GET /provisioning-templates/{templateName}/versions", - ListRelatedResourcesForAuditFinding: "GET /audit/relatedResources", - ListRoleAliases: "GET /role-aliases", - ListSbomValidationResults: - "GET /packages/{packageName}/versions/{versionName}/sbom-validation-results", - ListScheduledAudits: "GET /audit/scheduledaudits", - ListSecurityProfiles: "GET /security-profiles", - ListSecurityProfilesForTarget: "GET /security-profiles-for-target", - ListStreams: "GET /streams", - ListTagsForResource: "GET /tags", - ListTargetsForPolicy: "POST /policy-targets/{policyName}", - ListTargetsForSecurityProfile: - "GET /security-profiles/{securityProfileName}/targets", - ListThingGroups: "GET /thing-groups", - ListThingGroupsForThing: "GET /things/{thingName}/thing-groups", - ListThingPrincipals: "GET /things/{thingName}/principals", - ListThingPrincipalsV2: "GET /things/{thingName}/principals-v2", - ListThingRegistrationTaskReports: - "GET /thing-registration-tasks/{taskId}/reports", - ListThingRegistrationTasks: "GET /thing-registration-tasks", - ListThings: "GET /things", - ListThingsInBillingGroup: "GET /billing-groups/{billingGroupName}/things", - ListThingsInThingGroup: "GET /thing-groups/{thingGroupName}/things", - ListThingTypes: "GET /thing-types", - ListTopicRuleDestinations: "GET /destinations", - ListTopicRules: "GET /rules", - ListV2LoggingLevels: "GET /v2LoggingLevel", - ListViolationEvents: "GET /violation-events", - PutVerificationStateOnViolation: - "POST /violations/verification-state/{violationId}", - RegisterCACertificate: "POST /cacertificate", - RegisterCertificate: "POST /certificate/register", - RegisterCertificateWithoutCA: "POST /certificate/register-no-ca", - RegisterThing: "POST /things", - RejectCertificateTransfer: - "PATCH /reject-certificate-transfer/{certificateId}", - RemoveThingFromBillingGroup: - "PUT /billing-groups/removeThingFromBillingGroup", - RemoveThingFromThingGroup: "PUT /thing-groups/removeThingFromThingGroup", - ReplaceTopicRule: "PATCH /rules/{ruleName}", - SearchIndex: "POST /indices/search", - SetDefaultAuthorizer: "POST /default-authorizer", - SetDefaultPolicyVersion: - "PATCH /policies/{policyName}/version/{policyVersionId}", - SetLoggingOptions: "POST /loggingOptions", - SetV2LoggingLevel: "POST /v2LoggingLevel", - SetV2LoggingOptions: "POST /v2LoggingOptions", - StartAuditMitigationActionsTask: - "POST /audit/mitigationactions/tasks/{taskId}", - StartDetectMitigationActionsTask: - "PUT /detect/mitigationactions/tasks/{taskId}", - StartOnDemandAuditTask: "POST /audit/tasks", - StartThingRegistrationTask: "POST /thing-registration-tasks", - StopThingRegistrationTask: "PUT /thing-registration-tasks/{taskId}/cancel", - TagResource: "POST /tags", - TestAuthorization: "POST /test-authorization", - TestInvokeAuthorizer: "POST /authorizer/{authorizerName}/test", - TransferCertificate: "PATCH /transfer-certificate/{certificateId}", - UntagResource: "POST /untag", - UpdateAccountAuditConfiguration: "PATCH /audit/configuration", - UpdateAuditSuppression: "PATCH /audit/suppressions/update", - UpdateAuthorizer: "PUT /authorizer/{authorizerName}", - UpdateBillingGroup: "PATCH /billing-groups/{billingGroupName}", - UpdateCACertificate: "PUT /cacertificate/{certificateId}", - UpdateCertificate: "PUT /certificates/{certificateId}", - UpdateCertificateProvider: - "PUT /certificate-providers/{certificateProviderName}", - UpdateCommand: "PATCH /commands/{commandId}", - UpdateCustomMetric: "PATCH /custom-metric/{metricName}", - UpdateDimension: "PATCH /dimensions/{name}", - UpdateDomainConfiguration: - "PUT /domainConfigurations/{domainConfigurationName}", - UpdateDynamicThingGroup: "PATCH /dynamic-thing-groups/{thingGroupName}", - UpdateEncryptionConfiguration: "PATCH /encryption-configuration", - UpdateEventConfigurations: "PATCH /event-configurations", - UpdateFleetMetric: "PATCH /fleet-metric/{metricName}", - UpdateIndexingConfiguration: "POST /indexing/config", - UpdateJob: "PATCH /jobs/{jobId}", - UpdateMitigationAction: "PATCH /mitigationactions/actions/{actionName}", - UpdatePackage: "PATCH /packages/{packageName}", - UpdatePackageConfiguration: "PATCH /package-configuration", - UpdatePackageVersion: - "PATCH /packages/{packageName}/versions/{versionName}", - UpdateProvisioningTemplate: "PATCH /provisioning-templates/{templateName}", - UpdateRoleAlias: "PUT /role-aliases/{roleAlias}", - UpdateScheduledAudit: "PATCH /audit/scheduledaudits/{scheduledAuditName}", - UpdateSecurityProfile: "PATCH /security-profiles/{securityProfileName}", - UpdateStream: "PUT /streams/{streamId}", - UpdateThing: "PATCH /things/{thingName}", - UpdateThingGroup: "PATCH /thing-groups/{thingGroupName}", - UpdateThingGroupsForThing: "PUT /thing-groups/updateThingGroupsForThing", - UpdateThingType: "PATCH /thing-types/{thingTypeName}", - UpdateTopicRuleDestination: "PATCH /destinations", - ValidateSecurityProfileBehaviors: - "POST /security-profile-behaviors/validate", + "DeleteCommandExecution": "DELETE /command-executions/{executionId}", + "DeleteCustomMetric": "DELETE /custom-metric/{metricName}", + "DeleteDimension": "DELETE /dimensions/{name}", + "DeleteDomainConfiguration": "DELETE /domainConfigurations/{domainConfigurationName}", + "DeleteDynamicThingGroup": "DELETE /dynamic-thing-groups/{thingGroupName}", + "DeleteFleetMetric": "DELETE /fleet-metric/{metricName}", + "DeleteJob": "DELETE /jobs/{jobId}", + "DeleteJobExecution": "DELETE /things/{thingName}/jobs/{jobId}/executionNumber/{executionNumber}", + "DeleteJobTemplate": "DELETE /job-templates/{jobTemplateId}", + "DeleteMitigationAction": "DELETE /mitigationactions/actions/{actionName}", + "DeleteOTAUpdate": "DELETE /otaUpdates/{otaUpdateId}", + "DeletePackage": "DELETE /packages/{packageName}", + "DeletePackageVersion": "DELETE /packages/{packageName}/versions/{versionName}", + "DeletePolicy": "DELETE /policies/{policyName}", + "DeletePolicyVersion": "DELETE /policies/{policyName}/version/{policyVersionId}", + "DeleteProvisioningTemplate": "DELETE /provisioning-templates/{templateName}", + "DeleteProvisioningTemplateVersion": "DELETE /provisioning-templates/{templateName}/versions/{versionId}", + "DeleteRegistrationCode": "DELETE /registrationcode", + "DeleteRoleAlias": "DELETE /role-aliases/{roleAlias}", + "DeleteScheduledAudit": "DELETE /audit/scheduledaudits/{scheduledAuditName}", + "DeleteSecurityProfile": "DELETE /security-profiles/{securityProfileName}", + "DeleteStream": "DELETE /streams/{streamId}", + "DeleteThing": "DELETE /things/{thingName}", + "DeleteThingGroup": "DELETE /thing-groups/{thingGroupName}", + "DeleteThingType": "DELETE /thing-types/{thingTypeName}", + "DeleteTopicRule": "DELETE /rules/{ruleName}", + "DeleteTopicRuleDestination": "DELETE /destinations/{arn+}", + "DeleteV2LoggingLevel": "DELETE /v2LoggingLevel", + "DeprecateThingType": "POST /thing-types/{thingTypeName}/deprecate", + "DescribeAccountAuditConfiguration": "GET /audit/configuration", + "DescribeAuditFinding": "GET /audit/findings/{findingId}", + "DescribeAuditMitigationActionsTask": "GET /audit/mitigationactions/tasks/{taskId}", + "DescribeAuditSuppression": "POST /audit/suppressions/describe", + "DescribeAuditTask": "GET /audit/tasks/{taskId}", + "DescribeAuthorizer": "GET /authorizer/{authorizerName}", + "DescribeBillingGroup": "GET /billing-groups/{billingGroupName}", + "DescribeCACertificate": "GET /cacertificate/{certificateId}", + "DescribeCertificate": "GET /certificates/{certificateId}", + "DescribeCertificateProvider": "GET /certificate-providers/{certificateProviderName}", + "DescribeCustomMetric": "GET /custom-metric/{metricName}", + "DescribeDefaultAuthorizer": "GET /default-authorizer", + "DescribeDetectMitigationActionsTask": "GET /detect/mitigationactions/tasks/{taskId}", + "DescribeDimension": "GET /dimensions/{name}", + "DescribeDomainConfiguration": "GET /domainConfigurations/{domainConfigurationName}", + "DescribeEncryptionConfiguration": "GET /encryption-configuration", + "DescribeEndpoint": "GET /endpoint", + "DescribeEventConfigurations": "GET /event-configurations", + "DescribeFleetMetric": "GET /fleet-metric/{metricName}", + "DescribeIndex": "GET /indices/{indexName}", + "DescribeJob": "GET /jobs/{jobId}", + "DescribeJobExecution": "GET /things/{thingName}/jobs/{jobId}", + "DescribeJobTemplate": "GET /job-templates/{jobTemplateId}", + "DescribeManagedJobTemplate": "GET /managed-job-templates/{templateName}", + "DescribeMitigationAction": "GET /mitigationactions/actions/{actionName}", + "DescribeProvisioningTemplate": "GET /provisioning-templates/{templateName}", + "DescribeProvisioningTemplateVersion": "GET /provisioning-templates/{templateName}/versions/{versionId}", + "DescribeRoleAlias": "GET /role-aliases/{roleAlias}", + "DescribeScheduledAudit": "GET /audit/scheduledaudits/{scheduledAuditName}", + "DescribeSecurityProfile": "GET /security-profiles/{securityProfileName}", + "DescribeStream": "GET /streams/{streamId}", + "DescribeThing": "GET /things/{thingName}", + "DescribeThingGroup": "GET /thing-groups/{thingGroupName}", + "DescribeThingRegistrationTask": "GET /thing-registration-tasks/{taskId}", + "DescribeThingType": "GET /thing-types/{thingTypeName}", + "DetachPolicy": "POST /target-policies/{policyName}", + "DetachPrincipalPolicy": "DELETE /principal-policies/{policyName}", + "DetachSecurityProfile": "DELETE /security-profiles/{securityProfileName}/targets", + "DetachThingPrincipal": "DELETE /things/{thingName}/principals", + "DisableTopicRule": "POST /rules/{ruleName}/disable", + "DisassociateSbomFromPackageVersion": "DELETE /packages/{packageName}/versions/{versionName}/sbom", + "EnableTopicRule": "POST /rules/{ruleName}/enable", + "GetBehaviorModelTrainingSummaries": "GET /behavior-model-training/summaries", + "GetBucketsAggregation": "POST /indices/buckets", + "GetCardinality": "POST /indices/cardinality", + "GetCommand": "GET /commands/{commandId}", + "GetCommandExecution": "GET /command-executions/{executionId}", + "GetEffectivePolicies": "POST /effective-policies", + "GetIndexingConfiguration": "GET /indexing/config", + "GetJobDocument": "GET /jobs/{jobId}/job-document", + "GetLoggingOptions": "GET /loggingOptions", + "GetOTAUpdate": "GET /otaUpdates/{otaUpdateId}", + "GetPackage": "GET /packages/{packageName}", + "GetPackageConfiguration": "GET /package-configuration", + "GetPackageVersion": "GET /packages/{packageName}/versions/{versionName}", + "GetPercentiles": "POST /indices/percentiles", + "GetPolicy": "GET /policies/{policyName}", + "GetPolicyVersion": "GET /policies/{policyName}/version/{policyVersionId}", + "GetRegistrationCode": "GET /registrationcode", + "GetStatistics": "POST /indices/statistics", + "GetThingConnectivityData": "POST /things/{thingName}/connectivity-data", + "GetTopicRule": "GET /rules/{ruleName}", + "GetTopicRuleDestination": "GET /destinations/{arn+}", + "GetV2LoggingOptions": "GET /v2LoggingOptions", + "ListActiveViolations": "GET /active-violations", + "ListAttachedPolicies": "POST /attached-policies/{target}", + "ListAuditFindings": "POST /audit/findings", + "ListAuditMitigationActionsExecutions": "GET /audit/mitigationactions/executions", + "ListAuditMitigationActionsTasks": "GET /audit/mitigationactions/tasks", + "ListAuditSuppressions": "POST /audit/suppressions/list", + "ListAuditTasks": "GET /audit/tasks", + "ListAuthorizers": "GET /authorizers", + "ListBillingGroups": "GET /billing-groups", + "ListCACertificates": "GET /cacertificates", + "ListCertificateProviders": "GET /certificate-providers", + "ListCertificates": "GET /certificates", + "ListCertificatesByCA": "GET /certificates-by-ca/{caCertificateId}", + "ListCommandExecutions": "POST /command-executions", + "ListCommands": "GET /commands", + "ListCustomMetrics": "GET /custom-metrics", + "ListDetectMitigationActionsExecutions": "GET /detect/mitigationactions/executions", + "ListDetectMitigationActionsTasks": "GET /detect/mitigationactions/tasks", + "ListDimensions": "GET /dimensions", + "ListDomainConfigurations": "GET /domainConfigurations", + "ListFleetMetrics": "GET /fleet-metrics", + "ListIndices": "GET /indices", + "ListJobExecutionsForJob": "GET /jobs/{jobId}/things", + "ListJobExecutionsForThing": "GET /things/{thingName}/jobs", + "ListJobs": "GET /jobs", + "ListJobTemplates": "GET /job-templates", + "ListManagedJobTemplates": "GET /managed-job-templates", + "ListMetricValues": "GET /metric-values", + "ListMitigationActions": "GET /mitigationactions/actions", + "ListOTAUpdates": "GET /otaUpdates", + "ListOutgoingCertificates": "GET /certificates-out-going", + "ListPackages": "GET /packages", + "ListPackageVersions": "GET /packages/{packageName}/versions", + "ListPolicies": "GET /policies", + "ListPolicyPrincipals": "GET /policy-principals", + "ListPolicyVersions": "GET /policies/{policyName}/version", + "ListPrincipalPolicies": "GET /principal-policies", + "ListPrincipalThings": "GET /principals/things", + "ListPrincipalThingsV2": "GET /principals/things-v2", + "ListProvisioningTemplates": "GET /provisioning-templates", + "ListProvisioningTemplateVersions": "GET /provisioning-templates/{templateName}/versions", + "ListRelatedResourcesForAuditFinding": "GET /audit/relatedResources", + "ListRoleAliases": "GET /role-aliases", + "ListSbomValidationResults": "GET /packages/{packageName}/versions/{versionName}/sbom-validation-results", + "ListScheduledAudits": "GET /audit/scheduledaudits", + "ListSecurityProfiles": "GET /security-profiles", + "ListSecurityProfilesForTarget": "GET /security-profiles-for-target", + "ListStreams": "GET /streams", + "ListTagsForResource": "GET /tags", + "ListTargetsForPolicy": "POST /policy-targets/{policyName}", + "ListTargetsForSecurityProfile": "GET /security-profiles/{securityProfileName}/targets", + "ListThingGroups": "GET /thing-groups", + "ListThingGroupsForThing": "GET /things/{thingName}/thing-groups", + "ListThingPrincipals": "GET /things/{thingName}/principals", + "ListThingPrincipalsV2": "GET /things/{thingName}/principals-v2", + "ListThingRegistrationTaskReports": "GET /thing-registration-tasks/{taskId}/reports", + "ListThingRegistrationTasks": "GET /thing-registration-tasks", + "ListThings": "GET /things", + "ListThingsInBillingGroup": "GET /billing-groups/{billingGroupName}/things", + "ListThingsInThingGroup": "GET /thing-groups/{thingGroupName}/things", + "ListThingTypes": "GET /thing-types", + "ListTopicRuleDestinations": "GET /destinations", + "ListTopicRules": "GET /rules", + "ListV2LoggingLevels": "GET /v2LoggingLevel", + "ListViolationEvents": "GET /violation-events", + "PutVerificationStateOnViolation": "POST /violations/verification-state/{violationId}", + "RegisterCACertificate": "POST /cacertificate", + "RegisterCertificate": "POST /certificate/register", + "RegisterCertificateWithoutCA": "POST /certificate/register-no-ca", + "RegisterThing": "POST /things", + "RejectCertificateTransfer": "PATCH /reject-certificate-transfer/{certificateId}", + "RemoveThingFromBillingGroup": "PUT /billing-groups/removeThingFromBillingGroup", + "RemoveThingFromThingGroup": "PUT /thing-groups/removeThingFromThingGroup", + "ReplaceTopicRule": "PATCH /rules/{ruleName}", + "SearchIndex": "POST /indices/search", + "SetDefaultAuthorizer": "POST /default-authorizer", + "SetDefaultPolicyVersion": "PATCH /policies/{policyName}/version/{policyVersionId}", + "SetLoggingOptions": "POST /loggingOptions", + "SetV2LoggingLevel": "POST /v2LoggingLevel", + "SetV2LoggingOptions": "POST /v2LoggingOptions", + "StartAuditMitigationActionsTask": "POST /audit/mitigationactions/tasks/{taskId}", + "StartDetectMitigationActionsTask": "PUT /detect/mitigationactions/tasks/{taskId}", + "StartOnDemandAuditTask": "POST /audit/tasks", + "StartThingRegistrationTask": "POST /thing-registration-tasks", + "StopThingRegistrationTask": "PUT /thing-registration-tasks/{taskId}/cancel", + "TagResource": "POST /tags", + "TestAuthorization": "POST /test-authorization", + "TestInvokeAuthorizer": "POST /authorizer/{authorizerName}/test", + "TransferCertificate": "PATCH /transfer-certificate/{certificateId}", + "UntagResource": "POST /untag", + "UpdateAccountAuditConfiguration": "PATCH /audit/configuration", + "UpdateAuditSuppression": "PATCH /audit/suppressions/update", + "UpdateAuthorizer": "PUT /authorizer/{authorizerName}", + "UpdateBillingGroup": "PATCH /billing-groups/{billingGroupName}", + "UpdateCACertificate": "PUT /cacertificate/{certificateId}", + "UpdateCertificate": "PUT /certificates/{certificateId}", + "UpdateCertificateProvider": "PUT /certificate-providers/{certificateProviderName}", + "UpdateCommand": "PATCH /commands/{commandId}", + "UpdateCustomMetric": "PATCH /custom-metric/{metricName}", + "UpdateDimension": "PATCH /dimensions/{name}", + "UpdateDomainConfiguration": "PUT /domainConfigurations/{domainConfigurationName}", + "UpdateDynamicThingGroup": "PATCH /dynamic-thing-groups/{thingGroupName}", + "UpdateEncryptionConfiguration": "PATCH /encryption-configuration", + "UpdateEventConfigurations": "PATCH /event-configurations", + "UpdateFleetMetric": "PATCH /fleet-metric/{metricName}", + "UpdateIndexingConfiguration": "POST /indexing/config", + "UpdateJob": "PATCH /jobs/{jobId}", + "UpdateMitigationAction": "PATCH /mitigationactions/actions/{actionName}", + "UpdatePackage": "PATCH /packages/{packageName}", + "UpdatePackageConfiguration": "PATCH /package-configuration", + "UpdatePackageVersion": "PATCH /packages/{packageName}/versions/{versionName}", + "UpdateProvisioningTemplate": "PATCH /provisioning-templates/{templateName}", + "UpdateRoleAlias": "PUT /role-aliases/{roleAlias}", + "UpdateScheduledAudit": "PATCH /audit/scheduledaudits/{scheduledAuditName}", + "UpdateSecurityProfile": "PATCH /security-profiles/{securityProfileName}", + "UpdateStream": "PUT /streams/{streamId}", + "UpdateThing": "PATCH /things/{thingName}", + "UpdateThingGroup": "PATCH /thing-groups/{thingGroupName}", + "UpdateThingGroupsForThing": "PUT /thing-groups/updateThingGroupsForThing", + "UpdateThingType": "PATCH /thing-types/{thingTypeName}", + "UpdateTopicRuleDestination": "PATCH /destinations", + "ValidateSecurityProfileBehaviors": "POST /security-profile-behaviors/validate", }, } as const satisfies ServiceMetadata; diff --git a/src/services/iot/types.ts b/src/services/iot/types.ts index fc126260..ea0f36ad 100644 --- a/src/services/iot/types.ts +++ b/src/services/iot/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class IoT extends AWSServiceClient { @@ -41,999 +8,517 @@ export declare class IoT extends AWSServiceClient { input: AcceptCertificateTransferRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | TransferAlreadyCompletedException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | TransferAlreadyCompletedException | UnauthorizedException | CommonAwsError >; addThingToBillingGroup( input: AddThingToBillingGroupRequest, ): Effect.Effect< AddThingToBillingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; addThingToThingGroup( input: AddThingToThingGroupRequest, ): Effect.Effect< AddThingToThingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateSbomWithPackageVersion( input: AssociateSbomWithPackageVersionRequest, ): Effect.Effect< AssociateSbomWithPackageVersionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateTargetsWithJob( input: AssociateTargetsWithJobRequest, ): Effect.Effect< AssociateTargetsWithJobResponse, - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; attachPolicy( input: AttachPolicyRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; attachPrincipalPolicy( input: AttachPrincipalPolicyRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; attachSecurityProfile( input: AttachSecurityProfileRequest, ): Effect.Effect< AttachSecurityProfileResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | VersionConflictException | CommonAwsError >; attachThingPrincipal( input: AttachThingPrincipalRequest, ): Effect.Effect< AttachThingPrincipalResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; cancelAuditMitigationActionsTask( input: CancelAuditMitigationActionsTaskRequest, ): Effect.Effect< CancelAuditMitigationActionsTaskResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; cancelAuditTask( input: CancelAuditTaskRequest, ): Effect.Effect< CancelAuditTaskResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; cancelCertificateTransfer( input: CancelCertificateTransferRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | TransferAlreadyCompletedException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | TransferAlreadyCompletedException | UnauthorizedException | CommonAwsError >; cancelDetectMitigationActionsTask( input: CancelDetectMitigationActionsTaskRequest, ): Effect.Effect< CancelDetectMitigationActionsTaskResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; cancelJob( input: CancelJobRequest, ): Effect.Effect< CancelJobResponse, - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; cancelJobExecution( input: CancelJobExecutionRequest, ): Effect.Effect< {}, - | InvalidRequestException - | InvalidStateTransitionException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InvalidRequestException | InvalidStateTransitionException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | VersionConflictException | CommonAwsError >; clearDefaultAuthorizer( input: ClearDefaultAuthorizerRequest, ): Effect.Effect< ClearDefaultAuthorizerResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; confirmTopicRuleDestination( input: ConfirmTopicRuleDestinationRequest, ): Effect.Effect< ConfirmTopicRuleDestinationResponse, - | ConflictingResourceUpdateException - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; createAuditSuppression( input: CreateAuditSuppressionRequest, ): Effect.Effect< CreateAuditSuppressionResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createAuthorizer( input: CreateAuthorizerRequest, ): Effect.Effect< CreateAuthorizerResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createBillingGroup( input: CreateBillingGroupRequest, ): Effect.Effect< CreateBillingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createCertificateFromCsr( input: CreateCertificateFromCsrRequest, ): Effect.Effect< CreateCertificateFromCsrResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createCertificateProvider( input: CreateCertificateProviderRequest, ): Effect.Effect< CreateCertificateProviderResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createCommand( input: CreateCommandRequest, ): Effect.Effect< CreateCommandResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCustomMetric( input: CreateCustomMetricRequest, ): Effect.Effect< CreateCustomMetricResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createDimension( input: CreateDimensionRequest, ): Effect.Effect< CreateDimensionResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createDomainConfiguration( input: CreateDomainConfigurationRequest, ): Effect.Effect< CreateDomainConfigurationResponse, - | CertificateValidationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + CertificateValidationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createDynamicThingGroup( input: CreateDynamicThingGroupRequest, ): Effect.Effect< CreateDynamicThingGroupResponse, - | InternalFailureException - | InvalidQueryException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidQueryException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createFleetMetric( input: CreateFleetMetricRequest, ): Effect.Effect< CreateFleetMetricResponse, - | IndexNotReadyException - | InternalFailureException - | InvalidAggregationException - | InvalidQueryException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + IndexNotReadyException | InternalFailureException | InvalidAggregationException | InvalidQueryException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createJob( input: CreateJobRequest, ): Effect.Effect< CreateJobResponse, - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createJobTemplate( input: CreateJobTemplateRequest, ): Effect.Effect< CreateJobTemplateResponse, - | ConflictException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createKeysAndCertificate( input: CreateKeysAndCertificateRequest, ): Effect.Effect< CreateKeysAndCertificateResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createMitigationAction( input: CreateMitigationActionRequest, ): Effect.Effect< CreateMitigationActionResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createOTAUpdate( input: CreateOTAUpdateRequest, ): Effect.Effect< CreateOTAUpdateResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createPackage( input: CreatePackageRequest, ): Effect.Effect< CreatePackageResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPackageVersion( input: CreatePackageVersionRequest, ): Effect.Effect< CreatePackageVersionResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPolicy( input: CreatePolicyRequest, ): Effect.Effect< CreatePolicyResponse, - | InternalFailureException - | InvalidRequestException - | MalformedPolicyException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | MalformedPolicyException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createPolicyVersion( input: CreatePolicyVersionRequest, ): Effect.Effect< CreatePolicyVersionResponse, - | InternalFailureException - | InvalidRequestException - | MalformedPolicyException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | VersionsLimitExceededException - | CommonAwsError + InternalFailureException | InvalidRequestException | MalformedPolicyException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | VersionsLimitExceededException | CommonAwsError >; createProvisioningClaim( input: CreateProvisioningClaimRequest, ): Effect.Effect< CreateProvisioningClaimResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createProvisioningTemplate( input: CreateProvisioningTemplateRequest, ): Effect.Effect< CreateProvisioningTemplateResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | UnauthorizedException | CommonAwsError >; createProvisioningTemplateVersion( input: CreateProvisioningTemplateVersionRequest, ): Effect.Effect< CreateProvisioningTemplateVersionResponse, - | ConflictingResourceUpdateException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | VersionsLimitExceededException - | CommonAwsError + ConflictingResourceUpdateException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | VersionsLimitExceededException | CommonAwsError >; createRoleAlias( input: CreateRoleAliasRequest, ): Effect.Effect< CreateRoleAliasResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createScheduledAudit( input: CreateScheduledAuditRequest, ): Effect.Effect< CreateScheduledAuditResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createSecurityProfile( input: CreateSecurityProfileRequest, ): Effect.Effect< CreateSecurityProfileResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createStream( input: CreateStreamRequest, ): Effect.Effect< CreateStreamResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createThing( input: CreateThingRequest, ): Effect.Effect< CreateThingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createThingGroup( input: CreateThingGroupRequest, ): Effect.Effect< CreateThingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createThingType( input: CreateThingTypeRequest, ): Effect.Effect< CreateThingTypeResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; createTopicRule( input: CreateTopicRuleRequest, ): Effect.Effect< {}, - | ConflictingResourceUpdateException - | InternalException - | InvalidRequestException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | SqlParseException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalException | InvalidRequestException | ResourceAlreadyExistsException | ServiceUnavailableException | SqlParseException | UnauthorizedException | CommonAwsError >; createTopicRuleDestination( input: CreateTopicRuleDestinationRequest, ): Effect.Effect< CreateTopicRuleDestinationResponse, - | ConflictingResourceUpdateException - | InternalException - | InvalidRequestException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalException | InvalidRequestException | ResourceAlreadyExistsException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; deleteAccountAuditConfiguration( input: DeleteAccountAuditConfigurationRequest, ): Effect.Effect< DeleteAccountAuditConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAuditSuppression( input: DeleteAuditSuppressionRequest, ): Effect.Effect< DeleteAuditSuppressionResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; deleteAuthorizer( input: DeleteAuthorizerRequest, ): Effect.Effect< DeleteAuthorizerResponse, - | DeleteConflictException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + DeleteConflictException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteBillingGroup( input: DeleteBillingGroupRequest, ): Effect.Effect< DeleteBillingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | VersionConflictException | CommonAwsError >; deleteCACertificate( input: DeleteCACertificateRequest, ): Effect.Effect< DeleteCACertificateResponse, - | CertificateStateException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + CertificateStateException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteCertificate( input: DeleteCertificateRequest, ): Effect.Effect< {}, - | CertificateStateException - | DeleteConflictException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + CertificateStateException | DeleteConflictException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteCertificateProvider( input: DeleteCertificateProviderRequest, ): Effect.Effect< DeleteCertificateProviderResponse, - | DeleteConflictException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + DeleteConflictException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteCommand( input: DeleteCommandRequest, ): Effect.Effect< DeleteCommandResponse, - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteCommandExecution( input: DeleteCommandExecutionRequest, ): Effect.Effect< DeleteCommandExecutionResponse, - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteCustomMetric( input: DeleteCustomMetricRequest, ): Effect.Effect< DeleteCustomMetricResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; deleteDimension( input: DeleteDimensionRequest, ): Effect.Effect< DeleteDimensionResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; deleteDomainConfiguration( input: DeleteDomainConfigurationRequest, ): Effect.Effect< DeleteDomainConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteDynamicThingGroup( input: DeleteDynamicThingGroupRequest, ): Effect.Effect< DeleteDynamicThingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | VersionConflictException | CommonAwsError >; deleteFleetMetric( input: DeleteFleetMetricRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | VersionConflictException | CommonAwsError >; deleteJob( input: DeleteJobRequest, ): Effect.Effect< {}, - | InvalidRequestException - | InvalidStateTransitionException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | InvalidStateTransitionException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteJobExecution( input: DeleteJobExecutionRequest, ): Effect.Effect< {}, - | InvalidRequestException - | InvalidStateTransitionException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | InvalidStateTransitionException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteJobTemplate( input: DeleteJobTemplateRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteMitigationAction( input: DeleteMitigationActionRequest, ): Effect.Effect< DeleteMitigationActionResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; deleteOTAUpdate( input: DeleteOTAUpdateRequest, ): Effect.Effect< DeleteOTAUpdateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | VersionConflictException | CommonAwsError >; deletePackage( input: DeletePackageRequest, ): Effect.Effect< DeletePackageResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deletePackageVersion( input: DeletePackageVersionRequest, ): Effect.Effect< DeletePackageVersionResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deletePolicy( input: DeletePolicyRequest, ): Effect.Effect< {}, - | DeleteConflictException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + DeleteConflictException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deletePolicyVersion( input: DeletePolicyVersionRequest, ): Effect.Effect< {}, - | DeleteConflictException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + DeleteConflictException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteProvisioningTemplate( input: DeleteProvisioningTemplateRequest, ): Effect.Effect< DeleteProvisioningTemplateResponse, - | ConflictingResourceUpdateException - | DeleteConflictException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | DeleteConflictException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteProvisioningTemplateVersion( input: DeleteProvisioningTemplateVersionRequest, ): Effect.Effect< DeleteProvisioningTemplateVersionResponse, - | ConflictingResourceUpdateException - | DeleteConflictException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | DeleteConflictException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteRegistrationCode( input: DeleteRegistrationCodeRequest, ): Effect.Effect< DeleteRegistrationCodeResponse, - | InternalFailureException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteRoleAlias( input: DeleteRoleAliasRequest, ): Effect.Effect< DeleteRoleAliasResponse, - | DeleteConflictException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + DeleteConflictException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteScheduledAudit( input: DeleteScheduledAuditRequest, ): Effect.Effect< DeleteScheduledAuditResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteSecurityProfile( input: DeleteSecurityProfileRequest, ): Effect.Effect< DeleteSecurityProfileResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | VersionConflictException | CommonAwsError >; deleteStream( input: DeleteStreamRequest, ): Effect.Effect< DeleteStreamResponse, - | DeleteConflictException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError - >; - deleteThing( - input: DeleteThingRequest, - ): Effect.Effect< - DeleteThingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | VersionConflictException - | CommonAwsError + DeleteConflictException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError + >; + deleteThing( + input: DeleteThingRequest, + ): Effect.Effect< + DeleteThingResponse, + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | VersionConflictException | CommonAwsError >; deleteThingGroup( input: DeleteThingGroupRequest, ): Effect.Effect< DeleteThingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | VersionConflictException | CommonAwsError >; deleteThingType( input: DeleteThingTypeRequest, ): Effect.Effect< DeleteThingTypeResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; deleteTopicRule( input: DeleteTopicRuleRequest, ): Effect.Effect< {}, - | ConflictingResourceUpdateException - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; deleteTopicRuleDestination( input: DeleteTopicRuleDestinationRequest, ): Effect.Effect< DeleteTopicRuleDestinationResponse, - | ConflictingResourceUpdateException - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; deleteV2LoggingLevel( input: DeleteV2LoggingLevelRequest, ): Effect.Effect< {}, - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | CommonAwsError + InternalException | InvalidRequestException | ServiceUnavailableException | CommonAwsError >; deprecateThingType( input: DeprecateThingTypeRequest, ): Effect.Effect< DeprecateThingTypeResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeAccountAuditConfiguration( input: DescribeAccountAuditConfigurationRequest, @@ -1045,174 +530,97 @@ export declare class IoT extends AWSServiceClient { input: DescribeAuditFindingRequest, ): Effect.Effect< DescribeAuditFindingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAuditMitigationActionsTask( input: DescribeAuditMitigationActionsTaskRequest, ): Effect.Effect< DescribeAuditMitigationActionsTaskResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAuditSuppression( input: DescribeAuditSuppressionRequest, ): Effect.Effect< DescribeAuditSuppressionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAuditTask( input: DescribeAuditTaskRequest, ): Effect.Effect< DescribeAuditTaskResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAuthorizer( input: DescribeAuthorizerRequest, ): Effect.Effect< DescribeAuthorizerResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeBillingGroup( input: DescribeBillingGroupRequest, ): Effect.Effect< DescribeBillingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeCACertificate( input: DescribeCACertificateRequest, ): Effect.Effect< DescribeCACertificateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeCertificate( input: DescribeCertificateRequest, ): Effect.Effect< DescribeCertificateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeCertificateProvider( input: DescribeCertificateProviderRequest, ): Effect.Effect< DescribeCertificateProviderResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeCustomMetric( input: DescribeCustomMetricRequest, ): Effect.Effect< DescribeCustomMetricResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDefaultAuthorizer( input: DescribeDefaultAuthorizerRequest, ): Effect.Effect< DescribeDefaultAuthorizerResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeDetectMitigationActionsTask( input: DescribeDetectMitigationActionsTaskRequest, ): Effect.Effect< DescribeDetectMitigationActionsTaskResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDimension( input: DescribeDimensionRequest, ): Effect.Effect< DescribeDimensionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDomainConfiguration( input: DescribeDomainConfigurationRequest, ): Effect.Effect< DescribeDomainConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeEncryptionConfiguration( input: DescribeEncryptionConfigurationRequest, ): Effect.Effect< DescribeEncryptionConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeEndpoint( input: DescribeEndpointRequest, ): Effect.Effect< DescribeEndpointResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeEventConfigurations( input: DescribeEventConfigurationsRequest, @@ -1224,390 +632,211 @@ export declare class IoT extends AWSServiceClient { input: DescribeFleetMetricRequest, ): Effect.Effect< DescribeFleetMetricResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeIndex( input: DescribeIndexRequest, ): Effect.Effect< DescribeIndexResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeJob( input: DescribeJobRequest, ): Effect.Effect< DescribeJobResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeJobExecution( input: DescribeJobExecutionRequest, ): Effect.Effect< DescribeJobExecutionResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeJobTemplate( input: DescribeJobTemplateRequest, ): Effect.Effect< DescribeJobTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeManagedJobTemplate( input: DescribeManagedJobTemplateRequest, ): Effect.Effect< DescribeManagedJobTemplateResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeMitigationAction( input: DescribeMitigationActionRequest, ): Effect.Effect< DescribeMitigationActionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeProvisioningTemplate( input: DescribeProvisioningTemplateRequest, ): Effect.Effect< DescribeProvisioningTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeProvisioningTemplateVersion( input: DescribeProvisioningTemplateVersionRequest, ): Effect.Effect< DescribeProvisioningTemplateVersionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeRoleAlias( input: DescribeRoleAliasRequest, ): Effect.Effect< DescribeRoleAliasResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeScheduledAudit( input: DescribeScheduledAuditRequest, ): Effect.Effect< DescribeScheduledAuditResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeSecurityProfile( input: DescribeSecurityProfileRequest, ): Effect.Effect< DescribeSecurityProfileResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeStream( input: DescribeStreamRequest, ): Effect.Effect< DescribeStreamResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeThing( input: DescribeThingRequest, ): Effect.Effect< DescribeThingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeThingGroup( input: DescribeThingGroupRequest, ): Effect.Effect< DescribeThingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeThingRegistrationTask( input: DescribeThingRegistrationTaskRequest, ): Effect.Effect< DescribeThingRegistrationTaskResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; describeThingType( input: DescribeThingTypeRequest, ): Effect.Effect< DescribeThingTypeResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; detachPolicy( input: DetachPolicyRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; detachPrincipalPolicy( input: DetachPrincipalPolicyRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; detachSecurityProfile( input: DetachSecurityProfileRequest, ): Effect.Effect< DetachSecurityProfileResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; detachThingPrincipal( input: DetachThingPrincipalRequest, ): Effect.Effect< DetachThingPrincipalResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; disableTopicRule( input: DisableTopicRuleRequest, ): Effect.Effect< {}, - | ConflictingResourceUpdateException - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; disassociateSbomFromPackageVersion( input: DisassociateSbomFromPackageVersionRequest, ): Effect.Effect< DisassociateSbomFromPackageVersionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; enableTopicRule( input: EnableTopicRuleRequest, ): Effect.Effect< {}, - | ConflictingResourceUpdateException - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; getBehaviorModelTrainingSummaries( input: GetBehaviorModelTrainingSummariesRequest, ): Effect.Effect< GetBehaviorModelTrainingSummariesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getBucketsAggregation( input: GetBucketsAggregationRequest, ): Effect.Effect< GetBucketsAggregationResponse, - | IndexNotReadyException - | InternalFailureException - | InvalidAggregationException - | InvalidQueryException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + IndexNotReadyException | InternalFailureException | InvalidAggregationException | InvalidQueryException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getCardinality( - input: GetCardinalityRequest, - ): Effect.Effect< - GetCardinalityResponse, - | IndexNotReadyException - | InternalFailureException - | InvalidAggregationException - | InvalidQueryException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + input: GetCardinalityRequest, + ): Effect.Effect< + GetCardinalityResponse, + IndexNotReadyException | InternalFailureException | InvalidAggregationException | InvalidQueryException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getCommand( input: GetCommandRequest, ): Effect.Effect< GetCommandResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCommandExecution( input: GetCommandExecutionRequest, ): Effect.Effect< GetCommandExecutionResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEffectivePolicies( input: GetEffectivePoliciesRequest, ): Effect.Effect< GetEffectivePoliciesResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getIndexingConfiguration( input: GetIndexingConfigurationRequest, ): Effect.Effect< GetIndexingConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getJobDocument( input: GetJobDocumentRequest, ): Effect.Effect< GetJobDocumentResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getLoggingOptions( input: GetLoggingOptionsRequest, ): Effect.Effect< GetLoggingOptionsResponse, - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | CommonAwsError + InternalException | InvalidRequestException | ServiceUnavailableException | CommonAwsError >; getOTAUpdate( input: GetOTAUpdateRequest, ): Effect.Effect< GetOTAUpdateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getPackage( input: GetPackageRequest, ): Effect.Effect< GetPackageResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPackageConfiguration( input: GetPackageConfigurationRequest, @@ -1619,1440 +848,793 @@ export declare class IoT extends AWSServiceClient { input: GetPackageVersionRequest, ): Effect.Effect< GetPackageVersionResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPercentiles( input: GetPercentilesRequest, ): Effect.Effect< GetPercentilesResponse, - | IndexNotReadyException - | InternalFailureException - | InvalidAggregationException - | InvalidQueryException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + IndexNotReadyException | InternalFailureException | InvalidAggregationException | InvalidQueryException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getPolicy( input: GetPolicyRequest, ): Effect.Effect< GetPolicyResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getPolicyVersion( input: GetPolicyVersionRequest, ): Effect.Effect< GetPolicyVersionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getRegistrationCode( input: GetRegistrationCodeRequest, ): Effect.Effect< GetRegistrationCodeResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getStatistics( input: GetStatisticsRequest, ): Effect.Effect< GetStatisticsResponse, - | IndexNotReadyException - | InternalFailureException - | InvalidAggregationException - | InvalidQueryException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + IndexNotReadyException | InternalFailureException | InvalidAggregationException | InvalidQueryException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getThingConnectivityData( input: GetThingConnectivityDataRequest, ): Effect.Effect< GetThingConnectivityDataResponse, - | IndexNotReadyException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + IndexNotReadyException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; getTopicRule( input: GetTopicRuleRequest, ): Effect.Effect< GetTopicRuleResponse, - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; getTopicRuleDestination( input: GetTopicRuleDestinationRequest, ): Effect.Effect< GetTopicRuleDestinationResponse, - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; getV2LoggingOptions( input: GetV2LoggingOptionsRequest, ): Effect.Effect< GetV2LoggingOptionsResponse, - | InternalException - | NotConfiguredException - | ServiceUnavailableException - | CommonAwsError + InternalException | NotConfiguredException | ServiceUnavailableException | CommonAwsError >; listActiveViolations( input: ListActiveViolationsRequest, ): Effect.Effect< ListActiveViolationsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAttachedPolicies( input: ListAttachedPoliciesRequest, ): Effect.Effect< ListAttachedPoliciesResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listAuditFindings( input: ListAuditFindingsRequest, ): Effect.Effect< ListAuditFindingsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listAuditMitigationActionsExecutions( input: ListAuditMitigationActionsExecutionsRequest, ): Effect.Effect< ListAuditMitigationActionsExecutionsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listAuditMitigationActionsTasks( input: ListAuditMitigationActionsTasksRequest, ): Effect.Effect< ListAuditMitigationActionsTasksResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listAuditSuppressions( input: ListAuditSuppressionsRequest, ): Effect.Effect< ListAuditSuppressionsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listAuditTasks( input: ListAuditTasksRequest, ): Effect.Effect< ListAuditTasksResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listAuthorizers( input: ListAuthorizersRequest, ): Effect.Effect< ListAuthorizersResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listBillingGroups( input: ListBillingGroupsRequest, ): Effect.Effect< ListBillingGroupsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listCACertificates( input: ListCACertificatesRequest, ): Effect.Effect< ListCACertificatesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listCertificateProviders( input: ListCertificateProvidersRequest, ): Effect.Effect< ListCertificateProvidersResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listCertificates( input: ListCertificatesRequest, ): Effect.Effect< ListCertificatesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listCertificatesByCA( input: ListCertificatesByCARequest, ): Effect.Effect< ListCertificatesByCAResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listCommandExecutions( input: ListCommandExecutionsRequest, ): Effect.Effect< ListCommandExecutionsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCommands( input: ListCommandsRequest, ): Effect.Effect< ListCommandsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCustomMetrics( input: ListCustomMetricsRequest, ): Effect.Effect< ListCustomMetricsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listDetectMitigationActionsExecutions( input: ListDetectMitigationActionsExecutionsRequest, ): Effect.Effect< ListDetectMitigationActionsExecutionsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listDetectMitigationActionsTasks( input: ListDetectMitigationActionsTasksRequest, ): Effect.Effect< ListDetectMitigationActionsTasksResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listDimensions( input: ListDimensionsRequest, ): Effect.Effect< ListDimensionsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listDomainConfigurations( input: ListDomainConfigurationsRequest, ): Effect.Effect< ListDomainConfigurationsResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listFleetMetrics( input: ListFleetMetricsRequest, ): Effect.Effect< ListFleetMetricsResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listIndices( input: ListIndicesRequest, ): Effect.Effect< ListIndicesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listJobExecutionsForJob( input: ListJobExecutionsForJobRequest, ): Effect.Effect< ListJobExecutionsForJobResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listJobExecutionsForThing( input: ListJobExecutionsForThingRequest, ): Effect.Effect< ListJobExecutionsForThingResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listJobs( input: ListJobsRequest, ): Effect.Effect< ListJobsResponse, - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listJobTemplates( input: ListJobTemplatesRequest, ): Effect.Effect< ListJobTemplatesResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listManagedJobTemplates( input: ListManagedJobTemplatesRequest, ): Effect.Effect< ListManagedJobTemplatesResponse, - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listMetricValues( input: ListMetricValuesRequest, ): Effect.Effect< ListMetricValuesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listMitigationActions( input: ListMitigationActionsRequest, ): Effect.Effect< ListMitigationActionsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listOTAUpdates( input: ListOTAUpdatesRequest, ): Effect.Effect< ListOTAUpdatesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listOutgoingCertificates( input: ListOutgoingCertificatesRequest, ): Effect.Effect< ListOutgoingCertificatesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listPackages( input: ListPackagesRequest, ): Effect.Effect< ListPackagesResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPackageVersions( input: ListPackageVersionsRequest, ): Effect.Effect< ListPackageVersionsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPolicies( input: ListPoliciesRequest, ): Effect.Effect< ListPoliciesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listPolicyPrincipals( input: ListPolicyPrincipalsRequest, ): Effect.Effect< ListPolicyPrincipalsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listPolicyVersions( input: ListPolicyVersionsRequest, ): Effect.Effect< ListPolicyVersionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError - >; - listPrincipalPolicies( - input: ListPrincipalPoliciesRequest, - ): Effect.Effect< - ListPrincipalPoliciesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError + >; + listPrincipalPolicies( + input: ListPrincipalPoliciesRequest, + ): Effect.Effect< + ListPrincipalPoliciesResponse, + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listPrincipalThings( input: ListPrincipalThingsRequest, ): Effect.Effect< ListPrincipalThingsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listPrincipalThingsV2( input: ListPrincipalThingsV2Request, ): Effect.Effect< ListPrincipalThingsV2Response, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listProvisioningTemplates( input: ListProvisioningTemplatesRequest, ): Effect.Effect< ListProvisioningTemplatesResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | UnauthorizedException | CommonAwsError >; listProvisioningTemplateVersions( input: ListProvisioningTemplateVersionsRequest, ): Effect.Effect< ListProvisioningTemplateVersionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; listRelatedResourcesForAuditFinding( input: ListRelatedResourcesForAuditFindingRequest, ): Effect.Effect< ListRelatedResourcesForAuditFindingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRoleAliases( input: ListRoleAliasesRequest, ): Effect.Effect< ListRoleAliasesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listSbomValidationResults( input: ListSbomValidationResultsRequest, ): Effect.Effect< ListSbomValidationResultsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listScheduledAudits( input: ListScheduledAuditsRequest, ): Effect.Effect< ListScheduledAuditsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listSecurityProfiles( input: ListSecurityProfilesRequest, ): Effect.Effect< ListSecurityProfilesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listSecurityProfilesForTarget( input: ListSecurityProfilesForTargetRequest, ): Effect.Effect< ListSecurityProfilesForTargetResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listStreams( input: ListStreamsRequest, ): Effect.Effect< ListStreamsResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTargetsForPolicy( input: ListTargetsForPolicyRequest, ): Effect.Effect< ListTargetsForPolicyResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listTargetsForSecurityProfile( input: ListTargetsForSecurityProfileRequest, ): Effect.Effect< ListTargetsForSecurityProfileResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listThingGroups( input: ListThingGroupsRequest, ): Effect.Effect< ListThingGroupsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listThingGroupsForThing( input: ListThingGroupsForThingRequest, ): Effect.Effect< ListThingGroupsForThingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listThingPrincipals( input: ListThingPrincipalsRequest, ): Effect.Effect< ListThingPrincipalsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listThingPrincipalsV2( input: ListThingPrincipalsV2Request, ): Effect.Effect< ListThingPrincipalsV2Response, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listThingRegistrationTaskReports( input: ListThingRegistrationTaskReportsRequest, ): Effect.Effect< ListThingRegistrationTaskReportsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | UnauthorizedException | CommonAwsError >; listThingRegistrationTasks( input: ListThingRegistrationTasksRequest, ): Effect.Effect< ListThingRegistrationTasksResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | UnauthorizedException | CommonAwsError >; listThings( input: ListThingsRequest, ): Effect.Effect< ListThingsResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listThingsInBillingGroup( input: ListThingsInBillingGroupRequest, ): Effect.Effect< ListThingsInBillingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listThingsInThingGroup( input: ListThingsInThingGroupRequest, ): Effect.Effect< ListThingsInThingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listThingTypes( input: ListThingTypesRequest, ): Effect.Effect< ListThingTypesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; listTopicRuleDestinations( input: ListTopicRuleDestinationsRequest, ): Effect.Effect< ListTopicRuleDestinationsResponse, - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listTopicRules( input: ListTopicRulesRequest, ): Effect.Effect< ListTopicRulesResponse, - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listV2LoggingLevels( input: ListV2LoggingLevelsRequest, ): Effect.Effect< ListV2LoggingLevelsResponse, - | InternalException - | InvalidRequestException - | NotConfiguredException - | ServiceUnavailableException - | CommonAwsError + InternalException | InvalidRequestException | NotConfiguredException | ServiceUnavailableException | CommonAwsError >; listViolationEvents( input: ListViolationEventsRequest, ): Effect.Effect< ListViolationEventsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; putVerificationStateOnViolation( input: PutVerificationStateOnViolationRequest, ): Effect.Effect< PutVerificationStateOnViolationResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; registerCACertificate( input: RegisterCACertificateRequest, ): Effect.Effect< RegisterCACertificateResponse, - | CertificateValidationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | RegistrationCodeValidationException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + CertificateValidationException | InternalFailureException | InvalidRequestException | LimitExceededException | RegistrationCodeValidationException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; registerCertificate( input: RegisterCertificateRequest, ): Effect.Effect< RegisterCertificateResponse, - | CertificateConflictException - | CertificateStateException - | CertificateValidationException - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + CertificateConflictException | CertificateStateException | CertificateValidationException | InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; registerCertificateWithoutCA( input: RegisterCertificateWithoutCARequest, ): Effect.Effect< RegisterCertificateWithoutCAResponse, - | CertificateStateException - | CertificateValidationException - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + CertificateStateException | CertificateValidationException | InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; registerThing( input: RegisterThingRequest, ): Effect.Effect< RegisterThingResponse, - | ConflictingResourceUpdateException - | InternalFailureException - | InvalidRequestException - | ResourceRegistrationFailureException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalFailureException | InvalidRequestException | ResourceRegistrationFailureException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; rejectCertificateTransfer( input: RejectCertificateTransferRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | TransferAlreadyCompletedException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | TransferAlreadyCompletedException | UnauthorizedException | CommonAwsError >; removeThingFromBillingGroup( input: RemoveThingFromBillingGroupRequest, ): Effect.Effect< RemoveThingFromBillingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; removeThingFromThingGroup( input: RemoveThingFromThingGroupRequest, ): Effect.Effect< RemoveThingFromThingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; replaceTopicRule( input: ReplaceTopicRuleRequest, ): Effect.Effect< {}, - | ConflictingResourceUpdateException - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | SqlParseException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalException | InvalidRequestException | ServiceUnavailableException | SqlParseException | UnauthorizedException | CommonAwsError >; searchIndex( input: SearchIndexRequest, ): Effect.Effect< SearchIndexResponse, - | IndexNotReadyException - | InternalFailureException - | InvalidQueryException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + IndexNotReadyException | InternalFailureException | InvalidQueryException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; setDefaultAuthorizer( input: SetDefaultAuthorizerRequest, ): Effect.Effect< SetDefaultAuthorizerResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; setDefaultPolicyVersion( input: SetDefaultPolicyVersionRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; setLoggingOptions( input: SetLoggingOptionsRequest, ): Effect.Effect< {}, - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | CommonAwsError + InternalException | InvalidRequestException | ServiceUnavailableException | CommonAwsError >; setV2LoggingLevel( input: SetV2LoggingLevelRequest, ): Effect.Effect< {}, - | InternalException - | InvalidRequestException - | LimitExceededException - | NotConfiguredException - | ServiceUnavailableException - | CommonAwsError + InternalException | InvalidRequestException | LimitExceededException | NotConfiguredException | ServiceUnavailableException | CommonAwsError >; setV2LoggingOptions( input: SetV2LoggingOptionsRequest, ): Effect.Effect< {}, - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | CommonAwsError + InternalException | InvalidRequestException | ServiceUnavailableException | CommonAwsError >; startAuditMitigationActionsTask( input: StartAuditMitigationActionsTaskRequest, ): Effect.Effect< StartAuditMitigationActionsTaskResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | TaskAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | TaskAlreadyExistsException | ThrottlingException | CommonAwsError >; startDetectMitigationActionsTask( input: StartDetectMitigationActionsTaskRequest, ): Effect.Effect< StartDetectMitigationActionsTaskResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | TaskAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | TaskAlreadyExistsException | ThrottlingException | CommonAwsError >; startOnDemandAuditTask( input: StartOnDemandAuditTaskRequest, ): Effect.Effect< StartOnDemandAuditTaskResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ThrottlingException | CommonAwsError >; startThingRegistrationTask( input: StartThingRegistrationTaskRequest, ): Effect.Effect< StartThingRegistrationTaskResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | UnauthorizedException | CommonAwsError >; stopThingRegistrationTask( input: StopThingRegistrationTaskRequest, ): Effect.Effect< StopThingRegistrationTaskResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; testAuthorization( input: TestAuthorizationRequest, ): Effect.Effect< TestAuthorizationResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; testInvokeAuthorizer( input: TestInvokeAuthorizerRequest, ): Effect.Effect< TestInvokeAuthorizerResponse, - | InternalFailureException - | InvalidRequestException - | InvalidResponseException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | InvalidResponseException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; transferCertificate( input: TransferCertificateRequest, ): Effect.Effect< TransferCertificateResponse, - | CertificateStateException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | TransferConflictException - | UnauthorizedException - | CommonAwsError + CertificateStateException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | TransferConflictException | UnauthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAccountAuditConfiguration( input: UpdateAccountAuditConfigurationRequest, ): Effect.Effect< UpdateAccountAuditConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; updateAuditSuppression( input: UpdateAuditSuppressionRequest, ): Effect.Effect< UpdateAuditSuppressionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAuthorizer( input: UpdateAuthorizerRequest, ): Effect.Effect< UpdateAuthorizerResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateBillingGroup( input: UpdateBillingGroupRequest, ): Effect.Effect< UpdateBillingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | VersionConflictException | CommonAwsError >; updateCACertificate( input: UpdateCACertificateRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateCertificate( input: UpdateCertificateRequest, ): Effect.Effect< {}, - | CertificateStateException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + CertificateStateException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateCertificateProvider( input: UpdateCertificateProviderRequest, ): Effect.Effect< UpdateCertificateProviderResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateCommand( input: UpdateCommandRequest, ): Effect.Effect< UpdateCommandResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCustomMetric( input: UpdateCustomMetricRequest, ): Effect.Effect< UpdateCustomMetricResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDimension( input: UpdateDimensionRequest, ): Effect.Effect< UpdateDimensionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDomainConfiguration( input: UpdateDomainConfigurationRequest, ): Effect.Effect< UpdateDomainConfigurationResponse, - | CertificateValidationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + CertificateValidationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateDynamicThingGroup( input: UpdateDynamicThingGroupRequest, ): Effect.Effect< UpdateDynamicThingGroupResponse, - | InternalFailureException - | InvalidQueryException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidQueryException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | VersionConflictException | CommonAwsError >; updateEncryptionConfiguration( input: UpdateEncryptionConfigurationRequest, ): Effect.Effect< UpdateEncryptionConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateEventConfigurations( input: UpdateEventConfigurationsRequest, ): Effect.Effect< UpdateEventConfigurationsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; updateFleetMetric( input: UpdateFleetMetricRequest, ): Effect.Effect< {}, - | IndexNotReadyException - | InternalFailureException - | InvalidAggregationException - | InvalidQueryException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | VersionConflictException - | CommonAwsError + IndexNotReadyException | InternalFailureException | InvalidAggregationException | InvalidQueryException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | VersionConflictException | CommonAwsError >; updateIndexingConfiguration( input: UpdateIndexingConfigurationRequest, ): Effect.Effect< UpdateIndexingConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateJob( input: UpdateJobRequest, ): Effect.Effect< {}, - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateMitigationAction( input: UpdateMitigationActionRequest, ): Effect.Effect< UpdateMitigationActionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updatePackage( input: UpdatePackageRequest, ): Effect.Effect< UpdatePackageResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePackageConfiguration( input: UpdatePackageConfigurationRequest, ): Effect.Effect< UpdatePackageConfigurationResponse, - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updatePackageVersion( input: UpdatePackageVersionRequest, ): Effect.Effect< UpdatePackageVersionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateProvisioningTemplate( input: UpdateProvisioningTemplateRequest, ): Effect.Effect< UpdateProvisioningTemplateResponse, - | ConflictingResourceUpdateException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | UnauthorizedException | CommonAwsError >; updateRoleAlias( input: UpdateRoleAliasRequest, ): Effect.Effect< UpdateRoleAliasResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateScheduledAudit( input: UpdateScheduledAuditRequest, ): Effect.Effect< UpdateScheduledAuditResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateSecurityProfile( input: UpdateSecurityProfileRequest, ): Effect.Effect< UpdateSecurityProfileResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | VersionConflictException | CommonAwsError >; updateStream( input: UpdateStreamRequest, ): Effect.Effect< UpdateStreamResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateThing( input: UpdateThingRequest, ): Effect.Effect< UpdateThingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | VersionConflictException | CommonAwsError >; updateThingGroup( input: UpdateThingGroupRequest, ): Effect.Effect< UpdateThingGroupResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | VersionConflictException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | VersionConflictException | CommonAwsError >; updateThingGroupsForThing( input: UpdateThingGroupsForThingRequest, ): Effect.Effect< UpdateThingGroupsForThingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateThingType( input: UpdateThingTypeRequest, ): Effect.Effect< UpdateThingTypeResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateTopicRuleDestination( input: UpdateTopicRuleDestinationRequest, ): Effect.Effect< UpdateTopicRuleDestinationResponse, - | ConflictingResourceUpdateException - | InternalException - | InvalidRequestException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + ConflictingResourceUpdateException | InternalException | InvalidRequestException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; validateSecurityProfileBehaviors( input: ValidateSecurityProfileBehaviorsRequest, ): Effect.Effect< ValidateSecurityProfileBehaviorsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; } @@ -3130,7 +1712,8 @@ export interface AddThingToBillingGroupRequest { thingName?: string; thingArn?: string; } -export interface AddThingToBillingGroupResponse {} +export interface AddThingToBillingGroupResponse { +} export interface AddThingToThingGroupRequest { thingGroupName?: string; thingGroupArn?: string; @@ -3138,7 +1721,8 @@ export interface AddThingToThingGroupRequest { thingArn?: string; overrideDynamicGroups?: boolean; } -export interface AddThingToThingGroupResponse {} +export interface AddThingToThingGroupResponse { +} export type AggregationField = string; export interface AggregationType { @@ -3166,11 +1750,7 @@ export type AllowAutoRegistration = boolean; export interface Allowed { policies?: Array; } -export type ApplicationProtocol = - | "SECURE_MQTT" - | "MQTT_WSS" - | "HTTPS" - | "DEFAULT"; +export type ApplicationProtocol = "SECURE_MQTT" | "MQTT_WSS" | "HTTPS" | "DEFAULT"; export type ApproximateSecondsBeforeTimedOut = number; export type AscendingOrder = boolean; @@ -3214,11 +1794,7 @@ interface _AssetPropertyVariant { booleanValue?: string; } -export type AssetPropertyVariant = - | (_AssetPropertyVariant & { stringValue: string }) - | (_AssetPropertyVariant & { integerValue: string }) - | (_AssetPropertyVariant & { doubleValue: string }) - | (_AssetPropertyVariant & { booleanValue: string }); +export type AssetPropertyVariant = (_AssetPropertyVariant & { stringValue: string }) | (_AssetPropertyVariant & { integerValue: string }) | (_AssetPropertyVariant & { doubleValue: string }) | (_AssetPropertyVariant & { booleanValue: string }); export interface AssociateSbomWithPackageVersionRequest { packageName: string; versionName: string; @@ -3254,13 +1830,15 @@ export interface AttachSecurityProfileRequest { securityProfileName: string; securityProfileTargetArn: string; } -export interface AttachSecurityProfileResponse {} +export interface AttachSecurityProfileResponse { +} export interface AttachThingPrincipalRequest { thingName: string; principal: string; thingPrincipalType?: ThingPrincipalType; } -export interface AttachThingPrincipalResponse {} +export interface AttachThingPrincipalResponse { +} export type AttributeKey = string; export type AttributeName = string; @@ -3289,13 +1867,7 @@ export interface AuditCheckDetails { } export type AuditCheckName = string; -export type AuditCheckRunStatus = - | "IN_PROGRESS" - | "WAITING_FOR_DATA_COLLECTION" - | "CANCELED" - | "COMPLETED_COMPLIANT" - | "COMPLETED_NON_COMPLIANT" - | "FAILED"; +export type AuditCheckRunStatus = "IN_PROGRESS" | "WAITING_FOR_DATA_COLLECTION" | "CANCELED" | "COMPLETED_COMPLIANT" | "COMPLETED_NON_COMPLIANT" | "FAILED"; export type AuditCheckToActionsMapping = Record>; export type AuditCheckToReasonCodeFilter = Record>; export type AuditDescription = string; @@ -3328,31 +1900,16 @@ export interface AuditMitigationActionExecutionMetadata { errorCode?: string; message?: string; } -export type AuditMitigationActionExecutionMetadataList = - Array; -export type AuditMitigationActionsExecutionStatus = - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED" - | "CANCELED" - | "SKIPPED" - | "PENDING"; +export type AuditMitigationActionExecutionMetadataList = Array; +export type AuditMitigationActionsExecutionStatus = "IN_PROGRESS" | "COMPLETED" | "FAILED" | "CANCELED" | "SKIPPED" | "PENDING"; export interface AuditMitigationActionsTaskMetadata { taskId?: string; startTime?: Date | string; taskStatus?: AuditMitigationActionsTaskStatus; } -export type AuditMitigationActionsTaskMetadataList = - Array; -export type AuditMitigationActionsTaskStatistics = Record< - string, - TaskStatisticsForAuditCheck ->; -export type AuditMitigationActionsTaskStatus = - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED" - | "CANCELED"; +export type AuditMitigationActionsTaskMetadataList = Array; +export type AuditMitigationActionsTaskStatistics = Record; +export type AuditMitigationActionsTaskStatus = "IN_PROGRESS" | "COMPLETED" | "FAILED" | "CANCELED"; export interface AuditMitigationActionsTaskTarget { auditTaskId?: string; findingIds?: Array; @@ -3363,10 +1920,7 @@ export interface AuditNotificationTarget { roleArn?: string; enabled?: boolean; } -export type AuditNotificationTargetConfigurations = Record< - AuditNotificationType, - AuditNotificationTarget ->; +export type AuditNotificationTargetConfigurations = Record; export type AuditNotificationType = "SNS"; export interface AuditSuppression { checkName: string; @@ -3384,19 +1938,10 @@ export interface AuditTaskMetadata { taskType?: AuditTaskType; } export type AuditTaskMetadataList = Array; -export type AuditTaskStatus = - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED" - | "CANCELED"; +export type AuditTaskStatus = "IN_PROGRESS" | "COMPLETED" | "FAILED" | "CANCELED"; export type AuditTaskType = "ON_DEMAND_AUDIT_TASK" | "SCHEDULED_AUDIT_TASK"; export type AuthDecision = "ALLOWED" | "EXPLICIT_DENY" | "IMPLICIT_DENY"; -export type AuthenticationType = - | "CUSTOM_AUTH_X509" - | "CUSTOM_AUTH" - | "AWS_X509" - | "AWS_SIGV4" - | "DEFAULT"; +export type AuthenticationType = "CUSTOM_AUTH_X509" | "CUSTOM_AUTH" | "AWS_X509" | "AWS_SIGV4" | "DEFAULT"; export interface AuthInfo { actionType?: ActionType; resources: Array; @@ -3463,11 +2008,7 @@ export interface AwsJobAbortCriteria { export type AwsJobAbortCriteriaAbortAction = "CANCEL"; export type AwsJobAbortCriteriaAbortThresholdPercentage = number; -export type AwsJobAbortCriteriaFailureType = - | "FAILED" - | "REJECTED" - | "TIMED_OUT" - | "ALL"; +export type AwsJobAbortCriteriaFailureType = "FAILED" | "REJECTED" | "TIMED_OUT" | "ALL"; export type AwsJobAbortCriteriaList = Array; export type AwsJobAbortCriteriaMinimumNumberOfExecutedThings = number; @@ -3519,14 +2060,10 @@ export interface BehaviorCriteria { statisticalThreshold?: StatisticalThreshold; mlDetectionConfig?: MachineLearningDetectionConfig; } -export type BehaviorCriteriaType = - | "STATIC" - | "STATISTICAL" - | "MACHINE_LEARNING"; +export type BehaviorCriteriaType = "STATIC" | "STATISTICAL" | "MACHINE_LEARNING"; export type BehaviorMetric = string; -export type BehaviorModelTrainingSummaries = - Array; +export type BehaviorModelTrainingSummaries = Array; export interface BehaviorModelTrainingSummary { securityProfileName?: string; behaviorName?: string; @@ -3607,18 +2144,21 @@ export type CACertificateUpdateAction = "DEACTIVATE"; export interface CancelAuditMitigationActionsTaskRequest { taskId: string; } -export interface CancelAuditMitigationActionsTaskResponse {} +export interface CancelAuditMitigationActionsTaskResponse { +} export interface CancelAuditTaskRequest { taskId: string; } -export interface CancelAuditTaskResponse {} +export interface CancelAuditTaskResponse { +} export interface CancelCertificateTransferRequest { certificateId: string; } export interface CancelDetectMitigationActionsTaskRequest { taskId: string; } -export interface CancelDetectMitigationActionsTaskResponse {} +export interface CancelDetectMitigationActionsTaskResponse { +} export type CanceledChecksCount = number; export type CanceledFindingsCount = number; @@ -3643,15 +2183,7 @@ export interface CancelJobResponse { jobId?: string; description?: string; } -export type CannedAccessControlList = - | "private" - | "public-read" - | "public-read-write" - | "aws-exec-read" - | "authenticated-read" - | "bucket-owner-read" - | "bucket-owner-full-control" - | "log-delivery-write"; +export type CannedAccessControlList = "private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control" | "log-delivery-write"; export interface Certificate { certificateArn?: string; certificateId?: string; @@ -3691,8 +2223,7 @@ export type CertificatePathOnDevice = string; export type CertificatePem = string; -export type CertificateProviderAccountDefaultForOperations = - Array; +export type CertificateProviderAccountDefaultForOperations = Array; export type CertificateProviderArn = string; export type CertificateProviderFunctionArn = string; @@ -3713,13 +2244,7 @@ export declare class CertificateStateException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type CertificateStatus = - | "ACTIVE" - | "INACTIVE" - | "REVOKED" - | "PENDING_TRANSFER" - | "REGISTER_INACTIVE" - | "PENDING_ACTIVATION"; +export type CertificateStatus = "ACTIVE" | "INACTIVE" | "REVOKED" | "PENDING_TRANSFER" | "REGISTER_INACTIVE" | "PENDING_ACTIVATION"; export declare class CertificateValidationException extends EffectData.TaggedError( "CertificateValidationException", )<{ @@ -3737,8 +2262,10 @@ export type CheckCustomConfiguration = Record; export type Cidr = string; export type Cidrs = Array; -export interface ClearDefaultAuthorizerRequest {} -export interface ClearDefaultAuthorizerResponse {} +export interface ClearDefaultAuthorizerRequest { +} +export interface ClearDefaultAuthorizerResponse { +} export type ClientCertificateCallbackArn = string; export interface ClientCertificateConfig { @@ -3792,10 +2319,7 @@ export type CommandDescription = string; export type CommandExecutionId = string; -export type CommandExecutionParameterMap = Record< - string, - CommandParameterValue ->; +export type CommandExecutionParameterMap = Record; export interface CommandExecutionResult { S?: string; B?: boolean; @@ -3804,13 +2328,7 @@ export interface CommandExecutionResult { export type CommandExecutionResultMap = Record; export type CommandExecutionResultName = string; -export type CommandExecutionStatus = - | "CREATED" - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED" - | "REJECTED" - | "TIMED_OUT"; +export type CommandExecutionStatus = "CREATED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "REJECTED" | "TIMED_OUT"; export interface CommandExecutionSummary { commandArn?: string; executionId?: string; @@ -3866,23 +2384,11 @@ export interface CommandSummary { export type CommandSummaryList = Array; export type Comment = string; -export type ComparisonOperator = - | "less-than" - | "less-than-equals" - | "greater-than" - | "greater-than-equals" - | "in-cidr-set" - | "not-in-cidr-set" - | "in-port-set" - | "not-in-port-set" - | "in-set" - | "not-in-set"; +export type ComparisonOperator = "less-than" | "less-than-equals" | "greater-than" | "greater-than-equals" | "in-cidr-set" | "not-in-cidr-set" | "in-port-set" | "not-in-port-set" | "in-set" | "not-in-set"; export type CompliantChecksCount = number; export type ConfidenceLevel = "LOW" | "MEDIUM" | "HIGH"; -export type ConfigName = - | "CERT_AGE_THRESHOLD_IN_DAYS" - | "CERT_EXPIRATION_THRESHOLD_IN_DAYS"; +export type ConfigName = "CERT_AGE_THRESHOLD_IN_DAYS" | "CERT_EXPIRATION_THRESHOLD_IN_DAYS"; export interface Configuration { Enabled?: boolean; } @@ -3899,7 +2405,8 @@ export type ConfirmationToken = string; export interface ConfirmTopicRuleDestinationRequest { confirmationToken: string; } -export interface ConfirmTopicRuleDestinationResponse {} +export interface ConfirmTopicRuleDestinationResponse { +} export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -3935,7 +2442,8 @@ export interface CreateAuditSuppressionRequest { description?: string; clientRequestToken: string; } -export interface CreateAuditSuppressionResponse {} +export interface CreateAuditSuppressionResponse { +} export interface CreateAuthorizerRequest { authorizerName: string; authorizerFunctionArn: string; @@ -4348,11 +2856,7 @@ export type CustomMetricArn = string; export type CustomMetricDisplayName = string; -export type CustomMetricType = - | "string-list" - | "ip-address-list" - | "number-list" - | "number"; +export type CustomMetricType = "string-list" | "ip-address-list" | "number-list" | "number"; export type DataCollectionPercentage = number; export type DateType = Date | string; @@ -4363,7 +2867,8 @@ export type DayOfWeek = "SUN" | "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT"; export interface DeleteAccountAuditConfigurationRequest { deleteScheduledAudits?: boolean; } -export interface DeleteAccountAuditConfigurationResponse {} +export interface DeleteAccountAuditConfigurationResponse { +} export type DeleteAdditionalMetricsToRetain = boolean; export type DeleteAlertTargets = boolean; @@ -4372,26 +2877,31 @@ export interface DeleteAuditSuppressionRequest { checkName: string; resourceIdentifier: ResourceIdentifier; } -export interface DeleteAuditSuppressionResponse {} +export interface DeleteAuditSuppressionResponse { +} export interface DeleteAuthorizerRequest { authorizerName: string; } -export interface DeleteAuthorizerResponse {} +export interface DeleteAuthorizerResponse { +} export type DeleteBehaviors = boolean; export interface DeleteBillingGroupRequest { billingGroupName: string; expectedVersion?: number; } -export interface DeleteBillingGroupResponse {} +export interface DeleteBillingGroupResponse { +} export interface DeleteCACertificateRequest { certificateId: string; } -export interface DeleteCACertificateResponse {} +export interface DeleteCACertificateResponse { +} export interface DeleteCertificateProviderRequest { certificateProviderName: string; } -export interface DeleteCertificateProviderResponse {} +export interface DeleteCertificateProviderResponse { +} export interface DeleteCertificateRequest { certificateId: string; forceDelete?: boolean; @@ -4400,7 +2910,8 @@ export interface DeleteCommandExecutionRequest { executionId: string; targetArn: string; } -export interface DeleteCommandExecutionResponse {} +export interface DeleteCommandExecutionResponse { +} export interface DeleteCommandRequest { commandId: string; } @@ -4415,20 +2926,24 @@ export declare class DeleteConflictException extends EffectData.TaggedError( export interface DeleteCustomMetricRequest { metricName: string; } -export interface DeleteCustomMetricResponse {} +export interface DeleteCustomMetricResponse { +} export interface DeleteDimensionRequest { name: string; } -export interface DeleteDimensionResponse {} +export interface DeleteDimensionResponse { +} export interface DeleteDomainConfigurationRequest { domainConfigurationName: string; } -export interface DeleteDomainConfigurationResponse {} +export interface DeleteDomainConfigurationResponse { +} export interface DeleteDynamicThingGroupRequest { thingGroupName: string; expectedVersion?: number; } -export interface DeleteDynamicThingGroupResponse {} +export interface DeleteDynamicThingGroupResponse { +} export interface DeleteFleetMetricRequest { metricName: string; expectedVersion?: number; @@ -4453,24 +2968,28 @@ export type DeleteMetricsExportConfig = boolean; export interface DeleteMitigationActionRequest { actionName: string; } -export interface DeleteMitigationActionResponse {} +export interface DeleteMitigationActionResponse { +} export interface DeleteOTAUpdateRequest { otaUpdateId: string; deleteStream?: boolean; forceDeleteAWSJob?: boolean; } -export interface DeleteOTAUpdateResponse {} +export interface DeleteOTAUpdateResponse { +} export interface DeletePackageRequest { packageName: string; clientToken?: string; } -export interface DeletePackageResponse {} +export interface DeletePackageResponse { +} export interface DeletePackageVersionRequest { packageName: string; versionName: string; clientToken?: string; } -export interface DeletePackageVersionResponse {} +export interface DeletePackageVersionResponse { +} export interface DeletePolicyRequest { policyName: string; } @@ -4481,53 +3000,65 @@ export interface DeletePolicyVersionRequest { export interface DeleteProvisioningTemplateRequest { templateName: string; } -export interface DeleteProvisioningTemplateResponse {} +export interface DeleteProvisioningTemplateResponse { +} export interface DeleteProvisioningTemplateVersionRequest { templateName: string; versionId: number; } -export interface DeleteProvisioningTemplateVersionResponse {} -export interface DeleteRegistrationCodeRequest {} -export interface DeleteRegistrationCodeResponse {} +export interface DeleteProvisioningTemplateVersionResponse { +} +export interface DeleteRegistrationCodeRequest { +} +export interface DeleteRegistrationCodeResponse { +} export interface DeleteRoleAliasRequest { roleAlias: string; } -export interface DeleteRoleAliasResponse {} +export interface DeleteRoleAliasResponse { +} export interface DeleteScheduledAuditRequest { scheduledAuditName: string; } -export interface DeleteScheduledAuditResponse {} +export interface DeleteScheduledAuditResponse { +} export type DeleteScheduledAudits = boolean; export interface DeleteSecurityProfileRequest { securityProfileName: string; expectedVersion?: number; } -export interface DeleteSecurityProfileResponse {} +export interface DeleteSecurityProfileResponse { +} export type DeleteStream_ = boolean; export interface DeleteStreamRequest { streamId: string; } -export interface DeleteStreamResponse {} +export interface DeleteStreamResponse { +} export interface DeleteThingGroupRequest { thingGroupName: string; expectedVersion?: number; } -export interface DeleteThingGroupResponse {} +export interface DeleteThingGroupResponse { +} export interface DeleteThingRequest { thingName: string; expectedVersion?: number; } -export interface DeleteThingResponse {} +export interface DeleteThingResponse { +} export interface DeleteThingTypeRequest { thingTypeName: string; } -export interface DeleteThingTypeResponse {} +export interface DeleteThingTypeResponse { +} export interface DeleteTopicRuleDestinationRequest { arn: string; } -export interface DeleteTopicRuleDestinationResponse {} +export interface DeleteTopicRuleDestinationResponse { +} export interface DeleteTopicRuleRequest { ruleName: string; } @@ -4545,17 +3076,17 @@ export interface DeprecateThingTypeRequest { thingTypeName: string; undoDeprecate?: boolean; } -export interface DeprecateThingTypeResponse {} +export interface DeprecateThingTypeResponse { +} export type DeprecationDate = Date | string; export type DeprecationFlag = boolean; -export interface DescribeAccountAuditConfigurationRequest {} +export interface DescribeAccountAuditConfigurationRequest { +} export interface DescribeAccountAuditConfigurationResponse { roleArn?: string; - auditNotificationTargetConfigurations?: { - [key in AuditNotificationType]?: string; - }; + auditNotificationTargetConfigurations?: { [key in AuditNotificationType]?: string }; auditCheckConfigurations?: Record; } export interface DescribeAuditFindingRequest { @@ -4650,7 +3181,8 @@ export interface DescribeCustomMetricResponse { creationDate?: Date | string; lastModifiedDate?: Date | string; } -export interface DescribeDefaultAuthorizerRequest {} +export interface DescribeDefaultAuthorizerRequest { +} export interface DescribeDefaultAuthorizerResponse { authorizerDescription?: AuthorizerDescription; } @@ -4690,7 +3222,8 @@ export interface DescribeDomainConfigurationResponse { applicationProtocol?: ApplicationProtocol; clientCertificateConfig?: ClientCertificateConfig; } -export interface DescribeEncryptionConfigurationRequest {} +export interface DescribeEncryptionConfigurationRequest { +} export interface DescribeEncryptionConfigurationResponse { encryptionType?: EncryptionType; kmsKeyArn?: string; @@ -4704,7 +3237,8 @@ export interface DescribeEndpointRequest { export interface DescribeEndpointResponse { endpointAddress?: string; } -export interface DescribeEventConfigurationsRequest {} +export interface DescribeEventConfigurationsRequest { +} export interface DescribeEventConfigurationsResponse { eventConfigurations?: { [key in EventType]?: string }; creationDate?: Date | string; @@ -4934,12 +3468,14 @@ export interface DetachSecurityProfileRequest { securityProfileName: string; securityProfileTargetArn: string; } -export interface DetachSecurityProfileResponse {} +export interface DetachSecurityProfileResponse { +} export interface DetachThingPrincipalRequest { thingName: string; principal: string; } -export interface DetachThingPrincipalResponse {} +export interface DetachThingPrincipalResponse { +} export type DetailsKey = string; export type DetailsMap = Record; @@ -4958,23 +3494,14 @@ export interface DetectMitigationActionExecution { } export type DetectMitigationActionExecutionErrorCode = string; -export type DetectMitigationActionExecutionList = - Array; -export type DetectMitigationActionExecutionStatus = - | "IN_PROGRESS" - | "SUCCESSFUL" - | "FAILED" - | "SKIPPED"; +export type DetectMitigationActionExecutionList = Array; +export type DetectMitigationActionExecutionStatus = "IN_PROGRESS" | "SUCCESSFUL" | "FAILED" | "SKIPPED"; export interface DetectMitigationActionsTaskStatistics { actionsExecuted?: number; actionsSkipped?: number; actionsFailed?: number; } -export type DetectMitigationActionsTaskStatus = - | "IN_PROGRESS" - | "SUCCESSFUL" - | "FAILED" - | "CANCELED"; +export type DetectMitigationActionsTaskStatus = "IN_PROGRESS" | "SUCCESSFUL" | "FAILED" | "CANCELED"; export interface DetectMitigationActionsTaskSummary { taskId?: string; taskStatus?: DetectMitigationActionsTaskStatus; @@ -4987,8 +3514,7 @@ export interface DetectMitigationActionsTaskSummary { actionsDefinition?: Array; taskStatistics?: DetectMitigationActionsTaskStatistics; } -export type DetectMitigationActionsTaskSummaryList = - Array; +export type DetectMitigationActionsTaskSummaryList = Array; export interface DetectMitigationActionsTaskTarget { violationIds?: Array; securityProfileName?: string; @@ -5019,24 +3545,11 @@ export interface DisassociateSbomFromPackageVersionRequest { versionName: string; clientToken?: string; } -export interface DisassociateSbomFromPackageVersionResponse {} +export interface DisassociateSbomFromPackageVersionResponse { +} export type DisconnectReason = string; -export type DisconnectReasonValue = - | "AUTH_ERROR" - | "CLIENT_INITIATED_DISCONNECT" - | "CLIENT_ERROR" - | "CONNECTION_LOST" - | "DUPLICATE_CLIENTID" - | "FORBIDDEN_ACCESS" - | "MQTT_KEEP_ALIVE_TIMEOUT" - | "SERVER_ERROR" - | "SERVER_INITIATED_DISCONNECT" - | "THROTTLED" - | "WEBSOCKET_TTL_EXPIRATION" - | "CUSTOMAUTH_TTL_EXPIRATION" - | "UNKNOWN" - | "NONE"; +export type DisconnectReasonValue = "AUTH_ERROR" | "CLIENT_INITIATED_DISCONNECT" | "CLIENT_ERROR" | "CONNECTION_LOST" | "DUPLICATE_CLIENTID" | "FORBIDDEN_ACCESS" | "MQTT_KEEP_ALIVE_TIMEOUT" | "SERVER_ERROR" | "SERVER_INITIATED_DISCONNECT" | "THROTTLED" | "WEBSOCKET_TTL_EXPIRATION" | "CUSTOMAUTH_TTL_EXPIRATION" | "UNKNOWN" | "NONE"; export type DisplayName = string; export interface DocumentParameter { @@ -5146,18 +3659,7 @@ export type ErrorMessage2 = string; export type EvaluationStatistic = string; export type EventConfigurations = Record; -export type EventType = - | "THING" - | "THING_GROUP" - | "THING_TYPE" - | "THING_GROUP_MEMBERSHIP" - | "THING_GROUP_HIERARCHY" - | "THING_TYPE_ASSOCIATION" - | "JOB" - | "JOB_EXECUTION" - | "POLICY" - | "CERTIFICATE" - | "CA_CERTIFICATE"; +export type EventType = "THING" | "THING_GROUP" | "THING_TYPE" | "THING_GROUP_MEMBERSHIP" | "THING_GROUP_HIERARCHY" | "THING_TYPE_ASSOCIATION" | "JOB" | "JOB_EXECUTION" | "POLICY" | "CERTIFICATE" | "CA_CERTIFICATE"; export type Example = string; export type ExecutionNamePrefix = string; @@ -5230,34 +3732,7 @@ export interface FleetMetricNameAndArn { export type FleetMetricNameAndArnList = Array; export type FleetMetricPeriod = number; -export type FleetMetricUnit = - | "Seconds" - | "Microseconds" - | "Milliseconds" - | "Bytes" - | "Kilobytes" - | "Megabytes" - | "Gigabytes" - | "Terabytes" - | "Bits" - | "Kilobits" - | "Megabits" - | "Gigabits" - | "Terabits" - | "Percent" - | "Count" - | "Bytes/Second" - | "Kilobytes/Second" - | "Megabytes/Second" - | "Gigabytes/Second" - | "Terabytes/Second" - | "Bits/Second" - | "Kilobits/Second" - | "Megabits/Second" - | "Gigabits/Second" - | "Terabits/Second" - | "Count/Second" - | "None"; +export type FleetMetricUnit = "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None"; export type Forced = boolean; export type ForceDelete = boolean; @@ -5351,7 +3826,8 @@ export interface GetEffectivePoliciesRequest { export interface GetEffectivePoliciesResponse { effectivePolicies?: Array; } -export interface GetIndexingConfigurationRequest {} +export interface GetIndexingConfigurationRequest { +} export interface GetIndexingConfigurationResponse { thingIndexingConfiguration?: ThingIndexingConfiguration; thingGroupIndexingConfiguration?: ThingGroupIndexingConfiguration; @@ -5363,7 +3839,8 @@ export interface GetJobDocumentRequest { export interface GetJobDocumentResponse { document?: string; } -export interface GetLoggingOptionsRequest {} +export interface GetLoggingOptionsRequest { +} export interface GetLoggingOptionsResponse { roleArn?: string; logLevel?: LogLevel; @@ -5374,7 +3851,8 @@ export interface GetOTAUpdateRequest { export interface GetOTAUpdateResponse { otaUpdateInfo?: OTAUpdateInfo; } -export interface GetPackageConfigurationRequest {} +export interface GetPackageConfigurationRequest { +} export interface GetPackageConfigurationResponse { versionUpdateByJobsConfig?: VersionUpdateByJobsConfig; } @@ -5444,7 +3922,8 @@ export interface GetPolicyVersionResponse { lastModifiedDate?: Date | string; generationId?: string; } -export interface GetRegistrationCodeRequest {} +export interface GetRegistrationCodeRequest { +} export interface GetRegistrationCodeResponse { registrationCode?: string; } @@ -5479,7 +3958,8 @@ export interface GetTopicRuleResponse { ruleArn?: string; rule?: TopicRule; } -export interface GetV2LoggingOptionsRequest {} +export interface GetV2LoggingOptionsRequest { +} export interface GetV2LoggingOptionsResponse { roleArn?: string; defaultLogLevel?: LogLevel; @@ -5689,11 +4169,7 @@ export interface JobExecution { versionNumber?: number; approximateSecondsBeforeTimedOut?: number; } -export type JobExecutionFailureType = - | "FAILED" - | "REJECTED" - | "TIMED_OUT" - | "ALL"; +export type JobExecutionFailureType = "FAILED" | "REJECTED" | "TIMED_OUT" | "ALL"; export interface JobExecutionsRetryConfig { criteriaList: Array; } @@ -5701,15 +4177,7 @@ export interface JobExecutionsRolloutConfig { maximumPerMinute?: number; exponentialRate?: ExponentialRolloutRate; } -export type JobExecutionStatus = - | "QUEUED" - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED" - | "TIMED_OUT" - | "REJECTED" - | "REMOVED" - | "CANCELED"; +export type JobExecutionStatus = "QUEUED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "REJECTED" | "REMOVED" | "CANCELED"; export interface JobExecutionStatusDetails { detailsMap?: Record; } @@ -5730,8 +4198,7 @@ export interface JobExecutionSummaryForThing { jobId?: string; jobExecutionSummary?: JobExecutionSummary; } -export type JobExecutionSummaryForThingList = - Array; +export type JobExecutionSummaryForThingList = Array; export type JobId = string; export interface JobProcessDetails { @@ -5745,12 +4212,7 @@ export interface JobProcessDetails { numberOfRemovedThings?: number; numberOfTimedOutThings?: number; } -export type JobStatus = - | "IN_PROGRESS" - | "CANCELED" - | "COMPLETED" - | "DELETION_IN_PROGRESS" - | "SCHEDULED"; +export type JobStatus = "IN_PROGRESS" | "CANCELED" | "COMPLETED" | "DELETION_IN_PROGRESS" | "SCHEDULED"; export interface JobSummary { jobArn?: string; jobId?: string; @@ -6506,12 +4968,7 @@ export interface LogTargetConfiguration { export type LogTargetConfigurations = Array; export type LogTargetName = string; -export type LogTargetType = - | "DEFAULT" - | "THING_GROUP" - | "CLIENT_ID" - | "SOURCE_IP" - | "PRINCIPAL_ID"; +export type LogTargetType = "DEFAULT" | "THING_GROUP" | "CLIENT_ID" | "SOURCE_IP" | "PRINCIPAL_ID"; export type LongParameterValue = number; export interface MachineLearningDetectionConfig { @@ -6626,13 +5083,7 @@ export interface MitigationActionParams { } export type MitigationActionsTaskId = string; -export type MitigationActionType = - | "UPDATE_DEVICE_CERTIFICATE" - | "UPDATE_CA_CERTIFICATE" - | "ADD_THINGS_TO_THING_GROUP" - | "REPLACE_DEFAULT_POLICY_VERSION" - | "ENABLE_IOT_LOGGING" - | "PUBLISH_FINDING_TO_SNS"; +export type MitigationActionType = "UPDATE_DEVICE_CERTIFICATE" | "UPDATE_CA_CERTIFICATE" | "ADD_THINGS_TO_THING_GROUP" | "REPLACE_DEFAULT_POLICY_VERSION" | "ENABLE_IOT_LOGGING" | "PUBLISH_FINDING_TO_SNS"; export type ModelStatus = "PENDING_BUILD" | "ACTIVE" | "EXPIRED"; export interface Mqtt5Configuration { propagatingAttributes?: Array; @@ -6738,13 +5189,7 @@ export interface OTAUpdateInfo { additionalParameters?: Record; } export type OTAUpdatesSummary = Array; -export type OTAUpdateStatus = - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_COMPLETE" - | "CREATE_FAILED" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED"; +export type OTAUpdateStatus = "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED"; export interface OTAUpdateSummary { otaUpdateId?: string; otaUpdateArn?: string; @@ -6904,8 +5349,7 @@ export interface ProvisioningTemplateSummary { enabled?: boolean; type?: TemplateType; } -export type ProvisioningTemplateVersionListing = - Array; +export type ProvisioningTemplateVersionListing = Array; export interface ProvisioningTemplateVersionSummary { versionId?: number; creationDate?: Date | string; @@ -6933,7 +5377,8 @@ export interface PutVerificationStateOnViolationRequest { verificationState: VerificationState; verificationStateDescription?: string; } -export interface PutVerificationStateOnViolationResponse {} +export interface PutVerificationStateOnViolationResponse { +} export type Qos = number; export type QueryMaxResults = number; @@ -7050,14 +5495,16 @@ export interface RemoveThingFromBillingGroupRequest { thingName?: string; thingArn?: string; } -export interface RemoveThingFromBillingGroupResponse {} +export interface RemoveThingFromBillingGroupResponse { +} export interface RemoveThingFromThingGroupRequest { thingGroupName?: string; thingGroupArn?: string; thingName?: string; thingArn?: string; } -export interface RemoveThingFromThingGroupResponse {} +export interface RemoveThingFromThingGroupResponse { +} export type RemoveThingType = boolean; export interface ReplaceDefaultPolicyVersionParams { @@ -7122,16 +5569,7 @@ export declare class ResourceRegistrationFailureException extends EffectData.Tag readonly message?: string; }> {} export type Resources = Array; -export type ResourceType = - | "DEVICE_CERTIFICATE" - | "CA_CERTIFICATE" - | "IOT_POLICY" - | "COGNITO_IDENTITY_POOL" - | "CLIENT_ID" - | "ACCOUNT_SETTINGS" - | "ROLE_ALIAS" - | "IAM_ROLE" - | "ISSUER_CERTIFICATE"; +export type ResourceType = "DEVICE_CERTIFICATE" | "CA_CERTIFICATE" | "IOT_POLICY" | "COGNITO_IDENTITY_POOL" | "CLIENT_ID" | "ACCOUNT_SETTINGS" | "ROLE_ALIAS" | "IAM_ROLE" | "ISSUER_CERTIFICATE"; export type ResponseTopic = string; export type RetryableFailureType = "FAILED" | "TIMED_OUT" | "ALL"; @@ -7199,9 +5637,7 @@ export type SalesforceToken = string; export interface Sbom { s3Location?: S3Location; } -export type SbomValidationErrorCode = - | "INCOMPATIBLE_FORMAT" - | "FILE_SIZE_LIMIT_EXCEEDED"; +export type SbomValidationErrorCode = "INCOMPATIBLE_FORMAT" | "FILE_SIZE_LIMIT_EXCEEDED"; export type SbomValidationErrorMessage = string; export type SbomValidationResult = "FAILED" | "SUCCEEDED"; @@ -7211,8 +5647,7 @@ export interface SbomValidationResultSummary { errorCode?: SbomValidationErrorCode; errorMessage?: string; } -export type SbomValidationResultSummaryList = - Array; +export type SbomValidationResultSummaryList = Array; export type SbomValidationStatus = "IN_PROGRESS" | "FAILED" | "SUCCEEDED"; export type ScheduledAuditArn = string; @@ -7445,12 +5880,7 @@ export interface Statistics { variance?: number; stdDeviation?: number; } -export type Status = - | "InProgress" - | "Completed" - | "Failed" - | "Cancelled" - | "Cancelling"; +export type Status = "InProgress" | "Completed" | "Failed" | "Cancelled" | "Cancelling"; export type StatusCode = number; export interface StatusReason { @@ -7471,7 +5901,8 @@ export interface StepFunctionsAction { export interface StopThingRegistrationTaskRequest { taskId: string; } -export interface StopThingRegistrationTaskResponse {} +export interface StopThingRegistrationTaskResponse { +} export interface Stream { streamId?: string; fileId?: number; @@ -7552,7 +5983,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Target = string; @@ -7825,12 +6257,7 @@ export interface TopicRuleDestinationConfiguration { } export type TopicRuleDestinationMaxResults = number; -export type TopicRuleDestinationStatus = - | "ENABLED" - | "IN_PROGRESS" - | "DISABLED" - | "ERROR" - | "DELETING"; +export type TopicRuleDestinationStatus = "ENABLED" | "IN_PROGRESS" | "DISABLED" | "ERROR" | "DELETING"; export type TopicRuleDestinationSummaries = Array; export interface TopicRuleDestinationSummary { arn?: string; @@ -7907,15 +6334,15 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAccountAuditConfigurationRequest { roleArn?: string; - auditNotificationTargetConfigurations?: { - [key in AuditNotificationType]?: string; - }; + auditNotificationTargetConfigurations?: { [key in AuditNotificationType]?: string }; auditCheckConfigurations?: Record; } -export interface UpdateAccountAuditConfigurationResponse {} +export interface UpdateAccountAuditConfigurationResponse { +} export interface UpdateAuditSuppressionRequest { checkName: string; resourceIdentifier: ResourceIdentifier; @@ -7923,7 +6350,8 @@ export interface UpdateAuditSuppressionRequest { suppressIndefinitely?: boolean; description?: string; } -export interface UpdateAuditSuppressionResponse {} +export interface UpdateAuditSuppressionResponse { +} export interface UpdateAuthorizerRequest { authorizerName: string; authorizerFunctionArn?: string; @@ -8038,11 +6466,13 @@ export interface UpdateEncryptionConfigurationRequest { kmsKeyArn?: string; kmsAccessRoleArn?: string; } -export interface UpdateEncryptionConfigurationResponse {} +export interface UpdateEncryptionConfigurationResponse { +} export interface UpdateEventConfigurationsRequest { eventConfigurations?: { [key in EventType]?: string }; } -export interface UpdateEventConfigurationsResponse {} +export interface UpdateEventConfigurationsResponse { +} export interface UpdateFleetMetricRequest { metricName: string; queryString?: string; @@ -8059,7 +6489,8 @@ export interface UpdateIndexingConfigurationRequest { thingIndexingConfiguration?: ThingIndexingConfiguration; thingGroupIndexingConfiguration?: ThingGroupIndexingConfiguration; } -export interface UpdateIndexingConfigurationResponse {} +export interface UpdateIndexingConfigurationResponse { +} export interface UpdateJobRequest { jobId: string; description?: string; @@ -8083,7 +6514,8 @@ export interface UpdatePackageConfigurationRequest { versionUpdateByJobsConfig?: VersionUpdateByJobsConfig; clientToken?: string; } -export interface UpdatePackageConfigurationResponse {} +export interface UpdatePackageConfigurationResponse { +} export interface UpdatePackageRequest { packageName: string; description?: string; @@ -8091,7 +6523,8 @@ export interface UpdatePackageRequest { unsetDefaultVersion?: boolean; clientToken?: string; } -export interface UpdatePackageResponse {} +export interface UpdatePackageResponse { +} export interface UpdatePackageVersionRequest { packageName: string; versionName: string; @@ -8102,7 +6535,8 @@ export interface UpdatePackageVersionRequest { recipe?: string; clientToken?: string; } -export interface UpdatePackageVersionResponse {} +export interface UpdatePackageVersionResponse { +} export interface UpdateProvisioningTemplateRequest { templateName: string; description?: string; @@ -8112,7 +6546,8 @@ export interface UpdateProvisioningTemplateRequest { preProvisioningHook?: ProvisioningHook; removePreProvisioningHook?: boolean; } -export interface UpdateProvisioningTemplateResponse {} +export interface UpdateProvisioningTemplateResponse { +} export interface UpdateRoleAliasRequest { roleAlias: string; roleArn?: string; @@ -8185,7 +6620,8 @@ export interface UpdateThingGroupsForThingRequest { thingGroupsToRemove?: Array; overrideDynamicGroups?: boolean; } -export interface UpdateThingGroupsForThingResponse {} +export interface UpdateThingGroupsForThingResponse { +} export interface UpdateThingRequest { thingName: string; thingTypeName?: string; @@ -8193,17 +6629,20 @@ export interface UpdateThingRequest { expectedVersion?: number; removeThingType?: boolean; } -export interface UpdateThingResponse {} +export interface UpdateThingResponse { +} export interface UpdateThingTypeRequest { thingTypeName: string; thingTypeProperties?: ThingTypeProperties; } -export interface UpdateThingTypeResponse {} +export interface UpdateThingTypeResponse { +} export interface UpdateTopicRuleDestinationRequest { arn: string; status: TopicRuleDestinationStatus; } -export interface UpdateTopicRuleDestinationResponse {} +export interface UpdateTopicRuleDestinationResponse { +} export type Url = string; export type UseBase64 = boolean; @@ -8243,11 +6682,7 @@ export type Value = string; export type Variance = number; -export type VerificationState = - | "FALSE_POSITIVE" - | "BENIGN_POSITIVE" - | "TRUE_POSITIVE" - | "UNKNOWN"; +export type VerificationState = "FALSE_POSITIVE" | "BENIGN_POSITIVE" | "TRUE_POSITIVE" | "UNKNOWN"; export type VerificationStateDescription = string; export type Version = number; @@ -8290,10 +6725,7 @@ export interface ViolationEventOccurrenceRange { endTime: Date | string; } export type ViolationEvents = Array; -export type ViolationEventType = - | "in-alarm" - | "alarm-cleared" - | "alarm-invalidated"; +export type ViolationEventType = "in-alarm" | "alarm-cleared" | "alarm-invalidated"; export type ViolationId = string; export interface VpcDestinationConfiguration { @@ -11613,38 +10045,5 @@ export declare namespace ValidateSecurityProfileBehaviors { | CommonAwsError; } -export type IoTErrors = - | CertificateConflictException - | CertificateStateException - | CertificateValidationException - | ConflictException - | ConflictingResourceUpdateException - | DeleteConflictException - | IndexNotReadyException - | InternalException - | InternalFailureException - | InternalServerException - | InvalidAggregationException - | InvalidQueryException - | InvalidRequestException - | InvalidResponseException - | InvalidStateTransitionException - | LimitExceededException - | MalformedPolicyException - | NotConfiguredException - | RegistrationCodeValidationException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ResourceRegistrationFailureException - | ServiceQuotaExceededException - | ServiceUnavailableException - | SqlParseException - | TaskAlreadyExistsException - | ThrottlingException - | TransferAlreadyCompletedException - | TransferConflictException - | UnauthorizedException - | ValidationException - | VersionConflictException - | VersionsLimitExceededException - | CommonAwsError; +export type IoTErrors = CertificateConflictException | CertificateStateException | CertificateValidationException | ConflictException | ConflictingResourceUpdateException | DeleteConflictException | IndexNotReadyException | InternalException | InternalFailureException | InternalServerException | InvalidAggregationException | InvalidQueryException | InvalidRequestException | InvalidResponseException | InvalidStateTransitionException | LimitExceededException | MalformedPolicyException | NotConfiguredException | RegistrationCodeValidationException | ResourceAlreadyExistsException | ResourceNotFoundException | ResourceRegistrationFailureException | ServiceQuotaExceededException | ServiceUnavailableException | SqlParseException | TaskAlreadyExistsException | ThrottlingException | TransferAlreadyCompletedException | TransferConflictException | UnauthorizedException | ValidationException | VersionConflictException | VersionsLimitExceededException | CommonAwsError; + diff --git a/src/services/iotanalytics/index.ts b/src/services/iotanalytics/index.ts index c7c39fd6..004b4508 100644 --- a/src/services/iotanalytics/index.ts +++ b/src/services/iotanalytics/index.ts @@ -5,25 +5,7 @@ import type { IoTAnalytics as _IoTAnalyticsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,41 +15,40 @@ const metadata = { sigV4ServiceName: "iotanalytics", endpointPrefix: "iotanalytics", operations: { - BatchPutMessage: "POST /messages/batch", - CancelPipelineReprocessing: - "DELETE /pipelines/{pipelineName}/reprocessing/{reprocessingId}", - CreateChannel: "POST /channels", - CreateDataset: "POST /datasets", - CreateDatasetContent: "POST /datasets/{datasetName}/content", - CreateDatastore: "POST /datastores", - CreatePipeline: "POST /pipelines", - DeleteChannel: "DELETE /channels/{channelName}", - DeleteDataset: "DELETE /datasets/{datasetName}", - DeleteDatasetContent: "DELETE /datasets/{datasetName}/content", - DeleteDatastore: "DELETE /datastores/{datastoreName}", - DeletePipeline: "DELETE /pipelines/{pipelineName}", - DescribeChannel: "GET /channels/{channelName}", - DescribeDataset: "GET /datasets/{datasetName}", - DescribeDatastore: "GET /datastores/{datastoreName}", - DescribeLoggingOptions: "GET /logging", - DescribePipeline: "GET /pipelines/{pipelineName}", - GetDatasetContent: "GET /datasets/{datasetName}/content", - ListChannels: "GET /channels", - ListDatasetContents: "GET /datasets/{datasetName}/contents", - ListDatasets: "GET /datasets", - ListDatastores: "GET /datastores", - ListPipelines: "GET /pipelines", - ListTagsForResource: "GET /tags", - PutLoggingOptions: "PUT /logging", - RunPipelineActivity: "POST /pipelineactivities/run", - SampleChannelData: "GET /channels/{channelName}/sample", - StartPipelineReprocessing: "POST /pipelines/{pipelineName}/reprocessing", - TagResource: "POST /tags", - UntagResource: "DELETE /tags", - UpdateChannel: "PUT /channels/{channelName}", - UpdateDataset: "PUT /datasets/{datasetName}", - UpdateDatastore: "PUT /datastores/{datastoreName}", - UpdatePipeline: "PUT /pipelines/{pipelineName}", + "BatchPutMessage": "POST /messages/batch", + "CancelPipelineReprocessing": "DELETE /pipelines/{pipelineName}/reprocessing/{reprocessingId}", + "CreateChannel": "POST /channels", + "CreateDataset": "POST /datasets", + "CreateDatasetContent": "POST /datasets/{datasetName}/content", + "CreateDatastore": "POST /datastores", + "CreatePipeline": "POST /pipelines", + "DeleteChannel": "DELETE /channels/{channelName}", + "DeleteDataset": "DELETE /datasets/{datasetName}", + "DeleteDatasetContent": "DELETE /datasets/{datasetName}/content", + "DeleteDatastore": "DELETE /datastores/{datastoreName}", + "DeletePipeline": "DELETE /pipelines/{pipelineName}", + "DescribeChannel": "GET /channels/{channelName}", + "DescribeDataset": "GET /datasets/{datasetName}", + "DescribeDatastore": "GET /datastores/{datastoreName}", + "DescribeLoggingOptions": "GET /logging", + "DescribePipeline": "GET /pipelines/{pipelineName}", + "GetDatasetContent": "GET /datasets/{datasetName}/content", + "ListChannels": "GET /channels", + "ListDatasetContents": "GET /datasets/{datasetName}/contents", + "ListDatasets": "GET /datasets", + "ListDatastores": "GET /datastores", + "ListPipelines": "GET /pipelines", + "ListTagsForResource": "GET /tags", + "PutLoggingOptions": "PUT /logging", + "RunPipelineActivity": "POST /pipelineactivities/run", + "SampleChannelData": "GET /channels/{channelName}/sample", + "StartPipelineReprocessing": "POST /pipelines/{pipelineName}/reprocessing", + "TagResource": "POST /tags", + "UntagResource": "DELETE /tags", + "UpdateChannel": "PUT /channels/{channelName}", + "UpdateDataset": "PUT /datasets/{datasetName}", + "UpdateDatastore": "PUT /datastores/{datastoreName}", + "UpdatePipeline": "PUT /pipelines/{pipelineName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/iotanalytics/types.ts b/src/services/iotanalytics/types.ts index abd15b83..3696eb55 100644 --- a/src/services/iotanalytics/types.ts +++ b/src/services/iotanalytics/types.ts @@ -1,41 +1,7 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTAnalytics extends AWSServiceClient { @@ -43,378 +9,205 @@ export declare class IoTAnalytics extends AWSServiceClient { input: BatchPutMessageRequest, ): Effect.Effect< BatchPutMessageResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; cancelPipelineReprocessing( input: CancelPipelineReprocessingRequest, ): Effect.Effect< CancelPipelineReprocessingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createChannel( input: CreateChannelRequest, ): Effect.Effect< CreateChannelResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createDataset( input: CreateDatasetRequest, ): Effect.Effect< CreateDatasetResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createDatasetContent( input: CreateDatasetContentRequest, ): Effect.Effect< CreateDatasetContentResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createDatastore( input: CreateDatastoreRequest, ): Effect.Effect< CreateDatastoreResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createPipeline( input: CreatePipelineRequest, ): Effect.Effect< CreatePipelineResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteChannel( input: DeleteChannelRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteDataset( input: DeleteDatasetRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteDatasetContent( input: DeleteDatasetContentRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteDatastore( input: DeleteDatastoreRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deletePipeline( input: DeletePipelineRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeChannel( input: DescribeChannelRequest, ): Effect.Effect< DescribeChannelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeDataset( input: DescribeDatasetRequest, ): Effect.Effect< DescribeDatasetResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeDatastore( input: DescribeDatastoreRequest, ): Effect.Effect< DescribeDatastoreResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeLoggingOptions( input: DescribeLoggingOptionsRequest, ): Effect.Effect< DescribeLoggingOptionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describePipeline( input: DescribePipelineRequest, ): Effect.Effect< DescribePipelineResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getDatasetContent( input: GetDatasetContentRequest, ): Effect.Effect< GetDatasetContentResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listChannels( input: ListChannelsRequest, ): Effect.Effect< ListChannelsResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listDatasetContents( input: ListDatasetContentsRequest, ): Effect.Effect< ListDatasetContentsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listDatasets( input: ListDatasetsRequest, ): Effect.Effect< ListDatasetsResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listDatastores( input: ListDatastoresRequest, ): Effect.Effect< ListDatastoresResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listPipelines( input: ListPipelinesRequest, ): Effect.Effect< ListPipelinesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; putLoggingOptions( input: PutLoggingOptionsRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; runPipelineActivity( input: RunPipelineActivityRequest, ): Effect.Effect< RunPipelineActivityResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; sampleChannelData( input: SampleChannelDataRequest, ): Effect.Effect< SampleChannelDataResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; startPipelineReprocessing( input: StartPipelineReprocessingRequest, ): Effect.Effect< StartPipelineReprocessingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateChannel( input: UpdateChannelRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateDataset( input: UpdateDatasetRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateDatastore( input: UpdateDatastoreRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updatePipeline( input: UpdatePipelineRequest, ): Effect.Effect< {}, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; } @@ -454,7 +247,8 @@ export interface CancelPipelineReprocessingRequest { pipelineName: string; reprocessingId: string; } -export interface CancelPipelineReprocessingResponse {} +export interface CancelPipelineReprocessingResponse { +} export interface Channel { name?: string; storage?: ChannelStorage; @@ -710,14 +504,7 @@ interface _DatastoreStorage { iotSiteWiseMultiLayerStorage?: DatastoreIotSiteWiseMultiLayerStorage; } -export type DatastoreStorage = - | (_DatastoreStorage & { serviceManagedS3: ServiceManagedDatastoreS3Storage }) - | (_DatastoreStorage & { - customerManagedS3: CustomerManagedDatastoreS3Storage; - }) - | (_DatastoreStorage & { - iotSiteWiseMultiLayerStorage: DatastoreIotSiteWiseMultiLayerStorage; - }); +export type DatastoreStorage = (_DatastoreStorage & { serviceManagedS3: ServiceManagedDatastoreS3Storage }) | (_DatastoreStorage & { customerManagedS3: CustomerManagedDatastoreS3Storage }) | (_DatastoreStorage & { iotSiteWiseMultiLayerStorage: DatastoreIotSiteWiseMultiLayerStorage }); export interface DatastoreStorageSummary { serviceManagedS3?: ServiceManagedDatastoreS3StorageSummary; customerManagedS3?: CustomerManagedDatastoreS3StorageSummary; @@ -779,7 +566,8 @@ export interface DescribeDatastoreResponse { datastore?: Datastore; statistics?: DatastoreStatistics; } -export interface DescribeLoggingOptionsRequest {} +export interface DescribeLoggingOptionsRequest { +} export interface DescribeLoggingOptionsResponse { loggingOptions?: LoggingOptions; } @@ -874,7 +662,8 @@ export interface IotSiteWiseCustomerManagedDatastoreS3StorageSummary { bucket?: string; keyPrefix?: string; } -export interface JsonConfiguration {} +export interface JsonConfiguration { +} export interface LambdaActivity { name: string; lambdaName: string; @@ -1049,11 +838,7 @@ export interface RemoveAttributesActivity { } export type ReprocessingId = string; -export type ReprocessingStatus = - | "RUNNING" - | "SUCCEEDED" - | "CANCELLED" - | "FAILED"; +export type ReprocessingStatus = "RUNNING" | "SUCCEEDED" | "CANCELLED" | "FAILED"; export type ReprocessingSummaries = Array; export interface ReprocessingSummary { id?: string; @@ -1131,10 +916,14 @@ export interface SelectAttributesActivity { attributes: Array; next?: string; } -export interface ServiceManagedChannelS3Storage {} -export interface ServiceManagedChannelS3StorageSummary {} -export interface ServiceManagedDatastoreS3Storage {} -export interface ServiceManagedDatastoreS3StorageSummary {} +export interface ServiceManagedChannelS3Storage { +} +export interface ServiceManagedChannelS3StorageSummary { +} +export interface ServiceManagedDatastoreS3Storage { +} +export interface ServiceManagedDatastoreS3StorageSummary { +} export declare class ServiceUnavailableException extends EffectData.TaggedError( "ServiceUnavailableException", )<{ @@ -1175,7 +964,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1204,7 +994,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateChannelRequest { channelName: string; channelStorage?: ChannelStorage; @@ -1656,12 +1447,5 @@ export declare namespace UpdatePipeline { | CommonAwsError; } -export type IoTAnalyticsErrors = - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError; +export type IoTAnalyticsErrors = InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError; + diff --git a/src/services/iotdeviceadvisor/index.ts b/src/services/iotdeviceadvisor/index.ts index 23810af8..59b87555 100644 --- a/src/services/iotdeviceadvisor/index.ts +++ b/src/services/iotdeviceadvisor/index.ts @@ -5,25 +5,7 @@ import type { IotDeviceAdvisor as _IotDeviceAdvisorClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,23 +15,20 @@ const metadata = { sigV4ServiceName: "iotdeviceadvisor", endpointPrefix: "api.iotdeviceadvisor", operations: { - CreateSuiteDefinition: "POST /suiteDefinitions", - DeleteSuiteDefinition: "DELETE /suiteDefinitions/{suiteDefinitionId}", - GetEndpoint: "GET /endpoint", - GetSuiteDefinition: "GET /suiteDefinitions/{suiteDefinitionId}", - GetSuiteRun: - "GET /suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}", - GetSuiteRunReport: - "GET /suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/report", - ListSuiteDefinitions: "GET /suiteDefinitions", - ListSuiteRuns: "GET /suiteRuns", - ListTagsForResource: "GET /tags/{resourceArn}", - StartSuiteRun: "POST /suiteDefinitions/{suiteDefinitionId}/suiteRuns", - StopSuiteRun: - "POST /suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/stop", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateSuiteDefinition: "PATCH /suiteDefinitions/{suiteDefinitionId}", + "CreateSuiteDefinition": "POST /suiteDefinitions", + "DeleteSuiteDefinition": "DELETE /suiteDefinitions/{suiteDefinitionId}", + "GetEndpoint": "GET /endpoint", + "GetSuiteDefinition": "GET /suiteDefinitions/{suiteDefinitionId}", + "GetSuiteRun": "GET /suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}", + "GetSuiteRunReport": "GET /suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/report", + "ListSuiteDefinitions": "GET /suiteDefinitions", + "ListSuiteRuns": "GET /suiteRuns", + "ListTagsForResource": "GET /tags/{resourceArn}", + "StartSuiteRun": "POST /suiteDefinitions/{suiteDefinitionId}/suiteRuns", + "StopSuiteRun": "POST /suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/stop", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateSuiteDefinition": "PATCH /suiteDefinitions/{suiteDefinitionId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/iotdeviceadvisor/types.ts b/src/services/iotdeviceadvisor/types.ts index aa4854d5..010189d4 100644 --- a/src/services/iotdeviceadvisor/types.ts +++ b/src/services/iotdeviceadvisor/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class IotDeviceAdvisor extends AWSServiceClient { @@ -54,37 +20,25 @@ export declare class IotDeviceAdvisor extends AWSServiceClient { input: GetEndpointRequest, ): Effect.Effect< GetEndpointResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getSuiteDefinition( input: GetSuiteDefinitionRequest, ): Effect.Effect< GetSuiteDefinitionResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getSuiteRun( input: GetSuiteRunRequest, ): Effect.Effect< GetSuiteRunResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getSuiteRunReport( input: GetSuiteRunReportRequest, ): Effect.Effect< GetSuiteRunReportResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listSuiteDefinitions( input: ListSuiteDefinitionsRequest, @@ -102,46 +56,31 @@ export declare class IotDeviceAdvisor extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startSuiteRun( input: StartSuiteRunRequest, ): Effect.Effect< StartSuiteRunResponse, - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ValidationException | CommonAwsError >; stopSuiteRun( input: StopSuiteRunRequest, ): Effect.Effect< StopSuiteRunResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateSuiteDefinition( input: UpdateSuiteDefinitionRequest, @@ -155,9 +94,7 @@ export declare class Iotdeviceadvisor extends IotDeviceAdvisor {} export type AmazonResourceName = string; -export type AuthenticationMethod = - | "X509ClientCertificate" - | "SignatureVersion4"; +export type AuthenticationMethod = "X509ClientCertificate" | "SignatureVersion4"; export type ClientToken = string; export declare class ConflictException extends EffectData.TaggedError( @@ -179,7 +116,8 @@ export interface CreateSuiteDefinitionResponse { export interface DeleteSuiteDefinitionRequest { suiteDefinitionId: string; } -export interface DeleteSuiteDefinitionResponse {} +export interface DeleteSuiteDefinitionResponse { +} export interface DeviceUnderTest { thingArn?: string; certificateArn?: string; @@ -288,11 +226,7 @@ export type Message = string; export type ParallelRun = boolean; -export type Protocol = - | "MqttV3_1_1" - | "MqttV5" - | "MqttV3_1_1_OverWebSocket" - | "MqttV5_OverWebSocket"; +export type Protocol = "MqttV3_1_1" | "MqttV5" | "MqttV3_1_1_OverWebSocket" | "MqttV5_OverWebSocket"; export type QualificationReportDownloadUrl = string; export declare class ResourceNotFoundException extends EffectData.TaggedError( @@ -315,21 +249,13 @@ export interface StartSuiteRunResponse { createdAt?: Date | string; endpoint?: string; } -export type Status = - | "PASS" - | "FAIL" - | "CANCELED" - | "PENDING" - | "RUNNING" - | "STOPPING" - | "STOPPED" - | "PASS_WITH_WARNINGS" - | "ERROR"; +export type Status = "PASS" | "FAIL" | "CANCELED" | "PENDING" | "RUNNING" | "STOPPING" | "STOPPED" | "PASS_WITH_WARNINGS" | "ERROR"; export interface StopSuiteRunRequest { suiteDefinitionId: string; suiteRunId: string; } -export interface StopSuiteRunResponse {} +export interface StopSuiteRunResponse { +} export type String128 = string; export type String256 = string; @@ -377,16 +303,7 @@ export interface SuiteRunInformation { export type SuiteRunResultCount = number; export type SuiteRunsList = Array; -export type SuiteRunStatus = - | "PASS" - | "FAIL" - | "CANCELED" - | "PENDING" - | "RUNNING" - | "STOPPING" - | "STOPPED" - | "PASS_WITH_WARNINGS" - | "ERROR"; +export type SuiteRunStatus = "PASS" | "FAIL" | "CANCELED" | "PENDING" | "RUNNING" | "STOPPING" | "STOPPED" | "PASS_WITH_WARNINGS" | "ERROR"; export type SystemMessage = string; export type TagKeyList = Array; @@ -395,7 +312,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TestCaseDefinitionName = string; export interface TestCaseRun { @@ -421,16 +339,7 @@ export interface TestCaseScenario { export type TestCaseScenarioId = string; export type TestCaseScenariosList = Array; -export type TestCaseScenarioStatus = - | "PASS" - | "FAIL" - | "CANCELED" - | "PENDING" - | "RUNNING" - | "STOPPING" - | "STOPPED" - | "PASS_WITH_WARNINGS" - | "ERROR"; +export type TestCaseScenarioStatus = "PASS" | "FAIL" | "CANCELED" | "PENDING" | "RUNNING" | "STOPPING" | "STOPPED" | "PASS_WITH_WARNINGS" | "ERROR"; export type TestCaseScenarioType = "Advanced" | "Basic"; export interface TestResult { groups?: Array; @@ -443,7 +352,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateSuiteDefinitionRequest { suiteDefinitionId: string; suiteDefinitionConfiguration: SuiteDefinitionConfiguration; @@ -600,9 +510,5 @@ export declare namespace UpdateSuiteDefinition { | CommonAwsError; } -export type IotDeviceAdvisorErrors = - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type IotDeviceAdvisorErrors = ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/iotfleetwise/index.ts b/src/services/iotfleetwise/index.ts index 27c1a07d..3ca58f7d 100644 --- a/src/services/iotfleetwise/index.ts +++ b/src/services/iotfleetwise/index.ts @@ -5,23 +5,7 @@ import type { IoTFleetWise as _IoTFleetWiseClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/iotfleetwise/types.ts b/src/services/iotfleetwise/types.ts index 0fa72a2c..f6668694 100644 --- a/src/services/iotfleetwise/types.ts +++ b/src/services/iotfleetwise/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTFleetWise extends AWSServiceClient { @@ -40,34 +8,19 @@ export declare class IoTFleetWise extends AWSServiceClient { input: BatchCreateVehicleRequest, ): Effect.Effect< BatchCreateVehicleResponse, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchUpdateVehicle( input: BatchUpdateVehicleRequest, ): Effect.Effect< BatchUpdateVehicleResponse, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; getEncryptionConfiguration( input: GetEncryptionConfigurationRequest, ): Effect.Effect< GetEncryptionConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLoggingOptions( input: GetLoggingOptionsRequest, @@ -79,605 +32,319 @@ export declare class IoTFleetWise extends AWSServiceClient { input: GetRegisterAccountStatusRequest, ): Effect.Effect< GetRegisterAccountStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getVehicleStatus( input: GetVehicleStatusRequest, ): Effect.Effect< GetVehicleStatusResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putEncryptionConfiguration( input: PutEncryptionConfigurationRequest, ): Effect.Effect< PutEncryptionConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putLoggingOptions( input: PutLoggingOptionsRequest, ): Effect.Effect< PutLoggingOptionsResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; registerAccount( input: RegisterAccountRequest, ): Effect.Effect< RegisterAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateVehicleFleet( input: AssociateVehicleFleetRequest, ): Effect.Effect< AssociateVehicleFleetResponse, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createCampaign( input: CreateCampaignRequest, ): Effect.Effect< CreateCampaignResponse, - | AccessDeniedException - | ConflictException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createDecoderManifest( input: CreateDecoderManifestRequest, ): Effect.Effect< CreateDecoderManifestResponse, - | AccessDeniedException - | ConflictException - | DecoderManifestValidationException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DecoderManifestValidationException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createFleet( input: CreateFleetRequest, ): Effect.Effect< CreateFleetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createModelManifest( input: CreateModelManifestRequest, ): Effect.Effect< CreateModelManifestResponse, - | AccessDeniedException - | ConflictException - | InvalidSignalsException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InvalidSignalsException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createSignalCatalog( input: CreateSignalCatalogRequest, ): Effect.Effect< CreateSignalCatalogResponse, - | AccessDeniedException - | ConflictException - | InvalidNodeException - | InvalidSignalsException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InvalidNodeException | InvalidSignalsException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createStateTemplate( input: CreateStateTemplateRequest, ): Effect.Effect< CreateStateTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidSignalsException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidSignalsException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createVehicle( input: CreateVehicleRequest, ): Effect.Effect< CreateVehicleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCampaign( input: DeleteCampaignRequest, ): Effect.Effect< DeleteCampaignResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDecoderManifest( input: DeleteDecoderManifestRequest, ): Effect.Effect< DeleteDecoderManifestResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteFleet( input: DeleteFleetRequest, ): Effect.Effect< DeleteFleetResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteModelManifest( input: DeleteModelManifestRequest, ): Effect.Effect< DeleteModelManifestResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteSignalCatalog( input: DeleteSignalCatalogRequest, ): Effect.Effect< DeleteSignalCatalogResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteStateTemplate( input: DeleteStateTemplateRequest, ): Effect.Effect< DeleteStateTemplateResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteVehicle( input: DeleteVehicleRequest, ): Effect.Effect< DeleteVehicleResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; disassociateVehicleFleet( input: DisassociateVehicleFleetRequest, ): Effect.Effect< DisassociateVehicleFleetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCampaign( input: GetCampaignRequest, ): Effect.Effect< GetCampaignResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDecoderManifest( input: GetDecoderManifestRequest, ): Effect.Effect< GetDecoderManifestResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFleet( input: GetFleetRequest, ): Effect.Effect< GetFleetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getModelManifest( input: GetModelManifestRequest, ): Effect.Effect< GetModelManifestResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSignalCatalog( input: GetSignalCatalogRequest, ): Effect.Effect< GetSignalCatalogResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getStateTemplate( input: GetStateTemplateRequest, ): Effect.Effect< GetStateTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getVehicle( input: GetVehicleRequest, ): Effect.Effect< GetVehicleResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; importDecoderManifest( input: ImportDecoderManifestRequest, ): Effect.Effect< ImportDecoderManifestResponse, - | AccessDeniedException - | ConflictException - | DecoderManifestValidationException - | InvalidSignalsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DecoderManifestValidationException | InvalidSignalsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; importSignalCatalog( input: ImportSignalCatalogRequest, ): Effect.Effect< ImportSignalCatalogResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidSignalsException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidSignalsException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCampaigns( input: ListCampaignsRequest, ): Effect.Effect< ListCampaignsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listDecoderManifestNetworkInterfaces( input: ListDecoderManifestNetworkInterfacesRequest, ): Effect.Effect< ListDecoderManifestNetworkInterfacesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDecoderManifestSignals( input: ListDecoderManifestSignalsRequest, ): Effect.Effect< ListDecoderManifestSignalsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDecoderManifests( input: ListDecoderManifestsRequest, ): Effect.Effect< ListDecoderManifestsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listFleets( input: ListFleetsRequest, ): Effect.Effect< ListFleetsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFleetsForVehicle( input: ListFleetsForVehicleRequest, ): Effect.Effect< ListFleetsForVehicleResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listModelManifestNodes( input: ListModelManifestNodesRequest, ): Effect.Effect< ListModelManifestNodesResponse, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listModelManifests( input: ListModelManifestsRequest, ): Effect.Effect< ListModelManifestsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSignalCatalogNodes( input: ListSignalCatalogNodesRequest, ): Effect.Effect< ListSignalCatalogNodesResponse, - | AccessDeniedException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSignalCatalogs( input: ListSignalCatalogsRequest, ): Effect.Effect< ListSignalCatalogsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listStateTemplates( input: ListStateTemplatesRequest, ): Effect.Effect< ListStateTemplatesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listVehicles( input: ListVehiclesRequest, ): Effect.Effect< ListVehiclesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listVehiclesInFleet( input: ListVehiclesInFleetRequest, ): Effect.Effect< ListVehiclesInFleetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCampaign( input: UpdateCampaignRequest, ): Effect.Effect< UpdateCampaignResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDecoderManifest( input: UpdateDecoderManifestRequest, ): Effect.Effect< UpdateDecoderManifestResponse, - | AccessDeniedException - | ConflictException - | DecoderManifestValidationException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DecoderManifestValidationException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFleet( input: UpdateFleetRequest, ): Effect.Effect< UpdateFleetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateModelManifest( input: UpdateModelManifestRequest, ): Effect.Effect< UpdateModelManifestResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidSignalsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidSignalsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSignalCatalog( input: UpdateSignalCatalogRequest, ): Effect.Effect< UpdateSignalCatalogResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidNodeException - | InvalidSignalsException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidNodeException | InvalidSignalsException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateStateTemplate( input: UpdateStateTemplateRequest, ): Effect.Effect< UpdateStateTemplateResponse, - | AccessDeniedException - | InternalServerException - | InvalidSignalsException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidSignalsException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateVehicle( input: UpdateVehicleRequest, ): Effect.Effect< UpdateVehicleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -711,7 +378,8 @@ export interface AssociateVehicleFleetRequest { vehicleName: string; fleetId: string; } -export interface AssociateVehicleFleetResponse {} +export interface AssociateVehicleFleetResponse { +} export interface Attribute { fullyQualifiedName: string; dataType: NodeDataType; @@ -756,11 +424,7 @@ export type campaignArn = string; export type campaignName = string; -export type CampaignStatus = - | "CREATING" - | "WAITING_FOR_APPROVAL" - | "RUNNING" - | "SUSPENDED"; +export type CampaignStatus = "CREATING" | "WAITING_FOR_APPROVAL" | "RUNNING" | "SUSPENDED"; export type campaignSummaries = Array; export interface CampaignSummary { arn?: string; @@ -810,13 +474,7 @@ interface _CollectionScheme { conditionBasedCollectionScheme?: ConditionBasedCollectionScheme; } -export type CollectionScheme = - | (_CollectionScheme & { - timeBasedCollectionScheme: TimeBasedCollectionScheme; - }) - | (_CollectionScheme & { - conditionBasedCollectionScheme: ConditionBasedCollectionScheme; - }); +export type CollectionScheme = (_CollectionScheme & { timeBasedCollectionScheme: TimeBasedCollectionScheme }) | (_CollectionScheme & { conditionBasedCollectionScheme: ConditionBasedCollectionScheme }); export type Compression = "OFF" | "SNAPPY"; export interface ConditionBasedCollectionScheme { expression: string; @@ -986,10 +644,7 @@ interface _DataDestinationConfig { mqttTopicConfig?: MqttTopicConfig; } -export type DataDestinationConfig = - | (_DataDestinationConfig & { s3Config: S3Config }) - | (_DataDestinationConfig & { timestreamConfig: TimestreamConfig }) - | (_DataDestinationConfig & { mqttTopicConfig: MqttTopicConfig }); +export type DataDestinationConfig = (_DataDestinationConfig & { s3Config: S3Config }) | (_DataDestinationConfig & { timestreamConfig: TimestreamConfig }) | (_DataDestinationConfig & { mqttTopicConfig: MqttTopicConfig }); export type DataDestinationConfigs = Array; export type DataExtraDimensionNodePathList = Array; export type DataFormat = "JSON" | "PARQUET"; @@ -1086,13 +741,12 @@ export interface DisassociateVehicleFleetRequest { vehicleName: string; fleetId: string; } -export interface DisassociateVehicleFleetResponse {} +export interface DisassociateVehicleFleetResponse { +} export type double = number; export type EncryptionStatus = "PENDING" | "SUCCESS" | "FAILURE"; -export type EncryptionType = - | "KMS_BASED_ENCRYPTION" - | "FLEETWISE_DEFAULT_ENCRYPTION"; +export type EncryptionType = "KMS_BASED_ENCRYPTION" | "FLEETWISE_DEFAULT_ENCRYPTION"; export type errorMessage = string; export type eventExpression = string; @@ -1116,7 +770,7 @@ interface _FormattedVss { vssJson?: string; } -export type FormattedVss = _FormattedVss & { vssJson: string }; +export type FormattedVss = (_FormattedVss & { vssJson: string }); export type Fqns = Array; export type FullyQualifiedName = string; @@ -1159,7 +813,8 @@ export interface GetDecoderManifestResponse { lastModificationTime: Date | string; message?: string; } -export interface GetEncryptionConfigurationRequest {} +export interface GetEncryptionConfigurationRequest { +} export interface GetEncryptionConfigurationResponse { kmsKeyId?: string; encryptionStatus: EncryptionStatus; @@ -1179,7 +834,8 @@ export interface GetFleetResponse { creationTime: Date | string; lastModificationTime: Date | string; } -export interface GetLoggingOptionsRequest {} +export interface GetLoggingOptionsRequest { +} export interface GetLoggingOptionsResponse { cloudWatchLogDelivery: CloudWatchLogDeliveryOptions; } @@ -1195,7 +851,8 @@ export interface GetModelManifestResponse { creationTime: Date | string; lastModificationTime: Date | string; } -export interface GetRegisterAccountStatusRequest {} +export interface GetRegisterAccountStatusRequest { +} export interface GetRegisterAccountStatusResponse { customerAccountId: string; accountStatus: RegistrationStatus; @@ -1497,9 +1154,7 @@ interface _NetworkFileDefinition { canDbc?: CanDbcDefinition; } -export type NetworkFileDefinition = _NetworkFileDefinition & { - canDbc: CanDbcDefinition; -}; +export type NetworkFileDefinition = (_NetworkFileDefinition & { canDbc: CanDbcDefinition }); export type NetworkFileDefinitions = Array; export type NetworkFilesList = Array; export interface NetworkInterface { @@ -1510,21 +1165,9 @@ export interface NetworkInterface { vehicleMiddleware?: VehicleMiddleware; customDecodingInterface?: CustomDecodingInterface; } -export type NetworkInterfaceFailureReason = - | "DUPLICATE_NETWORK_INTERFACE" - | "CONFLICTING_NETWORK_INTERFACE" - | "NETWORK_INTERFACE_TO_ADD_ALREADY_EXISTS" - | "CAN_NETWORK_INTERFACE_INFO_IS_NULL" - | "OBD_NETWORK_INTERFACE_INFO_IS_NULL" - | "NETWORK_INTERFACE_TO_REMOVE_ASSOCIATED_WITH_SIGNALS" - | "VEHICLE_MIDDLEWARE_NETWORK_INTERFACE_INFO_IS_NULL" - | "CUSTOM_DECODING_SIGNAL_NETWORK_INTERFACE_INFO_IS_NULL"; +export type NetworkInterfaceFailureReason = "DUPLICATE_NETWORK_INTERFACE" | "CONFLICTING_NETWORK_INTERFACE" | "NETWORK_INTERFACE_TO_ADD_ALREADY_EXISTS" | "CAN_NETWORK_INTERFACE_INFO_IS_NULL" | "OBD_NETWORK_INTERFACE_INFO_IS_NULL" | "NETWORK_INTERFACE_TO_REMOVE_ASSOCIATED_WITH_SIGNALS" | "VEHICLE_MIDDLEWARE_NETWORK_INTERFACE_INFO_IS_NULL" | "CUSTOM_DECODING_SIGNAL_NETWORK_INTERFACE_INFO_IS_NULL"; export type NetworkInterfaces = Array; -export type NetworkInterfaceType = - | "CAN_INTERFACE" - | "OBD_INTERFACE" - | "VEHICLE_MIDDLEWARE" - | "CUSTOM_DECODING_INTERFACE"; +export type NetworkInterfaceType = "CAN_INTERFACE" | "OBD_INTERFACE" | "VEHICLE_MIDDLEWARE" | "CUSTOM_DECODING_INTERFACE"; export type nextToken = string; interface _Node { @@ -1536,13 +1179,7 @@ interface _Node { property?: CustomProperty; } -export type Node = - | (_Node & { branch: Branch }) - | (_Node & { sensor: Sensor }) - | (_Node & { actuator: Actuator }) - | (_Node & { attribute: Attribute }) - | (_Node & { struct: CustomStruct }) - | (_Node & { property: CustomProperty }); +export type Node = (_Node & { branch: Branch }) | (_Node & { sensor: Sensor }) | (_Node & { actuator: Actuator }) | (_Node & { attribute: Attribute }) | (_Node & { struct: CustomStruct }) | (_Node & { property: CustomProperty }); export interface NodeCounts { totalNodes?: number; totalBranches?: number; @@ -1553,36 +1190,7 @@ export interface NodeCounts { totalProperties?: number; } export type NodeDataEncoding = "BINARY" | "TYPED"; -export type NodeDataType = - | "INT8" - | "UINT8" - | "INT16" - | "UINT16" - | "INT32" - | "UINT32" - | "INT64" - | "UINT64" - | "BOOLEAN" - | "FLOAT" - | "DOUBLE" - | "STRING" - | "UNIX_TIMESTAMP" - | "INT8_ARRAY" - | "UINT8_ARRAY" - | "INT16_ARRAY" - | "UINT16_ARRAY" - | "INT32_ARRAY" - | "UINT32_ARRAY" - | "INT64_ARRAY" - | "UINT64_ARRAY" - | "BOOLEAN_ARRAY" - | "FLOAT_ARRAY" - | "DOUBLE_ARRAY" - | "STRING_ARRAY" - | "UNIX_TIMESTAMP_ARRAY" - | "UNKNOWN" - | "STRUCT" - | "STRUCT_ARRAY"; +export type NodeDataType = "INT8" | "UINT8" | "INT16" | "UINT16" | "INT32" | "UINT32" | "INT64" | "UINT64" | "BOOLEAN" | "FLOAT" | "DOUBLE" | "STRING" | "UNIX_TIMESTAMP" | "INT8_ARRAY" | "UINT8_ARRAY" | "INT16_ARRAY" | "UINT16_ARRAY" | "INT32_ARRAY" | "UINT32_ARRAY" | "INT64_ARRAY" | "UINT64_ARRAY" | "BOOLEAN_ARRAY" | "FLOAT_ARRAY" | "DOUBLE_ARRAY" | "STRING_ARRAY" | "UNIX_TIMESTAMP_ARRAY" | "UNKNOWN" | "STRUCT" | "STRUCT_ARRAY"; export type NodePath = string; export type NodePaths = Array; @@ -1621,7 +1229,8 @@ export interface ObdSignal { } export type ObdStandard = string; -export interface OnChangeStateTemplateUpdateStrategy {} +export interface OnChangeStateTemplateUpdateStrategy { +} export interface PeriodicStateTemplateUpdateStrategy { stateTemplateUpdateRate: TimePeriod; } @@ -1635,9 +1244,7 @@ interface _PrimitiveMessageDefinition { ros2PrimitiveMessageDefinition?: ROS2PrimitiveMessageDefinition; } -export type PrimitiveMessageDefinition = _PrimitiveMessageDefinition & { - ros2PrimitiveMessageDefinition: ROS2PrimitiveMessageDefinition; -}; +export type PrimitiveMessageDefinition = (_PrimitiveMessageDefinition & { ros2PrimitiveMessageDefinition: ROS2PrimitiveMessageDefinition }); export type priority = number; export type ProtocolName = string; @@ -1656,7 +1263,8 @@ export interface PutEncryptionConfigurationResponse { export interface PutLoggingOptionsRequest { cloudWatchLogDelivery: CloudWatchLogDeliveryOptions; } -export interface PutLoggingOptionsResponse {} +export interface PutLoggingOptionsResponse { +} export interface RegisterAccountRequest { timestreamResources?: TimestreamResources; iamResources?: IamResources; @@ -1668,10 +1276,7 @@ export interface RegisterAccountResponse { creationTime: Date | string; lastModificationTime: Date | string; } -export type RegistrationStatus = - | "REGISTRATION_PENDING" - | "REGISTRATION_SUCCESS" - | "REGISTRATION_FAILURE"; +export type RegistrationStatus = "REGISTRATION_PENDING" | "REGISTRATION_SUCCESS" | "REGISTRATION_FAILURE"; export type ResourceIdentifier = string; export type resourceName = string; @@ -1693,22 +1298,7 @@ export interface ROS2PrimitiveMessageDefinition { scaling?: number; upperBound?: number; } -export type ROS2PrimitiveType = - | "BOOL" - | "BYTE" - | "CHAR" - | "FLOAT32" - | "FLOAT64" - | "INT8" - | "UINT8" - | "INT16" - | "UINT16" - | "INT32" - | "UINT32" - | "INT64" - | "UINT64" - | "STRING" - | "WSTRING"; +export type ROS2PrimitiveType = "BOOL" | "BYTE" | "CHAR" | "FLOAT32" | "FLOAT64" | "INT8" | "UINT8" | "INT16" | "UINT16" | "INT32" | "UINT32" | "INT64" | "UINT64" | "STRING" | "WSTRING"; export type S3BucketArn = string; export interface S3Config { @@ -1745,37 +1335,15 @@ export interface SignalDecoder { messageSignal?: MessageSignal; customDecodingSignal?: CustomDecodingSignal; } -export type SignalDecoderFailureReason = - | "DUPLICATE_SIGNAL" - | "CONFLICTING_SIGNAL" - | "SIGNAL_TO_ADD_ALREADY_EXISTS" - | "SIGNAL_NOT_ASSOCIATED_WITH_NETWORK_INTERFACE" - | "NETWORK_INTERFACE_TYPE_INCOMPATIBLE_WITH_SIGNAL_DECODER_TYPE" - | "SIGNAL_NOT_IN_MODEL" - | "CAN_SIGNAL_INFO_IS_NULL" - | "OBD_SIGNAL_INFO_IS_NULL" - | "NO_DECODER_INFO_FOR_SIGNAL_IN_MODEL" - | "MESSAGE_SIGNAL_INFO_IS_NULL" - | "SIGNAL_DECODER_TYPE_INCOMPATIBLE_WITH_MESSAGE_SIGNAL_TYPE" - | "STRUCT_SIZE_MISMATCH" - | "NO_SIGNAL_IN_CATALOG_FOR_DECODER_SIGNAL" - | "SIGNAL_DECODER_INCOMPATIBLE_WITH_SIGNAL_CATALOG" - | "EMPTY_MESSAGE_SIGNAL" - | "CUSTOM_DECODING_SIGNAL_INFO_IS_NULL"; +export type SignalDecoderFailureReason = "DUPLICATE_SIGNAL" | "CONFLICTING_SIGNAL" | "SIGNAL_TO_ADD_ALREADY_EXISTS" | "SIGNAL_NOT_ASSOCIATED_WITH_NETWORK_INTERFACE" | "NETWORK_INTERFACE_TYPE_INCOMPATIBLE_WITH_SIGNAL_DECODER_TYPE" | "SIGNAL_NOT_IN_MODEL" | "CAN_SIGNAL_INFO_IS_NULL" | "OBD_SIGNAL_INFO_IS_NULL" | "NO_DECODER_INFO_FOR_SIGNAL_IN_MODEL" | "MESSAGE_SIGNAL_INFO_IS_NULL" | "SIGNAL_DECODER_TYPE_INCOMPATIBLE_WITH_MESSAGE_SIGNAL_TYPE" | "STRUCT_SIZE_MISMATCH" | "NO_SIGNAL_IN_CATALOG_FOR_DECODER_SIGNAL" | "SIGNAL_DECODER_INCOMPATIBLE_WITH_SIGNAL_CATALOG" | "EMPTY_MESSAGE_SIGNAL" | "CUSTOM_DECODING_SIGNAL_INFO_IS_NULL"; export type SignalDecoders = Array; -export type SignalDecoderType = - | "CAN_SIGNAL" - | "OBD_SIGNAL" - | "MESSAGE_SIGNAL" - | "CUSTOM_DECODING_SIGNAL"; +export type SignalDecoderType = "CAN_SIGNAL" | "OBD_SIGNAL" | "MESSAGE_SIGNAL" | "CUSTOM_DECODING_SIGNAL"; interface _SignalFetchConfig { timeBased?: TimeBasedSignalFetchConfig; conditionBased?: ConditionBasedSignalFetchConfig; } -export type SignalFetchConfig = - | (_SignalFetchConfig & { timeBased: TimeBasedSignalFetchConfig }) - | (_SignalFetchConfig & { conditionBased: ConditionBasedSignalFetchConfig }); +export type SignalFetchConfig = (_SignalFetchConfig & { timeBased: TimeBasedSignalFetchConfig }) | (_SignalFetchConfig & { conditionBased: ConditionBasedSignalFetchConfig }); export interface SignalFetchInformation { fullyQualifiedName: string; signalFetchConfig: SignalFetchConfig; @@ -1790,13 +1358,7 @@ export interface SignalInformation { dataPartitionId?: string; } export type SignalInformationList = Array; -export type SignalNodeType = - | "SENSOR" - | "ACTUATOR" - | "ATTRIBUTE" - | "BRANCH" - | "CUSTOM_STRUCT" - | "CUSTOM_PROPERTY"; +export type SignalNodeType = "SENSOR" | "ACTUATOR" | "ATTRIBUTE" | "BRANCH" | "CUSTOM_STRUCT" | "CUSTOM_PROPERTY"; export type SignalValueType = "INTEGER" | "FLOATING_POINT"; export type SpoolingMode = "OFF" | "TO_DISK"; export interface StateTemplateAssociation { @@ -1823,13 +1385,7 @@ interface _StateTemplateUpdateStrategy { onChange?: OnChangeStateTemplateUpdateStrategy; } -export type StateTemplateUpdateStrategy = - | (_StateTemplateUpdateStrategy & { - periodic: PeriodicStateTemplateUpdateStrategy; - }) - | (_StateTemplateUpdateStrategy & { - onChange: OnChangeStateTemplateUpdateStrategy; - }); +export type StateTemplateUpdateStrategy = (_StateTemplateUpdateStrategy & { periodic: PeriodicStateTemplateUpdateStrategy }) | (_StateTemplateUpdateStrategy & { onChange: OnChangeStateTemplateUpdateStrategy }); export type statusStr = string; export type StorageCompressionFormat = "NONE" | "GZIP"; @@ -1857,18 +1413,8 @@ interface _StructuredMessage { structuredMessageDefinition?: Array; } -export type StructuredMessage = - | (_StructuredMessage & { - primitiveMessageDefinition: PrimitiveMessageDefinition; - }) - | (_StructuredMessage & { - structuredMessageListDefinition: StructuredMessageListDefinition; - }) - | (_StructuredMessage & { - structuredMessageDefinition: Array; - }); -export type StructuredMessageDefinition = - Array; +export type StructuredMessage = (_StructuredMessage & { primitiveMessageDefinition: PrimitiveMessageDefinition }) | (_StructuredMessage & { structuredMessageListDefinition: StructuredMessageListDefinition }) | (_StructuredMessage & { structuredMessageDefinition: Array }); +export type StructuredMessageDefinition = Array; export interface StructuredMessageFieldNameAndDataTypePair { fieldName: string; dataType: StructuredMessage; @@ -1879,10 +1425,7 @@ export interface StructuredMessageListDefinition { listType: StructuredMessageListType; capacity?: number; } -export type StructuredMessageListType = - | "FIXED_CAPACITY" - | "DYNAMIC_UNBOUNDED_CAPACITY" - | "DYNAMIC_BOUNDED_CAPACITY"; +export type StructuredMessageListType = "FIXED_CAPACITY" | "DYNAMIC_UNBOUNDED_CAPACITY" | "DYNAMIC_BOUNDED_CAPACITY"; export type StructureMessageName = string; export interface Tag { @@ -1897,7 +1440,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1952,7 +1496,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UpdateCampaignAction = "APPROVE" | "SUSPEND" | "RESUME" | "UPDATE"; export interface UpdateCampaignRequest { name: string; @@ -2073,14 +1618,8 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; -export type VehicleAssociationBehavior = - | "CreateIotThing" - | "ValidateIotThingExists"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; +export type VehicleAssociationBehavior = "CreateIotThing" | "ValidateIotThingExists"; export interface VehicleMiddleware { name: string; protocolName: VehicleMiddlewareProtocol; @@ -2091,13 +1630,7 @@ export type VehicleMiddlewareProtocol = "ROS_2"; export type vehicleName = string; export type vehicles = Array; -export type VehicleState = - | "CREATED" - | "READY" - | "HEALTHY" - | "SUSPENDED" - | "DELETING" - | "READY_FOR_CHECKIN"; +export type VehicleState = "CREATED" | "READY" | "HEALTHY" | "SUSPENDED" | "DELETING" | "READY_FOR_CHECKIN"; export interface VehicleStatus { campaignName?: string; vehicleName?: string; @@ -2818,15 +2351,5 @@ export declare namespace UpdateVehicle { | CommonAwsError; } -export type IoTFleetWiseErrors = - | AccessDeniedException - | ConflictException - | DecoderManifestValidationException - | InternalServerException - | InvalidNodeException - | InvalidSignalsException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type IoTFleetWiseErrors = AccessDeniedException | ConflictException | DecoderManifestValidationException | InternalServerException | InvalidNodeException | InvalidSignalsException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/iotsecuretunneling/index.ts b/src/services/iotsecuretunneling/index.ts index bcbf3987..9d69e6b6 100644 --- a/src/services/iotsecuretunneling/index.ts +++ b/src/services/iotsecuretunneling/index.ts @@ -5,26 +5,7 @@ import type { IoTSecureTunneling as _IoTSecureTunnelingClient } from "./types.ts export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/iotsecuretunneling/types.ts b/src/services/iotsecuretunneling/types.ts index 46864298..858aef9b 100644 --- a/src/services/iotsecuretunneling/types.ts +++ b/src/services/iotsecuretunneling/types.ts @@ -23,10 +23,16 @@ export declare class IoTSecureTunneling extends AWSServiceClient { >; listTunnels( input: ListTunnelsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTunnelsResponse, + CommonAwsError + >; openTunnel( input: OpenTunnelRequest, - ): Effect.Effect; + ): Effect.Effect< + OpenTunnelResponse, + LimitExceededException | CommonAwsError + >; rotateTunnelAccessToken( input: RotateTunnelAccessTokenRequest, ): Effect.Effect< @@ -58,7 +64,8 @@ export interface CloseTunnelRequest { tunnelId: string; delete?: boolean; } -export interface CloseTunnelResponse {} +export interface CloseTunnelResponse { +} export interface ConnectionState { status?: ConnectionStatus; lastUpdatedAt?: Date | string; @@ -148,7 +155,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type ThingName = string; @@ -189,56 +197,70 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare namespace CloseTunnel { export type Input = CloseTunnelRequest; export type Output = CloseTunnelResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeTunnel { export type Input = DescribeTunnelRequest; export type Output = DescribeTunnelResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListTunnels { export type Input = ListTunnelsRequest; export type Output = ListTunnelsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace OpenTunnel { export type Input = OpenTunnelRequest; export type Output = OpenTunnelResponse; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace RotateTunnelAccessToken { export type Input = RotateTunnelAccessTokenRequest; export type Output = RotateTunnelAccessTokenResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = TagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } -export type IoTSecureTunnelingErrors = - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError; +export type IoTSecureTunnelingErrors = LimitExceededException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/iotsitewise/index.ts b/src/services/iotsitewise/index.ts index e00c22f7..c990a4de 100644 --- a/src/services/iotsitewise/index.ts +++ b/src/services/iotsitewise/index.ts @@ -5,23 +5,7 @@ import type { IoTSiteWise as _IoTSiteWiseClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,139 +15,121 @@ const metadata = { sigV4ServiceName: "iotsitewise", endpointPrefix: "iotsitewise", operations: { - AssociateAssets: "POST /assets/{assetId}/associate", - AssociateTimeSeriesToAssetProperty: "POST /timeseries/associate", - BatchAssociateProjectAssets: "POST /projects/{projectId}/assets/associate", - BatchDisassociateProjectAssets: - "POST /projects/{projectId}/assets/disassociate", - BatchGetAssetPropertyAggregates: "POST /properties/batch/aggregates", - BatchGetAssetPropertyValue: "POST /properties/batch/latest", - BatchGetAssetPropertyValueHistory: "POST /properties/batch/history", - BatchPutAssetPropertyValue: "POST /properties", - CreateAccessPolicy: "POST /access-policies", - CreateAsset: "POST /assets", - CreateAssetModel: "POST /asset-models", - CreateAssetModelCompositeModel: - "POST /asset-models/{assetModelId}/composite-models", - CreateBulkImportJob: "POST /jobs", - CreateComputationModel: "POST /computation-models", - CreateDashboard: "POST /dashboards", - CreateDataset: "POST /datasets", - CreateGateway: "POST /20200301/gateways", - CreatePortal: "POST /portals", - CreateProject: "POST /projects", - DeleteAccessPolicy: "DELETE /access-policies/{accessPolicyId}", - DeleteAsset: "DELETE /assets/{assetId}", - DeleteAssetModel: "DELETE /asset-models/{assetModelId}", - DeleteAssetModelCompositeModel: - "DELETE /asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}", - DeleteAssetModelInterfaceRelationship: - "DELETE /asset-models/{assetModelId}/interface/{interfaceAssetModelId}/asset-model-interface-relationship", - DeleteComputationModel: "DELETE /computation-models/{computationModelId}", - DeleteDashboard: "DELETE /dashboards/{dashboardId}", - DeleteDataset: "DELETE /datasets/{datasetId}", - DeleteGateway: "DELETE /20200301/gateways/{gatewayId}", - DeletePortal: "DELETE /portals/{portalId}", - DeleteProject: "DELETE /projects/{projectId}", - DeleteTimeSeries: "POST /timeseries/delete", - DescribeAccessPolicy: "GET /access-policies/{accessPolicyId}", - DescribeAction: "GET /actions/{actionId}", - DescribeAsset: "GET /assets/{assetId}", - DescribeAssetCompositeModel: - "GET /assets/{assetId}/composite-models/{assetCompositeModelId}", - DescribeAssetModel: { + "AssociateAssets": "POST /assets/{assetId}/associate", + "AssociateTimeSeriesToAssetProperty": "POST /timeseries/associate", + "BatchAssociateProjectAssets": "POST /projects/{projectId}/assets/associate", + "BatchDisassociateProjectAssets": "POST /projects/{projectId}/assets/disassociate", + "BatchGetAssetPropertyAggregates": "POST /properties/batch/aggregates", + "BatchGetAssetPropertyValue": "POST /properties/batch/latest", + "BatchGetAssetPropertyValueHistory": "POST /properties/batch/history", + "BatchPutAssetPropertyValue": "POST /properties", + "CreateAccessPolicy": "POST /access-policies", + "CreateAsset": "POST /assets", + "CreateAssetModel": "POST /asset-models", + "CreateAssetModelCompositeModel": "POST /asset-models/{assetModelId}/composite-models", + "CreateBulkImportJob": "POST /jobs", + "CreateComputationModel": "POST /computation-models", + "CreateDashboard": "POST /dashboards", + "CreateDataset": "POST /datasets", + "CreateGateway": "POST /20200301/gateways", + "CreatePortal": "POST /portals", + "CreateProject": "POST /projects", + "DeleteAccessPolicy": "DELETE /access-policies/{accessPolicyId}", + "DeleteAsset": "DELETE /assets/{assetId}", + "DeleteAssetModel": "DELETE /asset-models/{assetModelId}", + "DeleteAssetModelCompositeModel": "DELETE /asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}", + "DeleteAssetModelInterfaceRelationship": "DELETE /asset-models/{assetModelId}/interface/{interfaceAssetModelId}/asset-model-interface-relationship", + "DeleteComputationModel": "DELETE /computation-models/{computationModelId}", + "DeleteDashboard": "DELETE /dashboards/{dashboardId}", + "DeleteDataset": "DELETE /datasets/{datasetId}", + "DeleteGateway": "DELETE /20200301/gateways/{gatewayId}", + "DeletePortal": "DELETE /portals/{portalId}", + "DeleteProject": "DELETE /projects/{projectId}", + "DeleteTimeSeries": "POST /timeseries/delete", + "DescribeAccessPolicy": "GET /access-policies/{accessPolicyId}", + "DescribeAction": "GET /actions/{actionId}", + "DescribeAsset": "GET /assets/{assetId}", + "DescribeAssetCompositeModel": "GET /assets/{assetId}/composite-models/{assetCompositeModelId}", + "DescribeAssetModel": { http: "GET /asset-models/{assetModelId}", traits: { - eTag: "ETag", + "eTag": "ETag", }, }, - DescribeAssetModelCompositeModel: - "GET /asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}", - DescribeAssetModelInterfaceRelationship: - "GET /asset-models/{assetModelId}/interface/{interfaceAssetModelId}/asset-model-interface-relationship", - DescribeAssetProperty: "GET /assets/{assetId}/properties/{propertyId}", - DescribeBulkImportJob: "GET /jobs/{jobId}", - DescribeComputationModel: "GET /computation-models/{computationModelId}", - DescribeComputationModelExecutionSummary: - "GET /computation-models/{computationModelId}/execution-summary", - DescribeDashboard: "GET /dashboards/{dashboardId}", - DescribeDataset: "GET /datasets/{datasetId}", - DescribeDefaultEncryptionConfiguration: - "GET /configuration/account/encryption", - DescribeExecution: "GET /executions/{executionId}", - DescribeGateway: "GET /20200301/gateways/{gatewayId}", - DescribeGatewayCapabilityConfiguration: - "GET /20200301/gateways/{gatewayId}/capability/{capabilityNamespace}", - DescribeLoggingOptions: "GET /logging", - DescribePortal: "GET /portals/{portalId}", - DescribeProject: "GET /projects/{projectId}", - DescribeStorageConfiguration: "GET /configuration/account/storage", - DescribeTimeSeries: "GET /timeseries/describe", - DisassociateAssets: "POST /assets/{assetId}/disassociate", - DisassociateTimeSeriesFromAssetProperty: "POST /timeseries/disassociate", - ExecuteAction: "POST /actions", - ExecuteQuery: "POST /queries/execution", - GetAssetPropertyAggregates: "GET /properties/aggregates", - GetAssetPropertyValue: "GET /properties/latest", - GetAssetPropertyValueHistory: "GET /properties/history", - GetInterpolatedAssetPropertyValues: "GET /properties/interpolated", - InvokeAssistant: { + "DescribeAssetModelCompositeModel": "GET /asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}", + "DescribeAssetModelInterfaceRelationship": "GET /asset-models/{assetModelId}/interface/{interfaceAssetModelId}/asset-model-interface-relationship", + "DescribeAssetProperty": "GET /assets/{assetId}/properties/{propertyId}", + "DescribeBulkImportJob": "GET /jobs/{jobId}", + "DescribeComputationModel": "GET /computation-models/{computationModelId}", + "DescribeComputationModelExecutionSummary": "GET /computation-models/{computationModelId}/execution-summary", + "DescribeDashboard": "GET /dashboards/{dashboardId}", + "DescribeDataset": "GET /datasets/{datasetId}", + "DescribeDefaultEncryptionConfiguration": "GET /configuration/account/encryption", + "DescribeExecution": "GET /executions/{executionId}", + "DescribeGateway": "GET /20200301/gateways/{gatewayId}", + "DescribeGatewayCapabilityConfiguration": "GET /20200301/gateways/{gatewayId}/capability/{capabilityNamespace}", + "DescribeLoggingOptions": "GET /logging", + "DescribePortal": "GET /portals/{portalId}", + "DescribeProject": "GET /projects/{projectId}", + "DescribeStorageConfiguration": "GET /configuration/account/storage", + "DescribeTimeSeries": "GET /timeseries/describe", + "DisassociateAssets": "POST /assets/{assetId}/disassociate", + "DisassociateTimeSeriesFromAssetProperty": "POST /timeseries/disassociate", + "ExecuteAction": "POST /actions", + "ExecuteQuery": "POST /queries/execution", + "GetAssetPropertyAggregates": "GET /properties/aggregates", + "GetAssetPropertyValue": "GET /properties/latest", + "GetAssetPropertyValueHistory": "GET /properties/history", + "GetInterpolatedAssetPropertyValues": "GET /properties/interpolated", + "InvokeAssistant": { http: "POST /assistant/invocation", traits: { - body: "httpStreaming", - conversationId: "x-amz-iotsitewise-assistant-conversation-id", + "body": "httpStreaming", + "conversationId": "x-amz-iotsitewise-assistant-conversation-id", }, }, - ListAccessPolicies: "GET /access-policies", - ListActions: "GET /actions", - ListAssetModelCompositeModels: - "GET /asset-models/{assetModelId}/composite-models", - ListAssetModelProperties: "GET /asset-models/{assetModelId}/properties", - ListAssetModels: "GET /asset-models", - ListAssetProperties: "GET /assets/{assetId}/properties", - ListAssetRelationships: "GET /assets/{assetId}/assetRelationships", - ListAssets: "GET /assets", - ListAssociatedAssets: "GET /assets/{assetId}/hierarchies", - ListBulkImportJobs: "GET /jobs", - ListCompositionRelationships: - "GET /asset-models/{assetModelId}/composition-relationships", - ListComputationModelDataBindingUsages: - "POST /computation-models/data-binding-usages", - ListComputationModelResolveToResources: - "GET /computation-models/{computationModelId}/resolve-to-resources", - ListComputationModels: "GET /computation-models", - ListDashboards: "GET /dashboards", - ListDatasets: "GET /datasets", - ListExecutions: "GET /executions", - ListGateways: "GET /20200301/gateways", - ListInterfaceRelationships: - "GET /interface/{interfaceAssetModelId}/asset-models", - ListPortals: "GET /portals", - ListProjectAssets: "GET /projects/{projectId}/assets", - ListProjects: "GET /projects", - ListTagsForResource: "GET /tags", - ListTimeSeries: "GET /timeseries", - PutAssetModelInterfaceRelationship: - "PUT /asset-models/{assetModelId}/interface/{interfaceAssetModelId}/asset-model-interface-relationship", - PutDefaultEncryptionConfiguration: "POST /configuration/account/encryption", - PutLoggingOptions: "PUT /logging", - PutStorageConfiguration: "POST /configuration/account/storage", - TagResource: "POST /tags", - UntagResource: "DELETE /tags", - UpdateAccessPolicy: "PUT /access-policies/{accessPolicyId}", - UpdateAsset: "PUT /assets/{assetId}", - UpdateAssetModel: "PUT /asset-models/{assetModelId}", - UpdateAssetModelCompositeModel: - "PUT /asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}", - UpdateAssetProperty: "PUT /assets/{assetId}/properties/{propertyId}", - UpdateComputationModel: "POST /computation-models/{computationModelId}", - UpdateDashboard: "PUT /dashboards/{dashboardId}", - UpdateDataset: "PUT /datasets/{datasetId}", - UpdateGateway: "PUT /20200301/gateways/{gatewayId}", - UpdateGatewayCapabilityConfiguration: - "POST /20200301/gateways/{gatewayId}/capability", - UpdatePortal: "PUT /portals/{portalId}", - UpdateProject: "PUT /projects/{projectId}", + "ListAccessPolicies": "GET /access-policies", + "ListActions": "GET /actions", + "ListAssetModelCompositeModels": "GET /asset-models/{assetModelId}/composite-models", + "ListAssetModelProperties": "GET /asset-models/{assetModelId}/properties", + "ListAssetModels": "GET /asset-models", + "ListAssetProperties": "GET /assets/{assetId}/properties", + "ListAssetRelationships": "GET /assets/{assetId}/assetRelationships", + "ListAssets": "GET /assets", + "ListAssociatedAssets": "GET /assets/{assetId}/hierarchies", + "ListBulkImportJobs": "GET /jobs", + "ListCompositionRelationships": "GET /asset-models/{assetModelId}/composition-relationships", + "ListComputationModelDataBindingUsages": "POST /computation-models/data-binding-usages", + "ListComputationModelResolveToResources": "GET /computation-models/{computationModelId}/resolve-to-resources", + "ListComputationModels": "GET /computation-models", + "ListDashboards": "GET /dashboards", + "ListDatasets": "GET /datasets", + "ListExecutions": "GET /executions", + "ListGateways": "GET /20200301/gateways", + "ListInterfaceRelationships": "GET /interface/{interfaceAssetModelId}/asset-models", + "ListPortals": "GET /portals", + "ListProjectAssets": "GET /projects/{projectId}/assets", + "ListProjects": "GET /projects", + "ListTagsForResource": "GET /tags", + "ListTimeSeries": "GET /timeseries", + "PutAssetModelInterfaceRelationship": "PUT /asset-models/{assetModelId}/interface/{interfaceAssetModelId}/asset-model-interface-relationship", + "PutDefaultEncryptionConfiguration": "POST /configuration/account/encryption", + "PutLoggingOptions": "PUT /logging", + "PutStorageConfiguration": "POST /configuration/account/storage", + "TagResource": "POST /tags", + "UntagResource": "DELETE /tags", + "UpdateAccessPolicy": "PUT /access-policies/{accessPolicyId}", + "UpdateAsset": "PUT /assets/{assetId}", + "UpdateAssetModel": "PUT /asset-models/{assetModelId}", + "UpdateAssetModelCompositeModel": "PUT /asset-models/{assetModelId}/composite-models/{assetModelCompositeModelId}", + "UpdateAssetProperty": "PUT /assets/{assetId}/properties/{propertyId}", + "UpdateComputationModel": "POST /computation-models/{computationModelId}", + "UpdateDashboard": "PUT /dashboards/{dashboardId}", + "UpdateDataset": "PUT /datasets/{datasetId}", + "UpdateGateway": "PUT /20200301/gateways/{gatewayId}", + "UpdateGatewayCapabilityConfiguration": "POST /20200301/gateways/{gatewayId}/capability", + "UpdatePortal": "PUT /portals/{portalId}", + "UpdateProject": "PUT /projects/{projectId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/iotsitewise/types.ts b/src/services/iotsitewise/types.ts index bdef3d9d..c7da61eb 100644 --- a/src/services/iotsitewise/types.ts +++ b/src/services/iotsitewise/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTSiteWise extends AWSServiceClient { @@ -40,1126 +8,625 @@ export declare class IoTSiteWise extends AWSServiceClient { input: AssociateAssetsRequest, ): Effect.Effect< {}, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateTimeSeriesToAssetProperty( input: AssociateTimeSeriesToAssetPropertyRequest, ): Effect.Effect< {}, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchAssociateProjectAssets( input: BatchAssociateProjectAssetsRequest, ): Effect.Effect< BatchAssociateProjectAssetsResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchDisassociateProjectAssets( input: BatchDisassociateProjectAssetsRequest, ): Effect.Effect< BatchDisassociateProjectAssetsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchGetAssetPropertyAggregates( input: BatchGetAssetPropertyAggregatesRequest, ): Effect.Effect< BatchGetAssetPropertyAggregatesResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchGetAssetPropertyValue( input: BatchGetAssetPropertyValueRequest, ): Effect.Effect< BatchGetAssetPropertyValueResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchGetAssetPropertyValueHistory( input: BatchGetAssetPropertyValueHistoryRequest, ): Effect.Effect< BatchGetAssetPropertyValueHistoryResponse, - | InternalFailureException - | InvalidRequestException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; batchPutAssetPropertyValue( input: BatchPutAssetPropertyValueRequest, ): Effect.Effect< BatchPutAssetPropertyValueResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createAccessPolicy( input: CreateAccessPolicyRequest, ): Effect.Effect< CreateAccessPolicyResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createAsset( input: CreateAssetRequest, ): Effect.Effect< CreateAssetResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createAssetModel( input: CreateAssetModelRequest, ): Effect.Effect< CreateAssetModelResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createAssetModelCompositeModel( input: CreateAssetModelCompositeModelRequest, ): Effect.Effect< CreateAssetModelCompositeModelResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | PreconditionFailedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | PreconditionFailedException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createBulkImportJob( input: CreateBulkImportJobRequest, ): Effect.Effect< CreateBulkImportJobResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createComputationModel( input: CreateComputationModelRequest, ): Effect.Effect< CreateComputationModelResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createDashboard( input: CreateDashboardRequest, ): Effect.Effect< CreateDashboardResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createDataset( input: CreateDatasetRequest, ): Effect.Effect< CreateDatasetResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createGateway( input: CreateGatewayRequest, ): Effect.Effect< CreateGatewayResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createPortal( input: CreatePortalRequest, ): Effect.Effect< CreatePortalResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createProject( input: CreateProjectRequest, ): Effect.Effect< CreateProjectResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAccessPolicy( input: DeleteAccessPolicyRequest, ): Effect.Effect< DeleteAccessPolicyResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAsset( input: DeleteAssetRequest, ): Effect.Effect< DeleteAssetResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAssetModel( input: DeleteAssetModelRequest, ): Effect.Effect< DeleteAssetModelResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | PreconditionFailedException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | PreconditionFailedException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAssetModelCompositeModel( input: DeleteAssetModelCompositeModelRequest, ): Effect.Effect< DeleteAssetModelCompositeModelResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | PreconditionFailedException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | PreconditionFailedException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAssetModelInterfaceRelationship( input: DeleteAssetModelInterfaceRelationshipRequest, ): Effect.Effect< DeleteAssetModelInterfaceRelationshipResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteComputationModel( input: DeleteComputationModelRequest, ): Effect.Effect< DeleteComputationModelResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDashboard( input: DeleteDashboardRequest, ): Effect.Effect< DeleteDashboardResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDataset( input: DeleteDatasetRequest, ): Effect.Effect< DeleteDatasetResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteGateway( input: DeleteGatewayRequest, ): Effect.Effect< {}, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deletePortal( input: DeletePortalRequest, ): Effect.Effect< DeletePortalResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteProject( input: DeleteProjectRequest, ): Effect.Effect< DeleteProjectResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteTimeSeries( input: DeleteTimeSeriesRequest, ): Effect.Effect< {}, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAccessPolicy( input: DescribeAccessPolicyRequest, ): Effect.Effect< DescribeAccessPolicyResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAction( input: DescribeActionRequest, ): Effect.Effect< DescribeActionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAsset( input: DescribeAssetRequest, ): Effect.Effect< DescribeAssetResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAssetCompositeModel( input: DescribeAssetCompositeModelRequest, ): Effect.Effect< DescribeAssetCompositeModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAssetModel( input: DescribeAssetModelRequest, ): Effect.Effect< DescribeAssetModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAssetModelCompositeModel( input: DescribeAssetModelCompositeModelRequest, ): Effect.Effect< DescribeAssetModelCompositeModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAssetModelInterfaceRelationship( input: DescribeAssetModelInterfaceRelationshipRequest, ): Effect.Effect< DescribeAssetModelInterfaceRelationshipResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAssetProperty( input: DescribeAssetPropertyRequest, ): Effect.Effect< DescribeAssetPropertyResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeBulkImportJob( input: DescribeBulkImportJobRequest, ): Effect.Effect< DescribeBulkImportJobResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeComputationModel( input: DescribeComputationModelRequest, ): Effect.Effect< DescribeComputationModelResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeComputationModelExecutionSummary( input: DescribeComputationModelExecutionSummaryRequest, ): Effect.Effect< DescribeComputationModelExecutionSummaryResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDashboard( input: DescribeDashboardRequest, ): Effect.Effect< DescribeDashboardResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDataset( input: DescribeDatasetRequest, ): Effect.Effect< DescribeDatasetResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDefaultEncryptionConfiguration( input: DescribeDefaultEncryptionConfigurationRequest, ): Effect.Effect< DescribeDefaultEncryptionConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; describeExecution( input: DescribeExecutionRequest, ): Effect.Effect< DescribeExecutionResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeGateway( input: DescribeGatewayRequest, ): Effect.Effect< DescribeGatewayResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeGatewayCapabilityConfiguration( input: DescribeGatewayCapabilityConfigurationRequest, ): Effect.Effect< DescribeGatewayCapabilityConfigurationResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeLoggingOptions( input: DescribeLoggingOptionsRequest, ): Effect.Effect< DescribeLoggingOptionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describePortal( input: DescribePortalRequest, ): Effect.Effect< DescribePortalResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeProject( input: DescribeProjectRequest, ): Effect.Effect< DescribeProjectResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeStorageConfiguration( input: DescribeStorageConfigurationRequest, ): Effect.Effect< DescribeStorageConfigurationResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeTimeSeries( input: DescribeTimeSeriesRequest, ): Effect.Effect< DescribeTimeSeriesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateAssets( input: DisassociateAssetsRequest, - ): Effect.Effect< - {}, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ): Effect.Effect< + {}, + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateTimeSeriesFromAssetProperty( input: DisassociateTimeSeriesFromAssetPropertyRequest, ): Effect.Effect< {}, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; executeAction( input: ExecuteActionRequest, ): Effect.Effect< ExecuteActionResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; executeQuery( input: ExecuteQueryRequest, ): Effect.Effect< ExecuteQueryResponse, - | AccessDeniedException - | InternalFailureException - | InvalidRequestException - | QueryTimeoutException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidRequestException | QueryTimeoutException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getAssetPropertyAggregates( input: GetAssetPropertyAggregatesRequest, ): Effect.Effect< GetAssetPropertyAggregatesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getAssetPropertyValue( input: GetAssetPropertyValueRequest, ): Effect.Effect< GetAssetPropertyValueResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getAssetPropertyValueHistory( input: GetAssetPropertyValueHistoryRequest, ): Effect.Effect< GetAssetPropertyValueHistoryResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getInterpolatedAssetPropertyValues( input: GetInterpolatedAssetPropertyValuesRequest, ): Effect.Effect< GetInterpolatedAssetPropertyValuesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; invokeAssistant( input: InvokeAssistantRequest, ): Effect.Effect< InvokeAssistantResponse, - | AccessDeniedException - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAccessPolicies( input: ListAccessPoliciesRequest, ): Effect.Effect< ListAccessPoliciesResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listActions( input: ListActionsRequest, ): Effect.Effect< ListActionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAssetModelCompositeModels( input: ListAssetModelCompositeModelsRequest, ): Effect.Effect< ListAssetModelCompositeModelsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAssetModelProperties( input: ListAssetModelPropertiesRequest, ): Effect.Effect< ListAssetModelPropertiesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAssetModels( input: ListAssetModelsRequest, ): Effect.Effect< ListAssetModelsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listAssetProperties( input: ListAssetPropertiesRequest, ): Effect.Effect< ListAssetPropertiesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAssetRelationships( input: ListAssetRelationshipsRequest, ): Effect.Effect< ListAssetRelationshipsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAssets( input: ListAssetsRequest, ): Effect.Effect< ListAssetsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAssociatedAssets( input: ListAssociatedAssetsRequest, ): Effect.Effect< ListAssociatedAssetsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listBulkImportJobs( input: ListBulkImportJobsRequest, ): Effect.Effect< ListBulkImportJobsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listCompositionRelationships( input: ListCompositionRelationshipsRequest, ): Effect.Effect< ListCompositionRelationshipsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listComputationModelDataBindingUsages( input: ListComputationModelDataBindingUsagesRequest, ): Effect.Effect< ListComputationModelDataBindingUsagesResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listComputationModelResolveToResources( input: ListComputationModelResolveToResourcesRequest, ): Effect.Effect< ListComputationModelResolveToResourcesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listComputationModels( input: ListComputationModelsRequest, ): Effect.Effect< ListComputationModelsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listDashboards( input: ListDashboardsRequest, ): Effect.Effect< ListDashboardsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listDatasets( input: ListDatasetsRequest, ): Effect.Effect< ListDatasetsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listExecutions( input: ListExecutionsRequest, ): Effect.Effect< ListExecutionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listGateways( input: ListGatewaysRequest, ): Effect.Effect< ListGatewaysResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listInterfaceRelationships( input: ListInterfaceRelationshipsRequest, ): Effect.Effect< ListInterfaceRelationshipsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listPortals( input: ListPortalsRequest, ): Effect.Effect< ListPortalsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listProjectAssets( input: ListProjectAssetsRequest, ): Effect.Effect< ListProjectAssetsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listProjects( input: ListProjectsRequest, ): Effect.Effect< ListProjectsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; listTimeSeries( input: ListTimeSeriesRequest, ): Effect.Effect< ListTimeSeriesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putAssetModelInterfaceRelationship( input: PutAssetModelInterfaceRelationshipRequest, ): Effect.Effect< PutAssetModelInterfaceRelationshipResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putDefaultEncryptionConfiguration( input: PutDefaultEncryptionConfigurationRequest, ): Effect.Effect< PutDefaultEncryptionConfigurationResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ThrottlingException | CommonAwsError >; putLoggingOptions( input: PutLoggingOptionsRequest, ): Effect.Effect< PutLoggingOptionsResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putStorageConfiguration( input: PutStorageConfigurationRequest, ): Effect.Effect< PutStorageConfigurationResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | TooManyTagsException - | UnauthorizedException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | TooManyTagsException | UnauthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | CommonAwsError >; updateAccessPolicy( input: UpdateAccessPolicyRequest, ): Effect.Effect< UpdateAccessPolicyResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAsset( input: UpdateAssetRequest, ): Effect.Effect< UpdateAssetResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAssetModel( input: UpdateAssetModelRequest, ): Effect.Effect< UpdateAssetModelResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | PreconditionFailedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | PreconditionFailedException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAssetModelCompositeModel( input: UpdateAssetModelCompositeModelRequest, ): Effect.Effect< UpdateAssetModelCompositeModelResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | PreconditionFailedException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | PreconditionFailedException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAssetProperty( input: UpdateAssetPropertyRequest, ): Effect.Effect< {}, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateComputationModel( input: UpdateComputationModelRequest, ): Effect.Effect< UpdateComputationModelResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDashboard( input: UpdateDashboardRequest, ): Effect.Effect< UpdateDashboardResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDataset( input: UpdateDatasetRequest, ): Effect.Effect< UpdateDatasetResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateGateway( input: UpdateGatewayRequest, ): Effect.Effect< {}, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateGatewayCapabilityConfiguration( input: UpdateGatewayCapabilityConfigurationRequest, ): Effect.Effect< UpdateGatewayCapabilityConfigurationResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updatePortal( input: UpdatePortalRequest, ): Effect.Effect< UpdatePortalResponse, - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + ConflictingOperationException | InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateProject( input: UpdateProjectRequest, ): Effect.Effect< UpdateProjectResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -1215,13 +682,7 @@ export interface Aggregates { sum?: number; standardDeviation?: number; } -export type AggregateType = - | "AVERAGE" - | "COUNT" - | "MAXIMUM" - | "MINIMUM" - | "SUM" - | "STANDARD_DEVIATION"; +export type AggregateType = "AVERAGE" | "COUNT" | "MAXIMUM" | "MINIMUM" | "SUM" | "STANDARD_DEVIATION"; export type AggregateTypes = Array; export interface Alarms { alarmRoleArn: string; @@ -1295,17 +756,14 @@ export interface AssetModelCompositeModelDefinition { type: string; properties?: Array; } -export type AssetModelCompositeModelDefinitions = - Array; -export type AssetModelCompositeModelPath = - Array; +export type AssetModelCompositeModelDefinitions = Array; +export type AssetModelCompositeModelPath = Array; export interface AssetModelCompositeModelPathSegment { id?: string; name?: string; } export type AssetModelCompositeModels = Array; -export type AssetModelCompositeModelSummaries = - Array; +export type AssetModelCompositeModelSummaries = Array; export interface AssetModelCompositeModelSummary { id: string; externalId?: string; @@ -1327,8 +785,7 @@ export interface AssetModelHierarchyDefinition { name: string; childAssetModelId: string; } -export type AssetModelHierarchyDefinitions = - Array; +export type AssetModelHierarchyDefinitions = Array; export type AssetModelProperties = Array; export interface AssetModelProperty { id?: string; @@ -1376,13 +833,7 @@ export interface AssetModelPropertySummary { path?: Array; interfaceSummaries?: Array; } -export type AssetModelState = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "PROPAGATING" - | "DELETING" - | "FAILED"; +export type AssetModelState = "CREATING" | "ACTIVE" | "UPDATING" | "PROPAGATING" | "DELETING" | "FAILED"; export interface AssetModelStatus { state: AssetModelState; error?: ErrorDetails; @@ -1454,12 +905,7 @@ export interface AssetRelationshipSummary { relationshipType: AssetRelationshipType; } export type AssetRelationshipType = "HIERARCHY"; -export type AssetState = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "FAILED"; +export type AssetState = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED"; export interface AssetStatus { state: AssetState; error?: ErrorDetails; @@ -1525,8 +971,7 @@ export interface BatchDisassociateProjectAssetsResponse { errors?: Array; } export type BatchEntryCompletionStatus = "SUCCESS" | "ERROR"; -export type BatchGetAssetPropertyAggregatesEntries = - Array; +export type BatchGetAssetPropertyAggregatesEntries = Array; export interface BatchGetAssetPropertyAggregatesEntry { entryId: string; assetId?: string; @@ -1539,12 +984,8 @@ export interface BatchGetAssetPropertyAggregatesEntry { qualities?: Array; timeOrdering?: TimeOrdering; } -export type BatchGetAssetPropertyAggregatesErrorCode = - | "ResourceNotFoundException" - | "InvalidRequestException" - | "AccessDeniedException"; -export type BatchGetAssetPropertyAggregatesErrorEntries = - Array; +export type BatchGetAssetPropertyAggregatesErrorCode = "ResourceNotFoundException" | "InvalidRequestException" | "AccessDeniedException"; +export type BatchGetAssetPropertyAggregatesErrorEntries = Array; export interface BatchGetAssetPropertyAggregatesErrorEntry { errorCode: BatchGetAssetPropertyAggregatesErrorCode; errorMessage: string; @@ -1567,33 +1008,26 @@ export interface BatchGetAssetPropertyAggregatesResponse { skippedEntries: Array; nextToken?: string; } -export type BatchGetAssetPropertyAggregatesSkippedEntries = - Array; +export type BatchGetAssetPropertyAggregatesSkippedEntries = Array; export interface BatchGetAssetPropertyAggregatesSkippedEntry { entryId: string; completionStatus: BatchEntryCompletionStatus; errorInfo?: BatchGetAssetPropertyAggregatesErrorInfo; } -export type BatchGetAssetPropertyAggregatesSuccessEntries = - Array; +export type BatchGetAssetPropertyAggregatesSuccessEntries = Array; export interface BatchGetAssetPropertyAggregatesSuccessEntry { entryId: string; aggregatedValues: Array; } -export type BatchGetAssetPropertyValueEntries = - Array; +export type BatchGetAssetPropertyValueEntries = Array; export interface BatchGetAssetPropertyValueEntry { entryId: string; assetId?: string; propertyId?: string; propertyAlias?: string; } -export type BatchGetAssetPropertyValueErrorCode = - | "ResourceNotFoundException" - | "InvalidRequestException" - | "AccessDeniedException"; -export type BatchGetAssetPropertyValueErrorEntries = - Array; +export type BatchGetAssetPropertyValueErrorCode = "ResourceNotFoundException" | "InvalidRequestException" | "AccessDeniedException"; +export type BatchGetAssetPropertyValueErrorEntries = Array; export interface BatchGetAssetPropertyValueErrorEntry { errorCode: BatchGetAssetPropertyValueErrorCode; errorMessage: string; @@ -1603,8 +1037,7 @@ export interface BatchGetAssetPropertyValueErrorInfo { errorCode: BatchGetAssetPropertyValueErrorCode; errorTimestamp: Date | string; } -export type BatchGetAssetPropertyValueHistoryEntries = - Array; +export type BatchGetAssetPropertyValueHistoryEntries = Array; export interface BatchGetAssetPropertyValueHistoryEntry { entryId: string; assetId?: string; @@ -1615,12 +1048,8 @@ export interface BatchGetAssetPropertyValueHistoryEntry { qualities?: Array; timeOrdering?: TimeOrdering; } -export type BatchGetAssetPropertyValueHistoryErrorCode = - | "ResourceNotFoundException" - | "InvalidRequestException" - | "AccessDeniedException"; -export type BatchGetAssetPropertyValueHistoryErrorEntries = - Array; +export type BatchGetAssetPropertyValueHistoryErrorCode = "ResourceNotFoundException" | "InvalidRequestException" | "AccessDeniedException"; +export type BatchGetAssetPropertyValueHistoryErrorEntries = Array; export interface BatchGetAssetPropertyValueHistoryErrorEntry { errorCode: BatchGetAssetPropertyValueHistoryErrorCode; errorMessage: string; @@ -1643,15 +1072,13 @@ export interface BatchGetAssetPropertyValueHistoryResponse { skippedEntries: Array; nextToken?: string; } -export type BatchGetAssetPropertyValueHistorySkippedEntries = - Array; +export type BatchGetAssetPropertyValueHistorySkippedEntries = Array; export interface BatchGetAssetPropertyValueHistorySkippedEntry { entryId: string; completionStatus: BatchEntryCompletionStatus; errorInfo?: BatchGetAssetPropertyValueHistoryErrorInfo; } -export type BatchGetAssetPropertyValueHistorySuccessEntries = - Array; +export type BatchGetAssetPropertyValueHistorySuccessEntries = Array; export interface BatchGetAssetPropertyValueHistorySuccessEntry { entryId: string; assetPropertyValueHistory: Array; @@ -1666,15 +1093,13 @@ export interface BatchGetAssetPropertyValueResponse { skippedEntries: Array; nextToken?: string; } -export type BatchGetAssetPropertyValueSkippedEntries = - Array; +export type BatchGetAssetPropertyValueSkippedEntries = Array; export interface BatchGetAssetPropertyValueSkippedEntry { entryId: string; completionStatus: BatchEntryCompletionStatus; errorInfo?: BatchGetAssetPropertyValueErrorInfo; } -export type BatchGetAssetPropertyValueSuccessEntries = - Array; +export type BatchGetAssetPropertyValueSuccessEntries = Array; export interface BatchGetAssetPropertyValueSuccessEntry { entryId: string; assetPropertyValue?: AssetPropertyValue; @@ -1684,23 +1109,13 @@ export interface BatchPutAssetPropertyError { errorMessage: string; timestamps: Array; } -export type BatchPutAssetPropertyErrorEntries = - Array; +export type BatchPutAssetPropertyErrorEntries = Array; export interface BatchPutAssetPropertyErrorEntry { entryId: string; errors: Array; } export type BatchPutAssetPropertyErrors = Array; -export type BatchPutAssetPropertyValueErrorCode = - | "ResourceNotFoundException" - | "InvalidRequestException" - | "InternalFailureException" - | "ServiceUnavailableException" - | "ThrottlingException" - | "LimitExceededException" - | "ConflictingOperationException" - | "TimestampOutOfRangeException" - | "AccessDeniedException"; +export type BatchPutAssetPropertyValueErrorCode = "ResourceNotFoundException" | "InvalidRequestException" | "InternalFailureException" | "ServiceUnavailableException" | "ThrottlingException" | "LimitExceededException" | "ConflictingOperationException" | "TimestampOutOfRangeException" | "AccessDeniedException"; export interface BatchPutAssetPropertyValueRequest { enablePartialEntryProcessing?: boolean; entries: Array; @@ -1717,12 +1132,7 @@ export type CapabilityConfiguration = string; export type CapabilityNamespace = string; -export type CapabilitySyncStatus = - | "IN_SYNC" - | "OUT_OF_SYNC" - | "SYNC_FAILED" - | "UNKNOWN" - | "NOT_APPLICABLE"; +export type CapabilitySyncStatus = "IN_SYNC" | "OUT_OF_SYNC" | "SYNC_FAILED" | "UNKNOWN" | "NOT_APPLICABLE"; export interface Citation { reference?: Reference; content?: Content; @@ -1734,15 +1144,7 @@ export interface ColumnInfo { name?: string; type?: ColumnType; } -export type ColumnName = - | "ALIAS" - | "ASSET_ID" - | "PROPERTY_ID" - | "DATA_TYPE" - | "TIMESTAMP_SECONDS" - | "TIMESTAMP_NANO_OFFSET" - | "QUALITY" - | "VALUE"; +export type ColumnName = "ALIAS" | "ASSET_ID" | "PROPERTY_ID" | "DATA_TYPE" | "TIMESTAMP_SECONDS" | "TIMESTAMP_NANO_OFFSET" | "QUALITY" | "VALUE"; export type ColumnNames = Array; export type ColumnsList = Array; export interface ColumnType { @@ -1762,8 +1164,7 @@ export type CompositionRelationship = Array; export interface CompositionRelationshipItem { id?: string; } -export type CompositionRelationshipSummaries = - Array; +export type CompositionRelationshipSummaries = Array; export interface CompositionRelationshipSummary { assetModelId: string; assetModelCompositeModelId: string; @@ -1776,12 +1177,8 @@ export interface ComputationModelAnomalyDetectionConfiguration { export interface ComputationModelConfiguration { anomalyDetection?: ComputationModelAnomalyDetectionConfiguration; } -export type ComputationModelDataBinding = Record< - string, - ComputationModelDataBindingValue ->; -export type ComputationModelDataBindingUsageSummaries = - Array; +export type ComputationModelDataBinding = Record; +export type ComputationModelDataBindingUsageSummaries = Array; export interface ComputationModelDataBindingUsageSummary { computationModelIds: Array; matchedDataBinding: MatchedDataBinding; @@ -1799,17 +1196,11 @@ export type ComputationModelExecutionSummaryKey = string; export type ComputationModelExecutionSummaryValue = string; export type ComputationModelIdList = Array; -export type ComputationModelResolveToResourceSummaries = - Array; +export type ComputationModelResolveToResourceSummaries = Array; export interface ComputationModelResolveToResourceSummary { resolveTo?: ResolveTo; } -export type ComputationModelState = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "FAILED"; +export type ComputationModelState = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED"; export interface ComputationModelStatus { state: ComputationModelState; error?: ErrorDetails; @@ -1834,10 +1225,7 @@ export interface ConfigurationErrorDetails { code: ErrorCode; message: string; } -export type ConfigurationState = - | "ACTIVE" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED"; +export type ConfigurationState = "ACTIVE" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED"; export interface ConfigurationStatus { state: ConfigurationState; error?: ConfigurationErrorDetails; @@ -1854,10 +1242,7 @@ export interface Content { } export type ConversationId = string; -export type CoreDeviceOperatingSystem = - | "LINUX_AARCH64" - | "LINUX_AMD64" - | "WINDOWS_AMD64"; +export type CoreDeviceOperatingSystem = "LINUX_AARCH64" | "LINUX_AMD64" | "WINDOWS_AMD64"; export type CoreDeviceThingName = string; export interface CreateAccessPolicyRequest { @@ -2058,12 +1443,7 @@ export interface DatasetSource { } export type DatasetSourceFormat = "KNOWLEDGE_BASE"; export type DatasetSourceType = "KENDRA"; -export type DatasetState = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "FAILED"; +export type DatasetState = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "FAILED"; export interface DatasetStatus { state: DatasetState; error?: ErrorDetails; @@ -2091,7 +1471,8 @@ export interface DeleteAccessPolicyRequest { accessPolicyId: string; clientToken?: string; } -export interface DeleteAccessPolicyResponse {} +export interface DeleteAccessPolicyResponse { +} export interface DeleteAssetModelCompositeModelRequest { assetModelId: string; assetModelCompositeModelId: string; @@ -2142,7 +1523,8 @@ export interface DeleteDashboardRequest { dashboardId: string; clientToken?: string; } -export interface DeleteDashboardResponse {} +export interface DeleteDashboardResponse { +} export interface DeleteDatasetRequest { datasetId: string; clientToken?: string; @@ -2166,7 +1548,8 @@ export interface DeleteProjectRequest { projectId: string; clientToken?: string; } -export interface DeleteProjectResponse {} +export interface DeleteProjectResponse { +} export interface DeleteTimeSeriesRequest { alias?: string; assetId?: string; @@ -2364,7 +1747,8 @@ export interface DescribeDatasetResponse { datasetLastUpdateDate: Date | string; datasetVersion?: string; } -export interface DescribeDefaultEncryptionConfigurationRequest {} +export interface DescribeDefaultEncryptionConfigurationRequest { +} export interface DescribeDefaultEncryptionConfigurationResponse { encryptionType: EncryptionType; kmsKeyArn?: string; @@ -2409,7 +1793,8 @@ export interface DescribeGatewayResponse { creationDate: Date | string; lastUpdateDate: Date | string; } -export interface DescribeLoggingOptionsRequest {} +export interface DescribeLoggingOptionsRequest { +} export interface DescribeLoggingOptionsResponse { loggingOptions: LoggingOptions; } @@ -2447,7 +1832,8 @@ export interface DescribeProjectResponse { projectCreationDate: Date | string; projectLastUpdateDate: Date | string; } -export interface DescribeStorageConfigurationRequest {} +export interface DescribeStorageConfigurationRequest { +} export interface DescribeStorageConfigurationResponse { storageType: StorageType; multiLayerStorage?: MultiLayerStorage; @@ -2481,9 +1867,7 @@ export interface DetailedError { code: DetailedErrorCode; message: string; } -export type DetailedErrorCode = - | "INCOMPATIBLE_COMPUTE_LOCATION" - | "INCOMPATIBLE_FORWARDING_CONFIGURATION"; +export type DetailedErrorCode = "INCOMPATIBLE_COMPUTE_LOCATION" | "INCOMPATIBLE_FORWARDING_CONFIGURATION"; export type DetailedErrorMessage = string; export type DetailedErrors = Array; @@ -2504,9 +1888,7 @@ export interface DisassociateTimeSeriesFromAssetPropertyRequest { } export type Email = string; -export type EncryptionType = - | "SITEWISE_DEFAULT_ENCRYPTION" - | "KMS_BASED_ENCRYPTION"; +export type EncryptionType = "SITEWISE_DEFAULT_ENCRYPTION" | "KMS_BASED_ENCRYPTION"; export type EntryId = string; export type ErrorCode = "VALIDATION_ERROR" | "INTERNAL_FAILURE"; @@ -2744,8 +2126,7 @@ export type InterfaceDetails = Array; export interface InterfaceRelationship { id: string; } -export type InterfaceRelationshipSummaries = - Array; +export type InterfaceRelationshipSummaries = Array; export interface InterfaceRelationshipSummary { id: string; } @@ -2763,8 +2144,7 @@ export interface InterpolatedAssetPropertyValue { timestamp: TimeInNanos; value: Variant; } -export type InterpolatedAssetPropertyValues = - Array; +export type InterpolatedAssetPropertyValues = Array; export type InterpolationType = string; export type Interval = string; @@ -2796,13 +2176,7 @@ export type IotCoreThingName = string; export interface JobConfiguration { fileFormat: FileFormat; } -export type JobStatus = - | "PENDING" - | "CANCELLED" - | "RUNNING" - | "COMPLETED" - | "FAILED" - | "COMPLETED_WITH_FAILURES"; +export type JobStatus = "PENDING" | "CANCELLED" | "RUNNING" | "COMPLETED" | "FAILED" | "COMPLETED_WITH_FAILURES"; export type JobSummaries = Array; export interface JobSummary { id: string; @@ -2921,14 +2295,7 @@ export interface ListAssociatedAssetsResponse { assetSummaries: Array; nextToken?: string; } -export type ListBulkImportJobsFilter = - | "ALL" - | "PENDING" - | "RUNNING" - | "CANCELLED" - | "FAILED" - | "COMPLETED_WITH_FAILURES" - | "COMPLETED"; +export type ListBulkImportJobsFilter = "ALL" | "PENDING" | "RUNNING" | "CANCELLED" | "FAILED" | "COMPLETED_WITH_FAILURES" | "COMPLETED"; export interface ListBulkImportJobsRequest { nextToken?: string; maxResults?: number; @@ -3104,10 +2471,7 @@ export interface MetricProcessingConfig { export interface MetricWindow { tumbling?: TumblingWindow; } -export type MonitorErrorCode = - | "INTERNAL_FAILURE" - | "VALIDATION_ERROR" - | "LIMIT_EXCEEDED"; +export type MonitorErrorCode = "INTERNAL_FAILURE" | "VALIDATION_ERROR" | "LIMIT_EXCEEDED"; export interface MonitorErrorDetails { code?: MonitorErrorCode; message?: string; @@ -3129,20 +2493,15 @@ export type Offset = string; export type OffsetInNanos = number; -export interface Parquet {} +export interface Parquet { +} export type Permission = "ADMINISTRATOR" | "VIEWER"; export type PortalClientId = string; export interface PortalResource { id: string; } -export type PortalState = - | "CREATING" - | "PENDING" - | "UPDATING" - | "DELETING" - | "ACTIVE" - | "FAILED"; +export type PortalState = "CREATING" | "PENDING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED"; export interface PortalStatus { state: PortalState; error?: MonitorErrorDetails; @@ -3198,12 +2557,7 @@ export interface Property { } export type PropertyAlias = string; -export type PropertyDataType = - | "STRING" - | "INTEGER" - | "DOUBLE" - | "BOOLEAN" - | "STRUCT"; +export type PropertyDataType = "STRING" | "INTEGER" | "DOUBLE" | "BOOLEAN" | "STRUCT"; export interface PropertyMapping { assetModelPropertyId: string; interfaceAssetModelPropertyId: string; @@ -3272,7 +2626,8 @@ export interface PutDefaultEncryptionConfigurationResponse { export interface PutLoggingOptionsRequest { loggingOptions: LoggingOptions; } -export interface PutLoggingOptionsResponse {} +export interface PutLoggingOptionsResponse { +} export interface PutStorageConfigurationRequest { storageType: StorageType; multiLayerStorage?: MultiLayerStorage; @@ -3344,18 +2699,7 @@ interface _ResponseStream { throttlingException?: ThrottlingException; } -export type ResponseStream = - | (_ResponseStream & { trace: Trace }) - | (_ResponseStream & { output: InvocationOutput }) - | (_ResponseStream & { accessDeniedException: AccessDeniedException }) - | (_ResponseStream & { - conflictingOperationException: ConflictingOperationException; - }) - | (_ResponseStream & { internalFailureException: InternalFailureException }) - | (_ResponseStream & { invalidRequestException: InvalidRequestException }) - | (_ResponseStream & { limitExceededException: LimitExceededException }) - | (_ResponseStream & { resourceNotFoundException: ResourceNotFoundException }) - | (_ResponseStream & { throttlingException: ThrottlingException }); +export type ResponseStream = (_ResponseStream & { trace: Trace }) | (_ResponseStream & { output: InvocationOutput }) | (_ResponseStream & { accessDeniedException: AccessDeniedException }) | (_ResponseStream & { conflictingOperationException: ConflictingOperationException }) | (_ResponseStream & { internalFailureException: InternalFailureException }) | (_ResponseStream & { invalidRequestException: InvalidRequestException }) | (_ResponseStream & { limitExceededException: LimitExceededException }) | (_ResponseStream & { resourceNotFoundException: ResourceNotFoundException }) | (_ResponseStream & { throttlingException: ThrottlingException }); export type RestrictedDescription = string; export type RestrictedName = string; @@ -3403,7 +2747,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TargetResource { @@ -3475,7 +2820,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAccessPolicyRequest { accessPolicyId: string; accessPolicyIdentity: Identity; @@ -3483,7 +2829,8 @@ export interface UpdateAccessPolicyRequest { accessPolicyPermission: Permission; clientToken?: string; } -export interface UpdateAccessPolicyResponse {} +export interface UpdateAccessPolicyResponse { +} export interface UpdateAssetModelCompositeModelRequest { assetModelId: string; assetModelCompositeModelId: string; @@ -3552,7 +2899,8 @@ export interface UpdateDashboardRequest { dashboardDefinition: string; clientToken?: string; } -export interface UpdateDashboardResponse {} +export interface UpdateDashboardResponse { +} export interface UpdateDatasetRequest { datasetId: string; datasetName: string; @@ -3600,7 +2948,8 @@ export interface UpdateProjectRequest { projectDescription?: string; clientToken?: string; } -export interface UpdateProjectResponse {} +export interface UpdateProjectResponse { +} export type Url = string; export interface UserIdentity { @@ -4861,19 +4210,5 @@ export declare namespace UpdateProject { | CommonAwsError; } -export type IoTSiteWiseErrors = - | AccessDeniedException - | ConflictingOperationException - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | PreconditionFailedException - | QueryTimeoutException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | TooManyTagsException - | UnauthorizedException - | ValidationException - | CommonAwsError; +export type IoTSiteWiseErrors = AccessDeniedException | ConflictingOperationException | InternalFailureException | InvalidRequestException | LimitExceededException | PreconditionFailedException | QueryTimeoutException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | TooManyTagsException | UnauthorizedException | ValidationException | CommonAwsError; + diff --git a/src/services/iotthingsgraph/index.ts b/src/services/iotthingsgraph/index.ts index 14fb7f05..fe9e6d0a 100644 --- a/src/services/iotthingsgraph/index.ts +++ b/src/services/iotthingsgraph/index.ts @@ -5,25 +5,7 @@ import type { IoTThingsGraph as _IoTThingsGraphClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/iotthingsgraph/types.ts b/src/services/iotthingsgraph/types.ts index 2a8bc1ff..cc7af590 100644 --- a/src/services/iotthingsgraph/types.ts +++ b/src/services/iotthingsgraph/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTThingsGraph extends AWSServiceClient { @@ -42,53 +8,31 @@ export declare class IoTThingsGraph extends AWSServiceClient { input: AssociateEntityToThingRequest, ): Effect.Effect< AssociateEntityToThingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createFlowTemplate( input: CreateFlowTemplateRequest, ): Effect.Effect< CreateFlowTemplateResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createSystemInstance( input: CreateSystemInstanceRequest, ): Effect.Effect< CreateSystemInstanceResponse, - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; createSystemTemplate( input: CreateSystemTemplateRequest, ): Effect.Effect< CreateSystemTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; deleteFlowTemplate( input: DeleteFlowTemplateRequest, ): Effect.Effect< DeleteFlowTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ThrottlingException | CommonAwsError >; deleteNamespace( input: DeleteNamespaceRequest, @@ -100,287 +44,175 @@ export declare class IoTThingsGraph extends AWSServiceClient { input: DeleteSystemInstanceRequest, ): Effect.Effect< DeleteSystemInstanceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ThrottlingException | CommonAwsError >; deleteSystemTemplate( input: DeleteSystemTemplateRequest, ): Effect.Effect< DeleteSystemTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ThrottlingException | CommonAwsError >; deploySystemInstance( input: DeploySystemInstanceRequest, ): Effect.Effect< DeploySystemInstanceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deprecateFlowTemplate( input: DeprecateFlowTemplateRequest, ): Effect.Effect< DeprecateFlowTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deprecateSystemTemplate( input: DeprecateSystemTemplateRequest, ): Effect.Effect< DeprecateSystemTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeNamespace( input: DescribeNamespaceRequest, ): Effect.Effect< DescribeNamespaceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; dissociateEntityFromThing( input: DissociateEntityFromThingRequest, ): Effect.Effect< DissociateEntityFromThingResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getEntities( input: GetEntitiesRequest, ): Effect.Effect< GetEntitiesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getFlowTemplate( input: GetFlowTemplateRequest, ): Effect.Effect< GetFlowTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getFlowTemplateRevisions( input: GetFlowTemplateRevisionsRequest, ): Effect.Effect< GetFlowTemplateRevisionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getNamespaceDeletionStatus( input: GetNamespaceDeletionStatusRequest, ): Effect.Effect< GetNamespaceDeletionStatusResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; getSystemInstance( input: GetSystemInstanceRequest, ): Effect.Effect< GetSystemInstanceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSystemTemplate( input: GetSystemTemplateRequest, ): Effect.Effect< GetSystemTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSystemTemplateRevisions( input: GetSystemTemplateRevisionsRequest, ): Effect.Effect< GetSystemTemplateRevisionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getUploadStatus( input: GetUploadStatusRequest, ): Effect.Effect< GetUploadStatusResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listFlowExecutionMessages( input: ListFlowExecutionMessagesRequest, ): Effect.Effect< ListFlowExecutionMessagesResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; searchEntities( input: SearchEntitiesRequest, ): Effect.Effect< SearchEntitiesResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; searchFlowExecutions( input: SearchFlowExecutionsRequest, ): Effect.Effect< SearchFlowExecutionsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchFlowTemplates( input: SearchFlowTemplatesRequest, ): Effect.Effect< SearchFlowTemplatesResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; searchSystemInstances( input: SearchSystemInstancesRequest, ): Effect.Effect< SearchSystemInstancesResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; searchSystemTemplates( input: SearchSystemTemplatesRequest, ): Effect.Effect< SearchSystemTemplatesResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; searchThings( input: SearchThingsRequest, ): Effect.Effect< SearchThingsResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; undeploySystemInstance( input: UndeploySystemInstanceRequest, ): Effect.Effect< UndeploySystemInstanceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalFailureException - | InvalidRequestException - | ResourceAlreadyExistsException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceAlreadyExistsException | ThrottlingException | CommonAwsError >; updateFlowTemplate( input: UpdateFlowTemplateRequest, ): Effect.Effect< UpdateFlowTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateSystemTemplate( input: UpdateSystemTemplateRequest, ): Effect.Effect< UpdateSystemTemplateResponse, - | InternalFailureException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; uploadEntityDefinitions( input: UploadEntityDefinitionsRequest, ): Effect.Effect< UploadEntityDefinitionsResponse, - | InternalFailureException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalFailureException | InvalidRequestException | ThrottlingException | CommonAwsError >; } @@ -393,7 +225,8 @@ export interface AssociateEntityToThingRequest { entityId: string; namespaceVersion?: number; } -export interface AssociateEntityToThingResponse {} +export interface AssociateEntityToThingResponse { +} export interface CreateFlowTemplateRequest { definition: DefinitionDocument; compatibleNamespaceVersion?: number; @@ -430,8 +263,10 @@ export type DefinitionText = string; export interface DeleteFlowTemplateRequest { id: string; } -export interface DeleteFlowTemplateResponse {} -export interface DeleteNamespaceRequest {} +export interface DeleteFlowTemplateResponse { +} +export interface DeleteNamespaceRequest { +} export interface DeleteNamespaceResponse { namespaceArn?: string; namespaceName?: string; @@ -439,11 +274,13 @@ export interface DeleteNamespaceResponse { export interface DeleteSystemInstanceRequest { id?: string; } -export interface DeleteSystemInstanceResponse {} +export interface DeleteSystemInstanceResponse { +} export interface DeleteSystemTemplateRequest { id: string; } -export interface DeleteSystemTemplateResponse {} +export interface DeleteSystemTemplateResponse { +} export interface DependencyRevision { id?: string; revisionNumber?: number; @@ -462,11 +299,13 @@ export type DeprecateExistingEntities = boolean; export interface DeprecateFlowTemplateRequest { id: string; } -export interface DeprecateFlowTemplateResponse {} +export interface DeprecateFlowTemplateResponse { +} export interface DeprecateSystemTemplateRequest { id: string; } -export interface DeprecateSystemTemplateResponse {} +export interface DeprecateSystemTemplateResponse { +} export interface DescribeNamespaceRequest { namespaceName?: string; } @@ -481,7 +320,8 @@ export interface DissociateEntityFromThingRequest { thingName: string; entityType: EntityType; } -export interface DissociateEntityFromThingResponse {} +export interface DissociateEntityFromThingResponse { +} export type Enabled = boolean; export interface EntityDescription { @@ -496,47 +336,16 @@ export interface EntityFilter { name?: EntityFilterName; value?: Array; } -export type EntityFilterName = - | "NAME" - | "NAMESPACE" - | "SEMANTIC_TYPE_PATH" - | "REFERENCED_ENTITY_ID"; +export type EntityFilterName = "NAME" | "NAMESPACE" | "SEMANTIC_TYPE_PATH" | "REFERENCED_ENTITY_ID"; export type EntityFilters = Array; export type EntityFilterValue = string; export type EntityFilterValues = Array; -export type EntityType = - | "DEVICE" - | "SERVICE" - | "DEVICE_MODEL" - | "CAPABILITY" - | "STATE" - | "ACTION" - | "EVENT" - | "PROPERTY" - | "MAPPING" - | "ENUM"; +export type EntityType = "DEVICE" | "SERVICE" | "DEVICE_MODEL" | "CAPABILITY" | "STATE" | "ACTION" | "EVENT" | "PROPERTY" | "MAPPING" | "ENUM"; export type EntityTypes = Array; export type ErrorMessage = string; -export type FlowExecutionEventType = - | "EXECUTION_STARTED" - | "EXECUTION_FAILED" - | "EXECUTION_ABORTED" - | "EXECUTION_SUCCEEDED" - | "STEP_STARTED" - | "STEP_FAILED" - | "STEP_SUCCEEDED" - | "ACTIVITY_SCHEDULED" - | "ACTIVITY_STARTED" - | "ACTIVITY_FAILED" - | "ACTIVITY_SUCCEEDED" - | "START_FLOW_EXECUTION_TASK" - | "SCHEDULE_NEXT_READY_STEPS_TASK" - | "THING_ACTION_TASK" - | "THING_ACTION_TASK_FAILED" - | "THING_ACTION_TASK_SUCCEEDED" - | "ACKNOWLEDGE_TASK_MESSAGE"; +export type FlowExecutionEventType = "EXECUTION_STARTED" | "EXECUTION_FAILED" | "EXECUTION_ABORTED" | "EXECUTION_SUCCEEDED" | "STEP_STARTED" | "STEP_FAILED" | "STEP_SUCCEEDED" | "ACTIVITY_SCHEDULED" | "ACTIVITY_STARTED" | "ACTIVITY_FAILED" | "ACTIVITY_SUCCEEDED" | "START_FLOW_EXECUTION_TASK" | "SCHEDULE_NEXT_READY_STEPS_TASK" | "THING_ACTION_TASK" | "THING_ACTION_TASK_FAILED" | "THING_ACTION_TASK_SUCCEEDED" | "ACKNOWLEDGE_TASK_MESSAGE"; export type FlowExecutionId = string; export interface FlowExecutionMessage { @@ -550,11 +359,7 @@ export type FlowExecutionMessageId = string; export type FlowExecutionMessagePayload = string; export type FlowExecutionMessages = Array; -export type FlowExecutionStatus = - | "RUNNING" - | "ABORTED" - | "SUCCEEDED" - | "FAILED"; +export type FlowExecutionStatus = "RUNNING" | "ABORTED" | "SUCCEEDED" | "FAILED"; export type FlowExecutionSummaries = Array; export interface FlowExecutionSummary { flowExecutionId?: string; @@ -608,7 +413,8 @@ export interface GetFlowTemplateRevisionsResponse { summaries?: Array; nextToken?: string; } -export interface GetNamespaceDeletionStatusRequest {} +export interface GetNamespaceDeletionStatusRequest { +} export interface GetNamespaceDeletionStatusResponse { namespaceArn?: string; namespaceName?: string; @@ -789,15 +595,7 @@ export type IotthingsgraphString = string; export type StringList = Array; export type SyncWithPublicNamespace = boolean; -export type SystemInstanceDeploymentStatus = - | "NOT_DEPLOYED" - | "BOOTSTRAP" - | "DEPLOY_IN_PROGRESS" - | "DEPLOYED_IN_TARGET" - | "UNDEPLOY_IN_PROGRESS" - | "FAILED" - | "PENDING_DELETE" - | "DELETED_IN_TARGET"; +export type SystemInstanceDeploymentStatus = "NOT_DEPLOYED" | "BOOTSTRAP" | "DEPLOY_IN_PROGRESS" | "DEPLOYED_IN_TARGET" | "UNDEPLOY_IN_PROGRESS" | "FAILED" | "PENDING_DELETE" | "DELETED_IN_TARGET"; export interface SystemInstanceDescription { summary?: SystemInstanceSummary; definition?: DefinitionDocument; @@ -811,10 +609,7 @@ export interface SystemInstanceFilter { name?: SystemInstanceFilterName; value?: Array; } -export type SystemInstanceFilterName = - | "SYSTEM_TEMPLATE_ID" - | "STATUS" - | "GREENGRASS_GROUP_NAME"; +export type SystemInstanceFilterName = "SYSTEM_TEMPLATE_ID" | "STATUS" | "GREENGRASS_GROUP_NAME"; export type SystemInstanceFilters = Array; export type SystemInstanceFilterValue = string; @@ -864,7 +659,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Thing { @@ -893,7 +689,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateFlowTemplateRequest { id: string; definition: DefinitionDocument; @@ -1307,12 +1104,5 @@ export declare namespace UploadEntityDefinitions { | CommonAwsError; } -export type IoTThingsGraphErrors = - | InternalFailureException - | InvalidRequestException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError; +export type IoTThingsGraphErrors = InternalFailureException | InvalidRequestException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError; + diff --git a/src/services/iottwinmaker/index.ts b/src/services/iottwinmaker/index.ts index 27869713..3afa0f68 100644 --- a/src/services/iottwinmaker/index.ts +++ b/src/services/iottwinmaker/index.ts @@ -5,23 +5,7 @@ import type { IoTTwinMaker as _IoTTwinMakerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,55 +15,49 @@ const metadata = { sigV4ServiceName: "iottwinmaker", endpointPrefix: "iottwinmaker", operations: { - BatchPutPropertyValues: "POST /workspaces/{workspaceId}/entity-properties", - CancelMetadataTransferJob: - "PUT /metadata-transfer-jobs/{metadataTransferJobId}/cancel", - CreateComponentType: - "POST /workspaces/{workspaceId}/component-types/{componentTypeId}", - CreateEntity: "POST /workspaces/{workspaceId}/entities", - CreateMetadataTransferJob: "POST /metadata-transfer-jobs", - CreateScene: "POST /workspaces/{workspaceId}/scenes", - CreateSyncJob: "POST /workspaces/{workspaceId}/sync-jobs/{syncSource}", - CreateWorkspace: "POST /workspaces/{workspaceId}", - DeleteComponentType: - "DELETE /workspaces/{workspaceId}/component-types/{componentTypeId}", - DeleteEntity: "DELETE /workspaces/{workspaceId}/entities/{entityId}", - DeleteScene: "DELETE /workspaces/{workspaceId}/scenes/{sceneId}", - DeleteSyncJob: "DELETE /workspaces/{workspaceId}/sync-jobs/{syncSource}", - DeleteWorkspace: "DELETE /workspaces/{workspaceId}", - ExecuteQuery: "POST /queries/execution", - GetComponentType: - "GET /workspaces/{workspaceId}/component-types/{componentTypeId}", - GetEntity: "GET /workspaces/{workspaceId}/entities/{entityId}", - GetMetadataTransferJob: - "GET /metadata-transfer-jobs/{metadataTransferJobId}", - GetPricingPlan: "GET /pricingplan", - GetPropertyValue: "POST /workspaces/{workspaceId}/entity-properties/value", - GetPropertyValueHistory: - "POST /workspaces/{workspaceId}/entity-properties/history", - GetScene: "GET /workspaces/{workspaceId}/scenes/{sceneId}", - GetSyncJob: "GET /sync-jobs/{syncSource}", - GetWorkspace: "GET /workspaces/{workspaceId}", - ListComponents: - "POST /workspaces/{workspaceId}/entities/{entityId}/components-list", - ListComponentTypes: "POST /workspaces/{workspaceId}/component-types-list", - ListEntities: "POST /workspaces/{workspaceId}/entities-list", - ListMetadataTransferJobs: "POST /metadata-transfer-jobs-list", - ListProperties: "POST /workspaces/{workspaceId}/properties-list", - ListScenes: "POST /workspaces/{workspaceId}/scenes-list", - ListSyncJobs: "POST /workspaces/{workspaceId}/sync-jobs-list", - ListSyncResources: - "POST /workspaces/{workspaceId}/sync-jobs/{syncSource}/resources-list", - ListTagsForResource: "POST /tags-list", - ListWorkspaces: "POST /workspaces-list", - TagResource: "POST /tags", - UntagResource: "DELETE /tags", - UpdateComponentType: - "PUT /workspaces/{workspaceId}/component-types/{componentTypeId}", - UpdateEntity: "PUT /workspaces/{workspaceId}/entities/{entityId}", - UpdatePricingPlan: "POST /pricingplan", - UpdateScene: "PUT /workspaces/{workspaceId}/scenes/{sceneId}", - UpdateWorkspace: "PUT /workspaces/{workspaceId}", + "BatchPutPropertyValues": "POST /workspaces/{workspaceId}/entity-properties", + "CancelMetadataTransferJob": "PUT /metadata-transfer-jobs/{metadataTransferJobId}/cancel", + "CreateComponentType": "POST /workspaces/{workspaceId}/component-types/{componentTypeId}", + "CreateEntity": "POST /workspaces/{workspaceId}/entities", + "CreateMetadataTransferJob": "POST /metadata-transfer-jobs", + "CreateScene": "POST /workspaces/{workspaceId}/scenes", + "CreateSyncJob": "POST /workspaces/{workspaceId}/sync-jobs/{syncSource}", + "CreateWorkspace": "POST /workspaces/{workspaceId}", + "DeleteComponentType": "DELETE /workspaces/{workspaceId}/component-types/{componentTypeId}", + "DeleteEntity": "DELETE /workspaces/{workspaceId}/entities/{entityId}", + "DeleteScene": "DELETE /workspaces/{workspaceId}/scenes/{sceneId}", + "DeleteSyncJob": "DELETE /workspaces/{workspaceId}/sync-jobs/{syncSource}", + "DeleteWorkspace": "DELETE /workspaces/{workspaceId}", + "ExecuteQuery": "POST /queries/execution", + "GetComponentType": "GET /workspaces/{workspaceId}/component-types/{componentTypeId}", + "GetEntity": "GET /workspaces/{workspaceId}/entities/{entityId}", + "GetMetadataTransferJob": "GET /metadata-transfer-jobs/{metadataTransferJobId}", + "GetPricingPlan": "GET /pricingplan", + "GetPropertyValue": "POST /workspaces/{workspaceId}/entity-properties/value", + "GetPropertyValueHistory": "POST /workspaces/{workspaceId}/entity-properties/history", + "GetScene": "GET /workspaces/{workspaceId}/scenes/{sceneId}", + "GetSyncJob": "GET /sync-jobs/{syncSource}", + "GetWorkspace": "GET /workspaces/{workspaceId}", + "ListComponents": "POST /workspaces/{workspaceId}/entities/{entityId}/components-list", + "ListComponentTypes": "POST /workspaces/{workspaceId}/component-types-list", + "ListEntities": "POST /workspaces/{workspaceId}/entities-list", + "ListMetadataTransferJobs": "POST /metadata-transfer-jobs-list", + "ListProperties": "POST /workspaces/{workspaceId}/properties-list", + "ListScenes": "POST /workspaces/{workspaceId}/scenes-list", + "ListSyncJobs": "POST /workspaces/{workspaceId}/sync-jobs-list", + "ListSyncResources": "POST /workspaces/{workspaceId}/sync-jobs/{syncSource}/resources-list", + "ListTagsForResource": "POST /tags-list", + "ListWorkspaces": "POST /workspaces-list", + "TagResource": "POST /tags", + "UntagResource": "DELETE /tags", + "UpdateComponentType": "PUT /workspaces/{workspaceId}/component-types/{componentTypeId}", + "UpdateEntity": "PUT /workspaces/{workspaceId}/entities/{entityId}", + "UpdatePricingPlan": "POST /pricingplan", + "UpdateScene": "PUT /workspaces/{workspaceId}/scenes/{sceneId}", + "UpdateWorkspace": "PUT /workspaces/{workspaceId}", + }, + retryableErrors: { + "QueryTimeoutException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/iottwinmaker/types.ts b/src/services/iottwinmaker/types.ts index 01043d22..1f13ff7e 100644 --- a/src/services/iottwinmaker/types.ts +++ b/src/services/iottwinmaker/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class IoTTwinMaker extends AWSServiceClient { @@ -40,351 +8,187 @@ export declare class IoTTwinMaker extends AWSServiceClient { input: BatchPutPropertyValuesRequest, ): Effect.Effect< BatchPutPropertyValuesResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelMetadataTransferJob( input: CancelMetadataTransferJobRequest, ): Effect.Effect< CancelMetadataTransferJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createComponentType( input: CreateComponentTypeRequest, ): Effect.Effect< CreateComponentTypeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEntity( input: CreateEntityRequest, ): Effect.Effect< CreateEntityResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMetadataTransferJob( input: CreateMetadataTransferJobRequest, ): Effect.Effect< CreateMetadataTransferJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createScene( input: CreateSceneRequest, ): Effect.Effect< CreateSceneResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSyncJob( input: CreateSyncJobRequest, ): Effect.Effect< CreateSyncJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkspace( input: CreateWorkspaceRequest, ): Effect.Effect< CreateWorkspaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteComponentType( input: DeleteComponentTypeRequest, ): Effect.Effect< DeleteComponentTypeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEntity( input: DeleteEntityRequest, ): Effect.Effect< DeleteEntityResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteScene( input: DeleteSceneRequest, ): Effect.Effect< DeleteSceneResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSyncJob( input: DeleteSyncJobRequest, ): Effect.Effect< DeleteSyncJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkspace( input: DeleteWorkspaceRequest, ): Effect.Effect< DeleteWorkspaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; executeQuery( input: ExecuteQueryRequest, ): Effect.Effect< ExecuteQueryResponse, - | AccessDeniedException - | InternalServerException - | QueryTimeoutException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | QueryTimeoutException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getComponentType( input: GetComponentTypeRequest, ): Effect.Effect< GetComponentTypeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEntity( input: GetEntityRequest, ): Effect.Effect< GetEntityResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getMetadataTransferJob( input: GetMetadataTransferJobRequest, ): Effect.Effect< GetMetadataTransferJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPricingPlan( input: GetPricingPlanRequest, ): Effect.Effect< GetPricingPlanResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getPropertyValue( input: GetPropertyValueRequest, ): Effect.Effect< GetPropertyValueResponse, - | AccessDeniedException - | ConnectorFailureException - | ConnectorTimeoutException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConnectorFailureException | ConnectorTimeoutException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPropertyValueHistory( input: GetPropertyValueHistoryRequest, ): Effect.Effect< GetPropertyValueHistoryResponse, - | AccessDeniedException - | ConnectorFailureException - | ConnectorTimeoutException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConnectorFailureException | ConnectorTimeoutException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getScene( input: GetSceneRequest, ): Effect.Effect< GetSceneResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSyncJob( input: GetSyncJobRequest, ): Effect.Effect< GetSyncJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getWorkspace( input: GetWorkspaceRequest, ): Effect.Effect< GetWorkspaceResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listComponents( input: ListComponentsRequest, ): Effect.Effect< ListComponentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listComponentTypes( input: ListComponentTypesRequest, ): Effect.Effect< ListComponentTypesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEntities( input: ListEntitiesRequest, ): Effect.Effect< ListEntitiesResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listMetadataTransferJobs( input: ListMetadataTransferJobsRequest, ): Effect.Effect< ListMetadataTransferJobsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listProperties( input: ListPropertiesRequest, ): Effect.Effect< ListPropertiesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listScenes( input: ListScenesRequest, ): Effect.Effect< ListScenesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSyncJobs( input: ListSyncJobsRequest, ): Effect.Effect< ListSyncJobsResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listSyncResources( input: ListSyncResourcesRequest, ): Effect.Effect< ListSyncResourcesResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, @@ -396,20 +200,13 @@ export declare class IoTTwinMaker extends AWSServiceClient { input: ListWorkspacesRequest, ): Effect.Effect< ListWorkspacesResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -421,59 +218,31 @@ export declare class IoTTwinMaker extends AWSServiceClient { input: UpdateComponentTypeRequest, ): Effect.Effect< UpdateComponentTypeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateEntity( input: UpdateEntityRequest, ): Effect.Effect< UpdateEntityResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updatePricingPlan( input: UpdatePricingPlanRequest, ): Effect.Effect< UpdatePricingPlanResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateScene( input: UpdateSceneRequest, ): Effect.Effect< UpdateSceneResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkspace( input: UpdateWorkspaceRequest, ): Effect.Effect< UpdateWorkspaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -533,19 +302,13 @@ export interface ComponentPropertyGroupRequest { propertyNames?: Array; updateType?: string; } -export type ComponentPropertyGroupRequests = Record< - string, - ComponentPropertyGroupRequest ->; +export type ComponentPropertyGroupRequests = Record; export interface ComponentPropertyGroupResponse { groupType: string; propertyNames: Array; isInherited: boolean; } -export type ComponentPropertyGroupResponses = Record< - string, - ComponentPropertyGroupResponse ->; +export type ComponentPropertyGroupResponses = Record; export interface ComponentRequest { description?: string; componentTypeId?: string; @@ -608,10 +371,7 @@ export interface CompositeComponentRequest { propertyGroups?: Record; } export type CompositeComponentResponse = Record; -export type CompositeComponentsMapRequest = Record< - string, - CompositeComponentRequest ->; +export type CompositeComponentsMapRequest = Record; export interface CompositeComponentTypeRequest { componentTypeId?: string; } @@ -619,24 +379,15 @@ export interface CompositeComponentTypeResponse { componentTypeId?: string; isInherited?: boolean; } -export type CompositeComponentTypesRequest = Record< - string, - CompositeComponentTypeRequest ->; -export type CompositeComponentTypesResponse = Record< - string, - CompositeComponentTypeResponse ->; +export type CompositeComponentTypesRequest = Record; +export type CompositeComponentTypesResponse = Record; export interface CompositeComponentUpdateRequest { updateType?: string; description?: string; propertyUpdates?: Record; propertyGroupUpdates?: Record; } -export type CompositeComponentUpdatesMapRequest = Record< - string, - CompositeComponentUpdateRequest ->; +export type CompositeComponentUpdatesMapRequest = Record; export type Configuration = Record; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", @@ -777,7 +528,8 @@ export interface DeleteSceneRequest { workspaceId: string; sceneId: string; } -export interface DeleteSceneResponse {} +export interface DeleteSceneResponse { +} export interface DeleteSyncJobRequest { workspaceId: string; syncSource: string; @@ -943,7 +695,8 @@ export interface GetMetadataTransferJobResponse { status: MetadataTransferJobStatus; progress?: MetadataTransferJobProgress; } -export interface GetPricingPlanRequest {} +export interface GetPricingPlanRequest { +} export interface GetPricingPlanResponse { currentPricingPlan: PricingPlan; pendingPricingPlan?: PricingPlan; @@ -1058,13 +811,8 @@ interface _IotSiteWiseSourceConfigurationFilter { filterByAsset?: FilterByAsset; } -export type IotSiteWiseSourceConfigurationFilter = - | (_IotSiteWiseSourceConfigurationFilter & { - filterByAssetModel: FilterByAssetModel; - }) - | (_IotSiteWiseSourceConfigurationFilter & { filterByAsset: FilterByAsset }); -export type IotSiteWiseSourceConfigurationFilters = - Array; +export type IotSiteWiseSourceConfigurationFilter = (_IotSiteWiseSourceConfigurationFilter & { filterByAssetModel: FilterByAssetModel }) | (_IotSiteWiseSourceConfigurationFilter & { filterByAsset: FilterByAsset }); +export type IotSiteWiseSourceConfigurationFilters = Array; export interface IotTwinMakerDestinationConfiguration { workspace: string; } @@ -1077,15 +825,8 @@ interface _IotTwinMakerSourceConfigurationFilter { filterByEntity?: FilterByEntity; } -export type IotTwinMakerSourceConfigurationFilter = - | (_IotTwinMakerSourceConfigurationFilter & { - filterByComponentType: FilterByComponentType; - }) - | (_IotTwinMakerSourceConfigurationFilter & { - filterByEntity: FilterByEntity; - }); -export type IotTwinMakerSourceConfigurationFilters = - Array; +export type IotTwinMakerSourceConfigurationFilter = (_IotTwinMakerSourceConfigurationFilter & { filterByComponentType: FilterByComponentType }) | (_IotTwinMakerSourceConfigurationFilter & { filterByEntity: FilterByEntity }); +export type IotTwinMakerSourceConfigurationFilters = Array; export type LambdaArn = string; export interface LambdaFunction { @@ -1111,10 +852,7 @@ interface _ListComponentTypesFilter { isAbstract?: boolean; } -export type ListComponentTypesFilter = - | (_ListComponentTypesFilter & { extendsFrom: string }) - | (_ListComponentTypesFilter & { namespace: string }) - | (_ListComponentTypesFilter & { isAbstract: boolean }); +export type ListComponentTypesFilter = (_ListComponentTypesFilter & { extendsFrom: string }) | (_ListComponentTypesFilter & { namespace: string }) | (_ListComponentTypesFilter & { isAbstract: boolean }); export type ListComponentTypesFilters = Array; export interface ListComponentTypesRequest { workspaceId: string; @@ -1134,10 +872,7 @@ interface _ListEntitiesFilter { externalId?: string; } -export type ListEntitiesFilter = - | (_ListEntitiesFilter & { parentEntityId: string }) - | (_ListEntitiesFilter & { componentTypeId: string }) - | (_ListEntitiesFilter & { externalId: string }); +export type ListEntitiesFilter = (_ListEntitiesFilter & { parentEntityId: string }) | (_ListEntitiesFilter & { componentTypeId: string }) | (_ListEntitiesFilter & { externalId: string }); export type ListEntitiesFilters = Array; export interface ListEntitiesRequest { workspaceId: string; @@ -1154,11 +889,8 @@ interface _ListMetadataTransferJobsFilter { state?: string; } -export type ListMetadataTransferJobsFilter = - | (_ListMetadataTransferJobsFilter & { workspaceId: string }) - | (_ListMetadataTransferJobsFilter & { state: string }); -export type ListMetadataTransferJobsFilters = - Array; +export type ListMetadataTransferJobsFilter = (_ListMetadataTransferJobsFilter & { workspaceId: string }) | (_ListMetadataTransferJobsFilter & { state: string }); +export type ListMetadataTransferJobsFilters = Array; export interface ListMetadataTransferJobsRequest { sourceType: string; destinationType: string; @@ -1311,14 +1043,8 @@ export interface PropertyDefinitionResponse { configuration?: Record; displayName?: string; } -export type PropertyDefinitionsRequest = Record< - string, - PropertyDefinitionRequest ->; -export type PropertyDefinitionsResponse = Record< - string, - PropertyDefinitionResponse ->; +export type PropertyDefinitionsRequest = Record; +export type PropertyDefinitionsResponse = Record; export type PropertyDisplayName = string; export interface PropertyFilter { @@ -1499,11 +1225,7 @@ interface _SyncResourceFilter { externalId?: string; } -export type SyncResourceFilter = - | (_SyncResourceFilter & { state: string }) - | (_SyncResourceFilter & { resourceType: string }) - | (_SyncResourceFilter & { resourceId: string }) - | (_SyncResourceFilter & { externalId: string }); +export type SyncResourceFilter = (_SyncResourceFilter & { state: string }) | (_SyncResourceFilter & { resourceType: string }) | (_SyncResourceFilter & { resourceId: string }) | (_SyncResourceFilter & { externalId: string }); export type SyncResourceFilters = Array; export type SyncResourceState = string; @@ -1537,7 +1259,8 @@ export interface TagResourceRequest { resourceARN: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1562,7 +1285,8 @@ export interface UntagResourceRequest { resourceARN: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateComponentTypeRequest { workspaceId: string; isSingleton?: boolean; @@ -2128,16 +1852,5 @@ export declare namespace UpdateWorkspace { | CommonAwsError; } -export type IoTTwinMakerErrors = - | AccessDeniedException - | ConflictException - | ConnectorFailureException - | ConnectorTimeoutException - | InternalServerException - | QueryTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type IoTTwinMakerErrors = AccessDeniedException | ConflictException | ConnectorFailureException | ConnectorTimeoutException | InternalServerException | QueryTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/ivs-realtime/index.ts b/src/services/ivs-realtime/index.ts index b8af3747..c24ee778 100644 --- a/src/services/ivs-realtime/index.ts +++ b/src/services/ivs-realtime/index.ts @@ -5,24 +5,7 @@ import type { IVSRealTime as _IVSRealTimeClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,67 +15,67 @@ const metadata = { sigV4ServiceName: "ivs", endpointPrefix: "ivsrealtime", operations: { - CreateEncoderConfiguration: "POST /CreateEncoderConfiguration", - CreateIngestConfiguration: "POST /CreateIngestConfiguration", - CreateParticipantToken: "POST /CreateParticipantToken", - CreateStage: "POST /CreateStage", - CreateStorageConfiguration: "POST /CreateStorageConfiguration", - DeleteEncoderConfiguration: "POST /DeleteEncoderConfiguration", - DeleteIngestConfiguration: "POST /DeleteIngestConfiguration", - DeletePublicKey: "POST /DeletePublicKey", - DeleteStage: "POST /DeleteStage", - DeleteStorageConfiguration: "POST /DeleteStorageConfiguration", - DisconnectParticipant: "POST /DisconnectParticipant", - GetComposition: "POST /GetComposition", - GetEncoderConfiguration: "POST /GetEncoderConfiguration", - GetIngestConfiguration: "POST /GetIngestConfiguration", - GetParticipant: "POST /GetParticipant", - GetPublicKey: "POST /GetPublicKey", - GetStage: "POST /GetStage", - GetStageSession: "POST /GetStageSession", - GetStorageConfiguration: "POST /GetStorageConfiguration", - ImportPublicKey: "POST /ImportPublicKey", - ListCompositions: "POST /ListCompositions", - ListEncoderConfigurations: "POST /ListEncoderConfigurations", - ListIngestConfigurations: "POST /ListIngestConfigurations", - ListParticipantEvents: "POST /ListParticipantEvents", - ListParticipantReplicas: "POST /ListParticipantReplicas", - ListParticipants: "POST /ListParticipants", - ListPublicKeys: "POST /ListPublicKeys", - ListStages: "POST /ListStages", - ListStageSessions: "POST /ListStageSessions", - ListStorageConfigurations: "POST /ListStorageConfigurations", - ListTagsForResource: "GET /tags/{resourceArn}", - StartComposition: "POST /StartComposition", - StartParticipantReplication: { + "CreateEncoderConfiguration": "POST /CreateEncoderConfiguration", + "CreateIngestConfiguration": "POST /CreateIngestConfiguration", + "CreateParticipantToken": "POST /CreateParticipantToken", + "CreateStage": "POST /CreateStage", + "CreateStorageConfiguration": "POST /CreateStorageConfiguration", + "DeleteEncoderConfiguration": "POST /DeleteEncoderConfiguration", + "DeleteIngestConfiguration": "POST /DeleteIngestConfiguration", + "DeletePublicKey": "POST /DeletePublicKey", + "DeleteStage": "POST /DeleteStage", + "DeleteStorageConfiguration": "POST /DeleteStorageConfiguration", + "DisconnectParticipant": "POST /DisconnectParticipant", + "GetComposition": "POST /GetComposition", + "GetEncoderConfiguration": "POST /GetEncoderConfiguration", + "GetIngestConfiguration": "POST /GetIngestConfiguration", + "GetParticipant": "POST /GetParticipant", + "GetPublicKey": "POST /GetPublicKey", + "GetStage": "POST /GetStage", + "GetStageSession": "POST /GetStageSession", + "GetStorageConfiguration": "POST /GetStorageConfiguration", + "ImportPublicKey": "POST /ImportPublicKey", + "ListCompositions": "POST /ListCompositions", + "ListEncoderConfigurations": "POST /ListEncoderConfigurations", + "ListIngestConfigurations": "POST /ListIngestConfigurations", + "ListParticipantEvents": "POST /ListParticipantEvents", + "ListParticipantReplicas": "POST /ListParticipantReplicas", + "ListParticipants": "POST /ListParticipants", + "ListPublicKeys": "POST /ListPublicKeys", + "ListStages": "POST /ListStages", + "ListStageSessions": "POST /ListStageSessions", + "ListStorageConfigurations": "POST /ListStorageConfigurations", + "ListTagsForResource": "GET /tags/{resourceArn}", + "StartComposition": "POST /StartComposition", + "StartParticipantReplication": { http: "POST /StartParticipantReplication", traits: { - accessControlAllowOrigin: "Access-Control-Allow-Origin", - accessControlExposeHeaders: "Access-Control-Expose-Headers", - cacheControl: "Cache-Control", - contentSecurityPolicy: "Content-Security-Policy", - strictTransportSecurity: "Strict-Transport-Security", - xContentTypeOptions: "X-Content-Type-Options", - xFrameOptions: "X-Frame-Options", + "accessControlAllowOrigin": "Access-Control-Allow-Origin", + "accessControlExposeHeaders": "Access-Control-Expose-Headers", + "cacheControl": "Cache-Control", + "contentSecurityPolicy": "Content-Security-Policy", + "strictTransportSecurity": "Strict-Transport-Security", + "xContentTypeOptions": "X-Content-Type-Options", + "xFrameOptions": "X-Frame-Options", }, }, - StopComposition: "POST /StopComposition", - StopParticipantReplication: { + "StopComposition": "POST /StopComposition", + "StopParticipantReplication": { http: "POST /StopParticipantReplication", traits: { - accessControlAllowOrigin: "Access-Control-Allow-Origin", - accessControlExposeHeaders: "Access-Control-Expose-Headers", - cacheControl: "Cache-Control", - contentSecurityPolicy: "Content-Security-Policy", - strictTransportSecurity: "Strict-Transport-Security", - xContentTypeOptions: "X-Content-Type-Options", - xFrameOptions: "X-Frame-Options", + "accessControlAllowOrigin": "Access-Control-Allow-Origin", + "accessControlExposeHeaders": "Access-Control-Expose-Headers", + "cacheControl": "Cache-Control", + "contentSecurityPolicy": "Content-Security-Policy", + "strictTransportSecurity": "Strict-Transport-Security", + "xContentTypeOptions": "X-Content-Type-Options", + "xFrameOptions": "X-Frame-Options", }, }, - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateIngestConfiguration: "POST /UpdateIngestConfiguration", - UpdateStage: "POST /UpdateStage", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateIngestConfiguration": "POST /UpdateIngestConfiguration", + "UpdateStage": "POST /UpdateStage", }, } as const satisfies ServiceMetadata; diff --git a/src/services/ivs-realtime/types.ts b/src/services/ivs-realtime/types.ts index 2ad47241..03302461 100644 --- a/src/services/ivs-realtime/types.ts +++ b/src/services/ivs-realtime/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class IVSRealTime extends AWSServiceClient { @@ -41,239 +8,133 @@ export declare class IVSRealTime extends AWSServiceClient { input: CreateEncoderConfigurationRequest, ): Effect.Effect< CreateEncoderConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createIngestConfiguration( input: CreateIngestConfigurationRequest, ): Effect.Effect< CreateIngestConfigurationResponse, - | AccessDeniedException - | PendingVerification - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createParticipantToken( input: CreateParticipantTokenRequest, ): Effect.Effect< CreateParticipantTokenResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createStage( input: CreateStageRequest, ): Effect.Effect< CreateStageResponse, - | AccessDeniedException - | PendingVerification - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createStorageConfiguration( input: CreateStorageConfigurationRequest, ): Effect.Effect< CreateStorageConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteEncoderConfiguration( input: DeleteEncoderConfigurationRequest, ): Effect.Effect< DeleteEncoderConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteIngestConfiguration( input: DeleteIngestConfigurationRequest, ): Effect.Effect< DeleteIngestConfigurationResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; deletePublicKey( input: DeletePublicKeyRequest, ): Effect.Effect< DeletePublicKeyResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteStage( input: DeleteStageRequest, ): Effect.Effect< DeleteStageResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteStorageConfiguration( input: DeleteStorageConfigurationRequest, ): Effect.Effect< DeleteStorageConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; disconnectParticipant( input: DisconnectParticipantRequest, ): Effect.Effect< DisconnectParticipantResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; getComposition( input: GetCompositionRequest, ): Effect.Effect< GetCompositionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; getEncoderConfiguration( input: GetEncoderConfigurationRequest, ): Effect.Effect< GetEncoderConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; getIngestConfiguration( input: GetIngestConfigurationRequest, ): Effect.Effect< GetIngestConfigurationResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getParticipant( input: GetParticipantRequest, ): Effect.Effect< GetParticipantResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getPublicKey( input: GetPublicKeyRequest, ): Effect.Effect< GetPublicKeyResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getStage( input: GetStageRequest, ): Effect.Effect< GetStageResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getStageSession( input: GetStageSessionRequest, ): Effect.Effect< GetStageSessionResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getStorageConfiguration( input: GetStorageConfigurationRequest, ): Effect.Effect< GetStorageConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; importPublicKey( input: ImportPublicKeyRequest, ): Effect.Effect< ImportPublicKeyResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listCompositions( input: ListCompositionsRequest, ): Effect.Effect< ListCompositionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listEncoderConfigurations( input: ListEncoderConfigurationsRequest, ): Effect.Effect< ListEncoderConfigurationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listIngestConfigurations( input: ListIngestConfigurationsRequest, @@ -309,10 +170,7 @@ export declare class IVSRealTime extends AWSServiceClient { input: ListStagesRequest, ): Effect.Effect< ListStagesResponse, - | AccessDeniedException - | ConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ValidationException | CommonAwsError >; listStageSessions( input: ListStageSessionsRequest, @@ -324,110 +182,61 @@ export declare class IVSRealTime extends AWSServiceClient { input: ListStorageConfigurationsRequest, ): Effect.Effect< ListStorageConfigurationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startComposition( input: StartCompositionRequest, ): Effect.Effect< StartCompositionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; startParticipantReplication( input: StartParticipantReplicationRequest, ): Effect.Effect< StartParticipantReplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; stopComposition( input: StopCompositionRequest, ): Effect.Effect< StopCompositionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; stopParticipantReplication( input: StopParticipantReplicationRequest, ): Effect.Effect< StopParticipantReplicationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateIngestConfiguration( input: UpdateIngestConfigurationRequest, ): Effect.Effect< UpdateIngestConfigurationResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; updateStage( input: UpdateStageRequest, ): Effect.Effect< UpdateStageResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -503,8 +312,7 @@ export interface CompositionThumbnailConfiguration { targetIntervalSeconds?: number; storage?: Array; } -export type CompositionThumbnailConfigurationList = - Array; +export type CompositionThumbnailConfigurationList = Array; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -569,24 +377,29 @@ export interface CreateStorageConfigurationResponse { export interface DeleteEncoderConfigurationRequest { arn: string; } -export interface DeleteEncoderConfigurationResponse {} +export interface DeleteEncoderConfigurationResponse { +} export interface DeleteIngestConfigurationRequest { arn: string; force?: boolean; } -export interface DeleteIngestConfigurationResponse {} +export interface DeleteIngestConfigurationResponse { +} export interface DeletePublicKeyRequest { arn: string; } -export interface DeletePublicKeyResponse {} +export interface DeletePublicKeyResponse { +} export interface DeleteStageRequest { arn: string; } -export interface DeleteStageResponse {} +export interface DeleteStageResponse { +} export interface DeleteStorageConfigurationRequest { arn: string; } -export interface DeleteStorageConfigurationResponse {} +export interface DeleteStorageConfigurationResponse { +} export interface Destination { id: string; state: string; @@ -623,7 +436,8 @@ export interface DisconnectParticipantRequest { participantId: string; reason?: string; } -export interface DisconnectParticipantResponse {} +export interface DisconnectParticipantResponse { +} export interface EncoderConfiguration { arn: string; name?: string; @@ -640,8 +454,7 @@ export interface EncoderConfigurationSummary { name?: string; tags?: Record; } -export type EncoderConfigurationSummaryList = - Array; +export type EncoderConfigurationSummaryList = Array; export type errorMessage = string; export interface Event { @@ -654,21 +467,7 @@ export interface Event { destinationSessionId?: string; replica?: boolean; } -export type EventErrorCode = - | "INSUFFICIENT_CAPABILITIES" - | "QUOTA_EXCEEDED" - | "PUBLISHER_NOT_FOUND" - | "BITRATE_EXCEEDED" - | "RESOLUTION_EXCEEDED" - | "STREAM_DURATION_EXCEEDED" - | "INVALID_AUDIO_CODEC" - | "INVALID_VIDEO_CODEC" - | "INVALID_PROTOCOL" - | "INVALID_STREAM_KEY" - | "REUSE_OF_STREAM_KEY" - | "B_FRAME_PRESENT" - | "INVALID_INPUT" - | "INTERNAL_SERVER_EXCEPTION"; +export type EventErrorCode = "INSUFFICIENT_CAPABILITIES" | "QUOTA_EXCEEDED" | "PUBLISHER_NOT_FOUND" | "BITRATE_EXCEEDED" | "RESOLUTION_EXCEEDED" | "STREAM_DURATION_EXCEEDED" | "INVALID_AUDIO_CODEC" | "INVALID_VIDEO_CODEC" | "INVALID_PROTOCOL" | "INVALID_STREAM_KEY" | "REUSE_OF_STREAM_KEY" | "B_FRAME_PRESENT" | "INVALID_INPUT" | "INTERNAL_SERVER_EXCEPTION"; export type EventList = Array; export type EventName = string; @@ -955,12 +754,8 @@ export type ParticipantRecordingFilterByRecordingState = string; export interface ParticipantRecordingHlsConfiguration { targetSegmentDurationSeconds?: number; } -export type ParticipantRecordingMediaType = - | "AUDIO_VIDEO" - | "AUDIO_ONLY" - | "NONE"; -export type ParticipantRecordingMediaTypeList = - Array; +export type ParticipantRecordingMediaType = "AUDIO_VIDEO" | "AUDIO_ONLY" | "NONE"; +export type ParticipantRecordingMediaTypeList = Array; export type ParticipantRecordingReconnectWindowSeconds = number; export type ParticipantRecordingS3BucketName = string; @@ -1018,8 +813,7 @@ export interface ParticipantTokenConfiguration { attributes?: Record; capabilities?: Array; } -export type ParticipantTokenConfigurations = - Array; +export type ParticipantTokenConfigurations = Array; export type ParticipantTokenDurationMinutes = number; export type ParticipantTokenExpirationTime = Date | string; @@ -1062,11 +856,7 @@ export type PipHeight = number; export type PipOffset = number; -export type PipPosition = - | "TOP_LEFT" - | "TOP_RIGHT" - | "BOTTOM_LEFT" - | "BOTTOM_RIGHT"; +export type PipPosition = "TOP_LEFT" | "TOP_RIGHT" | "BOTTOM_LEFT" | "BOTTOM_RIGHT"; export type PipWidth = number; export interface PublicKey { @@ -1219,7 +1009,8 @@ export interface StartParticipantReplicationResponse { export interface StopCompositionRequest { arn: string; } -export interface StopCompositionResponse {} +export interface StopCompositionResponse { +} export interface StopParticipantReplicationRequest { sourceStageArn: string; destinationStageArn: string; @@ -1250,8 +1041,7 @@ export interface StorageConfigurationSummary { s3?: S3StorageConfiguration; tags?: Record; } -export type StorageConfigurationSummaryList = - Array; +export type StorageConfigurationSummaryList = Array; export type StreamKey = string; export type IvsRealtimeString = string; @@ -1263,7 +1053,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -1278,7 +1069,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateIngestConfigurationRequest { arn: string; stageArn?: string; @@ -1762,12 +1554,5 @@ export declare namespace UpdateStage { | CommonAwsError; } -export type IVSRealTimeErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type IVSRealTimeErrors = AccessDeniedException | ConflictException | InternalServerException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/ivs/index.ts b/src/services/ivs/index.ts index 63768316..35acb9d2 100644 --- a/src/services/ivs/index.ts +++ b/src/services/ivs/index.ts @@ -5,23 +5,7 @@ import type { ivs as _ivsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,42 +14,41 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "ivs", operations: { - BatchGetChannel: "POST /BatchGetChannel", - BatchGetStreamKey: "POST /BatchGetStreamKey", - BatchStartViewerSessionRevocation: - "POST /BatchStartViewerSessionRevocation", - CreateChannel: "POST /CreateChannel", - CreatePlaybackRestrictionPolicy: "POST /CreatePlaybackRestrictionPolicy", - CreateRecordingConfiguration: "POST /CreateRecordingConfiguration", - CreateStreamKey: "POST /CreateStreamKey", - DeleteChannel: "POST /DeleteChannel", - DeletePlaybackKeyPair: "POST /DeletePlaybackKeyPair", - DeletePlaybackRestrictionPolicy: "POST /DeletePlaybackRestrictionPolicy", - DeleteRecordingConfiguration: "POST /DeleteRecordingConfiguration", - DeleteStreamKey: "POST /DeleteStreamKey", - GetChannel: "POST /GetChannel", - GetPlaybackKeyPair: "POST /GetPlaybackKeyPair", - GetPlaybackRestrictionPolicy: "POST /GetPlaybackRestrictionPolicy", - GetRecordingConfiguration: "POST /GetRecordingConfiguration", - GetStream: "POST /GetStream", - GetStreamKey: "POST /GetStreamKey", - GetStreamSession: "POST /GetStreamSession", - ImportPlaybackKeyPair: "POST /ImportPlaybackKeyPair", - ListChannels: "POST /ListChannels", - ListPlaybackKeyPairs: "POST /ListPlaybackKeyPairs", - ListPlaybackRestrictionPolicies: "POST /ListPlaybackRestrictionPolicies", - ListRecordingConfigurations: "POST /ListRecordingConfigurations", - ListStreamKeys: "POST /ListStreamKeys", - ListStreams: "POST /ListStreams", - ListStreamSessions: "POST /ListStreamSessions", - ListTagsForResource: "GET /tags/{resourceArn}", - PutMetadata: "POST /PutMetadata", - StartViewerSessionRevocation: "POST /StartViewerSessionRevocation", - StopStream: "POST /StopStream", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateChannel: "POST /UpdateChannel", - UpdatePlaybackRestrictionPolicy: "POST /UpdatePlaybackRestrictionPolicy", + "BatchGetChannel": "POST /BatchGetChannel", + "BatchGetStreamKey": "POST /BatchGetStreamKey", + "BatchStartViewerSessionRevocation": "POST /BatchStartViewerSessionRevocation", + "CreateChannel": "POST /CreateChannel", + "CreatePlaybackRestrictionPolicy": "POST /CreatePlaybackRestrictionPolicy", + "CreateRecordingConfiguration": "POST /CreateRecordingConfiguration", + "CreateStreamKey": "POST /CreateStreamKey", + "DeleteChannel": "POST /DeleteChannel", + "DeletePlaybackKeyPair": "POST /DeletePlaybackKeyPair", + "DeletePlaybackRestrictionPolicy": "POST /DeletePlaybackRestrictionPolicy", + "DeleteRecordingConfiguration": "POST /DeleteRecordingConfiguration", + "DeleteStreamKey": "POST /DeleteStreamKey", + "GetChannel": "POST /GetChannel", + "GetPlaybackKeyPair": "POST /GetPlaybackKeyPair", + "GetPlaybackRestrictionPolicy": "POST /GetPlaybackRestrictionPolicy", + "GetRecordingConfiguration": "POST /GetRecordingConfiguration", + "GetStream": "POST /GetStream", + "GetStreamKey": "POST /GetStreamKey", + "GetStreamSession": "POST /GetStreamSession", + "ImportPlaybackKeyPair": "POST /ImportPlaybackKeyPair", + "ListChannels": "POST /ListChannels", + "ListPlaybackKeyPairs": "POST /ListPlaybackKeyPairs", + "ListPlaybackRestrictionPolicies": "POST /ListPlaybackRestrictionPolicies", + "ListRecordingConfigurations": "POST /ListRecordingConfigurations", + "ListStreamKeys": "POST /ListStreamKeys", + "ListStreams": "POST /ListStreams", + "ListStreamSessions": "POST /ListStreamSessions", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutMetadata": "POST /PutMetadata", + "StartViewerSessionRevocation": "POST /StartViewerSessionRevocation", + "StopStream": "POST /StopStream", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateChannel": "POST /UpdateChannel", + "UpdatePlaybackRestrictionPolicy": "POST /UpdatePlaybackRestrictionPolicy", }, } as const satisfies ServiceMetadata; diff --git a/src/services/ivs/types.ts b/src/services/ivs/types.ts index 702017bc..e7d43cc9 100644 --- a/src/services/ivs/types.ts +++ b/src/services/ivs/types.ts @@ -1,240 +1,134 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ivs extends AWSServiceClient { batchGetChannel( input: BatchGetChannelRequest, - ): Effect.Effect; + ): Effect.Effect< + BatchGetChannelResponse, + CommonAwsError + >; batchGetStreamKey( input: BatchGetStreamKeyRequest, - ): Effect.Effect; + ): Effect.Effect< + BatchGetStreamKeyResponse, + CommonAwsError + >; batchStartViewerSessionRevocation( input: BatchStartViewerSessionRevocationRequest, ): Effect.Effect< BatchStartViewerSessionRevocationResponse, - | AccessDeniedException - | PendingVerification - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ThrottlingException | ValidationException | CommonAwsError >; createChannel( input: CreateChannelRequest, ): Effect.Effect< CreateChannelResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createPlaybackRestrictionPolicy( input: CreatePlaybackRestrictionPolicyRequest, ): Effect.Effect< CreatePlaybackRestrictionPolicyResponse, - | AccessDeniedException - | PendingVerification - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRecordingConfiguration( input: CreateRecordingConfigurationRequest, ): Effect.Effect< CreateRecordingConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | PendingVerification - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | PendingVerification | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createStreamKey( input: CreateStreamKeyRequest, ): Effect.Effect< CreateStreamKeyResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteChannel( input: DeleteChannelRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; deletePlaybackKeyPair( input: DeletePlaybackKeyPairRequest, ): Effect.Effect< DeletePlaybackKeyPairResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; deletePlaybackRestrictionPolicy( input: DeletePlaybackRestrictionPolicyRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteRecordingConfiguration( input: DeleteRecordingConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteStreamKey( input: DeleteStreamKeyRequest, ): Effect.Effect< {}, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; getChannel( input: GetChannelRequest, ): Effect.Effect< GetChannelResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getPlaybackKeyPair( input: GetPlaybackKeyPairRequest, ): Effect.Effect< GetPlaybackKeyPairResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getPlaybackRestrictionPolicy( input: GetPlaybackRestrictionPolicyRequest, ): Effect.Effect< GetPlaybackRestrictionPolicyResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; getRecordingConfiguration( input: GetRecordingConfigurationRequest, ): Effect.Effect< GetRecordingConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getStream( input: GetStreamRequest, ): Effect.Effect< GetStreamResponse, - | AccessDeniedException - | ChannelNotBroadcasting - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ChannelNotBroadcasting | ResourceNotFoundException | ValidationException | CommonAwsError >; getStreamKey( input: GetStreamKeyRequest, ): Effect.Effect< GetStreamKeyResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getStreamSession( input: GetStreamSessionRequest, ): Effect.Effect< GetStreamSessionResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; importPlaybackKeyPair( input: ImportPlaybackKeyPairRequest, ): Effect.Effect< ImportPlaybackKeyPairResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listChannels( input: ListChannelsRequest, ): Effect.Effect< ListChannelsResponse, - | AccessDeniedException - | ConflictException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ValidationException | CommonAwsError >; listPlaybackKeyPairs( input: ListPlaybackKeyPairsRequest, @@ -246,29 +140,19 @@ export declare class ivs extends AWSServiceClient { input: ListPlaybackRestrictionPoliciesRequest, ): Effect.Effect< ListPlaybackRestrictionPoliciesResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ValidationException | CommonAwsError >; listRecordingConfigurations( input: ListRecordingConfigurationsRequest, ): Effect.Effect< ListRecordingConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listStreamKeys( input: ListStreamKeysRequest, ): Effect.Effect< ListStreamKeysResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listStreams( input: ListStreamsRequest, @@ -280,93 +164,55 @@ export declare class ivs extends AWSServiceClient { input: ListStreamSessionsRequest, ): Effect.Effect< ListStreamSessionsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putMetadata( input: PutMetadataRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ChannelNotBroadcasting - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ChannelNotBroadcasting | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startViewerSessionRevocation( input: StartViewerSessionRevocationRequest, ): Effect.Effect< StartViewerSessionRevocationResponse, - | AccessDeniedException - | InternalServerException - | PendingVerification - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | PendingVerification | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopStream( input: StopStreamRequest, ): Effect.Effect< StopStreamResponse, - | AccessDeniedException - | ChannelNotBroadcasting - | ResourceNotFoundException - | StreamUnavailable - | ValidationException - | CommonAwsError + AccessDeniedException | ChannelNotBroadcasting | ResourceNotFoundException | StreamUnavailable | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateChannel( input: UpdateChannelRequest, ): Effect.Effect< UpdateChannelResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; updatePlaybackRestrictionPolicy( input: UpdatePlaybackRestrictionPolicyRequest, ): Effect.Effect< UpdatePlaybackRestrictionPolicyResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -411,8 +257,7 @@ export interface BatchStartViewerSessionRevocationError { code?: string; message?: string; } -export type BatchStartViewerSessionRevocationErrors = - Array; +export type BatchStartViewerSessionRevocationErrors = Array; export interface BatchStartViewerSessionRevocationRequest { viewerSessions: Array; } @@ -424,8 +269,7 @@ export interface BatchStartViewerSessionRevocationViewerSession { viewerId: string; viewerSessionVersionsLessThanOrEqualTo?: number; } -export type BatchStartViewerSessionRevocationViewerSessionList = - Array; +export type BatchStartViewerSessionRevocationViewerSessionList = Array; export type IvsBoolean = boolean; export interface Channel { @@ -534,7 +378,8 @@ export interface DeleteChannelRequest { export interface DeletePlaybackKeyPairRequest { arn: string; } -export interface DeletePlaybackKeyPairResponse {} +export interface DeletePlaybackKeyPairResponse { +} export interface DeletePlaybackRestrictionPolicyRequest { arn: string; } @@ -757,8 +602,7 @@ export type PlaybackRestrictionPolicyArn = string; export type PlaybackRestrictionPolicyEnableStrictOriginEnforcement = boolean; -export type PlaybackRestrictionPolicyList = - Array; +export type PlaybackRestrictionPolicyList = Array; export type PlaybackRestrictionPolicyName = string; export interface PlaybackRestrictionPolicySummary { @@ -807,13 +651,8 @@ export interface RenditionConfiguration { renditionSelection?: string; renditions?: Array; } -export type RenditionConfigurationRendition = - | "SD" - | "HD" - | "FULL_HD" - | "LOWEST_RESOLUTION"; -export type RenditionConfigurationRenditionList = - Array; +export type RenditionConfigurationRendition = "SD" | "HD" | "FULL_HD" | "LOWEST_RESOLUTION"; +export type RenditionConfigurationRenditionList = Array; export type RenditionConfigurationRenditionSelection = string; export type ResourceArn = string; @@ -846,11 +685,13 @@ export interface StartViewerSessionRevocationRequest { viewerId: string; viewerSessionVersionsLessThanOrEqualTo?: number; } -export interface StartViewerSessionRevocationResponse {} +export interface StartViewerSessionRevocationResponse { +} export interface StopStreamRequest { channelArn: string; } -export interface StopStreamResponse {} +export interface StopStreamResponse { +} export interface Stream { channelArn?: string; streamId?: string; @@ -940,7 +781,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -957,24 +799,19 @@ export interface ThumbnailConfiguration { resolution?: ThumbnailConfigurationResolution; storage?: Array; } -export type ThumbnailConfigurationResolution = - | "SD" - | "HD" - | "FULL_HD" - | "LOWEST_RESOLUTION"; +export type ThumbnailConfigurationResolution = "SD" | "HD" | "FULL_HD" | "LOWEST_RESOLUTION"; export type ThumbnailConfigurationStorage = string; export type ThumbnailConfigurationStorageList = Array; export type Time = Date | string; -export type TranscodePreset = - | "HIGHER_BANDWIDTH_DELIVERY" - | "CONSTRAINED_BANDWIDTH_DELIVERY"; +export type TranscodePreset = "HIGHER_BANDWIDTH_DELIVERY" | "CONSTRAINED_BANDWIDTH_DELIVERY"; export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateChannelRequest { arn: string; name?: string; @@ -1027,13 +864,15 @@ export type ViewerSessionVersion = number; export declare namespace BatchGetChannel { export type Input = BatchGetChannelRequest; export type Output = BatchGetChannelResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace BatchGetStreamKey { export type Input = BatchGetStreamKeyRequest; export type Output = BatchGetStreamKeyResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace BatchStartViewerSessionRevocation { @@ -1399,15 +1238,5 @@ export declare namespace UpdatePlaybackRestrictionPolicy { | CommonAwsError; } -export type ivsErrors = - | AccessDeniedException - | ChannelNotBroadcasting - | ConflictException - | InternalServerException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | StreamUnavailable - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ivsErrors = AccessDeniedException | ChannelNotBroadcasting | ConflictException | InternalServerException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | StreamUnavailable | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/ivschat/index.ts b/src/services/ivschat/index.ts index 57dfa212..f2fa1664 100644 --- a/src/services/ivschat/index.ts +++ b/src/services/ivschat/index.ts @@ -5,23 +5,7 @@ import type { ivschat as _ivschatClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,23 +14,23 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "ivschat", operations: { - CreateChatToken: "POST /CreateChatToken", - CreateLoggingConfiguration: "POST /CreateLoggingConfiguration", - CreateRoom: "POST /CreateRoom", - DeleteLoggingConfiguration: "POST /DeleteLoggingConfiguration", - DeleteMessage: "POST /DeleteMessage", - DeleteRoom: "POST /DeleteRoom", - DisconnectUser: "POST /DisconnectUser", - GetLoggingConfiguration: "POST /GetLoggingConfiguration", - GetRoom: "POST /GetRoom", - ListLoggingConfigurations: "POST /ListLoggingConfigurations", - ListRooms: "POST /ListRooms", - ListTagsForResource: "GET /tags/{resourceArn}", - SendEvent: "POST /SendEvent", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateLoggingConfiguration: "POST /UpdateLoggingConfiguration", - UpdateRoom: "POST /UpdateRoom", + "CreateChatToken": "POST /CreateChatToken", + "CreateLoggingConfiguration": "POST /CreateLoggingConfiguration", + "CreateRoom": "POST /CreateRoom", + "DeleteLoggingConfiguration": "POST /DeleteLoggingConfiguration", + "DeleteMessage": "POST /DeleteMessage", + "DeleteRoom": "POST /DeleteRoom", + "DisconnectUser": "POST /DisconnectUser", + "GetLoggingConfiguration": "POST /GetLoggingConfiguration", + "GetRoom": "POST /GetRoom", + "ListLoggingConfigurations": "POST /ListLoggingConfigurations", + "ListRooms": "POST /ListRooms", + "ListTagsForResource": "GET /tags/{resourceArn}", + "SendEvent": "POST /SendEvent", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateLoggingConfiguration": "POST /UpdateLoggingConfiguration", + "UpdateRoom": "POST /UpdateRoom", }, } as const satisfies ServiceMetadata; diff --git a/src/services/ivschat/types.ts b/src/services/ivschat/types.ts index 8321fef9..9d5187a9 100644 --- a/src/services/ivschat/types.ts +++ b/src/services/ivschat/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ivschat extends AWSServiceClient { @@ -40,96 +8,55 @@ export declare class ivschat extends AWSServiceClient { input: CreateChatTokenRequest, ): Effect.Effect< CreateChatTokenResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; createLoggingConfiguration( input: CreateLoggingConfigurationRequest, ): Effect.Effect< CreateLoggingConfigurationResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createRoom( input: CreateRoomRequest, ): Effect.Effect< CreateRoomResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteLoggingConfiguration( input: DeleteLoggingConfigurationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteMessage( input: DeleteMessageRequest, ): Effect.Effect< DeleteMessageResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRoom( input: DeleteRoomRequest, ): Effect.Effect< {}, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; disconnectUser( input: DisconnectUserRequest, ): Effect.Effect< DisconnectUserResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLoggingConfiguration( input: GetLoggingConfigurationRequest, ): Effect.Effect< GetLoggingConfigurationResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getRoom( input: GetRoomRequest, ): Effect.Effect< GetRoomResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listLoggingConfigurations( input: ListLoggingConfigurationsRequest, @@ -141,69 +68,43 @@ export declare class ivschat extends AWSServiceClient { input: ListRoomsRequest, ): Effect.Effect< ListRoomsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; sendEvent( input: SendEventRequest, ): Effect.Effect< SendEventResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateLoggingConfiguration( input: UpdateLoggingConfigurationRequest, ): Effect.Effect< UpdateLoggingConfigurationResponse, - | AccessDeniedException - | ConflictException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; updateRoom( input: UpdateRoomRequest, ): Effect.Effect< UpdateRoomResponse, - | AccessDeniedException - | PendingVerification - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | PendingVerification | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -303,20 +204,14 @@ interface _DestinationConfiguration { firehose?: FirehoseDestinationConfiguration; } -export type DestinationConfiguration = - | (_DestinationConfiguration & { s3: S3DestinationConfiguration }) - | (_DestinationConfiguration & { - cloudWatchLogs: CloudWatchLogsDestinationConfiguration; - }) - | (_DestinationConfiguration & { - firehose: FirehoseDestinationConfiguration; - }); +export type DestinationConfiguration = (_DestinationConfiguration & { s3: S3DestinationConfiguration }) | (_DestinationConfiguration & { cloudWatchLogs: CloudWatchLogsDestinationConfiguration }) | (_DestinationConfiguration & { firehose: FirehoseDestinationConfiguration }); export interface DisconnectUserRequest { roomIdentifier: string; userId: string; reason?: string; } -export interface DisconnectUserResponse {} +export interface DisconnectUserResponse { +} export type ErrorMessage = string; export type EventAttributes = Record; @@ -502,7 +397,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -520,7 +416,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateLoggingConfigurationRequest { identifier: string; name?: string; @@ -762,13 +659,5 @@ export declare namespace UpdateRoom { | CommonAwsError; } -export type ivschatErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | PendingVerification - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ivschatErrors = AccessDeniedException | ConflictException | InternalServerException | PendingVerification | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/kafka/index.ts b/src/services/kafka/index.ts index fcca60cd..eab32a4a 100644 --- a/src/services/kafka/index.ts +++ b/src/services/kafka/index.ts @@ -5,26 +5,7 @@ import type { Kafka as _KafkaClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,63 +15,58 @@ const metadata = { sigV4ServiceName: "kafka", endpointPrefix: "kafka", operations: { - BatchAssociateScramSecret: "POST /v1/clusters/{ClusterArn}/scram-secrets", - BatchDisassociateScramSecret: - "PATCH /v1/clusters/{ClusterArn}/scram-secrets", - CreateCluster: "POST /v1/clusters", - CreateClusterV2: "POST /api/v2/clusters", - CreateConfiguration: "POST /v1/configurations", - CreateReplicator: "POST /replication/v1/replicators", - CreateVpcConnection: "POST /v1/vpc-connection", - DeleteCluster: "DELETE /v1/clusters/{ClusterArn}", - DeleteClusterPolicy: "DELETE /v1/clusters/{ClusterArn}/policy", - DeleteConfiguration: "DELETE /v1/configurations/{Arn}", - DeleteReplicator: "DELETE /replication/v1/replicators/{ReplicatorArn}", - DeleteVpcConnection: "DELETE /v1/vpc-connection/{Arn}", - DescribeCluster: "GET /v1/clusters/{ClusterArn}", - DescribeClusterOperation: "GET /v1/operations/{ClusterOperationArn}", - DescribeClusterOperationV2: "GET /api/v2/operations/{ClusterOperationArn}", - DescribeClusterV2: "GET /api/v2/clusters/{ClusterArn}", - DescribeConfiguration: "GET /v1/configurations/{Arn}", - DescribeConfigurationRevision: - "GET /v1/configurations/{Arn}/revisions/{Revision}", - DescribeReplicator: "GET /replication/v1/replicators/{ReplicatorArn}", - DescribeVpcConnection: "GET /v1/vpc-connection/{Arn}", - GetBootstrapBrokers: "GET /v1/clusters/{ClusterArn}/bootstrap-brokers", - GetClusterPolicy: "GET /v1/clusters/{ClusterArn}/policy", - GetCompatibleKafkaVersions: "GET /v1/compatible-kafka-versions", - ListClientVpcConnections: - "GET /v1/clusters/{ClusterArn}/client-vpc-connections", - ListClusterOperations: "GET /v1/clusters/{ClusterArn}/operations", - ListClusterOperationsV2: "GET /api/v2/clusters/{ClusterArn}/operations", - ListClusters: "GET /v1/clusters", - ListClustersV2: "GET /api/v2/clusters", - ListConfigurationRevisions: "GET /v1/configurations/{Arn}/revisions", - ListConfigurations: "GET /v1/configurations", - ListKafkaVersions: "GET /v1/kafka-versions", - ListNodes: "GET /v1/clusters/{ClusterArn}/nodes", - ListReplicators: "GET /replication/v1/replicators", - ListScramSecrets: "GET /v1/clusters/{ClusterArn}/scram-secrets", - ListTagsForResource: "GET /v1/tags/{ResourceArn}", - ListVpcConnections: "GET /v1/vpc-connections", - PutClusterPolicy: "PUT /v1/clusters/{ClusterArn}/policy", - RebootBroker: "PUT /v1/clusters/{ClusterArn}/reboot-broker", - RejectClientVpcConnection: - "PUT /v1/clusters/{ClusterArn}/client-vpc-connection", - TagResource: "POST /v1/tags/{ResourceArn}", - UntagResource: "DELETE /v1/tags/{ResourceArn}", - UpdateBrokerCount: "PUT /v1/clusters/{ClusterArn}/nodes/count", - UpdateBrokerStorage: "PUT /v1/clusters/{ClusterArn}/nodes/storage", - UpdateBrokerType: "PUT /v1/clusters/{ClusterArn}/nodes/type", - UpdateClusterConfiguration: "PUT /v1/clusters/{ClusterArn}/configuration", - UpdateClusterKafkaVersion: "PUT /v1/clusters/{ClusterArn}/version", - UpdateConfiguration: "PUT /v1/configurations/{Arn}", - UpdateConnectivity: "PUT /v1/clusters/{ClusterArn}/connectivity", - UpdateMonitoring: "PUT /v1/clusters/{ClusterArn}/monitoring", - UpdateReplicationInfo: - "PUT /replication/v1/replicators/{ReplicatorArn}/replication-info", - UpdateSecurity: "PATCH /v1/clusters/{ClusterArn}/security", - UpdateStorage: "PUT /v1/clusters/{ClusterArn}/storage", + "BatchAssociateScramSecret": "POST /v1/clusters/{ClusterArn}/scram-secrets", + "BatchDisassociateScramSecret": "PATCH /v1/clusters/{ClusterArn}/scram-secrets", + "CreateCluster": "POST /v1/clusters", + "CreateClusterV2": "POST /api/v2/clusters", + "CreateConfiguration": "POST /v1/configurations", + "CreateReplicator": "POST /replication/v1/replicators", + "CreateVpcConnection": "POST /v1/vpc-connection", + "DeleteCluster": "DELETE /v1/clusters/{ClusterArn}", + "DeleteClusterPolicy": "DELETE /v1/clusters/{ClusterArn}/policy", + "DeleteConfiguration": "DELETE /v1/configurations/{Arn}", + "DeleteReplicator": "DELETE /replication/v1/replicators/{ReplicatorArn}", + "DeleteVpcConnection": "DELETE /v1/vpc-connection/{Arn}", + "DescribeCluster": "GET /v1/clusters/{ClusterArn}", + "DescribeClusterOperation": "GET /v1/operations/{ClusterOperationArn}", + "DescribeClusterOperationV2": "GET /api/v2/operations/{ClusterOperationArn}", + "DescribeClusterV2": "GET /api/v2/clusters/{ClusterArn}", + "DescribeConfiguration": "GET /v1/configurations/{Arn}", + "DescribeConfigurationRevision": "GET /v1/configurations/{Arn}/revisions/{Revision}", + "DescribeReplicator": "GET /replication/v1/replicators/{ReplicatorArn}", + "DescribeVpcConnection": "GET /v1/vpc-connection/{Arn}", + "GetBootstrapBrokers": "GET /v1/clusters/{ClusterArn}/bootstrap-brokers", + "GetClusterPolicy": "GET /v1/clusters/{ClusterArn}/policy", + "GetCompatibleKafkaVersions": "GET /v1/compatible-kafka-versions", + "ListClientVpcConnections": "GET /v1/clusters/{ClusterArn}/client-vpc-connections", + "ListClusterOperations": "GET /v1/clusters/{ClusterArn}/operations", + "ListClusterOperationsV2": "GET /api/v2/clusters/{ClusterArn}/operations", + "ListClusters": "GET /v1/clusters", + "ListClustersV2": "GET /api/v2/clusters", + "ListConfigurationRevisions": "GET /v1/configurations/{Arn}/revisions", + "ListConfigurations": "GET /v1/configurations", + "ListKafkaVersions": "GET /v1/kafka-versions", + "ListNodes": "GET /v1/clusters/{ClusterArn}/nodes", + "ListReplicators": "GET /replication/v1/replicators", + "ListScramSecrets": "GET /v1/clusters/{ClusterArn}/scram-secrets", + "ListTagsForResource": "GET /v1/tags/{ResourceArn}", + "ListVpcConnections": "GET /v1/vpc-connections", + "PutClusterPolicy": "PUT /v1/clusters/{ClusterArn}/policy", + "RebootBroker": "PUT /v1/clusters/{ClusterArn}/reboot-broker", + "RejectClientVpcConnection": "PUT /v1/clusters/{ClusterArn}/client-vpc-connection", + "TagResource": "POST /v1/tags/{ResourceArn}", + "UntagResource": "DELETE /v1/tags/{ResourceArn}", + "UpdateBrokerCount": "PUT /v1/clusters/{ClusterArn}/nodes/count", + "UpdateBrokerStorage": "PUT /v1/clusters/{ClusterArn}/nodes/storage", + "UpdateBrokerType": "PUT /v1/clusters/{ClusterArn}/nodes/type", + "UpdateClusterConfiguration": "PUT /v1/clusters/{ClusterArn}/configuration", + "UpdateClusterKafkaVersion": "PUT /v1/clusters/{ClusterArn}/version", + "UpdateConfiguration": "PUT /v1/configurations/{Arn}", + "UpdateConnectivity": "PUT /v1/clusters/{ClusterArn}/connectivity", + "UpdateMonitoring": "PUT /v1/clusters/{ClusterArn}/monitoring", + "UpdateReplicationInfo": "PUT /replication/v1/replicators/{ReplicatorArn}/replication-info", + "UpdateSecurity": "PATCH /v1/clusters/{ClusterArn}/security", + "UpdateStorage": "PUT /v1/clusters/{ClusterArn}/storage", }, } as const satisfies ServiceMetadata; diff --git a/src/services/kafka/types.ts b/src/services/kafka/types.ts index d61b4f75..76135699 100644 --- a/src/services/kafka/types.ts +++ b/src/services/kafka/types.ts @@ -7,602 +7,313 @@ export declare class Kafka extends AWSServiceClient { input: BatchAssociateScramSecretRequest, ): Effect.Effect< BatchAssociateScramSecretResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; batchDisassociateScramSecret( input: BatchDisassociateScramSecretRequest, ): Effect.Effect< BatchDisassociateScramSecretResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createCluster( input: CreateClusterRequest, ): Effect.Effect< CreateClusterResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createClusterV2( input: CreateClusterV2Request, ): Effect.Effect< CreateClusterV2Response, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createConfiguration( input: CreateConfigurationRequest, ): Effect.Effect< CreateConfigurationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createReplicator( input: CreateReplicatorRequest, ): Effect.Effect< CreateReplicatorResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createVpcConnection( input: CreateVpcConnectionRequest, ): Effect.Effect< CreateVpcConnectionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteCluster( input: DeleteClusterRequest, ): Effect.Effect< DeleteClusterResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; deleteClusterPolicy( input: DeleteClusterPolicyRequest, ): Effect.Effect< DeleteClusterPolicyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; deleteConfiguration( input: DeleteConfigurationRequest, ): Effect.Effect< DeleteConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; deleteReplicator( input: DeleteReplicatorRequest, ): Effect.Effect< DeleteReplicatorResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteVpcConnection( input: DeleteVpcConnectionRequest, ): Effect.Effect< DeleteVpcConnectionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; describeCluster( input: DescribeClusterRequest, ): Effect.Effect< DescribeClusterResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | UnauthorizedException | CommonAwsError >; describeClusterOperation( input: DescribeClusterOperationRequest, ): Effect.Effect< DescribeClusterOperationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | UnauthorizedException | CommonAwsError >; describeClusterOperationV2( input: DescribeClusterOperationV2Request, ): Effect.Effect< DescribeClusterOperationV2Response, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; describeClusterV2( input: DescribeClusterV2Request, ): Effect.Effect< DescribeClusterV2Response, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | UnauthorizedException | CommonAwsError >; describeConfiguration( input: DescribeConfigurationRequest, ): Effect.Effect< DescribeConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; describeConfigurationRevision( input: DescribeConfigurationRevisionRequest, ): Effect.Effect< DescribeConfigurationRevisionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; describeReplicator( input: DescribeReplicatorRequest, ): Effect.Effect< DescribeReplicatorResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; describeVpcConnection( input: DescribeVpcConnectionRequest, ): Effect.Effect< DescribeVpcConnectionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; getBootstrapBrokers( input: GetBootstrapBrokersRequest, ): Effect.Effect< GetBootstrapBrokersResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | UnauthorizedException | CommonAwsError >; getClusterPolicy( input: GetClusterPolicyRequest, ): Effect.Effect< GetClusterPolicyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; getCompatibleKafkaVersions( input: GetCompatibleKafkaVersionsRequest, ): Effect.Effect< GetCompatibleKafkaVersionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listClientVpcConnections( input: ListClientVpcConnectionsRequest, ): Effect.Effect< ListClientVpcConnectionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listClusterOperations( input: ListClusterOperationsRequest, ): Effect.Effect< ListClusterOperationsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | UnauthorizedException | CommonAwsError >; listClusterOperationsV2( input: ListClusterOperationsV2Request, ): Effect.Effect< ListClusterOperationsV2Response, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listClusters( input: ListClustersRequest, ): Effect.Effect< ListClustersResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | UnauthorizedException | CommonAwsError >; listClustersV2( input: ListClustersV2Request, ): Effect.Effect< ListClustersV2Response, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | UnauthorizedException | CommonAwsError >; listConfigurationRevisions( input: ListConfigurationRevisionsRequest, ): Effect.Effect< ListConfigurationRevisionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listConfigurations( input: ListConfigurationsRequest, ): Effect.Effect< ListConfigurationsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listKafkaVersions( input: ListKafkaVersionsRequest, ): Effect.Effect< ListKafkaVersionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | UnauthorizedException | CommonAwsError >; listNodes( input: ListNodesRequest, ): Effect.Effect< ListNodesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; listReplicators( input: ListReplicatorsRequest, ): Effect.Effect< ListReplicatorsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listScramSecrets( input: ListScramSecretsRequest, ): Effect.Effect< ListScramSecretsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | InternalServerErrorException | NotFoundException | CommonAwsError >; listVpcConnections( input: ListVpcConnectionsRequest, ): Effect.Effect< ListVpcConnectionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; putClusterPolicy( input: PutClusterPolicyRequest, ): Effect.Effect< PutClusterPolicyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | CommonAwsError >; rebootBroker( input: RebootBrokerRequest, ): Effect.Effect< RebootBrokerResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; rejectClientVpcConnection( input: RejectClientVpcConnectionRequest, ): Effect.Effect< RejectClientVpcConnectionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | InternalServerErrorException | NotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | InternalServerErrorException | NotFoundException | CommonAwsError >; updateBrokerCount( input: UpdateBrokerCountRequest, ): Effect.Effect< UpdateBrokerCountResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; updateBrokerStorage( input: UpdateBrokerStorageRequest, ): Effect.Effect< UpdateBrokerStorageResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; updateBrokerType( input: UpdateBrokerTypeRequest, ): Effect.Effect< UpdateBrokerTypeResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateClusterConfiguration( input: UpdateClusterConfigurationRequest, ): Effect.Effect< UpdateClusterConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; updateClusterKafkaVersion( input: UpdateClusterKafkaVersionRequest, ): Effect.Effect< UpdateClusterKafkaVersionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateConfiguration( input: UpdateConfigurationRequest, ): Effect.Effect< UpdateConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; updateConnectivity( input: UpdateConnectivityRequest, ): Effect.Effect< UpdateConnectivityResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; updateMonitoring( input: UpdateMonitoringRequest, ): Effect.Effect< UpdateMonitoringResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; updateReplicationInfo( input: UpdateReplicationInfoRequest, ): Effect.Effect< UpdateReplicationInfoResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateSecurity( input: UpdateSecurityRequest, ): Effect.Effect< UpdateSecurityResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateStorage( input: UpdateStorageRequest, ): Effect.Effect< UpdateStorageResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; } @@ -628,8 +339,7 @@ export type __listOfCluster = Array; export type __listOfClusterInfo = Array; export type __listOfClusterOperationInfo = Array; export type __listOfClusterOperationStep = Array; -export type __listOfClusterOperationV2Summary = - Array; +export type __listOfClusterOperationV2Summary = Array; export type __listOfCompatibleKafkaVersion = Array; export type __listOfConfiguration = Array; export type __listOfConfigurationRevision = Array; @@ -639,8 +349,7 @@ export type __listOfKafkaClusterSummary = Array; export type __listOfKafkaVersion = Array; export type __listOfNodeInfo = Array; export type __listOfReplicationInfo = Array; -export type __listOfReplicationInfoDescription = - Array; +export type __listOfReplicationInfoDescription = Array; export type __listOfReplicationInfoSummary = Array; export type __listOfReplicatorSummary = Array; export type __listOfUnprocessedScramSecret = Array; @@ -832,15 +541,7 @@ export interface ClusterOperationV2Summary { OperationState?: string; OperationType?: string; } -export type ClusterState = - | "ACTIVE" - | "CREATING" - | "DELETING" - | "FAILED" - | "HEALING" - | "MAINTENANCE" - | "REBOOTING_BROKER" - | "UPDATING"; +export type ClusterState = "ACTIVE" | "CREATING" | "DELETING" | "FAILED" | "HEALING" | "MAINTENANCE" | "REBOOTING_BROKER" | "UPDATING"; export type ClusterType = "PROVISIONED" | "SERVERLESS"; export interface CompatibleKafkaVersion { SourceVersion?: string; @@ -965,14 +666,12 @@ export interface CreateVpcConnectionResponse { CreationTime?: Date | string; Tags?: Record; } -export type CustomerActionStatus = - | "CRITICAL_ACTION_REQUIRED" - | "ACTION_RECOMMENDED" - | "NONE"; +export type CustomerActionStatus = "CRITICAL_ACTION_REQUIRED" | "ACTION_RECOMMENDED" | "NONE"; export interface DeleteClusterPolicyRequest { ClusterArn: string; } -export interface DeleteClusterPolicyResponse {} +export interface DeleteClusterPolicyResponse { +} export interface DeleteClusterRequest { ClusterArn: string; CurrentVersion?: string; @@ -1097,11 +796,7 @@ export interface EncryptionInTransit { ClientBroker?: ClientBroker; InCluster?: boolean; } -export type EnhancedMonitoring = - | "DEFAULT" - | "PER_BROKER" - | "PER_TOPIC_PER_BROKER" - | "PER_TOPIC_PER_PARTITION"; +export type EnhancedMonitoring = "DEFAULT" | "PER_BROKER" | "PER_TOPIC_PER_BROKER" | "PER_TOPIC_PER_PARTITION"; export interface ErrorInfo { ErrorCode?: string; ErrorString?: string; @@ -1402,7 +1097,8 @@ export interface RejectClientVpcConnectionRequest { ClusterArn: string; VpcConnectionArn: string; } -export interface RejectClientVpcConnectionResponse {} +export interface RejectClientVpcConnectionResponse { +} export interface ReplicationInfo { ConsumerGroupReplication: ConsumerGroupReplication; SourceKafkaClusterArn: string; @@ -1432,15 +1128,8 @@ export interface ReplicationStateInfo { export interface ReplicationTopicNameConfiguration { Type?: ReplicationTopicNameConfigurationType; } -export type ReplicationTopicNameConfigurationType = - | "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS" - | "IDENTICAL"; -export type ReplicatorState = - | "RUNNING" - | "CREATING" - | "UPDATING" - | "DELETING" - | "FAILED"; +export type ReplicationTopicNameConfigurationType = "PREFIXED_WITH_SOURCE_CLUSTER_ALIAS" | "IDENTICAL"; +export type ReplicatorState = "RUNNING" | "CREATING" | "UPDATING" | "DELETING" | "FAILED"; export interface ReplicatorSummary { CreationTime?: Date | string; CurrentVersion?: string; @@ -1678,15 +1367,7 @@ export interface VpcConnectionInfoServerless { UserIdentity?: UserIdentity; VpcConnectionArn?: string; } -export type VpcConnectionState = - | "CREATING" - | "AVAILABLE" - | "INACTIVE" - | "DEACTIVATING" - | "DELETING" - | "FAILED" - | "REJECTED" - | "REJECTING"; +export type VpcConnectionState = "CREATING" | "AVAILABLE" | "INACTIVE" | "DEACTIVATING" | "DELETING" | "FAILED" | "REJECTED" | "REJECTING"; export interface VpcConnectivity { ClientAuthentication?: VpcConnectivityClientAuthentication; } @@ -2367,13 +2048,5 @@ export declare namespace UpdateStorage { | CommonAwsError; } -export type KafkaErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError; +export type KafkaErrors = BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/kafkaconnect/index.ts b/src/services/kafkaconnect/index.ts index 7995b3a9..2b9cd614 100644 --- a/src/services/kafkaconnect/index.ts +++ b/src/services/kafkaconnect/index.ts @@ -5,26 +5,7 @@ import type { KafkaConnect as _KafkaConnectClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,27 +15,24 @@ const metadata = { sigV4ServiceName: "kafkaconnect", endpointPrefix: "kafkaconnect", operations: { - CreateConnector: "POST /v1/connectors", - CreateCustomPlugin: "POST /v1/custom-plugins", - CreateWorkerConfiguration: "POST /v1/worker-configurations", - DeleteConnector: "DELETE /v1/connectors/{connectorArn}", - DeleteCustomPlugin: "DELETE /v1/custom-plugins/{customPluginArn}", - DeleteWorkerConfiguration: - "DELETE /v1/worker-configurations/{workerConfigurationArn}", - DescribeConnector: "GET /v1/connectors/{connectorArn}", - DescribeConnectorOperation: - "GET /v1/connectorOperations/{connectorOperationArn}", - DescribeCustomPlugin: "GET /v1/custom-plugins/{customPluginArn}", - DescribeWorkerConfiguration: - "GET /v1/worker-configurations/{workerConfigurationArn}", - ListConnectorOperations: "GET /v1/connectors/{connectorArn}/operations", - ListConnectors: "GET /v1/connectors", - ListCustomPlugins: "GET /v1/custom-plugins", - ListTagsForResource: "GET /v1/tags/{resourceArn}", - ListWorkerConfigurations: "GET /v1/worker-configurations", - TagResource: "POST /v1/tags/{resourceArn}", - UntagResource: "DELETE /v1/tags/{resourceArn}", - UpdateConnector: "PUT /v1/connectors/{connectorArn}", + "CreateConnector": "POST /v1/connectors", + "CreateCustomPlugin": "POST /v1/custom-plugins", + "CreateWorkerConfiguration": "POST /v1/worker-configurations", + "DeleteConnector": "DELETE /v1/connectors/{connectorArn}", + "DeleteCustomPlugin": "DELETE /v1/custom-plugins/{customPluginArn}", + "DeleteWorkerConfiguration": "DELETE /v1/worker-configurations/{workerConfigurationArn}", + "DescribeConnector": "GET /v1/connectors/{connectorArn}", + "DescribeConnectorOperation": "GET /v1/connectorOperations/{connectorOperationArn}", + "DescribeCustomPlugin": "GET /v1/custom-plugins/{customPluginArn}", + "DescribeWorkerConfiguration": "GET /v1/worker-configurations/{workerConfigurationArn}", + "ListConnectorOperations": "GET /v1/connectors/{connectorArn}/operations", + "ListConnectors": "GET /v1/connectors", + "ListCustomPlugins": "GET /v1/custom-plugins", + "ListTagsForResource": "GET /v1/tags/{resourceArn}", + "ListWorkerConfigurations": "GET /v1/worker-configurations", + "TagResource": "POST /v1/tags/{resourceArn}", + "UntagResource": "DELETE /v1/tags/{resourceArn}", + "UpdateConnector": "PUT /v1/connectors/{connectorArn}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/kafkaconnect/types.ts b/src/services/kafkaconnect/types.ts index 983092b2..85ac034f 100644 --- a/src/services/kafkaconnect/types.ts +++ b/src/services/kafkaconnect/types.ts @@ -7,239 +7,109 @@ export declare class KafkaConnect extends AWSServiceClient { input: CreateConnectorRequest, ): Effect.Effect< CreateConnectorResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createCustomPlugin( input: CreateCustomPluginRequest, ): Effect.Effect< CreateCustomPluginResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createWorkerConfiguration( input: CreateWorkerConfigurationRequest, ): Effect.Effect< CreateWorkerConfigurationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteConnector( input: DeleteConnectorRequest, ): Effect.Effect< DeleteConnectorResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteCustomPlugin( input: DeleteCustomPluginRequest, ): Effect.Effect< DeleteCustomPluginResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; deleteWorkerConfiguration( input: DeleteWorkerConfigurationRequest, ): Effect.Effect< DeleteWorkerConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; describeConnector( input: DescribeConnectorRequest, ): Effect.Effect< DescribeConnectorResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; describeConnectorOperation( input: DescribeConnectorOperationRequest, ): Effect.Effect< DescribeConnectorOperationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; describeCustomPlugin( input: DescribeCustomPluginRequest, ): Effect.Effect< DescribeCustomPluginResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; describeWorkerConfiguration( input: DescribeWorkerConfigurationRequest, ): Effect.Effect< DescribeWorkerConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listConnectorOperations( input: ListConnectorOperationsRequest, ): Effect.Effect< ListConnectorOperationsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listConnectors( input: ListConnectorsRequest, ): Effect.Effect< ListConnectorsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listCustomPlugins( input: ListCustomPluginsRequest, ): Effect.Effect< ListCustomPluginsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listWorkerConfigurations( input: ListWorkerConfigurationsRequest, ): Effect.Effect< ListWorkerConfigurationsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; updateConnector( input: UpdateConnectorRequest, ): Effect.Effect< UpdateConnectorResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; } @@ -255,14 +125,12 @@ export type __integerMin1Max8 = number; export type __listOf__string = Array; export type __listOfConnectorOperationStep = Array; -export type __listOfConnectorOperationSummary = - Array; +export type __listOfConnectorOperationSummary = Array; export type __listOfConnectorSummary = Array; export type __listOfCustomPluginSummary = Array; export type __listOfPlugin = Array; export type __listOfPluginDescription = Array; -export type __listOfWorkerConfigurationSummary = - Array; +export type __listOfWorkerConfigurationSummary = Array; export type __long = number; export type __longMin1 = number; @@ -711,7 +579,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -729,7 +598,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateConnectorRequest { capacity?: CapacityUpdate; connectorConfiguration?: Record; @@ -1047,13 +917,5 @@ export declare namespace UpdateConnector { | CommonAwsError; } -export type KafkaConnectErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError; +export type KafkaConnectErrors = BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/kendra-ranking/index.ts b/src/services/kendra-ranking/index.ts index f5b31926..519a85ec 100644 --- a/src/services/kendra-ranking/index.ts +++ b/src/services/kendra-ranking/index.ts @@ -5,23 +5,7 @@ import type { KendraRanking as _KendraRankingClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/kendra-ranking/types.ts b/src/services/kendra-ranking/types.ts index 56d79251..1fbb672d 100644 --- a/src/services/kendra-ranking/types.ts +++ b/src/services/kendra-ranking/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class KendraRanking extends AWSServiceClient { @@ -40,104 +8,55 @@ export declare class KendraRanking extends AWSServiceClient { input: CreateRescoreExecutionPlanRequest, ): Effect.Effect< CreateRescoreExecutionPlanResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteRescoreExecutionPlan( input: DeleteRescoreExecutionPlanRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRescoreExecutionPlan( input: DescribeRescoreExecutionPlanRequest, ): Effect.Effect< DescribeRescoreExecutionPlanResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRescoreExecutionPlans( input: ListRescoreExecutionPlansRequest, ): Effect.Effect< ListRescoreExecutionPlansResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; rescore( input: RescoreRequest, ): Effect.Effect< RescoreResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; updateRescoreExecutionPlan( input: UpdateRescoreExecutionPlanRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -242,12 +161,7 @@ export type RescoreExecutionPlanId = string; export type RescoreExecutionPlanName = string; -export type RescoreExecutionPlanStatus = - | "CREATING" - | "UPDATING" - | "ACTIVE" - | "DELETING" - | "FAILED"; +export type RescoreExecutionPlanStatus = "CREATING" | "UPDATING" | "ACTIVE" | "DELETING" | "FAILED"; export interface RescoreExecutionPlanSummary { Name?: string; Id?: string; @@ -255,8 +169,7 @@ export interface RescoreExecutionPlanSummary { UpdatedAt?: Date | string; Status?: RescoreExecutionPlanStatus; } -export type RescoreExecutionPlanSummaryList = - Array; +export type RescoreExecutionPlanSummaryList = Array; export type RescoreId = string; export interface RescoreRequest { @@ -302,7 +215,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -319,7 +233,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateRescoreExecutionPlanRequest { Id: string; Name?: string; @@ -443,13 +358,5 @@ export declare namespace UpdateRescoreExecutionPlan { | CommonAwsError; } -export type KendraRankingErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ResourceUnavailableException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type KendraRankingErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ResourceUnavailableException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/kendra/index.ts b/src/services/kendra/index.ts index 41a8cc97..dfbb5e92 100644 --- a/src/services/kendra/index.ts +++ b/src/services/kendra/index.ts @@ -5,23 +5,7 @@ import type { kendra as _kendraClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/kendra/types.ts b/src/services/kendra/types.ts index 960df014..2eaf4c61 100644 --- a/src/services/kendra/types.ts +++ b/src/services/kendra/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class kendra extends AWSServiceClient { @@ -40,780 +8,397 @@ export declare class kendra extends AWSServiceClient { input: AssociateEntitiesToExperienceRequest, ): Effect.Effect< AssociateEntitiesToExperienceResponse, - | AccessDeniedException - | InternalServerException - | ResourceAlreadyExistException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceAlreadyExistException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associatePersonasToEntities( input: AssociatePersonasToEntitiesRequest, ): Effect.Effect< AssociatePersonasToEntitiesResponse, - | AccessDeniedException - | InternalServerException - | ResourceAlreadyExistException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceAlreadyExistException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchDeleteDocument( input: BatchDeleteDocumentRequest, ): Effect.Effect< BatchDeleteDocumentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchDeleteFeaturedResultsSet( input: BatchDeleteFeaturedResultsSetRequest, ): Effect.Effect< BatchDeleteFeaturedResultsSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetDocumentStatus( input: BatchGetDocumentStatusRequest, ): Effect.Effect< BatchGetDocumentStatusResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchPutDocument( input: BatchPutDocumentRequest, ): Effect.Effect< BatchPutDocumentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; clearQuerySuggestions( input: ClearQuerySuggestionsRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAccessControlConfiguration( input: CreateAccessControlConfigurationRequest, ): Effect.Effect< CreateAccessControlConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataSource( input: CreateDataSourceRequest, ): Effect.Effect< CreateDataSourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceAlreadyExistException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceAlreadyExistException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createExperience( input: CreateExperienceRequest, ): Effect.Effect< CreateExperienceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFaq( input: CreateFaqRequest, ): Effect.Effect< CreateFaqResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFeaturedResultsSet( input: CreateFeaturedResultsSetRequest, ): Effect.Effect< CreateFeaturedResultsSetResponse, - | AccessDeniedException - | ConflictException - | FeaturedResultsConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | FeaturedResultsConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createIndex( input: CreateIndexRequest, ): Effect.Effect< CreateIndexResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceAlreadyExistException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceAlreadyExistException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createQuerySuggestionsBlockList( input: CreateQuerySuggestionsBlockListRequest, ): Effect.Effect< CreateQuerySuggestionsBlockListResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createThesaurus( input: CreateThesaurusRequest, ): Effect.Effect< CreateThesaurusResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAccessControlConfiguration( input: DeleteAccessControlConfigurationRequest, ): Effect.Effect< DeleteAccessControlConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataSource( input: DeleteDataSourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteExperience( input: DeleteExperienceRequest, ): Effect.Effect< DeleteExperienceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFaq( input: DeleteFaqRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteIndex( input: DeleteIndexRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePrincipalMapping( input: DeletePrincipalMappingRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteQuerySuggestionsBlockList( input: DeleteQuerySuggestionsBlockListRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteThesaurus( input: DeleteThesaurusRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAccessControlConfiguration( input: DescribeAccessControlConfigurationRequest, ): Effect.Effect< DescribeAccessControlConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeDataSource( input: DescribeDataSourceRequest, ): Effect.Effect< DescribeDataSourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeExperience( input: DescribeExperienceRequest, ): Effect.Effect< DescribeExperienceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeFaq( input: DescribeFaqRequest, ): Effect.Effect< DescribeFaqResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeFeaturedResultsSet( input: DescribeFeaturedResultsSetRequest, ): Effect.Effect< DescribeFeaturedResultsSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeIndex( input: DescribeIndexRequest, ): Effect.Effect< DescribeIndexResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePrincipalMapping( input: DescribePrincipalMappingRequest, ): Effect.Effect< DescribePrincipalMappingResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeQuerySuggestionsBlockList( input: DescribeQuerySuggestionsBlockListRequest, ): Effect.Effect< DescribeQuerySuggestionsBlockListResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeQuerySuggestionsConfig( input: DescribeQuerySuggestionsConfigRequest, ): Effect.Effect< DescribeQuerySuggestionsConfigResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeThesaurus( input: DescribeThesaurusRequest, ): Effect.Effect< DescribeThesaurusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateEntitiesFromExperience( input: DisassociateEntitiesFromExperienceRequest, ): Effect.Effect< DisassociateEntitiesFromExperienceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociatePersonasFromEntities( input: DisassociatePersonasFromEntitiesRequest, ): Effect.Effect< DisassociatePersonasFromEntitiesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getQuerySuggestions( input: GetQuerySuggestionsRequest, ): Effect.Effect< GetQuerySuggestionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getSnapshots( input: GetSnapshotsRequest, ): Effect.Effect< GetSnapshotsResponse, - | AccessDeniedException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listAccessControlConfigurations( input: ListAccessControlConfigurationsRequest, ): Effect.Effect< ListAccessControlConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSources( input: ListDataSourcesRequest, ): Effect.Effect< ListDataSourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSourceSyncJobs( input: ListDataSourceSyncJobsRequest, ): Effect.Effect< ListDataSourceSyncJobsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEntityPersonas( input: ListEntityPersonasRequest, ): Effect.Effect< ListEntityPersonasResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listExperienceEntities( input: ListExperienceEntitiesRequest, ): Effect.Effect< ListExperienceEntitiesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listExperiences( input: ListExperiencesRequest, ): Effect.Effect< ListExperiencesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFaqs( input: ListFaqsRequest, ): Effect.Effect< ListFaqsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFeaturedResultsSets( input: ListFeaturedResultsSetsRequest, ): Effect.Effect< ListFeaturedResultsSetsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listGroupsOlderThanOrderingId( input: ListGroupsOlderThanOrderingIdRequest, ): Effect.Effect< ListGroupsOlderThanOrderingIdResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listIndices( input: ListIndicesRequest, ): Effect.Effect< ListIndicesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listQuerySuggestionsBlockLists( input: ListQuerySuggestionsBlockListsRequest, ): Effect.Effect< ListQuerySuggestionsBlockListsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; listThesauri( input: ListThesauriRequest, ): Effect.Effect< ListThesauriResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putPrincipalMapping( input: PutPrincipalMappingRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; query( input: QueryRequest, ): Effect.Effect< QueryResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; retrieve( input: RetrieveRequest, ): Effect.Effect< RetrieveResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startDataSourceSyncJob( input: StartDataSourceSyncJobRequest, ): Effect.Effect< StartDataSourceSyncJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopDataSourceSyncJob( input: StopDataSourceSyncJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; submitFeedback( input: SubmitFeedbackRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; updateAccessControlConfiguration( input: UpdateAccessControlConfigurationRequest, ): Effect.Effect< UpdateAccessControlConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateDataSource( input: UpdateDataSourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateExperience( input: UpdateExperienceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFeaturedResultsSet( input: UpdateFeaturedResultsSetRequest, ): Effect.Effect< UpdateFeaturedResultsSetResponse, - | AccessDeniedException - | FeaturedResultsConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | FeaturedResultsConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateIndex( input: UpdateIndexRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateQuerySuggestionsBlockList( input: UpdateQuerySuggestionsBlockListRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateQuerySuggestionsConfig( input: UpdateQuerySuggestionsConfigRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateThesaurus( input: UpdateThesaurusRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -826,8 +411,7 @@ export type AccessControlConfigurationName = string; export interface AccessControlConfigurationSummary { Id: string; } -export type AccessControlConfigurationSummaryList = - Array; +export type AccessControlConfigurationSummaryList = Array; export interface AccessControlListConfiguration { KeyPath?: string; } @@ -921,8 +505,7 @@ export interface BasicAuthenticationConfiguration { Port: number; Credentials: string; } -export type BasicAuthenticationConfigurationList = - Array; +export type BasicAuthenticationConfigurationList = Array; export interface BatchDeleteDocumentRequest { IndexId: string; DocumentIdList: Array; @@ -937,15 +520,13 @@ export interface BatchDeleteDocumentResponseFailedDocument { ErrorCode?: ErrorCode; ErrorMessage?: string; } -export type BatchDeleteDocumentResponseFailedDocuments = - Array; +export type BatchDeleteDocumentResponseFailedDocuments = Array; export interface BatchDeleteFeaturedResultsSetError { Id: string; ErrorCode: ErrorCode; ErrorMessage: string; } -export type BatchDeleteFeaturedResultsSetErrors = - Array; +export type BatchDeleteFeaturedResultsSetErrors = Array; export interface BatchDeleteFeaturedResultsSetRequest { IndexId: string; FeaturedResultsSetIds: Array; @@ -967,8 +548,7 @@ export interface BatchGetDocumentStatusResponseError { ErrorCode?: ErrorCode; ErrorMessage?: string; } -export type BatchGetDocumentStatusResponseErrors = - Array; +export type BatchGetDocumentStatusResponseErrors = Array; export interface BatchPutDocumentRequest { IndexId: string; RoleArn?: string; @@ -984,8 +564,7 @@ export interface BatchPutDocumentResponseFailedDocument { ErrorCode?: ErrorCode; ErrorMessage?: string; } -export type BatchPutDocumentResponseFailedDocuments = - Array; +export type BatchPutDocumentResponseFailedDocuments = Array; export type Blob = Uint8Array | string; export type KendraBoolean = boolean; @@ -1042,18 +621,7 @@ export interface ColumnConfiguration { } export type ColumnName = string; -export type ConditionOperator = - | "GreaterThan" - | "GreaterThanOrEquals" - | "LessThan" - | "LessThanOrEquals" - | "Equals" - | "NotEquals" - | "Contains" - | "NotContains" - | "Exists" - | "NotExists" - | "BeginsWith"; +export type ConditionOperator = "GreaterThan" | "GreaterThanOrEquals" | "LessThan" | "LessThanOrEquals" | "Equals" | "NotEquals" | "Contains" | "NotContains" | "Exists" | "NotExists" | "BeginsWith"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -1069,20 +637,8 @@ export interface ConfluenceAttachmentConfiguration { CrawlAttachments?: boolean; AttachmentFieldMappings?: Array; } -export type ConfluenceAttachmentFieldMappingsList = - Array; -export type ConfluenceAttachmentFieldName = - | "AUTHOR" - | "CONTENT_TYPE" - | "CREATED_DATE" - | "DISPLAY_URL" - | "FILE_SIZE" - | "ITEM_TYPE" - | "PARENT_ID" - | "SPACE_KEY" - | "SPACE_NAME" - | "URL" - | "VERSION"; +export type ConfluenceAttachmentFieldMappingsList = Array; +export type ConfluenceAttachmentFieldName = "AUTHOR" | "CONTENT_TYPE" | "CREATED_DATE" | "DISPLAY_URL" | "FILE_SIZE" | "ITEM_TYPE" | "PARENT_ID" | "SPACE_KEY" | "SPACE_NAME" | "URL" | "VERSION"; export interface ConfluenceAttachmentToIndexFieldMapping { DataSourceFieldName?: ConfluenceAttachmentFieldName; DateFieldFormat?: string; @@ -1092,18 +648,8 @@ export type ConfluenceAuthenticationType = "HTTP_BASIC" | "PAT"; export interface ConfluenceBlogConfiguration { BlogFieldMappings?: Array; } -export type ConfluenceBlogFieldMappingsList = - Array; -export type ConfluenceBlogFieldName = - | "AUTHOR" - | "DISPLAY_URL" - | "ITEM_TYPE" - | "LABELS" - | "PUBLISH_DATE" - | "SPACE_KEY" - | "SPACE_NAME" - | "URL" - | "VERSION"; +export type ConfluenceBlogFieldMappingsList = Array; +export type ConfluenceBlogFieldName = "AUTHOR" | "DISPLAY_URL" | "ITEM_TYPE" | "LABELS" | "PUBLISH_DATE" | "SPACE_KEY" | "SPACE_NAME" | "URL" | "VERSION"; export interface ConfluenceBlogToIndexFieldMapping { DataSourceFieldName?: ConfluenceBlogFieldName; DateFieldFormat?: string; @@ -1126,21 +672,8 @@ export interface ConfluenceConfiguration { export interface ConfluencePageConfiguration { PageFieldMappings?: Array; } -export type ConfluencePageFieldMappingsList = - Array; -export type ConfluencePageFieldName = - | "AUTHOR" - | "CONTENT_STATUS" - | "CREATED_DATE" - | "DISPLAY_URL" - | "ITEM_TYPE" - | "LABELS" - | "MODIFIED_DATE" - | "PARENT_ID" - | "SPACE_KEY" - | "SPACE_NAME" - | "URL" - | "VERSION"; +export type ConfluencePageFieldMappingsList = Array; +export type ConfluencePageFieldName = "AUTHOR" | "CONTENT_STATUS" | "CREATED_DATE" | "DISPLAY_URL" | "ITEM_TYPE" | "LABELS" | "MODIFIED_DATE" | "PARENT_ID" | "SPACE_KEY" | "SPACE_NAME" | "URL" | "VERSION"; export interface ConfluencePageToIndexFieldMapping { DataSourceFieldName?: ConfluencePageFieldName; DateFieldFormat?: string; @@ -1153,13 +686,8 @@ export interface ConfluenceSpaceConfiguration { ExcludeSpaces?: Array; SpaceFieldMappings?: Array; } -export type ConfluenceSpaceFieldMappingsList = - Array; -export type ConfluenceSpaceFieldName = - | "DISPLAY_URL" - | "ITEM_TYPE" - | "SPACE_KEY" - | "URL"; +export type ConfluenceSpaceFieldMappingsList = Array; +export type ConfluenceSpaceFieldName = "DISPLAY_URL" | "ITEM_TYPE" | "SPACE_KEY" | "URL"; export type ConfluenceSpaceIdentifier = string; export type ConfluenceSpaceList = Array; @@ -1183,19 +711,7 @@ export interface ContentSourceConfiguration { FaqIds?: Array; DirectPutContent?: boolean; } -export type ContentType = - | "PDF" - | "HTML" - | "MS_WORD" - | "PLAIN_TEXT" - | "PPT" - | "RTF" - | "XML" - | "XSLT" - | "MS_EXCEL" - | "CSV" - | "JSON" - | "MD"; +export type ContentType = "PDF" | "HTML" | "MS_WORD" | "PLAIN_TEXT" | "PPT" | "RTF" | "XML" | "XSLT" | "MS_EXCEL" | "CSV" | "JSON" | "MD"; export interface Correction { BeginOffset?: number; EndOffset?: number; @@ -1324,11 +840,7 @@ export interface DatabaseConfiguration { AclConfiguration?: AclConfiguration; SqlConfiguration?: SqlConfiguration; } -export type DatabaseEngineType = - | "RDS_AURORA_MYSQL" - | "RDS_AURORA_POSTGRESQL" - | "RDS_MYSQL" - | "RDS_POSTGRESQL"; +export type DatabaseEngineType = "RDS_AURORA_MYSQL" | "RDS_AURORA_POSTGRESQL" | "RDS_MYSQL" | "RDS_POSTGRESQL"; export type DatabaseHost = string; export type DatabaseName = string; @@ -1372,12 +884,7 @@ export type DataSourceInclusionsExclusionsStringsMember = string; export type DataSourceName = string; -export type DataSourceStatus = - | "CREATING" - | "DELETING" - | "FAILED" - | "UPDATING" - | "ACTIVE"; +export type DataSourceStatus = "CREATING" | "DELETING" | "FAILED" | "UPDATING" | "ACTIVE"; export interface DataSourceSummary { Name?: string; Id?: string; @@ -1412,41 +919,14 @@ export interface DataSourceSyncJobMetricTarget { DataSourceId: string; DataSourceSyncJobId?: string; } -export type DataSourceSyncJobStatus = - | "FAILED" - | "SUCCEEDED" - | "SYNCING" - | "INCOMPLETE" - | "STOPPING" - | "ABORTED" - | "SYNCING_INDEXING"; +export type DataSourceSyncJobStatus = "FAILED" | "SUCCEEDED" | "SYNCING" | "INCOMPLETE" | "STOPPING" | "ABORTED" | "SYNCING_INDEXING"; export interface DataSourceToIndexFieldMapping { DataSourceFieldName: string; DateFieldFormat?: string; IndexFieldName: string; } -export type DataSourceToIndexFieldMappingList = - Array; -export type DataSourceType = - | "S3" - | "SHAREPOINT" - | "DATABASE" - | "SALESFORCE" - | "ONEDRIVE" - | "SERVICENOW" - | "CUSTOM" - | "CONFLUENCE" - | "GOOGLEDRIVE" - | "WEBCRAWLER" - | "WORKDOCS" - | "FSX" - | "SLACK" - | "BOX" - | "QUIP" - | "JIRA" - | "GITHUB" - | "ALFRESCO" - | "TEMPLATE"; +export type DataSourceToIndexFieldMappingList = Array; +export type DataSourceType = "S3" | "SHAREPOINT" | "DATABASE" | "SALESFORCE" | "ONEDRIVE" | "SERVICENOW" | "CUSTOM" | "CONFLUENCE" | "GOOGLEDRIVE" | "WEBCRAWLER" | "WORKDOCS" | "FSX" | "SLACK" | "BOX" | "QUIP" | "JIRA" | "GITHUB" | "ALFRESCO" | "TEMPLATE"; export interface DataSourceVpcConfiguration { SubnetIds: Array; SecurityGroupIds: Array; @@ -1455,7 +935,8 @@ export interface DeleteAccessControlConfigurationRequest { IndexId: string; Id: string; } -export interface DeleteAccessControlConfigurationResponse {} +export interface DeleteAccessControlConfigurationResponse { +} export interface DeleteDataSourceRequest { Id: string; IndexId: string; @@ -1464,7 +945,8 @@ export interface DeleteExperienceRequest { Id: string; IndexId: string; } -export interface DeleteExperienceResponse {} +export interface DeleteExperienceResponse { +} export interface DeleteFaqRequest { Id: string; IndexId: string; @@ -1714,13 +1196,8 @@ export interface DocumentAttributeValueCountPair { Count?: number; FacetResults?: Array; } -export type DocumentAttributeValueCountPairList = - Array; -export type DocumentAttributeValueType = - | "STRING_VALUE" - | "STRING_LIST_VALUE" - | "LONG_VALUE" - | "DATE_VALUE"; +export type DocumentAttributeValueCountPairList = Array; +export type DocumentAttributeValueType = "STRING_VALUE" | "STRING_LIST_VALUE" | "LONG_VALUE" | "DATE_VALUE"; export type DocumentId = string; export type DocumentIdList = Array; @@ -1738,26 +1215,18 @@ export interface DocumentMetadataConfiguration { Relevance?: Relevance; Search?: Search; } -export type DocumentMetadataConfigurationList = - Array; +export type DocumentMetadataConfigurationList = Array; export type DocumentMetadataConfigurationName = string; export interface DocumentRelevanceConfiguration { Name: string; Relevance: Relevance; } -export type DocumentRelevanceOverrideConfigurationList = - Array; +export type DocumentRelevanceOverrideConfigurationList = Array; export interface DocumentsMetadataConfiguration { S3Prefix?: string; } -export type DocumentStatus = - | "NOT_FOUND" - | "PROCESSING" - | "INDEXED" - | "UPDATED" - | "FAILED" - | "UPDATE_FAILED"; +export type DocumentStatus = "NOT_FOUND" | "PROCESSING" | "INDEXED" | "UPDATED" | "FAILED" | "UPDATE_FAILED"; export type DocumentStatusList = Array; export type DocumentTitle = string; @@ -1866,12 +1335,7 @@ export type FaqName = string; export interface FaqStatistics { IndexedQuestionAnswersCount: number; } -export type FaqStatus = - | "CREATING" - | "UPDATING" - | "ACTIVE" - | "DELETING" - | "FAILED"; +export type FaqStatus = "CREATING" | "UPDATING" | "ACTIVE" | "DELETING" | "FAILED"; export interface FaqSummary { Id?: string; Name?: string; @@ -1895,8 +1359,7 @@ export interface FeaturedDocumentWithMetadata { Title?: string; URI?: string; } -export type FeaturedDocumentWithMetadataList = - Array; +export type FeaturedDocumentWithMetadataList = Array; export declare class FeaturedResultsConflictException extends EffectData.TaggedError( "FeaturedResultsConflictException", )<{ @@ -2078,10 +1541,7 @@ export interface IndexConfigurationSummary { Status: IndexStatus; } export type IndexConfigurationSummaryList = Array; -export type IndexEdition = - | "DEVELOPER_EDITION" - | "ENTERPRISE_EDITION" - | "GEN_AI_ENTERPRISE_EDITION"; +export type IndexEdition = "DEVELOPER_EDITION" | "ENTERPRISE_EDITION" | "GEN_AI_ENTERPRISE_EDITION"; export type IndexedQuestionAnswersCount = number; export type IndexedTextBytes = number; @@ -2098,20 +1558,13 @@ export interface IndexStatistics { FaqStatistics: FaqStatistics; TextDocumentStatistics: TextDocumentStatistics; } -export type IndexStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED" - | "UPDATING" - | "SYSTEM_UPDATING"; +export type IndexStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING" | "SYSTEM_UPDATING"; export interface InlineCustomDocumentEnrichmentConfiguration { Condition?: DocumentAttributeCondition; Target?: DocumentAttributeTarget; DocumentContentDeletion?: boolean; } -export type InlineCustomDocumentEnrichmentConfigurationList = - Array; +export type InlineCustomDocumentEnrichmentConfigurationList = Array; export type Integer = number; export declare class InternalServerException extends EffectData.TaggedError( @@ -2119,13 +1572,7 @@ export declare class InternalServerException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type Interval = - | "THIS_MONTH" - | "THIS_WEEK" - | "ONE_WEEK_AGO" - | "TWO_WEEKS_AGO" - | "ONE_MONTH_AGO" - | "TWO_MONTHS_AGO"; +export type Interval = "THIS_MONTH" | "THIS_WEEK" | "ONE_WEEK_AGO" | "TWO_WEEKS_AGO" | "ONE_MONTH_AGO" | "TWO_MONTHS_AGO"; export declare class InvalidRequestException extends EffectData.TaggedError( "InvalidRequestException", )<{ @@ -2337,13 +1784,7 @@ export interface MemberUser { UserId: string; } export type MemberUsers = Array; -export type MetricType = - | "QUERIES_BY_COUNT" - | "QUERIES_BY_ZERO_CLICK_RATE" - | "QUERIES_BY_ZERO_RESULT_RATE" - | "DOCS_BY_CLICK_COUNT" - | "AGG_QUERY_DOC_METRICS" - | "TREND_QUERY_DOC_METRICS"; +export type MetricType = "QUERIES_BY_COUNT" | "QUERIES_BY_ZERO_CLICK_RATE" | "QUERIES_BY_ZERO_RESULT_RATE" | "DOCS_BY_CLICK_COUNT" | "AGG_QUERY_DOC_METRICS" | "TREND_QUERY_DOC_METRICS"; export type MetricValue = string; export type MimeType = string; @@ -2403,12 +1844,7 @@ export interface Principal { DataSourceId?: string; } export type PrincipalList = Array; -export type PrincipalMappingStatus = - | "FAILED" - | "SUCCEEDED" - | "PROCESSING" - | "DELETING" - | "DELETED"; +export type PrincipalMappingStatus = "FAILED" | "SUCCEEDED" | "PROCESSING" | "DELETING" | "DELETED"; export type PrincipalName = string; export type PrincipalOrderingId = number; @@ -2483,13 +1919,7 @@ export type QuerySuggestionsBlockListId = string; export type QuerySuggestionsBlockListName = string; -export type QuerySuggestionsBlockListStatus = - | "ACTIVE" - | "CREATING" - | "DELETING" - | "UPDATING" - | "ACTIVE_BUT_UPDATE_FAILED" - | "FAILED"; +export type QuerySuggestionsBlockListStatus = "ACTIVE" | "CREATING" | "DELETING" | "UPDATING" | "ACTIVE_BUT_UPDATE_FAILED" | "FAILED"; export interface QuerySuggestionsBlockListSummary { Id?: string; Name?: string; @@ -2498,8 +1928,7 @@ export interface QuerySuggestionsBlockListSummary { UpdatedAt?: Date | string; ItemCount?: number; } -export type QuerySuggestionsBlockListSummaryItems = - Array; +export type QuerySuggestionsBlockListSummaryItems = Array; export type QuerySuggestionsId = string; export type QuerySuggestionsStatus = "ACTIVE" | "UPDATING"; @@ -2611,11 +2040,8 @@ export interface SalesforceChatterFeedConfiguration { FieldMappings?: Array; IncludeFilterTypes?: Array; } -export type SalesforceChatterFeedIncludeFilterType = - | "ACTIVE_USER" - | "STANDARD_USER"; -export type SalesforceChatterFeedIncludeFilterTypes = - Array; +export type SalesforceChatterFeedIncludeFilterType = "ACTIVE_USER" | "STANDARD_USER"; +export type SalesforceChatterFeedIncludeFilterTypes = Array; export interface SalesforceConfiguration { ServerUrl: string; SecretArn: string; @@ -2633,8 +2059,7 @@ export interface SalesforceCustomKnowledgeArticleTypeConfiguration { DocumentTitleFieldName?: string; FieldMappings?: Array; } -export type SalesforceCustomKnowledgeArticleTypeConfigurationList = - Array; +export type SalesforceCustomKnowledgeArticleTypeConfigurationList = Array; export type SalesforceCustomKnowledgeArticleTypeName = string; export interface SalesforceKnowledgeArticleConfiguration { @@ -2642,12 +2067,8 @@ export interface SalesforceKnowledgeArticleConfiguration { StandardKnowledgeArticleTypeConfiguration?: SalesforceStandardKnowledgeArticleTypeConfiguration; CustomKnowledgeArticleTypeConfigurations?: Array; } -export type SalesforceKnowledgeArticleState = - | "DRAFT" - | "PUBLISHED" - | "ARCHIVED"; -export type SalesforceKnowledgeArticleStateList = - Array; +export type SalesforceKnowledgeArticleState = "DRAFT" | "PUBLISHED" | "ARCHIVED"; +export type SalesforceKnowledgeArticleStateList = Array; export interface SalesforceStandardKnowledgeArticleTypeConfiguration { DocumentDataFieldName: string; DocumentTitleFieldName?: string; @@ -2663,37 +2084,14 @@ export interface SalesforceStandardObjectConfiguration { DocumentTitleFieldName?: string; FieldMappings?: Array; } -export type SalesforceStandardObjectConfigurationList = - Array; -export type SalesforceStandardObjectName = - | "ACCOUNT" - | "CAMPAIGN" - | "CASE" - | "CONTACT" - | "CONTRACT" - | "DOCUMENT" - | "GROUP" - | "IDEA" - | "LEAD" - | "OPPORTUNITY" - | "PARTNER" - | "PRICEBOOK" - | "PRODUCT" - | "PROFILE" - | "SOLUTION" - | "TASK" - | "USER"; +export type SalesforceStandardObjectConfigurationList = Array; +export type SalesforceStandardObjectName = "ACCOUNT" | "CAMPAIGN" | "CASE" | "CONTACT" | "CONTRACT" | "DOCUMENT" | "GROUP" | "IDEA" | "LEAD" | "OPPORTUNITY" | "PARTNER" | "PRICEBOOK" | "PRODUCT" | "PROFILE" | "SOLUTION" | "TASK" | "USER"; export type ScanSchedule = string; export interface ScoreAttributes { ScoreConfidence?: ScoreConfidence; } -export type ScoreConfidence = - | "VERY_HIGH" - | "HIGH" - | "MEDIUM" - | "LOW" - | "NOT_AVAILABLE"; +export type ScoreConfidence = "VERY_HIGH" | "HIGH" | "MEDIUM" | "LOW" | "NOT_AVAILABLE"; export interface Search { Facetable?: boolean; Searchable?: boolean; @@ -2769,11 +2167,7 @@ export interface SharePointConfiguration { } export type SharePointOnlineAuthenticationType = "HTTP_BASIC" | "OAUTH2"; export type SharePointUrlList = Array; -export type SharePointVersion = - | "SHAREPOINT_2013" - | "SHAREPOINT_2016" - | "SHAREPOINT_ONLINE" - | "SHAREPOINT_2019"; +export type SharePointVersion = "SHAREPOINT_2013" | "SHAREPOINT_2016" | "SHAREPOINT_ONLINE" | "SHAREPOINT_2019"; export type SinceCrawlDate = string; export type SiteId = string; @@ -2802,11 +2196,7 @@ export interface SlackConfiguration { ExclusionPatterns?: Array; FieldMappings?: Array; } -export type SlackEntity = - | "PUBLIC_CHANNEL" - | "PRIVATE_CHANNEL" - | "GROUP_MESSAGE" - | "DIRECT_MESSAGE"; +export type SlackEntity = "PUBLIC_CHANNEL" | "PRIVATE_CHANNEL" | "GROUP_MESSAGE" | "DIRECT_MESSAGE"; export type SlackEntityList = Array; export type SnapshotsDataHeaderFields = Array; export type SnapshotsDataRecord = Array; @@ -2923,7 +2313,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TeamId = string; @@ -2947,13 +2338,7 @@ export type ThesaurusId = string; export type ThesaurusName = string; -export type ThesaurusStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "UPDATING" - | "ACTIVE_BUT_UPDATE_FAILED" - | "FAILED"; +export type ThesaurusStatus = "CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "ACTIVE_BUT_UPDATE_FAILED" | "FAILED"; export interface ThesaurusSummary { Id?: string; Name?: string; @@ -2984,7 +2369,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAccessControlConfigurationRequest { IndexId: string; Id: string; @@ -2993,7 +2379,8 @@ export interface UpdateAccessControlConfigurationRequest { AccessControlList?: Array; HierarchicalAccessControlList?: Array; } -export interface UpdateAccessControlConfigurationResponse {} +export interface UpdateAccessControlConfigurationResponse { +} export interface UpdateDataSourceRequest { Id: string; Name?: string; @@ -3978,17 +3365,5 @@ export declare namespace UpdateThesaurus { | CommonAwsError; } -export type kendraErrors = - | AccessDeniedException - | ConflictException - | FeaturedResultsConflictException - | InternalServerException - | InvalidRequestException - | ResourceAlreadyExistException - | ResourceInUseException - | ResourceNotFoundException - | ResourceUnavailableException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type kendraErrors = AccessDeniedException | ConflictException | FeaturedResultsConflictException | InternalServerException | InvalidRequestException | ResourceAlreadyExistException | ResourceInUseException | ResourceNotFoundException | ResourceUnavailableException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/keyspaces/index.ts b/src/services/keyspaces/index.ts index 998f5d7c..21d7d62b 100644 --- a/src/services/keyspaces/index.ts +++ b/src/services/keyspaces/index.ts @@ -5,24 +5,7 @@ import type { Keyspaces as _KeyspacesClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/keyspaces/types.ts b/src/services/keyspaces/types.ts index b74c713b..a3b74b1d 100644 --- a/src/services/keyspaces/types.ts +++ b/src/services/keyspaces/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Keyspaces extends AWSServiceClient { @@ -41,220 +8,115 @@ export declare class Keyspaces extends AWSServiceClient { input: CreateKeyspaceRequest, ): Effect.Effect< CreateKeyspaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createTable( input: CreateTableRequest, ): Effect.Effect< CreateTableResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createType( input: CreateTypeRequest, ): Effect.Effect< CreateTypeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteKeyspace( input: DeleteKeyspaceRequest, ): Effect.Effect< DeleteKeyspaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteTable( input: DeleteTableRequest, ): Effect.Effect< DeleteTableResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteType( input: DeleteTypeRequest, ): Effect.Effect< DeleteTypeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; getKeyspace( input: GetKeyspaceRequest, ): Effect.Effect< GetKeyspaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; getTable( input: GetTableRequest, ): Effect.Effect< GetTableResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; getTableAutoScalingSettings( input: GetTableAutoScalingSettingsRequest, ): Effect.Effect< GetTableAutoScalingSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; getType( input: GetTypeRequest, ): Effect.Effect< GetTypeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listKeyspaces( input: ListKeyspacesRequest, ): Effect.Effect< ListKeyspacesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listTables( input: ListTablesRequest, ): Effect.Effect< ListTablesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; listTypes( input: ListTypesRequest, ): Effect.Effect< ListTypesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; restoreTable( input: RestoreTableRequest, ): Effect.Effect< RestoreTableResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateKeyspace( input: UpdateKeyspaceRequest, ): Effect.Effect< UpdateKeyspaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateTable( input: UpdateTableRequest, ): Effect.Effect< UpdateTableResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -371,12 +233,14 @@ export type DefaultTimeToLive = number; export interface DeleteKeyspaceRequest { keyspaceName: string; } -export interface DeleteKeyspaceResponse {} +export interface DeleteKeyspaceResponse { +} export interface DeleteTableRequest { keyspaceName: string; tableName: string; } -export interface DeleteTableResponse {} +export interface DeleteTableResponse { +} export interface DeleteTypeRequest { keyspaceName: string; typeName: string; @@ -539,8 +403,7 @@ export interface ReplicaAutoScalingSpecification { region?: string; autoScalingSpecification?: AutoScalingSpecification; } -export type ReplicaAutoScalingSpecificationList = - Array; +export type ReplicaAutoScalingSpecificationList = Array; export interface ReplicaSpecification { region: string; readCapacityUnits?: number; @@ -552,8 +415,7 @@ export interface ReplicaSpecificationSummary { status?: string; capacitySpecification?: CapacitySpecificationSummary; } -export type ReplicaSpecificationSummaryList = - Array; +export type ReplicaSpecificationSummaryList = Array; export interface ReplicationGroupStatus { region: string; keyspaceStatus: string; @@ -631,7 +493,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TargetTrackingScalingPolicyConfiguration { @@ -658,7 +521,8 @@ export interface UntagResourceRequest { resourceArn: string; tags: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateKeyspaceRequest { keyspaceName: string; replicationSpecification: ReplicationSpecification; @@ -929,11 +793,5 @@ export declare namespace UpdateTable { | CommonAwsError; } -export type KeyspacesErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type KeyspacesErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/keyspacesstreams/index.ts b/src/services/keyspacesstreams/index.ts index 8cd630ee..a9b805e1 100644 --- a/src/services/keyspacesstreams/index.ts +++ b/src/services/keyspacesstreams/index.ts @@ -5,23 +5,7 @@ import type { KeyspacesStreams as _KeyspacesStreamsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/keyspacesstreams/types.ts b/src/services/keyspacesstreams/types.ts index d1775a09..3673bc78 100644 --- a/src/services/keyspacesstreams/types.ts +++ b/src/services/keyspacesstreams/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class KeyspacesStreams extends AWSServiceClient { @@ -40,45 +8,25 @@ export declare class KeyspacesStreams extends AWSServiceClient { input: GetRecordsInput, ): Effect.Effect< GetRecordsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getShardIterator( input: GetShardIteratorInput, ): Effect.Effect< GetShardIteratorOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getStream( input: GetStreamInput, ): Effect.Effect< GetStreamOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listStreams( input: ListStreamsInput, ): Effect.Effect< ListStreamsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -172,32 +120,7 @@ interface _KeyspacesCellValue { udtT?: Record; } -export type KeyspacesCellValue = - | (_KeyspacesCellValue & { asciiT: string }) - | (_KeyspacesCellValue & { bigintT: string }) - | (_KeyspacesCellValue & { blobT: Uint8Array | string }) - | (_KeyspacesCellValue & { boolT: boolean }) - | (_KeyspacesCellValue & { counterT: string }) - | (_KeyspacesCellValue & { dateT: string }) - | (_KeyspacesCellValue & { decimalT: string }) - | (_KeyspacesCellValue & { doubleT: string }) - | (_KeyspacesCellValue & { floatT: string }) - | (_KeyspacesCellValue & { inetT: string }) - | (_KeyspacesCellValue & { intT: string }) - | (_KeyspacesCellValue & { listT: Array }) - | (_KeyspacesCellValue & { mapT: Array }) - | (_KeyspacesCellValue & { setT: Array }) - | (_KeyspacesCellValue & { smallintT: string }) - | (_KeyspacesCellValue & { textT: string }) - | (_KeyspacesCellValue & { timeT: string }) - | (_KeyspacesCellValue & { timestampT: string }) - | (_KeyspacesCellValue & { timeuuidT: string }) - | (_KeyspacesCellValue & { tinyintT: string }) - | (_KeyspacesCellValue & { tupleT: Array }) - | (_KeyspacesCellValue & { uuidT: string }) - | (_KeyspacesCellValue & { varcharT: string }) - | (_KeyspacesCellValue & { varintT: string }) - | (_KeyspacesCellValue & { udtT: Record }); +export type KeyspacesCellValue = (_KeyspacesCellValue & { asciiT: string }) | (_KeyspacesCellValue & { bigintT: string }) | (_KeyspacesCellValue & { blobT: Uint8Array | string }) | (_KeyspacesCellValue & { boolT: boolean }) | (_KeyspacesCellValue & { counterT: string }) | (_KeyspacesCellValue & { dateT: string }) | (_KeyspacesCellValue & { decimalT: string }) | (_KeyspacesCellValue & { doubleT: string }) | (_KeyspacesCellValue & { floatT: string }) | (_KeyspacesCellValue & { inetT: string }) | (_KeyspacesCellValue & { intT: string }) | (_KeyspacesCellValue & { listT: Array }) | (_KeyspacesCellValue & { mapT: Array }) | (_KeyspacesCellValue & { setT: Array }) | (_KeyspacesCellValue & { smallintT: string }) | (_KeyspacesCellValue & { textT: string }) | (_KeyspacesCellValue & { timeT: string }) | (_KeyspacesCellValue & { timestampT: string }) | (_KeyspacesCellValue & { timeuuidT: string }) | (_KeyspacesCellValue & { tinyintT: string }) | (_KeyspacesCellValue & { tupleT: Array }) | (_KeyspacesCellValue & { uuidT: string }) | (_KeyspacesCellValue & { varcharT: string }) | (_KeyspacesCellValue & { varintT: string }) | (_KeyspacesCellValue & { udtT: Record }); export type KeyspacesKeysMap = Record; export interface KeyspacesMetadata { expirationTime?: string; @@ -260,11 +183,7 @@ export type ShardIdToken = string; export type ShardIterator = string; -export type ShardIteratorType = - | "TRIM_HORIZON" - | "LATEST" - | "AT_SEQUENCE_NUMBER" - | "AFTER_SEQUENCE_NUMBER"; +export type ShardIteratorType = "TRIM_HORIZON" | "LATEST" | "AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER"; export interface Stream { streamArn: string; keyspaceName: string; @@ -277,11 +196,7 @@ export type StreamArnToken = string; export type StreamList = Array; export type StreamStatus = "ENABLING" | "ENABLED" | "DISABLING" | "DISABLED"; -export type StreamViewType = - | "NEW_IMAGE" - | "OLD_IMAGE" - | "NEW_AND_OLD_IMAGES" - | "KEYS_ONLY"; +export type StreamViewType = "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | "KEYS_ONLY"; export type TableName = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -295,11 +210,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly message?: string; readonly errorCode?: ValidationExceptionType; }> {} -export type ValidationExceptionType = - | "InvalidFormat" - | "TrimmedDataAccess" - | "ExpiredIterator" - | "ExpiredNextToken"; +export type ValidationExceptionType = "InvalidFormat" | "TrimmedDataAccess" | "ExpiredIterator" | "ExpiredNextToken"; export declare namespace GetRecords { export type Input = GetRecordsInput; export type Output = GetRecordsOutput; @@ -348,10 +259,5 @@ export declare namespace ListStreams { | CommonAwsError; } -export type KeyspacesStreamsErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type KeyspacesStreamsErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/kinesis-analytics-v2/index.ts b/src/services/kinesis-analytics-v2/index.ts index e74b37ce..13530988 100644 --- a/src/services/kinesis-analytics-v2/index.ts +++ b/src/services/kinesis-analytics-v2/index.ts @@ -5,26 +5,7 @@ import type { KinesisAnalyticsV2 as _KinesisAnalyticsV2Client } from "./types.ts export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/kinesis-analytics-v2/types.ts b/src/services/kinesis-analytics-v2/types.ts index 379097f6..83c75046 100644 --- a/src/services/kinesis-analytics-v2/types.ts +++ b/src/services/kinesis-analytics-v2/types.ts @@ -7,242 +7,133 @@ export declare class KinesisAnalyticsV2 extends AWSServiceClient { input: AddApplicationCloudWatchLoggingOptionRequest, ): Effect.Effect< AddApplicationCloudWatchLoggingOptionResponse, - | ConcurrentModificationException - | InvalidApplicationConfigurationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidApplicationConfigurationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; addApplicationInput( input: AddApplicationInputRequest, ): Effect.Effect< AddApplicationInputResponse, - | CodeValidationException - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + CodeValidationException | ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; addApplicationInputProcessingConfiguration( input: AddApplicationInputProcessingConfigurationRequest, ): Effect.Effect< AddApplicationInputProcessingConfigurationResponse, - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; addApplicationOutput( input: AddApplicationOutputRequest, ): Effect.Effect< AddApplicationOutputResponse, - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; addApplicationReferenceDataSource( input: AddApplicationReferenceDataSourceRequest, ): Effect.Effect< AddApplicationReferenceDataSourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; addApplicationVpcConfiguration( input: AddApplicationVpcConfigurationRequest, ): Effect.Effect< AddApplicationVpcConfigurationResponse, - | ConcurrentModificationException - | InvalidApplicationConfigurationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidApplicationConfigurationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | CodeValidationException - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | LimitExceededException - | ResourceInUseException - | TooManyTagsException - | UnsupportedOperationException - | CommonAwsError + CodeValidationException | ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | LimitExceededException | ResourceInUseException | TooManyTagsException | UnsupportedOperationException | CommonAwsError >; createApplicationPresignedUrl( input: CreateApplicationPresignedUrlRequest, ): Effect.Effect< CreateApplicationPresignedUrlResponse, - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createApplicationSnapshot( input: CreateApplicationSnapshotRequest, ): Effect.Effect< CreateApplicationSnapshotResponse, - | InvalidApplicationConfigurationException - | InvalidArgumentException - | InvalidRequestException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + InvalidApplicationConfigurationException | InvalidArgumentException | InvalidRequestException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | ConcurrentModificationException - | InvalidApplicationConfigurationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidApplicationConfigurationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteApplicationCloudWatchLoggingOption( input: DeleteApplicationCloudWatchLoggingOptionRequest, ): Effect.Effect< DeleteApplicationCloudWatchLoggingOptionResponse, - | ConcurrentModificationException - | InvalidApplicationConfigurationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidApplicationConfigurationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteApplicationInputProcessingConfiguration( input: DeleteApplicationInputProcessingConfigurationRequest, ): Effect.Effect< DeleteApplicationInputProcessingConfigurationResponse, - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteApplicationOutput( input: DeleteApplicationOutputRequest, ): Effect.Effect< DeleteApplicationOutputResponse, - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteApplicationReferenceDataSource( input: DeleteApplicationReferenceDataSourceRequest, ): Effect.Effect< DeleteApplicationReferenceDataSourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteApplicationSnapshot( input: DeleteApplicationSnapshotRequest, ): Effect.Effect< DeleteApplicationSnapshotResponse, - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; deleteApplicationVpcConfiguration( input: DeleteApplicationVpcConfigurationRequest, ): Effect.Effect< DeleteApplicationVpcConfigurationResponse, - | ConcurrentModificationException - | InvalidApplicationConfigurationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidApplicationConfigurationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; describeApplication( input: DescribeApplicationRequest, ): Effect.Effect< DescribeApplicationResponse, - | InvalidArgumentException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeApplicationOperation( input: DescribeApplicationOperationRequest, ): Effect.Effect< DescribeApplicationOperationResponse, - | InvalidArgumentException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + InvalidArgumentException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; describeApplicationSnapshot( input: DescribeApplicationSnapshotRequest, ): Effect.Effect< DescribeApplicationSnapshotResponse, - | InvalidArgumentException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + InvalidArgumentException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; describeApplicationVersion( input: DescribeApplicationVersionRequest, ): Effect.Effect< DescribeApplicationVersionResponse, - | InvalidArgumentException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + InvalidArgumentException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; discoverInputSchema( input: DiscoverInputSchemaRequest, ): Effect.Effect< DiscoverInputSchemaResponse, - | InvalidArgumentException - | InvalidRequestException - | ResourceProvisionedThroughputExceededException - | ServiceUnavailableException - | UnableToDetectSchemaException - | UnsupportedOperationException - | CommonAwsError + InvalidArgumentException | InvalidRequestException | ResourceProvisionedThroughputExceededException | ServiceUnavailableException | UnableToDetectSchemaException | UnsupportedOperationException | CommonAwsError >; listApplicationOperations( input: ListApplicationOperationsRequest, ): Effect.Effect< ListApplicationOperationsResponse, - | InvalidArgumentException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + InvalidArgumentException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; listApplications( input: ListApplicationsRequest, @@ -260,101 +151,55 @@ export declare class KinesisAnalyticsV2 extends AWSServiceClient { input: ListApplicationVersionsRequest, ): Effect.Effect< ListApplicationVersionsResponse, - | InvalidArgumentException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + InvalidArgumentException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; rollbackApplication( input: RollbackApplicationRequest, ): Effect.Effect< RollbackApplicationResponse, - | ConcurrentModificationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; startApplication( input: StartApplicationRequest, ): Effect.Effect< StartApplicationResponse, - | InvalidApplicationConfigurationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidApplicationConfigurationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; stopApplication( input: StopApplicationRequest, ): Effect.Effect< StopApplicationResponse, - | ConcurrentModificationException - | InvalidApplicationConfigurationException - | InvalidArgumentException - | InvalidRequestException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidApplicationConfigurationException | InvalidArgumentException | InvalidRequestException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | CodeValidationException - | ConcurrentModificationException - | InvalidApplicationConfigurationException - | InvalidArgumentException - | InvalidRequestException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + CodeValidationException | ConcurrentModificationException | InvalidApplicationConfigurationException | InvalidArgumentException | InvalidRequestException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateApplicationMaintenanceConfiguration( input: UpdateApplicationMaintenanceConfigurationRequest, ): Effect.Effect< UpdateApplicationMaintenanceConfigurationResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; } @@ -538,10 +383,7 @@ export interface ApplicationRestoreConfiguration { ApplicationRestoreType: ApplicationRestoreType; SnapshotName?: string; } -export type ApplicationRestoreType = - | "SKIP_RESTORE_FROM_SNAPSHOT" - | "RESTORE_FROM_LATEST_SNAPSHOT" - | "RESTORE_FROM_CUSTOM_SNAPSHOT"; +export type ApplicationRestoreType = "SKIP_RESTORE_FROM_SNAPSHOT" | "RESTORE_FROM_LATEST_SNAPSHOT" | "RESTORE_FROM_CUSTOM_SNAPSHOT"; export interface ApplicationSnapshotConfiguration { SnapshotsEnabled: boolean; } @@ -551,18 +393,7 @@ export interface ApplicationSnapshotConfigurationDescription { export interface ApplicationSnapshotConfigurationUpdate { SnapshotsEnabledUpdate: boolean; } -export type ApplicationStatus = - | "DELETING" - | "STARTING" - | "STOPPING" - | "READY" - | "RUNNING" - | "UPDATING" - | "AUTOSCALING" - | "FORCE_STOPPING" - | "ROLLING_BACK" - | "MAINTENANCE" - | "ROLLED_BACK"; +export type ApplicationStatus = "DELETING" | "STARTING" | "STOPPING" | "READY" | "RUNNING" | "UPDATING" | "AUTOSCALING" | "FORCE_STOPPING" | "ROLLING_BACK" | "MAINTENANCE" | "ROLLED_BACK"; export type ApplicationSummaries = Array; export interface ApplicationSummary { ApplicationName: string; @@ -638,15 +469,13 @@ export interface CloudWatchLoggingOptionDescription { LogStreamARN: string; RoleARN?: string; } -export type CloudWatchLoggingOptionDescriptions = - Array; +export type CloudWatchLoggingOptionDescriptions = Array; export type CloudWatchLoggingOptions = Array; export interface CloudWatchLoggingOptionUpdate { CloudWatchLoggingOptionId: string; LogStreamARNUpdate?: string; } -export type CloudWatchLoggingOptionUpdates = - Array; +export type CloudWatchLoggingOptionUpdates = Array; export interface CodeContent { TextContent?: string; ZipFileContent?: Uint8Array | string; @@ -706,7 +535,8 @@ export interface CreateApplicationSnapshotRequest { ApplicationName: string; SnapshotName: string; } -export interface CreateApplicationSnapshotResponse {} +export interface CreateApplicationSnapshotResponse { +} export interface CSVMappingParameters { RecordRowDelimiter: string; RecordColumnDelimiter: string; @@ -721,10 +551,8 @@ export interface CustomArtifactConfigurationDescription { S3ContentLocationDescription?: S3ContentLocation; MavenReferenceDescription?: MavenReference; } -export type CustomArtifactsConfigurationDescriptionList = - Array; -export type CustomArtifactsConfigurationList = - Array; +export type CustomArtifactsConfigurationDescriptionList = Array; +export type CustomArtifactsConfigurationList = Array; export type DatabaseARN = string; export interface DeleteApplicationCloudWatchLoggingOptionRequest { @@ -770,13 +598,15 @@ export interface DeleteApplicationRequest { ApplicationName: string; CreateTimestamp: Date | string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export interface DeleteApplicationSnapshotRequest { ApplicationName: string; SnapshotName: string; SnapshotCreationTimestamp: Date | string; } -export interface DeleteApplicationSnapshotResponse {} +export interface DeleteApplicationSnapshotResponse { +} export interface DeleteApplicationVpcConfigurationRequest { ApplicationName: string; CurrentApplicationVersionId?: number; @@ -947,10 +777,7 @@ export interface InputSchemaUpdate { RecordEncodingUpdate?: string; RecordColumnUpdates?: Array; } -export type InputStartingPosition = - | "NOW" - | "TRIM_HORIZON" - | "LAST_STOPPED_POINT"; +export type InputStartingPosition = "NOW" | "TRIM_HORIZON" | "LAST_STOPPED_POINT"; export interface InputStartingPositionConfiguration { InputStartingPosition?: InputStartingPosition; } @@ -1143,11 +970,7 @@ export interface OperationFailureDetails { } export type OperationId = string; -export type OperationStatus = - | "IN_PROGRESS" - | "CANCELLED" - | "SUCCESSFUL" - | "FAILED"; +export type OperationStatus = "IN_PROGRESS" | "CANCELLED" | "SUCCESSFUL" | "FAILED"; export interface Output { Name: string; KinesisStreamsOutput?: KinesisStreamsOutput; @@ -1253,8 +1076,7 @@ export interface ReferenceDataSourceDescription { S3ReferenceDataSourceDescription: S3ReferenceDataSourceDescription; ReferenceSchema?: SourceSchema; } -export type ReferenceDataSourceDescriptions = - Array; +export type ReferenceDataSourceDescriptions = Array; export type ReferenceDataSources = Array; export interface ReferenceDataSourceUpdate { ReferenceId: string; @@ -1303,19 +1125,7 @@ export interface RunConfigurationUpdate { FlinkRunConfiguration?: FlinkRunConfiguration; ApplicationRestoreConfiguration?: ApplicationRestoreConfiguration; } -export type RuntimeEnvironment = - | "SQL-1_0" - | "FLINK-1_6" - | "FLINK-1_8" - | "ZEPPELIN-FLINK-1_0" - | "FLINK-1_11" - | "FLINK-1_13" - | "ZEPPELIN-FLINK-2_0" - | "FLINK-1_15" - | "ZEPPELIN-FLINK-3_0" - | "FLINK-1_18" - | "FLINK-1_19" - | "FLINK-1_20"; +export type RuntimeEnvironment = "SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19" | "FLINK-1_20"; export interface S3ApplicationCodeLocationDescription { BucketARN: string; FileKey: string; @@ -1435,7 +1245,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -1464,7 +1275,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationMaintenanceConfigurationRequest { ApplicationName: string; ApplicationMaintenanceConfigurationUpdate: ApplicationMaintenanceConfigurationUpdate; @@ -1803,7 +1615,9 @@ export declare namespace ListApplicationOperations { export declare namespace ListApplications { export type Input = ListApplicationsRequest; export type Output = ListApplicationsResponse; - export type Error = InvalidRequestException | CommonAwsError; + export type Error = + | InvalidRequestException + | CommonAwsError; } export declare namespace ListApplicationSnapshots { @@ -1924,18 +1738,5 @@ export declare namespace UpdateApplicationMaintenanceConfiguration { | CommonAwsError; } -export type KinesisAnalyticsV2Errors = - | CodeValidationException - | ConcurrentModificationException - | InvalidApplicationConfigurationException - | InvalidArgumentException - | InvalidRequestException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ResourceProvisionedThroughputExceededException - | ServiceUnavailableException - | TooManyTagsException - | UnableToDetectSchemaException - | UnsupportedOperationException - | CommonAwsError; +export type KinesisAnalyticsV2Errors = CodeValidationException | ConcurrentModificationException | InvalidApplicationConfigurationException | InvalidArgumentException | InvalidRequestException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ResourceProvisionedThroughputExceededException | ServiceUnavailableException | TooManyTagsException | UnableToDetectSchemaException | UnsupportedOperationException | CommonAwsError; + diff --git a/src/services/kinesis-analytics/index.ts b/src/services/kinesis-analytics/index.ts index d173ab2f..843af073 100644 --- a/src/services/kinesis-analytics/index.ts +++ b/src/services/kinesis-analytics/index.ts @@ -5,26 +5,7 @@ import type { KinesisAnalytics as _KinesisAnalyticsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/kinesis-analytics/types.ts b/src/services/kinesis-analytics/types.ts index 9d74b5ce..8aeceba5 100644 --- a/src/services/kinesis-analytics/types.ts +++ b/src/services/kinesis-analytics/types.ts @@ -7,123 +7,67 @@ export declare class KinesisAnalytics extends AWSServiceClient { input: AddApplicationCloudWatchLoggingOptionRequest, ): Effect.Effect< AddApplicationCloudWatchLoggingOptionResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; addApplicationInput( input: AddApplicationInputRequest, ): Effect.Effect< AddApplicationInputResponse, - | CodeValidationException - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + CodeValidationException | ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; addApplicationInputProcessingConfiguration( input: AddApplicationInputProcessingConfigurationRequest, ): Effect.Effect< AddApplicationInputProcessingConfigurationResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; addApplicationOutput( input: AddApplicationOutputRequest, ): Effect.Effect< AddApplicationOutputResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; addApplicationReferenceDataSource( input: AddApplicationReferenceDataSourceRequest, ): Effect.Effect< AddApplicationReferenceDataSourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | CodeValidationException - | ConcurrentModificationException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | TooManyTagsException - | CommonAwsError + CodeValidationException | ConcurrentModificationException | InvalidArgumentException | LimitExceededException | ResourceInUseException | TooManyTagsException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | ConcurrentModificationException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; deleteApplicationCloudWatchLoggingOption( input: DeleteApplicationCloudWatchLoggingOptionRequest, ): Effect.Effect< DeleteApplicationCloudWatchLoggingOptionResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; deleteApplicationInputProcessingConfiguration( input: DeleteApplicationInputProcessingConfigurationRequest, ): Effect.Effect< DeleteApplicationInputProcessingConfigurationResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; deleteApplicationOutput( input: DeleteApplicationOutputRequest, ): Effect.Effect< DeleteApplicationOutputResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; deleteApplicationReferenceDataSource( input: DeleteApplicationReferenceDataSourceRequest, ): Effect.Effect< DeleteApplicationReferenceDataSourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; describeApplication( input: DescribeApplicationRequest, @@ -135,77 +79,49 @@ export declare class KinesisAnalytics extends AWSServiceClient { input: DiscoverInputSchemaRequest, ): Effect.Effect< DiscoverInputSchemaResponse, - | InvalidArgumentException - | ResourceProvisionedThroughputExceededException - | ServiceUnavailableException - | UnableToDetectSchemaException - | CommonAwsError + InvalidArgumentException | ResourceProvisionedThroughputExceededException | ServiceUnavailableException | UnableToDetectSchemaException | CommonAwsError >; listApplications( input: ListApplicationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListApplicationsResponse, + CommonAwsError + >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; startApplication( input: StartApplicationRequest, ): Effect.Effect< StartApplicationResponse, - | InvalidApplicationConfigurationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + InvalidApplicationConfigurationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; stopApplication( input: StopApplicationRequest, ): Effect.Effect< StopApplicationResponse, - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | CodeValidationException - | ConcurrentModificationException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | UnsupportedOperationException - | CommonAwsError + CodeValidationException | ConcurrentModificationException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | UnsupportedOperationException | CommonAwsError >; } @@ -214,32 +130,37 @@ export interface AddApplicationCloudWatchLoggingOptionRequest { CurrentApplicationVersionId: number; CloudWatchLoggingOption: CloudWatchLoggingOption; } -export interface AddApplicationCloudWatchLoggingOptionResponse {} +export interface AddApplicationCloudWatchLoggingOptionResponse { +} export interface AddApplicationInputProcessingConfigurationRequest { ApplicationName: string; CurrentApplicationVersionId: number; InputId: string; InputProcessingConfiguration: InputProcessingConfiguration; } -export interface AddApplicationInputProcessingConfigurationResponse {} +export interface AddApplicationInputProcessingConfigurationResponse { +} export interface AddApplicationInputRequest { ApplicationName: string; CurrentApplicationVersionId: number; Input: Input; } -export interface AddApplicationInputResponse {} +export interface AddApplicationInputResponse { +} export interface AddApplicationOutputRequest { ApplicationName: string; CurrentApplicationVersionId: number; Output: Output; } -export interface AddApplicationOutputResponse {} +export interface AddApplicationOutputResponse { +} export interface AddApplicationReferenceDataSourceRequest { ApplicationName: string; CurrentApplicationVersionId: number; ReferenceDataSource: ReferenceDataSource; } -export interface AddApplicationReferenceDataSourceResponse {} +export interface AddApplicationReferenceDataSourceResponse { +} export type ApplicationCode = string; export type ApplicationDescription = string; @@ -260,13 +181,7 @@ export interface ApplicationDetail { } export type ApplicationName = string; -export type ApplicationStatus = - | "DELETING" - | "STARTING" - | "STOPPING" - | "READY" - | "RUNNING" - | "UPDATING"; +export type ApplicationStatus = "DELETING" | "STARTING" | "STOPPING" | "READY" | "RUNNING" | "UPDATING"; export type ApplicationSummaries = Array; export interface ApplicationSummary { ApplicationName: string; @@ -295,16 +210,14 @@ export interface CloudWatchLoggingOptionDescription { LogStreamARN: string; RoleARN: string; } -export type CloudWatchLoggingOptionDescriptions = - Array; +export type CloudWatchLoggingOptionDescriptions = Array; export type CloudWatchLoggingOptions = Array; export interface CloudWatchLoggingOptionUpdate { CloudWatchLoggingOptionId: string; LogStreamARNUpdate?: string; RoleARNUpdate?: string; } -export type CloudWatchLoggingOptionUpdates = - Array; +export type CloudWatchLoggingOptionUpdates = Array; export declare class CodeValidationException extends EffectData.TaggedError( "CodeValidationException", )<{ @@ -336,30 +249,35 @@ export interface DeleteApplicationCloudWatchLoggingOptionRequest { CurrentApplicationVersionId: number; CloudWatchLoggingOptionId: string; } -export interface DeleteApplicationCloudWatchLoggingOptionResponse {} +export interface DeleteApplicationCloudWatchLoggingOptionResponse { +} export interface DeleteApplicationInputProcessingConfigurationRequest { ApplicationName: string; CurrentApplicationVersionId: number; InputId: string; } -export interface DeleteApplicationInputProcessingConfigurationResponse {} +export interface DeleteApplicationInputProcessingConfigurationResponse { +} export interface DeleteApplicationOutputRequest { ApplicationName: string; CurrentApplicationVersionId: number; OutputId: string; } -export interface DeleteApplicationOutputResponse {} +export interface DeleteApplicationOutputResponse { +} export interface DeleteApplicationReferenceDataSourceRequest { ApplicationName: string; CurrentApplicationVersionId: number; ReferenceId: string; } -export interface DeleteApplicationReferenceDataSourceResponse {} +export interface DeleteApplicationReferenceDataSourceResponse { +} export interface DeleteApplicationRequest { ApplicationName: string; CreateTimestamp: Date | string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export interface DescribeApplicationRequest { ApplicationName: string; } @@ -453,10 +371,7 @@ export interface InputSchemaUpdate { RecordEncodingUpdate?: string; RecordColumnUpdates?: Array; } -export type InputStartingPosition = - | "NOW" - | "TRIM_HORIZON" - | "LAST_STOPPED_POINT"; +export type InputStartingPosition = "NOW" | "TRIM_HORIZON" | "LAST_STOPPED_POINT"; export interface InputStartingPositionConfiguration { InputStartingPosition?: InputStartingPosition; } @@ -644,8 +559,7 @@ export interface ReferenceDataSourceDescription { S3ReferenceDataSourceDescription: S3ReferenceDataSourceDescription; ReferenceSchema?: SourceSchema; } -export type ReferenceDataSourceDescriptions = - Array; +export type ReferenceDataSourceDescriptions = Array; export interface ReferenceDataSourceUpdate { ReferenceId: string; TableNameUpdate?: string; @@ -706,11 +620,13 @@ export interface StartApplicationRequest { ApplicationName: string; InputConfigurations: Array; } -export interface StartApplicationResponse {} +export interface StartApplicationResponse { +} export interface StopApplicationRequest { ApplicationName: string; } -export interface StopApplicationResponse {} +export interface StopApplicationResponse { +} export interface Tag { Key: string; Value?: string; @@ -722,7 +638,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -749,13 +666,15 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationRequest { ApplicationName: string; CurrentApplicationVersionId: number; ApplicationUpdate: ApplicationUpdate; } -export interface UpdateApplicationResponse {} +export interface UpdateApplicationResponse { +} export declare namespace AddApplicationCloudWatchLoggingOption { export type Input = AddApplicationCloudWatchLoggingOptionRequest; export type Output = AddApplicationCloudWatchLoggingOptionResponse; @@ -912,7 +831,8 @@ export declare namespace DiscoverInputSchema { export declare namespace ListApplications { export type Input = ListApplicationsRequest; export type Output = ListApplicationsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTagsForResource { @@ -984,17 +904,5 @@ export declare namespace UpdateApplication { | CommonAwsError; } -export type KinesisAnalyticsErrors = - | CodeValidationException - | ConcurrentModificationException - | InvalidApplicationConfigurationException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ResourceProvisionedThroughputExceededException - | ServiceUnavailableException - | TooManyTagsException - | UnableToDetectSchemaException - | UnsupportedOperationException - | CommonAwsError; +export type KinesisAnalyticsErrors = CodeValidationException | ConcurrentModificationException | InvalidApplicationConfigurationException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ResourceProvisionedThroughputExceededException | ServiceUnavailableException | TooManyTagsException | UnableToDetectSchemaException | UnsupportedOperationException | CommonAwsError; + diff --git a/src/services/kinesis-video-archived-media/index.ts b/src/services/kinesis-video-archived-media/index.ts index 76f6c175..9403f45f 100644 --- a/src/services/kinesis-video-archived-media/index.ts +++ b/src/services/kinesis-video-archived-media/index.ts @@ -5,26 +5,7 @@ import type { KinesisVideoArchivedMedia as _KinesisVideoArchivedMediaClient } fr export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,24 +15,24 @@ const metadata = { sigV4ServiceName: "kinesisvideo", endpointPrefix: "kinesisvideo", operations: { - GetClip: { + "GetClip": { http: "POST /getClip", traits: { - ContentType: "Content-Type", - Payload: "httpPayload", + "ContentType": "Content-Type", + "Payload": "httpPayload", }, }, - GetDASHStreamingSessionURL: "POST /getDASHStreamingSessionURL", - GetHLSStreamingSessionURL: "POST /getHLSStreamingSessionURL", - GetImages: "POST /getImages", - GetMediaForFragmentList: { + "GetDASHStreamingSessionURL": "POST /getDASHStreamingSessionURL", + "GetHLSStreamingSessionURL": "POST /getHLSStreamingSessionURL", + "GetImages": "POST /getImages", + "GetMediaForFragmentList": { http: "POST /getMediaForFragmentList", traits: { - ContentType: "Content-Type", - Payload: "httpPayload", + "ContentType": "Content-Type", + "Payload": "httpPayload", }, }, - ListFragments: "POST /listFragments", + "ListFragments": "POST /listFragments", }, } as const satisfies ServiceMetadata; diff --git a/src/services/kinesis-video-archived-media/types.ts b/src/services/kinesis-video-archived-media/types.ts index 5038d71d..bbf2d886 100644 --- a/src/services/kinesis-video-archived-media/types.ts +++ b/src/services/kinesis-video-archived-media/types.ts @@ -7,75 +7,37 @@ export declare class KinesisVideoArchivedMedia extends AWSServiceClient { input: GetClipInput, ): Effect.Effect< GetClipOutput, - | ClientLimitExceededException - | InvalidArgumentException - | InvalidCodecPrivateDataException - | InvalidMediaFrameException - | MissingCodecPrivateDataException - | NoDataRetentionException - | NotAuthorizedException - | ResourceNotFoundException - | UnsupportedStreamMediaTypeException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | InvalidCodecPrivateDataException | InvalidMediaFrameException | MissingCodecPrivateDataException | NoDataRetentionException | NotAuthorizedException | ResourceNotFoundException | UnsupportedStreamMediaTypeException | CommonAwsError >; getDASHStreamingSessionURL( input: GetDASHStreamingSessionURLInput, ): Effect.Effect< GetDASHStreamingSessionURLOutput, - | ClientLimitExceededException - | InvalidArgumentException - | InvalidCodecPrivateDataException - | MissingCodecPrivateDataException - | NoDataRetentionException - | NotAuthorizedException - | ResourceNotFoundException - | UnsupportedStreamMediaTypeException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | InvalidCodecPrivateDataException | MissingCodecPrivateDataException | NoDataRetentionException | NotAuthorizedException | ResourceNotFoundException | UnsupportedStreamMediaTypeException | CommonAwsError >; getHLSStreamingSessionURL( input: GetHLSStreamingSessionURLInput, ): Effect.Effect< GetHLSStreamingSessionURLOutput, - | ClientLimitExceededException - | InvalidArgumentException - | InvalidCodecPrivateDataException - | MissingCodecPrivateDataException - | NoDataRetentionException - | NotAuthorizedException - | ResourceNotFoundException - | UnsupportedStreamMediaTypeException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | InvalidCodecPrivateDataException | MissingCodecPrivateDataException | NoDataRetentionException | NotAuthorizedException | ResourceNotFoundException | UnsupportedStreamMediaTypeException | CommonAwsError >; getImages( input: GetImagesInput, ): Effect.Effect< GetImagesOutput, - | ClientLimitExceededException - | InvalidArgumentException - | NoDataRetentionException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NoDataRetentionException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; getMediaForFragmentList( input: GetMediaForFragmentListInput, ): Effect.Effect< GetMediaForFragmentListOutput, - | ClientLimitExceededException - | InvalidArgumentException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; listFragments( input: ListFragmentsInput, ): Effect.Effect< ListFragmentsOutput, - | ClientLimitExceededException - | InvalidArgumentException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; } @@ -88,9 +50,7 @@ export interface ClipFragmentSelector { FragmentSelectorType: ClipFragmentSelectorType; TimestampRange: ClipTimestampRange; } -export type ClipFragmentSelectorType = - | "PRODUCER_TIMESTAMP" - | "SERVER_TIMESTAMP"; +export type ClipFragmentSelectorType = "PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP"; export interface ClipTimestampRange { StartTimestamp: Date | string; EndTimestamp: Date | string; @@ -104,9 +64,7 @@ export interface DASHFragmentSelector { FragmentSelectorType?: DASHFragmentSelectorType; TimestampRange?: DASHTimestampRange; } -export type DASHFragmentSelectorType = - | "PRODUCER_TIMESTAMP" - | "SERVER_TIMESTAMP"; +export type DASHFragmentSelectorType = "PRODUCER_TIMESTAMP" | "SERVER_TIMESTAMP"; export type DASHMaxResults = number; export type DASHPlaybackMode = "LIVE" | "LIVE_REPLAY" | "ON_DEMAND"; @@ -387,14 +345,5 @@ export declare namespace ListFragments { | CommonAwsError; } -export type KinesisVideoArchivedMediaErrors = - | ClientLimitExceededException - | InvalidArgumentException - | InvalidCodecPrivateDataException - | InvalidMediaFrameException - | MissingCodecPrivateDataException - | NoDataRetentionException - | NotAuthorizedException - | ResourceNotFoundException - | UnsupportedStreamMediaTypeException - | CommonAwsError; +export type KinesisVideoArchivedMediaErrors = ClientLimitExceededException | InvalidArgumentException | InvalidCodecPrivateDataException | InvalidMediaFrameException | MissingCodecPrivateDataException | NoDataRetentionException | NotAuthorizedException | ResourceNotFoundException | UnsupportedStreamMediaTypeException | CommonAwsError; + diff --git a/src/services/kinesis-video-media/index.ts b/src/services/kinesis-video-media/index.ts index 27099bc5..183aae58 100644 --- a/src/services/kinesis-video-media/index.ts +++ b/src/services/kinesis-video-media/index.ts @@ -5,26 +5,7 @@ import type { KinesisVideoMedia as _KinesisVideoMediaClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,11 +15,11 @@ const metadata = { sigV4ServiceName: "kinesisvideo", endpointPrefix: "kinesisvideo", operations: { - GetMedia: { + "GetMedia": { http: "POST /getMedia", traits: { - ContentType: "Content-Type", - Payload: "httpPayload", + "ContentType": "Content-Type", + "Payload": "httpPayload", }, }, }, diff --git a/src/services/kinesis-video-media/types.ts b/src/services/kinesis-video-media/types.ts index 9266bddf..5979f78f 100644 --- a/src/services/kinesis-video-media/types.ts +++ b/src/services/kinesis-video-media/types.ts @@ -7,13 +7,7 @@ export declare class KinesisVideoMedia extends AWSServiceClient { input: GetMediaInput, ): Effect.Effect< GetMediaOutput, - | ClientLimitExceededException - | ConnectionLimitExceededException - | InvalidArgumentException - | InvalidEndpointException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ClientLimitExceededException | ConnectionLimitExceededException | InvalidArgumentException | InvalidEndpointException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; } @@ -74,13 +68,7 @@ export interface StartSelector { StartTimestamp?: Date | string; ContinuationToken?: string; } -export type StartSelectorType = - | "FRAGMENT_NUMBER" - | "SERVER_TIMESTAMP" - | "PRODUCER_TIMESTAMP" - | "NOW" - | "EARLIEST" - | "CONTINUATION_TOKEN"; +export type StartSelectorType = "FRAGMENT_NUMBER" | "SERVER_TIMESTAMP" | "PRODUCER_TIMESTAMP" | "NOW" | "EARLIEST" | "CONTINUATION_TOKEN"; export type StreamName = string; export type Timestamp = Date | string; @@ -98,11 +86,5 @@ export declare namespace GetMedia { | CommonAwsError; } -export type KinesisVideoMediaErrors = - | ClientLimitExceededException - | ConnectionLimitExceededException - | InvalidArgumentException - | InvalidEndpointException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError; +export type KinesisVideoMediaErrors = ClientLimitExceededException | ConnectionLimitExceededException | InvalidArgumentException | InvalidEndpointException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/kinesis-video-signaling/index.ts b/src/services/kinesis-video-signaling/index.ts index b8a87c23..c42ea28b 100644 --- a/src/services/kinesis-video-signaling/index.ts +++ b/src/services/kinesis-video-signaling/index.ts @@ -5,26 +5,7 @@ import type { KinesisVideoSignaling as _KinesisVideoSignalingClient } from "./ty export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,8 +15,8 @@ const metadata = { sigV4ServiceName: "kinesisvideo", endpointPrefix: "kinesisvideo", operations: { - GetIceServerConfig: "POST /v1/get-ice-server-config", - SendAlexaOfferToMaster: "POST /v1/send-alexa-offer-to-master", + "GetIceServerConfig": "POST /v1/get-ice-server-config", + "SendAlexaOfferToMaster": "POST /v1/send-alexa-offer-to-master", }, } as const satisfies ServiceMetadata; diff --git a/src/services/kinesis-video-signaling/types.ts b/src/services/kinesis-video-signaling/types.ts index 280987cf..ce5063b8 100644 --- a/src/services/kinesis-video-signaling/types.ts +++ b/src/services/kinesis-video-signaling/types.ts @@ -7,23 +7,13 @@ export declare class KinesisVideoSignaling extends AWSServiceClient { input: GetIceServerConfigRequest, ): Effect.Effect< GetIceServerConfigResponse, - | ClientLimitExceededException - | InvalidArgumentException - | InvalidClientException - | NotAuthorizedException - | ResourceNotFoundException - | SessionExpiredException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | InvalidClientException | NotAuthorizedException | ResourceNotFoundException | SessionExpiredException | CommonAwsError >; sendAlexaOfferToMaster( input: SendAlexaOfferToMasterRequest, ): Effect.Effect< SendAlexaOfferToMasterResponse, - | ClientLimitExceededException - | InvalidArgumentException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; } @@ -125,11 +115,5 @@ export declare namespace SendAlexaOfferToMaster { | CommonAwsError; } -export type KinesisVideoSignalingErrors = - | ClientLimitExceededException - | InvalidArgumentException - | InvalidClientException - | NotAuthorizedException - | ResourceNotFoundException - | SessionExpiredException - | CommonAwsError; +export type KinesisVideoSignalingErrors = ClientLimitExceededException | InvalidArgumentException | InvalidClientException | NotAuthorizedException | ResourceNotFoundException | SessionExpiredException | CommonAwsError; + diff --git a/src/services/kinesis-video-webrtc-storage/index.ts b/src/services/kinesis-video-webrtc-storage/index.ts index 225f07b5..5b901b41 100644 --- a/src/services/kinesis-video-webrtc-storage/index.ts +++ b/src/services/kinesis-video-webrtc-storage/index.ts @@ -5,25 +5,7 @@ import type { KinesisVideoWebRTCStorage as _KinesisVideoWebRTCStorageClient } fr export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,8 +15,8 @@ const metadata = { sigV4ServiceName: "kinesisvideo", endpointPrefix: "kinesisvideo", operations: { - JoinStorageSession: "POST /joinStorageSession", - JoinStorageSessionAsViewer: "POST /joinStorageSessionAsViewer", + "JoinStorageSession": "POST /joinStorageSession", + "JoinStorageSessionAsViewer": "POST /joinStorageSessionAsViewer", }, } as const satisfies ServiceMetadata; diff --git a/src/services/kinesis-video-webrtc-storage/types.ts b/src/services/kinesis-video-webrtc-storage/types.ts index fcc7c5ad..7d7ed955 100644 --- a/src/services/kinesis-video-webrtc-storage/types.ts +++ b/src/services/kinesis-video-webrtc-storage/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class KinesisVideoWebRTCStorage extends AWSServiceClient { @@ -42,21 +8,13 @@ export declare class KinesisVideoWebRTCStorage extends AWSServiceClient { input: JoinStorageSessionInput, ): Effect.Effect< {}, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; joinStorageSessionAsViewer( input: JoinStorageSessionAsViewerInput, ): Effect.Effect< {}, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; } @@ -115,9 +73,5 @@ export declare namespace JoinStorageSessionAsViewer { | CommonAwsError; } -export type KinesisVideoWebRTCStorageErrors = - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError; +export type KinesisVideoWebRTCStorageErrors = AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/kinesis-video/index.ts b/src/services/kinesis-video/index.ts index 94203153..2bb7580a 100644 --- a/src/services/kinesis-video/index.ts +++ b/src/services/kinesis-video/index.ts @@ -5,25 +5,7 @@ import type { KinesisVideo as _KinesisVideoClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,41 +15,36 @@ const metadata = { sigV4ServiceName: "kinesisvideo", endpointPrefix: "kinesisvideo", operations: { - CreateSignalingChannel: "POST /createSignalingChannel", - CreateStream: "POST /createStream", - DeleteEdgeConfiguration: "POST /deleteEdgeConfiguration", - DeleteSignalingChannel: "POST /deleteSignalingChannel", - DeleteStream: "POST /deleteStream", - DescribeEdgeConfiguration: "POST /describeEdgeConfiguration", - DescribeImageGenerationConfiguration: - "POST /describeImageGenerationConfiguration", - DescribeMappedResourceConfiguration: - "POST /describeMappedResourceConfiguration", - DescribeMediaStorageConfiguration: - "POST /describeMediaStorageConfiguration", - DescribeNotificationConfiguration: - "POST /describeNotificationConfiguration", - DescribeSignalingChannel: "POST /describeSignalingChannel", - DescribeStream: "POST /describeStream", - GetDataEndpoint: "POST /getDataEndpoint", - GetSignalingChannelEndpoint: "POST /getSignalingChannelEndpoint", - ListEdgeAgentConfigurations: "POST /listEdgeAgentConfigurations", - ListSignalingChannels: "POST /listSignalingChannels", - ListStreams: "POST /listStreams", - ListTagsForResource: "POST /ListTagsForResource", - ListTagsForStream: "POST /listTagsForStream", - StartEdgeConfigurationUpdate: "POST /startEdgeConfigurationUpdate", - TagResource: "POST /TagResource", - TagStream: "POST /tagStream", - UntagResource: "POST /UntagResource", - UntagStream: "POST /untagStream", - UpdateDataRetention: "POST /updateDataRetention", - UpdateImageGenerationConfiguration: - "POST /updateImageGenerationConfiguration", - UpdateMediaStorageConfiguration: "POST /updateMediaStorageConfiguration", - UpdateNotificationConfiguration: "POST /updateNotificationConfiguration", - UpdateSignalingChannel: "POST /updateSignalingChannel", - UpdateStream: "POST /updateStream", + "CreateSignalingChannel": "POST /createSignalingChannel", + "CreateStream": "POST /createStream", + "DeleteEdgeConfiguration": "POST /deleteEdgeConfiguration", + "DeleteSignalingChannel": "POST /deleteSignalingChannel", + "DeleteStream": "POST /deleteStream", + "DescribeEdgeConfiguration": "POST /describeEdgeConfiguration", + "DescribeImageGenerationConfiguration": "POST /describeImageGenerationConfiguration", + "DescribeMappedResourceConfiguration": "POST /describeMappedResourceConfiguration", + "DescribeMediaStorageConfiguration": "POST /describeMediaStorageConfiguration", + "DescribeNotificationConfiguration": "POST /describeNotificationConfiguration", + "DescribeSignalingChannel": "POST /describeSignalingChannel", + "DescribeStream": "POST /describeStream", + "GetDataEndpoint": "POST /getDataEndpoint", + "GetSignalingChannelEndpoint": "POST /getSignalingChannelEndpoint", + "ListEdgeAgentConfigurations": "POST /listEdgeAgentConfigurations", + "ListSignalingChannels": "POST /listSignalingChannels", + "ListStreams": "POST /listStreams", + "ListTagsForResource": "POST /ListTagsForResource", + "ListTagsForStream": "POST /listTagsForStream", + "StartEdgeConfigurationUpdate": "POST /startEdgeConfigurationUpdate", + "TagResource": "POST /TagResource", + "TagStream": "POST /tagStream", + "UntagResource": "POST /UntagResource", + "UntagStream": "POST /untagStream", + "UpdateDataRetention": "POST /updateDataRetention", + "UpdateImageGenerationConfiguration": "POST /updateImageGenerationConfiguration", + "UpdateMediaStorageConfiguration": "POST /updateMediaStorageConfiguration", + "UpdateNotificationConfiguration": "POST /updateNotificationConfiguration", + "UpdateSignalingChannel": "POST /updateSignalingChannel", + "UpdateStream": "POST /updateStream", }, } as const satisfies ServiceMetadata; diff --git a/src/services/kinesis-video/types.ts b/src/services/kinesis-video/types.ts index e89bd587..e9288b38 100644 --- a/src/services/kinesis-video/types.ts +++ b/src/services/kinesis-video/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class KinesisVideo extends AWSServiceClient { @@ -42,171 +8,97 @@ export declare class KinesisVideo extends AWSServiceClient { input: CreateSignalingChannelInput, ): Effect.Effect< CreateSignalingChannelOutput, - | AccessDeniedException - | AccountChannelLimitExceededException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceInUseException - | TagsPerResourceExceededLimitException - | CommonAwsError + AccessDeniedException | AccountChannelLimitExceededException | ClientLimitExceededException | InvalidArgumentException | ResourceInUseException | TagsPerResourceExceededLimitException | CommonAwsError >; createStream( input: CreateStreamInput, ): Effect.Effect< CreateStreamOutput, - | AccountStreamLimitExceededException - | ClientLimitExceededException - | DeviceStreamLimitExceededException - | InvalidArgumentException - | InvalidDeviceException - | ResourceInUseException - | TagsPerResourceExceededLimitException - | CommonAwsError + AccountStreamLimitExceededException | ClientLimitExceededException | DeviceStreamLimitExceededException | InvalidArgumentException | InvalidDeviceException | ResourceInUseException | TagsPerResourceExceededLimitException | CommonAwsError >; deleteEdgeConfiguration( input: DeleteEdgeConfigurationInput, ): Effect.Effect< DeleteEdgeConfigurationOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | StreamEdgeConfigurationNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | StreamEdgeConfigurationNotFoundException | CommonAwsError >; deleteSignalingChannel( input: DeleteSignalingChannelInput, ): Effect.Effect< DeleteSignalingChannelOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | VersionMismatchException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | VersionMismatchException | CommonAwsError >; deleteStream( input: DeleteStreamInput, ): Effect.Effect< DeleteStreamOutput, - | ClientLimitExceededException - | InvalidArgumentException - | NotAuthorizedException - | ResourceInUseException - | ResourceNotFoundException - | VersionMismatchException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NotAuthorizedException | ResourceInUseException | ResourceNotFoundException | VersionMismatchException | CommonAwsError >; describeEdgeConfiguration( input: DescribeEdgeConfigurationInput, ): Effect.Effect< DescribeEdgeConfigurationOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | StreamEdgeConfigurationNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | StreamEdgeConfigurationNotFoundException | CommonAwsError >; describeImageGenerationConfiguration( input: DescribeImageGenerationConfigurationInput, ): Effect.Effect< DescribeImageGenerationConfigurationOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; describeMappedResourceConfiguration( input: DescribeMappedResourceConfigurationInput, ): Effect.Effect< DescribeMappedResourceConfigurationOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; describeMediaStorageConfiguration( input: DescribeMediaStorageConfigurationInput, ): Effect.Effect< DescribeMediaStorageConfigurationOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; describeNotificationConfiguration( input: DescribeNotificationConfigurationInput, ): Effect.Effect< DescribeNotificationConfigurationOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; describeSignalingChannel( input: DescribeSignalingChannelInput, ): Effect.Effect< DescribeSignalingChannelOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; describeStream( input: DescribeStreamInput, ): Effect.Effect< DescribeStreamOutput, - | ClientLimitExceededException - | InvalidArgumentException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; getDataEndpoint( input: GetDataEndpointInput, ): Effect.Effect< GetDataEndpointOutput, - | ClientLimitExceededException - | InvalidArgumentException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; getSignalingChannelEndpoint( input: GetSignalingChannelEndpointInput, ): Effect.Effect< GetSignalingChannelEndpointOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; listEdgeAgentConfigurations( input: ListEdgeAgentConfigurationsInput, ): Effect.Effect< ListEdgeAgentConfigurationsOutput, - | ClientLimitExceededException - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; listSignalingChannels( input: ListSignalingChannelsInput, ): Effect.Effect< ListSignalingChannelsOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | CommonAwsError >; listStreams( input: ListStreamsInput, @@ -218,150 +110,79 @@ export declare class KinesisVideo extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; listTagsForStream( input: ListTagsForStreamInput, ): Effect.Effect< ListTagsForStreamOutput, - | ClientLimitExceededException - | InvalidArgumentException - | InvalidResourceFormatException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | InvalidResourceFormatException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; startEdgeConfigurationUpdate( input: StartEdgeConfigurationUpdateInput, ): Effect.Effect< StartEdgeConfigurationUpdateOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | NoDataRetentionException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | NoDataRetentionException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | TagsPerResourceExceededLimitException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | TagsPerResourceExceededLimitException | CommonAwsError >; tagStream( input: TagStreamInput, ): Effect.Effect< TagStreamOutput, - | ClientLimitExceededException - | InvalidArgumentException - | InvalidResourceFormatException - | NotAuthorizedException - | ResourceNotFoundException - | TagsPerResourceExceededLimitException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | InvalidResourceFormatException | NotAuthorizedException | ResourceNotFoundException | TagsPerResourceExceededLimitException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceNotFoundException | CommonAwsError >; untagStream( input: UntagStreamInput, ): Effect.Effect< UntagStreamOutput, - | ClientLimitExceededException - | InvalidArgumentException - | InvalidResourceFormatException - | NotAuthorizedException - | ResourceNotFoundException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | InvalidResourceFormatException | NotAuthorizedException | ResourceNotFoundException | CommonAwsError >; updateDataRetention( input: UpdateDataRetentionInput, ): Effect.Effect< UpdateDataRetentionOutput, - | ClientLimitExceededException - | InvalidArgumentException - | NotAuthorizedException - | ResourceInUseException - | ResourceNotFoundException - | VersionMismatchException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NotAuthorizedException | ResourceInUseException | ResourceNotFoundException | VersionMismatchException | CommonAwsError >; updateImageGenerationConfiguration( input: UpdateImageGenerationConfigurationInput, ): Effect.Effect< UpdateImageGenerationConfigurationOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | NoDataRetentionException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | NoDataRetentionException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateMediaStorageConfiguration( input: UpdateMediaStorageConfigurationInput, ): Effect.Effect< UpdateMediaStorageConfigurationOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | NoDataRetentionException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | NoDataRetentionException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateNotificationConfiguration( input: UpdateNotificationConfigurationInput, ): Effect.Effect< UpdateNotificationConfigurationOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | NoDataRetentionException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | NoDataRetentionException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateSignalingChannel( input: UpdateSignalingChannelInput, ): Effect.Effect< UpdateSignalingChannelOutput, - | AccessDeniedException - | ClientLimitExceededException - | InvalidArgumentException - | ResourceInUseException - | ResourceNotFoundException - | VersionMismatchException - | CommonAwsError + AccessDeniedException | ClientLimitExceededException | InvalidArgumentException | ResourceInUseException | ResourceNotFoundException | VersionMismatchException | CommonAwsError >; updateStream( input: UpdateStreamInput, ): Effect.Effect< UpdateStreamOutput, - | ClientLimitExceededException - | InvalidArgumentException - | NotAuthorizedException - | ResourceInUseException - | ResourceNotFoundException - | VersionMismatchException - | CommonAwsError + ClientLimitExceededException | InvalidArgumentException | NotAuthorizedException | ResourceInUseException | ResourceNotFoundException | VersionMismatchException | CommonAwsError >; } @@ -380,15 +201,7 @@ export declare class AccountStreamLimitExceededException extends EffectData.Tagg )<{ readonly Message?: string; }> {} -export type APIName = - | "PUT_MEDIA" - | "GET_MEDIA" - | "LIST_FRAGMENTS" - | "GET_MEDIA_FOR_FRAGMENT_LIST" - | "GET_HLS_STREAMING_SESSION_URL" - | "GET_DASH_STREAMING_SESSION_URL" - | "GET_CLIP" - | "GET_IMAGES"; +export type APIName = "PUT_MEDIA" | "GET_MEDIA" | "LIST_FRAGMENTS" | "GET_MEDIA_FOR_FRAGMENT_LIST" | "GET_HLS_STREAMING_SESSION_URL" | "GET_DASH_STREAMING_SESSION_URL" | "GET_CLIP" | "GET_IMAGES"; export interface ChannelInfo { ChannelName?: string; ChannelARN?: string; @@ -447,17 +260,20 @@ export interface DeleteEdgeConfigurationInput { StreamName?: string; StreamARN?: string; } -export interface DeleteEdgeConfigurationOutput {} +export interface DeleteEdgeConfigurationOutput { +} export interface DeleteSignalingChannelInput { ChannelARN: string; CurrentVersion?: string; } -export interface DeleteSignalingChannelOutput {} +export interface DeleteSignalingChannelOutput { +} export interface DeleteStreamInput { StreamARN: string; CurrentVersion?: string; } -export interface DeleteStreamOutput {} +export interface DeleteStreamOutput { +} export interface DeletionConfig { EdgeRetentionInHours?: number; LocalSizeConfig?: LocalSizeConfig; @@ -630,8 +446,7 @@ export interface ListEdgeAgentConfigurationsEdgeConfig { FailedStatusDetails?: string; EdgeConfig?: EdgeConfig; } -export type ListEdgeAgentConfigurationsEdgeConfigList = - Array; +export type ListEdgeAgentConfigurationsEdgeConfigList = Array; export interface ListEdgeAgentConfigurationsInput { HubDeviceArn: string; MaxResults?: number; @@ -685,8 +500,7 @@ export interface LocalSizeConfig { MaxLocalMediaSizeInMB?: number; StrategyOnFullSize?: StrategyOnFullSize; } -export type MappedResourceConfigurationList = - Array; +export type MappedResourceConfigurationList = Array; export interface MappedResourceConfigurationListItem { Type?: string; ARN?: string; @@ -809,14 +623,7 @@ export interface StreamNameCondition { ComparisonOperator?: ComparisonOperator; ComparisonValue?: string; } -export type SyncStatus = - | "SYNCING" - | "ACKNOWLEDGED" - | "IN_SYNC" - | "SYNC_FAILED" - | "DELETING" - | "DELETE_FAILED" - | "DELETING_ACKNOWLEDGED"; +export type SyncStatus = "SYNCING" | "ACKNOWLEDGED" | "IN_SYNC" | "SYNC_FAILED" | "DELETING" | "DELETE_FAILED" | "DELETING_ACKNOWLEDGED"; export interface Tag { Key: string; Value: string; @@ -830,7 +637,8 @@ export interface TagResourceInput { ResourceARN: string; Tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export declare class TagsPerResourceExceededLimitException extends EffectData.TaggedError( "TagsPerResourceExceededLimitException", )<{ @@ -841,7 +649,8 @@ export interface TagStreamInput { StreamName?: string; Tags: Record; } -export interface TagStreamOutput {} +export interface TagStreamOutput { +} export type TagValue = string; export type Timestamp = Date | string; @@ -852,13 +661,15 @@ export interface UntagResourceInput { ResourceARN: string; TagKeyList: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UntagStreamInput { StreamARN?: string; StreamName?: string; TagKeyList: Array; } -export interface UntagStreamOutput {} +export interface UntagStreamOutput { +} export interface UpdateDataRetentionInput { StreamName?: string; StreamARN?: string; @@ -866,33 +677,36 @@ export interface UpdateDataRetentionInput { Operation: UpdateDataRetentionOperation; DataRetentionChangeInHours: number; } -export type UpdateDataRetentionOperation = - | "INCREASE_DATA_RETENTION" - | "DECREASE_DATA_RETENTION"; -export interface UpdateDataRetentionOutput {} +export type UpdateDataRetentionOperation = "INCREASE_DATA_RETENTION" | "DECREASE_DATA_RETENTION"; +export interface UpdateDataRetentionOutput { +} export interface UpdateImageGenerationConfigurationInput { StreamName?: string; StreamARN?: string; ImageGenerationConfiguration?: ImageGenerationConfiguration; } -export interface UpdateImageGenerationConfigurationOutput {} +export interface UpdateImageGenerationConfigurationOutput { +} export interface UpdateMediaStorageConfigurationInput { ChannelARN: string; MediaStorageConfiguration: MediaStorageConfiguration; } -export interface UpdateMediaStorageConfigurationOutput {} +export interface UpdateMediaStorageConfigurationOutput { +} export interface UpdateNotificationConfigurationInput { StreamName?: string; StreamARN?: string; NotificationConfiguration?: NotificationConfiguration; } -export interface UpdateNotificationConfigurationOutput {} +export interface UpdateNotificationConfigurationOutput { +} export interface UpdateSignalingChannelInput { ChannelARN: string; CurrentVersion: string; SingleMasterConfiguration?: SingleMasterConfiguration; } -export interface UpdateSignalingChannelOutput {} +export interface UpdateSignalingChannelOutput { +} export interface UpdateStreamInput { StreamName?: string; StreamARN?: string; @@ -900,7 +714,8 @@ export interface UpdateStreamInput { DeviceName?: string; MediaType?: string; } -export interface UpdateStreamOutput {} +export interface UpdateStreamOutput { +} export interface UploaderConfig { ScheduleConfig: ScheduleConfig; } @@ -1271,20 +1086,5 @@ export declare namespace UpdateStream { | CommonAwsError; } -export type KinesisVideoErrors = - | AccessDeniedException - | AccountChannelLimitExceededException - | AccountStreamLimitExceededException - | ClientLimitExceededException - | DeviceStreamLimitExceededException - | InvalidArgumentException - | InvalidDeviceException - | InvalidResourceFormatException - | NoDataRetentionException - | NotAuthorizedException - | ResourceInUseException - | ResourceNotFoundException - | StreamEdgeConfigurationNotFoundException - | TagsPerResourceExceededLimitException - | VersionMismatchException - | CommonAwsError; +export type KinesisVideoErrors = AccessDeniedException | AccountChannelLimitExceededException | AccountStreamLimitExceededException | ClientLimitExceededException | DeviceStreamLimitExceededException | InvalidArgumentException | InvalidDeviceException | InvalidResourceFormatException | NoDataRetentionException | NotAuthorizedException | ResourceInUseException | ResourceNotFoundException | StreamEdgeConfigurationNotFoundException | TagsPerResourceExceededLimitException | VersionMismatchException | CommonAwsError; + diff --git a/src/services/kinesis/index.ts b/src/services/kinesis/index.ts index ae0c217e..93e09c52 100644 --- a/src/services/kinesis/index.ts +++ b/src/services/kinesis/index.ts @@ -5,24 +5,7 @@ import type { Kinesis as _KinesisClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/kinesis/types.ts b/src/services/kinesis/types.ts index 24d245c1..f8bd3f16 100644 --- a/src/services/kinesis/types.ts +++ b/src/services/kinesis/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Kinesis extends AWSServiceClient { @@ -41,64 +8,37 @@ export declare class Kinesis extends AWSServiceClient { input: AddTagsToStreamInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createStream( input: CreateStreamInput, ): Effect.Effect< {}, - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ValidationException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ResourceInUseException | ValidationException | CommonAwsError >; decreaseStreamRetentionPeriod( input: DecreaseStreamRetentionPeriodInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteStream( input: DeleteStreamInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deregisterStreamConsumer( input: DeregisterStreamConsumerInput, ): Effect.Effect< {}, - | InvalidArgumentException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; describeAccountSettings( input: DescribeAccountSettingsInput, @@ -116,363 +56,187 @@ export declare class Kinesis extends AWSServiceClient { input: DescribeStreamInput, ): Effect.Effect< DescribeStreamOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; describeStreamConsumer( input: DescribeStreamConsumerInput, ): Effect.Effect< DescribeStreamConsumerOutput, - | InvalidArgumentException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; describeStreamSummary( input: DescribeStreamSummaryInput, ): Effect.Effect< DescribeStreamSummaryOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; disableEnhancedMonitoring( input: DisableEnhancedMonitoringInput, ): Effect.Effect< EnhancedMonitoringOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; enableEnhancedMonitoring( input: EnableEnhancedMonitoringInput, ): Effect.Effect< EnhancedMonitoringOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; getRecords( input: GetRecordsInput, ): Effect.Effect< GetRecordsOutput, - | AccessDeniedException - | ExpiredIteratorException - | InternalFailureException - | InvalidArgumentException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | KMSOptInRequired - | KMSThrottlingException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ExpiredIteratorException | InternalFailureException | InvalidArgumentException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | KMSOptInRequired | KMSThrottlingException | ProvisionedThroughputExceededException | ResourceNotFoundException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyInput, ): Effect.Effect< GetResourcePolicyOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; getShardIterator( input: GetShardIteratorInput, ): Effect.Effect< GetShardIteratorOutput, - | AccessDeniedException - | InternalFailureException - | InvalidArgumentException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidArgumentException | ProvisionedThroughputExceededException | ResourceNotFoundException | CommonAwsError >; increaseStreamRetentionPeriod( input: IncreaseStreamRetentionPeriodInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; listShards( input: ListShardsInput, ): Effect.Effect< ListShardsOutput, - | AccessDeniedException - | ExpiredNextTokenException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ExpiredNextTokenException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; listStreamConsumers( input: ListStreamConsumersInput, ): Effect.Effect< ListStreamConsumersOutput, - | ExpiredNextTokenException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + ExpiredNextTokenException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; listStreams( input: ListStreamsInput, ): Effect.Effect< ListStreamsOutput, - | ExpiredNextTokenException - | InvalidArgumentException - | LimitExceededException - | CommonAwsError + ExpiredNextTokenException | InvalidArgumentException | LimitExceededException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; listTagsForStream( input: ListTagsForStreamInput, ): Effect.Effect< ListTagsForStreamOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; mergeShards( input: MergeShardsInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; putRecord( input: PutRecordInput, ): Effect.Effect< PutRecordOutput, - | AccessDeniedException - | InternalFailureException - | InvalidArgumentException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | KMSOptInRequired - | KMSThrottlingException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidArgumentException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | KMSOptInRequired | KMSThrottlingException | ProvisionedThroughputExceededException | ResourceNotFoundException | CommonAwsError >; putRecords( input: PutRecordsInput, ): Effect.Effect< PutRecordsOutput, - | AccessDeniedException - | InternalFailureException - | InvalidArgumentException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | KMSOptInRequired - | KMSThrottlingException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidArgumentException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | KMSOptInRequired | KMSThrottlingException | ProvisionedThroughputExceededException | ResourceNotFoundException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; registerStreamConsumer( input: RegisterStreamConsumerInput, ): Effect.Effect< RegisterStreamConsumerOutput, - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; removeTagsFromStream( input: RemoveTagsFromStreamInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; splitShard( input: SplitShardInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; startStreamEncryption( input: StartStreamEncryptionInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | KMSOptInRequired - | KMSThrottlingException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | KMSOptInRequired | KMSThrottlingException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; stopStreamEncryption( input: StopStreamEncryptionInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; subscribeToShard( input: SubscribeToShardInput, ): Effect.Effect< SubscribeToShardOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateAccountSettings( input: UpdateAccountSettingsInput, ): Effect.Effect< UpdateAccountSettingsOutput, - | InvalidArgumentException - | LimitExceededException - | ValidationException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ValidationException | CommonAwsError >; updateMaxRecordSize( input: UpdateMaxRecordSizeInput, ): Effect.Effect< {}, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateShardCount( input: UpdateShardCountInput, ): Effect.Effect< UpdateShardCountOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateStreamMode( input: UpdateStreamModeInput, ): Effect.Effect< {}, - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateStreamWarmThroughput( input: UpdateStreamWarmThroughputInput, ): Effect.Effect< UpdateStreamWarmThroughputOutput, - | AccessDeniedException - | InvalidArgumentException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidArgumentException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -543,11 +307,13 @@ export interface DeregisterStreamConsumerInput { ConsumerName?: string; ConsumerARN?: string; } -export interface DescribeAccountSettingsInput {} +export interface DescribeAccountSettingsInput { +} export interface DescribeAccountSettingsOutput { MinimumThroughputBillingCommitment?: MinimumThroughputBillingCommitmentOutput; } -export interface DescribeLimitsInput {} +export interface DescribeLimitsInput { +} export interface DescribeLimitsOutput { ShardLimit: number; OpenShardCount: number; @@ -769,34 +535,21 @@ export interface MergeShardsInput { AdjacentShardToMerge: string; StreamARN?: string; } -export type MetricsName = - | "IncomingBytes" - | "IncomingRecords" - | "OutgoingBytes" - | "OutgoingRecords" - | "WriteProvisionedThroughputExceeded" - | "ReadProvisionedThroughputExceeded" - | "IteratorAgeMilliseconds" - | "ALL"; +export type MetricsName = "IncomingBytes" | "IncomingRecords" | "OutgoingBytes" | "OutgoingRecords" | "WriteProvisionedThroughputExceeded" | "ReadProvisionedThroughputExceeded" | "IteratorAgeMilliseconds" | "ALL"; export type MetricsNameList = Array; export type MillisBehindLatest = number; export interface MinimumThroughputBillingCommitmentInput { Status: MinimumThroughputBillingCommitmentInputStatus; } -export type MinimumThroughputBillingCommitmentInputStatus = - | "ENABLED" - | "DISABLED"; +export type MinimumThroughputBillingCommitmentInputStatus = "ENABLED" | "DISABLED"; export interface MinimumThroughputBillingCommitmentOutput { Status: MinimumThroughputBillingCommitmentOutputStatus; StartedAt?: Date | string; EndedAt?: Date | string; EarliestAllowedEndAt?: Date | string; } -export type MinimumThroughputBillingCommitmentOutputStatus = - | "ENABLED" - | "DISABLED" - | "ENABLED_UNTIL_EARLIEST_ALLOWED_END"; +export type MinimumThroughputBillingCommitmentOutputStatus = "ENABLED" | "DISABLED" | "ENABLED_UNTIL_EARLIEST_ALLOWED_END"; export type NaturalIntegerObject = number; export type NextToken = string; @@ -912,24 +665,13 @@ export interface ShardFilter { ShardId?: string; Timestamp?: Date | string; } -export type ShardFilterType = - | "AFTER_SHARD_ID" - | "AT_TRIM_HORIZON" - | "FROM_TRIM_HORIZON" - | "AT_LATEST" - | "AT_TIMESTAMP" - | "FROM_TIMESTAMP"; +export type ShardFilterType = "AFTER_SHARD_ID" | "AT_TRIM_HORIZON" | "FROM_TRIM_HORIZON" | "AT_LATEST" | "AT_TIMESTAMP" | "FROM_TIMESTAMP"; export type ShardId = string; export type ShardIdList = Array; export type ShardIterator = string; -export type ShardIteratorType = - | "AT_SEQUENCE_NUMBER" - | "AFTER_SEQUENCE_NUMBER" - | "TRIM_HORIZON" - | "LATEST" - | "AT_TIMESTAMP"; +export type ShardIteratorType = "AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER" | "TRIM_HORIZON" | "LATEST" | "AT_TIMESTAMP"; export type ShardList = Array; export interface SplitShardInput { StreamName?: string; @@ -1019,35 +761,7 @@ interface _SubscribeToShardEventStream { InternalFailureException?: InternalFailureException; } -export type SubscribeToShardEventStream = - | (_SubscribeToShardEventStream & { - SubscribeToShardEvent: SubscribeToShardEvent; - }) - | (_SubscribeToShardEventStream & { - ResourceNotFoundException: ResourceNotFoundException; - }) - | (_SubscribeToShardEventStream & { - ResourceInUseException: ResourceInUseException; - }) - | (_SubscribeToShardEventStream & { - KMSDisabledException: KMSDisabledException; - }) - | (_SubscribeToShardEventStream & { - KMSInvalidStateException: KMSInvalidStateException; - }) - | (_SubscribeToShardEventStream & { - KMSAccessDeniedException: KMSAccessDeniedException; - }) - | (_SubscribeToShardEventStream & { - KMSNotFoundException: KMSNotFoundException; - }) - | (_SubscribeToShardEventStream & { KMSOptInRequired: KMSOptInRequired }) - | (_SubscribeToShardEventStream & { - KMSThrottlingException: KMSThrottlingException; - }) - | (_SubscribeToShardEventStream & { - InternalFailureException: InternalFailureException; - }); +export type SubscribeToShardEventStream = (_SubscribeToShardEventStream & { SubscribeToShardEvent: SubscribeToShardEvent }) | (_SubscribeToShardEventStream & { ResourceNotFoundException: ResourceNotFoundException }) | (_SubscribeToShardEventStream & { ResourceInUseException: ResourceInUseException }) | (_SubscribeToShardEventStream & { KMSDisabledException: KMSDisabledException }) | (_SubscribeToShardEventStream & { KMSInvalidStateException: KMSInvalidStateException }) | (_SubscribeToShardEventStream & { KMSAccessDeniedException: KMSAccessDeniedException }) | (_SubscribeToShardEventStream & { KMSNotFoundException: KMSNotFoundException }) | (_SubscribeToShardEventStream & { KMSOptInRequired: KMSOptInRequired }) | (_SubscribeToShardEventStream & { KMSThrottlingException: KMSThrottlingException }) | (_SubscribeToShardEventStream & { InternalFailureException: InternalFailureException }); export interface SubscribeToShardInput { ConsumerARN: string; ShardId: string; @@ -1195,13 +909,17 @@ export declare namespace DeregisterStreamConsumer { export declare namespace DescribeAccountSettings { export type Input = DescribeAccountSettingsInput; export type Output = DescribeAccountSettingsOutput; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace DescribeLimits { export type Input = DescribeLimitsInput; export type Output = DescribeLimitsOutput; - export type Error = LimitExceededException | CommonAwsError; + export type Error = + | LimitExceededException + | CommonAwsError; } export declare namespace DescribeStream { @@ -1597,21 +1315,5 @@ export declare namespace UpdateStreamWarmThroughput { | CommonAwsError; } -export type KinesisErrors = - | AccessDeniedException - | ExpiredIteratorException - | ExpiredNextTokenException - | InternalFailureException - | InvalidArgumentException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | KMSOptInRequired - | KMSThrottlingException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type KinesisErrors = AccessDeniedException | ExpiredIteratorException | ExpiredNextTokenException | InternalFailureException | InvalidArgumentException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | KMSOptInRequired | KMSThrottlingException | LimitExceededException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/kms/index.ts b/src/services/kms/index.ts index 9786afcb..e64596bf 100644 --- a/src/services/kms/index.ts +++ b/src/services/kms/index.ts @@ -5,26 +5,7 @@ import type { KMS as _KMSClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/kms/types.ts b/src/services/kms/types.ts index f84f4fcf..342e03e2 100644 --- a/src/services/kms/types.ts +++ b/src/services/kms/types.ts @@ -7,706 +7,319 @@ export declare class KMS extends AWSServiceClient { input: CancelKeyDeletionRequest, ): Effect.Effect< CancelKeyDeletionResponse, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; connectCustomKeyStore( input: ConnectCustomKeyStoreRequest, ): Effect.Effect< ConnectCustomKeyStoreResponse, - | CloudHsmClusterInvalidConfigurationException - | CloudHsmClusterNotActiveException - | CustomKeyStoreInvalidStateException - | CustomKeyStoreNotFoundException - | KMSInternalException - | CommonAwsError + CloudHsmClusterInvalidConfigurationException | CloudHsmClusterNotActiveException | CustomKeyStoreInvalidStateException | CustomKeyStoreNotFoundException | KMSInternalException | CommonAwsError >; createAlias( input: CreateAliasRequest, ): Effect.Effect< {}, - | AlreadyExistsException - | DependencyTimeoutException - | InvalidAliasNameException - | KMSInternalException - | KMSInvalidStateException - | LimitExceededException - | NotFoundException - | CommonAwsError + AlreadyExistsException | DependencyTimeoutException | InvalidAliasNameException | KMSInternalException | KMSInvalidStateException | LimitExceededException | NotFoundException | CommonAwsError >; createCustomKeyStore( input: CreateCustomKeyStoreRequest, ): Effect.Effect< CreateCustomKeyStoreResponse, - | CloudHsmClusterInUseException - | CloudHsmClusterInvalidConfigurationException - | CloudHsmClusterNotActiveException - | CloudHsmClusterNotFoundException - | CustomKeyStoreNameInUseException - | IncorrectTrustAnchorException - | KMSInternalException - | LimitExceededException - | XksProxyIncorrectAuthenticationCredentialException - | XksProxyInvalidConfigurationException - | XksProxyInvalidResponseException - | XksProxyUriEndpointInUseException - | XksProxyUriInUseException - | XksProxyUriUnreachableException - | XksProxyVpcEndpointServiceInUseException - | XksProxyVpcEndpointServiceInvalidConfigurationException - | XksProxyVpcEndpointServiceNotFoundException - | CommonAwsError + CloudHsmClusterInUseException | CloudHsmClusterInvalidConfigurationException | CloudHsmClusterNotActiveException | CloudHsmClusterNotFoundException | CustomKeyStoreNameInUseException | IncorrectTrustAnchorException | KMSInternalException | LimitExceededException | XksProxyIncorrectAuthenticationCredentialException | XksProxyInvalidConfigurationException | XksProxyInvalidResponseException | XksProxyUriEndpointInUseException | XksProxyUriInUseException | XksProxyUriUnreachableException | XksProxyVpcEndpointServiceInUseException | XksProxyVpcEndpointServiceInvalidConfigurationException | XksProxyVpcEndpointServiceNotFoundException | CommonAwsError >; createGrant( input: CreateGrantRequest, ): Effect.Effect< CreateGrantResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | InvalidArnException - | InvalidGrantTokenException - | KMSInternalException - | KMSInvalidStateException - | LimitExceededException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | InvalidArnException | InvalidGrantTokenException | KMSInternalException | KMSInvalidStateException | LimitExceededException | NotFoundException | CommonAwsError >; createKey( input: CreateKeyRequest, ): Effect.Effect< CreateKeyResponse, - | CloudHsmClusterInvalidConfigurationException - | CustomKeyStoreInvalidStateException - | CustomKeyStoreNotFoundException - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | LimitExceededException - | MalformedPolicyDocumentException - | TagException - | UnsupportedOperationException - | XksKeyAlreadyInUseException - | XksKeyInvalidConfigurationException - | XksKeyNotFoundException - | CommonAwsError + CloudHsmClusterInvalidConfigurationException | CustomKeyStoreInvalidStateException | CustomKeyStoreNotFoundException | DependencyTimeoutException | InvalidArnException | KMSInternalException | LimitExceededException | MalformedPolicyDocumentException | TagException | UnsupportedOperationException | XksKeyAlreadyInUseException | XksKeyInvalidConfigurationException | XksKeyNotFoundException | CommonAwsError >; decrypt( input: DecryptRequest, ): Effect.Effect< DecryptResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | IncorrectKeyException - | InvalidCiphertextException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | IncorrectKeyException | InvalidCiphertextException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; deleteAlias( input: DeleteAliasRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; deleteCustomKeyStore( input: DeleteCustomKeyStoreRequest, ): Effect.Effect< DeleteCustomKeyStoreResponse, - | CustomKeyStoreHasCMKsException - | CustomKeyStoreInvalidStateException - | CustomKeyStoreNotFoundException - | KMSInternalException - | CommonAwsError + CustomKeyStoreHasCMKsException | CustomKeyStoreInvalidStateException | CustomKeyStoreNotFoundException | KMSInternalException | CommonAwsError >; deleteImportedKeyMaterial( input: DeleteImportedKeyMaterialRequest, ): Effect.Effect< DeleteImportedKeyMaterialResponse, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; deriveSharedSecret( input: DeriveSharedSecretRequest, ): Effect.Effect< DeriveSharedSecretResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; describeCustomKeyStores( input: DescribeCustomKeyStoresRequest, ): Effect.Effect< DescribeCustomKeyStoresResponse, - | CustomKeyStoreNotFoundException - | InvalidMarkerException - | KMSInternalException - | CommonAwsError + CustomKeyStoreNotFoundException | InvalidMarkerException | KMSInternalException | CommonAwsError >; describeKey( input: DescribeKeyRequest, ): Effect.Effect< DescribeKeyResponse, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | NotFoundException | CommonAwsError >; disableKey( input: DisableKeyRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; disableKeyRotation( input: DisableKeyRotationRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | DisabledException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | DisabledException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; disconnectCustomKeyStore( input: DisconnectCustomKeyStoreRequest, ): Effect.Effect< DisconnectCustomKeyStoreResponse, - | CustomKeyStoreInvalidStateException - | CustomKeyStoreNotFoundException - | KMSInternalException - | CommonAwsError + CustomKeyStoreInvalidStateException | CustomKeyStoreNotFoundException | KMSInternalException | CommonAwsError >; enableKey( input: EnableKeyRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | LimitExceededException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | LimitExceededException | NotFoundException | CommonAwsError >; enableKeyRotation( input: EnableKeyRotationRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | DisabledException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | DisabledException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; encrypt( input: EncryptRequest, ): Effect.Effect< EncryptResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; generateDataKey( input: GenerateDataKeyRequest, ): Effect.Effect< GenerateDataKeyResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; generateDataKeyPair( input: GenerateDataKeyPairRequest, ): Effect.Effect< GenerateDataKeyPairResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; generateDataKeyPairWithoutPlaintext( input: GenerateDataKeyPairWithoutPlaintextRequest, ): Effect.Effect< GenerateDataKeyPairWithoutPlaintextResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; generateDataKeyWithoutPlaintext( input: GenerateDataKeyWithoutPlaintextRequest, ): Effect.Effect< GenerateDataKeyWithoutPlaintextResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; generateMac( input: GenerateMacRequest, ): Effect.Effect< GenerateMacResponse, - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; generateRandom( input: GenerateRandomRequest, ): Effect.Effect< GenerateRandomResponse, - | CustomKeyStoreInvalidStateException - | CustomKeyStoreNotFoundException - | DependencyTimeoutException - | KMSInternalException - | UnsupportedOperationException - | CommonAwsError + CustomKeyStoreInvalidStateException | CustomKeyStoreNotFoundException | DependencyTimeoutException | KMSInternalException | UnsupportedOperationException | CommonAwsError >; getKeyPolicy( input: GetKeyPolicyRequest, ): Effect.Effect< GetKeyPolicyResponse, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; getKeyRotationStatus( input: GetKeyRotationStatusRequest, ): Effect.Effect< GetKeyRotationStatusResponse, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; getParametersForImport( input: GetParametersForImportRequest, ): Effect.Effect< GetParametersForImportResponse, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; getPublicKey( input: GetPublicKeyRequest, ): Effect.Effect< GetPublicKeyResponse, - | DependencyTimeoutException - | DisabledException - | InvalidArnException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | DisabledException | InvalidArnException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; importKeyMaterial( input: ImportKeyMaterialRequest, ): Effect.Effect< ImportKeyMaterialResponse, - | DependencyTimeoutException - | ExpiredImportTokenException - | IncorrectKeyMaterialException - | InvalidArnException - | InvalidCiphertextException - | InvalidImportTokenException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | ExpiredImportTokenException | IncorrectKeyMaterialException | InvalidArnException | InvalidCiphertextException | InvalidImportTokenException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; listAliases( input: ListAliasesRequest, ): Effect.Effect< ListAliasesResponse, - | DependencyTimeoutException - | InvalidArnException - | InvalidMarkerException - | KMSInternalException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | InvalidMarkerException | KMSInternalException | NotFoundException | CommonAwsError >; listGrants( input: ListGrantsRequest, ): Effect.Effect< ListGrantsResponse, - | DependencyTimeoutException - | InvalidArnException - | InvalidGrantIdException - | InvalidMarkerException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | InvalidGrantIdException | InvalidMarkerException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; listKeyPolicies( input: ListKeyPoliciesRequest, ): Effect.Effect< ListKeyPoliciesResponse, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; listKeyRotations( input: ListKeyRotationsRequest, ): Effect.Effect< ListKeyRotationsResponse, - | InvalidArnException - | InvalidMarkerException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + InvalidArnException | InvalidMarkerException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; listKeys( input: ListKeysRequest, ): Effect.Effect< ListKeysResponse, - | DependencyTimeoutException - | InvalidMarkerException - | KMSInternalException - | CommonAwsError + DependencyTimeoutException | InvalidMarkerException | KMSInternalException | CommonAwsError >; listResourceTags( input: ListResourceTagsRequest, ): Effect.Effect< ListResourceTagsResponse, - | InvalidArnException - | InvalidMarkerException - | KMSInternalException - | NotFoundException - | CommonAwsError + InvalidArnException | InvalidMarkerException | KMSInternalException | NotFoundException | CommonAwsError >; listRetirableGrants( input: ListRetirableGrantsRequest, ): Effect.Effect< ListGrantsResponse, - | DependencyTimeoutException - | InvalidArnException - | InvalidMarkerException - | KMSInternalException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | InvalidMarkerException | KMSInternalException | NotFoundException | CommonAwsError >; putKeyPolicy( input: PutKeyPolicyRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | LimitExceededException - | MalformedPolicyDocumentException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | LimitExceededException | MalformedPolicyDocumentException | NotFoundException | UnsupportedOperationException | CommonAwsError >; reEncrypt( input: ReEncryptRequest, ): Effect.Effect< ReEncryptResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | IncorrectKeyException - | InvalidCiphertextException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | IncorrectKeyException | InvalidCiphertextException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; replicateKey( input: ReplicateKeyRequest, ): Effect.Effect< ReplicateKeyResponse, - | AlreadyExistsException - | DisabledException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | LimitExceededException - | MalformedPolicyDocumentException - | NotFoundException - | TagException - | UnsupportedOperationException - | CommonAwsError + AlreadyExistsException | DisabledException | InvalidArnException | KMSInternalException | KMSInvalidStateException | LimitExceededException | MalformedPolicyDocumentException | NotFoundException | TagException | UnsupportedOperationException | CommonAwsError >; retireGrant( input: RetireGrantRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | DryRunOperationException - | InvalidArnException - | InvalidGrantIdException - | InvalidGrantTokenException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DryRunOperationException | InvalidArnException | InvalidGrantIdException | InvalidGrantTokenException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; revokeGrant( input: RevokeGrantRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | DryRunOperationException - | InvalidArnException - | InvalidGrantIdException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DryRunOperationException | InvalidArnException | InvalidGrantIdException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; rotateKeyOnDemand( input: RotateKeyOnDemandRequest, ): Effect.Effect< RotateKeyOnDemandResponse, - | ConflictException - | DependencyTimeoutException - | DisabledException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | LimitExceededException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + ConflictException | DependencyTimeoutException | DisabledException | InvalidArnException | KMSInternalException | KMSInvalidStateException | LimitExceededException | NotFoundException | UnsupportedOperationException | CommonAwsError >; scheduleKeyDeletion( input: ScheduleKeyDeletionRequest, ): Effect.Effect< ScheduleKeyDeletionResponse, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; sign( input: SignRequest, ): Effect.Effect< SignResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | LimitExceededException - | NotFoundException - | TagException - | CommonAwsError + InvalidArnException | KMSInternalException | KMSInvalidStateException | LimitExceededException | NotFoundException | TagException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | TagException - | CommonAwsError + InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | TagException | CommonAwsError >; updateAlias( input: UpdateAliasRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | KMSInternalException - | KMSInvalidStateException - | LimitExceededException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | KMSInternalException | KMSInvalidStateException | LimitExceededException | NotFoundException | CommonAwsError >; updateCustomKeyStore( input: UpdateCustomKeyStoreRequest, ): Effect.Effect< UpdateCustomKeyStoreResponse, - | CloudHsmClusterInvalidConfigurationException - | CloudHsmClusterNotActiveException - | CloudHsmClusterNotFoundException - | CloudHsmClusterNotRelatedException - | CustomKeyStoreInvalidStateException - | CustomKeyStoreNameInUseException - | CustomKeyStoreNotFoundException - | KMSInternalException - | XksProxyIncorrectAuthenticationCredentialException - | XksProxyInvalidConfigurationException - | XksProxyInvalidResponseException - | XksProxyUriEndpointInUseException - | XksProxyUriInUseException - | XksProxyUriUnreachableException - | XksProxyVpcEndpointServiceInUseException - | XksProxyVpcEndpointServiceInvalidConfigurationException - | XksProxyVpcEndpointServiceNotFoundException - | CommonAwsError + CloudHsmClusterInvalidConfigurationException | CloudHsmClusterNotActiveException | CloudHsmClusterNotFoundException | CloudHsmClusterNotRelatedException | CustomKeyStoreInvalidStateException | CustomKeyStoreNameInUseException | CustomKeyStoreNotFoundException | KMSInternalException | XksProxyIncorrectAuthenticationCredentialException | XksProxyInvalidConfigurationException | XksProxyInvalidResponseException | XksProxyUriEndpointInUseException | XksProxyUriInUseException | XksProxyUriUnreachableException | XksProxyVpcEndpointServiceInUseException | XksProxyVpcEndpointServiceInvalidConfigurationException | XksProxyVpcEndpointServiceNotFoundException | CommonAwsError >; updateKeyDescription( input: UpdateKeyDescriptionRequest, ): Effect.Effect< {}, - | DependencyTimeoutException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | CommonAwsError >; updatePrimaryRegion( input: UpdatePrimaryRegionRequest, ): Effect.Effect< {}, - | DisabledException - | InvalidArnException - | KMSInternalException - | KMSInvalidStateException - | NotFoundException - | UnsupportedOperationException - | CommonAwsError + DisabledException | InvalidArnException | KMSInternalException | KMSInvalidStateException | NotFoundException | UnsupportedOperationException | CommonAwsError >; verify( input: VerifyRequest, ): Effect.Effect< VerifyResponse, - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidSignatureException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DependencyTimeoutException | DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidSignatureException | KMSInvalidStateException | NotFoundException | CommonAwsError >; verifyMac( input: VerifyMacRequest, ): Effect.Effect< VerifyMacResponse, - | DisabledException - | DryRunOperationException - | InvalidGrantTokenException - | InvalidKeyUsageException - | KeyUnavailableException - | KMSInternalException - | KMSInvalidMacException - | KMSInvalidStateException - | NotFoundException - | CommonAwsError + DisabledException | DryRunOperationException | InvalidGrantTokenException | InvalidKeyUsageException | KeyUnavailableException | KMSInternalException | KMSInvalidMacException | KMSInvalidStateException | NotFoundException | CommonAwsError >; } @@ -714,13 +327,7 @@ export declare class Kms extends KMS {} export type AccountIdType = string; -export type AlgorithmSpec = - | "RSAES_PKCS1_V1_5" - | "RSAES_OAEP_SHA_1" - | "RSAES_OAEP_SHA_256" - | "RSA_AES_KEY_WRAP_SHA_1" - | "RSA_AES_KEY_WRAP_SHA_256" - | "SM2PKE"; +export type AlgorithmSpec = "RSAES_PKCS1_V1_5" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "RSA_AES_KEY_WRAP_SHA_1" | "RSA_AES_KEY_WRAP_SHA_256" | "SM2PKE"; export type AliasList = Array; export interface AliasListEntry { AliasName?: string; @@ -791,32 +398,10 @@ export declare class ConflictException extends EffectData.TaggedError( export interface ConnectCustomKeyStoreRequest { CustomKeyStoreId: string; } -export interface ConnectCustomKeyStoreResponse {} -export type ConnectionErrorCodeType = - | "INVALID_CREDENTIALS" - | "CLUSTER_NOT_FOUND" - | "NETWORK_ERRORS" - | "INTERNAL_ERROR" - | "INSUFFICIENT_CLOUDHSM_HSMS" - | "USER_LOCKED_OUT" - | "USER_NOT_FOUND" - | "USER_LOGGED_IN" - | "SUBNET_NOT_FOUND" - | "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET" - | "XKS_PROXY_ACCESS_DENIED" - | "XKS_PROXY_NOT_REACHABLE" - | "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND" - | "XKS_PROXY_INVALID_RESPONSE" - | "XKS_PROXY_INVALID_CONFIGURATION" - | "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION" - | "XKS_PROXY_TIMED_OUT" - | "XKS_PROXY_INVALID_TLS_CONFIGURATION"; -export type ConnectionStateType = - | "CONNECTED" - | "CONNECTING" - | "FAILED" - | "DISCONNECTED" - | "DISCONNECTING"; +export interface ConnectCustomKeyStoreResponse { +} +export type ConnectionErrorCodeType = "INVALID_CREDENTIALS" | "CLUSTER_NOT_FOUND" | "NETWORK_ERRORS" | "INTERNAL_ERROR" | "INSUFFICIENT_CLOUDHSM_HSMS" | "USER_LOCKED_OUT" | "USER_NOT_FOUND" | "USER_LOGGED_IN" | "SUBNET_NOT_FOUND" | "INSUFFICIENT_FREE_ADDRESSES_IN_SUBNET" | "XKS_PROXY_ACCESS_DENIED" | "XKS_PROXY_NOT_REACHABLE" | "XKS_VPC_ENDPOINT_SERVICE_NOT_FOUND" | "XKS_PROXY_INVALID_RESPONSE" | "XKS_PROXY_INVALID_CONFIGURATION" | "XKS_VPC_ENDPOINT_SERVICE_INVALID_CONFIGURATION" | "XKS_PROXY_TIMED_OUT" | "XKS_PROXY_INVALID_TLS_CONFIGURATION"; +export type ConnectionStateType = "CONNECTED" | "CONNECTING" | "FAILED" | "DISCONNECTED" | "DISCONNECTING"; export interface CreateAliasRequest { AliasName: string; TargetKeyId: string; @@ -867,20 +452,7 @@ export interface CreateKeyRequest { export interface CreateKeyResponse { KeyMetadata?: KeyMetadata; } -export type CustomerMasterKeySpec = - | "RSA_2048" - | "RSA_3072" - | "RSA_4096" - | "ECC_NIST_P256" - | "ECC_NIST_P384" - | "ECC_NIST_P521" - | "ECC_SECG_P256K1" - | "SYMMETRIC_DEFAULT" - | "HMAC_224" - | "HMAC_256" - | "HMAC_384" - | "HMAC_512" - | "SM2"; +export type CustomerMasterKeySpec = "RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2"; export declare class CustomKeyStoreHasCMKsException extends EffectData.TaggedError( "CustomKeyStoreHasCMKsException", )<{ @@ -918,15 +490,7 @@ export interface CustomKeyStoresListEntry { XksProxyConfiguration?: XksProxyConfigurationType; } export type CustomKeyStoreType = "AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE"; -export type DataKeyPairSpec = - | "RSA_2048" - | "RSA_3072" - | "RSA_4096" - | "ECC_NIST_P256" - | "ECC_NIST_P384" - | "ECC_NIST_P521" - | "ECC_SECG_P256K1" - | "SM2"; +export type DataKeyPairSpec = "RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SM2"; export type DataKeySpec = "AES_256" | "AES_128"; export type DateType = Date | string; @@ -952,7 +516,8 @@ export interface DeleteAliasRequest { export interface DeleteCustomKeyStoreRequest { CustomKeyStoreId: string; } -export interface DeleteCustomKeyStoreResponse {} +export interface DeleteCustomKeyStoreResponse { +} export interface DeleteImportedKeyMaterialRequest { KeyId: string; KeyMaterialId?: string; @@ -1015,7 +580,8 @@ export interface DisableKeyRotationRequest { export interface DisconnectCustomKeyStoreRequest { CustomKeyStoreId: string; } -export interface DisconnectCustomKeyStoreResponse {} +export interface DisconnectCustomKeyStoreResponse { +} export declare class DryRunOperationException extends EffectData.TaggedError( "DryRunOperationException", )<{ @@ -1028,11 +594,7 @@ export interface EnableKeyRotationRequest { KeyId: string; RotationPeriodInDays?: number; } -export type EncryptionAlgorithmSpec = - | "SYMMETRIC_DEFAULT" - | "RSAES_OAEP_SHA_1" - | "RSAES_OAEP_SHA_256" - | "SM2PKE"; +export type EncryptionAlgorithmSpec = "SYMMETRIC_DEFAULT" | "RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE"; export type EncryptionAlgorithmSpecList = Array; export type EncryptionContextKey = string; @@ -1054,9 +616,7 @@ export interface EncryptResponse { } export type ErrorMessageType = string; -export type ExpirationModelType = - | "KEY_MATERIAL_EXPIRES" - | "KEY_MATERIAL_DOES_NOT_EXPIRE"; +export type ExpirationModelType = "KEY_MATERIAL_EXPIRES" | "KEY_MATERIAL_DOES_NOT_EXPIRE"; export declare class ExpiredImportTokenException extends EffectData.TaggedError( "ExpiredImportTokenException", )<{ @@ -1206,24 +766,7 @@ export interface GrantListEntry { } export type GrantNameType = string; -export type GrantOperation = - | "Decrypt" - | "Encrypt" - | "GenerateDataKey" - | "GenerateDataKeyWithoutPlaintext" - | "ReEncryptFrom" - | "ReEncryptTo" - | "Sign" - | "Verify" - | "GetPublicKey" - | "CreateGrant" - | "RetireGrant" - | "DescribeKey" - | "GenerateDataKeyPair" - | "GenerateDataKeyPairWithoutPlaintext" - | "GenerateMac" - | "VerifyMac" - | "DeriveSharedSecret"; +export type GrantOperation = "Decrypt" | "Encrypt" | "GenerateDataKey" | "GenerateDataKeyWithoutPlaintext" | "ReEncryptFrom" | "ReEncryptTo" | "Sign" | "Verify" | "GetPublicKey" | "CreateGrant" | "RetireGrant" | "DescribeKey" | "GenerateDataKeyPair" | "GenerateDataKeyPairWithoutPlaintext" | "GenerateMac" | "VerifyMac" | "DeriveSharedSecret"; export type GrantOperationList = Array; export type GrantTokenList = Array; export type GrantTokenType = string; @@ -1342,32 +885,8 @@ export interface KeyMetadata { XksKeyConfiguration?: XksKeyConfigurationType; CurrentKeyMaterialId?: string; } -export type KeySpec = - | "RSA_2048" - | "RSA_3072" - | "RSA_4096" - | "ECC_NIST_P256" - | "ECC_NIST_P384" - | "ECC_NIST_P521" - | "ECC_SECG_P256K1" - | "SYMMETRIC_DEFAULT" - | "HMAC_224" - | "HMAC_256" - | "HMAC_384" - | "HMAC_512" - | "SM2" - | "ML_DSA_44" - | "ML_DSA_65" - | "ML_DSA_87"; -export type KeyState = - | "Creating" - | "Enabled" - | "Disabled" - | "PendingDeletion" - | "PendingImport" - | "PendingReplicaDeletion" - | "Unavailable" - | "Updating"; +export type KeySpec = "RSA_2048" | "RSA_3072" | "RSA_4096" | "ECC_NIST_P256" | "ECC_NIST_P384" | "ECC_NIST_P521" | "ECC_SECG_P256K1" | "SYMMETRIC_DEFAULT" | "HMAC_224" | "HMAC_256" | "HMAC_384" | "HMAC_512" | "SM2" | "ML_DSA_44" | "ML_DSA_65" | "ML_DSA_87"; +export type KeyState = "Creating" | "Enabled" | "Disabled" | "PendingDeletion" | "PendingImport" | "PendingReplicaDeletion" | "Unavailable" | "Updating"; export type KeyStorePasswordType = string; export declare class KeyUnavailableException extends EffectData.TaggedError( @@ -1375,11 +894,7 @@ export declare class KeyUnavailableException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type KeyUsageType = - | "SIGN_VERIFY" - | "ENCRYPT_DECRYPT" - | "GENERATE_VERIFY_MAC" - | "KEY_AGREEMENT"; +export type KeyUsageType = "SIGN_VERIFY" | "ENCRYPT_DECRYPT" | "GENERATE_VERIFY_MAC" | "KEY_AGREEMENT"; export declare class KMSInternalException extends EffectData.TaggedError( "KMSInternalException", )<{ @@ -1474,11 +989,7 @@ export interface ListRetirableGrantsRequest { Marker?: string; RetiringPrincipal: string; } -export type MacAlgorithmSpec = - | "HMAC_SHA_224" - | "HMAC_SHA_256" - | "HMAC_SHA_384" - | "HMAC_SHA_512"; +export type MacAlgorithmSpec = "HMAC_SHA_224" | "HMAC_SHA_256" | "HMAC_SHA_384" | "HMAC_SHA_512"; export type MacAlgorithmSpecList = Array; export declare class MalformedPolicyDocumentException extends EffectData.TaggedError( "MalformedPolicyDocumentException", @@ -1508,11 +1019,7 @@ export type NullableBooleanType = boolean; export type NumberOfBytesType = number; -export type OriginType = - | "AWS_KMS" - | "EXTERNAL" - | "AWS_CLOUDHSM" - | "EXTERNAL_KEY_STORE"; +export type OriginType = "AWS_KMS" | "EXTERNAL" | "AWS_CLOUDHSM" | "EXTERNAL_KEY_STORE"; export type PendingWindowInDaysType = number; export type PlaintextType = Uint8Array | string; @@ -1613,18 +1120,7 @@ export interface ScheduleKeyDeletionResponse { KeyState?: KeyState; PendingWindowInDays?: number; } -export type SigningAlgorithmSpec = - | "RSASSA_PSS_SHA_256" - | "RSASSA_PSS_SHA_384" - | "RSASSA_PSS_SHA_512" - | "RSASSA_PKCS1_V1_5_SHA_256" - | "RSASSA_PKCS1_V1_5_SHA_384" - | "RSASSA_PKCS1_V1_5_SHA_512" - | "ECDSA_SHA_256" - | "ECDSA_SHA_384" - | "ECDSA_SHA_512" - | "SM2DSA" - | "ML_DSA_SHAKE_256"; +export type SigningAlgorithmSpec = "RSASSA_PSS_SHA_256" | "RSASSA_PSS_SHA_384" | "RSASSA_PSS_SHA_512" | "RSASSA_PKCS1_V1_5_SHA_256" | "RSASSA_PKCS1_V1_5_SHA_384" | "RSASSA_PKCS1_V1_5_SHA_512" | "ECDSA_SHA_256" | "ECDSA_SHA_384" | "ECDSA_SHA_512" | "SM2DSA" | "ML_DSA_SHAKE_256"; export type SigningAlgorithmSpecList = Array; export interface SignRequest { KeyId: string; @@ -1685,7 +1181,8 @@ export interface UpdateCustomKeyStoreRequest { XksProxyAuthenticationCredential?: XksProxyAuthenticationCredentialType; XksProxyConnectivity?: XksProxyConnectivityType; } -export interface UpdateCustomKeyStoreResponse {} +export interface UpdateCustomKeyStoreResponse { +} export interface UpdateKeyDescriptionRequest { KeyId: string; Description: string; @@ -1758,9 +1255,7 @@ export interface XksProxyConfigurationType { VpcEndpointServiceName?: string; VpcEndpointServiceOwner?: string; } -export type XksProxyConnectivityType = - | "PUBLIC_ENDPOINT" - | "VPC_ENDPOINT_SERVICE"; +export type XksProxyConnectivityType = "PUBLIC_ENDPOINT" | "VPC_ENDPOINT_SERVICE"; export declare class XksProxyIncorrectAuthenticationCredentialException extends EffectData.TaggedError( "XksProxyIncorrectAuthenticationCredentialException", )<{ @@ -2570,53 +2065,5 @@ export declare namespace VerifyMac { | CommonAwsError; } -export type KMSErrors = - | AlreadyExistsException - | CloudHsmClusterInUseException - | CloudHsmClusterInvalidConfigurationException - | CloudHsmClusterNotActiveException - | CloudHsmClusterNotFoundException - | CloudHsmClusterNotRelatedException - | ConflictException - | CustomKeyStoreHasCMKsException - | CustomKeyStoreInvalidStateException - | CustomKeyStoreNameInUseException - | CustomKeyStoreNotFoundException - | DependencyTimeoutException - | DisabledException - | DryRunOperationException - | ExpiredImportTokenException - | IncorrectKeyException - | IncorrectKeyMaterialException - | IncorrectTrustAnchorException - | InvalidAliasNameException - | InvalidArnException - | InvalidCiphertextException - | InvalidGrantIdException - | InvalidGrantTokenException - | InvalidImportTokenException - | InvalidKeyUsageException - | InvalidMarkerException - | KMSInternalException - | KMSInvalidMacException - | KMSInvalidSignatureException - | KMSInvalidStateException - | KeyUnavailableException - | LimitExceededException - | MalformedPolicyDocumentException - | NotFoundException - | TagException - | UnsupportedOperationException - | XksKeyAlreadyInUseException - | XksKeyInvalidConfigurationException - | XksKeyNotFoundException - | XksProxyIncorrectAuthenticationCredentialException - | XksProxyInvalidConfigurationException - | XksProxyInvalidResponseException - | XksProxyUriEndpointInUseException - | XksProxyUriInUseException - | XksProxyUriUnreachableException - | XksProxyVpcEndpointServiceInUseException - | XksProxyVpcEndpointServiceInvalidConfigurationException - | XksProxyVpcEndpointServiceNotFoundException - | CommonAwsError; +export type KMSErrors = AlreadyExistsException | CloudHsmClusterInUseException | CloudHsmClusterInvalidConfigurationException | CloudHsmClusterNotActiveException | CloudHsmClusterNotFoundException | CloudHsmClusterNotRelatedException | ConflictException | CustomKeyStoreHasCMKsException | CustomKeyStoreInvalidStateException | CustomKeyStoreNameInUseException | CustomKeyStoreNotFoundException | DependencyTimeoutException | DisabledException | DryRunOperationException | ExpiredImportTokenException | IncorrectKeyException | IncorrectKeyMaterialException | IncorrectTrustAnchorException | InvalidAliasNameException | InvalidArnException | InvalidCiphertextException | InvalidGrantIdException | InvalidGrantTokenException | InvalidImportTokenException | InvalidKeyUsageException | InvalidMarkerException | KMSInternalException | KMSInvalidMacException | KMSInvalidSignatureException | KMSInvalidStateException | KeyUnavailableException | LimitExceededException | MalformedPolicyDocumentException | NotFoundException | TagException | UnsupportedOperationException | XksKeyAlreadyInUseException | XksKeyInvalidConfigurationException | XksKeyNotFoundException | XksProxyIncorrectAuthenticationCredentialException | XksProxyInvalidConfigurationException | XksProxyInvalidResponseException | XksProxyUriEndpointInUseException | XksProxyUriInUseException | XksProxyUriUnreachableException | XksProxyVpcEndpointServiceInUseException | XksProxyVpcEndpointServiceInvalidConfigurationException | XksProxyVpcEndpointServiceNotFoundException | CommonAwsError; + diff --git a/src/services/lakeformation/index.ts b/src/services/lakeformation/index.ts index 1de382c7..376f46bf 100644 --- a/src/services/lakeformation/index.ts +++ b/src/services/lakeformation/index.ts @@ -5,25 +5,7 @@ import type { LakeFormation as _LakeFormationClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,76 +15,74 @@ const metadata = { sigV4ServiceName: "lakeformation", endpointPrefix: "lakeformation", operations: { - AddLFTagsToResource: "POST /AddLFTagsToResource", - AssumeDecoratedRoleWithSAML: "POST /AssumeDecoratedRoleWithSAML", - BatchGrantPermissions: "POST /BatchGrantPermissions", - BatchRevokePermissions: "POST /BatchRevokePermissions", - CancelTransaction: "POST /CancelTransaction", - CommitTransaction: "POST /CommitTransaction", - CreateDataCellsFilter: "POST /CreateDataCellsFilter", - CreateLakeFormationIdentityCenterConfiguration: - "POST /CreateLakeFormationIdentityCenterConfiguration", - CreateLakeFormationOptIn: "POST /CreateLakeFormationOptIn", - CreateLFTag: "POST /CreateLFTag", - CreateLFTagExpression: "POST /CreateLFTagExpression", - DeleteDataCellsFilter: "POST /DeleteDataCellsFilter", - DeleteLakeFormationIdentityCenterConfiguration: - "POST /DeleteLakeFormationIdentityCenterConfiguration", - DeleteLakeFormationOptIn: "POST /DeleteLakeFormationOptIn", - DeleteLFTag: "POST /DeleteLFTag", - DeleteLFTagExpression: "POST /DeleteLFTagExpression", - DeleteObjectsOnCancel: "POST /DeleteObjectsOnCancel", - DeregisterResource: "POST /DeregisterResource", - DescribeLakeFormationIdentityCenterConfiguration: - "POST /DescribeLakeFormationIdentityCenterConfiguration", - DescribeResource: "POST /DescribeResource", - DescribeTransaction: "POST /DescribeTransaction", - ExtendTransaction: "POST /ExtendTransaction", - GetDataCellsFilter: "POST /GetDataCellsFilter", - GetDataLakePrincipal: "POST /GetDataLakePrincipal", - GetDataLakeSettings: "POST /GetDataLakeSettings", - GetEffectivePermissionsForPath: "POST /GetEffectivePermissionsForPath", - GetLFTag: "POST /GetLFTag", - GetLFTagExpression: "POST /GetLFTagExpression", - GetQueryState: "POST /GetQueryState", - GetQueryStatistics: "POST /GetQueryStatistics", - GetResourceLFTags: "POST /GetResourceLFTags", - GetTableObjects: "POST /GetTableObjects", - GetTemporaryGluePartitionCredentials: - "POST /GetTemporaryGluePartitionCredentials", - GetTemporaryGlueTableCredentials: "POST /GetTemporaryGlueTableCredentials", - GetWorkUnitResults: { + "AddLFTagsToResource": "POST /AddLFTagsToResource", + "AssumeDecoratedRoleWithSAML": "POST /AssumeDecoratedRoleWithSAML", + "BatchGrantPermissions": "POST /BatchGrantPermissions", + "BatchRevokePermissions": "POST /BatchRevokePermissions", + "CancelTransaction": "POST /CancelTransaction", + "CommitTransaction": "POST /CommitTransaction", + "CreateDataCellsFilter": "POST /CreateDataCellsFilter", + "CreateLakeFormationIdentityCenterConfiguration": "POST /CreateLakeFormationIdentityCenterConfiguration", + "CreateLakeFormationOptIn": "POST /CreateLakeFormationOptIn", + "CreateLFTag": "POST /CreateLFTag", + "CreateLFTagExpression": "POST /CreateLFTagExpression", + "DeleteDataCellsFilter": "POST /DeleteDataCellsFilter", + "DeleteLakeFormationIdentityCenterConfiguration": "POST /DeleteLakeFormationIdentityCenterConfiguration", + "DeleteLakeFormationOptIn": "POST /DeleteLakeFormationOptIn", + "DeleteLFTag": "POST /DeleteLFTag", + "DeleteLFTagExpression": "POST /DeleteLFTagExpression", + "DeleteObjectsOnCancel": "POST /DeleteObjectsOnCancel", + "DeregisterResource": "POST /DeregisterResource", + "DescribeLakeFormationIdentityCenterConfiguration": "POST /DescribeLakeFormationIdentityCenterConfiguration", + "DescribeResource": "POST /DescribeResource", + "DescribeTransaction": "POST /DescribeTransaction", + "ExtendTransaction": "POST /ExtendTransaction", + "GetDataCellsFilter": "POST /GetDataCellsFilter", + "GetDataLakePrincipal": "POST /GetDataLakePrincipal", + "GetDataLakeSettings": "POST /GetDataLakeSettings", + "GetEffectivePermissionsForPath": "POST /GetEffectivePermissionsForPath", + "GetLFTag": "POST /GetLFTag", + "GetLFTagExpression": "POST /GetLFTagExpression", + "GetQueryState": "POST /GetQueryState", + "GetQueryStatistics": "POST /GetQueryStatistics", + "GetResourceLFTags": "POST /GetResourceLFTags", + "GetTableObjects": "POST /GetTableObjects", + "GetTemporaryGluePartitionCredentials": "POST /GetTemporaryGluePartitionCredentials", + "GetTemporaryGlueTableCredentials": "POST /GetTemporaryGlueTableCredentials", + "GetWorkUnitResults": { http: "POST /GetWorkUnitResults", traits: { - ResultStream: "httpPayload", + "ResultStream": "httpPayload", }, }, - GetWorkUnits: "POST /GetWorkUnits", - GrantPermissions: "POST /GrantPermissions", - ListDataCellsFilter: "POST /ListDataCellsFilter", - ListLakeFormationOptIns: "POST /ListLakeFormationOptIns", - ListLFTagExpressions: "POST /ListLFTagExpressions", - ListLFTags: "POST /ListLFTags", - ListPermissions: "POST /ListPermissions", - ListResources: "POST /ListResources", - ListTableStorageOptimizers: "POST /ListTableStorageOptimizers", - ListTransactions: "POST /ListTransactions", - PutDataLakeSettings: "POST /PutDataLakeSettings", - RegisterResource: "POST /RegisterResource", - RemoveLFTagsFromResource: "POST /RemoveLFTagsFromResource", - RevokePermissions: "POST /RevokePermissions", - SearchDatabasesByLFTags: "POST /SearchDatabasesByLFTags", - SearchTablesByLFTags: "POST /SearchTablesByLFTags", - StartQueryPlanning: "POST /StartQueryPlanning", - StartTransaction: "POST /StartTransaction", - UpdateDataCellsFilter: "POST /UpdateDataCellsFilter", - UpdateLakeFormationIdentityCenterConfiguration: - "POST /UpdateLakeFormationIdentityCenterConfiguration", - UpdateLFTag: "POST /UpdateLFTag", - UpdateLFTagExpression: "POST /UpdateLFTagExpression", - UpdateResource: "POST /UpdateResource", - UpdateTableObjects: "POST /UpdateTableObjects", - UpdateTableStorageOptimizer: "POST /UpdateTableStorageOptimizer", + "GetWorkUnits": "POST /GetWorkUnits", + "GrantPermissions": "POST /GrantPermissions", + "ListDataCellsFilter": "POST /ListDataCellsFilter", + "ListLakeFormationOptIns": "POST /ListLakeFormationOptIns", + "ListLFTagExpressions": "POST /ListLFTagExpressions", + "ListLFTags": "POST /ListLFTags", + "ListPermissions": "POST /ListPermissions", + "ListResources": "POST /ListResources", + "ListTableStorageOptimizers": "POST /ListTableStorageOptimizers", + "ListTransactions": "POST /ListTransactions", + "PutDataLakeSettings": "POST /PutDataLakeSettings", + "RegisterResource": "POST /RegisterResource", + "RemoveLFTagsFromResource": "POST /RemoveLFTagsFromResource", + "RevokePermissions": "POST /RevokePermissions", + "SearchDatabasesByLFTags": "POST /SearchDatabasesByLFTags", + "SearchTablesByLFTags": "POST /SearchTablesByLFTags", + "StartQueryPlanning": "POST /StartQueryPlanning", + "StartTransaction": "POST /StartTransaction", + "UpdateDataCellsFilter": "POST /UpdateDataCellsFilter", + "UpdateLakeFormationIdentityCenterConfiguration": "POST /UpdateLakeFormationIdentityCenterConfiguration", + "UpdateLFTag": "POST /UpdateLFTag", + "UpdateLFTagExpression": "POST /UpdateLFTagExpression", + "UpdateResource": "POST /UpdateResource", + "UpdateTableObjects": "POST /UpdateTableObjects", + "UpdateTableStorageOptimizer": "POST /UpdateTableStorageOptimizer", + }, + retryableErrors: { + "ThrottledException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/lakeformation/types.ts b/src/services/lakeformation/types.ts index 59f1c788..4a937eda 100644 --- a/src/services/lakeformation/types.ts +++ b/src/services/lakeformation/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class LakeFormation extends AWSServiceClient { @@ -42,24 +8,13 @@ export declare class LakeFormation extends AWSServiceClient { input: AddLFTagsToResourceRequest, ): Effect.Effect< AddLFTagsToResourceResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; assumeDecoratedRoleWithSAML( input: AssumeDecoratedRoleWithSAMLRequest, ): Effect.Effect< AssumeDecoratedRoleWithSAMLResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; batchGrantPermissions( input: BatchGrantPermissionsRequest, @@ -77,454 +32,247 @@ export declare class LakeFormation extends AWSServiceClient { input: CancelTransactionRequest, ): Effect.Effect< CancelTransactionResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | TransactionCommitInProgressException - | TransactionCommittedException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | TransactionCommitInProgressException | TransactionCommittedException | CommonAwsError >; commitTransaction( input: CommitTransactionRequest, ): Effect.Effect< CommitTransactionResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | TransactionCanceledException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | TransactionCanceledException | CommonAwsError >; createDataCellsFilter( input: CreateDataCellsFilterRequest, ): Effect.Effect< CreateDataCellsFilterResponse, - | AccessDeniedException - | AlreadyExistsException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createLakeFormationIdentityCenterConfiguration( input: CreateLakeFormationIdentityCenterConfigurationRequest, ): Effect.Effect< CreateLakeFormationIdentityCenterConfigurationResponse, - | AccessDeniedException - | AlreadyExistsException - | ConcurrentModificationException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | ConcurrentModificationException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; createLakeFormationOptIn( input: CreateLakeFormationOptInRequest, ): Effect.Effect< CreateLakeFormationOptInResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createLFTag( input: CreateLFTagRequest, ): Effect.Effect< CreateLFTagResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; createLFTagExpression( input: CreateLFTagExpressionRequest, ): Effect.Effect< CreateLFTagExpressionResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; deleteDataCellsFilter( input: DeleteDataCellsFilterRequest, ): Effect.Effect< DeleteDataCellsFilterResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteLakeFormationIdentityCenterConfiguration( input: DeleteLakeFormationIdentityCenterConfigurationRequest, ): Effect.Effect< DeleteLakeFormationIdentityCenterConfigurationResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteLakeFormationOptIn( input: DeleteLakeFormationOptInRequest, ): Effect.Effect< DeleteLakeFormationOptInResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteLFTag( input: DeleteLFTagRequest, ): Effect.Effect< DeleteLFTagResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteLFTagExpression( input: DeleteLFTagExpressionRequest, ): Effect.Effect< DeleteLFTagExpressionResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; deleteObjectsOnCancel( input: DeleteObjectsOnCancelRequest, ): Effect.Effect< DeleteObjectsOnCancelResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNotReadyException - | TransactionCanceledException - | TransactionCommittedException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNotReadyException | TransactionCanceledException | TransactionCommittedException | CommonAwsError >; deregisterResource( input: DeregisterResourceRequest, ): Effect.Effect< DeregisterResourceResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; describeLakeFormationIdentityCenterConfiguration( input: DescribeLakeFormationIdentityCenterConfigurationRequest, ): Effect.Effect< DescribeLakeFormationIdentityCenterConfigurationResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; describeResource( input: DescribeResourceRequest, ): Effect.Effect< DescribeResourceResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; describeTransaction( input: DescribeTransactionRequest, ): Effect.Effect< DescribeTransactionResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; extendTransaction( input: ExtendTransactionRequest, ): Effect.Effect< ExtendTransactionResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | TransactionCanceledException - | TransactionCommitInProgressException - | TransactionCommittedException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | TransactionCanceledException | TransactionCommitInProgressException | TransactionCommittedException | CommonAwsError >; getDataCellsFilter( input: GetDataCellsFilterRequest, ): Effect.Effect< GetDataCellsFilterResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getDataLakePrincipal( input: GetDataLakePrincipalRequest, ): Effect.Effect< GetDataLakePrincipalResponse, - | AccessDeniedException - | InternalServiceException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | InternalServiceException | OperationTimeoutException | CommonAwsError >; getDataLakeSettings( input: GetDataLakeSettingsRequest, ): Effect.Effect< GetDataLakeSettingsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; getEffectivePermissionsForPath( input: GetEffectivePermissionsForPathRequest, ): Effect.Effect< GetEffectivePermissionsForPathResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getLFTag( input: GetLFTagRequest, ): Effect.Effect< GetLFTagResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getLFTagExpression( input: GetLFTagExpressionRequest, ): Effect.Effect< GetLFTagExpressionResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getQueryState( input: GetQueryStateRequest, ): Effect.Effect< GetQueryStateResponse, - | AccessDeniedException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidInputException | CommonAwsError >; getQueryStatistics( input: GetQueryStatisticsRequest, ): Effect.Effect< GetQueryStatisticsResponse, - | AccessDeniedException - | ExpiredException - | InternalServiceException - | InvalidInputException - | StatisticsNotReadyYetException - | ThrottledException - | CommonAwsError + AccessDeniedException | ExpiredException | InternalServiceException | InvalidInputException | StatisticsNotReadyYetException | ThrottledException | CommonAwsError >; getResourceLFTags( input: GetResourceLFTagsRequest, ): Effect.Effect< GetResourceLFTagsResponse, - | AccessDeniedException - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; getTableObjects( input: GetTableObjectsRequest, ): Effect.Effect< GetTableObjectsResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNotReadyException - | TransactionCanceledException - | TransactionCommittedException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNotReadyException | TransactionCanceledException | TransactionCommittedException | CommonAwsError >; getTemporaryGluePartitionCredentials( input: GetTemporaryGluePartitionCredentialsRequest, ): Effect.Effect< GetTemporaryGluePartitionCredentialsResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | PermissionTypeMismatchException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | PermissionTypeMismatchException | CommonAwsError >; getTemporaryGlueTableCredentials( input: GetTemporaryGlueTableCredentialsRequest, ): Effect.Effect< GetTemporaryGlueTableCredentialsResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | PermissionTypeMismatchException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | PermissionTypeMismatchException | CommonAwsError >; getWorkUnitResults( input: GetWorkUnitResultsRequest, ): Effect.Effect< GetWorkUnitResultsResponse, - | AccessDeniedException - | ExpiredException - | InternalServiceException - | InvalidInputException - | ThrottledException - | CommonAwsError + AccessDeniedException | ExpiredException | InternalServiceException | InvalidInputException | ThrottledException | CommonAwsError >; getWorkUnits( input: GetWorkUnitsRequest, ): Effect.Effect< GetWorkUnitsResponse, - | AccessDeniedException - | ExpiredException - | InternalServiceException - | InvalidInputException - | WorkUnitsNotReadyYetException - | CommonAwsError + AccessDeniedException | ExpiredException | InternalServiceException | InvalidInputException | WorkUnitsNotReadyYetException | CommonAwsError >; grantPermissions( input: GrantPermissionsRequest, ): Effect.Effect< GrantPermissionsResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InvalidInputException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InvalidInputException | CommonAwsError >; listDataCellsFilter( input: ListDataCellsFilterRequest, ): Effect.Effect< ListDataCellsFilterResponse, - | AccessDeniedException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listLakeFormationOptIns( input: ListLakeFormationOptInsRequest, ): Effect.Effect< ListLakeFormationOptInsResponse, - | AccessDeniedException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listLFTagExpressions( input: ListLFTagExpressionsRequest, ): Effect.Effect< ListLFTagExpressionsResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listLFTags( input: ListLFTagsRequest, ): Effect.Effect< ListLFTagsResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listPermissions( input: ListPermissionsRequest, ): Effect.Effect< ListPermissionsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listResources( input: ListResourcesRequest, ): Effect.Effect< ListResourcesResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; listTableStorageOptimizers( input: ListTableStorageOptimizersRequest, ): Effect.Effect< ListTableStorageOptimizersResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; listTransactions( input: ListTransactionsRequest, ): Effect.Effect< ListTransactionsResponse, - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; putDataLakeSettings( input: PutDataLakeSettingsRequest, @@ -536,70 +284,37 @@ export declare class LakeFormation extends AWSServiceClient { input: RegisterResourceRequest, ): Effect.Effect< RegisterResourceResponse, - | AccessDeniedException - | AlreadyExistsException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | AlreadyExistsException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; removeLFTagsFromResource( input: RemoveLFTagsFromResourceRequest, ): Effect.Effect< RemoveLFTagsFromResourceResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; revokePermissions( input: RevokePermissionsRequest, ): Effect.Effect< RevokePermissionsResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InvalidInputException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InvalidInputException | CommonAwsError >; searchDatabasesByLFTags( input: SearchDatabasesByLFTagsRequest, ): Effect.Effect< SearchDatabasesByLFTagsResponse, - | AccessDeniedException - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; searchTablesByLFTags( input: SearchTablesByLFTagsRequest, ): Effect.Effect< SearchTablesByLFTagsResponse, - | AccessDeniedException - | EntityNotFoundException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; startQueryPlanning( input: StartQueryPlanningRequest, ): Effect.Effect< StartQueryPlanningResponse, - | AccessDeniedException - | InternalServiceException - | InvalidInputException - | ThrottledException - | CommonAwsError + AccessDeniedException | InternalServiceException | InvalidInputException | ThrottledException | CommonAwsError >; startTransaction( input: StartTransactionRequest, @@ -611,84 +326,43 @@ export declare class LakeFormation extends AWSServiceClient { input: UpdateDataCellsFilterRequest, ): Effect.Effect< UpdateDataCellsFilterResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateLakeFormationIdentityCenterConfiguration( input: UpdateLakeFormationIdentityCenterConfigurationRequest, ): Effect.Effect< UpdateLakeFormationIdentityCenterConfigurationResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateLFTag( input: UpdateLFTagRequest, ): Effect.Effect< UpdateLFTagResponse, - | AccessDeniedException - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateLFTagExpression( input: UpdateLFTagExpressionRequest, ): Effect.Effect< UpdateLFTagExpressionResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNumberLimitExceededException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNumberLimitExceededException | CommonAwsError >; updateResource( input: UpdateResourceRequest, ): Effect.Effect< UpdateResourceResponse, - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | CommonAwsError + EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | CommonAwsError >; updateTableObjects( input: UpdateTableObjectsRequest, ): Effect.Effect< UpdateTableObjectsResponse, - | ConcurrentModificationException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | ResourceNotReadyException - | TransactionCanceledException - | TransactionCommitInProgressException - | TransactionCommittedException - | CommonAwsError + ConcurrentModificationException | EntityNotFoundException | InternalServiceException | InvalidInputException | OperationTimeoutException | ResourceNotReadyException | TransactionCanceledException | TransactionCommitInProgressException | TransactionCommittedException | CommonAwsError >; updateTableStorageOptimizer( input: UpdateTableStorageOptimizerRequest, ): Effect.Effect< UpdateTableStorageOptimizerResponse, - | AccessDeniedException - | EntityNotFoundException - | InternalServiceException - | InvalidInputException - | CommonAwsError + AccessDeniedException | EntityNotFoundException | InternalServiceException | InvalidInputException | CommonAwsError >; } @@ -716,7 +390,8 @@ export interface AddObjectInput { Size: number; PartitionValues?: Array; } -export interface AllRowsWildcard {} +export interface AllRowsWildcard { +} export declare class AlreadyExistsException extends EffectData.TaggedError( "AlreadyExistsException", )<{ @@ -763,8 +438,7 @@ export interface BatchPermissionsRequestEntry { Condition?: Condition; PermissionsWithGrantOption?: Array; } -export type BatchPermissionsRequestEntryList = - Array; +export type BatchPermissionsRequestEntryList = Array; export interface BatchRevokePermissionsRequest { CatalogId?: string; Entries: Array; @@ -779,7 +453,8 @@ export type BooleanNullable = boolean; export interface CancelTransactionRequest { TransactionId: string; } -export interface CancelTransactionResponse {} +export interface CancelTransactionResponse { +} export type CatalogIdString = string; export interface CatalogResource { @@ -800,18 +475,7 @@ export interface CommitTransactionRequest { export interface CommitTransactionResponse { TransactionStatus?: TransactionStatus; } -export type ComparisonOperator = - | "EQ" - | "NE" - | "LE" - | "LT" - | "GE" - | "GT" - | "CONTAINS" - | "NOT_CONTAINS" - | "BEGINS_WITH" - | "IN" - | "BETWEEN"; +export type ComparisonOperator = "EQ" | "NE" | "LE" | "LT" | "GE" | "GT" | "CONTAINS" | "NOT_CONTAINS" | "BEGINS_WITH" | "IN" | "BETWEEN"; export declare class ConcurrentModificationException extends EffectData.TaggedError( "ConcurrentModificationException", )<{ @@ -827,7 +491,8 @@ export type ContextValue = string; export interface CreateDataCellsFilterRequest { TableData: DataCellsFilter; } -export interface CreateDataCellsFilterResponse {} +export interface CreateDataCellsFilterResponse { +} export interface CreateLakeFormationIdentityCenterConfigurationRequest { CatalogId?: string; InstanceArn?: string; @@ -842,20 +507,23 @@ export interface CreateLakeFormationOptInRequest { Resource: Resource; Condition?: Condition; } -export interface CreateLakeFormationOptInResponse {} +export interface CreateLakeFormationOptInResponse { +} export interface CreateLFTagExpressionRequest { Name: string; Description?: string; CatalogId?: string; Expression: Array; } -export interface CreateLFTagExpressionResponse {} +export interface CreateLFTagExpressionResponse { +} export interface CreateLFTagRequest { CatalogId?: string; TagKey: string; TagValues: Array; } -export interface CreateLFTagResponse {} +export interface CreateLFTagResponse { +} export type CredentialTimeoutDurationSecondInteger = number; export type DatabaseLFTagsList = Array; @@ -886,16 +554,7 @@ export interface DataLakePrincipal { export type DataLakePrincipalList = Array; export type DataLakePrincipalString = string; -export type DataLakeResourceType = - | "CATALOG" - | "DATABASE" - | "TABLE" - | "DATA_LOCATION" - | "LF_TAG" - | "LF_TAG_POLICY" - | "LF_TAG_POLICY_DATABASE" - | "LF_TAG_POLICY_TABLE" - | "LF_NAMED_TAG_EXPRESSION"; +export type DataLakeResourceType = "CATALOG" | "DATABASE" | "TABLE" | "DATA_LOCATION" | "LF_TAG" | "LF_TAG_POLICY" | "LF_TAG_POLICY_DATABASE" | "LF_TAG_POLICY_TABLE" | "LF_NAMED_TAG_EXPRESSION"; export interface DataLakeSettings { DataLakeAdmins?: Array; ReadOnlyAdmins?: Array; @@ -920,27 +579,32 @@ export interface DeleteDataCellsFilterRequest { TableName?: string; Name?: string; } -export interface DeleteDataCellsFilterResponse {} +export interface DeleteDataCellsFilterResponse { +} export interface DeleteLakeFormationIdentityCenterConfigurationRequest { CatalogId?: string; } -export interface DeleteLakeFormationIdentityCenterConfigurationResponse {} +export interface DeleteLakeFormationIdentityCenterConfigurationResponse { +} export interface DeleteLakeFormationOptInRequest { Principal: DataLakePrincipal; Resource: Resource; Condition?: Condition; } -export interface DeleteLakeFormationOptInResponse {} +export interface DeleteLakeFormationOptInResponse { +} export interface DeleteLFTagExpressionRequest { Name: string; CatalogId?: string; } -export interface DeleteLFTagExpressionResponse {} +export interface DeleteLFTagExpressionResponse { +} export interface DeleteLFTagRequest { CatalogId?: string; TagKey: string; } -export interface DeleteLFTagResponse {} +export interface DeleteLFTagResponse { +} export interface DeleteObjectInput { Uri: string; ETag?: string; @@ -953,11 +617,13 @@ export interface DeleteObjectsOnCancelRequest { TransactionId: string; Objects: Array; } -export interface DeleteObjectsOnCancelResponse {} +export interface DeleteObjectsOnCancelResponse { +} export interface DeregisterResourceRequest { ResourceArn: string; } -export interface DeregisterResourceResponse {} +export interface DeregisterResourceResponse { +} export interface DescribeLakeFormationIdentityCenterConfigurationRequest { CatalogId?: string; } @@ -1018,7 +684,8 @@ export type ExpressionString = string; export interface ExtendTransactionRequest { TransactionId?: string; } -export interface ExtendTransactionResponse {} +export interface ExtendTransactionResponse { +} export interface ExternalFilteringConfiguration { Status: EnableStatus; AuthorizedTargets: Array; @@ -1039,7 +706,8 @@ export interface GetDataCellsFilterRequest { export interface GetDataCellsFilterResponse { DataCellsFilter?: DataCellsFilter; } -export interface GetDataLakePrincipalRequest {} +export interface GetDataLakePrincipalRequest { +} export interface GetDataLakePrincipalResponse { Identity?: string; } @@ -1188,7 +856,8 @@ export interface GrantPermissionsRequest { Condition?: Condition; PermissionsWithGrantOption?: Array; } -export interface GrantPermissionsResponse {} +export interface GrantPermissionsResponse { +} export type HashString = string; export type IAMRoleArn = string; @@ -1387,29 +1056,9 @@ export type PartitionValueString = string; export type PathString = string; export type PathStringList = Array; -export type Permission = - | "ALL" - | "SELECT" - | "ALTER" - | "DROP" - | "DELETE" - | "INSERT" - | "DESCRIBE" - | "CREATE_DATABASE" - | "CREATE_TABLE" - | "DATA_LOCATION_ACCESS" - | "CREATE_LF_TAG" - | "ASSOCIATE" - | "GRANT_WITH_LF_TAG_EXPRESSION" - | "CREATE_LF_TAG_EXPRESSION" - | "CREATE_CATALOG" - | "SUPER_USER"; +export type Permission = "ALL" | "SELECT" | "ALTER" | "DROP" | "DELETE" | "INSERT" | "DESCRIBE" | "CREATE_DATABASE" | "CREATE_TABLE" | "DATA_LOCATION_ACCESS" | "CREATE_LF_TAG" | "ASSOCIATE" | "GRANT_WITH_LF_TAG_EXPRESSION" | "CREATE_LF_TAG_EXPRESSION" | "CREATE_CATALOG" | "SUPER_USER"; export type PermissionList = Array; -export type PermissionType = - | "COLUMN_PERMISSION" - | "CELL_FILTER_PERMISSION" - | "NESTED_PERMISSION" - | "NESTED_CELL_PERMISSION"; +export type PermissionType = "COLUMN_PERMISSION" | "CELL_FILTER_PERMISSION" | "NESTED_PERMISSION" | "NESTED_CELL_PERMISSION"; export type PermissionTypeList = Array; export declare class PermissionTypeMismatchException extends EffectData.TaggedError( "PermissionTypeMismatchException", @@ -1439,13 +1088,13 @@ export interface PrincipalResourcePermissions { LastUpdated?: Date | string; LastUpdatedBy?: string; } -export type PrincipalResourcePermissionsList = - Array; +export type PrincipalResourcePermissionsList = Array; export interface PutDataLakeSettingsRequest { CatalogId?: string; DataLakeSettings: DataLakeSettings; } -export interface PutDataLakeSettingsResponse {} +export interface PutDataLakeSettingsResponse { +} export type QueryIdString = string; export type QueryParameterMap = Record; @@ -1465,12 +1114,7 @@ export interface QuerySessionContext { QueryAuthorizationId?: string; AdditionalContext?: Record; } -export type QueryStateString = - | "PENDING" - | "WORKUNITS_AVAILABLE" - | "ERROR" - | "FINISHED" - | "EXPIRED"; +export type QueryStateString = "PENDING" | "WORKUNITS_AVAILABLE" | "ERROR" | "FINISHED" | "EXPIRED"; export type RAMResourceShareArn = string; export interface RegisterResourceRequest { @@ -1481,7 +1125,8 @@ export interface RegisterResourceRequest { HybridAccessEnabled?: boolean; WithPrivilegedAccess?: boolean; } -export interface RegisterResourceResponse {} +export interface RegisterResourceResponse { +} export interface RemoveLFTagsFromResourceRequest { CatalogId?: string; Resource: Resource; @@ -1537,7 +1182,8 @@ export interface RevokePermissionsRequest { Condition?: Condition; PermissionsWithGrantOption?: Array; } -export interface RevokePermissionsResponse {} +export interface RevokePermissionsResponse { +} export interface RowFilter { FilterExpression?: string; AllRowsWildcard?: AllRowsWildcard; @@ -1601,10 +1247,7 @@ export interface StorageOptimizer { export type StorageOptimizerConfig = Record; export type StorageOptimizerConfigKey = string; -export type StorageOptimizerConfigMap = Record< - OptimizerType, - Record ->; +export type StorageOptimizerConfigMap = Record>; export type StorageOptimizerConfigValue = string; export type StorageOptimizerList = Array; @@ -1628,7 +1271,8 @@ export interface TableResource { Name?: string; TableWildcard?: TableWildcard; } -export interface TableWildcard {} +export interface TableWildcard { +} export interface TableWithColumnsResource { CatalogId?: string; DatabaseName: string; @@ -1682,17 +1326,8 @@ export interface TransactionDescription { export type TransactionDescriptionList = Array; export type TransactionIdString = string; -export type TransactionStatus = - | "ACTIVE" - | "COMMITTED" - | "ABORTED" - | "COMMIT_IN_PROGRESS"; -export type TransactionStatusFilter = - | "ALL" - | "COMPLETED" - | "ACTIVE" - | "COMMITTED" - | "ABORTED"; +export type TransactionStatus = "ACTIVE" | "COMMITTED" | "ABORTED" | "COMMIT_IN_PROGRESS"; +export type TransactionStatusFilter = "ALL" | "COMPLETED" | "ACTIVE" | "COMMITTED" | "ABORTED"; export type TransactionType = "READ_AND_WRITE" | "READ_ONLY"; export type TrueFalseString = string; @@ -1700,35 +1335,40 @@ export type TrustedResourceOwners = Array; export interface UpdateDataCellsFilterRequest { TableData: DataCellsFilter; } -export interface UpdateDataCellsFilterResponse {} +export interface UpdateDataCellsFilterResponse { +} export interface UpdateLakeFormationIdentityCenterConfigurationRequest { CatalogId?: string; ShareRecipients?: Array; ApplicationStatus?: ApplicationStatus; ExternalFiltering?: ExternalFilteringConfiguration; } -export interface UpdateLakeFormationIdentityCenterConfigurationResponse {} +export interface UpdateLakeFormationIdentityCenterConfigurationResponse { +} export interface UpdateLFTagExpressionRequest { Name: string; Description?: string; CatalogId?: string; Expression: Array; } -export interface UpdateLFTagExpressionResponse {} +export interface UpdateLFTagExpressionResponse { +} export interface UpdateLFTagRequest { CatalogId?: string; TagKey: string; TagValuesToDelete?: Array; TagValuesToAdd?: Array; } -export interface UpdateLFTagResponse {} +export interface UpdateLFTagResponse { +} export interface UpdateResourceRequest { RoleArn: string; ResourceArn: string; WithFederation?: boolean; HybridAccessEnabled?: boolean; } -export interface UpdateResourceResponse {} +export interface UpdateResourceResponse { +} export interface UpdateTableObjectsRequest { CatalogId?: string; DatabaseName: string; @@ -1736,7 +1376,8 @@ export interface UpdateTableObjectsRequest { TransactionId?: string; WriteOperations: Array; } -export interface UpdateTableObjectsResponse {} +export interface UpdateTableObjectsResponse { +} export interface UpdateTableStorageOptimizerRequest { CatalogId?: string; DatabaseName: string; @@ -2498,23 +2139,5 @@ export declare namespace UpdateTableStorageOptimizer { | CommonAwsError; } -export type LakeFormationErrors = - | AccessDeniedException - | AlreadyExistsException - | ConcurrentModificationException - | EntityNotFoundException - | ExpiredException - | GlueEncryptionException - | InternalServiceException - | InvalidInputException - | OperationTimeoutException - | PermissionTypeMismatchException - | ResourceNotReadyException - | ResourceNumberLimitExceededException - | StatisticsNotReadyYetException - | ThrottledException - | TransactionCanceledException - | TransactionCommitInProgressException - | TransactionCommittedException - | WorkUnitsNotReadyYetException - | CommonAwsError; +export type LakeFormationErrors = AccessDeniedException | AlreadyExistsException | ConcurrentModificationException | EntityNotFoundException | ExpiredException | GlueEncryptionException | InternalServiceException | InvalidInputException | OperationTimeoutException | PermissionTypeMismatchException | ResourceNotReadyException | ResourceNumberLimitExceededException | StatisticsNotReadyYetException | ThrottledException | TransactionCanceledException | TransactionCommitInProgressException | TransactionCommittedException | WorkUnitsNotReadyYetException | CommonAwsError; + diff --git a/src/services/lambda/index.ts b/src/services/lambda/index.ts index d95ed0ca..fc7c7250 100644 --- a/src/services/lambda/index.ts +++ b/src/services/lambda/index.ts @@ -5,26 +5,7 @@ import type { Lambda as _LambdaClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,127 +15,96 @@ const metadata = { sigV4ServiceName: "lambda", endpointPrefix: "lambda", operations: { - GetAccountSettings: "GET /2016-08-19/account-settings", - ListTags: "GET /2017-03-31/tags/{Resource}", - TagResource: "POST /2017-03-31/tags/{Resource}", - UntagResource: "DELETE /2017-03-31/tags/{Resource}", - AddLayerVersionPermission: - "POST /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", - AddPermission: "POST /2015-03-31/functions/{FunctionName}/policy", - CreateAlias: "POST /2015-03-31/functions/{FunctionName}/aliases", - CreateCodeSigningConfig: "POST /2020-04-22/code-signing-configs", - CreateEventSourceMapping: "POST /2015-03-31/event-source-mappings", - CreateFunction: "POST /2015-03-31/functions", - CreateFunctionUrlConfig: "POST /2021-10-31/functions/{FunctionName}/url", - DeleteAlias: "DELETE /2015-03-31/functions/{FunctionName}/aliases/{Name}", - DeleteCodeSigningConfig: - "DELETE /2020-04-22/code-signing-configs/{CodeSigningConfigArn}", - DeleteEventSourceMapping: "DELETE /2015-03-31/event-source-mappings/{UUID}", - DeleteFunction: "DELETE /2015-03-31/functions/{FunctionName}", - DeleteFunctionCodeSigningConfig: - "DELETE /2020-06-30/functions/{FunctionName}/code-signing-config", - DeleteFunctionConcurrency: - "DELETE /2017-10-31/functions/{FunctionName}/concurrency", - DeleteFunctionEventInvokeConfig: - "DELETE /2019-09-25/functions/{FunctionName}/event-invoke-config", - DeleteFunctionUrlConfig: "DELETE /2021-10-31/functions/{FunctionName}/url", - DeleteLayerVersion: - "DELETE /2018-10-31/layers/{LayerName}/versions/{VersionNumber}", - DeleteProvisionedConcurrencyConfig: - "DELETE /2019-09-30/functions/{FunctionName}/provisioned-concurrency", - GetAlias: "GET /2015-03-31/functions/{FunctionName}/aliases/{Name}", - GetCodeSigningConfig: - "GET /2020-04-22/code-signing-configs/{CodeSigningConfigArn}", - GetEventSourceMapping: "GET /2015-03-31/event-source-mappings/{UUID}", - GetFunction: "GET /2015-03-31/functions/{FunctionName}", - GetFunctionCodeSigningConfig: - "GET /2020-06-30/functions/{FunctionName}/code-signing-config", - GetFunctionConcurrency: - "GET /2019-09-30/functions/{FunctionName}/concurrency", - GetFunctionConfiguration: - "GET /2015-03-31/functions/{FunctionName}/configuration", - GetFunctionEventInvokeConfig: - "GET /2019-09-25/functions/{FunctionName}/event-invoke-config", - GetFunctionRecursionConfig: - "GET /2024-08-31/functions/{FunctionName}/recursion-config", - GetFunctionUrlConfig: "GET /2021-10-31/functions/{FunctionName}/url", - GetLayerVersion: - "GET /2018-10-31/layers/{LayerName}/versions/{VersionNumber}", - GetLayerVersionByArn: "GET /2018-10-31/layers?find=LayerVersion", - GetLayerVersionPolicy: - "GET /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", - GetPolicy: "GET /2015-03-31/functions/{FunctionName}/policy", - GetProvisionedConcurrencyConfig: - "GET /2019-09-30/functions/{FunctionName}/provisioned-concurrency", - GetRuntimeManagementConfig: - "GET /2021-07-20/functions/{FunctionName}/runtime-management-config", - Invoke: { + "GetAccountSettings": "GET /2016-08-19/account-settings", + "ListTags": "GET /2017-03-31/tags/{Resource}", + "TagResource": "POST /2017-03-31/tags/{Resource}", + "UntagResource": "DELETE /2017-03-31/tags/{Resource}", + "AddLayerVersionPermission": "POST /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", + "AddPermission": "POST /2015-03-31/functions/{FunctionName}/policy", + "CreateAlias": "POST /2015-03-31/functions/{FunctionName}/aliases", + "CreateCodeSigningConfig": "POST /2020-04-22/code-signing-configs", + "CreateEventSourceMapping": "POST /2015-03-31/event-source-mappings", + "CreateFunction": "POST /2015-03-31/functions", + "CreateFunctionUrlConfig": "POST /2021-10-31/functions/{FunctionName}/url", + "DeleteAlias": "DELETE /2015-03-31/functions/{FunctionName}/aliases/{Name}", + "DeleteCodeSigningConfig": "DELETE /2020-04-22/code-signing-configs/{CodeSigningConfigArn}", + "DeleteEventSourceMapping": "DELETE /2015-03-31/event-source-mappings/{UUID}", + "DeleteFunction": "DELETE /2015-03-31/functions/{FunctionName}", + "DeleteFunctionCodeSigningConfig": "DELETE /2020-06-30/functions/{FunctionName}/code-signing-config", + "DeleteFunctionConcurrency": "DELETE /2017-10-31/functions/{FunctionName}/concurrency", + "DeleteFunctionEventInvokeConfig": "DELETE /2019-09-25/functions/{FunctionName}/event-invoke-config", + "DeleteFunctionUrlConfig": "DELETE /2021-10-31/functions/{FunctionName}/url", + "DeleteLayerVersion": "DELETE /2018-10-31/layers/{LayerName}/versions/{VersionNumber}", + "DeleteProvisionedConcurrencyConfig": "DELETE /2019-09-30/functions/{FunctionName}/provisioned-concurrency", + "GetAlias": "GET /2015-03-31/functions/{FunctionName}/aliases/{Name}", + "GetCodeSigningConfig": "GET /2020-04-22/code-signing-configs/{CodeSigningConfigArn}", + "GetEventSourceMapping": "GET /2015-03-31/event-source-mappings/{UUID}", + "GetFunction": "GET /2015-03-31/functions/{FunctionName}", + "GetFunctionCodeSigningConfig": "GET /2020-06-30/functions/{FunctionName}/code-signing-config", + "GetFunctionConcurrency": "GET /2019-09-30/functions/{FunctionName}/concurrency", + "GetFunctionConfiguration": "GET /2015-03-31/functions/{FunctionName}/configuration", + "GetFunctionEventInvokeConfig": "GET /2019-09-25/functions/{FunctionName}/event-invoke-config", + "GetFunctionRecursionConfig": "GET /2024-08-31/functions/{FunctionName}/recursion-config", + "GetFunctionUrlConfig": "GET /2021-10-31/functions/{FunctionName}/url", + "GetLayerVersion": "GET /2018-10-31/layers/{LayerName}/versions/{VersionNumber}", + "GetLayerVersionByArn": "GET /2018-10-31/layers?find=LayerVersion", + "GetLayerVersionPolicy": "GET /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy", + "GetPolicy": "GET /2015-03-31/functions/{FunctionName}/policy", + "GetProvisionedConcurrencyConfig": "GET /2019-09-30/functions/{FunctionName}/provisioned-concurrency", + "GetRuntimeManagementConfig": "GET /2021-07-20/functions/{FunctionName}/runtime-management-config", + "Invoke": { http: "POST /2015-03-31/functions/{FunctionName}/invocations", traits: { - StatusCode: "httpResponseCode", - FunctionError: "X-Amz-Function-Error", - LogResult: "X-Amz-Log-Result", - Payload: "httpPayload", - ExecutedVersion: "X-Amz-Executed-Version", + "StatusCode": "httpResponseCode", + "FunctionError": "X-Amz-Function-Error", + "LogResult": "X-Amz-Log-Result", + "Payload": "httpPayload", + "ExecutedVersion": "X-Amz-Executed-Version", }, }, - InvokeAsync: { + "InvokeAsync": { http: "POST /2014-11-13/functions/{FunctionName}/invoke-async", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - InvokeWithResponseStream: { + "InvokeWithResponseStream": { http: "POST /2021-11-15/functions/{FunctionName}/response-streaming-invocations", traits: { - StatusCode: "httpResponseCode", - ExecutedVersion: "X-Amz-Executed-Version", - EventStream: "httpPayload", - ResponseStreamContentType: "Content-Type", + "StatusCode": "httpResponseCode", + "ExecutedVersion": "X-Amz-Executed-Version", + "EventStream": "httpPayload", + "ResponseStreamContentType": "Content-Type", }, }, - ListAliases: "GET /2015-03-31/functions/{FunctionName}/aliases", - ListCodeSigningConfigs: "GET /2020-04-22/code-signing-configs", - ListEventSourceMappings: "GET /2015-03-31/event-source-mappings", - ListFunctionEventInvokeConfigs: - "GET /2019-09-25/functions/{FunctionName}/event-invoke-config/list", - ListFunctionUrlConfigs: "GET /2021-10-31/functions/{FunctionName}/urls", - ListFunctions: "GET /2015-03-31/functions", - ListFunctionsByCodeSigningConfig: - "GET /2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions", - ListLayerVersions: "GET /2018-10-31/layers/{LayerName}/versions", - ListLayers: "GET /2018-10-31/layers", - ListProvisionedConcurrencyConfigs: - "GET /2019-09-30/functions/{FunctionName}/provisioned-concurrency?List=ALL", - ListVersionsByFunction: "GET /2015-03-31/functions/{FunctionName}/versions", - PublishLayerVersion: "POST /2018-10-31/layers/{LayerName}/versions", - PublishVersion: "POST /2015-03-31/functions/{FunctionName}/versions", - PutFunctionCodeSigningConfig: - "PUT /2020-06-30/functions/{FunctionName}/code-signing-config", - PutFunctionConcurrency: - "PUT /2017-10-31/functions/{FunctionName}/concurrency", - PutFunctionEventInvokeConfig: - "PUT /2019-09-25/functions/{FunctionName}/event-invoke-config", - PutFunctionRecursionConfig: - "PUT /2024-08-31/functions/{FunctionName}/recursion-config", - PutProvisionedConcurrencyConfig: - "PUT /2019-09-30/functions/{FunctionName}/provisioned-concurrency", - PutRuntimeManagementConfig: - "PUT /2021-07-20/functions/{FunctionName}/runtime-management-config", - RemoveLayerVersionPermission: - "DELETE /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}", - RemovePermission: - "DELETE /2015-03-31/functions/{FunctionName}/policy/{StatementId}", - UpdateAlias: "PUT /2015-03-31/functions/{FunctionName}/aliases/{Name}", - UpdateCodeSigningConfig: - "PUT /2020-04-22/code-signing-configs/{CodeSigningConfigArn}", - UpdateEventSourceMapping: "PUT /2015-03-31/event-source-mappings/{UUID}", - UpdateFunctionCode: "PUT /2015-03-31/functions/{FunctionName}/code", - UpdateFunctionConfiguration: - "PUT /2015-03-31/functions/{FunctionName}/configuration", - UpdateFunctionEventInvokeConfig: - "POST /2019-09-25/functions/{FunctionName}/event-invoke-config", - UpdateFunctionUrlConfig: "PUT /2021-10-31/functions/{FunctionName}/url", + "ListAliases": "GET /2015-03-31/functions/{FunctionName}/aliases", + "ListCodeSigningConfigs": "GET /2020-04-22/code-signing-configs", + "ListEventSourceMappings": "GET /2015-03-31/event-source-mappings", + "ListFunctionEventInvokeConfigs": "GET /2019-09-25/functions/{FunctionName}/event-invoke-config/list", + "ListFunctionUrlConfigs": "GET /2021-10-31/functions/{FunctionName}/urls", + "ListFunctions": "GET /2015-03-31/functions", + "ListFunctionsByCodeSigningConfig": "GET /2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions", + "ListLayerVersions": "GET /2018-10-31/layers/{LayerName}/versions", + "ListLayers": "GET /2018-10-31/layers", + "ListProvisionedConcurrencyConfigs": "GET /2019-09-30/functions/{FunctionName}/provisioned-concurrency?List=ALL", + "ListVersionsByFunction": "GET /2015-03-31/functions/{FunctionName}/versions", + "PublishLayerVersion": "POST /2018-10-31/layers/{LayerName}/versions", + "PublishVersion": "POST /2015-03-31/functions/{FunctionName}/versions", + "PutFunctionCodeSigningConfig": "PUT /2020-06-30/functions/{FunctionName}/code-signing-config", + "PutFunctionConcurrency": "PUT /2017-10-31/functions/{FunctionName}/concurrency", + "PutFunctionEventInvokeConfig": "PUT /2019-09-25/functions/{FunctionName}/event-invoke-config", + "PutFunctionRecursionConfig": "PUT /2024-08-31/functions/{FunctionName}/recursion-config", + "PutProvisionedConcurrencyConfig": "PUT /2019-09-30/functions/{FunctionName}/provisioned-concurrency", + "PutRuntimeManagementConfig": "PUT /2021-07-20/functions/{FunctionName}/runtime-management-config", + "RemoveLayerVersionPermission": "DELETE /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}", + "RemovePermission": "DELETE /2015-03-31/functions/{FunctionName}/policy/{StatementId}", + "UpdateAlias": "PUT /2015-03-31/functions/{FunctionName}/aliases/{Name}", + "UpdateCodeSigningConfig": "PUT /2020-04-22/code-signing-configs/{CodeSigningConfigArn}", + "UpdateEventSourceMapping": "PUT /2015-03-31/event-source-mappings/{UUID}", + "UpdateFunctionCode": "PUT /2015-03-31/functions/{FunctionName}/code", + "UpdateFunctionConfiguration": "PUT /2015-03-31/functions/{FunctionName}/configuration", + "UpdateFunctionEventInvokeConfig": "POST /2019-09-25/functions/{FunctionName}/event-invoke-config", + "UpdateFunctionUrlConfig": "PUT /2021-10-31/functions/{FunctionName}/url", }, } as const satisfies ServiceMetadata; diff --git a/src/services/lambda/types.ts b/src/services/lambda/types.ts index 64527439..76e654ea 100644 --- a/src/services/lambda/types.ts +++ b/src/services/lambda/types.ts @@ -15,70 +15,37 @@ export declare class Lambda extends AWSServiceClient { input: ListTagsRequest, ): Effect.Effect< ListTagsResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; addLayerVersionPermission( input: AddLayerVersionPermissionRequest, ): Effect.Effect< AddLayerVersionPermissionResponse, - | InvalidParameterValueException - | PolicyLengthExceededException - | PreconditionFailedException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | PolicyLengthExceededException | PreconditionFailedException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; addPermission( input: AddPermissionRequest, ): Effect.Effect< AddPermissionResponse, - | InvalidParameterValueException - | PolicyLengthExceededException - | PreconditionFailedException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | PolicyLengthExceededException | PreconditionFailedException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; createAlias( input: CreateAliasRequest, ): Effect.Effect< AliasConfiguration, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; createCodeSigningConfig( input: CreateCodeSigningConfigRequest, @@ -90,125 +57,67 @@ export declare class Lambda extends AWSServiceClient { input: CreateEventSourceMappingRequest, ): Effect.Effect< EventSourceMappingConfiguration, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; createFunction( input: CreateFunctionRequest, ): Effect.Effect< FunctionConfiguration, - | CodeSigningConfigNotFoundException - | CodeStorageExceededException - | CodeVerificationFailedException - | InvalidCodeSignatureException - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + CodeSigningConfigNotFoundException | CodeStorageExceededException | CodeVerificationFailedException | InvalidCodeSignatureException | InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; createFunctionUrlConfig( input: CreateFunctionUrlConfigRequest, ): Effect.Effect< CreateFunctionUrlConfigResponse, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteAlias( input: DeleteAliasRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | ResourceConflictException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteCodeSigningConfig( input: DeleteCodeSigningConfigRequest, ): Effect.Effect< DeleteCodeSigningConfigResponse, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | CommonAwsError >; deleteEventSourceMapping( input: DeleteEventSourceMappingRequest, ): Effect.Effect< EventSourceMappingConfiguration, - | InvalidParameterValueException - | ResourceConflictException - | ResourceInUseException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceInUseException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteFunction( input: DeleteFunctionRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteFunctionCodeSigningConfig( input: DeleteFunctionCodeSigningConfigRequest, ): Effect.Effect< {}, - | CodeSigningConfigNotFoundException - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + CodeSigningConfigNotFoundException | InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteFunctionConcurrency( input: DeleteFunctionConcurrencyRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteFunctionEventInvokeConfig( input: DeleteFunctionEventInvokeConfigRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteFunctionUrlConfig( input: DeleteFunctionUrlConfigRequest, ): Effect.Effect< {}, - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteLayerVersion( input: DeleteLayerVersionRequest, @@ -220,267 +129,127 @@ export declare class Lambda extends AWSServiceClient { input: DeleteProvisionedConcurrencyConfigRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getAlias( input: GetAliasRequest, ): Effect.Effect< AliasConfiguration, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getCodeSigningConfig( input: GetCodeSigningConfigRequest, ): Effect.Effect< GetCodeSigningConfigResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | CommonAwsError >; getEventSourceMapping( input: GetEventSourceMappingRequest, ): Effect.Effect< EventSourceMappingConfiguration, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getFunction( input: GetFunctionRequest, ): Effect.Effect< GetFunctionResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getFunctionCodeSigningConfig( input: GetFunctionCodeSigningConfigRequest, ): Effect.Effect< GetFunctionCodeSigningConfigResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getFunctionConcurrency( input: GetFunctionConcurrencyRequest, ): Effect.Effect< GetFunctionConcurrencyResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getFunctionConfiguration( input: GetFunctionConfigurationRequest, ): Effect.Effect< FunctionConfiguration, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getFunctionEventInvokeConfig( input: GetFunctionEventInvokeConfigRequest, ): Effect.Effect< FunctionEventInvokeConfig, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getFunctionRecursionConfig( input: GetFunctionRecursionConfigRequest, ): Effect.Effect< GetFunctionRecursionConfigResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getFunctionUrlConfig( input: GetFunctionUrlConfigRequest, ): Effect.Effect< GetFunctionUrlConfigResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getLayerVersion( input: GetLayerVersionRequest, ): Effect.Effect< GetLayerVersionResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getLayerVersionByArn( input: GetLayerVersionByArnRequest, ): Effect.Effect< GetLayerVersionResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getLayerVersionPolicy( input: GetLayerVersionPolicyRequest, ): Effect.Effect< GetLayerVersionPolicyResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getPolicy( input: GetPolicyRequest, ): Effect.Effect< GetPolicyResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getProvisionedConcurrencyConfig( input: GetProvisionedConcurrencyConfigRequest, ): Effect.Effect< GetProvisionedConcurrencyConfigResponse, - | InvalidParameterValueException - | ProvisionedConcurrencyConfigNotFoundException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ProvisionedConcurrencyConfigNotFoundException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; getRuntimeManagementConfig( input: GetRuntimeManagementConfigRequest, ): Effect.Effect< GetRuntimeManagementConfigResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; invoke( input: InvocationRequest, ): Effect.Effect< InvocationResponse, - | EC2AccessDeniedException - | EC2ThrottledException - | EC2UnexpectedException - | EFSIOException - | EFSMountConnectivityException - | EFSMountFailureException - | EFSMountTimeoutException - | ENILimitReachedException - | InvalidParameterValueException - | InvalidRequestContentException - | InvalidRuntimeException - | InvalidSecurityGroupIDException - | InvalidSubnetIDException - | InvalidZipFileException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | RecursiveInvocationException - | RequestTooLargeException - | ResourceConflictException - | ResourceNotFoundException - | ResourceNotReadyException - | SerializedRequestEntityTooLargeException - | ServiceException - | SnapStartException - | SnapStartNotReadyException - | SnapStartTimeoutException - | SubnetIPAddressLimitReachedException - | TooManyRequestsException - | UnsupportedMediaTypeException - | CommonAwsError + EC2AccessDeniedException | EC2ThrottledException | EC2UnexpectedException | EFSIOException | EFSMountConnectivityException | EFSMountFailureException | EFSMountTimeoutException | ENILimitReachedException | InvalidParameterValueException | InvalidRequestContentException | InvalidRuntimeException | InvalidSecurityGroupIDException | InvalidSubnetIDException | InvalidZipFileException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | RecursiveInvocationException | RequestTooLargeException | ResourceConflictException | ResourceNotFoundException | ResourceNotReadyException | SerializedRequestEntityTooLargeException | ServiceException | SnapStartException | SnapStartNotReadyException | SnapStartTimeoutException | SubnetIPAddressLimitReachedException | TooManyRequestsException | UnsupportedMediaTypeException | CommonAwsError >; invokeAsync( input: InvokeAsyncRequest, ): Effect.Effect< InvokeAsyncResponse, - | InvalidRequestContentException - | InvalidRuntimeException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | CommonAwsError + InvalidRequestContentException | InvalidRuntimeException | ResourceConflictException | ResourceNotFoundException | ServiceException | CommonAwsError >; invokeWithResponseStream( input: InvokeWithResponseStreamRequest, ): Effect.Effect< InvokeWithResponseStreamResponse, - | EC2AccessDeniedException - | EC2ThrottledException - | EC2UnexpectedException - | EFSIOException - | EFSMountConnectivityException - | EFSMountFailureException - | EFSMountTimeoutException - | ENILimitReachedException - | InvalidParameterValueException - | InvalidRequestContentException - | InvalidRuntimeException - | InvalidSecurityGroupIDException - | InvalidSubnetIDException - | InvalidZipFileException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | RecursiveInvocationException - | RequestTooLargeException - | ResourceConflictException - | ResourceNotFoundException - | ResourceNotReadyException - | SerializedRequestEntityTooLargeException - | ServiceException - | SnapStartException - | SnapStartNotReadyException - | SnapStartTimeoutException - | SubnetIPAddressLimitReachedException - | TooManyRequestsException - | UnsupportedMediaTypeException - | CommonAwsError + EC2AccessDeniedException | EC2ThrottledException | EC2UnexpectedException | EFSIOException | EFSMountConnectivityException | EFSMountFailureException | EFSMountTimeoutException | ENILimitReachedException | InvalidParameterValueException | InvalidRequestContentException | InvalidRuntimeException | InvalidSecurityGroupIDException | InvalidSubnetIDException | InvalidZipFileException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | RecursiveInvocationException | RequestTooLargeException | ResourceConflictException | ResourceNotFoundException | ResourceNotReadyException | SerializedRequestEntityTooLargeException | ServiceException | SnapStartException | SnapStartNotReadyException | SnapStartTimeoutException | SubnetIPAddressLimitReachedException | TooManyRequestsException | UnsupportedMediaTypeException | CommonAwsError >; listAliases( input: ListAliasesRequest, ): Effect.Effect< ListAliasesResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; listCodeSigningConfigs( input: ListCodeSigningConfigsRequest, @@ -492,287 +261,157 @@ export declare class Lambda extends AWSServiceClient { input: ListEventSourceMappingsRequest, ): Effect.Effect< ListEventSourceMappingsResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; listFunctionEventInvokeConfigs( input: ListFunctionEventInvokeConfigsRequest, ): Effect.Effect< ListFunctionEventInvokeConfigsResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; listFunctionUrlConfigs( input: ListFunctionUrlConfigsRequest, ): Effect.Effect< ListFunctionUrlConfigsResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; listFunctions( input: ListFunctionsRequest, ): Effect.Effect< ListFunctionsResponse, - | InvalidParameterValueException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ServiceException | TooManyRequestsException | CommonAwsError >; listFunctionsByCodeSigningConfig( input: ListFunctionsByCodeSigningConfigRequest, ): Effect.Effect< ListFunctionsByCodeSigningConfigResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | CommonAwsError >; listLayerVersions( input: ListLayerVersionsRequest, ): Effect.Effect< ListLayerVersionsResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; listLayers( input: ListLayersRequest, ): Effect.Effect< ListLayersResponse, - | InvalidParameterValueException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ServiceException | TooManyRequestsException | CommonAwsError >; listProvisionedConcurrencyConfigs( input: ListProvisionedConcurrencyConfigsRequest, ): Effect.Effect< ListProvisionedConcurrencyConfigsResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; listVersionsByFunction( input: ListVersionsByFunctionRequest, ): Effect.Effect< ListVersionsByFunctionResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; publishLayerVersion( input: PublishLayerVersionRequest, ): Effect.Effect< PublishLayerVersionResponse, - | CodeStorageExceededException - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + CodeStorageExceededException | InvalidParameterValueException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; publishVersion( input: PublishVersionRequest, ): Effect.Effect< FunctionConfiguration, - | CodeStorageExceededException - | InvalidParameterValueException - | PreconditionFailedException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + CodeStorageExceededException | InvalidParameterValueException | PreconditionFailedException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; putFunctionCodeSigningConfig( input: PutFunctionCodeSigningConfigRequest, ): Effect.Effect< PutFunctionCodeSigningConfigResponse, - | CodeSigningConfigNotFoundException - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + CodeSigningConfigNotFoundException | InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; putFunctionConcurrency( input: PutFunctionConcurrencyRequest, ): Effect.Effect< Concurrency, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; putFunctionEventInvokeConfig( input: PutFunctionEventInvokeConfigRequest, ): Effect.Effect< FunctionEventInvokeConfig, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; putFunctionRecursionConfig( input: PutFunctionRecursionConfigRequest, ): Effect.Effect< PutFunctionRecursionConfigResponse, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; putProvisionedConcurrencyConfig( input: PutProvisionedConcurrencyConfigRequest, ): Effect.Effect< PutProvisionedConcurrencyConfigResponse, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; putRuntimeManagementConfig( input: PutRuntimeManagementConfigRequest, ): Effect.Effect< PutRuntimeManagementConfigResponse, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; removeLayerVersionPermission( input: RemoveLayerVersionPermissionRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | PreconditionFailedException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; removePermission( input: RemovePermissionRequest, ): Effect.Effect< {}, - | InvalidParameterValueException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | PreconditionFailedException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; updateAlias( input: UpdateAliasRequest, ): Effect.Effect< AliasConfiguration, - | InvalidParameterValueException - | PreconditionFailedException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | PreconditionFailedException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; updateCodeSigningConfig( input: UpdateCodeSigningConfigRequest, ): Effect.Effect< UpdateCodeSigningConfigResponse, - | InvalidParameterValueException - | ResourceNotFoundException - | ServiceException - | CommonAwsError + InvalidParameterValueException | ResourceNotFoundException | ServiceException | CommonAwsError >; updateEventSourceMapping( input: UpdateEventSourceMappingRequest, ): Effect.Effect< EventSourceMappingConfiguration, - | InvalidParameterValueException - | ResourceConflictException - | ResourceInUseException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceInUseException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; updateFunctionCode( input: UpdateFunctionCodeRequest, ): Effect.Effect< FunctionConfiguration, - | CodeSigningConfigNotFoundException - | CodeStorageExceededException - | CodeVerificationFailedException - | InvalidCodeSignatureException - | InvalidParameterValueException - | PreconditionFailedException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + CodeSigningConfigNotFoundException | CodeStorageExceededException | CodeVerificationFailedException | InvalidCodeSignatureException | InvalidParameterValueException | PreconditionFailedException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; updateFunctionConfiguration( input: UpdateFunctionConfigurationRequest, ): Effect.Effect< FunctionConfiguration, - | CodeSigningConfigNotFoundException - | CodeVerificationFailedException - | InvalidCodeSignatureException - | InvalidParameterValueException - | PreconditionFailedException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + CodeSigningConfigNotFoundException | CodeVerificationFailedException | InvalidCodeSignatureException | InvalidParameterValueException | PreconditionFailedException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; updateFunctionEventInvokeConfig( input: UpdateFunctionEventInvokeConfigRequest, ): Effect.Effect< FunctionEventInvokeConfig, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; updateFunctionUrlConfig( input: UpdateFunctionUrlConfigRequest, ): Effect.Effect< UpdateFunctionUrlConfigResponse, - | InvalidParameterValueException - | ResourceConflictException - | ResourceNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + InvalidParameterValueException | ResourceConflictException | ResourceNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; } @@ -847,13 +486,7 @@ export interface AmazonManagedKafkaEventSourceConfig { ConsumerGroupId?: string; SchemaRegistryConfig?: KafkaSchemaRegistryConfig; } -export type ApplicationLogLevel = - | "TRACE" - | "DEBUG" - | "INFO" - | "WARN" - | "ERROR" - | "FATAL"; +export type ApplicationLogLevel = "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR" | "FATAL"; export type Architecture = "x86_64" | "arm64"; export type ArchitecturesList = Array; export type Arn = string; @@ -1018,7 +651,8 @@ export interface DeleteAliasRequest { export interface DeleteCodeSigningConfigRequest { CodeSigningConfigArn: string; } -export interface DeleteCodeSigningConfigResponse {} +export interface DeleteCodeSigningConfigResponse { +} export interface DeleteEventSourceMappingRequest { UUID: string; } @@ -1291,7 +925,8 @@ export type FunctionUrlConfigList = Array; export type FunctionUrlQualifier = string; export type FunctionVersion = "ALL"; -export interface GetAccountSettingsRequest {} +export interface GetAccountSettingsRequest { +} export interface GetAccountSettingsResponse { AccountLimit?: AccountLimit; AccountUsage?: AccountUsage; @@ -1532,23 +1167,13 @@ interface _InvokeWithResponseStreamResponseEvent { InvokeComplete?: InvokeWithResponseStreamCompleteEvent; } -export type InvokeWithResponseStreamResponseEvent = - | (_InvokeWithResponseStreamResponseEvent & { - PayloadChunk: InvokeResponseStreamUpdate; - }) - | (_InvokeWithResponseStreamResponseEvent & { - InvokeComplete: InvokeWithResponseStreamCompleteEvent; - }); +export type InvokeWithResponseStreamResponseEvent = (_InvokeWithResponseStreamResponseEvent & { PayloadChunk: InvokeResponseStreamUpdate }) | (_InvokeWithResponseStreamResponseEvent & { InvokeComplete: InvokeWithResponseStreamCompleteEvent }); export interface KafkaSchemaRegistryAccessConfig { Type?: KafkaSchemaRegistryAuthType; URI?: string; } -export type KafkaSchemaRegistryAccessConfigList = - Array; -export type KafkaSchemaRegistryAuthType = - | "BASIC_AUTH" - | "CLIENT_CERTIFICATE_TLS_AUTH" - | "SERVER_ROOT_CA_CERTIFICATE"; +export type KafkaSchemaRegistryAccessConfigList = Array; +export type KafkaSchemaRegistryAuthType = "BASIC_AUTH" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE"; export interface KafkaSchemaRegistryConfig { SchemaRegistryURI?: string; EventRecordFormat?: SchemaRegistryEventRecordFormat; @@ -1559,8 +1184,7 @@ export type KafkaSchemaValidationAttribute = "KEY" | "VALUE"; export interface KafkaSchemaValidationConfig { Attribute?: KafkaSchemaValidationAttribute; } -export type KafkaSchemaValidationConfigList = - Array; +export type KafkaSchemaValidationConfigList = Array; export declare class KMSAccessDeniedException extends EffectData.TaggedError( "KMSAccessDeniedException", )<{ @@ -1590,28 +1214,7 @@ export declare class KMSNotFoundException extends EffectData.TaggedError( export type LastUpdateStatus = "Successful" | "Failed" | "InProgress"; export type LastUpdateStatusReason = string; -export type LastUpdateStatusReasonCode = - | "EniLimitExceeded" - | "InsufficientRolePermissions" - | "InvalidConfiguration" - | "InternalError" - | "SubnetOutOfIPAddresses" - | "InvalidSubnet" - | "InvalidSecurityGroup" - | "ImageDeleted" - | "ImageAccessDenied" - | "InvalidImage" - | "KMSKeyAccessDenied" - | "KMSKeyNotFound" - | "InvalidStateKMSKey" - | "DisabledKMSKey" - | "EFSIOError" - | "EFSMountConnectivityError" - | "EFSMountFailure" - | "EFSMountTimeout" - | "InvalidRuntime" - | "InvalidZipFileException" - | "FunctionError"; +export type LastUpdateStatusReasonCode = "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError"; export interface Layer { Arn?: string; CodeSize?: number; @@ -1864,8 +1467,7 @@ export type Principal = string; export type PrincipalOrgID = string; -export type ProvisionedConcurrencyConfigList = - Array; +export type ProvisionedConcurrencyConfigList = Array; export interface ProvisionedConcurrencyConfigListItem { FunctionArn?: string; RequestedProvisionedConcurrentExecutions?: number; @@ -1881,10 +1483,7 @@ export declare class ProvisionedConcurrencyConfigNotFoundException extends Effec readonly Type?: string; readonly message?: string; }> {} -export type ProvisionedConcurrencyStatusEnum = - | "IN_PROGRESS" - | "READY" - | "FAILED"; +export type ProvisionedConcurrencyStatusEnum = "IN_PROGRESS" | "READY" | "FAILED"; export interface ProvisionedPollerConfig { MinimumPollers?: number; MaximumPollers?: number; @@ -2025,51 +1624,7 @@ export declare class ResourceNotReadyException extends EffectData.TaggedError( export type ResponseStreamingInvocationType = "RequestResponse" | "DryRun"; export type RoleArn = string; -export type Runtime = - | "nodejs" - | "nodejs4.3" - | "nodejs6.10" - | "nodejs8.10" - | "nodejs10.x" - | "nodejs12.x" - | "nodejs14.x" - | "nodejs16.x" - | "java8" - | "java8.al2" - | "java11" - | "python2.7" - | "python3.6" - | "python3.7" - | "python3.8" - | "python3.9" - | "dotnetcore1.0" - | "dotnetcore2.0" - | "dotnetcore2.1" - | "dotnetcore3.1" - | "dotnet6" - | "dotnet8" - | "nodejs4.3-edge" - | "go1.x" - | "ruby2.5" - | "ruby2.7" - | "provided" - | "provided.al2" - | "nodejs18.x" - | "python3.10" - | "java17" - | "ruby3.2" - | "ruby3.3" - | "ruby3.4" - | "python3.11" - | "nodejs20.x" - | "provided.al2023" - | "python3.12" - | "java21" - | "python3.13" - | "nodejs22.x" - | "java25" - | "nodejs24.x" - | "python3.14"; +export type Runtime = "nodejs" | "nodejs4.3" | "nodejs6.10" | "nodejs8.10" | "nodejs10.x" | "nodejs12.x" | "nodejs14.x" | "nodejs16.x" | "java8" | "java8.al2" | "java11" | "python2.7" | "python3.6" | "python3.7" | "python3.8" | "python3.9" | "dotnetcore1.0" | "dotnetcore2.0" | "dotnetcore2.1" | "dotnetcore3.1" | "dotnet6" | "dotnet8" | "nodejs4.3-edge" | "go1.x" | "ruby2.5" | "ruby2.7" | "provided" | "provided.al2" | "nodejs18.x" | "python3.10" | "java17" | "ruby3.2" | "ruby3.3" | "ruby3.4" | "python3.11" | "nodejs20.x" | "provided.al2023" | "python3.12" | "java21" | "python3.13" | "nodejs22.x" | "java25" | "nodejs24.x" | "python3.14"; export type RuntimeVersionArn = string; export interface RuntimeVersionConfig { @@ -2149,15 +1704,7 @@ export interface SourceAccessConfiguration { URI?: string; } export type SourceAccessConfigurations = Array; -export type SourceAccessType = - | "BASIC_AUTH" - | "VPC_SUBNET" - | "VPC_SECURITY_GROUP" - | "SASL_SCRAM_512_AUTH" - | "SASL_SCRAM_256_AUTH" - | "VIRTUAL_HOST" - | "CLIENT_CERTIFICATE_TLS_AUTH" - | "SERVER_ROOT_CA_CERTIFICATE"; +export type SourceAccessType = "BASIC_AUTH" | "VPC_SUBNET" | "VPC_SECURITY_GROUP" | "SASL_SCRAM_512_AUTH" | "SASL_SCRAM_256_AUTH" | "VIRTUAL_HOST" | "CLIENT_CERTIFICATE_TLS_AUTH" | "SERVER_ROOT_CA_CERTIFICATE"; export type SourceOwner = string; export type State = "Pending" | "Active" | "Inactive" | "Failed"; @@ -2165,31 +1712,7 @@ export type StatementId = string; export type StateReason = string; -export type StateReasonCode = - | "Idle" - | "Creating" - | "Restoring" - | "EniLimitExceeded" - | "InsufficientRolePermissions" - | "InvalidConfiguration" - | "InternalError" - | "SubnetOutOfIPAddresses" - | "InvalidSubnet" - | "InvalidSecurityGroup" - | "ImageDeleted" - | "ImageAccessDenied" - | "InvalidImage" - | "KMSKeyAccessDenied" - | "KMSKeyNotFound" - | "InvalidStateKMSKey" - | "DisabledKMSKey" - | "EFSIOError" - | "EFSMountConnectivityError" - | "EFSMountFailure" - | "EFSMountTimeout" - | "InvalidRuntime" - | "InvalidZipFileException" - | "FunctionError"; +export type StateReasonCode = "Idle" | "Creating" | "Restoring" | "EniLimitExceeded" | "InsufficientRolePermissions" | "InvalidConfiguration" | "InternalError" | "SubnetOutOfIPAddresses" | "InvalidSubnet" | "InvalidSecurityGroup" | "ImageDeleted" | "ImageAccessDenied" | "InvalidImage" | "KMSKeyAccessDenied" | "KMSKeyNotFound" | "InvalidStateKMSKey" | "DisabledKMSKey" | "EFSIOError" | "EFSMountConnectivityError" | "EFSMountFailure" | "EFSMountTimeout" | "InvalidRuntime" | "InvalidZipFileException" | "FunctionError"; export type LambdaString = string; export type StringList = Array; @@ -2223,13 +1746,7 @@ export type TagsErrorMessage = string; export type TagValue = string; -export type ThrottleReason = - | "ConcurrentInvocationLimitExceeded" - | "FunctionInvocationRateLimitExceeded" - | "ReservedFunctionConcurrentInvocationLimitExceeded" - | "ReservedFunctionInvocationRateLimitExceeded" - | "CallerRateLimitExceeded" - | "ConcurrentSnapshotCreateLimitExceeded"; +export type ThrottleReason = "ConcurrentInvocationLimitExceeded" | "FunctionInvocationRateLimitExceeded" | "ReservedFunctionConcurrentInvocationLimitExceeded" | "ReservedFunctionInvocationRateLimitExceeded" | "CallerRateLimitExceeded" | "ConcurrentSnapshotCreateLimitExceeded"; export type Timeout = number; export type Timestamp = string; @@ -3232,44 +2749,5 @@ export declare namespace UpdateFunctionUrlConfig { | CommonAwsError; } -export type LambdaErrors = - | CodeSigningConfigNotFoundException - | CodeStorageExceededException - | CodeVerificationFailedException - | EC2AccessDeniedException - | EC2ThrottledException - | EC2UnexpectedException - | EFSIOException - | EFSMountConnectivityException - | EFSMountFailureException - | EFSMountTimeoutException - | ENILimitReachedException - | InvalidCodeSignatureException - | InvalidParameterValueException - | InvalidRequestContentException - | InvalidRuntimeException - | InvalidSecurityGroupIDException - | InvalidSubnetIDException - | InvalidZipFileException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | PolicyLengthExceededException - | PreconditionFailedException - | ProvisionedConcurrencyConfigNotFoundException - | RecursiveInvocationException - | RequestTooLargeException - | ResourceConflictException - | ResourceInUseException - | ResourceNotFoundException - | ResourceNotReadyException - | SerializedRequestEntityTooLargeException - | ServiceException - | SnapStartException - | SnapStartNotReadyException - | SnapStartTimeoutException - | SubnetIPAddressLimitReachedException - | TooManyRequestsException - | UnsupportedMediaTypeException - | CommonAwsError; +export type LambdaErrors = CodeSigningConfigNotFoundException | CodeStorageExceededException | CodeVerificationFailedException | EC2AccessDeniedException | EC2ThrottledException | EC2UnexpectedException | EFSIOException | EFSMountConnectivityException | EFSMountFailureException | EFSMountTimeoutException | ENILimitReachedException | InvalidCodeSignatureException | InvalidParameterValueException | InvalidRequestContentException | InvalidRuntimeException | InvalidSecurityGroupIDException | InvalidSubnetIDException | InvalidZipFileException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | PolicyLengthExceededException | PreconditionFailedException | ProvisionedConcurrencyConfigNotFoundException | RecursiveInvocationException | RequestTooLargeException | ResourceConflictException | ResourceInUseException | ResourceNotFoundException | ResourceNotReadyException | SerializedRequestEntityTooLargeException | ServiceException | SnapStartException | SnapStartNotReadyException | SnapStartTimeoutException | SubnetIPAddressLimitReachedException | TooManyRequestsException | UnsupportedMediaTypeException | CommonAwsError; + diff --git a/src/services/launch-wizard/index.ts b/src/services/launch-wizard/index.ts index 7f03d8be..08fc1fbc 100644 --- a/src/services/launch-wizard/index.ts +++ b/src/services/launch-wizard/index.ts @@ -5,25 +5,7 @@ import type { LaunchWizard as _LaunchWizardClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,18 +15,18 @@ const metadata = { sigV4ServiceName: "launchwizard", endpointPrefix: "launchwizard", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateDeployment: "POST /createDeployment", - DeleteDeployment: "POST /deleteDeployment", - GetDeployment: "POST /getDeployment", - GetWorkload: "POST /getWorkload", - GetWorkloadDeploymentPattern: "POST /getWorkloadDeploymentPattern", - ListDeploymentEvents: "POST /listDeploymentEvents", - ListDeployments: "POST /listDeployments", - ListWorkloadDeploymentPatterns: "POST /listWorkloadDeploymentPatterns", - ListWorkloads: "POST /listWorkloads", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateDeployment": "POST /createDeployment", + "DeleteDeployment": "POST /deleteDeployment", + "GetDeployment": "POST /getDeployment", + "GetWorkload": "POST /getWorkload", + "GetWorkloadDeploymentPattern": "POST /getWorkloadDeploymentPattern", + "ListDeploymentEvents": "POST /listDeploymentEvents", + "ListDeployments": "POST /listDeployments", + "ListWorkloadDeploymentPatterns": "POST /listWorkloadDeploymentPatterns", + "ListWorkloads": "POST /listWorkloads", }, } as const satisfies ServiceMetadata; diff --git a/src/services/launch-wizard/types.ts b/src/services/launch-wizard/types.ts index 7ec3d77b..be1ff356 100644 --- a/src/services/launch-wizard/types.ts +++ b/src/services/launch-wizard/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class LaunchWizard extends AWSServiceClient { @@ -42,84 +8,55 @@ export declare class LaunchWizard extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createDeployment( input: CreateDeploymentInput, ): Effect.Effect< CreateDeploymentOutput, - | InternalServerException - | ResourceLimitException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceLimitException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteDeployment( input: DeleteDeploymentInput, ): Effect.Effect< DeleteDeploymentOutput, - | InternalServerException - | ResourceLimitException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceLimitException | ResourceNotFoundException | ValidationException | CommonAwsError >; getDeployment( input: GetDeploymentInput, ): Effect.Effect< GetDeploymentOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getWorkload( input: GetWorkloadInput, ): Effect.Effect< GetWorkloadOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getWorkloadDeploymentPattern( input: GetWorkloadDeploymentPatternInput, ): Effect.Effect< GetWorkloadDeploymentPatternOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDeploymentEvents( input: ListDeploymentEventsInput, ): Effect.Effect< ListDeploymentEventsOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDeployments( input: ListDeploymentsInput, @@ -131,10 +68,7 @@ export declare class LaunchWizard extends AWSServiceClient { input: ListWorkloadDeploymentPatternsInput, ): Effect.Effect< ListWorkloadDeploymentPatternsOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listWorkloads( input: ListWorkloadsInput, @@ -220,27 +154,10 @@ export interface DeploymentSpecificationsField { required?: string; conditionals?: Array; } -export type DeploymentStatus = - | "COMPLETED" - | "CREATING" - | "DELETE_IN_PROGRESS" - | "DELETE_INITIATING" - | "DELETE_FAILED" - | "DELETED" - | "FAILED" - | "IN_PROGRESS" - | "VALIDATING"; +export type DeploymentStatus = "COMPLETED" | "CREATING" | "DELETE_IN_PROGRESS" | "DELETE_INITIATING" | "DELETE_FAILED" | "DELETED" | "FAILED" | "IN_PROGRESS" | "VALIDATING"; export type EventId = string; -export type EventStatus = - | "CANCELED" - | "CANCELING" - | "COMPLETED" - | "CREATED" - | "FAILED" - | "IN_PROGRESS" - | "PENDING" - | "TIMED_OUT"; +export type EventStatus = "CANCELED" | "CANCELING" | "COMPLETED" | "CREATED" | "FAILED" | "IN_PROGRESS" | "PENDING" | "TIMED_OUT"; export interface GetDeploymentInput { deploymentId: string; } @@ -338,7 +255,8 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type Tags = Record; export type TagValue = string; @@ -346,7 +264,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -387,13 +306,8 @@ export interface WorkloadDeploymentPatternDataSummary { status?: WorkloadDeploymentPatternStatus; statusMessage?: string; } -export type WorkloadDeploymentPatternDataSummaryList = - Array; -export type WorkloadDeploymentPatternStatus = - | "ACTIVE" - | "INACTIVE" - | "DISABLED" - | "DELETED"; +export type WorkloadDeploymentPatternDataSummaryList = Array; +export type WorkloadDeploymentPatternStatus = "ACTIVE" | "INACTIVE" | "DISABLED" | "DELETED"; export type WorkloadName = string; export type WorkloadStatus = "ACTIVE" | "INACTIVE" | "DISABLED" | "DELETED"; @@ -519,9 +433,5 @@ export declare namespace ListWorkloads { | CommonAwsError; } -export type LaunchWizardErrors = - | InternalServerException - | ResourceLimitException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type LaunchWizardErrors = InternalServerException | ResourceLimitException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/lex-model-building-service/index.ts b/src/services/lex-model-building-service/index.ts index 12e2d001..4683233e 100644 --- a/src/services/lex-model-building-service/index.ts +++ b/src/services/lex-model-building-service/index.ts @@ -5,25 +5,7 @@ import type { LexModelBuildingService as _LexModelBuildingServiceClient } from " export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,51 +15,48 @@ const metadata = { sigV4ServiceName: "lex", endpointPrefix: "models.lex", operations: { - CreateBotVersion: "POST /bots/{name}/versions", - CreateIntentVersion: "POST /intents/{name}/versions", - CreateSlotTypeVersion: "POST /slottypes/{name}/versions", - DeleteBot: "DELETE /bots/{name}", - DeleteBotAlias: "DELETE /bots/{botName}/aliases/{name}", - DeleteBotChannelAssociation: - "DELETE /bots/{botName}/aliases/{botAlias}/channels/{name}", - DeleteBotVersion: "DELETE /bots/{name}/versions/{version}", - DeleteIntent: "DELETE /intents/{name}", - DeleteIntentVersion: "DELETE /intents/{name}/versions/{version}", - DeleteSlotType: "DELETE /slottypes/{name}", - DeleteSlotTypeVersion: "DELETE /slottypes/{name}/version/{version}", - DeleteUtterances: "DELETE /bots/{botName}/utterances/{userId}", - GetBot: "GET /bots/{name}/versions/{versionOrAlias}", - GetBotAlias: "GET /bots/{botName}/aliases/{name}", - GetBotAliases: "GET /bots/{botName}/aliases", - GetBotChannelAssociation: - "GET /bots/{botName}/aliases/{botAlias}/channels/{name}", - GetBotChannelAssociations: - "GET /bots/{botName}/aliases/{botAlias}/channels", - GetBots: "GET /bots", - GetBotVersions: "GET /bots/{name}/versions", - GetBuiltinIntent: "GET /builtins/intents/{signature}", - GetBuiltinIntents: "GET /builtins/intents", - GetBuiltinSlotTypes: "GET /builtins/slottypes", - GetExport: "GET /exports", - GetImport: "GET /imports/{importId}", - GetIntent: "GET /intents/{name}/versions/{version}", - GetIntents: "GET /intents", - GetIntentVersions: "GET /intents/{name}/versions", - GetMigration: "GET /migrations/{migrationId}", - GetMigrations: "GET /migrations", - GetSlotType: "GET /slottypes/{name}/versions/{version}", - GetSlotTypes: "GET /slottypes", - GetSlotTypeVersions: "GET /slottypes/{name}/versions", - GetUtterancesView: "GET /bots/{botName}/utterances?view=aggregation", - ListTagsForResource: "GET /tags/{resourceArn}", - PutBot: "PUT /bots/{name}/versions/$LATEST", - PutBotAlias: "PUT /bots/{botName}/aliases/{name}", - PutIntent: "PUT /intents/{name}/versions/$LATEST", - PutSlotType: "PUT /slottypes/{name}/versions/$LATEST", - StartImport: "POST /imports", - StartMigration: "POST /migrations", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", + "CreateBotVersion": "POST /bots/{name}/versions", + "CreateIntentVersion": "POST /intents/{name}/versions", + "CreateSlotTypeVersion": "POST /slottypes/{name}/versions", + "DeleteBot": "DELETE /bots/{name}", + "DeleteBotAlias": "DELETE /bots/{botName}/aliases/{name}", + "DeleteBotChannelAssociation": "DELETE /bots/{botName}/aliases/{botAlias}/channels/{name}", + "DeleteBotVersion": "DELETE /bots/{name}/versions/{version}", + "DeleteIntent": "DELETE /intents/{name}", + "DeleteIntentVersion": "DELETE /intents/{name}/versions/{version}", + "DeleteSlotType": "DELETE /slottypes/{name}", + "DeleteSlotTypeVersion": "DELETE /slottypes/{name}/version/{version}", + "DeleteUtterances": "DELETE /bots/{botName}/utterances/{userId}", + "GetBot": "GET /bots/{name}/versions/{versionOrAlias}", + "GetBotAlias": "GET /bots/{botName}/aliases/{name}", + "GetBotAliases": "GET /bots/{botName}/aliases", + "GetBotChannelAssociation": "GET /bots/{botName}/aliases/{botAlias}/channels/{name}", + "GetBotChannelAssociations": "GET /bots/{botName}/aliases/{botAlias}/channels", + "GetBots": "GET /bots", + "GetBotVersions": "GET /bots/{name}/versions", + "GetBuiltinIntent": "GET /builtins/intents/{signature}", + "GetBuiltinIntents": "GET /builtins/intents", + "GetBuiltinSlotTypes": "GET /builtins/slottypes", + "GetExport": "GET /exports", + "GetImport": "GET /imports/{importId}", + "GetIntent": "GET /intents/{name}/versions/{version}", + "GetIntents": "GET /intents", + "GetIntentVersions": "GET /intents/{name}/versions", + "GetMigration": "GET /migrations/{migrationId}", + "GetMigrations": "GET /migrations", + "GetSlotType": "GET /slottypes/{name}/versions/{version}", + "GetSlotTypes": "GET /slottypes", + "GetSlotTypeVersions": "GET /slottypes/{name}/versions", + "GetUtterancesView": "GET /bots/{botName}/utterances?view=aggregation", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutBot": "PUT /bots/{name}/versions/$LATEST", + "PutBotAlias": "PUT /bots/{botName}/aliases/{name}", + "PutIntent": "PUT /intents/{name}/versions/$LATEST", + "PutSlotType": "PUT /slottypes/{name}/versions/$LATEST", + "StartImport": "POST /imports", + "StartMigration": "POST /migrations", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/lex-model-building-service/types.ts b/src/services/lex-model-building-service/types.ts index 0bbc0e1b..43d92c72 100644 --- a/src/services/lex-model-building-service/types.ts +++ b/src/services/lex-model-building-service/types.ts @@ -1,42 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class LexModelBuildingService extends AWSServiceClient { @@ -44,442 +10,253 @@ export declare class LexModelBuildingService extends AWSServiceClient { input: CreateBotVersionRequest, ): Effect.Effect< CreateBotVersionResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | PreconditionFailedException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | PreconditionFailedException | CommonAwsError >; createIntentVersion( input: CreateIntentVersionRequest, ): Effect.Effect< CreateIntentVersionResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | PreconditionFailedException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | PreconditionFailedException | CommonAwsError >; createSlotTypeVersion( input: CreateSlotTypeVersionRequest, ): Effect.Effect< CreateSlotTypeVersionResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | PreconditionFailedException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | PreconditionFailedException | CommonAwsError >; deleteBot( input: DeleteBotRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | ResourceInUseException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | ResourceInUseException | CommonAwsError >; deleteBotAlias( input: DeleteBotAliasRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | ResourceInUseException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | ResourceInUseException | CommonAwsError >; deleteBotChannelAssociation( input: DeleteBotChannelAssociationRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; deleteBotVersion( input: DeleteBotVersionRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | ResourceInUseException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | ResourceInUseException | CommonAwsError >; deleteIntent( input: DeleteIntentRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | ResourceInUseException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | ResourceInUseException | CommonAwsError >; deleteIntentVersion( input: DeleteIntentVersionRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | ResourceInUseException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | ResourceInUseException | CommonAwsError >; deleteSlotType( input: DeleteSlotTypeRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | ResourceInUseException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | ResourceInUseException | CommonAwsError >; deleteSlotTypeVersion( input: DeleteSlotTypeVersionRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | ResourceInUseException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | ResourceInUseException | CommonAwsError >; deleteUtterances( input: DeleteUtterancesRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getBot( input: GetBotRequest, ): Effect.Effect< GetBotResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getBotAlias( input: GetBotAliasRequest, ): Effect.Effect< GetBotAliasResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getBotAliases( input: GetBotAliasesRequest, ): Effect.Effect< GetBotAliasesResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; getBotChannelAssociation( input: GetBotChannelAssociationRequest, ): Effect.Effect< GetBotChannelAssociationResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getBotChannelAssociations( input: GetBotChannelAssociationsRequest, ): Effect.Effect< GetBotChannelAssociationsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; getBots( input: GetBotsRequest, ): Effect.Effect< GetBotsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getBotVersions( input: GetBotVersionsRequest, ): Effect.Effect< GetBotVersionsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getBuiltinIntent( input: GetBuiltinIntentRequest, ): Effect.Effect< GetBuiltinIntentResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getBuiltinIntents( input: GetBuiltinIntentsRequest, ): Effect.Effect< GetBuiltinIntentsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; getBuiltinSlotTypes( input: GetBuiltinSlotTypesRequest, ): Effect.Effect< GetBuiltinSlotTypesResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; getExport( input: GetExportRequest, ): Effect.Effect< GetExportResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getImport( input: GetImportRequest, ): Effect.Effect< GetImportResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getIntent( input: GetIntentRequest, ): Effect.Effect< GetIntentResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getIntents( input: GetIntentsRequest, ): Effect.Effect< GetIntentsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getIntentVersions( input: GetIntentVersionsRequest, ): Effect.Effect< GetIntentVersionsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getMigration( input: GetMigrationRequest, ): Effect.Effect< GetMigrationResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getMigrations( input: GetMigrationsRequest, ): Effect.Effect< GetMigrationsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; getSlotType( input: GetSlotTypeRequest, ): Effect.Effect< GetSlotTypeResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getSlotTypes( input: GetSlotTypesRequest, ): Effect.Effect< GetSlotTypesResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getSlotTypeVersions( input: GetSlotTypeVersionsRequest, ): Effect.Effect< GetSlotTypeVersionsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getUtterancesView( input: GetUtterancesViewRequest, ): Effect.Effect< GetUtterancesViewResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; putBot( input: PutBotRequest, ): Effect.Effect< PutBotResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | PreconditionFailedException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | PreconditionFailedException | CommonAwsError >; putBotAlias( input: PutBotAliasRequest, ): Effect.Effect< PutBotAliasResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | PreconditionFailedException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | PreconditionFailedException | CommonAwsError >; putIntent( input: PutIntentRequest, ): Effect.Effect< PutIntentResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | PreconditionFailedException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | PreconditionFailedException | CommonAwsError >; putSlotType( input: PutSlotTypeRequest, ): Effect.Effect< PutSlotTypeResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | PreconditionFailedException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | PreconditionFailedException | CommonAwsError >; startImport( input: StartImportRequest, ): Effect.Effect< StartImportResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; startMigration( input: StartMigrationRequest, ): Effect.Effect< StartMigrationResponse, - | AccessDeniedException - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; } @@ -1024,20 +801,7 @@ export interface ListTagsForResourceRequest { export interface ListTagsForResourceResponse { tags?: Array; } -export type Locale = - | "de-DE" - | "en-AU" - | "en-GB" - | "en-IN" - | "en-US" - | "es-419" - | "es-ES" - | "es-US" - | "fr-FR" - | "fr-CA" - | "it-IT" - | "ja-JP" - | "ko-KR"; +export type Locale = "de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR"; export type LocaleList = Array; export interface LogSettingsRequest { logType: LogType; @@ -1364,12 +1128,7 @@ export interface Statement { messages: Array; responseCard?: string; } -export type Status = - | "BUILDING" - | "READY" - | "READY_BASIC_TESTING" - | "FAILED" - | "NOT_BUILT"; +export type Status = "BUILDING" | "READY" | "READY_BASIC_TESTING" | "FAILED" | "NOT_BUILT"; export type StatusType = "Detected" | "Missed"; export type LexModelBuildingServiceString = string; @@ -1387,7 +1146,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Timestamp = Date | string; @@ -1396,7 +1156,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UserId = string; export type Utterance = string; @@ -1905,13 +1666,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type LexModelBuildingServiceErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | PreconditionFailedException - | ResourceInUseException - | CommonAwsError; +export type LexModelBuildingServiceErrors = AccessDeniedException | BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | PreconditionFailedException | ResourceInUseException | CommonAwsError; + diff --git a/src/services/lex-models-v2/index.ts b/src/services/lex-models-v2/index.ts index 62f74e38..0763f4c0 100644 --- a/src/services/lex-models-v2/index.ts +++ b/src/services/lex-models-v2/index.ts @@ -5,24 +5,7 @@ import type { LexModelsV2 as _LexModelsV2Client } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,151 +15,108 @@ const metadata = { sigV4ServiceName: "lex", endpointPrefix: "models-v2-lex", operations: { - BatchCreateCustomVocabularyItem: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchcreate", - BatchDeleteCustomVocabularyItem: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchdelete", - BatchUpdateCustomVocabularyItem: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchupdate", - BuildBotLocale: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}", - CreateBot: "PUT /bots", - CreateBotAlias: "PUT /bots/{botId}/botaliases", - CreateBotLocale: "PUT /bots/{botId}/botversions/{botVersion}/botlocales", - CreateBotReplica: "PUT /bots/{botId}/replicas", - CreateBotVersion: "PUT /bots/{botId}/botversions", - CreateExport: "PUT /exports", - CreateIntent: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents", - CreateResourcePolicy: "POST /policy/{resourceArn}", - CreateResourcePolicyStatement: "POST /policy/{resourceArn}/statements", - CreateSlot: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots", - CreateSlotType: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes", - CreateTestSetDiscrepancyReport: - "POST /testsets/{testSetId}/testsetdiscrepancy", - CreateUploadUrl: "POST /createuploadurl", - DeleteBot: "DELETE /bots/{botId}", - DeleteBotAlias: "DELETE /bots/{botId}/botaliases/{botAliasId}", - DeleteBotLocale: - "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}", - DeleteBotReplica: "DELETE /bots/{botId}/replicas/{replicaRegion}", - DeleteBotVersion: "DELETE /bots/{botId}/botversions/{botVersion}", - DeleteCustomVocabulary: - "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary", - DeleteExport: "DELETE /exports/{exportId}", - DeleteImport: "DELETE /imports/{importId}", - DeleteIntent: - "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}", - DeleteResourcePolicy: "DELETE /policy/{resourceArn}", - DeleteResourcePolicyStatement: - "DELETE /policy/{resourceArn}/statements/{statementId}", - DeleteSlot: - "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}", - DeleteSlotType: - "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}", - DeleteTestSet: "DELETE /testsets/{testSetId}", - DeleteUtterances: "DELETE /bots/{botId}/utterances", - DescribeBot: "GET /bots/{botId}", - DescribeBotAlias: "GET /bots/{botId}/botaliases/{botAliasId}", - DescribeBotLocale: - "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}", - DescribeBotRecommendation: - "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}", - DescribeBotReplica: "GET /bots/{botId}/replicas/{replicaRegion}", - DescribeBotResourceGeneration: - "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations/{generationId}", - DescribeBotVersion: "GET /bots/{botId}/botversions/{botVersion}", - DescribeCustomVocabularyMetadata: - "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/metadata", - DescribeExport: "GET /exports/{exportId}", - DescribeImport: "GET /imports/{importId}", - DescribeIntent: - "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}", - DescribeResourcePolicy: "GET /policy/{resourceArn}", - DescribeSlot: - "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}", - DescribeSlotType: - "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}", - DescribeTestExecution: "GET /testexecutions/{testExecutionId}", - DescribeTestSet: "GET /testsets/{testSetId}", - DescribeTestSetDiscrepancyReport: - "GET /testsetdiscrepancy/{testSetDiscrepancyReportId}", - DescribeTestSetGeneration: "GET /testsetgenerations/{testSetGenerationId}", - GenerateBotElement: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generate", - GetTestExecutionArtifactsUrl: - "GET /testexecutions/{testExecutionId}/artifacturl", - ListAggregatedUtterances: "POST /bots/{botId}/aggregatedutterances", - ListBotAliases: "POST /bots/{botId}/botaliases", - ListBotAliasReplicas: - "POST /bots/{botId}/replicas/{replicaRegion}/botaliases", - ListBotLocales: "POST /bots/{botId}/botversions/{botVersion}/botlocales", - ListBotRecommendations: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations", - ListBotReplicas: "POST /bots/{botId}/replicas", - ListBotResourceGenerations: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations", - ListBots: "POST /bots", - ListBotVersionReplicas: - "POST /bots/{botId}/replicas/{replicaRegion}/botversions", - ListBotVersions: "POST /bots/{botId}/botversions", - ListBuiltInIntents: "POST /builtins/locales/{localeId}/intents", - ListBuiltInSlotTypes: "POST /builtins/locales/{localeId}/slottypes", - ListCustomVocabularyItems: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/list", - ListExports: "POST /exports", - ListImports: "POST /imports", - ListIntentMetrics: "POST /bots/{botId}/analytics/intentmetrics", - ListIntentPaths: "POST /bots/{botId}/analytics/intentpaths", - ListIntents: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents", - ListIntentStageMetrics: "POST /bots/{botId}/analytics/intentstagemetrics", - ListRecommendedIntents: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/intents", - ListSessionAnalyticsData: "POST /bots/{botId}/analytics/sessions", - ListSessionMetrics: "POST /bots/{botId}/analytics/sessionmetrics", - ListSlots: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots", - ListSlotTypes: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes", - ListTagsForResource: "GET /tags/{resourceARN}", - ListTestExecutionResultItems: - "POST /testexecutions/{testExecutionId}/results", - ListTestExecutions: "POST /testexecutions", - ListTestSetRecords: "POST /testsets/{testSetId}/records", - ListTestSets: "POST /testsets", - ListUtteranceAnalyticsData: "POST /bots/{botId}/analytics/utterances", - ListUtteranceMetrics: "POST /bots/{botId}/analytics/utterancemetrics", - SearchAssociatedTranscripts: - "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/associatedtranscripts", - StartBotRecommendation: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations", - StartBotResourceGeneration: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/startgeneration", - StartImport: "PUT /imports", - StartTestExecution: "POST /testsets/{testSetId}/testexecutions", - StartTestSetGeneration: "PUT /testsetgenerations", - StopBotRecommendation: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation", - TagResource: "POST /tags/{resourceARN}", - UntagResource: "DELETE /tags/{resourceARN}", - UpdateBot: "PUT /bots/{botId}", - UpdateBotAlias: "PUT /bots/{botId}/botaliases/{botAliasId}", - UpdateBotLocale: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}", - UpdateBotRecommendation: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}", - UpdateExport: "PUT /exports/{exportId}", - UpdateIntent: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}", - UpdateResourcePolicy: "PUT /policy/{resourceArn}", - UpdateSlot: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}", - UpdateSlotType: - "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}", - UpdateTestSet: "PUT /testsets/{testSetId}", + "BatchCreateCustomVocabularyItem": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchcreate", + "BatchDeleteCustomVocabularyItem": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchdelete", + "BatchUpdateCustomVocabularyItem": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/batchupdate", + "BuildBotLocale": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}", + "CreateBot": "PUT /bots", + "CreateBotAlias": "PUT /bots/{botId}/botaliases", + "CreateBotLocale": "PUT /bots/{botId}/botversions/{botVersion}/botlocales", + "CreateBotReplica": "PUT /bots/{botId}/replicas", + "CreateBotVersion": "PUT /bots/{botId}/botversions", + "CreateExport": "PUT /exports", + "CreateIntent": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents", + "CreateResourcePolicy": "POST /policy/{resourceArn}", + "CreateResourcePolicyStatement": "POST /policy/{resourceArn}/statements", + "CreateSlot": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots", + "CreateSlotType": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes", + "CreateTestSetDiscrepancyReport": "POST /testsets/{testSetId}/testsetdiscrepancy", + "CreateUploadUrl": "POST /createuploadurl", + "DeleteBot": "DELETE /bots/{botId}", + "DeleteBotAlias": "DELETE /bots/{botId}/botaliases/{botAliasId}", + "DeleteBotLocale": "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}", + "DeleteBotReplica": "DELETE /bots/{botId}/replicas/{replicaRegion}", + "DeleteBotVersion": "DELETE /bots/{botId}/botversions/{botVersion}", + "DeleteCustomVocabulary": "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary", + "DeleteExport": "DELETE /exports/{exportId}", + "DeleteImport": "DELETE /imports/{importId}", + "DeleteIntent": "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}", + "DeleteResourcePolicy": "DELETE /policy/{resourceArn}", + "DeleteResourcePolicyStatement": "DELETE /policy/{resourceArn}/statements/{statementId}", + "DeleteSlot": "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}", + "DeleteSlotType": "DELETE /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}", + "DeleteTestSet": "DELETE /testsets/{testSetId}", + "DeleteUtterances": "DELETE /bots/{botId}/utterances", + "DescribeBot": "GET /bots/{botId}", + "DescribeBotAlias": "GET /bots/{botId}/botaliases/{botAliasId}", + "DescribeBotLocale": "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}", + "DescribeBotRecommendation": "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}", + "DescribeBotReplica": "GET /bots/{botId}/replicas/{replicaRegion}", + "DescribeBotResourceGeneration": "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations/{generationId}", + "DescribeBotVersion": "GET /bots/{botId}/botversions/{botVersion}", + "DescribeCustomVocabularyMetadata": "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/metadata", + "DescribeExport": "GET /exports/{exportId}", + "DescribeImport": "GET /imports/{importId}", + "DescribeIntent": "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}", + "DescribeResourcePolicy": "GET /policy/{resourceArn}", + "DescribeSlot": "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}", + "DescribeSlotType": "GET /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}", + "DescribeTestExecution": "GET /testexecutions/{testExecutionId}", + "DescribeTestSet": "GET /testsets/{testSetId}", + "DescribeTestSetDiscrepancyReport": "GET /testsetdiscrepancy/{testSetDiscrepancyReportId}", + "DescribeTestSetGeneration": "GET /testsetgenerations/{testSetGenerationId}", + "GenerateBotElement": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generate", + "GetTestExecutionArtifactsUrl": "GET /testexecutions/{testExecutionId}/artifacturl", + "ListAggregatedUtterances": "POST /bots/{botId}/aggregatedutterances", + "ListBotAliases": "POST /bots/{botId}/botaliases", + "ListBotAliasReplicas": "POST /bots/{botId}/replicas/{replicaRegion}/botaliases", + "ListBotLocales": "POST /bots/{botId}/botversions/{botVersion}/botlocales", + "ListBotRecommendations": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations", + "ListBotReplicas": "POST /bots/{botId}/replicas", + "ListBotResourceGenerations": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations", + "ListBots": "POST /bots", + "ListBotVersionReplicas": "POST /bots/{botId}/replicas/{replicaRegion}/botversions", + "ListBotVersions": "POST /bots/{botId}/botversions", + "ListBuiltInIntents": "POST /builtins/locales/{localeId}/intents", + "ListBuiltInSlotTypes": "POST /builtins/locales/{localeId}/slottypes", + "ListCustomVocabularyItems": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/list", + "ListExports": "POST /exports", + "ListImports": "POST /imports", + "ListIntentMetrics": "POST /bots/{botId}/analytics/intentmetrics", + "ListIntentPaths": "POST /bots/{botId}/analytics/intentpaths", + "ListIntents": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents", + "ListIntentStageMetrics": "POST /bots/{botId}/analytics/intentstagemetrics", + "ListRecommendedIntents": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/intents", + "ListSessionAnalyticsData": "POST /bots/{botId}/analytics/sessions", + "ListSessionMetrics": "POST /bots/{botId}/analytics/sessionmetrics", + "ListSlots": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots", + "ListSlotTypes": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes", + "ListTagsForResource": "GET /tags/{resourceARN}", + "ListTestExecutionResultItems": "POST /testexecutions/{testExecutionId}/results", + "ListTestExecutions": "POST /testexecutions", + "ListTestSetRecords": "POST /testsets/{testSetId}/records", + "ListTestSets": "POST /testsets", + "ListUtteranceAnalyticsData": "POST /bots/{botId}/analytics/utterances", + "ListUtteranceMetrics": "POST /bots/{botId}/analytics/utterancemetrics", + "SearchAssociatedTranscripts": "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/associatedtranscripts", + "StartBotRecommendation": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations", + "StartBotResourceGeneration": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/startgeneration", + "StartImport": "PUT /imports", + "StartTestExecution": "POST /testsets/{testSetId}/testexecutions", + "StartTestSetGeneration": "PUT /testsetgenerations", + "StopBotRecommendation": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation", + "TagResource": "POST /tags/{resourceARN}", + "UntagResource": "DELETE /tags/{resourceARN}", + "UpdateBot": "PUT /bots/{botId}", + "UpdateBotAlias": "PUT /bots/{botId}/botaliases/{botAliasId}", + "UpdateBotLocale": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}", + "UpdateBotRecommendation": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}", + "UpdateExport": "PUT /exports/{exportId}", + "UpdateIntent": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}", + "UpdateResourcePolicy": "PUT /policy/{resourceArn}", + "UpdateSlot": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/intents/{intentId}/slots/{slotId}", + "UpdateSlotType": "PUT /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/slottypes/{slotTypeId}", + "UpdateTestSet": "PUT /testsets/{testSetId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/lex-models-v2/types.ts b/src/services/lex-models-v2/types.ts index a11f299f..6bdb1c97 100644 --- a/src/services/lex-models-v2/types.ts +++ b/src/services/lex-models-v2/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class LexModelsV2 extends AWSServiceClient { @@ -41,1134 +8,613 @@ export declare class LexModelsV2 extends AWSServiceClient { input: BatchCreateCustomVocabularyItemRequest, ): Effect.Effect< BatchCreateCustomVocabularyItemResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchDeleteCustomVocabularyItem( input: BatchDeleteCustomVocabularyItemRequest, ): Effect.Effect< BatchDeleteCustomVocabularyItemResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchUpdateCustomVocabularyItem( input: BatchUpdateCustomVocabularyItemRequest, ): Effect.Effect< BatchUpdateCustomVocabularyItemResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; buildBotLocale( input: BuildBotLocaleRequest, ): Effect.Effect< BuildBotLocaleResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createBot( input: CreateBotRequest, ): Effect.Effect< CreateBotResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createBotAlias( input: CreateBotAliasRequest, ): Effect.Effect< CreateBotAliasResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createBotLocale( input: CreateBotLocaleRequest, ): Effect.Effect< CreateBotLocaleResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createBotReplica( input: CreateBotReplicaRequest, ): Effect.Effect< CreateBotReplicaResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createBotVersion( input: CreateBotVersionRequest, ): Effect.Effect< CreateBotVersionResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createExport( input: CreateExportRequest, ): Effect.Effect< CreateExportResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createIntent( input: CreateIntentRequest, ): Effect.Effect< CreateIntentResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createResourcePolicy( input: CreateResourcePolicyRequest, ): Effect.Effect< CreateResourcePolicyResponse, - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createResourcePolicyStatement( input: CreateResourcePolicyStatementRequest, ): Effect.Effect< CreateResourcePolicyStatementResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSlot( input: CreateSlotRequest, ): Effect.Effect< CreateSlotResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSlotType( input: CreateSlotTypeRequest, ): Effect.Effect< CreateSlotTypeResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTestSetDiscrepancyReport( input: CreateTestSetDiscrepancyReportRequest, ): Effect.Effect< CreateTestSetDiscrepancyReportResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createUploadUrl( input: CreateUploadUrlRequest, ): Effect.Effect< CreateUploadUrlResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteBot( input: DeleteBotRequest, ): Effect.Effect< DeleteBotResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteBotAlias( input: DeleteBotAliasRequest, ): Effect.Effect< DeleteBotAliasResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteBotLocale( input: DeleteBotLocaleRequest, ): Effect.Effect< DeleteBotLocaleResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteBotReplica( input: DeleteBotReplicaRequest, ): Effect.Effect< DeleteBotReplicaResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteBotVersion( input: DeleteBotVersionRequest, ): Effect.Effect< DeleteBotVersionResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteCustomVocabulary( input: DeleteCustomVocabularyRequest, ): Effect.Effect< DeleteCustomVocabularyResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteExport( input: DeleteExportRequest, ): Effect.Effect< DeleteExportResponse, - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteImport( input: DeleteImportRequest, ): Effect.Effect< DeleteImportResponse, - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteIntent( input: DeleteIntentRequest, ): Effect.Effect< {}, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | PreconditionFailedException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteResourcePolicyStatement( input: DeleteResourcePolicyStatementRequest, ): Effect.Effect< DeleteResourcePolicyStatementResponse, - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | PreconditionFailedException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteSlot( input: DeleteSlotRequest, ): Effect.Effect< {}, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteSlotType( input: DeleteSlotTypeRequest, ): Effect.Effect< {}, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteTestSet( input: DeleteTestSetRequest, ): Effect.Effect< {}, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteUtterances( input: DeleteUtterancesRequest, ): Effect.Effect< DeleteUtterancesResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeBot( input: DescribeBotRequest, ): Effect.Effect< DescribeBotResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeBotAlias( input: DescribeBotAliasRequest, ): Effect.Effect< DescribeBotAliasResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeBotLocale( input: DescribeBotLocaleRequest, ): Effect.Effect< DescribeBotLocaleResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeBotRecommendation( input: DescribeBotRecommendationRequest, ): Effect.Effect< DescribeBotRecommendationResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeBotReplica( input: DescribeBotReplicaRequest, ): Effect.Effect< DescribeBotReplicaResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeBotResourceGeneration( input: DescribeBotResourceGenerationRequest, ): Effect.Effect< DescribeBotResourceGenerationResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeBotVersion( input: DescribeBotVersionRequest, ): Effect.Effect< DescribeBotVersionResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeCustomVocabularyMetadata( input: DescribeCustomVocabularyMetadataRequest, ): Effect.Effect< DescribeCustomVocabularyMetadataResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeExport( input: DescribeExportRequest, ): Effect.Effect< DescribeExportResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeImport( input: DescribeImportRequest, ): Effect.Effect< DescribeImportResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeIntent( input: DescribeIntentRequest, ): Effect.Effect< DescribeIntentResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeResourcePolicy( input: DescribeResourcePolicyRequest, ): Effect.Effect< DescribeResourcePolicyResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeSlot( input: DescribeSlotRequest, ): Effect.Effect< DescribeSlotResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeSlotType( input: DescribeSlotTypeRequest, ): Effect.Effect< DescribeSlotTypeResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeTestExecution( input: DescribeTestExecutionRequest, ): Effect.Effect< DescribeTestExecutionResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeTestSet( input: DescribeTestSetRequest, ): Effect.Effect< DescribeTestSetResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeTestSetDiscrepancyReport( input: DescribeTestSetDiscrepancyReportRequest, ): Effect.Effect< DescribeTestSetDiscrepancyReportResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeTestSetGeneration( input: DescribeTestSetGenerationRequest, ): Effect.Effect< DescribeTestSetGenerationResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; generateBotElement( input: GenerateBotElementRequest, ): Effect.Effect< - GenerateBotElementResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + GenerateBotElementResponse, + ConflictException | InternalServerException | PreconditionFailedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getTestExecutionArtifactsUrl( input: GetTestExecutionArtifactsUrlRequest, ): Effect.Effect< GetTestExecutionArtifactsUrlResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listAggregatedUtterances( input: ListAggregatedUtterancesRequest, ): Effect.Effect< ListAggregatedUtterancesResponse, - | InternalServerException - | PreconditionFailedException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ThrottlingException | ValidationException | CommonAwsError >; listBotAliases( input: ListBotAliasesRequest, ): Effect.Effect< ListBotAliasesResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listBotAliasReplicas( input: ListBotAliasReplicasRequest, ): Effect.Effect< ListBotAliasReplicasResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listBotLocales( input: ListBotLocalesRequest, ): Effect.Effect< ListBotLocalesResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listBotRecommendations( input: ListBotRecommendationsRequest, ): Effect.Effect< ListBotRecommendationsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBotReplicas( input: ListBotReplicasRequest, ): Effect.Effect< ListBotReplicasResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listBotResourceGenerations( input: ListBotResourceGenerationsRequest, ): Effect.Effect< ListBotResourceGenerationsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBots( input: ListBotsRequest, ): Effect.Effect< ListBotsResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listBotVersionReplicas( input: ListBotVersionReplicasRequest, ): Effect.Effect< ListBotVersionReplicasResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listBotVersions( input: ListBotVersionsRequest, ): Effect.Effect< ListBotVersionsResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listBuiltInIntents( input: ListBuiltInIntentsRequest, ): Effect.Effect< ListBuiltInIntentsResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listBuiltInSlotTypes( input: ListBuiltInSlotTypesRequest, ): Effect.Effect< ListBuiltInSlotTypesResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listCustomVocabularyItems( input: ListCustomVocabularyItemsRequest, ): Effect.Effect< ListCustomVocabularyItemsResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listExports( input: ListExportsRequest, ): Effect.Effect< ListExportsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listImports( input: ListImportsRequest, ): Effect.Effect< ListImportsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listIntentMetrics( input: ListIntentMetricsRequest, ): Effect.Effect< ListIntentMetricsResponse, - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listIntentPaths( input: ListIntentPathsRequest, ): Effect.Effect< ListIntentPathsResponse, - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listIntents( input: ListIntentsRequest, ): Effect.Effect< ListIntentsResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listIntentStageMetrics( input: ListIntentStageMetricsRequest, ): Effect.Effect< ListIntentStageMetricsResponse, - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listRecommendedIntents( input: ListRecommendedIntentsRequest, ): Effect.Effect< ListRecommendedIntentsResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listSessionAnalyticsData( input: ListSessionAnalyticsDataRequest, ): Effect.Effect< ListSessionAnalyticsDataResponse, - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listSessionMetrics( input: ListSessionMetricsRequest, ): Effect.Effect< ListSessionMetricsResponse, - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listSlots( input: ListSlotsRequest, ): Effect.Effect< ListSlotsResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listSlotTypes( input: ListSlotTypesRequest, ): Effect.Effect< ListSlotTypesResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTestExecutionResultItems( input: ListTestExecutionResultItemsRequest, ): Effect.Effect< ListTestExecutionResultItemsResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTestExecutions( input: ListTestExecutionsRequest, ): Effect.Effect< ListTestExecutionsResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTestSetRecords( input: ListTestSetRecordsRequest, ): Effect.Effect< ListTestSetRecordsResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTestSets( input: ListTestSetsRequest, ): Effect.Effect< ListTestSetsResponse, - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listUtteranceAnalyticsData( input: ListUtteranceAnalyticsDataRequest, ): Effect.Effect< ListUtteranceAnalyticsDataResponse, - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listUtteranceMetrics( input: ListUtteranceMetricsRequest, ): Effect.Effect< ListUtteranceMetricsResponse, - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; searchAssociatedTranscripts( input: SearchAssociatedTranscriptsRequest, ): Effect.Effect< SearchAssociatedTranscriptsResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startBotRecommendation( input: StartBotRecommendationRequest, ): Effect.Effect< StartBotRecommendationResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startBotResourceGeneration( input: StartBotResourceGenerationRequest, ): Effect.Effect< StartBotResourceGenerationResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startImport( input: StartImportRequest, ): Effect.Effect< StartImportResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startTestExecution( input: StartTestExecutionRequest, ): Effect.Effect< StartTestExecutionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startTestSetGeneration( input: StartTestSetGenerationRequest, ): Effect.Effect< StartTestSetGenerationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopBotRecommendation( input: StopBotRecommendationRequest, ): Effect.Effect< StopBotRecommendationResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateBot( input: UpdateBotRequest, ): Effect.Effect< UpdateBotResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateBotAlias( input: UpdateBotAliasRequest, ): Effect.Effect< UpdateBotAliasResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateBotLocale( input: UpdateBotLocaleRequest, ): Effect.Effect< UpdateBotLocaleResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateBotRecommendation( input: UpdateBotRecommendationRequest, ): Effect.Effect< UpdateBotRecommendationResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateExport( input: UpdateExportRequest, ): Effect.Effect< UpdateExportResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateIntent( input: UpdateIntentRequest, ): Effect.Effect< UpdateIntentResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateResourcePolicy( input: UpdateResourcePolicyRequest, ): Effect.Effect< UpdateResourcePolicyResponse, - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | PreconditionFailedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateSlot( input: UpdateSlotRequest, ): Effect.Effect< UpdateSlotResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateSlotType( input: UpdateSlotTypeRequest, ): Effect.Effect< UpdateSlotTypeResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateTestSet( input: UpdateTestSetRequest, ): Effect.Effect< UpdateTestSetResponse, - | ConflictException - | InternalServerException - | PreconditionFailedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | PreconditionFailedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1212,8 +658,7 @@ export interface AggregatedUtterancesSummary { utteranceLastRecordedInAggregationDuration?: Date | string; containsDataFromDeletedResources?: boolean; } -export type AggregatedUtterancesSummaryList = - Array; +export type AggregatedUtterancesSummaryList = Array; export interface AllowedInputTypes { allowAudioInput: boolean; allowDTMFInput: boolean; @@ -1236,45 +681,27 @@ export type AnalyticsBinValue = number; export type AnalyticsChannel = string; -export type AnalyticsCommonFilterName = - | "BotAliasId" - | "BotVersion" - | "LocaleId" - | "Modality" - | "Channel"; +export type AnalyticsCommonFilterName = "BotAliasId" | "BotVersion" | "LocaleId" | "Modality" | "Channel"; export type AnalyticsFilterOperator = "EQ" | "GT" | "LT"; export type AnalyticsFilterValue = string; export type AnalyticsFilterValues = Array; export type AnalyticsGroupByValue = string; -export type AnalyticsIntentField = - | "IntentName" - | "IntentEndState" - | "IntentLevel"; +export type AnalyticsIntentField = "IntentName" | "IntentEndState" | "IntentLevel"; export interface AnalyticsIntentFilter { name: AnalyticsIntentFilterName; operator: AnalyticsFilterOperator; values: Array; } -export type AnalyticsIntentFilterName = - | "BotAliasId" - | "BotVersion" - | "LocaleId" - | "Modality" - | "Channel" - | "SessionId" - | "OriginatingRequestId" - | "IntentName" - | "IntentEndState"; +export type AnalyticsIntentFilterName = "BotAliasId" | "BotVersion" | "LocaleId" | "Modality" | "Channel" | "SessionId" | "OriginatingRequestId" | "IntentName" | "IntentEndState"; export type AnalyticsIntentFilters = Array; export interface AnalyticsIntentGroupByKey { name?: AnalyticsIntentField; value?: string; } export type AnalyticsIntentGroupByKeys = Array; -export type AnalyticsIntentGroupByList = - Array; +export type AnalyticsIntentGroupByList = Array; export interface AnalyticsIntentGroupBySpecification { name: AnalyticsIntentField; } @@ -1283,12 +710,7 @@ export interface AnalyticsIntentMetric { statistic: AnalyticsMetricStatistic; order?: AnalyticsSortOrder; } -export type AnalyticsIntentMetricName = - | "Count" - | "Success" - | "Failure" - | "Switched" - | "Dropped"; +export type AnalyticsIntentMetricName = "Count" | "Success" | "Failure" | "Switched" | "Dropped"; export interface AnalyticsIntentMetricResult { name?: AnalyticsIntentMetricName; statistic?: AnalyticsMetricStatistic; @@ -1316,25 +738,14 @@ export interface AnalyticsIntentStageFilter { operator: AnalyticsFilterOperator; values: Array; } -export type AnalyticsIntentStageFilterName = - | "BotAliasId" - | "BotVersion" - | "LocaleId" - | "Modality" - | "Channel" - | "SessionId" - | "OriginatingRequestId" - | "IntentName" - | "IntentStageName"; +export type AnalyticsIntentStageFilterName = "BotAliasId" | "BotVersion" | "LocaleId" | "Modality" | "Channel" | "SessionId" | "OriginatingRequestId" | "IntentName" | "IntentStageName"; export type AnalyticsIntentStageFilters = Array; export interface AnalyticsIntentStageGroupByKey { name?: AnalyticsIntentStageField; value?: string; } -export type AnalyticsIntentStageGroupByKeys = - Array; -export type AnalyticsIntentStageGroupByList = - Array; +export type AnalyticsIntentStageGroupByKeys = Array; +export type AnalyticsIntentStageGroupByList = Array; export interface AnalyticsIntentStageGroupBySpecification { name: AnalyticsIntentStageField; } @@ -1343,19 +754,13 @@ export interface AnalyticsIntentStageMetric { statistic: AnalyticsMetricStatistic; order?: AnalyticsSortOrder; } -export type AnalyticsIntentStageMetricName = - | "Count" - | "Success" - | "Failed" - | "Dropped" - | "Retry"; +export type AnalyticsIntentStageMetricName = "Count" | "Success" | "Failed" | "Dropped" | "Retry"; export interface AnalyticsIntentStageMetricResult { name?: AnalyticsIntentStageMetricName; statistic?: AnalyticsMetricStatistic; value?: number; } -export type AnalyticsIntentStageMetricResults = - Array; +export type AnalyticsIntentStageMetricResults = Array; export type AnalyticsIntentStageMetrics = Array; export interface AnalyticsIntentStageResult { binKeys?: Array; @@ -1391,25 +796,14 @@ export interface AnalyticsSessionFilter { operator: AnalyticsFilterOperator; values: Array; } -export type AnalyticsSessionFilterName = - | "BotAliasId" - | "BotVersion" - | "LocaleId" - | "Modality" - | "Channel" - | "Duration" - | "ConversationEndState" - | "SessionId" - | "OriginatingRequestId" - | "IntentPath"; +export type AnalyticsSessionFilterName = "BotAliasId" | "BotVersion" | "LocaleId" | "Modality" | "Channel" | "Duration" | "ConversationEndState" | "SessionId" | "OriginatingRequestId" | "IntentPath"; export type AnalyticsSessionFilters = Array; export interface AnalyticsSessionGroupByKey { name?: AnalyticsSessionField; value?: string; } export type AnalyticsSessionGroupByKeys = Array; -export type AnalyticsSessionGroupByList = - Array; +export type AnalyticsSessionGroupByList = Array; export interface AnalyticsSessionGroupBySpecification { name: AnalyticsSessionField; } @@ -1420,14 +814,7 @@ export interface AnalyticsSessionMetric { statistic: AnalyticsMetricStatistic; order?: AnalyticsSortOrder; } -export type AnalyticsSessionMetricName = - | "Count" - | "Success" - | "Failure" - | "Dropped" - | "Duration" - | "TurnsPerConversation" - | "Concurrency"; +export type AnalyticsSessionMetricName = "Count" | "Success" | "Failure" | "Dropped" | "Duration" | "TurnsPerConversation" | "Concurrency"; export interface AnalyticsSessionMetricResult { name?: AnalyticsSessionMetricName; statistic?: AnalyticsMetricStatistic; @@ -1441,10 +828,7 @@ export interface AnalyticsSessionResult { metricsResults?: Array; } export type AnalyticsSessionResults = Array; -export type AnalyticsSessionSortByName = - | "ConversationStartTime" - | "NumberOfTurns" - | "Duration"; +export type AnalyticsSessionSortByName = "ConversationStartTime" | "NumberOfTurns" | "Duration"; export type AnalyticsSortOrder = "Ascending" | "Descending"; export interface AnalyticsUtteranceAttribute { name: AnalyticsUtteranceAttributeName; @@ -1453,8 +837,7 @@ export type AnalyticsUtteranceAttributeName = "LastUsedIntent"; export interface AnalyticsUtteranceAttributeResult { lastUsedIntent?: string; } -export type AnalyticsUtteranceAttributeResults = - Array; +export type AnalyticsUtteranceAttributeResults = Array; export type AnalyticsUtteranceAttributes = Array; export type AnalyticsUtteranceField = "UtteranceText" | "UtteranceState"; export interface AnalyticsUtteranceFilter { @@ -1462,24 +845,14 @@ export interface AnalyticsUtteranceFilter { operator: AnalyticsFilterOperator; values: Array; } -export type AnalyticsUtteranceFilterName = - | "BotAliasId" - | "BotVersion" - | "LocaleId" - | "Modality" - | "Channel" - | "SessionId" - | "OriginatingRequestId" - | "UtteranceState" - | "UtteranceText"; +export type AnalyticsUtteranceFilterName = "BotAliasId" | "BotVersion" | "LocaleId" | "Modality" | "Channel" | "SessionId" | "OriginatingRequestId" | "UtteranceState" | "UtteranceText"; export type AnalyticsUtteranceFilters = Array; export interface AnalyticsUtteranceGroupByKey { name?: AnalyticsUtteranceField; value?: string; } export type AnalyticsUtteranceGroupByKeys = Array; -export type AnalyticsUtteranceGroupByList = - Array; +export type AnalyticsUtteranceGroupByList = Array; export interface AnalyticsUtteranceGroupBySpecification { name: AnalyticsUtteranceField; } @@ -1488,18 +861,13 @@ export interface AnalyticsUtteranceMetric { statistic: AnalyticsMetricStatistic; order?: AnalyticsSortOrder; } -export type AnalyticsUtteranceMetricName = - | "Count" - | "Missed" - | "Detected" - | "UtteranceTimestamp"; +export type AnalyticsUtteranceMetricName = "Count" | "Missed" | "Detected" | "UtteranceTimestamp"; export interface AnalyticsUtteranceMetricResult { name?: AnalyticsUtteranceMetricName; statistic?: AnalyticsMetricStatistic; value?: number; } -export type AnalyticsUtteranceMetricResults = - Array; +export type AnalyticsUtteranceMetricResults = Array; export type AnalyticsUtteranceMetrics = Array; export interface AnalyticsUtteranceResult { binKeys?: Array; @@ -1640,12 +1008,7 @@ export interface BotAliasReplicaSummary { failureReasons?: Array; } export type BotAliasReplicaSummaryList = Array; -export type BotAliasReplicationStatus = - | "Creating" - | "Updating" - | "Available" - | "Deleting" - | "Failed"; +export type BotAliasReplicationStatus = "Creating" | "Updating" | "Available" | "Deleting" | "Failed"; export type BotAliasStatus = "Creating" | "Available" | "Deleting" | "Failed"; export interface BotAliasSummary { botAliasId?: string; @@ -1715,16 +1078,7 @@ export interface BotLocaleSortBy { attribute: BotLocaleSortAttribute; order: SortOrder; } -export type BotLocaleStatus = - | "Creating" - | "Building" - | "Built" - | "ReadyExpressTesting" - | "Failed" - | "Deleting" - | "NotBuilt" - | "Importing" - | "Processing"; +export type BotLocaleStatus = "Creating" | "Building" | "Built" | "ReadyExpressTesting" | "Failed" | "Deleting" | "NotBuilt" | "Importing" | "Processing"; export interface BotLocaleSummary { localeId?: string; localeName?: string; @@ -1751,16 +1105,7 @@ export interface BotRecommendationResultStatistics { intents?: IntentStatistics; slotTypes?: SlotTypeStatistics; } -export type BotRecommendationStatus = - | "Processing" - | "Deleting" - | "Deleted" - | "Downloading" - | "Updating" - | "Available" - | "Failed" - | "Stopping" - | "Stopped"; +export type BotRecommendationStatus = "Processing" | "Deleting" | "Deleted" | "Downloading" | "Updating" | "Available" | "Failed" | "Stopping" | "Stopped"; export interface BotRecommendationSummary { botRecommendationStatus: BotRecommendationStatus; botRecommendationId: string; @@ -1781,15 +1126,7 @@ export interface BotSortBy { attribute: BotSortAttribute; order: SortOrder; } -export type BotStatus = - | "Creating" - | "Available" - | "Inactive" - | "Deleting" - | "Failed" - | "Versioning" - | "Importing" - | "Updating"; +export type BotStatus = "Creating" | "Available" | "Inactive" | "Deleting" | "Failed" | "Versioning" | "Importing" | "Updating"; export interface BotSummary { botId?: string; botName?: string; @@ -1806,10 +1143,7 @@ export type BotVersion = string; export interface BotVersionLocaleDetails { sourceBotVersion: string; } -export type BotVersionLocaleSpecification = Record< - string, - BotVersionLocaleDetails ->; +export type BotVersionLocaleSpecification = Record; export type BotVersionReplicaSortAttribute = "BotVersion"; export interface BotVersionReplicaSortBy { attribute: BotVersionReplicaSortAttribute; @@ -1822,11 +1156,7 @@ export interface BotVersionReplicaSummary { failureReasons?: Array; } export type BotVersionReplicaSummaryList = Array; -export type BotVersionReplicationStatus = - | "Creating" - | "Available" - | "Deleting" - | "Failed"; +export type BotVersionReplicationStatus = "Creating" | "Available" | "Deleting" | "Failed"; export type BotVersionSortAttribute = "BotVersion"; export interface BotVersionSortBy { attribute: BotVersionSortAttribute; @@ -1948,8 +1278,7 @@ export interface ConversationLevelIntentClassificationResultItem { intentName: string; matchResult: TestResultMatchStatus; } -export type ConversationLevelIntentClassificationResults = - Array; +export type ConversationLevelIntentClassificationResults = Array; export interface ConversationLevelResultDetail { endToEndResult: TestResultMatchStatus; speechTranscriptionResult?: TestResultMatchStatus; @@ -1959,8 +1288,7 @@ export interface ConversationLevelSlotResolutionResultItem { slotName: string; matchResult: TestResultMatchStatus; } -export type ConversationLevelSlotResolutionResults = - Array; +export type ConversationLevelSlotResolutionResults = Array; export interface ConversationLevelTestResultItem { conversationId: string; endToEndResult: TestResultMatchStatus; @@ -1968,8 +1296,7 @@ export interface ConversationLevelTestResultItem { intentClassificationResults: Array; slotResolutionResults: Array; } -export type ConversationLevelTestResultItemList = - Array; +export type ConversationLevelTestResultItemList = Array; export interface ConversationLevelTestResults { items: Array; } @@ -2227,7 +1554,8 @@ export interface CreateTestSetDiscrepancyReportResponse { testSetId?: string; target?: TestSetDiscrepancyReportResourceTarget; } -export interface CreateUploadUrlRequest {} +export interface CreateUploadUrlRequest { +} export interface CreateUploadUrlResponse { importId?: string; uploadUrl?: string; @@ -2257,12 +1585,7 @@ export interface CustomVocabularyItem { displayAs?: string; } export type CustomVocabularyItems = Array; -export type CustomVocabularyStatus = - | "Ready" - | "Deleting" - | "Exporting" - | "Importing" - | "Creating"; +export type CustomVocabularyStatus = "Ready" | "Deleting" | "Exporting" | "Importing" | "Creating"; export interface DataPrivacy { childDirected: boolean; } @@ -2398,7 +1721,8 @@ export interface DeleteUtterancesRequest { localeId?: string; sessionId?: string; } -export interface DeleteUtterancesResponse {} +export interface DeleteUtterancesResponse { +} export interface DescribeBotAliasRequest { botAliasId: string; botId: string; @@ -2721,16 +2045,7 @@ export interface DialogAction { slotToElicit?: string; suppressNextMessage?: boolean; } -export type DialogActionType = - | "ElicitIntent" - | "StartIntent" - | "ElicitSlot" - | "EvaluateConditional" - | "InvokeDialogCodeHook" - | "ConfirmIntent" - | "FulfillIntent" - | "CloseIntent" - | "EndConversation"; +export type DialogActionType = "ElicitIntent" | "StartIntent" | "ElicitSlot" | "EvaluateConditional" | "InvokeDialogCodeHook" | "ConfirmIntent" | "FulfillIntent" | "CloseIntent" | "EndConversation"; export interface DialogCodeHookInvocationSetting { enableCodeHookInvocation: boolean; active: boolean; @@ -2769,11 +2084,7 @@ export interface EncryptionSetting { botLocaleExportPassword?: string; associatedTranscriptsPassword?: string; } -export type ErrorCode = - | "DUPLICATE_INPUT" - | "RESOURCE_DOES_NOT_EXIST" - | "RESOURCE_ALREADY_EXISTS" - | "INTERNAL_SERVER_FAILURE"; +export type ErrorCode = "DUPLICATE_INPUT" | "RESOURCE_DOES_NOT_EXIST" | "RESOURCE_ALREADY_EXISTS" | "INTERNAL_SERVER_FAILURE"; export interface ErrorLogSettings { enabled: boolean; } @@ -2939,11 +2250,7 @@ export interface ImportResourceSpecification { customVocabularyImportSpecification?: CustomVocabularyImportSpecification; testSetImportResourceSpecification?: TestSetImportResourceSpecification; } -export type ImportResourceType = - | "Bot" - | "BotLocale" - | "CustomVocabulary" - | "TestSet"; +export type ImportResourceType = "Bot" | "BotLocale" | "CustomVocabulary" | "TestSet"; export type ImportSortAttribute = "LastUpdatedDateTime"; export interface ImportSortBy { attribute: ImportSortAttribute; @@ -2988,8 +2295,7 @@ export interface IntentClassificationTestResultItemCounts { speechTranscriptionResultCounts?: { [key in TestResultMatchStatus]?: string }; intentMatchResultCounts: { [key in TestResultMatchStatus]?: string }; } -export type IntentClassificationTestResultItemList = - Array; +export type IntentClassificationTestResultItemList = Array; export interface IntentClassificationTestResults { items: Array; } @@ -3027,8 +2333,7 @@ export interface IntentLevelSlotResolutionTestResultItem { multiTurnConversation: boolean; slotResolutionResults: Array; } -export type IntentLevelSlotResolutionTestResultItemList = - Array; +export type IntentLevelSlotResolutionTestResultItemList = Array; export interface IntentLevelSlotResolutionTestResults { items: Array; } @@ -3043,13 +2348,7 @@ export interface IntentSortBy { attribute: IntentSortAttribute; order: SortOrder; } -export type IntentState = - | "Failed" - | "Fulfilled" - | "InProgress" - | "ReadyForFulfillment" - | "Waiting" - | "FulfillmentInProgress"; +export type IntentState = "Failed" | "Fulfilled" | "InProgress" | "ReadyForFulfillment" | "Waiting" | "FulfillmentInProgress"; export interface IntentStatistics { discoveredIntentCount?: number; } @@ -3642,23 +2941,14 @@ export type PrincipalArn = string; export type PrincipalList = Array; export type PriorityValue = number; -export type PromptAttempt = - | "Initial" - | "Retry1" - | "Retry2" - | "Retry3" - | "Retry4" - | "Retry5"; +export type PromptAttempt = "Initial" | "Retry1" | "Retry2" | "Retry3" | "Retry4" | "Retry5"; export interface PromptAttemptSpecification { allowInterrupt?: boolean; allowedInputTypes: AllowedInputTypes; audioAndDTMFInputSpecification?: AudioAndDTMFInputSpecification; textInputSpecification?: TextInputSpecification; } -export type PromptAttemptsSpecificationMap = Record< - PromptAttempt, - PromptAttemptSpecification ->; +export type PromptAttemptsSpecificationMap = Record; export type PromptMaxRetries = number; export interface PromptSpecification { @@ -3858,10 +3148,7 @@ export interface SlotFilter { export type SlotFilterName = "SlotName"; export type SlotFilterOperator = "CO" | "EQ"; export type SlotFilters = Array; -export type SlotHintsIntentMap = Record< - string, - Record ->; +export type SlotHintsIntentMap = Record>; export type SlotHintsSlotMap = Record; export type SlotPrioritiesList = Array; export interface SlotPriority { @@ -3902,11 +3189,7 @@ export interface SlotSummary { lastUpdatedDateTime?: Date | string; } export type SlotSummaryList = Array; -export type SlotTypeCategory = - | "Custom" - | "Extended" - | "ExternalGrammar" - | "Composite"; +export type SlotTypeCategory = "Custom" | "Extended" | "ExternalGrammar" | "Composite"; export interface SlotTypeFilter { name: SlotTypeFilterName; values: Array; @@ -3960,10 +3243,7 @@ export type SlotValueOverrideMap = Record; export interface SlotValueRegexFilter { pattern: string; } -export type SlotValueResolutionStrategy = - | "OriginalValue" - | "TopResolution" - | "Concatenation"; +export type SlotValueResolutionStrategy = "OriginalValue" | "TopResolution" | "Concatenation"; export type SlotValues = Array; export interface SlotValueSelectionSetting { resolutionStrategy: SlotValueResolutionStrategy; @@ -4111,7 +3391,8 @@ export interface TagResourceRequest { resourceARN: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TestExecutionApiMode = "Streaming" | "NonStreaming"; @@ -4132,14 +3413,7 @@ export interface TestExecutionSortBy { attribute: TestExecutionSortAttribute; order: SortOrder; } -export type TestExecutionStatus = - | "Pending" - | "Waiting" - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped"; +export type TestExecutionStatus = "Pending" | "Waiting" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"; export interface TestExecutionSummary { testExecutionId?: string; creationDateTime?: Date | string; @@ -4156,18 +3430,10 @@ export interface TestExecutionTarget { botAliasTarget?: BotAliasTestExecutionTarget; } export type TestResultMatchStatus = "Matched" | "Mismatched" | "ExecutionError"; -export type TestResultMatchStatusCountMap = Record< - TestResultMatchStatus, - number ->; +export type TestResultMatchStatusCountMap = Record; export type TestResultSlotName = string; -export type TestResultTypeFilter = - | "OverallTestResults" - | "ConversationLevelTestResults" - | "IntentClassificationTestResults" - | "SlotResolutionTestResults" - | "UtteranceLevelResults"; +export type TestResultTypeFilter = "OverallTestResults" | "ConversationLevelTestResults" | "IntentClassificationTestResults" | "SlotResolutionTestResults" | "UtteranceLevelResults"; export type TestSetAgentPrompt = string; export type TestSetConversationId = string; @@ -4184,21 +3450,14 @@ export interface TestSetDiscrepancyReportBotAliasTarget { export interface TestSetDiscrepancyReportResourceTarget { botAliasTarget?: TestSetDiscrepancyReportBotAliasTarget; } -export type TestSetDiscrepancyReportStatus = - | "InProgress" - | "Completed" - | "Failed"; +export type TestSetDiscrepancyReportStatus = "InProgress" | "Completed" | "Failed"; export interface TestSetExportSpecification { testSetId: string; } export interface TestSetGenerationDataSource { conversationLogsDataSource?: ConversationLogsDataSource; } -export type TestSetGenerationStatus = - | "Generating" - | "Ready" - | "Failed" - | "Pending"; +export type TestSetGenerationStatus = "Generating" | "Ready" | "Failed" | "Pending"; export interface TestSetImportInputLocation { s3BucketName: string; s3Path: string; @@ -4229,12 +3488,7 @@ export interface TestSetSortBy { attribute: TestSetSortAttribute; order: SortOrder; } -export type TestSetStatus = - | "Importing" - | "PendingAnnotation" - | "Deleting" - | "ValidationError" - | "Ready"; +export type TestSetStatus = "Importing" | "PendingAnnotation" | "Deleting" | "ValidationError" | "Ready"; export interface TestSetStorageLocation { s3BucketName: string; s3Path: string; @@ -4310,7 +3564,8 @@ export interface UntagResourceRequest { resourceARN: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateBotAliasRequest { botAliasId: string; botAliasName: string; @@ -4592,11 +3847,7 @@ export interface UtteranceBotResponse { imageResponseCard?: ImageResponseCard; } export type UtteranceBotResponses = Array; -export type UtteranceContentType = - | "PlainText" - | "CustomPayload" - | "SSML" - | "ImageResponseCard"; +export type UtteranceContentType = "PlainText" | "CustomPayload" | "SSML" | "ImageResponseCard"; export interface UtteranceDataSortBy { name: AnalyticsUtteranceSortByName; order: AnalyticsSortOrder; @@ -4610,8 +3861,7 @@ export interface UtteranceLevelTestResultItem { conversationId?: string; turnResult: TestSetTurnResult; } -export type UtteranceLevelTestResultItemList = - Array; +export type UtteranceLevelTestResultItemList = Array; export interface UtteranceLevelTestResults { items: Array; } @@ -5899,12 +5149,5 @@ export declare namespace UpdateTestSet { | CommonAwsError; } -export type LexModelsV2Errors = - | ConflictException - | InternalServerException - | PreconditionFailedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type LexModelsV2Errors = ConflictException | InternalServerException | PreconditionFailedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/lex-runtime-service/index.ts b/src/services/lex-runtime-service/index.ts index da622020..4d093660 100644 --- a/src/services/lex-runtime-service/index.ts +++ b/src/services/lex-runtime-service/index.ts @@ -5,25 +5,7 @@ import type { LexRuntimeService as _LexRuntimeServiceClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,48 +15,47 @@ const metadata = { sigV4ServiceName: "lex", endpointPrefix: "runtime.lex", operations: { - DeleteSession: - "DELETE /bot/{botName}/alias/{botAlias}/user/{userId}/session", - GetSession: "GET /bot/{botName}/alias/{botAlias}/user/{userId}/session", - PostContent: { + "DeleteSession": "DELETE /bot/{botName}/alias/{botAlias}/user/{userId}/session", + "GetSession": "GET /bot/{botName}/alias/{botAlias}/user/{userId}/session", + "PostContent": { http: "POST /bot/{botName}/alias/{botAlias}/user/{userId}/content", traits: { - contentType: "Content-Type", - intentName: "x-amz-lex-intent-name", - nluIntentConfidence: "x-amz-lex-nlu-intent-confidence", - alternativeIntents: "x-amz-lex-alternative-intents", - slots: "x-amz-lex-slots", - sessionAttributes: "x-amz-lex-session-attributes", - sentimentResponse: "x-amz-lex-sentiment", - message: "x-amz-lex-message", - encodedMessage: "x-amz-lex-encoded-message", - messageFormat: "x-amz-lex-message-format", - dialogState: "x-amz-lex-dialog-state", - slotToElicit: "x-amz-lex-slot-to-elicit", - inputTranscript: "x-amz-lex-input-transcript", - encodedInputTranscript: "x-amz-lex-encoded-input-transcript", - audioStream: "httpStreaming", - botVersion: "x-amz-lex-bot-version", - sessionId: "x-amz-lex-session-id", - activeContexts: "x-amz-lex-active-contexts", + "contentType": "Content-Type", + "intentName": "x-amz-lex-intent-name", + "nluIntentConfidence": "x-amz-lex-nlu-intent-confidence", + "alternativeIntents": "x-amz-lex-alternative-intents", + "slots": "x-amz-lex-slots", + "sessionAttributes": "x-amz-lex-session-attributes", + "sentimentResponse": "x-amz-lex-sentiment", + "message": "x-amz-lex-message", + "encodedMessage": "x-amz-lex-encoded-message", + "messageFormat": "x-amz-lex-message-format", + "dialogState": "x-amz-lex-dialog-state", + "slotToElicit": "x-amz-lex-slot-to-elicit", + "inputTranscript": "x-amz-lex-input-transcript", + "encodedInputTranscript": "x-amz-lex-encoded-input-transcript", + "audioStream": "httpStreaming", + "botVersion": "x-amz-lex-bot-version", + "sessionId": "x-amz-lex-session-id", + "activeContexts": "x-amz-lex-active-contexts", }, }, - PostText: "POST /bot/{botName}/alias/{botAlias}/user/{userId}/text", - PutSession: { + "PostText": "POST /bot/{botName}/alias/{botAlias}/user/{userId}/text", + "PutSession": { http: "POST /bot/{botName}/alias/{botAlias}/user/{userId}/session", traits: { - contentType: "Content-Type", - intentName: "x-amz-lex-intent-name", - slots: "x-amz-lex-slots", - sessionAttributes: "x-amz-lex-session-attributes", - message: "x-amz-lex-message", - encodedMessage: "x-amz-lex-encoded-message", - messageFormat: "x-amz-lex-message-format", - dialogState: "x-amz-lex-dialog-state", - slotToElicit: "x-amz-lex-slot-to-elicit", - audioStream: "httpStreaming", - sessionId: "x-amz-lex-session-id", - activeContexts: "x-amz-lex-active-contexts", + "contentType": "Content-Type", + "intentName": "x-amz-lex-intent-name", + "slots": "x-amz-lex-slots", + "sessionAttributes": "x-amz-lex-session-attributes", + "message": "x-amz-lex-message", + "encodedMessage": "x-amz-lex-encoded-message", + "messageFormat": "x-amz-lex-message-format", + "dialogState": "x-amz-lex-dialog-state", + "slotToElicit": "x-amz-lex-slot-to-elicit", + "audioStream": "httpStreaming", + "sessionId": "x-amz-lex-session-id", + "activeContexts": "x-amz-lex-active-contexts", }, }, }, diff --git a/src/services/lex-runtime-service/types.ts b/src/services/lex-runtime-service/types.ts index 31019e34..234e86cd 100644 --- a/src/services/lex-runtime-service/types.ts +++ b/src/services/lex-runtime-service/types.ts @@ -1,42 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | RequestTimeoutException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | RequestTimeoutException; import { AWSServiceClient } from "../../client.ts"; export declare class LexRuntimeService extends AWSServiceClient { @@ -44,67 +10,31 @@ export declare class LexRuntimeService extends AWSServiceClient { input: DeleteSessionRequest, ): Effect.Effect< DeleteSessionResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getSession( input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; postContent( input: PostContentRequest, ): Effect.Effect< PostContentResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | DependencyFailedException - | InternalFailureException - | LimitExceededException - | LoopDetectedException - | NotAcceptableException - | NotFoundException - | RequestTimeoutException - | UnsupportedMediaTypeException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | DependencyFailedException | InternalFailureException | LimitExceededException | LoopDetectedException | NotAcceptableException | NotFoundException | RequestTimeoutException | UnsupportedMediaTypeException | CommonAwsError >; postText( input: PostTextRequest, ): Effect.Effect< PostTextResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | DependencyFailedException - | InternalFailureException - | LimitExceededException - | LoopDetectedException - | NotFoundException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | DependencyFailedException | InternalFailureException | LimitExceededException | LoopDetectedException | NotFoundException | CommonAwsError >; putSession( input: PutSessionRequest, ): Effect.Effect< PutSessionResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | DependencyFailedException - | InternalFailureException - | LimitExceededException - | NotAcceptableException - | NotFoundException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | DependencyFailedException | InternalFailureException | LimitExceededException | NotAcceptableException | NotFoundException | CommonAwsError >; } @@ -185,19 +115,8 @@ export interface DialogAction { message?: string; messageFormat?: MessageFormatType; } -export type DialogActionType = - | "ElicitIntent" - | "ConfirmIntent" - | "ElicitSlot" - | "Close" - | "Delegate"; -export type DialogState = - | "ElicitIntent" - | "ConfirmIntent" - | "ElicitSlot" - | "Fulfilled" - | "ReadyForFulfillment" - | "Failed"; +export type DialogActionType = "ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Close" | "Delegate"; +export type DialogState = "ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Fulfilled" | "ReadyForFulfillment" | "Failed"; export type Double = number; export type ErrorMessage = string; @@ -261,11 +180,7 @@ export declare class LoopDetectedException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type MessageFormatType = - | "PlainText" - | "CustomPayload" - | "SSML" - | "Composite"; +export type MessageFormatType = "PlainText" | "CustomPayload" | "SSML" | "Composite"; export declare class NotAcceptableException extends EffectData.TaggedError( "NotAcceptableException", )<{ @@ -478,16 +393,5 @@ export declare namespace PutSession { | CommonAwsError; } -export type LexRuntimeServiceErrors = - | BadGatewayException - | BadRequestException - | ConflictException - | DependencyFailedException - | InternalFailureException - | LimitExceededException - | LoopDetectedException - | NotAcceptableException - | NotFoundException - | RequestTimeoutException - | UnsupportedMediaTypeException - | CommonAwsError; +export type LexRuntimeServiceErrors = BadGatewayException | BadRequestException | ConflictException | DependencyFailedException | InternalFailureException | LimitExceededException | LoopDetectedException | NotAcceptableException | NotFoundException | RequestTimeoutException | UnsupportedMediaTypeException | CommonAwsError; + diff --git a/src/services/lex-runtime-v2/index.ts b/src/services/lex-runtime-v2/index.ts index ac840853..8b0a3967 100644 --- a/src/services/lex-runtime-v2/index.ts +++ b/src/services/lex-runtime-v2/index.ts @@ -5,23 +5,7 @@ import type { LexRuntimeV2 as _LexRuntimeV2Client } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,42 +15,39 @@ const metadata = { sigV4ServiceName: "lex", endpointPrefix: "runtime-v2-lex", operations: { - DeleteSession: - "DELETE /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", - GetSession: - "GET /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", - PutSession: { + "DeleteSession": "DELETE /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", + "GetSession": "GET /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", + "PutSession": { http: "POST /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}", traits: { - contentType: "Content-Type", - messages: "x-amz-lex-messages", - sessionState: "x-amz-lex-session-state", - requestAttributes: "x-amz-lex-request-attributes", - sessionId: "x-amz-lex-session-id", - audioStream: "httpStreaming", + "contentType": "Content-Type", + "messages": "x-amz-lex-messages", + "sessionState": "x-amz-lex-session-state", + "requestAttributes": "x-amz-lex-request-attributes", + "sessionId": "x-amz-lex-session-id", + "audioStream": "httpStreaming", }, }, - RecognizeText: - "POST /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", - RecognizeUtterance: { + "RecognizeText": "POST /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", + "RecognizeUtterance": { http: "POST /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", traits: { - inputMode: "x-amz-lex-input-mode", - contentType: "Content-Type", - messages: "x-amz-lex-messages", - interpretations: "x-amz-lex-interpretations", - sessionState: "x-amz-lex-session-state", - requestAttributes: "x-amz-lex-request-attributes", - sessionId: "x-amz-lex-session-id", - inputTranscript: "x-amz-lex-input-transcript", - audioStream: "httpStreaming", - recognizedBotMember: "x-amz-lex-recognized-bot-member", + "inputMode": "x-amz-lex-input-mode", + "contentType": "Content-Type", + "messages": "x-amz-lex-messages", + "interpretations": "x-amz-lex-interpretations", + "sessionState": "x-amz-lex-session-state", + "requestAttributes": "x-amz-lex-request-attributes", + "sessionId": "x-amz-lex-session-id", + "inputTranscript": "x-amz-lex-input-transcript", + "audioStream": "httpStreaming", + "recognizedBotMember": "x-amz-lex-recognized-bot-member", }, }, - StartConversation: { + "StartConversation": { http: "POST /bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation", traits: { - responseEventStream: "httpPayload", + "responseEventStream": "httpPayload", }, }, }, diff --git a/src/services/lex-runtime-v2/types.ts b/src/services/lex-runtime-v2/types.ts index 4e1e8bbb..f8f0fae5 100644 --- a/src/services/lex-runtime-v2/types.ts +++ b/src/services/lex-runtime-v2/types.ts @@ -1,40 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class LexRuntimeV2 extends AWSServiceClient { @@ -42,76 +10,37 @@ export declare class LexRuntimeV2 extends AWSServiceClient { input: DeleteSessionRequest, ): Effect.Effect< DeleteSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSession( input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putSession( input: PutSessionRequest, ): Effect.Effect< PutSessionResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; recognizeText( input: RecognizeTextRequest, ): Effect.Effect< RecognizeTextResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; recognizeUtterance( input: RecognizeUtteranceRequest, ): Effect.Effect< RecognizeUtteranceResponse, - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startConversation( input: StartConversationRequest, ): Effect.Effect< StartConversationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -218,13 +147,7 @@ export interface DialogAction { slotElicitationStyle?: StyleType; subSlotToElicit?: ElicitSubSlot; } -export type DialogActionType = - | "Close" - | "ConfirmIntent" - | "Delegate" - | "ElicitIntent" - | "ElicitSlot" - | "None"; +export type DialogActionType = "Close" | "ConfirmIntent" | "Delegate" | "ElicitIntent" | "ElicitSlot" | "None"; export interface DisconnectionEvent { eventId?: string; clientTimestampMillis?: number; @@ -283,13 +206,7 @@ export interface IntentResultEvent { eventId?: string; recognizedBotMember?: RecognizedBotMember; } -export type IntentState = - | "Failed" - | "Fulfilled" - | "InProgress" - | "ReadyForFulfillment" - | "Waiting" - | "FulfillmentInProgress"; +export type IntentState = "Failed" | "Fulfilled" | "InProgress" | "ReadyForFulfillment" | "Waiting" | "FulfillmentInProgress"; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", )<{ @@ -310,11 +227,7 @@ export interface Message { contentType: MessageContentType; imageResponseCard?: ImageResponseCard; } -export type MessageContentType = - | "CustomPayload" - | "ImageResponseCard" - | "PlainText" - | "SSML"; +export type MessageContentType = "CustomPayload" | "ImageResponseCard" | "PlainText" | "SSML"; export type Messages = Array; export type Name = string; @@ -331,10 +244,7 @@ export interface PlaybackInterruptionEvent { causedByEventId?: string; eventId?: string; } -export type PlaybackInterruptionReason = - | "DTMF_START_DETECTED" - | "TEXT_DETECTED" - | "VOICE_START_DETECTED"; +export type PlaybackInterruptionReason = "DTMF_START_DETECTED" | "TEXT_DETECTED" | "VOICE_START_DETECTED"; export interface PutSessionRequest { botId: string; botAliasId: string; @@ -445,10 +355,7 @@ export interface Slot { values?: Array; subSlots?: Record; } -export type SlotHintsIntentMap = Record< - string, - Record ->; +export type SlotHintsIntentMap = Record>; export type SlotHintsSlotMap = Record; export type Slots = Record; export interface StartConversationRequest { @@ -468,21 +375,7 @@ interface _StartConversationRequestEventStream { DisconnectionEvent?: DisconnectionEvent; } -export type StartConversationRequestEventStream = - | (_StartConversationRequestEventStream & { - ConfigurationEvent: ConfigurationEvent; - }) - | (_StartConversationRequestEventStream & { - AudioInputEvent: AudioInputEvent; - }) - | (_StartConversationRequestEventStream & { DTMFInputEvent: DTMFInputEvent }) - | (_StartConversationRequestEventStream & { TextInputEvent: TextInputEvent }) - | (_StartConversationRequestEventStream & { - PlaybackCompletionEvent: PlaybackCompletionEvent; - }) - | (_StartConversationRequestEventStream & { - DisconnectionEvent: DisconnectionEvent; - }); +export type StartConversationRequestEventStream = (_StartConversationRequestEventStream & { ConfigurationEvent: ConfigurationEvent }) | (_StartConversationRequestEventStream & { AudioInputEvent: AudioInputEvent }) | (_StartConversationRequestEventStream & { DTMFInputEvent: DTMFInputEvent }) | (_StartConversationRequestEventStream & { TextInputEvent: TextInputEvent }) | (_StartConversationRequestEventStream & { PlaybackCompletionEvent: PlaybackCompletionEvent }) | (_StartConversationRequestEventStream & { DisconnectionEvent: DisconnectionEvent }); export interface StartConversationResponse { responseEventStream?: StartConversationResponseEventStream; } @@ -503,47 +396,7 @@ interface _StartConversationResponseEventStream { BadGatewayException?: BadGatewayException; } -export type StartConversationResponseEventStream = - | (_StartConversationResponseEventStream & { - PlaybackInterruptionEvent: PlaybackInterruptionEvent; - }) - | (_StartConversationResponseEventStream & { - TranscriptEvent: TranscriptEvent; - }) - | (_StartConversationResponseEventStream & { - IntentResultEvent: IntentResultEvent; - }) - | (_StartConversationResponseEventStream & { - TextResponseEvent: TextResponseEvent; - }) - | (_StartConversationResponseEventStream & { - AudioResponseEvent: AudioResponseEvent; - }) - | (_StartConversationResponseEventStream & { HeartbeatEvent: HeartbeatEvent }) - | (_StartConversationResponseEventStream & { - AccessDeniedException: AccessDeniedException; - }) - | (_StartConversationResponseEventStream & { - ResourceNotFoundException: ResourceNotFoundException; - }) - | (_StartConversationResponseEventStream & { - ValidationException: ValidationException; - }) - | (_StartConversationResponseEventStream & { - ThrottlingException: ThrottlingException; - }) - | (_StartConversationResponseEventStream & { - InternalServerException: InternalServerException; - }) - | (_StartConversationResponseEventStream & { - ConflictException: ConflictException; - }) - | (_StartConversationResponseEventStream & { - DependencyFailedException: DependencyFailedException; - }) - | (_StartConversationResponseEventStream & { - BadGatewayException: BadGatewayException; - }); +export type StartConversationResponseEventStream = (_StartConversationResponseEventStream & { PlaybackInterruptionEvent: PlaybackInterruptionEvent }) | (_StartConversationResponseEventStream & { TranscriptEvent: TranscriptEvent }) | (_StartConversationResponseEventStream & { IntentResultEvent: IntentResultEvent }) | (_StartConversationResponseEventStream & { TextResponseEvent: TextResponseEvent }) | (_StartConversationResponseEventStream & { AudioResponseEvent: AudioResponseEvent }) | (_StartConversationResponseEventStream & { HeartbeatEvent: HeartbeatEvent }) | (_StartConversationResponseEventStream & { AccessDeniedException: AccessDeniedException }) | (_StartConversationResponseEventStream & { ResourceNotFoundException: ResourceNotFoundException }) | (_StartConversationResponseEventStream & { ValidationException: ValidationException }) | (_StartConversationResponseEventStream & { ThrottlingException: ThrottlingException }) | (_StartConversationResponseEventStream & { InternalServerException: InternalServerException }) | (_StartConversationResponseEventStream & { ConflictException: ConflictException }) | (_StartConversationResponseEventStream & { DependencyFailedException: DependencyFailedException }) | (_StartConversationResponseEventStream & { BadGatewayException: BadGatewayException }); export type LexRuntimeV2String = string; export type StringList = Array; @@ -661,13 +514,5 @@ export declare namespace StartConversation { | CommonAwsError; } -export type LexRuntimeV2Errors = - | AccessDeniedException - | BadGatewayException - | ConflictException - | DependencyFailedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type LexRuntimeV2Errors = AccessDeniedException | BadGatewayException | ConflictException | DependencyFailedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/license-manager-linux-subscriptions/index.ts b/src/services/license-manager-linux-subscriptions/index.ts index c579b4e4..97f24d0f 100644 --- a/src/services/license-manager-linux-subscriptions/index.ts +++ b/src/services/license-manager-linux-subscriptions/index.ts @@ -5,24 +5,7 @@ import type { LicenseManagerLinuxSubscriptions as _LicenseManagerLinuxSubscripti export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,29 +14,22 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "license-manager-linux-subscriptions", operations: { - DeregisterSubscriptionProvider: - "POST /subscription/DeregisterSubscriptionProvider", - GetRegisteredSubscriptionProvider: - "POST /subscription/GetRegisteredSubscriptionProvider", - GetServiceSettings: "POST /subscription/GetServiceSettings", - ListLinuxSubscriptionInstances: - "POST /subscription/ListLinuxSubscriptionInstances", - ListLinuxSubscriptions: "POST /subscription/ListLinuxSubscriptions", - ListRegisteredSubscriptionProviders: - "POST /subscription/ListRegisteredSubscriptionProviders", - ListTagsForResource: "GET /tags/{resourceArn}", - RegisterSubscriptionProvider: - "POST /subscription/RegisterSubscriptionProvider", - TagResource: "PUT /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateServiceSettings: "POST /subscription/UpdateServiceSettings", + "DeregisterSubscriptionProvider": "POST /subscription/DeregisterSubscriptionProvider", + "GetRegisteredSubscriptionProvider": "POST /subscription/GetRegisteredSubscriptionProvider", + "GetServiceSettings": "POST /subscription/GetServiceSettings", + "ListLinuxSubscriptionInstances": "POST /subscription/ListLinuxSubscriptionInstances", + "ListLinuxSubscriptions": "POST /subscription/ListLinuxSubscriptions", + "ListRegisteredSubscriptionProviders": "POST /subscription/ListRegisteredSubscriptionProviders", + "ListTagsForResource": "GET /tags/{resourceArn}", + "RegisterSubscriptionProvider": "POST /subscription/RegisterSubscriptionProvider", + "TagResource": "PUT /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateServiceSettings": "POST /subscription/UpdateServiceSettings", }, } as const satisfies ServiceMetadata; -export type _LicenseManagerLinuxSubscriptions = - _LicenseManagerLinuxSubscriptionsClient; -export interface LicenseManagerLinuxSubscriptions - extends _LicenseManagerLinuxSubscriptions {} +export type _LicenseManagerLinuxSubscriptions = _LicenseManagerLinuxSubscriptionsClient; +export interface LicenseManagerLinuxSubscriptions extends _LicenseManagerLinuxSubscriptions {} export const LicenseManagerLinuxSubscriptions = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/license-manager-linux-subscriptions/types.ts b/src/services/license-manager-linux-subscriptions/types.ts index 3ae99a68..5d962c6b 100644 --- a/src/services/license-manager-linux-subscriptions/types.ts +++ b/src/services/license-manager-linux-subscriptions/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class LicenseManagerLinuxSubscriptions extends AWSServiceClient { @@ -41,84 +8,55 @@ export declare class LicenseManagerLinuxSubscriptions extends AWSServiceClient { input: DeregisterSubscriptionProviderRequest, ): Effect.Effect< DeregisterSubscriptionProviderResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRegisteredSubscriptionProvider( input: GetRegisteredSubscriptionProviderRequest, ): Effect.Effect< GetRegisteredSubscriptionProviderResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceSettings( input: GetServiceSettingsRequest, ): Effect.Effect< GetServiceSettingsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listLinuxSubscriptionInstances( input: ListLinuxSubscriptionInstancesRequest, ): Effect.Effect< ListLinuxSubscriptionInstancesResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listLinuxSubscriptions( input: ListLinuxSubscriptionsRequest, ): Effect.Effect< ListLinuxSubscriptionsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRegisteredSubscriptionProviders( input: ListRegisteredSubscriptionProvidersRequest, ): Effect.Effect< ListRegisteredSubscriptionProvidersResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; registerSubscriptionProvider( input: RegisterSubscriptionProviderRequest, ): Effect.Effect< RegisterSubscriptionProviderResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -130,10 +68,7 @@ export declare class LicenseManagerLinuxSubscriptions extends AWSServiceClient { input: UpdateServiceSettingsRequest, ): Effect.Effect< UpdateServiceSettingsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -144,7 +79,8 @@ export type BoxLong = number; export interface DeregisterSubscriptionProviderRequest { SubscriptionProviderArn: string; } -export interface DeregisterSubscriptionProviderResponse {} +export interface DeregisterSubscriptionProviderResponse { +} export interface Filter { Name?: string; Values?: Array; @@ -162,7 +98,8 @@ export interface GetRegisteredSubscriptionProviderResponse { SubscriptionProviderStatusMessage?: string; LastSuccessfulDataRetrievalTime?: string; } -export interface GetServiceSettingsRequest {} +export interface GetServiceSettingsRequest { +} export interface GetServiceSettingsResponse { LinuxSubscriptionsDiscovery?: string; LinuxSubscriptionsDiscoverySettings?: LinuxSubscriptionsDiscoverySettings; @@ -245,8 +182,7 @@ export interface RegisteredSubscriptionProvider { SubscriptionProviderStatusMessage?: string; LastSuccessfulDataRetrievalTime?: string; } -export type RegisteredSubscriptionProviderList = - Array; +export type RegisteredSubscriptionProviderList = Array; export interface RegisterSubscriptionProviderRequest { SubscriptionProviderSource: string; SecretArn: string; @@ -286,7 +222,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", @@ -297,7 +234,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateServiceSettingsRequest { LinuxSubscriptionsDiscovery: string; LinuxSubscriptionsDiscoverySettings: LinuxSubscriptionsDiscoverySettings; @@ -426,9 +364,5 @@ export declare namespace UpdateServiceSettings { | CommonAwsError; } -export type LicenseManagerLinuxSubscriptionsErrors = - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type LicenseManagerLinuxSubscriptionsErrors = InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/license-manager-user-subscriptions/index.ts b/src/services/license-manager-user-subscriptions/index.ts index 21becde8..c5a54936 100644 --- a/src/services/license-manager-user-subscriptions/index.ts +++ b/src/services/license-manager-user-subscriptions/index.ts @@ -5,23 +5,7 @@ import type { LicenseManagerUserSubscriptions as _LicenseManagerUserSubscription export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,36 +14,28 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "license-manager-user-subscriptions", operations: { - AssociateUser: "POST /user/AssociateUser", - CreateLicenseServerEndpoint: - "POST /license-server/CreateLicenseServerEndpoint", - DeleteLicenseServerEndpoint: - "POST /license-server/DeleteLicenseServerEndpoint", - DeregisterIdentityProvider: - "POST /identity-provider/DeregisterIdentityProvider", - DisassociateUser: "POST /user/DisassociateUser", - ListIdentityProviders: "POST /identity-provider/ListIdentityProviders", - ListInstances: "POST /instance/ListInstances", - ListLicenseServerEndpoints: - "POST /license-server/ListLicenseServerEndpoints", - ListProductSubscriptions: "POST /user/ListProductSubscriptions", - ListTagsForResource: "GET /tags/{ResourceArn}", - ListUserAssociations: "POST /user/ListUserAssociations", - RegisterIdentityProvider: - "POST /identity-provider/RegisterIdentityProvider", - StartProductSubscription: "POST /user/StartProductSubscription", - StopProductSubscription: "POST /user/StopProductSubscription", - TagResource: "PUT /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateIdentityProviderSettings: - "POST /identity-provider/UpdateIdentityProviderSettings", + "AssociateUser": "POST /user/AssociateUser", + "CreateLicenseServerEndpoint": "POST /license-server/CreateLicenseServerEndpoint", + "DeleteLicenseServerEndpoint": "POST /license-server/DeleteLicenseServerEndpoint", + "DeregisterIdentityProvider": "POST /identity-provider/DeregisterIdentityProvider", + "DisassociateUser": "POST /user/DisassociateUser", + "ListIdentityProviders": "POST /identity-provider/ListIdentityProviders", + "ListInstances": "POST /instance/ListInstances", + "ListLicenseServerEndpoints": "POST /license-server/ListLicenseServerEndpoints", + "ListProductSubscriptions": "POST /user/ListProductSubscriptions", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "ListUserAssociations": "POST /user/ListUserAssociations", + "RegisterIdentityProvider": "POST /identity-provider/RegisterIdentityProvider", + "StartProductSubscription": "POST /user/StartProductSubscription", + "StopProductSubscription": "POST /user/StopProductSubscription", + "TagResource": "PUT /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateIdentityProviderSettings": "POST /identity-provider/UpdateIdentityProviderSettings", }, } as const satisfies ServiceMetadata; -export type _LicenseManagerUserSubscriptions = - _LicenseManagerUserSubscriptionsClient; -export interface LicenseManagerUserSubscriptions - extends _LicenseManagerUserSubscriptions {} +export type _LicenseManagerUserSubscriptions = _LicenseManagerUserSubscriptionsClient; +export interface LicenseManagerUserSubscriptions extends _LicenseManagerUserSubscriptions {} export const LicenseManagerUserSubscriptions = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/license-manager-user-subscriptions/types.ts b/src/services/license-manager-user-subscriptions/types.ts index 72ab1d62..3f01cbeb 100644 --- a/src/services/license-manager-user-subscriptions/types.ts +++ b/src/services/license-manager-user-subscriptions/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class LicenseManagerUserSubscriptions extends AWSServiceClient { @@ -40,187 +8,91 @@ export declare class LicenseManagerUserSubscriptions extends AWSServiceClient { input: AssociateUserRequest, ): Effect.Effect< AssociateUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLicenseServerEndpoint( input: CreateLicenseServerEndpointRequest, ): Effect.Effect< CreateLicenseServerEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteLicenseServerEndpoint( input: DeleteLicenseServerEndpointRequest, ): Effect.Effect< DeleteLicenseServerEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deregisterIdentityProvider( input: DeregisterIdentityProviderRequest, ): Effect.Effect< DeregisterIdentityProviderResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; disassociateUser( input: DisassociateUserRequest, ): Effect.Effect< DisassociateUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listIdentityProviders( input: ListIdentityProvidersRequest, ): Effect.Effect< ListIdentityProvidersResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listInstances( input: ListInstancesRequest, ): Effect.Effect< ListInstancesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listLicenseServerEndpoints( input: ListLicenseServerEndpointsRequest, ): Effect.Effect< ListLicenseServerEndpointsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listProductSubscriptions( input: ListProductSubscriptionsRequest, ): Effect.Effect< ListProductSubscriptionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listUserAssociations( input: ListUserAssociationsRequest, ): Effect.Effect< ListUserAssociationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; registerIdentityProvider( input: RegisterIdentityProviderRequest, ): Effect.Effect< RegisterIdentityProviderResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startProductSubscription( input: StartProductSubscriptionRequest, ): Effect.Effect< StartProductSubscriptionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopProductSubscription( input: StopProductSubscriptionRequest, ): Effect.Effect< StopProductSubscriptionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -232,11 +104,7 @@ export declare class LicenseManagerUserSubscriptions extends AWSServiceClient { input: UpdateIdentityProviderSettingsRequest, ): Effect.Effect< UpdateIdentityProviderSettingsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -292,9 +160,7 @@ interface _CredentialsProvider { SecretsManagerCredentialsProvider?: SecretsManagerCredentialsProvider; } -export type CredentialsProvider = _CredentialsProvider & { - SecretsManagerCredentialsProvider: SecretsManagerCredentialsProvider; -}; +export type CredentialsProvider = (_CredentialsProvider & { SecretsManagerCredentialsProvider: SecretsManagerCredentialsProvider }); export interface DeleteLicenseServerEndpointRequest { LicenseServerEndpointArn: string; ServerType: string; @@ -335,9 +201,7 @@ interface _IdentityProvider { ActiveDirectoryIdentityProvider?: ActiveDirectoryIdentityProvider; } -export type IdentityProvider = _IdentityProvider & { - ActiveDirectoryIdentityProvider: ActiveDirectoryIdentityProvider; -}; +export type IdentityProvider = (_IdentityProvider & { ActiveDirectoryIdentityProvider: ActiveDirectoryIdentityProvider }); export interface IdentityProviderSummary { IdentityProvider: IdentityProvider; Settings: Settings; @@ -508,9 +372,7 @@ interface _ServerSettings { RdsSalSettings?: RdsSalSettings; } -export type ServerSettings = _ServerSettings & { - RdsSalSettings: RdsSalSettings; -}; +export type ServerSettings = (_ServerSettings & { RdsSalSettings: RdsSalSettings }); export type ServerType = string; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( @@ -551,7 +413,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", @@ -562,7 +425,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateIdentityProviderSettingsRequest { IdentityProvider?: IdentityProvider; Product?: string; @@ -803,12 +667,5 @@ export declare namespace UpdateIdentityProviderSettings { | CommonAwsError; } -export type LicenseManagerUserSubscriptionsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type LicenseManagerUserSubscriptionsErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/license-manager/index.ts b/src/services/license-manager/index.ts index a76cde63..07ce7c66 100644 --- a/src/services/license-manager/index.ts +++ b/src/services/license-manager/index.ts @@ -5,24 +5,7 @@ import type { LicenseManager as _LicenseManagerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/license-manager/types.ts b/src/services/license-manager/types.ts index 2f53c98f..1c8f8835 100644 --- a/src/services/license-manager/types.ts +++ b/src/services/license-manager/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class LicenseManager extends AWSServiceClient { @@ -41,631 +8,301 @@ export declare class LicenseManager extends AWSServiceClient { input: AcceptGrantRequest, ): Effect.Effect< AcceptGrantResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; checkInLicense( input: CheckInLicenseRequest, ): Effect.Effect< CheckInLicenseResponse, - | AccessDeniedException - | AuthorizationException - | ConflictException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | ConflictException | InvalidParameterValueException | RateLimitExceededException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; checkoutBorrowLicense( input: CheckoutBorrowLicenseRequest, ): Effect.Effect< CheckoutBorrowLicenseResponse, - | AccessDeniedException - | AuthorizationException - | EntitlementNotAllowedException - | InvalidParameterValueException - | NoEntitlementsAllowedException - | RateLimitExceededException - | RedirectException - | ResourceNotFoundException - | ServerInternalException - | UnsupportedDigitalSignatureMethodException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | EntitlementNotAllowedException | InvalidParameterValueException | NoEntitlementsAllowedException | RateLimitExceededException | RedirectException | ResourceNotFoundException | ServerInternalException | UnsupportedDigitalSignatureMethodException | ValidationException | CommonAwsError >; checkoutLicense( input: CheckoutLicenseRequest, ): Effect.Effect< CheckoutLicenseResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | NoEntitlementsAllowedException - | RateLimitExceededException - | RedirectException - | ResourceNotFoundException - | ServerInternalException - | UnsupportedDigitalSignatureMethodException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | NoEntitlementsAllowedException | RateLimitExceededException | RedirectException | ResourceNotFoundException | ServerInternalException | UnsupportedDigitalSignatureMethodException | ValidationException | CommonAwsError >; createGrant( input: CreateGrantRequest, ): Effect.Effect< CreateGrantResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; createGrantVersion( input: CreateGrantVersionRequest, ): Effect.Effect< CreateGrantVersionResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; createLicense( input: CreateLicenseRequest, ): Effect.Effect< CreateLicenseResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | RedirectException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | RedirectException | ServerInternalException | ValidationException | CommonAwsError >; createLicenseConfiguration( input: CreateLicenseConfigurationRequest, ): Effect.Effect< CreateLicenseConfigurationResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | CommonAwsError >; createLicenseConversionTaskForResource( input: CreateLicenseConversionTaskForResourceRequest, ): Effect.Effect< CreateLicenseConversionTaskForResourceResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; createLicenseManagerReportGenerator( input: CreateLicenseManagerReportGeneratorRequest, ): Effect.Effect< CreateLicenseManagerReportGeneratorResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; createLicenseVersion( input: CreateLicenseVersionRequest, ): Effect.Effect< CreateLicenseVersionResponse, - | AccessDeniedException - | AuthorizationException - | ConflictException - | RateLimitExceededException - | RedirectException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | ConflictException | RateLimitExceededException | RedirectException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; createToken( input: CreateTokenRequest, ): Effect.Effect< CreateTokenResponse, - | AccessDeniedException - | AuthorizationException - | RateLimitExceededException - | RedirectException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | RateLimitExceededException | RedirectException | ResourceLimitExceededException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; deleteGrant( input: DeleteGrantRequest, ): Effect.Effect< DeleteGrantResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; deleteLicense( input: DeleteLicenseRequest, ): Effect.Effect< DeleteLicenseResponse, - | AccessDeniedException - | AuthorizationException - | ConflictException - | InvalidParameterValueException - | RateLimitExceededException - | RedirectException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | ConflictException | InvalidParameterValueException | RateLimitExceededException | RedirectException | ServerInternalException | ValidationException | CommonAwsError >; deleteLicenseConfiguration( input: DeleteLicenseConfigurationRequest, ): Effect.Effect< DeleteLicenseConfigurationResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; deleteLicenseManagerReportGenerator( input: DeleteLicenseManagerReportGeneratorRequest, ): Effect.Effect< DeleteLicenseManagerReportGeneratorResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; deleteToken( input: DeleteTokenRequest, ): Effect.Effect< DeleteTokenResponse, - | AccessDeniedException - | AuthorizationException - | RateLimitExceededException - | RedirectException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | RateLimitExceededException | RedirectException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; extendLicenseConsumption( input: ExtendLicenseConsumptionRequest, ): Effect.Effect< ExtendLicenseConsumptionResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; getAccessToken( input: GetAccessTokenRequest, ): Effect.Effect< GetAccessTokenResponse, - | AccessDeniedException - | AuthorizationException - | RateLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | RateLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; getGrant( input: GetGrantRequest, ): Effect.Effect< GetGrantResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; getLicense( input: GetLicenseRequest, ): Effect.Effect< GetLicenseResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; getLicenseConfiguration( input: GetLicenseConfigurationRequest, ): Effect.Effect< GetLicenseConfigurationResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; getLicenseConversionTask( input: GetLicenseConversionTaskRequest, ): Effect.Effect< GetLicenseConversionTaskResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; getLicenseManagerReportGenerator( input: GetLicenseManagerReportGeneratorRequest, ): Effect.Effect< GetLicenseManagerReportGeneratorResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; getLicenseUsage( input: GetLicenseUsageRequest, ): Effect.Effect< GetLicenseUsageResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; getServiceSettings( input: GetServiceSettingsRequest, ): Effect.Effect< GetServiceSettingsResponse, - | AccessDeniedException - | AuthorizationException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | RateLimitExceededException | ServerInternalException | CommonAwsError >; listAssociationsForLicenseConfiguration( input: ListAssociationsForLicenseConfigurationRequest, ): Effect.Effect< ListAssociationsForLicenseConfigurationResponse, - | AccessDeniedException - | AuthorizationException - | FilterLimitExceededException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | FilterLimitExceededException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; listDistributedGrants( input: ListDistributedGrantsRequest, ): Effect.Effect< ListDistributedGrantsResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; listFailuresForLicenseConfigurationOperations( input: ListFailuresForLicenseConfigurationOperationsRequest, ): Effect.Effect< ListFailuresForLicenseConfigurationOperationsResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; listLicenseConfigurations( input: ListLicenseConfigurationsRequest, ): Effect.Effect< ListLicenseConfigurationsResponse, - | AccessDeniedException - | AuthorizationException - | FilterLimitExceededException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | FilterLimitExceededException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; listLicenseConversionTasks( input: ListLicenseConversionTasksRequest, ): Effect.Effect< ListLicenseConversionTasksResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; listLicenseManagerReportGenerators( input: ListLicenseManagerReportGeneratorsRequest, ): Effect.Effect< ListLicenseManagerReportGeneratorsResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; listLicenses( input: ListLicensesRequest, ): Effect.Effect< ListLicensesResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; listLicenseSpecificationsForResource( input: ListLicenseSpecificationsForResourceRequest, ): Effect.Effect< ListLicenseSpecificationsForResourceResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; listLicenseVersions( input: ListLicenseVersionsRequest, ): Effect.Effect< ListLicenseVersionsResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; listReceivedGrants( input: ListReceivedGrantsRequest, ): Effect.Effect< ListReceivedGrantsResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; listReceivedGrantsForOrganization( input: ListReceivedGrantsForOrganizationRequest, ): Effect.Effect< ListReceivedGrantsForOrganizationResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; listReceivedLicenses( input: ListReceivedLicensesRequest, ): Effect.Effect< ListReceivedLicensesResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; listReceivedLicensesForOrganization( input: ListReceivedLicensesForOrganizationRequest, ): Effect.Effect< ListReceivedLicensesForOrganizationResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; listResourceInventory( input: ListResourceInventoryRequest, ): Effect.Effect< ListResourceInventoryResponse, - | AccessDeniedException - | AuthorizationException - | FailedDependencyException - | FilterLimitExceededException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | FailedDependencyException | FilterLimitExceededException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; listTokens( input: ListTokensRequest, ): Effect.Effect< ListTokensResponse, - | AccessDeniedException - | AuthorizationException - | RateLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | RateLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; listUsageForLicenseConfiguration( input: ListUsageForLicenseConfigurationRequest, ): Effect.Effect< ListUsageForLicenseConfigurationResponse, - | AccessDeniedException - | AuthorizationException - | FilterLimitExceededException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | FilterLimitExceededException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; rejectGrant( input: RejectGrantRequest, ): Effect.Effect< RejectGrantResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; updateLicenseConfiguration( input: UpdateLicenseConfigurationRequest, ): Effect.Effect< UpdateLicenseConfigurationResponse, - | AccessDeniedException - | AuthorizationException - | ConflictException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | ConflictException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ServerInternalException | CommonAwsError >; updateLicenseManagerReportGenerator( input: UpdateLicenseManagerReportGeneratorRequest, ): Effect.Effect< UpdateLicenseManagerReportGeneratorResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServerInternalException - | ValidationException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ResourceLimitExceededException | ResourceNotFoundException | ServerInternalException | ValidationException | CommonAwsError >; updateLicenseSpecificationsForResource( input: UpdateLicenseSpecificationsForResourceRequest, ): Effect.Effect< UpdateLicenseSpecificationsForResourceResponse, - | AccessDeniedException - | AuthorizationException - | ConflictException - | InvalidParameterValueException - | InvalidResourceStateException - | LicenseUsageException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | ConflictException | InvalidParameterValueException | InvalidResourceStateException | LicenseUsageException | RateLimitExceededException | ServerInternalException | CommonAwsError >; updateServiceSettings( input: UpdateServiceSettingsRequest, ): Effect.Effect< UpdateServiceSettingsResponse, - | AccessDeniedException - | AuthorizationException - | InvalidParameterValueException - | RateLimitExceededException - | ServerInternalException - | CommonAwsError + AccessDeniedException | AuthorizationException | InvalidParameterValueException | RateLimitExceededException | ServerInternalException | CommonAwsError >; } @@ -682,17 +319,8 @@ export declare class AccessDeniedException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type ActivationOverrideBehavior = - | "DISTRIBUTED_GRANTS_ONLY" - | "ALL_GRANTS_PERMITTED_BY_ISSUER"; -export type AllowedOperation = - | "CreateGrant" - | "CheckoutLicense" - | "CheckoutBorrowLicense" - | "CheckInLicense" - | "ExtendConsumptionLicense" - | "ListPurchasedLicenses" - | "CreateToken"; +export type ActivationOverrideBehavior = "DISTRIBUTED_GRANTS_ONLY" | "ALL_GRANTS_PERMITTED_BY_ISSUER"; +export type AllowedOperation = "CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken"; export type AllowedOperationList = Array; export type Arn = string; @@ -721,7 +349,8 @@ export interface CheckInLicenseRequest { LicenseConsumptionToken: string; Beneficiary?: string; } -export interface CheckInLicenseResponse {} +export interface CheckInLicenseResponse { +} export interface CheckoutBorrowLicenseRequest { LicenseArn: string; Entitlements: Array; @@ -911,11 +540,13 @@ export interface DeleteGrantResponse { export interface DeleteLicenseConfigurationRequest { LicenseConfigurationArn: string; } -export interface DeleteLicenseConfigurationResponse {} +export interface DeleteLicenseConfigurationResponse { +} export interface DeleteLicenseManagerReportGeneratorRequest { LicenseManagerReportGeneratorArn: string; } -export interface DeleteLicenseManagerReportGeneratorResponse {} +export interface DeleteLicenseManagerReportGeneratorResponse { +} export interface DeleteLicenseRequest { LicenseArn: string; SourceVersion: string; @@ -927,7 +558,8 @@ export interface DeleteLicenseResponse { export interface DeleteTokenRequest { TokenId: string; } -export interface DeleteTokenResponse {} +export interface DeleteTokenResponse { +} export type DigitalSignatureMethod = "JWT_PS384"; export interface Entitlement { Name: string; @@ -943,68 +575,14 @@ export interface EntitlementData { Unit: EntitlementDataUnit; } export type EntitlementDataList = Array; -export type EntitlementDataUnit = - | "Count" - | "None" - | "Seconds" - | "Microseconds" - | "Milliseconds" - | "Bytes" - | "Kilobytes" - | "Megabytes" - | "Gigabytes" - | "Terabytes" - | "Bits" - | "Kilobits" - | "Megabits" - | "Gigabits" - | "Terabits" - | "Percent" - | "Bytes/Second" - | "Kilobytes/Second" - | "Megabytes/Second" - | "Gigabytes/Second" - | "Terabytes/Second" - | "Bits/Second" - | "Kilobits/Second" - | "Megabits/Second" - | "Gigabits/Second" - | "Terabits/Second" - | "Count/Second"; +export type EntitlementDataUnit = "Count" | "None" | "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second"; export type EntitlementList = Array; export declare class EntitlementNotAllowedException extends EffectData.TaggedError( "EntitlementNotAllowedException", )<{ readonly Message?: string; }> {} -export type EntitlementUnit = - | "Count" - | "None" - | "Seconds" - | "Microseconds" - | "Milliseconds" - | "Bytes" - | "Kilobytes" - | "Megabytes" - | "Gigabytes" - | "Terabytes" - | "Bits" - | "Kilobits" - | "Megabits" - | "Gigabits" - | "Terabits" - | "Percent" - | "Bytes/Second" - | "Kilobytes/Second" - | "Megabytes/Second" - | "Gigabytes/Second" - | "Terabytes/Second" - | "Bits/Second" - | "Kilobits/Second" - | "Megabits/Second" - | "Gigabits/Second" - | "Terabits/Second" - | "Count/Second"; +export type EntitlementUnit = "Count" | "None" | "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second"; export interface EntitlementUsage { Name: string; ConsumedValue: string; @@ -1111,7 +689,8 @@ export interface GetLicenseUsageRequest { export interface GetLicenseUsageResponse { LicenseUsage?: LicenseUsage; } -export interface GetServiceSettingsRequest {} +export interface GetServiceSettingsRequest { +} export interface GetServiceSettingsResponse { S3BucketArn?: string; SnsTopicArn?: string; @@ -1151,16 +730,7 @@ export interface GrantedLicense { } export type GrantedLicenseList = Array; export type GrantList = Array; -export type GrantStatus = - | "PENDING_WORKFLOW" - | "PENDING_ACCEPT" - | "REJECTED" - | "ACTIVE" - | "FAILED_WORKFLOW" - | "DELETED" - | "PENDING_DELETE" - | "DISABLED" - | "WORKFLOW_COMPLETED"; +export type GrantStatus = "PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED"; export type Integer = number; export declare class InvalidParameterValueException extends EffectData.TaggedError( @@ -1178,11 +748,7 @@ export interface InventoryFilter { Condition: InventoryFilterCondition; Value?: string; } -export type InventoryFilterCondition = - | "EQUALS" - | "NOT_EQUALS" - | "BEGINS_WITH" - | "CONTAINS"; +export type InventoryFilterCondition = "EQUALS" | "NOT_EQUALS" | "BEGINS_WITH" | "CONTAINS"; export type InventoryFilterList = Array; export type ISO8601DateTime = string; @@ -1236,8 +802,7 @@ export interface LicenseConfigurationAssociation { AssociationTime?: Date | string; AmiAssociationScope?: string; } -export type LicenseConfigurationAssociations = - Array; +export type LicenseConfigurationAssociations = Array; export type LicenseConfigurations = Array; export type LicenseConfigurationStatus = "AVAILABLE" | "DISABLED"; export interface LicenseConfigurationUsage { @@ -1267,10 +832,7 @@ export interface LicenseConversionTask { export type LicenseConversionTaskId = string; export type LicenseConversionTasks = Array; -export type LicenseConversionTaskStatus = - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED"; +export type LicenseConversionTaskStatus = "IN_PROGRESS" | "SUCCEEDED" | "FAILED"; export type LicenseCountingType = "vCPU" | "Instance" | "Core" | "Socket"; export type LicenseDeletionStatus = "PENDING_DELETE" | "DELETED"; export type LicenseList = Array; @@ -1290,14 +852,7 @@ export interface LicenseSpecification { AmiAssociationScope?: string; } export type LicenseSpecifications = Array; -export type LicenseStatus = - | "AVAILABLE" - | "PENDING_AVAILABLE" - | "DEACTIVATED" - | "SUSPENDED" - | "EXPIRED" - | "PENDING_DELETE" - | "DELETED"; +export type LicenseStatus = "AVAILABLE" | "PENDING_AVAILABLE" | "DEACTIVATED" | "SUSPENDED" | "EXPIRED" | "PENDING_DELETE" | "DELETED"; export interface LicenseUsage { EntitlementUsages?: Array; } @@ -1527,15 +1082,7 @@ export interface ReceivedMetadata { ReceivedStatusReason?: string; AllowedOperations?: Array; } -export type ReceivedStatus = - | "PENDING_WORKFLOW" - | "PENDING_ACCEPT" - | "REJECTED" - | "ACTIVE" - | "FAILED_WORKFLOW" - | "DELETED" - | "DISABLED" - | "WORKFLOW_COMPLETED"; +export type ReceivedStatus = "PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "DISABLED" | "WORKFLOW_COMPLETED"; export declare class RedirectException extends EffectData.TaggedError( "RedirectException", )<{ @@ -1577,9 +1124,7 @@ export interface ReportGenerator { export type ReportGeneratorList = Array; export type ReportGeneratorName = string; -export type ReportType = - | "LicenseConfigurationSummaryReport" - | "LicenseConfigurationUsageReport"; +export type ReportType = "LicenseConfigurationSummaryReport" | "LicenseConfigurationUsageReport"; export type ReportTypeList = Array; export interface ResourceInventory { ResourceId?: string; @@ -1600,12 +1145,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type ResourceType = - | "EC2_INSTANCE" - | "EC2_HOST" - | "EC2_AMI" - | "RDS" - | "SYSTEMS_MANAGER_MANAGED_INSTANCE"; +export type ResourceType = "EC2_INSTANCE" | "EC2_HOST" | "EC2_AMI" | "RDS" | "SYSTEMS_MANAGER_MANAGED_INSTANCE"; export interface S3Location { bucket?: string; keyPrefix?: string; @@ -1632,7 +1172,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export interface TokenData { TokenId?: string; TokenType?: string; @@ -1655,7 +1196,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateLicenseConfigurationRequest { LicenseConfigurationArn: string; LicenseConfigurationStatus?: LicenseConfigurationStatus; @@ -1667,7 +1209,8 @@ export interface UpdateLicenseConfigurationRequest { ProductInformationList?: Array; DisassociateWhenNotFound?: boolean; } -export interface UpdateLicenseConfigurationResponse {} +export interface UpdateLicenseConfigurationResponse { +} export interface UpdateLicenseManagerReportGeneratorRequest { LicenseManagerReportGeneratorArn: string; ReportGeneratorName: string; @@ -1677,20 +1220,23 @@ export interface UpdateLicenseManagerReportGeneratorRequest { ClientToken: string; Description?: string; } -export interface UpdateLicenseManagerReportGeneratorResponse {} +export interface UpdateLicenseManagerReportGeneratorResponse { +} export interface UpdateLicenseSpecificationsForResourceRequest { ResourceArn: string; AddLicenseSpecifications?: Array; RemoveLicenseSpecifications?: Array; } -export interface UpdateLicenseSpecificationsForResourceResponse {} +export interface UpdateLicenseSpecificationsForResourceResponse { +} export interface UpdateServiceSettingsRequest { S3BucketArn?: string; SnsTopicArn?: string; OrganizationConfiguration?: OrganizationConfiguration; EnableCrossAccountsDiscovery?: boolean; } -export interface UpdateServiceSettingsResponse {} +export interface UpdateServiceSettingsResponse { +} export type UsageOperation = string; export declare class ValidationException extends EffectData.TaggedError( @@ -2378,22 +1924,5 @@ export declare namespace UpdateServiceSettings { | CommonAwsError; } -export type LicenseManagerErrors = - | AccessDeniedException - | AuthorizationException - | ConflictException - | EntitlementNotAllowedException - | FailedDependencyException - | FilterLimitExceededException - | InvalidParameterValueException - | InvalidResourceStateException - | LicenseUsageException - | NoEntitlementsAllowedException - | RateLimitExceededException - | RedirectException - | ResourceLimitExceededException - | ResourceNotFoundException - | ServerInternalException - | UnsupportedDigitalSignatureMethodException - | ValidationException - | CommonAwsError; +export type LicenseManagerErrors = AccessDeniedException | AuthorizationException | ConflictException | EntitlementNotAllowedException | FailedDependencyException | FilterLimitExceededException | InvalidParameterValueException | InvalidResourceStateException | LicenseUsageException | NoEntitlementsAllowedException | RateLimitExceededException | RedirectException | ResourceLimitExceededException | ResourceNotFoundException | ServerInternalException | UnsupportedDigitalSignatureMethodException | ValidationException | CommonAwsError; + diff --git a/src/services/lightsail/index.ts b/src/services/lightsail/index.ts index f2cbcb1f..501c69a5 100644 --- a/src/services/lightsail/index.ts +++ b/src/services/lightsail/index.ts @@ -5,25 +5,7 @@ import type { Lightsail as _LightsailClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/lightsail/types.ts b/src/services/lightsail/types.ts index cf8eca87..56e6db77 100644 --- a/src/services/lightsail/types.ts +++ b/src/services/lightsail/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class Lightsail extends AWSServiceClient { @@ -42,2147 +8,967 @@ export declare class Lightsail extends AWSServiceClient { input: AllocateStaticIpRequest, ): Effect.Effect< AllocateStaticIpResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; attachCertificateToDistribution( input: AttachCertificateToDistributionRequest, ): Effect.Effect< AttachCertificateToDistributionResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; attachDisk( input: AttachDiskRequest, ): Effect.Effect< AttachDiskResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; attachInstancesToLoadBalancer( input: AttachInstancesToLoadBalancerRequest, ): Effect.Effect< AttachInstancesToLoadBalancerResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; attachLoadBalancerTlsCertificate( input: AttachLoadBalancerTlsCertificateRequest, ): Effect.Effect< AttachLoadBalancerTlsCertificateResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; attachStaticIp( input: AttachStaticIpRequest, ): Effect.Effect< AttachStaticIpResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; closeInstancePublicPorts( input: CloseInstancePublicPortsRequest, ): Effect.Effect< CloseInstancePublicPortsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; copySnapshot( input: CopySnapshotRequest, ): Effect.Effect< CopySnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createBucket( input: CreateBucketRequest, ): Effect.Effect< CreateBucketResult, - | AccessDeniedException - | InvalidInputException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createBucketAccessKey( input: CreateBucketAccessKeyRequest, ): Effect.Effect< CreateBucketAccessKeyResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createCertificate( input: CreateCertificateRequest, ): Effect.Effect< CreateCertificateResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createCloudFormationStack( input: CreateCloudFormationStackRequest, ): Effect.Effect< CreateCloudFormationStackResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createContactMethod( input: CreateContactMethodRequest, ): Effect.Effect< CreateContactMethodResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createContainerService( input: CreateContainerServiceRequest, ): Effect.Effect< CreateContainerServiceResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createContainerServiceDeployment( input: CreateContainerServiceDeploymentRequest, ): Effect.Effect< CreateContainerServiceDeploymentResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createContainerServiceRegistryLogin( input: CreateContainerServiceRegistryLoginRequest, ): Effect.Effect< CreateContainerServiceRegistryLoginResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createDisk( input: CreateDiskRequest, ): Effect.Effect< CreateDiskResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createDiskFromSnapshot( input: CreateDiskFromSnapshotRequest, ): Effect.Effect< CreateDiskFromSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createDiskSnapshot( input: CreateDiskSnapshotRequest, ): Effect.Effect< CreateDiskSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createDistribution( input: CreateDistributionRequest, ): Effect.Effect< CreateDistributionResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; createDomain( input: CreateDomainRequest, ): Effect.Effect< CreateDomainResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createDomainEntry( input: CreateDomainEntryRequest, ): Effect.Effect< CreateDomainEntryResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createGUISessionAccessDetails( input: CreateGUISessionAccessDetailsRequest, ): Effect.Effect< CreateGUISessionAccessDetailsResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createInstances( input: CreateInstancesRequest, ): Effect.Effect< CreateInstancesResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createInstancesFromSnapshot( input: CreateInstancesFromSnapshotRequest, ): Effect.Effect< CreateInstancesFromSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createInstanceSnapshot( input: CreateInstanceSnapshotRequest, ): Effect.Effect< CreateInstanceSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createKeyPair( input: CreateKeyPairRequest, ): Effect.Effect< CreateKeyPairResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createLoadBalancer( input: CreateLoadBalancerRequest, ): Effect.Effect< CreateLoadBalancerResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createLoadBalancerTlsCertificate( input: CreateLoadBalancerTlsCertificateRequest, ): Effect.Effect< CreateLoadBalancerTlsCertificateResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createRelationalDatabase( input: CreateRelationalDatabaseRequest, ): Effect.Effect< CreateRelationalDatabaseResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createRelationalDatabaseFromSnapshot( input: CreateRelationalDatabaseFromSnapshotRequest, ): Effect.Effect< CreateRelationalDatabaseFromSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; createRelationalDatabaseSnapshot( input: CreateRelationalDatabaseSnapshotRequest, ): Effect.Effect< CreateRelationalDatabaseSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteAlarm( input: DeleteAlarmRequest, ): Effect.Effect< DeleteAlarmResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteAutoSnapshot( input: DeleteAutoSnapshotRequest, ): Effect.Effect< DeleteAutoSnapshotResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteBucket( input: DeleteBucketRequest, ): Effect.Effect< DeleteBucketResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteBucketAccessKey( input: DeleteBucketAccessKeyRequest, ): Effect.Effect< DeleteBucketAccessKeyResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteCertificate( input: DeleteCertificateRequest, ): Effect.Effect< DeleteCertificateResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteContactMethod( input: DeleteContactMethodRequest, ): Effect.Effect< DeleteContactMethodResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteContainerImage( input: DeleteContainerImageRequest, ): Effect.Effect< DeleteContainerImageResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteContainerService( input: DeleteContainerServiceRequest, ): Effect.Effect< DeleteContainerServiceResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteDisk( input: DeleteDiskRequest, ): Effect.Effect< DeleteDiskResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteDiskSnapshot( input: DeleteDiskSnapshotRequest, ): Effect.Effect< DeleteDiskSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteDistribution( input: DeleteDistributionRequest, ): Effect.Effect< DeleteDistributionResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteDomain( input: DeleteDomainRequest, ): Effect.Effect< DeleteDomainResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteDomainEntry( input: DeleteDomainEntryRequest, ): Effect.Effect< DeleteDomainEntryResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteInstance( input: DeleteInstanceRequest, ): Effect.Effect< DeleteInstanceResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteInstanceSnapshot( input: DeleteInstanceSnapshotRequest, ): Effect.Effect< DeleteInstanceSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteKeyPair( input: DeleteKeyPairRequest, ): Effect.Effect< DeleteKeyPairResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteKnownHostKeys( input: DeleteKnownHostKeysRequest, ): Effect.Effect< DeleteKnownHostKeysResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteLoadBalancer( input: DeleteLoadBalancerRequest, ): Effect.Effect< DeleteLoadBalancerResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteLoadBalancerTlsCertificate( input: DeleteLoadBalancerTlsCertificateRequest, ): Effect.Effect< DeleteLoadBalancerTlsCertificateResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteRelationalDatabase( input: DeleteRelationalDatabaseRequest, ): Effect.Effect< DeleteRelationalDatabaseResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; deleteRelationalDatabaseSnapshot( input: DeleteRelationalDatabaseSnapshotRequest, ): Effect.Effect< DeleteRelationalDatabaseSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; detachCertificateFromDistribution( input: DetachCertificateFromDistributionRequest, ): Effect.Effect< DetachCertificateFromDistributionResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; detachDisk( input: DetachDiskRequest, ): Effect.Effect< DetachDiskResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; detachInstancesFromLoadBalancer( input: DetachInstancesFromLoadBalancerRequest, ): Effect.Effect< DetachInstancesFromLoadBalancerResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; detachStaticIp( input: DetachStaticIpRequest, ): Effect.Effect< DetachStaticIpResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; disableAddOn( input: DisableAddOnRequest, ): Effect.Effect< DisableAddOnResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; downloadDefaultKeyPair( input: DownloadDefaultKeyPairRequest, ): Effect.Effect< DownloadDefaultKeyPairResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; enableAddOn( input: EnableAddOnRequest, ): Effect.Effect< EnableAddOnResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; exportSnapshot( input: ExportSnapshotRequest, ): Effect.Effect< ExportSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getActiveNames( input: GetActiveNamesRequest, ): Effect.Effect< GetActiveNamesResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getAlarms( input: GetAlarmsRequest, ): Effect.Effect< GetAlarmsResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getAutoSnapshots( input: GetAutoSnapshotsRequest, ): Effect.Effect< GetAutoSnapshotsResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getBlueprints( input: GetBlueprintsRequest, ): Effect.Effect< GetBlueprintsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getBucketAccessKeys( input: GetBucketAccessKeysRequest, ): Effect.Effect< GetBucketAccessKeysResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getBucketBundles( input: GetBucketBundlesRequest, ): Effect.Effect< GetBucketBundlesResult, - | AccessDeniedException - | InvalidInputException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getBucketMetricData( input: GetBucketMetricDataRequest, ): Effect.Effect< GetBucketMetricDataResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getBuckets( input: GetBucketsRequest, ): Effect.Effect< GetBucketsResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getBundles( input: GetBundlesRequest, ): Effect.Effect< GetBundlesResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getCertificates( input: GetCertificatesRequest, ): Effect.Effect< GetCertificatesResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getCloudFormationStackRecords( input: GetCloudFormationStackRecordsRequest, ): Effect.Effect< GetCloudFormationStackRecordsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getContactMethods( input: GetContactMethodsRequest, ): Effect.Effect< GetContactMethodsResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getContainerAPIMetadata( input: GetContainerAPIMetadataRequest, ): Effect.Effect< GetContainerAPIMetadataResult, - | AccessDeniedException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getContainerImages( input: GetContainerImagesRequest, ): Effect.Effect< GetContainerImagesResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getContainerLog( input: GetContainerLogRequest, ): Effect.Effect< GetContainerLogResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getContainerServiceDeployments( input: GetContainerServiceDeploymentsRequest, ): Effect.Effect< GetContainerServiceDeploymentsResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getContainerServiceMetricData( input: GetContainerServiceMetricDataRequest, ): Effect.Effect< GetContainerServiceMetricDataResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getContainerServicePowers( input: GetContainerServicePowersRequest, ): Effect.Effect< GetContainerServicePowersResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getContainerServices( input: GetContainerServicesRequest, ): Effect.Effect< ContainerServicesListResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getCostEstimate( input: GetCostEstimateRequest, ): Effect.Effect< GetCostEstimateResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getDisk( input: GetDiskRequest, ): Effect.Effect< GetDiskResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getDisks( input: GetDisksRequest, ): Effect.Effect< GetDisksResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getDiskSnapshot( input: GetDiskSnapshotRequest, ): Effect.Effect< GetDiskSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getDiskSnapshots( input: GetDiskSnapshotsRequest, ): Effect.Effect< GetDiskSnapshotsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getDistributionBundles( input: GetDistributionBundlesRequest, ): Effect.Effect< GetDistributionBundlesResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; getDistributionLatestCacheReset( input: GetDistributionLatestCacheResetRequest, ): Effect.Effect< GetDistributionLatestCacheResetResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; getDistributionMetricData( input: GetDistributionMetricDataRequest, ): Effect.Effect< GetDistributionMetricDataResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; getDistributions( input: GetDistributionsRequest, ): Effect.Effect< GetDistributionsResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; getDomain( input: GetDomainRequest, ): Effect.Effect< GetDomainResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getDomains( input: GetDomainsRequest, ): Effect.Effect< GetDomainsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getExportSnapshotRecords( input: GetExportSnapshotRecordsRequest, ): Effect.Effect< GetExportSnapshotRecordsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getInstance( input: GetInstanceRequest, ): Effect.Effect< GetInstanceResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getInstanceAccessDetails( input: GetInstanceAccessDetailsRequest, ): Effect.Effect< GetInstanceAccessDetailsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getInstanceMetricData( input: GetInstanceMetricDataRequest, ): Effect.Effect< GetInstanceMetricDataResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getInstancePortStates( input: GetInstancePortStatesRequest, ): Effect.Effect< GetInstancePortStatesResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getInstances( input: GetInstancesRequest, ): Effect.Effect< GetInstancesResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getInstanceSnapshot( input: GetInstanceSnapshotRequest, ): Effect.Effect< GetInstanceSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getInstanceSnapshots( input: GetInstanceSnapshotsRequest, ): Effect.Effect< GetInstanceSnapshotsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getInstanceState( input: GetInstanceStateRequest, ): Effect.Effect< GetInstanceStateResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getKeyPair( input: GetKeyPairRequest, ): Effect.Effect< GetKeyPairResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getKeyPairs( input: GetKeyPairsRequest, ): Effect.Effect< GetKeyPairsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getLoadBalancer( input: GetLoadBalancerRequest, ): Effect.Effect< GetLoadBalancerResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getLoadBalancerMetricData( input: GetLoadBalancerMetricDataRequest, ): Effect.Effect< GetLoadBalancerMetricDataResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getLoadBalancers( input: GetLoadBalancersRequest, ): Effect.Effect< GetLoadBalancersResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getLoadBalancerTlsCertificates( input: GetLoadBalancerTlsCertificatesRequest, ): Effect.Effect< GetLoadBalancerTlsCertificatesResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getLoadBalancerTlsPolicies( input: GetLoadBalancerTlsPoliciesRequest, ): Effect.Effect< GetLoadBalancerTlsPoliciesResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getOperation( input: GetOperationRequest, ): Effect.Effect< GetOperationResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getOperations( input: GetOperationsRequest, ): Effect.Effect< GetOperationsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getOperationsForResource( input: GetOperationsForResourceRequest, ): Effect.Effect< GetOperationsForResourceResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRegions( input: GetRegionsRequest, ): Effect.Effect< GetRegionsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabase( input: GetRelationalDatabaseRequest, ): Effect.Effect< GetRelationalDatabaseResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseBlueprints( input: GetRelationalDatabaseBlueprintsRequest, ): Effect.Effect< GetRelationalDatabaseBlueprintsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseBundles( input: GetRelationalDatabaseBundlesRequest, ): Effect.Effect< GetRelationalDatabaseBundlesResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseEvents( input: GetRelationalDatabaseEventsRequest, ): Effect.Effect< GetRelationalDatabaseEventsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseLogEvents( input: GetRelationalDatabaseLogEventsRequest, ): Effect.Effect< GetRelationalDatabaseLogEventsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseLogStreams( input: GetRelationalDatabaseLogStreamsRequest, ): Effect.Effect< GetRelationalDatabaseLogStreamsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseMasterUserPassword( input: GetRelationalDatabaseMasterUserPasswordRequest, ): Effect.Effect< GetRelationalDatabaseMasterUserPasswordResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseMetricData( input: GetRelationalDatabaseMetricDataRequest, ): Effect.Effect< GetRelationalDatabaseMetricDataResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseParameters( input: GetRelationalDatabaseParametersRequest, ): Effect.Effect< GetRelationalDatabaseParametersResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabases( input: GetRelationalDatabasesRequest, ): Effect.Effect< GetRelationalDatabasesResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseSnapshot( input: GetRelationalDatabaseSnapshotRequest, ): Effect.Effect< GetRelationalDatabaseSnapshotResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getRelationalDatabaseSnapshots( input: GetRelationalDatabaseSnapshotsRequest, ): Effect.Effect< GetRelationalDatabaseSnapshotsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getSetupHistory( input: GetSetupHistoryRequest, ): Effect.Effect< GetSetupHistoryResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getStaticIp( input: GetStaticIpRequest, ): Effect.Effect< GetStaticIpResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; getStaticIps( input: GetStaticIpsRequest, ): Effect.Effect< GetStaticIpsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; importKeyPair( input: ImportKeyPairRequest, ): Effect.Effect< - ImportKeyPairResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError - >; - isVpcPeered( - input: IsVpcPeeredRequest, - ): Effect.Effect< - IsVpcPeeredResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + ImportKeyPairResult, + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError + >; + isVpcPeered( + input: IsVpcPeeredRequest, + ): Effect.Effect< + IsVpcPeeredResult, + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; openInstancePublicPorts( input: OpenInstancePublicPortsRequest, ): Effect.Effect< OpenInstancePublicPortsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; peerVpc( input: PeerVpcRequest, ): Effect.Effect< PeerVpcResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; putAlarm( input: PutAlarmRequest, ): Effect.Effect< PutAlarmResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; putInstancePublicPorts( input: PutInstancePublicPortsRequest, ): Effect.Effect< PutInstancePublicPortsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; rebootInstance( input: RebootInstanceRequest, ): Effect.Effect< RebootInstanceResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; rebootRelationalDatabase( input: RebootRelationalDatabaseRequest, ): Effect.Effect< RebootRelationalDatabaseResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; registerContainerImage( input: RegisterContainerImageRequest, ): Effect.Effect< RegisterContainerImageResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; releaseStaticIp( input: ReleaseStaticIpRequest, ): Effect.Effect< ReleaseStaticIpResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; resetDistributionCache( input: ResetDistributionCacheRequest, ): Effect.Effect< ResetDistributionCacheResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; sendContactMethodVerification( input: SendContactMethodVerificationRequest, ): Effect.Effect< SendContactMethodVerificationResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; setIpAddressType( input: SetIpAddressTypeRequest, ): Effect.Effect< SetIpAddressTypeResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; setResourceAccessForBucket( input: SetResourceAccessForBucketRequest, ): Effect.Effect< SetResourceAccessForBucketResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; setupInstanceHttps( input: SetupInstanceHttpsRequest, ): Effect.Effect< SetupInstanceHttpsResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; startGUISession( input: StartGUISessionRequest, ): Effect.Effect< StartGUISessionResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; startInstance( input: StartInstanceRequest, ): Effect.Effect< StartInstanceResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; startRelationalDatabase( input: StartRelationalDatabaseRequest, ): Effect.Effect< StartRelationalDatabaseResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; stopGUISession( input: StopGUISessionRequest, ): Effect.Effect< StopGUISessionResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; stopInstance( input: StopInstanceRequest, ): Effect.Effect< StopInstanceResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; stopRelationalDatabase( input: StopRelationalDatabaseRequest, ): Effect.Effect< StopRelationalDatabaseResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; testAlarm( input: TestAlarmRequest, ): Effect.Effect< TestAlarmResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; unpeerVpc( input: UnpeerVpcRequest, ): Effect.Effect< UnpeerVpcResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; updateBucket( input: UpdateBucketRequest, ): Effect.Effect< UpdateBucketResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; updateBucketBundle( input: UpdateBucketBundleRequest, ): Effect.Effect< UpdateBucketBundleResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; updateContainerService( input: UpdateContainerServiceRequest, ): Effect.Effect< UpdateContainerServiceResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; updateDistribution( input: UpdateDistributionRequest, ): Effect.Effect< UpdateDistributionResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; updateDistributionBundle( input: UpdateDistributionBundleRequest, ): Effect.Effect< UpdateDistributionBundleResult, - | AccessDeniedException - | InvalidInputException - | NotFoundException - | OperationFailureException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | InvalidInputException | NotFoundException | OperationFailureException | ServiceException | UnauthenticatedException | CommonAwsError >; updateDomainEntry( input: UpdateDomainEntryRequest, ): Effect.Effect< UpdateDomainEntryResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; updateInstanceMetadataOptions( input: UpdateInstanceMetadataOptionsRequest, ): Effect.Effect< UpdateInstanceMetadataOptionsResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; updateLoadBalancerAttribute( input: UpdateLoadBalancerAttributeRequest, ): Effect.Effect< UpdateLoadBalancerAttributeResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; updateRelationalDatabase( input: UpdateRelationalDatabaseRequest, ): Effect.Effect< UpdateRelationalDatabaseResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; updateRelationalDatabaseParameters( input: UpdateRelationalDatabaseParametersRequest, ): Effect.Effect< UpdateRelationalDatabaseParametersResult, - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError + AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError >; } @@ -2220,11 +1006,7 @@ export interface AccountLevelBpaSync { message?: BPAStatusMessage; bpaImpactsLightsail?: boolean; } -export type AccountLevelBpaSyncStatus = - | "InSync" - | "Failed" - | "NeverSynced" - | "Defaulted"; +export type AccountLevelBpaSyncStatus = "InSync" | "Failed" | "NeverSynced" | "Defaulted"; export declare class AccountSetupInProgressException extends EffectData.TaggedError( "AccountSetupInProgressException", )<{ @@ -2337,11 +1119,7 @@ export interface AutoSnapshotDetails { fromAttachedDisks?: Array; } export type AutoSnapshotDetailsList = Array; -export type AutoSnapshotStatus = - | "Success" - | "Failed" - | "InProgress" - | "NotFound"; +export type AutoSnapshotStatus = "Success" | "Failed" | "InProgress" | "NotFound"; export interface AvailabilityZone { zoneName?: string; state?: string; @@ -2369,11 +1147,7 @@ export type BlueprintList = Array; export type BlueprintType = "os" | "app"; export type Lightsailboolean = boolean; -export type BPAStatusMessage = - | "DEFAULTED_FOR_SLR_MISSING" - | "SYNC_ON_HOLD" - | "DEFAULTED_FOR_SLR_MISSING_ON_HOLD" - | "Unknown"; +export type BPAStatusMessage = "DEFAULTED_FOR_SLR_MISSING" | "SYNC_ON_HOLD" | "DEFAULTED_FOR_SLR_MISSING_ON_HOLD" | "Unknown"; export interface Bucket { resourceType?: string; accessRules?: AccessRules; @@ -2494,21 +1268,11 @@ export interface Certificate { tags?: Array; supportCode?: string; } -export type CertificateDomainValidationStatus = - | "PENDING_VALIDATION" - | "FAILED" - | "SUCCESS"; +export type CertificateDomainValidationStatus = "PENDING_VALIDATION" | "FAILED" | "SUCCESS"; export type CertificateName = string; export type CertificateProvider = "LetsEncrypt"; -export type CertificateStatus = - | "PENDING_VALIDATION" - | "ISSUED" - | "INACTIVE" - | "EXPIRED" - | "VALIDATION_TIMED_OUT" - | "REVOKED" - | "FAILED"; +export type CertificateStatus = "PENDING_VALIDATION" | "ISSUED" | "INACTIVE" | "EXPIRED" | "VALIDATION_TIMED_OUT" | "REVOKED" | "FAILED"; export type CertificateStatusList = Array; export interface CertificateSummary { certificateArn?: string; @@ -2541,14 +1305,9 @@ export interface CloudFormationStackRecordSourceInfo { name?: string; arn?: string; } -export type CloudFormationStackRecordSourceInfoList = - Array; +export type CloudFormationStackRecordSourceInfoList = Array; export type CloudFormationStackRecordSourceType = "ExportSnapshotRecord"; -export type ComparisonOperator = - | "GreaterThanOrEqualToThreshold" - | "GreaterThanThreshold" - | "LessThanThreshold" - | "LessThanOrEqualToThreshold"; +export type ComparisonOperator = "GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold"; export interface ContactMethod { contactEndpoint?: string; status?: ContactMethodStatus; @@ -2615,11 +1374,7 @@ export interface ContainerServiceDeploymentRequest { containers?: Record; publicEndpoint?: EndpointRequest; } -export type ContainerServiceDeploymentState = - | "ACTIVATING" - | "ACTIVE" - | "INACTIVE" - | "FAILED"; +export type ContainerServiceDeploymentState = "ACTIVATING" | "ACTIVE" | "INACTIVE" | "FAILED"; export interface ContainerServiceECRImagePullerRole { isActive?: boolean; principalArn?: string; @@ -2660,13 +1415,7 @@ export interface ContainerServicePower { isActive?: boolean; } export type ContainerServicePowerList = Array; -export type ContainerServicePowerName = - | "nano" - | "micro" - | "small" - | "medium" - | "large" - | "xlarge"; +export type ContainerServicePowerName = "nano" | "micro" | "small" | "medium" | "large" | "xlarge"; export type ContainerServiceProtocol = "HTTP" | "HTTPS" | "TCP" | "UDP"; export type ContainerServicePublicDomains = Record>; export type ContainerServicePublicDomainsList = Array; @@ -2681,28 +1430,12 @@ export type ContainerServiceScale = number; export interface ContainerServicesListResult { containerServices?: Array; } -export type ContainerServiceState = - | "PENDING" - | "READY" - | "RUNNING" - | "UPDATING" - | "DELETING" - | "DISABLED" - | "DEPLOYING"; +export type ContainerServiceState = "PENDING" | "READY" | "RUNNING" | "UPDATING" | "DELETING" | "DISABLED" | "DEPLOYING"; export interface ContainerServiceStateDetail { code?: ContainerServiceStateDetailCode; message?: string; } -export type ContainerServiceStateDetailCode = - | "CREATING_SYSTEM_RESOURCES" - | "CREATING_NETWORK_INFRASTRUCTURE" - | "PROVISIONING_CERTIFICATE" - | "PROVISIONING_SERVICE" - | "CREATING_DEPLOYMENT" - | "EVALUATING_HEALTH_CHECK" - | "ACTIVATING_DEPLOYMENT" - | "CERTIFICATE_LIMIT_EXCEEDED" - | "UNKNOWN_ERROR"; +export type ContainerServiceStateDetailCode = "CREATING_SYSTEM_RESOURCES" | "CREATING_NETWORK_INFRASTRUCTURE" | "PROVISIONING_CERTIFICATE" | "PROVISIONING_SERVICE" | "CREATING_DEPLOYMENT" | "EVALUATING_HEALTH_CHECK" | "ACTIVATING_DEPLOYMENT" | "CERTIFICATE_LIMIT_EXCEEDED" | "UNKNOWN_ERROR"; export interface CookieObject { option?: ForwardValues; cookiesAllowList?: Array; @@ -2771,7 +1504,8 @@ export interface CreateContainerServiceDeploymentRequest { export interface CreateContainerServiceDeploymentResult { containerService?: ContainerService; } -export interface CreateContainerServiceRegistryLoginRequest {} +export interface CreateContainerServiceRegistryLoginRequest { +} export interface CreateContainerServiceRegistryLoginResult { registryLogin?: ContainerServiceRegistryLogin; } @@ -3017,11 +1751,13 @@ export interface DeleteContainerImageRequest { serviceName: string; image: string; } -export interface DeleteContainerImageResult {} +export interface DeleteContainerImageResult { +} export interface DeleteContainerServiceRequest { serviceName: string; } -export interface DeleteContainerServiceResult {} +export interface DeleteContainerServiceResult { +} export interface DeleteDiskRequest { diskName: string; forceDeleteAddOns?: boolean; @@ -3199,12 +1935,7 @@ export interface DiskSnapshotInfo { } export type DiskSnapshotList = Array; export type DiskSnapshotState = "pending" | "completed" | "error" | "unknown"; -export type DiskState = - | "pending" - | "error" - | "available" - | "in-use" - | "unknown"; +export type DiskState = "pending" | "error" | "available" | "in-use" | "unknown"; export interface DistributionBundle { bundleId?: string; name?: string; @@ -3214,13 +1945,7 @@ export interface DistributionBundle { } export type DistributionBundleList = Array; export type DistributionList = Array; -export type DistributionMetricName = - | "Requests" - | "BytesDownloaded" - | "BytesUploaded" - | "TotalErrorRate" - | "Http4xxErrorRate" - | "Http5xxErrorRate"; +export type DistributionMetricName = "Requests" | "BytesDownloaded" | "BytesUploaded" | "TotalErrorRate" | "Http4xxErrorRate" | "Http5xxErrorRate"; export interface DnsRecordCreationState { code?: DnsRecordCreationStateCode; message?: string; @@ -3264,7 +1989,8 @@ export interface DomainValidationRecord { export type DomainValidationRecordList = Array; export type double = number; -export interface DownloadDefaultKeyPairRequest {} +export interface DownloadDefaultKeyPairRequest { +} export interface DownloadDefaultKeyPairResult { publicKeyBase64?: string; privateKeyBase64?: string; @@ -3316,9 +2042,7 @@ export interface ExportSnapshotRecordSourceInfo { instanceSnapshotInfo?: InstanceSnapshotInfo; diskSnapshotInfo?: DiskSnapshotInfo; } -export type ExportSnapshotRecordSourceType = - | "InstanceSnapshot" - | "DiskSnapshot"; +export type ExportSnapshotRecordSourceType = "InstanceSnapshot" | "DiskSnapshot"; export interface ExportSnapshotRequest { sourceSnapshotName: string; } @@ -3429,7 +2153,8 @@ export interface GetContactMethodsRequest { export interface GetContactMethodsResult { contactMethods?: Array; } -export interface GetContainerAPIMetadataRequest {} +export interface GetContainerAPIMetadataRequest { +} export interface GetContainerAPIMetadataResult { metadata?: Array>; } @@ -3469,7 +2194,8 @@ export interface GetContainerServiceMetricDataResult { metricName?: ContainerServiceMetricName; metricData?: Array; } -export interface GetContainerServicePowersRequest {} +export interface GetContainerServicePowersRequest { +} export interface GetContainerServicePowersResult { powers?: Array; } @@ -3510,7 +2236,8 @@ export interface GetDisksResult { disks?: Array; nextPageToken?: string; } -export interface GetDistributionBundlesRequest {} +export interface GetDistributionBundlesRequest { +} export interface GetDistributionBundlesResult { bundles?: Array; } @@ -3821,22 +2548,7 @@ export interface GetStaticIpsResult { staticIps?: Array; nextPageToken?: string; } -export type HeaderEnum = - | "Accept" - | "Accept-Charset" - | "Accept-Datetime" - | "Accept-Encoding" - | "Accept-Language" - | "Authorization" - | "CloudFront-Forwarded-Proto" - | "CloudFront-Is-Desktop-Viewer" - | "CloudFront-Is-Mobile-Viewer" - | "CloudFront-Is-SmartTV-Viewer" - | "CloudFront-Is-Tablet-Viewer" - | "CloudFront-Viewer-Country" - | "Host" - | "Origin" - | "Referer"; +export type HeaderEnum = "Accept" | "Accept-Charset" | "Accept-Datetime" | "Accept-Encoding" | "Accept-Language" | "Authorization" | "CloudFront-Forwarded-Proto" | "CloudFront-Is-Desktop-Viewer" | "CloudFront-Is-Mobile-Viewer" | "CloudFront-Is-SmartTV-Viewer" | "CloudFront-Is-Tablet-Viewer" | "CloudFront-Viewer-Country" | "Host" | "Origin" | "Referer"; export type HeaderForwardList = Array; export interface HeaderObject { option?: ForwardValues; @@ -3923,25 +2635,8 @@ export interface InstanceHardware { disks?: Array; ramSizeInGb?: number; } -export type InstanceHealthReason = - | "Lb.RegistrationInProgress" - | "Lb.InitialHealthChecking" - | "Lb.InternalError" - | "Instance.ResponseCodeMismatch" - | "Instance.Timeout" - | "Instance.FailedHealthChecks" - | "Instance.NotRegistered" - | "Instance.NotInUse" - | "Instance.DeregistrationInProgress" - | "Instance.InvalidState" - | "Instance.IpUnusable"; -export type InstanceHealthState = - | "initial" - | "healthy" - | "unhealthy" - | "unused" - | "draining" - | "unavailable"; +export type InstanceHealthReason = "Lb.RegistrationInProgress" | "Lb.InitialHealthChecking" | "Lb.InternalError" | "Instance.ResponseCodeMismatch" | "Instance.Timeout" | "Instance.FailedHealthChecks" | "Instance.NotRegistered" | "Instance.NotInUse" | "Instance.DeregistrationInProgress" | "Instance.InvalidState" | "Instance.IpUnusable"; +export type InstanceHealthState = "initial" | "healthy" | "unhealthy" | "unused" | "draining" | "unavailable"; export interface InstanceHealthSummary { instanceName?: string; instanceHealth?: InstanceHealthState; @@ -3957,16 +2652,7 @@ export interface InstanceMetadataOptions { httpProtocolIpv6?: HttpProtocolIpv6; } export type InstanceMetadataState = "pending" | "applied"; -export type InstanceMetricName = - | "CPUUtilization" - | "NetworkIn" - | "NetworkOut" - | "StatusCheckFailed" - | "StatusCheckFailed_Instance" - | "StatusCheckFailed_System" - | "BurstCapacityTime" - | "BurstCapacityPercentage" - | "MetadataNoToken"; +export type InstanceMetricName = "CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "BurstCapacityTime" | "BurstCapacityPercentage" | "MetadataNoToken"; export interface InstanceNetworking { monthlyTransfer?: MonthlyTransfer; ports?: Array; @@ -4047,7 +2733,8 @@ export type IsoDate = Date | string; export type IssuerCA = string; -export interface IsVpcPeeredRequest {} +export interface IsVpcPeeredRequest { +} export interface IsVpcPeeredResult { isPeered?: boolean; } @@ -4108,37 +2795,12 @@ export interface LoadBalancer { httpsRedirectionEnabled?: boolean; tlsPolicyName?: string; } -export type LoadBalancerAttributeName = - | "HealthCheckPath" - | "SessionStickinessEnabled" - | "SessionStickiness_LB_CookieDurationSeconds" - | "HttpsRedirectionEnabled" - | "TlsPolicyName"; -export type LoadBalancerConfigurationOptions = Record< - LoadBalancerAttributeName, - string ->; +export type LoadBalancerAttributeName = "HealthCheckPath" | "SessionStickinessEnabled" | "SessionStickiness_LB_CookieDurationSeconds" | "HttpsRedirectionEnabled" | "TlsPolicyName"; +export type LoadBalancerConfigurationOptions = Record; export type LoadBalancerList = Array; -export type LoadBalancerMetricName = - | "ClientTLSNegotiationErrorCount" - | "HealthyHostCount" - | "UnhealthyHostCount" - | "HTTPCode_LB_4XX_Count" - | "HTTPCode_LB_5XX_Count" - | "HTTPCode_Instance_2XX_Count" - | "HTTPCode_Instance_3XX_Count" - | "HTTPCode_Instance_4XX_Count" - | "HTTPCode_Instance_5XX_Count" - | "InstanceResponseTime" - | "RejectedConnectionCount" - | "RequestCount"; +export type LoadBalancerMetricName = "ClientTLSNegotiationErrorCount" | "HealthyHostCount" | "UnhealthyHostCount" | "HTTPCode_LB_4XX_Count" | "HTTPCode_LB_5XX_Count" | "HTTPCode_Instance_2XX_Count" | "HTTPCode_Instance_3XX_Count" | "HTTPCode_Instance_4XX_Count" | "HTTPCode_Instance_5XX_Count" | "InstanceResponseTime" | "RejectedConnectionCount" | "RequestCount"; export type LoadBalancerProtocol = "HTTP_HTTPS" | "HTTP"; -export type LoadBalancerState = - | "active" - | "provisioning" - | "active_impaired" - | "failed" - | "unknown"; +export type LoadBalancerState = "active" | "provisioning" | "active_impaired" | "failed" | "unknown"; export interface LoadBalancerTlsCertificate { name?: string; arn?: string; @@ -4170,20 +2832,13 @@ export interface LoadBalancerTlsCertificateDnsRecordCreationState { code?: LoadBalancerTlsCertificateDnsRecordCreationStateCode; message?: string; } -export type LoadBalancerTlsCertificateDnsRecordCreationStateCode = - | "SUCCEEDED" - | "STARTED" - | "FAILED"; -export type LoadBalancerTlsCertificateDomainStatus = - | "PENDING_VALIDATION" - | "FAILED" - | "SUCCESS"; +export type LoadBalancerTlsCertificateDnsRecordCreationStateCode = "SUCCEEDED" | "STARTED" | "FAILED"; +export type LoadBalancerTlsCertificateDomainStatus = "PENDING_VALIDATION" | "FAILED" | "SUCCESS"; export interface LoadBalancerTlsCertificateDomainValidationOption { domainName?: string; validationStatus?: LoadBalancerTlsCertificateDomainStatus; } -export type LoadBalancerTlsCertificateDomainValidationOptionList = - Array; +export type LoadBalancerTlsCertificateDomainValidationOptionList = Array; export interface LoadBalancerTlsCertificateDomainValidationRecord { name?: string; type?: string; @@ -4192,50 +2847,21 @@ export interface LoadBalancerTlsCertificateDomainValidationRecord { domainName?: string; dnsRecordCreationState?: LoadBalancerTlsCertificateDnsRecordCreationState; } -export type LoadBalancerTlsCertificateDomainValidationRecordList = - Array; -export type LoadBalancerTlsCertificateFailureReason = - | "NO_AVAILABLE_CONTACTS" - | "ADDITIONAL_VERIFICATION_REQUIRED" - | "DOMAIN_NOT_ALLOWED" - | "INVALID_PUBLIC_DOMAIN" - | "OTHER"; +export type LoadBalancerTlsCertificateDomainValidationRecordList = Array; +export type LoadBalancerTlsCertificateFailureReason = "NO_AVAILABLE_CONTACTS" | "ADDITIONAL_VERIFICATION_REQUIRED" | "DOMAIN_NOT_ALLOWED" | "INVALID_PUBLIC_DOMAIN" | "OTHER"; export type LoadBalancerTlsCertificateList = Array; -export type LoadBalancerTlsCertificateRenewalStatus = - | "PENDING_AUTO_RENEWAL" - | "PENDING_VALIDATION" - | "SUCCESS" - | "FAILED"; +export type LoadBalancerTlsCertificateRenewalStatus = "PENDING_AUTO_RENEWAL" | "PENDING_VALIDATION" | "SUCCESS" | "FAILED"; export interface LoadBalancerTlsCertificateRenewalSummary { renewalStatus?: LoadBalancerTlsCertificateRenewalStatus; domainValidationOptions?: Array; } -export type LoadBalancerTlsCertificateRevocationReason = - | "UNSPECIFIED" - | "KEY_COMPROMISE" - | "CA_COMPROMISE" - | "AFFILIATION_CHANGED" - | "SUPERCEDED" - | "CESSATION_OF_OPERATION" - | "CERTIFICATE_HOLD" - | "REMOVE_FROM_CRL" - | "PRIVILEGE_WITHDRAWN" - | "A_A_COMPROMISE"; -export type LoadBalancerTlsCertificateStatus = - | "PENDING_VALIDATION" - | "ISSUED" - | "INACTIVE" - | "EXPIRED" - | "VALIDATION_TIMED_OUT" - | "REVOKED" - | "FAILED" - | "UNKNOWN"; +export type LoadBalancerTlsCertificateRevocationReason = "UNSPECIFIED" | "KEY_COMPROMISE" | "CA_COMPROMISE" | "AFFILIATION_CHANGED" | "SUPERCEDED" | "CESSATION_OF_OPERATION" | "CERTIFICATE_HOLD" | "REMOVE_FROM_CRL" | "PRIVILEGE_WITHDRAWN" | "A_A_COMPROMISE"; +export type LoadBalancerTlsCertificateStatus = "PENDING_VALIDATION" | "ISSUED" | "INACTIVE" | "EXPIRED" | "VALIDATION_TIMED_OUT" | "REVOKED" | "FAILED" | "UNKNOWN"; export interface LoadBalancerTlsCertificateSummary { name?: string; isAttached?: boolean; } -export type LoadBalancerTlsCertificateSummaryList = - Array; +export type LoadBalancerTlsCertificateSummaryList = Array; export interface LoadBalancerTlsPolicy { name?: string; isDefault?: boolean; @@ -4261,69 +2887,12 @@ export interface MetricDatapoint { unit?: MetricUnit; } export type MetricDatapointList = Array; -export type MetricName = - | "CPUUtilization" - | "NetworkIn" - | "NetworkOut" - | "StatusCheckFailed" - | "StatusCheckFailed_Instance" - | "StatusCheckFailed_System" - | "ClientTLSNegotiationErrorCount" - | "HealthyHostCount" - | "UnhealthyHostCount" - | "HTTPCode_LB_4XX_Count" - | "HTTPCode_LB_5XX_Count" - | "HTTPCode_Instance_2XX_Count" - | "HTTPCode_Instance_3XX_Count" - | "HTTPCode_Instance_4XX_Count" - | "HTTPCode_Instance_5XX_Count" - | "InstanceResponseTime" - | "RejectedConnectionCount" - | "RequestCount" - | "DatabaseConnections" - | "DiskQueueDepth" - | "FreeStorageSpace" - | "NetworkReceiveThroughput" - | "NetworkTransmitThroughput" - | "BurstCapacityTime" - | "BurstCapacityPercentage"; +export type MetricName = "CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "ClientTLSNegotiationErrorCount" | "HealthyHostCount" | "UnhealthyHostCount" | "HTTPCode_LB_4XX_Count" | "HTTPCode_LB_5XX_Count" | "HTTPCode_Instance_2XX_Count" | "HTTPCode_Instance_3XX_Count" | "HTTPCode_Instance_4XX_Count" | "HTTPCode_Instance_5XX_Count" | "InstanceResponseTime" | "RejectedConnectionCount" | "RequestCount" | "DatabaseConnections" | "DiskQueueDepth" | "FreeStorageSpace" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "BurstCapacityTime" | "BurstCapacityPercentage"; export type MetricPeriod = number; -export type MetricStatistic = - | "Minimum" - | "Maximum" - | "Sum" - | "Average" - | "SampleCount"; +export type MetricStatistic = "Minimum" | "Maximum" | "Sum" | "Average" | "SampleCount"; export type MetricStatisticList = Array; -export type MetricUnit = - | "Seconds" - | "Microseconds" - | "Milliseconds" - | "Bytes" - | "Kilobytes" - | "Megabytes" - | "Gigabytes" - | "Terabytes" - | "Bits" - | "Kilobits" - | "Megabits" - | "Gigabits" - | "Terabits" - | "Percent" - | "Count" - | "Bytes/Second" - | "Kilobytes/Second" - | "Megabytes/Second" - | "Gigabytes/Second" - | "Terabytes/Second" - | "Bits/Second" - | "Kilobits/Second" - | "Megabits/Second" - | "Gigabits/Second" - | "Terabits/Second" - | "Count/Second" - | "None"; +export type MetricUnit = "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None"; export interface MonitoredResourceInfo { arn?: string; name?: string; @@ -4336,11 +2905,7 @@ export interface NameServersUpdateState { code?: NameServersUpdateStateCode; message?: string; } -export type NameServersUpdateStateCode = - | "SUCCEEDED" - | "PENDING" - | "FAILED" - | "STARTED"; +export type NameServersUpdateStateCode = "SUCCEEDED" | "PENDING" | "FAILED" | "STARTED"; export type NetworkProtocol = "tcp" | "all" | "udp" | "icmp" | "icmpv6"; export type NonEmptyString = string; @@ -4383,96 +2948,8 @@ export declare class OperationFailureException extends EffectData.TaggedError( readonly tip?: string; }> {} export type OperationList = Array; -export type OperationStatus = - | "NotStarted" - | "Started" - | "Failed" - | "Completed" - | "Succeeded"; -export type OperationType = - | "DeleteKnownHostKeys" - | "DeleteInstance" - | "CreateInstance" - | "StopInstance" - | "StartInstance" - | "RebootInstance" - | "OpenInstancePublicPorts" - | "PutInstancePublicPorts" - | "CloseInstancePublicPorts" - | "AllocateStaticIp" - | "ReleaseStaticIp" - | "AttachStaticIp" - | "DetachStaticIp" - | "UpdateDomainEntry" - | "DeleteDomainEntry" - | "CreateDomain" - | "DeleteDomain" - | "CreateInstanceSnapshot" - | "DeleteInstanceSnapshot" - | "CreateInstancesFromSnapshot" - | "CreateLoadBalancer" - | "DeleteLoadBalancer" - | "AttachInstancesToLoadBalancer" - | "DetachInstancesFromLoadBalancer" - | "UpdateLoadBalancerAttribute" - | "CreateLoadBalancerTlsCertificate" - | "DeleteLoadBalancerTlsCertificate" - | "AttachLoadBalancerTlsCertificate" - | "CreateDisk" - | "DeleteDisk" - | "AttachDisk" - | "DetachDisk" - | "CreateDiskSnapshot" - | "DeleteDiskSnapshot" - | "CreateDiskFromSnapshot" - | "CreateRelationalDatabase" - | "UpdateRelationalDatabase" - | "DeleteRelationalDatabase" - | "CreateRelationalDatabaseFromSnapshot" - | "CreateRelationalDatabaseSnapshot" - | "DeleteRelationalDatabaseSnapshot" - | "UpdateRelationalDatabaseParameters" - | "StartRelationalDatabase" - | "RebootRelationalDatabase" - | "StopRelationalDatabase" - | "EnableAddOn" - | "DisableAddOn" - | "PutAlarm" - | "GetAlarms" - | "DeleteAlarm" - | "TestAlarm" - | "CreateContactMethod" - | "GetContactMethods" - | "SendContactMethodVerification" - | "DeleteContactMethod" - | "CreateDistribution" - | "UpdateDistribution" - | "DeleteDistribution" - | "ResetDistributionCache" - | "AttachCertificateToDistribution" - | "DetachCertificateFromDistribution" - | "UpdateDistributionBundle" - | "SetIpAddressType" - | "CreateCertificate" - | "DeleteCertificate" - | "CreateContainerService" - | "UpdateContainerService" - | "DeleteContainerService" - | "CreateContainerServiceDeployment" - | "CreateContainerServiceRegistryLogin" - | "RegisterContainerImage" - | "DeleteContainerImage" - | "CreateBucket" - | "DeleteBucket" - | "CreateBucketAccessKey" - | "DeleteBucketAccessKey" - | "UpdateBucketBundle" - | "UpdateBucket" - | "SetResourceAccessForBucket" - | "UpdateInstanceMetadataOptions" - | "StartGUISession" - | "StopGUISession" - | "SetupInstanceHttps"; +export type OperationStatus = "NotStarted" | "Started" | "Failed" | "Completed" | "Succeeded"; +export type OperationType = "DeleteKnownHostKeys" | "DeleteInstance" | "CreateInstance" | "StopInstance" | "StartInstance" | "RebootInstance" | "OpenInstancePublicPorts" | "PutInstancePublicPorts" | "CloseInstancePublicPorts" | "AllocateStaticIp" | "ReleaseStaticIp" | "AttachStaticIp" | "DetachStaticIp" | "UpdateDomainEntry" | "DeleteDomainEntry" | "CreateDomain" | "DeleteDomain" | "CreateInstanceSnapshot" | "DeleteInstanceSnapshot" | "CreateInstancesFromSnapshot" | "CreateLoadBalancer" | "DeleteLoadBalancer" | "AttachInstancesToLoadBalancer" | "DetachInstancesFromLoadBalancer" | "UpdateLoadBalancerAttribute" | "CreateLoadBalancerTlsCertificate" | "DeleteLoadBalancerTlsCertificate" | "AttachLoadBalancerTlsCertificate" | "CreateDisk" | "DeleteDisk" | "AttachDisk" | "DetachDisk" | "CreateDiskSnapshot" | "DeleteDiskSnapshot" | "CreateDiskFromSnapshot" | "CreateRelationalDatabase" | "UpdateRelationalDatabase" | "DeleteRelationalDatabase" | "CreateRelationalDatabaseFromSnapshot" | "CreateRelationalDatabaseSnapshot" | "DeleteRelationalDatabaseSnapshot" | "UpdateRelationalDatabaseParameters" | "StartRelationalDatabase" | "RebootRelationalDatabase" | "StopRelationalDatabase" | "EnableAddOn" | "DisableAddOn" | "PutAlarm" | "GetAlarms" | "DeleteAlarm" | "TestAlarm" | "CreateContactMethod" | "GetContactMethods" | "SendContactMethodVerification" | "DeleteContactMethod" | "CreateDistribution" | "UpdateDistribution" | "DeleteDistribution" | "ResetDistributionCache" | "AttachCertificateToDistribution" | "DetachCertificateFromDistribution" | "UpdateDistributionBundle" | "SetIpAddressType" | "CreateCertificate" | "DeleteCertificate" | "CreateContainerService" | "UpdateContainerService" | "DeleteContainerService" | "CreateContainerServiceDeployment" | "CreateContainerServiceRegistryLogin" | "RegisterContainerImage" | "DeleteContainerImage" | "CreateBucket" | "DeleteBucket" | "CreateBucketAccessKey" | "DeleteBucketAccessKey" | "UpdateBucketBundle" | "UpdateBucket" | "SetResourceAccessForBucket" | "UpdateInstanceMetadataOptions" | "StartGUISession" | "StopGUISession" | "SetupInstanceHttps"; export interface Origin { name?: string; resourceType?: ResourceType; @@ -4486,7 +2963,8 @@ export interface PasswordData { ciphertext?: string; keyPairName?: string; } -export interface PeerVpcRequest {} +export interface PeerVpcRequest { +} export interface PeerVpcResult { operation?: Operation; } @@ -4555,11 +3033,7 @@ export interface R53HostedZoneDeletionState { code?: R53HostedZoneDeletionStateCode; message?: string; } -export type R53HostedZoneDeletionStateCode = - | "SUCCEEDED" - | "PENDING" - | "FAILED" - | "STARTED"; +export type R53HostedZoneDeletionStateCode = "SUCCEEDED" | "PENDING" | "FAILED" | "STARTED"; export interface RebootInstanceRequest { instanceName: string; } @@ -4582,23 +3056,7 @@ export interface Region { relationalDatabaseAvailabilityZones?: Array; } export type RegionList = Array; -export type RegionName = - | "us-east-1" - | "us-east-2" - | "us-west-1" - | "us-west-2" - | "eu-west-1" - | "eu-west-2" - | "eu-west-3" - | "eu-central-1" - | "ca-central-1" - | "ap-south-1" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-northeast-1" - | "ap-northeast-2" - | "eu-north-1" - | "ap-southeast-3"; +export type RegionName = "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1" | "ap-southeast-3"; export declare class RegionSetupInProgressException extends EffectData.TaggedError( "RegionSetupInProgressException", )<{ @@ -4655,8 +3113,7 @@ export interface RelationalDatabaseBlueprint { engineVersionDescription?: string; isEngineDefault?: boolean; } -export type RelationalDatabaseBlueprintList = - Array; +export type RelationalDatabaseBlueprintList = Array; export interface RelationalDatabaseBundle { bundleId?: string; name?: string; @@ -4687,13 +3144,7 @@ export interface RelationalDatabaseHardware { ramSizeInGb?: number; } export type RelationalDatabaseList = Array; -export type RelationalDatabaseMetricName = - | "CPUUtilization" - | "DatabaseConnections" - | "DiskQueueDepth" - | "FreeStorageSpace" - | "NetworkReceiveThroughput" - | "NetworkTransmitThroughput"; +export type RelationalDatabaseMetricName = "CPUUtilization" | "DatabaseConnections" | "DiskQueueDepth" | "FreeStorageSpace" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput"; export interface RelationalDatabaseParameter { allowedValues?: string; applyMethod?: string; @@ -4704,12 +3155,8 @@ export interface RelationalDatabaseParameter { parameterName?: string; parameterValue?: string; } -export type RelationalDatabaseParameterList = - Array; -export type RelationalDatabasePasswordVersion = - | "CURRENT" - | "PREVIOUS" - | "PENDING"; +export type RelationalDatabaseParameterList = Array; +export type RelationalDatabasePasswordVersion = "CURRENT" | "PREVIOUS" | "PENDING"; export interface RelationalDatabaseSnapshot { name?: string; arn?: string; @@ -4734,11 +3181,7 @@ export interface ReleaseStaticIpRequest { export interface ReleaseStaticIpResult { operations?: Array; } -export type RenewalStatus = - | "PendingAutoRenewal" - | "PendingValidation" - | "Success" - | "Failed"; +export type RenewalStatus = "PendingAutoRenewal" | "PendingValidation" | "Success" | "Failed"; export type RenewalStatusReason = string; export interface RenewalSummary { @@ -4784,27 +3227,7 @@ export interface ResourceRecord { value?: string; } export type ResourcesBudgetEstimate = Array; -export type ResourceType = - | "ContainerService" - | "Instance" - | "StaticIp" - | "KeyPair" - | "InstanceSnapshot" - | "Domain" - | "PeeredVpc" - | "LoadBalancer" - | "LoadBalancerTlsCertificate" - | "Disk" - | "DiskSnapshot" - | "RelationalDatabase" - | "RelationalDatabaseSnapshot" - | "ExportSnapshotRecord" - | "CloudFormationStackRecord" - | "Alarm" - | "ContactMethod" - | "Distribution" - | "Certificate" - | "Bucket"; +export type ResourceType = "ContainerService" | "Instance" | "StaticIp" | "KeyPair" | "InstanceSnapshot" | "Domain" | "PeeredVpc" | "LoadBalancer" | "LoadBalancerTlsCertificate" | "Disk" | "DiskSnapshot" | "RelationalDatabase" | "RelationalDatabaseSnapshot" | "ExportSnapshotRecord" | "CloudFormationStackRecord" | "Alarm" | "ContactMethod" | "Distribution" | "Certificate" | "Bucket"; export type RevocationReason = string; export interface SendContactMethodVerificationRequest { @@ -4925,17 +3348,7 @@ export interface StaticIp { isAttached?: boolean; } export type StaticIpList = Array; -export type Status = - | "startExpired" - | "notStarted" - | "started" - | "starting" - | "stopped" - | "stopping" - | "settingUpInstance" - | "failedInstanceCreation" - | "failedStartingGUISession" - | "failedStoppingGUISession"; +export type Status = "startExpired" | "notStarted" | "started" | "starting" | "stopped" | "stopping" | "settingUpInstance" | "failedInstanceCreation" | "failedStartingGUISession" | "failedStoppingGUISession"; export type StatusType = "Active" | "Inactive"; export interface StopGUISessionRequest { resourceName: string; @@ -5000,11 +3413,7 @@ export interface TimePeriod { } export type timestamp = Date | string; -export type TreatMissingData = - | "breaching" - | "notBreaching" - | "ignore" - | "missing"; +export type TreatMissingData = "breaching" | "notBreaching" | "ignore" | "missing"; export declare class UnauthenticatedException extends EffectData.TaggedError( "UnauthenticatedException", )<{ @@ -5013,7 +3422,8 @@ export declare class UnauthenticatedException extends EffectData.TaggedError( readonly message?: string; readonly tip?: string; }> {} -export interface UnpeerVpcRequest {} +export interface UnpeerVpcRequest { +} export interface UnpeerVpcResult { operation?: Operation; } @@ -5124,11 +3534,7 @@ export interface UpdateRelationalDatabaseRequest { export interface UpdateRelationalDatabaseResult { operations?: Array; } -export type ViewerMinimumTlsProtocolVersionEnum = - | "TLSv1.1_2016" - | "TLSv1.2_2018" - | "TLSv1.2_2019" - | "TLSv1.2_2021"; +export type ViewerMinimumTlsProtocolVersionEnum = "TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021"; export declare namespace AllocateStaticIp { export type Input = AllocateStaticIpRequest; export type Output = AllocateStaticIpResult; @@ -7436,13 +5842,5 @@ export declare namespace UpdateRelationalDatabaseParameters { | CommonAwsError; } -export type LightsailErrors = - | AccessDeniedException - | AccountSetupInProgressException - | InvalidInputException - | NotFoundException - | OperationFailureException - | RegionSetupInProgressException - | ServiceException - | UnauthenticatedException - | CommonAwsError; +export type LightsailErrors = AccessDeniedException | AccountSetupInProgressException | InvalidInputException | NotFoundException | OperationFailureException | RegionSetupInProgressException | ServiceException | UnauthenticatedException | CommonAwsError; + diff --git a/src/services/location/index.ts b/src/services/location/index.ts index 0626336e..d656076f 100644 --- a/src/services/location/index.ts +++ b/src/services/location/index.ts @@ -5,23 +5,7 @@ import type { Location as _LocationClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,118 +14,98 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "geo", operations: { - AssociateTrackerConsumer: - "POST /tracking/v0/trackers/{TrackerName}/consumers", - BatchDeleteDevicePositionHistory: - "POST /tracking/v0/trackers/{TrackerName}/delete-positions", - BatchDeleteGeofence: - "POST /geofencing/v0/collections/{CollectionName}/delete-geofences", - BatchEvaluateGeofences: - "POST /geofencing/v0/collections/{CollectionName}/positions", - BatchGetDevicePosition: - "POST /tracking/v0/trackers/{TrackerName}/get-positions", - BatchPutGeofence: - "POST /geofencing/v0/collections/{CollectionName}/put-geofences", - BatchUpdateDevicePosition: - "POST /tracking/v0/trackers/{TrackerName}/positions", - CalculateRoute: - "POST /routes/v0/calculators/{CalculatorName}/calculate/route", - CalculateRouteMatrix: - "POST /routes/v0/calculators/{CalculatorName}/calculate/route-matrix", - CreateGeofenceCollection: "POST /geofencing/v0/collections", - CreateKey: "POST /metadata/v0/keys", - CreateMap: "POST /maps/v0/maps", - CreatePlaceIndex: "POST /places/v0/indexes", - CreateRouteCalculator: "POST /routes/v0/calculators", - CreateTracker: "POST /tracking/v0/trackers", - DeleteGeofenceCollection: - "DELETE /geofencing/v0/collections/{CollectionName}", - DeleteKey: "DELETE /metadata/v0/keys/{KeyName}", - DeleteMap: "DELETE /maps/v0/maps/{MapName}", - DeletePlaceIndex: "DELETE /places/v0/indexes/{IndexName}", - DeleteRouteCalculator: "DELETE /routes/v0/calculators/{CalculatorName}", - DeleteTracker: "DELETE /tracking/v0/trackers/{TrackerName}", - DescribeGeofenceCollection: - "GET /geofencing/v0/collections/{CollectionName}", - DescribeKey: "GET /metadata/v0/keys/{KeyName}", - DescribeMap: "GET /maps/v0/maps/{MapName}", - DescribePlaceIndex: "GET /places/v0/indexes/{IndexName}", - DescribeRouteCalculator: "GET /routes/v0/calculators/{CalculatorName}", - DescribeTracker: "GET /tracking/v0/trackers/{TrackerName}", - DisassociateTrackerConsumer: - "DELETE /tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn}", - ForecastGeofenceEvents: - "POST /geofencing/v0/collections/{CollectionName}/forecast-geofence-events", - GetDevicePosition: - "GET /tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/positions/latest", - GetDevicePositionHistory: - "POST /tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions", - GetGeofence: - "GET /geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}", - GetMapGlyphs: { + "AssociateTrackerConsumer": "POST /tracking/v0/trackers/{TrackerName}/consumers", + "BatchDeleteDevicePositionHistory": "POST /tracking/v0/trackers/{TrackerName}/delete-positions", + "BatchDeleteGeofence": "POST /geofencing/v0/collections/{CollectionName}/delete-geofences", + "BatchEvaluateGeofences": "POST /geofencing/v0/collections/{CollectionName}/positions", + "BatchGetDevicePosition": "POST /tracking/v0/trackers/{TrackerName}/get-positions", + "BatchPutGeofence": "POST /geofencing/v0/collections/{CollectionName}/put-geofences", + "BatchUpdateDevicePosition": "POST /tracking/v0/trackers/{TrackerName}/positions", + "CalculateRoute": "POST /routes/v0/calculators/{CalculatorName}/calculate/route", + "CalculateRouteMatrix": "POST /routes/v0/calculators/{CalculatorName}/calculate/route-matrix", + "CreateGeofenceCollection": "POST /geofencing/v0/collections", + "CreateKey": "POST /metadata/v0/keys", + "CreateMap": "POST /maps/v0/maps", + "CreatePlaceIndex": "POST /places/v0/indexes", + "CreateRouteCalculator": "POST /routes/v0/calculators", + "CreateTracker": "POST /tracking/v0/trackers", + "DeleteGeofenceCollection": "DELETE /geofencing/v0/collections/{CollectionName}", + "DeleteKey": "DELETE /metadata/v0/keys/{KeyName}", + "DeleteMap": "DELETE /maps/v0/maps/{MapName}", + "DeletePlaceIndex": "DELETE /places/v0/indexes/{IndexName}", + "DeleteRouteCalculator": "DELETE /routes/v0/calculators/{CalculatorName}", + "DeleteTracker": "DELETE /tracking/v0/trackers/{TrackerName}", + "DescribeGeofenceCollection": "GET /geofencing/v0/collections/{CollectionName}", + "DescribeKey": "GET /metadata/v0/keys/{KeyName}", + "DescribeMap": "GET /maps/v0/maps/{MapName}", + "DescribePlaceIndex": "GET /places/v0/indexes/{IndexName}", + "DescribeRouteCalculator": "GET /routes/v0/calculators/{CalculatorName}", + "DescribeTracker": "GET /tracking/v0/trackers/{TrackerName}", + "DisassociateTrackerConsumer": "DELETE /tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn}", + "ForecastGeofenceEvents": "POST /geofencing/v0/collections/{CollectionName}/forecast-geofence-events", + "GetDevicePosition": "GET /tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/positions/latest", + "GetDevicePositionHistory": "POST /tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions", + "GetGeofence": "GET /geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}", + "GetMapGlyphs": { http: "GET /maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange}", traits: { - Blob: "httpPayload", - ContentType: "Content-Type", - CacheControl: "Cache-Control", + "Blob": "httpPayload", + "ContentType": "Content-Type", + "CacheControl": "Cache-Control", }, }, - GetMapSprites: { + "GetMapSprites": { http: "GET /maps/v0/maps/{MapName}/sprites/{FileName}", traits: { - Blob: "httpPayload", - ContentType: "Content-Type", - CacheControl: "Cache-Control", + "Blob": "httpPayload", + "ContentType": "Content-Type", + "CacheControl": "Cache-Control", }, }, - GetMapStyleDescriptor: { + "GetMapStyleDescriptor": { http: "GET /maps/v0/maps/{MapName}/style-descriptor", traits: { - Blob: "httpPayload", - ContentType: "Content-Type", - CacheControl: "Cache-Control", + "Blob": "httpPayload", + "ContentType": "Content-Type", + "CacheControl": "Cache-Control", }, }, - GetMapTile: { + "GetMapTile": { http: "GET /maps/v0/maps/{MapName}/tiles/{Z}/{X}/{Y}", traits: { - Blob: "httpPayload", - ContentType: "Content-Type", - CacheControl: "Cache-Control", + "Blob": "httpPayload", + "ContentType": "Content-Type", + "CacheControl": "Cache-Control", }, }, - GetPlace: "GET /places/v0/indexes/{IndexName}/places/{PlaceId}", - ListDevicePositions: - "POST /tracking/v0/trackers/{TrackerName}/list-positions", - ListGeofenceCollections: "POST /geofencing/v0/list-collections", - ListGeofences: - "POST /geofencing/v0/collections/{CollectionName}/list-geofences", - ListKeys: "POST /metadata/v0/list-keys", - ListMaps: "POST /maps/v0/list-maps", - ListPlaceIndexes: "POST /places/v0/list-indexes", - ListRouteCalculators: "POST /routes/v0/list-calculators", - ListTagsForResource: "GET /tags/{ResourceArn}", - ListTrackerConsumers: - "POST /tracking/v0/trackers/{TrackerName}/list-consumers", - ListTrackers: "POST /tracking/v0/list-trackers", - PutGeofence: - "PUT /geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}", - SearchPlaceIndexForPosition: - "POST /places/v0/indexes/{IndexName}/search/position", - SearchPlaceIndexForSuggestions: - "POST /places/v0/indexes/{IndexName}/search/suggestions", - SearchPlaceIndexForText: "POST /places/v0/indexes/{IndexName}/search/text", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateGeofenceCollection: - "PATCH /geofencing/v0/collections/{CollectionName}", - UpdateKey: "PATCH /metadata/v0/keys/{KeyName}", - UpdateMap: "PATCH /maps/v0/maps/{MapName}", - UpdatePlaceIndex: "PATCH /places/v0/indexes/{IndexName}", - UpdateRouteCalculator: "PATCH /routes/v0/calculators/{CalculatorName}", - UpdateTracker: "PATCH /tracking/v0/trackers/{TrackerName}", - VerifyDevicePosition: - "POST /tracking/v0/trackers/{TrackerName}/positions/verify", + "GetPlace": "GET /places/v0/indexes/{IndexName}/places/{PlaceId}", + "ListDevicePositions": "POST /tracking/v0/trackers/{TrackerName}/list-positions", + "ListGeofenceCollections": "POST /geofencing/v0/list-collections", + "ListGeofences": "POST /geofencing/v0/collections/{CollectionName}/list-geofences", + "ListKeys": "POST /metadata/v0/list-keys", + "ListMaps": "POST /maps/v0/list-maps", + "ListPlaceIndexes": "POST /places/v0/list-indexes", + "ListRouteCalculators": "POST /routes/v0/list-calculators", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "ListTrackerConsumers": "POST /tracking/v0/trackers/{TrackerName}/list-consumers", + "ListTrackers": "POST /tracking/v0/list-trackers", + "PutGeofence": "PUT /geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}", + "SearchPlaceIndexForPosition": "POST /places/v0/indexes/{IndexName}/search/position", + "SearchPlaceIndexForSuggestions": "POST /places/v0/indexes/{IndexName}/search/suggestions", + "SearchPlaceIndexForText": "POST /places/v0/indexes/{IndexName}/search/text", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateGeofenceCollection": "PATCH /geofencing/v0/collections/{CollectionName}", + "UpdateKey": "PATCH /metadata/v0/keys/{KeyName}", + "UpdateMap": "PATCH /maps/v0/maps/{MapName}", + "UpdatePlaceIndex": "PATCH /places/v0/indexes/{IndexName}", + "UpdateRouteCalculator": "PATCH /routes/v0/calculators/{CalculatorName}", + "UpdateTracker": "PATCH /tracking/v0/trackers/{TrackerName}", + "VerifyDevicePosition": "POST /tracking/v0/trackers/{TrackerName}/positions/verify", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/location/types.ts b/src/services/location/types.ts index 123fe082..4f1ea1d1 100644 --- a/src/services/location/types.ts +++ b/src/services/location/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Location extends AWSServiceClient { @@ -40,663 +8,361 @@ export declare class Location extends AWSServiceClient { input: AssociateTrackerConsumerRequest, ): Effect.Effect< AssociateTrackerConsumerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchDeleteDevicePositionHistory( input: BatchDeleteDevicePositionHistoryRequest, ): Effect.Effect< BatchDeleteDevicePositionHistoryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchDeleteGeofence( input: BatchDeleteGeofenceRequest, ): Effect.Effect< BatchDeleteGeofenceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchEvaluateGeofences( input: BatchEvaluateGeofencesRequest, ): Effect.Effect< BatchEvaluateGeofencesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetDevicePosition( input: BatchGetDevicePositionRequest, ): Effect.Effect< BatchGetDevicePositionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchPutGeofence( input: BatchPutGeofenceRequest, ): Effect.Effect< BatchPutGeofenceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchUpdateDevicePosition( input: BatchUpdateDevicePositionRequest, ): Effect.Effect< BatchUpdateDevicePositionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; calculateRoute( input: CalculateRouteRequest, ): Effect.Effect< CalculateRouteResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; calculateRouteMatrix( input: CalculateRouteMatrixRequest, ): Effect.Effect< CalculateRouteMatrixResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createGeofenceCollection( input: CreateGeofenceCollectionRequest, ): Effect.Effect< CreateGeofenceCollectionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createKey( input: CreateKeyRequest, ): Effect.Effect< CreateKeyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMap( input: CreateMapRequest, ): Effect.Effect< CreateMapResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPlaceIndex( input: CreatePlaceIndexRequest, ): Effect.Effect< CreatePlaceIndexResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRouteCalculator( input: CreateRouteCalculatorRequest, ): Effect.Effect< CreateRouteCalculatorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTracker( input: CreateTrackerRequest, ): Effect.Effect< CreateTrackerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteGeofenceCollection( input: DeleteGeofenceCollectionRequest, ): Effect.Effect< DeleteGeofenceCollectionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKey( input: DeleteKeyRequest, ): Effect.Effect< DeleteKeyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMap( input: DeleteMapRequest, ): Effect.Effect< DeleteMapResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePlaceIndex( input: DeletePlaceIndexRequest, ): Effect.Effect< DeletePlaceIndexResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRouteCalculator( input: DeleteRouteCalculatorRequest, ): Effect.Effect< DeleteRouteCalculatorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTracker( input: DeleteTrackerRequest, ): Effect.Effect< DeleteTrackerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeGeofenceCollection( input: DescribeGeofenceCollectionRequest, ): Effect.Effect< DescribeGeofenceCollectionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeKey( input: DescribeKeyRequest, ): Effect.Effect< DescribeKeyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeMap( input: DescribeMapRequest, ): Effect.Effect< DescribeMapResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePlaceIndex( input: DescribePlaceIndexRequest, ): Effect.Effect< DescribePlaceIndexResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRouteCalculator( input: DescribeRouteCalculatorRequest, ): Effect.Effect< DescribeRouteCalculatorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeTracker( input: DescribeTrackerRequest, ): Effect.Effect< DescribeTrackerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateTrackerConsumer( input: DisassociateTrackerConsumerRequest, ): Effect.Effect< DisassociateTrackerConsumerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; forecastGeofenceEvents( input: ForecastGeofenceEventsRequest, ): Effect.Effect< ForecastGeofenceEventsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDevicePosition( input: GetDevicePositionRequest, ): Effect.Effect< GetDevicePositionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDevicePositionHistory( input: GetDevicePositionHistoryRequest, ): Effect.Effect< GetDevicePositionHistoryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGeofence( input: GetGeofenceRequest, ): Effect.Effect< GetGeofenceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMapGlyphs( input: GetMapGlyphsRequest, ): Effect.Effect< GetMapGlyphsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMapSprites( input: GetMapSpritesRequest, ): Effect.Effect< GetMapSpritesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMapStyleDescriptor( input: GetMapStyleDescriptorRequest, ): Effect.Effect< GetMapStyleDescriptorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMapTile( input: GetMapTileRequest, ): Effect.Effect< GetMapTileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPlace( input: GetPlaceRequest, ): Effect.Effect< GetPlaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDevicePositions( input: ListDevicePositionsRequest, ): Effect.Effect< ListDevicePositionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listGeofenceCollections( input: ListGeofenceCollectionsRequest, ): Effect.Effect< ListGeofenceCollectionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listGeofences( input: ListGeofencesRequest, ): Effect.Effect< ListGeofencesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listKeys( input: ListKeysRequest, ): Effect.Effect< ListKeysResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listMaps( input: ListMapsRequest, ): Effect.Effect< ListMapsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPlaceIndexes( input: ListPlaceIndexesRequest, ): Effect.Effect< ListPlaceIndexesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRouteCalculators( input: ListRouteCalculatorsRequest, ): Effect.Effect< ListRouteCalculatorsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTrackerConsumers( input: ListTrackerConsumersRequest, ): Effect.Effect< ListTrackerConsumersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTrackers( input: ListTrackersRequest, ): Effect.Effect< ListTrackersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putGeofence( input: PutGeofenceRequest, ): Effect.Effect< PutGeofenceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchPlaceIndexForPosition( input: SearchPlaceIndexForPositionRequest, ): Effect.Effect< SearchPlaceIndexForPositionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchPlaceIndexForSuggestions( input: SearchPlaceIndexForSuggestionsRequest, ): Effect.Effect< SearchPlaceIndexForSuggestionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchPlaceIndexForText( input: SearchPlaceIndexForTextRequest, ): Effect.Effect< SearchPlaceIndexForTextResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateGeofenceCollection( input: UpdateGeofenceCollectionRequest, ): Effect.Effect< UpdateGeofenceCollectionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateKey( input: UpdateKeyRequest, ): Effect.Effect< UpdateKeyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateMap( input: UpdateMapRequest, ): Effect.Effect< UpdateMapResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePlaceIndex( input: UpdatePlaceIndexRequest, ): Effect.Effect< UpdatePlaceIndexResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRouteCalculator( input: UpdateRouteCalculatorRequest, ): Effect.Effect< UpdateRouteCalculatorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTracker( input: UpdateTrackerRequest, ): Effect.Effect< UpdateTrackerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; verifyDevicePosition( input: VerifyDevicePositionRequest, ): Effect.Effect< VerifyDevicePositionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -740,15 +406,15 @@ export interface AssociateTrackerConsumerRequest { TrackerName: string; ConsumerArn: string; } -export interface AssociateTrackerConsumerResponse {} +export interface AssociateTrackerConsumerResponse { +} export type Base64EncodedGeobuf = Uint8Array | string; export interface BatchDeleteDevicePositionHistoryError { DeviceId: string; Error: BatchItemError; } -export type BatchDeleteDevicePositionHistoryErrorList = - Array; +export type BatchDeleteDevicePositionHistoryErrorList = Array; export interface BatchDeleteDevicePositionHistoryRequest { TrackerName: string; DeviceIds: Array; @@ -773,8 +439,7 @@ export interface BatchEvaluateGeofencesError { SampleTime: Date | string; Error: BatchItemError; } -export type BatchEvaluateGeofencesErrorList = - Array; +export type BatchEvaluateGeofencesErrorList = Array; export interface BatchEvaluateGeofencesRequest { CollectionName: string; DevicePositionUpdates: Array; @@ -786,8 +451,7 @@ export interface BatchGetDevicePositionError { DeviceId: string; Error: BatchItemError; } -export type BatchGetDevicePositionErrorList = - Array; +export type BatchGetDevicePositionErrorList = Array; export interface BatchGetDevicePositionRequest { TrackerName: string; DeviceIds: Array; @@ -816,8 +480,7 @@ export interface BatchPutGeofenceRequestEntry { Geometry: GeofenceGeometry; GeofenceProperties?: Record; } -export type BatchPutGeofenceRequestEntryList = - Array; +export type BatchPutGeofenceRequestEntryList = Array; export interface BatchPutGeofenceResponse { Successes: Array; Errors: Array; @@ -833,8 +496,7 @@ export interface BatchUpdateDevicePositionError { SampleTime: Date | string; Error: BatchItemError; } -export type BatchUpdateDevicePositionErrorList = - Array; +export type BatchUpdateDevicePositionErrorList = Array; export interface BatchUpdateDevicePositionRequest { TrackerName: string; Updates: Array; @@ -1010,28 +672,34 @@ export interface DataSourceConfiguration { export interface DeleteGeofenceCollectionRequest { CollectionName: string; } -export interface DeleteGeofenceCollectionResponse {} +export interface DeleteGeofenceCollectionResponse { +} export interface DeleteKeyRequest { KeyName: string; ForceDelete?: boolean; } -export interface DeleteKeyResponse {} +export interface DeleteKeyResponse { +} export interface DeleteMapRequest { MapName: string; } -export interface DeleteMapResponse {} +export interface DeleteMapResponse { +} export interface DeletePlaceIndexRequest { IndexName: string; } -export interface DeletePlaceIndexResponse {} +export interface DeletePlaceIndexResponse { +} export interface DeleteRouteCalculatorRequest { CalculatorName: string; } -export interface DeleteRouteCalculatorResponse {} +export interface DeleteRouteCalculatorResponse { +} export interface DeleteTrackerRequest { TrackerName: string; } -export interface DeleteTrackerResponse {} +export interface DeleteTrackerResponse { +} export interface DescribeGeofenceCollectionRequest { CollectionName: string; } @@ -1152,7 +820,8 @@ export interface DisassociateTrackerConsumerRequest { TrackerName: string; ConsumerArn: string; } -export interface DisassociateTrackerConsumerResponse {} +export interface DisassociateTrackerConsumerResponse { +} export type DistanceUnit = string; export type Earfcn = number; @@ -1343,8 +1012,7 @@ export interface ListDevicePositionsResponseEntry { Accuracy?: PositionalAccuracy; PositionProperties?: Record; } -export type ListDevicePositionsResponseEntryList = - Array; +export type ListDevicePositionsResponseEntryList = Array; export interface ListGeofenceCollectionsRequest { MaxResults?: number; NextToken?: string; @@ -1361,8 +1029,7 @@ export interface ListGeofenceCollectionsResponseEntry { CreateTime: Date | string; UpdateTime: Date | string; } -export type ListGeofenceCollectionsResponseEntryList = - Array; +export type ListGeofenceCollectionsResponseEntryList = Array; export interface ListGeofenceResponseEntry { GeofenceId: string; Geometry: GeofenceGeometry; @@ -1432,8 +1099,7 @@ export interface ListPlaceIndexesResponseEntry { CreateTime: Date | string; UpdateTime: Date | string; } -export type ListPlaceIndexesResponseEntryList = - Array; +export type ListPlaceIndexesResponseEntryList = Array; export interface ListRouteCalculatorsRequest { MaxResults?: number; NextToken?: string; @@ -1450,8 +1116,7 @@ export interface ListRouteCalculatorsResponseEntry { CreateTime: Date | string; UpdateTime: Date | string; } -export type ListRouteCalculatorsResponseEntryList = - Array; +export type ListRouteCalculatorsResponseEntryList = Array; export interface ListTagsForResourceRequest { ResourceArn: string; } @@ -1733,7 +1398,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1768,7 +1434,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateGeofenceCollectionRequest { CollectionName: string; PricingPlan?: string; @@ -2597,12 +2264,5 @@ export declare namespace VerifyDevicePosition { | CommonAwsError; } -export type LocationErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type LocationErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/lookoutequipment/index.ts b/src/services/lookoutequipment/index.ts index 5324a0f1..c8b5367e 100644 --- a/src/services/lookoutequipment/index.ts +++ b/src/services/lookoutequipment/index.ts @@ -5,23 +5,7 @@ import type { LookoutEquipment as _LookoutEquipmentClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/lookoutequipment/types.ts b/src/services/lookoutequipment/types.ts index 55ef164c..abb10b95 100644 --- a/src/services/lookoutequipment/types.ts +++ b/src/services/lookoutequipment/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class LookoutEquipment extends AWSServiceClient { @@ -40,567 +8,295 @@ export declare class LookoutEquipment extends AWSServiceClient { input: CreateDatasetRequest, ): Effect.Effect< CreateDatasetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createInferenceScheduler( input: CreateInferenceSchedulerRequest, ): Effect.Effect< CreateInferenceSchedulerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLabel( input: CreateLabelRequest, ): Effect.Effect< CreateLabelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLabelGroup( input: CreateLabelGroupRequest, ): Effect.Effect< CreateLabelGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createModel( input: CreateModelRequest, ): Effect.Effect< CreateModelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRetrainingScheduler( input: CreateRetrainingSchedulerRequest, ): Effect.Effect< CreateRetrainingSchedulerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataset( input: DeleteDatasetRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteInferenceScheduler( input: DeleteInferenceSchedulerRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteLabel( input: DeleteLabelRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteLabelGroup( input: DeleteLabelGroupRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteModel( input: DeleteModelRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRetrainingScheduler( input: DeleteRetrainingSchedulerRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeDataIngestionJob( input: DescribeDataIngestionJobRequest, ): Effect.Effect< DescribeDataIngestionJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeDataset( input: DescribeDatasetRequest, ): Effect.Effect< DescribeDatasetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeInferenceScheduler( input: DescribeInferenceSchedulerRequest, ): Effect.Effect< DescribeInferenceSchedulerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeLabel( input: DescribeLabelRequest, ): Effect.Effect< DescribeLabelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeLabelGroup( input: DescribeLabelGroupRequest, ): Effect.Effect< DescribeLabelGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeModel( input: DescribeModelRequest, ): Effect.Effect< DescribeModelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeModelVersion( input: DescribeModelVersionRequest, ): Effect.Effect< DescribeModelVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeResourcePolicy( input: DescribeResourcePolicyRequest, ): Effect.Effect< DescribeResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRetrainingScheduler( input: DescribeRetrainingSchedulerRequest, ): Effect.Effect< DescribeRetrainingSchedulerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; importDataset( input: ImportDatasetRequest, ): Effect.Effect< ImportDatasetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; importModelVersion( input: ImportModelVersionRequest, ): Effect.Effect< ImportModelVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listDataIngestionJobs( input: ListDataIngestionJobsRequest, ): Effect.Effect< ListDataIngestionJobsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDatasets( input: ListDatasetsRequest, ): Effect.Effect< ListDatasetsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listInferenceEvents( input: ListInferenceEventsRequest, ): Effect.Effect< ListInferenceEventsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInferenceExecutions( input: ListInferenceExecutionsRequest, ): Effect.Effect< ListInferenceExecutionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInferenceSchedulers( input: ListInferenceSchedulersRequest, ): Effect.Effect< ListInferenceSchedulersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listLabelGroups( input: ListLabelGroupsRequest, ): Effect.Effect< ListLabelGroupsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listLabels( input: ListLabelsRequest, ): Effect.Effect< ListLabelsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listModels( input: ListModelsRequest, ): Effect.Effect< ListModelsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listModelVersions( input: ListModelVersionsRequest, ): Effect.Effect< ListModelVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRetrainingSchedulers( input: ListRetrainingSchedulersRequest, ): Effect.Effect< ListRetrainingSchedulersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSensorStatistics( input: ListSensorStatisticsRequest, ): Effect.Effect< ListSensorStatisticsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startDataIngestionJob( input: StartDataIngestionJobRequest, ): Effect.Effect< StartDataIngestionJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startInferenceScheduler( input: StartInferenceSchedulerRequest, ): Effect.Effect< StartInferenceSchedulerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startRetrainingScheduler( input: StartRetrainingSchedulerRequest, ): Effect.Effect< StartRetrainingSchedulerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopInferenceScheduler( input: StopInferenceSchedulerRequest, ): Effect.Effect< StopInferenceSchedulerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopRetrainingScheduler( input: StopRetrainingSchedulerRequest, ): Effect.Effect< StopRetrainingSchedulerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateActiveModelVersion( input: UpdateActiveModelVersionRequest, ): Effect.Effect< UpdateActiveModelVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateInferenceScheduler( input: UpdateInferenceSchedulerRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateLabelGroup( input: UpdateLabelGroupRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateModel( input: UpdateModelRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRetrainingScheduler( input: UpdateRetrainingSchedulerRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -613,12 +309,7 @@ export declare class AccessDeniedException extends EffectData.TaggedError( }> {} export type AmazonResourceArn = string; -export type AutoPromotionResult = - | "MODEL_PROMOTED" - | "MODEL_NOT_PROMOTED" - | "RETRAINING_INTERNAL_ERROR" - | "RETRAINING_CUSTOMER_ERROR" - | "RETRAINING_CANCELLED"; +export type AutoPromotionResult = "MODEL_PROMOTED" | "MODEL_NOT_PROMOTED" | "RETRAINING_INTERNAL_ERROR" | "RETRAINING_CUSTOMER_ERROR" | "RETRAINING_CANCELLED"; export type AutoPromotionResultReason = string; export type LookoutequipmentBoolean = boolean; @@ -760,11 +451,7 @@ export type DatasetName = string; export interface DatasetSchema { InlineDataSchema?: string; } -export type DatasetStatus = - | "CREATED" - | "INGESTION_IN_PROGRESS" - | "ACTIVE" - | "IMPORT_IN_PROGRESS"; +export type DatasetStatus = "CREATED" | "INGESTION_IN_PROGRESS" | "ACTIVE" | "IMPORT_IN_PROGRESS"; export type DatasetSummaries = Array; export interface DatasetSummary { DatasetName?: string; @@ -1040,10 +727,7 @@ export interface ImportModelVersionResponse { ModelVersion?: number; Status?: ModelVersionStatus; } -export type InferenceDataImportStrategy = - | "NO_IMPORT" - | "ADD_WHEN_EMPTY" - | "OVERWRITE"; +export type InferenceDataImportStrategy = "NO_IMPORT" | "ADD_WHEN_EMPTY" | "OVERWRITE"; export type InferenceEventSummaries = Array; export interface InferenceEventSummary { InferenceSchedulerArn?: string; @@ -1098,11 +782,7 @@ export type InferenceSchedulerIdentifier = string; export type InferenceSchedulerName = string; -export type InferenceSchedulerStatus = - | "PENDING" - | "RUNNING" - | "STOPPING" - | "STOPPED"; +export type InferenceSchedulerStatus = "PENDING" | "RUNNING" | "STOPPING" | "STOPPED"; export type InferenceSchedulerSummaries = Array; export interface InferenceSchedulerSummary { ModelName?: string; @@ -1124,11 +804,7 @@ export interface IngestionInputConfiguration { } export type IngestionJobId = string; -export type IngestionJobStatus = - | "IN_PROGRESS" - | "SUCCESS" - | "FAILED" - | "IMPORT_IN_PROGRESS"; +export type IngestionJobStatus = "IN_PROGRESS" | "SUCCESS" | "FAILED" | "IMPORT_IN_PROGRESS"; export interface IngestionS3InputConfiguration { Bucket: string; Prefix?: string; @@ -1349,15 +1025,8 @@ export type ModelMetrics = string; export type ModelName = string; export type ModelPromoteMode = "MANAGED" | "MANUAL"; -export type ModelQuality = - | "QUALITY_THRESHOLD_MET" - | "CANNOT_DETERMINE_QUALITY" - | "POOR_QUALITY_DETECTED"; -export type ModelStatus = - | "IN_PROGRESS" - | "SUCCESS" - | "FAILED" - | "IMPORT_IN_PROGRESS"; +export type ModelQuality = "QUALITY_THRESHOLD_MET" | "CANNOT_DETERMINE_QUALITY" | "POOR_QUALITY_DETECTED"; +export type ModelStatus = "IN_PROGRESS" | "SUCCESS" | "FAILED" | "IMPORT_IN_PROGRESS"; export type ModelSummaries = Array; export interface ModelSummary { ModelName?: string; @@ -1381,12 +1050,7 @@ export type ModelVersion = number; export type ModelVersionArn = string; export type ModelVersionSourceType = "TRAINING" | "RETRAINING" | "IMPORT"; -export type ModelVersionStatus = - | "IN_PROGRESS" - | "SUCCESS" - | "FAILED" - | "IMPORT_IN_PROGRESS" - | "CANCELED"; +export type ModelVersionStatus = "IN_PROGRESS" | "SUCCESS" | "FAILED" | "IMPORT_IN_PROGRESS" | "CANCELED"; export type ModelVersionSummaries = Array; export interface ModelVersionSummary { ModelName?: string; @@ -1435,11 +1099,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( }> {} export type RetrainingFrequency = string; -export type RetrainingSchedulerStatus = - | "PENDING" - | "RUNNING" - | "STOPPING" - | "STOPPED"; +export type RetrainingSchedulerStatus = "PENDING" | "RUNNING" | "STOPPING" | "STOPPED"; export type RetrainingSchedulerSummaries = Array; export interface RetrainingSchedulerSummary { ModelName?: string; @@ -1513,9 +1173,7 @@ export interface StartRetrainingSchedulerResponse { ModelArn?: string; Status?: RetrainingSchedulerStatus; } -export type StatisticalIssueStatus = - | "POTENTIAL_ISSUE_DETECTED" - | "NO_ISSUE_DETECTED"; +export type StatisticalIssueStatus = "POTENTIAL_ISSUE_DETECTED" | "NO_ISSUE_DETECTED"; export interface StopInferenceSchedulerRequest { InferenceSchedulerName: string; } @@ -1550,21 +1208,11 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; -export type TargetSamplingRate = - | "PT1S" - | "PT5S" - | "PT10S" - | "PT15S" - | "PT30S" - | "PT1M" - | "PT5M" - | "PT10M" - | "PT15M" - | "PT30M" - | "PT1H"; +export type TargetSamplingRate = "PT1S" | "PT5S" | "PT10S" | "PT15S" | "PT30S" | "PT1M" | "PT5M" | "PT10M" | "PT15M" | "PT30M" | "PT1H"; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -1581,7 +1229,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateActiveModelVersionRequest { ModelName: string; ModelVersion: number; @@ -2239,12 +1888,5 @@ export declare namespace UpdateRetrainingScheduler { | CommonAwsError; } -export type LookoutEquipmentErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type LookoutEquipmentErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/m2/index.ts b/src/services/m2/index.ts index 26f4774e..87fb9816 100644 --- a/src/services/m2/index.ts +++ b/src/services/m2/index.ts @@ -5,23 +5,7 @@ import type { m2 as _m2Client } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,58 +15,49 @@ const metadata = { sigV4ServiceName: "m2", endpointPrefix: "m2", operations: { - GetSignedBluinsightsUrl: "GET /signed-bi-url", - ListEngineVersions: "GET /engine-versions", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CancelBatchJobExecution: - "POST /applications/{applicationId}/batch-job-executions/{executionId}/cancel", - CreateApplication: "POST /applications", - CreateDataSetExportTask: - "POST /applications/{applicationId}/dataset-export-task", - CreateDataSetImportTask: - "POST /applications/{applicationId}/dataset-import-task", - CreateDeployment: "POST /applications/{applicationId}/deployments", - CreateEnvironment: "POST /environments", - DeleteApplication: "DELETE /applications/{applicationId}", - DeleteApplicationFromEnvironment: - "DELETE /applications/{applicationId}/environment/{environmentId}", - DeleteEnvironment: "DELETE /environments/{environmentId}", - GetApplication: "GET /applications/{applicationId}", - GetApplicationVersion: - "GET /applications/{applicationId}/versions/{applicationVersion}", - GetBatchJobExecution: - "GET /applications/{applicationId}/batch-job-executions/{executionId}", - GetDataSetDetails: - "GET /applications/{applicationId}/datasets/{dataSetName}", - GetDataSetExportTask: - "GET /applications/{applicationId}/dataset-export-tasks/{taskId}", - GetDataSetImportTask: - "GET /applications/{applicationId}/dataset-import-tasks/{taskId}", - GetDeployment: - "GET /applications/{applicationId}/deployments/{deploymentId}", - GetEnvironment: "GET /environments/{environmentId}", - ListApplicationVersions: "GET /applications/{applicationId}/versions", - ListApplications: "GET /applications", - ListBatchJobDefinitions: - "GET /applications/{applicationId}/batch-job-definitions", - ListBatchJobExecutions: - "GET /applications/{applicationId}/batch-job-executions", - ListBatchJobRestartPoints: - "GET /applications/{applicationId}/batch-job-executions/{executionId}/steps", - ListDataSetExportHistory: - "GET /applications/{applicationId}/dataset-export-tasks", - ListDataSetImportHistory: - "GET /applications/{applicationId}/dataset-import-tasks", - ListDataSets: "GET /applications/{applicationId}/datasets", - ListDeployments: "GET /applications/{applicationId}/deployments", - ListEnvironments: "GET /environments", - StartApplication: "POST /applications/{applicationId}/start", - StartBatchJob: "POST /applications/{applicationId}/batch-job", - StopApplication: "POST /applications/{applicationId}/stop", - UpdateApplication: "PATCH /applications/{applicationId}", - UpdateEnvironment: "PATCH /environments/{environmentId}", + "GetSignedBluinsightsUrl": "GET /signed-bi-url", + "ListEngineVersions": "GET /engine-versions", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CancelBatchJobExecution": "POST /applications/{applicationId}/batch-job-executions/{executionId}/cancel", + "CreateApplication": "POST /applications", + "CreateDataSetExportTask": "POST /applications/{applicationId}/dataset-export-task", + "CreateDataSetImportTask": "POST /applications/{applicationId}/dataset-import-task", + "CreateDeployment": "POST /applications/{applicationId}/deployments", + "CreateEnvironment": "POST /environments", + "DeleteApplication": "DELETE /applications/{applicationId}", + "DeleteApplicationFromEnvironment": "DELETE /applications/{applicationId}/environment/{environmentId}", + "DeleteEnvironment": "DELETE /environments/{environmentId}", + "GetApplication": "GET /applications/{applicationId}", + "GetApplicationVersion": "GET /applications/{applicationId}/versions/{applicationVersion}", + "GetBatchJobExecution": "GET /applications/{applicationId}/batch-job-executions/{executionId}", + "GetDataSetDetails": "GET /applications/{applicationId}/datasets/{dataSetName}", + "GetDataSetExportTask": "GET /applications/{applicationId}/dataset-export-tasks/{taskId}", + "GetDataSetImportTask": "GET /applications/{applicationId}/dataset-import-tasks/{taskId}", + "GetDeployment": "GET /applications/{applicationId}/deployments/{deploymentId}", + "GetEnvironment": "GET /environments/{environmentId}", + "ListApplicationVersions": "GET /applications/{applicationId}/versions", + "ListApplications": "GET /applications", + "ListBatchJobDefinitions": "GET /applications/{applicationId}/batch-job-definitions", + "ListBatchJobExecutions": "GET /applications/{applicationId}/batch-job-executions", + "ListBatchJobRestartPoints": "GET /applications/{applicationId}/batch-job-executions/{executionId}/steps", + "ListDataSetExportHistory": "GET /applications/{applicationId}/dataset-export-tasks", + "ListDataSetImportHistory": "GET /applications/{applicationId}/dataset-import-tasks", + "ListDataSets": "GET /applications/{applicationId}/datasets", + "ListDeployments": "GET /applications/{applicationId}/deployments", + "ListEnvironments": "GET /environments", + "StartApplication": "POST /applications/{applicationId}/start", + "StartBatchJob": "POST /applications/{applicationId}/batch-job", + "StopApplication": "POST /applications/{applicationId}/stop", + "UpdateApplication": "PATCH /applications/{applicationId}", + "UpdateEnvironment": "PATCH /environments/{environmentId}", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, + "ExecutionTimeoutException": {}, + "ServiceUnavailableException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/m2/types.ts b/src/services/m2/types.ts index 3b95e456..d0191090 100644 --- a/src/services/m2/types.ts +++ b/src/services/m2/types.ts @@ -1,464 +1,230 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class m2 extends AWSServiceClient { - getSignedBluinsightsUrl(input: {}): Effect.Effect< + getSignedBluinsightsUrl( + input: {}, + ): Effect.Effect< GetSignedBluinsightsUrlResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; listEngineVersions( input: ListEngineVersionsRequest, ): Effect.Effect< ListEngineVersionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelBatchJobExecution( input: CancelBatchJobExecutionRequest, ): Effect.Effect< CancelBatchJobExecutionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataSetExportTask( input: CreateDataSetExportTaskRequest, ): Effect.Effect< CreateDataSetExportTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataSetImportTask( input: CreateDataSetImportTaskRequest, ): Effect.Effect< CreateDataSetImportTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDeployment( input: CreateDeploymentRequest, ): Effect.Effect< CreateDeploymentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironment( input: CreateEnvironmentRequest, ): Effect.Effect< CreateEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplicationFromEnvironment( input: DeleteApplicationFromEnvironmentRequest, ): Effect.Effect< DeleteApplicationFromEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironment( input: DeleteEnvironmentRequest, ): Effect.Effect< DeleteEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getApplication( input: GetApplicationRequest, ): Effect.Effect< GetApplicationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplicationVersion( input: GetApplicationVersionRequest, ): Effect.Effect< GetApplicationVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getBatchJobExecution( input: GetBatchJobExecutionRequest, ): Effect.Effect< GetBatchJobExecutionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataSetDetails( input: GetDataSetDetailsRequest, ): Effect.Effect< GetDataSetDetailsResponse, - | AccessDeniedException - | ConflictException - | ExecutionTimeoutException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExecutionTimeoutException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getDataSetExportTask( input: GetDataSetExportTaskRequest, ): Effect.Effect< GetDataSetExportTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataSetImportTask( input: GetDataSetImportTaskRequest, ): Effect.Effect< GetDataSetImportTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDeployment( input: GetDeploymentRequest, ): Effect.Effect< GetDeploymentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironment( input: GetEnvironmentRequest, ): Effect.Effect< GetEnvironmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplicationVersions( input: ListApplicationVersionsRequest, ): Effect.Effect< ListApplicationVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplications( input: ListApplicationsRequest, ): Effect.Effect< ListApplicationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listBatchJobDefinitions( input: ListBatchJobDefinitionsRequest, ): Effect.Effect< ListBatchJobDefinitionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBatchJobExecutions( input: ListBatchJobExecutionsRequest, ): Effect.Effect< ListBatchJobExecutionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBatchJobRestartPoints( input: ListBatchJobRestartPointsRequest, ): Effect.Effect< ListBatchJobRestartPointsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSetExportHistory( input: ListDataSetExportHistoryRequest, ): Effect.Effect< ListDataSetExportHistoryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSetImportHistory( input: ListDataSetImportHistoryRequest, ): Effect.Effect< ListDataSetImportHistoryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSets( input: ListDataSetsRequest, ): Effect.Effect< ListDataSetsResponse, - | AccessDeniedException - | ConflictException - | ExecutionTimeoutException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExecutionTimeoutException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; listDeployments( input: ListDeploymentsRequest, ): Effect.Effect< ListDeploymentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironments( input: ListEnvironmentsRequest, ): Effect.Effect< ListEnvironmentsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; startApplication( input: StartApplicationRequest, ): Effect.Effect< StartApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startBatchJob( input: StartBatchJobRequest, ): Effect.Effect< StartBatchJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopApplication( input: StopApplicationRequest, ): Effect.Effect< StopApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironment( input: UpdateEnvironmentRequest, ): Effect.Effect< UpdateEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -515,11 +281,7 @@ interface _BatchJobDefinition { scriptBatchJobDefinition?: ScriptBatchJobDefinition; } -export type BatchJobDefinition = - | (_BatchJobDefinition & { fileBatchJobDefinition: FileBatchJobDefinition }) - | (_BatchJobDefinition & { - scriptBatchJobDefinition: ScriptBatchJobDefinition; - }); +export type BatchJobDefinition = (_BatchJobDefinition & { fileBatchJobDefinition: FileBatchJobDefinition }) | (_BatchJobDefinition & { scriptBatchJobDefinition: ScriptBatchJobDefinition }); export type BatchJobDefinitions = Array; export type BatchJobExecutionStatus = string; @@ -543,15 +305,7 @@ interface _BatchJobIdentifier { restartBatchJobIdentifier?: RestartBatchJobIdentifier; } -export type BatchJobIdentifier = - | (_BatchJobIdentifier & { fileBatchJobIdentifier: FileBatchJobIdentifier }) - | (_BatchJobIdentifier & { - scriptBatchJobIdentifier: ScriptBatchJobIdentifier; - }) - | (_BatchJobIdentifier & { s3BatchJobIdentifier: S3BatchJobIdentifier }) - | (_BatchJobIdentifier & { - restartBatchJobIdentifier: RestartBatchJobIdentifier; - }); +export type BatchJobIdentifier = (_BatchJobIdentifier & { fileBatchJobIdentifier: FileBatchJobIdentifier }) | (_BatchJobIdentifier & { scriptBatchJobIdentifier: ScriptBatchJobIdentifier }) | (_BatchJobIdentifier & { s3BatchJobIdentifier: S3BatchJobIdentifier }) | (_BatchJobIdentifier & { restartBatchJobIdentifier: RestartBatchJobIdentifier }); export type BatchJobParametersMap = Record; export type BatchJobStepList = Array; export type BatchJobType = string; @@ -567,7 +321,8 @@ export interface CancelBatchJobExecutionRequest { executionId: string; authSecretsManagerArn?: string; } -export interface CancelBatchJobExecutionResponse {} +export interface CancelBatchJobExecutionResponse { +} export type CapacityValue = number; export type ClientToken = string; @@ -654,19 +409,13 @@ interface _DatasetDetailOrgAttributes { ps?: PsDetailAttributes; } -export type DatasetDetailOrgAttributes = - | (_DatasetDetailOrgAttributes & { vsam: VsamDetailAttributes }) - | (_DatasetDetailOrgAttributes & { gdg: GdgDetailAttributes }) - | (_DatasetDetailOrgAttributes & { po: PoDetailAttributes }) - | (_DatasetDetailOrgAttributes & { ps: PsDetailAttributes }); +export type DatasetDetailOrgAttributes = (_DatasetDetailOrgAttributes & { vsam: VsamDetailAttributes }) | (_DatasetDetailOrgAttributes & { gdg: GdgDetailAttributes }) | (_DatasetDetailOrgAttributes & { po: PoDetailAttributes }) | (_DatasetDetailOrgAttributes & { ps: PsDetailAttributes }); interface _DataSetExportConfig { s3Location?: string; dataSets?: Array; } -export type DataSetExportConfig = - | (_DataSetExportConfig & { s3Location: string }) - | (_DataSetExportConfig & { dataSets: Array }); +export type DataSetExportConfig = (_DataSetExportConfig & { s3Location: string }) | (_DataSetExportConfig & { dataSets: Array }); export interface DataSetExportItem { datasetName: string; externalLocation: ExternalLocation; @@ -691,9 +440,7 @@ interface _DataSetImportConfig { dataSets?: Array; } -export type DataSetImportConfig = - | (_DataSetImportConfig & { s3Location: string }) - | (_DataSetImportConfig & { dataSets: Array }); +export type DataSetImportConfig = (_DataSetImportConfig & { s3Location: string }) | (_DataSetImportConfig & { dataSets: Array }); export interface DataSetImportItem { dataSet: DataSet; externalLocation: ExternalLocation; @@ -720,11 +467,7 @@ interface _DatasetOrgAttributes { ps?: PsAttributes; } -export type DatasetOrgAttributes = - | (_DatasetOrgAttributes & { vsam: VsamAttributes }) - | (_DatasetOrgAttributes & { gdg: GdgAttributes }) - | (_DatasetOrgAttributes & { po: PoAttributes }) - | (_DatasetOrgAttributes & { ps: PsAttributes }); +export type DatasetOrgAttributes = (_DatasetOrgAttributes & { vsam: VsamAttributes }) | (_DatasetOrgAttributes & { gdg: GdgAttributes }) | (_DatasetOrgAttributes & { po: PoAttributes }) | (_DatasetOrgAttributes & { ps: PsAttributes }); export type DataSetsSummaryList = Array; export interface DataSetSummary { dataSetName: string; @@ -741,22 +484,23 @@ interface _Definition { content?: string; } -export type Definition = - | (_Definition & { s3Location: string }) - | (_Definition & { content: string }); +export type Definition = (_Definition & { s3Location: string }) | (_Definition & { content: string }); export interface DeleteApplicationFromEnvironmentRequest { applicationId: string; environmentId: string; } -export interface DeleteApplicationFromEnvironmentResponse {} +export interface DeleteApplicationFromEnvironmentResponse { +} export interface DeleteApplicationRequest { applicationId: string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export interface DeleteEnvironmentRequest { environmentId: string; } -export interface DeleteEnvironmentResponse {} +export interface DeleteEnvironmentResponse { +} export interface DeployedVersionSummary { applicationVersion: number; status: string; @@ -815,7 +559,7 @@ interface _ExternalLocation { s3Location?: string; } -export type ExternalLocation = _ExternalLocation & { s3Location: string }; +export type ExternalLocation = (_ExternalLocation & { s3Location: string }); export interface FileBatchJobDefinition { fileName: string; folderPath?: string; @@ -991,9 +735,7 @@ interface _JobIdentifier { scriptName?: string; } -export type JobIdentifier = - | (_JobIdentifier & { fileName: string }) - | (_JobIdentifier & { scriptName: string }); +export type JobIdentifier = (_JobIdentifier & { fileName: string }) | (_JobIdentifier & { scriptName: string }); export interface JobStep { stepNumber?: number; stepName?: string; @@ -1216,7 +958,8 @@ export declare class ServiceUnavailableException extends EffectData.TaggedError( export interface StartApplicationRequest { applicationId: string; } -export interface StartApplicationResponse {} +export interface StartApplicationResponse { +} export interface StartBatchJobRequest { applicationId: string; batchJobIdentifier: BatchJobIdentifier; @@ -1230,15 +973,14 @@ export interface StopApplicationRequest { applicationId: string; forceStop?: boolean; } -export interface StopApplicationResponse {} +export interface StopApplicationResponse { +} interface _StorageConfiguration { efs?: EfsStorageConfiguration; fsx?: FsxStorageConfiguration; } -export type StorageConfiguration = - | (_StorageConfiguration & { efs: EfsStorageConfiguration }) - | (_StorageConfiguration & { fsx: FsxStorageConfiguration }); +export type StorageConfiguration = (_StorageConfiguration & { efs: EfsStorageConfiguration }) | (_StorageConfiguration & { fsx: FsxStorageConfiguration }); export type StorageConfigurationList = Array; export type String100 = string; @@ -1262,7 +1004,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1279,7 +1022,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationRequest { applicationId: string; description?: string; @@ -1795,14 +1539,5 @@ export declare namespace UpdateEnvironment { | CommonAwsError; } -export type m2Errors = - | AccessDeniedException - | ConflictException - | ExecutionTimeoutException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type m2Errors = AccessDeniedException | ConflictException | ExecutionTimeoutException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/machine-learning/index.ts b/src/services/machine-learning/index.ts index 4752a5b8..62b81e61 100644 --- a/src/services/machine-learning/index.ts +++ b/src/services/machine-learning/index.ts @@ -5,26 +5,7 @@ import type { MachineLearning as _MachineLearningClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/machine-learning/types.ts b/src/services/machine-learning/types.ts index ff9ab24e..4c472114 100644 --- a/src/services/machine-learning/types.ts +++ b/src/services/machine-learning/types.ts @@ -7,130 +7,85 @@ export declare class MachineLearning extends AWSServiceClient { input: AddTagsInput, ): Effect.Effect< AddTagsOutput, - | InternalServerException - | InvalidInputException - | InvalidTagException - | ResourceNotFoundException - | TagLimitExceededException - | CommonAwsError + InternalServerException | InvalidInputException | InvalidTagException | ResourceNotFoundException | TagLimitExceededException | CommonAwsError >; createBatchPrediction( input: CreateBatchPredictionInput, ): Effect.Effect< CreateBatchPredictionOutput, - | IdempotentParameterMismatchException - | InternalServerException - | InvalidInputException - | CommonAwsError + IdempotentParameterMismatchException | InternalServerException | InvalidInputException | CommonAwsError >; createDataSourceFromRDS( input: CreateDataSourceFromRDSInput, ): Effect.Effect< CreateDataSourceFromRDSOutput, - | IdempotentParameterMismatchException - | InternalServerException - | InvalidInputException - | CommonAwsError + IdempotentParameterMismatchException | InternalServerException | InvalidInputException | CommonAwsError >; createDataSourceFromRedshift( input: CreateDataSourceFromRedshiftInput, ): Effect.Effect< CreateDataSourceFromRedshiftOutput, - | IdempotentParameterMismatchException - | InternalServerException - | InvalidInputException - | CommonAwsError + IdempotentParameterMismatchException | InternalServerException | InvalidInputException | CommonAwsError >; createDataSourceFromS3( input: CreateDataSourceFromS3Input, ): Effect.Effect< CreateDataSourceFromS3Output, - | IdempotentParameterMismatchException - | InternalServerException - | InvalidInputException - | CommonAwsError + IdempotentParameterMismatchException | InternalServerException | InvalidInputException | CommonAwsError >; createEvaluation( input: CreateEvaluationInput, ): Effect.Effect< CreateEvaluationOutput, - | IdempotentParameterMismatchException - | InternalServerException - | InvalidInputException - | CommonAwsError + IdempotentParameterMismatchException | InternalServerException | InvalidInputException | CommonAwsError >; createMLModel( input: CreateMLModelInput, ): Effect.Effect< CreateMLModelOutput, - | IdempotentParameterMismatchException - | InternalServerException - | InvalidInputException - | CommonAwsError + IdempotentParameterMismatchException | InternalServerException | InvalidInputException | CommonAwsError >; createRealtimeEndpoint( input: CreateRealtimeEndpointInput, ): Effect.Effect< CreateRealtimeEndpointOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; deleteBatchPrediction( input: DeleteBatchPredictionInput, ): Effect.Effect< DeleteBatchPredictionOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; deleteDataSource( input: DeleteDataSourceInput, ): Effect.Effect< DeleteDataSourceOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; deleteEvaluation( input: DeleteEvaluationInput, ): Effect.Effect< DeleteEvaluationOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; deleteMLModel( input: DeleteMLModelInput, ): Effect.Effect< DeleteMLModelOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; deleteRealtimeEndpoint( input: DeleteRealtimeEndpointInput, ): Effect.Effect< DeleteRealtimeEndpointOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; deleteTags( input: DeleteTagsInput, ): Effect.Effect< DeleteTagsOutput, - | InternalServerException - | InvalidInputException - | InvalidTagException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | InvalidTagException | ResourceNotFoundException | CommonAwsError >; describeBatchPredictions( input: DescribeBatchPredictionsInput, @@ -160,93 +115,61 @@ export declare class MachineLearning extends AWSServiceClient { input: DescribeTagsInput, ): Effect.Effect< DescribeTagsOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; getBatchPrediction( input: GetBatchPredictionInput, ): Effect.Effect< GetBatchPredictionOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; getDataSource( input: GetDataSourceInput, ): Effect.Effect< GetDataSourceOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; getEvaluation( input: GetEvaluationInput, ): Effect.Effect< GetEvaluationOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; getMLModel( input: GetMLModelInput, ): Effect.Effect< GetMLModelOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; predict( input: PredictInput, ): Effect.Effect< PredictOutput, - | InternalServerException - | InvalidInputException - | LimitExceededException - | PredictorNotMountedException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | LimitExceededException | PredictorNotMountedException | ResourceNotFoundException | CommonAwsError >; updateBatchPrediction( input: UpdateBatchPredictionInput, ): Effect.Effect< UpdateBatchPredictionOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; updateDataSource( input: UpdateDataSourceInput, ): Effect.Effect< UpdateDataSourceOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; updateEvaluation( input: UpdateEvaluationInput, ): Effect.Effect< UpdateEvaluationOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; updateMLModel( input: UpdateMLModelInput, ): Effect.Effect< UpdateMLModelOutput, - | InternalServerException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; } @@ -280,15 +203,7 @@ export interface BatchPrediction { TotalRecordCount?: number; InvalidRecordCount?: number; } -export type BatchPredictionFilterVariable = - | "CreatedAt" - | "LastUpdatedAt" - | "Status" - | "Name" - | "IAMUser" - | "MLModelId" - | "DataSourceId" - | "DataURI"; +export type BatchPredictionFilterVariable = "CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "IAMUser" | "MLModelId" | "DataSourceId" | "DataURI"; export type BatchPredictions = Array; export type ComparatorValue = string; @@ -385,13 +300,7 @@ export interface DataSource { FinishedAt?: Date | string; StartedAt?: Date | string; } -export type DataSourceFilterVariable = - | "CreatedAt" - | "LastUpdatedAt" - | "Status" - | "Name" - | "DataLocationS3" - | "IAMUser"; +export type DataSourceFilterVariable = "CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "DataLocationS3" | "IAMUser"; export type DataSources = Array; export interface DeleteBatchPredictionInput { BatchPredictionId: string; @@ -529,12 +438,7 @@ export type EntityId = string; export type EntityName = string; -export type EntityStatus = - | "PENDING" - | "INPROGRESS" - | "FAILED" - | "COMPLETED" - | "DELETED"; +export type EntityStatus = "PENDING" | "INPROGRESS" | "FAILED" | "COMPLETED" | "DELETED"; export type EpochTime = Date | string; export type ErrorCode = number; @@ -557,15 +461,7 @@ export interface Evaluation { FinishedAt?: Date | string; StartedAt?: Date | string; } -export type EvaluationFilterVariable = - | "CreatedAt" - | "LastUpdatedAt" - | "Status" - | "Name" - | "IAMUser" - | "MLModelId" - | "DataSourceId" - | "DataURI"; +export type EvaluationFilterVariable = "CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "IAMUser" | "MLModelId" | "DataSourceId" | "DataURI"; export type Evaluations = Array; export type floatLabel = number; @@ -722,17 +618,7 @@ export interface MLModel { FinishedAt?: Date | string; StartedAt?: Date | string; } -export type MLModelFilterVariable = - | "CreatedAt" - | "LastUpdatedAt" - | "Status" - | "Name" - | "IAMUser" - | "TrainingDataSourceId" - | "RealtimeEndpointStatus" - | "MLModelType" - | "Algorithm" - | "TrainingDataURI"; +export type MLModelFilterVariable = "CreatedAt" | "LastUpdatedAt" | "Status" | "Name" | "IAMUser" | "TrainingDataSourceId" | "RealtimeEndpointStatus" | "MLModelType" | "Algorithm" | "TrainingDataURI"; export type MLModelName = string; export type MLModels = Array; @@ -877,11 +763,7 @@ export interface Tag { Key?: string; Value?: string; } -export type TaggableResourceType = - | "BatchPrediction" - | "DataSource" - | "Evaluation" - | "MLModel"; +export type TaggableResourceType = "BatchPrediction" | "DataSource" | "Evaluation" | "MLModel"; export type TagKey = string; export type TagKeyList = Array; @@ -1212,13 +1094,5 @@ export declare namespace UpdateMLModel { | CommonAwsError; } -export type MachineLearningErrors = - | IdempotentParameterMismatchException - | InternalServerException - | InvalidInputException - | InvalidTagException - | LimitExceededException - | PredictorNotMountedException - | ResourceNotFoundException - | TagLimitExceededException - | CommonAwsError; +export type MachineLearningErrors = IdempotentParameterMismatchException | InternalServerException | InvalidInputException | InvalidTagException | LimitExceededException | PredictorNotMountedException | ResourceNotFoundException | TagLimitExceededException | CommonAwsError; + diff --git a/src/services/macie2/index.ts b/src/services/macie2/index.ts index cb3ae851..4a4de911 100644 --- a/src/services/macie2/index.ts +++ b/src/services/macie2/index.ts @@ -5,23 +5,7 @@ import type { Macie2 as _Macie2Client } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,98 +15,87 @@ const metadata = { sigV4ServiceName: "macie2", endpointPrefix: "macie2", operations: { - AcceptInvitation: "POST /invitations/accept", - BatchGetCustomDataIdentifiers: "POST /custom-data-identifiers/get", - BatchUpdateAutomatedDiscoveryAccounts: - "PATCH /automated-discovery/accounts", - CreateAllowList: "POST /allow-lists", - CreateClassificationJob: "POST /jobs", - CreateCustomDataIdentifier: "POST /custom-data-identifiers", - CreateFindingsFilter: "POST /findingsfilters", - CreateInvitations: "POST /invitations", - CreateMember: "POST /members", - CreateSampleFindings: "POST /findings/sample", - DeclineInvitations: "POST /invitations/decline", - DeleteAllowList: "DELETE /allow-lists/{id}", - DeleteCustomDataIdentifier: "DELETE /custom-data-identifiers/{id}", - DeleteFindingsFilter: "DELETE /findingsfilters/{id}", - DeleteInvitations: "POST /invitations/delete", - DeleteMember: "DELETE /members/{id}", - DescribeBuckets: "POST /datasources/s3", - DescribeClassificationJob: "GET /jobs/{jobId}", - DescribeOrganizationConfiguration: "GET /admin/configuration", - DisableMacie: "DELETE /macie", - DisableOrganizationAdminAccount: "DELETE /admin", - DisassociateFromAdministratorAccount: "POST /administrator/disassociate", - DisassociateFromMasterAccount: "POST /master/disassociate", - DisassociateMember: "POST /members/disassociate/{id}", - EnableMacie: "POST /macie", - EnableOrganizationAdminAccount: "POST /admin", - GetAdministratorAccount: "GET /administrator", - GetAllowList: "GET /allow-lists/{id}", - GetAutomatedDiscoveryConfiguration: - "GET /automated-discovery/configuration", - GetBucketStatistics: "POST /datasources/s3/statistics", - GetClassificationExportConfiguration: - "GET /classification-export-configuration", - GetClassificationScope: "GET /classification-scopes/{id}", - GetCustomDataIdentifier: "GET /custom-data-identifiers/{id}", - GetFindings: "POST /findings/describe", - GetFindingsFilter: "GET /findingsfilters/{id}", - GetFindingsPublicationConfiguration: - "GET /findings-publication-configuration", - GetFindingStatistics: "POST /findings/statistics", - GetInvitationsCount: "GET /invitations/count", - GetMacieSession: "GET /macie", - GetMasterAccount: "GET /master", - GetMember: "GET /members/{id}", - GetResourceProfile: "GET /resource-profiles", - GetRevealConfiguration: "GET /reveal-configuration", - GetSensitiveDataOccurrences: "GET /findings/{findingId}/reveal", - GetSensitiveDataOccurrencesAvailability: - "GET /findings/{findingId}/reveal/availability", - GetSensitivityInspectionTemplate: - "GET /templates/sensitivity-inspections/{id}", - GetUsageStatistics: "POST /usage/statistics", - GetUsageTotals: "GET /usage", - ListAllowLists: "GET /allow-lists", - ListAutomatedDiscoveryAccounts: "GET /automated-discovery/accounts", - ListClassificationJobs: "POST /jobs/list", - ListClassificationScopes: "GET /classification-scopes", - ListCustomDataIdentifiers: "POST /custom-data-identifiers/list", - ListFindings: "POST /findings", - ListFindingsFilters: "GET /findingsfilters", - ListInvitations: "GET /invitations", - ListManagedDataIdentifiers: "POST /managed-data-identifiers/list", - ListMembers: "GET /members", - ListOrganizationAdminAccounts: "GET /admin", - ListResourceProfileArtifacts: "GET /resource-profiles/artifacts", - ListResourceProfileDetections: "GET /resource-profiles/detections", - ListSensitivityInspectionTemplates: - "GET /templates/sensitivity-inspections", - ListTagsForResource: "GET /tags/{resourceArn}", - PutClassificationExportConfiguration: - "PUT /classification-export-configuration", - PutFindingsPublicationConfiguration: - "PUT /findings-publication-configuration", - SearchResources: "POST /datasources/search-resources", - TagResource: "POST /tags/{resourceArn}", - TestCustomDataIdentifier: "POST /custom-data-identifiers/test", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAllowList: "PUT /allow-lists/{id}", - UpdateAutomatedDiscoveryConfiguration: - "PUT /automated-discovery/configuration", - UpdateClassificationJob: "PATCH /jobs/{jobId}", - UpdateClassificationScope: "PATCH /classification-scopes/{id}", - UpdateFindingsFilter: "PATCH /findingsfilters/{id}", - UpdateMacieSession: "PATCH /macie", - UpdateMemberSession: "PATCH /macie/members/{id}", - UpdateOrganizationConfiguration: "PATCH /admin/configuration", - UpdateResourceProfile: "PATCH /resource-profiles", - UpdateResourceProfileDetections: "PATCH /resource-profiles/detections", - UpdateRevealConfiguration: "PUT /reveal-configuration", - UpdateSensitivityInspectionTemplate: - "PUT /templates/sensitivity-inspections/{id}", + "AcceptInvitation": "POST /invitations/accept", + "BatchGetCustomDataIdentifiers": "POST /custom-data-identifiers/get", + "BatchUpdateAutomatedDiscoveryAccounts": "PATCH /automated-discovery/accounts", + "CreateAllowList": "POST /allow-lists", + "CreateClassificationJob": "POST /jobs", + "CreateCustomDataIdentifier": "POST /custom-data-identifiers", + "CreateFindingsFilter": "POST /findingsfilters", + "CreateInvitations": "POST /invitations", + "CreateMember": "POST /members", + "CreateSampleFindings": "POST /findings/sample", + "DeclineInvitations": "POST /invitations/decline", + "DeleteAllowList": "DELETE /allow-lists/{id}", + "DeleteCustomDataIdentifier": "DELETE /custom-data-identifiers/{id}", + "DeleteFindingsFilter": "DELETE /findingsfilters/{id}", + "DeleteInvitations": "POST /invitations/delete", + "DeleteMember": "DELETE /members/{id}", + "DescribeBuckets": "POST /datasources/s3", + "DescribeClassificationJob": "GET /jobs/{jobId}", + "DescribeOrganizationConfiguration": "GET /admin/configuration", + "DisableMacie": "DELETE /macie", + "DisableOrganizationAdminAccount": "DELETE /admin", + "DisassociateFromAdministratorAccount": "POST /administrator/disassociate", + "DisassociateFromMasterAccount": "POST /master/disassociate", + "DisassociateMember": "POST /members/disassociate/{id}", + "EnableMacie": "POST /macie", + "EnableOrganizationAdminAccount": "POST /admin", + "GetAdministratorAccount": "GET /administrator", + "GetAllowList": "GET /allow-lists/{id}", + "GetAutomatedDiscoveryConfiguration": "GET /automated-discovery/configuration", + "GetBucketStatistics": "POST /datasources/s3/statistics", + "GetClassificationExportConfiguration": "GET /classification-export-configuration", + "GetClassificationScope": "GET /classification-scopes/{id}", + "GetCustomDataIdentifier": "GET /custom-data-identifiers/{id}", + "GetFindings": "POST /findings/describe", + "GetFindingsFilter": "GET /findingsfilters/{id}", + "GetFindingsPublicationConfiguration": "GET /findings-publication-configuration", + "GetFindingStatistics": "POST /findings/statistics", + "GetInvitationsCount": "GET /invitations/count", + "GetMacieSession": "GET /macie", + "GetMasterAccount": "GET /master", + "GetMember": "GET /members/{id}", + "GetResourceProfile": "GET /resource-profiles", + "GetRevealConfiguration": "GET /reveal-configuration", + "GetSensitiveDataOccurrences": "GET /findings/{findingId}/reveal", + "GetSensitiveDataOccurrencesAvailability": "GET /findings/{findingId}/reveal/availability", + "GetSensitivityInspectionTemplate": "GET /templates/sensitivity-inspections/{id}", + "GetUsageStatistics": "POST /usage/statistics", + "GetUsageTotals": "GET /usage", + "ListAllowLists": "GET /allow-lists", + "ListAutomatedDiscoveryAccounts": "GET /automated-discovery/accounts", + "ListClassificationJobs": "POST /jobs/list", + "ListClassificationScopes": "GET /classification-scopes", + "ListCustomDataIdentifiers": "POST /custom-data-identifiers/list", + "ListFindings": "POST /findings", + "ListFindingsFilters": "GET /findingsfilters", + "ListInvitations": "GET /invitations", + "ListManagedDataIdentifiers": "POST /managed-data-identifiers/list", + "ListMembers": "GET /members", + "ListOrganizationAdminAccounts": "GET /admin", + "ListResourceProfileArtifacts": "GET /resource-profiles/artifacts", + "ListResourceProfileDetections": "GET /resource-profiles/detections", + "ListSensitivityInspectionTemplates": "GET /templates/sensitivity-inspections", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutClassificationExportConfiguration": "PUT /classification-export-configuration", + "PutFindingsPublicationConfiguration": "PUT /findings-publication-configuration", + "SearchResources": "POST /datasources/search-resources", + "TagResource": "POST /tags/{resourceArn}", + "TestCustomDataIdentifier": "POST /custom-data-identifiers/test", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAllowList": "PUT /allow-lists/{id}", + "UpdateAutomatedDiscoveryConfiguration": "PUT /automated-discovery/configuration", + "UpdateClassificationJob": "PATCH /jobs/{jobId}", + "UpdateClassificationScope": "PATCH /classification-scopes/{id}", + "UpdateFindingsFilter": "PATCH /findingsfilters/{id}", + "UpdateMacieSession": "PATCH /macie", + "UpdateMemberSession": "PATCH /macie/members/{id}", + "UpdateOrganizationConfiguration": "PATCH /admin/configuration", + "UpdateResourceProfile": "PATCH /resource-profiles", + "UpdateResourceProfileDetections": "PATCH /resource-profiles/detections", + "UpdateRevealConfiguration": "PUT /reveal-configuration", + "UpdateSensitivityInspectionTemplate": "PUT /templates/sensitivity-inspections/{id}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/macie2/types.ts b/src/services/macie2/types.ts index cbf35ad4..a14957be 100644 --- a/src/services/macie2/types.ts +++ b/src/services/macie2/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Macie2 extends AWSServiceClient { @@ -40,966 +8,487 @@ export declare class Macie2 extends AWSServiceClient { input: AcceptInvitationRequest, ): Effect.Effect< AcceptInvitationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchGetCustomDataIdentifiers( input: BatchGetCustomDataIdentifiersRequest, ): Effect.Effect< BatchGetCustomDataIdentifiersResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchUpdateAutomatedDiscoveryAccounts( input: BatchUpdateAutomatedDiscoveryAccountsRequest, ): Effect.Effect< BatchUpdateAutomatedDiscoveryAccountsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createAllowList( input: CreateAllowListRequest, ): Effect.Effect< CreateAllowListResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createClassificationJob( input: CreateClassificationJobRequest, ): Effect.Effect< CreateClassificationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCustomDataIdentifier( input: CreateCustomDataIdentifierRequest, ): Effect.Effect< CreateCustomDataIdentifierResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFindingsFilter( input: CreateFindingsFilterRequest, ): Effect.Effect< CreateFindingsFilterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createInvitations( input: CreateInvitationsRequest, ): Effect.Effect< CreateInvitationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMember( input: CreateMemberRequest, ): Effect.Effect< CreateMemberResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSampleFindings( input: CreateSampleFindingsRequest, ): Effect.Effect< CreateSampleFindingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; declineInvitations( input: DeclineInvitationsRequest, ): Effect.Effect< DeclineInvitationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAllowList( input: DeleteAllowListRequest, ): Effect.Effect< DeleteAllowListResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCustomDataIdentifier( input: DeleteCustomDataIdentifierRequest, ): Effect.Effect< DeleteCustomDataIdentifierResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteFindingsFilter( input: DeleteFindingsFilterRequest, ): Effect.Effect< DeleteFindingsFilterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteInvitations( input: DeleteInvitationsRequest, ): Effect.Effect< DeleteInvitationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteMember( input: DeleteMemberRequest, ): Effect.Effect< DeleteMemberResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeBuckets( input: DescribeBucketsRequest, ): Effect.Effect< DescribeBucketsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeClassificationJob( input: DescribeClassificationJobRequest, ): Effect.Effect< DescribeClassificationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeOrganizationConfiguration( input: DescribeOrganizationConfigurationRequest, ): Effect.Effect< DescribeOrganizationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; disableMacie( input: DisableMacieRequest, ): Effect.Effect< DisableMacieResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; disableOrganizationAdminAccount( input: DisableOrganizationAdminAccountRequest, ): Effect.Effect< DisableOrganizationAdminAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; disassociateFromAdministratorAccount( input: DisassociateFromAdministratorAccountRequest, ): Effect.Effect< DisassociateFromAdministratorAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; disassociateFromMasterAccount( input: DisassociateFromMasterAccountRequest, ): Effect.Effect< DisassociateFromMasterAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; disassociateMember( input: DisassociateMemberRequest, ): Effect.Effect< DisassociateMemberResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; enableMacie( input: EnableMacieRequest, ): Effect.Effect< EnableMacieResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; enableOrganizationAdminAccount( input: EnableOrganizationAdminAccountRequest, ): Effect.Effect< EnableOrganizationAdminAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getAdministratorAccount( input: GetAdministratorAccountRequest, ): Effect.Effect< GetAdministratorAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getAllowList( input: GetAllowListRequest, ): Effect.Effect< GetAllowListResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomatedDiscoveryConfiguration( input: GetAutomatedDiscoveryConfigurationRequest, ): Effect.Effect< GetAutomatedDiscoveryConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getBucketStatistics( input: GetBucketStatisticsRequest, ): Effect.Effect< GetBucketStatisticsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getClassificationExportConfiguration( input: GetClassificationExportConfigurationRequest, ): Effect.Effect< GetClassificationExportConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getClassificationScope( input: GetClassificationScopeRequest, ): Effect.Effect< GetClassificationScopeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCustomDataIdentifier( input: GetCustomDataIdentifierRequest, ): Effect.Effect< GetCustomDataIdentifierResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getFindings( input: GetFindingsRequest, ): Effect.Effect< GetFindingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getFindingsFilter( input: GetFindingsFilterRequest, ): Effect.Effect< GetFindingsFilterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getFindingsPublicationConfiguration( input: GetFindingsPublicationConfigurationRequest, ): Effect.Effect< GetFindingsPublicationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getFindingStatistics( input: GetFindingStatisticsRequest, ): Effect.Effect< GetFindingStatisticsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getInvitationsCount( input: GetInvitationsCountRequest, ): Effect.Effect< GetInvitationsCountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getMacieSession( input: GetMacieSessionRequest, ): Effect.Effect< GetMacieSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getMasterAccount( input: GetMasterAccountRequest, ): Effect.Effect< GetMasterAccountResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getMember( input: GetMemberRequest, ): Effect.Effect< GetMemberResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getResourceProfile( input: GetResourceProfileRequest, ): Effect.Effect< GetResourceProfileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getRevealConfiguration( input: GetRevealConfigurationRequest, ): Effect.Effect< GetRevealConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getSensitiveDataOccurrences( input: GetSensitiveDataOccurrencesRequest, - ): Effect.Effect< - GetSensitiveDataOccurrencesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnprocessableEntityException - | CommonAwsError + ): Effect.Effect< + GetSensitiveDataOccurrencesResponse, + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnprocessableEntityException | CommonAwsError >; getSensitiveDataOccurrencesAvailability( input: GetSensitiveDataOccurrencesAvailabilityRequest, ): Effect.Effect< GetSensitiveDataOccurrencesAvailabilityResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSensitivityInspectionTemplate( input: GetSensitivityInspectionTemplateRequest, ): Effect.Effect< GetSensitivityInspectionTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getUsageStatistics( input: GetUsageStatisticsRequest, ): Effect.Effect< GetUsageStatisticsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getUsageTotals( input: GetUsageTotalsRequest, ): Effect.Effect< GetUsageTotalsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listAllowLists( input: ListAllowListsRequest, ): Effect.Effect< ListAllowListsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listAutomatedDiscoveryAccounts( input: ListAutomatedDiscoveryAccountsRequest, ): Effect.Effect< ListAutomatedDiscoveryAccountsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listClassificationJobs( input: ListClassificationJobsRequest, ): Effect.Effect< ListClassificationJobsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listClassificationScopes( input: ListClassificationScopesRequest, ): Effect.Effect< ListClassificationScopesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCustomDataIdentifiers( input: ListCustomDataIdentifiersRequest, ): Effect.Effect< ListCustomDataIdentifiersResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listFindings( input: ListFindingsRequest, ): Effect.Effect< ListFindingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listFindingsFilters( input: ListFindingsFiltersRequest, ): Effect.Effect< ListFindingsFiltersResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listInvitations( input: ListInvitationsRequest, ): Effect.Effect< ListInvitationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listManagedDataIdentifiers( input: ListManagedDataIdentifiersRequest, - ): Effect.Effect; + ): Effect.Effect< + ListManagedDataIdentifiersResponse, + CommonAwsError + >; listMembers( input: ListMembersRequest, ): Effect.Effect< ListMembersResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listOrganizationAdminAccounts( input: ListOrganizationAdminAccountsRequest, ): Effect.Effect< ListOrganizationAdminAccountsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listResourceProfileArtifacts( input: ListResourceProfileArtifactsRequest, ): Effect.Effect< ListResourceProfileArtifactsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listResourceProfileDetections( input: ListResourceProfileDetectionsRequest, ): Effect.Effect< ListResourceProfileDetectionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listSensitivityInspectionTemplates( input: ListSensitivityInspectionTemplatesRequest, ): Effect.Effect< ListSensitivityInspectionTemplatesResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTagsForResourceResponse, + CommonAwsError + >; putClassificationExportConfiguration( input: PutClassificationExportConfigurationRequest, ): Effect.Effect< PutClassificationExportConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putFindingsPublicationConfiguration( input: PutFindingsPublicationConfigurationRequest, ): Effect.Effect< PutFindingsPublicationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; searchResources( input: SearchResourcesRequest, ): Effect.Effect< SearchResourcesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + TagResourceResponse, + CommonAwsError + >; testCustomDataIdentifier( input: TestCustomDataIdentifierRequest, ): Effect.Effect< TestCustomDataIdentifierResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + UntagResourceResponse, + CommonAwsError + >; updateAllowList( input: UpdateAllowListRequest, ): Effect.Effect< UpdateAllowListResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAutomatedDiscoveryConfiguration( input: UpdateAutomatedDiscoveryConfigurationRequest, ): Effect.Effect< UpdateAutomatedDiscoveryConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateClassificationJob( input: UpdateClassificationJobRequest, ): Effect.Effect< UpdateClassificationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateClassificationScope( input: UpdateClassificationScopeRequest, ): Effect.Effect< UpdateClassificationScopeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFindingsFilter( input: UpdateFindingsFilterRequest, ): Effect.Effect< UpdateFindingsFilterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateMacieSession( input: UpdateMacieSessionRequest, ): Effect.Effect< UpdateMacieSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateMemberSession( input: UpdateMemberSessionRequest, ): Effect.Effect< UpdateMemberSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateOrganizationConfiguration( input: UpdateOrganizationConfigurationRequest, ): Effect.Effect< UpdateOrganizationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateResourceProfile( input: UpdateResourceProfileRequest, ): Effect.Effect< UpdateResourceProfileResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateResourceProfileDetections( input: UpdateResourceProfileDetectionsRequest, ): Effect.Effect< UpdateResourceProfileDetectionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateRevealConfiguration( input: UpdateRevealConfigurationRequest, ): Effect.Effect< UpdateRevealConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateSensitivityInspectionTemplate( input: UpdateSensitivityInspectionTemplateRequest, ): Effect.Effect< UpdateSensitivityInspectionTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1012,20 +501,14 @@ export type __integer = number; export type __listOf__string = Array; export type __listOfAdminAccount = Array; export type __listOfAllowListSummary = Array; -export type __listOfAutomatedDiscoveryAccount = - Array; -export type __listOfAutomatedDiscoveryAccountUpdate = - Array; -export type __listOfAutomatedDiscoveryAccountUpdateError = - Array; -export type __listOfBatchGetCustomDataIdentifierSummary = - Array; +export type __listOfAutomatedDiscoveryAccount = Array; +export type __listOfAutomatedDiscoveryAccountUpdate = Array; +export type __listOfAutomatedDiscoveryAccountUpdateError = Array; +export type __listOfBatchGetCustomDataIdentifierSummary = Array; export type __listOfBucketMetadata = Array; -export type __listOfClassificationScopeSummary = - Array; +export type __listOfClassificationScopeSummary = Array; export type __listOfCriteriaForJob = Array; -export type __listOfCustomDataIdentifierSummary = - Array; +export type __listOfCustomDataIdentifierSummary = Array; export type __listOfDetectedDataDetails = Array; export type __listOfDetection = Array; export type __listOfFinding = Array; @@ -1037,18 +520,15 @@ export type __listOfJobScopeTerm = Array; export type __listOfJobSummary = Array; export type __listOfKeyValuePair = Array; export type __listOfListJobsFilterTerm = Array; -export type __listOfManagedDataIdentifierSummary = - Array; +export type __listOfManagedDataIdentifierSummary = Array; export type __listOfMatchingResource = Array; export type __listOfMember = Array; export type __listOfResourceProfileArtifact = Array; export type __listOfS3BucketDefinitionForJob = Array; export type __listOfS3BucketName = Array; export type __listOfSearchResourcesCriteria = Array; -export type __listOfSearchResourcesTagCriterionPair = - Array; -export type __listOfSensitivityInspectionTemplatesEntry = - Array; +export type __listOfSearchResourcesTagCriterionPair = Array; +export type __listOfSensitivityInspectionTemplatesEntry = Array; export type __listOfSuppressDataIdentifier = Array; export type __listOfTagCriterionPairForJob = Array; export type __listOfTagValuePair = Array; @@ -1078,8 +558,7 @@ export type __stringMin22Max22PatternAZ0922 = string; export type __stringMin3Max255PatternAZaZ093255 = string; -export type __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922 = - string; +export type __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922 = string; export type __timestampIso8601 = Date | string; @@ -1088,7 +567,8 @@ export interface AcceptInvitationRequest { invitationId: string; masterAccount?: string; } -export interface AcceptInvitationResponse {} +export interface AcceptInvitationResponse { +} export interface AccessControlList { allowsPublicReadAccess?: boolean; allowsPublicWriteAccess?: boolean; @@ -1118,15 +598,7 @@ export interface AllowListStatus { code: AllowListStatusCode; description?: string; } -export type AllowListStatusCode = - | "OK" - | "S3_OBJECT_NOT_FOUND" - | "S3_USER_ACCESS_DENIED" - | "S3_OBJECT_ACCESS_DENIED" - | "S3_THROTTLED" - | "S3_OBJECT_OVERSIZE" - | "S3_OBJECT_EMPTY" - | "UNKNOWN_ERROR"; +export type AllowListStatusCode = "OK" | "S3_OBJECT_NOT_FOUND" | "S3_USER_ACCESS_DENIED" | "S3_OBJECT_ACCESS_DENIED" | "S3_THROTTLED" | "S3_OBJECT_OVERSIZE" | "S3_OBJECT_EMPTY" | "UNKNOWN_ERROR"; export interface AllowListSummary { arn?: string; createdAt?: Date | string; @@ -1163,9 +635,7 @@ export interface AutomatedDiscoveryAccountUpdateError { accountId?: string; errorCode?: AutomatedDiscoveryAccountUpdateErrorCode; } -export type AutomatedDiscoveryAccountUpdateErrorCode = - | "ACCOUNT_PAUSED" - | "ACCOUNT_NOT_FOUND"; +export type AutomatedDiscoveryAccountUpdateErrorCode = "ACCOUNT_PAUSED" | "ACCOUNT_NOT_FOUND"; export type AutomatedDiscoveryMonitoringStatus = "MONITORED" | "NOT_MONITORED"; export type AutomatedDiscoveryStatus = "ENABLED" | "DISABLED"; export type AvailabilityCode = "AVAILABLE" | "UNAVAILABLE"; @@ -1270,9 +740,7 @@ export interface BucketMetadata { unclassifiableObjectSizeInBytes?: ObjectLevelStatistics; versioning?: boolean; } -export type BucketMetadataErrorCode = - | "ACCESS_DENIED" - | "BUCKET_COUNT_EXCEEDS_QUOTA"; +export type BucketMetadataErrorCode = "ACCESS_DENIED" | "BUCKET_COUNT_EXCEEDS_QUOTA"; export interface BucketPermissionConfiguration { accountLevelPermissions?: AccountLevelPermissions; bucketLevelPermissions?: BucketLevelPermissions; @@ -1417,7 +885,8 @@ export interface CreateMemberResponse { export interface CreateSampleFindingsRequest { findingTypes?: Array; } -export interface CreateSampleFindingsResponse {} +export interface CreateSampleFindingsResponse { +} export interface CriteriaBlockForJob { and?: Array; } @@ -1454,17 +923,11 @@ export interface CustomDetection { occurrences?: Occurrences; } export type CustomDetections = Array; -export interface DailySchedule {} +export interface DailySchedule { +} export type DataIdentifierSeverity = "LOW" | "MEDIUM" | "HIGH"; export type DataIdentifierType = "CUSTOM" | "MANAGED"; -export type DayOfWeek = - | "SUNDAY" - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY"; +export type DayOfWeek = "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY"; export interface DeclineInvitationsRequest { accountIds: Array; } @@ -1481,15 +944,18 @@ export interface DeleteAllowListRequest { id: string; ignoreJobChecks?: string; } -export interface DeleteAllowListResponse {} +export interface DeleteAllowListResponse { +} export interface DeleteCustomDataIdentifierRequest { id: string; } -export interface DeleteCustomDataIdentifierResponse {} +export interface DeleteCustomDataIdentifierResponse { +} export interface DeleteFindingsFilterRequest { id: string; } -export interface DeleteFindingsFilterResponse {} +export interface DeleteFindingsFilterResponse { +} export interface DeleteInvitationsRequest { accountIds: Array; } @@ -1499,7 +965,8 @@ export interface DeleteInvitationsResponse { export interface DeleteMemberRequest { id: string; } -export interface DeleteMemberResponse {} +export interface DeleteMemberResponse { +} export interface DescribeBucketsRequest { criteria?: Record; maxResults?: number; @@ -1536,7 +1003,8 @@ export interface DescribeClassificationJobResponse { tags?: Record; userPausedDetails?: UserPausedDetails; } -export interface DescribeOrganizationConfigurationRequest {} +export interface DescribeOrganizationConfigurationRequest { +} export interface DescribeOrganizationConfigurationResponse { autoEnable?: boolean; maxAccountLimitReached?: boolean; @@ -1552,20 +1020,28 @@ export interface Detection { suppressed?: boolean; type?: DataIdentifierType; } -export interface DisableMacieRequest {} -export interface DisableMacieResponse {} +export interface DisableMacieRequest { +} +export interface DisableMacieResponse { +} export interface DisableOrganizationAdminAccountRequest { adminAccountId: string; } -export interface DisableOrganizationAdminAccountResponse {} -export interface DisassociateFromAdministratorAccountRequest {} -export interface DisassociateFromAdministratorAccountResponse {} -export interface DisassociateFromMasterAccountRequest {} -export interface DisassociateFromMasterAccountResponse {} +export interface DisableOrganizationAdminAccountResponse { +} +export interface DisassociateFromAdministratorAccountRequest { +} +export interface DisassociateFromAdministratorAccountResponse { +} +export interface DisassociateFromMasterAccountRequest { +} +export interface DisassociateFromMasterAccountResponse { +} export interface DisassociateMemberRequest { id: string; } -export interface DisassociateMemberResponse {} +export interface DisassociateMemberResponse { +} export interface DomainDetails { domainName?: string; } @@ -1575,18 +1051,15 @@ export interface EnableMacieRequest { findingPublishingFrequency?: FindingPublishingFrequency; status?: MacieStatus; } -export interface EnableMacieResponse {} +export interface EnableMacieResponse { +} export interface EnableOrganizationAdminAccountRequest { adminAccountId: string; clientToken?: string; } -export interface EnableOrganizationAdminAccountResponse {} -export type EncryptionType = - | "NONE" - | "AES256" - | "aws:kms" - | "UNKNOWN" - | "aws:kms:dsse"; +export interface EnableOrganizationAdminAccountResponse { +} +export type EncryptionType = "NONE" | "AES256" | "aws:kms" | "UNKNOWN" | "aws:kms:dsse"; export type ErrorCode = "ClientError" | "InternalError"; export interface FederatedUser { accessKeyId?: string; @@ -1629,10 +1102,7 @@ export type FindingCategory = "CLASSIFICATION" | "POLICY"; export interface FindingCriteria { criterion?: Record; } -export type FindingPublishingFrequency = - | "FIFTEEN_MINUTES" - | "ONE_HOUR" - | "SIX_HOURS"; +export type FindingPublishingFrequency = "FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS"; export type FindingsFilterAction = "ARCHIVE" | "NOOP"; export interface FindingsFilterListItem { action?: FindingsFilterAction; @@ -1646,19 +1116,9 @@ export interface FindingStatisticsSortCriteria { attributeName?: FindingStatisticsSortAttributeName; orderBy?: OrderBy; } -export type FindingType = - | "SensitiveData:S3Object/Multiple" - | "SensitiveData:S3Object/Financial" - | "SensitiveData:S3Object/Personal" - | "SensitiveData:S3Object/Credentials" - | "SensitiveData:S3Object/CustomIdentifier" - | "Policy:IAMUser/S3BucketPublic" - | "Policy:IAMUser/S3BucketSharedExternally" - | "Policy:IAMUser/S3BucketReplicatedExternally" - | "Policy:IAMUser/S3BucketEncryptionDisabled" - | "Policy:IAMUser/S3BlockPublicAccessDisabled" - | "Policy:IAMUser/S3BucketSharedWithCloudFront"; -export interface GetAdministratorAccountRequest {} +export type FindingType = "SensitiveData:S3Object/Multiple" | "SensitiveData:S3Object/Financial" | "SensitiveData:S3Object/Personal" | "SensitiveData:S3Object/Credentials" | "SensitiveData:S3Object/CustomIdentifier" | "Policy:IAMUser/S3BucketPublic" | "Policy:IAMUser/S3BucketSharedExternally" | "Policy:IAMUser/S3BucketReplicatedExternally" | "Policy:IAMUser/S3BucketEncryptionDisabled" | "Policy:IAMUser/S3BlockPublicAccessDisabled" | "Policy:IAMUser/S3BucketSharedWithCloudFront"; +export interface GetAdministratorAccountRequest { +} export interface GetAdministratorAccountResponse { administrator?: Invitation; } @@ -1676,7 +1136,8 @@ export interface GetAllowListResponse { tags?: Record; updatedAt?: Date | string; } -export interface GetAutomatedDiscoveryConfigurationRequest {} +export interface GetAutomatedDiscoveryConfigurationRequest { +} export interface GetAutomatedDiscoveryConfigurationResponse { autoEnableOrganizationMembers?: AutoEnableMode; classificationScopeId?: string; @@ -1705,7 +1166,8 @@ export interface GetBucketStatisticsResponse { unclassifiableObjectCount?: ObjectLevelStatistics; unclassifiableObjectSizeInBytes?: ObjectLevelStatistics; } -export interface GetClassificationExportConfigurationRequest {} +export interface GetClassificationExportConfigurationRequest { +} export interface GetClassificationExportConfigurationResponse { configuration?: ClassificationExportConfiguration; } @@ -1747,7 +1209,8 @@ export interface GetFindingsFilterResponse { position?: number; tags?: Record; } -export interface GetFindingsPublicationConfigurationRequest {} +export interface GetFindingsPublicationConfigurationRequest { +} export interface GetFindingsPublicationConfigurationResponse { securityHubConfiguration?: SecurityHubConfiguration; } @@ -1767,11 +1230,13 @@ export interface GetFindingStatisticsRequest { export interface GetFindingStatisticsResponse { countsByGroup?: Array; } -export interface GetInvitationsCountRequest {} +export interface GetInvitationsCountRequest { +} export interface GetInvitationsCountResponse { invitationsCount?: number; } -export interface GetMacieSessionRequest {} +export interface GetMacieSessionRequest { +} export interface GetMacieSessionResponse { createdAt?: Date | string; findingPublishingFrequency?: FindingPublishingFrequency; @@ -1779,7 +1244,8 @@ export interface GetMacieSessionResponse { status?: MacieStatus; updatedAt?: Date | string; } -export interface GetMasterAccountRequest {} +export interface GetMasterAccountRequest { +} export interface GetMasterAccountResponse { master?: Invitation; } @@ -1806,7 +1272,8 @@ export interface GetResourceProfileResponse { sensitivityScoreOverridden?: boolean; statistics?: ResourceStatistics; } -export interface GetRevealConfigurationRequest {} +export interface GetRevealConfigurationRequest { +} export interface GetRevealConfigurationResponse { configuration?: RevealConfiguration; retrievalConfiguration?: RetrievalConfiguration; @@ -1855,11 +1322,7 @@ export interface GetUsageTotalsResponse { timeRange?: TimeRange; usageTotals?: Array; } -export type GroupBy = - | "resourcesAffected.s3Bucket.name" - | "type" - | "classificationDetails.jobId" - | "severity.description"; +export type GroupBy = "resourcesAffected.s3Bucket.name" | "type" | "classificationDetails.jobId" | "severity.description"; export interface GroupCount { count?: number; groupKey?: string; @@ -1907,15 +1370,7 @@ export interface IpOwner { } export type IsDefinedInJob = "TRUE" | "FALSE" | "UNKNOWN"; export type IsMonitoredByJob = "TRUE" | "FALSE" | "UNKNOWN"; -export type JobComparator = - | "EQ" - | "GT" - | "GTE" - | "LT" - | "LTE" - | "NE" - | "CONTAINS" - | "STARTS_WITH"; +export type JobComparator = "EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH"; export interface JobDetails { isDefinedInJob?: IsDefinedInJob; isMonitoredByJob?: IsMonitoredByJob; @@ -1934,13 +1389,7 @@ export interface JobScopeTerm { export interface JobScopingBlock { and?: Array; } -export type JobStatus = - | "RUNNING" - | "PAUSED" - | "CANCELLED" - | "COMPLETE" - | "IDLE" - | "USER_PAUSED"; +export type JobStatus = "RUNNING" | "PAUSED" | "CANCELLED" | "COMPLETE" | "IDLE" | "USER_PAUSED"; export interface JobSummary { bucketCriteria?: S3BucketCriteriaForJob; bucketDefinitions?: Array; @@ -2041,11 +1490,7 @@ export interface ListJobsFilterTerm { key?: ListJobsFilterKey; values?: Array; } -export type ListJobsSortAttributeName = - | "createdAt" - | "jobStatus" - | "name" - | "jobType"; +export type ListJobsSortAttributeName = "createdAt" | "jobStatus" | "name" | "jobType"; export interface ListJobsSortCriteria { attributeName?: ListJobsSortAttributeName; orderBy?: OrderBy; @@ -2106,12 +1551,7 @@ export interface ListTagsForResourceResponse { tags?: Record; } export type MacieStatus = "PAUSED" | "ENABLED"; -export type ManagedDataIdentifierSelector = - | "ALL" - | "EXCLUDE" - | "INCLUDE" - | "NONE" - | "RECOMMENDED"; +export type ManagedDataIdentifierSelector = "ALL" | "EXCLUDE" | "INCLUDE" | "NONE" | "RECOMMENDED"; export interface ManagedDataIdentifierSummary { category?: SensitiveDataItemCategory; id?: string; @@ -2175,9 +1615,7 @@ export interface Occurrences { records?: Array; } export type OrderBy = "ASC" | "DESC"; -export type OriginType = - | "SENSITIVE_DATA_DISCOVERY_JOB" - | "AUTOMATED_SENSITIVE_DATA_DISCOVERY"; +export type OriginType = "SENSITIVE_DATA_DISCOVERY_JOB" | "AUTOMATED_SENSITIVE_DATA_DISCOVERY"; export interface Page { lineRange?: Range; offsetRange?: Range; @@ -2198,7 +1636,8 @@ export interface PutFindingsPublicationConfigurationRequest { clientToken?: string; securityHubConfiguration?: SecurityHubConfiguration; } -export interface PutFindingsPublicationConfigurationResponse {} +export interface PutFindingsPublicationConfigurationResponse { +} export interface Range { end?: number; start?: number; @@ -2210,17 +1649,7 @@ export interface Macie2Record { recordIndex?: number; } export type Records = Array; -export type RelationshipStatus = - | "Enabled" - | "Paused" - | "Invited" - | "Created" - | "Removed" - | "Resigned" - | "EmailVerificationInProgress" - | "EmailVerificationFailed" - | "RegionDisabled" - | "AccountSuspended"; +export type RelationshipStatus = "Enabled" | "Paused" | "Invited" | "Created" | "Removed" | "Resigned" | "EmailVerificationInProgress" | "EmailVerificationFailed" | "RegionDisabled" | "AccountSuspended"; export interface ReplicationDetails { replicated?: boolean; replicatedExternally?: boolean; @@ -2328,11 +1757,7 @@ export interface S3WordsList { bucketName: string; objectKey: string; } -export type ScopeFilterKey = - | "OBJECT_EXTENSION" - | "OBJECT_LAST_MODIFIED_DATE" - | "OBJECT_SIZE" - | "OBJECT_KEY"; +export type ScopeFilterKey = "OBJECT_EXTENSION" | "OBJECT_LAST_MODIFIED_DATE" | "OBJECT_SIZE" | "OBJECT_KEY"; export interface Scoping { excludes?: JobScopingBlock; includes?: JobScopingBlock; @@ -2364,17 +1789,8 @@ export interface SearchResourcesSimpleCriterion { key?: SearchResourcesSimpleCriterionKey; values?: Array; } -export type SearchResourcesSimpleCriterionKey = - | "ACCOUNT_ID" - | "S3_BUCKET_NAME" - | "S3_BUCKET_EFFECTIVE_PERMISSION" - | "S3_BUCKET_SHARED_ACCESS" - | "AUTOMATED_DISCOVERY_MONITORING_STATUS"; -export type SearchResourcesSortAttributeName = - | "ACCOUNT_ID" - | "RESOURCE_NAME" - | "S3_CLASSIFIABLE_OBJECT_COUNT" - | "S3_CLASSIFIABLE_SIZE_IN_BYTES"; +export type SearchResourcesSimpleCriterionKey = "ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS" | "AUTOMATED_DISCOVERY_MONITORING_STATUS"; +export type SearchResourcesSortAttributeName = "ACCOUNT_ID" | "RESOURCE_NAME" | "S3_CLASSIFIABLE_OBJECT_COUNT" | "S3_CLASSIFIABLE_SIZE_IN_BYTES"; export interface SearchResourcesSortCriteria { attributeName?: SearchResourcesSortAttributeName; orderBy?: OrderBy; @@ -2397,15 +1813,8 @@ export interface SensitiveDataItem { detections?: Array; totalCount?: number; } -export type SensitiveDataItemCategory = - | "FINANCIAL_INFORMATION" - | "PERSONAL_INFORMATION" - | "CREDENTIALS" - | "CUSTOM_IDENTIFIER"; -export type SensitiveDataOccurrences = Record< - string, - Array ->; +export type SensitiveDataItemCategory = "FINANCIAL_INFORMATION" | "PERSONAL_INFORMATION" | "CREDENTIALS" | "CUSTOM_IDENTIFIER"; +export type SensitiveDataOccurrences = Record>; export interface SensitivityAggregations { classifiableSizeInBytes?: number; publiclyAccessibleCount?: number; @@ -2471,11 +1880,7 @@ export interface SimpleCriterionForJob { key?: SimpleCriterionKeyForJob; values?: Array; } -export type SimpleCriterionKeyForJob = - | "ACCOUNT_ID" - | "S3_BUCKET_NAME" - | "S3_BUCKET_EFFECTIVE_PERMISSION" - | "S3_BUCKET_SHARED_ACCESS"; +export type SimpleCriterionKeyForJob = "ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS"; export interface SimpleScopeTerm { comparator?: JobComparator; key?: ScopeFilterKey; @@ -2489,16 +1894,7 @@ export interface Statistics { approximateNumberOfObjectsToProcess?: number; numberOfRuns?: number; } -export type StorageClass = - | "STANDARD" - | "REDUCED_REDUNDANCY" - | "STANDARD_IA" - | "INTELLIGENT_TIERING" - | "DEEP_ARCHIVE" - | "ONEZONE_IA" - | "GLACIER" - | "GLACIER_IR" - | "OUTPOSTS"; +export type StorageClass = "STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "ONEZONE_IA" | "GLACIER" | "GLACIER_IR" | "OUTPOSTS"; export interface SuppressDataIdentifier { id?: string; type?: DataIdentifierType; @@ -2516,7 +1912,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export interface TagScopeTerm { comparator?: JobComparator; key?: string; @@ -2547,18 +1944,7 @@ export type TimeRange = "MONTH_TO_DATE" | "PAST_30_DAYS"; export type Timestamp = Date | string; export type Type = "NONE" | "AES256" | "aws:kms" | "aws:kms:dsse"; -export type UnavailabilityReasonCode = - | "OBJECT_EXCEEDS_SIZE_QUOTA" - | "UNSUPPORTED_OBJECT_TYPE" - | "UNSUPPORTED_FINDING_TYPE" - | "INVALID_CLASSIFICATION_RESULT" - | "OBJECT_UNAVAILABLE" - | "ACCOUNT_NOT_IN_ORGANIZATION" - | "MISSING_GET_MEMBER_PERMISSION" - | "ROLE_TOO_PERMISSIVE" - | "MEMBER_ROLE_TOO_PERMISSIVE" - | "INVALID_RESULT_SIGNATURE" - | "RESULT_NOT_SIGNED"; +export type UnavailabilityReasonCode = "OBJECT_EXCEEDS_SIZE_QUOTA" | "UNSUPPORTED_OBJECT_TYPE" | "UNSUPPORTED_FINDING_TYPE" | "INVALID_CLASSIFICATION_RESULT" | "OBJECT_UNAVAILABLE" | "ACCOUNT_NOT_IN_ORGANIZATION" | "MISSING_GET_MEMBER_PERMISSION" | "ROLE_TOO_PERMISSIVE" | "MEMBER_ROLE_TOO_PERMISSIVE" | "INVALID_RESULT_SIGNATURE" | "RESULT_NOT_SIGNED"; export type Unit = "TERABYTES"; export declare class UnprocessableEntityException extends EffectData.TaggedError( "UnprocessableEntityException", @@ -2574,7 +1960,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAllowListRequest { criteria: AllowListCriteria; description?: string; @@ -2589,17 +1976,20 @@ export interface UpdateAutomatedDiscoveryConfigurationRequest { autoEnableOrganizationMembers?: AutoEnableMode; status: AutomatedDiscoveryStatus; } -export interface UpdateAutomatedDiscoveryConfigurationResponse {} +export interface UpdateAutomatedDiscoveryConfigurationResponse { +} export interface UpdateClassificationJobRequest { jobId: string; jobStatus: JobStatus; } -export interface UpdateClassificationJobResponse {} +export interface UpdateClassificationJobResponse { +} export interface UpdateClassificationScopeRequest { id: string; s3?: S3ClassificationScopeUpdate; } -export interface UpdateClassificationScopeResponse {} +export interface UpdateClassificationScopeResponse { +} export interface UpdateFindingsFilterRequest { action?: FindingsFilterAction; clientToken?: string; @@ -2617,26 +2007,31 @@ export interface UpdateMacieSessionRequest { findingPublishingFrequency?: FindingPublishingFrequency; status?: MacieStatus; } -export interface UpdateMacieSessionResponse {} +export interface UpdateMacieSessionResponse { +} export interface UpdateMemberSessionRequest { id: string; status: MacieStatus; } -export interface UpdateMemberSessionResponse {} +export interface UpdateMemberSessionResponse { +} export interface UpdateOrganizationConfigurationRequest { autoEnable: boolean; } -export interface UpdateOrganizationConfigurationResponse {} +export interface UpdateOrganizationConfigurationResponse { +} export interface UpdateResourceProfileDetectionsRequest { resourceArn: string; suppressDataIdentifiers?: Array; } -export interface UpdateResourceProfileDetectionsResponse {} +export interface UpdateResourceProfileDetectionsResponse { +} export interface UpdateResourceProfileRequest { resourceArn: string; sensitivityScoreOverride?: number; } -export interface UpdateResourceProfileResponse {} +export interface UpdateResourceProfileResponse { +} export interface UpdateRetrievalConfiguration { retrievalMode: RetrievalMode; roleName?: string; @@ -2655,7 +2050,8 @@ export interface UpdateSensitivityInspectionTemplateRequest { id: string; includes?: SensitivityInspectionTemplateIncludes; } -export interface UpdateSensitivityInspectionTemplateResponse {} +export interface UpdateSensitivityInspectionTemplateResponse { +} export interface UsageByAccount { currency?: Currency; estimatedCost?: string; @@ -2673,38 +2069,19 @@ export interface UsageStatisticsFilter { key?: UsageStatisticsFilterKey; values?: Array; } -export type UsageStatisticsFilterComparator = - | "GT" - | "GTE" - | "LT" - | "LTE" - | "EQ" - | "NE" - | "CONTAINS"; -export type UsageStatisticsFilterKey = - | "accountId" - | "serviceLimit" - | "freeTrialStartDate" - | "total"; +export type UsageStatisticsFilterComparator = "GT" | "GTE" | "LT" | "LTE" | "EQ" | "NE" | "CONTAINS"; +export type UsageStatisticsFilterKey = "accountId" | "serviceLimit" | "freeTrialStartDate" | "total"; export interface UsageStatisticsSortBy { key?: UsageStatisticsSortKey; orderBy?: OrderBy; } -export type UsageStatisticsSortKey = - | "accountId" - | "total" - | "serviceLimitValue" - | "freeTrialStartDate"; +export type UsageStatisticsSortKey = "accountId" | "total" | "serviceLimitValue" | "freeTrialStartDate"; export interface UsageTotal { currency?: Currency; estimatedCost?: string; type?: UsageType; } -export type UsageType = - | "DATA_INVENTORY_EVALUATION" - | "SENSITIVE_DATA_DISCOVERY" - | "AUTOMATED_SENSITIVE_DATA_DISCOVERY" - | "AUTOMATED_OBJECT_MONITORING"; +export type UsageType = "DATA_INVENTORY_EVALUATION" | "SENSITIVE_DATA_DISCOVERY" | "AUTOMATED_SENSITIVE_DATA_DISCOVERY" | "AUTOMATED_OBJECT_MONITORING"; export interface UserIdentity { assumedRole?: AssumedRole; awsAccount?: AwsAccount; @@ -2719,13 +2096,7 @@ export interface UserIdentityRoot { arn?: string; principalId?: string; } -export type UserIdentityType = - | "AssumedRole" - | "IAMUser" - | "FederatedUser" - | "Root" - | "AWSAccount" - | "AWSService"; +export type UserIdentityType = "AssumedRole" | "IAMUser" | "FederatedUser" | "Root" | "AWSAccount" | "AWSService"; export interface UserPausedDetails { jobExpiresAt?: Date | string; jobImminentExpirationHealthEventArn?: string; @@ -3497,7 +2868,8 @@ export declare namespace ListInvitations { export declare namespace ListManagedDataIdentifiers { export type Input = ListManagedDataIdentifiersRequest; export type Output = ListManagedDataIdentifiersResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListMembers { @@ -3568,7 +2940,8 @@ export declare namespace ListSensitivityInspectionTemplates { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutClassificationExportConfiguration { @@ -3616,7 +2989,8 @@ export declare namespace SearchResources { export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = TagResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace TestCustomDataIdentifier { @@ -3636,7 +3010,8 @@ export declare namespace TestCustomDataIdentifier { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateAllowList { @@ -3793,13 +3168,5 @@ export declare namespace UpdateSensitivityInspectionTemplate { | CommonAwsError; } -export type Macie2Errors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnprocessableEntityException - | ValidationException - | CommonAwsError; +export type Macie2Errors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnprocessableEntityException | ValidationException | CommonAwsError; + diff --git a/src/services/mailmanager/index.ts b/src/services/mailmanager/index.ts index 67dfb6fe..db61318c 100644 --- a/src/services/mailmanager/index.ts +++ b/src/services/mailmanager/index.ts @@ -5,23 +5,7 @@ import type { MailManager as _MailManagerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/mailmanager/types.ts b/src/services/mailmanager/types.ts index 73bc8e82..cc3a7f03 100644 --- a/src/services/mailmanager/types.ts +++ b/src/services/mailmanager/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MailManager extends AWSServiceClient { @@ -40,127 +8,79 @@ export declare class MailManager extends AWSServiceClient { input: CreateAddressListImportJobRequest, ): Effect.Effect< CreateAddressListImportJobResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deregisterMemberFromAddressList( input: DeregisterMemberFromAddressListRequest, ): Effect.Effect< DeregisterMemberFromAddressListResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAddressListImportJob( input: GetAddressListImportJobRequest, ): Effect.Effect< GetAddressListImportJobResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getArchiveExport( input: GetArchiveExportRequest, ): Effect.Effect< GetArchiveExportResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; getArchiveMessage( input: GetArchiveMessageRequest, ): Effect.Effect< GetArchiveMessageResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; getArchiveMessageContent( input: GetArchiveMessageContentRequest, ): Effect.Effect< GetArchiveMessageContentResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; getArchiveSearch( input: GetArchiveSearchRequest, ): Effect.Effect< GetArchiveSearchResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; getArchiveSearchResults( input: GetArchiveSearchResultsRequest, ): Effect.Effect< GetArchiveSearchResultsResponse, - | AccessDeniedException - | ConflictException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ThrottlingException | ValidationException | CommonAwsError >; getMemberOfAddressList( input: GetMemberOfAddressListRequest, ): Effect.Effect< GetMemberOfAddressListResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAddressListImportJobs( input: ListAddressListImportJobsRequest, ): Effect.Effect< ListAddressListImportJobsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listArchiveExports( input: ListArchiveExportsRequest, ): Effect.Effect< ListArchiveExportsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listArchiveSearches( input: ListArchiveSearchesRequest, ): Effect.Effect< ListArchiveSearchesResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMembersOfAddressList( input: ListMembersOfAddressListRequest, ): Effect.Effect< ListMembersOfAddressListResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, @@ -172,172 +92,103 @@ export declare class MailManager extends AWSServiceClient { input: RegisterMemberToAddressListRequest, ): Effect.Effect< RegisterMemberToAddressListResponse, - | AccessDeniedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startAddressListImportJob( input: StartAddressListImportJobRequest, ): Effect.Effect< StartAddressListImportJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startArchiveExport( input: StartArchiveExportRequest, ): Effect.Effect< StartArchiveExportResponse, - | AccessDeniedException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startArchiveSearch( input: StartArchiveSearchRequest, ): Effect.Effect< StartArchiveSearchResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopAddressListImportJob( input: StopAddressListImportJobRequest, ): Effect.Effect< StopAddressListImportJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopArchiveExport( input: StopArchiveExportRequest, ): Effect.Effect< StopArchiveExportResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; stopArchiveSearch( input: StopArchiveSearchRequest, ): Effect.Effect< StopArchiveSearchResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; createAddonInstance( input: CreateAddonInstanceRequest, ): Effect.Effect< CreateAddonInstanceResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createAddonSubscription( input: CreateAddonSubscriptionRequest, ): Effect.Effect< CreateAddonSubscriptionResponse, - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createAddressList( input: CreateAddressListRequest, ): Effect.Effect< CreateAddressListResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createArchive( input: CreateArchiveRequest, ): Effect.Effect< CreateArchiveResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createIngressPoint( input: CreateIngressPointRequest, ): Effect.Effect< CreateIngressPointResponse, - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createRelay( input: CreateRelayRequest, ): Effect.Effect< CreateRelayResponse, - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createRuleSet( input: CreateRuleSetRequest, ): Effect.Effect< CreateRuleSetResponse, - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createTrafficPolicy( input: CreateTrafficPolicyRequest, ): Effect.Effect< CreateTrafficPolicyResponse, - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteAddonInstance( input: DeleteAddonInstanceRequest, @@ -355,38 +206,25 @@ export declare class MailManager extends AWSServiceClient { input: DeleteAddressListRequest, ): Effect.Effect< DeleteAddressListResponse, - | AccessDeniedException - | ConflictException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | ThrottlingException | CommonAwsError >; deleteArchive( input: DeleteArchiveRequest, ): Effect.Effect< DeleteArchiveResponse, - | AccessDeniedException - | ConflictException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ThrottlingException | ValidationException | CommonAwsError >; deleteIngressPoint( input: DeleteIngressPointRequest, ): Effect.Effect< DeleteIngressPointResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteRelay( input: DeleteRelayRequest, ): Effect.Effect< DeleteRelayResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteRuleSet( input: DeleteRuleSetRequest, @@ -398,10 +236,7 @@ export declare class MailManager extends AWSServiceClient { input: DeleteTrafficPolicyRequest, ): Effect.Effect< DeleteTrafficPolicyResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAddonInstance( input: GetAddonInstanceRequest, @@ -419,21 +254,13 @@ export declare class MailManager extends AWSServiceClient { input: GetAddressListRequest, ): Effect.Effect< GetAddressListResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getArchive( input: GetArchiveRequest, ): Effect.Effect< GetArchiveResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIngressPoint( input: GetIngressPointRequest, @@ -475,19 +302,13 @@ export declare class MailManager extends AWSServiceClient { input: ListAddressListsRequest, ): Effect.Effect< ListAddressListsResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listArchives( input: ListArchivesRequest, ): Effect.Effect< ListArchivesResponse, - | AccessDeniedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ThrottlingException | ValidationException | CommonAwsError >; listIngressPoints( input: ListIngressPointsRequest, @@ -497,10 +318,16 @@ export declare class MailManager extends AWSServiceClient { >; listRelays( input: ListRelaysRequest, - ): Effect.Effect; + ): Effect.Effect< + ListRelaysResponse, + ValidationException | CommonAwsError + >; listRuleSets( input: ListRuleSetsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListRuleSetsResponse, + ValidationException | CommonAwsError + >; listTrafficPolicies( input: ListTrafficPoliciesRequest, ): Effect.Effect< @@ -511,49 +338,31 @@ export declare class MailManager extends AWSServiceClient { input: UpdateArchiveRequest, ): Effect.Effect< UpdateArchiveResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateIngressPoint( input: UpdateIngressPointRequest, ): Effect.Effect< UpdateIngressPointResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateRelay( input: UpdateRelayRequest, ): Effect.Effect< UpdateRelayResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateRuleSet( input: UpdateRuleSetRequest, ): Effect.Effect< UpdateRuleSetResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateTrafficPolicy( input: UpdateTrafficPolicyRequest, ): Effect.Effect< UpdateTrafficPolicyResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -646,9 +455,7 @@ interface _ArchiveBooleanToEvaluate { Attribute?: ArchiveBooleanEmailAttribute; } -export type ArchiveBooleanToEvaluate = _ArchiveBooleanToEvaluate & { - Attribute: ArchiveBooleanEmailAttribute; -}; +export type ArchiveBooleanToEvaluate = (_ArchiveBooleanToEvaluate & { Attribute: ArchiveBooleanEmailAttribute }); export type ArchivedMessageId = string; interface _ArchiveFilterCondition { @@ -656,9 +463,7 @@ interface _ArchiveFilterCondition { BooleanExpression?: ArchiveBooleanExpression; } -export type ArchiveFilterCondition = - | (_ArchiveFilterCondition & { StringExpression: ArchiveStringExpression }) - | (_ArchiveFilterCondition & { BooleanExpression: ArchiveBooleanExpression }); +export type ArchiveFilterCondition = (_ArchiveFilterCondition & { StringExpression: ArchiveStringExpression }) | (_ArchiveFilterCondition & { BooleanExpression: ArchiveBooleanExpression }); export type ArchiveFilterConditions = Array; export interface ArchiveFilters { Include?: Array; @@ -674,18 +479,10 @@ interface _ArchiveRetention { RetentionPeriod?: RetentionPeriod; } -export type ArchiveRetention = _ArchiveRetention & { - RetentionPeriod: RetentionPeriod; -}; +export type ArchiveRetention = (_ArchiveRetention & { RetentionPeriod: RetentionPeriod }); export type ArchivesList = Array; export type ArchiveState = "ACTIVE" | "PENDING_DELETION"; -export type ArchiveStringEmailAttribute = - | "TO" - | "FROM" - | "CC" - | "SUBJECT" - | "ENVELOPE_TO" - | "ENVELOPE_FROM"; +export type ArchiveStringEmailAttribute = "TO" | "FROM" | "CC" | "SUBJECT" | "ENVELOPE_TO" | "ENVELOPE_FROM"; export interface ArchiveStringExpression { Evaluate: ArchiveStringToEvaluate; Operator: ArchiveStringOperator; @@ -696,9 +493,7 @@ interface _ArchiveStringToEvaluate { Attribute?: ArchiveStringEmailAttribute; } -export type ArchiveStringToEvaluate = _ArchiveStringToEvaluate & { - Attribute: ArchiveStringEmailAttribute; -}; +export type ArchiveStringToEvaluate = (_ArchiveStringToEvaluate & { Attribute: ArchiveStringEmailAttribute }); export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -795,35 +590,43 @@ export interface CreateTrafficPolicyResponse { export interface DeleteAddonInstanceRequest { AddonInstanceId: string; } -export interface DeleteAddonInstanceResponse {} +export interface DeleteAddonInstanceResponse { +} export interface DeleteAddonSubscriptionRequest { AddonSubscriptionId: string; } -export interface DeleteAddonSubscriptionResponse {} +export interface DeleteAddonSubscriptionResponse { +} export interface DeleteAddressListRequest { AddressListId: string; } -export interface DeleteAddressListResponse {} +export interface DeleteAddressListResponse { +} export interface DeleteArchiveRequest { ArchiveId: string; } -export interface DeleteArchiveResponse {} +export interface DeleteArchiveResponse { +} export interface DeleteIngressPointRequest { IngressPointId: string; } -export interface DeleteIngressPointResponse {} +export interface DeleteIngressPointResponse { +} export interface DeleteRelayRequest { RelayId: string; } -export interface DeleteRelayResponse {} +export interface DeleteRelayResponse { +} export interface DeleteRuleSetRequest { RuleSetId: string; } -export interface DeleteRuleSetResponse {} +export interface DeleteRuleSetResponse { +} export interface DeleteTrafficPolicyRequest { TrafficPolicyId: string; } -export interface DeleteTrafficPolicyResponse {} +export interface DeleteTrafficPolicyResponse { +} export interface DeliverToMailboxAction { ActionFailurePolicy?: ActionFailurePolicy; MailboxArn: string; @@ -839,8 +642,10 @@ export interface DeregisterMemberFromAddressListRequest { AddressListId: string; Address: string; } -export interface DeregisterMemberFromAddressListResponse {} -export interface DropAction {} +export interface DeregisterMemberFromAddressListResponse { +} +export interface DropAction { +} export type EmailAddress = string; export type EmailReceivedHeadersList = Array; @@ -855,20 +660,12 @@ interface _ExportDestinationConfiguration { S3?: S3ExportDestinationConfiguration; } -export type ExportDestinationConfiguration = _ExportDestinationConfiguration & { - S3: S3ExportDestinationConfiguration; -}; +export type ExportDestinationConfiguration = (_ExportDestinationConfiguration & { S3: S3ExportDestinationConfiguration }); export type ExportId = string; export type ExportMaxResults = number; -export type ExportState = - | "QUEUED" - | "PREPROCESSING" - | "PROCESSING" - | "COMPLETED" - | "FAILED" - | "CANCELLED"; +export type ExportState = "QUEUED" | "PREPROCESSING" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED"; export interface ExportStatus { SubmissionTimestamp?: Date | string; CompletionTimestamp?: Date | string; @@ -1071,12 +868,7 @@ export interface ImportJob { Error?: string; } export type ImportJobs = Array; -export type ImportJobStatus = - | "CREATED" - | "PROCESSING" - | "COMPLETED" - | "FAILED" - | "STOPPED"; +export type ImportJobStatus = "CREATED" | "PROCESSING" | "COMPLETED" | "FAILED" | "STOPPED"; export type IngressAddressListArnList = Array; export type IngressAddressListEmailAttribute = "RECIPIENT"; export interface IngressAnalysis { @@ -1093,17 +885,13 @@ interface _IngressBooleanToEvaluate { IsInAddressList?: IngressIsInAddressList; } -export type IngressBooleanToEvaluate = - | (_IngressBooleanToEvaluate & { Analysis: IngressAnalysis }) - | (_IngressBooleanToEvaluate & { IsInAddressList: IngressIsInAddressList }); +export type IngressBooleanToEvaluate = (_IngressBooleanToEvaluate & { Analysis: IngressAnalysis }) | (_IngressBooleanToEvaluate & { IsInAddressList: IngressIsInAddressList }); export type IngressIpOperator = "CIDR_MATCHES" | "NOT_CIDR_MATCHES"; interface _IngressIpToEvaluate { Attribute?: IngressIpv4Attribute; } -export type IngressIpToEvaluate = _IngressIpToEvaluate & { - Attribute: IngressIpv4Attribute; -}; +export type IngressIpToEvaluate = (_IngressIpToEvaluate & { Attribute: IngressIpv4Attribute }); export type IngressIpv4Attribute = "SENDER_IP"; export interface IngressIpv4Expression { Evaluate: IngressIpToEvaluate; @@ -1120,9 +908,7 @@ interface _IngressIpv6ToEvaluate { Attribute?: IngressIpv6Attribute; } -export type IngressIpv6ToEvaluate = _IngressIpv6ToEvaluate & { - Attribute: IngressIpv6Attribute; -}; +export type IngressIpv6ToEvaluate = (_IngressIpv6ToEvaluate & { Attribute: IngressIpv6Attribute }); export interface IngressIsInAddressList { Attribute: IngressAddressListEmailAttribute; AddressLists: Array; @@ -1147,9 +933,7 @@ interface _IngressPointConfiguration { SecretArn?: string; } -export type IngressPointConfiguration = - | (_IngressPointConfiguration & { SmtpPassword: string }) - | (_IngressPointConfiguration & { SecretArn: string }); +export type IngressPointConfiguration = (_IngressPointConfiguration & { SmtpPassword: string }) | (_IngressPointConfiguration & { SecretArn: string }); export type IngressPointId = string; export type IngressPointName = string; @@ -1160,13 +944,7 @@ export interface IngressPointPasswordConfiguration { PreviousSmtpPasswordExpiryTimestamp?: Date | string; } export type IngressPointsList = Array; -export type IngressPointStatus = - | "PROVISIONING" - | "DEPROVISIONING" - | "UPDATING" - | "ACTIVE" - | "CLOSED" - | "FAILED"; +export type IngressPointStatus = "PROVISIONING" | "DEPROVISIONING" | "UPDATING" | "ACTIVE" | "CLOSED" | "FAILED"; export type IngressPointStatusToUpdate = "ACTIVE" | "CLOSED"; export type IngressPointType = "OPEN" | "AUTH"; export type IngressStringEmailAttribute = "RECIPIENT"; @@ -1175,20 +953,13 @@ export interface IngressStringExpression { Operator: IngressStringOperator; Values: Array; } -export type IngressStringOperator = - | "EQUALS" - | "NOT_EQUALS" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS"; +export type IngressStringOperator = "EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"; interface _IngressStringToEvaluate { Attribute?: IngressStringEmailAttribute; Analysis?: IngressAnalysis; } -export type IngressStringToEvaluate = - | (_IngressStringToEvaluate & { Attribute: IngressStringEmailAttribute }) - | (_IngressStringToEvaluate & { Analysis: IngressAnalysis }); +export type IngressStringToEvaluate = (_IngressStringToEvaluate & { Attribute: IngressStringEmailAttribute }) | (_IngressStringToEvaluate & { Analysis: IngressAnalysis }); export type IngressTlsAttribute = "TLS_PROTOCOL"; export type IngressTlsProtocolAttribute = "TLS1_2" | "TLS1_3"; export interface IngressTlsProtocolExpression { @@ -1201,9 +972,7 @@ interface _IngressTlsProtocolToEvaluate { Attribute?: IngressTlsAttribute; } -export type IngressTlsProtocolToEvaluate = _IngressTlsProtocolToEvaluate & { - Attribute: IngressTlsAttribute; -}; +export type IngressTlsProtocolToEvaluate = (_IngressTlsProtocolToEvaluate & { Attribute: IngressTlsAttribute }); export type IpType = "IPV4" | "DUAL_STACK"; export type Ipv4Cidr = string; @@ -1360,14 +1129,9 @@ interface _NetworkConfiguration { PrivateNetworkConfiguration?: PrivateNetworkConfiguration; } -export type NetworkConfiguration = - | (_NetworkConfiguration & { - PublicNetworkConfiguration: PublicNetworkConfiguration; - }) - | (_NetworkConfiguration & { - PrivateNetworkConfiguration: PrivateNetworkConfiguration; - }); -export interface NoAuthentication {} +export type NetworkConfiguration = (_NetworkConfiguration & { PublicNetworkConfiguration: PublicNetworkConfiguration }) | (_NetworkConfiguration & { PrivateNetworkConfiguration: PrivateNetworkConfiguration }); +export interface NoAuthentication { +} export type PageSize = number; export type PaginationToken = string; @@ -1380,12 +1144,7 @@ interface _PolicyCondition { BooleanExpression?: IngressBooleanExpression; } -export type PolicyCondition = - | (_PolicyCondition & { StringExpression: IngressStringExpression }) - | (_PolicyCondition & { IpExpression: IngressIpv4Expression }) - | (_PolicyCondition & { Ipv6Expression: IngressIpv6Expression }) - | (_PolicyCondition & { TlsExpression: IngressTlsProtocolExpression }) - | (_PolicyCondition & { BooleanExpression: IngressBooleanExpression }); +export type PolicyCondition = (_PolicyCondition & { StringExpression: IngressStringExpression }) | (_PolicyCondition & { IpExpression: IngressIpv4Expression }) | (_PolicyCondition & { Ipv6Expression: IngressIpv6Expression }) | (_PolicyCondition & { TlsExpression: IngressTlsProtocolExpression }) | (_PolicyCondition & { BooleanExpression: IngressBooleanExpression }); export type PolicyConditions = Array; export interface PolicyStatement { Conditions: Array; @@ -1409,7 +1168,8 @@ export interface RegisterMemberToAddressListRequest { AddressListId: string; Address: string; } -export interface RegisterMemberToAddressListResponse {} +export interface RegisterMemberToAddressListResponse { +} export interface Relay { RelayId?: string; RelayName?: string; @@ -1427,9 +1187,7 @@ interface _RelayAuthentication { NoAuthentication?: NoAuthentication; } -export type RelayAuthentication = - | (_RelayAuthentication & { SecretArn: string }) - | (_RelayAuthentication & { NoAuthentication: NoAuthentication }); +export type RelayAuthentication = (_RelayAuthentication & { SecretArn: string }) | (_RelayAuthentication & { NoAuthentication: NoAuthentication }); export type RelayId = string; export type RelayName = string; @@ -1449,23 +1207,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( }> {} export type ResultField = string; -export type RetentionPeriod = - | "THREE_MONTHS" - | "SIX_MONTHS" - | "NINE_MONTHS" - | "ONE_YEAR" - | "EIGHTEEN_MONTHS" - | "TWO_YEARS" - | "THIRTY_MONTHS" - | "THREE_YEARS" - | "FOUR_YEARS" - | "FIVE_YEARS" - | "SIX_YEARS" - | "SEVEN_YEARS" - | "EIGHT_YEARS" - | "NINE_YEARS" - | "TEN_YEARS" - | "PERMANENT"; +export type RetentionPeriod = "THREE_MONTHS" | "SIX_MONTHS" | "NINE_MONTHS" | "ONE_YEAR" | "EIGHTEEN_MONTHS" | "TWO_YEARS" | "THIRTY_MONTHS" | "THREE_YEARS" | "FOUR_YEARS" | "FIVE_YEARS" | "SIX_YEARS" | "SEVEN_YEARS" | "EIGHT_YEARS" | "NINE_YEARS" | "TEN_YEARS" | "PERMANENT"; export interface Row { ArchivedMessageId?: string; ReceivedTimestamp?: Date | string; @@ -1507,30 +1249,11 @@ interface _RuleAction { PublishToSns?: SnsAction; } -export type RuleAction = - | (_RuleAction & { Drop: DropAction }) - | (_RuleAction & { Relay: RelayAction }) - | (_RuleAction & { Archive: ArchiveAction }) - | (_RuleAction & { WriteToS3: S3Action }) - | (_RuleAction & { Send: SendAction }) - | (_RuleAction & { AddHeader: AddHeaderAction }) - | (_RuleAction & { ReplaceRecipient: ReplaceRecipientAction }) - | (_RuleAction & { DeliverToMailbox: DeliverToMailboxAction }) - | (_RuleAction & { DeliverToQBusiness: DeliverToQBusinessAction }) - | (_RuleAction & { PublishToSns: SnsAction }); +export type RuleAction = (_RuleAction & { Drop: DropAction }) | (_RuleAction & { Relay: RelayAction }) | (_RuleAction & { Archive: ArchiveAction }) | (_RuleAction & { WriteToS3: S3Action }) | (_RuleAction & { Send: SendAction }) | (_RuleAction & { AddHeader: AddHeaderAction }) | (_RuleAction & { ReplaceRecipient: ReplaceRecipientAction }) | (_RuleAction & { DeliverToMailbox: DeliverToMailboxAction }) | (_RuleAction & { DeliverToQBusiness: DeliverToQBusinessAction }) | (_RuleAction & { PublishToSns: SnsAction }); export type RuleActions = Array; export type RuleAddressListArnList = Array; -export type RuleAddressListEmailAttribute = - | "RECIPIENT" - | "MAIL_FROM" - | "SENDER" - | "FROM" - | "TO" - | "CC"; -export type RuleBooleanEmailAttribute = - | "READ_RECEIPT_REQUESTED" - | "TLS" - | "TLS_WRAPPED"; +export type RuleAddressListEmailAttribute = "RECIPIENT" | "MAIL_FROM" | "SENDER" | "FROM" | "TO" | "CC"; +export type RuleBooleanEmailAttribute = "READ_RECEIPT_REQUESTED" | "TLS" | "TLS_WRAPPED"; export interface RuleBooleanExpression { Evaluate: RuleBooleanToEvaluate; Operator: RuleBooleanOperator; @@ -1542,10 +1265,7 @@ interface _RuleBooleanToEvaluate { IsInAddressList?: RuleIsInAddressList; } -export type RuleBooleanToEvaluate = - | (_RuleBooleanToEvaluate & { Attribute: RuleBooleanEmailAttribute }) - | (_RuleBooleanToEvaluate & { Analysis: Analysis }) - | (_RuleBooleanToEvaluate & { IsInAddressList: RuleIsInAddressList }); +export type RuleBooleanToEvaluate = (_RuleBooleanToEvaluate & { Attribute: RuleBooleanEmailAttribute }) | (_RuleBooleanToEvaluate & { Analysis: Analysis }) | (_RuleBooleanToEvaluate & { IsInAddressList: RuleIsInAddressList }); interface _RuleCondition { BooleanExpression?: RuleBooleanExpression; StringExpression?: RuleStringExpression; @@ -1555,13 +1275,7 @@ interface _RuleCondition { DmarcExpression?: RuleDmarcExpression; } -export type RuleCondition = - | (_RuleCondition & { BooleanExpression: RuleBooleanExpression }) - | (_RuleCondition & { StringExpression: RuleStringExpression }) - | (_RuleCondition & { NumberExpression: RuleNumberExpression }) - | (_RuleCondition & { IpExpression: RuleIpExpression }) - | (_RuleCondition & { VerdictExpression: RuleVerdictExpression }) - | (_RuleCondition & { DmarcExpression: RuleDmarcExpression }); +export type RuleCondition = (_RuleCondition & { BooleanExpression: RuleBooleanExpression }) | (_RuleCondition & { StringExpression: RuleStringExpression }) | (_RuleCondition & { NumberExpression: RuleNumberExpression }) | (_RuleCondition & { IpExpression: RuleIpExpression }) | (_RuleCondition & { VerdictExpression: RuleVerdictExpression }) | (_RuleCondition & { DmarcExpression: RuleDmarcExpression }); export type RuleConditions = Array; export interface RuleDmarcExpression { Operator: RuleDmarcOperator; @@ -1583,9 +1297,7 @@ interface _RuleIpToEvaluate { Attribute?: RuleIpEmailAttribute; } -export type RuleIpToEvaluate = _RuleIpToEvaluate & { - Attribute: RuleIpEmailAttribute; -}; +export type RuleIpToEvaluate = (_RuleIpToEvaluate & { Attribute: RuleIpEmailAttribute }); export type RuleIpValueList = Array; export interface RuleIsInAddressList { Attribute: RuleAddressListEmailAttribute; @@ -1599,20 +1311,12 @@ export interface RuleNumberExpression { Operator: RuleNumberOperator; Value: number; } -export type RuleNumberOperator = - | "EQUALS" - | "NOT_EQUALS" - | "LESS_THAN" - | "GREATER_THAN" - | "LESS_THAN_OR_EQUAL" - | "GREATER_THAN_OR_EQUAL"; +export type RuleNumberOperator = "EQUALS" | "NOT_EQUALS" | "LESS_THAN" | "GREATER_THAN" | "LESS_THAN_OR_EQUAL" | "GREATER_THAN_OR_EQUAL"; interface _RuleNumberToEvaluate { Attribute?: RuleNumberEmailAttribute; } -export type RuleNumberToEvaluate = _RuleNumberToEvaluate & { - Attribute: RuleNumberEmailAttribute; -}; +export type RuleNumberToEvaluate = (_RuleNumberToEvaluate & { Attribute: RuleNumberEmailAttribute }); export type Rules = Array; export interface RuleSet { RuleSetId?: string; @@ -1626,37 +1330,21 @@ export type RuleSetId = string; export type RuleSetName = string; export type RuleSets = Array; -export type RuleStringEmailAttribute = - | "MAIL_FROM" - | "HELO" - | "RECIPIENT" - | "SENDER" - | "FROM" - | "SUBJECT" - | "TO" - | "CC"; +export type RuleStringEmailAttribute = "MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC"; export interface RuleStringExpression { Evaluate: RuleStringToEvaluate; Operator: RuleStringOperator; Values: Array; } export type RuleStringList = Array; -export type RuleStringOperator = - | "EQUALS" - | "NOT_EQUALS" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS"; +export type RuleStringOperator = "EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"; interface _RuleStringToEvaluate { Attribute?: RuleStringEmailAttribute; MimeHeaderAttribute?: string; Analysis?: Analysis; } -export type RuleStringToEvaluate = - | (_RuleStringToEvaluate & { Attribute: RuleStringEmailAttribute }) - | (_RuleStringToEvaluate & { MimeHeaderAttribute: string }) - | (_RuleStringToEvaluate & { Analysis: Analysis }); +export type RuleStringToEvaluate = (_RuleStringToEvaluate & { Attribute: RuleStringEmailAttribute }) | (_RuleStringToEvaluate & { MimeHeaderAttribute: string }) | (_RuleStringToEvaluate & { Analysis: Analysis }); export type RuleStringValue = string; export type RuleVerdict = "PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED"; @@ -1672,9 +1360,7 @@ interface _RuleVerdictToEvaluate { Analysis?: Analysis; } -export type RuleVerdictToEvaluate = - | (_RuleVerdictToEvaluate & { Attribute: RuleVerdictAttribute }) - | (_RuleVerdictToEvaluate & { Analysis: Analysis }); +export type RuleVerdictToEvaluate = (_RuleVerdictToEvaluate & { Attribute: RuleVerdictAttribute }) | (_RuleVerdictToEvaluate & { Analysis: Analysis }); export type RuleVerdictValueList = Array; export interface S3Action { ActionFailurePolicy?: ActionFailurePolicy; @@ -1703,12 +1389,7 @@ export type SearchId = string; export type SearchMaxResults = number; -export type SearchState = - | "QUEUED" - | "RUNNING" - | "COMPLETED" - | "FAILED" - | "CANCELLED"; +export type SearchState = "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED"; export interface SearchStatus { SubmissionTimestamp?: Date | string; CompletionTimestamp?: Date | string; @@ -1749,7 +1430,8 @@ export type SnsTopicArn = string; export interface StartAddressListImportJobRequest { JobId: string; } -export interface StartAddressListImportJobResponse {} +export interface StartAddressListImportJobResponse { +} export interface StartArchiveExportRequest { ArchiveId: string; Filters?: ArchiveFilters; @@ -1775,15 +1457,18 @@ export interface StartArchiveSearchResponse { export interface StopAddressListImportJobRequest { JobId: string; } -export interface StopAddressListImportJobResponse {} +export interface StopAddressListImportJobResponse { +} export interface StopArchiveExportRequest { ExportId: string; } -export interface StopArchiveExportResponse {} +export interface StopArchiveExportResponse { +} export interface StopArchiveSearchRequest { SearchId: string; } -export interface StopArchiveSearchResponse {} +export interface StopArchiveSearchResponse { +} export type StringList = Array; export type StringValue = string; @@ -1802,7 +1487,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1826,13 +1512,15 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateArchiveRequest { ArchiveId: string; ArchiveName?: string; Retention?: ArchiveRetention; } -export interface UpdateArchiveResponse {} +export interface UpdateArchiveResponse { +} export interface UpdateIngressPointRequest { IngressPointId: string; IngressPointName?: string; @@ -1841,7 +1529,8 @@ export interface UpdateIngressPointRequest { TrafficPolicyId?: string; IngressPointConfiguration?: IngressPointConfiguration; } -export interface UpdateIngressPointResponse {} +export interface UpdateIngressPointResponse { +} export interface UpdateRelayRequest { RelayId: string; RelayName?: string; @@ -1849,13 +1538,15 @@ export interface UpdateRelayRequest { ServerPort?: number; Authentication?: RelayAuthentication; } -export interface UpdateRelayResponse {} +export interface UpdateRelayResponse { +} export interface UpdateRuleSetRequest { RuleSetId: string; RuleSetName?: string; Rules?: Array; } -export interface UpdateRuleSetResponse {} +export interface UpdateRuleSetResponse { +} export interface UpdateTrafficPolicyRequest { TrafficPolicyId: string; TrafficPolicyName?: string; @@ -1863,7 +1554,8 @@ export interface UpdateTrafficPolicyRequest { DefaultAction?: AcceptAction; MaxMessageSizeBytes?: number; } -export interface UpdateTrafficPolicyResponse {} +export interface UpdateTrafficPolicyResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -2210,13 +1902,19 @@ export declare namespace CreateTrafficPolicy { export declare namespace DeleteAddonInstance { export type Input = DeleteAddonInstanceRequest; export type Output = DeleteAddonInstanceResponse; - export type Error = ConflictException | ValidationException | CommonAwsError; + export type Error = + | ConflictException + | ValidationException + | CommonAwsError; } export declare namespace DeleteAddonSubscription { export type Input = DeleteAddonSubscriptionRequest; export type Output = DeleteAddonSubscriptionResponse; - export type Error = ConflictException | ValidationException | CommonAwsError; + export type Error = + | ConflictException + | ValidationException + | CommonAwsError; } export declare namespace DeleteAddressList { @@ -2263,7 +1961,10 @@ export declare namespace DeleteRelay { export declare namespace DeleteRuleSet { export type Input = DeleteRuleSetRequest; export type Output = DeleteRuleSetResponse; - export type Error = ConflictException | ValidationException | CommonAwsError; + export type Error = + | ConflictException + | ValidationException + | CommonAwsError; } export declare namespace DeleteTrafficPolicy { @@ -2355,13 +2056,17 @@ export declare namespace GetTrafficPolicy { export declare namespace ListAddonInstances { export type Input = ListAddonInstancesRequest; export type Output = ListAddonInstancesResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListAddonSubscriptions { export type Input = ListAddonSubscriptionsRequest; export type Output = ListAddonSubscriptionsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListAddressLists { @@ -2387,25 +2092,33 @@ export declare namespace ListArchives { export declare namespace ListIngressPoints { export type Input = ListIngressPointsRequest; export type Output = ListIngressPointsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListRelays { export type Input = ListRelaysRequest; export type Output = ListRelaysResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListRuleSets { export type Input = ListRuleSetsRequest; export type Output = ListRuleSetsResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace ListTrafficPolicies { export type Input = ListTrafficPoliciesRequest; export type Output = ListTrafficPoliciesResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace UpdateArchive { @@ -2461,11 +2174,5 @@ export declare namespace UpdateTrafficPolicy { | CommonAwsError; } -export type MailManagerErrors = - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type MailManagerErrors = AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/managedblockchain-query/index.ts b/src/services/managedblockchain-query/index.ts index 413351c7..b517faa0 100644 --- a/src/services/managedblockchain-query/index.ts +++ b/src/services/managedblockchain-query/index.ts @@ -5,23 +5,7 @@ import type { ManagedBlockchainQuery as _ManagedBlockchainQueryClient } from "./ export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,15 +14,19 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "managedblockchain-query", operations: { - BatchGetTokenBalance: "POST /batch-get-token-balance", - GetAssetContract: "POST /get-asset-contract", - GetTokenBalance: "POST /get-token-balance", - GetTransaction: "POST /get-transaction", - ListAssetContracts: "POST /list-asset-contracts", - ListFilteredTransactionEvents: "POST /list-filtered-transaction-events", - ListTokenBalances: "POST /list-token-balances", - ListTransactionEvents: "POST /list-transaction-events", - ListTransactions: "POST /list-transactions", + "BatchGetTokenBalance": "POST /batch-get-token-balance", + "GetAssetContract": "POST /get-asset-contract", + "GetTokenBalance": "POST /get-token-balance", + "GetTransaction": "POST /get-transaction", + "ListAssetContracts": "POST /list-asset-contracts", + "ListFilteredTransactionEvents": "POST /list-filtered-transaction-events", + "ListTokenBalances": "POST /list-token-balances", + "ListTransactionEvents": "POST /list-transaction-events", + "ListTransactions": "POST /list-transactions", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/managedblockchain-query/types.ts b/src/services/managedblockchain-query/types.ts index a169dcbd..f9dbbe07 100644 --- a/src/services/managedblockchain-query/types.ts +++ b/src/services/managedblockchain-query/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ManagedBlockchainQuery extends AWSServiceClient { @@ -40,104 +8,55 @@ export declare class ManagedBlockchainQuery extends AWSServiceClient { input: BatchGetTokenBalanceInput, ): Effect.Effect< BatchGetTokenBalanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getAssetContract( input: GetAssetContractInput, ): Effect.Effect< GetAssetContractOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getTokenBalance( input: GetTokenBalanceInput, ): Effect.Effect< GetTokenBalanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getTransaction( input: GetTransactionInput, ): Effect.Effect< GetTransactionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listAssetContracts( input: ListAssetContractsInput, ): Effect.Effect< ListAssetContractsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listFilteredTransactionEvents( input: ListFilteredTransactionEventsInput, ): Effect.Effect< ListFilteredTransactionEventsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTokenBalances( input: ListTokenBalancesInput, ): Effect.Effect< ListTokenBalancesOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTransactionEvents( input: ListTransactionEventsInput, ): Effect.Effect< ListTransactionEventsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTransactions( input: ListTransactionsInput, ): Effect.Effect< ListTransactionsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -185,8 +104,7 @@ export interface BatchGetTokenBalanceOutputItem { atBlockchainInstant: BlockchainInstant; lastUpdatedTime?: BlockchainInstant; } -export type BatchGetTokenBalanceOutputList = - Array; +export type BatchGetTokenBalanceOutputList = Array; export interface BlockchainInstant { time?: Date | string; } @@ -581,11 +499,5 @@ export declare namespace ListTransactions { | CommonAwsError; } -export type ManagedBlockchainQueryErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ManagedBlockchainQueryErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/managedblockchain/index.ts b/src/services/managedblockchain/index.ts index 78aaba2a..ef95a0a9 100644 --- a/src/services/managedblockchain/index.ts +++ b/src/services/managedblockchain/index.ts @@ -5,24 +5,7 @@ import type { ManagedBlockchain as _ManagedBlockchainClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,33 +15,33 @@ const metadata = { sigV4ServiceName: "managedblockchain", endpointPrefix: "managedblockchain", operations: { - CreateAccessor: "POST /accessors", - CreateMember: "POST /networks/{NetworkId}/members", - CreateNetwork: "POST /networks", - CreateNode: "POST /networks/{NetworkId}/nodes", - CreateProposal: "POST /networks/{NetworkId}/proposals", - DeleteAccessor: "DELETE /accessors/{AccessorId}", - DeleteMember: "DELETE /networks/{NetworkId}/members/{MemberId}", - DeleteNode: "DELETE /networks/{NetworkId}/nodes/{NodeId}", - GetAccessor: "GET /accessors/{AccessorId}", - GetMember: "GET /networks/{NetworkId}/members/{MemberId}", - GetNetwork: "GET /networks/{NetworkId}", - GetNode: "GET /networks/{NetworkId}/nodes/{NodeId}", - GetProposal: "GET /networks/{NetworkId}/proposals/{ProposalId}", - ListAccessors: "GET /accessors", - ListInvitations: "GET /invitations", - ListMembers: "GET /networks/{NetworkId}/members", - ListNetworks: "GET /networks", - ListNodes: "GET /networks/{NetworkId}/nodes", - ListProposals: "GET /networks/{NetworkId}/proposals", - ListProposalVotes: "GET /networks/{NetworkId}/proposals/{ProposalId}/votes", - ListTagsForResource: "GET /tags/{ResourceArn}", - RejectInvitation: "DELETE /invitations/{InvitationId}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateMember: "PATCH /networks/{NetworkId}/members/{MemberId}", - UpdateNode: "PATCH /networks/{NetworkId}/nodes/{NodeId}", - VoteOnProposal: "POST /networks/{NetworkId}/proposals/{ProposalId}/votes", + "CreateAccessor": "POST /accessors", + "CreateMember": "POST /networks/{NetworkId}/members", + "CreateNetwork": "POST /networks", + "CreateNode": "POST /networks/{NetworkId}/nodes", + "CreateProposal": "POST /networks/{NetworkId}/proposals", + "DeleteAccessor": "DELETE /accessors/{AccessorId}", + "DeleteMember": "DELETE /networks/{NetworkId}/members/{MemberId}", + "DeleteNode": "DELETE /networks/{NetworkId}/nodes/{NodeId}", + "GetAccessor": "GET /accessors/{AccessorId}", + "GetMember": "GET /networks/{NetworkId}/members/{MemberId}", + "GetNetwork": "GET /networks/{NetworkId}", + "GetNode": "GET /networks/{NetworkId}/nodes/{NodeId}", + "GetProposal": "GET /networks/{NetworkId}/proposals/{ProposalId}", + "ListAccessors": "GET /accessors", + "ListInvitations": "GET /invitations", + "ListMembers": "GET /networks/{NetworkId}/members", + "ListNetworks": "GET /networks", + "ListNodes": "GET /networks/{NetworkId}/nodes", + "ListProposals": "GET /networks/{NetworkId}/proposals", + "ListProposalVotes": "GET /networks/{NetworkId}/proposals/{ProposalId}/votes", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "RejectInvitation": "DELETE /invitations/{InvitationId}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateMember": "PATCH /networks/{NetworkId}/members/{MemberId}", + "UpdateNode": "PATCH /networks/{NetworkId}/nodes/{NodeId}", + "VoteOnProposal": "POST /networks/{NetworkId}/proposals/{ProposalId}/votes", }, } as const satisfies ServiceMetadata; diff --git a/src/services/managedblockchain/types.ts b/src/services/managedblockchain/types.ts index 6e66539f..f03be346 100644 --- a/src/services/managedblockchain/types.ts +++ b/src/services/managedblockchain/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class ManagedBlockchain extends AWSServiceClient { @@ -41,310 +8,163 @@ export declare class ManagedBlockchain extends AWSServiceClient { input: CreateAccessorInput, ): Effect.Effect< CreateAccessorOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ThrottlingException - | TooManyTagsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceAlreadyExistsException | ResourceLimitExceededException | ThrottlingException | TooManyTagsException | CommonAwsError >; createMember( input: CreateMemberInput, ): Effect.Effect< CreateMemberOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | TooManyTagsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | TooManyTagsException | CommonAwsError >; createNetwork( input: CreateNetworkInput, ): Effect.Effect< CreateNetworkOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ThrottlingException - | TooManyTagsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceAlreadyExistsException | ResourceLimitExceededException | ThrottlingException | TooManyTagsException | CommonAwsError >; createNode( input: CreateNodeInput, ): Effect.Effect< CreateNodeOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | TooManyTagsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | TooManyTagsException | CommonAwsError >; createProposal( input: CreateProposalInput, ): Effect.Effect< CreateProposalOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | TooManyTagsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | TooManyTagsException | CommonAwsError >; deleteAccessor( input: DeleteAccessorInput, ): Effect.Effect< DeleteAccessorOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteMember( input: DeleteMemberInput, ): Effect.Effect< DeleteMemberOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | CommonAwsError >; deleteNode( input: DeleteNodeInput, ): Effect.Effect< DeleteNodeOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | CommonAwsError >; getAccessor( input: GetAccessorInput, ): Effect.Effect< GetAccessorOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getMember( input: GetMemberInput, ): Effect.Effect< GetMemberOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getNetwork( input: GetNetworkInput, ): Effect.Effect< GetNetworkOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getNode( input: GetNodeInput, ): Effect.Effect< GetNodeOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getProposal( input: GetProposalInput, ): Effect.Effect< GetProposalOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAccessors( input: ListAccessorsInput, ): Effect.Effect< ListAccessorsOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ThrottlingException | CommonAwsError >; listInvitations( input: ListInvitationsInput, ): Effect.Effect< ListInvitationsOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceLimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceLimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listMembers( input: ListMembersInput, ): Effect.Effect< ListMembersOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ThrottlingException | CommonAwsError >; listNetworks( input: ListNetworksInput, ): Effect.Effect< ListNetworksOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ThrottlingException | CommonAwsError >; listNodes( input: ListNodesInput, ): Effect.Effect< ListNodesOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ThrottlingException | CommonAwsError >; listProposals( input: ListProposalsInput, ): Effect.Effect< ListProposalsOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listProposalVotes( input: ListProposalVotesInput, ): Effect.Effect< ListProposalVotesOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ResourceNotReadyException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ResourceNotReadyException | CommonAwsError >; rejectInvitation( input: RejectInvitationInput, ): Effect.Effect< RejectInvitationOutput, - | AccessDeniedException - | IllegalActionException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IllegalActionException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ResourceNotReadyException - | TooManyTagsException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ResourceNotReadyException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ResourceNotReadyException - | CommonAwsError + InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ResourceNotReadyException | CommonAwsError >; updateMember( input: UpdateMemberInput, ): Effect.Effect< UpdateMemberOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateNode( input: UpdateNodeInput, ): Effect.Effect< UpdateNodeOutput, - | AccessDeniedException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; voteOnProposal( input: VoteOnProposalInput, ): Effect.Effect< VoteOnProposalOutput, - | AccessDeniedException - | IllegalActionException - | InternalServiceErrorException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IllegalActionException | InternalServiceErrorException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -369,12 +189,7 @@ export type AccessorBillingTokenString = string; export type AccessorListMaxResults = number; -export type AccessorNetworkType = - | "ETHEREUM_GOERLI" - | "ETHEREUM_MAINNET" - | "ETHEREUM_MAINNET_AND_GOERLI" - | "POLYGON_MAINNET" - | "POLYGON_MUMBAI"; +export type AccessorNetworkType = "ETHEREUM_GOERLI" | "ETHEREUM_MAINNET" | "ETHEREUM_MAINNET_AND_GOERLI" | "POLYGON_MAINNET" | "POLYGON_MUMBAI"; export type AccessorStatus = "AVAILABLE" | "PENDING_DELETION" | "DELETED"; export interface AccessorSummary { Id?: string; @@ -456,18 +271,21 @@ export interface CreateProposalOutput { export interface DeleteAccessorInput { AccessorId: string; } -export interface DeleteAccessorOutput {} +export interface DeleteAccessorOutput { +} export interface DeleteMemberInput { NetworkId: string; MemberId: string; } -export interface DeleteMemberOutput {} +export interface DeleteMemberOutput { +} export interface DeleteNodeInput { NetworkId: string; MemberId?: string; NodeId: string; } -export interface DeleteNodeOutput {} +export interface DeleteNodeOutput { +} export type DescriptionString = string; export type Edition = "STARTER" | "STANDARD"; @@ -522,7 +340,8 @@ export type InstanceTypeString = string; export declare class InternalServiceErrorException extends EffectData.TaggedError( "InternalServiceErrorException", -)<{}> {} +)<{ +}> {} export declare class InvalidRequestException extends EffectData.TaggedError( "InvalidRequestException", )<{ @@ -537,12 +356,7 @@ export interface Invitation { Arn?: string; } export type InvitationList = Array; -export type InvitationStatus = - | "PENDING" - | "ACCEPTED" - | "ACCEPTING" - | "REJECTED" - | "EXPIRED"; +export type InvitationStatus = "PENDING" | "ACCEPTED" | "ACCEPTING" | "REJECTED" | "EXPIRED"; export interface InviteAction { Principal: string; } @@ -674,14 +488,7 @@ export type MemberListMaxResults = number; export interface MemberLogPublishingConfiguration { Fabric?: MemberFabricLogPublishingConfiguration; } -export type MemberStatus = - | "CREATING" - | "AVAILABLE" - | "CREATE_FAILED" - | "UPDATING" - | "DELETING" - | "DELETED" - | "INACCESSIBLE_ENCRYPTION_KEY"; +export type MemberStatus = "CREATING" | "AVAILABLE" | "CREATE_FAILED" | "UPDATING" | "DELETING" | "DELETED" | "INACCESSIBLE_ENCRYPTION_KEY"; export interface MemberSummary { Id?: string; Name?: string; @@ -729,12 +536,7 @@ export type NetworkListMaxResults = number; export type NetworkMemberNameString = string; -export type NetworkStatus = - | "CREATING" - | "AVAILABLE" - | "CREATE_FAILED" - | "DELETING" - | "DELETED"; +export type NetworkStatus = "CREATING" | "AVAILABLE" | "CREATE_FAILED" | "DELETING" | "DELETED"; export interface NetworkSummary { Id?: string; Name?: string; @@ -788,16 +590,7 @@ export type NodeListMaxResults = number; export interface NodeLogPublishingConfiguration { Fabric?: NodeFabricLogPublishingConfiguration; } -export type NodeStatus = - | "CREATING" - | "AVAILABLE" - | "UNHEALTHY" - | "CREATE_FAILED" - | "UPDATING" - | "DELETING" - | "DELETED" - | "FAILED" - | "INACCESSIBLE_ENCRYPTION_KEY"; +export type NodeStatus = "CREATING" | "AVAILABLE" | "UNHEALTHY" | "CREATE_FAILED" | "UPDATING" | "DELETING" | "DELETED" | "FAILED" | "INACCESSIBLE_ENCRYPTION_KEY"; export interface NodeSummary { Id?: string; Status?: NodeStatus; @@ -838,12 +631,7 @@ export type ProposalDurationInt = number; export type ProposalListMaxResults = number; -export type ProposalStatus = - | "IN_PROGRESS" - | "APPROVED" - | "REJECTED" - | "EXPIRED" - | "ACTION_FAILED"; +export type ProposalStatus = "IN_PROGRESS" | "APPROVED" | "REJECTED" | "EXPIRED" | "ACTION_FAILED"; export interface ProposalSummary { ProposalId?: string; Description?: string; @@ -859,7 +647,8 @@ export type ProposalVoteList = Array; export interface RejectInvitationInput { InvitationId: string; } -export interface RejectInvitationOutput {} +export interface RejectInvitationOutput { +} export interface RemoveAction { MemberId: string; } @@ -897,7 +686,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type ThresholdComparator = "GREATER_THAN" | "GREATER_THAN_OR_EQUAL_TO"; @@ -905,7 +695,8 @@ export type ThresholdPercentageInt = number; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", -)<{}> {} +)<{ +}> {} export type Timestamp = Date | string; export declare class TooManyTagsException extends EffectData.TaggedError( @@ -918,20 +709,23 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateMemberInput { NetworkId: string; MemberId: string; LogPublishingConfiguration?: MemberLogPublishingConfiguration; } -export interface UpdateMemberOutput {} +export interface UpdateMemberOutput { +} export interface UpdateNodeInput { NetworkId: string; MemberId?: string; NodeId: string; LogPublishingConfiguration?: NodeLogPublishingConfiguration; } -export interface UpdateNodeOutput {} +export interface UpdateNodeOutput { +} export type UsernameString = string; export type VoteCount = number; @@ -942,7 +736,8 @@ export interface VoteOnProposalInput { VoterMemberId: string; Vote: VoteValue; } -export interface VoteOnProposalOutput {} +export interface VoteOnProposalOutput { +} export interface VoteSummary { Vote?: VoteValue; MemberName?: string; @@ -1288,15 +1083,5 @@ export declare namespace VoteOnProposal { | CommonAwsError; } -export type ManagedBlockchainErrors = - | AccessDeniedException - | IllegalActionException - | InternalServiceErrorException - | InvalidRequestException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | TooManyTagsException - | CommonAwsError; +export type ManagedBlockchainErrors = AccessDeniedException | IllegalActionException | InternalServiceErrorException | InvalidRequestException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/marketplace-agreement/index.ts b/src/services/marketplace-agreement/index.ts index edff4df0..961467ff 100644 --- a/src/services/marketplace-agreement/index.ts +++ b/src/services/marketplace-agreement/index.ts @@ -5,23 +5,7 @@ import type { MarketplaceAgreement as _MarketplaceAgreementClient } from "./type export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/marketplace-agreement/types.ts b/src/services/marketplace-agreement/types.ts index b0177fa3..43051652 100644 --- a/src/services/marketplace-agreement/types.ts +++ b/src/services/marketplace-agreement/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MarketplaceAgreement extends AWSServiceClient { @@ -40,33 +8,19 @@ export declare class MarketplaceAgreement extends AWSServiceClient { input: DescribeAgreementInput, ): Effect.Effect< DescribeAgreementOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAgreementTerms( input: GetAgreementTermsInput, ): Effect.Effect< GetAgreementTermsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchAgreements( input: SearchAgreementsInput, ): Effect.Effect< SearchAgreementsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -84,20 +38,7 @@ interface _AcceptedTerm { fixedUpfrontPricingTerm?: FixedUpfrontPricingTerm; } -export type AcceptedTerm = - | (_AcceptedTerm & { legalTerm: LegalTerm }) - | (_AcceptedTerm & { supportTerm: SupportTerm }) - | (_AcceptedTerm & { renewalTerm: RenewalTerm }) - | (_AcceptedTerm & { usageBasedPricingTerm: UsageBasedPricingTerm }) - | (_AcceptedTerm & { - configurableUpfrontPricingTerm: ConfigurableUpfrontPricingTerm; - }) - | (_AcceptedTerm & { byolPricingTerm: ByolPricingTerm }) - | (_AcceptedTerm & { recurringPaymentTerm: RecurringPaymentTerm }) - | (_AcceptedTerm & { validityTerm: ValidityTerm }) - | (_AcceptedTerm & { paymentScheduleTerm: PaymentScheduleTerm }) - | (_AcceptedTerm & { freeTrialPricingTerm: FreeTrialPricingTerm }) - | (_AcceptedTerm & { fixedUpfrontPricingTerm: FixedUpfrontPricingTerm }); +export type AcceptedTerm = (_AcceptedTerm & { legalTerm: LegalTerm }) | (_AcceptedTerm & { supportTerm: SupportTerm }) | (_AcceptedTerm & { renewalTerm: RenewalTerm }) | (_AcceptedTerm & { usageBasedPricingTerm: UsageBasedPricingTerm }) | (_AcceptedTerm & { configurableUpfrontPricingTerm: ConfigurableUpfrontPricingTerm }) | (_AcceptedTerm & { byolPricingTerm: ByolPricingTerm }) | (_AcceptedTerm & { recurringPaymentTerm: RecurringPaymentTerm }) | (_AcceptedTerm & { validityTerm: ValidityTerm }) | (_AcceptedTerm & { paymentScheduleTerm: PaymentScheduleTerm }) | (_AcceptedTerm & { freeTrialPricingTerm: FreeTrialPricingTerm }) | (_AcceptedTerm & { fixedUpfrontPricingTerm: FixedUpfrontPricingTerm }); export type AcceptedTermList = Array; export interface Acceptor { accountId?: string; @@ -110,16 +51,7 @@ export declare class AccessDeniedException extends EffectData.TaggedError( }> {} export type AgreementResourceType = string; -export type AgreementStatus = - | "ACTIVE" - | "ARCHIVED" - | "CANCELLED" - | "EXPIRED" - | "RENEWED" - | "REPLACED" - | "ROLLED_BACK" - | "SUPERSEDED" - | "TERMINATED"; +export type AgreementStatus = "ACTIVE" | "ARCHIVED" | "CANCELLED" | "EXPIRED" | "RENEWED" | "REPLACED" | "ROLLED_BACK" | "SUPERSEDED" | "TERMINATED"; export type AgreementType = string; export interface AgreementViewSummary { @@ -160,8 +92,7 @@ export interface ConfigurableUpfrontRateCardItem { constraints?: Constraints; rateCard?: Array; } -export type ConfigurableUpfrontRateCardList = - Array; +export type ConfigurableUpfrontRateCardList = Array; export interface Constraints { multipleDimensionSelection?: string; quantityConfiguration?: string; @@ -365,18 +296,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "INVALID_AGREEMENT_ID" - | "MISSING_AGREEMENT_ID" - | "INVALID_CATALOG" - | "INVALID_FILTER_NAME" - | "INVALID_FILTER_VALUES" - | "INVALID_SORT_BY" - | "INVALID_SORT_ORDER" - | "INVALID_NEXT_TOKEN" - | "INVALID_MAX_RESULTS" - | "UNSUPPORTED_FILTERS" - | "OTHER"; +export type ValidationExceptionReason = "INVALID_AGREEMENT_ID" | "MISSING_AGREEMENT_ID" | "INVALID_CATALOG" | "INVALID_FILTER_NAME" | "INVALID_FILTER_VALUES" | "INVALID_SORT_BY" | "INVALID_SORT_ORDER" | "INVALID_NEXT_TOKEN" | "INVALID_MAX_RESULTS" | "UNSUPPORTED_FILTERS" | "OTHER"; export interface ValidityTerm { type?: string; agreementDuration?: string; @@ -420,10 +340,5 @@ export declare namespace SearchAgreements { | CommonAwsError; } -export type MarketplaceAgreementErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type MarketplaceAgreementErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/marketplace-catalog/index.ts b/src/services/marketplace-catalog/index.ts index 762a1b3f..997fbd78 100644 --- a/src/services/marketplace-catalog/index.ts +++ b/src/services/marketplace-catalog/index.ts @@ -5,23 +5,7 @@ import type { MarketplaceCatalog as _MarketplaceCatalogClient } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,19 +15,19 @@ const metadata = { sigV4ServiceName: "aws-marketplace", endpointPrefix: "catalog.marketplace", operations: { - BatchDescribeEntities: "POST /BatchDescribeEntities", - CancelChangeSet: "PATCH /CancelChangeSet", - DeleteResourcePolicy: "DELETE /DeleteResourcePolicy", - DescribeChangeSet: "GET /DescribeChangeSet", - DescribeEntity: "GET /DescribeEntity", - GetResourcePolicy: "GET /GetResourcePolicy", - ListChangeSets: "POST /ListChangeSets", - ListEntities: "POST /ListEntities", - ListTagsForResource: "POST /ListTagsForResource", - PutResourcePolicy: "POST /PutResourcePolicy", - StartChangeSet: "POST /StartChangeSet", - TagResource: "POST /TagResource", - UntagResource: "POST /UntagResource", + "BatchDescribeEntities": "POST /BatchDescribeEntities", + "CancelChangeSet": "PATCH /CancelChangeSet", + "DeleteResourcePolicy": "DELETE /DeleteResourcePolicy", + "DescribeChangeSet": "GET /DescribeChangeSet", + "DescribeEntity": "GET /DescribeEntity", + "GetResourcePolicy": "GET /GetResourcePolicy", + "ListChangeSets": "POST /ListChangeSets", + "ListEntities": "POST /ListEntities", + "ListTagsForResource": "POST /ListTagsForResource", + "PutResourcePolicy": "POST /PutResourcePolicy", + "StartChangeSet": "POST /StartChangeSet", + "TagResource": "POST /TagResource", + "UntagResource": "POST /UntagResource", }, } as const satisfies ServiceMetadata; diff --git a/src/services/marketplace-catalog/types.ts b/src/services/marketplace-catalog/types.ts index 9936327e..31f3c854 100644 --- a/src/services/marketplace-catalog/types.ts +++ b/src/services/marketplace-catalog/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MarketplaceCatalog extends AWSServiceClient { @@ -40,146 +8,79 @@ export declare class MarketplaceCatalog extends AWSServiceClient { input: BatchDescribeEntitiesRequest, ): Effect.Effect< BatchDescribeEntitiesResponse, - | AccessDeniedException - | InternalServiceException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ThrottlingException | ValidationException | CommonAwsError >; cancelChangeSet( input: CancelChangeSetRequest, ): Effect.Effect< CancelChangeSetResponse, - | AccessDeniedException - | InternalServiceException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeChangeSet( input: DescribeChangeSetRequest, ): Effect.Effect< DescribeChangeSetResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeEntity( input: DescribeEntityRequest, ): Effect.Effect< DescribeEntityResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ResourceNotSupportedException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ResourceNotSupportedException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listChangeSets( input: ListChangeSetsRequest, ): Effect.Effect< ListChangeSetsResponse, - | AccessDeniedException - | InternalServiceException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ThrottlingException | ValidationException | CommonAwsError >; listEntities( input: ListEntitiesRequest, ): Effect.Effect< ListEntitiesResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startChangeSet( input: StartChangeSetRequest, ): Effect.Effect< StartChangeSetResponse, - | AccessDeniedException - | InternalServiceException - | ResourceInUseException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceInUseException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServiceException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -211,11 +112,7 @@ export interface AmiProductSort { SortBy?: AmiProductSortBy; SortOrder?: SortOrder; } -export type AmiProductSortBy = - | "EntityId" - | "LastModifiedDate" - | "ProductTitle" - | "Visibility"; +export type AmiProductSortBy = "EntityId" | "LastModifiedDate" | "ProductTitle" | "Visibility"; export interface AmiProductSummary { ProductTitle?: string; Visibility?: AmiProductVisibilityString; @@ -230,13 +127,8 @@ export type AmiProductTitleString = string; export interface AmiProductVisibilityFilter { ValueList?: Array; } -export type AmiProductVisibilityFilterValueList = - Array; -export type AmiProductVisibilityString = - | "Limited" - | "Public" - | "Restricted" - | "Draft"; +export type AmiProductVisibilityFilterValueList = Array; +export type AmiProductVisibilityString = "Limited" | "Public" | "Restricted" | "Draft"; export type ARN = string; export interface BatchDescribeEntitiesRequest { @@ -288,12 +180,7 @@ export interface ChangeSetSummaryListItem { EntityIdList?: Array; FailureCode?: FailureCode; } -export type ChangeStatus = - | "PREPARING" - | "APPLYING" - | "SUCCEEDED" - | "CANCELLED" - | "FAILED"; +export type ChangeStatus = "PREPARING" | "APPLYING" | "SUCCEEDED" | "CANCELLED" | "FAILED"; export interface ChangeSummary { ChangeType?: string; Entity?: Entity; @@ -329,12 +216,7 @@ export interface ContainerProductSort { SortBy?: ContainerProductSortBy; SortOrder?: SortOrder; } -export type ContainerProductSortBy = - | "EntityId" - | "LastModifiedDate" - | "ProductTitle" - | "Visibility" - | "CompatibleAWSServices"; +export type ContainerProductSortBy = "EntityId" | "LastModifiedDate" | "ProductTitle" | "Visibility" | "CompatibleAWSServices"; export interface ContainerProductSummary { ProductTitle?: string; Visibility?: ContainerProductVisibilityString; @@ -349,13 +231,8 @@ export type ContainerProductTitleString = string; export interface ContainerProductVisibilityFilter { ValueList?: Array; } -export type ContainerProductVisibilityFilterValueList = - Array; -export type ContainerProductVisibilityString = - | "Limited" - | "Public" - | "Restricted" - | "Draft"; +export type ContainerProductVisibilityFilterValueList = Array; +export type ContainerProductVisibilityString = "Limited" | "Public" | "Restricted" | "Draft"; export interface DataProductEntityIdFilter { ValueList?: Array; } @@ -379,11 +256,7 @@ export interface DataProductSort { SortBy?: DataProductSortBy; SortOrder?: SortOrder; } -export type DataProductSortBy = - | "EntityId" - | "ProductTitle" - | "Visibility" - | "LastModifiedDate"; +export type DataProductSortBy = "EntityId" | "ProductTitle" | "Visibility" | "LastModifiedDate"; export interface DataProductSummary { ProductTitle?: string; Visibility?: DataProductVisibilityString; @@ -398,20 +271,15 @@ export type DataProductTitleString = string; export interface DataProductVisibilityFilter { ValueList?: Array; } -export type DataProductVisibilityFilterValueList = - Array; -export type DataProductVisibilityString = - | "Limited" - | "Public" - | "Restricted" - | "Unavailable" - | "Draft"; +export type DataProductVisibilityFilterValueList = Array; +export type DataProductVisibilityString = "Limited" | "Public" | "Restricted" | "Unavailable" | "Draft"; export type DateTimeISO8601 = string; export interface DeleteResourcePolicyRequest { ResourceArn: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export interface DescribeChangeSetRequest { Catalog: string; ChangeSetId: string; @@ -489,18 +357,7 @@ interface _EntityTypeFilters { MachineLearningProductFilters?: MachineLearningProductFilters; } -export type EntityTypeFilters = - | (_EntityTypeFilters & { DataProductFilters: DataProductFilters }) - | (_EntityTypeFilters & { SaaSProductFilters: SaaSProductFilters }) - | (_EntityTypeFilters & { AmiProductFilters: AmiProductFilters }) - | (_EntityTypeFilters & { OfferFilters: OfferFilters }) - | (_EntityTypeFilters & { ContainerProductFilters: ContainerProductFilters }) - | (_EntityTypeFilters & { - ResaleAuthorizationFilters: ResaleAuthorizationFilters; - }) - | (_EntityTypeFilters & { - MachineLearningProductFilters: MachineLearningProductFilters; - }); +export type EntityTypeFilters = (_EntityTypeFilters & { DataProductFilters: DataProductFilters }) | (_EntityTypeFilters & { SaaSProductFilters: SaaSProductFilters }) | (_EntityTypeFilters & { AmiProductFilters: AmiProductFilters }) | (_EntityTypeFilters & { OfferFilters: OfferFilters }) | (_EntityTypeFilters & { ContainerProductFilters: ContainerProductFilters }) | (_EntityTypeFilters & { ResaleAuthorizationFilters: ResaleAuthorizationFilters }) | (_EntityTypeFilters & { MachineLearningProductFilters: MachineLearningProductFilters }); interface _EntityTypeSort { DataProductSort?: DataProductSort; SaaSProductSort?: SaaSProductSort; @@ -511,16 +368,7 @@ interface _EntityTypeSort { MachineLearningProductSort?: MachineLearningProductSort; } -export type EntityTypeSort = - | (_EntityTypeSort & { DataProductSort: DataProductSort }) - | (_EntityTypeSort & { SaaSProductSort: SaaSProductSort }) - | (_EntityTypeSort & { AmiProductSort: AmiProductSort }) - | (_EntityTypeSort & { OfferSort: OfferSort }) - | (_EntityTypeSort & { ContainerProductSort: ContainerProductSort }) - | (_EntityTypeSort & { ResaleAuthorizationSort: ResaleAuthorizationSort }) - | (_EntityTypeSort & { - MachineLearningProductSort: MachineLearningProductSort; - }); +export type EntityTypeSort = (_EntityTypeSort & { DataProductSort: DataProductSort }) | (_EntityTypeSort & { SaaSProductSort: SaaSProductSort }) | (_EntityTypeSort & { AmiProductSort: AmiProductSort }) | (_EntityTypeSort & { OfferSort: OfferSort }) | (_EntityTypeSort & { ContainerProductSort: ContainerProductSort }) | (_EntityTypeSort & { ResaleAuthorizationSort: ResaleAuthorizationSort }) | (_EntityTypeSort & { MachineLearningProductSort: MachineLearningProductSort }); export type ErrorCodeString = string; export interface ErrorDetail { @@ -619,11 +467,7 @@ export interface MachineLearningProductSort { SortBy?: MachineLearningProductSortBy; SortOrder?: SortOrder; } -export type MachineLearningProductSortBy = - | "EntityId" - | "LastModifiedDate" - | "ProductTitle" - | "Visibility"; +export type MachineLearningProductSortBy = "EntityId" | "LastModifiedDate" | "ProductTitle" | "Visibility"; export interface MachineLearningProductSummary { ProductTitle?: string; Visibility?: MachineLearningProductVisibilityString; @@ -638,13 +482,8 @@ export type MachineLearningProductTitleString = string; export interface MachineLearningProductVisibilityFilter { ValueList?: Array; } -export type MachineLearningProductVisibilityFilterValueList = - Array; -export type MachineLearningProductVisibilityString = - | "Limited" - | "Public" - | "Restricted" - | "Draft"; +export type MachineLearningProductVisibilityFilterValueList = Array; +export type MachineLearningProductVisibilityString = "Limited" | "Public" | "Restricted" | "Draft"; export type NextToken = string; export interface OfferAvailabilityEndDateFilter { @@ -717,17 +556,7 @@ export interface OfferSort { SortBy?: OfferSortBy; SortOrder?: SortOrder; } -export type OfferSortBy = - | "EntityId" - | "Name" - | "ProductId" - | "ResaleAuthorizationId" - | "ReleaseDate" - | "AvailabilityEndDate" - | "BuyerAccounts" - | "State" - | "Targeting" - | "LastModifiedDate"; +export type OfferSortBy = "EntityId" | "Name" | "ProductId" | "ResaleAuthorizationId" | "ReleaseDate" | "AvailabilityEndDate" | "BuyerAccounts" | "State" | "Targeting" | "LastModifiedDate"; export interface OfferStateFilter { ValueList?: Array; } @@ -748,17 +577,14 @@ export interface OfferTargetingFilter { } export type OfferTargetingFilterValueList = Array; export type OfferTargetingList = Array; -export type OfferTargetingString = - | "BuyerAccounts" - | "ParticipatingPrograms" - | "CountryCodes" - | "None"; +export type OfferTargetingString = "BuyerAccounts" | "ParticipatingPrograms" | "CountryCodes" | "None"; export type OwnershipType = "SELF" | "SHARED"; export interface PutResourcePolicyRequest { ResourceArn: string; Policy: string; } -export interface PutResourcePolicyResponse {} +export interface PutResourcePolicyResponse { +} export type RequestedChangeList = Array; export interface ResaleAuthorizationAvailabilityEndDateFilter { DateRange?: ResaleAuthorizationAvailabilityEndDateFilterDateRange; @@ -768,8 +594,7 @@ export interface ResaleAuthorizationAvailabilityEndDateFilterDateRange { AfterValue?: string; BeforeValue?: string; } -export type ResaleAuthorizationAvailabilityEndDateFilterValueList = - Array; +export type ResaleAuthorizationAvailabilityEndDateFilterValueList = Array; export interface ResaleAuthorizationCreatedDateFilter { DateRange?: ResaleAuthorizationCreatedDateFilterDateRange; ValueList?: Array; @@ -811,8 +636,7 @@ export interface ResaleAuthorizationManufacturerAccountIdFilter { ValueList?: Array; WildCardValue?: string; } -export type ResaleAuthorizationManufacturerAccountIdFilterValueList = - Array; +export type ResaleAuthorizationManufacturerAccountIdFilterValueList = Array; export type ResaleAuthorizationManufacturerAccountIdFilterWildcard = string; export type ResaleAuthorizationManufacturerAccountIdString = string; @@ -821,8 +645,7 @@ export interface ResaleAuthorizationManufacturerLegalNameFilter { ValueList?: Array; WildCardValue?: string; } -export type ResaleAuthorizationManufacturerLegalNameFilterValueList = - Array; +export type ResaleAuthorizationManufacturerLegalNameFilterValueList = Array; export type ResaleAuthorizationManufacturerLegalNameFilterWildcard = string; export type ResaleAuthorizationManufacturerLegalNameString = string; @@ -839,8 +662,7 @@ export type ResaleAuthorizationNameString = string; export interface ResaleAuthorizationOfferExtendedStatusFilter { ValueList?: Array; } -export type ResaleAuthorizationOfferExtendedStatusFilterValueList = - Array; +export type ResaleAuthorizationOfferExtendedStatusFilterValueList = Array; export type ResaleAuthorizationOfferExtendedStatusString = string; export interface ResaleAuthorizationProductIdFilter { @@ -883,25 +705,11 @@ export interface ResaleAuthorizationSort { SortBy?: ResaleAuthorizationSortBy; SortOrder?: SortOrder; } -export type ResaleAuthorizationSortBy = - | "EntityId" - | "Name" - | "ProductId" - | "ProductName" - | "ManufacturerAccountId" - | "ManufacturerLegalName" - | "ResellerAccountID" - | "ResellerLegalName" - | "Status" - | "OfferExtendedStatus" - | "CreatedDate" - | "AvailabilityEndDate" - | "LastModifiedDate"; +export type ResaleAuthorizationSortBy = "EntityId" | "Name" | "ProductId" | "ProductName" | "ManufacturerAccountId" | "ManufacturerLegalName" | "ResellerAccountID" | "ResellerLegalName" | "Status" | "OfferExtendedStatus" | "CreatedDate" | "AvailabilityEndDate" | "LastModifiedDate"; export interface ResaleAuthorizationStatusFilter { ValueList?: Array; } -export type ResaleAuthorizationStatusFilterValueList = - Array; +export type ResaleAuthorizationStatusFilterValueList = Array; export type ResaleAuthorizationStatusString = "Draft" | "Active" | "Restricted"; export interface ResaleAuthorizationSummary { Name?: string; @@ -961,12 +769,7 @@ export interface SaaSProductSort { SortBy?: SaaSProductSortBy; SortOrder?: SortOrder; } -export type SaaSProductSortBy = - | "EntityId" - | "ProductTitle" - | "Visibility" - | "LastModifiedDate" - | "DeliveryOptionTypes"; +export type SaaSProductSortBy = "EntityId" | "ProductTitle" | "Visibility" | "LastModifiedDate" | "DeliveryOptionTypes"; export interface SaaSProductSummary { ProductTitle?: string; Visibility?: SaaSProductVisibilityString; @@ -981,13 +784,8 @@ export type SaaSProductTitleString = string; export interface SaaSProductVisibilityFilter { ValueList?: Array; } -export type SaaSProductVisibilityFilterValueList = - Array; -export type SaaSProductVisibilityString = - | "Limited" - | "Public" - | "Restricted" - | "Draft"; +export type SaaSProductVisibilityFilterValueList = Array; +export type SaaSProductVisibilityString = "Limited" | "Public" | "Restricted" | "Draft"; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", )<{ @@ -1024,7 +822,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1036,7 +835,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -1203,13 +1003,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type MarketplaceCatalogErrors = - | AccessDeniedException - | InternalServiceException - | ResourceInUseException - | ResourceNotFoundException - | ResourceNotSupportedException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type MarketplaceCatalogErrors = AccessDeniedException | InternalServiceException | ResourceInUseException | ResourceNotFoundException | ResourceNotSupportedException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/marketplace-commerce-analytics/index.ts b/src/services/marketplace-commerce-analytics/index.ts index 7dbfe446..afc164de 100644 --- a/src/services/marketplace-commerce-analytics/index.ts +++ b/src/services/marketplace-commerce-analytics/index.ts @@ -5,26 +5,7 @@ import type { MarketplaceCommerceAnalytics as _MarketplaceCommerceAnalyticsClien export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -37,8 +18,7 @@ const metadata = { } as const satisfies ServiceMetadata; export type _MarketplaceCommerceAnalytics = _MarketplaceCommerceAnalyticsClient; -export interface MarketplaceCommerceAnalytics - extends _MarketplaceCommerceAnalytics {} +export interface MarketplaceCommerceAnalytics extends _MarketplaceCommerceAnalytics {} export const MarketplaceCommerceAnalytics = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/marketplace-commerce-analytics/types.ts b/src/services/marketplace-commerce-analytics/types.ts index af1c480f..0bdcd609 100644 --- a/src/services/marketplace-commerce-analytics/types.ts +++ b/src/services/marketplace-commerce-analytics/types.ts @@ -22,32 +22,7 @@ export type DataSetPublicationDate = Date | string; export type DataSetRequestId = string; -export type DataSetType = - | "customer_subscriber_hourly_monthly_subscriptions" - | "customer_subscriber_annual_subscriptions" - | "daily_business_usage_by_instance_type" - | "daily_business_fees" - | "daily_business_free_trial_conversions" - | "daily_business_new_instances" - | "daily_business_new_product_subscribers" - | "daily_business_canceled_product_subscribers" - | "monthly_revenue_billing_and_revenue_data" - | "monthly_revenue_annual_subscriptions" - | "monthly_revenue_field_demonstration_usage" - | "monthly_revenue_flexible_payment_schedule" - | "disbursed_amount_by_product" - | "disbursed_amount_by_product_with_uncollected_funds" - | "disbursed_amount_by_instance_hours" - | "disbursed_amount_by_customer_geo" - | "disbursed_amount_by_age_of_uncollected_funds" - | "disbursed_amount_by_age_of_disbursed_funds" - | "disbursed_amount_by_age_of_past_due_funds" - | "disbursed_amount_by_uncollected_funds_breakdown" - | "customer_profile_by_industry" - | "customer_profile_by_revenue" - | "customer_profile_by_geography" - | "sales_compensation_billed_revenue" - | "us_sales_and_use_tax_records"; +export type DataSetType = "customer_subscriber_hourly_monthly_subscriptions" | "customer_subscriber_annual_subscriptions" | "daily_business_usage_by_instance_type" | "daily_business_fees" | "daily_business_free_trial_conversions" | "daily_business_new_instances" | "daily_business_new_product_subscribers" | "daily_business_canceled_product_subscribers" | "monthly_revenue_billing_and_revenue_data" | "monthly_revenue_annual_subscriptions" | "monthly_revenue_field_demonstration_usage" | "monthly_revenue_flexible_payment_schedule" | "disbursed_amount_by_product" | "disbursed_amount_by_product_with_uncollected_funds" | "disbursed_amount_by_instance_hours" | "disbursed_amount_by_customer_geo" | "disbursed_amount_by_age_of_uncollected_funds" | "disbursed_amount_by_age_of_disbursed_funds" | "disbursed_amount_by_age_of_past_due_funds" | "disbursed_amount_by_uncollected_funds_breakdown" | "customer_profile_by_industry" | "customer_profile_by_revenue" | "customer_profile_by_geography" | "sales_compensation_billed_revenue" | "us_sales_and_use_tax_records"; export type DestinationS3BucketName = string; export type DestinationS3Prefix = string; @@ -93,21 +68,22 @@ export interface StartSupportDataExportRequest { export interface StartSupportDataExportResult { dataSetRequestId?: string; } -export type SupportDataSetType = - | "customer_support_contacts_data" - | "test_customer_support_contacts_data"; +export type SupportDataSetType = "customer_support_contacts_data" | "test_customer_support_contacts_data"; export declare namespace GenerateDataSet { export type Input = GenerateDataSetRequest; export type Output = GenerateDataSetResult; - export type Error = MarketplaceCommerceAnalyticsException | CommonAwsError; + export type Error = + | MarketplaceCommerceAnalyticsException + | CommonAwsError; } export declare namespace StartSupportDataExport { export type Input = StartSupportDataExportRequest; export type Output = StartSupportDataExportResult; - export type Error = MarketplaceCommerceAnalyticsException | CommonAwsError; + export type Error = + | MarketplaceCommerceAnalyticsException + | CommonAwsError; } -export type MarketplaceCommerceAnalyticsErrors = - | MarketplaceCommerceAnalyticsException - | CommonAwsError; +export type MarketplaceCommerceAnalyticsErrors = MarketplaceCommerceAnalyticsException | CommonAwsError; + diff --git a/src/services/marketplace-deployment/index.ts b/src/services/marketplace-deployment/index.ts index ab28cb36..75d623f3 100644 --- a/src/services/marketplace-deployment/index.ts +++ b/src/services/marketplace-deployment/index.ts @@ -5,23 +5,7 @@ import type { MarketplaceDeployment as _MarketplaceDeploymentClient } from "./ty export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,11 +15,14 @@ const metadata = { sigV4ServiceName: "aws-marketplace", endpointPrefix: "deployment-marketplace", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - PutDeploymentParameter: - "POST /catalogs/{catalog}/products/{productId}/deployment-parameters", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "PutDeploymentParameter": "POST /catalogs/{catalog}/products/{productId}/deployment-parameters", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/marketplace-deployment/types.ts b/src/services/marketplace-deployment/types.ts index 091421e5..64b0658b 100644 --- a/src/services/marketplace-deployment/types.ts +++ b/src/services/marketplace-deployment/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MarketplaceDeployment extends AWSServiceClient { @@ -40,49 +8,25 @@ export declare class MarketplaceDeployment extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putDeploymentParameter( input: PutDeploymentParameterRequest, ): Effect.Effect< PutDeploymentParameterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -158,7 +102,8 @@ export interface TagResourceRequest { resourceArn: string; tags?: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagsMap = Record; export type TagValue = string; @@ -172,7 +117,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -231,12 +177,5 @@ export declare namespace PutDeploymentParameter { | CommonAwsError; } -export type MarketplaceDeploymentErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type MarketplaceDeploymentErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/marketplace-entitlement-service/index.ts b/src/services/marketplace-entitlement-service/index.ts index 8b6e9e0c..51bbb805 100644 --- a/src/services/marketplace-entitlement-service/index.ts +++ b/src/services/marketplace-entitlement-service/index.ts @@ -5,25 +5,7 @@ import type { MarketplaceEntitlementService as _MarketplaceEntitlementServiceCli export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -35,10 +17,8 @@ const metadata = { targetPrefix: "AWSMPEntitlementService", } as const satisfies ServiceMetadata; -export type _MarketplaceEntitlementService = - _MarketplaceEntitlementServiceClient; -export interface MarketplaceEntitlementService - extends _MarketplaceEntitlementService {} +export type _MarketplaceEntitlementService = _MarketplaceEntitlementServiceClient; +export interface MarketplaceEntitlementService extends _MarketplaceEntitlementService {} export const MarketplaceEntitlementService = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/marketplace-entitlement-service/types.ts b/src/services/marketplace-entitlement-service/types.ts index 0e50f07e..8234f0b7 100644 --- a/src/services/marketplace-entitlement-service/types.ts +++ b/src/services/marketplace-entitlement-service/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class MarketplaceEntitlementService extends AWSServiceClient { @@ -42,10 +8,7 @@ export declare class MarketplaceEntitlementService extends AWSServiceClient { input: GetEntitlementsRequest, ): Effect.Effect< GetEntitlementsResult, - | InternalServiceErrorException - | InvalidParameterException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | ThrottlingException | CommonAwsError >; } @@ -73,14 +36,8 @@ export type ErrorMessage = string; export type FilterValue = string; export type FilterValueList = Array; -export type GetEntitlementFilterName = - | "CUSTOMER_IDENTIFIER" - | "DIMENSION" - | "CUSTOMER_AWS_ACCOUNT_ID"; -export type GetEntitlementFilters = Record< - GetEntitlementFilterName, - Array ->; +export type GetEntitlementFilterName = "CUSTOMER_IDENTIFIER" | "DIMENSION" | "CUSTOMER_AWS_ACCOUNT_ID"; +export type GetEntitlementFilters = Record>; export interface GetEntitlementsRequest { ProductCode: string; Filter?: { [key in GetEntitlementFilterName]?: string }; @@ -128,8 +85,5 @@ export declare namespace GetEntitlements { | CommonAwsError; } -export type MarketplaceEntitlementServiceErrors = - | InternalServiceErrorException - | InvalidParameterException - | ThrottlingException - | CommonAwsError; +export type MarketplaceEntitlementServiceErrors = InternalServiceErrorException | InvalidParameterException | ThrottlingException | CommonAwsError; + diff --git a/src/services/marketplace-metering/index.ts b/src/services/marketplace-metering/index.ts index abbcd3d5..f71c2225 100644 --- a/src/services/marketplace-metering/index.ts +++ b/src/services/marketplace-metering/index.ts @@ -5,24 +5,7 @@ import type { MarketplaceMetering as _MarketplaceMeteringClient } from "./types. export * from "./types.ts"; -export { - AccessDeniedException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/marketplace-metering/types.ts b/src/services/marketplace-metering/types.ts index 11bd7d42..b384451d 100644 --- a/src/services/marketplace-metering/types.ts +++ b/src/services/marketplace-metering/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ExpiredTokenException - | ThrottlingException; +import type { AccessDeniedException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ExpiredTokenException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class MarketplaceMetering extends AWSServiceClient { @@ -41,58 +8,25 @@ export declare class MarketplaceMetering extends AWSServiceClient { input: BatchMeterUsageRequest, ): Effect.Effect< BatchMeterUsageResult, - | DisabledApiException - | InternalServiceErrorException - | InvalidCustomerIdentifierException - | InvalidProductCodeException - | InvalidTagException - | InvalidUsageAllocationsException - | InvalidUsageDimensionException - | ThrottlingException - | TimestampOutOfBoundsException - | CommonAwsError + DisabledApiException | InternalServiceErrorException | InvalidCustomerIdentifierException | InvalidProductCodeException | InvalidTagException | InvalidUsageAllocationsException | InvalidUsageDimensionException | ThrottlingException | TimestampOutOfBoundsException | CommonAwsError >; meterUsage( input: MeterUsageRequest, ): Effect.Effect< MeterUsageResult, - | CustomerNotEntitledException - | DuplicateRequestException - | IdempotencyConflictException - | InternalServiceErrorException - | InvalidEndpointRegionException - | InvalidProductCodeException - | InvalidTagException - | InvalidUsageAllocationsException - | InvalidUsageDimensionException - | ThrottlingException - | TimestampOutOfBoundsException - | CommonAwsError + CustomerNotEntitledException | DuplicateRequestException | IdempotencyConflictException | InternalServiceErrorException | InvalidEndpointRegionException | InvalidProductCodeException | InvalidTagException | InvalidUsageAllocationsException | InvalidUsageDimensionException | ThrottlingException | TimestampOutOfBoundsException | CommonAwsError >; registerUsage( input: RegisterUsageRequest, ): Effect.Effect< RegisterUsageResult, - | CustomerNotEntitledException - | DisabledApiException - | InternalServiceErrorException - | InvalidProductCodeException - | InvalidPublicKeyVersionException - | InvalidRegionException - | PlatformNotSupportedException - | ThrottlingException - | CommonAwsError + CustomerNotEntitledException | DisabledApiException | InternalServiceErrorException | InvalidProductCodeException | InvalidPublicKeyVersionException | InvalidRegionException | PlatformNotSupportedException | ThrottlingException | CommonAwsError >; resolveCustomer( input: ResolveCustomerRequest, ): Effect.Effect< ResolveCustomerResult, - | DisabledApiException - | ExpiredTokenException - | InternalServiceErrorException - | InvalidTokenException - | ThrottlingException - | CommonAwsError + DisabledApiException | ExpiredTokenException | InternalServiceErrorException | InvalidTokenException | ThrottlingException | CommonAwsError >; } @@ -278,10 +212,7 @@ export interface UsageRecordResult { Status?: UsageRecordResultStatus; } export type UsageRecordResultList = Array; -export type UsageRecordResultStatus = - | "Success" - | "CustomerNotSubscribed" - | "DuplicateRecord"; +export type UsageRecordResultStatus = "Success" | "CustomerNotSubscribed" | "DuplicateRecord"; export type VersionInteger = number; export declare namespace BatchMeterUsage { @@ -345,23 +276,5 @@ export declare namespace ResolveCustomer { | CommonAwsError; } -export type MarketplaceMeteringErrors = - | CustomerNotEntitledException - | DisabledApiException - | DuplicateRequestException - | ExpiredTokenException - | IdempotencyConflictException - | InternalServiceErrorException - | InvalidCustomerIdentifierException - | InvalidEndpointRegionException - | InvalidProductCodeException - | InvalidPublicKeyVersionException - | InvalidRegionException - | InvalidTagException - | InvalidTokenException - | InvalidUsageAllocationsException - | InvalidUsageDimensionException - | PlatformNotSupportedException - | ThrottlingException - | TimestampOutOfBoundsException - | CommonAwsError; +export type MarketplaceMeteringErrors = CustomerNotEntitledException | DisabledApiException | DuplicateRequestException | ExpiredTokenException | IdempotencyConflictException | InternalServiceErrorException | InvalidCustomerIdentifierException | InvalidEndpointRegionException | InvalidProductCodeException | InvalidPublicKeyVersionException | InvalidRegionException | InvalidTagException | InvalidTokenException | InvalidUsageAllocationsException | InvalidUsageDimensionException | PlatformNotSupportedException | ThrottlingException | TimestampOutOfBoundsException | CommonAwsError; + diff --git a/src/services/marketplace-reporting/index.ts b/src/services/marketplace-reporting/index.ts index d4a47b55..e517843f 100644 --- a/src/services/marketplace-reporting/index.ts +++ b/src/services/marketplace-reporting/index.ts @@ -5,25 +5,7 @@ import type { MarketplaceReporting as _MarketplaceReportingClient } from "./type export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,7 +15,7 @@ const metadata = { sigV4ServiceName: "aws-marketplace", endpointPrefix: "reporting-marketplace", operations: { - GetBuyerDashboard: "POST /getBuyerDashboard", + "GetBuyerDashboard": "POST /getBuyerDashboard", }, } as const satisfies ServiceMetadata; diff --git a/src/services/marketplace-reporting/types.ts b/src/services/marketplace-reporting/types.ts index adb4f032..95704b56 100644 --- a/src/services/marketplace-reporting/types.ts +++ b/src/services/marketplace-reporting/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class MarketplaceReporting extends AWSServiceClient { @@ -42,11 +8,7 @@ export declare class MarketplaceReporting extends AWSServiceClient { input: GetBuyerDashboardInput, ): Effect.Effect< GetBuyerDashboardOutput, - | AccessDeniedException - | BadRequestException - | InternalServerException - | UnauthorizedException - | CommonAwsError + AccessDeniedException | BadRequestException | InternalServerException | UnauthorizedException | CommonAwsError >; } @@ -95,9 +57,5 @@ export declare namespace GetBuyerDashboard { | CommonAwsError; } -export type MarketplaceReportingErrors = - | AccessDeniedException - | BadRequestException - | InternalServerException - | UnauthorizedException - | CommonAwsError; +export type MarketplaceReportingErrors = AccessDeniedException | BadRequestException | InternalServerException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/mediaconnect/index.ts b/src/services/mediaconnect/index.ts index 703f80b5..da6711fa 100644 --- a/src/services/mediaconnect/index.ts +++ b/src/services/mediaconnect/index.ts @@ -5,26 +5,7 @@ import type { MediaConnect as _MediaConnectClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,64 +14,64 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "mediaconnect", operations: { - ListEntitlements: "GET /v1/entitlements", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - AddBridgeOutputs: "POST /v1/bridges/{BridgeArn}/outputs", - AddBridgeSources: "POST /v1/bridges/{BridgeArn}/sources", - AddFlowMediaStreams: "POST /v1/flows/{FlowArn}/mediaStreams", - AddFlowOutputs: "POST /v1/flows/{FlowArn}/outputs", - AddFlowSources: "POST /v1/flows/{FlowArn}/source", - AddFlowVpcInterfaces: "POST /v1/flows/{FlowArn}/vpcInterfaces", - CreateBridge: "POST /v1/bridges", - CreateFlow: "POST /v1/flows", - CreateGateway: "POST /v1/gateways", - DeleteBridge: "DELETE /v1/bridges/{BridgeArn}", - DeleteFlow: "DELETE /v1/flows/{FlowArn}", - DeleteGateway: "DELETE /v1/gateways/{GatewayArn}", - DeregisterGatewayInstance: - "DELETE /v1/gateway-instances/{GatewayInstanceArn}", - DescribeBridge: "GET /v1/bridges/{BridgeArn}", - DescribeFlow: "GET /v1/flows/{FlowArn}", - DescribeFlowSourceMetadata: "GET /v1/flows/{FlowArn}/source-metadata", - DescribeFlowSourceThumbnail: "GET /v1/flows/{FlowArn}/source-thumbnail", - DescribeGateway: "GET /v1/gateways/{GatewayArn}", - DescribeGatewayInstance: "GET /v1/gateway-instances/{GatewayInstanceArn}", - DescribeOffering: "GET /v1/offerings/{OfferingArn}", - DescribeReservation: "GET /v1/reservations/{ReservationArn}", - GrantFlowEntitlements: "POST /v1/flows/{FlowArn}/entitlements", - ListBridges: "GET /v1/bridges", - ListFlows: "GET /v1/flows", - ListGatewayInstances: "GET /v1/gateway-instances", - ListGateways: "GET /v1/gateways", - ListOfferings: "GET /v1/offerings", - ListReservations: "GET /v1/reservations", - PurchaseOffering: "POST /v1/offerings/{OfferingArn}", - RemoveBridgeOutput: "DELETE /v1/bridges/{BridgeArn}/outputs/{OutputName}", - RemoveBridgeSource: "DELETE /v1/bridges/{BridgeArn}/sources/{SourceName}", - RemoveFlowMediaStream: - "DELETE /v1/flows/{FlowArn}/mediaStreams/{MediaStreamName}", - RemoveFlowOutput: "DELETE /v1/flows/{FlowArn}/outputs/{OutputArn}", - RemoveFlowSource: "DELETE /v1/flows/{FlowArn}/source/{SourceArn}", - RemoveFlowVpcInterface: - "DELETE /v1/flows/{FlowArn}/vpcInterfaces/{VpcInterfaceName}", - RevokeFlowEntitlement: - "DELETE /v1/flows/{FlowArn}/entitlements/{EntitlementArn}", - StartFlow: "POST /v1/flows/start/{FlowArn}", - StopFlow: "POST /v1/flows/stop/{FlowArn}", - UpdateBridge: "PUT /v1/bridges/{BridgeArn}", - UpdateBridgeOutput: "PUT /v1/bridges/{BridgeArn}/outputs/{OutputName}", - UpdateBridgeSource: "PUT /v1/bridges/{BridgeArn}/sources/{SourceName}", - UpdateBridgeState: "PUT /v1/bridges/{BridgeArn}/state", - UpdateFlow: "PUT /v1/flows/{FlowArn}", - UpdateFlowEntitlement: - "PUT /v1/flows/{FlowArn}/entitlements/{EntitlementArn}", - UpdateFlowMediaStream: - "PUT /v1/flows/{FlowArn}/mediaStreams/{MediaStreamName}", - UpdateFlowOutput: "PUT /v1/flows/{FlowArn}/outputs/{OutputArn}", - UpdateFlowSource: "PUT /v1/flows/{FlowArn}/source/{SourceArn}", - UpdateGatewayInstance: "PUT /v1/gateway-instances/{GatewayInstanceArn}", + "ListEntitlements": "GET /v1/entitlements", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "AddBridgeOutputs": "POST /v1/bridges/{BridgeArn}/outputs", + "AddBridgeSources": "POST /v1/bridges/{BridgeArn}/sources", + "AddFlowMediaStreams": "POST /v1/flows/{FlowArn}/mediaStreams", + "AddFlowOutputs": "POST /v1/flows/{FlowArn}/outputs", + "AddFlowSources": "POST /v1/flows/{FlowArn}/source", + "AddFlowVpcInterfaces": "POST /v1/flows/{FlowArn}/vpcInterfaces", + "CreateBridge": "POST /v1/bridges", + "CreateFlow": "POST /v1/flows", + "CreateGateway": "POST /v1/gateways", + "DeleteBridge": "DELETE /v1/bridges/{BridgeArn}", + "DeleteFlow": "DELETE /v1/flows/{FlowArn}", + "DeleteGateway": "DELETE /v1/gateways/{GatewayArn}", + "DeregisterGatewayInstance": "DELETE /v1/gateway-instances/{GatewayInstanceArn}", + "DescribeBridge": "GET /v1/bridges/{BridgeArn}", + "DescribeFlow": "GET /v1/flows/{FlowArn}", + "DescribeFlowSourceMetadata": "GET /v1/flows/{FlowArn}/source-metadata", + "DescribeFlowSourceThumbnail": "GET /v1/flows/{FlowArn}/source-thumbnail", + "DescribeGateway": "GET /v1/gateways/{GatewayArn}", + "DescribeGatewayInstance": "GET /v1/gateway-instances/{GatewayInstanceArn}", + "DescribeOffering": "GET /v1/offerings/{OfferingArn}", + "DescribeReservation": "GET /v1/reservations/{ReservationArn}", + "GrantFlowEntitlements": "POST /v1/flows/{FlowArn}/entitlements", + "ListBridges": "GET /v1/bridges", + "ListFlows": "GET /v1/flows", + "ListGatewayInstances": "GET /v1/gateway-instances", + "ListGateways": "GET /v1/gateways", + "ListOfferings": "GET /v1/offerings", + "ListReservations": "GET /v1/reservations", + "PurchaseOffering": "POST /v1/offerings/{OfferingArn}", + "RemoveBridgeOutput": "DELETE /v1/bridges/{BridgeArn}/outputs/{OutputName}", + "RemoveBridgeSource": "DELETE /v1/bridges/{BridgeArn}/sources/{SourceName}", + "RemoveFlowMediaStream": "DELETE /v1/flows/{FlowArn}/mediaStreams/{MediaStreamName}", + "RemoveFlowOutput": "DELETE /v1/flows/{FlowArn}/outputs/{OutputArn}", + "RemoveFlowSource": "DELETE /v1/flows/{FlowArn}/source/{SourceArn}", + "RemoveFlowVpcInterface": "DELETE /v1/flows/{FlowArn}/vpcInterfaces/{VpcInterfaceName}", + "RevokeFlowEntitlement": "DELETE /v1/flows/{FlowArn}/entitlements/{EntitlementArn}", + "StartFlow": "POST /v1/flows/start/{FlowArn}", + "StopFlow": "POST /v1/flows/stop/{FlowArn}", + "UpdateBridge": "PUT /v1/bridges/{BridgeArn}", + "UpdateBridgeOutput": "PUT /v1/bridges/{BridgeArn}/outputs/{OutputName}", + "UpdateBridgeSource": "PUT /v1/bridges/{BridgeArn}/sources/{SourceName}", + "UpdateBridgeState": "PUT /v1/bridges/{BridgeArn}/state", + "UpdateFlow": "PUT /v1/flows/{FlowArn}", + "UpdateFlowEntitlement": "PUT /v1/flows/{FlowArn}/entitlements/{EntitlementArn}", + "UpdateFlowMediaStream": "PUT /v1/flows/{FlowArn}/mediaStreams/{MediaStreamName}", + "UpdateFlowOutput": "PUT /v1/flows/{FlowArn}/outputs/{OutputArn}", + "UpdateFlowSource": "PUT /v1/flows/{FlowArn}/source/{SourceArn}", + "UpdateGatewayInstance": "PUT /v1/gateway-instances/{GatewayInstanceArn}", + }, + retryableErrors: { + "InternalServerErrorException": {}, + "ServiceUnavailableException": {}, + "TooManyRequestsException": {}, + "ConflictException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/mediaconnect/types.ts b/src/services/mediaconnect/types.ts index ea6336f5..4a5f5634 100644 --- a/src/services/mediaconnect/types.ts +++ b/src/services/mediaconnect/types.ts @@ -7,622 +7,313 @@ export declare class MediaConnect extends AWSServiceClient { input: ListEntitlementsRequest, ): Effect.Effect< ListEntitlementsResponse, - | BadRequestException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | InternalServerErrorException | NotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | InternalServerErrorException | NotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | InternalServerErrorException | NotFoundException | CommonAwsError >; addBridgeOutputs( input: AddBridgeOutputsRequest, ): Effect.Effect< AddBridgeOutputsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; addBridgeSources( input: AddBridgeSourcesRequest, ): Effect.Effect< AddBridgeSourcesResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; addFlowMediaStreams( input: AddFlowMediaStreamsRequest, ): Effect.Effect< AddFlowMediaStreamsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; addFlowOutputs( input: AddFlowOutputsRequest, ): Effect.Effect< AddFlowOutputsResponse, - | AddFlowOutputs420Exception - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + AddFlowOutputs420Exception | BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; addFlowSources( input: AddFlowSourcesRequest, ): Effect.Effect< AddFlowSourcesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; addFlowVpcInterfaces( input: AddFlowVpcInterfacesRequest, ): Effect.Effect< AddFlowVpcInterfacesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createBridge( input: CreateBridgeRequest, ): Effect.Effect< CreateBridgeResponse, - | BadRequestException - | ConflictException - | CreateBridge420Exception - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | CreateBridge420Exception | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createFlow( input: CreateFlowRequest, ): Effect.Effect< CreateFlowResponse, - | BadRequestException - | CreateFlow420Exception - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | CreateFlow420Exception | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; createGateway( input: CreateGatewayRequest, ): Effect.Effect< CreateGatewayResponse, - | BadRequestException - | ConflictException - | CreateGateway420Exception - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | CreateGateway420Exception | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteBridge( input: DeleteBridgeRequest, ): Effect.Effect< DeleteBridgeResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteFlow( input: DeleteFlowRequest, ): Effect.Effect< DeleteFlowResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deleteGateway( input: DeleteGatewayRequest, ): Effect.Effect< DeleteGatewayResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; deregisterGatewayInstance( input: DeregisterGatewayInstanceRequest, ): Effect.Effect< DeregisterGatewayInstanceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeBridge( input: DescribeBridgeRequest, ): Effect.Effect< DescribeBridgeResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeFlow( input: DescribeFlowRequest, ): Effect.Effect< DescribeFlowResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeFlowSourceMetadata( input: DescribeFlowSourceMetadataRequest, ): Effect.Effect< DescribeFlowSourceMetadataResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeFlowSourceThumbnail( input: DescribeFlowSourceThumbnailRequest, ): Effect.Effect< DescribeFlowSourceThumbnailResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeGateway( input: DescribeGatewayRequest, ): Effect.Effect< DescribeGatewayResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeGatewayInstance( input: DescribeGatewayInstanceRequest, ): Effect.Effect< DescribeGatewayInstanceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeOffering( input: DescribeOfferingRequest, ): Effect.Effect< DescribeOfferingResponse, - | BadRequestException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; describeReservation( input: DescribeReservationRequest, ): Effect.Effect< DescribeReservationResponse, - | BadRequestException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; grantFlowEntitlements( input: GrantFlowEntitlementsRequest, ): Effect.Effect< GrantFlowEntitlementsResponse, - | BadRequestException - | ForbiddenException - | GrantFlowEntitlements420Exception - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | GrantFlowEntitlements420Exception | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listBridges( input: ListBridgesRequest, ): Effect.Effect< ListBridgesResponse, - | BadRequestException - | ConflictException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listFlows( input: ListFlowsRequest, ): Effect.Effect< ListFlowsResponse, - | BadRequestException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listGatewayInstances( input: ListGatewayInstancesRequest, ): Effect.Effect< ListGatewayInstancesResponse, - | BadRequestException - | ConflictException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listGateways( input: ListGatewaysRequest, ): Effect.Effect< ListGatewaysResponse, - | BadRequestException - | ConflictException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listOfferings( input: ListOfferingsRequest, ): Effect.Effect< ListOfferingsResponse, - | BadRequestException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; listReservations( input: ListReservationsRequest, ): Effect.Effect< ListReservationsResponse, - | BadRequestException - | InternalServerErrorException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServerErrorException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; purchaseOffering( input: PurchaseOfferingRequest, ): Effect.Effect< PurchaseOfferingResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; removeBridgeOutput( input: RemoveBridgeOutputRequest, ): Effect.Effect< RemoveBridgeOutputResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; removeBridgeSource( input: RemoveBridgeSourceRequest, ): Effect.Effect< RemoveBridgeSourceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; removeFlowMediaStream( input: RemoveFlowMediaStreamRequest, ): Effect.Effect< RemoveFlowMediaStreamResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; removeFlowOutput( input: RemoveFlowOutputRequest, ): Effect.Effect< RemoveFlowOutputResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; removeFlowSource( input: RemoveFlowSourceRequest, ): Effect.Effect< RemoveFlowSourceResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; removeFlowVpcInterface( input: RemoveFlowVpcInterfaceRequest, ): Effect.Effect< RemoveFlowVpcInterfaceResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; revokeFlowEntitlement( input: RevokeFlowEntitlementRequest, ): Effect.Effect< RevokeFlowEntitlementResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; startFlow( input: StartFlowRequest, ): Effect.Effect< StartFlowResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; stopFlow( input: StopFlowRequest, ): Effect.Effect< StopFlowResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateBridge( input: UpdateBridgeRequest, ): Effect.Effect< UpdateBridgeResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateBridgeOutput( input: UpdateBridgeOutputRequest, ): Effect.Effect< UpdateBridgeOutputResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateBridgeSource( input: UpdateBridgeSourceRequest, ): Effect.Effect< UpdateBridgeSourceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateBridgeState( input: UpdateBridgeStateRequest, ): Effect.Effect< UpdateBridgeStateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateFlow( input: UpdateFlowRequest, ): Effect.Effect< UpdateFlowResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateFlowEntitlement( input: UpdateFlowEntitlementRequest, ): Effect.Effect< UpdateFlowEntitlementResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateFlowMediaStream( input: UpdateFlowMediaStreamRequest, ): Effect.Effect< UpdateFlowMediaStreamResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateFlowOutput( input: UpdateFlowOutputRequest, ): Effect.Effect< UpdateFlowOutputResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateFlowSource( input: UpdateFlowSourceRequest, ): Effect.Effect< UpdateFlowSourceResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; updateGatewayInstance( input: UpdateGatewayInstanceRequest, ): Effect.Effect< UpdateGatewayInstanceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError >; } @@ -636,14 +327,12 @@ export type __listOfAudioMonitoringSetting = Array; export type __listOfBridgeOutput = Array; export type __listOfBridgeSource = Array; export type __listOfDestinationConfiguration = Array; -export type __listOfDestinationConfigurationRequest = - Array; +export type __listOfDestinationConfigurationRequest = Array; export type __listOfEntitlement = Array; export type __listOfGatewayNetwork = Array; export type __listOfGrantEntitlementRequest = Array; export type __listOfInputConfiguration = Array; -export type __listOfInputConfigurationRequest = - Array; +export type __listOfInputConfigurationRequest = Array; export type __listOfInteger = Array; export type __listOfListedBridge = Array; export type __listOfListedEntitlement = Array; @@ -651,14 +340,10 @@ export type __listOfListedFlow = Array; export type __listOfListedGateway = Array; export type __listOfListedGatewayInstance = Array; export type __listOfMediaStream = Array; -export type __listOfMediaStreamOutputConfiguration = - Array; -export type __listOfMediaStreamOutputConfigurationRequest = - Array; -export type __listOfMediaStreamSourceConfiguration = - Array; -export type __listOfMediaStreamSourceConfigurationRequest = - Array; +export type __listOfMediaStreamOutputConfiguration = Array; +export type __listOfMediaStreamOutputConfigurationRequest = Array; +export type __listOfMediaStreamSourceConfiguration = Array; +export type __listOfMediaStreamSourceConfigurationRequest = Array; export type __listOfMessageDetail = Array; export type __listOfNdiDiscoveryServerConfig = Array; export type __listOfOffering = Array; @@ -859,27 +544,8 @@ export interface BridgeSource { FlowSource?: BridgeFlowSource; NetworkSource?: BridgeNetworkSource; } -export type BridgeState = - | "CREATING" - | "STANDBY" - | "STARTING" - | "DEPLOYING" - | "ACTIVE" - | "STOPPING" - | "DELETING" - | "DELETED" - | "START_FAILED" - | "START_PENDING" - | "STOP_FAILED" - | "UPDATING"; -export type Colorimetry = - | "BT601" - | "BT709" - | "BT2020" - | "BT2100" - | "ST2065-1" - | "ST2065-3" - | "XYZ"; +export type BridgeState = "CREATING" | "STANDBY" | "STARTING" | "DEPLOYING" | "ACTIVE" | "STOPPING" | "DELETING" | "DELETED" | "START_FAILED" | "START_PENDING" | "STOP_FAILED" | "UPDATING"; +export type Colorimetry = "BT601" | "BT709" | "BT2020" | "BT2100" | "ST2065-1" | "ST2065-3" | "XYZ"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -1158,13 +824,7 @@ export interface GatewayNetwork { CidrBlock: string; Name: string; } -export type GatewayState = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "ERROR" - | "DELETING" - | "DELETED"; +export type GatewayState = "CREATING" | "ACTIVE" | "UPDATING" | "ERROR" | "DELETING" | "DELETED"; export interface GrantEntitlementRequest { DataTransferSubscriberFeePercent?: number; Description?: string; @@ -1201,13 +861,7 @@ export interface InputConfigurationRequest { InputPort: number; Interface: InterfaceRequest; } -export type InstanceState = - | "REGISTERING" - | "ACTIVE" - | "DEREGISTERING" - | "DEREGISTERED" - | "REGISTRATION_ERROR" - | "DEREGISTRATION_ERROR"; +export type InstanceState = "REGISTERING" | "ACTIVE" | "DEREGISTERING" | "DEREGISTERED" | "REGISTRATION_ERROR" | "DEREGISTRATION_ERROR"; export interface Interface { Name: string; } @@ -1322,14 +976,7 @@ export interface Maintenance { MaintenanceScheduledDate?: string; MaintenanceStartHour?: string; } -export type MaintenanceDay = - | "Monday" - | "Tuesday" - | "Wednesday" - | "Thursday" - | "Friday" - | "Saturday" - | "Sunday"; +export type MaintenanceDay = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday"; export type MaxResults = number; export interface MediaStream { @@ -1440,19 +1087,7 @@ export interface Output { } export type OutputStatus = "ENABLED" | "DISABLED"; export type PriceUnits = "HOURLY"; -export type Protocol = - | "zixi-push" - | "rtp-fec" - | "rtp" - | "zixi-pull" - | "rist" - | "st2110-jpegxs" - | "cdi" - | "srt-listener" - | "srt-caller" - | "fujitsu-qos" - | "udp" - | "ndi-speed-hq"; +export type Protocol = "zixi-push" | "rtp-fec" | "rtp" | "zixi-pull" | "rist" | "st2110-jpegxs" | "cdi" | "srt-listener" | "srt-caller" | "fujitsu-qos" | "udp" | "ndi-speed-hq"; export interface PurchaseOfferingRequest { OfferingArn: string; ReservationName: string; @@ -1542,10 +1177,7 @@ export interface RevokeFlowEntitlementResponse { EntitlementArn?: string; FlowArn?: string; } -export type ScanMode = - | "progressive" - | "interlace" - | "progressive-segmented-frame"; +export type ScanMode = "progressive" | "interlace" | "progressive-segmented-frame"; export declare class ServiceUnavailableException extends EffectData.TaggedError( "ServiceUnavailableException", )<{ @@ -1611,14 +1243,7 @@ export interface StartFlowResponse { Status?: Status; } export type State = "ENABLED" | "DISABLED"; -export type Status = - | "STANDBY" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "STARTING" - | "STOPPING" - | "ERROR"; +export type Status = "STANDBY" | "ACTIVE" | "UPDATING" | "DELETING" | "STARTING" | "STOPPING" | "ERROR"; export interface StopFlowRequest { FlowArn: string; } @@ -1630,16 +1255,7 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export type Tcs = - | "SDR" - | "PQ" - | "HLG" - | "LINEAR" - | "BT2100LINPQ" - | "BT2100LINHLG" - | "ST2065-1" - | "ST428-1" - | "DENSITY"; +export type Tcs = "SDR" | "PQ" | "HLG" | "LINEAR" | "BT2100LINPQ" | "BT2100LINHLG" | "ST2065-1" | "ST428-1" | "DENSITY"; export interface ThumbnailDetails { FlowArn: string; Thumbnail?: string; @@ -2573,17 +2189,5 @@ export declare namespace UpdateGatewayInstance { | CommonAwsError; } -export type MediaConnectErrors = - | AddFlowOutputs420Exception - | BadRequestException - | ConflictException - | CreateBridge420Exception - | CreateFlow420Exception - | CreateGateway420Exception - | ForbiddenException - | GrantFlowEntitlements420Exception - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | CommonAwsError; +export type MediaConnectErrors = AddFlowOutputs420Exception | BadRequestException | ConflictException | CreateBridge420Exception | CreateFlow420Exception | CreateGateway420Exception | ForbiddenException | GrantFlowEntitlements420Exception | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/mediaconvert/index.ts b/src/services/mediaconvert/index.ts index c7472fab..f5abbeba 100644 --- a/src/services/mediaconvert/index.ts +++ b/src/services/mediaconvert/index.ts @@ -5,26 +5,7 @@ import type { MediaConvert as _MediaConvertClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,40 +15,40 @@ const metadata = { sigV4ServiceName: "mediaconvert", endpointPrefix: "mediaconvert", operations: { - AssociateCertificate: "POST /2017-08-29/certificates", - CancelJob: "DELETE /2017-08-29/jobs/{Id}", - CreateJob: "POST /2017-08-29/jobs", - CreateJobTemplate: "POST /2017-08-29/jobTemplates", - CreatePreset: "POST /2017-08-29/presets", - CreateQueue: "POST /2017-08-29/queues", - CreateResourceShare: "POST /2017-08-29/resourceShares", - DeleteJobTemplate: "DELETE /2017-08-29/jobTemplates/{Name}", - DeletePolicy: "DELETE /2017-08-29/policy", - DeletePreset: "DELETE /2017-08-29/presets/{Name}", - DeleteQueue: "DELETE /2017-08-29/queues/{Name}", - DescribeEndpoints: "POST /2017-08-29/endpoints", - DisassociateCertificate: "DELETE /2017-08-29/certificates/{Arn}", - GetJob: "GET /2017-08-29/jobs/{Id}", - GetJobsQueryResults: "GET /2017-08-29/jobsQueries/{Id}", - GetJobTemplate: "GET /2017-08-29/jobTemplates/{Name}", - GetPolicy: "GET /2017-08-29/policy", - GetPreset: "GET /2017-08-29/presets/{Name}", - GetQueue: "GET /2017-08-29/queues/{Name}", - ListJobs: "GET /2017-08-29/jobs", - ListJobTemplates: "GET /2017-08-29/jobTemplates", - ListPresets: "GET /2017-08-29/presets", - ListQueues: "GET /2017-08-29/queues", - ListTagsForResource: "GET /2017-08-29/tags/{Arn}", - ListVersions: "GET /2017-08-29/versions", - Probe: "POST /2017-08-29/probe", - PutPolicy: "PUT /2017-08-29/policy", - SearchJobs: "GET /2017-08-29/search", - StartJobsQuery: "POST /2017-08-29/jobsQueries", - TagResource: "POST /2017-08-29/tags", - UntagResource: "PUT /2017-08-29/tags/{Arn}", - UpdateJobTemplate: "PUT /2017-08-29/jobTemplates/{Name}", - UpdatePreset: "PUT /2017-08-29/presets/{Name}", - UpdateQueue: "PUT /2017-08-29/queues/{Name}", + "AssociateCertificate": "POST /2017-08-29/certificates", + "CancelJob": "DELETE /2017-08-29/jobs/{Id}", + "CreateJob": "POST /2017-08-29/jobs", + "CreateJobTemplate": "POST /2017-08-29/jobTemplates", + "CreatePreset": "POST /2017-08-29/presets", + "CreateQueue": "POST /2017-08-29/queues", + "CreateResourceShare": "POST /2017-08-29/resourceShares", + "DeleteJobTemplate": "DELETE /2017-08-29/jobTemplates/{Name}", + "DeletePolicy": "DELETE /2017-08-29/policy", + "DeletePreset": "DELETE /2017-08-29/presets/{Name}", + "DeleteQueue": "DELETE /2017-08-29/queues/{Name}", + "DescribeEndpoints": "POST /2017-08-29/endpoints", + "DisassociateCertificate": "DELETE /2017-08-29/certificates/{Arn}", + "GetJob": "GET /2017-08-29/jobs/{Id}", + "GetJobsQueryResults": "GET /2017-08-29/jobsQueries/{Id}", + "GetJobTemplate": "GET /2017-08-29/jobTemplates/{Name}", + "GetPolicy": "GET /2017-08-29/policy", + "GetPreset": "GET /2017-08-29/presets/{Name}", + "GetQueue": "GET /2017-08-29/queues/{Name}", + "ListJobs": "GET /2017-08-29/jobs", + "ListJobTemplates": "GET /2017-08-29/jobTemplates", + "ListPresets": "GET /2017-08-29/presets", + "ListQueues": "GET /2017-08-29/queues", + "ListTagsForResource": "GET /2017-08-29/tags/{Arn}", + "ListVersions": "GET /2017-08-29/versions", + "Probe": "POST /2017-08-29/probe", + "PutPolicy": "PUT /2017-08-29/policy", + "SearchJobs": "GET /2017-08-29/search", + "StartJobsQuery": "POST /2017-08-29/jobsQueries", + "TagResource": "POST /2017-08-29/tags", + "UntagResource": "PUT /2017-08-29/tags/{Arn}", + "UpdateJobTemplate": "PUT /2017-08-29/jobTemplates/{Name}", + "UpdatePreset": "PUT /2017-08-29/presets/{Name}", + "UpdateQueue": "PUT /2017-08-29/queues/{Name}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/mediaconvert/types.ts b/src/services/mediaconvert/types.ts index 1d9a1742..f6a307e1 100644 --- a/src/services/mediaconvert/types.ts +++ b/src/services/mediaconvert/types.ts @@ -7,443 +7,205 @@ export declare class MediaConvert extends AWSServiceClient { input: AssociateCertificateRequest, ): Effect.Effect< AssociateCertificateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; cancelJob( input: CancelJobRequest, ): Effect.Effect< CancelJobResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; createJob( input: CreateJobRequest, ): Effect.Effect< CreateJobResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; createJobTemplate( input: CreateJobTemplateRequest, ): Effect.Effect< CreateJobTemplateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; createPreset( input: CreatePresetRequest, ): Effect.Effect< CreatePresetResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; createQueue( input: CreateQueueRequest, ): Effect.Effect< CreateQueueResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; createResourceShare( input: CreateResourceShareRequest, ): Effect.Effect< CreateResourceShareResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; deleteJobTemplate( input: DeleteJobTemplateRequest, ): Effect.Effect< DeleteJobTemplateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; deletePolicy( input: DeletePolicyRequest, ): Effect.Effect< DeletePolicyResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; deletePreset( input: DeletePresetRequest, ): Effect.Effect< DeletePresetResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; deleteQueue( input: DeleteQueueRequest, ): Effect.Effect< DeleteQueueResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; describeEndpoints( input: DescribeEndpointsRequest, ): Effect.Effect< DescribeEndpointsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; disassociateCertificate( input: DisassociateCertificateRequest, ): Effect.Effect< DisassociateCertificateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; getJob( input: GetJobRequest, ): Effect.Effect< GetJobResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; getJobsQueryResults( input: GetJobsQueryResultsRequest, ): Effect.Effect< GetJobsQueryResultsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; getJobTemplate( input: GetJobTemplateRequest, ): Effect.Effect< GetJobTemplateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; getPolicy( input: GetPolicyRequest, ): Effect.Effect< GetPolicyResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; getPreset( input: GetPresetRequest, ): Effect.Effect< GetPresetResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; getQueue( input: GetQueueRequest, ): Effect.Effect< GetQueueResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; listJobs( input: ListJobsRequest, ): Effect.Effect< ListJobsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; listJobTemplates( input: ListJobTemplatesRequest, ): Effect.Effect< ListJobTemplatesResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; listPresets( input: ListPresetsRequest, ): Effect.Effect< ListPresetsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; listQueues( input: ListQueuesRequest, ): Effect.Effect< ListQueuesResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; listVersions( input: ListVersionsRequest, ): Effect.Effect< ListVersionsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; probe( input: ProbeRequest, ): Effect.Effect< ProbeResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; putPolicy( input: PutPolicyRequest, ): Effect.Effect< PutPolicyResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; searchJobs( input: SearchJobsRequest, ): Effect.Effect< SearchJobsResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; startJobsQuery( input: StartJobsQueryRequest, ): Effect.Effect< StartJobsQueryResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; updateJobTemplate( input: UpdateJobTemplateRequest, ): Effect.Effect< UpdateJobTemplateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; updatePreset( input: UpdatePresetRequest, ): Effect.Effect< UpdatePresetResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; updateQueue( input: UpdateQueueRequest, ): Effect.Effect< UpdateQueueResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError >; } @@ -691,10 +453,8 @@ export type __listOf__integerMinNegative60Max6 = Array; export type __listOf__string = Array; export type __listOf__stringMax100 = Array; export type __listOf__stringMin1 = Array; -export type __listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = - Array; -export type __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = - Array; +export type __listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = Array; +export type __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = Array; export type __listOf__stringPatternS3ASSETMAPXml = Array; export type __listOfAllowedRenditionSize = Array; export type __listOfAudioChannelTag = Array; @@ -703,17 +463,14 @@ export type __listOfAutomatedAbrRule = Array; export type __listOfCaptionDescription = Array; export type __listOfCaptionDescriptionPreset = Array; export type __listOfCmafAdditionalManifest = Array; -export type __listOfColorConversion3DLUTSetting = - Array; +export type __listOfColorConversion3DLUTSetting = Array; export type __listOfDashAdditionalManifest = Array; export type __listOfEndpoint = Array; -export type __listOfForceIncludeRenditionSize = - Array; +export type __listOfForceIncludeRenditionSize = Array; export type __listOfFrameMetricType = Array; export type __listOfHlsAdditionalManifest = Array; export type __listOfHlsAdMarkers = Array; -export type __listOfHlsCaptionLanguageMapping = - Array; +export type __listOfHlsCaptionLanguageMapping = Array; export type __listOfHopDestination = Array; export type __listOfId3Insertion = Array; export type __listOfInput = Array; @@ -724,8 +481,7 @@ export type __listOfJob = Array; export type __listOfJobEngineVersion = Array; export type __listOfJobsQueryFilter = Array; export type __listOfJobTemplate = Array; -export type __listOfMsSmoothAdditionalManifest = - Array; +export type __listOfMsSmoothAdditionalManifest = Array; export type __listOfOutput = Array; export type __listOfOutputChannelMapping = Array; export type __listOfOutputDetail = Array; @@ -741,8 +497,7 @@ export type __listOfTeletextPageType = Array; export type __listOfTrack = Array; export type __listOfTrackMapping = Array; export type __listOfVideoOverlay = Array; -export type __listOfVideoOverlayInputClipping = - Array; +export type __listOfVideoOverlayInputClipping = Array; export type __listOfVideoOverlayTransition = Array; export type __listOfWarningGroup = Array; export type __long = number; @@ -772,15 +527,13 @@ export type __stringMin11Max11Pattern01D20305D205D = string; export type __stringMin14PatternS3BmpBMPPngPNGHttpsBmpBMPPngPNG = string; -export type __stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA = - string; +export type __stringMin14PatternS3BmpBMPPngPNGTgaTGAHttpsBmpBMPPngPNGTgaTGA = string; export type __stringMin14PatternS3CubeCUBEHttpsCubeCUBE = string; export type __stringMin14PatternS3Mov09PngHttpsMov09Png = string; -export type __stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT = - string; +export type __stringMin14PatternS3SccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTTHttpsSccSCCTtmlTTMLDfxpDFXPStlSTLSrtSRTXmlXMLSmiSMIVttVTTWebvttWEBVTT = string; export type __stringMin14PatternS3XmlXMLHttpsXmlXML = string; @@ -790,8 +543,7 @@ export type __stringMin1Max100000 = string; export type __stringMin1Max20 = string; -export type __stringMin1Max2048PatternArnAZSecretsmanagerWD12SecretAZAZ09 = - string; +export type __stringMin1Max2048PatternArnAZSecretsmanagerWD12SecretAZAZ09 = string; export type __stringMin1Max256 = string; @@ -799,15 +551,13 @@ export type __stringMin1Max50 = string; export type __stringMin1Max50PatternAZAZ09 = string; -export type __stringMin1PatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912MrkAFAF0932 = - string; +export type __stringMin1PatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912MrkAFAF0932 = string; export type __stringMin24Max512PatternAZaZ0902 = string; export type __stringMin32Max32Pattern09aFAF32 = string; -export type __stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = - string; +export type __stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = string; export type __stringMin3Max3Pattern1809aFAF09aEAE = string; @@ -815,8 +565,7 @@ export type __stringMin3Max3PatternAZaZ3 = string; export type __stringMin6Max8Pattern09aFAF609aFAF2 = string; -export type __stringMin9Max19PatternAZ26EastWestCentralNorthSouthEastWest1912 = - string; +export type __stringMin9Max19PatternAZ26EastWestCentralNorthSouthEastWest1912 = string; export type __stringPattern = string; @@ -834,13 +583,11 @@ export type __stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12 = string; export type __stringPattern0xAFaF0908190908 = string; -export type __stringPatternArnAwsAZ09EventsAZ090912ConnectionAZAZ09AF0936 = - string; +export type __stringPatternArnAwsAZ09EventsAZ090912ConnectionAZAZ09AF0936 = string; export type __stringPatternArnAwsUsGovAcm = string; -export type __stringPatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912MrkAFAF0932 = - string; +export type __stringPatternArnAwsUsGovCnKmsAZ26EastWestCentralNorthSouthEastWest1912D12KeyAFAF098AFAF094AFAF094AFAF094AFAF0912MrkAFAF0932 = string; export type __stringPatternAZaZ0902 = string; @@ -878,16 +625,9 @@ export type __stringPatternWS = string; export type __timestampUnix = Date | string; -export type AacAudioDescriptionBroadcasterMix = - | "BROADCASTER_MIXED_AD" - | "NORMAL"; +export type AacAudioDescriptionBroadcasterMix = "BROADCASTER_MIXED_AD" | "NORMAL"; export type AacCodecProfile = "LC" | "HEV1" | "HEV2" | "XHE"; -export type AacCodingMode = - | "AD_RECEIVER_MIX" - | "CODING_MODE_1_0" - | "CODING_MODE_1_1" - | "CODING_MODE_2_0" - | "CODING_MODE_5_1"; +export type AacCodingMode = "AD_RECEIVER_MIX" | "CODING_MODE_1_0" | "CODING_MODE_1_1" | "CODING_MODE_2_0" | "CODING_MODE_5_1"; export type AacLoudnessMeasurementMode = "PROGRAM" | "ANCHOR"; export type AacRateControlMode = "CBR" | "VBR"; export type AacRawFormat = "LATM_LOAS" | "NONE"; @@ -907,35 +647,11 @@ export interface AacSettings { } export type AacSpecification = "MPEG2" | "MPEG4"; export type AacVbrQuality = "LOW" | "MEDIUM_LOW" | "MEDIUM_HIGH" | "HIGH"; -export type Ac3BitstreamMode = - | "COMPLETE_MAIN" - | "COMMENTARY" - | "DIALOGUE" - | "EMERGENCY" - | "HEARING_IMPAIRED" - | "MUSIC_AND_EFFECTS" - | "VISUALLY_IMPAIRED" - | "VOICE_OVER"; -export type Ac3CodingMode = - | "CODING_MODE_1_0" - | "CODING_MODE_1_1" - | "CODING_MODE_2_0" - | "CODING_MODE_3_2_LFE"; -export type Ac3DynamicRangeCompressionLine = - | "FILM_STANDARD" - | "FILM_LIGHT" - | "MUSIC_STANDARD" - | "MUSIC_LIGHT" - | "SPEECH" - | "NONE"; +export type Ac3BitstreamMode = "COMPLETE_MAIN" | "COMMENTARY" | "DIALOGUE" | "EMERGENCY" | "HEARING_IMPAIRED" | "MUSIC_AND_EFFECTS" | "VISUALLY_IMPAIRED" | "VOICE_OVER"; +export type Ac3CodingMode = "CODING_MODE_1_0" | "CODING_MODE_1_1" | "CODING_MODE_2_0" | "CODING_MODE_3_2_LFE"; +export type Ac3DynamicRangeCompressionLine = "FILM_STANDARD" | "FILM_LIGHT" | "MUSIC_STANDARD" | "MUSIC_LIGHT" | "SPEECH" | "NONE"; export type Ac3DynamicRangeCompressionProfile = "FILM_STANDARD" | "NONE"; -export type Ac3DynamicRangeCompressionRf = - | "FILM_STANDARD" - | "FILM_LIGHT" - | "MUSIC_STANDARD" - | "MUSIC_LIGHT" - | "SPEECH" - | "NONE"; +export type Ac3DynamicRangeCompressionRf = "FILM_STANDARD" | "FILM_LIGHT" | "MUSIC_STANDARD" | "MUSIC_LIGHT" | "SPEECH" | "NONE"; export type Ac3LfeFilter = "ENABLED" | "DISABLED"; export type Ac3MetadataControl = "FOLLOW_INPUT" | "USE_CONFIGURED"; export interface Ac3Settings { @@ -954,11 +670,7 @@ export type AccelerationMode = "DISABLED" | "ENABLED" | "PREFERRED"; export interface AccelerationSettings { Mode: AccelerationMode; } -export type AccelerationStatus = - | "NOT_APPLICABLE" - | "IN_PROGRESS" - | "ACCELERATED" - | "NOT_ACCELERATED"; +export type AccelerationStatus = "NOT_APPLICABLE" | "IN_PROGRESS" | "ACCELERATED" | "NOT_ACCELERATED"; export type AdvancedInputFilter = "ENABLED" | "DISABLED"; export type AdvancedInputFilterAddTexture = "ENABLED" | "DISABLED"; export interface AdvancedInputFilterSettings { @@ -989,53 +701,14 @@ export type AntiAlias = "DISABLED" | "ENABLED"; export interface AssociateCertificateRequest { Arn: string; } -export interface AssociateCertificateResponse {} -export type AudioChannelTag = - | "L" - | "R" - | "C" - | "LFE" - | "LS" - | "RS" - | "LC" - | "RC" - | "CS" - | "LSD" - | "RSD" - | "TCS" - | "VHL" - | "VHC" - | "VHR" - | "TBL" - | "TBC" - | "TBR" - | "RSL" - | "RSR" - | "LW" - | "RW" - | "LFE2" - | "LT" - | "RT" - | "HI" - | "NAR" - | "M"; +export interface AssociateCertificateResponse { +} +export type AudioChannelTag = "L" | "R" | "C" | "LFE" | "LS" | "RS" | "LC" | "RC" | "CS" | "LSD" | "RSD" | "TCS" | "VHL" | "VHC" | "VHR" | "TBL" | "TBC" | "TBR" | "RSL" | "RSR" | "LW" | "RW" | "LFE2" | "LT" | "RT" | "HI" | "NAR" | "M"; export interface AudioChannelTaggingSettings { ChannelTag?: AudioChannelTag; ChannelTags?: Array; } -export type AudioCodec = - | "AAC" - | "MP2" - | "MP3" - | "WAV" - | "AIFF" - | "AC3" - | "EAC3" - | "EAC3_ATMOS" - | "VORBIS" - | "OPUS" - | "PASSTHROUGH" - | "FLAC"; +export type AudioCodec = "AAC" | "MP2" | "MP3" | "WAV" | "AIFF" | "AC3" | "EAC3" | "EAC3_ATMOS" | "VORBIS" | "OPUS" | "PASSTHROUGH" | "FLAC"; export interface AudioCodecSettings { AacSettings?: AacSettings; Ac3Settings?: Ac3Settings; @@ -1065,21 +738,10 @@ export interface AudioDescription { RemixSettings?: RemixSettings; StreamName?: string; } -export type AudioDurationCorrection = - | "DISABLED" - | "AUTO" - | "TRACK" - | "FRAME" - | "FORCE"; +export type AudioDurationCorrection = "DISABLED" | "AUTO" | "TRACK" | "FRAME" | "FORCE"; export type AudioLanguageCodeControl = "FOLLOW_INPUT" | "USE_CONFIGURED"; -export type AudioNormalizationAlgorithm = - | "ITU_BS_1770_1" - | "ITU_BS_1770_2" - | "ITU_BS_1770_3" - | "ITU_BS_1770_4"; -export type AudioNormalizationAlgorithmControl = - | "CORRECT_AUDIO" - | "MEASURE_ONLY"; +export type AudioNormalizationAlgorithm = "ITU_BS_1770_1" | "ITU_BS_1770_2" | "ITU_BS_1770_3" | "ITU_BS_1770_4"; +export type AudioNormalizationAlgorithmControl = "CORRECT_AUDIO" | "MEASURE_ONLY"; export type AudioNormalizationLoudnessLogging = "LOG" | "DONT_LOG"; export type AudioNormalizationPeakCalculation = "TRUE_PEAK" | "NONE"; export interface AudioNormalizationSettings { @@ -1120,13 +782,7 @@ export interface AudioSelector { export interface AudioSelectorGroup { AudioSelectorNames?: Array; } -export type AudioSelectorType = - | "PID" - | "TRACK" - | "LANGUAGE_CODE" - | "HLS_RENDITION_GROUP" - | "ALL_PCM" - | "STREAM"; +export type AudioSelectorType = "PID" | "TRACK" | "LANGUAGE_CODE" | "HLS_RENDITION_GROUP" | "ALL_PCM" | "STREAM"; export type AudioTypeControl = "FOLLOW_INPUT" | "USE_CONFIGURED"; export interface AutomatedAbrRule { AllowedRenditions?: Array; @@ -1145,21 +801,11 @@ export interface AutomatedAbrSettings { export interface AutomatedEncodingSettings { AbrSettings?: AutomatedAbrSettings; } -export type Av1AdaptiveQuantization = - | "OFF" - | "LOW" - | "MEDIUM" - | "HIGH" - | "HIGHER" - | "MAX"; +export type Av1AdaptiveQuantization = "OFF" | "LOW" | "MEDIUM" | "HIGH" | "HIGHER" | "MAX"; export type Av1BitDepth = "BIT_8" | "BIT_10"; export type Av1FilmGrainSynthesis = "DISABLED" | "ENABLED"; export type Av1FramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type Av1FramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; +export type Av1FramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; export interface Av1QvbrSettings { QvbrQualityLevel?: number; QvbrQualityLevelFineTune?: number; @@ -1186,26 +832,11 @@ export type Av1SpatialAdaptiveQuantization = "DISABLED" | "ENABLED"; export interface AvailBlanking { AvailBlankingImage?: string; } -export type AvcIntraClass = - | "CLASS_50" - | "CLASS_100" - | "CLASS_200" - | "CLASS_4K_2K"; +export type AvcIntraClass = "CLASS_50" | "CLASS_100" | "CLASS_200" | "CLASS_4K_2K"; export type AvcIntraFramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type AvcIntraFramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; -export type AvcIntraInterlaceMode = - | "PROGRESSIVE" - | "TOP_FIELD" - | "BOTTOM_FIELD" - | "FOLLOW_TOP_FIELD" - | "FOLLOW_BOTTOM_FIELD"; -export type AvcIntraScanTypeConversionMode = - | "INTERLACED" - | "INTERLACED_OPTIMIZE"; +export type AvcIntraFramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; +export type AvcIntraInterlaceMode = "PROGRESSIVE" | "TOP_FIELD" | "BOTTOM_FIELD" | "FOLLOW_TOP_FIELD" | "FOLLOW_BOTTOM_FIELD"; +export type AvcIntraScanTypeConversionMode = "INTERLACED" | "INTERLACED_OPTIMIZE"; export interface AvcIntraSettings { AvcIntraClass?: AvcIntraClass; AvcIntraUhdSettings?: AvcIntraUhdSettings; @@ -1234,17 +865,8 @@ export interface BandwidthReductionFilter { Sharpening?: BandwidthReductionFilterSharpening; Strength?: BandwidthReductionFilterStrength; } -export type BandwidthReductionFilterSharpening = - | "LOW" - | "MEDIUM" - | "HIGH" - | "OFF"; -export type BandwidthReductionFilterStrength = - | "LOW" - | "MEDIUM" - | "HIGH" - | "AUTO" - | "OFF"; +export type BandwidthReductionFilterSharpening = "LOW" | "MEDIUM" | "HIGH" | "OFF"; +export type BandwidthReductionFilterStrength = "LOW" | "MEDIUM" | "HIGH" | "AUTO" | "OFF"; export type BillingTagsSource = "QUEUE" | "PRESET" | "JOB_TEMPLATE" | "JOB"; export interface BurninDestinationSettings { Alignment?: BurninSubtitleAlignment; @@ -1277,39 +899,17 @@ export interface BurninDestinationSettings { export type BurninSubtitleAlignment = "CENTERED" | "LEFT" | "AUTO"; export type BurninSubtitleApplyFontColor = "WHITE_TEXT_ONLY" | "ALL_TEXT"; export type BurninSubtitleBackgroundColor = "NONE" | "BLACK" | "WHITE" | "AUTO"; -export type BurninSubtitleFallbackFont = - | "BEST_MATCH" - | "MONOSPACED_SANSSERIF" - | "MONOSPACED_SERIF" - | "PROPORTIONAL_SANSSERIF" - | "PROPORTIONAL_SERIF"; -export type BurninSubtitleFontColor = - | "WHITE" - | "BLACK" - | "YELLOW" - | "RED" - | "GREEN" - | "BLUE" - | "HEX" - | "AUTO"; -export type BurninSubtitleOutlineColor = - | "BLACK" - | "WHITE" - | "YELLOW" - | "RED" - | "GREEN" - | "BLUE" - | "AUTO"; +export type BurninSubtitleFallbackFont = "BEST_MATCH" | "MONOSPACED_SANSSERIF" | "MONOSPACED_SERIF" | "PROPORTIONAL_SANSSERIF" | "PROPORTIONAL_SERIF"; +export type BurninSubtitleFontColor = "WHITE" | "BLACK" | "YELLOW" | "RED" | "GREEN" | "BLUE" | "HEX" | "AUTO"; +export type BurninSubtitleOutlineColor = "BLACK" | "WHITE" | "YELLOW" | "RED" | "GREEN" | "BLUE" | "AUTO"; export type BurninSubtitleShadowColor = "NONE" | "BLACK" | "WHITE" | "AUTO"; export type BurnInSubtitleStylePassthrough = "ENABLED" | "DISABLED"; -export type BurninSubtitleTeletextSpacing = - | "FIXED_GRID" - | "PROPORTIONAL" - | "AUTO"; +export type BurninSubtitleTeletextSpacing = "FIXED_GRID" | "PROPORTIONAL" | "AUTO"; export interface CancelJobRequest { Id: string; } -export interface CancelJobResponse {} +export interface CancelJobResponse { +} export interface CaptionDescription { CaptionSelectorName?: string; CustomLanguageCode?: string; @@ -1335,19 +935,7 @@ export interface CaptionDestinationSettings { TtmlDestinationSettings?: TtmlDestinationSettings; WebvttDestinationSettings?: WebvttDestinationSettings; } -export type CaptionDestinationType = - | "BURN_IN" - | "DVB_SUB" - | "EMBEDDED" - | "EMBEDDED_PLUS_SCTE20" - | "IMSC" - | "SCTE20_PLUS_EMBEDDED" - | "SCC" - | "SRT" - | "SMI" - | "TELETEXT" - | "TTML" - | "WEBVTT"; +export type CaptionDestinationType = "BURN_IN" | "DVB_SUB" | "EMBEDDED" | "EMBEDDED_PLUS_SCTE20" | "IMSC" | "SCTE20_PLUS_EMBEDDED" | "SCC" | "SRT" | "SMI" | "TELETEXT" | "TTML" | "WEBVTT"; export interface CaptionSelector { CustomLanguageCode?: string; LanguageCode?: LanguageCode; @@ -1369,21 +957,7 @@ export interface CaptionSourceSettings { TrackSourceSettings?: TrackSourceSettings; WebvttHlsSourceSettings?: WebvttHlsSourceSettings; } -export type CaptionSourceType = - | "ANCILLARY" - | "DVB_SUB" - | "EMBEDDED" - | "SCTE20" - | "SCC" - | "TTML" - | "STL" - | "SRT" - | "SMI" - | "SMPTE_TT" - | "TELETEXT" - | "NULL_SOURCE" - | "IMSC" - | "WEBVTT"; +export type CaptionSourceType = "ANCILLARY" | "DVB_SUB" | "EMBEDDED" | "SCTE20" | "SCC" | "TTML" | "STL" | "SRT" | "SMI" | "SMPTE_TT" | "TELETEXT" | "NULL_SOURCE" | "IMSC" | "WEBVTT"; export type CaptionSourceUpconvertSTLToTeletext = "UPCONVERT" | "DISABLED"; export interface ChannelMapping { OutputChannels?: Array; @@ -1440,11 +1014,7 @@ export interface CmafGroupSettings { WriteHlsManifest?: CmafWriteHLSManifest; WriteSegmentTimelineInRepresentation?: CmafWriteSegmentTimelineInRepresentation; } -export type CmafImageBasedTrickPlay = - | "NONE" - | "THUMBNAIL" - | "THUMBNAIL_AND_FULLFRAME" - | "ADVANCED"; +export type CmafImageBasedTrickPlay = "NONE" | "THUMBNAIL" | "THUMBNAIL_AND_FULLFRAME" | "ADVANCED"; export interface CmafImageBasedTrickPlaySettings { IntervalCadence?: CmafIntervalCadence; ThumbnailHeight?: number; @@ -1460,9 +1030,7 @@ export type CmafManifestCompression = "GZIP" | "NONE"; export type CmafManifestDurationFormat = "FLOATING_POINT" | "INTEGER"; export type CmafMpdManifestBandwidthType = "AVERAGE" | "MAX"; export type CmafMpdProfile = "MAIN_PROFILE" | "ON_DEMAND_PROFILE"; -export type CmafPtsOffsetHandlingForBFrames = - | "ZERO_BASED" - | "MATCH_INITIAL_PTS"; +export type CmafPtsOffsetHandlingForBFrames = "ZERO_BASED" | "MATCH_INITIAL_PTS"; export type CmafSegmentControl = "SINGLE_FILE" | "SEGMENTED_FILES"; export type CmafSegmentLengthControl = "EXACT" | "GOP_MULTIPLE" | "MATCH"; export type CmafStreamInfResolution = "INCLUDE" | "EXCLUDE"; @@ -1471,14 +1039,8 @@ export type CmafVideoCompositionOffsets = "SIGNED" | "UNSIGNED"; export type CmafWriteDASHManifest = "DISABLED" | "ENABLED"; export type CmafWriteHLSManifest = "DISABLED" | "ENABLED"; export type CmafWriteSegmentTimelineInRepresentation = "ENABLED" | "DISABLED"; -export type CmfcAudioDuration = - | "DEFAULT_CODEC_DURATION" - | "MATCH_VIDEO_DURATION"; -export type CmfcAudioTrackType = - | "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" - | "ALTERNATE_AUDIO_AUTO_SELECT" - | "ALTERNATE_AUDIO_NOT_AUTO_SELECT" - | "AUDIO_ONLY_VARIANT_STREAM"; +export type CmfcAudioDuration = "DEFAULT_CODEC_DURATION" | "MATCH_VIDEO_DURATION"; +export type CmfcAudioTrackType = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" | "ALTERNATE_AUDIO_AUTO_SELECT" | "ALTERNATE_AUDIO_NOT_AUTO_SELECT" | "AUDIO_ONLY_VARIANT_STREAM"; export type CmfcDescriptiveVideoServiceFlag = "DONT_FLAG" | "FLAG"; export type CmfcIFrameOnlyManifest = "INCLUDE" | "EXCLUDE"; export type CmfcKlvMetadata = "PASSTHROUGH" | "NONE"; @@ -1503,33 +1065,7 @@ export interface CmfcSettings { } export type CmfcTimedMetadata = "PASSTHROUGH" | "NONE"; export type CmfcTimedMetadataBoxVersion = "VERSION_0" | "VERSION_1"; -export type Codec = - | "UNKNOWN" - | "AAC" - | "AC3" - | "EAC3" - | "FLAC" - | "MP3" - | "OPUS" - | "PCM" - | "VORBIS" - | "AV1" - | "AVC" - | "HEVC" - | "JPEG2000" - | "MJPEG" - | "MPEG1" - | "MP4V" - | "MPEG2" - | "PRORES" - | "THEORA" - | "VFW" - | "VP8" - | "VP9" - | "QTRLE" - | "C608" - | "C708" - | "WEBVTT"; +export type Codec = "UNKNOWN" | "AAC" | "AC3" | "EAC3" | "FLAC" | "MP3" | "OPUS" | "PCM" | "VORBIS" | "AV1" | "AVC" | "HEVC" | "JPEG2000" | "MJPEG" | "MPEG1" | "MP4V" | "MPEG2" | "PRORES" | "THEORA" | "VFW" | "VP8" | "VP9" | "QTRLE" | "C608" | "C708" | "WEBVTT"; export interface CodecMetadata { BitDepth?: number; ChromaSubsampling?: string; @@ -1564,41 +1100,9 @@ export interface ColorCorrector { SdrReferenceWhiteLevel?: number; } export type ColorMetadata = "IGNORE" | "INSERT"; -export type ColorPrimaries = - | "ITU_709" - | "UNSPECIFIED" - | "RESERVED" - | "ITU_470M" - | "ITU_470BG" - | "SMPTE_170M" - | "SMPTE_240M" - | "GENERIC_FILM" - | "ITU_2020" - | "SMPTE_428_1" - | "SMPTE_431_2" - | "SMPTE_EG_432_1" - | "IPT" - | "SMPTE_2067XYZ" - | "EBU_3213_E" - | "LAST"; -export type ColorSpace = - | "FOLLOW" - | "REC_601" - | "REC_709" - | "HDR10" - | "HLG_2020" - | "P3DCI" - | "P3D65_SDR" - | "P3D65_HDR"; -export type ColorSpaceConversion = - | "NONE" - | "FORCE_601" - | "FORCE_709" - | "FORCE_HDR10" - | "FORCE_HLG_2020" - | "FORCE_P3DCI" - | "FORCE_P3D65_SDR" - | "FORCE_P3D65_HDR"; +export type ColorPrimaries = "ITU_709" | "UNSPECIFIED" | "RESERVED" | "ITU_470M" | "ITU_470BG" | "SMPTE_170M" | "SMPTE_240M" | "GENERIC_FILM" | "ITU_2020" | "SMPTE_428_1" | "SMPTE_431_2" | "SMPTE_EG_432_1" | "IPT" | "SMPTE_2067XYZ" | "EBU_3213_E" | "LAST"; +export type ColorSpace = "FOLLOW" | "REC_601" | "REC_709" | "HDR10" | "HLG_2020" | "P3DCI" | "P3D65_SDR" | "P3D65_HDR"; +export type ColorSpaceConversion = "NONE" | "FORCE_601" | "FORCE_709" | "FORCE_HDR10" | "FORCE_HLG_2020" | "FORCE_P3DCI" | "FORCE_P3D65_SDR" | "FORCE_P3D65_HDR"; export type ColorSpaceUsage = "FORCE" | "FALLBACK"; export type Commitment = "ONE_YEAR"; export declare class ConflictException extends EffectData.TaggedError( @@ -1622,21 +1126,7 @@ export interface ContainerSettings { MpdSettings?: MpdSettings; MxfSettings?: MxfSettings; } -export type ContainerType = - | "F4V" - | "GIF" - | "ISMV" - | "M2TS" - | "M3U8" - | "CMFC" - | "MOV" - | "MP4" - | "MPD" - | "MXF" - | "OGG" - | "WEBM" - | "RAW" - | "Y4M"; +export type ContainerType = "F4V" | "GIF" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "OGG" | "WEBM" | "RAW" | "Y4M"; export type CopyProtectionAction = "PASSTHROUGH" | "STRIP"; export interface CreateJobRequest { AccelerationSettings?: AccelerationSettings; @@ -1698,7 +1188,8 @@ export interface CreateResourceShareRequest { JobId: string; SupportCaseId: string; } -export interface CreateResourceShareResponse {} +export interface CreateResourceShareResponse { +} export interface DashAdditionalManifest { ManifestNameModifier?: string; SelectedOutputs?: Array; @@ -1707,9 +1198,7 @@ export interface DashIsoEncryptionSettings { PlaybackDeviceCompatibility?: DashIsoPlaybackDeviceCompatibility; SpekeKeyProvider?: SpekeKeyProvider; } -export type DashIsoGroupAudioChannelConfigSchemeIdUri = - | "MPEG_CHANNEL_CONFIGURATION" - | "DOLBY_CHANNEL_CONFIGURATION"; +export type DashIsoGroupAudioChannelConfigSchemeIdUri = "MPEG_CHANNEL_CONFIGURATION" | "DOLBY_CHANNEL_CONFIGURATION"; export interface DashIsoGroupSettings { AdditionalManifests?: Array; AudioChannelConfigSchemeIdUri?: DashIsoGroupAudioChannelConfigSchemeIdUri; @@ -1735,11 +1224,7 @@ export interface DashIsoGroupSettings { WriteSegmentTimelineInRepresentation?: DashIsoWriteSegmentTimelineInRepresentation; } export type DashIsoHbbtvCompliance = "HBBTV_1_5" | "NONE"; -export type DashIsoImageBasedTrickPlay = - | "NONE" - | "THUMBNAIL" - | "THUMBNAIL_AND_FULLFRAME" - | "ADVANCED"; +export type DashIsoImageBasedTrickPlay = "NONE" | "THUMBNAIL" | "THUMBNAIL_AND_FULLFRAME" | "ADVANCED"; export interface DashIsoImageBasedTrickPlaySettings { IntervalCadence?: DashIsoIntervalCadence; ThumbnailHeight?: number; @@ -1752,26 +1237,17 @@ export type DashIsoIntervalCadence = "FOLLOW_IFRAME" | "FOLLOW_CUSTOM"; export type DashIsoMpdManifestBandwidthType = "AVERAGE" | "MAX"; export type DashIsoMpdProfile = "MAIN_PROFILE" | "ON_DEMAND_PROFILE"; export type DashIsoPlaybackDeviceCompatibility = "CENC_V1" | "UNENCRYPTED_SEI"; -export type DashIsoPtsOffsetHandlingForBFrames = - | "ZERO_BASED" - | "MATCH_INITIAL_PTS"; +export type DashIsoPtsOffsetHandlingForBFrames = "ZERO_BASED" | "MATCH_INITIAL_PTS"; export type DashIsoSegmentControl = "SINGLE_FILE" | "SEGMENTED_FILES"; export type DashIsoSegmentLengthControl = "EXACT" | "GOP_MULTIPLE" | "MATCH"; export type DashIsoVideoCompositionOffsets = "SIGNED" | "UNSIGNED"; -export type DashIsoWriteSegmentTimelineInRepresentation = - | "ENABLED" - | "DISABLED"; +export type DashIsoWriteSegmentTimelineInRepresentation = "ENABLED" | "DISABLED"; export type DashManifestStyle = "BASIC" | "COMPACT" | "DISTINCT" | "FULL"; export interface DataProperties { LanguageCode?: string; } export type DecryptionMode = "AES_CTR" | "AES_CBC" | "AES_GCM"; -export type DeinterlaceAlgorithm = - | "INTERPOLATE" - | "INTERPOLATE_TICKER" - | "BLEND" - | "BLEND_TICKER" - | "LINEAR_INTERPOLATION"; +export type DeinterlaceAlgorithm = "INTERPOLATE" | "INTERPOLATE_TICKER" | "BLEND" | "BLEND_TICKER" | "LINEAR_INTERPOLATION"; export interface Deinterlacer { Algorithm?: DeinterlaceAlgorithm; Control?: DeinterlacerControl; @@ -1782,17 +1258,22 @@ export type DeinterlacerMode = "DEINTERLACE" | "INVERSE_TELECINE" | "ADAPTIVE"; export interface DeleteJobTemplateRequest { Name: string; } -export interface DeleteJobTemplateResponse {} -export interface DeletePolicyRequest {} -export interface DeletePolicyResponse {} +export interface DeleteJobTemplateResponse { +} +export interface DeletePolicyRequest { +} +export interface DeletePolicyResponse { +} export interface DeletePresetRequest { Name: string; } -export interface DeletePresetResponse {} +export interface DeletePresetResponse { +} export interface DeleteQueueRequest { Name: string; } -export interface DeleteQueueResponse {} +export interface DeleteQueueResponse { +} export type DescribeEndpointsMode = "DEFAULT" | "GET_ONLY"; export interface DescribeEndpointsRequest { MaxResults?: number; @@ -1809,7 +1290,8 @@ export interface DestinationSettings { export interface DisassociateCertificateRequest { Arn: string; } -export interface DisassociateCertificateResponse {} +export interface DisassociateCertificateResponse { +} export interface DolbyVision { L6Metadata?: DolbyVisionLevel6Metadata; L6Mode?: DolbyVisionLevel6Mode; @@ -1824,11 +1306,7 @@ export type DolbyVisionLevel6Mode = "PASSTHROUGH" | "RECALCULATE" | "SPECIFY"; export type DolbyVisionMapping = "HDR10_NOMAP" | "HDR10_1000"; export type DolbyVisionProfile = "PROFILE_5" | "PROFILE_8_1"; export type DropFrameTimecode = "DISABLED" | "ENABLED"; -export type DvbddsHandling = - | "NONE" - | "SPECIFIED" - | "NO_DISPLAY_WINDOW" - | "SPECIFIED_OPTIMAL"; +export type DvbddsHandling = "NONE" | "SPECIFIED" | "NO_DISPLAY_WINDOW" | "SPECIFIED_OPTIMAL"; export interface DvbNitSettings { NetworkId?: number; NetworkName?: string; @@ -1876,32 +1354,12 @@ export interface DvbSubDestinationSettings { export interface DvbSubSourceSettings { Pid?: number; } -export type DvbSubSubtitleFallbackFont = - | "BEST_MATCH" - | "MONOSPACED_SANSSERIF" - | "MONOSPACED_SERIF" - | "PROPORTIONAL_SANSSERIF" - | "PROPORTIONAL_SERIF"; +export type DvbSubSubtitleFallbackFont = "BEST_MATCH" | "MONOSPACED_SANSSERIF" | "MONOSPACED_SERIF" | "PROPORTIONAL_SANSSERIF" | "PROPORTIONAL_SERIF"; export type DvbSubtitleAlignment = "CENTERED" | "LEFT" | "AUTO"; export type DvbSubtitleApplyFontColor = "WHITE_TEXT_ONLY" | "ALL_TEXT"; export type DvbSubtitleBackgroundColor = "NONE" | "BLACK" | "WHITE" | "AUTO"; -export type DvbSubtitleFontColor = - | "WHITE" - | "BLACK" - | "YELLOW" - | "RED" - | "GREEN" - | "BLUE" - | "HEX" - | "AUTO"; -export type DvbSubtitleOutlineColor = - | "BLACK" - | "WHITE" - | "YELLOW" - | "RED" - | "GREEN" - | "BLUE" - | "AUTO"; +export type DvbSubtitleFontColor = "WHITE" | "BLACK" | "YELLOW" | "RED" | "GREEN" | "BLUE" | "HEX" | "AUTO"; +export type DvbSubtitleOutlineColor = "BLACK" | "WHITE" | "YELLOW" | "RED" | "GREEN" | "BLUE" | "AUTO"; export type DvbSubtitleShadowColor = "NONE" | "BLACK" | "WHITE" | "AUTO"; export type DvbSubtitleStylePassthrough = "ENABLED" | "DISABLED"; export type DvbSubtitleTeletextSpacing = "FIXED_GRID" | "PROPORTIONAL" | "AUTO"; @@ -1918,36 +1376,13 @@ export interface DynamicAudioSelector { } export type DynamicAudioSelectorType = "ALL_TRACKS" | "LANGUAGE_CODE"; export type Eac3AtmosBitstreamMode = "COMPLETE_MAIN"; -export type Eac3AtmosCodingMode = - | "CODING_MODE_AUTO" - | "CODING_MODE_5_1_4" - | "CODING_MODE_7_1_4" - | "CODING_MODE_9_1_6"; +export type Eac3AtmosCodingMode = "CODING_MODE_AUTO" | "CODING_MODE_5_1_4" | "CODING_MODE_7_1_4" | "CODING_MODE_9_1_6"; export type Eac3AtmosDialogueIntelligence = "ENABLED" | "DISABLED"; export type Eac3AtmosDownmixControl = "SPECIFIED" | "INITIALIZE_FROM_SOURCE"; -export type Eac3AtmosDynamicRangeCompressionLine = - | "NONE" - | "FILM_STANDARD" - | "FILM_LIGHT" - | "MUSIC_STANDARD" - | "MUSIC_LIGHT" - | "SPEECH"; -export type Eac3AtmosDynamicRangeCompressionRf = - | "NONE" - | "FILM_STANDARD" - | "FILM_LIGHT" - | "MUSIC_STANDARD" - | "MUSIC_LIGHT" - | "SPEECH"; -export type Eac3AtmosDynamicRangeControl = - | "SPECIFIED" - | "INITIALIZE_FROM_SOURCE"; -export type Eac3AtmosMeteringMode = - | "LEQ_A" - | "ITU_BS_1770_1" - | "ITU_BS_1770_2" - | "ITU_BS_1770_3" - | "ITU_BS_1770_4"; +export type Eac3AtmosDynamicRangeCompressionLine = "NONE" | "FILM_STANDARD" | "FILM_LIGHT" | "MUSIC_STANDARD" | "MUSIC_LIGHT" | "SPEECH"; +export type Eac3AtmosDynamicRangeCompressionRf = "NONE" | "FILM_STANDARD" | "FILM_LIGHT" | "MUSIC_STANDARD" | "MUSIC_LIGHT" | "SPEECH"; +export type Eac3AtmosDynamicRangeControl = "SPECIFIED" | "INITIALIZE_FROM_SOURCE"; +export type Eac3AtmosMeteringMode = "LEQ_A" | "ITU_BS_1770_1" | "ITU_BS_1770_2" | "ITU_BS_1770_3" | "ITU_BS_1770_4"; export interface Eac3AtmosSettings { Bitrate?: number; BitstreamMode?: Eac3AtmosBitstreamMode; @@ -1967,38 +1402,14 @@ export interface Eac3AtmosSettings { StereoDownmix?: Eac3AtmosStereoDownmix; SurroundExMode?: Eac3AtmosSurroundExMode; } -export type Eac3AtmosStereoDownmix = - | "NOT_INDICATED" - | "STEREO" - | "SURROUND" - | "DPL2"; +export type Eac3AtmosStereoDownmix = "NOT_INDICATED" | "STEREO" | "SURROUND" | "DPL2"; export type Eac3AtmosSurroundExMode = "NOT_INDICATED" | "ENABLED" | "DISABLED"; export type Eac3AttenuationControl = "ATTENUATE_3_DB" | "NONE"; -export type Eac3BitstreamMode = - | "COMPLETE_MAIN" - | "COMMENTARY" - | "EMERGENCY" - | "HEARING_IMPAIRED" - | "VISUALLY_IMPAIRED"; -export type Eac3CodingMode = - | "CODING_MODE_1_0" - | "CODING_MODE_2_0" - | "CODING_MODE_3_2"; +export type Eac3BitstreamMode = "COMPLETE_MAIN" | "COMMENTARY" | "EMERGENCY" | "HEARING_IMPAIRED" | "VISUALLY_IMPAIRED"; +export type Eac3CodingMode = "CODING_MODE_1_0" | "CODING_MODE_2_0" | "CODING_MODE_3_2"; export type Eac3DcFilter = "ENABLED" | "DISABLED"; -export type Eac3DynamicRangeCompressionLine = - | "NONE" - | "FILM_STANDARD" - | "FILM_LIGHT" - | "MUSIC_STANDARD" - | "MUSIC_LIGHT" - | "SPEECH"; -export type Eac3DynamicRangeCompressionRf = - | "NONE" - | "FILM_STANDARD" - | "FILM_LIGHT" - | "MUSIC_STANDARD" - | "MUSIC_LIGHT" - | "SPEECH"; +export type Eac3DynamicRangeCompressionLine = "NONE" | "FILM_STANDARD" | "FILM_LIGHT" | "MUSIC_STANDARD" | "MUSIC_LIGHT" | "SPEECH"; +export type Eac3DynamicRangeCompressionRf = "NONE" | "FILM_STANDARD" | "FILM_LIGHT" | "MUSIC_STANDARD" | "MUSIC_LIGHT" | "SPEECH"; export type Eac3LfeControl = "LFE" | "NO_LFE"; export type Eac3LfeFilter = "ENABLED" | "DISABLED"; export type Eac3MetadataControl = "FOLLOW_INPUT" | "USE_CONFIGURED"; @@ -2107,14 +1518,7 @@ export interface FrameCaptureSettings { MaxCaptures?: number; Quality?: number; } -export type FrameMetricType = - | "PSNR" - | "SSIM" - | "MS_SSIM" - | "PSNR_HVS" - | "VMAF" - | "QVBR" - | "SHOT_CHANGE"; +export type FrameMetricType = "PSNR" | "SSIM" | "MS_SSIM" | "PSNR_HVS" | "VMAF" | "QVBR" | "SHOT_CHANGE"; export interface FrameRate { Denominator?: number; Numerator?: number; @@ -2139,7 +1543,8 @@ export interface GetJobTemplateRequest { export interface GetJobTemplateResponse { JobTemplate?: JobTemplate; } -export interface GetPolicyRequest {} +export interface GetPolicyRequest { +} export interface GetPolicyResponse { Policy?: Policy; } @@ -2163,63 +1568,21 @@ export interface GifSettings { FramerateDenominator?: number; FramerateNumerator?: number; } -export type H264AdaptiveQuantization = - | "OFF" - | "AUTO" - | "LOW" - | "MEDIUM" - | "HIGH" - | "HIGHER" - | "MAX"; -export type H264CodecLevel = - | "AUTO" - | "LEVEL_1" - | "LEVEL_1_1" - | "LEVEL_1_2" - | "LEVEL_1_3" - | "LEVEL_2" - | "LEVEL_2_1" - | "LEVEL_2_2" - | "LEVEL_3" - | "LEVEL_3_1" - | "LEVEL_3_2" - | "LEVEL_4" - | "LEVEL_4_1" - | "LEVEL_4_2" - | "LEVEL_5" - | "LEVEL_5_1" - | "LEVEL_5_2"; -export type H264CodecProfile = - | "BASELINE" - | "HIGH" - | "HIGH_10BIT" - | "HIGH_422" - | "HIGH_422_10BIT" - | "MAIN"; +export type H264AdaptiveQuantization = "OFF" | "AUTO" | "LOW" | "MEDIUM" | "HIGH" | "HIGHER" | "MAX"; +export type H264CodecLevel = "AUTO" | "LEVEL_1" | "LEVEL_1_1" | "LEVEL_1_2" | "LEVEL_1_3" | "LEVEL_2" | "LEVEL_2_1" | "LEVEL_2_2" | "LEVEL_3" | "LEVEL_3_1" | "LEVEL_3_2" | "LEVEL_4" | "LEVEL_4_1" | "LEVEL_4_2" | "LEVEL_5" | "LEVEL_5_1" | "LEVEL_5_2"; +export type H264CodecProfile = "BASELINE" | "HIGH" | "HIGH_10BIT" | "HIGH_422" | "HIGH_422_10BIT" | "MAIN"; export type H264DynamicSubGop = "ADAPTIVE" | "STATIC"; export type H264EndOfStreamMarkers = "INCLUDE" | "SUPPRESS"; export type H264EntropyEncoding = "CABAC" | "CAVLC"; export type H264FieldEncoding = "PAFF" | "FORCE_FIELD" | "MBAFF"; export type H264FlickerAdaptiveQuantization = "DISABLED" | "ENABLED"; export type H264FramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type H264FramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; +export type H264FramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; export type H264GopBReference = "DISABLED" | "ENABLED"; export type H264GopSizeUnits = "FRAMES" | "SECONDS" | "AUTO"; -export type H264InterlaceMode = - | "PROGRESSIVE" - | "TOP_FIELD" - | "BOTTOM_FIELD" - | "FOLLOW_TOP_FIELD" - | "FOLLOW_BOTTOM_FIELD"; +export type H264InterlaceMode = "PROGRESSIVE" | "TOP_FIELD" | "BOTTOM_FIELD" | "FOLLOW_TOP_FIELD" | "FOLLOW_BOTTOM_FIELD"; export type H264ParControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type H264QualityTuningLevel = - | "SINGLE_PASS" - | "SINGLE_PASS_HQ" - | "MULTI_PASS_HQ"; +export type H264QualityTuningLevel = "SINGLE_PASS" | "SINGLE_PASS_HQ" | "MULTI_PASS_HQ"; export interface H264QvbrSettings { MaxAverageBitrate?: number; QvbrQualityLevel?: number; @@ -2229,10 +1592,7 @@ export type H264RateControlMode = "VBR" | "CBR" | "QVBR"; export type H264RepeatPps = "DISABLED" | "ENABLED"; export type H264SaliencyAwareEncoding = "DISABLED" | "PREFERRED"; export type H264ScanTypeConversionMode = "INTERLACED" | "INTERLACED_OPTIMIZE"; -export type H264SceneChangeDetect = - | "DISABLED" - | "ENABLED" - | "TRANSITION_DETECTION"; +export type H264SceneChangeDetect = "DISABLED" | "ENABLED" | "TRANSITION_DETECTION"; export interface H264Settings { AdaptiveQuantization?: H264AdaptiveQuantization; BandwidthReductionFilter?: BandwidthReductionFilter; @@ -2288,62 +1648,21 @@ export type H264Telecine = "NONE" | "SOFT" | "HARD"; export type H264TemporalAdaptiveQuantization = "DISABLED" | "ENABLED"; export type H264UnregisteredSeiTimecode = "DISABLED" | "ENABLED"; export type H264WriteMp4PackagingType = "AVC1" | "AVC3"; -export type H265AdaptiveQuantization = - | "OFF" - | "LOW" - | "MEDIUM" - | "HIGH" - | "HIGHER" - | "MAX" - | "AUTO"; +export type H265AdaptiveQuantization = "OFF" | "LOW" | "MEDIUM" | "HIGH" | "HIGHER" | "MAX" | "AUTO"; export type H265AlternateTransferFunctionSei = "DISABLED" | "ENABLED"; -export type H265CodecLevel = - | "AUTO" - | "LEVEL_1" - | "LEVEL_2" - | "LEVEL_2_1" - | "LEVEL_3" - | "LEVEL_3_1" - | "LEVEL_4" - | "LEVEL_4_1" - | "LEVEL_5" - | "LEVEL_5_1" - | "LEVEL_5_2" - | "LEVEL_6" - | "LEVEL_6_1" - | "LEVEL_6_2"; -export type H265CodecProfile = - | "MAIN_MAIN" - | "MAIN_HIGH" - | "MAIN10_MAIN" - | "MAIN10_HIGH" - | "MAIN_422_8BIT_MAIN" - | "MAIN_422_8BIT_HIGH" - | "MAIN_422_10BIT_MAIN" - | "MAIN_422_10BIT_HIGH"; +export type H265CodecLevel = "AUTO" | "LEVEL_1" | "LEVEL_2" | "LEVEL_2_1" | "LEVEL_3" | "LEVEL_3_1" | "LEVEL_4" | "LEVEL_4_1" | "LEVEL_5" | "LEVEL_5_1" | "LEVEL_5_2" | "LEVEL_6" | "LEVEL_6_1" | "LEVEL_6_2"; +export type H265CodecProfile = "MAIN_MAIN" | "MAIN_HIGH" | "MAIN10_MAIN" | "MAIN10_HIGH" | "MAIN_422_8BIT_MAIN" | "MAIN_422_8BIT_HIGH" | "MAIN_422_10BIT_MAIN" | "MAIN_422_10BIT_HIGH"; export type H265Deblocking = "ENABLED" | "DISABLED"; export type H265DynamicSubGop = "ADAPTIVE" | "STATIC"; export type H265EndOfStreamMarkers = "INCLUDE" | "SUPPRESS"; export type H265FlickerAdaptiveQuantization = "DISABLED" | "ENABLED"; export type H265FramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type H265FramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; +export type H265FramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; export type H265GopBReference = "DISABLED" | "ENABLED"; export type H265GopSizeUnits = "FRAMES" | "SECONDS" | "AUTO"; -export type H265InterlaceMode = - | "PROGRESSIVE" - | "TOP_FIELD" - | "BOTTOM_FIELD" - | "FOLLOW_TOP_FIELD" - | "FOLLOW_BOTTOM_FIELD"; +export type H265InterlaceMode = "PROGRESSIVE" | "TOP_FIELD" | "BOTTOM_FIELD" | "FOLLOW_TOP_FIELD" | "FOLLOW_BOTTOM_FIELD"; export type H265ParControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type H265QualityTuningLevel = - | "SINGLE_PASS" - | "SINGLE_PASS_HQ" - | "MULTI_PASS_HQ"; +export type H265QualityTuningLevel = "SINGLE_PASS" | "SINGLE_PASS_HQ" | "MULTI_PASS_HQ"; export interface H265QvbrSettings { MaxAverageBitrate?: number; QvbrQualityLevel?: number; @@ -2352,10 +1671,7 @@ export interface H265QvbrSettings { export type H265RateControlMode = "VBR" | "CBR" | "QVBR"; export type H265SampleAdaptiveOffsetFilterMode = "DEFAULT" | "ADAPTIVE" | "OFF"; export type H265ScanTypeConversionMode = "INTERLACED" | "INTERLACED_OPTIMIZE"; -export type H265SceneChangeDetect = - | "DISABLED" - | "ENABLED" - | "TRANSITION_DETECTION"; +export type H265SceneChangeDetect = "DISABLED" | "ENABLED" | "TRANSITION_DETECTION"; export interface H265Settings { AdaptiveQuantization?: H265AdaptiveQuantization; AlternateTransferFunctionSei?: H265AlternateTransferFunctionSei; @@ -2437,11 +1753,7 @@ export interface HlsAdditionalManifest { export type HlsAdMarkers = "ELEMENTAL" | "ELEMENTAL_SCTE35"; export type HlsAudioOnlyContainer = "AUTOMATIC" | "M2TS"; export type HlsAudioOnlyHeader = "INCLUDE" | "EXCLUDE"; -export type HlsAudioTrackType = - | "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" - | "ALTERNATE_AUDIO_AUTO_SELECT" - | "ALTERNATE_AUDIO_NOT_AUTO_SELECT" - | "AUDIO_ONLY_VARIANT_STREAM"; +export type HlsAudioTrackType = "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" | "ALTERNATE_AUDIO_AUTO_SELECT" | "ALTERNATE_AUDIO_NOT_AUTO_SELECT" | "AUDIO_ONLY_VARIANT_STREAM"; export interface HlsCaptionLanguageMapping { CaptionChannel?: number; CustomLanguageCode?: string; @@ -2453,9 +1765,7 @@ export type HlsCaptionSegmentLengthControl = "LARGE_SEGMENTS" | "MATCH_VIDEO"; export type HlsClientCache = "DISABLED" | "ENABLED"; export type HlsCodecSpecification = "RFC_6381" | "RFC_4281"; export type HlsDescriptiveVideoServiceFlag = "DONT_FLAG" | "FLAG"; -export type HlsDirectoryStructure = - | "SINGLE_DIRECTORY" - | "SUBDIRECTORY_PER_STREAM"; +export type HlsDirectoryStructure = "SINGLE_DIRECTORY" | "SUBDIRECTORY_PER_STREAM"; export interface HlsEncryptionSettings { ConstantInitializationVector?: string; EncryptionMethod?: HlsEncryptionType; @@ -2501,11 +1811,7 @@ export interface HlsGroupSettings { TimestampDeltaMilliseconds?: number; } export type HlsIFrameOnlyManifest = "INCLUDE" | "INCLUDE_AS_TS" | "EXCLUDE"; -export type HlsImageBasedTrickPlay = - | "NONE" - | "THUMBNAIL" - | "THUMBNAIL_AND_FULLFRAME" - | "ADVANCED"; +export type HlsImageBasedTrickPlay = "NONE" | "THUMBNAIL" | "THUMBNAIL_AND_FULLFRAME" | "ADVANCED"; export interface HlsImageBasedTrickPlaySettings { IntervalCadence?: HlsIntervalCadence; ThumbnailHeight?: number; @@ -2605,12 +1911,7 @@ export type InputDenoiseFilter = "ENABLED" | "DISABLED"; export type InputFilterEnable = "AUTO" | "DISABLE" | "FORCE"; export type InputPolicy = "ALLOWED" | "DISALLOWED"; export type InputPsiControl = "IGNORE_PSI" | "USE_PSI"; -export type InputRotate = - | "DEGREE_0" - | "DEGREES_90" - | "DEGREES_180" - | "DEGREES_270" - | "AUTO"; +export type InputRotate = "DEGREE_0" | "DEGREES_90" | "DEGREES_180" | "DEGREES_270" | "AUTO"; export type InputSampleRange = "FOLLOW" | "FULL_RANGE" | "LIMITED_RANGE"; export type InputScanType = "AUTO" | "PSF"; export interface InputTamsSettings { @@ -2733,25 +2034,9 @@ export interface JobsQueryFilter { Key?: JobsQueryFilterKey; Values?: Array; } -export type JobsQueryFilterKey = - | "queue" - | "status" - | "fileInput" - | "jobEngineVersionRequested" - | "jobEngineVersionUsed" - | "audioCodec" - | "videoCodec"; -export type JobsQueryStatus = - | "SUBMITTED" - | "PROGRESSING" - | "COMPLETE" - | "ERROR"; -export type JobStatus = - | "SUBMITTED" - | "PROGRESSING" - | "COMPLETE" - | "CANCELED" - | "ERROR"; +export type JobsQueryFilterKey = "queue" | "status" | "fileInput" | "jobEngineVersionRequested" | "jobEngineVersionUsed" | "audioCodec" | "videoCodec"; +export type JobsQueryStatus = "SUBMITTED" | "PROGRESSING" | "COMPLETE" | "ERROR"; +export type JobStatus = "SUBMITTED" | "PROGRESSING" | "COMPLETE" | "CANCELED" | "ERROR"; export interface JobTemplate { AccelerationSettings?: AccelerationSettings; Arn?: string; @@ -2799,199 +2084,7 @@ export interface KantarWatermarkSettings { Metadata7?: string; Metadata8?: string; } -export type LanguageCode = - | "ENG" - | "SPA" - | "FRA" - | "DEU" - | "GER" - | "ZHO" - | "ARA" - | "HIN" - | "JPN" - | "RUS" - | "POR" - | "ITA" - | "URD" - | "VIE" - | "KOR" - | "PAN" - | "ABK" - | "AAR" - | "AFR" - | "AKA" - | "SQI" - | "AMH" - | "ARG" - | "HYE" - | "ASM" - | "AVA" - | "AVE" - | "AYM" - | "AZE" - | "BAM" - | "BAK" - | "EUS" - | "BEL" - | "BEN" - | "BIH" - | "BIS" - | "BOS" - | "BRE" - | "BUL" - | "MYA" - | "CAT" - | "KHM" - | "CHA" - | "CHE" - | "NYA" - | "CHU" - | "CHV" - | "COR" - | "COS" - | "CRE" - | "HRV" - | "CES" - | "DAN" - | "DIV" - | "NLD" - | "DZO" - | "ENM" - | "EPO" - | "EST" - | "EWE" - | "FAO" - | "FIJ" - | "FIN" - | "FRM" - | "FUL" - | "GLA" - | "GLG" - | "LUG" - | "KAT" - | "ELL" - | "GRN" - | "GUJ" - | "HAT" - | "HAU" - | "HEB" - | "HER" - | "HMO" - | "HUN" - | "ISL" - | "IDO" - | "IBO" - | "IND" - | "INA" - | "ILE" - | "IKU" - | "IPK" - | "GLE" - | "JAV" - | "KAL" - | "KAN" - | "KAU" - | "KAS" - | "KAZ" - | "KIK" - | "KIN" - | "KIR" - | "KOM" - | "KON" - | "KUA" - | "KUR" - | "LAO" - | "LAT" - | "LAV" - | "LIM" - | "LIN" - | "LIT" - | "LUB" - | "LTZ" - | "MKD" - | "MLG" - | "MSA" - | "MAL" - | "MLT" - | "GLV" - | "MRI" - | "MAR" - | "MAH" - | "MON" - | "NAU" - | "NAV" - | "NDE" - | "NBL" - | "NDO" - | "NEP" - | "SME" - | "NOR" - | "NOB" - | "NNO" - | "OCI" - | "OJI" - | "ORI" - | "ORM" - | "OSS" - | "PLI" - | "FAS" - | "POL" - | "PUS" - | "QUE" - | "QAA" - | "RON" - | "ROH" - | "RUN" - | "SMO" - | "SAG" - | "SAN" - | "SRD" - | "SRB" - | "SNA" - | "III" - | "SND" - | "SIN" - | "SLK" - | "SLV" - | "SOM" - | "SOT" - | "SUN" - | "SWA" - | "SSW" - | "SWE" - | "TGL" - | "TAH" - | "TGK" - | "TAM" - | "TAT" - | "TEL" - | "THA" - | "BOD" - | "TIR" - | "TON" - | "TSO" - | "TSN" - | "TUR" - | "TUK" - | "TWI" - | "UIG" - | "UKR" - | "UZB" - | "VEN" - | "VOL" - | "WLN" - | "CYM" - | "FRY" - | "WOL" - | "XHO" - | "YID" - | "YOR" - | "ZHA" - | "ZUL" - | "ORJ" - | "QPC" - | "TNG" - | "SRP"; +export type LanguageCode = "ENG" | "SPA" | "FRA" | "DEU" | "GER" | "ZHO" | "ARA" | "HIN" | "JPN" | "RUS" | "POR" | "ITA" | "URD" | "VIE" | "KOR" | "PAN" | "ABK" | "AAR" | "AFR" | "AKA" | "SQI" | "AMH" | "ARG" | "HYE" | "ASM" | "AVA" | "AVE" | "AYM" | "AZE" | "BAM" | "BAK" | "EUS" | "BEL" | "BEN" | "BIH" | "BIS" | "BOS" | "BRE" | "BUL" | "MYA" | "CAT" | "KHM" | "CHA" | "CHE" | "NYA" | "CHU" | "CHV" | "COR" | "COS" | "CRE" | "HRV" | "CES" | "DAN" | "DIV" | "NLD" | "DZO" | "ENM" | "EPO" | "EST" | "EWE" | "FAO" | "FIJ" | "FIN" | "FRM" | "FUL" | "GLA" | "GLG" | "LUG" | "KAT" | "ELL" | "GRN" | "GUJ" | "HAT" | "HAU" | "HEB" | "HER" | "HMO" | "HUN" | "ISL" | "IDO" | "IBO" | "IND" | "INA" | "ILE" | "IKU" | "IPK" | "GLE" | "JAV" | "KAL" | "KAN" | "KAU" | "KAS" | "KAZ" | "KIK" | "KIN" | "KIR" | "KOM" | "KON" | "KUA" | "KUR" | "LAO" | "LAT" | "LAV" | "LIM" | "LIN" | "LIT" | "LUB" | "LTZ" | "MKD" | "MLG" | "MSA" | "MAL" | "MLT" | "GLV" | "MRI" | "MAR" | "MAH" | "MON" | "NAU" | "NAV" | "NDE" | "NBL" | "NDO" | "NEP" | "SME" | "NOR" | "NOB" | "NNO" | "OCI" | "OJI" | "ORI" | "ORM" | "OSS" | "PLI" | "FAS" | "POL" | "PUS" | "QUE" | "QAA" | "RON" | "ROH" | "RUN" | "SMO" | "SAG" | "SAN" | "SRD" | "SRB" | "SNA" | "III" | "SND" | "SIN" | "SLK" | "SLV" | "SOM" | "SOT" | "SUN" | "SWA" | "SSW" | "SWE" | "TGL" | "TAH" | "TGK" | "TAM" | "TAT" | "TEL" | "THA" | "BOD" | "TIR" | "TON" | "TSO" | "TSN" | "TUR" | "TUK" | "TWI" | "UIG" | "UKR" | "UZB" | "VEN" | "VOL" | "WLN" | "CYM" | "FRY" | "WOL" | "XHO" | "YID" | "YOR" | "ZHA" | "ZUL" | "ORJ" | "QPC" | "TNG" | "SRP"; export interface ListJobsRequest { MaxResults?: number; NextToken?: string; @@ -3052,14 +2145,10 @@ export interface ListVersionsResponse { Versions?: Array; } export type M2tsAudioBufferModel = "DVB" | "ATSC"; -export type M2tsAudioDuration = - | "DEFAULT_CODEC_DURATION" - | "MATCH_VIDEO_DURATION"; +export type M2tsAudioDuration = "DEFAULT_CODEC_DURATION" | "MATCH_VIDEO_DURATION"; export type M2tsBufferModel = "MULTIPLEX" | "NONE"; export type M2tsDataPtsControl = "AUTO" | "ALIGN_TO_VIDEO"; -export type M2tsEbpAudioInterval = - | "VIDEO_AND_FIXED_INTERVALS" - | "VIDEO_INTERVAL"; +export type M2tsEbpAudioInterval = "VIDEO_AND_FIXED_INTERVALS" | "VIDEO_INTERVAL"; export type M2tsEbpPlacement = "VIDEO_AND_AUDIO_PIDS" | "VIDEO_PID"; export type M2tsEsRateInPes = "INCLUDE" | "EXCLUDE"; export type M2tsForceTsVideoEbpOrder = "FORCE" | "DEFAULT"; @@ -3072,13 +2161,7 @@ export interface M2tsScte35Esam { Scte35EsamPid?: number; } export type M2tsScte35Source = "PASSTHROUGH" | "NONE"; -export type M2tsSegmentationMarkers = - | "NONE" - | "RAI_SEGSTART" - | "RAI_ADAPT" - | "PSI_SEGSTART" - | "EBP" - | "EBP_LEGACY"; +export type M2tsSegmentationMarkers = "NONE" | "RAI_SEGSTART" | "RAI_ADAPT" | "PSI_SEGSTART" | "EBP" | "EBP_LEGACY"; export type M2tsSegmentationStyle = "MAINTAIN_CADENCE" | "RESET_CADENCE"; export interface M2tsSettings { AudioBufferModel?: M2tsAudioBufferModel; @@ -3125,9 +2208,7 @@ export interface M2tsSettings { TransportStreamId?: number; VideoPid?: number; } -export type M3u8AudioDuration = - | "DEFAULT_CODEC_DURATION" - | "MATCH_VIDEO_DURATION"; +export type M3u8AudioDuration = "DEFAULT_CODEC_DURATION" | "MATCH_VIDEO_DURATION"; export type M3u8DataPtsControl = "AUTO" | "ALIGN_TO_VIDEO"; export type M3u8NielsenId3 = "INSERT" | "NONE"; export type M3u8PcrControl = "PCR_EVERY_PES_PACKET" | "CONFIGURED_PCR_PERIOD"; @@ -3156,25 +2237,7 @@ export interface M3u8Settings { TransportStreamId?: number; VideoPid?: number; } -export type MatrixCoefficients = - | "RGB" - | "ITU_709" - | "UNSPECIFIED" - | "RESERVED" - | "FCC" - | "ITU_470BG" - | "SMPTE_170M" - | "SMPTE_240M" - | "YCgCo" - | "ITU_2020_NCL" - | "ITU_2020_CL" - | "SMPTE_2085" - | "CD_NCL" - | "CD_CL" - | "ITU_2100ICtCp" - | "IPT" - | "EBU3213" - | "LAST"; +export type MatrixCoefficients = "RGB" | "ITU_709" | "UNSPECIFIED" | "RESERVED" | "FCC" | "ITU_470BG" | "SMPTE_170M" | "SMPTE_240M" | "YCgCo" | "ITU_2020_NCL" | "ITU_2020_CL" | "SMPTE_2085" | "CD_NCL" | "CD_CL" | "ITU_2100ICtCp" | "IPT" | "EBU3213" | "LAST"; export interface Metadata { ETag?: string; FileSize?: number; @@ -3250,9 +2313,7 @@ export interface Mp4Settings { SigningKmsKey?: string; } export type MpdAccessibilityCaptionHints = "INCLUDE" | "EXCLUDE"; -export type MpdAudioDuration = - | "DEFAULT_CODEC_DURATION" - | "MATCH_VIDEO_DURATION"; +export type MpdAudioDuration = "DEFAULT_CODEC_DURATION" | "MATCH_VIDEO_DURATION"; export type MpdCaptionContainerType = "RAW" | "FRAGMENTED_MP4"; export type MpdKlvMetadata = "NONE" | "PASSTHROUGH"; export type MpdManifestMetadataSignaling = "ENABLED" | "DISABLED"; @@ -3278,24 +2339,10 @@ export type Mpeg2CodecLevel = "AUTO" | "LOW" | "MAIN" | "HIGH1440" | "HIGH"; export type Mpeg2CodecProfile = "MAIN" | "PROFILE_422"; export type Mpeg2DynamicSubGop = "ADAPTIVE" | "STATIC"; export type Mpeg2FramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type Mpeg2FramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; +export type Mpeg2FramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; export type Mpeg2GopSizeUnits = "FRAMES" | "SECONDS"; -export type Mpeg2InterlaceMode = - | "PROGRESSIVE" - | "TOP_FIELD" - | "BOTTOM_FIELD" - | "FOLLOW_TOP_FIELD" - | "FOLLOW_BOTTOM_FIELD"; -export type Mpeg2IntraDcPrecision = - | "AUTO" - | "INTRA_DC_PRECISION_8" - | "INTRA_DC_PRECISION_9" - | "INTRA_DC_PRECISION_10" - | "INTRA_DC_PRECISION_11"; +export type Mpeg2InterlaceMode = "PROGRESSIVE" | "TOP_FIELD" | "BOTTOM_FIELD" | "FOLLOW_TOP_FIELD" | "FOLLOW_BOTTOM_FIELD"; +export type Mpeg2IntraDcPrecision = "AUTO" | "INTRA_DC_PRECISION_8" | "INTRA_DC_PRECISION_9" | "INTRA_DC_PRECISION_10" | "INTRA_DC_PRECISION_11"; export type Mpeg2ParControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; export type Mpeg2QualityTuningLevel = "SINGLE_PASS" | "MULTI_PASS"; export type Mpeg2RateControlMode = "VBR" | "CBR"; @@ -3369,9 +2416,7 @@ export interface MxfSettings { Profile?: MxfProfile; XavcProfileSettings?: MxfXavcProfileSettings; } -export type MxfXavcDurationMode = - | "ALLOW_ANY_DURATION" - | "DROP_FRAMES_FOR_COMPLIANCE"; +export type MxfXavcDurationMode = "ALLOW_ANY_DURATION" | "DROP_FRAMES_FOR_COMPLIANCE"; export interface MxfXavcProfileSettings { DurationMode?: MxfXavcDurationMode; MaxAncDataSize?: number; @@ -3382,10 +2427,7 @@ export interface NexGuardFileMarkerSettings { Preset?: string; Strength?: WatermarkingStrength; } -export type NielsenActiveWatermarkProcessType = - | "NAES2_AND_NW" - | "CBET" - | "NAES2_AND_NW_AND_CBET"; +export type NielsenActiveWatermarkProcessType = "NAES2_AND_NW" | "CBET" | "NAES2_AND_NW_AND_CBET"; export interface NielsenConfiguration { BreakoutCode?: number; DistributorId?: string; @@ -3404,29 +2446,16 @@ export interface NielsenNonLinearWatermarkSettings { UniqueTicPerAudioTrack?: NielsenUniqueTicPerAudioTrackType; } export type NielsenSourceWatermarkStatusType = "CLEAN" | "WATERMARKED"; -export type NielsenUniqueTicPerAudioTrackType = - | "RESERVE_UNIQUE_TICS_PER_TRACK" - | "SAME_TICS_PER_TRACK"; +export type NielsenUniqueTicPerAudioTrackType = "RESERVE_UNIQUE_TICS_PER_TRACK" | "SAME_TICS_PER_TRACK"; export type NoiseFilterPostTemporalSharpening = "DISABLED" | "ENABLED" | "AUTO"; -export type NoiseFilterPostTemporalSharpeningStrength = - | "LOW" - | "MEDIUM" - | "HIGH"; +export type NoiseFilterPostTemporalSharpeningStrength = "LOW" | "MEDIUM" | "HIGH"; export interface NoiseReducer { Filter?: NoiseReducerFilter; FilterSettings?: NoiseReducerFilterSettings; SpatialFilterSettings?: NoiseReducerSpatialFilterSettings; TemporalFilterSettings?: NoiseReducerTemporalFilterSettings; } -export type NoiseReducerFilter = - | "BILATERAL" - | "MEAN" - | "GAUSSIAN" - | "LANCZOS" - | "SHARPEN" - | "CONSERVE" - | "SPATIAL" - | "TEMPORAL"; +export type NoiseReducerFilter = "BILATERAL" | "MEAN" | "GAUSSIAN" | "LANCZOS" | "SHARPEN" | "CONSERVE" | "SPATIAL" | "TEMPORAL"; export interface NoiseReducerFilterSettings { Strength?: number; } @@ -3490,17 +2519,8 @@ export interface OutputGroupSettings { PerFrameMetrics?: Array; Type?: OutputGroupType; } -export type OutputGroupType = - | "HLS_GROUP_SETTINGS" - | "DASH_ISO_GROUP_SETTINGS" - | "FILE_GROUP_SETTINGS" - | "MS_SMOOTH_GROUP_SETTINGS" - | "CMAF_GROUP_SETTINGS"; -export type OutputSdt = - | "SDT_FOLLOW" - | "SDT_FOLLOW_IF_PRESENT" - | "SDT_MANUAL" - | "SDT_NONE"; +export type OutputGroupType = "HLS_GROUP_SETTINGS" | "DASH_ISO_GROUP_SETTINGS" | "FILE_GROUP_SETTINGS" | "MS_SMOOTH_GROUP_SETTINGS" | "CMAF_GROUP_SETTINGS"; +export type OutputSdt = "SDT_FOLLOW" | "SDT_FOLLOW_IF_PRESENT" | "SDT_MANUAL" | "SDT_NONE"; export interface OutputSettings { HlsSettings?: HlsSettings; } @@ -3533,23 +2553,8 @@ export interface PresetSettings { ContainerSettings?: ContainerSettings; VideoDescription?: VideoDescription; } -export type PresetSpeke20Audio = - | "PRESET_AUDIO_1" - | "PRESET_AUDIO_2" - | "PRESET_AUDIO_3" - | "SHARED" - | "UNENCRYPTED"; -export type PresetSpeke20Video = - | "PRESET_VIDEO_1" - | "PRESET_VIDEO_2" - | "PRESET_VIDEO_3" - | "PRESET_VIDEO_4" - | "PRESET_VIDEO_5" - | "PRESET_VIDEO_6" - | "PRESET_VIDEO_7" - | "PRESET_VIDEO_8" - | "SHARED" - | "UNENCRYPTED"; +export type PresetSpeke20Audio = "PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED"; +export type PresetSpeke20Video = "PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED"; export type PricingPlan = "ON_DEMAND" | "RESERVED"; export interface ProbeInputFile { FileUrl?: string; @@ -3566,25 +2571,10 @@ export interface ProbeResult { TrackMappings?: Array; } export type ProresChromaSampling = "PRESERVE_444_SAMPLING" | "SUBSAMPLE_TO_422"; -export type ProresCodecProfile = - | "APPLE_PRORES_422" - | "APPLE_PRORES_422_HQ" - | "APPLE_PRORES_422_LT" - | "APPLE_PRORES_422_PROXY" - | "APPLE_PRORES_4444" - | "APPLE_PRORES_4444_XQ"; +export type ProresCodecProfile = "APPLE_PRORES_422" | "APPLE_PRORES_422_HQ" | "APPLE_PRORES_422_LT" | "APPLE_PRORES_422_PROXY" | "APPLE_PRORES_4444" | "APPLE_PRORES_4444_XQ"; export type ProresFramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type ProresFramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; -export type ProresInterlaceMode = - | "PROGRESSIVE" - | "TOP_FIELD" - | "BOTTOM_FIELD" - | "FOLLOW_TOP_FIELD" - | "FOLLOW_BOTTOM_FIELD"; +export type ProresFramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; +export type ProresInterlaceMode = "PROGRESSIVE" | "TOP_FIELD" | "BOTTOM_FIELD" | "FOLLOW_TOP_FIELD" | "FOLLOW_BOTTOM_FIELD"; export type ProresParControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; export type ProresScanTypeConversionMode = "INTERLACED" | "INTERLACED_OPTIMIZE"; export interface ProresSettings { @@ -3668,11 +2658,7 @@ export interface ResourceTags { Tags?: Record; } export type RespondToAfd = "NONE" | "RESPOND" | "PASSTHROUGH"; -export type RuleType = - | "MIN_TOP_RENDITION_SIZE" - | "MIN_BOTTOM_RENDITION_SIZE" - | "FORCE_INCLUDE_RENDITIONS" - | "ALLOWED_RENDITIONS"; +export type RuleType = "MIN_TOP_RENDITION_SIZE" | "MIN_BOTTOM_RENDITION_SIZE" | "FORCE_INCLUDE_RENDITIONS" | "ALLOWED_RENDITIONS"; export interface S3DestinationAccessControl { CannedAcl?: S3ObjectCannedAcl; } @@ -3686,38 +2672,12 @@ export interface S3EncryptionSettings { KmsEncryptionContext?: string; KmsKeyArn?: string; } -export type S3ObjectCannedAcl = - | "PUBLIC_READ" - | "AUTHENTICATED_READ" - | "BUCKET_OWNER_READ" - | "BUCKET_OWNER_FULL_CONTROL"; -export type S3ServerSideEncryptionType = - | "SERVER_SIDE_ENCRYPTION_S3" - | "SERVER_SIDE_ENCRYPTION_KMS"; -export type S3StorageClass = - | "STANDARD" - | "REDUCED_REDUNDANCY" - | "STANDARD_IA" - | "ONEZONE_IA" - | "INTELLIGENT_TIERING" - | "GLACIER" - | "DEEP_ARCHIVE"; -export type SampleRangeConversion = - | "LIMITED_RANGE_SQUEEZE" - | "NONE" - | "LIMITED_RANGE_CLIP"; -export type ScalingBehavior = - | "DEFAULT" - | "STRETCH_TO_OUTPUT" - | "FIT" - | "FIT_NO_UPSCALE" - | "FILL"; -export type SccDestinationFramerate = - | "FRAMERATE_23_97" - | "FRAMERATE_24" - | "FRAMERATE_25" - | "FRAMERATE_29_97_DROPFRAME" - | "FRAMERATE_29_97_NON_DROPFRAME"; +export type S3ObjectCannedAcl = "PUBLIC_READ" | "AUTHENTICATED_READ" | "BUCKET_OWNER_READ" | "BUCKET_OWNER_FULL_CONTROL"; +export type S3ServerSideEncryptionType = "SERVER_SIDE_ENCRYPTION_S3" | "SERVER_SIDE_ENCRYPTION_KMS"; +export type S3StorageClass = "STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE"; +export type SampleRangeConversion = "LIMITED_RANGE_SQUEEZE" | "NONE" | "LIMITED_RANGE_CLIP"; +export type ScalingBehavior = "DEFAULT" | "STRETCH_TO_OUTPUT" | "FIT" | "FIT_NO_UPSCALE" | "FILL"; +export type SccDestinationFramerate = "FRAMERATE_23_97" | "FRAMERATE_24" | "FRAMERATE_25" | "FRAMERATE_29_97_DROPFRAME" | "FRAMERATE_29_97_NON_DROPFRAME"; export interface SccDestinationSettings { Framerate?: SccDestinationFramerate; } @@ -3781,41 +2741,19 @@ export interface StaticKeyProvider { StaticKeyValue?: string; Url?: string; } -export type StatusUpdateInterval = - | "SECONDS_10" - | "SECONDS_12" - | "SECONDS_15" - | "SECONDS_20" - | "SECONDS_30" - | "SECONDS_60" - | "SECONDS_120" - | "SECONDS_180" - | "SECONDS_240" - | "SECONDS_300" - | "SECONDS_360" - | "SECONDS_420" - | "SECONDS_480" - | "SECONDS_540" - | "SECONDS_600"; +export type StatusUpdateInterval = "SECONDS_10" | "SECONDS_12" | "SECONDS_15" | "SECONDS_20" | "SECONDS_30" | "SECONDS_60" | "SECONDS_120" | "SECONDS_180" | "SECONDS_240" | "SECONDS_300" | "SECONDS_360" | "SECONDS_420" | "SECONDS_480" | "SECONDS_540" | "SECONDS_600"; export interface TagResourceRequest { Arn: string; Tags: Record; } -export interface TagResourceResponse {} -export type TamsGapHandling = - | "SKIP_GAPS" - | "FILL_WITH_BLACK" - | "HOLD_LAST_FRAME"; +export interface TagResourceResponse { +} +export type TamsGapHandling = "SKIP_GAPS" | "FILL_WITH_BLACK" | "HOLD_LAST_FRAME"; export interface TeletextDestinationSettings { PageNumber?: string; PageTypes?: Array; } -export type TeletextPageType = - | "PAGE_TYPE_INITIAL" - | "PAGE_TYPE_SUBTITLE" - | "PAGE_TYPE_ADDL_INFO" - | "PAGE_TYPE_PROGRAM_SCHEDULE" - | "PAGE_TYPE_HEARING_IMPAIRED_SUBTITLE"; +export type TeletextPageType = "PAGE_TYPE_INITIAL" | "PAGE_TYPE_SUBTITLE" | "PAGE_TYPE_ADDL_INFO" | "PAGE_TYPE_PROGRAM_SCHEDULE" | "PAGE_TYPE_HEARING_IMPAIRED_SUBTITLE"; export interface TeletextSourceSettings { PageNumber?: string; } @@ -3824,16 +2762,7 @@ export interface TimecodeBurnin { Position?: TimecodeBurninPosition; Prefix?: string; } -export type TimecodeBurninPosition = - | "TOP_CENTER" - | "TOP_LEFT" - | "TOP_RIGHT" - | "MIDDLE_LEFT" - | "MIDDLE_CENTER" - | "MIDDLE_RIGHT" - | "BOTTOM_LEFT" - | "BOTTOM_CENTER" - | "BOTTOM_RIGHT"; +export type TimecodeBurninPosition = "TOP_CENTER" | "TOP_LEFT" | "TOP_RIGHT" | "MIDDLE_LEFT" | "MIDDLE_CENTER" | "MIDDLE_RIGHT" | "BOTTOM_LEFT" | "BOTTOM_CENTER" | "BOTTOM_RIGHT"; export interface TimecodeConfig { Anchor?: string; Source?: TimecodeSource; @@ -3875,26 +2804,7 @@ export interface TrackSourceSettings { TrackNumber?: number; } export type TrackType = "video" | "audio" | "data"; -export type TransferCharacteristics = - | "ITU_709" - | "UNSPECIFIED" - | "RESERVED" - | "ITU_470M" - | "ITU_470BG" - | "SMPTE_170M" - | "SMPTE_240M" - | "LINEAR" - | "LOG10_2" - | "LOC10_2_5" - | "IEC_61966_2_4" - | "ITU_1361" - | "IEC_61966_2_1" - | "ITU_2020_10bit" - | "ITU_2020_12bit" - | "SMPTE_2084" - | "SMPTE_428_1" - | "ARIB_B67" - | "LAST"; +export type TransferCharacteristics = "ITU_709" | "UNSPECIFIED" | "RESERVED" | "ITU_470M" | "ITU_470BG" | "SMPTE_170M" | "SMPTE_240M" | "LINEAR" | "LOG10_2" | "LOC10_2_5" | "IEC_61966_2_4" | "ITU_1361" | "IEC_61966_2_1" | "ITU_2020_10bit" | "ITU_2020_12bit" | "SMPTE_2084" | "SMPTE_428_1" | "ARIB_B67" | "LAST"; export type TsPtsOffset = "AUTO" | "SECONDS" | "MILLISECONDS"; export interface TtmlDestinationSettings { StylePassthrough?: TtmlStylePassthrough; @@ -3902,18 +2812,10 @@ export interface TtmlDestinationSettings { export type TtmlStylePassthrough = "ENABLED" | "DISABLED"; export type Type = "SYSTEM" | "CUSTOM"; export type UncompressedFourcc = "I420" | "I422" | "I444"; -export type UncompressedFramerateControl = - | "INITIALIZE_FROM_SOURCE" - | "SPECIFIED"; -export type UncompressedFramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; +export type UncompressedFramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; +export type UncompressedFramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; export type UncompressedInterlaceMode = "INTERLACED" | "PROGRESSIVE"; -export type UncompressedScanTypeConversionMode = - | "INTERLACED" - | "INTERLACED_OPTIMIZE"; +export type UncompressedScanTypeConversionMode = "INTERLACED" | "INTERLACED_OPTIMIZE"; export interface UncompressedSettings { Fourcc?: UncompressedFourcc; FramerateControl?: UncompressedFramerateControl; @@ -3931,7 +2833,8 @@ export interface UntagResourceRequest { Arn: string; TagKeys?: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateJobTemplateRequest { AccelerationSettings?: AccelerationSettings; Category?: string; @@ -3967,11 +2870,7 @@ export interface UpdateQueueResponse { } export type Vc3Class = "CLASS_145_8BIT" | "CLASS_220_8BIT" | "CLASS_220_10BIT"; export type Vc3FramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type Vc3FramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; +export type Vc3FramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; export type Vc3InterlaceMode = "INTERLACED" | "PROGRESSIVE"; export type Vc3ScanTypeConversionMode = "INTERLACED" | "INTERLACED_OPTIMIZE"; export interface Vc3Settings { @@ -3988,21 +2887,7 @@ export interface Vc3Settings { export type Vc3SlowPal = "DISABLED" | "ENABLED"; export type Vc3Telecine = "NONE" | "HARD"; export type VchipAction = "PASSTHROUGH" | "STRIP"; -export type VideoCodec = - | "AV1" - | "AVC_INTRA" - | "FRAME_CAPTURE" - | "GIF" - | "H_264" - | "H_265" - | "MPEG2" - | "PASSTHROUGH" - | "PRORES" - | "UNCOMPRESSED" - | "VC3" - | "VP8" - | "VP9" - | "XAVC"; +export type VideoCodec = "AV1" | "AVC_INTRA" | "FRAME_CAPTURE" | "GIF" | "H_264" | "H_265" | "MPEG2" | "PASSTHROUGH" | "PRORES" | "UNCOMPRESSED" | "VC3" | "VP8" | "VP9" | "XAVC"; export interface VideoCodecSettings { Av1Settings?: Av1Settings; AvcIntraSettings?: AvcIntraSettings; @@ -4129,11 +3014,7 @@ export interface VorbisSettings { VbrQuality?: number; } export type Vp8FramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type Vp8FramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; +export type Vp8FramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; export type Vp8ParControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; export type Vp8QualityTuningLevel = "MULTI_PASS" | "MULTI_PASS_HQ"; export type Vp8RateControlMode = "VBR"; @@ -4153,11 +3034,7 @@ export interface Vp8Settings { RateControlMode?: Vp8RateControlMode; } export type Vp9FramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type Vp9FramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; +export type Vp9FramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; export type Vp9ParControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; export type Vp9QualityTuningLevel = "MULTI_PASS" | "MULTI_PASS_HQ"; export type Vp9RateControlMode = "VBR"; @@ -4180,12 +3057,7 @@ export interface WarningGroup { Code: number; Count: number; } -export type WatermarkingStrength = - | "LIGHTEST" - | "LIGHTER" - | "DEFAULT" - | "STRONGER" - | "STRONGEST"; +export type WatermarkingStrength = "LIGHTEST" | "LIGHTER" | "DEFAULT" | "STRONGER" | "STRONGEST"; export type WavFormat = "RIFF" | "RF64" | "EXTENSIBLE"; export interface WavSettings { BitDepth?: number; @@ -4203,34 +3075,18 @@ export interface WebvttHlsSourceSettings { RenditionLanguageCode?: LanguageCode; RenditionName?: string; } -export type WebvttStylePassthrough = - | "ENABLED" - | "DISABLED" - | "STRICT" - | "MERGE"; -export type Xavc4kIntraCbgProfileClass = - | "CLASS_100" - | "CLASS_300" - | "CLASS_480"; +export type WebvttStylePassthrough = "ENABLED" | "DISABLED" | "STRICT" | "MERGE"; +export type Xavc4kIntraCbgProfileClass = "CLASS_100" | "CLASS_300" | "CLASS_480"; export interface Xavc4kIntraCbgProfileSettings { XavcClass?: Xavc4kIntraCbgProfileClass; } -export type Xavc4kIntraVbrProfileClass = - | "CLASS_100" - | "CLASS_300" - | "CLASS_480"; +export type Xavc4kIntraVbrProfileClass = "CLASS_100" | "CLASS_300" | "CLASS_480"; export interface Xavc4kIntraVbrProfileSettings { XavcClass?: Xavc4kIntraVbrProfileClass; } -export type Xavc4kProfileBitrateClass = - | "BITRATE_CLASS_100" - | "BITRATE_CLASS_140" - | "BITRATE_CLASS_200"; +export type Xavc4kProfileBitrateClass = "BITRATE_CLASS_100" | "BITRATE_CLASS_140" | "BITRATE_CLASS_200"; export type Xavc4kProfileCodecProfile = "HIGH" | "HIGH_422"; -export type Xavc4kProfileQualityTuningLevel = - | "SINGLE_PASS" - | "SINGLE_PASS_HQ" - | "MULTI_PASS_HQ"; +export type Xavc4kProfileQualityTuningLevel = "SINGLE_PASS" | "SINGLE_PASS_HQ" | "MULTI_PASS_HQ"; export interface Xavc4kProfileSettings { BitrateClass?: Xavc4kProfileBitrateClass; CodecProfile?: Xavc4kProfileCodecProfile; @@ -4241,35 +3097,18 @@ export interface Xavc4kProfileSettings { QualityTuningLevel?: Xavc4kProfileQualityTuningLevel; Slices?: number; } -export type XavcAdaptiveQuantization = - | "OFF" - | "AUTO" - | "LOW" - | "MEDIUM" - | "HIGH" - | "HIGHER" - | "MAX"; +export type XavcAdaptiveQuantization = "OFF" | "AUTO" | "LOW" | "MEDIUM" | "HIGH" | "HIGHER" | "MAX"; export type XavcEntropyEncoding = "AUTO" | "CABAC" | "CAVLC"; export type XavcFlickerAdaptiveQuantization = "DISABLED" | "ENABLED"; export type XavcFramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type XavcFramerateConversionAlgorithm = - | "DUPLICATE_DROP" - | "INTERPOLATE" - | "FRAMEFORMER" - | "MAINTAIN_FRAME_COUNT"; +export type XavcFramerateConversionAlgorithm = "DUPLICATE_DROP" | "INTERPOLATE" | "FRAMEFORMER" | "MAINTAIN_FRAME_COUNT"; export type XavcGopBReference = "DISABLED" | "ENABLED"; export type XavcHdIntraCbgProfileClass = "CLASS_50" | "CLASS_100" | "CLASS_200"; export interface XavcHdIntraCbgProfileSettings { XavcClass?: XavcHdIntraCbgProfileClass; } -export type XavcHdProfileBitrateClass = - | "BITRATE_CLASS_25" - | "BITRATE_CLASS_35" - | "BITRATE_CLASS_50"; -export type XavcHdProfileQualityTuningLevel = - | "SINGLE_PASS" - | "SINGLE_PASS_HQ" - | "MULTI_PASS_HQ"; +export type XavcHdProfileBitrateClass = "BITRATE_CLASS_25" | "BITRATE_CLASS_35" | "BITRATE_CLASS_50"; +export type XavcHdProfileQualityTuningLevel = "SINGLE_PASS" | "SINGLE_PASS_HQ" | "MULTI_PASS_HQ"; export interface XavcHdProfileSettings { BitrateClass?: XavcHdProfileBitrateClass; FlickerAdaptiveQuantization?: XavcFlickerAdaptiveQuantization; @@ -4282,18 +3121,8 @@ export interface XavcHdProfileSettings { Telecine?: XavcHdProfileTelecine; } export type XavcHdProfileTelecine = "NONE" | "HARD"; -export type XavcInterlaceMode = - | "PROGRESSIVE" - | "TOP_FIELD" - | "BOTTOM_FIELD" - | "FOLLOW_TOP_FIELD" - | "FOLLOW_BOTTOM_FIELD"; -export type XavcProfile = - | "XAVC_HD_INTRA_CBG" - | "XAVC_4K_INTRA_CBG" - | "XAVC_4K_INTRA_VBR" - | "XAVC_HD" - | "XAVC_4K"; +export type XavcInterlaceMode = "PROGRESSIVE" | "TOP_FIELD" | "BOTTOM_FIELD" | "FOLLOW_TOP_FIELD" | "FOLLOW_BOTTOM_FIELD"; +export type XavcProfile = "XAVC_HD_INTRA_CBG" | "XAVC_4K_INTRA_CBG" | "XAVC_4K_INTRA_VBR" | "XAVC_HD" | "XAVC_4K"; export interface XavcSettings { AdaptiveQuantization?: XavcAdaptiveQuantization; EntropyEncoding?: XavcEntropyEncoding; @@ -4792,12 +3621,5 @@ export declare namespace UpdateQueue { | CommonAwsError; } -export type MediaConvertErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | CommonAwsError; +export type MediaConvertErrors = BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceQuotaExceededException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/medialive/index.ts b/src/services/medialive/index.ts index d7d73092..343c6237 100644 --- a/src/services/medialive/index.ts +++ b/src/services/medialive/index.ts @@ -5,26 +5,7 @@ import type { MediaLive as _MediaLiveClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,170 +15,138 @@ const metadata = { sigV4ServiceName: "medialive", endpointPrefix: "medialive", operations: { - AcceptInputDeviceTransfer: "POST /prod/inputDevices/{InputDeviceId}/accept", - BatchDelete: "POST /prod/batch/delete", - BatchStart: "POST /prod/batch/start", - BatchStop: "POST /prod/batch/stop", - BatchUpdateSchedule: "PUT /prod/channels/{ChannelId}/schedule", - CancelInputDeviceTransfer: "POST /prod/inputDevices/{InputDeviceId}/cancel", - ClaimDevice: "POST /prod/claimDevice", - CreateChannel: "POST /prod/channels", - CreateChannelPlacementGroup: - "POST /prod/clusters/{ClusterId}/channelplacementgroups", - CreateCloudWatchAlarmTemplate: "POST /prod/cloudwatch-alarm-templates", - CreateCloudWatchAlarmTemplateGroup: - "POST /prod/cloudwatch-alarm-template-groups", - CreateCluster: "POST /prod/clusters", - CreateEventBridgeRuleTemplate: "POST /prod/eventbridge-rule-templates", - CreateEventBridgeRuleTemplateGroup: - "POST /prod/eventbridge-rule-template-groups", - CreateInput: "POST /prod/inputs", - CreateInputSecurityGroup: "POST /prod/inputSecurityGroups", - CreateMultiplex: "POST /prod/multiplexes", - CreateMultiplexProgram: "POST /prod/multiplexes/{MultiplexId}/programs", - CreateNetwork: "POST /prod/networks", - CreateNode: "POST /prod/clusters/{ClusterId}/nodes", - CreateNodeRegistrationScript: - "POST /prod/clusters/{ClusterId}/nodeRegistrationScript", - CreatePartnerInput: "POST /prod/inputs/{InputId}/partners", - CreateSdiSource: "POST /prod/sdiSources", - CreateSignalMap: "POST /prod/signal-maps", - CreateTags: "POST /prod/tags/{ResourceArn}", - DeleteChannel: "DELETE /prod/channels/{ChannelId}", - DeleteChannelPlacementGroup: - "DELETE /prod/clusters/{ClusterId}/channelplacementgroups/{ChannelPlacementGroupId}", - DeleteCloudWatchAlarmTemplate: - "DELETE /prod/cloudwatch-alarm-templates/{Identifier}", - DeleteCloudWatchAlarmTemplateGroup: - "DELETE /prod/cloudwatch-alarm-template-groups/{Identifier}", - DeleteCluster: "DELETE /prod/clusters/{ClusterId}", - DeleteEventBridgeRuleTemplate: - "DELETE /prod/eventbridge-rule-templates/{Identifier}", - DeleteEventBridgeRuleTemplateGroup: - "DELETE /prod/eventbridge-rule-template-groups/{Identifier}", - DeleteInput: "DELETE /prod/inputs/{InputId}", - DeleteInputSecurityGroup: - "DELETE /prod/inputSecurityGroups/{InputSecurityGroupId}", - DeleteMultiplex: "DELETE /prod/multiplexes/{MultiplexId}", - DeleteMultiplexProgram: - "DELETE /prod/multiplexes/{MultiplexId}/programs/{ProgramName}", - DeleteNetwork: "DELETE /prod/networks/{NetworkId}", - DeleteNode: "DELETE /prod/clusters/{ClusterId}/nodes/{NodeId}", - DeleteReservation: "DELETE /prod/reservations/{ReservationId}", - DeleteSchedule: "DELETE /prod/channels/{ChannelId}/schedule", - DeleteSdiSource: "DELETE /prod/sdiSources/{SdiSourceId}", - DeleteSignalMap: "DELETE /prod/signal-maps/{Identifier}", - DeleteTags: "DELETE /prod/tags/{ResourceArn}", - DescribeAccountConfiguration: "GET /prod/accountConfiguration", - DescribeChannel: "GET /prod/channels/{ChannelId}", - DescribeChannelPlacementGroup: - "GET /prod/clusters/{ClusterId}/channelplacementgroups/{ChannelPlacementGroupId}", - DescribeCluster: "GET /prod/clusters/{ClusterId}", - DescribeInput: "GET /prod/inputs/{InputId}", - DescribeInputDevice: "GET /prod/inputDevices/{InputDeviceId}", - DescribeInputDeviceThumbnail: { + "AcceptInputDeviceTransfer": "POST /prod/inputDevices/{InputDeviceId}/accept", + "BatchDelete": "POST /prod/batch/delete", + "BatchStart": "POST /prod/batch/start", + "BatchStop": "POST /prod/batch/stop", + "BatchUpdateSchedule": "PUT /prod/channels/{ChannelId}/schedule", + "CancelInputDeviceTransfer": "POST /prod/inputDevices/{InputDeviceId}/cancel", + "ClaimDevice": "POST /prod/claimDevice", + "CreateChannel": "POST /prod/channels", + "CreateChannelPlacementGroup": "POST /prod/clusters/{ClusterId}/channelplacementgroups", + "CreateCloudWatchAlarmTemplate": "POST /prod/cloudwatch-alarm-templates", + "CreateCloudWatchAlarmTemplateGroup": "POST /prod/cloudwatch-alarm-template-groups", + "CreateCluster": "POST /prod/clusters", + "CreateEventBridgeRuleTemplate": "POST /prod/eventbridge-rule-templates", + "CreateEventBridgeRuleTemplateGroup": "POST /prod/eventbridge-rule-template-groups", + "CreateInput": "POST /prod/inputs", + "CreateInputSecurityGroup": "POST /prod/inputSecurityGroups", + "CreateMultiplex": "POST /prod/multiplexes", + "CreateMultiplexProgram": "POST /prod/multiplexes/{MultiplexId}/programs", + "CreateNetwork": "POST /prod/networks", + "CreateNode": "POST /prod/clusters/{ClusterId}/nodes", + "CreateNodeRegistrationScript": "POST /prod/clusters/{ClusterId}/nodeRegistrationScript", + "CreatePartnerInput": "POST /prod/inputs/{InputId}/partners", + "CreateSdiSource": "POST /prod/sdiSources", + "CreateSignalMap": "POST /prod/signal-maps", + "CreateTags": "POST /prod/tags/{ResourceArn}", + "DeleteChannel": "DELETE /prod/channels/{ChannelId}", + "DeleteChannelPlacementGroup": "DELETE /prod/clusters/{ClusterId}/channelplacementgroups/{ChannelPlacementGroupId}", + "DeleteCloudWatchAlarmTemplate": "DELETE /prod/cloudwatch-alarm-templates/{Identifier}", + "DeleteCloudWatchAlarmTemplateGroup": "DELETE /prod/cloudwatch-alarm-template-groups/{Identifier}", + "DeleteCluster": "DELETE /prod/clusters/{ClusterId}", + "DeleteEventBridgeRuleTemplate": "DELETE /prod/eventbridge-rule-templates/{Identifier}", + "DeleteEventBridgeRuleTemplateGroup": "DELETE /prod/eventbridge-rule-template-groups/{Identifier}", + "DeleteInput": "DELETE /prod/inputs/{InputId}", + "DeleteInputSecurityGroup": "DELETE /prod/inputSecurityGroups/{InputSecurityGroupId}", + "DeleteMultiplex": "DELETE /prod/multiplexes/{MultiplexId}", + "DeleteMultiplexProgram": "DELETE /prod/multiplexes/{MultiplexId}/programs/{ProgramName}", + "DeleteNetwork": "DELETE /prod/networks/{NetworkId}", + "DeleteNode": "DELETE /prod/clusters/{ClusterId}/nodes/{NodeId}", + "DeleteReservation": "DELETE /prod/reservations/{ReservationId}", + "DeleteSchedule": "DELETE /prod/channels/{ChannelId}/schedule", + "DeleteSdiSource": "DELETE /prod/sdiSources/{SdiSourceId}", + "DeleteSignalMap": "DELETE /prod/signal-maps/{Identifier}", + "DeleteTags": "DELETE /prod/tags/{ResourceArn}", + "DescribeAccountConfiguration": "GET /prod/accountConfiguration", + "DescribeChannel": "GET /prod/channels/{ChannelId}", + "DescribeChannelPlacementGroup": "GET /prod/clusters/{ClusterId}/channelplacementgroups/{ChannelPlacementGroupId}", + "DescribeCluster": "GET /prod/clusters/{ClusterId}", + "DescribeInput": "GET /prod/inputs/{InputId}", + "DescribeInputDevice": "GET /prod/inputDevices/{InputDeviceId}", + "DescribeInputDeviceThumbnail": { http: "GET /prod/inputDevices/{InputDeviceId}/thumbnailData", traits: { - Body: "httpPayload", - ContentType: "Content-Type", - ContentLength: "Content-Length", - ETag: "ETag", - LastModified: "Last-Modified", + "Body": "httpPayload", + "ContentType": "Content-Type", + "ContentLength": "Content-Length", + "ETag": "ETag", + "LastModified": "Last-Modified", }, }, - DescribeInputSecurityGroup: - "GET /prod/inputSecurityGroups/{InputSecurityGroupId}", - DescribeMultiplex: "GET /prod/multiplexes/{MultiplexId}", - DescribeMultiplexProgram: - "GET /prod/multiplexes/{MultiplexId}/programs/{ProgramName}", - DescribeNetwork: "GET /prod/networks/{NetworkId}", - DescribeNode: "GET /prod/clusters/{ClusterId}/nodes/{NodeId}", - DescribeOffering: "GET /prod/offerings/{OfferingId}", - DescribeReservation: "GET /prod/reservations/{ReservationId}", - DescribeSchedule: "GET /prod/channels/{ChannelId}/schedule", - DescribeSdiSource: "GET /prod/sdiSources/{SdiSourceId}", - DescribeThumbnails: "GET /prod/channels/{ChannelId}/thumbnails", - GetCloudWatchAlarmTemplate: - "GET /prod/cloudwatch-alarm-templates/{Identifier}", - GetCloudWatchAlarmTemplateGroup: - "GET /prod/cloudwatch-alarm-template-groups/{Identifier}", - GetEventBridgeRuleTemplate: - "GET /prod/eventbridge-rule-templates/{Identifier}", - GetEventBridgeRuleTemplateGroup: - "GET /prod/eventbridge-rule-template-groups/{Identifier}", - GetSignalMap: "GET /prod/signal-maps/{Identifier}", - ListAlerts: "GET /prod/channels/{ChannelId}/alerts", - ListChannelPlacementGroups: - "GET /prod/clusters/{ClusterId}/channelplacementgroups", - ListChannels: "GET /prod/channels", - ListCloudWatchAlarmTemplateGroups: - "GET /prod/cloudwatch-alarm-template-groups", - ListCloudWatchAlarmTemplates: "GET /prod/cloudwatch-alarm-templates", - ListClusterAlerts: "GET /prod/clusters/{ClusterId}/alerts", - ListClusters: "GET /prod/clusters", - ListEventBridgeRuleTemplateGroups: - "GET /prod/eventbridge-rule-template-groups", - ListEventBridgeRuleTemplates: "GET /prod/eventbridge-rule-templates", - ListInputDevices: "GET /prod/inputDevices", - ListInputDeviceTransfers: "GET /prod/inputDeviceTransfers", - ListInputs: "GET /prod/inputs", - ListInputSecurityGroups: "GET /prod/inputSecurityGroups", - ListMultiplexAlerts: "GET /prod/multiplexes/{MultiplexId}/alerts", - ListMultiplexes: "GET /prod/multiplexes", - ListMultiplexPrograms: "GET /prod/multiplexes/{MultiplexId}/programs", - ListNetworks: "GET /prod/networks", - ListNodes: "GET /prod/clusters/{ClusterId}/nodes", - ListOfferings: "GET /prod/offerings", - ListReservations: "GET /prod/reservations", - ListSdiSources: "GET /prod/sdiSources", - ListSignalMaps: "GET /prod/signal-maps", - ListTagsForResource: "GET /prod/tags/{ResourceArn}", - ListVersions: "GET /prod/versions", - PurchaseOffering: "POST /prod/offerings/{OfferingId}/purchase", - RebootInputDevice: "POST /prod/inputDevices/{InputDeviceId}/reboot", - RejectInputDeviceTransfer: "POST /prod/inputDevices/{InputDeviceId}/reject", - RestartChannelPipelines: - "POST /prod/channels/{ChannelId}/restartChannelPipelines", - StartChannel: "POST /prod/channels/{ChannelId}/start", - StartDeleteMonitorDeployment: - "DELETE /prod/signal-maps/{Identifier}/monitor-deployment", - StartInputDevice: "POST /prod/inputDevices/{InputDeviceId}/start", - StartInputDeviceMaintenanceWindow: - "POST /prod/inputDevices/{InputDeviceId}/startInputDeviceMaintenanceWindow", - StartMonitorDeployment: - "POST /prod/signal-maps/{Identifier}/monitor-deployment", - StartMultiplex: "POST /prod/multiplexes/{MultiplexId}/start", - StartUpdateSignalMap: "PATCH /prod/signal-maps/{Identifier}", - StopChannel: "POST /prod/channels/{ChannelId}/stop", - StopInputDevice: "POST /prod/inputDevices/{InputDeviceId}/stop", - StopMultiplex: "POST /prod/multiplexes/{MultiplexId}/stop", - TransferInputDevice: "POST /prod/inputDevices/{InputDeviceId}/transfer", - UpdateAccountConfiguration: "PUT /prod/accountConfiguration", - UpdateChannel: "PUT /prod/channels/{ChannelId}", - UpdateChannelClass: "PUT /prod/channels/{ChannelId}/channelClass", - UpdateChannelPlacementGroup: - "PUT /prod/clusters/{ClusterId}/channelplacementgroups/{ChannelPlacementGroupId}", - UpdateCloudWatchAlarmTemplate: - "PATCH /prod/cloudwatch-alarm-templates/{Identifier}", - UpdateCloudWatchAlarmTemplateGroup: - "PATCH /prod/cloudwatch-alarm-template-groups/{Identifier}", - UpdateCluster: "PUT /prod/clusters/{ClusterId}", - UpdateEventBridgeRuleTemplate: - "PATCH /prod/eventbridge-rule-templates/{Identifier}", - UpdateEventBridgeRuleTemplateGroup: - "PATCH /prod/eventbridge-rule-template-groups/{Identifier}", - UpdateInput: "PUT /prod/inputs/{InputId}", - UpdateInputDevice: "PUT /prod/inputDevices/{InputDeviceId}", - UpdateInputSecurityGroup: - "PUT /prod/inputSecurityGroups/{InputSecurityGroupId}", - UpdateMultiplex: "PUT /prod/multiplexes/{MultiplexId}", - UpdateMultiplexProgram: - "PUT /prod/multiplexes/{MultiplexId}/programs/{ProgramName}", - UpdateNetwork: "PUT /prod/networks/{NetworkId}", - UpdateNode: "PUT /prod/clusters/{ClusterId}/nodes/{NodeId}", - UpdateNodeState: "PUT /prod/clusters/{ClusterId}/nodes/{NodeId}/state", - UpdateReservation: "PUT /prod/reservations/{ReservationId}", - UpdateSdiSource: "PUT /prod/sdiSources/{SdiSourceId}", + "DescribeInputSecurityGroup": "GET /prod/inputSecurityGroups/{InputSecurityGroupId}", + "DescribeMultiplex": "GET /prod/multiplexes/{MultiplexId}", + "DescribeMultiplexProgram": "GET /prod/multiplexes/{MultiplexId}/programs/{ProgramName}", + "DescribeNetwork": "GET /prod/networks/{NetworkId}", + "DescribeNode": "GET /prod/clusters/{ClusterId}/nodes/{NodeId}", + "DescribeOffering": "GET /prod/offerings/{OfferingId}", + "DescribeReservation": "GET /prod/reservations/{ReservationId}", + "DescribeSchedule": "GET /prod/channels/{ChannelId}/schedule", + "DescribeSdiSource": "GET /prod/sdiSources/{SdiSourceId}", + "DescribeThumbnails": "GET /prod/channels/{ChannelId}/thumbnails", + "GetCloudWatchAlarmTemplate": "GET /prod/cloudwatch-alarm-templates/{Identifier}", + "GetCloudWatchAlarmTemplateGroup": "GET /prod/cloudwatch-alarm-template-groups/{Identifier}", + "GetEventBridgeRuleTemplate": "GET /prod/eventbridge-rule-templates/{Identifier}", + "GetEventBridgeRuleTemplateGroup": "GET /prod/eventbridge-rule-template-groups/{Identifier}", + "GetSignalMap": "GET /prod/signal-maps/{Identifier}", + "ListAlerts": "GET /prod/channels/{ChannelId}/alerts", + "ListChannelPlacementGroups": "GET /prod/clusters/{ClusterId}/channelplacementgroups", + "ListChannels": "GET /prod/channels", + "ListCloudWatchAlarmTemplateGroups": "GET /prod/cloudwatch-alarm-template-groups", + "ListCloudWatchAlarmTemplates": "GET /prod/cloudwatch-alarm-templates", + "ListClusterAlerts": "GET /prod/clusters/{ClusterId}/alerts", + "ListClusters": "GET /prod/clusters", + "ListEventBridgeRuleTemplateGroups": "GET /prod/eventbridge-rule-template-groups", + "ListEventBridgeRuleTemplates": "GET /prod/eventbridge-rule-templates", + "ListInputDevices": "GET /prod/inputDevices", + "ListInputDeviceTransfers": "GET /prod/inputDeviceTransfers", + "ListInputs": "GET /prod/inputs", + "ListInputSecurityGroups": "GET /prod/inputSecurityGroups", + "ListMultiplexAlerts": "GET /prod/multiplexes/{MultiplexId}/alerts", + "ListMultiplexes": "GET /prod/multiplexes", + "ListMultiplexPrograms": "GET /prod/multiplexes/{MultiplexId}/programs", + "ListNetworks": "GET /prod/networks", + "ListNodes": "GET /prod/clusters/{ClusterId}/nodes", + "ListOfferings": "GET /prod/offerings", + "ListReservations": "GET /prod/reservations", + "ListSdiSources": "GET /prod/sdiSources", + "ListSignalMaps": "GET /prod/signal-maps", + "ListTagsForResource": "GET /prod/tags/{ResourceArn}", + "ListVersions": "GET /prod/versions", + "PurchaseOffering": "POST /prod/offerings/{OfferingId}/purchase", + "RebootInputDevice": "POST /prod/inputDevices/{InputDeviceId}/reboot", + "RejectInputDeviceTransfer": "POST /prod/inputDevices/{InputDeviceId}/reject", + "RestartChannelPipelines": "POST /prod/channels/{ChannelId}/restartChannelPipelines", + "StartChannel": "POST /prod/channels/{ChannelId}/start", + "StartDeleteMonitorDeployment": "DELETE /prod/signal-maps/{Identifier}/monitor-deployment", + "StartInputDevice": "POST /prod/inputDevices/{InputDeviceId}/start", + "StartInputDeviceMaintenanceWindow": "POST /prod/inputDevices/{InputDeviceId}/startInputDeviceMaintenanceWindow", + "StartMonitorDeployment": "POST /prod/signal-maps/{Identifier}/monitor-deployment", + "StartMultiplex": "POST /prod/multiplexes/{MultiplexId}/start", + "StartUpdateSignalMap": "PATCH /prod/signal-maps/{Identifier}", + "StopChannel": "POST /prod/channels/{ChannelId}/stop", + "StopInputDevice": "POST /prod/inputDevices/{InputDeviceId}/stop", + "StopMultiplex": "POST /prod/multiplexes/{MultiplexId}/stop", + "TransferInputDevice": "POST /prod/inputDevices/{InputDeviceId}/transfer", + "UpdateAccountConfiguration": "PUT /prod/accountConfiguration", + "UpdateChannel": "PUT /prod/channels/{ChannelId}", + "UpdateChannelClass": "PUT /prod/channels/{ChannelId}/channelClass", + "UpdateChannelPlacementGroup": "PUT /prod/clusters/{ClusterId}/channelplacementgroups/{ChannelPlacementGroupId}", + "UpdateCloudWatchAlarmTemplate": "PATCH /prod/cloudwatch-alarm-templates/{Identifier}", + "UpdateCloudWatchAlarmTemplateGroup": "PATCH /prod/cloudwatch-alarm-template-groups/{Identifier}", + "UpdateCluster": "PUT /prod/clusters/{ClusterId}", + "UpdateEventBridgeRuleTemplate": "PATCH /prod/eventbridge-rule-templates/{Identifier}", + "UpdateEventBridgeRuleTemplateGroup": "PATCH /prod/eventbridge-rule-template-groups/{Identifier}", + "UpdateInput": "PUT /prod/inputs/{InputId}", + "UpdateInputDevice": "PUT /prod/inputDevices/{InputDeviceId}", + "UpdateInputSecurityGroup": "PUT /prod/inputSecurityGroups/{InputSecurityGroupId}", + "UpdateMultiplex": "PUT /prod/multiplexes/{MultiplexId}", + "UpdateMultiplexProgram": "PUT /prod/multiplexes/{MultiplexId}/programs/{ProgramName}", + "UpdateNetwork": "PUT /prod/networks/{NetworkId}", + "UpdateNode": "PUT /prod/clusters/{ClusterId}/nodes/{NodeId}", + "UpdateNodeState": "PUT /prod/clusters/{ClusterId}/nodes/{NodeId}/state", + "UpdateReservation": "PUT /prod/reservations/{ReservationId}", + "UpdateSdiSource": "PUT /prod/sdiSources/{SdiSourceId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/medialive/types.ts b/src/services/medialive/types.ts index 7151f46d..fb9a89b3 100644 --- a/src/services/medialive/types.ts +++ b/src/services/medialive/types.ts @@ -8,1584 +8,739 @@ export declare class MediaLive extends AWSServiceClient { input: AcceptInputDeviceTransferRequest, ): Effect.Effect< AcceptInputDeviceTransferResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; batchDelete( input: BatchDeleteRequest, ): Effect.Effect< BatchDeleteResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; batchStart( input: BatchStartRequest, ): Effect.Effect< BatchStartResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; batchStop( input: BatchStopRequest, ): Effect.Effect< BatchStopResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; batchUpdateSchedule( input: BatchUpdateScheduleRequest, ): Effect.Effect< BatchUpdateScheduleResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; cancelInputDeviceTransfer( input: CancelInputDeviceTransferRequest, ): Effect.Effect< CancelInputDeviceTransferResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; claimDevice( input: ClaimDeviceRequest, ): Effect.Effect< ClaimDeviceResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createChannel( input: CreateChannelRequest, ): Effect.Effect< CreateChannelResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createChannelPlacementGroup( input: CreateChannelPlacementGroupRequest, ): Effect.Effect< CreateChannelPlacementGroupResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createCloudWatchAlarmTemplate( input: CreateCloudWatchAlarmTemplateRequest, ): Effect.Effect< CreateCloudWatchAlarmTemplateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; createCloudWatchAlarmTemplateGroup( input: CreateCloudWatchAlarmTemplateGroupRequest, ): Effect.Effect< CreateCloudWatchAlarmTemplateGroupResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; createCluster( input: CreateClusterRequest, ): Effect.Effect< CreateClusterResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createEventBridgeRuleTemplate( input: CreateEventBridgeRuleTemplateRequest, ): Effect.Effect< CreateEventBridgeRuleTemplateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; createEventBridgeRuleTemplateGroup( input: CreateEventBridgeRuleTemplateGroupRequest, ): Effect.Effect< CreateEventBridgeRuleTemplateGroupResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; createInput( input: CreateInputRequest, ): Effect.Effect< CreateInputResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createInputSecurityGroup( input: CreateInputSecurityGroupRequest, ): Effect.Effect< CreateInputSecurityGroupResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createMultiplex( input: CreateMultiplexRequest, ): Effect.Effect< CreateMultiplexResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createMultiplexProgram( input: CreateMultiplexProgramRequest, ): Effect.Effect< CreateMultiplexProgramResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createNetwork( input: CreateNetworkRequest, ): Effect.Effect< CreateNetworkResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createNode( input: CreateNodeRequest, ): Effect.Effect< CreateNodeResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createNodeRegistrationScript( input: CreateNodeRegistrationScriptRequest, ): Effect.Effect< CreateNodeRegistrationScriptResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createPartnerInput( input: CreatePartnerInputRequest, ): Effect.Effect< CreatePartnerInputResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createSdiSource( input: CreateSdiSourceRequest, ): Effect.Effect< CreateSdiSourceResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createSignalMap( input: CreateSignalMapRequest, ): Effect.Effect< CreateSignalMapResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; createTags( input: CreateTagsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; deleteChannel( input: DeleteChannelRequest, ): Effect.Effect< DeleteChannelResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteChannelPlacementGroup( input: DeleteChannelPlacementGroupRequest, ): Effect.Effect< DeleteChannelPlacementGroupResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteCloudWatchAlarmTemplate( input: DeleteCloudWatchAlarmTemplateRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteCloudWatchAlarmTemplateGroup( input: DeleteCloudWatchAlarmTemplateGroupRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteCluster( input: DeleteClusterRequest, ): Effect.Effect< DeleteClusterResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteEventBridgeRuleTemplate( input: DeleteEventBridgeRuleTemplateRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteEventBridgeRuleTemplateGroup( input: DeleteEventBridgeRuleTemplateGroupRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteInput( input: DeleteInputRequest, ): Effect.Effect< DeleteInputResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteInputSecurityGroup( input: DeleteInputSecurityGroupRequest, ): Effect.Effect< DeleteInputSecurityGroupResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteMultiplex( input: DeleteMultiplexRequest, ): Effect.Effect< DeleteMultiplexResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteMultiplexProgram( input: DeleteMultiplexProgramRequest, ): Effect.Effect< DeleteMultiplexProgramResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteNetwork( input: DeleteNetworkRequest, ): Effect.Effect< DeleteNetworkResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteNode( input: DeleteNodeRequest, ): Effect.Effect< DeleteNodeResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteReservation( input: DeleteReservationRequest, ): Effect.Effect< DeleteReservationResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteSchedule( input: DeleteScheduleRequest, ): Effect.Effect< DeleteScheduleResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteSdiSource( input: DeleteSdiSourceRequest, ): Effect.Effect< DeleteSdiSourceResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteSignalMap( input: DeleteSignalMapRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteTags( input: DeleteTagsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; describeAccountConfiguration( input: DescribeAccountConfigurationRequest, ): Effect.Effect< DescribeAccountConfigurationResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; describeChannel( input: DescribeChannelRequest, ): Effect.Effect< DescribeChannelResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeChannelPlacementGroup( input: DescribeChannelPlacementGroupRequest, ): Effect.Effect< DescribeChannelPlacementGroupResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeCluster( input: DescribeClusterRequest, ): Effect.Effect< DescribeClusterResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeInput( input: DescribeInputRequest, ): Effect.Effect< DescribeInputResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeInputDevice( input: DescribeInputDeviceRequest, ): Effect.Effect< DescribeInputDeviceResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeInputDeviceThumbnail( input: DescribeInputDeviceThumbnailRequest, ): Effect.Effect< DescribeInputDeviceThumbnailResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeInputSecurityGroup( input: DescribeInputSecurityGroupRequest, ): Effect.Effect< DescribeInputSecurityGroupResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeMultiplex( input: DescribeMultiplexRequest, ): Effect.Effect< DescribeMultiplexResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeMultiplexProgram( input: DescribeMultiplexProgramRequest, ): Effect.Effect< DescribeMultiplexProgramResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeNetwork( input: DescribeNetworkRequest, ): Effect.Effect< DescribeNetworkResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeNode( - input: DescribeNodeRequest, - ): Effect.Effect< - DescribeNodeResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + input: DescribeNodeRequest, + ): Effect.Effect< + DescribeNodeResponse, + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeOffering( input: DescribeOfferingRequest, ): Effect.Effect< DescribeOfferingResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeReservation( input: DescribeReservationRequest, ): Effect.Effect< DescribeReservationResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeSchedule( input: DescribeScheduleRequest, ): Effect.Effect< DescribeScheduleResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeSdiSource( input: DescribeSdiSourceRequest, ): Effect.Effect< DescribeSdiSourceResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeThumbnails( input: DescribeThumbnailsRequest, ): Effect.Effect< DescribeThumbnailsResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getCloudWatchAlarmTemplate( input: GetCloudWatchAlarmTemplateRequest, ): Effect.Effect< GetCloudWatchAlarmTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getCloudWatchAlarmTemplateGroup( input: GetCloudWatchAlarmTemplateGroupRequest, ): Effect.Effect< GetCloudWatchAlarmTemplateGroupResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getEventBridgeRuleTemplate( input: GetEventBridgeRuleTemplateRequest, ): Effect.Effect< GetEventBridgeRuleTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getEventBridgeRuleTemplateGroup( input: GetEventBridgeRuleTemplateGroupRequest, ): Effect.Effect< GetEventBridgeRuleTemplateGroupResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getSignalMap( input: GetSignalMapRequest, ): Effect.Effect< GetSignalMapResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listAlerts( input: ListAlertsRequest, ): Effect.Effect< ListAlertsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listChannelPlacementGroups( input: ListChannelPlacementGroupsRequest, ): Effect.Effect< ListChannelPlacementGroupsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listChannels( input: ListChannelsRequest, ): Effect.Effect< ListChannelsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listCloudWatchAlarmTemplateGroups( input: ListCloudWatchAlarmTemplateGroupsRequest, ): Effect.Effect< ListCloudWatchAlarmTemplateGroupsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listCloudWatchAlarmTemplates( input: ListCloudWatchAlarmTemplatesRequest, ): Effect.Effect< ListCloudWatchAlarmTemplatesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listClusterAlerts( input: ListClusterAlertsRequest, ): Effect.Effect< ListClusterAlertsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listClusters( input: ListClustersRequest, ): Effect.Effect< ListClustersResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listEventBridgeRuleTemplateGroups( input: ListEventBridgeRuleTemplateGroupsRequest, ): Effect.Effect< ListEventBridgeRuleTemplateGroupsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listEventBridgeRuleTemplates( input: ListEventBridgeRuleTemplatesRequest, ): Effect.Effect< ListEventBridgeRuleTemplatesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listInputDevices( input: ListInputDevicesRequest, ): Effect.Effect< ListInputDevicesResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listInputDeviceTransfers( input: ListInputDeviceTransfersRequest, ): Effect.Effect< ListInputDeviceTransfersResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; listInputs( input: ListInputsRequest, ): Effect.Effect< ListInputsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listInputSecurityGroups( input: ListInputSecurityGroupsRequest, ): Effect.Effect< ListInputSecurityGroupsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listMultiplexAlerts( input: ListMultiplexAlertsRequest, ): Effect.Effect< ListMultiplexAlertsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listMultiplexes( input: ListMultiplexesRequest, ): Effect.Effect< ListMultiplexesResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listMultiplexPrograms( input: ListMultiplexProgramsRequest, ): Effect.Effect< ListMultiplexProgramsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listNetworks( input: ListNetworksRequest, ): Effect.Effect< ListNetworksResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listNodes( input: ListNodesRequest, ): Effect.Effect< ListNodesResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listOfferings( input: ListOfferingsRequest, ): Effect.Effect< ListOfferingsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listReservations( input: ListReservationsRequest, ): Effect.Effect< ListReservationsResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listSdiSources( input: ListSdiSourcesRequest, ): Effect.Effect< ListSdiSourcesResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; listSignalMaps( input: ListSignalMapsRequest, ): Effect.Effect< ListSignalMapsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; listVersions( input: ListVersionsRequest, ): Effect.Effect< ListVersionsResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; purchaseOffering( input: PurchaseOfferingRequest, ): Effect.Effect< PurchaseOfferingResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; rebootInputDevice( input: RebootInputDeviceRequest, ): Effect.Effect< RebootInputDeviceResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; rejectInputDeviceTransfer( input: RejectInputDeviceTransferRequest, ): Effect.Effect< RejectInputDeviceTransferResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; restartChannelPipelines( input: RestartChannelPipelinesRequest, - ): Effect.Effect< - RestartChannelPipelinesResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError - >; - startChannel( - input: StartChannelRequest, - ): Effect.Effect< - StartChannelResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + ): Effect.Effect< + RestartChannelPipelinesResponse, + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError + >; + startChannel( + input: StartChannelRequest, + ): Effect.Effect< + StartChannelResponse, + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; startDeleteMonitorDeployment( input: StartDeleteMonitorDeploymentRequest, ): Effect.Effect< StartDeleteMonitorDeploymentResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; startInputDevice( input: StartInputDeviceRequest, ): Effect.Effect< StartInputDeviceResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; startInputDeviceMaintenanceWindow( input: StartInputDeviceMaintenanceWindowRequest, ): Effect.Effect< StartInputDeviceMaintenanceWindowResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; startMonitorDeployment( input: StartMonitorDeploymentRequest, ): Effect.Effect< StartMonitorDeploymentResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; startMultiplex( input: StartMultiplexRequest, ): Effect.Effect< StartMultiplexResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; startUpdateSignalMap( input: StartUpdateSignalMapRequest, ): Effect.Effect< StartUpdateSignalMapResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; stopChannel( input: StopChannelRequest, ): Effect.Effect< StopChannelResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; stopInputDevice( input: StopInputDeviceRequest, ): Effect.Effect< StopInputDeviceResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; stopMultiplex( input: StopMultiplexRequest, ): Effect.Effect< StopMultiplexResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; transferInputDevice( input: TransferInputDeviceRequest, ): Effect.Effect< TransferInputDeviceResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; updateAccountConfiguration( input: UpdateAccountConfigurationRequest, ): Effect.Effect< UpdateAccountConfigurationResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; updateChannel( input: UpdateChannelRequest, ): Effect.Effect< UpdateChannelResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | UnprocessableEntityException | CommonAwsError >; updateChannelClass( input: UpdateChannelClassRequest, ): Effect.Effect< UpdateChannelClassResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; updateChannelPlacementGroup( input: UpdateChannelPlacementGroupRequest, ): Effect.Effect< UpdateChannelPlacementGroupResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; updateCloudWatchAlarmTemplate( input: UpdateCloudWatchAlarmTemplateRequest, ): Effect.Effect< UpdateCloudWatchAlarmTemplateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateCloudWatchAlarmTemplateGroup( input: UpdateCloudWatchAlarmTemplateGroupRequest, ): Effect.Effect< UpdateCloudWatchAlarmTemplateGroupResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateCluster( input: UpdateClusterRequest, ): Effect.Effect< UpdateClusterResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; updateEventBridgeRuleTemplate( input: UpdateEventBridgeRuleTemplateRequest, ): Effect.Effect< UpdateEventBridgeRuleTemplateResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateEventBridgeRuleTemplateGroup( input: UpdateEventBridgeRuleTemplateGroupRequest, ): Effect.Effect< UpdateEventBridgeRuleTemplateGroupResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateInput( input: UpdateInputRequest, ): Effect.Effect< UpdateInputResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | CommonAwsError >; updateInputDevice( input: UpdateInputDeviceRequest, ): Effect.Effect< UpdateInputDeviceResponse, - | BadGatewayException - | BadRequestException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; updateInputSecurityGroup( input: UpdateInputSecurityGroupRequest, ): Effect.Effect< UpdateInputSecurityGroupResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | CommonAwsError >; updateMultiplex( input: UpdateMultiplexRequest, ): Effect.Effect< UpdateMultiplexResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | UnprocessableEntityException | CommonAwsError >; updateMultiplexProgram( input: UpdateMultiplexProgramRequest, ): Effect.Effect< UpdateMultiplexProgramResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | UnprocessableEntityException | CommonAwsError >; updateNetwork( input: UpdateNetworkRequest, ): Effect.Effect< UpdateNetworkResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; updateNode( input: UpdateNodeRequest, ): Effect.Effect< UpdateNodeResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; updateNodeState( input: UpdateNodeStateRequest, ): Effect.Effect< UpdateNodeStateResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; updateReservation( input: UpdateReservationRequest, ): Effect.Effect< UpdateReservationResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateSdiSource( input: UpdateSdiSourceRequest, ): Effect.Effect< UpdateSdiSourceResponse, - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; } @@ -1751,39 +906,29 @@ export type __listOfAudioDescription = Array; export type __listOfAudioSelector = Array; export type __listOfAudioTrack = Array; export type __listOfBatchFailedResultModel = Array; -export type __listOfBatchSuccessfulResultModel = - Array; +export type __listOfBatchSuccessfulResultModel = Array; export type __listOfCaptionDescription = Array; export type __listOfCaptionLanguageMapping = Array; export type __listOfCaptionSelector = Array; export type __listOfChannelAlert = Array; export type __listOfChannelEgressEndpoint = Array; -export type __listOfChannelEngineVersionResponse = - Array; -export type __listOfChannelPipelineIdToRestart = - Array; +export type __listOfChannelEngineVersionResponse = Array; +export type __listOfChannelPipelineIdToRestart = Array; export type __listOfChannelSummary = Array; -export type __listOfCloudWatchAlarmTemplateGroupSummary = - Array; -export type __listOfCloudWatchAlarmTemplateSummary = - Array; +export type __listOfCloudWatchAlarmTemplateGroupSummary = Array; +export type __listOfCloudWatchAlarmTemplateSummary = Array; export type __listOfClusterAlert = Array; -export type __listOfCmafIngestCaptionLanguageMapping = - Array; +export type __listOfCmafIngestCaptionLanguageMapping = Array; export type __listOfColorCorrection = Array; export type __listOfDashRoleAudio = Array; export type __listOfDashRoleCaption = Array; -export type __listOfDescribeChannelPlacementGroupSummary = - Array; +export type __listOfDescribeChannelPlacementGroupSummary = Array; export type __listOfDescribeClusterSummary = Array; export type __listOfDescribeNetworkSummary = Array; export type __listOfDescribeNodeSummary = Array; -export type __listOfEventBridgeRuleTemplateGroupSummary = - Array; -export type __listOfEventBridgeRuleTemplateSummary = - Array; -export type __listOfEventBridgeRuleTemplateTarget = - Array; +export type __listOfEventBridgeRuleTemplateGroupSummary = Array; +export type __listOfEventBridgeRuleTemplateSummary = Array; +export type __listOfEventBridgeRuleTemplateTarget = Array; export type __listOfFailoverCondition = Array; export type __listOfHlsAdMarkers = Array; export type __listOfInput = Array; @@ -1792,15 +937,12 @@ export type __listOfInputChannelLevel = Array; export type __listOfInputDestination = Array; export type __listOfInputDestinationRequest = Array; export type __listOfInputDestinationRoute = Array; -export type __listOfInputDeviceConfigurableAudioChannelPairConfig = - Array; +export type __listOfInputDeviceConfigurableAudioChannelPairConfig = Array; export type __listOfInputDeviceRequest = Array; export type __listOfInputDeviceSettings = Array; export type __listOfInputDeviceSummary = Array; -export type __listOfInputDeviceUhdAudioChannelPairConfig = - Array; -export type __listOfInputRequestDestinationRoute = - Array; +export type __listOfInputDeviceUhdAudioChannelPairConfig = Array; +export type __listOfInputRequestDestinationRoute = Array; export type __listOfInputSdpLocation = Array; export type __listOfInputSecurityGroup = Array; export type __listOfInputSource = Array; @@ -1808,42 +950,32 @@ export type __listOfInputSourceRequest = Array; export type __listOfInputWhitelistRule = Array; export type __listOfInputWhitelistRuleCidr = Array; export type __listOfInterfaceMapping = Array; -export type __listOfInterfaceMappingCreateRequest = - Array; -export type __listOfInterfaceMappingUpdateRequest = - Array; +export type __listOfInterfaceMappingCreateRequest = Array; +export type __listOfInterfaceMappingUpdateRequest = Array; export type __listOfIpPool = Array; export type __listOfIpPoolCreateRequest = Array; export type __listOfIpPoolUpdateRequest = Array; export type __listOfMediaConnectFlow = Array; export type __listOfMediaConnectFlowRequest = Array; -export type __listOfMediaPackageOutputDestinationSettings = - Array; +export type __listOfMediaPackageOutputDestinationSettings = Array; export type __listOfMediaResourceNeighbor = Array; export type __listOfMulticastSource = Array; -export type __listOfMulticastSourceCreateRequest = - Array; -export type __listOfMulticastSourceUpdateRequest = - Array; +export type __listOfMulticastSourceCreateRequest = Array; +export type __listOfMulticastSourceUpdateRequest = Array; export type __listOfMultiplexAlert = Array; -export type __listOfMultiplexOutputDestination = - Array; -export type __listOfMultiplexProgramPipelineDetail = - Array; +export type __listOfMultiplexOutputDestination = Array; +export type __listOfMultiplexProgramPipelineDetail = Array; export type __listOfMultiplexProgramSummary = Array; export type __listOfMultiplexSummary = Array; export type __listOfNodeInterfaceMapping = Array; -export type __listOfNodeInterfaceMappingCreateRequest = - Array; +export type __listOfNodeInterfaceMappingCreateRequest = Array; export type __listOfOffering = Array; export type __listOfOutput = Array; export type __listOfOutputDestination = Array; -export type __listOfOutputDestinationSettings = - Array; +export type __listOfOutputDestinationSettings = Array; export type __listOfOutputGroup = Array; export type __listOfPipelineDetail = Array; -export type __listOfPipelinePauseStateSettings = - Array; +export type __listOfPipelinePauseStateSettings = Array; export type __listOfReservation = Array; export type __listOfRoute = Array; export type __listOfRouteCreateRequest = Array; @@ -1856,12 +988,10 @@ export type __listOfSignalMapSummary = Array; export type __listOfSmpte2110ReceiverGroup = Array; export type __listOfSrtCallerSource = Array; export type __listOfSrtCallerSourceRequest = Array; -export type __listOfSrtOutputDestinationSettings = - Array; +export type __listOfSrtOutputDestinationSettings = Array; export type __listOfThumbnail = Array; export type __listOfThumbnailDetail = Array; -export type __listOfTransferringInputDeviceSummary = - Array; +export type __listOfTransferringInputDeviceSummary = Array; export type __listOfValidationError = Array<_ValidationError>; export type __listOfVideoDescription = Array; export type __long = number; @@ -1940,12 +1070,7 @@ export type __timestamp = Date | string; export type __timestampIso8601 = Date | string; -export type AacCodingMode = - | "AD_RECEIVER_MIX" - | "CODING_MODE_1_0" - | "CODING_MODE_1_1" - | "CODING_MODE_2_0" - | "CODING_MODE_5_1"; +export type AacCodingMode = "AD_RECEIVER_MIX" | "CODING_MODE_1_0" | "CODING_MODE_1_1" | "CODING_MODE_2_0" | "CODING_MODE_5_1"; export type AacInputType = "BROADCASTER_MIXED_AD" | "NORMAL"; export type AacProfile = "HEV1" | "HEV2" | "LC"; export type AacRateControlMode = "CBR" | "VBR"; @@ -1964,20 +1089,8 @@ export interface AacSettings { export type AacSpec = "MPEG2" | "MPEG4"; export type AacVbrQuality = "HIGH" | "LOW" | "MEDIUM_HIGH" | "MEDIUM_LOW"; export type Ac3AttenuationControl = "ATTENUATE_3_DB" | "NONE"; -export type Ac3BitstreamMode = - | "COMMENTARY" - | "COMPLETE_MAIN" - | "DIALOGUE" - | "EMERGENCY" - | "HEARING_IMPAIRED" - | "MUSIC_AND_EFFECTS" - | "VISUALLY_IMPAIRED" - | "VOICE_OVER"; -export type Ac3CodingMode = - | "CODING_MODE_1_0" - | "CODING_MODE_1_1" - | "CODING_MODE_2_0" - | "CODING_MODE_3_2_LFE"; +export type Ac3BitstreamMode = "COMMENTARY" | "COMPLETE_MAIN" | "DIALOGUE" | "EMERGENCY" | "HEARING_IMPAIRED" | "MUSIC_AND_EFFECTS" | "VISUALLY_IMPAIRED" | "VOICE_OVER"; +export type Ac3CodingMode = "CODING_MODE_1_0" | "CODING_MODE_1_1" | "CODING_MODE_2_0" | "CODING_MODE_3_2_LFE"; export type Ac3DrcProfile = "FILM_STANDARD" | "NONE"; export type Ac3LfeFilter = "DISABLED" | "ENABLED"; export type Ac3MetadataControl = "FOLLOW_INPUT" | "USE_CONFIGURED"; @@ -1995,10 +1108,9 @@ export type AcceptHeader = "image/jpeg"; export interface AcceptInputDeviceTransferRequest { InputDeviceId: string; } -export interface AcceptInputDeviceTransferResponse {} -export type AccessibilityType = - | "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES" - | "IMPLEMENTS_ACCESSIBILITY_FEATURES"; +export interface AcceptInputDeviceTransferResponse { +} +export type AccessibilityType = "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES" | "IMPLEMENTS_ACCESSIBILITY_FEATURES"; export interface AccountConfiguration { KmsKeyId?: string; } @@ -2034,8 +1146,10 @@ export interface ArchiveOutputSettings { export interface ArchiveS3Settings { CannedAcl?: S3CannedAcl; } -export interface AribDestinationSettings {} -export interface AribSourceSettings {} +export interface AribDestinationSettings { +} +export interface AribSourceSettings { +} export interface AudioChannelMapping { InputChannelLevels: Array; OutputChannel: number; @@ -2064,12 +1178,8 @@ export interface AudioDescription { AudioDashRoles?: Array; DvbDashAccessibility?: DvbDashAccessibility; } -export type AudioDescriptionAudioTypeControl = - | "FOLLOW_INPUT" - | "USE_CONFIGURED"; -export type AudioDescriptionLanguageCodeControl = - | "FOLLOW_INPUT" - | "USE_CONFIGURED"; +export type AudioDescriptionAudioTypeControl = "FOLLOW_INPUT" | "USE_CONFIGURED"; +export type AudioDescriptionLanguageCodeControl = "FOLLOW_INPUT" | "USE_CONFIGURED"; export interface AudioDolbyEDecode { ProgramSelection: DolbyEProgramSelection; } @@ -2096,11 +1206,7 @@ export interface AudioOnlyHlsSettings { AudioTrackType?: AudioOnlyHlsTrackType; SegmentType?: AudioOnlyHlsSegmentType; } -export type AudioOnlyHlsTrackType = - | "ALTERNATE_AUDIO_AUTO_SELECT" - | "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" - | "ALTERNATE_AUDIO_NOT_AUTO_SELECT" - | "AUDIO_ONLY_VARIANT_STREAM"; +export type AudioOnlyHlsTrackType = "ALTERNATE_AUDIO_AUTO_SELECT" | "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT" | "ALTERNATE_AUDIO_NOT_AUTO_SELECT" | "AUDIO_ONLY_VARIANT_STREAM"; export interface AudioPidSelection { Pid: number; } @@ -2125,11 +1231,7 @@ export interface AudioTrackSelection { Tracks: Array; DolbyEDecode?: AudioDolbyEDecode; } -export type AudioType = - | "CLEAN_EFFECTS" - | "HEARING_IMPAIRED" - | "UNDEFINED" - | "VISUAL_IMPAIRED_COMMENTARY"; +export type AudioType = "CLEAN_EFFECTS" | "HEARING_IMPAIRED" | "UNDEFINED" | "VISUAL_IMPAIRED_COMMENTARY"; export interface AudioWatermarkSettings { NielsenWatermarksSettings?: NielsenWatermarksSettings; } @@ -2147,22 +1249,7 @@ export interface Av1ColorSpaceSettings { Rec709Settings?: Rec709Settings; } export type Av1GopSizeUnits = "FRAMES" | "SECONDS"; -export type Av1Level = - | "AV1_LEVEL_2" - | "AV1_LEVEL_2_1" - | "AV1_LEVEL_3" - | "AV1_LEVEL_3_1" - | "AV1_LEVEL_4" - | "AV1_LEVEL_4_1" - | "AV1_LEVEL_5" - | "AV1_LEVEL_5_1" - | "AV1_LEVEL_5_2" - | "AV1_LEVEL_5_3" - | "AV1_LEVEL_6" - | "AV1_LEVEL_6_1" - | "AV1_LEVEL_6_2" - | "AV1_LEVEL_6_3" - | "AV1_LEVEL_AUTO"; +export type Av1Level = "AV1_LEVEL_2" | "AV1_LEVEL_2_1" | "AV1_LEVEL_3" | "AV1_LEVEL_3_1" | "AV1_LEVEL_4" | "AV1_LEVEL_4_1" | "AV1_LEVEL_5" | "AV1_LEVEL_5_1" | "AV1_LEVEL_5_2" | "AV1_LEVEL_5_3" | "AV1_LEVEL_6" | "AV1_LEVEL_6_1" | "AV1_LEVEL_6_2" | "AV1_LEVEL_6_3" | "AV1_LEVEL_AUTO"; export type Av1LookAheadRateControl = "HIGH" | "LOW" | "MEDIUM"; export type Av1RateControlMode = "CBR" | "QVBR"; export type Av1SceneChangeDetect = "DISABLED" | "ENABLED"; @@ -2216,17 +1303,8 @@ export interface BandwidthReductionFilterSettings { PostFilterSharpening?: BandwidthReductionPostFilterSharpening; Strength?: BandwidthReductionFilterStrength; } -export type BandwidthReductionFilterStrength = - | "AUTO" - | "STRENGTH_1" - | "STRENGTH_2" - | "STRENGTH_3" - | "STRENGTH_4"; -export type BandwidthReductionPostFilterSharpening = - | "DISABLED" - | "SHARPENING_1" - | "SHARPENING_2" - | "SHARPENING_3"; +export type BandwidthReductionFilterStrength = "AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4"; +export type BandwidthReductionPostFilterSharpening = "DISABLED" | "SHARPENING_1" | "SHARPENING_2" | "SHARPENING_3"; export interface BatchDeleteRequest { ChannelIds?: Array; InputIds?: Array; @@ -2317,26 +1395,15 @@ export interface BurnInDestinationSettings { SubtitleRows?: BurnInDestinationSubtitleRows; } export type BurnInDestinationSubtitleRows = "ROWS_16" | "ROWS_20" | "ROWS_24"; -export type BurnInFontColor = - | "BLACK" - | "BLUE" - | "GREEN" - | "RED" - | "WHITE" - | "YELLOW"; -export type BurnInOutlineColor = - | "BLACK" - | "BLUE" - | "GREEN" - | "RED" - | "WHITE" - | "YELLOW"; +export type BurnInFontColor = "BLACK" | "BLUE" | "GREEN" | "RED" | "WHITE" | "YELLOW"; +export type BurnInOutlineColor = "BLACK" | "BLUE" | "GREEN" | "RED" | "WHITE" | "YELLOW"; export type BurnInShadowColor = "BLACK" | "NONE" | "WHITE"; export type BurnInTeletextGridControl = "FIXED" | "SCALED"; export interface CancelInputDeviceTransferRequest { InputDeviceId: string; } -export interface CancelInputDeviceTransferResponse {} +export interface CancelInputDeviceTransferResponse { +} export interface CaptionDescription { Accessibility?: AccessibilityType; CaptionSelectorName: string; @@ -2435,26 +1502,8 @@ export interface ChannelEngineVersionResponse { Version?: string; } export type ChannelPipelineIdToRestart = "PIPELINE_0" | "PIPELINE_1"; -export type ChannelPlacementGroupState = - | "UNASSIGNED" - | "ASSIGNING" - | "ASSIGNED" - | "DELETING" - | "DELETE_FAILED" - | "DELETED" - | "UNASSIGNING"; -export type ChannelState = - | "CREATING" - | "CREATE_FAILED" - | "IDLE" - | "STARTING" - | "RUNNING" - | "RECOVERING" - | "STOPPING" - | "DELETING" - | "DELETED" - | "UPDATING" - | "UPDATE_FAILED"; +export type ChannelPlacementGroupState = "UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING"; +export type ChannelState = "CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED"; export interface ChannelSummary { Arn?: string; CdiInputSpecification?: CdiInputSpecification; @@ -2479,12 +1528,9 @@ export interface ChannelSummary { export interface ClaimDeviceRequest { Id?: string; } -export interface ClaimDeviceResponse {} -export type CloudWatchAlarmTemplateComparisonOperator = - | "GreaterThanOrEqualToThreshold" - | "GreaterThanThreshold" - | "LessThanThreshold" - | "LessThanOrEqualToThreshold"; +export interface ClaimDeviceResponse { +} +export type CloudWatchAlarmTemplateComparisonOperator = "GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold"; export interface CloudWatchAlarmTemplateGroupSummary { Arn: string; CreatedAt: Date | string; @@ -2495,12 +1541,7 @@ export interface CloudWatchAlarmTemplateGroupSummary { Tags?: Record; TemplateCount: number; } -export type CloudWatchAlarmTemplateStatistic = - | "SampleCount" - | "Average" - | "Sum" - | "Minimum" - | "Maximum"; +export type CloudWatchAlarmTemplateStatistic = "SampleCount" | "Average" | "Sum" | "Minimum" | "Maximum"; export interface CloudWatchAlarmTemplateSummary { Arn: string; ComparisonOperator: CloudWatchAlarmTemplateComparisonOperator; @@ -2520,21 +1561,8 @@ export interface CloudWatchAlarmTemplateSummary { Threshold: number; TreatMissingData: CloudWatchAlarmTemplateTreatMissingData; } -export type CloudWatchAlarmTemplateTargetResourceType = - | "CLOUDFRONT_DISTRIBUTION" - | "MEDIALIVE_MULTIPLEX" - | "MEDIALIVE_CHANNEL" - | "MEDIALIVE_INPUT_DEVICE" - | "MEDIAPACKAGE_CHANNEL" - | "MEDIAPACKAGE_ORIGIN_ENDPOINT" - | "MEDIACONNECT_FLOW" - | "S3_BUCKET" - | "MEDIATAILOR_PLAYBACK_CONFIGURATION"; -export type CloudWatchAlarmTemplateTreatMissingData = - | "notBreaching" - | "breaching" - | "ignore" - | "missing"; +export type CloudWatchAlarmTemplateTargetResourceType = "CLOUDFRONT_DISTRIBUTION" | "MEDIALIVE_MULTIPLEX" | "MEDIALIVE_CHANNEL" | "MEDIALIVE_INPUT_DEVICE" | "MEDIAPACKAGE_CHANNEL" | "MEDIAPACKAGE_ORIGIN_ENDPOINT" | "MEDIACONNECT_FLOW" | "S3_BUCKET" | "MEDIATAILOR_PLAYBACK_CONFIGURATION"; +export type CloudWatchAlarmTemplateTreatMissingData = "notBreaching" | "breaching" | "ignore" | "missing"; export interface ClusterAlert { AlertType?: string; ChannelId?: string; @@ -2558,13 +1586,7 @@ export interface ClusterNetworkSettingsUpdateRequest { DefaultRoute?: string; InterfaceMappings?: Array; } -export type ClusterState = - | "CREATING" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETING" - | "DELETE_FAILED" - | "DELETED"; +export type ClusterState = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED"; export type ClusterType = "ON_PREMISES"; export type CmafId3Behavior = "DISABLED" | "ENABLED"; export interface CmafIngestCaptionLanguageMapping { @@ -2607,7 +1629,8 @@ export interface ColorCorrectionSettings { GlobalColorCorrections: Array; } export type ColorSpace = "HDR10" | "HLG_2020" | "REC_601" | "REC_709"; -export interface ColorSpacePassthroughSettings {} +export interface ColorSpacePassthroughSettings { +} export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -2902,30 +1925,8 @@ export interface CreateTagsRequest { ResourceArn: string; Tags?: Record; } -export type DashRoleAudio = - | "ALTERNATE" - | "COMMENTARY" - | "DESCRIPTION" - | "DUB" - | "EMERGENCY" - | "ENHANCED-AUDIO-INTELLIGIBILITY" - | "KARAOKE" - | "MAIN" - | "SUPPLEMENTARY"; -export type DashRoleCaption = - | "ALTERNATE" - | "CAPTION" - | "COMMENTARY" - | "DESCRIPTION" - | "DUB" - | "EASYREADER" - | "EMERGENCY" - | "FORCED-SUBTITLE" - | "KARAOKE" - | "MAIN" - | "METADATA" - | "SUBTITLE" - | "SUPPLEMENTARY"; +export type DashRoleAudio = "ALTERNATE" | "COMMENTARY" | "DESCRIPTION" | "DUB" | "EMERGENCY" | "ENHANCED-AUDIO-INTELLIGIBILITY" | "KARAOKE" | "MAIN" | "SUPPLEMENTARY"; +export type DashRoleCaption = "ALTERNATE" | "CAPTION" | "COMMENTARY" | "DESCRIPTION" | "DUB" | "EASYREADER" | "EMERGENCY" | "FORCED-SUBTITLE" | "KARAOKE" | "MAIN" | "METADATA" | "SUBTITLE" | "SUPPLEMENTARY"; export interface DeleteChannelPlacementGroupRequest { ChannelPlacementGroupId: string; ClusterId: string; @@ -2992,11 +1993,13 @@ export interface DeleteEventBridgeRuleTemplateRequest { export interface DeleteInputRequest { InputId: string; } -export interface DeleteInputResponse {} +export interface DeleteInputResponse { +} export interface DeleteInputSecurityGroupRequest { InputSecurityGroupId: string; } -export interface DeleteInputSecurityGroupResponse {} +export interface DeleteInputSecurityGroupResponse { +} export interface DeleteMultiplexProgramRequest { MultiplexId: string; ProgramName: string; @@ -3079,7 +2082,8 @@ export interface DeleteReservationResponse { export interface DeleteScheduleRequest { ChannelId: string; } -export interface DeleteScheduleResponse {} +export interface DeleteScheduleResponse { +} export interface DeleteSdiSourceRequest { SdiSourceId: string; } @@ -3093,7 +2097,8 @@ export interface DeleteTagsRequest { ResourceArn: string; TagKeys: Array; } -export interface DescribeAccountConfigurationRequest {} +export interface DescribeAccountConfigurationRequest { +} export interface DescribeAccountConfigurationResponse { AccountConfiguration?: AccountConfiguration; } @@ -3383,35 +2388,16 @@ export interface DescribeThumbnailsResponse { } export type DeviceSettingsSyncState = "SYNCED" | "SYNCING"; export type DeviceUpdateStatus = "UP_TO_DATE" | "NOT_UP_TO_DATE" | "UPDATING"; -export type DolbyEProgramSelection = - | "ALL_CHANNELS" - | "PROGRAM_1" - | "PROGRAM_2" - | "PROGRAM_3" - | "PROGRAM_4" - | "PROGRAM_5" - | "PROGRAM_6" - | "PROGRAM_7" - | "PROGRAM_8"; -export interface DolbyVision81Settings {} -export type DvbDashAccessibility = - | "DVBDASH_1_VISUALLY_IMPAIRED" - | "DVBDASH_2_HARD_OF_HEARING" - | "DVBDASH_3_SUPPLEMENTAL_COMMENTARY" - | "DVBDASH_4_DIRECTORS_COMMENTARY" - | "DVBDASH_5_EDUCATIONAL_NOTES" - | "DVBDASH_6_MAIN_PROGRAM" - | "DVBDASH_7_CLEAN_FEED"; +export type DolbyEProgramSelection = "ALL_CHANNELS" | "PROGRAM_1" | "PROGRAM_2" | "PROGRAM_3" | "PROGRAM_4" | "PROGRAM_5" | "PROGRAM_6" | "PROGRAM_7" | "PROGRAM_8"; +export interface DolbyVision81Settings { +} +export type DvbDashAccessibility = "DVBDASH_1_VISUALLY_IMPAIRED" | "DVBDASH_2_HARD_OF_HEARING" | "DVBDASH_3_SUPPLEMENTAL_COMMENTARY" | "DVBDASH_4_DIRECTORS_COMMENTARY" | "DVBDASH_5_EDUCATIONAL_NOTES" | "DVBDASH_6_MAIN_PROGRAM" | "DVBDASH_7_CLEAN_FEED"; export interface DvbNitSettings { NetworkId: number; NetworkName: string; RepInterval?: number; } -export type DvbSdtOutputSdt = - | "SDT_FOLLOW" - | "SDT_FOLLOW_IF_PRESENT" - | "SDT_MANUAL" - | "SDT_NONE"; +export type DvbSdtOutputSdt = "SDT_FOLLOW" | "SDT_FOLLOW_IF_PRESENT" | "SDT_MANUAL" | "SDT_NONE"; export interface DvbSdtSettings { OutputSdt?: DvbSdtOutputSdt; RepInterval?: number; @@ -3420,20 +2406,8 @@ export interface DvbSdtSettings { } export type DvbSubDestinationAlignment = "CENTERED" | "LEFT" | "SMART"; export type DvbSubDestinationBackgroundColor = "BLACK" | "NONE" | "WHITE"; -export type DvbSubDestinationFontColor = - | "BLACK" - | "BLUE" - | "GREEN" - | "RED" - | "WHITE" - | "YELLOW"; -export type DvbSubDestinationOutlineColor = - | "BLACK" - | "BLUE" - | "GREEN" - | "RED" - | "WHITE" - | "YELLOW"; +export type DvbSubDestinationFontColor = "BLACK" | "BLUE" | "GREEN" | "RED" | "WHITE" | "YELLOW"; +export type DvbSubDestinationOutlineColor = "BLACK" | "BLUE" | "GREEN" | "RED" | "WHITE" | "YELLOW"; export interface DvbSubDestinationSettings { Alignment?: DvbSubDestinationAlignment; BackgroundColor?: DvbSubDestinationBackgroundColor; @@ -3465,24 +2439,9 @@ export interface DvbSubSourceSettings { export interface DvbTdtSettings { RepInterval?: number; } -export type Eac3AtmosCodingMode = - | "CODING_MODE_5_1_4" - | "CODING_MODE_7_1_4" - | "CODING_MODE_9_1_6"; -export type Eac3AtmosDrcLine = - | "FILM_LIGHT" - | "FILM_STANDARD" - | "MUSIC_LIGHT" - | "MUSIC_STANDARD" - | "NONE" - | "SPEECH"; -export type Eac3AtmosDrcRf = - | "FILM_LIGHT" - | "FILM_STANDARD" - | "MUSIC_LIGHT" - | "MUSIC_STANDARD" - | "NONE" - | "SPEECH"; +export type Eac3AtmosCodingMode = "CODING_MODE_5_1_4" | "CODING_MODE_7_1_4" | "CODING_MODE_9_1_6"; +export type Eac3AtmosDrcLine = "FILM_LIGHT" | "FILM_STANDARD" | "MUSIC_LIGHT" | "MUSIC_STANDARD" | "NONE" | "SPEECH"; +export type Eac3AtmosDrcRf = "FILM_LIGHT" | "FILM_STANDARD" | "MUSIC_LIGHT" | "MUSIC_STANDARD" | "NONE" | "SPEECH"; export interface Eac3AtmosSettings { Bitrate?: number; CodingMode?: Eac3AtmosCodingMode; @@ -3493,31 +2452,11 @@ export interface Eac3AtmosSettings { SurroundTrim?: number; } export type Eac3AttenuationControl = "ATTENUATE_3_DB" | "NONE"; -export type Eac3BitstreamMode = - | "COMMENTARY" - | "COMPLETE_MAIN" - | "EMERGENCY" - | "HEARING_IMPAIRED" - | "VISUALLY_IMPAIRED"; -export type Eac3CodingMode = - | "CODING_MODE_1_0" - | "CODING_MODE_2_0" - | "CODING_MODE_3_2"; +export type Eac3BitstreamMode = "COMMENTARY" | "COMPLETE_MAIN" | "EMERGENCY" | "HEARING_IMPAIRED" | "VISUALLY_IMPAIRED"; +export type Eac3CodingMode = "CODING_MODE_1_0" | "CODING_MODE_2_0" | "CODING_MODE_3_2"; export type Eac3DcFilter = "DISABLED" | "ENABLED"; -export type Eac3DrcLine = - | "FILM_LIGHT" - | "FILM_STANDARD" - | "MUSIC_LIGHT" - | "MUSIC_STANDARD" - | "NONE" - | "SPEECH"; -export type Eac3DrcRf = - | "FILM_LIGHT" - | "FILM_STANDARD" - | "MUSIC_LIGHT" - | "MUSIC_STANDARD" - | "NONE" - | "SPEECH"; +export type Eac3DrcLine = "FILM_LIGHT" | "FILM_STANDARD" | "MUSIC_LIGHT" | "MUSIC_STANDARD" | "NONE" | "SPEECH"; +export type Eac3DrcRf = "FILM_LIGHT" | "FILM_STANDARD" | "MUSIC_LIGHT" | "MUSIC_STANDARD" | "NONE" | "SPEECH"; export type Eac3LfeControl = "LFE" | "NO_LFE"; export type Eac3LfeFilter = "DISABLED" | "ENABLED"; export type Eac3MetadataControl = "FOLLOW_INPUT" | "USE_CONFIGURED"; @@ -3559,8 +2498,10 @@ export interface EbuTtDDestinationSettings { export type EbuTtDDestinationStyleControl = "EXCLUDE" | "INCLUDE"; export type EbuTtDFillLineGapControl = "DISABLED" | "ENABLED"; export type EmbeddedConvert608To708 = "DISABLED" | "UPCONVERT"; -export interface EmbeddedDestinationSettings {} -export interface EmbeddedPlusScte20DestinationSettings {} +export interface EmbeddedDestinationSettings { +} +export interface EmbeddedPlusScte20DestinationSettings { +} export type EmbeddedScte20Detection = "AUTO" | "OFF"; export interface EmbeddedSourceSettings { Convert608To708?: EmbeddedConvert608To708; @@ -3596,20 +2537,7 @@ export interface Esam { Username?: string; ZoneIdentity?: string; } -export type EventBridgeRuleTemplateEventType = - | "MEDIALIVE_MULTIPLEX_ALERT" - | "MEDIALIVE_MULTIPLEX_STATE_CHANGE" - | "MEDIALIVE_CHANNEL_ALERT" - | "MEDIALIVE_CHANNEL_INPUT_CHANGE" - | "MEDIALIVE_CHANNEL_STATE_CHANGE" - | "MEDIAPACKAGE_INPUT_NOTIFICATION" - | "MEDIAPACKAGE_KEY_PROVIDER_NOTIFICATION" - | "MEDIAPACKAGE_HARVEST_JOB_NOTIFICATION" - | "SIGNAL_MAP_ACTIVE_ALARM" - | "MEDIACONNECT_ALERT" - | "MEDIACONNECT_SOURCE_HEALTH" - | "MEDIACONNECT_OUTPUT_HEALTH" - | "MEDIACONNECT_FLOW_STATUS_CHANGE"; +export type EventBridgeRuleTemplateEventType = "MEDIALIVE_MULTIPLEX_ALERT" | "MEDIALIVE_MULTIPLEX_STATE_CHANGE" | "MEDIALIVE_CHANNEL_ALERT" | "MEDIALIVE_CHANNEL_INPUT_CHANGE" | "MEDIALIVE_CHANNEL_STATE_CHANGE" | "MEDIAPACKAGE_INPUT_NOTIFICATION" | "MEDIAPACKAGE_KEY_PROVIDER_NOTIFICATION" | "MEDIAPACKAGE_HARVEST_JOB_NOTIFICATION" | "SIGNAL_MAP_ACTIVE_ALARM" | "MEDIACONNECT_ALERT" | "MEDIACONNECT_SOURCE_HEALTH" | "MEDIACONNECT_OUTPUT_HEALTH" | "MEDIACONNECT_FLOW_STATUS_CHANGE"; export interface EventBridgeRuleTemplateGroupSummary { Arn: string; CreatedAt: Date | string; @@ -3648,30 +2576,15 @@ export interface FeatureActivations { InputPrepareScheduleActions?: FeatureActivationsInputPrepareScheduleActions; OutputStaticImageOverlayScheduleActions?: FeatureActivationsOutputStaticImageOverlayScheduleActions; } -export type FeatureActivationsInputPrepareScheduleActions = - | "DISABLED" - | "ENABLED"; -export type FeatureActivationsOutputStaticImageOverlayScheduleActions = - | "DISABLED" - | "ENABLED"; +export type FeatureActivationsInputPrepareScheduleActions = "DISABLED" | "ENABLED"; +export type FeatureActivationsOutputStaticImageOverlayScheduleActions = "DISABLED" | "ENABLED"; export type FecOutputIncludeFec = "COLUMN" | "COLUMN_AND_ROW"; export interface FecOutputSettings { ColumnDepth?: number; IncludeFec?: FecOutputIncludeFec; RowLength?: number; } -export type FixedAfd = - | "AFD_0000" - | "AFD_0010" - | "AFD_0011" - | "AFD_0100" - | "AFD_1000" - | "AFD_1001" - | "AFD_1010" - | "AFD_1011" - | "AFD_1101" - | "AFD_1110" - | "AFD_1111"; +export type FixedAfd = "AFD_0000" | "AFD_0010" | "AFD_0011" | "AFD_0100" | "AFD_1000" | "AFD_1001" | "AFD_1010" | "AFD_1011" | "AFD_1101" | "AFD_1110" | "AFD_1111"; export interface FixedModeScheduleActionStartSettings { Time: string; } @@ -3699,7 +2612,8 @@ export interface FrameCaptureGroupSettings { Destination: OutputLocationRef; FrameCaptureCdnSettings?: FrameCaptureCdnSettings; } -export interface FrameCaptureHlsSettings {} +export interface FrameCaptureHlsSettings { +} export type FrameCaptureIntervalUnit = "MILLISECONDS" | "SECONDS"; export interface FrameCaptureOutputSettings { NameModifier?: string; @@ -3810,25 +2724,11 @@ export interface GlobalConfiguration { SupportLowFramerateInputs?: GlobalConfigurationLowFramerateInputs; OutputLockingSettings?: OutputLockingSettings; } -export type GlobalConfigurationInputEndAction = - | "NONE" - | "SWITCH_AND_LOOP_INPUTS"; +export type GlobalConfigurationInputEndAction = "NONE" | "SWITCH_AND_LOOP_INPUTS"; export type GlobalConfigurationLowFramerateInputs = "DISABLED" | "ENABLED"; -export type GlobalConfigurationOutputLockingMode = - | "EPOCH_LOCKING" - | "PIPELINE_LOCKING" - | "DISABLED"; -export type GlobalConfigurationOutputTimingSource = - | "INPUT_CLOCK" - | "SYSTEM_CLOCK"; -export type H264AdaptiveQuantization = - | "AUTO" - | "HIGH" - | "HIGHER" - | "LOW" - | "MAX" - | "MEDIUM" - | "OFF"; +export type GlobalConfigurationOutputLockingMode = "EPOCH_LOCKING" | "PIPELINE_LOCKING" | "DISABLED"; +export type GlobalConfigurationOutputTimingSource = "INPUT_CLOCK" | "SYSTEM_CLOCK"; +export type H264AdaptiveQuantization = "AUTO" | "HIGH" | "HIGHER" | "LOW" | "MAX" | "MEDIUM" | "OFF"; export type H264ColorMetadata = "IGNORE" | "INSERT"; export interface H264ColorSpaceSettings { ColorSpacePassthroughSettings?: ColorSpacePassthroughSettings; @@ -3845,33 +2745,10 @@ export type H264ForceFieldPictures = "DISABLED" | "ENABLED"; export type H264FramerateControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; export type H264GopBReference = "DISABLED" | "ENABLED"; export type H264GopSizeUnits = "FRAMES" | "SECONDS"; -export type H264Level = - | "H264_LEVEL_1" - | "H264_LEVEL_1_1" - | "H264_LEVEL_1_2" - | "H264_LEVEL_1_3" - | "H264_LEVEL_2" - | "H264_LEVEL_2_1" - | "H264_LEVEL_2_2" - | "H264_LEVEL_3" - | "H264_LEVEL_3_1" - | "H264_LEVEL_3_2" - | "H264_LEVEL_4" - | "H264_LEVEL_4_1" - | "H264_LEVEL_4_2" - | "H264_LEVEL_5" - | "H264_LEVEL_5_1" - | "H264_LEVEL_5_2" - | "H264_LEVEL_AUTO"; +export type H264Level = "H264_LEVEL_1" | "H264_LEVEL_1_1" | "H264_LEVEL_1_2" | "H264_LEVEL_1_3" | "H264_LEVEL_2" | "H264_LEVEL_2_1" | "H264_LEVEL_2_2" | "H264_LEVEL_3" | "H264_LEVEL_3_1" | "H264_LEVEL_3_2" | "H264_LEVEL_4" | "H264_LEVEL_4_1" | "H264_LEVEL_4_2" | "H264_LEVEL_5" | "H264_LEVEL_5_1" | "H264_LEVEL_5_2" | "H264_LEVEL_AUTO"; export type H264LookAheadRateControl = "HIGH" | "LOW" | "MEDIUM"; export type H264ParControl = "INITIALIZE_FROM_SOURCE" | "SPECIFIED"; -export type H264Profile = - | "BASELINE" - | "HIGH" - | "HIGH_10BIT" - | "HIGH_422" - | "HIGH_422_10BIT" - | "MAIN"; +export type H264Profile = "BASELINE" | "HIGH" | "HIGH_10BIT" | "HIGH_422" | "HIGH_422_10BIT" | "MAIN"; export type H264QualityLevel = "ENHANCED_QUALITY" | "STANDARD_QUALITY"; export type H264RateControlMode = "CBR" | "MULTIPLEX" | "QVBR" | "VBR"; export type H264ScanType = "INTERLACED" | "PROGRESSIVE"; @@ -3927,14 +2804,7 @@ export type H264SubGopLength = "DYNAMIC" | "FIXED"; export type H264Syntax = "DEFAULT" | "RP2027"; export type H264TemporalAq = "DISABLED" | "ENABLED"; export type H264TimecodeInsertionBehavior = "DISABLED" | "PIC_TIMING_SEI"; -export type H265AdaptiveQuantization = - | "AUTO" - | "HIGH" - | "HIGHER" - | "LOW" - | "MAX" - | "MEDIUM" - | "OFF"; +export type H265AdaptiveQuantization = "AUTO" | "HIGH" | "HIGHER" | "LOW" | "MAX" | "MEDIUM" | "OFF"; export type H265AlternativeTransferFunction = "INSERT" | "OMIT"; export type H265ColorMetadata = "IGNORE" | "INSERT"; export interface H265ColorSpaceSettings { @@ -3952,21 +2822,7 @@ export interface H265FilterSettings { export type H265FlickerAq = "DISABLED" | "ENABLED"; export type H265GopBReference = "DISABLED" | "ENABLED"; export type H265GopSizeUnits = "FRAMES" | "SECONDS"; -export type H265Level = - | "H265_LEVEL_1" - | "H265_LEVEL_2" - | "H265_LEVEL_2_1" - | "H265_LEVEL_3" - | "H265_LEVEL_3_1" - | "H265_LEVEL_4" - | "H265_LEVEL_4_1" - | "H265_LEVEL_5" - | "H265_LEVEL_5_1" - | "H265_LEVEL_5_2" - | "H265_LEVEL_6" - | "H265_LEVEL_6_1" - | "H265_LEVEL_6_2" - | "H265_LEVEL_AUTO"; +export type H265Level = "H265_LEVEL_1" | "H265_LEVEL_2" | "H265_LEVEL_2_1" | "H265_LEVEL_3" | "H265_LEVEL_3_1" | "H265_LEVEL_4" | "H265_LEVEL_4_1" | "H265_LEVEL_5" | "H265_LEVEL_5_1" | "H265_LEVEL_5_2" | "H265_LEVEL_6" | "H265_LEVEL_6_1" | "H265_LEVEL_6_2" | "H265_LEVEL_AUTO"; export type H265LookAheadRateControl = "HIGH" | "LOW" | "MEDIUM"; export type H265MvOverPictureBoundaries = "DISABLED" | "ENABLED"; export type H265MvTemporalPredictor = "DISABLED" | "ENABLED"; @@ -4056,9 +2912,7 @@ export interface HlsCdnSettings { export type HlsClientCache = "DISABLED" | "ENABLED"; export type HlsCodecSpecification = "RFC_4281" | "RFC_6381"; export type HlsDefault = "NO" | "OMIT" | "YES"; -export type HlsDirectoryStructure = - | "SINGLE_DIRECTORY" - | "SUBDIRECTORY_PER_STREAM"; +export type HlsDirectoryStructure = "SINGLE_DIRECTORY" | "SUBDIRECTORY_PER_STREAM"; export type HlsDiscontinuityTags = "INSERT" | "NEVER_INSERT"; export type HlsEncryptionType = "AES128" | "SAMPLE_AES"; export interface HlsGroupSettings { @@ -4133,10 +2987,7 @@ export interface HlsMediaStoreSettings { } export type HlsMediaStoreStorageClass = "TEMPORAL"; export type HlsMode = "LIVE" | "VOD"; -export type HlsOutputSelection = - | "MANIFESTS_AND_SEGMENTS" - | "SEGMENTS_ONLY" - | "VARIANT_MANIFESTS_AND_SEGMENTS"; +export type HlsOutputSelection = "MANIFESTS_AND_SEGMENTS" | "SEGMENTS_ONLY" | "VARIANT_MANIFESTS_AND_SEGMENTS"; export interface HlsOutputSettings { H265PackagingType?: HlsH265PackagingType; HlsSettings: HlsSettings; @@ -4144,17 +2995,13 @@ export interface HlsOutputSettings { SegmentModifier?: string; } export type HlsProgramDateTime = "EXCLUDE" | "INCLUDE"; -export type HlsProgramDateTimeClock = - | "INITIALIZE_FROM_OUTPUT_TIMECODE" - | "SYSTEM_CLOCK"; +export type HlsProgramDateTimeClock = "INITIALIZE_FROM_OUTPUT_TIMECODE" | "SYSTEM_CLOCK"; export type HlsRedundantManifest = "DISABLED" | "ENABLED"; export interface HlsS3Settings { CannedAcl?: S3CannedAcl; } export type HlsScte35SourceType = "MANIFEST" | "SEGMENTS"; -export type HlsSegmentationMode = - | "USE_INPUT_SEGMENTATION" - | "USE_SEGMENT_DURATION"; +export type HlsSegmentationMode = "USE_INPUT_SEGMENTATION" | "USE_SEGMENT_DURATION"; export interface HlsSettings { AudioOnlyHlsSettings?: AudioOnlyHlsSettings; Fmp4HlsSettings?: Fmp4HlsSettings; @@ -4175,13 +3022,15 @@ export interface HlsWebdavSettings { NumRetries?: number; RestartDelay?: number; } -export interface HtmlMotionGraphicsSettings {} +export interface HtmlMotionGraphicsSettings { +} export interface Id3SegmentTaggingScheduleActionSettings { Id3?: string; Tag?: string; } export type IFrameOnlyPlaylistType = "DISABLED" | "STANDARD"; -export interface ImmediateModeScheduleActionStartSettings {} +export interface ImmediateModeScheduleActionStartSettings { +} export type IncludeFillerNalUnits = "AUTO" | "DROP" | "INCLUDE"; export interface Input { Arn?: string; @@ -4254,15 +3103,7 @@ export interface InputDeviceConfigurableAudioChannelPairConfig { Id?: number; Profile?: InputDeviceConfigurableAudioChannelPairProfile; } -export type InputDeviceConfigurableAudioChannelPairProfile = - | "DISABLED" - | "VBR-AAC_HHE-16000" - | "VBR-AAC_HE-64000" - | "VBR-AAC_LC-128000" - | "CBR-AAC_HQ-192000" - | "CBR-AAC_HQ-256000" - | "CBR-AAC_HQ-384000" - | "CBR-AAC_HQ-512000"; +export type InputDeviceConfigurableAudioChannelPairProfile = "DISABLED" | "VBR-AAC_HHE-16000" | "VBR-AAC_HE-64000" | "VBR-AAC_LC-128000" | "CBR-AAC_HQ-192000" | "CBR-AAC_HQ-256000" | "CBR-AAC_HQ-384000" | "CBR-AAC_HQ-512000"; export interface InputDeviceConfigurableSettings { ConfiguredInput?: InputDeviceConfiguredInput; MaxBitrate?: number; @@ -4305,10 +3146,7 @@ export interface InputDeviceNetworkSettings { IpScheme?: InputDeviceIpScheme; SubnetMask?: string; } -export type InputDeviceOutputType = - | "NONE" - | "MEDIALIVE_INPUT" - | "MEDIACONNECT_FLOW"; +export type InputDeviceOutputType = "NONE" | "MEDIALIVE_INPUT" | "MEDIACONNECT_FLOW"; export interface InputDeviceRequest { Id?: string; } @@ -4343,15 +3181,7 @@ export interface InputDeviceUhdAudioChannelPairConfig { Id?: number; Profile?: InputDeviceUhdAudioChannelPairProfile; } -export type InputDeviceUhdAudioChannelPairProfile = - | "DISABLED" - | "VBR-AAC_HHE-16000" - | "VBR-AAC_HE-64000" - | "VBR-AAC_LC-128000" - | "CBR-AAC_HQ-192000" - | "CBR-AAC_HQ-256000" - | "CBR-AAC_HQ-384000" - | "CBR-AAC_HQ-512000"; +export type InputDeviceUhdAudioChannelPairProfile = "DISABLED" | "VBR-AAC_HHE-16000" | "VBR-AAC_HE-64000" | "VBR-AAC_LC-128000" | "CBR-AAC_HQ-192000" | "CBR-AAC_HQ-256000" | "CBR-AAC_HQ-384000" | "CBR-AAC_HQ-512000"; export interface InputDeviceUhdSettings { ActiveInput?: InputDeviceActiveInput; ConfiguredInput?: InputDeviceConfiguredInput; @@ -4376,10 +3206,7 @@ export interface InputLocation { export type InputLossActionForHlsOut = "EMIT_OUTPUT" | "PAUSE_OUTPUT"; export type InputLossActionForMsSmoothOut = "EMIT_OUTPUT" | "PAUSE_OUTPUT"; export type InputLossActionForRtmpOut = "EMIT_OUTPUT" | "PAUSE_OUTPUT"; -export type InputLossActionForUdpOut = - | "DROP_PROGRAM" - | "DROP_TS" - | "EMIT_PROGRAM"; +export type InputLossActionForUdpOut = "DROP_PROGRAM" | "DROP_TS" | "EMIT_PROGRAM"; export interface InputLossBehavior { BlackFrameMsec?: number; InputLossImageColor?: string; @@ -4393,9 +3220,7 @@ export interface InputLossFailoverSettings { export type InputLossImageType = "COLOR" | "SLATE"; export type InputMaximumBitrate = "MAX_10_MBPS" | "MAX_20_MBPS" | "MAX_50_MBPS"; export type InputNetworkLocation = "AWS" | "ON_PREMISES"; -export type InputPreference = - | "EQUAL_INPUT_PREFERENCE" - | "PRIMARY_INPUT_PREFERRED"; +export type InputPreference = "EQUAL_INPUT_PREFERENCE" | "PRIMARY_INPUT_PREFERRED"; export interface InputPrepareScheduleActionSettings { InputAttachmentNameReference?: string; InputClippingSettings?: InputClippingSettings; @@ -4419,11 +3244,7 @@ export interface InputSecurityGroup { Tags?: Record; WhitelistRules?: Array; } -export type InputSecurityGroupState = - | "IDLE" - | "IN_USE" - | "UPDATING" - | "DELETED"; +export type InputSecurityGroupState = "IDLE" | "IN_USE" | "UPDATING" | "DELETED"; export interface InputSettings { AudioSelectors?: Array; CaptionSelectors?: Array; @@ -4454,33 +3275,14 @@ export interface InputSpecification { MaximumBitrate?: InputMaximumBitrate; Resolution?: InputResolution; } -export type InputState = - | "CREATING" - | "DETACHED" - | "ATTACHED" - | "DELETING" - | "DELETED"; +export type InputState = "CREATING" | "DETACHED" | "ATTACHED" | "DELETING" | "DELETED"; export interface InputSwitchScheduleActionSettings { InputAttachmentNameReference: string; InputClippingSettings?: InputClippingSettings; UrlPath?: Array; } export type InputTimecodeSource = "ZEROBASED" | "EMBEDDED"; -export type InputType = - | "UDP_PUSH" - | "RTP_PUSH" - | "RTMP_PUSH" - | "RTMP_PULL" - | "URL_PULL" - | "MP4_FILE" - | "MEDIACONNECT" - | "INPUT_DEVICE" - | "AWS_CDI" - | "TS_FILE" - | "SRT_CALLER" - | "MULTICAST" - | "SMPTE_2110_RECEIVER_GROUP" - | "SDI"; +export type InputType = "UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER" | "MULTICAST" | "SMPTE_2110_RECEIVER_GROUP" | "SDI"; export interface InputVpcRequest { SecurityGroupIds?: Array; SubnetIds: Array; @@ -4520,9 +3322,7 @@ export interface IpPoolUpdateRequest { export interface KeyProviderSettings { StaticKeySettings?: StaticKeySettings; } -export type LastFrameClippingBehavior = - | "EXCLUDE_LAST_FRAME" - | "INCLUDE_LAST_FRAME"; +export type LastFrameClippingBehavior = "EXCLUDE_LAST_FRAME" | "INCLUDE_LAST_FRAME"; export interface ListAlertsRequest { ChannelId: string; MaxResults?: number; @@ -4743,7 +3543,8 @@ export interface ListTagsForResourceRequest { export interface ListTagsForResourceResponse { Tags?: Record; } -export interface ListVersionsRequest {} +export interface ListVersionsRequest { +} export interface ListVersionsResponse { Versions?: Array; } @@ -4764,13 +3565,7 @@ export type M2tsNielsenId3Behavior = "NO_PASSTHROUGH" | "PASSTHROUGH"; export type M2tsPcrControl = "CONFIGURED_PCR_PERIOD" | "PCR_EVERY_PES_PACKET"; export type M2tsRateMode = "CBR" | "VBR"; export type M2tsScte35Control = "NONE" | "PASSTHROUGH"; -export type M2tsSegmentationMarkers = - | "EBP" - | "EBP_LEGACY" - | "NONE" - | "PSI_SEGSTART" - | "RAI_ADAPT" - | "RAI_SEGSTART"; +export type M2tsSegmentationMarkers = "EBP" | "EBP_LEGACY" | "NONE" | "PSI_SEGSTART" | "RAI_ADAPT" | "RAI_SEGSTART"; export type M2tsSegmentationStyle = "MAINTAIN_CADENCE" | "RESET_CADENCE"; export interface M2tsSettings { AbsentInputAudioBehavior?: M2tsAbsentInputAudioBehavior; @@ -4853,14 +3648,7 @@ export interface MaintenanceCreateSettings { MaintenanceDay?: MaintenanceDay; MaintenanceStartTime?: string; } -export type MaintenanceDay = - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY" - | "SUNDAY"; +export type MaintenanceDay = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"; export interface MaintenanceStatus { MaintenanceDay?: MaintenanceDay; MaintenanceDeadline?: string; @@ -4935,7 +3723,8 @@ export interface MotionGraphicsConfiguration { MotionGraphicsInsertion?: MotionGraphicsInsertion; MotionGraphicsSettings: MotionGraphicsSettings; } -export interface MotionGraphicsDeactivateScheduleActionSettings {} +export interface MotionGraphicsDeactivateScheduleActionSettings { +} export type MotionGraphicsInsertion = "DISABLED" | "ENABLED"; export interface MotionGraphicsSettings { HtmlMotionGraphicsSettings?: HtmlMotionGraphicsSettings; @@ -4946,12 +3735,7 @@ export interface Mp2Settings { CodingMode?: Mp2CodingMode; SampleRate?: number; } -export type Mpeg2AdaptiveQuantization = - | "AUTO" - | "HIGH" - | "LOW" - | "MEDIUM" - | "OFF"; +export type Mpeg2AdaptiveQuantization = "AUTO" | "HIGH" | "LOW" | "MEDIUM" | "OFF"; export type Mpeg2ColorMetadata = "IGNORE" | "INSERT"; export type Mpeg2ColorSpace = "AUTO" | "PASSTHROUGH"; export type Mpeg2DisplayRatio = "DISPLAYRATIO16X9" | "DISPLAYRATIO4X3"; @@ -5056,7 +3840,8 @@ export type MultiplexAlertState = "SET" | "CLEARED"; export interface MultiplexContainerSettings { MultiplexM2tsSettings?: MultiplexM2tsSettings; } -export interface MultiplexGroupSettings {} +export interface MultiplexGroupSettings { +} export interface MultiplexM2tsSettings { AbsentInputAudioBehavior?: M2tsAbsentInputAudioBehavior; Arib?: M2tsArib; @@ -5083,10 +3868,7 @@ export interface MultiplexOutputSettings { Destination: OutputLocationRef; ContainerSettings?: MultiplexContainerSettings; } -export type MultiplexPacketIdentifiersMapping = Record< - string, - MultiplexProgramPacketIdentifiersMap ->; +export type MultiplexPacketIdentifiersMapping = Record; export interface MultiplexProgram { ChannelId?: string; MultiplexProgramSettings?: MultiplexProgramSettings; @@ -5144,16 +3926,7 @@ export interface MultiplexSettings { export interface MultiplexSettingsSummary { TransportStreamBitrate?: number; } -export type MultiplexState = - | "CREATING" - | "CREATE_FAILED" - | "IDLE" - | "STARTING" - | "RUNNING" - | "RECOVERING" - | "STOPPING" - | "DELETING" - | "DELETED"; +export type MultiplexState = "CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED"; export interface MultiplexStatmuxVideoSettings { MaximumBitrate?: number; MinimumBitrate?: number; @@ -5174,25 +3947,14 @@ export interface MultiplexVideoSettings { ConstantBitrate?: number; StatmuxSettings?: MultiplexStatmuxVideoSettings; } -export type NetworkInputServerValidation = - | "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME" - | "CHECK_CRYPTOGRAPHY_ONLY"; +export type NetworkInputServerValidation = "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME" | "CHECK_CRYPTOGRAPHY_ONLY"; export interface NetworkInputSettings { HlsInputSettings?: HlsInputSettings; ServerValidation?: NetworkInputServerValidation; MulticastInputSettings?: MulticastInputSettings; } export type NetworkInterfaceMode = "NAT" | "BRIDGE"; -export type NetworkState = - | "CREATING" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETING" - | "IDLE" - | "IN_USE" - | "UPDATING" - | "DELETE_FAILED" - | "DELETED"; +export type NetworkState = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED"; export interface NielsenCBET { CbetCheckDigitString: string; CbetStepaside: NielsenWatermarksCbetStepaside; @@ -5209,25 +3971,13 @@ export interface NielsenNaesIiNw { } export type NielsenPcmToId3TaggingState = "DISABLED" | "ENABLED"; export type NielsenWatermarksCbetStepaside = "DISABLED" | "ENABLED"; -export type NielsenWatermarksDistributionTypes = - | "FINAL_DISTRIBUTOR" - | "PROGRAM_CONTENT"; +export type NielsenWatermarksDistributionTypes = "FINAL_DISTRIBUTOR" | "PROGRAM_CONTENT"; export interface NielsenWatermarksSettings { NielsenCbetSettings?: NielsenCBET; NielsenDistributionType?: NielsenWatermarksDistributionTypes; NielsenNaesIiNwSettings?: NielsenNaesIiNw; } -export type NielsenWatermarkTimezones = - | "AMERICA_PUERTO_RICO" - | "US_ALASKA" - | "US_ARIZONA" - | "US_CENTRAL" - | "US_EASTERN" - | "US_HAWAII" - | "US_MOUNTAIN" - | "US_PACIFIC" - | "US_SAMOA" - | "UTC"; +export type NielsenWatermarkTimezones = "AMERICA_PUERTO_RICO" | "US_ALASKA" | "US_ARIZONA" | "US_CENTRAL" | "US_EASTERN" | "US_HAWAII" | "US_MOUNTAIN" | "US_PACIFIC" | "US_SAMOA" | "UTC"; export type NodeConnectionState = "CONNECTED" | "DISCONNECTED"; export interface NodeInterfaceMapping { LogicalInterfaceName?: string; @@ -5240,19 +3990,7 @@ export interface NodeInterfaceMappingCreateRequest { PhysicalInterfaceName?: string; } export type NodeRole = "BACKUP" | "ACTIVE"; -export type NodeState = - | "CREATED" - | "REGISTERING" - | "READY_TO_ACTIVATE" - | "REGISTRATION_FAILED" - | "ACTIVATION_FAILED" - | "ACTIVE" - | "READY" - | "IN_USE" - | "DEREGISTERING" - | "DRAINING" - | "DEREGISTRATION_FAILED" - | "DEREGISTERED"; +export type NodeState = "CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED"; export declare class NotFoundException extends EffectData.TaggedError( "NotFoundException", )<{ @@ -5330,7 +4068,8 @@ export interface OutputSettings { CmafIngestOutputSettings?: CmafIngestOutputSettings; SrtOutputSettings?: SrtOutputSettings; } -export interface PassThroughSettings {} +export interface PassThroughSettings { +} export interface PauseStateScheduleActionSettings { Pipelines?: Array; } @@ -5343,14 +4082,12 @@ export interface PipelineDetail { ChannelEngineVersion?: ChannelEngineVersionResponse; } export type PipelineId = "PIPELINE_0" | "PIPELINE_1"; -export interface PipelineLockingSettings {} +export interface PipelineLockingSettings { +} export interface PipelinePauseStateSettings { PipelineId: PipelineId; } -export type PreferredChannelPipeline = - | "CURRENTLY_ACTIVE" - | "PIPELINE_0" - | "PIPELINE_1"; +export type PreferredChannelPipeline = "CURRENTLY_ACTIVE" | "PIPELINE_0" | "PIPELINE_1"; export interface PurchaseOfferingRequest { Count: number; Name?: string; @@ -5363,19 +4100,24 @@ export interface PurchaseOfferingRequest { export interface PurchaseOfferingResponse { Reservation?: Reservation; } -export interface RawSettings {} +export interface RawSettings { +} export type RebootInputDeviceForce = "NO" | "YES"; export interface RebootInputDeviceRequest { Force?: RebootInputDeviceForce; InputDeviceId: string; } -export interface RebootInputDeviceResponse {} -export interface Rec601Settings {} -export interface Rec709Settings {} +export interface RebootInputDeviceResponse { +} +export interface Rec601Settings { +} +export interface Rec709Settings { +} export interface RejectInputDeviceTransferRequest { InputDeviceId: string; } -export interface RejectInputDeviceTransferResponse {} +export interface RejectInputDeviceTransferResponse { +} export interface RemixSettings { ChannelMappings: Array; ChannelsIn?: number; @@ -5406,21 +4148,9 @@ export interface Reservation { Tags?: Record; UsagePrice?: number; } -export type ReservationAutomaticRenewal = - | "DISABLED" - | "ENABLED" - | "UNAVAILABLE"; -export type ReservationCodec = - | "MPEG2" - | "AVC" - | "HEVC" - | "AUDIO" - | "LINK" - | "AV1"; -export type ReservationMaximumBitrate = - | "MAX_10_MBPS" - | "MAX_20_MBPS" - | "MAX_50_MBPS"; +export type ReservationAutomaticRenewal = "DISABLED" | "ENABLED" | "UNAVAILABLE"; +export type ReservationCodec = "MPEG2" | "AVC" | "HEVC" | "AUDIO" | "LINK" | "AV1"; +export type ReservationMaximumBitrate = "MAX_10_MBPS" | "MAX_20_MBPS" | "MAX_50_MBPS"; export type ReservationMaximumFramerate = "MAX_30_FPS" | "MAX_60_FPS"; export type ReservationResolution = "SD" | "HD" | "FHD" | "UHD"; export interface ReservationResourceSpecification { @@ -5433,16 +4163,8 @@ export interface ReservationResourceSpecification { SpecialFeature?: ReservationSpecialFeature; VideoQuality?: ReservationVideoQuality; } -export type ReservationResourceType = - | "INPUT" - | "OUTPUT" - | "MULTIPLEX" - | "CHANNEL"; -export type ReservationSpecialFeature = - | "ADVANCED_AUDIO" - | "AUDIO_NORMALIZATION" - | "MGHD" - | "MGUHD"; +export type ReservationResourceType = "INPUT" | "OUTPUT" | "MULTIPLEX" | "CHANNEL"; +export type ReservationSpecialFeature = "ADVANCED_AUDIO" | "AUDIO_NORMALIZATION" | "MGHD" | "MGUHD"; export type ReservationState = "ACTIVE" | "EXPIRED" | "CANCELED" | "DELETED"; export type ReservationVideoQuality = "STANDARD" | "ENHANCED" | "PREMIUM"; export interface RestartChannelPipelinesRequest { @@ -5485,11 +4207,10 @@ export interface RouteUpdateRequest { Gateway?: string; } export type RtmpAdMarkers = "ON_CUE_POINT_SCTE35"; -export type RtmpCacheFullBehavior = - | "DISCONNECT_IMMEDIATELY" - | "WAIT_FOR_SERVER"; +export type RtmpCacheFullBehavior = "DISCONNECT_IMMEDIATELY" | "WAIT_FOR_SERVER"; export type RtmpCaptionData = "ALL" | "FIELD1_608" | "FIELD1_AND_FIELD2_608"; -export interface RtmpCaptionInfoDestinationSettings {} +export interface RtmpCaptionInfoDestinationSettings { +} export interface RtmpGroupSettings { AdMarkers?: Array; AuthenticationScheme?: AuthenticationScheme; @@ -5507,11 +4228,7 @@ export interface RtmpOutputSettings { Destination: OutputLocationRef; NumRetries?: number; } -export type S3CannedAcl = - | "AUTHENTICATED_READ" - | "BUCKET_OWNER_FULL_CONTROL" - | "BUCKET_OWNER_READ" - | "PUBLIC_READ"; +export type S3CannedAcl = "AUTHENTICATED_READ" | "BUCKET_OWNER_FULL_CONTROL" | "BUCKET_OWNER_READ" | "PUBLIC_READ"; export interface ScheduleAction { ActionName: string; ScheduleActionSettings: ScheduleActionSettings; @@ -5542,12 +4259,14 @@ export interface ScheduleActionStartSettings { ImmediateModeScheduleActionStartSettings?: ImmediateModeScheduleActionStartSettings; } export type Scte20Convert608To708 = "DISABLED" | "UPCONVERT"; -export interface Scte20PlusEmbeddedDestinationSettings {} +export interface Scte20PlusEmbeddedDestinationSettings { +} export interface Scte20SourceSettings { Convert608To708?: Scte20Convert608To708; Source608ChannelNumber?: number; } -export interface Scte27DestinationSettings {} +export interface Scte27DestinationSettings { +} export type Scte27OcrLanguage = "DEU" | "ENG" | "FRA" | "NLD" | "POR" | "SPA"; export interface Scte27SourceSettings { OcrLanguage?: Scte27OcrLanguage; @@ -5555,9 +4274,7 @@ export interface Scte27SourceSettings { } export type Scte35AposNoRegionalBlackoutBehavior = "FOLLOW" | "IGNORE"; export type Scte35AposWebDeliveryAllowedBehavior = "FOLLOW" | "IGNORE"; -export type Scte35ArchiveAllowedFlag = - | "ARCHIVE_NOT_ALLOWED" - | "ARCHIVE_ALLOWED"; +export type Scte35ArchiveAllowedFlag = "ARCHIVE_NOT_ALLOWED" | "ARCHIVE_ALLOWED"; export interface Scte35DeliveryRestrictions { ArchiveAllowedFlag: Scte35ArchiveAllowedFlag; DeviceRestrictions: Scte35DeviceRestrictions; @@ -5570,25 +4287,17 @@ export interface Scte35Descriptor { export interface Scte35DescriptorSettings { SegmentationDescriptorScte35DescriptorSettings: Scte35SegmentationDescriptor; } -export type Scte35DeviceRestrictions = - | "NONE" - | "RESTRICT_GROUP0" - | "RESTRICT_GROUP1" - | "RESTRICT_GROUP2"; +export type Scte35DeviceRestrictions = "NONE" | "RESTRICT_GROUP0" | "RESTRICT_GROUP1" | "RESTRICT_GROUP2"; export type Scte35InputMode = "FIXED" | "FOLLOW_ACTIVE"; export interface Scte35InputScheduleActionSettings { InputAttachmentNameReference?: string; Mode: Scte35InputMode; } -export type Scte35NoRegionalBlackoutFlag = - | "REGIONAL_BLACKOUT" - | "NO_REGIONAL_BLACKOUT"; +export type Scte35NoRegionalBlackoutFlag = "REGIONAL_BLACKOUT" | "NO_REGIONAL_BLACKOUT"; export interface Scte35ReturnToNetworkScheduleActionSettings { SpliceEventId: number; } -export type Scte35SegmentationCancelIndicator = - | "SEGMENTATION_EVENT_NOT_CANCELED" - | "SEGMENTATION_EVENT_CANCELED"; +export type Scte35SegmentationCancelIndicator = "SEGMENTATION_EVENT_NOT_CANCELED" | "SEGMENTATION_EVENT_CANCELED"; export interface Scte35SegmentationDescriptor { DeliveryRestrictions?: Scte35DeliveryRestrictions; SegmentNum?: number; @@ -5602,9 +4311,7 @@ export interface Scte35SegmentationDescriptor { SubSegmentNum?: number; SubSegmentsExpected?: number; } -export type Scte35SegmentationScope = - | "ALL_OUTPUT_GROUPS" - | "SCTE35_ENABLED_OUTPUT_GROUPS"; +export type Scte35SegmentationScope = "ALL_OUTPUT_GROUPS" | "SCTE35_ENABLED_OUTPUT_GROUPS"; export interface Scte35SpliceInsert { AdAvailOffset?: number; NoRegionalBlackoutFlag?: Scte35SpliceInsertNoRegionalBlackoutBehavior; @@ -5625,9 +4332,7 @@ export interface Scte35TimeSignalScheduleActionSettings { Scte35Descriptors: Array; } export type Scte35Type = "NONE" | "SCTE_35_WITHOUT_SEGMENTATION"; -export type Scte35WebDeliveryAllowedFlag = - | "WEB_DELIVERY_NOT_ALLOWED" - | "WEB_DELIVERY_ALLOWED"; +export type Scte35WebDeliveryAllowedFlag = "WEB_DELIVERY_NOT_ALLOWED" | "WEB_DELIVERY_ALLOWED"; export interface SdiSource { Arn?: string; Id?: string; @@ -5643,8 +4348,7 @@ export interface SdiSourceMapping { SdiSource?: string; } export type SdiSourceMappings = Array; -export type SdiSourceMappingsUpdateRequest = - Array; +export type SdiSourceMappingsUpdateRequest = Array; export interface SdiSourceMappingUpdateRequest { CardNumber?: number; ChannelNumber?: number; @@ -5662,27 +4366,8 @@ export interface SdiSourceSummary { Type?: SdiSourceType; } export type SdiSourceType = "SINGLE" | "QUAD"; -export type SignalMapMonitorDeploymentStatus = - | "NOT_DEPLOYED" - | "DRY_RUN_DEPLOYMENT_COMPLETE" - | "DRY_RUN_DEPLOYMENT_FAILED" - | "DRY_RUN_DEPLOYMENT_IN_PROGRESS" - | "DEPLOYMENT_COMPLETE" - | "DEPLOYMENT_FAILED" - | "DEPLOYMENT_IN_PROGRESS" - | "DELETE_COMPLETE" - | "DELETE_FAILED" - | "DELETE_IN_PROGRESS"; -export type SignalMapStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_COMPLETE" - | "CREATE_FAILED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_COMPLETE" - | "UPDATE_REVERTED" - | "UPDATE_FAILED" - | "READY" - | "NOT_READY"; +export type SignalMapMonitorDeploymentStatus = "NOT_DEPLOYED" | "DRY_RUN_DEPLOYMENT_COMPLETE" | "DRY_RUN_DEPLOYMENT_FAILED" | "DRY_RUN_DEPLOYMENT_IN_PROGRESS" | "DEPLOYMENT_COMPLETE" | "DEPLOYMENT_FAILED" | "DEPLOYMENT_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED" | "DELETE_IN_PROGRESS"; +export type SignalMapStatus = "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_REVERTED" | "UPDATE_FAILED" | "READY" | "NOT_READY"; export interface SignalMapSummary { Arn: string; CreatedAt: Date | string; @@ -5694,26 +4379,14 @@ export interface SignalMapSummary { Status: SignalMapStatus; Tags?: Record; } -export type SmoothGroupAudioOnlyTimecodeControl = - | "PASSTHROUGH" - | "USE_CONFIGURED_CLOCK"; +export type SmoothGroupAudioOnlyTimecodeControl = "PASSTHROUGH" | "USE_CONFIGURED_CLOCK"; export type SmoothGroupCertificateMode = "SELF_SIGNED" | "VERIFY_AUTHENTICITY"; -export type SmoothGroupEventIdMode = - | "NO_EVENT_ID" - | "USE_CONFIGURED" - | "USE_TIMESTAMP"; +export type SmoothGroupEventIdMode = "NO_EVENT_ID" | "USE_CONFIGURED" | "USE_TIMESTAMP"; export type SmoothGroupEventStopBehavior = "NONE" | "SEND_EOS"; -export type SmoothGroupSegmentationMode = - | "USE_INPUT_SEGMENTATION" - | "USE_SEGMENT_DURATION"; -export type SmoothGroupSparseTrackType = - | "NONE" - | "SCTE_35" - | "SCTE_35_WITHOUT_SEGMENTATION"; +export type SmoothGroupSegmentationMode = "USE_INPUT_SEGMENTATION" | "USE_SEGMENT_DURATION"; +export type SmoothGroupSparseTrackType = "NONE" | "SCTE_35" | "SCTE_35_WITHOUT_SEGMENTATION"; export type SmoothGroupStreamManifestBehavior = "DO_NOT_SEND" | "SEND"; -export type SmoothGroupTimestampOffsetMode = - | "USE_CONFIGURED_OFFSET" - | "USE_EVENT_START_DATE"; +export type SmoothGroupTimestampOffsetMode = "USE_CONFIGURED_OFFSET" | "USE_EVENT_START_DATE"; export type Smpte2038DataPreference = "IGNORE" | "PREFER"; export interface Smpte2110ReceiverGroup { SdpSettings?: Smpte2110ReceiverGroupSdpSettings; @@ -5726,7 +4399,8 @@ export interface Smpte2110ReceiverGroupSdpSettings { export interface Smpte2110ReceiverGroupSettings { Smpte2110ReceiverGroups?: Array; } -export interface SmpteTtDestinationSettings {} +export interface SmpteTtDestinationSettings { +} export interface SrtCallerDecryption { Algorithm?: Algorithm; PassphraseSecretArn?: string; @@ -5826,11 +4500,13 @@ export interface StartDeleteMonitorDeploymentResponse { export interface StartInputDeviceMaintenanceWindowRequest { InputDeviceId: string; } -export interface StartInputDeviceMaintenanceWindowResponse {} +export interface StartInputDeviceMaintenanceWindowResponse { +} export interface StartInputDeviceRequest { InputDeviceId: string; } -export interface StartInputDeviceResponse {} +export interface StartInputDeviceResponse { +} export interface StartMonitorDeploymentRequest { DryRun?: boolean; Identifier: string; @@ -5968,7 +4644,8 @@ export interface StopChannelResponse { export interface StopInputDeviceRequest { InputDeviceId: string; } -export interface StopInputDeviceResponse {} +export interface StopInputDeviceResponse { +} export interface StopMultiplexRequest { MultiplexId: string; } @@ -5994,37 +4671,18 @@ export interface SuccessfulMonitorDeployment { } export type TagMap = Record; export type Tags = Record; -export interface TeletextDestinationSettings {} +export interface TeletextDestinationSettings { +} export interface TeletextSourceSettings { OutputRectangle?: CaptionRectangle; PageNumber?: string; } -export type TemporalFilterPostFilterSharpening = - | "AUTO" - | "DISABLED" - | "ENABLED"; +export type TemporalFilterPostFilterSharpening = "AUTO" | "DISABLED" | "ENABLED"; export interface TemporalFilterSettings { PostFilterSharpening?: TemporalFilterPostFilterSharpening; Strength?: TemporalFilterStrength; } -export type TemporalFilterStrength = - | "AUTO" - | "STRENGTH_1" - | "STRENGTH_2" - | "STRENGTH_3" - | "STRENGTH_4" - | "STRENGTH_5" - | "STRENGTH_6" - | "STRENGTH_7" - | "STRENGTH_8" - | "STRENGTH_9" - | "STRENGTH_10" - | "STRENGTH_11" - | "STRENGTH_12" - | "STRENGTH_13" - | "STRENGTH_14" - | "STRENGTH_15" - | "STRENGTH_16"; +export type TemporalFilterStrength = "AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4" | "STRENGTH_5" | "STRENGTH_6" | "STRENGTH_7" | "STRENGTH_8" | "STRENGTH_9" | "STRENGTH_10" | "STRENGTH_11" | "STRENGTH_12" | "STRENGTH_13" | "STRENGTH_14" | "STRENGTH_15" | "STRENGTH_16"; export interface Thumbnail { Body?: string; ContentType?: string; @@ -6040,21 +4698,8 @@ export interface ThumbnailDetail { } export type ThumbnailState = "AUTO" | "DISABLED"; export type ThumbnailType = "UNSPECIFIED" | "CURRENT_ACTIVE"; -export type TimecodeBurninFontSize = - | "EXTRA_SMALL_10" - | "LARGE_48" - | "MEDIUM_32" - | "SMALL_16"; -export type TimecodeBurninPosition = - | "BOTTOM_CENTER" - | "BOTTOM_LEFT" - | "BOTTOM_RIGHT" - | "MIDDLE_CENTER" - | "MIDDLE_LEFT" - | "MIDDLE_RIGHT" - | "TOP_CENTER" - | "TOP_LEFT" - | "TOP_RIGHT"; +export type TimecodeBurninFontSize = "EXTRA_SMALL_10" | "LARGE_48" | "MEDIUM_32" | "SMALL_16"; +export type TimecodeBurninPosition = "BOTTOM_CENTER" | "BOTTOM_LEFT" | "BOTTOM_RIGHT" | "MIDDLE_CENTER" | "MIDDLE_LEFT" | "MIDDLE_RIGHT" | "TOP_CENTER" | "TOP_LEFT" | "TOP_RIGHT"; export interface TimecodeBurninSettings { FontSize: TimecodeBurninFontSize; Position: TimecodeBurninPosition; @@ -6079,7 +4724,8 @@ export interface TransferInputDeviceRequest { TargetRegion?: string; TransferMessage?: string; } -export interface TransferInputDeviceResponse {} +export interface TransferInputDeviceResponse { +} export interface TransferringInputDeviceSummary { Id?: string; Message?: string; @@ -6314,10 +4960,7 @@ export interface UpdateMultiplexRequest { MultiplexId: string; MultiplexSettings?: MultiplexSettings; Name?: string; - PacketIdentifiersMapping?: Record< - string, - MultiplexProgramPacketIdentifiersMap - >; + PacketIdentifiersMapping?: Record; } export interface UpdateMultiplexResponse { Multiplex?: Multiplex; @@ -6425,12 +5068,7 @@ export interface VideoSelector { ColorSpaceUsage?: VideoSelectorColorSpaceUsage; SelectorSettings?: VideoSelectorSettings; } -export type VideoSelectorColorSpace = - | "FOLLOW" - | "HDR10" - | "HLG_2020" - | "REC_601" - | "REC_709"; +export type VideoSelectorColorSpace = "FOLLOW" | "HDR10" | "HLG_2020" | "REC_601" | "REC_709"; export interface VideoSelectorColorSpaceSettings { Hdr10Settings?: Hdr10Settings; } @@ -6456,11 +5094,7 @@ export interface VpcOutputSettingsDescription { SecurityGroupIds?: Array; SubnetIds?: Array; } -export type WavCodingMode = - | "CODING_MODE_1_0" - | "CODING_MODE_2_0" - | "CODING_MODE_4_0" - | "CODING_MODE_8_0"; +export type WavCodingMode = "CODING_MODE_1_0" | "CODING_MODE_2_0" | "CODING_MODE_4_0" | "CODING_MODE_8_0"; export interface WavSettings { BitDepth?: number; CodingMode?: WavCodingMode; @@ -8176,14 +6810,5 @@ export declare namespace UpdateSdiSource { | CommonAwsError; } -export type MediaLiveErrors = - | BadGatewayException - | BadRequestException - | ConflictException - | ForbiddenException - | GatewayTimeoutException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError; +export type MediaLiveErrors = BadGatewayException | BadRequestException | ConflictException | ForbiddenException | GatewayTimeoutException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError; + diff --git a/src/services/mediapackage-vod/index.ts b/src/services/mediapackage-vod/index.ts index b0f2b361..4897c7e5 100644 --- a/src/services/mediapackage-vod/index.ts +++ b/src/services/mediapackage-vod/index.ts @@ -5,26 +5,7 @@ import type { MediaPackageVod as _MediaPackageVodClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,23 +15,23 @@ const metadata = { sigV4ServiceName: "mediapackage-vod", endpointPrefix: "mediapackage-vod", operations: { - ConfigureLogs: "PUT /packaging_groups/{Id}/configure_logs", - CreateAsset: "POST /assets", - CreatePackagingConfiguration: "POST /packaging_configurations", - CreatePackagingGroup: "POST /packaging_groups", - DeleteAsset: "DELETE /assets/{Id}", - DeletePackagingConfiguration: "DELETE /packaging_configurations/{Id}", - DeletePackagingGroup: "DELETE /packaging_groups/{Id}", - DescribeAsset: "GET /assets/{Id}", - DescribePackagingConfiguration: "GET /packaging_configurations/{Id}", - DescribePackagingGroup: "GET /packaging_groups/{Id}", - ListAssets: "GET /assets", - ListPackagingConfigurations: "GET /packaging_configurations", - ListPackagingGroups: "GET /packaging_groups", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdatePackagingGroup: "PUT /packaging_groups/{Id}", + "ConfigureLogs": "PUT /packaging_groups/{Id}/configure_logs", + "CreateAsset": "POST /assets", + "CreatePackagingConfiguration": "POST /packaging_configurations", + "CreatePackagingGroup": "POST /packaging_groups", + "DeleteAsset": "DELETE /assets/{Id}", + "DeletePackagingConfiguration": "DELETE /packaging_configurations/{Id}", + "DeletePackagingGroup": "DELETE /packaging_groups/{Id}", + "DescribeAsset": "GET /assets/{Id}", + "DescribePackagingConfiguration": "GET /packaging_configurations/{Id}", + "DescribePackagingGroup": "GET /packaging_groups/{Id}", + "ListAssets": "GET /assets", + "ListPackagingConfigurations": "GET /packaging_configurations", + "ListPackagingGroups": "GET /packaging_groups", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdatePackagingGroup": "PUT /packaging_groups/{Id}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/mediapackage-vod/types.ts b/src/services/mediapackage-vod/types.ts index 3ec4c8cd..e3af5b63 100644 --- a/src/services/mediapackage-vod/types.ts +++ b/src/services/mediapackage-vod/types.ts @@ -7,174 +7,103 @@ export declare class MediaPackageVod extends AWSServiceClient { input: ConfigureLogsRequest, ): Effect.Effect< ConfigureLogsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createAsset( input: CreateAssetRequest, ): Effect.Effect< CreateAssetResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createPackagingConfiguration( input: CreatePackagingConfigurationRequest, ): Effect.Effect< CreatePackagingConfigurationResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createPackagingGroup( input: CreatePackagingGroupRequest, ): Effect.Effect< CreatePackagingGroupResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; deleteAsset( input: DeleteAssetRequest, ): Effect.Effect< DeleteAssetResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; deletePackagingConfiguration( input: DeletePackagingConfigurationRequest, ): Effect.Effect< DeletePackagingConfigurationResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; deletePackagingGroup( input: DeletePackagingGroupRequest, ): Effect.Effect< DeletePackagingGroupResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; describeAsset( input: DescribeAssetRequest, ): Effect.Effect< DescribeAssetResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; describePackagingConfiguration( input: DescribePackagingConfigurationRequest, ): Effect.Effect< DescribePackagingConfigurationResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; describePackagingGroup( input: DescribePackagingGroupRequest, ): Effect.Effect< DescribePackagingGroupResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; listAssets( input: ListAssetsRequest, ): Effect.Effect< ListAssetsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; listPackagingConfigurations( input: ListPackagingConfigurationsRequest, ): Effect.Effect< ListPackagingConfigurationsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; listPackagingGroups( input: ListPackagingGroupsRequest, ): Effect.Effect< ListPackagingGroupsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, - ): Effect.Effect; - tagResource(input: TagResourceRequest): Effect.Effect<{}, CommonAwsError>; - untagResource(input: UntagResourceRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + ListTagsForResourceResponse, + CommonAwsError + >; + tagResource( + input: TagResourceRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; + untagResource( + input: UntagResourceRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; updatePackagingGroup( input: UpdatePackagingGroupRequest, ): Effect.Effect< UpdatePackagingGroupResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; } @@ -312,15 +241,18 @@ export interface DashPackage { export interface DeleteAssetRequest { Id: string; } -export interface DeleteAssetResponse {} +export interface DeleteAssetResponse { +} export interface DeletePackagingConfigurationRequest { Id: string; } -export interface DeletePackagingConfigurationResponse {} +export interface DeletePackagingConfigurationResponse { +} export interface DeletePackagingGroupRequest { Id: string; } -export interface DeletePackagingGroupResponse {} +export interface DeletePackagingGroupResponse { +} export interface DescribeAssetRequest { Id: string; } @@ -478,29 +410,11 @@ export interface PackagingGroup { Id?: string; Tags?: Record; } -export type PresetSpeke20Audio = - | "PRESET-AUDIO-1" - | "PRESET-AUDIO-2" - | "PRESET-AUDIO-3" - | "SHARED" - | "UNENCRYPTED"; -export type PresetSpeke20Video = - | "PRESET-VIDEO-1" - | "PRESET-VIDEO-2" - | "PRESET-VIDEO-3" - | "PRESET-VIDEO-4" - | "PRESET-VIDEO-5" - | "PRESET-VIDEO-6" - | "PRESET-VIDEO-7" - | "PRESET-VIDEO-8" - | "SHARED" - | "UNENCRYPTED"; +export type PresetSpeke20Audio = "PRESET-AUDIO-1" | "PRESET-AUDIO-2" | "PRESET-AUDIO-3" | "SHARED" | "UNENCRYPTED"; +export type PresetSpeke20Video = "PRESET-VIDEO-1" | "PRESET-VIDEO-2" | "PRESET-VIDEO-3" | "PRESET-VIDEO-4" | "PRESET-VIDEO-5" | "PRESET-VIDEO-6" | "PRESET-VIDEO-7" | "PRESET-VIDEO-8" | "SHARED" | "UNENCRYPTED"; export type Profile = "NONE" | "HBBTV_1_5"; export type ScteMarkersSource = "SEGMENTS" | "MANIFEST"; -export type SegmentTemplateFormat = - | "NUMBER_WITH_TIMELINE" - | "TIME_WITH_TIMELINE" - | "NUMBER_WITH_DURATION"; +export type SegmentTemplateFormat = "NUMBER_WITH_TIMELINE" | "TIME_WITH_TIMELINE" | "NUMBER_WITH_DURATION"; export declare class ServiceUnavailableException extends EffectData.TaggedError( "ServiceUnavailableException", )<{ @@ -512,10 +426,7 @@ export interface SpekeKeyProvider { SystemIds: Array; Url: string; } -export type StreamOrder = - | "ORIGINAL" - | "VIDEO_BITRATE_ASCENDING" - | "VIDEO_BITRATE_DESCENDING"; +export type StreamOrder = "ORIGINAL" | "VIDEO_BITRATE_ASCENDING" | "VIDEO_BITRATE_DESCENDING"; export interface StreamSelection { MaxVideoBitsPerSecond?: number; MinVideoBitsPerSecond?: number; @@ -726,19 +637,22 @@ export declare namespace ListPackagingGroups { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdatePackagingGroup { @@ -754,11 +668,5 @@ export declare namespace UpdatePackagingGroup { | CommonAwsError; } -export type MediaPackageVodErrors = - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError; +export type MediaPackageVodErrors = ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError; + diff --git a/src/services/mediapackage/index.ts b/src/services/mediapackage/index.ts index 66cba739..dd86d2d5 100644 --- a/src/services/mediapackage/index.ts +++ b/src/services/mediapackage/index.ts @@ -5,26 +5,7 @@ import type { MediaPackage as _MediaPackageClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,26 +15,25 @@ const metadata = { sigV4ServiceName: "mediapackage", endpointPrefix: "mediapackage", operations: { - ConfigureLogs: "PUT /channels/{Id}/configure_logs", - CreateChannel: "POST /channels", - CreateHarvestJob: "POST /harvest_jobs", - CreateOriginEndpoint: "POST /origin_endpoints", - DeleteChannel: "DELETE /channels/{Id}", - DeleteOriginEndpoint: "DELETE /origin_endpoints/{Id}", - DescribeChannel: "GET /channels/{Id}", - DescribeHarvestJob: "GET /harvest_jobs/{Id}", - DescribeOriginEndpoint: "GET /origin_endpoints/{Id}", - ListChannels: "GET /channels", - ListHarvestJobs: "GET /harvest_jobs", - ListOriginEndpoints: "GET /origin_endpoints", - ListTagsForResource: "GET /tags/{ResourceArn}", - RotateChannelCredentials: "PUT /channels/{Id}/credentials", - RotateIngestEndpointCredentials: - "PUT /channels/{Id}/ingest_endpoints/{IngestEndpointId}/credentials", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateChannel: "PUT /channels/{Id}", - UpdateOriginEndpoint: "PUT /origin_endpoints/{Id}", + "ConfigureLogs": "PUT /channels/{Id}/configure_logs", + "CreateChannel": "POST /channels", + "CreateHarvestJob": "POST /harvest_jobs", + "CreateOriginEndpoint": "POST /origin_endpoints", + "DeleteChannel": "DELETE /channels/{Id}", + "DeleteOriginEndpoint": "DELETE /origin_endpoints/{Id}", + "DescribeChannel": "GET /channels/{Id}", + "DescribeHarvestJob": "GET /harvest_jobs/{Id}", + "DescribeOriginEndpoint": "GET /origin_endpoints/{Id}", + "ListChannels": "GET /channels", + "ListHarvestJobs": "GET /harvest_jobs", + "ListOriginEndpoints": "GET /origin_endpoints", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "RotateChannelCredentials": "PUT /channels/{Id}/credentials", + "RotateIngestEndpointCredentials": "PUT /channels/{Id}/ingest_endpoints/{IngestEndpointId}/credentials", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateChannel": "PUT /channels/{Id}", + "UpdateOriginEndpoint": "PUT /origin_endpoints/{Id}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/mediapackage/types.ts b/src/services/mediapackage/types.ts index 080450b4..a91c58d0 100644 --- a/src/services/mediapackage/types.ts +++ b/src/services/mediapackage/types.ts @@ -7,212 +7,121 @@ export declare class MediaPackage extends AWSServiceClient { input: ConfigureLogsRequest, ): Effect.Effect< ConfigureLogsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createChannel( input: CreateChannelRequest, ): Effect.Effect< CreateChannelResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createHarvestJob( input: CreateHarvestJobRequest, ): Effect.Effect< CreateHarvestJobResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; createOriginEndpoint( input: CreateOriginEndpointRequest, ): Effect.Effect< CreateOriginEndpointResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; deleteChannel( input: DeleteChannelRequest, ): Effect.Effect< DeleteChannelResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; deleteOriginEndpoint( input: DeleteOriginEndpointRequest, ): Effect.Effect< DeleteOriginEndpointResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; describeChannel( input: DescribeChannelRequest, ): Effect.Effect< DescribeChannelResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; describeHarvestJob( input: DescribeHarvestJobRequest, ): Effect.Effect< DescribeHarvestJobResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; describeOriginEndpoint( input: DescribeOriginEndpointRequest, ): Effect.Effect< DescribeOriginEndpointResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; listChannels( input: ListChannelsRequest, ): Effect.Effect< ListChannelsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; listHarvestJobs( input: ListHarvestJobsRequest, ): Effect.Effect< ListHarvestJobsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; listOriginEndpoints( input: ListOriginEndpointsRequest, ): Effect.Effect< ListOriginEndpointsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTagsForResourceResponse, + CommonAwsError + >; rotateChannelCredentials( input: RotateChannelCredentialsRequest, ): Effect.Effect< RotateChannelCredentialsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; rotateIngestEndpointCredentials( input: RotateIngestEndpointCredentialsRequest, ): Effect.Effect< RotateIngestEndpointCredentialsResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError + >; + tagResource( + input: TagResourceRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; + untagResource( + input: UntagResourceRequest, + ): Effect.Effect< + {}, + CommonAwsError >; - tagResource(input: TagResourceRequest): Effect.Effect<{}, CommonAwsError>; - untagResource(input: UntagResourceRequest): Effect.Effect<{}, CommonAwsError>; updateChannel( input: UpdateChannelRequest, ): Effect.Effect< UpdateChannelResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; updateOriginEndpoint( input: UpdateOriginEndpointRequest, ): Effect.Effect< UpdateOriginEndpointResponse, - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError + ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError >; } export declare class Mediapackage extends MediaPackage {} -export type __AdTriggersElement = - | "SPLICE_INSERT" - | "BREAK" - | "PROVIDER_ADVERTISEMENT" - | "DISTRIBUTOR_ADVERTISEMENT" - | "PROVIDER_PLACEMENT_OPPORTUNITY" - | "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" - | "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" - | "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"; +export type __AdTriggersElement = "SPLICE_INSERT" | "BREAK" | "PROVIDER_ADVERTISEMENT" | "DISTRIBUTOR_ADVERTISEMENT" | "PROVIDER_PLACEMENT_OPPORTUNITY" | "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" | "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" | "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY"; export type __boolean = boolean; export type __integer = number; @@ -222,24 +131,15 @@ export type __listOf__string = Array; export type __listOfChannel = Array; export type __listOfHarvestJob = Array; export type __listOfHlsManifest = Array; -export type __listOfHlsManifestCreateOrUpdateParameters = - Array; +export type __listOfHlsManifestCreateOrUpdateParameters = Array; export type __listOfIngestEndpoint = Array; export type __listOfOriginEndpoint = Array; export type __mapOf__string = Record; export type __PeriodTriggersElement = "ADS"; export type __string = string; -export type AdMarkers = - | "NONE" - | "SCTE35_ENHANCED" - | "PASSTHROUGH" - | "DATERANGE"; -export type AdsOnDeliveryRestrictions = - | "NONE" - | "RESTRICTED" - | "UNRESTRICTED" - | "BOTH"; +export type AdMarkers = "NONE" | "SCTE35_ENHANCED" | "PASSTHROUGH" | "DATERANGE"; +export type AdsOnDeliveryRestrictions = "NONE" | "RESTRICTED" | "UNRESTRICTED" | "BOTH"; export type AdTriggers = Array<__AdTriggersElement>; export interface Authorization { CdnIdentifierSecret: string; @@ -384,11 +284,13 @@ export interface DashPackage { export interface DeleteChannelRequest { Id: string; } -export interface DeleteChannelResponse {} +export interface DeleteChannelResponse { +} export interface DeleteOriginEndpointRequest { Id: string; } -export interface DeleteOriginEndpointResponse {} +export interface DeleteOriginEndpointResponse { +} export interface DescribeChannelRequest { Id: string; } @@ -594,23 +496,8 @@ export interface OriginEndpoint { Whitelist?: Array; } export type PlaylistType = "NONE" | "EVENT" | "VOD"; -export type PresetSpeke20Audio = - | "PRESET-AUDIO-1" - | "PRESET-AUDIO-2" - | "PRESET-AUDIO-3" - | "SHARED" - | "UNENCRYPTED"; -export type PresetSpeke20Video = - | "PRESET-VIDEO-1" - | "PRESET-VIDEO-2" - | "PRESET-VIDEO-3" - | "PRESET-VIDEO-4" - | "PRESET-VIDEO-5" - | "PRESET-VIDEO-6" - | "PRESET-VIDEO-7" - | "PRESET-VIDEO-8" - | "SHARED" - | "UNENCRYPTED"; +export type PresetSpeke20Audio = "PRESET-AUDIO-1" | "PRESET-AUDIO-2" | "PRESET-AUDIO-3" | "SHARED" | "UNENCRYPTED"; +export type PresetSpeke20Video = "PRESET-VIDEO-1" | "PRESET-VIDEO-2" | "PRESET-VIDEO-3" | "PRESET-VIDEO-4" | "PRESET-VIDEO-5" | "PRESET-VIDEO-6" | "PRESET-VIDEO-7" | "PRESET-VIDEO-8" | "SHARED" | "UNENCRYPTED"; export type Profile = "NONE" | "HBBTV_1_5" | "HYBRIDCAST" | "DVB_DASH_2014"; export interface RotateChannelCredentialsRequest { Id: string; @@ -644,10 +531,7 @@ export interface S3Destination { ManifestKey: string; RoleArn: string; } -export type SegmentTemplateFormat = - | "NUMBER_WITH_TIMELINE" - | "TIME_WITH_TIMELINE" - | "NUMBER_WITH_DURATION"; +export type SegmentTemplateFormat = "NUMBER_WITH_TIMELINE" | "TIME_WITH_TIMELINE" | "NUMBER_WITH_DURATION"; export type SensitiveString = string; export declare class ServiceUnavailableException extends EffectData.TaggedError( @@ -664,10 +548,7 @@ export interface SpekeKeyProvider { Url: string; } export type Status = "IN_PROGRESS" | "SUCCEEDED" | "FAILED"; -export type StreamOrder = - | "ORIGINAL" - | "VIDEO_BITRATE_ASCENDING" - | "VIDEO_BITRATE_DESCENDING"; +export type StreamOrder = "ORIGINAL" | "VIDEO_BITRATE_ASCENDING" | "VIDEO_BITRATE_DESCENDING"; export interface StreamSelection { MaxVideoBitsPerSecond?: number; MinVideoBitsPerSecond?: number; @@ -899,7 +780,8 @@ export declare namespace ListOriginEndpoints { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RotateChannelCredentials { @@ -931,13 +813,15 @@ export declare namespace RotateIngestEndpointCredentials { export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateChannel { @@ -966,11 +850,5 @@ export declare namespace UpdateOriginEndpoint { | CommonAwsError; } -export type MediaPackageErrors = - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnprocessableEntityException - | CommonAwsError; +export type MediaPackageErrors = ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnprocessableEntityException | CommonAwsError; + diff --git a/src/services/mediapackagev2/index.ts b/src/services/mediapackagev2/index.ts index 2631dd53..5a30076a 100644 --- a/src/services/mediapackagev2/index.ts +++ b/src/services/mediapackagev2/index.ts @@ -5,23 +5,7 @@ import type { MediaPackageV2 as _MediaPackageV2Client } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,54 +15,36 @@ const metadata = { sigV4ServiceName: "mediapackagev2", endpointPrefix: "mediapackagev2", operations: { - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - CancelHarvestJob: - "PUT /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}", - CreateChannel: "POST /channelGroup/{ChannelGroupName}/channel", - CreateChannelGroup: "POST /channelGroup", - CreateHarvestJob: - "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob", - CreateOriginEndpoint: - "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint", - DeleteChannel: - "DELETE /channelGroup/{ChannelGroupName}/channel/{ChannelName}/", - DeleteChannelGroup: "DELETE /channelGroup/{ChannelGroupName}", - DeleteChannelPolicy: - "DELETE /channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", - DeleteOriginEndpoint: - "DELETE /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", - DeleteOriginEndpointPolicy: - "DELETE /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy", - GetChannel: "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/", - GetChannelGroup: "GET /channelGroup/{ChannelGroupName}", - GetChannelPolicy: - "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", - GetHarvestJob: - "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}", - GetOriginEndpoint: - "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", - GetOriginEndpointPolicy: - "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy", - ListChannelGroups: "GET /channelGroup", - ListChannels: "GET /channelGroup/{ChannelGroupName}/channel", - ListHarvestJobs: "GET /channelGroup/{ChannelGroupName}/harvestJob", - ListOriginEndpoints: - "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint", - PutChannelPolicy: - "PUT /channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", - PutOriginEndpointPolicy: - "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy", - ResetChannelState: - "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/reset", - ResetOriginEndpointState: - "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/reset", - UpdateChannel: - "PUT /channelGroup/{ChannelGroupName}/channel/{ChannelName}/", - UpdateChannelGroup: "PUT /channelGroup/{ChannelGroupName}", - UpdateOriginEndpoint: - "PUT /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "CancelHarvestJob": "PUT /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}", + "CreateChannel": "POST /channelGroup/{ChannelGroupName}/channel", + "CreateChannelGroup": "POST /channelGroup", + "CreateHarvestJob": "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob", + "CreateOriginEndpoint": "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint", + "DeleteChannel": "DELETE /channelGroup/{ChannelGroupName}/channel/{ChannelName}/", + "DeleteChannelGroup": "DELETE /channelGroup/{ChannelGroupName}", + "DeleteChannelPolicy": "DELETE /channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", + "DeleteOriginEndpoint": "DELETE /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", + "DeleteOriginEndpointPolicy": "DELETE /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy", + "GetChannel": "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/", + "GetChannelGroup": "GET /channelGroup/{ChannelGroupName}", + "GetChannelPolicy": "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", + "GetHarvestJob": "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/harvestJob/{HarvestJobName}", + "GetOriginEndpoint": "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", + "GetOriginEndpointPolicy": "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy", + "ListChannelGroups": "GET /channelGroup", + "ListChannels": "GET /channelGroup/{ChannelGroupName}/channel", + "ListHarvestJobs": "GET /channelGroup/{ChannelGroupName}/harvestJob", + "ListOriginEndpoints": "GET /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint", + "PutChannelPolicy": "PUT /channelGroup/{ChannelGroupName}/channel/{ChannelName}/policy", + "PutOriginEndpointPolicy": "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/policy", + "ResetChannelState": "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/reset", + "ResetOriginEndpointState": "POST /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}/reset", + "UpdateChannel": "PUT /channelGroup/{ChannelGroupName}/channel/{ChannelName}/", + "UpdateChannelGroup": "PUT /channelGroup/{ChannelGroupName}", + "UpdateOriginEndpoint": "PUT /channelGroup/{ChannelGroupName}/channel/{ChannelName}/originEndpoint/{OriginEndpointName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/mediapackagev2/types.ts b/src/services/mediapackagev2/types.ts index 612420fa..1df54b03 100644 --- a/src/services/mediapackagev2/types.ts +++ b/src/services/mediapackagev2/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MediaPackageV2 extends AWSServiceClient { @@ -44,321 +12,177 @@ export declare class MediaPackageV2 extends AWSServiceClient { >; tagResource( input: TagResourceRequest, - ): Effect.Effect<{}, ValidationException | CommonAwsError>; + ): Effect.Effect< + {}, + ValidationException | CommonAwsError + >; untagResource( input: UntagResourceRequest, - ): Effect.Effect<{}, ValidationException | CommonAwsError>; + ): Effect.Effect< + {}, + ValidationException | CommonAwsError + >; cancelHarvestJob( input: CancelHarvestJobRequest, ): Effect.Effect< CancelHarvestJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createChannel( input: CreateChannelRequest, ): Effect.Effect< CreateChannelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createChannelGroup( input: CreateChannelGroupRequest, ): Effect.Effect< CreateChannelGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createHarvestJob( input: CreateHarvestJobRequest, ): Effect.Effect< CreateHarvestJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createOriginEndpoint( input: CreateOriginEndpointRequest, ): Effect.Effect< CreateOriginEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteChannel( input: DeleteChannelRequest, ): Effect.Effect< DeleteChannelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteChannelGroup( input: DeleteChannelGroupRequest, ): Effect.Effect< DeleteChannelGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteChannelPolicy( input: DeleteChannelPolicyRequest, ): Effect.Effect< DeleteChannelPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteOriginEndpoint( input: DeleteOriginEndpointRequest, ): Effect.Effect< DeleteOriginEndpointResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteOriginEndpointPolicy( input: DeleteOriginEndpointPolicyRequest, ): Effect.Effect< DeleteOriginEndpointPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getChannel( input: GetChannelRequest, ): Effect.Effect< GetChannelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getChannelGroup( input: GetChannelGroupRequest, ): Effect.Effect< GetChannelGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getChannelPolicy( input: GetChannelPolicyRequest, ): Effect.Effect< GetChannelPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getHarvestJob( input: GetHarvestJobRequest, ): Effect.Effect< GetHarvestJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOriginEndpoint( input: GetOriginEndpointRequest, ): Effect.Effect< GetOriginEndpointResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOriginEndpointPolicy( input: GetOriginEndpointPolicyRequest, ): Effect.Effect< GetOriginEndpointPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listChannelGroups( input: ListChannelGroupsRequest, ): Effect.Effect< ListChannelGroupsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listChannels( input: ListChannelsRequest, ): Effect.Effect< ListChannelsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listHarvestJobs( input: ListHarvestJobsRequest, ): Effect.Effect< ListHarvestJobsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listOriginEndpoints( input: ListOriginEndpointsRequest, ): Effect.Effect< ListOriginEndpointsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putChannelPolicy( input: PutChannelPolicyRequest, ): Effect.Effect< PutChannelPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putOriginEndpointPolicy( input: PutOriginEndpointPolicyRequest, ): Effect.Effect< PutOriginEndpointPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resetChannelState( input: ResetChannelStateRequest, ): Effect.Effect< ResetChannelStateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resetOriginEndpointState( input: ResetOriginEndpointStateRequest, ): Effect.Effect< ResetOriginEndpointStateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateChannel( input: UpdateChannelRequest, ): Effect.Effect< UpdateChannelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateChannelGroup( input: UpdateChannelGroupRequest, ): Effect.Effect< UpdateChannelGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateOriginEndpoint( input: UpdateOriginEndpointRequest, ): Effect.Effect< UpdateOriginEndpointResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -378,7 +202,8 @@ export interface CancelHarvestJobRequest { HarvestJobName: string; ETag?: string; } -export interface CancelHarvestJobResponse {} +export interface CancelHarvestJobResponse { +} export interface CdnAuthConfiguration { CdnIdentifierSecretArns: Array; SecretsRoleArn: string; @@ -411,11 +236,7 @@ export declare class ConflictException extends EffectData.TaggedError( readonly Message?: string; readonly ConflictExceptionType?: ConflictExceptionType; }> {} -export type ConflictExceptionType = - | "RESOURCE_IN_USE" - | "RESOURCE_ALREADY_EXISTS" - | "IDEMPOTENT_PARAMETER_MISMATCH" - | "CONFLICTING_OPERATION"; +export type ConflictExceptionType = "RESOURCE_IN_USE" | "RESOURCE_ALREADY_EXISTS" | "IDEMPOTENT_PARAMETER_MISMATCH" | "CONFLICTING_OPERATION"; export type ContainerType = "TS" | "CMAF" | "ISM"; export interface CreateChannelGroupRequest { ChannelGroupName: string; @@ -527,8 +348,7 @@ export interface CreateLowLatencyHlsManifestConfiguration { FilterConfiguration?: FilterConfiguration; UrlEncodeChildManifest?: boolean; } -export type CreateLowLatencyHlsManifests = - Array; +export type CreateLowLatencyHlsManifests = Array; export interface CreateMssManifestConfiguration { ManifestName: string; ManifestWindowSeconds?: number; @@ -594,12 +414,7 @@ export interface DashDvbSettings { FontDownload?: DashDvbFontDownload; ErrorMetrics?: Array; } -export type DashPeriodTrigger = - | "AVAILS" - | "DRM_KEY_ROTATION" - | "SOURCE_CHANGES" - | "SOURCE_DISRUPTIONS" - | "NONE"; +export type DashPeriodTrigger = "AVAILS" | "DRM_KEY_ROTATION" | "SOURCE_CHANGES" | "SOURCE_DISRUPTIONS" | "NONE"; export type DashPeriodTriggers = Array; export type DashProfile = "DVB_DASH"; export type DashProfiles = Array; @@ -622,46 +437,42 @@ export interface DashUtcTiming { TimingMode?: DashUtcTimingMode; TimingSource?: string; } -export type DashUtcTimingMode = - | "HTTP_HEAD" - | "HTTP_ISO" - | "HTTP_XSDATE" - | "UTC_DIRECT"; +export type DashUtcTimingMode = "HTTP_HEAD" | "HTTP_ISO" | "HTTP_XSDATE" | "UTC_DIRECT"; export interface DeleteChannelGroupRequest { ChannelGroupName: string; } -export interface DeleteChannelGroupResponse {} +export interface DeleteChannelGroupResponse { +} export interface DeleteChannelPolicyRequest { ChannelGroupName: string; ChannelName: string; } -export interface DeleteChannelPolicyResponse {} +export interface DeleteChannelPolicyResponse { +} export interface DeleteChannelRequest { ChannelGroupName: string; ChannelName: string; } -export interface DeleteChannelResponse {} +export interface DeleteChannelResponse { +} export interface DeleteOriginEndpointPolicyRequest { ChannelGroupName: string; ChannelName: string; OriginEndpointName: string; } -export interface DeleteOriginEndpointPolicyResponse {} +export interface DeleteOriginEndpointPolicyResponse { +} export interface DeleteOriginEndpointRequest { ChannelGroupName: string; ChannelName: string; OriginEndpointName: string; } -export interface DeleteOriginEndpointResponse {} +export interface DeleteOriginEndpointResponse { +} export interface Destination { S3Destination: S3DestinationConfig; } -export type DrmSystem = - | "CLEAR_KEY_AES_128" - | "FAIRPLAY" - | "PLAYREADY" - | "WIDEVINE" - | "IRDETO"; +export type DrmSystem = "CLEAR_KEY_AES_128" | "FAIRPLAY" | "PLAYREADY" | "WIDEVINE" | "IRDETO"; export type DrmSystems = Array; export interface Encryption { ConstantInitializationVector?: string; @@ -679,11 +490,7 @@ export interface EncryptionMethod { CmafEncryptionMethod?: CmafEncryptionMethod; IsmEncryptionMethod?: IsmEncryptionMethod; } -export type EndpointErrorCondition = - | "STALE_MANIFEST" - | "INCOMPLETE_MANIFEST" - | "MISSING_DRM_KEY" - | "SLATE_INPUT"; +export type EndpointErrorCondition = "STALE_MANIFEST" | "INCOMPLETE_MANIFEST" | "MISSING_DRM_KEY" | "SLATE_INPUT"; export type EndpointErrorConditions = Array; export type EntityTag = string; @@ -805,8 +612,7 @@ export interface GetLowLatencyHlsManifestConfiguration { StartTag?: StartTag; UrlEncodeChildManifest?: boolean; } -export type GetLowLatencyHlsManifests = - Array; +export type GetLowLatencyHlsManifests = Array; export interface GetMssManifestConfiguration { ManifestName: string; Url: string; @@ -863,8 +669,7 @@ export type HarvestedHlsManifestsList = Array; export interface HarvestedLowLatencyHlsManifest { ManifestName: string; } -export type HarvestedLowLatencyHlsManifestsList = - Array; +export type HarvestedLowLatencyHlsManifestsList = Array; export interface HarvestedManifests { HlsManifests?: Array; DashManifests?: Array; @@ -891,12 +696,7 @@ export interface HarvestJob { ETag?: string; } export type HarvestJobsList = Array; -export type HarvestJobStatus = - | "QUEUED" - | "IN_PROGRESS" - | "CANCELLED" - | "COMPLETED" - | "FAILED"; +export type HarvestJobStatus = "QUEUED" | "IN_PROGRESS" | "CANCELLED" | "COMPLETED" | "FAILED"; export type IdempotencyToken = string; export interface IngestEndpoint { @@ -960,8 +760,7 @@ export interface ListLowLatencyHlsManifestConfiguration { ChildManifestName?: string; Url?: string; } -export type ListLowLatencyHlsManifests = - Array; +export type ListLowLatencyHlsManifests = Array; export interface ListMssManifestConfiguration { ManifestName: string; Url?: string; @@ -1009,29 +808,15 @@ export interface OutputHeaderConfiguration { } export type PolicyText = string; -export type PresetSpeke20Audio = - | "PRESET_AUDIO_1" - | "PRESET_AUDIO_2" - | "PRESET_AUDIO_3" - | "SHARED" - | "UNENCRYPTED"; -export type PresetSpeke20Video = - | "PRESET_VIDEO_1" - | "PRESET_VIDEO_2" - | "PRESET_VIDEO_3" - | "PRESET_VIDEO_4" - | "PRESET_VIDEO_5" - | "PRESET_VIDEO_6" - | "PRESET_VIDEO_7" - | "PRESET_VIDEO_8" - | "SHARED" - | "UNENCRYPTED"; +export type PresetSpeke20Audio = "PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED"; +export type PresetSpeke20Video = "PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED"; export interface PutChannelPolicyRequest { ChannelGroupName: string; ChannelName: string; Policy: string; } -export interface PutChannelPolicyResponse {} +export interface PutChannelPolicyResponse { +} export interface PutOriginEndpointPolicyRequest { ChannelGroupName: string; ChannelName: string; @@ -1039,7 +824,8 @@ export interface PutOriginEndpointPolicyRequest { Policy: string; CdnAuthConfiguration?: CdnAuthConfiguration; } -export interface PutOriginEndpointPolicyResponse {} +export interface PutOriginEndpointPolicyResponse { +} export interface ResetChannelStateRequest { ChannelGroupName: string; ChannelName: string; @@ -1072,11 +858,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( readonly Message?: string; readonly ResourceTypeNotFound?: ResourceTypeNotFound; }> {} -export type ResourceTypeNotFound = - | "CHANNEL_GROUP" - | "CHANNEL" - | "ORIGIN_ENDPOINT" - | "HARVEST_JOB"; +export type ResourceTypeNotFound = "CHANNEL_GROUP" | "CHANNEL" | "ORIGIN_ENDPOINT" | "HARVEST_JOB"; export type S3BucketName = string; export interface S3DestinationConfig { @@ -1091,16 +873,7 @@ export interface Scte { export interface ScteDash { AdMarkerDash?: AdMarkerDash; } -export type ScteFilter = - | "SPLICE_INSERT" - | "BREAK" - | "PROVIDER_ADVERTISEMENT" - | "DISTRIBUTOR_ADVERTISEMENT" - | "PROVIDER_PLACEMENT_OPPORTUNITY" - | "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" - | "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" - | "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" - | "PROGRAM"; +export type ScteFilter = "SPLICE_INSERT" | "BREAK" | "PROVIDER_ADVERTISEMENT" | "DISTRIBUTOR_ADVERTISEMENT" | "PROVIDER_PLACEMENT_OPPORTUNITY" | "DISTRIBUTOR_PLACEMENT_OPPORTUNITY" | "PROVIDER_OVERLAY_PLACEMENT_OPPORTUNITY" | "DISTRIBUTOR_OVERLAY_PLACEMENT_OPPORTUNITY" | "PROGRAM"; export type ScteFilterList = Array; export interface ScteHls { AdMarkerHls?: AdMarkerHls; @@ -1229,111 +1002,29 @@ export declare class ValidationException extends EffectData.TaggedError( readonly Message?: string; readonly ValidationExceptionType?: ValidationExceptionType; }> {} -export type ValidationExceptionType = - | "CONTAINER_TYPE_IMMUTABLE" - | "INVALID_PAGINATION_TOKEN" - | "INVALID_PAGINATION_MAX_RESULTS" - | "INVALID_POLICY" - | "INVALID_ROLE_ARN" - | "MANIFEST_NAME_COLLISION" - | "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH" - | "CENC_IV_INCOMPATIBLE" - | "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE" - | "ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE" - | "ENCRYPTION_CONTRACT_UNENCRYPTED" - | "ENCRYPTION_CONTRACT_SHARED" - | "NUM_MANIFESTS_LOW" - | "NUM_MANIFESTS_HIGH" - | "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE" - | "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE" - | "ROLE_ARN_NOT_ASSUMABLE" - | "ROLE_ARN_LENGTH_OUT_OF_RANGE" - | "ROLE_ARN_INVALID_FORMAT" - | "URL_INVALID" - | "URL_SCHEME" - | "URL_USER_INFO" - | "URL_PORT" - | "URL_UNKNOWN_HOST" - | "URL_LOCAL_ADDRESS" - | "URL_LOOPBACK_ADDRESS" - | "URL_LINK_LOCAL_ADDRESS" - | "URL_MULTICAST_ADDRESS" - | "MEMBER_INVALID" - | "MEMBER_MISSING" - | "MEMBER_MIN_VALUE" - | "MEMBER_MAX_VALUE" - | "MEMBER_MIN_LENGTH" - | "MEMBER_MAX_LENGTH" - | "MEMBER_INVALID_ENUM_VALUE" - | "MEMBER_DOES_NOT_MATCH_PATTERN" - | "INVALID_MANIFEST_FILTER" - | "INVALID_TIME_DELAY_SECONDS" - | "END_TIME_EARLIER_THAN_START_TIME" - | "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST" - | "DIRECT_MODE_WITH_TIMING_SOURCE" - | "NONE_MODE_WITH_TIMING_SOURCE" - | "TIMING_SOURCE_MISSING" - | "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION" - | "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES" - | "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS" - | "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION" - | "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY" - | "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION" - | "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT" - | "TOO_MANY_IN_PROGRESS_HARVEST_JOBS" - | "HARVEST_JOB_INELIGIBLE_FOR_CANCELLATION" - | "INVALID_HARVEST_JOB_DURATION" - | "HARVEST_JOB_S3_DESTINATION_MISSING_OR_INCOMPLETE" - | "HARVEST_JOB_UNABLE_TO_WRITE_TO_S3_DESTINATION" - | "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED" - | "CLIP_START_TIME_WITH_START_OR_END" - | "START_TAG_TIME_OFFSET_INVALID" - | "INCOMPATIBLE_DASH_PROFILE_DVB_DASH_CONFIGURATION" - | "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE" - | "INCOMPATIBLE_DASH_COMPACTNESS_CONFIGURATION" - | "INCOMPATIBLE_XML_ENCODING" - | "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE" - | "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING" - | "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION" - | "ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION" - | "TS_CONTAINER_TYPE_WITH_MSS_MANIFEST" - | "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST" - | "ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST" - | "ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST" - | "ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST" - | "ISM_CONTAINER_TYPE_WITH_SCTE" - | "ISM_CONTAINER_WITH_KEY_ROTATION" - | "BATCH_GET_SECRET_VALUE_DENIED" - | "GET_SECRET_VALUE_DENIED" - | "DESCRIBE_SECRET_DENIED" - | "INVALID_SECRET_FORMAT" - | "SECRET_IS_NOT_ONE_KEY_VALUE_PAIR" - | "INVALID_SECRET_KEY" - | "INVALID_SECRET_VALUE" - | "SECRET_ARN_RESOURCE_NOT_FOUND" - | "DECRYPT_SECRET_FAILED" - | "TOO_MANY_SECRETS" - | "DUPLICATED_SECRET" - | "MALFORMED_SECRET_ARN" - | "SECRET_FROM_DIFFERENT_ACCOUNT" - | "SECRET_FROM_DIFFERENT_REGION" - | "INVALID_SECRET"; +export type ValidationExceptionType = "CONTAINER_TYPE_IMMUTABLE" | "INVALID_PAGINATION_TOKEN" | "INVALID_PAGINATION_MAX_RESULTS" | "INVALID_POLICY" | "INVALID_ROLE_ARN" | "MANIFEST_NAME_COLLISION" | "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH" | "CENC_IV_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_WITH_ISM_CONTAINER_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_UNENCRYPTED" | "ENCRYPTION_CONTRACT_SHARED" | "NUM_MANIFESTS_LOW" | "NUM_MANIFESTS_HIGH" | "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE" | "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE" | "ROLE_ARN_NOT_ASSUMABLE" | "ROLE_ARN_LENGTH_OUT_OF_RANGE" | "ROLE_ARN_INVALID_FORMAT" | "URL_INVALID" | "URL_SCHEME" | "URL_USER_INFO" | "URL_PORT" | "URL_UNKNOWN_HOST" | "URL_LOCAL_ADDRESS" | "URL_LOOPBACK_ADDRESS" | "URL_LINK_LOCAL_ADDRESS" | "URL_MULTICAST_ADDRESS" | "MEMBER_INVALID" | "MEMBER_MISSING" | "MEMBER_MIN_VALUE" | "MEMBER_MAX_VALUE" | "MEMBER_MIN_LENGTH" | "MEMBER_MAX_LENGTH" | "MEMBER_INVALID_ENUM_VALUE" | "MEMBER_DOES_NOT_MATCH_PATTERN" | "INVALID_MANIFEST_FILTER" | "INVALID_TIME_DELAY_SECONDS" | "END_TIME_EARLIER_THAN_START_TIME" | "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST" | "DIRECT_MODE_WITH_TIMING_SOURCE" | "NONE_MODE_WITH_TIMING_SOURCE" | "TIMING_SOURCE_MISSING" | "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION" | "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES" | "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS" | "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION" | "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY" | "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION" | "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT" | "TOO_MANY_IN_PROGRESS_HARVEST_JOBS" | "HARVEST_JOB_INELIGIBLE_FOR_CANCELLATION" | "INVALID_HARVEST_JOB_DURATION" | "HARVEST_JOB_S3_DESTINATION_MISSING_OR_INCOMPLETE" | "HARVEST_JOB_UNABLE_TO_WRITE_TO_S3_DESTINATION" | "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED" | "CLIP_START_TIME_WITH_START_OR_END" | "START_TAG_TIME_OFFSET_INVALID" | "INCOMPATIBLE_DASH_PROFILE_DVB_DASH_CONFIGURATION" | "DASH_DVB_ATTRIBUTES_WITHOUT_DVB_DASH_PROFILE" | "INCOMPATIBLE_DASH_COMPACTNESS_CONFIGURATION" | "INCOMPATIBLE_XML_ENCODING" | "CMAF_EXCLUDE_SEGMENT_DRM_METADATA_INCOMPATIBLE_CONTAINER_TYPE" | "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING" | "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION" | "ONLY_CMAF_INPUT_TYPE_ALLOW_PREFERRED_INPUT_CONFIGURATION" | "TS_CONTAINER_TYPE_WITH_MSS_MANIFEST" | "CMAF_CONTAINER_TYPE_WITH_MSS_MANIFEST" | "ISM_CONTAINER_TYPE_WITH_HLS_MANIFEST" | "ISM_CONTAINER_TYPE_WITH_LL_HLS_MANIFEST" | "ISM_CONTAINER_TYPE_WITH_DASH_MANIFEST" | "ISM_CONTAINER_TYPE_WITH_SCTE" | "ISM_CONTAINER_WITH_KEY_ROTATION" | "BATCH_GET_SECRET_VALUE_DENIED" | "GET_SECRET_VALUE_DENIED" | "DESCRIBE_SECRET_DENIED" | "INVALID_SECRET_FORMAT" | "SECRET_IS_NOT_ONE_KEY_VALUE_PAIR" | "INVALID_SECRET_KEY" | "INVALID_SECRET_VALUE" | "SECRET_ARN_RESOURCE_NOT_FOUND" | "DECRYPT_SECRET_FAILED" | "TOO_MANY_SECRETS" | "DUPLICATED_SECRET" | "MALFORMED_SECRET_ARN" | "SECRET_FROM_DIFFERENT_ACCOUNT" | "SECRET_FROM_DIFFERENT_REGION" | "INVALID_SECRET"; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = {}; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = {}; - export type Error = ValidationException | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; } export declare namespace CancelHarvestJob { @@ -1675,12 +1366,5 @@ export declare namespace UpdateOriginEndpoint { | CommonAwsError; } -export type MediaPackageV2Errors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type MediaPackageV2Errors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/mediastore-data/index.ts b/src/services/mediastore-data/index.ts index c3309011..38ca5b2b 100644 --- a/src/services/mediastore-data/index.ts +++ b/src/services/mediastore-data/index.ts @@ -5,26 +5,7 @@ import type { MediaStoreData as _MediaStoreDataClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,32 +15,32 @@ const metadata = { sigV4ServiceName: "mediastore", endpointPrefix: "data.mediastore", operations: { - DeleteObject: "DELETE /{Path+}", - DescribeObject: { + "DeleteObject": "DELETE /{Path+}", + "DescribeObject": { http: "HEAD /{Path+}", traits: { - ETag: "ETag", - ContentType: "Content-Type", - ContentLength: "Content-Length", - CacheControl: "Cache-Control", - LastModified: "Last-Modified", + "ETag": "ETag", + "ContentType": "Content-Type", + "ContentLength": "Content-Length", + "CacheControl": "Cache-Control", + "LastModified": "Last-Modified", }, }, - GetObject: { + "GetObject": { http: "GET /{Path+}", traits: { - Body: "httpPayload", - CacheControl: "Cache-Control", - ContentRange: "Content-Range", - ContentLength: "Content-Length", - ContentType: "Content-Type", - ETag: "ETag", - LastModified: "Last-Modified", - StatusCode: "httpResponseCode", + "Body": "httpPayload", + "CacheControl": "Cache-Control", + "ContentRange": "Content-Range", + "ContentLength": "Content-Length", + "ContentType": "Content-Type", + "ETag": "ETag", + "LastModified": "Last-Modified", + "StatusCode": "httpResponseCode", }, }, - ListItems: "GET /", - PutObject: "PUT /{Path+}", + "ListItems": "GET /", + "PutObject": "PUT /{Path+}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/mediastore-data/types.ts b/src/services/mediastore-data/types.ts index a67a368e..a052a5d6 100644 --- a/src/services/mediastore-data/types.ts +++ b/src/services/mediastore-data/types.ts @@ -9,29 +9,19 @@ export declare class MediaStoreData extends AWSServiceClient { input: DeleteObjectRequest, ): Effect.Effect< DeleteObjectResponse, - | ContainerNotFoundException - | InternalServerError - | ObjectNotFoundException - | CommonAwsError + ContainerNotFoundException | InternalServerError | ObjectNotFoundException | CommonAwsError >; describeObject( input: DescribeObjectRequest, ): Effect.Effect< DescribeObjectResponse, - | ContainerNotFoundException - | InternalServerError - | ObjectNotFoundException - | CommonAwsError + ContainerNotFoundException | InternalServerError | ObjectNotFoundException | CommonAwsError >; getObject( input: GetObjectRequest, ): Effect.Effect< GetObjectResponse, - | ContainerNotFoundException - | InternalServerError - | ObjectNotFoundException - | RequestedRangeNotSatisfiableException - | CommonAwsError + ContainerNotFoundException | InternalServerError | ObjectNotFoundException | RequestedRangeNotSatisfiableException | CommonAwsError >; listItems( input: ListItemsRequest, @@ -61,7 +51,8 @@ export type ContentType = string; export interface DeleteObjectRequest { Path: string; } -export interface DeleteObjectResponse {} +export interface DeleteObjectResponse { +} export interface DescribeObjectRequest { Path: string; } @@ -212,9 +203,5 @@ export declare namespace PutObject { | CommonAwsError; } -export type MediaStoreDataErrors = - | ContainerNotFoundException - | InternalServerError - | ObjectNotFoundException - | RequestedRangeNotSatisfiableException - | CommonAwsError; +export type MediaStoreDataErrors = ContainerNotFoundException | InternalServerError | ObjectNotFoundException | RequestedRangeNotSatisfiableException | CommonAwsError; + diff --git a/src/services/mediastore/index.ts b/src/services/mediastore/index.ts index 951ac5ac..8fce0c27 100644 --- a/src/services/mediastore/index.ts +++ b/src/services/mediastore/index.ts @@ -5,26 +5,7 @@ import type { MediaStore as _MediaStoreClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/mediastore/types.ts b/src/services/mediastore/types.ts index 20f9a1dc..c0367eaa 100644 --- a/src/services/mediastore/types.ts +++ b/src/services/mediastore/types.ts @@ -7,59 +7,37 @@ export declare class MediaStore extends AWSServiceClient { input: CreateContainerInput, ): Effect.Effect< CreateContainerOutput, - | ContainerInUseException - | InternalServerError - | LimitExceededException - | CommonAwsError + ContainerInUseException | InternalServerError | LimitExceededException | CommonAwsError >; deleteContainer( input: DeleteContainerInput, ): Effect.Effect< DeleteContainerOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; deleteContainerPolicy( input: DeleteContainerPolicyInput, ): Effect.Effect< DeleteContainerPolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | PolicyNotFoundException - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | PolicyNotFoundException | CommonAwsError >; deleteCorsPolicy( input: DeleteCorsPolicyInput, ): Effect.Effect< DeleteCorsPolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | CorsPolicyNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | CorsPolicyNotFoundException | InternalServerError | CommonAwsError >; deleteLifecyclePolicy( input: DeleteLifecyclePolicyInput, ): Effect.Effect< DeleteLifecyclePolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | PolicyNotFoundException - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | PolicyNotFoundException | CommonAwsError >; deleteMetricPolicy( input: DeleteMetricPolicyInput, ): Effect.Effect< DeleteMetricPolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | PolicyNotFoundException - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | PolicyNotFoundException | CommonAwsError >; describeContainer( input: DescribeContainerInput, @@ -71,125 +49,85 @@ export declare class MediaStore extends AWSServiceClient { input: GetContainerPolicyInput, ): Effect.Effect< GetContainerPolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | PolicyNotFoundException - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | PolicyNotFoundException | CommonAwsError >; getCorsPolicy( input: GetCorsPolicyInput, ): Effect.Effect< GetCorsPolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | CorsPolicyNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | CorsPolicyNotFoundException | InternalServerError | CommonAwsError >; getLifecyclePolicy( input: GetLifecyclePolicyInput, ): Effect.Effect< GetLifecyclePolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | PolicyNotFoundException - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | PolicyNotFoundException | CommonAwsError >; getMetricPolicy( input: GetMetricPolicyInput, ): Effect.Effect< GetMetricPolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | PolicyNotFoundException - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | PolicyNotFoundException | CommonAwsError >; listContainers( input: ListContainersInput, - ): Effect.Effect; + ): Effect.Effect< + ListContainersOutput, + InternalServerError | CommonAwsError + >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; putContainerPolicy( input: PutContainerPolicyInput, ): Effect.Effect< PutContainerPolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; putCorsPolicy( input: PutCorsPolicyInput, ): Effect.Effect< PutCorsPolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; putLifecyclePolicy( input: PutLifecyclePolicyInput, ): Effect.Effect< PutLifecyclePolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; putMetricPolicy( input: PutMetricPolicyInput, ): Effect.Effect< PutMetricPolicyOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; startAccessLogging( input: StartAccessLoggingInput, ): Effect.Effect< StartAccessLoggingOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; stopAccessLogging( input: StopAccessLoggingInput, ): Effect.Effect< StopAccessLoggingOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | ContainerInUseException - | ContainerNotFoundException - | InternalServerError - | CommonAwsError + ContainerInUseException | ContainerNotFoundException | InternalServerError | CommonAwsError >; } @@ -252,23 +190,28 @@ export interface CreateContainerOutput { export interface DeleteContainerInput { ContainerName: string; } -export interface DeleteContainerOutput {} +export interface DeleteContainerOutput { +} export interface DeleteContainerPolicyInput { ContainerName: string; } -export interface DeleteContainerPolicyOutput {} +export interface DeleteContainerPolicyOutput { +} export interface DeleteCorsPolicyInput { ContainerName: string; } -export interface DeleteCorsPolicyOutput {} +export interface DeleteCorsPolicyOutput { +} export interface DeleteLifecyclePolicyInput { ContainerName: string; } -export interface DeleteLifecyclePolicyOutput {} +export interface DeleteLifecyclePolicyOutput { +} export interface DeleteMetricPolicyInput { ContainerName: string; } -export interface DeleteMetricPolicyOutput {} +export interface DeleteMetricPolicyOutput { +} export interface DescribeContainerInput { ContainerName?: string; } @@ -361,30 +304,36 @@ export interface PutContainerPolicyInput { ContainerName: string; Policy: string; } -export interface PutContainerPolicyOutput {} +export interface PutContainerPolicyOutput { +} export interface PutCorsPolicyInput { ContainerName: string; CorsPolicy: Array; } -export interface PutCorsPolicyOutput {} +export interface PutCorsPolicyOutput { +} export interface PutLifecyclePolicyInput { ContainerName: string; LifecyclePolicy: string; } -export interface PutLifecyclePolicyOutput {} +export interface PutLifecyclePolicyOutput { +} export interface PutMetricPolicyInput { ContainerName: string; MetricPolicy: MetricPolicy; } -export interface PutMetricPolicyOutput {} +export interface PutMetricPolicyOutput { +} export interface StartAccessLoggingInput { ContainerName: string; } -export interface StartAccessLoggingOutput {} +export interface StartAccessLoggingOutput { +} export interface StopAccessLoggingInput { ContainerName: string; } -export interface StopAccessLoggingOutput {} +export interface StopAccessLoggingOutput { +} export interface Tag { Key: string; Value?: string; @@ -397,7 +346,8 @@ export interface TagResourceInput { Resource: string; Tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type TimeStamp = Date | string; @@ -406,7 +356,8 @@ export interface UntagResourceInput { Resource: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export declare namespace CreateContainer { export type Input = CreateContainerInput; export type Output = CreateContainerOutput; @@ -527,7 +478,9 @@ export declare namespace GetMetricPolicy { export declare namespace ListContainers { export type Input = ListContainersInput; export type Output = ListContainersOutput; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace ListTagsForResource { @@ -620,11 +573,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type MediaStoreErrors = - | ContainerInUseException - | ContainerNotFoundException - | CorsPolicyNotFoundException - | InternalServerError - | LimitExceededException - | PolicyNotFoundException - | CommonAwsError; +export type MediaStoreErrors = ContainerInUseException | ContainerNotFoundException | CorsPolicyNotFoundException | InternalServerError | LimitExceededException | PolicyNotFoundException | CommonAwsError; + diff --git a/src/services/mediatailor/index.ts b/src/services/mediatailor/index.ts index 38a277f1..0ca265a1 100644 --- a/src/services/mediatailor/index.ts +++ b/src/services/mediatailor/index.ts @@ -5,26 +5,7 @@ import type { MediaTailor as _MediaTailorClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,62 +15,50 @@ const metadata = { sigV4ServiceName: "mediatailor", endpointPrefix: "api.mediatailor", operations: { - ConfigureLogsForPlaybackConfiguration: - "PUT /configureLogs/playbackConfiguration", - ListAlerts: "GET /alerts", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - ConfigureLogsForChannel: "PUT /configureLogs/channel", - CreateChannel: "POST /channel/{ChannelName}", - CreateLiveSource: - "POST /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}", - CreatePrefetchSchedule: - "POST /prefetchSchedule/{PlaybackConfigurationName}/{Name}", - CreateProgram: "POST /channel/{ChannelName}/program/{ProgramName}", - CreateSourceLocation: "POST /sourceLocation/{SourceLocationName}", - CreateVodSource: - "POST /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}", - DeleteChannel: "DELETE /channel/{ChannelName}", - DeleteChannelPolicy: "DELETE /channel/{ChannelName}/policy", - DeleteLiveSource: - "DELETE /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}", - DeletePlaybackConfiguration: "DELETE /playbackConfiguration/{Name}", - DeletePrefetchSchedule: - "DELETE /prefetchSchedule/{PlaybackConfigurationName}/{Name}", - DeleteProgram: "DELETE /channel/{ChannelName}/program/{ProgramName}", - DeleteSourceLocation: "DELETE /sourceLocation/{SourceLocationName}", - DeleteVodSource: - "DELETE /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}", - DescribeChannel: "GET /channel/{ChannelName}", - DescribeLiveSource: - "GET /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}", - DescribeProgram: "GET /channel/{ChannelName}/program/{ProgramName}", - DescribeSourceLocation: "GET /sourceLocation/{SourceLocationName}", - DescribeVodSource: - "GET /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}", - GetChannelPolicy: "GET /channel/{ChannelName}/policy", - GetChannelSchedule: "GET /channel/{ChannelName}/schedule", - GetPlaybackConfiguration: "GET /playbackConfiguration/{Name}", - GetPrefetchSchedule: - "GET /prefetchSchedule/{PlaybackConfigurationName}/{Name}", - ListChannels: "GET /channels", - ListLiveSources: "GET /sourceLocation/{SourceLocationName}/liveSources", - ListPlaybackConfigurations: "GET /playbackConfigurations", - ListPrefetchSchedules: "POST /prefetchSchedule/{PlaybackConfigurationName}", - ListSourceLocations: "GET /sourceLocations", - ListVodSources: "GET /sourceLocation/{SourceLocationName}/vodSources", - PutChannelPolicy: "PUT /channel/{ChannelName}/policy", - PutPlaybackConfiguration: "PUT /playbackConfiguration", - StartChannel: "PUT /channel/{ChannelName}/start", - StopChannel: "PUT /channel/{ChannelName}/stop", - UpdateChannel: "PUT /channel/{ChannelName}", - UpdateLiveSource: - "PUT /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}", - UpdateProgram: "PUT /channel/{ChannelName}/program/{ProgramName}", - UpdateSourceLocation: "PUT /sourceLocation/{SourceLocationName}", - UpdateVodSource: - "PUT /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}", + "ConfigureLogsForPlaybackConfiguration": "PUT /configureLogs/playbackConfiguration", + "ListAlerts": "GET /alerts", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "ConfigureLogsForChannel": "PUT /configureLogs/channel", + "CreateChannel": "POST /channel/{ChannelName}", + "CreateLiveSource": "POST /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}", + "CreatePrefetchSchedule": "POST /prefetchSchedule/{PlaybackConfigurationName}/{Name}", + "CreateProgram": "POST /channel/{ChannelName}/program/{ProgramName}", + "CreateSourceLocation": "POST /sourceLocation/{SourceLocationName}", + "CreateVodSource": "POST /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}", + "DeleteChannel": "DELETE /channel/{ChannelName}", + "DeleteChannelPolicy": "DELETE /channel/{ChannelName}/policy", + "DeleteLiveSource": "DELETE /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}", + "DeletePlaybackConfiguration": "DELETE /playbackConfiguration/{Name}", + "DeletePrefetchSchedule": "DELETE /prefetchSchedule/{PlaybackConfigurationName}/{Name}", + "DeleteProgram": "DELETE /channel/{ChannelName}/program/{ProgramName}", + "DeleteSourceLocation": "DELETE /sourceLocation/{SourceLocationName}", + "DeleteVodSource": "DELETE /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}", + "DescribeChannel": "GET /channel/{ChannelName}", + "DescribeLiveSource": "GET /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}", + "DescribeProgram": "GET /channel/{ChannelName}/program/{ProgramName}", + "DescribeSourceLocation": "GET /sourceLocation/{SourceLocationName}", + "DescribeVodSource": "GET /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}", + "GetChannelPolicy": "GET /channel/{ChannelName}/policy", + "GetChannelSchedule": "GET /channel/{ChannelName}/schedule", + "GetPlaybackConfiguration": "GET /playbackConfiguration/{Name}", + "GetPrefetchSchedule": "GET /prefetchSchedule/{PlaybackConfigurationName}/{Name}", + "ListChannels": "GET /channels", + "ListLiveSources": "GET /sourceLocation/{SourceLocationName}/liveSources", + "ListPlaybackConfigurations": "GET /playbackConfigurations", + "ListPrefetchSchedules": "POST /prefetchSchedule/{PlaybackConfigurationName}", + "ListSourceLocations": "GET /sourceLocations", + "ListVodSources": "GET /sourceLocation/{SourceLocationName}/vodSources", + "PutChannelPolicy": "PUT /channel/{ChannelName}/policy", + "PutPlaybackConfiguration": "PUT /playbackConfiguration", + "StartChannel": "PUT /channel/{ChannelName}/start", + "StopChannel": "PUT /channel/{ChannelName}/stop", + "UpdateChannel": "PUT /channel/{ChannelName}", + "UpdateLiveSource": "PUT /sourceLocation/{SourceLocationName}/liveSource/{LiveSourceName}", + "UpdateProgram": "PUT /channel/{ChannelName}/program/{ProgramName}", + "UpdateSourceLocation": "PUT /sourceLocation/{SourceLocationName}", + "UpdateVodSource": "PUT /sourceLocation/{SourceLocationName}/vodSource/{VodSourceName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/mediatailor/types.ts b/src/services/mediatailor/types.ts index 58d9e4b7..81ecd68f 100644 --- a/src/services/mediatailor/types.ts +++ b/src/services/mediatailor/types.ts @@ -11,7 +11,10 @@ export declare class MediaTailor extends AWSServiceClient { >; listAlerts( input: ListAlertsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAlertsResponse, + CommonAwsError + >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< @@ -20,135 +23,256 @@ export declare class MediaTailor extends AWSServiceClient { >; tagResource( input: TagResourceRequest, - ): Effect.Effect<{}, BadRequestException | CommonAwsError>; + ): Effect.Effect< + {}, + BadRequestException | CommonAwsError + >; untagResource( input: UntagResourceRequest, - ): Effect.Effect<{}, BadRequestException | CommonAwsError>; + ): Effect.Effect< + {}, + BadRequestException | CommonAwsError + >; configureLogsForChannel( input: ConfigureLogsForChannelRequest, - ): Effect.Effect; + ): Effect.Effect< + ConfigureLogsForChannelResponse, + CommonAwsError + >; createChannel( input: CreateChannelRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateChannelResponse, + CommonAwsError + >; createLiveSource( input: CreateLiveSourceRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateLiveSourceResponse, + CommonAwsError + >; createPrefetchSchedule( input: CreatePrefetchScheduleRequest, - ): Effect.Effect; + ): Effect.Effect< + CreatePrefetchScheduleResponse, + CommonAwsError + >; createProgram( input: CreateProgramRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateProgramResponse, + CommonAwsError + >; createSourceLocation( input: CreateSourceLocationRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateSourceLocationResponse, + CommonAwsError + >; createVodSource( input: CreateVodSourceRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateVodSourceResponse, + CommonAwsError + >; deleteChannel( input: DeleteChannelRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteChannelResponse, + CommonAwsError + >; deleteChannelPolicy( input: DeleteChannelPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteChannelPolicyResponse, + CommonAwsError + >; deleteLiveSource( input: DeleteLiveSourceRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteLiveSourceResponse, + CommonAwsError + >; deletePlaybackConfiguration( input: DeletePlaybackConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + DeletePlaybackConfigurationResponse, + CommonAwsError + >; deletePrefetchSchedule( input: DeletePrefetchScheduleRequest, - ): Effect.Effect; + ): Effect.Effect< + DeletePrefetchScheduleResponse, + CommonAwsError + >; deleteProgram( input: DeleteProgramRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteProgramResponse, + CommonAwsError + >; deleteSourceLocation( input: DeleteSourceLocationRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteSourceLocationResponse, + CommonAwsError + >; deleteVodSource( input: DeleteVodSourceRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteVodSourceResponse, + CommonAwsError + >; describeChannel( input: DescribeChannelRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeChannelResponse, + CommonAwsError + >; describeLiveSource( input: DescribeLiveSourceRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeLiveSourceResponse, + CommonAwsError + >; describeProgram( input: DescribeProgramRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeProgramResponse, + CommonAwsError + >; describeSourceLocation( input: DescribeSourceLocationRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSourceLocationResponse, + CommonAwsError + >; describeVodSource( input: DescribeVodSourceRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeVodSourceResponse, + CommonAwsError + >; getChannelPolicy( input: GetChannelPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + GetChannelPolicyResponse, + CommonAwsError + >; getChannelSchedule( input: GetChannelScheduleRequest, - ): Effect.Effect; + ): Effect.Effect< + GetChannelScheduleResponse, + CommonAwsError + >; getPlaybackConfiguration( input: GetPlaybackConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetPlaybackConfigurationResponse, + CommonAwsError + >; getPrefetchSchedule( input: GetPrefetchScheduleRequest, - ): Effect.Effect; + ): Effect.Effect< + GetPrefetchScheduleResponse, + CommonAwsError + >; listChannels( input: ListChannelsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListChannelsResponse, + CommonAwsError + >; listLiveSources( input: ListLiveSourcesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListLiveSourcesResponse, + CommonAwsError + >; listPlaybackConfigurations( input: ListPlaybackConfigurationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListPlaybackConfigurationsResponse, + CommonAwsError + >; listPrefetchSchedules( input: ListPrefetchSchedulesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListPrefetchSchedulesResponse, + CommonAwsError + >; listSourceLocations( input: ListSourceLocationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListSourceLocationsResponse, + CommonAwsError + >; listVodSources( input: ListVodSourcesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListVodSourcesResponse, + CommonAwsError + >; putChannelPolicy( input: PutChannelPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + PutChannelPolicyResponse, + CommonAwsError + >; putPlaybackConfiguration( input: PutPlaybackConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + PutPlaybackConfigurationResponse, + CommonAwsError + >; startChannel( input: StartChannelRequest, - ): Effect.Effect; + ): Effect.Effect< + StartChannelResponse, + CommonAwsError + >; stopChannel( input: StopChannelRequest, - ): Effect.Effect; + ): Effect.Effect< + StopChannelResponse, + CommonAwsError + >; updateChannel( input: UpdateChannelRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateChannelResponse, + CommonAwsError + >; updateLiveSource( input: UpdateLiveSourceRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateLiveSourceResponse, + CommonAwsError + >; updateProgram( input: UpdateProgramRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateProgramResponse, + CommonAwsError + >; updateSourceLocation( input: UpdateSourceLocationRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateSourceLocationResponse, + CommonAwsError + >; updateVodSource( input: UpdateVodSourceRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateVodSourceResponse, + CommonAwsError + >; } export declare class Mediatailor extends MediaTailor {} -export type __adsInteractionExcludeEventTypesList = - Array; -export type __adsInteractionPublishOptInEventTypesList = - Array; +export type __adsInteractionExcludeEventTypesList = Array; +export type __adsInteractionPublishOptInEventTypesList = Array; export type __boolean = boolean; export type __integer = number; @@ -170,14 +294,12 @@ export type __listOfPlaybackConfiguration = Array; export type __listOfPrefetchSchedule = Array; export type __listOfScheduleAdBreak = Array; export type __listOfScheduleEntry = Array; -export type __listOfSegmentDeliveryConfiguration = - Array; +export type __listOfSegmentDeliveryConfiguration = Array; export type __listOfSourceLocation = Array; export type __listOfVodSource = Array; export type __long = number; -export type __manifestServiceExcludeEventTypesList = - Array; +export type __manifestServiceExcludeEventTypesList = Array; export type __mapOf__string = Record; export type __string = string; @@ -187,10 +309,7 @@ export interface AccessConfiguration { AccessType?: AccessType; SecretsManagerAccessTokenConfiguration?: SecretsManagerAccessTokenConfiguration; } -export type AccessType = - | "S3_SIGV4" - | "SECRETS_MANAGER_ACCESS_TOKEN" - | "AUTODETECT_SIGV4"; +export type AccessType = "S3_SIGV4" | "SECRETS_MANAGER_ACCESS_TOKEN" | "AUTODETECT_SIGV4"; export interface AdBreak { MessageType?: MessageType; OffsetMillis: number; @@ -212,48 +331,7 @@ export interface AdMarkerPassthrough { } export type AdMarkupType = "DATERANGE" | "SCTE35_ENHANCED"; export type adMarkupTypes = Array; -export type AdsInteractionExcludeEventType = - | "AD_MARKER_FOUND" - | "NON_AD_MARKER_FOUND" - | "MAKING_ADS_REQUEST" - | "MODIFIED_TARGET_URL" - | "VAST_REDIRECT" - | "EMPTY_VAST_RESPONSE" - | "EMPTY_VMAP_RESPONSE" - | "VAST_RESPONSE" - | "REDIRECTED_VAST_RESPONSE" - | "FILLED_AVAIL" - | "FILLED_OVERLAY_AVAIL" - | "BEACON_FIRED" - | "WARNING_NO_ADVERTISEMENTS" - | "WARNING_VPAID_AD_DROPPED" - | "WARNING_URL_VARIABLE_SUBSTITUTION_FAILED" - | "ERROR_UNKNOWN" - | "ERROR_UNKNOWN_HOST" - | "ERROR_DISALLOWED_HOST" - | "ERROR_ADS_IO" - | "ERROR_ADS_TIMEOUT" - | "ERROR_ADS_RESPONSE_PARSE" - | "ERROR_ADS_RESPONSE_UNKNOWN_ROOT_ELEMENT" - | "ERROR_ADS_INVALID_RESPONSE" - | "ERROR_VAST_REDIRECT_EMPTY_RESPONSE" - | "ERROR_VAST_REDIRECT_MULTIPLE_VAST" - | "ERROR_VAST_REDIRECT_FAILED" - | "ERROR_VAST_MISSING_MEDIAFILES" - | "ERROR_VAST_MISSING_CREATIVES" - | "ERROR_VAST_MISSING_OVERLAYS" - | "ERROR_VAST_MISSING_IMPRESSION" - | "ERROR_VAST_INVALID_VAST_AD_TAG_URI" - | "ERROR_VAST_MULTIPLE_TRACKING_EVENTS" - | "ERROR_VAST_MULTIPLE_LINEAR" - | "ERROR_VAST_INVALID_MEDIA_FILE" - | "ERROR_FIRING_BEACON_FAILED" - | "ERROR_PERSONALIZATION_DISABLED" - | "VOD_TIME_BASED_AVAIL_PLAN_VAST_RESPONSE_FOR_OFFSET" - | "VOD_TIME_BASED_AVAIL_PLAN_SUCCESS" - | "VOD_TIME_BASED_AVAIL_PLAN_WARNING_NO_ADVERTISEMENTS" - | "INTERSTITIAL_VOD_SUCCESS" - | "INTERSTITIAL_VOD_FAILURE"; +export type AdsInteractionExcludeEventType = "AD_MARKER_FOUND" | "NON_AD_MARKER_FOUND" | "MAKING_ADS_REQUEST" | "MODIFIED_TARGET_URL" | "VAST_REDIRECT" | "EMPTY_VAST_RESPONSE" | "EMPTY_VMAP_RESPONSE" | "VAST_RESPONSE" | "REDIRECTED_VAST_RESPONSE" | "FILLED_AVAIL" | "FILLED_OVERLAY_AVAIL" | "BEACON_FIRED" | "WARNING_NO_ADVERTISEMENTS" | "WARNING_VPAID_AD_DROPPED" | "WARNING_URL_VARIABLE_SUBSTITUTION_FAILED" | "ERROR_UNKNOWN" | "ERROR_UNKNOWN_HOST" | "ERROR_DISALLOWED_HOST" | "ERROR_ADS_IO" | "ERROR_ADS_TIMEOUT" | "ERROR_ADS_RESPONSE_PARSE" | "ERROR_ADS_RESPONSE_UNKNOWN_ROOT_ELEMENT" | "ERROR_ADS_INVALID_RESPONSE" | "ERROR_VAST_REDIRECT_EMPTY_RESPONSE" | "ERROR_VAST_REDIRECT_MULTIPLE_VAST" | "ERROR_VAST_REDIRECT_FAILED" | "ERROR_VAST_MISSING_MEDIAFILES" | "ERROR_VAST_MISSING_CREATIVES" | "ERROR_VAST_MISSING_OVERLAYS" | "ERROR_VAST_MISSING_IMPRESSION" | "ERROR_VAST_INVALID_VAST_AD_TAG_URI" | "ERROR_VAST_MULTIPLE_TRACKING_EVENTS" | "ERROR_VAST_MULTIPLE_LINEAR" | "ERROR_VAST_INVALID_MEDIA_FILE" | "ERROR_FIRING_BEACON_FAILED" | "ERROR_PERSONALIZATION_DISABLED" | "VOD_TIME_BASED_AVAIL_PLAN_VAST_RESPONSE_FOR_OFFSET" | "VOD_TIME_BASED_AVAIL_PLAN_SUCCESS" | "VOD_TIME_BASED_AVAIL_PLAN_WARNING_NO_ADVERTISEMENTS" | "INTERSTITIAL_VOD_SUCCESS" | "INTERSTITIAL_VOD_FAILURE"; export interface AdsInteractionLog { PublishOptInEventTypes?: Array; ExcludeEventTypes?: Array; @@ -323,14 +401,8 @@ export interface ClipRange { EndOffsetMillis?: number; StartOffsetMillis?: number; } -export type ConfigurationAliasesRequest = Record< - string, - Record ->; -export type ConfigurationAliasesResponse = Record< - string, - Record ->; +export type ConfigurationAliasesRequest = Record>; +export type ConfigurationAliasesResponse = Record>; export interface ConfigureLogsForChannelRequest { ChannelName: string; LogTypes: Array; @@ -490,39 +562,47 @@ export interface DefaultSegmentDeliveryConfiguration { export interface DeleteChannelPolicyRequest { ChannelName: string; } -export interface DeleteChannelPolicyResponse {} +export interface DeleteChannelPolicyResponse { +} export interface DeleteChannelRequest { ChannelName: string; } -export interface DeleteChannelResponse {} +export interface DeleteChannelResponse { +} export interface DeleteLiveSourceRequest { LiveSourceName: string; SourceLocationName: string; } -export interface DeleteLiveSourceResponse {} +export interface DeleteLiveSourceResponse { +} export interface DeletePlaybackConfigurationRequest { Name: string; } -export interface DeletePlaybackConfigurationResponse {} +export interface DeletePlaybackConfigurationResponse { +} export interface DeletePrefetchScheduleRequest { Name: string; PlaybackConfigurationName: string; } -export interface DeletePrefetchScheduleResponse {} +export interface DeletePrefetchScheduleResponse { +} export interface DeleteProgramRequest { ChannelName: string; ProgramName: string; } -export interface DeleteProgramResponse {} +export interface DeleteProgramResponse { +} export interface DeleteSourceLocationRequest { SourceLocationName: string; } -export interface DeleteSourceLocationResponse {} +export interface DeleteSourceLocationResponse { +} export interface DeleteVodSourceRequest { SourceLocationName: string; VodSourceName: string; } -export interface DeleteVodSourceResponse {} +export interface DeleteVodSourceResponse { +} export interface DescribeChannelRequest { ChannelName: string; } @@ -776,39 +856,7 @@ export type LogTypes = Array; export interface ManifestProcessingRules { AdMarkerPassthrough?: AdMarkerPassthrough; } -export type ManifestServiceExcludeEventType = - | "GENERATED_MANIFEST" - | "ORIGIN_MANIFEST" - | "SESSION_INITIALIZED" - | "TRACKING_RESPONSE" - | "CONFIG_SYNTAX_ERROR" - | "CONFIG_SECURITY_ERROR" - | "UNKNOWN_HOST" - | "TIMEOUT_ERROR" - | "CONNECTION_ERROR" - | "IO_ERROR" - | "UNKNOWN_ERROR" - | "HOST_DISALLOWED" - | "PARSING_ERROR" - | "MANIFEST_ERROR" - | "NO_MASTER_OR_MEDIA_PLAYLIST" - | "NO_MASTER_PLAYLIST" - | "NO_MEDIA_PLAYLIST" - | "INCOMPATIBLE_HLS_VERSION" - | "SCTE35_PARSING_ERROR" - | "INVALID_SINGLE_PERIOD_DASH_MANIFEST" - | "UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST" - | "LAST_PERIOD_MISSING_AUDIO" - | "LAST_PERIOD_MISSING_AUDIO_WARNING" - | "ERROR_ORIGIN_PREFIX_INTERPOLATION" - | "ERROR_ADS_INTERPOLATION" - | "ERROR_LIVE_PRE_ROLL_ADS_INTERPOLATION" - | "ERROR_CDN_AD_SEGMENT_INTERPOLATION" - | "ERROR_CDN_CONTENT_SEGMENT_INTERPOLATION" - | "ERROR_SLATE_AD_URL_INTERPOLATION" - | "ERROR_PROFILE_NAME_INTERPOLATION" - | "ERROR_BUMPER_START_INTERPOLATION" - | "ERROR_BUMPER_END_INTERPOLATION"; +export type ManifestServiceExcludeEventType = "GENERATED_MANIFEST" | "ORIGIN_MANIFEST" | "SESSION_INITIALIZED" | "TRACKING_RESPONSE" | "CONFIG_SYNTAX_ERROR" | "CONFIG_SECURITY_ERROR" | "UNKNOWN_HOST" | "TIMEOUT_ERROR" | "CONNECTION_ERROR" | "IO_ERROR" | "UNKNOWN_ERROR" | "HOST_DISALLOWED" | "PARSING_ERROR" | "MANIFEST_ERROR" | "NO_MASTER_OR_MEDIA_PLAYLIST" | "NO_MASTER_PLAYLIST" | "NO_MEDIA_PLAYLIST" | "INCOMPATIBLE_HLS_VERSION" | "SCTE35_PARSING_ERROR" | "INVALID_SINGLE_PERIOD_DASH_MANIFEST" | "UNSUPPORTED_SINGLE_PERIOD_DASH_MANIFEST" | "LAST_PERIOD_MISSING_AUDIO" | "LAST_PERIOD_MISSING_AUDIO_WARNING" | "ERROR_ORIGIN_PREFIX_INTERPOLATION" | "ERROR_ADS_INTERPOLATION" | "ERROR_LIVE_PRE_ROLL_ADS_INTERPOLATION" | "ERROR_CDN_AD_SEGMENT_INTERPOLATION" | "ERROR_CDN_CONTENT_SEGMENT_INTERPOLATION" | "ERROR_SLATE_AD_URL_INTERPOLATION" | "ERROR_PROFILE_NAME_INTERPOLATION" | "ERROR_BUMPER_START_INTERPOLATION" | "ERROR_BUMPER_END_INTERPOLATION"; export interface ManifestServiceInteractionLog { ExcludeEventTypes?: Array; } @@ -870,7 +918,8 @@ export interface PutChannelPolicyRequest { ChannelName: string; Policy: string; } -export interface PutChannelPolicyResponse {} +export interface PutChannelPolicyResponse { +} export interface PutPlaybackConfigurationRequest { AdDecisionServerUrl?: string; AvailSuppression?: AvailSuppression; @@ -1013,11 +1062,13 @@ export interface SpliceInsertMessage { export interface StartChannelRequest { ChannelName: string; } -export interface StartChannelResponse {} +export interface StartChannelResponse { +} export interface StopChannelRequest { ChannelName: string; } -export interface StopChannelResponse {} +export interface StopChannelResponse { +} export type StreamingMediaFileConditioning = "TRANSCODE" | "NONE"; export interface TagResourceRequest { ResourceArn: string; @@ -1158,265 +1209,313 @@ export interface VodSource { export declare namespace ConfigureLogsForPlaybackConfiguration { export type Input = ConfigureLogsForPlaybackConfigurationRequest; export type Output = ConfigureLogsForPlaybackConfigurationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAlerts { export type Input = ListAlertsRequest; export type Output = ListAlertsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = {}; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = {}; - export type Error = BadRequestException | CommonAwsError; + export type Error = + | BadRequestException + | CommonAwsError; } export declare namespace ConfigureLogsForChannel { export type Input = ConfigureLogsForChannelRequest; export type Output = ConfigureLogsForChannelResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateChannel { export type Input = CreateChannelRequest; export type Output = CreateChannelResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateLiveSource { export type Input = CreateLiveSourceRequest; export type Output = CreateLiveSourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreatePrefetchSchedule { export type Input = CreatePrefetchScheduleRequest; export type Output = CreatePrefetchScheduleResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateProgram { export type Input = CreateProgramRequest; export type Output = CreateProgramResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSourceLocation { export type Input = CreateSourceLocationRequest; export type Output = CreateSourceLocationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateVodSource { export type Input = CreateVodSourceRequest; export type Output = CreateVodSourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteChannel { export type Input = DeleteChannelRequest; export type Output = DeleteChannelResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteChannelPolicy { export type Input = DeleteChannelPolicyRequest; export type Output = DeleteChannelPolicyResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteLiveSource { export type Input = DeleteLiveSourceRequest; export type Output = DeleteLiveSourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeletePlaybackConfiguration { export type Input = DeletePlaybackConfigurationRequest; export type Output = DeletePlaybackConfigurationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeletePrefetchSchedule { export type Input = DeletePrefetchScheduleRequest; export type Output = DeletePrefetchScheduleResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteProgram { export type Input = DeleteProgramRequest; export type Output = DeleteProgramResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteSourceLocation { export type Input = DeleteSourceLocationRequest; export type Output = DeleteSourceLocationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVodSource { export type Input = DeleteVodSourceRequest; export type Output = DeleteVodSourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeChannel { export type Input = DescribeChannelRequest; export type Output = DescribeChannelResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeLiveSource { export type Input = DescribeLiveSourceRequest; export type Output = DescribeLiveSourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeProgram { export type Input = DescribeProgramRequest; export type Output = DescribeProgramResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeSourceLocation { export type Input = DescribeSourceLocationRequest; export type Output = DescribeSourceLocationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeVodSource { export type Input = DescribeVodSourceRequest; export type Output = DescribeVodSourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetChannelPolicy { export type Input = GetChannelPolicyRequest; export type Output = GetChannelPolicyResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetChannelSchedule { export type Input = GetChannelScheduleRequest; export type Output = GetChannelScheduleResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetPlaybackConfiguration { export type Input = GetPlaybackConfigurationRequest; export type Output = GetPlaybackConfigurationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetPrefetchSchedule { export type Input = GetPrefetchScheduleRequest; export type Output = GetPrefetchScheduleResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListChannels { export type Input = ListChannelsRequest; export type Output = ListChannelsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListLiveSources { export type Input = ListLiveSourcesRequest; export type Output = ListLiveSourcesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListPlaybackConfigurations { export type Input = ListPlaybackConfigurationsRequest; export type Output = ListPlaybackConfigurationsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListPrefetchSchedules { export type Input = ListPrefetchSchedulesRequest; export type Output = ListPrefetchSchedulesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListSourceLocations { export type Input = ListSourceLocationsRequest; export type Output = ListSourceLocationsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListVodSources { export type Input = ListVodSourcesRequest; export type Output = ListVodSourcesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutChannelPolicy { export type Input = PutChannelPolicyRequest; export type Output = PutChannelPolicyResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutPlaybackConfiguration { export type Input = PutPlaybackConfigurationRequest; export type Output = PutPlaybackConfigurationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartChannel { export type Input = StartChannelRequest; export type Output = StartChannelResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StopChannel { export type Input = StopChannelRequest; export type Output = StopChannelResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateChannel { export type Input = UpdateChannelRequest; export type Output = UpdateChannelResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateLiveSource { export type Input = UpdateLiveSourceRequest; export type Output = UpdateLiveSourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateProgram { export type Input = UpdateProgramRequest; export type Output = UpdateProgramResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateSourceLocation { export type Input = UpdateSourceLocationRequest; export type Output = UpdateSourceLocationResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateVodSource { export type Input = UpdateVodSourceRequest; export type Output = UpdateVodSourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export type MediaTailorErrors = BadRequestException | CommonAwsError; + diff --git a/src/services/medical-imaging/index.ts b/src/services/medical-imaging/index.ts index 698a1517..4de6e618 100644 --- a/src/services/medical-imaging/index.ts +++ b/src/services/medical-imaging/index.ts @@ -5,23 +5,7 @@ import type { MedicalImaging as _MedicalImagingClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,43 +15,37 @@ const metadata = { sigV4ServiceName: "medical-imaging", endpointPrefix: "medical-imaging", operations: { - CopyImageSet: - "POST /datastore/{datastoreId}/imageSet/{sourceImageSetId}/copyImageSet", - DeleteImageSet: - "POST /datastore/{datastoreId}/imageSet/{imageSetId}/deleteImageSet", - GetDICOMImportJob: - "GET /getDICOMImportJob/datastore/{datastoreId}/job/{jobId}", - GetImageFrame: { + "CopyImageSet": "POST /datastore/{datastoreId}/imageSet/{sourceImageSetId}/copyImageSet", + "DeleteImageSet": "POST /datastore/{datastoreId}/imageSet/{imageSetId}/deleteImageSet", + "GetDICOMImportJob": "GET /getDICOMImportJob/datastore/{datastoreId}/job/{jobId}", + "GetImageFrame": { http: "POST /datastore/{datastoreId}/imageSet/{imageSetId}/getImageFrame", traits: { - imageFrameBlob: "httpPayload", - contentType: "Content-Type", + "imageFrameBlob": "httpPayload", + "contentType": "Content-Type", }, }, - GetImageSet: - "POST /datastore/{datastoreId}/imageSet/{imageSetId}/getImageSet", - GetImageSetMetadata: { + "GetImageSet": "POST /datastore/{datastoreId}/imageSet/{imageSetId}/getImageSet", + "GetImageSetMetadata": { http: "POST /datastore/{datastoreId}/imageSet/{imageSetId}/getImageSetMetadata", traits: { - imageSetMetadataBlob: "httpPayload", - contentType: "Content-Type", - contentEncoding: "Content-Encoding", + "imageSetMetadataBlob": "httpPayload", + "contentType": "Content-Type", + "contentEncoding": "Content-Encoding", }, }, - ListDICOMImportJobs: "GET /listDICOMImportJobs/datastore/{datastoreId}", - ListImageSetVersions: - "POST /datastore/{datastoreId}/imageSet/{imageSetId}/listImageSetVersions", - ListTagsForResource: "GET /tags/{resourceArn}", - SearchImageSets: "POST /datastore/{datastoreId}/searchImageSets", - StartDICOMImportJob: "POST /startDICOMImportJob/datastore/{datastoreId}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateImageSetMetadata: - "POST /datastore/{datastoreId}/imageSet/{imageSetId}/updateImageSetMetadata", - CreateDatastore: "POST /datastore", - DeleteDatastore: "DELETE /datastore/{datastoreId}", - GetDatastore: "GET /datastore/{datastoreId}", - ListDatastores: "GET /datastore", + "ListDICOMImportJobs": "GET /listDICOMImportJobs/datastore/{datastoreId}", + "ListImageSetVersions": "POST /datastore/{datastoreId}/imageSet/{imageSetId}/listImageSetVersions", + "ListTagsForResource": "GET /tags/{resourceArn}", + "SearchImageSets": "POST /datastore/{datastoreId}/searchImageSets", + "StartDICOMImportJob": "POST /startDICOMImportJob/datastore/{datastoreId}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateImageSetMetadata": "POST /datastore/{datastoreId}/imageSet/{imageSetId}/updateImageSetMetadata", + "CreateDatastore": "POST /datastore", + "DeleteDatastore": "DELETE /datastore/{datastoreId}", + "GetDatastore": "GET /datastore/{datastoreId}", + "ListDatastores": "GET /datastore", }, } as const satisfies ServiceMetadata; diff --git a/src/services/medical-imaging/types.ts b/src/services/medical-imaging/types.ts index d07abd5d..08ad7d48 100644 --- a/src/services/medical-imaging/types.ts +++ b/src/services/medical-imaging/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MedicalImaging extends AWSServiceClient { @@ -40,215 +8,109 @@ export declare class MedicalImaging extends AWSServiceClient { input: CopyImageSetRequest, ): Effect.Effect< CopyImageSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteImageSet( input: DeleteImageSetRequest, ): Effect.Effect< DeleteImageSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDICOMImportJob( input: GetDICOMImportJobRequest, ): Effect.Effect< GetDICOMImportJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getImageFrame( input: GetImageFrameRequest, ): Effect.Effect< GetImageFrameResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getImageSet( input: GetImageSetRequest, ): Effect.Effect< GetImageSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getImageSetMetadata( input: GetImageSetMetadataRequest, ): Effect.Effect< GetImageSetMetadataResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDICOMImportJobs( input: ListDICOMImportJobsRequest, ): Effect.Effect< ListDICOMImportJobsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listImageSetVersions( input: ListImageSetVersionsRequest, ): Effect.Effect< ListImageSetVersionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchImageSets( input: SearchImageSetsRequest, ): Effect.Effect< SearchImageSetsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startDICOMImportJob( input: StartDICOMImportJobRequest, ): Effect.Effect< StartDICOMImportJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateImageSetMetadata( input: UpdateImageSetMetadataRequest, ): Effect.Effect< UpdateImageSetMetadataResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDatastore( input: CreateDatastoreRequest, ): Effect.Effect< CreateDatastoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDatastore( input: DeleteDatastoreRequest, ): Effect.Effect< DeleteDatastoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDatastore( input: GetDatastoreRequest, ): Effect.Effect< GetDatastoreResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDatastores( input: ListDatastoresRequest, ): Effect.Effect< ListDatastoresResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -337,12 +199,7 @@ export interface DatastoreProperties { createdAt?: Date | string; updatedAt?: Date | string; } -export type DatastoreStatus = - | "CREATING" - | "CREATE_FAILED" - | "ACTIVE" - | "DELETING" - | "DELETED"; +export type DatastoreStatus = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETED"; export type DatastoreSummaries = Array; export interface DatastoreSummary { datastoreId: string; @@ -539,20 +396,7 @@ export interface ImageSetsMetadataSummary { isPrimary?: boolean; } export type ImageSetState = "ACTIVE" | "LOCKED" | "DELETED"; -export type ImageSetWorkflowStatus = - | "CREATED" - | "COPIED" - | "COPYING" - | "COPYING_WITH_READ_ONLY_ACCESS" - | "COPY_FAILED" - | "UPDATING" - | "UPDATED" - | "UPDATE_FAILED" - | "DELETING" - | "DELETED" - | "IMPORTING" - | "IMPORTED" - | "IMPORT_FAILED"; +export type ImageSetWorkflowStatus = "CREATED" | "COPIED" | "COPYING" | "COPYING_WITH_READ_ONLY_ACCESS" | "COPY_FAILED" | "UPDATING" | "UPDATED" | "UPDATE_FAILED" | "DELETING" | "DELETED" | "IMPORTING" | "IMPORTED" | "IMPORT_FAILED"; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", )<{ @@ -612,9 +456,7 @@ interface _MetadataUpdates { revertToVersionId?: string; } -export type MetadataUpdates = - | (_MetadataUpdates & { DICOMUpdates: DICOMUpdates }) - | (_MetadataUpdates & { revertToVersionId: string }); +export type MetadataUpdates = (_MetadataUpdates & { DICOMUpdates: DICOMUpdates }) | (_MetadataUpdates & { revertToVersionId: string }); export type NextToken = string; export type Operator = "EQUAL" | "BETWEEN"; @@ -644,16 +486,7 @@ interface _SearchByAttributeValue { isPrimary?: boolean; } -export type SearchByAttributeValue = - | (_SearchByAttributeValue & { DICOMPatientId: string }) - | (_SearchByAttributeValue & { DICOMAccessionNumber: string }) - | (_SearchByAttributeValue & { DICOMStudyId: string }) - | (_SearchByAttributeValue & { DICOMStudyInstanceUID: string }) - | (_SearchByAttributeValue & { DICOMSeriesInstanceUID: string }) - | (_SearchByAttributeValue & { createdAt: Date | string }) - | (_SearchByAttributeValue & { updatedAt: Date | string }) - | (_SearchByAttributeValue & { DICOMStudyDateAndTime: DICOMStudyDateAndTime }) - | (_SearchByAttributeValue & { isPrimary: boolean }); +export type SearchByAttributeValue = (_SearchByAttributeValue & { DICOMPatientId: string }) | (_SearchByAttributeValue & { DICOMAccessionNumber: string }) | (_SearchByAttributeValue & { DICOMStudyId: string }) | (_SearchByAttributeValue & { DICOMStudyInstanceUID: string }) | (_SearchByAttributeValue & { DICOMSeriesInstanceUID: string }) | (_SearchByAttributeValue & { createdAt: Date | string }) | (_SearchByAttributeValue & { updatedAt: Date | string }) | (_SearchByAttributeValue & { DICOMStudyDateAndTime: DICOMStudyDateAndTime }) | (_SearchByAttributeValue & { isPrimary: boolean }); export type SearchByAttributeValues = Array; export interface SearchCriteria { filters?: Array; @@ -709,7 +542,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -721,7 +555,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateImageSetMetadataRequest { datastoreId: string; imageSetId: string; @@ -976,12 +811,5 @@ export declare namespace ListDatastores { | CommonAwsError; } -export type MedicalImagingErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type MedicalImagingErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/memorydb/index.ts b/src/services/memorydb/index.ts index 1c405df4..fba6e8ed 100644 --- a/src/services/memorydb/index.ts +++ b/src/services/memorydb/index.ts @@ -5,26 +5,7 @@ import type { MemoryDB as _MemoryDBClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/memorydb/types.ts b/src/services/memorydb/types.ts index 8fed97cf..be02d1a4 100644 --- a/src/services/memorydb/types.ts +++ b/src/services/memorydb/types.ts @@ -13,186 +13,91 @@ export declare class MemoryDB extends AWSServiceClient { input: CopySnapshotRequest, ): Effect.Effect< CopySnapshotResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidSnapshotStateFault - | ServiceLinkedRoleNotFoundFault - | SnapshotAlreadyExistsFault - | SnapshotNotFoundFault - | SnapshotQuotaExceededFault - | TagQuotaPerResourceExceeded - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | InvalidSnapshotStateFault | ServiceLinkedRoleNotFoundFault | SnapshotAlreadyExistsFault | SnapshotNotFoundFault | SnapshotQuotaExceededFault | TagQuotaPerResourceExceeded | CommonAwsError >; createACL( input: CreateACLRequest, ): Effect.Effect< CreateACLResponse, - | ACLAlreadyExistsFault - | ACLQuotaExceededFault - | DefaultUserRequired - | DuplicateUserNameFault - | InvalidParameterValueException - | TagQuotaPerResourceExceeded - | UserNotFoundFault - | CommonAwsError + ACLAlreadyExistsFault | ACLQuotaExceededFault | DefaultUserRequired | DuplicateUserNameFault | InvalidParameterValueException | TagQuotaPerResourceExceeded | UserNotFoundFault | CommonAwsError >; createCluster( input: CreateClusterRequest, ): Effect.Effect< CreateClusterResponse, - | ACLNotFoundFault - | ClusterAlreadyExistsFault - | ClusterQuotaForCustomerExceededFault - | InsufficientClusterCapacityFault - | InvalidACLStateFault - | InvalidCredentialsException - | InvalidMultiRegionClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidVPCNetworkStateFault - | MultiRegionClusterNotFoundFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | ShardsPerClusterQuotaExceededFault - | SubnetGroupNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + ACLNotFoundFault | ClusterAlreadyExistsFault | ClusterQuotaForCustomerExceededFault | InsufficientClusterCapacityFault | InvalidACLStateFault | InvalidCredentialsException | InvalidMultiRegionClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidVPCNetworkStateFault | MultiRegionClusterNotFoundFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | ShardsPerClusterQuotaExceededFault | SubnetGroupNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; createMultiRegionCluster( input: CreateMultiRegionClusterRequest, ): Effect.Effect< CreateMultiRegionClusterResponse, - | ClusterQuotaForCustomerExceededFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | MultiRegionClusterAlreadyExistsFault - | MultiRegionParameterGroupNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + ClusterQuotaForCustomerExceededFault | InvalidParameterCombinationException | InvalidParameterValueException | MultiRegionClusterAlreadyExistsFault | MultiRegionParameterGroupNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; createParameterGroup( input: CreateParameterGroupRequest, ): Effect.Effect< CreateParameterGroupResponse, - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | ParameterGroupAlreadyExistsFault - | ParameterGroupQuotaExceededFault - | ServiceLinkedRoleNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | ParameterGroupAlreadyExistsFault | ParameterGroupQuotaExceededFault | ServiceLinkedRoleNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; createSnapshot( input: CreateSnapshotRequest, ): Effect.Effect< CreateSnapshotResponse, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | SnapshotAlreadyExistsFault - | SnapshotQuotaExceededFault - | TagQuotaPerResourceExceeded - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | SnapshotAlreadyExistsFault | SnapshotQuotaExceededFault | TagQuotaPerResourceExceeded | CommonAwsError >; createSubnetGroup( input: CreateSubnetGroupRequest, ): Effect.Effect< CreateSubnetGroupResponse, - | InvalidSubnet - | ServiceLinkedRoleNotFoundFault - | SubnetGroupAlreadyExistsFault - | SubnetGroupQuotaExceededFault - | SubnetNotAllowedFault - | SubnetQuotaExceededFault - | TagQuotaPerResourceExceeded - | CommonAwsError + InvalidSubnet | ServiceLinkedRoleNotFoundFault | SubnetGroupAlreadyExistsFault | SubnetGroupQuotaExceededFault | SubnetNotAllowedFault | SubnetQuotaExceededFault | TagQuotaPerResourceExceeded | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | DuplicateUserNameFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | TagQuotaPerResourceExceeded - | UserAlreadyExistsFault - | UserQuotaExceededFault - | CommonAwsError + DuplicateUserNameFault | InvalidParameterCombinationException | InvalidParameterValueException | TagQuotaPerResourceExceeded | UserAlreadyExistsFault | UserQuotaExceededFault | CommonAwsError >; deleteACL( input: DeleteACLRequest, ): Effect.Effect< DeleteACLResponse, - | ACLNotFoundFault - | InvalidACLStateFault - | InvalidParameterValueException - | CommonAwsError + ACLNotFoundFault | InvalidACLStateFault | InvalidParameterValueException | CommonAwsError >; deleteCluster( input: DeleteClusterRequest, ): Effect.Effect< DeleteClusterResponse, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | SnapshotAlreadyExistsFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | SnapshotAlreadyExistsFault | CommonAwsError >; deleteMultiRegionCluster( input: DeleteMultiRegionClusterRequest, ): Effect.Effect< DeleteMultiRegionClusterResponse, - | InvalidMultiRegionClusterStateFault - | InvalidParameterValueException - | MultiRegionClusterNotFoundFault - | CommonAwsError + InvalidMultiRegionClusterStateFault | InvalidParameterValueException | MultiRegionClusterNotFoundFault | CommonAwsError >; deleteParameterGroup( input: DeleteParameterGroupRequest, ): Effect.Effect< DeleteParameterGroupResponse, - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; deleteSnapshot( input: DeleteSnapshotRequest, ): Effect.Effect< DeleteSnapshotResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidSnapshotStateFault - | ServiceLinkedRoleNotFoundFault - | SnapshotNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | InvalidSnapshotStateFault | ServiceLinkedRoleNotFoundFault | SnapshotNotFoundFault | CommonAwsError >; deleteSubnetGroup( input: DeleteSubnetGroupRequest, ): Effect.Effect< DeleteSubnetGroupResponse, - | ServiceLinkedRoleNotFoundFault - | SubnetGroupInUseFault - | SubnetGroupNotFoundFault - | CommonAwsError + ServiceLinkedRoleNotFoundFault | SubnetGroupInUseFault | SubnetGroupNotFoundFault | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< DeleteUserResponse, - | InvalidParameterValueException - | InvalidUserStateFault - | UserNotFoundFault - | CommonAwsError + InvalidParameterValueException | InvalidUserStateFault | UserNotFoundFault | CommonAwsError >; describeACLs( input: DescribeACLsRequest, @@ -204,117 +109,73 @@ export declare class MemoryDB extends AWSServiceClient { input: DescribeClustersRequest, ): Effect.Effect< DescribeClustersResponse, - | ClusterNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeEngineVersions( input: DescribeEngineVersionsRequest, ): Effect.Effect< DescribeEngineVersionsResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeEvents( input: DescribeEventsRequest, ): Effect.Effect< DescribeEventsResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeMultiRegionClusters( input: DescribeMultiRegionClustersRequest, ): Effect.Effect< DescribeMultiRegionClustersResponse, - | ClusterNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | MultiRegionClusterNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | MultiRegionClusterNotFoundFault | CommonAwsError >; describeMultiRegionParameterGroups( input: DescribeMultiRegionParameterGroupsRequest, ): Effect.Effect< DescribeMultiRegionParameterGroupsResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | MultiRegionParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | MultiRegionParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeMultiRegionParameters( input: DescribeMultiRegionParametersRequest, ): Effect.Effect< DescribeMultiRegionParametersResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | MultiRegionParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | MultiRegionParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeParameterGroups( input: DescribeParameterGroupsRequest, ): Effect.Effect< DescribeParameterGroupsResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeParameters( input: DescribeParametersRequest, ): Effect.Effect< DescribeParametersResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeReservedNodes( input: DescribeReservedNodesRequest, ): Effect.Effect< DescribeReservedNodesResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ReservedNodeNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ReservedNodeNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeReservedNodesOfferings( input: DescribeReservedNodesOfferingsRequest, ): Effect.Effect< DescribeReservedNodesOfferingsResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ReservedNodesOfferingNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ReservedNodesOfferingNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; describeServiceUpdates( input: DescribeServiceUpdatesRequest, ): Effect.Effect< DescribeServiceUpdatesResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | CommonAwsError >; describeSnapshots( input: DescribeSnapshotsRequest, ): Effect.Effect< DescribeSnapshotsResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | SnapshotNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | SnapshotNotFoundFault | CommonAwsError >; describeSubnetGroups( input: DescribeSubnetGroupsRequest, @@ -332,192 +193,85 @@ export declare class MemoryDB extends AWSServiceClient { input: FailoverShardRequest, ): Effect.Effect< FailoverShardResponse, - | APICallRateForCustomerExceededFault - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidKMSKeyFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ShardNotFoundFault - | TestFailoverNotAvailableFault - | CommonAwsError + APICallRateForCustomerExceededFault | ClusterNotFoundFault | InvalidClusterStateFault | InvalidKMSKeyFault | InvalidParameterCombinationException | InvalidParameterValueException | ShardNotFoundFault | TestFailoverNotAvailableFault | CommonAwsError >; listAllowedMultiRegionClusterUpdates( input: ListAllowedMultiRegionClusterUpdatesRequest, ): Effect.Effect< ListAllowedMultiRegionClusterUpdatesResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | MultiRegionClusterNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | MultiRegionClusterNotFoundFault | CommonAwsError >; listAllowedNodeTypeUpdates( input: ListAllowedNodeTypeUpdatesRequest, ): Effect.Effect< ListAllowedNodeTypeUpdatesResponse, - | ClusterNotFoundFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidParameterCombinationException | InvalidParameterValueException | ServiceLinkedRoleNotFoundFault | CommonAwsError >; listTags( input: ListTagsRequest, ): Effect.Effect< ListTagsResponse, - | ACLNotFoundFault - | ClusterNotFoundFault - | InvalidARNFault - | InvalidClusterStateFault - | MultiRegionClusterNotFoundFault - | MultiRegionParameterGroupNotFoundFault - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | SnapshotNotFoundFault - | SubnetGroupNotFoundFault - | UserNotFoundFault - | CommonAwsError + ACLNotFoundFault | ClusterNotFoundFault | InvalidARNFault | InvalidClusterStateFault | MultiRegionClusterNotFoundFault | MultiRegionParameterGroupNotFoundFault | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | SnapshotNotFoundFault | SubnetGroupNotFoundFault | UserNotFoundFault | CommonAwsError >; purchaseReservedNodesOffering( input: PurchaseReservedNodesOfferingRequest, ): Effect.Effect< PurchaseReservedNodesOfferingResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | ReservedNodeAlreadyExistsFault - | ReservedNodeQuotaExceededFault - | ReservedNodesOfferingNotFoundFault - | ServiceLinkedRoleNotFoundFault - | TagQuotaPerResourceExceeded - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | ReservedNodeAlreadyExistsFault | ReservedNodeQuotaExceededFault | ReservedNodesOfferingNotFoundFault | ServiceLinkedRoleNotFoundFault | TagQuotaPerResourceExceeded | CommonAwsError >; resetParameterGroup( input: ResetParameterGroupRequest, ): Effect.Effect< ResetParameterGroupResponse, - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ACLNotFoundFault - | ClusterNotFoundFault - | InvalidARNFault - | InvalidClusterStateFault - | InvalidParameterValueException - | MultiRegionClusterNotFoundFault - | MultiRegionParameterGroupNotFoundFault - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | SnapshotNotFoundFault - | SubnetGroupNotFoundFault - | TagQuotaPerResourceExceeded - | UserNotFoundFault - | CommonAwsError + ACLNotFoundFault | ClusterNotFoundFault | InvalidARNFault | InvalidClusterStateFault | InvalidParameterValueException | MultiRegionClusterNotFoundFault | MultiRegionParameterGroupNotFoundFault | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | SnapshotNotFoundFault | SubnetGroupNotFoundFault | TagQuotaPerResourceExceeded | UserNotFoundFault | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ACLNotFoundFault - | ClusterNotFoundFault - | InvalidARNFault - | InvalidClusterStateFault - | InvalidParameterValueException - | MultiRegionClusterNotFoundFault - | MultiRegionParameterGroupNotFoundFault - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | SnapshotNotFoundFault - | SubnetGroupNotFoundFault - | TagNotFoundFault - | UserNotFoundFault - | CommonAwsError + ACLNotFoundFault | ClusterNotFoundFault | InvalidARNFault | InvalidClusterStateFault | InvalidParameterValueException | MultiRegionClusterNotFoundFault | MultiRegionParameterGroupNotFoundFault | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | SnapshotNotFoundFault | SubnetGroupNotFoundFault | TagNotFoundFault | UserNotFoundFault | CommonAwsError >; updateACL( input: UpdateACLRequest, ): Effect.Effect< UpdateACLResponse, - | ACLNotFoundFault - | DefaultUserRequired - | DuplicateUserNameFault - | InvalidACLStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | UserNotFoundFault - | CommonAwsError + ACLNotFoundFault | DefaultUserRequired | DuplicateUserNameFault | InvalidACLStateFault | InvalidParameterCombinationException | InvalidParameterValueException | UserNotFoundFault | CommonAwsError >; updateCluster( input: UpdateClusterRequest, ): Effect.Effect< UpdateClusterResponse, - | ACLNotFoundFault - | ClusterNotFoundFault - | ClusterQuotaForCustomerExceededFault - | InvalidACLStateFault - | InvalidClusterStateFault - | InvalidKMSKeyFault - | InvalidNodeStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidVPCNetworkStateFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | NoOperationFault - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | ShardsPerClusterQuotaExceededFault - | CommonAwsError + ACLNotFoundFault | ClusterNotFoundFault | ClusterQuotaForCustomerExceededFault | InvalidACLStateFault | InvalidClusterStateFault | InvalidKMSKeyFault | InvalidNodeStateFault | InvalidParameterCombinationException | InvalidParameterValueException | InvalidVPCNetworkStateFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | NoOperationFault | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | ShardsPerClusterQuotaExceededFault | CommonAwsError >; updateMultiRegionCluster( input: UpdateMultiRegionClusterRequest, ): Effect.Effect< UpdateMultiRegionClusterResponse, - | InvalidMultiRegionClusterStateFault - | InvalidParameterCombinationException - | InvalidParameterValueException - | MultiRegionClusterNotFoundFault - | MultiRegionParameterGroupNotFoundFault - | CommonAwsError + InvalidMultiRegionClusterStateFault | InvalidParameterCombinationException | InvalidParameterValueException | MultiRegionClusterNotFoundFault | MultiRegionParameterGroupNotFoundFault | CommonAwsError >; updateParameterGroup( input: UpdateParameterGroupRequest, ): Effect.Effect< UpdateParameterGroupResponse, - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | ParameterGroupNotFoundFault - | ServiceLinkedRoleNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | ParameterGroupNotFoundFault | ServiceLinkedRoleNotFoundFault | CommonAwsError >; updateSubnetGroup( input: UpdateSubnetGroupRequest, ): Effect.Effect< UpdateSubnetGroupResponse, - | InvalidSubnet - | ServiceLinkedRoleNotFoundFault - | SubnetGroupNotFoundFault - | SubnetInUse - | SubnetNotAllowedFault - | SubnetQuotaExceededFault - | CommonAwsError + InvalidSubnet | ServiceLinkedRoleNotFoundFault | SubnetGroupNotFoundFault | SubnetInUse | SubnetNotAllowedFault | SubnetQuotaExceededFault | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | InvalidParameterCombinationException - | InvalidParameterValueException - | InvalidUserStateFault - | UserNotFoundFault - | CommonAwsError + InvalidParameterCombinationException | InvalidParameterValueException | InvalidUserStateFault | UserNotFoundFault | CommonAwsError >; } @@ -1235,8 +989,7 @@ export interface PendingModifiedServiceUpdate { ServiceUpdateName?: string; Status?: ServiceUpdateStatus; } -export type PendingModifiedServiceUpdateList = - Array; +export type PendingModifiedServiceUpdateList = Array; export interface PurchaseReservedNodesOfferingRequest { ReservedNodesOfferingId: string; ReservationId?: string; @@ -1346,11 +1099,7 @@ export declare class ServiceUpdateNotFoundFault extends EffectData.TaggedError( export interface ServiceUpdateRequest { ServiceUpdateNameToApply?: string; } -export type ServiceUpdateStatus = - | "available" - | "in-progress" - | "complete" - | "scheduled"; +export type ServiceUpdateStatus = "available" | "in-progress" | "complete" | "scheduled"; export type ServiceUpdateStatusList = Array; export type ServiceUpdateType = "security-update"; export interface Shard { @@ -1414,13 +1163,7 @@ export declare class SnapshotQuotaExceededFault extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type SourceType = - | "node" - | "parameter-group" - | "subnet-group" - | "cluster" - | "user" - | "acl"; +export type SourceType = "node" | "parameter-group" | "subnet-group" | "cluster" | "user" | "acl"; export type MemorydbString = string; export interface Subnet { @@ -1458,7 +1201,9 @@ export declare class SubnetGroupQuotaExceededFault extends EffectData.TaggedErro readonly message?: string; }> {} export type SubnetIdentifierList = Array; -export declare class SubnetInUse extends EffectData.TaggedError("SubnetInUse")<{ +export declare class SubnetInUse extends EffectData.TaggedError( + "SubnetInUse", +)<{ readonly message?: string; }> {} export type SubnetList = Array; @@ -2179,62 +1924,5 @@ export declare namespace UpdateUser { | CommonAwsError; } -export type MemoryDBErrors = - | ACLAlreadyExistsFault - | ACLNotFoundFault - | ACLQuotaExceededFault - | APICallRateForCustomerExceededFault - | ClusterAlreadyExistsFault - | ClusterNotFoundFault - | ClusterQuotaForCustomerExceededFault - | DefaultUserRequired - | DuplicateUserNameFault - | InsufficientClusterCapacityFault - | InvalidACLStateFault - | InvalidARNFault - | InvalidClusterStateFault - | InvalidCredentialsException - | InvalidKMSKeyFault - | InvalidMultiRegionClusterStateFault - | InvalidNodeStateFault - | InvalidParameterCombinationException - | InvalidParameterGroupStateFault - | InvalidParameterValueException - | InvalidSnapshotStateFault - | InvalidSubnet - | InvalidUserStateFault - | InvalidVPCNetworkStateFault - | MultiRegionClusterAlreadyExistsFault - | MultiRegionClusterNotFoundFault - | MultiRegionParameterGroupNotFoundFault - | NoOperationFault - | NodeQuotaForClusterExceededFault - | NodeQuotaForCustomerExceededFault - | ParameterGroupAlreadyExistsFault - | ParameterGroupNotFoundFault - | ParameterGroupQuotaExceededFault - | ReservedNodeAlreadyExistsFault - | ReservedNodeNotFoundFault - | ReservedNodeQuotaExceededFault - | ReservedNodesOfferingNotFoundFault - | ServiceLinkedRoleNotFoundFault - | ServiceUpdateNotFoundFault - | ShardNotFoundFault - | ShardsPerClusterQuotaExceededFault - | SnapshotAlreadyExistsFault - | SnapshotNotFoundFault - | SnapshotQuotaExceededFault - | SubnetGroupAlreadyExistsFault - | SubnetGroupInUseFault - | SubnetGroupNotFoundFault - | SubnetGroupQuotaExceededFault - | SubnetInUse - | SubnetNotAllowedFault - | SubnetQuotaExceededFault - | TagNotFoundFault - | TagQuotaPerResourceExceeded - | TestFailoverNotAvailableFault - | UserAlreadyExistsFault - | UserNotFoundFault - | UserQuotaExceededFault - | CommonAwsError; +export type MemoryDBErrors = ACLAlreadyExistsFault | ACLNotFoundFault | ACLQuotaExceededFault | APICallRateForCustomerExceededFault | ClusterAlreadyExistsFault | ClusterNotFoundFault | ClusterQuotaForCustomerExceededFault | DefaultUserRequired | DuplicateUserNameFault | InsufficientClusterCapacityFault | InvalidACLStateFault | InvalidARNFault | InvalidClusterStateFault | InvalidCredentialsException | InvalidKMSKeyFault | InvalidMultiRegionClusterStateFault | InvalidNodeStateFault | InvalidParameterCombinationException | InvalidParameterGroupStateFault | InvalidParameterValueException | InvalidSnapshotStateFault | InvalidSubnet | InvalidUserStateFault | InvalidVPCNetworkStateFault | MultiRegionClusterAlreadyExistsFault | MultiRegionClusterNotFoundFault | MultiRegionParameterGroupNotFoundFault | NoOperationFault | NodeQuotaForClusterExceededFault | NodeQuotaForCustomerExceededFault | ParameterGroupAlreadyExistsFault | ParameterGroupNotFoundFault | ParameterGroupQuotaExceededFault | ReservedNodeAlreadyExistsFault | ReservedNodeNotFoundFault | ReservedNodeQuotaExceededFault | ReservedNodesOfferingNotFoundFault | ServiceLinkedRoleNotFoundFault | ServiceUpdateNotFoundFault | ShardNotFoundFault | ShardsPerClusterQuotaExceededFault | SnapshotAlreadyExistsFault | SnapshotNotFoundFault | SnapshotQuotaExceededFault | SubnetGroupAlreadyExistsFault | SubnetGroupInUseFault | SubnetGroupNotFoundFault | SubnetGroupQuotaExceededFault | SubnetInUse | SubnetNotAllowedFault | SubnetQuotaExceededFault | TagNotFoundFault | TagQuotaPerResourceExceeded | TestFailoverNotAvailableFault | UserAlreadyExistsFault | UserNotFoundFault | UserQuotaExceededFault | CommonAwsError; + diff --git a/src/services/mgn/index.ts b/src/services/mgn/index.ts index 46e57611..338cd37e 100644 --- a/src/services/mgn/index.ts +++ b/src/services/mgn/index.ts @@ -5,23 +5,7 @@ import type { mgn as _mgnClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,85 +14,76 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "mgn", operations: { - InitializeService: "POST /InitializeService", - ListManagedAccounts: "POST /ListManagedAccounts", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - ArchiveApplication: "POST /ArchiveApplication", - ArchiveWave: "POST /ArchiveWave", - AssociateApplications: "POST /AssociateApplications", - AssociateSourceServers: "POST /AssociateSourceServers", - ChangeServerLifeCycleState: "POST /ChangeServerLifeCycleState", - CreateApplication: "POST /CreateApplication", - CreateConnector: "POST /CreateConnector", - CreateLaunchConfigurationTemplate: - "POST /CreateLaunchConfigurationTemplate", - CreateReplicationConfigurationTemplate: - "POST /CreateReplicationConfigurationTemplate", - CreateWave: "POST /CreateWave", - DeleteApplication: "POST /DeleteApplication", - DeleteConnector: "POST /DeleteConnector", - DeleteJob: "POST /DeleteJob", - DeleteLaunchConfigurationTemplate: - "POST /DeleteLaunchConfigurationTemplate", - DeleteReplicationConfigurationTemplate: - "POST /DeleteReplicationConfigurationTemplate", - DeleteSourceServer: "POST /DeleteSourceServer", - DeleteVcenterClient: "POST /DeleteVcenterClient", - DeleteWave: "POST /DeleteWave", - DescribeJobLogItems: "POST /DescribeJobLogItems", - DescribeJobs: "POST /DescribeJobs", - DescribeLaunchConfigurationTemplates: - "POST /DescribeLaunchConfigurationTemplates", - DescribeReplicationConfigurationTemplates: - "POST /DescribeReplicationConfigurationTemplates", - DescribeSourceServers: "POST /DescribeSourceServers", - DescribeVcenterClients: "GET /DescribeVcenterClients", - DisassociateApplications: "POST /DisassociateApplications", - DisassociateSourceServers: "POST /DisassociateSourceServers", - DisconnectFromService: "POST /DisconnectFromService", - FinalizeCutover: "POST /FinalizeCutover", - GetLaunchConfiguration: "POST /GetLaunchConfiguration", - GetReplicationConfiguration: "POST /GetReplicationConfiguration", - ListApplications: "POST /ListApplications", - ListConnectors: "POST /ListConnectors", - ListExportErrors: "POST /ListExportErrors", - ListExports: "POST /ListExports", - ListImportErrors: "POST /ListImportErrors", - ListImports: "POST /ListImports", - ListSourceServerActions: "POST /ListSourceServerActions", - ListTemplateActions: "POST /ListTemplateActions", - ListWaves: "POST /ListWaves", - MarkAsArchived: "POST /MarkAsArchived", - PauseReplication: "POST /PauseReplication", - PutSourceServerAction: "POST /PutSourceServerAction", - PutTemplateAction: "POST /PutTemplateAction", - RemoveSourceServerAction: "POST /RemoveSourceServerAction", - RemoveTemplateAction: "POST /RemoveTemplateAction", - ResumeReplication: "POST /ResumeReplication", - RetryDataReplication: "POST /RetryDataReplication", - StartCutover: "POST /StartCutover", - StartExport: "POST /StartExport", - StartImport: "POST /StartImport", - StartReplication: "POST /StartReplication", - StartTest: "POST /StartTest", - StopReplication: "POST /StopReplication", - TerminateTargetInstances: "POST /TerminateTargetInstances", - UnarchiveApplication: "POST /UnarchiveApplication", - UnarchiveWave: "POST /UnarchiveWave", - UpdateApplication: "POST /UpdateApplication", - UpdateConnector: "POST /UpdateConnector", - UpdateLaunchConfiguration: "POST /UpdateLaunchConfiguration", - UpdateLaunchConfigurationTemplate: - "POST /UpdateLaunchConfigurationTemplate", - UpdateReplicationConfiguration: "POST /UpdateReplicationConfiguration", - UpdateReplicationConfigurationTemplate: - "POST /UpdateReplicationConfigurationTemplate", - UpdateSourceServer: "POST /UpdateSourceServer", - UpdateSourceServerReplicationType: - "POST /UpdateSourceServerReplicationType", - UpdateWave: "POST /UpdateWave", + "InitializeService": "POST /InitializeService", + "ListManagedAccounts": "POST /ListManagedAccounts", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "ArchiveApplication": "POST /ArchiveApplication", + "ArchiveWave": "POST /ArchiveWave", + "AssociateApplications": "POST /AssociateApplications", + "AssociateSourceServers": "POST /AssociateSourceServers", + "ChangeServerLifeCycleState": "POST /ChangeServerLifeCycleState", + "CreateApplication": "POST /CreateApplication", + "CreateConnector": "POST /CreateConnector", + "CreateLaunchConfigurationTemplate": "POST /CreateLaunchConfigurationTemplate", + "CreateReplicationConfigurationTemplate": "POST /CreateReplicationConfigurationTemplate", + "CreateWave": "POST /CreateWave", + "DeleteApplication": "POST /DeleteApplication", + "DeleteConnector": "POST /DeleteConnector", + "DeleteJob": "POST /DeleteJob", + "DeleteLaunchConfigurationTemplate": "POST /DeleteLaunchConfigurationTemplate", + "DeleteReplicationConfigurationTemplate": "POST /DeleteReplicationConfigurationTemplate", + "DeleteSourceServer": "POST /DeleteSourceServer", + "DeleteVcenterClient": "POST /DeleteVcenterClient", + "DeleteWave": "POST /DeleteWave", + "DescribeJobLogItems": "POST /DescribeJobLogItems", + "DescribeJobs": "POST /DescribeJobs", + "DescribeLaunchConfigurationTemplates": "POST /DescribeLaunchConfigurationTemplates", + "DescribeReplicationConfigurationTemplates": "POST /DescribeReplicationConfigurationTemplates", + "DescribeSourceServers": "POST /DescribeSourceServers", + "DescribeVcenterClients": "GET /DescribeVcenterClients", + "DisassociateApplications": "POST /DisassociateApplications", + "DisassociateSourceServers": "POST /DisassociateSourceServers", + "DisconnectFromService": "POST /DisconnectFromService", + "FinalizeCutover": "POST /FinalizeCutover", + "GetLaunchConfiguration": "POST /GetLaunchConfiguration", + "GetReplicationConfiguration": "POST /GetReplicationConfiguration", + "ListApplications": "POST /ListApplications", + "ListConnectors": "POST /ListConnectors", + "ListExportErrors": "POST /ListExportErrors", + "ListExports": "POST /ListExports", + "ListImportErrors": "POST /ListImportErrors", + "ListImports": "POST /ListImports", + "ListSourceServerActions": "POST /ListSourceServerActions", + "ListTemplateActions": "POST /ListTemplateActions", + "ListWaves": "POST /ListWaves", + "MarkAsArchived": "POST /MarkAsArchived", + "PauseReplication": "POST /PauseReplication", + "PutSourceServerAction": "POST /PutSourceServerAction", + "PutTemplateAction": "POST /PutTemplateAction", + "RemoveSourceServerAction": "POST /RemoveSourceServerAction", + "RemoveTemplateAction": "POST /RemoveTemplateAction", + "ResumeReplication": "POST /ResumeReplication", + "RetryDataReplication": "POST /RetryDataReplication", + "StartCutover": "POST /StartCutover", + "StartExport": "POST /StartExport", + "StartImport": "POST /StartImport", + "StartReplication": "POST /StartReplication", + "StartTest": "POST /StartTest", + "StopReplication": "POST /StopReplication", + "TerminateTargetInstances": "POST /TerminateTargetInstances", + "UnarchiveApplication": "POST /UnarchiveApplication", + "UnarchiveWave": "POST /UnarchiveWave", + "UpdateApplication": "POST /UpdateApplication", + "UpdateConnector": "POST /UpdateConnector", + "UpdateLaunchConfiguration": "POST /UpdateLaunchConfiguration", + "UpdateLaunchConfigurationTemplate": "POST /UpdateLaunchConfigurationTemplate", + "UpdateReplicationConfiguration": "POST /UpdateReplicationConfiguration", + "UpdateReplicationConfigurationTemplate": "POST /UpdateReplicationConfigurationTemplate", + "UpdateSourceServer": "POST /UpdateSourceServer", + "UpdateSourceServerReplicationType": "POST /UpdateSourceServerReplicationType", + "UpdateWave": "POST /UpdateWave", }, } as const satisfies ServiceMetadata; diff --git a/src/services/mgn/types.ts b/src/services/mgn/types.ts index c9eea625..3e99b17a 100644 --- a/src/services/mgn/types.ts +++ b/src/services/mgn/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class mgn extends AWSServiceClient { @@ -52,93 +20,55 @@ export declare class mgn extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; archiveApplication( input: ArchiveApplicationRequest, ): Effect.Effect< Application, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | CommonAwsError >; archiveWave( input: ArchiveWaveRequest, ): Effect.Effect< Wave, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | CommonAwsError >; associateApplications( input: AssociateApplicationsRequest, ): Effect.Effect< AssociateApplicationsResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | CommonAwsError >; associateSourceServers( input: AssociateSourceServersRequest, ): Effect.Effect< AssociateSourceServersResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | CommonAwsError >; changeServerLifeCycleState( input: ChangeServerLifeCycleStateRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< Application, - | ConflictException - | ServiceQuotaExceededException - | UninitializedAccountException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | UninitializedAccountException | CommonAwsError >; createConnector( input: CreateConnectorRequest, @@ -150,100 +80,67 @@ export declare class mgn extends AWSServiceClient { input: CreateLaunchConfigurationTemplateRequest, ): Effect.Effect< LaunchConfigurationTemplate, - | AccessDeniedException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | UninitializedAccountException | ValidationException | CommonAwsError >; createReplicationConfigurationTemplate( input: CreateReplicationConfigurationTemplateRequest, ): Effect.Effect< ReplicationConfigurationTemplate, - | AccessDeniedException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | UninitializedAccountException | ValidationException | CommonAwsError >; createWave( input: CreateWaveRequest, ): Effect.Effect< Wave, - | ConflictException - | ServiceQuotaExceededException - | UninitializedAccountException - | CommonAwsError + ConflictException | ServiceQuotaExceededException | UninitializedAccountException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; deleteConnector( input: DeleteConnectorRequest, ): Effect.Effect< {}, - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; deleteJob( input: DeleteJobRequest, ): Effect.Effect< DeleteJobResponse, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; deleteLaunchConfigurationTemplate( input: DeleteLaunchConfigurationTemplateRequest, ): Effect.Effect< DeleteLaunchConfigurationTemplateResponse, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; deleteReplicationConfigurationTemplate( input: DeleteReplicationConfigurationTemplateRequest, ): Effect.Effect< DeleteReplicationConfigurationTemplateResponse, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; deleteSourceServer( input: DeleteSourceServerRequest, ): Effect.Effect< DeleteSourceServerResponse, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; deleteVcenterClient( input: DeleteVcenterClientRequest, ): Effect.Effect< {}, - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; deleteWave( input: DeleteWaveRequest, ): Effect.Effect< DeleteWaveResponse, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; describeJobLogItems( input: DescribeJobLogItemsRequest, @@ -261,19 +158,13 @@ export declare class mgn extends AWSServiceClient { input: DescribeLaunchConfigurationTemplatesRequest, ): Effect.Effect< DescribeLaunchConfigurationTemplatesResponse, - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; describeReplicationConfigurationTemplates( input: DescribeReplicationConfigurationTemplatesRequest, ): Effect.Effect< DescribeReplicationConfigurationTemplatesResponse, - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; describeSourceServers( input: DescribeSourceServersRequest, @@ -285,47 +176,31 @@ export declare class mgn extends AWSServiceClient { input: DescribeVcenterClientsRequest, ): Effect.Effect< DescribeVcenterClientsResponse, - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; disassociateApplications( input: DisassociateApplicationsRequest, ): Effect.Effect< DisassociateApplicationsResponse, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; disassociateSourceServers( input: DisassociateSourceServersRequest, ): Effect.Effect< DisassociateSourceServersResponse, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; disconnectFromService( input: DisconnectFromServiceRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; finalizeCutover( input: FinalizeCutoverRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; getLaunchConfiguration( input: GetLaunchConfigurationRequest, @@ -397,253 +272,157 @@ export declare class mgn extends AWSServiceClient { input: MarkAsArchivedRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; pauseReplication( input: PauseReplicationRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | ValidationException | CommonAwsError >; putSourceServerAction( input: PutSourceServerActionRequest, ): Effect.Effect< SourceServerActionDocument, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; putTemplateAction( input: PutTemplateActionRequest, ): Effect.Effect< TemplateActionDocument, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; removeSourceServerAction( input: RemoveSourceServerActionRequest, ): Effect.Effect< RemoveSourceServerActionResponse, - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; removeTemplateAction( input: RemoveTemplateActionRequest, ): Effect.Effect< RemoveTemplateActionResponse, - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; resumeReplication( input: ResumeReplicationRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | ValidationException | CommonAwsError >; retryDataReplication( input: RetryDataReplicationRequest, ): Effect.Effect< SourceServer, - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; startCutover( input: StartCutoverRequest, ): Effect.Effect< StartCutoverResponse, - | ConflictException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | UninitializedAccountException | ValidationException | CommonAwsError >; startExport( input: StartExportRequest, ): Effect.Effect< StartExportResponse, - | ServiceQuotaExceededException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ServiceQuotaExceededException | UninitializedAccountException | ValidationException | CommonAwsError >; startImport( input: StartImportRequest, ): Effect.Effect< StartImportResponse, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | ValidationException | CommonAwsError >; startReplication( input: StartReplicationRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | ValidationException | CommonAwsError >; startTest( input: StartTestRequest, ): Effect.Effect< StartTestResponse, - | ConflictException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | UninitializedAccountException | ValidationException | CommonAwsError >; stopReplication( input: StopReplicationRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | ValidationException | CommonAwsError >; terminateTargetInstances( input: TerminateTargetInstancesRequest, ): Effect.Effect< TerminateTargetInstancesResponse, - | ConflictException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | UninitializedAccountException | ValidationException | CommonAwsError >; unarchiveApplication( input: UnarchiveApplicationRequest, ): Effect.Effect< Application, - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | CommonAwsError >; unarchiveWave( input: UnarchiveWaveRequest, ): Effect.Effect< Wave, - | ResourceNotFoundException - | ServiceQuotaExceededException - | UninitializedAccountException - | CommonAwsError + ResourceNotFoundException | ServiceQuotaExceededException | UninitializedAccountException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< Application, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; updateConnector( input: UpdateConnectorRequest, ): Effect.Effect< Connector, - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; updateLaunchConfiguration( input: UpdateLaunchConfigurationRequest, ): Effect.Effect< LaunchConfiguration, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; updateLaunchConfigurationTemplate( input: UpdateLaunchConfigurationTemplateRequest, ): Effect.Effect< LaunchConfigurationTemplate, - | AccessDeniedException - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; updateReplicationConfiguration( input: UpdateReplicationConfigurationRequest, ): Effect.Effect< ReplicationConfiguration, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; updateReplicationConfigurationTemplate( input: UpdateReplicationConfigurationTemplateRequest, ): Effect.Effect< ReplicationConfigurationTemplate, - | AccessDeniedException - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; updateSourceServer( input: UpdateSourceServerRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; updateSourceServerReplicationType( input: UpdateSourceServerReplicationTypeRequest, ): Effect.Effect< SourceServer, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | ValidationException | CommonAwsError >; updateWave( input: UpdateWaveRequest, ): Effect.Effect< Wave, - | ConflictException - | ResourceNotFoundException - | UninitializedAccountException - | CommonAwsError + ConflictException | ResourceNotFoundException | UninitializedAccountException | CommonAwsError >; } @@ -714,14 +493,16 @@ export interface AssociateApplicationsRequest { applicationIDs: Array; accountID?: string; } -export interface AssociateApplicationsResponse {} +export interface AssociateApplicationsResponse { +} export interface AssociateSourceServersRequest { applicationID: string; sourceServerIDs: Array; accountID?: string; } export type AssociateSourceServersRequestSourceServerIDs = Array; -export interface AssociateSourceServersResponse {} +export interface AssociateSourceServersResponse { +} export type BandwidthThrottling = number; export type BootMode = string; @@ -851,8 +632,7 @@ export interface DataReplicationInfoReplicatedDisk { rescannedStorageBytes?: number; backloggedStorageBytes?: number; } -export type DataReplicationInfoReplicatedDisks = - Array; +export type DataReplicationInfoReplicatedDisks = Array; export interface DataReplicationInitiation { startDateTime?: string; nextAttemptDateTime?: string; @@ -864,8 +644,7 @@ export interface DataReplicationInitiationStep { } export type DataReplicationInitiationStepName = string; -export type DataReplicationInitiationSteps = - Array; +export type DataReplicationInitiationSteps = Array; export type DataReplicationInitiationStepStatus = string; export type DataReplicationState = string; @@ -874,7 +653,8 @@ export interface DeleteApplicationRequest { applicationID: string; accountID?: string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export interface DeleteConnectorRequest { connectorID: string; } @@ -882,20 +662,24 @@ export interface DeleteJobRequest { jobID: string; accountID?: string; } -export interface DeleteJobResponse {} +export interface DeleteJobResponse { +} export interface DeleteLaunchConfigurationTemplateRequest { launchConfigurationTemplateID: string; } -export interface DeleteLaunchConfigurationTemplateResponse {} +export interface DeleteLaunchConfigurationTemplateResponse { +} export interface DeleteReplicationConfigurationTemplateRequest { replicationConfigurationTemplateID: string; } -export interface DeleteReplicationConfigurationTemplateResponse {} +export interface DeleteReplicationConfigurationTemplateResponse { +} export interface DeleteSourceServerRequest { sourceServerID: string; accountID?: string; } -export interface DeleteSourceServerResponse {} +export interface DeleteSourceServerResponse { +} export interface DeleteVcenterClientRequest { vcenterClientID: string; } @@ -903,7 +687,8 @@ export interface DeleteWaveRequest { waveID: string; accountID?: string; } -export interface DeleteWaveResponse {} +export interface DeleteWaveResponse { +} export interface DescribeJobLogItemsRequest { jobID: string; maxResults?: number; @@ -980,14 +765,16 @@ export interface DisassociateApplicationsRequest { applicationIDs: Array; accountID?: string; } -export interface DisassociateApplicationsResponse {} +export interface DisassociateApplicationsResponse { +} export interface DisassociateSourceServersRequest { applicationID: string; sourceServerIDs: Array; accountID?: string; } export type DisassociateSourceServersRequestSourceServerIDs = Array; -export interface DisassociateSourceServersResponse {} +export interface DisassociateSourceServersResponse { +} export interface DisconnectFromServiceRequest { sourceServerID: string; accountID?: string; @@ -1110,8 +897,10 @@ export interface ImportTaskSummaryWaves { createdCount?: number; modifiedCount?: number; } -export interface InitializeServiceRequest {} -export interface InitializeServiceResponse {} +export interface InitializeServiceRequest { +} +export interface InitializeServiceResponse { +} export type InitiatedBy = string; export declare class InternalServerException extends EffectData.TaggedError( @@ -1434,8 +1223,7 @@ export interface PostLaunchActions { } export type PostLaunchActionsDeploymentType = string; -export type PostLaunchActionsLaunchStatusList = - Array; +export type PostLaunchActionsLaunchStatusList = Array; export interface PostLaunchActionsStatus { ssmAgentDiscoveryDatetime?: string; postLaunchActionsLaunchStatusList?: Array; @@ -1477,12 +1265,14 @@ export interface RemoveSourceServerActionRequest { actionID: string; accountID?: string; } -export interface RemoveSourceServerActionResponse {} +export interface RemoveSourceServerActionResponse { +} export interface RemoveTemplateActionRequest { launchConfigurationTemplateID: string; actionID: string; } -export interface RemoveTemplateActionResponse {} +export interface RemoveTemplateActionResponse { +} export interface ReplicationConfiguration { sourceServerID?: string; name?: string; @@ -1514,8 +1304,7 @@ export interface ReplicationConfigurationReplicatedDisk { iops?: number; throughput?: number; } -export type ReplicationConfigurationReplicatedDisks = - Array; +export type ReplicationConfigurationReplicatedDisks = Array; export type ReplicationConfigurationReplicatedDiskStagingDiskType = string; export interface ReplicationConfigurationTemplate { @@ -1539,8 +1328,7 @@ export interface ReplicationConfigurationTemplate { export type ReplicationConfigurationTemplateID = string; export type ReplicationConfigurationTemplateIDs = Array; -export type ReplicationConfigurationTemplates = - Array; +export type ReplicationConfigurationTemplates = Array; export type ReplicationServersSecurityGroupsIDs = Array; export type ReplicationType = string; @@ -1648,18 +1436,12 @@ export interface SsmDocument { parameters?: Record>; externalParameters?: Record; } -export type SsmDocumentExternalParameters = Record< - string, - SsmExternalParameter ->; +export type SsmDocumentExternalParameters = Record; export type SsmDocumentName = string; export type SsmDocumentParameterName = string; -export type SsmDocumentParameters = Record< - string, - Array ->; +export type SsmDocumentParameters = Record>; export type SsmDocuments = Array; export type SsmDocumentType = string; @@ -1667,9 +1449,7 @@ interface _SsmExternalParameter { dynamicPath?: string; } -export type SsmExternalParameter = _SsmExternalParameter & { - dynamicPath: string; -}; +export type SsmExternalParameter = (_SsmExternalParameter & { dynamicPath: string }); export type SsmInstanceID = string; export interface SsmParameterStoreParameter { @@ -2304,7 +2084,9 @@ export declare namespace GetReplicationConfiguration { export declare namespace ListApplications { export type Input = ListApplicationsRequest; export type Output = ListApplicationsResponse; - export type Error = UninitializedAccountException | CommonAwsError; + export type Error = + | UninitializedAccountException + | CommonAwsError; } export declare namespace ListConnectors { @@ -2328,7 +2110,9 @@ export declare namespace ListExportErrors { export declare namespace ListExports { export type Input = ListExportsRequest; export type Output = ListExportsResponse; - export type Error = UninitializedAccountException | CommonAwsError; + export type Error = + | UninitializedAccountException + | CommonAwsError; } export declare namespace ListImportErrors { @@ -2370,7 +2154,9 @@ export declare namespace ListTemplateActions { export declare namespace ListWaves { export type Input = ListWavesRequest; export type Output = ListWavesResponse; - export type Error = UninitializedAccountException | CommonAwsError; + export type Error = + | UninitializedAccountException + | CommonAwsError; } export declare namespace MarkAsArchived { @@ -2651,13 +2437,5 @@ export declare namespace UpdateWave { | CommonAwsError; } -export type mgnErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UninitializedAccountException - | ValidationException - | CommonAwsError; +export type mgnErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UninitializedAccountException | ValidationException | CommonAwsError; + diff --git a/src/services/migration-hub-refactor-spaces/index.ts b/src/services/migration-hub-refactor-spaces/index.ts index 7327cdcf..49e47617 100644 --- a/src/services/migration-hub-refactor-spaces/index.ts +++ b/src/services/migration-hub-refactor-spaces/index.ts @@ -5,23 +5,7 @@ import type { MigrationHubRefactorSpaces as _MigrationHubRefactorSpacesClient } export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,48 +15,35 @@ const metadata = { sigV4ServiceName: "refactor-spaces", endpointPrefix: "refactor-spaces", operations: { - CreateApplication: - "POST /environments/{EnvironmentIdentifier}/applications", - CreateEnvironment: "POST /environments", - CreateRoute: - "POST /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", - CreateService: - "POST /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", - DeleteApplication: - "DELETE /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", - DeleteEnvironment: "DELETE /environments/{EnvironmentIdentifier}", - DeleteResourcePolicy: "DELETE /resourcepolicy/{Identifier}", - DeleteRoute: - "DELETE /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", - DeleteService: - "DELETE /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}", - GetApplication: - "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", - GetEnvironment: "GET /environments/{EnvironmentIdentifier}", - GetResourcePolicy: "GET /resourcepolicy/{Identifier}", - GetRoute: - "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", - GetService: - "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}", - ListApplications: "GET /environments/{EnvironmentIdentifier}/applications", - ListEnvironments: "GET /environments", - ListEnvironmentVpcs: "GET /environments/{EnvironmentIdentifier}/vpcs", - ListRoutes: - "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", - ListServices: - "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", - ListTagsForResource: "GET /tags/{ResourceArn}", - PutResourcePolicy: "PUT /resourcepolicy", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateRoute: - "PATCH /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", + "CreateApplication": "POST /environments/{EnvironmentIdentifier}/applications", + "CreateEnvironment": "POST /environments", + "CreateRoute": "POST /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", + "CreateService": "POST /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", + "DeleteApplication": "DELETE /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", + "DeleteEnvironment": "DELETE /environments/{EnvironmentIdentifier}", + "DeleteResourcePolicy": "DELETE /resourcepolicy/{Identifier}", + "DeleteRoute": "DELETE /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", + "DeleteService": "DELETE /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}", + "GetApplication": "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", + "GetEnvironment": "GET /environments/{EnvironmentIdentifier}", + "GetResourcePolicy": "GET /resourcepolicy/{Identifier}", + "GetRoute": "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", + "GetService": "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}", + "ListApplications": "GET /environments/{EnvironmentIdentifier}/applications", + "ListEnvironments": "GET /environments", + "ListEnvironmentVpcs": "GET /environments/{EnvironmentIdentifier}/vpcs", + "ListRoutes": "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", + "ListServices": "GET /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "PutResourcePolicy": "PUT /resourcepolicy", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateRoute": "PATCH /environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", }, } as const satisfies ServiceMetadata; export type _MigrationHubRefactorSpaces = _MigrationHubRefactorSpacesClient; -export interface MigrationHubRefactorSpaces - extends _MigrationHubRefactorSpaces {} +export interface MigrationHubRefactorSpaces extends _MigrationHubRefactorSpaces {} export const MigrationHubRefactorSpaces = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/migration-hub-refactor-spaces/types.ts b/src/services/migration-hub-refactor-spaces/types.ts index 911a657e..20142efa 100644 --- a/src/services/migration-hub-refactor-spaces/types.ts +++ b/src/services/migration-hub-refactor-spaces/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MigrationHubRefactorSpaces extends AWSServiceClient { @@ -40,278 +8,145 @@ export declare class MigrationHubRefactorSpaces extends AWSServiceClient { input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironment( input: CreateEnvironmentRequest, ): Effect.Effect< CreateEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRoute( input: CreateRouteRequest, ): Effect.Effect< CreateRouteResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createService( input: CreateServiceRequest, ): Effect.Effect< CreateServiceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironment( input: DeleteEnvironmentRequest, ): Effect.Effect< DeleteEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRoute( input: DeleteRouteRequest, ): Effect.Effect< DeleteRouteResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteService( input: DeleteServiceRequest, ): Effect.Effect< DeleteServiceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplication( input: GetApplicationRequest, ): Effect.Effect< GetApplicationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironment( input: GetEnvironmentRequest, ): Effect.Effect< GetEnvironmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRoute( input: GetRouteRequest, ): Effect.Effect< GetRouteResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getService( input: GetServiceRequest, ): Effect.Effect< GetServiceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplications( input: ListApplicationsRequest, ): Effect.Effect< ListApplicationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironments( input: ListEnvironmentsRequest, ): Effect.Effect< ListEnvironmentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentVpcs( input: ListEnvironmentVpcsRequest, ): Effect.Effect< ListEnvironmentVpcsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRoutes( input: ListRoutesRequest, ): Effect.Effect< ListRoutesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listServices( input: ListServicesRequest, ): Effect.Effect< ListServicesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | InvalidResourcePolicyException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidResourcePolicyException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateRoute( input: UpdateRouteRequest, ): Effect.Effect< UpdateRouteResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -515,7 +350,8 @@ export interface DeleteEnvironmentResponse { export interface DeleteResourcePolicyRequest { Identifier: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export interface DeleteRouteRequest { EnvironmentIdentifier: string; ApplicationIdentifier: string; @@ -783,7 +619,8 @@ export interface PutResourcePolicyRequest { ResourceArn: string; Policy: string; } -export interface PutResourcePolicyResponse {} +export interface PutResourcePolicyResponse { +} export type ResourceArn = string; export type ResourceIdentifier = string; @@ -875,7 +712,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -892,7 +730,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateRouteRequest { EnvironmentIdentifier: string; ApplicationIdentifier: string; @@ -1240,13 +1079,5 @@ export declare namespace UpdateRoute { | CommonAwsError; } -export type MigrationHubRefactorSpacesErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidResourcePolicyException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type MigrationHubRefactorSpacesErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidResourcePolicyException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/migration-hub/index.ts b/src/services/migration-hub/index.ts index 3f52a97b..58886b04 100644 --- a/src/services/migration-hub/index.ts +++ b/src/services/migration-hub/index.ts @@ -5,24 +5,7 @@ import type { MigrationHub as _MigrationHubClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/migration-hub/types.ts b/src/services/migration-hub/types.ts index bd7885c2..dbf1603f 100644 --- a/src/services/migration-hub/types.ts +++ b/src/services/migration-hub/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class MigrationHub extends AWSServiceClient { @@ -41,295 +8,127 @@ export declare class MigrationHub extends AWSServiceClient { input: AssociateCreatedArtifactRequest, ): Effect.Effect< AssociateCreatedArtifactResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; associateDiscoveredResource( input: AssociateDiscoveredResourceRequest, ): Effect.Effect< AssociateDiscoveredResourceResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | PolicyErrorException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | PolicyErrorException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; associateSourceResource( input: AssociateSourceResourceRequest, ): Effect.Effect< AssociateSourceResourceResult, - | AccessDeniedException - | DryRunOperation - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; createProgressUpdateStream( input: CreateProgressUpdateStreamRequest, ): Effect.Effect< CreateProgressUpdateStreamResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; deleteProgressUpdateStream( input: DeleteProgressUpdateStreamRequest, ): Effect.Effect< DeleteProgressUpdateStreamResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; describeApplicationState( input: DescribeApplicationStateRequest, ): Effect.Effect< DescribeApplicationStateResult, - | AccessDeniedException - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | PolicyErrorException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | HomeRegionNotSetException | InternalServerError | InvalidInputException | PolicyErrorException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeMigrationTask( input: DescribeMigrationTaskRequest, ): Effect.Effect< DescribeMigrationTaskResult, - | AccessDeniedException - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; disassociateCreatedArtifact( input: DisassociateCreatedArtifactRequest, ): Effect.Effect< DisassociateCreatedArtifactResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; disassociateDiscoveredResource( input: DisassociateDiscoveredResourceRequest, ): Effect.Effect< DisassociateDiscoveredResourceResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; disassociateSourceResource( input: DisassociateSourceResourceRequest, ): Effect.Effect< DisassociateSourceResourceResult, - | AccessDeniedException - | DryRunOperation - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; importMigrationTask( input: ImportMigrationTaskRequest, ): Effect.Effect< ImportMigrationTaskResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; listApplicationStates( input: ListApplicationStatesRequest, ): Effect.Effect< ListApplicationStatesResult, - | AccessDeniedException - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | HomeRegionNotSetException | InternalServerError | InvalidInputException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listCreatedArtifacts( input: ListCreatedArtifactsRequest, ): Effect.Effect< ListCreatedArtifactsResult, - | AccessDeniedException - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listDiscoveredResources( input: ListDiscoveredResourcesRequest, ): Effect.Effect< ListDiscoveredResourcesResult, - | AccessDeniedException - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listMigrationTasks( input: ListMigrationTasksRequest, ): Effect.Effect< ListMigrationTasksResult, - | AccessDeniedException - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | PolicyErrorException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | HomeRegionNotSetException | InternalServerError | InvalidInputException | PolicyErrorException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listMigrationTaskUpdates( input: ListMigrationTaskUpdatesRequest, ): Effect.Effect< ListMigrationTaskUpdatesResult, - | AccessDeniedException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listProgressUpdateStreams( input: ListProgressUpdateStreamsRequest, ): Effect.Effect< ListProgressUpdateStreamsResult, - | AccessDeniedException - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | HomeRegionNotSetException | InternalServerError | InvalidInputException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listSourceResources( input: ListSourceResourcesRequest, ): Effect.Effect< ListSourceResourcesResult, - | AccessDeniedException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; notifyApplicationState( input: NotifyApplicationStateRequest, ): Effect.Effect< NotifyApplicationStateResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | PolicyErrorException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | PolicyErrorException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; notifyMigrationTaskState( input: NotifyMigrationTaskStateRequest, ): Effect.Effect< NotifyMigrationTaskStateResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; putResourceAttributes( input: PutResourceAttributesRequest, ): Effect.Effect< PutResourceAttributesResult, - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError + AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError >; } @@ -354,21 +153,24 @@ export interface AssociateCreatedArtifactRequest { CreatedArtifact: CreatedArtifact; DryRun?: boolean; } -export interface AssociateCreatedArtifactResult {} +export interface AssociateCreatedArtifactResult { +} export interface AssociateDiscoveredResourceRequest { ProgressUpdateStream: string; MigrationTaskName: string; DiscoveredResource: DiscoveredResource; DryRun?: boolean; } -export interface AssociateDiscoveredResourceResult {} +export interface AssociateDiscoveredResourceResult { +} export interface AssociateSourceResourceRequest { ProgressUpdateStream: string; MigrationTaskName: string; SourceResource: SourceResource; DryRun?: boolean; } -export interface AssociateSourceResourceResult {} +export interface AssociateSourceResourceResult { +} export type ConfigurationId = string; export interface CreatedArtifact { @@ -384,12 +186,14 @@ export interface CreateProgressUpdateStreamRequest { ProgressUpdateStreamName: string; DryRun?: boolean; } -export interface CreateProgressUpdateStreamResult {} +export interface CreateProgressUpdateStreamResult { +} export interface DeleteProgressUpdateStreamRequest { ProgressUpdateStreamName: string; DryRun?: boolean; } -export interface DeleteProgressUpdateStreamResult {} +export interface DeleteProgressUpdateStreamResult { +} export interface DescribeApplicationStateRequest { ApplicationId: string; } @@ -410,21 +214,24 @@ export interface DisassociateCreatedArtifactRequest { CreatedArtifactName: string; DryRun?: boolean; } -export interface DisassociateCreatedArtifactResult {} +export interface DisassociateCreatedArtifactResult { +} export interface DisassociateDiscoveredResourceRequest { ProgressUpdateStream: string; MigrationTaskName: string; ConfigurationId: string; DryRun?: boolean; } -export interface DisassociateDiscoveredResourceResult {} +export interface DisassociateDiscoveredResourceResult { +} export interface DisassociateSourceResourceRequest { ProgressUpdateStream: string; MigrationTaskName: string; SourceResourceName: string; DryRun?: boolean; } -export interface DisassociateSourceResourceResult {} +export interface DisassociateSourceResourceResult { +} export interface DiscoveredResource { ConfigurationId: string; Description?: string; @@ -451,7 +258,8 @@ export interface ImportMigrationTaskRequest { MigrationTaskName: string; DryRun?: boolean; } -export interface ImportMigrationTaskResult {} +export interface ImportMigrationTaskResult { +} export declare class InternalServerError extends EffectData.TaggedError( "InternalServerError", )<{ @@ -569,7 +377,8 @@ export interface NotifyApplicationStateRequest { UpdateDateTime?: Date | string; DryRun?: boolean; } -export interface NotifyApplicationStateResult {} +export interface NotifyApplicationStateResult { +} export interface NotifyMigrationTaskStateRequest { ProgressUpdateStream: string; MigrationTaskName: string; @@ -578,7 +387,8 @@ export interface NotifyMigrationTaskStateRequest { NextUpdateSeconds: number; DryRun?: boolean; } -export interface NotifyMigrationTaskStateResult {} +export interface NotifyMigrationTaskStateResult { +} export declare class PolicyErrorException extends EffectData.TaggedError( "PolicyErrorException", )<{ @@ -591,31 +401,21 @@ export type ProgressUpdateStream = string; export interface ProgressUpdateStreamSummary { ProgressUpdateStreamName?: string; } -export type ProgressUpdateStreamSummaryList = - Array; +export type ProgressUpdateStreamSummaryList = Array; export interface PutResourceAttributesRequest { ProgressUpdateStream: string; MigrationTaskName: string; ResourceAttributeList: Array; DryRun?: boolean; } -export interface PutResourceAttributesResult {} +export interface PutResourceAttributesResult { +} export interface ResourceAttribute { Type: ResourceAttributeType; Value: string; } export type ResourceAttributeList = Array; -export type ResourceAttributeType = - | "IPV4_ADDRESS" - | "IPV6_ADDRESS" - | "MAC_ADDRESS" - | "FQDN" - | "VM_MANAGER_ID" - | "VM_MANAGED_OBJECT_REFERENCE" - | "VM_NAME" - | "VM_PATH" - | "BIOS_ID" - | "MOTHERBOARD_SERIAL_NUMBER"; +export type ResourceAttributeType = "IPV4_ADDRESS" | "IPV6_ADDRESS" | "MAC_ADDRESS" | "FQDN" | "VM_MANAGER_ID" | "VM_MANAGED_OBJECT_REFERENCE" | "VM_NAME" | "VM_PATH" | "BIOS_ID" | "MOTHERBOARD_SERIAL_NUMBER"; export type ResourceAttributeValue = string; export type ResourceName = string; @@ -981,15 +781,5 @@ export declare namespace PutResourceAttributes { | CommonAwsError; } -export type MigrationHubErrors = - | AccessDeniedException - | DryRunOperation - | HomeRegionNotSetException - | InternalServerError - | InvalidInputException - | PolicyErrorException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | UnauthorizedOperation - | CommonAwsError; +export type MigrationHubErrors = AccessDeniedException | DryRunOperation | HomeRegionNotSetException | InternalServerError | InvalidInputException | PolicyErrorException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | UnauthorizedOperation | CommonAwsError; + diff --git a/src/services/migrationhub-config/index.ts b/src/services/migrationhub-config/index.ts index 4a2e0798..d3aa4b9a 100644 --- a/src/services/migrationhub-config/index.ts +++ b/src/services/migrationhub-config/index.ts @@ -5,24 +5,7 @@ import type { MigrationHubConfig as _MigrationHubConfigClient } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/migrationhub-config/types.ts b/src/services/migrationhub-config/types.ts index cb370a95..20cf7d87 100644 --- a/src/services/migrationhub-config/types.ts +++ b/src/services/migrationhub-config/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class MigrationHubConfig extends AWSServiceClient { @@ -41,46 +8,25 @@ export declare class MigrationHubConfig extends AWSServiceClient { input: CreateHomeRegionControlRequest, ): Effect.Effect< CreateHomeRegionControlResult, - | AccessDeniedException - | DryRunOperation - | InternalServerError - | InvalidInputException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | DryRunOperation | InternalServerError | InvalidInputException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteHomeRegionControl( input: DeleteHomeRegionControlRequest, ): Effect.Effect< DeleteHomeRegionControlResult, - | AccessDeniedException - | InternalServerError - | InvalidInputException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidInputException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeHomeRegionControls( input: DescribeHomeRegionControlsRequest, ): Effect.Effect< DescribeHomeRegionControlsResult, - | AccessDeniedException - | InternalServerError - | InvalidInputException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidInputException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; getHomeRegion( input: GetHomeRegionRequest, ): Effect.Effect< GetHomeRegionResult, - | AccessDeniedException - | InternalServerError - | InvalidInputException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidInputException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; } @@ -104,7 +50,8 @@ export interface CreateHomeRegionControlResult { export interface DeleteHomeRegionControlRequest { ControlId: string; } -export interface DeleteHomeRegionControlResult {} +export interface DeleteHomeRegionControlResult { +} export type DescribeHomeRegionControlsMaxResults = number; export interface DescribeHomeRegionControlsRequest { @@ -127,7 +74,8 @@ export declare class DryRunOperation extends EffectData.TaggedError( }> {} export type ErrorMessage = string; -export interface GetHomeRegionRequest {} +export interface GetHomeRegionRequest { +} export interface GetHomeRegionResult { HomeRegion?: string; } @@ -223,11 +171,5 @@ export declare namespace GetHomeRegion { | CommonAwsError; } -export type MigrationHubConfigErrors = - | AccessDeniedException - | DryRunOperation - | InternalServerError - | InvalidInputException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError; +export type MigrationHubConfigErrors = AccessDeniedException | DryRunOperation | InternalServerError | InvalidInputException | ServiceUnavailableException | ThrottlingException | CommonAwsError; + diff --git a/src/services/migrationhuborchestrator/index.ts b/src/services/migrationhuborchestrator/index.ts index 52008e5e..81da2ffa 100644 --- a/src/services/migrationhuborchestrator/index.ts +++ b/src/services/migrationhuborchestrator/index.ts @@ -5,23 +5,7 @@ import type { MigrationHubOrchestrator as _MigrationHubOrchestratorClient } from export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,38 +15,42 @@ const metadata = { sigV4ServiceName: "migrationhub-orchestrator", endpointPrefix: "migrationhub-orchestrator", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateTemplate: "POST /template", - CreateWorkflow: "POST /migrationworkflow/", - CreateWorkflowStep: "POST /workflowstep", - CreateWorkflowStepGroup: "POST /workflowstepgroups", - DeleteTemplate: "DELETE /template/{id}", - DeleteWorkflow: "DELETE /migrationworkflow/{id}", - DeleteWorkflowStep: "DELETE /workflowstep/{id}", - DeleteWorkflowStepGroup: "DELETE /workflowstepgroup/{id}", - GetTemplate: "GET /migrationworkflowtemplate/{id}", - GetTemplateStep: "GET /templatestep/{id}", - GetTemplateStepGroup: "GET /templates/{templateId}/stepgroups/{id}", - GetWorkflow: "GET /migrationworkflow/{id}", - GetWorkflowStep: "GET /workflowstep/{id}", - GetWorkflowStepGroup: "GET /workflowstepgroup/{id}", - ListPlugins: "GET /plugins", - ListTemplateStepGroups: "GET /templatestepgroups/{templateId}", - ListTemplateSteps: "GET /templatesteps", - ListTemplates: "GET /migrationworkflowtemplates", - ListWorkflowStepGroups: "GET /workflowstepgroups", - ListWorkflowSteps: - "GET /workflow/{workflowId}/workflowstepgroups/{stepGroupId}/workflowsteps", - ListWorkflows: "GET /migrationworkflows", - RetryWorkflowStep: "POST /retryworkflowstep/{id}", - StartWorkflow: "POST /migrationworkflow/{id}/start", - StopWorkflow: "POST /migrationworkflow/{id}/stop", - UpdateTemplate: "POST /template/{id}", - UpdateWorkflow: "POST /migrationworkflow/{id}", - UpdateWorkflowStep: "POST /workflowstep/{id}", - UpdateWorkflowStepGroup: "POST /workflowstepgroup/{id}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateTemplate": "POST /template", + "CreateWorkflow": "POST /migrationworkflow/", + "CreateWorkflowStep": "POST /workflowstep", + "CreateWorkflowStepGroup": "POST /workflowstepgroups", + "DeleteTemplate": "DELETE /template/{id}", + "DeleteWorkflow": "DELETE /migrationworkflow/{id}", + "DeleteWorkflowStep": "DELETE /workflowstep/{id}", + "DeleteWorkflowStepGroup": "DELETE /workflowstepgroup/{id}", + "GetTemplate": "GET /migrationworkflowtemplate/{id}", + "GetTemplateStep": "GET /templatestep/{id}", + "GetTemplateStepGroup": "GET /templates/{templateId}/stepgroups/{id}", + "GetWorkflow": "GET /migrationworkflow/{id}", + "GetWorkflowStep": "GET /workflowstep/{id}", + "GetWorkflowStepGroup": "GET /workflowstepgroup/{id}", + "ListPlugins": "GET /plugins", + "ListTemplateStepGroups": "GET /templatestepgroups/{templateId}", + "ListTemplateSteps": "GET /templatesteps", + "ListTemplates": "GET /migrationworkflowtemplates", + "ListWorkflowStepGroups": "GET /workflowstepgroups", + "ListWorkflowSteps": "GET /workflow/{workflowId}/workflowstepgroups/{stepGroupId}/workflowsteps", + "ListWorkflows": "GET /migrationworkflows", + "RetryWorkflowStep": "POST /retryworkflowstep/{id}", + "StartWorkflow": "POST /migrationworkflow/{id}/start", + "StopWorkflow": "POST /migrationworkflow/{id}/stop", + "UpdateTemplate": "POST /template/{id}", + "UpdateWorkflow": "POST /migrationworkflow/{id}", + "UpdateWorkflowStep": "POST /workflowstep/{id}", + "UpdateWorkflowStepGroup": "POST /workflowstepgroup/{id}", + }, + retryableErrors: { + "ValidationException": {}, + "AccessDeniedException": {}, + "ConflictException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/migrationhuborchestrator/types.ts b/src/services/migrationhuborchestrator/types.ts index bb546837..abb8debb 100644 --- a/src/services/migrationhuborchestrator/types.ts +++ b/src/services/migrationhuborchestrator/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MigrationHubOrchestrator extends AWSServiceClient { @@ -58,296 +26,169 @@ export declare class MigrationHubOrchestrator extends AWSServiceClient { input: CreateTemplateRequest, ): Effect.Effect< CreateTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createWorkflow( input: CreateMigrationWorkflowRequest, ): Effect.Effect< CreateMigrationWorkflowResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createWorkflowStep( input: CreateWorkflowStepRequest, ): Effect.Effect< CreateWorkflowStepResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createWorkflowStepGroup( input: CreateWorkflowStepGroupRequest, ): Effect.Effect< CreateWorkflowStepGroupResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteTemplate( input: DeleteTemplateRequest, ): Effect.Effect< DeleteTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkflow( input: DeleteMigrationWorkflowRequest, ): Effect.Effect< DeleteMigrationWorkflowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkflowStep( input: DeleteWorkflowStepRequest, ): Effect.Effect< DeleteWorkflowStepResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkflowStepGroup( input: DeleteWorkflowStepGroupRequest, ): Effect.Effect< DeleteWorkflowStepGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTemplate( input: GetMigrationWorkflowTemplateRequest, ): Effect.Effect< GetMigrationWorkflowTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getTemplateStep( input: GetTemplateStepRequest, ): Effect.Effect< GetTemplateStepResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTemplateStepGroup( input: GetTemplateStepGroupRequest, ): Effect.Effect< GetTemplateStepGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWorkflow( input: GetMigrationWorkflowRequest, ): Effect.Effect< GetMigrationWorkflowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWorkflowStep( input: GetWorkflowStepRequest, ): Effect.Effect< GetWorkflowStepResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getWorkflowStepGroup( input: GetWorkflowStepGroupRequest, ): Effect.Effect< GetWorkflowStepGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPlugins( input: ListPluginsRequest, ): Effect.Effect< ListPluginsResponse, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listTemplateStepGroups( input: ListTemplateStepGroupsRequest, ): Effect.Effect< ListTemplateStepGroupsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTemplateSteps( input: ListTemplateStepsRequest, ): Effect.Effect< ListTemplateStepsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTemplates( input: ListMigrationWorkflowTemplatesRequest, ): Effect.Effect< ListMigrationWorkflowTemplatesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; listWorkflowStepGroups( input: ListWorkflowStepGroupsRequest, ): Effect.Effect< ListWorkflowStepGroupsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWorkflowSteps( input: ListWorkflowStepsRequest, ): Effect.Effect< ListWorkflowStepsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listWorkflows( input: ListMigrationWorkflowsRequest, ): Effect.Effect< ListMigrationWorkflowsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; retryWorkflowStep( input: RetryWorkflowStepRequest, ): Effect.Effect< RetryWorkflowStepResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startWorkflow( input: StartMigrationWorkflowRequest, ): Effect.Effect< StartMigrationWorkflowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopWorkflow( input: StopMigrationWorkflowRequest, ): Effect.Effect< StopMigrationWorkflowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTemplate( input: UpdateTemplateRequest, ): Effect.Effect< UpdateTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkflow( input: UpdateMigrationWorkflowRequest, ): Effect.Effect< UpdateMigrationWorkflowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkflowStep( input: UpdateWorkflowStepRequest, ): Effect.Effect< UpdateWorkflowStepResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkflowStepGroup( input: UpdateWorkflowStepGroupRequest, ): Effect.Effect< UpdateWorkflowStepGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -449,18 +290,21 @@ export interface DeleteMigrationWorkflowResponse { export interface DeleteTemplateRequest { id: string; } -export interface DeleteTemplateResponse {} +export interface DeleteTemplateResponse { +} export interface DeleteWorkflowStepGroupRequest { workflowId: string; id: string; } -export interface DeleteWorkflowStepGroupResponse {} +export interface DeleteWorkflowStepGroupResponse { +} export interface DeleteWorkflowStepRequest { id: string; stepGroupId: string; workflowId: string; } -export interface DeleteWorkflowStepResponse {} +export interface DeleteWorkflowStepResponse { +} export interface GetMigrationWorkflowRequest { id: string; } @@ -778,11 +622,7 @@ interface _StepInput { mapOfStringValue?: Record; } -export type StepInput = - | (_StepInput & { integerValue: number }) - | (_StepInput & { stringValue: string }) - | (_StepInput & { listOfStringsValue: Array }) - | (_StepInput & { mapOfStringValue: Record }); +export type StepInput = (_StepInput & { integerValue: number }) | (_StepInput & { stringValue: string }) | (_StepInput & { listOfStringsValue: Array }) | (_StepInput & { mapOfStringValue: Record }); export type StepInputParameters = Record; export type StepInputParametersKey = string; @@ -824,7 +664,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TargetType = string; @@ -845,7 +686,7 @@ interface _TemplateSource { workflowId?: string; } -export type TemplateSource = _TemplateSource & { workflowId: string }; +export type TemplateSource = (_TemplateSource & { workflowId: string }); export type TemplateStatus = string; export interface TemplateStepGroupSummary { @@ -888,7 +729,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateMigrationWorkflowRequest { id: string; name?: string; @@ -995,10 +837,7 @@ interface _WorkflowStepOutputUnion { listOfStringValue?: Array; } -export type WorkflowStepOutputUnion = - | (_WorkflowStepOutputUnion & { integerValue: number }) - | (_WorkflowStepOutputUnion & { stringValue: string }) - | (_WorkflowStepOutputUnion & { listOfStringValue: Array }); +export type WorkflowStepOutputUnion = (_WorkflowStepOutputUnion & { integerValue: number }) | (_WorkflowStepOutputUnion & { stringValue: string }) | (_WorkflowStepOutputUnion & { listOfStringValue: Array }); export type WorkflowStepsSummaryList = Array; export interface WorkflowStepSummary { stepId?: string; @@ -1365,11 +1204,5 @@ export declare namespace UpdateWorkflowStepGroup { | CommonAwsError; } -export type MigrationHubOrchestratorErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type MigrationHubOrchestratorErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/migrationhubstrategy/index.ts b/src/services/migrationhubstrategy/index.ts index 46582b2f..c360ec01 100644 --- a/src/services/migrationhubstrategy/index.ts +++ b/src/services/migrationhubstrategy/index.ts @@ -5,23 +5,7 @@ import type { MigrationHubStrategy as _MigrationHubStrategyClient } from "./type export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,33 +15,28 @@ const metadata = { sigV4ServiceName: "migrationhub-strategy", endpointPrefix: "migrationhub-strategy", operations: { - GetApplicationComponentDetails: - "GET /get-applicationcomponent-details/{applicationComponentId}", - GetApplicationComponentStrategies: - "GET /get-applicationcomponent-strategies/{applicationComponentId}", - GetAssessment: "GET /get-assessment/{id}", - GetImportFileTask: "GET /get-import-file-task/{id}", - GetLatestAssessmentId: "GET /get-latest-assessment-id", - GetPortfolioPreferences: "GET /get-portfolio-preferences", - GetPortfolioSummary: "GET /get-portfolio-summary", - GetRecommendationReportDetails: - "GET /get-recommendation-report-details/{id}", - GetServerDetails: "GET /get-server-details/{serverId}", - GetServerStrategies: "GET /get-server-strategies/{serverId}", - ListAnalyzableServers: "POST /list-analyzable-servers", - ListApplicationComponents: "POST /list-applicationcomponents", - ListCollectors: "GET /list-collectors", - ListImportFileTask: "GET /list-import-file-task", - ListServers: "POST /list-servers", - PutPortfolioPreferences: "POST /put-portfolio-preferences", - StartAssessment: "POST /start-assessment", - StartImportFileTask: "POST /start-import-file-task", - StartRecommendationReportGeneration: - "POST /start-recommendation-report-generation", - StopAssessment: "POST /stop-assessment", - UpdateApplicationComponentConfig: - "POST /update-applicationcomponent-config/", - UpdateServerConfig: "POST /update-server-config/", + "GetApplicationComponentDetails": "GET /get-applicationcomponent-details/{applicationComponentId}", + "GetApplicationComponentStrategies": "GET /get-applicationcomponent-strategies/{applicationComponentId}", + "GetAssessment": "GET /get-assessment/{id}", + "GetImportFileTask": "GET /get-import-file-task/{id}", + "GetLatestAssessmentId": "GET /get-latest-assessment-id", + "GetPortfolioPreferences": "GET /get-portfolio-preferences", + "GetPortfolioSummary": "GET /get-portfolio-summary", + "GetRecommendationReportDetails": "GET /get-recommendation-report-details/{id}", + "GetServerDetails": "GET /get-server-details/{serverId}", + "GetServerStrategies": "GET /get-server-strategies/{serverId}", + "ListAnalyzableServers": "POST /list-analyzable-servers", + "ListApplicationComponents": "POST /list-applicationcomponents", + "ListCollectors": "GET /list-collectors", + "ListImportFileTask": "GET /list-import-file-task", + "ListServers": "POST /list-servers", + "PutPortfolioPreferences": "POST /put-portfolio-preferences", + "StartAssessment": "POST /start-assessment", + "StartImportFileTask": "POST /start-import-file-task", + "StartRecommendationReportGeneration": "POST /start-recommendation-report-generation", + "StopAssessment": "POST /stop-assessment", + "UpdateApplicationComponentConfig": "POST /update-applicationcomponent-config/", + "UpdateServerConfig": "POST /update-server-config/", }, } as const satisfies ServiceMetadata; diff --git a/src/services/migrationhubstrategy/types.ts b/src/services/migrationhubstrategy/types.ts index d9c3914d..81509b33 100644 --- a/src/services/migrationhubstrategy/types.ts +++ b/src/services/migrationhubstrategy/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MigrationHubStrategy extends AWSServiceClient { @@ -40,225 +8,133 @@ export declare class MigrationHubStrategy extends AWSServiceClient { input: GetApplicationComponentDetailsRequest, ): Effect.Effect< GetApplicationComponentDetailsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getApplicationComponentStrategies( input: GetApplicationComponentStrategiesRequest, ): Effect.Effect< GetApplicationComponentStrategiesResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getAssessment( input: GetAssessmentRequest, ): Effect.Effect< GetAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getImportFileTask( input: GetImportFileTaskRequest, ): Effect.Effect< GetImportFileTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLatestAssessmentId( input: GetLatestAssessmentIdRequest, ): Effect.Effect< GetLatestAssessmentIdResponse, - | AccessDeniedException - | DependencyException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | DependencyException | InternalServerException | ValidationException | CommonAwsError >; getPortfolioPreferences( input: GetPortfolioPreferencesRequest, ): Effect.Effect< GetPortfolioPreferencesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getPortfolioSummary( input: GetPortfolioSummaryRequest, ): Effect.Effect< GetPortfolioSummaryResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | CommonAwsError >; getRecommendationReportDetails( input: GetRecommendationReportDetailsRequest, ): Effect.Effect< GetRecommendationReportDetailsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServerDetails( input: GetServerDetailsRequest, ): Effect.Effect< GetServerDetailsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServerStrategies( input: GetServerStrategiesRequest, ): Effect.Effect< GetServerStrategiesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAnalyzableServers( input: ListAnalyzableServersRequest, ): Effect.Effect< ListAnalyzableServersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listApplicationComponents( input: ListApplicationComponentsRequest, ): Effect.Effect< ListApplicationComponentsResponse, - | AccessDeniedException - | InternalServerException - | ServiceLinkedRoleLockClientException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceLinkedRoleLockClientException | ValidationException | CommonAwsError >; listCollectors( input: ListCollectorsRequest, ): Effect.Effect< ListCollectorsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listImportFileTask( input: ListImportFileTaskRequest, ): Effect.Effect< ListImportFileTaskResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listServers( input: ListServersRequest, ): Effect.Effect< ListServersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putPortfolioPreferences( input: PutPortfolioPreferencesRequest, ): Effect.Effect< PutPortfolioPreferencesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; startAssessment( input: StartAssessmentRequest, ): Effect.Effect< StartAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; startImportFileTask( input: StartImportFileTaskRequest, ): Effect.Effect< StartImportFileTaskResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startRecommendationReportGeneration( input: StartRecommendationReportGenerationRequest, ): Effect.Effect< StartRecommendationReportGenerationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; stopAssessment( input: StopAssessmentRequest, ): Effect.Effect< StopAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateApplicationComponentConfig( input: UpdateApplicationComponentConfigRequest, ): Effect.Effect< UpdateApplicationComponentConfigResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateServerConfig( input: UpdateServerConfigRequest, ): Effect.Effect< UpdateServerConfigResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -274,9 +150,7 @@ interface _AnalysisStatusUnion { srcCodeOrDbAnalysisStatus?: string; } -export type AnalysisStatusUnion = - | (_AnalysisStatusUnion & { runtimeAnalysisStatus: string }) - | (_AnalysisStatusUnion & { srcCodeOrDbAnalysisStatus: string }); +export type AnalysisStatusUnion = (_AnalysisStatusUnion & { runtimeAnalysisStatus: string }) | (_AnalysisStatusUnion & { srcCodeOrDbAnalysisStatus: string }); export type AnalysisType = string; export interface AnalyzableServerSummary { @@ -292,10 +166,7 @@ interface _AnalyzerNameUnion { sourceCodeAnalyzerName?: string; } -export type AnalyzerNameUnion = - | (_AnalyzerNameUnion & { binaryAnalyzerName: string }) - | (_AnalyzerNameUnion & { runTimeAnalyzerName: string }) - | (_AnalyzerNameUnion & { sourceCodeAnalyzerName: string }); +export type AnalyzerNameUnion = (_AnalyzerNameUnion & { binaryAnalyzerName: string }) | (_AnalyzerNameUnion & { runTimeAnalyzerName: string }) | (_AnalyzerNameUnion & { sourceCodeAnalyzerName: string }); export interface AntipatternReportResult { analyzerName?: AnalyzerNameUnion; antiPatternReportS3Object?: S3Object; @@ -343,8 +214,7 @@ export interface ApplicationComponentStatusSummary { srcCodeOrDbAnalysisStatus?: string; count?: number; } -export type ApplicationComponentStrategies = - Array; +export type ApplicationComponentStrategies = Array; export interface ApplicationComponentStrategy { recommendation?: RecommendationSet; status?: string; @@ -458,12 +328,7 @@ interface _DatabaseMigrationPreference { noPreference?: NoDatabaseMigrationPreference; } -export type DatabaseMigrationPreference = - | (_DatabaseMigrationPreference & { heterogeneous: Heterogeneous }) - | (_DatabaseMigrationPreference & { homogeneous: Homogeneous }) - | (_DatabaseMigrationPreference & { - noPreference: NoDatabaseMigrationPreference; - }); +export type DatabaseMigrationPreference = (_DatabaseMigrationPreference & { heterogeneous: Heterogeneous }) | (_DatabaseMigrationPreference & { homogeneous: Homogeneous }) | (_DatabaseMigrationPreference & { noPreference: NoDatabaseMigrationPreference }); export interface DatabasePreferences { databaseManagementPreference?: string; databaseMigrationPreference?: DatabaseMigrationPreference; @@ -526,18 +391,21 @@ export interface GetImportFileTaskResponse { numberOfRecordsFailed?: number; importName?: string; } -export interface GetLatestAssessmentIdRequest {} +export interface GetLatestAssessmentIdRequest { +} export interface GetLatestAssessmentIdResponse { id?: string; } -export interface GetPortfolioPreferencesRequest {} +export interface GetPortfolioPreferencesRequest { +} export interface GetPortfolioPreferencesResponse { prioritizeBusinessGoals?: PrioritizeBusinessGoals; applicationPreferences?: ApplicationPreferences; databasePreferences?: DatabasePreferences; applicationMode?: string; } -export interface GetPortfolioSummaryRequest {} +export interface GetPortfolioSummaryRequest { +} export interface GetPortfolioSummaryResponse { assessmentSummary?: AssessmentSummary; } @@ -643,10 +511,8 @@ export interface ListApplicationComponentsResponse { applicationComponentInfos?: Array; nextToken?: string; } -export type ListApplicationComponentStatusSummary = - Array; -export type ListApplicationComponentSummary = - Array; +export type ListApplicationComponentStatusSummary = Array; +export type ListApplicationComponentSummary = Array; export interface ListCollectorsRequest { nextToken?: string; maxResults?: number; @@ -689,10 +555,7 @@ interface _ManagementPreference { noPreference?: NoManagementPreference; } -export type ManagementPreference = - | (_ManagementPreference & { awsManagedResources: AwsManagedResources }) - | (_ManagementPreference & { selfManageResources: SelfManageResources }) - | (_ManagementPreference & { noPreference: NoManagementPreference }); +export type ManagementPreference = (_ManagementPreference & { awsManagedResources: AwsManagedResources }) | (_ManagementPreference & { selfManageResources: SelfManageResources }) | (_ManagementPreference & { noPreference: NoManagementPreference }); export type MaxResult = number; export type NetMask = string; @@ -743,7 +606,8 @@ export interface PutPortfolioPreferencesRequest { databasePreferences?: DatabasePreferences; applicationMode?: string; } -export interface PutPortfolioPreferencesResponse {} +export interface PutPortfolioPreferencesResponse { +} export interface RecommendationReportDetails { status?: string; statusMessage?: string; @@ -918,7 +782,8 @@ export type StatusMessage = string; export interface StopAssessmentRequest { assessmentId: string; } -export interface StopAssessmentResponse {} +export interface StopAssessmentResponse { +} export type Strategy = string; export interface StrategyOption { @@ -973,12 +838,14 @@ export interface UpdateApplicationComponentConfigRequest { configureOnly?: boolean; appType?: string; } -export interface UpdateApplicationComponentConfigResponse {} +export interface UpdateApplicationComponentConfigResponse { +} export interface UpdateServerConfigRequest { serverId: string; strategyOption?: StrategyOption; } -export interface UpdateServerConfigResponse {} +export interface UpdateServerConfigResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -1244,14 +1111,5 @@ export declare namespace UpdateServerConfig { | CommonAwsError; } -export type MigrationHubStrategyErrors = - | AccessDeniedException - | ConflictException - | DependencyException - | InternalServerException - | ResourceNotFoundException - | ServiceLinkedRoleLockClientException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type MigrationHubStrategyErrors = AccessDeniedException | ConflictException | DependencyException | InternalServerException | ResourceNotFoundException | ServiceLinkedRoleLockClientException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/mpa/index.ts b/src/services/mpa/index.ts index 700729e5..51703565 100644 --- a/src/services/mpa/index.ts +++ b/src/services/mpa/index.ts @@ -5,23 +5,7 @@ import type { MPA as _MPAClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,28 +14,30 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "mpa", operations: { - GetPolicyVersion: "GET /policy-versions/{PolicyVersionArn}", - GetResourcePolicy: "POST /GetResourcePolicy", - ListPolicies: "POST /policies/?List", - ListPolicyVersions: "POST /policies/{PolicyArn}/?List", - ListResourcePolicies: "POST /resource-policies/{ResourceArn}/?List", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "PUT /tags/{ResourceArn}", - UntagResource: "POST /tags/{ResourceArn}", - CancelSession: "PUT /sessions/{SessionArn}", - CreateApprovalTeam: "POST /approval-teams", - CreateIdentitySource: "POST /identity-sources", - DeleteIdentitySource: "DELETE /identity-sources/{IdentitySourceArn}", - DeleteInactiveApprovalTeamVersion: - "DELETE /approval-teams/{Arn}/{VersionId}", - GetApprovalTeam: "GET /approval-teams/{Arn}", - GetIdentitySource: "GET /identity-sources/{IdentitySourceArn}", - GetSession: "GET /sessions/{SessionArn}", - ListApprovalTeams: "POST /approval-teams/?List", - ListIdentitySources: "POST /identity-sources/?List", - ListSessions: "POST /approval-teams/{ApprovalTeamArn}/sessions/?List", - StartActiveApprovalTeamDeletion: "POST /approval-teams/{Arn}?Delete", - UpdateApprovalTeam: "PATCH /approval-teams/{Arn}", + "GetPolicyVersion": "GET /policy-versions/{PolicyVersionArn}", + "GetResourcePolicy": "POST /GetResourcePolicy", + "ListPolicies": "POST /policies/?List", + "ListPolicyVersions": "POST /policies/{PolicyArn}/?List", + "ListResourcePolicies": "POST /resource-policies/{ResourceArn}/?List", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "PUT /tags/{ResourceArn}", + "UntagResource": "POST /tags/{ResourceArn}", + "CancelSession": "PUT /sessions/{SessionArn}", + "CreateApprovalTeam": "POST /approval-teams", + "CreateIdentitySource": "POST /identity-sources", + "DeleteIdentitySource": "DELETE /identity-sources/{IdentitySourceArn}", + "DeleteInactiveApprovalTeamVersion": "DELETE /approval-teams/{Arn}/{VersionId}", + "GetApprovalTeam": "GET /approval-teams/{Arn}", + "GetIdentitySource": "GET /identity-sources/{IdentitySourceArn}", + "GetSession": "GET /sessions/{SessionArn}", + "ListApprovalTeams": "POST /approval-teams/?List", + "ListIdentitySources": "POST /identity-sources/?List", + "ListSessions": "POST /approval-teams/{ApprovalTeamArn}/sessions/?List", + "StartActiveApprovalTeamDeletion": "POST /approval-teams/{Arn}?Delete", + "UpdateApprovalTeam": "PATCH /approval-teams/{Arn}", + }, + retryableErrors: { + "InternalServerException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/mpa/types.ts b/src/services/mpa/types.ts index 6ef5a471..d3173d34 100644 --- a/src/services/mpa/types.ts +++ b/src/services/mpa/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MPA extends AWSServiceClient { @@ -40,236 +8,127 @@ export declare class MPA extends AWSServiceClient { input: GetPolicyVersionRequest, ): Effect.Effect< GetPolicyVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | AccessDeniedException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPolicies( input: ListPoliciesRequest, ): Effect.Effect< ListPoliciesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPolicyVersions( input: ListPolicyVersionsRequest, ): Effect.Effect< ListPolicyVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listResourcePolicies( input: ListResourcePoliciesRequest, ): Effect.Effect< ListResourcePoliciesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelSession( input: CancelSessionRequest, ): Effect.Effect< CancelSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createApprovalTeam( input: CreateApprovalTeamRequest, ): Effect.Effect< CreateApprovalTeamResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createIdentitySource( input: CreateIdentitySourceRequest, ): Effect.Effect< CreateIdentitySourceResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteIdentitySource( input: DeleteIdentitySourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteInactiveApprovalTeamVersion( input: DeleteInactiveApprovalTeamVersionRequest, ): Effect.Effect< DeleteInactiveApprovalTeamVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApprovalTeam( input: GetApprovalTeamRequest, ): Effect.Effect< GetApprovalTeamResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIdentitySource( input: GetIdentitySourceRequest, ): Effect.Effect< GetIdentitySourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSession( input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApprovalTeams( input: ListApprovalTeamsRequest, ): Effect.Effect< ListApprovalTeamsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listIdentitySources( input: ListIdentitySourcesRequest, ): Effect.Effect< ListIdentitySourcesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSessions( input: ListSessionsRequest, ): Effect.Effect< ListSessionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startActiveApprovalTeamDeletion( input: StartActiveApprovalTeamDeletionRequest, ): Effect.Effect< StartActiveApprovalTeamDeletionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateApprovalTeam( input: UpdateApprovalTeamRequest, ): Effect.Effect< UpdateApprovalTeamResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -289,16 +148,12 @@ interface _ApprovalStrategy { MofN?: MofNApprovalStrategy; } -export type ApprovalStrategy = _ApprovalStrategy & { - MofN: MofNApprovalStrategy; -}; +export type ApprovalStrategy = (_ApprovalStrategy & { MofN: MofNApprovalStrategy }); interface _ApprovalStrategyResponse { MofN?: MofNApprovalStrategy; } -export type ApprovalStrategyResponse = _ApprovalStrategyResponse & { - MofN: MofNApprovalStrategy; -}; +export type ApprovalStrategyResponse = (_ApprovalStrategyResponse & { MofN: MofNApprovalStrategy }); export type ApprovalTeamArn = string; export type ApprovalTeamName = string; @@ -309,23 +164,12 @@ export interface ApprovalTeamRequestApprover { } export type ApprovalTeamRequestApprovers = Array; export type ApprovalTeamStatus = "ACTIVE" | "INACTIVE" | "DELETING" | "PENDING"; -export type ApprovalTeamStatusCode = - | "VALIDATING" - | "PENDING_ACTIVATION" - | "FAILED_VALIDATION" - | "FAILED_ACTIVATION" - | "UPDATE_PENDING_APPROVAL" - | "UPDATE_PENDING_ACTIVATION" - | "UPDATE_FAILED_APPROVAL" - | "UPDATE_FAILED_ACTIVATION" - | "UPDATE_FAILED_VALIDATION" - | "DELETE_PENDING_APPROVAL" - | "DELETE_FAILED_APPROVAL" - | "DELETE_FAILED_VALIDATION"; +export type ApprovalTeamStatusCode = "VALIDATING" | "PENDING_ACTIVATION" | "FAILED_VALIDATION" | "FAILED_ACTIVATION" | "UPDATE_PENDING_APPROVAL" | "UPDATE_PENDING_ACTIVATION" | "UPDATE_FAILED_APPROVAL" | "UPDATE_FAILED_ACTIVATION" | "UPDATE_FAILED_VALIDATION" | "DELETE_PENDING_APPROVAL" | "DELETE_FAILED_APPROVAL" | "DELETE_FAILED_VALIDATION"; export interface CancelSessionRequest { SessionArn: string; } -export interface CancelSessionResponse {} +export interface CancelSessionResponse { +} export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -363,7 +207,8 @@ export interface DeleteInactiveApprovalTeamVersionRequest { Arn: string; VersionId: string; } -export interface DeleteInactiveApprovalTeamVersionResponse {} +export interface DeleteInactiveApprovalTeamVersionResponse { +} export type Description = string; export interface Filter { @@ -371,13 +216,7 @@ export interface Filter { Operator?: Operator; Value?: string; } -export type FilterField = - | "ActionName" - | "ApprovalTeamName" - | "VotingTime" - | "Vote" - | "SessionStatus" - | "InitiationTime"; +export type FilterField = "ActionName" | "ApprovalTeamName" | "VotingTime" | "Vote" | "SessionStatus" | "InitiationTime"; export type Filters = Array; export interface GetApprovalTeamRequest { Arn: string; @@ -406,8 +245,7 @@ export interface GetApprovalTeamResponseApprover { PrimaryIdentitySourceArn?: string; PrimaryIdentityStatus?: IdentityStatus; } -export type GetApprovalTeamResponseApprovers = - Array; +export type GetApprovalTeamResponseApprovers = Array; export interface GetIdentitySourceRequest { IdentitySourceArn: string; } @@ -473,8 +311,7 @@ export interface GetSessionResponseApproverResponse { Response?: SessionResponse; ResponseTime?: Date | string; } -export type GetSessionResponseApproverResponses = - Array; +export type GetSessionResponseApproverResponses = Array; export interface IamIdentityCenter { InstanceArn: string; Region: string; @@ -509,24 +346,15 @@ interface _IdentitySourceParametersForGet { IamIdentityCenter?: IamIdentityCenterForGet; } -export type IdentitySourceParametersForGet = _IdentitySourceParametersForGet & { - IamIdentityCenter: IamIdentityCenterForGet; -}; +export type IdentitySourceParametersForGet = (_IdentitySourceParametersForGet & { IamIdentityCenter: IamIdentityCenterForGet }); interface _IdentitySourceParametersForList { IamIdentityCenter?: IamIdentityCenterForList; } -export type IdentitySourceParametersForList = - _IdentitySourceParametersForList & { - IamIdentityCenter: IamIdentityCenterForList; - }; +export type IdentitySourceParametersForList = (_IdentitySourceParametersForList & { IamIdentityCenter: IamIdentityCenterForList }); export type IdentitySources = Array; export type IdentitySourceStatus = "CREATING" | "ACTIVE" | "DELETING" | "ERROR"; -export type IdentitySourceStatusCode = - | "ACCESS_DENIED" - | "DELETION_FAILED" - | "IDC_INSTANCE_NOT_FOUND" - | "IDC_INSTANCE_NOT_VALID"; +export type IdentitySourceStatusCode = "ACCESS_DENIED" | "DELETION_FAILED" | "IDC_INSTANCE_NOT_FOUND" | "IDC_INSTANCE_NOT_VALID"; export type IdentitySourceType = "IAM_IDENTITY_CENTER"; export type IdentityStatus = "PENDING" | "ACCEPTED" | "REJECTED" | "INVALID"; export declare class InternalServerException extends EffectData.TaggedError( @@ -560,8 +388,7 @@ export interface ListApprovalTeamsResponseApprovalTeam { StatusCode?: ApprovalTeamStatusCode; StatusMessage?: string; } -export type ListApprovalTeamsResponseApprovalTeams = - Array; +export type ListApprovalTeamsResponseApprovalTeams = Array; export interface ListIdentitySourcesRequest { MaxResults?: number; NextToken?: string; @@ -596,8 +423,7 @@ export interface ListResourcePoliciesResponse { NextToken?: string; ResourcePolicies?: Array; } -export type ListResourcePoliciesResponseResourcePolicies = - Array; +export type ListResourcePoliciesResponseResourcePolicies = Array; export interface ListResourcePoliciesResponseResourcePolicy { PolicyArn?: string; PolicyType?: PolicyType; @@ -646,16 +472,7 @@ export type Message = string; export interface MofNApprovalStrategy { MinApprovalsRequired: number; } -export type Operator = - | "EQ" - | "NE" - | "GT" - | "LT" - | "GTE" - | "LTE" - | "CONTAINS" - | "NOT_CONTAINS" - | "BETWEEN"; +export type Operator = "EQ" | "NE" | "GT" | "LT" | "GTE" | "LTE" | "CONTAINS" | "NOT_CONTAINS" | "BETWEEN"; export type ParticipantId = string; export interface PendingUpdate { @@ -737,16 +554,8 @@ export type SessionKey = string; export type SessionMetadata = Record; export type SessionResponse = "APPROVED" | "REJECTED" | "NO_RESPONSE"; -export type SessionStatus = - | "PENDING" - | "CANCELLED" - | "APPROVED" - | "FAILED" - | "CREATING"; -export type SessionStatusCode = - | "REJECTED" - | "EXPIRED" - | "CONFIGURATION_CHANGED"; +export type SessionStatus = "PENDING" | "CANCELLED" | "APPROVED" | "FAILED" | "CREATING"; +export type SessionStatusCode = "REJECTED" | "EXPIRED" | "CONFIGURATION_CHANGED"; export type SessionValue = string; export interface StartActiveApprovalTeamDeletionRequest { @@ -766,7 +575,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -789,7 +599,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApprovalTeamRequest { ApprovalStrategy?: ApprovalStrategy; Approvers?: Array; @@ -1060,14 +871,5 @@ export declare namespace UpdateApprovalTeam { | CommonAwsError; } -export type MPAErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidParameterException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type MPAErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidParameterException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/mq/index.ts b/src/services/mq/index.ts index c38ca6fe..d35f2a27 100644 --- a/src/services/mq/index.ts +++ b/src/services/mq/index.ts @@ -5,26 +5,7 @@ import type { mq as _mqClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,32 +15,30 @@ const metadata = { sigV4ServiceName: "mq", endpointPrefix: "mq", operations: { - CreateBroker: "POST /v1/brokers", - CreateConfiguration: "POST /v1/configurations", - CreateTags: "POST /v1/tags/{ResourceArn}", - CreateUser: "POST /v1/brokers/{BrokerId}/users/{Username}", - DeleteBroker: "DELETE /v1/brokers/{BrokerId}", - DeleteConfiguration: "DELETE /v1/configurations/{ConfigurationId}", - DeleteTags: "DELETE /v1/tags/{ResourceArn}", - DeleteUser: "DELETE /v1/brokers/{BrokerId}/users/{Username}", - DescribeBroker: "GET /v1/brokers/{BrokerId}", - DescribeBrokerEngineTypes: "GET /v1/broker-engine-types", - DescribeBrokerInstanceOptions: "GET /v1/broker-instance-options", - DescribeConfiguration: "GET /v1/configurations/{ConfigurationId}", - DescribeConfigurationRevision: - "GET /v1/configurations/{ConfigurationId}/revisions/{ConfigurationRevision}", - DescribeUser: "GET /v1/brokers/{BrokerId}/users/{Username}", - ListBrokers: "GET /v1/brokers", - ListConfigurationRevisions: - "GET /v1/configurations/{ConfigurationId}/revisions", - ListConfigurations: "GET /v1/configurations", - ListTags: "GET /v1/tags/{ResourceArn}", - ListUsers: "GET /v1/brokers/{BrokerId}/users", - Promote: "POST /v1/brokers/{BrokerId}/promote", - RebootBroker: "POST /v1/brokers/{BrokerId}/reboot", - UpdateBroker: "PUT /v1/brokers/{BrokerId}", - UpdateConfiguration: "PUT /v1/configurations/{ConfigurationId}", - UpdateUser: "PUT /v1/brokers/{BrokerId}/users/{Username}", + "CreateBroker": "POST /v1/brokers", + "CreateConfiguration": "POST /v1/configurations", + "CreateTags": "POST /v1/tags/{ResourceArn}", + "CreateUser": "POST /v1/brokers/{BrokerId}/users/{Username}", + "DeleteBroker": "DELETE /v1/brokers/{BrokerId}", + "DeleteConfiguration": "DELETE /v1/configurations/{ConfigurationId}", + "DeleteTags": "DELETE /v1/tags/{ResourceArn}", + "DeleteUser": "DELETE /v1/brokers/{BrokerId}/users/{Username}", + "DescribeBroker": "GET /v1/brokers/{BrokerId}", + "DescribeBrokerEngineTypes": "GET /v1/broker-engine-types", + "DescribeBrokerInstanceOptions": "GET /v1/broker-instance-options", + "DescribeConfiguration": "GET /v1/configurations/{ConfigurationId}", + "DescribeConfigurationRevision": "GET /v1/configurations/{ConfigurationId}/revisions/{ConfigurationRevision}", + "DescribeUser": "GET /v1/brokers/{BrokerId}/users/{Username}", + "ListBrokers": "GET /v1/brokers", + "ListConfigurationRevisions": "GET /v1/configurations/{ConfigurationId}/revisions", + "ListConfigurations": "GET /v1/configurations", + "ListTags": "GET /v1/tags/{ResourceArn}", + "ListUsers": "GET /v1/brokers/{BrokerId}/users", + "Promote": "POST /v1/brokers/{BrokerId}/promote", + "RebootBroker": "POST /v1/brokers/{BrokerId}/reboot", + "UpdateBroker": "PUT /v1/brokers/{BrokerId}", + "UpdateConfiguration": "PUT /v1/configurations/{ConfigurationId}", + "UpdateUser": "PUT /v1/brokers/{BrokerId}/users/{Username}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/mq/types.ts b/src/services/mq/types.ts index 91e9a5de..791bfb73 100644 --- a/src/services/mq/types.ts +++ b/src/services/mq/types.ts @@ -7,243 +7,145 @@ export declare class mq extends AWSServiceClient { input: CreateBrokerRequest, ): Effect.Effect< CreateBrokerResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | UnauthorizedException | CommonAwsError >; createConfiguration( input: CreateConfigurationRequest, ): Effect.Effect< CreateConfigurationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | CommonAwsError >; createTags( input: CreateTagsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; deleteBroker( input: DeleteBrokerRequest, ): Effect.Effect< DeleteBrokerResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; deleteConfiguration( input: DeleteConfigurationRequest, ): Effect.Effect< DeleteConfigurationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; deleteTags( input: DeleteTagsRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< DeleteUserResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; describeBroker( input: DescribeBrokerRequest, ): Effect.Effect< DescribeBrokerResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; describeBrokerEngineTypes( input: DescribeBrokerEngineTypesRequest, ): Effect.Effect< DescribeBrokerEngineTypesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | CommonAwsError >; describeBrokerInstanceOptions( input: DescribeBrokerInstanceOptionsRequest, ): Effect.Effect< DescribeBrokerInstanceOptionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | CommonAwsError >; describeConfiguration( input: DescribeConfigurationRequest, ): Effect.Effect< DescribeConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; describeConfigurationRevision( input: DescribeConfigurationRevisionRequest, ): Effect.Effect< DescribeConfigurationRevisionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; describeUser( input: DescribeUserRequest, ): Effect.Effect< DescribeUserResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; listBrokers( input: ListBrokersRequest, ): Effect.Effect< ListBrokersResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | CommonAwsError >; listConfigurationRevisions( input: ListConfigurationRevisionsRequest, ): Effect.Effect< ListConfigurationRevisionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; listConfigurations( input: ListConfigurationsRequest, ): Effect.Effect< ListConfigurationsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | CommonAwsError >; listTags( input: ListTagsRequest, ): Effect.Effect< ListTagsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; listUsers( input: ListUsersRequest, ): Effect.Effect< ListUsersResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; promote( input: PromoteRequest, ): Effect.Effect< PromoteResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; rebootBroker( input: RebootBrokerRequest, ): Effect.Effect< RebootBrokerResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; updateBroker( input: UpdateBrokerRequest, ): Effect.Effect< UpdateBrokerResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; updateConfiguration( input: UpdateConfigurationRequest, ): Effect.Effect< UpdateConfigurationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; } @@ -306,14 +208,7 @@ export interface BrokerInstanceOption { SupportedDeploymentModes?: Array; SupportedEngineVersions?: Array; } -export type BrokerState = - | "CREATION_IN_PROGRESS" - | "CREATION_FAILED" - | "DELETION_IN_PROGRESS" - | "RUNNING" - | "REBOOT_IN_PROGRESS" - | "CRITICAL_ACTION_REQUIRED" - | "REPLICA"; +export type BrokerState = "CREATION_IN_PROGRESS" | "CREATION_FAILED" | "DELETION_IN_PROGRESS" | "RUNNING" | "REBOOT_IN_PROGRESS" | "CRITICAL_ACTION_REQUIRED" | "REPLICA"; export type BrokerStorageType = "EBS" | "EFS"; export interface BrokerSummary { BrokerArn?: string; @@ -412,7 +307,8 @@ export interface CreateUserRequest { Username: string; ReplicationUser?: boolean; } -export interface CreateUserResponse {} +export interface CreateUserResponse { +} export interface DataReplicationCounterpart { BrokerId: string; Region: string; @@ -422,14 +318,7 @@ export interface DataReplicationMetadataOutput { DataReplicationRole: string; } export type DataReplicationMode = "NONE" | "CRDR"; -export type DayOfWeek = - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY" - | "SUNDAY"; +export type DayOfWeek = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"; export interface DeleteBrokerRequest { BrokerId: string; } @@ -450,11 +339,9 @@ export interface DeleteUserRequest { BrokerId: string; Username: string; } -export interface DeleteUserResponse {} -export type DeploymentMode = - | "SINGLE_INSTANCE" - | "ACTIVE_STANDBY_MULTI_AZ" - | "CLUSTER_MULTI_AZ"; +export interface DeleteUserResponse { +} +export type DeploymentMode = "SINGLE_INSTANCE" | "ACTIVE_STANDBY_MULTI_AZ" | "CLUSTER_MULTI_AZ"; export interface DescribeBrokerEngineTypesRequest { EngineType?: string; MaxResults?: number; @@ -676,16 +563,14 @@ export interface PromoteResponse { export interface RebootBrokerRequest { BrokerId: string; } -export interface RebootBrokerResponse {} +export interface RebootBrokerResponse { +} export interface SanitizationWarning { AttributeName?: string; ElementName?: string; Reason: SanitizationWarningReason; } -export type SanitizationWarningReason = - | "DISALLOWED_ELEMENT_REMOVED" - | "DISALLOWED_ATTRIBUTE_REMOVED" - | "INVALID_ATTRIBUTE_VALUE_REMOVED"; +export type SanitizationWarningReason = "DISALLOWED_ELEMENT_REMOVED" | "DISALLOWED_ATTRIBUTE_REMOVED" | "INVALID_ATTRIBUTE_VALUE_REMOVED"; export declare class UnauthorizedException extends EffectData.TaggedError( "UnauthorizedException", )<{ @@ -742,7 +627,8 @@ export interface UpdateUserRequest { Username: string; ReplicationUser?: boolean; } -export interface UpdateUserResponse {} +export interface UpdateUserResponse { +} export interface User { ConsoleAccess?: boolean; Groups?: Array; @@ -1030,11 +916,5 @@ export declare namespace UpdateUser { | CommonAwsError; } -export type mqErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | UnauthorizedException - | CommonAwsError; +export type mqErrors = BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/mturk/index.ts b/src/services/mturk/index.ts index 0e65b57f..074eb8ab 100644 --- a/src/services/mturk/index.ts +++ b/src/services/mturk/index.ts @@ -5,26 +5,7 @@ import type { MTurk as _MTurkClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/mturk/types.ts b/src/services/mturk/types.ts index 1da84e7e..2dfeb8ac 100644 --- a/src/services/mturk/types.ts +++ b/src/services/mturk/types.ts @@ -245,13 +245,15 @@ export interface AcceptQualificationRequestRequest { QualificationRequestId: string; IntegerValue?: number; } -export interface AcceptQualificationRequestResponse {} +export interface AcceptQualificationRequestResponse { +} export interface ApproveAssignmentRequest { AssignmentId: string; RequesterFeedback?: string; OverrideRejection?: boolean; } -export interface ApproveAssignmentResponse {} +export interface ApproveAssignmentResponse { +} export interface Assignment { AssignmentId?: string; WorkerId?: string; @@ -275,7 +277,8 @@ export interface AssociateQualificationWithWorkerRequest { IntegerValue?: number; SendNotification?: boolean; } -export interface AssociateQualificationWithWorkerResponse {} +export interface AssociateQualificationWithWorkerResponse { +} export interface BonusPayment { WorkerId?: string; BonusAmount?: string; @@ -286,17 +289,7 @@ export interface BonusPayment { export type BonusPaymentList = Array; export type MturkBoolean = boolean; -export type Comparator = - | "LessThan" - | "LessThanOrEqualTo" - | "GreaterThan" - | "GreaterThanOrEqualTo" - | "EqualTo" - | "NotEqualTo" - | "Exists" - | "DoesNotExist" - | "In" - | "NotIn"; +export type Comparator = "LessThan" | "LessThanOrEqualTo" | "GreaterThan" | "GreaterThanOrEqualTo" | "EqualTo" | "NotEqualTo" | "Exists" | "DoesNotExist" | "In" | "NotIn"; export type CountryParameters = string; export interface CreateAdditionalAssignmentsForHITRequest { @@ -304,7 +297,8 @@ export interface CreateAdditionalAssignmentsForHITRequest { NumberOfAdditionalAssignments: number; UniqueRequestToken?: string; } -export interface CreateAdditionalAssignmentsForHITResponse {} +export interface CreateAdditionalAssignmentsForHITResponse { +} export interface CreateHITRequest { MaxAssignments?: number; AutoApprovalDelayInSeconds?: number; @@ -372,7 +366,8 @@ export interface CreateWorkerBlockRequest { WorkerId: string; Reason: string; } -export interface CreateWorkerBlockResponse {} +export interface CreateWorkerBlockResponse { +} export type CurrencyAmount = string; export type CustomerId = string; @@ -381,41 +376,34 @@ export type CustomerIdList = Array; export interface DeleteHITRequest { HITId: string; } -export interface DeleteHITResponse {} +export interface DeleteHITResponse { +} export interface DeleteQualificationTypeRequest { QualificationTypeId: string; } -export interface DeleteQualificationTypeResponse {} +export interface DeleteQualificationTypeResponse { +} export interface DeleteWorkerBlockRequest { WorkerId: string; Reason?: string; } -export interface DeleteWorkerBlockResponse {} +export interface DeleteWorkerBlockResponse { +} export interface DisassociateQualificationFromWorkerRequest { WorkerId: string; QualificationTypeId: string; Reason?: string; } -export interface DisassociateQualificationFromWorkerResponse {} +export interface DisassociateQualificationFromWorkerResponse { +} export type EntityId = string; -export type EventType = - | "AssignmentAccepted" - | "AssignmentAbandoned" - | "AssignmentReturned" - | "AssignmentSubmitted" - | "AssignmentRejected" - | "AssignmentApproved" - | "HITCreated" - | "HITExpired" - | "HITReviewable" - | "HITExtended" - | "HITDisposed" - | "Ping"; +export type EventType = "AssignmentAccepted" | "AssignmentAbandoned" | "AssignmentReturned" | "AssignmentSubmitted" | "AssignmentRejected" | "AssignmentApproved" | "HITCreated" | "HITExpired" | "HITReviewable" | "HITExtended" | "HITDisposed" | "Ping"; export type EventTypeList = Array; export type ExceptionMessage = string; -export interface GetAccountBalanceRequest {} +export interface GetAccountBalanceRequest { +} export interface GetAccountBalanceResponse { AvailableBalance?: string; OnHoldBalance?: string; @@ -476,27 +464,15 @@ export interface HIT { NumberOfAssignmentsAvailable?: number; NumberOfAssignmentsCompleted?: number; } -export type HITAccessActions = - | "Accept" - | "PreviewAndAccept" - | "DiscoverPreviewAndAccept"; +export type HITAccessActions = "Accept" | "PreviewAndAccept" | "DiscoverPreviewAndAccept"; export interface HITLayoutParameter { Name: string; Value: string; } export type HITLayoutParameterList = Array; export type HITList = Array; -export type HITReviewStatus = - | "NotReviewed" - | "MarkedForReview" - | "ReviewedAppropriate" - | "ReviewedInappropriate"; -export type HITStatus = - | "Assignable" - | "Unassignable" - | "Reviewable" - | "Reviewing" - | "Disposed"; +export type HITReviewStatus = "NotReviewed" | "MarkedForReview" | "ReviewedAppropriate" | "ReviewedInappropriate"; +export type HITStatus = "Assignable" | "Unassignable" | "Reviewable" | "Reviewing" | "Disposed"; export type IdempotencyToken = string; export type Integer = number; @@ -703,12 +679,14 @@ export interface RejectAssignmentRequest { AssignmentId: string; RequesterFeedback: string; } -export interface RejectAssignmentResponse {} +export interface RejectAssignmentResponse { +} export interface RejectQualificationRequestRequest { QualificationRequestId: string; Reason?: string; } -export interface RejectQualificationRequestResponse {} +export interface RejectQualificationRequestResponse { +} export declare class RequestError extends EffectData.TaggedError( "RequestError", )<{ @@ -729,11 +707,7 @@ export interface ReviewActionDetail { ErrorCode?: string; } export type ReviewActionDetailList = Array; -export type ReviewActionStatus = - | "Intended" - | "Succeeded" - | "Failed" - | "Cancelled"; +export type ReviewActionStatus = "Intended" | "Succeeded" | "Failed" | "Cancelled"; export interface ReviewPolicy { PolicyName: string; Parameters?: Array; @@ -760,12 +734,14 @@ export interface SendBonusRequest { Reason: string; UniqueRequestToken?: string; } -export interface SendBonusResponse {} +export interface SendBonusResponse { +} export interface SendTestEventNotificationRequest { Notification: NotificationSpecification; TestEventType: EventType; } -export interface SendTestEventNotificationResponse {} +export interface SendTestEventNotificationResponse { +} export declare class ServiceFault extends EffectData.TaggedError( "ServiceFault", )<{ @@ -783,23 +759,27 @@ export interface UpdateExpirationForHITRequest { HITId: string; ExpireAt: Date | string; } -export interface UpdateExpirationForHITResponse {} +export interface UpdateExpirationForHITResponse { +} export interface UpdateHITReviewStatusRequest { HITId: string; Revert?: boolean; } -export interface UpdateHITReviewStatusResponse {} +export interface UpdateHITReviewStatusResponse { +} export interface UpdateHITTypeOfHITRequest { HITId: string; HITTypeId: string; } -export interface UpdateHITTypeOfHITResponse {} +export interface UpdateHITTypeOfHITResponse { +} export interface UpdateNotificationSettingsRequest { HITTypeId: string; Notification?: NotificationSpecification; Active?: boolean; } -export interface UpdateNotificationSettingsResponse {} +export interface UpdateNotificationSettingsResponse { +} export interface UpdateQualificationTypeRequest { QualificationTypeId: string; Description?: string; @@ -822,235 +802,353 @@ export type WorkerBlockList = Array; export declare namespace AcceptQualificationRequest { export type Input = AcceptQualificationRequestRequest; export type Output = AcceptQualificationRequestResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ApproveAssignment { export type Input = ApproveAssignmentRequest; export type Output = ApproveAssignmentResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace AssociateQualificationWithWorker { export type Input = AssociateQualificationWithWorkerRequest; export type Output = AssociateQualificationWithWorkerResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace CreateAdditionalAssignmentsForHIT { export type Input = CreateAdditionalAssignmentsForHITRequest; export type Output = CreateAdditionalAssignmentsForHITResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace CreateHIT { export type Input = CreateHITRequest; export type Output = CreateHITResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace CreateHITType { export type Input = CreateHITTypeRequest; export type Output = CreateHITTypeResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace CreateHITWithHITType { export type Input = CreateHITWithHITTypeRequest; export type Output = CreateHITWithHITTypeResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace CreateQualificationType { export type Input = CreateQualificationTypeRequest; export type Output = CreateQualificationTypeResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace CreateWorkerBlock { export type Input = CreateWorkerBlockRequest; export type Output = CreateWorkerBlockResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace DeleteHIT { export type Input = DeleteHITRequest; export type Output = DeleteHITResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace DeleteQualificationType { export type Input = DeleteQualificationTypeRequest; export type Output = DeleteQualificationTypeResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace DeleteWorkerBlock { export type Input = DeleteWorkerBlockRequest; export type Output = DeleteWorkerBlockResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace DisassociateQualificationFromWorker { export type Input = DisassociateQualificationFromWorkerRequest; export type Output = DisassociateQualificationFromWorkerResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace GetAccountBalance { export type Input = GetAccountBalanceRequest; export type Output = GetAccountBalanceResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace GetAssignment { export type Input = GetAssignmentRequest; export type Output = GetAssignmentResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace GetFileUploadURL { export type Input = GetFileUploadURLRequest; export type Output = GetFileUploadURLResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace GetHIT { export type Input = GetHITRequest; export type Output = GetHITResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace GetQualificationScore { export type Input = GetQualificationScoreRequest; export type Output = GetQualificationScoreResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace GetQualificationType { export type Input = GetQualificationTypeRequest; export type Output = GetQualificationTypeResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListAssignmentsForHIT { export type Input = ListAssignmentsForHITRequest; export type Output = ListAssignmentsForHITResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListBonusPayments { export type Input = ListBonusPaymentsRequest; export type Output = ListBonusPaymentsResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListHITs { export type Input = ListHITsRequest; export type Output = ListHITsResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListHITsForQualificationType { export type Input = ListHITsForQualificationTypeRequest; export type Output = ListHITsForQualificationTypeResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListQualificationRequests { export type Input = ListQualificationRequestsRequest; export type Output = ListQualificationRequestsResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListQualificationTypes { export type Input = ListQualificationTypesRequest; export type Output = ListQualificationTypesResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListReviewableHITs { export type Input = ListReviewableHITsRequest; export type Output = ListReviewableHITsResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListReviewPolicyResultsForHIT { export type Input = ListReviewPolicyResultsForHITRequest; export type Output = ListReviewPolicyResultsForHITResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListWorkerBlocks { export type Input = ListWorkerBlocksRequest; export type Output = ListWorkerBlocksResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace ListWorkersWithQualificationType { export type Input = ListWorkersWithQualificationTypeRequest; export type Output = ListWorkersWithQualificationTypeResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace NotifyWorkers { export type Input = NotifyWorkersRequest; export type Output = NotifyWorkersResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace RejectAssignment { export type Input = RejectAssignmentRequest; export type Output = RejectAssignmentResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace RejectQualificationRequest { export type Input = RejectQualificationRequestRequest; export type Output = RejectQualificationRequestResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace SendBonus { export type Input = SendBonusRequest; export type Output = SendBonusResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace SendTestEventNotification { export type Input = SendTestEventNotificationRequest; export type Output = SendTestEventNotificationResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace UpdateExpirationForHIT { export type Input = UpdateExpirationForHITRequest; export type Output = UpdateExpirationForHITResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace UpdateHITReviewStatus { export type Input = UpdateHITReviewStatusRequest; export type Output = UpdateHITReviewStatusResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace UpdateHITTypeOfHIT { export type Input = UpdateHITTypeOfHITRequest; export type Output = UpdateHITTypeOfHITResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace UpdateNotificationSettings { export type Input = UpdateNotificationSettingsRequest; export type Output = UpdateNotificationSettingsResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export declare namespace UpdateQualificationType { export type Input = UpdateQualificationTypeRequest; export type Output = UpdateQualificationTypeResponse; - export type Error = RequestError | ServiceFault | CommonAwsError; + export type Error = + | RequestError + | ServiceFault + | CommonAwsError; } export type MTurkErrors = RequestError | ServiceFault | CommonAwsError; + diff --git a/src/services/mwaa/index.ts b/src/services/mwaa/index.ts index 3490dca4..176f7535 100644 --- a/src/services/mwaa/index.ts +++ b/src/services/mwaa/index.ts @@ -5,24 +5,7 @@ import type { MWAA as _MWAAClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,18 +14,18 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "airflow", operations: { - CreateCliToken: "POST /clitoken/{Name}", - CreateEnvironment: "PUT /environments/{Name}", - CreateWebLoginToken: "POST /webtoken/{Name}", - DeleteEnvironment: "DELETE /environments/{Name}", - GetEnvironment: "GET /environments/{Name}", - InvokeRestApi: "POST /restapi/{Name}", - ListEnvironments: "GET /environments", - ListTagsForResource: "GET /tags/{ResourceArn}", - PublishMetrics: "POST /metrics/environments/{EnvironmentName}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateEnvironment: "PATCH /environments/{Name}", + "CreateCliToken": "POST /clitoken/{Name}", + "CreateEnvironment": "PUT /environments/{Name}", + "CreateWebLoginToken": "POST /webtoken/{Name}", + "DeleteEnvironment": "DELETE /environments/{Name}", + "GetEnvironment": "GET /environments/{Name}", + "InvokeRestApi": "POST /restapi/{Name}", + "ListEnvironments": "GET /environments", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "PublishMetrics": "POST /metrics/environments/{EnvironmentName}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateEnvironment": "PATCH /environments/{Name}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/mwaa/types.ts b/src/services/mwaa/types.ts index 09deb63a..17c5a2e5 100644 --- a/src/services/mwaa/types.ts +++ b/src/services/mwaa/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class MWAA extends AWSServiceClient { @@ -53,41 +20,25 @@ export declare class MWAA extends AWSServiceClient { input: CreateWebLoginTokenRequest, ): Effect.Effect< CreateWebLoginTokenResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteEnvironment( input: DeleteEnvironmentInput, ): Effect.Effect< DeleteEnvironmentOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getEnvironment( input: GetEnvironmentInput, ): Effect.Effect< GetEnvironmentOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; invokeRestApi( input: InvokeRestApiRequest, ): Effect.Effect< InvokeRestApiResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | RestApiClientException - | RestApiServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | RestApiClientException | RestApiServerException | ValidationException | CommonAwsError >; listEnvironments( input: ListEnvironmentsInput, @@ -99,10 +50,7 @@ export declare class MWAA extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; publishMetrics( input: PublishMetricsInput, @@ -114,28 +62,19 @@ export declare class MWAA extends AWSServiceClient { input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateEnvironment( input: UpdateEnvironmentInput, ): Effect.Effect< UpdateEnvironmentOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -210,7 +149,8 @@ export interface CreateWebLoginTokenResponse { export interface DeleteEnvironmentInput { Name: string; } -export interface DeleteEnvironmentOutput {} +export interface DeleteEnvironmentOutput { +} export interface Dimension { Name: string; Value: string; @@ -372,7 +312,8 @@ export interface PublishMetricsInput { EnvironmentName: string; MetricData: Array; } -export interface PublishMetricsOutput {} +export interface PublishMetricsOutput { +} export type RelativePath = string; export declare class ResourceNotFoundException extends EffectData.TaggedError( @@ -426,7 +367,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type Token = string; @@ -437,7 +379,8 @@ export interface UntagResourceInput { ResourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export type UpdateCreatedAt = Date | string; export interface UpdateEnvironmentInput { @@ -497,7 +440,9 @@ export type WorkerReplacementStrategy = string; export declare namespace CreateCliToken { export type Input = CreateCliTokenRequest; export type Output = CreateCliTokenResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace CreateEnvironment { @@ -611,11 +556,5 @@ export declare namespace UpdateEnvironment { | CommonAwsError; } -export type MWAAErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | RestApiClientException - | RestApiServerException - | ValidationException - | CommonAwsError; +export type MWAAErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | RestApiClientException | RestApiServerException | ValidationException | CommonAwsError; + diff --git a/src/services/neptune-graph/index.ts b/src/services/neptune-graph/index.ts index 87b1f3ef..57972a13 100644 --- a/src/services/neptune-graph/index.ts +++ b/src/services/neptune-graph/index.ts @@ -5,23 +5,7 @@ import type { NeptuneGraph as _NeptuneGraphClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,46 +14,49 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "neptune-graph", operations: { - CancelQuery: "DELETE /queries/{queryId}", - ExecuteQuery: { + "CancelQuery": "DELETE /queries/{queryId}", + "ExecuteQuery": { http: "POST /queries", traits: { - payload: "httpPayload", + "payload": "httpPayload", }, }, - GetGraphSummary: "GET /summary", - GetQuery: "GET /queries/{queryId}", - ListQueries: "GET /queries", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CancelExportTask: "DELETE /exporttasks/{taskIdentifier}", - CancelImportTask: "DELETE /importtasks/{taskIdentifier}", - CreateGraph: "POST /graphs", - CreateGraphSnapshot: "POST /snapshots", - CreateGraphUsingImportTask: "POST /importtasks", - CreatePrivateGraphEndpoint: "POST /graphs/{graphIdentifier}/endpoints/", - DeleteGraph: "DELETE /graphs/{graphIdentifier}", - DeleteGraphSnapshot: "DELETE /snapshots/{snapshotIdentifier}", - DeletePrivateGraphEndpoint: - "DELETE /graphs/{graphIdentifier}/endpoints/{vpcId}", - GetExportTask: "GET /exporttasks/{taskIdentifier}", - GetGraph: "GET /graphs/{graphIdentifier}", - GetGraphSnapshot: "GET /snapshots/{snapshotIdentifier}", - GetImportTask: "GET /importtasks/{taskIdentifier}", - GetPrivateGraphEndpoint: "GET /graphs/{graphIdentifier}/endpoints/{vpcId}", - ListExportTasks: "GET /exporttasks", - ListGraphSnapshots: "GET /snapshots", - ListGraphs: "GET /graphs", - ListImportTasks: "GET /importtasks", - ListPrivateGraphEndpoints: "GET /graphs/{graphIdentifier}/endpoints/", - ResetGraph: "PUT /graphs/{graphIdentifier}", - RestoreGraphFromSnapshot: "POST /snapshots/{snapshotIdentifier}/restore", - StartExportTask: "POST /exporttasks", - StartGraph: "POST /graphs/{graphIdentifier}/start", - StartImportTask: "POST /graphs/{graphIdentifier}/importtasks", - StopGraph: "POST /graphs/{graphIdentifier}/stop", - UpdateGraph: "PATCH /graphs/{graphIdentifier}", + "GetGraphSummary": "GET /summary", + "GetQuery": "GET /queries/{queryId}", + "ListQueries": "GET /queries", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CancelExportTask": "DELETE /exporttasks/{taskIdentifier}", + "CancelImportTask": "DELETE /importtasks/{taskIdentifier}", + "CreateGraph": "POST /graphs", + "CreateGraphSnapshot": "POST /snapshots", + "CreateGraphUsingImportTask": "POST /importtasks", + "CreatePrivateGraphEndpoint": "POST /graphs/{graphIdentifier}/endpoints/", + "DeleteGraph": "DELETE /graphs/{graphIdentifier}", + "DeleteGraphSnapshot": "DELETE /snapshots/{snapshotIdentifier}", + "DeletePrivateGraphEndpoint": "DELETE /graphs/{graphIdentifier}/endpoints/{vpcId}", + "GetExportTask": "GET /exporttasks/{taskIdentifier}", + "GetGraph": "GET /graphs/{graphIdentifier}", + "GetGraphSnapshot": "GET /snapshots/{snapshotIdentifier}", + "GetImportTask": "GET /importtasks/{taskIdentifier}", + "GetPrivateGraphEndpoint": "GET /graphs/{graphIdentifier}/endpoints/{vpcId}", + "ListExportTasks": "GET /exporttasks", + "ListGraphSnapshots": "GET /snapshots", + "ListGraphs": "GET /graphs", + "ListImportTasks": "GET /importtasks", + "ListPrivateGraphEndpoints": "GET /graphs/{graphIdentifier}/endpoints/", + "ResetGraph": "PUT /graphs/{graphIdentifier}", + "RestoreGraphFromSnapshot": "POST /snapshots/{snapshotIdentifier}/restore", + "StartExportTask": "POST /exporttasks", + "StartGraph": "POST /graphs/{graphIdentifier}/start", + "StartImportTask": "POST /graphs/{graphIdentifier}/importtasks", + "StopGraph": "POST /graphs/{graphIdentifier}/stop", + "UpdateGraph": "PATCH /graphs/{graphIdentifier}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/neptune-graph/types.ts b/src/services/neptune-graph/types.ts index 441ef95c..49a37f07 100644 --- a/src/services/neptune-graph/types.ts +++ b/src/services/neptune-graph/types.ts @@ -1,39 +1,7 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class NeptuneGraph extends AWSServiceClient { @@ -41,364 +9,205 @@ export declare class NeptuneGraph extends AWSServiceClient { input: CancelQueryInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; executeQuery( input: ExecuteQueryInput, ): Effect.Effect< ExecuteQueryOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | UnprocessableException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | UnprocessableException | ValidationException | CommonAwsError >; getGraphSummary( input: GetGraphSummaryInput, ): Effect.Effect< GetGraphSummaryOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getQuery( input: GetQueryInput, ): Effect.Effect< GetQueryOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listQueries( input: ListQueriesInput, ): Effect.Effect< ListQueriesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelExportTask( input: CancelExportTaskInput, ): Effect.Effect< CancelExportTaskOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelImportTask( input: CancelImportTaskInput, ): Effect.Effect< CancelImportTaskOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createGraph( input: CreateGraphInput, ): Effect.Effect< CreateGraphOutput, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createGraphSnapshot( input: CreateGraphSnapshotInput, ): Effect.Effect< CreateGraphSnapshotOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createGraphUsingImportTask( input: CreateGraphUsingImportTaskInput, ): Effect.Effect< CreateGraphUsingImportTaskOutput, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPrivateGraphEndpoint( input: CreatePrivateGraphEndpointInput, ): Effect.Effect< CreatePrivateGraphEndpointOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteGraph( input: DeleteGraphInput, ): Effect.Effect< DeleteGraphOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteGraphSnapshot( input: DeleteGraphSnapshotInput, ): Effect.Effect< DeleteGraphSnapshotOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePrivateGraphEndpoint( input: DeletePrivateGraphEndpointInput, ): Effect.Effect< DeletePrivateGraphEndpointOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getExportTask( input: GetExportTaskInput, ): Effect.Effect< GetExportTaskOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGraph( input: GetGraphInput, ): Effect.Effect< GetGraphOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGraphSnapshot( input: GetGraphSnapshotInput, ): Effect.Effect< GetGraphSnapshotOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getImportTask( input: GetImportTaskInput, ): Effect.Effect< GetImportTaskOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPrivateGraphEndpoint( input: GetPrivateGraphEndpointInput, ): Effect.Effect< GetPrivateGraphEndpointOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listExportTasks( input: ListExportTasksInput, ): Effect.Effect< ListExportTasksOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listGraphSnapshots( input: ListGraphSnapshotsInput, ): Effect.Effect< ListGraphSnapshotsOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listGraphs( input: ListGraphsInput, ): Effect.Effect< ListGraphsOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listImportTasks( input: ListImportTasksInput, ): Effect.Effect< ListImportTasksOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPrivateGraphEndpoints( input: ListPrivateGraphEndpointsInput, ): Effect.Effect< ListPrivateGraphEndpointsOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resetGraph( input: ResetGraphInput, ): Effect.Effect< ResetGraphOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; restoreGraphFromSnapshot( input: RestoreGraphFromSnapshotInput, ): Effect.Effect< RestoreGraphFromSnapshotOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startExportTask( input: StartExportTaskInput, ): Effect.Effect< StartExportTaskOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startGraph( input: StartGraphInput, ): Effect.Effect< StartGraphOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startImportTask( input: StartImportTaskInput, ): Effect.Effect< StartImportTaskOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopGraph( input: StopGraphInput, ): Effect.Effect< StopGraphOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateGraph( input: UpdateGraphInput, ): Effect.Effect< UpdateGraphOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -611,10 +420,7 @@ export interface ExportFilterPropertyAttributes { sourcePropertyName?: string; multiValueHandling?: MultiValueHandlingType; } -export type ExportFilterPropertyMap = Record< - string, - ExportFilterPropertyAttributes ->; +export type ExportFilterPropertyMap = Record; export type ExportFilterSourcePropertyName = string; export type ExportFormat = "PARQUET" | "CSV"; @@ -627,14 +433,7 @@ export interface ExportTaskDetails { } export type ExportTaskId = string; -export type ExportTaskStatus = - | "INITIALIZING" - | "EXPORTING" - | "SUCCEEDED" - | "FAILED" - | "CANCELLING" - | "CANCELLED" - | "DELETED"; +export type ExportTaskStatus = "INITIALIZING" | "EXPORTING" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED"; export interface ExportTaskSummary { graphId: string; roleArn: string; @@ -774,18 +573,7 @@ export interface GraphSnapshotSummary { kmsKeyIdentifier?: string; } export type GraphSnapshotSummaryList = Array; -export type GraphStatus = - | "CREATING" - | "AVAILABLE" - | "DELETING" - | "RESETTING" - | "UPDATING" - | "SNAPSHOTTING" - | "FAILED" - | "IMPORTING" - | "STARTING" - | "STOPPING" - | "STOPPED"; +export type GraphStatus = "CREATING" | "AVAILABLE" | "DELETING" | "RESETTING" | "UPDATING" | "SNAPSHOTTING" | "FAILED" | "IMPORTING" | "STARTING" | "STOPPING" | "STOPPED"; export interface GraphSummary { id: string; name: string; @@ -804,7 +592,7 @@ interface _ImportOptions { neptune?: NeptuneImportOptions; } -export type ImportOptions = _ImportOptions & { neptune: NeptuneImportOptions }; +export type ImportOptions = (_ImportOptions & { neptune: NeptuneImportOptions }); export interface ImportTaskDetails { status: string; startTime: Date | string; @@ -815,18 +603,7 @@ export interface ImportTaskDetails { statementCount: number; dictionaryEntryCount: number; } -export type ImportTaskStatus = - | "INITIALIZING" - | "EXPORTING" - | "ANALYZING_DATA" - | "IMPORTING" - | "REPROVISIONING" - | "ROLLING_BACK" - | "SUCCEEDED" - | "FAILED" - | "CANCELLING" - | "CANCELLED" - | "DELETED"; +export type ImportTaskStatus = "INITIALIZING" | "EXPORTING" | "ANALYZING_DATA" | "IMPORTING" | "REPROVISIONING" | "ROLLING_BACK" | "SUCCEEDED" | "FAILED" | "CANCELLING" | "CANCELLED" | "DELETED"; export interface ImportTaskSummary { graphId?: string; taskId: string; @@ -925,19 +702,14 @@ export type PaginationToken = string; export type ParquetType = "COLUMNAR"; export type PlanCacheType = "ENABLED" | "DISABLED" | "AUTO"; -export type PrivateGraphEndpointStatus = - | "CREATING" - | "AVAILABLE" - | "DELETING" - | "FAILED"; +export type PrivateGraphEndpointStatus = "CREATING" | "AVAILABLE" | "DELETING" | "FAILED"; export interface PrivateGraphEndpointSummary { vpcId: string; subnetIds: Array; status: PrivateGraphEndpointStatus; vpcEndpointId?: string; } -export type PrivateGraphEndpointSummaryList = - Array; +export type PrivateGraphEndpointSummaryList = Array; export type ProvisionedMemory = number; export type QueryLanguage = "OPEN_CYPHER"; @@ -1121,7 +893,8 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type TaskId = string; @@ -1137,17 +910,13 @@ export declare class UnprocessableException extends EffectData.TaggedError( readonly message: string; readonly reason: UnprocessableExceptionReason; }> {} -export type UnprocessableExceptionReason = - | "QUERY_TIMEOUT" - | "INTERNAL_LIMIT_EXCEEDED" - | "MEMORY_LIMIT_EXCEEDED" - | "STORAGE_LIMIT_EXCEEDED" - | "PARTITION_FULL"; +export type UnprocessableExceptionReason = "QUERY_TIMEOUT" | "INTERNAL_LIMIT_EXCEEDED" | "MEMORY_LIMIT_EXCEEDED" | "STORAGE_LIMIT_EXCEEDED" | "PARTITION_FULL"; export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateGraphInput { graphIdentifier: string; publicConnectivity?: boolean; @@ -1177,14 +946,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly message: string; readonly reason?: ValidationExceptionReason; }> {} -export type ValidationExceptionReason = - | "CONSTRAINT_VIOLATION" - | "ILLEGAL_ARGUMENT" - | "MALFORMED_QUERY" - | "QUERY_CANCELLED" - | "QUERY_TOO_LARGE" - | "UNSUPPORTED_OPERATION" - | "BAD_REQUEST"; +export type ValidationExceptionReason = "CONSTRAINT_VIOLATION" | "ILLEGAL_ARGUMENT" | "MALFORMED_QUERY" | "QUERY_CANCELLED" | "QUERY_TOO_LARGE" | "UNSUPPORTED_OPERATION" | "BAD_REQUEST"; export interface VectorSearchConfiguration { dimension: number; } @@ -1591,13 +1353,5 @@ export declare namespace UpdateGraph { | CommonAwsError; } -export type NeptuneGraphErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnprocessableException - | ValidationException - | CommonAwsError; +export type NeptuneGraphErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnprocessableException | ValidationException | CommonAwsError; + diff --git a/src/services/neptune/index.ts b/src/services/neptune/index.ts index 7778026c..b6c4b792 100644 --- a/src/services/neptune/index.ts +++ b/src/services/neptune/index.ts @@ -6,26 +6,7 @@ import type { Neptune as _NeptuneClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const Neptune = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _NeptuneClient; diff --git a/src/services/neptune/types.ts b/src/services/neptune/types.ts index 12688846..f672ba43 100644 --- a/src/services/neptune/types.ts +++ b/src/services/neptune/types.ts @@ -7,11 +7,7 @@ export declare class Neptune extends AWSServiceClient { input: AddRoleToDBClusterMessage, ): Effect.Effect< {}, - | DBClusterNotFoundFault - | DBClusterRoleAlreadyExistsFault - | DBClusterRoleQuotaExceededFault - | InvalidDBClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterRoleAlreadyExistsFault | DBClusterRoleQuotaExceededFault | InvalidDBClusterStateFault | CommonAwsError >; addSourceIdentifierToSubscription( input: AddSourceIdentifierToSubscriptionMessage, @@ -23,10 +19,7 @@ export declare class Neptune extends AWSServiceClient { input: AddTagsToResourceMessage, ): Effect.Effect< {}, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBSnapshotNotFoundFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | DBSnapshotNotFoundFault | CommonAwsError >; applyPendingMaintenanceAction( input: ApplyPendingMaintenanceActionMessage, @@ -38,223 +31,121 @@ export declare class Neptune extends AWSServiceClient { input: CopyDBClusterParameterGroupMessage, ): Effect.Effect< CopyDBClusterParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupNotFoundFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; copyDBClusterSnapshot( input: CopyDBClusterSnapshotMessage, ): Effect.Effect< CopyDBClusterSnapshotResult, - | DBClusterSnapshotAlreadyExistsFault - | DBClusterSnapshotNotFoundFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | KMSKeyNotAccessibleFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBClusterSnapshotAlreadyExistsFault | DBClusterSnapshotNotFoundFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | KMSKeyNotAccessibleFault | SnapshotQuotaExceededFault | CommonAwsError >; copyDBParameterGroup( input: CopyDBParameterGroupMessage, ): Effect.Effect< CopyDBParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupNotFoundFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; createDBCluster( input: CreateDBClusterMessage, ): Effect.Effect< CreateDBClusterResult, - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBInstanceNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | GlobalClusterNotFoundFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBSubnetGroupStateFault - | InvalidGlobalClusterStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | StorageQuotaExceededFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBInstanceNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | GlobalClusterNotFoundFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBSubnetGroupStateFault | InvalidGlobalClusterStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | StorageQuotaExceededFault | CommonAwsError >; createDBClusterEndpoint( input: CreateDBClusterEndpointMessage, ): Effect.Effect< CreateDBClusterEndpointOutput, - | DBClusterEndpointAlreadyExistsFault - | DBClusterEndpointQuotaExceededFault - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterEndpointAlreadyExistsFault | DBClusterEndpointQuotaExceededFault | DBClusterNotFoundFault | DBInstanceNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; createDBClusterParameterGroup( input: CreateDBClusterParameterGroupMessage, ): Effect.Effect< CreateDBClusterParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; createDBClusterSnapshot( input: CreateDBClusterSnapshotMessage, ): Effect.Effect< CreateDBClusterSnapshotResult, - | DBClusterNotFoundFault - | DBClusterSnapshotAlreadyExistsFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterSnapshotAlreadyExistsFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | SnapshotQuotaExceededFault | CommonAwsError >; createDBInstance( input: CreateDBInstanceMessage, ): Effect.Effect< CreateDBInstanceResult, - | AuthorizationNotFoundFault - | DBClusterNotFoundFault - | DBInstanceAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | InstanceQuotaExceededFault - | InsufficientDBInstanceCapacityFault - | InvalidDBClusterStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | OptionGroupNotFoundFault - | ProvisionedIopsNotAvailableInAZFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError + AuthorizationNotFoundFault | DBClusterNotFoundFault | DBInstanceAlreadyExistsFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DomainNotFoundFault | InstanceQuotaExceededFault | InsufficientDBInstanceCapacityFault | InvalidDBClusterStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | OptionGroupNotFoundFault | ProvisionedIopsNotAvailableInAZFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError >; createDBParameterGroup( input: CreateDBParameterGroupMessage, ): Effect.Effect< CreateDBParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; createDBSubnetGroup( input: CreateDBSubnetGroupMessage, ): Effect.Effect< CreateDBSubnetGroupResult, - | DBSubnetGroupAlreadyExistsFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupQuotaExceededFault - | DBSubnetQuotaExceededFault - | InvalidSubnet - | CommonAwsError + DBSubnetGroupAlreadyExistsFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupQuotaExceededFault | DBSubnetQuotaExceededFault | InvalidSubnet | CommonAwsError >; createEventSubscription( input: CreateEventSubscriptionMessage, ): Effect.Effect< CreateEventSubscriptionResult, - | EventSubscriptionQuotaExceededFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SourceNotFoundFault - | SubscriptionAlreadyExistFault - | SubscriptionCategoryNotFoundFault - | CommonAwsError + EventSubscriptionQuotaExceededFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SourceNotFoundFault | SubscriptionAlreadyExistFault | SubscriptionCategoryNotFoundFault | CommonAwsError >; createGlobalCluster( input: CreateGlobalClusterMessage, ): Effect.Effect< CreateGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterAlreadyExistsFault - | GlobalClusterQuotaExceededFault - | InvalidDBClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterAlreadyExistsFault | GlobalClusterQuotaExceededFault | InvalidDBClusterStateFault | CommonAwsError >; deleteDBCluster( input: DeleteDBClusterMessage, ): Effect.Effect< DeleteDBClusterResult, - | DBClusterNotFoundFault - | DBClusterSnapshotAlreadyExistsFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterSnapshotAlreadyExistsFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | SnapshotQuotaExceededFault | CommonAwsError >; deleteDBClusterEndpoint( input: DeleteDBClusterEndpointMessage, ): Effect.Effect< DeleteDBClusterEndpointOutput, - | DBClusterEndpointNotFoundFault - | InvalidDBClusterEndpointStateFault - | InvalidDBClusterStateFault - | CommonAwsError + DBClusterEndpointNotFoundFault | InvalidDBClusterEndpointStateFault | InvalidDBClusterStateFault | CommonAwsError >; deleteDBClusterParameterGroup( input: DeleteDBClusterParameterGroupMessage, ): Effect.Effect< {}, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; deleteDBClusterSnapshot( input: DeleteDBClusterSnapshotMessage, ): Effect.Effect< DeleteDBClusterSnapshotResult, - | DBClusterSnapshotNotFoundFault - | InvalidDBClusterSnapshotStateFault - | CommonAwsError + DBClusterSnapshotNotFoundFault | InvalidDBClusterSnapshotStateFault | CommonAwsError >; deleteDBInstance( input: DeleteDBInstanceMessage, ): Effect.Effect< DeleteDBInstanceResult, - | DBInstanceNotFoundFault - | DBSnapshotAlreadyExistsFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBInstanceNotFoundFault | DBSnapshotAlreadyExistsFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | SnapshotQuotaExceededFault | CommonAwsError >; deleteDBParameterGroup( input: DeleteDBParameterGroupMessage, ): Effect.Effect< {}, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; deleteDBSubnetGroup( input: DeleteDBSubnetGroupMessage, ): Effect.Effect< {}, - | DBSubnetGroupNotFoundFault - | InvalidDBSubnetGroupStateFault - | InvalidDBSubnetStateFault - | CommonAwsError + DBSubnetGroupNotFoundFault | InvalidDBSubnetGroupStateFault | InvalidDBSubnetStateFault | CommonAwsError >; deleteEventSubscription( input: DeleteEventSubscriptionMessage, ): Effect.Effect< DeleteEventSubscriptionResult, - | InvalidEventSubscriptionStateFault - | SubscriptionNotFoundFault - | CommonAwsError + InvalidEventSubscriptionStateFault | SubscriptionNotFoundFault | CommonAwsError >; deleteGlobalCluster( input: DeleteGlobalClusterMessage, @@ -282,7 +173,10 @@ export declare class Neptune extends AWSServiceClient { >; describeDBClusters( input: DescribeDBClustersMessage, - ): Effect.Effect; + ): Effect.Effect< + DBClusterMessage, + DBClusterNotFoundFault | CommonAwsError + >; describeDBClusterSnapshotAttributes( input: DescribeDBClusterSnapshotAttributesMessage, ): Effect.Effect< @@ -297,7 +191,10 @@ export declare class Neptune extends AWSServiceClient { >; describeDBEngineVersions( input: DescribeDBEngineVersionsMessage, - ): Effect.Effect; + ): Effect.Effect< + DBEngineVersionMessage, + CommonAwsError + >; describeDBInstances( input: DescribeDBInstancesMessage, ): Effect.Effect< @@ -330,13 +227,22 @@ export declare class Neptune extends AWSServiceClient { >; describeEngineDefaultParameters( input: DescribeEngineDefaultParametersMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeEngineDefaultParametersResult, + CommonAwsError + >; describeEventCategories( input: DescribeEventCategoriesMessage, - ): Effect.Effect; + ): Effect.Effect< + EventCategoriesMessage, + CommonAwsError + >; describeEvents( input: DescribeEventsMessage, - ): Effect.Effect; + ): Effect.Effect< + EventsMessage, + CommonAwsError + >; describeEventSubscriptions( input: DescribeEventSubscriptionsMessage, ): Effect.Effect< @@ -351,7 +257,10 @@ export declare class Neptune extends AWSServiceClient { >; describeOrderableDBInstanceOptions( input: DescribeOrderableDBInstanceOptionsMessage, - ): Effect.Effect; + ): Effect.Effect< + OrderableDBInstanceOptionsMessage, + CommonAwsError + >; describePendingMaintenanceActions( input: DescribePendingMaintenanceActionsMessage, ): Effect.Effect< @@ -368,128 +277,67 @@ export declare class Neptune extends AWSServiceClient { input: FailoverDBClusterMessage, ): Effect.Effect< FailoverDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; failoverGlobalCluster( input: FailoverGlobalClusterMessage, ): Effect.Effect< FailoverGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidGlobalClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterNotFoundFault | InvalidDBClusterStateFault | InvalidGlobalClusterStateFault | CommonAwsError >; listTagsForResource( input: ListTagsForResourceMessage, ): Effect.Effect< TagListMessage, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBSnapshotNotFoundFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | DBSnapshotNotFoundFault | CommonAwsError >; modifyDBCluster( input: ModifyDBClusterMessage, ): Effect.Effect< ModifyDBClusterResult, - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBSubnetGroupNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBSecurityGroupStateFault - | InvalidDBSubnetGroupStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBSubnetGroupNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBSecurityGroupStateFault | InvalidDBSubnetGroupStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError >; modifyDBClusterEndpoint( input: ModifyDBClusterEndpointMessage, ): Effect.Effect< ModifyDBClusterEndpointOutput, - | DBClusterEndpointNotFoundFault - | DBInstanceNotFoundFault - | InvalidDBClusterEndpointStateFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterEndpointNotFoundFault | DBInstanceNotFoundFault | InvalidDBClusterEndpointStateFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; modifyDBClusterParameterGroup( input: ModifyDBClusterParameterGroupMessage, ): Effect.Effect< DBClusterParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; modifyDBClusterSnapshotAttribute( input: ModifyDBClusterSnapshotAttributeMessage, ): Effect.Effect< ModifyDBClusterSnapshotAttributeResult, - | DBClusterSnapshotNotFoundFault - | InvalidDBClusterSnapshotStateFault - | SharedSnapshotQuotaExceededFault - | CommonAwsError + DBClusterSnapshotNotFoundFault | InvalidDBClusterSnapshotStateFault | SharedSnapshotQuotaExceededFault | CommonAwsError >; modifyDBInstance( input: ModifyDBInstanceMessage, ): Effect.Effect< ModifyDBInstanceResult, - | AuthorizationNotFoundFault - | CertificateNotFoundFault - | DBInstanceAlreadyExistsFault - | DBInstanceNotFoundFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBUpgradeDependencyFailureFault - | DomainNotFoundFault - | InsufficientDBInstanceCapacityFault - | InvalidDBInstanceStateFault - | InvalidDBSecurityGroupStateFault - | InvalidVPCNetworkStateFault - | OptionGroupNotFoundFault - | ProvisionedIopsNotAvailableInAZFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError + AuthorizationNotFoundFault | CertificateNotFoundFault | DBInstanceAlreadyExistsFault | DBInstanceNotFoundFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBUpgradeDependencyFailureFault | DomainNotFoundFault | InsufficientDBInstanceCapacityFault | InvalidDBInstanceStateFault | InvalidDBSecurityGroupStateFault | InvalidVPCNetworkStateFault | OptionGroupNotFoundFault | ProvisionedIopsNotAvailableInAZFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError >; modifyDBParameterGroup( input: ModifyDBParameterGroupMessage, ): Effect.Effect< DBParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; modifyDBSubnetGroup( input: ModifyDBSubnetGroupMessage, ): Effect.Effect< ModifyDBSubnetGroupResult, - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DBSubnetQuotaExceededFault - | InvalidSubnet - | SubnetAlreadyInUse - | CommonAwsError + DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DBSubnetQuotaExceededFault | InvalidSubnet | SubnetAlreadyInUse | CommonAwsError >; modifyEventSubscription( input: ModifyEventSubscriptionMessage, ): Effect.Effect< ModifyEventSubscriptionResult, - | EventSubscriptionQuotaExceededFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SubscriptionCategoryNotFoundFault - | SubscriptionNotFoundFault - | CommonAwsError + EventSubscriptionQuotaExceededFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SubscriptionCategoryNotFoundFault | SubscriptionNotFoundFault | CommonAwsError >; modifyGlobalCluster( input: ModifyGlobalClusterMessage, @@ -513,19 +361,13 @@ export declare class Neptune extends AWSServiceClient { input: RemoveFromGlobalClusterMessage, ): Effect.Effect< RemoveFromGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterNotFoundFault - | InvalidGlobalClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterNotFoundFault | InvalidGlobalClusterStateFault | CommonAwsError >; removeRoleFromDBCluster( input: RemoveRoleFromDBClusterMessage, ): Effect.Effect< {}, - | DBClusterNotFoundFault - | DBClusterRoleNotFoundFault - | InvalidDBClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterRoleNotFoundFault | InvalidDBClusterStateFault | CommonAwsError >; removeSourceIdentifierFromSubscription( input: RemoveSourceIdentifierFromSubscriptionMessage, @@ -537,99 +379,49 @@ export declare class Neptune extends AWSServiceClient { input: RemoveTagsFromResourceMessage, ): Effect.Effect< {}, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBSnapshotNotFoundFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | DBSnapshotNotFoundFault | CommonAwsError >; resetDBClusterParameterGroup( input: ResetDBClusterParameterGroupMessage, ): Effect.Effect< DBClusterParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; resetDBParameterGroup( input: ResetDBParameterGroupMessage, ): Effect.Effect< DBParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; restoreDBClusterFromSnapshot( input: RestoreDBClusterFromSnapshotMessage, ): Effect.Effect< RestoreDBClusterFromSnapshotResult, - | DBClusterAlreadyExistsFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBClusterSnapshotNotFoundFault - | DBSnapshotNotFoundFault - | DBSubnetGroupNotFoundFault - | InsufficientDBClusterCapacityFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBSnapshotStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | OptionGroupNotFoundFault - | StorageQuotaExceededFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBClusterSnapshotNotFoundFault | DBSnapshotNotFoundFault | DBSubnetGroupNotFoundFault | InsufficientDBClusterCapacityFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterSnapshotStateFault | InvalidDBSnapshotStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | OptionGroupNotFoundFault | StorageQuotaExceededFault | CommonAwsError >; restoreDBClusterToPointInTime( input: RestoreDBClusterToPointInTimeMessage, ): Effect.Effect< RestoreDBClusterToPointInTimeResult, - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBClusterSnapshotNotFoundFault - | DBSubnetGroupNotFoundFault - | InsufficientDBClusterCapacityFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | InvalidDBSnapshotStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | OptionGroupNotFoundFault - | StorageQuotaExceededFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBClusterSnapshotNotFoundFault | DBSubnetGroupNotFoundFault | InsufficientDBClusterCapacityFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | InvalidDBSnapshotStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | OptionGroupNotFoundFault | StorageQuotaExceededFault | CommonAwsError >; startDBCluster( input: StartDBClusterMessage, ): Effect.Effect< StartDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; stopDBCluster( input: StopDBClusterMessage, ): Effect.Effect< StopDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; switchoverGlobalCluster( input: SwitchoverGlobalClusterMessage, ): Effect.Effect< SwitchoverGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidGlobalClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterNotFoundFault | InvalidDBClusterStateFault | InvalidGlobalClusterStateFault | CommonAwsError >; } @@ -1932,8 +1724,7 @@ export interface PendingMaintenanceAction { Description?: string; } export type PendingMaintenanceActionDetails = Array; -export type PendingMaintenanceActions = - Array; +export type PendingMaintenanceActions = Array; export interface PendingMaintenanceActionsMessage { PendingMaintenanceActions?: Array; Marker?: string; @@ -2111,13 +1902,7 @@ export declare class SourceNotFoundFault extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type SourceType = - | "db-instance" - | "db-parameter-group" - | "db-security-group" - | "db-snapshot" - | "db-cluster" - | "db-cluster-snapshot"; +export type SourceType = "db-instance" | "db-parameter-group" | "db-security-group" | "db-snapshot" | "db-cluster" | "db-cluster-snapshot"; export interface StartDBClusterMessage { DBClusterIdentifier: string; } @@ -2254,7 +2039,9 @@ export declare namespace AddTagsToResource { export declare namespace ApplyPendingMaintenanceAction { export type Input = ApplyPendingMaintenanceActionMessage; export type Output = ApplyPendingMaintenanceActionResult; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace CopyDBClusterParameterGroup { @@ -2511,43 +2298,56 @@ export declare namespace DeleteGlobalCluster { export declare namespace DescribeDBClusterEndpoints { export type Input = DescribeDBClusterEndpointsMessage; export type Output = DBClusterEndpointMessage; - export type Error = DBClusterNotFoundFault | CommonAwsError; + export type Error = + | DBClusterNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterParameterGroups { export type Input = DescribeDBClusterParameterGroupsMessage; export type Output = DBClusterParameterGroupsMessage; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterParameters { export type Input = DescribeDBClusterParametersMessage; export type Output = DBClusterParameterGroupDetails; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusters { export type Input = DescribeDBClustersMessage; export type Output = DBClusterMessage; - export type Error = DBClusterNotFoundFault | CommonAwsError; + export type Error = + | DBClusterNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterSnapshotAttributes { export type Input = DescribeDBClusterSnapshotAttributesMessage; export type Output = DescribeDBClusterSnapshotAttributesResult; - export type Error = DBClusterSnapshotNotFoundFault | CommonAwsError; + export type Error = + | DBClusterSnapshotNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterSnapshots { export type Input = DescribeDBClusterSnapshotsMessage; export type Output = DBClusterSnapshotMessage; - export type Error = DBClusterSnapshotNotFoundFault | CommonAwsError; + export type Error = + | DBClusterSnapshotNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBEngineVersions { export type Input = DescribeDBEngineVersionsMessage; export type Output = DBEngineVersionMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeDBInstances { @@ -2562,67 +2362,84 @@ export declare namespace DescribeDBInstances { export declare namespace DescribeDBParameterGroups { export type Input = DescribeDBParameterGroupsMessage; export type Output = DBParameterGroupsMessage; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBParameters { export type Input = DescribeDBParametersMessage; export type Output = DBParameterGroupDetails; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBSubnetGroups { export type Input = DescribeDBSubnetGroupsMessage; export type Output = DBSubnetGroupMessage; - export type Error = DBSubnetGroupNotFoundFault | CommonAwsError; + export type Error = + | DBSubnetGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeEngineDefaultClusterParameters { export type Input = DescribeEngineDefaultClusterParametersMessage; export type Output = DescribeEngineDefaultClusterParametersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEngineDefaultParameters { export type Input = DescribeEngineDefaultParametersMessage; export type Output = DescribeEngineDefaultParametersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventCategories { export type Input = DescribeEventCategoriesMessage; export type Output = EventCategoriesMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEvents { export type Input = DescribeEventsMessage; export type Output = EventsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventSubscriptions { export type Input = DescribeEventSubscriptionsMessage; export type Output = EventSubscriptionsMessage; - export type Error = SubscriptionNotFoundFault | CommonAwsError; + export type Error = + | SubscriptionNotFoundFault + | CommonAwsError; } export declare namespace DescribeGlobalClusters { export type Input = DescribeGlobalClustersMessage; export type Output = GlobalClustersMessage; - export type Error = GlobalClusterNotFoundFault | CommonAwsError; + export type Error = + | GlobalClusterNotFoundFault + | CommonAwsError; } export declare namespace DescribeOrderableDBInstanceOptions { export type Input = DescribeOrderableDBInstanceOptionsMessage; export type Output = OrderableDBInstanceOptionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribePendingMaintenanceActions { export type Input = DescribePendingMaintenanceActionsMessage; export type Output = PendingMaintenanceActionsMessage; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeValidDBInstanceModifications { @@ -2934,73 +2751,5 @@ export declare namespace SwitchoverGlobalCluster { | CommonAwsError; } -export type NeptuneErrors = - | AuthorizationNotFoundFault - | CertificateNotFoundFault - | DBClusterAlreadyExistsFault - | DBClusterEndpointAlreadyExistsFault - | DBClusterEndpointNotFoundFault - | DBClusterEndpointQuotaExceededFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBClusterRoleAlreadyExistsFault - | DBClusterRoleNotFoundFault - | DBClusterRoleQuotaExceededFault - | DBClusterSnapshotAlreadyExistsFault - | DBClusterSnapshotNotFoundFault - | DBInstanceAlreadyExistsFault - | DBInstanceNotFoundFault - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBParameterGroupQuotaExceededFault - | DBSecurityGroupNotFoundFault - | DBSnapshotAlreadyExistsFault - | DBSnapshotNotFoundFault - | DBSubnetGroupAlreadyExistsFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DBSubnetGroupQuotaExceededFault - | DBSubnetQuotaExceededFault - | DBUpgradeDependencyFailureFault - | DomainNotFoundFault - | EventSubscriptionQuotaExceededFault - | GlobalClusterAlreadyExistsFault - | GlobalClusterNotFoundFault - | GlobalClusterQuotaExceededFault - | InstanceQuotaExceededFault - | InsufficientDBClusterCapacityFault - | InsufficientDBInstanceCapacityFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterEndpointStateFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBParameterGroupStateFault - | InvalidDBSecurityGroupStateFault - | InvalidDBSnapshotStateFault - | InvalidDBSubnetGroupStateFault - | InvalidDBSubnetStateFault - | InvalidEventSubscriptionStateFault - | InvalidGlobalClusterStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | OptionGroupNotFoundFault - | ProvisionedIopsNotAvailableInAZFault - | ResourceNotFoundFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SharedSnapshotQuotaExceededFault - | SnapshotQuotaExceededFault - | SourceNotFoundFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | SubnetAlreadyInUse - | SubscriptionAlreadyExistFault - | SubscriptionCategoryNotFoundFault - | SubscriptionNotFoundFault - | DBInstanceNotFound - | CommonAwsError; +export type NeptuneErrors = AuthorizationNotFoundFault | CertificateNotFoundFault | DBClusterAlreadyExistsFault | DBClusterEndpointAlreadyExistsFault | DBClusterEndpointNotFoundFault | DBClusterEndpointQuotaExceededFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBClusterRoleAlreadyExistsFault | DBClusterRoleNotFoundFault | DBClusterRoleQuotaExceededFault | DBClusterSnapshotAlreadyExistsFault | DBClusterSnapshotNotFoundFault | DBInstanceAlreadyExistsFault | DBInstanceNotFoundFault | DBParameterGroupAlreadyExistsFault | DBParameterGroupNotFoundFault | DBParameterGroupQuotaExceededFault | DBSecurityGroupNotFoundFault | DBSnapshotAlreadyExistsFault | DBSnapshotNotFoundFault | DBSubnetGroupAlreadyExistsFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DBSubnetGroupQuotaExceededFault | DBSubnetQuotaExceededFault | DBUpgradeDependencyFailureFault | DomainNotFoundFault | EventSubscriptionQuotaExceededFault | GlobalClusterAlreadyExistsFault | GlobalClusterNotFoundFault | GlobalClusterQuotaExceededFault | InstanceQuotaExceededFault | InsufficientDBClusterCapacityFault | InsufficientDBInstanceCapacityFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterEndpointStateFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBParameterGroupStateFault | InvalidDBSecurityGroupStateFault | InvalidDBSnapshotStateFault | InvalidDBSubnetGroupStateFault | InvalidDBSubnetStateFault | InvalidEventSubscriptionStateFault | InvalidGlobalClusterStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | OptionGroupNotFoundFault | ProvisionedIopsNotAvailableInAZFault | ResourceNotFoundFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SharedSnapshotQuotaExceededFault | SnapshotQuotaExceededFault | SourceNotFoundFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | SubnetAlreadyInUse | SubscriptionAlreadyExistFault | SubscriptionCategoryNotFoundFault | SubscriptionNotFoundFault | DBInstanceNotFound | CommonAwsError; + diff --git a/src/services/neptunedata/index.ts b/src/services/neptunedata/index.ts index a52d143d..35d763fa 100644 --- a/src/services/neptunedata/index.ts +++ b/src/services/neptunedata/index.ts @@ -5,24 +5,7 @@ import type { neptunedata as _neptunedataClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,84 +14,97 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "neptune-db", operations: { - CancelGremlinQuery: "DELETE /gremlin/status/{queryId}", - CancelLoaderJob: "DELETE /loader/{loadId}", - CancelMLDataProcessingJob: "DELETE /ml/dataprocessing/{id}", - CancelMLModelTrainingJob: "DELETE /ml/modeltraining/{id}", - CancelMLModelTransformJob: "DELETE /ml/modeltransform/{id}", - CancelOpenCypherQuery: "DELETE /opencypher/status/{queryId}", - CreateMLEndpoint: "POST /ml/endpoints", - DeleteMLEndpoint: "DELETE /ml/endpoints/{id}", - DeletePropertygraphStatistics: { + "CancelGremlinQuery": "DELETE /gremlin/status/{queryId}", + "CancelLoaderJob": "DELETE /loader/{loadId}", + "CancelMLDataProcessingJob": "DELETE /ml/dataprocessing/{id}", + "CancelMLModelTrainingJob": "DELETE /ml/modeltraining/{id}", + "CancelMLModelTransformJob": "DELETE /ml/modeltransform/{id}", + "CancelOpenCypherQuery": "DELETE /opencypher/status/{queryId}", + "CreateMLEndpoint": "POST /ml/endpoints", + "DeleteMLEndpoint": "DELETE /ml/endpoints/{id}", + "DeletePropertygraphStatistics": { http: "DELETE /propertygraph/statistics", traits: { - statusCode: "httpResponseCode", + "statusCode": "httpResponseCode", }, }, - DeleteSparqlStatistics: { + "DeleteSparqlStatistics": { http: "DELETE /sparql/statistics", traits: { - statusCode: "httpResponseCode", + "statusCode": "httpResponseCode", }, }, - ExecuteFastReset: "POST /system", - ExecuteGremlinExplainQuery: { + "ExecuteFastReset": "POST /system", + "ExecuteGremlinExplainQuery": { http: "POST /gremlin/explain", traits: { - output: "httpPayload", + "output": "httpPayload", }, }, - ExecuteGremlinProfileQuery: { + "ExecuteGremlinProfileQuery": { http: "POST /gremlin/profile", traits: { - output: "httpPayload", + "output": "httpPayload", }, }, - ExecuteGremlinQuery: "POST /gremlin", - ExecuteOpenCypherExplainQuery: { + "ExecuteGremlinQuery": "POST /gremlin", + "ExecuteOpenCypherExplainQuery": { http: "POST /opencypher/explain", traits: { - results: "httpPayload", + "results": "httpPayload", }, }, - ExecuteOpenCypherQuery: "POST /opencypher", - GetEngineStatus: "GET /status", - GetGremlinQueryStatus: "GET /gremlin/status/{queryId}", - GetLoaderJobStatus: "GET /loader/{loadId}", - GetMLDataProcessingJob: "GET /ml/dataprocessing/{id}", - GetMLEndpoint: "GET /ml/endpoints/{id}", - GetMLModelTrainingJob: "GET /ml/modeltraining/{id}", - GetMLModelTransformJob: "GET /ml/modeltransform/{id}", - GetOpenCypherQueryStatus: "GET /opencypher/status/{queryId}", - GetPropertygraphStatistics: "GET /propertygraph/statistics", - GetPropertygraphStream: "GET /propertygraph/stream", - GetPropertygraphSummary: { + "ExecuteOpenCypherQuery": "POST /opencypher", + "GetEngineStatus": "GET /status", + "GetGremlinQueryStatus": "GET /gremlin/status/{queryId}", + "GetLoaderJobStatus": "GET /loader/{loadId}", + "GetMLDataProcessingJob": "GET /ml/dataprocessing/{id}", + "GetMLEndpoint": "GET /ml/endpoints/{id}", + "GetMLModelTrainingJob": "GET /ml/modeltraining/{id}", + "GetMLModelTransformJob": "GET /ml/modeltransform/{id}", + "GetOpenCypherQueryStatus": "GET /opencypher/status/{queryId}", + "GetPropertygraphStatistics": "GET /propertygraph/statistics", + "GetPropertygraphStream": "GET /propertygraph/stream", + "GetPropertygraphSummary": { http: "GET /propertygraph/statistics/summary", traits: { - statusCode: "httpResponseCode", + "statusCode": "httpResponseCode", }, }, - GetRDFGraphSummary: { + "GetRDFGraphSummary": { http: "GET /rdf/statistics/summary", traits: { - statusCode: "httpResponseCode", + "statusCode": "httpResponseCode", }, }, - GetSparqlStatistics: "GET /sparql/statistics", - GetSparqlStream: "GET /sparql/stream", - ListGremlinQueries: "GET /gremlin/status", - ListLoaderJobs: "GET /loader", - ListMLDataProcessingJobs: "GET /ml/dataprocessing", - ListMLEndpoints: "GET /ml/endpoints", - ListMLModelTrainingJobs: "GET /ml/modeltraining", - ListMLModelTransformJobs: "GET /ml/modeltransform", - ListOpenCypherQueries: "GET /opencypher/status", - ManagePropertygraphStatistics: "POST /propertygraph/statistics", - ManageSparqlStatistics: "POST /sparql/statistics", - StartLoaderJob: "POST /loader", - StartMLDataProcessingJob: "POST /ml/dataprocessing", - StartMLModelTrainingJob: "POST /ml/modeltraining", - StartMLModelTransformJob: "POST /ml/modeltransform", + "GetSparqlStatistics": "GET /sparql/statistics", + "GetSparqlStream": "GET /sparql/stream", + "ListGremlinQueries": "GET /gremlin/status", + "ListLoaderJobs": "GET /loader", + "ListMLDataProcessingJobs": "GET /ml/dataprocessing", + "ListMLEndpoints": "GET /ml/endpoints", + "ListMLModelTrainingJobs": "GET /ml/modeltraining", + "ListMLModelTransformJobs": "GET /ml/modeltransform", + "ListOpenCypherQueries": "GET /opencypher/status", + "ManagePropertygraphStatistics": "POST /propertygraph/statistics", + "ManageSparqlStatistics": "POST /sparql/statistics", + "StartLoaderJob": "POST /loader", + "StartMLDataProcessingJob": "POST /ml/dataprocessing", + "StartMLModelTrainingJob": "POST /ml/modeltraining", + "StartMLModelTransformJob": "POST /ml/modeltransform", + }, + retryableErrors: { + "ClientTimeoutException": {}, + "ConcurrentModificationException": {}, + "ConstraintViolationException": {}, + "FailureByQueryException": {}, + "TimeLimitExceededException": {}, + "TooManyRequestsException": {}, + "BulkLoadIdNotFoundException": {}, + "MemoryLimitExceededException": {}, + "QueryLimitExceededException": {}, + "ThrottlingException": {}, + "S3Exception": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/neptunedata/types.ts b/src/services/neptunedata/types.ts index e3ed6523..29558348 100644 --- a/src/services/neptunedata/types.ts +++ b/src/services/neptunedata/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class neptunedata extends AWSServiceClient { @@ -41,823 +8,259 @@ export declare class neptunedata extends AWSServiceClient { input: CancelGremlinQueryInput, ): Effect.Effect< CancelGremlinQueryOutput, - | BadRequestException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | ParsingException | PreconditionsFailedException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; cancelLoaderJob( input: CancelLoaderJobInput, ): Effect.Effect< CancelLoaderJobOutput, - | BadRequestException - | BulkLoadIdNotFoundException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InternalFailureException - | InvalidArgumentException - | InvalidParameterException - | LoadUrlAccessDeniedException - | MissingParameterException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | BulkLoadIdNotFoundException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InternalFailureException | InvalidArgumentException | InvalidParameterException | LoadUrlAccessDeniedException | MissingParameterException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; cancelMLDataProcessingJob( input: CancelMLDataProcessingJobInput, ): Effect.Effect< CancelMLDataProcessingJobOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; cancelMLModelTrainingJob( input: CancelMLModelTrainingJobInput, ): Effect.Effect< CancelMLModelTrainingJobOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; cancelMLModelTransformJob( input: CancelMLModelTransformJobInput, ): Effect.Effect< CancelMLModelTransformJobOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; cancelOpenCypherQuery( input: CancelOpenCypherQueryInput, ): Effect.Effect< CancelOpenCypherQueryOutput, - | BadRequestException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidNumericDataException - | InvalidParameterException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidNumericDataException | InvalidParameterException | MissingParameterException | ParsingException | PreconditionsFailedException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; createMLEndpoint( input: CreateMLEndpointInput, ): Effect.Effect< CreateMLEndpointOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; deleteMLEndpoint( input: DeleteMLEndpointInput, ): Effect.Effect< DeleteMLEndpointOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; - deletePropertygraphStatistics(input: {}): Effect.Effect< + deletePropertygraphStatistics( + input: {}, + ): Effect.Effect< DeletePropertygraphStatisticsOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | PreconditionsFailedException - | ReadOnlyViolationException - | StatisticsNotAvailableException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | PreconditionsFailedException | ReadOnlyViolationException | StatisticsNotAvailableException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; - deleteSparqlStatistics(input: {}): Effect.Effect< + deleteSparqlStatistics( + input: {}, + ): Effect.Effect< DeleteSparqlStatisticsOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | PreconditionsFailedException - | ReadOnlyViolationException - | StatisticsNotAvailableException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | PreconditionsFailedException | ReadOnlyViolationException | StatisticsNotAvailableException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; executeFastReset( input: ExecuteFastResetInput, ): Effect.Effect< ExecuteFastResetOutput, - | AccessDeniedException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MethodNotAllowedException - | MissingParameterException - | PreconditionsFailedException - | ReadOnlyViolationException - | ServerShutdownException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MethodNotAllowedException | MissingParameterException | PreconditionsFailedException | ReadOnlyViolationException | ServerShutdownException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; executeGremlinExplainQuery( input: ExecuteGremlinExplainQueryInput, ): Effect.Effect< ExecuteGremlinExplainQueryOutput, - | BadRequestException - | CancelledByUserException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MalformedQueryException - | MemoryLimitExceededException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | QueryLimitExceededException - | QueryLimitException - | QueryTooLargeException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | CancelledByUserException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MalformedQueryException | MemoryLimitExceededException | MissingParameterException | ParsingException | PreconditionsFailedException | QueryLimitExceededException | QueryLimitException | QueryTooLargeException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; executeGremlinProfileQuery( input: ExecuteGremlinProfileQueryInput, ): Effect.Effect< ExecuteGremlinProfileQueryOutput, - | BadRequestException - | CancelledByUserException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MalformedQueryException - | MemoryLimitExceededException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | QueryLimitExceededException - | QueryLimitException - | QueryTooLargeException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | CancelledByUserException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MalformedQueryException | MemoryLimitExceededException | MissingParameterException | ParsingException | PreconditionsFailedException | QueryLimitExceededException | QueryLimitException | QueryTooLargeException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; executeGremlinQuery( input: ExecuteGremlinQueryInput, ): Effect.Effect< ExecuteGremlinQueryOutput, - | BadRequestException - | CancelledByUserException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MalformedQueryException - | MemoryLimitExceededException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | QueryLimitExceededException - | QueryLimitException - | QueryTooLargeException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | CancelledByUserException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MalformedQueryException | MemoryLimitExceededException | MissingParameterException | ParsingException | PreconditionsFailedException | QueryLimitExceededException | QueryLimitException | QueryTooLargeException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; executeOpenCypherExplainQuery( input: ExecuteOpenCypherExplainQueryInput, ): Effect.Effect< ExecuteOpenCypherExplainQueryOutput, - | BadRequestException - | CancelledByUserException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidNumericDataException - | InvalidParameterException - | MalformedQueryException - | MemoryLimitExceededException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | QueryLimitExceededException - | QueryLimitException - | QueryTooLargeException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | CancelledByUserException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidNumericDataException | InvalidParameterException | MalformedQueryException | MemoryLimitExceededException | MissingParameterException | ParsingException | PreconditionsFailedException | QueryLimitExceededException | QueryLimitException | QueryTooLargeException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; executeOpenCypherQuery( input: ExecuteOpenCypherQueryInput, ): Effect.Effect< ExecuteOpenCypherQueryOutput, - | BadRequestException - | CancelledByUserException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidNumericDataException - | InvalidParameterException - | MalformedQueryException - | MemoryLimitExceededException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | QueryLimitExceededException - | QueryLimitException - | QueryTooLargeException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | CancelledByUserException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidNumericDataException | InvalidParameterException | MalformedQueryException | MemoryLimitExceededException | MissingParameterException | ParsingException | PreconditionsFailedException | QueryLimitExceededException | QueryLimitException | QueryTooLargeException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; - getEngineStatus(input: {}): Effect.Effect< + getEngineStatus( + input: {}, + ): Effect.Effect< GetEngineStatusOutput, - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InternalFailureException - | InvalidArgumentException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InternalFailureException | InvalidArgumentException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; getGremlinQueryStatus( input: GetGremlinQueryStatusInput, ): Effect.Effect< GetGremlinQueryStatusOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | ReadOnlyViolationException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | ParsingException | PreconditionsFailedException | ReadOnlyViolationException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; getLoaderJobStatus( input: GetLoaderJobStatusInput, ): Effect.Effect< GetLoaderJobStatusOutput, - | BadRequestException - | BulkLoadIdNotFoundException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InternalFailureException - | InvalidArgumentException - | InvalidParameterException - | LoadUrlAccessDeniedException - | MissingParameterException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | BulkLoadIdNotFoundException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InternalFailureException | InvalidArgumentException | InvalidParameterException | LoadUrlAccessDeniedException | MissingParameterException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; getMLDataProcessingJob( input: GetMLDataProcessingJobInput, ): Effect.Effect< GetMLDataProcessingJobOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; getMLEndpoint( input: GetMLEndpointInput, ): Effect.Effect< GetMLEndpointOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError - >; - getMLModelTrainingJob( - input: GetMLModelTrainingJobInput, - ): Effect.Effect< - GetMLModelTrainingJobOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError - >; - getMLModelTransformJob( - input: GetMLModelTransformJobInput, - ): Effect.Effect< - GetMLModelTransformJobOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; - getOpenCypherQueryStatus( - input: GetOpenCypherQueryStatusInput, - ): Effect.Effect< - GetOpenCypherQueryStatusOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidNumericDataException - | InvalidParameterException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | ReadOnlyViolationException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + getMLModelTrainingJob( + input: GetMLModelTrainingJobInput, + ): Effect.Effect< + GetMLModelTrainingJobOutput, + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError + >; + getMLModelTransformJob( + input: GetMLModelTransformJobInput, + ): Effect.Effect< + GetMLModelTransformJobOutput, + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError + >; + getOpenCypherQueryStatus( + input: GetOpenCypherQueryStatusInput, + ): Effect.Effect< + GetOpenCypherQueryStatusOutput, + AccessDeniedException | BadRequestException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidNumericDataException | InvalidParameterException | MissingParameterException | ParsingException | PreconditionsFailedException | ReadOnlyViolationException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; - getPropertygraphStatistics(input: {}): Effect.Effect< + getPropertygraphStatistics( + input: {}, + ): Effect.Effect< GetPropertygraphStatisticsOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | PreconditionsFailedException - | ReadOnlyViolationException - | StatisticsNotAvailableException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | PreconditionsFailedException | ReadOnlyViolationException | StatisticsNotAvailableException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; getPropertygraphStream( input: GetPropertygraphStreamInput, ): Effect.Effect< GetPropertygraphStreamOutput, - | ClientTimeoutException - | ConstraintViolationException - | ExpiredStreamException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MemoryLimitExceededException - | PreconditionsFailedException - | StreamRecordsNotFoundException - | ThrottlingException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + ClientTimeoutException | ConstraintViolationException | ExpiredStreamException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MemoryLimitExceededException | PreconditionsFailedException | StreamRecordsNotFoundException | ThrottlingException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; getPropertygraphSummary( input: GetPropertygraphSummaryInput, ): Effect.Effect< GetPropertygraphSummaryOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | PreconditionsFailedException - | ReadOnlyViolationException - | StatisticsNotAvailableException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | PreconditionsFailedException | ReadOnlyViolationException | StatisticsNotAvailableException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; getRDFGraphSummary( input: GetRDFGraphSummaryInput, ): Effect.Effect< GetRDFGraphSummaryOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | PreconditionsFailedException - | ReadOnlyViolationException - | StatisticsNotAvailableException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | PreconditionsFailedException | ReadOnlyViolationException | StatisticsNotAvailableException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; - getSparqlStatistics(input: {}): Effect.Effect< + getSparqlStatistics( + input: {}, + ): Effect.Effect< GetSparqlStatisticsOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | PreconditionsFailedException - | ReadOnlyViolationException - | StatisticsNotAvailableException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | PreconditionsFailedException | ReadOnlyViolationException | StatisticsNotAvailableException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; getSparqlStream( input: GetSparqlStreamInput, ): Effect.Effect< GetSparqlStreamOutput, - | ClientTimeoutException - | ConstraintViolationException - | ExpiredStreamException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MemoryLimitExceededException - | PreconditionsFailedException - | StreamRecordsNotFoundException - | ThrottlingException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + ClientTimeoutException | ConstraintViolationException | ExpiredStreamException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MemoryLimitExceededException | PreconditionsFailedException | StreamRecordsNotFoundException | ThrottlingException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; listGremlinQueries( input: ListGremlinQueriesInput, ): Effect.Effect< ListGremlinQueriesOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | ReadOnlyViolationException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | ParsingException | PreconditionsFailedException | ReadOnlyViolationException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; listLoaderJobs( input: ListLoaderJobsInput, ): Effect.Effect< ListLoaderJobsOutput, - | BadRequestException - | BulkLoadIdNotFoundException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InternalFailureException - | InvalidArgumentException - | InvalidParameterException - | LoadUrlAccessDeniedException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | BulkLoadIdNotFoundException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InternalFailureException | InvalidArgumentException | InvalidParameterException | LoadUrlAccessDeniedException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; listMLDataProcessingJobs( input: ListMLDataProcessingJobsInput, ): Effect.Effect< ListMLDataProcessingJobsOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; listMLEndpoints( input: ListMLEndpointsInput, ): Effect.Effect< ListMLEndpointsOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; listMLModelTrainingJobs( input: ListMLModelTrainingJobsInput, ): Effect.Effect< ListMLModelTrainingJobsOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; listMLModelTransformJobs( input: ListMLModelTransformJobsInput, ): Effect.Effect< ListMLModelTransformJobsOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; listOpenCypherQueries( input: ListOpenCypherQueriesInput, ): Effect.Effect< ListOpenCypherQueriesOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | FailureByQueryException - | IllegalArgumentException - | InvalidArgumentException - | InvalidNumericDataException - | InvalidParameterException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | ReadOnlyViolationException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | FailureByQueryException | IllegalArgumentException | InvalidArgumentException | InvalidNumericDataException | InvalidParameterException | MissingParameterException | ParsingException | PreconditionsFailedException | ReadOnlyViolationException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; managePropertygraphStatistics( input: ManagePropertygraphStatisticsInput, ): Effect.Effect< ManagePropertygraphStatisticsOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | PreconditionsFailedException - | ReadOnlyViolationException - | StatisticsNotAvailableException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | PreconditionsFailedException | ReadOnlyViolationException | StatisticsNotAvailableException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; manageSparqlStatistics( input: ManageSparqlStatisticsInput, ): Effect.Effect< ManageSparqlStatisticsOutput, - | AccessDeniedException - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | PreconditionsFailedException - | ReadOnlyViolationException - | StatisticsNotAvailableException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + AccessDeniedException | BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | PreconditionsFailedException | ReadOnlyViolationException | StatisticsNotAvailableException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; startLoaderJob( input: StartLoaderJobInput, ): Effect.Effect< StartLoaderJobOutput, - | BadRequestException - | BulkLoadIdNotFoundException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InternalFailureException - | InvalidArgumentException - | InvalidParameterException - | LoadUrlAccessDeniedException - | MissingParameterException - | PreconditionsFailedException - | S3Exception - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | BulkLoadIdNotFoundException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InternalFailureException | InvalidArgumentException | InvalidParameterException | LoadUrlAccessDeniedException | MissingParameterException | PreconditionsFailedException | S3Exception | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; startMLDataProcessingJob( input: StartMLDataProcessingJobInput, ): Effect.Effect< StartMLDataProcessingJobOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; startMLModelTrainingJob( input: StartMLModelTrainingJobInput, ): Effect.Effect< StartMLModelTrainingJobOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; startMLModelTransformJob( input: StartMLModelTransformJobInput, ): Effect.Effect< StartMLModelTransformJobOutput, - | BadRequestException - | ClientTimeoutException - | ConstraintViolationException - | IllegalArgumentException - | InvalidArgumentException - | InvalidParameterException - | MissingParameterException - | MLResourceNotFoundException - | PreconditionsFailedException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError + BadRequestException | ClientTimeoutException | ConstraintViolationException | IllegalArgumentException | InvalidArgumentException | InvalidParameterException | MissingParameterException | MLResourceNotFoundException | PreconditionsFailedException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError >; } @@ -1080,13 +483,7 @@ export declare class FailureByQueryException extends EffectData.TaggedError( export interface FastResetToken { token?: string; } -export type Format = - | "csv" - | "opencypher" - | "ntriples" - | "nquads" - | "rdfxml" - | "turtle"; +export type Format = "csv" | "opencypher" | "ntriples" | "nquads" | "rdfxml" | "turtle"; export interface GetEngineStatusOutput { status?: string; startTime?: string; @@ -1268,11 +665,7 @@ export declare class InvalidParameterException extends EffectData.TaggedError( readonly requestId: string; readonly code: string; }> {} -export type IteratorType = - | "AT_SEQUENCE_NUMBER" - | "AFTER_SEQUENCE_NUMBER" - | "TRIM_HORIZON" - | "LATEST"; +export type IteratorType = "AT_SEQUENCE_NUMBER" | "AFTER_SEQUENCE_NUMBER" | "TRIM_HORIZON" | "LATEST"; export interface ListGremlinQueriesInput { includeWaiting?: boolean; } @@ -1523,44 +916,10 @@ export interface RefreshStatisticsIdMap { } export type ReportAsText = Uint8Array | string; -export type S3BucketRegion = - | "us-east-1" - | "us-east-2" - | "us-west-1" - | "us-west-2" - | "ca-central-1" - | "sa-east-1" - | "eu-north-1" - | "eu-west-1" - | "eu-west-2" - | "eu-west-3" - | "eu-central-1" - | "me-south-1" - | "af-south-1" - | "ap-east-1" - | "ap-northeast-1" - | "ap-northeast-2" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-south-1" - | "cn-north-1" - | "cn-northwest-1" - | "us-gov-west-1" - | "us-gov-east-1" - | "ca-west-1" - | "eu-south-2" - | "il-central-1" - | "me-central-1" - | "ap-northeast-3" - | "ap-southeast-3" - | "ap-southeast-4" - | "ap-southeast-5" - | "ap-southeast-7" - | "mx-central-1" - | "ap-east-2" - | "ap-south-2" - | "eu-central-2"; -export declare class S3Exception extends EffectData.TaggedError("S3Exception")<{ +export type S3BucketRegion = "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ca-central-1" | "sa-east-1" | "eu-north-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "me-south-1" | "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-south-1" | "cn-north-1" | "cn-northwest-1" | "us-gov-west-1" | "us-gov-east-1" | "ca-west-1" | "eu-south-2" | "il-central-1" | "me-central-1" | "ap-northeast-3" | "ap-southeast-3" | "ap-southeast-4" | "ap-southeast-5" | "ap-southeast-7" | "mx-central-1" | "ap-east-2" | "ap-south-2" | "eu-central-2"; +export declare class S3Exception extends EffectData.TaggedError( + "S3Exception", +)<{ readonly detailedMessage: string; readonly requestId: string; readonly code: string; @@ -1677,10 +1036,7 @@ export interface Statistics { note?: string; signatureInfo?: StatisticsSummary; } -export type StatisticsAutoGenerationMode = - | "disableAutoCompute" - | "enableAutoCompute" - | "refresh"; +export type StatisticsAutoGenerationMode = "disableAutoCompute" | "enableAutoCompute" | "refresh"; export declare class StatisticsNotAvailableException extends EffectData.TaggedError( "StatisticsNotAvailableException", )<{ @@ -2610,39 +1966,5 @@ export declare namespace StartMLModelTransformJob { | CommonAwsError; } -export type neptunedataErrors = - | AccessDeniedException - | BadRequestException - | BulkLoadIdNotFoundException - | CancelledByUserException - | ClientTimeoutException - | ConcurrentModificationException - | ConstraintViolationException - | ExpiredStreamException - | FailureByQueryException - | IllegalArgumentException - | InternalFailureException - | InvalidArgumentException - | InvalidNumericDataException - | InvalidParameterException - | LoadUrlAccessDeniedException - | MLResourceNotFoundException - | MalformedQueryException - | MemoryLimitExceededException - | MethodNotAllowedException - | MissingParameterException - | ParsingException - | PreconditionsFailedException - | QueryLimitExceededException - | QueryLimitException - | QueryTooLargeException - | ReadOnlyViolationException - | S3Exception - | ServerShutdownException - | StatisticsNotAvailableException - | StreamRecordsNotFoundException - | ThrottlingException - | TimeLimitExceededException - | TooManyRequestsException - | UnsupportedOperationException - | CommonAwsError; +export type neptunedataErrors = AccessDeniedException | BadRequestException | BulkLoadIdNotFoundException | CancelledByUserException | ClientTimeoutException | ConcurrentModificationException | ConstraintViolationException | ExpiredStreamException | FailureByQueryException | IllegalArgumentException | InternalFailureException | InvalidArgumentException | InvalidNumericDataException | InvalidParameterException | LoadUrlAccessDeniedException | MLResourceNotFoundException | MalformedQueryException | MemoryLimitExceededException | MethodNotAllowedException | MissingParameterException | ParsingException | PreconditionsFailedException | QueryLimitExceededException | QueryLimitException | QueryTooLargeException | ReadOnlyViolationException | S3Exception | ServerShutdownException | StatisticsNotAvailableException | StreamRecordsNotFoundException | ThrottlingException | TimeLimitExceededException | TooManyRequestsException | UnsupportedOperationException | CommonAwsError; + diff --git a/src/services/network-firewall/index.ts b/src/services/network-firewall/index.ts index ef091a8b..ea2e7337 100644 --- a/src/services/network-firewall/index.ts +++ b/src/services/network-firewall/index.ts @@ -5,25 +5,7 @@ import type { NetworkFirewall as _NetworkFirewallClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/network-firewall/types.ts b/src/services/network-firewall/types.ts index 903f6214..dbf0a7fe 100644 --- a/src/services/network-firewall/types.ts +++ b/src/services/network-firewall/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class NetworkFirewall extends AWSServiceClient { @@ -42,612 +8,343 @@ export declare class NetworkFirewall extends AWSServiceClient { input: AcceptNetworkFirewallTransitGatewayAttachmentRequest, ): Effect.Effect< AcceptNetworkFirewallTransitGatewayAttachmentResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateAvailabilityZones( input: AssociateAvailabilityZonesRequest, ): Effect.Effect< AssociateAvailabilityZonesResponse, - | InsufficientCapacityException - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InsufficientCapacityException | InternalServerError | InvalidOperationException | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateFirewallPolicy( input: AssociateFirewallPolicyRequest, ): Effect.Effect< AssociateFirewallPolicyResponse, - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidOperationException | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateSubnets( input: AssociateSubnetsRequest, ): Effect.Effect< AssociateSubnetsResponse, - | InsufficientCapacityException - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InsufficientCapacityException | InternalServerError | InvalidOperationException | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createFirewall( input: CreateFirewallRequest, ): Effect.Effect< CreateFirewallResponse, - | InsufficientCapacityException - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | LimitExceededException - | ThrottlingException - | CommonAwsError + InsufficientCapacityException | InternalServerError | InvalidOperationException | InvalidRequestException | LimitExceededException | ThrottlingException | CommonAwsError >; createFirewallPolicy( input: CreateFirewallPolicyRequest, ): Effect.Effect< CreateFirewallPolicyResponse, - | InsufficientCapacityException - | InternalServerError - | InvalidRequestException - | LimitExceededException - | ThrottlingException - | CommonAwsError + InsufficientCapacityException | InternalServerError | InvalidRequestException | LimitExceededException | ThrottlingException | CommonAwsError >; createRuleGroup( input: CreateRuleGroupRequest, ): Effect.Effect< CreateRuleGroupResponse, - | InsufficientCapacityException - | InternalServerError - | InvalidRequestException - | LimitExceededException - | ThrottlingException - | CommonAwsError + InsufficientCapacityException | InternalServerError | InvalidRequestException | LimitExceededException | ThrottlingException | CommonAwsError >; createTLSInspectionConfiguration( input: CreateTLSInspectionConfigurationRequest, ): Effect.Effect< CreateTLSInspectionConfigurationResponse, - | InsufficientCapacityException - | InternalServerError - | InvalidRequestException - | LimitExceededException - | ThrottlingException - | CommonAwsError + InsufficientCapacityException | InternalServerError | InvalidRequestException | LimitExceededException | ThrottlingException | CommonAwsError >; createVpcEndpointAssociation( input: CreateVpcEndpointAssociationRequest, ): Effect.Effect< CreateVpcEndpointAssociationResponse, - | InsufficientCapacityException - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InsufficientCapacityException | InternalServerError | InvalidOperationException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteFirewall( input: DeleteFirewallRequest, ): Effect.Effect< DeleteFirewallResponse, - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError + InternalServerError | InvalidOperationException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnsupportedOperationException | CommonAwsError >; deleteFirewallPolicy( input: DeleteFirewallPolicyRequest, ): Effect.Effect< DeleteFirewallPolicyResponse, - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError + InternalServerError | InvalidOperationException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnsupportedOperationException | CommonAwsError >; deleteNetworkFirewallTransitGatewayAttachment( input: DeleteNetworkFirewallTransitGatewayAttachmentRequest, ): Effect.Effect< DeleteNetworkFirewallTransitGatewayAttachmentResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | InternalServerError - | InvalidRequestException - | InvalidResourcePolicyException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidResourcePolicyException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteRuleGroup( input: DeleteRuleGroupRequest, ): Effect.Effect< DeleteRuleGroupResponse, - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError + InternalServerError | InvalidOperationException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnsupportedOperationException | CommonAwsError >; deleteTLSInspectionConfiguration( input: DeleteTLSInspectionConfigurationRequest, ): Effect.Effect< DeleteTLSInspectionConfigurationResponse, - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidOperationException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteVpcEndpointAssociation( input: DeleteVpcEndpointAssociationRequest, ): Effect.Effect< DeleteVpcEndpointAssociationResponse, - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidOperationException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeFirewall( input: DescribeFirewallRequest, ): Effect.Effect< DescribeFirewallResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeFirewallMetadata( input: DescribeFirewallMetadataRequest, ): Effect.Effect< DescribeFirewallMetadataResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeFirewallPolicy( input: DescribeFirewallPolicyRequest, ): Effect.Effect< DescribeFirewallPolicyResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeFlowOperation( input: DescribeFlowOperationRequest, ): Effect.Effect< DescribeFlowOperationResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeLoggingConfiguration( input: DescribeLoggingConfigurationRequest, ): Effect.Effect< DescribeLoggingConfigurationResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeResourcePolicy( input: DescribeResourcePolicyRequest, ): Effect.Effect< DescribeResourcePolicyResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeRuleGroup( input: DescribeRuleGroupRequest, ): Effect.Effect< DescribeRuleGroupResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeRuleGroupMetadata( input: DescribeRuleGroupMetadataRequest, ): Effect.Effect< DescribeRuleGroupMetadataResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeRuleGroupSummary( input: DescribeRuleGroupSummaryRequest, ): Effect.Effect< DescribeRuleGroupSummaryResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeTLSInspectionConfiguration( input: DescribeTLSInspectionConfigurationRequest, ): Effect.Effect< DescribeTLSInspectionConfigurationResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeVpcEndpointAssociation( input: DescribeVpcEndpointAssociationRequest, ): Effect.Effect< DescribeVpcEndpointAssociationResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateAvailabilityZones( input: DisassociateAvailabilityZonesRequest, ): Effect.Effect< DisassociateAvailabilityZonesResponse, - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidOperationException | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateSubnets( input: DisassociateSubnetsRequest, ): Effect.Effect< DisassociateSubnetsResponse, - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidOperationException | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getAnalysisReportResults( input: GetAnalysisReportResultsRequest, ): Effect.Effect< GetAnalysisReportResultsResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listAnalysisReports( input: ListAnalysisReportsRequest, ): Effect.Effect< ListAnalysisReportsResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listFirewallPolicies( input: ListFirewallPoliciesRequest, ): Effect.Effect< ListFirewallPoliciesResponse, - | InternalServerError - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ThrottlingException | CommonAwsError >; listFirewalls( input: ListFirewallsRequest, ): Effect.Effect< ListFirewallsResponse, - | InternalServerError - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ThrottlingException | CommonAwsError >; listFlowOperationResults( input: ListFlowOperationResultsRequest, ): Effect.Effect< ListFlowOperationResultsResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listFlowOperations( input: ListFlowOperationsRequest, ): Effect.Effect< ListFlowOperationsResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRuleGroups( input: ListRuleGroupsRequest, ): Effect.Effect< ListRuleGroupsResponse, - | InternalServerError - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTLSInspectionConfigurations( input: ListTLSInspectionConfigurationsRequest, ): Effect.Effect< ListTLSInspectionConfigurationsResponse, - | InternalServerError - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ThrottlingException | CommonAwsError >; listVpcEndpointAssociations( input: ListVpcEndpointAssociationsRequest, ): Effect.Effect< ListVpcEndpointAssociationsResponse, - | InternalServerError - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ThrottlingException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | InternalServerError - | InvalidRequestException - | InvalidResourcePolicyException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidResourcePolicyException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; rejectNetworkFirewallTransitGatewayAttachment( input: RejectNetworkFirewallTransitGatewayAttachmentRequest, ): Effect.Effect< RejectNetworkFirewallTransitGatewayAttachmentResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startAnalysisReport( input: StartAnalysisReportRequest, ): Effect.Effect< StartAnalysisReportResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startFlowCapture( input: StartFlowCaptureRequest, ): Effect.Effect< StartFlowCaptureResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startFlowFlush( input: StartFlowFlushRequest, ): Effect.Effect< StartFlowFlushResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAvailabilityZoneChangeProtection( input: UpdateAvailabilityZoneChangeProtectionRequest, ): Effect.Effect< UpdateAvailabilityZoneChangeProtectionResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ResourceOwnerCheckException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ResourceOwnerCheckException | ThrottlingException | CommonAwsError >; updateFirewallAnalysisSettings( input: UpdateFirewallAnalysisSettingsRequest, ): Effect.Effect< UpdateFirewallAnalysisSettingsResponse, - | InternalServerError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateFirewallDeleteProtection( input: UpdateFirewallDeleteProtectionRequest, ): Effect.Effect< UpdateFirewallDeleteProtectionResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ResourceOwnerCheckException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ResourceOwnerCheckException | ThrottlingException | CommonAwsError >; updateFirewallDescription( input: UpdateFirewallDescriptionRequest, ): Effect.Effect< UpdateFirewallDescriptionResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateFirewallEncryptionConfiguration( input: UpdateFirewallEncryptionConfigurationRequest, ): Effect.Effect< UpdateFirewallEncryptionConfigurationResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ResourceOwnerCheckException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ResourceOwnerCheckException | ThrottlingException | CommonAwsError >; updateFirewallPolicy( input: UpdateFirewallPolicyRequest, ): Effect.Effect< UpdateFirewallPolicyResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateFirewallPolicyChangeProtection( input: UpdateFirewallPolicyChangeProtectionRequest, ): Effect.Effect< UpdateFirewallPolicyChangeProtectionResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ResourceOwnerCheckException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ResourceOwnerCheckException | ThrottlingException | CommonAwsError >; updateLoggingConfiguration( input: UpdateLoggingConfigurationRequest, ): Effect.Effect< UpdateLoggingConfigurationResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | LogDestinationPermissionException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | LogDestinationPermissionException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateRuleGroup( input: UpdateRuleGroupRequest, ): Effect.Effect< UpdateRuleGroupResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateSubnetChangeProtection( input: UpdateSubnetChangeProtectionRequest, ): Effect.Effect< UpdateSubnetChangeProtectionResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ResourceOwnerCheckException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ResourceOwnerCheckException | ThrottlingException | CommonAwsError >; updateTLSInspectionConfiguration( input: UpdateTLSInspectionConfigurationRequest, ): Effect.Effect< UpdateTLSInspectionConfigurationResponse, - | InternalServerError - | InvalidRequestException - | InvalidTokenException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServerError | InvalidRequestException | InvalidTokenException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -742,13 +439,7 @@ export interface Attachment { } export type AttachmentId = string; -export type AttachmentStatus = - | "CREATING" - | "DELETING" - | "FAILED" - | "ERROR" - | "SCALING" - | "READY"; +export type AttachmentStatus = "CREATING" | "DELETING" | "FAILED" | "ERROR" | "SCALING" | "READY"; export type AvailabilityZone = string; export interface AvailabilityZoneMapping { @@ -789,10 +480,7 @@ export interface CIDRSummary { } export type CollectionMember_String = string; -export type ConfigurationSyncState = - | "PENDING" - | "IN_SYNC" - | "CAPACITY_CONSTRAINED"; +export type ConfigurationSyncState = "PENDING" | "IN_SYNC" | "CAPACITY_CONSTRAINED"; export type Count = number; export interface CreateFirewallPolicyRequest { @@ -899,7 +587,8 @@ export interface DeleteNetworkFirewallTransitGatewayAttachmentResponse { export interface DeleteResourcePolicyRequest { ResourceArn: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export interface DeleteRuleGroupRequest { RuleGroupName?: string; RuleGroupArn?: string; @@ -1187,11 +876,7 @@ export interface FlowOperationMetadata { FlowOperationStatus?: FlowOperationStatus; } export type FlowOperations = Array; -export type FlowOperationStatus = - | "COMPLETED" - | "IN_PROGRESS" - | "FAILED" - | "COMPLETED_WITH_ERRORS"; +export type FlowOperationStatus = "COMPLETED" | "IN_PROGRESS" | "FAILED" | "COMPLETED_WITH_ERRORS"; export type FlowOperationType = "FLOW_FLUSH" | "FLOW_CAPTURE"; export type FlowRequestTimestamp = Date | string; @@ -1199,11 +884,7 @@ export type Flows = Array; export interface FlowTimeouts { TcpIdleTimeoutSeconds?: number; } -export type GeneratedRulesType = - | "ALLOWLIST" - | "DENYLIST" - | "REJECTLIST" - | "ALERTLIST"; +export type GeneratedRulesType = "ALLOWLIST" | "DENYLIST" | "REJECTLIST" | "ALERTLIST"; export interface GetAnalysisReportResultsRequest { FirewallName?: string; AnalysisReportId: string; @@ -1235,9 +916,7 @@ export interface Header { export interface Hits { Count?: number; } -export type IdentifiedType = - | "STATELESS_RULE_FORWARDING_ASYMMETRICALLY" - | "STATELESS_RULE_CONTAINS_TCP_FLAGS"; +export type IdentifiedType = "STATELESS_RULE_FORWARDING_ASYMMETRICALLY" | "STATELESS_RULE_CONTAINS_TCP_FLAGS"; export declare class InsufficientCapacityException extends EffectData.TaggedError( "InsufficientCapacityException", )<{ @@ -1408,10 +1087,7 @@ export declare class LogDestinationPermissionException extends EffectData.Tagged )<{ readonly Message?: string; }> {} -export type LogDestinationType = - | "S3" - | "CloudWatchLogs" - | "KinesisDataFirehose"; +export type LogDestinationType = "S3" | "CloudWatchLogs" | "KinesisDataFirehose"; export interface LoggingConfiguration { LogDestinationConfigs: Array; } @@ -1437,10 +1113,7 @@ export interface PerObjectStatus { SyncStatus?: PerObjectSyncStatus; UpdateToken?: string; } -export type PerObjectSyncStatus = - | "PENDING" - | "IN_SYNC" - | "CAPACITY_CONSTRAINED"; +export type PerObjectSyncStatus = "PENDING" | "IN_SYNC" | "CAPACITY_CONSTRAINED"; export type PolicyString = string; export interface PolicyVariables { @@ -1474,7 +1147,8 @@ export interface PutResourcePolicyRequest { ResourceArn: string; Policy: string; } -export interface PutResourcePolicyResponse {} +export interface PutResourcePolicyResponse { +} export interface ReferenceSets { IPSetReferences?: Record; } @@ -1492,10 +1166,7 @@ export type ResourceArn = string; export type ResourceId = string; export type ResourceManagedStatus = "MANAGED" | "ACCOUNT"; -export type ResourceManagedType = - | "AWS_MANAGED_THREAT_SIGNATURES" - | "AWS_MANAGED_DOMAIN_LISTS" - | "ACTIVE_THREAT_DEFENSE"; +export type ResourceManagedType = "AWS_MANAGED_THREAT_SIGNATURES" | "AWS_MANAGED_DOMAIN_LISTS" | "ACTIVE_THREAT_DEFENSE"; export type ResourceName = string; export declare class ResourceNotFoundException extends EffectData.TaggedError( @@ -1588,8 +1259,7 @@ export interface ServerCertificateConfiguration { CertificateAuthorityArn?: string; CheckCertificateRevocationStatus?: CheckCertificateRevocationStatusActions; } -export type ServerCertificateConfigurations = - Array; +export type ServerCertificateConfigurations = Array; export type ServerCertificates = Array; export interface ServerCertificateScope { Sources?: Array
; @@ -1670,28 +1340,7 @@ export type StatefulRuleGroupReferences = Array; export interface StatefulRuleOptions { RuleOrder?: RuleOrder; } -export type StatefulRuleProtocol = - | "IP" - | "TCP" - | "UDP" - | "ICMP" - | "HTTP" - | "FTP" - | "TLS" - | "SMB" - | "DNS" - | "DCERPC" - | "SSH" - | "SMTP" - | "IMAP" - | "MSN" - | "KRB5" - | "IKEV2" - | "TFTP" - | "NTP" - | "DHCP" - | "HTTP2" - | "QUIC"; +export type StatefulRuleProtocol = "IP" | "TCP" | "UDP" | "ICMP" | "HTTP" | "FTP" | "TLS" | "SMB" | "DNS" | "DCERPC" | "SSH" | "SMTP" | "IMAP" | "MSN" | "KRB5" | "IKEV2" | "TFTP" | "NTP" | "DHCP" | "HTTP2" | "QUIC"; export type StatefulRules = Array; export type StatelessActions = Array; export interface StatelessRule { @@ -1728,10 +1377,7 @@ export interface SummaryConfiguration { } export type SummaryRuleOption = "SID" | "MSG" | "METADATA"; export type SummaryRuleOptions = Array; -export type SupportedAvailabilityZones = Record< - string, - AvailabilityZoneMetadata ->; +export type SupportedAvailabilityZones = Record; export interface SyncState { Attachment?: Attachment; Config?: Record; @@ -1750,22 +1396,15 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsPaginationMaxResults = number; export type TagValue = string; export type TargetType = "TLS_SNI" | "HTTP_HOST"; export type TargetTypes = Array; -export type TCPFlag = - | "FIN" - | "SYN" - | "RST" - | "PSH" - | "ACK" - | "URG" - | "ECE" - | "CWR"; +export type TCPFlag = "FIN" | "SYN" | "RST" | "PSH" | "ACK" | "URG" | "ECE" | "CWR"; export interface TCPFlagField { Flags: Array; Masks?: Array; @@ -1804,20 +1443,10 @@ export interface TLSInspectionConfigurationResponse { Certificates?: Array; CertificateAuthority?: TlsCertificateData; } -export type TLSInspectionConfigurations = - Array; +export type TLSInspectionConfigurations = Array; export type TransitGatewayAttachmentId = string; -export type TransitGatewayAttachmentStatus = - | "CREATING" - | "DELETING" - | "DELETED" - | "FAILED" - | "ERROR" - | "READY" - | "PENDING_ACCEPTANCE" - | "REJECTING" - | "REJECTED"; +export type TransitGatewayAttachmentStatus = "CREATING" | "DELETING" | "DELETED" | "FAILED" | "ERROR" | "READY" | "PENDING_ACCEPTANCE" | "REJECTING" | "REJECTED"; export interface TransitGatewayAttachmentSyncState { AttachmentId?: string; TransitGatewayAttachmentStatus?: TransitGatewayAttachmentStatus; @@ -1839,7 +1468,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAvailabilityZoneChangeProtectionRequest { UpdateToken?: string; FirewallArn?: string; @@ -2674,17 +2304,5 @@ export declare namespace UpdateTLSInspectionConfiguration { | CommonAwsError; } -export type NetworkFirewallErrors = - | InsufficientCapacityException - | InternalServerError - | InvalidOperationException - | InvalidRequestException - | InvalidResourcePolicyException - | InvalidTokenException - | LimitExceededException - | LogDestinationPermissionException - | ResourceNotFoundException - | ResourceOwnerCheckException - | ThrottlingException - | UnsupportedOperationException - | CommonAwsError; +export type NetworkFirewallErrors = InsufficientCapacityException | InternalServerError | InvalidOperationException | InvalidRequestException | InvalidResourcePolicyException | InvalidTokenException | LimitExceededException | LogDestinationPermissionException | ResourceNotFoundException | ResourceOwnerCheckException | ThrottlingException | UnsupportedOperationException | CommonAwsError; + diff --git a/src/services/networkflowmonitor/index.ts b/src/services/networkflowmonitor/index.ts index 2447f797..1f94af53 100644 --- a/src/services/networkflowmonitor/index.ts +++ b/src/services/networkflowmonitor/index.ts @@ -5,23 +5,7 @@ import type { NetworkFlowMonitor as _NetworkFlowMonitorClient } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,43 +14,35 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "networkflowmonitor", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateMonitor: "POST /monitors", - CreateScope: "POST /scopes", - DeleteMonitor: "DELETE /monitors/{monitorName}", - DeleteScope: "DELETE /scopes/{scopeId}", - GetMonitor: "GET /monitors/{monitorName}", - GetQueryResultsMonitorTopContributors: - "GET /monitors/{monitorName}/topContributorsQueries/{queryId}/results", - GetQueryResultsWorkloadInsightsTopContributors: - "GET /workloadInsights/{scopeId}/topContributorsQueries/{queryId}/results", - GetQueryResultsWorkloadInsightsTopContributorsData: - "GET /workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/results", - GetQueryStatusMonitorTopContributors: - "GET /monitors/{monitorName}/topContributorsQueries/{queryId}/status", - GetQueryStatusWorkloadInsightsTopContributors: - "GET /workloadInsights/{scopeId}/topContributorsQueries/{queryId}/status", - GetQueryStatusWorkloadInsightsTopContributorsData: - "GET /workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/status", - GetScope: "GET /scopes/{scopeId}", - ListMonitors: "GET /monitors", - ListScopes: "GET /scopes", - StartQueryMonitorTopContributors: - "POST /monitors/{monitorName}/topContributorsQueries", - StartQueryWorkloadInsightsTopContributors: - "POST /workloadInsights/{scopeId}/topContributorsQueries", - StartQueryWorkloadInsightsTopContributorsData: - "POST /workloadInsights/{scopeId}/topContributorsDataQueries", - StopQueryMonitorTopContributors: - "DELETE /monitors/{monitorName}/topContributorsQueries/{queryId}", - StopQueryWorkloadInsightsTopContributors: - "DELETE /workloadInsights/{scopeId}/topContributorsQueries/{queryId}", - StopQueryWorkloadInsightsTopContributorsData: - "DELETE /workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}", - UpdateMonitor: "PATCH /monitors/{monitorName}", - UpdateScope: "PATCH /scopes/{scopeId}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateMonitor": "POST /monitors", + "CreateScope": "POST /scopes", + "DeleteMonitor": "DELETE /monitors/{monitorName}", + "DeleteScope": "DELETE /scopes/{scopeId}", + "GetMonitor": "GET /monitors/{monitorName}", + "GetQueryResultsMonitorTopContributors": "GET /monitors/{monitorName}/topContributorsQueries/{queryId}/results", + "GetQueryResultsWorkloadInsightsTopContributors": "GET /workloadInsights/{scopeId}/topContributorsQueries/{queryId}/results", + "GetQueryResultsWorkloadInsightsTopContributorsData": "GET /workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/results", + "GetQueryStatusMonitorTopContributors": "GET /monitors/{monitorName}/topContributorsQueries/{queryId}/status", + "GetQueryStatusWorkloadInsightsTopContributors": "GET /workloadInsights/{scopeId}/topContributorsQueries/{queryId}/status", + "GetQueryStatusWorkloadInsightsTopContributorsData": "GET /workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}/status", + "GetScope": "GET /scopes/{scopeId}", + "ListMonitors": "GET /monitors", + "ListScopes": "GET /scopes", + "StartQueryMonitorTopContributors": "POST /monitors/{monitorName}/topContributorsQueries", + "StartQueryWorkloadInsightsTopContributors": "POST /workloadInsights/{scopeId}/topContributorsQueries", + "StartQueryWorkloadInsightsTopContributorsData": "POST /workloadInsights/{scopeId}/topContributorsDataQueries", + "StopQueryMonitorTopContributors": "DELETE /monitors/{monitorName}/topContributorsQueries/{queryId}", + "StopQueryWorkloadInsightsTopContributors": "DELETE /workloadInsights/{scopeId}/topContributorsQueries/{queryId}", + "StopQueryWorkloadInsightsTopContributorsData": "DELETE /workloadInsights/{scopeId}/topContributorsDataQueries/{queryId}", + "UpdateMonitor": "PATCH /monitors/{monitorName}", + "UpdateScope": "PATCH /scopes/{scopeId}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/networkflowmonitor/types.ts b/src/services/networkflowmonitor/types.ts index 71ef3c6c..e0bc77ae 100644 --- a/src/services/networkflowmonitor/types.ts +++ b/src/services/networkflowmonitor/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class NetworkFlowMonitor extends AWSServiceClient { @@ -40,289 +8,151 @@ export declare class NetworkFlowMonitor extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createMonitor( input: CreateMonitorInput, ): Effect.Effect< CreateMonitorOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createScope( input: CreateScopeInput, ): Effect.Effect< CreateScopeOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteMonitor( input: DeleteMonitorInput, ): Effect.Effect< DeleteMonitorOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteScope( input: DeleteScopeInput, ): Effect.Effect< DeleteScopeOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getMonitor( input: GetMonitorInput, ): Effect.Effect< GetMonitorOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getQueryResultsMonitorTopContributors( input: GetQueryResultsMonitorTopContributorsInput, ): Effect.Effect< GetQueryResultsMonitorTopContributorsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getQueryResultsWorkloadInsightsTopContributors( input: GetQueryResultsWorkloadInsightsTopContributorsInput, ): Effect.Effect< GetQueryResultsWorkloadInsightsTopContributorsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getQueryResultsWorkloadInsightsTopContributorsData( input: GetQueryResultsWorkloadInsightsTopContributorsDataInput, ): Effect.Effect< GetQueryResultsWorkloadInsightsTopContributorsDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getQueryStatusMonitorTopContributors( input: GetQueryStatusMonitorTopContributorsInput, ): Effect.Effect< GetQueryStatusMonitorTopContributorsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getQueryStatusWorkloadInsightsTopContributors( input: GetQueryStatusWorkloadInsightsTopContributorsInput, ): Effect.Effect< GetQueryStatusWorkloadInsightsTopContributorsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getQueryStatusWorkloadInsightsTopContributorsData( input: GetQueryStatusWorkloadInsightsTopContributorsDataInput, ): Effect.Effect< GetQueryStatusWorkloadInsightsTopContributorsDataOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getScope( input: GetScopeInput, ): Effect.Effect< GetScopeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listMonitors( input: ListMonitorsInput, ): Effect.Effect< ListMonitorsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listScopes( input: ListScopesInput, ): Effect.Effect< ListScopesOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startQueryMonitorTopContributors( input: StartQueryMonitorTopContributorsInput, ): Effect.Effect< StartQueryMonitorTopContributorsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startQueryWorkloadInsightsTopContributors( input: StartQueryWorkloadInsightsTopContributorsInput, ): Effect.Effect< StartQueryWorkloadInsightsTopContributorsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startQueryWorkloadInsightsTopContributorsData( input: StartQueryWorkloadInsightsTopContributorsDataInput, ): Effect.Effect< StartQueryWorkloadInsightsTopContributorsDataOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopQueryMonitorTopContributors( input: StopQueryMonitorTopContributorsInput, ): Effect.Effect< StopQueryMonitorTopContributorsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopQueryWorkloadInsightsTopContributors( input: StopQueryWorkloadInsightsTopContributorsInput, ): Effect.Effect< StopQueryWorkloadInsightsTopContributorsOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopQueryWorkloadInsightsTopContributorsData( input: StopQueryWorkloadInsightsTopContributorsDataInput, ): Effect.Effect< StopQueryWorkloadInsightsTopContributorsDataOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateMonitor( input: UpdateMonitorInput, ): Effect.Effect< UpdateMonitorOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateScope( input: UpdateScopeInput, ): Effect.Effect< UpdateScopeOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -382,19 +212,14 @@ export interface CreateScopeOutput { export interface DeleteMonitorInput { monitorName: string; } -export interface DeleteMonitorOutput {} +export interface DeleteMonitorOutput { +} export interface DeleteScopeInput { scopeId: string; } -export interface DeleteScopeOutput {} -export type DestinationCategory = - | "INTRA_AZ" - | "INTER_AZ" - | "INTER_VPC" - | "UNCLASSIFIED" - | "AMAZON_S3" - | "AMAZON_DYNAMODB" - | "INTER_REGION"; +export interface DeleteScopeOutput { +} +export type DestinationCategory = "INTRA_AZ" | "INTER_AZ" | "INTER_VPC" | "UNCLASSIFIED" | "AMAZON_S3" | "AMAZON_DYNAMODB" | "INTER_REGION"; export interface GetMonitorInput { monitorName: string; } @@ -517,34 +342,7 @@ export interface ListTagsForResourceOutput { } export type MaxResults = number; -export type MetricUnit = - | "Seconds" - | "Microseconds" - | "Milliseconds" - | "Bytes" - | "Kilobytes" - | "Megabytes" - | "Gigabytes" - | "Terabytes" - | "Bits" - | "Kilobits" - | "Megabits" - | "Gigabits" - | "Terabits" - | "Percent" - | "Count" - | "Bytes/Second" - | "Kilobytes/Second" - | "Megabytes/Second" - | "Gigabytes/Second" - | "Terabytes/Second" - | "Bits/Second" - | "Kilobits/Second" - | "Megabits/Second" - | "Gigabits/Second" - | "Terabits/Second" - | "Count/Second" - | "None"; +export type MetricUnit = "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None"; export type MonitorArn = string; export type MonitorList = Array; @@ -553,33 +351,15 @@ export interface MonitorLocalResource { identifier: string; } export type MonitorLocalResources = Array; -export type MonitorLocalResourceType = - | "AWS::EC2::VPC" - | "AWS::AvailabilityZone" - | "AWS::EC2::Subnet" - | "AWS::Region"; -export type MonitorMetric = - | "ROUND_TRIP_TIME" - | "TIMEOUTS" - | "RETRANSMISSIONS" - | "DATA_TRANSFERRED"; +export type MonitorLocalResourceType = "AWS::EC2::VPC" | "AWS::AvailabilityZone" | "AWS::EC2::Subnet" | "AWS::Region"; +export type MonitorMetric = "ROUND_TRIP_TIME" | "TIMEOUTS" | "RETRANSMISSIONS" | "DATA_TRANSFERRED"; export interface MonitorRemoteResource { type: MonitorRemoteResourceType; identifier: string; } export type MonitorRemoteResources = Array; -export type MonitorRemoteResourceType = - | "AWS::EC2::VPC" - | "AWS::AvailabilityZone" - | "AWS::EC2::Subnet" - | "AWS::AWSService" - | "AWS::Region"; -export type MonitorStatus = - | "PENDING" - | "ACTIVE" - | "INACTIVE" - | "ERROR" - | "DELETING"; +export type MonitorRemoteResourceType = "AWS::EC2::VPC" | "AWS::AvailabilityZone" | "AWS::EC2::Subnet" | "AWS::AWSService" | "AWS::Region"; +export type MonitorStatus = "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING"; export interface MonitorSummary { monitorArn: string; monitorName: string; @@ -613,12 +393,7 @@ export interface MonitorTopContributorsRow { remoteVpcArn?: string; } export type MonitorTopContributorsRowList = Array; -export type QueryStatus = - | "QUEUED" - | "RUNNING" - | "SUCCEEDED" - | "FAILED" - | "CANCELED"; +export type QueryStatus = "QUEUED" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELED"; export type ResourceName = string; export declare class ResourceNotFoundException extends EffectData.TaggedError( @@ -628,12 +403,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( }> {} export type ScopeId = string; -export type ScopeStatus = - | "SUCCEEDED" - | "IN_PROGRESS" - | "FAILED" - | "DEACTIVATING" - | "DEACTIVATED"; +export type ScopeStatus = "SUCCEEDED" | "IN_PROGRESS" | "FAILED" | "DEACTIVATING" | "DEACTIVATED"; export interface ScopeSummary { scopeId: string; status: ScopeStatus; @@ -681,17 +451,20 @@ export interface StopQueryMonitorTopContributorsInput { monitorName: string; queryId: string; } -export interface StopQueryMonitorTopContributorsOutput {} +export interface StopQueryMonitorTopContributorsOutput { +} export interface StopQueryWorkloadInsightsTopContributorsDataInput { scopeId: string; queryId: string; } -export interface StopQueryWorkloadInsightsTopContributorsDataOutput {} +export interface StopQueryWorkloadInsightsTopContributorsDataOutput { +} export interface StopQueryWorkloadInsightsTopContributorsInput { scopeId: string; queryId: string; } -export interface StopQueryWorkloadInsightsTopContributorsOutput {} +export interface StopQueryWorkloadInsightsTopContributorsOutput { +} export type SubnetArn = string; export type SubnetId = string; @@ -704,14 +477,15 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; interface _TargetId { accountId?: string; } -export type TargetId = _TargetId & { accountId: string }; +export type TargetId = (_TargetId & { accountId: string }); export interface TargetIdentifier { targetId: TargetId; targetType: TargetType; @@ -738,7 +512,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateMonitorInput { monitorName: string; localResourcesToAdd?: Array; @@ -779,17 +554,13 @@ export type VpcArn = string; export type VpcId = string; -export type WorkloadInsightsMetric = - | "TIMEOUTS" - | "RETRANSMISSIONS" - | "DATA_TRANSFERRED"; +export type WorkloadInsightsMetric = "TIMEOUTS" | "RETRANSMISSIONS" | "DATA_TRANSFERRED"; export interface WorkloadInsightsTopContributorsDataPoint { timestamps: Array; values: Array; label: string; } -export type WorkloadInsightsTopContributorsDataPoints = - Array; +export type WorkloadInsightsTopContributorsDataPoints = Array; export interface WorkloadInsightsTopContributorsRow { accountId?: string; localSubnetId?: string; @@ -801,11 +572,8 @@ export interface WorkloadInsightsTopContributorsRow { localSubnetArn?: string; localVpcArn?: string; } -export type WorkloadInsightsTopContributorsRowList = - Array; -export type WorkloadInsightsTopContributorsTimestampsList = Array< - Date | string ->; +export type WorkloadInsightsTopContributorsRowList = Array; +export type WorkloadInsightsTopContributorsTimestampsList = Array; export type WorkloadInsightsTopContributorsValuesList = Array; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceInput; @@ -1120,12 +888,5 @@ export declare namespace UpdateScope { | CommonAwsError; } -export type NetworkFlowMonitorErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type NetworkFlowMonitorErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/networkmanager/index.ts b/src/services/networkmanager/index.ts index f2c98d29..3575e8bd 100644 --- a/src/services/networkmanager/index.ts +++ b/src/services/networkmanager/index.ts @@ -5,23 +5,7 @@ import type { NetworkManager as _NetworkManagerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,132 +15,94 @@ const metadata = { sigV4ServiceName: "networkmanager", endpointPrefix: "networkmanager", operations: { - AcceptAttachment: "POST /attachments/{AttachmentId}/accept", - AssociateConnectPeer: - "POST /global-networks/{GlobalNetworkId}/connect-peer-associations", - AssociateCustomerGateway: - "POST /global-networks/{GlobalNetworkId}/customer-gateway-associations", - AssociateLink: "POST /global-networks/{GlobalNetworkId}/link-associations", - AssociateTransitGatewayConnectPeer: - "POST /global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations", - CreateConnectAttachment: "POST /connect-attachments", - CreateConnection: "POST /global-networks/{GlobalNetworkId}/connections", - CreateConnectPeer: "POST /connect-peers", - CreateCoreNetwork: "POST /core-networks", - CreateDevice: "POST /global-networks/{GlobalNetworkId}/devices", - CreateDirectConnectGatewayAttachment: - "POST /direct-connect-gateway-attachments", - CreateGlobalNetwork: "POST /global-networks", - CreateLink: "POST /global-networks/{GlobalNetworkId}/links", - CreateSite: "POST /global-networks/{GlobalNetworkId}/sites", - CreateSiteToSiteVpnAttachment: "POST /site-to-site-vpn-attachments", - CreateTransitGatewayPeering: "POST /transit-gateway-peerings", - CreateTransitGatewayRouteTableAttachment: - "POST /transit-gateway-route-table-attachments", - CreateVpcAttachment: "POST /vpc-attachments", - DeleteAttachment: "DELETE /attachments/{AttachmentId}", - DeleteConnection: - "DELETE /global-networks/{GlobalNetworkId}/connections/{ConnectionId}", - DeleteConnectPeer: "DELETE /connect-peers/{ConnectPeerId}", - DeleteCoreNetwork: "DELETE /core-networks/{CoreNetworkId}", - DeleteCoreNetworkPolicyVersion: - "DELETE /core-networks/{CoreNetworkId}/core-network-policy-versions/{PolicyVersionId}", - DeleteDevice: - "DELETE /global-networks/{GlobalNetworkId}/devices/{DeviceId}", - DeleteGlobalNetwork: "DELETE /global-networks/{GlobalNetworkId}", - DeleteLink: "DELETE /global-networks/{GlobalNetworkId}/links/{LinkId}", - DeletePeering: "DELETE /peerings/{PeeringId}", - DeleteResourcePolicy: "DELETE /resource-policy/{ResourceArn}", - DeleteSite: "DELETE /global-networks/{GlobalNetworkId}/sites/{SiteId}", - DeregisterTransitGateway: - "DELETE /global-networks/{GlobalNetworkId}/transit-gateway-registrations/{TransitGatewayArn}", - DescribeGlobalNetworks: "GET /global-networks", - DisassociateConnectPeer: - "DELETE /global-networks/{GlobalNetworkId}/connect-peer-associations/{ConnectPeerId}", - DisassociateCustomerGateway: - "DELETE /global-networks/{GlobalNetworkId}/customer-gateway-associations/{CustomerGatewayArn}", - DisassociateLink: - "DELETE /global-networks/{GlobalNetworkId}/link-associations", - DisassociateTransitGatewayConnectPeer: - "DELETE /global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations/{TransitGatewayConnectPeerArn}", - ExecuteCoreNetworkChangeSet: - "POST /core-networks/{CoreNetworkId}/core-network-change-sets/{PolicyVersionId}/execute", - GetConnectAttachment: "GET /connect-attachments/{AttachmentId}", - GetConnections: "GET /global-networks/{GlobalNetworkId}/connections", - GetConnectPeer: "GET /connect-peers/{ConnectPeerId}", - GetConnectPeerAssociations: - "GET /global-networks/{GlobalNetworkId}/connect-peer-associations", - GetCoreNetwork: "GET /core-networks/{CoreNetworkId}", - GetCoreNetworkChangeEvents: - "GET /core-networks/{CoreNetworkId}/core-network-change-events/{PolicyVersionId}", - GetCoreNetworkChangeSet: - "GET /core-networks/{CoreNetworkId}/core-network-change-sets/{PolicyVersionId}", - GetCoreNetworkPolicy: - "GET /core-networks/{CoreNetworkId}/core-network-policy", - GetCustomerGatewayAssociations: - "GET /global-networks/{GlobalNetworkId}/customer-gateway-associations", - GetDevices: "GET /global-networks/{GlobalNetworkId}/devices", - GetDirectConnectGatewayAttachment: - "GET /direct-connect-gateway-attachments/{AttachmentId}", - GetLinkAssociations: - "GET /global-networks/{GlobalNetworkId}/link-associations", - GetLinks: "GET /global-networks/{GlobalNetworkId}/links", - GetNetworkResourceCounts: - "GET /global-networks/{GlobalNetworkId}/network-resource-count", - GetNetworkResourceRelationships: - "GET /global-networks/{GlobalNetworkId}/network-resource-relationships", - GetNetworkResources: - "GET /global-networks/{GlobalNetworkId}/network-resources", - GetNetworkRoutes: "POST /global-networks/{GlobalNetworkId}/network-routes", - GetNetworkTelemetry: - "GET /global-networks/{GlobalNetworkId}/network-telemetry", - GetResourcePolicy: "GET /resource-policy/{ResourceArn}", - GetRouteAnalysis: - "GET /global-networks/{GlobalNetworkId}/route-analyses/{RouteAnalysisId}", - GetSites: "GET /global-networks/{GlobalNetworkId}/sites", - GetSiteToSiteVpnAttachment: - "GET /site-to-site-vpn-attachments/{AttachmentId}", - GetTransitGatewayConnectPeerAssociations: - "GET /global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations", - GetTransitGatewayPeering: "GET /transit-gateway-peerings/{PeeringId}", - GetTransitGatewayRegistrations: - "GET /global-networks/{GlobalNetworkId}/transit-gateway-registrations", - GetTransitGatewayRouteTableAttachment: - "GET /transit-gateway-route-table-attachments/{AttachmentId}", - GetVpcAttachment: "GET /vpc-attachments/{AttachmentId}", - ListAttachments: "GET /attachments", - ListConnectPeers: "GET /connect-peers", - ListCoreNetworkPolicyVersions: - "GET /core-networks/{CoreNetworkId}/core-network-policy-versions", - ListCoreNetworks: "GET /core-networks", - ListOrganizationServiceAccessStatus: "GET /organizations/service-access", - ListPeerings: "GET /peerings", - ListTagsForResource: "GET /tags/{ResourceArn}", - PutCoreNetworkPolicy: - "POST /core-networks/{CoreNetworkId}/core-network-policy", - PutResourcePolicy: "POST /resource-policy/{ResourceArn}", - RegisterTransitGateway: - "POST /global-networks/{GlobalNetworkId}/transit-gateway-registrations", - RejectAttachment: "POST /attachments/{AttachmentId}/reject", - RestoreCoreNetworkPolicyVersion: - "POST /core-networks/{CoreNetworkId}/core-network-policy-versions/{PolicyVersionId}/restore", - StartOrganizationServiceAccessUpdate: "POST /organizations/service-access", - StartRouteAnalysis: - "POST /global-networks/{GlobalNetworkId}/route-analyses", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateConnection: - "PATCH /global-networks/{GlobalNetworkId}/connections/{ConnectionId}", - UpdateCoreNetwork: "PATCH /core-networks/{CoreNetworkId}", - UpdateDevice: "PATCH /global-networks/{GlobalNetworkId}/devices/{DeviceId}", - UpdateDirectConnectGatewayAttachment: - "PATCH /direct-connect-gateway-attachments/{AttachmentId}", - UpdateGlobalNetwork: "PATCH /global-networks/{GlobalNetworkId}", - UpdateLink: "PATCH /global-networks/{GlobalNetworkId}/links/{LinkId}", - UpdateNetworkResourceMetadata: - "PATCH /global-networks/{GlobalNetworkId}/network-resources/{ResourceArn}/metadata", - UpdateSite: "PATCH /global-networks/{GlobalNetworkId}/sites/{SiteId}", - UpdateVpcAttachment: "PATCH /vpc-attachments/{AttachmentId}", + "AcceptAttachment": "POST /attachments/{AttachmentId}/accept", + "AssociateConnectPeer": "POST /global-networks/{GlobalNetworkId}/connect-peer-associations", + "AssociateCustomerGateway": "POST /global-networks/{GlobalNetworkId}/customer-gateway-associations", + "AssociateLink": "POST /global-networks/{GlobalNetworkId}/link-associations", + "AssociateTransitGatewayConnectPeer": "POST /global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations", + "CreateConnectAttachment": "POST /connect-attachments", + "CreateConnection": "POST /global-networks/{GlobalNetworkId}/connections", + "CreateConnectPeer": "POST /connect-peers", + "CreateCoreNetwork": "POST /core-networks", + "CreateDevice": "POST /global-networks/{GlobalNetworkId}/devices", + "CreateDirectConnectGatewayAttachment": "POST /direct-connect-gateway-attachments", + "CreateGlobalNetwork": "POST /global-networks", + "CreateLink": "POST /global-networks/{GlobalNetworkId}/links", + "CreateSite": "POST /global-networks/{GlobalNetworkId}/sites", + "CreateSiteToSiteVpnAttachment": "POST /site-to-site-vpn-attachments", + "CreateTransitGatewayPeering": "POST /transit-gateway-peerings", + "CreateTransitGatewayRouteTableAttachment": "POST /transit-gateway-route-table-attachments", + "CreateVpcAttachment": "POST /vpc-attachments", + "DeleteAttachment": "DELETE /attachments/{AttachmentId}", + "DeleteConnection": "DELETE /global-networks/{GlobalNetworkId}/connections/{ConnectionId}", + "DeleteConnectPeer": "DELETE /connect-peers/{ConnectPeerId}", + "DeleteCoreNetwork": "DELETE /core-networks/{CoreNetworkId}", + "DeleteCoreNetworkPolicyVersion": "DELETE /core-networks/{CoreNetworkId}/core-network-policy-versions/{PolicyVersionId}", + "DeleteDevice": "DELETE /global-networks/{GlobalNetworkId}/devices/{DeviceId}", + "DeleteGlobalNetwork": "DELETE /global-networks/{GlobalNetworkId}", + "DeleteLink": "DELETE /global-networks/{GlobalNetworkId}/links/{LinkId}", + "DeletePeering": "DELETE /peerings/{PeeringId}", + "DeleteResourcePolicy": "DELETE /resource-policy/{ResourceArn}", + "DeleteSite": "DELETE /global-networks/{GlobalNetworkId}/sites/{SiteId}", + "DeregisterTransitGateway": "DELETE /global-networks/{GlobalNetworkId}/transit-gateway-registrations/{TransitGatewayArn}", + "DescribeGlobalNetworks": "GET /global-networks", + "DisassociateConnectPeer": "DELETE /global-networks/{GlobalNetworkId}/connect-peer-associations/{ConnectPeerId}", + "DisassociateCustomerGateway": "DELETE /global-networks/{GlobalNetworkId}/customer-gateway-associations/{CustomerGatewayArn}", + "DisassociateLink": "DELETE /global-networks/{GlobalNetworkId}/link-associations", + "DisassociateTransitGatewayConnectPeer": "DELETE /global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations/{TransitGatewayConnectPeerArn}", + "ExecuteCoreNetworkChangeSet": "POST /core-networks/{CoreNetworkId}/core-network-change-sets/{PolicyVersionId}/execute", + "GetConnectAttachment": "GET /connect-attachments/{AttachmentId}", + "GetConnections": "GET /global-networks/{GlobalNetworkId}/connections", + "GetConnectPeer": "GET /connect-peers/{ConnectPeerId}", + "GetConnectPeerAssociations": "GET /global-networks/{GlobalNetworkId}/connect-peer-associations", + "GetCoreNetwork": "GET /core-networks/{CoreNetworkId}", + "GetCoreNetworkChangeEvents": "GET /core-networks/{CoreNetworkId}/core-network-change-events/{PolicyVersionId}", + "GetCoreNetworkChangeSet": "GET /core-networks/{CoreNetworkId}/core-network-change-sets/{PolicyVersionId}", + "GetCoreNetworkPolicy": "GET /core-networks/{CoreNetworkId}/core-network-policy", + "GetCustomerGatewayAssociations": "GET /global-networks/{GlobalNetworkId}/customer-gateway-associations", + "GetDevices": "GET /global-networks/{GlobalNetworkId}/devices", + "GetDirectConnectGatewayAttachment": "GET /direct-connect-gateway-attachments/{AttachmentId}", + "GetLinkAssociations": "GET /global-networks/{GlobalNetworkId}/link-associations", + "GetLinks": "GET /global-networks/{GlobalNetworkId}/links", + "GetNetworkResourceCounts": "GET /global-networks/{GlobalNetworkId}/network-resource-count", + "GetNetworkResourceRelationships": "GET /global-networks/{GlobalNetworkId}/network-resource-relationships", + "GetNetworkResources": "GET /global-networks/{GlobalNetworkId}/network-resources", + "GetNetworkRoutes": "POST /global-networks/{GlobalNetworkId}/network-routes", + "GetNetworkTelemetry": "GET /global-networks/{GlobalNetworkId}/network-telemetry", + "GetResourcePolicy": "GET /resource-policy/{ResourceArn}", + "GetRouteAnalysis": "GET /global-networks/{GlobalNetworkId}/route-analyses/{RouteAnalysisId}", + "GetSites": "GET /global-networks/{GlobalNetworkId}/sites", + "GetSiteToSiteVpnAttachment": "GET /site-to-site-vpn-attachments/{AttachmentId}", + "GetTransitGatewayConnectPeerAssociations": "GET /global-networks/{GlobalNetworkId}/transit-gateway-connect-peer-associations", + "GetTransitGatewayPeering": "GET /transit-gateway-peerings/{PeeringId}", + "GetTransitGatewayRegistrations": "GET /global-networks/{GlobalNetworkId}/transit-gateway-registrations", + "GetTransitGatewayRouteTableAttachment": "GET /transit-gateway-route-table-attachments/{AttachmentId}", + "GetVpcAttachment": "GET /vpc-attachments/{AttachmentId}", + "ListAttachments": "GET /attachments", + "ListConnectPeers": "GET /connect-peers", + "ListCoreNetworkPolicyVersions": "GET /core-networks/{CoreNetworkId}/core-network-policy-versions", + "ListCoreNetworks": "GET /core-networks", + "ListOrganizationServiceAccessStatus": "GET /organizations/service-access", + "ListPeerings": "GET /peerings", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "PutCoreNetworkPolicy": "POST /core-networks/{CoreNetworkId}/core-network-policy", + "PutResourcePolicy": "POST /resource-policy/{ResourceArn}", + "RegisterTransitGateway": "POST /global-networks/{GlobalNetworkId}/transit-gateway-registrations", + "RejectAttachment": "POST /attachments/{AttachmentId}/reject", + "RestoreCoreNetworkPolicyVersion": "POST /core-networks/{CoreNetworkId}/core-network-policy-versions/{PolicyVersionId}/restore", + "StartOrganizationServiceAccessUpdate": "POST /organizations/service-access", + "StartRouteAnalysis": "POST /global-networks/{GlobalNetworkId}/route-analyses", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateConnection": "PATCH /global-networks/{GlobalNetworkId}/connections/{ConnectionId}", + "UpdateCoreNetwork": "PATCH /core-networks/{CoreNetworkId}", + "UpdateDevice": "PATCH /global-networks/{GlobalNetworkId}/devices/{DeviceId}", + "UpdateDirectConnectGatewayAttachment": "PATCH /direct-connect-gateway-attachments/{AttachmentId}", + "UpdateGlobalNetwork": "PATCH /global-networks/{GlobalNetworkId}", + "UpdateLink": "PATCH /global-networks/{GlobalNetworkId}/links/{LinkId}", + "UpdateNetworkResourceMetadata": "PATCH /global-networks/{GlobalNetworkId}/network-resources/{ResourceArn}/metadata", + "UpdateSite": "PATCH /global-networks/{GlobalNetworkId}/sites/{SiteId}", + "UpdateVpcAttachment": "PATCH /vpc-attachments/{AttachmentId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/networkmanager/types.ts b/src/services/networkmanager/types.ts index fbaaacd2..8dfb1f32 100644 --- a/src/services/networkmanager/types.ts +++ b/src/services/networkmanager/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class NetworkManager extends AWSServiceClient { @@ -40,1021 +8,529 @@ export declare class NetworkManager extends AWSServiceClient { input: AcceptAttachmentRequest, ): Effect.Effect< AcceptAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateConnectPeer( input: AssociateConnectPeerRequest, ): Effect.Effect< AssociateConnectPeerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateCustomerGateway( input: AssociateCustomerGatewayRequest, ): Effect.Effect< AssociateCustomerGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateLink( input: AssociateLinkRequest, ): Effect.Effect< AssociateLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateTransitGatewayConnectPeer( input: AssociateTransitGatewayConnectPeerRequest, ): Effect.Effect< AssociateTransitGatewayConnectPeerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConnectAttachment( input: CreateConnectAttachmentRequest, ): Effect.Effect< CreateConnectAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createConnection( input: CreateConnectionRequest, ): Effect.Effect< CreateConnectionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConnectPeer( input: CreateConnectPeerRequest, ): Effect.Effect< CreateConnectPeerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createCoreNetwork( input: CreateCoreNetworkRequest, ): Effect.Effect< CreateCoreNetworkResponse, - | AccessDeniedException - | ConflictException - | CoreNetworkPolicyException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | CoreNetworkPolicyException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDevice( input: CreateDeviceRequest, ): Effect.Effect< CreateDeviceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDirectConnectGatewayAttachment( input: CreateDirectConnectGatewayAttachmentRequest, ): Effect.Effect< CreateDirectConnectGatewayAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createGlobalNetwork( input: CreateGlobalNetworkRequest, ): Effect.Effect< CreateGlobalNetworkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLink( input: CreateLinkRequest, ): Effect.Effect< CreateLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSite( input: CreateSiteRequest, ): Effect.Effect< CreateSiteResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSiteToSiteVpnAttachment( input: CreateSiteToSiteVpnAttachmentRequest, ): Effect.Effect< CreateSiteToSiteVpnAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createTransitGatewayPeering( input: CreateTransitGatewayPeeringRequest, ): Effect.Effect< CreateTransitGatewayPeeringResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createTransitGatewayRouteTableAttachment( input: CreateTransitGatewayRouteTableAttachmentRequest, ): Effect.Effect< CreateTransitGatewayRouteTableAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createVpcAttachment( input: CreateVpcAttachmentRequest, ): Effect.Effect< CreateVpcAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAttachment( input: DeleteAttachmentRequest, ): Effect.Effect< DeleteAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConnection( input: DeleteConnectionRequest, ): Effect.Effect< DeleteConnectionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConnectPeer( input: DeleteConnectPeerRequest, ): Effect.Effect< DeleteConnectPeerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCoreNetwork( input: DeleteCoreNetworkRequest, ): Effect.Effect< DeleteCoreNetworkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCoreNetworkPolicyVersion( input: DeleteCoreNetworkPolicyVersionRequest, ): Effect.Effect< DeleteCoreNetworkPolicyVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDevice( input: DeleteDeviceRequest, ): Effect.Effect< DeleteDeviceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteGlobalNetwork( input: DeleteGlobalNetworkRequest, ): Effect.Effect< DeleteGlobalNetworkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteLink( input: DeleteLinkRequest, ): Effect.Effect< DeleteLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePeering( input: DeletePeeringRequest, ): Effect.Effect< DeletePeeringResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteSite( input: DeleteSiteRequest, ): Effect.Effect< DeleteSiteResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deregisterTransitGateway( input: DeregisterTransitGatewayRequest, ): Effect.Effect< DeregisterTransitGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeGlobalNetworks( input: DescribeGlobalNetworksRequest, ): Effect.Effect< DescribeGlobalNetworksResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateConnectPeer( input: DisassociateConnectPeerRequest, ): Effect.Effect< DisassociateConnectPeerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateCustomerGateway( input: DisassociateCustomerGatewayRequest, ): Effect.Effect< DisassociateCustomerGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateLink( input: DisassociateLinkRequest, ): Effect.Effect< DisassociateLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateTransitGatewayConnectPeer( input: DisassociateTransitGatewayConnectPeerRequest, ): Effect.Effect< DisassociateTransitGatewayConnectPeerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; executeCoreNetworkChangeSet( input: ExecuteCoreNetworkChangeSetRequest, ): Effect.Effect< ExecuteCoreNetworkChangeSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConnectAttachment( input: GetConnectAttachmentRequest, ): Effect.Effect< GetConnectAttachmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConnections( input: GetConnectionsRequest, ): Effect.Effect< GetConnectionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConnectPeer( input: GetConnectPeerRequest, ): Effect.Effect< GetConnectPeerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConnectPeerAssociations( input: GetConnectPeerAssociationsRequest, ): Effect.Effect< GetConnectPeerAssociationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCoreNetwork( input: GetCoreNetworkRequest, ): Effect.Effect< GetCoreNetworkResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCoreNetworkChangeEvents( input: GetCoreNetworkChangeEventsRequest, ): Effect.Effect< GetCoreNetworkChangeEventsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCoreNetworkChangeSet( input: GetCoreNetworkChangeSetRequest, ): Effect.Effect< GetCoreNetworkChangeSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCoreNetworkPolicy( input: GetCoreNetworkPolicyRequest, ): Effect.Effect< GetCoreNetworkPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCustomerGatewayAssociations( input: GetCustomerGatewayAssociationsRequest, ): Effect.Effect< GetCustomerGatewayAssociationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDevices( input: GetDevicesRequest, ): Effect.Effect< GetDevicesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDirectConnectGatewayAttachment( input: GetDirectConnectGatewayAttachmentRequest, ): Effect.Effect< GetDirectConnectGatewayAttachmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLinkAssociations( input: GetLinkAssociationsRequest, ): Effect.Effect< GetLinkAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLinks( input: GetLinksRequest, ): Effect.Effect< GetLinksResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNetworkResourceCounts( input: GetNetworkResourceCountsRequest, ): Effect.Effect< GetNetworkResourceCountsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getNetworkResourceRelationships( input: GetNetworkResourceRelationshipsRequest, ): Effect.Effect< GetNetworkResourceRelationshipsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNetworkResources( input: GetNetworkResourcesRequest, ): Effect.Effect< GetNetworkResourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNetworkRoutes( input: GetNetworkRoutesRequest, ): Effect.Effect< GetNetworkRoutesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNetworkTelemetry( input: GetNetworkTelemetryRequest, ): Effect.Effect< GetNetworkTelemetryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getRouteAnalysis( input: GetRouteAnalysisRequest, ): Effect.Effect< GetRouteAnalysisResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSites( input: GetSitesRequest, ): Effect.Effect< GetSitesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSiteToSiteVpnAttachment( input: GetSiteToSiteVpnAttachmentRequest, ): Effect.Effect< GetSiteToSiteVpnAttachmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTransitGatewayConnectPeerAssociations( input: GetTransitGatewayConnectPeerAssociationsRequest, ): Effect.Effect< GetTransitGatewayConnectPeerAssociationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTransitGatewayPeering( input: GetTransitGatewayPeeringRequest, ): Effect.Effect< GetTransitGatewayPeeringResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTransitGatewayRegistrations( input: GetTransitGatewayRegistrationsRequest, ): Effect.Effect< GetTransitGatewayRegistrationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTransitGatewayRouteTableAttachment( input: GetTransitGatewayRouteTableAttachmentRequest, ): Effect.Effect< GetTransitGatewayRouteTableAttachmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getVpcAttachment( input: GetVpcAttachmentRequest, ): Effect.Effect< GetVpcAttachmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAttachments( input: ListAttachmentsRequest, ): Effect.Effect< ListAttachmentsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listConnectPeers( input: ListConnectPeersRequest, ): Effect.Effect< ListConnectPeersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCoreNetworkPolicyVersions( input: ListCoreNetworkPolicyVersionsRequest, ): Effect.Effect< ListCoreNetworkPolicyVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCoreNetworks( input: ListCoreNetworksRequest, ): Effect.Effect< ListCoreNetworksResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listOrganizationServiceAccessStatus( input: ListOrganizationServiceAccessStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + ListOrganizationServiceAccessStatusResponse, + CommonAwsError + >; listPeerings( input: ListPeeringsRequest, ): Effect.Effect< ListPeeringsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putCoreNetworkPolicy( input: PutCoreNetworkPolicyRequest, ): Effect.Effect< PutCoreNetworkPolicyResponse, - | AccessDeniedException - | ConflictException - | CoreNetworkPolicyException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | CoreNetworkPolicyException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; registerTransitGateway( input: RegisterTransitGatewayRequest, ): Effect.Effect< RegisterTransitGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; rejectAttachment( input: RejectAttachmentRequest, ): Effect.Effect< RejectAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; restoreCoreNetworkPolicyVersion( input: RestoreCoreNetworkPolicyVersionRequest, ): Effect.Effect< RestoreCoreNetworkPolicyVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startOrganizationServiceAccessUpdate( input: StartOrganizationServiceAccessUpdateRequest, ): Effect.Effect< StartOrganizationServiceAccessUpdateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startRouteAnalysis( input: StartRouteAnalysisRequest, ): Effect.Effect< StartRouteAnalysisResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateConnection( input: UpdateConnectionRequest, ): Effect.Effect< UpdateConnectionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCoreNetwork( input: UpdateCoreNetworkRequest, ): Effect.Effect< UpdateCoreNetworkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDevice( input: UpdateDeviceRequest, ): Effect.Effect< UpdateDeviceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDirectConnectGatewayAttachment( input: UpdateDirectConnectGatewayAttachmentRequest, ): Effect.Effect< UpdateDirectConnectGatewayAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateGlobalNetwork( input: UpdateGlobalNetworkRequest, ): Effect.Effect< UpdateGlobalNetworkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateLink( input: UpdateLinkRequest, ): Effect.Effect< UpdateLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateNetworkResourceMetadata( input: UpdateNetworkResourceMetadataRequest, ): Effect.Effect< UpdateNetworkResourceMetadataResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSite( input: UpdateSiteRequest, ): Effect.Effect< UpdateSiteResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateVpcAttachment( input: UpdateVpcAttachmentRequest, ): Effect.Effect< UpdateVpcAttachmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1141,38 +617,13 @@ export interface AttachmentError { ResourceArn?: string; RequestId?: string; } -export type AttachmentErrorCode = - | "VPC_NOT_FOUND" - | "SUBNET_NOT_FOUND" - | "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" - | "SUBNET_NO_FREE_ADDRESSES" - | "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" - | "SUBNET_NO_IPV6_CIDRS" - | "VPN_CONNECTION_NOT_FOUND" - | "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" - | "DIRECT_CONNECT_GATEWAY_NOT_FOUND" - | "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" - | "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"; +export type AttachmentErrorCode = "VPC_NOT_FOUND" | "SUBNET_NOT_FOUND" | "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" | "SUBNET_NO_FREE_ADDRESSES" | "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" | "SUBNET_NO_IPV6_CIDRS" | "VPN_CONNECTION_NOT_FOUND" | "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" | "DIRECT_CONNECT_GATEWAY_NOT_FOUND" | "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" | "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF"; export type AttachmentErrorList = Array; export type AttachmentId = string; export type AttachmentList = Array; -export type AttachmentState = - | "REJECTED" - | "PENDING_ATTACHMENT_ACCEPTANCE" - | "CREATING" - | "FAILED" - | "AVAILABLE" - | "UPDATING" - | "PENDING_NETWORK_UPDATE" - | "PENDING_TAG_ACCEPTANCE" - | "DELETING"; -export type AttachmentType = - | "CONNECT" - | "SITE_TO_SITE_VPN" - | "VPC" - | "DIRECT_CONNECT_GATEWAY" - | "TRANSIT_GATEWAY_ROUTE_TABLE"; +export type AttachmentState = "REJECTED" | "PENDING_ATTACHMENT_ACCEPTANCE" | "CREATING" | "FAILED" | "AVAILABLE" | "UPDATING" | "PENDING_NETWORK_UPDATE" | "PENDING_TAG_ACCEPTANCE" | "DELETING"; +export type AttachmentType = "CONNECT" | "SITE_TO_SITE_VPN" | "VPC" | "DIRECT_CONNECT_GATEWAY" | "TRANSIT_GATEWAY_ROUTE_TABLE"; export type AWSAccountId = string; export interface AWSLocation { @@ -1189,29 +640,9 @@ export interface BgpOptions { export type NetworkmanagerBoolean = boolean; export type ChangeAction = "ADD" | "MODIFY" | "REMOVE"; -export type ChangeSetState = - | "PENDING_GENERATION" - | "FAILED_GENERATION" - | "READY_TO_EXECUTE" - | "EXECUTING" - | "EXECUTION_SUCCEEDED" - | "OUT_OF_DATE"; -export type ChangeStatus = - | "NOT_STARTED" - | "IN_PROGRESS" - | "COMPLETE" - | "FAILED"; -export type ChangeType = - | "CORE_NETWORK_SEGMENT" - | "NETWORK_FUNCTION_GROUP" - | "CORE_NETWORK_EDGE" - | "ATTACHMENT_MAPPING" - | "ATTACHMENT_ROUTE_PROPAGATION" - | "ATTACHMENT_ROUTE_STATIC" - | "CORE_NETWORK_CONFIGURATION" - | "SEGMENTS_CONFIGURATION" - | "SEGMENT_ACTIONS_CONFIGURATION" - | "ATTACHMENT_POLICIES_CONFIGURATION"; +export type ChangeSetState = "PENDING_GENERATION" | "FAILED_GENERATION" | "READY_TO_EXECUTE" | "EXECUTING" | "EXECUTION_SUCCEEDED" | "OUT_OF_DATE"; +export type ChangeStatus = "NOT_STARTED" | "IN_PROGRESS" | "COMPLETE" | "FAILED"; +export type ChangeType = "CORE_NETWORK_SEGMENT" | "NETWORK_FUNCTION_GROUP" | "CORE_NETWORK_EDGE" | "ATTACHMENT_MAPPING" | "ATTACHMENT_ROUTE_PROPAGATION" | "ATTACHMENT_ROUTE_STATIC" | "CORE_NETWORK_CONFIGURATION" | "SEGMENTS_CONFIGURATION" | "SEGMENT_ACTIONS_CONFIGURATION" | "ATTACHMENT_POLICIES_CONFIGURATION"; export type ClientToken = string; export declare class ConflictException extends EffectData.TaggedError( @@ -1276,19 +707,14 @@ export interface ConnectPeerAssociation { State?: ConnectPeerAssociationState; } export type ConnectPeerAssociationList = Array; -export type ConnectPeerAssociationState = - | "PENDING" - | "AVAILABLE" - | "DELETING" - | "DELETED"; +export type ConnectPeerAssociationState = "PENDING" | "AVAILABLE" | "DELETING" | "DELETED"; export interface ConnectPeerBgpConfiguration { CoreNetworkAsn?: number; PeerAsn?: number; CoreNetworkAddress?: string; PeerAddress?: string; } -export type ConnectPeerBgpConfigurationList = - Array; +export type ConnectPeerBgpConfigurationList = Array; export interface ConnectPeerConfiguration { CoreNetworkAddress?: string; PeerAddress?: string; @@ -1302,13 +728,7 @@ export interface ConnectPeerError { ResourceArn?: string; RequestId?: string; } -export type ConnectPeerErrorCode = - | "EDGE_LOCATION_NO_FREE_IPS" - | "EDGE_LOCATION_PEER_DUPLICATE" - | "SUBNET_NOT_FOUND" - | "IP_OUTSIDE_SUBNET_CIDR_RANGE" - | "INVALID_INSIDE_CIDR_BLOCK" - | "NO_ASSOCIATED_CIDR_BLOCK"; +export type ConnectPeerErrorCode = "EDGE_LOCATION_NO_FREE_IPS" | "EDGE_LOCATION_PEER_DUPLICATE" | "SUBNET_NOT_FOUND" | "IP_OUTSIDE_SUBNET_CIDR_RANGE" | "INVALID_INSIDE_CIDR_BLOCK" | "NO_ASSOCIATED_CIDR_BLOCK"; export type ConnectPeerErrorList = Array; export type ConnectPeerId = string; @@ -1399,8 +819,7 @@ export interface CoreNetworkNetworkFunctionGroupIdentifier { NetworkFunctionGroupName?: string; EdgeLocation?: string; } -export type CoreNetworkNetworkFunctionGroupList = - Array; +export type CoreNetworkNetworkFunctionGroupList = Array; export interface CoreNetworkPolicy { CoreNetworkId?: string; PolicyVersionId?: number; @@ -1446,11 +865,7 @@ export interface CoreNetworkSegmentEdgeIdentifier { EdgeLocation?: string; } export type CoreNetworkSegmentList = Array; -export type CoreNetworkState = - | "CREATING" - | "UPDATING" - | "AVAILABLE" - | "DELETING"; +export type CoreNetworkState = "CREATING" | "UPDATING" | "AVAILABLE" | "DELETING"; export interface CoreNetworkSummary { CoreNetworkId?: string; CoreNetworkArn?: string; @@ -1609,11 +1024,7 @@ export interface CustomerGatewayAssociation { State?: CustomerGatewayAssociationState; } export type CustomerGatewayAssociationList = Array; -export type CustomerGatewayAssociationState = - | "PENDING" - | "AVAILABLE" - | "DELETING" - | "DELETED"; +export type CustomerGatewayAssociationState = "PENDING" | "AVAILABLE" | "DELETING" | "DELETED"; export type DateTime = Date | string; export interface DeleteAttachmentRequest { @@ -1677,7 +1088,8 @@ export interface DeletePeeringResponse { export interface DeleteResourcePolicyRequest { ResourceArn: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export interface DeleteSiteRequest { GlobalNetworkId: string; SiteId: string; @@ -1774,7 +1186,8 @@ export interface ExecuteCoreNetworkChangeSetRequest { CoreNetworkId: string; PolicyVersionId: number; } -export interface ExecuteCoreNetworkChangeSetResponse {} +export interface ExecuteCoreNetworkChangeSetResponse { +} export type ExternalRegionCode = string; export type ExternalRegionCodeList = Array; @@ -2057,11 +1470,7 @@ export type GlobalNetworkId = string; export type GlobalNetworkIdList = Array; export type GlobalNetworkList = Array; -export type GlobalNetworkState = - | "PENDING" - | "AVAILABLE" - | "DELETING" - | "UPDATING"; +export type GlobalNetworkState = "PENDING" | "AVAILABLE" | "DELETING" | "UPDATING"; export type Integer = number; export declare class InternalServerException extends EffectData.TaggedError( @@ -2094,11 +1503,7 @@ export interface LinkAssociation { LinkAssociationState?: LinkAssociationState; } export type LinkAssociationList = Array; -export type LinkAssociationState = - | "PENDING" - | "AVAILABLE" - | "DELETING" - | "DELETED"; +export type LinkAssociationState = "PENDING" | "AVAILABLE" | "DELETING" | "DELETED"; export type LinkId = string; export type LinkIdList = Array; @@ -2280,13 +1685,7 @@ export interface PeeringError { RequestId?: string; MissingPermissionsContext?: PermissionsErrorContext; } -export type PeeringErrorCode = - | "TRANSIT_GATEWAY_NOT_FOUND" - | "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED" - | "MISSING_PERMISSIONS" - | "INTERNAL_ERROR" - | "EDGE_LOCATION_PEER_DUPLICATE" - | "INVALID_TRANSIT_GATEWAY_STATE"; +export type PeeringErrorCode = "TRANSIT_GATEWAY_NOT_FOUND" | "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED" | "MISSING_PERMISSIONS" | "INTERNAL_ERROR" | "EDGE_LOCATION_PEER_DUPLICATE" | "INVALID_TRANSIT_GATEWAY_STATE"; export type PeeringErrorList = Array; export type PeeringId = string; @@ -2320,7 +1719,8 @@ export interface PutResourcePolicyRequest { PolicyDocument: string; ResourceArn: string; } -export interface PutResourcePolicyResponse {} +export interface PutResourcePolicyResponse { +} export type ReasonContextKey = string; export type ReasonContextMap = Record; @@ -2381,18 +1781,7 @@ export interface RouteAnalysisCompletion { ReasonCode?: RouteAnalysisCompletionReasonCode; ReasonContext?: Record; } -export type RouteAnalysisCompletionReasonCode = - | "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND" - | "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY" - | "CYCLIC_PATH_DETECTED" - | "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND" - | "ROUTE_NOT_FOUND" - | "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND" - | "INACTIVE_ROUTE_FOR_DESTINATION_FOUND" - | "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH" - | "MAX_HOPS_EXCEEDED" - | "POSSIBLE_MIDDLEBOX" - | "NO_DESTINATION_ARN_PROVIDED"; +export type RouteAnalysisCompletionReasonCode = "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND" | "TRANSIT_GATEWAY_ATTACHMENT_NOT_IN_TRANSIT_GATEWAY" | "CYCLIC_PATH_DETECTED" | "TRANSIT_GATEWAY_ATTACHMENT_STABLE_ROUTE_TABLE_NOT_FOUND" | "ROUTE_NOT_FOUND" | "BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND" | "INACTIVE_ROUTE_FOR_DESTINATION_FOUND" | "TRANSIT_GATEWAY_ATTACHMENT_ATTACH_ARN_NO_MATCH" | "MAX_HOPS_EXCEEDED" | "POSSIBLE_MIDDLEBOX" | "NO_DESTINATION_ARN_PROVIDED"; export type RouteAnalysisCompletionResultCode = "CONNECTED" | "NOT_CONNECTED"; export interface RouteAnalysisEndpointOptions { TransitGatewayAttachmentArn?: string; @@ -2415,10 +1804,7 @@ export interface RouteTableIdentifier { CoreNetworkSegmentEdge?: CoreNetworkSegmentEdgeIdentifier; CoreNetworkNetworkFunctionGroup?: CoreNetworkNetworkFunctionGroupIdentifier; } -export type RouteTableType = - | "TRANSIT_GATEWAY_ROUTE_TABLE" - | "CORE_NETWORK_SEGMENT" - | "NETWORK_FUNCTION_GROUP"; +export type RouteTableType = "TRANSIT_GATEWAY_ROUTE_TABLE" | "CORE_NETWORK_SEGMENT" | "NETWORK_FUNCTION_GROUP"; export type RouteType = "PROPAGATED" | "STATIC"; export type RouteTypeList = Array; export type SegmentActionServiceInsertion = "send-via" | "send-to"; @@ -2503,7 +1889,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -2529,13 +1916,8 @@ export interface TransitGatewayConnectPeerAssociation { LinkId?: string; State?: TransitGatewayConnectPeerAssociationState; } -export type TransitGatewayConnectPeerAssociationList = - Array; -export type TransitGatewayConnectPeerAssociationState = - | "PENDING" - | "AVAILABLE" - | "DELETING" - | "DELETED"; +export type TransitGatewayConnectPeerAssociationList = Array; +export type TransitGatewayConnectPeerAssociationState = "PENDING" | "AVAILABLE" | "DELETING" | "DELETED"; export interface TransitGatewayPeering { Peering?: Peering; TransitGatewayArn?: string; @@ -2549,12 +1931,7 @@ export interface TransitGatewayRegistration { State?: TransitGatewayRegistrationStateReason; } export type TransitGatewayRegistrationList = Array; -export type TransitGatewayRegistrationState = - | "PENDING" - | "AVAILABLE" - | "DELETING" - | "DELETED" - | "FAILED"; +export type TransitGatewayRegistrationState = "PENDING" | "AVAILABLE" | "DELETING" | "DELETED" | "FAILED"; export interface TransitGatewayRegistrationStateReason { Code?: TransitGatewayRegistrationState; Message?: string; @@ -2571,7 +1948,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateConnectionRequest { GlobalNetworkId: string; ConnectionId: string; @@ -2668,11 +2046,7 @@ export interface ValidationExceptionField { Message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "UnknownOperation" - | "CannotParse" - | "FieldValidationFailed" - | "Other"; +export type ValidationExceptionReason = "UnknownOperation" | "CannotParse" | "FieldValidationFailed" | "Other"; export interface Via { NetworkFunctionGroups?: Array; WithEdgeOverrides?: Array; @@ -3544,7 +2918,8 @@ export declare namespace ListCoreNetworks { export declare namespace ListOrganizationServiceAccessStatus { export type Input = ListOrganizationServiceAccessStatusRequest; export type Output = ListOrganizationServiceAccessStatusResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListPeerings { @@ -3807,13 +3182,5 @@ export declare namespace UpdateVpcAttachment { | CommonAwsError; } -export type NetworkManagerErrors = - | AccessDeniedException - | ConflictException - | CoreNetworkPolicyException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type NetworkManagerErrors = AccessDeniedException | ConflictException | CoreNetworkPolicyException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/networkmonitor/index.ts b/src/services/networkmonitor/index.ts index e5da56a0..3bc02444 100644 --- a/src/services/networkmonitor/index.ts +++ b/src/services/networkmonitor/index.ts @@ -5,23 +5,7 @@ import type { NetworkMonitor as _NetworkMonitorClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,18 +14,22 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "networkmonitor", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateMonitor: "POST /monitors", - CreateProbe: "POST /monitors/{monitorName}/probes", - DeleteMonitor: "DELETE /monitors/{monitorName}", - DeleteProbe: "DELETE /monitors/{monitorName}/probes/{probeId}", - GetMonitor: "GET /monitors/{monitorName}", - GetProbe: "GET /monitors/{monitorName}/probes/{probeId}", - ListMonitors: "GET /monitors", - UpdateMonitor: "PATCH /monitors/{monitorName}", - UpdateProbe: "PATCH /monitors/{monitorName}/probes/{probeId}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateMonitor": "POST /monitors", + "CreateProbe": "POST /monitors/{monitorName}/probes", + "DeleteMonitor": "DELETE /monitors/{monitorName}", + "DeleteProbe": "DELETE /monitors/{monitorName}/probes/{probeId}", + "GetMonitor": "GET /monitors/{monitorName}", + "GetProbe": "GET /monitors/{monitorName}/probes/{probeId}", + "ListMonitors": "GET /monitors", + "UpdateMonitor": "PATCH /monitors/{monitorName}", + "UpdateProbe": "PATCH /monitors/{monitorName}/probes/{probeId}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/networkmonitor/types.ts b/src/services/networkmonitor/types.ts index 7c85a9aa..0b06cded 100644 --- a/src/services/networkmonitor/types.ts +++ b/src/services/networkmonitor/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class NetworkMonitor extends AWSServiceClient { @@ -40,140 +8,73 @@ export declare class NetworkMonitor extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createMonitor( input: CreateMonitorInput, ): Effect.Effect< CreateMonitorOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createProbe( input: CreateProbeInput, ): Effect.Effect< CreateProbeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteMonitor( input: DeleteMonitorInput, ): Effect.Effect< DeleteMonitorOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProbe( input: DeleteProbeInput, ): Effect.Effect< DeleteProbeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getMonitor( input: GetMonitorInput, ): Effect.Effect< GetMonitorOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProbe( input: GetProbeInput, ): Effect.Effect< GetProbeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMonitors( input: ListMonitorsInput, ): Effect.Effect< ListMonitorsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateMonitor( input: UpdateMonitorInput, ): Effect.Effect< UpdateMonitorOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateProbe( input: UpdateProbeInput, ): Effect.Effect< UpdateProbeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -241,12 +142,14 @@ export interface CreateProbeOutput { export interface DeleteMonitorInput { monitorName: string; } -export interface DeleteMonitorOutput {} +export interface DeleteMonitorOutput { +} export interface DeleteProbeInput { monitorName: string; probeId: string; } -export interface DeleteProbeOutput {} +export interface DeleteProbeOutput { +} export type Destination = string; export interface GetMonitorInput { @@ -308,12 +211,7 @@ export type MaxResults = number; export type MonitorArn = string; export type MonitorList = Array; -export type MonitorState = - | "PENDING" - | "ACTIVE" - | "INACTIVE" - | "ERROR" - | "DELETING"; +export type MonitorState = "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING"; export interface MonitorSummary { monitorArn: string; monitorName: string; @@ -353,13 +251,7 @@ export interface ProbeInput { tags?: Record; } export type ProbeList = Array; -export type ProbeState = - | "PENDING" - | "ACTIVE" - | "INACTIVE" - | "ERROR" - | "DELETING" - | "DELETED"; +export type ProbeState = "PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED"; export type Protocol = "TCP" | "ICMP"; export type ResourceName = string; @@ -381,7 +273,8 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -393,7 +286,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateMonitorInput { monitorName: string; aggregationPeriod: number; @@ -587,12 +481,5 @@ export declare namespace UpdateProbe { | CommonAwsError; } -export type NetworkMonitorErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type NetworkMonitorErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/notifications/index.ts b/src/services/notifications/index.ts index 460d1f06..676edd4e 100644 --- a/src/services/notifications/index.ts +++ b/src/services/notifications/index.ts @@ -5,23 +5,7 @@ import type { Notifications as _NotificationsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,58 +15,49 @@ const metadata = { sigV4ServiceName: "notifications", endpointPrefix: "notifications", operations: { - ListManagedNotificationChannelAssociations: - "GET /channels/list-managed-notification-channel-associations", - ListMemberAccounts: "GET /list-member-accounts", - ListTagsForResource: "GET /tags/{arn}", - TagResource: "POST /tags/{arn}", - UntagResource: "DELETE /tags/{arn}", - AssociateChannel: "POST /channels/associate/{arn}", - AssociateManagedNotificationAccountContact: - "PUT /contacts/associate-managed-notification/{contactIdentifier}", - AssociateManagedNotificationAdditionalChannel: - "PUT /channels/associate-managed-notification/{channelArn}", - AssociateOrganizationalUnit: - "POST /organizational-units/associate/{organizationalUnitId}", - CreateEventRule: "POST /event-rules", - CreateNotificationConfiguration: "POST /notification-configurations", - DeleteEventRule: "DELETE /event-rules/{arn}", - DeleteNotificationConfiguration: - "DELETE /notification-configurations/{arn}", - DeregisterNotificationHub: - "DELETE /notification-hubs/{notificationHubRegion}", - DisableNotificationsAccessForOrganization: "DELETE /organization/access", - DisassociateChannel: "POST /channels/disassociate/{arn}", - DisassociateManagedNotificationAccountContact: - "PUT /contacts/disassociate-managed-notification/{contactIdentifier}", - DisassociateManagedNotificationAdditionalChannel: - "PUT /channels/disassociate-managed-notification/{channelArn}", - DisassociateOrganizationalUnit: - "POST /organizational-units/disassociate/{organizationalUnitId}", - EnableNotificationsAccessForOrganization: "POST /organization/access", - GetEventRule: "GET /event-rules/{arn}", - GetManagedNotificationChildEvent: - "GET /managed-notification-child-events/{arn}", - GetManagedNotificationConfiguration: - "GET /managed-notification-configurations/{arn}", - GetManagedNotificationEvent: "GET /managed-notification-events/{arn}", - GetNotificationConfiguration: "GET /notification-configurations/{arn}", - GetNotificationEvent: "GET /notification-events/{arn}", - GetNotificationsAccessForOrganization: "GET /organization/access", - ListChannels: "GET /channels", - ListEventRules: "GET /event-rules", - ListManagedNotificationChildEvents: - "GET /list-managed-notification-child-events/{aggregateManagedNotificationEventArn}", - ListManagedNotificationConfigurations: - "GET /managed-notification-configurations", - ListManagedNotificationEvents: "GET /managed-notification-events", - ListNotificationConfigurations: "GET /notification-configurations", - ListNotificationEvents: "GET /notification-events", - ListNotificationHubs: "GET /notification-hubs", - ListOrganizationalUnits: "GET /organizational-units", - RegisterNotificationHub: "POST /notification-hubs", - UpdateEventRule: "PUT /event-rules/{arn}", - UpdateNotificationConfiguration: "PUT /notification-configurations/{arn}", + "ListManagedNotificationChannelAssociations": "GET /channels/list-managed-notification-channel-associations", + "ListMemberAccounts": "GET /list-member-accounts", + "ListTagsForResource": "GET /tags/{arn}", + "TagResource": "POST /tags/{arn}", + "UntagResource": "DELETE /tags/{arn}", + "AssociateChannel": "POST /channels/associate/{arn}", + "AssociateManagedNotificationAccountContact": "PUT /contacts/associate-managed-notification/{contactIdentifier}", + "AssociateManagedNotificationAdditionalChannel": "PUT /channels/associate-managed-notification/{channelArn}", + "AssociateOrganizationalUnit": "POST /organizational-units/associate/{organizationalUnitId}", + "CreateEventRule": "POST /event-rules", + "CreateNotificationConfiguration": "POST /notification-configurations", + "DeleteEventRule": "DELETE /event-rules/{arn}", + "DeleteNotificationConfiguration": "DELETE /notification-configurations/{arn}", + "DeregisterNotificationHub": "DELETE /notification-hubs/{notificationHubRegion}", + "DisableNotificationsAccessForOrganization": "DELETE /organization/access", + "DisassociateChannel": "POST /channels/disassociate/{arn}", + "DisassociateManagedNotificationAccountContact": "PUT /contacts/disassociate-managed-notification/{contactIdentifier}", + "DisassociateManagedNotificationAdditionalChannel": "PUT /channels/disassociate-managed-notification/{channelArn}", + "DisassociateOrganizationalUnit": "POST /organizational-units/disassociate/{organizationalUnitId}", + "EnableNotificationsAccessForOrganization": "POST /organization/access", + "GetEventRule": "GET /event-rules/{arn}", + "GetManagedNotificationChildEvent": "GET /managed-notification-child-events/{arn}", + "GetManagedNotificationConfiguration": "GET /managed-notification-configurations/{arn}", + "GetManagedNotificationEvent": "GET /managed-notification-events/{arn}", + "GetNotificationConfiguration": "GET /notification-configurations/{arn}", + "GetNotificationEvent": "GET /notification-events/{arn}", + "GetNotificationsAccessForOrganization": "GET /organization/access", + "ListChannels": "GET /channels", + "ListEventRules": "GET /event-rules", + "ListManagedNotificationChildEvents": "GET /list-managed-notification-child-events/{aggregateManagedNotificationEventArn}", + "ListManagedNotificationConfigurations": "GET /managed-notification-configurations", + "ListManagedNotificationEvents": "GET /managed-notification-events", + "ListNotificationConfigurations": "GET /notification-configurations", + "ListNotificationEvents": "GET /notification-events", + "ListNotificationHubs": "GET /notification-hubs", + "ListOrganizationalUnits": "GET /organizational-units", + "RegisterNotificationHub": "POST /notification-hubs", + "UpdateEventRule": "PUT /event-rules/{arn}", + "UpdateNotificationConfiguration": "PUT /notification-configurations/{arn}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/notifications/types.ts b/src/services/notifications/types.ts index 90d4a9f8..df4f6325 100644 --- a/src/services/notifications/types.ts +++ b/src/services/notifications/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Notifications extends AWSServiceClient { @@ -40,445 +8,235 @@ export declare class Notifications extends AWSServiceClient { input: ListManagedNotificationChannelAssociationsRequest, ): Effect.Effect< ListManagedNotificationChannelAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMemberAccounts( input: ListMemberAccountsRequest, ): Effect.Effect< ListMemberAccountsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateChannel( input: AssociateChannelRequest, ): Effect.Effect< AssociateChannelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateManagedNotificationAccountContact( input: AssociateManagedNotificationAccountContactRequest, ): Effect.Effect< AssociateManagedNotificationAccountContactResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateManagedNotificationAdditionalChannel( input: AssociateManagedNotificationAdditionalChannelRequest, ): Effect.Effect< AssociateManagedNotificationAdditionalChannelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateOrganizationalUnit( input: AssociateOrganizationalUnitRequest, ): Effect.Effect< AssociateOrganizationalUnitResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEventRule( input: CreateEventRuleRequest, ): Effect.Effect< CreateEventRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createNotificationConfiguration( input: CreateNotificationConfigurationRequest, ): Effect.Effect< CreateNotificationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteEventRule( input: DeleteEventRuleRequest, ): Effect.Effect< DeleteEventRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteNotificationConfiguration( input: DeleteNotificationConfigurationRequest, ): Effect.Effect< DeleteNotificationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deregisterNotificationHub( input: DeregisterNotificationHubRequest, ): Effect.Effect< DeregisterNotificationHubResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disableNotificationsAccessForOrganization( input: DisableNotificationsAccessForOrganizationRequest, ): Effect.Effect< DisableNotificationsAccessForOrganizationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; disassociateChannel( input: DisassociateChannelRequest, ): Effect.Effect< DisassociateChannelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateManagedNotificationAccountContact( input: DisassociateManagedNotificationAccountContactRequest, ): Effect.Effect< DisassociateManagedNotificationAccountContactResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateManagedNotificationAdditionalChannel( input: DisassociateManagedNotificationAdditionalChannelRequest, ): Effect.Effect< DisassociateManagedNotificationAdditionalChannelResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateOrganizationalUnit( input: DisassociateOrganizationalUnitRequest, ): Effect.Effect< DisassociateOrganizationalUnitResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; enableNotificationsAccessForOrganization( input: EnableNotificationsAccessForOrganizationRequest, ): Effect.Effect< EnableNotificationsAccessForOrganizationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getEventRule( input: GetEventRuleRequest, ): Effect.Effect< GetEventRuleResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getManagedNotificationChildEvent( input: GetManagedNotificationChildEventRequest, ): Effect.Effect< GetManagedNotificationChildEventResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getManagedNotificationConfiguration( input: GetManagedNotificationConfigurationRequest, ): Effect.Effect< GetManagedNotificationConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getManagedNotificationEvent( input: GetManagedNotificationEventRequest, ): Effect.Effect< GetManagedNotificationEventResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNotificationConfiguration( input: GetNotificationConfigurationRequest, ): Effect.Effect< GetNotificationConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNotificationEvent( input: GetNotificationEventRequest, ): Effect.Effect< GetNotificationEventResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNotificationsAccessForOrganization( input: GetNotificationsAccessForOrganizationRequest, ): Effect.Effect< GetNotificationsAccessForOrganizationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listChannels( input: ListChannelsRequest, ): Effect.Effect< ListChannelsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEventRules( input: ListEventRulesRequest, ): Effect.Effect< ListEventRulesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listManagedNotificationChildEvents( input: ListManagedNotificationChildEventsRequest, ): Effect.Effect< ListManagedNotificationChildEventsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listManagedNotificationConfigurations( input: ListManagedNotificationConfigurationsRequest, ): Effect.Effect< ListManagedNotificationConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listManagedNotificationEvents( input: ListManagedNotificationEventsRequest, ): Effect.Effect< ListManagedNotificationEventsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listNotificationConfigurations( input: ListNotificationConfigurationsRequest, ): Effect.Effect< ListNotificationConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listNotificationEvents( input: ListNotificationEventsRequest, ): Effect.Effect< ListNotificationEventsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listNotificationHubs( input: ListNotificationHubsRequest, ): Effect.Effect< ListNotificationHubsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listOrganizationalUnits( input: ListOrganizationalUnitsRequest, ): Effect.Effect< ListOrganizationalUnitsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; registerNotificationHub( input: RegisterNotificationHubRequest, ): Effect.Effect< RegisterNotificationHubResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateEventRule( input: UpdateEventRuleRequest, ): Effect.Effect< UpdateEventRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateNotificationConfiguration( input: UpdateNotificationConfigurationRequest, ): Effect.Effect< UpdateNotificationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -519,22 +277,26 @@ export interface AssociateChannelRequest { arn: string; notificationConfigurationArn: string; } -export interface AssociateChannelResponse {} +export interface AssociateChannelResponse { +} export interface AssociateManagedNotificationAccountContactRequest { contactIdentifier: string; managedNotificationConfigurationArn: string; } -export interface AssociateManagedNotificationAccountContactResponse {} +export interface AssociateManagedNotificationAccountContactResponse { +} export interface AssociateManagedNotificationAdditionalChannelRequest { channelArn: string; managedNotificationConfigurationArn: string; } -export interface AssociateManagedNotificationAdditionalChannelResponse {} +export interface AssociateManagedNotificationAdditionalChannelResponse { +} export interface AssociateOrganizationalUnitRequest { organizationalUnitId: string; notificationConfigurationArn: string; } -export interface AssociateOrganizationalUnitResponse {} +export interface AssociateOrganizationalUnitResponse { +} export type ChannelArn = string; export type ChannelAssociationOverrideOption = string; @@ -577,11 +339,13 @@ export type CreationTime = Date | string; export interface DeleteEventRuleRequest { arn: string; } -export interface DeleteEventRuleResponse {} +export interface DeleteEventRuleResponse { +} export interface DeleteNotificationConfigurationRequest { arn: string; } -export interface DeleteNotificationConfigurationResponse {} +export interface DeleteNotificationConfigurationResponse { +} export interface DeregisterNotificationHubRequest { notificationHubRegion: string; } @@ -594,30 +358,38 @@ export interface Dimension { value: string; } export type Dimensions = Array; -export interface DisableNotificationsAccessForOrganizationRequest {} -export interface DisableNotificationsAccessForOrganizationResponse {} +export interface DisableNotificationsAccessForOrganizationRequest { +} +export interface DisableNotificationsAccessForOrganizationResponse { +} export interface DisassociateChannelRequest { arn: string; notificationConfigurationArn: string; } -export interface DisassociateChannelResponse {} +export interface DisassociateChannelResponse { +} export interface DisassociateManagedNotificationAccountContactRequest { contactIdentifier: string; managedNotificationConfigurationArn: string; } -export interface DisassociateManagedNotificationAccountContactResponse {} +export interface DisassociateManagedNotificationAccountContactResponse { +} export interface DisassociateManagedNotificationAdditionalChannelRequest { channelArn: string; managedNotificationConfigurationArn: string; } -export interface DisassociateManagedNotificationAdditionalChannelResponse {} +export interface DisassociateManagedNotificationAdditionalChannelResponse { +} export interface DisassociateOrganizationalUnitRequest { organizationalUnitId: string; notificationConfigurationArn: string; } -export interface DisassociateOrganizationalUnitResponse {} -export interface EnableNotificationsAccessForOrganizationRequest {} -export interface EnableNotificationsAccessForOrganizationResponse {} +export interface DisassociateOrganizationalUnitResponse { +} +export interface EnableNotificationsAccessForOrganizationRequest { +} +export interface EnableNotificationsAccessForOrganizationResponse { +} export type ErrorMessage = string; export type EventRuleArn = string; @@ -714,7 +486,8 @@ export interface GetNotificationEventResponse { creationTime: Date | string; content: NotificationEventSchema; } -export interface GetNotificationsAccessForOrganizationRequest {} +export interface GetNotificationsAccessForOrganizationRequest { +} export interface GetNotificationsAccessForOrganizationResponse { notificationsAccessForOrganization: NotificationsAccessForOrganization; } @@ -853,8 +626,7 @@ export interface ListTagsForResourceResponse { } export type LocaleCode = string; -export type ManagedNotificationChannelAssociations = - Array; +export type ManagedNotificationChannelAssociations = Array; export interface ManagedNotificationChannelAssociationSummary { channelIdentifier: string; channelType: string; @@ -886,8 +658,7 @@ export interface ManagedNotificationChildEventOverview { aggregateManagedNotificationEventArn: string; organizationalUnitId?: string; } -export type ManagedNotificationChildEvents = - Array; +export type ManagedNotificationChildEvents = Array; export interface ManagedNotificationChildEventSummary { schemaVersion: string; sourceEventMetadata: ManagedSourceEventMetadataSummary; @@ -902,8 +673,7 @@ export type ManagedNotificationConfigurationName = string; export type ManagedNotificationConfigurationOsArn = string; -export type ManagedNotificationConfigurations = - Array; +export type ManagedNotificationConfigurations = Array; export interface ManagedNotificationConfigurationStructure { arn: string; name: string; @@ -991,8 +761,7 @@ export type NotificationConfigurationDescription = string; export type NotificationConfigurationName = string; -export type NotificationConfigurations = - Array; +export type NotificationConfigurations = Array; export type NotificationConfigurationStatus = string; export interface NotificationConfigurationStructure { @@ -1143,8 +912,7 @@ export interface SummarizationDimensionOverview { count: number; sampleValues?: Array; } -export type SummarizationDimensionOverviews = - Array; +export type SummarizationDimensionOverviews = Array; export type TagKey = string; export type TagKeys = Array; @@ -1153,7 +921,8 @@ export interface TagResourceRequest { arn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -1183,7 +952,8 @@ export interface UntagResourceRequest { arn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateEventRuleRequest { arn: string; eventPattern?: string; @@ -1702,12 +1472,5 @@ export declare namespace UpdateNotificationConfiguration { | CommonAwsError; } -export type NotificationsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type NotificationsErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/notificationscontacts/index.ts b/src/services/notificationscontacts/index.ts index d0b2e679..e469879b 100644 --- a/src/services/notificationscontacts/index.ts +++ b/src/services/notificationscontacts/index.ts @@ -5,23 +5,7 @@ import type { NotificationsContacts as _NotificationsContactsClient } from "./ty export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,15 +15,19 @@ const metadata = { sigV4ServiceName: "notifications-contacts", endpointPrefix: "notifications-contacts", operations: { - ListTagsForResource: "GET /tags/{arn}", - TagResource: "POST /tags/{arn}", - UntagResource: "DELETE /tags/{arn}", - ActivateEmailContact: "PUT /emailcontacts/{arn}/activate/{code}", - CreateEmailContact: "POST /2022-09-19/emailcontacts", - DeleteEmailContact: "DELETE /emailcontacts/{arn}", - GetEmailContact: "GET /emailcontacts/{arn}", - ListEmailContacts: "GET /emailcontacts", - SendActivationCode: "POST /2022-10-31/emailcontacts/{arn}/activate/send", + "ListTagsForResource": "GET /tags/{arn}", + "TagResource": "POST /tags/{arn}", + "UntagResource": "DELETE /tags/{arn}", + "ActivateEmailContact": "PUT /emailcontacts/{arn}/activate/{code}", + "CreateEmailContact": "POST /2022-09-19/emailcontacts", + "DeleteEmailContact": "DELETE /emailcontacts/{arn}", + "GetEmailContact": "GET /emailcontacts/{arn}", + "ListEmailContacts": "GET /emailcontacts", + "SendActivationCode": "POST /2022-10-31/emailcontacts/{arn}/activate/send", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/notificationscontacts/types.ts b/src/services/notificationscontacts/types.ts index c0bf5a7e..f5a7db4a 100644 --- a/src/services/notificationscontacts/types.ts +++ b/src/services/notificationscontacts/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class NotificationsContacts extends AWSServiceClient { @@ -40,103 +8,55 @@ export declare class NotificationsContacts extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; activateEmailContact( input: ActivateEmailContactRequest, ): Effect.Effect< ActivateEmailContactResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createEmailContact( input: CreateEmailContactRequest, ): Effect.Effect< CreateEmailContactResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteEmailContact( input: DeleteEmailContactRequest, ): Effect.Effect< DeleteEmailContactResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEmailContact( input: GetEmailContactRequest, ): Effect.Effect< GetEmailContactResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEmailContacts( input: ListEmailContactsRequest, ): Effect.Effect< ListEmailContactsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; sendActivationCode( input: SendActivationCodeRequest, ): Effect.Effect< SendActivationCodeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -151,7 +71,8 @@ export interface ActivateEmailContactRequest { arn: string; code: string; } -export interface ActivateEmailContactResponse {} +export interface ActivateEmailContactResponse { +} export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -172,7 +93,8 @@ export type CreationTime = Date | string; export interface DeleteEmailContactRequest { arn: string; } -export interface DeleteEmailContactResponse {} +export interface DeleteEmailContactResponse { +} export interface EmailContact { arn: string; name: string; @@ -233,7 +155,8 @@ export type ResourceType = string; export interface SendActivationCodeRequest { arn: string; } -export interface SendActivationCodeResponse {} +export interface SendActivationCodeResponse { +} export type SensitiveEmailContactAddress = string; export type ServiceCode = string; @@ -255,7 +178,8 @@ export interface TagResourceRequest { arn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -272,7 +196,8 @@ export interface UntagResourceRequest { arn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UpdateTime = Date | string; export declare class ValidationException extends EffectData.TaggedError( @@ -399,12 +324,5 @@ export declare namespace SendActivationCode { | CommonAwsError; } -export type NotificationsContactsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type NotificationsContactsErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/oam/index.ts b/src/services/oam/index.ts index 5336cc2d..9b375399 100644 --- a/src/services/oam/index.ts +++ b/src/services/oam/index.ts @@ -5,25 +5,7 @@ import type { OAM as _OAMClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,21 +14,21 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "oam", operations: { - CreateLink: "POST /CreateLink", - CreateSink: "POST /CreateSink", - DeleteLink: "POST /DeleteLink", - DeleteSink: "POST /DeleteSink", - GetLink: "POST /GetLink", - GetSink: "POST /GetSink", - GetSinkPolicy: "POST /GetSinkPolicy", - ListAttachedLinks: "POST /ListAttachedLinks", - ListLinks: "POST /ListLinks", - ListSinks: "POST /ListSinks", - ListTagsForResource: "GET /tags/{ResourceArn}", - PutSinkPolicy: "POST /PutSinkPolicy", - TagResource: "PUT /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateLink: "POST /UpdateLink", + "CreateLink": "POST /CreateLink", + "CreateSink": "POST /CreateSink", + "DeleteLink": "POST /DeleteLink", + "DeleteSink": "POST /DeleteSink", + "GetLink": "POST /GetLink", + "GetSink": "POST /GetSink", + "GetSinkPolicy": "POST /GetSinkPolicy", + "ListAttachedLinks": "POST /ListAttachedLinks", + "ListLinks": "POST /ListLinks", + "ListSinks": "POST /ListSinks", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "PutSinkPolicy": "POST /PutSinkPolicy", + "TagResource": "PUT /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateLink": "POST /UpdateLink", }, } as const satisfies ServiceMetadata; diff --git a/src/services/oam/types.ts b/src/services/oam/types.ts index d0d3151c..42a65e06 100644 --- a/src/services/oam/types.ts +++ b/src/services/oam/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class OAM extends AWSServiceClient { @@ -42,102 +8,61 @@ export declare class OAM extends AWSServiceClient { input: CreateLinkInput, ): Effect.Effect< CreateLinkOutput, - | ConflictException - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ServiceQuotaExceededException | CommonAwsError >; createSink( input: CreateSinkInput, ): Effect.Effect< CreateSinkOutput, - | ConflictException - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ServiceQuotaExceededException | CommonAwsError >; deleteLink( input: DeleteLinkInput, ): Effect.Effect< DeleteLinkOutput, - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; deleteSink( input: DeleteSinkInput, ): Effect.Effect< DeleteSinkOutput, - | ConflictException - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + ConflictException | InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; getLink( input: GetLinkInput, ): Effect.Effect< GetLinkOutput, - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; getSink( input: GetSinkInput, ): Effect.Effect< GetSinkOutput, - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; getSinkPolicy( input: GetSinkPolicyInput, ): Effect.Effect< GetSinkPolicyOutput, - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; listAttachedLinks( input: ListAttachedLinksInput, ): Effect.Effect< ListAttachedLinksOutput, - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; listLinks( input: ListLinksInput, ): Effect.Effect< ListLinksOutput, - | InternalServiceFault - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listSinks( input: ListSinksInput, ): Effect.Effect< ListSinksOutput, - | InternalServiceFault - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, @@ -149,20 +74,13 @@ export declare class OAM extends AWSServiceClient { input: PutSinkPolicyInput, ): Effect.Effect< PutSinkPolicyOutput, - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError + ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, @@ -174,11 +92,7 @@ export declare class OAM extends AWSServiceClient { input: UpdateLinkInput, ): Effect.Effect< UpdateLinkOutput, - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException | CommonAwsError >; } @@ -222,11 +136,13 @@ export interface CreateSinkOutput { export interface DeleteLinkInput { Identifier: string; } -export interface DeleteLinkOutput {} +export interface DeleteLinkOutput { +} export interface DeleteSinkInput { Identifier: string; } -export interface DeleteSinkOutput {} +export interface DeleteSinkOutput { +} export interface GetLinkInput { Identifier: string; IncludeTags?: boolean; @@ -371,14 +287,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( readonly Message?: string; readonly amznErrorType?: string; }> {} -export type ResourceType = - | "AWS::CloudWatch::Metric" - | "AWS::Logs::LogGroup" - | "AWS::XRay::Trace" - | "AWS::ApplicationInsights::Application" - | "AWS::InternetMonitor::Monitor" - | "AWS::ApplicationSignals::Service" - | "AWS::ApplicationSignals::ServiceLevelObjective"; +export type ResourceType = "AWS::CloudWatch::Metric" | "AWS::Logs::LogGroup" | "AWS::XRay::Trace" | "AWS::ApplicationInsights::Application" | "AWS::InternetMonitor::Monitor" | "AWS::ApplicationSignals::Service" | "AWS::ApplicationSignals::ServiceLevelObjective"; export type ResourceTypesInput = Array; export type ResourceTypesOutput = Array; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( @@ -400,7 +309,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export declare class TooManyTagsException extends EffectData.TaggedError( @@ -412,7 +322,8 @@ export interface UntagResourceInput { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateLinkInput { Identifier: string; ResourceTypes: Array; @@ -595,13 +506,5 @@ export declare namespace UpdateLink { | CommonAwsError; } -export type OAMErrors = - | ConflictException - | InternalServiceFault - | InvalidParameterException - | MissingRequiredParameterException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type OAMErrors = ConflictException | InternalServiceFault | InvalidParameterException | MissingRequiredParameterException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/observabilityadmin/index.ts b/src/services/observabilityadmin/index.ts index e34c5a47..0fc8d599 100644 --- a/src/services/observabilityadmin/index.ts +++ b/src/services/observabilityadmin/index.ts @@ -5,24 +5,7 @@ import type { ObservabilityAdmin as _ObservabilityAdminClient } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,48 +14,35 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "observabilityadmin", operations: { - CreateCentralizationRuleForOrganization: - "POST /CreateCentralizationRuleForOrganization", - CreateTelemetryRule: "POST /CreateTelemetryRule", - CreateTelemetryRuleForOrganization: - "POST /CreateTelemetryRuleForOrganization", - DeleteCentralizationRuleForOrganization: - "POST /DeleteCentralizationRuleForOrganization", - DeleteTelemetryRule: "POST /DeleteTelemetryRule", - DeleteTelemetryRuleForOrganization: - "POST /DeleteTelemetryRuleForOrganization", - GetCentralizationRuleForOrganization: - "POST /GetCentralizationRuleForOrganization", - GetTelemetryEnrichmentStatus: "POST /GetTelemetryEnrichmentStatus", - GetTelemetryEvaluationStatus: "POST /GetTelemetryEvaluationStatus", - GetTelemetryEvaluationStatusForOrganization: - "POST /GetTelemetryEvaluationStatusForOrganization", - GetTelemetryRule: "POST /GetTelemetryRule", - GetTelemetryRuleForOrganization: "POST /GetTelemetryRuleForOrganization", - ListCentralizationRulesForOrganization: - "POST /ListCentralizationRulesForOrganization", - ListResourceTelemetry: "POST /ListResourceTelemetry", - ListResourceTelemetryForOrganization: - "POST /ListResourceTelemetryForOrganization", - ListTagsForResource: "POST /ListTagsForResource", - ListTelemetryRules: "POST /ListTelemetryRules", - ListTelemetryRulesForOrganization: - "POST /ListTelemetryRulesForOrganization", - StartTelemetryEnrichment: "POST /StartTelemetryEnrichment", - StartTelemetryEvaluation: "POST /StartTelemetryEvaluation", - StartTelemetryEvaluationForOrganization: - "POST /StartTelemetryEvaluationForOrganization", - StopTelemetryEnrichment: "POST /StopTelemetryEnrichment", - StopTelemetryEvaluation: "POST /StopTelemetryEvaluation", - StopTelemetryEvaluationForOrganization: - "POST /StopTelemetryEvaluationForOrganization", - TagResource: "POST /TagResource", - UntagResource: "POST /UntagResource", - UpdateCentralizationRuleForOrganization: - "POST /UpdateCentralizationRuleForOrganization", - UpdateTelemetryRule: "POST /UpdateTelemetryRule", - UpdateTelemetryRuleForOrganization: - "POST /UpdateTelemetryRuleForOrganization", + "CreateCentralizationRuleForOrganization": "POST /CreateCentralizationRuleForOrganization", + "CreateTelemetryRule": "POST /CreateTelemetryRule", + "CreateTelemetryRuleForOrganization": "POST /CreateTelemetryRuleForOrganization", + "DeleteCentralizationRuleForOrganization": "POST /DeleteCentralizationRuleForOrganization", + "DeleteTelemetryRule": "POST /DeleteTelemetryRule", + "DeleteTelemetryRuleForOrganization": "POST /DeleteTelemetryRuleForOrganization", + "GetCentralizationRuleForOrganization": "POST /GetCentralizationRuleForOrganization", + "GetTelemetryEnrichmentStatus": "POST /GetTelemetryEnrichmentStatus", + "GetTelemetryEvaluationStatus": "POST /GetTelemetryEvaluationStatus", + "GetTelemetryEvaluationStatusForOrganization": "POST /GetTelemetryEvaluationStatusForOrganization", + "GetTelemetryRule": "POST /GetTelemetryRule", + "GetTelemetryRuleForOrganization": "POST /GetTelemetryRuleForOrganization", + "ListCentralizationRulesForOrganization": "POST /ListCentralizationRulesForOrganization", + "ListResourceTelemetry": "POST /ListResourceTelemetry", + "ListResourceTelemetryForOrganization": "POST /ListResourceTelemetryForOrganization", + "ListTagsForResource": "POST /ListTagsForResource", + "ListTelemetryRules": "POST /ListTelemetryRules", + "ListTelemetryRulesForOrganization": "POST /ListTelemetryRulesForOrganization", + "StartTelemetryEnrichment": "POST /StartTelemetryEnrichment", + "StartTelemetryEvaluation": "POST /StartTelemetryEvaluation", + "StartTelemetryEvaluationForOrganization": "POST /StartTelemetryEvaluationForOrganization", + "StopTelemetryEnrichment": "POST /StopTelemetryEnrichment", + "StopTelemetryEvaluation": "POST /StopTelemetryEvaluation", + "StopTelemetryEvaluationForOrganization": "POST /StopTelemetryEvaluationForOrganization", + "TagResource": "POST /TagResource", + "UntagResource": "POST /UntagResource", + "UpdateCentralizationRuleForOrganization": "POST /UpdateCentralizationRuleForOrganization", + "UpdateTelemetryRule": "POST /UpdateTelemetryRule", + "UpdateTelemetryRuleForOrganization": "POST /UpdateTelemetryRuleForOrganization", }, } as const satisfies ServiceMetadata; diff --git a/src/services/observabilityadmin/types.ts b/src/services/observabilityadmin/types.ts index 84533dde..d1297c18 100644 --- a/src/services/observabilityadmin/types.ts +++ b/src/services/observabilityadmin/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ObservabilityAdmin extends AWSServiceClient { @@ -41,294 +8,175 @@ export declare class ObservabilityAdmin extends AWSServiceClient { input: CreateCentralizationRuleForOrganizationInput, ): Effect.Effect< CreateCentralizationRuleForOrganizationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError >; createTelemetryRule( input: CreateTelemetryRuleInput, ): Effect.Effect< CreateTelemetryRuleOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError >; createTelemetryRuleForOrganization( input: CreateTelemetryRuleForOrganizationInput, ): Effect.Effect< CreateTelemetryRuleForOrganizationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError >; deleteCentralizationRuleForOrganization( input: DeleteCentralizationRuleForOrganizationInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; deleteTelemetryRule( input: DeleteTelemetryRuleInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; deleteTelemetryRuleForOrganization( input: DeleteTelemetryRuleForOrganizationInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; getCentralizationRuleForOrganization( input: GetCentralizationRuleForOrganizationInput, ): Effect.Effect< GetCentralizationRuleForOrganizationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; - getTelemetryEnrichmentStatus(input: {}): Effect.Effect< + getTelemetryEnrichmentStatus( + input: {}, + ): Effect.Effect< GetTelemetryEnrichmentStatusOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; - getTelemetryEvaluationStatus(input: {}): Effect.Effect< + getTelemetryEvaluationStatus( + input: {}, + ): Effect.Effect< GetTelemetryEvaluationStatusOutput, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | CommonAwsError >; - getTelemetryEvaluationStatusForOrganization(input: {}): Effect.Effect< + getTelemetryEvaluationStatusForOrganization( + input: {}, + ): Effect.Effect< GetTelemetryEvaluationStatusForOrganizationOutput, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; getTelemetryRule( input: GetTelemetryRuleInput, ): Effect.Effect< GetTelemetryRuleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; getTelemetryRuleForOrganization( input: GetTelemetryRuleForOrganizationInput, ): Effect.Effect< GetTelemetryRuleForOrganizationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; listCentralizationRulesForOrganization( input: ListCentralizationRulesForOrganizationInput, ): Effect.Effect< ListCentralizationRulesForOrganizationOutput, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; listResourceTelemetry( input: ListResourceTelemetryInput, ): Effect.Effect< ListResourceTelemetryOutput, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; listResourceTelemetryForOrganization( input: ListResourceTelemetryForOrganizationInput, ): Effect.Effect< ListResourceTelemetryForOrganizationOutput, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; listTelemetryRules( input: ListTelemetryRulesInput, ): Effect.Effect< ListTelemetryRulesOutput, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; listTelemetryRulesForOrganization( input: ListTelemetryRulesForOrganizationInput, ): Effect.Effect< ListTelemetryRulesForOrganizationOutput, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; - startTelemetryEnrichment(input: {}): Effect.Effect< + startTelemetryEnrichment( + input: {}, + ): Effect.Effect< StartTelemetryEnrichmentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | TooManyRequestsException | CommonAwsError >; - startTelemetryEvaluation(input: {}): Effect.Effect< + startTelemetryEvaluation( + input: {}, + ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; - startTelemetryEvaluationForOrganization(input: {}): Effect.Effect< + startTelemetryEvaluationForOrganization( + input: {}, + ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; - stopTelemetryEnrichment(input: {}): Effect.Effect< + stopTelemetryEnrichment( + input: {}, + ): Effect.Effect< StopTelemetryEnrichmentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | TooManyRequestsException | CommonAwsError >; - stopTelemetryEvaluation(input: {}): Effect.Effect< + stopTelemetryEvaluation( + input: {}, + ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; - stopTelemetryEvaluationForOrganization(input: {}): Effect.Effect< + stopTelemetryEvaluationForOrganization( + input: {}, + ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | TooManyRequestsException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; updateCentralizationRuleForOrganization( input: UpdateCentralizationRuleForOrganizationInput, ): Effect.Effect< UpdateCentralizationRuleForOrganizationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError >; updateTelemetryRule( input: UpdateTelemetryRuleInput, ): Effect.Effect< UpdateTelemetryRuleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError >; updateTelemetryRuleForOrganization( input: UpdateTelemetryRuleForOrganizationInput, ): Effect.Effect< UpdateTelemetryRuleForOrganizationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError >; } @@ -345,10 +193,7 @@ export type AccountIdentifier = string; export type AccountIdentifiers = Array; export type AwsResourceExplorerManagedViewArn = string; -export type CentralizationFailureReason = - | "TRUSTED_ACCESS_NOT_ENABLED" - | "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION" - | "INTERNAL_SERVER_ERROR"; +export type CentralizationFailureReason = "TRUSTED_ACCESS_NOT_ENABLED" | "DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION" | "INTERNAL_SERVER_ERROR"; export interface CentralizationRule { Source: CentralizationRuleSource; Destination: CentralizationRuleDestination; @@ -577,10 +422,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type ResourceType = - | "AWS::EC2::Instance" - | "AWS::EC2::VPC" - | "AWS::Lambda::Function"; +export type ResourceType = "AWS::EC2::Instance" | "AWS::EC2::VPC" | "AWS::Lambda::Function"; export type ResourceTypes = Array; export type RetentionPeriodInDays = number; @@ -605,14 +447,7 @@ export interface StartTelemetryEnrichmentOutput { Status?: TelemetryEnrichmentStatus; AwsResourceExplorerManagedViewArn?: string; } -export type Status = - | "NOT_STARTED" - | "STARTING" - | "FAILED_START" - | "RUNNING" - | "STOPPING" - | "FAILED_STOP" - | "STOPPED"; +export type Status = "NOT_STARTED" | "STARTING" | "FAILED_START" | "RUNNING" | "STOPPING" | "FAILED_STOP" | "STOPPED"; export interface StopTelemetryEnrichmentOutput { Status?: TelemetryEnrichmentStatus; } @@ -1042,12 +877,5 @@ export declare namespace UpdateTelemetryRuleForOrganization { | CommonAwsError; } -export type ObservabilityAdminErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError; +export type ObservabilityAdminErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError; + diff --git a/src/services/odb/index.ts b/src/services/odb/index.ts index 3788a749..cf0002c4 100644 --- a/src/services/odb/index.ts +++ b/src/services/odb/index.ts @@ -5,23 +5,7 @@ import type { odb as _odbClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/odb/types.ts b/src/services/odb/types.ts index 6afddcba..1d3dfc22 100644 --- a/src/services/odb/types.ts +++ b/src/services/odb/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class odb extends AWSServiceClient { @@ -40,63 +8,37 @@ export declare class odb extends AWSServiceClient { input: AcceptMarketplaceRegistrationInput, ): Effect.Effect< AcceptMarketplaceRegistrationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getOciOnboardingStatus( input: GetOciOnboardingStatusInput, ): Effect.Effect< GetOciOnboardingStatusOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; initializeService( input: InitializeServiceInput, ): Effect.Effect< InitializeServiceOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDbSystemShapes( input: ListDbSystemShapesInput, ): Effect.Effect< ListDbSystemShapesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listGiVersions( input: ListGiVersionsInput, ): Effect.Effect< ListGiVersionsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSystemVersions( input: ListSystemVersionsInput, ): Effect.Effect< ListSystemVersionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, @@ -120,377 +62,208 @@ export declare class odb extends AWSServiceClient { input: CreateCloudAutonomousVmClusterInput, ): Effect.Effect< CreateCloudAutonomousVmClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCloudExadataInfrastructure( input: CreateCloudExadataInfrastructureInput, ): Effect.Effect< CreateCloudExadataInfrastructureOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createCloudVmCluster( input: CreateCloudVmClusterInput, ): Effect.Effect< CreateCloudVmClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createOdbNetwork( input: CreateOdbNetworkInput, ): Effect.Effect< CreateOdbNetworkOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createOdbPeeringConnection( input: CreateOdbPeeringConnectionInput, ): Effect.Effect< CreateOdbPeeringConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCloudAutonomousVmCluster( input: DeleteCloudAutonomousVmClusterInput, ): Effect.Effect< DeleteCloudAutonomousVmClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteCloudExadataInfrastructure( input: DeleteCloudExadataInfrastructureInput, ): Effect.Effect< DeleteCloudExadataInfrastructureOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCloudVmCluster( input: DeleteCloudVmClusterInput, ): Effect.Effect< DeleteCloudVmClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteOdbNetwork( input: DeleteOdbNetworkInput, ): Effect.Effect< DeleteOdbNetworkOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteOdbPeeringConnection( input: DeleteOdbPeeringConnectionInput, ): Effect.Effect< DeleteOdbPeeringConnectionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCloudAutonomousVmCluster( input: GetCloudAutonomousVmClusterInput, ): Effect.Effect< GetCloudAutonomousVmClusterOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCloudExadataInfrastructure( input: GetCloudExadataInfrastructureInput, ): Effect.Effect< GetCloudExadataInfrastructureOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCloudExadataInfrastructureUnallocatedResources( input: GetCloudExadataInfrastructureUnallocatedResourcesInput, ): Effect.Effect< GetCloudExadataInfrastructureUnallocatedResourcesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCloudVmCluster( input: GetCloudVmClusterInput, ): Effect.Effect< GetCloudVmClusterOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDbNode( input: GetDbNodeInput, ): Effect.Effect< GetDbNodeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDbServer( input: GetDbServerInput, ): Effect.Effect< GetDbServerOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOdbNetwork( input: GetOdbNetworkInput, ): Effect.Effect< GetOdbNetworkOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOdbPeeringConnection( input: GetOdbPeeringConnectionInput, ): Effect.Effect< GetOdbPeeringConnectionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAutonomousVirtualMachines( input: ListAutonomousVirtualMachinesInput, ): Effect.Effect< ListAutonomousVirtualMachinesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCloudAutonomousVmClusters( input: ListCloudAutonomousVmClustersInput, ): Effect.Effect< ListCloudAutonomousVmClustersOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCloudExadataInfrastructures( input: ListCloudExadataInfrastructuresInput, ): Effect.Effect< ListCloudExadataInfrastructuresOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCloudVmClusters( input: ListCloudVmClustersInput, ): Effect.Effect< ListCloudVmClustersOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDbNodes( input: ListDbNodesInput, ): Effect.Effect< ListDbNodesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDbServers( input: ListDbServersInput, ): Effect.Effect< ListDbServersOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listOdbNetworks( input: ListOdbNetworksInput, ): Effect.Effect< ListOdbNetworksOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listOdbPeeringConnections( input: ListOdbPeeringConnectionsInput, ): Effect.Effect< ListOdbPeeringConnectionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; rebootDbNode( input: RebootDbNodeInput, ): Effect.Effect< RebootDbNodeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startDbNode( input: StartDbNodeInput, ): Effect.Effect< StartDbNodeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopDbNode( input: StopDbNodeInput, ): Effect.Effect< StopDbNodeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCloudExadataInfrastructure( input: UpdateCloudExadataInfrastructureInput, ): Effect.Effect< UpdateCloudExadataInfrastructureOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateOdbNetwork( input: UpdateOdbNetworkInput, ): Effect.Effect< UpdateOdbNetworkOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateOdbPeeringConnection( input: UpdateOdbPeeringConnectionInput, ): Effect.Effect< UpdateOdbPeeringConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } export interface AcceptMarketplaceRegistrationInput { marketplaceRegistrationToken: string; } -export interface AcceptMarketplaceRegistrationOutput {} +export interface AcceptMarketplaceRegistrationOutput { +} export type Access = "ENABLED" | "DISABLED"; export declare class AccessDeniedException extends EffectData.TaggedError( "AccessDeniedException", )<{ readonly message: string; }> {} -export type AutonomousVirtualMachineList = - Array; +export type AutonomousVirtualMachineList = Array; export interface AutonomousVirtualMachineSummary { autonomousVirtualMachineId?: string; status?: ResourceStatus; @@ -557,14 +330,12 @@ export interface CloudAutonomousVmCluster { timeZone?: string; totalContainerDatabases?: number; } -export type CloudAutonomousVmClusterList = - Array; +export type CloudAutonomousVmClusterList = Array; export interface CloudAutonomousVmClusterResourceDetails { cloudAutonomousVmClusterId?: string; unallocatedAdbStorageInTBs?: number; } -export type CloudAutonomousVmClusterResourceDetailsList = - Array; +export type CloudAutonomousVmClusterResourceDetailsList = Array; export interface CloudAutonomousVmClusterSummary { cloudAutonomousVmClusterId: string; cloudAutonomousVmClusterArn?: string; @@ -656,8 +427,7 @@ export interface CloudExadataInfrastructure { storageServerType?: string; computeModel?: ComputeModel; } -export type CloudExadataInfrastructureList = - Array; +export type CloudExadataInfrastructureList = Array; export interface CloudExadataInfrastructureSummary { cloudExadataInfrastructureId: string; displayName?: string; @@ -920,14 +690,7 @@ export interface DataCollectionOptions { export interface DayOfWeek { name?: DayOfWeekName; } -export type DayOfWeekName = - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY" - | "SUNDAY"; +export type DayOfWeekName = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"; export type DaysOfWeek = Array; export interface DbIormConfig { dbName?: string; @@ -967,16 +730,7 @@ export interface DbNode { } export type DbNodeList = Array; export type DbNodeMaintenanceType = "VMDB_REBOOT_MIGRATION"; -export type DbNodeResourceStatus = - | "AVAILABLE" - | "FAILED" - | "PROVISIONING" - | "TERMINATED" - | "TERMINATING" - | "UPDATING" - | "STOPPING" - | "STOPPED" - | "STARTING"; +export type DbNodeResourceStatus = "AVAILABLE" | "FAILED" | "PROVISIONING" | "TERMINATED" | "TERMINATING" | "UPDATING" | "STOPPING" | "STOPPED" | "STARTING"; export interface DbNodeSummary { dbNodeId?: string; dbNodeArn?: string; @@ -1034,11 +788,7 @@ export interface DbServerPatchingDetails { timePatchingEnded?: string; timePatchingStarted?: string; } -export type DbServerPatchingStatus = - | "COMPLETE" - | "FAILED" - | "MAINTENANCE_IN_PROGRESS" - | "SCHEDULED"; +export type DbServerPatchingStatus = "COMPLETE" | "FAILED" | "MAINTENANCE_IN_PROGRESS" | "SCHEDULED"; export interface DbServerSummary { dbServerId?: string; status?: ResourceStatus; @@ -1091,24 +841,29 @@ export interface DbSystemShapeSummary { export interface DeleteCloudAutonomousVmClusterInput { cloudAutonomousVmClusterId: string; } -export interface DeleteCloudAutonomousVmClusterOutput {} +export interface DeleteCloudAutonomousVmClusterOutput { +} export interface DeleteCloudExadataInfrastructureInput { cloudExadataInfrastructureId: string; } -export interface DeleteCloudExadataInfrastructureOutput {} +export interface DeleteCloudExadataInfrastructureOutput { +} export interface DeleteCloudVmClusterInput { cloudVmClusterId: string; } -export interface DeleteCloudVmClusterOutput {} +export interface DeleteCloudVmClusterOutput { +} export interface DeleteOdbNetworkInput { odbNetworkId: string; deleteAssociatedResources: boolean; } -export interface DeleteOdbNetworkOutput {} +export interface DeleteOdbNetworkOutput { +} export interface DeleteOdbPeeringConnectionInput { odbPeeringConnectionId: string; } -export interface DeleteOdbPeeringConnectionOutput {} +export interface DeleteOdbPeeringConnectionOutput { +} export type DiskRedundancy = "HIGH" | "NORMAL"; export interface ExadataIormConfig { dbPlans?: Array; @@ -1157,7 +912,8 @@ export interface GetDbServerInput { export interface GetDbServerOutput { dbServer?: DbServer; } -export interface GetOciOnboardingStatusInput {} +export interface GetOciOnboardingStatusInput { +} export interface GetOciOnboardingStatusOutput { status?: OciOnboardingStatus; existingTenancyActivationLink?: string; @@ -1180,20 +936,17 @@ export interface GiVersionSummary { version?: string; } export type HoursOfDay = Array; -export interface InitializeServiceInput {} -export interface InitializeServiceOutput {} +export interface InitializeServiceInput { +} +export interface InitializeServiceOutput { +} export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", )<{ readonly message: string; readonly retryAfterSeconds?: number; }> {} -export type IormLifecycleState = - | "BOOTSTRAPPING" - | "DISABLED" - | "ENABLED" - | "FAILED" - | "UPDATING"; +export type IormLifecycleState = "BOOTSTRAPPING" | "DISABLED" | "ENABLED" | "FAILED" | "UPDATING"; export type LicenseModel = "BRING_YOUR_OWN_LICENSE" | "LICENSE_INCLUDED"; export interface ListAutonomousVirtualMachinesInput { maxResults?: number; @@ -1312,11 +1065,7 @@ export interface MaintenanceWindow { skipRu?: boolean; weeksOfMonth?: Array; } -export type ManagedResourceStatus = - | "ENABLED" - | "ENABLING" - | "DISABLED" - | "DISABLING"; +export type ManagedResourceStatus = "ENABLED" | "ENABLING" | "DISABLED" | "DISABLING"; export interface ManagedS3BackupAccess { status?: ManagedResourceStatus; ipv4Addresses?: Array; @@ -1333,44 +1082,15 @@ export interface ManagedServices { export interface Month { name?: MonthName; } -export type MonthName = - | "JANUARY" - | "FEBRUARY" - | "MARCH" - | "APRIL" - | "MAY" - | "JUNE" - | "JULY" - | "AUGUST" - | "SEPTEMBER" - | "OCTOBER" - | "NOVEMBER" - | "DECEMBER"; +export type MonthName = "JANUARY" | "FEBRUARY" | "MARCH" | "APRIL" | "MAY" | "JUNE" | "JULY" | "AUGUST" | "SEPTEMBER" | "OCTOBER" | "NOVEMBER" | "DECEMBER"; export type Months = Array; -export type Objective = - | "AUTO" - | "BALANCED" - | "BASIC" - | "HIGH_THROUGHPUT" - | "LOW_LATENCY"; +export type Objective = "AUTO" | "BALANCED" | "BASIC" | "HIGH_THROUGHPUT" | "LOW_LATENCY"; export interface OciDnsForwardingConfig { domainName?: string; ociDnsListenerIp?: string; } export type OciDnsForwardingConfigList = Array; -export type OciOnboardingStatus = - | "NOT_STARTED" - | "PENDING_LINK_GENERATION" - | "PENDING_CUSTOMER_ACTION" - | "PENDING_INITIALIZATION" - | "ACTIVATING" - | "ACTIVE_IN_HOME_REGION" - | "ACTIVE" - | "ACTIVE_LIMITED" - | "FAILED" - | "PUBLIC_OFFER_UNSUPPORTED" - | "SUSPENDED" - | "CANCELED"; +export type OciOnboardingStatus = "NOT_STARTED" | "PENDING_LINK_GENERATION" | "PENDING_CUSTOMER_ACTION" | "PENDING_INITIALIZATION" | "ACTIVATING" | "ACTIVE_IN_HOME_REGION" | "ACTIVE" | "ACTIVE_LIMITED" | "FAILED" | "PUBLIC_OFFER_UNSUPPORTED" | "SUSPENDED" | "CANCELED"; export interface OdbNetwork { odbNetworkId: string; displayName?: string; @@ -1477,14 +1197,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( readonly resourceId: string; readonly resourceType: string; }> {} -export type ResourceStatus = - | "AVAILABLE" - | "FAILED" - | "PROVISIONING" - | "TERMINATED" - | "TERMINATING" - | "UPDATING" - | "MAINTENANCE_IN_PROGRESS"; +export type ResourceStatus = "AVAILABLE" | "FAILED" | "PROVISIONING" | "TERMINATED" | "TERMINATING" | "UPDATING" | "MAINTENANCE_IN_PROGRESS"; export type ResponseTagMap = Record; export interface S3Access { status?: ManagedResourceStatus; @@ -1540,7 +1253,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1553,7 +1267,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateCloudExadataInfrastructureInput { cloudExadataInfrastructureId: string; maintenanceWindow?: MaintenanceWindow; @@ -1603,11 +1318,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export type VpcEndpointType = "SERVICENETWORK"; export type WeeksOfMonth = Array; export interface ZeroEtlAccess { @@ -1685,7 +1396,9 @@ export declare namespace ListSystemVersions { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -1700,7 +1413,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace CreateCloudAutonomousVmCluster { @@ -2096,12 +1811,5 @@ export declare namespace UpdateOdbPeeringConnection { | CommonAwsError; } -export type odbErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type odbErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/omics/index.ts b/src/services/omics/index.ts index ae7775b7..1b79ccd9 100644 --- a/src/services/omics/index.ts +++ b/src/services/omics/index.ts @@ -5,22 +5,7 @@ import type { Omics as _OmicsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -29,131 +14,117 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "omics", operations: { - DeleteS3AccessPolicy: "DELETE /s3accesspolicy/{s3AccessPointArn}", - GetS3AccessPolicy: "GET /s3accesspolicy/{s3AccessPointArn}", - PutS3AccessPolicy: "PUT /s3accesspolicy/{s3AccessPointArn}", - AbortMultipartReadSetUpload: - "DELETE /sequencestore/{sequenceStoreId}/upload/{uploadId}/abort", - AcceptShare: "POST /share/{shareId}", - BatchDeleteReadSet: - "POST /sequencestore/{sequenceStoreId}/readset/batch/delete", - CancelAnnotationImportJob: "DELETE /import/annotation/{jobId}", - CancelRun: "POST /run/{id}/cancel", - CancelVariantImportJob: "DELETE /import/variant/{jobId}", - CompleteMultipartReadSetUpload: - "POST /sequencestore/{sequenceStoreId}/upload/{uploadId}/complete", - CreateAnnotationStore: "POST /annotationStore", - CreateAnnotationStoreVersion: "POST /annotationStore/{name}/version", - CreateMultipartReadSetUpload: - "POST /sequencestore/{sequenceStoreId}/upload", - CreateReferenceStore: "POST /referencestore", - CreateRunCache: "POST /runCache", - CreateRunGroup: "POST /runGroup", - CreateSequenceStore: "POST /sequencestore", - CreateShare: "POST /share", - CreateVariantStore: "POST /variantStore", - CreateWorkflow: "POST /workflow", - CreateWorkflowVersion: "POST /workflow/{workflowId}/version", - DeleteAnnotationStore: "DELETE /annotationStore/{name}", - DeleteAnnotationStoreVersions: - "POST /annotationStore/{name}/versions/delete", - DeleteReference: "DELETE /referencestore/{referenceStoreId}/reference/{id}", - DeleteReferenceStore: "DELETE /referencestore/{id}", - DeleteRun: "DELETE /run/{id}", - DeleteRunCache: "DELETE /runCache/{id}", - DeleteRunGroup: "DELETE /runGroup/{id}", - DeleteSequenceStore: "DELETE /sequencestore/{id}", - DeleteShare: "DELETE /share/{shareId}", - DeleteVariantStore: "DELETE /variantStore/{name}", - DeleteWorkflow: "DELETE /workflow/{id}", - DeleteWorkflowVersion: - "DELETE /workflow/{workflowId}/version/{versionName}", - GetAnnotationImportJob: "GET /import/annotation/{jobId}", - GetAnnotationStore: "GET /annotationStore/{name}", - GetAnnotationStoreVersion: - "GET /annotationStore/{name}/version/{versionName}", - GetReadSet: { + "DeleteS3AccessPolicy": "DELETE /s3accesspolicy/{s3AccessPointArn}", + "GetS3AccessPolicy": "GET /s3accesspolicy/{s3AccessPointArn}", + "PutS3AccessPolicy": "PUT /s3accesspolicy/{s3AccessPointArn}", + "AbortMultipartReadSetUpload": "DELETE /sequencestore/{sequenceStoreId}/upload/{uploadId}/abort", + "AcceptShare": "POST /share/{shareId}", + "BatchDeleteReadSet": "POST /sequencestore/{sequenceStoreId}/readset/batch/delete", + "CancelAnnotationImportJob": "DELETE /import/annotation/{jobId}", + "CancelRun": "POST /run/{id}/cancel", + "CancelVariantImportJob": "DELETE /import/variant/{jobId}", + "CompleteMultipartReadSetUpload": "POST /sequencestore/{sequenceStoreId}/upload/{uploadId}/complete", + "CreateAnnotationStore": "POST /annotationStore", + "CreateAnnotationStoreVersion": "POST /annotationStore/{name}/version", + "CreateMultipartReadSetUpload": "POST /sequencestore/{sequenceStoreId}/upload", + "CreateReferenceStore": "POST /referencestore", + "CreateRunCache": "POST /runCache", + "CreateRunGroup": "POST /runGroup", + "CreateSequenceStore": "POST /sequencestore", + "CreateShare": "POST /share", + "CreateVariantStore": "POST /variantStore", + "CreateWorkflow": "POST /workflow", + "CreateWorkflowVersion": "POST /workflow/{workflowId}/version", + "DeleteAnnotationStore": "DELETE /annotationStore/{name}", + "DeleteAnnotationStoreVersions": "POST /annotationStore/{name}/versions/delete", + "DeleteReference": "DELETE /referencestore/{referenceStoreId}/reference/{id}", + "DeleteReferenceStore": "DELETE /referencestore/{id}", + "DeleteRun": "DELETE /run/{id}", + "DeleteRunCache": "DELETE /runCache/{id}", + "DeleteRunGroup": "DELETE /runGroup/{id}", + "DeleteSequenceStore": "DELETE /sequencestore/{id}", + "DeleteShare": "DELETE /share/{shareId}", + "DeleteVariantStore": "DELETE /variantStore/{name}", + "DeleteWorkflow": "DELETE /workflow/{id}", + "DeleteWorkflowVersion": "DELETE /workflow/{workflowId}/version/{versionName}", + "GetAnnotationImportJob": "GET /import/annotation/{jobId}", + "GetAnnotationStore": "GET /annotationStore/{name}", + "GetAnnotationStoreVersion": "GET /annotationStore/{name}/version/{versionName}", + "GetReadSet": { http: "GET /sequencestore/{sequenceStoreId}/readset/{id}", traits: { - payload: "httpStreaming", + "payload": "httpStreaming", }, }, - GetReadSetActivationJob: - "GET /sequencestore/{sequenceStoreId}/activationjob/{id}", - GetReadSetExportJob: "GET /sequencestore/{sequenceStoreId}/exportjob/{id}", - GetReadSetImportJob: "GET /sequencestore/{sequenceStoreId}/importjob/{id}", - GetReadSetMetadata: - "GET /sequencestore/{sequenceStoreId}/readset/{id}/metadata", - GetReference: { + "GetReadSetActivationJob": "GET /sequencestore/{sequenceStoreId}/activationjob/{id}", + "GetReadSetExportJob": "GET /sequencestore/{sequenceStoreId}/exportjob/{id}", + "GetReadSetImportJob": "GET /sequencestore/{sequenceStoreId}/importjob/{id}", + "GetReadSetMetadata": "GET /sequencestore/{sequenceStoreId}/readset/{id}/metadata", + "GetReference": { http: "GET /referencestore/{referenceStoreId}/reference/{id}", traits: { - payload: "httpStreaming", + "payload": "httpStreaming", }, }, - GetReferenceImportJob: - "GET /referencestore/{referenceStoreId}/importjob/{id}", - GetReferenceMetadata: - "GET /referencestore/{referenceStoreId}/reference/{id}/metadata", - GetReferenceStore: "GET /referencestore/{id}", - GetRun: "GET /run/{id}", - GetRunCache: "GET /runCache/{id}", - GetRunGroup: "GET /runGroup/{id}", - GetRunTask: "GET /run/{id}/task/{taskId}", - GetSequenceStore: "GET /sequencestore/{id}", - GetShare: "GET /share/{shareId}", - GetVariantImportJob: "GET /import/variant/{jobId}", - GetVariantStore: "GET /variantStore/{name}", - GetWorkflow: "GET /workflow/{id}", - GetWorkflowVersion: "GET /workflow/{workflowId}/version/{versionName}", - ListAnnotationImportJobs: "POST /import/annotations", - ListAnnotationStoreVersions: "POST /annotationStore/{name}/versions", - ListAnnotationStores: "POST /annotationStores", - ListMultipartReadSetUploads: - "POST /sequencestore/{sequenceStoreId}/uploads", - ListReadSetActivationJobs: - "POST /sequencestore/{sequenceStoreId}/activationjobs", - ListReadSetExportJobs: "POST /sequencestore/{sequenceStoreId}/exportjobs", - ListReadSetImportJobs: "POST /sequencestore/{sequenceStoreId}/importjobs", - ListReadSetUploadParts: - "POST /sequencestore/{sequenceStoreId}/upload/{uploadId}/parts", - ListReadSets: "POST /sequencestore/{sequenceStoreId}/readsets", - ListReferenceImportJobs: - "POST /referencestore/{referenceStoreId}/importjobs", - ListReferenceStores: "POST /referencestores", - ListReferences: "POST /referencestore/{referenceStoreId}/references", - ListRunCaches: "GET /runCache", - ListRunGroups: "GET /runGroup", - ListRunTasks: "GET /run/{id}/task", - ListRuns: "GET /run", - ListSequenceStores: "POST /sequencestores", - ListShares: "POST /shares", - ListTagsForResource: "GET /tags/{resourceArn}", - ListVariantImportJobs: "POST /import/variants", - ListVariantStores: "POST /variantStores", - ListWorkflowVersions: "GET /workflow/{workflowId}/version", - ListWorkflows: "GET /workflow", - StartAnnotationImportJob: "POST /import/annotation", - StartReadSetActivationJob: - "POST /sequencestore/{sequenceStoreId}/activationjob", - StartReadSetExportJob: "POST /sequencestore/{sequenceStoreId}/exportjob", - StartReadSetImportJob: "POST /sequencestore/{sequenceStoreId}/importjob", - StartReferenceImportJob: - "POST /referencestore/{referenceStoreId}/importjob", - StartRun: "POST /run", - StartVariantImportJob: "POST /import/variant", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateAnnotationStore: "POST /annotationStore/{name}", - UpdateAnnotationStoreVersion: - "POST /annotationStore/{name}/version/{versionName}", - UpdateRunCache: "POST /runCache/{id}", - UpdateRunGroup: "POST /runGroup/{id}", - UpdateSequenceStore: "PATCH /sequencestore/{id}", - UpdateVariantStore: "POST /variantStore/{name}", - UpdateWorkflow: "POST /workflow/{id}", - UpdateWorkflowVersion: "POST /workflow/{workflowId}/version/{versionName}", - UploadReadSetPart: - "PUT /sequencestore/{sequenceStoreId}/upload/{uploadId}/part", + "GetReferenceImportJob": "GET /referencestore/{referenceStoreId}/importjob/{id}", + "GetReferenceMetadata": "GET /referencestore/{referenceStoreId}/reference/{id}/metadata", + "GetReferenceStore": "GET /referencestore/{id}", + "GetRun": "GET /run/{id}", + "GetRunCache": "GET /runCache/{id}", + "GetRunGroup": "GET /runGroup/{id}", + "GetRunTask": "GET /run/{id}/task/{taskId}", + "GetSequenceStore": "GET /sequencestore/{id}", + "GetShare": "GET /share/{shareId}", + "GetVariantImportJob": "GET /import/variant/{jobId}", + "GetVariantStore": "GET /variantStore/{name}", + "GetWorkflow": "GET /workflow/{id}", + "GetWorkflowVersion": "GET /workflow/{workflowId}/version/{versionName}", + "ListAnnotationImportJobs": "POST /import/annotations", + "ListAnnotationStoreVersions": "POST /annotationStore/{name}/versions", + "ListAnnotationStores": "POST /annotationStores", + "ListMultipartReadSetUploads": "POST /sequencestore/{sequenceStoreId}/uploads", + "ListReadSetActivationJobs": "POST /sequencestore/{sequenceStoreId}/activationjobs", + "ListReadSetExportJobs": "POST /sequencestore/{sequenceStoreId}/exportjobs", + "ListReadSetImportJobs": "POST /sequencestore/{sequenceStoreId}/importjobs", + "ListReadSetUploadParts": "POST /sequencestore/{sequenceStoreId}/upload/{uploadId}/parts", + "ListReadSets": "POST /sequencestore/{sequenceStoreId}/readsets", + "ListReferenceImportJobs": "POST /referencestore/{referenceStoreId}/importjobs", + "ListReferenceStores": "POST /referencestores", + "ListReferences": "POST /referencestore/{referenceStoreId}/references", + "ListRunCaches": "GET /runCache", + "ListRunGroups": "GET /runGroup", + "ListRunTasks": "GET /run/{id}/task", + "ListRuns": "GET /run", + "ListSequenceStores": "POST /sequencestores", + "ListShares": "POST /shares", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListVariantImportJobs": "POST /import/variants", + "ListVariantStores": "POST /variantStores", + "ListWorkflowVersions": "GET /workflow/{workflowId}/version", + "ListWorkflows": "GET /workflow", + "StartAnnotationImportJob": "POST /import/annotation", + "StartReadSetActivationJob": "POST /sequencestore/{sequenceStoreId}/activationjob", + "StartReadSetExportJob": "POST /sequencestore/{sequenceStoreId}/exportjob", + "StartReadSetImportJob": "POST /sequencestore/{sequenceStoreId}/importjob", + "StartReferenceImportJob": "POST /referencestore/{referenceStoreId}/importjob", + "StartRun": "POST /run", + "StartVariantImportJob": "POST /import/variant", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateAnnotationStore": "POST /annotationStore/{name}", + "UpdateAnnotationStoreVersion": "POST /annotationStore/{name}/version/{versionName}", + "UpdateRunCache": "POST /runCache/{id}", + "UpdateRunGroup": "POST /runGroup/{id}", + "UpdateSequenceStore": "PATCH /sequencestore/{id}", + "UpdateVariantStore": "POST /variantStore/{name}", + "UpdateWorkflow": "POST /workflow/{id}", + "UpdateWorkflowVersion": "POST /workflow/{workflowId}/version/{versionName}", + "UploadReadSetPart": "PUT /sequencestore/{sequenceStoreId}/upload/{uploadId}/part", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, + "RangeNotSatisfiableException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/omics/types.ts b/src/services/omics/types.ts index 1e43d690..a701e1aa 100644 --- a/src/services/omics/types.ts +++ b/src/services/omics/types.ts @@ -1,39 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | RequestTimeoutException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | RequestTimeoutException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Omics extends AWSServiceClient { @@ -41,1231 +10,577 @@ export declare class Omics extends AWSServiceClient { input: DeleteS3AccessPolicyRequest, ): Effect.Effect< DeleteS3AccessPolicyResponse, - | AccessDeniedException - | InternalServerException - | NotSupportedOperationException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotSupportedOperationException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getS3AccessPolicy( input: GetS3AccessPolicyRequest, ): Effect.Effect< GetS3AccessPolicyResponse, - | AccessDeniedException - | InternalServerException - | NotSupportedOperationException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotSupportedOperationException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putS3AccessPolicy( input: PutS3AccessPolicyRequest, ): Effect.Effect< PutS3AccessPolicyResponse, - | AccessDeniedException - | InternalServerException - | NotSupportedOperationException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotSupportedOperationException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; abortMultipartReadSetUpload( input: AbortMultipartReadSetUploadRequest, ): Effect.Effect< AbortMultipartReadSetUploadResponse, - | AccessDeniedException - | InternalServerException - | NotSupportedOperationException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotSupportedOperationException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; acceptShare( input: AcceptShareRequest, ): Effect.Effect< AcceptShareResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchDeleteReadSet( input: BatchDeleteReadSetRequest, ): Effect.Effect< BatchDeleteReadSetResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelAnnotationImportJob( input: CancelAnnotationImportRequest, ): Effect.Effect< CancelAnnotationImportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelRun( input: CancelRunRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; cancelVariantImportJob( input: CancelVariantImportRequest, ): Effect.Effect< CancelVariantImportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; completeMultipartReadSetUpload( input: CompleteMultipartReadSetUploadRequest, ): Effect.Effect< CompleteMultipartReadSetUploadResponse, - | AccessDeniedException - | InternalServerException - | NotSupportedOperationException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotSupportedOperationException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAnnotationStore( input: CreateAnnotationStoreRequest, ): Effect.Effect< CreateAnnotationStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAnnotationStoreVersion( input: CreateAnnotationStoreVersionRequest, ): Effect.Effect< CreateAnnotationStoreVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMultipartReadSetUpload( input: CreateMultipartReadSetUploadRequest, ): Effect.Effect< CreateMultipartReadSetUploadResponse, - | AccessDeniedException - | InternalServerException - | NotSupportedOperationException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotSupportedOperationException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createReferenceStore( input: CreateReferenceStoreRequest, ): Effect.Effect< CreateReferenceStoreResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRunCache( input: CreateRunCacheRequest, ): Effect.Effect< CreateRunCacheResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRunGroup( input: CreateRunGroupRequest, ): Effect.Effect< CreateRunGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSequenceStore( input: CreateSequenceStoreRequest, ): Effect.Effect< CreateSequenceStoreResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createShare( input: CreateShareRequest, ): Effect.Effect< CreateShareResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createVariantStore( input: CreateVariantStoreRequest, ): Effect.Effect< CreateVariantStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkflow( input: CreateWorkflowRequest, ): Effect.Effect< CreateWorkflowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkflowVersion( input: CreateWorkflowVersionRequest, ): Effect.Effect< CreateWorkflowVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAnnotationStore( input: DeleteAnnotationStoreRequest, ): Effect.Effect< DeleteAnnotationStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAnnotationStoreVersions( input: DeleteAnnotationStoreVersionsRequest, ): Effect.Effect< DeleteAnnotationStoreVersionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteReference( input: DeleteReferenceRequest, ): Effect.Effect< DeleteReferenceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteReferenceStore( input: DeleteReferenceStoreRequest, ): Effect.Effect< DeleteReferenceStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRun( input: DeleteRunRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteRunCache( input: DeleteRunCacheRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteRunGroup( input: DeleteRunGroupRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteSequenceStore( input: DeleteSequenceStoreRequest, ): Effect.Effect< DeleteSequenceStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteShare( input: DeleteShareRequest, ): Effect.Effect< DeleteShareResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteVariantStore( input: DeleteVariantStoreRequest, ): Effect.Effect< DeleteVariantStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkflow( input: DeleteWorkflowRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkflowVersion( input: DeleteWorkflowVersionRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getAnnotationImportJob( input: GetAnnotationImportRequest, ): Effect.Effect< GetAnnotationImportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAnnotationStore( input: GetAnnotationStoreRequest, ): Effect.Effect< GetAnnotationStoreResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAnnotationStoreVersion( input: GetAnnotationStoreVersionRequest, ): Effect.Effect< GetAnnotationStoreVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReadSet( input: GetReadSetRequest, ): Effect.Effect< GetReadSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RangeNotSatisfiableException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RangeNotSatisfiableException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReadSetActivationJob( input: GetReadSetActivationJobRequest, ): Effect.Effect< GetReadSetActivationJobResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReadSetExportJob( input: GetReadSetExportJobRequest, ): Effect.Effect< GetReadSetExportJobResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReadSetImportJob( input: GetReadSetImportJobRequest, ): Effect.Effect< GetReadSetImportJobResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReadSetMetadata( input: GetReadSetMetadataRequest, ): Effect.Effect< GetReadSetMetadataResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReference( input: GetReferenceRequest, ): Effect.Effect< GetReferenceResponse, - | AccessDeniedException - | InternalServerException - | RangeNotSatisfiableException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RangeNotSatisfiableException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReferenceImportJob( input: GetReferenceImportJobRequest, ): Effect.Effect< GetReferenceImportJobResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReferenceMetadata( input: GetReferenceMetadataRequest, ): Effect.Effect< GetReferenceMetadataResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReferenceStore( input: GetReferenceStoreRequest, ): Effect.Effect< GetReferenceStoreResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRun( input: GetRunRequest, ): Effect.Effect< GetRunResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getRunCache( input: GetRunCacheRequest, ): Effect.Effect< GetRunCacheResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getRunGroup( input: GetRunGroupRequest, ): Effect.Effect< GetRunGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getRunTask( input: GetRunTaskRequest, ): Effect.Effect< GetRunTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getSequenceStore( input: GetSequenceStoreRequest, ): Effect.Effect< GetSequenceStoreResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getShare( input: GetShareRequest, ): Effect.Effect< GetShareResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getVariantImportJob( input: GetVariantImportRequest, ): Effect.Effect< GetVariantImportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getVariantStore( input: GetVariantStoreRequest, ): Effect.Effect< GetVariantStoreResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWorkflow( input: GetWorkflowRequest, ): Effect.Effect< GetWorkflowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getWorkflowVersion( input: GetWorkflowVersionRequest, ): Effect.Effect< GetWorkflowVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listAnnotationImportJobs( input: ListAnnotationImportJobsRequest, ): Effect.Effect< ListAnnotationImportJobsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAnnotationStoreVersions( input: ListAnnotationStoreVersionsRequest, ): Effect.Effect< ListAnnotationStoreVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAnnotationStores( input: ListAnnotationStoresRequest, ): Effect.Effect< ListAnnotationStoresResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMultipartReadSetUploads( input: ListMultipartReadSetUploadsRequest, ): Effect.Effect< ListMultipartReadSetUploadsResponse, - | AccessDeniedException - | InternalServerException - | NotSupportedOperationException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotSupportedOperationException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listReadSetActivationJobs( input: ListReadSetActivationJobsRequest, ): Effect.Effect< ListReadSetActivationJobsResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError - >; - listReadSetExportJobs( - input: ListReadSetExportJobsRequest, - ): Effect.Effect< - ListReadSetExportJobsResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError + >; + listReadSetExportJobs( + input: ListReadSetExportJobsRequest, + ): Effect.Effect< + ListReadSetExportJobsResponse, + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listReadSetImportJobs( input: ListReadSetImportJobsRequest, ): Effect.Effect< ListReadSetImportJobsResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listReadSetUploadParts( input: ListReadSetUploadPartsRequest, ): Effect.Effect< ListReadSetUploadPartsResponse, - | AccessDeniedException - | InternalServerException - | NotSupportedOperationException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotSupportedOperationException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listReadSets( input: ListReadSetsRequest, ): Effect.Effect< ListReadSetsResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listReferenceImportJobs( input: ListReferenceImportJobsRequest, ): Effect.Effect< ListReferenceImportJobsResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listReferenceStores( input: ListReferenceStoresRequest, ): Effect.Effect< ListReferenceStoresResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ThrottlingException | ValidationException | CommonAwsError >; listReferences( input: ListReferencesRequest, ): Effect.Effect< ListReferencesResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRunCaches( input: ListRunCachesRequest, ): Effect.Effect< ListRunCachesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listRunGroups( input: ListRunGroupsRequest, ): Effect.Effect< ListRunGroupsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listRunTasks( input: ListRunTasksRequest, ): Effect.Effect< ListRunTasksResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listRuns( input: ListRunsRequest, ): Effect.Effect< ListRunsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listSequenceStores( input: ListSequenceStoresRequest, ): Effect.Effect< ListSequenceStoresResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ThrottlingException | ValidationException | CommonAwsError >; listShares( input: ListSharesRequest, ): Effect.Effect< ListSharesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listVariantImportJobs( input: ListVariantImportJobsRequest, ): Effect.Effect< ListVariantImportJobsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listVariantStores( input: ListVariantStoresRequest, ): Effect.Effect< ListVariantStoresResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWorkflowVersions( input: ListWorkflowVersionsRequest, ): Effect.Effect< ListWorkflowVersionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listWorkflows( input: ListWorkflowsRequest, ): Effect.Effect< ListWorkflowsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startAnnotationImportJob( input: StartAnnotationImportRequest, ): Effect.Effect< StartAnnotationImportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startReadSetActivationJob( input: StartReadSetActivationJobRequest, ): Effect.Effect< StartReadSetActivationJobResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startReadSetExportJob( input: StartReadSetExportJobRequest, ): Effect.Effect< StartReadSetExportJobResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startReadSetImportJob( input: StartReadSetImportJobRequest, ): Effect.Effect< StartReadSetImportJobResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startReferenceImportJob( input: StartReferenceImportJobRequest, ): Effect.Effect< StartReferenceImportJobResponse, - | AccessDeniedException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startRun( input: StartRunRequest, ): Effect.Effect< StartRunResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startVariantImportJob( input: StartVariantImportRequest, ): Effect.Effect< StartVariantImportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAnnotationStore( input: UpdateAnnotationStoreRequest, ): Effect.Effect< UpdateAnnotationStoreResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAnnotationStoreVersion( input: UpdateAnnotationStoreVersionRequest, ): Effect.Effect< UpdateAnnotationStoreVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRunCache( input: UpdateRunCacheRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateRunGroup( input: UpdateRunGroupRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateSequenceStore( input: UpdateSequenceStoreRequest, ): Effect.Effect< UpdateSequenceStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateVariantStore( input: UpdateVariantStoreRequest, ): Effect.Effect< UpdateVariantStoreResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkflow( input: UpdateWorkflowRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkflowVersion( input: UpdateWorkflowVersionRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; uploadReadSetPart( input: UploadReadSetPartRequest, ): Effect.Effect< UploadReadSetPartResponse, - | AccessDeniedException - | InternalServerException - | NotSupportedOperationException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotSupportedOperationException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1273,7 +588,8 @@ export interface AbortMultipartReadSetUploadRequest { sequenceStoreId: string; uploadId: string; } -export interface AbortMultipartReadSetUploadResponse {} +export interface AbortMultipartReadSetUploadResponse { +} export type Accelerators = string; export interface AcceptShareRequest { @@ -1381,14 +697,16 @@ export type CacheBehavior = string; export interface CancelAnnotationImportRequest { jobId: string; } -export interface CancelAnnotationImportResponse {} +export interface CancelAnnotationImportResponse { +} export interface CancelRunRequest { id: string; } export interface CancelVariantImportRequest { jobId: string; } -export interface CancelVariantImportResponse {} +export interface CancelVariantImportResponse { +} export type ClientToken = string; export type CommentChar = string; @@ -1401,8 +719,7 @@ export interface CompleteMultipartReadSetUploadRequest { export interface CompleteMultipartReadSetUploadResponse { readSetId: string; } -export type CompleteReadSetUploadPartList = - Array; +export type CompleteReadSetUploadPartList = Array; export interface CompleteReadSetUploadPartListItem { partNumber: number; partSource: string; @@ -1673,11 +990,13 @@ export interface DeleteReferenceRequest { id: string; referenceStoreId: string; } -export interface DeleteReferenceResponse {} +export interface DeleteReferenceResponse { +} export interface DeleteReferenceStoreRequest { id: string; } -export interface DeleteReferenceStoreResponse {} +export interface DeleteReferenceStoreResponse { +} export interface DeleteRunCacheRequest { id: string; } @@ -1690,11 +1009,13 @@ export interface DeleteRunRequest { export interface DeleteS3AccessPolicyRequest { s3AccessPointArn: string; } -export interface DeleteS3AccessPolicyResponse {} +export interface DeleteS3AccessPolicyResponse { +} export interface DeleteSequenceStoreRequest { id: string; } -export interface DeleteSequenceStoreResponse {} +export interface DeleteSequenceStoreResponse { +} export interface DeleteShareRequest { shareId: string; } @@ -1787,9 +1108,7 @@ interface _FormatOptions { vcfOptions?: VcfOptions; } -export type FormatOptions = - | (_FormatOptions & { tsvOptions: TsvOptions }) - | (_FormatOptions & { vcfOptions: VcfOptions }); +export type FormatOptions = (_FormatOptions & { tsvOptions: TsvOptions }) | (_FormatOptions & { vcfOptions: VcfOptions }); export type FormatToHeader = Record; export type FormatToHeaderKey = string; @@ -2712,7 +2031,7 @@ interface _ReferenceItem { referenceArn?: string; } -export type ReferenceItem = _ReferenceItem & { referenceArn: string }; +export type ReferenceItem = (_ReferenceItem & { referenceArn: string }); export type ReferenceList = Array; export interface ReferenceListItem { id: string; @@ -3018,8 +2337,7 @@ export interface StartReadSetActivationJobResponse { export interface StartReadSetActivationJobSourceItem { readSetId: string; } -export type StartReadSetActivationJobSourceList = - Array; +export type StartReadSetActivationJobSourceList = Array; export interface StartReadSetExportJobRequest { sequenceStoreId: string; destination: string; @@ -3058,8 +2376,7 @@ export interface StartReadSetImportJobSourceItem { description?: string; tags?: Record; } -export type StartReadSetImportJobSourceList = - Array; +export type StartReadSetImportJobSourceList = Array; export interface StartReferenceImportJobRequest { referenceStoreId: string; roleArn: string; @@ -3079,8 +2396,7 @@ export interface StartReferenceImportJobSourceItem { description?: string; tags?: Record; } -export type StartReferenceImportJobSourceList = - Array; +export type StartReferenceImportJobSourceList = Array; export interface StartRunRequest { workflowId?: string; workflowType?: string; @@ -3135,7 +2451,7 @@ interface _StoreOptions { tsvStoreOptions?: TsvStoreOptions; } -export type StoreOptions = _StoreOptions & { tsvStoreOptions: TsvStoreOptions }; +export type StoreOptions = (_StoreOptions & { tsvStoreOptions: TsvStoreOptions }); export type StoreStatus = string; export type StoreType = "SEQUENCE_STORE" | "REFERENCE_STORE"; @@ -3151,7 +2467,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TaskFailureReason = string; @@ -3212,7 +2529,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAnnotationStoreRequest { name: string; description?: string; @@ -3389,9 +2707,7 @@ interface _VersionOptions { tsvVersionOptions?: TsvVersionOptions; } -export type VersionOptions = _VersionOptions & { - tsvVersionOptions: TsvVersionOptions; -}; +export type VersionOptions = (_VersionOptions & { tsvVersionOptions: TsvVersionOptions }); export type VersionStatus = string; export type WorkflowArn = string; @@ -4802,15 +4118,5 @@ export declare namespace UploadReadSetPart { | CommonAwsError; } -export type OmicsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | NotSupportedOperationException - | RangeNotSatisfiableException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type OmicsErrors = AccessDeniedException | ConflictException | InternalServerException | NotSupportedOperationException | RangeNotSatisfiableException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/opensearch/index.ts b/src/services/opensearch/index.ts index 074d4824..b9d195ca 100644 --- a/src/services/opensearch/index.ts +++ b/src/services/opensearch/index.ts @@ -5,24 +5,7 @@ import type { OpenSearch as _OpenSearchClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,125 +15,82 @@ const metadata = { sigV4ServiceName: "es", endpointPrefix: "es", operations: { - AcceptInboundConnection: - "PUT /2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/accept", - AddDataSource: "POST /2021-01-01/opensearch/domain/{DomainName}/dataSource", - AddDirectQueryDataSource: - "POST /2021-01-01/opensearch/directQueryDataSource", - AddTags: "POST /2021-01-01/tags", - AssociatePackage: - "POST /2021-01-01/packages/associate/{PackageID}/{DomainName}", - AssociatePackages: "POST /2021-01-01/packages/associateMultiple", - AuthorizeVpcEndpointAccess: - "POST /2021-01-01/opensearch/domain/{DomainName}/authorizeVpcEndpointAccess", - CancelDomainConfigChange: - "POST /2021-01-01/opensearch/domain/{DomainName}/config/cancel", - CancelServiceSoftwareUpdate: - "POST /2021-01-01/opensearch/serviceSoftwareUpdate/cancel", - CreateApplication: "POST /2021-01-01/opensearch/application", - CreateDomain: "POST /2021-01-01/opensearch/domain", - CreateOutboundConnection: - "POST /2021-01-01/opensearch/cc/outboundConnection", - CreatePackage: "POST /2021-01-01/packages", - CreateVpcEndpoint: "POST /2021-01-01/opensearch/vpcEndpoints", - DeleteApplication: "DELETE /2021-01-01/opensearch/application/{id}", - DeleteDataSource: - "DELETE /2021-01-01/opensearch/domain/{DomainName}/dataSource/{Name}", - DeleteDirectQueryDataSource: - "DELETE /2021-01-01/opensearch/directQueryDataSource/{DataSourceName}", - DeleteDomain: "DELETE /2021-01-01/opensearch/domain/{DomainName}", - DeleteInboundConnection: - "DELETE /2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}", - DeleteOutboundConnection: - "DELETE /2021-01-01/opensearch/cc/outboundConnection/{ConnectionId}", - DeletePackage: "DELETE /2021-01-01/packages/{PackageID}", - DeleteVpcEndpoint: - "DELETE /2021-01-01/opensearch/vpcEndpoints/{VpcEndpointId}", - DescribeDomain: "GET /2021-01-01/opensearch/domain/{DomainName}", - DescribeDomainAutoTunes: - "GET /2021-01-01/opensearch/domain/{DomainName}/autoTunes", - DescribeDomainChangeProgress: - "GET /2021-01-01/opensearch/domain/{DomainName}/progress", - DescribeDomainConfig: - "GET /2021-01-01/opensearch/domain/{DomainName}/config", - DescribeDomainHealth: - "GET /2021-01-01/opensearch/domain/{DomainName}/health", - DescribeDomainNodes: "GET /2021-01-01/opensearch/domain/{DomainName}/nodes", - DescribeDomains: "POST /2021-01-01/opensearch/domain-info", - DescribeDryRunProgress: - "GET /2021-01-01/opensearch/domain/{DomainName}/dryRun", - DescribeInboundConnections: - "POST /2021-01-01/opensearch/cc/inboundConnection/search", - DescribeInstanceTypeLimits: - "GET /2021-01-01/opensearch/instanceTypeLimits/{EngineVersion}/{InstanceType}", - DescribeOutboundConnections: - "POST /2021-01-01/opensearch/cc/outboundConnection/search", - DescribePackages: "POST /2021-01-01/packages/describe", - DescribeReservedInstanceOfferings: - "GET /2021-01-01/opensearch/reservedInstanceOfferings", - DescribeReservedInstances: "GET /2021-01-01/opensearch/reservedInstances", - DescribeVpcEndpoints: "POST /2021-01-01/opensearch/vpcEndpoints/describe", - DissociatePackage: - "POST /2021-01-01/packages/dissociate/{PackageID}/{DomainName}", - DissociatePackages: "POST /2021-01-01/packages/dissociateMultiple", - GetApplication: "GET /2021-01-01/opensearch/application/{id}", - GetCompatibleVersions: "GET /2021-01-01/opensearch/compatibleVersions", - GetDataSource: - "GET /2021-01-01/opensearch/domain/{DomainName}/dataSource/{Name}", - GetDirectQueryDataSource: - "GET /2021-01-01/opensearch/directQueryDataSource/{DataSourceName}", - GetDomainMaintenanceStatus: - "GET /2021-01-01/opensearch/domain/{DomainName}/domainMaintenance", - GetPackageVersionHistory: "GET /2021-01-01/packages/{PackageID}/history", - GetUpgradeHistory: - "GET /2021-01-01/opensearch/upgradeDomain/{DomainName}/history", - GetUpgradeStatus: - "GET /2021-01-01/opensearch/upgradeDomain/{DomainName}/status", - ListApplications: "GET /2021-01-01/opensearch/list-applications", - ListDataSources: - "GET /2021-01-01/opensearch/domain/{DomainName}/dataSource", - ListDirectQueryDataSources: - "GET /2021-01-01/opensearch/directQueryDataSource", - ListDomainMaintenances: - "GET /2021-01-01/opensearch/domain/{DomainName}/domainMaintenances", - ListDomainNames: "GET /2021-01-01/domain", - ListDomainsForPackage: "GET /2021-01-01/packages/{PackageID}/domains", - ListInstanceTypeDetails: - "GET /2021-01-01/opensearch/instanceTypeDetails/{EngineVersion}", - ListPackagesForDomain: "GET /2021-01-01/domain/{DomainName}/packages", - ListScheduledActions: - "GET /2021-01-01/opensearch/domain/{DomainName}/scheduledActions", - ListTags: "GET /2021-01-01/tags", - ListVersions: "GET /2021-01-01/opensearch/versions", - ListVpcEndpointAccess: - "GET /2021-01-01/opensearch/domain/{DomainName}/listVpcEndpointAccess", - ListVpcEndpoints: "GET /2021-01-01/opensearch/vpcEndpoints", - ListVpcEndpointsForDomain: - "GET /2021-01-01/opensearch/domain/{DomainName}/vpcEndpoints", - PurchaseReservedInstanceOffering: - "POST /2021-01-01/opensearch/purchaseReservedInstanceOffering", - RejectInboundConnection: - "PUT /2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject", - RemoveTags: "POST /2021-01-01/tags-removal", - RevokeVpcEndpointAccess: - "POST /2021-01-01/opensearch/domain/{DomainName}/revokeVpcEndpointAccess", - StartDomainMaintenance: - "POST /2021-01-01/opensearch/domain/{DomainName}/domainMaintenance", - StartServiceSoftwareUpdate: - "POST /2021-01-01/opensearch/serviceSoftwareUpdate/start", - UpdateApplication: "PUT /2021-01-01/opensearch/application/{id}", - UpdateDataSource: - "PUT /2021-01-01/opensearch/domain/{DomainName}/dataSource/{Name}", - UpdateDirectQueryDataSource: - "PUT /2021-01-01/opensearch/directQueryDataSource/{DataSourceName}", - UpdateDomainConfig: - "POST /2021-01-01/opensearch/domain/{DomainName}/config", - UpdatePackage: "POST /2021-01-01/packages/update", - UpdatePackageScope: "POST /2021-01-01/packages/updateScope", - UpdateScheduledAction: - "PUT /2021-01-01/opensearch/domain/{DomainName}/scheduledAction/update", - UpdateVpcEndpoint: "POST /2021-01-01/opensearch/vpcEndpoints/update", - UpgradeDomain: "POST /2021-01-01/opensearch/upgradeDomain", + "AcceptInboundConnection": "PUT /2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/accept", + "AddDataSource": "POST /2021-01-01/opensearch/domain/{DomainName}/dataSource", + "AddDirectQueryDataSource": "POST /2021-01-01/opensearch/directQueryDataSource", + "AddTags": "POST /2021-01-01/tags", + "AssociatePackage": "POST /2021-01-01/packages/associate/{PackageID}/{DomainName}", + "AssociatePackages": "POST /2021-01-01/packages/associateMultiple", + "AuthorizeVpcEndpointAccess": "POST /2021-01-01/opensearch/domain/{DomainName}/authorizeVpcEndpointAccess", + "CancelDomainConfigChange": "POST /2021-01-01/opensearch/domain/{DomainName}/config/cancel", + "CancelServiceSoftwareUpdate": "POST /2021-01-01/opensearch/serviceSoftwareUpdate/cancel", + "CreateApplication": "POST /2021-01-01/opensearch/application", + "CreateDomain": "POST /2021-01-01/opensearch/domain", + "CreateOutboundConnection": "POST /2021-01-01/opensearch/cc/outboundConnection", + "CreatePackage": "POST /2021-01-01/packages", + "CreateVpcEndpoint": "POST /2021-01-01/opensearch/vpcEndpoints", + "DeleteApplication": "DELETE /2021-01-01/opensearch/application/{id}", + "DeleteDataSource": "DELETE /2021-01-01/opensearch/domain/{DomainName}/dataSource/{Name}", + "DeleteDirectQueryDataSource": "DELETE /2021-01-01/opensearch/directQueryDataSource/{DataSourceName}", + "DeleteDomain": "DELETE /2021-01-01/opensearch/domain/{DomainName}", + "DeleteInboundConnection": "DELETE /2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}", + "DeleteOutboundConnection": "DELETE /2021-01-01/opensearch/cc/outboundConnection/{ConnectionId}", + "DeletePackage": "DELETE /2021-01-01/packages/{PackageID}", + "DeleteVpcEndpoint": "DELETE /2021-01-01/opensearch/vpcEndpoints/{VpcEndpointId}", + "DescribeDomain": "GET /2021-01-01/opensearch/domain/{DomainName}", + "DescribeDomainAutoTunes": "GET /2021-01-01/opensearch/domain/{DomainName}/autoTunes", + "DescribeDomainChangeProgress": "GET /2021-01-01/opensearch/domain/{DomainName}/progress", + "DescribeDomainConfig": "GET /2021-01-01/opensearch/domain/{DomainName}/config", + "DescribeDomainHealth": "GET /2021-01-01/opensearch/domain/{DomainName}/health", + "DescribeDomainNodes": "GET /2021-01-01/opensearch/domain/{DomainName}/nodes", + "DescribeDomains": "POST /2021-01-01/opensearch/domain-info", + "DescribeDryRunProgress": "GET /2021-01-01/opensearch/domain/{DomainName}/dryRun", + "DescribeInboundConnections": "POST /2021-01-01/opensearch/cc/inboundConnection/search", + "DescribeInstanceTypeLimits": "GET /2021-01-01/opensearch/instanceTypeLimits/{EngineVersion}/{InstanceType}", + "DescribeOutboundConnections": "POST /2021-01-01/opensearch/cc/outboundConnection/search", + "DescribePackages": "POST /2021-01-01/packages/describe", + "DescribeReservedInstanceOfferings": "GET /2021-01-01/opensearch/reservedInstanceOfferings", + "DescribeReservedInstances": "GET /2021-01-01/opensearch/reservedInstances", + "DescribeVpcEndpoints": "POST /2021-01-01/opensearch/vpcEndpoints/describe", + "DissociatePackage": "POST /2021-01-01/packages/dissociate/{PackageID}/{DomainName}", + "DissociatePackages": "POST /2021-01-01/packages/dissociateMultiple", + "GetApplication": "GET /2021-01-01/opensearch/application/{id}", + "GetCompatibleVersions": "GET /2021-01-01/opensearch/compatibleVersions", + "GetDataSource": "GET /2021-01-01/opensearch/domain/{DomainName}/dataSource/{Name}", + "GetDirectQueryDataSource": "GET /2021-01-01/opensearch/directQueryDataSource/{DataSourceName}", + "GetDomainMaintenanceStatus": "GET /2021-01-01/opensearch/domain/{DomainName}/domainMaintenance", + "GetPackageVersionHistory": "GET /2021-01-01/packages/{PackageID}/history", + "GetUpgradeHistory": "GET /2021-01-01/opensearch/upgradeDomain/{DomainName}/history", + "GetUpgradeStatus": "GET /2021-01-01/opensearch/upgradeDomain/{DomainName}/status", + "ListApplications": "GET /2021-01-01/opensearch/list-applications", + "ListDataSources": "GET /2021-01-01/opensearch/domain/{DomainName}/dataSource", + "ListDirectQueryDataSources": "GET /2021-01-01/opensearch/directQueryDataSource", + "ListDomainMaintenances": "GET /2021-01-01/opensearch/domain/{DomainName}/domainMaintenances", + "ListDomainNames": "GET /2021-01-01/domain", + "ListDomainsForPackage": "GET /2021-01-01/packages/{PackageID}/domains", + "ListInstanceTypeDetails": "GET /2021-01-01/opensearch/instanceTypeDetails/{EngineVersion}", + "ListPackagesForDomain": "GET /2021-01-01/domain/{DomainName}/packages", + "ListScheduledActions": "GET /2021-01-01/opensearch/domain/{DomainName}/scheduledActions", + "ListTags": "GET /2021-01-01/tags", + "ListVersions": "GET /2021-01-01/opensearch/versions", + "ListVpcEndpointAccess": "GET /2021-01-01/opensearch/domain/{DomainName}/listVpcEndpointAccess", + "ListVpcEndpoints": "GET /2021-01-01/opensearch/vpcEndpoints", + "ListVpcEndpointsForDomain": "GET /2021-01-01/opensearch/domain/{DomainName}/vpcEndpoints", + "PurchaseReservedInstanceOffering": "POST /2021-01-01/opensearch/purchaseReservedInstanceOffering", + "RejectInboundConnection": "PUT /2021-01-01/opensearch/cc/inboundConnection/{ConnectionId}/reject", + "RemoveTags": "POST /2021-01-01/tags-removal", + "RevokeVpcEndpointAccess": "POST /2021-01-01/opensearch/domain/{DomainName}/revokeVpcEndpointAccess", + "StartDomainMaintenance": "POST /2021-01-01/opensearch/domain/{DomainName}/domainMaintenance", + "StartServiceSoftwareUpdate": "POST /2021-01-01/opensearch/serviceSoftwareUpdate/start", + "UpdateApplication": "PUT /2021-01-01/opensearch/application/{id}", + "UpdateDataSource": "PUT /2021-01-01/opensearch/domain/{DomainName}/dataSource/{Name}", + "UpdateDirectQueryDataSource": "PUT /2021-01-01/opensearch/directQueryDataSource/{DataSourceName}", + "UpdateDomainConfig": "POST /2021-01-01/opensearch/domain/{DomainName}/config", + "UpdatePackage": "POST /2021-01-01/packages/update", + "UpdatePackageScope": "POST /2021-01-01/packages/updateScope", + "UpdateScheduledAction": "PUT /2021-01-01/opensearch/domain/{DomainName}/scheduledAction/update", + "UpdateVpcEndpoint": "POST /2021-01-01/opensearch/vpcEndpoints/update", + "UpgradeDomain": "POST /2021-01-01/opensearch/upgradeDomain", }, } as const satisfies ServiceMetadata; diff --git a/src/services/opensearch/types.ts b/src/services/opensearch/types.ts index 20f01bd7..b43b33f6 100644 --- a/src/services/opensearch/types.ts +++ b/src/services/opensearch/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class OpenSearch extends AWSServiceClient { @@ -41,208 +8,109 @@ export declare class OpenSearch extends AWSServiceClient { input: AcceptInboundConnectionRequest, ): Effect.Effect< AcceptInboundConnectionResponse, - | DisabledOperationException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + DisabledOperationException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; addDataSource( input: AddDataSourceRequest, ): Effect.Effect< AddDataSourceResponse, - | BaseException - | DependencyFailureException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DependencyFailureException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; addDirectQueryDataSource( input: AddDirectQueryDataSourceRequest, ): Effect.Effect< AddDirectQueryDataSourceResponse, - | BaseException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; addTags( input: AddTagsRequest, ): Effect.Effect< {}, - | BaseException - | InternalException - | LimitExceededException - | ValidationException - | CommonAwsError + BaseException | InternalException | LimitExceededException | ValidationException | CommonAwsError >; associatePackage( input: AssociatePackageRequest, ): Effect.Effect< AssociatePackageResponse, - | AccessDeniedException - | BaseException - | ConflictException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | ConflictException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; associatePackages( input: AssociatePackagesRequest, ): Effect.Effect< AssociatePackagesResponse, - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; authorizeVpcEndpointAccess( input: AuthorizeVpcEndpointAccessRequest, ): Effect.Effect< AuthorizeVpcEndpointAccessResponse, - | BaseException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; cancelDomainConfigChange( input: CancelDomainConfigChangeRequest, ): Effect.Effect< CancelDomainConfigChangeResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; cancelServiceSoftwareUpdate( input: CancelServiceSoftwareUpdateRequest, ): Effect.Effect< CancelServiceSoftwareUpdateResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | AccessDeniedException - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | ConflictException | DisabledOperationException | InternalException | ValidationException | CommonAwsError >; createDomain( input: CreateDomainRequest, ): Effect.Effect< CreateDomainResponse, - | BaseException - | DisabledOperationException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceAlreadyExistsException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | InvalidTypeException | LimitExceededException | ResourceAlreadyExistsException | ValidationException | CommonAwsError >; createOutboundConnection( input: CreateOutboundConnectionRequest, ): Effect.Effect< CreateOutboundConnectionResponse, - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | CommonAwsError + DisabledOperationException | InternalException | LimitExceededException | ResourceAlreadyExistsException | CommonAwsError >; createPackage( input: CreatePackageRequest, ): Effect.Effect< CreatePackageResponse, - | AccessDeniedException - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceAlreadyExistsException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceAlreadyExistsException | ValidationException | CommonAwsError >; createVpcEndpoint( input: CreateVpcEndpointRequest, ): Effect.Effect< CreateVpcEndpointResponse, - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | LimitExceededException - | ValidationException - | CommonAwsError + BaseException | ConflictException | DisabledOperationException | InternalException | LimitExceededException | ValidationException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | AccessDeniedException - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteDataSource( input: DeleteDataSourceRequest, ): Effect.Effect< DeleteDataSourceResponse, - | BaseException - | DependencyFailureException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DependencyFailureException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteDirectQueryDataSource( input: DeleteDirectQueryDataSourceRequest, ): Effect.Effect< {}, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteDomain( input: DeleteDomainRequest, ): Effect.Effect< DeleteDomainResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteInboundConnection( input: DeleteInboundConnectionRequest, @@ -260,86 +128,49 @@ export declare class OpenSearch extends AWSServiceClient { input: DeletePackageRequest, ): Effect.Effect< DeletePackageResponse, - | AccessDeniedException - | BaseException - | ConflictException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | ConflictException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteVpcEndpoint( input: DeleteVpcEndpointRequest, ): Effect.Effect< DeleteVpcEndpointResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | CommonAwsError >; describeDomain( input: DescribeDomainRequest, ): Effect.Effect< DescribeDomainResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeDomainAutoTunes( input: DescribeDomainAutoTunesRequest, ): Effect.Effect< DescribeDomainAutoTunesResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeDomainChangeProgress( input: DescribeDomainChangeProgressRequest, ): Effect.Effect< DescribeDomainChangeProgressResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeDomainConfig( input: DescribeDomainConfigRequest, ): Effect.Effect< DescribeDomainConfigResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeDomainHealth( input: DescribeDomainHealthRequest, ): Effect.Effect< DescribeDomainHealthResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeDomainNodes( input: DescribeDomainNodesRequest, ): Effect.Effect< DescribeDomainNodesResponse, - | BaseException - | DependencyFailureException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DependencyFailureException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeDomains( input: DescribeDomainsRequest, @@ -351,241 +182,133 @@ export declare class OpenSearch extends AWSServiceClient { input: DescribeDryRunProgressRequest, ): Effect.Effect< DescribeDryRunProgressResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeInboundConnections( input: DescribeInboundConnectionsRequest, ): Effect.Effect< DescribeInboundConnectionsResponse, - | DisabledOperationException - | InvalidPaginationTokenException - | CommonAwsError + DisabledOperationException | InvalidPaginationTokenException | CommonAwsError >; describeInstanceTypeLimits( input: DescribeInstanceTypeLimitsRequest, ): Effect.Effect< DescribeInstanceTypeLimitsResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeOutboundConnections( input: DescribeOutboundConnectionsRequest, ): Effect.Effect< DescribeOutboundConnectionsResponse, - | DisabledOperationException - | InvalidPaginationTokenException - | CommonAwsError + DisabledOperationException | InvalidPaginationTokenException | CommonAwsError >; describePackages( input: DescribePackagesRequest, ): Effect.Effect< DescribePackagesResponse, - | AccessDeniedException - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeReservedInstanceOfferings( input: DescribeReservedInstanceOfferingsRequest, ): Effect.Effect< DescribeReservedInstanceOfferingsResponse, - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeReservedInstances( input: DescribeReservedInstancesRequest, ): Effect.Effect< DescribeReservedInstancesResponse, - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeVpcEndpoints( input: DescribeVpcEndpointsRequest, ): Effect.Effect< DescribeVpcEndpointsResponse, - | BaseException - | DisabledOperationException - | InternalException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ValidationException | CommonAwsError >; dissociatePackage( input: DissociatePackageRequest, ): Effect.Effect< DissociatePackageResponse, - | AccessDeniedException - | BaseException - | ConflictException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | ConflictException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; dissociatePackages( input: DissociatePackagesRequest, ): Effect.Effect< DissociatePackagesResponse, - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getApplication( input: GetApplicationRequest, ): Effect.Effect< GetApplicationResponse, - | AccessDeniedException - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getCompatibleVersions( input: GetCompatibleVersionsRequest, ): Effect.Effect< GetCompatibleVersionsResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getDataSource( input: GetDataSourceRequest, ): Effect.Effect< GetDataSourceResponse, - | BaseException - | DependencyFailureException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DependencyFailureException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getDirectQueryDataSource( input: GetDirectQueryDataSourceRequest, ): Effect.Effect< GetDirectQueryDataSourceResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getDomainMaintenanceStatus( input: GetDomainMaintenanceStatusRequest, ): Effect.Effect< GetDomainMaintenanceStatusResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getPackageVersionHistory( input: GetPackageVersionHistoryRequest, ): Effect.Effect< GetPackageVersionHistoryResponse, - | AccessDeniedException - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getUpgradeHistory( input: GetUpgradeHistoryRequest, ): Effect.Effect< GetUpgradeHistoryResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getUpgradeStatus( input: GetUpgradeStatusRequest, ): Effect.Effect< GetUpgradeStatusResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listApplications( input: ListApplicationsRequest, ): Effect.Effect< ListApplicationsResponse, - | AccessDeniedException - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDataSources( input: ListDataSourcesRequest, ): Effect.Effect< ListDataSourcesResponse, - | BaseException - | DependencyFailureException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DependencyFailureException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDirectQueryDataSources( input: ListDirectQueryDataSourcesRequest, ): Effect.Effect< ListDirectQueryDataSourcesResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDomainMaintenances( input: ListDomainMaintenancesRequest, ): Effect.Effect< ListDomainMaintenancesResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDomainNames( input: ListDomainNamesRequest, @@ -597,105 +320,61 @@ export declare class OpenSearch extends AWSServiceClient { input: ListDomainsForPackageRequest, ): Effect.Effect< ListDomainsForPackageResponse, - | AccessDeniedException - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listInstanceTypeDetails( input: ListInstanceTypeDetailsRequest, ): Effect.Effect< ListInstanceTypeDetailsResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listPackagesForDomain( input: ListPackagesForDomainRequest, ): Effect.Effect< ListPackagesForDomainResponse, - | AccessDeniedException - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listScheduledActions( input: ListScheduledActionsRequest, ): Effect.Effect< ListScheduledActionsResponse, - | BaseException - | InternalException - | InvalidPaginationTokenException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidPaginationTokenException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTags( input: ListTagsRequest, ): Effect.Effect< ListTagsResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listVersions( input: ListVersionsRequest, ): Effect.Effect< ListVersionsResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; listVpcEndpointAccess( input: ListVpcEndpointAccessRequest, ): Effect.Effect< ListVpcEndpointAccessResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | CommonAwsError >; listVpcEndpoints( input: ListVpcEndpointsRequest, ): Effect.Effect< ListVpcEndpointsResponse, - | BaseException - | DisabledOperationException - | InternalException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | CommonAwsError >; listVpcEndpointsForDomain( input: ListVpcEndpointsForDomainRequest, ): Effect.Effect< ListVpcEndpointsForDomainResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | CommonAwsError >; purchaseReservedInstanceOffering( input: PurchaseReservedInstanceOfferingRequest, ): Effect.Effect< PurchaseReservedInstanceOfferingResponse, - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + DisabledOperationException | InternalException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ValidationException | CommonAwsError >; rejectInboundConnection( input: RejectInboundConnectionRequest, @@ -713,141 +392,73 @@ export declare class OpenSearch extends AWSServiceClient { input: RevokeVpcEndpointAccessRequest, ): Effect.Effect< RevokeVpcEndpointAccessResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; startDomainMaintenance( input: StartDomainMaintenanceRequest, ): Effect.Effect< StartDomainMaintenanceResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; startServiceSoftwareUpdate( input: StartServiceSoftwareUpdateRequest, ): Effect.Effect< StartServiceSoftwareUpdateResponse, - | BaseException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | AccessDeniedException - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateDataSource( input: UpdateDataSourceRequest, ): Effect.Effect< UpdateDataSourceResponse, - | BaseException - | DependencyFailureException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DependencyFailureException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateDirectQueryDataSource( input: UpdateDirectQueryDataSourceRequest, ): Effect.Effect< UpdateDirectQueryDataSourceResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateDomainConfig( input: UpdateDomainConfigRequest, ): Effect.Effect< UpdateDomainConfigResponse, - | BaseException - | InternalException - | InvalidTypeException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | InternalException | InvalidTypeException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; updatePackage( input: UpdatePackageRequest, ): Effect.Effect< UpdatePackageResponse, - | AccessDeniedException - | BaseException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | BaseException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; updatePackageScope( input: UpdatePackageScopeRequest, ): Effect.Effect< UpdatePackageScopeResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateScheduledAction( input: UpdateScheduledActionRequest, ): Effect.Effect< UpdateScheduledActionResponse, - | BaseException - | ConflictException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | SlotNotAvailableException - | ValidationException - | CommonAwsError + BaseException | ConflictException | InternalException | LimitExceededException | ResourceNotFoundException | SlotNotAvailableException | ValidationException | CommonAwsError >; updateVpcEndpoint( input: UpdateVpcEndpointRequest, ): Effect.Effect< UpdateVpcEndpointResponse, - | BaseException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; upgradeDomain( input: UpgradeDomainRequest, ): Effect.Effect< UpgradeDomainResponse, - | BaseException - | DisabledOperationException - | InternalException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + BaseException | DisabledOperationException | InternalException | ResourceAlreadyExistsException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -869,17 +480,8 @@ export interface AccessPoliciesStatus { Status: OptionStatus; } export type ActionSeverity = "HIGH" | "MEDIUM" | "LOW"; -export type ActionStatus = - | "PENDING_UPDATE" - | "IN_PROGRESS" - | "FAILED" - | "COMPLETED" - | "NOT_ELIGIBLE" - | "ELIGIBLE"; -export type ActionType = - | "SERVICE_SOFTWARE_UPDATE" - | "JVM_HEAP_SIZE_TUNING" - | "JVM_YOUNG_GEN_TUNING"; +export type ActionStatus = "PENDING_UPDATE" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "NOT_ELIGIBLE" | "ELIGIBLE"; +export type ActionType = "SERVICE_SOFTWARE_UPDATE" | "JVM_HEAP_SIZE_TUNING" | "JVM_YOUNG_GEN_TUNING"; export interface AddDataSourceRequest { DomainName: string; Name: string; @@ -952,19 +554,12 @@ export interface AppConfig { value?: string; } export type AppConfigs = Array; -export type AppConfigType = - | "opensearchDashboards.dashboardAdmin.users" - | "opensearchDashboards.dashboardAdmin.groups"; +export type AppConfigType = "opensearchDashboards.dashboardAdmin.users" | "opensearchDashboards.dashboardAdmin.groups"; export type AppConfigValue = string; export type ApplicationName = string; -export type ApplicationStatus = - | "CREATING" - | "UPDATING" - | "DELETING" - | "ACTIVE" - | "FAILED"; +export type ApplicationStatus = "CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED"; export type ApplicationStatuses = Array; export type ApplicationSummaries = Array; export interface ApplicationSummary { @@ -1023,8 +618,7 @@ export interface AutoTuneMaintenanceSchedule { Duration?: Duration; CronExpressionForRecurrence?: string; } -export type AutoTuneMaintenanceScheduleList = - Array; +export type AutoTuneMaintenanceScheduleList = Array; export interface AutoTuneOptions { DesiredState?: AutoTuneDesiredState; RollbackOnDisable?: RollbackOnDisable; @@ -1045,16 +639,7 @@ export interface AutoTuneOptionsStatus { Options?: AutoTuneOptions; Status?: AutoTuneStatus; } -export type AutoTuneState = - | "ENABLED" - | "DISABLED" - | "ENABLE_IN_PROGRESS" - | "DISABLE_IN_PROGRESS" - | "DISABLED_AND_ROLLBACK_SCHEDULED" - | "DISABLED_AND_ROLLBACK_IN_PROGRESS" - | "DISABLED_AND_ROLLBACK_COMPLETE" - | "DISABLED_AND_ROLLBACK_ERROR" - | "ERROR"; +export type AutoTuneState = "ENABLED" | "DISABLED" | "ENABLE_IN_PROGRESS" | "DISABLE_IN_PROGRESS" | "DISABLED_AND_ROLLBACK_SCHEDULED" | "DISABLED_AND_ROLLBACK_IN_PROGRESS" | "DISABLED_AND_ROLLBACK_COMPLETE" | "DISABLED_AND_ROLLBACK_ERROR" | "ERROR"; export interface AutoTuneStatus { CreationDate: Date | string; UpdateDate: Date | string; @@ -1191,15 +776,7 @@ export interface CompatibleVersionsMap { SourceVersion?: string; TargetVersions?: Array; } -export type ConfigChangeStatus = - | "Pending" - | "Initializing" - | "Validating" - | "ValidationFailed" - | "ApplyingChanges" - | "Completed" - | "PendingUserInput" - | "Cancelled"; +export type ConfigChangeStatus = "Pending" | "Initializing" | "Validating" | "ValidationFailed" | "ApplyingChanges" | "Completed" | "PendingUserInput" | "Cancelled"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -1323,13 +900,12 @@ interface _DataSourceType { S3GlueDataCatalog?: S3GlueDataCatalog; } -export type DataSourceType = _DataSourceType & { - S3GlueDataCatalog: S3GlueDataCatalog; -}; +export type DataSourceType = (_DataSourceType & { S3GlueDataCatalog: S3GlueDataCatalog }); export interface DeleteApplicationRequest { id: string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export interface DeleteDataSourceRequest { DomainName: string; Name: string; @@ -1377,12 +953,7 @@ export declare class DependencyFailureException extends EffectData.TaggedError( }> {} export type DeploymentCloseDateTimeStamp = Date | string; -export type DeploymentStatus = - | "PENDING_UPDATE" - | "IN_PROGRESS" - | "COMPLETED" - | "NOT_ELIGIBLE" - | "ELIGIBLE"; +export type DeploymentStatus = "PENDING_UPDATE" | "IN_PROGRESS" | "COMPLETED" | "NOT_ELIGIBLE" | "ELIGIBLE"; export type DeploymentType = string; export interface DescribeDomainAutoTunesRequest { @@ -1484,13 +1055,7 @@ export interface DescribePackagesFilter { Value?: Array; } export type DescribePackagesFilterList = Array; -export type DescribePackagesFilterName = - | "PackageID" - | "PackageName" - | "PackageStatus" - | "PackageType" - | "EngineVersion" - | "PackageOwner"; +export type DescribePackagesFilterName = "PackageID" | "PackageName" | "PackageStatus" | "PackageType" | "EngineVersion" | "PackageOwner"; export type DescribePackagesFilterValue = string; export type DescribePackagesFilterValues = Array; @@ -1550,13 +1115,7 @@ interface _DirectQueryDataSourceType { SecurityLake?: SecurityLakeDirectQueryDataSource; } -export type DirectQueryDataSourceType = - | (_DirectQueryDataSourceType & { - CloudWatchLog: CloudWatchDirectQueryDataSource; - }) - | (_DirectQueryDataSourceType & { - SecurityLake: SecurityLakeDirectQueryDataSource; - }); +export type DirectQueryDataSourceType = (_DirectQueryDataSourceType & { CloudWatchLog: CloudWatchDirectQueryDataSource }) | (_DirectQueryDataSourceType & { SecurityLake: SecurityLakeDirectQueryDataSource }); export type DirectQueryOpenSearchARNList = Array; export declare class DisabledOperationException extends EffectData.TaggedError( "DisabledOperationException", @@ -1667,20 +1226,8 @@ export interface DomainPackageDetails { AssociationConfiguration?: PackageAssociationConfiguration; } export type DomainPackageDetailsList = Array; -export type DomainPackageStatus = - | "ASSOCIATING" - | "ASSOCIATION_FAILED" - | "ACTIVE" - | "DISSOCIATING" - | "DISSOCIATION_FAILED"; -export type DomainProcessingStatusType = - | "Creating" - | "Active" - | "Modifying" - | "UpgradingEngineVersion" - | "UpdatingServiceSoftware" - | "Isolated" - | "Deleting"; +export type DomainPackageStatus = "ASSOCIATING" | "ASSOCIATION_FAILED" | "ACTIVE" | "DISSOCIATING" | "DISSOCIATION_FAILED"; +export type DomainProcessingStatusType = "Creating" | "Active" | "Modifying" | "UpgradingEngineVersion" | "UpdatingServiceSoftware" | "Isolated" | "Deleting"; export type DomainState = "Active" | "Processing" | "NotAvailable"; export interface DomainStatus { DomainId: string; @@ -1933,15 +1480,7 @@ export interface InboundConnectionStatus { StatusCode?: InboundConnectionStatusCode; Message?: string; } -export type InboundConnectionStatusCode = - | "PENDING_ACCEPTANCE" - | "APPROVED" - | "PROVISIONING" - | "ACTIVE" - | "REJECTING" - | "REJECTED" - | "DELETING" - | "DELETED"; +export type InboundConnectionStatusCode = "PENDING_ACCEPTANCE" | "APPROVED" | "PROVISIONING" | "ACTIVE" | "REJECTING" | "REJECTED" | "DELETING" | "DELETED"; export type InitiatedBy = "CUSTOMER" | "SERVICE"; export type InstanceCount = number; @@ -2157,25 +1696,13 @@ export interface LogPublishingOptionsStatus { Options?: { [key in LogType]?: string }; Status?: OptionStatus; } -export type LogType = - | "INDEX_SLOW_LOGS" - | "SEARCH_SLOW_LOGS" - | "ES_APPLICATION_LOGS" - | "AUDIT_LOGS"; +export type LogType = "INDEX_SLOW_LOGS" | "SEARCH_SLOW_LOGS" | "ES_APPLICATION_LOGS" | "AUDIT_LOGS"; export type Long = number; -export type MaintenanceStatus = - | "PENDING" - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED" - | "TIMED_OUT"; +export type MaintenanceStatus = "PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "TIMED_OUT"; export type MaintenanceStatusMessage = string; -export type MaintenanceType = - | "REBOOT_NODE" - | "RESTART_SEARCH_PROCESS" - | "RESTART_DASHBOARD"; +export type MaintenanceType = "REBOOT_NODE" | "RESTART_SEARCH_PROCESS" | "RESTART_DASHBOARD"; export type MasterNodeStatus = "Available" | "UnAvailable"; export interface MasterUserOptions { MasterUserARN?: string; @@ -2197,14 +1724,7 @@ export interface ModifyingProperties { ValueType?: PropertyValueType; } export type ModifyingPropertiesList = Array; -export type NaturalLanguageQueryGenerationCurrentState = - | "NOT_ENABLED" - | "ENABLE_COMPLETE" - | "ENABLE_IN_PROGRESS" - | "ENABLE_FAILED" - | "DISABLE_COMPLETE" - | "DISABLE_IN_PROGRESS" - | "DISABLE_FAILED"; +export type NaturalLanguageQueryGenerationCurrentState = "NOT_ENABLED" | "ENABLE_COMPLETE" | "ENABLE_IN_PROGRESS" | "ENABLE_FAILED" | "DISABLE_COMPLETE" | "DISABLE_IN_PROGRESS" | "DISABLE_FAILED"; export type NaturalLanguageQueryGenerationDesiredState = "ENABLED" | "DISABLED"; export interface NaturalLanguageQueryGenerationOptionsInput { DesiredState?: NaturalLanguageQueryGenerationDesiredState; @@ -2256,114 +1776,8 @@ export interface OffPeakWindowOptionsStatus { Options?: OffPeakWindowOptions; Status?: OptionStatus; } -export type OpenSearchPartitionInstanceType = - | "m3.medium.search" - | "m3.large.search" - | "m3.xlarge.search" - | "m3.2xlarge.search" - | "m4.large.search" - | "m4.xlarge.search" - | "m4.2xlarge.search" - | "m4.4xlarge.search" - | "m4.10xlarge.search" - | "m5.large.search" - | "m5.xlarge.search" - | "m5.2xlarge.search" - | "m5.4xlarge.search" - | "m5.12xlarge.search" - | "m5.24xlarge.search" - | "r5.large.search" - | "r5.xlarge.search" - | "r5.2xlarge.search" - | "r5.4xlarge.search" - | "r5.12xlarge.search" - | "r5.24xlarge.search" - | "c5.large.search" - | "c5.xlarge.search" - | "c5.2xlarge.search" - | "c5.4xlarge.search" - | "c5.9xlarge.search" - | "c5.18xlarge.search" - | "t3.nano.search" - | "t3.micro.search" - | "t3.small.search" - | "t3.medium.search" - | "t3.large.search" - | "t3.xlarge.search" - | "t3.2xlarge.search" - | "or1.medium.search" - | "or1.large.search" - | "or1.xlarge.search" - | "or1.2xlarge.search" - | "or1.4xlarge.search" - | "or1.8xlarge.search" - | "or1.12xlarge.search" - | "or1.16xlarge.search" - | "ultrawarm1.medium.search" - | "ultrawarm1.large.search" - | "ultrawarm1.xlarge.search" - | "t2.micro.search" - | "t2.small.search" - | "t2.medium.search" - | "r3.large.search" - | "r3.xlarge.search" - | "r3.2xlarge.search" - | "r3.4xlarge.search" - | "r3.8xlarge.search" - | "i2.xlarge.search" - | "i2.2xlarge.search" - | "d2.xlarge.search" - | "d2.2xlarge.search" - | "d2.4xlarge.search" - | "d2.8xlarge.search" - | "c4.large.search" - | "c4.xlarge.search" - | "c4.2xlarge.search" - | "c4.4xlarge.search" - | "c4.8xlarge.search" - | "r4.large.search" - | "r4.xlarge.search" - | "r4.2xlarge.search" - | "r4.4xlarge.search" - | "r4.8xlarge.search" - | "r4.16xlarge.search" - | "i3.large.search" - | "i3.xlarge.search" - | "i3.2xlarge.search" - | "i3.4xlarge.search" - | "i3.8xlarge.search" - | "i3.16xlarge.search" - | "r6g.large.search" - | "r6g.xlarge.search" - | "r6g.2xlarge.search" - | "r6g.4xlarge.search" - | "r6g.8xlarge.search" - | "r6g.12xlarge.search" - | "m6g.large.search" - | "m6g.xlarge.search" - | "m6g.2xlarge.search" - | "m6g.4xlarge.search" - | "m6g.8xlarge.search" - | "m6g.12xlarge.search" - | "c6g.large.search" - | "c6g.xlarge.search" - | "c6g.2xlarge.search" - | "c6g.4xlarge.search" - | "c6g.8xlarge.search" - | "c6g.12xlarge.search" - | "r6gd.large.search" - | "r6gd.xlarge.search" - | "r6gd.2xlarge.search" - | "r6gd.4xlarge.search" - | "r6gd.8xlarge.search" - | "r6gd.12xlarge.search" - | "r6gd.16xlarge.search" - | "t4g.small.search" - | "t4g.medium.search"; -export type OpenSearchWarmPartitionInstanceType = - | "ultrawarm1.medium.search" - | "ultrawarm1.large.search" - | "ultrawarm1.xlarge.search"; +export type OpenSearchPartitionInstanceType = "m3.medium.search" | "m3.large.search" | "m3.xlarge.search" | "m3.2xlarge.search" | "m4.large.search" | "m4.xlarge.search" | "m4.2xlarge.search" | "m4.4xlarge.search" | "m4.10xlarge.search" | "m5.large.search" | "m5.xlarge.search" | "m5.2xlarge.search" | "m5.4xlarge.search" | "m5.12xlarge.search" | "m5.24xlarge.search" | "r5.large.search" | "r5.xlarge.search" | "r5.2xlarge.search" | "r5.4xlarge.search" | "r5.12xlarge.search" | "r5.24xlarge.search" | "c5.large.search" | "c5.xlarge.search" | "c5.2xlarge.search" | "c5.4xlarge.search" | "c5.9xlarge.search" | "c5.18xlarge.search" | "t3.nano.search" | "t3.micro.search" | "t3.small.search" | "t3.medium.search" | "t3.large.search" | "t3.xlarge.search" | "t3.2xlarge.search" | "or1.medium.search" | "or1.large.search" | "or1.xlarge.search" | "or1.2xlarge.search" | "or1.4xlarge.search" | "or1.8xlarge.search" | "or1.12xlarge.search" | "or1.16xlarge.search" | "ultrawarm1.medium.search" | "ultrawarm1.large.search" | "ultrawarm1.xlarge.search" | "t2.micro.search" | "t2.small.search" | "t2.medium.search" | "r3.large.search" | "r3.xlarge.search" | "r3.2xlarge.search" | "r3.4xlarge.search" | "r3.8xlarge.search" | "i2.xlarge.search" | "i2.2xlarge.search" | "d2.xlarge.search" | "d2.2xlarge.search" | "d2.4xlarge.search" | "d2.8xlarge.search" | "c4.large.search" | "c4.xlarge.search" | "c4.2xlarge.search" | "c4.4xlarge.search" | "c4.8xlarge.search" | "r4.large.search" | "r4.xlarge.search" | "r4.2xlarge.search" | "r4.4xlarge.search" | "r4.8xlarge.search" | "r4.16xlarge.search" | "i3.large.search" | "i3.xlarge.search" | "i3.2xlarge.search" | "i3.4xlarge.search" | "i3.8xlarge.search" | "i3.16xlarge.search" | "r6g.large.search" | "r6g.xlarge.search" | "r6g.2xlarge.search" | "r6g.4xlarge.search" | "r6g.8xlarge.search" | "r6g.12xlarge.search" | "m6g.large.search" | "m6g.xlarge.search" | "m6g.2xlarge.search" | "m6g.4xlarge.search" | "m6g.8xlarge.search" | "m6g.12xlarge.search" | "c6g.large.search" | "c6g.xlarge.search" | "c6g.2xlarge.search" | "c6g.4xlarge.search" | "c6g.8xlarge.search" | "c6g.12xlarge.search" | "r6gd.large.search" | "r6gd.xlarge.search" | "r6gd.2xlarge.search" | "r6gd.4xlarge.search" | "r6gd.8xlarge.search" | "r6gd.12xlarge.search" | "r6gd.16xlarge.search" | "t4g.small.search" | "t4g.medium.search"; +export type OpenSearchWarmPartitionInstanceType = "ultrawarm1.medium.search" | "ultrawarm1.large.search" | "ultrawarm1.xlarge.search"; export type OptionState = "RequiresIndexDocuments" | "Processing" | "Active"; export interface OptionStatus { CreationDate: Date | string; @@ -2386,22 +1800,8 @@ export interface OutboundConnectionStatus { StatusCode?: OutboundConnectionStatusCode; Message?: string; } -export type OutboundConnectionStatusCode = - | "VALIDATING" - | "VALIDATION_FAILED" - | "PENDING_ACCEPTANCE" - | "APPROVED" - | "PROVISIONING" - | "ACTIVE" - | "REJECTING" - | "REJECTED" - | "DELETING" - | "DELETED"; -export type OverallChangeStatus = - | "PENDING" - | "PROCESSING" - | "COMPLETED" - | "FAILED"; +export type OutboundConnectionStatusCode = "VALIDATING" | "VALIDATION_FAILED" | "PENDING_ACCEPTANCE" | "APPROVED" | "PROVISIONING" | "ACTIVE" | "REJECTING" | "REJECTED" | "DELETING" | "DELETED"; +export type OverallChangeStatus = "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED"; export type OwnerId = string; export interface PackageAssociationConfiguration { @@ -2438,8 +1838,7 @@ export interface PackageDetailsForAssociation { PrerequisitePackageIDList?: Array; AssociationConfiguration?: PackageAssociationConfiguration; } -export type PackageDetailsForAssociationList = - Array; +export type PackageDetailsForAssociationList = Array; export type PackageDetailsList = Array; export interface PackageEncryptionOptions { KmsKeyIdentifier?: string; @@ -2457,20 +1856,8 @@ export interface PackageSource { S3BucketName?: string; S3Key?: string; } -export type PackageStatus = - | "COPYING" - | "COPY_FAILED" - | "VALIDATING" - | "VALIDATION_FAILED" - | "AVAILABLE" - | "DELETING" - | "DELETED" - | "DELETE_FAILED"; -export type PackageType = - | "TXT-DICTIONARY" - | "ZIP-PLUGIN" - | "PACKAGE-LICENSE" - | "PACKAGE-CONFIG"; +export type PackageStatus = "COPYING" | "COPY_FAILED" | "VALIDATING" | "VALIDATION_FAILED" | "AVAILABLE" | "DELETING" | "DELETED" | "DELETE_FAILED"; +export type PackageType = "TXT-DICTIONARY" | "ZIP-PLUGIN" | "PACKAGE-LICENSE" | "PACKAGE-CONFIG"; export type PackageUser = string; export type PackageUserList = Array; @@ -2569,10 +1956,7 @@ export interface ReservedInstanceOffering { RecurringCharges?: Array; } export type ReservedInstanceOfferingList = Array; -export type ReservedInstancePaymentOption = - | "ALL_UPFRONT" - | "PARTIAL_UPFRONT" - | "NO_UPFRONT"; +export type ReservedInstancePaymentOption = "ALL_UPFRONT" | "PARTIAL_UPFRONT" | "NO_UPFRONT"; export declare class ResourceAlreadyExistsException extends EffectData.TaggedError( "ResourceAlreadyExistsException", )<{ @@ -2588,7 +1972,8 @@ export interface RevokeVpcEndpointAccessRequest { Account?: string; Service?: AWSServicePrincipal; } -export interface RevokeVpcEndpointAccessResponse {} +export interface RevokeVpcEndpointAccessResponse { +} export type RoleArn = string; export type RolesKey = string; @@ -2642,9 +2027,7 @@ export interface ScheduledAction { Cancellable?: boolean; } export type ScheduledActionsList = Array; -export type ScheduledAutoTuneActionType = - | "JVM_HEAP_SIZE_TUNING" - | "JVM_YOUNG_GEN_TUNING"; +export type ScheduledAutoTuneActionType = "JVM_HEAP_SIZE_TUNING" | "JVM_YOUNG_GEN_TUNING"; export type ScheduledAutoTuneDescription = string; export interface ScheduledAutoTuneDetails { @@ -2749,10 +2132,7 @@ export type TagValue = string; export type Timestamp = Date | string; export type TimeUnit = "HOURS"; -export type TLSSecurityPolicy = - | "Policy-Min-TLS-1-0-2019-07" - | "Policy-Min-TLS-1-2-2019-07" - | "Policy-Min-TLS-1-2-PFS-2023-10"; +export type TLSSecurityPolicy = "Policy-Min-TLS-1-0-2019-07" | "Policy-Min-TLS-1-2-2019-07" | "Policy-Min-TLS-1-2-PFS-2023-10"; export type TotalNumberOfStages = number; export type UIntValue = number; @@ -2884,11 +2264,7 @@ export interface UpgradeHistory { export type UpgradeHistoryList = Array; export type UpgradeName = string; -export type UpgradeStatus = - | "IN_PROGRESS" - | "SUCCEEDED" - | "SUCCEEDED_WITH_ISSUES" - | "FAILED"; +export type UpgradeStatus = "IN_PROGRESS" | "SUCCEEDED" | "SUCCEEDED_WITH_ISSUES" | "FAILED"; export type UpgradeStep = "PRE_UPGRADE_CHECK" | "SNAPSHOT" | "UPGRADE"; export interface UpgradeStepItem { UpgradeStep?: UpgradeStep; @@ -2951,14 +2327,7 @@ export type VpcEndpointId = string; export type VpcEndpointIdList = Array; export type VpcEndpoints = Array; -export type VpcEndpointStatus = - | "CREATING" - | "CREATE_FAILED" - | "ACTIVE" - | "UPDATING" - | "UPDATE_FAILED" - | "DELETING" - | "DELETE_FAILED"; +export type VpcEndpointStatus = "CREATING" | "CREATE_FAILED" | "ACTIVE" | "UPDATING" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED"; export interface VpcEndpointSummary { VpcEndpointId?: string; VpcEndpointOwner?: string; @@ -3589,7 +2958,10 @@ export declare namespace ListDomainMaintenances { export declare namespace ListDomainNames { export type Input = ListDomainNamesRequest; export type Output = ListDomainNamesResponse; - export type Error = BaseException | ValidationException | CommonAwsError; + export type Error = + | BaseException + | ValidationException + | CommonAwsError; } export declare namespace ListDomainsForPackage { @@ -3877,18 +3249,5 @@ export declare namespace UpgradeDomain { | CommonAwsError; } -export type OpenSearchErrors = - | AccessDeniedException - | BaseException - | ConflictException - | DependencyFailureException - | DisabledOperationException - | InternalException - | InvalidPaginationTokenException - | InvalidTypeException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | SlotNotAvailableException - | ValidationException - | CommonAwsError; +export type OpenSearchErrors = AccessDeniedException | BaseException | ConflictException | DependencyFailureException | DisabledOperationException | InternalException | InvalidPaginationTokenException | InvalidTypeException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | SlotNotAvailableException | ValidationException | CommonAwsError; + diff --git a/src/services/opensearchserverless/index.ts b/src/services/opensearchserverless/index.ts index b41c5fe1..bbcba412 100644 --- a/src/services/opensearchserverless/index.ts +++ b/src/services/opensearchserverless/index.ts @@ -5,25 +5,7 @@ import type { OpenSearchServerless as _OpenSearchServerlessClient } from "./type export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/opensearchserverless/types.ts b/src/services/opensearchserverless/types.ts index aacf42cd..7286c40f 100644 --- a/src/services/opensearchserverless/types.ts +++ b/src/services/opensearchserverless/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class OpenSearchServerless extends AWSServiceClient { @@ -66,21 +32,13 @@ export declare class OpenSearchServerless extends AWSServiceClient { input: CreateLifecyclePolicyRequest, ): Effect.Effect< CreateLifecyclePolicyResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createSecurityPolicy( input: CreateSecurityPolicyRequest, ): Effect.Effect< CreateSecurityPolicyResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; getAccountSettings( input: GetAccountSettingsRequest, @@ -98,31 +56,19 @@ export declare class OpenSearchServerless extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateAccountSettings( input: UpdateAccountSettingsRequest, @@ -134,166 +80,103 @@ export declare class OpenSearchServerless extends AWSServiceClient { input: UpdateVpcEndpointRequest, ): Effect.Effect< UpdateVpcEndpointResponse, - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ValidationException | CommonAwsError >; createAccessPolicy( input: CreateAccessPolicyRequest, ): Effect.Effect< CreateAccessPolicyResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createCollection( input: CreateCollectionRequest, ): Effect.Effect< CreateCollectionResponse, - | ConflictException - | InternalServerException - | OcuLimitExceededException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | OcuLimitExceededException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createIndex( input: CreateIndexRequest, ): Effect.Effect< CreateIndexResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createSecurityConfig( input: CreateSecurityConfigRequest, ): Effect.Effect< CreateSecurityConfigResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createVpcEndpoint( input: CreateVpcEndpointRequest, ): Effect.Effect< CreateVpcEndpointResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteAccessPolicy( input: DeleteAccessPolicyRequest, ): Effect.Effect< DeleteAccessPolicyResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteCollection( input: DeleteCollectionRequest, ): Effect.Effect< DeleteCollectionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteIndex( input: DeleteIndexRequest, ): Effect.Effect< DeleteIndexResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteLifecyclePolicy( input: DeleteLifecyclePolicyRequest, ): Effect.Effect< DeleteLifecyclePolicyResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteSecurityConfig( input: DeleteSecurityConfigRequest, ): Effect.Effect< DeleteSecurityConfigResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteSecurityPolicy( input: DeleteSecurityPolicyRequest, ): Effect.Effect< DeleteSecurityPolicyResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteVpcEndpoint( input: DeleteVpcEndpointRequest, ): Effect.Effect< DeleteVpcEndpointResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAccessPolicy( input: GetAccessPolicyRequest, ): Effect.Effect< GetAccessPolicyResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getIndex( input: GetIndexRequest, ): Effect.Effect< GetIndexResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getSecurityConfig( input: GetSecurityConfigRequest, ): Effect.Effect< GetSecurityConfigResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getSecurityPolicy( input: GetSecurityPolicyRequest, ): Effect.Effect< GetSecurityPolicyResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAccessPolicies( input: ListAccessPoliciesRequest, @@ -335,61 +218,37 @@ export declare class OpenSearchServerless extends AWSServiceClient { input: UpdateAccessPolicyRequest, ): Effect.Effect< UpdateAccessPolicyResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCollection( input: UpdateCollectionRequest, ): Effect.Effect< UpdateCollectionResponse, - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ValidationException | CommonAwsError >; updateIndex( input: UpdateIndexRequest, ): Effect.Effect< UpdateIndexResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateLifecyclePolicy( input: UpdateLifecyclePolicyRequest, ): Effect.Effect< UpdateLifecyclePolicyResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateSecurityConfig( input: UpdateSecurityConfigRequest, ): Effect.Effect< UpdateSecurityConfigResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateSecurityPolicy( input: UpdateSecurityPolicyRequest, ): Effect.Effect< UpdateSecurityPolicyResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -556,7 +415,8 @@ export interface CreateIndexRequest { indexName: string; indexSchema?: unknown; } -export interface CreateIndexResponse {} +export interface CreateIndexResponse { +} export interface CreateLifecyclePolicyRequest { type: string; name: string; @@ -609,7 +469,8 @@ export interface DeleteAccessPolicyRequest { name: string; clientToken?: string; } -export interface DeleteAccessPolicyResponse {} +export interface DeleteAccessPolicyResponse { +} export interface DeleteCollectionDetail { id?: string; name?: string; @@ -626,24 +487,28 @@ export interface DeleteIndexRequest { id: string; indexName: string; } -export interface DeleteIndexResponse {} +export interface DeleteIndexResponse { +} export interface DeleteLifecyclePolicyRequest { type: string; name: string; clientToken?: string; } -export interface DeleteLifecyclePolicyResponse {} +export interface DeleteLifecyclePolicyResponse { +} export interface DeleteSecurityConfigRequest { id: string; clientToken?: string; } -export interface DeleteSecurityConfigResponse {} +export interface DeleteSecurityConfigResponse { +} export interface DeleteSecurityPolicyRequest { type: string; name: string; clientToken?: string; } -export interface DeleteSecurityPolicyResponse {} +export interface DeleteSecurityPolicyResponse { +} export interface DeleteVpcEndpointDetail { id?: string; name?: string; @@ -664,16 +529,14 @@ export interface EffectiveLifecyclePolicyDetail { retentionPeriod?: string; noMinRetentionPeriod?: boolean; } -export type EffectiveLifecyclePolicyDetails = - Array; +export type EffectiveLifecyclePolicyDetails = Array; export interface EffectiveLifecyclePolicyErrorDetail { type?: string; resource?: string; errorMessage?: string; errorCode?: string; } -export type EffectiveLifecyclePolicyErrorDetails = - Array; +export type EffectiveLifecyclePolicyErrorDetails = Array; export interface FipsEndpoints { collectionEndpoint?: string; dashboardEndpoint?: string; @@ -685,7 +548,8 @@ export interface GetAccessPolicyRequest { export interface GetAccessPolicyResponse { accessPolicyDetail?: AccessPolicyDetail; } -export interface GetAccountSettingsRequest {} +export interface GetAccountSettingsRequest { +} export interface GetAccountSettingsResponse { accountSettingsDetail?: AccountSettingsDetail; } @@ -696,7 +560,8 @@ export interface GetIndexRequest { export interface GetIndexResponse { indexSchema?: unknown; } -export interface GetPoliciesStatsRequest {} +export interface GetPoliciesStatsRequest { +} export interface GetPoliciesStatsResponse { AccessPolicyStats?: AccessPolicyStats; SecurityPolicyStats?: SecurityPolicyStats; @@ -778,8 +643,7 @@ export interface LifecyclePolicyResourceIdentifier { type: string; resource: string; } -export type LifecyclePolicyResourceIdentifiers = - Array; +export type LifecyclePolicyResourceIdentifiers = Array; export interface LifecyclePolicyStats { RetentionPolicyCount?: number; } @@ -981,7 +845,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -989,7 +854,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAccessPolicyRequest { type: string; name: string; @@ -1034,7 +900,8 @@ export interface UpdateIndexRequest { indexName: string; indexSchema?: unknown; } -export interface UpdateIndexResponse {} +export interface UpdateIndexResponse { +} export interface UpdateLifecyclePolicyRequest { type: string; name: string; @@ -1199,7 +1066,9 @@ export declare namespace GetAccountSettings { export declare namespace GetPoliciesStats { export type Input = GetPoliciesStatsRequest; export type Output = GetPoliciesStatsResponse; - export type Error = InternalServerException | CommonAwsError; + export type Error = + | InternalServerException + | CommonAwsError; } export declare namespace ListTagsForResource { @@ -1546,11 +1415,5 @@ export declare namespace UpdateSecurityPolicy { | CommonAwsError; } -export type OpenSearchServerlessErrors = - | ConflictException - | InternalServerException - | OcuLimitExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type OpenSearchServerlessErrors = ConflictException | InternalServerException | OcuLimitExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/organizations/index.ts b/src/services/organizations/index.ts index 5b6cba6d..67ff4840 100644 --- a/src/services/organizations/index.ts +++ b/src/services/organizations/index.ts @@ -5,25 +5,7 @@ import type { Organizations as _OrganizationsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/organizations/types.ts b/src/services/organizations/types.ts index 10a3cfab..e43955af 100644 --- a/src/services/organizations/types.ts +++ b/src/services/organizations/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class Organizations extends AWSServiceClient { @@ -42,794 +8,343 @@ export declare class Organizations extends AWSServiceClient { input: AcceptHandshakeRequest, ): Effect.Effect< AcceptHandshakeResponse, - | AccessDeniedException - | AccessDeniedForDependencyException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | HandshakeAlreadyInStateException - | HandshakeConstraintViolationException - | HandshakeNotFoundException - | InvalidHandshakeTransitionException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AccessDeniedForDependencyException | AWSOrganizationsNotInUseException | ConcurrentModificationException | HandshakeAlreadyInStateException | HandshakeConstraintViolationException | HandshakeNotFoundException | InvalidHandshakeTransitionException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; attachPolicy( input: AttachPolicyRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | DuplicatePolicyAttachmentException - | InvalidInputException - | PolicyChangesInProgressException - | PolicyNotFoundException - | PolicyTypeNotEnabledException - | ServiceException - | TargetNotFoundException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | DuplicatePolicyAttachmentException | InvalidInputException | PolicyChangesInProgressException | PolicyNotFoundException | PolicyTypeNotEnabledException | ServiceException | TargetNotFoundException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; cancelHandshake( input: CancelHandshakeRequest, ): Effect.Effect< CancelHandshakeResponse, - | AccessDeniedException - | ConcurrentModificationException - | HandshakeAlreadyInStateException - | HandshakeNotFoundException - | InvalidHandshakeTransitionException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | HandshakeAlreadyInStateException | HandshakeNotFoundException | InvalidHandshakeTransitionException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; closeAccount( input: CloseAccountRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AccountAlreadyClosedException - | AccountNotFoundException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConflictException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AccountAlreadyClosedException | AccountNotFoundException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConflictException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; createAccount( input: CreateAccountRequest, ): Effect.Effect< CreateAccountResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | FinalizingOrganizationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | FinalizingOrganizationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; createGovCloudAccount( input: CreateGovCloudAccountRequest, ): Effect.Effect< CreateGovCloudAccountResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | FinalizingOrganizationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | FinalizingOrganizationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; createOrganization( input: CreateOrganizationRequest, ): Effect.Effect< CreateOrganizationResponse, - | AccessDeniedException - | AccessDeniedForDependencyException - | AlreadyInOrganizationException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AccessDeniedForDependencyException | AlreadyInOrganizationException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; createOrganizationalUnit( input: CreateOrganizationalUnitRequest, ): Effect.Effect< CreateOrganizationalUnitResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | DuplicateOrganizationalUnitException - | InvalidInputException - | ParentNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | DuplicateOrganizationalUnitException | InvalidInputException | ParentNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; createPolicy( input: CreatePolicyRequest, ): Effect.Effect< CreatePolicyResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | DuplicatePolicyException - | InvalidInputException - | MalformedPolicyDocumentException - | PolicyTypeNotAvailableForOrganizationException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | DuplicatePolicyException | InvalidInputException | MalformedPolicyDocumentException | PolicyTypeNotAvailableForOrganizationException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; declineHandshake( input: DeclineHandshakeRequest, ): Effect.Effect< DeclineHandshakeResponse, - | AccessDeniedException - | ConcurrentModificationException - | HandshakeAlreadyInStateException - | HandshakeNotFoundException - | InvalidHandshakeTransitionException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | HandshakeAlreadyInStateException | HandshakeNotFoundException | InvalidHandshakeTransitionException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; - deleteOrganization(input: {}): Effect.Effect< + deleteOrganization( + input: {}, + ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | InvalidInputException - | OrganizationNotEmptyException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | InvalidInputException | OrganizationNotEmptyException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteOrganizationalUnit( input: DeleteOrganizationalUnitRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | InvalidInputException - | OrganizationalUnitNotEmptyException - | OrganizationalUnitNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | InvalidInputException | OrganizationalUnitNotEmptyException | OrganizationalUnitNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; deletePolicy( input: DeletePolicyRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | InvalidInputException - | PolicyInUseException - | PolicyNotFoundException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | InvalidInputException | PolicyInUseException | PolicyNotFoundException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; - deleteResourcePolicy(input: {}): Effect.Effect< + deleteResourcePolicy( + input: {}, + ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | ResourcePolicyNotFoundException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | ResourcePolicyNotFoundException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; deregisterDelegatedAdministrator( input: DeregisterDelegatedAdministratorRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AccountNotFoundException - | AccountNotRegisteredException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AccountNotFoundException | AccountNotRegisteredException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; describeAccount( input: DescribeAccountRequest, ): Effect.Effect< DescribeAccountResponse, - | AccessDeniedException - | AccountNotFoundException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AccountNotFoundException | AWSOrganizationsNotInUseException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; describeCreateAccountStatus( input: DescribeCreateAccountStatusRequest, ): Effect.Effect< DescribeCreateAccountStatusResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | CreateAccountStatusNotFoundException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | CreateAccountStatusNotFoundException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; describeEffectivePolicy( input: DescribeEffectivePolicyRequest, ): Effect.Effect< DescribeEffectivePolicyResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConstraintViolationException - | EffectivePolicyNotFoundException - | InvalidInputException - | ServiceException - | TargetNotFoundException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConstraintViolationException | EffectivePolicyNotFoundException | InvalidInputException | ServiceException | TargetNotFoundException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; describeHandshake( input: DescribeHandshakeRequest, ): Effect.Effect< DescribeHandshakeResponse, - | AccessDeniedException - | ConcurrentModificationException - | HandshakeNotFoundException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | HandshakeNotFoundException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; - describeOrganization(input: {}): Effect.Effect< + describeOrganization( + input: {}, + ): Effect.Effect< DescribeOrganizationResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ServiceException | TooManyRequestsException | CommonAwsError >; describeOrganizationalUnit( input: DescribeOrganizationalUnitRequest, ): Effect.Effect< DescribeOrganizationalUnitResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | OrganizationalUnitNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | OrganizationalUnitNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; describePolicy( input: DescribePolicyRequest, ): Effect.Effect< DescribePolicyResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | PolicyNotFoundException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | PolicyNotFoundException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; - describeResourcePolicy(input: {}): Effect.Effect< + describeResourcePolicy( + input: {}, + ): Effect.Effect< DescribeResourcePolicyResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConstraintViolationException - | ResourcePolicyNotFoundException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConstraintViolationException | ResourcePolicyNotFoundException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; detachPolicy( input: DetachPolicyRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | PolicyChangesInProgressException - | PolicyNotAttachedException - | PolicyNotFoundException - | ServiceException - | TargetNotFoundException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | PolicyChangesInProgressException | PolicyNotAttachedException | PolicyNotFoundException | ServiceException | TargetNotFoundException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; disableAWSServiceAccess( input: DisableAWSServiceAccessRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; disablePolicyType( input: DisablePolicyTypeRequest, ): Effect.Effect< DisablePolicyTypeResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | PolicyChangesInProgressException - | PolicyTypeNotEnabledException - | RootNotFoundException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | PolicyChangesInProgressException | PolicyTypeNotEnabledException | RootNotFoundException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; enableAllFeatures( input: EnableAllFeaturesRequest, ): Effect.Effect< EnableAllFeaturesResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | HandshakeConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | HandshakeConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; enableAWSServiceAccess( input: EnableAWSServiceAccessRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; enablePolicyType( input: EnablePolicyTypeRequest, ): Effect.Effect< EnablePolicyTypeResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | PolicyChangesInProgressException - | PolicyTypeAlreadyEnabledException - | PolicyTypeNotAvailableForOrganizationException - | RootNotFoundException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | PolicyChangesInProgressException | PolicyTypeAlreadyEnabledException | PolicyTypeNotAvailableForOrganizationException | RootNotFoundException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; inviteAccountToOrganization( input: InviteAccountToOrganizationRequest, ): Effect.Effect< InviteAccountToOrganizationResponse, - | AccessDeniedException - | AccountOwnerNotVerifiedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | DuplicateHandshakeException - | FinalizingOrganizationException - | HandshakeConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AccountOwnerNotVerifiedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | DuplicateHandshakeException | FinalizingOrganizationException | HandshakeConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; - leaveOrganization(input: {}): Effect.Effect< + leaveOrganization( + input: {}, + ): Effect.Effect< {}, - | AccessDeniedException - | AccountNotFoundException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | MasterCannotLeaveOrganizationException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AccountNotFoundException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | MasterCannotLeaveOrganizationException | ServiceException | TooManyRequestsException | CommonAwsError >; listAccounts( input: ListAccountsRequest, ): Effect.Effect< ListAccountsResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; listAccountsForParent( input: ListAccountsForParentRequest, ): Effect.Effect< ListAccountsForParentResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ParentNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | ParentNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; listAccountsWithInvalidEffectivePolicy( input: ListAccountsWithInvalidEffectivePolicyRequest, ): Effect.Effect< ListAccountsWithInvalidEffectivePolicyResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConstraintViolationException - | EffectivePolicyNotFoundException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConstraintViolationException | EffectivePolicyNotFoundException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; listAWSServiceAccessForOrganization( input: ListAWSServiceAccessForOrganizationRequest, ): Effect.Effect< ListAWSServiceAccessForOrganizationResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; listChildren( input: ListChildrenRequest, ): Effect.Effect< ListChildrenResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ParentNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | ParentNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; listCreateAccountStatus( input: ListCreateAccountStatusRequest, ): Effect.Effect< ListCreateAccountStatusResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; listDelegatedAdministrators( input: ListDelegatedAdministratorsRequest, ): Effect.Effect< ListDelegatedAdministratorsResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; listDelegatedServicesForAccount( input: ListDelegatedServicesForAccountRequest, ): Effect.Effect< ListDelegatedServicesForAccountResponse, - | AccessDeniedException - | AccountNotFoundException - | AccountNotRegisteredException - | AWSOrganizationsNotInUseException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AccountNotFoundException | AccountNotRegisteredException | AWSOrganizationsNotInUseException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; listEffectivePolicyValidationErrors( input: ListEffectivePolicyValidationErrorsRequest, ): Effect.Effect< ListEffectivePolicyValidationErrorsResponse, - | AccessDeniedException - | AccountNotFoundException - | AWSOrganizationsNotInUseException - | ConstraintViolationException - | EffectivePolicyNotFoundException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AccountNotFoundException | AWSOrganizationsNotInUseException | ConstraintViolationException | EffectivePolicyNotFoundException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; listHandshakesForAccount( input: ListHandshakesForAccountRequest, ): Effect.Effect< ListHandshakesForAccountResponse, - | AccessDeniedException - | ConcurrentModificationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | ConcurrentModificationException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; listHandshakesForOrganization( input: ListHandshakesForOrganizationRequest, ): Effect.Effect< ListHandshakesForOrganizationResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; listOrganizationalUnitsForParent( input: ListOrganizationalUnitsForParentRequest, ): Effect.Effect< ListOrganizationalUnitsForParentResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ParentNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | ParentNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; listParents( input: ListParentsRequest, ): Effect.Effect< ListParentsResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ChildNotFoundException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ChildNotFoundException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; listPolicies( input: ListPoliciesRequest, ): Effect.Effect< ListPoliciesResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; listPoliciesForTarget( input: ListPoliciesForTargetRequest, ): Effect.Effect< ListPoliciesForTargetResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ServiceException - | TargetNotFoundException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | ServiceException | TargetNotFoundException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; listRoots( input: ListRootsRequest, ): Effect.Effect< ListRootsResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | ServiceException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | ServiceException - | TargetNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | ServiceException | TargetNotFoundException | TooManyRequestsException | CommonAwsError >; listTargetsForPolicy( input: ListTargetsForPolicyRequest, ): Effect.Effect< ListTargetsForPolicyResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | InvalidInputException - | PolicyNotFoundException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | InvalidInputException | PolicyNotFoundException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; moveAccount( input: MoveAccountRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AccountNotFoundException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | DestinationParentNotFoundException - | DuplicateAccountException - | InvalidInputException - | ServiceException - | SourceParentNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AccountNotFoundException | AWSOrganizationsNotInUseException | ConcurrentModificationException | DestinationParentNotFoundException | DuplicateAccountException | InvalidInputException | ServiceException | SourceParentNotFoundException | TooManyRequestsException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; registerDelegatedAdministrator( input: RegisterDelegatedAdministratorRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AccountAlreadyRegisteredException - | AccountNotFoundException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AccountAlreadyRegisteredException | AccountNotFoundException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; removeAccountFromOrganization( input: RemoveAccountFromOrganizationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AccountNotFoundException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | MasterCannotLeaveOrganizationException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AccountNotFoundException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | MasterCannotLeaveOrganizationException | ServiceException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TargetNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | ServiceException | TargetNotFoundException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | InvalidInputException - | ServiceException - | TargetNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | InvalidInputException | ServiceException | TargetNotFoundException | TooManyRequestsException | CommonAwsError >; updateOrganizationalUnit( input: UpdateOrganizationalUnitRequest, ): Effect.Effect< UpdateOrganizationalUnitResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | DuplicateOrganizationalUnitException - | InvalidInputException - | OrganizationalUnitNotFoundException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | DuplicateOrganizationalUnitException | InvalidInputException | OrganizationalUnitNotFoundException | ServiceException | TooManyRequestsException | CommonAwsError >; updatePolicy( input: UpdatePolicyRequest, ): Effect.Effect< UpdatePolicyResponse, - | AccessDeniedException - | AWSOrganizationsNotInUseException - | ConcurrentModificationException - | ConstraintViolationException - | DuplicatePolicyException - | InvalidInputException - | MalformedPolicyDocumentException - | PolicyChangesInProgressException - | PolicyNotFoundException - | ServiceException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError + AccessDeniedException | AWSOrganizationsNotInUseException | ConcurrentModificationException | ConstraintViolationException | DuplicatePolicyException | InvalidInputException | MalformedPolicyDocumentException | PolicyChangesInProgressException | PolicyNotFoundException | ServiceException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError >; } @@ -850,8 +365,7 @@ export declare class AccessDeniedForDependencyException extends EffectData.Tagge readonly Message?: string; readonly Reason?: AccessDeniedForDependencyExceptionReason; }> {} -export type AccessDeniedForDependencyExceptionReason = - "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE"; +export type AccessDeniedForDependencyExceptionReason = "ACCESS_DENIED_DURING_CREATE_SERVICE_LINKED_ROLE"; export interface Account { Id?: string; Arn?: string; @@ -895,18 +409,9 @@ export declare class AccountOwnerNotVerifiedException extends EffectData.TaggedE readonly Message?: string; }> {} export type Accounts = Array; -export type AccountState = - | "PENDING_ACTIVATION" - | "ACTIVE" - | "SUSPENDED" - | "PENDING_CLOSURE" - | "CLOSED"; +export type AccountState = "PENDING_ACTIVATION" | "ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE" | "CLOSED"; export type AccountStatus = "ACTIVE" | "SUSPENDED" | "PENDING_CLOSURE"; -export type ActionType = - | "INVITE" - | "ENABLE_ALL_FEATURES" - | "APPROVE_ALL_FEATURES" - | "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"; +export type ActionType = "INVITE" | "ENABLE_ALL_FEATURES" | "APPROVE_ALL_FEATURES" | "ADD_ORGANIZATIONS_SERVICE_LINKED_ROLE"; export declare class AlreadyInOrganizationException extends EffectData.TaggedError( "AlreadyInOrganizationException", )<{ @@ -961,60 +466,8 @@ export declare class ConstraintViolationException extends EffectData.TaggedError readonly Message?: string; readonly Reason?: ConstraintViolationExceptionReason; }> {} -export type ConstraintViolationExceptionReason = - | "ACCOUNT_NUMBER_LIMIT_EXCEEDED" - | "HANDSHAKE_RATE_LIMIT_EXCEEDED" - | "OU_NUMBER_LIMIT_EXCEEDED" - | "OU_DEPTH_LIMIT_EXCEEDED" - | "POLICY_NUMBER_LIMIT_EXCEEDED" - | "POLICY_CONTENT_LIMIT_EXCEEDED" - | "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" - | "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" - | "ACCOUNT_CANNOT_LEAVE_ORGANIZATION" - | "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA" - | "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION" - | "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" - | "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" - | "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED" - | "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE" - | "MASTER_ACCOUNT_MISSING_CONTACT_INFO" - | "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED" - | "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE" - | "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION" - | "EMAIL_VERIFICATION_CODE_EXPIRED" - | "WAIT_PERIOD_ACTIVE" - | "MAX_TAG_LIMIT_EXCEEDED" - | "TAG_POLICY_VIOLATION" - | "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED" - | "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR" - | "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG" - | "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE" - | "POLICY_TYPE_ENABLED_FOR_THIS_SERVICE" - | "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE" - | "CANNOT_CLOSE_MANAGEMENT_ACCOUNT" - | "CLOSE_ACCOUNT_QUOTA_EXCEEDED" - | "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED" - | "SERVICE_ACCESS_NOT_ENABLED" - | "INVALID_PAYMENT_INSTRUMENT" - | "ACCOUNT_CREATION_NOT_COMPLETE" - | "CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR" - | "ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED"; -export type CreateAccountFailureReason = - | "ACCOUNT_LIMIT_EXCEEDED" - | "EMAIL_ALREADY_EXISTS" - | "INVALID_ADDRESS" - | "INVALID_EMAIL" - | "CONCURRENT_ACCOUNT_MODIFICATION" - | "INTERNAL_FAILURE" - | "GOVCLOUD_ACCOUNT_ALREADY_EXISTS" - | "MISSING_BUSINESS_VALIDATION" - | "FAILED_BUSINESS_VALIDATION" - | "PENDING_BUSINESS_VALIDATION" - | "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION" - | "UNKNOWN_BUSINESS_VALIDATION" - | "MISSING_PAYMENT_INSTRUMENT" - | "INVALID_PAYMENT_INSTRUMENT" - | "UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED"; +export type ConstraintViolationExceptionReason = "ACCOUNT_NUMBER_LIMIT_EXCEEDED" | "HANDSHAKE_RATE_LIMIT_EXCEEDED" | "OU_NUMBER_LIMIT_EXCEEDED" | "OU_DEPTH_LIMIT_EXCEEDED" | "POLICY_NUMBER_LIMIT_EXCEEDED" | "POLICY_CONTENT_LIMIT_EXCEEDED" | "MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" | "MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED" | "ACCOUNT_CANNOT_LEAVE_ORGANIZATION" | "ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA" | "ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION" | "MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" | "MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED" | "ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED" | "MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE" | "MASTER_ACCOUNT_MISSING_CONTACT_INFO" | "MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED" | "ORGANIZATION_NOT_IN_ALL_FEATURES_MODE" | "CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION" | "EMAIL_VERIFICATION_CODE_EXPIRED" | "WAIT_PERIOD_ACTIVE" | "MAX_TAG_LIMIT_EXCEEDED" | "TAG_POLICY_VIOLATION" | "MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED" | "CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR" | "CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG" | "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE" | "POLICY_TYPE_ENABLED_FOR_THIS_SERVICE" | "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE" | "CANNOT_CLOSE_MANAGEMENT_ACCOUNT" | "CLOSE_ACCOUNT_QUOTA_EXCEEDED" | "CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED" | "SERVICE_ACCESS_NOT_ENABLED" | "INVALID_PAYMENT_INSTRUMENT" | "ACCOUNT_CREATION_NOT_COMPLETE" | "CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR" | "ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED"; +export type CreateAccountFailureReason = "ACCOUNT_LIMIT_EXCEEDED" | "EMAIL_ALREADY_EXISTS" | "INVALID_ADDRESS" | "INVALID_EMAIL" | "CONCURRENT_ACCOUNT_MODIFICATION" | "INTERNAL_FAILURE" | "GOVCLOUD_ACCOUNT_ALREADY_EXISTS" | "MISSING_BUSINESS_VALIDATION" | "FAILED_BUSINESS_VALIDATION" | "PENDING_BUSINESS_VALIDATION" | "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION" | "UNKNOWN_BUSINESS_VALIDATION" | "MISSING_PAYMENT_INSTRUMENT" | "INVALID_PAYMENT_INSTRUMENT" | "UPDATE_EXISTING_RESOURCE_POLICY_WITH_TAGS_NOT_SUPPORTED"; export type CreateAccountName = string; export interface CreateAccountRequest { @@ -1212,24 +665,18 @@ export declare class EffectivePolicyNotFoundException extends EffectData.TaggedE )<{ readonly Message?: string; }> {} -export type EffectivePolicyType = - | "TAG_POLICY" - | "BACKUP_POLICY" - | "AISERVICES_OPT_OUT_POLICY" - | "CHATBOT_POLICY" - | "DECLARATIVE_POLICY_EC2" - | "SECURITYHUB_POLICY"; +export type EffectivePolicyType = "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"; export interface EffectivePolicyValidationError { ErrorCode?: string; ErrorMessage?: string; PathToError?: string; ContributingPolicies?: Array; } -export type EffectivePolicyValidationErrors = - Array; +export type EffectivePolicyValidationErrors = Array; export type Email = string; -export interface EnableAllFeaturesRequest {} +export interface EnableAllFeaturesRequest { +} export interface EnableAllFeaturesResponse { Handshake?: Handshake; } @@ -1286,17 +733,7 @@ export declare class HandshakeConstraintViolationException extends EffectData.Ta readonly Message?: string; readonly Reason?: HandshakeConstraintViolationExceptionReason; }> {} -export type HandshakeConstraintViolationExceptionReason = - | "ACCOUNT_NUMBER_LIMIT_EXCEEDED" - | "HANDSHAKE_RATE_LIMIT_EXCEEDED" - | "ALREADY_IN_AN_ORGANIZATION" - | "ORGANIZATION_ALREADY_HAS_ALL_FEATURES" - | "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION" - | "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES" - | "PAYMENT_INSTRUMENT_REQUIRED" - | "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD" - | "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED" - | "MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED"; +export type HandshakeConstraintViolationExceptionReason = "ACCOUNT_NUMBER_LIMIT_EXCEEDED" | "HANDSHAKE_RATE_LIMIT_EXCEEDED" | "ALREADY_IN_AN_ORGANIZATION" | "ORGANIZATION_ALREADY_HAS_ALL_FEATURES" | "ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION" | "INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES" | "PAYMENT_INSTRUMENT_REQUIRED" | "ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD" | "ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED" | "MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED"; export interface HandshakeFilter { ActionType?: ActionType; ParentHandshakeId?: string; @@ -1324,25 +761,11 @@ export interface HandshakeResource { Resources?: Array; } export type HandshakeResources = Array; -export type HandshakeResourceType = - | "ACCOUNT" - | "ORGANIZATION" - | "ORGANIZATION_FEATURE_SET" - | "EMAIL" - | "MASTER_EMAIL" - | "MASTER_NAME" - | "NOTES" - | "PARENT_HANDSHAKE"; +export type HandshakeResourceType = "ACCOUNT" | "ORGANIZATION" | "ORGANIZATION_FEATURE_SET" | "EMAIL" | "MASTER_EMAIL" | "MASTER_NAME" | "NOTES" | "PARENT_HANDSHAKE"; export type HandshakeResourceValue = string; export type Handshakes = Array; -export type HandshakeState = - | "REQUESTED" - | "OPEN" - | "CANCELED" - | "ACCEPTED" - | "DECLINED" - | "EXPIRED"; +export type HandshakeState = "REQUESTED" | "OPEN" | "CANCELED" | "ACCEPTED" | "DECLINED" | "EXPIRED"; export type IAMUserAccessToBilling = "ALLOW" | "DENY"; export declare class InvalidHandshakeTransitionException extends EffectData.TaggedError( "InvalidHandshakeTransitionException", @@ -1355,37 +778,7 @@ export declare class InvalidInputException extends EffectData.TaggedError( readonly Message?: string; readonly Reason?: InvalidInputExceptionReason; }> {} -export type InvalidInputExceptionReason = - | "INVALID_PARTY_TYPE_TARGET" - | "INVALID_SYNTAX_ORGANIZATION_ARN" - | "INVALID_SYNTAX_POLICY_ID" - | "INVALID_ENUM" - | "INVALID_ENUM_POLICY_TYPE" - | "INVALID_LIST_MEMBER" - | "MAX_LENGTH_EXCEEDED" - | "MAX_VALUE_EXCEEDED" - | "MIN_LENGTH_EXCEEDED" - | "MIN_VALUE_EXCEEDED" - | "IMMUTABLE_POLICY" - | "INVALID_PATTERN" - | "INVALID_PATTERN_TARGET_ID" - | "INPUT_REQUIRED" - | "INVALID_NEXT_TOKEN" - | "MAX_LIMIT_EXCEEDED_FILTER" - | "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS" - | "INVALID_FULL_NAME_TARGET" - | "UNRECOGNIZED_SERVICE_PRINCIPAL" - | "INVALID_ROLE_NAME" - | "INVALID_SYSTEM_TAGS_PARAMETER" - | "DUPLICATE_TAG_KEY" - | "TARGET_NOT_SUPPORTED" - | "INVALID_EMAIL_ADDRESS_TARGET" - | "INVALID_RESOURCE_POLICY_JSON" - | "INVALID_PRINCIPAL" - | "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY" - | "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY" - | "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY" - | "NON_DETACHABLE_POLICY"; +export type InvalidInputExceptionReason = "INVALID_PARTY_TYPE_TARGET" | "INVALID_SYNTAX_ORGANIZATION_ARN" | "INVALID_SYNTAX_POLICY_ID" | "INVALID_ENUM" | "INVALID_ENUM_POLICY_TYPE" | "INVALID_LIST_MEMBER" | "MAX_LENGTH_EXCEEDED" | "MAX_VALUE_EXCEEDED" | "MIN_LENGTH_EXCEEDED" | "MIN_VALUE_EXCEEDED" | "IMMUTABLE_POLICY" | "INVALID_PATTERN" | "INVALID_PATTERN_TARGET_ID" | "INPUT_REQUIRED" | "INVALID_NEXT_TOKEN" | "MAX_LIMIT_EXCEEDED_FILTER" | "MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS" | "INVALID_FULL_NAME_TARGET" | "UNRECOGNIZED_SERVICE_PRINCIPAL" | "INVALID_ROLE_NAME" | "INVALID_SYSTEM_TAGS_PARAMETER" | "DUPLICATE_TAG_KEY" | "TARGET_NOT_SUPPORTED" | "INVALID_EMAIL_ADDRESS_TARGET" | "INVALID_RESOURCE_POLICY_JSON" | "INVALID_PRINCIPAL" | "UNSUPPORTED_ACTION_IN_RESOURCE_POLICY" | "UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY" | "UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY" | "NON_DETACHABLE_POLICY"; export interface InviteAccountToOrganizationRequest { Target: HandshakeParty; Notes?: string; @@ -1690,15 +1083,7 @@ export interface PolicyTargetSummary { Name?: string; Type?: TargetType; } -export type PolicyType = - | "SERVICE_CONTROL_POLICY" - | "RESOURCE_CONTROL_POLICY" - | "TAG_POLICY" - | "BACKUP_POLICY" - | "AISERVICES_OPT_OUT_POLICY" - | "CHATBOT_POLICY" - | "DECLARATIVE_POLICY_EC2" - | "SECURITYHUB_POLICY"; +export type PolicyType = "SERVICE_CONTROL_POLICY" | "RESOURCE_CONTROL_POLICY" | "TAG_POLICY" | "BACKUP_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "CHATBOT_POLICY" | "DECLARATIVE_POLICY_EC2" | "SECURITYHUB_POLICY"; export declare class PolicyTypeAlreadyEnabledException extends EffectData.TaggedError( "PolicyTypeAlreadyEnabledException", )<{ @@ -2702,52 +2087,5 @@ export declare namespace UpdatePolicy { | CommonAwsError; } -export type OrganizationsErrors = - | AWSOrganizationsNotInUseException - | AccessDeniedException - | AccessDeniedForDependencyException - | AccountAlreadyClosedException - | AccountAlreadyRegisteredException - | AccountNotFoundException - | AccountNotRegisteredException - | AccountOwnerNotVerifiedException - | AlreadyInOrganizationException - | ChildNotFoundException - | ConcurrentModificationException - | ConflictException - | ConstraintViolationException - | CreateAccountStatusNotFoundException - | DestinationParentNotFoundException - | DuplicateAccountException - | DuplicateHandshakeException - | DuplicateOrganizationalUnitException - | DuplicatePolicyAttachmentException - | DuplicatePolicyException - | EffectivePolicyNotFoundException - | FinalizingOrganizationException - | HandshakeAlreadyInStateException - | HandshakeConstraintViolationException - | HandshakeNotFoundException - | InvalidHandshakeTransitionException - | InvalidInputException - | MalformedPolicyDocumentException - | MasterCannotLeaveOrganizationException - | OrganizationNotEmptyException - | OrganizationalUnitNotEmptyException - | OrganizationalUnitNotFoundException - | ParentNotFoundException - | PolicyChangesInProgressException - | PolicyInUseException - | PolicyNotAttachedException - | PolicyNotFoundException - | PolicyTypeAlreadyEnabledException - | PolicyTypeNotAvailableForOrganizationException - | PolicyTypeNotEnabledException - | ResourcePolicyNotFoundException - | RootNotFoundException - | ServiceException - | SourceParentNotFoundException - | TargetNotFoundException - | TooManyRequestsException - | UnsupportedAPIEndpointException - | CommonAwsError; +export type OrganizationsErrors = AWSOrganizationsNotInUseException | AccessDeniedException | AccessDeniedForDependencyException | AccountAlreadyClosedException | AccountAlreadyRegisteredException | AccountNotFoundException | AccountNotRegisteredException | AccountOwnerNotVerifiedException | AlreadyInOrganizationException | ChildNotFoundException | ConcurrentModificationException | ConflictException | ConstraintViolationException | CreateAccountStatusNotFoundException | DestinationParentNotFoundException | DuplicateAccountException | DuplicateHandshakeException | DuplicateOrganizationalUnitException | DuplicatePolicyAttachmentException | DuplicatePolicyException | EffectivePolicyNotFoundException | FinalizingOrganizationException | HandshakeAlreadyInStateException | HandshakeConstraintViolationException | HandshakeNotFoundException | InvalidHandshakeTransitionException | InvalidInputException | MalformedPolicyDocumentException | MasterCannotLeaveOrganizationException | OrganizationNotEmptyException | OrganizationalUnitNotEmptyException | OrganizationalUnitNotFoundException | ParentNotFoundException | PolicyChangesInProgressException | PolicyInUseException | PolicyNotAttachedException | PolicyNotFoundException | PolicyTypeAlreadyEnabledException | PolicyTypeNotAvailableForOrganizationException | PolicyTypeNotEnabledException | ResourcePolicyNotFoundException | RootNotFoundException | ServiceException | SourceParentNotFoundException | TargetNotFoundException | TooManyRequestsException | UnsupportedAPIEndpointException | CommonAwsError; + diff --git a/src/services/osis/index.ts b/src/services/osis/index.ts index 345fe913..971eb480 100644 --- a/src/services/osis/index.ts +++ b/src/services/osis/index.ts @@ -5,24 +5,7 @@ import type { OSIS as _OSISClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,34 +15,28 @@ const metadata = { sigV4ServiceName: "osis", endpointPrefix: "osis", operations: { - CreatePipeline: "POST /2022-01-01/osis/createPipeline", - CreatePipelineEndpoint: "POST /2022-01-01/osis/createPipelineEndpoint", - DeletePipeline: "DELETE /2022-01-01/osis/deletePipeline/{PipelineName}", - DeletePipelineEndpoint: - "DELETE /2022-01-01/osis/deletePipelineEndpoint/{EndpointId}", - DeleteResourcePolicy: - "DELETE /2022-01-01/osis/resourcePolicy/{ResourceArn}", - GetPipeline: "GET /2022-01-01/osis/getPipeline/{PipelineName}", - GetPipelineBlueprint: - "GET /2022-01-01/osis/getPipelineBlueprint/{BlueprintName}", - GetPipelineChangeProgress: - "GET /2022-01-01/osis/getPipelineChangeProgress/{PipelineName}", - GetResourcePolicy: "GET /2022-01-01/osis/resourcePolicy/{ResourceArn}", - ListPipelineBlueprints: "POST /2022-01-01/osis/listPipelineBlueprints", - ListPipelineEndpointConnections: - "GET /2022-01-01/osis/listPipelineEndpointConnections", - ListPipelineEndpoints: "GET /2022-01-01/osis/listPipelineEndpoints", - ListPipelines: "GET /2022-01-01/osis/listPipelines", - ListTagsForResource: "GET /2022-01-01/osis/listTagsForResource", - PutResourcePolicy: "PUT /2022-01-01/osis/resourcePolicy/{ResourceArn}", - RevokePipelineEndpointConnections: - "POST /2022-01-01/osis/revokePipelineEndpointConnections", - StartPipeline: "PUT /2022-01-01/osis/startPipeline/{PipelineName}", - StopPipeline: "PUT /2022-01-01/osis/stopPipeline/{PipelineName}", - TagResource: "POST /2022-01-01/osis/tagResource", - UntagResource: "POST /2022-01-01/osis/untagResource", - UpdatePipeline: "PUT /2022-01-01/osis/updatePipeline/{PipelineName}", - ValidatePipeline: "POST /2022-01-01/osis/validatePipeline", + "CreatePipeline": "POST /2022-01-01/osis/createPipeline", + "CreatePipelineEndpoint": "POST /2022-01-01/osis/createPipelineEndpoint", + "DeletePipeline": "DELETE /2022-01-01/osis/deletePipeline/{PipelineName}", + "DeletePipelineEndpoint": "DELETE /2022-01-01/osis/deletePipelineEndpoint/{EndpointId}", + "DeleteResourcePolicy": "DELETE /2022-01-01/osis/resourcePolicy/{ResourceArn}", + "GetPipeline": "GET /2022-01-01/osis/getPipeline/{PipelineName}", + "GetPipelineBlueprint": "GET /2022-01-01/osis/getPipelineBlueprint/{BlueprintName}", + "GetPipelineChangeProgress": "GET /2022-01-01/osis/getPipelineChangeProgress/{PipelineName}", + "GetResourcePolicy": "GET /2022-01-01/osis/resourcePolicy/{ResourceArn}", + "ListPipelineBlueprints": "POST /2022-01-01/osis/listPipelineBlueprints", + "ListPipelineEndpointConnections": "GET /2022-01-01/osis/listPipelineEndpointConnections", + "ListPipelineEndpoints": "GET /2022-01-01/osis/listPipelineEndpoints", + "ListPipelines": "GET /2022-01-01/osis/listPipelines", + "ListTagsForResource": "GET /2022-01-01/osis/listTagsForResource", + "PutResourcePolicy": "PUT /2022-01-01/osis/resourcePolicy/{ResourceArn}", + "RevokePipelineEndpointConnections": "POST /2022-01-01/osis/revokePipelineEndpointConnections", + "StartPipeline": "PUT /2022-01-01/osis/startPipeline/{PipelineName}", + "StopPipeline": "PUT /2022-01-01/osis/stopPipeline/{PipelineName}", + "TagResource": "POST /2022-01-01/osis/tagResource", + "UntagResource": "POST /2022-01-01/osis/untagResource", + "UpdatePipeline": "PUT /2022-01-01/osis/updatePipeline/{PipelineName}", + "ValidatePipeline": "POST /2022-01-01/osis/validatePipeline", }, } as const satisfies ServiceMetadata; diff --git a/src/services/osis/types.ts b/src/services/osis/types.ts index d893bbfc..050ca040 100644 --- a/src/services/osis/types.ts +++ b/src/services/osis/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class OSIS extends AWSServiceClient { @@ -41,252 +8,133 @@ export declare class OSIS extends AWSServiceClient { input: CreatePipelineRequest, ): Effect.Effect< CreatePipelineResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ValidationException | CommonAwsError >; createPipelineEndpoint( input: CreatePipelineEndpointRequest, ): Effect.Effect< CreatePipelineEndpointResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; deletePipeline( input: DeletePipelineRequest, ): Effect.Effect< DeletePipelineResponse, - | AccessDeniedException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; deletePipelineEndpoint( input: DeletePipelineEndpointRequest, ): Effect.Effect< DeletePipelineEndpointResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; getPipeline( input: GetPipelineRequest, ): Effect.Effect< GetPipelineResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getPipelineBlueprint( input: GetPipelineBlueprintRequest, ): Effect.Effect< GetPipelineBlueprintResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getPipelineChangeProgress( input: GetPipelineChangeProgressRequest, ): Effect.Effect< GetPipelineChangeProgressResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; listPipelineBlueprints( input: ListPipelineBlueprintsRequest, ): Effect.Effect< ListPipelineBlueprintsResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | InvalidPaginationTokenException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | InvalidPaginationTokenException | ValidationException | CommonAwsError >; listPipelineEndpointConnections( input: ListPipelineEndpointConnectionsRequest, ): Effect.Effect< ListPipelineEndpointConnectionsResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | LimitExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | LimitExceededException | ValidationException | CommonAwsError >; listPipelineEndpoints( input: ListPipelineEndpointsRequest, ): Effect.Effect< ListPipelineEndpointsResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | LimitExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | LimitExceededException | ValidationException | CommonAwsError >; listPipelines( input: ListPipelinesRequest, ): Effect.Effect< ListPipelinesResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | InvalidPaginationTokenException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | InvalidPaginationTokenException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; revokePipelineEndpointConnections( input: RevokePipelineEndpointConnectionsRequest, ): Effect.Effect< RevokePipelineEndpointConnectionsResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | LimitExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | LimitExceededException | ValidationException | CommonAwsError >; startPipeline( input: StartPipelineRequest, ): Effect.Effect< StartPipelineResponse, - | AccessDeniedException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; stopPipeline( input: StopPipelineRequest, ): Effect.Effect< StopPipelineResponse, - | AccessDeniedException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | LimitExceededException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | LimitExceededException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; updatePipeline( input: UpdatePipelineRequest, ): Effect.Effect< UpdatePipelineResponse, - | AccessDeniedException - | ConflictException - | DisabledOperationException - | InternalException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DisabledOperationException | InternalException | ResourceNotFoundException | ValidationException | CommonAwsError >; validatePipeline( input: ValidatePipelineRequest, ): Effect.Effect< ValidatePipelineResponse, - | AccessDeniedException - | DisabledOperationException - | InternalException - | ValidationException - | CommonAwsError + AccessDeniedException | DisabledOperationException | InternalException | ValidationException | CommonAwsError >; } @@ -313,22 +161,14 @@ export interface ChangeProgressStage { LastUpdatedAt?: Date | string; } export type ChangeProgressStageList = Array; -export type ChangeProgressStageStatuses = - | "PENDING" - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED"; +export type ChangeProgressStageStatuses = "PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED"; export interface ChangeProgressStatus { StartTime?: Date | string; Status?: ChangeProgressStatuses; TotalNumberOfStages?: number; ChangeProgressStages?: Array; } -export type ChangeProgressStatuses = - | "PENDING" - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED"; +export type ChangeProgressStatuses = "PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED"; export type ChangeProgressStatusList = Array; export type CidrBlock = string; @@ -368,15 +208,18 @@ export interface CreatePipelineResponse { export interface DeletePipelineEndpointRequest { EndpointId: string; } -export interface DeletePipelineEndpointResponse {} +export interface DeletePipelineEndpointResponse { +} export interface DeletePipelineRequest { PipelineName: string; } -export interface DeletePipelineResponse {} +export interface DeletePipelineResponse { +} export interface DeleteResourcePolicyRequest { ResourceArn: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export declare class DisabledOperationException extends EffectData.TaggedError( "DisabledOperationException", )<{ @@ -434,7 +277,8 @@ export declare class LimitExceededException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export interface ListPipelineBlueprintsRequest {} +export interface ListPipelineBlueprintsRequest { +} export interface ListPipelineBlueprintsResponse { Blueprints?: Array; } @@ -538,19 +382,12 @@ export interface PipelineEndpointConnection { Status?: PipelineEndpointStatus; VpcEndpointOwner?: string; } -export type PipelineEndpointConnectionsSummaryList = - Array; +export type PipelineEndpointConnectionsSummaryList = Array; export type PipelineEndpointId = string; export type PipelineEndpointIdsList = Array; export type PipelineEndpointsSummaryList = Array; -export type PipelineEndpointStatus = - | "CREATING" - | "ACTIVE" - | "CREATE_FAILED" - | "DELETING" - | "REVOKING" - | "REVOKED"; +export type PipelineEndpointStatus = "CREATING" | "ACTIVE" | "CREATE_FAILED" | "DELETING" | "REVOKING" | "REVOKED"; export interface PipelineEndpointVpcOptions { SubnetIds?: Array; SecurityGroupIds?: Array; @@ -559,17 +396,7 @@ export type PipelineName = string; export type PipelineRoleArn = string; -export type PipelineStatus = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "CREATE_FAILED" - | "UPDATE_FAILED" - | "STARTING" - | "START_FAILED" - | "STOPPING" - | "STOPPED"; +export type PipelineStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "STARTING" | "START_FAILED" | "STOPPING" | "STOPPED"; export interface PipelineStatusReason { Description?: string; } @@ -652,7 +479,8 @@ export interface TagResourceRequest { Arn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Timestamp = Date | string; @@ -661,7 +489,8 @@ export interface UntagResourceRequest { Arn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdatePipelineRequest { PipelineName: string; MinUnits?: number; @@ -982,14 +811,5 @@ export declare namespace ValidatePipeline { | CommonAwsError; } -export type OSISErrors = - | AccessDeniedException - | ConflictException - | DisabledOperationException - | InternalException - | InvalidPaginationTokenException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type OSISErrors = AccessDeniedException | ConflictException | DisabledOperationException | InternalException | InvalidPaginationTokenException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/outposts/index.ts b/src/services/outposts/index.ts index 863ad14e..034c7f36 100644 --- a/src/services/outposts/index.ts +++ b/src/services/outposts/index.ts @@ -5,24 +5,7 @@ import type { Outposts as _OutpostsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,47 +15,41 @@ const metadata = { sigV4ServiceName: "outposts", endpointPrefix: "outposts", operations: { - CancelCapacityTask: - "POST /outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}", - CancelOrder: "POST /orders/{OrderId}/cancel", - CreateOrder: "POST /orders", - CreateOutpost: "POST /outposts", - CreateSite: "POST /sites", - DeleteOutpost: "DELETE /outposts/{OutpostId}", - DeleteSite: "DELETE /sites/{SiteId}", - GetCapacityTask: - "GET /outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}", - GetCatalogItem: "GET /catalog/item/{CatalogItemId}", - GetConnection: "GET /connections/{ConnectionId}", - GetOrder: "GET /orders/{OrderId}", - GetOutpost: "GET /outposts/{OutpostId}", - GetOutpostBillingInformation: - "GET /outpost/{OutpostIdentifier}/billing-information", - GetOutpostInstanceTypes: "GET /outposts/{OutpostId}/instanceTypes", - GetOutpostSupportedInstanceTypes: - "GET /outposts/{OutpostIdentifier}/supportedInstanceTypes", - GetSite: "GET /sites/{SiteId}", - GetSiteAddress: "GET /sites/{SiteId}/address", - ListAssetInstances: "GET /outposts/{OutpostIdentifier}/assetInstances", - ListAssets: "GET /outposts/{OutpostIdentifier}/assets", - ListBlockingInstancesForCapacityTask: - "GET /outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}/blockingInstances", - ListCapacityTasks: "GET /capacity/tasks", - ListCatalogItems: "GET /catalog/items", - ListOrders: "GET /list-orders", - ListOutposts: "GET /outposts", - ListSites: "GET /sites", - ListTagsForResource: "GET /tags/{ResourceArn}", - StartCapacityTask: "POST /outposts/{OutpostIdentifier}/capacity", - StartConnection: "POST /connections", - StartOutpostDecommission: "POST /outposts/{OutpostIdentifier}/decommission", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateOutpost: "PATCH /outposts/{OutpostId}", - UpdateSite: "PATCH /sites/{SiteId}", - UpdateSiteAddress: "PUT /sites/{SiteId}/address", - UpdateSiteRackPhysicalProperties: - "PATCH /sites/{SiteId}/rackPhysicalProperties", + "CancelCapacityTask": "POST /outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}", + "CancelOrder": "POST /orders/{OrderId}/cancel", + "CreateOrder": "POST /orders", + "CreateOutpost": "POST /outposts", + "CreateSite": "POST /sites", + "DeleteOutpost": "DELETE /outposts/{OutpostId}", + "DeleteSite": "DELETE /sites/{SiteId}", + "GetCapacityTask": "GET /outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}", + "GetCatalogItem": "GET /catalog/item/{CatalogItemId}", + "GetConnection": "GET /connections/{ConnectionId}", + "GetOrder": "GET /orders/{OrderId}", + "GetOutpost": "GET /outposts/{OutpostId}", + "GetOutpostBillingInformation": "GET /outpost/{OutpostIdentifier}/billing-information", + "GetOutpostInstanceTypes": "GET /outposts/{OutpostId}/instanceTypes", + "GetOutpostSupportedInstanceTypes": "GET /outposts/{OutpostIdentifier}/supportedInstanceTypes", + "GetSite": "GET /sites/{SiteId}", + "GetSiteAddress": "GET /sites/{SiteId}/address", + "ListAssetInstances": "GET /outposts/{OutpostIdentifier}/assetInstances", + "ListAssets": "GET /outposts/{OutpostIdentifier}/assets", + "ListBlockingInstancesForCapacityTask": "GET /outposts/{OutpostIdentifier}/capacity/{CapacityTaskId}/blockingInstances", + "ListCapacityTasks": "GET /capacity/tasks", + "ListCatalogItems": "GET /catalog/items", + "ListOrders": "GET /list-orders", + "ListOutposts": "GET /outposts", + "ListSites": "GET /sites", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "StartCapacityTask": "POST /outposts/{OutpostIdentifier}/capacity", + "StartConnection": "POST /connections", + "StartOutpostDecommission": "POST /outposts/{OutpostIdentifier}/decommission", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateOutpost": "PATCH /outposts/{OutpostId}", + "UpdateSite": "PATCH /sites/{SiteId}", + "UpdateSiteAddress": "PUT /sites/{SiteId}/address", + "UpdateSiteRackPhysicalProperties": "PATCH /sites/{SiteId}/rackPhysicalProperties", }, } as const satisfies ServiceMetadata; diff --git a/src/services/outposts/types.ts b/src/services/outposts/types.ts index c95758cf..e99dad6c 100644 --- a/src/services/outposts/types.ts +++ b/src/services/outposts/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Outposts extends AWSServiceClient { @@ -41,359 +8,211 @@ export declare class Outposts extends AWSServiceClient { input: CancelCapacityTaskInput, ): Effect.Effect< CancelCapacityTaskOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; cancelOrder( input: CancelOrderInput, ): Effect.Effect< CancelOrderOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; createOrder( input: CreateOrderInput, ): Effect.Effect< CreateOrderOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createOutpost( input: CreateOutpostInput, ): Effect.Effect< CreateOutpostOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createSite( input: CreateSiteInput, ): Effect.Effect< CreateSiteOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteOutpost( input: DeleteOutpostInput, ): Effect.Effect< DeleteOutpostOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; deleteSite( input: DeleteSiteInput, ): Effect.Effect< DeleteSiteOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; getCapacityTask( input: GetCapacityTaskInput, ): Effect.Effect< GetCapacityTaskOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; getCatalogItem( input: GetCatalogItemInput, ): Effect.Effect< GetCatalogItemOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; getConnection( input: GetConnectionRequest, ): Effect.Effect< GetConnectionResponse, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; getOrder( input: GetOrderInput, ): Effect.Effect< GetOrderOutput, - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + InternalServerException | NotFoundException | ValidationException | CommonAwsError >; getOutpost( input: GetOutpostInput, ): Effect.Effect< GetOutpostOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; getOutpostBillingInformation( input: GetOutpostBillingInformationInput, ): Effect.Effect< GetOutpostBillingInformationOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | CommonAwsError >; getOutpostInstanceTypes( input: GetOutpostInstanceTypesInput, ): Effect.Effect< GetOutpostInstanceTypesOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; getOutpostSupportedInstanceTypes( input: GetOutpostSupportedInstanceTypesInput, ): Effect.Effect< GetOutpostSupportedInstanceTypesOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; getSite( input: GetSiteInput, ): Effect.Effect< GetSiteOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; getSiteAddress( input: GetSiteAddressInput, ): Effect.Effect< GetSiteAddressOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; listAssetInstances( input: ListAssetInstancesInput, ): Effect.Effect< ListAssetInstancesOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; listAssets( input: ListAssetsInput, ): Effect.Effect< ListAssetsOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; listBlockingInstancesForCapacityTask( input: ListBlockingInstancesForCapacityTaskInput, ): Effect.Effect< ListBlockingInstancesForCapacityTaskOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; listCapacityTasks( input: ListCapacityTasksInput, ): Effect.Effect< ListCapacityTasksOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; listCatalogItems( input: ListCatalogItemsInput, ): Effect.Effect< ListCatalogItemsOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; listOrders( input: ListOrdersInput, ): Effect.Effect< ListOrdersOutput, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; listOutposts( input: ListOutpostsInput, ): Effect.Effect< ListOutpostsOutput, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listSites( input: ListSitesInput, ): Effect.Effect< ListSitesOutput, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + InternalServerException | NotFoundException | ValidationException | CommonAwsError >; startCapacityTask( input: StartCapacityTaskInput, ): Effect.Effect< StartCapacityTaskOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; startConnection( input: StartConnectionRequest, ): Effect.Effect< StartConnectionResponse, - | AccessDeniedException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; startOutpostDecommission( input: StartOutpostDecommissionInput, ): Effect.Effect< StartOutpostDecommissionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + InternalServerException | NotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + InternalServerException | NotFoundException | ValidationException | CommonAwsError >; updateOutpost( input: UpdateOutpostInput, ): Effect.Effect< UpdateOutpostOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; updateSite( input: UpdateSiteInput, ): Effect.Effect< UpdateSiteOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; updateSiteAddress( input: UpdateSiteAddressInput, ): Effect.Effect< UpdateSiteAddressOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; updateSiteRackPhysicalProperties( input: UpdateSiteRackPhysicalPropertiesInput, ): Effect.Effect< UpdateSiteRackPhysicalPropertiesOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ValidationException | CommonAwsError >; } @@ -464,13 +283,7 @@ export type AvailabilityZoneId = string; export type AvailabilityZoneIdList = Array; export type AvailabilityZoneList = Array; -export type AWSServiceName = - | "AWS" - | "EC2" - | "ELASTICACHE" - | "ELB" - | "RDS" - | "ROUTE53"; +export type AWSServiceName = "AWS" | "EC2" | "ELASTICACHE" | "ELB" | "RDS" | "ROUTE53"; export type AWSServiceNameList = Array; export interface BlockingInstance { InstanceId?: string; @@ -478,45 +291,28 @@ export interface BlockingInstance { AwsServiceName?: AWSServiceName; } export type BlockingInstancesList = Array; -export type BlockingResourceType = - | "EC2_INSTANCE" - | "OUTPOST_RAM_SHARE" - | "LGW_ROUTING_DOMAIN" - | "LGW_ROUTE_TABLE" - | "LGW_VIRTUAL_INTERFACE_GROUP" - | "OUTPOST_ORDER_CANCELLABLE" - | "OUTPOST_ORDER_INTERVENTION_REQUIRED"; +export type BlockingResourceType = "EC2_INSTANCE" | "OUTPOST_RAM_SHARE" | "LGW_ROUTING_DOMAIN" | "LGW_ROUTE_TABLE" | "LGW_VIRTUAL_INTERFACE_GROUP" | "OUTPOST_ORDER_CANCELLABLE" | "OUTPOST_ORDER_INTERVENTION_REQUIRED"; export type BlockingResourceTypeList = Array; export interface CancelCapacityTaskInput { CapacityTaskId: string; OutpostIdentifier: string; } -export interface CancelCapacityTaskOutput {} +export interface CancelCapacityTaskOutput { +} export interface CancelOrderInput { OrderId: string; } -export interface CancelOrderOutput {} +export interface CancelOrderOutput { +} export interface CapacityTaskFailure { Reason: string; Type?: CapacityTaskFailureType; } -export type CapacityTaskFailureType = - | "UNSUPPORTED_CAPACITY_CONFIGURATION" - | "UNEXPECTED_ASSET_STATE" - | "BLOCKING_INSTANCES_NOT_EVACUATED" - | "INTERNAL_SERVER_ERROR" - | "RESOURCE_NOT_FOUND"; +export type CapacityTaskFailureType = "UNSUPPORTED_CAPACITY_CONFIGURATION" | "UNEXPECTED_ASSET_STATE" | "BLOCKING_INSTANCES_NOT_EVACUATED" | "INTERNAL_SERVER_ERROR" | "RESOURCE_NOT_FOUND"; export type CapacityTaskId = string; export type CapacityTaskList = Array; -export type CapacityTaskStatus = - | "REQUESTED" - | "IN_PROGRESS" - | "FAILED" - | "COMPLETED" - | "WAITING_FOR_EVACUATION" - | "CANCELLATION_IN_PROGRESS" - | "CANCELLED"; +export type CapacityTaskStatus = "REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "WAITING_FOR_EVACUATION" | "CANCELLATION_IN_PROGRESS" | "CANCELLED"; export type CapacityTaskStatusList = Array; export type CapacityTaskStatusReason = string; @@ -622,11 +418,13 @@ export type DecommissionRequestStatus = "SKIPPED" | "BLOCKED" | "REQUESTED"; export interface DeleteOutpostInput { OutpostId: string; } -export interface DeleteOutpostOutput {} +export interface DeleteOutpostOutput { +} export interface DeleteSiteInput { SiteId: string; } -export interface DeleteSiteOutput {} +export interface DeleteSiteOutput { +} export type DeviceSerialNumber = string; export type DistrictOrCounty = string; @@ -800,16 +598,7 @@ export interface LineItemRequest { Quantity?: number; } export type LineItemRequestListDefinition = Array; -export type LineItemStatus = - | "PREPARING" - | "BUILDING" - | "SHIPPED" - | "DELIVERED" - | "INSTALLING" - | "INSTALLED" - | "ERROR" - | "CANCELLED" - | "REPLACED"; +export type LineItemStatus = "PREPARING" | "BUILDING" | "SHIPPED" | "DELIVERED" | "INSTALLING" | "INSTALLED" | "ERROR" | "CANCELLED" | "REPLACED"; export type LineItemStatusCounts = Record; export interface ListAssetInstancesInput { OutpostIdentifier: string; @@ -906,12 +695,7 @@ export interface ListTagsForResourceResponse { export type MacAddress = string; export type MacAddressList = Array; -export type MaximumSupportedWeightLbs = - | "NO_LIMIT" - | "MAX_1400_LBS" - | "MAX_1600_LBS" - | "MAX_1800_LBS" - | "MAX_2000_LBS"; +export type MaximumSupportedWeightLbs = "NO_LIMIT" | "MAX_1400_LBS" | "MAX_1600_LBS" | "MAX_1800_LBS" | "MAX_2000_LBS"; export type MaxResults1000 = number; export type MaxSize = string; @@ -927,20 +711,7 @@ export declare class NotFoundException extends EffectData.TaggedError( }> {} export type NullableDouble = number; -export type OpticalStandard = - | "OPTIC_10GBASE_SR" - | "OPTIC_10GBASE_IR" - | "OPTIC_10GBASE_LR" - | "OPTIC_40GBASE_SR" - | "OPTIC_40GBASE_ESR" - | "OPTIC_40GBASE_IR4_LR4L" - | "OPTIC_40GBASE_LR4" - | "OPTIC_100GBASE_SR4" - | "OPTIC_100GBASE_CWDM4" - | "OPTIC_100GBASE_LR4" - | "OPTIC_100G_PSM4_MSA" - | "OPTIC_1000BASE_LX" - | "OPTIC_1000BASE_SX"; +export type OpticalStandard = "OPTIC_10GBASE_SR" | "OPTIC_10GBASE_IR" | "OPTIC_10GBASE_LR" | "OPTIC_40GBASE_SR" | "OPTIC_40GBASE_ESR" | "OPTIC_40GBASE_IR4_LR4L" | "OPTIC_40GBASE_LR4" | "OPTIC_100GBASE_SR4" | "OPTIC_100GBASE_CWDM4" | "OPTIC_100GBASE_LR4" | "OPTIC_100G_PSM4_MSA" | "OPTIC_1000BASE_LX" | "OPTIC_1000BASE_SX"; export interface Order { OutpostId?: string; OrderId?: string; @@ -955,18 +726,7 @@ export interface Order { export type OrderId = string; export type OrderIdList = Array; -export type OrderStatus = - | "RECEIVED" - | "PENDING" - | "PROCESSING" - | "INSTALLING" - | "FULFILLED" - | "CANCELLED" - | "PREPARING" - | "IN_PROGRESS" - | "DELIVERED" - | "COMPLETED" - | "ERROR"; +export type OrderStatus = "RECEIVED" | "PENDING" | "PROCESSING" | "INSTALLING" | "FULFILLED" | "CANCELLED" | "PREPARING" | "IN_PROGRESS" | "DELIVERED" | "COMPLETED" | "ERROR"; export interface OrderSummary { OutpostId?: string; OrderId?: string; @@ -1014,17 +774,8 @@ export type PaymentOption = "ALL_UPFRONT" | "NO_UPFRONT" | "PARTIAL_UPFRONT"; export type PaymentTerm = "THREE_YEARS" | "ONE_YEAR" | "FIVE_YEARS"; export type PostalCode = string; -export type PowerConnector = - | "L6_30P" - | "IEC309" - | "AH530P7W" - | "AH532P6W" - | "CS8365C"; -export type PowerDrawKva = - | "POWER_5_KVA" - | "POWER_10_KVA" - | "POWER_15_KVA" - | "POWER_30_KVA"; +export type PowerConnector = "L6_30P" | "IEC309" | "AH530P7W" | "AH532P6W" | "CS8365C"; +export type PowerDrawKva = "POWER_5_KVA" | "POWER_10_KVA" | "POWER_15_KVA" | "POWER_30_KVA"; export type PowerFeedDrop = "ABOVE_RACK" | "BELOW_RACK"; export type PowerPhase = "SINGLE_PHASE" | "THREE_PHASE"; export type Quantity = string; @@ -1159,7 +910,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TaskActionOnBlockingInstances = "WAIT_FOR_EVACUATION" | "FAIL_TASK"; @@ -1173,7 +925,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateOutpostInput { OutpostId: string; Name?: string; @@ -1216,22 +969,8 @@ export interface UpdateSiteRackPhysicalPropertiesInput { export interface UpdateSiteRackPhysicalPropertiesOutput { Site?: Site; } -export type UplinkCount = - | "UPLINK_COUNT_1" - | "UPLINK_COUNT_2" - | "UPLINK_COUNT_3" - | "UPLINK_COUNT_4" - | "UPLINK_COUNT_5" - | "UPLINK_COUNT_6" - | "UPLINK_COUNT_7" - | "UPLINK_COUNT_8" - | "UPLINK_COUNT_12" - | "UPLINK_COUNT_16"; -export type UplinkGbps = - | "UPLINK_1G" - | "UPLINK_10G" - | "UPLINK_40G" - | "UPLINK_100G"; +export type UplinkCount = "UPLINK_COUNT_1" | "UPLINK_COUNT_2" | "UPLINK_COUNT_3" | "UPLINK_COUNT_4" | "UPLINK_COUNT_5" | "UPLINK_COUNT_6" | "UPLINK_COUNT_7" | "UPLINK_COUNT_8" | "UPLINK_COUNT_12" | "UPLINK_COUNT_16"; +export type UplinkGbps = "UPLINK_1G" | "UPLINK_10G" | "UPLINK_40G" | "UPLINK_100G"; export type ValidateOnly = boolean; export declare class ValidationException extends EffectData.TaggedError( @@ -1636,11 +1375,5 @@ export declare namespace UpdateSiteRackPhysicalProperties { | CommonAwsError; } -export type OutpostsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | NotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type OutpostsErrors = AccessDeniedException | ConflictException | InternalServerException | NotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/panorama/index.ts b/src/services/panorama/index.ts index fce0853c..bdd4beb4 100644 --- a/src/services/panorama/index.ts +++ b/src/services/panorama/index.ts @@ -5,24 +5,7 @@ import type { Panorama as _PanoramaClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,49 +14,40 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "panorama", operations: { - CreateApplicationInstance: "POST /application-instances", - CreateJobForDevices: "POST /jobs", - CreateNodeFromTemplateJob: "POST /packages/template-job", - CreatePackage: "POST /packages", - CreatePackageImportJob: "POST /packages/import-jobs", - DeleteDevice: "DELETE /devices/{DeviceId}", - DeletePackage: "DELETE /packages/{PackageId}", - DeregisterPackageVersion: - "DELETE /packages/{PackageId}/versions/{PackageVersion}/patch/{PatchVersion}", - DescribeApplicationInstance: - "GET /application-instances/{ApplicationInstanceId}", - DescribeApplicationInstanceDetails: - "GET /application-instances/{ApplicationInstanceId}/details", - DescribeDevice: "GET /devices/{DeviceId}", - DescribeDeviceJob: "GET /jobs/{JobId}", - DescribeNode: "GET /nodes/{NodeId}", - DescribeNodeFromTemplateJob: "GET /packages/template-job/{JobId}", - DescribePackage: "GET /packages/metadata/{PackageId}", - DescribePackageImportJob: "GET /packages/import-jobs/{JobId}", - DescribePackageVersion: - "GET /packages/metadata/{PackageId}/versions/{PackageVersion}", - ListApplicationInstanceDependencies: - "GET /application-instances/{ApplicationInstanceId}/package-dependencies", - ListApplicationInstanceNodeInstances: - "GET /application-instances/{ApplicationInstanceId}/node-instances", - ListApplicationInstances: "GET /application-instances", - ListDevices: "GET /devices", - ListDevicesJobs: "GET /jobs", - ListNodeFromTemplateJobs: "GET /packages/template-job", - ListNodes: "GET /nodes", - ListPackageImportJobs: "GET /packages/import-jobs", - ListPackages: "GET /packages", - ListTagsForResource: "GET /tags/{ResourceArn}", - ProvisionDevice: "POST /devices", - RegisterPackageVersion: - "PUT /packages/{PackageId}/versions/{PackageVersion}/patch/{PatchVersion}", - RemoveApplicationInstance: - "DELETE /application-instances/{ApplicationInstanceId}", - SignalApplicationInstanceNodeInstances: - "PUT /application-instances/{ApplicationInstanceId}/node-signals", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateDeviceMetadata: "PUT /devices/{DeviceId}", + "CreateApplicationInstance": "POST /application-instances", + "CreateJobForDevices": "POST /jobs", + "CreateNodeFromTemplateJob": "POST /packages/template-job", + "CreatePackage": "POST /packages", + "CreatePackageImportJob": "POST /packages/import-jobs", + "DeleteDevice": "DELETE /devices/{DeviceId}", + "DeletePackage": "DELETE /packages/{PackageId}", + "DeregisterPackageVersion": "DELETE /packages/{PackageId}/versions/{PackageVersion}/patch/{PatchVersion}", + "DescribeApplicationInstance": "GET /application-instances/{ApplicationInstanceId}", + "DescribeApplicationInstanceDetails": "GET /application-instances/{ApplicationInstanceId}/details", + "DescribeDevice": "GET /devices/{DeviceId}", + "DescribeDeviceJob": "GET /jobs/{JobId}", + "DescribeNode": "GET /nodes/{NodeId}", + "DescribeNodeFromTemplateJob": "GET /packages/template-job/{JobId}", + "DescribePackage": "GET /packages/metadata/{PackageId}", + "DescribePackageImportJob": "GET /packages/import-jobs/{JobId}", + "DescribePackageVersion": "GET /packages/metadata/{PackageId}/versions/{PackageVersion}", + "ListApplicationInstanceDependencies": "GET /application-instances/{ApplicationInstanceId}/package-dependencies", + "ListApplicationInstanceNodeInstances": "GET /application-instances/{ApplicationInstanceId}/node-instances", + "ListApplicationInstances": "GET /application-instances", + "ListDevices": "GET /devices", + "ListDevicesJobs": "GET /jobs", + "ListNodeFromTemplateJobs": "GET /packages/template-job", + "ListNodes": "GET /nodes", + "ListPackageImportJobs": "GET /packages/import-jobs", + "ListPackages": "GET /packages", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "ProvisionDevice": "POST /devices", + "RegisterPackageVersion": "PUT /packages/{PackageId}/versions/{PackageVersion}/patch/{PatchVersion}", + "RemoveApplicationInstance": "DELETE /application-instances/{ApplicationInstanceId}", + "SignalApplicationInstanceNodeInstances": "PUT /application-instances/{ApplicationInstanceId}/node-signals", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateDeviceMetadata": "PUT /devices/{DeviceId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/panorama/types.ts b/src/services/panorama/types.ts index 6255be79..d777bf21 100644 --- a/src/services/panorama/types.ts +++ b/src/services/panorama/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Panorama extends AWSServiceClient { @@ -41,181 +8,103 @@ export declare class Panorama extends AWSServiceClient { input: CreateApplicationInstanceRequest, ): Effect.Effect< CreateApplicationInstanceResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createJobForDevices( input: CreateJobForDevicesRequest, ): Effect.Effect< CreateJobForDevicesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createNodeFromTemplateJob( input: CreateNodeFromTemplateJobRequest, ): Effect.Effect< CreateNodeFromTemplateJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; createPackage( input: CreatePackageRequest, ): Effect.Effect< CreatePackageResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; createPackageImportJob( input: CreatePackageImportJobRequest, ): Effect.Effect< CreatePackageImportJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; deleteDevice( input: DeleteDeviceRequest, ): Effect.Effect< DeleteDeviceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deletePackage( input: DeletePackageRequest, ): Effect.Effect< DeletePackageResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deregisterPackageVersion( input: DeregisterPackageVersionRequest, ): Effect.Effect< DeregisterPackageVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeApplicationInstance( input: DescribeApplicationInstanceRequest, ): Effect.Effect< DescribeApplicationInstanceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeApplicationInstanceDetails( input: DescribeApplicationInstanceDetailsRequest, ): Effect.Effect< DescribeApplicationInstanceDetailsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeDevice( input: DescribeDeviceRequest, ): Effect.Effect< DescribeDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeDeviceJob( input: DescribeDeviceJobRequest, ): Effect.Effect< DescribeDeviceJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeNode( input: DescribeNodeRequest, ): Effect.Effect< DescribeNodeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeNodeFromTemplateJob( input: DescribeNodeFromTemplateJobRequest, ): Effect.Effect< DescribeNodeFromTemplateJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; describePackage( input: DescribePackageRequest, ): Effect.Effect< DescribePackageResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describePackageImportJob( input: DescribePackageImportJobRequest, ): Effect.Effect< DescribePackageImportJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; describePackageVersion( input: DescribePackageVersionRequest, ): Effect.Effect< DescribePackageVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listApplicationInstanceDependencies( input: ListApplicationInstanceDependenciesRequest, @@ -239,142 +128,85 @@ export declare class Panorama extends AWSServiceClient { input: ListDevicesRequest, ): Effect.Effect< ListDevicesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; listDevicesJobs( input: ListDevicesJobsRequest, ): Effect.Effect< ListDevicesJobsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listNodeFromTemplateJobs( input: ListNodeFromTemplateJobsRequest, ): Effect.Effect< ListNodeFromTemplateJobsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; listNodes( input: ListNodesRequest, ): Effect.Effect< ListNodesResponse, - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ValidationException | CommonAwsError >; listPackageImportJobs( input: ListPackageImportJobsRequest, ): Effect.Effect< ListPackageImportJobsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; listPackages( input: ListPackagesRequest, ): Effect.Effect< ListPackagesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; provisionDevice( input: ProvisionDeviceRequest, ): Effect.Effect< ProvisionDeviceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; registerPackageVersion( input: RegisterPackageVersionRequest, ): Effect.Effect< RegisterPackageVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; removeApplicationInstance( input: RemoveApplicationInstanceRequest, ): Effect.Effect< RemoveApplicationInstanceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; signalApplicationInstanceNodeInstances( input: SignalApplicationInstanceNodeInstancesRequest, ): Effect.Effect< SignalApplicationInstanceNodeInstancesResponse, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateDeviceMetadata( input: UpdateDeviceMetadataRequest, ): Effect.Effect< UpdateDeviceMetadataResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -437,8 +269,7 @@ export interface ConflictExceptionErrorArgument { Name: string; Value: string; } -export type ConflictExceptionErrorArgumentList = - Array; +export type ConflictExceptionErrorArgumentList = Array; export type ConnectionType = string; export interface CreateApplicationInstanceRequest { @@ -511,7 +342,8 @@ export interface DeletePackageRequest { PackageId: string; ForceDelete?: boolean; } -export interface DeletePackageResponse {} +export interface DeletePackageResponse { +} export interface DeregisterPackageVersionRequest { OwnerAccount?: string; PackageId: string; @@ -519,7 +351,8 @@ export interface DeregisterPackageVersionRequest { PatchVersion: string; UpdatedLatestPatchVersion?: string; } -export interface DeregisterPackageVersionResponse {} +export interface DeregisterPackageVersionResponse { +} export interface DescribeApplicationInstanceDetailsRequest { ApplicationInstanceId: string; } @@ -884,16 +717,14 @@ interface _ManifestOverridesPayload { PayloadData?: string; } -export type ManifestOverridesPayload = _ManifestOverridesPayload & { - PayloadData: string; -}; +export type ManifestOverridesPayload = (_ManifestOverridesPayload & { PayloadData: string }); export type ManifestOverridesPayloadData = string; interface _ManifestPayload { PayloadData?: string; } -export type ManifestPayload = _ManifestPayload & { PayloadData: string }; +export type ManifestPayload = (_ManifestPayload & { PayloadData: string }); export type ManifestPayloadData = string; export type MarkLatestPatch = boolean; @@ -1113,11 +944,13 @@ export interface RegisterPackageVersionRequest { PatchVersion: string; MarkLatest?: boolean; } -export interface RegisterPackageVersionResponse {} +export interface RegisterPackageVersionResponse { +} export interface RemoveApplicationInstanceRequest { ApplicationInstanceId: string; } -export interface RemoveApplicationInstanceResponse {} +export interface RemoveApplicationInstanceResponse { +} export interface ReportedRuntimeContextState { DesiredState: string; RuntimeContextName: string; @@ -1188,7 +1021,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TemplateKey = string; @@ -1206,7 +1040,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UpdateCreatedTime = Date | string; export interface UpdateDeviceMetadataRequest { @@ -1231,8 +1066,7 @@ export interface ValidationExceptionErrorArgument { Name: string; Value: string; } -export type ValidationExceptionErrorArgumentList = - Array; +export type ValidationExceptionErrorArgumentList = Array; export interface ValidationExceptionField { Name: string; Message: string; @@ -1621,11 +1455,5 @@ export declare namespace UpdateDeviceMetadata { | CommonAwsError; } -export type PanoramaErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type PanoramaErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/partnercentral-selling/index.ts b/src/services/partnercentral-selling/index.ts index 84d00eca..98c16b1c 100644 --- a/src/services/partnercentral-selling/index.ts +++ b/src/services/partnercentral-selling/index.ts @@ -5,23 +5,7 @@ import type { PartnerCentralSelling as _PartnerCentralSellingClient } from "./ty export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/partnercentral-selling/types.ts b/src/services/partnercentral-selling/types.ts index 88f0311d..62d5fb94 100644 --- a/src/services/partnercentral-selling/types.ts +++ b/src/services/partnercentral-selling/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class PartnerCentralSelling extends AWSServiceClient { @@ -40,418 +8,229 @@ export declare class PartnerCentralSelling extends AWSServiceClient { input: GetSellingSystemSettingsRequest, ): Effect.Effect< GetSellingSystemSettingsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putSellingSystemSettings( input: PutSellingSystemSettingsRequest, ): Effect.Effect< PutSellingSystemSettingsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; acceptEngagementInvitation( input: AcceptEngagementInvitationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; assignOpportunity( input: AssignOpportunityRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateOpportunity( input: AssociateOpportunityRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createEngagement( input: CreateEngagementRequest, ): Effect.Effect< CreateEngagementResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEngagementInvitation( input: CreateEngagementInvitationRequest, ): Effect.Effect< CreateEngagementInvitationResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createOpportunity( input: CreateOpportunityRequest, ): Effect.Effect< CreateOpportunityResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createResourceSnapshot( input: CreateResourceSnapshotRequest, ): Effect.Effect< CreateResourceSnapshotResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createResourceSnapshotJob( input: CreateResourceSnapshotJobRequest, ): Effect.Effect< CreateResourceSnapshotJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourceSnapshotJob( input: DeleteResourceSnapshotJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateOpportunity( input: DisassociateOpportunityRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAwsOpportunitySummary( input: GetAwsOpportunitySummaryRequest, ): Effect.Effect< GetAwsOpportunitySummaryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEngagement( input: GetEngagementRequest, ): Effect.Effect< GetEngagementResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEngagementInvitation( input: GetEngagementInvitationRequest, ): Effect.Effect< GetEngagementInvitationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOpportunity( input: GetOpportunityRequest, ): Effect.Effect< GetOpportunityResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourceSnapshot( input: GetResourceSnapshotRequest, ): Effect.Effect< GetResourceSnapshotResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourceSnapshotJob( input: GetResourceSnapshotJobRequest, ): Effect.Effect< GetResourceSnapshotJobResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEngagementByAcceptingInvitationTasks( input: ListEngagementByAcceptingInvitationTasksRequest, ): Effect.Effect< ListEngagementByAcceptingInvitationTasksResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEngagementFromOpportunityTasks( input: ListEngagementFromOpportunityTasksRequest, ): Effect.Effect< ListEngagementFromOpportunityTasksResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEngagementInvitations( input: ListEngagementInvitationsRequest, ): Effect.Effect< ListEngagementInvitationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEngagementMembers( input: ListEngagementMembersRequest, ): Effect.Effect< ListEngagementMembersResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEngagementResourceAssociations( input: ListEngagementResourceAssociationsRequest, ): Effect.Effect< ListEngagementResourceAssociationsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEngagements( input: ListEngagementsRequest, ): Effect.Effect< ListEngagementsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listOpportunities( input: ListOpportunitiesRequest, ): Effect.Effect< ListOpportunitiesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listResourceSnapshotJobs( input: ListResourceSnapshotJobsRequest, ): Effect.Effect< ListResourceSnapshotJobsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listResourceSnapshots( input: ListResourceSnapshotsRequest, ): Effect.Effect< ListResourceSnapshotsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSolutions( input: ListSolutionsRequest, ): Effect.Effect< ListSolutionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; rejectEngagementInvitation( input: RejectEngagementInvitationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startEngagementByAcceptingInvitationTask( input: StartEngagementByAcceptingInvitationTaskRequest, ): Effect.Effect< StartEngagementByAcceptingInvitationTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startEngagementFromOpportunityTask( input: StartEngagementFromOpportunityTaskRequest, ): Effect.Effect< StartEngagementFromOpportunityTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startResourceSnapshotJob( input: StartResourceSnapshotJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopResourceSnapshotJob( input: StopResourceSnapshotJobRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; submitOpportunity( input: SubmitOpportunityRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateOpportunity( input: UpdateOpportunityRequest, ): Effect.Effect< UpdateOpportunityResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -527,66 +306,12 @@ export type AwsAccount = string; export type AwsAccountIdOrAliasList = Array; export type AwsAccountList = Array; -export type AwsClosedLostReason = - | "Administrative" - | "Business Associate Agreement" - | "Company Acquired/Dissolved" - | "Competitive Offering" - | "Customer Data Requirement" - | "Customer Deficiency" - | "Customer Experience" - | "Delay / Cancellation of Project" - | "Duplicate" - | "Duplicate Opportunity" - | "Executive Blocker" - | "Failed Vetting" - | "Feature Limitation" - | "Financial/Commercial" - | "Insufficient Amazon Value" - | "Insufficient AWS Value" - | "International Constraints" - | "Legal / Tax / Regulatory" - | "Legal Terms and Conditions" - | "Lost to Competitor" - | "Lost to Competitor - Google" - | "Lost to Competitor - Microsoft" - | "Lost to Competitor - Other" - | "Lost to Competitor - Rackspace" - | "Lost to Competitor - SoftLayer" - | "Lost to Competitor - VMWare" - | "No Customer Reference" - | "No Integration Resources" - | "No Opportunity" - | "No Perceived Value of MP" - | "No Response" - | "Not Committed to AWS" - | "No Update" - | "On Premises Deployment" - | "Other" - | "Other (Details in Description)" - | "Partner Gap" - | "Past Due" - | "People/Relationship/Governance" - | "Platform Technology Limitation" - | "Preference for Competitor" - | "Price" - | "Product/Technology" - | "Product Not on AWS" - | "Security / Compliance" - | "Self-Service" - | "Technical Limitations" - | "Term Sheet Impasse"; +export type AwsClosedLostReason = "Administrative" | "Business Associate Agreement" | "Company Acquired/Dissolved" | "Competitive Offering" | "Customer Data Requirement" | "Customer Deficiency" | "Customer Experience" | "Delay / Cancellation of Project" | "Duplicate" | "Duplicate Opportunity" | "Executive Blocker" | "Failed Vetting" | "Feature Limitation" | "Financial/Commercial" | "Insufficient Amazon Value" | "Insufficient AWS Value" | "International Constraints" | "Legal / Tax / Regulatory" | "Legal Terms and Conditions" | "Lost to Competitor" | "Lost to Competitor - Google" | "Lost to Competitor - Microsoft" | "Lost to Competitor - Other" | "Lost to Competitor - Rackspace" | "Lost to Competitor - SoftLayer" | "Lost to Competitor - VMWare" | "No Customer Reference" | "No Integration Resources" | "No Opportunity" | "No Perceived Value of MP" | "No Response" | "Not Committed to AWS" | "No Update" | "On Premises Deployment" | "Other" | "Other (Details in Description)" | "Partner Gap" | "Past Due" | "People/Relationship/Governance" | "Platform Technology Limitation" | "Preference for Competitor" | "Price" | "Product/Technology" | "Product Not on AWS" | "Security / Compliance" | "Self-Service" | "Technical Limitations" | "Term Sheet Impasse"; export type AwsFundingUsed = "Yes" | "No"; export type AwsMarketplaceOfferIdentifier = string; export type AwsMarketplaceOfferIdentifiers = Array; -export type AwsMemberBusinessTitle = - | "AWSSalesRep" - | "AWSAccountOwner" - | "WWPSPDM" - | "PDM" - | "PSM" - | "ISVSM"; +export type AwsMemberBusinessTitle = "AWSSalesRep" | "AWSAccountOwner" | "WWPSPDM" | "PDM" | "PSM" | "ISVSM"; export interface AwsOpportunityCustomer { Contacts?: Array; } @@ -608,31 +333,7 @@ export interface AwsOpportunityRelatedEntities { AwsProducts?: Array; Solutions?: Array; } -export type AwsOpportunityStage = - | "Not Started" - | "In Progress" - | "Prospect" - | "Engaged" - | "Identified" - | "Qualify" - | "Research" - | "Seller Engaged" - | "Evaluating" - | "Seller Registered" - | "Term Sheet Negotiation" - | "Contract Negotiation" - | "Onboarding" - | "Building Integration" - | "Qualified" - | "On-hold" - | "Technical Validation" - | "Business Validation" - | "Committed" - | "Launched" - | "Deferred to Partner" - | "Closed Lost" - | "Completed" - | "Closed Incomplete"; +export type AwsOpportunityStage = "Not Started" | "In Progress" | "Prospect" | "Engaged" | "Identified" | "Qualify" | "Research" | "Seller Engaged" | "Evaluating" | "Seller Registered" | "Term Sheet Negotiation" | "Contract Negotiation" | "Onboarding" | "Building Integration" | "Qualified" | "On-hold" | "Technical Validation" | "Business Validation" | "Committed" | "Launched" | "Deferred to Partner" | "Closed Lost" | "Completed" | "Closed Incomplete"; export type AwsOpportunityTeamMembersList = Array; export type AwsProductIdentifier = string; @@ -649,59 +350,16 @@ export interface AwsTeamMember { } export type CatalogIdentifier = string; -export type Channel = - | "AWS Marketing Central" - | "Content Syndication" - | "Display" - | "Email" - | "Live Event" - | "Out Of Home (OOH)" - | "Print" - | "Search" - | "Social" - | "Telemarketing" - | "TV" - | "Video" - | "Virtual Event"; +export type Channel = "AWS Marketing Central" | "Content Syndication" | "Display" | "Email" | "Live Event" | "Out Of Home (OOH)" | "Print" | "Search" | "Social" | "Telemarketing" | "TV" | "Video" | "Virtual Event"; export type Channels = Array; export type ClientToken = string; -export type ClosedLostReason = - | "Customer Deficiency" - | "Delay / Cancellation of Project" - | "Legal / Tax / Regulatory" - | "Lost to Competitor - Google" - | "Lost to Competitor - Microsoft" - | "Lost to Competitor - SoftLayer" - | "Lost to Competitor - VMWare" - | "Lost to Competitor - Other" - | "No Opportunity" - | "On Premises Deployment" - | "Partner Gap" - | "Price" - | "Security / Compliance" - | "Technical Limitations" - | "Customer Experience" - | "Other" - | "People/Relationship/Governance" - | "Product/Technology" - | "Financial/Commercial"; +export type ClosedLostReason = "Customer Deficiency" | "Delay / Cancellation of Project" | "Legal / Tax / Regulatory" | "Lost to Competitor - Google" | "Lost to Competitor - Microsoft" | "Lost to Competitor - SoftLayer" | "Lost to Competitor - VMWare" | "Lost to Competitor - Other" | "No Opportunity" | "On Premises Deployment" | "Partner Gap" | "Price" | "Security / Compliance" | "Technical Limitations" | "Customer Experience" | "Other" | "People/Relationship/Governance" | "Product/Technology" | "Financial/Commercial"; export type CompanyName = string; export type CompanyWebsiteUrl = string; -export type CompetitorName = - | "Oracle Cloud" - | "On-Prem" - | "Co-location" - | "Akamai" - | "AliCloud" - | "Google Cloud Platform" - | "IBM Softlayer" - | "Microsoft Azure" - | "Other- Cost Optimization" - | "No Competition" - | "*Other"; +export type CompetitorName = "Oracle Cloud" | "On-Prem" | "Co-location" | "Akamai" | "AliCloud" | "Google Cloud Platform" | "IBM Softlayer" | "Microsoft Azure" | "Other- Cost Optimization" | "No Competition" | "*Other"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -714,256 +372,7 @@ export interface Contact { BusinessTitle?: string; Phone?: string; } -export type CountryCode = - | "US" - | "AF" - | "AX" - | "AL" - | "DZ" - | "AS" - | "AD" - | "AO" - | "AI" - | "AQ" - | "AG" - | "AR" - | "AM" - | "AW" - | "AU" - | "AT" - | "AZ" - | "BS" - | "BH" - | "BD" - | "BB" - | "BY" - | "BE" - | "BZ" - | "BJ" - | "BM" - | "BT" - | "BO" - | "BQ" - | "BA" - | "BW" - | "BV" - | "BR" - | "IO" - | "BN" - | "BG" - | "BF" - | "BI" - | "KH" - | "CM" - | "CA" - | "CV" - | "KY" - | "CF" - | "TD" - | "CL" - | "CN" - | "CX" - | "CC" - | "CO" - | "KM" - | "CG" - | "CK" - | "CR" - | "CI" - | "HR" - | "CU" - | "CW" - | "CY" - | "CZ" - | "CD" - | "DK" - | "DJ" - | "DM" - | "DO" - | "EC" - | "EG" - | "SV" - | "GQ" - | "ER" - | "EE" - | "ET" - | "FK" - | "FO" - | "FJ" - | "FI" - | "FR" - | "GF" - | "PF" - | "TF" - | "GA" - | "GM" - | "GE" - | "DE" - | "GH" - | "GI" - | "GR" - | "GL" - | "GD" - | "GP" - | "GU" - | "GT" - | "GG" - | "GN" - | "GW" - | "GY" - | "HT" - | "HM" - | "VA" - | "HN" - | "HK" - | "HU" - | "IS" - | "IN" - | "ID" - | "IR" - | "IQ" - | "IE" - | "IM" - | "IL" - | "IT" - | "JM" - | "JP" - | "JE" - | "JO" - | "KZ" - | "KE" - | "KI" - | "KR" - | "KW" - | "KG" - | "LA" - | "LV" - | "LB" - | "LS" - | "LR" - | "LY" - | "LI" - | "LT" - | "LU" - | "MO" - | "MK" - | "MG" - | "MW" - | "MY" - | "MV" - | "ML" - | "MT" - | "MH" - | "MQ" - | "MR" - | "MU" - | "YT" - | "MX" - | "FM" - | "MD" - | "MC" - | "MN" - | "ME" - | "MS" - | "MA" - | "MZ" - | "MM" - | "NA" - | "NR" - | "NP" - | "NL" - | "AN" - | "NC" - | "NZ" - | "NI" - | "NE" - | "NG" - | "NU" - | "NF" - | "MP" - | "NO" - | "OM" - | "PK" - | "PW" - | "PS" - | "PA" - | "PG" - | "PY" - | "PE" - | "PH" - | "PN" - | "PL" - | "PT" - | "PR" - | "QA" - | "RE" - | "RO" - | "RU" - | "RW" - | "BL" - | "SH" - | "KN" - | "LC" - | "MF" - | "PM" - | "VC" - | "WS" - | "SM" - | "ST" - | "SA" - | "SN" - | "RS" - | "SC" - | "SL" - | "SG" - | "SX" - | "SK" - | "SI" - | "SB" - | "SO" - | "ZA" - | "GS" - | "SS" - | "ES" - | "LK" - | "SD" - | "SR" - | "SJ" - | "SZ" - | "SE" - | "CH" - | "SY" - | "TW" - | "TJ" - | "TZ" - | "TH" - | "TL" - | "TG" - | "TK" - | "TO" - | "TT" - | "TN" - | "TR" - | "TM" - | "TC" - | "TV" - | "UG" - | "UA" - | "AE" - | "GB" - | "UM" - | "UY" - | "UZ" - | "VU" - | "VE" - | "VN" - | "VG" - | "VI" - | "WF" - | "EH" - | "YE" - | "ZM" - | "ZW"; +export type CountryCode = "US" | "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "AN" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"; export interface CreateEngagementInvitationRequest { Catalog: string; ClientToken: string; @@ -1031,175 +440,7 @@ export interface CreateResourceSnapshotResponse { Arn?: string; Revision?: number; } -export type CurrencyCode = - | "USD" - | "EUR" - | "GBP" - | "AUD" - | "CAD" - | "CNY" - | "NZD" - | "INR" - | "JPY" - | "CHF" - | "SEK" - | "AED" - | "AFN" - | "ALL" - | "AMD" - | "ANG" - | "AOA" - | "ARS" - | "AWG" - | "AZN" - | "BAM" - | "BBD" - | "BDT" - | "BGN" - | "BHD" - | "BIF" - | "BMD" - | "BND" - | "BOB" - | "BOV" - | "BRL" - | "BSD" - | "BTN" - | "BWP" - | "BYN" - | "BZD" - | "CDF" - | "CHE" - | "CHW" - | "CLF" - | "CLP" - | "COP" - | "COU" - | "CRC" - | "CUC" - | "CUP" - | "CVE" - | "CZK" - | "DJF" - | "DKK" - | "DOP" - | "DZD" - | "EGP" - | "ERN" - | "ETB" - | "FJD" - | "FKP" - | "GEL" - | "GHS" - | "GIP" - | "GMD" - | "GNF" - | "GTQ" - | "GYD" - | "HKD" - | "HNL" - | "HRK" - | "HTG" - | "HUF" - | "IDR" - | "ILS" - | "IQD" - | "IRR" - | "ISK" - | "JMD" - | "JOD" - | "KES" - | "KGS" - | "KHR" - | "KMF" - | "KPW" - | "KRW" - | "KWD" - | "KYD" - | "KZT" - | "LAK" - | "LBP" - | "LKR" - | "LRD" - | "LSL" - | "LYD" - | "MAD" - | "MDL" - | "MGA" - | "MKD" - | "MMK" - | "MNT" - | "MOP" - | "MRU" - | "MUR" - | "MVR" - | "MWK" - | "MXN" - | "MXV" - | "MYR" - | "MZN" - | "NAD" - | "NGN" - | "NIO" - | "NOK" - | "NPR" - | "OMR" - | "PAB" - | "PEN" - | "PGK" - | "PHP" - | "PKR" - | "PLN" - | "PYG" - | "QAR" - | "RON" - | "RSD" - | "RUB" - | "RWF" - | "SAR" - | "SBD" - | "SCR" - | "SDG" - | "SGD" - | "SHP" - | "SLL" - | "SOS" - | "SRD" - | "SSP" - | "STN" - | "SVC" - | "SYP" - | "SZL" - | "THB" - | "TJS" - | "TMT" - | "TND" - | "TOP" - | "TRY" - | "TTD" - | "TWD" - | "TZS" - | "UAH" - | "UGX" - | "USN" - | "UYI" - | "UYU" - | "UZS" - | "VEF" - | "VND" - | "VUV" - | "WST" - | "XAF" - | "XCD" - | "XDR" - | "XOF" - | "XPF" - | "XSU" - | "XUA" - | "YER" - | "ZAR" - | "ZMW" - | "ZWL"; +export type CurrencyCode = "USD" | "EUR" | "GBP" | "AUD" | "CAD" | "CNY" | "NZD" | "INR" | "JPY" | "CHF" | "SEK" | "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CDF" | "CHE" | "CHW" | "CLF" | "CLP" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "FJD" | "FKP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USN" | "UYI" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "XSU" | "XUA" | "YER" | "ZAR" | "ZMW" | "ZWL"; export interface Customer { Account?: Account; Contacts?: Array; @@ -1220,13 +461,7 @@ export interface DeleteResourceSnapshotJobRequest { Catalog: string; ResourceSnapshotJobIdentifier: string; } -export type DeliveryModel = - | "SaaS or PaaS" - | "BYOL or AMI" - | "Managed Services" - | "Professional Services" - | "Resell" - | "Other"; +export type DeliveryModel = "SaaS or PaaS" | "BYOL or AMI" | "Managed Services" | "Professional Services" | "Resell" | "Other"; export type DeliveryModels = Array; export interface DisassociateOpportunityRequest { Catalog: string; @@ -1250,9 +485,7 @@ interface _EngagementContextPayload { CustomerProject?: CustomerProjectsContext; } -export type EngagementContextPayload = _EngagementContextPayload & { - CustomerProject: CustomerProjectsContext; -}; +export type EngagementContextPayload = (_EngagementContextPayload & { CustomerProject: CustomerProjectsContext }); export type EngagementContexts = Array; export type EngagementContextType = "CustomerProject"; export interface EngagementCustomer { @@ -1283,8 +516,7 @@ export type EngagementInvitationIdentifier = string; export type EngagementInvitationIdentifiers = Array; export type EngagementInvitationPayloadType = "OpportunityInvitation"; -export type EngagementInvitationsPayloadType = - Array; +export type EngagementInvitationsPayloadType = Array; export type EngagementInvitationSummaries = Array; export interface EngagementInvitationSummary { Arn?: string; @@ -1321,8 +553,7 @@ export interface EngagementResourceAssociationSummary { ResourceId?: string; CreatedBy?: string; } -export type EngagementResourceAssociationSummaryList = - Array; +export type EngagementResourceAssociationSummaryList = Array; export type EngagementScore = "High" | "Medium" | "Low"; export interface EngagementSort { SortOrder: SortOrder; @@ -1474,35 +705,7 @@ export interface GetSellingSystemSettingsResponse { Catalog: string; ResourceSnapshotJobRoleArn?: string; } -export type Industry = - | "Aerospace" - | "Agriculture" - | "Automotive" - | "Computers and Electronics" - | "Consumer Goods" - | "Education" - | "Energy - Oil and Gas" - | "Energy - Power and Utilities" - | "Financial Services" - | "Gaming" - | "Government" - | "Healthcare" - | "Hospitality" - | "Life Sciences" - | "Manufacturing" - | "Marketing and Advertising" - | "Media and Entertainment" - | "Mining" - | "Non-Profit Organization" - | "Professional Services" - | "Real Estate and Construction" - | "Retail" - | "Software and Internet" - | "Telecommunications" - | "Transportation and Logistics" - | "Travel" - | "Wholesale and Distribution" - | "Other"; +export type Industry = "Aerospace" | "Agriculture" | "Automotive" | "Computers and Electronics" | "Consumer Goods" | "Education" | "Energy - Oil and Gas" | "Energy - Power and Utilities" | "Financial Services" | "Gaming" | "Government" | "Healthcare" | "Hospitality" | "Life Sciences" | "Manufacturing" | "Marketing and Advertising" | "Media and Entertainment" | "Mining" | "Non-Profit Organization" | "Professional Services" | "Real Estate and Construction" | "Retail" | "Software and Internet" | "Telecommunications" | "Transportation and Logistics" | "Travel" | "Wholesale and Distribution" | "Other"; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", )<{ @@ -1517,12 +720,7 @@ export type InvitationMessage = string; export type InvitationStatus = "ACCEPTED" | "PENDING" | "REJECTED" | "EXPIRED"; export type InvitationStatusList = Array; -export type InvolvementTypeChangeReason = - | "Expansion Opportunity" - | "Change in Deal Information" - | "Customer Requested" - | "Technical Complexity" - | "Risk Mitigation"; +export type InvolvementTypeChangeReason = "Expansion Opportunity" | "Change in Deal Information" | "Customer Requested" | "Technical Complexity" | "Risk Mitigation"; export type JobTitle = string; export interface LastModifiedDate { @@ -1568,8 +766,7 @@ export interface ListEngagementByAcceptingInvitationTasksResponse { TaskSummaries?: Array; NextToken?: string; } -export type ListEngagementByAcceptingInvitationTaskSummaries = - Array; +export type ListEngagementByAcceptingInvitationTaskSummaries = Array; export interface ListEngagementByAcceptingInvitationTaskSummary { TaskId?: string; TaskArn?: string; @@ -1595,8 +792,7 @@ export interface ListEngagementFromOpportunityTasksResponse { TaskSummaries?: Array; NextToken?: string; } -export type ListEngagementFromOpportunityTaskSummaries = - Array; +export type ListEngagementFromOpportunityTaskSummaries = Array; export interface ListEngagementFromOpportunityTaskSummary { TaskId?: string; TaskArn?: string; @@ -1770,10 +966,7 @@ export interface OpportunitySort { SortOrder: SortOrder; SortBy: OpportunitySortName; } -export type OpportunitySortName = - | "LastModifiedDate" - | "Identifier" - | "CustomerCompanyName"; +export type OpportunitySortName = "LastModifiedDate" | "Identifier" | "CustomerCompanyName"; export type OpportunitySummaries = Array; export interface OpportunitySummary { Catalog: string; @@ -1805,23 +998,13 @@ interface _Payload { OpportunityInvitation?: OpportunityInvitationPayload; } -export type Payload = _Payload & { - OpportunityInvitation: OpportunityInvitationPayload; -}; +export type Payload = (_Payload & { OpportunityInvitation: OpportunityInvitationPayload }); export type PaymentFrequency = "Monthly"; export type PhoneNumber = string; export type PiiString = string; -export type PrimaryNeedFromAws = - | "Co-Sell - Architectural Validation" - | "Co-Sell - Business Presentation" - | "Co-Sell - Competitive Information" - | "Co-Sell - Pricing Assistance" - | "Co-Sell - Technical Consultation" - | "Co-Sell - Total Cost of Ownership Evaluation" - | "Co-Sell - Deal Support" - | "Co-Sell - Support for Public Tender / RFx"; +export type PrimaryNeedFromAws = "Co-Sell - Architectural Validation" | "Co-Sell - Business Presentation" | "Co-Sell - Competitive Information" | "Co-Sell - Pricing Assistance" | "Co-Sell - Technical Consultation" | "Co-Sell - Total Cost of Ownership Evaluation" | "Co-Sell - Deal Support" | "Co-Sell - Support for Public Tender / RFx"; export type PrimaryNeedsFromAws = Array; export type ProfileNextStepsHistories = Array; export interface ProfileNextStepsHistory { @@ -1867,41 +1050,13 @@ export interface PutSellingSystemSettingsResponse { Catalog: string; ResourceSnapshotJobRoleArn?: string; } -export type ReasonCode = - | "InvitationAccessDenied" - | "InvitationValidationFailed" - | "EngagementAccessDenied" - | "OpportunityAccessDenied" - | "ResourceSnapshotJobAccessDenied" - | "ResourceSnapshotJobValidationFailed" - | "ResourceSnapshotJobConflict" - | "EngagementValidationFailed" - | "EngagementConflict" - | "OpportunitySubmissionFailed" - | "EngagementInvitationConflict" - | "InternalError" - | "OpportunityValidationFailed" - | "OpportunityConflict" - | "ResourceSnapshotAccessDenied" - | "ResourceSnapshotValidationFailed" - | "ResourceSnapshotConflict" - | "ServiceQuotaExceeded" - | "RequestThrottled"; +export type ReasonCode = "InvitationAccessDenied" | "InvitationValidationFailed" | "EngagementAccessDenied" | "OpportunityAccessDenied" | "ResourceSnapshotJobAccessDenied" | "ResourceSnapshotJobValidationFailed" | "ResourceSnapshotJobConflict" | "EngagementValidationFailed" | "EngagementConflict" | "OpportunitySubmissionFailed" | "EngagementInvitationConflict" | "InternalError" | "OpportunityValidationFailed" | "OpportunityConflict" | "ResourceSnapshotAccessDenied" | "ResourceSnapshotValidationFailed" | "ResourceSnapshotConflict" | "ServiceQuotaExceeded" | "RequestThrottled"; interface _Receiver { Account?: AccountReceiver; } -export type Receiver = _Receiver & { Account: AccountReceiver }; -export type ReceiverResponsibility = - | "Distributor" - | "Reseller" - | "Hardware Partner" - | "Managed Service Provider" - | "Software Partner" - | "Services Partner" - | "Training Partner" - | "Co-Sell Facilitator" - | "Facilitator"; +export type Receiver = (_Receiver & { Account: AccountReceiver }); +export type ReceiverResponsibility = "Distributor" | "Reseller" | "Hardware Partner" | "Managed Service Provider" | "Software Partner" | "Services Partner" | "Training Partner" | "Co-Sell Facilitator" | "Facilitator"; export type ReceiverResponsibilityList = Array; export interface RejectEngagementInvitationRequest { Catalog: string; @@ -1915,10 +1070,7 @@ export interface RelatedEntityIdentifiers { Solutions?: Array; AwsProducts?: Array; } -export type RelatedEntityType = - | "Solutions" - | "AwsProducts" - | "AwsMarketplaceOffers"; +export type RelatedEntityType = "Solutions" | "AwsProducts" | "AwsMarketplaceOffers"; export type ResourceArn = string; export type ResourceIdentifier = string; @@ -1950,9 +1102,7 @@ interface _ResourceSnapshotPayload { OpportunitySummary?: OpportunitySummaryView; } -export type ResourceSnapshotPayload = _ResourceSnapshotPayload & { - OpportunitySummary: OpportunitySummaryView; -}; +export type ResourceSnapshotPayload = (_ResourceSnapshotPayload & { OpportunitySummary: OpportunitySummaryView }); export type ResourceSnapshotRevision = number; export interface ResourceSnapshotSummary { @@ -1968,23 +1118,9 @@ export type ResourceTemplateName = string; export type ResourceType = "Opportunity"; export type RevenueModel = "Contract" | "Pay-as-you-go" | "Subscription"; -export type ReviewStatus = - | "Pending Submission" - | "Submitted" - | "In review" - | "Approved" - | "Rejected" - | "Action Required"; +export type ReviewStatus = "Pending Submission" | "Submitted" | "In review" | "Approved" | "Rejected" | "Action Required"; export type SalesActivities = Array; -export type SalesActivity = - | "Initialized discussions with customer" - | "Customer has shown interest in solution" - | "Conducted POC / Demo" - | "In evaluation / planning stage" - | "Agreed on solution to Business Problem" - | "Completed Action Plan" - | "Finalized Deployment Need" - | "SOW Signed"; +export type SalesActivity = "Initialized discussions with customer" | "Customer has shown interest in solution" | "Conducted POC / Demo" | "In evaluation / planning stage" | "Agreed on solution to Business Problem" | "Completed Action Plan" | "Finalized Deployment Need" | "SOW Signed"; export type SalesInvolvementType = "For Visibility Only" | "Co-Sell"; export interface SenderContact { Email: string; @@ -2026,12 +1162,7 @@ export interface SolutionSort { SortOrder: SortOrder; SortBy: SolutionSortName; } -export type SolutionSortName = - | "Identifier" - | "Name" - | "Status" - | "Category" - | "CreatedDate"; +export type SolutionSortName = "Identifier" | "Name" | "Status" | "Category" | "CreatedDate"; export type SolutionStatus = "Active" | "Inactive" | "Draft"; export type SortBy = "CreatedDate"; export interface SortObject { @@ -2039,14 +1170,7 @@ export interface SortObject { SortOrder?: SortOrder; } export type SortOrder = "ASCENDING" | "DESCENDING"; -export type Stage = - | "Prospect" - | "Qualified" - | "Technical Validation" - | "Business Validation" - | "Committed" - | "Launched" - | "Closed Lost"; +export type Stage = "Prospect" | "Qualified" | "Technical Validation" | "Business Validation" | "Committed" | "Launched" | "Closed Lost"; export interface StartEngagementByAcceptingInvitationTaskRequest { Catalog: string; ClientToken: string; @@ -2112,7 +1236,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TaskArn = string; @@ -2133,7 +1258,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateOpportunityRequest { Catalog: string; PrimaryNeedsFromAws?: Array; @@ -2165,20 +1291,9 @@ export interface ValidationExceptionError { Message: string; Code: ValidationExceptionErrorCode; } -export type ValidationExceptionErrorCode = - | "REQUIRED_FIELD_MISSING" - | "INVALID_ENUM_VALUE" - | "INVALID_STRING_FORMAT" - | "INVALID_VALUE" - | "TOO_MANY_VALUES" - | "INVALID_RESOURCE_STATE" - | "DUPLICATE_KEY_VALUE" - | "VALUE_OUT_OF_RANGE" - | "ACTION_NOT_PERMITTED"; +export type ValidationExceptionErrorCode = "REQUIRED_FIELD_MISSING" | "INVALID_ENUM_VALUE" | "INVALID_STRING_FORMAT" | "INVALID_VALUE" | "TOO_MANY_VALUES" | "INVALID_RESOURCE_STATE" | "DUPLICATE_KEY_VALUE" | "VALUE_OUT_OF_RANGE" | "ACTION_NOT_PERMITTED"; export type ValidationExceptionErrorList = Array; -export type ValidationExceptionReason = - | "REQUEST_VALIDATION_FAILED" - | "BUSINESS_VALIDATION_FAILED"; +export type ValidationExceptionReason = "REQUEST_VALIDATION_FAILED" | "BUSINESS_VALIDATION_FAILED"; export type Visibility = "Full" | "Limited"; export type WebsiteUrl = string; @@ -2637,12 +1752,5 @@ export declare namespace UpdateOpportunity { | CommonAwsError; } -export type PartnerCentralSellingErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type PartnerCentralSellingErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/payment-cryptography-data/index.ts b/src/services/payment-cryptography-data/index.ts index efe2680c..5964af81 100644 --- a/src/services/payment-cryptography-data/index.ts +++ b/src/services/payment-cryptography-data/index.ts @@ -5,23 +5,7 @@ import type { PaymentCryptographyData as _PaymentCryptographyDataClient } from " export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,19 +15,19 @@ const metadata = { sigV4ServiceName: "payment-cryptography", endpointPrefix: "dataplane.payment-cryptography", operations: { - DecryptData: "POST /keys/{KeyIdentifier}/decrypt", - EncryptData: "POST /keys/{KeyIdentifier}/encrypt", - GenerateCardValidationData: "POST /cardvalidationdata/generate", - GenerateMac: "POST /mac/generate", - GenerateMacEmvPinChange: "POST /macemvpinchange/generate", - GeneratePinData: "POST /pindata/generate", - ReEncryptData: "POST /keys/{IncomingKeyIdentifier}/reencrypt", - TranslateKeyMaterial: "POST /keymaterial/translate", - TranslatePinData: "POST /pindata/translate", - VerifyAuthRequestCryptogram: "POST /cryptogram/verify", - VerifyCardValidationData: "POST /cardvalidationdata/verify", - VerifyMac: "POST /mac/verify", - VerifyPinData: "POST /pindata/verify", + "DecryptData": "POST /keys/{KeyIdentifier}/decrypt", + "EncryptData": "POST /keys/{KeyIdentifier}/encrypt", + "GenerateCardValidationData": "POST /cardvalidationdata/generate", + "GenerateMac": "POST /mac/generate", + "GenerateMacEmvPinChange": "POST /macemvpinchange/generate", + "GeneratePinData": "POST /pindata/generate", + "ReEncryptData": "POST /keys/{IncomingKeyIdentifier}/reencrypt", + "TranslateKeyMaterial": "POST /keymaterial/translate", + "TranslatePinData": "POST /pindata/translate", + "VerifyAuthRequestCryptogram": "POST /cryptogram/verify", + "VerifyCardValidationData": "POST /cardvalidationdata/verify", + "VerifyMac": "POST /mac/verify", + "VerifyPinData": "POST /pindata/verify", }, } as const satisfies ServiceMetadata; diff --git a/src/services/payment-cryptography-data/types.ts b/src/services/payment-cryptography-data/types.ts index 633f96d1..f389f090 100644 --- a/src/services/payment-cryptography-data/types.ts +++ b/src/services/payment-cryptography-data/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class PaymentCryptographyData extends AWSServiceClient { @@ -40,148 +8,79 @@ export declare class PaymentCryptographyData extends AWSServiceClient { input: DecryptDataInput, ): Effect.Effect< DecryptDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; encryptData( input: EncryptDataInput, ): Effect.Effect< EncryptDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; generateCardValidationData( input: GenerateCardValidationDataInput, ): Effect.Effect< GenerateCardValidationDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; generateMac( input: GenerateMacInput, ): Effect.Effect< GenerateMacOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; generateMacEmvPinChange( input: GenerateMacEmvPinChangeInput, ): Effect.Effect< GenerateMacEmvPinChangeOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; generatePinData( input: GeneratePinDataInput, ): Effect.Effect< GeneratePinDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; reEncryptData( input: ReEncryptDataInput, ): Effect.Effect< ReEncryptDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; translateKeyMaterial( input: TranslateKeyMaterialInput, ): Effect.Effect< TranslateKeyMaterialOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; translatePinData( input: TranslatePinDataInput, ): Effect.Effect< TranslatePinDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; verifyAuthRequestCryptogram( input: VerifyAuthRequestCryptogramInput, ): Effect.Effect< VerifyAuthRequestCryptogramOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | VerificationFailedException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | VerificationFailedException | CommonAwsError >; verifyCardValidationData( input: VerifyCardValidationDataInput, ): Effect.Effect< VerifyCardValidationDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | VerificationFailedException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | VerificationFailedException | CommonAwsError >; verifyMac( input: VerifyMacInput, ): Effect.Effect< VerifyMacOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | VerificationFailedException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | VerificationFailedException | CommonAwsError >; verifyPinData( input: VerifyPinDataInput, ): Effect.Effect< VerifyPinDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | VerificationFailedException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | VerificationFailedException | CommonAwsError >; } @@ -226,28 +125,7 @@ interface _CardGenerationAttributes { DynamicCardVerificationValue?: DynamicCardVerificationValue; } -export type CardGenerationAttributes = - | (_CardGenerationAttributes & { - AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1; - }) - | (_CardGenerationAttributes & { - AmexCardSecurityCodeVersion2: AmexCardSecurityCodeVersion2; - }) - | (_CardGenerationAttributes & { - CardVerificationValue1: CardVerificationValue1; - }) - | (_CardGenerationAttributes & { - CardVerificationValue2: CardVerificationValue2; - }) - | (_CardGenerationAttributes & { - CardHolderVerificationValue: CardHolderVerificationValue; - }) - | (_CardGenerationAttributes & { - DynamicCardVerificationCode: DynamicCardVerificationCode; - }) - | (_CardGenerationAttributes & { - DynamicCardVerificationValue: DynamicCardVerificationValue; - }); +export type CardGenerationAttributes = (_CardGenerationAttributes & { AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1 }) | (_CardGenerationAttributes & { AmexCardSecurityCodeVersion2: AmexCardSecurityCodeVersion2 }) | (_CardGenerationAttributes & { CardVerificationValue1: CardVerificationValue1 }) | (_CardGenerationAttributes & { CardVerificationValue2: CardVerificationValue2 }) | (_CardGenerationAttributes & { CardHolderVerificationValue: CardHolderVerificationValue }) | (_CardGenerationAttributes & { DynamicCardVerificationCode: DynamicCardVerificationCode }) | (_CardGenerationAttributes & { DynamicCardVerificationValue: DynamicCardVerificationValue }); export interface CardHolderVerificationValue { UnpredictableNumber: string; PanSequenceNumber: string; @@ -264,31 +142,7 @@ interface _CardVerificationAttributes { DiscoverDynamicCardVerificationCode?: DiscoverDynamicCardVerificationCode; } -export type CardVerificationAttributes = - | (_CardVerificationAttributes & { - AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1; - }) - | (_CardVerificationAttributes & { - AmexCardSecurityCodeVersion2: AmexCardSecurityCodeVersion2; - }) - | (_CardVerificationAttributes & { - CardVerificationValue1: CardVerificationValue1; - }) - | (_CardVerificationAttributes & { - CardVerificationValue2: CardVerificationValue2; - }) - | (_CardVerificationAttributes & { - CardHolderVerificationValue: CardHolderVerificationValue; - }) - | (_CardVerificationAttributes & { - DynamicCardVerificationCode: DynamicCardVerificationCode; - }) - | (_CardVerificationAttributes & { - DynamicCardVerificationValue: DynamicCardVerificationValue; - }) - | (_CardVerificationAttributes & { - DiscoverDynamicCardVerificationCode: DiscoverDynamicCardVerificationCode; - }); +export type CardVerificationAttributes = (_CardVerificationAttributes & { AmexCardSecurityCodeVersion1: AmexCardSecurityCodeVersion1 }) | (_CardVerificationAttributes & { AmexCardSecurityCodeVersion2: AmexCardSecurityCodeVersion2 }) | (_CardVerificationAttributes & { CardVerificationValue1: CardVerificationValue1 }) | (_CardVerificationAttributes & { CardVerificationValue2: CardVerificationValue2 }) | (_CardVerificationAttributes & { CardHolderVerificationValue: CardHolderVerificationValue }) | (_CardVerificationAttributes & { DynamicCardVerificationCode: DynamicCardVerificationCode }) | (_CardVerificationAttributes & { DynamicCardVerificationValue: DynamicCardVerificationValue }) | (_CardVerificationAttributes & { DiscoverDynamicCardVerificationCode: DiscoverDynamicCardVerificationCode }); export interface CardVerificationValue1 { CardExpiryDate: string; ServiceCode: string; @@ -307,13 +161,7 @@ interface _CryptogramAuthResponse { ArpcMethod2?: CryptogramVerificationArpcMethod2; } -export type CryptogramAuthResponse = - | (_CryptogramAuthResponse & { - ArpcMethod1: CryptogramVerificationArpcMethod1; - }) - | (_CryptogramAuthResponse & { - ArpcMethod2: CryptogramVerificationArpcMethod2; - }); +export type CryptogramAuthResponse = (_CryptogramAuthResponse & { ArpcMethod1: CryptogramVerificationArpcMethod1 }) | (_CryptogramAuthResponse & { ArpcMethod2: CryptogramVerificationArpcMethod2 }); export interface CryptogramVerificationArpcMethod1 { AuthResponseCode: string; } @@ -346,19 +194,12 @@ interface _DerivationMethodAttributes { Mastercard?: MasterCardAttributes; } -export type DerivationMethodAttributes = - | (_DerivationMethodAttributes & { EmvCommon: EmvCommonAttributes }) - | (_DerivationMethodAttributes & { Amex: AmexAttributes }) - | (_DerivationMethodAttributes & { Visa: VisaAttributes }) - | (_DerivationMethodAttributes & { Emv2000: Emv2000Attributes }) - | (_DerivationMethodAttributes & { Mastercard: MasterCardAttributes }); +export type DerivationMethodAttributes = (_DerivationMethodAttributes & { EmvCommon: EmvCommonAttributes }) | (_DerivationMethodAttributes & { Amex: AmexAttributes }) | (_DerivationMethodAttributes & { Visa: VisaAttributes }) | (_DerivationMethodAttributes & { Emv2000: Emv2000Attributes }) | (_DerivationMethodAttributes & { Mastercard: MasterCardAttributes }); interface _DiffieHellmanDerivationData { SharedInformation?: string; } -export type DiffieHellmanDerivationData = _DiffieHellmanDerivationData & { - SharedInformation: string; -}; +export type DiffieHellmanDerivationData = (_DiffieHellmanDerivationData & { SharedInformation: string }); export interface DiscoverDynamicCardVerificationCode { CardExpiryDate: string; UnpredictableNumber: string; @@ -373,12 +214,7 @@ export interface DukptDerivationAttributes { DukptKeyDerivationType?: DukptDerivationType; DukptKeyVariant?: DukptKeyVariant; } -export type DukptDerivationType = - | "TDES_2KEY" - | "TDES_3KEY" - | "AES_128" - | "AES_192" - | "AES_256"; +export type DukptDerivationType = "TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256"; export interface DukptEncryptionAttributes { KeySerialNumber: string; Mode?: DukptEncryptionMode; @@ -453,24 +289,8 @@ interface _EncryptionDecryptionAttributes { Emv?: EmvEncryptionAttributes; } -export type EncryptionDecryptionAttributes = - | (_EncryptionDecryptionAttributes & { - Symmetric: SymmetricEncryptionAttributes; - }) - | (_EncryptionDecryptionAttributes & { - Asymmetric: AsymmetricEncryptionAttributes; - }) - | (_EncryptionDecryptionAttributes & { Dukpt: DukptEncryptionAttributes }) - | (_EncryptionDecryptionAttributes & { Emv: EmvEncryptionAttributes }); -export type EncryptionMode = - | "ECB" - | "CBC" - | "CFB" - | "CFB1" - | "CFB8" - | "CFB64" - | "CFB128" - | "OFB"; +export type EncryptionDecryptionAttributes = (_EncryptionDecryptionAttributes & { Symmetric: SymmetricEncryptionAttributes }) | (_EncryptionDecryptionAttributes & { Asymmetric: AsymmetricEncryptionAttributes }) | (_EncryptionDecryptionAttributes & { Dukpt: DukptEncryptionAttributes }) | (_EncryptionDecryptionAttributes & { Emv: EmvEncryptionAttributes }); +export type EncryptionMode = "ECB" | "CBC" | "CFB" | "CFB1" | "CFB8" | "CFB64" | "CFB128" | "OFB"; export interface GenerateCardValidationDataInput { KeyIdentifier: string; PrimaryAccountNumber: string; @@ -586,9 +406,7 @@ interface _IncomingKeyMaterial { DiffieHellmanTr31KeyBlock?: IncomingDiffieHellmanTr31KeyBlock; } -export type IncomingKeyMaterial = _IncomingKeyMaterial & { - DiffieHellmanTr31KeyBlock: IncomingDiffieHellmanTr31KeyBlock; -}; +export type IncomingKeyMaterial = (_IncomingKeyMaterial & { DiffieHellmanTr31KeyBlock: IncomingDiffieHellmanTr31KeyBlock }); export type InitializationVectorType = string; export type IntegerRangeBetween0And6 = number; @@ -616,15 +434,7 @@ export type KeyDerivationFunction = "NIST_SP800" | "ANSI_X963"; export type KeyDerivationHashAlgorithm = "SHA_256" | "SHA_384" | "SHA_512"; export type KeyMaterial = string; -export type MacAlgorithm = - | "ISO9797_ALGORITHM1" - | "ISO9797_ALGORITHM3" - | "CMAC" - | "HMAC" - | "HMAC_SHA224" - | "HMAC_SHA256" - | "HMAC_SHA384" - | "HMAC_SHA512"; +export type MacAlgorithm = "ISO9797_ALGORITHM1" | "ISO9797_ALGORITHM3" | "CMAC" | "HMAC" | "HMAC_SHA224" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512"; export interface MacAlgorithmDukpt { KeySerialNumber: string; DukptKeyVariant: DukptKeyVariant; @@ -645,12 +455,7 @@ interface _MacAttributes { DukptCmac?: MacAlgorithmDukpt; } -export type MacAttributes = - | (_MacAttributes & { Algorithm: MacAlgorithm }) - | (_MacAttributes & { EmvMac: MacAlgorithmEmv }) - | (_MacAttributes & { DukptIso9797Algorithm1: MacAlgorithmDukpt }) - | (_MacAttributes & { DukptIso9797Algorithm3: MacAlgorithmDukpt }) - | (_MacAttributes & { DukptCmac: MacAlgorithmDukpt }); +export type MacAttributes = (_MacAttributes & { Algorithm: MacAlgorithm }) | (_MacAttributes & { EmvMac: MacAlgorithmEmv }) | (_MacAttributes & { DukptIso9797Algorithm1: MacAlgorithmDukpt }) | (_MacAttributes & { DukptIso9797Algorithm3: MacAlgorithmDukpt }) | (_MacAttributes & { DukptCmac: MacAlgorithmDukpt }); export type MacOutputType = string; export type MacType = string; @@ -670,22 +475,13 @@ interface _OutgoingKeyMaterial { Tr31KeyBlock?: OutgoingTr31KeyBlock; } -export type OutgoingKeyMaterial = _OutgoingKeyMaterial & { - Tr31KeyBlock: OutgoingTr31KeyBlock; -}; +export type OutgoingKeyMaterial = (_OutgoingKeyMaterial & { Tr31KeyBlock: OutgoingTr31KeyBlock }); export interface OutgoingTr31KeyBlock { WrappingKeyIdentifier: string; } export type PaddingType = "PKCS1" | "OAEP_SHA1" | "OAEP_SHA256" | "OAEP_SHA512"; -export type PinBlockFormatForEmvPinChange = - | "ISO_FORMAT_0" - | "ISO_FORMAT_1" - | "ISO_FORMAT_3"; -export type PinBlockFormatForPinData = - | "ISO_FORMAT_0" - | "ISO_FORMAT_1" - | "ISO_FORMAT_3" - | "ISO_FORMAT_4"; +export type PinBlockFormatForEmvPinChange = "ISO_FORMAT_0" | "ISO_FORMAT_1" | "ISO_FORMAT_3"; +export type PinBlockFormatForPinData = "ISO_FORMAT_0" | "ISO_FORMAT_1" | "ISO_FORMAT_3" | "ISO_FORMAT_4"; export type PinBlockLengthEquals16 = string; export type PinBlockLengthPosition = "NONE" | "FRONT_OF_PIN_BLOCK"; @@ -697,9 +493,7 @@ interface _PinData { VerificationValue?: string; } -export type PinData = - | (_PinData & { PinOffset: string }) - | (_PinData & { VerificationValue: string }); +export type PinData = (_PinData & { PinOffset: string }) | (_PinData & { VerificationValue: string }); interface _PinGenerationAttributes { VisaPin?: VisaPin; VisaPinVerificationValue?: VisaPinVerificationValue; @@ -709,15 +503,7 @@ interface _PinGenerationAttributes { Ibm3624PinFromOffset?: Ibm3624PinFromOffset; } -export type PinGenerationAttributes = - | (_PinGenerationAttributes & { VisaPin: VisaPin }) - | (_PinGenerationAttributes & { - VisaPinVerificationValue: VisaPinVerificationValue; - }) - | (_PinGenerationAttributes & { Ibm3624PinOffset: Ibm3624PinOffset }) - | (_PinGenerationAttributes & { Ibm3624NaturalPin: Ibm3624NaturalPin }) - | (_PinGenerationAttributes & { Ibm3624RandomPin: Ibm3624RandomPin }) - | (_PinGenerationAttributes & { Ibm3624PinFromOffset: Ibm3624PinFromOffset }); +export type PinGenerationAttributes = (_PinGenerationAttributes & { VisaPin: VisaPin }) | (_PinGenerationAttributes & { VisaPinVerificationValue: VisaPinVerificationValue }) | (_PinGenerationAttributes & { Ibm3624PinOffset: Ibm3624PinOffset }) | (_PinGenerationAttributes & { Ibm3624NaturalPin: Ibm3624NaturalPin }) | (_PinGenerationAttributes & { Ibm3624RandomPin: Ibm3624RandomPin }) | (_PinGenerationAttributes & { Ibm3624PinFromOffset: Ibm3624PinFromOffset }); export type PinOffsetType = string; export type PinValidationDataType = string; @@ -727,9 +513,7 @@ interface _PinVerificationAttributes { Ibm3624Pin?: Ibm3624PinVerification; } -export type PinVerificationAttributes = - | (_PinVerificationAttributes & { VisaPin: VisaPinVerification }) - | (_PinVerificationAttributes & { Ibm3624Pin: Ibm3624PinVerification }); +export type PinVerificationAttributes = (_PinVerificationAttributes & { VisaPin: VisaPinVerification }) | (_PinVerificationAttributes & { Ibm3624Pin: Ibm3624PinVerification }); export type PlainTextOutputType = string; export type PlainTextType = string; @@ -757,9 +541,7 @@ interface _ReEncryptionAttributes { Dukpt?: DukptEncryptionAttributes; } -export type ReEncryptionAttributes = - | (_ReEncryptionAttributes & { Symmetric: SymmetricEncryptionAttributes }) - | (_ReEncryptionAttributes & { Dukpt: DukptEncryptionAttributes }); +export type ReEncryptionAttributes = (_ReEncryptionAttributes & { Symmetric: SymmetricEncryptionAttributes }) | (_ReEncryptionAttributes & { Dukpt: DukptEncryptionAttributes }); export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -781,26 +563,14 @@ interface _SessionKeyDerivation { Visa?: SessionKeyVisa; } -export type SessionKeyDerivation = - | (_SessionKeyDerivation & { EmvCommon: SessionKeyEmvCommon }) - | (_SessionKeyDerivation & { Mastercard: SessionKeyMastercard }) - | (_SessionKeyDerivation & { Emv2000: SessionKeyEmv2000 }) - | (_SessionKeyDerivation & { Amex: SessionKeyAmex }) - | (_SessionKeyDerivation & { Visa: SessionKeyVisa }); -export type SessionKeyDerivationMode = - | "EMV_COMMON_SESSION_KEY" - | "EMV2000" - | "AMEX" - | "MASTERCARD_SESSION_KEY" - | "VISA"; +export type SessionKeyDerivation = (_SessionKeyDerivation & { EmvCommon: SessionKeyEmvCommon }) | (_SessionKeyDerivation & { Mastercard: SessionKeyMastercard }) | (_SessionKeyDerivation & { Emv2000: SessionKeyEmv2000 }) | (_SessionKeyDerivation & { Amex: SessionKeyAmex }) | (_SessionKeyDerivation & { Visa: SessionKeyVisa }); +export type SessionKeyDerivationMode = "EMV_COMMON_SESSION_KEY" | "EMV2000" | "AMEX" | "MASTERCARD_SESSION_KEY" | "VISA"; interface _SessionKeyDerivationValue { ApplicationCryptogram?: string; ApplicationTransactionCounter?: string; } -export type SessionKeyDerivationValue = - | (_SessionKeyDerivationValue & { ApplicationCryptogram: string }) - | (_SessionKeyDerivationValue & { ApplicationTransactionCounter: string }); +export type SessionKeyDerivationValue = (_SessionKeyDerivationValue & { ApplicationCryptogram: string }) | (_SessionKeyDerivationValue & { ApplicationTransactionCounter: string }); export interface SessionKeyEmv2000 { PrimaryAccountNumber: string; PanSequenceNumber: string; @@ -828,16 +598,7 @@ export interface SymmetricEncryptionAttributes { InitializationVector?: string; PaddingType?: PaddingType; } -export type SymmetricKeyAlgorithm = - | "TDES_2KEY" - | "TDES_3KEY" - | "AES_128" - | "AES_192" - | "AES_256" - | "HMAC_SHA256" - | "HMAC_SHA384" - | "HMAC_SHA512" - | "HMAC_SHA224"; +export type SymmetricKeyAlgorithm = "TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -880,15 +641,12 @@ interface _TranslationIsoFormats { IsoFormat4?: TranslationPinDataIsoFormat034; } -export type TranslationIsoFormats = - | (_TranslationIsoFormats & { IsoFormat0: TranslationPinDataIsoFormat034 }) - | (_TranslationIsoFormats & { IsoFormat1: TranslationPinDataIsoFormat1 }) - | (_TranslationIsoFormats & { IsoFormat3: TranslationPinDataIsoFormat034 }) - | (_TranslationIsoFormats & { IsoFormat4: TranslationPinDataIsoFormat034 }); +export type TranslationIsoFormats = (_TranslationIsoFormats & { IsoFormat0: TranslationPinDataIsoFormat034 }) | (_TranslationIsoFormats & { IsoFormat1: TranslationPinDataIsoFormat1 }) | (_TranslationIsoFormats & { IsoFormat3: TranslationPinDataIsoFormat034 }) | (_TranslationIsoFormats & { IsoFormat4: TranslationPinDataIsoFormat034 }); export interface TranslationPinDataIsoFormat034 { PrimaryAccountNumber: string; } -export interface TranslationPinDataIsoFormat1 {} +export interface TranslationPinDataIsoFormat1 { +} export type ValidationDataType = string; export declare class ValidationException extends EffectData.TaggedError( @@ -997,11 +755,7 @@ interface _WrappedKeyMaterial { DiffieHellmanSymmetricKey?: EcdhDerivationAttributes; } -export type WrappedKeyMaterial = - | (_WrappedKeyMaterial & { Tr31KeyBlock: string }) - | (_WrappedKeyMaterial & { - DiffieHellmanSymmetricKey: EcdhDerivationAttributes; - }); +export type WrappedKeyMaterial = (_WrappedKeyMaterial & { Tr31KeyBlock: string }) | (_WrappedKeyMaterial & { DiffieHellmanSymmetricKey: EcdhDerivationAttributes }); export type WrappedKeyMaterialFormat = string; export interface WrappedWorkingKey { @@ -1169,11 +923,5 @@ export declare namespace VerifyPinData { | CommonAwsError; } -export type PaymentCryptographyDataErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | VerificationFailedException - | CommonAwsError; +export type PaymentCryptographyDataErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | VerificationFailedException | CommonAwsError; + diff --git a/src/services/payment-cryptography/index.ts b/src/services/payment-cryptography/index.ts index 1c5c37a4..2912e6b8 100644 --- a/src/services/payment-cryptography/index.ts +++ b/src/services/payment-cryptography/index.ts @@ -5,23 +5,7 @@ import type { PaymentCryptography as _PaymentCryptographyClient } from "./types. export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/payment-cryptography/types.ts b/src/services/payment-cryptography/types.ts index add483b7..894b3c58 100644 --- a/src/services/payment-cryptography/types.ts +++ b/src/services/payment-cryptography/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class PaymentCryptography extends AWSServiceClient { @@ -40,341 +8,157 @@ export declare class PaymentCryptography extends AWSServiceClient { input: DisableDefaultKeyReplicationRegionsInput, ): Effect.Effect< DisableDefaultKeyReplicationRegionsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; enableDefaultKeyReplicationRegions( input: EnableDefaultKeyReplicationRegionsInput, ): Effect.Effect< EnableDefaultKeyReplicationRegionsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; exportKey( input: ExportKeyInput, ): Effect.Effect< ExportKeyOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getCertificateSigningRequest( input: GetCertificateSigningRequestInput, ): Effect.Effect< GetCertificateSigningRequestOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getDefaultKeyReplicationRegions( input: GetDefaultKeyReplicationRegionsInput, ): Effect.Effect< GetDefaultKeyReplicationRegionsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getParametersForExport( input: GetParametersForExportInput, ): Effect.Effect< GetParametersForExportOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getParametersForImport( input: GetParametersForImportInput, ): Effect.Effect< GetParametersForImportOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getPublicKeyCertificate( input: GetPublicKeyCertificateInput, ): Effect.Effect< GetPublicKeyCertificateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; importKey( input: ImportKeyInput, ): Effect.Effect< ImportKeyOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; addKeyReplicationRegions( input: AddKeyReplicationRegionsInput, ): Effect.Effect< AddKeyReplicationRegionsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAlias( input: CreateAliasInput, ): Effect.Effect< CreateAliasOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; createKey( input: CreateKeyInput, ): Effect.Effect< CreateKeyOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; deleteAlias( input: DeleteAliasInput, ): Effect.Effect< DeleteAliasOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; deleteKey( input: DeleteKeyInput, ): Effect.Effect< DeleteKeyOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getAlias( input: GetAliasInput, ): Effect.Effect< GetAliasOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; getKey( input: GetKeyInput, ): Effect.Effect< GetKeyOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; listAliases( input: ListAliasesInput, ): Effect.Effect< ListAliasesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; listKeys( input: ListKeysInput, ): Effect.Effect< ListKeysOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; removeKeyReplicationRegions( input: RemoveKeyReplicationRegionsInput, ): Effect.Effect< RemoveKeyReplicationRegionsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; restoreKey( input: RestoreKeyInput, ): Effect.Effect< RestoreKeyOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; startKeyUsage( input: StartKeyUsageInput, ): Effect.Effect< StartKeyUsageOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; stopKeyUsage( input: StopKeyUsageInput, ): Effect.Effect< StopKeyUsageOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; updateAlias( input: UpdateAliasInput, ): Effect.Effect< UpdateAliasOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -437,7 +221,8 @@ export interface CreateKeyOutput { export interface DeleteAliasInput { AliasName: string; } -export interface DeleteAliasOutput {} +export interface DeleteAliasOutput { +} export interface DeleteKeyInput { KeyIdentifier: string; DeleteKeyInDays?: number; @@ -451,9 +236,7 @@ interface _DiffieHellmanDerivationData { SharedInformation?: string; } -export type DiffieHellmanDerivationData = _DiffieHellmanDerivationData & { - SharedInformation: string; -}; +export type DiffieHellmanDerivationData = (_DiffieHellmanDerivationData & { SharedInformation: string }); export interface DisableDefaultKeyReplicationRegionsInput { ReplicationRegions: Array; } @@ -502,13 +285,7 @@ interface _ExportKeyMaterial { DiffieHellmanTr31KeyBlock?: ExportDiffieHellmanTr31KeyBlock; } -export type ExportKeyMaterial = - | (_ExportKeyMaterial & { Tr31KeyBlock: ExportTr31KeyBlock }) - | (_ExportKeyMaterial & { Tr34KeyBlock: ExportTr34KeyBlock }) - | (_ExportKeyMaterial & { KeyCryptogram: ExportKeyCryptogram }) - | (_ExportKeyMaterial & { - DiffieHellmanTr31KeyBlock: ExportDiffieHellmanTr31KeyBlock; - }); +export type ExportKeyMaterial = (_ExportKeyMaterial & { Tr31KeyBlock: ExportTr31KeyBlock }) | (_ExportKeyMaterial & { Tr34KeyBlock: ExportTr34KeyBlock }) | (_ExportKeyMaterial & { KeyCryptogram: ExportKeyCryptogram }) | (_ExportKeyMaterial & { DiffieHellmanTr31KeyBlock: ExportDiffieHellmanTr31KeyBlock }); export interface ExportKeyOutput { WrappedKey?: WrappedKey; } @@ -542,7 +319,8 @@ export interface GetCertificateSigningRequestInput { export interface GetCertificateSigningRequestOutput { CertificateSigningRequest: string; } -export interface GetDefaultKeyReplicationRegionsInput {} +export interface GetDefaultKeyReplicationRegionsInput { +} export interface GetDefaultKeyReplicationRegionsOutput { EnabledReplicationRegions: Array; } @@ -616,19 +394,7 @@ interface _ImportKeyMaterial { DiffieHellmanTr31KeyBlock?: ImportDiffieHellmanTr31KeyBlock; } -export type ImportKeyMaterial = - | (_ImportKeyMaterial & { - RootCertificatePublicKey: RootCertificatePublicKey; - }) - | (_ImportKeyMaterial & { - TrustedCertificatePublicKey: TrustedCertificatePublicKey; - }) - | (_ImportKeyMaterial & { Tr31KeyBlock: ImportTr31KeyBlock }) - | (_ImportKeyMaterial & { Tr34KeyBlock: ImportTr34KeyBlock }) - | (_ImportKeyMaterial & { KeyCryptogram: ImportKeyCryptogram }) - | (_ImportKeyMaterial & { - DiffieHellmanTr31KeyBlock: ImportDiffieHellmanTr31KeyBlock; - }); +export type ImportKeyMaterial = (_ImportKeyMaterial & { RootCertificatePublicKey: RootCertificatePublicKey }) | (_ImportKeyMaterial & { TrustedCertificatePublicKey: TrustedCertificatePublicKey }) | (_ImportKeyMaterial & { Tr31KeyBlock: ImportTr31KeyBlock }) | (_ImportKeyMaterial & { Tr34KeyBlock: ImportTr34KeyBlock }) | (_ImportKeyMaterial & { KeyCryptogram: ImportKeyCryptogram }) | (_ImportKeyMaterial & { DiffieHellmanTr31KeyBlock: ImportDiffieHellmanTr31KeyBlock }); export interface ImportKeyOutput { Key: Key; } @@ -833,16 +599,7 @@ export interface StopKeyUsageInput { export interface StopKeyUsageOutput { Key: Key; } -export type SymmetricKeyAlgorithm = - | "TDES_2KEY" - | "TDES_3KEY" - | "AES_128" - | "AES_192" - | "AES_256" - | "HMAC_SHA256" - | "HMAC_SHA384" - | "HMAC_SHA512" - | "HMAC_SHA224"; +export type SymmetricKeyAlgorithm = "TDES_2KEY" | "TDES_3KEY" | "AES_128" | "AES_192" | "AES_256" | "HMAC_SHA256" | "HMAC_SHA384" | "HMAC_SHA512" | "HMAC_SHA224"; export interface Tag { Key: string; Value: string; @@ -854,7 +611,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type Tags = Array; export type TagValue = string; @@ -880,7 +638,8 @@ export interface UntagResourceInput { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateAliasInput { AliasName: string; KeyArn?: string; @@ -1272,13 +1031,5 @@ export declare namespace UpdateAlias { | CommonAwsError; } -export type PaymentCryptographyErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type PaymentCryptographyErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/pca-connector-ad/index.ts b/src/services/pca-connector-ad/index.ts index 1f18a554..972cccbc 100644 --- a/src/services/pca-connector-ad/index.ts +++ b/src/services/pca-connector-ad/index.ts @@ -5,23 +5,7 @@ import type { PcaConnectorAd as _PcaConnectorAdClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,42 +14,35 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "pca-connector-ad", operations: { - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - CreateConnector: "POST /connectors", - CreateDirectoryRegistration: "POST /directoryRegistrations", - CreateServicePrincipalName: - "POST /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}", - CreateTemplate: "POST /templates", - CreateTemplateGroupAccessControlEntry: - "POST /templates/{TemplateArn}/accessControlEntries", - DeleteConnector: "DELETE /connectors/{ConnectorArn}", - DeleteDirectoryRegistration: - "DELETE /directoryRegistrations/{DirectoryRegistrationArn}", - DeleteServicePrincipalName: - "DELETE /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}", - DeleteTemplate: "DELETE /templates/{TemplateArn}", - DeleteTemplateGroupAccessControlEntry: - "DELETE /templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}", - GetConnector: "GET /connectors/{ConnectorArn}", - GetDirectoryRegistration: - "GET /directoryRegistrations/{DirectoryRegistrationArn}", - GetServicePrincipalName: - "GET /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}", - GetTemplate: "GET /templates/{TemplateArn}", - GetTemplateGroupAccessControlEntry: - "GET /templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}", - ListConnectors: "GET /connectors", - ListDirectoryRegistrations: "GET /directoryRegistrations", - ListServicePrincipalNames: - "GET /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames", - ListTemplateGroupAccessControlEntries: - "GET /templates/{TemplateArn}/accessControlEntries", - ListTemplates: "GET /templates", - UpdateTemplate: "PATCH /templates/{TemplateArn}", - UpdateTemplateGroupAccessControlEntry: - "PATCH /templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "CreateConnector": "POST /connectors", + "CreateDirectoryRegistration": "POST /directoryRegistrations", + "CreateServicePrincipalName": "POST /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}", + "CreateTemplate": "POST /templates", + "CreateTemplateGroupAccessControlEntry": "POST /templates/{TemplateArn}/accessControlEntries", + "DeleteConnector": "DELETE /connectors/{ConnectorArn}", + "DeleteDirectoryRegistration": "DELETE /directoryRegistrations/{DirectoryRegistrationArn}", + "DeleteServicePrincipalName": "DELETE /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}", + "DeleteTemplate": "DELETE /templates/{TemplateArn}", + "DeleteTemplateGroupAccessControlEntry": "DELETE /templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}", + "GetConnector": "GET /connectors/{ConnectorArn}", + "GetDirectoryRegistration": "GET /directoryRegistrations/{DirectoryRegistrationArn}", + "GetServicePrincipalName": "GET /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames/{ConnectorArn}", + "GetTemplate": "GET /templates/{TemplateArn}", + "GetTemplateGroupAccessControlEntry": "GET /templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}", + "ListConnectors": "GET /connectors", + "ListDirectoryRegistrations": "GET /directoryRegistrations", + "ListServicePrincipalNames": "GET /directoryRegistrations/{DirectoryRegistrationArn}/servicePrincipalNames", + "ListTemplateGroupAccessControlEntries": "GET /templates/{TemplateArn}/accessControlEntries", + "ListTemplates": "GET /templates", + "UpdateTemplate": "PATCH /templates/{TemplateArn}", + "UpdateTemplateGroupAccessControlEntry": "PATCH /templates/{TemplateArn}/accessControlEntries/{GroupSecurityIdentifier}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/pca-connector-ad/types.ts b/src/services/pca-connector-ad/types.ts index 21c8c665..23c1cc8b 100644 --- a/src/services/pca-connector-ad/types.ts +++ b/src/services/pca-connector-ad/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class PcaConnectorAd extends AWSServiceClient { @@ -40,287 +8,151 @@ export declare class PcaConnectorAd extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createConnector( input: CreateConnectorRequest, ): Effect.Effect< CreateConnectorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDirectoryRegistration( input: CreateDirectoryRegistrationRequest, ): Effect.Effect< CreateDirectoryRegistrationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createServicePrincipalName( input: CreateServicePrincipalNameRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createTemplate( input: CreateTemplateRequest, ): Effect.Effect< CreateTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTemplateGroupAccessControlEntry( input: CreateTemplateGroupAccessControlEntryRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteConnector( input: DeleteConnectorRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDirectoryRegistration( input: DeleteDirectoryRegistrationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteServicePrincipalName( input: DeleteServicePrincipalNameRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteTemplate( input: DeleteTemplateRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTemplateGroupAccessControlEntry( input: DeleteTemplateGroupAccessControlEntryRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConnector( input: GetConnectorRequest, ): Effect.Effect< GetConnectorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDirectoryRegistration( input: GetDirectoryRegistrationRequest, ): Effect.Effect< GetDirectoryRegistrationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServicePrincipalName( input: GetServicePrincipalNameRequest, ): Effect.Effect< GetServicePrincipalNameResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTemplate( input: GetTemplateRequest, ): Effect.Effect< GetTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTemplateGroupAccessControlEntry( input: GetTemplateGroupAccessControlEntryRequest, ): Effect.Effect< GetTemplateGroupAccessControlEntryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listConnectors( input: ListConnectorsRequest, ): Effect.Effect< ListConnectorsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDirectoryRegistrations( input: ListDirectoryRegistrationsRequest, ): Effect.Effect< ListDirectoryRegistrationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listServicePrincipalNames( input: ListServicePrincipalNamesRequest, ): Effect.Effect< ListServicePrincipalNamesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTemplateGroupAccessControlEntries( input: ListTemplateGroupAccessControlEntriesRequest, ): Effect.Effect< ListTemplateGroupAccessControlEntriesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTemplates( input: ListTemplatesRequest, ): Effect.Effect< ListTemplatesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTemplate( input: UpdateTemplateRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTemplateGroupAccessControlEntry( input: UpdateTemplateGroupAccessControlEntryRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -360,101 +192,18 @@ interface _ApplicationPolicy { PolicyObjectIdentifier?: string; } -export type ApplicationPolicy = - | (_ApplicationPolicy & { PolicyType: ApplicationPolicyType }) - | (_ApplicationPolicy & { PolicyObjectIdentifier: string }); +export type ApplicationPolicy = (_ApplicationPolicy & { PolicyType: ApplicationPolicyType }) | (_ApplicationPolicy & { PolicyObjectIdentifier: string }); export type ApplicationPolicyList = Array; -export type ApplicationPolicyType = - | "ALL_APPLICATION_POLICIES" - | "ANY_PURPOSE" - | "ATTESTATION_IDENTITY_KEY_CERTIFICATE" - | "CERTIFICATE_REQUEST_AGENT" - | "CLIENT_AUTHENTICATION" - | "CODE_SIGNING" - | "CTL_USAGE" - | "DIGITAL_RIGHTS" - | "DIRECTORY_SERVICE_EMAIL_REPLICATION" - | "DISALLOWED_LIST" - | "DNS_SERVER_TRUST" - | "DOCUMENT_ENCRYPTION" - | "DOCUMENT_SIGNING" - | "DYNAMIC_CODE_GENERATOR" - | "EARLY_LAUNCH_ANTIMALWARE_DRIVER" - | "EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" - | "ENCLAVE" - | "ENCRYPTING_FILE_SYSTEM" - | "ENDORSEMENT_KEY_CERTIFICATE" - | "FILE_RECOVERY" - | "HAL_EXTENSION" - | "IP_SECURITY_END_SYSTEM" - | "IP_SECURITY_IKE_INTERMEDIATE" - | "IP_SECURITY_TUNNEL_TERMINATION" - | "IP_SECURITY_USER" - | "ISOLATED_USER_MODE" - | "KDC_AUTHENTICATION" - | "KERNEL_MODE_CODE_SIGNING" - | "KEY_PACK_LICENSES" - | "KEY_RECOVERY" - | "KEY_RECOVERY_AGENT" - | "LICENSE_SERVER_VERIFICATION" - | "LIFETIME_SIGNING" - | "MICROSOFT_PUBLISHER" - | "MICROSOFT_TIME_STAMPING" - | "MICROSOFT_TRUST_LIST_SIGNING" - | "OCSP_SIGNING" - | "OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" - | "PLATFORM_CERTIFICATE" - | "PREVIEW_BUILD_SIGNING" - | "PRIVATE_KEY_ARCHIVAL" - | "PROTECTED_PROCESS_LIGHT_VERIFICATION" - | "PROTECTED_PROCESS_VERIFICATION" - | "QUALIFIED_SUBORDINATION" - | "REVOKED_LIST_SIGNER" - | "ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION" - | "ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION" - | "ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL" - | "ROOT_LIST_SIGNER" - | "SECURE_EMAIL" - | "SERVER_AUTHENTICATION" - | "SMART_CARD_LOGIN" - | "SPC_ENCRYPTED_DIGEST_RETRY_COUNT" - | "SPC_RELAXED_PE_MARKER_CHECK" - | "TIME_STAMPING" - | "WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION" - | "WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION" - | "WINDOWS_HARDWARE_DRIVER_VERIFICATION" - | "WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION" - | "WINDOWS_KITS_COMPONENT" - | "WINDOWS_RT_VERIFICATION" - | "WINDOWS_SOFTWARE_EXTENSION_VERIFICATION" - | "WINDOWS_STORE" - | "WINDOWS_SYSTEM_COMPONENT_VERIFICATION" - | "WINDOWS_TCB_COMPONENT" - | "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT" - | "WINDOWS_UPDATE"; +export type ApplicationPolicyType = "ALL_APPLICATION_POLICIES" | "ANY_PURPOSE" | "ATTESTATION_IDENTITY_KEY_CERTIFICATE" | "CERTIFICATE_REQUEST_AGENT" | "CLIENT_AUTHENTICATION" | "CODE_SIGNING" | "CTL_USAGE" | "DIGITAL_RIGHTS" | "DIRECTORY_SERVICE_EMAIL_REPLICATION" | "DISALLOWED_LIST" | "DNS_SERVER_TRUST" | "DOCUMENT_ENCRYPTION" | "DOCUMENT_SIGNING" | "DYNAMIC_CODE_GENERATOR" | "EARLY_LAUNCH_ANTIMALWARE_DRIVER" | "EMBEDDED_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" | "ENCLAVE" | "ENCRYPTING_FILE_SYSTEM" | "ENDORSEMENT_KEY_CERTIFICATE" | "FILE_RECOVERY" | "HAL_EXTENSION" | "IP_SECURITY_END_SYSTEM" | "IP_SECURITY_IKE_INTERMEDIATE" | "IP_SECURITY_TUNNEL_TERMINATION" | "IP_SECURITY_USER" | "ISOLATED_USER_MODE" | "KDC_AUTHENTICATION" | "KERNEL_MODE_CODE_SIGNING" | "KEY_PACK_LICENSES" | "KEY_RECOVERY" | "KEY_RECOVERY_AGENT" | "LICENSE_SERVER_VERIFICATION" | "LIFETIME_SIGNING" | "MICROSOFT_PUBLISHER" | "MICROSOFT_TIME_STAMPING" | "MICROSOFT_TRUST_LIST_SIGNING" | "OCSP_SIGNING" | "OEM_WINDOWS_SYSTEM_COMPONENT_VERIFICATION" | "PLATFORM_CERTIFICATE" | "PREVIEW_BUILD_SIGNING" | "PRIVATE_KEY_ARCHIVAL" | "PROTECTED_PROCESS_LIGHT_VERIFICATION" | "PROTECTED_PROCESS_VERIFICATION" | "QUALIFIED_SUBORDINATION" | "REVOKED_LIST_SIGNER" | "ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION" | "ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION" | "ROOT_PROGRAM_NO_OSCP_FAILOVER_TO_CRL" | "ROOT_LIST_SIGNER" | "SECURE_EMAIL" | "SERVER_AUTHENTICATION" | "SMART_CARD_LOGIN" | "SPC_ENCRYPTED_DIGEST_RETRY_COUNT" | "SPC_RELAXED_PE_MARKER_CHECK" | "TIME_STAMPING" | "WINDOWS_HARDWARE_DRIVER_ATTESTED_VERIFICATION" | "WINDOWS_HARDWARE_DRIVER_EXTENDED_VERIFICATION" | "WINDOWS_HARDWARE_DRIVER_VERIFICATION" | "WINDOWS_HELLO_RECOVERY_KEY_ENCRYPTION" | "WINDOWS_KITS_COMPONENT" | "WINDOWS_RT_VERIFICATION" | "WINDOWS_SOFTWARE_EXTENSION_VERIFICATION" | "WINDOWS_STORE" | "WINDOWS_SYSTEM_COMPONENT_VERIFICATION" | "WINDOWS_TCB_COMPONENT" | "WINDOWS_THIRD_PARTY_APPLICATION_COMPONENT" | "WINDOWS_UPDATE"; export type CertificateAuthorityArn = string; export interface CertificateValidity { ValidityPeriod: ValidityPeriod; RenewalPeriod: ValidityPeriod; } -export type ClientCompatibilityV2 = - | "WINDOWS_SERVER_2003" - | "WINDOWS_SERVER_2008" - | "WINDOWS_SERVER_2008_R2" - | "WINDOWS_SERVER_2012" - | "WINDOWS_SERVER_2012_R2" - | "WINDOWS_SERVER_2016"; -export type ClientCompatibilityV3 = - | "WINDOWS_SERVER_2008" - | "WINDOWS_SERVER_2008_R2" - | "WINDOWS_SERVER_2012" - | "WINDOWS_SERVER_2012_R2" - | "WINDOWS_SERVER_2016"; -export type ClientCompatibilityV4 = - | "WINDOWS_SERVER_2012" - | "WINDOWS_SERVER_2012_R2" - | "WINDOWS_SERVER_2016"; +export type ClientCompatibilityV2 = "WINDOWS_SERVER_2003" | "WINDOWS_SERVER_2008" | "WINDOWS_SERVER_2008_R2" | "WINDOWS_SERVER_2012" | "WINDOWS_SERVER_2012_R2" | "WINDOWS_SERVER_2016"; +export type ClientCompatibilityV3 = "WINDOWS_SERVER_2008" | "WINDOWS_SERVER_2008_R2" | "WINDOWS_SERVER_2012" | "WINDOWS_SERVER_2012_R2" | "WINDOWS_SERVER_2016"; +export type ClientCompatibilityV4 = "WINDOWS_SERVER_2012" | "WINDOWS_SERVER_2012_R2" | "WINDOWS_SERVER_2016"; export type ClientToken = string; export declare class ConflictException extends EffectData.TaggedError( @@ -479,18 +228,7 @@ export type ConnectorArn = string; export type ConnectorList = Array; export type ConnectorStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED"; -export type ConnectorStatusReason = - | "CA_CERTIFICATE_REGISTRATION_FAILED" - | "DIRECTORY_ACCESS_DENIED" - | "INTERNAL_FAILURE" - | "INSUFFICIENT_FREE_ADDRESSES" - | "INVALID_SUBNET_IP_PROTOCOL" - | "PRIVATECA_ACCESS_DENIED" - | "PRIVATECA_RESOURCE_NOT_FOUND" - | "SECURITY_GROUP_NOT_IN_VPC" - | "VPC_ACCESS_DENIED" - | "VPC_ENDPOINT_LIMIT_EXCEEDED" - | "VPC_RESOURCE_NOT_FOUND"; +export type ConnectorStatusReason = "CA_CERTIFICATE_REGISTRATION_FAILED" | "DIRECTORY_ACCESS_DENIED" | "INTERNAL_FAILURE" | "INSUFFICIENT_FREE_ADDRESSES" | "INVALID_SUBNET_IP_PROTOCOL" | "PRIVATECA_ACCESS_DENIED" | "PRIVATECA_RESOURCE_NOT_FOUND" | "SECURITY_GROUP_NOT_IN_VPC" | "VPC_ACCESS_DENIED" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "VPC_RESOURCE_NOT_FOUND"; export interface ConnectorSummary { Arn?: string; CertificateAuthorityArn?: string; @@ -575,18 +313,8 @@ export interface DirectoryRegistration { export type DirectoryRegistrationArn = string; export type DirectoryRegistrationList = Array; -export type DirectoryRegistrationStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED"; -export type DirectoryRegistrationStatusReason = - | "DIRECTORY_ACCESS_DENIED" - | "DIRECTORY_RESOURCE_NOT_FOUND" - | "DIRECTORY_NOT_ACTIVE" - | "DIRECTORY_NOT_REACHABLE" - | "DIRECTORY_TYPE_NOT_SUPPORTED" - | "INTERNAL_FAILURE"; +export type DirectoryRegistrationStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED"; +export type DirectoryRegistrationStatusReason = "DIRECTORY_ACCESS_DENIED" | "DIRECTORY_RESOURCE_NOT_FOUND" | "DIRECTORY_NOT_ACTIVE" | "DIRECTORY_NOT_REACHABLE" | "DIRECTORY_TYPE_NOT_SUPPORTED" | "INTERNAL_FAILURE"; export interface DirectoryRegistrationSummary { Arn?: string; DirectoryId?: string; @@ -700,9 +428,7 @@ interface _KeyUsageProperty { PropertyFlags?: KeyUsagePropertyFlags; } -export type KeyUsageProperty = - | (_KeyUsageProperty & { PropertyType: KeyUsagePropertyType }) - | (_KeyUsageProperty & { PropertyFlags: KeyUsagePropertyFlags }); +export type KeyUsageProperty = (_KeyUsageProperty & { PropertyType: KeyUsagePropertyType }) | (_KeyUsageProperty & { PropertyFlags: KeyUsagePropertyFlags }); export interface KeyUsagePropertyFlags { Decrypt?: boolean; KeyAgreement?: boolean; @@ -762,11 +488,7 @@ export type MaxResults = number; export type NextToken = string; -export type PrivateKeyAlgorithm = - | "RSA" - | "ECDH_P256" - | "ECDH_P384" - | "ECDH_P521"; +export type PrivateKeyAlgorithm = "RSA" | "ECDH_P256" | "ECDH_P384" | "ECDH_P521"; export interface PrivateKeyAttributesV2 { MinimalKeyLength: number; KeySpec: KeySpec; @@ -824,18 +546,8 @@ export interface ServicePrincipalName { UpdatedAt?: Date | string; } export type ServicePrincipalNameList = Array; -export type ServicePrincipalNameStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED"; -export type ServicePrincipalNameStatusReason = - | "DIRECTORY_ACCESS_DENIED" - | "DIRECTORY_NOT_REACHABLE" - | "DIRECTORY_RESOURCE_NOT_FOUND" - | "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT" - | "SPN_LIMIT_EXCEEDED" - | "INTERNAL_FAILURE"; +export type ServicePrincipalNameStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED"; +export type ServicePrincipalNameStatusReason = "DIRECTORY_ACCESS_DENIED" | "DIRECTORY_NOT_REACHABLE" | "DIRECTORY_RESOURCE_NOT_FOUND" | "SPN_EXISTS_ON_DIFFERENT_AD_OBJECT" | "SPN_LIMIT_EXCEEDED" | "INTERNAL_FAILURE"; export interface ServicePrincipalNameSummary { DirectoryRegistrationArn?: string; ConnectorArn?: string; @@ -915,10 +627,7 @@ interface _TemplateDefinition { TemplateV4?: TemplateV4; } -export type TemplateDefinition = - | (_TemplateDefinition & { TemplateV2: TemplateV2 }) - | (_TemplateDefinition & { TemplateV3: TemplateV3 }) - | (_TemplateDefinition & { TemplateV4: TemplateV4 }); +export type TemplateDefinition = (_TemplateDefinition & { TemplateV2: TemplateV2 }) | (_TemplateDefinition & { TemplateV3: TemplateV3 }) | (_TemplateDefinition & { TemplateV4: TemplateV4 }); export type TemplateList = Array; export type TemplateName = string; @@ -1000,26 +709,12 @@ export declare class ValidationException extends EffectData.TaggedError( readonly Message: string; readonly Reason?: ValidationExceptionReason; }> {} -export type ValidationExceptionReason = - | "FIELD_VALIDATION_FAILED" - | "INVALID_CA_SUBJECT" - | "INVALID_PERMISSION" - | "INVALID_STATE" - | "MISMATCHED_CONNECTOR" - | "MISMATCHED_VPC" - | "NO_CLIENT_TOKEN" - | "UNKNOWN_OPERATION" - | "OTHER"; +export type ValidationExceptionReason = "FIELD_VALIDATION_FAILED" | "INVALID_CA_SUBJECT" | "INVALID_PERMISSION" | "INVALID_STATE" | "MISMATCHED_CONNECTOR" | "MISMATCHED_VPC" | "NO_CLIENT_TOKEN" | "UNKNOWN_OPERATION" | "OTHER"; export interface ValidityPeriod { PeriodType: ValidityPeriodType; Period: number; } -export type ValidityPeriodType = - | "HOURS" - | "DAYS" - | "WEEKS" - | "MONTHS" - | "YEARS"; +export type ValidityPeriodType = "HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS"; export interface VpcInformation { IpAddressType?: IpAddressType; SecurityGroupIds: Array; @@ -1335,12 +1030,5 @@ export declare namespace UpdateTemplateGroupAccessControlEntry { | CommonAwsError; } -export type PcaConnectorAdErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type PcaConnectorAdErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/pca-connector-scep/index.ts b/src/services/pca-connector-scep/index.ts index 022cc65d..c3910858 100644 --- a/src/services/pca-connector-scep/index.ts +++ b/src/services/pca-connector-scep/index.ts @@ -5,23 +5,7 @@ import type { PcaConnectorScep as _PcaConnectorScepClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,18 +14,22 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "pca-connector-scep", operations: { - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - CreateChallenge: "POST /challenges", - CreateConnector: "POST /connectors", - DeleteChallenge: "DELETE /challenges/{ChallengeArn}", - DeleteConnector: "DELETE /connectors/{ConnectorArn}", - GetChallengeMetadata: "GET /challengeMetadata/{ChallengeArn}", - GetChallengePassword: "GET /challengePasswords/{ChallengeArn}", - GetConnector: "GET /connectors/{ConnectorArn}", - ListChallengeMetadata: "GET /challengeMetadata", - ListConnectors: "GET /connectors", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "CreateChallenge": "POST /challenges", + "CreateConnector": "POST /connectors", + "DeleteChallenge": "DELETE /challenges/{ChallengeArn}", + "DeleteConnector": "DELETE /connectors/{ConnectorArn}", + "GetChallengeMetadata": "GET /challengeMetadata/{ChallengeArn}", + "GetChallengePassword": "GET /challengePasswords/{ChallengeArn}", + "GetConnector": "GET /connectors/{ConnectorArn}", + "ListChallengeMetadata": "GET /challengeMetadata", + "ListConnectors": "GET /connectors", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/pca-connector-scep/types.ts b/src/services/pca-connector-scep/types.ts index e8dc0073..a5013904 100644 --- a/src/services/pca-connector-scep/types.ts +++ b/src/services/pca-connector-scep/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class PcaConnectorScep extends AWSServiceClient { @@ -40,139 +8,73 @@ export declare class PcaConnectorScep extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createChallenge( input: CreateChallengeRequest, ): Effect.Effect< CreateChallengeResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConnector( input: CreateConnectorRequest, ): Effect.Effect< CreateConnectorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteChallenge( input: DeleteChallengeRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConnector( input: DeleteConnectorRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getChallengeMetadata( input: GetChallengeMetadataRequest, ): Effect.Effect< GetChallengeMetadataResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getChallengePassword( input: GetChallengePasswordRequest, ): Effect.Effect< GetChallengePasswordResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConnector( input: GetConnectorRequest, ): Effect.Effect< GetConnectorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listChallengeMetadata( input: ListChallengeMetadataRequest, ): Effect.Effect< ListChallengeMetadataResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listConnectors( input: ListConnectorsRequest, ): Effect.Effect< ListConnectorsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -239,11 +141,7 @@ export type ConnectorArn = string; export type ConnectorList = Array; export type ConnectorStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED"; -export type ConnectorStatusReason = - | "INTERNAL_FAILURE" - | "PRIVATECA_ACCESS_DENIED" - | "PRIVATECA_INVALID_STATE" - | "PRIVATECA_RESOURCE_NOT_FOUND"; +export type ConnectorStatusReason = "INTERNAL_FAILURE" | "PRIVATECA_ACCESS_DENIED" | "PRIVATECA_INVALID_STATE" | "PRIVATECA_RESOURCE_NOT_FOUND"; export interface ConnectorSummary { Arn?: string; CertificateAuthorityArn?: string; @@ -336,9 +234,7 @@ interface _MobileDeviceManagement { Intune?: IntuneConfiguration; } -export type MobileDeviceManagement = _MobileDeviceManagement & { - Intune: IntuneConfiguration; -}; +export type MobileDeviceManagement = (_MobileDeviceManagement & { Intune: IntuneConfiguration }); export type NextToken = string; export interface OpenIdConfiguration { @@ -384,14 +280,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly Message: string; readonly Reason?: ValidationExceptionReason; }> {} -export type ValidationExceptionReason = - | "CA_CERT_VALIDITY_TOO_SHORT" - | "INVALID_CA_USAGE_MODE" - | "INVALID_CONNECTOR_TYPE" - | "INVALID_STATE" - | "NO_CLIENT_TOKEN" - | "UNKNOWN_OPERATION" - | "OTHER"; +export type ValidationExceptionReason = "CA_CERT_VALIDITY_TOO_SHORT" | "INVALID_CA_USAGE_MODE" | "INVALID_CONNECTOR_TYPE" | "INVALID_STATE" | "NO_CLIENT_TOKEN" | "UNKNOWN_OPERATION" | "OTHER"; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; @@ -542,13 +431,5 @@ export declare namespace ListConnectors { | CommonAwsError; } -export type PcaConnectorScepErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type PcaConnectorScepErrors = AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/pcs/index.ts b/src/services/pcs/index.ts index f28581f8..ecfc2e46 100644 --- a/src/services/pcs/index.ts +++ b/src/services/pcs/index.ts @@ -5,23 +5,7 @@ import type { PCS as _PCSClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/pcs/types.ts b/src/services/pcs/types.ts index 3afc4cd8..0abec393 100644 --- a/src/services/pcs/types.ts +++ b/src/services/pcs/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class PCS extends AWSServiceClient { @@ -50,152 +18,81 @@ export declare class PCS extends AWSServiceClient { >; untagResource( input: UntagResourceRequest, - ): Effect.Effect<{}, ResourceNotFoundException | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFoundException | CommonAwsError + >; createCluster( input: CreateClusterRequest, ): Effect.Effect< CreateClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createComputeNodeGroup( input: CreateComputeNodeGroupRequest, ): Effect.Effect< CreateComputeNodeGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createQueue( input: CreateQueueRequest, ): Effect.Effect< CreateQueueResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteCluster( input: DeleteClusterRequest, ): Effect.Effect< DeleteClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteComputeNodeGroup( input: DeleteComputeNodeGroupRequest, ): Effect.Effect< DeleteComputeNodeGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteQueue( input: DeleteQueueRequest, ): Effect.Effect< DeleteQueueResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCluster( input: GetClusterRequest, ): Effect.Effect< GetClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getComputeNodeGroup( input: GetComputeNodeGroupRequest, ): Effect.Effect< GetComputeNodeGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getQueue( input: GetQueueRequest, ): Effect.Effect< GetQueueResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listClusters( input: ListClustersRequest, ): Effect.Effect< ListClustersResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listComputeNodeGroups( input: ListComputeNodeGroupsRequest, ): Effect.Effect< ListComputeNodeGroupsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listQueues( input: ListQueuesRequest, ): Effect.Effect< ListQueuesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; registerComputeNodeGroupInstance( input: RegisterComputeNodeGroupInstanceRequest, @@ -207,39 +104,19 @@ export declare class PCS extends AWSServiceClient { input: UpdateClusterRequest, ): Effect.Effect< UpdateClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateComputeNodeGroup( input: UpdateComputeNodeGroupRequest, ): Effect.Effect< UpdateComputeNodeGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateQueue( input: UpdateQueueRequest, ): Effect.Effect< UpdateQueueResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -295,16 +172,7 @@ export interface ClusterSlurmConfigurationRequest { slurmCustomSettings?: Array; accounting?: AccountingRequest; } -export type ClusterStatus = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "CREATE_FAILED" - | "DELETE_FAILED" - | "UPDATE_FAILED" - | "SUSPENDING" - | "SUSPENDED"; +export type ClusterStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "SUSPENDING" | "SUSPENDED"; export interface ClusterSummary { name: string; id: string; @@ -335,8 +203,7 @@ export interface ComputeNodeGroup { export interface ComputeNodeGroupConfiguration { computeNodeGroupId?: string; } -export type ComputeNodeGroupConfigurationList = - Array; +export type ComputeNodeGroupConfigurationList = Array; export type ComputeNodeGroupIdentifier = string; export type ComputeNodeGroupList = Array; @@ -348,17 +215,7 @@ export interface ComputeNodeGroupSlurmConfiguration { export interface ComputeNodeGroupSlurmConfigurationRequest { slurmCustomSettings?: Array; } -export type ComputeNodeGroupStatus = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "CREATE_FAILED" - | "DELETE_FAILED" - | "UPDATE_FAILED" - | "DELETED" - | "SUSPENDING" - | "SUSPENDED"; +export type ComputeNodeGroupStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "DELETED" | "SUSPENDING" | "SUSPENDED"; export interface ComputeNodeGroupSummary { name: string; id: string; @@ -424,19 +281,22 @@ export interface DeleteClusterRequest { clusterIdentifier: string; clientToken?: string; } -export interface DeleteClusterResponse {} +export interface DeleteClusterResponse { +} export interface DeleteComputeNodeGroupRequest { clusterIdentifier: string; computeNodeGroupIdentifier: string; clientToken?: string; } -export interface DeleteComputeNodeGroupResponse {} +export interface DeleteComputeNodeGroupResponse { +} export interface DeleteQueueRequest { clusterIdentifier: string; queueIdentifier: string; clientToken?: string; } -export interface DeleteQueueResponse {} +export interface DeleteQueueResponse { +} export interface Endpoint { type: EndpointType; privateIpAddress: string; @@ -551,16 +411,7 @@ export interface QueueSlurmConfiguration { export interface QueueSlurmConfigurationRequest { slurmCustomSettings?: Array; } -export type QueueStatus = - | "CREATING" - | "ACTIVE" - | "UPDATING" - | "DELETING" - | "CREATE_FAILED" - | "DELETE_FAILED" - | "UPDATE_FAILED" - | "SUSPENDING" - | "SUSPENDED"; +export type QueueStatus = "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "SUSPENDING" | "SUSPENDED"; export interface QueueSummary { name: string; id: string; @@ -631,10 +482,7 @@ export interface SlurmCustomSetting { parameterValue: string; } export type SlurmCustomSettings = Array; -export type SpotAllocationStrategy = - | "lowest-price" - | "capacity-optimized" - | "price-capacity-optimized"; +export type SpotAllocationStrategy = "lowest-price" | "capacity-optimized" | "price-capacity-optimized"; export interface SpotOptions { allocationStrategy?: SpotAllocationStrategy; } @@ -722,15 +570,13 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -745,7 +591,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = {}; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace CreateCluster { @@ -956,12 +804,5 @@ export declare namespace UpdateQueue { | CommonAwsError; } -export type PCSErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type PCSErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/personalize-events/index.ts b/src/services/personalize-events/index.ts index 32ca6ff4..89882cca 100644 --- a/src/services/personalize-events/index.ts +++ b/src/services/personalize-events/index.ts @@ -5,26 +5,7 @@ import type { PersonalizeEvents as _PersonalizeEventsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,11 +15,11 @@ const metadata = { sigV4ServiceName: "personalize", endpointPrefix: "personalize-events", operations: { - PutActionInteractions: "POST /action-interactions", - PutActions: "POST /actions", - PutEvents: "POST /events", - PutItems: "POST /items", - PutUsers: "POST /users", + "PutActionInteractions": "POST /action-interactions", + "PutActions": "POST /actions", + "PutEvents": "POST /events", + "PutItems": "POST /items", + "PutUsers": "POST /users", }, } as const satisfies ServiceMetadata; diff --git a/src/services/personalize-events/types.ts b/src/services/personalize-events/types.ts index 56b77b05..3cd4be92 100644 --- a/src/services/personalize-events/types.ts +++ b/src/services/personalize-events/types.ts @@ -7,40 +7,31 @@ export declare class PersonalizeEvents extends AWSServiceClient { input: PutActionInteractionsRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; putActions( input: PutActionsRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; putEvents( input: PutEventsRequest, - ): Effect.Effect<{}, InvalidInputException | CommonAwsError>; + ): Effect.Effect< + {}, + InvalidInputException | CommonAwsError + >; putItems( input: PutItemsRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; putUsers( input: PutUsersRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; } @@ -178,7 +169,9 @@ export declare namespace PutActions { export declare namespace PutEvents { export type Input = PutEventsRequest; export type Output = {}; - export type Error = InvalidInputException | CommonAwsError; + export type Error = + | InvalidInputException + | CommonAwsError; } export declare namespace PutItems { @@ -201,8 +194,5 @@ export declare namespace PutUsers { | CommonAwsError; } -export type PersonalizeEventsErrors = - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError; +export type PersonalizeEventsErrors = InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/personalize-runtime/index.ts b/src/services/personalize-runtime/index.ts index e86cb864..7511eceb 100644 --- a/src/services/personalize-runtime/index.ts +++ b/src/services/personalize-runtime/index.ts @@ -5,26 +5,7 @@ import type { PersonalizeRuntime as _PersonalizeRuntimeClient } from "./types.ts export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,9 +15,9 @@ const metadata = { sigV4ServiceName: "personalize", endpointPrefix: "personalize-runtime", operations: { - GetActionRecommendations: "POST /action-recommendations", - GetPersonalizedRanking: "POST /personalize-ranking", - GetRecommendations: "POST /recommendations", + "GetActionRecommendations": "POST /action-recommendations", + "GetPersonalizedRanking": "POST /personalize-ranking", + "GetRecommendations": "POST /recommendations", }, } as const satisfies ServiceMetadata; diff --git a/src/services/personalize-runtime/types.ts b/src/services/personalize-runtime/types.ts index fe379abd..a3ca28ef 100644 --- a/src/services/personalize-runtime/types.ts +++ b/src/services/personalize-runtime/types.ts @@ -163,7 +163,5 @@ export declare namespace GetRecommendations { | CommonAwsError; } -export type PersonalizeRuntimeErrors = - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError; +export type PersonalizeRuntimeErrors = InvalidInputException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/personalize/index.ts b/src/services/personalize/index.ts index 94b5ba3d..f753668c 100644 --- a/src/services/personalize/index.ts +++ b/src/services/personalize/index.ts @@ -5,26 +5,7 @@ import type { Personalize as _PersonalizeClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/personalize/types.ts b/src/services/personalize/types.ts index 4f68bda8..15811ab9 100644 --- a/src/services/personalize/types.ts +++ b/src/services/personalize/types.ts @@ -7,255 +7,145 @@ export declare class Personalize extends AWSServiceClient { input: CreateBatchInferenceJobRequest, ): Effect.Effect< CreateBatchInferenceJobResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createBatchSegmentJob( input: CreateBatchSegmentJobRequest, ): Effect.Effect< CreateBatchSegmentJobResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createCampaign( input: CreateCampaignRequest, ): Effect.Effect< CreateCampaignResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createDataDeletionJob( input: CreateDataDeletionJobRequest, ): Effect.Effect< CreateDataDeletionJobResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createDataset( input: CreateDatasetRequest, ): Effect.Effect< CreateDatasetResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createDatasetExportJob( input: CreateDatasetExportJobRequest, ): Effect.Effect< CreateDatasetExportJobResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createDatasetGroup( input: CreateDatasetGroupRequest, ): Effect.Effect< CreateDatasetGroupResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | TooManyTagsException | CommonAwsError >; createDatasetImportJob( input: CreateDatasetImportJobRequest, ): Effect.Effect< CreateDatasetImportJobResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createEventTracker( input: CreateEventTrackerRequest, ): Effect.Effect< CreateEventTrackerResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createFilter( input: CreateFilterRequest, ): Effect.Effect< CreateFilterResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createMetricAttribution( input: CreateMetricAttributionRequest, ): Effect.Effect< CreateMetricAttributionResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; createRecommender( input: CreateRecommenderRequest, ): Effect.Effect< CreateRecommenderResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createSchema( input: CreateSchemaRequest, ): Effect.Effect< CreateSchemaResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | CommonAwsError >; createSolution( input: CreateSolutionRequest, ): Effect.Effect< CreateSolutionResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; createSolutionVersion( input: CreateSolutionVersionRequest, ): Effect.Effect< CreateSolutionVersionResponse, - | InvalidInputException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; deleteCampaign( input: DeleteCampaignRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteDataset( input: DeleteDatasetRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteDatasetGroup( input: DeleteDatasetGroupRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteEventTracker( input: DeleteEventTrackerRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteFilter( input: DeleteFilterRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteMetricAttribution( input: DeleteMetricAttributionRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteRecommender( input: DeleteRecommenderRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteSchema( input: DeleteSchemaRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteSolution( input: DeleteSolutionRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; describeAlgorithm( input: DescribeAlgorithmRequest, @@ -369,10 +259,7 @@ export declare class Personalize extends AWSServiceClient { input: GetSolutionMetricsRequest, ): Effect.Effect< GetSolutionMetricsResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; listBatchInferenceJobs( input: ListBatchInferenceJobsRequest, @@ -474,114 +361,73 @@ export declare class Personalize extends AWSServiceClient { input: ListSolutionVersionsRequest, ): Effect.Effect< ListSolutionVersionsResponse, - | InvalidInputException - | InvalidNextTokenException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | InvalidNextTokenException | ResourceNotFoundException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; startRecommender( input: StartRecommenderRequest, ): Effect.Effect< StartRecommenderResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; stopRecommender( input: StopRecommenderRequest, ): Effect.Effect< StopRecommenderResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; stopSolutionVersionCreation( input: StopSolutionVersionCreationRequest, ): Effect.Effect< {}, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidInputException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagKeysException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | TooManyTagKeysException | CommonAwsError >; updateCampaign( input: UpdateCampaignRequest, ): Effect.Effect< UpdateCampaignResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateDataset( input: UpdateDatasetRequest, ): Effect.Effect< UpdateDatasetResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateMetricAttribution( input: UpdateMetricAttributionRequest, ): Effect.Effect< UpdateMetricAttributionResponse, - | InvalidInputException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateRecommender( input: UpdateRecommenderRequest, ): Effect.Effect< UpdateRecommenderResponse, - | InvalidInputException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateSolution( input: UpdateSolutionRequest, ): Effect.Effect< UpdateSolutionResponse, - | InvalidInputException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidInputException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; } @@ -727,8 +573,7 @@ export interface CategoricalHyperParameterRange { name?: string; values?: Array; } -export type CategoricalHyperParameterRanges = - Array; +export type CategoricalHyperParameterRanges = Array; export type CategoricalValue = string; export type CategoricalValues = Array; @@ -740,8 +585,7 @@ export interface ContinuousHyperParameterRange { minValue?: number; maxValue?: number; } -export type ContinuousHyperParameterRanges = - Array; +export type ContinuousHyperParameterRanges = Array; export type ContinuousMaxValue = number; export type ContinuousMinValue = number; @@ -1052,16 +896,14 @@ export interface DefaultCategoricalHyperParameterRange { values?: Array; isTunable?: boolean; } -export type DefaultCategoricalHyperParameterRanges = - Array; +export type DefaultCategoricalHyperParameterRanges = Array; export interface DefaultContinuousHyperParameterRange { name?: string; minValue?: number; maxValue?: number; isTunable?: boolean; } -export type DefaultContinuousHyperParameterRanges = - Array; +export type DefaultContinuousHyperParameterRanges = Array; export interface DefaultHyperParameterRanges { integerHyperParameterRanges?: Array; continuousHyperParameterRanges?: Array; @@ -1073,8 +915,7 @@ export interface DefaultIntegerHyperParameterRange { maxValue?: number; isTunable?: boolean; } -export type DefaultIntegerHyperParameterRanges = - Array; +export type DefaultIntegerHyperParameterRanges = Array; export interface DeleteCampaignRequest { campaignArn: string; } @@ -1767,7 +1608,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -1806,7 +1648,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateCampaignRequest { campaignArn: string; solutionVersionArn?: string; @@ -2345,7 +2188,9 @@ export declare namespace ListDatasetExportJobs { export declare namespace ListDatasetGroups { export type Input = ListDatasetGroupsRequest; export type Output = ListDatasetGroupsResponse; - export type Error = InvalidNextTokenException | CommonAwsError; + export type Error = + | InvalidNextTokenException + | CommonAwsError; } export declare namespace ListDatasetImportJobs { @@ -2423,7 +2268,9 @@ export declare namespace ListRecommenders { export declare namespace ListSchemas { export type Input = ListSchemasRequest; export type Output = ListSchemasResponse; - export type Error = InvalidNextTokenException | CommonAwsError; + export type Error = + | InvalidNextTokenException + | CommonAwsError; } export declare namespace ListSolutions { @@ -2560,13 +2407,5 @@ export declare namespace UpdateSolution { | CommonAwsError; } -export type PersonalizeErrors = - | InvalidInputException - | InvalidNextTokenException - | LimitExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | TooManyTagKeysException - | TooManyTagsException - | CommonAwsError; +export type PersonalizeErrors = InvalidInputException | InvalidNextTokenException | LimitExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | TooManyTagKeysException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/pi/index.ts b/src/services/pi/index.ts index 4d815419..29ee076a 100644 --- a/src/services/pi/index.ts +++ b/src/services/pi/index.ts @@ -5,26 +5,7 @@ import type { PI as _PIClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/pi/types.ts b/src/services/pi/types.ts index c13d2878..7d9264f4 100644 --- a/src/services/pi/types.ts +++ b/src/services/pi/types.ts @@ -7,118 +7,79 @@ export declare class PI extends AWSServiceClient { input: CreatePerformanceAnalysisReportRequest, ): Effect.Effect< CreatePerformanceAnalysisReportResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; deletePerformanceAnalysisReport( input: DeletePerformanceAnalysisReportRequest, ): Effect.Effect< DeletePerformanceAnalysisReportResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; describeDimensionKeys( input: DescribeDimensionKeysRequest, ): Effect.Effect< DescribeDimensionKeysResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; getDimensionKeyDetails( input: GetDimensionKeyDetailsRequest, ): Effect.Effect< GetDimensionKeyDetailsResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; getPerformanceAnalysisReport( input: GetPerformanceAnalysisReportRequest, ): Effect.Effect< GetPerformanceAnalysisReportResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; getResourceMetadata( input: GetResourceMetadataRequest, ): Effect.Effect< GetResourceMetadataResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; getResourceMetrics( input: GetResourceMetricsRequest, ): Effect.Effect< GetResourceMetricsResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; listAvailableResourceDimensions( input: ListAvailableResourceDimensionsRequest, ): Effect.Effect< ListAvailableResourceDimensionsResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; listAvailableResourceMetrics( input: ListAvailableResourceMetricsRequest, ): Effect.Effect< ListAvailableResourceMetricsResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; listPerformanceAnalysisReports( input: ListPerformanceAnalysisReportsRequest, ): Effect.Effect< ListPerformanceAnalysisReportsResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError + InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError >; } @@ -179,7 +140,8 @@ export interface DeletePerformanceAnalysisReportRequest { Identifier: string; AnalysisReportId: string; } -export interface DeletePerformanceAnalysisReportResponse {} +export interface DeletePerformanceAnalysisReportResponse { +} export interface DescribeDimensionKeysRequest { ServiceType: ServiceType; Identifier: string; @@ -244,17 +206,8 @@ export interface FeatureMetadata { Status?: FeatureStatus; } export type FeatureMetadataMap = Record; -export type FeatureStatus = - | "ENABLED" - | "DISABLED" - | "UNSUPPORTED" - | "ENABLED_PENDING_REBOOT" - | "DISABLED_PENDING_REBOOT" - | "UNKNOWN"; -export type FineGrainedAction = - | "DescribeDimensionKeys" - | "GetDimensionKeyDetails" - | "GetResourceMetrics"; +export type FeatureStatus = "ENABLED" | "DISABLED" | "UNSUPPORTED" | "ENABLED_PENDING_REBOOT" | "DISABLED_PENDING_REBOOT" | "UNKNOWN"; +export type FineGrainedAction = "DescribeDimensionKeys" | "GetDimensionKeyDetails" | "GetResourceMetrics"; export interface GetDimensionKeyDetailsRequest { ServiceType: ServiceType; Identifier: string; @@ -454,7 +407,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TextFormat = "PLAIN_TEXT" | "MARKDOWN"; @@ -463,7 +417,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare namespace CreatePerformanceAnalysisReport { export type Input = CreatePerformanceAnalysisReportRequest; export type Output = CreatePerformanceAnalysisReportResponse; @@ -594,8 +549,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type PIErrors = - | InternalServiceError - | InvalidArgumentException - | NotAuthorizedException - | CommonAwsError; +export type PIErrors = InternalServiceError | InvalidArgumentException | NotAuthorizedException | CommonAwsError; + diff --git a/src/services/pinpoint-email/index.ts b/src/services/pinpoint-email/index.ts index 3fc8b484..b12cc5b4 100644 --- a/src/services/pinpoint-email/index.ts +++ b/src/services/pinpoint-email/index.ts @@ -5,26 +5,7 @@ import type { PinpointEmail as _PinpointEmailClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,69 +15,48 @@ const metadata = { sigV4ServiceName: "ses", endpointPrefix: "email", operations: { - CreateConfigurationSet: "POST /v1/email/configuration-sets", - CreateConfigurationSetEventDestination: - "POST /v1/email/configuration-sets/{ConfigurationSetName}/event-destinations", - CreateDedicatedIpPool: "POST /v1/email/dedicated-ip-pools", - CreateDeliverabilityTestReport: - "POST /v1/email/deliverability-dashboard/test", - CreateEmailIdentity: "POST /v1/email/identities", - DeleteConfigurationSet: - "DELETE /v1/email/configuration-sets/{ConfigurationSetName}", - DeleteConfigurationSetEventDestination: - "DELETE /v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - DeleteDedicatedIpPool: "DELETE /v1/email/dedicated-ip-pools/{PoolName}", - DeleteEmailIdentity: "DELETE /v1/email/identities/{EmailIdentity}", - GetAccount: "GET /v1/email/account", - GetBlacklistReports: - "GET /v1/email/deliverability-dashboard/blacklist-report", - GetConfigurationSet: - "GET /v1/email/configuration-sets/{ConfigurationSetName}", - GetConfigurationSetEventDestinations: - "GET /v1/email/configuration-sets/{ConfigurationSetName}/event-destinations", - GetDedicatedIp: "GET /v1/email/dedicated-ips/{Ip}", - GetDedicatedIps: "GET /v1/email/dedicated-ips", - GetDeliverabilityDashboardOptions: "GET /v1/email/deliverability-dashboard", - GetDeliverabilityTestReport: - "GET /v1/email/deliverability-dashboard/test-reports/{ReportId}", - GetDomainDeliverabilityCampaign: - "GET /v1/email/deliverability-dashboard/campaigns/{CampaignId}", - GetDomainStatisticsReport: - "GET /v1/email/deliverability-dashboard/statistics-report/{Domain}", - GetEmailIdentity: "GET /v1/email/identities/{EmailIdentity}", - ListConfigurationSets: "GET /v1/email/configuration-sets", - ListDedicatedIpPools: "GET /v1/email/dedicated-ip-pools", - ListDeliverabilityTestReports: - "GET /v1/email/deliverability-dashboard/test-reports", - ListDomainDeliverabilityCampaigns: - "GET /v1/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns", - ListEmailIdentities: "GET /v1/email/identities", - ListTagsForResource: "GET /v1/email/tags", - PutAccountDedicatedIpWarmupAttributes: - "PUT /v1/email/account/dedicated-ips/warmup", - PutAccountSendingAttributes: "PUT /v1/email/account/sending", - PutConfigurationSetDeliveryOptions: - "PUT /v1/email/configuration-sets/{ConfigurationSetName}/delivery-options", - PutConfigurationSetReputationOptions: - "PUT /v1/email/configuration-sets/{ConfigurationSetName}/reputation-options", - PutConfigurationSetSendingOptions: - "PUT /v1/email/configuration-sets/{ConfigurationSetName}/sending", - PutConfigurationSetTrackingOptions: - "PUT /v1/email/configuration-sets/{ConfigurationSetName}/tracking-options", - PutDedicatedIpInPool: "PUT /v1/email/dedicated-ips/{Ip}/pool", - PutDedicatedIpWarmupAttributes: "PUT /v1/email/dedicated-ips/{Ip}/warmup", - PutDeliverabilityDashboardOption: "PUT /v1/email/deliverability-dashboard", - PutEmailIdentityDkimAttributes: - "PUT /v1/email/identities/{EmailIdentity}/dkim", - PutEmailIdentityFeedbackAttributes: - "PUT /v1/email/identities/{EmailIdentity}/feedback", - PutEmailIdentityMailFromAttributes: - "PUT /v1/email/identities/{EmailIdentity}/mail-from", - SendEmail: "POST /v1/email/outbound-emails", - TagResource: "POST /v1/email/tags", - UntagResource: "DELETE /v1/email/tags", - UpdateConfigurationSetEventDestination: - "PUT /v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", + "CreateConfigurationSet": "POST /v1/email/configuration-sets", + "CreateConfigurationSetEventDestination": "POST /v1/email/configuration-sets/{ConfigurationSetName}/event-destinations", + "CreateDedicatedIpPool": "POST /v1/email/dedicated-ip-pools", + "CreateDeliverabilityTestReport": "POST /v1/email/deliverability-dashboard/test", + "CreateEmailIdentity": "POST /v1/email/identities", + "DeleteConfigurationSet": "DELETE /v1/email/configuration-sets/{ConfigurationSetName}", + "DeleteConfigurationSetEventDestination": "DELETE /v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", + "DeleteDedicatedIpPool": "DELETE /v1/email/dedicated-ip-pools/{PoolName}", + "DeleteEmailIdentity": "DELETE /v1/email/identities/{EmailIdentity}", + "GetAccount": "GET /v1/email/account", + "GetBlacklistReports": "GET /v1/email/deliverability-dashboard/blacklist-report", + "GetConfigurationSet": "GET /v1/email/configuration-sets/{ConfigurationSetName}", + "GetConfigurationSetEventDestinations": "GET /v1/email/configuration-sets/{ConfigurationSetName}/event-destinations", + "GetDedicatedIp": "GET /v1/email/dedicated-ips/{Ip}", + "GetDedicatedIps": "GET /v1/email/dedicated-ips", + "GetDeliverabilityDashboardOptions": "GET /v1/email/deliverability-dashboard", + "GetDeliverabilityTestReport": "GET /v1/email/deliverability-dashboard/test-reports/{ReportId}", + "GetDomainDeliverabilityCampaign": "GET /v1/email/deliverability-dashboard/campaigns/{CampaignId}", + "GetDomainStatisticsReport": "GET /v1/email/deliverability-dashboard/statistics-report/{Domain}", + "GetEmailIdentity": "GET /v1/email/identities/{EmailIdentity}", + "ListConfigurationSets": "GET /v1/email/configuration-sets", + "ListDedicatedIpPools": "GET /v1/email/dedicated-ip-pools", + "ListDeliverabilityTestReports": "GET /v1/email/deliverability-dashboard/test-reports", + "ListDomainDeliverabilityCampaigns": "GET /v1/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns", + "ListEmailIdentities": "GET /v1/email/identities", + "ListTagsForResource": "GET /v1/email/tags", + "PutAccountDedicatedIpWarmupAttributes": "PUT /v1/email/account/dedicated-ips/warmup", + "PutAccountSendingAttributes": "PUT /v1/email/account/sending", + "PutConfigurationSetDeliveryOptions": "PUT /v1/email/configuration-sets/{ConfigurationSetName}/delivery-options", + "PutConfigurationSetReputationOptions": "PUT /v1/email/configuration-sets/{ConfigurationSetName}/reputation-options", + "PutConfigurationSetSendingOptions": "PUT /v1/email/configuration-sets/{ConfigurationSetName}/sending", + "PutConfigurationSetTrackingOptions": "PUT /v1/email/configuration-sets/{ConfigurationSetName}/tracking-options", + "PutDedicatedIpInPool": "PUT /v1/email/dedicated-ips/{Ip}/pool", + "PutDedicatedIpWarmupAttributes": "PUT /v1/email/dedicated-ips/{Ip}/warmup", + "PutDeliverabilityDashboardOption": "PUT /v1/email/deliverability-dashboard", + "PutEmailIdentityDkimAttributes": "PUT /v1/email/identities/{EmailIdentity}/dkim", + "PutEmailIdentityFeedbackAttributes": "PUT /v1/email/identities/{EmailIdentity}/feedback", + "PutEmailIdentityMailFromAttributes": "PUT /v1/email/identities/{EmailIdentity}/mail-from", + "SendEmail": "POST /v1/email/outbound-emails", + "TagResource": "POST /v1/email/tags", + "UntagResource": "DELETE /v1/email/tags", + "UpdateConfigurationSetEventDestination": "PUT /v1/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/pinpoint-email/types.ts b/src/services/pinpoint-email/types.ts index 8249a42c..ac8250b9 100644 --- a/src/services/pinpoint-email/types.ts +++ b/src/services/pinpoint-email/types.ts @@ -7,99 +7,55 @@ export declare class PinpointEmail extends AWSServiceClient { input: CreateConfigurationSetRequest, ): Effect.Effect< CreateConfigurationSetResponse, - | AlreadyExistsException - | BadRequestException - | ConcurrentModificationException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | ConcurrentModificationException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; createConfigurationSetEventDestination( input: CreateConfigurationSetEventDestinationRequest, ): Effect.Effect< CreateConfigurationSetEventDestinationResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; createDedicatedIpPool( input: CreateDedicatedIpPoolRequest, ): Effect.Effect< CreateDedicatedIpPoolResponse, - | AlreadyExistsException - | BadRequestException - | ConcurrentModificationException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | ConcurrentModificationException | LimitExceededException | TooManyRequestsException | CommonAwsError >; createDeliverabilityTestReport( input: CreateDeliverabilityTestReportRequest, ): Effect.Effect< CreateDeliverabilityTestReportResponse, - | AccountSuspendedException - | BadRequestException - | ConcurrentModificationException - | LimitExceededException - | MailFromDomainNotVerifiedException - | MessageRejected - | NotFoundException - | SendingPausedException - | TooManyRequestsException - | CommonAwsError + AccountSuspendedException | BadRequestException | ConcurrentModificationException | LimitExceededException | MailFromDomainNotVerifiedException | MessageRejected | NotFoundException | SendingPausedException | TooManyRequestsException | CommonAwsError >; createEmailIdentity( input: CreateEmailIdentityRequest, ): Effect.Effect< CreateEmailIdentityResponse, - | BadRequestException - | ConcurrentModificationException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | LimitExceededException | TooManyRequestsException | CommonAwsError >; deleteConfigurationSet( input: DeleteConfigurationSetRequest, ): Effect.Effect< DeleteConfigurationSetResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteConfigurationSetEventDestination( input: DeleteConfigurationSetEventDestinationRequest, ): Effect.Effect< DeleteConfigurationSetEventDestinationResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteDedicatedIpPool( input: DeleteDedicatedIpPoolRequest, ): Effect.Effect< DeleteDedicatedIpPoolResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteEmailIdentity( input: DeleteEmailIdentityRequest, ): Effect.Effect< DeleteEmailIdentityResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; getAccount( input: GetAccountRequest, @@ -111,91 +67,61 @@ export declare class PinpointEmail extends AWSServiceClient { input: GetBlacklistReportsRequest, ): Effect.Effect< GetBlacklistReportsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getConfigurationSet( input: GetConfigurationSetRequest, ): Effect.Effect< GetConfigurationSetResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getConfigurationSetEventDestinations( input: GetConfigurationSetEventDestinationsRequest, ): Effect.Effect< GetConfigurationSetEventDestinationsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDedicatedIp( input: GetDedicatedIpRequest, ): Effect.Effect< GetDedicatedIpResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDedicatedIps( input: GetDedicatedIpsRequest, ): Effect.Effect< GetDedicatedIpsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDeliverabilityDashboardOptions( input: GetDeliverabilityDashboardOptionsRequest, ): Effect.Effect< GetDeliverabilityDashboardOptionsResponse, - | BadRequestException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | LimitExceededException | TooManyRequestsException | CommonAwsError >; getDeliverabilityTestReport( input: GetDeliverabilityTestReportRequest, ): Effect.Effect< GetDeliverabilityTestReportResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDomainDeliverabilityCampaign( input: GetDomainDeliverabilityCampaignRequest, ): Effect.Effect< GetDomainDeliverabilityCampaignResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDomainStatisticsReport( input: GetDomainStatisticsReportRequest, ): Effect.Effect< GetDomainStatisticsReportResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getEmailIdentity( input: GetEmailIdentityRequest, ): Effect.Effect< GetEmailIdentityResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listConfigurationSets( input: ListConfigurationSetsRequest, @@ -213,19 +139,13 @@ export declare class PinpointEmail extends AWSServiceClient { input: ListDeliverabilityTestReportsRequest, ): Effect.Effect< ListDeliverabilityTestReportsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listDomainDeliverabilityCampaigns( input: ListDomainDeliverabilityCampaignsRequest, ): Effect.Effect< ListDomainDeliverabilityCampaignsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listEmailIdentities( input: ListEmailIdentitiesRequest, @@ -237,10 +157,7 @@ export declare class PinpointEmail extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putAccountDedicatedIpWarmupAttributes( input: PutAccountDedicatedIpWarmupAttributesRequest, @@ -258,136 +175,85 @@ export declare class PinpointEmail extends AWSServiceClient { input: PutConfigurationSetDeliveryOptionsRequest, ): Effect.Effect< PutConfigurationSetDeliveryOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putConfigurationSetReputationOptions( input: PutConfigurationSetReputationOptionsRequest, ): Effect.Effect< PutConfigurationSetReputationOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putConfigurationSetSendingOptions( input: PutConfigurationSetSendingOptionsRequest, ): Effect.Effect< PutConfigurationSetSendingOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putConfigurationSetTrackingOptions( input: PutConfigurationSetTrackingOptionsRequest, ): Effect.Effect< PutConfigurationSetTrackingOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putDedicatedIpInPool( input: PutDedicatedIpInPoolRequest, ): Effect.Effect< PutDedicatedIpInPoolResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putDedicatedIpWarmupAttributes( input: PutDedicatedIpWarmupAttributesRequest, ): Effect.Effect< PutDedicatedIpWarmupAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putDeliverabilityDashboardOption( input: PutDeliverabilityDashboardOptionRequest, ): Effect.Effect< PutDeliverabilityDashboardOptionResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; putEmailIdentityDkimAttributes( input: PutEmailIdentityDkimAttributesRequest, ): Effect.Effect< PutEmailIdentityDkimAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putEmailIdentityFeedbackAttributes( input: PutEmailIdentityFeedbackAttributesRequest, ): Effect.Effect< PutEmailIdentityFeedbackAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putEmailIdentityMailFromAttributes( input: PutEmailIdentityMailFromAttributesRequest, ): Effect.Effect< PutEmailIdentityMailFromAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; sendEmail( input: SendEmailRequest, ): Effect.Effect< SendEmailResponse, - | AccountSuspendedException - | BadRequestException - | LimitExceededException - | MailFromDomainNotVerifiedException - | MessageRejected - | NotFoundException - | SendingPausedException - | TooManyRequestsException - | CommonAwsError + AccountSuspendedException | BadRequestException | LimitExceededException | MailFromDomainNotVerifiedException | MessageRejected | NotFoundException | SendingPausedException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateConfigurationSetEventDestination( input: UpdateConfigurationSetEventDestinationRequest, ): Effect.Effect< UpdateConfigurationSetEventDestinationResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -437,8 +303,7 @@ export interface CloudWatchDimensionConfiguration { DimensionValueSource: DimensionValueSource; DefaultDimensionValue: string; } -export type CloudWatchDimensionConfigurations = - Array; +export type CloudWatchDimensionConfigurations = Array; export declare class ConcurrentModificationException extends EffectData.TaggedError( "ConcurrentModificationException", )<{ @@ -456,7 +321,8 @@ export interface CreateConfigurationSetEventDestinationRequest { EventDestinationName: string; EventDestination: EventDestinationDefinition; } -export interface CreateConfigurationSetEventDestinationResponse {} +export interface CreateConfigurationSetEventDestinationResponse { +} export interface CreateConfigurationSetRequest { ConfigurationSetName: string; TrackingOptions?: TrackingOptions; @@ -465,12 +331,14 @@ export interface CreateConfigurationSetRequest { SendingOptions?: SendingOptions; Tags?: Array; } -export interface CreateConfigurationSetResponse {} +export interface CreateConfigurationSetResponse { +} export interface CreateDedicatedIpPoolRequest { PoolName: string; Tags?: Array; } -export interface CreateDedicatedIpPoolResponse {} +export interface CreateDedicatedIpPoolResponse { +} export interface CreateDeliverabilityTestReportRequest { ReportName?: string; FromEmailAddress: string; @@ -511,23 +379,24 @@ export interface DeleteConfigurationSetEventDestinationRequest { ConfigurationSetName: string; EventDestinationName: string; } -export interface DeleteConfigurationSetEventDestinationResponse {} +export interface DeleteConfigurationSetEventDestinationResponse { +} export interface DeleteConfigurationSetRequest { ConfigurationSetName: string; } -export interface DeleteConfigurationSetResponse {} +export interface DeleteConfigurationSetResponse { +} export interface DeleteDedicatedIpPoolRequest { PoolName: string; } -export interface DeleteDedicatedIpPoolResponse {} +export interface DeleteDedicatedIpPoolResponse { +} export interface DeleteEmailIdentityRequest { EmailIdentity: string; } -export interface DeleteEmailIdentityResponse {} -export type DeliverabilityDashboardAccountStatus = - | "ACTIVE" - | "PENDING_EXPIRATION" - | "DISABLED"; +export interface DeleteEmailIdentityResponse { +} +export type DeliverabilityDashboardAccountStatus = "ACTIVE" | "PENDING_EXPIRATION" | "DISABLED"; export interface DeliverabilityTestReport { ReportId?: string; ReportName?: string; @@ -557,12 +426,7 @@ export interface DkimAttributes { Status?: DkimStatus; Tokens?: Array; } -export type DkimStatus = - | "PENDING" - | "SUCCESS" - | "FAILED" - | "TEMPORARY_FAILURE" - | "NOT_STARTED"; +export type DkimStatus = "PENDING" | "SUCCESS" | "FAILED" | "TEMPORARY_FAILURE" | "NOT_STARTED"; export type DnsToken = string; export type DnsTokenList = Array; @@ -584,15 +448,13 @@ export interface DomainDeliverabilityCampaign { ProjectedVolume?: number; Esps?: Array; } -export type DomainDeliverabilityCampaignList = - Array; +export type DomainDeliverabilityCampaignList = Array; export interface DomainDeliverabilityTrackingOption { Domain?: string; SubscriptionStartDate?: Date | string; InboxPlacementTrackingOption?: InboxPlacementTrackingOption; } -export type DomainDeliverabilityTrackingOptions = - Array; +export type DomainDeliverabilityTrackingOptions = Array; export interface DomainIspPlacement { IspName?: string; InboxRawCount?: number; @@ -636,19 +498,12 @@ export interface EventDestinationDefinition { export type EventDestinationName = string; export type EventDestinations = Array; -export type EventType = - | "SEND" - | "REJECT" - | "BOUNCE" - | "COMPLAINT" - | "DELIVERY" - | "OPEN" - | "CLICK" - | "RENDERING_FAILURE"; +export type EventType = "SEND" | "REJECT" | "BOUNCE" | "COMPLAINT" | "DELIVERY" | "OPEN" | "CLICK" | "RENDERING_FAILURE"; export type EventTypes = Array; export type GeneralEnforcementStatus = string; -export interface GetAccountRequest {} +export interface GetAccountRequest { +} export interface GetAccountResponse { SendQuota?: SendQuota; SendingEnabled?: boolean; @@ -694,7 +549,8 @@ export interface GetDedicatedIpsResponse { DedicatedIps?: Array; NextToken?: string; } -export interface GetDeliverabilityDashboardOptionsRequest {} +export interface GetDeliverabilityDashboardOptionsRequest { +} export interface GetDeliverabilityDashboardOptionsResponse { DashboardEnabled: boolean; SubscriptionExpiryDate?: Date | string; @@ -837,11 +693,7 @@ export declare class MailFromDomainNotVerifiedException extends EffectData.Tagge )<{ readonly message?: string; }> {} -export type MailFromDomainStatus = - | "PENDING" - | "SUCCESS" - | "FAILED" - | "TEMPORARY_FAILURE"; +export type MailFromDomainStatus = "PENDING" | "SUCCESS" | "FAILED" | "TEMPORARY_FAILURE"; export type Max24HourSend = number; export type MaxItems = number; @@ -903,63 +755,75 @@ export type PoolName = string; export interface PutAccountDedicatedIpWarmupAttributesRequest { AutoWarmupEnabled?: boolean; } -export interface PutAccountDedicatedIpWarmupAttributesResponse {} +export interface PutAccountDedicatedIpWarmupAttributesResponse { +} export interface PutAccountSendingAttributesRequest { SendingEnabled?: boolean; } -export interface PutAccountSendingAttributesResponse {} +export interface PutAccountSendingAttributesResponse { +} export interface PutConfigurationSetDeliveryOptionsRequest { ConfigurationSetName: string; TlsPolicy?: TlsPolicy; SendingPoolName?: string; } -export interface PutConfigurationSetDeliveryOptionsResponse {} +export interface PutConfigurationSetDeliveryOptionsResponse { +} export interface PutConfigurationSetReputationOptionsRequest { ConfigurationSetName: string; ReputationMetricsEnabled?: boolean; } -export interface PutConfigurationSetReputationOptionsResponse {} +export interface PutConfigurationSetReputationOptionsResponse { +} export interface PutConfigurationSetSendingOptionsRequest { ConfigurationSetName: string; SendingEnabled?: boolean; } -export interface PutConfigurationSetSendingOptionsResponse {} +export interface PutConfigurationSetSendingOptionsResponse { +} export interface PutConfigurationSetTrackingOptionsRequest { ConfigurationSetName: string; CustomRedirectDomain?: string; } -export interface PutConfigurationSetTrackingOptionsResponse {} +export interface PutConfigurationSetTrackingOptionsResponse { +} export interface PutDedicatedIpInPoolRequest { Ip: string; DestinationPoolName: string; } -export interface PutDedicatedIpInPoolResponse {} +export interface PutDedicatedIpInPoolResponse { +} export interface PutDedicatedIpWarmupAttributesRequest { Ip: string; WarmupPercentage: number; } -export interface PutDedicatedIpWarmupAttributesResponse {} +export interface PutDedicatedIpWarmupAttributesResponse { +} export interface PutDeliverabilityDashboardOptionRequest { DashboardEnabled: boolean; SubscribedDomains?: Array; } -export interface PutDeliverabilityDashboardOptionResponse {} +export interface PutDeliverabilityDashboardOptionResponse { +} export interface PutEmailIdentityDkimAttributesRequest { EmailIdentity: string; SigningEnabled?: boolean; } -export interface PutEmailIdentityDkimAttributesResponse {} +export interface PutEmailIdentityDkimAttributesResponse { +} export interface PutEmailIdentityFeedbackAttributesRequest { EmailIdentity: string; EmailForwardingEnabled?: boolean; } -export interface PutEmailIdentityFeedbackAttributesResponse {} +export interface PutEmailIdentityFeedbackAttributesResponse { +} export interface PutEmailIdentityMailFromAttributesRequest { EmailIdentity: string; MailFromDomain?: string; BehaviorOnMxFailure?: BehaviorOnMxFailure; } -export interface PutEmailIdentityMailFromAttributesResponse {} +export interface PutEmailIdentityMailFromAttributesResponse { +} export interface RawMessage { Data: Uint8Array | string; } @@ -1021,7 +885,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Template { @@ -1047,13 +912,15 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateConfigurationSetEventDestinationRequest { ConfigurationSetName: string; EventDestinationName: string; EventDestination: EventDestinationDefinition; } -export interface UpdateConfigurationSetEventDestinationResponse {} +export interface UpdateConfigurationSetEventDestinationResponse { +} export type Volume = number; export interface VolumeStatistics { @@ -1503,15 +1370,5 @@ export declare namespace UpdateConfigurationSetEventDestination { | CommonAwsError; } -export type PinpointEmailErrors = - | AccountSuspendedException - | AlreadyExistsException - | BadRequestException - | ConcurrentModificationException - | LimitExceededException - | MailFromDomainNotVerifiedException - | MessageRejected - | NotFoundException - | SendingPausedException - | TooManyRequestsException - | CommonAwsError; +export type PinpointEmailErrors = AccountSuspendedException | AlreadyExistsException | BadRequestException | ConcurrentModificationException | LimitExceededException | MailFromDomainNotVerifiedException | MessageRejected | NotFoundException | SendingPausedException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/pinpoint-sms-voice-v2/index.ts b/src/services/pinpoint-sms-voice-v2/index.ts index e4950d4d..35828c5a 100644 --- a/src/services/pinpoint-sms-voice-v2/index.ts +++ b/src/services/pinpoint-sms-voice-v2/index.ts @@ -5,23 +5,7 @@ import type { PinpointSMSVoiceV2 as _PinpointSMSVoiceV2Client } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/pinpoint-sms-voice-v2/types.ts b/src/services/pinpoint-sms-voice-v2/types.ts index 1e4b6a07..5cd09558 100644 --- a/src/services/pinpoint-sms-voice-v2/types.ts +++ b/src/services/pinpoint-sms-voice-v2/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class PinpointSMSVoiceV2 extends AWSServiceClient { @@ -40,1042 +8,547 @@ export declare class PinpointSMSVoiceV2 extends AWSServiceClient { input: AssociateOriginationIdentityRequest, ): Effect.Effect< AssociateOriginationIdentityResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; associateProtectConfiguration( input: AssociateProtectConfigurationRequest, ): Effect.Effect< AssociateProtectConfigurationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; carrierLookup( input: CarrierLookupRequest, ): Effect.Effect< CarrierLookupResult, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createConfigurationSet( input: CreateConfigurationSetRequest, ): Effect.Effect< CreateConfigurationSetResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEventDestination( input: CreateEventDestinationRequest, ): Effect.Effect< CreateEventDestinationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createOptOutList( input: CreateOptOutListRequest, ): Effect.Effect< CreateOptOutListResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPool( input: CreatePoolRequest, ): Effect.Effect< CreatePoolResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createProtectConfiguration( input: CreateProtectConfigurationRequest, ): Effect.Effect< CreateProtectConfigurationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRegistration( input: CreateRegistrationRequest, ): Effect.Effect< CreateRegistrationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRegistrationAssociation( input: CreateRegistrationAssociationRequest, ): Effect.Effect< CreateRegistrationAssociationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRegistrationAttachment( input: CreateRegistrationAttachmentRequest, ): Effect.Effect< CreateRegistrationAttachmentResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRegistrationVersion( input: CreateRegistrationVersionRequest, ): Effect.Effect< CreateRegistrationVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createVerifiedDestinationNumber( input: CreateVerifiedDestinationNumberRequest, ): Effect.Effect< CreateVerifiedDestinationNumberResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAccountDefaultProtectConfiguration( input: DeleteAccountDefaultProtectConfigurationRequest, ): Effect.Effect< DeleteAccountDefaultProtectConfigurationResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConfigurationSet( input: DeleteConfigurationSetRequest, ): Effect.Effect< DeleteConfigurationSetResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDefaultMessageType( input: DeleteDefaultMessageTypeRequest, ): Effect.Effect< DeleteDefaultMessageTypeResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDefaultSenderId( input: DeleteDefaultSenderIdRequest, ): Effect.Effect< DeleteDefaultSenderIdResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEventDestination( input: DeleteEventDestinationRequest, ): Effect.Effect< DeleteEventDestinationResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteKeyword( input: DeleteKeywordRequest, ): Effect.Effect< DeleteKeywordResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMediaMessageSpendLimitOverride( input: DeleteMediaMessageSpendLimitOverrideRequest, ): Effect.Effect< DeleteMediaMessageSpendLimitOverrideResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteOptedOutNumber( input: DeleteOptedOutNumberRequest, ): Effect.Effect< DeleteOptedOutNumberResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteOptOutList( input: DeleteOptOutListRequest, ): Effect.Effect< DeleteOptOutListResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePool( input: DeletePoolRequest, ): Effect.Effect< DeletePoolResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProtectConfiguration( input: DeleteProtectConfigurationRequest, ): Effect.Effect< DeleteProtectConfigurationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProtectConfigurationRuleSetNumberOverride( input: DeleteProtectConfigurationRuleSetNumberOverrideRequest, ): Effect.Effect< DeleteProtectConfigurationRuleSetNumberOverrideResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRegistration( input: DeleteRegistrationRequest, ): Effect.Effect< DeleteRegistrationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRegistrationAttachment( input: DeleteRegistrationAttachmentRequest, ): Effect.Effect< DeleteRegistrationAttachmentResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRegistrationFieldValue( input: DeleteRegistrationFieldValueRequest, ): Effect.Effect< DeleteRegistrationFieldValueResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTextMessageSpendLimitOverride( input: DeleteTextMessageSpendLimitOverrideRequest, ): Effect.Effect< DeleteTextMessageSpendLimitOverrideResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteVerifiedDestinationNumber( input: DeleteVerifiedDestinationNumberRequest, ): Effect.Effect< DeleteVerifiedDestinationNumberResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteVoiceMessageSpendLimitOverride( input: DeleteVoiceMessageSpendLimitOverrideRequest, ): Effect.Effect< DeleteVoiceMessageSpendLimitOverrideResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeAccountAttributes( input: DescribeAccountAttributesRequest, ): Effect.Effect< DescribeAccountAttributesResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeAccountLimits( input: DescribeAccountLimitsRequest, ): Effect.Effect< DescribeAccountLimitsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeConfigurationSets( input: DescribeConfigurationSetsRequest, ): Effect.Effect< DescribeConfigurationSetsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeKeywords( input: DescribeKeywordsRequest, ): Effect.Effect< DescribeKeywordsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeOptedOutNumbers( input: DescribeOptedOutNumbersRequest, ): Effect.Effect< DescribeOptedOutNumbersResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeOptOutLists( input: DescribeOptOutListsRequest, ): Effect.Effect< DescribeOptOutListsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePhoneNumbers( input: DescribePhoneNumbersRequest, ): Effect.Effect< DescribePhoneNumbersResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePools( input: DescribePoolsRequest, ): Effect.Effect< DescribePoolsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeProtectConfigurations( input: DescribeProtectConfigurationsRequest, ): Effect.Effect< DescribeProtectConfigurationsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRegistrationAttachments( input: DescribeRegistrationAttachmentsRequest, ): Effect.Effect< DescribeRegistrationAttachmentsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRegistrationFieldDefinitions( input: DescribeRegistrationFieldDefinitionsRequest, ): Effect.Effect< DescribeRegistrationFieldDefinitionsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeRegistrationFieldValues( input: DescribeRegistrationFieldValuesRequest, ): Effect.Effect< DescribeRegistrationFieldValuesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRegistrations( input: DescribeRegistrationsRequest, ): Effect.Effect< DescribeRegistrationsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRegistrationSectionDefinitions( input: DescribeRegistrationSectionDefinitionsRequest, ): Effect.Effect< DescribeRegistrationSectionDefinitionsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeRegistrationTypeDefinitions( input: DescribeRegistrationTypeDefinitionsRequest, ): Effect.Effect< DescribeRegistrationTypeDefinitionsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeRegistrationVersions( input: DescribeRegistrationVersionsRequest, ): Effect.Effect< DescribeRegistrationVersionsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeSenderIds( input: DescribeSenderIdsRequest, ): Effect.Effect< DescribeSenderIdsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeSpendLimits( input: DescribeSpendLimitsRequest, ): Effect.Effect< DescribeSpendLimitsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeVerifiedDestinationNumbers( input: DescribeVerifiedDestinationNumbersRequest, ): Effect.Effect< DescribeVerifiedDestinationNumbersResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateOriginationIdentity( input: DisassociateOriginationIdentityRequest, ): Effect.Effect< DisassociateOriginationIdentityResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateProtectConfiguration( input: DisassociateProtectConfigurationRequest, ): Effect.Effect< DisassociateProtectConfigurationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; discardRegistrationVersion( input: DiscardRegistrationVersionRequest, ): Effect.Effect< DiscardRegistrationVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProtectConfigurationCountryRuleSet( input: GetProtectConfigurationCountryRuleSetRequest, ): Effect.Effect< GetProtectConfigurationCountryRuleSetResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPoolOriginationIdentities( input: ListPoolOriginationIdentitiesRequest, ): Effect.Effect< ListPoolOriginationIdentitiesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProtectConfigurationRuleSetNumberOverrides( input: ListProtectConfigurationRuleSetNumberOverridesRequest, ): Effect.Effect< ListProtectConfigurationRuleSetNumberOverridesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRegistrationAssociations( input: ListRegistrationAssociationsRequest, ): Effect.Effect< ListRegistrationAssociationsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putKeyword( input: PutKeywordRequest, ): Effect.Effect< PutKeywordResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putMessageFeedback( input: PutMessageFeedbackRequest, ): Effect.Effect< PutMessageFeedbackResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putOptedOutNumber( input: PutOptedOutNumberRequest, ): Effect.Effect< PutOptedOutNumberResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putProtectConfigurationRuleSetNumberOverride( input: PutProtectConfigurationRuleSetNumberOverrideRequest, ): Effect.Effect< PutProtectConfigurationRuleSetNumberOverrideResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putRegistrationFieldValue( input: PutRegistrationFieldValueRequest, ): Effect.Effect< PutRegistrationFieldValueResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; releasePhoneNumber( input: ReleasePhoneNumberRequest, ): Effect.Effect< ReleasePhoneNumberResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; releaseSenderId( input: ReleaseSenderIdRequest, ): Effect.Effect< ReleaseSenderIdResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; requestPhoneNumber( input: RequestPhoneNumberRequest, ): Effect.Effect< RequestPhoneNumberResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; requestSenderId( input: RequestSenderIdRequest, ): Effect.Effect< RequestSenderIdResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; sendDestinationNumberVerificationCode( input: SendDestinationNumberVerificationCodeRequest, ): Effect.Effect< SendDestinationNumberVerificationCodeResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; sendMediaMessage( input: SendMediaMessageRequest, ): Effect.Effect< SendMediaMessageResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; sendTextMessage( input: SendTextMessageRequest, ): Effect.Effect< SendTextMessageResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; sendVoiceMessage( input: SendVoiceMessageRequest, ): Effect.Effect< SendVoiceMessageResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; setAccountDefaultProtectConfiguration( input: SetAccountDefaultProtectConfigurationRequest, ): Effect.Effect< SetAccountDefaultProtectConfigurationResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; setDefaultMessageFeedbackEnabled( input: SetDefaultMessageFeedbackEnabledRequest, ): Effect.Effect< SetDefaultMessageFeedbackEnabledResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; setDefaultMessageType( input: SetDefaultMessageTypeRequest, ): Effect.Effect< SetDefaultMessageTypeResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; setDefaultSenderId( input: SetDefaultSenderIdRequest, ): Effect.Effect< SetDefaultSenderIdResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; setMediaMessageSpendLimitOverride( input: SetMediaMessageSpendLimitOverrideRequest, ): Effect.Effect< SetMediaMessageSpendLimitOverrideResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; setTextMessageSpendLimitOverride( input: SetTextMessageSpendLimitOverrideRequest, ): Effect.Effect< SetTextMessageSpendLimitOverrideResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; setVoiceMessageSpendLimitOverride( input: SetVoiceMessageSpendLimitOverrideRequest, ): Effect.Effect< SetVoiceMessageSpendLimitOverrideResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; submitRegistrationVersion( input: SubmitRegistrationVersionRequest, ): Effect.Effect< SubmitRegistrationVersionResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEventDestination( input: UpdateEventDestinationRequest, ): Effect.Effect< UpdateEventDestinationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePhoneNumber( input: UpdatePhoneNumberRequest, ): Effect.Effect< UpdatePhoneNumberResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePool( input: UpdatePoolRequest, ): Effect.Effect< UpdatePoolResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateProtectConfiguration( input: UpdateProtectConfigurationRequest, ): Effect.Effect< UpdateProtectConfigurationResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateProtectConfigurationCountryRuleSet( input: UpdateProtectConfigurationCountryRuleSetRequest, ): Effect.Effect< UpdateProtectConfigurationCountryRuleSetResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSenderId( input: UpdateSenderIdRequest, ): Effect.Effect< UpdateSenderIdResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; verifyDestinationNumber( input: VerifyDestinationNumberRequest, ): Effect.Effect< VerifyDestinationNumberResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1175,8 +648,7 @@ export interface ConfigurationSetInformation { CreatedTimestamp: Date | string; ProtectConfigurationId?: string; } -export type ConfigurationSetInformationList = - Array; +export type ConfigurationSetInformationList = Array; export type ConfigurationSetName = string; export type ConfigurationSetNameList = Array; @@ -1334,7 +806,8 @@ export interface CreateVerifiedDestinationNumberResult { Tags?: Array; CreatedTimestamp: Date | string; } -export interface DeleteAccountDefaultProtectConfigurationRequest {} +export interface DeleteAccountDefaultProtectConfigurationRequest { +} export interface DeleteAccountDefaultProtectConfigurationResult { DefaultProtectConfigurationArn: string; DefaultProtectConfigurationId: string; @@ -1387,7 +860,8 @@ export interface DeleteKeywordResult { KeywordMessage?: string; KeywordAction?: string; } -export interface DeleteMediaMessageSpendLimitOverrideRequest {} +export interface DeleteMediaMessageSpendLimitOverrideRequest { +} export interface DeleteMediaMessageSpendLimitOverrideResult { MonthlyLimit?: number; } @@ -1494,7 +968,8 @@ export interface DeleteResourcePolicyResult { Policy?: string; CreatedTimestamp?: Date | string; } -export interface DeleteTextMessageSpendLimitOverrideRequest {} +export interface DeleteTextMessageSpendLimitOverrideRequest { +} export interface DeleteTextMessageSpendLimitOverrideResult { MonthlyLimit?: number; } @@ -1507,7 +982,8 @@ export interface DeleteVerifiedDestinationNumberResult { DestinationPhoneNumber: string; CreatedTimestamp: Date | string; } -export interface DeleteVoiceMessageSpendLimitOverrideRequest {} +export interface DeleteVoiceMessageSpendLimitOverrideRequest { +} export interface DeleteVoiceMessageSpendLimitOverrideResult { MonthlyLimit?: number; } @@ -1851,8 +1327,7 @@ export interface ListPoolOriginationIdentitiesResult { OriginationIdentities?: Array; NextToken?: string; } -export type ListProtectConfigurationRuleSetNumberOverrideFilter = - Array; +export type ListProtectConfigurationRuleSetNumberOverrideFilter = Array; export interface ListProtectConfigurationRuleSetNumberOverridesRequest { ProtectConfigurationId: string; Filters?: Array; @@ -1951,8 +1426,7 @@ export interface OriginationIdentityMetadata { NumberCapabilities: Array; PhoneNumber?: string; } -export type OriginationIdentityMetadataList = - Array; +export type OriginationIdentityMetadataList = Array; export type Owner = string; export type PhoneNumber = string; @@ -2024,18 +1498,14 @@ export interface PoolOriginationIdentitiesFilter { Name: string; Values: Array; } -export type PoolOriginationIdentitiesFilterList = - Array; +export type PoolOriginationIdentitiesFilterList = Array; export type PoolOriginationIdentitiesFilterName = string; export type PoolStatus = string; export type ProtectConfigurationArn = string; -export type ProtectConfigurationCountryRuleSet = Record< - string, - ProtectConfigurationCountryRuleSetInformation ->; +export type ProtectConfigurationCountryRuleSet = Record; export interface ProtectConfigurationCountryRuleSetInformation { ProtectStatus: string; } @@ -2058,8 +1528,7 @@ export interface ProtectConfigurationInformation { AccountDefault: boolean; DeletionProtectionEnabled: boolean; } -export type ProtectConfigurationInformationList = - Array; +export type ProtectConfigurationInformationList = Array; export type ProtectConfigurationRuleOverrideAction = string; export interface ProtectConfigurationRuleSetNumberOverride { @@ -2075,8 +1544,7 @@ export interface ProtectConfigurationRuleSetNumberOverrideFilterItem { } export type ProtectConfigurationRuleSetNumberOverrideFilterName = string; -export type ProtectConfigurationRuleSetNumberOverrideList = - Array; +export type ProtectConfigurationRuleSetNumberOverrideList = Array; export type ProtectStatus = string; export interface PutKeywordRequest { @@ -2158,8 +1626,7 @@ export interface RegistrationAssociationFilter { Name: string; Values: Array; } -export type RegistrationAssociationFilterList = - Array; +export type RegistrationAssociationFilterList = Array; export type RegistrationAssociationFilterName = string; export interface RegistrationAssociationMetadata { @@ -2169,14 +1636,12 @@ export interface RegistrationAssociationMetadata { IsoCountryCode?: string; PhoneNumber?: string; } -export type RegistrationAssociationMetadataList = - Array; +export type RegistrationAssociationMetadataList = Array; export interface RegistrationAttachmentFilter { Name: string; Values: Array; } -export type RegistrationAttachmentFilterList = - Array; +export type RegistrationAttachmentFilterList = Array; export type RegistrationAttachmentFilterName = string; export type RegistrationAttachmentIdList = Array; @@ -2189,8 +1654,7 @@ export interface RegistrationAttachmentsInformation { AttachmentUploadErrorReason?: string; CreatedTimestamp: Date | string; } -export type RegistrationAttachmentsInformationList = - Array; +export type RegistrationAttachmentsInformationList = Array; export interface RegistrationDeniedReasonInformation { Reason: string; ShortDescription: string; @@ -2198,8 +1662,7 @@ export interface RegistrationDeniedReasonInformation { DocumentationTitle?: string; DocumentationLink?: string; } -export type RegistrationDeniedReasonInformationList = - Array; +export type RegistrationDeniedReasonInformationList = Array; export type RegistrationDisassociationBehavior = string; export interface RegistrationFieldDefinition { @@ -2211,8 +1674,7 @@ export interface RegistrationFieldDefinition { TextValidation?: TextValidation; DisplayHints: RegistrationFieldDisplayHints; } -export type RegistrationFieldDefinitionList = - Array; +export type RegistrationFieldDefinitionList = Array; export interface RegistrationFieldDisplayHints { Title: string; ShortDescription: string; @@ -2230,8 +1692,7 @@ export interface RegistrationFieldValueInformation { RegistrationAttachmentId?: string; DeniedReason?: string; } -export type RegistrationFieldValueInformationList = - Array; +export type RegistrationFieldValueInformationList = Array; export interface RegistrationFilter { Name: string; Values: Array; @@ -2258,8 +1719,7 @@ export interface RegistrationSectionDefinition { SectionPath: string; DisplayHints: RegistrationSectionDisplayHints; } -export type RegistrationSectionDefinitionList = - Array; +export type RegistrationSectionDefinitionList = Array; export interface RegistrationSectionDisplayHints { Title: string; ShortDescription: string; @@ -2305,8 +1765,7 @@ export interface RegistrationVersionInformation { RegistrationVersionStatusHistory: RegistrationVersionStatusHistory; DeniedReasons?: Array; } -export type RegistrationVersionInformationList = - Array; +export type RegistrationVersionInformationList = Array; export type RegistrationVersionNumber = number; export type RegistrationVersionNumberList = Array; @@ -2637,7 +2096,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResult {} +export interface TagResourceResult { +} export type TagValue = string; export type TextMessageBody = string; @@ -2664,7 +2124,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResult {} +export interface UntagResourceResult { +} export interface UpdateEventDestinationRequest { ConfigurationSetName: string; EventDestinationName: string; @@ -2736,10 +2197,7 @@ export interface UpdatePoolResult { export interface UpdateProtectConfigurationCountryRuleSetRequest { ProtectConfigurationId: string; NumberCapability: string; - CountryRuleSetUpdates: Record< - string, - ProtectConfigurationCountryRuleSetInformation - >; + CountryRuleSetUpdates: Record; } export interface UpdateProtectConfigurationCountryRuleSetResult { ProtectConfigurationArn: string; @@ -2799,8 +2257,7 @@ export interface VerifiedDestinationNumberFilter { Name: string; Values: Array; } -export type VerifiedDestinationNumberFilterList = - Array; +export type VerifiedDestinationNumberFilterList = Array; export type VerifiedDestinationNumberFilterName = string; export type VerifiedDestinationNumberIdList = Array; @@ -2813,8 +2270,7 @@ export interface VerifiedDestinationNumberInformation { Status: string; CreatedTimestamp: Date | string; } -export type VerifiedDestinationNumberInformationList = - Array; +export type VerifiedDestinationNumberInformationList = Array; export interface VerifyDestinationNumberRequest { VerifiedDestinationNumberId: string; VerificationCode: string; @@ -3966,12 +3422,5 @@ export declare namespace VerifyDestinationNumber { | CommonAwsError; } -export type PinpointSMSVoiceV2Errors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type PinpointSMSVoiceV2Errors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/pinpoint-sms-voice/index.ts b/src/services/pinpoint-sms-voice/index.ts index 4ffef26e..f6126199 100644 --- a/src/services/pinpoint-sms-voice/index.ts +++ b/src/services/pinpoint-sms-voice/index.ts @@ -5,26 +5,7 @@ import type { PinpointSMSVoice as _PinpointSMSVoiceClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,19 +15,14 @@ const metadata = { sigV4ServiceName: "sms-voice", endpointPrefix: "sms-voice.pinpoint", operations: { - CreateConfigurationSet: "POST /v1/sms-voice/configuration-sets", - CreateConfigurationSetEventDestination: - "POST /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", - DeleteConfigurationSet: - "DELETE /v1/sms-voice/configuration-sets/{ConfigurationSetName}", - DeleteConfigurationSetEventDestination: - "DELETE /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - GetConfigurationSetEventDestinations: - "GET /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", - ListConfigurationSets: "GET /v1/sms-voice/configuration-sets", - SendVoiceMessage: "POST /v1/sms-voice/voice/message", - UpdateConfigurationSetEventDestination: - "PUT /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", + "CreateConfigurationSet": "POST /v1/sms-voice/configuration-sets", + "CreateConfigurationSetEventDestination": "POST /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", + "DeleteConfigurationSet": "DELETE /v1/sms-voice/configuration-sets/{ConfigurationSetName}", + "DeleteConfigurationSetEventDestination": "DELETE /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", + "GetConfigurationSetEventDestinations": "GET /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations", + "ListConfigurationSets": "GET /v1/sms-voice/configuration-sets", + "SendVoiceMessage": "POST /v1/sms-voice/voice/message", + "UpdateConfigurationSetEventDestination": "PUT /v1/sms-voice/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/pinpoint-sms-voice/types.ts b/src/services/pinpoint-sms-voice/types.ts index 936beccd..abea68df 100644 --- a/src/services/pinpoint-sms-voice/types.ts +++ b/src/services/pinpoint-sms-voice/types.ts @@ -7,82 +7,49 @@ export declare class PinpointSMSVoice extends AWSServiceClient { input: CreateConfigurationSetRequest, ): Effect.Effect< CreateConfigurationSetResponse, - | AlreadyExistsException - | BadRequestException - | InternalServiceErrorException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | InternalServiceErrorException | LimitExceededException | TooManyRequestsException | CommonAwsError >; createConfigurationSetEventDestination( input: CreateConfigurationSetEventDestinationRequest, ): Effect.Effect< CreateConfigurationSetEventDestinationResponse, - | AlreadyExistsException - | BadRequestException - | InternalServiceErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | InternalServiceErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteConfigurationSet( input: DeleteConfigurationSetRequest, ): Effect.Effect< DeleteConfigurationSetResponse, - | BadRequestException - | InternalServiceErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteConfigurationSetEventDestination( input: DeleteConfigurationSetEventDestinationRequest, ): Effect.Effect< DeleteConfigurationSetEventDestinationResponse, - | BadRequestException - | InternalServiceErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getConfigurationSetEventDestinations( input: GetConfigurationSetEventDestinationsRequest, ): Effect.Effect< GetConfigurationSetEventDestinationsResponse, - | BadRequestException - | InternalServiceErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listConfigurationSets( input: ListConfigurationSetsRequest, ): Effect.Effect< ListConfigurationSetsResponse, - | BadRequestException - | InternalServiceErrorException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | TooManyRequestsException | CommonAwsError >; sendVoiceMessage( input: SendVoiceMessageRequest, ): Effect.Effect< SendVoiceMessageResponse, - | BadRequestException - | InternalServiceErrorException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | TooManyRequestsException | CommonAwsError >; updateConfigurationSetEventDestination( input: UpdateConfigurationSetEventDestinationRequest, ): Effect.Effect< UpdateConfigurationSetEventDestinationResponse, - | BadRequestException - | InternalServiceErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -115,20 +82,24 @@ export interface CreateConfigurationSetEventDestinationRequest { EventDestination?: EventDestinationDefinition; EventDestinationName?: string; } -export interface CreateConfigurationSetEventDestinationResponse {} +export interface CreateConfigurationSetEventDestinationResponse { +} export interface CreateConfigurationSetRequest { ConfigurationSetName?: string; } -export interface CreateConfigurationSetResponse {} +export interface CreateConfigurationSetResponse { +} export interface DeleteConfigurationSetEventDestinationRequest { ConfigurationSetName: string; EventDestinationName: string; } -export interface DeleteConfigurationSetEventDestinationResponse {} +export interface DeleteConfigurationSetEventDestinationResponse { +} export interface DeleteConfigurationSetRequest { ConfigurationSetName: string; } -export interface DeleteConfigurationSetResponse {} +export interface DeleteConfigurationSetResponse { +} export interface EventDestination { CloudWatchLogsDestination?: CloudWatchLogsDestination; Enabled?: boolean; @@ -145,14 +116,7 @@ export interface EventDestinationDefinition { SnsDestination?: SnsDestination; } export type EventDestinations = Array; -export type EventType = - | "INITIATED_CALL" - | "RINGING" - | "ANSWERED" - | "COMPLETED_CALL" - | "BUSY" - | "FAILED" - | "NO_ANSWER"; +export type EventType = "INITIATED_CALL" | "RINGING" | "ANSWERED" | "COMPLETED_CALL" | "BUSY" | "FAILED" | "NO_ANSWER"; export type EventTypes = Array; export interface GetConfigurationSetEventDestinationsRequest { ConfigurationSetName: string; @@ -226,7 +190,8 @@ export interface UpdateConfigurationSetEventDestinationRequest { EventDestination?: EventDestinationDefinition; EventDestinationName: string; } -export interface UpdateConfigurationSetEventDestinationResponse {} +export interface UpdateConfigurationSetEventDestinationResponse { +} export interface VoiceMessageContent { CallInstructionsMessage?: CallInstructionsMessageType; PlainTextMessage?: PlainTextMessageType; @@ -323,11 +288,5 @@ export declare namespace UpdateConfigurationSetEventDestination { | CommonAwsError; } -export type PinpointSMSVoiceErrors = - | AlreadyExistsException - | BadRequestException - | InternalServiceErrorException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError; +export type PinpointSMSVoiceErrors = AlreadyExistsException | BadRequestException | InternalServiceErrorException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/pinpoint/index.ts b/src/services/pinpoint/index.ts index 37916a75..fe5b95cb 100644 --- a/src/services/pinpoint/index.ts +++ b/src/services/pinpoint/index.ts @@ -5,26 +5,7 @@ import type { Pinpoint as _PinpointClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,726 +15,726 @@ const metadata = { sigV4ServiceName: "mobiletargeting", endpointPrefix: "pinpoint", operations: { - CreateApp: { + "CreateApp": { http: "POST /v1/apps", traits: { - ApplicationResponse: "httpPayload", + "ApplicationResponse": "httpPayload", }, }, - CreateCampaign: { + "CreateCampaign": { http: "POST /v1/apps/{ApplicationId}/campaigns", traits: { - CampaignResponse: "httpPayload", + "CampaignResponse": "httpPayload", }, }, - CreateEmailTemplate: { + "CreateEmailTemplate": { http: "POST /v1/templates/{TemplateName}/email", traits: { - CreateTemplateMessageBody: "httpPayload", + "CreateTemplateMessageBody": "httpPayload", }, }, - CreateExportJob: { + "CreateExportJob": { http: "POST /v1/apps/{ApplicationId}/jobs/export", traits: { - ExportJobResponse: "httpPayload", + "ExportJobResponse": "httpPayload", }, }, - CreateImportJob: { + "CreateImportJob": { http: "POST /v1/apps/{ApplicationId}/jobs/import", traits: { - ImportJobResponse: "httpPayload", + "ImportJobResponse": "httpPayload", }, }, - CreateInAppTemplate: { + "CreateInAppTemplate": { http: "POST /v1/templates/{TemplateName}/inapp", traits: { - TemplateCreateMessageBody: "httpPayload", + "TemplateCreateMessageBody": "httpPayload", }, }, - CreateJourney: { + "CreateJourney": { http: "POST /v1/apps/{ApplicationId}/journeys", traits: { - JourneyResponse: "httpPayload", + "JourneyResponse": "httpPayload", }, }, - CreatePushTemplate: { + "CreatePushTemplate": { http: "POST /v1/templates/{TemplateName}/push", traits: { - CreateTemplateMessageBody: "httpPayload", + "CreateTemplateMessageBody": "httpPayload", }, }, - CreateRecommenderConfiguration: { + "CreateRecommenderConfiguration": { http: "POST /v1/recommenders", traits: { - RecommenderConfigurationResponse: "httpPayload", + "RecommenderConfigurationResponse": "httpPayload", }, }, - CreateSegment: { + "CreateSegment": { http: "POST /v1/apps/{ApplicationId}/segments", traits: { - SegmentResponse: "httpPayload", + "SegmentResponse": "httpPayload", }, }, - CreateSmsTemplate: { + "CreateSmsTemplate": { http: "POST /v1/templates/{TemplateName}/sms", traits: { - CreateTemplateMessageBody: "httpPayload", + "CreateTemplateMessageBody": "httpPayload", }, }, - CreateVoiceTemplate: { + "CreateVoiceTemplate": { http: "POST /v1/templates/{TemplateName}/voice", traits: { - CreateTemplateMessageBody: "httpPayload", + "CreateTemplateMessageBody": "httpPayload", }, }, - DeleteAdmChannel: { + "DeleteAdmChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/adm", traits: { - ADMChannelResponse: "httpPayload", + "ADMChannelResponse": "httpPayload", }, }, - DeleteApnsChannel: { + "DeleteApnsChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/apns", traits: { - APNSChannelResponse: "httpPayload", + "APNSChannelResponse": "httpPayload", }, }, - DeleteApnsSandboxChannel: { + "DeleteApnsSandboxChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/apns_sandbox", traits: { - APNSSandboxChannelResponse: "httpPayload", + "APNSSandboxChannelResponse": "httpPayload", }, }, - DeleteApnsVoipChannel: { + "DeleteApnsVoipChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/apns_voip", traits: { - APNSVoipChannelResponse: "httpPayload", + "APNSVoipChannelResponse": "httpPayload", }, }, - DeleteApnsVoipSandboxChannel: { + "DeleteApnsVoipSandboxChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/apns_voip_sandbox", traits: { - APNSVoipSandboxChannelResponse: "httpPayload", + "APNSVoipSandboxChannelResponse": "httpPayload", }, }, - DeleteApp: { + "DeleteApp": { http: "DELETE /v1/apps/{ApplicationId}", traits: { - ApplicationResponse: "httpPayload", + "ApplicationResponse": "httpPayload", }, }, - DeleteBaiduChannel: { + "DeleteBaiduChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/baidu", traits: { - BaiduChannelResponse: "httpPayload", + "BaiduChannelResponse": "httpPayload", }, }, - DeleteCampaign: { + "DeleteCampaign": { http: "DELETE /v1/apps/{ApplicationId}/campaigns/{CampaignId}", traits: { - CampaignResponse: "httpPayload", + "CampaignResponse": "httpPayload", }, }, - DeleteEmailChannel: { + "DeleteEmailChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/email", traits: { - EmailChannelResponse: "httpPayload", + "EmailChannelResponse": "httpPayload", }, }, - DeleteEmailTemplate: { + "DeleteEmailTemplate": { http: "DELETE /v1/templates/{TemplateName}/email", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - DeleteEndpoint: { + "DeleteEndpoint": { http: "DELETE /v1/apps/{ApplicationId}/endpoints/{EndpointId}", traits: { - EndpointResponse: "httpPayload", + "EndpointResponse": "httpPayload", }, }, - DeleteEventStream: { + "DeleteEventStream": { http: "DELETE /v1/apps/{ApplicationId}/eventstream", traits: { - EventStream: "httpPayload", + "EventStream": "httpPayload", }, }, - DeleteGcmChannel: { + "DeleteGcmChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/gcm", traits: { - GCMChannelResponse: "httpPayload", + "GCMChannelResponse": "httpPayload", }, }, - DeleteInAppTemplate: { + "DeleteInAppTemplate": { http: "DELETE /v1/templates/{TemplateName}/inapp", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - DeleteJourney: { + "DeleteJourney": { http: "DELETE /v1/apps/{ApplicationId}/journeys/{JourneyId}", traits: { - JourneyResponse: "httpPayload", + "JourneyResponse": "httpPayload", }, }, - DeletePushTemplate: { + "DeletePushTemplate": { http: "DELETE /v1/templates/{TemplateName}/push", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - DeleteRecommenderConfiguration: { + "DeleteRecommenderConfiguration": { http: "DELETE /v1/recommenders/{RecommenderId}", traits: { - RecommenderConfigurationResponse: "httpPayload", + "RecommenderConfigurationResponse": "httpPayload", }, }, - DeleteSegment: { + "DeleteSegment": { http: "DELETE /v1/apps/{ApplicationId}/segments/{SegmentId}", traits: { - SegmentResponse: "httpPayload", + "SegmentResponse": "httpPayload", }, }, - DeleteSmsChannel: { + "DeleteSmsChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/sms", traits: { - SMSChannelResponse: "httpPayload", + "SMSChannelResponse": "httpPayload", }, }, - DeleteSmsTemplate: { + "DeleteSmsTemplate": { http: "DELETE /v1/templates/{TemplateName}/sms", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - DeleteUserEndpoints: { + "DeleteUserEndpoints": { http: "DELETE /v1/apps/{ApplicationId}/users/{UserId}", traits: { - EndpointsResponse: "httpPayload", + "EndpointsResponse": "httpPayload", }, }, - DeleteVoiceChannel: { + "DeleteVoiceChannel": { http: "DELETE /v1/apps/{ApplicationId}/channels/voice", traits: { - VoiceChannelResponse: "httpPayload", + "VoiceChannelResponse": "httpPayload", }, }, - DeleteVoiceTemplate: { + "DeleteVoiceTemplate": { http: "DELETE /v1/templates/{TemplateName}/voice", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - GetAdmChannel: { + "GetAdmChannel": { http: "GET /v1/apps/{ApplicationId}/channels/adm", traits: { - ADMChannelResponse: "httpPayload", + "ADMChannelResponse": "httpPayload", }, }, - GetApnsChannel: { + "GetApnsChannel": { http: "GET /v1/apps/{ApplicationId}/channels/apns", traits: { - APNSChannelResponse: "httpPayload", + "APNSChannelResponse": "httpPayload", }, }, - GetApnsSandboxChannel: { + "GetApnsSandboxChannel": { http: "GET /v1/apps/{ApplicationId}/channels/apns_sandbox", traits: { - APNSSandboxChannelResponse: "httpPayload", + "APNSSandboxChannelResponse": "httpPayload", }, }, - GetApnsVoipChannel: { + "GetApnsVoipChannel": { http: "GET /v1/apps/{ApplicationId}/channels/apns_voip", traits: { - APNSVoipChannelResponse: "httpPayload", + "APNSVoipChannelResponse": "httpPayload", }, }, - GetApnsVoipSandboxChannel: { + "GetApnsVoipSandboxChannel": { http: "GET /v1/apps/{ApplicationId}/channels/apns_voip_sandbox", traits: { - APNSVoipSandboxChannelResponse: "httpPayload", + "APNSVoipSandboxChannelResponse": "httpPayload", }, }, - GetApp: { + "GetApp": { http: "GET /v1/apps/{ApplicationId}", traits: { - ApplicationResponse: "httpPayload", + "ApplicationResponse": "httpPayload", }, }, - GetApplicationDateRangeKpi: { + "GetApplicationDateRangeKpi": { http: "GET /v1/apps/{ApplicationId}/kpis/daterange/{KpiName}", traits: { - ApplicationDateRangeKpiResponse: "httpPayload", + "ApplicationDateRangeKpiResponse": "httpPayload", }, }, - GetApplicationSettings: { + "GetApplicationSettings": { http: "GET /v1/apps/{ApplicationId}/settings", traits: { - ApplicationSettingsResource: "httpPayload", + "ApplicationSettingsResource": "httpPayload", }, }, - GetApps: { + "GetApps": { http: "GET /v1/apps", traits: { - ApplicationsResponse: "httpPayload", + "ApplicationsResponse": "httpPayload", }, }, - GetBaiduChannel: { + "GetBaiduChannel": { http: "GET /v1/apps/{ApplicationId}/channels/baidu", traits: { - BaiduChannelResponse: "httpPayload", + "BaiduChannelResponse": "httpPayload", }, }, - GetCampaign: { + "GetCampaign": { http: "GET /v1/apps/{ApplicationId}/campaigns/{CampaignId}", traits: { - CampaignResponse: "httpPayload", + "CampaignResponse": "httpPayload", }, }, - GetCampaignActivities: { + "GetCampaignActivities": { http: "GET /v1/apps/{ApplicationId}/campaigns/{CampaignId}/activities", traits: { - ActivitiesResponse: "httpPayload", + "ActivitiesResponse": "httpPayload", }, }, - GetCampaignDateRangeKpi: { + "GetCampaignDateRangeKpi": { http: "GET /v1/apps/{ApplicationId}/campaigns/{CampaignId}/kpis/daterange/{KpiName}", traits: { - CampaignDateRangeKpiResponse: "httpPayload", + "CampaignDateRangeKpiResponse": "httpPayload", }, }, - GetCampaigns: { + "GetCampaigns": { http: "GET /v1/apps/{ApplicationId}/campaigns", traits: { - CampaignsResponse: "httpPayload", + "CampaignsResponse": "httpPayload", }, }, - GetCampaignVersion: { + "GetCampaignVersion": { http: "GET /v1/apps/{ApplicationId}/campaigns/{CampaignId}/versions/{Version}", traits: { - CampaignResponse: "httpPayload", + "CampaignResponse": "httpPayload", }, }, - GetCampaignVersions: { + "GetCampaignVersions": { http: "GET /v1/apps/{ApplicationId}/campaigns/{CampaignId}/versions", traits: { - CampaignsResponse: "httpPayload", + "CampaignsResponse": "httpPayload", }, }, - GetChannels: { + "GetChannels": { http: "GET /v1/apps/{ApplicationId}/channels", traits: { - ChannelsResponse: "httpPayload", + "ChannelsResponse": "httpPayload", }, }, - GetEmailChannel: { + "GetEmailChannel": { http: "GET /v1/apps/{ApplicationId}/channels/email", traits: { - EmailChannelResponse: "httpPayload", + "EmailChannelResponse": "httpPayload", }, }, - GetEmailTemplate: { + "GetEmailTemplate": { http: "GET /v1/templates/{TemplateName}/email", traits: { - EmailTemplateResponse: "httpPayload", + "EmailTemplateResponse": "httpPayload", }, }, - GetEndpoint: { + "GetEndpoint": { http: "GET /v1/apps/{ApplicationId}/endpoints/{EndpointId}", traits: { - EndpointResponse: "httpPayload", + "EndpointResponse": "httpPayload", }, }, - GetEventStream: { + "GetEventStream": { http: "GET /v1/apps/{ApplicationId}/eventstream", traits: { - EventStream: "httpPayload", + "EventStream": "httpPayload", }, }, - GetExportJob: { + "GetExportJob": { http: "GET /v1/apps/{ApplicationId}/jobs/export/{JobId}", traits: { - ExportJobResponse: "httpPayload", + "ExportJobResponse": "httpPayload", }, }, - GetExportJobs: { + "GetExportJobs": { http: "GET /v1/apps/{ApplicationId}/jobs/export", traits: { - ExportJobsResponse: "httpPayload", + "ExportJobsResponse": "httpPayload", }, }, - GetGcmChannel: { + "GetGcmChannel": { http: "GET /v1/apps/{ApplicationId}/channels/gcm", traits: { - GCMChannelResponse: "httpPayload", + "GCMChannelResponse": "httpPayload", }, }, - GetImportJob: { + "GetImportJob": { http: "GET /v1/apps/{ApplicationId}/jobs/import/{JobId}", traits: { - ImportJobResponse: "httpPayload", + "ImportJobResponse": "httpPayload", }, }, - GetImportJobs: { + "GetImportJobs": { http: "GET /v1/apps/{ApplicationId}/jobs/import", traits: { - ImportJobsResponse: "httpPayload", + "ImportJobsResponse": "httpPayload", }, }, - GetInAppMessages: { + "GetInAppMessages": { http: "GET /v1/apps/{ApplicationId}/endpoints/{EndpointId}/inappmessages", traits: { - InAppMessagesResponse: "httpPayload", + "InAppMessagesResponse": "httpPayload", }, }, - GetInAppTemplate: { + "GetInAppTemplate": { http: "GET /v1/templates/{TemplateName}/inapp", traits: { - InAppTemplateResponse: "httpPayload", + "InAppTemplateResponse": "httpPayload", }, }, - GetJourney: { + "GetJourney": { http: "GET /v1/apps/{ApplicationId}/journeys/{JourneyId}", traits: { - JourneyResponse: "httpPayload", + "JourneyResponse": "httpPayload", }, }, - GetJourneyDateRangeKpi: { + "GetJourneyDateRangeKpi": { http: "GET /v1/apps/{ApplicationId}/journeys/{JourneyId}/kpis/daterange/{KpiName}", traits: { - JourneyDateRangeKpiResponse: "httpPayload", + "JourneyDateRangeKpiResponse": "httpPayload", }, }, - GetJourneyExecutionActivityMetrics: { + "GetJourneyExecutionActivityMetrics": { http: "GET /v1/apps/{ApplicationId}/journeys/{JourneyId}/activities/{JourneyActivityId}/execution-metrics", traits: { - JourneyExecutionActivityMetricsResponse: "httpPayload", + "JourneyExecutionActivityMetricsResponse": "httpPayload", }, }, - GetJourneyExecutionMetrics: { + "GetJourneyExecutionMetrics": { http: "GET /v1/apps/{ApplicationId}/journeys/{JourneyId}/execution-metrics", traits: { - JourneyExecutionMetricsResponse: "httpPayload", + "JourneyExecutionMetricsResponse": "httpPayload", }, }, - GetJourneyRunExecutionActivityMetrics: { + "GetJourneyRunExecutionActivityMetrics": { http: "GET /v1/apps/{ApplicationId}/journeys/{JourneyId}/runs/{RunId}/activities/{JourneyActivityId}/execution-metrics", traits: { - JourneyRunExecutionActivityMetricsResponse: "httpPayload", + "JourneyRunExecutionActivityMetricsResponse": "httpPayload", }, }, - GetJourneyRunExecutionMetrics: { + "GetJourneyRunExecutionMetrics": { http: "GET /v1/apps/{ApplicationId}/journeys/{JourneyId}/runs/{RunId}/execution-metrics", traits: { - JourneyRunExecutionMetricsResponse: "httpPayload", + "JourneyRunExecutionMetricsResponse": "httpPayload", }, }, - GetJourneyRuns: { + "GetJourneyRuns": { http: "GET /v1/apps/{ApplicationId}/journeys/{JourneyId}/runs", traits: { - JourneyRunsResponse: "httpPayload", + "JourneyRunsResponse": "httpPayload", }, }, - GetPushTemplate: { + "GetPushTemplate": { http: "GET /v1/templates/{TemplateName}/push", traits: { - PushNotificationTemplateResponse: "httpPayload", + "PushNotificationTemplateResponse": "httpPayload", }, }, - GetRecommenderConfiguration: { + "GetRecommenderConfiguration": { http: "GET /v1/recommenders/{RecommenderId}", traits: { - RecommenderConfigurationResponse: "httpPayload", + "RecommenderConfigurationResponse": "httpPayload", }, }, - GetRecommenderConfigurations: { + "GetRecommenderConfigurations": { http: "GET /v1/recommenders", traits: { - ListRecommenderConfigurationsResponse: "httpPayload", + "ListRecommenderConfigurationsResponse": "httpPayload", }, }, - GetSegment: { + "GetSegment": { http: "GET /v1/apps/{ApplicationId}/segments/{SegmentId}", traits: { - SegmentResponse: "httpPayload", + "SegmentResponse": "httpPayload", }, }, - GetSegmentExportJobs: { + "GetSegmentExportJobs": { http: "GET /v1/apps/{ApplicationId}/segments/{SegmentId}/jobs/export", traits: { - ExportJobsResponse: "httpPayload", + "ExportJobsResponse": "httpPayload", }, }, - GetSegmentImportJobs: { + "GetSegmentImportJobs": { http: "GET /v1/apps/{ApplicationId}/segments/{SegmentId}/jobs/import", traits: { - ImportJobsResponse: "httpPayload", + "ImportJobsResponse": "httpPayload", }, }, - GetSegments: { + "GetSegments": { http: "GET /v1/apps/{ApplicationId}/segments", traits: { - SegmentsResponse: "httpPayload", + "SegmentsResponse": "httpPayload", }, }, - GetSegmentVersion: { + "GetSegmentVersion": { http: "GET /v1/apps/{ApplicationId}/segments/{SegmentId}/versions/{Version}", traits: { - SegmentResponse: "httpPayload", + "SegmentResponse": "httpPayload", }, }, - GetSegmentVersions: { + "GetSegmentVersions": { http: "GET /v1/apps/{ApplicationId}/segments/{SegmentId}/versions", traits: { - SegmentsResponse: "httpPayload", + "SegmentsResponse": "httpPayload", }, }, - GetSmsChannel: { + "GetSmsChannel": { http: "GET /v1/apps/{ApplicationId}/channels/sms", traits: { - SMSChannelResponse: "httpPayload", + "SMSChannelResponse": "httpPayload", }, }, - GetSmsTemplate: { + "GetSmsTemplate": { http: "GET /v1/templates/{TemplateName}/sms", traits: { - SMSTemplateResponse: "httpPayload", + "SMSTemplateResponse": "httpPayload", }, }, - GetUserEndpoints: { + "GetUserEndpoints": { http: "GET /v1/apps/{ApplicationId}/users/{UserId}", traits: { - EndpointsResponse: "httpPayload", + "EndpointsResponse": "httpPayload", }, }, - GetVoiceChannel: { + "GetVoiceChannel": { http: "GET /v1/apps/{ApplicationId}/channels/voice", traits: { - VoiceChannelResponse: "httpPayload", + "VoiceChannelResponse": "httpPayload", }, }, - GetVoiceTemplate: { + "GetVoiceTemplate": { http: "GET /v1/templates/{TemplateName}/voice", traits: { - VoiceTemplateResponse: "httpPayload", + "VoiceTemplateResponse": "httpPayload", }, }, - ListJourneys: { + "ListJourneys": { http: "GET /v1/apps/{ApplicationId}/journeys", traits: { - JourneysResponse: "httpPayload", + "JourneysResponse": "httpPayload", }, }, - ListTagsForResource: { + "ListTagsForResource": { http: "GET /v1/tags/{ResourceArn}", traits: { - TagsModel: "httpPayload", + "TagsModel": "httpPayload", }, }, - ListTemplates: { + "ListTemplates": { http: "GET /v1/templates", traits: { - TemplatesResponse: "httpPayload", + "TemplatesResponse": "httpPayload", }, }, - ListTemplateVersions: { + "ListTemplateVersions": { http: "GET /v1/templates/{TemplateName}/{TemplateType}/versions", traits: { - TemplateVersionsResponse: "httpPayload", + "TemplateVersionsResponse": "httpPayload", }, }, - PhoneNumberValidate: { + "PhoneNumberValidate": { http: "POST /v1/phone/number/validate", traits: { - NumberValidateResponse: "httpPayload", + "NumberValidateResponse": "httpPayload", }, }, - PutEvents: { + "PutEvents": { http: "POST /v1/apps/{ApplicationId}/events", traits: { - EventsResponse: "httpPayload", + "EventsResponse": "httpPayload", }, }, - PutEventStream: { + "PutEventStream": { http: "POST /v1/apps/{ApplicationId}/eventstream", traits: { - EventStream: "httpPayload", + "EventStream": "httpPayload", }, }, - RemoveAttributes: { + "RemoveAttributes": { http: "PUT /v1/apps/{ApplicationId}/attributes/{AttributeType}", traits: { - AttributesResource: "httpPayload", + "AttributesResource": "httpPayload", }, }, - SendMessages: { + "SendMessages": { http: "POST /v1/apps/{ApplicationId}/messages", traits: { - MessageResponse: "httpPayload", + "MessageResponse": "httpPayload", }, }, - SendOTPMessage: { + "SendOTPMessage": { http: "POST /v1/apps/{ApplicationId}/otp", traits: { - MessageResponse: "httpPayload", + "MessageResponse": "httpPayload", }, }, - SendUsersMessages: { + "SendUsersMessages": { http: "POST /v1/apps/{ApplicationId}/users-messages", traits: { - SendUsersMessageResponse: "httpPayload", + "SendUsersMessageResponse": "httpPayload", }, }, - TagResource: "POST /v1/tags/{ResourceArn}", - UntagResource: "DELETE /v1/tags/{ResourceArn}", - UpdateAdmChannel: { + "TagResource": "POST /v1/tags/{ResourceArn}", + "UntagResource": "DELETE /v1/tags/{ResourceArn}", + "UpdateAdmChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/adm", traits: { - ADMChannelResponse: "httpPayload", + "ADMChannelResponse": "httpPayload", }, }, - UpdateApnsChannel: { + "UpdateApnsChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/apns", traits: { - APNSChannelResponse: "httpPayload", + "APNSChannelResponse": "httpPayload", }, }, - UpdateApnsSandboxChannel: { + "UpdateApnsSandboxChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/apns_sandbox", traits: { - APNSSandboxChannelResponse: "httpPayload", + "APNSSandboxChannelResponse": "httpPayload", }, }, - UpdateApnsVoipChannel: { + "UpdateApnsVoipChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/apns_voip", traits: { - APNSVoipChannelResponse: "httpPayload", + "APNSVoipChannelResponse": "httpPayload", }, }, - UpdateApnsVoipSandboxChannel: { + "UpdateApnsVoipSandboxChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/apns_voip_sandbox", traits: { - APNSVoipSandboxChannelResponse: "httpPayload", + "APNSVoipSandboxChannelResponse": "httpPayload", }, }, - UpdateApplicationSettings: { + "UpdateApplicationSettings": { http: "PUT /v1/apps/{ApplicationId}/settings", traits: { - ApplicationSettingsResource: "httpPayload", + "ApplicationSettingsResource": "httpPayload", }, }, - UpdateBaiduChannel: { + "UpdateBaiduChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/baidu", traits: { - BaiduChannelResponse: "httpPayload", + "BaiduChannelResponse": "httpPayload", }, }, - UpdateCampaign: { + "UpdateCampaign": { http: "PUT /v1/apps/{ApplicationId}/campaigns/{CampaignId}", traits: { - CampaignResponse: "httpPayload", + "CampaignResponse": "httpPayload", }, }, - UpdateEmailChannel: { + "UpdateEmailChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/email", traits: { - EmailChannelResponse: "httpPayload", + "EmailChannelResponse": "httpPayload", }, }, - UpdateEmailTemplate: { + "UpdateEmailTemplate": { http: "PUT /v1/templates/{TemplateName}/email", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - UpdateEndpoint: { + "UpdateEndpoint": { http: "PUT /v1/apps/{ApplicationId}/endpoints/{EndpointId}", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - UpdateEndpointsBatch: { + "UpdateEndpointsBatch": { http: "PUT /v1/apps/{ApplicationId}/endpoints", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - UpdateGcmChannel: { + "UpdateGcmChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/gcm", traits: { - GCMChannelResponse: "httpPayload", + "GCMChannelResponse": "httpPayload", }, }, - UpdateInAppTemplate: { + "UpdateInAppTemplate": { http: "PUT /v1/templates/{TemplateName}/inapp", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - UpdateJourney: { + "UpdateJourney": { http: "PUT /v1/apps/{ApplicationId}/journeys/{JourneyId}", traits: { - JourneyResponse: "httpPayload", + "JourneyResponse": "httpPayload", }, }, - UpdateJourneyState: { + "UpdateJourneyState": { http: "PUT /v1/apps/{ApplicationId}/journeys/{JourneyId}/state", traits: { - JourneyResponse: "httpPayload", + "JourneyResponse": "httpPayload", }, }, - UpdatePushTemplate: { + "UpdatePushTemplate": { http: "PUT /v1/templates/{TemplateName}/push", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - UpdateRecommenderConfiguration: { + "UpdateRecommenderConfiguration": { http: "PUT /v1/recommenders/{RecommenderId}", traits: { - RecommenderConfigurationResponse: "httpPayload", + "RecommenderConfigurationResponse": "httpPayload", }, }, - UpdateSegment: { + "UpdateSegment": { http: "PUT /v1/apps/{ApplicationId}/segments/{SegmentId}", traits: { - SegmentResponse: "httpPayload", + "SegmentResponse": "httpPayload", }, }, - UpdateSmsChannel: { + "UpdateSmsChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/sms", traits: { - SMSChannelResponse: "httpPayload", + "SMSChannelResponse": "httpPayload", }, }, - UpdateSmsTemplate: { + "UpdateSmsTemplate": { http: "PUT /v1/templates/{TemplateName}/sms", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - UpdateTemplateActiveVersion: { + "UpdateTemplateActiveVersion": { http: "PUT /v1/templates/{TemplateName}/{TemplateType}/active-version", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - UpdateVoiceChannel: { + "UpdateVoiceChannel": { http: "PUT /v1/apps/{ApplicationId}/channels/voice", traits: { - VoiceChannelResponse: "httpPayload", + "VoiceChannelResponse": "httpPayload", }, }, - UpdateVoiceTemplate: { + "UpdateVoiceTemplate": { http: "PUT /v1/templates/{TemplateName}/voice", traits: { - MessageBody: "httpPayload", + "MessageBody": "httpPayload", }, }, - VerifyOTPMessage: { + "VerifyOTPMessage": { http: "POST /v1/apps/{ApplicationId}/verify-otp", traits: { - VerificationResponse: "httpPayload", + "VerificationResponse": "httpPayload", }, }, }, diff --git a/src/services/pinpoint/types.ts b/src/services/pinpoint/types.ts index ba184638..4d19b8a7 100644 --- a/src/services/pinpoint/types.ts +++ b/src/services/pinpoint/types.ts @@ -7,1542 +7,733 @@ export declare class Pinpoint extends AWSServiceClient { input: CreateAppRequest, ): Effect.Effect< CreateAppResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; createCampaign( input: CreateCampaignRequest, ): Effect.Effect< CreateCampaignResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; createEmailTemplate( input: CreateEmailTemplateRequest, ): Effect.Effect< CreateEmailTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; createExportJob( input: CreateExportJobRequest, ): Effect.Effect< CreateExportJobResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; createImportJob( input: CreateImportJobRequest, ): Effect.Effect< CreateImportJobResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; createInAppTemplate( input: CreateInAppTemplateRequest, ): Effect.Effect< CreateInAppTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; createJourney( input: CreateJourneyRequest, ): Effect.Effect< CreateJourneyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; createPushTemplate( input: CreatePushTemplateRequest, ): Effect.Effect< CreatePushTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; createRecommenderConfiguration( input: CreateRecommenderConfigurationRequest, ): Effect.Effect< CreateRecommenderConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; createSegment( input: CreateSegmentRequest, ): Effect.Effect< CreateSegmentResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; createSmsTemplate( input: CreateSmsTemplateRequest, ): Effect.Effect< CreateSmsTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; createVoiceTemplate( input: CreateVoiceTemplateRequest, ): Effect.Effect< CreateVoiceTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; deleteAdmChannel( input: DeleteAdmChannelRequest, ): Effect.Effect< DeleteAdmChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteApnsChannel( input: DeleteApnsChannelRequest, ): Effect.Effect< DeleteApnsChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteApnsSandboxChannel( input: DeleteApnsSandboxChannelRequest, ): Effect.Effect< DeleteApnsSandboxChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteApnsVoipChannel( input: DeleteApnsVoipChannelRequest, ): Effect.Effect< DeleteApnsVoipChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteApnsVoipSandboxChannel( input: DeleteApnsVoipSandboxChannelRequest, ): Effect.Effect< DeleteApnsVoipSandboxChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteApp( input: DeleteAppRequest, ): Effect.Effect< DeleteAppResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteBaiduChannel( input: DeleteBaiduChannelRequest, ): Effect.Effect< DeleteBaiduChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteCampaign( input: DeleteCampaignRequest, ): Effect.Effect< DeleteCampaignResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteEmailChannel( input: DeleteEmailChannelRequest, ): Effect.Effect< DeleteEmailChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteEmailTemplate( input: DeleteEmailTemplateRequest, ): Effect.Effect< DeleteEmailTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteEndpoint( input: DeleteEndpointRequest, ): Effect.Effect< DeleteEndpointResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteEventStream( input: DeleteEventStreamRequest, ): Effect.Effect< DeleteEventStreamResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteGcmChannel( input: DeleteGcmChannelRequest, ): Effect.Effect< DeleteGcmChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteInAppTemplate( input: DeleteInAppTemplateRequest, ): Effect.Effect< DeleteInAppTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteJourney( input: DeleteJourneyRequest, ): Effect.Effect< DeleteJourneyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deletePushTemplate( input: DeletePushTemplateRequest, ): Effect.Effect< DeletePushTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteRecommenderConfiguration( input: DeleteRecommenderConfigurationRequest, ): Effect.Effect< DeleteRecommenderConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteSegment( input: DeleteSegmentRequest, ): Effect.Effect< DeleteSegmentResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteSmsChannel( input: DeleteSmsChannelRequest, ): Effect.Effect< DeleteSmsChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteSmsTemplate( input: DeleteSmsTemplateRequest, ): Effect.Effect< DeleteSmsTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteUserEndpoints( input: DeleteUserEndpointsRequest, ): Effect.Effect< DeleteUserEndpointsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteVoiceChannel( input: DeleteVoiceChannelRequest, ): Effect.Effect< DeleteVoiceChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; deleteVoiceTemplate( input: DeleteVoiceTemplateRequest, ): Effect.Effect< DeleteVoiceTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getAdmChannel( input: GetAdmChannelRequest, ): Effect.Effect< GetAdmChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getApnsChannel( input: GetApnsChannelRequest, ): Effect.Effect< GetApnsChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getApnsSandboxChannel( input: GetApnsSandboxChannelRequest, ): Effect.Effect< GetApnsSandboxChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getApnsVoipChannel( input: GetApnsVoipChannelRequest, ): Effect.Effect< GetApnsVoipChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getApnsVoipSandboxChannel( input: GetApnsVoipSandboxChannelRequest, ): Effect.Effect< GetApnsVoipSandboxChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getApp( input: GetAppRequest, ): Effect.Effect< GetAppResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getApplicationDateRangeKpi( input: GetApplicationDateRangeKpiRequest, ): Effect.Effect< GetApplicationDateRangeKpiResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getApplicationSettings( input: GetApplicationSettingsRequest, ): Effect.Effect< GetApplicationSettingsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getApps( input: GetAppsRequest, ): Effect.Effect< GetAppsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getBaiduChannel( input: GetBaiduChannelRequest, ): Effect.Effect< GetBaiduChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getCampaign( input: GetCampaignRequest, ): Effect.Effect< GetCampaignResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getCampaignActivities( input: GetCampaignActivitiesRequest, ): Effect.Effect< GetCampaignActivitiesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getCampaignDateRangeKpi( input: GetCampaignDateRangeKpiRequest, ): Effect.Effect< GetCampaignDateRangeKpiResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getCampaigns( input: GetCampaignsRequest, ): Effect.Effect< GetCampaignsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getCampaignVersion( input: GetCampaignVersionRequest, ): Effect.Effect< GetCampaignVersionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getCampaignVersions( input: GetCampaignVersionsRequest, ): Effect.Effect< GetCampaignVersionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getChannels( input: GetChannelsRequest, ): Effect.Effect< GetChannelsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getEmailChannel( input: GetEmailChannelRequest, ): Effect.Effect< GetEmailChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getEmailTemplate( input: GetEmailTemplateRequest, ): Effect.Effect< GetEmailTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getEndpoint( input: GetEndpointRequest, ): Effect.Effect< GetEndpointResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getEventStream( input: GetEventStreamRequest, ): Effect.Effect< GetEventStreamResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getExportJob( input: GetExportJobRequest, ): Effect.Effect< GetExportJobResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getExportJobs( input: GetExportJobsRequest, ): Effect.Effect< GetExportJobsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getGcmChannel( input: GetGcmChannelRequest, ): Effect.Effect< GetGcmChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getImportJob( input: GetImportJobRequest, ): Effect.Effect< GetImportJobResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getImportJobs( input: GetImportJobsRequest, ): Effect.Effect< GetImportJobsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getInAppMessages( input: GetInAppMessagesRequest, ): Effect.Effect< GetInAppMessagesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getInAppTemplate( input: GetInAppTemplateRequest, ): Effect.Effect< GetInAppTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getJourney( input: GetJourneyRequest, ): Effect.Effect< GetJourneyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getJourneyDateRangeKpi( input: GetJourneyDateRangeKpiRequest, ): Effect.Effect< GetJourneyDateRangeKpiResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getJourneyExecutionActivityMetrics( input: GetJourneyExecutionActivityMetricsRequest, ): Effect.Effect< GetJourneyExecutionActivityMetricsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getJourneyExecutionMetrics( input: GetJourneyExecutionMetricsRequest, ): Effect.Effect< GetJourneyExecutionMetricsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getJourneyRunExecutionActivityMetrics( input: GetJourneyRunExecutionActivityMetricsRequest, ): Effect.Effect< GetJourneyRunExecutionActivityMetricsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getJourneyRunExecutionMetrics( input: GetJourneyRunExecutionMetricsRequest, ): Effect.Effect< GetJourneyRunExecutionMetricsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getJourneyRuns( input: GetJourneyRunsRequest, ): Effect.Effect< GetJourneyRunsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getPushTemplate( input: GetPushTemplateRequest, ): Effect.Effect< GetPushTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getRecommenderConfiguration( input: GetRecommenderConfigurationRequest, ): Effect.Effect< GetRecommenderConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getRecommenderConfigurations( input: GetRecommenderConfigurationsRequest, ): Effect.Effect< GetRecommenderConfigurationsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getSegment( input: GetSegmentRequest, ): Effect.Effect< GetSegmentResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getSegmentExportJobs( input: GetSegmentExportJobsRequest, ): Effect.Effect< GetSegmentExportJobsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getSegmentImportJobs( input: GetSegmentImportJobsRequest, ): Effect.Effect< GetSegmentImportJobsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getSegments( input: GetSegmentsRequest, ): Effect.Effect< GetSegmentsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getSegmentVersion( input: GetSegmentVersionRequest, ): Effect.Effect< GetSegmentVersionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getSegmentVersions( input: GetSegmentVersionsRequest, ): Effect.Effect< GetSegmentVersionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getSmsChannel( input: GetSmsChannelRequest, ): Effect.Effect< GetSmsChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getSmsTemplate( input: GetSmsTemplateRequest, ): Effect.Effect< GetSmsTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getUserEndpoints( input: GetUserEndpointsRequest, ): Effect.Effect< GetUserEndpointsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getVoiceChannel( input: GetVoiceChannelRequest, ): Effect.Effect< GetVoiceChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; getVoiceTemplate( input: GetVoiceTemplateRequest, ): Effect.Effect< - GetVoiceTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError - >; - listJourneys( - input: ListJourneysRequest, - ): Effect.Effect< - ListJourneysResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + GetVoiceTemplateResponse, + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError + >; + listJourneys( + input: ListJourneysRequest, + ): Effect.Effect< + ListJourneysResponse, + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTagsForResourceResponse, + CommonAwsError + >; listTemplates( input: ListTemplatesRequest, ): Effect.Effect< ListTemplatesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; listTemplateVersions( input: ListTemplateVersionsRequest, ): Effect.Effect< ListTemplateVersionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; phoneNumberValidate( input: PhoneNumberValidateRequest, ): Effect.Effect< PhoneNumberValidateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; putEvents( input: PutEventsRequest, ): Effect.Effect< PutEventsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; putEventStream( input: PutEventStreamRequest, ): Effect.Effect< PutEventStreamResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; removeAttributes( input: RemoveAttributesRequest, ): Effect.Effect< RemoveAttributesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; sendMessages( input: SendMessagesRequest, ): Effect.Effect< SendMessagesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; sendOTPMessage( input: SendOTPMessageRequest, ): Effect.Effect< SendOTPMessageResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; sendUsersMessages( input: SendUsersMessagesRequest, ): Effect.Effect< SendUsersMessagesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError + >; + tagResource( + input: TagResourceRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; + untagResource( + input: UntagResourceRequest, + ): Effect.Effect< + {}, + CommonAwsError >; - tagResource(input: TagResourceRequest): Effect.Effect<{}, CommonAwsError>; - untagResource(input: UntagResourceRequest): Effect.Effect<{}, CommonAwsError>; updateAdmChannel( input: UpdateAdmChannelRequest, ): Effect.Effect< UpdateAdmChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateApnsChannel( input: UpdateApnsChannelRequest, ): Effect.Effect< UpdateApnsChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateApnsSandboxChannel( input: UpdateApnsSandboxChannelRequest, ): Effect.Effect< UpdateApnsSandboxChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateApnsVoipChannel( input: UpdateApnsVoipChannelRequest, ): Effect.Effect< UpdateApnsVoipChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateApnsVoipSandboxChannel( input: UpdateApnsVoipSandboxChannelRequest, ): Effect.Effect< UpdateApnsVoipSandboxChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateApplicationSettings( input: UpdateApplicationSettingsRequest, ): Effect.Effect< UpdateApplicationSettingsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateBaiduChannel( input: UpdateBaiduChannelRequest, ): Effect.Effect< UpdateBaiduChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateCampaign( input: UpdateCampaignRequest, ): Effect.Effect< UpdateCampaignResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateEmailChannel( input: UpdateEmailChannelRequest, ): Effect.Effect< UpdateEmailChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateEmailTemplate( input: UpdateEmailTemplateRequest, ): Effect.Effect< UpdateEmailTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateEndpoint( input: UpdateEndpointRequest, ): Effect.Effect< UpdateEndpointResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateEndpointsBatch( input: UpdateEndpointsBatchRequest, ): Effect.Effect< UpdateEndpointsBatchResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateGcmChannel( input: UpdateGcmChannelRequest, ): Effect.Effect< UpdateGcmChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateInAppTemplate( input: UpdateInAppTemplateRequest, ): Effect.Effect< UpdateInAppTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateJourney( input: UpdateJourneyRequest, ): Effect.Effect< UpdateJourneyResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateJourneyState( input: UpdateJourneyStateRequest, ): Effect.Effect< UpdateJourneyStateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updatePushTemplate( input: UpdatePushTemplateRequest, ): Effect.Effect< UpdatePushTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateRecommenderConfiguration( input: UpdateRecommenderConfigurationRequest, ): Effect.Effect< UpdateRecommenderConfigurationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateSegment( input: UpdateSegmentRequest, ): Effect.Effect< UpdateSegmentResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateSmsChannel( input: UpdateSmsChannelRequest, ): Effect.Effect< UpdateSmsChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateSmsTemplate( input: UpdateSmsTemplateRequest, ): Effect.Effect< UpdateSmsTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateTemplateActiveVersion( input: UpdateTemplateActiveVersionRequest, ): Effect.Effect< UpdateTemplateActiveVersionResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateVoiceChannel( input: UpdateVoiceChannelRequest, ): Effect.Effect< UpdateVoiceChannelResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; updateVoiceTemplate( input: UpdateVoiceTemplateRequest, ): Effect.Effect< UpdateVoiceTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; verifyOTPMessage( input: VerifyOTPMessageRequest, ): Effect.Effect< VerifyOTPMessageResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError >; } @@ -1552,20 +743,7 @@ export type __boolean = boolean; export type __double = number; -export type __EndpointTypesElement = - | "PUSH" - | "GCM" - | "APNS" - | "APNS_SANDBOX" - | "APNS_VOIP" - | "APNS_VOIP_SANDBOX" - | "ADM" - | "SMS" - | "VOICE" - | "EMAIL" - | "BAIDU" - | "CUSTOM" - | "IN_APP"; +export type __EndpointTypesElement = "PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP"; export type __integer = number; export type __string = string; @@ -1828,14 +1006,7 @@ export interface AttributesResource { AttributeType: string; Attributes?: Array; } -export type AttributeType = - | "INCLUSIVE" - | "EXCLUSIVE" - | "CONTAINS" - | "BEFORE" - | "AFTER" - | "ON" - | "BETWEEN"; +export type AttributeType = "INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEFORE" | "AFTER" | "ON" | "BETWEEN"; export declare class BadRequestException extends EffectData.TaggedError( "BadRequestException", )<{ @@ -1963,14 +1134,7 @@ export interface CampaignsResponse { export interface CampaignState { CampaignStatus?: CampaignStatus; } -export type CampaignStatus = - | "SCHEDULED" - | "EXECUTING" - | "PENDING_NEXT_RUN" - | "COMPLETED" - | "PAUSED" - | "DELETED" - | "INVALID"; +export type CampaignStatus = "SCHEDULED" | "EXECUTING" | "PENDING_NEXT_RUN" | "COMPLETED" | "PAUSED" | "DELETED" | "INVALID"; export interface ChannelResponse { ApplicationId?: string; CreationDate?: string; @@ -1985,20 +1149,7 @@ export interface ChannelResponse { export interface ChannelsResponse { Channels: Record; } -export type ChannelType = - | "PUSH" - | "GCM" - | "APNS" - | "APNS_SANDBOX" - | "APNS_VOIP" - | "APNS_VOIP_SANDBOX" - | "ADM" - | "SMS" - | "VOICE" - | "EMAIL" - | "BAIDU" - | "CUSTOM" - | "IN_APP"; +export type ChannelType = "PUSH" | "GCM" | "APNS" | "APNS_SANDBOX" | "APNS_VOIP" | "APNS_VOIP_SANDBOX" | "ADM" | "SMS" | "VOICE" | "EMAIL" | "BAIDU" | "CUSTOM" | "IN_APP"; export interface ClosedDays { EMAIL?: Array; SMS?: Array; @@ -2144,14 +1295,7 @@ export interface CustomMessageActivity { TemplateName?: string; TemplateVersion?: string; } -export type DayOfWeek = - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY" - | "SUNDAY"; +export type DayOfWeek = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"; export interface DefaultButtonConfiguration { BackgroundColor?: string; BorderRadius?: number; @@ -2328,14 +1472,7 @@ export interface DeleteVoiceTemplateRequest { export interface DeleteVoiceTemplateResponse { MessageBody: MessageBody; } -export type DeliveryStatus = - | "SUCCESSFUL" - | "THROTTLED" - | "TEMPORARY_FAILURE" - | "PERMANENT_FAILURE" - | "UNKNOWN_FAILURE" - | "OPT_OUT" - | "DUPLICATE"; +export type DeliveryStatus = "SUCCESSFUL" | "THROTTLED" | "TEMPORARY_FAILURE" | "PERMANENT_FAILURE" | "UNKNOWN_FAILURE" | "OPT_OUT" | "DUPLICATE"; export type DimensionType = "INCLUSIVE" | "EXCLUSIVE"; export interface DirectMessageConfiguration { ADMMessage?: ADMMessage; @@ -2597,14 +1734,7 @@ export declare class ForbiddenException extends EffectData.TaggedError( readonly RequestID?: string; }> {} export type Format = "CSV" | "JSON"; -export type Frequency = - | "ONCE" - | "HOURLY" - | "DAILY" - | "WEEKLY" - | "MONTHLY" - | "EVENT" - | "IN_APP_EVENT"; +export type Frequency = "ONCE" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY" | "EVENT" | "IN_APP_EVENT"; export interface GCMChannelRequest { ApiKey?: string; DefaultAuthenticationMethod?: string; @@ -3147,16 +2277,7 @@ export interface ItemResponse { EndpointItemResponse?: EndpointItemResponse; EventsItemResponse?: Record; } -export type JobStatus = - | "CREATED" - | "PREPARING_FOR_INITIALIZATION" - | "INITIALIZING" - | "PROCESSING" - | "PENDING_JOB" - | "COMPLETING" - | "COMPLETED" - | "FAILING" - | "FAILED"; +export type JobStatus = "CREATED" | "PREPARING_FOR_INITIALIZATION" | "INITIALIZING" | "PROCESSING" | "PENDING_JOB" | "COMPLETING" | "COMPLETED" | "FAILING" | "FAILED"; export interface JourneyChannelSettings { ConnectCampaignArn?: string; ConnectCampaignExecutionRoleArn?: string; @@ -3251,11 +2372,7 @@ export interface JourneyRunsResponse { Item: Array; NextToken?: string; } -export type JourneyRunStatus = - | "SCHEDULED" - | "RUNNING" - | "COMPLETED" - | "CANCELLED"; +export type JourneyRunStatus = "SCHEDULED" | "RUNNING" | "COMPLETED" | "CANCELLED"; export interface JourneySchedule { EndTime?: Date | string; StartTime?: Date | string; @@ -3279,13 +2396,7 @@ export interface JourneyTimeframeCap { Cap?: number; Days?: number; } -export type Layout = - | "BOTTOM_BANNER" - | "TOP_BANNER" - | "OVERLAYS" - | "MOBILE_FEED" - | "MIDDLE_BANNER" - | "CAROUSEL"; +export type Layout = "BOTTOM_BANNER" | "TOP_BANNER" | "OVERLAYS" | "MOBILE_FEED" | "MIDDLE_BANNER" | "CAROUSEL"; export interface ListJourneysRequest { ApplicationId: string; PageSize?: string; @@ -3296,8 +2407,7 @@ export interface ListJourneysResponse { } export type ListOf__EndpointTypesElement = Array<__EndpointTypesElement>; export type ListOf__string = Array; -export type ListOf__TimezoneEstimationMethodsElement = - Array<__TimezoneEstimationMethodsElement>; +export type ListOf__TimezoneEstimationMethodsElement = Array<__TimezoneEstimationMethodsElement>; export type ListOfActivityResponse = Array; export type ListOfApplicationResponse = Array; export type ListOfCampaignResponse = Array; @@ -3314,8 +2424,7 @@ export type ListOfMessageHeader = Array; export type ListOfMultiConditionalBranch = Array; export type ListOfOpenHoursRules = Array; export type ListOfRandomSplitEntry = Array; -export type ListOfRecommenderConfigurationResponse = - Array; +export type ListOfRecommenderConfigurationResponse = Array; export type ListOfResultRow = Array; export type ListOfResultRowValue = Array; export type ListOfSegmentDimensions = Array; @@ -3363,20 +2472,14 @@ export type MapOfAddressConfiguration = Record; export type MapOfAttributeDimension = Record; export type MapOfChannelResponse = Record; export type MapOfEndpointMessageResult = Record; -export type MapOfEndpointSendConfiguration = Record< - string, - EndpointSendConfiguration ->; +export type MapOfEndpointSendConfiguration = Record; export type MapOfEvent = Record; export type MapOfEventItemResponse = Record; export type MapOfEventsBatch = Record; export type MapOfItemResponse = Record; export type MapOfListOf__string = Record>; export type MapOfListOfOpenHoursRules = Record>; -export type MapOfMapOfEndpointMessageResult = Record< - string, - Record ->; +export type MapOfMapOfEndpointMessageResult = Record>; export type MapOfMessageResult = Record; export type MapOfMetricDimension = Record; export interface Message { @@ -3830,13 +2933,7 @@ export interface StartCondition { EventStartCondition?: EventStartCondition; SegmentStartCondition?: SegmentCondition; } -export type State = - | "DRAFT" - | "ACTIVE" - | "COMPLETED" - | "CANCELLED" - | "CLOSED" - | "PAUSED"; +export type State = "DRAFT" | "ACTIVE" | "COMPLETED" | "CANCELLED" | "CLOSED" | "PAUSED"; export interface TagResourceRequest { ResourceArn: string; TagsModel: TagsModel; @@ -5431,7 +4528,8 @@ export declare namespace ListJourneys { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTemplates { @@ -5561,13 +4659,15 @@ export declare namespace SendUsersMessages { export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateAdmChannel { @@ -5921,13 +5021,5 @@ export declare namespace VerifyOTPMessage { | CommonAwsError; } -export type PinpointErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | PayloadTooLargeException - | TooManyRequestsException - | CommonAwsError; +export type PinpointErrors = BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | PayloadTooLargeException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/pipes/index.ts b/src/services/pipes/index.ts index f94b70e0..34e82b2b 100644 --- a/src/services/pipes/index.ts +++ b/src/services/pipes/index.ts @@ -5,24 +5,7 @@ import type { Pipes as _PipesClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,16 +15,16 @@ const metadata = { sigV4ServiceName: "pipes", endpointPrefix: "pipes", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreatePipe: "POST /v1/pipes/{Name}", - DeletePipe: "DELETE /v1/pipes/{Name}", - DescribePipe: "GET /v1/pipes/{Name}", - ListPipes: "GET /v1/pipes", - StartPipe: "POST /v1/pipes/{Name}/start", - StopPipe: "POST /v1/pipes/{Name}/stop", - UpdatePipe: "PUT /v1/pipes/{Name}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreatePipe": "POST /v1/pipes/{Name}", + "DeletePipe": "DELETE /v1/pipes/{Name}", + "DescribePipe": "GET /v1/pipes/{Name}", + "ListPipes": "GET /v1/pipes", + "StartPipe": "POST /v1/pipes/{Name}/start", + "StopPipe": "POST /v1/pipes/{Name}/stop", + "UpdatePipe": "PUT /v1/pipes/{Name}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/pipes/types.ts b/src/services/pipes/types.ts index e4abee68..de3ff0bc 100644 --- a/src/services/pipes/types.ts +++ b/src/services/pipes/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Pipes extends AWSServiceClient { @@ -59,76 +26,43 @@ export declare class Pipes extends AWSServiceClient { input: CreatePipeRequest, ): Effect.Effect< CreatePipeResponse, - | ConflictException - | InternalException - | NotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalException | NotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deletePipe( input: DeletePipeRequest, ): Effect.Effect< DeletePipeResponse, - | ConflictException - | InternalException - | NotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalException | NotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePipe( input: DescribePipeRequest, ): Effect.Effect< DescribePipeResponse, - | InternalException - | NotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalException | NotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPipes( input: ListPipesRequest, ): Effect.Effect< ListPipesResponse, - | InternalException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalException | ThrottlingException | ValidationException | CommonAwsError >; startPipe( input: StartPipeRequest, ): Effect.Effect< StartPipeResponse, - | ConflictException - | InternalException - | NotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalException | NotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopPipe( input: StopPipeRequest, ): Effect.Effect< StopPipeResponse, - | ConflictException - | InternalException - | NotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalException | NotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePipe( input: UpdatePipeRequest, ): Effect.Effect< UpdatePipeResponse, - | ConflictException - | InternalException - | NotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalException | NotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -318,8 +252,7 @@ export interface EcsInferenceAcceleratorOverride { deviceName?: string; deviceType?: string; } -export type EcsInferenceAcceleratorOverrideList = - Array; +export type EcsInferenceAcceleratorOverrideList = Array; export interface EcsResourceRequirement { type: string; value: string; @@ -448,9 +381,7 @@ interface _MQBrokerAccessCredentials { BasicAuth?: string; } -export type MQBrokerAccessCredentials = _MQBrokerAccessCredentials & { - BasicAuth: string; -}; +export type MQBrokerAccessCredentials = (_MQBrokerAccessCredentials & { BasicAuth: string }); export type MQBrokerQueueName = string; interface _MSKAccessCredentials { @@ -458,9 +389,7 @@ interface _MSKAccessCredentials { ClientCertificateTlsAuth?: string; } -export type MSKAccessCredentials = - | (_MSKAccessCredentials & { SaslScram512Auth: string }) - | (_MSKAccessCredentials & { ClientCertificateTlsAuth: string }); +export type MSKAccessCredentials = (_MSKAccessCredentials & { SaslScram512Auth: string }) | (_MSKAccessCredentials & { ClientCertificateTlsAuth: string }); export type MSKStartPosition = string; export interface MultiMeasureAttributeMapping { @@ -776,17 +705,7 @@ interface _SelfManagedKafkaAccessConfigurationCredentials { ClientCertificateTlsAuth?: string; } -export type SelfManagedKafkaAccessConfigurationCredentials = - | (_SelfManagedKafkaAccessConfigurationCredentials & { BasicAuth: string }) - | (_SelfManagedKafkaAccessConfigurationCredentials & { - SaslScram512Auth: string; - }) - | (_SelfManagedKafkaAccessConfigurationCredentials & { - SaslScram256Auth: string; - }) - | (_SelfManagedKafkaAccessConfigurationCredentials & { - ClientCertificateTlsAuth: string; - }); +export type SelfManagedKafkaAccessConfigurationCredentials = (_SelfManagedKafkaAccessConfigurationCredentials & { BasicAuth: string }) | (_SelfManagedKafkaAccessConfigurationCredentials & { SaslScram512Auth: string }) | (_SelfManagedKafkaAccessConfigurationCredentials & { SaslScram256Auth: string }) | (_SelfManagedKafkaAccessConfigurationCredentials & { ClientCertificateTlsAuth: string }); export interface SelfManagedKafkaAccessConfigurationVpc { Subnets?: Array; SecurityGroup?: Array; @@ -857,7 +776,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -880,7 +800,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdatePipeRequest { Name: string; Description?: string; @@ -1083,11 +1004,5 @@ export declare namespace UpdatePipe { | CommonAwsError; } -export type PipesErrors = - | ConflictException - | InternalException - | NotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type PipesErrors = ConflictException | InternalException | NotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/polly/index.ts b/src/services/polly/index.ts index 510040d3..b6c87fbe 100644 --- a/src/services/polly/index.ts +++ b/src/services/polly/index.ts @@ -5,26 +5,7 @@ import type { Polly as _PollyClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,20 +15,20 @@ const metadata = { sigV4ServiceName: "polly", endpointPrefix: "polly", operations: { - DeleteLexicon: "DELETE /v1/lexicons/{Name}", - DescribeVoices: "GET /v1/voices", - GetLexicon: "GET /v1/lexicons/{Name}", - GetSpeechSynthesisTask: "GET /v1/synthesisTasks/{TaskId}", - ListLexicons: "GET /v1/lexicons", - ListSpeechSynthesisTasks: "GET /v1/synthesisTasks", - PutLexicon: "PUT /v1/lexicons/{Name}", - StartSpeechSynthesisTask: "POST /v1/synthesisTasks", - SynthesizeSpeech: { + "DeleteLexicon": "DELETE /v1/lexicons/{Name}", + "DescribeVoices": "GET /v1/voices", + "GetLexicon": "GET /v1/lexicons/{Name}", + "GetSpeechSynthesisTask": "GET /v1/synthesisTasks/{TaskId}", + "ListLexicons": "GET /v1/lexicons", + "ListSpeechSynthesisTasks": "GET /v1/synthesisTasks", + "PutLexicon": "PUT /v1/lexicons/{Name}", + "StartSpeechSynthesisTask": "POST /v1/synthesisTasks", + "SynthesizeSpeech": { http: "POST /v1/speech", traits: { - AudioStream: "httpPayload", - ContentType: "Content-Type", - RequestCharacters: "x-amzn-RequestCharacters", + "AudioStream": "httpPayload", + "ContentType": "Content-Type", + "RequestCharacters": "x-amzn-RequestCharacters", }, }, }, diff --git a/src/services/polly/types.ts b/src/services/polly/types.ts index 278a3570..3d32e731 100644 --- a/src/services/polly/types.ts +++ b/src/services/polly/types.ts @@ -25,10 +25,7 @@ export declare class Polly extends AWSServiceClient { input: GetSpeechSynthesisTaskInput, ): Effect.Effect< GetSpeechSynthesisTaskOutput, - | InvalidTaskIdException - | ServiceFailureException - | SynthesisTaskNotFoundException - | CommonAwsError + InvalidTaskIdException | ServiceFailureException | SynthesisTaskNotFoundException | CommonAwsError >; listLexicons( input: ListLexiconsInput, @@ -46,47 +43,19 @@ export declare class Polly extends AWSServiceClient { input: PutLexiconInput, ): Effect.Effect< PutLexiconOutput, - | InvalidLexiconException - | LexiconSizeExceededException - | MaxLexemeLengthExceededException - | MaxLexiconsNumberExceededException - | ServiceFailureException - | UnsupportedPlsAlphabetException - | UnsupportedPlsLanguageException - | CommonAwsError + InvalidLexiconException | LexiconSizeExceededException | MaxLexemeLengthExceededException | MaxLexiconsNumberExceededException | ServiceFailureException | UnsupportedPlsAlphabetException | UnsupportedPlsLanguageException | CommonAwsError >; startSpeechSynthesisTask( input: StartSpeechSynthesisTaskInput, ): Effect.Effect< StartSpeechSynthesisTaskOutput, - | EngineNotSupportedException - | InvalidS3BucketException - | InvalidS3KeyException - | InvalidSampleRateException - | InvalidSnsTopicArnException - | InvalidSsmlException - | LanguageNotSupportedException - | LexiconNotFoundException - | MarksNotSupportedForFormatException - | ServiceFailureException - | SsmlMarksNotSupportedForTextTypeException - | TextLengthExceededException - | CommonAwsError + EngineNotSupportedException | InvalidS3BucketException | InvalidS3KeyException | InvalidSampleRateException | InvalidSnsTopicArnException | InvalidSsmlException | LanguageNotSupportedException | LexiconNotFoundException | MarksNotSupportedForFormatException | ServiceFailureException | SsmlMarksNotSupportedForTextTypeException | TextLengthExceededException | CommonAwsError >; synthesizeSpeech( input: SynthesizeSpeechInput, ): Effect.Effect< SynthesizeSpeechOutput, - | EngineNotSupportedException - | InvalidSampleRateException - | InvalidSsmlException - | LanguageNotSupportedException - | LexiconNotFoundException - | MarksNotSupportedForFormatException - | ServiceFailureException - | SsmlMarksNotSupportedForTextTypeException - | TextLengthExceededException - | CommonAwsError + EngineNotSupportedException | InvalidSampleRateException | InvalidSsmlException | LanguageNotSupportedException | LexiconNotFoundException | MarksNotSupportedForFormatException | ServiceFailureException | SsmlMarksNotSupportedForTextTypeException | TextLengthExceededException | CommonAwsError >; } @@ -101,7 +70,8 @@ export type DateTime = Date | string; export interface DeleteLexiconInput { Name: string; } -export interface DeleteLexiconOutput {} +export interface DeleteLexiconOutput { +} export interface DescribeVoicesInput { Engine?: Engine; LanguageCode?: LanguageCode; @@ -177,49 +147,7 @@ export declare class InvalidTaskIdException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type LanguageCode = - | "arb" - | "cmn-CN" - | "cy-GB" - | "da-DK" - | "de-DE" - | "en-AU" - | "en-GB" - | "en-GB-WLS" - | "en-IN" - | "en-US" - | "es-ES" - | "es-MX" - | "es-US" - | "fr-CA" - | "fr-FR" - | "is-IS" - | "it-IT" - | "ja-JP" - | "hi-IN" - | "ko-KR" - | "nb-NO" - | "nl-NL" - | "pl-PL" - | "pt-BR" - | "pt-PT" - | "ro-RO" - | "ru-RU" - | "sv-SE" - | "tr-TR" - | "en-NZ" - | "en-ZA" - | "ca-ES" - | "de-AT" - | "yue-CN" - | "ar-AE" - | "fi-FI" - | "en-IE" - | "nl-BE" - | "fr-BE" - | "cs-CZ" - | "de-CH" - | "en-SG"; +export type LanguageCode = "arb" | "cmn-CN" | "cy-GB" | "da-DK" | "de-DE" | "en-AU" | "en-GB" | "en-GB-WLS" | "en-IN" | "en-US" | "es-ES" | "es-MX" | "es-US" | "fr-CA" | "fr-FR" | "is-IS" | "it-IT" | "ja-JP" | "hi-IN" | "ko-KR" | "nb-NO" | "nl-NL" | "pl-PL" | "pt-BR" | "pt-PT" | "ro-RO" | "ru-RU" | "sv-SE" | "tr-TR" | "en-NZ" | "en-ZA" | "ca-ES" | "de-AT" | "yue-CN" | "ar-AE" | "fi-FI" | "en-IE" | "nl-BE" | "fr-BE" | "cs-CZ" | "de-CH" | "en-SG"; export type LanguageCodeList = Array; export type LanguageName = string; @@ -312,7 +240,8 @@ export interface PutLexiconInput { Name: string; Content: string; } -export interface PutLexiconOutput {} +export interface PutLexiconOutput { +} export type RequestCharacters = number; export type SampleRate = string; @@ -421,107 +350,7 @@ export interface Voice { AdditionalLanguageCodes?: Array; SupportedEngines?: Array; } -export type VoiceId = - | "Aditi" - | "Amy" - | "Astrid" - | "Bianca" - | "Brian" - | "Camila" - | "Carla" - | "Carmen" - | "Celine" - | "Chantal" - | "Conchita" - | "Cristiano" - | "Dora" - | "Emma" - | "Enrique" - | "Ewa" - | "Filiz" - | "Gabrielle" - | "Geraint" - | "Giorgio" - | "Gwyneth" - | "Hans" - | "Ines" - | "Ivy" - | "Jacek" - | "Jan" - | "Joanna" - | "Joey" - | "Justin" - | "Karl" - | "Kendra" - | "Kevin" - | "Kimberly" - | "Lea" - | "Liv" - | "Lotte" - | "Lucia" - | "Lupe" - | "Mads" - | "Maja" - | "Marlene" - | "Mathieu" - | "Matthew" - | "Maxim" - | "Mia" - | "Miguel" - | "Mizuki" - | "Naja" - | "Nicole" - | "Olivia" - | "Penelope" - | "Raveena" - | "Ricardo" - | "Ruben" - | "Russell" - | "Salli" - | "Seoyeon" - | "Takumi" - | "Tatyana" - | "Vicki" - | "Vitoria" - | "Zeina" - | "Zhiyu" - | "Aria" - | "Ayanda" - | "Arlet" - | "Hannah" - | "Arthur" - | "Daniel" - | "Liam" - | "Pedro" - | "Kajal" - | "Hiujin" - | "Laura" - | "Elin" - | "Ida" - | "Suvi" - | "Ola" - | "Hala" - | "Andres" - | "Sergio" - | "Remi" - | "Adriano" - | "Thiago" - | "Ruth" - | "Stephen" - | "Kazuha" - | "Tomoko" - | "Niamh" - | "Sofie" - | "Lisa" - | "Isabelle" - | "Zayd" - | "Danielle" - | "Gregory" - | "Burcu" - | "Jitka" - | "Sabrina" - | "Jasmine" - | "Jihye"; +export type VoiceId = "Aditi" | "Amy" | "Astrid" | "Bianca" | "Brian" | "Camila" | "Carla" | "Carmen" | "Celine" | "Chantal" | "Conchita" | "Cristiano" | "Dora" | "Emma" | "Enrique" | "Ewa" | "Filiz" | "Gabrielle" | "Geraint" | "Giorgio" | "Gwyneth" | "Hans" | "Ines" | "Ivy" | "Jacek" | "Jan" | "Joanna" | "Joey" | "Justin" | "Karl" | "Kendra" | "Kevin" | "Kimberly" | "Lea" | "Liv" | "Lotte" | "Lucia" | "Lupe" | "Mads" | "Maja" | "Marlene" | "Mathieu" | "Matthew" | "Maxim" | "Mia" | "Miguel" | "Mizuki" | "Naja" | "Nicole" | "Olivia" | "Penelope" | "Raveena" | "Ricardo" | "Ruben" | "Russell" | "Salli" | "Seoyeon" | "Takumi" | "Tatyana" | "Vicki" | "Vitoria" | "Zeina" | "Zhiyu" | "Aria" | "Ayanda" | "Arlet" | "Hannah" | "Arthur" | "Daniel" | "Liam" | "Pedro" | "Kajal" | "Hiujin" | "Laura" | "Elin" | "Ida" | "Suvi" | "Ola" | "Hala" | "Andres" | "Sergio" | "Remi" | "Adriano" | "Thiago" | "Ruth" | "Stephen" | "Kazuha" | "Tomoko" | "Niamh" | "Sofie" | "Lisa" | "Isabelle" | "Zayd" | "Danielle" | "Gregory" | "Burcu" | "Jitka" | "Sabrina" | "Jasmine" | "Jihye"; export type VoiceList = Array; export type VoiceName = string; @@ -629,26 +458,5 @@ export declare namespace SynthesizeSpeech { | CommonAwsError; } -export type PollyErrors = - | EngineNotSupportedException - | InvalidLexiconException - | InvalidNextTokenException - | InvalidS3BucketException - | InvalidS3KeyException - | InvalidSampleRateException - | InvalidSnsTopicArnException - | InvalidSsmlException - | InvalidTaskIdException - | LanguageNotSupportedException - | LexiconNotFoundException - | LexiconSizeExceededException - | MarksNotSupportedForFormatException - | MaxLexemeLengthExceededException - | MaxLexiconsNumberExceededException - | ServiceFailureException - | SsmlMarksNotSupportedForTextTypeException - | SynthesisTaskNotFoundException - | TextLengthExceededException - | UnsupportedPlsAlphabetException - | UnsupportedPlsLanguageException - | CommonAwsError; +export type PollyErrors = EngineNotSupportedException | InvalidLexiconException | InvalidNextTokenException | InvalidS3BucketException | InvalidS3KeyException | InvalidSampleRateException | InvalidSnsTopicArnException | InvalidSsmlException | InvalidTaskIdException | LanguageNotSupportedException | LexiconNotFoundException | LexiconSizeExceededException | MarksNotSupportedForFormatException | MaxLexemeLengthExceededException | MaxLexiconsNumberExceededException | ServiceFailureException | SsmlMarksNotSupportedForTextTypeException | SynthesisTaskNotFoundException | TextLengthExceededException | UnsupportedPlsAlphabetException | UnsupportedPlsLanguageException | CommonAwsError; + diff --git a/src/services/pricing/index.ts b/src/services/pricing/index.ts index 05e2e3e1..200291fc 100644 --- a/src/services/pricing/index.ts +++ b/src/services/pricing/index.ts @@ -5,24 +5,7 @@ import type { Pricing as _PricingClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/pricing/types.ts b/src/services/pricing/types.ts index 2841f2a8..8ad50635 100644 --- a/src/services/pricing/types.ts +++ b/src/services/pricing/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class Pricing extends AWSServiceClient { @@ -41,63 +8,31 @@ export declare class Pricing extends AWSServiceClient { input: DescribeServicesRequest, ): Effect.Effect< DescribeServicesResponse, - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; getAttributeValues( input: GetAttributeValuesRequest, ): Effect.Effect< GetAttributeValuesResponse, - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; getPriceListFileUrl( input: GetPriceListFileUrlRequest, ): Effect.Effect< GetPriceListFileUrlResponse, - | AccessDeniedException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalErrorException | InvalidParameterException | NotFoundException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getProducts( input: GetProductsRequest, ): Effect.Effect< GetProductsResponse, - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ThrottlingException - | CommonAwsError + ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ThrottlingException | CommonAwsError >; listPriceLists( input: ListPriceListsRequest, ): Effect.Effect< ListPriceListsResponse, - | AccessDeniedException - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -146,12 +81,7 @@ export interface Filter { Value: string; } export type Filters = Array; -export type FilterType = - | "TERM_MATCH" - | "EQUALS" - | "CONTAINS" - | "ANY_OF" - | "NONE_OF"; +export type FilterType = "TERM_MATCH" | "EQUALS" | "CONTAINS" | "ANY_OF" | "NONE_OF"; export type FormatVersion = string; export interface GetAttributeValuesRequest { @@ -319,13 +249,5 @@ export declare namespace ListPriceLists { | CommonAwsError; } -export type PricingErrors = - | AccessDeniedException - | ExpiredNextTokenException - | InternalErrorException - | InvalidNextTokenException - | InvalidParameterException - | NotFoundException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError; +export type PricingErrors = AccessDeniedException | ExpiredNextTokenException | InternalErrorException | InvalidNextTokenException | InvalidParameterException | NotFoundException | ResourceNotFoundException | ThrottlingException | CommonAwsError; + diff --git a/src/services/proton/index.ts b/src/services/proton/index.ts index 30299439..90ee437d 100644 --- a/src/services/proton/index.ts +++ b/src/services/proton/index.ts @@ -5,23 +5,7 @@ import type { Proton as _ProtonClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/proton/types.ts b/src/services/proton/types.ts index c466fd15..25b3066f 100644 --- a/src/services/proton/types.ts +++ b/src/services/proton/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Proton extends AWSServiceClient { @@ -40,1004 +8,523 @@ export declare class Proton extends AWSServiceClient { input: CancelComponentDeploymentInput, ): Effect.Effect< CancelComponentDeploymentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelEnvironmentDeployment( input: CancelEnvironmentDeploymentInput, ): Effect.Effect< CancelEnvironmentDeploymentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelServiceInstanceDeployment( input: CancelServiceInstanceDeploymentInput, ): Effect.Effect< CancelServiceInstanceDeploymentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; cancelServicePipelineDeployment( input: CancelServicePipelineDeploymentInput, ): Effect.Effect< CancelServicePipelineDeploymentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRepositorySyncStatus( input: GetRepositorySyncStatusInput, ): Effect.Effect< GetRepositorySyncStatusOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcesSummary( input: GetResourcesSummaryInput, ): Effect.Effect< GetResourcesSummaryOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getServiceInstanceSyncStatus( input: GetServiceInstanceSyncStatusInput, ): Effect.Effect< GetServiceInstanceSyncStatusOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTemplateSyncStatus( input: GetTemplateSyncStatusInput, ): Effect.Effect< GetTemplateSyncStatusOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRepositorySyncDefinitions( input: ListRepositorySyncDefinitionsInput, ): Effect.Effect< ListRepositorySyncDefinitionsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; notifyResourceDeploymentStatusChange( input: NotifyResourceDeploymentStatusChangeInput, ): Effect.Effect< NotifyResourceDeploymentStatusChangeOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; acceptEnvironmentAccountConnection( input: AcceptEnvironmentAccountConnectionInput, ): Effect.Effect< AcceptEnvironmentAccountConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createComponent( input: CreateComponentInput, ): Effect.Effect< CreateComponentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironment( input: CreateEnvironmentInput, ): Effect.Effect< CreateEnvironmentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironmentAccountConnection( input: CreateEnvironmentAccountConnectionInput, ): Effect.Effect< CreateEnvironmentAccountConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironmentTemplate( input: CreateEnvironmentTemplateInput, ): Effect.Effect< CreateEnvironmentTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createEnvironmentTemplateVersion( input: CreateEnvironmentTemplateVersionInput, ): Effect.Effect< CreateEnvironmentTemplateVersionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRepository( input: CreateRepositoryInput, ): Effect.Effect< CreateRepositoryOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createService( input: CreateServiceInput, ): Effect.Effect< CreateServiceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createServiceInstance( input: CreateServiceInstanceInput, ): Effect.Effect< CreateServiceInstanceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createServiceSyncConfig( input: CreateServiceSyncConfigInput, ): Effect.Effect< CreateServiceSyncConfigOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createServiceTemplate( input: CreateServiceTemplateInput, ): Effect.Effect< CreateServiceTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createServiceTemplateVersion( input: CreateServiceTemplateVersionInput, ): Effect.Effect< CreateServiceTemplateVersionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTemplateSyncConfig( input: CreateTemplateSyncConfigInput, ): Effect.Effect< CreateTemplateSyncConfigOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteComponent( input: DeleteComponentInput, ): Effect.Effect< DeleteComponentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDeployment( input: DeleteDeploymentInput, ): Effect.Effect< DeleteDeploymentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironment( input: DeleteEnvironmentInput, ): Effect.Effect< DeleteEnvironmentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironmentAccountConnection( input: DeleteEnvironmentAccountConnectionInput, ): Effect.Effect< DeleteEnvironmentAccountConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironmentTemplate( input: DeleteEnvironmentTemplateInput, ): Effect.Effect< DeleteEnvironmentTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironmentTemplateVersion( input: DeleteEnvironmentTemplateVersionInput, ): Effect.Effect< DeleteEnvironmentTemplateVersionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRepository( input: DeleteRepositoryInput, ): Effect.Effect< DeleteRepositoryOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteService( input: DeleteServiceInput, ): Effect.Effect< DeleteServiceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteServiceSyncConfig( input: DeleteServiceSyncConfigInput, ): Effect.Effect< DeleteServiceSyncConfigOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteServiceTemplate( input: DeleteServiceTemplateInput, ): Effect.Effect< DeleteServiceTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteServiceTemplateVersion( input: DeleteServiceTemplateVersionInput, ): Effect.Effect< DeleteServiceTemplateVersionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTemplateSyncConfig( input: DeleteTemplateSyncConfigInput, ): Effect.Effect< DeleteTemplateSyncConfigOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAccountSettings( input: GetAccountSettingsInput, ): Effect.Effect< GetAccountSettingsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getComponent( input: GetComponentInput, ): Effect.Effect< GetComponentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDeployment( input: GetDeploymentInput, ): Effect.Effect< GetDeploymentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironment( input: GetEnvironmentInput, ): Effect.Effect< GetEnvironmentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironmentAccountConnection( input: GetEnvironmentAccountConnectionInput, ): Effect.Effect< GetEnvironmentAccountConnectionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironmentTemplate( input: GetEnvironmentTemplateInput, ): Effect.Effect< GetEnvironmentTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironmentTemplateVersion( input: GetEnvironmentTemplateVersionInput, ): Effect.Effect< GetEnvironmentTemplateVersionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRepository( input: GetRepositoryInput, ): Effect.Effect< GetRepositoryOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getService( input: GetServiceInput, ): Effect.Effect< GetServiceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceInstance( input: GetServiceInstanceInput, ): Effect.Effect< GetServiceInstanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceSyncBlockerSummary( input: GetServiceSyncBlockerSummaryInput, ): Effect.Effect< GetServiceSyncBlockerSummaryOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceSyncConfig( input: GetServiceSyncConfigInput, ): Effect.Effect< GetServiceSyncConfigOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceTemplate( input: GetServiceTemplateInput, ): Effect.Effect< GetServiceTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceTemplateVersion( input: GetServiceTemplateVersionInput, ): Effect.Effect< GetServiceTemplateVersionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTemplateSyncConfig( input: GetTemplateSyncConfigInput, ): Effect.Effect< GetTemplateSyncConfigOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listComponentOutputs( input: ListComponentOutputsInput, ): Effect.Effect< ListComponentOutputsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listComponentProvisionedResources( input: ListComponentProvisionedResourcesInput, ): Effect.Effect< ListComponentProvisionedResourcesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listComponents( input: ListComponentsInput, ): Effect.Effect< ListComponentsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDeployments( input: ListDeploymentsInput, ): Effect.Effect< ListDeploymentsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentAccountConnections( input: ListEnvironmentAccountConnectionsInput, ): Effect.Effect< ListEnvironmentAccountConnectionsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentOutputs( input: ListEnvironmentOutputsInput, ): Effect.Effect< ListEnvironmentOutputsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentProvisionedResources( input: ListEnvironmentProvisionedResourcesInput, ): Effect.Effect< ListEnvironmentProvisionedResourcesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentTemplateVersions( input: ListEnvironmentTemplateVersionsInput, ): Effect.Effect< ListEnvironmentTemplateVersionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironmentTemplates( input: ListEnvironmentTemplatesInput, ): Effect.Effect< ListEnvironmentTemplatesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironments( input: ListEnvironmentsInput, ): Effect.Effect< ListEnvironmentsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRepositories( input: ListRepositoriesInput, ): Effect.Effect< ListRepositoriesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceInstanceOutputs( input: ListServiceInstanceOutputsInput, ): Effect.Effect< ListServiceInstanceOutputsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceInstanceProvisionedResources( input: ListServiceInstanceProvisionedResourcesInput, ): Effect.Effect< ListServiceInstanceProvisionedResourcesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceInstances( input: ListServiceInstancesInput, ): Effect.Effect< ListServiceInstancesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServicePipelineOutputs( input: ListServicePipelineOutputsInput, ): Effect.Effect< ListServicePipelineOutputsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServicePipelineProvisionedResources( input: ListServicePipelineProvisionedResourcesInput, ): Effect.Effect< ListServicePipelineProvisionedResourcesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceTemplateVersions( input: ListServiceTemplateVersionsInput, ): Effect.Effect< ListServiceTemplateVersionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceTemplates( input: ListServiceTemplatesInput, ): Effect.Effect< ListServiceTemplatesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listServices( input: ListServicesInput, ): Effect.Effect< ListServicesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; rejectEnvironmentAccountConnection( input: RejectEnvironmentAccountConnectionInput, ): Effect.Effect< RejectEnvironmentAccountConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAccountSettings( input: UpdateAccountSettingsInput, ): Effect.Effect< UpdateAccountSettingsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateComponent( input: UpdateComponentInput, ): Effect.Effect< UpdateComponentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironment( input: UpdateEnvironmentInput, ): Effect.Effect< UpdateEnvironmentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironmentAccountConnection( input: UpdateEnvironmentAccountConnectionInput, ): Effect.Effect< UpdateEnvironmentAccountConnectionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironmentTemplate( input: UpdateEnvironmentTemplateInput, ): Effect.Effect< UpdateEnvironmentTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironmentTemplateVersion( input: UpdateEnvironmentTemplateVersionInput, ): Effect.Effect< UpdateEnvironmentTemplateVersionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateService( input: UpdateServiceInput, ): Effect.Effect< UpdateServiceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateServiceInstance( input: UpdateServiceInstanceInput, ): Effect.Effect< UpdateServiceInstanceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateServicePipeline( input: UpdateServicePipelineInput, ): Effect.Effect< UpdateServicePipelineOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateServiceSyncBlocker( input: UpdateServiceSyncBlockerInput, ): Effect.Effect< UpdateServiceSyncBlockerOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateServiceSyncConfig( input: UpdateServiceSyncConfigInput, ): Effect.Effect< UpdateServiceSyncConfigOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateServiceTemplate( input: UpdateServiceTemplateInput, ): Effect.Effect< UpdateServiceTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateServiceTemplateVersion( input: UpdateServiceTemplateVersionInput, ): Effect.Effect< UpdateServiceTemplateVersionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTemplateSyncConfig( input: UpdateTemplateSyncConfigInput, ): Effect.Effect< UpdateTemplateSyncConfigOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1100,10 +587,8 @@ export interface CompatibleEnvironmentTemplateInput { templateName: string; majorVersion: string; } -export type CompatibleEnvironmentTemplateInputList = - Array; -export type CompatibleEnvironmentTemplateList = - Array; +export type CompatibleEnvironmentTemplateInputList = Array; +export type CompatibleEnvironmentTemplateList = Array; export interface Component { name: string; description?: string; @@ -1420,11 +905,7 @@ interface _DeploymentState { component?: ComponentState; } -export type DeploymentState = - | (_DeploymentState & { serviceInstance: ServiceInstanceState }) - | (_DeploymentState & { environment: EnvironmentState }) - | (_DeploymentState & { servicePipeline: ServicePipelineState }) - | (_DeploymentState & { component: ComponentState }); +export type DeploymentState = (_DeploymentState & { serviceInstance: ServiceInstanceState }) | (_DeploymentState & { environment: EnvironmentState }) | (_DeploymentState & { servicePipeline: ServicePipelineState }) | (_DeploymentState & { component: ComponentState }); export type DeploymentStatus = string; export interface DeploymentSummary { @@ -1512,8 +993,7 @@ export interface EnvironmentAccountConnectionSummary { status: string; componentRoleArn?: string; } -export type EnvironmentAccountConnectionSummaryList = - Array; +export type EnvironmentAccountConnectionSummaryList = Array; export type EnvironmentArn = string; export interface EnvironmentState { @@ -1599,13 +1079,13 @@ export interface EnvironmentTemplateVersionSummary { createdAt: Date | string; lastModifiedAt: Date | string; } -export type EnvironmentTemplateVersionSummaryList = - Array; +export type EnvironmentTemplateVersionSummaryList = Array; export type ErrorMessage = string; export type FullTemplateVersionNumber = string; -export interface GetAccountSettingsInput {} +export interface GetAccountSettingsInput { +} export interface GetAccountSettingsOutput { accountSettings?: AccountSettings; } @@ -1667,7 +1147,8 @@ export interface GetRepositorySyncStatusInput { export interface GetRepositorySyncStatusOutput { latestSync?: RepositorySyncAttempt; } -export interface GetResourcesSummaryInput {} +export interface GetResourcesSummaryInput { +} export interface GetResourcesSummaryOutput { counts: CountsSummary; } @@ -1963,7 +1444,8 @@ export interface NotifyResourceDeploymentStatusChangeInput { deploymentId?: string; statusMessage?: string; } -export interface NotifyResourceDeploymentStatusChangeOutput {} +export interface NotifyResourceDeploymentStatusChangeOutput { +} export type OpsFilePath = string; export interface Output { @@ -2272,8 +1754,7 @@ export interface ServiceTemplateVersionSummary { createdAt: Date | string; lastModifiedAt: Date | string; } -export type ServiceTemplateVersionSummaryList = - Array; +export type ServiceTemplateVersionSummaryList = Array; export type SHA = string; export type SortOrder = string; @@ -2313,7 +1794,8 @@ export interface TagResourceInput { resourceArn: string; tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type TemplateFileContents = string; @@ -2338,9 +1820,7 @@ interface _TemplateVersionSourceInput { s3?: S3ObjectSource; } -export type TemplateVersionSourceInput = _TemplateVersionSourceInput & { - s3: S3ObjectSource; -}; +export type TemplateVersionSourceInput = (_TemplateVersionSourceInput & { s3: S3ObjectSource }); export type TemplateVersionStatus = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -2352,7 +1832,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateAccountSettingsInput { pipelineServiceRoleArn?: string; pipelineProvisioningRepository?: RepositoryBranchInput; @@ -3593,12 +3074,5 @@ export declare namespace UpdateTemplateSyncConfig { | CommonAwsError; } -export type ProtonErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ProtonErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/qapps/index.ts b/src/services/qapps/index.ts index da083fa2..ebca045a 100644 --- a/src/services/qapps/index.ts +++ b/src/services/qapps/index.ts @@ -5,23 +5,7 @@ import type { QApps as _QAppsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,41 +15,45 @@ const metadata = { sigV4ServiceName: "qapps", endpointPrefix: "data.qapps", operations: { - AssociateLibraryItemReview: "POST /catalog.associateItemRating", - AssociateQAppWithUser: "POST /apps.install", - BatchCreateCategory: "POST /catalog.createCategories", - BatchDeleteCategory: "POST /catalog.deleteCategories", - BatchUpdateCategory: "POST /catalog.updateCategories", - CreateLibraryItem: "POST /catalog.createItem", - CreatePresignedUrl: "POST /apps.createPresignedUrl", - CreateQApp: "POST /apps.create", - DeleteLibraryItem: "POST /catalog.deleteItem", - DeleteQApp: "POST /apps.delete", - DescribeQAppPermissions: "GET /apps.describeQAppPermissions", - DisassociateLibraryItemReview: "POST /catalog.disassociateItemRating", - DisassociateQAppFromUser: "POST /apps.uninstall", - ExportQAppSessionData: "POST /runtime.exportQAppSessionData", - GetLibraryItem: "GET /catalog.getItem", - GetQApp: "GET /apps.get", - GetQAppSession: "GET /runtime.getQAppSession", - GetQAppSessionMetadata: "GET /runtime.getQAppSessionMetadata", - ImportDocument: "POST /apps.importDocument", - ListCategories: "GET /catalog.listCategories", - ListLibraryItems: "GET /catalog.list", - ListQApps: "GET /apps.list", - ListQAppSessionData: "GET /runtime.listQAppSessionData", - ListTagsForResource: "GET /tags/{resourceARN}", - PredictQApp: "POST /apps.predictQApp", - StartQAppSession: "POST /runtime.startQAppSession", - StopQAppSession: "POST /runtime.deleteMiniAppRun", - TagResource: "POST /tags/{resourceARN}", - UntagResource: "DELETE /tags/{resourceARN}", - UpdateLibraryItem: "POST /catalog.updateItem", - UpdateLibraryItemMetadata: "POST /catalog.updateItemMetadata", - UpdateQApp: "POST /apps.update", - UpdateQAppPermissions: "POST /apps.updateQAppPermissions", - UpdateQAppSession: "POST /runtime.updateQAppSession", - UpdateQAppSessionMetadata: "POST /runtime.updateQAppSessionMetadata", + "AssociateLibraryItemReview": "POST /catalog.associateItemRating", + "AssociateQAppWithUser": "POST /apps.install", + "BatchCreateCategory": "POST /catalog.createCategories", + "BatchDeleteCategory": "POST /catalog.deleteCategories", + "BatchUpdateCategory": "POST /catalog.updateCategories", + "CreateLibraryItem": "POST /catalog.createItem", + "CreatePresignedUrl": "POST /apps.createPresignedUrl", + "CreateQApp": "POST /apps.create", + "DeleteLibraryItem": "POST /catalog.deleteItem", + "DeleteQApp": "POST /apps.delete", + "DescribeQAppPermissions": "GET /apps.describeQAppPermissions", + "DisassociateLibraryItemReview": "POST /catalog.disassociateItemRating", + "DisassociateQAppFromUser": "POST /apps.uninstall", + "ExportQAppSessionData": "POST /runtime.exportQAppSessionData", + "GetLibraryItem": "GET /catalog.getItem", + "GetQApp": "GET /apps.get", + "GetQAppSession": "GET /runtime.getQAppSession", + "GetQAppSessionMetadata": "GET /runtime.getQAppSessionMetadata", + "ImportDocument": "POST /apps.importDocument", + "ListCategories": "GET /catalog.listCategories", + "ListLibraryItems": "GET /catalog.list", + "ListQApps": "GET /apps.list", + "ListQAppSessionData": "GET /runtime.listQAppSessionData", + "ListTagsForResource": "GET /tags/{resourceARN}", + "PredictQApp": "POST /apps.predictQApp", + "StartQAppSession": "POST /runtime.startQAppSession", + "StopQAppSession": "POST /runtime.deleteMiniAppRun", + "TagResource": "POST /tags/{resourceARN}", + "UntagResource": "DELETE /tags/{resourceARN}", + "UpdateLibraryItem": "POST /catalog.updateItem", + "UpdateLibraryItemMetadata": "POST /catalog.updateItemMetadata", + "UpdateQApp": "POST /apps.update", + "UpdateQAppPermissions": "POST /apps.updateQAppPermissions", + "UpdateQAppSession": "POST /runtime.updateQAppSession", + "UpdateQAppSessionMetadata": "POST /runtime.updateQAppSessionMetadata", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/qapps/types.ts b/src/services/qapps/types.ts index 7aadc1a1..44ac395d 100644 --- a/src/services/qapps/types.ts +++ b/src/services/qapps/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class QApps extends AWSServiceClient { @@ -40,442 +8,211 @@ export declare class QApps extends AWSServiceClient { input: AssociateLibraryItemReviewInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; associateQAppWithUser( input: AssociateQAppWithUserInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; batchCreateCategory( input: BatchCreateCategoryInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; batchDeleteCategory( input: BatchDeleteCategoryInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; batchUpdateCategory( input: BatchUpdateCategoryInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createLibraryItem( input: CreateLibraryItemInput, ): Effect.Effect< CreateLibraryItemOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createPresignedUrl( input: CreatePresignedUrlInput, ): Effect.Effect< CreatePresignedUrlOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createQApp( input: CreateQAppInput, ): Effect.Effect< CreateQAppOutput, - | AccessDeniedException - | ConflictException - | ContentTooLargeException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ContentTooLargeException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteLibraryItem( input: DeleteLibraryItemInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteQApp( input: DeleteQAppInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; describeQAppPermissions( input: DescribeQAppPermissionsInput, ): Effect.Effect< DescribeQAppPermissionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; disassociateLibraryItemReview( input: DisassociateLibraryItemReviewInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; disassociateQAppFromUser( input: DisassociateQAppFromUserInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; exportQAppSessionData( input: ExportQAppSessionDataInput, ): Effect.Effect< ExportQAppSessionDataOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getLibraryItem( input: GetLibraryItemInput, ): Effect.Effect< GetLibraryItemOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getQApp( input: GetQAppInput, ): Effect.Effect< GetQAppOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getQAppSession( input: GetQAppSessionInput, ): Effect.Effect< GetQAppSessionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getQAppSessionMetadata( input: GetQAppSessionMetadataInput, ): Effect.Effect< GetQAppSessionMetadataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; importDocument( input: ImportDocumentInput, ): Effect.Effect< ImportDocumentOutput, - | AccessDeniedException - | ContentTooLargeException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ContentTooLargeException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listCategories( input: ListCategoriesInput, ): Effect.Effect< ListCategoriesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listLibraryItems( input: ListLibraryItemsInput, ): Effect.Effect< ListLibraryItemsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listQApps( input: ListQAppsInput, ): Effect.Effect< ListQAppsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listQAppSessionData( input: ListQAppSessionDataInput, ): Effect.Effect< ListQAppSessionDataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; predictQApp( input: PredictQAppInput, ): Effect.Effect< PredictQAppOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; startQAppSession( input: StartQAppSessionInput, ): Effect.Effect< StartQAppSessionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; stopQAppSession( input: StopQAppSessionInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateLibraryItem( input: UpdateLibraryItemInput, ): Effect.Effect< UpdateLibraryItemOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateLibraryItemMetadata( input: UpdateLibraryItemMetadataInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateQApp( input: UpdateQAppInput, ): Effect.Effect< UpdateQAppOutput, - | AccessDeniedException - | ContentTooLargeException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ContentTooLargeException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateQAppPermissions( input: UpdateQAppPermissionsInput, ): Effect.Effect< UpdateQAppPermissionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateQAppSession( input: UpdateQAppSessionInput, ): Effect.Effect< UpdateQAppSessionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateQAppSessionMetadata( input: UpdateQAppSessionMetadataInput, ): Effect.Effect< UpdateQAppSessionMetadataOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; } @@ -503,11 +240,7 @@ export interface AppDefinitionInput { initialPrompt?: string; } export type AppRequiredCapabilities = Array; -export type AppRequiredCapability = - | "FileUpload" - | "CreatorMode" - | "RetrievalMode" - | "PluginMode"; +export type AppRequiredCapability = "FileUpload" | "CreatorMode" | "RetrievalMode" | "PluginMode"; export type AppStatus = "PUBLISHED" | "DRAFT" | "DELETED"; export type AppVersion = number; @@ -541,8 +274,7 @@ export interface BatchCreateCategoryInputCategory { title: string; color?: string; } -export type BatchCreateCategoryInputCategoryList = - Array; +export type BatchCreateCategoryInputCategoryList = Array; export interface BatchDeleteCategoryInput { instanceId: string; categories: Array; @@ -559,12 +291,7 @@ interface _Card { formInput?: FormInputCard; } -export type Card = - | (_Card & { textInput: TextInputCard }) - | (_Card & { qQuery: QQueryCard }) - | (_Card & { qPlugin: QPluginCard }) - | (_Card & { fileUpload: FileUploadCard }) - | (_Card & { formInput: FormInputCard }); +export type Card = (_Card & { textInput: TextInputCard }) | (_Card & { qQuery: QQueryCard }) | (_Card & { qPlugin: QPluginCard }) | (_Card & { fileUpload: FileUploadCard }) | (_Card & { formInput: FormInputCard }); interface _CardInput { textInput?: TextInputCardInput; qQuery?: QQueryCardInput; @@ -573,12 +300,7 @@ interface _CardInput { formInput?: FormInputCardInput; } -export type CardInput = - | (_CardInput & { textInput: TextInputCardInput }) - | (_CardInput & { qQuery: QQueryCardInput }) - | (_CardInput & { qPlugin: QPluginCardInput }) - | (_CardInput & { fileUpload: FileUploadCardInput }) - | (_CardInput & { formInput: FormInputCardInput }); +export type CardInput = (_CardInput & { textInput: TextInputCardInput }) | (_CardInput & { qQuery: QQueryCardInput }) | (_CardInput & { qPlugin: QPluginCardInput }) | (_CardInput & { fileUpload: FileUploadCardInput }) | (_CardInput & { formInput: FormInputCardInput }); export type CardList = Array; export type CardModelList = Array; export type CardOutputSource = "approved-sources" | "llm"; @@ -588,12 +310,7 @@ export interface CardStatus { submissions?: Array; } export type CardStatusMap = Record; -export type CardType = - | "text-input" - | "q-query" - | "file-upload" - | "q-plugin" - | "form-input"; +export type CardType = "text-input" | "q-query" | "file-upload" | "q-plugin" | "form-input"; export interface CardValue { cardId: string; value: string; @@ -732,11 +449,7 @@ interface _DocumentAttributeValue { dateValue?: Date | string; } -export type DocumentAttributeValue = - | (_DocumentAttributeValue & { stringValue: string }) - | (_DocumentAttributeValue & { stringListValue: Array }) - | (_DocumentAttributeValue & { longValue: number }) - | (_DocumentAttributeValue & { dateValue: Date | string }); +export type DocumentAttributeValue = (_DocumentAttributeValue & { stringValue: string }) | (_DocumentAttributeValue & { stringListValue: Array }) | (_DocumentAttributeValue & { longValue: number }) | (_DocumentAttributeValue & { dateValue: Date | string }); export type DocumentScope = "APPLICATION" | "SESSION"; export type ExecutionStatus = "IN_PROGRESS" | "WAITING" | "COMPLETED" | "ERROR"; export interface ExportQAppSessionDataInput { @@ -957,23 +670,7 @@ export type PlatoString = string; export type PluginId = string; -export type PluginType = - | "SERVICE_NOW" - | "SALESFORCE" - | "JIRA" - | "ZENDESK" - | "CUSTOM" - | "ASANA" - | "ATLASSIAN_CONFLUENCE" - | "GOOGLE_CALENDAR" - | "JIRA_CLOUD" - | "MICROSOFT_EXCHANGE" - | "MICROSOFT_TEAMS" - | "PAGERDUTY_ADVANCE" - | "SALESFORCE_CRM" - | "SERVICENOW_NOW_PLATFORM" - | "SMARTSHEET" - | "ZENDESK_SUITE"; +export type PluginType = "SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK" | "CUSTOM" | "ASANA" | "ATLASSIAN_CONFLUENCE" | "GOOGLE_CALENDAR" | "JIRA_CLOUD" | "MICROSOFT_EXCHANGE" | "MICROSOFT_TEAMS" | "PAGERDUTY_ADVANCE" | "SALESFORCE_CRM" | "SERVICENOW_NOW_PLATFORM" | "SMARTSHEET" | "ZENDESK_SUITE"; export interface PredictAppDefinition { title: string; description?: string; @@ -988,9 +685,7 @@ interface _PredictQAppInputOptions { problemStatement?: string; } -export type PredictQAppInputOptions = - | (_PredictQAppInputOptions & { conversation: Array }) - | (_PredictQAppInputOptions & { problemStatement: string }); +export type PredictQAppInputOptions = (_PredictQAppInputOptions & { conversation: Array }) | (_PredictQAppInputOptions & { problemStatement: string }); export interface PredictQAppOutput { app: PredictAppDefinition; problemStatement: string; @@ -1114,7 +809,8 @@ export interface TagResourceRequest { resourceARN: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -1154,7 +850,8 @@ export interface UntagResourceRequest { resourceARN: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateLibraryItemInput { instanceId: string; libraryItemId: string; @@ -1734,14 +1431,5 @@ export declare namespace UpdateQAppSessionMetadata { | CommonAwsError; } -export type QAppsErrors = - | AccessDeniedException - | ConflictException - | ContentTooLargeException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError; +export type QAppsErrors = AccessDeniedException | ConflictException | ContentTooLargeException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError; + diff --git a/src/services/qbusiness/index.ts b/src/services/qbusiness/index.ts index 5dd48023..1304f52a 100644 --- a/src/services/qbusiness/index.ts +++ b/src/services/qbusiness/index.ts @@ -5,23 +5,7 @@ import type { QBusiness as _QBusinessClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,136 +14,94 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "qbusiness", operations: { - AssociatePermission: "POST /applications/{applicationId}/policy", - BatchDeleteDocument: - "POST /applications/{applicationId}/indices/{indexId}/documents/delete", - BatchPutDocument: - "POST /applications/{applicationId}/indices/{indexId}/documents", - CancelSubscription: - "DELETE /applications/{applicationId}/subscriptions/{subscriptionId}", - Chat: { + "AssociatePermission": "POST /applications/{applicationId}/policy", + "BatchDeleteDocument": "POST /applications/{applicationId}/indices/{indexId}/documents/delete", + "BatchPutDocument": "POST /applications/{applicationId}/indices/{indexId}/documents", + "CancelSubscription": "DELETE /applications/{applicationId}/subscriptions/{subscriptionId}", + "Chat": { http: "POST /applications/{applicationId}/conversations", traits: { - outputStream: "httpPayload", + "outputStream": "httpPayload", }, }, - ChatSync: "POST /applications/{applicationId}/conversations?sync", - CheckDocumentAccess: - "GET /applications/{applicationId}/index/{indexId}/users/{userId}/documents/{documentId}/check-document-access", - CreateAnonymousWebExperienceUrl: - "POST /applications/{applicationId}/experiences/{webExperienceId}/anonymous-url", - CreateChatResponseConfiguration: - "POST /applications/{applicationId}/chatresponseconfigurations", - CreateSubscription: "POST /applications/{applicationId}/subscriptions", - CreateUser: "POST /applications/{applicationId}/users", - DeleteAttachment: - "DELETE /applications/{applicationId}/conversations/{conversationId}/attachments/{attachmentId}", - DeleteChatControlsConfiguration: - "DELETE /applications/{applicationId}/chatcontrols", - DeleteChatResponseConfiguration: - "DELETE /applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", - DeleteConversation: - "DELETE /applications/{applicationId}/conversations/{conversationId}", - DeleteGroup: - "DELETE /applications/{applicationId}/indices/{indexId}/groups/{groupName}", - DeleteUser: "DELETE /applications/{applicationId}/users/{userId}", - DisassociatePermission: - "DELETE /applications/{applicationId}/policy/{statementId}", - GetChatControlsConfiguration: - "GET /applications/{applicationId}/chatcontrols", - GetChatResponseConfiguration: - "GET /applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", - GetDocumentContent: - "GET /applications/{applicationId}/index/{indexId}/documents/{documentId}/content", - GetGroup: - "GET /applications/{applicationId}/indices/{indexId}/groups/{groupName}", - GetMedia: - "GET /applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/media/{mediaId}", - GetPolicy: "GET /applications/{applicationId}/policy", - GetUser: "GET /applications/{applicationId}/users/{userId}", - ListAttachments: "GET /applications/{applicationId}/attachments", - ListChatResponseConfigurations: - "GET /applications/{applicationId}/chatresponseconfigurations", - ListConversations: "GET /applications/{applicationId}/conversations", - ListDataSourceSyncJobs: - "GET /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/syncjobs", - ListDocuments: - "GET /applications/{applicationId}/index/{indexId}/documents", - ListGroups: "GET /applications/{applicationId}/indices/{indexId}/groups", - ListMessages: - "GET /applications/{applicationId}/conversations/{conversationId}", - ListPluginActions: - "GET /applications/{applicationId}/plugins/{pluginId}/actions", - ListPluginTypeActions: "GET /pluginTypes/{pluginType}/actions", - ListPluginTypeMetadata: "GET /pluginTypeMetadata", - ListSubscriptions: "GET /applications/{applicationId}/subscriptions", - ListTagsForResource: "GET /v1/tags/{resourceARN}", - PutFeedback: - "POST /applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/feedback", - PutGroup: "PUT /applications/{applicationId}/indices/{indexId}/groups", - SearchRelevantContent: - "POST /applications/{applicationId}/relevant-content", - StartDataSourceSyncJob: - "POST /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/startsync", - StopDataSourceSyncJob: - "POST /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/stopsync", - TagResource: "POST /v1/tags/{resourceARN}", - UntagResource: "DELETE /v1/tags/{resourceARN}", - UpdateChatControlsConfiguration: - "PATCH /applications/{applicationId}/chatcontrols", - UpdateChatResponseConfiguration: - "PUT /applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", - UpdateSubscription: - "PUT /applications/{applicationId}/subscriptions/{subscriptionId}", - UpdateUser: "PUT /applications/{applicationId}/users/{userId}", - CreateApplication: "POST /applications", - CreateDataAccessor: "POST /applications/{applicationId}/dataaccessors", - CreateDataSource: - "POST /applications/{applicationId}/indices/{indexId}/datasources", - CreateIndex: "POST /applications/{applicationId}/indices", - CreatePlugin: "POST /applications/{applicationId}/plugins", - CreateRetriever: "POST /applications/{applicationId}/retrievers", - CreateWebExperience: "POST /applications/{applicationId}/experiences", - DeleteApplication: "DELETE /applications/{applicationId}", - DeleteDataAccessor: - "DELETE /applications/{applicationId}/dataaccessors/{dataAccessorId}", - DeleteDataSource: - "DELETE /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", - DeleteIndex: "DELETE /applications/{applicationId}/indices/{indexId}", - DeletePlugin: "DELETE /applications/{applicationId}/plugins/{pluginId}", - DeleteRetriever: - "DELETE /applications/{applicationId}/retrievers/{retrieverId}", - DeleteWebExperience: - "DELETE /applications/{applicationId}/experiences/{webExperienceId}", - GetApplication: "GET /applications/{applicationId}", - GetDataAccessor: - "GET /applications/{applicationId}/dataaccessors/{dataAccessorId}", - GetDataSource: - "GET /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", - GetIndex: "GET /applications/{applicationId}/indices/{indexId}", - GetPlugin: "GET /applications/{applicationId}/plugins/{pluginId}", - GetRetriever: "GET /applications/{applicationId}/retrievers/{retrieverId}", - GetWebExperience: - "GET /applications/{applicationId}/experiences/{webExperienceId}", - ListApplications: "GET /applications", - ListDataAccessors: "GET /applications/{applicationId}/dataaccessors", - ListDataSources: - "GET /applications/{applicationId}/indices/{indexId}/datasources", - ListIndices: "GET /applications/{applicationId}/indices", - ListPlugins: "GET /applications/{applicationId}/plugins", - ListRetrievers: "GET /applications/{applicationId}/retrievers", - ListWebExperiences: "GET /applications/{applicationId}/experiences", - UpdateApplication: "PUT /applications/{applicationId}", - UpdateDataAccessor: - "PUT /applications/{applicationId}/dataaccessors/{dataAccessorId}", - UpdateDataSource: - "PUT /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", - UpdateIndex: "PUT /applications/{applicationId}/indices/{indexId}", - UpdatePlugin: "PUT /applications/{applicationId}/plugins/{pluginId}", - UpdateRetriever: - "PUT /applications/{applicationId}/retrievers/{retrieverId}", - UpdateWebExperience: - "PUT /applications/{applicationId}/experiences/{webExperienceId}", + "ChatSync": "POST /applications/{applicationId}/conversations?sync", + "CheckDocumentAccess": "GET /applications/{applicationId}/index/{indexId}/users/{userId}/documents/{documentId}/check-document-access", + "CreateAnonymousWebExperienceUrl": "POST /applications/{applicationId}/experiences/{webExperienceId}/anonymous-url", + "CreateChatResponseConfiguration": "POST /applications/{applicationId}/chatresponseconfigurations", + "CreateSubscription": "POST /applications/{applicationId}/subscriptions", + "CreateUser": "POST /applications/{applicationId}/users", + "DeleteAttachment": "DELETE /applications/{applicationId}/conversations/{conversationId}/attachments/{attachmentId}", + "DeleteChatControlsConfiguration": "DELETE /applications/{applicationId}/chatcontrols", + "DeleteChatResponseConfiguration": "DELETE /applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", + "DeleteConversation": "DELETE /applications/{applicationId}/conversations/{conversationId}", + "DeleteGroup": "DELETE /applications/{applicationId}/indices/{indexId}/groups/{groupName}", + "DeleteUser": "DELETE /applications/{applicationId}/users/{userId}", + "DisassociatePermission": "DELETE /applications/{applicationId}/policy/{statementId}", + "GetChatControlsConfiguration": "GET /applications/{applicationId}/chatcontrols", + "GetChatResponseConfiguration": "GET /applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", + "GetDocumentContent": "GET /applications/{applicationId}/index/{indexId}/documents/{documentId}/content", + "GetGroup": "GET /applications/{applicationId}/indices/{indexId}/groups/{groupName}", + "GetMedia": "GET /applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/media/{mediaId}", + "GetPolicy": "GET /applications/{applicationId}/policy", + "GetUser": "GET /applications/{applicationId}/users/{userId}", + "ListAttachments": "GET /applications/{applicationId}/attachments", + "ListChatResponseConfigurations": "GET /applications/{applicationId}/chatresponseconfigurations", + "ListConversations": "GET /applications/{applicationId}/conversations", + "ListDataSourceSyncJobs": "GET /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/syncjobs", + "ListDocuments": "GET /applications/{applicationId}/index/{indexId}/documents", + "ListGroups": "GET /applications/{applicationId}/indices/{indexId}/groups", + "ListMessages": "GET /applications/{applicationId}/conversations/{conversationId}", + "ListPluginActions": "GET /applications/{applicationId}/plugins/{pluginId}/actions", + "ListPluginTypeActions": "GET /pluginTypes/{pluginType}/actions", + "ListPluginTypeMetadata": "GET /pluginTypeMetadata", + "ListSubscriptions": "GET /applications/{applicationId}/subscriptions", + "ListTagsForResource": "GET /v1/tags/{resourceARN}", + "PutFeedback": "POST /applications/{applicationId}/conversations/{conversationId}/messages/{messageId}/feedback", + "PutGroup": "PUT /applications/{applicationId}/indices/{indexId}/groups", + "SearchRelevantContent": "POST /applications/{applicationId}/relevant-content", + "StartDataSourceSyncJob": "POST /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/startsync", + "StopDataSourceSyncJob": "POST /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}/stopsync", + "TagResource": "POST /v1/tags/{resourceARN}", + "UntagResource": "DELETE /v1/tags/{resourceARN}", + "UpdateChatControlsConfiguration": "PATCH /applications/{applicationId}/chatcontrols", + "UpdateChatResponseConfiguration": "PUT /applications/{applicationId}/chatresponseconfigurations/{chatResponseConfigurationId}", + "UpdateSubscription": "PUT /applications/{applicationId}/subscriptions/{subscriptionId}", + "UpdateUser": "PUT /applications/{applicationId}/users/{userId}", + "CreateApplication": "POST /applications", + "CreateDataAccessor": "POST /applications/{applicationId}/dataaccessors", + "CreateDataSource": "POST /applications/{applicationId}/indices/{indexId}/datasources", + "CreateIndex": "POST /applications/{applicationId}/indices", + "CreatePlugin": "POST /applications/{applicationId}/plugins", + "CreateRetriever": "POST /applications/{applicationId}/retrievers", + "CreateWebExperience": "POST /applications/{applicationId}/experiences", + "DeleteApplication": "DELETE /applications/{applicationId}", + "DeleteDataAccessor": "DELETE /applications/{applicationId}/dataaccessors/{dataAccessorId}", + "DeleteDataSource": "DELETE /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", + "DeleteIndex": "DELETE /applications/{applicationId}/indices/{indexId}", + "DeletePlugin": "DELETE /applications/{applicationId}/plugins/{pluginId}", + "DeleteRetriever": "DELETE /applications/{applicationId}/retrievers/{retrieverId}", + "DeleteWebExperience": "DELETE /applications/{applicationId}/experiences/{webExperienceId}", + "GetApplication": "GET /applications/{applicationId}", + "GetDataAccessor": "GET /applications/{applicationId}/dataaccessors/{dataAccessorId}", + "GetDataSource": "GET /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", + "GetIndex": "GET /applications/{applicationId}/indices/{indexId}", + "GetPlugin": "GET /applications/{applicationId}/plugins/{pluginId}", + "GetRetriever": "GET /applications/{applicationId}/retrievers/{retrieverId}", + "GetWebExperience": "GET /applications/{applicationId}/experiences/{webExperienceId}", + "ListApplications": "GET /applications", + "ListDataAccessors": "GET /applications/{applicationId}/dataaccessors", + "ListDataSources": "GET /applications/{applicationId}/indices/{indexId}/datasources", + "ListIndices": "GET /applications/{applicationId}/indices", + "ListPlugins": "GET /applications/{applicationId}/plugins", + "ListRetrievers": "GET /applications/{applicationId}/retrievers", + "ListWebExperiences": "GET /applications/{applicationId}/experiences", + "UpdateApplication": "PUT /applications/{applicationId}", + "UpdateDataAccessor": "PUT /applications/{applicationId}/dataaccessors/{dataAccessorId}", + "UpdateDataSource": "PUT /applications/{applicationId}/indices/{indexId}/datasources/{dataSourceId}", + "UpdateIndex": "PUT /applications/{applicationId}/indices/{indexId}", + "UpdatePlugin": "PUT /applications/{applicationId}/plugins/{pluginId}", + "UpdateRetriever": "PUT /applications/{applicationId}/retrievers/{retrieverId}", + "UpdateWebExperience": "PUT /applications/{applicationId}/experiences/{webExperienceId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/qbusiness/types.ts b/src/services/qbusiness/types.ts index 4ed4dea6..84858fd0 100644 --- a/src/services/qbusiness/types.ts +++ b/src/services/qbusiness/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class QBusiness extends AWSServiceClient { @@ -40,989 +8,499 @@ export declare class QBusiness extends AWSServiceClient { input: AssociatePermissionRequest, ): Effect.Effect< AssociatePermissionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchDeleteDocument( input: BatchDeleteDocumentRequest, ): Effect.Effect< BatchDeleteDocumentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchPutDocument( input: BatchPutDocumentRequest, ): Effect.Effect< BatchPutDocumentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; cancelSubscription( input: CancelSubscriptionRequest, ): Effect.Effect< CancelSubscriptionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; chat( input: ChatInput, ): Effect.Effect< ChatOutput, - | AccessDeniedException - | ConflictException - | ExternalResourceException - | InternalServerException - | LicenseNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExternalResourceException | InternalServerException | LicenseNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; chatSync( input: ChatSyncInput, ): Effect.Effect< ChatSyncOutput, - | AccessDeniedException - | ConflictException - | ExternalResourceException - | InternalServerException - | LicenseNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ExternalResourceException | InternalServerException | LicenseNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; checkDocumentAccess( input: CheckDocumentAccessRequest, ): Effect.Effect< CheckDocumentAccessResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAnonymousWebExperienceUrl( input: CreateAnonymousWebExperienceUrlRequest, ): Effect.Effect< CreateAnonymousWebExperienceUrlResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createChatResponseConfiguration( input: CreateChatResponseConfigurationRequest, ): Effect.Effect< CreateChatResponseConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSubscription( input: CreateSubscriptionRequest, ): Effect.Effect< CreateSubscriptionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAttachment( input: DeleteAttachmentRequest, ): Effect.Effect< DeleteAttachmentResponse, - | AccessDeniedException - | InternalServerException - | LicenseNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LicenseNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteChatControlsConfiguration( input: DeleteChatControlsConfigurationRequest, ): Effect.Effect< DeleteChatControlsConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteChatResponseConfiguration( input: DeleteChatResponseConfigurationRequest, ): Effect.Effect< DeleteChatResponseConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConversation( input: DeleteConversationRequest, ): Effect.Effect< DeleteConversationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | LicenseNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | LicenseNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteGroup( input: DeleteGroupRequest, ): Effect.Effect< DeleteGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< DeleteUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociatePermission( input: DisassociatePermissionRequest, ): Effect.Effect< DisassociatePermissionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getChatControlsConfiguration( input: GetChatControlsConfigurationRequest, ): Effect.Effect< GetChatControlsConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getChatResponseConfiguration( input: GetChatResponseConfigurationRequest, ): Effect.Effect< GetChatResponseConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDocumentContent( input: GetDocumentContentRequest, ): Effect.Effect< GetDocumentContentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getGroup( input: GetGroupRequest, ): Effect.Effect< GetGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMedia( input: GetMediaRequest, ): Effect.Effect< GetMediaResponse, - | AccessDeniedException - | InternalServerException - | LicenseNotFoundException - | MediaTooLargeException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LicenseNotFoundException | MediaTooLargeException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPolicy( input: GetPolicyRequest, ): Effect.Effect< GetPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getUser( input: GetUserRequest, ): Effect.Effect< GetUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAttachments( input: ListAttachmentsRequest, ): Effect.Effect< ListAttachmentsResponse, - | AccessDeniedException - | InternalServerException - | LicenseNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LicenseNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listChatResponseConfigurations( input: ListChatResponseConfigurationsRequest, ): Effect.Effect< ListChatResponseConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listConversations( input: ListConversationsRequest, ): Effect.Effect< ListConversationsResponse, - | AccessDeniedException - | InternalServerException - | LicenseNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LicenseNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSourceSyncJobs( input: ListDataSourceSyncJobsRequest, ): Effect.Effect< ListDataSourceSyncJobsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDocuments( input: ListDocumentsRequest, ): Effect.Effect< ListDocumentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listGroups( input: ListGroupsRequest, ): Effect.Effect< ListGroupsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMessages( input: ListMessagesRequest, ): Effect.Effect< ListMessagesResponse, - | AccessDeniedException - | InternalServerException - | LicenseNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LicenseNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPluginActions( input: ListPluginActionsRequest, ): Effect.Effect< ListPluginActionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPluginTypeActions( input: ListPluginTypeActionsRequest, ): Effect.Effect< ListPluginTypeActionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPluginTypeMetadata( input: ListPluginTypeMetadataRequest, ): Effect.Effect< ListPluginTypeMetadataResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSubscriptions( input: ListSubscriptionsRequest, ): Effect.Effect< ListSubscriptionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putFeedback( input: PutFeedbackRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putGroup( input: PutGroupRequest, ): Effect.Effect< PutGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; searchRelevantContent( input: SearchRelevantContentRequest, ): Effect.Effect< SearchRelevantContentResponse, - | AccessDeniedException - | InternalServerException - | LicenseNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | LicenseNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startDataSourceSyncJob( input: StartDataSourceSyncJobRequest, ): Effect.Effect< StartDataSourceSyncJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopDataSourceSyncJob( input: StopDataSourceSyncJobRequest, ): Effect.Effect< StopDataSourceSyncJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateChatControlsConfiguration( input: UpdateChatControlsConfigurationRequest, ): Effect.Effect< - UpdateChatControlsConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + UpdateChatControlsConfigurationResponse, + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateChatResponseConfiguration( input: UpdateChatResponseConfigurationRequest, ): Effect.Effect< UpdateChatResponseConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSubscription( input: UpdateSubscriptionRequest, ): Effect.Effect< UpdateSubscriptionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataAccessor( input: CreateDataAccessorRequest, ): Effect.Effect< CreateDataAccessorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataSource( input: CreateDataSourceRequest, ): Effect.Effect< CreateDataSourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createIndex( input: CreateIndexRequest, ): Effect.Effect< CreateIndexResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPlugin( input: CreatePluginRequest, ): Effect.Effect< CreatePluginResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRetriever( input: CreateRetrieverRequest, ): Effect.Effect< CreateRetrieverResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWebExperience( input: CreateWebExperienceRequest, ): Effect.Effect< CreateWebExperienceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataAccessor( input: DeleteDataAccessorRequest, ): Effect.Effect< DeleteDataAccessorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataSource( input: DeleteDataSourceRequest, ): Effect.Effect< DeleteDataSourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteIndex( input: DeleteIndexRequest, ): Effect.Effect< DeleteIndexResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePlugin( input: DeletePluginRequest, ): Effect.Effect< DeletePluginResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRetriever( input: DeleteRetrieverRequest, ): Effect.Effect< DeleteRetrieverResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWebExperience( input: DeleteWebExperienceRequest, ): Effect.Effect< DeleteWebExperienceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplication( input: GetApplicationRequest, ): Effect.Effect< GetApplicationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataAccessor( input: GetDataAccessorRequest, ): Effect.Effect< GetDataAccessorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataSource( input: GetDataSourceRequest, ): Effect.Effect< GetDataSourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIndex( input: GetIndexRequest, ): Effect.Effect< GetIndexResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPlugin( input: GetPluginRequest, ): Effect.Effect< GetPluginResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRetriever( input: GetRetrieverRequest, ): Effect.Effect< GetRetrieverResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWebExperience( input: GetWebExperienceRequest, ): Effect.Effect< GetWebExperienceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplications( input: ListApplicationsRequest, ): Effect.Effect< ListApplicationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDataAccessors( input: ListDataAccessorsRequest, ): Effect.Effect< ListDataAccessorsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataSources( input: ListDataSourcesRequest, ): Effect.Effect< ListDataSourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listIndices( input: ListIndicesRequest, ): Effect.Effect< ListIndicesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPlugins( input: ListPluginsRequest, ): Effect.Effect< ListPluginsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRetrievers( input: ListRetrieversRequest, ): Effect.Effect< ListRetrieversResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWebExperiences( input: ListWebExperiencesRequest, ): Effect.Effect< ListWebExperiencesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDataAccessor( input: UpdateDataAccessorRequest, ): Effect.Effect< UpdateDataAccessorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDataSource( input: UpdateDataSourceRequest, ): Effect.Effect< UpdateDataSourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateIndex( input: UpdateIndexRequest, ): Effect.Effect< UpdateIndexResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updatePlugin( input: UpdatePluginRequest, ): Effect.Effect< UpdatePluginResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateRetriever( input: UpdateRetrieverRequest, ): Effect.Effect< UpdateRetrieverResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateWebExperience( input: UpdateWebExperienceRequest, ): Effect.Effect< UpdateWebExperienceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1057,10 +535,7 @@ export interface ActionExecutionEvent { payload: Record; payloadFieldNameSeparator: string; } -export type ActionExecutionPayload = Record< - string, - ActionExecutionPayloadField ->; +export type ActionExecutionPayload = Record; export interface ActionExecutionPayloadField { value: unknown; } @@ -1105,8 +580,7 @@ export interface ActionReviewPayloadFieldAllowedValue { value?: unknown; displayValue?: unknown; } -export type ActionReviewPayloadFieldAllowedValues = - Array; +export type ActionReviewPayloadFieldAllowedValues = Array; export type ActionReviewPayloadFieldArrayItemJsonSchema = unknown; export type Actions = Array; @@ -1123,9 +597,7 @@ interface _APISchema { s3?: S3; } -export type APISchema = - | (_APISchema & { payload: string }) - | (_APISchema & { s3: S3 }); +export type APISchema = (_APISchema & { payload: string }) | (_APISchema & { s3: S3 }); export type APISchemaType = "OPEN_API_V3"; export interface Application { displayName?: string; @@ -1143,12 +615,7 @@ export type ApplicationId = string; export type ApplicationName = string; export type Applications = Array; -export type ApplicationStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED" - | "UPDATING"; +export type ApplicationStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING"; export interface AppliedAttachmentsConfiguration { attachmentsControlMode?: AttachmentsControlMode; } @@ -1338,23 +805,13 @@ interface _ChatInputStream { authChallengeResponseEvent?: AuthChallengeResponseEvent; } -export type ChatInputStream = - | (_ChatInputStream & { configurationEvent: ConfigurationEvent }) - | (_ChatInputStream & { textEvent: TextInputEvent }) - | (_ChatInputStream & { attachmentEvent: AttachmentInputEvent }) - | (_ChatInputStream & { actionExecutionEvent: ActionExecutionEvent }) - | (_ChatInputStream & { endOfInputEvent: EndOfInputEvent }) - | (_ChatInputStream & { - authChallengeResponseEvent: AuthChallengeResponseEvent; - }); +export type ChatInputStream = (_ChatInputStream & { configurationEvent: ConfigurationEvent }) | (_ChatInputStream & { textEvent: TextInputEvent }) | (_ChatInputStream & { attachmentEvent: AttachmentInputEvent }) | (_ChatInputStream & { actionExecutionEvent: ActionExecutionEvent }) | (_ChatInputStream & { endOfInputEvent: EndOfInputEvent }) | (_ChatInputStream & { authChallengeResponseEvent: AuthChallengeResponseEvent }); export type ChatMode = "RETRIEVAL_MODE" | "CREATOR_MODE" | "PLUGIN_MODE"; interface _ChatModeConfiguration { pluginConfiguration?: PluginConfiguration; } -export type ChatModeConfiguration = _ChatModeConfiguration & { - pluginConfiguration: PluginConfiguration; -}; +export type ChatModeConfiguration = (_ChatModeConfiguration & { pluginConfiguration: PluginConfiguration }); export interface ChatOutput { outputStream?: ChatOutputStream; } @@ -1366,14 +823,7 @@ interface _ChatOutputStream { authChallengeRequestEvent?: AuthChallengeRequestEvent; } -export type ChatOutputStream = - | (_ChatOutputStream & { textEvent: TextOutputEvent }) - | (_ChatOutputStream & { metadataEvent: MetadataEvent }) - | (_ChatOutputStream & { actionReviewEvent: ActionReviewEvent }) - | (_ChatOutputStream & { failedAttachmentEvent: FailedAttachmentEvent }) - | (_ChatOutputStream & { - authChallengeRequestEvent: AuthChallengeRequestEvent; - }); +export type ChatOutputStream = (_ChatOutputStream & { textEvent: TextOutputEvent }) | (_ChatOutputStream & { metadataEvent: MetadataEvent }) | (_ChatOutputStream & { actionReviewEvent: ActionReviewEvent }) | (_ChatOutputStream & { failedAttachmentEvent: FailedAttachmentEvent }) | (_ChatOutputStream & { authChallengeRequestEvent: AuthChallengeRequestEvent }); export interface ChatResponseConfiguration { chatResponseConfigurationId: string; chatResponseConfigurationArn: string; @@ -1395,11 +845,7 @@ export interface ChatResponseConfigurationDetail { export type ChatResponseConfigurationId = string; export type ChatResponseConfigurations = Array; -export type ChatResponseConfigurationStatus = - | "CREATING" - | "UPDATING" - | "FAILED" - | "ACTIVE"; +export type ChatResponseConfigurationStatus = "CREATING" | "UPDATING" | "FAILED" | "ACTIVE"; export interface ChatSyncInput { applicationId: string; userId?: string; @@ -1467,22 +913,8 @@ interface _ContentSource { retriever?: RetrieverContentSource; } -export type ContentSource = _ContentSource & { - retriever: RetrieverContentSource; -}; -export type ContentType = - | "PDF" - | "HTML" - | "MS_WORD" - | "PLAIN_TEXT" - | "PPT" - | "RTF" - | "XML" - | "XSLT" - | "MS_EXCEL" - | "CSV" - | "JSON" - | "MD"; +export type ContentSource = (_ContentSource & { retriever: RetrieverContentSource }); +export type ContentType = "PDF" | "HTML" | "MS_WORD" | "PLAIN_TEXT" | "PPT" | "RTF" | "XML" | "XSLT" | "MS_EXCEL" | "CSV" | "JSON" | "MD"; export interface Conversation { conversationId?: string; title?: string; @@ -1501,9 +933,7 @@ interface _CopyFromSource { conversation?: ConversationSource; } -export type CopyFromSource = _CopyFromSource & { - conversation: ConversationSource; -}; +export type CopyFromSource = (_CopyFromSource & { conversation: ConversationSource }); export interface CreateAnonymousWebExperienceUrlRequest { applicationId: string; webExperienceId: string; @@ -1634,7 +1064,8 @@ export interface CreateUserRequest { userAliases?: Array; clientToken?: string; } -export interface CreateUserResponse {} +export interface CreateUserResponse { +} export interface CreateWebExperienceRequest { applicationId: string; title?: string; @@ -1686,18 +1117,13 @@ interface _DataAccessorAuthenticationConfiguration { idcTrustedTokenIssuerConfiguration?: DataAccessorIdcTrustedTokenIssuerConfiguration; } -export type DataAccessorAuthenticationConfiguration = - _DataAccessorAuthenticationConfiguration & { - idcTrustedTokenIssuerConfiguration: DataAccessorIdcTrustedTokenIssuerConfiguration; - }; +export type DataAccessorAuthenticationConfiguration = (_DataAccessorAuthenticationConfiguration & { idcTrustedTokenIssuerConfiguration: DataAccessorIdcTrustedTokenIssuerConfiguration }); export interface DataAccessorAuthenticationDetail { authenticationType: DataAccessorAuthenticationType; authenticationConfiguration?: DataAccessorAuthenticationConfiguration; externalIds?: Array; } -export type DataAccessorAuthenticationType = - | "AWS_IAM_IDC_TTI" - | "AWS_IAM_IDC_AUTH_CODE"; +export type DataAccessorAuthenticationType = "AWS_IAM_IDC_TTI" | "AWS_IAM_IDC_AUTH_CODE"; export type DataAccessorExternalId = string; export type DataAccessorExternalIds = Array; @@ -1727,13 +1153,7 @@ export type DataSourceIds = Array; export type DataSourceName = string; export type DataSources = Array; -export type DataSourceStatus = - | "PENDING_CREATION" - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED" - | "UPDATING"; +export type DataSourceStatus = "PENDING_CREATION" | "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING"; export interface DataSourceSyncJob { executionId?: string; startTime?: Date | string; @@ -1751,14 +1171,7 @@ export interface DataSourceSyncJobMetrics { documentsScanned?: string; } export type DataSourceSyncJobs = Array; -export type DataSourceSyncJobStatus = - | "FAILED" - | "SUCCEEDED" - | "SYNCING" - | "INCOMPLETE" - | "STOPPING" - | "ABORTED" - | "SYNCING_INDEXING"; +export type DataSourceSyncJobStatus = "FAILED" | "SUCCEEDED" | "SYNCING" | "INCOMPLETE" | "STOPPING" | "ABORTED" | "SYNCING_INDEXING"; export type DataSourceUserId = string; export interface DataSourceVpcConfiguration { @@ -1772,40 +1185,47 @@ export interface DateAttributeBoostingConfiguration { export interface DeleteApplicationRequest { applicationId: string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export interface DeleteAttachmentRequest { applicationId: string; conversationId: string; attachmentId: string; userId?: string; } -export interface DeleteAttachmentResponse {} +export interface DeleteAttachmentResponse { +} export interface DeleteChatControlsConfigurationRequest { applicationId: string; } -export interface DeleteChatControlsConfigurationResponse {} +export interface DeleteChatControlsConfigurationResponse { +} export interface DeleteChatResponseConfigurationRequest { applicationId: string; chatResponseConfigurationId: string; } -export interface DeleteChatResponseConfigurationResponse {} +export interface DeleteChatResponseConfigurationResponse { +} export interface DeleteConversationRequest { conversationId: string; applicationId: string; userId?: string; } -export interface DeleteConversationResponse {} +export interface DeleteConversationResponse { +} export interface DeleteDataAccessorRequest { applicationId: string; dataAccessorId: string; } -export interface DeleteDataAccessorResponse {} +export interface DeleteDataAccessorResponse { +} export interface DeleteDataSourceRequest { applicationId: string; indexId: string; dataSourceId: string; } -export interface DeleteDataSourceResponse {} +export interface DeleteDataSourceResponse { +} export interface DeleteDocument { documentId: string; } @@ -1816,39 +1236,46 @@ export interface DeleteGroupRequest { groupName: string; dataSourceId?: string; } -export interface DeleteGroupResponse {} +export interface DeleteGroupResponse { +} export interface DeleteIndexRequest { applicationId: string; indexId: string; } -export interface DeleteIndexResponse {} +export interface DeleteIndexResponse { +} export interface DeletePluginRequest { applicationId: string; pluginId: string; } -export interface DeletePluginResponse {} +export interface DeletePluginResponse { +} export interface DeleteRetrieverRequest { applicationId: string; retrieverId: string; } -export interface DeleteRetrieverResponse {} +export interface DeleteRetrieverResponse { +} export interface DeleteUserRequest { applicationId: string; userId: string; } -export interface DeleteUserResponse {} +export interface DeleteUserResponse { +} export interface DeleteWebExperienceRequest { applicationId: string; webExperienceId: string; } -export interface DeleteWebExperienceResponse {} +export interface DeleteWebExperienceResponse { +} export type Description = string; export interface DisassociatePermissionRequest { applicationId: string; statementId: string; } -export interface DisassociatePermissionResponse {} +export interface DisassociatePermissionResponse { +} export type DisplayName = string; export interface Document { @@ -1896,31 +1323,9 @@ interface _DocumentAttributeBoostingConfiguration { stringListConfiguration?: StringListAttributeBoostingConfiguration; } -export type DocumentAttributeBoostingConfiguration = - | (_DocumentAttributeBoostingConfiguration & { - numberConfiguration: NumberAttributeBoostingConfiguration; - }) - | (_DocumentAttributeBoostingConfiguration & { - stringConfiguration: StringAttributeBoostingConfiguration; - }) - | (_DocumentAttributeBoostingConfiguration & { - dateConfiguration: DateAttributeBoostingConfiguration; - }) - | (_DocumentAttributeBoostingConfiguration & { - stringListConfiguration: StringListAttributeBoostingConfiguration; - }); -export type DocumentAttributeBoostingLevel = - | "NONE" - | "LOW" - | "MEDIUM" - | "HIGH" - | "VERY_HIGH" - | "ONE" - | "TWO"; -export type DocumentAttributeBoostingOverrideMap = Record< - string, - DocumentAttributeBoostingConfiguration ->; +export type DocumentAttributeBoostingConfiguration = (_DocumentAttributeBoostingConfiguration & { numberConfiguration: NumberAttributeBoostingConfiguration }) | (_DocumentAttributeBoostingConfiguration & { stringConfiguration: StringAttributeBoostingConfiguration }) | (_DocumentAttributeBoostingConfiguration & { dateConfiguration: DateAttributeBoostingConfiguration }) | (_DocumentAttributeBoostingConfiguration & { stringListConfiguration: StringListAttributeBoostingConfiguration }); +export type DocumentAttributeBoostingLevel = "NONE" | "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO"; +export type DocumentAttributeBoostingOverrideMap = Record; export interface DocumentAttributeCondition { key: string; operator: DocumentEnrichmentConditionOperator; @@ -1931,8 +1336,7 @@ export interface DocumentAttributeConfiguration { type?: AttributeType; search?: Status; } -export type DocumentAttributeConfigurations = - Array; +export type DocumentAttributeConfigurations = Array; export type DocumentAttributeKey = string; export type DocumentAttributes = Array; @@ -1951,19 +1355,13 @@ interface _DocumentAttributeValue { dateValue?: Date | string; } -export type DocumentAttributeValue = - | (_DocumentAttributeValue & { stringValue: string }) - | (_DocumentAttributeValue & { stringListValue: Array }) - | (_DocumentAttributeValue & { longValue: number }) - | (_DocumentAttributeValue & { dateValue: Date | string }); +export type DocumentAttributeValue = (_DocumentAttributeValue & { stringValue: string }) | (_DocumentAttributeValue & { stringListValue: Array }) | (_DocumentAttributeValue & { longValue: number }) | (_DocumentAttributeValue & { dateValue: Date | string }); interface _DocumentContent { blob?: Uint8Array | string; s3?: S3; } -export type DocumentContent = - | (_DocumentContent & { blob: Uint8Array | string }) - | (_DocumentContent & { s3: S3 }); +export type DocumentContent = (_DocumentContent & { blob: Uint8Array | string }) | (_DocumentContent & { s3: S3 }); export type DocumentContentOperator = "DELETE"; export type DocumentDetailList = Array; export interface DocumentDetails { @@ -1973,18 +1371,7 @@ export interface DocumentDetails { createdAt?: Date | string; updatedAt?: Date | string; } -export type DocumentEnrichmentConditionOperator = - | "GREATER_THAN" - | "GREATER_THAN_OR_EQUALS" - | "LESS_THAN" - | "LESS_THAN_OR_EQUALS" - | "EQUALS" - | "NOT_EQUALS" - | "CONTAINS" - | "NOT_CONTAINS" - | "EXISTS" - | "NOT_EXISTS" - | "BEGINS_WITH"; +export type DocumentEnrichmentConditionOperator = "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH"; export interface DocumentEnrichmentConfiguration { inlineConfigurations?: Array; preExtractionHookConfiguration?: HookConfiguration; @@ -1995,15 +1382,7 @@ export type DocumentId = string; export type DocumentMetadataConfigurationName = string; export type Documents = Array; -export type DocumentStatus = - | "RECEIVED" - | "PROCESSING" - | "INDEXED" - | "UPDATED" - | "FAILED" - | "DELETING" - | "DELETED" - | "DOCUMENT_FAILED_TO_INDEX"; +export type DocumentStatus = "RECEIVED" | "PROCESSING" | "INDEXED" | "UPDATED" | "FAILED" | "DELETING" | "DELETED" | "DOCUMENT_FAILED_TO_INDEX"; export interface EligibleDataSource { indexId?: string; dataSourceId?: string; @@ -2012,12 +1391,9 @@ export type EligibleDataSources = Array; export interface EncryptionConfiguration { kmsKeyId?: string; } -export interface EndOfInputEvent {} -export type ErrorCode = - | "InternalError" - | "InvalidRequest" - | "ResourceInactive" - | "ResourceNotFound"; +export interface EndOfInputEvent { +} +export type ErrorCode = "InternalError" | "InvalidRequest" | "ResourceInactive" | "ResourceNotFound"; export interface ErrorDetail { errorMessage?: string; errorCode?: ErrorCode; @@ -2270,12 +1646,7 @@ export interface GroupMembers { } export type GroupName = string; -export type GroupStatus = - | "FAILED" - | "SUCCEEDED" - | "PROCESSING" - | "DELETING" - | "DELETED"; +export type GroupStatus = "FAILED" | "SUCCEEDED" | "PROCESSING" | "DELETING" | "DELETED"; export interface GroupStatusDetail { status?: GroupStatus; lastUpdatedAt?: Date | string; @@ -2311,19 +1682,8 @@ interface _IdentityProviderConfiguration { openIDConnectConfiguration?: OpenIDConnectProviderConfiguration; } -export type IdentityProviderConfiguration = - | (_IdentityProviderConfiguration & { - samlConfiguration: SamlProviderConfiguration; - }) - | (_IdentityProviderConfiguration & { - openIDConnectConfiguration: OpenIDConnectProviderConfiguration; - }); -export type IdentityType = - | "AWS_IAM_IDP_SAML" - | "AWS_IAM_IDP_OIDC" - | "AWS_IAM_IDC" - | "AWS_QUICKSIGHT_IDP" - | "ANONYMOUS"; +export type IdentityProviderConfiguration = (_IdentityProviderConfiguration & { samlConfiguration: SamlProviderConfiguration }) | (_IdentityProviderConfiguration & { openIDConnectConfiguration: OpenIDConnectProviderConfiguration }); +export type IdentityType = "AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP" | "ANONYMOUS"; export interface ImageExtractionConfiguration { imageExtractionStatus: ImageExtractionStatus; } @@ -2357,12 +1717,7 @@ export type IndexName = string; export interface IndexStatistics { textDocumentStatistics?: TextDocumentStatistics; } -export type IndexStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED" - | "UPDATING"; +export type IndexStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING"; export type IndexType = "ENTERPRISE" | "STARTER"; export type Indices = Array; export interface InlineDocumentEnrichmentConfiguration { @@ -2370,8 +1725,7 @@ export interface InlineDocumentEnrichmentConfiguration { target?: DocumentAttributeTarget; documentContentOperator?: DocumentContentOperator; } -export type InlineDocumentEnrichmentConfigurations = - Array; +export type InlineDocumentEnrichmentConfigurations = Array; export type InstanceArn = string; export type Instruction = string; @@ -2684,19 +2038,7 @@ export interface MessageUsefulnessFeedback { comment?: string; submittedAt: Date | string; } -export type MessageUsefulnessReason = - | "NOT_FACTUALLY_CORRECT" - | "HARMFUL_OR_UNSAFE" - | "INCORRECT_OR_MISSING_SOURCES" - | "NOT_HELPFUL" - | "FACTUALLY_CORRECT" - | "COMPLETE" - | "RELEVANT_SOURCES" - | "HELPFUL" - | "NOT_BASED_ON_DOCUMENTS" - | "NOT_COMPLETE" - | "NOT_CONCISE" - | "OTHER"; +export type MessageUsefulnessReason = "NOT_FACTUALLY_CORRECT" | "HARMFUL_OR_UNSAFE" | "INCORRECT_OR_MISSING_SOURCES" | "NOT_HELPFUL" | "FACTUALLY_CORRECT" | "COMPLETE" | "RELEVANT_SOURCES" | "HELPFUL" | "NOT_BASED_ON_DOCUMENTS" | "NOT_COMPLETE" | "NOT_CONCISE" | "OTHER"; export interface MetadataEvent { conversationId?: string; userMessageId?: string; @@ -2715,14 +2057,13 @@ export type NextToken = string; export type NextToken1500 = string; -export interface NoAuthConfiguration {} +export interface NoAuthConfiguration { +} export interface NumberAttributeBoostingConfiguration { boostingLevel: DocumentAttributeBoostingLevel; boostingType?: NumberAttributeBoostingType; } -export type NumberAttributeBoostingType = - | "PRIORITIZE_LARGER_VALUES" - | "PRIORITIZE_SMALLER_VALUES"; +export type NumberAttributeBoostingType = "PRIORITIZE_LARGER_VALUES" | "PRIORITIZE_SMALLER_VALUES"; export interface OAuth2ClientCredentialConfiguration { secretArn: string; roleArn: string; @@ -2777,23 +2118,8 @@ interface _PluginAuthConfiguration { idcAuthConfiguration?: IdcAuthConfiguration; } -export type PluginAuthConfiguration = - | (_PluginAuthConfiguration & { - basicAuthConfiguration: BasicAuthConfiguration; - }) - | (_PluginAuthConfiguration & { - oAuth2ClientCredentialConfiguration: OAuth2ClientCredentialConfiguration; - }) - | (_PluginAuthConfiguration & { noAuthConfiguration: NoAuthConfiguration }) - | (_PluginAuthConfiguration & { idcAuthConfiguration: IdcAuthConfiguration }); -export type PluginBuildStatus = - | "READY" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_FAILED" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED"; +export type PluginAuthConfiguration = (_PluginAuthConfiguration & { basicAuthConfiguration: BasicAuthConfiguration }) | (_PluginAuthConfiguration & { oAuth2ClientCredentialConfiguration: OAuth2ClientCredentialConfiguration }) | (_PluginAuthConfiguration & { noAuthConfiguration: NoAuthConfiguration }) | (_PluginAuthConfiguration & { idcAuthConfiguration: IdcAuthConfiguration }); +export type PluginBuildStatus = "READY" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED"; export interface PluginConfiguration { pluginId: string; } @@ -2805,30 +2131,8 @@ export type PluginName = string; export type Plugins = Array; export type PluginState = "ENABLED" | "DISABLED"; -export type PluginType = - | "SERVICE_NOW" - | "SALESFORCE" - | "JIRA" - | "ZENDESK" - | "CUSTOM" - | "QUICKSIGHT" - | "SERVICENOW_NOW_PLATFORM" - | "JIRA_CLOUD" - | "SALESFORCE_CRM" - | "ZENDESK_SUITE" - | "ATLASSIAN_CONFLUENCE" - | "GOOGLE_CALENDAR" - | "MICROSOFT_TEAMS" - | "MICROSOFT_EXCHANGE" - | "PAGERDUTY_ADVANCE" - | "SMARTSHEET" - | "ASANA"; -export type PluginTypeCategory = - | "Customer relationship management (CRM)" - | "Project management" - | "Communication" - | "Productivity" - | "Ticketing and incident management"; +export type PluginType = "SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK" | "CUSTOM" | "QUICKSIGHT" | "SERVICENOW_NOW_PLATFORM" | "JIRA_CLOUD" | "SALESFORCE_CRM" | "ZENDESK_SUITE" | "ATLASSIAN_CONFLUENCE" | "GOOGLE_CALENDAR" | "MICROSOFT_TEAMS" | "MICROSOFT_EXCHANGE" | "PAGERDUTY_ADVANCE" | "SMARTSHEET" | "ASANA"; +export type PluginTypeCategory = "Customer relationship management (CRM)" | "Project management" | "Communication" | "Productivity" | "Ticketing and incident management"; export interface PluginTypeMetadataSummary { type?: PluginType; category?: PluginTypeCategory; @@ -2839,9 +2143,7 @@ interface _Principal { group?: PrincipalGroup; } -export type Principal = - | (_Principal & { user: PrincipalUser }) - | (_Principal & { group: PrincipalGroup }); +export type Principal = (_Principal & { user: PrincipalUser }) | (_Principal & { group: PrincipalGroup }); export interface PrincipalGroup { name?: string; access: ReadAccessType; @@ -2872,7 +2174,8 @@ export interface PutGroupRequest { groupMembers: GroupMembers; roleArn?: string; } -export interface PutGroupResponse {} +export interface PutGroupResponse { +} export interface QAppsConfiguration { qAppsControlMode: QAppsControlMode; } @@ -2905,16 +2208,11 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( export interface ResponseConfiguration { instructionCollection?: InstructionCollection; } -export type ResponseConfigurations = Record< - ResponseConfigurationType, - ResponseConfiguration ->; +export type ResponseConfigurations = Record; export type ResponseConfigurationSummary = string; export type ResponseConfigurationType = "ALL"; -export type ResponseScope = - | "ENTERPRISE_CONTENT_ONLY" - | "EXTENDED_KNOWLEDGE_ENABLED"; +export type ResponseScope = "ENTERPRISE_CONTENT_ONLY" | "EXTENDED_KNOWLEDGE_ENABLED"; export interface Retriever { applicationId?: string; retrieverId?: string; @@ -2929,13 +2227,7 @@ interface _RetrieverConfiguration { kendraIndexConfiguration?: KendraIndexConfiguration; } -export type RetrieverConfiguration = - | (_RetrieverConfiguration & { - nativeIndexConfiguration: NativeIndexConfiguration; - }) - | (_RetrieverConfiguration & { - kendraIndexConfiguration: KendraIndexConfiguration; - }); +export type RetrieverConfiguration = (_RetrieverConfiguration & { nativeIndexConfiguration: NativeIndexConfiguration }) | (_RetrieverConfiguration & { kendraIndexConfiguration: KendraIndexConfiguration }); export interface RetrieverContentSource { retrieverId: string; } @@ -2959,9 +2251,7 @@ interface _RuleConfiguration { contentRetrievalRule?: ContentRetrievalRule; } -export type RuleConfiguration = - | (_RuleConfiguration & { contentBlockerRule: ContentBlockerRule }) - | (_RuleConfiguration & { contentRetrievalRule: ContentRetrievalRule }); +export type RuleConfiguration = (_RuleConfiguration & { contentBlockerRule: ContentBlockerRule }) | (_RuleConfiguration & { contentRetrievalRule: ContentRetrievalRule }); export type Rules = Array; export type RuleType = "CONTENT_BLOCKER_RULE" | "CONTENT_RETRIEVAL_RULE"; export interface S3 { @@ -2990,12 +2280,7 @@ export interface SamlProviderConfiguration { export interface ScoreAttributes { scoreConfidence?: ScoreConfidence; } -export type ScoreConfidence = - | "VERY_HIGH" - | "HIGH" - | "MEDIUM" - | "LOW" - | "NOT_AVAILABLE"; +export type ScoreConfidence = "VERY_HIGH" | "HIGH" | "MEDIUM" | "LOW" | "NOT_AVAILABLE"; export interface SearchRelevantContentRequest { applicationId: string; queryText: string; @@ -3047,10 +2332,7 @@ interface _SourceDetails { videoSourceDetails?: VideoSourceDetails; } -export type SourceDetails = - | (_SourceDetails & { imageSourceDetails: ImageSourceDetails }) - | (_SourceDetails & { audioSourceDetails: AudioSourceDetails }) - | (_SourceDetails & { videoSourceDetails: VideoSourceDetails }); +export type SourceDetails = (_SourceDetails & { imageSourceDetails: ImageSourceDetails }) | (_SourceDetails & { audioSourceDetails: AudioSourceDetails }) | (_SourceDetails & { videoSourceDetails: VideoSourceDetails }); export interface StartDataSourceSyncJobRequest { dataSourceId: string; applicationId: string; @@ -3067,27 +2349,16 @@ export interface StopDataSourceSyncJobRequest { applicationId: string; indexId: string; } -export interface StopDataSourceSyncJobResponse {} +export interface StopDataSourceSyncJobResponse { +} export type QbusinessString = string; export interface StringAttributeBoostingConfiguration { boostingLevel: DocumentAttributeBoostingLevel; attributeValueBoosting?: Record; } -export type StringAttributeValueBoosting = Record< - string, - StringAttributeValueBoostingLevel ->; -export type StringAttributeValueBoostingLevel = - | "LOW" - | "MEDIUM" - | "HIGH" - | "VERY_HIGH" - | "ONE" - | "TWO" - | "THREE" - | "FOUR" - | "FIVE"; +export type StringAttributeValueBoosting = Record; +export type StringAttributeValueBoostingLevel = "LOW" | "MEDIUM" | "HIGH" | "VERY_HIGH" | "ONE" | "TWO" | "THREE" | "FOUR" | "FIVE"; export interface StringListAttributeBoostingConfiguration { boostingLevel: DocumentAttributeBoostingLevel; } @@ -3113,9 +2384,7 @@ interface _SubscriptionPrincipal { group?: string; } -export type SubscriptionPrincipal = - | (_SubscriptionPrincipal & { user: string }) - | (_SubscriptionPrincipal & { group: string }); +export type SubscriptionPrincipal = (_SubscriptionPrincipal & { user: string }) | (_SubscriptionPrincipal & { group: string }); export type Subscriptions = Array; export type SubscriptionType = "Q_LITE" | "Q_BUSINESS"; export type SyncSchedule = string; @@ -3136,7 +2405,8 @@ export interface TagResourceRequest { resourceARN: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Array; export type TagValue = string; @@ -3187,7 +2457,8 @@ export interface UntagResourceRequest { resourceARN: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationRequest { applicationId: string; identityCenterInstanceArn?: string; @@ -3199,7 +2470,8 @@ export interface UpdateApplicationRequest { personalizationConfiguration?: PersonalizationConfiguration; autoSubscriptionConfiguration?: AutoSubscriptionConfiguration; } -export interface UpdateApplicationResponse {} +export interface UpdateApplicationResponse { +} export interface UpdateChatControlsConfigurationRequest { applicationId: string; clientToken?: string; @@ -3211,7 +2483,8 @@ export interface UpdateChatControlsConfigurationRequest { creatorModeConfiguration?: CreatorModeConfiguration; hallucinationReductionConfiguration?: HallucinationReductionConfiguration; } -export interface UpdateChatControlsConfigurationResponse {} +export interface UpdateChatControlsConfigurationResponse { +} export interface UpdateChatResponseConfigurationRequest { applicationId: string; chatResponseConfigurationId: string; @@ -3219,7 +2492,8 @@ export interface UpdateChatResponseConfigurationRequest { responseConfigurations: { [key in ResponseConfigurationType]?: string }; clientToken?: string; } -export interface UpdateChatResponseConfigurationResponse {} +export interface UpdateChatResponseConfigurationResponse { +} export interface UpdateDataAccessorRequest { applicationId: string; dataAccessorId: string; @@ -3227,7 +2501,8 @@ export interface UpdateDataAccessorRequest { authenticationDetail?: DataAccessorAuthenticationDetail; displayName?: string; } -export interface UpdateDataAccessorResponse {} +export interface UpdateDataAccessorResponse { +} export interface UpdateDataSourceRequest { applicationId: string; indexId: string; @@ -3241,7 +2516,8 @@ export interface UpdateDataSourceRequest { documentEnrichmentConfiguration?: DocumentEnrichmentConfiguration; mediaExtractionConfiguration?: MediaExtractionConfiguration; } -export interface UpdateDataSourceResponse {} +export interface UpdateDataSourceResponse { +} export interface UpdateIndexRequest { applicationId: string; indexId: string; @@ -3250,7 +2526,8 @@ export interface UpdateIndexRequest { capacityConfiguration?: IndexCapacityConfiguration; documentAttributeConfigurations?: Array; } -export interface UpdateIndexResponse {} +export interface UpdateIndexResponse { +} export interface UpdatePluginRequest { applicationId: string; pluginId: string; @@ -3260,7 +2537,8 @@ export interface UpdatePluginRequest { customPluginConfiguration?: CustomPluginConfiguration; authConfiguration?: PluginAuthConfiguration; } -export interface UpdatePluginResponse {} +export interface UpdatePluginResponse { +} export interface UpdateRetrieverRequest { applicationId: string; retrieverId: string; @@ -3268,7 +2546,8 @@ export interface UpdateRetrieverRequest { displayName?: string; roleArn?: string; } -export interface UpdateRetrieverResponse {} +export interface UpdateRetrieverResponse { +} export interface UpdateSubscriptionRequest { applicationId: string; subscriptionId: string; @@ -3304,7 +2583,8 @@ export interface UpdateWebExperienceRequest { browserExtensionConfiguration?: BrowserExtensionConfiguration; customizationConfiguration?: CustomizationConfiguration; } -export interface UpdateWebExperienceResponse {} +export interface UpdateWebExperienceResponse { +} export type Url = string; export interface UserAlias { @@ -3337,10 +2617,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFields = Array; -export type ValidationExceptionReason = - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "UNKNOWN_OPERATION"; +export type ValidationExceptionReason = "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "UNKNOWN_OPERATION"; export interface VideoExtractionConfiguration { videoExtractionStatus: VideoExtractionStatus; } @@ -3366,20 +2643,13 @@ interface _WebExperienceAuthConfiguration { samlConfiguration?: SamlConfiguration; } -export type WebExperienceAuthConfiguration = _WebExperienceAuthConfiguration & { - samlConfiguration: SamlConfiguration; -}; +export type WebExperienceAuthConfiguration = (_WebExperienceAuthConfiguration & { samlConfiguration: SamlConfiguration }); export type WebExperienceId = string; export type WebExperienceOrigins = Array; export type WebExperiences = Array; export type WebExperienceSamplePromptsControlMode = "ENABLED" | "DISABLED"; -export type WebExperienceStatus = - | "CREATING" - | "ACTIVE" - | "DELETING" - | "FAILED" - | "PENDING_AUTH_CONFIG"; +export type WebExperienceStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "PENDING_AUTH_CONFIG"; export type WebExperienceSubtitle = string; export type WebExperienceTitle = string; @@ -4457,15 +3727,5 @@ export declare namespace UpdateWebExperience { | CommonAwsError; } -export type QBusinessErrors = - | AccessDeniedException - | ConflictException - | ExternalResourceException - | InternalServerException - | LicenseNotFoundException - | MediaTooLargeException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type QBusinessErrors = AccessDeniedException | ConflictException | ExternalResourceException | InternalServerException | LicenseNotFoundException | MediaTooLargeException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/qconnect/index.ts b/src/services/qconnect/index.ts index 1edba86c..819214d1 100644 --- a/src/services/qconnect/index.ts +++ b/src/services/qconnect/index.ts @@ -5,22 +5,7 @@ import type { QConnect as _QConnectClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -29,147 +14,101 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "wisdom", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - ActivateMessageTemplate: - "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/activate", - CreateAIAgent: "POST /assistants/{assistantId}/aiagents", - CreateAIAgentVersion: - "POST /assistants/{assistantId}/aiagents/{aiAgentId}/versions", - CreateAIGuardrail: "POST /assistants/{assistantId}/aiguardrails", - CreateAIGuardrailVersion: - "POST /assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions", - CreateAIPrompt: "POST /assistants/{assistantId}/aiprompts", - CreateAIPromptVersion: - "POST /assistants/{assistantId}/aiprompts/{aiPromptId}/versions", - CreateAssistant: "POST /assistants", - CreateAssistantAssociation: "POST /assistants/{assistantId}/associations", - CreateContent: "POST /knowledgeBases/{knowledgeBaseId}/contents", - CreateContentAssociation: - "POST /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations", - CreateKnowledgeBase: "POST /knowledgeBases", - CreateMessageTemplate: - "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates", - CreateMessageTemplateAttachment: - "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/attachments", - CreateMessageTemplateVersion: - "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/versions", - CreateQuickResponse: - "POST /knowledgeBases/{knowledgeBaseId}/quickResponses", - CreateSession: "POST /assistants/{assistantId}/sessions", - DeactivateMessageTemplate: - "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/deactivate", - DeleteAIAgent: "DELETE /assistants/{assistantId}/aiagents/{aiAgentId}", - DeleteAIAgentVersion: - "DELETE /assistants/{assistantId}/aiagents/{aiAgentId}/versions/{versionNumber}", - DeleteAIGuardrail: - "DELETE /assistants/{assistantId}/aiguardrails/{aiGuardrailId}", - DeleteAIGuardrailVersion: - "DELETE /assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions/{versionNumber}", - DeleteAIPrompt: "DELETE /assistants/{assistantId}/aiprompts/{aiPromptId}", - DeleteAIPromptVersion: - "DELETE /assistants/{assistantId}/aiprompts/{aiPromptId}/versions/{versionNumber}", - DeleteAssistant: "DELETE /assistants/{assistantId}", - DeleteAssistantAssociation: - "DELETE /assistants/{assistantId}/associations/{assistantAssociationId}", - DeleteContent: - "DELETE /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", - DeleteContentAssociation: - "DELETE /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}", - DeleteImportJob: - "DELETE /knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", - DeleteKnowledgeBase: "DELETE /knowledgeBases/{knowledgeBaseId}", - DeleteMessageTemplate: - "DELETE /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}", - DeleteMessageTemplateAttachment: - "DELETE /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/attachments/{attachmentId}", - DeleteQuickResponse: - "DELETE /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", - GetAIAgent: "GET /assistants/{assistantId}/aiagents/{aiAgentId}", - GetAIGuardrail: - "GET /assistants/{assistantId}/aiguardrails/{aiGuardrailId}", - GetAIPrompt: "GET /assistants/{assistantId}/aiprompts/{aiPromptId}", - GetAssistant: "GET /assistants/{assistantId}", - GetAssistantAssociation: - "GET /assistants/{assistantId}/associations/{assistantAssociationId}", - GetContent: "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", - GetContentAssociation: - "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}", - GetContentSummary: - "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary", - GetImportJob: - "GET /knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", - GetKnowledgeBase: "GET /knowledgeBases/{knowledgeBaseId}", - GetMessageTemplate: - "GET /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}", - GetNextMessage: - "GET /assistants/{assistantId}/sessions/{sessionId}/messages/next", - GetQuickResponse: - "GET /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", - GetRecommendations: - "GET /assistants/{assistantId}/sessions/{sessionId}/recommendations", - GetSession: "GET /assistants/{assistantId}/sessions/{sessionId}", - ListAIAgentVersions: - "GET /assistants/{assistantId}/aiagents/{aiAgentId}/versions", - ListAIAgents: "GET /assistants/{assistantId}/aiagents", - ListAIGuardrailVersions: - "GET /assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions", - ListAIGuardrails: "GET /assistants/{assistantId}/aiguardrails", - ListAIPromptVersions: - "GET /assistants/{assistantId}/aiprompts/{aiPromptId}/versions", - ListAIPrompts: "GET /assistants/{assistantId}/aiprompts", - ListAssistantAssociations: "GET /assistants/{assistantId}/associations", - ListAssistants: "GET /assistants", - ListContentAssociations: - "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations", - ListContents: "GET /knowledgeBases/{knowledgeBaseId}/contents", - ListImportJobs: "GET /knowledgeBases/{knowledgeBaseId}/importJobs", - ListKnowledgeBases: "GET /knowledgeBases", - ListMessageTemplateVersions: - "GET /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/versions", - ListMessageTemplates: - "GET /knowledgeBases/{knowledgeBaseId}/messageTemplates", - ListMessages: "GET /assistants/{assistantId}/sessions/{sessionId}/messages", - ListQuickResponses: "GET /knowledgeBases/{knowledgeBaseId}/quickResponses", - NotifyRecommendationsReceived: - "POST /assistants/{assistantId}/sessions/{sessionId}/recommendations/notify", - PutFeedback: "PUT /assistants/{assistantId}/feedback", - QueryAssistant: "POST /assistants/{assistantId}/query", - RemoveAssistantAIAgent: - "DELETE /assistants/{assistantId}/aiagentConfiguration", - RemoveKnowledgeBaseTemplateUri: - "DELETE /knowledgeBases/{knowledgeBaseId}/templateUri", - RenderMessageTemplate: - "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/render", - SearchContent: "POST /knowledgeBases/{knowledgeBaseId}/search", - SearchMessageTemplates: - "POST /knowledgeBases/{knowledgeBaseId}/search/messageTemplates", - SearchQuickResponses: - "POST /knowledgeBases/{knowledgeBaseId}/search/quickResponses", - SearchSessions: "POST /assistants/{assistantId}/searchSessions", - SendMessage: "POST /assistants/{assistantId}/sessions/{sessionId}/message", - StartContentUpload: "POST /knowledgeBases/{knowledgeBaseId}/upload", - StartImportJob: "POST /knowledgeBases/{knowledgeBaseId}/importJobs", - UpdateAIAgent: "POST /assistants/{assistantId}/aiagents/{aiAgentId}", - UpdateAIGuardrail: - "POST /assistants/{assistantId}/aiguardrails/{aiGuardrailId}", - UpdateAIPrompt: "POST /assistants/{assistantId}/aiprompts/{aiPromptId}", - UpdateAssistantAIAgent: - "POST /assistants/{assistantId}/aiagentConfiguration", - UpdateContent: - "POST /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", - UpdateKnowledgeBaseTemplateUri: - "POST /knowledgeBases/{knowledgeBaseId}/templateUri", - UpdateMessageTemplate: - "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}", - UpdateMessageTemplateMetadata: - "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/metadata", - UpdateQuickResponse: - "POST /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", - UpdateSession: "POST /assistants/{assistantId}/sessions/{sessionId}", - UpdateSessionData: - "PATCH /assistants/{assistantId}/sessions/{sessionId}/data", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "ActivateMessageTemplate": "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/activate", + "CreateAIAgent": "POST /assistants/{assistantId}/aiagents", + "CreateAIAgentVersion": "POST /assistants/{assistantId}/aiagents/{aiAgentId}/versions", + "CreateAIGuardrail": "POST /assistants/{assistantId}/aiguardrails", + "CreateAIGuardrailVersion": "POST /assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions", + "CreateAIPrompt": "POST /assistants/{assistantId}/aiprompts", + "CreateAIPromptVersion": "POST /assistants/{assistantId}/aiprompts/{aiPromptId}/versions", + "CreateAssistant": "POST /assistants", + "CreateAssistantAssociation": "POST /assistants/{assistantId}/associations", + "CreateContent": "POST /knowledgeBases/{knowledgeBaseId}/contents", + "CreateContentAssociation": "POST /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations", + "CreateKnowledgeBase": "POST /knowledgeBases", + "CreateMessageTemplate": "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates", + "CreateMessageTemplateAttachment": "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/attachments", + "CreateMessageTemplateVersion": "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/versions", + "CreateQuickResponse": "POST /knowledgeBases/{knowledgeBaseId}/quickResponses", + "CreateSession": "POST /assistants/{assistantId}/sessions", + "DeactivateMessageTemplate": "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/deactivate", + "DeleteAIAgent": "DELETE /assistants/{assistantId}/aiagents/{aiAgentId}", + "DeleteAIAgentVersion": "DELETE /assistants/{assistantId}/aiagents/{aiAgentId}/versions/{versionNumber}", + "DeleteAIGuardrail": "DELETE /assistants/{assistantId}/aiguardrails/{aiGuardrailId}", + "DeleteAIGuardrailVersion": "DELETE /assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions/{versionNumber}", + "DeleteAIPrompt": "DELETE /assistants/{assistantId}/aiprompts/{aiPromptId}", + "DeleteAIPromptVersion": "DELETE /assistants/{assistantId}/aiprompts/{aiPromptId}/versions/{versionNumber}", + "DeleteAssistant": "DELETE /assistants/{assistantId}", + "DeleteAssistantAssociation": "DELETE /assistants/{assistantId}/associations/{assistantAssociationId}", + "DeleteContent": "DELETE /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", + "DeleteContentAssociation": "DELETE /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}", + "DeleteImportJob": "DELETE /knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", + "DeleteKnowledgeBase": "DELETE /knowledgeBases/{knowledgeBaseId}", + "DeleteMessageTemplate": "DELETE /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}", + "DeleteMessageTemplateAttachment": "DELETE /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/attachments/{attachmentId}", + "DeleteQuickResponse": "DELETE /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", + "GetAIAgent": "GET /assistants/{assistantId}/aiagents/{aiAgentId}", + "GetAIGuardrail": "GET /assistants/{assistantId}/aiguardrails/{aiGuardrailId}", + "GetAIPrompt": "GET /assistants/{assistantId}/aiprompts/{aiPromptId}", + "GetAssistant": "GET /assistants/{assistantId}", + "GetAssistantAssociation": "GET /assistants/{assistantId}/associations/{assistantAssociationId}", + "GetContent": "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", + "GetContentAssociation": "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}", + "GetContentSummary": "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary", + "GetImportJob": "GET /knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", + "GetKnowledgeBase": "GET /knowledgeBases/{knowledgeBaseId}", + "GetMessageTemplate": "GET /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}", + "GetNextMessage": "GET /assistants/{assistantId}/sessions/{sessionId}/messages/next", + "GetQuickResponse": "GET /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", + "GetRecommendations": "GET /assistants/{assistantId}/sessions/{sessionId}/recommendations", + "GetSession": "GET /assistants/{assistantId}/sessions/{sessionId}", + "ListAIAgentVersions": "GET /assistants/{assistantId}/aiagents/{aiAgentId}/versions", + "ListAIAgents": "GET /assistants/{assistantId}/aiagents", + "ListAIGuardrailVersions": "GET /assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions", + "ListAIGuardrails": "GET /assistants/{assistantId}/aiguardrails", + "ListAIPromptVersions": "GET /assistants/{assistantId}/aiprompts/{aiPromptId}/versions", + "ListAIPrompts": "GET /assistants/{assistantId}/aiprompts", + "ListAssistantAssociations": "GET /assistants/{assistantId}/associations", + "ListAssistants": "GET /assistants", + "ListContentAssociations": "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations", + "ListContents": "GET /knowledgeBases/{knowledgeBaseId}/contents", + "ListImportJobs": "GET /knowledgeBases/{knowledgeBaseId}/importJobs", + "ListKnowledgeBases": "GET /knowledgeBases", + "ListMessageTemplateVersions": "GET /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/versions", + "ListMessageTemplates": "GET /knowledgeBases/{knowledgeBaseId}/messageTemplates", + "ListMessages": "GET /assistants/{assistantId}/sessions/{sessionId}/messages", + "ListQuickResponses": "GET /knowledgeBases/{knowledgeBaseId}/quickResponses", + "NotifyRecommendationsReceived": "POST /assistants/{assistantId}/sessions/{sessionId}/recommendations/notify", + "PutFeedback": "PUT /assistants/{assistantId}/feedback", + "QueryAssistant": "POST /assistants/{assistantId}/query", + "RemoveAssistantAIAgent": "DELETE /assistants/{assistantId}/aiagentConfiguration", + "RemoveKnowledgeBaseTemplateUri": "DELETE /knowledgeBases/{knowledgeBaseId}/templateUri", + "RenderMessageTemplate": "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/render", + "SearchContent": "POST /knowledgeBases/{knowledgeBaseId}/search", + "SearchMessageTemplates": "POST /knowledgeBases/{knowledgeBaseId}/search/messageTemplates", + "SearchQuickResponses": "POST /knowledgeBases/{knowledgeBaseId}/search/quickResponses", + "SearchSessions": "POST /assistants/{assistantId}/searchSessions", + "SendMessage": "POST /assistants/{assistantId}/sessions/{sessionId}/message", + "StartContentUpload": "POST /knowledgeBases/{knowledgeBaseId}/upload", + "StartImportJob": "POST /knowledgeBases/{knowledgeBaseId}/importJobs", + "UpdateAIAgent": "POST /assistants/{assistantId}/aiagents/{aiAgentId}", + "UpdateAIGuardrail": "POST /assistants/{assistantId}/aiguardrails/{aiGuardrailId}", + "UpdateAIPrompt": "POST /assistants/{assistantId}/aiprompts/{aiPromptId}", + "UpdateAssistantAIAgent": "POST /assistants/{assistantId}/aiagentConfiguration", + "UpdateContent": "POST /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", + "UpdateKnowledgeBaseTemplateUri": "POST /knowledgeBases/{knowledgeBaseId}/templateUri", + "UpdateMessageTemplate": "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}", + "UpdateMessageTemplateMetadata": "POST /knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/metadata", + "UpdateQuickResponse": "POST /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", + "UpdateSession": "POST /assistants/{assistantId}/sessions/{sessionId}", + "UpdateSessionData": "PATCH /assistants/{assistantId}/sessions/{sessionId}/data", + }, + retryableErrors: { + "ThrottlingException": {}, + "RequestTimeoutException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/qconnect/types.ts b/src/services/qconnect/types.ts index 08ac032b..429a11c7 100644 --- a/src/services/qconnect/types.ts +++ b/src/services/qconnect/types.ts @@ -1,37 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | RequestTimeoutException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | RequestTimeoutException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class QConnect extends AWSServiceClient { @@ -57,639 +26,349 @@ export declare class QConnect extends AWSServiceClient { input: ActivateMessageTemplateRequest, ): Effect.Effect< ActivateMessageTemplateResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAIAgent( input: CreateAIAgentRequest, ): Effect.Effect< CreateAIAgentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createAIAgentVersion( input: CreateAIAgentVersionRequest, ): Effect.Effect< CreateAIAgentVersionResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createAIGuardrail( input: CreateAIGuardrailRequest, ): Effect.Effect< CreateAIGuardrailResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createAIGuardrailVersion( input: CreateAIGuardrailVersionRequest, ): Effect.Effect< CreateAIGuardrailVersionResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createAIPrompt( input: CreateAIPromptRequest, ): Effect.Effect< CreateAIPromptResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createAIPromptVersion( input: CreateAIPromptVersionRequest, ): Effect.Effect< CreateAIPromptVersionResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createAssistant( input: CreateAssistantRequest, ): Effect.Effect< CreateAssistantResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | UnauthorizedException | ValidationException | CommonAwsError >; createAssistantAssociation( input: CreateAssistantAssociationRequest, ): Effect.Effect< CreateAssistantAssociationResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createContent( input: CreateContentRequest, ): Effect.Effect< CreateContentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UnauthorizedException | ValidationException | CommonAwsError >; createContentAssociation( input: CreateContentAssociationRequest, ): Effect.Effect< CreateContentAssociationResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createKnowledgeBase( input: CreateKnowledgeBaseRequest, ): Effect.Effect< CreateKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | UnauthorizedException | ValidationException | CommonAwsError >; createMessageTemplate( input: CreateMessageTemplateRequest, ): Effect.Effect< CreateMessageTemplateResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMessageTemplateAttachment( input: CreateMessageTemplateAttachmentRequest, ): Effect.Effect< CreateMessageTemplateAttachmentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createMessageTemplateVersion( input: CreateMessageTemplateVersionRequest, ): Effect.Effect< CreateMessageTemplateVersionResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createQuickResponse( input: CreateQuickResponseRequest, ): Effect.Effect< CreateQuickResponseResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UnauthorizedException | ValidationException | CommonAwsError >; createSession( input: CreateSessionRequest, ): Effect.Effect< CreateSessionResponse, - | AccessDeniedException - | ConflictException - | DependencyFailedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DependencyFailedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; deactivateMessageTemplate( input: DeactivateMessageTemplateRequest, ): Effect.Effect< DeactivateMessageTemplateResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAIAgent( input: DeleteAIAgentRequest, ): Effect.Effect< DeleteAIAgentResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteAIAgentVersion( input: DeleteAIAgentVersionRequest, ): Effect.Effect< DeleteAIAgentVersionResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteAIGuardrail( input: DeleteAIGuardrailRequest, ): Effect.Effect< DeleteAIGuardrailResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteAIGuardrailVersion( input: DeleteAIGuardrailVersionRequest, ): Effect.Effect< DeleteAIGuardrailVersionResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteAIPrompt( input: DeleteAIPromptRequest, ): Effect.Effect< DeleteAIPromptResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteAIPromptVersion( input: DeleteAIPromptVersionRequest, ): Effect.Effect< DeleteAIPromptVersionResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteAssistant( input: DeleteAssistantRequest, ): Effect.Effect< DeleteAssistantResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; deleteAssistantAssociation( input: DeleteAssistantAssociationRequest, ): Effect.Effect< DeleteAssistantAssociationResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; deleteContent( input: DeleteContentRequest, ): Effect.Effect< DeleteContentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; deleteContentAssociation( input: DeleteContentAssociationRequest, ): Effect.Effect< DeleteContentAssociationResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; deleteImportJob( input: DeleteImportJobRequest, ): Effect.Effect< DeleteImportJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; deleteKnowledgeBase( input: DeleteKnowledgeBaseRequest, ): Effect.Effect< DeleteKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; deleteMessageTemplate( input: DeleteMessageTemplateRequest, ): Effect.Effect< DeleteMessageTemplateResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteMessageTemplateAttachment( input: DeleteMessageTemplateAttachmentRequest, ): Effect.Effect< DeleteMessageTemplateAttachmentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteQuickResponse( input: DeleteQuickResponseRequest, ): Effect.Effect< DeleteQuickResponseResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; getAIAgent( input: GetAIAgentRequest, ): Effect.Effect< GetAIAgentResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getAIGuardrail( input: GetAIGuardrailRequest, ): Effect.Effect< GetAIGuardrailResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getAIPrompt( input: GetAIPromptRequest, ): Effect.Effect< GetAIPromptResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getAssistant( input: GetAssistantRequest, ): Effect.Effect< GetAssistantResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; getAssistantAssociation( input: GetAssistantAssociationRequest, ): Effect.Effect< GetAssistantAssociationResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; getContent( input: GetContentRequest, ): Effect.Effect< GetContentResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; getContentAssociation( input: GetContentAssociationRequest, ): Effect.Effect< GetContentAssociationResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; getContentSummary( input: GetContentSummaryRequest, ): Effect.Effect< GetContentSummaryResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; getImportJob( input: GetImportJobRequest, ): Effect.Effect< GetImportJobResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getKnowledgeBase( input: GetKnowledgeBaseRequest, ): Effect.Effect< GetKnowledgeBaseResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; getMessageTemplate( input: GetMessageTemplateRequest, ): Effect.Effect< GetMessageTemplateResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getNextMessage( input: GetNextMessageRequest, ): Effect.Effect< GetNextMessageResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getQuickResponse( input: GetQuickResponseRequest, ): Effect.Effect< GetQuickResponseResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; getRecommendations( input: GetRecommendationsRequest, ): Effect.Effect< GetRecommendationsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getSession( input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; listAIAgentVersions( input: ListAIAgentVersionsRequest, ): Effect.Effect< ListAIAgentVersionsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listAIAgents( input: ListAIAgentsRequest, ): Effect.Effect< ListAIAgentsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listAIGuardrailVersions( input: ListAIGuardrailVersionsRequest, ): Effect.Effect< ListAIGuardrailVersionsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listAIGuardrails( input: ListAIGuardrailsRequest, ): Effect.Effect< ListAIGuardrailsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listAIPromptVersions( input: ListAIPromptVersionsRequest, ): Effect.Effect< ListAIPromptVersionsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listAIPrompts( input: ListAIPromptsRequest, ): Effect.Effect< ListAIPromptsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listAssistantAssociations( input: ListAssistantAssociationsRequest, ): Effect.Effect< ListAssistantAssociationsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAssistants( input: ListAssistantsRequest, ): Effect.Effect< ListAssistantsResponse, - | AccessDeniedException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | UnauthorizedException | ValidationException | CommonAwsError >; listContentAssociations( input: ListContentAssociationsRequest, ): Effect.Effect< ListContentAssociationsResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; listContents( input: ListContentsRequest, ): Effect.Effect< ListContentsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listImportJobs( input: ListImportJobsRequest, @@ -707,292 +386,169 @@ export declare class QConnect extends AWSServiceClient { input: ListMessageTemplateVersionsRequest, ): Effect.Effect< ListMessageTemplateVersionsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMessageTemplates( input: ListMessageTemplatesRequest, ): Effect.Effect< ListMessageTemplatesResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMessages( input: ListMessagesRequest, ): Effect.Effect< ListMessagesResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listQuickResponses( input: ListQuickResponsesRequest, ): Effect.Effect< ListQuickResponsesResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; notifyRecommendationsReceived( input: NotifyRecommendationsReceivedRequest, ): Effect.Effect< NotifyRecommendationsReceivedResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; putFeedback( input: PutFeedbackRequest, ): Effect.Effect< PutFeedbackResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; queryAssistant( input: QueryAssistantRequest, ): Effect.Effect< QueryAssistantResponse, - | AccessDeniedException - | RequestTimeoutException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | RequestTimeoutException | ResourceNotFoundException | ValidationException | CommonAwsError >; removeAssistantAIAgent( input: RemoveAssistantAIAgentRequest, ): Effect.Effect< RemoveAssistantAIAgentResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; removeKnowledgeBaseTemplateUri( input: RemoveKnowledgeBaseTemplateUriRequest, ): Effect.Effect< RemoveKnowledgeBaseTemplateUriResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; renderMessageTemplate( input: RenderMessageTemplateRequest, ): Effect.Effect< RenderMessageTemplateResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchContent( input: SearchContentRequest, ): Effect.Effect< SearchContentResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; searchMessageTemplates( input: SearchMessageTemplatesRequest, ): Effect.Effect< SearchMessageTemplatesResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; searchQuickResponses( input: SearchQuickResponsesRequest, ): Effect.Effect< SearchQuickResponsesResponse, - | AccessDeniedException - | RequestTimeoutException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | RequestTimeoutException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; searchSessions( input: SearchSessionsRequest, ): Effect.Effect< SearchSessionsResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; sendMessage( input: SendMessageRequest, ): Effect.Effect< SendMessageResponse, - | AccessDeniedException - | ConflictException - | RequestTimeoutException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | RequestTimeoutException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startContentUpload( input: StartContentUploadRequest, ): Effect.Effect< StartContentUploadResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; startImportJob( input: StartImportJobRequest, ): Effect.Effect< StartImportJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | UnauthorizedException | ValidationException | CommonAwsError >; updateAIAgent( input: UpdateAIAgentRequest, ): Effect.Effect< UpdateAIAgentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateAIGuardrail( input: UpdateAIGuardrailRequest, ): Effect.Effect< UpdateAIGuardrailResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateAIPrompt( input: UpdateAIPromptRequest, ): Effect.Effect< UpdateAIPromptResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; updateAssistantAIAgent( input: UpdateAssistantAIAgentRequest, ): Effect.Effect< UpdateAssistantAIAgentResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateContent( input: UpdateContentRequest, ): Effect.Effect< UpdateContentResponse, - | AccessDeniedException - | PreconditionFailedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | PreconditionFailedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; updateKnowledgeBaseTemplateUri( input: UpdateKnowledgeBaseTemplateUriRequest, ): Effect.Effect< UpdateKnowledgeBaseTemplateUriResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateMessageTemplate( input: UpdateMessageTemplateRequest, ): Effect.Effect< UpdateMessageTemplateResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateMessageTemplateMetadata( input: UpdateMessageTemplateMetadataRequest, ): Effect.Effect< UpdateMessageTemplateMetadataResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateQuickResponse( input: UpdateQuickResponseRequest, ): Effect.Effect< UpdateQuickResponseResponse, - | AccessDeniedException - | ConflictException - | PreconditionFailedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PreconditionFailedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; updateSession( input: UpdateSessionRequest, ): Effect.Effect< UpdateSessionResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; updateSessionData( input: UpdateSessionDataRequest, ): Effect.Effect< UpdateSessionDataResponse, - | AccessDeniedException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; } @@ -1028,25 +584,7 @@ interface _AIAgentConfiguration { emailGenerativeAnswerAIAgentConfiguration?: EmailGenerativeAnswerAIAgentConfiguration; } -export type AIAgentConfiguration = - | (_AIAgentConfiguration & { - manualSearchAIAgentConfiguration: ManualSearchAIAgentConfiguration; - }) - | (_AIAgentConfiguration & { - answerRecommendationAIAgentConfiguration: AnswerRecommendationAIAgentConfiguration; - }) - | (_AIAgentConfiguration & { - selfServiceAIAgentConfiguration: SelfServiceAIAgentConfiguration; - }) - | (_AIAgentConfiguration & { - emailResponseAIAgentConfiguration: EmailResponseAIAgentConfiguration; - }) - | (_AIAgentConfiguration & { - emailOverviewAIAgentConfiguration: EmailOverviewAIAgentConfiguration; - }) - | (_AIAgentConfiguration & { - emailGenerativeAnswerAIAgentConfiguration: EmailGenerativeAnswerAIAgentConfiguration; - }); +export type AIAgentConfiguration = (_AIAgentConfiguration & { manualSearchAIAgentConfiguration: ManualSearchAIAgentConfiguration }) | (_AIAgentConfiguration & { answerRecommendationAIAgentConfiguration: AnswerRecommendationAIAgentConfiguration }) | (_AIAgentConfiguration & { selfServiceAIAgentConfiguration: SelfServiceAIAgentConfiguration }) | (_AIAgentConfiguration & { emailResponseAIAgentConfiguration: EmailResponseAIAgentConfiguration }) | (_AIAgentConfiguration & { emailOverviewAIAgentConfiguration: EmailOverviewAIAgentConfiguration }) | (_AIAgentConfiguration & { emailGenerativeAnswerAIAgentConfiguration: EmailGenerativeAnswerAIAgentConfiguration }); export interface AIAgentConfigurationData { aiAgentId: string; } @@ -1191,9 +729,7 @@ interface _AIPromptTemplateConfiguration { textFullAIPromptEditTemplateConfiguration?: TextFullAIPromptEditTemplateConfiguration; } -export type AIPromptTemplateConfiguration = _AIPromptTemplateConfiguration & { - textFullAIPromptEditTemplateConfiguration: TextFullAIPromptEditTemplateConfiguration; -}; +export type AIPromptTemplateConfiguration = (_AIPromptTemplateConfiguration & { textFullAIPromptEditTemplateConfiguration: TextFullAIPromptEditTemplateConfiguration }); export type AIPromptTemplateType = string; export type AIPromptType = string; @@ -1236,16 +772,12 @@ interface _AssistantAssociationInputData { knowledgeBaseId?: string; } -export type AssistantAssociationInputData = _AssistantAssociationInputData & { - knowledgeBaseId: string; -}; +export type AssistantAssociationInputData = (_AssistantAssociationInputData & { knowledgeBaseId: string }); interface _AssistantAssociationOutputData { knowledgeBaseAssociation?: KnowledgeBaseAssociationData; } -export type AssistantAssociationOutputData = _AssistantAssociationOutputData & { - knowledgeBaseAssociation: KnowledgeBaseAssociationData; -}; +export type AssistantAssociationOutputData = (_AssistantAssociationOutputData & { knowledgeBaseAssociation: KnowledgeBaseAssociationData }); export interface AssistantAssociationSummary { assistantAssociationId: string; assistantAssociationArn: string; @@ -1255,8 +787,7 @@ export interface AssistantAssociationSummary { associationData: AssistantAssociationOutputData; tags?: Record; } -export type AssistantAssociationSummaryList = - Array; +export type AssistantAssociationSummaryList = Array; export interface AssistantCapabilityConfiguration { type?: string; } @@ -1305,9 +836,7 @@ interface _AssociationConfigurationData { knowledgeBaseAssociationConfigurationData?: KnowledgeBaseAssociationConfigurationData; } -export type AssociationConfigurationData = _AssociationConfigurationData & { - knowledgeBaseAssociationConfigurationData: KnowledgeBaseAssociationConfigurationData; -}; +export type AssociationConfigurationData = (_AssociationConfigurationData & { knowledgeBaseAssociationConfigurationData: KnowledgeBaseAssociationConfigurationData }); export type AssociationConfigurationList = Array; export type AssociationType = string; @@ -1344,9 +873,7 @@ interface _Configuration { connectConfiguration?: ConnectConfiguration; } -export type Configuration = _Configuration & { - connectConfiguration: ConnectConfiguration; -}; +export type Configuration = (_Configuration & { connectConfiguration: ConnectConfiguration }); export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -1365,9 +892,7 @@ interface _ContentAssociationContents { amazonConnectGuideAssociation?: AmazonConnectGuideAssociationData; } -export type ContentAssociationContents = _ContentAssociationContents & { - amazonConnectGuideAssociation: AmazonConnectGuideAssociationData; -}; +export type ContentAssociationContents = (_ContentAssociationContents & { amazonConnectGuideAssociation: AmazonConnectGuideAssociationData }); export interface ContentAssociationData { knowledgeBaseId: string; knowledgeBaseArn: string; @@ -1419,9 +944,7 @@ interface _ContentFeedbackData { generativeContentFeedbackData?: GenerativeContentFeedbackData; } -export type ContentFeedbackData = _ContentFeedbackData & { - generativeContentFeedbackData: GenerativeContentFeedbackData; -}; +export type ContentFeedbackData = (_ContentFeedbackData & { generativeContentFeedbackData: GenerativeContentFeedbackData }); export type ContentMetadata = Record; export interface ContentReference { knowledgeBaseArn?: string; @@ -1734,25 +1257,13 @@ interface _DataDetails { emailGenerativeAnswerChunkData?: EmailGenerativeAnswerChunkDataDetails; } -export type DataDetails = - | (_DataDetails & { contentData: ContentDataDetails }) - | (_DataDetails & { generativeData: GenerativeDataDetails }) - | (_DataDetails & { intentDetectedData: IntentDetectedDataDetails }) - | (_DataDetails & { sourceContentData: SourceContentDataDetails }) - | (_DataDetails & { generativeChunkData: GenerativeChunkDataDetails }) - | (_DataDetails & { emailResponseChunkData: EmailResponseChunkDataDetails }) - | (_DataDetails & { emailOverviewChunkData: EmailOverviewChunkDataDetails }) - | (_DataDetails & { - emailGenerativeAnswerChunkData: EmailGenerativeAnswerChunkDataDetails; - }); +export type DataDetails = (_DataDetails & { contentData: ContentDataDetails }) | (_DataDetails & { generativeData: GenerativeDataDetails }) | (_DataDetails & { intentDetectedData: IntentDetectedDataDetails }) | (_DataDetails & { sourceContentData: SourceContentDataDetails }) | (_DataDetails & { generativeChunkData: GenerativeChunkDataDetails }) | (_DataDetails & { emailResponseChunkData: EmailResponseChunkDataDetails }) | (_DataDetails & { emailOverviewChunkData: EmailOverviewChunkDataDetails }) | (_DataDetails & { emailGenerativeAnswerChunkData: EmailGenerativeAnswerChunkDataDetails }); interface _DataReference { contentReference?: ContentReference; generativeReference?: GenerativeReference; } -export type DataReference = - | (_DataReference & { contentReference: ContentReference }) - | (_DataReference & { generativeReference: GenerativeReference }); +export type DataReference = (_DataReference & { contentReference: ContentReference }) | (_DataReference & { generativeReference: GenerativeReference }); export interface DataSummary { reference: DataReference; details: DataDetails; @@ -1772,80 +1283,95 @@ export interface DeleteAIAgentRequest { assistantId: string; aiAgentId: string; } -export interface DeleteAIAgentResponse {} +export interface DeleteAIAgentResponse { +} export interface DeleteAIAgentVersionRequest { assistantId: string; aiAgentId: string; versionNumber: number; } -export interface DeleteAIAgentVersionResponse {} +export interface DeleteAIAgentVersionResponse { +} export interface DeleteAIGuardrailRequest { assistantId: string; aiGuardrailId: string; } -export interface DeleteAIGuardrailResponse {} +export interface DeleteAIGuardrailResponse { +} export interface DeleteAIGuardrailVersionRequest { assistantId: string; aiGuardrailId: string; versionNumber: number; } -export interface DeleteAIGuardrailVersionResponse {} +export interface DeleteAIGuardrailVersionResponse { +} export interface DeleteAIPromptRequest { assistantId: string; aiPromptId: string; } -export interface DeleteAIPromptResponse {} +export interface DeleteAIPromptResponse { +} export interface DeleteAIPromptVersionRequest { assistantId: string; aiPromptId: string; versionNumber: number; } -export interface DeleteAIPromptVersionResponse {} +export interface DeleteAIPromptVersionResponse { +} export interface DeleteAssistantAssociationRequest { assistantAssociationId: string; assistantId: string; } -export interface DeleteAssistantAssociationResponse {} +export interface DeleteAssistantAssociationResponse { +} export interface DeleteAssistantRequest { assistantId: string; } -export interface DeleteAssistantResponse {} +export interface DeleteAssistantResponse { +} export interface DeleteContentAssociationRequest { knowledgeBaseId: string; contentId: string; contentAssociationId: string; } -export interface DeleteContentAssociationResponse {} +export interface DeleteContentAssociationResponse { +} export interface DeleteContentRequest { knowledgeBaseId: string; contentId: string; } -export interface DeleteContentResponse {} +export interface DeleteContentResponse { +} export interface DeleteImportJobRequest { knowledgeBaseId: string; importJobId: string; } -export interface DeleteImportJobResponse {} +export interface DeleteImportJobResponse { +} export interface DeleteKnowledgeBaseRequest { knowledgeBaseId: string; } -export interface DeleteKnowledgeBaseResponse {} +export interface DeleteKnowledgeBaseResponse { +} export interface DeleteMessageTemplateAttachmentRequest { knowledgeBaseId: string; messageTemplateId: string; attachmentId: string; } -export interface DeleteMessageTemplateAttachmentResponse {} +export interface DeleteMessageTemplateAttachmentResponse { +} export interface DeleteMessageTemplateRequest { knowledgeBaseId: string; messageTemplateId: string; } -export interface DeleteMessageTemplateResponse {} +export interface DeleteMessageTemplateResponse { +} export interface DeleteQuickResponseRequest { knowledgeBaseId: string; quickResponseId: string; } -export interface DeleteQuickResponseResponse {} +export interface DeleteQuickResponseResponse { +} export declare class DependencyFailedException extends EffectData.TaggedError( "DependencyFailedException", )<{ @@ -2109,16 +1635,14 @@ export interface GuardrailContextualGroundingFilterConfig { type: string; threshold: number; } -export type GuardrailContextualGroundingFiltersConfig = - Array; +export type GuardrailContextualGroundingFiltersConfig = Array; export type GuardrailContextualGroundingFilterThreshold = number; export type GuardrailContextualGroundingFilterType = string; export type GuardrailFilterStrength = string; -export type GuardrailManagedWordListsConfig = - Array; +export type GuardrailManagedWordListsConfig = Array; export interface GuardrailManagedWordsConfig { type: string; } @@ -2176,8 +1700,7 @@ export interface HierarchicalChunkingConfiguration { export interface HierarchicalChunkingLevelConfiguration { maxTokens: number; } -export type HierarchicalChunkingLevelConfigurations = - Array; +export type HierarchicalChunkingLevelConfigurations = Array; export interface Highlight { beginOffsetInclusive?: number; endOffsetExclusive?: number; @@ -2435,9 +1958,7 @@ interface _ManagedSourceConfiguration { webCrawlerConfiguration?: WebCrawlerConfiguration; } -export type ManagedSourceConfiguration = _ManagedSourceConfiguration & { - webCrawlerConfiguration: WebCrawlerConfiguration; -}; +export type ManagedSourceConfiguration = (_ManagedSourceConfiguration & { webCrawlerConfiguration: WebCrawlerConfiguration }); export interface ManualSearchAIAgentConfiguration { answerGenerationAIPromptId?: string; answerGenerationAIGuardrailId?: string; @@ -2453,7 +1974,7 @@ interface _MessageData { text?: TextMessage; } -export type MessageData = _MessageData & { text: TextMessage }; +export type MessageData = (_MessageData & { text: TextMessage }); export interface MessageInput { value: MessageData; } @@ -2491,16 +2012,13 @@ interface _MessageTemplateBodyContentProvider { content?: string; } -export type MessageTemplateBodyContentProvider = - _MessageTemplateBodyContentProvider & { content: string }; +export type MessageTemplateBodyContentProvider = (_MessageTemplateBodyContentProvider & { content: string }); interface _MessageTemplateContentProvider { email?: EmailMessageTemplateContent; sms?: SMSMessageTemplateContent; } -export type MessageTemplateContentProvider = - | (_MessageTemplateContentProvider & { email: EmailMessageTemplateContent }) - | (_MessageTemplateContentProvider & { sms: SMSMessageTemplateContent }); +export type MessageTemplateContentProvider = (_MessageTemplateContentProvider & { email: EmailMessageTemplateContent }) | (_MessageTemplateContentProvider & { sms: SMSMessageTemplateContent }); export type MessageTemplateContentSha256 = string; export interface MessageTemplateData { @@ -2573,8 +2091,7 @@ export interface MessageTemplateSearchResultData { language?: string; tags?: Record; } -export type MessageTemplateSearchResultsList = - Array; +export type MessageTemplateSearchResultsList = Array; export interface MessageTemplateSummary { messageTemplateArn: string; messageTemplateId: string; @@ -2600,8 +2117,7 @@ export interface MessageTemplateVersionSummary { isActive: boolean; versionNumber: number; } -export type MessageTemplateVersionSummaryList = - Array; +export type MessageTemplateVersionSummaryList = Array; export type MessageType = string; export type Name = string; @@ -2618,8 +2134,7 @@ export interface NotifyRecommendationsReceivedError { recommendationId?: string; message?: string; } -export type NotifyRecommendationsReceivedErrorList = - Array; +export type NotifyRecommendationsReceivedErrorList = Array; export type NotifyRecommendationsReceivedErrorMessage = string; export interface NotifyRecommendationsReceivedRequest { @@ -2637,9 +2152,7 @@ interface _OrCondition { tagCondition?: TagCondition; } -export type OrCondition = - | (_OrCondition & { andConditions: Array }) - | (_OrCondition & { tagCondition: TagCondition }); +export type OrCondition = (_OrCondition & { andConditions: Array }) | (_OrCondition & { tagCondition: TagCondition }); export type OrConditions = Array; export type Order = string; @@ -2696,7 +2209,7 @@ interface _QueryCondition { single?: QueryConditionItem; } -export type QueryCondition = _QueryCondition & { single: QueryConditionItem }; +export type QueryCondition = (_QueryCondition & { single: QueryConditionItem }); export type QueryConditionComparisonOperator = string; export type QueryConditionExpression = Array; @@ -2712,9 +2225,7 @@ interface _QueryInputData { intentInputData?: IntentInputData; } -export type QueryInputData = - | (_QueryInputData & { queryTextInputData: QueryTextInputData }) - | (_QueryInputData & { intentInputData: IntentInputData }); +export type QueryInputData = (_QueryInputData & { queryTextInputData: QueryTextInputData }) | (_QueryInputData & { intentInputData: IntentInputData }); export interface QueryRecommendationTriggerData { text?: string; } @@ -2732,9 +2243,7 @@ interface _QuickResponseContentProvider { content?: string; } -export type QuickResponseContentProvider = _QuickResponseContentProvider & { - content: string; -}; +export type QuickResponseContentProvider = (_QuickResponseContentProvider & { content: string }); export interface QuickResponseContents { plainText?: QuickResponseContentProvider; markdown?: QuickResponseContentProvider; @@ -2763,9 +2272,7 @@ interface _QuickResponseDataProvider { content?: string; } -export type QuickResponseDataProvider = _QuickResponseDataProvider & { - content: string; -}; +export type QuickResponseDataProvider = (_QuickResponseDataProvider & { content: string }); export type QuickResponseDescription = string; export interface QuickResponseFilterField { @@ -2826,8 +2333,7 @@ export interface QuickResponseSearchResultData { attributesInterpolated?: Array; tags?: Record; } -export type QuickResponseSearchResultsList = - Array; +export type QuickResponseSearchResultsList = Array; export type QuickResponseStatus = string; export interface QuickResponseSummary { @@ -2878,9 +2384,7 @@ interface _RecommendationTriggerData { query?: QueryRecommendationTriggerData; } -export type RecommendationTriggerData = _RecommendationTriggerData & { - query: QueryRecommendationTriggerData; -}; +export type RecommendationTriggerData = (_RecommendationTriggerData & { query: QueryRecommendationTriggerData }); export type RecommendationTriggerList = Array; export type RecommendationTriggerType = string; @@ -2898,11 +2402,13 @@ export interface RemoveAssistantAIAgentRequest { assistantId: string; aiAgentType: string; } -export interface RemoveAssistantAIAgentResponse {} +export interface RemoveAssistantAIAgentResponse { +} export interface RemoveKnowledgeBaseTemplateUriRequest { knowledgeBaseId: string; } -export interface RemoveKnowledgeBaseTemplateUriResponse {} +export interface RemoveKnowledgeBaseTemplateUriResponse { +} export interface RenderingConfiguration { templateUri?: string; } @@ -2943,9 +2449,7 @@ interface _RuntimeSessionDataValue { stringValue?: string; } -export type RuntimeSessionDataValue = _RuntimeSessionDataValue & { - stringValue: string; -}; +export type RuntimeSessionDataValue = (_RuntimeSessionDataValue & { stringValue: string }); export interface SearchContentRequest { nextToken?: string; maxResults?: number; @@ -3005,8 +2509,7 @@ export interface SelfServiceConversationHistory { inputTranscript?: string; botResponse?: string; } -export type SelfServiceConversationHistoryList = - Array; +export type SelfServiceConversationHistoryList = Array; export interface SemanticChunkingConfiguration { maxTokens: number; bufferSize: number; @@ -3072,11 +2575,7 @@ interface _SourceConfiguration { managedSourceConfiguration?: ManagedSourceConfiguration; } -export type SourceConfiguration = - | (_SourceConfiguration & { appIntegrations: AppIntegrationsConfiguration }) - | (_SourceConfiguration & { - managedSourceConfiguration: ManagedSourceConfiguration; - }); +export type SourceConfiguration = (_SourceConfiguration & { appIntegrations: AppIntegrationsConfiguration }) | (_SourceConfiguration & { managedSourceConfiguration: ManagedSourceConfiguration }); export interface SourceContentDataDetails { id: string; type: string; @@ -3130,10 +2629,7 @@ interface _TagFilter { orConditions?: Array; } -export type TagFilter = - | (_TagFilter & { tagCondition: TagCondition }) - | (_TagFilter & { andConditions: Array }) - | (_TagFilter & { orConditions: Array }); +export type TagFilter = (_TagFilter & { tagCondition: TagCondition }) | (_TagFilter & { andConditions: Array }) | (_TagFilter & { orConditions: Array }); export type TagKey = string; export type TagKeyList = Array; @@ -3141,7 +2637,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -3181,7 +2678,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAIAgentRequest { clientToken?: string; assistantId: string; @@ -3363,7 +2861,9 @@ export type WebUrl = string; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -3378,7 +2878,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ActivateMessageTemplate { @@ -4414,16 +3916,5 @@ export declare namespace UpdateSessionData { | CommonAwsError; } -export type QConnectErrors = - | AccessDeniedException - | ConflictException - | DependencyFailedException - | PreconditionFailedException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | UnauthorizedException - | ValidationException - | CommonAwsError; +export type QConnectErrors = AccessDeniedException | ConflictException | DependencyFailedException | PreconditionFailedException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | UnauthorizedException | ValidationException | CommonAwsError; + diff --git a/src/services/quicksight/index.ts b/src/services/quicksight/index.ts index 5ea3d238..d8ebfa29 100644 --- a/src/services/quicksight/index.ts +++ b/src/services/quicksight/index.ts @@ -5,24 +5,7 @@ import type { QuickSight as _QuickSightClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,1230 +15,1214 @@ const metadata = { sigV4ServiceName: "quicksight", endpointPrefix: "quicksight", operations: { - BatchCreateTopicReviewedAnswer: { + "BatchCreateTopicReviewedAnswer": { http: "POST /accounts/{AwsAccountId}/topics/{TopicId}/batch-create-reviewed-answers", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - BatchDeleteTopicReviewedAnswer: { + "BatchDeleteTopicReviewedAnswer": { http: "POST /accounts/{AwsAccountId}/topics/{TopicId}/batch-delete-reviewed-answers", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CancelIngestion: { + "CancelIngestion": { http: "DELETE /accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateAccountCustomization: { + "CreateAccountCustomization": { http: "POST /accounts/{AwsAccountId}/customizations", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateAccountSubscription: { + "CreateAccountSubscription": { http: "POST /account/{AwsAccountId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateActionConnector: { + "CreateActionConnector": { http: "POST /accounts/{AwsAccountId}/action-connectors", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateAnalysis: { + "CreateAnalysis": { http: "POST /accounts/{AwsAccountId}/analyses/{AnalysisId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateBrand: "POST /accounts/{AwsAccountId}/brands/{BrandId}", - CreateCustomPermissions: "POST /accounts/{AwsAccountId}/custom-permissions", - CreateDashboard: { + "CreateBrand": "POST /accounts/{AwsAccountId}/brands/{BrandId}", + "CreateCustomPermissions": "POST /accounts/{AwsAccountId}/custom-permissions", + "CreateDashboard": { http: "POST /accounts/{AwsAccountId}/dashboards/{DashboardId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateDataSet: { + "CreateDataSet": { http: "POST /accounts/{AwsAccountId}/data-sets", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateDataSource: { + "CreateDataSource": { http: "POST /accounts/{AwsAccountId}/data-sources", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateFolder: { + "CreateFolder": { http: "POST /accounts/{AwsAccountId}/folders/{FolderId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateFolderMembership: - "PUT /accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}", - CreateGroup: { + "CreateFolderMembership": "PUT /accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}", + "CreateGroup": { http: "POST /accounts/{AwsAccountId}/namespaces/{Namespace}/groups", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateGroupMembership: { + "CreateGroupMembership": { http: "PUT /accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateIAMPolicyAssignment: { + "CreateIAMPolicyAssignment": { http: "POST /accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateIngestion: { + "CreateIngestion": { http: "PUT /accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateNamespace: { + "CreateNamespace": { http: "POST /accounts/{AwsAccountId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateRefreshSchedule: { + "CreateRefreshSchedule": { http: "POST /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-schedules", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateRoleMembership: { + "CreateRoleMembership": { http: "POST /accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/members/{MemberName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateTemplate: { + "CreateTemplate": { http: "POST /accounts/{AwsAccountId}/templates/{TemplateId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateTemplateAlias: { + "CreateTemplateAlias": { http: "POST /accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateTheme: { + "CreateTheme": { http: "POST /accounts/{AwsAccountId}/themes/{ThemeId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateThemeAlias: { + "CreateThemeAlias": { http: "POST /accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateTopic: { + "CreateTopic": { http: "POST /accounts/{AwsAccountId}/topics", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateTopicRefreshSchedule: { + "CreateTopicRefreshSchedule": { http: "POST /accounts/{AwsAccountId}/topics/{TopicId}/schedules", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - CreateVPCConnection: { + "CreateVPCConnection": { http: "POST /accounts/{AwsAccountId}/vpc-connections", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteAccountCustomization: { + "DeleteAccountCustomization": { http: "DELETE /accounts/{AwsAccountId}/customizations", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteAccountCustomPermission: - "DELETE /accounts/{AwsAccountId}/custom-permission", - DeleteAccountSubscription: { + "DeleteAccountCustomPermission": "DELETE /accounts/{AwsAccountId}/custom-permission", + "DeleteAccountSubscription": { http: "DELETE /account/{AwsAccountId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteActionConnector: { + "DeleteActionConnector": { http: "DELETE /accounts/{AwsAccountId}/action-connectors/{ActionConnectorId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteAnalysis: { + "DeleteAnalysis": { http: "DELETE /accounts/{AwsAccountId}/analyses/{AnalysisId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteBrand: "DELETE /accounts/{AwsAccountId}/brands/{BrandId}", - DeleteBrandAssignment: "DELETE /accounts/{AwsAccountId}/brandassignments", - DeleteCustomPermissions: - "DELETE /accounts/{AwsAccountId}/custom-permissions/{CustomPermissionsName}", - DeleteDashboard: { + "DeleteBrand": "DELETE /accounts/{AwsAccountId}/brands/{BrandId}", + "DeleteBrandAssignment": "DELETE /accounts/{AwsAccountId}/brandassignments", + "DeleteCustomPermissions": "DELETE /accounts/{AwsAccountId}/custom-permissions/{CustomPermissionsName}", + "DeleteDashboard": { http: "DELETE /accounts/{AwsAccountId}/dashboards/{DashboardId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteDataSet: { + "DeleteDataSet": { http: "DELETE /accounts/{AwsAccountId}/data-sets/{DataSetId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteDataSetRefreshProperties: { + "DeleteDataSetRefreshProperties": { http: "DELETE /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-properties", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteDataSource: { + "DeleteDataSource": { http: "DELETE /accounts/{AwsAccountId}/data-sources/{DataSourceId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteDefaultQBusinessApplication: { + "DeleteDefaultQBusinessApplication": { http: "DELETE /accounts/{AwsAccountId}/default-qbusiness-application", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteFolder: { + "DeleteFolder": { http: "DELETE /accounts/{AwsAccountId}/folders/{FolderId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteFolderMembership: - "DELETE /accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}", - DeleteGroup: { + "DeleteFolderMembership": "DELETE /accounts/{AwsAccountId}/folders/{FolderId}/members/{MemberType}/{MemberId}", + "DeleteGroup": { http: "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteGroupMembership: { + "DeleteGroupMembership": { http: "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteIAMPolicyAssignment: { + "DeleteIAMPolicyAssignment": { http: "DELETE /accounts/{AwsAccountId}/namespace/{Namespace}/iam-policy-assignments/{AssignmentName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteIdentityPropagationConfig: { + "DeleteIdentityPropagationConfig": { http: "DELETE /accounts/{AwsAccountId}/identity-propagation-config/{Service}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteNamespace: { + "DeleteNamespace": { http: "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteRefreshSchedule: { + "DeleteRefreshSchedule": { http: "DELETE /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-schedules/{ScheduleId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteRoleCustomPermission: - "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission", - DeleteRoleMembership: { + "DeleteRoleCustomPermission": "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission", + "DeleteRoleMembership": { http: "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/members/{MemberName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteTemplate: { + "DeleteTemplate": { http: "DELETE /accounts/{AwsAccountId}/templates/{TemplateId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteTemplateAlias: { + "DeleteTemplateAlias": { http: "DELETE /accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteTheme: { + "DeleteTheme": { http: "DELETE /accounts/{AwsAccountId}/themes/{ThemeId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteThemeAlias: { + "DeleteThemeAlias": { http: "DELETE /accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteTopic: { + "DeleteTopic": { http: "DELETE /accounts/{AwsAccountId}/topics/{TopicId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteTopicRefreshSchedule: { + "DeleteTopicRefreshSchedule": { http: "DELETE /accounts/{AwsAccountId}/topics/{TopicId}/schedules/{DatasetId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteUser: { + "DeleteUser": { http: "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteUserByPrincipalId: { + "DeleteUserByPrincipalId": { http: "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteUserCustomPermission: { + "DeleteUserCustomPermission": { http: "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/custom-permission", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DeleteVPCConnection: { + "DeleteVPCConnection": { http: "DELETE /accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeAccountCustomization: { + "DescribeAccountCustomization": { http: "GET /accounts/{AwsAccountId}/customizations", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeAccountCustomPermission: - "GET /accounts/{AwsAccountId}/custom-permission", - DescribeAccountSettings: { + "DescribeAccountCustomPermission": "GET /accounts/{AwsAccountId}/custom-permission", + "DescribeAccountSettings": { http: "GET /accounts/{AwsAccountId}/settings", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeAccountSubscription: { + "DescribeAccountSubscription": { http: "GET /account/{AwsAccountId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeActionConnector: { + "DescribeActionConnector": { http: "GET /accounts/{AwsAccountId}/action-connectors/{ActionConnectorId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeActionConnectorPermissions: { + "DescribeActionConnectorPermissions": { http: "GET /accounts/{AwsAccountId}/action-connectors/{ActionConnectorId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeAnalysis: { + "DescribeAnalysis": { http: "GET /accounts/{AwsAccountId}/analyses/{AnalysisId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeAnalysisDefinition: { + "DescribeAnalysisDefinition": { http: "GET /accounts/{AwsAccountId}/analyses/{AnalysisId}/definition", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeAnalysisPermissions: { + "DescribeAnalysisPermissions": { http: "GET /accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeAssetBundleExportJob: { + "DescribeAssetBundleExportJob": { http: "GET /accounts/{AwsAccountId}/asset-bundle-export-jobs/{AssetBundleExportJobId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeAssetBundleImportJob: { + "DescribeAssetBundleImportJob": { http: "GET /accounts/{AwsAccountId}/asset-bundle-import-jobs/{AssetBundleImportJobId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeBrand: "GET /accounts/{AwsAccountId}/brands/{BrandId}", - DescribeBrandAssignment: "GET /accounts/{AwsAccountId}/brandassignments", - DescribeBrandPublishedVersion: - "GET /accounts/{AwsAccountId}/brands/{BrandId}/publishedversion", - DescribeCustomPermissions: - "GET /accounts/{AwsAccountId}/custom-permissions/{CustomPermissionsName}", - DescribeDashboard: { + "DescribeBrand": "GET /accounts/{AwsAccountId}/brands/{BrandId}", + "DescribeBrandAssignment": "GET /accounts/{AwsAccountId}/brandassignments", + "DescribeBrandPublishedVersion": "GET /accounts/{AwsAccountId}/brands/{BrandId}/publishedversion", + "DescribeCustomPermissions": "GET /accounts/{AwsAccountId}/custom-permissions/{CustomPermissionsName}", + "DescribeDashboard": { http: "GET /accounts/{AwsAccountId}/dashboards/{DashboardId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDashboardDefinition: { + "DescribeDashboardDefinition": { http: "GET /accounts/{AwsAccountId}/dashboards/{DashboardId}/definition", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDashboardPermissions: { + "DescribeDashboardPermissions": { http: "GET /accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDashboardSnapshotJob: - "GET /accounts/{AwsAccountId}/dashboards/{DashboardId}/snapshot-jobs/{SnapshotJobId}", - DescribeDashboardSnapshotJobResult: { + "DescribeDashboardSnapshotJob": "GET /accounts/{AwsAccountId}/dashboards/{DashboardId}/snapshot-jobs/{SnapshotJobId}", + "DescribeDashboardSnapshotJobResult": { http: "GET /accounts/{AwsAccountId}/dashboards/{DashboardId}/snapshot-jobs/{SnapshotJobId}/result", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDashboardsQAConfiguration: { + "DescribeDashboardsQAConfiguration": { http: "GET /accounts/{AwsAccountId}/dashboards-qa-configuration", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDataSet: { + "DescribeDataSet": { http: "GET /accounts/{AwsAccountId}/data-sets/{DataSetId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDataSetPermissions: { + "DescribeDataSetPermissions": { http: "GET /accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDataSetRefreshProperties: { + "DescribeDataSetRefreshProperties": { http: "GET /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-properties", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDataSource: { + "DescribeDataSource": { http: "GET /accounts/{AwsAccountId}/data-sources/{DataSourceId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDataSourcePermissions: { + "DescribeDataSourcePermissions": { http: "GET /accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeDefaultQBusinessApplication: { + "DescribeDefaultQBusinessApplication": { http: "GET /accounts/{AwsAccountId}/default-qbusiness-application", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeFolder: { + "DescribeFolder": { http: "GET /accounts/{AwsAccountId}/folders/{FolderId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeFolderPermissions: { + "DescribeFolderPermissions": { http: "GET /accounts/{AwsAccountId}/folders/{FolderId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeFolderResolvedPermissions: { + "DescribeFolderResolvedPermissions": { http: "GET /accounts/{AwsAccountId}/folders/{FolderId}/resolved-permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeGroup: { + "DescribeGroup": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeGroupMembership: { + "DescribeGroupMembership": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members/{MemberName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeIAMPolicyAssignment: { + "DescribeIAMPolicyAssignment": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeIngestion: { + "DescribeIngestion": { http: "GET /accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions/{IngestionId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeIpRestriction: { + "DescribeIpRestriction": { http: "GET /accounts/{AwsAccountId}/ip-restriction", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeKeyRegistration: "GET /accounts/{AwsAccountId}/key-registration", - DescribeNamespace: { + "DescribeKeyRegistration": "GET /accounts/{AwsAccountId}/key-registration", + "DescribeNamespace": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeQPersonalizationConfiguration: { + "DescribeQPersonalizationConfiguration": { http: "GET /accounts/{AwsAccountId}/q-personalization-configuration", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeQuickSightQSearchConfiguration: { + "DescribeQuickSightQSearchConfiguration": { http: "GET /accounts/{AwsAccountId}/quicksight-q-search-configuration", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeRefreshSchedule: { + "DescribeRefreshSchedule": { http: "GET /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-schedules/{ScheduleId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeRoleCustomPermission: - "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission", - DescribeTemplate: { + "DescribeRoleCustomPermission": "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission", + "DescribeTemplate": { http: "GET /accounts/{AwsAccountId}/templates/{TemplateId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeTemplateAlias: { + "DescribeTemplateAlias": { http: "GET /accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeTemplateDefinition: { + "DescribeTemplateDefinition": { http: "GET /accounts/{AwsAccountId}/templates/{TemplateId}/definition", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeTemplatePermissions: { + "DescribeTemplatePermissions": { http: "GET /accounts/{AwsAccountId}/templates/{TemplateId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeTheme: { + "DescribeTheme": { http: "GET /accounts/{AwsAccountId}/themes/{ThemeId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeThemeAlias: { + "DescribeThemeAlias": { http: "GET /accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeThemePermissions: { + "DescribeThemePermissions": { http: "GET /accounts/{AwsAccountId}/themes/{ThemeId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeTopic: { + "DescribeTopic": { http: "GET /accounts/{AwsAccountId}/topics/{TopicId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeTopicPermissions: { + "DescribeTopicPermissions": { http: "GET /accounts/{AwsAccountId}/topics/{TopicId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeTopicRefresh: { + "DescribeTopicRefresh": { http: "GET /accounts/{AwsAccountId}/topics/{TopicId}/refresh/{RefreshId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeTopicRefreshSchedule: { + "DescribeTopicRefreshSchedule": { http: "GET /accounts/{AwsAccountId}/topics/{TopicId}/schedules/{DatasetId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeUser: { + "DescribeUser": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - DescribeVPCConnection: - "GET /accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}", - GenerateEmbedUrlForAnonymousUser: { + "DescribeVPCConnection": "GET /accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}", + "GenerateEmbedUrlForAnonymousUser": { http: "POST /accounts/{AwsAccountId}/embed-url/anonymous-user", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - GenerateEmbedUrlForRegisteredUser: { + "GenerateEmbedUrlForRegisteredUser": { http: "POST /accounts/{AwsAccountId}/embed-url/registered-user", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - GenerateEmbedUrlForRegisteredUserWithIdentity: { + "GenerateEmbedUrlForRegisteredUserWithIdentity": { http: "POST /accounts/{AwsAccountId}/embed-url/registered-user-with-identity", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - GetDashboardEmbedUrl: { + "GetDashboardEmbedUrl": { http: "GET /accounts/{AwsAccountId}/dashboards/{DashboardId}/embed-url", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - GetFlowMetadata: { + "GetFlowMetadata": { http: "GET /accounts/{AwsAccountId}/flows/{FlowId}/metadata", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - GetFlowPermissions: { + "GetFlowPermissions": { http: "GET /accounts/{AwsAccountId}/flows/{FlowId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - GetSessionEmbedUrl: { + "GetSessionEmbedUrl": { http: "GET /accounts/{AwsAccountId}/session-embed-url", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListActionConnectors: { + "ListActionConnectors": { http: "GET /accounts/{AwsAccountId}/action-connectors", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListAnalyses: { + "ListAnalyses": { http: "GET /accounts/{AwsAccountId}/analyses", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListAssetBundleExportJobs: { + "ListAssetBundleExportJobs": { http: "GET /accounts/{AwsAccountId}/asset-bundle-export-jobs", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListAssetBundleImportJobs: { + "ListAssetBundleImportJobs": { http: "GET /accounts/{AwsAccountId}/asset-bundle-import-jobs", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListBrands: "GET /accounts/{AwsAccountId}/brands", - ListCustomPermissions: { + "ListBrands": "GET /accounts/{AwsAccountId}/brands", + "ListCustomPermissions": { http: "GET /accounts/{AwsAccountId}/custom-permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListDashboards: { + "ListDashboards": { http: "GET /accounts/{AwsAccountId}/dashboards", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListDashboardVersions: { + "ListDashboardVersions": { http: "GET /accounts/{AwsAccountId}/dashboards/{DashboardId}/versions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListDataSets: { + "ListDataSets": { http: "GET /accounts/{AwsAccountId}/data-sets", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListDataSources: { + "ListDataSources": { http: "GET /accounts/{AwsAccountId}/data-sources", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListFlows: { + "ListFlows": { http: "GET /accounts/{AwsAccountId}/flows", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListFolderMembers: { + "ListFolderMembers": { http: "GET /accounts/{AwsAccountId}/folders/{FolderId}/members", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListFolders: { + "ListFolders": { http: "GET /accounts/{AwsAccountId}/folders", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListFoldersForResource: { + "ListFoldersForResource": { http: "GET /accounts/{AwsAccountId}/resource/{ResourceArn}/folders", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListGroupMemberships: { + "ListGroupMemberships": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}/members", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListGroups: { + "ListGroups": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/groups", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListIAMPolicyAssignments: { + "ListIAMPolicyAssignments": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/v2/iam-policy-assignments", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListIAMPolicyAssignmentsForUser: { + "ListIAMPolicyAssignmentsForUser": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/iam-policy-assignments", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListIdentityPropagationConfigs: { + "ListIdentityPropagationConfigs": { http: "GET /accounts/{AwsAccountId}/identity-propagation-config", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListIngestions: { + "ListIngestions": { http: "GET /accounts/{AwsAccountId}/data-sets/{DataSetId}/ingestions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListNamespaces: { + "ListNamespaces": { http: "GET /accounts/{AwsAccountId}/namespaces", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListRefreshSchedules: { + "ListRefreshSchedules": { http: "GET /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-schedules", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListRoleMemberships: { + "ListRoleMemberships": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/members", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListTagsForResource: { + "ListTagsForResource": { http: "GET /resources/{ResourceArn}/tags", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListTemplateAliases: { + "ListTemplateAliases": { http: "GET /accounts/{AwsAccountId}/templates/{TemplateId}/aliases", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListTemplates: { + "ListTemplates": { http: "GET /accounts/{AwsAccountId}/templates", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListTemplateVersions: { + "ListTemplateVersions": { http: "GET /accounts/{AwsAccountId}/templates/{TemplateId}/versions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListThemeAliases: { + "ListThemeAliases": { http: "GET /accounts/{AwsAccountId}/themes/{ThemeId}/aliases", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListThemes: { + "ListThemes": { http: "GET /accounts/{AwsAccountId}/themes", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListThemeVersions: { + "ListThemeVersions": { http: "GET /accounts/{AwsAccountId}/themes/{ThemeId}/versions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListTopicRefreshSchedules: { + "ListTopicRefreshSchedules": { http: "GET /accounts/{AwsAccountId}/topics/{TopicId}/schedules", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListTopicReviewedAnswers: { + "ListTopicReviewedAnswers": { http: "GET /accounts/{AwsAccountId}/topics/{TopicId}/reviewed-answers", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListTopics: { + "ListTopics": { http: "GET /accounts/{AwsAccountId}/topics", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListUserGroups: { + "ListUserGroups": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/groups", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListUsers: { + "ListUsers": { http: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/users", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - ListVPCConnections: { + "ListVPCConnections": { http: "GET /accounts/{AwsAccountId}/vpc-connections", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - PredictQAResults: { + "PredictQAResults": { http: "POST /accounts/{AwsAccountId}/qa/predict", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - PutDataSetRefreshProperties: { + "PutDataSetRefreshProperties": { http: "PUT /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-properties", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - RegisterUser: { + "RegisterUser": { http: "POST /accounts/{AwsAccountId}/namespaces/{Namespace}/users", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - RestoreAnalysis: { + "RestoreAnalysis": { http: "POST /accounts/{AwsAccountId}/restore/analyses/{AnalysisId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - SearchActionConnectors: { + "SearchActionConnectors": { http: "POST /accounts/{AwsAccountId}/search/action-connectors", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - SearchAnalyses: { + "SearchAnalyses": { http: "POST /accounts/{AwsAccountId}/search/analyses", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - SearchDashboards: { + "SearchDashboards": { http: "POST /accounts/{AwsAccountId}/search/dashboards", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - SearchDataSets: { + "SearchDataSets": { http: "POST /accounts/{AwsAccountId}/search/data-sets", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - SearchDataSources: { + "SearchDataSources": { http: "POST /accounts/{AwsAccountId}/search/data-sources", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - SearchFlows: { + "SearchFlows": { http: "POST /accounts/{AwsAccountId}/flows/searchFlows", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - SearchFolders: { + "SearchFolders": { http: "POST /accounts/{AwsAccountId}/search/folders", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - SearchGroups: { + "SearchGroups": { http: "POST /accounts/{AwsAccountId}/namespaces/{Namespace}/groups-search", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - SearchTopics: { + "SearchTopics": { http: "POST /accounts/{AwsAccountId}/search/topics", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - StartAssetBundleExportJob: { + "StartAssetBundleExportJob": { http: "POST /accounts/{AwsAccountId}/asset-bundle-export-jobs/export", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - StartAssetBundleImportJob: { + "StartAssetBundleImportJob": { http: "POST /accounts/{AwsAccountId}/asset-bundle-import-jobs/import", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - StartDashboardSnapshotJob: { + "StartDashboardSnapshotJob": { http: "POST /accounts/{AwsAccountId}/dashboards/{DashboardId}/snapshot-jobs", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - StartDashboardSnapshotJobSchedule: { + "StartDashboardSnapshotJobSchedule": { http: "POST /accounts/{AwsAccountId}/dashboards/{DashboardId}/schedules/{ScheduleId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - TagResource: { + "TagResource": { http: "POST /resources/{ResourceArn}/tags", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UntagResource: { + "UntagResource": { http: "DELETE /resources/{ResourceArn}/tags", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateAccountCustomization: { + "UpdateAccountCustomization": { http: "PUT /accounts/{AwsAccountId}/customizations", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateAccountCustomPermission: - "PUT /accounts/{AwsAccountId}/custom-permission", - UpdateAccountSettings: { + "UpdateAccountCustomPermission": "PUT /accounts/{AwsAccountId}/custom-permission", + "UpdateAccountSettings": { http: "PUT /accounts/{AwsAccountId}/settings", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateActionConnector: { + "UpdateActionConnector": { http: "PUT /accounts/{AwsAccountId}/action-connectors/{ActionConnectorId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateActionConnectorPermissions: { + "UpdateActionConnectorPermissions": { http: "POST /accounts/{AwsAccountId}/action-connectors/{ActionConnectorId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateAnalysis: { + "UpdateAnalysis": { http: "PUT /accounts/{AwsAccountId}/analyses/{AnalysisId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateAnalysisPermissions: { + "UpdateAnalysisPermissions": { http: "PUT /accounts/{AwsAccountId}/analyses/{AnalysisId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateApplicationWithTokenExchangeGrant: { + "UpdateApplicationWithTokenExchangeGrant": { http: "PUT /accounts/{AwsAccountId}/application-with-token-exchange-grant", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateBrand: "PUT /accounts/{AwsAccountId}/brands/{BrandId}", - UpdateBrandAssignment: "PUT /accounts/{AwsAccountId}/brandassignments", - UpdateBrandPublishedVersion: - "PUT /accounts/{AwsAccountId}/brands/{BrandId}/publishedversion", - UpdateCustomPermissions: - "PUT /accounts/{AwsAccountId}/custom-permissions/{CustomPermissionsName}", - UpdateDashboard: "PUT /accounts/{AwsAccountId}/dashboards/{DashboardId}", - UpdateDashboardLinks: { + "UpdateBrand": "PUT /accounts/{AwsAccountId}/brands/{BrandId}", + "UpdateBrandAssignment": "PUT /accounts/{AwsAccountId}/brandassignments", + "UpdateBrandPublishedVersion": "PUT /accounts/{AwsAccountId}/brands/{BrandId}/publishedversion", + "UpdateCustomPermissions": "PUT /accounts/{AwsAccountId}/custom-permissions/{CustomPermissionsName}", + "UpdateDashboard": "PUT /accounts/{AwsAccountId}/dashboards/{DashboardId}", + "UpdateDashboardLinks": { http: "PUT /accounts/{AwsAccountId}/dashboards/{DashboardId}/linked-entities", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateDashboardPermissions: { + "UpdateDashboardPermissions": { http: "PUT /accounts/{AwsAccountId}/dashboards/{DashboardId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateDashboardPublishedVersion: { + "UpdateDashboardPublishedVersion": { http: "PUT /accounts/{AwsAccountId}/dashboards/{DashboardId}/versions/{VersionNumber}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateDashboardsQAConfiguration: { + "UpdateDashboardsQAConfiguration": { http: "PUT /accounts/{AwsAccountId}/dashboards-qa-configuration", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateDataSet: { + "UpdateDataSet": { http: "PUT /accounts/{AwsAccountId}/data-sets/{DataSetId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateDataSetPermissions: { + "UpdateDataSetPermissions": { http: "POST /accounts/{AwsAccountId}/data-sets/{DataSetId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateDataSource: { + "UpdateDataSource": { http: "PUT /accounts/{AwsAccountId}/data-sources/{DataSourceId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateDataSourcePermissions: { + "UpdateDataSourcePermissions": { http: "POST /accounts/{AwsAccountId}/data-sources/{DataSourceId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateDefaultQBusinessApplication: { + "UpdateDefaultQBusinessApplication": { http: "PUT /accounts/{AwsAccountId}/default-qbusiness-application", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateFlowPermissions: { + "UpdateFlowPermissions": { http: "PUT /accounts/{AwsAccountId}/flows/{FlowId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateFolder: { + "UpdateFolder": { http: "PUT /accounts/{AwsAccountId}/folders/{FolderId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateFolderPermissions: - "PUT /accounts/{AwsAccountId}/folders/{FolderId}/permissions", - UpdateGroup: { + "UpdateFolderPermissions": "PUT /accounts/{AwsAccountId}/folders/{FolderId}/permissions", + "UpdateGroup": { http: "PUT /accounts/{AwsAccountId}/namespaces/{Namespace}/groups/{GroupName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateIAMPolicyAssignment: { + "UpdateIAMPolicyAssignment": { http: "PUT /accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateIdentityPropagationConfig: { + "UpdateIdentityPropagationConfig": { http: "POST /accounts/{AwsAccountId}/identity-propagation-config/{Service}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateIpRestriction: { + "UpdateIpRestriction": { http: "POST /accounts/{AwsAccountId}/ip-restriction", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateKeyRegistration: "POST /accounts/{AwsAccountId}/key-registration", - UpdatePublicSharingSettings: { + "UpdateKeyRegistration": "POST /accounts/{AwsAccountId}/key-registration", + "UpdatePublicSharingSettings": { http: "PUT /accounts/{AwsAccountId}/public-sharing-settings", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateQPersonalizationConfiguration: { + "UpdateQPersonalizationConfiguration": { http: "PUT /accounts/{AwsAccountId}/q-personalization-configuration", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateQuickSightQSearchConfiguration: { + "UpdateQuickSightQSearchConfiguration": { http: "PUT /accounts/{AwsAccountId}/quicksight-q-search-configuration", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateRefreshSchedule: { + "UpdateRefreshSchedule": { http: "PUT /accounts/{AwsAccountId}/data-sets/{DataSetId}/refresh-schedules", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateRoleCustomPermission: - "PUT /accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission", - UpdateSPICECapacityConfiguration: { + "UpdateRoleCustomPermission": "PUT /accounts/{AwsAccountId}/namespaces/{Namespace}/roles/{Role}/custom-permission", + "UpdateSPICECapacityConfiguration": { http: "POST /accounts/{AwsAccountId}/spice-capacity-configuration", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateTemplate: { + "UpdateTemplate": { http: "PUT /accounts/{AwsAccountId}/templates/{TemplateId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateTemplateAlias: { + "UpdateTemplateAlias": { http: "PUT /accounts/{AwsAccountId}/templates/{TemplateId}/aliases/{AliasName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateTemplatePermissions: { + "UpdateTemplatePermissions": { http: "PUT /accounts/{AwsAccountId}/templates/{TemplateId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateTheme: { + "UpdateTheme": { http: "PUT /accounts/{AwsAccountId}/themes/{ThemeId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateThemeAlias: { + "UpdateThemeAlias": { http: "PUT /accounts/{AwsAccountId}/themes/{ThemeId}/aliases/{AliasName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateThemePermissions: { + "UpdateThemePermissions": { http: "PUT /accounts/{AwsAccountId}/themes/{ThemeId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateTopic: { + "UpdateTopic": { http: "PUT /accounts/{AwsAccountId}/topics/{TopicId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateTopicPermissions: { + "UpdateTopicPermissions": { http: "PUT /accounts/{AwsAccountId}/topics/{TopicId}/permissions", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateTopicRefreshSchedule: { + "UpdateTopicRefreshSchedule": { http: "PUT /accounts/{AwsAccountId}/topics/{TopicId}/schedules/{DatasetId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateUser: { + "UpdateUser": { http: "PUT /accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateUserCustomPermission: { + "UpdateUserCustomPermission": { http: "PUT /accounts/{AwsAccountId}/namespaces/{Namespace}/users/{UserName}/custom-permission", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, - UpdateVPCConnection: { + "UpdateVPCConnection": { http: "PUT /accounts/{AwsAccountId}/vpc-connections/{VPCConnectionId}", traits: { - Status: "httpResponseCode", + "Status": "httpResponseCode", }, }, }, diff --git a/src/services/quicksight/types.ts b/src/services/quicksight/types.ts index b268c12d..fb2bc603 100644 --- a/src/services/quicksight/types.ts +++ b/src/services/quicksight/types.ts @@ -1,40 +1,7 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class QuickSight extends AWSServiceClient { @@ -42,2824 +9,1351 @@ export declare class QuickSight extends AWSServiceClient { input: BatchCreateTopicReviewedAnswerRequest, ): Effect.Effect< BatchCreateTopicReviewedAnswerResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchDeleteTopicReviewedAnswer( input: BatchDeleteTopicReviewedAnswerRequest, ): Effect.Effect< BatchDeleteTopicReviewedAnswerResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; cancelIngestion( input: CancelIngestionRequest, ): Effect.Effect< CancelIngestionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createAccountCustomization( input: CreateAccountCustomizationRequest, ): Effect.Effect< CreateAccountCustomizationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; createAccountSubscription( input: CreateAccountSubscriptionRequest, ): Effect.Effect< CreateAccountSubscriptionResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; createActionConnector( input: CreateActionConnectorRequest, ): Effect.Effect< CreateActionConnectorResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ThrottlingException | CommonAwsError >; createAnalysis( input: CreateAnalysisRequest, ): Effect.Effect< CreateAnalysisResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; createBrand( input: CreateBrandRequest, ): Effect.Effect< CreateBrandResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | LimitExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | LimitExceededException | ThrottlingException | CommonAwsError >; createCustomPermissions( input: CreateCustomPermissionsRequest, ): Effect.Effect< CreateCustomPermissionsResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; createDashboard( input: CreateDashboardRequest, ): Effect.Effect< CreateDashboardResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; createDataSet( input: CreateDataSetRequest, ): Effect.Effect< CreateDataSetResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; createDataSource( input: CreateDataSourceRequest, ): Effect.Effect< CreateDataSourceResponse, - | AccessDeniedException - | ConflictException - | CustomerManagedKeyUnavailableException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | CustomerManagedKeyUnavailableException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createFolder( input: CreateFolderRequest, ): Effect.Effect< CreateFolderResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; createFolderMembership( input: CreateFolderMembershipRequest, ): Effect.Effect< CreateFolderMembershipResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; createGroup( input: CreateGroupRequest, ): Effect.Effect< CreateGroupResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; createGroupMembership( input: CreateGroupMembershipRequest, ): Effect.Effect< CreateGroupMembershipResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; createIAMPolicyAssignment( input: CreateIAMPolicyAssignmentRequest, ): Effect.Effect< CreateIAMPolicyAssignmentResponse, - | AccessDeniedException - | ConcurrentUpdatingException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentUpdatingException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createIngestion( input: CreateIngestionRequest, ): Effect.Effect< CreateIngestionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createNamespace( input: CreateNamespaceRequest, ): Effect.Effect< CreateNamespaceResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; createRefreshSchedule( input: CreateRefreshScheduleRequest, ): Effect.Effect< CreateRefreshScheduleResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createRoleMembership( input: CreateRoleMembershipRequest, ): Effect.Effect< CreateRoleMembershipResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; createTemplate( input: CreateTemplateRequest, ): Effect.Effect< CreateTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; createTemplateAlias( input: CreateTemplateAliasRequest, ): Effect.Effect< CreateTemplateAliasResponse, - | ConflictException - | InternalFailureException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; createTheme( input: CreateThemeRequest, ): Effect.Effect< CreateThemeResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; createThemeAlias( input: CreateThemeAliasRequest, ): Effect.Effect< CreateThemeAliasResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; createTopic( input: CreateTopicRequest, ): Effect.Effect< CreateTopicResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createTopicRefreshSchedule( input: CreateTopicRefreshScheduleRequest, ): Effect.Effect< CreateTopicRefreshScheduleResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createVPCConnection( input: CreateVPCConnectionRequest, ): Effect.Effect< CreateVPCConnectionResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; deleteAccountCustomization( input: DeleteAccountCustomizationRequest, ): Effect.Effect< DeleteAccountCustomizationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteAccountCustomPermission( input: DeleteAccountCustomPermissionRequest, ): Effect.Effect< DeleteAccountCustomPermissionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAccountSubscription( input: DeleteAccountSubscriptionRequest, ): Effect.Effect< DeleteAccountSubscriptionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteActionConnector( input: DeleteActionConnectorRequest, ): Effect.Effect< DeleteActionConnectorResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAnalysis( input: DeleteAnalysisRequest, ): Effect.Effect< DeleteAnalysisResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; deleteBrand( input: DeleteBrandRequest, ): Effect.Effect< DeleteBrandResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteBrandAssignment( input: DeleteBrandAssignmentRequest, ): Effect.Effect< DeleteBrandAssignmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteCustomPermissions( input: DeleteCustomPermissionsRequest, ): Effect.Effect< DeleteCustomPermissionsResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteDashboard( input: DeleteDashboardRequest, ): Effect.Effect< DeleteDashboardResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; deleteDataSet( input: DeleteDataSetRequest, ): Effect.Effect< DeleteDataSetResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDataSetRefreshProperties( input: DeleteDataSetRefreshPropertiesRequest, ): Effect.Effect< DeleteDataSetRefreshPropertiesResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDataSource( input: DeleteDataSourceRequest, ): Effect.Effect< DeleteDataSourceResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDefaultQBusinessApplication( input: DeleteDefaultQBusinessApplicationRequest, ): Effect.Effect< DeleteDefaultQBusinessApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteFolder( input: DeleteFolderRequest, ): Effect.Effect< DeleteFolderResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; deleteFolderMembership( input: DeleteFolderMembershipRequest, ): Effect.Effect< DeleteFolderMembershipResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; deleteGroup( input: DeleteGroupRequest, ): Effect.Effect< DeleteGroupResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteGroupMembership( input: DeleteGroupMembershipRequest, ): Effect.Effect< DeleteGroupMembershipResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteIAMPolicyAssignment( input: DeleteIAMPolicyAssignmentRequest, ): Effect.Effect< DeleteIAMPolicyAssignmentResponse, - | AccessDeniedException - | ConcurrentUpdatingException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentUpdatingException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteIdentityPropagationConfig( input: DeleteIdentityPropagationConfigRequest, ): Effect.Effect< DeleteIdentityPropagationConfigResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteNamespace( input: DeleteNamespaceRequest, ): Effect.Effect< DeleteNamespaceResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteRefreshSchedule( input: DeleteRefreshScheduleRequest, ): Effect.Effect< DeleteRefreshScheduleResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteRoleCustomPermission( input: DeleteRoleCustomPermissionRequest, ): Effect.Effect< DeleteRoleCustomPermissionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteRoleMembership( input: DeleteRoleMembershipRequest, ): Effect.Effect< DeleteRoleMembershipResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteTemplate( input: DeleteTemplateRequest, ): Effect.Effect< DeleteTemplateResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; deleteTemplateAlias( input: DeleteTemplateAliasRequest, ): Effect.Effect< DeleteTemplateAliasResponse, - | ConflictException - | InternalFailureException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; deleteTheme( input: DeleteThemeRequest, ): Effect.Effect< DeleteThemeResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; deleteThemeAlias( input: DeleteThemeAliasRequest, ): Effect.Effect< DeleteThemeAliasResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; deleteTopic( input: DeleteTopicRequest, ): Effect.Effect< DeleteTopicResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteTopicRefreshSchedule( input: DeleteTopicRefreshScheduleRequest, ): Effect.Effect< DeleteTopicRefreshScheduleResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< DeleteUserResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteUserByPrincipalId( input: DeleteUserByPrincipalIdRequest, ): Effect.Effect< DeleteUserByPrincipalIdResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteUserCustomPermission( input: DeleteUserCustomPermissionRequest, ): Effect.Effect< DeleteUserCustomPermissionResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteVPCConnection( input: DeleteVPCConnectionRequest, ): Effect.Effect< DeleteVPCConnectionResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeAccountCustomization( input: DescribeAccountCustomizationRequest, ): Effect.Effect< DescribeAccountCustomizationResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; describeAccountCustomPermission( input: DescribeAccountCustomPermissionRequest, ): Effect.Effect< DescribeAccountCustomPermissionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAccountSettings( input: DescribeAccountSettingsRequest, ): Effect.Effect< DescribeAccountSettingsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; describeAccountSubscription( input: DescribeAccountSubscriptionRequest, ): Effect.Effect< DescribeAccountSubscriptionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; describeActionConnector( input: DescribeActionConnectorRequest, ): Effect.Effect< DescribeActionConnectorResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeActionConnectorPermissions( input: DescribeActionConnectorPermissionsRequest, ): Effect.Effect< DescribeActionConnectorPermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeAnalysis( input: DescribeAnalysisRequest, - ): Effect.Effect< - DescribeAnalysisResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError - >; - describeAnalysisDefinition( - input: DescribeAnalysisDefinitionRequest, - ): Effect.Effect< - DescribeAnalysisDefinitionResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ): Effect.Effect< + DescribeAnalysisResponse, + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError + >; + describeAnalysisDefinition( + input: DescribeAnalysisDefinitionRequest, + ): Effect.Effect< + DescribeAnalysisDefinitionResponse, + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeAnalysisPermissions( input: DescribeAnalysisPermissionsRequest, ): Effect.Effect< DescribeAnalysisPermissionsResponse, - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeAssetBundleExportJob( input: DescribeAssetBundleExportJobRequest, ): Effect.Effect< DescribeAssetBundleExportJobResponse, - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeAssetBundleImportJob( input: DescribeAssetBundleImportJobRequest, ): Effect.Effect< DescribeAssetBundleImportJobResponse, - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeBrand( input: DescribeBrandRequest, ): Effect.Effect< DescribeBrandResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeBrandAssignment( input: DescribeBrandAssignmentRequest, ): Effect.Effect< DescribeBrandAssignmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeBrandPublishedVersion( input: DescribeBrandPublishedVersionRequest, ): Effect.Effect< DescribeBrandPublishedVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeCustomPermissions( input: DescribeCustomPermissionsRequest, ): Effect.Effect< DescribeCustomPermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; describeDashboard( input: DescribeDashboardRequest, ): Effect.Effect< DescribeDashboardResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeDashboardDefinition( input: DescribeDashboardDefinitionRequest, ): Effect.Effect< DescribeDashboardDefinitionResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeDashboardPermissions( input: DescribeDashboardPermissionsRequest, ): Effect.Effect< DescribeDashboardPermissionsResponse, - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeDashboardSnapshotJob( input: DescribeDashboardSnapshotJobRequest, ): Effect.Effect< DescribeDashboardSnapshotJobResponse, - | AccessDeniedException - | InternalFailureException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeDashboardSnapshotJobResult( input: DescribeDashboardSnapshotJobResultRequest, ): Effect.Effect< DescribeDashboardSnapshotJobResultResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeDashboardsQAConfiguration( input: DescribeDashboardsQAConfigurationRequest, ): Effect.Effect< DescribeDashboardsQAConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDataSet( input: DescribeDataSetRequest, ): Effect.Effect< DescribeDataSetResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDataSetPermissions( input: DescribeDataSetPermissionsRequest, ): Effect.Effect< DescribeDataSetPermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDataSetRefreshProperties( input: DescribeDataSetRefreshPropertiesRequest, ): Effect.Effect< DescribeDataSetRefreshPropertiesResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDataSource( input: DescribeDataSourceRequest, ): Effect.Effect< DescribeDataSourceResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDataSourcePermissions( input: DescribeDataSourcePermissionsRequest, ): Effect.Effect< DescribeDataSourcePermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDefaultQBusinessApplication( input: DescribeDefaultQBusinessApplicationRequest, ): Effect.Effect< DescribeDefaultQBusinessApplicationResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeFolder( input: DescribeFolderRequest, ): Effect.Effect< DescribeFolderResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeFolderPermissions( input: DescribeFolderPermissionsRequest, ): Effect.Effect< DescribeFolderPermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeFolderResolvedPermissions( input: DescribeFolderResolvedPermissionsRequest, ): Effect.Effect< DescribeFolderResolvedPermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeGroup( input: DescribeGroupRequest, ): Effect.Effect< DescribeGroupResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; describeGroupMembership( input: DescribeGroupMembershipRequest, ): Effect.Effect< DescribeGroupMembershipResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; describeIAMPolicyAssignment( input: DescribeIAMPolicyAssignmentRequest, ): Effect.Effect< DescribeIAMPolicyAssignmentResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeIngestion( input: DescribeIngestionRequest, ): Effect.Effect< DescribeIngestionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeIpRestriction( input: DescribeIpRestrictionRequest, ): Effect.Effect< DescribeIpRestrictionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeKeyRegistration( input: DescribeKeyRegistrationRequest, ): Effect.Effect< DescribeKeyRegistrationResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; describeNamespace( input: DescribeNamespaceRequest, ): Effect.Effect< DescribeNamespaceResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; describeQPersonalizationConfiguration( input: DescribeQPersonalizationConfigurationRequest, ): Effect.Effect< DescribeQPersonalizationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeQuickSightQSearchConfiguration( input: DescribeQuickSightQSearchConfigurationRequest, ): Effect.Effect< DescribeQuickSightQSearchConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeRefreshSchedule( input: DescribeRefreshScheduleRequest, ): Effect.Effect< DescribeRefreshScheduleResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeRoleCustomPermission( input: DescribeRoleCustomPermissionRequest, ): Effect.Effect< DescribeRoleCustomPermissionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; describeTemplate( input: DescribeTemplateRequest, ): Effect.Effect< DescribeTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeTemplateAlias( input: DescribeTemplateAliasRequest, ): Effect.Effect< DescribeTemplateAliasResponse, - | InternalFailureException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeTemplateDefinition( input: DescribeTemplateDefinitionRequest, ): Effect.Effect< DescribeTemplateDefinitionResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeTemplatePermissions( input: DescribeTemplatePermissionsRequest, ): Effect.Effect< DescribeTemplatePermissionsResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeTheme( input: DescribeThemeRequest, ): Effect.Effect< DescribeThemeResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeThemeAlias( input: DescribeThemeAliasRequest, ): Effect.Effect< DescribeThemeAliasResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeThemePermissions( input: DescribeThemePermissionsRequest, ): Effect.Effect< DescribeThemePermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; describeTopic( input: DescribeTopicRequest, ): Effect.Effect< DescribeTopicResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeTopicPermissions( - input: DescribeTopicPermissionsRequest, - ): Effect.Effect< - DescribeTopicPermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + input: DescribeTopicPermissionsRequest, + ): Effect.Effect< + DescribeTopicPermissionsResponse, + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeTopicRefresh( input: DescribeTopicRefreshRequest, ): Effect.Effect< DescribeTopicRefreshResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeTopicRefreshSchedule( input: DescribeTopicRefreshScheduleRequest, ): Effect.Effect< DescribeTopicRefreshScheduleResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeUser( input: DescribeUserRequest, ): Effect.Effect< DescribeUserResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; describeVPCConnection( input: DescribeVPCConnectionRequest, ): Effect.Effect< DescribeVPCConnectionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; generateEmbedUrlForAnonymousUser( input: GenerateEmbedUrlForAnonymousUserRequest, ): Effect.Effect< GenerateEmbedUrlForAnonymousUserResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | SessionLifetimeInMinutesInvalidException - | ThrottlingException - | UnsupportedPricingPlanException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | SessionLifetimeInMinutesInvalidException | ThrottlingException | UnsupportedPricingPlanException | UnsupportedUserEditionException | CommonAwsError >; generateEmbedUrlForRegisteredUser( input: GenerateEmbedUrlForRegisteredUserRequest, ): Effect.Effect< GenerateEmbedUrlForRegisteredUserResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | QuickSightUserNotFoundException - | ResourceNotFoundException - | SessionLifetimeInMinutesInvalidException - | ThrottlingException - | UnsupportedPricingPlanException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | QuickSightUserNotFoundException | ResourceNotFoundException | SessionLifetimeInMinutesInvalidException | ThrottlingException | UnsupportedPricingPlanException | UnsupportedUserEditionException | CommonAwsError >; generateEmbedUrlForRegisteredUserWithIdentity( input: GenerateEmbedUrlForRegisteredUserWithIdentityRequest, ): Effect.Effect< GenerateEmbedUrlForRegisteredUserWithIdentityResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | QuickSightUserNotFoundException - | ResourceNotFoundException - | SessionLifetimeInMinutesInvalidException - | ThrottlingException - | UnsupportedPricingPlanException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | QuickSightUserNotFoundException | ResourceNotFoundException | SessionLifetimeInMinutesInvalidException | ThrottlingException | UnsupportedPricingPlanException | UnsupportedUserEditionException | CommonAwsError >; getDashboardEmbedUrl( input: GetDashboardEmbedUrlRequest, ): Effect.Effect< GetDashboardEmbedUrlResponse, - | AccessDeniedException - | DomainNotWhitelistedException - | IdentityTypeNotSupportedException - | InternalFailureException - | InvalidParameterValueException - | QuickSightUserNotFoundException - | ResourceExistsException - | ResourceNotFoundException - | SessionLifetimeInMinutesInvalidException - | ThrottlingException - | UnsupportedPricingPlanException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | DomainNotWhitelistedException | IdentityTypeNotSupportedException | InternalFailureException | InvalidParameterValueException | QuickSightUserNotFoundException | ResourceExistsException | ResourceNotFoundException | SessionLifetimeInMinutesInvalidException | ThrottlingException | UnsupportedPricingPlanException | UnsupportedUserEditionException | CommonAwsError >; getFlowMetadata( input: GetFlowMetadataInput, ): Effect.Effect< GetFlowMetadataOutput, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; getFlowPermissions( input: GetFlowPermissionsInput, ): Effect.Effect< GetFlowPermissionsOutput, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; getSessionEmbedUrl( input: GetSessionEmbedUrlRequest, ): Effect.Effect< GetSessionEmbedUrlResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | QuickSightUserNotFoundException - | ResourceExistsException - | ResourceNotFoundException - | SessionLifetimeInMinutesInvalidException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | QuickSightUserNotFoundException | ResourceExistsException | ResourceNotFoundException | SessionLifetimeInMinutesInvalidException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listActionConnectors( input: ListActionConnectorsRequest, ): Effect.Effect< ListActionConnectorsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; listAnalyses( input: ListAnalysesRequest, ): Effect.Effect< ListAnalysesResponse, - | InternalFailureException - | InvalidNextTokenException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidNextTokenException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listAssetBundleExportJobs( input: ListAssetBundleExportJobsRequest, ): Effect.Effect< ListAssetBundleExportJobsResponse, - | AccessDeniedException - | InvalidNextTokenException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InvalidNextTokenException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listAssetBundleImportJobs( input: ListAssetBundleImportJobsRequest, ): Effect.Effect< ListAssetBundleImportJobsResponse, - | AccessDeniedException - | InvalidNextTokenException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InvalidNextTokenException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listBrands( input: ListBrandsRequest, ): Effect.Effect< ListBrandsResponse, - | AccessDeniedException - | InternalServerException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidRequestException | ThrottlingException | CommonAwsError >; listCustomPermissions( input: ListCustomPermissionsRequest, ): Effect.Effect< ListCustomPermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; listDashboards( input: ListDashboardsRequest, ): Effect.Effect< ListDashboardsResponse, - | InternalFailureException - | InvalidNextTokenException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidNextTokenException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listDashboardVersions( input: ListDashboardVersionsRequest, ): Effect.Effect< ListDashboardVersionsResponse, - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listDataSets( input: ListDataSetsRequest, ): Effect.Effect< ListDataSetsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; listDataSources( input: ListDataSourcesRequest, ): Effect.Effect< ListDataSourcesResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; listFlows( input: ListFlowsInput, ): Effect.Effect< ListFlowsOutput, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; listFolderMembers( input: ListFolderMembersRequest, ): Effect.Effect< ListFolderMembersResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listFolders( input: ListFoldersRequest, ): Effect.Effect< ListFoldersResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listFoldersForResource( input: ListFoldersForResourceRequest, ): Effect.Effect< ListFoldersForResourceResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listGroupMemberships( input: ListGroupMembershipsRequest, ): Effect.Effect< ListGroupMembershipsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; listGroups( input: ListGroupsRequest, ): Effect.Effect< ListGroupsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; listIAMPolicyAssignments( input: ListIAMPolicyAssignmentsRequest, ): Effect.Effect< ListIAMPolicyAssignmentsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listIAMPolicyAssignmentsForUser( input: ListIAMPolicyAssignmentsForUserRequest, ): Effect.Effect< ListIAMPolicyAssignmentsForUserResponse, - | AccessDeniedException - | ConcurrentUpdatingException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentUpdatingException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listIdentityPropagationConfigs( input: ListIdentityPropagationConfigsRequest, ): Effect.Effect< ListIdentityPropagationConfigsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listIngestions( input: ListIngestionsRequest, ): Effect.Effect< ListIngestionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listNamespaces( input: ListNamespacesRequest, ): Effect.Effect< ListNamespacesResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; listRefreshSchedules( input: ListRefreshSchedulesRequest, ): Effect.Effect< ListRefreshSchedulesResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listRoleMemberships( input: ListRoleMembershipsRequest, ): Effect.Effect< ListRoleMembershipsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTemplateAliases( input: ListTemplateAliasesRequest, ): Effect.Effect< ListTemplateAliasesResponse, - | InternalFailureException - | InvalidNextTokenException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidNextTokenException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listTemplates( input: ListTemplatesRequest, ): Effect.Effect< ListTemplatesResponse, - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listTemplateVersions( input: ListTemplateVersionsRequest, ): Effect.Effect< ListTemplateVersionsResponse, - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; - listThemeAliases( - input: ListThemeAliasesRequest, - ): Effect.Effect< - ListThemeAliasesResponse, - | ConflictException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + listThemeAliases( + input: ListThemeAliasesRequest, + ): Effect.Effect< + ListThemeAliasesResponse, + ConflictException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listThemes( input: ListThemesRequest, ): Effect.Effect< ListThemesResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listThemeVersions( input: ListThemeVersionsRequest, ): Effect.Effect< ListThemeVersionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; listTopicRefreshSchedules( input: ListTopicRefreshSchedulesRequest, ): Effect.Effect< ListTopicRefreshSchedulesResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTopicReviewedAnswers( input: ListTopicReviewedAnswersRequest, ): Effect.Effect< ListTopicReviewedAnswersResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTopics( input: ListTopicsRequest, ): Effect.Effect< ListTopicsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; listUserGroups( input: ListUserGroupsRequest, ): Effect.Effect< ListUserGroupsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; listUsers( input: ListUsersRequest, ): Effect.Effect< ListUsersResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; listVPCConnections( input: ListVPCConnectionsRequest, ): Effect.Effect< ListVPCConnectionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; predictQAResults( input: PredictQAResultsRequest, ): Effect.Effect< PredictQAResultsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; putDataSetRefreshProperties( input: PutDataSetRefreshPropertiesRequest, ): Effect.Effect< PutDataSetRefreshPropertiesResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; registerUser( input: RegisterUserRequest, ): Effect.Effect< RegisterUserResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; restoreAnalysis( input: RestoreAnalysisRequest, ): Effect.Effect< RestoreAnalysisResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; searchActionConnectors( input: SearchActionConnectorsRequest, ): Effect.Effect< SearchActionConnectorsResponse, - | AccessDeniedException - | InvalidNextTokenException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InvalidNextTokenException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; searchAnalyses( input: SearchAnalysesRequest, ): Effect.Effect< SearchAnalysesResponse, - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; searchDashboards( input: SearchDashboardsRequest, ): Effect.Effect< SearchDashboardsResponse, - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; searchDataSets( input: SearchDataSetsRequest, ): Effect.Effect< SearchDataSetsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchDataSources( input: SearchDataSourcesRequest, ): Effect.Effect< SearchDataSourcesResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchFlows( input: SearchFlowsInput, ): Effect.Effect< SearchFlowsOutput, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; searchFolders( input: SearchFoldersRequest, ): Effect.Effect< SearchFoldersResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; searchGroups( input: SearchGroupsRequest, ): Effect.Effect< SearchGroupsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; searchTopics( input: SearchTopicsRequest, ): Effect.Effect< SearchTopicsResponse, - | InternalFailureException - | InvalidNextTokenException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + InternalFailureException | InvalidNextTokenException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; startAssetBundleExportJob( input: StartAssetBundleExportJobRequest, ): Effect.Effect< StartAssetBundleExportJobResponse, - | AccessDeniedException - | ConflictException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; startAssetBundleImportJob( input: StartAssetBundleImportJobRequest, ): Effect.Effect< StartAssetBundleImportJobResponse, - | AccessDeniedException - | ConflictException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; startDashboardSnapshotJob( input: StartDashboardSnapshotJobRequest, ): Effect.Effect< StartDashboardSnapshotJobResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedPricingPlanException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedPricingPlanException | UnsupportedUserEditionException | CommonAwsError >; startDashboardSnapshotJobSchedule( input: StartDashboardSnapshotJobScheduleRequest, ): Effect.Effect< StartDashboardSnapshotJobScheduleResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAccountCustomization( input: UpdateAccountCustomizationRequest, ): Effect.Effect< UpdateAccountCustomizationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; updateAccountCustomPermission( input: UpdateAccountCustomPermissionRequest, ): Effect.Effect< UpdateAccountCustomPermissionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateAccountSettings( input: UpdateAccountSettingsRequest, ): Effect.Effect< UpdateAccountSettingsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; updateActionConnector( input: UpdateActionConnectorRequest, ): Effect.Effect< UpdateActionConnectorResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateActionConnectorPermissions( input: UpdateActionConnectorPermissionsRequest, ): Effect.Effect< UpdateActionConnectorPermissionsResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateAnalysis( input: UpdateAnalysisRequest, ): Effect.Effect< UpdateAnalysisResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateAnalysisPermissions( input: UpdateAnalysisPermissionsRequest, ): Effect.Effect< UpdateAnalysisPermissionsResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateApplicationWithTokenExchangeGrant( input: UpdateApplicationWithTokenExchangeGrantRequest, ): Effect.Effect< UpdateApplicationWithTokenExchangeGrantResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateBrand( input: UpdateBrandRequest, ): Effect.Effect< UpdateBrandResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateBrandAssignment( input: UpdateBrandAssignmentRequest, ): Effect.Effect< UpdateBrandAssignmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; - updateBrandPublishedVersion( - input: UpdateBrandPublishedVersionRequest, - ): Effect.Effect< - UpdateBrandPublishedVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + updateBrandPublishedVersion( + input: UpdateBrandPublishedVersionRequest, + ): Effect.Effect< + UpdateBrandPublishedVersionResponse, + AccessDeniedException | ConflictException | InternalServerException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateCustomPermissions( input: UpdateCustomPermissionsRequest, ): Effect.Effect< UpdateCustomPermissionsResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; updateDashboard( input: UpdateDashboardRequest, ): Effect.Effect< UpdateDashboardResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateDashboardLinks( input: UpdateDashboardLinksRequest, ): Effect.Effect< UpdateDashboardLinksResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateDashboardPermissions( input: UpdateDashboardPermissionsRequest, ): Effect.Effect< UpdateDashboardPermissionsResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateDashboardPublishedVersion( input: UpdateDashboardPublishedVersionRequest, ): Effect.Effect< UpdateDashboardPublishedVersionResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateDashboardsQAConfiguration( input: UpdateDashboardsQAConfigurationRequest, ): Effect.Effect< UpdateDashboardsQAConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDataSet( input: UpdateDataSetRequest, ): Effect.Effect< UpdateDataSetResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateDataSetPermissions( input: UpdateDataSetPermissionsRequest, ): Effect.Effect< UpdateDataSetPermissionsResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDataSource( input: UpdateDataSourceRequest, ): Effect.Effect< UpdateDataSourceResponse, - | AccessDeniedException - | ConflictException - | CustomerManagedKeyUnavailableException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | CustomerManagedKeyUnavailableException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDataSourcePermissions( input: UpdateDataSourcePermissionsRequest, ): Effect.Effect< UpdateDataSourcePermissionsResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDefaultQBusinessApplication( input: UpdateDefaultQBusinessApplicationRequest, ): Effect.Effect< UpdateDefaultQBusinessApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateFlowPermissions( input: UpdateFlowPermissionsInput, ): Effect.Effect< UpdateFlowPermissionsOutput, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; updateFolder( input: UpdateFolderRequest, ): Effect.Effect< UpdateFolderResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateFolderPermissions( input: UpdateFolderPermissionsRequest, ): Effect.Effect< UpdateFolderPermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateGroup( input: UpdateGroupRequest, ): Effect.Effect< UpdateGroupResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; updateIAMPolicyAssignment( input: UpdateIAMPolicyAssignmentRequest, ): Effect.Effect< UpdateIAMPolicyAssignmentResponse, - | AccessDeniedException - | ConcurrentUpdatingException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConcurrentUpdatingException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateIdentityPropagationConfig( input: UpdateIdentityPropagationConfigRequest, ): Effect.Effect< UpdateIdentityPropagationConfigResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateIpRestriction( input: UpdateIpRestrictionRequest, ): Effect.Effect< UpdateIpRestrictionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateKeyRegistration( input: UpdateKeyRegistrationRequest, ): Effect.Effect< UpdateKeyRegistrationResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ThrottlingException | CommonAwsError >; updatePublicSharingSettings( input: UpdatePublicSharingSettingsRequest, ): Effect.Effect< UpdatePublicSharingSettingsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedPricingPlanException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | UnsupportedPricingPlanException | CommonAwsError >; updateQPersonalizationConfiguration( input: UpdateQPersonalizationConfigurationRequest, ): Effect.Effect< UpdateQPersonalizationConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; updateQuickSightQSearchConfiguration( input: UpdateQuickSightQSearchConfigurationRequest, ): Effect.Effect< UpdateQuickSightQSearchConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateRefreshSchedule( input: UpdateRefreshScheduleRequest, ): Effect.Effect< UpdateRefreshScheduleResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | PreconditionNotMetException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | PreconditionNotMetException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateRoleCustomPermission( input: UpdateRoleCustomPermissionRequest, ): Effect.Effect< UpdateRoleCustomPermissionResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; updateSPICECapacityConfiguration( input: UpdateSPICECapacityConfigurationRequest, ): Effect.Effect< UpdateSPICECapacityConfigurationResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateTemplate( input: UpdateTemplateRequest, ): Effect.Effect< UpdateTemplateResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateTemplateAlias( input: UpdateTemplateAliasRequest, ): Effect.Effect< UpdateTemplateAliasResponse, - | ConflictException - | InternalFailureException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateTemplatePermissions( input: UpdateTemplatePermissionsRequest, ): Effect.Effect< UpdateTemplatePermissionsResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateTheme( input: UpdateThemeRequest, ): Effect.Effect< UpdateThemeResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateThemeAlias( input: UpdateThemeAliasRequest, ): Effect.Effect< UpdateThemeAliasResponse, - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + ConflictException | InternalFailureException | InvalidParameterValueException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateThemePermissions( input: UpdateThemePermissionsRequest, ): Effect.Effect< UpdateThemePermissionsResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateTopic( input: UpdateTopicRequest, ): Effect.Effect< UpdateTopicResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateTopicPermissions( input: UpdateTopicPermissionsRequest, ): Effect.Effect< UpdateTopicPermissionsResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; updateTopicRefreshSchedule( input: UpdateTopicRefreshScheduleRequest, ): Effect.Effect< UpdateTopicRefreshScheduleResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | AccessDeniedException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; updateUserCustomPermission( input: UpdateUserCustomPermissionRequest, ): Effect.Effect< UpdateUserCustomPermissionResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | PreconditionNotMetException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | PreconditionNotMetException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; updateVPCConnection( input: UpdateVPCConnectionRequest, ): Effect.Effect< UpdateVPCConnectionResponse, - | AccessDeniedException - | ConflictException - | InternalFailureException - | InvalidParameterValueException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | UnsupportedUserEditionException - | CommonAwsError + AccessDeniedException | ConflictException | InternalFailureException | InvalidParameterValueException | LimitExceededException | ResourceNotFoundException | ThrottlingException | UnsupportedUserEditionException | CommonAwsError >; } @@ -2923,16 +1417,8 @@ export interface ActionConnectorSearchFilter { Operator: FilterOperator; Value: string; } -export type ActionConnectorSearchFilterList = - Array; -export type ActionConnectorSearchFilterNameEnum = - | "ACTION_CONNECTOR_NAME" - | "ACTION_CONNECTOR_TYPE" - | "QUICKSIGHT_OWNER" - | "QUICKSIGHT_VIEWER_OR_OWNER" - | "DIRECT_QUICKSIGHT_SOLE_OWNER" - | "DIRECT_QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER"; +export type ActionConnectorSearchFilterList = Array; +export type ActionConnectorSearchFilterNameEnum = "ACTION_CONNECTOR_NAME" | "ACTION_CONNECTOR_TYPE" | "QUICKSIGHT_OWNER" | "QUICKSIGHT_VIEWER_OR_OWNER" | "DIRECT_QUICKSIGHT_SOLE_OWNER" | "DIRECT_QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER"; export interface ActionConnectorSummary { Arn: string; ActionConnectorId: string; @@ -2944,34 +1430,7 @@ export interface ActionConnectorSummary { Error?: ActionConnectorError; } export type ActionConnectorSummaryList = Array; -export type ActionConnectorType = - | "GENERIC_HTTP" - | "SERVICENOW_NOW_PLATFORM" - | "SALESFORCE_CRM" - | "MICROSOFT_OUTLOOK" - | "PAGERDUTY_ADVANCE" - | "JIRA_CLOUD" - | "ATLASSIAN_CONFLUENCE" - | "AMAZON_S3" - | "AMAZON_BEDROCK_AGENT_RUNTIME" - | "AMAZON_BEDROCK_RUNTIME" - | "AMAZON_BEDROCK_DATA_AUTOMATION_RUNTIME" - | "AMAZON_TEXTRACT" - | "AMAZON_COMPREHEND" - | "AMAZON_COMPREHEND_MEDICAL" - | "MICROSOFT_ONEDRIVE" - | "MICROSOFT_SHAREPOINT" - | "MICROSOFT_TEAMS" - | "SAP_BUSINESSPARTNER" - | "SAP_PRODUCTMASTERDATA" - | "SAP_PHYSICALINVENTORY" - | "SAP_BILLOFMATERIALS" - | "SAP_MATERIALSTOCK" - | "ZENDESK_SUITE" - | "SMARTSHEET" - | "SLACK" - | "ASANA" - | "BAMBOO_HR"; +export type ActionConnectorType = "GENERIC_HTTP" | "SERVICENOW_NOW_PLATFORM" | "SALESFORCE_CRM" | "MICROSOFT_OUTLOOK" | "PAGERDUTY_ADVANCE" | "JIRA_CLOUD" | "ATLASSIAN_CONFLUENCE" | "AMAZON_S3" | "AMAZON_BEDROCK_AGENT_RUNTIME" | "AMAZON_BEDROCK_RUNTIME" | "AMAZON_BEDROCK_DATA_AUTOMATION_RUNTIME" | "AMAZON_TEXTRACT" | "AMAZON_COMPREHEND" | "AMAZON_COMPREHEND_MEDICAL" | "MICROSOFT_ONEDRIVE" | "MICROSOFT_SHAREPOINT" | "MICROSOFT_TEAMS" | "SAP_BUSINESSPARTNER" | "SAP_PRODUCTMASTERDATA" | "SAP_PHYSICALINVENTORY" | "SAP_BILLOFMATERIALS" | "SAP_MATERIALSTOCK" | "ZENDESK_SUITE" | "SMARTSHEET" | "SLACK" | "ASANA" | "BAMBOO_HR"; export type ActionId = string; export type ActionIdList = Array; @@ -3020,32 +1479,12 @@ export interface AggregationSortConfiguration { SortDirection: SortDirection; AggregationFunction?: AggregationFunction; } -export type AggregationSortConfigurationList = - Array; -export type AggType = - | "SUM" - | "MIN" - | "MAX" - | "COUNT" - | "AVERAGE" - | "DISTINCT_COUNT" - | "STDEV" - | "STDEVP" - | "VAR" - | "VARP" - | "PERCENTILE" - | "MEDIAN" - | "PTD_SUM" - | "PTD_MIN" - | "PTD_MAX" - | "PTD_COUNT" - | "PTD_DISTINCT_COUNT" - | "PTD_AVERAGE" - | "COLUMN" - | "CUSTOM"; +export type AggregationSortConfigurationList = Array; +export type AggType = "SUM" | "MIN" | "MAX" | "COUNT" | "AVERAGE" | "DISTINCT_COUNT" | "STDEV" | "STDEVP" | "VAR" | "VARP" | "PERCENTILE" | "MEDIAN" | "PTD_SUM" | "PTD_MIN" | "PTD_MAX" | "PTD_COUNT" | "PTD_DISTINCT_COUNT" | "PTD_AVERAGE" | "COLUMN" | "CUSTOM"; export type AliasName = string; -export interface AllSheetsFilterScopeConfiguration {} +export interface AllSheetsFilterScopeConfiguration { +} export type AltText = string; export interface AmazonElasticsearchParameters { @@ -3096,25 +1535,8 @@ export interface AnalysisError { ViolatedEntities?: Array; } export type AnalysisErrorList = Array; -export type AnalysisErrorType = - | "ACCESS_DENIED" - | "SOURCE_NOT_FOUND" - | "DATA_SET_NOT_FOUND" - | "INTERNAL_FAILURE" - | "PARAMETER_VALUE_INCOMPATIBLE" - | "PARAMETER_TYPE_INVALID" - | "PARAMETER_NOT_FOUND" - | "COLUMN_TYPE_MISMATCH" - | "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" - | "COLUMN_REPLACEMENT_MISSING"; -export type AnalysisFilterAttribute = - | "QUICKSIGHT_USER" - | "QUICKSIGHT_VIEWER_OR_OWNER" - | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" - | "QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_SOLE_OWNER" - | "ANALYSIS_NAME"; +export type AnalysisErrorType = "ACCESS_DENIED" | "SOURCE_NOT_FOUND" | "DATA_SET_NOT_FOUND" | "INTERNAL_FAILURE" | "PARAMETER_VALUE_INCOMPATIBLE" | "PARAMETER_TYPE_INVALID" | "PARAMETER_NOT_FOUND" | "COLUMN_TYPE_MISMATCH" | "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" | "COLUMN_REPLACEMENT_MISSING"; +export type AnalysisFilterAttribute = "QUICKSIGHT_USER" | "QUICKSIGHT_VIEWER_OR_OWNER" | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" | "QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_SOLE_OWNER" | "ANALYSIS_NAME"; export type AnalysisName = string; export interface AnalysisSearchFilter { @@ -3156,14 +1578,10 @@ export interface AnonymousUserDashboardEmbeddingConfiguration { DisabledFeatures?: Array; FeatureConfigurations?: AnonymousUserDashboardFeatureConfigurations; } -export type AnonymousUserDashboardEmbeddingConfigurationDisabledFeature = - "SHARED_VIEW"; -export type AnonymousUserDashboardEmbeddingConfigurationDisabledFeatures = - Array; -export type AnonymousUserDashboardEmbeddingConfigurationEnabledFeature = - "SHARED_VIEW"; -export type AnonymousUserDashboardEmbeddingConfigurationEnabledFeatures = - Array; +export type AnonymousUserDashboardEmbeddingConfigurationDisabledFeature = "SHARED_VIEW"; +export type AnonymousUserDashboardEmbeddingConfigurationDisabledFeatures = Array; +export type AnonymousUserDashboardEmbeddingConfigurationEnabledFeature = "SHARED_VIEW"; +export type AnonymousUserDashboardEmbeddingConfigurationEnabledFeatures = Array; export interface AnonymousUserDashboardFeatureConfigurations { SharedView?: SharedViewConfigurations; } @@ -3185,8 +1603,7 @@ export interface AnonymousUserQSearchBarEmbeddingConfiguration { export interface AnonymousUserSnapshotJobResult { FileGroups?: Array; } -export type AnonymousUserSnapshotJobResultList = - Array; +export type AnonymousUserSnapshotJobResultList = Array; export type AnswerId = string; export type AnswerIds = Array; @@ -3240,58 +1657,30 @@ export interface AssetBundleExportJobAnalysisOverrideProperties { Arn: string; Properties: Array; } -export type AssetBundleExportJobAnalysisOverridePropertiesList = - Array; +export type AssetBundleExportJobAnalysisOverridePropertiesList = Array; export type AssetBundleExportJobAnalysisPropertyToOverride = "Name"; -export type AssetBundleExportJobAnalysisPropertyToOverrideList = - Array; +export type AssetBundleExportJobAnalysisPropertyToOverrideList = Array; export interface AssetBundleExportJobDashboardOverrideProperties { Arn: string; Properties: Array; } -export type AssetBundleExportJobDashboardOverridePropertiesList = - Array; +export type AssetBundleExportJobDashboardOverridePropertiesList = Array; export type AssetBundleExportJobDashboardPropertyToOverride = "Name"; -export type AssetBundleExportJobDashboardPropertyToOverrideList = - Array; +export type AssetBundleExportJobDashboardPropertyToOverrideList = Array; export interface AssetBundleExportJobDataSetOverrideProperties { Arn: string; Properties: Array; } -export type AssetBundleExportJobDataSetOverridePropertiesList = - Array; -export type AssetBundleExportJobDataSetPropertyToOverride = - | "Name" - | "RefreshFailureEmailAlertStatus"; -export type AssetBundleExportJobDataSetPropertyToOverrideList = - Array; +export type AssetBundleExportJobDataSetOverridePropertiesList = Array; +export type AssetBundleExportJobDataSetPropertyToOverride = "Name" | "RefreshFailureEmailAlertStatus"; +export type AssetBundleExportJobDataSetPropertyToOverrideList = Array; export interface AssetBundleExportJobDataSourceOverrideProperties { Arn: string; Properties: Array; } -export type AssetBundleExportJobDataSourceOverridePropertiesList = - Array; -export type AssetBundleExportJobDataSourcePropertyToOverride = - | "Name" - | "DisableSsl" - | "SecretArn" - | "Username" - | "Password" - | "Domain" - | "WorkGroup" - | "Host" - | "Port" - | "Database" - | "DataSetName" - | "Catalog" - | "InstanceId" - | "ClusterId" - | "ManifestFileLocation" - | "Warehouse" - | "RoleArn" - | "ProductType"; -export type AssetBundleExportJobDataSourcePropertyToOverrideList = - Array; +export type AssetBundleExportJobDataSourceOverridePropertiesList = Array; +export type AssetBundleExportJobDataSourcePropertyToOverride = "Name" | "DisableSsl" | "SecretArn" | "Username" | "Password" | "Domain" | "WorkGroup" | "Host" | "Port" | "Database" | "DataSetName" | "Catalog" | "InstanceId" | "ClusterId" | "ManifestFileLocation" | "Warehouse" | "RoleArn" | "ProductType"; +export type AssetBundleExportJobDataSourcePropertyToOverrideList = Array; export interface AssetBundleExportJobError { Arn?: string; Type?: string; @@ -3302,31 +1691,20 @@ export interface AssetBundleExportJobFolderOverrideProperties { Arn: string; Properties: Array; } -export type AssetBundleExportJobFolderOverridePropertiesList = - Array; -export type AssetBundleExportJobFolderPropertyToOverride = - | "Name" - | "ParentFolderArn"; -export type AssetBundleExportJobFolderPropertyToOverrideList = - Array; +export type AssetBundleExportJobFolderOverridePropertiesList = Array; +export type AssetBundleExportJobFolderPropertyToOverride = "Name" | "ParentFolderArn"; +export type AssetBundleExportJobFolderPropertyToOverrideList = Array; export interface AssetBundleExportJobRefreshScheduleOverrideProperties { Arn: string; Properties: Array; } -export type AssetBundleExportJobRefreshScheduleOverridePropertiesList = - Array; -export type AssetBundleExportJobRefreshSchedulePropertyToOverride = - "StartAfterDateTime"; -export type AssetBundleExportJobRefreshSchedulePropertyToOverrideList = - Array; +export type AssetBundleExportJobRefreshScheduleOverridePropertiesList = Array; +export type AssetBundleExportJobRefreshSchedulePropertyToOverride = "StartAfterDateTime"; +export type AssetBundleExportJobRefreshSchedulePropertyToOverrideList = Array; export interface AssetBundleExportJobResourceIdOverrideConfiguration { PrefixForAllResources?: boolean; } -export type AssetBundleExportJobStatus = - | "QUEUED_FOR_IMMEDIATE_EXECUTION" - | "IN_PROGRESS" - | "SUCCESSFUL" - | "FAILED"; +export type AssetBundleExportJobStatus = "QUEUED_FOR_IMMEDIATE_EXECUTION" | "IN_PROGRESS" | "SUCCESSFUL" | "FAILED"; export interface AssetBundleExportJobSummary { JobStatus?: AssetBundleExportJobStatus; Arn?: string; @@ -3337,17 +1715,14 @@ export interface AssetBundleExportJobSummary { IncludePermissions?: boolean; IncludeTags?: boolean; } -export type AssetBundleExportJobSummaryList = - Array; +export type AssetBundleExportJobSummaryList = Array; export interface AssetBundleExportJobThemeOverrideProperties { Arn: string; Properties: Array; } -export type AssetBundleExportJobThemeOverridePropertiesList = - Array; +export type AssetBundleExportJobThemeOverridePropertiesList = Array; export type AssetBundleExportJobThemePropertyToOverride = "Name"; -export type AssetBundleExportJobThemePropertyToOverrideList = - Array; +export type AssetBundleExportJobThemePropertyToOverrideList = Array; export interface AssetBundleExportJobValidationStrategy { StrictModeForAllResources?: boolean; } @@ -3355,20 +1730,14 @@ export interface AssetBundleExportJobVPCConnectionOverrideProperties { Arn: string; Properties: Array; } -export type AssetBundleExportJobVPCConnectionOverridePropertiesList = - Array; -export type AssetBundleExportJobVPCConnectionPropertyToOverride = - | "Name" - | "DnsResolvers" - | "RoleArn"; -export type AssetBundleExportJobVPCConnectionPropertyToOverrideList = - Array; +export type AssetBundleExportJobVPCConnectionOverridePropertiesList = Array; +export type AssetBundleExportJobVPCConnectionPropertyToOverride = "Name" | "DnsResolvers" | "RoleArn"; +export type AssetBundleExportJobVPCConnectionPropertyToOverrideList = Array; export interface AssetBundleExportJobWarning { Arn?: string; Message?: string; } -export type AssetBundleExportJobWarningList = - Array; +export type AssetBundleExportJobWarningList = Array; export type AssetBundleImportBodyBlob = Uint8Array | string; export type AssetBundleImportFailureAction = "DO_NOTHING" | "ROLLBACK"; @@ -3376,58 +1745,49 @@ export interface AssetBundleImportJobAnalysisOverrideParameters { AnalysisId: string; Name?: string; } -export type AssetBundleImportJobAnalysisOverrideParametersList = - Array; +export type AssetBundleImportJobAnalysisOverrideParametersList = Array; export interface AssetBundleImportJobAnalysisOverridePermissions { AnalysisIds: Array; Permissions: AssetBundleResourcePermissions; } -export type AssetBundleImportJobAnalysisOverridePermissionsList = - Array; +export type AssetBundleImportJobAnalysisOverridePermissionsList = Array; export interface AssetBundleImportJobAnalysisOverrideTags { AnalysisIds: Array; Tags: Array; } -export type AssetBundleImportJobAnalysisOverrideTagsList = - Array; +export type AssetBundleImportJobAnalysisOverrideTagsList = Array; export interface AssetBundleImportJobDashboardOverrideParameters { DashboardId: string; Name?: string; } -export type AssetBundleImportJobDashboardOverrideParametersList = - Array; +export type AssetBundleImportJobDashboardOverrideParametersList = Array; export interface AssetBundleImportJobDashboardOverridePermissions { DashboardIds: Array; Permissions?: AssetBundleResourcePermissions; LinkSharingConfiguration?: AssetBundleResourceLinkSharingConfiguration; } -export type AssetBundleImportJobDashboardOverridePermissionsList = - Array; +export type AssetBundleImportJobDashboardOverridePermissionsList = Array; export interface AssetBundleImportJobDashboardOverrideTags { DashboardIds: Array; Tags: Array; } -export type AssetBundleImportJobDashboardOverrideTagsList = - Array; +export type AssetBundleImportJobDashboardOverrideTagsList = Array; export interface AssetBundleImportJobDataSetOverrideParameters { DataSetId: string; Name?: string; DataSetRefreshProperties?: DataSetRefreshProperties; } -export type AssetBundleImportJobDataSetOverrideParametersList = - Array; +export type AssetBundleImportJobDataSetOverrideParametersList = Array; export interface AssetBundleImportJobDataSetOverridePermissions { DataSetIds: Array; Permissions: AssetBundleResourcePermissions; } -export type AssetBundleImportJobDataSetOverridePermissionsList = - Array; +export type AssetBundleImportJobDataSetOverridePermissionsList = Array; export interface AssetBundleImportJobDataSetOverrideTags { DataSetIds: Array; Tags: Array; } -export type AssetBundleImportJobDataSetOverrideTagsList = - Array; +export type AssetBundleImportJobDataSetOverrideTagsList = Array; export interface AssetBundleImportJobDataSourceCredentialPair { Username: string; Password: string; @@ -3444,20 +1804,17 @@ export interface AssetBundleImportJobDataSourceOverrideParameters { SslProperties?: SslProperties; Credentials?: AssetBundleImportJobDataSourceCredentials; } -export type AssetBundleImportJobDataSourceOverrideParametersList = - Array; +export type AssetBundleImportJobDataSourceOverrideParametersList = Array; export interface AssetBundleImportJobDataSourceOverridePermissions { DataSourceIds: Array; Permissions: AssetBundleResourcePermissions; } -export type AssetBundleImportJobDataSourceOverridePermissionsList = - Array; +export type AssetBundleImportJobDataSourceOverridePermissionsList = Array; export interface AssetBundleImportJobDataSourceOverrideTags { DataSourceIds: Array; Tags: Array; } -export type AssetBundleImportJobDataSourceOverrideTagsList = - Array; +export type AssetBundleImportJobDataSourceOverrideTagsList = Array; export interface AssetBundleImportJobError { Arn?: string; Type?: string; @@ -3469,20 +1826,17 @@ export interface AssetBundleImportJobFolderOverrideParameters { Name?: string; ParentFolderArn?: string; } -export type AssetBundleImportJobFolderOverrideParametersList = - Array; +export type AssetBundleImportJobFolderOverrideParametersList = Array; export interface AssetBundleImportJobFolderOverridePermissions { FolderIds: Array; Permissions?: AssetBundleResourcePermissions; } -export type AssetBundleImportJobFolderOverridePermissionsList = - Array; +export type AssetBundleImportJobFolderOverridePermissionsList = Array; export interface AssetBundleImportJobFolderOverrideTags { FolderIds: Array; Tags: Array; } -export type AssetBundleImportJobFolderOverrideTagsList = - Array; +export type AssetBundleImportJobFolderOverrideTagsList = Array; export interface AssetBundleImportJobOverrideParameters { ResourceIdOverrideConfiguration?: AssetBundleImportJobResourceIdOverrideConfiguration; VPCConnections?: Array; @@ -3519,19 +1873,11 @@ export interface AssetBundleImportJobRefreshScheduleOverrideParameters { ScheduleId: string; StartAfterDateTime?: Date | string; } -export type AssetBundleImportJobRefreshScheduleOverrideParametersList = - Array; +export type AssetBundleImportJobRefreshScheduleOverrideParametersList = Array; export interface AssetBundleImportJobResourceIdOverrideConfiguration { PrefixForAllResources?: string; } -export type AssetBundleImportJobStatus = - | "QUEUED_FOR_IMMEDIATE_EXECUTION" - | "IN_PROGRESS" - | "SUCCESSFUL" - | "FAILED" - | "FAILED_ROLLBACK_IN_PROGRESS" - | "FAILED_ROLLBACK_COMPLETED" - | "FAILED_ROLLBACK_ERROR"; +export type AssetBundleImportJobStatus = "QUEUED_FOR_IMMEDIATE_EXECUTION" | "IN_PROGRESS" | "SUCCESSFUL" | "FAILED" | "FAILED_ROLLBACK_IN_PROGRESS" | "FAILED_ROLLBACK_COMPLETED" | "FAILED_ROLLBACK_ERROR"; export interface AssetBundleImportJobSummary { JobStatus?: AssetBundleImportJobStatus; Arn?: string; @@ -3539,26 +1885,22 @@ export interface AssetBundleImportJobSummary { AssetBundleImportJobId?: string; FailureAction?: AssetBundleImportFailureAction; } -export type AssetBundleImportJobSummaryList = - Array; +export type AssetBundleImportJobSummaryList = Array; export interface AssetBundleImportJobThemeOverrideParameters { ThemeId: string; Name?: string; } -export type AssetBundleImportJobThemeOverrideParametersList = - Array; +export type AssetBundleImportJobThemeOverrideParametersList = Array; export interface AssetBundleImportJobThemeOverridePermissions { ThemeIds: Array; Permissions: AssetBundleResourcePermissions; } -export type AssetBundleImportJobThemeOverridePermissionsList = - Array; +export type AssetBundleImportJobThemeOverridePermissionsList = Array; export interface AssetBundleImportJobThemeOverrideTags { ThemeIds: Array; Tags: Array; } -export type AssetBundleImportJobThemeOverrideTagsList = - Array; +export type AssetBundleImportJobThemeOverrideTagsList = Array; export interface AssetBundleImportJobVPCConnectionOverrideParameters { VPCConnectionId: string; Name?: string; @@ -3567,20 +1909,17 @@ export interface AssetBundleImportJobVPCConnectionOverrideParameters { DnsResolvers?: Array; RoleArn?: string; } -export type AssetBundleImportJobVPCConnectionOverrideParametersList = - Array; +export type AssetBundleImportJobVPCConnectionOverrideParametersList = Array; export interface AssetBundleImportJobVPCConnectionOverrideTags { VPCConnectionIds: Array; Tags: Array; } -export type AssetBundleImportJobVPCConnectionOverrideTagsList = - Array; +export type AssetBundleImportJobVPCConnectionOverrideTagsList = Array; export interface AssetBundleImportJobWarning { Arn?: string; Message?: string; } -export type AssetBundleImportJobWarningList = - Array; +export type AssetBundleImportJobWarningList = Array; export interface AssetBundleImportSource { Body?: Uint8Array | string | Stream.Stream; S3Uri?: string; @@ -3641,39 +1980,14 @@ interface _AuthenticationMetadata { IamConnectionMetadata?: IAMConnectionMetadata; } -export type AuthenticationMetadata = - | (_AuthenticationMetadata & { - AuthorizationCodeGrantMetadata: AuthorizationCodeGrantMetadata; - }) - | (_AuthenticationMetadata & { - ClientCredentialsGrantMetadata: ClientCredentialsGrantMetadata; - }) - | (_AuthenticationMetadata & { - BasicAuthConnectionMetadata: BasicAuthConnectionMetadata; - }) - | (_AuthenticationMetadata & { - ApiKeyConnectionMetadata: APIKeyConnectionMetadata; - }) - | (_AuthenticationMetadata & { - NoneConnectionMetadata: NoneConnectionMetadata; - }) - | (_AuthenticationMetadata & { - IamConnectionMetadata: IAMConnectionMetadata; - }); -export type AuthenticationMethodOption = - | "IAM_AND_QUICKSIGHT" - | "IAM_ONLY" - | "ACTIVE_DIRECTORY" - | "IAM_IDENTITY_CENTER"; +export type AuthenticationMetadata = (_AuthenticationMetadata & { AuthorizationCodeGrantMetadata: AuthorizationCodeGrantMetadata }) | (_AuthenticationMetadata & { ClientCredentialsGrantMetadata: ClientCredentialsGrantMetadata }) | (_AuthenticationMetadata & { BasicAuthConnectionMetadata: BasicAuthConnectionMetadata }) | (_AuthenticationMetadata & { ApiKeyConnectionMetadata: APIKeyConnectionMetadata }) | (_AuthenticationMetadata & { NoneConnectionMetadata: NoneConnectionMetadata }) | (_AuthenticationMetadata & { IamConnectionMetadata: IAMConnectionMetadata }); +export type AuthenticationMethodOption = "IAM_AND_QUICKSIGHT" | "IAM_ONLY" | "ACTIVE_DIRECTORY" | "IAM_IDENTITY_CENTER"; export type AuthenticationType = "PASSWORD" | "TOKEN" | "X509"; interface _AuthorizationCodeGrantCredentialsDetails { AuthorizationCodeGrantDetails?: AuthorizationCodeGrantDetails; } -export type AuthorizationCodeGrantCredentialsDetails = - _AuthorizationCodeGrantCredentialsDetails & { - AuthorizationCodeGrantDetails: AuthorizationCodeGrantDetails; - }; +export type AuthorizationCodeGrantCredentialsDetails = (_AuthorizationCodeGrantCredentialsDetails & { AuthorizationCodeGrantDetails: AuthorizationCodeGrantDetails }); export type AuthorizationCodeGrantCredentialsSource = "PLAIN_CREDENTIALS"; export interface AuthorizationCodeGrantDetails { ClientId: string; @@ -3693,19 +2007,7 @@ export interface AuthorizedTargetsByService { } export type AuthorizedTargetsByServices = Array; export type AuthorizedTargetsList = Array; -export type AuthorSpecifiedAggregation = - | "COUNT" - | "DISTINCT_COUNT" - | "MIN" - | "MAX" - | "MEDIAN" - | "SUM" - | "AVERAGE" - | "STDEV" - | "STDEVP" - | "VAR" - | "VARP" - | "PERCENTILE"; +export type AuthorSpecifiedAggregation = "COUNT" | "DISTINCT_COUNT" | "MIN" | "MAX" | "MEDIAN" | "SUM" | "AVERAGE" | "STDEV" | "STDEVP" | "VAR" | "VARP" | "PERCENTILE"; export type AuthorSpecifiedAggregations = Array; export type AwsAccountId = string; @@ -3719,7 +2021,8 @@ export interface AxisDataOptions { NumericAxisOptions?: NumericAxisOptions; DateAxisOptions?: DateAxisOptions; } -export interface AxisDisplayDataDrivenRange {} +export interface AxisDisplayDataDrivenRange { +} export interface AxisDisplayMinMaxRange { Minimum?: number; Maximum?: number; @@ -3808,11 +2111,7 @@ export interface BarChartVisual { VisualContentAltText?: string; } export type BarsArrangement = "CLUSTERED" | "STACKED" | "STACKED_PERCENT"; -export type BaseMapStyleType = - | "LIGHT_GRAY" - | "DARK_GRAY" - | "STREET" - | "IMAGERY"; +export type BaseMapStyleType = "LIGHT_GRAY" | "DARK_GRAY" | "STREET" | "IMAGERY"; export interface BasicAuthConnectionMetadata { BaseEndpoint: string; Username: string; @@ -3879,8 +2178,7 @@ export interface BodySectionDynamicCategoryDimensionConfiguration { } export type BodySectionDynamicDimensionLimit = number; -export type BodySectionDynamicDimensionSortConfigurationList = - Array; +export type BodySectionDynamicDimensionSortConfigurationList = Array; export interface BodySectionDynamicNumericDimensionConfiguration { Column: ColumnIdentifier; Limit?: number; @@ -3895,8 +2193,7 @@ export interface BodySectionRepeatDimensionConfiguration { DynamicCategoryDimensionConfiguration?: BodySectionDynamicCategoryDimensionConfiguration; DynamicNumericDimensionConfiguration?: BodySectionDynamicNumericDimensionConfiguration; } -export type BodySectionRepeatDimensionConfigurationList = - Array; +export type BodySectionRepeatDimensionConfigurationList = Array; export interface BodySectionRepeatPageBreakConfiguration { After?: SectionAfterPageBreak; } @@ -3986,12 +2283,7 @@ export interface BrandDetail { export interface BrandElementStyle { NavbarStyle?: NavbarStyle; } -export type BrandStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_SUCCEEDED" - | "CREATE_FAILED" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED"; +export type BrandStatus = "CREATE_IN_PROGRESS" | "CREATE_SUCCEEDED" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED"; export interface BrandSummary { Arn?: string; BrandId?: string; @@ -4002,10 +2294,7 @@ export interface BrandSummary { LastUpdatedTime?: Date | string; } export type BrandSummaryList = Array; -export type BrandVersionStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_SUCCEEDED" - | "CREATE_FAILED"; +export type BrandVersionStatus = "CREATE_IN_PROGRESS" | "CREATE_SUCCEEDED" | "CREATE_FAILED"; export interface CalculatedColumn { ColumnName: string; ColumnId: string; @@ -4121,18 +2410,9 @@ export interface CategoryFilterConfiguration { CustomFilterConfiguration?: CustomFilterConfiguration; } export type CategoryFilterFunction = "EXACT" | "CONTAINS"; -export type CategoryFilterMatchOperator = - | "EQUALS" - | "DOES_NOT_EQUAL" - | "CONTAINS" - | "DOES_NOT_CONTAIN" - | "STARTS_WITH" - | "ENDS_WITH"; +export type CategoryFilterMatchOperator = "EQUALS" | "DOES_NOT_EQUAL" | "CONTAINS" | "DOES_NOT_CONTAIN" | "STARTS_WITH" | "ENDS_WITH"; export type CategoryFilterSelectAllOptions = "FILTER_ALL_VALUES"; -export type CategoryFilterType = - | "CUSTOM_FILTER" - | "CUSTOM_FILTER_LIST" - | "FILTER_LIST"; +export type CategoryFilterType = "CUSTOM_FILTER" | "CUSTOM_FILTER_LIST" | "FILTER_LIST"; export interface CategoryInnerFilter { Column: ColumnIdentifier; Configuration: CategoryFilterConfiguration; @@ -4157,9 +2437,7 @@ interface _ClientCredentialsDetails { ClientCredentialsGrantDetails?: ClientCredentialsGrantDetails; } -export type ClientCredentialsDetails = _ClientCredentialsDetails & { - ClientCredentialsGrantDetails: ClientCredentialsGrantDetails; -}; +export type ClientCredentialsDetails = (_ClientCredentialsDetails & { ClientCredentialsGrantDetails: ClientCredentialsGrantDetails }); export interface ClientCredentialsGrantDetails { ClientId: string; ClientSecret: string; @@ -4253,10 +2531,7 @@ export type ColumnList = Array; export type ColumnName = string; export type ColumnNameList = Array; -export type ColumnOrderingType = - | "GREATER_IS_BETTER" - | "LESSER_IS_BETTER" - | "SPECIFIED"; +export type ColumnOrderingType = "GREATER_IS_BETTER" | "LESSER_IS_BETTER" | "SPECIFIED"; export type ColumnRole = "DIMENSION" | "MEASURE"; export interface ColumnSchema { Name?: string; @@ -4342,17 +2617,7 @@ export interface ComparisonFormatConfiguration { PercentageDisplayFormatConfiguration?: PercentageDisplayFormatConfiguration; } export type ComparisonMethod = "DIFFERENCE" | "PERCENT_DIFFERENCE" | "PERCENT"; -export type ComparisonMethodType = - | "DIFF" - | "PERC_DIFF" - | "DIFF_AS_PERC" - | "POP_CURRENT_DIFF_AS_PERC" - | "POP_CURRENT_DIFF" - | "POP_OVERTIME_DIFF_AS_PERC" - | "POP_OVERTIME_DIFF" - | "PERCENT_OF_TOTAL" - | "RUNNING_SUM" - | "MOVING_AVERAGE"; +export type ComparisonMethodType = "DIFF" | "PERC_DIFF" | "DIFF_AS_PERC" | "POP_CURRENT_DIFF_AS_PERC" | "POP_CURRENT_DIFF" | "POP_OVERTIME_DIFF_AS_PERC" | "POP_OVERTIME_DIFF" | "PERCENT_OF_TOTAL" | "RUNNING_SUM" | "MOVING_AVERAGE"; export interface Computation { TopBottomRanked?: TopBottomRankedComputation; TopBottomMovers?: TopBottomMoversComputation; @@ -4402,18 +2667,7 @@ export interface ConditionalFormattingIconSet { Expression: string; IconSetType?: ConditionalFormattingIconSetType; } -export type ConditionalFormattingIconSetType = - | "PLUS_MINUS" - | "CHECK_X" - | "THREE_COLOR_ARROW" - | "THREE_GRAY_ARROW" - | "CARET_UP_MINUS_DOWN" - | "THREE_SHAPE" - | "THREE_CIRCLE" - | "FLAGS" - | "BARS" - | "FOUR_COLOR_ARROW" - | "FOUR_GRAY_ARROW"; +export type ConditionalFormattingIconSetType = "PLUS_MINUS" | "CHECK_X" | "THREE_COLOR_ARROW" | "THREE_GRAY_ARROW" | "CARET_UP_MINUS_DOWN" | "THREE_SHAPE" | "THREE_CIRCLE" | "FLAGS" | "BARS" | "FOUR_COLOR_ARROW" | "FOUR_GRAY_ARROW"; export interface ConditionalFormattingSolidColor { Expression: string; Color?: string; @@ -4427,13 +2681,7 @@ export declare class ConflictException extends EffectData.TaggedError( export interface ConfluenceParameters { ConfluenceUrl: string; } -export type ConnectionAuthType = - | "BASIC" - | "API_KEY" - | "OAUTH2_CLIENT_CREDENTIALS" - | "NONE" - | "IAM" - | "OAUTH2_AUTHORIZATION_CODE"; +export type ConnectionAuthType = "BASIC" | "API_KEY" | "OAUTH2_CLIENT_CREDENTIALS" | "NONE" | "IAM" | "OAUTH2_AUTHORIZATION_CODE"; export type ConstantType = "SINGULAR" | "RANGE" | "COLLECTIVE"; export type ConstantValueString = string; @@ -4450,18 +2698,13 @@ export interface ContributionAnalysisDefault { MeasureFieldId: string; ContributorDimensions: Array; } -export type ContributionAnalysisDefaultList = - Array; +export type ContributionAnalysisDefaultList = Array; export type ContributionAnalysisDirection = "INCREASE" | "DECREASE" | "NEUTRAL"; export interface ContributionAnalysisFactor { FieldName?: string; } export type ContributionAnalysisFactorsList = Array; -export type ContributionAnalysisSortType = - | "ABSOLUTE_DIFFERENCE" - | "CONTRIBUTION_PERCENTAGE" - | "DEVIATION_FROM_EXPECTED" - | "PERCENTAGE_DIFFERENCE"; +export type ContributionAnalysisSortType = "ABSOLUTE_DIFFERENCE" | "CONTRIBUTION_PERCENTAGE" | "DEVIATION_FROM_EXPECTED" | "PERCENTAGE_DIFFERENCE"; export interface ContributionAnalysisTimeRanges { StartRange?: TopicIRFilterOption; EndRange?: TopicIRFilterOption; @@ -4923,11 +3166,7 @@ export interface CustomContentConfiguration { ImageScaling?: CustomContentImageScalingConfiguration; Interactions?: VisualInteractionOptions; } -export type CustomContentImageScalingConfiguration = - | "FIT_TO_HEIGHT" - | "FIT_TO_WIDTH" - | "DO_NOT_SCALE" - | "SCALE_TO_VISUAL"; +export type CustomContentImageScalingConfiguration = "FIT_TO_HEIGHT" | "FIT_TO_WIDTH" | "DO_NOT_SCALE" | "SCALE_TO_VISUAL"; export type CustomContentType = "IMAGE" | "OTHER_EMBEDDED_CONTENT"; export interface CustomContentVisual { VisualId: string; @@ -5010,25 +3249,8 @@ export interface DashboardError { ViolatedEntities?: Array; } export type DashboardErrorList = Array; -export type DashboardErrorType = - | "ACCESS_DENIED" - | "SOURCE_NOT_FOUND" - | "DATA_SET_NOT_FOUND" - | "INTERNAL_FAILURE" - | "PARAMETER_VALUE_INCOMPATIBLE" - | "PARAMETER_TYPE_INVALID" - | "PARAMETER_NOT_FOUND" - | "COLUMN_TYPE_MISMATCH" - | "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" - | "COLUMN_REPLACEMENT_MISSING"; -export type DashboardFilterAttribute = - | "QUICKSIGHT_USER" - | "QUICKSIGHT_VIEWER_OR_OWNER" - | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" - | "QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_SOLE_OWNER" - | "DASHBOARD_NAME"; +export type DashboardErrorType = "ACCESS_DENIED" | "SOURCE_NOT_FOUND" | "DATA_SET_NOT_FOUND" | "INTERNAL_FAILURE" | "PARAMETER_VALUE_INCOMPATIBLE" | "PARAMETER_TYPE_INVALID" | "PARAMETER_NOT_FOUND" | "COLUMN_TYPE_MISMATCH" | "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" | "COLUMN_REPLACEMENT_MISSING"; +export type DashboardFilterAttribute = "QUICKSIGHT_USER" | "QUICKSIGHT_VIEWER_OR_OWNER" | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" | "QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_SOLE_OWNER" | "DASHBOARD_NAME"; export type DashboardName = string; export interface DashboardPublishOptions { @@ -5175,13 +3397,7 @@ export interface DataLabelOptions { TotalsVisibility?: Visibility; } export type DataLabelOverlap = "DISABLE_OVERLAP" | "ENABLE_OVERLAP"; -export type DataLabelPosition = - | "INSIDE" - | "OUTSIDE" - | "LEFT" - | "TOP" - | "BOTTOM" - | "RIGHT"; +export type DataLabelPosition = "INSIDE" | "OUTSIDE" | "LEFT" | "TOP" | "BOTTOM" | "RIGHT"; export interface DataLabelType { FieldLabelType?: FieldLabelType; DataPathLabelType?: DataPathLabelType; @@ -5259,21 +3475,14 @@ export interface DataSetConfiguration { ColumnGroupSchemaList?: Array; } export type DataSetConfigurationList = Array; -export type DataSetFilterAttribute = - | "QUICKSIGHT_VIEWER_OR_OWNER" - | "QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" - | "DIRECT_QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_SOLE_OWNER" - | "DATASET_NAME"; +export type DataSetFilterAttribute = "QUICKSIGHT_VIEWER_OR_OWNER" | "QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" | "DIRECT_QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_SOLE_OWNER" | "DATASET_NAME"; export type DataSetIdentifier = string; export interface DataSetIdentifierDeclaration { Identifier: string; DataSetArn: string; } -export type DataSetIdentifierDeclarationList = - Array; +export type DataSetIdentifierDeclarationList = Array; export type DataSetImportMode = "SPICE" | "DIRECT_QUERY"; export interface DatasetMetadata { DatasetArn: string; @@ -5363,20 +3572,8 @@ export interface DataSourceErrorInfo { Type?: DataSourceErrorInfoType; Message?: string; } -export type DataSourceErrorInfoType = - | "ACCESS_DENIED" - | "COPY_SOURCE_NOT_FOUND" - | "TIMEOUT" - | "ENGINE_VERSION_NOT_SUPPORTED" - | "UNKNOWN_HOST" - | "GENERIC_SQL_FAILURE" - | "CONFLICT" - | "UNKNOWN"; -export type DataSourceFilterAttribute = - | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" - | "DIRECT_QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_SOLE_OWNER" - | "DATASOURCE_NAME"; +export type DataSourceErrorInfoType = "ACCESS_DENIED" | "COPY_SOURCE_NOT_FOUND" | "TIMEOUT" | "ENGINE_VERSION_NOT_SUPPORTED" | "UNKNOWN_HOST" | "GENERIC_SQL_FAILURE" | "CONFLICT" | "UNKNOWN"; +export type DataSourceFilterAttribute = "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" | "DIRECT_QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_SOLE_OWNER" | "DATASOURCE_NAME"; export type DataSourceList = Array; interface _DataSourceParameters { AmazonElasticsearchParameters?: AmazonElasticsearchParameters; @@ -5413,51 +3610,7 @@ interface _DataSourceParameters { QBusinessParameters?: QBusinessParameters; } -export type DataSourceParameters = - | (_DataSourceParameters & { - AmazonElasticsearchParameters: AmazonElasticsearchParameters; - }) - | (_DataSourceParameters & { AthenaParameters: AthenaParameters }) - | (_DataSourceParameters & { AuroraParameters: AuroraParameters }) - | (_DataSourceParameters & { - AuroraPostgreSqlParameters: AuroraPostgreSqlParameters; - }) - | (_DataSourceParameters & { - AwsIotAnalyticsParameters: AwsIotAnalyticsParameters; - }) - | (_DataSourceParameters & { JiraParameters: JiraParameters }) - | (_DataSourceParameters & { MariaDbParameters: MariaDbParameters }) - | (_DataSourceParameters & { MySqlParameters: MySqlParameters }) - | (_DataSourceParameters & { OracleParameters: OracleParameters }) - | (_DataSourceParameters & { PostgreSqlParameters: PostgreSqlParameters }) - | (_DataSourceParameters & { PrestoParameters: PrestoParameters }) - | (_DataSourceParameters & { RdsParameters: RdsParameters }) - | (_DataSourceParameters & { RedshiftParameters: RedshiftParameters }) - | (_DataSourceParameters & { S3Parameters: S3Parameters }) - | (_DataSourceParameters & { - S3KnowledgeBaseParameters: S3KnowledgeBaseParameters; - }) - | (_DataSourceParameters & { ServiceNowParameters: ServiceNowParameters }) - | (_DataSourceParameters & { SnowflakeParameters: SnowflakeParameters }) - | (_DataSourceParameters & { SparkParameters: SparkParameters }) - | (_DataSourceParameters & { SqlServerParameters: SqlServerParameters }) - | (_DataSourceParameters & { TeradataParameters: TeradataParameters }) - | (_DataSourceParameters & { TwitterParameters: TwitterParameters }) - | (_DataSourceParameters & { - AmazonOpenSearchParameters: AmazonOpenSearchParameters; - }) - | (_DataSourceParameters & { ExasolParameters: ExasolParameters }) - | (_DataSourceParameters & { DatabricksParameters: DatabricksParameters }) - | (_DataSourceParameters & { StarburstParameters: StarburstParameters }) - | (_DataSourceParameters & { TrinoParameters: TrinoParameters }) - | (_DataSourceParameters & { BigQueryParameters: BigQueryParameters }) - | (_DataSourceParameters & { ImpalaParameters: ImpalaParameters }) - | (_DataSourceParameters & { - CustomConnectionParameters: CustomConnectionParameters; - }) - | (_DataSourceParameters & { WebCrawlerParameters: WebCrawlerParameters }) - | (_DataSourceParameters & { ConfluenceParameters: ConfluenceParameters }) - | (_DataSourceParameters & { QBusinessParameters: QBusinessParameters }); +export type DataSourceParameters = (_DataSourceParameters & { AmazonElasticsearchParameters: AmazonElasticsearchParameters }) | (_DataSourceParameters & { AthenaParameters: AthenaParameters }) | (_DataSourceParameters & { AuroraParameters: AuroraParameters }) | (_DataSourceParameters & { AuroraPostgreSqlParameters: AuroraPostgreSqlParameters }) | (_DataSourceParameters & { AwsIotAnalyticsParameters: AwsIotAnalyticsParameters }) | (_DataSourceParameters & { JiraParameters: JiraParameters }) | (_DataSourceParameters & { MariaDbParameters: MariaDbParameters }) | (_DataSourceParameters & { MySqlParameters: MySqlParameters }) | (_DataSourceParameters & { OracleParameters: OracleParameters }) | (_DataSourceParameters & { PostgreSqlParameters: PostgreSqlParameters }) | (_DataSourceParameters & { PrestoParameters: PrestoParameters }) | (_DataSourceParameters & { RdsParameters: RdsParameters }) | (_DataSourceParameters & { RedshiftParameters: RedshiftParameters }) | (_DataSourceParameters & { S3Parameters: S3Parameters }) | (_DataSourceParameters & { S3KnowledgeBaseParameters: S3KnowledgeBaseParameters }) | (_DataSourceParameters & { ServiceNowParameters: ServiceNowParameters }) | (_DataSourceParameters & { SnowflakeParameters: SnowflakeParameters }) | (_DataSourceParameters & { SparkParameters: SparkParameters }) | (_DataSourceParameters & { SqlServerParameters: SqlServerParameters }) | (_DataSourceParameters & { TeradataParameters: TeradataParameters }) | (_DataSourceParameters & { TwitterParameters: TwitterParameters }) | (_DataSourceParameters & { AmazonOpenSearchParameters: AmazonOpenSearchParameters }) | (_DataSourceParameters & { ExasolParameters: ExasolParameters }) | (_DataSourceParameters & { DatabricksParameters: DatabricksParameters }) | (_DataSourceParameters & { StarburstParameters: StarburstParameters }) | (_DataSourceParameters & { TrinoParameters: TrinoParameters }) | (_DataSourceParameters & { BigQueryParameters: BigQueryParameters }) | (_DataSourceParameters & { ImpalaParameters: ImpalaParameters }) | (_DataSourceParameters & { CustomConnectionParameters: CustomConnectionParameters }) | (_DataSourceParameters & { WebCrawlerParameters: WebCrawlerParameters }) | (_DataSourceParameters & { ConfluenceParameters: ConfluenceParameters }) | (_DataSourceParameters & { QBusinessParameters: QBusinessParameters }); export type DataSourceParametersList = Array; export interface DataSourceSearchFilter { Operator: FilterOperator; @@ -5474,55 +3627,14 @@ export interface DataSourceSummary { LastUpdatedTime?: Date | string; } export type DataSourceSummaryList = Array; -export type DataSourceType = - | "ADOBE_ANALYTICS" - | "AMAZON_ELASTICSEARCH" - | "ATHENA" - | "AURORA" - | "AURORA_POSTGRESQL" - | "AWS_IOT_ANALYTICS" - | "GITHUB" - | "JIRA" - | "MARIADB" - | "MYSQL" - | "ORACLE" - | "POSTGRESQL" - | "PRESTO" - | "REDSHIFT" - | "S3" - | "SALESFORCE" - | "SERVICENOW" - | "SNOWFLAKE" - | "SPARK" - | "SQLSERVER" - | "TERADATA" - | "TWITTER" - | "TIMESTREAM" - | "AMAZON_OPENSEARCH" - | "EXASOL" - | "DATABRICKS" - | "STARBURST" - | "TRINO" - | "BIGQUERY" - | "GOOGLESHEETS" - | "GOOGLE_DRIVE" - | "CONFLUENCE" - | "SHAREPOINT" - | "ONE_DRIVE" - | "WEB_CRAWLER" - | "S3_KNOWLEDGE_BASE" - | "QBUSINESS"; +export type DataSourceType = "ADOBE_ANALYTICS" | "AMAZON_ELASTICSEARCH" | "ATHENA" | "AURORA" | "AURORA_POSTGRESQL" | "AWS_IOT_ANALYTICS" | "GITHUB" | "JIRA" | "MARIADB" | "MYSQL" | "ORACLE" | "POSTGRESQL" | "PRESTO" | "REDSHIFT" | "S3" | "SALESFORCE" | "SERVICENOW" | "SNOWFLAKE" | "SPARK" | "SQLSERVER" | "TERADATA" | "TWITTER" | "TIMESTREAM" | "AMAZON_OPENSEARCH" | "EXASOL" | "DATABRICKS" | "STARBURST" | "TRINO" | "BIGQUERY" | "GOOGLESHEETS" | "GOOGLE_DRIVE" | "CONFLUENCE" | "SHAREPOINT" | "ONE_DRIVE" | "WEB_CRAWLER" | "S3_KNOWLEDGE_BASE" | "QBUSINESS"; export interface DataStoriesConfigurations { Enabled: boolean; } export interface DataStoriesSharingOption { AvailabilityStatus?: DashboardBehavior; } -export type DateAggregationFunction = - | "COUNT" - | "DISTINCT_COUNT" - | "MIN" - | "MAX"; +export type DateAggregationFunction = "COUNT" | "DISTINCT_COUNT" | "MIN" | "MAX"; export interface DateAxisOptions { MissingDateVisibility?: Visibility; } @@ -5594,22 +3706,8 @@ export interface DateTimeValueWhenUnsetConfiguration { } export type DayOfMonth = string; -export type DayOfTheWeek = - | "SUNDAY" - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY"; -export type DayOfWeek = - | "SUNDAY" - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY"; +export type DayOfTheWeek = "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY"; +export type DayOfWeek = "SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY"; export type DbUsername = string; export interface DecimalDatasetParameter { @@ -5650,18 +3748,7 @@ export interface DecimalValueWhenUnsetConfiguration { ValueWhenUnsetOption?: ValueWhenUnsetOption; CustomValue?: number; } -export type DefaultAggregation = - | "SUM" - | "MAX" - | "MIN" - | "COUNT" - | "DISTINCT_COUNT" - | "AVERAGE" - | "MEDIAN" - | "STDEV" - | "STDEVP" - | "VAR" - | "VARP"; +export type DefaultAggregation = "SUM" | "MAX" | "MIN" | "COUNT" | "DISTINCT_COUNT" | "AVERAGE" | "MEDIAN" | "STDEV" | "STDEVP" | "VAR" | "VARP"; export interface DefaultDateTimePickerControlOptions { Type?: SheetControlDateTimePickerType; DisplayOptions?: DateTimePickerControlDisplayOptions; @@ -6674,13 +4761,7 @@ export interface DimensionField { DateDimensionField?: DateDimensionField; } export type DimensionFieldList = Array; -export type DisplayFormat = - | "AUTO" - | "PERCENT" - | "CURRENCY" - | "NUMBER" - | "DATE" - | "STRING"; +export type DisplayFormat = "AUTO" | "PERCENT" | "CURRENCY" | "NUMBER" | "DATE" | "STRING"; export interface DisplayFormatOptions { UseBlankCellFormat?: boolean; BlankCellFormat?: string; @@ -6761,16 +4842,7 @@ export interface ExasolParameters { Host: string; Port: number; } -export type ExceptionResourceType = - | "USER" - | "GROUP" - | "NAMESPACE" - | "ACCOUNT_SETTINGS" - | "IAMPOLICY_ASSIGNMENT" - | "DATA_SOURCE" - | "DATA_SET" - | "VPC_CONNECTION" - | "INGESTION"; +export type ExceptionResourceType = "USER" | "GROUP" | "NAMESPACE" | "ACCOUNT_SETTINGS" | "IAMPOLICY_ASSIGNMENT" | "DATA_SOURCE" | "DATA_SET" | "VPC_CONNECTION" | "INGESTION"; export interface ExcludePeriodConfiguration { Amount: number; Granularity: TimeGranularity; @@ -6826,12 +4898,7 @@ export interface FieldLabelType { FieldId?: string; Visibility?: Visibility; } -export type FieldName = - | "assetName" - | "assetDescription" - | "DIRECT_QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" - | "DIRECT_QUICKSIGHT_SOLE_OWNER"; +export type FieldName = "assetName" | "assetDescription" | "DIRECT_QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" | "DIRECT_QUICKSIGHT_SOLE_OWNER"; export type FieldOrderList = Array; export interface FieldSeriesItem { FieldId: string; @@ -6866,8 +4933,7 @@ export interface FilledMapConditionalFormatting { export interface FilledMapConditionalFormattingOption { Shape: FilledMapShapeConditionalFormatting; } -export type FilledMapConditionalFormattingOptionList = - Array; +export type FilledMapConditionalFormattingOptionList = Array; export interface FilledMapConfiguration { FieldWells?: FilledMapFieldWells; SortConfiguration?: FilledMapSortConfiguration; @@ -6915,10 +4981,7 @@ export interface FilterAggMetrics { SortDirection?: TopicSortDirection; } export type FilterAggMetricsList = Array; -export type FilterClass = - | "ENFORCED_VALUE_FILTER" - | "CONDITIONAL_VALUE_FILTER" - | "NAMED_VALUE_FILTER"; +export type FilterClass = "ENFORCED_VALUE_FILTER" | "CONDITIONAL_VALUE_FILTER" | "NAMED_VALUE_FILTER"; export interface FilterControl { DateTimePicker?: FilterDateTimePickerControl; List?: FilterListControl; @@ -7064,14 +5127,7 @@ export interface Folder { } export type FolderArnList = Array; export type FolderColumnList = Array; -export type FolderFilterAttribute = - | "PARENT_FOLDER_ARN" - | "DIRECT_QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_SOLE_OWNER" - | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" - | "QUICKSIGHT_OWNER" - | "QUICKSIGHT_VIEWER_OR_OWNER" - | "FOLDER_NAME"; +export type FolderFilterAttribute = "PARENT_FOLDER_ARN" | "DIRECT_QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_SOLE_OWNER" | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" | "QUICKSIGHT_OWNER" | "QUICKSIGHT_VIEWER_OR_OWNER" | "FOLDER_NAME"; export interface FolderMember { MemberId?: string; MemberType?: MemberType; @@ -7212,12 +5268,7 @@ export type FunnelChartDimensionFieldList = Array; export interface FunnelChartFieldWells { FunnelChartAggregatedFieldWells?: FunnelChartAggregatedFieldWells; } -export type FunnelChartMeasureDataLabelStyle = - | "VALUE_ONLY" - | "PERCENTAGE_BY_FIRST_STAGE" - | "PERCENTAGE_BY_PREVIOUS_STAGE" - | "VALUE_AND_PERCENTAGE_BY_FIRST_STAGE" - | "VALUE_AND_PERCENTAGE_BY_PREVIOUS_STAGE"; +export type FunnelChartMeasureDataLabelStyle = "VALUE_ONLY" | "PERCENTAGE_BY_FIRST_STAGE" | "PERCENTAGE_BY_PREVIOUS_STAGE" | "VALUE_AND_PERCENTAGE_BY_FIRST_STAGE" | "VALUE_AND_PERCENTAGE_BY_PREVIOUS_STAGE"; export type FunnelChartMeasureFieldList = Array; export interface FunnelChartSortConfiguration { CategorySort?: Array; @@ -7246,8 +5297,7 @@ export interface GaugeChartConditionalFormattingOption { PrimaryValue?: GaugeChartPrimaryValueConditionalFormatting; Arc?: GaugeChartArcConditionalFormatting; } -export type GaugeChartConditionalFormattingOptionList = - Array; +export type GaugeChartConditionalFormattingOptionList = Array; export interface GaugeChartConfiguration { FieldWells?: GaugeChartFieldWells; GaugeChartOptions?: GaugeChartOptions; @@ -7291,10 +5341,7 @@ export interface GeneratedAnswerResult { AnswerId?: string; QuestionUrl?: string; } -export type GeneratedAnswerStatus = - | "ANSWER_GENERATED" - | "ANSWER_RETRIEVED" - | "ANSWER_DOWNGRADE"; +export type GeneratedAnswerStatus = "ANSWER_GENERATED" | "ANSWER_RETRIEVED" | "ANSWER_DOWNGRADE"; export interface GenerateEmbedUrlForAnonymousUserRequest { AwsAccountId: string; SessionLifetimeInMinutes?: number; @@ -7346,8 +5393,7 @@ export interface GeospatialCategoricalDataColor { Color: string; DataValue: string; } -export type GeospatialCategoricalDataColorList = - Array; +export type GeospatialCategoricalDataColorList = Array; export interface GeospatialCircleRadius { Radius?: number; } @@ -7375,14 +5421,7 @@ export interface GeospatialCoordinateBounds { East: number; } export type GeoSpatialCountryCode = "US"; -export type GeoSpatialDataRole = - | "COUNTRY" - | "STATE" - | "COUNTY" - | "CITY" - | "POSTCODE" - | "LONGITUDE" - | "LATITUDE"; +export type GeoSpatialDataRole = "COUNTRY" | "STATE" | "COUNTY" | "CITY" | "POSTCODE" | "LONGITUDE" | "LATITUDE"; export interface GeospatialDataSourceItem { StaticFileDataSource?: GeospatialStaticFileSource; } @@ -7396,8 +5435,7 @@ export interface GeospatialGradientStepColor { Color: string; DataValue: number; } -export type GeospatialGradientStepColorList = - Array; +export type GeospatialGradientStepColorList = Array; export interface GeospatialHeatmapColorScale { Colors?: Array; } @@ -7684,8 +5722,7 @@ export interface HeaderFooterSectionConfiguration { Layout: SectionLayoutConfiguration; Style?: SectionStyle; } -export type HeaderFooterSectionConfigurationList = - Array; +export type HeaderFooterSectionConfigurationList = Array; export interface HeatMapAggregatedFieldWells { Rows?: Array; Columns?: Array; @@ -7784,33 +5821,7 @@ export interface IAMPolicyAssignmentSummary { AssignmentStatus?: AssignmentStatus; } export type IAMPolicyAssignmentSummaryList = Array; -export type Icon = - | "CARET_UP" - | "CARET_DOWN" - | "PLUS" - | "MINUS" - | "ARROW_UP" - | "ARROW_DOWN" - | "ARROW_LEFT" - | "ARROW_UP_LEFT" - | "ARROW_DOWN_LEFT" - | "ARROW_RIGHT" - | "ARROW_UP_RIGHT" - | "ARROW_DOWN_RIGHT" - | "FACE_UP" - | "FACE_DOWN" - | "FACE_FLAT" - | "ONE_BAR" - | "TWO_BAR" - | "THREE_BAR" - | "CIRCLE" - | "TRIANGLE" - | "SQUARE" - | "FLAG" - | "THUMBS_UP" - | "THUMBS_DOWN" - | "CHECKMARK" - | "X"; +export type Icon = "CARET_UP" | "CARET_DOWN" | "PLUS" | "MINUS" | "ARROW_UP" | "ARROW_DOWN" | "ARROW_LEFT" | "ARROW_UP_LEFT" | "ARROW_DOWN_LEFT" | "ARROW_RIGHT" | "ARROW_UP_RIGHT" | "ARROW_DOWN_RIGHT" | "FACE_UP" | "FACE_DOWN" | "FACE_FLAT" | "ONE_BAR" | "TWO_BAR" | "THREE_BAR" | "CIRCLE" | "TRIANGLE" | "SQUARE" | "FLAG" | "THUMBS_UP" | "THUMBS_DOWN" | "CHECKMARK" | "X"; export interface Identifier { Identity: string; } @@ -7874,9 +5885,7 @@ interface _ImageSource { S3Uri?: string; } -export type ImageSource = - | (_ImageSource & { PublicUrl: string }) - | (_ImageSource & { S3Uri: string }); +export type ImageSource = (_ImageSource & { PublicUrl: string }) | (_ImageSource & { S3Uri: string }); export interface ImageStaticFile { StaticFileId: string; Source?: StaticFileSource; @@ -7906,70 +5915,15 @@ export interface Ingestion { RequestSource?: IngestionRequestSource; RequestType?: IngestionRequestType; } -export type IngestionErrorType = - | "FAILURE_TO_ASSUME_ROLE" - | "INGESTION_SUPERSEDED" - | "INGESTION_CANCELED" - | "DATA_SET_DELETED" - | "DATA_SET_NOT_SPICE" - | "S3_UPLOADED_FILE_DELETED" - | "S3_MANIFEST_ERROR" - | "DATA_TOLERANCE_EXCEPTION" - | "SPICE_TABLE_NOT_FOUND" - | "DATA_SET_SIZE_LIMIT_EXCEEDED" - | "ROW_SIZE_LIMIT_EXCEEDED" - | "ACCOUNT_CAPACITY_LIMIT_EXCEEDED" - | "CUSTOMER_ERROR" - | "DATA_SOURCE_NOT_FOUND" - | "IAM_ROLE_NOT_AVAILABLE" - | "CONNECTION_FAILURE" - | "SQL_TABLE_NOT_FOUND" - | "PERMISSION_DENIED" - | "SSL_CERTIFICATE_VALIDATION_FAILURE" - | "OAUTH_TOKEN_FAILURE" - | "SOURCE_API_LIMIT_EXCEEDED_FAILURE" - | "PASSWORD_AUTHENTICATION_FAILURE" - | "SQL_SCHEMA_MISMATCH_ERROR" - | "INVALID_DATE_FORMAT" - | "INVALID_DATAPREP_SYNTAX" - | "SOURCE_RESOURCE_LIMIT_EXCEEDED" - | "SQL_INVALID_PARAMETER_VALUE" - | "QUERY_TIMEOUT" - | "SQL_NUMERIC_OVERFLOW" - | "UNRESOLVABLE_HOST" - | "UNROUTABLE_HOST" - | "SQL_EXCEPTION" - | "S3_FILE_INACCESSIBLE" - | "IOT_FILE_NOT_FOUND" - | "IOT_DATA_SET_FILE_EMPTY" - | "INVALID_DATA_SOURCE_CONFIG" - | "DATA_SOURCE_AUTH_FAILED" - | "DATA_SOURCE_CONNECTION_FAILED" - | "FAILURE_TO_PROCESS_JSON_FILE" - | "INTERNAL_SERVICE_ERROR" - | "REFRESH_SUPPRESSED_BY_EDIT" - | "PERMISSION_NOT_FOUND" - | "ELASTICSEARCH_CURSOR_NOT_ENABLED" - | "CURSOR_NOT_ENABLED" - | "DUPLICATE_COLUMN_NAMES_FOUND"; +export type IngestionErrorType = "FAILURE_TO_ASSUME_ROLE" | "INGESTION_SUPERSEDED" | "INGESTION_CANCELED" | "DATA_SET_DELETED" | "DATA_SET_NOT_SPICE" | "S3_UPLOADED_FILE_DELETED" | "S3_MANIFEST_ERROR" | "DATA_TOLERANCE_EXCEPTION" | "SPICE_TABLE_NOT_FOUND" | "DATA_SET_SIZE_LIMIT_EXCEEDED" | "ROW_SIZE_LIMIT_EXCEEDED" | "ACCOUNT_CAPACITY_LIMIT_EXCEEDED" | "CUSTOMER_ERROR" | "DATA_SOURCE_NOT_FOUND" | "IAM_ROLE_NOT_AVAILABLE" | "CONNECTION_FAILURE" | "SQL_TABLE_NOT_FOUND" | "PERMISSION_DENIED" | "SSL_CERTIFICATE_VALIDATION_FAILURE" | "OAUTH_TOKEN_FAILURE" | "SOURCE_API_LIMIT_EXCEEDED_FAILURE" | "PASSWORD_AUTHENTICATION_FAILURE" | "SQL_SCHEMA_MISMATCH_ERROR" | "INVALID_DATE_FORMAT" | "INVALID_DATAPREP_SYNTAX" | "SOURCE_RESOURCE_LIMIT_EXCEEDED" | "SQL_INVALID_PARAMETER_VALUE" | "QUERY_TIMEOUT" | "SQL_NUMERIC_OVERFLOW" | "UNRESOLVABLE_HOST" | "UNROUTABLE_HOST" | "SQL_EXCEPTION" | "S3_FILE_INACCESSIBLE" | "IOT_FILE_NOT_FOUND" | "IOT_DATA_SET_FILE_EMPTY" | "INVALID_DATA_SOURCE_CONFIG" | "DATA_SOURCE_AUTH_FAILED" | "DATA_SOURCE_CONNECTION_FAILED" | "FAILURE_TO_PROCESS_JSON_FILE" | "INTERNAL_SERVICE_ERROR" | "REFRESH_SUPPRESSED_BY_EDIT" | "PERMISSION_NOT_FOUND" | "ELASTICSEARCH_CURSOR_NOT_ENABLED" | "CURSOR_NOT_ENABLED" | "DUPLICATE_COLUMN_NAMES_FOUND"; export type IngestionId = string; export type IngestionMaxResults = number; export type IngestionRequestSource = "MANUAL" | "SCHEDULED"; -export type IngestionRequestType = - | "INITIAL_INGESTION" - | "EDIT" - | "INCREMENTAL_REFRESH" - | "FULL_REFRESH"; +export type IngestionRequestType = "INITIAL_INGESTION" | "EDIT" | "INCREMENTAL_REFRESH" | "FULL_REFRESH"; export type Ingestions = Array; -export type IngestionStatus = - | "INITIALIZED" - | "QUEUED" - | "RUNNING" - | "FAILED" - | "COMPLETED" - | "CANCELLED"; +export type IngestionStatus = "INITIALIZED" | "QUEUED" | "RUNNING" | "FAILED" | "COMPLETED" | "CANCELLED"; export type IngestionType = "INCREMENTAL_REFRESH" | "FULL_REFRESH"; export interface InnerFilter { CategoryInnerFilter?: CategoryInnerFilter; @@ -7979,14 +5933,7 @@ export interface InputColumn { Type: InputColumnDataType; SubType?: ColumnDataSubType; } -export type InputColumnDataType = - | "STRING" - | "INTEGER" - | "DECIMAL" - | "DATETIME" - | "BIT" - | "BOOLEAN" - | "JSON"; +export type InputColumnDataType = "STRING" | "INTEGER" | "DECIMAL" | "DATETIME" | "BIT" | "BOOLEAN" | "JSON"; export type InputColumnList = Array; export interface InsightConfiguration { Computations?: Array; @@ -8115,8 +6062,7 @@ export interface KPIConditionalFormattingOption { ActualValue?: KPIActualValueConditionalFormatting; ComparisonValue?: KPIComparisonValueConditionalFormatting; } -export type KPIConditionalFormattingOptionList = - Array; +export type KPIConditionalFormattingOptionList = Array; export interface KPIConfiguration { FieldWells?: KPIFieldWells; SortConfiguration?: KPISortConfiguration; @@ -8214,12 +6160,7 @@ export interface LayoutConfiguration { FreeFormLayout?: FreeFormLayoutConfiguration; SectionBasedLayout?: SectionBasedLayoutConfiguration; } -export type LayoutElementType = - | "VISUAL" - | "FILTER_CONTROL" - | "PARAMETER_CONTROL" - | "TEXT_BOX" - | "IMAGE"; +export type LayoutElementType = "VISUAL" | "FILTER_CONTROL" | "PARAMETER_CONTROL" | "TEXT_BOX" | "IMAGE"; export type LayoutList = Array; export interface LegendOptions { Visibility?: Visibility; @@ -8285,12 +6226,7 @@ export interface LineChartLineStyleSettings { LineStyle?: LineChartLineStyle; LineWidth?: string; } -export type LineChartMarkerShape = - | "CIRCLE" - | "TRIANGLE" - | "SQUARE" - | "DIAMOND" - | "ROUNDED_SQUARE"; +export type LineChartMarkerShape = "CIRCLE" | "TRIANGLE" | "SQUARE" | "DIAMOND" | "ROUNDED_SQUARE"; export interface LineChartMarkerStyleSettings { MarkerVisibility?: Visibility; MarkerShape?: LineChartMarkerShape; @@ -8852,12 +6788,7 @@ export interface MemberIdArnPair { MemberId?: string; MemberArn?: string; } -export type MemberType = - | "DASHBOARD" - | "ANALYSIS" - | "DATASET" - | "DATASOURCE" - | "TOPIC"; +export type MemberType = "DASHBOARD" | "ANALYSIS" | "DATASET" | "DATASOURCE" | "TOPIC"; export type MetadataFilesLocation = string; export interface MetricComparisonComputation { @@ -8874,10 +6805,7 @@ export interface MissingDataConfiguration { TreatmentOption?: MissingDataTreatmentOption; } export type MissingDataConfigurationList = Array; -export type MissingDataTreatmentOption = - | "INTERPOLATE" - | "SHOW_AS_ZERO" - | "SHOW_AS_BLANK"; +export type MissingDataTreatmentOption = "INTERPOLATE" | "SHOW_AS_ZERO" | "SHOW_AS_BLANK"; export interface MySqlParameters { Host: string; Port: number; @@ -8885,20 +6813,7 @@ export interface MySqlParameters { } export type Name = string; -export type NamedEntityAggType = - | "SUM" - | "MIN" - | "MAX" - | "COUNT" - | "AVERAGE" - | "DISTINCT_COUNT" - | "STDEV" - | "STDEVP" - | "VAR" - | "VARP" - | "PERCENTILE" - | "MEDIAN" - | "CUSTOM"; +export type NamedEntityAggType = "SUM" | "MIN" | "MAX" | "COUNT" | "AVERAGE" | "DISTINCT_COUNT" | "STDEV" | "STDEVP" | "VAR" | "VARP" | "PERCENTILE" | "MEDIAN" | "CUSTOM"; export interface NamedEntityDefinition { FieldName?: string; PropertyName?: string; @@ -8914,26 +6829,8 @@ export type NamedEntityDefinitions = Array; export interface NamedEntityRef { NamedEntityName?: string; } -export type NamedFilterAggType = - | "NO_AGGREGATION" - | "SUM" - | "AVERAGE" - | "COUNT" - | "DISTINCT_COUNT" - | "MAX" - | "MEDIAN" - | "MIN" - | "STDEV" - | "STDEVP" - | "VAR" - | "VARP"; -export type NamedFilterType = - | "CATEGORY_FILTER" - | "NUMERIC_EQUALITY_FILTER" - | "NUMERIC_RANGE_FILTER" - | "DATE_RANGE_FILTER" - | "RELATIVE_DATE_FILTER" - | "NULL_FILTER"; +export type NamedFilterAggType = "NO_AGGREGATION" | "SUM" | "AVERAGE" | "COUNT" | "DISTINCT_COUNT" | "MAX" | "MEDIAN" | "MIN" | "STDEV" | "STDEVP" | "VAR" | "VARP"; +export type NamedFilterType = "CATEGORY_FILTER" | "NUMERIC_EQUALITY_FILTER" | "NUMERIC_RANGE_FILTER" | "DATE_RANGE_FILTER" | "RELATIVE_DATE_FILTER" | "NULL_FILTER"; export type Namespace = string; export interface NamespaceError { @@ -8952,12 +6849,7 @@ export interface NamespaceInfoV2 { IamIdentityCenterInstanceArn?: string; } export type Namespaces = Array; -export type NamespaceStatus = - | "CREATED" - | "CREATING" - | "DELETING" - | "RETRYABLE_FAILURE" - | "NON_RETRYABLE_FAILURE"; +export type NamespaceStatus = "CREATED" | "CREATING" | "DELETING" | "RETRYABLE_FAILURE" | "NON_RETRYABLE_FAILURE"; export type NarrativeString = string; export interface NavbarStyle { @@ -8988,17 +6880,7 @@ export interface NetworkInterface { export type NetworkInterfaceId = string; export type NetworkInterfaceList = Array; -export type NetworkInterfaceStatus = - | "CREATING" - | "AVAILABLE" - | "CREATION_FAILED" - | "UPDATING" - | "UPDATE_FAILED" - | "DELETING" - | "DELETED" - | "DELETION_FAILED" - | "DELETION_SCHEDULED" - | "ATTACHMENT_FAILED_ROLLBACK_FAILED"; +export type NetworkInterfaceStatus = "CREATING" | "AVAILABLE" | "CREATION_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING" | "DELETED" | "DELETION_FAILED" | "DELETION_SCHEDULED" | "ATTACHMENT_FAILED_ROLLBACK_FAILED"; export interface NewDefaultValues { StringStaticValues?: Array; DecimalStaticValues?: Array; @@ -9032,15 +6914,7 @@ export interface NumberDisplayFormatConfiguration { export interface NumberFormatConfiguration { FormatConfiguration?: NumericFormatConfiguration; } -export type NumberScale = - | "NONE" - | "AUTO" - | "THOUSANDS" - | "MILLIONS" - | "BILLIONS" - | "TRILLIONS" - | "LAKHS" - | "CRORES"; +export type NumberScale = "NONE" | "AUTO" | "THOUSANDS" | "MILLIONS" | "BILLIONS" | "TRILLIONS" | "LAKHS" | "CRORES"; export interface NumericalAggregationFunction { SimpleNumericalAggregation?: SimpleNumericalAggregationFunction; PercentileAggregation?: PercentileAggregation; @@ -9166,18 +7040,7 @@ export interface PanelTitleOptions { HorizontalTextAlignment?: HorizontalTextAlignment; } export type PaperOrientation = "PORTRAIT" | "LANDSCAPE"; -export type PaperSize = - | "US_LETTER" - | "US_LEGAL" - | "US_TABLOID_LEDGER" - | "A0" - | "A1" - | "A2" - | "A3" - | "A4" - | "A5" - | "JIS_B4" - | "JIS_B5"; +export type PaperSize = "US_LETTER" | "US_LEGAL" | "US_TABLOID_LEDGER" | "A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "JIS_B4" | "JIS_B5"; export interface ParameterControl { DateTimePicker?: ParameterDateTimePickerControl; List?: ParameterListControl; @@ -9311,10 +7174,7 @@ interface _PhysicalTable { S3Source?: S3Source; } -export type PhysicalTable = - | (_PhysicalTable & { RelationalTable: RelationalTable }) - | (_PhysicalTable & { CustomSql: CustomSql }) - | (_PhysicalTable & { S3Source: S3Source }); +export type PhysicalTable = (_PhysicalTable & { RelationalTable: RelationalTable }) | (_PhysicalTable & { CustomSql: CustomSql }) | (_PhysicalTable & { S3Source: S3Source }); export type PhysicalTableId = string; export type PhysicalTableMap = Record; @@ -9378,17 +7238,12 @@ export interface PivotTableConditionalFormatting { export interface PivotTableConditionalFormattingOption { Cell?: PivotTableCellConditionalFormatting; } -export type PivotTableConditionalFormattingOptionList = - Array; +export type PivotTableConditionalFormattingOptionList = Array; export interface PivotTableConditionalFormattingScope { Role?: PivotTableConditionalFormattingScopeRole; } -export type PivotTableConditionalFormattingScopeList = - Array; -export type PivotTableConditionalFormattingScopeRole = - | "FIELD" - | "FIELD_TOTAL" - | "GRAND_TOTAL"; +export type PivotTableConditionalFormattingScopeList = Array; +export type PivotTableConditionalFormattingScopeRole = "FIELD" | "FIELD_TOTAL" | "GRAND_TOTAL"; export interface PivotTableConfiguration { FieldWells?: PivotTableFieldWells; SortConfiguration?: PivotTableSortConfiguration; @@ -9403,19 +7258,14 @@ export interface PivotTableDataPathOption { Width?: string; } export type PivotTableDataPathOptionList = Array; -export type PivotTableDataPathType = - | "HIERARCHY_ROWS_LAYOUT_COLUMN" - | "MULTIPLE_ROW_METRICS_COLUMN" - | "EMPTY_COLUMN_HEADER" - | "COUNT_METRIC_COLUMN"; +export type PivotTableDataPathType = "HIERARCHY_ROWS_LAYOUT_COLUMN" | "MULTIPLE_ROW_METRICS_COLUMN" | "EMPTY_COLUMN_HEADER" | "COUNT_METRIC_COLUMN"; export type PivotTableDimensionList = Array; export type PivotTableFieldCollapseState = "COLLAPSED" | "EXPANDED"; export interface PivotTableFieldCollapseStateOption { Target: PivotTableFieldCollapseStateTarget; State?: PivotTableFieldCollapseState; } -export type PivotTableFieldCollapseStateOptionList = - Array; +export type PivotTableFieldCollapseStateOptionList = Array; export interface PivotTableFieldCollapseStateTarget { FieldId?: string; FieldDataPathValues?: Array; @@ -9434,8 +7284,7 @@ export interface PivotTableFieldOptions { export interface PivotTableFieldSubtotalOptions { FieldId?: string; } -export type PivotTableFieldSubtotalOptionsList = - Array; +export type PivotTableFieldSubtotalOptionsList = Array; export interface PivotTableFieldWells { PivotTableAggregatedFieldWells?: PivotTableAggregatedFieldWells; } @@ -9620,10 +7469,7 @@ export interface QAResult { GeneratedAnswer?: GeneratedAnswerResult; } export type QAResults = Array; -export type QAResultType = - | "DASHBOARD_VISUAL" - | "GENERATED_ANSWER" - | "NO_ANSWER"; +export type QAResultType = "DASHBOARD_VISUAL" | "GENERATED_ANSWER" | "NO_ANSWER"; export type QAUrl = string; export type QBusinessInsightsStatus = "ENABLED" | "DISABLED"; @@ -9739,33 +7585,12 @@ interface _ReadAuthenticationMetadata { IamConnectionMetadata?: ReadIamConnectionMetadata; } -export type ReadAuthenticationMetadata = - | (_ReadAuthenticationMetadata & { - AuthorizationCodeGrantMetadata: ReadAuthorizationCodeGrantMetadata; - }) - | (_ReadAuthenticationMetadata & { - ClientCredentialsGrantMetadata: ReadClientCredentialsGrantMetadata; - }) - | (_ReadAuthenticationMetadata & { - BasicAuthConnectionMetadata: ReadBasicAuthConnectionMetadata; - }) - | (_ReadAuthenticationMetadata & { - ApiKeyConnectionMetadata: ReadAPIKeyConnectionMetadata; - }) - | (_ReadAuthenticationMetadata & { - NoneConnectionMetadata: ReadNoneConnectionMetadata; - }) - | (_ReadAuthenticationMetadata & { - IamConnectionMetadata: ReadIamConnectionMetadata; - }); +export type ReadAuthenticationMetadata = (_ReadAuthenticationMetadata & { AuthorizationCodeGrantMetadata: ReadAuthorizationCodeGrantMetadata }) | (_ReadAuthenticationMetadata & { ClientCredentialsGrantMetadata: ReadClientCredentialsGrantMetadata }) | (_ReadAuthenticationMetadata & { BasicAuthConnectionMetadata: ReadBasicAuthConnectionMetadata }) | (_ReadAuthenticationMetadata & { ApiKeyConnectionMetadata: ReadAPIKeyConnectionMetadata }) | (_ReadAuthenticationMetadata & { NoneConnectionMetadata: ReadNoneConnectionMetadata }) | (_ReadAuthenticationMetadata & { IamConnectionMetadata: ReadIamConnectionMetadata }); interface _ReadAuthorizationCodeGrantCredentialsDetails { ReadAuthorizationCodeGrantDetails?: ReadAuthorizationCodeGrantDetails; } -export type ReadAuthorizationCodeGrantCredentialsDetails = - _ReadAuthorizationCodeGrantCredentialsDetails & { - ReadAuthorizationCodeGrantDetails: ReadAuthorizationCodeGrantDetails; - }; +export type ReadAuthorizationCodeGrantCredentialsDetails = (_ReadAuthorizationCodeGrantCredentialsDetails & { ReadAuthorizationCodeGrantDetails: ReadAuthorizationCodeGrantDetails }); export interface ReadAuthorizationCodeGrantDetails { ClientId: string; TokenEndpoint: string; @@ -9785,9 +7610,7 @@ interface _ReadClientCredentialsDetails { ReadClientCredentialsGrantDetails?: ReadClientCredentialsGrantDetails; } -export type ReadClientCredentialsDetails = _ReadClientCredentialsDetails & { - ReadClientCredentialsGrantDetails: ReadClientCredentialsGrantDetails; -}; +export type ReadClientCredentialsDetails = (_ReadClientCredentialsDetails & { ReadClientCredentialsGrantDetails: ReadClientCredentialsGrantDetails }); export interface ReadClientCredentialsGrantDetails { ClientId: string; TokenEndpoint: string; @@ -9867,9 +7690,7 @@ export interface ReferenceLineValueLabelConfiguration { RelativePosition?: ReferenceLineValueLabelRelativePosition; FormatConfiguration?: NumericFormatConfiguration; } -export type ReferenceLineValueLabelRelativePosition = - | "BEFORE_CUSTOM_LABEL" - | "AFTER_CUSTOM_LABEL"; +export type ReferenceLineValueLabelRelativePosition = "BEFORE_CUSTOM_LABEL" | "AFTER_CUSTOM_LABEL"; export interface RefreshConfiguration { IncrementalRefresh: IncrementalRefresh; } @@ -9886,13 +7707,7 @@ export interface RefreshFrequency { Timezone?: string; TimeOfTheDay?: string; } -export type RefreshInterval = - | "MINUTE15" - | "MINUTE30" - | "HOURLY" - | "DAILY" - | "WEEKLY" - | "MONTHLY"; +export type RefreshInterval = "MINUTE15" | "MINUTE30" | "HOURLY" | "DAILY" | "WEEKLY" | "MONTHLY"; export interface RefreshSchedule { ScheduleId: string; ScheduleFrequency: RefreshFrequency; @@ -9999,12 +7814,7 @@ export interface RelativeDateTimeControlDisplayOptions { InfoIconLabelOptions?: SheetControlInfoIconLabelOptions; } export type RelativeDateType = "PREVIOUS" | "THIS" | "LAST" | "NOW" | "NEXT"; -export type RelativeFontSize = - | "EXTRA_SMALL" - | "SMALL" - | "MEDIUM" - | "LARGE" - | "EXTRA_LARGE"; +export type RelativeFontSize = "EXTRA_SMALL" | "SMALL" | "MEDIUM" | "LARGE" | "EXTRA_LARGE"; export interface RenameColumnOperation { ColumnName: string; NewColumnName: string; @@ -10035,14 +7845,7 @@ export interface ResourcePermission { Actions: Array; } export type ResourcePermissionList = Array; -export type ResourceStatus = - | "CREATION_IN_PROGRESS" - | "CREATION_SUCCESSFUL" - | "CREATION_FAILED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_SUCCESSFUL" - | "UPDATE_FAILED" - | "DELETED"; +export type ResourceStatus = "CREATION_IN_PROGRESS" | "CREATION_SUCCESSFUL" | "CREATION_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_SUCCESSFUL" | "UPDATE_FAILED" | "DELETED"; export declare class ResourceUnavailableException extends EffectData.TaggedError( "ResourceUnavailableException", )<{ @@ -10064,21 +7867,8 @@ export interface RestoreAnalysisResponse { } export type RestrictiveResourceId = string; -export type ReviewedAnswerErrorCode = - | "INTERNAL_ERROR" - | "MISSING_ANSWER" - | "DATASET_DOES_NOT_EXIST" - | "INVALID_DATASET_ARN" - | "DUPLICATED_ANSWER" - | "INVALID_DATA" - | "MISSING_REQUIRED_FIELDS"; -export type Role = - | "ADMIN" - | "AUTHOR" - | "READER" - | "ADMIN_PRO" - | "AUTHOR_PRO" - | "READER_PRO"; +export type ReviewedAnswerErrorCode = "INTERNAL_ERROR" | "MISSING_ANSWER" | "DATASET_DOES_NOT_EXIST" | "INVALID_DATASET_ARN" | "DUPLICATED_ANSWER" | "INVALID_DATA" | "MISSING_REQUIRED_FIELDS"; +export type Role = "ADMIN" | "AUTHOR" | "READER" | "ADMIN_PRO" | "AUTHOR_PRO" | "READER_PRO"; export type RoleArn = string; export type RoleName = string; @@ -10464,8 +8254,7 @@ export interface SetParameterValueConfiguration { DestinationParameterName: string; Value: DestinationParameterValueConfiguration; } -export type SetParameterValueConfigurationList = - Array; +export type SetParameterValueConfigurationList = Array; export interface ShapeConditionalFormat { BackgroundColor: ConditionalFormattingColor; } @@ -10539,11 +8328,7 @@ export type SheetImageList = Array; export interface SheetImageScalingConfiguration { ScalingType?: SheetImageScalingType; } -export type SheetImageScalingType = - | "SCALE_TO_WIDTH" - | "SCALE_TO_HEIGHT" - | "SCALE_TO_CONTAINER" - | "SCALE_NONE"; +export type SheetImageScalingType = "SCALE_TO_WIDTH" | "SCALE_TO_HEIGHT" | "SCALE_TO_CONTAINER" | "SCALE_NONE"; export interface SheetImageSource { SheetImageStaticFileSource?: SheetImageStaticFileSource; } @@ -10582,8 +8367,7 @@ export interface SheetVisualScopingConfiguration { Scope: FilterVisualScope; VisualIds?: Array; } -export type SheetVisualScopingConfigurations = - Array; +export type SheetVisualScopingConfigurations = Array; export interface ShortFormatText { PlainText?: string; RichText?: string; @@ -10604,25 +8388,8 @@ export type SimpleAttributeAggregationFunction = "UNIQUE_VALUE"; export interface SimpleClusterMarker { Color?: string; } -export type SimpleNumericalAggregationFunction = - | "SUM" - | "AVERAGE" - | "MIN" - | "MAX" - | "COUNT" - | "DISTINCT_COUNT" - | "VAR" - | "VARP" - | "STDEV" - | "STDEVP" - | "MEDIAN"; -export type SimpleTotalAggregationFunction = - | "DEFAULT" - | "SUM" - | "AVERAGE" - | "MIN" - | "MAX" - | "NONE"; +export type SimpleNumericalAggregationFunction = "SUM" | "AVERAGE" | "MIN" | "MAX" | "COUNT" | "DISTINCT_COUNT" | "VAR" | "VARP" | "STDEV" | "STDEVP" | "MEDIAN"; +export type SimpleTotalAggregationFunction = "DEFAULT" | "SUM" | "AVERAGE" | "MIN" | "MAX" | "NONE"; export interface SingleAxisOptions { YAxisOptions?: YAxisOptions; } @@ -10659,8 +8426,7 @@ export type SnapshotAnonymousUserList = Array; export interface SnapshotAnonymousUserRedacted { RowLevelPermissionTagKeys?: Array; } -export type SnapshotAnonymousUserRedactedList = - Array; +export type SnapshotAnonymousUserRedactedList = Array; export interface SnapshotConfiguration { FileGroups: Array; DestinationConfiguration?: SnapshotDestinationConfiguration; @@ -10685,9 +8451,7 @@ export interface SnapshotFileSheetSelection { VisualIds?: Array; } export type SnapshotFileSheetSelectionList = Array; -export type SnapshotFileSheetSelectionScope = - | "ALL_VISUALS" - | "SELECTED_VISUALS"; +export type SnapshotFileSheetSelectionScope = "ALL_VISUALS" | "SELECTED_VISUALS"; export type SnapshotFileSheetSelectionVisualIdList = Array; export interface SnapshotJobErrorInfo { ErrorMessage?: string; @@ -10716,8 +8480,7 @@ export type SnapshotJobStatus = "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED"; export interface SnapshotS3DestinationConfiguration { BucketConfiguration: S3BucketConfiguration; } -export type SnapshotS3DestinationConfigurationList = - Array; +export type SnapshotS3DestinationConfigurationList = Array; export interface SnapshotUserConfiguration { AnonymousUsers?: Array; } @@ -10908,8 +8671,7 @@ export interface SucceededTopicReviewedAnswer { AnswerId?: string; } export type SucceededTopicReviewedAnswers = Array; -export type SuccessfulKeyRegistrationEntries = - Array; +export type SuccessfulKeyRegistrationEntries = Array; export interface SuccessfulKeyRegistrationEntry { KeyArn: string; StatusCode: number; @@ -10933,10 +8695,7 @@ export interface TableCellConditionalFormatting { FieldId: string; TextFormat?: TextConditionalFormat; } -export type TableCellImageScalingConfiguration = - | "FIT_TO_CELL_HEIGHT" - | "FIT_TO_CELL_WIDTH" - | "DO_NOT_SCALE"; +export type TableCellImageScalingConfiguration = "FIT_TO_CELL_HEIGHT" | "FIT_TO_CELL_WIDTH" | "DO_NOT_SCALE"; export interface TableCellImageSizingConfiguration { TableCellImageScalingConfiguration?: TableCellImageScalingConfiguration; } @@ -10957,8 +8716,7 @@ export interface TableConditionalFormattingOption { Cell?: TableCellConditionalFormatting; Row?: TableRowConditionalFormatting; } -export type TableConditionalFormattingOptionList = - Array; +export type TableConditionalFormattingOptionList = Array; export interface TableConfiguration { FieldWells?: TableFieldWells; SortConfiguration?: TableSortConfiguration; @@ -11110,11 +8868,7 @@ export interface TemplateError { ViolatedEntities?: Array; } export type TemplateErrorList = Array; -export type TemplateErrorType = - | "SOURCE_NOT_FOUND" - | "DATA_SET_NOT_FOUND" - | "INTERNAL_FAILURE" - | "ACCESS_DENIED"; +export type TemplateErrorType = "SOURCE_NOT_FOUND" | "DATA_SET_NOT_FOUND" | "INTERNAL_FAILURE" | "ACCESS_DENIED"; export type TemplateName = string; export interface TemplateSourceAnalysis { @@ -11296,16 +9050,7 @@ export interface TimeEqualityFilter { RollingDate?: RollingDateConfiguration; DefaultFilterControlConfiguration?: DefaultFilterControlConfiguration; } -export type TimeGranularity = - | "YEAR" - | "QUARTER" - | "MONTH" - | "WEEK" - | "DAY" - | "HOUR" - | "MINUTE" - | "SECOND" - | "MILLISECOND"; +export type TimeGranularity = "YEAR" | "QUARTER" | "MONTH" | "WEEK" | "DAY" | "HOUR" | "MINUTE" | "SECOND" | "MILLISECOND"; export interface TimeRangeDrillDownFilter { Column: ColumnIdentifier; RangeMinimum: Date | string; @@ -11466,14 +9211,7 @@ export interface TopicFilter { RelativeDateFilter?: TopicRelativeDateFilter; NullFilter?: TopicNullFilter; } -export type TopicFilterAttribute = - | "QUICKSIGHT_USER" - | "QUICKSIGHT_VIEWER_OR_OWNER" - | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" - | "QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_OWNER" - | "DIRECT_QUICKSIGHT_SOLE_OWNER" - | "TOPIC_NAME"; +export type TopicFilterAttribute = "QUICKSIGHT_USER" | "QUICKSIGHT_VIEWER_OR_OWNER" | "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER" | "QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_OWNER" | "DIRECT_QUICKSIGHT_SOLE_OWNER" | "TOPIC_NAME"; export type TopicFilterOperator = "StringEquals" | "StringLike"; export type TopicFilters = Array; export type TopicId = string; @@ -11498,17 +9236,7 @@ export interface TopicIRContributionAnalysis { SortType?: ContributionAnalysisSortType; } export type TopicIRFilterEntry = Array; -export type TopicIRFilterFunction = - | "CONTAINS" - | "EXACT" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS_STRING" - | "PREVIOUS" - | "THIS" - | "LAST" - | "NEXT" - | "NOW"; +export type TopicIRFilterFunction = "CONTAINS" | "EXACT" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS_STRING" | "PREVIOUS" | "THIS" | "LAST" | "NEXT" | "NOW"; export type TopicIRFilterList = Array>; export interface TopicIRFilterOption { FilterType?: TopicIRFilterType; @@ -11530,16 +9258,7 @@ export interface TopicIRFilterOption { SortDirection?: TopicSortDirection; Anchor?: Anchor; } -export type TopicIRFilterType = - | "CATEGORY_FILTER" - | "NUMERIC_EQUALITY_FILTER" - | "NUMERIC_RANGE_FILTER" - | "DATE_RANGE_FILTER" - | "RELATIVE_DATE_FILTER" - | "TOP_BOTTOM_FILTER" - | "EQUALS" - | "RANK_LIMIT_FILTER" - | "ACCEPT_ALL_FILTER"; +export type TopicIRFilterType = "CATEGORY_FILTER" | "NUMERIC_EQUALITY_FILTER" | "NUMERIC_RANGE_FILTER" | "DATE_RANGE_FILTER" | "RELATIVE_DATE_FILTER" | "TOP_BOTTOM_FILTER" | "EQUALS" | "RANK_LIMIT_FILTER" | "ACCEPT_ALL_FILTER"; export interface TopicIRGroupBy { FieldName?: Identifier; TimeGranularity?: TopicTimeGranularity; @@ -11608,23 +9327,13 @@ export interface TopicRefreshScheduleSummary { DatasetName?: string; RefreshSchedule?: TopicRefreshSchedule; } -export type TopicRefreshStatus = - | "INITIALIZED" - | "RUNNING" - | "FAILED" - | "COMPLETED" - | "CANCELLED"; +export type TopicRefreshStatus = "INITIALIZED" | "RUNNING" | "FAILED" | "COMPLETED" | "CANCELLED"; export interface TopicRelativeDateFilter { TimeGranularity?: TopicTimeGranularity; RelativeDateFilterFunction?: TopicRelativeDateFilterFunction; Constant?: TopicSingularFilterConstant; } -export type TopicRelativeDateFilterFunction = - | "PREVIOUS" - | "THIS" - | "LAST" - | "NEXT" - | "NOW"; +export type TopicRelativeDateFilterFunction = "PREVIOUS" | "THIS" | "LAST" | "NEXT" | "NOW"; export interface TopicReviewedAnswer { Arn?: string; AnswerId: string; @@ -11662,15 +9371,7 @@ export interface TopicTemplate { TemplateType?: string; Slots?: Array; } -export type TopicTimeGranularity = - | "SECOND" - | "MINUTE" - | "HOUR" - | "DAY" - | "WEEK" - | "MONTH" - | "QUARTER" - | "YEAR"; +export type TopicTimeGranularity = "SECOND" | "MINUTE" | "HOUR" | "DAY" | "WEEK" | "MONTH" | "QUARTER" | "YEAR"; export type TopicUserExperienceVersion = "LEGACY" | "NEW_READER_EXPERIENCE"; export interface TopicVisual { VisualId?: string; @@ -11711,17 +9412,7 @@ interface _TransformOperation { OverrideDatasetParameterOperation?: OverrideDatasetParameterOperation; } -export type TransformOperation = - | (_TransformOperation & { ProjectOperation: ProjectOperation }) - | (_TransformOperation & { FilterOperation: FilterOperation }) - | (_TransformOperation & { CreateColumnsOperation: CreateColumnsOperation }) - | (_TransformOperation & { RenameColumnOperation: RenameColumnOperation }) - | (_TransformOperation & { CastColumnTypeOperation: CastColumnTypeOperation }) - | (_TransformOperation & { TagColumnOperation: TagColumnOperation }) - | (_TransformOperation & { UntagColumnOperation: UntagColumnOperation }) - | (_TransformOperation & { - OverrideDatasetParameterOperation: OverrideDatasetParameterOperation; - }); +export type TransformOperation = (_TransformOperation & { ProjectOperation: ProjectOperation }) | (_TransformOperation & { FilterOperation: FilterOperation }) | (_TransformOperation & { CreateColumnsOperation: CreateColumnsOperation }) | (_TransformOperation & { RenameColumnOperation: RenameColumnOperation }) | (_TransformOperation & { CastColumnTypeOperation: CastColumnTypeOperation }) | (_TransformOperation & { TagColumnOperation: TagColumnOperation }) | (_TransformOperation & { UntagColumnOperation: UntagColumnOperation }) | (_TransformOperation & { OverrideDatasetParameterOperation: OverrideDatasetParameterOperation }); export type TransformOperationList = Array; export type TransposedColumnIndex = number; @@ -12466,15 +10157,7 @@ export interface User { export type UserList = Array; export type UserName = string; -export type UserRole = - | "ADMIN" - | "AUTHOR" - | "READER" - | "RESTRICTED_AUTHOR" - | "RESTRICTED_READER" - | "ADMIN_PRO" - | "AUTHOR_PRO" - | "READER_PRO"; +export type UserRole = "ADMIN" | "AUTHOR" | "READER" | "RESTRICTED_AUTHOR" | "RESTRICTED_READER" | "ADMIN_PRO" | "AUTHOR_PRO" | "READER_PRO"; export interface ValidationStrategy { Mode: ValidationStrategyMode; } @@ -12542,16 +10225,12 @@ export interface VisualCustomActionOperation { URLOperation?: CustomActionURLOperation; SetParametersOperation?: CustomActionSetParametersOperation; } -export type VisualCustomActionOperationList = - Array; +export type VisualCustomActionOperationList = Array; export type VisualCustomActionTrigger = "DATA_POINT_CLICK" | "DATA_POINT_MENU"; export interface VisualHighlightOperation { Trigger: VisualHighlightTrigger; } -export type VisualHighlightTrigger = - | "DATA_POINT_CLICK" - | "DATA_POINT_HOVER" - | "NONE"; +export type VisualHighlightTrigger = "DATA_POINT_CLICK" | "DATA_POINT_HOVER" | "NONE"; export interface VisualInteractionOptions { VisualMenuOption?: VisualMenuOption; ContextMenuOption?: ContextMenuOption; @@ -12567,12 +10246,7 @@ export interface VisualPalette { ChartColor?: string; ColorMap?: Array; } -export type VisualRole = - | "PRIMARY" - | "COMPLIMENTARY" - | "MULTI_INTENT" - | "FALLBACK" - | "FRAGMENT"; +export type VisualRole = "PRIMARY" | "COMPLIMENTARY" | "MULTI_INTENT" | "FALLBACK" | "FRAGMENT"; export type VisualSubtitle = string; export interface VisualSubtitleLabelOptions { @@ -12599,10 +10273,7 @@ export interface VPCConnection { CreatedTime?: Date | string; LastUpdatedTime?: Date | string; } -export type VPCConnectionAvailabilityStatus = - | "AVAILABLE" - | "UNAVAILABLE" - | "PARTIALLY_AVAILABLE"; +export type VPCConnectionAvailabilityStatus = "AVAILABLE" | "UNAVAILABLE" | "PARTIALLY_AVAILABLE"; export interface VpcConnectionProperties { VpcConnectionArn: string; } @@ -12610,16 +10281,7 @@ export type VPCConnectionResourceIdRestricted = string; export type VPCConnectionResourceIdUnrestricted = string; -export type VPCConnectionResourceStatus = - | "CREATION_IN_PROGRESS" - | "CREATION_SUCCESSFUL" - | "CREATION_FAILED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_SUCCESSFUL" - | "UPDATE_FAILED" - | "DELETION_IN_PROGRESS" - | "DELETION_FAILED" - | "DELETED"; +export type VPCConnectionResourceStatus = "CREATION_IN_PROGRESS" | "CREATION_SUCCESSFUL" | "CREATION_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_SUCCESSFUL" | "UPDATE_FAILED" | "DELETION_IN_PROGRESS" | "DELETION_FAILED" | "DELETED"; export interface VPCConnectionSummary { VPCConnectionId?: string; Arn?: string; @@ -15817,26 +13479,5 @@ export declare namespace UpdateVPCConnection { | CommonAwsError; } -export type QuickSightErrors = - | AccessDeniedException - | ConcurrentUpdatingException - | ConflictException - | CustomerManagedKeyUnavailableException - | DomainNotWhitelistedException - | IdentityTypeNotSupportedException - | InternalFailureException - | InternalServerException - | InvalidNextTokenException - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | PreconditionNotMetException - | QuickSightUserNotFoundException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | SessionLifetimeInMinutesInvalidException - | ThrottlingException - | UnsupportedPricingPlanException - | UnsupportedUserEditionException - | CommonAwsError; +export type QuickSightErrors = AccessDeniedException | ConcurrentUpdatingException | ConflictException | CustomerManagedKeyUnavailableException | DomainNotWhitelistedException | IdentityTypeNotSupportedException | InternalFailureException | InternalServerException | InvalidNextTokenException | InvalidParameterValueException | InvalidRequestException | LimitExceededException | PreconditionNotMetException | QuickSightUserNotFoundException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | SessionLifetimeInMinutesInvalidException | ThrottlingException | UnsupportedPricingPlanException | UnsupportedUserEditionException | CommonAwsError; + diff --git a/src/services/ram/index.ts b/src/services/ram/index.ts index 86cd277f..dbcb8eb6 100644 --- a/src/services/ram/index.ts +++ b/src/services/ram/index.ts @@ -5,25 +5,7 @@ import type { RAM as _RAMClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,44 +15,40 @@ const metadata = { sigV4ServiceName: "ram", endpointPrefix: "ram", operations: { - AcceptResourceShareInvitation: "POST /acceptresourceshareinvitation", - AssociateResourceShare: "POST /associateresourceshare", - AssociateResourceSharePermission: "POST /associateresourcesharepermission", - CreatePermission: "POST /createpermission", - CreatePermissionVersion: "POST /createpermissionversion", - CreateResourceShare: "POST /createresourceshare", - DeletePermission: "DELETE /deletepermission", - DeletePermissionVersion: "DELETE /deletepermissionversion", - DeleteResourceShare: "DELETE /deleteresourceshare", - DisassociateResourceShare: "POST /disassociateresourceshare", - DisassociateResourceSharePermission: - "POST /disassociateresourcesharepermission", - EnableSharingWithAwsOrganization: "POST /enablesharingwithawsorganization", - GetPermission: "POST /getpermission", - GetResourcePolicies: "POST /getresourcepolicies", - GetResourceShareAssociations: "POST /getresourceshareassociations", - GetResourceShareInvitations: "POST /getresourceshareinvitations", - GetResourceShares: "POST /getresourceshares", - ListPendingInvitationResources: "POST /listpendinginvitationresources", - ListPermissionAssociations: "POST /listpermissionassociations", - ListPermissions: "POST /listpermissions", - ListPermissionVersions: "POST /listpermissionversions", - ListPrincipals: "POST /listprincipals", - ListReplacePermissionAssociationsWork: - "POST /listreplacepermissionassociationswork", - ListResources: "POST /listresources", - ListResourceSharePermissions: "POST /listresourcesharepermissions", - ListResourceTypes: "POST /listresourcetypes", - PromotePermissionCreatedFromPolicy: - "POST /promotepermissioncreatedfrompolicy", - PromoteResourceShareCreatedFromPolicy: - "POST /promoteresourcesharecreatedfrompolicy", - RejectResourceShareInvitation: "POST /rejectresourceshareinvitation", - ReplacePermissionAssociations: "POST /replacepermissionassociations", - SetDefaultPermissionVersion: "POST /setdefaultpermissionversion", - TagResource: "POST /tagresource", - UntagResource: "POST /untagresource", - UpdateResourceShare: "POST /updateresourceshare", + "AcceptResourceShareInvitation": "POST /acceptresourceshareinvitation", + "AssociateResourceShare": "POST /associateresourceshare", + "AssociateResourceSharePermission": "POST /associateresourcesharepermission", + "CreatePermission": "POST /createpermission", + "CreatePermissionVersion": "POST /createpermissionversion", + "CreateResourceShare": "POST /createresourceshare", + "DeletePermission": "DELETE /deletepermission", + "DeletePermissionVersion": "DELETE /deletepermissionversion", + "DeleteResourceShare": "DELETE /deleteresourceshare", + "DisassociateResourceShare": "POST /disassociateresourceshare", + "DisassociateResourceSharePermission": "POST /disassociateresourcesharepermission", + "EnableSharingWithAwsOrganization": "POST /enablesharingwithawsorganization", + "GetPermission": "POST /getpermission", + "GetResourcePolicies": "POST /getresourcepolicies", + "GetResourceShareAssociations": "POST /getresourceshareassociations", + "GetResourceShareInvitations": "POST /getresourceshareinvitations", + "GetResourceShares": "POST /getresourceshares", + "ListPendingInvitationResources": "POST /listpendinginvitationresources", + "ListPermissionAssociations": "POST /listpermissionassociations", + "ListPermissions": "POST /listpermissions", + "ListPermissionVersions": "POST /listpermissionversions", + "ListPrincipals": "POST /listprincipals", + "ListReplacePermissionAssociationsWork": "POST /listreplacepermissionassociationswork", + "ListResources": "POST /listresources", + "ListResourceSharePermissions": "POST /listresourcesharepermissions", + "ListResourceTypes": "POST /listresourcetypes", + "PromotePermissionCreatedFromPolicy": "POST /promotepermissioncreatedfrompolicy", + "PromoteResourceShareCreatedFromPolicy": "POST /promoteresourcesharecreatedfrompolicy", + "RejectResourceShareInvitation": "POST /rejectresourceshareinvitation", + "ReplacePermissionAssociations": "POST /replacepermissionassociations", + "SetDefaultPermissionVersion": "POST /setdefaultpermissionversion", + "TagResource": "POST /tagresource", + "UntagResource": "POST /untagresource", + "UpdateResourceShare": "POST /updateresourceshare", }, } as const satisfies ServiceMetadata; diff --git a/src/services/ram/types.ts b/src/services/ram/types.ts index 53ae4958..2361a4ca 100644 --- a/src/services/ram/types.ts +++ b/src/services/ram/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class RAM extends AWSServiceClient { @@ -42,461 +8,205 @@ export declare class RAM extends AWSServiceClient { input: AcceptResourceShareInvitationRequest, ): Effect.Effect< AcceptResourceShareInvitationResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | MalformedArnException - | OperationNotPermittedException - | ResourceShareInvitationAlreadyAcceptedException - | ResourceShareInvitationAlreadyRejectedException - | ResourceShareInvitationArnNotFoundException - | ResourceShareInvitationExpiredException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | MalformedArnException | OperationNotPermittedException | ResourceShareInvitationAlreadyAcceptedException | ResourceShareInvitationAlreadyRejectedException | ResourceShareInvitationArnNotFoundException | ResourceShareInvitationExpiredException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; associateResourceShare( input: AssociateResourceShareRequest, ): Effect.Effect< AssociateResourceShareResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | InvalidStateTransitionException - | MalformedArnException - | OperationNotPermittedException - | ResourceShareLimitExceededException - | ServerInternalException - | ServiceUnavailableException - | ThrottlingException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | InvalidStateTransitionException | MalformedArnException | OperationNotPermittedException | ResourceShareLimitExceededException | ServerInternalException | ServiceUnavailableException | ThrottlingException | UnknownResourceException | CommonAwsError >; associateResourceSharePermission( input: AssociateResourceSharePermissionRequest, ): Effect.Effect< AssociateResourceSharePermissionResponse, - | InvalidClientTokenException - | InvalidParameterException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidClientTokenException | InvalidParameterException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; createPermission( input: CreatePermissionRequest, ): Effect.Effect< CreatePermissionResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | InvalidPolicyException - | MalformedPolicyTemplateException - | OperationNotPermittedException - | PermissionAlreadyExistsException - | PermissionLimitExceededException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | InvalidPolicyException | MalformedPolicyTemplateException | OperationNotPermittedException | PermissionAlreadyExistsException | PermissionLimitExceededException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; createPermissionVersion( input: CreatePermissionVersionRequest, ): Effect.Effect< CreatePermissionVersionResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | InvalidPolicyException - | MalformedArnException - | MalformedPolicyTemplateException - | PermissionVersionsLimitExceededException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | InvalidPolicyException | MalformedArnException | MalformedPolicyTemplateException | PermissionVersionsLimitExceededException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; createResourceShare( input: CreateResourceShareRequest, ): Effect.Effect< CreateResourceShareResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | InvalidStateTransitionException - | MalformedArnException - | OperationNotPermittedException - | ResourceShareLimitExceededException - | ServerInternalException - | ServiceUnavailableException - | TagLimitExceededException - | TagPolicyViolationException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | InvalidStateTransitionException | MalformedArnException | OperationNotPermittedException | ResourceShareLimitExceededException | ServerInternalException | ServiceUnavailableException | TagLimitExceededException | TagPolicyViolationException | UnknownResourceException | CommonAwsError >; deletePermission( input: DeletePermissionRequest, ): Effect.Effect< DeletePermissionResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; deletePermissionVersion( input: DeletePermissionVersionRequest, ): Effect.Effect< DeletePermissionVersionResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; deleteResourceShare( input: DeleteResourceShareRequest, ): Effect.Effect< DeleteResourceShareResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | InvalidStateTransitionException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | InvalidStateTransitionException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; disassociateResourceShare( input: DisassociateResourceShareRequest, ): Effect.Effect< DisassociateResourceShareResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | InvalidStateTransitionException - | MalformedArnException - | OperationNotPermittedException - | ResourceShareLimitExceededException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | InvalidStateTransitionException | MalformedArnException | OperationNotPermittedException | ResourceShareLimitExceededException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; disassociateResourceSharePermission( input: DisassociateResourceSharePermissionRequest, ): Effect.Effect< DisassociateResourceSharePermissionResponse, - | InvalidClientTokenException - | InvalidParameterException - | InvalidStateTransitionException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidClientTokenException | InvalidParameterException | InvalidStateTransitionException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; enableSharingWithAwsOrganization( input: EnableSharingWithAwsOrganizationRequest, ): Effect.Effect< EnableSharingWithAwsOrganizationResponse, - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; getPermission( input: GetPermissionRequest, ): Effect.Effect< GetPermissionResponse, - | InvalidParameterException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidParameterException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; getResourcePolicies( input: GetResourcePoliciesRequest, ): Effect.Effect< GetResourcePoliciesResponse, - | InvalidNextTokenException - | InvalidParameterException - | MalformedArnException - | ResourceArnNotFoundException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | MalformedArnException | ResourceArnNotFoundException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; getResourceShareAssociations( input: GetResourceShareAssociationsRequest, ): Effect.Effect< GetResourceShareAssociationsResponse, - | InvalidNextTokenException - | InvalidParameterException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; getResourceShareInvitations( input: GetResourceShareInvitationsRequest, ): Effect.Effect< GetResourceShareInvitationsResponse, - | InvalidMaxResultsException - | InvalidNextTokenException - | InvalidParameterException - | MalformedArnException - | ResourceShareInvitationArnNotFoundException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidMaxResultsException | InvalidNextTokenException | InvalidParameterException | MalformedArnException | ResourceShareInvitationArnNotFoundException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; getResourceShares( input: GetResourceSharesRequest, ): Effect.Effect< GetResourceSharesResponse, - | InvalidNextTokenException - | InvalidParameterException - | MalformedArnException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | MalformedArnException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; listPendingInvitationResources( input: ListPendingInvitationResourcesRequest, ): Effect.Effect< ListPendingInvitationResourcesResponse, - | InvalidNextTokenException - | InvalidParameterException - | MalformedArnException - | MissingRequiredParameterException - | ResourceShareInvitationAlreadyRejectedException - | ResourceShareInvitationArnNotFoundException - | ResourceShareInvitationExpiredException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | MalformedArnException | MissingRequiredParameterException | ResourceShareInvitationAlreadyRejectedException | ResourceShareInvitationArnNotFoundException | ResourceShareInvitationExpiredException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; listPermissionAssociations( input: ListPermissionAssociationsRequest, ): Effect.Effect< ListPermissionAssociationsResponse, - | InvalidNextTokenException - | InvalidParameterException - | MalformedArnException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | MalformedArnException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; listPermissions( input: ListPermissionsRequest, ): Effect.Effect< ListPermissionsResponse, - | InvalidNextTokenException - | InvalidParameterException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; listPermissionVersions( input: ListPermissionVersionsRequest, ): Effect.Effect< ListPermissionVersionsResponse, - | InvalidNextTokenException - | InvalidParameterException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; listPrincipals( input: ListPrincipalsRequest, ): Effect.Effect< ListPrincipalsResponse, - | InvalidNextTokenException - | InvalidParameterException - | MalformedArnException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | MalformedArnException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; listReplacePermissionAssociationsWork( input: ListReplacePermissionAssociationsWorkRequest, ): Effect.Effect< ListReplacePermissionAssociationsWorkResponse, - | InvalidNextTokenException - | InvalidParameterException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; listResources( input: ListResourcesRequest, ): Effect.Effect< ListResourcesResponse, - | InvalidNextTokenException - | InvalidParameterException - | InvalidResourceTypeException - | MalformedArnException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | InvalidResourceTypeException | MalformedArnException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; listResourceSharePermissions( input: ListResourceSharePermissionsRequest, ): Effect.Effect< ListResourceSharePermissionsResponse, - | InvalidNextTokenException - | InvalidParameterException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; listResourceTypes( input: ListResourceTypesRequest, ): Effect.Effect< ListResourceTypesResponse, - | InvalidNextTokenException - | InvalidParameterException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + InvalidNextTokenException | InvalidParameterException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; promotePermissionCreatedFromPolicy( input: PromotePermissionCreatedFromPolicyRequest, ): Effect.Effect< PromotePermissionCreatedFromPolicyResponse, - | InvalidParameterException - | MalformedArnException - | MissingRequiredParameterException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidParameterException | MalformedArnException | MissingRequiredParameterException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; promoteResourceShareCreatedFromPolicy( input: PromoteResourceShareCreatedFromPolicyRequest, ): Effect.Effect< PromoteResourceShareCreatedFromPolicyResponse, - | InvalidParameterException - | InvalidStateTransitionException - | MalformedArnException - | MissingRequiredParameterException - | OperationNotPermittedException - | ResourceShareLimitExceededException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | UnmatchedPolicyPermissionException - | CommonAwsError + InvalidParameterException | InvalidStateTransitionException | MalformedArnException | MissingRequiredParameterException | OperationNotPermittedException | ResourceShareLimitExceededException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | UnmatchedPolicyPermissionException | CommonAwsError >; rejectResourceShareInvitation( input: RejectResourceShareInvitationRequest, ): Effect.Effect< RejectResourceShareInvitationResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | MalformedArnException - | OperationNotPermittedException - | ResourceShareInvitationAlreadyAcceptedException - | ResourceShareInvitationAlreadyRejectedException - | ResourceShareInvitationArnNotFoundException - | ResourceShareInvitationExpiredException - | ServerInternalException - | ServiceUnavailableException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | MalformedArnException | OperationNotPermittedException | ResourceShareInvitationAlreadyAcceptedException | ResourceShareInvitationAlreadyRejectedException | ResourceShareInvitationArnNotFoundException | ResourceShareInvitationExpiredException | ServerInternalException | ServiceUnavailableException | CommonAwsError >; replacePermissionAssociations( input: ReplacePermissionAssociationsRequest, ): Effect.Effect< ReplacePermissionAssociationsResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | MalformedArnException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | MalformedArnException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; setDefaultPermissionVersion( input: SetDefaultPermissionVersionRequest, ): Effect.Effect< SetDefaultPermissionVersionResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | MalformedArnException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | MalformedArnException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidParameterException - | MalformedArnException - | ResourceArnNotFoundException - | ServerInternalException - | ServiceUnavailableException - | TagLimitExceededException - | TagPolicyViolationException - | UnknownResourceException - | CommonAwsError + InvalidParameterException | MalformedArnException | ResourceArnNotFoundException | ServerInternalException | ServiceUnavailableException | TagLimitExceededException | TagPolicyViolationException | UnknownResourceException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InvalidParameterException - | MalformedArnException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + InvalidParameterException | MalformedArnException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; updateResourceShare( input: UpdateResourceShareRequest, ): Effect.Effect< UpdateResourceShareResponse, - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidParameterException - | MalformedArnException - | MissingRequiredParameterException - | OperationNotPermittedException - | ServerInternalException - | ServiceUnavailableException - | UnknownResourceException - | CommonAwsError + IdempotentParameterMismatchException | InvalidClientTokenException | InvalidParameterException | MalformedArnException | MissingRequiredParameterException | OperationNotPermittedException | ServerInternalException | ServiceUnavailableException | UnknownResourceException | CommonAwsError >; } @@ -628,7 +338,8 @@ export interface DisassociateResourceShareResponse { resourceShareAssociations?: Array; clientToken?: string; } -export interface EnableSharingWithAwsOrganizationRequest {} +export interface EnableSharingWithAwsOrganizationRequest { +} export interface EnableSharingWithAwsOrganizationResponse { returnValue?: boolean; } @@ -855,10 +566,7 @@ export declare class PermissionAlreadyExistsException extends EffectData.TaggedE readonly message: string; }> {} export type PermissionArnList = Array; -export type PermissionFeatureSet = - | "CREATED_FROM_POLICY" - | "PROMOTING_TO_STANDARD" - | "STANDARD"; +export type PermissionFeatureSet = "CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD"; export declare class PermissionLimitExceededException extends EffectData.TaggedError( "PermissionLimitExceededException", )<{ @@ -866,11 +574,7 @@ export declare class PermissionLimitExceededException extends EffectData.TaggedE }> {} export type PermissionName = string; -export type PermissionStatus = - | "ATTACHABLE" - | "UNATTACHABLE" - | "DELETING" - | "DELETED"; +export type PermissionStatus = "ATTACHABLE" | "UNATTACHABLE" | "DELETING" | "DELETED"; export type PermissionType = "CUSTOMER_MANAGED" | "AWS_MANAGED"; export type PermissionTypeFilter = "ALL" | "AWS_MANAGED" | "CUSTOMER_MANAGED"; export declare class PermissionVersionsLimitExceededException extends EffectData.TaggedError( @@ -935,12 +639,8 @@ export interface ReplacePermissionAssociationsWork { lastUpdatedTime?: Date | string; } export type ReplacePermissionAssociationsWorkIdList = Array; -export type ReplacePermissionAssociationsWorkList = - Array; -export type ReplacePermissionAssociationsWorkStatus = - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED"; +export type ReplacePermissionAssociationsWorkList = Array; +export type ReplacePermissionAssociationsWorkStatus = "IN_PROGRESS" | "COMPLETED" | "FAILED"; export interface Resource { arn?: string; type?: string; @@ -987,17 +687,9 @@ export interface ResourceShareAssociation { external?: boolean; } export type ResourceShareAssociationList = Array; -export type ResourceShareAssociationStatus = - | "ASSOCIATING" - | "ASSOCIATED" - | "FAILED" - | "DISASSOCIATING" - | "DISASSOCIATED"; +export type ResourceShareAssociationStatus = "ASSOCIATING" | "ASSOCIATED" | "FAILED" | "DISASSOCIATING" | "DISASSOCIATED"; export type ResourceShareAssociationType = "PRINCIPAL" | "RESOURCE"; -export type ResourceShareFeatureSet = - | "CREATED_FROM_POLICY" - | "PROMOTING_TO_STANDARD" - | "STANDARD"; +export type ResourceShareFeatureSet = "CREATED_FROM_POLICY" | "PROMOTING_TO_STANDARD" | "STANDARD"; export interface ResourceShareInvitation { resourceShareInvitationArn?: string; resourceShareName?: string; @@ -1031,11 +723,7 @@ export declare class ResourceShareInvitationExpiredException extends EffectData. readonly message: string; }> {} export type ResourceShareInvitationList = Array; -export type ResourceShareInvitationStatus = - | "PENDING" - | "ACCEPTED" - | "REJECTED" - | "EXPIRED"; +export type ResourceShareInvitationStatus = "PENDING" | "ACCEPTED" | "REJECTED" | "EXPIRED"; export declare class ResourceShareLimitExceededException extends EffectData.TaggedError( "ResourceShareLimitExceededException", )<{ @@ -1072,18 +760,8 @@ export interface ResourceSharePermissionSummary { featureSet?: PermissionFeatureSet; tags?: Array; } -export type ResourceShareStatus = - | "PENDING" - | "ACTIVE" - | "FAILED" - | "DELETING" - | "DELETED"; -export type ResourceStatus = - | "AVAILABLE" - | "ZONAL_RESOURCE_INACCESSIBLE" - | "LIMIT_EXCEEDED" - | "UNAVAILABLE" - | "PENDING"; +export type ResourceShareStatus = "PENDING" | "ACTIVE" | "FAILED" | "DELETING" | "DELETED"; +export type ResourceStatus = "AVAILABLE" | "ZONAL_RESOURCE_INACCESSIBLE" | "LIMIT_EXCEEDED" | "UNAVAILABLE" | "PENDING"; export declare class ServerInternalException extends EffectData.TaggedError( "ServerInternalException", )<{ @@ -1140,7 +818,8 @@ export interface TagResourceRequest { tags: Array; resourceArn?: string; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TagValueList = Array; @@ -1164,7 +843,8 @@ export interface UntagResourceRequest { tagKeys: Array; resourceArn?: string; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateResourceShareRequest { resourceShareArn: string; name?: string; @@ -1669,33 +1349,5 @@ export declare namespace UpdateResourceShare { | CommonAwsError; } -export type RAMErrors = - | IdempotentParameterMismatchException - | InvalidClientTokenException - | InvalidMaxResultsException - | InvalidNextTokenException - | InvalidParameterException - | InvalidPolicyException - | InvalidResourceTypeException - | InvalidStateTransitionException - | MalformedArnException - | MalformedPolicyTemplateException - | MissingRequiredParameterException - | OperationNotPermittedException - | PermissionAlreadyExistsException - | PermissionLimitExceededException - | PermissionVersionsLimitExceededException - | ResourceArnNotFoundException - | ResourceShareInvitationAlreadyAcceptedException - | ResourceShareInvitationAlreadyRejectedException - | ResourceShareInvitationArnNotFoundException - | ResourceShareInvitationExpiredException - | ResourceShareLimitExceededException - | ServerInternalException - | ServiceUnavailableException - | TagLimitExceededException - | TagPolicyViolationException - | ThrottlingException - | UnknownResourceException - | UnmatchedPolicyPermissionException - | CommonAwsError; +export type RAMErrors = IdempotentParameterMismatchException | InvalidClientTokenException | InvalidMaxResultsException | InvalidNextTokenException | InvalidParameterException | InvalidPolicyException | InvalidResourceTypeException | InvalidStateTransitionException | MalformedArnException | MalformedPolicyTemplateException | MissingRequiredParameterException | OperationNotPermittedException | PermissionAlreadyExistsException | PermissionLimitExceededException | PermissionVersionsLimitExceededException | ResourceArnNotFoundException | ResourceShareInvitationAlreadyAcceptedException | ResourceShareInvitationAlreadyRejectedException | ResourceShareInvitationArnNotFoundException | ResourceShareInvitationExpiredException | ResourceShareLimitExceededException | ServerInternalException | ServiceUnavailableException | TagLimitExceededException | TagPolicyViolationException | ThrottlingException | UnknownResourceException | UnmatchedPolicyPermissionException | CommonAwsError; + diff --git a/src/services/rbin/index.ts b/src/services/rbin/index.ts index 246a6ec9..3aa66271 100644 --- a/src/services/rbin/index.ts +++ b/src/services/rbin/index.ts @@ -5,25 +5,7 @@ import type { rbin as _rbinClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,16 +15,16 @@ const metadata = { sigV4ServiceName: "rbin", endpointPrefix: "rbin", operations: { - CreateRule: "POST /rules", - DeleteRule: "DELETE /rules/{Identifier}", - GetRule: "GET /rules/{Identifier}", - ListRules: "POST /list-rules", - ListTagsForResource: "GET /tags/{ResourceArn}", - LockRule: "PATCH /rules/{Identifier}/lock", - TagResource: "POST /tags/{ResourceArn}", - UnlockRule: "PATCH /rules/{Identifier}/unlock", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateRule: "PATCH /rules/{Identifier}", + "CreateRule": "POST /rules", + "DeleteRule": "DELETE /rules/{Identifier}", + "GetRule": "GET /rules/{Identifier}", + "ListRules": "POST /list-rules", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "LockRule": "PATCH /rules/{Identifier}/lock", + "TagResource": "POST /tags/{ResourceArn}", + "UnlockRule": "PATCH /rules/{Identifier}/unlock", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateRule": "PATCH /rules/{Identifier}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/rbin/types.ts b/src/services/rbin/types.ts index c509ad47..a046d370 100644 --- a/src/services/rbin/types.ts +++ b/src/services/rbin/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class rbin extends AWSServiceClient { @@ -42,29 +8,19 @@ export declare class rbin extends AWSServiceClient { input: CreateRuleRequest, ): Effect.Effect< CreateRuleResponse, - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteRule( input: DeleteRuleRequest, ): Effect.Effect< DeleteRuleResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getRule( input: GetRuleRequest, ): Effect.Effect< GetRuleResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listRules( input: ListRulesRequest, @@ -76,60 +32,37 @@ export declare class rbin extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; lockRule( input: LockRuleRequest, ): Effect.Effect< LockRuleResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; unlockRule( input: UnlockRuleRequest, ): Effect.Effect< UnlockRuleResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateRule( input: UpdateRuleRequest, ): Effect.Effect< UpdateRuleResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; } @@ -167,7 +100,8 @@ export interface CreateRuleResponse { export interface DeleteRuleRequest { Identifier: string; } -export interface DeleteRuleResponse {} +export interface DeleteRuleResponse { +} export type Description = string; export type ErrorMessage = string; @@ -292,7 +226,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TimeStamp = Date | string; @@ -324,7 +259,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateRuleRequest { Identifier: string; RetentionPeriod?: RetentionPeriod; @@ -351,9 +287,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly Message?: string; readonly Reason?: ValidationExceptionReason; }> {} -export type ValidationExceptionReason = - | "INVALID_PAGE_TOKEN" - | "INVALID_PARAMETER_VALUE"; +export type ValidationExceptionReason = "INVALID_PAGE_TOKEN" | "INVALID_PARAMETER_VALUE"; export declare namespace CreateRule { export type Input = CreateRuleRequest; export type Output = CreateRuleResponse; @@ -459,10 +393,5 @@ export declare namespace UpdateRule { | CommonAwsError; } -export type rbinErrors = - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type rbinErrors = ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/rds-data/index.ts b/src/services/rds-data/index.ts index 54c12970..b19dcf8b 100644 --- a/src/services/rds-data/index.ts +++ b/src/services/rds-data/index.ts @@ -5,25 +5,7 @@ import type { RDSData as _RDSDataClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,12 +14,12 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "rds-data", operations: { - BatchExecuteStatement: "POST /BatchExecute", - BeginTransaction: "POST /BeginTransaction", - CommitTransaction: "POST /CommitTransaction", - ExecuteSql: "POST /ExecuteSql", - ExecuteStatement: "POST /Execute", - RollbackTransaction: "POST /RollbackTransaction", + "BatchExecuteStatement": "POST /BatchExecute", + "BeginTransaction": "POST /BeginTransaction", + "CommitTransaction": "POST /CommitTransaction", + "ExecuteSql": "POST /ExecuteSql", + "ExecuteStatement": "POST /Execute", + "RollbackTransaction": "POST /RollbackTransaction", }, } as const satisfies ServiceMetadata; diff --git a/src/services/rds-data/types.ts b/src/services/rds-data/types.ts index 2d2adb63..eae6489a 100644 --- a/src/services/rds-data/types.ts +++ b/src/services/rds-data/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class RDSData extends AWSServiceClient { @@ -42,118 +8,37 @@ export declare class RDSData extends AWSServiceClient { input: BatchExecuteStatementRequest, ): Effect.Effect< BatchExecuteStatementResponse, - | AccessDeniedException - | BadRequestException - | DatabaseErrorException - | DatabaseNotFoundException - | DatabaseResumingException - | DatabaseUnavailableException - | ForbiddenException - | HttpEndpointNotEnabledException - | InternalServerErrorException - | InvalidResourceStateException - | InvalidSecretException - | SecretsErrorException - | ServiceUnavailableError - | StatementTimeoutException - | TransactionNotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | DatabaseErrorException | DatabaseNotFoundException | DatabaseResumingException | DatabaseUnavailableException | ForbiddenException | HttpEndpointNotEnabledException | InternalServerErrorException | InvalidResourceStateException | InvalidSecretException | SecretsErrorException | ServiceUnavailableError | StatementTimeoutException | TransactionNotFoundException | CommonAwsError >; beginTransaction( input: BeginTransactionRequest, ): Effect.Effect< BeginTransactionResponse, - | AccessDeniedException - | BadRequestException - | DatabaseErrorException - | DatabaseNotFoundException - | DatabaseResumingException - | DatabaseUnavailableException - | ForbiddenException - | HttpEndpointNotEnabledException - | InternalServerErrorException - | InvalidResourceStateException - | InvalidSecretException - | SecretsErrorException - | ServiceUnavailableError - | StatementTimeoutException - | TransactionNotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | DatabaseErrorException | DatabaseNotFoundException | DatabaseResumingException | DatabaseUnavailableException | ForbiddenException | HttpEndpointNotEnabledException | InternalServerErrorException | InvalidResourceStateException | InvalidSecretException | SecretsErrorException | ServiceUnavailableError | StatementTimeoutException | TransactionNotFoundException | CommonAwsError >; commitTransaction( input: CommitTransactionRequest, ): Effect.Effect< CommitTransactionResponse, - | AccessDeniedException - | BadRequestException - | DatabaseErrorException - | DatabaseNotFoundException - | DatabaseUnavailableException - | ForbiddenException - | HttpEndpointNotEnabledException - | InternalServerErrorException - | InvalidResourceStateException - | InvalidSecretException - | NotFoundException - | SecretsErrorException - | ServiceUnavailableError - | StatementTimeoutException - | TransactionNotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | DatabaseErrorException | DatabaseNotFoundException | DatabaseUnavailableException | ForbiddenException | HttpEndpointNotEnabledException | InternalServerErrorException | InvalidResourceStateException | InvalidSecretException | NotFoundException | SecretsErrorException | ServiceUnavailableError | StatementTimeoutException | TransactionNotFoundException | CommonAwsError >; executeSql( input: ExecuteSqlRequest, ): Effect.Effect< ExecuteSqlResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableError - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableError | CommonAwsError >; executeStatement( input: ExecuteStatementRequest, ): Effect.Effect< ExecuteStatementResponse, - | AccessDeniedException - | BadRequestException - | DatabaseErrorException - | DatabaseNotFoundException - | DatabaseResumingException - | DatabaseUnavailableException - | ForbiddenException - | HttpEndpointNotEnabledException - | InternalServerErrorException - | InvalidResourceStateException - | InvalidSecretException - | SecretsErrorException - | ServiceUnavailableError - | StatementTimeoutException - | TransactionNotFoundException - | UnsupportedResultException - | CommonAwsError + AccessDeniedException | BadRequestException | DatabaseErrorException | DatabaseNotFoundException | DatabaseResumingException | DatabaseUnavailableException | ForbiddenException | HttpEndpointNotEnabledException | InternalServerErrorException | InvalidResourceStateException | InvalidSecretException | SecretsErrorException | ServiceUnavailableError | StatementTimeoutException | TransactionNotFoundException | UnsupportedResultException | CommonAwsError >; rollbackTransaction( input: RollbackTransactionRequest, ): Effect.Effect< RollbackTransactionResponse, - | AccessDeniedException - | BadRequestException - | DatabaseErrorException - | DatabaseNotFoundException - | DatabaseUnavailableException - | ForbiddenException - | HttpEndpointNotEnabledException - | InternalServerErrorException - | InvalidResourceStateException - | InvalidSecretException - | NotFoundException - | SecretsErrorException - | ServiceUnavailableError - | StatementTimeoutException - | TransactionNotFoundException - | CommonAwsError + AccessDeniedException | BadRequestException | DatabaseErrorException | DatabaseNotFoundException | DatabaseUnavailableException | ForbiddenException | HttpEndpointNotEnabledException | InternalServerErrorException | InvalidResourceStateException | InvalidSecretException | NotFoundException | SecretsErrorException | ServiceUnavailableError | StatementTimeoutException | TransactionNotFoundException | CommonAwsError >; } @@ -175,12 +60,7 @@ interface _ArrayValue { arrayValues?: Array; } -export type ArrayValue = - | (_ArrayValue & { booleanValues: Array }) - | (_ArrayValue & { longValues: Array }) - | (_ArrayValue & { doubleValues: Array }) - | (_ArrayValue & { stringValues: Array }) - | (_ArrayValue & { arrayValues: Array }); +export type ArrayValue = (_ArrayValue & { booleanValues: Array }) | (_ArrayValue & { longValues: Array }) | (_ArrayValue & { doubleValues: Array }) | (_ArrayValue & { stringValues: Array }) | (_ArrayValue & { arrayValues: Array }); export type ArrayValueList = Array; export declare class BadRequestException extends EffectData.TaggedError( "BadRequestException", @@ -264,7 +144,8 @@ export declare class DatabaseResumingException extends EffectData.TaggedError( }> {} export declare class DatabaseUnavailableException extends EffectData.TaggedError( "DatabaseUnavailableException", -)<{}> {} +)<{ +}> {} export type DbName = string; export type DecimalReturnType = string; @@ -312,14 +193,7 @@ interface _Field { arrayValue?: ArrayValue; } -export type Field = - | (_Field & { isNull: boolean }) - | (_Field & { booleanValue: boolean }) - | (_Field & { longValue: number }) - | (_Field & { doubleValue: number }) - | (_Field & { stringValue: string }) - | (_Field & { blobValue: Uint8Array | string }) - | (_Field & { arrayValue: ArrayValue }); +export type Field = (_Field & { isNull: boolean }) | (_Field & { booleanValue: boolean }) | (_Field & { longValue: number }) | (_Field & { doubleValue: number }) | (_Field & { stringValue: string }) | (_Field & { blobValue: Uint8Array | string }) | (_Field & { arrayValue: ArrayValue }); export type FieldList = Array; export declare class ForbiddenException extends EffectData.TaggedError( "ForbiddenException", @@ -339,7 +213,8 @@ export type Integer = number; export declare class InternalServerErrorException extends EffectData.TaggedError( "InternalServerErrorException", -)<{}> {} +)<{ +}> {} export declare class InvalidResourceStateException extends EffectData.TaggedError( "InvalidResourceStateException", )<{ @@ -399,7 +274,8 @@ export declare class SecretsErrorException extends EffectData.TaggedError( }> {} export declare class ServiceUnavailableError extends EffectData.TaggedError( "ServiceUnavailableError", -)<{}> {} +)<{ +}> {} export interface SqlParameter { name?: string; value?: Field; @@ -458,17 +334,7 @@ interface _Value { structValue?: StructValue; } -export type Value = - | (_Value & { isNull: boolean }) - | (_Value & { bitValue: boolean }) - | (_Value & { bigIntValue: number }) - | (_Value & { intValue: number }) - | (_Value & { doubleValue: number }) - | (_Value & { realValue: number }) - | (_Value & { stringValue: string }) - | (_Value & { blobValue: Uint8Array | string }) - | (_Value & { arrayValues: Array }) - | (_Value & { structValue: StructValue }); +export type Value = (_Value & { isNull: boolean }) | (_Value & { bitValue: boolean }) | (_Value & { bigIntValue: number }) | (_Value & { intValue: number }) | (_Value & { doubleValue: number }) | (_Value & { realValue: number }) | (_Value & { stringValue: string }) | (_Value & { blobValue: Uint8Array | string }) | (_Value & { arrayValues: Array }) | (_Value & { structValue: StructValue }); export declare namespace BatchExecuteStatement { export type Input = BatchExecuteStatementRequest; export type Output = BatchExecuteStatementResponse; @@ -592,22 +458,5 @@ export declare namespace RollbackTransaction { | CommonAwsError; } -export type RDSDataErrors = - | AccessDeniedException - | BadRequestException - | DatabaseErrorException - | DatabaseNotFoundException - | DatabaseResumingException - | DatabaseUnavailableException - | ForbiddenException - | HttpEndpointNotEnabledException - | InternalServerErrorException - | InvalidResourceStateException - | InvalidSecretException - | NotFoundException - | SecretsErrorException - | ServiceUnavailableError - | StatementTimeoutException - | TransactionNotFoundException - | UnsupportedResultException - | CommonAwsError; +export type RDSDataErrors = AccessDeniedException | BadRequestException | DatabaseErrorException | DatabaseNotFoundException | DatabaseResumingException | DatabaseUnavailableException | ForbiddenException | HttpEndpointNotEnabledException | InternalServerErrorException | InvalidResourceStateException | InvalidSecretException | NotFoundException | SecretsErrorException | ServiceUnavailableError | StatementTimeoutException | TransactionNotFoundException | UnsupportedResultException | CommonAwsError; + diff --git a/src/services/rds/index.ts b/src/services/rds/index.ts index ba8ece41..aeeb1515 100644 --- a/src/services/rds/index.ts +++ b/src/services/rds/index.ts @@ -6,26 +6,7 @@ import type { RDS as _RDSClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const RDS = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _RDSClient; diff --git a/src/services/rds/types.ts b/src/services/rds/types.ts index 2600cff4..5cc04541 100644 --- a/src/services/rds/types.ts +++ b/src/services/rds/types.ts @@ -7,21 +7,13 @@ export declare class RDS extends AWSServiceClient { input: AddRoleToDBClusterMessage, ): Effect.Effect< {}, - | DBClusterNotFoundFault - | DBClusterRoleAlreadyExistsFault - | DBClusterRoleQuotaExceededFault - | InvalidDBClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterRoleAlreadyExistsFault | DBClusterRoleQuotaExceededFault | InvalidDBClusterStateFault | CommonAwsError >; addRoleToDBInstance( input: AddRoleToDBInstanceMessage, ): Effect.Effect< {}, - | DBInstanceNotFoundFault - | DBInstanceRoleAlreadyExistsFault - | DBInstanceRoleQuotaExceededFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBInstanceNotFoundFault | DBInstanceRoleAlreadyExistsFault | DBInstanceRoleQuotaExceededFault | InvalidDBInstanceStateFault | CommonAwsError >; addSourceIdentifierToSubscription( input: AddSourceIdentifierToSubscriptionMessage, @@ -33,40 +25,19 @@ export declare class RDS extends AWSServiceClient { input: AddTagsToResourceMessage, ): Effect.Effect< {}, - | BlueGreenDeploymentNotFoundFault - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBProxyEndpointNotFoundFault - | DBProxyNotFoundFault - | DBProxyTargetGroupNotFoundFault - | DBShardGroupNotFoundFault - | DBSnapshotNotFoundFault - | DBSnapshotTenantDatabaseNotFoundFault - | IntegrationNotFoundFault - | InvalidDBClusterEndpointStateFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | TenantDatabaseNotFoundFault - | CommonAwsError + BlueGreenDeploymentNotFoundFault | DBClusterNotFoundFault | DBInstanceNotFoundFault | DBProxyEndpointNotFoundFault | DBProxyNotFoundFault | DBProxyTargetGroupNotFoundFault | DBShardGroupNotFoundFault | DBSnapshotNotFoundFault | DBSnapshotTenantDatabaseNotFoundFault | IntegrationNotFoundFault | InvalidDBClusterEndpointStateFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | TenantDatabaseNotFoundFault | CommonAwsError >; applyPendingMaintenanceAction( input: ApplyPendingMaintenanceActionMessage, ): Effect.Effect< ApplyPendingMaintenanceActionResult, - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | ResourceNotFoundFault - | CommonAwsError + InvalidDBClusterStateFault | InvalidDBInstanceStateFault | ResourceNotFoundFault | CommonAwsError >; authorizeDBSecurityGroupIngress( input: AuthorizeDBSecurityGroupIngressMessage, ): Effect.Effect< AuthorizeDBSecurityGroupIngressResult, - | AuthorizationAlreadyExistsFault - | AuthorizationQuotaExceededFault - | DBSecurityGroupNotFoundFault - | InvalidDBSecurityGroupStateFault - | CommonAwsError + AuthorizationAlreadyExistsFault | AuthorizationQuotaExceededFault | DBSecurityGroupNotFoundFault | InvalidDBSecurityGroupStateFault | CommonAwsError >; backtrackDBCluster( input: BacktrackDBClusterMessage, @@ -84,420 +55,211 @@ export declare class RDS extends AWSServiceClient { input: CopyDBClusterParameterGroupMessage, ): Effect.Effect< CopyDBClusterParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupNotFoundFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; copyDBClusterSnapshot( input: CopyDBClusterSnapshotMessage, ): Effect.Effect< CopyDBClusterSnapshotResult, - | DBClusterSnapshotAlreadyExistsFault - | DBClusterSnapshotNotFoundFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | KMSKeyNotAccessibleFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBClusterSnapshotAlreadyExistsFault | DBClusterSnapshotNotFoundFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | KMSKeyNotAccessibleFault | SnapshotQuotaExceededFault | CommonAwsError >; copyDBParameterGroup( input: CopyDBParameterGroupMessage, ): Effect.Effect< CopyDBParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupNotFoundFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; copyDBSnapshot( input: CopyDBSnapshotMessage, ): Effect.Effect< CopyDBSnapshotResult, - | CustomAvailabilityZoneNotFoundFault - | DBSnapshotAlreadyExistsFault - | DBSnapshotNotFoundFault - | InvalidDBSnapshotStateFault - | KMSKeyNotAccessibleFault - | SnapshotQuotaExceededFault - | CommonAwsError + CustomAvailabilityZoneNotFoundFault | DBSnapshotAlreadyExistsFault | DBSnapshotNotFoundFault | InvalidDBSnapshotStateFault | KMSKeyNotAccessibleFault | SnapshotQuotaExceededFault | CommonAwsError >; copyOptionGroup( input: CopyOptionGroupMessage, ): Effect.Effect< CopyOptionGroupResult, - | OptionGroupAlreadyExistsFault - | OptionGroupNotFoundFault - | OptionGroupQuotaExceededFault - | CommonAwsError + OptionGroupAlreadyExistsFault | OptionGroupNotFoundFault | OptionGroupQuotaExceededFault | CommonAwsError >; createBlueGreenDeployment( input: CreateBlueGreenDeploymentRequest, ): Effect.Effect< CreateBlueGreenDeploymentResponse, - | BlueGreenDeploymentAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBInstanceNotFoundFault - | DBParameterGroupNotFoundFault - | InstanceQuotaExceededFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | SourceClusterNotSupportedFault - | SourceDatabaseNotSupportedFault - | StorageQuotaExceededFault - | CommonAwsError + BlueGreenDeploymentAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBInstanceNotFoundFault | DBParameterGroupNotFoundFault | InstanceQuotaExceededFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | SourceClusterNotSupportedFault | SourceDatabaseNotSupportedFault | StorageQuotaExceededFault | CommonAwsError >; createCustomDBEngineVersion( input: CreateCustomDBEngineVersionMessage, ): Effect.Effect< DBEngineVersion, - | CreateCustomDBEngineVersionFault - | CustomDBEngineVersionAlreadyExistsFault - | CustomDBEngineVersionNotFoundFault - | CustomDBEngineVersionQuotaExceededFault - | Ec2ImagePropertiesNotSupportedFault - | InvalidCustomDBEngineVersionStateFault - | KMSKeyNotAccessibleFault - | CommonAwsError + CreateCustomDBEngineVersionFault | CustomDBEngineVersionAlreadyExistsFault | CustomDBEngineVersionNotFoundFault | CustomDBEngineVersionQuotaExceededFault | Ec2ImagePropertiesNotSupportedFault | InvalidCustomDBEngineVersionStateFault | KMSKeyNotAccessibleFault | CommonAwsError >; createDBCluster( input: CreateDBClusterMessage, ): Effect.Effect< CreateDBClusterResult, - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBInstanceNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | GlobalClusterNotFoundFault - | InsufficientDBInstanceCapacityFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBSubnetGroupFault - | InvalidDBSubnetGroupStateFault - | InvalidGlobalClusterStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBInstanceNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DomainNotFoundFault | GlobalClusterNotFoundFault | InsufficientDBInstanceCapacityFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBSubnetGroupFault | InvalidDBSubnetGroupStateFault | InvalidGlobalClusterStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError >; createDBClusterEndpoint( input: CreateDBClusterEndpointMessage, ): Effect.Effect< DBClusterEndpoint, - | DBClusterEndpointAlreadyExistsFault - | DBClusterEndpointQuotaExceededFault - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterEndpointAlreadyExistsFault | DBClusterEndpointQuotaExceededFault | DBClusterNotFoundFault | DBInstanceNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; createDBClusterParameterGroup( input: CreateDBClusterParameterGroupMessage, ): Effect.Effect< CreateDBClusterParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; createDBClusterSnapshot( input: CreateDBClusterSnapshotMessage, ): Effect.Effect< CreateDBClusterSnapshotResult, - | DBClusterNotFoundFault - | DBClusterSnapshotAlreadyExistsFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterSnapshotAlreadyExistsFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | SnapshotQuotaExceededFault | CommonAwsError >; createDBInstance( input: CreateDBInstanceMessage, ): Effect.Effect< CreateDBInstanceResult, - | AuthorizationNotFoundFault - | BackupPolicyNotFoundFault - | CertificateNotFoundFault - | DBClusterNotFoundFault - | DBInstanceAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | InstanceQuotaExceededFault - | InsufficientDBInstanceCapacityFault - | InvalidDBClusterStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | ProvisionedIopsNotAvailableInAZFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | TenantDatabaseQuotaExceededFault - | CommonAwsError + AuthorizationNotFoundFault | BackupPolicyNotFoundFault | CertificateNotFoundFault | DBClusterNotFoundFault | DBInstanceAlreadyExistsFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DomainNotFoundFault | InstanceQuotaExceededFault | InsufficientDBInstanceCapacityFault | InvalidDBClusterStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | ProvisionedIopsNotAvailableInAZFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | TenantDatabaseQuotaExceededFault | CommonAwsError >; createDBInstanceReadReplica( input: CreateDBInstanceReadReplicaMessage, ): Effect.Effect< CreateDBInstanceReadReplicaResult, - | CertificateNotFoundFault - | DBClusterNotFoundFault - | DBInstanceAlreadyExistsFault - | DBInstanceNotFoundFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotAllowedFault - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | InstanceQuotaExceededFault - | InsufficientDBInstanceCapacityFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBSubnetGroupFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | ProvisionedIopsNotAvailableInAZFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | TenantDatabaseQuotaExceededFault - | CommonAwsError + CertificateNotFoundFault | DBClusterNotFoundFault | DBInstanceAlreadyExistsFault | DBInstanceNotFoundFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotAllowedFault | DBSubnetGroupNotFoundFault | DomainNotFoundFault | InstanceQuotaExceededFault | InsufficientDBInstanceCapacityFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBSubnetGroupFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | ProvisionedIopsNotAvailableInAZFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | TenantDatabaseQuotaExceededFault | CommonAwsError >; createDBParameterGroup( input: CreateDBParameterGroupMessage, ): Effect.Effect< CreateDBParameterGroupResult, - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupQuotaExceededFault - | CommonAwsError + DBParameterGroupAlreadyExistsFault | DBParameterGroupQuotaExceededFault | CommonAwsError >; createDBProxy( input: CreateDBProxyRequest, ): Effect.Effect< CreateDBProxyResponse, - | DBProxyAlreadyExistsFault - | DBProxyQuotaExceededFault - | InvalidSubnet - | CommonAwsError + DBProxyAlreadyExistsFault | DBProxyQuotaExceededFault | InvalidSubnet | CommonAwsError >; createDBProxyEndpoint( input: CreateDBProxyEndpointRequest, ): Effect.Effect< CreateDBProxyEndpointResponse, - | DBProxyEndpointAlreadyExistsFault - | DBProxyEndpointQuotaExceededFault - | DBProxyNotFoundFault - | InvalidDBProxyStateFault - | InvalidSubnet - | CommonAwsError + DBProxyEndpointAlreadyExistsFault | DBProxyEndpointQuotaExceededFault | DBProxyNotFoundFault | InvalidDBProxyStateFault | InvalidSubnet | CommonAwsError >; createDBSecurityGroup( input: CreateDBSecurityGroupMessage, ): Effect.Effect< CreateDBSecurityGroupResult, - | DBSecurityGroupAlreadyExistsFault - | DBSecurityGroupNotSupportedFault - | DBSecurityGroupQuotaExceededFault - | CommonAwsError + DBSecurityGroupAlreadyExistsFault | DBSecurityGroupNotSupportedFault | DBSecurityGroupQuotaExceededFault | CommonAwsError >; createDBShardGroup( input: CreateDBShardGroupMessage, ): Effect.Effect< DBShardGroup, - | DBClusterNotFoundFault - | DBShardGroupAlreadyExistsFault - | InvalidDBClusterStateFault - | InvalidVPCNetworkStateFault - | MaxDBShardGroupLimitReached - | NetworkTypeNotSupported - | UnsupportedDBEngineVersionFault - | CommonAwsError + DBClusterNotFoundFault | DBShardGroupAlreadyExistsFault | InvalidDBClusterStateFault | InvalidVPCNetworkStateFault | MaxDBShardGroupLimitReached | NetworkTypeNotSupported | UnsupportedDBEngineVersionFault | CommonAwsError >; createDBSnapshot( input: CreateDBSnapshotMessage, ): Effect.Effect< CreateDBSnapshotResult, - | DBInstanceNotFoundFault - | DBSnapshotAlreadyExistsFault - | InvalidDBInstanceStateFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBInstanceNotFoundFault | DBSnapshotAlreadyExistsFault | InvalidDBInstanceStateFault | SnapshotQuotaExceededFault | CommonAwsError >; createDBSubnetGroup( input: CreateDBSubnetGroupMessage, ): Effect.Effect< CreateDBSubnetGroupResult, - | DBSubnetGroupAlreadyExistsFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupQuotaExceededFault - | DBSubnetQuotaExceededFault - | InvalidSubnet - | CommonAwsError + DBSubnetGroupAlreadyExistsFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupQuotaExceededFault | DBSubnetQuotaExceededFault | InvalidSubnet | CommonAwsError >; createEventSubscription( input: CreateEventSubscriptionMessage, ): Effect.Effect< CreateEventSubscriptionResult, - | EventSubscriptionQuotaExceededFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SourceNotFoundFault - | SubscriptionAlreadyExistFault - | SubscriptionCategoryNotFoundFault - | CommonAwsError + EventSubscriptionQuotaExceededFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SourceNotFoundFault | SubscriptionAlreadyExistFault | SubscriptionCategoryNotFoundFault | CommonAwsError >; createGlobalCluster( input: CreateGlobalClusterMessage, ): Effect.Effect< CreateGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterAlreadyExistsFault - | GlobalClusterQuotaExceededFault - | InvalidDBClusterStateFault - | InvalidDBShardGroupStateFault - | ResourceNotFoundFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterAlreadyExistsFault | GlobalClusterQuotaExceededFault | InvalidDBClusterStateFault | InvalidDBShardGroupStateFault | ResourceNotFoundFault | CommonAwsError >; createIntegration( input: CreateIntegrationMessage, ): Effect.Effect< Integration, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | IntegrationAlreadyExistsFault - | IntegrationConflictOperationFault - | IntegrationQuotaExceededFault - | KMSKeyNotAccessibleFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | IntegrationAlreadyExistsFault | IntegrationConflictOperationFault | IntegrationQuotaExceededFault | KMSKeyNotAccessibleFault | CommonAwsError >; createOptionGroup( input: CreateOptionGroupMessage, ): Effect.Effect< CreateOptionGroupResult, - | OptionGroupAlreadyExistsFault - | OptionGroupQuotaExceededFault - | CommonAwsError + OptionGroupAlreadyExistsFault | OptionGroupQuotaExceededFault | CommonAwsError >; createTenantDatabase( input: CreateTenantDatabaseMessage, ): Effect.Effect< CreateTenantDatabaseResult, - | DBInstanceNotFoundFault - | InvalidDBInstanceStateFault - | KMSKeyNotAccessibleFault - | TenantDatabaseAlreadyExistsFault - | TenantDatabaseQuotaExceededFault - | CommonAwsError + DBInstanceNotFoundFault | InvalidDBInstanceStateFault | KMSKeyNotAccessibleFault | TenantDatabaseAlreadyExistsFault | TenantDatabaseQuotaExceededFault | CommonAwsError >; deleteBlueGreenDeployment( input: DeleteBlueGreenDeploymentRequest, ): Effect.Effect< DeleteBlueGreenDeploymentResponse, - | BlueGreenDeploymentNotFoundFault - | InvalidBlueGreenDeploymentStateFault - | CommonAwsError + BlueGreenDeploymentNotFoundFault | InvalidBlueGreenDeploymentStateFault | CommonAwsError >; deleteCustomDBEngineVersion( input: DeleteCustomDBEngineVersionMessage, ): Effect.Effect< DBEngineVersion, - | CustomDBEngineVersionNotFoundFault - | InvalidCustomDBEngineVersionStateFault - | CommonAwsError + CustomDBEngineVersionNotFoundFault | InvalidCustomDBEngineVersionStateFault | CommonAwsError >; deleteDBCluster( input: DeleteDBClusterMessage, ): Effect.Effect< DeleteDBClusterResult, - | DBClusterAutomatedBackupQuotaExceededFault - | DBClusterNotFoundFault - | DBClusterSnapshotAlreadyExistsFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | InvalidGlobalClusterStateFault - | KMSKeyNotAccessibleFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBClusterAutomatedBackupQuotaExceededFault | DBClusterNotFoundFault | DBClusterSnapshotAlreadyExistsFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | InvalidGlobalClusterStateFault | KMSKeyNotAccessibleFault | SnapshotQuotaExceededFault | CommonAwsError >; deleteDBClusterAutomatedBackup( input: DeleteDBClusterAutomatedBackupMessage, ): Effect.Effect< DeleteDBClusterAutomatedBackupResult, - | DBClusterAutomatedBackupNotFoundFault - | InvalidDBClusterAutomatedBackupStateFault - | CommonAwsError + DBClusterAutomatedBackupNotFoundFault | InvalidDBClusterAutomatedBackupStateFault | CommonAwsError >; deleteDBClusterEndpoint( input: DeleteDBClusterEndpointMessage, ): Effect.Effect< DBClusterEndpoint, - | DBClusterEndpointNotFoundFault - | InvalidDBClusterEndpointStateFault - | InvalidDBClusterStateFault - | CommonAwsError + DBClusterEndpointNotFoundFault | InvalidDBClusterEndpointStateFault | InvalidDBClusterStateFault | CommonAwsError >; deleteDBClusterParameterGroup( input: DeleteDBClusterParameterGroupMessage, ): Effect.Effect< {}, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; deleteDBClusterSnapshot( input: DeleteDBClusterSnapshotMessage, ): Effect.Effect< DeleteDBClusterSnapshotResult, - | DBClusterSnapshotNotFoundFault - | InvalidDBClusterSnapshotStateFault - | CommonAwsError + DBClusterSnapshotNotFoundFault | InvalidDBClusterSnapshotStateFault | CommonAwsError >; deleteDBInstance( input: DeleteDBInstanceMessage, ): Effect.Effect< DeleteDBInstanceResult, - | DBInstanceAutomatedBackupQuotaExceededFault - | DBInstanceNotFoundFault - | DBSnapshotAlreadyExistsFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | KMSKeyNotAccessibleFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBInstanceAutomatedBackupQuotaExceededFault | DBInstanceNotFoundFault | DBSnapshotAlreadyExistsFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | KMSKeyNotAccessibleFault | SnapshotQuotaExceededFault | CommonAwsError >; deleteDBInstanceAutomatedBackup( input: DeleteDBInstanceAutomatedBackupMessage, ): Effect.Effect< DeleteDBInstanceAutomatedBackupResult, - | DBInstanceAutomatedBackupNotFoundFault - | InvalidDBInstanceAutomatedBackupStateFault - | CommonAwsError + DBInstanceAutomatedBackupNotFoundFault | InvalidDBInstanceAutomatedBackupStateFault | CommonAwsError >; deleteDBParameterGroup( input: DeleteDBParameterGroupMessage, ): Effect.Effect< {}, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; deleteDBProxy( input: DeleteDBProxyRequest, @@ -509,26 +271,19 @@ export declare class RDS extends AWSServiceClient { input: DeleteDBProxyEndpointRequest, ): Effect.Effect< DeleteDBProxyEndpointResponse, - | DBProxyEndpointNotFoundFault - | InvalidDBProxyEndpointStateFault - | CommonAwsError + DBProxyEndpointNotFoundFault | InvalidDBProxyEndpointStateFault | CommonAwsError >; deleteDBSecurityGroup( input: DeleteDBSecurityGroupMessage, ): Effect.Effect< {}, - | DBSecurityGroupNotFoundFault - | InvalidDBSecurityGroupStateFault - | CommonAwsError + DBSecurityGroupNotFoundFault | InvalidDBSecurityGroupStateFault | CommonAwsError >; deleteDBShardGroup( input: DeleteDBShardGroupMessage, ): Effect.Effect< DBShardGroup, - | DBShardGroupNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBShardGroupStateFault - | CommonAwsError + DBShardGroupNotFoundFault | InvalidDBClusterStateFault | InvalidDBShardGroupStateFault | CommonAwsError >; deleteDBSnapshot( input: DeleteDBSnapshotMessage, @@ -540,18 +295,13 @@ export declare class RDS extends AWSServiceClient { input: DeleteDBSubnetGroupMessage, ): Effect.Effect< {}, - | DBSubnetGroupNotFoundFault - | InvalidDBSubnetGroupStateFault - | InvalidDBSubnetStateFault - | CommonAwsError + DBSubnetGroupNotFoundFault | InvalidDBSubnetGroupStateFault | InvalidDBSubnetStateFault | CommonAwsError >; deleteEventSubscription( input: DeleteEventSubscriptionMessage, ): Effect.Effect< DeleteEventSubscriptionResult, - | InvalidEventSubscriptionStateFault - | SubscriptionNotFoundFault - | CommonAwsError + InvalidEventSubscriptionStateFault | SubscriptionNotFoundFault | CommonAwsError >; deleteGlobalCluster( input: DeleteGlobalClusterMessage, @@ -563,10 +313,7 @@ export declare class RDS extends AWSServiceClient { input: DeleteIntegrationMessage, ): Effect.Effect< Integration, - | IntegrationConflictOperationFault - | IntegrationNotFoundFault - | InvalidIntegrationStateFault - | CommonAwsError + IntegrationConflictOperationFault | IntegrationNotFoundFault | InvalidIntegrationStateFault | CommonAwsError >; deleteOptionGroup( input: DeleteOptionGroupMessage, @@ -578,25 +325,20 @@ export declare class RDS extends AWSServiceClient { input: DeleteTenantDatabaseMessage, ): Effect.Effect< DeleteTenantDatabaseResult, - | DBInstanceNotFoundFault - | DBSnapshotAlreadyExistsFault - | InvalidDBInstanceStateFault - | TenantDatabaseNotFoundFault - | CommonAwsError + DBInstanceNotFoundFault | DBSnapshotAlreadyExistsFault | InvalidDBInstanceStateFault | TenantDatabaseNotFoundFault | CommonAwsError >; deregisterDBProxyTargets( input: DeregisterDBProxyTargetsRequest, ): Effect.Effect< DeregisterDBProxyTargetsResponse, - | DBProxyNotFoundFault - | DBProxyTargetGroupNotFoundFault - | DBProxyTargetNotFoundFault - | InvalidDBProxyStateFault - | CommonAwsError + DBProxyNotFoundFault | DBProxyTargetGroupNotFoundFault | DBProxyTargetNotFoundFault | InvalidDBProxyStateFault | CommonAwsError >; describeAccountAttributes( input: DescribeAccountAttributesMessage, - ): Effect.Effect; + ): Effect.Effect< + AccountAttributesMessage, + CommonAwsError + >; describeBlueGreenDeployments( input: DescribeBlueGreenDeploymentsRequest, ): Effect.Effect< @@ -641,7 +383,10 @@ export declare class RDS extends AWSServiceClient { >; describeDBClusters( input: DescribeDBClustersMessage, - ): Effect.Effect; + ): Effect.Effect< + DBClusterMessage, + DBClusterNotFoundFault | CommonAwsError + >; describeDBClusterSnapshotAttributes( input: DescribeDBClusterSnapshotAttributesMessage, ): Effect.Effect< @@ -656,7 +401,10 @@ export declare class RDS extends AWSServiceClient { >; describeDBEngineVersions( input: DescribeDBEngineVersionsMessage, - ): Effect.Effect; + ): Effect.Effect< + DBEngineVersionMessage, + CommonAwsError + >; describeDBInstanceAutomatedBackups( input: DescribeDBInstanceAutomatedBackupsMessage, ): Effect.Effect< @@ -677,7 +425,10 @@ export declare class RDS extends AWSServiceClient { >; describeDBMajorEngineVersions( input: DescribeDBMajorEngineVersionsRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeDBMajorEngineVersionsResponse, + CommonAwsError + >; describeDBParameterGroups( input: DescribeDBParameterGroupsMessage, ): Effect.Effect< @@ -706,24 +457,20 @@ export declare class RDS extends AWSServiceClient { input: DescribeDBProxyTargetGroupsRequest, ): Effect.Effect< DescribeDBProxyTargetGroupsResponse, - | DBProxyNotFoundFault - | DBProxyTargetGroupNotFoundFault - | InvalidDBProxyStateFault - | CommonAwsError + DBProxyNotFoundFault | DBProxyTargetGroupNotFoundFault | InvalidDBProxyStateFault | CommonAwsError >; describeDBProxyTargets( input: DescribeDBProxyTargetsRequest, ): Effect.Effect< DescribeDBProxyTargetsResponse, - | DBProxyNotFoundFault - | DBProxyTargetGroupNotFoundFault - | DBProxyTargetNotFoundFault - | InvalidDBProxyStateFault - | CommonAwsError + DBProxyNotFoundFault | DBProxyTargetGroupNotFoundFault | DBProxyTargetNotFoundFault | InvalidDBProxyStateFault | CommonAwsError >; describeDBRecommendations( input: DescribeDBRecommendationsMessage, - ): Effect.Effect; + ): Effect.Effect< + DBRecommendationsMessage, + CommonAwsError + >; describeDBSecurityGroups( input: DescribeDBSecurityGroupsMessage, ): Effect.Effect< @@ -768,13 +515,22 @@ export declare class RDS extends AWSServiceClient { >; describeEngineDefaultParameters( input: DescribeEngineDefaultParametersMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeEngineDefaultParametersResult, + CommonAwsError + >; describeEventCategories( input: DescribeEventCategoriesMessage, - ): Effect.Effect; + ): Effect.Effect< + EventCategoriesMessage, + CommonAwsError + >; describeEvents( input: DescribeEventsMessage, - ): Effect.Effect; + ): Effect.Effect< + EventsMessage, + CommonAwsError + >; describeEventSubscriptions( input: DescribeEventSubscriptionsMessage, ): Effect.Effect< @@ -801,13 +557,22 @@ export declare class RDS extends AWSServiceClient { >; describeOptionGroupOptions( input: DescribeOptionGroupOptionsMessage, - ): Effect.Effect; + ): Effect.Effect< + OptionGroupOptionsMessage, + CommonAwsError + >; describeOptionGroups( input: DescribeOptionGroupsMessage, - ): Effect.Effect; + ): Effect.Effect< + OptionGroups, + OptionGroupNotFoundFault | CommonAwsError + >; describeOrderableDBInstanceOptions( input: DescribeOrderableDBInstanceOptionsMessage, - ): Effect.Effect; + ): Effect.Effect< + OrderableDBInstanceOptionsMessage, + CommonAwsError + >; describePendingMaintenanceActions( input: DescribePendingMaintenanceActionsMessage, ): Effect.Effect< @@ -828,7 +593,10 @@ export declare class RDS extends AWSServiceClient { >; describeSourceRegions( input: DescribeSourceRegionsMessage, - ): Effect.Effect; + ): Effect.Effect< + SourceRegionMessage, + CommonAwsError + >; describeTenantDatabases( input: DescribeTenantDatabasesMessage, ): Effect.Effect< @@ -851,10 +619,7 @@ export declare class RDS extends AWSServiceClient { input: DownloadDBLogFilePortionMessage, ): Effect.Effect< DownloadDBLogFilePortionDetails, - | DBInstanceNotFoundFault - | DBInstanceNotReadyFault - | DBLogFileNotFoundFault - | CommonAwsError + DBInstanceNotFoundFault | DBInstanceNotReadyFault | DBLogFileNotFoundFault | CommonAwsError >; enableHttpEndpoint( input: EnableHttpEndpointRequest, @@ -866,46 +631,25 @@ export declare class RDS extends AWSServiceClient { input: FailoverDBClusterMessage, ): Effect.Effect< FailoverDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; failoverGlobalCluster( input: FailoverGlobalClusterMessage, ): Effect.Effect< FailoverGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidGlobalClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterNotFoundFault | InvalidDBClusterStateFault | InvalidGlobalClusterStateFault | CommonAwsError >; listTagsForResource( input: ListTagsForResourceMessage, ): Effect.Effect< TagListMessage, - | BlueGreenDeploymentNotFoundFault - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBProxyEndpointNotFoundFault - | DBProxyNotFoundFault - | DBProxyTargetGroupNotFoundFault - | DBShardGroupNotFoundFault - | DBSnapshotNotFoundFault - | DBSnapshotTenantDatabaseNotFoundFault - | IntegrationNotFoundFault - | TenantDatabaseNotFoundFault - | CommonAwsError + BlueGreenDeploymentNotFoundFault | DBClusterNotFoundFault | DBInstanceNotFoundFault | DBProxyEndpointNotFoundFault | DBProxyNotFoundFault | DBProxyTargetGroupNotFoundFault | DBShardGroupNotFoundFault | DBSnapshotNotFoundFault | DBSnapshotTenantDatabaseNotFoundFault | IntegrationNotFoundFault | TenantDatabaseNotFoundFault | CommonAwsError >; modifyActivityStream( input: ModifyActivityStreamRequest, ): Effect.Effect< ModifyActivityStreamResponse, - | DBInstanceNotFoundFault - | InvalidDBInstanceStateFault - | ResourceNotFoundFault - | CommonAwsError + DBInstanceNotFoundFault | InvalidDBInstanceStateFault | ResourceNotFoundFault | CommonAwsError >; modifyCertificates( input: ModifyCertificatesMessage, @@ -917,209 +661,115 @@ export declare class RDS extends AWSServiceClient { input: ModifyCurrentDBClusterCapacityMessage, ): Effect.Effect< DBClusterCapacityInfo, - | DBClusterNotFoundFault - | InvalidDBClusterCapacityFault - | InvalidDBClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterCapacityFault | InvalidDBClusterStateFault | CommonAwsError >; modifyCustomDBEngineVersion( input: ModifyCustomDBEngineVersionMessage, ): Effect.Effect< DBEngineVersion, - | CustomDBEngineVersionNotFoundFault - | InvalidCustomDBEngineVersionStateFault - | CommonAwsError + CustomDBEngineVersionNotFoundFault | InvalidCustomDBEngineVersionStateFault | CommonAwsError >; modifyDBCluster( input: ModifyDBClusterMessage, ): Effect.Effect< ModifyDBClusterResult, - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBInstanceAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBSecurityGroupStateFault - | InvalidDBSubnetGroupStateFault - | InvalidGlobalClusterStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | StorageQuotaExceededFault - | StorageTypeNotAvailableFault - | StorageTypeNotSupportedFault - | CommonAwsError + DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBInstanceAlreadyExistsFault | DBParameterGroupNotFoundFault | DBSubnetGroupNotFoundFault | DomainNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBSecurityGroupStateFault | InvalidDBSubnetGroupStateFault | InvalidGlobalClusterStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | StorageQuotaExceededFault | StorageTypeNotAvailableFault | StorageTypeNotSupportedFault | CommonAwsError >; modifyDBClusterEndpoint( input: ModifyDBClusterEndpointMessage, ): Effect.Effect< DBClusterEndpoint, - | DBClusterEndpointNotFoundFault - | DBInstanceNotFoundFault - | InvalidDBClusterEndpointStateFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterEndpointNotFoundFault | DBInstanceNotFoundFault | InvalidDBClusterEndpointStateFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; modifyDBClusterParameterGroup( input: ModifyDBClusterParameterGroupMessage, ): Effect.Effect< DBClusterParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; modifyDBClusterSnapshotAttribute( input: ModifyDBClusterSnapshotAttributeMessage, ): Effect.Effect< ModifyDBClusterSnapshotAttributeResult, - | DBClusterSnapshotNotFoundFault - | InvalidDBClusterSnapshotStateFault - | SharedSnapshotQuotaExceededFault - | CommonAwsError + DBClusterSnapshotNotFoundFault | InvalidDBClusterSnapshotStateFault | SharedSnapshotQuotaExceededFault | CommonAwsError >; modifyDBInstance( input: ModifyDBInstanceMessage, ): Effect.Effect< ModifyDBInstanceResult, - | AuthorizationNotFoundFault - | BackupPolicyNotFoundFault - | CertificateNotFoundFault - | DBInstanceAlreadyExistsFault - | DBInstanceNotFoundFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBUpgradeDependencyFailureFault - | DomainNotFoundFault - | InsufficientDBInstanceCapacityFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBSecurityGroupStateFault - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | ProvisionedIopsNotAvailableInAZFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | TenantDatabaseQuotaExceededFault - | CommonAwsError + AuthorizationNotFoundFault | BackupPolicyNotFoundFault | CertificateNotFoundFault | DBInstanceAlreadyExistsFault | DBInstanceNotFoundFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBUpgradeDependencyFailureFault | DomainNotFoundFault | InsufficientDBInstanceCapacityFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBSecurityGroupStateFault | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | ProvisionedIopsNotAvailableInAZFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | TenantDatabaseQuotaExceededFault | CommonAwsError >; modifyDBParameterGroup( input: ModifyDBParameterGroupMessage, ): Effect.Effect< DBParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError >; modifyDBProxy( input: ModifyDBProxyRequest, ): Effect.Effect< ModifyDBProxyResponse, - | DBProxyAlreadyExistsFault - | DBProxyNotFoundFault - | InvalidDBProxyStateFault - | CommonAwsError + DBProxyAlreadyExistsFault | DBProxyNotFoundFault | InvalidDBProxyStateFault | CommonAwsError >; modifyDBProxyEndpoint( input: ModifyDBProxyEndpointRequest, ): Effect.Effect< ModifyDBProxyEndpointResponse, - | DBProxyEndpointAlreadyExistsFault - | DBProxyEndpointNotFoundFault - | InvalidDBProxyEndpointStateFault - | InvalidDBProxyStateFault - | CommonAwsError + DBProxyEndpointAlreadyExistsFault | DBProxyEndpointNotFoundFault | InvalidDBProxyEndpointStateFault | InvalidDBProxyStateFault | CommonAwsError >; modifyDBProxyTargetGroup( input: ModifyDBProxyTargetGroupRequest, ): Effect.Effect< ModifyDBProxyTargetGroupResponse, - | DBProxyNotFoundFault - | DBProxyTargetGroupNotFoundFault - | InvalidDBProxyStateFault - | CommonAwsError + DBProxyNotFoundFault | DBProxyTargetGroupNotFoundFault | InvalidDBProxyStateFault | CommonAwsError >; modifyDBRecommendation( input: ModifyDBRecommendationMessage, - ): Effect.Effect; + ): Effect.Effect< + DBRecommendationMessage, + CommonAwsError + >; modifyDBShardGroup( input: ModifyDBShardGroupMessage, ): Effect.Effect< DBShardGroup, - | DBShardGroupAlreadyExistsFault - | DBShardGroupNotFoundFault - | InvalidDBClusterStateFault - | CommonAwsError + DBShardGroupAlreadyExistsFault | DBShardGroupNotFoundFault | InvalidDBClusterStateFault | CommonAwsError >; modifyDBSnapshot( input: ModifyDBSnapshotMessage, ): Effect.Effect< ModifyDBSnapshotResult, - | DBSnapshotNotFoundFault - | InvalidDBSnapshotStateFault - | KMSKeyNotAccessibleFault - | CommonAwsError + DBSnapshotNotFoundFault | InvalidDBSnapshotStateFault | KMSKeyNotAccessibleFault | CommonAwsError >; modifyDBSnapshotAttribute( input: ModifyDBSnapshotAttributeMessage, ): Effect.Effect< ModifyDBSnapshotAttributeResult, - | DBSnapshotNotFoundFault - | InvalidDBSnapshotStateFault - | SharedSnapshotQuotaExceededFault - | CommonAwsError + DBSnapshotNotFoundFault | InvalidDBSnapshotStateFault | SharedSnapshotQuotaExceededFault | CommonAwsError >; modifyDBSubnetGroup( input: ModifyDBSubnetGroupMessage, ): Effect.Effect< ModifyDBSubnetGroupResult, - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DBSubnetQuotaExceededFault - | InvalidDBSubnetGroupStateFault - | InvalidSubnet - | SubnetAlreadyInUse - | CommonAwsError + DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DBSubnetQuotaExceededFault | InvalidDBSubnetGroupStateFault | InvalidSubnet | SubnetAlreadyInUse | CommonAwsError >; modifyEventSubscription( input: ModifyEventSubscriptionMessage, ): Effect.Effect< ModifyEventSubscriptionResult, - | EventSubscriptionQuotaExceededFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SubscriptionCategoryNotFoundFault - | SubscriptionNotFoundFault - | CommonAwsError + EventSubscriptionQuotaExceededFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SubscriptionCategoryNotFoundFault | SubscriptionNotFoundFault | CommonAwsError >; modifyGlobalCluster( input: ModifyGlobalClusterMessage, ): Effect.Effect< ModifyGlobalClusterResult, - | GlobalClusterAlreadyExistsFault - | GlobalClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidGlobalClusterStateFault - | CommonAwsError + GlobalClusterAlreadyExistsFault | GlobalClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidGlobalClusterStateFault | CommonAwsError >; modifyIntegration( input: ModifyIntegrationMessage, ): Effect.Effect< Integration, - | IntegrationConflictOperationFault - | IntegrationNotFoundFault - | InvalidIntegrationStateFault - | CommonAwsError + IntegrationConflictOperationFault | IntegrationNotFoundFault | InvalidIntegrationStateFault | CommonAwsError >; modifyOptionGroup( input: ModifyOptionGroupMessage, @@ -1131,12 +781,7 @@ export declare class RDS extends AWSServiceClient { input: ModifyTenantDatabaseMessage, ): Effect.Effect< ModifyTenantDatabaseResult, - | DBInstanceNotFoundFault - | InvalidDBInstanceStateFault - | KMSKeyNotAccessibleFault - | TenantDatabaseAlreadyExistsFault - | TenantDatabaseNotFoundFault - | CommonAwsError + DBInstanceNotFoundFault | InvalidDBInstanceStateFault | KMSKeyNotAccessibleFault | TenantDatabaseAlreadyExistsFault | TenantDatabaseNotFoundFault | CommonAwsError >; promoteReadReplica( input: PromoteReadReplicaMessage, @@ -1154,28 +799,19 @@ export declare class RDS extends AWSServiceClient { input: PurchaseReservedDBInstancesOfferingMessage, ): Effect.Effect< PurchaseReservedDBInstancesOfferingResult, - | ReservedDBInstanceAlreadyExistsFault - | ReservedDBInstanceQuotaExceededFault - | ReservedDBInstancesOfferingNotFoundFault - | CommonAwsError + ReservedDBInstanceAlreadyExistsFault | ReservedDBInstanceQuotaExceededFault | ReservedDBInstancesOfferingNotFoundFault | CommonAwsError >; rebootDBCluster( input: RebootDBClusterMessage, ): Effect.Effect< RebootDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | CommonAwsError >; rebootDBInstance( input: RebootDBInstanceMessage, ): Effect.Effect< RebootDBInstanceResult, - | DBInstanceNotFoundFault - | InvalidDBInstanceStateFault - | KMSKeyNotAccessibleFault - | CommonAwsError + DBInstanceNotFoundFault | InvalidDBInstanceStateFault | KMSKeyNotAccessibleFault | CommonAwsError >; rebootDBShardGroup( input: RebootDBShardGroupMessage, @@ -1187,44 +823,25 @@ export declare class RDS extends AWSServiceClient { input: RegisterDBProxyTargetsRequest, ): Effect.Effect< RegisterDBProxyTargetsResponse, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBProxyNotFoundFault - | DBProxyTargetAlreadyRegisteredFault - | DBProxyTargetGroupNotFoundFault - | InsufficientAvailableIPsInSubnetFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBProxyStateFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | DBProxyNotFoundFault | DBProxyTargetAlreadyRegisteredFault | DBProxyTargetGroupNotFoundFault | InsufficientAvailableIPsInSubnetFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBProxyStateFault | CommonAwsError >; removeFromGlobalCluster( input: RemoveFromGlobalClusterMessage, ): Effect.Effect< RemoveFromGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidGlobalClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterNotFoundFault | InvalidDBClusterStateFault | InvalidGlobalClusterStateFault | CommonAwsError >; removeRoleFromDBCluster( input: RemoveRoleFromDBClusterMessage, ): Effect.Effect< {}, - | DBClusterNotFoundFault - | DBClusterRoleNotFoundFault - | InvalidDBClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterRoleNotFoundFault | InvalidDBClusterStateFault | CommonAwsError >; removeRoleFromDBInstance( input: RemoveRoleFromDBInstanceMessage, ): Effect.Effect< {}, - | DBInstanceNotFoundFault - | DBInstanceRoleNotFoundFault - | InvalidDBInstanceStateFault - | CommonAwsError + DBInstanceNotFoundFault | DBInstanceRoleNotFoundFault | InvalidDBInstanceStateFault | CommonAwsError >; removeSourceIdentifierFromSubscription( input: RemoveSourceIdentifierFromSubscriptionMessage, @@ -1236,310 +853,109 @@ export declare class RDS extends AWSServiceClient { input: RemoveTagsFromResourceMessage, ): Effect.Effect< {}, - | BlueGreenDeploymentNotFoundFault - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBProxyEndpointNotFoundFault - | DBProxyNotFoundFault - | DBProxyTargetGroupNotFoundFault - | DBShardGroupNotFoundFault - | DBSnapshotNotFoundFault - | DBSnapshotTenantDatabaseNotFoundFault - | IntegrationNotFoundFault - | InvalidDBClusterEndpointStateFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | TenantDatabaseNotFoundFault - | CommonAwsError + BlueGreenDeploymentNotFoundFault | DBClusterNotFoundFault | DBInstanceNotFoundFault | DBProxyEndpointNotFoundFault | DBProxyNotFoundFault | DBProxyTargetGroupNotFoundFault | DBShardGroupNotFoundFault | DBSnapshotNotFoundFault | DBSnapshotTenantDatabaseNotFoundFault | IntegrationNotFoundFault | InvalidDBClusterEndpointStateFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | TenantDatabaseNotFoundFault | CommonAwsError >; resetDBClusterParameterGroup( input: ResetDBClusterParameterGroupMessage, ): Effect.Effect< DBClusterParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError - >; - resetDBParameterGroup( - input: ResetDBParameterGroupMessage, - ): Effect.Effect< - DBParameterGroupNameMessage, - | DBParameterGroupNotFoundFault - | InvalidDBParameterGroupStateFault - | CommonAwsError - >; - restoreDBClusterFromS3( - input: RestoreDBClusterFromS3Message, - ): Effect.Effect< - RestoreDBClusterFromS3Result, - | DBClusterAlreadyExistsFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterStateFault - | InvalidDBSubnetGroupStateFault - | InvalidS3BucketFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError - >; - restoreDBClusterFromSnapshot( - input: RestoreDBClusterFromSnapshotMessage, - ): Effect.Effect< - RestoreDBClusterFromSnapshotResult, - | DBClusterAlreadyExistsFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBClusterSnapshotNotFoundFault - | DBSnapshotNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | InsufficientDBClusterCapacityFault - | InsufficientDBInstanceCapacityFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBInstanceStateFault - | InvalidDBSnapshotStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError - >; - restoreDBClusterToPointInTime( - input: RestoreDBClusterToPointInTimeMessage, - ): Effect.Effect< - RestoreDBClusterToPointInTimeResult, - | DBClusterAlreadyExistsFault - | DBClusterAutomatedBackupNotFoundFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBClusterSnapshotNotFoundFault - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | InsufficientDBClusterCapacityFault - | InsufficientDBInstanceCapacityFault - | InsufficientStorageClusterCapacityFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | InvalidDBSnapshotStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError + >; + resetDBParameterGroup( + input: ResetDBParameterGroupMessage, + ): Effect.Effect< + DBParameterGroupNameMessage, + DBParameterGroupNotFoundFault | InvalidDBParameterGroupStateFault | CommonAwsError + >; + restoreDBClusterFromS3( + input: RestoreDBClusterFromS3Message, + ): Effect.Effect< + RestoreDBClusterFromS3Result, + DBClusterAlreadyExistsFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBSubnetGroupNotFoundFault | DomainNotFoundFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterStateFault | InvalidDBSubnetGroupStateFault | InvalidS3BucketFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError + >; + restoreDBClusterFromSnapshot( + input: RestoreDBClusterFromSnapshotMessage, + ): Effect.Effect< + RestoreDBClusterFromSnapshotResult, + DBClusterAlreadyExistsFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBClusterSnapshotNotFoundFault | DBSnapshotNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DomainNotFoundFault | InsufficientDBClusterCapacityFault | InsufficientDBInstanceCapacityFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterSnapshotStateFault | InvalidDBInstanceStateFault | InvalidDBSnapshotStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError + >; + restoreDBClusterToPointInTime( + input: RestoreDBClusterToPointInTimeMessage, + ): Effect.Effect< + RestoreDBClusterToPointInTimeResult, + DBClusterAlreadyExistsFault | DBClusterAutomatedBackupNotFoundFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBClusterSnapshotNotFoundFault | DBSubnetGroupNotFoundFault | DomainNotFoundFault | InsufficientDBClusterCapacityFault | InsufficientDBInstanceCapacityFault | InsufficientStorageClusterCapacityFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | InvalidDBSnapshotStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError >; restoreDBInstanceFromDBSnapshot( input: RestoreDBInstanceFromDBSnapshotMessage, ): Effect.Effect< RestoreDBInstanceFromDBSnapshotResult, - | AuthorizationNotFoundFault - | BackupPolicyNotFoundFault - | CertificateNotFoundFault - | DBClusterSnapshotNotFoundFault - | DBInstanceAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBSnapshotNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | InstanceQuotaExceededFault - | InsufficientDBInstanceCapacityFault - | InvalidDBSnapshotStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | ProvisionedIopsNotAvailableInAZFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | TenantDatabaseQuotaExceededFault - | CommonAwsError + AuthorizationNotFoundFault | BackupPolicyNotFoundFault | CertificateNotFoundFault | DBClusterSnapshotNotFoundFault | DBInstanceAlreadyExistsFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBSnapshotNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DomainNotFoundFault | InstanceQuotaExceededFault | InsufficientDBInstanceCapacityFault | InvalidDBSnapshotStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | ProvisionedIopsNotAvailableInAZFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | TenantDatabaseQuotaExceededFault | CommonAwsError >; restoreDBInstanceFromS3( input: RestoreDBInstanceFromS3Message, ): Effect.Effect< RestoreDBInstanceFromS3Result, - | AuthorizationNotFoundFault - | BackupPolicyNotFoundFault - | CertificateNotFoundFault - | DBInstanceAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | InstanceQuotaExceededFault - | InsufficientDBInstanceCapacityFault - | InvalidS3BucketFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | ProvisionedIopsNotAvailableInAZFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | CommonAwsError + AuthorizationNotFoundFault | BackupPolicyNotFoundFault | CertificateNotFoundFault | DBInstanceAlreadyExistsFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | InstanceQuotaExceededFault | InsufficientDBInstanceCapacityFault | InvalidS3BucketFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | ProvisionedIopsNotAvailableInAZFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | CommonAwsError >; restoreDBInstanceToPointInTime( input: RestoreDBInstanceToPointInTimeMessage, ): Effect.Effect< RestoreDBInstanceToPointInTimeResult, - | AuthorizationNotFoundFault - | BackupPolicyNotFoundFault - | CertificateNotFoundFault - | DBInstanceAlreadyExistsFault - | DBInstanceAutomatedBackupNotFoundFault - | DBInstanceNotFoundFault - | DBParameterGroupNotFoundFault - | DBSecurityGroupNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | DomainNotFoundFault - | InstanceQuotaExceededFault - | InsufficientDBInstanceCapacityFault - | InvalidDBInstanceStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | NetworkTypeNotSupported - | OptionGroupNotFoundFault - | PointInTimeRestoreNotEnabledFault - | ProvisionedIopsNotAvailableInAZFault - | StorageQuotaExceededFault - | StorageTypeNotSupportedFault - | TenantDatabaseQuotaExceededFault - | CommonAwsError + AuthorizationNotFoundFault | BackupPolicyNotFoundFault | CertificateNotFoundFault | DBInstanceAlreadyExistsFault | DBInstanceAutomatedBackupNotFoundFault | DBInstanceNotFoundFault | DBParameterGroupNotFoundFault | DBSecurityGroupNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | DomainNotFoundFault | InstanceQuotaExceededFault | InsufficientDBInstanceCapacityFault | InvalidDBInstanceStateFault | InvalidRestoreFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | NetworkTypeNotSupported | OptionGroupNotFoundFault | PointInTimeRestoreNotEnabledFault | ProvisionedIopsNotAvailableInAZFault | StorageQuotaExceededFault | StorageTypeNotSupportedFault | TenantDatabaseQuotaExceededFault | CommonAwsError >; revokeDBSecurityGroupIngress( input: RevokeDBSecurityGroupIngressMessage, ): Effect.Effect< RevokeDBSecurityGroupIngressResult, - | AuthorizationNotFoundFault - | DBSecurityGroupNotFoundFault - | InvalidDBSecurityGroupStateFault - | CommonAwsError + AuthorizationNotFoundFault | DBSecurityGroupNotFoundFault | InvalidDBSecurityGroupStateFault | CommonAwsError >; startActivityStream( input: StartActivityStreamRequest, ): Effect.Effect< StartActivityStreamResponse, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | KMSKeyNotAccessibleFault - | ResourceNotFoundFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | KMSKeyNotAccessibleFault | ResourceNotFoundFault | CommonAwsError >; startDBCluster( input: StartDBClusterMessage, ): Effect.Effect< StartDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBShardGroupStateFault - | KMSKeyNotAccessibleFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBShardGroupStateFault | KMSKeyNotAccessibleFault | CommonAwsError >; startDBInstance( input: StartDBInstanceMessage, ): Effect.Effect< StartDBInstanceResult, - | AuthorizationNotFoundFault - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotFoundFault - | InsufficientDBInstanceCapacityFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | CommonAwsError + AuthorizationNotFoundFault | DBClusterNotFoundFault | DBInstanceNotFoundFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotFoundFault | InsufficientDBInstanceCapacityFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | CommonAwsError >; startDBInstanceAutomatedBackupsReplication( input: StartDBInstanceAutomatedBackupsReplicationMessage, ): Effect.Effect< StartDBInstanceAutomatedBackupsReplicationResult, - | DBInstanceAutomatedBackupQuotaExceededFault - | DBInstanceNotFoundFault - | InvalidDBInstanceAutomatedBackupStateFault - | InvalidDBInstanceStateFault - | KMSKeyNotAccessibleFault - | StorageTypeNotSupportedFault - | CommonAwsError + DBInstanceAutomatedBackupQuotaExceededFault | DBInstanceNotFoundFault | InvalidDBInstanceAutomatedBackupStateFault | InvalidDBInstanceStateFault | KMSKeyNotAccessibleFault | StorageTypeNotSupportedFault | CommonAwsError >; startExportTask( input: StartExportTaskMessage, ): Effect.Effect< ExportTask, - | DBClusterNotFoundFault - | DBClusterSnapshotNotFoundFault - | DBSnapshotNotFoundFault - | ExportTaskAlreadyExistsFault - | IamRoleMissingPermissionsFault - | IamRoleNotFoundFault - | InvalidExportOnlyFault - | InvalidExportSourceStateFault - | InvalidS3BucketFault - | KMSKeyNotAccessibleFault - | CommonAwsError + DBClusterNotFoundFault | DBClusterSnapshotNotFoundFault | DBSnapshotNotFoundFault | ExportTaskAlreadyExistsFault | IamRoleMissingPermissionsFault | IamRoleNotFoundFault | InvalidExportOnlyFault | InvalidExportSourceStateFault | InvalidS3BucketFault | KMSKeyNotAccessibleFault | CommonAwsError >; stopActivityStream( input: StopActivityStreamRequest, ): Effect.Effect< StopActivityStreamResponse, - | DBClusterNotFoundFault - | DBInstanceNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | ResourceNotFoundFault - | CommonAwsError + DBClusterNotFoundFault | DBInstanceNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | ResourceNotFoundFault | CommonAwsError >; stopDBCluster( input: StopDBClusterMessage, ): Effect.Effect< StopDBClusterResult, - | DBClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | InvalidDBShardGroupStateFault - | CommonAwsError + DBClusterNotFoundFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | InvalidDBShardGroupStateFault | CommonAwsError >; stopDBInstance( input: StopDBInstanceMessage, ): Effect.Effect< StopDBInstanceResult, - | DBInstanceNotFoundFault - | DBSnapshotAlreadyExistsFault - | InvalidDBClusterStateFault - | InvalidDBInstanceStateFault - | SnapshotQuotaExceededFault - | CommonAwsError + DBInstanceNotFoundFault | DBSnapshotAlreadyExistsFault | InvalidDBClusterStateFault | InvalidDBInstanceStateFault | SnapshotQuotaExceededFault | CommonAwsError >; stopDBInstanceAutomatedBackupsReplication( input: StopDBInstanceAutomatedBackupsReplicationMessage, @@ -1551,19 +967,13 @@ export declare class RDS extends AWSServiceClient { input: SwitchoverBlueGreenDeploymentRequest, ): Effect.Effect< SwitchoverBlueGreenDeploymentResponse, - | BlueGreenDeploymentNotFoundFault - | InvalidBlueGreenDeploymentStateFault - | CommonAwsError + BlueGreenDeploymentNotFoundFault | InvalidBlueGreenDeploymentStateFault | CommonAwsError >; switchoverGlobalCluster( input: SwitchoverGlobalClusterMessage, ): Effect.Effect< SwitchoverGlobalClusterResult, - | DBClusterNotFoundFault - | GlobalClusterNotFoundFault - | InvalidDBClusterStateFault - | InvalidGlobalClusterStateFault - | CommonAwsError + DBClusterNotFoundFault | GlobalClusterNotFoundFault | InvalidDBClusterStateFault | InvalidGlobalClusterStateFault | CommonAwsError >; switchoverReadReplica( input: SwitchoverReadReplicaMessage, @@ -1586,16 +996,8 @@ export interface AccountQuota { export type AccountQuotaList = Array; export type ActivityStreamMode = "sync" | "async"; export type ActivityStreamModeList = Array; -export type ActivityStreamPolicyStatus = - | "locked" - | "unlocked" - | "locking-policy" - | "unlocking-policy"; -export type ActivityStreamStatus = - | "stopped" - | "starting" - | "started" - | "stopping"; +export type ActivityStreamPolicyStatus = "locked" | "unlocked" | "locking-policy" | "unlocking-policy"; +export type ActivityStreamStatus = "stopped" | "starting" | "started" | "stopping"; export interface AddRoleToDBClusterMessage { DBClusterIdentifier: string; RoleArn: string; @@ -1763,12 +1165,7 @@ export interface CharacterSet { CharacterSetName?: string; CharacterSetDescription?: string; } -export type ClientPasswordAuthType = - | "MYSQL_NATIVE_PASSWORD" - | "MYSQL_CACHING_SHA2_PASSWORD" - | "POSTGRES_SCRAM_SHA_256" - | "POSTGRES_MD5" - | "SQL_SERVER_AUTHENTICATION"; +export type ClientPasswordAuthType = "MYSQL_NATIVE_PASSWORD" | "MYSQL_CACHING_SHA2_PASSWORD" | "POSTGRES_SCRAM_SHA_256" | "POSTGRES_MD5" | "SQL_SERVER_AUTHENTICATION"; export interface CloudwatchLogsExportConfiguration { EnableLogTypes?: Array; DisableLogTypes?: Array; @@ -2267,10 +1664,7 @@ export type CustomEngineName = string; export type CustomEngineVersion = string; -export type CustomEngineVersionStatus = - | "available" - | "inactive" - | "inactive-except-restore"; +export type CustomEngineVersionStatus = "available" | "inactive" | "inactive-except-restore"; export type DatabaseArn = string; export type DatabaseInsightsMode = "standard" | "advanced"; @@ -2785,8 +2179,7 @@ export declare class DBInstanceAutomatedBackupQuotaExceededFault extends EffectD export interface DBInstanceAutomatedBackupsReplication { DBInstanceAutomatedBackupsArn?: string; } -export type DBInstanceAutomatedBackupsReplicationList = - Array; +export type DBInstanceAutomatedBackupsReplicationList = Array; export type DBInstanceList = Array; export interface DBInstanceMessage { Marker?: string; @@ -2936,13 +2329,7 @@ export declare class DBProxyEndpointQuotaExceededFault extends EffectData.Tagged )<{ readonly message?: string; }> {} -export type DBProxyEndpointStatus = - | "available" - | "modifying" - | "incompatible-network" - | "insufficient-resource-limits" - | "creating" - | "deleting"; +export type DBProxyEndpointStatus = "available" | "modifying" | "incompatible-network" | "insufficient-resource-limits" | "creating" | "deleting"; export type DBProxyEndpointTargetRole = "READ_WRITE" | "READ_ONLY"; export type DBProxyList = Array; export type DBProxyName = string; @@ -2957,16 +2344,7 @@ export declare class DBProxyQuotaExceededFault extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type DBProxyStatus = - | "available" - | "modifying" - | "incompatible-network" - | "insufficient-resource-limits" - | "creating" - | "deleting" - | "suspended" - | "suspending" - | "reactivating"; +export type DBProxyStatus = "available" | "modifying" | "incompatible-network" | "insufficient-resource-limits" | "creating" | "deleting" | "suspended" | "suspending" | "reactivating"; export interface DBProxyTarget { TargetArn?: string; Endpoint?: string; @@ -3355,8 +2733,10 @@ export interface DeregisterDBProxyTargetsRequest { DBInstanceIdentifiers?: Array; DBClusterIdentifiers?: Array; } -export interface DeregisterDBProxyTargetsResponse {} -export interface DescribeAccountAttributesMessage {} +export interface DeregisterDBProxyTargetsResponse { +} +export interface DescribeAccountAttributesMessage { +} export interface DescribeBlueGreenDeploymentsRequest { BlueGreenDeploymentIdentifier?: string; Filters?: Array; @@ -3962,9 +3342,7 @@ export interface GlobalClusterMember { SynchronizationStatus?: GlobalClusterMemberSynchronizationStatus; } export type GlobalClusterMemberList = Array; -export type GlobalClusterMemberSynchronizationStatus = - | "connected" - | "pending-resync"; +export type GlobalClusterMemberSynchronizationStatus = "connected" | "pending-resync"; export declare class GlobalClusterNotFoundFault extends EffectData.TaggedError( "GlobalClusterNotFoundFault", )<{ @@ -4067,14 +3445,7 @@ export declare class IntegrationQuotaExceededFault extends EffectData.TaggedErro )<{ readonly message?: string; }> {} -export type IntegrationStatus = - | "creating" - | "active" - | "modifying" - | "failed" - | "deleting" - | "syncing" - | "needs_attention"; +export type IntegrationStatus = "creating" | "active" | "modifying" | "failed" | "deleting" | "syncing" | "needs_attention"; export declare class InvalidBlueGreenDeploymentStateFault extends EffectData.TaggedError( "InvalidBlueGreenDeploymentStateFault", )<{ @@ -4241,32 +3612,17 @@ export declare class KMSKeyNotAccessibleFault extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type LifecycleSupportName = - | "open-source-rds-standard-support" - | "open-source-rds-extended-support"; +export type LifecycleSupportName = "open-source-rds-standard-support" | "open-source-rds-extended-support"; export interface LimitlessDatabase { Status?: LimitlessDatabaseStatus; MinRequiredACU?: number; } -export type LimitlessDatabaseStatus = - | "active" - | "not-in-use" - | "enabled" - | "disabled" - | "enabling" - | "disabling" - | "modifying-max-capacity" - | "error"; +export type LimitlessDatabaseStatus = "active" | "not-in-use" | "enabled" | "disabled" | "enabling" | "disabling" | "modifying-max-capacity" | "error"; export interface ListTagsForResourceMessage { ResourceName: string; Filters?: Array; } -export type LocalWriteForwardingStatus = - | "enabled" - | "disabled" - | "enabling" - | "disabling" - | "requested"; +export type LocalWriteForwardingStatus = "enabled" | "disabled" | "enabling" | "disabling" | "requested"; export type LogTypeList = Array; export type Long = number; @@ -4308,8 +3664,7 @@ export interface MinimumEngineVersionPerAllowedValue { AllowedValue?: string; MinimumEngineVersion?: string; } -export type MinimumEngineVersionPerAllowedValueList = - Array; +export type MinimumEngineVersionPerAllowedValueList = Array; export interface ModifyActivityStreamRequest { ResourceArn?: string; AuditPolicyState?: AuditPolicyState; @@ -4792,8 +4147,7 @@ export interface PendingMaintenanceAction { Description?: string; } export type PendingMaintenanceActionDetails = Array; -export type PendingMaintenanceActions = - Array; +export type PendingMaintenanceActions = Array; export interface PendingMaintenanceActionsMessage { PendingMaintenanceActions?: Array; Marker?: string; @@ -5028,8 +4382,7 @@ export interface ReservedDBInstancesOffering { MultiAZ?: boolean; RecurringCharges?: Array; } -export type ReservedDBInstancesOfferingList = - Array; +export type ReservedDBInstancesOfferingList = Array; export interface ReservedDBInstancesOfferingMessage { Marker?: string; ReservedDBInstancesOfferings?: Array; @@ -5442,18 +4795,7 @@ export interface SourceRegionMessage { Marker?: string; SourceRegions?: Array; } -export type SourceType = - | "db-instance" - | "db-parameter-group" - | "db-security-group" - | "db-snapshot" - | "db-cluster" - | "db-cluster-snapshot" - | "custom-engine-version" - | "db-proxy" - | "blue-green-deployment" - | "db-shard-group" - | "zero-etl"; +export type SourceType = "db-instance" | "db-parameter-group" | "db-security-group" | "db-snapshot" | "db-cluster" | "db-cluster-snapshot" | "custom-engine-version" | "db-proxy" | "blue-green-deployment" | "db-shard-group" | "zero-etl"; export interface StartActivityStreamRequest { ResourceArn: string; Mode: ActivityStreamMode; @@ -5636,26 +4978,13 @@ export interface TargetHealth { Reason?: TargetHealthReason; Description?: string; } -export type TargetHealthReason = - | "UNREACHABLE" - | "CONNECTION_FAILED" - | "AUTH_FAILURE" - | "PENDING_PROXY_CAPACITY" - | "INVALID_REPLICATION_STATE" - | "PROMOTED"; +export type TargetHealthReason = "UNREACHABLE" | "CONNECTION_FAILED" | "AUTH_FAILURE" | "PENDING_PROXY_CAPACITY" | "INVALID_REPLICATION_STATE" | "PROMOTED"; export type TargetList = Array; export type TargetRole = "READ_WRITE" | "READ_ONLY" | "UNKNOWN"; -export type TargetState = - | "REGISTERING" - | "AVAILABLE" - | "UNAVAILABLE" - | "UNUSED"; +export type TargetState = "REGISTERING" | "AVAILABLE" | "UNAVAILABLE" | "UNUSED"; export type TargetStorageType = string; -export type TargetType = - | "RDS_INSTANCE" - | "RDS_SERVERLESS_ENDPOINT" - | "TRACKED_CLUSTER"; +export type TargetType = "RDS_INSTANCE" | "RDS_SERVERLESS_ENDPOINT" | "TRACKED_CLUSTER"; export interface TenantDatabase { TenantDatabaseCreateTime?: Date | string; DBInstanceIdentifier?: string; @@ -5760,12 +5089,7 @@ export interface VpcSecurityGroupMembership { Status?: string; } export type VpcSecurityGroupMembershipList = Array; -export type WriteForwardingStatus = - | "enabled" - | "disabled" - | "enabling" - | "disabling" - | "unknown"; +export type WriteForwardingStatus = "enabled" | "disabled" | "enabling" | "disabling" | "unknown"; export declare class DBInstanceNotFound extends EffectData.TaggedError( "DBInstanceNotFound", )<{}> {} @@ -6437,25 +5761,32 @@ export declare namespace DeregisterDBProxyTargets { export declare namespace DescribeAccountAttributes { export type Input = DescribeAccountAttributesMessage; export type Output = AccountAttributesMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeBlueGreenDeployments { export type Input = DescribeBlueGreenDeploymentsRequest; export type Output = DescribeBlueGreenDeploymentsResponse; - export type Error = BlueGreenDeploymentNotFoundFault | CommonAwsError; + export type Error = + | BlueGreenDeploymentNotFoundFault + | CommonAwsError; } export declare namespace DescribeCertificates { export type Input = DescribeCertificatesMessage; export type Output = CertificateMessage; - export type Error = CertificateNotFoundFault | CommonAwsError; + export type Error = + | CertificateNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterAutomatedBackups { export type Input = DescribeDBClusterAutomatedBackupsMessage; export type Output = DBClusterAutomatedBackupMessage; - export type Error = DBClusterAutomatedBackupNotFoundFault | CommonAwsError; + export type Error = + | DBClusterAutomatedBackupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterBacktracks { @@ -6470,49 +5801,64 @@ export declare namespace DescribeDBClusterBacktracks { export declare namespace DescribeDBClusterEndpoints { export type Input = DescribeDBClusterEndpointsMessage; export type Output = DBClusterEndpointMessage; - export type Error = DBClusterNotFoundFault | CommonAwsError; + export type Error = + | DBClusterNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterParameterGroups { export type Input = DescribeDBClusterParameterGroupsMessage; export type Output = DBClusterParameterGroupsMessage; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterParameters { export type Input = DescribeDBClusterParametersMessage; export type Output = DBClusterParameterGroupDetails; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusters { export type Input = DescribeDBClustersMessage; export type Output = DBClusterMessage; - export type Error = DBClusterNotFoundFault | CommonAwsError; + export type Error = + | DBClusterNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterSnapshotAttributes { export type Input = DescribeDBClusterSnapshotAttributesMessage; export type Output = DescribeDBClusterSnapshotAttributesResult; - export type Error = DBClusterSnapshotNotFoundFault | CommonAwsError; + export type Error = + | DBClusterSnapshotNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBClusterSnapshots { export type Input = DescribeDBClusterSnapshotsMessage; export type Output = DBClusterSnapshotMessage; - export type Error = DBClusterSnapshotNotFoundFault | CommonAwsError; + export type Error = + | DBClusterSnapshotNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBEngineVersions { export type Input = DescribeDBEngineVersionsMessage; export type Output = DBEngineVersionMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeDBInstanceAutomatedBackups { export type Input = DescribeDBInstanceAutomatedBackupsMessage; export type Output = DBInstanceAutomatedBackupMessage; - export type Error = DBInstanceAutomatedBackupNotFoundFault | CommonAwsError; + export type Error = + | DBInstanceAutomatedBackupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBInstances { @@ -6536,25 +5882,32 @@ export declare namespace DescribeDBLogFiles { export declare namespace DescribeDBMajorEngineVersions { export type Input = DescribeDBMajorEngineVersionsRequest; export type Output = DescribeDBMajorEngineVersionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeDBParameterGroups { export type Input = DescribeDBParameterGroupsMessage; export type Output = DBParameterGroupsMessage; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBParameters { export type Input = DescribeDBParametersMessage; export type Output = DBParameterGroupDetails; - export type Error = DBParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | DBParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBProxies { export type Input = DescribeDBProxiesRequest; export type Output = DescribeDBProxiesResponse; - export type Error = DBProxyNotFoundFault | CommonAwsError; + export type Error = + | DBProxyNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBProxyEndpoints { @@ -6590,13 +5943,16 @@ export declare namespace DescribeDBProxyTargets { export declare namespace DescribeDBRecommendations { export type Input = DescribeDBRecommendationsMessage; export type Output = DBRecommendationsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeDBSecurityGroups { export type Input = DescribeDBSecurityGroupsMessage; export type Output = DBSecurityGroupMessage; - export type Error = DBSecurityGroupNotFoundFault | CommonAwsError; + export type Error = + | DBSecurityGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBShardGroups { @@ -6611,7 +5967,9 @@ export declare namespace DescribeDBShardGroups { export declare namespace DescribeDBSnapshotAttributes { export type Input = DescribeDBSnapshotAttributesMessage; export type Output = DescribeDBSnapshotAttributesResult; - export type Error = DBSnapshotNotFoundFault | CommonAwsError; + export type Error = + | DBSnapshotNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBSnapshots { @@ -6626,109 +5984,138 @@ export declare namespace DescribeDBSnapshots { export declare namespace DescribeDBSnapshotTenantDatabases { export type Input = DescribeDBSnapshotTenantDatabasesMessage; export type Output = DBSnapshotTenantDatabasesMessage; - export type Error = DBSnapshotNotFoundFault | CommonAwsError; + export type Error = + | DBSnapshotNotFoundFault + | CommonAwsError; } export declare namespace DescribeDBSubnetGroups { export type Input = DescribeDBSubnetGroupsMessage; export type Output = DBSubnetGroupMessage; - export type Error = DBSubnetGroupNotFoundFault | CommonAwsError; + export type Error = + | DBSubnetGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeEngineDefaultClusterParameters { export type Input = DescribeEngineDefaultClusterParametersMessage; export type Output = DescribeEngineDefaultClusterParametersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEngineDefaultParameters { export type Input = DescribeEngineDefaultParametersMessage; export type Output = DescribeEngineDefaultParametersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventCategories { export type Input = DescribeEventCategoriesMessage; export type Output = EventCategoriesMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEvents { export type Input = DescribeEventsMessage; export type Output = EventsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventSubscriptions { export type Input = DescribeEventSubscriptionsMessage; export type Output = EventSubscriptionsMessage; - export type Error = SubscriptionNotFoundFault | CommonAwsError; + export type Error = + | SubscriptionNotFoundFault + | CommonAwsError; } export declare namespace DescribeExportTasks { export type Input = DescribeExportTasksMessage; export type Output = ExportTasksMessage; - export type Error = ExportTaskNotFoundFault | CommonAwsError; + export type Error = + | ExportTaskNotFoundFault + | CommonAwsError; } export declare namespace DescribeGlobalClusters { export type Input = DescribeGlobalClustersMessage; export type Output = GlobalClustersMessage; - export type Error = GlobalClusterNotFoundFault | CommonAwsError; + export type Error = + | GlobalClusterNotFoundFault + | CommonAwsError; } export declare namespace DescribeIntegrations { export type Input = DescribeIntegrationsMessage; export type Output = DescribeIntegrationsResponse; - export type Error = IntegrationNotFoundFault | CommonAwsError; + export type Error = + | IntegrationNotFoundFault + | CommonAwsError; } export declare namespace DescribeOptionGroupOptions { export type Input = DescribeOptionGroupOptionsMessage; export type Output = OptionGroupOptionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeOptionGroups { export type Input = DescribeOptionGroupsMessage; export type Output = OptionGroups; - export type Error = OptionGroupNotFoundFault | CommonAwsError; + export type Error = + | OptionGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeOrderableDBInstanceOptions { export type Input = DescribeOrderableDBInstanceOptionsMessage; export type Output = OrderableDBInstanceOptionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribePendingMaintenanceActions { export type Input = DescribePendingMaintenanceActionsMessage; export type Output = PendingMaintenanceActionsMessage; - export type Error = ResourceNotFoundFault | CommonAwsError; + export type Error = + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeReservedDBInstances { export type Input = DescribeReservedDBInstancesMessage; export type Output = ReservedDBInstanceMessage; - export type Error = ReservedDBInstanceNotFoundFault | CommonAwsError; + export type Error = + | ReservedDBInstanceNotFoundFault + | CommonAwsError; } export declare namespace DescribeReservedDBInstancesOfferings { export type Input = DescribeReservedDBInstancesOfferingsMessage; export type Output = ReservedDBInstancesOfferingMessage; - export type Error = ReservedDBInstancesOfferingNotFoundFault | CommonAwsError; + export type Error = + | ReservedDBInstancesOfferingNotFoundFault + | CommonAwsError; } export declare namespace DescribeSourceRegions { export type Input = DescribeSourceRegionsMessage; export type Output = SourceRegionMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTenantDatabases { export type Input = DescribeTenantDatabasesMessage; export type Output = TenantDatabasesMessage; - export type Error = DBInstanceNotFoundFault | CommonAwsError; + export type Error = + | DBInstanceNotFoundFault + | CommonAwsError; } export declare namespace DescribeValidDBInstanceModifications { @@ -6820,7 +6207,9 @@ export declare namespace ModifyActivityStream { export declare namespace ModifyCertificates { export type Input = ModifyCertificatesMessage; export type Output = ModifyCertificatesResult; - export type Error = CertificateNotFoundFault | CommonAwsError; + export type Error = + | CertificateNotFoundFault + | CommonAwsError; } export declare namespace ModifyCurrentDBClusterCapacity { @@ -6971,7 +6360,8 @@ export declare namespace ModifyDBProxyTargetGroup { export declare namespace ModifyDBRecommendation { export type Input = ModifyDBRecommendationMessage; export type Output = DBRecommendationMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ModifyDBShardGroup { @@ -7551,152 +6941,5 @@ export declare namespace SwitchoverReadReplica { | CommonAwsError; } -export type RDSErrors = - | AuthorizationAlreadyExistsFault - | AuthorizationNotFoundFault - | AuthorizationQuotaExceededFault - | BackupPolicyNotFoundFault - | BlueGreenDeploymentAlreadyExistsFault - | BlueGreenDeploymentNotFoundFault - | CertificateNotFoundFault - | CreateCustomDBEngineVersionFault - | CustomAvailabilityZoneNotFoundFault - | CustomDBEngineVersionAlreadyExistsFault - | CustomDBEngineVersionNotFoundFault - | CustomDBEngineVersionQuotaExceededFault - | DBClusterAlreadyExistsFault - | DBClusterAutomatedBackupNotFoundFault - | DBClusterAutomatedBackupQuotaExceededFault - | DBClusterBacktrackNotFoundFault - | DBClusterEndpointAlreadyExistsFault - | DBClusterEndpointNotFoundFault - | DBClusterEndpointQuotaExceededFault - | DBClusterNotFoundFault - | DBClusterParameterGroupNotFoundFault - | DBClusterQuotaExceededFault - | DBClusterRoleAlreadyExistsFault - | DBClusterRoleNotFoundFault - | DBClusterRoleQuotaExceededFault - | DBClusterSnapshotAlreadyExistsFault - | DBClusterSnapshotNotFoundFault - | DBInstanceAlreadyExistsFault - | DBInstanceAutomatedBackupNotFoundFault - | DBInstanceAutomatedBackupQuotaExceededFault - | DBInstanceNotFoundFault - | DBInstanceNotReadyFault - | DBInstanceRoleAlreadyExistsFault - | DBInstanceRoleNotFoundFault - | DBInstanceRoleQuotaExceededFault - | DBLogFileNotFoundFault - | DBParameterGroupAlreadyExistsFault - | DBParameterGroupNotFoundFault - | DBParameterGroupQuotaExceededFault - | DBProxyAlreadyExistsFault - | DBProxyEndpointAlreadyExistsFault - | DBProxyEndpointNotFoundFault - | DBProxyEndpointQuotaExceededFault - | DBProxyNotFoundFault - | DBProxyQuotaExceededFault - | DBProxyTargetAlreadyRegisteredFault - | DBProxyTargetGroupNotFoundFault - | DBProxyTargetNotFoundFault - | DBSecurityGroupAlreadyExistsFault - | DBSecurityGroupNotFoundFault - | DBSecurityGroupNotSupportedFault - | DBSecurityGroupQuotaExceededFault - | DBShardGroupAlreadyExistsFault - | DBShardGroupNotFoundFault - | DBSnapshotAlreadyExistsFault - | DBSnapshotNotFoundFault - | DBSnapshotTenantDatabaseNotFoundFault - | DBSubnetGroupAlreadyExistsFault - | DBSubnetGroupDoesNotCoverEnoughAZs - | DBSubnetGroupNotAllowedFault - | DBSubnetGroupNotFoundFault - | DBSubnetGroupQuotaExceededFault - | DBSubnetQuotaExceededFault - | DBUpgradeDependencyFailureFault - | DomainNotFoundFault - | Ec2ImagePropertiesNotSupportedFault - | EventSubscriptionQuotaExceededFault - | ExportTaskAlreadyExistsFault - | ExportTaskNotFoundFault - | GlobalClusterAlreadyExistsFault - | GlobalClusterNotFoundFault - | GlobalClusterQuotaExceededFault - | IamRoleMissingPermissionsFault - | IamRoleNotFoundFault - | InstanceQuotaExceededFault - | InsufficientAvailableIPsInSubnetFault - | InsufficientDBClusterCapacityFault - | InsufficientDBInstanceCapacityFault - | InsufficientStorageClusterCapacityFault - | IntegrationAlreadyExistsFault - | IntegrationConflictOperationFault - | IntegrationNotFoundFault - | IntegrationQuotaExceededFault - | InvalidBlueGreenDeploymentStateFault - | InvalidCustomDBEngineVersionStateFault - | InvalidDBClusterAutomatedBackupStateFault - | InvalidDBClusterCapacityFault - | InvalidDBClusterEndpointStateFault - | InvalidDBClusterSnapshotStateFault - | InvalidDBClusterStateFault - | InvalidDBInstanceAutomatedBackupStateFault - | InvalidDBInstanceStateFault - | InvalidDBParameterGroupStateFault - | InvalidDBProxyEndpointStateFault - | InvalidDBProxyStateFault - | InvalidDBSecurityGroupStateFault - | InvalidDBShardGroupStateFault - | InvalidDBSnapshotStateFault - | InvalidDBSubnetGroupFault - | InvalidDBSubnetGroupStateFault - | InvalidDBSubnetStateFault - | InvalidEventSubscriptionStateFault - | InvalidExportOnlyFault - | InvalidExportSourceStateFault - | InvalidExportTaskStateFault - | InvalidGlobalClusterStateFault - | InvalidIntegrationStateFault - | InvalidOptionGroupStateFault - | InvalidResourceStateFault - | InvalidRestoreFault - | InvalidS3BucketFault - | InvalidSubnet - | InvalidVPCNetworkStateFault - | KMSKeyNotAccessibleFault - | MaxDBShardGroupLimitReached - | NetworkTypeNotSupported - | OptionGroupAlreadyExistsFault - | OptionGroupNotFoundFault - | OptionGroupQuotaExceededFault - | PointInTimeRestoreNotEnabledFault - | ProvisionedIopsNotAvailableInAZFault - | ReservedDBInstanceAlreadyExistsFault - | ReservedDBInstanceNotFoundFault - | ReservedDBInstanceQuotaExceededFault - | ReservedDBInstancesOfferingNotFoundFault - | ResourceNotFoundFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SharedSnapshotQuotaExceededFault - | SnapshotQuotaExceededFault - | SourceClusterNotSupportedFault - | SourceDatabaseNotSupportedFault - | SourceNotFoundFault - | StorageQuotaExceededFault - | StorageTypeNotAvailableFault - | StorageTypeNotSupportedFault - | SubnetAlreadyInUse - | SubscriptionAlreadyExistFault - | SubscriptionCategoryNotFoundFault - | SubscriptionNotFoundFault - | TenantDatabaseAlreadyExistsFault - | TenantDatabaseNotFoundFault - | TenantDatabaseQuotaExceededFault - | UnsupportedDBEngineVersionFault - | DBInstanceNotFound - | DBSnapshotNotFound - | CommonAwsError; +export type RDSErrors = AuthorizationAlreadyExistsFault | AuthorizationNotFoundFault | AuthorizationQuotaExceededFault | BackupPolicyNotFoundFault | BlueGreenDeploymentAlreadyExistsFault | BlueGreenDeploymentNotFoundFault | CertificateNotFoundFault | CreateCustomDBEngineVersionFault | CustomAvailabilityZoneNotFoundFault | CustomDBEngineVersionAlreadyExistsFault | CustomDBEngineVersionNotFoundFault | CustomDBEngineVersionQuotaExceededFault | DBClusterAlreadyExistsFault | DBClusterAutomatedBackupNotFoundFault | DBClusterAutomatedBackupQuotaExceededFault | DBClusterBacktrackNotFoundFault | DBClusterEndpointAlreadyExistsFault | DBClusterEndpointNotFoundFault | DBClusterEndpointQuotaExceededFault | DBClusterNotFoundFault | DBClusterParameterGroupNotFoundFault | DBClusterQuotaExceededFault | DBClusterRoleAlreadyExistsFault | DBClusterRoleNotFoundFault | DBClusterRoleQuotaExceededFault | DBClusterSnapshotAlreadyExistsFault | DBClusterSnapshotNotFoundFault | DBInstanceAlreadyExistsFault | DBInstanceAutomatedBackupNotFoundFault | DBInstanceAutomatedBackupQuotaExceededFault | DBInstanceNotFoundFault | DBInstanceNotReadyFault | DBInstanceRoleAlreadyExistsFault | DBInstanceRoleNotFoundFault | DBInstanceRoleQuotaExceededFault | DBLogFileNotFoundFault | DBParameterGroupAlreadyExistsFault | DBParameterGroupNotFoundFault | DBParameterGroupQuotaExceededFault | DBProxyAlreadyExistsFault | DBProxyEndpointAlreadyExistsFault | DBProxyEndpointNotFoundFault | DBProxyEndpointQuotaExceededFault | DBProxyNotFoundFault | DBProxyQuotaExceededFault | DBProxyTargetAlreadyRegisteredFault | DBProxyTargetGroupNotFoundFault | DBProxyTargetNotFoundFault | DBSecurityGroupAlreadyExistsFault | DBSecurityGroupNotFoundFault | DBSecurityGroupNotSupportedFault | DBSecurityGroupQuotaExceededFault | DBShardGroupAlreadyExistsFault | DBShardGroupNotFoundFault | DBSnapshotAlreadyExistsFault | DBSnapshotNotFoundFault | DBSnapshotTenantDatabaseNotFoundFault | DBSubnetGroupAlreadyExistsFault | DBSubnetGroupDoesNotCoverEnoughAZs | DBSubnetGroupNotAllowedFault | DBSubnetGroupNotFoundFault | DBSubnetGroupQuotaExceededFault | DBSubnetQuotaExceededFault | DBUpgradeDependencyFailureFault | DomainNotFoundFault | Ec2ImagePropertiesNotSupportedFault | EventSubscriptionQuotaExceededFault | ExportTaskAlreadyExistsFault | ExportTaskNotFoundFault | GlobalClusterAlreadyExistsFault | GlobalClusterNotFoundFault | GlobalClusterQuotaExceededFault | IamRoleMissingPermissionsFault | IamRoleNotFoundFault | InstanceQuotaExceededFault | InsufficientAvailableIPsInSubnetFault | InsufficientDBClusterCapacityFault | InsufficientDBInstanceCapacityFault | InsufficientStorageClusterCapacityFault | IntegrationAlreadyExistsFault | IntegrationConflictOperationFault | IntegrationNotFoundFault | IntegrationQuotaExceededFault | InvalidBlueGreenDeploymentStateFault | InvalidCustomDBEngineVersionStateFault | InvalidDBClusterAutomatedBackupStateFault | InvalidDBClusterCapacityFault | InvalidDBClusterEndpointStateFault | InvalidDBClusterSnapshotStateFault | InvalidDBClusterStateFault | InvalidDBInstanceAutomatedBackupStateFault | InvalidDBInstanceStateFault | InvalidDBParameterGroupStateFault | InvalidDBProxyEndpointStateFault | InvalidDBProxyStateFault | InvalidDBSecurityGroupStateFault | InvalidDBShardGroupStateFault | InvalidDBSnapshotStateFault | InvalidDBSubnetGroupFault | InvalidDBSubnetGroupStateFault | InvalidDBSubnetStateFault | InvalidEventSubscriptionStateFault | InvalidExportOnlyFault | InvalidExportSourceStateFault | InvalidExportTaskStateFault | InvalidGlobalClusterStateFault | InvalidIntegrationStateFault | InvalidOptionGroupStateFault | InvalidResourceStateFault | InvalidRestoreFault | InvalidS3BucketFault | InvalidSubnet | InvalidVPCNetworkStateFault | KMSKeyNotAccessibleFault | MaxDBShardGroupLimitReached | NetworkTypeNotSupported | OptionGroupAlreadyExistsFault | OptionGroupNotFoundFault | OptionGroupQuotaExceededFault | PointInTimeRestoreNotEnabledFault | ProvisionedIopsNotAvailableInAZFault | ReservedDBInstanceAlreadyExistsFault | ReservedDBInstanceNotFoundFault | ReservedDBInstanceQuotaExceededFault | ReservedDBInstancesOfferingNotFoundFault | ResourceNotFoundFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SharedSnapshotQuotaExceededFault | SnapshotQuotaExceededFault | SourceClusterNotSupportedFault | SourceDatabaseNotSupportedFault | SourceNotFoundFault | StorageQuotaExceededFault | StorageTypeNotAvailableFault | StorageTypeNotSupportedFault | SubnetAlreadyInUse | SubscriptionAlreadyExistFault | SubscriptionCategoryNotFoundFault | SubscriptionNotFoundFault | TenantDatabaseAlreadyExistsFault | TenantDatabaseNotFoundFault | TenantDatabaseQuotaExceededFault | UnsupportedDBEngineVersionFault | DBInstanceNotFound | DBSnapshotNotFound | CommonAwsError; + diff --git a/src/services/redshift-data/index.ts b/src/services/redshift-data/index.ts index c4bde8f3..a1a164c8 100644 --- a/src/services/redshift-data/index.ts +++ b/src/services/redshift-data/index.ts @@ -5,25 +5,7 @@ import type { RedshiftData as _RedshiftDataClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/redshift-data/types.ts b/src/services/redshift-data/types.ts index e8b2c155..698cf01b 100644 --- a/src/services/redshift-data/types.ts +++ b/src/services/redshift-data/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class RedshiftData extends AWSServiceClient { @@ -42,90 +8,55 @@ export declare class RedshiftData extends AWSServiceClient { input: BatchExecuteStatementInput, ): Effect.Effect< BatchExecuteStatementOutput, - | ActiveSessionsExceededException - | ActiveStatementsExceededException - | BatchExecuteStatementException - | InternalServerException - | ValidationException - | CommonAwsError + ActiveSessionsExceededException | ActiveStatementsExceededException | BatchExecuteStatementException | InternalServerException | ValidationException | CommonAwsError >; cancelStatement( input: CancelStatementRequest, ): Effect.Effect< CancelStatementResponse, - | DatabaseConnectionException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + DatabaseConnectionException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeStatement( input: DescribeStatementRequest, ): Effect.Effect< DescribeStatementResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeTable( input: DescribeTableRequest, ): Effect.Effect< DescribeTableResponse, - | DatabaseConnectionException - | InternalServerException - | QueryTimeoutException - | ValidationException - | CommonAwsError + DatabaseConnectionException | InternalServerException | QueryTimeoutException | ValidationException | CommonAwsError >; executeStatement( input: ExecuteStatementInput, ): Effect.Effect< ExecuteStatementOutput, - | ActiveSessionsExceededException - | ActiveStatementsExceededException - | ExecuteStatementException - | InternalServerException - | ValidationException - | CommonAwsError + ActiveSessionsExceededException | ActiveStatementsExceededException | ExecuteStatementException | InternalServerException | ValidationException | CommonAwsError >; getStatementResult( input: GetStatementResultRequest, ): Effect.Effect< GetStatementResultResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getStatementResultV2( input: GetStatementResultV2Request, ): Effect.Effect< GetStatementResultV2Response, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDatabases( input: ListDatabasesRequest, ): Effect.Effect< ListDatabasesResponse, - | DatabaseConnectionException - | InternalServerException - | QueryTimeoutException - | ValidationException - | CommonAwsError + DatabaseConnectionException | InternalServerException | QueryTimeoutException | ValidationException | CommonAwsError >; listSchemas( input: ListSchemasRequest, ): Effect.Effect< ListSchemasResponse, - | DatabaseConnectionException - | InternalServerException - | QueryTimeoutException - | ValidationException - | CommonAwsError + DatabaseConnectionException | InternalServerException | QueryTimeoutException | ValidationException | CommonAwsError >; listStatements( input: ListStatementsRequest, @@ -137,11 +68,7 @@ export declare class RedshiftData extends AWSServiceClient { input: ListTablesRequest, ): Effect.Effect< ListTablesResponse, - | DatabaseConnectionException - | InternalServerException - | QueryTimeoutException - | ValidationException - | CommonAwsError + DatabaseConnectionException | InternalServerException | QueryTimeoutException | ValidationException | CommonAwsError >; } @@ -314,13 +241,7 @@ interface _Field { blobValue?: Uint8Array | string; } -export type Field = - | (_Field & { isNull: boolean }) - | (_Field & { booleanValue: boolean }) - | (_Field & { longValue: number }) - | (_Field & { doubleValue: number }) - | (_Field & { stringValue: string }) - | (_Field & { blobValue: Uint8Array | string }); +export type Field = (_Field & { isNull: boolean }) | (_Field & { booleanValue: boolean }) | (_Field & { longValue: number }) | (_Field & { doubleValue: number }) | (_Field & { stringValue: string }) | (_Field & { blobValue: Uint8Array | string }); export type FieldList = Array; export type FormattedSqlRecords = Array; export interface GetStatementResultRequest { @@ -423,7 +344,7 @@ interface _QueryRecords { CSVRecords?: string; } -export type QueryRecords = _QueryRecords & { CSVRecords: string }; +export type QueryRecords = (_QueryRecords & { CSVRecords: string }); export declare class QueryTimeoutException extends EffectData.TaggedError( "QueryTimeoutException", )<{ @@ -622,14 +543,5 @@ export declare namespace ListTables { | CommonAwsError; } -export type RedshiftDataErrors = - | ActiveSessionsExceededException - | ActiveStatementsExceededException - | BatchExecuteStatementException - | DatabaseConnectionException - | ExecuteStatementException - | InternalServerException - | QueryTimeoutException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type RedshiftDataErrors = ActiveSessionsExceededException | ActiveStatementsExceededException | BatchExecuteStatementException | DatabaseConnectionException | ExecuteStatementException | InternalServerException | QueryTimeoutException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/redshift-serverless/index.ts b/src/services/redshift-serverless/index.ts index 05db5d80..10ffe9fc 100644 --- a/src/services/redshift-serverless/index.ts +++ b/src/services/redshift-serverless/index.ts @@ -5,23 +5,7 @@ import type { RedshiftServerless as _RedshiftServerlessClient } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/redshift-serverless/types.ts b/src/services/redshift-serverless/types.ts index 19b40e08..5e94baa3 100644 --- a/src/services/redshift-serverless/types.ts +++ b/src/services/redshift-serverless/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class RedshiftServerless extends AWSServiceClient { @@ -40,394 +8,223 @@ export declare class RedshiftServerless extends AWSServiceClient { input: CreateCustomDomainAssociationRequest, ): Effect.Effect< CreateCustomDomainAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCustomDomainAssociation( input: DeleteCustomDomainAssociationRequest, ): Effect.Effect< DeleteCustomDomainAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getCredentials( input: GetCredentialsRequest, ): Effect.Effect< GetCredentialsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getCustomDomainAssociation( input: GetCustomDomainAssociationRequest, ): Effect.Effect< GetCustomDomainAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getTrack( input: GetTrackRequest, ): Effect.Effect< GetTrackResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCustomDomainAssociations( input: ListCustomDomainAssociationsRequest, ): Effect.Effect< ListCustomDomainAssociationsResponse, - | AccessDeniedException - | InternalServerException - | InvalidPaginationException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidPaginationException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTracks( input: ListTracksRequest, ): Effect.Effect< ListTracksResponse, - | AccessDeniedException - | InternalServerException - | InvalidPaginationException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidPaginationException | ThrottlingException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateCustomDomainAssociation( input: UpdateCustomDomainAssociationRequest, ): Effect.Effect< UpdateCustomDomainAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; convertRecoveryPointToSnapshot( input: ConvertRecoveryPointToSnapshotRequest, ): Effect.Effect< ConvertRecoveryPointToSnapshotResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyTagsException | ValidationException | CommonAwsError >; createEndpointAccess( input: CreateEndpointAccessRequest, ): Effect.Effect< CreateEndpointAccessResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createNamespace( input: CreateNamespaceRequest, ): Effect.Effect< CreateNamespaceResponse, - | ConflictException - | InternalServerException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | TooManyTagsException | ValidationException | CommonAwsError >; createReservation( input: CreateReservationRequest, ): Effect.Effect< CreateReservationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; createScheduledAction( input: CreateScheduledActionRequest, ): Effect.Effect< CreateScheduledActionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createSnapshot( input: CreateSnapshotRequest, ): Effect.Effect< CreateSnapshotResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyTagsException | ValidationException | CommonAwsError >; createSnapshotCopyConfiguration( input: CreateSnapshotCopyConfigurationRequest, ): Effect.Effect< CreateSnapshotCopyConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createUsageLimit( input: CreateUsageLimitRequest, ): Effect.Effect< CreateUsageLimitResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createWorkgroup( input: CreateWorkgroupRequest, ): Effect.Effect< CreateWorkgroupResponse, - | ConflictException - | InsufficientCapacityException - | InternalServerException - | Ipv6CidrBlockNotFoundException - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError + ConflictException | InsufficientCapacityException | InternalServerException | Ipv6CidrBlockNotFoundException | ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError >; deleteEndpointAccess( input: DeleteEndpointAccessRequest, ): Effect.Effect< DeleteEndpointAccessResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteNamespace( input: DeleteNamespaceRequest, ): Effect.Effect< DeleteNamespaceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteScheduledAction( input: DeleteScheduledActionRequest, ): Effect.Effect< DeleteScheduledActionResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteSnapshot( input: DeleteSnapshotRequest, ): Effect.Effect< DeleteSnapshotResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteSnapshotCopyConfiguration( input: DeleteSnapshotCopyConfigurationRequest, ): Effect.Effect< DeleteSnapshotCopyConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteUsageLimit( input: DeleteUsageLimitRequest, ): Effect.Effect< DeleteUsageLimitResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteWorkgroup( input: DeleteWorkgroupRequest, ): Effect.Effect< DeleteWorkgroupResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getEndpointAccess( input: GetEndpointAccessRequest, ): Effect.Effect< GetEndpointAccessResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getNamespace( input: GetNamespaceRequest, ): Effect.Effect< GetNamespaceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getRecoveryPoint( input: GetRecoveryPointRequest, ): Effect.Effect< GetRecoveryPointResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getReservation( input: GetReservationRequest, ): Effect.Effect< GetReservationResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReservationOffering( input: GetReservationOfferingRequest, ): Effect.Effect< GetReservationOfferingResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getScheduledAction( input: GetScheduledActionRequest, ): Effect.Effect< GetScheduledActionResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getSnapshot( input: GetSnapshotRequest, ): Effect.Effect< GetSnapshotResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getTableRestoreStatus( input: GetTableRestoreStatusRequest, @@ -439,30 +236,19 @@ export declare class RedshiftServerless extends AWSServiceClient { input: GetUsageLimitRequest, ): Effect.Effect< GetUsageLimitResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getWorkgroup( input: GetWorkgroupRequest, ): Effect.Effect< GetWorkgroupResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listEndpointAccess( input: ListEndpointAccessRequest, ): Effect.Effect< ListEndpointAccessResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listManagedWorkgroups( input: ListManagedWorkgroupsRequest, @@ -486,69 +272,43 @@ export declare class RedshiftServerless extends AWSServiceClient { input: ListReservationOfferingsRequest, ): Effect.Effect< ListReservationOfferingsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listReservations( input: ListReservationsRequest, ): Effect.Effect< ListReservationsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listScheduledActions( input: ListScheduledActionsRequest, ): Effect.Effect< ListScheduledActionsResponse, - | InternalServerException - | InvalidPaginationException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | InvalidPaginationException | ResourceNotFoundException | ValidationException | CommonAwsError >; listSnapshotCopyConfigurations( input: ListSnapshotCopyConfigurationsRequest, ): Effect.Effect< ListSnapshotCopyConfigurationsResponse, - | ConflictException - | InternalServerException - | InvalidPaginationException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | InvalidPaginationException | ResourceNotFoundException | ValidationException | CommonAwsError >; listSnapshots( input: ListSnapshotsRequest, ): Effect.Effect< ListSnapshotsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTableRestoreStatus( input: ListTableRestoreStatusRequest, ): Effect.Effect< ListTableRestoreStatusResponse, - | InvalidPaginationException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InvalidPaginationException | ResourceNotFoundException | ValidationException | CommonAwsError >; listUsageLimits( input: ListUsageLimitsRequest, ): Effect.Effect< ListUsageLimitsResponse, - | ConflictException - | InternalServerException - | InvalidPaginationException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | InvalidPaginationException | ResourceNotFoundException | ValidationException | CommonAwsError >; listWorkgroups( input: ListWorkgroupsRequest, @@ -560,116 +320,67 @@ export declare class RedshiftServerless extends AWSServiceClient { input: RestoreFromRecoveryPointRequest, ): Effect.Effect< RestoreFromRecoveryPointResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; restoreFromSnapshot( input: RestoreFromSnapshotRequest, ): Effect.Effect< RestoreFromSnapshotResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; restoreTableFromRecoveryPoint( input: RestoreTableFromRecoveryPointRequest, ): Effect.Effect< RestoreTableFromRecoveryPointResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; restoreTableFromSnapshot( input: RestoreTableFromSnapshotRequest, ): Effect.Effect< RestoreTableFromSnapshotResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateEndpointAccess( input: UpdateEndpointAccessRequest, ): Effect.Effect< UpdateEndpointAccessResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateNamespace( input: UpdateNamespaceRequest, ): Effect.Effect< UpdateNamespaceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateScheduledAction( input: UpdateScheduledActionRequest, ): Effect.Effect< UpdateScheduledActionResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateSnapshot( input: UpdateSnapshotRequest, ): Effect.Effect< UpdateSnapshotResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateSnapshotCopyConfiguration( input: UpdateSnapshotCopyConfigurationRequest, ): Effect.Effect< UpdateSnapshotCopyConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateUsageLimit( input: UpdateUsageLimitRequest, ): Effect.Effect< UpdateUsageLimitResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateWorkgroup( input: UpdateWorkgroupRequest, ): Effect.Effect< UpdateWorkgroupResponse, - | ConflictException - | InsufficientCapacityException - | InternalServerException - | Ipv6CidrBlockNotFoundException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InsufficientCapacityException | InternalServerException | Ipv6CidrBlockNotFoundException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -841,7 +552,8 @@ export interface DeleteCustomDomainAssociationRequest { workgroupName: string; customDomainName: string; } -export interface DeleteCustomDomainAssociationResponse {} +export interface DeleteCustomDomainAssociationResponse { +} export interface DeleteEndpointAccessRequest { endpointName: string; } @@ -859,7 +571,8 @@ export interface DeleteNamespaceResponse { export interface DeleteResourcePolicyRequest { resourceArn: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export interface DeleteScheduledActionRequest { scheduledActionName: string; } @@ -1186,12 +899,7 @@ export interface ManagedWorkgroupListItem { export type ManagedWorkgroupName = string; export type ManagedWorkgroups = Array; -export type ManagedWorkgroupStatus = - | "CREATING" - | "DELETING" - | "MODIFYING" - | "AVAILABLE" - | "NOT_AVAILABLE"; +export type ManagedWorkgroupStatus = "CREATING" | "DELETING" | "MODIFYING" | "AVAILABLE" | "NOT_AVAILABLE"; export interface Namespace { namespaceArn?: string; namespaceId?: string; @@ -1348,9 +1056,7 @@ interface _Schedule { cron?: string; } -export type Schedule = - | (_Schedule & { at: Date | string }) - | (_Schedule & { cron: string }); +export type Schedule = (_Schedule & { at: Date | string }) | (_Schedule & { cron: string }); export interface ScheduledActionAssociation { namespaceName?: string; scheduledActionName?: string; @@ -1462,16 +1168,15 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; interface _TargetAction { createSnapshot?: CreateSnapshotScheduleActionParameters; } -export type TargetAction = _TargetAction & { - createSnapshot: CreateSnapshotScheduleActionParameters; -}; +export type TargetAction = (_TargetAction & { createSnapshot: CreateSnapshotScheduleActionParameters }); export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -1491,7 +1196,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateCustomDomainAssociationRequest { workgroupName: string; customDomainName: string; @@ -2357,16 +2063,5 @@ export declare namespace UpdateWorkgroup { | CommonAwsError; } -export type RedshiftServerlessErrors = - | AccessDeniedException - | ConflictException - | InsufficientCapacityException - | InternalServerException - | InvalidPaginationException - | Ipv6CidrBlockNotFoundException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type RedshiftServerlessErrors = AccessDeniedException | ConflictException | InsufficientCapacityException | InternalServerException | InvalidPaginationException | Ipv6CidrBlockNotFoundException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/redshift/index.ts b/src/services/redshift/index.ts index 00ff9c62..30fba270 100644 --- a/src/services/redshift/index.ts +++ b/src/services/redshift/index.ts @@ -6,26 +6,7 @@ import type { Redshift as _RedshiftClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const Redshift = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _RedshiftClient; diff --git a/src/services/redshift/types.ts b/src/services/redshift/types.ts index 018368f6..0a73202f 100644 --- a/src/services/redshift/types.ts +++ b/src/services/redshift/types.ts @@ -7,24 +7,13 @@ export declare class Redshift extends AWSServiceClient { input: AcceptReservedNodeExchangeInputMessage, ): Effect.Effect< AcceptReservedNodeExchangeOutputMessage, - | DependentServiceUnavailableFault - | InvalidReservedNodeStateFault - | ReservedNodeAlreadyExistsFault - | ReservedNodeAlreadyMigratedFault - | ReservedNodeNotFoundFault - | ReservedNodeOfferingNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + DependentServiceUnavailableFault | InvalidReservedNodeStateFault | ReservedNodeAlreadyExistsFault | ReservedNodeAlreadyMigratedFault | ReservedNodeNotFoundFault | ReservedNodeOfferingNotFoundFault | UnsupportedOperationFault | CommonAwsError >; addPartner( input: PartnerIntegrationInputMessage, ): Effect.Effect< PartnerIntegrationOutputMessage, - | ClusterNotFoundFault - | PartnerNotFoundFault - | UnauthorizedPartnerIntegrationFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | PartnerNotFoundFault | UnauthorizedPartnerIntegrationFault | UnsupportedOperationFault | CommonAwsError >; associateDataShareConsumer( input: AssociateDataShareConsumerMessage, @@ -36,39 +25,25 @@ export declare class Redshift extends AWSServiceClient { input: AuthorizeClusterSecurityGroupIngressMessage, ): Effect.Effect< AuthorizeClusterSecurityGroupIngressResult, - | AuthorizationAlreadyExistsFault - | AuthorizationQuotaExceededFault - | ClusterSecurityGroupNotFoundFault - | InvalidClusterSecurityGroupStateFault - | CommonAwsError + AuthorizationAlreadyExistsFault | AuthorizationQuotaExceededFault | ClusterSecurityGroupNotFoundFault | InvalidClusterSecurityGroupStateFault | CommonAwsError >; authorizeDataShare( input: AuthorizeDataShareMessage, - ): Effect.Effect; + ): Effect.Effect< + DataShare, + InvalidDataShareFault | CommonAwsError + >; authorizeEndpointAccess( input: AuthorizeEndpointAccessMessage, ): Effect.Effect< EndpointAuthorization, - | ClusterNotFoundFault - | EndpointAuthorizationAlreadyExistsFault - | EndpointAuthorizationsPerClusterLimitExceededFault - | InvalidAuthorizationStateFault - | InvalidClusterStateFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | EndpointAuthorizationAlreadyExistsFault | EndpointAuthorizationsPerClusterLimitExceededFault | InvalidAuthorizationStateFault | InvalidClusterStateFault | UnsupportedOperationFault | CommonAwsError >; authorizeSnapshotAccess( input: AuthorizeSnapshotAccessMessage, ): Effect.Effect< AuthorizeSnapshotAccessResult, - | AuthorizationAlreadyExistsFault - | AuthorizationQuotaExceededFault - | ClusterSnapshotNotFoundFault - | DependentServiceRequestThrottlingFault - | InvalidClusterSnapshotStateFault - | LimitExceededFault - | UnsupportedOperationFault - | CommonAwsError + AuthorizationAlreadyExistsFault | AuthorizationQuotaExceededFault | ClusterSnapshotNotFoundFault | DependentServiceRequestThrottlingFault | InvalidClusterSnapshotStateFault | LimitExceededFault | UnsupportedOperationFault | CommonAwsError >; batchDeleteClusterSnapshots( input: BatchDeleteClusterSnapshotsRequest, @@ -80,345 +55,181 @@ export declare class Redshift extends AWSServiceClient { input: BatchModifyClusterSnapshotsMessage, ): Effect.Effect< BatchModifyClusterSnapshotsOutputMessage, - | BatchModifyClusterSnapshotsLimitExceededFault - | InvalidRetentionPeriodFault - | CommonAwsError + BatchModifyClusterSnapshotsLimitExceededFault | InvalidRetentionPeriodFault | CommonAwsError >; cancelResize( input: CancelResizeMessage, ): Effect.Effect< ResizeProgressMessage, - | ClusterNotFoundFault - | InvalidClusterStateFault - | ResizeNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | ResizeNotFoundFault | UnsupportedOperationFault | CommonAwsError >; copyClusterSnapshot( input: CopyClusterSnapshotMessage, ): Effect.Effect< CopyClusterSnapshotResult, - | ClusterNotFoundFault - | ClusterSnapshotAlreadyExistsFault - | ClusterSnapshotNotFoundFault - | ClusterSnapshotQuotaExceededFault - | InvalidClusterSnapshotStateFault - | InvalidRetentionPeriodFault - | CommonAwsError + ClusterNotFoundFault | ClusterSnapshotAlreadyExistsFault | ClusterSnapshotNotFoundFault | ClusterSnapshotQuotaExceededFault | InvalidClusterSnapshotStateFault | InvalidRetentionPeriodFault | CommonAwsError >; createAuthenticationProfile( input: CreateAuthenticationProfileMessage, ): Effect.Effect< CreateAuthenticationProfileResult, - | AuthenticationProfileAlreadyExistsFault - | AuthenticationProfileQuotaExceededFault - | InvalidAuthenticationProfileRequestFault - | CommonAwsError + AuthenticationProfileAlreadyExistsFault | AuthenticationProfileQuotaExceededFault | InvalidAuthenticationProfileRequestFault | CommonAwsError >; createCluster( input: CreateClusterMessage, ): Effect.Effect< CreateClusterResult, - | ClusterAlreadyExistsFault - | ClusterParameterGroupNotFoundFault - | ClusterQuotaExceededFault - | ClusterSecurityGroupNotFoundFault - | ClusterSubnetGroupNotFoundFault - | DependentServiceRequestThrottlingFault - | HsmClientCertificateNotFoundFault - | HsmConfigurationNotFoundFault - | InsufficientClusterCapacityFault - | InvalidClusterSubnetGroupStateFault - | InvalidClusterTrackFault - | InvalidElasticIpFault - | InvalidRetentionPeriodFault - | InvalidSubnet - | InvalidTagFault - | InvalidVPCNetworkStateFault - | Ipv6CidrBlockNotFoundFault - | LimitExceededFault - | NumberOfNodesPerClusterLimitExceededFault - | NumberOfNodesQuotaExceededFault - | RedshiftIdcApplicationNotExistsFault - | SnapshotScheduleNotFoundFault - | TagLimitExceededFault - | UnauthorizedOperation - | UnsupportedOperationFault - | CommonAwsError + ClusterAlreadyExistsFault | ClusterParameterGroupNotFoundFault | ClusterQuotaExceededFault | ClusterSecurityGroupNotFoundFault | ClusterSubnetGroupNotFoundFault | DependentServiceRequestThrottlingFault | HsmClientCertificateNotFoundFault | HsmConfigurationNotFoundFault | InsufficientClusterCapacityFault | InvalidClusterSubnetGroupStateFault | InvalidClusterTrackFault | InvalidElasticIpFault | InvalidRetentionPeriodFault | InvalidSubnet | InvalidTagFault | InvalidVPCNetworkStateFault | Ipv6CidrBlockNotFoundFault | LimitExceededFault | NumberOfNodesPerClusterLimitExceededFault | NumberOfNodesQuotaExceededFault | RedshiftIdcApplicationNotExistsFault | SnapshotScheduleNotFoundFault | TagLimitExceededFault | UnauthorizedOperation | UnsupportedOperationFault | CommonAwsError >; createClusterParameterGroup( input: CreateClusterParameterGroupMessage, ): Effect.Effect< CreateClusterParameterGroupResult, - | ClusterParameterGroupAlreadyExistsFault - | ClusterParameterGroupQuotaExceededFault - | InvalidTagFault - | TagLimitExceededFault - | CommonAwsError + ClusterParameterGroupAlreadyExistsFault | ClusterParameterGroupQuotaExceededFault | InvalidTagFault | TagLimitExceededFault | CommonAwsError >; createClusterSecurityGroup( input: CreateClusterSecurityGroupMessage, ): Effect.Effect< CreateClusterSecurityGroupResult, - | ClusterSecurityGroupAlreadyExistsFault - | ClusterSecurityGroupQuotaExceededFault - | InvalidTagFault - | TagLimitExceededFault - | CommonAwsError + ClusterSecurityGroupAlreadyExistsFault | ClusterSecurityGroupQuotaExceededFault | InvalidTagFault | TagLimitExceededFault | CommonAwsError >; createClusterSnapshot( input: CreateClusterSnapshotMessage, ): Effect.Effect< CreateClusterSnapshotResult, - | ClusterNotFoundFault - | ClusterSnapshotAlreadyExistsFault - | ClusterSnapshotQuotaExceededFault - | InvalidClusterStateFault - | InvalidRetentionPeriodFault - | InvalidTagFault - | TagLimitExceededFault - | CommonAwsError + ClusterNotFoundFault | ClusterSnapshotAlreadyExistsFault | ClusterSnapshotQuotaExceededFault | InvalidClusterStateFault | InvalidRetentionPeriodFault | InvalidTagFault | TagLimitExceededFault | CommonAwsError >; createClusterSubnetGroup( input: CreateClusterSubnetGroupMessage, ): Effect.Effect< CreateClusterSubnetGroupResult, - | ClusterSubnetGroupAlreadyExistsFault - | ClusterSubnetGroupQuotaExceededFault - | ClusterSubnetQuotaExceededFault - | DependentServiceRequestThrottlingFault - | InvalidSubnet - | InvalidTagFault - | TagLimitExceededFault - | UnauthorizedOperation - | CommonAwsError + ClusterSubnetGroupAlreadyExistsFault | ClusterSubnetGroupQuotaExceededFault | ClusterSubnetQuotaExceededFault | DependentServiceRequestThrottlingFault | InvalidSubnet | InvalidTagFault | TagLimitExceededFault | UnauthorizedOperation | CommonAwsError >; createCustomDomainAssociation( input: CreateCustomDomainAssociationMessage, ): Effect.Effect< CreateCustomDomainAssociationResult, - | ClusterNotFoundFault - | CustomCnameAssociationFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | CustomCnameAssociationFault | UnsupportedOperationFault | CommonAwsError >; createEndpointAccess( input: CreateEndpointAccessMessage, ): Effect.Effect< EndpointAccess, - | AccessToClusterDeniedFault - | ClusterNotFoundFault - | ClusterSubnetGroupNotFoundFault - | EndpointAlreadyExistsFault - | EndpointsPerAuthorizationLimitExceededFault - | EndpointsPerClusterLimitExceededFault - | InvalidClusterSecurityGroupStateFault - | InvalidClusterStateFault - | UnauthorizedOperation - | UnsupportedOperationFault - | CommonAwsError + AccessToClusterDeniedFault | ClusterNotFoundFault | ClusterSubnetGroupNotFoundFault | EndpointAlreadyExistsFault | EndpointsPerAuthorizationLimitExceededFault | EndpointsPerClusterLimitExceededFault | InvalidClusterSecurityGroupStateFault | InvalidClusterStateFault | UnauthorizedOperation | UnsupportedOperationFault | CommonAwsError >; createEventSubscription( input: CreateEventSubscriptionMessage, ): Effect.Effect< CreateEventSubscriptionResult, - | EventSubscriptionQuotaExceededFault - | InvalidTagFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SourceNotFoundFault - | SubscriptionAlreadyExistFault - | SubscriptionCategoryNotFoundFault - | SubscriptionEventIdNotFoundFault - | SubscriptionSeverityNotFoundFault - | TagLimitExceededFault - | CommonAwsError + EventSubscriptionQuotaExceededFault | InvalidTagFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SourceNotFoundFault | SubscriptionAlreadyExistFault | SubscriptionCategoryNotFoundFault | SubscriptionEventIdNotFoundFault | SubscriptionSeverityNotFoundFault | TagLimitExceededFault | CommonAwsError >; createHsmClientCertificate( input: CreateHsmClientCertificateMessage, ): Effect.Effect< CreateHsmClientCertificateResult, - | HsmClientCertificateAlreadyExistsFault - | HsmClientCertificateQuotaExceededFault - | InvalidTagFault - | TagLimitExceededFault - | CommonAwsError + HsmClientCertificateAlreadyExistsFault | HsmClientCertificateQuotaExceededFault | InvalidTagFault | TagLimitExceededFault | CommonAwsError >; createHsmConfiguration( input: CreateHsmConfigurationMessage, ): Effect.Effect< CreateHsmConfigurationResult, - | HsmConfigurationAlreadyExistsFault - | HsmConfigurationQuotaExceededFault - | InvalidTagFault - | TagLimitExceededFault - | CommonAwsError + HsmConfigurationAlreadyExistsFault | HsmConfigurationQuotaExceededFault | InvalidTagFault | TagLimitExceededFault | CommonAwsError >; createIntegration( input: CreateIntegrationMessage, ): Effect.Effect< Integration, - | IntegrationAlreadyExistsFault - | IntegrationConflictOperationFault - | IntegrationQuotaExceededFault - | IntegrationSourceNotFoundFault - | IntegrationTargetNotFoundFault - | InvalidClusterStateFault - | InvalidTagFault - | TagLimitExceededFault - | UnsupportedOperationFault - | CommonAwsError + IntegrationAlreadyExistsFault | IntegrationConflictOperationFault | IntegrationQuotaExceededFault | IntegrationSourceNotFoundFault | IntegrationTargetNotFoundFault | InvalidClusterStateFault | InvalidTagFault | TagLimitExceededFault | UnsupportedOperationFault | CommonAwsError >; createRedshiftIdcApplication( input: CreateRedshiftIdcApplicationMessage, ): Effect.Effect< CreateRedshiftIdcApplicationResult, - | DependentServiceAccessDeniedFault - | DependentServiceUnavailableFault - | InvalidTagFault - | RedshiftIdcApplicationAlreadyExistsFault - | RedshiftIdcApplicationQuotaExceededFault - | TagLimitExceededFault - | UnsupportedOperationFault - | CommonAwsError + DependentServiceAccessDeniedFault | DependentServiceUnavailableFault | InvalidTagFault | RedshiftIdcApplicationAlreadyExistsFault | RedshiftIdcApplicationQuotaExceededFault | TagLimitExceededFault | UnsupportedOperationFault | CommonAwsError >; createScheduledAction( input: CreateScheduledActionMessage, ): Effect.Effect< ScheduledAction, - | ClusterNotFoundFault - | InvalidScheduledActionFault - | InvalidScheduleFault - | ScheduledActionAlreadyExistsFault - | ScheduledActionQuotaExceededFault - | ScheduledActionTypeUnsupportedFault - | UnauthorizedOperation - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | InvalidScheduledActionFault | InvalidScheduleFault | ScheduledActionAlreadyExistsFault | ScheduledActionQuotaExceededFault | ScheduledActionTypeUnsupportedFault | UnauthorizedOperation | UnsupportedOperationFault | CommonAwsError >; createSnapshotCopyGrant( input: CreateSnapshotCopyGrantMessage, ): Effect.Effect< CreateSnapshotCopyGrantResult, - | DependentServiceRequestThrottlingFault - | InvalidTagFault - | LimitExceededFault - | SnapshotCopyGrantAlreadyExistsFault - | SnapshotCopyGrantQuotaExceededFault - | TagLimitExceededFault - | CommonAwsError + DependentServiceRequestThrottlingFault | InvalidTagFault | LimitExceededFault | SnapshotCopyGrantAlreadyExistsFault | SnapshotCopyGrantQuotaExceededFault | TagLimitExceededFault | CommonAwsError >; createSnapshotSchedule( input: CreateSnapshotScheduleMessage, ): Effect.Effect< SnapshotSchedule, - | InvalidScheduleFault - | InvalidTagFault - | ScheduleDefinitionTypeUnsupportedFault - | SnapshotScheduleAlreadyExistsFault - | SnapshotScheduleQuotaExceededFault - | TagLimitExceededFault - | CommonAwsError + InvalidScheduleFault | InvalidTagFault | ScheduleDefinitionTypeUnsupportedFault | SnapshotScheduleAlreadyExistsFault | SnapshotScheduleQuotaExceededFault | TagLimitExceededFault | CommonAwsError >; createTags( input: CreateTagsMessage, ): Effect.Effect< {}, - | InvalidClusterStateFault - | InvalidTagFault - | ResourceNotFoundFault - | TagLimitExceededFault - | CommonAwsError + InvalidClusterStateFault | InvalidTagFault | ResourceNotFoundFault | TagLimitExceededFault | CommonAwsError >; createUsageLimit( input: CreateUsageLimitMessage, ): Effect.Effect< UsageLimit, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidUsageLimitFault - | LimitExceededFault - | TagLimitExceededFault - | UnsupportedOperationFault - | UsageLimitAlreadyExistsFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidUsageLimitFault | LimitExceededFault | TagLimitExceededFault | UnsupportedOperationFault | UsageLimitAlreadyExistsFault | CommonAwsError >; deauthorizeDataShare( input: DeauthorizeDataShareMessage, - ): Effect.Effect; + ): Effect.Effect< + DataShare, + InvalidDataShareFault | CommonAwsError + >; deleteAuthenticationProfile( input: DeleteAuthenticationProfileMessage, ): Effect.Effect< DeleteAuthenticationProfileResult, - | AuthenticationProfileNotFoundFault - | InvalidAuthenticationProfileRequestFault - | CommonAwsError + AuthenticationProfileNotFoundFault | InvalidAuthenticationProfileRequestFault | CommonAwsError >; deleteCluster( input: DeleteClusterMessage, ): Effect.Effect< DeleteClusterResult, - | ClusterNotFoundFault - | ClusterSnapshotAlreadyExistsFault - | ClusterSnapshotQuotaExceededFault - | InvalidClusterStateFault - | InvalidRetentionPeriodFault - | CommonAwsError + ClusterNotFoundFault | ClusterSnapshotAlreadyExistsFault | ClusterSnapshotQuotaExceededFault | InvalidClusterStateFault | InvalidRetentionPeriodFault | CommonAwsError >; deleteClusterParameterGroup( input: DeleteClusterParameterGroupMessage, ): Effect.Effect< {}, - | ClusterParameterGroupNotFoundFault - | InvalidClusterParameterGroupStateFault - | CommonAwsError + ClusterParameterGroupNotFoundFault | InvalidClusterParameterGroupStateFault | CommonAwsError >; deleteClusterSecurityGroup( input: DeleteClusterSecurityGroupMessage, ): Effect.Effect< {}, - | ClusterSecurityGroupNotFoundFault - | InvalidClusterSecurityGroupStateFault - | CommonAwsError + ClusterSecurityGroupNotFoundFault | InvalidClusterSecurityGroupStateFault | CommonAwsError >; deleteClusterSnapshot( input: DeleteClusterSnapshotMessage, ): Effect.Effect< DeleteClusterSnapshotResult, - | ClusterSnapshotNotFoundFault - | InvalidClusterSnapshotStateFault - | CommonAwsError + ClusterSnapshotNotFoundFault | InvalidClusterSnapshotStateFault | CommonAwsError >; deleteClusterSubnetGroup( input: DeleteClusterSubnetGroupMessage, ): Effect.Effect< {}, - | ClusterSubnetGroupNotFoundFault - | InvalidClusterSubnetGroupStateFault - | InvalidClusterSubnetStateFault - | CommonAwsError + ClusterSubnetGroupNotFoundFault | InvalidClusterSubnetGroupStateFault | InvalidClusterSubnetStateFault | CommonAwsError >; deleteCustomDomainAssociation( input: DeleteCustomDomainAssociationMessage, ): Effect.Effect< {}, - | ClusterNotFoundFault - | CustomCnameAssociationFault - | CustomDomainAssociationNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | CustomCnameAssociationFault | CustomDomainAssociationNotFoundFault | UnsupportedOperationFault | CommonAwsError >; deleteEndpointAccess( input: DeleteEndpointAccessMessage, ): Effect.Effect< EndpointAccess, - | ClusterNotFoundFault - | EndpointNotFoundFault - | InvalidClusterSecurityGroupStateFault - | InvalidClusterStateFault - | InvalidEndpointStateFault - | CommonAwsError + ClusterNotFoundFault | EndpointNotFoundFault | InvalidClusterSecurityGroupStateFault | InvalidClusterStateFault | InvalidEndpointStateFault | CommonAwsError >; deleteEventSubscription( input: DeleteEventSubscriptionMessage, @@ -430,47 +241,31 @@ export declare class Redshift extends AWSServiceClient { input: DeleteHsmClientCertificateMessage, ): Effect.Effect< {}, - | HsmClientCertificateNotFoundFault - | InvalidHsmClientCertificateStateFault - | CommonAwsError + HsmClientCertificateNotFoundFault | InvalidHsmClientCertificateStateFault | CommonAwsError >; deleteHsmConfiguration( input: DeleteHsmConfigurationMessage, ): Effect.Effect< {}, - | HsmConfigurationNotFoundFault - | InvalidHsmConfigurationStateFault - | CommonAwsError + HsmConfigurationNotFoundFault | InvalidHsmConfigurationStateFault | CommonAwsError >; deleteIntegration( input: DeleteIntegrationMessage, ): Effect.Effect< Integration, - | IntegrationConflictOperationFault - | IntegrationConflictStateFault - | IntegrationNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + IntegrationConflictOperationFault | IntegrationConflictStateFault | IntegrationNotFoundFault | UnsupportedOperationFault | CommonAwsError >; deletePartner( input: PartnerIntegrationInputMessage, ): Effect.Effect< PartnerIntegrationOutputMessage, - | ClusterNotFoundFault - | PartnerNotFoundFault - | UnauthorizedPartnerIntegrationFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | PartnerNotFoundFault | UnauthorizedPartnerIntegrationFault | UnsupportedOperationFault | CommonAwsError >; deleteRedshiftIdcApplication( input: DeleteRedshiftIdcApplicationMessage, ): Effect.Effect< {}, - | DependentServiceAccessDeniedFault - | DependentServiceUnavailableFault - | RedshiftIdcApplicationNotExistsFault - | UnsupportedOperationFault - | CommonAwsError + DependentServiceAccessDeniedFault | DependentServiceUnavailableFault | RedshiftIdcApplicationNotExistsFault | UnsupportedOperationFault | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyMessage, @@ -488,17 +283,13 @@ export declare class Redshift extends AWSServiceClient { input: DeleteSnapshotCopyGrantMessage, ): Effect.Effect< {}, - | InvalidSnapshotCopyGrantStateFault - | SnapshotCopyGrantNotFoundFault - | CommonAwsError + InvalidSnapshotCopyGrantStateFault | SnapshotCopyGrantNotFoundFault | CommonAwsError >; deleteSnapshotSchedule( input: DeleteSnapshotScheduleMessage, ): Effect.Effect< {}, - | InvalidClusterSnapshotScheduleStateFault - | SnapshotScheduleNotFoundFault - | CommonAwsError + InvalidClusterSnapshotScheduleStateFault | SnapshotScheduleNotFoundFault | CommonAwsError >; deleteTags( input: DeleteTagsMessage, @@ -516,21 +307,19 @@ export declare class Redshift extends AWSServiceClient { input: DeregisterNamespaceInputMessage, ): Effect.Effect< DeregisterNamespaceOutputMessage, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidNamespaceFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidNamespaceFault | CommonAwsError >; describeAccountAttributes( input: DescribeAccountAttributesMessage, - ): Effect.Effect; + ): Effect.Effect< + AccountAttributeList, + CommonAwsError + >; describeAuthenticationProfiles( input: DescribeAuthenticationProfilesMessage, ): Effect.Effect< DescribeAuthenticationProfilesResult, - | AuthenticationProfileNotFoundFault - | InvalidAuthenticationProfileRequestFault - | CommonAwsError + AuthenticationProfileNotFoundFault | InvalidAuthenticationProfileRequestFault | CommonAwsError >; describeClusterDbRevisions( input: DescribeClusterDbRevisionsMessage, @@ -566,11 +355,7 @@ export declare class Redshift extends AWSServiceClient { input: DescribeClusterSnapshotsMessage, ): Effect.Effect< SnapshotMessage, - | ClusterNotFoundFault - | ClusterSnapshotNotFoundFault - | InvalidTagFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | ClusterSnapshotNotFoundFault | InvalidTagFault | UnsupportedOperationFault | CommonAwsError >; describeClusterSubnetGroups( input: DescribeClusterSubnetGroupsMessage, @@ -586,14 +371,15 @@ export declare class Redshift extends AWSServiceClient { >; describeClusterVersions( input: DescribeClusterVersionsMessage, - ): Effect.Effect; + ): Effect.Effect< + ClusterVersionsMessage, + CommonAwsError + >; describeCustomDomainAssociations( input: DescribeCustomDomainAssociationsMessage, ): Effect.Effect< CustomDomainAssociationsMessage, - | CustomDomainAssociationNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + CustomDomainAssociationNotFoundFault | UnsupportedOperationFault | CommonAwsError >; describeDataShares( input: DescribeDataSharesMessage, @@ -615,15 +401,15 @@ export declare class Redshift extends AWSServiceClient { >; describeDefaultClusterParameters( input: DescribeDefaultClusterParametersMessage, - ): Effect.Effect; + ): Effect.Effect< + DescribeDefaultClusterParametersResult, + CommonAwsError + >; describeEndpointAccess( input: DescribeEndpointAccessMessage, ): Effect.Effect< EndpointAccessList, - | ClusterNotFoundFault - | EndpointNotFoundFault - | InvalidClusterStateFault - | CommonAwsError + ClusterNotFoundFault | EndpointNotFoundFault | InvalidClusterStateFault | CommonAwsError >; describeEndpointAuthorization( input: DescribeEndpointAuthorizationMessage, @@ -633,10 +419,16 @@ export declare class Redshift extends AWSServiceClient { >; describeEventCategories( input: DescribeEventCategoriesMessage, - ): Effect.Effect; + ): Effect.Effect< + EventCategoriesMessage, + CommonAwsError + >; describeEvents( input: DescribeEventsMessage, - ): Effect.Effect; + ): Effect.Effect< + EventsMessage, + CommonAwsError + >; describeEventSubscriptions( input: DescribeEventSubscriptionsMessage, ): Effect.Effect< @@ -659,10 +451,7 @@ export declare class Redshift extends AWSServiceClient { input: DescribeInboundIntegrationsMessage, ): Effect.Effect< InboundIntegrationsMessage, - | IntegrationNotFoundFault - | InvalidNamespaceFault - | UnsupportedOperationFault - | CommonAwsError + IntegrationNotFoundFault | InvalidNamespaceFault | UnsupportedOperationFault | CommonAwsError >; describeIntegrations( input: DescribeIntegrationsMessage, @@ -680,69 +469,49 @@ export declare class Redshift extends AWSServiceClient { input: DescribeNodeConfigurationOptionsMessage, ): Effect.Effect< NodeConfigurationOptionsMessage, - | AccessToSnapshotDeniedFault - | ClusterNotFoundFault - | ClusterSnapshotNotFoundFault - | InvalidClusterSnapshotStateFault - | UnsupportedOperationFault - | CommonAwsError + AccessToSnapshotDeniedFault | ClusterNotFoundFault | ClusterSnapshotNotFoundFault | InvalidClusterSnapshotStateFault | UnsupportedOperationFault | CommonAwsError >; describeOrderableClusterOptions( input: DescribeOrderableClusterOptionsMessage, - ): Effect.Effect; + ): Effect.Effect< + OrderableClusterOptionsMessage, + CommonAwsError + >; describePartners( input: DescribePartnersInputMessage, ): Effect.Effect< DescribePartnersOutputMessage, - | ClusterNotFoundFault - | UnauthorizedPartnerIntegrationFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | UnauthorizedPartnerIntegrationFault | UnsupportedOperationFault | CommonAwsError >; describeRedshiftIdcApplications( input: DescribeRedshiftIdcApplicationsMessage, ): Effect.Effect< DescribeRedshiftIdcApplicationsResult, - | DependentServiceAccessDeniedFault - | DependentServiceUnavailableFault - | RedshiftIdcApplicationNotExistsFault - | UnsupportedOperationFault - | CommonAwsError + DependentServiceAccessDeniedFault | DependentServiceUnavailableFault | RedshiftIdcApplicationNotExistsFault | UnsupportedOperationFault | CommonAwsError >; describeReservedNodeExchangeStatus( input: DescribeReservedNodeExchangeStatusInputMessage, ): Effect.Effect< DescribeReservedNodeExchangeStatusOutputMessage, - | ReservedNodeExchangeNotFoundFault - | ReservedNodeNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + ReservedNodeExchangeNotFoundFault | ReservedNodeNotFoundFault | UnsupportedOperationFault | CommonAwsError >; describeReservedNodeOfferings( input: DescribeReservedNodeOfferingsMessage, ): Effect.Effect< ReservedNodeOfferingsMessage, - | DependentServiceUnavailableFault - | ReservedNodeOfferingNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + DependentServiceUnavailableFault | ReservedNodeOfferingNotFoundFault | UnsupportedOperationFault | CommonAwsError >; describeReservedNodes( input: DescribeReservedNodesMessage, ): Effect.Effect< ReservedNodesMessage, - | DependentServiceUnavailableFault - | ReservedNodeNotFoundFault - | CommonAwsError + DependentServiceUnavailableFault | ReservedNodeNotFoundFault | CommonAwsError >; describeResize( input: DescribeResizeMessage, ): Effect.Effect< ResizeProgressMessage, - | ClusterNotFoundFault - | ResizeNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | ResizeNotFoundFault | UnsupportedOperationFault | CommonAwsError >; describeScheduledActions( input: DescribeScheduledActionsMessage, @@ -758,8 +527,13 @@ export declare class Redshift extends AWSServiceClient { >; describeSnapshotSchedules( input: DescribeSnapshotSchedulesMessage, - ): Effect.Effect; - describeStorage(input: {}): Effect.Effect< + ): Effect.Effect< + DescribeSnapshotSchedulesOutputMessage, + CommonAwsError + >; + describeStorage( + input: {}, + ): Effect.Effect< CustomerStorageMessage, CommonAwsError >; @@ -785,21 +559,13 @@ export declare class Redshift extends AWSServiceClient { input: DisableLoggingMessage, ): Effect.Effect< LoggingStatus, - | ClusterNotFoundFault - | InvalidClusterStateFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | UnsupportedOperationFault | CommonAwsError >; disableSnapshotCopy( input: DisableSnapshotCopyMessage, ): Effect.Effect< DisableSnapshotCopyResult, - | ClusterNotFoundFault - | InvalidClusterStateFault - | SnapshotCopyAlreadyDisabledFault - | UnauthorizedOperation - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | SnapshotCopyAlreadyDisabledFault | UnauthorizedOperation | UnsupportedOperationFault | CommonAwsError >; disassociateDataShareConsumer( input: DisassociateDataShareConsumerMessage, @@ -811,41 +577,19 @@ export declare class Redshift extends AWSServiceClient { input: EnableLoggingMessage, ): Effect.Effect< LoggingStatus, - | BucketNotFoundFault - | ClusterNotFoundFault - | InsufficientS3BucketPolicyFault - | InvalidClusterStateFault - | InvalidS3BucketNameFault - | InvalidS3KeyPrefixFault - | UnsupportedOperationFault - | CommonAwsError + BucketNotFoundFault | ClusterNotFoundFault | InsufficientS3BucketPolicyFault | InvalidClusterStateFault | InvalidS3BucketNameFault | InvalidS3KeyPrefixFault | UnsupportedOperationFault | CommonAwsError >; enableSnapshotCopy( input: EnableSnapshotCopyMessage, ): Effect.Effect< EnableSnapshotCopyResult, - | ClusterNotFoundFault - | CopyToRegionDisabledFault - | DependentServiceRequestThrottlingFault - | IncompatibleOrderableOptions - | InvalidClusterStateFault - | InvalidRetentionPeriodFault - | LimitExceededFault - | SnapshotCopyAlreadyEnabledFault - | SnapshotCopyGrantNotFoundFault - | UnauthorizedOperation - | UnknownSnapshotCopyRegionFault - | CommonAwsError + ClusterNotFoundFault | CopyToRegionDisabledFault | DependentServiceRequestThrottlingFault | IncompatibleOrderableOptions | InvalidClusterStateFault | InvalidRetentionPeriodFault | LimitExceededFault | SnapshotCopyAlreadyEnabledFault | SnapshotCopyGrantNotFoundFault | UnauthorizedOperation | UnknownSnapshotCopyRegionFault | CommonAwsError >; failoverPrimaryCompute( input: FailoverPrimaryComputeInputMessage, ): Effect.Effect< FailoverPrimaryComputeResult, - | ClusterNotFoundFault - | InvalidClusterStateFault - | UnauthorizedOperation - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | UnauthorizedOperation | UnsupportedOperationFault | CommonAwsError >; getClusterCredentials( input: GetClusterCredentialsMessage, @@ -857,42 +601,25 @@ export declare class Redshift extends AWSServiceClient { input: GetClusterCredentialsWithIAMMessage, ): Effect.Effect< ClusterExtendedCredentials, - ClusterNotFoundFault | UnsupportedOperationFault | CommonAwsError - >; - getReservedNodeExchangeConfigurationOptions( - input: GetReservedNodeExchangeConfigurationOptionsInputMessage, - ): Effect.Effect< - GetReservedNodeExchangeConfigurationOptionsOutputMessage, - | ClusterNotFoundFault - | ClusterSnapshotNotFoundFault - | DependentServiceUnavailableFault - | InvalidReservedNodeStateFault - | ReservedNodeAlreadyMigratedFault - | ReservedNodeNotFoundFault - | ReservedNodeOfferingNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | UnsupportedOperationFault | CommonAwsError + >; + getReservedNodeExchangeConfigurationOptions( + input: GetReservedNodeExchangeConfigurationOptionsInputMessage, + ): Effect.Effect< + GetReservedNodeExchangeConfigurationOptionsOutputMessage, + ClusterNotFoundFault | ClusterSnapshotNotFoundFault | DependentServiceUnavailableFault | InvalidReservedNodeStateFault | ReservedNodeAlreadyMigratedFault | ReservedNodeNotFoundFault | ReservedNodeOfferingNotFoundFault | UnsupportedOperationFault | CommonAwsError >; getReservedNodeExchangeOfferings( input: GetReservedNodeExchangeOfferingsInputMessage, ): Effect.Effect< GetReservedNodeExchangeOfferingsOutputMessage, - | DependentServiceUnavailableFault - | InvalidReservedNodeStateFault - | ReservedNodeAlreadyMigratedFault - | ReservedNodeNotFoundFault - | ReservedNodeOfferingNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + DependentServiceUnavailableFault | InvalidReservedNodeStateFault | ReservedNodeAlreadyMigratedFault | ReservedNodeNotFoundFault | ReservedNodeOfferingNotFoundFault | UnsupportedOperationFault | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyMessage, ): Effect.Effect< GetResourcePolicyResult, - | InvalidPolicyFault - | ResourceNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + InvalidPolicyFault | ResourceNotFoundFault | UnsupportedOperationFault | CommonAwsError >; listRecommendations( input: ListRecommendationsMessage, @@ -904,57 +631,25 @@ export declare class Redshift extends AWSServiceClient { input: ModifyAquaInputMessage, ): Effect.Effect< ModifyAquaOutputMessage, - | ClusterNotFoundFault - | InvalidClusterStateFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | UnsupportedOperationFault | CommonAwsError >; modifyAuthenticationProfile( input: ModifyAuthenticationProfileMessage, ): Effect.Effect< ModifyAuthenticationProfileResult, - | AuthenticationProfileNotFoundFault - | AuthenticationProfileQuotaExceededFault - | InvalidAuthenticationProfileRequestFault - | CommonAwsError + AuthenticationProfileNotFoundFault | AuthenticationProfileQuotaExceededFault | InvalidAuthenticationProfileRequestFault | CommonAwsError >; modifyCluster( input: ModifyClusterMessage, ): Effect.Effect< ModifyClusterResult, - | ClusterAlreadyExistsFault - | ClusterNotFoundFault - | ClusterParameterGroupNotFoundFault - | ClusterSecurityGroupNotFoundFault - | CustomCnameAssociationFault - | DependentServiceRequestThrottlingFault - | HsmClientCertificateNotFoundFault - | HsmConfigurationNotFoundFault - | InsufficientClusterCapacityFault - | InvalidClusterSecurityGroupStateFault - | InvalidClusterStateFault - | InvalidClusterTrackFault - | InvalidElasticIpFault - | InvalidRetentionPeriodFault - | Ipv6CidrBlockNotFoundFault - | LimitExceededFault - | NumberOfNodesPerClusterLimitExceededFault - | NumberOfNodesQuotaExceededFault - | TableLimitExceededFault - | UnauthorizedOperation - | UnsupportedOperationFault - | UnsupportedOptionFault - | CommonAwsError + ClusterAlreadyExistsFault | ClusterNotFoundFault | ClusterParameterGroupNotFoundFault | ClusterSecurityGroupNotFoundFault | CustomCnameAssociationFault | DependentServiceRequestThrottlingFault | HsmClientCertificateNotFoundFault | HsmConfigurationNotFoundFault | InsufficientClusterCapacityFault | InvalidClusterSecurityGroupStateFault | InvalidClusterStateFault | InvalidClusterTrackFault | InvalidElasticIpFault | InvalidRetentionPeriodFault | Ipv6CidrBlockNotFoundFault | LimitExceededFault | NumberOfNodesPerClusterLimitExceededFault | NumberOfNodesQuotaExceededFault | TableLimitExceededFault | UnauthorizedOperation | UnsupportedOperationFault | UnsupportedOptionFault | CommonAwsError >; modifyClusterDbRevision( input: ModifyClusterDbRevisionMessage, ): Effect.Effect< ModifyClusterDbRevisionResult, - | ClusterNotFoundFault - | ClusterOnLatestRevisionFault - | InvalidClusterStateFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | ClusterOnLatestRevisionFault | InvalidClusterStateFault | UnsupportedOperationFault | CommonAwsError >; modifyClusterIamRoles( input: ModifyClusterIamRolesMessage, @@ -972,168 +667,97 @@ export declare class Redshift extends AWSServiceClient { input: ModifyClusterParameterGroupMessage, ): Effect.Effect< ClusterParameterGroupNameMessage, - | ClusterParameterGroupNotFoundFault - | InvalidClusterParameterGroupStateFault - | CommonAwsError + ClusterParameterGroupNotFoundFault | InvalidClusterParameterGroupStateFault | CommonAwsError >; modifyClusterSnapshot( input: ModifyClusterSnapshotMessage, ): Effect.Effect< ModifyClusterSnapshotResult, - | ClusterSnapshotNotFoundFault - | InvalidClusterSnapshotStateFault - | InvalidRetentionPeriodFault - | CommonAwsError + ClusterSnapshotNotFoundFault | InvalidClusterSnapshotStateFault | InvalidRetentionPeriodFault | CommonAwsError >; modifyClusterSnapshotSchedule( input: ModifyClusterSnapshotScheduleMessage, ): Effect.Effect< {}, - | ClusterNotFoundFault - | InvalidClusterSnapshotScheduleStateFault - | SnapshotScheduleNotFoundFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterSnapshotScheduleStateFault | SnapshotScheduleNotFoundFault | CommonAwsError >; modifyClusterSubnetGroup( input: ModifyClusterSubnetGroupMessage, ): Effect.Effect< ModifyClusterSubnetGroupResult, - | ClusterSubnetGroupNotFoundFault - | ClusterSubnetQuotaExceededFault - | DependentServiceRequestThrottlingFault - | InvalidSubnet - | SubnetAlreadyInUse - | UnauthorizedOperation - | CommonAwsError + ClusterSubnetGroupNotFoundFault | ClusterSubnetQuotaExceededFault | DependentServiceRequestThrottlingFault | InvalidSubnet | SubnetAlreadyInUse | UnauthorizedOperation | CommonAwsError >; modifyCustomDomainAssociation( input: ModifyCustomDomainAssociationMessage, ): Effect.Effect< ModifyCustomDomainAssociationResult, - | ClusterNotFoundFault - | CustomCnameAssociationFault - | CustomDomainAssociationNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | CustomCnameAssociationFault | CustomDomainAssociationNotFoundFault | UnsupportedOperationFault | CommonAwsError >; modifyEndpointAccess( input: ModifyEndpointAccessMessage, ): Effect.Effect< EndpointAccess, - | ClusterNotFoundFault - | EndpointNotFoundFault - | InvalidClusterSecurityGroupStateFault - | InvalidClusterStateFault - | InvalidEndpointStateFault - | UnauthorizedOperation - | CommonAwsError + ClusterNotFoundFault | EndpointNotFoundFault | InvalidClusterSecurityGroupStateFault | InvalidClusterStateFault | InvalidEndpointStateFault | UnauthorizedOperation | CommonAwsError >; modifyEventSubscription( input: ModifyEventSubscriptionMessage, ): Effect.Effect< ModifyEventSubscriptionResult, - | InvalidSubscriptionStateFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | SourceNotFoundFault - | SubscriptionCategoryNotFoundFault - | SubscriptionEventIdNotFoundFault - | SubscriptionNotFoundFault - | SubscriptionSeverityNotFoundFault - | CommonAwsError + InvalidSubscriptionStateFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | SourceNotFoundFault | SubscriptionCategoryNotFoundFault | SubscriptionEventIdNotFoundFault | SubscriptionNotFoundFault | SubscriptionSeverityNotFoundFault | CommonAwsError >; modifyIntegration( input: ModifyIntegrationMessage, ): Effect.Effect< Integration, - | IntegrationAlreadyExistsFault - | IntegrationConflictOperationFault - | IntegrationConflictStateFault - | IntegrationNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + IntegrationAlreadyExistsFault | IntegrationConflictOperationFault | IntegrationConflictStateFault | IntegrationNotFoundFault | UnsupportedOperationFault | CommonAwsError >; modifyRedshiftIdcApplication( input: ModifyRedshiftIdcApplicationMessage, ): Effect.Effect< ModifyRedshiftIdcApplicationResult, - | DependentServiceAccessDeniedFault - | DependentServiceUnavailableFault - | RedshiftIdcApplicationNotExistsFault - | UnsupportedOperationFault - | CommonAwsError + DependentServiceAccessDeniedFault | DependentServiceUnavailableFault | RedshiftIdcApplicationNotExistsFault | UnsupportedOperationFault | CommonAwsError >; modifyScheduledAction( input: ModifyScheduledActionMessage, ): Effect.Effect< ScheduledAction, - | ClusterNotFoundFault - | InvalidScheduledActionFault - | InvalidScheduleFault - | ScheduledActionNotFoundFault - | ScheduledActionTypeUnsupportedFault - | UnauthorizedOperation - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | InvalidScheduledActionFault | InvalidScheduleFault | ScheduledActionNotFoundFault | ScheduledActionTypeUnsupportedFault | UnauthorizedOperation | UnsupportedOperationFault | CommonAwsError >; modifySnapshotCopyRetentionPeriod( input: ModifySnapshotCopyRetentionPeriodMessage, ): Effect.Effect< ModifySnapshotCopyRetentionPeriodResult, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidRetentionPeriodFault - | SnapshotCopyDisabledFault - | UnauthorizedOperation - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidRetentionPeriodFault | SnapshotCopyDisabledFault | UnauthorizedOperation | CommonAwsError >; modifySnapshotSchedule( input: ModifySnapshotScheduleMessage, ): Effect.Effect< SnapshotSchedule, - | InvalidScheduleFault - | SnapshotScheduleNotFoundFault - | SnapshotScheduleUpdateInProgressFault - | CommonAwsError + InvalidScheduleFault | SnapshotScheduleNotFoundFault | SnapshotScheduleUpdateInProgressFault | CommonAwsError >; modifyUsageLimit( input: ModifyUsageLimitMessage, ): Effect.Effect< UsageLimit, - | InvalidUsageLimitFault - | UnsupportedOperationFault - | UsageLimitNotFoundFault - | CommonAwsError + InvalidUsageLimitFault | UnsupportedOperationFault | UsageLimitNotFoundFault | CommonAwsError >; pauseCluster( input: PauseClusterMessage, ): Effect.Effect< PauseClusterResult, - | ClusterNotFoundFault - | InvalidClusterStateFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | UnsupportedOperationFault | CommonAwsError >; purchaseReservedNodeOffering( input: PurchaseReservedNodeOfferingMessage, ): Effect.Effect< PurchaseReservedNodeOfferingResult, - | ReservedNodeAlreadyExistsFault - | ReservedNodeOfferingNotFoundFault - | ReservedNodeQuotaExceededFault - | UnsupportedOperationFault - | CommonAwsError + ReservedNodeAlreadyExistsFault | ReservedNodeOfferingNotFoundFault | ReservedNodeQuotaExceededFault | UnsupportedOperationFault | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyMessage, ): Effect.Effect< PutResourcePolicyResult, - | ConflictPolicyUpdateFault - | InvalidPolicyFault - | ResourceNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + ConflictPolicyUpdateFault | InvalidPolicyFault | ResourceNotFoundFault | UnsupportedOperationFault | CommonAwsError >; rebootCluster( input: RebootClusterMessage, @@ -1145,156 +769,73 @@ export declare class Redshift extends AWSServiceClient { input: RegisterNamespaceInputMessage, ): Effect.Effect< RegisterNamespaceOutputMessage, - | ClusterNotFoundFault - | InvalidClusterStateFault - | InvalidNamespaceFault - | CommonAwsError + ClusterNotFoundFault | InvalidClusterStateFault | InvalidNamespaceFault | CommonAwsError >; rejectDataShare( input: RejectDataShareMessage, - ): Effect.Effect; + ): Effect.Effect< + DataShare, + InvalidDataShareFault | CommonAwsError + >; resetClusterParameterGroup( input: ResetClusterParameterGroupMessage, ): Effect.Effect< ClusterParameterGroupNameMessage, - | ClusterParameterGroupNotFoundFault - | InvalidClusterParameterGroupStateFault - | CommonAwsError + ClusterParameterGroupNotFoundFault | InvalidClusterParameterGroupStateFault | CommonAwsError >; resizeCluster( input: ResizeClusterMessage, ): Effect.Effect< ResizeClusterResult, - | ClusterNotFoundFault - | DependentServiceUnavailableFault - | InsufficientClusterCapacityFault - | InvalidClusterStateFault - | InvalidReservedNodeStateFault - | LimitExceededFault - | NumberOfNodesPerClusterLimitExceededFault - | NumberOfNodesQuotaExceededFault - | ReservedNodeAlreadyExistsFault - | ReservedNodeAlreadyMigratedFault - | ReservedNodeNotFoundFault - | ReservedNodeOfferingNotFoundFault - | UnauthorizedOperation - | UnsupportedOperationFault - | UnsupportedOptionFault - | CommonAwsError + ClusterNotFoundFault | DependentServiceUnavailableFault | InsufficientClusterCapacityFault | InvalidClusterStateFault | InvalidReservedNodeStateFault | LimitExceededFault | NumberOfNodesPerClusterLimitExceededFault | NumberOfNodesQuotaExceededFault | ReservedNodeAlreadyExistsFault | ReservedNodeAlreadyMigratedFault | ReservedNodeNotFoundFault | ReservedNodeOfferingNotFoundFault | UnauthorizedOperation | UnsupportedOperationFault | UnsupportedOptionFault | CommonAwsError >; restoreFromClusterSnapshot( input: RestoreFromClusterSnapshotMessage, ): Effect.Effect< RestoreFromClusterSnapshotResult, - | AccessToSnapshotDeniedFault - | ClusterAlreadyExistsFault - | ClusterParameterGroupNotFoundFault - | ClusterQuotaExceededFault - | ClusterSecurityGroupNotFoundFault - | ClusterSnapshotNotFoundFault - | ClusterSubnetGroupNotFoundFault - | DependentServiceRequestThrottlingFault - | DependentServiceUnavailableFault - | HsmClientCertificateNotFoundFault - | HsmConfigurationNotFoundFault - | InsufficientClusterCapacityFault - | InvalidClusterSnapshotStateFault - | InvalidClusterSubnetGroupStateFault - | InvalidClusterTrackFault - | InvalidElasticIpFault - | InvalidReservedNodeStateFault - | InvalidRestoreFault - | InvalidSubnet - | InvalidTagFault - | InvalidVPCNetworkStateFault - | Ipv6CidrBlockNotFoundFault - | LimitExceededFault - | NumberOfNodesPerClusterLimitExceededFault - | NumberOfNodesQuotaExceededFault - | ReservedNodeAlreadyExistsFault - | ReservedNodeAlreadyMigratedFault - | ReservedNodeNotFoundFault - | ReservedNodeOfferingNotFoundFault - | SnapshotScheduleNotFoundFault - | TagLimitExceededFault - | UnauthorizedOperation - | UnsupportedOperationFault - | CommonAwsError + AccessToSnapshotDeniedFault | ClusterAlreadyExistsFault | ClusterParameterGroupNotFoundFault | ClusterQuotaExceededFault | ClusterSecurityGroupNotFoundFault | ClusterSnapshotNotFoundFault | ClusterSubnetGroupNotFoundFault | DependentServiceRequestThrottlingFault | DependentServiceUnavailableFault | HsmClientCertificateNotFoundFault | HsmConfigurationNotFoundFault | InsufficientClusterCapacityFault | InvalidClusterSnapshotStateFault | InvalidClusterSubnetGroupStateFault | InvalidClusterTrackFault | InvalidElasticIpFault | InvalidReservedNodeStateFault | InvalidRestoreFault | InvalidSubnet | InvalidTagFault | InvalidVPCNetworkStateFault | Ipv6CidrBlockNotFoundFault | LimitExceededFault | NumberOfNodesPerClusterLimitExceededFault | NumberOfNodesQuotaExceededFault | ReservedNodeAlreadyExistsFault | ReservedNodeAlreadyMigratedFault | ReservedNodeNotFoundFault | ReservedNodeOfferingNotFoundFault | SnapshotScheduleNotFoundFault | TagLimitExceededFault | UnauthorizedOperation | UnsupportedOperationFault | CommonAwsError >; restoreTableFromClusterSnapshot( input: RestoreTableFromClusterSnapshotMessage, ): Effect.Effect< RestoreTableFromClusterSnapshotResult, - | ClusterNotFoundFault - | ClusterSnapshotNotFoundFault - | InProgressTableRestoreQuotaExceededFault - | InvalidClusterSnapshotStateFault - | InvalidClusterStateFault - | InvalidTableRestoreArgumentFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | ClusterSnapshotNotFoundFault | InProgressTableRestoreQuotaExceededFault | InvalidClusterSnapshotStateFault | InvalidClusterStateFault | InvalidTableRestoreArgumentFault | UnsupportedOperationFault | CommonAwsError >; resumeCluster( input: ResumeClusterMessage, ): Effect.Effect< ResumeClusterResult, - | ClusterNotFoundFault - | InsufficientClusterCapacityFault - | InvalidClusterStateFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | InsufficientClusterCapacityFault | InvalidClusterStateFault | UnsupportedOperationFault | CommonAwsError >; revokeClusterSecurityGroupIngress( input: RevokeClusterSecurityGroupIngressMessage, ): Effect.Effect< RevokeClusterSecurityGroupIngressResult, - | AuthorizationNotFoundFault - | ClusterSecurityGroupNotFoundFault - | InvalidClusterSecurityGroupStateFault - | CommonAwsError + AuthorizationNotFoundFault | ClusterSecurityGroupNotFoundFault | InvalidClusterSecurityGroupStateFault | CommonAwsError >; revokeEndpointAccess( input: RevokeEndpointAccessMessage, ): Effect.Effect< EndpointAuthorization, - | ClusterNotFoundFault - | EndpointAuthorizationNotFoundFault - | EndpointNotFoundFault - | InvalidAuthorizationStateFault - | InvalidClusterSecurityGroupStateFault - | InvalidClusterStateFault - | InvalidEndpointStateFault - | CommonAwsError + ClusterNotFoundFault | EndpointAuthorizationNotFoundFault | EndpointNotFoundFault | InvalidAuthorizationStateFault | InvalidClusterSecurityGroupStateFault | InvalidClusterStateFault | InvalidEndpointStateFault | CommonAwsError >; revokeSnapshotAccess( input: RevokeSnapshotAccessMessage, ): Effect.Effect< RevokeSnapshotAccessResult, - | AccessToSnapshotDeniedFault - | AuthorizationNotFoundFault - | ClusterSnapshotNotFoundFault - | UnsupportedOperationFault - | CommonAwsError + AccessToSnapshotDeniedFault | AuthorizationNotFoundFault | ClusterSnapshotNotFoundFault | UnsupportedOperationFault | CommonAwsError >; rotateEncryptionKey( input: RotateEncryptionKeyMessage, ): Effect.Effect< RotateEncryptionKeyResult, - | ClusterNotFoundFault - | DependentServiceRequestThrottlingFault - | InvalidClusterStateFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | DependentServiceRequestThrottlingFault | InvalidClusterStateFault | UnsupportedOperationFault | CommonAwsError >; updatePartnerStatus( input: UpdatePartnerStatusInputMessage, ): Effect.Effect< PartnerIntegrationOutputMessage, - | ClusterNotFoundFault - | PartnerNotFoundFault - | UnauthorizedPartnerIntegrationFault - | UnsupportedOperationFault - | CommonAwsError + ClusterNotFoundFault | PartnerNotFoundFault | UnauthorizedPartnerIntegrationFault | UnsupportedOperationFault | CommonAwsError >; } @@ -1327,10 +868,7 @@ export interface AccountWithRestoreAccess { AccountId?: string; AccountAlias?: string; } -export type ActionType = - | "restore-cluster" - | "recommend-node-config" - | "resize-cluster"; +export type ActionType = "restore-cluster" | "recommend-node-config" | "resize-cluster"; export interface AquaConfiguration { AquaStatus?: AquaStatus; AquaConfigurationStatus?: AquaConfigurationStatus; @@ -1632,8 +1170,7 @@ export interface ClusterParameterGroupStatus { ParameterApplyStatus?: string; ClusterParameterStatusList?: Array; } -export type ClusterParameterGroupStatusList = - Array; +export type ClusterParameterGroupStatusList = Array; export interface ClusterParameterStatus { ParameterName?: string; ParameterApplyStatus?: string; @@ -1661,8 +1198,7 @@ export interface ClusterSecurityGroupMembership { ClusterSecurityGroupName?: string; Status?: string; } -export type ClusterSecurityGroupMembershipList = - Array; +export type ClusterSecurityGroupMembershipList = Array; export interface ClusterSecurityGroupMessage { Marker?: string; ClusterSecurityGroups?: Array; @@ -2008,20 +1544,9 @@ export interface DataShareAssociation { } export type DataShareAssociationList = Array; export type DataShareList = Array; -export type DataShareStatus = - | "ACTIVE" - | "PENDING_AUTHORIZATION" - | "AUTHORIZED" - | "DEAUTHORIZED" - | "REJECTED" - | "AVAILABLE"; +export type DataShareStatus = "ACTIVE" | "PENDING_AUTHORIZATION" | "AUTHORIZED" | "DEAUTHORIZED" | "REJECTED" | "AVAILABLE"; export type DataShareStatusForConsumer = "ACTIVE" | "AVAILABLE"; -export type DataShareStatusForProducer = - | "ACTIVE" - | "AUTHORIZED" - | "PENDING_AUTHORIZATION" - | "DEAUTHORIZED" - | "REJECTED"; +export type DataShareStatusForProducer = "ACTIVE" | "AUTHORIZED" | "PENDING_AUTHORIZATION" | "DEAUTHORIZED" | "REJECTED"; export type DataShareType = "INTERNAL"; export interface DataTransferProgress { Status?: string; @@ -2072,8 +1597,7 @@ export interface DeleteClusterSnapshotMessage { SnapshotIdentifier: string; SnapshotClusterIdentifier?: string; } -export type DeleteClusterSnapshotMessageList = - Array; +export type DeleteClusterSnapshotMessageList = Array; export interface DeleteClusterSnapshotResult { Snapshot?: Snapshot; } @@ -2319,11 +1843,7 @@ export interface DescribeIntegrationsFilter { Values: Array; } export type DescribeIntegrationsFilterList = Array; -export type DescribeIntegrationsFilterName = - | "integration-arn" - | "source-arn" - | "source-types" - | "status"; +export type DescribeIntegrationsFilterName = "integration-arn" | "source-arn" | "source-types" | "status"; export type DescribeIntegrationsFilterValueList = Array; export interface DescribeIntegrationsMessage { IntegrationArn?: string; @@ -3011,9 +2531,7 @@ interface _LakeFormationScopeUnion { LakeFormationQuery?: LakeFormationQuery; } -export type LakeFormationScopeUnion = _LakeFormationScopeUnion & { - LakeFormationQuery: LakeFormationQuery; -}; +export type LakeFormationScopeUnion = (_LakeFormationScopeUnion & { LakeFormationQuery: LakeFormationQuery }); export type LakeFormationServiceIntegrations = Array; export declare class LimitExceededFault extends EffectData.TaggedError( "LimitExceededFault", @@ -3228,11 +2746,7 @@ interface _NamespaceIdentifierUnion { ProvisionedIdentifier?: ProvisionedIdentifier; } -export type NamespaceIdentifierUnion = - | (_NamespaceIdentifierUnion & { ServerlessIdentifier: ServerlessIdentifier }) - | (_NamespaceIdentifierUnion & { - ProvisionedIdentifier: ProvisionedIdentifier; - }); +export type NamespaceIdentifierUnion = (_NamespaceIdentifierUnion & { ServerlessIdentifier: ServerlessIdentifier }) | (_NamespaceIdentifierUnion & { ProvisionedIdentifier: ProvisionedIdentifier }); export type NamespaceRegistrationStatus = "Registering" | "Deregistering"; export interface NetworkInterface { NetworkInterfaceId?: string; @@ -3254,13 +2768,8 @@ export interface NodeConfigurationOptionsFilter { Operator?: OperatorType; Values?: Array; } -export type NodeConfigurationOptionsFilterList = - Array; -export type NodeConfigurationOptionsFilterName = - | "NodeType" - | "NumberOfNodes" - | "EstimatedDiskUtilizationPercent" - | "Mode"; +export type NodeConfigurationOptionsFilterList = Array; +export type NodeConfigurationOptionsFilterName = "NodeType" | "NumberOfNodes" | "EstimatedDiskUtilizationPercent" | "Mode"; export interface NodeConfigurationOptionsMessage { NodeConfigurationOptionList?: Array; Marker?: string; @@ -3328,11 +2837,7 @@ export interface PartnerIntegrationOutputMessage { } export type PartnerIntegrationPartnerName = string; -export type PartnerIntegrationStatus = - | "Active" - | "Inactive" - | "RuntimeFailure" - | "ConnectionFailure"; +export type PartnerIntegrationStatus = "Active" | "Inactive" | "RuntimeFailure" | "ConnectionFailure"; export type PartnerIntegrationStatusMessage = string; export declare class PartnerNotFoundFault extends EffectData.TaggedError( @@ -3491,11 +2996,8 @@ export interface ReservedNodeConfigurationOption { TargetReservedNodeCount?: number; TargetReservedNodeOffering?: ReservedNodeOffering; } -export type ReservedNodeConfigurationOptionList = - Array; -export type ReservedNodeExchangeActionType = - | "restore-cluster" - | "resize-cluster"; +export type ReservedNodeConfigurationOptionList = Array; +export type ReservedNodeExchangeActionType = "restore-cluster" | "resize-cluster"; export declare class ReservedNodeExchangeNotFoundFault extends EffectData.TaggedError( "ReservedNodeExchangeNotFoundFault", )<{ @@ -3513,13 +3015,7 @@ export interface ReservedNodeExchangeStatus { TargetReservedNodeCount?: number; } export type ReservedNodeExchangeStatusList = Array; -export type ReservedNodeExchangeStatusType = - | "REQUESTED" - | "PENDING" - | "IN_PROGRESS" - | "RETRYING" - | "SUCCEEDED" - | "FAILED"; +export type ReservedNodeExchangeStatusType = "REQUESTED" | "PENDING" | "IN_PROGRESS" | "RETRYING" | "SUCCEEDED" | "FAILED"; export type ReservedNodeList = Array; export declare class ReservedNodeNotFoundFault extends EffectData.TaggedError( "ReservedNodeNotFoundFault", @@ -3721,9 +3217,7 @@ interface _S3AccessGrantsScopeUnion { ReadWriteAccess?: ReadWriteAccess; } -export type S3AccessGrantsScopeUnion = _S3AccessGrantsScopeUnion & { - ReadWriteAccess: ReadWriteAccess; -}; +export type S3AccessGrantsScopeUnion = (_S3AccessGrantsScopeUnion & { ReadWriteAccess: ReadWriteAccess }); export type S3AccessGrantsServiceIntegrations = Array; export type S3KeyPrefixValue = string; @@ -3776,10 +3270,7 @@ export declare class ScheduledActionTypeUnsupportedFault extends EffectData.Tagg )<{ readonly message?: string; }> {} -export type ScheduledActionTypeValues = - | "ResizeCluster" - | "PauseCluster" - | "ResumeCluster"; +export type ScheduledActionTypeValues = "ResizeCluster" | "PauseCluster" | "ResumeCluster"; export type ScheduleDefinitionList = Array; export declare class ScheduleDefinitionTypeUnsupportedFault extends EffectData.TaggedError( "ScheduleDefinitionTypeUnsupportedFault", @@ -3805,13 +3296,7 @@ interface _ServiceIntegrationsUnion { S3AccessGrants?: Array; } -export type ServiceIntegrationsUnion = - | (_ServiceIntegrationsUnion & { - LakeFormation: Array; - }) - | (_ServiceIntegrationsUnion & { - S3AccessGrants: Array; - }); +export type ServiceIntegrationsUnion = (_ServiceIntegrationsUnion & { LakeFormation: Array }) | (_ServiceIntegrationsUnion & { S3AccessGrants: Array }); export interface Snapshot { SnapshotIdentifier?: string; ClusterIdentifier?: string; @@ -3851,10 +3336,7 @@ export interface Snapshot { MasterPasswordSecretKmsKeyId?: string; SnapshotArn?: string; } -export type SnapshotAttributeToSortBy = - | "SOURCE_TYPE" - | "TOTAL_SIZE" - | "CREATE_TIME"; +export type SnapshotAttributeToSortBy = "SOURCE_TYPE" | "TOTAL_SIZE" | "CREATE_TIME"; export declare class SnapshotCopyAlreadyDisabledFault extends EffectData.TaggedError( "SnapshotCopyAlreadyDisabledFault", )<{ @@ -3966,12 +3448,7 @@ export declare class SourceNotFoundFault extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type SourceType = - | "cluster" - | "cluster-parameter-group" - | "cluster-security-group" - | "cluster-snapshot" - | "scheduled-action"; +export type SourceType = "cluster" | "cluster-parameter-group" | "cluster-security-group" | "cluster-snapshot" | "scheduled-action"; export type RedshiftString = string; export interface Subnet { @@ -4050,12 +3527,7 @@ export interface TableRestoreStatusMessage { TableRestoreStatusDetails?: Array; Marker?: string; } -export type TableRestoreStatusType = - | "PENDING" - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED" - | "CANCELED"; +export type TableRestoreStatusType = "PENDING" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "CANCELED"; export interface Tag { Key?: string; Value?: string; @@ -4141,10 +3613,7 @@ export declare class UsageLimitAlreadyExistsFault extends EffectData.TaggedError readonly message?: string; }> {} export type UsageLimitBreachAction = "log" | "emit-metric" | "disable"; -export type UsageLimitFeatureType = - | "spectrum" - | "concurrency-scaling" - | "cross-region-datasharing"; +export type UsageLimitFeatureType = "spectrum" | "concurrency-scaling" | "cross-region-datasharing"; export type UsageLimitLimitType = "time" | "data-scanned"; export interface UsageLimitList { UsageLimits?: Array; @@ -4171,14 +3640,7 @@ export interface VpcSecurityGroupMembership { Status?: string; } export type VpcSecurityGroupMembershipList = Array; -export type ZeroETLIntegrationStatus = - | "creating" - | "active" - | "modifying" - | "failed" - | "deleting" - | "syncing" - | "needs_attention"; +export type ZeroETLIntegrationStatus = "creating" | "active" | "modifying" | "failed" | "deleting" | "syncing" | "needs_attention"; export declare class ClusterNotFound extends EffectData.TaggedError( "ClusterNotFound", )<{}> {} @@ -4231,7 +3693,9 @@ export declare namespace AuthorizeClusterSecurityGroupIngress { export declare namespace AuthorizeDataShare { export type Input = AuthorizeDataShareMessage; export type Output = DataShare; - export type Error = InvalidDataShareFault | CommonAwsError; + export type Error = + | InvalidDataShareFault + | CommonAwsError; } export declare namespace AuthorizeEndpointAccess { @@ -4264,7 +3728,9 @@ export declare namespace AuthorizeSnapshotAccess { export declare namespace BatchDeleteClusterSnapshots { export type Input = BatchDeleteClusterSnapshotsRequest; export type Output = BatchDeleteClusterSnapshotsResult; - export type Error = BatchDeleteRequestSizeExceededFault | CommonAwsError; + export type Error = + | BatchDeleteRequestSizeExceededFault + | CommonAwsError; } export declare namespace BatchModifyClusterSnapshots { @@ -4559,7 +4025,9 @@ export declare namespace CreateUsageLimit { export declare namespace DeauthorizeDataShare { export type Input = DeauthorizeDataShareMessage; export type Output = DataShare; - export type Error = InvalidDataShareFault | CommonAwsError; + export type Error = + | InvalidDataShareFault + | CommonAwsError; } export declare namespace DeleteAuthenticationProfile { @@ -4742,7 +4210,10 @@ export declare namespace DeleteSnapshotSchedule { export declare namespace DeleteTags { export type Input = DeleteTagsMessage; export type Output = {}; - export type Error = InvalidTagFault | ResourceNotFoundFault | CommonAwsError; + export type Error = + | InvalidTagFault + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DeleteUsageLimit { @@ -4767,7 +4238,8 @@ export declare namespace DeregisterNamespace { export declare namespace DescribeAccountAttributes { export type Input = DescribeAccountAttributesMessage; export type Output = AccountAttributeList; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAuthenticationProfiles { @@ -4800,7 +4272,9 @@ export declare namespace DescribeClusterParameterGroups { export declare namespace DescribeClusterParameters { export type Input = DescribeClusterParametersMessage; export type Output = ClusterParameterGroupDetails; - export type Error = ClusterParameterGroupNotFoundFault | CommonAwsError; + export type Error = + | ClusterParameterGroupNotFoundFault + | CommonAwsError; } export declare namespace DescribeClusters { @@ -4854,7 +4328,8 @@ export declare namespace DescribeClusterTracks { export declare namespace DescribeClusterVersions { export type Input = DescribeClusterVersionsMessage; export type Output = ClusterVersionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCustomDomainAssociations { @@ -4869,25 +4344,32 @@ export declare namespace DescribeCustomDomainAssociations { export declare namespace DescribeDataShares { export type Input = DescribeDataSharesMessage; export type Output = DescribeDataSharesResult; - export type Error = InvalidDataShareFault | CommonAwsError; + export type Error = + | InvalidDataShareFault + | CommonAwsError; } export declare namespace DescribeDataSharesForConsumer { export type Input = DescribeDataSharesForConsumerMessage; export type Output = DescribeDataSharesForConsumerResult; - export type Error = InvalidNamespaceFault | CommonAwsError; + export type Error = + | InvalidNamespaceFault + | CommonAwsError; } export declare namespace DescribeDataSharesForProducer { export type Input = DescribeDataSharesForProducerMessage; export type Output = DescribeDataSharesForProducerResult; - export type Error = InvalidNamespaceFault | CommonAwsError; + export type Error = + | InvalidNamespaceFault + | CommonAwsError; } export declare namespace DescribeDefaultClusterParameters { export type Input = DescribeDefaultClusterParametersMessage; export type Output = DescribeDefaultClusterParametersResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEndpointAccess { @@ -4912,13 +4394,15 @@ export declare namespace DescribeEndpointAuthorization { export declare namespace DescribeEventCategories { export type Input = DescribeEventCategoriesMessage; export type Output = EventCategoriesMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEvents { export type Input = DescribeEventsMessage; export type Output = EventsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEventSubscriptions { @@ -4991,7 +4475,8 @@ export declare namespace DescribeNodeConfigurationOptions { export declare namespace DescribeOrderableClusterOptions { export type Input = DescribeOrderableClusterOptionsMessage; export type Output = OrderableClusterOptionsMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribePartners { @@ -5075,13 +4560,15 @@ export declare namespace DescribeSnapshotCopyGrants { export declare namespace DescribeSnapshotSchedules { export type Input = DescribeSnapshotSchedulesMessage; export type Output = DescribeSnapshotSchedulesOutputMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeStorage { export type Input = {}; export type Output = CustomerStorageMessage; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTableRestoreStatus { @@ -5096,7 +4583,10 @@ export declare namespace DescribeTableRestoreStatus { export declare namespace DescribeTags { export type Input = DescribeTagsMessage; export type Output = TaggedResourceListMessage; - export type Error = InvalidTagFault | ResourceNotFoundFault | CommonAwsError; + export type Error = + | InvalidTagFault + | ResourceNotFoundFault + | CommonAwsError; } export declare namespace DescribeUsageLimits { @@ -5530,7 +5020,9 @@ export declare namespace RegisterNamespace { export declare namespace RejectDataShare { export type Input = RejectDataShareMessage; export type Output = DataShare; - export type Error = InvalidDataShareFault | CommonAwsError; + export type Error = + | InvalidDataShareFault + | CommonAwsError; } export declare namespace ResetClusterParameterGroup { @@ -5686,148 +5178,5 @@ export declare namespace UpdatePartnerStatus { | CommonAwsError; } -export type RedshiftErrors = - | AccessToClusterDeniedFault - | AccessToSnapshotDeniedFault - | AuthenticationProfileAlreadyExistsFault - | AuthenticationProfileNotFoundFault - | AuthenticationProfileQuotaExceededFault - | AuthorizationAlreadyExistsFault - | AuthorizationNotFoundFault - | AuthorizationQuotaExceededFault - | BatchDeleteRequestSizeExceededFault - | BatchModifyClusterSnapshotsLimitExceededFault - | BucketNotFoundFault - | ClusterAlreadyExistsFault - | ClusterNotFoundFault - | ClusterOnLatestRevisionFault - | ClusterParameterGroupAlreadyExistsFault - | ClusterParameterGroupNotFoundFault - | ClusterParameterGroupQuotaExceededFault - | ClusterQuotaExceededFault - | ClusterSecurityGroupAlreadyExistsFault - | ClusterSecurityGroupNotFoundFault - | ClusterSecurityGroupQuotaExceededFault - | ClusterSnapshotAlreadyExistsFault - | ClusterSnapshotNotFoundFault - | ClusterSnapshotQuotaExceededFault - | ClusterSubnetGroupAlreadyExistsFault - | ClusterSubnetGroupNotFoundFault - | ClusterSubnetGroupQuotaExceededFault - | ClusterSubnetQuotaExceededFault - | ConflictPolicyUpdateFault - | CopyToRegionDisabledFault - | CustomCnameAssociationFault - | CustomDomainAssociationNotFoundFault - | DependentServiceAccessDeniedFault - | DependentServiceRequestThrottlingFault - | DependentServiceUnavailableFault - | EndpointAlreadyExistsFault - | EndpointAuthorizationAlreadyExistsFault - | EndpointAuthorizationNotFoundFault - | EndpointAuthorizationsPerClusterLimitExceededFault - | EndpointNotFoundFault - | EndpointsPerAuthorizationLimitExceededFault - | EndpointsPerClusterLimitExceededFault - | EventSubscriptionQuotaExceededFault - | HsmClientCertificateAlreadyExistsFault - | HsmClientCertificateNotFoundFault - | HsmClientCertificateQuotaExceededFault - | HsmConfigurationAlreadyExistsFault - | HsmConfigurationNotFoundFault - | HsmConfigurationQuotaExceededFault - | InProgressTableRestoreQuotaExceededFault - | IncompatibleOrderableOptions - | InsufficientClusterCapacityFault - | InsufficientS3BucketPolicyFault - | IntegrationAlreadyExistsFault - | IntegrationConflictOperationFault - | IntegrationConflictStateFault - | IntegrationNotFoundFault - | IntegrationQuotaExceededFault - | IntegrationSourceNotFoundFault - | IntegrationTargetNotFoundFault - | InvalidAuthenticationProfileRequestFault - | InvalidAuthorizationStateFault - | InvalidClusterParameterGroupStateFault - | InvalidClusterSecurityGroupStateFault - | InvalidClusterSnapshotScheduleStateFault - | InvalidClusterSnapshotStateFault - | InvalidClusterStateFault - | InvalidClusterSubnetGroupStateFault - | InvalidClusterSubnetStateFault - | InvalidClusterTrackFault - | InvalidDataShareFault - | InvalidElasticIpFault - | InvalidEndpointStateFault - | InvalidHsmClientCertificateStateFault - | InvalidHsmConfigurationStateFault - | InvalidNamespaceFault - | InvalidPolicyFault - | InvalidReservedNodeStateFault - | InvalidRestoreFault - | InvalidRetentionPeriodFault - | InvalidS3BucketNameFault - | InvalidS3KeyPrefixFault - | InvalidScheduleFault - | InvalidScheduledActionFault - | InvalidSnapshotCopyGrantStateFault - | InvalidSubnet - | InvalidSubscriptionStateFault - | InvalidTableRestoreArgumentFault - | InvalidTagFault - | InvalidUsageLimitFault - | InvalidVPCNetworkStateFault - | Ipv6CidrBlockNotFoundFault - | LimitExceededFault - | NumberOfNodesPerClusterLimitExceededFault - | NumberOfNodesQuotaExceededFault - | PartnerNotFoundFault - | RedshiftIdcApplicationAlreadyExistsFault - | RedshiftIdcApplicationNotExistsFault - | RedshiftIdcApplicationQuotaExceededFault - | ReservedNodeAlreadyExistsFault - | ReservedNodeAlreadyMigratedFault - | ReservedNodeExchangeNotFoundFault - | ReservedNodeNotFoundFault - | ReservedNodeOfferingNotFoundFault - | ReservedNodeQuotaExceededFault - | ResizeNotFoundFault - | ResourceNotFoundFault - | SNSInvalidTopicFault - | SNSNoAuthorizationFault - | SNSTopicArnNotFoundFault - | ScheduleDefinitionTypeUnsupportedFault - | ScheduledActionAlreadyExistsFault - | ScheduledActionNotFoundFault - | ScheduledActionQuotaExceededFault - | ScheduledActionTypeUnsupportedFault - | SnapshotCopyAlreadyDisabledFault - | SnapshotCopyAlreadyEnabledFault - | SnapshotCopyDisabledFault - | SnapshotCopyGrantAlreadyExistsFault - | SnapshotCopyGrantNotFoundFault - | SnapshotCopyGrantQuotaExceededFault - | SnapshotScheduleAlreadyExistsFault - | SnapshotScheduleNotFoundFault - | SnapshotScheduleQuotaExceededFault - | SnapshotScheduleUpdateInProgressFault - | SourceNotFoundFault - | SubnetAlreadyInUse - | SubscriptionAlreadyExistFault - | SubscriptionCategoryNotFoundFault - | SubscriptionEventIdNotFoundFault - | SubscriptionNotFoundFault - | SubscriptionSeverityNotFoundFault - | TableLimitExceededFault - | TableRestoreNotFoundFault - | TagLimitExceededFault - | UnauthorizedOperation - | UnauthorizedPartnerIntegrationFault - | UnknownSnapshotCopyRegionFault - | UnsupportedOperationFault - | UnsupportedOptionFault - | UsageLimitAlreadyExistsFault - | UsageLimitNotFoundFault - | ClusterNotFound - | CommonAwsError; +export type RedshiftErrors = AccessToClusterDeniedFault | AccessToSnapshotDeniedFault | AuthenticationProfileAlreadyExistsFault | AuthenticationProfileNotFoundFault | AuthenticationProfileQuotaExceededFault | AuthorizationAlreadyExistsFault | AuthorizationNotFoundFault | AuthorizationQuotaExceededFault | BatchDeleteRequestSizeExceededFault | BatchModifyClusterSnapshotsLimitExceededFault | BucketNotFoundFault | ClusterAlreadyExistsFault | ClusterNotFoundFault | ClusterOnLatestRevisionFault | ClusterParameterGroupAlreadyExistsFault | ClusterParameterGroupNotFoundFault | ClusterParameterGroupQuotaExceededFault | ClusterQuotaExceededFault | ClusterSecurityGroupAlreadyExistsFault | ClusterSecurityGroupNotFoundFault | ClusterSecurityGroupQuotaExceededFault | ClusterSnapshotAlreadyExistsFault | ClusterSnapshotNotFoundFault | ClusterSnapshotQuotaExceededFault | ClusterSubnetGroupAlreadyExistsFault | ClusterSubnetGroupNotFoundFault | ClusterSubnetGroupQuotaExceededFault | ClusterSubnetQuotaExceededFault | ConflictPolicyUpdateFault | CopyToRegionDisabledFault | CustomCnameAssociationFault | CustomDomainAssociationNotFoundFault | DependentServiceAccessDeniedFault | DependentServiceRequestThrottlingFault | DependentServiceUnavailableFault | EndpointAlreadyExistsFault | EndpointAuthorizationAlreadyExistsFault | EndpointAuthorizationNotFoundFault | EndpointAuthorizationsPerClusterLimitExceededFault | EndpointNotFoundFault | EndpointsPerAuthorizationLimitExceededFault | EndpointsPerClusterLimitExceededFault | EventSubscriptionQuotaExceededFault | HsmClientCertificateAlreadyExistsFault | HsmClientCertificateNotFoundFault | HsmClientCertificateQuotaExceededFault | HsmConfigurationAlreadyExistsFault | HsmConfigurationNotFoundFault | HsmConfigurationQuotaExceededFault | InProgressTableRestoreQuotaExceededFault | IncompatibleOrderableOptions | InsufficientClusterCapacityFault | InsufficientS3BucketPolicyFault | IntegrationAlreadyExistsFault | IntegrationConflictOperationFault | IntegrationConflictStateFault | IntegrationNotFoundFault | IntegrationQuotaExceededFault | IntegrationSourceNotFoundFault | IntegrationTargetNotFoundFault | InvalidAuthenticationProfileRequestFault | InvalidAuthorizationStateFault | InvalidClusterParameterGroupStateFault | InvalidClusterSecurityGroupStateFault | InvalidClusterSnapshotScheduleStateFault | InvalidClusterSnapshotStateFault | InvalidClusterStateFault | InvalidClusterSubnetGroupStateFault | InvalidClusterSubnetStateFault | InvalidClusterTrackFault | InvalidDataShareFault | InvalidElasticIpFault | InvalidEndpointStateFault | InvalidHsmClientCertificateStateFault | InvalidHsmConfigurationStateFault | InvalidNamespaceFault | InvalidPolicyFault | InvalidReservedNodeStateFault | InvalidRestoreFault | InvalidRetentionPeriodFault | InvalidS3BucketNameFault | InvalidS3KeyPrefixFault | InvalidScheduleFault | InvalidScheduledActionFault | InvalidSnapshotCopyGrantStateFault | InvalidSubnet | InvalidSubscriptionStateFault | InvalidTableRestoreArgumentFault | InvalidTagFault | InvalidUsageLimitFault | InvalidVPCNetworkStateFault | Ipv6CidrBlockNotFoundFault | LimitExceededFault | NumberOfNodesPerClusterLimitExceededFault | NumberOfNodesQuotaExceededFault | PartnerNotFoundFault | RedshiftIdcApplicationAlreadyExistsFault | RedshiftIdcApplicationNotExistsFault | RedshiftIdcApplicationQuotaExceededFault | ReservedNodeAlreadyExistsFault | ReservedNodeAlreadyMigratedFault | ReservedNodeExchangeNotFoundFault | ReservedNodeNotFoundFault | ReservedNodeOfferingNotFoundFault | ReservedNodeQuotaExceededFault | ResizeNotFoundFault | ResourceNotFoundFault | SNSInvalidTopicFault | SNSNoAuthorizationFault | SNSTopicArnNotFoundFault | ScheduleDefinitionTypeUnsupportedFault | ScheduledActionAlreadyExistsFault | ScheduledActionNotFoundFault | ScheduledActionQuotaExceededFault | ScheduledActionTypeUnsupportedFault | SnapshotCopyAlreadyDisabledFault | SnapshotCopyAlreadyEnabledFault | SnapshotCopyDisabledFault | SnapshotCopyGrantAlreadyExistsFault | SnapshotCopyGrantNotFoundFault | SnapshotCopyGrantQuotaExceededFault | SnapshotScheduleAlreadyExistsFault | SnapshotScheduleNotFoundFault | SnapshotScheduleQuotaExceededFault | SnapshotScheduleUpdateInProgressFault | SourceNotFoundFault | SubnetAlreadyInUse | SubscriptionAlreadyExistFault | SubscriptionCategoryNotFoundFault | SubscriptionEventIdNotFoundFault | SubscriptionNotFoundFault | SubscriptionSeverityNotFoundFault | TableLimitExceededFault | TableRestoreNotFoundFault | TagLimitExceededFault | UnauthorizedOperation | UnauthorizedPartnerIntegrationFault | UnknownSnapshotCopyRegionFault | UnsupportedOperationFault | UnsupportedOptionFault | UsageLimitAlreadyExistsFault | UsageLimitNotFoundFault | ClusterNotFound | CommonAwsError; + diff --git a/src/services/rekognition/index.ts b/src/services/rekognition/index.ts index 3858d433..71ced1fd 100644 --- a/src/services/rekognition/index.ts +++ b/src/services/rekognition/index.ts @@ -5,24 +5,7 @@ import type { Rekognition as _RekognitionClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/rekognition/types.ts b/src/services/rekognition/types.ts index 60e46832..69d9f1e0 100644 --- a/src/services/rekognition/types.ts +++ b/src/services/rekognition/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class Rekognition extends AWSServiceClient { @@ -41,1025 +8,451 @@ export declare class Rekognition extends AWSServiceClient { input: AssociateFacesRequest, ): Effect.Effect< AssociateFacesResponse, - | AccessDeniedException - | ConflictException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; compareFaces( input: CompareFacesRequest, ): Effect.Effect< CompareFacesResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; copyProjectVersion( input: CopyProjectVersionRequest, ): Effect.Effect< CopyProjectVersionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | LimitExceededException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createCollection( input: CreateCollectionRequest, ): Effect.Effect< CreateCollectionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceAlreadyExistsException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceAlreadyExistsException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createDataset( input: CreateDatasetRequest, ): Effect.Effect< CreateDatasetResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createFaceLivenessSession( input: CreateFaceLivenessSessionRequest, ): Effect.Effect< CreateFaceLivenessSessionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; createProject( input: CreateProjectRequest, ): Effect.Effect< CreateProjectResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | LimitExceededException | ProvisionedThroughputExceededException | ResourceInUseException | ThrottlingException | CommonAwsError >; createProjectVersion( input: CreateProjectVersionRequest, ): Effect.Effect< CreateProjectVersionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | LimitExceededException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createStreamProcessor( input: CreateStreamProcessorRequest, ): Effect.Effect< CreateStreamProcessorResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | LimitExceededException | ProvisionedThroughputExceededException | ResourceInUseException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | AccessDeniedException - | ConflictException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; deleteCollection( input: DeleteCollectionRequest, ): Effect.Effect< DeleteCollectionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDataset( input: DeleteDatasetRequest, ): Effect.Effect< DeleteDatasetResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | LimitExceededException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteFaces( input: DeleteFacesRequest, ): Effect.Effect< DeleteFacesResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteProject( input: DeleteProjectRequest, ): Effect.Effect< DeleteProjectResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteProjectPolicy( input: DeleteProjectPolicyRequest, ): Effect.Effect< DeleteProjectPolicyResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | InvalidPolicyRevisionIdException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | InvalidPolicyRevisionIdException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteProjectVersion( input: DeleteProjectVersionRequest, ): Effect.Effect< DeleteProjectVersionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteStreamProcessor( input: DeleteStreamProcessorRequest, ): Effect.Effect< DeleteStreamProcessorResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< DeleteUserResponse, - | AccessDeniedException - | ConflictException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeCollection( input: DescribeCollectionRequest, ): Effect.Effect< DescribeCollectionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDataset( input: DescribeDatasetRequest, ): Effect.Effect< DescribeDatasetResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeProjects( input: DescribeProjectsRequest, ): Effect.Effect< DescribeProjectsResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; describeProjectVersions( input: DescribeProjectVersionsRequest, ): Effect.Effect< DescribeProjectVersionsResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeStreamProcessor( input: DescribeStreamProcessorRequest, ): Effect.Effect< DescribeStreamProcessorResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; detectCustomLabels( input: DetectCustomLabelsRequest, ): Effect.Effect< DetectCustomLabelsResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | CommonAwsError >; detectFaces( input: DetectFacesRequest, ): Effect.Effect< DetectFacesResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; detectLabels( input: DetectLabelsRequest, ): Effect.Effect< DetectLabelsResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; detectModerationLabels( input: DetectModerationLabelsRequest, ): Effect.Effect< DetectModerationLabelsResponse, - | AccessDeniedException - | HumanLoopQuotaExceededException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | CommonAwsError + AccessDeniedException | HumanLoopQuotaExceededException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | CommonAwsError >; detectProtectiveEquipment( input: DetectProtectiveEquipmentRequest, ): Effect.Effect< DetectProtectiveEquipmentResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; detectText( input: DetectTextRequest, ): Effect.Effect< DetectTextResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; disassociateFaces( input: DisassociateFacesRequest, ): Effect.Effect< DisassociateFacesResponse, - | AccessDeniedException - | ConflictException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; distributeDatasetEntries( input: DistributeDatasetEntriesRequest, ): Effect.Effect< DistributeDatasetEntriesResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | CommonAwsError >; getCelebrityInfo( input: GetCelebrityInfoRequest, ): Effect.Effect< GetCelebrityInfoResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getCelebrityRecognition( input: GetCelebrityRecognitionRequest, ): Effect.Effect< GetCelebrityRecognitionResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getContentModeration( input: GetContentModerationRequest, ): Effect.Effect< GetContentModerationResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getFaceDetection( input: GetFaceDetectionRequest, ): Effect.Effect< GetFaceDetectionResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getFaceLivenessSessionResults( input: GetFaceLivenessSessionResultsRequest, ): Effect.Effect< GetFaceLivenessSessionResultsResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | SessionNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | SessionNotFoundException | ThrottlingException | CommonAwsError >; getFaceSearch( input: GetFaceSearchRequest, ): Effect.Effect< GetFaceSearchResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getLabelDetection( input: GetLabelDetectionRequest, ): Effect.Effect< GetLabelDetectionResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getMediaAnalysisJob( input: GetMediaAnalysisJobRequest, ): Effect.Effect< GetMediaAnalysisJobResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getPersonTracking( input: GetPersonTrackingRequest, ): Effect.Effect< GetPersonTrackingResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSegmentDetection( input: GetSegmentDetectionRequest, ): Effect.Effect< GetSegmentDetectionResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getTextDetection( input: GetTextDetectionRequest, ): Effect.Effect< GetTextDetectionResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; indexFaces( input: IndexFacesRequest, ): Effect.Effect< IndexFacesResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; listCollections( input: ListCollectionsRequest, ): Effect.Effect< - ListCollectionsResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError - >; - listDatasetEntries( - input: ListDatasetEntriesRequest, - ): Effect.Effect< - ListDatasetEntriesResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | CommonAwsError + ListCollectionsResponse, + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError + >; + listDatasetEntries( + input: ListDatasetEntriesRequest, + ): Effect.Effect< + ListDatasetEntriesResponse, + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | CommonAwsError >; listDatasetLabels( input: ListDatasetLabelsRequest, ): Effect.Effect< ListDatasetLabelsResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | CommonAwsError >; listFaces( input: ListFacesRequest, ): Effect.Effect< ListFacesResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listMediaAnalysisJobs( input: ListMediaAnalysisJobsRequest, ): Effect.Effect< ListMediaAnalysisJobsResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; listProjectPolicies( input: ListProjectPoliciesRequest, ): Effect.Effect< ListProjectPoliciesResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listStreamProcessors( input: ListStreamProcessorsRequest, ): Effect.Effect< ListStreamProcessorsResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listUsers( input: ListUsersRequest, ): Effect.Effect< ListUsersResponse, - | AccessDeniedException - | InternalServerError - | InvalidPaginationTokenException - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidPaginationTokenException | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putProjectPolicy( input: PutProjectPolicyRequest, ): Effect.Effect< PutProjectPolicyResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | InvalidPolicyRevisionIdException - | LimitExceededException - | MalformedPolicyDocumentException - | ProvisionedThroughputExceededException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | InvalidPolicyRevisionIdException | LimitExceededException | MalformedPolicyDocumentException | ProvisionedThroughputExceededException | ResourceAlreadyExistsException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; recognizeCelebrities( input: RecognizeCelebritiesRequest, ): Effect.Effect< RecognizeCelebritiesResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; searchFaces( input: SearchFacesRequest, ): Effect.Effect< SearchFacesResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchFacesByImage( input: SearchFacesByImageRequest, ): Effect.Effect< SearchFacesByImageResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchUsers( input: SearchUsersRequest, ): Effect.Effect< SearchUsersResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; searchUsersByImage( input: SearchUsersByImageRequest, ): Effect.Effect< SearchUsersByImageResponse, - | AccessDeniedException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startCelebrityRecognition( input: StartCelebrityRecognitionRequest, ): Effect.Effect< StartCelebrityRecognitionResponse, - | AccessDeniedException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | VideoTooLargeException - | CommonAwsError + AccessDeniedException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | VideoTooLargeException | CommonAwsError >; startContentModeration( input: StartContentModerationRequest, ): Effect.Effect< StartContentModerationResponse, - | AccessDeniedException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | VideoTooLargeException - | CommonAwsError + AccessDeniedException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | VideoTooLargeException | CommonAwsError >; startFaceDetection( input: StartFaceDetectionRequest, ): Effect.Effect< StartFaceDetectionResponse, - | AccessDeniedException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | VideoTooLargeException - | CommonAwsError + AccessDeniedException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | VideoTooLargeException | CommonAwsError >; startFaceSearch( input: StartFaceSearchRequest, ): Effect.Effect< StartFaceSearchResponse, - | AccessDeniedException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | VideoTooLargeException - | CommonAwsError + AccessDeniedException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | VideoTooLargeException | CommonAwsError >; startLabelDetection( input: StartLabelDetectionRequest, ): Effect.Effect< StartLabelDetectionResponse, - | AccessDeniedException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | VideoTooLargeException - | CommonAwsError + AccessDeniedException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | VideoTooLargeException | CommonAwsError >; startMediaAnalysisJob( input: StartMediaAnalysisJobRequest, ): Effect.Effect< StartMediaAnalysisJobResponse, - | AccessDeniedException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidManifestException - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ResourceNotReadyException - | ThrottlingException - | CommonAwsError + AccessDeniedException | IdempotentParameterMismatchException | InternalServerError | InvalidManifestException | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ResourceNotFoundException | ResourceNotReadyException | ThrottlingException | CommonAwsError >; startPersonTracking( input: StartPersonTrackingRequest, ): Effect.Effect< StartPersonTrackingResponse, - | AccessDeniedException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | VideoTooLargeException - | CommonAwsError + AccessDeniedException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | VideoTooLargeException | CommonAwsError >; startProjectVersion( input: StartProjectVersionRequest, ): Effect.Effect< StartProjectVersionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | LimitExceededException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startSegmentDetection( input: StartSegmentDetectionRequest, ): Effect.Effect< StartSegmentDetectionResponse, - | AccessDeniedException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | VideoTooLargeException - | CommonAwsError + AccessDeniedException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | VideoTooLargeException | CommonAwsError >; startStreamProcessor( input: StartStreamProcessorRequest, ): Effect.Effect< StartStreamProcessorResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; startTextDetection( input: StartTextDetectionRequest, ): Effect.Effect< StartTextDetectionResponse, - | AccessDeniedException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | VideoTooLargeException - | CommonAwsError + AccessDeniedException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | VideoTooLargeException | CommonAwsError >; stopProjectVersion( input: StopProjectVersionRequest, ): Effect.Effect< StopProjectVersionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; stopStreamProcessor( input: StopStreamProcessorRequest, ): Effect.Effect< StopStreamProcessorResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDatasetEntries( input: UpdateDatasetEntriesRequest, ): Effect.Effect< UpdateDatasetEntriesResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | LimitExceededException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateStreamProcessor( input: UpdateStreamProcessorRequest, ): Effect.Effect< UpdateStreamProcessorResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -1094,21 +487,7 @@ export interface AssociateFacesResponse { UnsuccessfulFaceAssociations?: Array; UserStatus?: UserStatus; } -export type Attribute = - | "DEFAULT" - | "ALL" - | "AGE_RANGE" - | "BEARD" - | "EMOTIONS" - | "EYE_DIRECTION" - | "EYEGLASSES" - | "EYES_OPEN" - | "GENDER" - | "MOUTH_OPEN" - | "MUSTACHE" - | "FACE_OCCLUDED" - | "SMILE" - | "SUNGLASSES"; +export type Attribute = "DEFAULT" | "ALL" | "AGE_RANGE" | "BEARD" | "EMOTIONS" | "EYE_DIRECTION" | "EYEGLASSES" | "EYES_OPEN" | "GENDER" | "MOUTH_OPEN" | "MUSTACHE" | "FACE_OCCLUDED" | "SMILE" | "SUNGLASSES"; export type Attributes = Array; export interface AudioMetadata { Codec?: string; @@ -1180,9 +559,7 @@ export interface ChallengePreference { Versions?: Versions; } export type ChallengePreferences = Array; -export type ChallengeType = - | "FaceMovementAndLightChallenge" - | "FaceMovementChallenge"; +export type ChallengeType = "FaceMovementAndLightChallenge" | "FaceMovementChallenge"; export type ClientRequestToken = string; export type CollectionId = string; @@ -1239,9 +616,7 @@ export interface ConnectedHomeSettingsForUpdate { Labels?: Array; MinConfidence?: number; } -export type ContentClassifier = - | "FreeOfPersonallyIdentifiableInformation" - | "FreeOfAdultContent"; +export type ContentClassifier = "FreeOfPersonallyIdentifiableInformation" | "FreeOfAdultContent"; export type ContentClassifiers = Array; export type ContentModerationAggregateBy = "TIMESTAMPS" | "SEGMENTS"; export interface ContentModerationDetection { @@ -1349,7 +724,8 @@ export interface CreateUserRequest { UserId: string; ClientRequestToken?: string; } -export interface CreateUserResponse {} +export interface CreateUserResponse { +} export type CustomizationFeature = "CONTENT_MODERATION" | "CUSTOM_LABELS"; export interface CustomizationFeatureConfig { ContentModeration?: CustomizationFeatureContentModerationConfig; @@ -1411,18 +787,8 @@ export interface DatasetStats { TotalLabels?: number; ErrorEntries?: number; } -export type DatasetStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_COMPLETE" - | "CREATE_FAILED" - | "UPDATE_IN_PROGRESS" - | "UPDATE_COMPLETE" - | "UPDATE_FAILED" - | "DELETE_IN_PROGRESS"; -export type DatasetStatusMessageCode = - | "SUCCESS" - | "SERVICE_ERROR" - | "CLIENT_ERROR"; +export type DatasetStatus = "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "DELETE_IN_PROGRESS"; +export type DatasetStatusMessageCode = "SUCCESS" | "SERVICE_ERROR" | "CLIENT_ERROR"; export type DatasetType = "TRAIN" | "TEST"; export type DateTime = Date | string; @@ -1437,7 +803,8 @@ export interface DeleteCollectionResponse { export interface DeleteDatasetRequest { DatasetArn: string; } -export interface DeleteDatasetResponse {} +export interface DeleteDatasetResponse { +} export interface DeleteFacesRequest { CollectionId: string; FaceIds: Array; @@ -1451,7 +818,8 @@ export interface DeleteProjectPolicyRequest { PolicyName: string; PolicyRevisionId?: string; } -export interface DeleteProjectPolicyResponse {} +export interface DeleteProjectPolicyResponse { +} export interface DeleteProjectRequest { ProjectArn: string; } @@ -1467,13 +835,15 @@ export interface DeleteProjectVersionResponse { export interface DeleteStreamProcessorRequest { Name: string; } -export interface DeleteStreamProcessorResponse {} +export interface DeleteStreamProcessorResponse { +} export interface DeleteUserRequest { CollectionId: string; UserId: string; ClientRequestToken?: string; } -export interface DeleteUserResponse {} +export interface DeleteUserResponse { +} export interface DescribeCollectionRequest { CollectionId: string; } @@ -1649,7 +1019,8 @@ export interface DistributeDataset { export interface DistributeDatasetEntriesRequest { Datasets: Array; } -export interface DistributeDatasetEntriesResponse {} +export interface DistributeDatasetEntriesResponse { +} export type DistributeDatasetMetadataList = Array; export interface DominantColor { Red?: number; @@ -1665,16 +1036,7 @@ export interface Emotion { Type?: EmotionName; Confidence?: number; } -export type EmotionName = - | "HAPPY" - | "SAD" - | "ANGRY" - | "CONFUSED" - | "DISGUSTED" - | "SURPRISED" - | "CALM" - | "UNKNOWN" - | "FEAR"; +export type EmotionName = "HAPPY" | "SAD" | "ANGRY" | "CONFUSED" | "DISGUSTED" | "SURPRISED" | "CALM" | "UNKNOWN" | "FEAR"; export type Emotions = Array; export interface EquipmentDetection { BoundingBox?: BoundingBox; @@ -2165,37 +1527,7 @@ export interface Landmark { Y?: number; } export type Landmarks = Array; -export type LandmarkType = - | "eyeLeft" - | "eyeRight" - | "nose" - | "mouthLeft" - | "mouthRight" - | "leftEyeBrowLeft" - | "leftEyeBrowRight" - | "leftEyeBrowUp" - | "rightEyeBrowLeft" - | "rightEyeBrowRight" - | "rightEyeBrowUp" - | "leftEyeLeft" - | "leftEyeRight" - | "leftEyeUp" - | "leftEyeDown" - | "rightEyeLeft" - | "rightEyeRight" - | "rightEyeUp" - | "rightEyeDown" - | "noseLeft" - | "noseRight" - | "mouthUp" - | "mouthDown" - | "leftPupil" - | "rightPupil" - | "upperJawlineLeft" - | "midJawlineLeft" - | "chinBottom" - | "midJawlineRight" - | "upperJawlineRight"; +export type LandmarkType = "eyeLeft" | "eyeRight" | "nose" | "mouthLeft" | "mouthRight" | "leftEyeBrowLeft" | "leftEyeBrowRight" | "leftEyeBrowUp" | "rightEyeBrowLeft" | "rightEyeBrowRight" | "rightEyeBrowUp" | "leftEyeLeft" | "leftEyeRight" | "leftEyeUp" | "leftEyeDown" | "rightEyeLeft" | "rightEyeRight" | "rightEyeUp" | "rightEyeDown" | "noseLeft" | "noseRight" | "mouthUp" | "mouthDown" | "leftPupil" | "rightPupil" | "upperJawlineLeft" | "midJawlineLeft" | "chinBottom" | "midJawlineRight" | "upperJawlineRight"; export declare class LimitExceededException extends EffectData.TaggedError( "LimitExceededException", )<{ @@ -2304,12 +1636,7 @@ export type LivenessS3KeyPrefix = string; export type LivenessSessionId = string; -export type LivenessSessionStatus = - | "CREATED" - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED" - | "EXPIRED"; +export type LivenessSessionStatus = "CREATED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "EXPIRED"; export declare class MalformedPolicyDocumentException extends EffectData.TaggedError( "MalformedPolicyDocumentException", )<{ @@ -2355,16 +1682,7 @@ export interface MediaAnalysisJobDescription { ManifestSummary?: MediaAnalysisManifestSummary; } export type MediaAnalysisJobDescriptions = Array; -export type MediaAnalysisJobFailureCode = - | "INTERNAL_ERROR" - | "INVALID_S3_OBJECT" - | "INVALID_MANIFEST" - | "INVALID_OUTPUT_CONFIG" - | "INVALID_KMS_KEY" - | "ACCESS_DENIED" - | "RESOURCE_NOT_FOUND" - | "RESOURCE_NOT_READY" - | "THROTTLED"; +export type MediaAnalysisJobFailureCode = "INTERNAL_ERROR" | "INVALID_S3_OBJECT" | "INVALID_MANIFEST" | "INVALID_OUTPUT_CONFIG" | "INVALID_KMS_KEY" | "ACCESS_DENIED" | "RESOURCE_NOT_FOUND" | "RESOURCE_NOT_READY" | "THROTTLED"; export interface MediaAnalysisJobFailureDetails { Code?: MediaAnalysisJobFailureCode; Message?: string; @@ -2373,12 +1691,7 @@ export type MediaAnalysisJobId = string; export type MediaAnalysisJobName = string; -export type MediaAnalysisJobStatus = - | "CREATED" - | "QUEUED" - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED"; +export type MediaAnalysisJobStatus = "CREATED" | "QUEUED" | "IN_PROGRESS" | "SUCCEEDED" | "FAILED"; export interface MediaAnalysisManifestSummary { S3Object?: S3Object; } @@ -2419,11 +1732,7 @@ export interface NotificationChannel { SNSTopicArn: string; RoleArn: string; } -export type OrientationCorrection = - | "ROTATE_0" - | "ROTATE_90" - | "ROTATE_180" - | "ROTATE_270"; +export type OrientationCorrection = "ROTATE_0" | "ROTATE_90" | "ROTATE_180" | "ROTATE_270"; export interface OutputConfig { S3Bucket?: string; S3KeyPrefix?: string; @@ -2528,21 +1837,7 @@ export type ProjectVersionId = string; export type ProjectVersionsPageSize = number; -export type ProjectVersionStatus = - | "TRAINING_IN_PROGRESS" - | "TRAINING_COMPLETED" - | "TRAINING_FAILED" - | "STARTING" - | "RUNNING" - | "FAILED" - | "STOPPING" - | "STOPPED" - | "DELETING" - | "COPYING_IN_PROGRESS" - | "COPYING_COMPLETED" - | "COPYING_FAILED" - | "DEPRECATED" - | "EXPIRED"; +export type ProjectVersionStatus = "TRAINING_IN_PROGRESS" | "TRAINING_COMPLETED" | "TRAINING_FAILED" | "STARTING" | "RUNNING" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING" | "COPYING_IN_PROGRESS" | "COPYING_COMPLETED" | "COPYING_FAILED" | "DEPRECATED" | "EXPIRED"; export interface ProtectiveEquipmentBodyPart { Name?: BodyPart; Confidence?: number; @@ -2565,10 +1860,7 @@ export interface ProtectiveEquipmentSummary { PersonsWithoutRequiredEquipment?: Array; PersonsIndeterminate?: Array; } -export type ProtectiveEquipmentType = - | "FACE_COVER" - | "HAND_COVER" - | "HEAD_COVER"; +export type ProtectiveEquipmentType = "FACE_COVER" | "HAND_COVER" | "HEAD_COVER"; export type ProtectiveEquipmentTypes = Array; export declare class ProvisionedThroughputExceededException extends EffectData.TaggedError( "ProvisionedThroughputExceededException", @@ -2589,14 +1881,7 @@ export interface PutProjectPolicyResponse { export type QualityFilter = "NONE" | "AUTO" | "LOW" | "MEDIUM" | "HIGH"; export type QueryString = string; -export type Reason = - | "EXCEEDS_MAX_FACES" - | "EXTREME_POSE" - | "LOW_BRIGHTNESS" - | "LOW_SHARPNESS" - | "LOW_CONFIDENCE" - | "SMALL_BOUNDING_BOX" - | "LOW_FACE_QUALITY"; +export type Reason = "EXCEEDS_MAX_FACES" | "EXTREME_POSE" | "LOW_BRIGHTNESS" | "LOW_SHARPNESS" | "LOW_CONFIDENCE" | "SMALL_BOUNDING_BOX" | "LOW_FACE_QUALITY"; export type Reasons = Array; export interface RecognizeCelebritiesRequest { Image: Image; @@ -2906,7 +2191,8 @@ export interface StopProjectVersionResponse { export interface StopStreamProcessorRequest { Name: string; } -export interface StopStreamProcessorResponse {} +export interface StopStreamProcessorResponse { +} export interface StreamProcessingStartSelector { KVSStreamStartSelector?: KinesisVideoStreamStartSelector; } @@ -2935,11 +2221,8 @@ export interface StreamProcessorOutput { KinesisDataStream?: KinesisDataStream; S3Destination?: S3Destination; } -export type StreamProcessorParametersToDelete = - Array; -export type StreamProcessorParameterToDelete = - | "ConnectedHomeMinConfidence" - | "RegionsOfInterest"; +export type StreamProcessorParametersToDelete = Array; +export type StreamProcessorParameterToDelete = "ConnectedHomeMinConfidence" | "RegionsOfInterest"; export interface StreamProcessorSettings { FaceSearch?: FaceSearchSettings; ConnectedHome?: ConnectedHomeSettings; @@ -2947,13 +2230,7 @@ export interface StreamProcessorSettings { export interface StreamProcessorSettingsForUpdate { ConnectedHomeForUpdate?: ConnectedHomeSettingsForUpdate; } -export type StreamProcessorStatus = - | "STOPPED" - | "STARTING" - | "RUNNING" - | "FAILED" - | "STOPPING" - | "UPDATING"; +export type StreamProcessorStatus = "STOPPED" | "STARTING" | "RUNNING" | "FAILED" | "STOPPING" | "UPDATING"; export type RekognitionString = string; export interface Summary { @@ -2963,8 +2240,7 @@ export interface Sunglasses { Value?: boolean; Confidence?: number; } -export type SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = - string; +export type SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = string; export type TagKey = string; @@ -2974,21 +2250,15 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TechnicalCueSegment { Type?: TechnicalCueType; Confidence?: number; } -export type TechnicalCueType = - | "ColorBars" - | "EndCredits" - | "BlackFrames" - | "OpeningCredits" - | "StudioLogo" - | "Slate" - | "Content"; +export type TechnicalCueType = "ColorBars" | "EndCredits" | "BlackFrames" | "OpeningCredits" | "StudioLogo" | "Slate" | "Content"; export interface TestingData { Assets?: Array; AutoCreate?: boolean; @@ -3045,15 +2315,7 @@ export interface UnsearchedFace { FaceDetails?: FaceDetail; Reasons?: Array; } -export type UnsearchedFaceReason = - | "FACE_NOT_LARGEST" - | "EXCEEDS_MAX_FACES" - | "EXTREME_POSE" - | "LOW_BRIGHTNESS" - | "LOW_SHARPNESS" - | "LOW_CONFIDENCE" - | "SMALL_BOUNDING_BOX" - | "LOW_FACE_QUALITY"; +export type UnsearchedFaceReason = "FACE_NOT_LARGEST" | "EXCEEDS_MAX_FACES" | "EXTREME_POSE" | "LOW_BRIGHTNESS" | "LOW_SHARPNESS" | "LOW_CONFIDENCE" | "SMALL_BOUNDING_BOX" | "LOW_FACE_QUALITY"; export type UnsearchedFaceReasons = Array; export type UnsearchedFacesList = Array; export interface UnsuccessfulFaceAssociation { @@ -3062,47 +2324,37 @@ export interface UnsuccessfulFaceAssociation { Confidence?: number; Reasons?: Array; } -export type UnsuccessfulFaceAssociationList = - Array; -export type UnsuccessfulFaceAssociationReason = - | "FACE_NOT_FOUND" - | "ASSOCIATED_TO_A_DIFFERENT_USER" - | "LOW_MATCH_CONFIDENCE"; -export type UnsuccessfulFaceAssociationReasons = - Array; +export type UnsuccessfulFaceAssociationList = Array; +export type UnsuccessfulFaceAssociationReason = "FACE_NOT_FOUND" | "ASSOCIATED_TO_A_DIFFERENT_USER" | "LOW_MATCH_CONFIDENCE"; +export type UnsuccessfulFaceAssociationReasons = Array; export interface UnsuccessfulFaceDeletion { FaceId?: string; UserId?: string; Reasons?: Array; } -export type UnsuccessfulFaceDeletionReason = - | "ASSOCIATED_TO_AN_EXISTING_USER" - | "FACE_NOT_FOUND"; -export type UnsuccessfulFaceDeletionReasons = - Array; +export type UnsuccessfulFaceDeletionReason = "ASSOCIATED_TO_AN_EXISTING_USER" | "FACE_NOT_FOUND"; +export type UnsuccessfulFaceDeletionReasons = Array; export type UnsuccessfulFaceDeletionsList = Array; export interface UnsuccessfulFaceDisassociation { FaceId?: string; UserId?: string; Reasons?: Array; } -export type UnsuccessfulFaceDisassociationList = - Array; -export type UnsuccessfulFaceDisassociationReason = - | "FACE_NOT_FOUND" - | "ASSOCIATED_TO_A_DIFFERENT_USER"; -export type UnsuccessfulFaceDisassociationReasons = - Array; +export type UnsuccessfulFaceDisassociationList = Array; +export type UnsuccessfulFaceDisassociationReason = "FACE_NOT_FOUND" | "ASSOCIATED_TO_A_DIFFERENT_USER"; +export type UnsuccessfulFaceDisassociationReasons = Array; export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDatasetEntriesRequest { DatasetArn: string; Changes: DatasetChanges; } -export interface UpdateDatasetEntriesResponse {} +export interface UpdateDatasetEntriesResponse { +} export interface UpdateStreamProcessorRequest { Name: string; SettingsForUpdate?: StreamProcessorSettingsForUpdate; @@ -3110,7 +2362,8 @@ export interface UpdateStreamProcessorRequest { DataSharingPreferenceForUpdate?: StreamProcessorDataSharingPreference; ParametersToDelete?: Array; } -export interface UpdateStreamProcessorResponse {} +export interface UpdateStreamProcessorResponse { +} export type Url = string; export type Urls = Array; @@ -4263,28 +3516,5 @@ export declare namespace UpdateStreamProcessor { | CommonAwsError; } -export type RekognitionErrors = - | AccessDeniedException - | ConflictException - | HumanLoopQuotaExceededException - | IdempotentParameterMismatchException - | ImageTooLargeException - | InternalServerError - | InvalidImageFormatException - | InvalidManifestException - | InvalidPaginationTokenException - | InvalidParameterException - | InvalidPolicyRevisionIdException - | InvalidS3ObjectException - | LimitExceededException - | MalformedPolicyDocumentException - | ProvisionedThroughputExceededException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | ResourceNotReadyException - | ServiceQuotaExceededException - | SessionNotFoundException - | ThrottlingException - | VideoTooLargeException - | CommonAwsError; +export type RekognitionErrors = AccessDeniedException | ConflictException | HumanLoopQuotaExceededException | IdempotentParameterMismatchException | ImageTooLargeException | InternalServerError | InvalidImageFormatException | InvalidManifestException | InvalidPaginationTokenException | InvalidParameterException | InvalidPolicyRevisionIdException | InvalidS3ObjectException | LimitExceededException | MalformedPolicyDocumentException | ProvisionedThroughputExceededException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | ResourceNotReadyException | ServiceQuotaExceededException | SessionNotFoundException | ThrottlingException | VideoTooLargeException | CommonAwsError; + diff --git a/src/services/repostspace/index.ts b/src/services/repostspace/index.ts index 05275610..b0fa0418 100644 --- a/src/services/repostspace/index.ts +++ b/src/services/repostspace/index.ts @@ -5,23 +5,7 @@ import type { repostspace as _repostspaceClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,27 +14,29 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "repostspace", operations: { - BatchAddChannelRoleToAccessors: - "POST /spaces/{spaceId}/channels/{channelId}/roles", - BatchAddRole: "POST /spaces/{spaceId}/roles", - BatchRemoveChannelRoleFromAccessors: - "PATCH /spaces/{spaceId}/channels/{channelId}/roles", - BatchRemoveRole: "PATCH /spaces/{spaceId}/roles", - CreateChannel: "POST /spaces/{spaceId}/channels", - CreateSpace: "POST /spaces", - DeleteSpace: "DELETE /spaces/{spaceId}", - DeregisterAdmin: "DELETE /spaces/{spaceId}/admins/{adminId}", - GetChannel: "GET /spaces/{spaceId}/channels/{channelId}", - GetSpace: "GET /spaces/{spaceId}", - ListChannels: "GET /spaces/{spaceId}/channels", - ListSpaces: "GET /spaces", - ListTagsForResource: "GET /tags/{resourceArn}", - RegisterAdmin: "POST /spaces/{spaceId}/admins/{adminId}", - SendInvites: "POST /spaces/{spaceId}/invite", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateChannel: "PUT /spaces/{spaceId}/channels/{channelId}", - UpdateSpace: "PUT /spaces/{spaceId}", + "BatchAddChannelRoleToAccessors": "POST /spaces/{spaceId}/channels/{channelId}/roles", + "BatchAddRole": "POST /spaces/{spaceId}/roles", + "BatchRemoveChannelRoleFromAccessors": "PATCH /spaces/{spaceId}/channels/{channelId}/roles", + "BatchRemoveRole": "PATCH /spaces/{spaceId}/roles", + "CreateChannel": "POST /spaces/{spaceId}/channels", + "CreateSpace": "POST /spaces", + "DeleteSpace": "DELETE /spaces/{spaceId}", + "DeregisterAdmin": "DELETE /spaces/{spaceId}/admins/{adminId}", + "GetChannel": "GET /spaces/{spaceId}/channels/{channelId}", + "GetSpace": "GET /spaces/{spaceId}", + "ListChannels": "GET /spaces/{spaceId}/channels", + "ListSpaces": "GET /spaces", + "ListTagsForResource": "GET /tags/{resourceArn}", + "RegisterAdmin": "POST /spaces/{spaceId}/admins/{adminId}", + "SendInvites": "POST /spaces/{spaceId}/invite", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateChannel": "PUT /spaces/{spaceId}/channels/{channelId}", + "UpdateSpace": "PUT /spaces/{spaceId}", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/repostspace/types.ts b/src/services/repostspace/types.ts index 9ace8d54..4743924a 100644 --- a/src/services/repostspace/types.ts +++ b/src/services/repostspace/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class repostspace extends AWSServiceClient { @@ -40,214 +8,115 @@ export declare class repostspace extends AWSServiceClient { input: BatchAddChannelRoleToAccessorsInput, ): Effect.Effect< BatchAddChannelRoleToAccessorsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchAddRole( input: BatchAddRoleInput, ): Effect.Effect< BatchAddRoleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchRemoveChannelRoleFromAccessors( input: BatchRemoveChannelRoleFromAccessorsInput, ): Effect.Effect< BatchRemoveChannelRoleFromAccessorsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchRemoveRole( input: BatchRemoveRoleInput, ): Effect.Effect< BatchRemoveRoleOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createChannel( input: CreateChannelInput, ): Effect.Effect< CreateChannelOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSpace( input: CreateSpaceInput, ): Effect.Effect< CreateSpaceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteSpace( input: DeleteSpaceInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deregisterAdmin( input: DeregisterAdminInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getChannel( input: GetChannelInput, ): Effect.Effect< GetChannelOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSpace( input: GetSpaceInput, ): Effect.Effect< GetSpaceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listChannels( input: ListChannelsInput, ): Effect.Effect< ListChannelsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSpaces( input: ListSpacesInput, ): Effect.Effect< ListSpacesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; registerAdmin( input: RegisterAdminInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; sendInvites( input: SendInvitesInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateChannel( input: UpdateChannelInput, ): Effect.Effect< UpdateChannelOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSpace( input: UpdateSpaceInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -331,13 +200,7 @@ export type ChannelRole = "ASKER" | "EXPERT" | "MODERATOR" | "SUPPORTREQUESTOR"; export type ChannelRoleList = Array; export type ChannelRoles = Record>; export type ChannelsList = Array; -export type ChannelStatus = - | "CREATED" - | "CREATING" - | "CREATE_FAILED" - | "DELETED" - | "DELETING" - | "DELETE_FAILED"; +export type ChannelStatus = "CREATED" | "CREATING" | "CREATE_FAILED" | "DELETED" | "DELETING" | "DELETE_FAILED"; export type ClientId = string; export type ConfigurationStatus = "CONFIGURED" | "UNCONFIGURED"; @@ -486,11 +349,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( readonly resourceId: string; readonly resourceType: string; }> {} -export type Role = - | "EXPERT" - | "MODERATOR" - | "ADMINISTRATOR" - | "SUPPORTREQUESTOR"; +export type Role = "EXPERT" | "MODERATOR" | "ADMINISTRATOR" | "SUPPORTREQUESTOR"; export type RoleList = Array; export type Roles = Record>; export interface SendInvitesInput { @@ -553,7 +412,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -570,14 +430,16 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateChannelInput { spaceId: string; channelId: string; channelName: string; channelDescription?: string; } -export interface UpdateChannelOutput {} +export interface UpdateChannelOutput { +} export interface UpdateSpaceInput { spaceId: string; description?: string; @@ -602,11 +464,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export type VanityDomainStatus = "PENDING" | "APPROVED" | "UNAPPROVED"; export declare namespace BatchAddChannelRoleToAccessors { export type Input = BatchAddChannelRoleToAccessorsInput; @@ -840,12 +698,5 @@ export declare namespace UpdateSpace { | CommonAwsError; } -export type repostspaceErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type repostspaceErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/resiliencehub/index.ts b/src/services/resiliencehub/index.ts index c135c14a..919449a1 100644 --- a/src/services/resiliencehub/index.ts +++ b/src/services/resiliencehub/index.ts @@ -5,23 +5,7 @@ import type { resiliencehub as _resiliencehubClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,82 +15,69 @@ const metadata = { sigV4ServiceName: "resiliencehub", endpointPrefix: "resiliencehub", operations: { - AcceptResourceGroupingRecommendations: - "POST /accept-resource-grouping-recommendations", - AddDraftAppVersionResourceMappings: - "POST /add-draft-app-version-resource-mappings", - BatchUpdateRecommendationStatus: "POST /batch-update-recommendation-status", - CreateApp: "POST /create-app", - CreateAppVersionAppComponent: "POST /create-app-version-app-component", - CreateAppVersionResource: "POST /create-app-version-resource", - CreateRecommendationTemplate: "POST /create-recommendation-template", - CreateResiliencyPolicy: "POST /create-resiliency-policy", - DeleteApp: "POST /delete-app", - DeleteAppAssessment: "POST /delete-app-assessment", - DeleteAppInputSource: "POST /delete-app-input-source", - DeleteAppVersionAppComponent: "POST /delete-app-version-app-component", - DeleteAppVersionResource: "POST /delete-app-version-resource", - DeleteRecommendationTemplate: "POST /delete-recommendation-template", - DeleteResiliencyPolicy: "POST /delete-resiliency-policy", - DescribeApp: "POST /describe-app", - DescribeAppAssessment: "POST /describe-app-assessment", - DescribeAppVersion: "POST /describe-app-version", - DescribeAppVersionAppComponent: "POST /describe-app-version-app-component", - DescribeAppVersionResource: "POST /describe-app-version-resource", - DescribeAppVersionResourcesResolutionStatus: - "POST /describe-app-version-resources-resolution-status", - DescribeAppVersionTemplate: "POST /describe-app-version-template", - DescribeDraftAppVersionResourcesImportStatus: - "POST /describe-draft-app-version-resources-import-status", - DescribeMetricsExport: "POST /describe-metrics-export", - DescribeResiliencyPolicy: "POST /describe-resiliency-policy", - DescribeResourceGroupingRecommendationTask: - "POST /describe-resource-grouping-recommendation-task", - ImportResourcesToDraftAppVersion: - "POST /import-resources-to-draft-app-version", - ListAlarmRecommendations: "POST /list-alarm-recommendations", - ListAppAssessmentComplianceDrifts: - "POST /list-app-assessment-compliance-drifts", - ListAppAssessmentResourceDrifts: - "POST /list-app-assessment-resource-drifts", - ListAppAssessments: "GET /list-app-assessments", - ListAppComponentCompliances: "POST /list-app-component-compliances", - ListAppComponentRecommendations: "POST /list-app-component-recommendations", - ListAppInputSources: "POST /list-app-input-sources", - ListApps: "GET /list-apps", - ListAppVersionAppComponents: "POST /list-app-version-app-components", - ListAppVersionResourceMappings: "POST /list-app-version-resource-mappings", - ListAppVersionResources: "POST /list-app-version-resources", - ListAppVersions: "POST /list-app-versions", - ListMetrics: "POST /list-metrics", - ListRecommendationTemplates: "GET /list-recommendation-templates", - ListResiliencyPolicies: "GET /list-resiliency-policies", - ListResourceGroupingRecommendations: - "GET /list-resource-grouping-recommendations", - ListSopRecommendations: "POST /list-sop-recommendations", - ListSuggestedResiliencyPolicies: "GET /list-suggested-resiliency-policies", - ListTagsForResource: "GET /tags/{resourceArn}", - ListTestRecommendations: "POST /list-test-recommendations", - ListUnsupportedAppVersionResources: - "POST /list-unsupported-app-version-resources", - PublishAppVersion: "POST /publish-app-version", - PutDraftAppVersionTemplate: "POST /put-draft-app-version-template", - RejectResourceGroupingRecommendations: - "POST /reject-resource-grouping-recommendations", - RemoveDraftAppVersionResourceMappings: - "POST /remove-draft-app-version-resource-mappings", - ResolveAppVersionResources: "POST /resolve-app-version-resources", - StartAppAssessment: "POST /start-app-assessment", - StartMetricsExport: "POST /start-metrics-export", - StartResourceGroupingRecommendationTask: - "POST /start-resource-grouping-recommendation-task", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateApp: "POST /update-app", - UpdateAppVersion: "POST /update-app-version", - UpdateAppVersionAppComponent: "POST /update-app-version-app-component", - UpdateAppVersionResource: "POST /update-app-version-resource", - UpdateResiliencyPolicy: "POST /update-resiliency-policy", + "AcceptResourceGroupingRecommendations": "POST /accept-resource-grouping-recommendations", + "AddDraftAppVersionResourceMappings": "POST /add-draft-app-version-resource-mappings", + "BatchUpdateRecommendationStatus": "POST /batch-update-recommendation-status", + "CreateApp": "POST /create-app", + "CreateAppVersionAppComponent": "POST /create-app-version-app-component", + "CreateAppVersionResource": "POST /create-app-version-resource", + "CreateRecommendationTemplate": "POST /create-recommendation-template", + "CreateResiliencyPolicy": "POST /create-resiliency-policy", + "DeleteApp": "POST /delete-app", + "DeleteAppAssessment": "POST /delete-app-assessment", + "DeleteAppInputSource": "POST /delete-app-input-source", + "DeleteAppVersionAppComponent": "POST /delete-app-version-app-component", + "DeleteAppVersionResource": "POST /delete-app-version-resource", + "DeleteRecommendationTemplate": "POST /delete-recommendation-template", + "DeleteResiliencyPolicy": "POST /delete-resiliency-policy", + "DescribeApp": "POST /describe-app", + "DescribeAppAssessment": "POST /describe-app-assessment", + "DescribeAppVersion": "POST /describe-app-version", + "DescribeAppVersionAppComponent": "POST /describe-app-version-app-component", + "DescribeAppVersionResource": "POST /describe-app-version-resource", + "DescribeAppVersionResourcesResolutionStatus": "POST /describe-app-version-resources-resolution-status", + "DescribeAppVersionTemplate": "POST /describe-app-version-template", + "DescribeDraftAppVersionResourcesImportStatus": "POST /describe-draft-app-version-resources-import-status", + "DescribeMetricsExport": "POST /describe-metrics-export", + "DescribeResiliencyPolicy": "POST /describe-resiliency-policy", + "DescribeResourceGroupingRecommendationTask": "POST /describe-resource-grouping-recommendation-task", + "ImportResourcesToDraftAppVersion": "POST /import-resources-to-draft-app-version", + "ListAlarmRecommendations": "POST /list-alarm-recommendations", + "ListAppAssessmentComplianceDrifts": "POST /list-app-assessment-compliance-drifts", + "ListAppAssessmentResourceDrifts": "POST /list-app-assessment-resource-drifts", + "ListAppAssessments": "GET /list-app-assessments", + "ListAppComponentCompliances": "POST /list-app-component-compliances", + "ListAppComponentRecommendations": "POST /list-app-component-recommendations", + "ListAppInputSources": "POST /list-app-input-sources", + "ListApps": "GET /list-apps", + "ListAppVersionAppComponents": "POST /list-app-version-app-components", + "ListAppVersionResourceMappings": "POST /list-app-version-resource-mappings", + "ListAppVersionResources": "POST /list-app-version-resources", + "ListAppVersions": "POST /list-app-versions", + "ListMetrics": "POST /list-metrics", + "ListRecommendationTemplates": "GET /list-recommendation-templates", + "ListResiliencyPolicies": "GET /list-resiliency-policies", + "ListResourceGroupingRecommendations": "GET /list-resource-grouping-recommendations", + "ListSopRecommendations": "POST /list-sop-recommendations", + "ListSuggestedResiliencyPolicies": "GET /list-suggested-resiliency-policies", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListTestRecommendations": "POST /list-test-recommendations", + "ListUnsupportedAppVersionResources": "POST /list-unsupported-app-version-resources", + "PublishAppVersion": "POST /publish-app-version", + "PutDraftAppVersionTemplate": "POST /put-draft-app-version-template", + "RejectResourceGroupingRecommendations": "POST /reject-resource-grouping-recommendations", + "RemoveDraftAppVersionResourceMappings": "POST /remove-draft-app-version-resource-mappings", + "ResolveAppVersionResources": "POST /resolve-app-version-resources", + "StartAppAssessment": "POST /start-app-assessment", + "StartMetricsExport": "POST /start-metrics-export", + "StartResourceGroupingRecommendationTask": "POST /start-resource-grouping-recommendation-task", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateApp": "POST /update-app", + "UpdateAppVersion": "POST /update-app-version", + "UpdateAppVersionAppComponent": "POST /update-app-version-app-component", + "UpdateAppVersionResource": "POST /update-app-version-resource", + "UpdateResiliencyPolicy": "POST /update-resiliency-policy", }, } as const satisfies ServiceMetadata; diff --git a/src/services/resiliencehub/types.ts b/src/services/resiliencehub/types.ts index 36c20e49..507a08b6 100644 --- a/src/services/resiliencehub/types.ts +++ b/src/services/resiliencehub/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class resiliencehub extends AWSServiceClient { @@ -40,734 +8,385 @@ export declare class resiliencehub extends AWSServiceClient { input: AcceptResourceGroupingRecommendationsRequest, ): Effect.Effect< AcceptResourceGroupingRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; addDraftAppVersionResourceMappings( input: AddDraftAppVersionResourceMappingsRequest, ): Effect.Effect< AddDraftAppVersionResourceMappingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchUpdateRecommendationStatus( input: BatchUpdateRecommendationStatusRequest, ): Effect.Effect< BatchUpdateRecommendationStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createApp( input: CreateAppRequest, ): Effect.Effect< CreateAppResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAppVersionAppComponent( input: CreateAppVersionAppComponentRequest, ): Effect.Effect< CreateAppVersionAppComponentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAppVersionResource( input: CreateAppVersionResourceRequest, ): Effect.Effect< CreateAppVersionResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRecommendationTemplate( input: CreateRecommendationTemplateRequest, ): Effect.Effect< CreateRecommendationTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createResiliencyPolicy( input: CreateResiliencyPolicyRequest, ): Effect.Effect< CreateResiliencyPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteApp( input: DeleteAppRequest, ): Effect.Effect< DeleteAppResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAppAssessment( input: DeleteAppAssessmentRequest, ): Effect.Effect< DeleteAppAssessmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAppInputSource( input: DeleteAppInputSourceRequest, ): Effect.Effect< DeleteAppInputSourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAppVersionAppComponent( input: DeleteAppVersionAppComponentRequest, ): Effect.Effect< DeleteAppVersionAppComponentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAppVersionResource( input: DeleteAppVersionResourceRequest, ): Effect.Effect< DeleteAppVersionResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRecommendationTemplate( input: DeleteRecommendationTemplateRequest, ): Effect.Effect< DeleteRecommendationTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResiliencyPolicy( input: DeleteResiliencyPolicyRequest, ): Effect.Effect< DeleteResiliencyPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeApp( input: DescribeAppRequest, ): Effect.Effect< DescribeAppResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAppAssessment( input: DescribeAppAssessmentRequest, ): Effect.Effect< DescribeAppAssessmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAppVersion( input: DescribeAppVersionRequest, ): Effect.Effect< DescribeAppVersionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAppVersionAppComponent( input: DescribeAppVersionAppComponentRequest, ): Effect.Effect< DescribeAppVersionAppComponentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAppVersionResource( input: DescribeAppVersionResourceRequest, ): Effect.Effect< DescribeAppVersionResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAppVersionResourcesResolutionStatus( input: DescribeAppVersionResourcesResolutionStatusRequest, ): Effect.Effect< DescribeAppVersionResourcesResolutionStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAppVersionTemplate( input: DescribeAppVersionTemplateRequest, ): Effect.Effect< DescribeAppVersionTemplateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeDraftAppVersionResourcesImportStatus( input: DescribeDraftAppVersionResourcesImportStatusRequest, ): Effect.Effect< DescribeDraftAppVersionResourcesImportStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeMetricsExport( input: DescribeMetricsExportRequest, ): Effect.Effect< DescribeMetricsExportResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeResiliencyPolicy( input: DescribeResiliencyPolicyRequest, ): Effect.Effect< DescribeResiliencyPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeResourceGroupingRecommendationTask( input: DescribeResourceGroupingRecommendationTaskRequest, ): Effect.Effect< DescribeResourceGroupingRecommendationTaskResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; importResourcesToDraftAppVersion( input: ImportResourcesToDraftAppVersionRequest, ): Effect.Effect< ImportResourcesToDraftAppVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listAlarmRecommendations( input: ListAlarmRecommendationsRequest, ): Effect.Effect< ListAlarmRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppAssessmentComplianceDrifts( input: ListAppAssessmentComplianceDriftsRequest, ): Effect.Effect< ListAppAssessmentComplianceDriftsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listAppAssessmentResourceDrifts( input: ListAppAssessmentResourceDriftsRequest, ): Effect.Effect< ListAppAssessmentResourceDriftsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listAppAssessments( input: ListAppAssessmentsRequest, ): Effect.Effect< ListAppAssessmentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppComponentCompliances( input: ListAppComponentCompliancesRequest, ): Effect.Effect< ListAppComponentCompliancesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppComponentRecommendations( input: ListAppComponentRecommendationsRequest, ): Effect.Effect< ListAppComponentRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppInputSources( input: ListAppInputSourcesRequest, ): Effect.Effect< ListAppInputSourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApps( input: ListAppsRequest, ): Effect.Effect< ListAppsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listAppVersionAppComponents( input: ListAppVersionAppComponentsRequest, ): Effect.Effect< ListAppVersionAppComponentsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppVersionResourceMappings( input: ListAppVersionResourceMappingsRequest, ): Effect.Effect< ListAppVersionResourceMappingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppVersionResources( input: ListAppVersionResourcesRequest, ): Effect.Effect< ListAppVersionResourcesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppVersions( input: ListAppVersionsRequest, ): Effect.Effect< ListAppVersionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listMetrics( input: ListMetricsRequest, ): Effect.Effect< ListMetricsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRecommendationTemplates( input: ListRecommendationTemplatesRequest, ): Effect.Effect< ListRecommendationTemplatesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listResiliencyPolicies( input: ListResiliencyPoliciesRequest, ): Effect.Effect< ListResiliencyPoliciesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listResourceGroupingRecommendations( input: ListResourceGroupingRecommendationsRequest, ): Effect.Effect< ListResourceGroupingRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSopRecommendations( input: ListSopRecommendationsRequest, ): Effect.Effect< ListSopRecommendationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSuggestedResiliencyPolicies( input: ListSuggestedResiliencyPoliciesRequest, ): Effect.Effect< ListSuggestedResiliencyPoliciesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTestRecommendations( input: ListTestRecommendationsRequest, ): Effect.Effect< ListTestRecommendationsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listUnsupportedAppVersionResources( input: ListUnsupportedAppVersionResourcesRequest, ): Effect.Effect< ListUnsupportedAppVersionResourcesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; publishAppVersion( input: PublishAppVersionRequest, ): Effect.Effect< PublishAppVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putDraftAppVersionTemplate( input: PutDraftAppVersionTemplateRequest, ): Effect.Effect< PutDraftAppVersionTemplateResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; rejectResourceGroupingRecommendations( input: RejectResourceGroupingRecommendationsRequest, ): Effect.Effect< RejectResourceGroupingRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; removeDraftAppVersionResourceMappings( input: RemoveDraftAppVersionResourceMappingsRequest, ): Effect.Effect< RemoveDraftAppVersionResourceMappingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resolveAppVersionResources( input: ResolveAppVersionResourcesRequest, ): Effect.Effect< ResolveAppVersionResourcesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startAppAssessment( input: StartAppAssessmentRequest, ): Effect.Effect< StartAppAssessmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startMetricsExport( input: StartMetricsExportRequest, ): Effect.Effect< StartMetricsExportResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startResourceGroupingRecommendationTask( input: StartResourceGroupingRecommendationTaskRequest, ): Effect.Effect< StartResourceGroupingRecommendationTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateApp( input: UpdateAppRequest, ): Effect.Effect< UpdateAppResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAppVersion( input: UpdateAppVersionRequest, ): Effect.Effect< UpdateAppVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAppVersionAppComponent( input: UpdateAppVersionAppComponentRequest, ): Effect.Effect< UpdateAppVersionAppComponentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAppVersionResource( input: UpdateAppVersionResourceRequest, ): Effect.Effect< UpdateAppVersionResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateResiliencyPolicy( input: UpdateResiliencyPolicyRequest, ): Effect.Effect< UpdateResiliencyPolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } export declare class Resiliencehub extends resiliencehub {} -export type AcceptGroupingRecommendationEntries = - Array; +export type AcceptGroupingRecommendationEntries = Array; export interface AcceptGroupingRecommendationEntry { groupingRecommendationId: string; } @@ -874,13 +493,7 @@ export interface AppAssessmentSummary { driftStatus?: DriftStatus; } export type AppAssessmentSummaryList = Array; -export type AppComplianceStatusType = - | "PolicyBreached" - | "PolicyMet" - | "NotAssessed" - | "ChangesDetected" - | "NotApplicable" - | "MissingPolicy"; +export type AppComplianceStatusType = "PolicyBreached" | "PolicyMet" | "NotAssessed" | "ChangesDetected" | "NotApplicable" | "MissingPolicy"; export interface AppComponent { name: string; type: string; @@ -943,8 +556,7 @@ export interface AssessmentRiskRecommendation { recommendation?: string; appComponents?: Array; } -export type AssessmentRiskRecommendationList = - Array; +export type AssessmentRiskRecommendationList = Array; export type AssessmentStatus = "Pending" | "InProgress" | "Failed" | "Success"; export type AssessmentStatusList = Array; export interface AssessmentSummary { @@ -953,8 +565,7 @@ export interface AssessmentSummary { } export type AwsRegion = string; -export type BatchUpdateRecommendationStatusFailedEntries = - Array; +export type BatchUpdateRecommendationStatusFailedEntries = Array; export interface BatchUpdateRecommendationStatusFailedEntry { entryId: string; errorMessage: string; @@ -968,8 +579,7 @@ export interface BatchUpdateRecommendationStatusResponse { successfulEntries: Array; failedEntries: Array; } -export type BatchUpdateRecommendationStatusSuccessfulEntries = - Array; +export type BatchUpdateRecommendationStatusSuccessfulEntries = Array; export interface BatchUpdateRecommendationStatusSuccessfulEntry { entryId: string; referenceId: string; @@ -995,11 +605,7 @@ export interface ComplianceDrift { diffType?: DifferenceType; } export type ComplianceDriftList = Array; -export type ComplianceStatus = - | "PolicyBreached" - | "PolicyMet" - | "NotApplicable" - | "MissingPolicy"; +export type ComplianceStatus = "PolicyBreached" | "PolicyMet" | "NotApplicable" | "MissingPolicy"; export type ComponentCompliancesList = Array; export interface ComponentRecommendation { appComponentName: string; @@ -1013,13 +619,7 @@ export interface Condition { value?: string; } export type ConditionList = Array; -export type ConditionOperatorType = - | "Equals" - | "NotEquals" - | "GreaterThen" - | "GreaterOrEquals" - | "LessThen" - | "LessOrEquals"; +export type ConditionOperatorType = "Equals" | "NotEquals" | "GreaterThen" | "GreaterOrEquals" | "LessThen" | "LessOrEquals"; export interface ConfigRecommendation { cost?: Cost; appComponentName?: string; @@ -1033,13 +633,7 @@ export interface ConfigRecommendation { referenceId: string; } export type ConfigRecommendationList = Array; -export type ConfigRecommendationOptimizationType = - | "LeastCost" - | "LeastChange" - | "BestAZRecovery" - | "LeastErrors" - | "BestAttainable" - | "BestRegionRecovery"; +export type ConfigRecommendationOptimizationType = "LeastCost" | "LeastChange" | "BestAZRecovery" | "LeastErrors" | "BestAttainable" | "BestRegionRecovery"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -1126,10 +720,7 @@ export type CurrencyCode = string; export type CustomerId = string; -export type DataLocationConstraint = - | "AnyLocation" - | "SameContinent" - | "SameCountry"; +export type DataLocationConstraint = "AnyLocation" | "SameContinent" | "SameCountry"; export interface DeleteAppAssessmentRequest { assessmentArn: string; clientToken?: string; @@ -1318,9 +909,7 @@ export type DocumentName = string; export type Double = number; export type DriftStatus = "NotChecked" | "NotDetected" | "Detected"; -export type DriftType = - | "ApplicationCompliance" - | "AppComponentResiliencyComplianceStatus"; +export type DriftType = "ApplicationCompliance" | "AppComponentResiliencyComplianceStatus"; export type EksNamespace = string; export type EksNamespaceList = Array; @@ -1358,16 +947,12 @@ export interface EventSubscription { } export type EventSubscriptionList = Array; export type EventType = "ScheduledAssessmentFailure" | "DriftDetected"; -export type ExcludeRecommendationReason = - | "AlreadyImplemented" - | "NotRelevant" - | "ComplexityOfImplementation"; +export type ExcludeRecommendationReason = "AlreadyImplemented" | "NotRelevant" | "ComplexityOfImplementation"; export interface Experiment { experimentArn?: string; experimentTemplateId?: string; } -export type FailedGroupingRecommendationEntries = - Array; +export type FailedGroupingRecommendationEntries = Array; export interface FailedGroupingRecommendationEntry { groupingRecommendationId: string; errorMessage: string; @@ -1400,15 +985,8 @@ export interface GroupingRecommendation { } export type GroupingRecommendationConfidenceLevel = "High" | "Medium"; export type GroupingRecommendationList = Array; -export type GroupingRecommendationRejectionReason = - | "DistinctBusinessPurpose" - | "SeparateDataConcern" - | "DistinctUserGroupHandling" - | "Other"; -export type GroupingRecommendationStatusType = - | "Accepted" - | "Rejected" - | "PendingDecision"; +export type GroupingRecommendationRejectionReason = "DistinctBusinessPurpose" | "SeparateDataConcern" | "DistinctUserGroupHandling" | "Other"; +export type GroupingRecommendationStatusType = "Accepted" | "Rejected" | "PendingDecision"; export interface GroupingResource { resourceName: string; resourceType: string; @@ -1417,12 +995,7 @@ export interface GroupingResource { sourceAppComponentIds: Array; } export type GroupingResourceList = Array; -export type HaArchitecture = - | "MultiSite" - | "WarmStandby" - | "PilotLight" - | "BackupAndRestore" - | "NoRecoveryPlan"; +export type HaArchitecture = "MultiSite" | "WarmStandby" | "PilotLight" | "BackupAndRestore" | "NoRecoveryPlan"; export type IamRoleArn = string; export type IamRoleArnList = Array; @@ -1680,11 +1253,7 @@ export type LongOptional = number; export type MaxResults = number; -export type MetricsExportStatusType = - | "Pending" - | "InProgress" - | "Failed" - | "Success"; +export type MetricsExportStatusType = "Pending" | "InProgress" | "Failed" | "Success"; export type NextToken = string; export interface PermissionModel { @@ -1730,15 +1299,8 @@ export interface PutDraftAppVersionTemplateResponse { appArn?: string; appVersion?: string; } -export type RecommendationCompliance = Record< - DisruptionType, - RecommendationDisruptionCompliance ->; -export type RecommendationComplianceStatus = - | "BreachedUnattainable" - | "BreachedCanMeet" - | "MetCanImprove" - | "MissingPolicy"; +export type RecommendationCompliance = Record; +export type RecommendationComplianceStatus = "BreachedUnattainable" | "BreachedCanMeet" | "MetCanImprove" | "MissingPolicy"; export interface RecommendationDisruptionCompliance { expectedComplianceStatus: ComplianceStatus; expectedRtoInSecs?: number; @@ -1758,11 +1320,7 @@ export interface RecommendationItem { discoveredAlarm?: Alarm; } export type RecommendationItemList = Array; -export type RecommendationStatus = - | "Implemented" - | "Inactive" - | "NotImplemented" - | "Excluded"; +export type RecommendationStatus = "Implemented" | "Inactive" | "NotImplemented" | "Excluded"; export interface RecommendationTemplate { templatesLocation?: S3Location; assessmentArn: string; @@ -1780,15 +1338,9 @@ export interface RecommendationTemplate { needsReplacements?: boolean; } export type RecommendationTemplateList = Array; -export type RecommendationTemplateStatus = - | "Pending" - | "InProgress" - | "Failed" - | "Success"; -export type RecommendationTemplateStatusList = - Array; -export type RejectGroupingRecommendationEntries = - Array; +export type RecommendationTemplateStatus = "Pending" | "InProgress" | "Failed" | "Success"; +export type RecommendationTemplateStatusList = Array; +export type RejectGroupingRecommendationEntries = Array; export interface RejectGroupingRecommendationEntry { groupingRecommendationId: string; rejectionReason?: GroupingRecommendationRejectionReason; @@ -1828,13 +1380,7 @@ export interface ResiliencyPolicy { creationTime?: Date | string; tags?: Record; } -export type ResiliencyPolicyTier = - | "MissionCritical" - | "Critical" - | "Important" - | "CoreServices" - | "NonCritical" - | "NotApplicable"; +export type ResiliencyPolicyTier = "MissionCritical" | "Critical" | "Important" | "CoreServices" | "NonCritical" | "NotApplicable"; export interface ResiliencyScore { score: number; disruptionScore: { [key in DisruptionType]?: string }; @@ -1875,11 +1421,7 @@ export interface ResourceIdentifier { logicalResourceId?: LogicalResourceId; resourceType?: string; } -export type ResourceImportStatusType = - | "Pending" - | "InProgress" - | "Failed" - | "Success"; +export type ResourceImportStatusType = "Pending" | "InProgress" | "Failed" | "Success"; export type ResourceImportStrategyType = "AddOnly" | "ReplaceAll"; export interface ResourceMapping { resourceName?: string; @@ -1892,13 +1434,7 @@ export interface ResourceMapping { eksSourceName?: string; } export type ResourceMappingList = Array; -export type ResourceMappingType = - | "CfnStack" - | "Resource" - | "AppRegistryApp" - | "ResourceGroup" - | "Terraform" - | "EKS"; +export type ResourceMappingType = "CfnStack" | "Resource" | "AppRegistryApp" | "ResourceGroup" | "Terraform" | "EKS"; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -1906,16 +1442,8 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( readonly resourceId?: string; readonly resourceType?: string; }> {} -export type ResourceResolutionStatusType = - | "Pending" - | "InProgress" - | "Failed" - | "Success"; -export type ResourcesGroupingRecGenStatusType = - | "Pending" - | "InProgress" - | "Failed" - | "Success"; +export type ResourceResolutionStatusType = "Pending" | "InProgress" | "Failed" | "Success"; +export type ResourcesGroupingRecGenStatusType = "Pending" | "InProgress" | "Failed" | "Success"; export type ResourceSourceType = "AppTemplate" | "Discovered"; export type ResourceType = string; @@ -1935,10 +1463,7 @@ export interface ScoringComponentResiliencyScore { outstandingCount?: number; excludedCount?: number; } -export type ScoringComponentResiliencyScores = Record< - ResiliencyScoreType, - ScoringComponentResiliencyScore ->; +export type ScoringComponentResiliencyScores = Record; export type Seconds = number; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( @@ -2013,7 +1538,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TemplateFormat = "CfnYaml" | "CfnJson"; @@ -2058,7 +1584,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAppRequest { appArn: string; description?: string; @@ -2114,8 +1641,7 @@ export interface UpdateRecommendationStatusItem { targetAccountId?: string; targetRegion?: string; } -export type UpdateRecommendationStatusRequestEntries = - Array; +export type UpdateRecommendationStatusRequestEntries = Array; export interface UpdateRecommendationStatusRequestEntry { entryId: string; referenceId: string; @@ -2931,12 +2457,5 @@ export declare namespace UpdateResiliencyPolicy { | CommonAwsError; } -export type resiliencehubErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type resiliencehubErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/resource-explorer-2/index.ts b/src/services/resource-explorer-2/index.ts index 45a11e15..85692ca3 100644 --- a/src/services/resource-explorer-2/index.ts +++ b/src/services/resource-explorer-2/index.ts @@ -5,23 +5,7 @@ import type { ResourceExplorer2 as _ResourceExplorer2Client } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,39 +15,38 @@ const metadata = { sigV4ServiceName: "resource-explorer-2", endpointPrefix: "resource-explorer-2", operations: { - BatchGetView: "POST /BatchGetView", - CreateResourceExplorerSetup: "POST /CreateResourceExplorerSetup", - DeleteResourceExplorerSetup: "POST /DeleteResourceExplorerSetup", - DisassociateDefaultView: "POST /DisassociateDefaultView", - GetAccountLevelServiceConfiguration: - "POST /GetAccountLevelServiceConfiguration", - GetDefaultView: "POST /GetDefaultView", - GetIndex: "POST /GetIndex", - GetManagedView: "POST /GetManagedView", - GetResourceExplorerSetup: "POST /GetResourceExplorerSetup", - GetServiceIndex: "POST /GetServiceIndex", - GetServiceView: "POST /GetServiceView", - ListIndexesForMembers: "POST /ListIndexesForMembers", - ListManagedViews: "POST /ListManagedViews", - ListResources: "POST /ListResources", - ListServiceIndexes: "POST /ListServiceIndexes", - ListServiceViews: "POST /ListServiceViews", - ListStreamingAccessForServices: "POST /ListStreamingAccessForServices", - ListSupportedResourceTypes: "POST /ListSupportedResourceTypes", - ListTagsForResource: "GET /tags/{resourceArn}", - Search: "POST /Search", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - AssociateDefaultView: "POST /AssociateDefaultView", - CreateIndex: "POST /CreateIndex", - CreateView: "POST /CreateView", - DeleteIndex: "POST /DeleteIndex", - DeleteView: "POST /DeleteView", - GetView: "POST /GetView", - ListIndexes: "POST /ListIndexes", - ListViews: "POST /ListViews", - UpdateIndexType: "POST /UpdateIndexType", - UpdateView: "POST /UpdateView", + "BatchGetView": "POST /BatchGetView", + "CreateResourceExplorerSetup": "POST /CreateResourceExplorerSetup", + "DeleteResourceExplorerSetup": "POST /DeleteResourceExplorerSetup", + "DisassociateDefaultView": "POST /DisassociateDefaultView", + "GetAccountLevelServiceConfiguration": "POST /GetAccountLevelServiceConfiguration", + "GetDefaultView": "POST /GetDefaultView", + "GetIndex": "POST /GetIndex", + "GetManagedView": "POST /GetManagedView", + "GetResourceExplorerSetup": "POST /GetResourceExplorerSetup", + "GetServiceIndex": "POST /GetServiceIndex", + "GetServiceView": "POST /GetServiceView", + "ListIndexesForMembers": "POST /ListIndexesForMembers", + "ListManagedViews": "POST /ListManagedViews", + "ListResources": "POST /ListResources", + "ListServiceIndexes": "POST /ListServiceIndexes", + "ListServiceViews": "POST /ListServiceViews", + "ListStreamingAccessForServices": "POST /ListStreamingAccessForServices", + "ListSupportedResourceTypes": "POST /ListSupportedResourceTypes", + "ListTagsForResource": "GET /tags/{resourceArn}", + "Search": "POST /Search", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "AssociateDefaultView": "POST /AssociateDefaultView", + "CreateIndex": "POST /CreateIndex", + "CreateView": "POST /CreateView", + "DeleteIndex": "POST /DeleteIndex", + "DeleteView": "POST /DeleteView", + "GetView": "POST /GetView", + "ListIndexes": "POST /ListIndexes", + "ListViews": "POST /ListViews", + "UpdateIndexType": "POST /UpdateIndexType", + "UpdateView": "POST /UpdateView", }, } as const satisfies ServiceMetadata; diff --git a/src/services/resource-explorer-2/types.ts b/src/services/resource-explorer-2/types.ts index f06e2c9e..27bf2ce8 100644 --- a/src/services/resource-explorer-2/types.ts +++ b/src/services/resource-explorer-2/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ResourceExplorer2 extends AWSServiceClient { @@ -40,347 +8,193 @@ export declare class ResourceExplorer2 extends AWSServiceClient { input: BatchGetViewInput, ): Effect.Effect< BatchGetViewOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; createResourceExplorerSetup( input: CreateResourceExplorerSetupInput, ): Effect.Effect< CreateResourceExplorerSetupOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourceExplorerSetup( input: DeleteResourceExplorerSetupInput, ): Effect.Effect< DeleteResourceExplorerSetupOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; - disassociateDefaultView(input: {}): Effect.Effect< + disassociateDefaultView( + input: {}, + ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; - getAccountLevelServiceConfiguration(input: {}): Effect.Effect< + getAccountLevelServiceConfiguration( + input: {}, + ): Effect.Effect< GetAccountLevelServiceConfigurationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; - getDefaultView(input: {}): Effect.Effect< + getDefaultView( + input: {}, + ): Effect.Effect< GetDefaultViewOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; - getIndex(input: {}): Effect.Effect< + getIndex( + input: {}, + ): Effect.Effect< GetIndexOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getManagedView( input: GetManagedViewInput, ): Effect.Effect< GetManagedViewOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getResourceExplorerSetup( input: GetResourceExplorerSetupInput, ): Effect.Effect< GetResourceExplorerSetupOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; - getServiceIndex(input: {}): Effect.Effect< + getServiceIndex( + input: {}, + ): Effect.Effect< GetServiceIndexOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceView( input: GetServiceViewInput, ): Effect.Effect< GetServiceViewOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listIndexesForMembers( input: ListIndexesForMembersInput, ): Effect.Effect< ListIndexesForMembersOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listManagedViews( input: ListManagedViewsInput, ): Effect.Effect< ListManagedViewsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listResources( input: ListResourcesInput, ): Effect.Effect< ListResourcesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listServiceIndexes( input: ListServiceIndexesInput, ): Effect.Effect< ListServiceIndexesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listServiceViews( input: ListServiceViewsInput, ): Effect.Effect< ListServiceViewsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listStreamingAccessForServices( input: ListStreamingAccessForServicesInput, ): Effect.Effect< ListStreamingAccessForServicesOutput, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listSupportedResourceTypes( input: ListSupportedResourceTypesInput, ): Effect.Effect< ListSupportedResourceTypesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; search( input: SearchInput, ): Effect.Effect< SearchOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; associateDefaultView( input: AssociateDefaultViewInput, ): Effect.Effect< AssociateDefaultViewOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createIndex( input: CreateIndexInput, ): Effect.Effect< CreateIndexOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createView( input: CreateViewInput, ): Effect.Effect< CreateViewOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; deleteIndex( input: DeleteIndexInput, ): Effect.Effect< DeleteIndexOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteView( input: DeleteViewInput, ): Effect.Effect< DeleteViewOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; getView( input: GetViewInput, ): Effect.Effect< GetViewOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; listIndexes( input: ListIndexesInput, ): Effect.Effect< ListIndexesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listViews( input: ListViewsInput, ): Effect.Effect< ListViewsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateIndexType( input: UpdateIndexTypeInput, ): Effect.Effect< UpdateIndexTypeOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateView( input: UpdateViewInput, ): Effect.Effect< UpdateViewOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError >; } @@ -734,7 +548,8 @@ export interface TagResourceInput { resourceArn: string; Tags?: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -749,7 +564,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateIndexTypeInput { Arn: string; Type: string; @@ -1184,13 +1000,5 @@ export declare namespace UpdateView { | CommonAwsError; } -export type ResourceExplorer2Errors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnauthorizedException - | ValidationException - | CommonAwsError; +export type ResourceExplorer2Errors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnauthorizedException | ValidationException | CommonAwsError; + diff --git a/src/services/resource-groups-tagging-api/index.ts b/src/services/resource-groups-tagging-api/index.ts index f1ef4ac0..4a19ef48 100644 --- a/src/services/resource-groups-tagging-api/index.ts +++ b/src/services/resource-groups-tagging-api/index.ts @@ -5,26 +5,7 @@ import type { ResourceGroupsTaggingAPI as _ResourceGroupsTaggingAPIClient } from export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/resource-groups-tagging-api/types.ts b/src/services/resource-groups-tagging-api/types.ts index d4ab5574..080abd0e 100644 --- a/src/services/resource-groups-tagging-api/types.ts +++ b/src/services/resource-groups-tagging-api/types.ts @@ -7,80 +7,49 @@ export declare class ResourceGroupsTaggingAPI extends AWSServiceClient { input: DescribeReportCreationInput, ): Effect.Effect< DescribeReportCreationOutput, - | ConstraintViolationException - | InternalServiceException - | InvalidParameterException - | ThrottledException - | CommonAwsError + ConstraintViolationException | InternalServiceException | InvalidParameterException | ThrottledException | CommonAwsError >; getComplianceSummary( input: GetComplianceSummaryInput, ): Effect.Effect< GetComplianceSummaryOutput, - | ConstraintViolationException - | InternalServiceException - | InvalidParameterException - | ThrottledException - | CommonAwsError + ConstraintViolationException | InternalServiceException | InvalidParameterException | ThrottledException | CommonAwsError >; getResources( input: GetResourcesInput, ): Effect.Effect< GetResourcesOutput, - | InternalServiceException - | InvalidParameterException - | PaginationTokenExpiredException - | ThrottledException - | CommonAwsError + InternalServiceException | InvalidParameterException | PaginationTokenExpiredException | ThrottledException | CommonAwsError >; getTagKeys( input: GetTagKeysInput, ): Effect.Effect< GetTagKeysOutput, - | InternalServiceException - | InvalidParameterException - | PaginationTokenExpiredException - | ThrottledException - | CommonAwsError + InternalServiceException | InvalidParameterException | PaginationTokenExpiredException | ThrottledException | CommonAwsError >; getTagValues( input: GetTagValuesInput, ): Effect.Effect< GetTagValuesOutput, - | InternalServiceException - | InvalidParameterException - | PaginationTokenExpiredException - | ThrottledException - | CommonAwsError + InternalServiceException | InvalidParameterException | PaginationTokenExpiredException | ThrottledException | CommonAwsError >; startReportCreation( input: StartReportCreationInput, ): Effect.Effect< StartReportCreationOutput, - | ConcurrentModificationException - | ConstraintViolationException - | InternalServiceException - | InvalidParameterException - | ThrottledException - | CommonAwsError + ConcurrentModificationException | ConstraintViolationException | InternalServiceException | InvalidParameterException | ThrottledException | CommonAwsError >; tagResources( input: TagResourcesInput, ): Effect.Effect< TagResourcesOutput, - | InternalServiceException - | InvalidParameterException - | ThrottledException - | CommonAwsError + InternalServiceException | InvalidParameterException | ThrottledException | CommonAwsError >; untagResources( input: UntagResourcesInput, ): Effect.Effect< UntagResourcesOutput, - | InternalServiceException - | InvalidParameterException - | ThrottledException - | CommonAwsError + InternalServiceException | InvalidParameterException | ThrottledException | CommonAwsError >; } @@ -105,16 +74,15 @@ export declare class ConstraintViolationException extends EffectData.TaggedError )<{ readonly Message?: string; }> {} -export interface DescribeReportCreationInput {} +export interface DescribeReportCreationInput { +} export interface DescribeReportCreationOutput { Status?: string; S3Location?: string; StartDate?: string; ErrorMessage?: string; } -export type ErrorCode = - | "InternalServiceException" - | "InvalidParameterException"; +export type ErrorCode = "InternalServiceException" | "InvalidParameterException"; export type ErrorMessage = string; export type ExceptionMessage = string; @@ -221,7 +189,8 @@ export type StartDate = string; export interface StartReportCreationInput { S3Bucket: string; } -export interface StartReportCreationOutput {} +export interface StartReportCreationOutput { +} export type Status = string; export type StatusCode = number; @@ -367,11 +336,5 @@ export declare namespace UntagResources { | CommonAwsError; } -export type ResourceGroupsTaggingAPIErrors = - | ConcurrentModificationException - | ConstraintViolationException - | InternalServiceException - | InvalidParameterException - | PaginationTokenExpiredException - | ThrottledException - | CommonAwsError; +export type ResourceGroupsTaggingAPIErrors = ConcurrentModificationException | ConstraintViolationException | InternalServiceException | InvalidParameterException | PaginationTokenExpiredException | ThrottledException | CommonAwsError; + diff --git a/src/services/resource-groups/index.ts b/src/services/resource-groups/index.ts index 19c87313..af4060ae 100644 --- a/src/services/resource-groups/index.ts +++ b/src/services/resource-groups/index.ts @@ -5,26 +5,7 @@ import type { ResourceGroups as _ResourceGroupsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,29 +15,29 @@ const metadata = { sigV4ServiceName: "resource-groups", endpointPrefix: "resource-groups", operations: { - CancelTagSyncTask: "POST /cancel-tag-sync-task", - CreateGroup: "POST /groups", - DeleteGroup: "POST /delete-group", - GetAccountSettings: "POST /get-account-settings", - GetGroup: "POST /get-group", - GetGroupConfiguration: "POST /get-group-configuration", - GetGroupQuery: "POST /get-group-query", - GetTags: "GET /resources/{Arn}/tags", - GetTagSyncTask: "POST /get-tag-sync-task", - GroupResources: "POST /group-resources", - ListGroupingStatuses: "POST /list-grouping-statuses", - ListGroupResources: "POST /list-group-resources", - ListGroups: "POST /groups-list", - ListTagSyncTasks: "POST /list-tag-sync-tasks", - PutGroupConfiguration: "POST /put-group-configuration", - SearchResources: "POST /resources/search", - StartTagSyncTask: "POST /start-tag-sync-task", - Tag: "PUT /resources/{Arn}/tags", - UngroupResources: "POST /ungroup-resources", - Untag: "PATCH /resources/{Arn}/tags", - UpdateAccountSettings: "POST /update-account-settings", - UpdateGroup: "POST /update-group", - UpdateGroupQuery: "POST /update-group-query", + "CancelTagSyncTask": "POST /cancel-tag-sync-task", + "CreateGroup": "POST /groups", + "DeleteGroup": "POST /delete-group", + "GetAccountSettings": "POST /get-account-settings", + "GetGroup": "POST /get-group", + "GetGroupConfiguration": "POST /get-group-configuration", + "GetGroupQuery": "POST /get-group-query", + "GetTags": "GET /resources/{Arn}/tags", + "GetTagSyncTask": "POST /get-tag-sync-task", + "GroupResources": "POST /group-resources", + "ListGroupingStatuses": "POST /list-grouping-statuses", + "ListGroupResources": "POST /list-group-resources", + "ListGroups": "POST /groups-list", + "ListTagSyncTasks": "POST /list-tag-sync-tasks", + "PutGroupConfiguration": "POST /put-group-configuration", + "SearchResources": "POST /resources/search", + "StartTagSyncTask": "POST /start-tag-sync-task", + "Tag": "PUT /resources/{Arn}/tags", + "UngroupResources": "POST /ungroup-resources", + "Untag": "PATCH /resources/{Arn}/tags", + "UpdateAccountSettings": "POST /update-account-settings", + "UpdateGroup": "POST /update-group", + "UpdateGroupQuery": "POST /update-group-query", }, } as const satisfies ServiceMetadata; diff --git a/src/services/resource-groups/types.ts b/src/services/resource-groups/types.ts index be268b8f..cad7e280 100644 --- a/src/services/resource-groups/types.ts +++ b/src/services/resource-groups/types.ts @@ -7,273 +7,139 @@ export declare class ResourceGroups extends AWSServiceClient { input: CancelTagSyncTaskInput, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; createGroup( input: CreateGroupInput, ): Effect.Effect< CreateGroupOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; deleteGroup( input: DeleteGroupInput, ): Effect.Effect< DeleteGroupOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; - getAccountSettings(input: {}): Effect.Effect< + getAccountSettings( + input: {}, + ): Effect.Effect< GetAccountSettingsOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; getGroup( input: GetGroupInput, ): Effect.Effect< GetGroupOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; getGroupConfiguration( input: GetGroupConfigurationInput, ): Effect.Effect< GetGroupConfigurationOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; getGroupQuery( input: GetGroupQueryInput, ): Effect.Effect< GetGroupQueryOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTags( input: GetTagsInput, ): Effect.Effect< GetTagsOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTagSyncTask( input: GetTagSyncTaskInput, ): Effect.Effect< GetTagSyncTaskOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; groupResources( input: GroupResourcesInput, ): Effect.Effect< GroupResourcesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; listGroupingStatuses( input: ListGroupingStatusesInput, ): Effect.Effect< ListGroupingStatusesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; listGroupResources( input: ListGroupResourcesInput, ): Effect.Effect< ListGroupResourcesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listGroups( input: ListGroupsInput, ): Effect.Effect< ListGroupsOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; listTagSyncTasks( input: ListTagSyncTasksInput, ): Effect.Effect< ListTagSyncTasksOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; putGroupConfiguration( input: PutGroupConfigurationInput, ): Effect.Effect< PutGroupConfigurationOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; searchResources( input: SearchResourcesInput, ): Effect.Effect< SearchResourcesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; startTagSyncTask( input: StartTagSyncTaskInput, ): Effect.Effect< StartTagSyncTaskOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; tag( input: TagInput, ): Effect.Effect< TagOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; ungroupResources( input: UngroupResourcesInput, ): Effect.Effect< UngroupResourcesOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; untag( input: UntagInput, ): Effect.Effect< UntagOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateAccountSettings( input: UpdateAccountSettingsInput, ): Effect.Effect< UpdateAccountSettingsOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | TooManyRequestsException | CommonAwsError >; updateGroup( input: UpdateGroupInput, ): Effect.Effect< UpdateGroupOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateGroupQuery( input: UpdateGroupQueryInput, ): Effect.Effect< UpdateGroupQueryOutput, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -421,10 +287,7 @@ export type GroupConfigurationParameterName = string; export type GroupConfigurationParameterValue = string; export type GroupConfigurationParameterValueList = Array; -export type GroupConfigurationStatus = - | "UPDATING" - | "UPDATE_COMPLETE" - | "UPDATE_FAILED"; +export type GroupConfigurationStatus = "UPDATING" | "UPDATE_COMPLETE" | "UPDATE_FAILED"; export type GroupConfigurationType = string; export interface GroupFilter { @@ -432,12 +295,7 @@ export interface GroupFilter { Values: Array; } export type GroupFilterList = Array; -export type GroupFilterName = - | "resource-type" - | "configuration-type" - | "owner" - | "display-name" - | "criticality"; +export type GroupFilterName = "resource-type" | "configuration-type" | "owner" | "display-name" | "criticality"; export type GroupFilterValue = string; export type GroupFilterValues = Array; @@ -462,11 +320,7 @@ export interface GroupingStatusesItem { export type GroupingStatusesList = Array; export type GroupingType = "GROUP" | "UNGROUP"; export type GroupLifecycleEventsDesiredStatus = "ACTIVE" | "INACTIVE"; -export type GroupLifecycleEventsStatus = - | "ACTIVE" - | "INACTIVE" - | "IN_PROGRESS" - | "ERROR"; +export type GroupLifecycleEventsStatus = "ACTIVE" | "INACTIVE" | "IN_PROGRESS" | "ERROR"; export type GroupLifecycleEventsStatusMessage = string; export type GroupList = Array; @@ -581,18 +435,15 @@ export interface PutGroupConfigurationInput { Group?: string; Configuration?: Array; } -export interface PutGroupConfigurationOutput {} +export interface PutGroupConfigurationOutput { +} export type Query = string; export interface QueryError { ErrorCode?: QueryErrorCode; Message?: string; } -export type QueryErrorCode = - | "CLOUDFORMATION_STACK_INACTIVE" - | "CLOUDFORMATION_STACK_NOT_EXISTING" - | "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE" - | "RESOURCE_TYPE_NOT_SUPPORTED"; +export type QueryErrorCode = "CLOUDFORMATION_STACK_INACTIVE" | "CLOUDFORMATION_STACK_NOT_EXISTING" | "CLOUDFORMATION_STACK_UNASSUMABLE_ROLE" | "RESOURCE_TYPE_NOT_SUPPORTED"; export type QueryErrorList = Array; export type QueryErrorMessage = string; @@ -1033,12 +884,5 @@ export declare namespace UpdateGroupQuery { | CommonAwsError; } -export type ResourceGroupsErrors = - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | MethodNotAllowedException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError; +export type ResourceGroupsErrors = BadRequestException | ForbiddenException | InternalServerErrorException | MethodNotAllowedException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/rolesanywhere/index.ts b/src/services/rolesanywhere/index.ts index 99904610..6284974e 100644 --- a/src/services/rolesanywhere/index.ts +++ b/src/services/rolesanywhere/index.ts @@ -5,24 +5,7 @@ import type { RolesAnywhere as _RolesAnywhereClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,36 +14,36 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "rolesanywhere", operations: { - ListTagsForResource: "GET /ListTagsForResource", - PutNotificationSettings: "PATCH /put-notifications-settings", - ResetNotificationSettings: "PATCH /reset-notifications-settings", - TagResource: "POST /TagResource", - UntagResource: "POST /UntagResource", - CreateProfile: "POST /profiles", - CreateTrustAnchor: "POST /trustanchors", - DeleteAttributeMapping: "DELETE /profiles/{profileId}/mappings", - DeleteCrl: "DELETE /crl/{crlId}", - DeleteProfile: "DELETE /profile/{profileId}", - DeleteTrustAnchor: "DELETE /trustanchor/{trustAnchorId}", - DisableCrl: "POST /crl/{crlId}/disable", - DisableProfile: "POST /profile/{profileId}/disable", - DisableTrustAnchor: "POST /trustanchor/{trustAnchorId}/disable", - EnableCrl: "POST /crl/{crlId}/enable", - EnableProfile: "POST /profile/{profileId}/enable", - EnableTrustAnchor: "POST /trustanchor/{trustAnchorId}/enable", - GetCrl: "GET /crl/{crlId}", - GetProfile: "GET /profile/{profileId}", - GetSubject: "GET /subject/{subjectId}", - GetTrustAnchor: "GET /trustanchor/{trustAnchorId}", - ImportCrl: "POST /crls", - ListCrls: "GET /crls", - ListProfiles: "GET /profiles", - ListSubjects: "GET /subjects", - ListTrustAnchors: "GET /trustanchors", - PutAttributeMapping: "PUT /profiles/{profileId}/mappings", - UpdateCrl: "PATCH /crl/{crlId}", - UpdateProfile: "PATCH /profile/{profileId}", - UpdateTrustAnchor: "PATCH /trustanchor/{trustAnchorId}", + "ListTagsForResource": "GET /ListTagsForResource", + "PutNotificationSettings": "PATCH /put-notifications-settings", + "ResetNotificationSettings": "PATCH /reset-notifications-settings", + "TagResource": "POST /TagResource", + "UntagResource": "POST /UntagResource", + "CreateProfile": "POST /profiles", + "CreateTrustAnchor": "POST /trustanchors", + "DeleteAttributeMapping": "DELETE /profiles/{profileId}/mappings", + "DeleteCrl": "DELETE /crl/{crlId}", + "DeleteProfile": "DELETE /profile/{profileId}", + "DeleteTrustAnchor": "DELETE /trustanchor/{trustAnchorId}", + "DisableCrl": "POST /crl/{crlId}/disable", + "DisableProfile": "POST /profile/{profileId}/disable", + "DisableTrustAnchor": "POST /trustanchor/{trustAnchorId}/disable", + "EnableCrl": "POST /crl/{crlId}/enable", + "EnableProfile": "POST /profile/{profileId}/enable", + "EnableTrustAnchor": "POST /trustanchor/{trustAnchorId}/enable", + "GetCrl": "GET /crl/{crlId}", + "GetProfile": "GET /profile/{profileId}", + "GetSubject": "GET /subject/{subjectId}", + "GetTrustAnchor": "GET /trustanchor/{trustAnchorId}", + "ImportCrl": "POST /crls", + "ListCrls": "GET /crls", + "ListProfiles": "GET /profiles", + "ListSubjects": "GET /subjects", + "ListTrustAnchors": "GET /trustanchors", + "PutAttributeMapping": "PUT /profiles/{profileId}/mappings", + "UpdateCrl": "PATCH /crl/{crlId}", + "UpdateProfile": "PATCH /profile/{profileId}", + "UpdateTrustAnchor": "PATCH /trustanchor/{trustAnchorId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/rolesanywhere/types.ts b/src/services/rolesanywhere/types.ts index e85eac84..d8fb1873 100644 --- a/src/services/rolesanywhere/types.ts +++ b/src/services/rolesanywhere/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class RolesAnywhere extends AWSServiceClient { @@ -41,47 +8,31 @@ export declare class RolesAnywhere extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; putNotificationSettings( input: PutNotificationSettingsRequest, ): Effect.Effect< PutNotificationSettingsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; resetNotificationSettings( input: ResetNotificationSettingsRequest, ): Effect.Effect< ResetNotificationSettingsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; createProfile( input: CreateProfileRequest, @@ -99,10 +50,7 @@ export declare class RolesAnywhere extends AWSServiceClient { input: DeleteAttributeMappingRequest, ): Effect.Effect< DeleteAttributeMappingResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteCrl( input: ScalarCrlRequest, @@ -180,10 +128,7 @@ export declare class RolesAnywhere extends AWSServiceClient { input: ScalarTrustAnchorRequest, ): Effect.Effect< TrustAnchorDetailResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; importCrl( input: ImportCrlRequest, @@ -219,37 +164,25 @@ export declare class RolesAnywhere extends AWSServiceClient { input: PutAttributeMappingRequest, ): Effect.Effect< PutAttributeMappingResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCrl( input: UpdateCrlRequest, ): Effect.Effect< CrlDetailResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateProfile( input: UpdateProfileRequest, ): Effect.Effect< ProfileDetailResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateTrustAnchor( input: UpdateTrustAnchorRequest, ): Effect.Effect< TrustAnchorDetailResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -462,9 +395,7 @@ interface _SourceData { acmPcaArn?: string; } -export type SourceData = - | (_SourceData & { x509CertificateData: string }) - | (_SourceData & { acmPcaArn: string }); +export type SourceData = (_SourceData & { x509CertificateData: string }) | (_SourceData & { acmPcaArn: string }); export type SpecifierList = Array; export interface SubjectDetail { subjectArn?: string; @@ -502,7 +433,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class TooManyTagsException extends EffectData.TaggedError( @@ -532,7 +464,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateCrlRequest { crlId: string; name?: string; @@ -722,7 +655,9 @@ export declare namespace EnableTrustAnchor { export declare namespace GetCrl { export type Input = ScalarCrlRequest; export type Output = CrlDetailResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetProfile { @@ -838,9 +773,5 @@ export declare namespace UpdateTrustAnchor { | CommonAwsError; } -export type RolesAnywhereErrors = - | AccessDeniedException - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type RolesAnywhereErrors = AccessDeniedException | ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/route-53-domains/index.ts b/src/services/route-53-domains/index.ts index b1c905fb..61342e2e 100644 --- a/src/services/route-53-domains/index.ts +++ b/src/services/route-53-domains/index.ts @@ -5,26 +5,7 @@ import type { Route53Domains as _Route53DomainsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/route-53-domains/types.ts b/src/services/route-53-domains/types.ts index 38194799..ece23bac 100644 --- a/src/services/route-53-domains/types.ts +++ b/src/services/route-53-domains/types.ts @@ -7,23 +7,13 @@ export declare class Route53Domains extends AWSServiceClient { input: AcceptDomainTransferFromAnotherAwsAccountRequest, ): Effect.Effect< AcceptDomainTransferFromAnotherAwsAccountResponse, - | DomainLimitExceeded - | InvalidInput - | OperationLimitExceeded - | UnsupportedTLD - | CommonAwsError + DomainLimitExceeded | InvalidInput | OperationLimitExceeded | UnsupportedTLD | CommonAwsError >; associateDelegationSignerToDomain( input: AssociateDelegationSignerToDomainRequest, ): Effect.Effect< AssociateDelegationSignerToDomainResponse, - | DnssecLimitExceeded - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DnssecLimitExceeded | DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; cancelDomainTransferToAnotherAwsAccount( input: CancelDomainTransferToAnotherAwsAccountRequest, @@ -47,11 +37,7 @@ export declare class Route53Domains extends AWSServiceClient { input: DeleteDomainRequest, ): Effect.Effect< DeleteDomainResponse, - | DuplicateRequest - | InvalidInput - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DuplicateRequest | InvalidInput | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; deleteTagsForDomain( input: DeleteTagsForDomainRequest, @@ -69,23 +55,13 @@ export declare class Route53Domains extends AWSServiceClient { input: DisableDomainTransferLockRequest, ): Effect.Effect< DisableDomainTransferLockResponse, - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; disassociateDelegationSignerFromDomain( input: DisassociateDelegationSignerFromDomainRequest, ): Effect.Effect< DisassociateDelegationSignerFromDomainResponse, - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; enableDomainAutoRenew( input: EnableDomainAutoRenewRequest, @@ -97,12 +73,7 @@ export declare class Route53Domains extends AWSServiceClient { input: EnableDomainTransferLockRequest, ): Effect.Effect< EnableDomainTransferLockResponse, - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; getContactReachabilityStatus( input: GetContactReachabilityStatusRequest, @@ -124,13 +95,22 @@ export declare class Route53Domains extends AWSServiceClient { >; getOperationDetail( input: GetOperationDetailRequest, - ): Effect.Effect; + ): Effect.Effect< + GetOperationDetailResponse, + InvalidInput | CommonAwsError + >; listDomains( input: ListDomainsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDomainsResponse, + InvalidInput | CommonAwsError + >; listOperations( input: ListOperationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListOperationsResponse, + InvalidInput | CommonAwsError + >; listPrices( input: ListPricesRequest, ): Effect.Effect< @@ -153,13 +133,7 @@ export declare class Route53Domains extends AWSServiceClient { input: RegisterDomainRequest, ): Effect.Effect< RegisterDomainResponse, - | DomainLimitExceeded - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DomainLimitExceeded | DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; rejectDomainTransferFromAnotherAwsAccount( input: RejectDomainTransferFromAnotherAwsAccountRequest, @@ -171,12 +145,7 @@ export declare class Route53Domains extends AWSServiceClient { input: RenewDomainRequest, ): Effect.Effect< RenewDomainResponse, - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; resendContactReachabilityEmail( input: ResendContactReachabilityEmailRequest, @@ -186,7 +155,10 @@ export declare class Route53Domains extends AWSServiceClient { >; resendOperationAuthorization( input: ResendOperationAuthorizationRequest, - ): Effect.Effect<{}, InvalidInput | CommonAwsError>; + ): Effect.Effect< + {}, + InvalidInput | CommonAwsError + >; retrieveDomainAuthCode( input: RetrieveDomainAuthCodeRequest, ): Effect.Effect< @@ -197,56 +169,31 @@ export declare class Route53Domains extends AWSServiceClient { input: TransferDomainRequest, ): Effect.Effect< TransferDomainResponse, - | DomainLimitExceeded - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DomainLimitExceeded | DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; transferDomainToAnotherAwsAccount( input: TransferDomainToAnotherAwsAccountRequest, ): Effect.Effect< TransferDomainToAnotherAwsAccountResponse, - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | UnsupportedTLD - | CommonAwsError + DuplicateRequest | InvalidInput | OperationLimitExceeded | UnsupportedTLD | CommonAwsError >; updateDomainContact( input: UpdateDomainContactRequest, ): Effect.Effect< UpdateDomainContactResponse, - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; updateDomainContactPrivacy( input: UpdateDomainContactPrivacyRequest, ): Effect.Effect< UpdateDomainContactPrivacyResponse, - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; updateDomainNameservers( input: UpdateDomainNameserversRequest, ): Effect.Effect< UpdateDomainNameserversResponse, - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError + DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError >; updateTagsForDomain( input: UpdateTagsForDomainRequest, @@ -256,7 +203,10 @@ export declare class Route53Domains extends AWSServiceClient { >; viewBilling( input: ViewBillingRequest, - ): Effect.Effect; + ): Effect.Effect< + ViewBillingResponse, + InvalidInput | CommonAwsError + >; } export interface AcceptDomainTransferFromAnotherAwsAccountRequest { @@ -334,264 +284,8 @@ export type ContactName = string; export type ContactNumber = string; -export type ContactType = - | "PERSON" - | "COMPANY" - | "ASSOCIATION" - | "PUBLIC_BODY" - | "RESELLER"; -export type CountryCode = - | "AC" - | "AD" - | "AE" - | "AF" - | "AG" - | "AI" - | "AL" - | "AM" - | "AN" - | "AO" - | "AQ" - | "AR" - | "AS" - | "AT" - | "AU" - | "AW" - | "AX" - | "AZ" - | "BA" - | "BB" - | "BD" - | "BE" - | "BF" - | "BG" - | "BH" - | "BI" - | "BJ" - | "BL" - | "BM" - | "BN" - | "BO" - | "BQ" - | "BR" - | "BS" - | "BT" - | "BV" - | "BW" - | "BY" - | "BZ" - | "CA" - | "CC" - | "CD" - | "CF" - | "CG" - | "CH" - | "CI" - | "CK" - | "CL" - | "CM" - | "CN" - | "CO" - | "CR" - | "CU" - | "CV" - | "CW" - | "CX" - | "CY" - | "CZ" - | "DE" - | "DJ" - | "DK" - | "DM" - | "DO" - | "DZ" - | "EC" - | "EE" - | "EG" - | "EH" - | "ER" - | "ES" - | "ET" - | "FI" - | "FJ" - | "FK" - | "FM" - | "FO" - | "FR" - | "GA" - | "GB" - | "GD" - | "GE" - | "GF" - | "GG" - | "GH" - | "GI" - | "GL" - | "GM" - | "GN" - | "GP" - | "GQ" - | "GR" - | "GS" - | "GT" - | "GU" - | "GW" - | "GY" - | "HK" - | "HM" - | "HN" - | "HR" - | "HT" - | "HU" - | "ID" - | "IE" - | "IL" - | "IM" - | "IN" - | "IO" - | "IQ" - | "IR" - | "IS" - | "IT" - | "JE" - | "JM" - | "JO" - | "JP" - | "KE" - | "KG" - | "KH" - | "KI" - | "KM" - | "KN" - | "KP" - | "KR" - | "KW" - | "KY" - | "KZ" - | "LA" - | "LB" - | "LC" - | "LI" - | "LK" - | "LR" - | "LS" - | "LT" - | "LU" - | "LV" - | "LY" - | "MA" - | "MC" - | "MD" - | "ME" - | "MF" - | "MG" - | "MH" - | "MK" - | "ML" - | "MM" - | "MN" - | "MO" - | "MP" - | "MQ" - | "MR" - | "MS" - | "MT" - | "MU" - | "MV" - | "MW" - | "MX" - | "MY" - | "MZ" - | "NA" - | "NC" - | "NE" - | "NF" - | "NG" - | "NI" - | "NL" - | "NO" - | "NP" - | "NR" - | "NU" - | "NZ" - | "OM" - | "PA" - | "PE" - | "PF" - | "PG" - | "PH" - | "PK" - | "PL" - | "PM" - | "PN" - | "PR" - | "PS" - | "PT" - | "PW" - | "PY" - | "QA" - | "RE" - | "RO" - | "RS" - | "RU" - | "RW" - | "SA" - | "SB" - | "SC" - | "SD" - | "SE" - | "SG" - | "SH" - | "SI" - | "SJ" - | "SK" - | "SL" - | "SM" - | "SN" - | "SO" - | "SR" - | "SS" - | "ST" - | "SV" - | "SX" - | "SY" - | "SZ" - | "TC" - | "TD" - | "TF" - | "TG" - | "TH" - | "TJ" - | "TK" - | "TL" - | "TM" - | "TN" - | "TO" - | "TP" - | "TR" - | "TT" - | "TV" - | "TW" - | "TZ" - | "UA" - | "UG" - | "US" - | "UY" - | "UZ" - | "VA" - | "VC" - | "VE" - | "VG" - | "VI" - | "VN" - | "VU" - | "WF" - | "WS" - | "YE" - | "YT" - | "ZA" - | "ZM" - | "ZW"; +export type ContactType = "PERSON" | "COMPANY" | "ASSOCIATION" | "PUBLIC_BODY" | "RESELLER"; +export type CountryCode = "AC" | "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AN" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TP" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW"; export type Currency = string; export type CurrentExpiryYear = number; @@ -606,11 +300,13 @@ export interface DeleteTagsForDomainRequest { DomainName: string; TagsToDelete: Array; } -export interface DeleteTagsForDomainResponse {} +export interface DeleteTagsForDomainResponse { +} export interface DisableDomainAutoRenewRequest { DomainName: string; } -export interface DisableDomainAutoRenewResponse {} +export interface DisableDomainAutoRenewResponse { +} export interface DisableDomainTransferLockRequest { DomainName: string; } @@ -650,17 +346,7 @@ export interface DnssecSigningAttributes { } export type DomainAuthCode = string; -export type DomainAvailability = - | "AVAILABLE" - | "AVAILABLE_RESERVED" - | "AVAILABLE_PREORDER" - | "UNAVAILABLE" - | "UNAVAILABLE_PREMIUM" - | "UNAVAILABLE_RESTRICTED" - | "RESERVED" - | "DONT_KNOW" - | "INVALID_NAME_FOR_TLD" - | "PENDING"; +export type DomainAvailability = "AVAILABLE" | "AVAILABLE_RESERVED" | "AVAILABLE_PREORDER" | "UNAVAILABLE" | "UNAVAILABLE_PREMIUM" | "UNAVAILABLE_RESTRICTED" | "RESERVED" | "DONT_KNOW" | "INVALID_NAME_FOR_TLD" | "PENDING"; export declare class DomainLimitExceeded extends EffectData.TaggedError( "DomainLimitExceeded", )<{ @@ -710,7 +396,8 @@ export type Email = string; export interface EnableDomainAutoRenewRequest { DomainName: string; } -export interface EnableDomainAutoRenewResponse {} +export interface EnableDomainAutoRenewResponse { +} export interface EnableDomainTransferLockRequest { DomainName: string; } @@ -724,41 +411,7 @@ export interface ExtraParam { Value: string; } export type ExtraParamList = Array; -export type ExtraParamName = - | "DUNS_NUMBER" - | "BRAND_NUMBER" - | "BIRTH_DEPARTMENT" - | "BIRTH_DATE_IN_YYYY_MM_DD" - | "BIRTH_COUNTRY" - | "BIRTH_CITY" - | "DOCUMENT_NUMBER" - | "AU_ID_NUMBER" - | "AU_ID_TYPE" - | "CA_LEGAL_TYPE" - | "CA_BUSINESS_ENTITY_TYPE" - | "CA_LEGAL_REPRESENTATIVE" - | "CA_LEGAL_REPRESENTATIVE_CAPACITY" - | "ES_IDENTIFICATION" - | "ES_IDENTIFICATION_TYPE" - | "ES_LEGAL_FORM" - | "FI_BUSINESS_NUMBER" - | "FI_ID_NUMBER" - | "FI_NATIONALITY" - | "FI_ORGANIZATION_TYPE" - | "IT_NATIONALITY" - | "IT_PIN" - | "IT_REGISTRANT_ENTITY_TYPE" - | "RU_PASSPORT_DATA" - | "SE_ID_NUMBER" - | "SG_ID_NUMBER" - | "VAT_NUMBER" - | "UK_CONTACT_TYPE" - | "UK_COMPANY_NUMBER" - | "EU_COUNTRY_OF_CITIZENSHIP" - | "AU_PRIORITY_TOKEN" - | "AU_ELIGIBILITY_TYPE" - | "AU_POLICY_REASON" - | "AU_REGISTRANT_NAME"; +export type ExtraParamName = "DUNS_NUMBER" | "BRAND_NUMBER" | "BIRTH_DEPARTMENT" | "BIRTH_DATE_IN_YYYY_MM_DD" | "BIRTH_COUNTRY" | "BIRTH_CITY" | "DOCUMENT_NUMBER" | "AU_ID_NUMBER" | "AU_ID_TYPE" | "CA_LEGAL_TYPE" | "CA_BUSINESS_ENTITY_TYPE" | "CA_LEGAL_REPRESENTATIVE" | "CA_LEGAL_REPRESENTATIVE_CAPACITY" | "ES_IDENTIFICATION" | "ES_IDENTIFICATION_TYPE" | "ES_LEGAL_FORM" | "FI_BUSINESS_NUMBER" | "FI_ID_NUMBER" | "FI_NATIONALITY" | "FI_ORGANIZATION_TYPE" | "IT_NATIONALITY" | "IT_PIN" | "IT_REGISTRANT_ENTITY_TYPE" | "RU_PASSPORT_DATA" | "SE_ID_NUMBER" | "SG_ID_NUMBER" | "VAT_NUMBER" | "UK_CONTACT_TYPE" | "UK_COMPANY_NUMBER" | "EU_COUNTRY_OF_CITIZENSHIP" | "AU_PRIORITY_TOKEN" | "AU_ELIGIBILITY_TYPE" | "AU_POLICY_REASON" | "AU_REGISTRANT_NAME"; export type ExtraParamValue = string; export type FIAuthKey = string; @@ -902,12 +555,7 @@ export declare class OperationLimitExceeded extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type OperationStatus = - | "SUBMITTED" - | "IN_PROGRESS" - | "ERROR" - | "SUCCESSFUL" - | "FAILED"; +export type OperationStatus = "SUBMITTED" | "IN_PROGRESS" | "ERROR" | "SUCCESSFUL" | "FAILED"; export type OperationStatusList = Array; export interface OperationSummary { OperationId?: string; @@ -920,28 +568,7 @@ export interface OperationSummary { LastUpdatedDate?: Date | string; } export type OperationSummaryList = Array; -export type OperationType = - | "REGISTER_DOMAIN" - | "DELETE_DOMAIN" - | "TRANSFER_IN_DOMAIN" - | "UPDATE_DOMAIN_CONTACT" - | "UPDATE_NAMESERVER" - | "CHANGE_PRIVACY_PROTECTION" - | "DOMAIN_LOCK" - | "ENABLE_AUTORENEW" - | "DISABLE_AUTORENEW" - | "ADD_DNSSEC" - | "REMOVE_DNSSEC" - | "EXPIRE_DOMAIN" - | "TRANSFER_OUT_DOMAIN" - | "CHANGE_DOMAIN_OWNER" - | "RENEW_DOMAIN" - | "PUSH_DOMAIN" - | "INTERNAL_TRANSFER_OUT_DOMAIN" - | "INTERNAL_TRANSFER_IN_DOMAIN" - | "RELEASE_TO_GANDI" - | "TRANSFER_ON_RENEW" - | "RESTORE_DOMAIN"; +export type OperationType = "REGISTER_DOMAIN" | "DELETE_DOMAIN" | "TRANSFER_IN_DOMAIN" | "UPDATE_DOMAIN_CONTACT" | "UPDATE_NAMESERVER" | "CHANGE_PRIVACY_PROTECTION" | "DOMAIN_LOCK" | "ENABLE_AUTORENEW" | "DISABLE_AUTORENEW" | "ADD_DNSSEC" | "REMOVE_DNSSEC" | "EXPIRE_DOMAIN" | "TRANSFER_OUT_DOMAIN" | "CHANGE_DOMAIN_OWNER" | "RENEW_DOMAIN" | "PUSH_DOMAIN" | "INTERNAL_TRANSFER_OUT_DOMAIN" | "INTERNAL_TRANSFER_IN_DOMAIN" | "RELEASE_TO_GANDI" | "TRANSFER_ON_RENEW" | "RESTORE_DOMAIN"; export type OperationTypeList = Array; export type Operator = "LE" | "GE" | "BEGINS_WITH"; export type PageMarker = string; @@ -1028,12 +655,7 @@ export interface SortCondition { export type SortOrder = "ASC" | "DESC"; export type State = string; -export type StatusFlag = - | "PENDING_ACCEPTANCE" - | "PENDING_CUSTOMER_ACTION" - | "PENDING_AUTHORIZATION" - | "PENDING_PAYMENT_VERIFICATION" - | "PENDING_SUPPORT_CASE"; +export type StatusFlag = "PENDING_ACCEPTANCE" | "PENDING_CUSTOMER_ACTION" | "PENDING_AUTHORIZATION" | "PENDING_PAYMENT_VERIFICATION" | "PENDING_SUPPORT_CASE"; export type Route53DomainsString = string; export interface Tag { @@ -1055,13 +677,7 @@ export declare class TLDRulesViolation extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type Transferable = - | "TRANSFERABLE" - | "UNTRANSFERABLE" - | "DONT_KNOW" - | "DOMAIN_IN_OWN_ACCOUNT" - | "DOMAIN_IN_ANOTHER_ACCOUNT" - | "PREMIUM_DOMAIN"; +export type Transferable = "TRANSFERABLE" | "UNTRANSFERABLE" | "DONT_KNOW" | "DOMAIN_IN_OWN_ACCOUNT" | "DOMAIN_IN_ANOTHER_ACCOUNT" | "PREMIUM_DOMAIN"; export interface TransferDomainRequest { DomainName: string; IdnLangCode?: string; @@ -1127,7 +743,8 @@ export interface UpdateTagsForDomainRequest { DomainName: string; TagsToUpdate?: Array; } -export interface UpdateTagsForDomainResponse {} +export interface UpdateTagsForDomainResponse { +} export type Value = string; export type Values = Array; @@ -1180,13 +797,19 @@ export declare namespace CancelDomainTransferToAnotherAwsAccount { export declare namespace CheckDomainAvailability { export type Input = CheckDomainAvailabilityRequest; export type Output = CheckDomainAvailabilityResponse; - export type Error = InvalidInput | UnsupportedTLD | CommonAwsError; + export type Error = + | InvalidInput + | UnsupportedTLD + | CommonAwsError; } export declare namespace CheckDomainTransferability { export type Input = CheckDomainTransferabilityRequest; export type Output = CheckDomainTransferabilityResponse; - export type Error = InvalidInput | UnsupportedTLD | CommonAwsError; + export type Error = + | InvalidInput + | UnsupportedTLD + | CommonAwsError; } export declare namespace DeleteDomain { @@ -1213,7 +836,10 @@ export declare namespace DeleteTagsForDomain { export declare namespace DisableDomainAutoRenew { export type Input = DisableDomainAutoRenewRequest; export type Output = DisableDomainAutoRenewResponse; - export type Error = InvalidInput | UnsupportedTLD | CommonAwsError; + export type Error = + | InvalidInput + | UnsupportedTLD + | CommonAwsError; } export declare namespace DisableDomainTransferLock { @@ -1275,37 +901,52 @@ export declare namespace GetContactReachabilityStatus { export declare namespace GetDomainDetail { export type Input = GetDomainDetailRequest; export type Output = GetDomainDetailResponse; - export type Error = InvalidInput | UnsupportedTLD | CommonAwsError; + export type Error = + | InvalidInput + | UnsupportedTLD + | CommonAwsError; } export declare namespace GetDomainSuggestions { export type Input = GetDomainSuggestionsRequest; export type Output = GetDomainSuggestionsResponse; - export type Error = InvalidInput | UnsupportedTLD | CommonAwsError; + export type Error = + | InvalidInput + | UnsupportedTLD + | CommonAwsError; } export declare namespace GetOperationDetail { export type Input = GetOperationDetailRequest; export type Output = GetOperationDetailResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListDomains { export type Input = ListDomainsRequest; export type Output = ListDomainsResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListOperations { export type Input = ListOperationsRequest; export type Output = ListOperationsResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListPrices { export type Input = ListPricesRequest; export type Output = ListPricesResponse; - export type Error = InvalidInput | UnsupportedTLD | CommonAwsError; + export type Error = + | InvalidInput + | UnsupportedTLD + | CommonAwsError; } export declare namespace ListTagsForDomain { @@ -1376,13 +1017,18 @@ export declare namespace ResendContactReachabilityEmail { export declare namespace ResendOperationAuthorization { export type Input = ResendOperationAuthorizationRequest; export type Output = {}; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace RetrieveDomainAuthCode { export type Input = RetrieveDomainAuthCodeRequest; export type Output = RetrieveDomainAuthCodeResponse; - export type Error = InvalidInput | UnsupportedTLD | CommonAwsError; + export type Error = + | InvalidInput + | UnsupportedTLD + | CommonAwsError; } export declare namespace TransferDomain { @@ -1458,15 +1104,10 @@ export declare namespace UpdateTagsForDomain { export declare namespace ViewBilling { export type Input = ViewBillingRequest; export type Output = ViewBillingResponse; - export type Error = InvalidInput | CommonAwsError; -} - -export type Route53DomainsErrors = - | DnssecLimitExceeded - | DomainLimitExceeded - | DuplicateRequest - | InvalidInput - | OperationLimitExceeded - | TLDRulesViolation - | UnsupportedTLD - | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; +} + +export type Route53DomainsErrors = DnssecLimitExceeded | DomainLimitExceeded | DuplicateRequest | InvalidInput | OperationLimitExceeded | TLDRulesViolation | UnsupportedTLD | CommonAwsError; + diff --git a/src/services/route-53/index.ts b/src/services/route-53/index.ts index 06f4862a..0b197445 100644 --- a/src/services/route-53/index.ts +++ b/src/services/route-53/index.ts @@ -5,25 +5,7 @@ import type { Route53 as _Route53Client } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,241 +15,241 @@ const metadata = { sigV4ServiceName: "route53", endpointPrefix: "route53", operations: { - ActivateKeySigningKey: { + "ActivateKeySigningKey": { http: "POST /2013-04-01/keysigningkey/{HostedZoneId}/{Name}/activate", }, - AssociateVPCWithHostedZone: { + "AssociateVPCWithHostedZone": { http: "POST /2013-04-01/hostedzone/{HostedZoneId}/associatevpc", }, - ChangeCidrCollection: { + "ChangeCidrCollection": { http: "POST /2013-04-01/cidrcollection/{Id}", }, - ChangeResourceRecordSets: { + "ChangeResourceRecordSets": { http: "POST /2013-04-01/hostedzone/{HostedZoneId}/rrset", }, - ChangeTagsForResource: { + "ChangeTagsForResource": { http: "POST /2013-04-01/tags/{ResourceType}/{ResourceId}", }, - CreateCidrCollection: { + "CreateCidrCollection": { http: "POST /2013-04-01/cidrcollection", outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateHealthCheck: { + "CreateHealthCheck": { http: "POST /2013-04-01/healthcheck", outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateHostedZone: { + "CreateHostedZone": { http: "POST /2013-04-01/hostedzone", outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateKeySigningKey: { + "CreateKeySigningKey": { http: "POST /2013-04-01/keysigningkey", outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateQueryLoggingConfig: { + "CreateQueryLoggingConfig": { http: "POST /2013-04-01/queryloggingconfig", outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateReusableDelegationSet: { + "CreateReusableDelegationSet": { http: "POST /2013-04-01/delegationset", outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateTrafficPolicy: { + "CreateTrafficPolicy": { http: "POST /2013-04-01/trafficpolicy", outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateTrafficPolicyInstance: { + "CreateTrafficPolicyInstance": { http: "POST /2013-04-01/trafficpolicyinstance", outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateTrafficPolicyVersion: { + "CreateTrafficPolicyVersion": { http: "POST /2013-04-01/trafficpolicy/{Id}", outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateVPCAssociationAuthorization: { + "CreateVPCAssociationAuthorization": { http: "POST /2013-04-01/hostedzone/{HostedZoneId}/authorizevpcassociation", }, - DeactivateKeySigningKey: { + "DeactivateKeySigningKey": { http: "POST /2013-04-01/keysigningkey/{HostedZoneId}/{Name}/deactivate", }, - DeleteCidrCollection: { + "DeleteCidrCollection": { http: "DELETE /2013-04-01/cidrcollection/{Id}", }, - DeleteHealthCheck: { + "DeleteHealthCheck": { http: "DELETE /2013-04-01/healthcheck/{HealthCheckId}", }, - DeleteHostedZone: { + "DeleteHostedZone": { http: "DELETE /2013-04-01/hostedzone/{Id}", }, - DeleteKeySigningKey: { + "DeleteKeySigningKey": { http: "DELETE /2013-04-01/keysigningkey/{HostedZoneId}/{Name}", }, - DeleteQueryLoggingConfig: { + "DeleteQueryLoggingConfig": { http: "DELETE /2013-04-01/queryloggingconfig/{Id}", }, - DeleteReusableDelegationSet: { + "DeleteReusableDelegationSet": { http: "DELETE /2013-04-01/delegationset/{Id}", }, - DeleteTrafficPolicy: { + "DeleteTrafficPolicy": { http: "DELETE /2013-04-01/trafficpolicy/{Id}/{Version}", }, - DeleteTrafficPolicyInstance: { + "DeleteTrafficPolicyInstance": { http: "DELETE /2013-04-01/trafficpolicyinstance/{Id}", }, - DeleteVPCAssociationAuthorization: { + "DeleteVPCAssociationAuthorization": { http: "POST /2013-04-01/hostedzone/{HostedZoneId}/deauthorizevpcassociation", }, - DisableHostedZoneDNSSEC: { + "DisableHostedZoneDNSSEC": { http: "POST /2013-04-01/hostedzone/{HostedZoneId}/disable-dnssec", }, - DisassociateVPCFromHostedZone: { + "DisassociateVPCFromHostedZone": { http: "POST /2013-04-01/hostedzone/{HostedZoneId}/disassociatevpc", }, - EnableHostedZoneDNSSEC: { + "EnableHostedZoneDNSSEC": { http: "POST /2013-04-01/hostedzone/{HostedZoneId}/enable-dnssec", }, - GetAccountLimit: { + "GetAccountLimit": { http: "GET /2013-04-01/accountlimit/{Type}", }, - GetChange: { + "GetChange": { http: "GET /2013-04-01/change/{Id}", }, - GetCheckerIpRanges: { + "GetCheckerIpRanges": { http: "GET /2013-04-01/checkeripranges", }, - GetDNSSEC: { + "GetDNSSEC": { http: "GET /2013-04-01/hostedzone/{HostedZoneId}/dnssec", }, - GetGeoLocation: { + "GetGeoLocation": { http: "GET /2013-04-01/geolocation", }, - GetHealthCheck: { + "GetHealthCheck": { http: "GET /2013-04-01/healthcheck/{HealthCheckId}", }, - GetHealthCheckCount: { + "GetHealthCheckCount": { http: "GET /2013-04-01/healthcheckcount", }, - GetHealthCheckLastFailureReason: { + "GetHealthCheckLastFailureReason": { http: "GET /2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason", }, - GetHealthCheckStatus: { + "GetHealthCheckStatus": { http: "GET /2013-04-01/healthcheck/{HealthCheckId}/status", }, - GetHostedZone: { + "GetHostedZone": { http: "GET /2013-04-01/hostedzone/{Id}", }, - GetHostedZoneCount: { + "GetHostedZoneCount": { http: "GET /2013-04-01/hostedzonecount", }, - GetHostedZoneLimit: { + "GetHostedZoneLimit": { http: "GET /2013-04-01/hostedzonelimit/{HostedZoneId}/{Type}", }, - GetQueryLoggingConfig: { + "GetQueryLoggingConfig": { http: "GET /2013-04-01/queryloggingconfig/{Id}", }, - GetReusableDelegationSet: { + "GetReusableDelegationSet": { http: "GET /2013-04-01/delegationset/{Id}", }, - GetReusableDelegationSetLimit: { + "GetReusableDelegationSetLimit": { http: "GET /2013-04-01/reusabledelegationsetlimit/{DelegationSetId}/{Type}", }, - GetTrafficPolicy: { + "GetTrafficPolicy": { http: "GET /2013-04-01/trafficpolicy/{Id}/{Version}", }, - GetTrafficPolicyInstance: { + "GetTrafficPolicyInstance": { http: "GET /2013-04-01/trafficpolicyinstance/{Id}", }, - GetTrafficPolicyInstanceCount: { + "GetTrafficPolicyInstanceCount": { http: "GET /2013-04-01/trafficpolicyinstancecount", }, - ListCidrBlocks: { + "ListCidrBlocks": { http: "GET /2013-04-01/cidrcollection/{CollectionId}/cidrblocks", }, - ListCidrCollections: { + "ListCidrCollections": { http: "GET /2013-04-01/cidrcollection", }, - ListCidrLocations: { + "ListCidrLocations": { http: "GET /2013-04-01/cidrcollection/{CollectionId}", }, - ListGeoLocations: { + "ListGeoLocations": { http: "GET /2013-04-01/geolocations", }, - ListHealthChecks: { + "ListHealthChecks": { http: "GET /2013-04-01/healthcheck", }, - ListHostedZones: { + "ListHostedZones": { http: "GET /2013-04-01/hostedzone", }, - ListHostedZonesByName: { + "ListHostedZonesByName": { http: "GET /2013-04-01/hostedzonesbyname", }, - ListHostedZonesByVPC: { + "ListHostedZonesByVPC": { http: "GET /2013-04-01/hostedzonesbyvpc", }, - ListQueryLoggingConfigs: { + "ListQueryLoggingConfigs": { http: "GET /2013-04-01/queryloggingconfig", }, - ListResourceRecordSets: { + "ListResourceRecordSets": { http: "GET /2013-04-01/hostedzone/{HostedZoneId}/rrset", }, - ListReusableDelegationSets: { + "ListReusableDelegationSets": { http: "GET /2013-04-01/delegationset", }, - ListTagsForResource: { + "ListTagsForResource": { http: "GET /2013-04-01/tags/{ResourceType}/{ResourceId}", }, - ListTagsForResources: { + "ListTagsForResources": { http: "POST /2013-04-01/tags/{ResourceType}", }, - ListTrafficPolicies: { + "ListTrafficPolicies": { http: "GET /2013-04-01/trafficpolicies", }, - ListTrafficPolicyInstances: { + "ListTrafficPolicyInstances": { http: "GET /2013-04-01/trafficpolicyinstances", }, - ListTrafficPolicyInstancesByHostedZone: { + "ListTrafficPolicyInstancesByHostedZone": { http: "GET /2013-04-01/trafficpolicyinstances/hostedzone", }, - ListTrafficPolicyInstancesByPolicy: { + "ListTrafficPolicyInstancesByPolicy": { http: "GET /2013-04-01/trafficpolicyinstances/trafficpolicy", }, - ListTrafficPolicyVersions: { + "ListTrafficPolicyVersions": { http: "GET /2013-04-01/trafficpolicies/{Id}/versions", }, - ListVPCAssociationAuthorizations: { + "ListVPCAssociationAuthorizations": { http: "GET /2013-04-01/hostedzone/{HostedZoneId}/authorizevpcassociation", }, - TestDNSAnswer: { + "TestDNSAnswer": { http: "GET /2013-04-01/testdnsanswer", }, - UpdateHealthCheck: { + "UpdateHealthCheck": { http: "POST /2013-04-01/healthcheck/{HealthCheckId}", }, - UpdateHostedZoneComment: { + "UpdateHostedZoneComment": { http: "POST /2013-04-01/hostedzone/{Id}", }, - UpdateTrafficPolicyComment: { + "UpdateTrafficPolicyComment": { http: "POST /2013-04-01/trafficpolicy/{Id}/{Version}", }, - UpdateTrafficPolicyInstance: { + "UpdateTrafficPolicyInstance": { http: "POST /2013-04-01/trafficpolicyinstance/{Id}", }, }, diff --git a/src/services/route-53/types.ts b/src/services/route-53/types.ts index 43f425eb..4af5621b 100644 --- a/src/services/route-53/types.ts +++ b/src/services/route-53/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class Route53 extends AWSServiceClient { @@ -42,202 +8,103 @@ export declare class Route53 extends AWSServiceClient { input: ActivateKeySigningKeyRequest, ): Effect.Effect< ActivateKeySigningKeyResponse, - | ConcurrentModification - | InvalidInput - | InvalidKeySigningKeyStatus - | InvalidKMSArn - | InvalidSigningStatus - | NoSuchKeySigningKey - | CommonAwsError + ConcurrentModification | InvalidInput | InvalidKeySigningKeyStatus | InvalidKMSArn | InvalidSigningStatus | NoSuchKeySigningKey | CommonAwsError >; associateVPCWithHostedZone( input: AssociateVPCWithHostedZoneRequest, ): Effect.Effect< AssociateVPCWithHostedZoneResponse, - | ConflictingDomainExists - | InvalidInput - | InvalidVPCId - | LimitsExceeded - | NoSuchHostedZone - | NotAuthorizedException - | PriorRequestNotComplete - | PublicZoneVPCAssociation - | CommonAwsError + ConflictingDomainExists | InvalidInput | InvalidVPCId | LimitsExceeded | NoSuchHostedZone | NotAuthorizedException | PriorRequestNotComplete | PublicZoneVPCAssociation | CommonAwsError >; changeCidrCollection( input: ChangeCidrCollectionRequest, ): Effect.Effect< ChangeCidrCollectionResponse, - | CidrBlockInUseException - | CidrCollectionVersionMismatchException - | ConcurrentModification - | InvalidInput - | LimitsExceeded - | NoSuchCidrCollectionException - | CommonAwsError + CidrBlockInUseException | CidrCollectionVersionMismatchException | ConcurrentModification | InvalidInput | LimitsExceeded | NoSuchCidrCollectionException | CommonAwsError >; changeResourceRecordSets( input: ChangeResourceRecordSetsRequest, ): Effect.Effect< ChangeResourceRecordSetsResponse, - | InvalidChangeBatch - | InvalidInput - | NoSuchHealthCheck - | NoSuchHostedZone - | PriorRequestNotComplete - | CommonAwsError + InvalidChangeBatch | InvalidInput | NoSuchHealthCheck | NoSuchHostedZone | PriorRequestNotComplete | CommonAwsError >; changeTagsForResource( input: ChangeTagsForResourceRequest, ): Effect.Effect< ChangeTagsForResourceResponse, - | InvalidInput - | NoSuchHealthCheck - | NoSuchHostedZone - | PriorRequestNotComplete - | ThrottlingException - | CommonAwsError + InvalidInput | NoSuchHealthCheck | NoSuchHostedZone | PriorRequestNotComplete | ThrottlingException | CommonAwsError >; createCidrCollection( input: CreateCidrCollectionRequest, ): Effect.Effect< CreateCidrCollectionResponse, - | CidrCollectionAlreadyExistsException - | ConcurrentModification - | InvalidInput - | LimitsExceeded - | CommonAwsError + CidrCollectionAlreadyExistsException | ConcurrentModification | InvalidInput | LimitsExceeded | CommonAwsError >; createHealthCheck( input: CreateHealthCheckRequest, ): Effect.Effect< CreateHealthCheckResponse, - | HealthCheckAlreadyExists - | InvalidInput - | TooManyHealthChecks - | CommonAwsError + HealthCheckAlreadyExists | InvalidInput | TooManyHealthChecks | CommonAwsError >; createHostedZone( input: CreateHostedZoneRequest, ): Effect.Effect< CreateHostedZoneResponse, - | ConflictingDomainExists - | DelegationSetNotAvailable - | DelegationSetNotReusable - | HostedZoneAlreadyExists - | InvalidDomainName - | InvalidInput - | InvalidVPCId - | NoSuchDelegationSet - | TooManyHostedZones - | CommonAwsError + ConflictingDomainExists | DelegationSetNotAvailable | DelegationSetNotReusable | HostedZoneAlreadyExists | InvalidDomainName | InvalidInput | InvalidVPCId | NoSuchDelegationSet | TooManyHostedZones | CommonAwsError >; createKeySigningKey( input: CreateKeySigningKeyRequest, ): Effect.Effect< CreateKeySigningKeyResponse, - | ConcurrentModification - | InvalidArgument - | InvalidInput - | InvalidKeySigningKeyName - | InvalidKeySigningKeyStatus - | InvalidKMSArn - | InvalidSigningStatus - | KeySigningKeyAlreadyExists - | NoSuchHostedZone - | TooManyKeySigningKeys - | CommonAwsError + ConcurrentModification | InvalidArgument | InvalidInput | InvalidKeySigningKeyName | InvalidKeySigningKeyStatus | InvalidKMSArn | InvalidSigningStatus | KeySigningKeyAlreadyExists | NoSuchHostedZone | TooManyKeySigningKeys | CommonAwsError >; createQueryLoggingConfig( input: CreateQueryLoggingConfigRequest, ): Effect.Effect< CreateQueryLoggingConfigResponse, - | ConcurrentModification - | InsufficientCloudWatchLogsResourcePolicy - | InvalidInput - | NoSuchCloudWatchLogsLogGroup - | NoSuchHostedZone - | QueryLoggingConfigAlreadyExists - | CommonAwsError + ConcurrentModification | InsufficientCloudWatchLogsResourcePolicy | InvalidInput | NoSuchCloudWatchLogsLogGroup | NoSuchHostedZone | QueryLoggingConfigAlreadyExists | CommonAwsError >; createReusableDelegationSet( input: CreateReusableDelegationSetRequest, ): Effect.Effect< CreateReusableDelegationSetResponse, - | DelegationSetAlreadyCreated - | DelegationSetAlreadyReusable - | DelegationSetNotAvailable - | HostedZoneNotFound - | InvalidArgument - | InvalidInput - | LimitsExceeded - | CommonAwsError + DelegationSetAlreadyCreated | DelegationSetAlreadyReusable | DelegationSetNotAvailable | HostedZoneNotFound | InvalidArgument | InvalidInput | LimitsExceeded | CommonAwsError >; createTrafficPolicy( input: CreateTrafficPolicyRequest, ): Effect.Effect< CreateTrafficPolicyResponse, - | InvalidInput - | InvalidTrafficPolicyDocument - | TooManyTrafficPolicies - | TrafficPolicyAlreadyExists - | CommonAwsError + InvalidInput | InvalidTrafficPolicyDocument | TooManyTrafficPolicies | TrafficPolicyAlreadyExists | CommonAwsError >; createTrafficPolicyInstance( input: CreateTrafficPolicyInstanceRequest, ): Effect.Effect< CreateTrafficPolicyInstanceResponse, - | InvalidInput - | NoSuchHostedZone - | NoSuchTrafficPolicy - | TooManyTrafficPolicyInstances - | TrafficPolicyInstanceAlreadyExists - | CommonAwsError + InvalidInput | NoSuchHostedZone | NoSuchTrafficPolicy | TooManyTrafficPolicyInstances | TrafficPolicyInstanceAlreadyExists | CommonAwsError >; createTrafficPolicyVersion( input: CreateTrafficPolicyVersionRequest, ): Effect.Effect< CreateTrafficPolicyVersionResponse, - | ConcurrentModification - | InvalidInput - | InvalidTrafficPolicyDocument - | NoSuchTrafficPolicy - | TooManyTrafficPolicyVersionsForCurrentPolicy - | CommonAwsError + ConcurrentModification | InvalidInput | InvalidTrafficPolicyDocument | NoSuchTrafficPolicy | TooManyTrafficPolicyVersionsForCurrentPolicy | CommonAwsError >; createVPCAssociationAuthorization( input: CreateVPCAssociationAuthorizationRequest, ): Effect.Effect< CreateVPCAssociationAuthorizationResponse, - | ConcurrentModification - | InvalidInput - | InvalidVPCId - | NoSuchHostedZone - | TooManyVPCAssociationAuthorizations - | CommonAwsError + ConcurrentModification | InvalidInput | InvalidVPCId | NoSuchHostedZone | TooManyVPCAssociationAuthorizations | CommonAwsError >; deactivateKeySigningKey( input: DeactivateKeySigningKeyRequest, ): Effect.Effect< DeactivateKeySigningKeyResponse, - | ConcurrentModification - | InvalidInput - | InvalidKeySigningKeyStatus - | InvalidSigningStatus - | KeySigningKeyInParentDSRecord - | KeySigningKeyInUse - | NoSuchKeySigningKey - | CommonAwsError + ConcurrentModification | InvalidInput | InvalidKeySigningKeyStatus | InvalidSigningStatus | KeySigningKeyInParentDSRecord | KeySigningKeyInUse | NoSuchKeySigningKey | CommonAwsError >; deleteCidrCollection( input: DeleteCidrCollectionRequest, ): Effect.Effect< DeleteCidrCollectionResponse, - | CidrCollectionInUseException - | ConcurrentModification - | InvalidInput - | NoSuchCidrCollectionException - | CommonAwsError + CidrCollectionInUseException | ConcurrentModification | InvalidInput | NoSuchCidrCollectionException | CommonAwsError >; deleteHealthCheck( input: DeleteHealthCheckRequest, @@ -249,117 +116,68 @@ export declare class Route53 extends AWSServiceClient { input: DeleteHostedZoneRequest, ): Effect.Effect< DeleteHostedZoneResponse, - | HostedZoneNotEmpty - | InvalidDomainName - | InvalidInput - | NoSuchHostedZone - | PriorRequestNotComplete - | CommonAwsError + HostedZoneNotEmpty | InvalidDomainName | InvalidInput | NoSuchHostedZone | PriorRequestNotComplete | CommonAwsError >; deleteKeySigningKey( input: DeleteKeySigningKeyRequest, ): Effect.Effect< DeleteKeySigningKeyResponse, - | ConcurrentModification - | InvalidInput - | InvalidKeySigningKeyStatus - | InvalidKMSArn - | InvalidSigningStatus - | NoSuchKeySigningKey - | CommonAwsError + ConcurrentModification | InvalidInput | InvalidKeySigningKeyStatus | InvalidKMSArn | InvalidSigningStatus | NoSuchKeySigningKey | CommonAwsError >; deleteQueryLoggingConfig( input: DeleteQueryLoggingConfigRequest, ): Effect.Effect< DeleteQueryLoggingConfigResponse, - | ConcurrentModification - | InvalidInput - | NoSuchQueryLoggingConfig - | CommonAwsError + ConcurrentModification | InvalidInput | NoSuchQueryLoggingConfig | CommonAwsError >; deleteReusableDelegationSet( input: DeleteReusableDelegationSetRequest, ): Effect.Effect< DeleteReusableDelegationSetResponse, - | DelegationSetInUse - | DelegationSetNotReusable - | InvalidInput - | NoSuchDelegationSet - | CommonAwsError + DelegationSetInUse | DelegationSetNotReusable | InvalidInput | NoSuchDelegationSet | CommonAwsError >; deleteTrafficPolicy( input: DeleteTrafficPolicyRequest, ): Effect.Effect< DeleteTrafficPolicyResponse, - | ConcurrentModification - | InvalidInput - | NoSuchTrafficPolicy - | TrafficPolicyInUse - | CommonAwsError + ConcurrentModification | InvalidInput | NoSuchTrafficPolicy | TrafficPolicyInUse | CommonAwsError >; deleteTrafficPolicyInstance( input: DeleteTrafficPolicyInstanceRequest, ): Effect.Effect< DeleteTrafficPolicyInstanceResponse, - | InvalidInput - | NoSuchTrafficPolicyInstance - | PriorRequestNotComplete - | CommonAwsError + InvalidInput | NoSuchTrafficPolicyInstance | PriorRequestNotComplete | CommonAwsError >; deleteVPCAssociationAuthorization( input: DeleteVPCAssociationAuthorizationRequest, ): Effect.Effect< DeleteVPCAssociationAuthorizationResponse, - | ConcurrentModification - | InvalidInput - | InvalidVPCId - | NoSuchHostedZone - | VPCAssociationAuthorizationNotFound - | CommonAwsError + ConcurrentModification | InvalidInput | InvalidVPCId | NoSuchHostedZone | VPCAssociationAuthorizationNotFound | CommonAwsError >; disableHostedZoneDNSSEC( input: DisableHostedZoneDNSSECRequest, ): Effect.Effect< DisableHostedZoneDNSSECResponse, - | ConcurrentModification - | DNSSECNotFound - | InvalidArgument - | InvalidInput - | InvalidKeySigningKeyStatus - | InvalidKMSArn - | KeySigningKeyInParentDSRecord - | NoSuchHostedZone - | CommonAwsError + ConcurrentModification | DNSSECNotFound | InvalidArgument | InvalidInput | InvalidKeySigningKeyStatus | InvalidKMSArn | KeySigningKeyInParentDSRecord | NoSuchHostedZone | CommonAwsError >; disassociateVPCFromHostedZone( input: DisassociateVPCFromHostedZoneRequest, ): Effect.Effect< DisassociateVPCFromHostedZoneResponse, - | InvalidInput - | InvalidVPCId - | LastVPCAssociation - | NoSuchHostedZone - | VPCAssociationNotFound - | CommonAwsError + InvalidInput | InvalidVPCId | LastVPCAssociation | NoSuchHostedZone | VPCAssociationNotFound | CommonAwsError >; enableHostedZoneDNSSEC( input: EnableHostedZoneDNSSECRequest, ): Effect.Effect< EnableHostedZoneDNSSECResponse, - | ConcurrentModification - | DNSSECNotFound - | HostedZonePartiallyDelegated - | InvalidArgument - | InvalidInput - | InvalidKeySigningKeyStatus - | InvalidKMSArn - | KeySigningKeyWithActiveStatusNotFound - | NoSuchHostedZone - | CommonAwsError + ConcurrentModification | DNSSECNotFound | HostedZonePartiallyDelegated | InvalidArgument | InvalidInput | InvalidKeySigningKeyStatus | InvalidKMSArn | KeySigningKeyWithActiveStatusNotFound | NoSuchHostedZone | CommonAwsError >; getAccountLimit( input: GetAccountLimitRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccountLimitResponse, + InvalidInput | CommonAwsError + >; getChange( input: GetChangeRequest, ): Effect.Effect< @@ -368,7 +186,10 @@ export declare class Route53 extends AWSServiceClient { >; getCheckerIpRanges( input: GetCheckerIpRangesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCheckerIpRangesResponse, + CommonAwsError + >; getDNSSEC( input: GetDNSSECRequest, ): Effect.Effect< @@ -389,7 +210,10 @@ export declare class Route53 extends AWSServiceClient { >; getHealthCheckCount( input: GetHealthCheckCountRequest, - ): Effect.Effect; + ): Effect.Effect< + GetHealthCheckCountResponse, + CommonAwsError + >; getHealthCheckLastFailureReason( input: GetHealthCheckLastFailureReasonRequest, ): Effect.Effect< @@ -410,7 +234,10 @@ export declare class Route53 extends AWSServiceClient { >; getHostedZoneCount( input: GetHostedZoneCountRequest, - ): Effect.Effect; + ): Effect.Effect< + GetHostedZoneCountResponse, + InvalidInput | CommonAwsError + >; getHostedZoneLimit( input: GetHostedZoneLimitRequest, ): Effect.Effect< @@ -427,10 +254,7 @@ export declare class Route53 extends AWSServiceClient { input: GetReusableDelegationSetRequest, ): Effect.Effect< GetReusableDelegationSetResponse, - | DelegationSetNotReusable - | InvalidInput - | NoSuchDelegationSet - | CommonAwsError + DelegationSetNotReusable | InvalidInput | NoSuchDelegationSet | CommonAwsError >; getReusableDelegationSetLimit( input: GetReusableDelegationSetLimitRequest, @@ -452,19 +276,22 @@ export declare class Route53 extends AWSServiceClient { >; getTrafficPolicyInstanceCount( input: GetTrafficPolicyInstanceCountRequest, - ): Effect.Effect; + ): Effect.Effect< + GetTrafficPolicyInstanceCountResponse, + CommonAwsError + >; listCidrBlocks( input: ListCidrBlocksRequest, ): Effect.Effect< ListCidrBlocksResponse, - | InvalidInput - | NoSuchCidrCollectionException - | NoSuchCidrLocationException - | CommonAwsError + InvalidInput | NoSuchCidrCollectionException | NoSuchCidrLocationException | CommonAwsError >; listCidrCollections( input: ListCidrCollectionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListCidrCollectionsResponse, + InvalidInput | CommonAwsError + >; listCidrLocations( input: ListCidrLocationsRequest, ): Effect.Effect< @@ -473,7 +300,10 @@ export declare class Route53 extends AWSServiceClient { >; listGeoLocations( input: ListGeoLocationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListGeoLocationsResponse, + InvalidInput | CommonAwsError + >; listHealthChecks( input: ListHealthChecksRequest, ): Effect.Effect< @@ -484,10 +314,7 @@ export declare class Route53 extends AWSServiceClient { input: ListHostedZonesRequest, ): Effect.Effect< ListHostedZonesResponse, - | DelegationSetNotReusable - | InvalidInput - | NoSuchDelegationSet - | CommonAwsError + DelegationSetNotReusable | InvalidInput | NoSuchDelegationSet | CommonAwsError >; listHostedZonesByName( input: ListHostedZonesByNameRequest, @@ -523,27 +350,20 @@ export declare class Route53 extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidInput - | NoSuchHealthCheck - | NoSuchHostedZone - | PriorRequestNotComplete - | ThrottlingException - | CommonAwsError + InvalidInput | NoSuchHealthCheck | NoSuchHostedZone | PriorRequestNotComplete | ThrottlingException | CommonAwsError >; listTagsForResources( input: ListTagsForResourcesRequest, ): Effect.Effect< ListTagsForResourcesResponse, - | InvalidInput - | NoSuchHealthCheck - | NoSuchHostedZone - | PriorRequestNotComplete - | ThrottlingException - | CommonAwsError + InvalidInput | NoSuchHealthCheck | NoSuchHostedZone | PriorRequestNotComplete | ThrottlingException | CommonAwsError >; listTrafficPolicies( input: ListTrafficPoliciesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTrafficPoliciesResponse, + InvalidInput | CommonAwsError + >; listTrafficPolicyInstances( input: ListTrafficPolicyInstancesRequest, ): Effect.Effect< @@ -554,19 +374,13 @@ export declare class Route53 extends AWSServiceClient { input: ListTrafficPolicyInstancesByHostedZoneRequest, ): Effect.Effect< ListTrafficPolicyInstancesByHostedZoneResponse, - | InvalidInput - | NoSuchHostedZone - | NoSuchTrafficPolicyInstance - | CommonAwsError + InvalidInput | NoSuchHostedZone | NoSuchTrafficPolicyInstance | CommonAwsError >; listTrafficPolicyInstancesByPolicy( input: ListTrafficPolicyInstancesByPolicyRequest, ): Effect.Effect< ListTrafficPolicyInstancesByPolicyResponse, - | InvalidInput - | NoSuchTrafficPolicy - | NoSuchTrafficPolicyInstance - | CommonAwsError + InvalidInput | NoSuchTrafficPolicy | NoSuchTrafficPolicyInstance | CommonAwsError >; listTrafficPolicyVersions( input: ListTrafficPolicyVersionsRequest, @@ -590,10 +404,7 @@ export declare class Route53 extends AWSServiceClient { input: UpdateHealthCheckRequest, ): Effect.Effect< UpdateHealthCheckResponse, - | HealthCheckVersionMismatch - | InvalidInput - | NoSuchHealthCheck - | CommonAwsError + HealthCheckVersionMismatch | InvalidInput | NoSuchHealthCheck | CommonAwsError >; updateHostedZoneComment( input: UpdateHostedZoneCommentRequest, @@ -611,12 +422,7 @@ export declare class Route53 extends AWSServiceClient { input: UpdateTrafficPolicyInstanceRequest, ): Effect.Effect< UpdateTrafficPolicyInstanceResponse, - | ConflictingTypes - | InvalidInput - | NoSuchTrafficPolicy - | NoSuchTrafficPolicyInstance - | PriorRequestNotComplete - | CommonAwsError + ConflictingTypes | InvalidInput | NoSuchTrafficPolicy | NoSuchTrafficPolicyInstance | PriorRequestNotComplete | CommonAwsError >; } @@ -624,12 +430,7 @@ export interface AccountLimit { Type: AccountLimitType; Value: number; } -export type AccountLimitType = - | "MAX_HEALTH_CHECKS_BY_OWNER" - | "MAX_HOSTED_ZONES_BY_OWNER" - | "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER" - | "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER" - | "MAX_TRAFFIC_POLICIES_BY_OWNER"; +export type AccountLimitType = "MAX_HEALTH_CHECKS_BY_OWNER" | "MAX_HOSTED_ZONES_BY_OWNER" | "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER" | "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER" | "MAX_TRAFFIC_POLICIES_BY_OWNER"; export interface ActivateKeySigningKeyRequest { HostedZoneId: string; Name: string; @@ -708,7 +509,8 @@ export interface ChangeTagsForResourceRequest { AddTags?: Array; RemoveTagKeys?: Array; } -export interface ChangeTagsForResourceResponse {} +export interface ChangeTagsForResourceResponse { +} export type CheckerIpRanges = Array; export type ChildHealthCheckList = Array; export type Cidr = string; @@ -774,52 +576,7 @@ export interface CloudWatchAlarmConfiguration { } export type CloudWatchLogsLogGroupArn = string; -export type CloudWatchRegion = - | "us-east-1" - | "us-east-2" - | "us-west-1" - | "us-west-2" - | "ca-central-1" - | "eu-central-1" - | "eu-central-2" - | "eu-west-1" - | "eu-west-2" - | "eu-west-3" - | "ap-east-1" - | "me-south-1" - | "me-central-1" - | "ap-south-1" - | "ap-south-2" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-southeast-3" - | "ap-northeast-1" - | "ap-northeast-2" - | "ap-northeast-3" - | "eu-north-1" - | "sa-east-1" - | "cn-northwest-1" - | "cn-north-1" - | "af-south-1" - | "eu-south-1" - | "eu-south-2" - | "us-gov-west-1" - | "us-gov-east-1" - | "us-iso-east-1" - | "us-iso-west-1" - | "us-isob-east-1" - | "ap-southeast-4" - | "il-central-1" - | "ca-west-1" - | "ap-southeast-5" - | "mx-central-1" - | "us-isof-south-1" - | "us-isof-east-1" - | "ap-southeast-7" - | "ap-east-2" - | "eu-isoe-west-1" - | "ap-southeast-6" - | "us-isob-west-1"; +export type CloudWatchRegion = "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "ap-east-1" | "me-south-1" | "me-central-1" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "eu-north-1" | "sa-east-1" | "cn-northwest-1" | "cn-north-1" | "af-south-1" | "eu-south-1" | "eu-south-2" | "us-gov-west-1" | "us-gov-east-1" | "us-iso-east-1" | "us-iso-west-1" | "us-isob-east-1" | "ap-southeast-4" | "il-central-1" | "ca-west-1" | "ap-southeast-5" | "mx-central-1" | "us-isof-south-1" | "us-isof-east-1" | "ap-southeast-7" | "ap-east-2" | "eu-isoe-west-1" | "ap-southeast-6" | "us-isob-west-1"; export type CollectionName = string; export type CollectionSummaries = Array; @@ -831,11 +588,7 @@ export interface CollectionSummary { } export type CollectionVersion = number; -export type ComparisonOperator = - | "GreaterThanOrEqualToThreshold" - | "GreaterThanThreshold" - | "LessThanThreshold" - | "LessThanOrEqualToThreshold"; +export type ComparisonOperator = "GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold"; export declare class ConcurrentModification extends EffectData.TaggedError( "ConcurrentModification", )<{ @@ -992,11 +745,13 @@ export type DelegationSets = Array; export interface DeleteCidrCollectionRequest { Id: string; } -export interface DeleteCidrCollectionResponse {} +export interface DeleteCidrCollectionResponse { +} export interface DeleteHealthCheckRequest { HealthCheckId: string; } -export interface DeleteHealthCheckResponse {} +export interface DeleteHealthCheckResponse { +} export interface DeleteHostedZoneRequest { Id: string; } @@ -1013,25 +768,30 @@ export interface DeleteKeySigningKeyResponse { export interface DeleteQueryLoggingConfigRequest { Id: string; } -export interface DeleteQueryLoggingConfigResponse {} +export interface DeleteQueryLoggingConfigResponse { +} export interface DeleteReusableDelegationSetRequest { Id: string; } -export interface DeleteReusableDelegationSetResponse {} +export interface DeleteReusableDelegationSetResponse { +} export interface DeleteTrafficPolicyInstanceRequest { Id: string; } -export interface DeleteTrafficPolicyInstanceResponse {} +export interface DeleteTrafficPolicyInstanceResponse { +} export interface DeleteTrafficPolicyRequest { Id: string; Version: number; } -export interface DeleteTrafficPolicyResponse {} +export interface DeleteTrafficPolicyResponse { +} export interface DeleteVPCAssociationAuthorizationRequest { HostedZoneId: string; VPC: VPC; } -export interface DeleteVPCAssociationAuthorizationResponse {} +export interface DeleteVPCAssociationAuthorizationResponse { +} export interface Dimension { Name: string; Value: string; @@ -1132,7 +892,8 @@ export interface GetChangeRequest { export interface GetChangeResponse { ChangeInfo: ChangeInfo; } -export interface GetCheckerIpRangesRequest {} +export interface GetCheckerIpRangesRequest { +} export interface GetCheckerIpRangesResponse { CheckerIpRanges: Array; } @@ -1151,7 +912,8 @@ export interface GetGeoLocationRequest { export interface GetGeoLocationResponse { GeoLocationDetails: GeoLocationDetails; } -export interface GetHealthCheckCountRequest {} +export interface GetHealthCheckCountRequest { +} export interface GetHealthCheckCountResponse { HealthCheckCount: number; } @@ -1173,7 +935,8 @@ export interface GetHealthCheckStatusRequest { export interface GetHealthCheckStatusResponse { HealthCheckObservations: Array; } -export interface GetHostedZoneCountRequest {} +export interface GetHostedZoneCountRequest { +} export interface GetHostedZoneCountResponse { HostedZoneCount: number; } @@ -1213,7 +976,8 @@ export interface GetReusableDelegationSetRequest { export interface GetReusableDelegationSetResponse { DelegationSet: DelegationSet; } -export interface GetTrafficPolicyInstanceCountRequest {} +export interface GetTrafficPolicyInstanceCountRequest { +} export interface GetTrafficPolicyInstanceCountResponse { TrafficPolicyInstanceCount: number; } @@ -1280,26 +1044,10 @@ export interface HealthCheckObservation { StatusReport?: StatusReport; } export type HealthCheckObservations = Array; -export type HealthCheckRegion = - | "us-east-1" - | "us-west-1" - | "us-west-2" - | "eu-west-1" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-northeast-1" - | "sa-east-1"; +export type HealthCheckRegion = "us-east-1" | "us-west-1" | "us-west-2" | "eu-west-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "sa-east-1"; export type HealthCheckRegionList = Array; export type HealthChecks = Array; -export type HealthCheckType = - | "HTTP" - | "HTTPS" - | "HTTP_STR_MATCH" - | "HTTPS_STR_MATCH" - | "TCP" - | "CALCULATED" - | "CLOUDWATCH_METRIC" - | "RECOVERY_CONTROL"; +export type HealthCheckType = "HTTP" | "HTTPS" | "HTTP_STR_MATCH" | "HTTPS_STR_MATCH" | "TCP" | "CALCULATED" | "CLOUDWATCH_METRIC" | "RECOVERY_CONTROL"; export type HealthCheckVersion = number; export declare class HealthCheckVersionMismatch extends EffectData.TaggedError( @@ -1332,9 +1080,7 @@ export interface HostedZoneLimit { Type: HostedZoneLimitType; Value: number; } -export type HostedZoneLimitType = - | "MAX_RRSETS_BY_ZONE" - | "MAX_VPCS_ASSOCIATED_BY_ZONE"; +export type HostedZoneLimitType = "MAX_RRSETS_BY_ZONE" | "MAX_VPCS_ASSOCIATED_BY_ZONE"; export declare class HostedZoneNotEmpty extends EffectData.TaggedError( "HostedZoneNotEmpty", )<{ @@ -1381,10 +1127,7 @@ export declare class InsufficientCloudWatchLogsResourcePolicy extends EffectData )<{ readonly message?: string; }> {} -export type InsufficientDataHealthStatus = - | "Healthy" - | "Unhealthy" - | "LastKnownStatus"; +export type InsufficientDataHealthStatus = "Healthy" | "Unhealthy" | "LastKnownStatus"; export declare class InvalidArgument extends EffectData.TaggedError( "InvalidArgument", )<{ @@ -1844,11 +1587,7 @@ export type RecordDataEntry = string; export type RequestInterval = number; -export type ResettableElementName = - | "FullyQualifiedDomainName" - | "Regions" - | "ResourcePath" - | "ChildHealthChecks"; +export type ResettableElementName = "FullyQualifiedDomainName" | "Regions" | "ResourcePath" | "ChildHealthChecks"; export type ResettableElementNameList = Array; export type ResourceDescription = string; @@ -1882,45 +1621,7 @@ export type ResourceRecordSetIdentifier = string; export type ResourceRecordSetMultiValueAnswer = boolean; -export type ResourceRecordSetRegion = - | "us-east-1" - | "us-east-2" - | "us-west-1" - | "us-west-2" - | "ca-central-1" - | "eu-west-1" - | "eu-west-2" - | "eu-west-3" - | "eu-central-1" - | "eu-central-2" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-southeast-3" - | "ap-northeast-1" - | "ap-northeast-2" - | "ap-northeast-3" - | "eu-north-1" - | "sa-east-1" - | "cn-north-1" - | "cn-northwest-1" - | "ap-east-1" - | "me-south-1" - | "me-central-1" - | "ap-south-1" - | "ap-south-2" - | "af-south-1" - | "eu-south-1" - | "eu-south-2" - | "ap-southeast-4" - | "il-central-1" - | "ca-west-1" - | "ap-southeast-5" - | "mx-central-1" - | "ap-southeast-7" - | "us-gov-east-1" - | "us-gov-west-1" - | "ap-east-2" - | "ap-southeast-6"; +export type ResourceRecordSetRegion = "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ca-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "eu-central-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "eu-north-1" | "sa-east-1" | "cn-north-1" | "cn-northwest-1" | "ap-east-1" | "me-south-1" | "me-central-1" | "ap-south-1" | "ap-south-2" | "af-south-1" | "eu-south-1" | "eu-south-2" | "ap-southeast-4" | "il-central-1" | "ca-west-1" | "ap-southeast-5" | "mx-central-1" | "ap-southeast-7" | "us-gov-east-1" | "us-gov-west-1" | "ap-east-2" | "ap-southeast-6"; export type ResourceRecordSets = Array; export type ResourceRecordSetWeight = number; @@ -1936,28 +1637,10 @@ export interface ReusableDelegationSetLimit { Type: ReusableDelegationSetLimitType; Value: number; } -export type ReusableDelegationSetLimitType = - "MAX_ZONES_BY_REUSABLE_DELEGATION_SET"; +export type ReusableDelegationSetLimitType = "MAX_ZONES_BY_REUSABLE_DELEGATION_SET"; export type RoutingControlArn = string; -export type RRType = - | "SOA" - | "A" - | "TXT" - | "NS" - | "CNAME" - | "MX" - | "NAPTR" - | "PTR" - | "SRV" - | "SPF" - | "AAAA" - | "CAA" - | "DS" - | "TLSA" - | "SSHFP" - | "SVCB" - | "HTTPS"; +export type RRType = "SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS"; export type SearchString = string; export type ServeSignature = string; @@ -1976,12 +1659,7 @@ export type SigningKeyString = string; export type SigningKeyTag = number; -export type Statistic = - | "Average" - | "Sum" - | "SampleCount" - | "Maximum" - | "Minimum"; +export type Statistic = "Average" | "Sum" | "SampleCount" | "Maximum" | "Minimum"; export type Status = string; export interface StatusReport { @@ -2196,52 +1874,7 @@ export declare class VPCAssociationNotFound extends EffectData.TaggedError( }> {} export type VPCId = string; -export type VPCRegion = - | "us-east-1" - | "us-east-2" - | "us-west-1" - | "us-west-2" - | "eu-west-1" - | "eu-west-2" - | "eu-west-3" - | "eu-central-1" - | "eu-central-2" - | "ap-east-1" - | "me-south-1" - | "us-gov-west-1" - | "us-gov-east-1" - | "us-iso-east-1" - | "us-iso-west-1" - | "us-isob-east-1" - | "me-central-1" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-southeast-3" - | "ap-south-1" - | "ap-south-2" - | "ap-northeast-1" - | "ap-northeast-2" - | "ap-northeast-3" - | "eu-north-1" - | "sa-east-1" - | "ca-central-1" - | "cn-north-1" - | "cn-northwest-1" - | "af-south-1" - | "eu-south-1" - | "eu-south-2" - | "ap-southeast-4" - | "il-central-1" - | "ca-west-1" - | "ap-southeast-5" - | "mx-central-1" - | "us-isof-south-1" - | "us-isof-east-1" - | "ap-southeast-7" - | "ap-east-2" - | "eu-isoe-west-1" - | "ap-southeast-6" - | "us-isob-west-1"; +export type VPCRegion = "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "eu-central-2" | "ap-east-1" | "me-south-1" | "us-gov-west-1" | "us-gov-east-1" | "us-iso-east-1" | "us-iso-west-1" | "us-isob-east-1" | "me-central-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-south-1" | "ap-south-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "eu-north-1" | "sa-east-1" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "af-south-1" | "eu-south-1" | "eu-south-2" | "ap-southeast-4" | "il-central-1" | "ca-west-1" | "ap-southeast-5" | "mx-central-1" | "us-isof-south-1" | "us-isof-east-1" | "ap-southeast-7" | "ap-east-2" | "eu-isoe-west-1" | "ap-southeast-6" | "us-isob-west-1"; export type VPCs = Array; export declare namespace ActivateKeySigningKey { export type Input = ActivateKeySigningKeyRequest; @@ -2596,19 +2229,25 @@ export declare namespace EnableHostedZoneDNSSEC { export declare namespace GetAccountLimit { export type Input = GetAccountLimitRequest; export type Output = GetAccountLimitResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace GetChange { export type Input = GetChangeRequest; export type Output = GetChangeResponse; - export type Error = InvalidInput | NoSuchChange | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchChange + | CommonAwsError; } export declare namespace GetCheckerIpRanges { export type Input = GetCheckerIpRangesRequest; export type Output = GetCheckerIpRangesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetDNSSEC { @@ -2624,7 +2263,10 @@ export declare namespace GetDNSSEC { export declare namespace GetGeoLocation { export type Input = GetGeoLocationRequest; export type Output = GetGeoLocationResponse; - export type Error = InvalidInput | NoSuchGeoLocation | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchGeoLocation + | CommonAwsError; } export declare namespace GetHealthCheck { @@ -2640,31 +2282,43 @@ export declare namespace GetHealthCheck { export declare namespace GetHealthCheckCount { export type Input = GetHealthCheckCountRequest; export type Output = GetHealthCheckCountResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetHealthCheckLastFailureReason { export type Input = GetHealthCheckLastFailureReasonRequest; export type Output = GetHealthCheckLastFailureReasonResponse; - export type Error = InvalidInput | NoSuchHealthCheck | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchHealthCheck + | CommonAwsError; } export declare namespace GetHealthCheckStatus { export type Input = GetHealthCheckStatusRequest; export type Output = GetHealthCheckStatusResponse; - export type Error = InvalidInput | NoSuchHealthCheck | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchHealthCheck + | CommonAwsError; } export declare namespace GetHostedZone { export type Input = GetHostedZoneRequest; export type Output = GetHostedZoneResponse; - export type Error = InvalidInput | NoSuchHostedZone | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchHostedZone + | CommonAwsError; } export declare namespace GetHostedZoneCount { export type Input = GetHostedZoneCountRequest; export type Output = GetHostedZoneCountResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace GetHostedZoneLimit { @@ -2680,7 +2334,10 @@ export declare namespace GetHostedZoneLimit { export declare namespace GetQueryLoggingConfig { export type Input = GetQueryLoggingConfigRequest; export type Output = GetQueryLoggingConfigResponse; - export type Error = InvalidInput | NoSuchQueryLoggingConfig | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchQueryLoggingConfig + | CommonAwsError; } export declare namespace GetReusableDelegationSet { @@ -2696,13 +2353,19 @@ export declare namespace GetReusableDelegationSet { export declare namespace GetReusableDelegationSetLimit { export type Input = GetReusableDelegationSetLimitRequest; export type Output = GetReusableDelegationSetLimitResponse; - export type Error = InvalidInput | NoSuchDelegationSet | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchDelegationSet + | CommonAwsError; } export declare namespace GetTrafficPolicy { export type Input = GetTrafficPolicyRequest; export type Output = GetTrafficPolicyResponse; - export type Error = InvalidInput | NoSuchTrafficPolicy | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchTrafficPolicy + | CommonAwsError; } export declare namespace GetTrafficPolicyInstance { @@ -2717,7 +2380,8 @@ export declare namespace GetTrafficPolicyInstance { export declare namespace GetTrafficPolicyInstanceCount { export type Input = GetTrafficPolicyInstanceCountRequest; export type Output = GetTrafficPolicyInstanceCountResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListCidrBlocks { @@ -2733,7 +2397,9 @@ export declare namespace ListCidrBlocks { export declare namespace ListCidrCollections { export type Input = ListCidrCollectionsRequest; export type Output = ListCidrCollectionsResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListCidrLocations { @@ -2748,13 +2414,18 @@ export declare namespace ListCidrLocations { export declare namespace ListGeoLocations { export type Input = ListGeoLocationsRequest; export type Output = ListGeoLocationsResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListHealthChecks { export type Input = ListHealthChecksRequest; export type Output = ListHealthChecksResponse; - export type Error = IncompatibleVersion | InvalidInput | CommonAwsError; + export type Error = + | IncompatibleVersion + | InvalidInput + | CommonAwsError; } export declare namespace ListHostedZones { @@ -2770,13 +2441,19 @@ export declare namespace ListHostedZones { export declare namespace ListHostedZonesByName { export type Input = ListHostedZonesByNameRequest; export type Output = ListHostedZonesByNameResponse; - export type Error = InvalidDomainName | InvalidInput | CommonAwsError; + export type Error = + | InvalidDomainName + | InvalidInput + | CommonAwsError; } export declare namespace ListHostedZonesByVPC { export type Input = ListHostedZonesByVPCRequest; export type Output = ListHostedZonesByVPCResponse; - export type Error = InvalidInput | InvalidPaginationToken | CommonAwsError; + export type Error = + | InvalidInput + | InvalidPaginationToken + | CommonAwsError; } export declare namespace ListQueryLoggingConfigs { @@ -2792,13 +2469,18 @@ export declare namespace ListQueryLoggingConfigs { export declare namespace ListResourceRecordSets { export type Input = ListResourceRecordSetsRequest; export type Output = ListResourceRecordSetsResponse; - export type Error = InvalidInput | NoSuchHostedZone | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchHostedZone + | CommonAwsError; } export declare namespace ListReusableDelegationSets { export type Input = ListReusableDelegationSetsRequest; export type Output = ListReusableDelegationSetsResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListTagsForResource { @@ -2828,7 +2510,9 @@ export declare namespace ListTagsForResources { export declare namespace ListTrafficPolicies { export type Input = ListTrafficPoliciesRequest; export type Output = ListTrafficPoliciesResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListTrafficPolicyInstances { @@ -2863,7 +2547,10 @@ export declare namespace ListTrafficPolicyInstancesByPolicy { export declare namespace ListTrafficPolicyVersions { export type Input = ListTrafficPolicyVersionsRequest; export type Output = ListTrafficPolicyVersionsResponse; - export type Error = InvalidInput | NoSuchTrafficPolicy | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchTrafficPolicy + | CommonAwsError; } export declare namespace ListVPCAssociationAuthorizations { @@ -2879,7 +2566,10 @@ export declare namespace ListVPCAssociationAuthorizations { export declare namespace TestDNSAnswer { export type Input = TestDNSAnswerRequest; export type Output = TestDNSAnswerResponse; - export type Error = InvalidInput | NoSuchHostedZone | CommonAwsError; + export type Error = + | InvalidInput + | NoSuchHostedZone + | CommonAwsError; } export declare namespace UpdateHealthCheck { @@ -2924,74 +2614,5 @@ export declare namespace UpdateTrafficPolicyInstance { | CommonAwsError; } -export type Route53Errors = - | CidrBlockInUseException - | CidrCollectionAlreadyExistsException - | CidrCollectionInUseException - | CidrCollectionVersionMismatchException - | ConcurrentModification - | ConflictingDomainExists - | ConflictingTypes - | DNSSECNotFound - | DelegationSetAlreadyCreated - | DelegationSetAlreadyReusable - | DelegationSetInUse - | DelegationSetNotAvailable - | DelegationSetNotReusable - | HealthCheckAlreadyExists - | HealthCheckInUse - | HealthCheckVersionMismatch - | HostedZoneAlreadyExists - | HostedZoneNotEmpty - | HostedZoneNotFound - | HostedZoneNotPrivate - | HostedZonePartiallyDelegated - | IncompatibleVersion - | InsufficientCloudWatchLogsResourcePolicy - | InvalidArgument - | InvalidChangeBatch - | InvalidDomainName - | InvalidInput - | InvalidKMSArn - | InvalidKeySigningKeyName - | InvalidKeySigningKeyStatus - | InvalidPaginationToken - | InvalidSigningStatus - | InvalidTrafficPolicyDocument - | InvalidVPCId - | KeySigningKeyAlreadyExists - | KeySigningKeyInParentDSRecord - | KeySigningKeyInUse - | KeySigningKeyWithActiveStatusNotFound - | LastVPCAssociation - | LimitsExceeded - | NoSuchChange - | NoSuchCidrCollectionException - | NoSuchCidrLocationException - | NoSuchCloudWatchLogsLogGroup - | NoSuchDelegationSet - | NoSuchGeoLocation - | NoSuchHealthCheck - | NoSuchHostedZone - | NoSuchKeySigningKey - | NoSuchQueryLoggingConfig - | NoSuchTrafficPolicy - | NoSuchTrafficPolicyInstance - | NotAuthorizedException - | PriorRequestNotComplete - | PublicZoneVPCAssociation - | QueryLoggingConfigAlreadyExists - | ThrottlingException - | TooManyHealthChecks - | TooManyHostedZones - | TooManyKeySigningKeys - | TooManyTrafficPolicies - | TooManyTrafficPolicyInstances - | TooManyTrafficPolicyVersionsForCurrentPolicy - | TooManyVPCAssociationAuthorizations - | TrafficPolicyAlreadyExists - | TrafficPolicyInUse - | TrafficPolicyInstanceAlreadyExists - | VPCAssociationAuthorizationNotFound - | VPCAssociationNotFound - | CommonAwsError; +export type Route53Errors = CidrBlockInUseException | CidrCollectionAlreadyExistsException | CidrCollectionInUseException | CidrCollectionVersionMismatchException | ConcurrentModification | ConflictingDomainExists | ConflictingTypes | DNSSECNotFound | DelegationSetAlreadyCreated | DelegationSetAlreadyReusable | DelegationSetInUse | DelegationSetNotAvailable | DelegationSetNotReusable | HealthCheckAlreadyExists | HealthCheckInUse | HealthCheckVersionMismatch | HostedZoneAlreadyExists | HostedZoneNotEmpty | HostedZoneNotFound | HostedZoneNotPrivate | HostedZonePartiallyDelegated | IncompatibleVersion | InsufficientCloudWatchLogsResourcePolicy | InvalidArgument | InvalidChangeBatch | InvalidDomainName | InvalidInput | InvalidKMSArn | InvalidKeySigningKeyName | InvalidKeySigningKeyStatus | InvalidPaginationToken | InvalidSigningStatus | InvalidTrafficPolicyDocument | InvalidVPCId | KeySigningKeyAlreadyExists | KeySigningKeyInParentDSRecord | KeySigningKeyInUse | KeySigningKeyWithActiveStatusNotFound | LastVPCAssociation | LimitsExceeded | NoSuchChange | NoSuchCidrCollectionException | NoSuchCidrLocationException | NoSuchCloudWatchLogsLogGroup | NoSuchDelegationSet | NoSuchGeoLocation | NoSuchHealthCheck | NoSuchHostedZone | NoSuchKeySigningKey | NoSuchQueryLoggingConfig | NoSuchTrafficPolicy | NoSuchTrafficPolicyInstance | NotAuthorizedException | PriorRequestNotComplete | PublicZoneVPCAssociation | QueryLoggingConfigAlreadyExists | ThrottlingException | TooManyHealthChecks | TooManyHostedZones | TooManyKeySigningKeys | TooManyTrafficPolicies | TooManyTrafficPolicyInstances | TooManyTrafficPolicyVersionsForCurrentPolicy | TooManyVPCAssociationAuthorizations | TrafficPolicyAlreadyExists | TrafficPolicyInUse | TrafficPolicyInstanceAlreadyExists | VPCAssociationAuthorizationNotFound | VPCAssociationNotFound | CommonAwsError; + diff --git a/src/services/route53-recovery-cluster/index.ts b/src/services/route53-recovery-cluster/index.ts index 1daa943c..6cf5b017 100644 --- a/src/services/route53-recovery-cluster/index.ts +++ b/src/services/route53-recovery-cluster/index.ts @@ -5,23 +5,7 @@ import type { Route53RecoveryCluster as _Route53RecoveryClusterClient } from "./ export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/route53-recovery-cluster/types.ts b/src/services/route53-recovery-cluster/types.ts index 471120ea..d25e6bca 100644 --- a/src/services/route53-recovery-cluster/types.ts +++ b/src/services/route53-recovery-cluster/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Route53RecoveryCluster extends AWSServiceClient { @@ -40,52 +8,25 @@ export declare class Route53RecoveryCluster extends AWSServiceClient { input: GetRoutingControlStateRequest, ): Effect.Effect< GetRoutingControlStateResponse, - | AccessDeniedException - | EndpointTemporarilyUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | EndpointTemporarilyUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRoutingControls( input: ListRoutingControlsRequest, ): Effect.Effect< ListRoutingControlsResponse, - | AccessDeniedException - | EndpointTemporarilyUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | EndpointTemporarilyUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRoutingControlState( input: UpdateRoutingControlStateRequest, ): Effect.Effect< UpdateRoutingControlStateResponse, - | AccessDeniedException - | ConflictException - | EndpointTemporarilyUnavailableException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | EndpointTemporarilyUnavailableException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRoutingControlStates( input: UpdateRoutingControlStatesRequest, ): Effect.Effect< UpdateRoutingControlStatesResponse, - | AccessDeniedException - | ConflictException - | EndpointTemporarilyUnavailableException - | InternalServerException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | EndpointTemporarilyUnavailableException | InternalServerException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -178,8 +119,7 @@ export declare class ThrottlingException extends EffectData.TaggedError( readonly message: string; readonly retryAfterSeconds?: number; }> {} -export type UpdateRoutingControlStateEntries = - Array; +export type UpdateRoutingControlStateEntries = Array; export interface UpdateRoutingControlStateEntry { RoutingControlArn: string; RoutingControlState: RoutingControlState; @@ -189,12 +129,14 @@ export interface UpdateRoutingControlStateRequest { RoutingControlState: RoutingControlState; SafetyRulesToOverride?: Array; } -export interface UpdateRoutingControlStateResponse {} +export interface UpdateRoutingControlStateResponse { +} export interface UpdateRoutingControlStatesRequest { UpdateRoutingControlStateEntries: Array; SafetyRulesToOverride?: Array; } -export interface UpdateRoutingControlStatesResponse {} +export interface UpdateRoutingControlStatesResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -207,11 +149,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export declare namespace GetRoutingControlState { export type Input = GetRoutingControlStateRequest; export type Output = GetRoutingControlStateResponse; @@ -267,13 +205,5 @@ export declare namespace UpdateRoutingControlStates { | CommonAwsError; } -export type Route53RecoveryClusterErrors = - | AccessDeniedException - | ConflictException - | EndpointTemporarilyUnavailableException - | InternalServerException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type Route53RecoveryClusterErrors = AccessDeniedException | ConflictException | EndpointTemporarilyUnavailableException | InternalServerException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/route53-recovery-control-config/index.ts b/src/services/route53-recovery-control-config/index.ts index bbff6f94..c3a0ad52 100644 --- a/src/services/route53-recovery-control-config/index.ts +++ b/src/services/route53-recovery-control-config/index.ts @@ -5,23 +5,7 @@ import type { Route53RecoveryControlConfig as _Route53RecoveryControlConfigClien export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,38 +15,36 @@ const metadata = { sigV4ServiceName: "route53-recovery-control-config", endpointPrefix: "route53-recovery-control-config", operations: { - CreateCluster: "POST /cluster", - CreateControlPanel: "POST /controlpanel", - CreateRoutingControl: "POST /routingcontrol", - CreateSafetyRule: "POST /safetyrule", - DeleteCluster: "DELETE /cluster/{ClusterArn}", - DeleteControlPanel: "DELETE /controlpanel/{ControlPanelArn}", - DeleteRoutingControl: "DELETE /routingcontrol/{RoutingControlArn}", - DeleteSafetyRule: "DELETE /safetyrule/{SafetyRuleArn}", - DescribeCluster: "GET /cluster/{ClusterArn}", - DescribeControlPanel: "GET /controlpanel/{ControlPanelArn}", - DescribeRoutingControl: "GET /routingcontrol/{RoutingControlArn}", - DescribeSafetyRule: "GET /safetyrule/{SafetyRuleArn}", - GetResourcePolicy: "GET /resourcePolicy/{ResourceArn}", - ListAssociatedRoute53HealthChecks: - "GET /routingcontrol/{RoutingControlArn}/associatedRoute53HealthChecks", - ListClusters: "GET /cluster", - ListControlPanels: "GET /controlpanels", - ListRoutingControls: "GET /controlpanel/{ControlPanelArn}/routingcontrols", - ListSafetyRules: "GET /controlpanel/{ControlPanelArn}/safetyrules", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateCluster: "PUT /cluster", - UpdateControlPanel: "PUT /controlpanel", - UpdateRoutingControl: "PUT /routingcontrol", - UpdateSafetyRule: "PUT /safetyrule", + "CreateCluster": "POST /cluster", + "CreateControlPanel": "POST /controlpanel", + "CreateRoutingControl": "POST /routingcontrol", + "CreateSafetyRule": "POST /safetyrule", + "DeleteCluster": "DELETE /cluster/{ClusterArn}", + "DeleteControlPanel": "DELETE /controlpanel/{ControlPanelArn}", + "DeleteRoutingControl": "DELETE /routingcontrol/{RoutingControlArn}", + "DeleteSafetyRule": "DELETE /safetyrule/{SafetyRuleArn}", + "DescribeCluster": "GET /cluster/{ClusterArn}", + "DescribeControlPanel": "GET /controlpanel/{ControlPanelArn}", + "DescribeRoutingControl": "GET /routingcontrol/{RoutingControlArn}", + "DescribeSafetyRule": "GET /safetyrule/{SafetyRuleArn}", + "GetResourcePolicy": "GET /resourcePolicy/{ResourceArn}", + "ListAssociatedRoute53HealthChecks": "GET /routingcontrol/{RoutingControlArn}/associatedRoute53HealthChecks", + "ListClusters": "GET /cluster", + "ListControlPanels": "GET /controlpanels", + "ListRoutingControls": "GET /controlpanel/{ControlPanelArn}/routingcontrols", + "ListSafetyRules": "GET /controlpanel/{ControlPanelArn}/safetyrules", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateCluster": "PUT /cluster", + "UpdateControlPanel": "PUT /controlpanel", + "UpdateRoutingControl": "PUT /routingcontrol", + "UpdateSafetyRule": "PUT /safetyrule", }, } as const satisfies ServiceMetadata; export type _Route53RecoveryControlConfig = _Route53RecoveryControlConfigClient; -export interface Route53RecoveryControlConfig - extends _Route53RecoveryControlConfig {} +export interface Route53RecoveryControlConfig extends _Route53RecoveryControlConfig {} export const Route53RecoveryControlConfig = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/route53-recovery-control-config/types.ts b/src/services/route53-recovery-control-config/types.ts index 9a1b60f6..540fb4ca 100644 --- a/src/services/route53-recovery-control-config/types.ts +++ b/src/services/route53-recovery-control-config/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Route53RecoveryControlConfig extends AWSServiceClient { @@ -40,40 +8,19 @@ export declare class Route53RecoveryControlConfig extends AWSServiceClient { input: CreateClusterRequest, ): Effect.Effect< CreateClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createControlPanel( input: CreateControlPanelRequest, ): Effect.Effect< CreateControlPanelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRoutingControl( input: CreateRoutingControlRequest, ): Effect.Effect< CreateRoutingControlResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSafetyRule( input: CreateSafetyRuleRequest, @@ -85,82 +32,43 @@ export declare class Route53RecoveryControlConfig extends AWSServiceClient { input: DeleteClusterRequest, ): Effect.Effect< DeleteClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteControlPanel( input: DeleteControlPanelRequest, ): Effect.Effect< DeleteControlPanelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRoutingControl( input: DeleteRoutingControlRequest, ): Effect.Effect< DeleteRoutingControlResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSafetyRule( input: DeleteSafetyRuleRequest, ): Effect.Effect< DeleteSafetyRuleResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeCluster( input: DescribeClusterRequest, ): Effect.Effect< DescribeClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeControlPanel( input: DescribeControlPanelRequest, ): Effect.Effect< DescribeControlPanelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeRoutingControl( input: DescribeRoutingControlRequest, ): Effect.Effect< DescribeRoutingControlResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeSafetyRule( input: DescribeSafetyRuleRequest, @@ -178,126 +86,73 @@ export declare class Route53RecoveryControlConfig extends AWSServiceClient { input: ListAssociatedRoute53HealthChecksRequest, ): Effect.Effect< ListAssociatedRoute53HealthChecksResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listClusters( input: ListClustersRequest, ): Effect.Effect< ListClustersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listControlPanels( input: ListControlPanelsRequest, ): Effect.Effect< ListControlPanelsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRoutingControls( input: ListRoutingControlsRequest, ): Effect.Effect< ListRoutingControlsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSafetyRules( input: ListSafetyRulesRequest, ): Effect.Effect< ListSafetyRulesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCluster( input: UpdateClusterRequest, ): Effect.Effect< UpdateClusterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateControlPanel( input: UpdateControlPanelRequest, ): Effect.Effect< UpdateControlPanelResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRoutingControl( input: UpdateRoutingControlRequest, ): Effect.Effect< UpdateRoutingControlResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSafetyRule( input: UpdateSafetyRuleRequest, ): Effect.Effect< UpdateSafetyRuleResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -420,19 +275,23 @@ export interface CreateSafetyRuleResponse { export interface DeleteClusterRequest { ClusterArn: string; } -export interface DeleteClusterResponse {} +export interface DeleteClusterResponse { +} export interface DeleteControlPanelRequest { ControlPanelArn: string; } -export interface DeleteControlPanelResponse {} +export interface DeleteControlPanelResponse { +} export interface DeleteRoutingControlRequest { RoutingControlArn: string; } -export interface DeleteRoutingControlResponse {} +export interface DeleteRoutingControlResponse { +} export interface DeleteSafetyRuleRequest { SafetyRuleArn: string; } -export interface DeleteSafetyRuleResponse {} +export interface DeleteSafetyRuleResponse { +} export interface DescribeClusterRequest { ClusterArn: string; } @@ -585,7 +444,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", )<{ @@ -595,7 +455,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateClusterRequest { ClusterArn: string; NetworkType: NetworkType; @@ -924,12 +785,5 @@ export declare namespace UpdateSafetyRule { | CommonAwsError; } -export type Route53RecoveryControlConfigErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type Route53RecoveryControlConfigErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/route53-recovery-readiness/index.ts b/src/services/route53-recovery-readiness/index.ts index 92c105bb..357ef787 100644 --- a/src/services/route53-recovery-readiness/index.ts +++ b/src/services/route53-recovery-readiness/index.ts @@ -5,23 +5,7 @@ import type { Route53RecoveryReadiness as _Route53RecoveryReadinessClient } from export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,42 +15,38 @@ const metadata = { sigV4ServiceName: "route53-recovery-readiness", endpointPrefix: "route53-recovery-readiness", operations: { - CreateCell: "POST /cells", - CreateCrossAccountAuthorization: "POST /crossaccountauthorizations", - CreateReadinessCheck: "POST /readinesschecks", - CreateRecoveryGroup: "POST /recoverygroups", - CreateResourceSet: "POST /resourcesets", - DeleteCell: "DELETE /cells/{CellName}", - DeleteCrossAccountAuthorization: - "DELETE /crossaccountauthorizations/{CrossAccountAuthorization}", - DeleteReadinessCheck: "DELETE /readinesschecks/{ReadinessCheckName}", - DeleteRecoveryGroup: "DELETE /recoverygroups/{RecoveryGroupName}", - DeleteResourceSet: "DELETE /resourcesets/{ResourceSetName}", - GetArchitectureRecommendations: - "GET /recoverygroups/{RecoveryGroupName}/architectureRecommendations", - GetCell: "GET /cells/{CellName}", - GetCellReadinessSummary: "GET /cellreadiness/{CellName}", - GetReadinessCheck: "GET /readinesschecks/{ReadinessCheckName}", - GetReadinessCheckResourceStatus: - "GET /readinesschecks/{ReadinessCheckName}/resource/{ResourceIdentifier}/status", - GetReadinessCheckStatus: "GET /readinesschecks/{ReadinessCheckName}/status", - GetRecoveryGroup: "GET /recoverygroups/{RecoveryGroupName}", - GetRecoveryGroupReadinessSummary: - "GET /recoverygroupreadiness/{RecoveryGroupName}", - GetResourceSet: "GET /resourcesets/{ResourceSetName}", - ListCells: "GET /cells", - ListCrossAccountAuthorizations: "GET /crossaccountauthorizations", - ListReadinessChecks: "GET /readinesschecks", - ListRecoveryGroups: "GET /recoverygroups", - ListResourceSets: "GET /resourcesets", - ListRules: "GET /rules", - ListTagsForResources: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateCell: "PUT /cells/{CellName}", - UpdateReadinessCheck: "PUT /readinesschecks/{ReadinessCheckName}", - UpdateRecoveryGroup: "PUT /recoverygroups/{RecoveryGroupName}", - UpdateResourceSet: "PUT /resourcesets/{ResourceSetName}", + "CreateCell": "POST /cells", + "CreateCrossAccountAuthorization": "POST /crossaccountauthorizations", + "CreateReadinessCheck": "POST /readinesschecks", + "CreateRecoveryGroup": "POST /recoverygroups", + "CreateResourceSet": "POST /resourcesets", + "DeleteCell": "DELETE /cells/{CellName}", + "DeleteCrossAccountAuthorization": "DELETE /crossaccountauthorizations/{CrossAccountAuthorization}", + "DeleteReadinessCheck": "DELETE /readinesschecks/{ReadinessCheckName}", + "DeleteRecoveryGroup": "DELETE /recoverygroups/{RecoveryGroupName}", + "DeleteResourceSet": "DELETE /resourcesets/{ResourceSetName}", + "GetArchitectureRecommendations": "GET /recoverygroups/{RecoveryGroupName}/architectureRecommendations", + "GetCell": "GET /cells/{CellName}", + "GetCellReadinessSummary": "GET /cellreadiness/{CellName}", + "GetReadinessCheck": "GET /readinesschecks/{ReadinessCheckName}", + "GetReadinessCheckResourceStatus": "GET /readinesschecks/{ReadinessCheckName}/resource/{ResourceIdentifier}/status", + "GetReadinessCheckStatus": "GET /readinesschecks/{ReadinessCheckName}/status", + "GetRecoveryGroup": "GET /recoverygroups/{RecoveryGroupName}", + "GetRecoveryGroupReadinessSummary": "GET /recoverygroupreadiness/{RecoveryGroupName}", + "GetResourceSet": "GET /resourcesets/{ResourceSetName}", + "ListCells": "GET /cells", + "ListCrossAccountAuthorizations": "GET /crossaccountauthorizations", + "ListReadinessChecks": "GET /readinesschecks", + "ListRecoveryGroups": "GET /recoverygroups", + "ListResourceSets": "GET /resourcesets", + "ListRules": "GET /rules", + "ListTagsForResources": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateCell": "PUT /cells/{CellName}", + "UpdateReadinessCheck": "PUT /readinesschecks/{ReadinessCheckName}", + "UpdateRecoveryGroup": "PUT /recoverygroups/{RecoveryGroupName}", + "UpdateResourceSet": "PUT /resourcesets/{ResourceSetName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/route53-recovery-readiness/types.ts b/src/services/route53-recovery-readiness/types.ts index 2df91d1a..9c81aa16 100644 --- a/src/services/route53-recovery-readiness/types.ts +++ b/src/services/route53-recovery-readiness/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Route53RecoveryReadiness extends AWSServiceClient { @@ -40,340 +8,193 @@ export declare class Route53RecoveryReadiness extends AWSServiceClient { input: CreateCellRequest, ): Effect.Effect< CreateCellResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createCrossAccountAuthorization( input: CreateCrossAccountAuthorizationRequest, ): Effect.Effect< CreateCrossAccountAuthorizationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createReadinessCheck( input: CreateReadinessCheckRequest, ): Effect.Effect< CreateReadinessCheckResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createRecoveryGroup( input: CreateRecoveryGroupRequest, ): Effect.Effect< CreateRecoveryGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createResourceSet( input: CreateResourceSetRequest, ): Effect.Effect< CreateResourceSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteCell( input: DeleteCellRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteCrossAccountAuthorization( input: DeleteCrossAccountAuthorizationRequest, ): Effect.Effect< DeleteCrossAccountAuthorizationResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteReadinessCheck( input: DeleteReadinessCheckRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRecoveryGroup( input: DeleteRecoveryGroupRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourceSet( input: DeleteResourceSetRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getArchitectureRecommendations( input: GetArchitectureRecommendationsRequest, ): Effect.Effect< GetArchitectureRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCell( input: GetCellRequest, ): Effect.Effect< GetCellResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getCellReadinessSummary( input: GetCellReadinessSummaryRequest, ): Effect.Effect< GetCellReadinessSummaryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReadinessCheck( input: GetReadinessCheckRequest, ): Effect.Effect< GetReadinessCheckResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReadinessCheckResourceStatus( input: GetReadinessCheckResourceStatusRequest, ): Effect.Effect< GetReadinessCheckResourceStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReadinessCheckStatus( input: GetReadinessCheckStatusRequest, ): Effect.Effect< GetReadinessCheckStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRecoveryGroup( input: GetRecoveryGroupRequest, ): Effect.Effect< GetRecoveryGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRecoveryGroupReadinessSummary( input: GetRecoveryGroupReadinessSummaryRequest, ): Effect.Effect< GetRecoveryGroupReadinessSummaryResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourceSet( input: GetResourceSetRequest, ): Effect.Effect< GetResourceSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCells( input: ListCellsRequest, ): Effect.Effect< ListCellsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCrossAccountAuthorizations( input: ListCrossAccountAuthorizationsRequest, ): Effect.Effect< ListCrossAccountAuthorizationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listReadinessChecks( input: ListReadinessChecksRequest, ): Effect.Effect< ListReadinessChecksResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRecoveryGroups( input: ListRecoveryGroupsRequest, ): Effect.Effect< ListRecoveryGroupsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listResourceSets( input: ListResourceSetsRequest, ): Effect.Effect< ListResourceSetsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRules( input: ListRulesRequest, ): Effect.Effect< ListRulesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResources( input: ListTagsForResourcesRequest, ): Effect.Effect< ListTagsForResourcesResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateCell( input: UpdateCellRequest, ): Effect.Effect< UpdateCellResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateReadinessCheck( input: UpdateReadinessCheckRequest, ): Effect.Effect< UpdateReadinessCheckResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRecoveryGroup( input: UpdateRecoveryGroupRequest, ): Effect.Effect< UpdateRecoveryGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateResourceSet( input: UpdateResourceSetRequest, ): Effect.Effect< UpdateResourceSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -478,7 +299,8 @@ export interface DeleteCellRequest { export interface DeleteCrossAccountAuthorizationRequest { CrossAccountAuthorization: string; } -export interface DeleteCrossAccountAuthorizationResponse {} +export interface DeleteCrossAccountAuthorizationResponse { +} export interface DeleteReadinessCheckRequest { ReadinessCheckName: string; } @@ -720,7 +542,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export interface TargetResource { NLBResource?: NLBResource; @@ -1154,11 +977,5 @@ export declare namespace UpdateResourceSet { | CommonAwsError; } -export type Route53RecoveryReadinessErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type Route53RecoveryReadinessErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/route53profiles/index.ts b/src/services/route53profiles/index.ts index 6c29197f..82391987 100644 --- a/src/services/route53profiles/index.ts +++ b/src/services/route53profiles/index.ts @@ -5,23 +5,7 @@ import type { Route53Profiles as _Route53ProfilesClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,27 +14,22 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "route53profiles", operations: { - AssociateProfile: "POST /profileassociation", - AssociateResourceToProfile: "POST /profileresourceassociation", - CreateProfile: "POST /profile", - DeleteProfile: "DELETE /profile/{ProfileId}", - DisassociateProfile: - "DELETE /profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}", - DisassociateResourceFromProfile: - "DELETE /profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}", - GetProfile: "GET /profile/{ProfileId}", - GetProfileAssociation: "GET /profileassociation/{ProfileAssociationId}", - GetProfileResourceAssociation: - "GET /profileresourceassociation/{ProfileResourceAssociationId}", - ListProfileAssociations: "GET /profileassociations", - ListProfileResourceAssociations: - "GET /profileresourceassociations/profileid/{ProfileId}", - ListProfiles: "GET /profiles", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateProfileResourceAssociation: - "PATCH /profileresourceassociation/{ProfileResourceAssociationId}", + "AssociateProfile": "POST /profileassociation", + "AssociateResourceToProfile": "POST /profileresourceassociation", + "CreateProfile": "POST /profile", + "DeleteProfile": "DELETE /profile/{ProfileId}", + "DisassociateProfile": "DELETE /profileassociation/Profileid/{ProfileId}/resourceid/{ResourceId}", + "DisassociateResourceFromProfile": "DELETE /profileresourceassociation/profileid/{ProfileId}/resourcearn/{ResourceArn}", + "GetProfile": "GET /profile/{ProfileId}", + "GetProfileAssociation": "GET /profileassociation/{ProfileAssociationId}", + "GetProfileResourceAssociation": "GET /profileresourceassociation/{ProfileResourceAssociationId}", + "ListProfileAssociations": "GET /profileassociations", + "ListProfileResourceAssociations": "GET /profileresourceassociations/profileid/{ProfileId}", + "ListProfiles": "GET /profiles", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateProfileResourceAssociation": "PATCH /profileresourceassociation/{ProfileResourceAssociationId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/route53profiles/types.ts b/src/services/route53profiles/types.ts index 608a5baf..51c25fe6 100644 --- a/src/services/route53profiles/types.ts +++ b/src/services/route53profiles/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Route53Profiles extends AWSServiceClient { @@ -40,189 +8,97 @@ export declare class Route53Profiles extends AWSServiceClient { input: AssociateProfileRequest, ): Effect.Effect< AssociateProfileResponse, - | AccessDeniedException - | ConflictException - | InvalidParameterException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InvalidParameterException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateResourceToProfile( input: AssociateResourceToProfileRequest, ): Effect.Effect< AssociateResourceToProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | InvalidParameterException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | InvalidParameterException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createProfile( input: CreateProfileRequest, ): Effect.Effect< CreateProfileResponse, - | AccessDeniedException - | InvalidParameterException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidParameterException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteProfile( input: DeleteProfileRequest, ): Effect.Effect< DeleteProfileResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateProfile( input: DisassociateProfileRequest, ): Effect.Effect< DisassociateProfileResponse, - | AccessDeniedException - | InvalidParameterException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidParameterException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateResourceFromProfile( input: DisassociateResourceFromProfileRequest, ): Effect.Effect< DisassociateResourceFromProfileResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | InvalidParameterException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | InvalidParameterException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProfile( input: GetProfileRequest, ): Effect.Effect< GetProfileResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProfileAssociation( input: GetProfileAssociationRequest, ): Effect.Effect< GetProfileAssociationResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProfileResourceAssociation( input: GetProfileResourceAssociationRequest, ): Effect.Effect< GetProfileResourceAssociationResponse, - | AccessDeniedException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProfileAssociations( input: ListProfileAssociationsRequest, ): Effect.Effect< ListProfileAssociationsResponse, - | AccessDeniedException - | InvalidNextTokenException - | InvalidParameterException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidNextTokenException | InvalidParameterException | ThrottlingException | ValidationException | CommonAwsError >; listProfileResourceAssociations( input: ListProfileResourceAssociationsRequest, ): Effect.Effect< ListProfileResourceAssociationsResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listProfiles( input: ListProfilesRequest, ): Effect.Effect< ListProfilesResponse, - | AccessDeniedException - | InvalidNextTokenException - | InvalidParameterException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InvalidNextTokenException | InvalidParameterException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateProfileResourceAssociation( input: UpdateProfileResourceAssociationRequest, ): Effect.Effect< UpdateProfileResourceAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | InvalidParameterException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | InvalidParameterException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -410,13 +286,7 @@ export interface ProfileResourceAssociation { ModificationTime?: Date | string; } export type ProfileResourceAssociations = Array; -export type ProfileStatus = - | "COMPLETE" - | "DELETING" - | "UPDATING" - | "CREATING" - | "DELETED" - | "FAILED"; +export type ProfileStatus = "COMPLETE" | "DELETING" | "UPDATING" | "CREATING" | "DELETED" | "FAILED"; export interface ProfileSummary { Id?: string; Arn?: string; @@ -458,7 +328,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -470,7 +341,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateProfileResourceAssociationRequest { ProfileResourceAssociationId: string; Name?: string; @@ -688,15 +560,5 @@ export declare namespace UpdateProfileResourceAssociation { | CommonAwsError; } -export type Route53ProfilesErrors = - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type Route53ProfilesErrors = AccessDeniedException | ConflictException | InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/route53resolver/index.ts b/src/services/route53resolver/index.ts index c79f6d08..4f75e8bc 100644 --- a/src/services/route53resolver/index.ts +++ b/src/services/route53resolver/index.ts @@ -5,23 +5,7 @@ import type { Route53Resolver as _Route53ResolverClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/route53resolver/types.ts b/src/services/route53resolver/types.ts index 7e987067..3a898972 100644 --- a/src/services/route53resolver/types.ts +++ b/src/services/route53resolver/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Route53Resolver extends AWSServiceClient { @@ -40,795 +8,409 @@ export declare class Route53Resolver extends AWSServiceClient { input: AssociateFirewallRuleGroupRequest, ): Effect.Effect< AssociateFirewallRuleGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateResolverEndpointIpAddress( input: AssociateResolverEndpointIpAddressRequest, ): Effect.Effect< AssociateResolverEndpointIpAddressResponse, - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateResolverQueryLogConfig( input: AssociateResolverQueryLogConfigRequest, ): Effect.Effect< AssociateResolverQueryLogConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; associateResolverRule( input: AssociateResolverRuleRequest, ): Effect.Effect< AssociateResolverRuleResponse, - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; createFirewallDomainList( input: CreateFirewallDomainListRequest, ): Effect.Effect< CreateFirewallDomainListResponse, - | AccessDeniedException - | InternalServiceErrorException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createFirewallRule( input: CreateFirewallRuleRequest, ): Effect.Effect< CreateFirewallRuleResponse, - | AccessDeniedException - | InternalServiceErrorException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createFirewallRuleGroup( input: CreateFirewallRuleGroupRequest, ): Effect.Effect< CreateFirewallRuleGroupResponse, - | AccessDeniedException - | InternalServiceErrorException - | LimitExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | LimitExceededException | ThrottlingException | ValidationException | CommonAwsError >; createOutpostResolver( input: CreateOutpostResolverRequest, ): Effect.Effect< CreateOutpostResolverResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createResolverEndpoint( input: CreateResolverEndpointRequest, ): Effect.Effect< CreateResolverEndpointResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createResolverQueryLogConfig( input: CreateResolverQueryLogConfigRequest, ): Effect.Effect< CreateResolverQueryLogConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createResolverRule( input: CreateResolverRuleRequest, ): Effect.Effect< CreateResolverRuleResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; deleteFirewallDomainList( input: DeleteFirewallDomainListRequest, ): Effect.Effect< DeleteFirewallDomainListResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteFirewallRule( input: DeleteFirewallRuleRequest, ): Effect.Effect< DeleteFirewallRuleResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFirewallRuleGroup( input: DeleteFirewallRuleGroupRequest, ): Effect.Effect< DeleteFirewallRuleGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteOutpostResolver( input: DeleteOutpostResolverRequest, ): Effect.Effect< DeleteOutpostResolverResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResolverEndpoint( input: DeleteResolverEndpointRequest, ): Effect.Effect< DeleteResolverEndpointResponse, - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteResolverQueryLogConfig( input: DeleteResolverQueryLogConfigRequest, ): Effect.Effect< DeleteResolverQueryLogConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteResolverRule( input: DeleteResolverRuleRequest, ): Effect.Effect< DeleteResolverRuleResponse, - | InternalServiceErrorException - | InvalidParameterException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateFirewallRuleGroup( input: DisassociateFirewallRuleGroupRequest, ): Effect.Effect< DisassociateFirewallRuleGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateResolverEndpointIpAddress( input: DisassociateResolverEndpointIpAddressRequest, ): Effect.Effect< DisassociateResolverEndpointIpAddressResponse, - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateResolverQueryLogConfig( input: DisassociateResolverQueryLogConfigRequest, ): Effect.Effect< DisassociateResolverQueryLogConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; disassociateResolverRule( input: DisassociateResolverRuleRequest, ): Effect.Effect< DisassociateResolverRuleResponse, - | InternalServiceErrorException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getFirewallConfig( input: GetFirewallConfigRequest, ): Effect.Effect< GetFirewallConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getFirewallDomainList( input: GetFirewallDomainListRequest, ): Effect.Effect< GetFirewallDomainListResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getFirewallRuleGroup( input: GetFirewallRuleGroupRequest, ): Effect.Effect< GetFirewallRuleGroupResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getFirewallRuleGroupAssociation( input: GetFirewallRuleGroupAssociationRequest, ): Effect.Effect< GetFirewallRuleGroupAssociationResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getFirewallRuleGroupPolicy( input: GetFirewallRuleGroupPolicyRequest, ): Effect.Effect< GetFirewallRuleGroupPolicyResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOutpostResolver( input: GetOutpostResolverRequest, ): Effect.Effect< GetOutpostResolverResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResolverConfig( input: GetResolverConfigRequest, ): Effect.Effect< GetResolverConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResolverDnssecConfig( input: GetResolverDnssecConfigRequest, ): Effect.Effect< GetResolverDnssecConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getResolverEndpoint( input: GetResolverEndpointRequest, ): Effect.Effect< GetResolverEndpointResponse, - | InternalServiceErrorException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getResolverQueryLogConfig( input: GetResolverQueryLogConfigRequest, ): Effect.Effect< GetResolverQueryLogConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getResolverQueryLogConfigAssociation( input: GetResolverQueryLogConfigAssociationRequest, ): Effect.Effect< GetResolverQueryLogConfigAssociationResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getResolverQueryLogConfigPolicy( input: GetResolverQueryLogConfigPolicyRequest, ): Effect.Effect< GetResolverQueryLogConfigPolicyResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | UnknownResourceException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | UnknownResourceException | CommonAwsError >; getResolverRule( input: GetResolverRuleRequest, ): Effect.Effect< GetResolverRuleResponse, - | InternalServiceErrorException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getResolverRuleAssociation( input: GetResolverRuleAssociationRequest, ): Effect.Effect< GetResolverRuleAssociationResponse, - | InternalServiceErrorException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getResolverRulePolicy( input: GetResolverRulePolicyRequest, ): Effect.Effect< GetResolverRulePolicyResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | UnknownResourceException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | UnknownResourceException | CommonAwsError >; importFirewallDomains( input: ImportFirewallDomainsRequest, ): Effect.Effect< ImportFirewallDomainsResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFirewallConfigs( input: ListFirewallConfigsRequest, ): Effect.Effect< ListFirewallConfigsResponse, - | AccessDeniedException - | InternalServiceErrorException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ThrottlingException | ValidationException | CommonAwsError >; listFirewallDomainLists( input: ListFirewallDomainListsRequest, ): Effect.Effect< ListFirewallDomainListsResponse, - | AccessDeniedException - | InternalServiceErrorException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ThrottlingException | ValidationException | CommonAwsError >; listFirewallDomains( input: ListFirewallDomainsRequest, ): Effect.Effect< ListFirewallDomainsResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFirewallRuleGroupAssociations( input: ListFirewallRuleGroupAssociationsRequest, ): Effect.Effect< ListFirewallRuleGroupAssociationsResponse, - | AccessDeniedException - | InternalServiceErrorException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ThrottlingException | ValidationException | CommonAwsError >; listFirewallRuleGroups( input: ListFirewallRuleGroupsRequest, ): Effect.Effect< ListFirewallRuleGroupsResponse, - | AccessDeniedException - | InternalServiceErrorException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ThrottlingException | ValidationException | CommonAwsError >; listFirewallRules( input: ListFirewallRulesRequest, ): Effect.Effect< ListFirewallRulesResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listOutpostResolvers( input: ListOutpostResolversRequest, ): Effect.Effect< ListOutpostResolversResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listResolverConfigs( input: ListResolverConfigsRequest, ): Effect.Effect< ListResolverConfigsResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | ThrottlingException | ValidationException | CommonAwsError >; listResolverDnssecConfigs( input: ListResolverDnssecConfigsRequest, ): Effect.Effect< ListResolverDnssecConfigsResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | ThrottlingException | CommonAwsError >; listResolverEndpointIpAddresses( input: ListResolverEndpointIpAddressesRequest, ): Effect.Effect< ListResolverEndpointIpAddressesResponse, - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listResolverEndpoints( input: ListResolverEndpointsRequest, ): Effect.Effect< ListResolverEndpointsResponse, - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | ThrottlingException | CommonAwsError >; listResolverQueryLogConfigAssociations( input: ListResolverQueryLogConfigAssociationsRequest, ): Effect.Effect< ListResolverQueryLogConfigAssociationsResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | LimitExceededException | ThrottlingException | CommonAwsError >; listResolverQueryLogConfigs( input: ListResolverQueryLogConfigsRequest, ): Effect.Effect< ListResolverQueryLogConfigsResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | ThrottlingException | CommonAwsError >; listResolverRuleAssociations( input: ListResolverRuleAssociationsRequest, ): Effect.Effect< ListResolverRuleAssociationsResponse, - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | ThrottlingException | CommonAwsError >; listResolverRules( input: ListResolverRulesRequest, ): Effect.Effect< ListResolverRulesResponse, - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; putFirewallRuleGroupPolicy( input: PutFirewallRuleGroupPolicyRequest, ): Effect.Effect< PutFirewallRuleGroupPolicyResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putResolverQueryLogConfigPolicy( input: PutResolverQueryLogConfigPolicyRequest, ): Effect.Effect< PutResolverQueryLogConfigPolicyResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidPolicyDocument - | InvalidRequestException - | UnknownResourceException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidPolicyDocument | InvalidRequestException | UnknownResourceException | CommonAwsError >; putResolverRulePolicy( input: PutResolverRulePolicyRequest, ): Effect.Effect< PutResolverRulePolicyResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidPolicyDocument - | UnknownResourceException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidPolicyDocument | UnknownResourceException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | InvalidTagException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | InvalidRequestException | InvalidTagException | LimitExceededException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateFirewallConfig( input: UpdateFirewallConfigRequest, ): Effect.Effect< UpdateFirewallConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFirewallDomains( input: UpdateFirewallDomainsRequest, ): Effect.Effect< UpdateFirewallDomainsResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | LimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | LimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFirewallRule( input: UpdateFirewallRuleRequest, ): Effect.Effect< UpdateFirewallRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFirewallRuleGroupAssociation( input: UpdateFirewallRuleGroupAssociationRequest, ): Effect.Effect< UpdateFirewallRuleGroupAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateOutpostResolver( input: UpdateOutpostResolverRequest, ): Effect.Effect< UpdateOutpostResolverResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateResolverConfig( input: UpdateResolverConfigRequest, ): Effect.Effect< UpdateResolverConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | ValidationException | CommonAwsError >; updateResolverDnssecConfig( input: UpdateResolverDnssecConfigRequest, ): Effect.Effect< UpdateResolverDnssecConfigResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateResolverEndpoint( input: UpdateResolverEndpointRequest, ): Effect.Effect< UpdateResolverEndpointResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateResolverRule( input: UpdateResolverRuleRequest, ): Effect.Effect< UpdateResolverRuleResponse, - | AccessDeniedException - | InternalServiceErrorException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ResourceUnavailableException | ThrottlingException | CommonAwsError >; } @@ -878,10 +460,7 @@ export interface AssociateResolverRuleRequest { export interface AssociateResolverRuleResponse { ResolverRuleAssociation?: ResolverRuleAssociation; } -export type AutodefinedReverseFlag = - | "ENABLE" - | "DISABLE" - | "USE_LOCAL_RESOURCE_SETTING"; +export type AutodefinedReverseFlag = "ENABLE" | "DISABLE" | "USE_LOCAL_RESOURCE_SETTING"; export type BlockOverrideDnsType = "CNAME"; export type BlockOverrideDomain = string; @@ -1104,23 +683,13 @@ export interface FirewallDomainListMetadata { ManagedOwnerName?: string; } export type FirewallDomainListMetadataList = Array; -export type FirewallDomainListStatus = - | "COMPLETE" - | "COMPLETE_IMPORT_FAILED" - | "IMPORTING" - | "DELETING" - | "UPDATING"; +export type FirewallDomainListStatus = "COMPLETE" | "COMPLETE_IMPORT_FAILED" | "IMPORTING" | "DELETING" | "UPDATING"; export type FirewallDomainName = string; -export type FirewallDomainRedirectionAction = - | "INSPECT_REDIRECTION_DOMAIN" - | "TRUST_REDIRECTION_DOMAIN"; +export type FirewallDomainRedirectionAction = "INSPECT_REDIRECTION_DOMAIN" | "TRUST_REDIRECTION_DOMAIN"; export type FirewallDomains = Array; export type FirewallDomainUpdateOperation = "ADD" | "REMOVE" | "REPLACE"; -export type FirewallFailOpenStatus = - | "ENABLED" - | "DISABLED" - | "USE_LOCAL_RESOURCE_SETTING"; +export type FirewallFailOpenStatus = "ENABLED" | "DISABLED" | "USE_LOCAL_RESOURCE_SETTING"; export interface FirewallRule { FirewallRuleGroupId?: string; FirewallDomainListId?: string; @@ -1169,10 +738,7 @@ export interface FirewallRuleGroupAssociation { ModificationTime?: string; } export type FirewallRuleGroupAssociations = Array; -export type FirewallRuleGroupAssociationStatus = - | "COMPLETE" - | "DELETING" - | "UPDATING"; +export type FirewallRuleGroupAssociationStatus = "COMPLETE" | "DELETING" | "UPDATING"; export interface FirewallRuleGroupMetadata { Id?: string; Arn?: string; @@ -1341,20 +907,7 @@ export interface IpAddressResponse { CreationTime?: string; ModificationTime?: string; } -export type IpAddressStatus = - | "CREATING" - | "FAILED_CREATION" - | "ATTACHING" - | "ATTACHED" - | "REMAP_DETACHING" - | "REMAP_ATTACHING" - | "DETACHING" - | "FAILED_RESOURCE_GONE" - | "DELETING" - | "DELETE_FAILED_FAS_EXPIRED" - | "UPDATING" - | "UPDATE_FAILED" - | "ISOLATED"; +export type IpAddressStatus = "CREATING" | "FAILED_CREATION" | "ATTACHING" | "ATTACHED" | "REMAP_DETACHING" | "REMAP_ATTACHING" | "DETACHING" | "FAILED_RESOURCE_GONE" | "DELETING" | "DELETE_FAILED_FAS_EXPIRED" | "UPDATING" | "UPDATE_FAILED" | "ISOLATED"; export interface IpAddressUpdate { IpId?: string; SubnetId?: string; @@ -1559,14 +1112,7 @@ export interface OutpostResolver { export type OutpostResolverList = Array; export type OutpostResolverName = string; -export type OutpostResolverStatus = - | "CREATING" - | "OPERATIONAL" - | "UPDATING" - | "DELETING" - | "ACTION_NEEDED" - | "FAILED_CREATION" - | "FAILED_DELETION"; +export type OutpostResolverStatus = "CREATING" | "OPERATIONAL" | "UPDATING" | "DELETING" | "ACTION_NEEDED" | "FAILED_CREATION" | "FAILED_DELETION"; export type OutpostResolverStatusMessage = string; export type Port = number; @@ -1598,13 +1144,7 @@ export interface PutResolverRulePolicyResponse { } export type Qtype = string; -export type ResolverAutodefinedReverseStatus = - | "ENABLING" - | "ENABLED" - | "DISABLING" - | "DISABLED" - | "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING" - | "USE_LOCAL_RESOURCE_SETTING"; +export type ResolverAutodefinedReverseStatus = "ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING" | "USE_LOCAL_RESOURCE_SETTING"; export interface ResolverConfig { Id?: string; ResourceId?: string; @@ -1619,13 +1159,7 @@ export interface ResolverDnssecConfig { ValidationStatus?: ResolverDNSSECValidationStatus; } export type ResolverDnssecConfigList = Array; -export type ResolverDNSSECValidationStatus = - | "ENABLING" - | "ENABLED" - | "DISABLING" - | "DISABLED" - | "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING" - | "USE_LOCAL_RESOURCE_SETTING"; +export type ResolverDNSSECValidationStatus = "ENABLING" | "ENABLED" | "DISABLING" | "DISABLED" | "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING" | "USE_LOCAL_RESOURCE_SETTING"; export interface ResolverEndpoint { Id?: string; CreatorRequestId?: string; @@ -1644,18 +1178,9 @@ export interface ResolverEndpoint { ResolverEndpointType?: ResolverEndpointType; Protocols?: Array; } -export type ResolverEndpointDirection = - | "INBOUND" - | "OUTBOUND" - | "INBOUND_DELEGATION"; +export type ResolverEndpointDirection = "INBOUND" | "OUTBOUND" | "INBOUND_DELEGATION"; export type ResolverEndpoints = Array; -export type ResolverEndpointStatus = - | "CREATING" - | "OPERATIONAL" - | "UPDATING" - | "AUTO_RECOVERING" - | "ACTION_NEEDED" - | "DELETING"; +export type ResolverEndpointStatus = "CREATING" | "OPERATIONAL" | "UPDATING" | "AUTO_RECOVERING" | "ACTION_NEEDED" | "DELETING"; export type ResolverEndpointType = "IPV6" | "IPV4" | "DUALSTACK"; export interface ResolverQueryLogConfig { Id?: string; @@ -1678,31 +1203,17 @@ export interface ResolverQueryLogConfigAssociation { ErrorMessage?: string; CreationTime?: string; } -export type ResolverQueryLogConfigAssociationError = - | "NONE" - | "DESTINATION_NOT_FOUND" - | "ACCESS_DENIED" - | "INTERNAL_SERVICE_ERROR"; +export type ResolverQueryLogConfigAssociationError = "NONE" | "DESTINATION_NOT_FOUND" | "ACCESS_DENIED" | "INTERNAL_SERVICE_ERROR"; export type ResolverQueryLogConfigAssociationErrorMessage = string; -export type ResolverQueryLogConfigAssociationList = - Array; -export type ResolverQueryLogConfigAssociationStatus = - | "CREATING" - | "ACTIVE" - | "ACTION_NEEDED" - | "DELETING" - | "FAILED"; +export type ResolverQueryLogConfigAssociationList = Array; +export type ResolverQueryLogConfigAssociationStatus = "CREATING" | "ACTIVE" | "ACTION_NEEDED" | "DELETING" | "FAILED"; export type ResolverQueryLogConfigList = Array; export type ResolverQueryLogConfigName = string; export type ResolverQueryLogConfigPolicy = string; -export type ResolverQueryLogConfigStatus = - | "CREATING" - | "CREATED" - | "DELETING" - | "FAILED"; +export type ResolverQueryLogConfigStatus = "CREATING" | "CREATED" | "DELETING" | "FAILED"; export interface ResolverRule { Id?: string; CreatorRequestId?: string; @@ -1729,12 +1240,7 @@ export interface ResolverRuleAssociation { StatusMessage?: string; } export type ResolverRuleAssociations = Array; -export type ResolverRuleAssociationStatus = - | "CREATING" - | "COMPLETE" - | "DELETING" - | "FAILED" - | "OVERRIDDEN"; +export type ResolverRuleAssociationStatus = "CREATING" | "COMPLETE" | "DELETING" | "FAILED" | "OVERRIDDEN"; export interface ResolverRuleConfig { Name?: string; TargetIps?: Array; @@ -1743,11 +1249,7 @@ export interface ResolverRuleConfig { export type ResolverRulePolicy = string; export type ResolverRules = Array; -export type ResolverRuleStatus = - | "COMPLETE" - | "DELETING" - | "UPDATING" - | "FAILED"; +export type ResolverRuleStatus = "COMPLETE" | "DELETING" | "UPDATING" | "FAILED"; export declare class ResourceExistsException extends EffectData.TaggedError( "ResourceExistsException", )<{ @@ -1809,7 +1311,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TargetAddress { @@ -1836,7 +1339,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateFirewallConfigRequest { ResourceId: string; FirewallFailOpen: FirewallFailOpenStatus; @@ -2796,22 +2300,5 @@ export declare namespace UpdateResolverRule { | CommonAwsError; } -export type Route53ResolverErrors = - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | InvalidNextTokenException - | InvalidParameterException - | InvalidPolicyDocument - | InvalidRequestException - | InvalidTagException - | LimitExceededException - | ResourceExistsException - | ResourceInUseException - | ResourceNotFoundException - | ResourceUnavailableException - | ServiceQuotaExceededException - | ThrottlingException - | UnknownResourceException - | ValidationException - | CommonAwsError; +export type Route53ResolverErrors = AccessDeniedException | ConflictException | InternalServiceErrorException | InvalidNextTokenException | InvalidParameterException | InvalidPolicyDocument | InvalidRequestException | InvalidTagException | LimitExceededException | ResourceExistsException | ResourceInUseException | ResourceNotFoundException | ResourceUnavailableException | ServiceQuotaExceededException | ThrottlingException | UnknownResourceException | ValidationException | CommonAwsError; + diff --git a/src/services/rtbfabric/index.ts b/src/services/rtbfabric/index.ts index b8433b3a..ff69157c 100644 --- a/src/services/rtbfabric/index.ts +++ b/src/services/rtbfabric/index.ts @@ -5,23 +5,7 @@ import type { RTBFabric as _RTBFabricClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,39 +14,37 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "rtbfabric", operations: { - ListRequesterGateways: "GET /requester-gateways", - ListResponderGateways: "GET /responder-gateways", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - AcceptLink: "POST /gateway/{gatewayId}/link/{linkId}/accept", - CreateInboundExternalLink: - "POST /responder-gateway/{gatewayId}/inbound-external-link", - CreateLink: "POST /gateway/{gatewayId}/create-link", - CreateOutboundExternalLink: - "POST /requester-gateway/{gatewayId}/outbound-external-link", - CreateRequesterGateway: "POST /requester-gateway", - CreateResponderGateway: "POST /responder-gateway", - DeleteInboundExternalLink: - "DELETE /responder-gateway/{gatewayId}/inbound-external-link/{linkId}", - DeleteLink: "DELETE /gateway/{gatewayId}/link/{linkId}", - DeleteOutboundExternalLink: - "DELETE /requester-gateway/{gatewayId}/outbound-external-link/{linkId}", - DeleteRequesterGateway: "DELETE /requester-gateway/{gatewayId}", - DeleteResponderGateway: "DELETE /responder-gateway/{gatewayId}", - GetInboundExternalLink: - "GET /responder-gateway/{gatewayId}/inbound-external-link/{linkId}", - GetLink: "GET /gateway/{gatewayId}/link/{linkId}", - GetOutboundExternalLink: - "GET /requester-gateway/{gatewayId}/outbound-external-link/{linkId}", - GetRequesterGateway: "GET /requester-gateway/{gatewayId}", - GetResponderGateway: "GET /responder-gateway/{gatewayId}", - ListLinks: "GET /gateway/{gatewayId}/links/", - RejectLink: "POST /gateway/{gatewayId}/link/{linkId}/reject", - UpdateLink: "PATCH /gateway/{gatewayId}/link/{linkId}", - UpdateLinkModuleFlow: "POST /gateway/{gatewayId}/link/{linkId}/module-flow", - UpdateRequesterGateway: "POST /requester-gateway/{gatewayId}/update", - UpdateResponderGateway: "POST /responder-gateway/{gatewayId}/update", + "ListRequesterGateways": "GET /requester-gateways", + "ListResponderGateways": "GET /responder-gateways", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "AcceptLink": "POST /gateway/{gatewayId}/link/{linkId}/accept", + "CreateInboundExternalLink": "POST /responder-gateway/{gatewayId}/inbound-external-link", + "CreateLink": "POST /gateway/{gatewayId}/create-link", + "CreateOutboundExternalLink": "POST /requester-gateway/{gatewayId}/outbound-external-link", + "CreateRequesterGateway": "POST /requester-gateway", + "CreateResponderGateway": "POST /responder-gateway", + "DeleteInboundExternalLink": "DELETE /responder-gateway/{gatewayId}/inbound-external-link/{linkId}", + "DeleteLink": "DELETE /gateway/{gatewayId}/link/{linkId}", + "DeleteOutboundExternalLink": "DELETE /requester-gateway/{gatewayId}/outbound-external-link/{linkId}", + "DeleteRequesterGateway": "DELETE /requester-gateway/{gatewayId}", + "DeleteResponderGateway": "DELETE /responder-gateway/{gatewayId}", + "GetInboundExternalLink": "GET /responder-gateway/{gatewayId}/inbound-external-link/{linkId}", + "GetLink": "GET /gateway/{gatewayId}/link/{linkId}", + "GetOutboundExternalLink": "GET /requester-gateway/{gatewayId}/outbound-external-link/{linkId}", + "GetRequesterGateway": "GET /requester-gateway/{gatewayId}", + "GetResponderGateway": "GET /responder-gateway/{gatewayId}", + "ListLinks": "GET /gateway/{gatewayId}/links/", + "RejectLink": "POST /gateway/{gatewayId}/link/{linkId}/reject", + "UpdateLink": "PATCH /gateway/{gatewayId}/link/{linkId}", + "UpdateLinkModuleFlow": "POST /gateway/{gatewayId}/link/{linkId}/module-flow", + "UpdateRequesterGateway": "POST /requester-gateway/{gatewayId}/update", + "UpdateResponderGateway": "POST /responder-gateway/{gatewayId}/update", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/rtbfabric/types.ts b/src/services/rtbfabric/types.ts index 0dc469be..2eb124ad 100644 --- a/src/services/rtbfabric/types.ts +++ b/src/services/rtbfabric/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class RTBFabric extends AWSServiceClient { @@ -52,294 +20,151 @@ export declare class RTBFabric extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; acceptLink( input: AcceptLinkRequest, ): Effect.Effect< AcceptLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createInboundExternalLink( input: CreateInboundExternalLinkRequest, ): Effect.Effect< CreateInboundExternalLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLink( input: CreateLinkRequest, ): Effect.Effect< CreateLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createOutboundExternalLink( input: CreateOutboundExternalLinkRequest, ): Effect.Effect< CreateOutboundExternalLinkResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRequesterGateway( input: CreateRequesterGatewayRequest, ): Effect.Effect< CreateRequesterGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createResponderGateway( input: CreateResponderGatewayRequest, ): Effect.Effect< CreateResponderGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteInboundExternalLink( input: DeleteInboundExternalLinkRequest, ): Effect.Effect< DeleteInboundExternalLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteLink( input: DeleteLinkRequest, ): Effect.Effect< DeleteLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteOutboundExternalLink( input: DeleteOutboundExternalLinkRequest, ): Effect.Effect< DeleteOutboundExternalLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRequesterGateway( input: DeleteRequesterGatewayRequest, ): Effect.Effect< DeleteRequesterGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResponderGateway( input: DeleteResponderGatewayRequest, ): Effect.Effect< DeleteResponderGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getInboundExternalLink( input: GetInboundExternalLinkRequest, ): Effect.Effect< GetInboundExternalLinkResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLink( input: GetLinkRequest, ): Effect.Effect< GetLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getOutboundExternalLink( input: GetOutboundExternalLinkRequest, ): Effect.Effect< GetOutboundExternalLinkResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRequesterGateway( input: GetRequesterGatewayRequest, ): Effect.Effect< GetRequesterGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResponderGateway( input: GetResponderGatewayRequest, ): Effect.Effect< GetResponderGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLinks( input: ListLinksRequest, ): Effect.Effect< ListLinksResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; rejectLink( input: RejectLinkRequest, ): Effect.Effect< RejectLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateLink( input: UpdateLinkRequest, ): Effect.Effect< UpdateLinkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateLinkModuleFlow( input: UpdateLinkModuleFlowRequest, ): Effect.Effect< UpdateLinkModuleFlowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateRequesterGateway( input: UpdateRequesterGatewayRequest, ): Effect.Effect< UpdateRequesterGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateResponderGateway( input: UpdateResponderGatewayRequest, ): Effect.Effect< UpdateResponderGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -373,9 +198,7 @@ interface _Action { headerTag?: HeaderTagAction; } -export type Action = - | (_Action & { noBid: NoBidAction }) - | (_Action & { headerTag: HeaderTagAction }); +export type Action = (_Action & { noBid: NoBidAction }) | (_Action & { headerTag: HeaderTagAction }); export type AutoScalingGroupName = string; export type AutoScalingGroupNameList = Array; @@ -650,20 +473,7 @@ export type LinkList = Array; export interface LinkLogSettings { applicationLogs: LinkApplicationLogConfiguration; } -export type LinkStatus = - | "PENDING_CREATION" - | "PENDING_REQUEST" - | "REQUESTED" - | "ACCEPTED" - | "ACTIVE" - | "REJECTED" - | "FAILED" - | "PENDING_DELETION" - | "DELETED" - | "PENDING_UPDATE" - | "PENDING_ISOLATION" - | "ISOLATED" - | "PENDING_RESTORATION"; +export type LinkStatus = "PENDING_CREATION" | "PENDING_REQUEST" | "REQUESTED" | "ACCEPTED" | "ACTIVE" | "REJECTED" | "FAILED" | "PENDING_DELETION" | "DELETED" | "PENDING_UPDATE" | "PENDING_ISOLATION" | "ISOLATED" | "PENDING_RESTORATION"; export interface ListLinksRequest { gatewayId: string; nextToken?: string; @@ -713,13 +523,7 @@ interface _ManagedEndpointConfiguration { eksEndpoints?: EksEndpointsConfiguration; } -export type ManagedEndpointConfiguration = - | (_ManagedEndpointConfiguration & { - autoScalingGroups: AutoScalingGroupsConfiguration; - }) - | (_ManagedEndpointConfiguration & { - eksEndpoints: EksEndpointsConfiguration; - }); +export type ManagedEndpointConfiguration = (_ManagedEndpointConfiguration & { autoScalingGroups: AutoScalingGroupsConfiguration }) | (_ManagedEndpointConfiguration & { eksEndpoints: EksEndpointsConfiguration }); export interface ModuleConfiguration { version?: string; name: string; @@ -733,10 +537,7 @@ interface _ModuleParameters { rateLimiter?: RateLimiterModuleParameters; } -export type ModuleParameters = - | (_ModuleParameters & { noBid: NoBidModuleParameters }) - | (_ModuleParameters & { openRtbAttribute: OpenRtbAttributeModuleParameters }) - | (_ModuleParameters & { rateLimiter: RateLimiterModuleParameters }); +export type ModuleParameters = (_ModuleParameters & { noBid: NoBidModuleParameters }) | (_ModuleParameters & { openRtbAttribute: OpenRtbAttributeModuleParameters }) | (_ModuleParameters & { rateLimiter: RateLimiterModuleParameters }); export interface NoBidAction { noBidReasonCode?: number; } @@ -771,16 +572,7 @@ export interface RejectLinkResponse { attributes?: LinkAttributes; linkId: string; } -export type RequesterGatewayStatus = - | "PENDING_CREATION" - | "ACTIVE" - | "PENDING_DELETION" - | "DELETED" - | "ERROR" - | "PENDING_UPDATE" - | "ISOLATED" - | "PENDING_ISOLATION" - | "PENDING_RESTORATION"; +export type RequesterGatewayStatus = "PENDING_CREATION" | "ACTIVE" | "PENDING_DELETION" | "DELETED" | "ERROR" | "PENDING_UPDATE" | "ISOLATED" | "PENDING_ISOLATION" | "PENDING_RESTORATION"; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -795,18 +587,8 @@ export interface ResponderErrorMaskingForHttpCode { responseLoggingPercentage?: number; } export type ResponderErrorMaskingLoggingType = "NONE" | "METRIC" | "RESPONSE"; -export type ResponderErrorMaskingLoggingTypes = - Array; -export type ResponderGatewayStatus = - | "PENDING_CREATION" - | "ACTIVE" - | "PENDING_DELETION" - | "DELETED" - | "ERROR" - | "PENDING_UPDATE" - | "ISOLATED" - | "PENDING_ISOLATION" - | "PENDING_RESTORATION"; +export type ResponderErrorMaskingLoggingTypes = Array; +export type ResponderGatewayStatus = "PENDING_CREATION" | "ACTIVE" | "PENDING_DELETION" | "DELETED" | "ERROR" | "PENDING_UPDATE" | "ISOLATED" | "PENDING_ISOLATION" | "PENDING_RESTORATION"; export type RtbTaggableResourceArn = string; export type SecurityGroupId = string; @@ -827,7 +609,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export type TagValue = string; @@ -843,7 +626,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateLinkModuleFlowRequest { clientToken: string; gatewayId: string; @@ -1237,12 +1021,5 @@ export declare namespace UpdateResponderGateway { | CommonAwsError; } -export type RTBFabricErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type RTBFabricErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/rum/index.ts b/src/services/rum/index.ts index 49688b25..3a7adfdf 100644 --- a/src/services/rum/index.ts +++ b/src/services/rum/index.ts @@ -5,23 +5,7 @@ import type { RUM as _RUMClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,31 +14,30 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "rum", operations: { - ListTagsForResource: "GET /tags/{ResourceArn}", - PutRumEvents: "POST /appmonitors/{Id}/", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - BatchCreateRumMetricDefinitions: - "POST /rummetrics/{AppMonitorName}/metrics", - BatchDeleteRumMetricDefinitions: - "DELETE /rummetrics/{AppMonitorName}/metrics", - BatchGetRumMetricDefinitions: "GET /rummetrics/{AppMonitorName}/metrics", - CreateAppMonitor: "POST /appmonitor", - DeleteAppMonitor: "DELETE /appmonitor/{Name}", - DeleteResourcePolicy: "DELETE /appmonitor/{Name}/policy", - DeleteRumMetricsDestination: - "DELETE /rummetrics/{AppMonitorName}/metricsdestination", - GetAppMonitor: "GET /appmonitor/{Name}", - GetAppMonitorData: "POST /appmonitor/{Name}/data", - GetResourcePolicy: "GET /appmonitor/{Name}/policy", - ListAppMonitors: "POST /appmonitors", - ListRumMetricsDestinations: - "GET /rummetrics/{AppMonitorName}/metricsdestination", - PutResourcePolicy: "PUT /appmonitor/{Name}/policy", - PutRumMetricsDestination: - "POST /rummetrics/{AppMonitorName}/metricsdestination", - UpdateAppMonitor: "PATCH /appmonitor/{Name}", - UpdateRumMetricDefinition: "PATCH /rummetrics/{AppMonitorName}/metrics", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "PutRumEvents": "POST /appmonitors/{Id}/", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "BatchCreateRumMetricDefinitions": "POST /rummetrics/{AppMonitorName}/metrics", + "BatchDeleteRumMetricDefinitions": "DELETE /rummetrics/{AppMonitorName}/metrics", + "BatchGetRumMetricDefinitions": "GET /rummetrics/{AppMonitorName}/metrics", + "CreateAppMonitor": "POST /appmonitor", + "DeleteAppMonitor": "DELETE /appmonitor/{Name}", + "DeleteResourcePolicy": "DELETE /appmonitor/{Name}/policy", + "DeleteRumMetricsDestination": "DELETE /rummetrics/{AppMonitorName}/metricsdestination", + "GetAppMonitor": "GET /appmonitor/{Name}", + "GetAppMonitorData": "POST /appmonitor/{Name}/data", + "GetResourcePolicy": "GET /appmonitor/{Name}/policy", + "ListAppMonitors": "POST /appmonitors", + "ListRumMetricsDestinations": "GET /rummetrics/{AppMonitorName}/metricsdestination", + "PutResourcePolicy": "PUT /appmonitor/{Name}/policy", + "PutRumMetricsDestination": "POST /rummetrics/{AppMonitorName}/metricsdestination", + "UpdateAppMonitor": "PATCH /appmonitor/{Name}", + "UpdateRumMetricDefinition": "PATCH /rummetrics/{AppMonitorName}/metrics", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/rum/types.ts b/src/services/rum/types.ts index a9e03729..7ea99e1c 100644 --- a/src/services/rum/types.ts +++ b/src/services/rum/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class RUM extends AWSServiceClient { @@ -40,232 +8,121 @@ export declare class RUM extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putRumEvents( input: PutRumEventsRequest, ): Effect.Effect< PutRumEventsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchCreateRumMetricDefinitions( input: BatchCreateRumMetricDefinitionsRequest, ): Effect.Effect< BatchCreateRumMetricDefinitionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; batchDeleteRumMetricDefinitions( input: BatchDeleteRumMetricDefinitionsRequest, ): Effect.Effect< BatchDeleteRumMetricDefinitionsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; batchGetRumMetricDefinitions( input: BatchGetRumMetricDefinitionsRequest, ): Effect.Effect< BatchGetRumMetricDefinitionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createAppMonitor( input: CreateAppMonitorRequest, ): Effect.Effect< CreateAppMonitorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAppMonitor( input: DeleteAppMonitorRequest, ): Effect.Effect< DeleteAppMonitorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidPolicyRevisionIdException - | PolicyNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidPolicyRevisionIdException | PolicyNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRumMetricsDestination( input: DeleteRumMetricsDestinationRequest, ): Effect.Effect< DeleteRumMetricsDestinationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAppMonitor( input: GetAppMonitorRequest, ): Effect.Effect< GetAppMonitorResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAppMonitorData( input: GetAppMonitorDataRequest, ): Effect.Effect< GetAppMonitorDataResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | PolicyNotFoundException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | PolicyNotFoundException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAppMonitors( input: ListAppMonitorsRequest, ): Effect.Effect< ListAppMonitorsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRumMetricsDestinations( input: ListRumMetricsDestinationsRequest, ): Effect.Effect< ListRumMetricsDestinationsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidPolicyRevisionIdException - | MalformedPolicyDocumentException - | PolicySizeLimitExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidPolicyRevisionIdException | MalformedPolicyDocumentException | PolicySizeLimitExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putRumMetricsDestination( input: PutRumMetricsDestinationRequest, ): Effect.Effect< PutRumMetricsDestinationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAppMonitor( input: UpdateAppMonitorRequest, ): Effect.Effect< UpdateAppMonitorResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRumMetricDefinition( input: UpdateRumMetricDefinitionRequest, ): Effect.Effect< UpdateRumMetricDefinitionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -330,8 +187,7 @@ export interface BatchCreateRumMetricDefinitionsError { ErrorCode: string; ErrorMessage: string; } -export type BatchCreateRumMetricDefinitionsErrors = - Array; +export type BatchCreateRumMetricDefinitionsErrors = Array; export interface BatchCreateRumMetricDefinitionsRequest { AppMonitorName: string; Destination: string; @@ -347,8 +203,7 @@ export interface BatchDeleteRumMetricDefinitionsError { ErrorCode: string; ErrorMessage: string; } -export type BatchDeleteRumMetricDefinitionsErrors = - Array; +export type BatchDeleteRumMetricDefinitionsErrors = Array; export interface BatchDeleteRumMetricDefinitionsRequest { AppMonitorName: string; Destination: string; @@ -405,7 +260,8 @@ export interface DataStorage { export interface DeleteAppMonitorRequest { Name: string; } -export interface DeleteAppMonitorResponse {} +export interface DeleteAppMonitorResponse { +} export interface DeleteResourcePolicyRequest { Name: string; PolicyRevisionId?: string; @@ -418,7 +274,8 @@ export interface DeleteRumMetricsDestinationRequest { Destination: string; DestinationArn?: string; } -export interface DeleteRumMetricsDestinationResponse {} +export interface DeleteRumMetricsDestinationResponse { +} export interface DeobfuscationConfiguration { JavaScriptSourceMaps?: JavaScriptSourceMaps; } @@ -583,14 +440,16 @@ export interface PutRumEventsRequest { RumEvents: Array; Alias?: string; } -export interface PutRumEventsResponse {} +export interface PutRumEventsResponse { +} export interface PutRumMetricsDestinationRequest { AppMonitorName: string; Destination: string; DestinationArn?: string; IamRoleArn?: string; } -export interface PutRumMetricsDestinationResponse {} +export interface PutRumMetricsDestinationResponse { +} export interface QueryFilter { Name?: string; Values?: Array; @@ -635,7 +494,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Telemetries = Array; @@ -661,7 +521,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAppMonitorRequest { Name: string; Domain?: string; @@ -671,7 +532,8 @@ export interface UpdateAppMonitorRequest { CustomEvents?: CustomEvents; DeobfuscationConfiguration?: DeobfuscationConfiguration; } -export interface UpdateAppMonitorResponse {} +export interface UpdateAppMonitorResponse { +} export interface UpdateRumMetricDefinitionRequest { AppMonitorName: string; Destination: string; @@ -679,7 +541,8 @@ export interface UpdateRumMetricDefinitionRequest { MetricDefinition: MetricDefinitionRequest; MetricDefinitionId: string; } -export interface UpdateRumMetricDefinitionResponse {} +export interface UpdateRumMetricDefinitionResponse { +} export type Url = string; export interface UserDetails { @@ -944,16 +807,5 @@ export declare namespace UpdateRumMetricDefinition { | CommonAwsError; } -export type RUMErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidPolicyRevisionIdException - | MalformedPolicyDocumentException - | PolicyNotFoundException - | PolicySizeLimitExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type RUMErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidPolicyRevisionIdException | MalformedPolicyDocumentException | PolicyNotFoundException | PolicySizeLimitExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/s3-control/index.ts b/src/services/s3-control/index.ts index 5f59eb57..f1fa158f 100644 --- a/src/services/s3-control/index.ts +++ b/src/services/s3-control/index.ts @@ -5,26 +5,7 @@ import type { S3Control as _S3ControlClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,615 +15,614 @@ const metadata = { sigV4ServiceName: "s3", endpointPrefix: "s3-control", operations: { - AssociateAccessGrantsIdentityCenter: { + "AssociateAccessGrantsIdentityCenter": { http: "POST /v20180820/accessgrantsinstance/identitycenter", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - CreateAccessGrant: { + "CreateAccessGrant": { http: "POST /v20180820/accessgrantsinstance/grant", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - CreateAccessGrantsInstance: { + "CreateAccessGrantsInstance": { http: "POST /v20180820/accessgrantsinstance", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - CreateAccessGrantsLocation: { + "CreateAccessGrantsLocation": { http: "POST /v20180820/accessgrantsinstance/location", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - CreateAccessPoint: { + "CreateAccessPoint": { http: "PUT /v20180820/accesspoint/{Name}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - CreateAccessPointForObjectLambda: { + "CreateAccessPointForObjectLambda": { http: "PUT /v20180820/accesspointforobjectlambda/{Name}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - CreateBucket: { + "CreateBucket": { http: "PUT /v20180820/bucket/{Bucket}", inputTraits: { - ACL: "x-amz-acl", - CreateBucketConfiguration: "httpPayload", - GrantFullControl: "x-amz-grant-full-control", - GrantRead: "x-amz-grant-read", - GrantReadACP: "x-amz-grant-read-acp", - GrantWrite: "x-amz-grant-write", - GrantWriteACP: "x-amz-grant-write-acp", - ObjectLockEnabledForBucket: "x-amz-bucket-object-lock-enabled", - OutpostId: "x-amz-outpost-id", + "ACL": "x-amz-acl", + "CreateBucketConfiguration": "httpPayload", + "GrantFullControl": "x-amz-grant-full-control", + "GrantRead": "x-amz-grant-read", + "GrantReadACP": "x-amz-grant-read-acp", + "GrantWrite": "x-amz-grant-write", + "GrantWriteACP": "x-amz-grant-write-acp", + "ObjectLockEnabledForBucket": "x-amz-bucket-object-lock-enabled", + "OutpostId": "x-amz-outpost-id", }, outputTraits: { - Location: "Location", + "Location": "Location", }, }, - CreateJob: { + "CreateJob": { http: "POST /v20180820/jobs", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - CreateMultiRegionAccessPoint: { + "CreateMultiRegionAccessPoint": { http: "POST /v20180820/async-requests/mrap/create", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - CreateStorageLensGroup: { + "CreateStorageLensGroup": { http: "POST /v20180820/storagelensgroup", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteAccessGrant: { + "DeleteAccessGrant": { http: "DELETE /v20180820/accessgrantsinstance/grant/{AccessGrantId}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteAccessGrantsInstance: { + "DeleteAccessGrantsInstance": { http: "DELETE /v20180820/accessgrantsinstance", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteAccessGrantsInstanceResourcePolicy: { + "DeleteAccessGrantsInstanceResourcePolicy": { http: "DELETE /v20180820/accessgrantsinstance/resourcepolicy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteAccessGrantsLocation: { + "DeleteAccessGrantsLocation": { http: "DELETE /v20180820/accessgrantsinstance/location/{AccessGrantsLocationId}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteAccessPoint: { + "DeleteAccessPoint": { http: "DELETE /v20180820/accesspoint/{Name}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteAccessPointForObjectLambda: { + "DeleteAccessPointForObjectLambda": { http: "DELETE /v20180820/accesspointforobjectlambda/{Name}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteAccessPointPolicy: { + "DeleteAccessPointPolicy": { http: "DELETE /v20180820/accesspoint/{Name}/policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteAccessPointPolicyForObjectLambda: { + "DeleteAccessPointPolicyForObjectLambda": { http: "DELETE /v20180820/accesspointforobjectlambda/{Name}/policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteAccessPointScope: { + "DeleteAccessPointScope": { http: "DELETE /v20180820/accesspoint/{Name}/scope", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteBucket: { + "DeleteBucket": { http: "DELETE /v20180820/bucket/{Bucket}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteBucketLifecycleConfiguration: { + "DeleteBucketLifecycleConfiguration": { http: "DELETE /v20180820/bucket/{Bucket}/lifecycleconfiguration", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteBucketPolicy: { + "DeleteBucketPolicy": { http: "DELETE /v20180820/bucket/{Bucket}/policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteBucketReplication: { + "DeleteBucketReplication": { http: "DELETE /v20180820/bucket/{Bucket}/replication", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteBucketTagging: { + "DeleteBucketTagging": { http: "DELETE /v20180820/bucket/{Bucket}/tagging", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteJobTagging: { + "DeleteJobTagging": { http: "DELETE /v20180820/jobs/{JobId}/tagging", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteMultiRegionAccessPoint: { + "DeleteMultiRegionAccessPoint": { http: "POST /v20180820/async-requests/mrap/delete", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeletePublicAccessBlock: { + "DeletePublicAccessBlock": { http: "DELETE /v20180820/configuration/publicAccessBlock", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteStorageLensConfiguration: { + "DeleteStorageLensConfiguration": { http: "DELETE /v20180820/storagelens/{ConfigId}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteStorageLensConfigurationTagging: { + "DeleteStorageLensConfigurationTagging": { http: "DELETE /v20180820/storagelens/{ConfigId}/tagging", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DeleteStorageLensGroup: { + "DeleteStorageLensGroup": { http: "DELETE /v20180820/storagelensgroup/{Name}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DescribeJob: { + "DescribeJob": { http: "GET /v20180820/jobs/{JobId}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DescribeMultiRegionAccessPointOperation: { + "DescribeMultiRegionAccessPointOperation": { http: "GET /v20180820/async-requests/mrap/{RequestTokenARN+}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - DissociateAccessGrantsIdentityCenter: { + "DissociateAccessGrantsIdentityCenter": { http: "DELETE /v20180820/accessgrantsinstance/identitycenter", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessGrant: { + "GetAccessGrant": { http: "GET /v20180820/accessgrantsinstance/grant/{AccessGrantId}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessGrantsInstance: { + "GetAccessGrantsInstance": { http: "GET /v20180820/accessgrantsinstance", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessGrantsInstanceForPrefix: { + "GetAccessGrantsInstanceForPrefix": { http: "GET /v20180820/accessgrantsinstance/prefix", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessGrantsInstanceResourcePolicy: { + "GetAccessGrantsInstanceResourcePolicy": { http: "GET /v20180820/accessgrantsinstance/resourcepolicy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessGrantsLocation: { + "GetAccessGrantsLocation": { http: "GET /v20180820/accessgrantsinstance/location/{AccessGrantsLocationId}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessPoint: { + "GetAccessPoint": { http: "GET /v20180820/accesspoint/{Name}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessPointConfigurationForObjectLambda: { + "GetAccessPointConfigurationForObjectLambda": { http: "GET /v20180820/accesspointforobjectlambda/{Name}/configuration", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessPointForObjectLambda: { + "GetAccessPointForObjectLambda": { http: "GET /v20180820/accesspointforobjectlambda/{Name}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessPointPolicy: { + "GetAccessPointPolicy": { http: "GET /v20180820/accesspoint/{Name}/policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessPointPolicyForObjectLambda: { + "GetAccessPointPolicyForObjectLambda": { http: "GET /v20180820/accesspointforobjectlambda/{Name}/policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessPointPolicyStatus: { + "GetAccessPointPolicyStatus": { http: "GET /v20180820/accesspoint/{Name}/policyStatus", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessPointPolicyStatusForObjectLambda: { + "GetAccessPointPolicyStatusForObjectLambda": { http: "GET /v20180820/accesspointforobjectlambda/{Name}/policyStatus", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetAccessPointScope: { + "GetAccessPointScope": { http: "GET /v20180820/accesspoint/{Name}/scope", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetBucket: { + "GetBucket": { http: "GET /v20180820/bucket/{Bucket}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetBucketLifecycleConfiguration: { + "GetBucketLifecycleConfiguration": { http: "GET /v20180820/bucket/{Bucket}/lifecycleconfiguration", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetBucketPolicy: { + "GetBucketPolicy": { http: "GET /v20180820/bucket/{Bucket}/policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetBucketReplication: { + "GetBucketReplication": { http: "GET /v20180820/bucket/{Bucket}/replication", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetBucketTagging: { + "GetBucketTagging": { http: "GET /v20180820/bucket/{Bucket}/tagging", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetBucketVersioning: { + "GetBucketVersioning": { http: "GET /v20180820/bucket/{Bucket}/versioning", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetDataAccess: { + "GetDataAccess": { http: "GET /v20180820/accessgrantsinstance/dataaccess", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetJobTagging: { + "GetJobTagging": { http: "GET /v20180820/jobs/{JobId}/tagging", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetMultiRegionAccessPoint: { + "GetMultiRegionAccessPoint": { http: "GET /v20180820/mrap/instances/{Name+}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetMultiRegionAccessPointPolicy: { + "GetMultiRegionAccessPointPolicy": { http: "GET /v20180820/mrap/instances/{Name+}/policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetMultiRegionAccessPointPolicyStatus: { + "GetMultiRegionAccessPointPolicyStatus": { http: "GET /v20180820/mrap/instances/{Name+}/policystatus", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetMultiRegionAccessPointRoutes: { + "GetMultiRegionAccessPointRoutes": { http: "GET /v20180820/mrap/instances/{Mrap+}/routes", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetPublicAccessBlock: { + "GetPublicAccessBlock": { http: "GET /v20180820/configuration/publicAccessBlock", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, outputTraits: { - PublicAccessBlockConfiguration: "httpPayload", + "PublicAccessBlockConfiguration": "httpPayload", }, }, - GetStorageLensConfiguration: { + "GetStorageLensConfiguration": { http: "GET /v20180820/storagelens/{ConfigId}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, outputTraits: { - StorageLensConfiguration: "httpPayload", + "StorageLensConfiguration": "httpPayload", }, }, - GetStorageLensConfigurationTagging: { + "GetStorageLensConfigurationTagging": { http: "GET /v20180820/storagelens/{ConfigId}/tagging", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - GetStorageLensGroup: { + "GetStorageLensGroup": { http: "GET /v20180820/storagelensgroup/{Name}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, outputTraits: { - StorageLensGroup: "httpPayload", + "StorageLensGroup": "httpPayload", }, }, - ListAccessGrants: { + "ListAccessGrants": { http: "GET /v20180820/accessgrantsinstance/grants", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListAccessGrantsInstances: { + "ListAccessGrantsInstances": { http: "GET /v20180820/accessgrantsinstances", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListAccessGrantsLocations: { + "ListAccessGrantsLocations": { http: "GET /v20180820/accessgrantsinstance/locations", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListAccessPoints: { + "ListAccessPoints": { http: "GET /v20180820/accesspoint", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListAccessPointsForDirectoryBuckets: { + "ListAccessPointsForDirectoryBuckets": { http: "GET /v20180820/accesspointfordirectory", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListAccessPointsForObjectLambda: { + "ListAccessPointsForObjectLambda": { http: "GET /v20180820/accesspointforobjectlambda", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListCallerAccessGrants: { + "ListCallerAccessGrants": { http: "GET /v20180820/accessgrantsinstance/caller/grants", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListJobs: { + "ListJobs": { http: "GET /v20180820/jobs", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListMultiRegionAccessPoints: { + "ListMultiRegionAccessPoints": { http: "GET /v20180820/mrap/instances", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListRegionalBuckets: { + "ListRegionalBuckets": { http: "GET /v20180820/bucket", inputTraits: { - AccountId: "x-amz-account-id", - OutpostId: "x-amz-outpost-id", + "AccountId": "x-amz-account-id", + "OutpostId": "x-amz-outpost-id", }, }, - ListStorageLensConfigurations: { + "ListStorageLensConfigurations": { http: "GET /v20180820/storagelens", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListStorageLensGroups: { + "ListStorageLensGroups": { http: "GET /v20180820/storagelensgroup", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - ListTagsForResource: { + "ListTagsForResource": { http: "GET /v20180820/tags/{ResourceArn+}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - PutAccessGrantsInstanceResourcePolicy: { + "PutAccessGrantsInstanceResourcePolicy": { http: "PUT /v20180820/accessgrantsinstance/resourcepolicy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - PutAccessPointConfigurationForObjectLambda: { + "PutAccessPointConfigurationForObjectLambda": { http: "PUT /v20180820/accesspointforobjectlambda/{Name}/configuration", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - PutAccessPointPolicy: { + "PutAccessPointPolicy": { http: "PUT /v20180820/accesspoint/{Name}/policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - PutAccessPointPolicyForObjectLambda: { + "PutAccessPointPolicyForObjectLambda": { http: "PUT /v20180820/accesspointforobjectlambda/{Name}/policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - PutAccessPointScope: { + "PutAccessPointScope": { http: "PUT /v20180820/accesspoint/{Name}/scope", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - PutBucketLifecycleConfiguration: { + "PutBucketLifecycleConfiguration": { http: "PUT /v20180820/bucket/{Bucket}/lifecycleconfiguration", inputTraits: { - AccountId: "x-amz-account-id", - LifecycleConfiguration: "httpPayload", + "AccountId": "x-amz-account-id", + "LifecycleConfiguration": "httpPayload", }, }, - PutBucketPolicy: { + "PutBucketPolicy": { http: "PUT /v20180820/bucket/{Bucket}/policy", inputTraits: { - AccountId: "x-amz-account-id", - ConfirmRemoveSelfBucketAccess: - "x-amz-confirm-remove-self-bucket-access", + "AccountId": "x-amz-account-id", + "ConfirmRemoveSelfBucketAccess": "x-amz-confirm-remove-self-bucket-access", }, }, - PutBucketReplication: { + "PutBucketReplication": { http: "PUT /v20180820/bucket/{Bucket}/replication", inputTraits: { - AccountId: "x-amz-account-id", - ReplicationConfiguration: "httpPayload", + "AccountId": "x-amz-account-id", + "ReplicationConfiguration": "httpPayload", }, }, - PutBucketTagging: { + "PutBucketTagging": { http: "PUT /v20180820/bucket/{Bucket}/tagging", inputTraits: { - AccountId: "x-amz-account-id", - Tagging: "httpPayload", + "AccountId": "x-amz-account-id", + "Tagging": "httpPayload", }, }, - PutBucketVersioning: { + "PutBucketVersioning": { http: "PUT /v20180820/bucket/{Bucket}/versioning", inputTraits: { - AccountId: "x-amz-account-id", - MFA: "x-amz-mfa", - VersioningConfiguration: "httpPayload", + "AccountId": "x-amz-account-id", + "MFA": "x-amz-mfa", + "VersioningConfiguration": "httpPayload", }, }, - PutJobTagging: { + "PutJobTagging": { http: "PUT /v20180820/jobs/{JobId}/tagging", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - PutMultiRegionAccessPointPolicy: { + "PutMultiRegionAccessPointPolicy": { http: "POST /v20180820/async-requests/mrap/put-policy", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - PutPublicAccessBlock: { + "PutPublicAccessBlock": { http: "PUT /v20180820/configuration/publicAccessBlock", inputTraits: { - PublicAccessBlockConfiguration: "httpPayload", - AccountId: "x-amz-account-id", + "PublicAccessBlockConfiguration": "httpPayload", + "AccountId": "x-amz-account-id", }, }, - PutStorageLensConfiguration: { + "PutStorageLensConfiguration": { http: "PUT /v20180820/storagelens/{ConfigId}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - PutStorageLensConfigurationTagging: { + "PutStorageLensConfigurationTagging": { http: "PUT /v20180820/storagelens/{ConfigId}/tagging", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - SubmitMultiRegionAccessPointRoutes: { + "SubmitMultiRegionAccessPointRoutes": { http: "PATCH /v20180820/mrap/instances/{Mrap+}/routes", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - TagResource: { + "TagResource": { http: "POST /v20180820/tags/{ResourceArn+}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - UntagResource: { + "UntagResource": { http: "DELETE /v20180820/tags/{ResourceArn+}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - UpdateAccessGrantsLocation: { + "UpdateAccessGrantsLocation": { http: "PUT /v20180820/accessgrantsinstance/location/{AccessGrantsLocationId}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - UpdateJobPriority: { + "UpdateJobPriority": { http: "POST /v20180820/jobs/{JobId}/priority", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - UpdateJobStatus: { + "UpdateJobStatus": { http: "POST /v20180820/jobs/{JobId}/status", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, - UpdateStorageLensGroup: { + "UpdateStorageLensGroup": { http: "PUT /v20180820/storagelensgroup/{Name}", inputTraits: { - AccountId: "x-amz-account-id", + "AccountId": "x-amz-account-id", }, }, }, diff --git a/src/services/s3-control/types.ts b/src/services/s3-control/types.ts index 90857089..7b8785df 100644 --- a/src/services/s3-control/types.ts +++ b/src/services/s3-control/types.ts @@ -5,22 +5,40 @@ import { AWSServiceClient } from "../../client.ts"; export declare class S3Control extends AWSServiceClient { associateAccessGrantsIdentityCenter( input: AssociateAccessGrantsIdentityCenterRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; createAccessGrant( input: CreateAccessGrantRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateAccessGrantResult, + CommonAwsError + >; createAccessGrantsInstance( input: CreateAccessGrantsInstanceRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateAccessGrantsInstanceResult, + CommonAwsError + >; createAccessGrantsLocation( input: CreateAccessGrantsLocationRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateAccessGrantsLocationResult, + CommonAwsError + >; createAccessPoint( input: CreateAccessPointRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateAccessPointResult, + CommonAwsError + >; createAccessPointForObjectLambda( input: CreateAccessPointForObjectLambdaRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateAccessPointForObjectLambdaResult, + CommonAwsError + >; createBucket( input: CreateBucketRequest, ): Effect.Effect< @@ -31,91 +49,145 @@ export declare class S3Control extends AWSServiceClient { input: CreateJobRequest, ): Effect.Effect< CreateJobResult, - | BadRequestException - | IdempotencyException - | InternalServiceException - | TooManyRequestsException - | CommonAwsError + BadRequestException | IdempotencyException | InternalServiceException | TooManyRequestsException | CommonAwsError >; createMultiRegionAccessPoint( input: CreateMultiRegionAccessPointRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateMultiRegionAccessPointResult, + CommonAwsError + >; createStorageLensGroup( input: CreateStorageLensGroupRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteAccessGrant( input: DeleteAccessGrantRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteAccessGrantsInstance( input: DeleteAccessGrantsInstanceRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteAccessGrantsInstanceResourcePolicy( input: DeleteAccessGrantsInstanceResourcePolicyRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteAccessGrantsLocation( input: DeleteAccessGrantsLocationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteAccessPoint( input: DeleteAccessPointRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteAccessPointForObjectLambda( input: DeleteAccessPointForObjectLambdaRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteAccessPointPolicy( input: DeleteAccessPointPolicyRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteAccessPointPolicyForObjectLambda( input: DeleteAccessPointPolicyForObjectLambdaRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteAccessPointScope( input: DeleteAccessPointScopeRequest, - ): Effect.Effect<{}, CommonAwsError>; - deleteBucket(input: DeleteBucketRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; + deleteBucket( + input: DeleteBucketRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketLifecycleConfiguration( input: DeleteBucketLifecycleConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketPolicy( input: DeleteBucketPolicyRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketReplication( input: DeleteBucketReplicationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketTagging( input: DeleteBucketTaggingRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteJobTagging( input: DeleteJobTaggingRequest, ): Effect.Effect< DeleteJobTaggingResult, - | InternalServiceException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServiceException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteMultiRegionAccessPoint( input: DeleteMultiRegionAccessPointRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteMultiRegionAccessPointResult, + CommonAwsError + >; deletePublicAccessBlock( input: DeletePublicAccessBlockRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteStorageLensConfiguration( input: DeleteStorageLensConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteStorageLensConfigurationTagging( input: DeleteStorageLensConfigurationTaggingRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteStorageLensConfigurationTaggingResult, + CommonAwsError + >; deleteStorageLensGroup( input: DeleteStorageLensGroupRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; describeJob( input: DescribeJobRequest, ): Effect.Effect< DescribeJobResult, - | BadRequestException - | InternalServiceException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceException | NotFoundException | TooManyRequestsException | CommonAwsError >; describeMultiRegionAccessPointOperation( input: DescribeMultiRegionAccessPointOperationRequest, @@ -125,25 +197,46 @@ export declare class S3Control extends AWSServiceClient { >; dissociateAccessGrantsIdentityCenter( input: DissociateAccessGrantsIdentityCenterRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; getAccessGrant( input: GetAccessGrantRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessGrantResult, + CommonAwsError + >; getAccessGrantsInstance( input: GetAccessGrantsInstanceRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessGrantsInstanceResult, + CommonAwsError + >; getAccessGrantsInstanceForPrefix( input: GetAccessGrantsInstanceForPrefixRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessGrantsInstanceForPrefixResult, + CommonAwsError + >; getAccessGrantsInstanceResourcePolicy( input: GetAccessGrantsInstanceResourcePolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessGrantsInstanceResourcePolicyResult, + CommonAwsError + >; getAccessGrantsLocation( input: GetAccessGrantsLocationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessGrantsLocationResult, + CommonAwsError + >; getAccessPoint( input: GetAccessPointRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessPointResult, + CommonAwsError + >; getAccessPointConfigurationForObjectLambda( input: GetAccessPointConfigurationForObjectLambdaRequest, ): Effect.Effect< @@ -152,16 +245,28 @@ export declare class S3Control extends AWSServiceClient { >; getAccessPointForObjectLambda( input: GetAccessPointForObjectLambdaRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessPointForObjectLambdaResult, + CommonAwsError + >; getAccessPointPolicy( input: GetAccessPointPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessPointPolicyResult, + CommonAwsError + >; getAccessPointPolicyForObjectLambda( input: GetAccessPointPolicyForObjectLambdaRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessPointPolicyForObjectLambdaResult, + CommonAwsError + >; getAccessPointPolicyStatus( input: GetAccessPointPolicyStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessPointPolicyStatusResult, + CommonAwsError + >; getAccessPointPolicyStatusForObjectLambda( input: GetAccessPointPolicyStatusForObjectLambdaRequest, ): Effect.Effect< @@ -170,49 +275,82 @@ export declare class S3Control extends AWSServiceClient { >; getAccessPointScope( input: GetAccessPointScopeRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessPointScopeResult, + CommonAwsError + >; getBucket( input: GetBucketRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketResult, + CommonAwsError + >; getBucketLifecycleConfiguration( input: GetBucketLifecycleConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketLifecycleConfigurationResult, + CommonAwsError + >; getBucketPolicy( input: GetBucketPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketPolicyResult, + CommonAwsError + >; getBucketReplication( input: GetBucketReplicationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketReplicationResult, + CommonAwsError + >; getBucketTagging( input: GetBucketTaggingRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketTaggingResult, + CommonAwsError + >; getBucketVersioning( input: GetBucketVersioningRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketVersioningResult, + CommonAwsError + >; getDataAccess( input: GetDataAccessRequest, - ): Effect.Effect; + ): Effect.Effect< + GetDataAccessResult, + CommonAwsError + >; getJobTagging( input: GetJobTaggingRequest, ): Effect.Effect< GetJobTaggingResult, - | InternalServiceException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServiceException | NotFoundException | TooManyRequestsException | CommonAwsError >; getMultiRegionAccessPoint( input: GetMultiRegionAccessPointRequest, - ): Effect.Effect; + ): Effect.Effect< + GetMultiRegionAccessPointResult, + CommonAwsError + >; getMultiRegionAccessPointPolicy( input: GetMultiRegionAccessPointPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + GetMultiRegionAccessPointPolicyResult, + CommonAwsError + >; getMultiRegionAccessPointPolicyStatus( input: GetMultiRegionAccessPointPolicyStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + GetMultiRegionAccessPointPolicyStatusResult, + CommonAwsError + >; getMultiRegionAccessPointRoutes( input: GetMultiRegionAccessPointRoutesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetMultiRegionAccessPointRoutesResult, + CommonAwsError + >; getPublicAccessBlock( input: GetPublicAccessBlockRequest, ): Effect.Effect< @@ -221,146 +359,232 @@ export declare class S3Control extends AWSServiceClient { >; getStorageLensConfiguration( input: GetStorageLensConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetStorageLensConfigurationResult, + CommonAwsError + >; getStorageLensConfigurationTagging( input: GetStorageLensConfigurationTaggingRequest, - ): Effect.Effect; + ): Effect.Effect< + GetStorageLensConfigurationTaggingResult, + CommonAwsError + >; getStorageLensGroup( input: GetStorageLensGroupRequest, - ): Effect.Effect; + ): Effect.Effect< + GetStorageLensGroupResult, + CommonAwsError + >; listAccessGrants( input: ListAccessGrantsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAccessGrantsResult, + CommonAwsError + >; listAccessGrantsInstances( input: ListAccessGrantsInstancesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAccessGrantsInstancesResult, + CommonAwsError + >; listAccessGrantsLocations( input: ListAccessGrantsLocationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAccessGrantsLocationsResult, + CommonAwsError + >; listAccessPoints( input: ListAccessPointsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAccessPointsResult, + CommonAwsError + >; listAccessPointsForDirectoryBuckets( input: ListAccessPointsForDirectoryBucketsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAccessPointsForDirectoryBucketsResult, + CommonAwsError + >; listAccessPointsForObjectLambda( input: ListAccessPointsForObjectLambdaRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAccessPointsForObjectLambdaResult, + CommonAwsError + >; listCallerAccessGrants( input: ListCallerAccessGrantsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListCallerAccessGrantsResult, + CommonAwsError + >; listJobs( input: ListJobsRequest, ): Effect.Effect< ListJobsResult, - | InternalServiceException - | InvalidNextTokenException - | InvalidRequestException - | CommonAwsError + InternalServiceException | InvalidNextTokenException | InvalidRequestException | CommonAwsError >; listMultiRegionAccessPoints( input: ListMultiRegionAccessPointsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListMultiRegionAccessPointsResult, + CommonAwsError + >; listRegionalBuckets( input: ListRegionalBucketsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListRegionalBucketsResult, + CommonAwsError + >; listStorageLensConfigurations( input: ListStorageLensConfigurationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListStorageLensConfigurationsResult, + CommonAwsError + >; listStorageLensGroups( input: ListStorageLensGroupsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListStorageLensGroupsResult, + CommonAwsError + >; listTagsForResource( input: ListTagsForResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTagsForResourceResult, + CommonAwsError + >; putAccessGrantsInstanceResourcePolicy( input: PutAccessGrantsInstanceResourcePolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + PutAccessGrantsInstanceResourcePolicyResult, + CommonAwsError + >; putAccessPointConfigurationForObjectLambda( input: PutAccessPointConfigurationForObjectLambdaRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putAccessPointPolicy( input: PutAccessPointPolicyRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putAccessPointPolicyForObjectLambda( input: PutAccessPointPolicyForObjectLambdaRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putAccessPointScope( input: PutAccessPointScopeRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketLifecycleConfiguration( input: PutBucketLifecycleConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketPolicy( input: PutBucketPolicyRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketReplication( input: PutBucketReplicationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketTagging( input: PutBucketTaggingRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketVersioning( input: PutBucketVersioningRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putJobTagging( input: PutJobTaggingRequest, ): Effect.Effect< PutJobTaggingResult, - | InternalServiceException - | NotFoundException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + InternalServiceException | NotFoundException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; putMultiRegionAccessPointPolicy( input: PutMultiRegionAccessPointPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + PutMultiRegionAccessPointPolicyResult, + CommonAwsError + >; putPublicAccessBlock( input: PutPublicAccessBlockRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putStorageLensConfiguration( input: PutStorageLensConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putStorageLensConfigurationTagging( input: PutStorageLensConfigurationTaggingRequest, - ): Effect.Effect; + ): Effect.Effect< + PutStorageLensConfigurationTaggingResult, + CommonAwsError + >; submitMultiRegionAccessPointRoutes( input: SubmitMultiRegionAccessPointRoutesRequest, - ): Effect.Effect; + ): Effect.Effect< + SubmitMultiRegionAccessPointRoutesResult, + CommonAwsError + >; tagResource( input: TagResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + TagResourceResult, + CommonAwsError + >; untagResource( input: UntagResourceRequest, - ): Effect.Effect; + ): Effect.Effect< + UntagResourceResult, + CommonAwsError + >; updateAccessGrantsLocation( input: UpdateAccessGrantsLocationRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateAccessGrantsLocationResult, + CommonAwsError + >; updateJobPriority( input: UpdateJobPriorityRequest, ): Effect.Effect< UpdateJobPriorityResult, - | BadRequestException - | InternalServiceException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateJobStatus( input: UpdateJobStatusRequest, ): Effect.Effect< UpdateJobStatusResult, - | BadRequestException - | InternalServiceException - | JobStatusException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceException | JobStatusException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateStorageLensGroup( input: UpdateStorageLensGroupRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; } export interface AbortIncompleteMultipartUpload { @@ -446,10 +670,7 @@ export interface AsyncOperation { RequestStatus?: string; ResponseDetails?: AsyncResponseDetails; } -export type AsyncOperationName = - | "CreateMultiRegionAccessPoint" - | "DeleteMultiRegionAccessPoint" - | "PutMultiRegionAccessPointPolicy"; +export type AsyncOperationName = "CreateMultiRegionAccessPoint" | "DeleteMultiRegionAccessPoint" | "PutMultiRegionAccessPointPolicy"; export interface AsyncRequestParameters { CreateMultiRegionAccessPointRequest?: CreateMultiRegionAccessPointInput; DeleteMultiRegionAccessPointRequest?: DeleteMultiRegionAccessPointInput; @@ -480,15 +701,13 @@ export type S3ControlBoolean = boolean; export declare class BucketAlreadyExists extends EffectData.TaggedError( "BucketAlreadyExists", -)<{}> {} +)<{ +}> {} export declare class BucketAlreadyOwnedByYou extends EffectData.TaggedError( "BucketAlreadyOwnedByYou", -)<{}> {} -export type BucketCannedACL = - | "private" - | "public-read" - | "public-read-write" - | "authenticated-read"; +)<{ +}> {} +export type BucketCannedACL = "private" | "public-read" | "public-read-write" | "authenticated-read"; export type BucketIdentifierString = string; export interface BucketLevel { @@ -498,18 +717,7 @@ export interface BucketLevel { AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics; DetailedStatusCodesMetrics?: DetailedStatusCodesMetrics; } -export type BucketLocationConstraint = - | "EU" - | "eu-west-1" - | "us-west-1" - | "us-west-2" - | "ap-south-1" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-northeast-1" - | "sa-east-1" - | "cn-north-1" - | "eu-central-1"; +export type BucketLocationConstraint = "EU" | "eu-west-1" | "us-west-1" | "us-west-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "sa-east-1" | "cn-north-1" | "eu-central-1"; export type BucketName = string; export type Buckets = Array; @@ -518,13 +726,7 @@ export type CallerAccessGrantsList = Array; export interface CloudWatchMetrics { IsEnabled: boolean; } -export type ComputeObjectChecksumAlgorithm = - | "CRC32" - | "CRC32C" - | "CRC64NVME" - | "MD5" - | "SHA1" - | "SHA256"; +export type ComputeObjectChecksumAlgorithm = "CRC32" | "CRC32C" | "CRC64NVME" | "MD5" | "SHA1" | "SHA256"; export type ComputeObjectChecksumType = "FULL_OBJECT" | "COMPOSITE"; export type ConfigId = string; @@ -735,7 +937,8 @@ export interface DeleteJobTaggingRequest { AccountId: string; JobId: string; } -export interface DeleteJobTaggingResult {} +export interface DeleteJobTaggingResult { +} export interface DeleteMarkerReplication { Status: DeleteMarkerReplicationStatus; } @@ -762,7 +965,8 @@ export interface DeleteStorageLensConfigurationTaggingRequest { ConfigId: string; AccountId: string; } -export interface DeleteStorageLensConfigurationTaggingResult {} +export interface DeleteStorageLensConfigurationTaggingResult { +} export interface DeleteStorageLensGroupRequest { Name: string; AccountId: string; @@ -1181,16 +1385,12 @@ export interface JobManifest { } export type JobManifestFieldList = Array; export type JobManifestFieldName = "Ignore" | "Bucket" | "Key" | "VersionId"; -export type JobManifestFormat = - | "S3BatchOperations_CSV_20180820" - | "S3InventoryReport_CSV_20161130"; +export type JobManifestFormat = "S3BatchOperations_CSV_20180820" | "S3InventoryReport_CSV_20161130"; interface _JobManifestGenerator { S3JobManifestGenerator?: S3JobManifestGenerator; } -export type JobManifestGenerator = _JobManifestGenerator & { - S3JobManifestGenerator: S3JobManifestGenerator; -}; +export type JobManifestGenerator = (_JobManifestGenerator & { S3JobManifestGenerator: S3JobManifestGenerator }); export interface JobManifestGeneratorFilter { EligibleForReplication?: boolean; CreatedAfter?: Date | string; @@ -1245,20 +1445,7 @@ export interface JobReport { } export type JobReportFormat = "Report_CSV_20180820"; export type JobReportScope = "AllTasks" | "FailedTasksOnly"; -export type JobStatus = - | "Active" - | "Cancelled" - | "Cancelling" - | "Complete" - | "Completing" - | "Failed" - | "Failing" - | "New" - | "Paused" - | "Pausing" - | "Preparing" - | "Ready" - | "Suspended"; +export type JobStatus = "Active" | "Cancelled" | "Cancelling" | "Complete" | "Completing" | "Failed" | "Failing" | "New" | "Paused" | "Pausing" | "Preparing" | "Ready" | "Suspended"; export declare class JobStatusException extends EffectData.TaggedError( "JobStatusException", )<{ @@ -1537,8 +1724,7 @@ export interface MultiRegionAccessPointRegionalResponse { Name?: string; RequestStatus?: string; } -export type MultiRegionAccessPointRegionalResponseList = - Array; +export type MultiRegionAccessPointRegionalResponseList = Array; export interface MultiRegionAccessPointReport { Name?: string; Alias?: string; @@ -1547,8 +1733,7 @@ export interface MultiRegionAccessPointReport { Status?: MultiRegionAccessPointStatus; Regions?: Array; } -export type MultiRegionAccessPointReportList = - Array; +export type MultiRegionAccessPointReportList = Array; export interface MultiRegionAccessPointRoute { Bucket?: string; Region?: string; @@ -1557,13 +1742,7 @@ export interface MultiRegionAccessPointRoute { export interface MultiRegionAccessPointsAsyncResponse { Regions?: Array; } -export type MultiRegionAccessPointStatus = - | "READY" - | "INCONSISTENT_ACROSS_REGIONS" - | "CREATING" - | "PARTIALLY_CREATED" - | "PARTIALLY_DELETED" - | "DELETING"; +export type MultiRegionAccessPointStatus = "READY" | "INCONSISTENT_ACROSS_REGIONS" | "CREATING" | "PARTIALLY_CREATED" | "PARTIALLY_DELETED" | "DELETING"; export type NetworkOrigin = "Internet" | "VPC"; export type NoncurrentVersionCount = number; @@ -1575,8 +1754,7 @@ export interface NoncurrentVersionTransition { NoncurrentDays?: number; StorageClass?: TransitionStorageClass; } -export type NoncurrentVersionTransitionList = - Array; +export type NoncurrentVersionTransitionList = Array; export type NonEmptyKmsKeyArnString = string; export type NonEmptyMaxLength1024String = string; @@ -1600,7 +1778,8 @@ export declare class NotFoundException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export interface NotSSEFilter {} +export interface NotSSEFilter { +} export type ObjectAgeValue = number; export type ObjectCreationTime = Date | string; @@ -1613,12 +1792,7 @@ interface _ObjectEncryptionFilter { NOTSSE?: NotSSEFilter; } -export type ObjectEncryptionFilter = - | (_ObjectEncryptionFilter & { SSES3: SSES3Filter }) - | (_ObjectEncryptionFilter & { SSEKMS: SSEKMSFilter }) - | (_ObjectEncryptionFilter & { DSSEKMS: DSSEKMSFilter }) - | (_ObjectEncryptionFilter & { SSEC: SSECFilter }) - | (_ObjectEncryptionFilter & { NOTSSE: NotSSEFilter }); +export type ObjectEncryptionFilter = (_ObjectEncryptionFilter & { SSES3: SSES3Filter }) | (_ObjectEncryptionFilter & { SSEKMS: SSEKMSFilter }) | (_ObjectEncryptionFilter & { DSSEKMS: DSSEKMSFilter }) | (_ObjectEncryptionFilter & { SSEC: SSECFilter }) | (_ObjectEncryptionFilter & { NOTSSE: NotSSEFilter }); export type ObjectEncryptionFilterList = Array; export interface ObjectLambdaAccessPoint { Name: string; @@ -1637,11 +1811,7 @@ export type ObjectLambdaAccessPointArn = string; export type ObjectLambdaAccessPointList = Array; export type ObjectLambdaAccessPointName = string; -export type ObjectLambdaAllowedFeature = - | "GetObject-Range" - | "GetObject-PartNumber" - | "HeadObject-Range" - | "HeadObject-PartNumber"; +export type ObjectLambdaAllowedFeature = "GetObject-Range" | "GetObject-PartNumber" | "HeadObject-Range" | "HeadObject-PartNumber"; export type ObjectLambdaAllowedFeaturesList = Array; export interface ObjectLambdaConfiguration { SupportingAccessPoint: string; @@ -1653,8 +1823,7 @@ interface _ObjectLambdaContentTransformation { AwsLambda?: AwsLambdaTransformation; } -export type ObjectLambdaContentTransformation = - _ObjectLambdaContentTransformation & { AwsLambda: AwsLambdaTransformation }; +export type ObjectLambdaContentTransformation = (_ObjectLambdaContentTransformation & { AwsLambda: AwsLambdaTransformation }); export type ObjectLambdaPolicy = string; export type ObjectLambdaSupportingAccessPointArn = string; @@ -1663,15 +1832,9 @@ export interface ObjectLambdaTransformationConfiguration { Actions: Array; ContentTransformation: ObjectLambdaContentTransformation; } -export type ObjectLambdaTransformationConfigurationAction = - | "GetObject" - | "HeadObject" - | "ListObjects" - | "ListObjectsV2"; -export type ObjectLambdaTransformationConfigurationActionsList = - Array; -export type ObjectLambdaTransformationConfigurationsList = - Array; +export type ObjectLambdaTransformationConfigurationAction = "GetObject" | "HeadObject" | "ListObjects" | "ListObjectsV2"; +export type ObjectLambdaTransformationConfigurationActionsList = Array; +export type ObjectLambdaTransformationConfigurationsList = Array; export type ObjectLockEnabledForBucket = boolean; export type ObjectSizeGreaterThanBytes = number; @@ -1680,17 +1843,7 @@ export type ObjectSizeLessThanBytes = number; export type ObjectSizeValue = number; -export type OperationName = - | "LambdaInvoke" - | "S3PutObjectCopy" - | "S3PutObjectAcl" - | "S3PutObjectTagging" - | "S3DeleteObjectTagging" - | "S3InitiateRestoreObject" - | "S3PutObjectLegalHold" - | "S3PutObjectRetention" - | "S3ReplicateObject" - | "S3ComputeObjectChecksum"; +export type OperationName = "LambdaInvoke" | "S3PutObjectCopy" | "S3PutObjectAcl" | "S3PutObjectTagging" | "S3DeleteObjectTagging" | "S3InitiateRestoreObject" | "S3PutObjectLegalHold" | "S3PutObjectRetention" | "S3ReplicateObject" | "S3ComputeObjectChecksum"; export type Organization = string; export type OutputSchemaVersion = "V_1"; @@ -1789,7 +1942,8 @@ export interface PutJobTaggingRequest { JobId: string; Tags: Array; } -export interface PutJobTaggingResult {} +export interface PutJobTaggingResult { +} export interface PutMultiRegionAccessPointPolicyInput { Name: string; Policy: string; @@ -1817,7 +1971,8 @@ export interface PutStorageLensConfigurationTaggingRequest { AccountId: string; Tags: Array; } -export interface PutStorageLensConfigurationTaggingResult {} +export interface PutStorageLensConfigurationTaggingResult { +} export interface Region { Bucket: string; BucketAccountId?: string; @@ -1875,16 +2030,7 @@ export type ReplicationRules = Array; export type ReplicationRuleStatus = "Enabled" | "Disabled"; export type ReplicationStatus = "COMPLETED" | "FAILED" | "REPLICA" | "NONE"; export type ReplicationStatusFilterList = Array; -export type ReplicationStorageClass = - | "STANDARD" - | "REDUCED_REDUNDANCY" - | "STANDARD_IA" - | "ONEZONE_IA" - | "INTELLIGENT_TIERING" - | "GLACIER" - | "DEEP_ARCHIVE" - | "OUTPOSTS" - | "GLACIER_IR"; +export type ReplicationStorageClass = "STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR"; export interface ReplicationTime { Status: ReplicationTimeStatus; Time: ReplicationTimeValue; @@ -1921,20 +2067,8 @@ export interface S3BucketDestination { Prefix?: string; Encryption?: StorageLensDataExportEncryption; } -export type S3CannedAccessControlList = - | "private" - | "public-read" - | "public-read-write" - | "aws-exec-read" - | "authenticated-read" - | "bucket-owner-read" - | "bucket-owner-full-control"; -export type S3ChecksumAlgorithm = - | "CRC32" - | "CRC32C" - | "SHA1" - | "SHA256" - | "CRC64NVME"; +export type S3CannedAccessControlList = "private" | "public-read" | "public-read-write" | "aws-exec-read" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control"; +export type S3ChecksumAlgorithm = "CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"; export interface S3ComputeObjectChecksumOperation { ChecksumAlgorithm?: ComputeObjectChecksumAlgorithm; ChecksumType?: ComputeObjectChecksumType; @@ -1961,7 +2095,8 @@ export interface S3CopyObjectOperation { BucketKeyEnabled?: boolean; ChecksumAlgorithm?: S3ChecksumAlgorithm; } -export interface S3DeleteObjectTaggingOperation {} +export interface S3DeleteObjectTaggingOperation { +} export type S3ExpirationInDays = number; export interface S3GeneratedManifestDescriptor { @@ -2026,12 +2161,7 @@ export interface S3ObjectOwner { } export type S3ObjectVersionId = string; -export type S3Permission = - | "FULL_CONTROL" - | "READ" - | "WRITE" - | "READ_ACP" - | "WRITE_ACP"; +export type S3Permission = "FULL_CONTROL" | "READ" | "WRITE" | "READ_ACP" | "WRITE_ACP"; export type S3Prefix = string; export type S3PrefixType = "Object"; @@ -2039,7 +2169,8 @@ export type S3RegionalBucketArn = string; export type S3RegionalOrS3ExpressBucketArnString = string; -export interface S3ReplicateObjectOperation {} +export interface S3ReplicateObjectOperation { +} export type S3ResourceArn = string; export interface S3Retention { @@ -2060,14 +2191,7 @@ export interface S3SetObjectTaggingOperation { TagSet?: Array; } export type S3SSEAlgorithm = "AES256" | "KMS"; -export type S3StorageClass = - | "STANDARD" - | "STANDARD_IA" - | "ONEZONE_IA" - | "GLACIER" - | "INTELLIGENT_TIERING" - | "DEEP_ARCHIVE" - | "GLACIER_IR"; +export type S3StorageClass = "STANDARD" | "STANDARD_IA" | "ONEZONE_IA" | "GLACIER" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "GLACIER_IR"; export interface S3Tag { Key: string; Value: string; @@ -2078,15 +2202,7 @@ export interface Scope { Prefixes?: Array; Permissions?: Array; } -export type ScopePermission = - | "GetObject" - | "GetObjectAttributes" - | "ListMultipartUploadParts" - | "ListBucket" - | "ListBucketMultipartUploads" - | "PutObject" - | "DeleteObject" - | "AbortMultipartUpload"; +export type ScopePermission = "GetObject" | "GetObjectAttributes" | "ListMultipartUploadParts" | "ListBucket" | "ListBucketMultipartUploads" | "PutObject" | "DeleteObject" | "AbortMultipartUpload"; export type ScopePermissionList = Array; export type SecretAccessKey = string; @@ -2103,7 +2219,8 @@ export interface SourceSelectionCriteria { SseKmsEncryptedObjects?: SseKmsEncryptedObjects; ReplicaModifications?: ReplicaModifications; } -export interface SSECFilter {} +export interface SSECFilter { +} export interface SSEKMS { KeyId: string; } @@ -2120,9 +2237,12 @@ export interface SSEKMSFilter { } export type SSEKMSKeyId = string; -export interface SSES3 {} -export interface SSES3Encryption {} -export interface SSES3Filter {} +export interface SSES3 { +} +export interface SSES3Encryption { +} +export interface SSES3Filter { +} export type StorageClassList = Array; export type StorageLensArn = string; @@ -2139,8 +2259,7 @@ export interface StorageLensConfiguration { AwsOrg?: StorageLensAwsOrg; StorageLensArn?: string; } -export type StorageLensConfigurationList = - Array; +export type StorageLensConfigurationList = Array; export interface StorageLensDataExport { S3BucketDestination?: S3BucketDestination; CloudWatchMetrics?: CloudWatchMetrics; @@ -2207,7 +2326,8 @@ export interface SubmitMultiRegionAccessPointRoutesRequest { Mrap: string; RouteUpdates: Array; } -export interface SubmitMultiRegionAccessPointRoutesResult {} +export interface SubmitMultiRegionAccessPointRoutesResult { +} export type Suffix = string; export type SuspendedCause = string; @@ -2230,7 +2350,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResult {} +export interface TagResourceResult { +} export type TagValueString = string; export type TimeStamp = Date | string; @@ -2253,18 +2374,14 @@ export interface Transition { StorageClass?: TransitionStorageClass; } export type TransitionList = Array; -export type TransitionStorageClass = - | "GLACIER" - | "STANDARD_IA" - | "ONEZONE_IA" - | "INTELLIGENT_TIERING" - | "DEEP_ARCHIVE"; +export type TransitionStorageClass = "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE"; export interface UntagResourceRequest { AccountId: string; ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResult {} +export interface UntagResourceResult { +} export interface UpdateAccessGrantsLocationRequest { AccountId: string; AccessGrantsLocationId: string; @@ -2315,37 +2432,43 @@ export type VpcId = string; export declare namespace AssociateAccessGrantsIdentityCenter { export type Input = AssociateAccessGrantsIdentityCenterRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateAccessGrant { export type Input = CreateAccessGrantRequest; export type Output = CreateAccessGrantResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateAccessGrantsInstance { export type Input = CreateAccessGrantsInstanceRequest; export type Output = CreateAccessGrantsInstanceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateAccessGrantsLocation { export type Input = CreateAccessGrantsLocationRequest; export type Output = CreateAccessGrantsLocationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateAccessPoint { export type Input = CreateAccessPointRequest; export type Output = CreateAccessPointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateAccessPointForObjectLambda { export type Input = CreateAccessPointForObjectLambdaRequest; export type Output = CreateAccessPointForObjectLambdaResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateBucket { @@ -2371,97 +2494,113 @@ export declare namespace CreateJob { export declare namespace CreateMultiRegionAccessPoint { export type Input = CreateMultiRegionAccessPointRequest; export type Output = CreateMultiRegionAccessPointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateStorageLensGroup { export type Input = CreateStorageLensGroupRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessGrant { export type Input = DeleteAccessGrantRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessGrantsInstance { export type Input = DeleteAccessGrantsInstanceRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessGrantsInstanceResourcePolicy { export type Input = DeleteAccessGrantsInstanceResourcePolicyRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessGrantsLocation { export type Input = DeleteAccessGrantsLocationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessPoint { export type Input = DeleteAccessPointRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessPointForObjectLambda { export type Input = DeleteAccessPointForObjectLambdaRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessPointPolicy { export type Input = DeleteAccessPointPolicyRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessPointPolicyForObjectLambda { export type Input = DeleteAccessPointPolicyForObjectLambdaRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteAccessPointScope { export type Input = DeleteAccessPointScopeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucket { export type Input = DeleteBucketRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketLifecycleConfiguration { export type Input = DeleteBucketLifecycleConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketPolicy { export type Input = DeleteBucketPolicyRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketReplication { export type Input = DeleteBucketReplicationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketTagging { export type Input = DeleteBucketTaggingRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteJobTagging { @@ -2477,31 +2616,36 @@ export declare namespace DeleteJobTagging { export declare namespace DeleteMultiRegionAccessPoint { export type Input = DeleteMultiRegionAccessPointRequest; export type Output = DeleteMultiRegionAccessPointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeletePublicAccessBlock { export type Input = DeletePublicAccessBlockRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteStorageLensConfiguration { export type Input = DeleteStorageLensConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteStorageLensConfigurationTagging { export type Input = DeleteStorageLensConfigurationTaggingRequest; export type Output = DeleteStorageLensConfigurationTaggingResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteStorageLensGroup { export type Input = DeleteStorageLensGroupRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeJob { @@ -2518,133 +2662,155 @@ export declare namespace DescribeJob { export declare namespace DescribeMultiRegionAccessPointOperation { export type Input = DescribeMultiRegionAccessPointOperationRequest; export type Output = DescribeMultiRegionAccessPointOperationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DissociateAccessGrantsIdentityCenter { export type Input = DissociateAccessGrantsIdentityCenterRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessGrant { export type Input = GetAccessGrantRequest; export type Output = GetAccessGrantResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessGrantsInstance { export type Input = GetAccessGrantsInstanceRequest; export type Output = GetAccessGrantsInstanceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessGrantsInstanceForPrefix { export type Input = GetAccessGrantsInstanceForPrefixRequest; export type Output = GetAccessGrantsInstanceForPrefixResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessGrantsInstanceResourcePolicy { export type Input = GetAccessGrantsInstanceResourcePolicyRequest; export type Output = GetAccessGrantsInstanceResourcePolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessGrantsLocation { export type Input = GetAccessGrantsLocationRequest; export type Output = GetAccessGrantsLocationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessPoint { export type Input = GetAccessPointRequest; export type Output = GetAccessPointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessPointConfigurationForObjectLambda { export type Input = GetAccessPointConfigurationForObjectLambdaRequest; export type Output = GetAccessPointConfigurationForObjectLambdaResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessPointForObjectLambda { export type Input = GetAccessPointForObjectLambdaRequest; export type Output = GetAccessPointForObjectLambdaResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessPointPolicy { export type Input = GetAccessPointPolicyRequest; export type Output = GetAccessPointPolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessPointPolicyForObjectLambda { export type Input = GetAccessPointPolicyForObjectLambdaRequest; export type Output = GetAccessPointPolicyForObjectLambdaResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessPointPolicyStatus { export type Input = GetAccessPointPolicyStatusRequest; export type Output = GetAccessPointPolicyStatusResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessPointPolicyStatusForObjectLambda { export type Input = GetAccessPointPolicyStatusForObjectLambdaRequest; export type Output = GetAccessPointPolicyStatusForObjectLambdaResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetAccessPointScope { export type Input = GetAccessPointScopeRequest; export type Output = GetAccessPointScopeResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucket { export type Input = GetBucketRequest; export type Output = GetBucketResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketLifecycleConfiguration { export type Input = GetBucketLifecycleConfigurationRequest; export type Output = GetBucketLifecycleConfigurationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketPolicy { export type Input = GetBucketPolicyRequest; export type Output = GetBucketPolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketReplication { export type Input = GetBucketReplicationRequest; export type Output = GetBucketReplicationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketTagging { export type Input = GetBucketTaggingRequest; export type Output = GetBucketTaggingResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketVersioning { export type Input = GetBucketVersioningRequest; export type Output = GetBucketVersioningResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetDataAccess { export type Input = GetDataAccessRequest; export type Output = GetDataAccessResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetJobTagging { @@ -2660,91 +2826,107 @@ export declare namespace GetJobTagging { export declare namespace GetMultiRegionAccessPoint { export type Input = GetMultiRegionAccessPointRequest; export type Output = GetMultiRegionAccessPointResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetMultiRegionAccessPointPolicy { export type Input = GetMultiRegionAccessPointPolicyRequest; export type Output = GetMultiRegionAccessPointPolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetMultiRegionAccessPointPolicyStatus { export type Input = GetMultiRegionAccessPointPolicyStatusRequest; export type Output = GetMultiRegionAccessPointPolicyStatusResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetMultiRegionAccessPointRoutes { export type Input = GetMultiRegionAccessPointRoutesRequest; export type Output = GetMultiRegionAccessPointRoutesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetPublicAccessBlock { export type Input = GetPublicAccessBlockRequest; export type Output = GetPublicAccessBlockOutput; - export type Error = NoSuchPublicAccessBlockConfiguration | CommonAwsError; + export type Error = + | NoSuchPublicAccessBlockConfiguration + | CommonAwsError; } export declare namespace GetStorageLensConfiguration { export type Input = GetStorageLensConfigurationRequest; export type Output = GetStorageLensConfigurationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetStorageLensConfigurationTagging { export type Input = GetStorageLensConfigurationTaggingRequest; export type Output = GetStorageLensConfigurationTaggingResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetStorageLensGroup { export type Input = GetStorageLensGroupRequest; export type Output = GetStorageLensGroupResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAccessGrants { export type Input = ListAccessGrantsRequest; export type Output = ListAccessGrantsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAccessGrantsInstances { export type Input = ListAccessGrantsInstancesRequest; export type Output = ListAccessGrantsInstancesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAccessGrantsLocations { export type Input = ListAccessGrantsLocationsRequest; export type Output = ListAccessGrantsLocationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAccessPoints { export type Input = ListAccessPointsRequest; export type Output = ListAccessPointsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAccessPointsForDirectoryBuckets { export type Input = ListAccessPointsForDirectoryBucketsRequest; export type Output = ListAccessPointsForDirectoryBucketsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAccessPointsForObjectLambda { export type Input = ListAccessPointsForObjectLambdaRequest; export type Output = ListAccessPointsForObjectLambdaResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListCallerAccessGrants { export type Input = ListCallerAccessGrantsRequest; export type Output = ListCallerAccessGrantsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListJobs { @@ -2760,91 +2942,106 @@ export declare namespace ListJobs { export declare namespace ListMultiRegionAccessPoints { export type Input = ListMultiRegionAccessPointsRequest; export type Output = ListMultiRegionAccessPointsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListRegionalBuckets { export type Input = ListRegionalBucketsRequest; export type Output = ListRegionalBucketsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListStorageLensConfigurations { export type Input = ListStorageLensConfigurationsRequest; export type Output = ListStorageLensConfigurationsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListStorageLensGroups { export type Input = ListStorageLensGroupsRequest; export type Output = ListStorageLensGroupsResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutAccessGrantsInstanceResourcePolicy { export type Input = PutAccessGrantsInstanceResourcePolicyRequest; export type Output = PutAccessGrantsInstanceResourcePolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutAccessPointConfigurationForObjectLambda { export type Input = PutAccessPointConfigurationForObjectLambdaRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutAccessPointPolicy { export type Input = PutAccessPointPolicyRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutAccessPointPolicyForObjectLambda { export type Input = PutAccessPointPolicyForObjectLambdaRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutAccessPointScope { export type Input = PutAccessPointScopeRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketLifecycleConfiguration { export type Input = PutBucketLifecycleConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketPolicy { export type Input = PutBucketPolicyRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketReplication { export type Input = PutBucketReplicationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketTagging { export type Input = PutBucketTaggingRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketVersioning { export type Input = PutBucketVersioningRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutJobTagging { @@ -2861,49 +3058,57 @@ export declare namespace PutJobTagging { export declare namespace PutMultiRegionAccessPointPolicy { export type Input = PutMultiRegionAccessPointPolicyRequest; export type Output = PutMultiRegionAccessPointPolicyResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutPublicAccessBlock { export type Input = PutPublicAccessBlockRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutStorageLensConfiguration { export type Input = PutStorageLensConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutStorageLensConfigurationTagging { export type Input = PutStorageLensConfigurationTaggingRequest; export type Output = PutStorageLensConfigurationTaggingResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SubmitMultiRegionAccessPointRoutes { export type Input = SubmitMultiRegionAccessPointRoutesRequest; export type Output = SubmitMultiRegionAccessPointRoutesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace TagResource { export type Input = TagResourceRequest; export type Output = TagResourceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateAccessGrantsLocation { export type Input = UpdateAccessGrantsLocationRequest; export type Output = UpdateAccessGrantsLocationResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateJobPriority { @@ -2932,20 +3137,9 @@ export declare namespace UpdateJobStatus { export declare namespace UpdateStorageLensGroup { export type Input = UpdateStorageLensGroupRequest; export type Output = {}; - export type Error = CommonAwsError; -} - -export type S3ControlErrors = - | BadRequestException - | BucketAlreadyExists - | BucketAlreadyOwnedByYou - | IdempotencyException - | InternalServiceException - | InvalidNextTokenException - | InvalidRequestException - | JobStatusException - | NoSuchPublicAccessBlockConfiguration - | NotFoundException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError; + export type Error = + | CommonAwsError; +} + +export type S3ControlErrors = BadRequestException | BucketAlreadyExists | BucketAlreadyOwnedByYou | IdempotencyException | InternalServiceException | InvalidNextTokenException | InvalidRequestException | JobStatusException | NoSuchPublicAccessBlockConfiguration | NotFoundException | TooManyRequestsException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/s3/index.ts b/src/services/s3/index.ts index 00f1dd5c..d375285d 100644 --- a/src/services/s3/index.ts +++ b/src/services/s3/index.ts @@ -5,26 +5,7 @@ import type { S3 as _S3Client } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,1296 +15,1280 @@ const metadata = { sigV4ServiceName: "s3", endpointPrefix: "s3", operations: { - AbortMultipartUpload: { + "AbortMultipartUpload": { http: "DELETE /{Bucket}/{Key+}?x-id=AbortMultipartUpload", inputTraits: { - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - IfMatchInitiatedTime: "x-amz-if-match-initiated-time", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "IfMatchInitiatedTime": "x-amz-if-match-initiated-time", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - CompleteMultipartUpload: { + "CompleteMultipartUpload": { http: "POST /{Bucket}/{Key+}", inputTraits: { - MultipartUpload: "httpPayload", - ChecksumCRC32: "x-amz-checksum-crc32", - ChecksumCRC32C: "x-amz-checksum-crc32c", - ChecksumCRC64NVME: "x-amz-checksum-crc64nvme", - ChecksumSHA1: "x-amz-checksum-sha1", - ChecksumSHA256: "x-amz-checksum-sha256", - ChecksumType: "x-amz-checksum-type", - MpuObjectSize: "x-amz-mp-object-size", - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - IfMatch: "If-Match", - IfNoneMatch: "If-None-Match", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", + "MultipartUpload": "httpPayload", + "ChecksumCRC32": "x-amz-checksum-crc32", + "ChecksumCRC32C": "x-amz-checksum-crc32c", + "ChecksumCRC64NVME": "x-amz-checksum-crc64nvme", + "ChecksumSHA1": "x-amz-checksum-sha1", + "ChecksumSHA256": "x-amz-checksum-sha256", + "ChecksumType": "x-amz-checksum-type", + "MpuObjectSize": "x-amz-mp-object-size", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "IfMatch": "If-Match", + "IfNoneMatch": "If-None-Match", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", }, outputTraits: { - Expiration: "x-amz-expiration", - ServerSideEncryption: "x-amz-server-side-encryption", - VersionId: "x-amz-version-id", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - RequestCharged: "x-amz-request-charged", + "Expiration": "x-amz-expiration", + "ServerSideEncryption": "x-amz-server-side-encryption", + "VersionId": "x-amz-version-id", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "RequestCharged": "x-amz-request-charged", }, }, - CopyObject: { + "CopyObject": { http: "PUT /{Bucket}/{Key+}?x-id=CopyObject", inputTraits: { - ACL: "x-amz-acl", - CacheControl: "Cache-Control", - ChecksumAlgorithm: "x-amz-checksum-algorithm", - ContentDisposition: "Content-Disposition", - ContentEncoding: "Content-Encoding", - ContentLanguage: "Content-Language", - ContentType: "Content-Type", - CopySource: "x-amz-copy-source", - CopySourceIfMatch: "x-amz-copy-source-if-match", - CopySourceIfModifiedSince: "x-amz-copy-source-if-modified-since", - CopySourceIfNoneMatch: "x-amz-copy-source-if-none-match", - CopySourceIfUnmodifiedSince: "x-amz-copy-source-if-unmodified-since", - Expires: "Expires", - GrantFullControl: "x-amz-grant-full-control", - GrantRead: "x-amz-grant-read", - GrantReadACP: "x-amz-grant-read-acp", - GrantWriteACP: "x-amz-grant-write-acp", - IfMatch: "If-Match", - IfNoneMatch: "If-None-Match", - MetadataDirective: "x-amz-metadata-directive", - TaggingDirective: "x-amz-tagging-directive", - ServerSideEncryption: "x-amz-server-side-encryption", - StorageClass: "x-amz-storage-class", - WebsiteRedirectLocation: "x-amz-website-redirect-location", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - SSEKMSEncryptionContext: "x-amz-server-side-encryption-context", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - CopySourceSSECustomerAlgorithm: - "x-amz-copy-source-server-side-encryption-customer-algorithm", - CopySourceSSECustomerKey: - "x-amz-copy-source-server-side-encryption-customer-key", - CopySourceSSECustomerKeyMD5: - "x-amz-copy-source-server-side-encryption-customer-key-MD5", - RequestPayer: "x-amz-request-payer", - Tagging: "x-amz-tagging", - ObjectLockMode: "x-amz-object-lock-mode", - ObjectLockRetainUntilDate: "x-amz-object-lock-retain-until-date", - ObjectLockLegalHoldStatus: "x-amz-object-lock-legal-hold", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - ExpectedSourceBucketOwner: "x-amz-source-expected-bucket-owner", + "ACL": "x-amz-acl", + "CacheControl": "Cache-Control", + "ChecksumAlgorithm": "x-amz-checksum-algorithm", + "ContentDisposition": "Content-Disposition", + "ContentEncoding": "Content-Encoding", + "ContentLanguage": "Content-Language", + "ContentType": "Content-Type", + "CopySource": "x-amz-copy-source", + "CopySourceIfMatch": "x-amz-copy-source-if-match", + "CopySourceIfModifiedSince": "x-amz-copy-source-if-modified-since", + "CopySourceIfNoneMatch": "x-amz-copy-source-if-none-match", + "CopySourceIfUnmodifiedSince": "x-amz-copy-source-if-unmodified-since", + "Expires": "Expires", + "GrantFullControl": "x-amz-grant-full-control", + "GrantRead": "x-amz-grant-read", + "GrantReadACP": "x-amz-grant-read-acp", + "GrantWriteACP": "x-amz-grant-write-acp", + "IfMatch": "If-Match", + "IfNoneMatch": "If-None-Match", + "MetadataDirective": "x-amz-metadata-directive", + "TaggingDirective": "x-amz-tagging-directive", + "ServerSideEncryption": "x-amz-server-side-encryption", + "StorageClass": "x-amz-storage-class", + "WebsiteRedirectLocation": "x-amz-website-redirect-location", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "SSEKMSEncryptionContext": "x-amz-server-side-encryption-context", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "CopySourceSSECustomerAlgorithm": "x-amz-copy-source-server-side-encryption-customer-algorithm", + "CopySourceSSECustomerKey": "x-amz-copy-source-server-side-encryption-customer-key", + "CopySourceSSECustomerKeyMD5": "x-amz-copy-source-server-side-encryption-customer-key-MD5", + "RequestPayer": "x-amz-request-payer", + "Tagging": "x-amz-tagging", + "ObjectLockMode": "x-amz-object-lock-mode", + "ObjectLockRetainUntilDate": "x-amz-object-lock-retain-until-date", + "ObjectLockLegalHoldStatus": "x-amz-object-lock-legal-hold", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "ExpectedSourceBucketOwner": "x-amz-source-expected-bucket-owner", }, outputTraits: { - CopyObjectResult: "httpPayload", - Expiration: "x-amz-expiration", - CopySourceVersionId: "x-amz-copy-source-version-id", - VersionId: "x-amz-version-id", - ServerSideEncryption: "x-amz-server-side-encryption", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - SSEKMSEncryptionContext: "x-amz-server-side-encryption-context", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - RequestCharged: "x-amz-request-charged", - }, - }, - CreateBucket: { + "CopyObjectResult": "httpPayload", + "Expiration": "x-amz-expiration", + "CopySourceVersionId": "x-amz-copy-source-version-id", + "VersionId": "x-amz-version-id", + "ServerSideEncryption": "x-amz-server-side-encryption", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "SSEKMSEncryptionContext": "x-amz-server-side-encryption-context", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "RequestCharged": "x-amz-request-charged", + }, + }, + "CreateBucket": { http: "PUT /{Bucket}", inputTraits: { - ACL: "x-amz-acl", - CreateBucketConfiguration: "httpPayload", - GrantFullControl: "x-amz-grant-full-control", - GrantRead: "x-amz-grant-read", - GrantReadACP: "x-amz-grant-read-acp", - GrantWrite: "x-amz-grant-write", - GrantWriteACP: "x-amz-grant-write-acp", - ObjectLockEnabledForBucket: "x-amz-bucket-object-lock-enabled", - ObjectOwnership: "x-amz-object-ownership", + "ACL": "x-amz-acl", + "CreateBucketConfiguration": "httpPayload", + "GrantFullControl": "x-amz-grant-full-control", + "GrantRead": "x-amz-grant-read", + "GrantReadACP": "x-amz-grant-read-acp", + "GrantWrite": "x-amz-grant-write", + "GrantWriteACP": "x-amz-grant-write-acp", + "ObjectLockEnabledForBucket": "x-amz-bucket-object-lock-enabled", + "ObjectOwnership": "x-amz-object-ownership", }, outputTraits: { - Location: "Location", - BucketArn: "x-amz-bucket-arn", + "Location": "Location", + "BucketArn": "x-amz-bucket-arn", }, }, - CreateBucketMetadataConfiguration: { + "CreateBucketMetadataConfiguration": { http: "POST /{Bucket}?metadataConfiguration", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - MetadataConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "MetadataConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - CreateBucketMetadataTableConfiguration: { + "CreateBucketMetadataTableConfiguration": { http: "POST /{Bucket}?metadataTable", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - MetadataTableConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "MetadataTableConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - CreateMultipartUpload: { + "CreateMultipartUpload": { http: "POST /{Bucket}/{Key+}?uploads", inputTraits: { - ACL: "x-amz-acl", - CacheControl: "Cache-Control", - ContentDisposition: "Content-Disposition", - ContentEncoding: "Content-Encoding", - ContentLanguage: "Content-Language", - ContentType: "Content-Type", - Expires: "Expires", - GrantFullControl: "x-amz-grant-full-control", - GrantRead: "x-amz-grant-read", - GrantReadACP: "x-amz-grant-read-acp", - GrantWriteACP: "x-amz-grant-write-acp", - ServerSideEncryption: "x-amz-server-side-encryption", - StorageClass: "x-amz-storage-class", - WebsiteRedirectLocation: "x-amz-website-redirect-location", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - SSEKMSEncryptionContext: "x-amz-server-side-encryption-context", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - RequestPayer: "x-amz-request-payer", - Tagging: "x-amz-tagging", - ObjectLockMode: "x-amz-object-lock-mode", - ObjectLockRetainUntilDate: "x-amz-object-lock-retain-until-date", - ObjectLockLegalHoldStatus: "x-amz-object-lock-legal-hold", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - ChecksumAlgorithm: "x-amz-checksum-algorithm", - ChecksumType: "x-amz-checksum-type", + "ACL": "x-amz-acl", + "CacheControl": "Cache-Control", + "ContentDisposition": "Content-Disposition", + "ContentEncoding": "Content-Encoding", + "ContentLanguage": "Content-Language", + "ContentType": "Content-Type", + "Expires": "Expires", + "GrantFullControl": "x-amz-grant-full-control", + "GrantRead": "x-amz-grant-read", + "GrantReadACP": "x-amz-grant-read-acp", + "GrantWriteACP": "x-amz-grant-write-acp", + "ServerSideEncryption": "x-amz-server-side-encryption", + "StorageClass": "x-amz-storage-class", + "WebsiteRedirectLocation": "x-amz-website-redirect-location", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "SSEKMSEncryptionContext": "x-amz-server-side-encryption-context", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "RequestPayer": "x-amz-request-payer", + "Tagging": "x-amz-tagging", + "ObjectLockMode": "x-amz-object-lock-mode", + "ObjectLockRetainUntilDate": "x-amz-object-lock-retain-until-date", + "ObjectLockLegalHoldStatus": "x-amz-object-lock-legal-hold", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "ChecksumAlgorithm": "x-amz-checksum-algorithm", + "ChecksumType": "x-amz-checksum-type", }, outputTraits: { - AbortDate: "x-amz-abort-date", - AbortRuleId: "x-amz-abort-rule-id", - ServerSideEncryption: "x-amz-server-side-encryption", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - SSEKMSEncryptionContext: "x-amz-server-side-encryption-context", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - RequestCharged: "x-amz-request-charged", - ChecksumAlgorithm: "x-amz-checksum-algorithm", - ChecksumType: "x-amz-checksum-type", - }, - }, - CreateSession: { + "AbortDate": "x-amz-abort-date", + "AbortRuleId": "x-amz-abort-rule-id", + "ServerSideEncryption": "x-amz-server-side-encryption", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "SSEKMSEncryptionContext": "x-amz-server-side-encryption-context", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "RequestCharged": "x-amz-request-charged", + "ChecksumAlgorithm": "x-amz-checksum-algorithm", + "ChecksumType": "x-amz-checksum-type", + }, + }, + "CreateSession": { http: "GET /{Bucket}?session", inputTraits: { - SessionMode: "x-amz-create-session-mode", - ServerSideEncryption: "x-amz-server-side-encryption", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - SSEKMSEncryptionContext: "x-amz-server-side-encryption-context", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", + "SessionMode": "x-amz-create-session-mode", + "ServerSideEncryption": "x-amz-server-side-encryption", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "SSEKMSEncryptionContext": "x-amz-server-side-encryption-context", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", }, outputTraits: { - ServerSideEncryption: "x-amz-server-side-encryption", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - SSEKMSEncryptionContext: "x-amz-server-side-encryption-context", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", + "ServerSideEncryption": "x-amz-server-side-encryption", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "SSEKMSEncryptionContext": "x-amz-server-side-encryption-context", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", }, }, - DeleteBucket: { + "DeleteBucket": { http: "DELETE /{Bucket}", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketAnalyticsConfiguration: { + "DeleteBucketAnalyticsConfiguration": { http: "DELETE /{Bucket}?analytics", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketCors: { + "DeleteBucketCors": { http: "DELETE /{Bucket}?cors", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketEncryption: { + "DeleteBucketEncryption": { http: "DELETE /{Bucket}?encryption", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketIntelligentTieringConfiguration: { + "DeleteBucketIntelligentTieringConfiguration": { http: "DELETE /{Bucket}?intelligent-tiering", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketInventoryConfiguration: { + "DeleteBucketInventoryConfiguration": { http: "DELETE /{Bucket}?inventory", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketLifecycle: { + "DeleteBucketLifecycle": { http: "DELETE /{Bucket}?lifecycle", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketMetadataConfiguration: { + "DeleteBucketMetadataConfiguration": { http: "DELETE /{Bucket}?metadataConfiguration", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketMetadataTableConfiguration: { + "DeleteBucketMetadataTableConfiguration": { http: "DELETE /{Bucket}?metadataTable", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketMetricsConfiguration: { + "DeleteBucketMetricsConfiguration": { http: "DELETE /{Bucket}?metrics", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketOwnershipControls: { + "DeleteBucketOwnershipControls": { http: "DELETE /{Bucket}?ownershipControls", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketPolicy: { + "DeleteBucketPolicy": { http: "DELETE /{Bucket}?policy", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketReplication: { + "DeleteBucketReplication": { http: "DELETE /{Bucket}?replication", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketTagging: { + "DeleteBucketTagging": { http: "DELETE /{Bucket}?tagging", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteBucketWebsite: { + "DeleteBucketWebsite": { http: "DELETE /{Bucket}?website", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - DeleteObject: { + "DeleteObject": { http: "DELETE /{Bucket}/{Key+}?x-id=DeleteObject", inputTraits: { - MFA: "x-amz-mfa", - RequestPayer: "x-amz-request-payer", - BypassGovernanceRetention: "x-amz-bypass-governance-retention", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - IfMatch: "If-Match", - IfMatchLastModifiedTime: "x-amz-if-match-last-modified-time", - IfMatchSize: "x-amz-if-match-size", + "MFA": "x-amz-mfa", + "RequestPayer": "x-amz-request-payer", + "BypassGovernanceRetention": "x-amz-bypass-governance-retention", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "IfMatch": "If-Match", + "IfMatchLastModifiedTime": "x-amz-if-match-last-modified-time", + "IfMatchSize": "x-amz-if-match-size", }, outputTraits: { - DeleteMarker: "x-amz-delete-marker", - VersionId: "x-amz-version-id", - RequestCharged: "x-amz-request-charged", + "DeleteMarker": "x-amz-delete-marker", + "VersionId": "x-amz-version-id", + "RequestCharged": "x-amz-request-charged", }, }, - DeleteObjects: { + "DeleteObjects": { http: "POST /{Bucket}?delete", inputTraits: { - Delete: "httpPayload", - MFA: "x-amz-mfa", - RequestPayer: "x-amz-request-payer", - BypassGovernanceRetention: "x-amz-bypass-governance-retention", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", + "Delete": "httpPayload", + "MFA": "x-amz-mfa", + "RequestPayer": "x-amz-request-payer", + "BypassGovernanceRetention": "x-amz-bypass-governance-retention", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - DeleteObjectTagging: { + "DeleteObjectTagging": { http: "DELETE /{Bucket}/{Key+}?tagging", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - VersionId: "x-amz-version-id", + "VersionId": "x-amz-version-id", }, }, - DeletePublicAccessBlock: { + "DeletePublicAccessBlock": { http: "DELETE /{Bucket}?publicAccessBlock", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetBucketAccelerateConfiguration: { + "GetBucketAccelerateConfiguration": { http: "GET /{Bucket}?accelerate", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - RequestPayer: "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "RequestPayer": "x-amz-request-payer", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - GetBucketAcl: { + "GetBucketAcl": { http: "GET /{Bucket}?acl", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetBucketAnalyticsConfiguration: { + "GetBucketAnalyticsConfiguration": { http: "GET /{Bucket}?analytics&x-id=GetBucketAnalyticsConfiguration", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - AnalyticsConfiguration: "httpPayload", + "AnalyticsConfiguration": "httpPayload", }, }, - GetBucketCors: { + "GetBucketCors": { http: "GET /{Bucket}?cors", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetBucketEncryption: { + "GetBucketEncryption": { http: "GET /{Bucket}?encryption", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - ServerSideEncryptionConfiguration: "httpPayload", + "ServerSideEncryptionConfiguration": "httpPayload", }, }, - GetBucketIntelligentTieringConfiguration: { + "GetBucketIntelligentTieringConfiguration": { http: "GET /{Bucket}?intelligent-tiering&x-id=GetBucketIntelligentTieringConfiguration", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - IntelligentTieringConfiguration: "httpPayload", + "IntelligentTieringConfiguration": "httpPayload", }, }, - GetBucketInventoryConfiguration: { + "GetBucketInventoryConfiguration": { http: "GET /{Bucket}?inventory&x-id=GetBucketInventoryConfiguration", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - InventoryConfiguration: "httpPayload", + "InventoryConfiguration": "httpPayload", }, }, - GetBucketLifecycleConfiguration: { + "GetBucketLifecycleConfiguration": { http: "GET /{Bucket}?lifecycle", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - TransitionDefaultMinimumObjectSize: - "x-amz-transition-default-minimum-object-size", + "TransitionDefaultMinimumObjectSize": "x-amz-transition-default-minimum-object-size", }, }, - GetBucketLocation: { + "GetBucketLocation": { http: "GET /{Bucket}?location", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetBucketLogging: { + "GetBucketLogging": { http: "GET /{Bucket}?logging", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetBucketMetadataConfiguration: { + "GetBucketMetadataConfiguration": { http: "GET /{Bucket}?metadataConfiguration", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - GetBucketMetadataConfigurationResult: "httpPayload", + "GetBucketMetadataConfigurationResult": "httpPayload", }, }, - GetBucketMetadataTableConfiguration: { + "GetBucketMetadataTableConfiguration": { http: "GET /{Bucket}?metadataTable", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - GetBucketMetadataTableConfigurationResult: "httpPayload", + "GetBucketMetadataTableConfigurationResult": "httpPayload", }, }, - GetBucketMetricsConfiguration: { + "GetBucketMetricsConfiguration": { http: "GET /{Bucket}?metrics&x-id=GetBucketMetricsConfiguration", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - MetricsConfiguration: "httpPayload", + "MetricsConfiguration": "httpPayload", }, }, - GetBucketNotificationConfiguration: { + "GetBucketNotificationConfiguration": { http: "GET /{Bucket}?notification", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetBucketOwnershipControls: { + "GetBucketOwnershipControls": { http: "GET /{Bucket}?ownershipControls", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - OwnershipControls: "httpPayload", + "OwnershipControls": "httpPayload", }, }, - GetBucketPolicy: { + "GetBucketPolicy": { http: "GET /{Bucket}?policy", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - Policy: "httpPayload", + "Policy": "httpPayload", }, }, - GetBucketPolicyStatus: { + "GetBucketPolicyStatus": { http: "GET /{Bucket}?policyStatus", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - PolicyStatus: "httpPayload", + "PolicyStatus": "httpPayload", }, }, - GetBucketReplication: { + "GetBucketReplication": { http: "GET /{Bucket}?replication", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - ReplicationConfiguration: "httpPayload", + "ReplicationConfiguration": "httpPayload", }, }, - GetBucketRequestPayment: { + "GetBucketRequestPayment": { http: "GET /{Bucket}?requestPayment", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetBucketTagging: { + "GetBucketTagging": { http: "GET /{Bucket}?tagging", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetBucketVersioning: { + "GetBucketVersioning": { http: "GET /{Bucket}?versioning", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetBucketWebsite: { + "GetBucketWebsite": { http: "GET /{Bucket}?website", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - GetObject: { + "GetObject": { http: "GET /{Bucket}/{Key+}?x-id=GetObject", inputTraits: { - IfMatch: "If-Match", - IfModifiedSince: "If-Modified-Since", - IfNoneMatch: "If-None-Match", - IfUnmodifiedSince: "If-Unmodified-Since", - Range: "Range", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - ChecksumMode: "x-amz-checksum-mode", + "IfMatch": "If-Match", + "IfModifiedSince": "If-Modified-Since", + "IfNoneMatch": "If-None-Match", + "IfUnmodifiedSince": "If-Unmodified-Since", + "Range": "Range", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "ChecksumMode": "x-amz-checksum-mode", }, outputTraits: { - Body: "httpStreaming", - DeleteMarker: "x-amz-delete-marker", - AcceptRanges: "accept-ranges", - Expiration: "x-amz-expiration", - Restore: "x-amz-restore", - LastModified: "Last-Modified", - ContentLength: "Content-Length", - ETag: "ETag", - ChecksumCRC32: "x-amz-checksum-crc32", - ChecksumCRC32C: "x-amz-checksum-crc32c", - ChecksumCRC64NVME: "x-amz-checksum-crc64nvme", - ChecksumSHA1: "x-amz-checksum-sha1", - ChecksumSHA256: "x-amz-checksum-sha256", - ChecksumType: "x-amz-checksum-type", - MissingMeta: "x-amz-missing-meta", - VersionId: "x-amz-version-id", - CacheControl: "Cache-Control", - ContentDisposition: "Content-Disposition", - ContentEncoding: "Content-Encoding", - ContentLanguage: "Content-Language", - ContentRange: "Content-Range", - ContentType: "Content-Type", - Expires: "Expires", - WebsiteRedirectLocation: "x-amz-website-redirect-location", - ServerSideEncryption: "x-amz-server-side-encryption", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - StorageClass: "x-amz-storage-class", - RequestCharged: "x-amz-request-charged", - ReplicationStatus: "x-amz-replication-status", - PartsCount: "x-amz-mp-parts-count", - TagCount: "x-amz-tagging-count", - ObjectLockMode: "x-amz-object-lock-mode", - ObjectLockRetainUntilDate: "x-amz-object-lock-retain-until-date", - ObjectLockLegalHoldStatus: "x-amz-object-lock-legal-hold", - }, - }, - GetObjectAcl: { + "Body": "httpStreaming", + "DeleteMarker": "x-amz-delete-marker", + "AcceptRanges": "accept-ranges", + "Expiration": "x-amz-expiration", + "Restore": "x-amz-restore", + "LastModified": "Last-Modified", + "ContentLength": "Content-Length", + "ETag": "ETag", + "ChecksumCRC32": "x-amz-checksum-crc32", + "ChecksumCRC32C": "x-amz-checksum-crc32c", + "ChecksumCRC64NVME": "x-amz-checksum-crc64nvme", + "ChecksumSHA1": "x-amz-checksum-sha1", + "ChecksumSHA256": "x-amz-checksum-sha256", + "ChecksumType": "x-amz-checksum-type", + "MissingMeta": "x-amz-missing-meta", + "VersionId": "x-amz-version-id", + "CacheControl": "Cache-Control", + "ContentDisposition": "Content-Disposition", + "ContentEncoding": "Content-Encoding", + "ContentLanguage": "Content-Language", + "ContentRange": "Content-Range", + "ContentType": "Content-Type", + "Expires": "Expires", + "WebsiteRedirectLocation": "x-amz-website-redirect-location", + "ServerSideEncryption": "x-amz-server-side-encryption", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "StorageClass": "x-amz-storage-class", + "RequestCharged": "x-amz-request-charged", + "ReplicationStatus": "x-amz-replication-status", + "PartsCount": "x-amz-mp-parts-count", + "TagCount": "x-amz-tagging-count", + "ObjectLockMode": "x-amz-object-lock-mode", + "ObjectLockRetainUntilDate": "x-amz-object-lock-retain-until-date", + "ObjectLockLegalHoldStatus": "x-amz-object-lock-legal-hold", + }, + }, + "GetObjectAcl": { http: "GET /{Bucket}/{Key+}?acl", inputTraits: { - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - GetObjectAttributes: { + "GetObjectAttributes": { http: "GET /{Bucket}/{Key+}?attributes", inputTraits: { - MaxParts: "x-amz-max-parts", - PartNumberMarker: "x-amz-part-number-marker", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - ObjectAttributes: "x-amz-object-attributes", + "MaxParts": "x-amz-max-parts", + "PartNumberMarker": "x-amz-part-number-marker", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "ObjectAttributes": "x-amz-object-attributes", }, outputTraits: { - DeleteMarker: "x-amz-delete-marker", - LastModified: "Last-Modified", - VersionId: "x-amz-version-id", - RequestCharged: "x-amz-request-charged", + "DeleteMarker": "x-amz-delete-marker", + "LastModified": "Last-Modified", + "VersionId": "x-amz-version-id", + "RequestCharged": "x-amz-request-charged", }, }, - GetObjectLegalHold: { + "GetObjectLegalHold": { http: "GET /{Bucket}/{Key+}?legal-hold", inputTraits: { - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - LegalHold: "httpPayload", + "LegalHold": "httpPayload", }, }, - GetObjectLockConfiguration: { + "GetObjectLockConfiguration": { http: "GET /{Bucket}?object-lock", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - ObjectLockConfiguration: "httpPayload", + "ObjectLockConfiguration": "httpPayload", }, }, - GetObjectRetention: { + "GetObjectRetention": { http: "GET /{Bucket}/{Key+}?retention", inputTraits: { - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - Retention: "httpPayload", + "Retention": "httpPayload", }, }, - GetObjectTagging: { + "GetObjectTagging": { http: "GET /{Bucket}/{Key+}?tagging", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - RequestPayer: "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "RequestPayer": "x-amz-request-payer", }, outputTraits: { - VersionId: "x-amz-version-id", + "VersionId": "x-amz-version-id", }, }, - GetObjectTorrent: { + "GetObjectTorrent": { http: "GET /{Bucket}/{Key+}?torrent", inputTraits: { - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - Body: "httpStreaming", - RequestCharged: "x-amz-request-charged", + "Body": "httpStreaming", + "RequestCharged": "x-amz-request-charged", }, }, - GetPublicAccessBlock: { + "GetPublicAccessBlock": { http: "GET /{Bucket}?publicAccessBlock", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - PublicAccessBlockConfiguration: "httpPayload", + "PublicAccessBlockConfiguration": "httpPayload", }, }, - HeadBucket: { + "HeadBucket": { http: "HEAD /{Bucket}", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - BucketArn: "x-amz-bucket-arn", - BucketLocationType: "x-amz-bucket-location-type", - BucketLocationName: "x-amz-bucket-location-name", - BucketRegion: "x-amz-bucket-region", - AccessPointAlias: "x-amz-access-point-alias", + "BucketArn": "x-amz-bucket-arn", + "BucketLocationType": "x-amz-bucket-location-type", + "BucketLocationName": "x-amz-bucket-location-name", + "BucketRegion": "x-amz-bucket-region", + "AccessPointAlias": "x-amz-access-point-alias", }, }, - HeadObject: { + "HeadObject": { http: "HEAD /{Bucket}/{Key+}", inputTraits: { - IfMatch: "If-Match", - IfModifiedSince: "If-Modified-Since", - IfNoneMatch: "If-None-Match", - IfUnmodifiedSince: "If-Unmodified-Since", - Range: "Range", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - ChecksumMode: "x-amz-checksum-mode", + "IfMatch": "If-Match", + "IfModifiedSince": "If-Modified-Since", + "IfNoneMatch": "If-None-Match", + "IfUnmodifiedSince": "If-Unmodified-Since", + "Range": "Range", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "ChecksumMode": "x-amz-checksum-mode", }, outputTraits: { - DeleteMarker: "x-amz-delete-marker", - AcceptRanges: "accept-ranges", - Expiration: "x-amz-expiration", - Restore: "x-amz-restore", - ArchiveStatus: "x-amz-archive-status", - LastModified: "Last-Modified", - ContentLength: "Content-Length", - ChecksumCRC32: "x-amz-checksum-crc32", - ChecksumCRC32C: "x-amz-checksum-crc32c", - ChecksumCRC64NVME: "x-amz-checksum-crc64nvme", - ChecksumSHA1: "x-amz-checksum-sha1", - ChecksumSHA256: "x-amz-checksum-sha256", - ChecksumType: "x-amz-checksum-type", - ETag: "ETag", - MissingMeta: "x-amz-missing-meta", - VersionId: "x-amz-version-id", - CacheControl: "Cache-Control", - ContentDisposition: "Content-Disposition", - ContentEncoding: "Content-Encoding", - ContentLanguage: "Content-Language", - ContentType: "Content-Type", - ContentRange: "Content-Range", - Expires: "Expires", - WebsiteRedirectLocation: "x-amz-website-redirect-location", - ServerSideEncryption: "x-amz-server-side-encryption", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - StorageClass: "x-amz-storage-class", - RequestCharged: "x-amz-request-charged", - ReplicationStatus: "x-amz-replication-status", - PartsCount: "x-amz-mp-parts-count", - TagCount: "x-amz-tagging-count", - ObjectLockMode: "x-amz-object-lock-mode", - ObjectLockRetainUntilDate: "x-amz-object-lock-retain-until-date", - ObjectLockLegalHoldStatus: "x-amz-object-lock-legal-hold", - }, - }, - ListBucketAnalyticsConfigurations: { + "DeleteMarker": "x-amz-delete-marker", + "AcceptRanges": "accept-ranges", + "Expiration": "x-amz-expiration", + "Restore": "x-amz-restore", + "ArchiveStatus": "x-amz-archive-status", + "LastModified": "Last-Modified", + "ContentLength": "Content-Length", + "ChecksumCRC32": "x-amz-checksum-crc32", + "ChecksumCRC32C": "x-amz-checksum-crc32c", + "ChecksumCRC64NVME": "x-amz-checksum-crc64nvme", + "ChecksumSHA1": "x-amz-checksum-sha1", + "ChecksumSHA256": "x-amz-checksum-sha256", + "ChecksumType": "x-amz-checksum-type", + "ETag": "ETag", + "MissingMeta": "x-amz-missing-meta", + "VersionId": "x-amz-version-id", + "CacheControl": "Cache-Control", + "ContentDisposition": "Content-Disposition", + "ContentEncoding": "Content-Encoding", + "ContentLanguage": "Content-Language", + "ContentType": "Content-Type", + "ContentRange": "Content-Range", + "Expires": "Expires", + "WebsiteRedirectLocation": "x-amz-website-redirect-location", + "ServerSideEncryption": "x-amz-server-side-encryption", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "StorageClass": "x-amz-storage-class", + "RequestCharged": "x-amz-request-charged", + "ReplicationStatus": "x-amz-replication-status", + "PartsCount": "x-amz-mp-parts-count", + "TagCount": "x-amz-tagging-count", + "ObjectLockMode": "x-amz-object-lock-mode", + "ObjectLockRetainUntilDate": "x-amz-object-lock-retain-until-date", + "ObjectLockLegalHoldStatus": "x-amz-object-lock-legal-hold", + }, + }, + "ListBucketAnalyticsConfigurations": { http: "GET /{Bucket}?analytics&x-id=ListBucketAnalyticsConfigurations", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - ListBucketIntelligentTieringConfigurations: { + "ListBucketIntelligentTieringConfigurations": { http: "GET /{Bucket}?intelligent-tiering&x-id=ListBucketIntelligentTieringConfigurations", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - ListBucketInventoryConfigurations: { + "ListBucketInventoryConfigurations": { http: "GET /{Bucket}?inventory&x-id=ListBucketInventoryConfigurations", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - ListBucketMetricsConfigurations: { + "ListBucketMetricsConfigurations": { http: "GET /{Bucket}?metrics&x-id=ListBucketMetricsConfigurations", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - ListBuckets: { + "ListBuckets": { http: "GET /?x-id=ListBuckets", }, - ListDirectoryBuckets: { + "ListDirectoryBuckets": { http: "GET /?x-id=ListDirectoryBuckets", }, - ListMultipartUploads: { + "ListMultipartUploads": { http: "GET /{Bucket}?uploads", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - RequestPayer: "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "RequestPayer": "x-amz-request-payer", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - ListObjects: { + "ListObjects": { http: "GET /{Bucket}", inputTraits: { - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - OptionalObjectAttributes: "x-amz-optional-object-attributes", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "OptionalObjectAttributes": "x-amz-optional-object-attributes", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - ListObjectsV2: { + "ListObjectsV2": { http: "GET /{Bucket}?list-type=2", inputTraits: { - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - OptionalObjectAttributes: "x-amz-optional-object-attributes", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "OptionalObjectAttributes": "x-amz-optional-object-attributes", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - ListObjectVersions: { + "ListObjectVersions": { http: "GET /{Bucket}?versions", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - RequestPayer: "x-amz-request-payer", - OptionalObjectAttributes: "x-amz-optional-object-attributes", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "RequestPayer": "x-amz-request-payer", + "OptionalObjectAttributes": "x-amz-optional-object-attributes", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - ListParts: { + "ListParts": { http: "GET /{Bucket}/{Key+}?x-id=ListParts", inputTraits: { - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", }, outputTraits: { - AbortDate: "x-amz-abort-date", - AbortRuleId: "x-amz-abort-rule-id", - RequestCharged: "x-amz-request-charged", + "AbortDate": "x-amz-abort-date", + "AbortRuleId": "x-amz-abort-rule-id", + "RequestCharged": "x-amz-request-charged", }, }, - PutBucketAccelerateConfiguration: { + "PutBucketAccelerateConfiguration": { http: "PUT /{Bucket}?accelerate", inputTraits: { - AccelerateConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", + "AccelerateConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", }, }, - PutBucketAcl: { + "PutBucketAcl": { http: "PUT /{Bucket}?acl", inputTraits: { - ACL: "x-amz-acl", - AccessControlPolicy: "httpPayload", - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - GrantFullControl: "x-amz-grant-full-control", - GrantRead: "x-amz-grant-read", - GrantReadACP: "x-amz-grant-read-acp", - GrantWrite: "x-amz-grant-write", - GrantWriteACP: "x-amz-grant-write-acp", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ACL": "x-amz-acl", + "AccessControlPolicy": "httpPayload", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "GrantFullControl": "x-amz-grant-full-control", + "GrantRead": "x-amz-grant-read", + "GrantReadACP": "x-amz-grant-read-acp", + "GrantWrite": "x-amz-grant-write", + "GrantWriteACP": "x-amz-grant-write-acp", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketAnalyticsConfiguration: { + "PutBucketAnalyticsConfiguration": { http: "PUT /{Bucket}?analytics", inputTraits: { - AnalyticsConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "AnalyticsConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketCors: { + "PutBucketCors": { http: "PUT /{Bucket}?cors", inputTraits: { - CORSConfiguration: "httpPayload", - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "CORSConfiguration": "httpPayload", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketEncryption: { + "PutBucketEncryption": { http: "PUT /{Bucket}?encryption", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ServerSideEncryptionConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ServerSideEncryptionConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketIntelligentTieringConfiguration: { + "PutBucketIntelligentTieringConfiguration": { http: "PUT /{Bucket}?intelligent-tiering", inputTraits: { - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - IntelligentTieringConfiguration: "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "IntelligentTieringConfiguration": "httpPayload", }, }, - PutBucketInventoryConfiguration: { + "PutBucketInventoryConfiguration": { http: "PUT /{Bucket}?inventory", inputTraits: { - InventoryConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "InventoryConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketLifecycleConfiguration: { + "PutBucketLifecycleConfiguration": { http: "PUT /{Bucket}?lifecycle", inputTraits: { - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - LifecycleConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - TransitionDefaultMinimumObjectSize: - "x-amz-transition-default-minimum-object-size", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "LifecycleConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "TransitionDefaultMinimumObjectSize": "x-amz-transition-default-minimum-object-size", }, outputTraits: { - TransitionDefaultMinimumObjectSize: - "x-amz-transition-default-minimum-object-size", + "TransitionDefaultMinimumObjectSize": "x-amz-transition-default-minimum-object-size", }, }, - PutBucketLogging: { + "PutBucketLogging": { http: "PUT /{Bucket}?logging", inputTraits: { - BucketLoggingStatus: "httpPayload", - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "BucketLoggingStatus": "httpPayload", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketMetricsConfiguration: { + "PutBucketMetricsConfiguration": { http: "PUT /{Bucket}?metrics", inputTraits: { - MetricsConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "MetricsConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketNotificationConfiguration: { + "PutBucketNotificationConfiguration": { http: "PUT /{Bucket}?notification", inputTraits: { - NotificationConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - SkipDestinationValidation: "x-amz-skip-destination-validation", + "NotificationConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "SkipDestinationValidation": "x-amz-skip-destination-validation", }, }, - PutBucketOwnershipControls: { + "PutBucketOwnershipControls": { http: "PUT /{Bucket}?ownershipControls", inputTraits: { - ContentMD5: "Content-MD5", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - OwnershipControls: "httpPayload", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", + "ContentMD5": "Content-MD5", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "OwnershipControls": "httpPayload", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", }, }, - PutBucketPolicy: { + "PutBucketPolicy": { http: "PUT /{Bucket}?policy", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ConfirmRemoveSelfBucketAccess: - "x-amz-confirm-remove-self-bucket-access", - Policy: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ConfirmRemoveSelfBucketAccess": "x-amz-confirm-remove-self-bucket-access", + "Policy": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketReplication: { + "PutBucketReplication": { http: "PUT /{Bucket}?replication", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ReplicationConfiguration: "httpPayload", - Token: "x-amz-bucket-object-lock-token", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ReplicationConfiguration": "httpPayload", + "Token": "x-amz-bucket-object-lock-token", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketRequestPayment: { + "PutBucketRequestPayment": { http: "PUT /{Bucket}?requestPayment", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - RequestPaymentConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "RequestPaymentConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketTagging: { + "PutBucketTagging": { http: "PUT /{Bucket}?tagging", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - Tagging: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "Tagging": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketVersioning: { + "PutBucketVersioning": { http: "PUT /{Bucket}?versioning", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - MFA: "x-amz-mfa", - VersioningConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "MFA": "x-amz-mfa", + "VersioningConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutBucketWebsite: { + "PutBucketWebsite": { http: "PUT /{Bucket}?website", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - WebsiteConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "WebsiteConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - PutObject: { + "PutObject": { http: "PUT /{Bucket}/{Key+}?x-id=PutObject", inputTraits: { - ACL: "x-amz-acl", - Body: "httpStreaming", - CacheControl: "Cache-Control", - ContentDisposition: "Content-Disposition", - ContentEncoding: "Content-Encoding", - ContentLanguage: "Content-Language", - ContentLength: "Content-Length", - ContentMD5: "Content-MD5", - ContentType: "Content-Type", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ChecksumCRC32: "x-amz-checksum-crc32", - ChecksumCRC32C: "x-amz-checksum-crc32c", - ChecksumCRC64NVME: "x-amz-checksum-crc64nvme", - ChecksumSHA1: "x-amz-checksum-sha1", - ChecksumSHA256: "x-amz-checksum-sha256", - Expires: "Expires", - IfMatch: "If-Match", - IfNoneMatch: "If-None-Match", - GrantFullControl: "x-amz-grant-full-control", - GrantRead: "x-amz-grant-read", - GrantReadACP: "x-amz-grant-read-acp", - GrantWriteACP: "x-amz-grant-write-acp", - WriteOffsetBytes: "x-amz-write-offset-bytes", - ServerSideEncryption: "x-amz-server-side-encryption", - StorageClass: "x-amz-storage-class", - WebsiteRedirectLocation: "x-amz-website-redirect-location", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - SSEKMSEncryptionContext: "x-amz-server-side-encryption-context", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - RequestPayer: "x-amz-request-payer", - Tagging: "x-amz-tagging", - ObjectLockMode: "x-amz-object-lock-mode", - ObjectLockRetainUntilDate: "x-amz-object-lock-retain-until-date", - ObjectLockLegalHoldStatus: "x-amz-object-lock-legal-hold", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ACL": "x-amz-acl", + "Body": "httpStreaming", + "CacheControl": "Cache-Control", + "ContentDisposition": "Content-Disposition", + "ContentEncoding": "Content-Encoding", + "ContentLanguage": "Content-Language", + "ContentLength": "Content-Length", + "ContentMD5": "Content-MD5", + "ContentType": "Content-Type", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ChecksumCRC32": "x-amz-checksum-crc32", + "ChecksumCRC32C": "x-amz-checksum-crc32c", + "ChecksumCRC64NVME": "x-amz-checksum-crc64nvme", + "ChecksumSHA1": "x-amz-checksum-sha1", + "ChecksumSHA256": "x-amz-checksum-sha256", + "Expires": "Expires", + "IfMatch": "If-Match", + "IfNoneMatch": "If-None-Match", + "GrantFullControl": "x-amz-grant-full-control", + "GrantRead": "x-amz-grant-read", + "GrantReadACP": "x-amz-grant-read-acp", + "GrantWriteACP": "x-amz-grant-write-acp", + "WriteOffsetBytes": "x-amz-write-offset-bytes", + "ServerSideEncryption": "x-amz-server-side-encryption", + "StorageClass": "x-amz-storage-class", + "WebsiteRedirectLocation": "x-amz-website-redirect-location", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "SSEKMSEncryptionContext": "x-amz-server-side-encryption-context", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "RequestPayer": "x-amz-request-payer", + "Tagging": "x-amz-tagging", + "ObjectLockMode": "x-amz-object-lock-mode", + "ObjectLockRetainUntilDate": "x-amz-object-lock-retain-until-date", + "ObjectLockLegalHoldStatus": "x-amz-object-lock-legal-hold", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - Expiration: "x-amz-expiration", - ETag: "ETag", - ChecksumCRC32: "x-amz-checksum-crc32", - ChecksumCRC32C: "x-amz-checksum-crc32c", - ChecksumCRC64NVME: "x-amz-checksum-crc64nvme", - ChecksumSHA1: "x-amz-checksum-sha1", - ChecksumSHA256: "x-amz-checksum-sha256", - ChecksumType: "x-amz-checksum-type", - ServerSideEncryption: "x-amz-server-side-encryption", - VersionId: "x-amz-version-id", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - SSEKMSEncryptionContext: "x-amz-server-side-encryption-context", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - Size: "x-amz-object-size", - RequestCharged: "x-amz-request-charged", - }, - }, - PutObjectAcl: { + "Expiration": "x-amz-expiration", + "ETag": "ETag", + "ChecksumCRC32": "x-amz-checksum-crc32", + "ChecksumCRC32C": "x-amz-checksum-crc32c", + "ChecksumCRC64NVME": "x-amz-checksum-crc64nvme", + "ChecksumSHA1": "x-amz-checksum-sha1", + "ChecksumSHA256": "x-amz-checksum-sha256", + "ChecksumType": "x-amz-checksum-type", + "ServerSideEncryption": "x-amz-server-side-encryption", + "VersionId": "x-amz-version-id", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "SSEKMSEncryptionContext": "x-amz-server-side-encryption-context", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "Size": "x-amz-object-size", + "RequestCharged": "x-amz-request-charged", + }, + }, + "PutObjectAcl": { http: "PUT /{Bucket}/{Key+}?acl", inputTraits: { - ACL: "x-amz-acl", - AccessControlPolicy: "httpPayload", - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - GrantFullControl: "x-amz-grant-full-control", - GrantRead: "x-amz-grant-read", - GrantReadACP: "x-amz-grant-read-acp", - GrantWrite: "x-amz-grant-write", - GrantWriteACP: "x-amz-grant-write-acp", - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ACL": "x-amz-acl", + "AccessControlPolicy": "httpPayload", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "GrantFullControl": "x-amz-grant-full-control", + "GrantRead": "x-amz-grant-read", + "GrantReadACP": "x-amz-grant-read-acp", + "GrantWrite": "x-amz-grant-write", + "GrantWriteACP": "x-amz-grant-write-acp", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - PutObjectLegalHold: { + "PutObjectLegalHold": { http: "PUT /{Bucket}/{Key+}?legal-hold", inputTraits: { - LegalHold: "httpPayload", - RequestPayer: "x-amz-request-payer", - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "LegalHold": "httpPayload", + "RequestPayer": "x-amz-request-payer", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - PutObjectLockConfiguration: { + "PutObjectLockConfiguration": { http: "PUT /{Bucket}?object-lock", inputTraits: { - ObjectLockConfiguration: "httpPayload", - RequestPayer: "x-amz-request-payer", - Token: "x-amz-bucket-object-lock-token", - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ObjectLockConfiguration": "httpPayload", + "RequestPayer": "x-amz-request-payer", + "Token": "x-amz-bucket-object-lock-token", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - PutObjectRetention: { + "PutObjectRetention": { http: "PUT /{Bucket}/{Key+}?retention", inputTraits: { - Retention: "httpPayload", - RequestPayer: "x-amz-request-payer", - BypassGovernanceRetention: "x-amz-bypass-governance-retention", - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "Retention": "httpPayload", + "RequestPayer": "x-amz-request-payer", + "BypassGovernanceRetention": "x-amz-bypass-governance-retention", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - RequestCharged: "x-amz-request-charged", + "RequestCharged": "x-amz-request-charged", }, }, - PutObjectTagging: { + "PutObjectTagging": { http: "PUT /{Bucket}/{Key+}?tagging", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - Tagging: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - RequestPayer: "x-amz-request-payer", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "Tagging": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "RequestPayer": "x-amz-request-payer", }, outputTraits: { - VersionId: "x-amz-version-id", + "VersionId": "x-amz-version-id", }, }, - PutPublicAccessBlock: { + "PutPublicAccessBlock": { http: "PUT /{Bucket}?publicAccessBlock", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - PublicAccessBlockConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "PublicAccessBlockConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - RenameObject: { + "RenameObject": { http: "PUT /{Bucket}/{Key+}?renameObject", inputTraits: { - RenameSource: "x-amz-rename-source", - DestinationIfMatch: "If-Match", - DestinationIfNoneMatch: "If-None-Match", - DestinationIfModifiedSince: "If-Modified-Since", - DestinationIfUnmodifiedSince: "If-Unmodified-Since", - SourceIfMatch: "x-amz-rename-source-if-match", - SourceIfNoneMatch: "x-amz-rename-source-if-none-match", - SourceIfModifiedSince: "x-amz-rename-source-if-modified-since", - SourceIfUnmodifiedSince: "x-amz-rename-source-if-unmodified-since", - ClientToken: "x-amz-client-token", + "RenameSource": "x-amz-rename-source", + "DestinationIfMatch": "If-Match", + "DestinationIfNoneMatch": "If-None-Match", + "DestinationIfModifiedSince": "If-Modified-Since", + "DestinationIfUnmodifiedSince": "If-Unmodified-Since", + "SourceIfMatch": "x-amz-rename-source-if-match", + "SourceIfNoneMatch": "x-amz-rename-source-if-none-match", + "SourceIfModifiedSince": "x-amz-rename-source-if-modified-since", + "SourceIfUnmodifiedSince": "x-amz-rename-source-if-unmodified-since", + "ClientToken": "x-amz-client-token", }, }, - RestoreObject: { + "RestoreObject": { http: "POST /{Bucket}/{Key+}?restore", inputTraits: { - RestoreRequest: "httpPayload", - RequestPayer: "x-amz-request-payer", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "RestoreRequest": "httpPayload", + "RequestPayer": "x-amz-request-payer", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - RequestCharged: "x-amz-request-charged", - RestoreOutputPath: "x-amz-restore-output-path", + "RequestCharged": "x-amz-request-charged", + "RestoreOutputPath": "x-amz-restore-output-path", }, }, - SelectObjectContent: { + "SelectObjectContent": { http: "POST /{Bucket}/{Key+}?select&select-type=2", inputTraits: { - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - Payload: "httpPayload", + "Payload": "httpPayload", }, }, - UpdateBucketMetadataInventoryTableConfiguration: { + "UpdateBucketMetadataInventoryTableConfiguration": { http: "PUT /{Bucket}?metadataInventoryTable", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - InventoryTableConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "InventoryTableConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - UpdateBucketMetadataJournalTableConfiguration: { + "UpdateBucketMetadataJournalTableConfiguration": { http: "PUT /{Bucket}?metadataJournalTable", inputTraits: { - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - JournalTableConfiguration: "httpPayload", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "JournalTableConfiguration": "httpPayload", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, }, - UploadPart: { + "UploadPart": { http: "PUT /{Bucket}/{Key+}?x-id=UploadPart", inputTraits: { - Body: "httpStreaming", - ContentLength: "Content-Length", - ContentMD5: "Content-MD5", - ChecksumAlgorithm: "x-amz-sdk-checksum-algorithm", - ChecksumCRC32: "x-amz-checksum-crc32", - ChecksumCRC32C: "x-amz-checksum-crc32c", - ChecksumCRC64NVME: "x-amz-checksum-crc64nvme", - ChecksumSHA1: "x-amz-checksum-sha1", - ChecksumSHA256: "x-amz-checksum-sha256", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", + "Body": "httpStreaming", + "ContentLength": "Content-Length", + "ContentMD5": "Content-MD5", + "ChecksumAlgorithm": "x-amz-sdk-checksum-algorithm", + "ChecksumCRC32": "x-amz-checksum-crc32", + "ChecksumCRC32C": "x-amz-checksum-crc32c", + "ChecksumCRC64NVME": "x-amz-checksum-crc64nvme", + "ChecksumSHA1": "x-amz-checksum-sha1", + "ChecksumSHA256": "x-amz-checksum-sha256", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", }, outputTraits: { - ServerSideEncryption: "x-amz-server-side-encryption", - ETag: "ETag", - ChecksumCRC32: "x-amz-checksum-crc32", - ChecksumCRC32C: "x-amz-checksum-crc32c", - ChecksumCRC64NVME: "x-amz-checksum-crc64nvme", - ChecksumSHA1: "x-amz-checksum-sha1", - ChecksumSHA256: "x-amz-checksum-sha256", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - RequestCharged: "x-amz-request-charged", - }, - }, - UploadPartCopy: { + "ServerSideEncryption": "x-amz-server-side-encryption", + "ETag": "ETag", + "ChecksumCRC32": "x-amz-checksum-crc32", + "ChecksumCRC32C": "x-amz-checksum-crc32c", + "ChecksumCRC64NVME": "x-amz-checksum-crc64nvme", + "ChecksumSHA1": "x-amz-checksum-sha1", + "ChecksumSHA256": "x-amz-checksum-sha256", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "RequestCharged": "x-amz-request-charged", + }, + }, + "UploadPartCopy": { http: "PUT /{Bucket}/{Key+}?x-id=UploadPartCopy", inputTraits: { - CopySource: "x-amz-copy-source", - CopySourceIfMatch: "x-amz-copy-source-if-match", - CopySourceIfModifiedSince: "x-amz-copy-source-if-modified-since", - CopySourceIfNoneMatch: "x-amz-copy-source-if-none-match", - CopySourceIfUnmodifiedSince: "x-amz-copy-source-if-unmodified-since", - CopySourceRange: "x-amz-copy-source-range", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKey: "x-amz-server-side-encryption-customer-key", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - CopySourceSSECustomerAlgorithm: - "x-amz-copy-source-server-side-encryption-customer-algorithm", - CopySourceSSECustomerKey: - "x-amz-copy-source-server-side-encryption-customer-key", - CopySourceSSECustomerKeyMD5: - "x-amz-copy-source-server-side-encryption-customer-key-MD5", - RequestPayer: "x-amz-request-payer", - ExpectedBucketOwner: "x-amz-expected-bucket-owner", - ExpectedSourceBucketOwner: "x-amz-source-expected-bucket-owner", + "CopySource": "x-amz-copy-source", + "CopySourceIfMatch": "x-amz-copy-source-if-match", + "CopySourceIfModifiedSince": "x-amz-copy-source-if-modified-since", + "CopySourceIfNoneMatch": "x-amz-copy-source-if-none-match", + "CopySourceIfUnmodifiedSince": "x-amz-copy-source-if-unmodified-since", + "CopySourceRange": "x-amz-copy-source-range", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKey": "x-amz-server-side-encryption-customer-key", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "CopySourceSSECustomerAlgorithm": "x-amz-copy-source-server-side-encryption-customer-algorithm", + "CopySourceSSECustomerKey": "x-amz-copy-source-server-side-encryption-customer-key", + "CopySourceSSECustomerKeyMD5": "x-amz-copy-source-server-side-encryption-customer-key-MD5", + "RequestPayer": "x-amz-request-payer", + "ExpectedBucketOwner": "x-amz-expected-bucket-owner", + "ExpectedSourceBucketOwner": "x-amz-source-expected-bucket-owner", }, outputTraits: { - CopySourceVersionId: "x-amz-copy-source-version-id", - CopyPartResult: "httpPayload", - ServerSideEncryption: "x-amz-server-side-encryption", - SSECustomerAlgorithm: "x-amz-server-side-encryption-customer-algorithm", - SSECustomerKeyMD5: "x-amz-server-side-encryption-customer-key-MD5", - SSEKMSKeyId: "x-amz-server-side-encryption-aws-kms-key-id", - BucketKeyEnabled: "x-amz-server-side-encryption-bucket-key-enabled", - RequestCharged: "x-amz-request-charged", + "CopySourceVersionId": "x-amz-copy-source-version-id", + "CopyPartResult": "httpPayload", + "ServerSideEncryption": "x-amz-server-side-encryption", + "SSECustomerAlgorithm": "x-amz-server-side-encryption-customer-algorithm", + "SSECustomerKeyMD5": "x-amz-server-side-encryption-customer-key-MD5", + "SSEKMSKeyId": "x-amz-server-side-encryption-aws-kms-key-id", + "BucketKeyEnabled": "x-amz-server-side-encryption-bucket-key-enabled", + "RequestCharged": "x-amz-request-charged", }, }, - WriteGetObjectResponse: { + "WriteGetObjectResponse": { http: "POST /WriteGetObjectResponse", inputTraits: { - RequestRoute: "x-amz-request-route", - RequestToken: "x-amz-request-token", - Body: "httpStreaming", - StatusCode: "x-amz-fwd-status", - ErrorCode: "x-amz-fwd-error-code", - ErrorMessage: "x-amz-fwd-error-message", - AcceptRanges: "x-amz-fwd-header-accept-ranges", - CacheControl: "x-amz-fwd-header-Cache-Control", - ContentDisposition: "x-amz-fwd-header-Content-Disposition", - ContentEncoding: "x-amz-fwd-header-Content-Encoding", - ContentLanguage: "x-amz-fwd-header-Content-Language", - ContentLength: "Content-Length", - ContentRange: "x-amz-fwd-header-Content-Range", - ContentType: "x-amz-fwd-header-Content-Type", - ChecksumCRC32: "x-amz-fwd-header-x-amz-checksum-crc32", - ChecksumCRC32C: "x-amz-fwd-header-x-amz-checksum-crc32c", - ChecksumCRC64NVME: "x-amz-fwd-header-x-amz-checksum-crc64nvme", - ChecksumSHA1: "x-amz-fwd-header-x-amz-checksum-sha1", - ChecksumSHA256: "x-amz-fwd-header-x-amz-checksum-sha256", - DeleteMarker: "x-amz-fwd-header-x-amz-delete-marker", - ETag: "x-amz-fwd-header-ETag", - Expires: "x-amz-fwd-header-Expires", - Expiration: "x-amz-fwd-header-x-amz-expiration", - LastModified: "x-amz-fwd-header-Last-Modified", - MissingMeta: "x-amz-fwd-header-x-amz-missing-meta", - ObjectLockMode: "x-amz-fwd-header-x-amz-object-lock-mode", - ObjectLockLegalHoldStatus: - "x-amz-fwd-header-x-amz-object-lock-legal-hold", - ObjectLockRetainUntilDate: - "x-amz-fwd-header-x-amz-object-lock-retain-until-date", - PartsCount: "x-amz-fwd-header-x-amz-mp-parts-count", - ReplicationStatus: "x-amz-fwd-header-x-amz-replication-status", - RequestCharged: "x-amz-fwd-header-x-amz-request-charged", - Restore: "x-amz-fwd-header-x-amz-restore", - ServerSideEncryption: "x-amz-fwd-header-x-amz-server-side-encryption", - SSECustomerAlgorithm: - "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm", - SSEKMSKeyId: - "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id", - SSECustomerKeyMD5: - "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5", - StorageClass: "x-amz-fwd-header-x-amz-storage-class", - TagCount: "x-amz-fwd-header-x-amz-tagging-count", - VersionId: "x-amz-fwd-header-x-amz-version-id", - BucketKeyEnabled: - "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled", + "RequestRoute": "x-amz-request-route", + "RequestToken": "x-amz-request-token", + "Body": "httpStreaming", + "StatusCode": "x-amz-fwd-status", + "ErrorCode": "x-amz-fwd-error-code", + "ErrorMessage": "x-amz-fwd-error-message", + "AcceptRanges": "x-amz-fwd-header-accept-ranges", + "CacheControl": "x-amz-fwd-header-Cache-Control", + "ContentDisposition": "x-amz-fwd-header-Content-Disposition", + "ContentEncoding": "x-amz-fwd-header-Content-Encoding", + "ContentLanguage": "x-amz-fwd-header-Content-Language", + "ContentLength": "Content-Length", + "ContentRange": "x-amz-fwd-header-Content-Range", + "ContentType": "x-amz-fwd-header-Content-Type", + "ChecksumCRC32": "x-amz-fwd-header-x-amz-checksum-crc32", + "ChecksumCRC32C": "x-amz-fwd-header-x-amz-checksum-crc32c", + "ChecksumCRC64NVME": "x-amz-fwd-header-x-amz-checksum-crc64nvme", + "ChecksumSHA1": "x-amz-fwd-header-x-amz-checksum-sha1", + "ChecksumSHA256": "x-amz-fwd-header-x-amz-checksum-sha256", + "DeleteMarker": "x-amz-fwd-header-x-amz-delete-marker", + "ETag": "x-amz-fwd-header-ETag", + "Expires": "x-amz-fwd-header-Expires", + "Expiration": "x-amz-fwd-header-x-amz-expiration", + "LastModified": "x-amz-fwd-header-Last-Modified", + "MissingMeta": "x-amz-fwd-header-x-amz-missing-meta", + "ObjectLockMode": "x-amz-fwd-header-x-amz-object-lock-mode", + "ObjectLockLegalHoldStatus": "x-amz-fwd-header-x-amz-object-lock-legal-hold", + "ObjectLockRetainUntilDate": "x-amz-fwd-header-x-amz-object-lock-retain-until-date", + "PartsCount": "x-amz-fwd-header-x-amz-mp-parts-count", + "ReplicationStatus": "x-amz-fwd-header-x-amz-replication-status", + "RequestCharged": "x-amz-fwd-header-x-amz-request-charged", + "Restore": "x-amz-fwd-header-x-amz-restore", + "ServerSideEncryption": "x-amz-fwd-header-x-amz-server-side-encryption", + "SSECustomerAlgorithm": "x-amz-fwd-header-x-amz-server-side-encryption-customer-algorithm", + "SSEKMSKeyId": "x-amz-fwd-header-x-amz-server-side-encryption-aws-kms-key-id", + "SSECustomerKeyMD5": "x-amz-fwd-header-x-amz-server-side-encryption-customer-key-MD5", + "StorageClass": "x-amz-fwd-header-x-amz-storage-class", + "TagCount": "x-amz-fwd-header-x-amz-tagging-count", + "VersionId": "x-amz-fwd-header-x-amz-version-id", + "BucketKeyEnabled": "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled", }, }, }, diff --git a/src/services/s3/types.ts b/src/services/s3/types.ts index a8478c4c..3920ec43 100644 --- a/src/services/s3/types.ts +++ b/src/services/s3/types.ts @@ -7,10 +7,16 @@ import { AWSServiceClient } from "../../client.ts"; export declare class S3 extends AWSServiceClient { abortMultipartUpload( input: AbortMultipartUploadRequest, - ): Effect.Effect; + ): Effect.Effect< + AbortMultipartUploadOutput, + NoSuchUpload | CommonAwsError + >; completeMultipartUpload( input: CompleteMultipartUploadRequest, - ): Effect.Effect; + ): Effect.Effect< + CompleteMultipartUploadOutput, + CommonAwsError + >; copyObject( input: CopyObjectRequest, ): Effect.Effect< @@ -25,86 +31,172 @@ export declare class S3 extends AWSServiceClient { >; createBucketMetadataConfiguration( input: CreateBucketMetadataConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; createBucketMetadataTableConfiguration( input: CreateBucketMetadataTableConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; createMultipartUpload( input: CreateMultipartUploadRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateMultipartUploadOutput, + CommonAwsError + >; createSession( input: CreateSessionRequest, - ): Effect.Effect; - deleteBucket(input: DeleteBucketRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + CreateSessionOutput, + NoSuchBucket | CommonAwsError + >; + deleteBucket( + input: DeleteBucketRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketAnalyticsConfiguration( input: DeleteBucketAnalyticsConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketCors( input: DeleteBucketCorsRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketEncryption( input: DeleteBucketEncryptionRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketIntelligentTieringConfiguration( input: DeleteBucketIntelligentTieringConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketInventoryConfiguration( input: DeleteBucketInventoryConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketLifecycle( input: DeleteBucketLifecycleRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketMetadataConfiguration( input: DeleteBucketMetadataConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketMetadataTableConfiguration( input: DeleteBucketMetadataTableConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketMetricsConfiguration( input: DeleteBucketMetricsConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketOwnershipControls( input: DeleteBucketOwnershipControlsRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketPolicy( input: DeleteBucketPolicyRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketReplication( input: DeleteBucketReplicationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketTagging( input: DeleteBucketTaggingRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteBucketWebsite( input: DeleteBucketWebsiteRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteObject( input: DeleteObjectRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteObjectOutput, + CommonAwsError + >; deleteObjects( input: DeleteObjectsRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteObjectsOutput, + CommonAwsError + >; deleteObjectTagging( input: DeleteObjectTaggingRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteObjectTaggingOutput, + CommonAwsError + >; deletePublicAccessBlock( input: DeletePublicAccessBlockRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; getBucketAccelerateConfiguration( input: GetBucketAccelerateConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketAccelerateConfigurationOutput, + CommonAwsError + >; getBucketAcl( input: GetBucketAclRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketAclOutput, + CommonAwsError + >; getBucketAnalyticsConfiguration( input: GetBucketAnalyticsConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketAnalyticsConfigurationOutput, + CommonAwsError + >; getBucketCors( input: GetBucketCorsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketCorsOutput, + CommonAwsError + >; getBucketEncryption( input: GetBucketEncryptionRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketEncryptionOutput, + CommonAwsError + >; getBucketIntelligentTieringConfiguration( input: GetBucketIntelligentTieringConfigurationRequest, ): Effect.Effect< @@ -113,52 +205,100 @@ export declare class S3 extends AWSServiceClient { >; getBucketInventoryConfiguration( input: GetBucketInventoryConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketInventoryConfigurationOutput, + CommonAwsError + >; getBucketLifecycleConfiguration( input: GetBucketLifecycleConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketLifecycleConfigurationOutput, + CommonAwsError + >; getBucketLocation( input: GetBucketLocationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketLocationOutput, + CommonAwsError + >; getBucketLogging( input: GetBucketLoggingRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketLoggingOutput, + CommonAwsError + >; getBucketMetadataConfiguration( input: GetBucketMetadataConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketMetadataConfigurationOutput, + CommonAwsError + >; getBucketMetadataTableConfiguration( input: GetBucketMetadataTableConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketMetadataTableConfigurationOutput, + CommonAwsError + >; getBucketMetricsConfiguration( input: GetBucketMetricsConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketMetricsConfigurationOutput, + CommonAwsError + >; getBucketNotificationConfiguration( input: GetBucketNotificationConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + NotificationConfiguration, + CommonAwsError + >; getBucketOwnershipControls( input: GetBucketOwnershipControlsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketOwnershipControlsOutput, + CommonAwsError + >; getBucketPolicy( input: GetBucketPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketPolicyOutput, + CommonAwsError + >; getBucketPolicyStatus( input: GetBucketPolicyStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketPolicyStatusOutput, + CommonAwsError + >; getBucketReplication( input: GetBucketReplicationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketReplicationOutput, + CommonAwsError + >; getBucketRequestPayment( input: GetBucketRequestPaymentRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketRequestPaymentOutput, + CommonAwsError + >; getBucketTagging( input: GetBucketTaggingRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketTaggingOutput, + CommonAwsError + >; getBucketVersioning( input: GetBucketVersioningRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketVersioningOutput, + CommonAwsError + >; getBucketWebsite( input: GetBucketWebsiteRequest, - ): Effect.Effect; + ): Effect.Effect< + GetBucketWebsiteOutput, + CommonAwsError + >; getObject( input: GetObjectRequest, ): Effect.Effect< @@ -167,37 +307,70 @@ export declare class S3 extends AWSServiceClient { >; getObjectAcl( input: GetObjectAclRequest, - ): Effect.Effect; + ): Effect.Effect< + GetObjectAclOutput, + NoSuchKey | CommonAwsError + >; getObjectAttributes( input: GetObjectAttributesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetObjectAttributesOutput, + NoSuchKey | CommonAwsError + >; getObjectLegalHold( input: GetObjectLegalHoldRequest, - ): Effect.Effect; + ): Effect.Effect< + GetObjectLegalHoldOutput, + CommonAwsError + >; getObjectLockConfiguration( input: GetObjectLockConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + GetObjectLockConfigurationOutput, + CommonAwsError + >; getObjectRetention( input: GetObjectRetentionRequest, - ): Effect.Effect; + ): Effect.Effect< + GetObjectRetentionOutput, + CommonAwsError + >; getObjectTagging( input: GetObjectTaggingRequest, - ): Effect.Effect; + ): Effect.Effect< + GetObjectTaggingOutput, + CommonAwsError + >; getObjectTorrent( input: GetObjectTorrentRequest, - ): Effect.Effect; + ): Effect.Effect< + GetObjectTorrentOutput, + CommonAwsError + >; getPublicAccessBlock( input: GetPublicAccessBlockRequest, - ): Effect.Effect; + ): Effect.Effect< + GetPublicAccessBlockOutput, + CommonAwsError + >; headBucket( input: HeadBucketRequest, - ): Effect.Effect; + ): Effect.Effect< + HeadBucketOutput, + NotFound | CommonAwsError + >; headObject( input: HeadObjectRequest, - ): Effect.Effect; + ): Effect.Effect< + HeadObjectOutput, + NotFound | CommonAwsError + >; listBucketAnalyticsConfigurations( input: ListBucketAnalyticsConfigurationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListBucketAnalyticsConfigurationsOutput, + CommonAwsError + >; listBucketIntelligentTieringConfigurations( input: ListBucketIntelligentTieringConfigurationsRequest, ): Effect.Effect< @@ -206,109 +379,208 @@ export declare class S3 extends AWSServiceClient { >; listBucketInventoryConfigurations( input: ListBucketInventoryConfigurationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListBucketInventoryConfigurationsOutput, + CommonAwsError + >; listBucketMetricsConfigurations( input: ListBucketMetricsConfigurationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListBucketMetricsConfigurationsOutput, + CommonAwsError + >; listBuckets( input: ListBucketsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListBucketsOutput, + CommonAwsError + >; listDirectoryBuckets( input: ListDirectoryBucketsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDirectoryBucketsOutput, + CommonAwsError + >; listMultipartUploads( input: ListMultipartUploadsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListMultipartUploadsOutput, + CommonAwsError + >; listObjects( input: ListObjectsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListObjectsOutput, + NoSuchBucket | CommonAwsError + >; listObjectsV2( input: ListObjectsV2Request, - ): Effect.Effect; + ): Effect.Effect< + ListObjectsV2Output, + NoSuchBucket | CommonAwsError + >; listObjectVersions( input: ListObjectVersionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListObjectVersionsOutput, + CommonAwsError + >; listParts( input: ListPartsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListPartsOutput, + CommonAwsError + >; putBucketAccelerateConfiguration( input: PutBucketAccelerateConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; - putBucketAcl(input: PutBucketAclRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; + putBucketAcl( + input: PutBucketAclRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketAnalyticsConfiguration( input: PutBucketAnalyticsConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; - putBucketCors(input: PutBucketCorsRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; + putBucketCors( + input: PutBucketCorsRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketEncryption( input: PutBucketEncryptionRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketIntelligentTieringConfiguration( input: PutBucketIntelligentTieringConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketInventoryConfiguration( input: PutBucketInventoryConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketLifecycleConfiguration( input: PutBucketLifecycleConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + PutBucketLifecycleConfigurationOutput, + CommonAwsError + >; putBucketLogging( input: PutBucketLoggingRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketMetricsConfiguration( input: PutBucketMetricsConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketNotificationConfiguration( input: PutBucketNotificationConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketOwnershipControls( input: PutBucketOwnershipControlsRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketPolicy( input: PutBucketPolicyRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketReplication( input: PutBucketReplicationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketRequestPayment( input: PutBucketRequestPaymentRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketTagging( input: PutBucketTaggingRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketVersioning( input: PutBucketVersioningRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putBucketWebsite( input: PutBucketWebsiteRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; putObject( input: PutObjectRequest, ): Effect.Effect< PutObjectOutput, - | EncryptionTypeMismatch - | InvalidRequest - | InvalidWriteOffset - | TooManyParts - | CommonAwsError + EncryptionTypeMismatch | InvalidRequest | InvalidWriteOffset | TooManyParts | CommonAwsError >; putObjectAcl( input: PutObjectAclRequest, - ): Effect.Effect; + ): Effect.Effect< + PutObjectAclOutput, + NoSuchKey | CommonAwsError + >; putObjectLegalHold( input: PutObjectLegalHoldRequest, - ): Effect.Effect; + ): Effect.Effect< + PutObjectLegalHoldOutput, + CommonAwsError + >; putObjectLockConfiguration( input: PutObjectLockConfigurationRequest, - ): Effect.Effect; + ): Effect.Effect< + PutObjectLockConfigurationOutput, + CommonAwsError + >; putObjectRetention( input: PutObjectRetentionRequest, - ): Effect.Effect; + ): Effect.Effect< + PutObjectRetentionOutput, + CommonAwsError + >; putObjectTagging( input: PutObjectTaggingRequest, - ): Effect.Effect; + ): Effect.Effect< + PutObjectTaggingOutput, + CommonAwsError + >; putPublicAccessBlock( input: PutPublicAccessBlockRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; renameObject( input: RenameObjectRequest, ): Effect.Effect< @@ -323,22 +595,40 @@ export declare class S3 extends AWSServiceClient { >; selectObjectContent( input: SelectObjectContentRequest, - ): Effect.Effect; + ): Effect.Effect< + SelectObjectContentOutput, + CommonAwsError + >; updateBucketMetadataInventoryTableConfiguration( input: UpdateBucketMetadataInventoryTableConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; updateBucketMetadataJournalTableConfiguration( input: UpdateBucketMetadataJournalTableConfigurationRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; uploadPart( input: UploadPartRequest, - ): Effect.Effect; + ): Effect.Effect< + UploadPartOutput, + CommonAwsError + >; uploadPartCopy( input: UploadPartCopyRequest, - ): Effect.Effect; + ): Effect.Effect< + UploadPartCopyOutput, + CommonAwsError + >; writeGetObjectResponse( input: WriteGetObjectResponseRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; } export type AbortDate = Date | string; @@ -409,10 +699,7 @@ interface _AnalyticsFilter { And?: AnalyticsAndOperator; } -export type AnalyticsFilter = - | (_AnalyticsFilter & { Prefix: string }) - | (_AnalyticsFilter & { Tag: Tag }) - | (_AnalyticsFilter & { And: AnalyticsAndOperator }); +export type AnalyticsFilter = (_AnalyticsFilter & { Prefix: string }) | (_AnalyticsFilter & { Tag: Tag }) | (_AnalyticsFilter & { And: AnalyticsAndOperator }); export type AnalyticsId = string; export interface AnalyticsS3BucketDestination { @@ -434,15 +721,13 @@ export interface Bucket { export type BucketAccelerateStatus = "Enabled" | "Suspended"; export declare class BucketAlreadyExists extends EffectData.TaggedError( "BucketAlreadyExists", -)<{}> {} +)<{ +}> {} export declare class BucketAlreadyOwnedByYou extends EffectData.TaggedError( "BucketAlreadyOwnedByYou", -)<{}> {} -export type BucketCannedACL = - | "private" - | "public-read" - | "public-read-write" - | "authenticated-read"; +)<{ +}> {} +export type BucketCannedACL = "private" | "public-read" | "public-read-write" | "authenticated-read"; export interface BucketInfo { DataRedundancy?: DataRedundancy; Type?: BucketType; @@ -452,40 +737,7 @@ export type BucketKeyEnabled = boolean; export interface BucketLifecycleConfiguration { Rules: Array; } -export type BucketLocationConstraint = - | "af-south-1" - | "ap-east-1" - | "ap-northeast-1" - | "ap-northeast-2" - | "ap-northeast-3" - | "ap-south-1" - | "ap-south-2" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-southeast-3" - | "ap-southeast-4" - | "ap-southeast-5" - | "ca-central-1" - | "cn-north-1" - | "cn-northwest-1" - | "EU" - | "eu-central-1" - | "eu-central-2" - | "eu-north-1" - | "eu-south-1" - | "eu-south-2" - | "eu-west-1" - | "eu-west-2" - | "eu-west-3" - | "il-central-1" - | "me-central-1" - | "me-south-1" - | "sa-east-1" - | "us-east-2" - | "us-gov-east-1" - | "us-gov-west-1" - | "us-west-1" - | "us-west-2"; +export type BucketLocationConstraint = "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "il-central-1" | "me-central-1" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2"; export type BucketLocationName = string; export interface BucketLoggingStatus { @@ -517,12 +769,7 @@ export interface Checksum { ChecksumSHA256?: string; ChecksumType?: ChecksumType; } -export type ChecksumAlgorithm = - | "CRC32" - | "CRC32C" - | "SHA1" - | "SHA256" - | "CRC64NVME"; +export type ChecksumAlgorithm = "CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"; export type ChecksumAlgorithmList = Array; export type ChecksumCRC32 = string; @@ -618,7 +865,8 @@ export type ContentRange = string; export type ContentType = string; -export interface ContinuationEvent {} +export interface ContinuationEvent { +} export interface CopyObjectOutput { CopyObjectResult?: CopyObjectResult; Expiration?: string; @@ -1030,10 +1278,12 @@ export interface EncryptionConfiguration { } export declare class EncryptionTypeMismatch extends EffectData.TaggedError( "EncryptionTypeMismatch", -)<{}> {} +)<{ +}> {} export type End = number; -export interface EndEvent {} +export interface EndEvent { +} export interface S3Error { Key?: string; VersionId?: string; @@ -1054,35 +1304,9 @@ export type ErrorMessage = string; export type Errors = Array; export type ETag = string; -export type Event = - | "s3:ReducedRedundancyLostObject" - | "s3:ObjectCreated:*" - | "s3:ObjectCreated:Put" - | "s3:ObjectCreated:Post" - | "s3:ObjectCreated:Copy" - | "s3:ObjectCreated:CompleteMultipartUpload" - | "s3:ObjectRemoved:*" - | "s3:ObjectRemoved:Delete" - | "s3:ObjectRemoved:DeleteMarkerCreated" - | "s3:ObjectRestore:*" - | "s3:ObjectRestore:Post" - | "s3:ObjectRestore:Completed" - | "s3:Replication:*" - | "s3:Replication:OperationFailedReplication" - | "s3:Replication:OperationNotTracked" - | "s3:Replication:OperationMissedThreshold" - | "s3:Replication:OperationReplicatedAfterThreshold" - | "s3:ObjectRestore:Delete" - | "s3:LifecycleTransition" - | "s3:IntelligentTiering" - | "s3:ObjectAcl:Put" - | "s3:LifecycleExpiration:*" - | "s3:LifecycleExpiration:Delete" - | "s3:LifecycleExpiration:DeleteMarkerCreated" - | "s3:ObjectTagging:*" - | "s3:ObjectTagging:Put" - | "s3:ObjectTagging:Delete"; -export interface EventBridgeConfiguration {} +export type Event = "s3:ReducedRedundancyLostObject" | "s3:ObjectCreated:*" | "s3:ObjectCreated:Put" | "s3:ObjectCreated:Post" | "s3:ObjectCreated:Copy" | "s3:ObjectCreated:CompleteMultipartUpload" | "s3:ObjectRemoved:*" | "s3:ObjectRemoved:Delete" | "s3:ObjectRemoved:DeleteMarkerCreated" | "s3:ObjectRestore:*" | "s3:ObjectRestore:Post" | "s3:ObjectRestore:Completed" | "s3:Replication:*" | "s3:Replication:OperationFailedReplication" | "s3:Replication:OperationNotTracked" | "s3:Replication:OperationMissedThreshold" | "s3:Replication:OperationReplicatedAfterThreshold" | "s3:ObjectRestore:Delete" | "s3:LifecycleTransition" | "s3:IntelligentTiering" | "s3:ObjectAcl:Put" | "s3:LifecycleExpiration:*" | "s3:LifecycleExpiration:Delete" | "s3:LifecycleExpiration:DeleteMarkerCreated" | "s3:ObjectTagging:*" | "s3:ObjectTagging:Put" | "s3:ObjectTagging:Delete"; +export interface EventBridgeConfiguration { +} export type EventList = Array; export interface ExistingObjectReplication { Status: ExistingObjectReplicationStatus; @@ -1559,7 +1783,8 @@ export type ID = string; export declare class IdempotencyParameterMismatch extends EffectData.TaggedError( "IdempotencyParameterMismatch", -)<{}> {} +)<{ +}> {} export type IfMatch = string; export type IfMatchInitiatedTime = Date | string; @@ -1589,9 +1814,7 @@ export interface InputSerialization { JSON?: JSONInput; Parquet?: ParquetInput; } -export type IntelligentTieringAccessTier = - | "ARCHIVE_ACCESS" - | "DEEP_ARCHIVE_ACCESS"; +export type IntelligentTieringAccessTier = "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS"; export interface IntelligentTieringAndOperator { Prefix?: string; Tags?: Array; @@ -1602,8 +1825,7 @@ export interface IntelligentTieringConfiguration { Status: IntelligentTieringStatus; Tierings: Array; } -export type IntelligentTieringConfigurationList = - Array; +export type IntelligentTieringConfigurationList = Array; export type IntelligentTieringDays = number; export interface IntelligentTieringFilter { @@ -1622,10 +1844,12 @@ export declare class InvalidObjectState extends EffectData.TaggedError( }> {} export declare class InvalidRequest extends EffectData.TaggedError( "InvalidRequest", -)<{}> {} +)<{ +}> {} export declare class InvalidWriteOffset extends EffectData.TaggedError( "InvalidWriteOffset", -)<{}> {} +)<{ +}> {} export interface InventoryConfiguration { Destination: InventoryDestination; IsEnabled: boolean; @@ -1652,22 +1876,7 @@ export type InventoryFrequency = "Daily" | "Weekly"; export type InventoryId = string; export type InventoryIncludedObjectVersions = "All" | "Current"; -export type InventoryOptionalField = - | "Size" - | "LastModifiedDate" - | "StorageClass" - | "ETag" - | "IsMultipartUploaded" - | "ReplicationStatus" - | "EncryptionStatus" - | "ObjectLockRetainUntilDate" - | "ObjectLockMode" - | "ObjectLockLegalHoldStatus" - | "IntelligentTieringAccessTier" - | "BucketKeyStatus" - | "ChecksumAlgorithm" - | "ObjectAccessControlList" - | "ObjectOwner"; +export type InventoryOptionalField = "Size" | "LastModifiedDate" | "StorageClass" | "ETag" | "IsMultipartUploaded" | "ReplicationStatus" | "EncryptionStatus" | "ObjectLockRetainUntilDate" | "ObjectLockMode" | "ObjectLockLegalHoldStatus" | "IntelligentTieringAccessTier" | "BucketKeyStatus" | "ChecksumAlgorithm" | "ObjectAccessControlList" | "ObjectOwner"; export type InventoryOptionalFields = Array; export interface InventoryS3BucketDestination { AccountId?: string; @@ -1743,8 +1952,7 @@ export interface LambdaFunctionConfiguration { Events: Array; Filter?: NotificationConfigurationFilter; } -export type LambdaFunctionConfigurationList = - Array; +export type LambdaFunctionConfigurationList = Array; export type LastModified = Date | string; export type LastModifiedTime = Date | string; @@ -2064,11 +2272,7 @@ interface _MetricsFilter { And?: MetricsAndOperator; } -export type MetricsFilter = - | (_MetricsFilter & { Prefix: string }) - | (_MetricsFilter & { Tag: Tag }) - | (_MetricsFilter & { AccessPointArn: string }) - | (_MetricsFilter & { And: MetricsAndOperator }); +export type MetricsFilter = (_MetricsFilter & { Prefix: string }) | (_MetricsFilter & { Tag: Tag }) | (_MetricsFilter & { AccessPointArn: string }) | (_MetricsFilter & { And: MetricsAndOperator }); export type MetricsId = string; export type MetricsStatus = "Enabled" | "Disabled"; @@ -2116,18 +2320,23 @@ export interface NoncurrentVersionTransition { StorageClass?: TransitionStorageClass; NewerNoncurrentVersions?: number; } -export type NoncurrentVersionTransitionList = - Array; +export type NoncurrentVersionTransitionList = Array; export declare class NoSuchBucket extends EffectData.TaggedError( "NoSuchBucket", -)<{}> {} +)<{ +}> {} export declare class NoSuchKey extends EffectData.TaggedError( "NoSuchKey", -)<{}> {} +)<{ +}> {} export declare class NoSuchUpload extends EffectData.TaggedError( "NoSuchUpload", -)<{}> {} -export declare class NotFound extends EffectData.TaggedError("NotFound")<{}> {} +)<{ +}> {} +export declare class NotFound extends EffectData.TaggedError( + "NotFound", +)<{ +}> {} export interface NotificationConfiguration { TopicConfigurations?: Array; QueueConfigurations?: Array; @@ -2152,22 +2361,11 @@ export interface S3Object { } export declare class ObjectAlreadyInActiveTierError extends EffectData.TaggedError( "ObjectAlreadyInActiveTierError", -)<{}> {} -export type ObjectAttributes = - | "ETag" - | "Checksum" - | "ObjectParts" - | "StorageClass" - | "ObjectSize"; +)<{ +}> {} +export type ObjectAttributes = "ETag" | "Checksum" | "ObjectParts" | "StorageClass" | "ObjectSize"; export type ObjectAttributesList = Array; -export type ObjectCannedACL = - | "private" - | "public-read" - | "public-read-write" - | "authenticated-read" - | "aws-exec-read" - | "bucket-owner-read" - | "bucket-owner-full-control"; +export type ObjectCannedACL = "private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"; export interface ObjectIdentifier { Key: string; VersionId?: string; @@ -2205,11 +2403,9 @@ export type ObjectLockToken = string; export declare class ObjectNotInActiveTierError extends EffectData.TaggedError( "ObjectNotInActiveTierError", -)<{}> {} -export type ObjectOwnership = - | "BucketOwnerPreferred" - | "ObjectWriter" - | "BucketOwnerEnforced"; +)<{ +}> {} +export type ObjectOwnership = "BucketOwnerPreferred" | "ObjectWriter" | "BucketOwnerEnforced"; export interface ObjectPart { PartNumber?: number; Size?: number; @@ -2225,19 +2421,7 @@ export type ObjectSizeGreaterThanBytes = number; export type ObjectSizeLessThanBytes = number; -export type ObjectStorageClass = - | "STANDARD" - | "REDUCED_REDUNDANCY" - | "GLACIER" - | "STANDARD_IA" - | "ONEZONE_IA" - | "INTELLIGENT_TIERING" - | "DEEP_ARCHIVE" - | "OUTPOSTS" - | "GLACIER_IR" - | "SNOW" - | "EXPRESS_ONEZONE" - | "FSX_OPENZFS"; +export type ObjectStorageClass = "STANDARD" | "REDUCED_REDUNDANCY" | "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"; export interface ObjectVersion { ETag?: string; ChecksumAlgorithm?: Array; @@ -2276,7 +2460,8 @@ export interface OwnershipControlsRule { ObjectOwnership: ObjectOwnership; } export type OwnershipControlsRules = Array; -export interface ParquetInput {} +export interface ParquetInput { +} export interface Part { PartNumber?: number; LastModified?: Date | string; @@ -2301,12 +2486,7 @@ export type PartsCount = number; export type PartsList = Array; export type Payer = "Requester" | "BucketOwner"; -export type Permission = - | "FULL_CONTROL" - | "WRITE" - | "WRITE_ACP" - | "READ" - | "READ_ACP"; +export type Permission = "FULL_CONTROL" | "WRITE" | "WRITE_ACP" | "READ" | "READ_ACP"; export type Policy = string; export interface PolicyStatus { @@ -2645,7 +2825,8 @@ export interface RedirectAllRequestsTo { } export type Region = string; -export interface RenameObjectOutput {} +export interface RenameObjectOutput { +} export interface RenameObjectRequest { Bucket: string; Key: string; @@ -2706,12 +2887,7 @@ export interface ReplicationRuleFilter { } export type ReplicationRules = Array; export type ReplicationRuleStatus = "Enabled" | "Disabled"; -export type ReplicationStatus = - | "COMPLETE" - | "PENDING" - | "FAILED" - | "REPLICA" - | "COMPLETED"; +export type ReplicationStatus = "COMPLETE" | "PENDING" | "FAILED" | "REPLICA" | "COMPLETED"; export interface ReplicationTime { Status: ReplicationTimeStatus; Time: ReplicationTimeValue; @@ -2830,12 +3006,7 @@ interface _SelectObjectContentEventStream { End?: EndEvent; } -export type SelectObjectContentEventStream = - | (_SelectObjectContentEventStream & { Records: RecordsEvent }) - | (_SelectObjectContentEventStream & { Stats: StatsEvent }) - | (_SelectObjectContentEventStream & { Progress: ProgressEvent }) - | (_SelectObjectContentEventStream & { Cont: ContinuationEvent }) - | (_SelectObjectContentEventStream & { End: EndEvent }); +export type SelectObjectContentEventStream = (_SelectObjectContentEventStream & { Records: RecordsEvent }) | (_SelectObjectContentEventStream & { Stats: StatsEvent }) | (_SelectObjectContentEventStream & { Progress: ProgressEvent }) | (_SelectObjectContentEventStream & { Cont: ContinuationEvent }) | (_SelectObjectContentEventStream & { End: EndEvent }); export interface SelectObjectContentOutput { Payload?: SelectObjectContentEventStream; } @@ -2859,11 +3030,7 @@ export interface SelectParameters { Expression: string; OutputSerialization: OutputSerialization; } -export type ServerSideEncryption = - | "AES256" - | "aws:fsx" - | "aws:kms" - | "aws:kms:dsse"; +export type ServerSideEncryption = "AES256" | "aws:fsx" | "aws:kms" | "aws:kms:dsse"; export interface ServerSideEncryptionByDefault { SSEAlgorithm: ServerSideEncryption; KMSMasterKeyID?: string; @@ -2889,7 +3056,8 @@ export type SessionExpiration = Date | string; export type SessionMode = "ReadOnly" | "ReadWrite"; export type Setting = boolean; -export interface SimplePrefix {} +export interface SimplePrefix { +} export type Size = number; export type SkipValidation = boolean; @@ -2915,7 +3083,8 @@ export type SSEKMSEncryptionContext = string; export type SSEKMSKeyId = string; -export interface SSES3 {} +export interface SSES3 { +} export type Start = number; export type StartAfter = string; @@ -2928,19 +3097,7 @@ export interface Stats { export interface StatsEvent { Details?: Stats; } -export type StorageClass = - | "STANDARD" - | "REDUCED_REDUNDANCY" - | "STANDARD_IA" - | "ONEZONE_IA" - | "INTELLIGENT_TIERING" - | "GLACIER" - | "DEEP_ARCHIVE" - | "OUTPOSTS" - | "GLACIER_IR" - | "SNOW" - | "EXPRESS_ONEZONE" - | "FSX_OPENZFS"; +export type StorageClass = "STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE" | "FSX_OPENZFS"; export interface StorageClassAnalysis { DataExport?: StorageClassAnalysisDataExport; } @@ -2990,7 +3147,8 @@ export type Token = string; export declare class TooManyParts extends EffectData.TaggedError( "TooManyParts", -)<{}> {} +)<{ +}> {} export type TopicArn = string; export interface TopicConfiguration { @@ -3005,17 +3163,9 @@ export interface Transition { Days?: number; StorageClass?: TransitionStorageClass; } -export type TransitionDefaultMinimumObjectSize = - | "varies_by_storage_class" - | "all_storage_classes_128K"; +export type TransitionDefaultMinimumObjectSize = "varies_by_storage_class" | "all_storage_classes_128K"; export type TransitionList = Array; -export type TransitionStorageClass = - | "GLACIER" - | "STANDARD_IA" - | "ONEZONE_IA" - | "INTELLIGENT_TIERING" - | "DEEP_ARCHIVE" - | "GLACIER_IR"; +export type TransitionStorageClass = "GLACIER" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "DEEP_ARCHIVE" | "GLACIER_IR"; export type Type = "CanonicalUser" | "AmazonCustomerByEmail" | "Group"; export interface UpdateBucketMetadataInventoryTableConfigurationRequest { Bucket: string; @@ -3169,19 +3319,24 @@ export type Years = number; export declare namespace AbortMultipartUpload { export type Input = AbortMultipartUploadRequest; export type Output = AbortMultipartUploadOutput; - export type Error = NoSuchUpload | CommonAwsError; + export type Error = + | NoSuchUpload + | CommonAwsError; } export declare namespace CompleteMultipartUpload { export type Input = CompleteMultipartUploadRequest; export type Output = CompleteMultipartUploadOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CopyObject { export type Input = CopyObjectRequest; export type Output = CopyObjectOutput; - export type Error = ObjectNotInActiveTierError | CommonAwsError; + export type Error = + | ObjectNotInActiveTierError + | CommonAwsError; } export declare namespace CreateBucket { @@ -3196,511 +3351,605 @@ export declare namespace CreateBucket { export declare namespace CreateBucketMetadataConfiguration { export type Input = CreateBucketMetadataConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateBucketMetadataTableConfiguration { export type Input = CreateBucketMetadataTableConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateMultipartUpload { export type Input = CreateMultipartUploadRequest; export type Output = CreateMultipartUploadOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateSession { export type Input = CreateSessionRequest; export type Output = CreateSessionOutput; - export type Error = NoSuchBucket | CommonAwsError; + export type Error = + | NoSuchBucket + | CommonAwsError; } export declare namespace DeleteBucket { export type Input = DeleteBucketRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketAnalyticsConfiguration { export type Input = DeleteBucketAnalyticsConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketCors { export type Input = DeleteBucketCorsRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketEncryption { export type Input = DeleteBucketEncryptionRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketIntelligentTieringConfiguration { export type Input = DeleteBucketIntelligentTieringConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketInventoryConfiguration { export type Input = DeleteBucketInventoryConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketLifecycle { export type Input = DeleteBucketLifecycleRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketMetadataConfiguration { export type Input = DeleteBucketMetadataConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketMetadataTableConfiguration { export type Input = DeleteBucketMetadataTableConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketMetricsConfiguration { export type Input = DeleteBucketMetricsConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketOwnershipControls { export type Input = DeleteBucketOwnershipControlsRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketPolicy { export type Input = DeleteBucketPolicyRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketReplication { export type Input = DeleteBucketReplicationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketTagging { export type Input = DeleteBucketTaggingRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteBucketWebsite { export type Input = DeleteBucketWebsiteRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteObject { export type Input = DeleteObjectRequest; export type Output = DeleteObjectOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteObjects { export type Input = DeleteObjectsRequest; export type Output = DeleteObjectsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteObjectTagging { export type Input = DeleteObjectTaggingRequest; export type Output = DeleteObjectTaggingOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeletePublicAccessBlock { export type Input = DeletePublicAccessBlockRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketAccelerateConfiguration { export type Input = GetBucketAccelerateConfigurationRequest; export type Output = GetBucketAccelerateConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketAcl { export type Input = GetBucketAclRequest; export type Output = GetBucketAclOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketAnalyticsConfiguration { export type Input = GetBucketAnalyticsConfigurationRequest; export type Output = GetBucketAnalyticsConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketCors { export type Input = GetBucketCorsRequest; export type Output = GetBucketCorsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketEncryption { export type Input = GetBucketEncryptionRequest; export type Output = GetBucketEncryptionOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketIntelligentTieringConfiguration { export type Input = GetBucketIntelligentTieringConfigurationRequest; export type Output = GetBucketIntelligentTieringConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketInventoryConfiguration { export type Input = GetBucketInventoryConfigurationRequest; export type Output = GetBucketInventoryConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketLifecycleConfiguration { export type Input = GetBucketLifecycleConfigurationRequest; export type Output = GetBucketLifecycleConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketLocation { export type Input = GetBucketLocationRequest; export type Output = GetBucketLocationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketLogging { export type Input = GetBucketLoggingRequest; export type Output = GetBucketLoggingOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketMetadataConfiguration { export type Input = GetBucketMetadataConfigurationRequest; export type Output = GetBucketMetadataConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketMetadataTableConfiguration { export type Input = GetBucketMetadataTableConfigurationRequest; export type Output = GetBucketMetadataTableConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketMetricsConfiguration { export type Input = GetBucketMetricsConfigurationRequest; export type Output = GetBucketMetricsConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketNotificationConfiguration { export type Input = GetBucketNotificationConfigurationRequest; export type Output = NotificationConfiguration; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketOwnershipControls { export type Input = GetBucketOwnershipControlsRequest; export type Output = GetBucketOwnershipControlsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketPolicy { export type Input = GetBucketPolicyRequest; export type Output = GetBucketPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketPolicyStatus { export type Input = GetBucketPolicyStatusRequest; export type Output = GetBucketPolicyStatusOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketReplication { export type Input = GetBucketReplicationRequest; export type Output = GetBucketReplicationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketRequestPayment { export type Input = GetBucketRequestPaymentRequest; export type Output = GetBucketRequestPaymentOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketTagging { export type Input = GetBucketTaggingRequest; export type Output = GetBucketTaggingOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketVersioning { export type Input = GetBucketVersioningRequest; export type Output = GetBucketVersioningOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetBucketWebsite { export type Input = GetBucketWebsiteRequest; export type Output = GetBucketWebsiteOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetObject { export type Input = GetObjectRequest; export type Output = GetObjectOutput; - export type Error = InvalidObjectState | NoSuchKey | CommonAwsError; + export type Error = + | InvalidObjectState + | NoSuchKey + | CommonAwsError; } export declare namespace GetObjectAcl { export type Input = GetObjectAclRequest; export type Output = GetObjectAclOutput; - export type Error = NoSuchKey | CommonAwsError; + export type Error = + | NoSuchKey + | CommonAwsError; } export declare namespace GetObjectAttributes { export type Input = GetObjectAttributesRequest; export type Output = GetObjectAttributesOutput; - export type Error = NoSuchKey | CommonAwsError; + export type Error = + | NoSuchKey + | CommonAwsError; } export declare namespace GetObjectLegalHold { export type Input = GetObjectLegalHoldRequest; export type Output = GetObjectLegalHoldOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetObjectLockConfiguration { export type Input = GetObjectLockConfigurationRequest; export type Output = GetObjectLockConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetObjectRetention { export type Input = GetObjectRetentionRequest; export type Output = GetObjectRetentionOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetObjectTagging { export type Input = GetObjectTaggingRequest; export type Output = GetObjectTaggingOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetObjectTorrent { export type Input = GetObjectTorrentRequest; export type Output = GetObjectTorrentOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetPublicAccessBlock { export type Input = GetPublicAccessBlockRequest; export type Output = GetPublicAccessBlockOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace HeadBucket { export type Input = HeadBucketRequest; export type Output = HeadBucketOutput; - export type Error = NotFound | CommonAwsError; + export type Error = + | NotFound + | CommonAwsError; } export declare namespace HeadObject { export type Input = HeadObjectRequest; export type Output = HeadObjectOutput; - export type Error = NotFound | CommonAwsError; + export type Error = + | NotFound + | CommonAwsError; } export declare namespace ListBucketAnalyticsConfigurations { export type Input = ListBucketAnalyticsConfigurationsRequest; export type Output = ListBucketAnalyticsConfigurationsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListBucketIntelligentTieringConfigurations { export type Input = ListBucketIntelligentTieringConfigurationsRequest; export type Output = ListBucketIntelligentTieringConfigurationsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListBucketInventoryConfigurations { export type Input = ListBucketInventoryConfigurationsRequest; export type Output = ListBucketInventoryConfigurationsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListBucketMetricsConfigurations { export type Input = ListBucketMetricsConfigurationsRequest; export type Output = ListBucketMetricsConfigurationsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListBuckets { export type Input = ListBucketsRequest; export type Output = ListBucketsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListDirectoryBuckets { export type Input = ListDirectoryBucketsRequest; export type Output = ListDirectoryBucketsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListMultipartUploads { export type Input = ListMultipartUploadsRequest; export type Output = ListMultipartUploadsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListObjects { export type Input = ListObjectsRequest; export type Output = ListObjectsOutput; - export type Error = NoSuchBucket | CommonAwsError; + export type Error = + | NoSuchBucket + | CommonAwsError; } export declare namespace ListObjectsV2 { export type Input = ListObjectsV2Request; export type Output = ListObjectsV2Output; - export type Error = NoSuchBucket | CommonAwsError; + export type Error = + | NoSuchBucket + | CommonAwsError; } export declare namespace ListObjectVersions { export type Input = ListObjectVersionsRequest; export type Output = ListObjectVersionsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListParts { export type Input = ListPartsRequest; export type Output = ListPartsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketAccelerateConfiguration { export type Input = PutBucketAccelerateConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketAcl { export type Input = PutBucketAclRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketAnalyticsConfiguration { export type Input = PutBucketAnalyticsConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketCors { export type Input = PutBucketCorsRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketEncryption { export type Input = PutBucketEncryptionRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketIntelligentTieringConfiguration { export type Input = PutBucketIntelligentTieringConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketInventoryConfiguration { export type Input = PutBucketInventoryConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketLifecycleConfiguration { export type Input = PutBucketLifecycleConfigurationRequest; export type Output = PutBucketLifecycleConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketLogging { export type Input = PutBucketLoggingRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketMetricsConfiguration { export type Input = PutBucketMetricsConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketNotificationConfiguration { export type Input = PutBucketNotificationConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketOwnershipControls { export type Input = PutBucketOwnershipControlsRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketPolicy { export type Input = PutBucketPolicyRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketReplication { export type Input = PutBucketReplicationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketRequestPayment { export type Input = PutBucketRequestPaymentRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketTagging { export type Input = PutBucketTaggingRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketVersioning { export type Input = PutBucketVersioningRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutBucketWebsite { export type Input = PutBucketWebsiteRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutObject { @@ -3717,100 +3966,103 @@ export declare namespace PutObject { export declare namespace PutObjectAcl { export type Input = PutObjectAclRequest; export type Output = PutObjectAclOutput; - export type Error = NoSuchKey | CommonAwsError; + export type Error = + | NoSuchKey + | CommonAwsError; } export declare namespace PutObjectLegalHold { export type Input = PutObjectLegalHoldRequest; export type Output = PutObjectLegalHoldOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutObjectLockConfiguration { export type Input = PutObjectLockConfigurationRequest; export type Output = PutObjectLockConfigurationOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutObjectRetention { export type Input = PutObjectRetentionRequest; export type Output = PutObjectRetentionOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutObjectTagging { export type Input = PutObjectTaggingRequest; export type Output = PutObjectTaggingOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutPublicAccessBlock { export type Input = PutPublicAccessBlockRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace RenameObject { export type Input = RenameObjectRequest; export type Output = RenameObjectOutput; - export type Error = IdempotencyParameterMismatch | CommonAwsError; + export type Error = + | IdempotencyParameterMismatch + | CommonAwsError; } export declare namespace RestoreObject { export type Input = RestoreObjectRequest; export type Output = RestoreObjectOutput; - export type Error = ObjectAlreadyInActiveTierError | CommonAwsError; + export type Error = + | ObjectAlreadyInActiveTierError + | CommonAwsError; } export declare namespace SelectObjectContent { export type Input = SelectObjectContentRequest; export type Output = SelectObjectContentOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateBucketMetadataInventoryTableConfiguration { export type Input = UpdateBucketMetadataInventoryTableConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateBucketMetadataJournalTableConfiguration { export type Input = UpdateBucketMetadataJournalTableConfigurationRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UploadPart { export type Input = UploadPartRequest; export type Output = UploadPartOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UploadPartCopy { export type Input = UploadPartCopyRequest; export type Output = UploadPartCopyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace WriteGetObjectResponse { export type Input = WriteGetObjectResponseRequest; export type Output = {}; - export type Error = CommonAwsError; -} - -export type S3Errors = - | BucketAlreadyExists - | BucketAlreadyOwnedByYou - | EncryptionTypeMismatch - | IdempotencyParameterMismatch - | InvalidObjectState - | InvalidRequest - | InvalidWriteOffset - | NoSuchBucket - | NoSuchKey - | NoSuchUpload - | NotFound - | ObjectAlreadyInActiveTierError - | ObjectNotInActiveTierError - | TooManyParts - | CommonAwsError; + export type Error = + | CommonAwsError; +} + +export type S3Errors = BucketAlreadyExists | BucketAlreadyOwnedByYou | EncryptionTypeMismatch | IdempotencyParameterMismatch | InvalidObjectState | InvalidRequest | InvalidWriteOffset | NoSuchBucket | NoSuchKey | NoSuchUpload | NotFound | ObjectAlreadyInActiveTierError | ObjectNotInActiveTierError | TooManyParts | CommonAwsError; + diff --git a/src/services/s3outposts/index.ts b/src/services/s3outposts/index.ts index c3489e67..cffcdbc3 100644 --- a/src/services/s3outposts/index.ts +++ b/src/services/s3outposts/index.ts @@ -5,23 +5,7 @@ import type { S3Outposts as _S3OutpostsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,11 +15,11 @@ const metadata = { sigV4ServiceName: "s3-outposts", endpointPrefix: "s3-outposts", operations: { - CreateEndpoint: "POST /S3Outposts/CreateEndpoint", - DeleteEndpoint: "DELETE /S3Outposts/DeleteEndpoint", - ListEndpoints: "GET /S3Outposts/ListEndpoints", - ListOutpostsWithS3: "GET /S3Outposts/ListOutpostsWithS3", - ListSharedEndpoints: "GET /S3Outposts/ListSharedEndpoints", + "CreateEndpoint": "POST /S3Outposts/CreateEndpoint", + "DeleteEndpoint": "DELETE /S3Outposts/DeleteEndpoint", + "ListEndpoints": "GET /S3Outposts/ListEndpoints", + "ListOutpostsWithS3": "GET /S3Outposts/ListOutpostsWithS3", + "ListSharedEndpoints": "GET /S3Outposts/ListSharedEndpoints", }, } as const satisfies ServiceMetadata; diff --git a/src/services/s3outposts/types.ts b/src/services/s3outposts/types.ts index 72c03863..09e82a5a 100644 --- a/src/services/s3outposts/types.ts +++ b/src/services/s3outposts/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class S3Outposts extends AWSServiceClient { @@ -40,58 +8,31 @@ export declare class S3Outposts extends AWSServiceClient { input: CreateEndpointRequest, ): Effect.Effect< CreateEndpointResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | OutpostOfflineException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | OutpostOfflineException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEndpoint( input: DeleteEndpointRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | OutpostOfflineException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | OutpostOfflineException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEndpoints( input: ListEndpointsRequest, ): Effect.Effect< ListEndpointsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listOutpostsWithS3( input: ListOutpostsWithS3Request, ): Effect.Effect< ListOutpostsWithS3Result, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSharedEndpoints( input: ListSharedEndpointsRequest, ): Effect.Effect< ListSharedEndpointsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -151,12 +92,7 @@ export type EndpointArn = string; export type EndpointId = string; export type Endpoints = Array; -export type EndpointStatus = - | "Pending" - | "Available" - | "Deleting" - | "Create_Failed" - | "Delete_Failed"; +export type EndpointStatus = "Pending" | "Available" | "Deleting" | "Create_Failed" | "Delete_Failed"; export type ErrorCode = string; export type ErrorMessage = string; @@ -309,12 +245,5 @@ export declare namespace ListSharedEndpoints { | CommonAwsError; } -export type S3OutpostsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | OutpostOfflineException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type S3OutpostsErrors = AccessDeniedException | ConflictException | InternalServerException | OutpostOfflineException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/s3tables/index.ts b/src/services/s3tables/index.ts index 254a650e..cd0a2709 100644 --- a/src/services/s3tables/index.ts +++ b/src/services/s3tables/index.ts @@ -5,25 +5,7 @@ import type { S3Tables as _S3TablesClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,45 +14,36 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "s3tables", operations: { - CreateNamespace: "PUT /namespaces/{tableBucketARN}", - CreateTable: "PUT /tables/{tableBucketARN}/{namespace}", - CreateTableBucket: "PUT /buckets", - DeleteNamespace: "DELETE /namespaces/{tableBucketARN}/{namespace}", - DeleteTable: "DELETE /tables/{tableBucketARN}/{namespace}/{name}", - DeleteTableBucket: "DELETE /buckets/{tableBucketARN}", - DeleteTableBucketEncryption: "DELETE /buckets/{tableBucketARN}/encryption", - DeleteTableBucketPolicy: "DELETE /buckets/{tableBucketARN}/policy", - DeleteTablePolicy: - "DELETE /tables/{tableBucketARN}/{namespace}/{name}/policy", - GetNamespace: "GET /namespaces/{tableBucketARN}/{namespace}", - GetTable: "GET /get-table", - GetTableBucket: "GET /buckets/{tableBucketARN}", - GetTableBucketEncryption: "GET /buckets/{tableBucketARN}/encryption", - GetTableBucketMaintenanceConfiguration: - "GET /buckets/{tableBucketARN}/maintenance", - GetTableBucketPolicy: "GET /buckets/{tableBucketARN}/policy", - GetTableEncryption: - "GET /tables/{tableBucketARN}/{namespace}/{name}/encryption", - GetTableMaintenanceConfiguration: - "GET /tables/{tableBucketARN}/{namespace}/{name}/maintenance", - GetTableMaintenanceJobStatus: - "GET /tables/{tableBucketARN}/{namespace}/{name}/maintenance-job-status", - GetTableMetadataLocation: - "GET /tables/{tableBucketARN}/{namespace}/{name}/metadata-location", - GetTablePolicy: "GET /tables/{tableBucketARN}/{namespace}/{name}/policy", - ListNamespaces: "GET /namespaces/{tableBucketARN}", - ListTableBuckets: "GET /buckets", - ListTables: "GET /tables/{tableBucketARN}", - PutTableBucketEncryption: "PUT /buckets/{tableBucketARN}/encryption", - PutTableBucketMaintenanceConfiguration: - "PUT /buckets/{tableBucketARN}/maintenance/{type}", - PutTableBucketPolicy: "PUT /buckets/{tableBucketARN}/policy", - PutTableMaintenanceConfiguration: - "PUT /tables/{tableBucketARN}/{namespace}/{name}/maintenance/{type}", - PutTablePolicy: "PUT /tables/{tableBucketARN}/{namespace}/{name}/policy", - RenameTable: "PUT /tables/{tableBucketARN}/{namespace}/{name}/rename", - UpdateTableMetadataLocation: - "PUT /tables/{tableBucketARN}/{namespace}/{name}/metadata-location", + "CreateNamespace": "PUT /namespaces/{tableBucketARN}", + "CreateTable": "PUT /tables/{tableBucketARN}/{namespace}", + "CreateTableBucket": "PUT /buckets", + "DeleteNamespace": "DELETE /namespaces/{tableBucketARN}/{namespace}", + "DeleteTable": "DELETE /tables/{tableBucketARN}/{namespace}/{name}", + "DeleteTableBucket": "DELETE /buckets/{tableBucketARN}", + "DeleteTableBucketEncryption": "DELETE /buckets/{tableBucketARN}/encryption", + "DeleteTableBucketPolicy": "DELETE /buckets/{tableBucketARN}/policy", + "DeleteTablePolicy": "DELETE /tables/{tableBucketARN}/{namespace}/{name}/policy", + "GetNamespace": "GET /namespaces/{tableBucketARN}/{namespace}", + "GetTable": "GET /get-table", + "GetTableBucket": "GET /buckets/{tableBucketARN}", + "GetTableBucketEncryption": "GET /buckets/{tableBucketARN}/encryption", + "GetTableBucketMaintenanceConfiguration": "GET /buckets/{tableBucketARN}/maintenance", + "GetTableBucketPolicy": "GET /buckets/{tableBucketARN}/policy", + "GetTableEncryption": "GET /tables/{tableBucketARN}/{namespace}/{name}/encryption", + "GetTableMaintenanceConfiguration": "GET /tables/{tableBucketARN}/{namespace}/{name}/maintenance", + "GetTableMaintenanceJobStatus": "GET /tables/{tableBucketARN}/{namespace}/{name}/maintenance-job-status", + "GetTableMetadataLocation": "GET /tables/{tableBucketARN}/{namespace}/{name}/metadata-location", + "GetTablePolicy": "GET /tables/{tableBucketARN}/{namespace}/{name}/policy", + "ListNamespaces": "GET /namespaces/{tableBucketARN}", + "ListTableBuckets": "GET /buckets", + "ListTables": "GET /tables/{tableBucketARN}", + "PutTableBucketEncryption": "PUT /buckets/{tableBucketARN}/encryption", + "PutTableBucketMaintenanceConfiguration": "PUT /buckets/{tableBucketARN}/maintenance/{type}", + "PutTableBucketPolicy": "PUT /buckets/{tableBucketARN}/policy", + "PutTableMaintenanceConfiguration": "PUT /tables/{tableBucketARN}/{namespace}/{name}/maintenance/{type}", + "PutTablePolicy": "PUT /tables/{tableBucketARN}/{namespace}/{name}/policy", + "RenameTable": "PUT /tables/{tableBucketARN}/{namespace}/{name}/rename", + "UpdateTableMetadataLocation": "PUT /tables/{tableBucketARN}/{namespace}/{name}/metadata-location", }, } as const satisfies ServiceMetadata; diff --git a/src/services/s3tables/types.ts b/src/services/s3tables/types.ts index 5602bd8b..17744fd8 100644 --- a/src/services/s3tables/types.ts +++ b/src/services/s3tables/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class S3Tables extends AWSServiceClient { @@ -42,366 +8,181 @@ export declare class S3Tables extends AWSServiceClient { input: CreateNamespaceRequest, ): Effect.Effect< CreateNamespaceResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; createTable( input: CreateTableRequest, ): Effect.Effect< CreateTableResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; createTableBucket( input: CreateTableBucketRequest, ): Effect.Effect< CreateTableBucketResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteNamespace( input: DeleteNamespaceRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteTable( input: DeleteTableRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteTableBucket( input: DeleteTableBucketRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteTableBucketEncryption( input: DeleteTableBucketEncryptionRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteTableBucketPolicy( input: DeleteTableBucketPolicyRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteTablePolicy( input: DeleteTablePolicyRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getNamespace( input: GetNamespaceRequest, ): Effect.Effect< GetNamespaceResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTable( input: GetTableRequest, ): Effect.Effect< GetTableResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTableBucket( input: GetTableBucketRequest, ): Effect.Effect< GetTableBucketResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTableBucketEncryption( input: GetTableBucketEncryptionRequest, ): Effect.Effect< GetTableBucketEncryptionResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTableBucketMaintenanceConfiguration( input: GetTableBucketMaintenanceConfigurationRequest, ): Effect.Effect< GetTableBucketMaintenanceConfigurationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTableBucketPolicy( input: GetTableBucketPolicyRequest, ): Effect.Effect< GetTableBucketPolicyResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTableEncryption( input: GetTableEncryptionRequest, ): Effect.Effect< GetTableEncryptionResponse, - | AccessDeniedException - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTableMaintenanceConfiguration( input: GetTableMaintenanceConfigurationRequest, ): Effect.Effect< GetTableMaintenanceConfigurationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTableMaintenanceJobStatus( input: GetTableMaintenanceJobStatusRequest, ): Effect.Effect< GetTableMaintenanceJobStatusResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTableMetadataLocation( input: GetTableMetadataLocationRequest, ): Effect.Effect< GetTableMetadataLocationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTablePolicy( input: GetTablePolicyRequest, ): Effect.Effect< GetTablePolicyResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listNamespaces( input: ListNamespacesRequest, ): Effect.Effect< ListNamespacesResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listTableBuckets( input: ListTableBucketsRequest, ): Effect.Effect< ListTableBucketsResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listTables( input: ListTablesRequest, ): Effect.Effect< ListTablesResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; putTableBucketEncryption( input: PutTableBucketEncryptionRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; putTableBucketMaintenanceConfiguration( input: PutTableBucketMaintenanceConfigurationRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; putTableBucketPolicy( input: PutTableBucketPolicyRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; putTableMaintenanceConfiguration( input: PutTableMaintenanceConfigurationRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; putTablePolicy( input: PutTablePolicyRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; renameTable( input: RenameTableRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateTableMetadataLocation( input: UpdateTableMetadataLocationRequest, ): Effect.Effect< UpdateTableMetadataLocationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -734,10 +515,7 @@ export type TableBucketARN = string; export type TableBucketId = string; -export type TableBucketMaintenanceConfiguration = Record< - TableBucketMaintenanceType, - TableBucketMaintenanceConfigurationValue ->; +export type TableBucketMaintenanceConfiguration = Record; export interface TableBucketMaintenanceConfigurationValue { status?: MaintenanceStatus; settings?: TableBucketMaintenanceSettings; @@ -746,9 +524,7 @@ interface _TableBucketMaintenanceSettings { icebergUnreferencedFileRemoval?: IcebergUnreferencedFileRemovalSettings; } -export type TableBucketMaintenanceSettings = _TableBucketMaintenanceSettings & { - icebergUnreferencedFileRemoval: IcebergUnreferencedFileRemovalSettings; -}; +export type TableBucketMaintenanceSettings = (_TableBucketMaintenanceSettings & { icebergUnreferencedFileRemoval: IcebergUnreferencedFileRemovalSettings }); export type TableBucketMaintenanceType = "icebergUnreferencedFileRemoval"; export type TableBucketName = string; @@ -762,47 +538,30 @@ export interface TableBucketSummary { } export type TableBucketSummaryList = Array; export type TableBucketType = "customer" | "aws"; -export type TableMaintenanceConfiguration = Record< - TableMaintenanceType, - TableMaintenanceConfigurationValue ->; +export type TableMaintenanceConfiguration = Record; export interface TableMaintenanceConfigurationValue { status?: MaintenanceStatus; settings?: TableMaintenanceSettings; } -export type TableMaintenanceJobStatus = Record< - TableMaintenanceJobType, - TableMaintenanceJobStatusValue ->; +export type TableMaintenanceJobStatus = Record; export interface TableMaintenanceJobStatusValue { status: JobStatus; lastRunTimestamp?: Date | string; failureMessage?: string; } -export type TableMaintenanceJobType = - | "icebergCompaction" - | "icebergSnapshotManagement" - | "icebergUnreferencedFileRemoval"; +export type TableMaintenanceJobType = "icebergCompaction" | "icebergSnapshotManagement" | "icebergUnreferencedFileRemoval"; interface _TableMaintenanceSettings { icebergCompaction?: IcebergCompactionSettings; icebergSnapshotManagement?: IcebergSnapshotManagementSettings; } -export type TableMaintenanceSettings = - | (_TableMaintenanceSettings & { - icebergCompaction: IcebergCompactionSettings; - }) - | (_TableMaintenanceSettings & { - icebergSnapshotManagement: IcebergSnapshotManagementSettings; - }); -export type TableMaintenanceType = - | "icebergCompaction" - | "icebergSnapshotManagement"; +export type TableMaintenanceSettings = (_TableMaintenanceSettings & { icebergCompaction: IcebergCompactionSettings }) | (_TableMaintenanceSettings & { icebergSnapshotManagement: IcebergSnapshotManagementSettings }); +export type TableMaintenanceType = "icebergCompaction" | "icebergSnapshotManagement"; interface _TableMetadata { iceberg?: IcebergMetadata; } -export type TableMetadata = _TableMetadata & { iceberg: IcebergMetadata }; +export type TableMetadata = (_TableMetadata & { iceberg: IcebergMetadata }); export type TableName = string; export interface TableSummary { @@ -1235,12 +994,5 @@ export declare namespace UpdateTableMetadataLocation { | CommonAwsError; } -export type S3TablesErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError; +export type S3TablesErrors = AccessDeniedException | BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/s3vectors/index.ts b/src/services/s3vectors/index.ts index 046a6341..688da4e2 100644 --- a/src/services/s3vectors/index.ts +++ b/src/services/s3vectors/index.ts @@ -5,24 +5,7 @@ import type { S3Vectors as _S3VectorsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,22 +15,25 @@ const metadata = { sigV4ServiceName: "s3vectors", endpointPrefix: "s3vectors", operations: { - CreateIndex: "POST /CreateIndex", - CreateVectorBucket: "POST /CreateVectorBucket", - DeleteIndex: "POST /DeleteIndex", - DeleteVectorBucket: "POST /DeleteVectorBucket", - DeleteVectorBucketPolicy: "POST /DeleteVectorBucketPolicy", - DeleteVectors: "POST /DeleteVectors", - GetIndex: "POST /GetIndex", - GetVectorBucket: "POST /GetVectorBucket", - GetVectorBucketPolicy: "POST /GetVectorBucketPolicy", - GetVectors: "POST /GetVectors", - ListIndexes: "POST /ListIndexes", - ListVectorBuckets: "POST /ListVectorBuckets", - ListVectors: "POST /ListVectors", - PutVectorBucketPolicy: "POST /PutVectorBucketPolicy", - PutVectors: "POST /PutVectors", - QueryVectors: "POST /QueryVectors", + "CreateIndex": "POST /CreateIndex", + "CreateVectorBucket": "POST /CreateVectorBucket", + "DeleteIndex": "POST /DeleteIndex", + "DeleteVectorBucket": "POST /DeleteVectorBucket", + "DeleteVectorBucketPolicy": "POST /DeleteVectorBucketPolicy", + "DeleteVectors": "POST /DeleteVectors", + "GetIndex": "POST /GetIndex", + "GetVectorBucket": "POST /GetVectorBucket", + "GetVectorBucketPolicy": "POST /GetVectorBucketPolicy", + "GetVectors": "POST /GetVectors", + "ListIndexes": "POST /ListIndexes", + "ListVectorBuckets": "POST /ListVectorBuckets", + "ListVectors": "POST /ListVectors", + "PutVectorBucketPolicy": "POST /PutVectorBucketPolicy", + "PutVectors": "POST /PutVectors", + "QueryVectors": "POST /QueryVectors", + }, + retryableErrors: { + "ServiceUnavailableException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/s3vectors/types.ts b/src/services/s3vectors/types.ts index 19be1d40..138da157 100644 --- a/src/services/s3vectors/types.ts +++ b/src/services/s3vectors/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class S3Vectors extends AWSServiceClient { @@ -41,10 +8,7 @@ export declare class S3Vectors extends AWSServiceClient { input: CreateIndexInput, ): Effect.Effect< CreateIndexOutput, - | ConflictException - | NotFoundException - | ServiceUnavailableException - | CommonAwsError + ConflictException | NotFoundException | ServiceUnavailableException | CommonAwsError >; createVectorBucket( input: CreateVectorBucketInput, @@ -74,14 +38,7 @@ export declare class S3Vectors extends AWSServiceClient { input: DeleteVectorsInput, ): Effect.Effect< DeleteVectorsOutput, - | AccessDeniedException - | KmsDisabledException - | KmsInvalidKeyUsageException - | KmsInvalidStateException - | KmsNotFoundException - | NotFoundException - | ServiceUnavailableException - | CommonAwsError + AccessDeniedException | KmsDisabledException | KmsInvalidKeyUsageException | KmsInvalidStateException | KmsNotFoundException | NotFoundException | ServiceUnavailableException | CommonAwsError >; getIndex( input: GetIndexInput, @@ -105,13 +62,7 @@ export declare class S3Vectors extends AWSServiceClient { input: GetVectorsInput, ): Effect.Effect< GetVectorsOutput, - | KmsDisabledException - | KmsInvalidKeyUsageException - | KmsInvalidStateException - | KmsNotFoundException - | NotFoundException - | ServiceUnavailableException - | CommonAwsError + KmsDisabledException | KmsInvalidKeyUsageException | KmsInvalidStateException | KmsNotFoundException | NotFoundException | ServiceUnavailableException | CommonAwsError >; listIndexes( input: ListIndexesInput, @@ -129,10 +80,7 @@ export declare class S3Vectors extends AWSServiceClient { input: ListVectorsInput, ): Effect.Effect< ListVectorsOutput, - | AccessDeniedException - | NotFoundException - | ServiceUnavailableException - | CommonAwsError + AccessDeniedException | NotFoundException | ServiceUnavailableException | CommonAwsError >; putVectorBucketPolicy( input: PutVectorBucketPolicyInput, @@ -144,26 +92,13 @@ export declare class S3Vectors extends AWSServiceClient { input: PutVectorsInput, ): Effect.Effect< PutVectorsOutput, - | AccessDeniedException - | KmsDisabledException - | KmsInvalidKeyUsageException - | KmsInvalidStateException - | KmsNotFoundException - | NotFoundException - | ServiceUnavailableException - | CommonAwsError + AccessDeniedException | KmsDisabledException | KmsInvalidKeyUsageException | KmsInvalidStateException | KmsNotFoundException | NotFoundException | ServiceUnavailableException | CommonAwsError >; queryVectors( input: QueryVectorsInput, ): Effect.Effect< QueryVectorsOutput, - | KmsDisabledException - | KmsInvalidKeyUsageException - | KmsInvalidStateException - | KmsNotFoundException - | NotFoundException - | ServiceUnavailableException - | CommonAwsError + KmsDisabledException | KmsInvalidKeyUsageException | KmsInvalidStateException | KmsNotFoundException | NotFoundException | ServiceUnavailableException | CommonAwsError >; } @@ -188,29 +123,34 @@ export interface CreateIndexInput { distanceMetric: DistanceMetric; metadataConfiguration?: MetadataConfiguration; } -export interface CreateIndexOutput {} +export interface CreateIndexOutput { +} export interface CreateVectorBucketInput { vectorBucketName: string; encryptionConfiguration?: EncryptionConfiguration; } -export interface CreateVectorBucketOutput {} +export interface CreateVectorBucketOutput { +} export type DataType = "float32"; export interface DeleteIndexInput { vectorBucketName?: string; indexName?: string; indexArn?: string; } -export interface DeleteIndexOutput {} +export interface DeleteIndexOutput { +} export interface DeleteVectorBucketInput { vectorBucketName?: string; vectorBucketArn?: string; } -export interface DeleteVectorBucketOutput {} +export interface DeleteVectorBucketOutput { +} export interface DeleteVectorBucketPolicyInput { vectorBucketName?: string; vectorBucketArn?: string; } -export interface DeleteVectorBucketPolicyOutput {} +export interface DeleteVectorBucketPolicyOutput { +} export interface DeleteVectorsInput { vectorBucketName?: string; indexName?: string; @@ -218,7 +158,8 @@ export interface DeleteVectorsInput { keys: Array; } export type DeleteVectorsInputList = Array; -export interface DeleteVectorsOutput {} +export interface DeleteVectorsOutput { +} export type Dimension = number; export type DistanceMetric = "euclidean" | "cosine"; @@ -400,7 +341,8 @@ export interface PutVectorBucketPolicyInput { vectorBucketArn?: string; policy: string; } -export interface PutVectorBucketPolicyOutput {} +export interface PutVectorBucketPolicyOutput { +} export interface PutVectorsInput { vectorBucketName?: string; indexName?: string; @@ -408,7 +350,8 @@ export interface PutVectorsInput { vectors: Array; } export type PutVectorsInputList = Array; -export interface PutVectorsOutput {} +export interface PutVectorsOutput { +} export interface QueryOutputVector { key: string; data?: VectorData; @@ -479,7 +422,7 @@ interface _VectorData { float32?: Array; } -export type VectorData = _VectorData & { float32: Array }; +export type VectorData = (_VectorData & { float32: Array }); export type VectorKey = string; export type VectorMetadata = unknown; @@ -506,7 +449,9 @@ export declare namespace CreateVectorBucket { export declare namespace DeleteIndex { export type Input = DeleteIndexInput; export type Output = DeleteIndexOutput; - export type Error = ServiceUnavailableException | CommonAwsError; + export type Error = + | ServiceUnavailableException + | CommonAwsError; } export declare namespace DeleteVectorBucket { @@ -593,7 +538,9 @@ export declare namespace ListIndexes { export declare namespace ListVectorBuckets { export type Input = ListVectorBucketsInput; export type Output = ListVectorBucketsOutput; - export type Error = ServiceUnavailableException | CommonAwsError; + export type Error = + | ServiceUnavailableException + | CommonAwsError; } export declare namespace ListVectors { @@ -642,17 +589,5 @@ export declare namespace QueryVectors { | CommonAwsError; } -export type S3VectorsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | KmsDisabledException - | KmsInvalidKeyUsageException - | KmsInvalidStateException - | KmsNotFoundException - | NotFoundException - | ServiceQuotaExceededException - | ServiceUnavailableException - | TooManyRequestsException - | ValidationException - | CommonAwsError; +export type S3VectorsErrors = AccessDeniedException | ConflictException | InternalServerException | KmsDisabledException | KmsInvalidKeyUsageException | KmsInvalidStateException | KmsNotFoundException | NotFoundException | ServiceQuotaExceededException | ServiceUnavailableException | TooManyRequestsException | ValidationException | CommonAwsError; + diff --git a/src/services/sagemaker-a2i-runtime/index.ts b/src/services/sagemaker-a2i-runtime/index.ts index c1579b7e..207d8eab 100644 --- a/src/services/sagemaker-a2i-runtime/index.ts +++ b/src/services/sagemaker-a2i-runtime/index.ts @@ -5,24 +5,7 @@ import type { SageMakerA2IRuntime as _SageMakerA2IRuntimeClient } from "./types. export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,11 +15,11 @@ const metadata = { sigV4ServiceName: "sagemaker", endpointPrefix: "a2i-runtime.sagemaker", operations: { - DeleteHumanLoop: "DELETE /human-loops/{HumanLoopName}", - DescribeHumanLoop: "GET /human-loops/{HumanLoopName}", - ListHumanLoops: "GET /human-loops", - StartHumanLoop: "POST /human-loops", - StopHumanLoop: "POST /human-loops/stop", + "DeleteHumanLoop": "DELETE /human-loops/{HumanLoopName}", + "DescribeHumanLoop": "GET /human-loops/{HumanLoopName}", + "ListHumanLoops": "GET /human-loops", + "StartHumanLoop": "POST /human-loops", + "StopHumanLoop": "POST /human-loops/stop", }, } as const satisfies ServiceMetadata; diff --git a/src/services/sagemaker-a2i-runtime/types.ts b/src/services/sagemaker-a2i-runtime/types.ts index f0dd1a14..19ff0ce4 100644 --- a/src/services/sagemaker-a2i-runtime/types.ts +++ b/src/services/sagemaker-a2i-runtime/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SageMakerA2IRuntime extends AWSServiceClient { @@ -41,52 +8,31 @@ export declare class SageMakerA2IRuntime extends AWSServiceClient { input: DeleteHumanLoopRequest, ): Effect.Effect< DeleteHumanLoopResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeHumanLoop( input: DescribeHumanLoopRequest, ): Effect.Effect< DescribeHumanLoopResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listHumanLoops( input: ListHumanLoopsRequest, ): Effect.Effect< ListHumanLoopsResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startHumanLoop( input: StartHumanLoopRequest, ): Effect.Effect< StartHumanLoopResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopHumanLoop( input: StopHumanLoopRequest, ): Effect.Effect< StopHumanLoopResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -97,14 +43,13 @@ export declare class ConflictException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type ContentClassifier = - | "FreeOfPersonallyIdentifiableInformation" - | "FreeOfAdultContent"; +export type ContentClassifier = "FreeOfPersonallyIdentifiableInformation" | "FreeOfAdultContent"; export type ContentClassifiers = Array; export interface DeleteHumanLoopRequest { HumanLoopName: string; } -export interface DeleteHumanLoopResponse {} +export interface DeleteHumanLoopResponse { +} export interface DescribeHumanLoopRequest { HumanLoopName: string; } @@ -135,12 +80,7 @@ export type HumanLoopName = string; export interface HumanLoopOutput { OutputS3Uri: string; } -export type HumanLoopStatus = - | "InProgress" - | "Failed" - | "Completed" - | "Stopped" - | "Stopping"; +export type HumanLoopStatus = "InProgress" | "Failed" | "Completed" | "Stopped" | "Stopping"; export type HumanLoopSummaries = Array; export interface HumanLoopSummary { HumanLoopName?: string; @@ -195,7 +135,8 @@ export interface StartHumanLoopResponse { export interface StopHumanLoopRequest { HumanLoopName: string; } -export interface StopHumanLoopResponse {} +export interface StopHumanLoopResponse { +} export type SagemakerA2iRuntimeString = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -266,11 +207,5 @@ export declare namespace StopHumanLoop { | CommonAwsError; } -export type SageMakerA2IRuntimeErrors = - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SageMakerA2IRuntimeErrors = ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/sagemaker-edge/index.ts b/src/services/sagemaker-edge/index.ts index c7c29f1a..7c35712e 100644 --- a/src/services/sagemaker-edge/index.ts +++ b/src/services/sagemaker-edge/index.ts @@ -5,26 +5,7 @@ import type { SagemakerEdge as _SagemakerEdgeClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,9 +15,9 @@ const metadata = { sigV4ServiceName: "sagemaker", endpointPrefix: "edge.sagemaker", operations: { - GetDeployments: "POST /GetDeployments", - GetDeviceRegistration: "POST /GetDeviceRegistration", - SendHeartbeat: "POST /SendHeartbeat", + "GetDeployments": "POST /GetDeployments", + "GetDeviceRegistration": "POST /GetDeviceRegistration", + "SendHeartbeat": "POST /SendHeartbeat", }, } as const satisfies ServiceMetadata; diff --git a/src/services/sagemaker-edge/types.ts b/src/services/sagemaker-edge/types.ts index c28804e6..9726a745 100644 --- a/src/services/sagemaker-edge/types.ts +++ b/src/services/sagemaker-edge/types.ts @@ -17,7 +17,10 @@ export declare class SagemakerEdge extends AWSServiceClient { >; sendHeartbeat( input: SendHeartbeatRequest, - ): Effect.Effect<{}, InternalServiceException | CommonAwsError>; + ): Effect.Effect< + {}, + InternalServiceException | CommonAwsError + >; } export type CacheTTLSeconds = string; @@ -138,19 +141,26 @@ export type Version = string; export declare namespace GetDeployments { export type Input = GetDeploymentsRequest; export type Output = GetDeploymentsResult; - export type Error = InternalServiceException | CommonAwsError; + export type Error = + | InternalServiceException + | CommonAwsError; } export declare namespace GetDeviceRegistration { export type Input = GetDeviceRegistrationRequest; export type Output = GetDeviceRegistrationResult; - export type Error = InternalServiceException | CommonAwsError; + export type Error = + | InternalServiceException + | CommonAwsError; } export declare namespace SendHeartbeat { export type Input = SendHeartbeatRequest; export type Output = {}; - export type Error = InternalServiceException | CommonAwsError; + export type Error = + | InternalServiceException + | CommonAwsError; } export type SagemakerEdgeErrors = InternalServiceException | CommonAwsError; + diff --git a/src/services/sagemaker-featurestore-runtime/index.ts b/src/services/sagemaker-featurestore-runtime/index.ts index 8eae5549..38c2151d 100644 --- a/src/services/sagemaker-featurestore-runtime/index.ts +++ b/src/services/sagemaker-featurestore-runtime/index.ts @@ -5,23 +5,7 @@ import type { SageMakerFeatureStoreRuntime as _SageMakerFeatureStoreRuntimeClien export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,16 +15,15 @@ const metadata = { sigV4ServiceName: "sagemaker", endpointPrefix: "featurestore-runtime.sagemaker", operations: { - BatchGetRecord: "POST /BatchGetRecord", - DeleteRecord: "DELETE /FeatureGroup/{FeatureGroupName}", - GetRecord: "GET /FeatureGroup/{FeatureGroupName}", - PutRecord: "PUT /FeatureGroup/{FeatureGroupName}", + "BatchGetRecord": "POST /BatchGetRecord", + "DeleteRecord": "DELETE /FeatureGroup/{FeatureGroupName}", + "GetRecord": "GET /FeatureGroup/{FeatureGroupName}", + "PutRecord": "PUT /FeatureGroup/{FeatureGroupName}", }, } as const satisfies ServiceMetadata; export type _SageMakerFeatureStoreRuntime = _SageMakerFeatureStoreRuntimeClient; -export interface SageMakerFeatureStoreRuntime - extends _SageMakerFeatureStoreRuntime {} +export interface SageMakerFeatureStoreRuntime extends _SageMakerFeatureStoreRuntime {} export const SageMakerFeatureStoreRuntime = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/sagemaker-featurestore-runtime/types.ts b/src/services/sagemaker-featurestore-runtime/types.ts index ffe11b97..76e09658 100644 --- a/src/services/sagemaker-featurestore-runtime/types.ts +++ b/src/services/sagemaker-featurestore-runtime/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationException - | InternalFailure - | ServiceUnavailable - | ValidationError; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationException | InternalFailure | ServiceUnavailable | ValidationError; import { AWSServiceClient } from "../../client.ts"; export declare class SageMakerFeatureStoreRuntime extends AWSServiceClient { @@ -40,42 +8,25 @@ export declare class SageMakerFeatureStoreRuntime extends AWSServiceClient { input: BatchGetRecordRequest, ): Effect.Effect< BatchGetRecordResponse, - | AccessForbidden - | InternalFailure - | ServiceUnavailable - | ValidationError - | CommonAwsError + AccessForbidden | InternalFailure | ServiceUnavailable | ValidationError | CommonAwsError >; deleteRecord( input: DeleteRecordRequest, ): Effect.Effect< {}, - | AccessForbidden - | InternalFailure - | ServiceUnavailable - | ValidationError - | CommonAwsError + AccessForbidden | InternalFailure | ServiceUnavailable | ValidationError | CommonAwsError >; getRecord( input: GetRecordRequest, ): Effect.Effect< GetRecordResponse, - | AccessForbidden - | InternalFailure - | ResourceNotFound - | ServiceUnavailable - | ValidationError - | CommonAwsError + AccessForbidden | InternalFailure | ResourceNotFound | ServiceUnavailable | ValidationError | CommonAwsError >; putRecord( input: PutRecordRequest, ): Effect.Effect< {}, - | AccessForbidden - | InternalFailure - | ServiceUnavailable - | ValidationError - | CommonAwsError + AccessForbidden | InternalFailure | ServiceUnavailable | ValidationError | CommonAwsError >; } @@ -177,12 +128,7 @@ export interface TtlDuration { Unit: TtlDurationUnit; Value: number; } -export type TtlDurationUnit = - | "Seconds" - | "Minutes" - | "Hours" - | "Days" - | "Weeks"; +export type TtlDurationUnit = "Seconds" | "Minutes" | "Hours" | "Days" | "Weeks"; export type TtlDurationValue = number; export type UnprocessedIdentifiers = Array; @@ -239,10 +185,5 @@ export declare namespace PutRecord { | CommonAwsError; } -export type SageMakerFeatureStoreRuntimeErrors = - | AccessForbidden - | InternalFailure - | ResourceNotFound - | ServiceUnavailable - | ValidationError - | CommonAwsError; +export type SageMakerFeatureStoreRuntimeErrors = AccessForbidden | InternalFailure | ResourceNotFound | ServiceUnavailable | ValidationError | CommonAwsError; + diff --git a/src/services/sagemaker-geospatial/index.ts b/src/services/sagemaker-geospatial/index.ts index 16752f6f..01b5291e 100644 --- a/src/services/sagemaker-geospatial/index.ts +++ b/src/services/sagemaker-geospatial/index.ts @@ -5,23 +5,7 @@ import type { SageMakerGeospatial as _SageMakerGeospatialClient } from "./types. export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,30 +14,30 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "sagemaker-geospatial", operations: { - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "PUT /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - DeleteEarthObservationJob: "DELETE /earth-observation-jobs/{Arn}", - DeleteVectorEnrichmentJob: "DELETE /vector-enrichment-jobs/{Arn}", - ExportEarthObservationJob: "POST /export-earth-observation-job", - ExportVectorEnrichmentJob: "POST /export-vector-enrichment-jobs", - GetEarthObservationJob: "GET /earth-observation-jobs/{Arn}", - GetRasterDataCollection: "GET /raster-data-collection/{Arn}", - GetTile: { + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "PUT /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "DeleteEarthObservationJob": "DELETE /earth-observation-jobs/{Arn}", + "DeleteVectorEnrichmentJob": "DELETE /vector-enrichment-jobs/{Arn}", + "ExportEarthObservationJob": "POST /export-earth-observation-job", + "ExportVectorEnrichmentJob": "POST /export-vector-enrichment-jobs", + "GetEarthObservationJob": "GET /earth-observation-jobs/{Arn}", + "GetRasterDataCollection": "GET /raster-data-collection/{Arn}", + "GetTile": { http: "GET /tile/{z}/{x}/{y}", traits: { - BinaryFile: "httpPayload", + "BinaryFile": "httpPayload", }, }, - GetVectorEnrichmentJob: "GET /vector-enrichment-jobs/{Arn}", - ListEarthObservationJobs: "POST /list-earth-observation-jobs", - ListRasterDataCollections: "GET /raster-data-collections", - ListVectorEnrichmentJobs: "POST /list-vector-enrichment-jobs", - SearchRasterDataCollection: "POST /search-raster-data-collection", - StartEarthObservationJob: "POST /earth-observation-jobs", - StartVectorEnrichmentJob: "POST /vector-enrichment-jobs", - StopEarthObservationJob: "POST /earth-observation-jobs/stop", - StopVectorEnrichmentJob: "POST /vector-enrichment-jobs/stop", + "GetVectorEnrichmentJob": "GET /vector-enrichment-jobs/{Arn}", + "ListEarthObservationJobs": "POST /list-earth-observation-jobs", + "ListRasterDataCollections": "GET /raster-data-collections", + "ListVectorEnrichmentJobs": "POST /list-vector-enrichment-jobs", + "SearchRasterDataCollection": "POST /search-raster-data-collection", + "StartEarthObservationJob": "POST /earth-observation-jobs", + "StartVectorEnrichmentJob": "POST /vector-enrichment-jobs", + "StopEarthObservationJob": "POST /earth-observation-jobs/stop", + "StopVectorEnrichmentJob": "POST /vector-enrichment-jobs/stop", }, } as const satisfies ServiceMetadata; diff --git a/src/services/sagemaker-geospatial/types.ts b/src/services/sagemaker-geospatial/types.ts index a3d9e169..e5a389eb 100644 --- a/src/services/sagemaker-geospatial/types.ts +++ b/src/services/sagemaker-geospatial/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SageMakerGeospatial extends AWSServiceClient { @@ -40,222 +8,115 @@ export declare class SageMakerGeospatial extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEarthObservationJob( input: DeleteEarthObservationJobInput, ): Effect.Effect< DeleteEarthObservationJobOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteVectorEnrichmentJob( input: DeleteVectorEnrichmentJobInput, ): Effect.Effect< DeleteVectorEnrichmentJobOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; exportEarthObservationJob( input: ExportEarthObservationJobInput, ): Effect.Effect< ExportEarthObservationJobOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; exportVectorEnrichmentJob( input: ExportVectorEnrichmentJobInput, ): Effect.Effect< ExportVectorEnrichmentJobOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; getEarthObservationJob( input: GetEarthObservationJobInput, ): Effect.Effect< GetEarthObservationJobOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRasterDataCollection( input: GetRasterDataCollectionInput, ): Effect.Effect< GetRasterDataCollectionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTile( input: GetTileInput, ): Effect.Effect< GetTileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getVectorEnrichmentJob( input: GetVectorEnrichmentJobInput, ): Effect.Effect< GetVectorEnrichmentJobOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEarthObservationJobs( input: ListEarthObservationJobInput, ): Effect.Effect< ListEarthObservationJobOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRasterDataCollections( input: ListRasterDataCollectionsInput, ): Effect.Effect< ListRasterDataCollectionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listVectorEnrichmentJobs( input: ListVectorEnrichmentJobInput, ): Effect.Effect< ListVectorEnrichmentJobOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; searchRasterDataCollection( input: SearchRasterDataCollectionInput, ): Effect.Effect< SearchRasterDataCollectionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startEarthObservationJob( input: StartEarthObservationJobInput, ): Effect.Effect< StartEarthObservationJobOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startVectorEnrichmentJob( input: StartVectorEnrichmentJobInput, ): Effect.Effect< StartVectorEnrichmentJobOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; stopEarthObservationJob( input: StopEarthObservationJobInput, ): Effect.Effect< StopEarthObservationJobOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopVectorEnrichmentJob( input: StopVectorEnrichmentJobInput, ): Effect.Effect< StopVectorEnrichmentJobOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -276,19 +137,13 @@ interface _AreaOfInterest { AreaOfInterestGeometry?: AreaOfInterestGeometry; } -export type AreaOfInterest = _AreaOfInterest & { - AreaOfInterestGeometry: AreaOfInterestGeometry; -}; +export type AreaOfInterest = (_AreaOfInterest & { AreaOfInterestGeometry: AreaOfInterestGeometry }); interface _AreaOfInterestGeometry { PolygonGeometry?: PolygonGeometryInput; MultiPolygonGeometry?: MultiPolygonGeometryInput; } -export type AreaOfInterestGeometry = - | (_AreaOfInterestGeometry & { PolygonGeometry: PolygonGeometryInput }) - | (_AreaOfInterestGeometry & { - MultiPolygonGeometry: MultiPolygonGeometryInput; - }); +export type AreaOfInterestGeometry = (_AreaOfInterestGeometry & { PolygonGeometry: PolygonGeometryInput }) | (_AreaOfInterestGeometry & { MultiPolygonGeometry: MultiPolygonGeometryInput }); export type Arn = string; export type AssetsMap = Record; @@ -301,7 +156,8 @@ export interface BandMathConfigInput { } export type BinaryFile = Uint8Array | string; -export interface CloudMaskingConfigInput {} +export interface CloudMaskingConfigInput { +} export interface CloudRemovalConfigInput { AlgorithmName?: string; InterpolationValue?: string; @@ -326,11 +182,13 @@ export type DataCollectionType = string; export interface DeleteEarthObservationJobInput { Arn: string; } -export interface DeleteEarthObservationJobOutput {} +export interface DeleteEarthObservationJobOutput { +} export interface DeleteVectorEnrichmentJobInput { Arn: string; } -export interface DeleteVectorEnrichmentJobOutput {} +export interface DeleteVectorEnrichmentJobOutput { +} export type EarthObservationJobArn = string; export interface EarthObservationJobErrorDetails { @@ -341,8 +199,7 @@ export type EarthObservationJobErrorType = string; export type EarthObservationJobExportStatus = string; -export type EarthObservationJobList = - Array; +export type EarthObservationJobList = Array; export type EarthObservationJobOutputBands = Array; export type EarthObservationJobStatus = string; @@ -517,23 +374,11 @@ interface _JobConfigInput { LandCoverSegmentationConfig?: LandCoverSegmentationConfigInput; } -export type JobConfigInput = - | (_JobConfigInput & { BandMathConfig: BandMathConfigInput }) - | (_JobConfigInput & { ResamplingConfig: ResamplingConfigInput }) - | (_JobConfigInput & { - TemporalStatisticsConfig: TemporalStatisticsConfigInput; - }) - | (_JobConfigInput & { CloudRemovalConfig: CloudRemovalConfigInput }) - | (_JobConfigInput & { ZonalStatisticsConfig: ZonalStatisticsConfigInput }) - | (_JobConfigInput & { GeoMosaicConfig: GeoMosaicConfigInput }) - | (_JobConfigInput & { StackConfig: StackConfigInput }) - | (_JobConfigInput & { CloudMaskingConfig: CloudMaskingConfigInput }) - | (_JobConfigInput & { - LandCoverSegmentationConfig: LandCoverSegmentationConfigInput; - }); +export type JobConfigInput = (_JobConfigInput & { BandMathConfig: BandMathConfigInput }) | (_JobConfigInput & { ResamplingConfig: ResamplingConfigInput }) | (_JobConfigInput & { TemporalStatisticsConfig: TemporalStatisticsConfigInput }) | (_JobConfigInput & { CloudRemovalConfig: CloudRemovalConfigInput }) | (_JobConfigInput & { ZonalStatisticsConfig: ZonalStatisticsConfigInput }) | (_JobConfigInput & { GeoMosaicConfig: GeoMosaicConfigInput }) | (_JobConfigInput & { StackConfig: StackConfigInput }) | (_JobConfigInput & { CloudMaskingConfig: CloudMaskingConfigInput }) | (_JobConfigInput & { LandCoverSegmentationConfig: LandCoverSegmentationConfigInput }); export type KmsKey = string; -export interface LandCoverSegmentationConfigInput {} +export interface LandCoverSegmentationConfigInput { +} export interface LandsatCloudCoverLandInput { LowerBound: number; UpperBound: number; @@ -657,13 +502,7 @@ interface _Property { LandsatCloudCoverLand?: LandsatCloudCoverLandInput; } -export type Property = - | (_Property & { EoCloudCover: EoCloudCoverInput }) - | (_Property & { ViewOffNadir: ViewOffNadirInput }) - | (_Property & { ViewSunAzimuth: ViewSunAzimuthInput }) - | (_Property & { ViewSunElevation: ViewSunElevationInput }) - | (_Property & { Platform: PlatformInput }) - | (_Property & { LandsatCloudCoverLand: LandsatCloudCoverLandInput }); +export type Property = (_Property & { EoCloudCover: EoCloudCoverInput }) | (_Property & { ViewOffNadir: ViewOffNadirInput }) | (_Property & { ViewSunAzimuth: ViewSunAzimuthInput }) | (_Property & { ViewSunElevation: ViewSunElevationInput }) | (_Property & { Platform: PlatformInput }) | (_Property & { LandsatCloudCoverLand: LandsatCloudCoverLandInput }); export interface PropertyFilter { Property: Property; } @@ -785,18 +624,21 @@ export interface StartVectorEnrichmentJobOutput { export interface StopEarthObservationJobInput { Arn: string; } -export interface StopEarthObservationJobOutput {} +export interface StopEarthObservationJobOutput { +} export interface StopVectorEnrichmentJobInput { Arn: string; } -export interface StopVectorEnrichmentJobOutput {} +export interface StopVectorEnrichmentJobOutput { +} export type StringListInput = Array; export type TagKeyList = Array; export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TargetOptions = string; @@ -828,7 +670,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UserDefined { Value: number; Unit: string; @@ -846,19 +689,12 @@ interface _VectorEnrichmentJobConfig { MapMatchingConfig?: MapMatchingConfig; } -export type VectorEnrichmentJobConfig = - | (_VectorEnrichmentJobConfig & { - ReverseGeocodingConfig: ReverseGeocodingConfig; - }) - | (_VectorEnrichmentJobConfig & { MapMatchingConfig: MapMatchingConfig }); +export type VectorEnrichmentJobConfig = (_VectorEnrichmentJobConfig & { ReverseGeocodingConfig: ReverseGeocodingConfig }) | (_VectorEnrichmentJobConfig & { MapMatchingConfig: MapMatchingConfig }); interface _VectorEnrichmentJobDataSourceConfigInput { S3Data?: VectorEnrichmentJobS3Data; } -export type VectorEnrichmentJobDataSourceConfigInput = - _VectorEnrichmentJobDataSourceConfigInput & { - S3Data: VectorEnrichmentJobS3Data; - }; +export type VectorEnrichmentJobDataSourceConfigInput = (_VectorEnrichmentJobDataSourceConfigInput & { S3Data: VectorEnrichmentJobS3Data }); export type VectorEnrichmentJobDocumentType = string; export interface VectorEnrichmentJobErrorDetails { @@ -879,8 +715,7 @@ export interface VectorEnrichmentJobInputConfig { DocumentType: string; DataSourceConfig: VectorEnrichmentJobDataSourceConfigInput; } -export type VectorEnrichmentJobList = - Array; +export type VectorEnrichmentJobList = Array; export interface VectorEnrichmentJobS3Data { S3Uri: string; KmsKeyId?: string; @@ -1150,12 +985,5 @@ export declare namespace StopVectorEnrichmentJob { | CommonAwsError; } -export type SageMakerGeospatialErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SageMakerGeospatialErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/sagemaker-metrics/index.ts b/src/services/sagemaker-metrics/index.ts index b4b88e00..ef96ff4e 100644 --- a/src/services/sagemaker-metrics/index.ts +++ b/src/services/sagemaker-metrics/index.ts @@ -5,26 +5,7 @@ import type { SageMakerMetrics as _SageMakerMetricsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,8 +15,8 @@ const metadata = { sigV4ServiceName: "sagemaker", endpointPrefix: "metrics.sagemaker", operations: { - BatchGetMetrics: "POST /BatchGetMetrics", - BatchPutMetrics: "PUT /BatchPutMetrics", + "BatchGetMetrics": "POST /BatchGetMetrics", + "BatchPutMetrics": "PUT /BatchPutMetrics", }, } as const satisfies ServiceMetadata; diff --git a/src/services/sagemaker-metrics/types.ts b/src/services/sagemaker-metrics/types.ts index 0653e315..1c02e7e7 100644 --- a/src/services/sagemaker-metrics/types.ts +++ b/src/services/sagemaker-metrics/types.ts @@ -5,10 +5,16 @@ import { AWSServiceClient } from "../../client.ts"; export declare class SageMakerMetrics extends AWSServiceClient { batchGetMetrics( input: BatchGetMetricsRequest, - ): Effect.Effect; + ): Effect.Effect< + BatchGetMetricsResponse, + CommonAwsError + >; batchPutMetrics( input: BatchPutMetricsRequest, - ): Effect.Effect; + ): Effect.Effect< + BatchPutMetricsResponse, + CommonAwsError + >; } export declare class SagemakerMetrics extends SageMakerMetrics {} @@ -60,25 +66,11 @@ export interface MetricQueryResult { MetricValues: Array; } export type MetricQueryResultList = Array; -export type MetricQueryResultStatus = - | "Complete" - | "Truncated" - | "InternalError" - | "ValidationError"; -export type MetricStatistic = - | "Min" - | "Max" - | "Avg" - | "Count" - | "StdDev" - | "Last"; +export type MetricQueryResultStatus = "Complete" | "Truncated" | "InternalError" | "ValidationError"; +export type MetricStatistic = "Min" | "Max" | "Avg" | "Count" | "StdDev" | "Last"; export type MetricValues = Array; export type Period = "OneMinute" | "FiveMinute" | "OneHour" | "IterationNumber"; -export type PutMetricsErrorCode = - | "METRIC_LIMIT_EXCEEDED" - | "INTERNAL_ERROR" - | "VALIDATION_ERROR" - | "CONFLICT_ERROR"; +export type PutMetricsErrorCode = "METRIC_LIMIT_EXCEEDED" | "INTERNAL_ERROR" | "VALIDATION_ERROR" | "CONFLICT_ERROR"; export interface RawMetricData { MetricName: string; Timestamp: Date | string; @@ -97,13 +89,16 @@ export type XAxisValues = Array; export declare namespace BatchGetMetrics { export type Input = BatchGetMetricsRequest; export type Output = BatchGetMetricsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace BatchPutMetrics { export type Input = BatchPutMetricsRequest; export type Output = BatchPutMetricsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export type SageMakerMetricsErrors = CommonAwsError; + diff --git a/src/services/sagemaker-runtime/index.ts b/src/services/sagemaker-runtime/index.ts index e2c3357a..23cc7edd 100644 --- a/src/services/sagemaker-runtime/index.ts +++ b/src/services/sagemaker-runtime/index.ts @@ -5,23 +5,7 @@ import type { SageMakerRuntime as _SageMakerRuntimeClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,31 +15,31 @@ const metadata = { sigV4ServiceName: "sagemaker", endpointPrefix: "runtime.sagemaker", operations: { - InvokeEndpoint: { + "InvokeEndpoint": { http: "POST /endpoints/{EndpointName}/invocations", traits: { - Body: "httpPayload", - ContentType: "Content-Type", - InvokedProductionVariant: "x-Amzn-Invoked-Production-Variant", - CustomAttributes: "X-Amzn-SageMaker-Custom-Attributes", - NewSessionId: "X-Amzn-SageMaker-New-Session-Id", - ClosedSessionId: "X-Amzn-SageMaker-Closed-Session-Id", + "Body": "httpPayload", + "ContentType": "Content-Type", + "InvokedProductionVariant": "x-Amzn-Invoked-Production-Variant", + "CustomAttributes": "X-Amzn-SageMaker-Custom-Attributes", + "NewSessionId": "X-Amzn-SageMaker-New-Session-Id", + "ClosedSessionId": "X-Amzn-SageMaker-Closed-Session-Id", }, }, - InvokeEndpointAsync: { + "InvokeEndpointAsync": { http: "POST /endpoints/{EndpointName}/async-invocations", traits: { - OutputLocation: "X-Amzn-SageMaker-OutputLocation", - FailureLocation: "X-Amzn-SageMaker-FailureLocation", + "OutputLocation": "X-Amzn-SageMaker-OutputLocation", + "FailureLocation": "X-Amzn-SageMaker-FailureLocation", }, }, - InvokeEndpointWithResponseStream: { + "InvokeEndpointWithResponseStream": { http: "POST /endpoints/{EndpointName}/invocations-response-stream", traits: { - Body: "httpStreaming", - ContentType: "X-Amzn-SageMaker-Content-Type", - InvokedProductionVariant: "x-Amzn-Invoked-Production-Variant", - CustomAttributes: "X-Amzn-SageMaker-Custom-Attributes", + "Body": "httpStreaming", + "ContentType": "X-Amzn-SageMaker-Content-Type", + "InvokedProductionVariant": "x-Amzn-Invoked-Production-Variant", + "CustomAttributes": "X-Amzn-SageMaker-Custom-Attributes", }, }, }, diff --git a/src/services/sagemaker-runtime/types.ts b/src/services/sagemaker-runtime/types.ts index 5d06a2ee..59217a55 100644 --- a/src/services/sagemaker-runtime/types.ts +++ b/src/services/sagemaker-runtime/types.ts @@ -1,40 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationException - | InternalFailure - | ServiceUnavailable - | ValidationError; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationException | InternalFailure | ServiceUnavailable | ValidationError; import { AWSServiceClient } from "../../client.ts"; export declare class SageMakerRuntime extends AWSServiceClient { @@ -42,13 +10,7 @@ export declare class SageMakerRuntime extends AWSServiceClient { input: InvokeEndpointInput, ): Effect.Effect< InvokeEndpointOutput, - | InternalDependencyException - | InternalFailure - | ModelError - | ModelNotReadyException - | ServiceUnavailable - | ValidationError - | CommonAwsError + InternalDependencyException | InternalFailure | ModelError | ModelNotReadyException | ServiceUnavailable | ValidationError | CommonAwsError >; invokeEndpointAsync( input: InvokeEndpointAsyncInput, @@ -60,13 +22,7 @@ export declare class SageMakerRuntime extends AWSServiceClient { input: InvokeEndpointWithResponseStreamInput, ): Effect.Effect< InvokeEndpointWithResponseStreamOutput, - | InternalFailure - | InternalStreamFailure - | ModelError - | ModelStreamError - | ServiceUnavailable - | ValidationError - | CommonAwsError + InternalFailure | InternalStreamFailure | ModelError | ModelStreamError | ServiceUnavailable | ValidationError | CommonAwsError >; } @@ -166,7 +122,9 @@ export type LogStreamArn = string; export type Message = string; -export declare class ModelError extends EffectData.TaggedError("ModelError")<{ +export declare class ModelError extends EffectData.TaggedError( + "ModelError", +)<{ readonly Message?: string; readonly OriginalStatusCode?: number; readonly OriginalMessage?: string; @@ -198,10 +156,7 @@ interface _ResponseStream { InternalStreamFailure?: InternalStreamFailure; } -export type ResponseStream = - | (_ResponseStream & { PayloadPart: PayloadPart }) - | (_ResponseStream & { ModelStreamError: ModelStreamError }) - | (_ResponseStream & { InternalStreamFailure: InternalStreamFailure }); +export type ResponseStream = (_ResponseStream & { PayloadPart: PayloadPart }) | (_ResponseStream & { ModelStreamError: ModelStreamError }) | (_ResponseStream & { InternalStreamFailure: InternalStreamFailure }); export declare class ServiceUnavailable extends EffectData.TaggedError( "ServiceUnavailable", )<{ @@ -260,13 +215,5 @@ export declare namespace InvokeEndpointWithResponseStream { | CommonAwsError; } -export type SageMakerRuntimeErrors = - | InternalDependencyException - | InternalFailure - | InternalStreamFailure - | ModelError - | ModelNotReadyException - | ModelStreamError - | ServiceUnavailable - | ValidationError - | CommonAwsError; +export type SageMakerRuntimeErrors = InternalDependencyException | InternalFailure | InternalStreamFailure | ModelError | ModelNotReadyException | ModelStreamError | ServiceUnavailable | ValidationError | CommonAwsError; + diff --git a/src/services/sagemaker/index.ts b/src/services/sagemaker/index.ts index d30cd9b9..ef110dd0 100644 --- a/src/services/sagemaker/index.ts +++ b/src/services/sagemaker/index.ts @@ -5,26 +5,7 @@ import type { SageMaker as _SageMakerClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/sagemaker/types.ts b/src/services/sagemaker/types.ts index 91936bcb..89e15789 100644 --- a/src/services/sagemaker/types.ts +++ b/src/services/sagemaker/types.ts @@ -9,7 +9,12 @@ export declare class SageMaker extends AWSServiceClient { AddAssociationResponse, ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; - addTags(input: AddTagsInput): Effect.Effect; + addTags( + input: AddTagsInput, + ): Effect.Effect< + AddTagsOutput, + CommonAwsError + >; associateTrialComponent( input: AssociateTrialComponentRequest, ): Effect.Effect< @@ -36,7 +41,10 @@ export declare class SageMaker extends AWSServiceClient { >; batchDescribeModelPackage( input: BatchDescribeModelPackageInput, - ): Effect.Effect; + ): Effect.Effect< + BatchDescribeModelPackageOutput, + CommonAwsError + >; createAction( input: CreateActionRequest, ): Effect.Effect< @@ -45,7 +53,10 @@ export declare class SageMaker extends AWSServiceClient { >; createAlgorithm( input: CreateAlgorithmInput, - ): Effect.Effect; + ): Effect.Effect< + CreateAlgorithmOutput, + CommonAwsError + >; createApp( input: CreateAppRequest, ): Effect.Effect< @@ -90,7 +101,10 @@ export declare class SageMaker extends AWSServiceClient { >; createCodeRepository( input: CreateCodeRepositoryInput, - ): Effect.Effect; + ): Effect.Effect< + CreateCodeRepositoryOutput, + CommonAwsError + >; createCompilationJob( input: CreateCompilationJobRequest, ): Effect.Effect< @@ -117,7 +131,10 @@ export declare class SageMaker extends AWSServiceClient { >; createDeviceFleet( input: CreateDeviceFleetRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceLimitExceeded | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceLimitExceeded | CommonAwsError + >; createDomain( input: CreateDomainRequest, ): Effect.Effect< @@ -132,10 +149,16 @@ export declare class SageMaker extends AWSServiceClient { >; createEdgeDeploymentStage( input: CreateEdgeDeploymentStageRequest, - ): Effect.Effect<{}, ResourceLimitExceeded | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceLimitExceeded | CommonAwsError + >; createEdgePackagingJob( input: CreateEdgePackagingJobRequest, - ): Effect.Effect<{}, ResourceLimitExceeded | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceLimitExceeded | CommonAwsError + >; createEndpoint( input: CreateEndpointInput, ): Effect.Effect< @@ -174,7 +197,10 @@ export declare class SageMaker extends AWSServiceClient { >; createHubContentPresignedUrls( input: CreateHubContentPresignedUrlsRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateHubContentPresignedUrlsResponse, + CommonAwsError + >; createHubContentReference( input: CreateHubContentReferenceRequest, ): Effect.Effect< @@ -237,7 +263,10 @@ export declare class SageMaker extends AWSServiceClient { >; createModel( input: CreateModelInput, - ): Effect.Effect; + ): Effect.Effect< + CreateModelOutput, + ResourceLimitExceeded | CommonAwsError + >; createModelBiasJobDefinition( input: CreateModelBiasJobDefinitionRequest, ): Effect.Effect< @@ -254,10 +283,7 @@ export declare class SageMaker extends AWSServiceClient { input: CreateModelCardExportJobRequest, ): Effect.Effect< CreateModelCardExportJobResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; createModelExplainabilityJobDefinition( input: CreateModelExplainabilityJobDefinitionRequest, @@ -323,10 +349,7 @@ export declare class SageMaker extends AWSServiceClient { input: CreatePipelineRequest, ): Effect.Effect< CreatePipelineResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; createPresignedDomainUrl( input: CreatePresignedDomainUrlRequest, @@ -342,7 +365,10 @@ export declare class SageMaker extends AWSServiceClient { >; createPresignedNotebookInstanceUrl( input: CreatePresignedNotebookInstanceUrlInput, - ): Effect.Effect; + ): Effect.Effect< + CreatePresignedNotebookInstanceUrlOutput, + CommonAwsError + >; createProcessingJob( input: CreateProcessingJobRequest, ): Effect.Effect< @@ -351,7 +377,10 @@ export declare class SageMaker extends AWSServiceClient { >; createProject( input: CreateProjectInput, - ): Effect.Effect; + ): Effect.Effect< + CreateProjectOutput, + ResourceLimitExceeded | CommonAwsError + >; createSpace( input: CreateSpaceRequest, ): Effect.Effect< @@ -402,7 +431,10 @@ export declare class SageMaker extends AWSServiceClient { >; createWorkforce( input: CreateWorkforceRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateWorkforceResponse, + CommonAwsError + >; createWorkteam( input: CreateWorkteamRequest, ): Effect.Effect< @@ -411,19 +443,34 @@ export declare class SageMaker extends AWSServiceClient { >; deleteAction( input: DeleteActionRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteActionResponse, + ResourceNotFound | CommonAwsError + >; deleteAlgorithm( input: DeleteAlgorithmInput, - ): Effect.Effect<{}, ConflictException | CommonAwsError>; + ): Effect.Effect< + {}, + ConflictException | CommonAwsError + >; deleteApp( input: DeleteAppRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceNotFound | CommonAwsError + >; deleteAppImageConfig( input: DeleteAppImageConfigRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteArtifact( input: DeleteArtifactRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteArtifactResponse, + ResourceNotFound | CommonAwsError + >; deleteAssociation( input: DeleteAssociationRequest, ): Effect.Effect< @@ -438,44 +485,88 @@ export declare class SageMaker extends AWSServiceClient { >; deleteClusterSchedulerConfig( input: DeleteClusterSchedulerConfigRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteCodeRepository( input: DeleteCodeRepositoryInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteCompilationJob( input: DeleteCompilationJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteComputeQuota( input: DeleteComputeQuotaRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteContext( input: DeleteContextRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteContextResponse, + ResourceNotFound | CommonAwsError + >; deleteDataQualityJobDefinition( input: DeleteDataQualityJobDefinitionRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteDeviceFleet( input: DeleteDeviceFleetRequest, - ): Effect.Effect<{}, ResourceInUse | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | CommonAwsError + >; deleteDomain( input: DeleteDomainRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceNotFound | CommonAwsError + >; deleteEdgeDeploymentPlan( input: DeleteEdgeDeploymentPlanRequest, - ): Effect.Effect<{}, ResourceInUse | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | CommonAwsError + >; deleteEdgeDeploymentStage( input: DeleteEdgeDeploymentStageRequest, - ): Effect.Effect<{}, ResourceInUse | CommonAwsError>; - deleteEndpoint(input: DeleteEndpointInput): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | CommonAwsError + >; + deleteEndpoint( + input: DeleteEndpointInput, + ): Effect.Effect< + {}, + CommonAwsError + >; deleteEndpointConfig( input: DeleteEndpointConfigInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteExperiment( input: DeleteExperimentRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteExperimentResponse, + ResourceNotFound | CommonAwsError + >; deleteFeatureGroup( input: DeleteFeatureGroupRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteFlowDefinition( input: DeleteFlowDefinitionRequest, ): Effect.Effect< @@ -484,13 +575,22 @@ export declare class SageMaker extends AWSServiceClient { >; deleteHub( input: DeleteHubRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceNotFound | CommonAwsError + >; deleteHubContent( input: DeleteHubContentRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceNotFound | CommonAwsError + >; deleteHubContentReference( input: DeleteHubContentReferenceRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteHumanTaskUi( input: DeleteHumanTaskUiRequest, ): Effect.Effect< @@ -499,7 +599,10 @@ export declare class SageMaker extends AWSServiceClient { >; deleteHyperParameterTuningJob( input: DeleteHyperParameterTuningJobRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteImage( input: DeleteImageRequest, ): Effect.Effect< @@ -514,7 +617,10 @@ export declare class SageMaker extends AWSServiceClient { >; deleteInferenceComponent( input: DeleteInferenceComponentInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteInferenceExperiment( input: DeleteInferenceExperimentRequest, ): Effect.Effect< @@ -527,40 +633,78 @@ export declare class SageMaker extends AWSServiceClient { DeleteMlflowTrackingServerResponse, ResourceNotFound | CommonAwsError >; - deleteModel(input: DeleteModelInput): Effect.Effect<{}, CommonAwsError>; + deleteModel( + input: DeleteModelInput, + ): Effect.Effect< + {}, + CommonAwsError + >; deleteModelBiasJobDefinition( input: DeleteModelBiasJobDefinitionRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteModelCard( input: DeleteModelCardRequest, - ): Effect.Effect<{}, ConflictException | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ConflictException | ResourceNotFound | CommonAwsError + >; deleteModelExplainabilityJobDefinition( input: DeleteModelExplainabilityJobDefinitionRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteModelPackage( input: DeleteModelPackageInput, - ): Effect.Effect<{}, ConflictException | CommonAwsError>; + ): Effect.Effect< + {}, + ConflictException | CommonAwsError + >; deleteModelPackageGroup( input: DeleteModelPackageGroupInput, - ): Effect.Effect<{}, ConflictException | CommonAwsError>; + ): Effect.Effect< + {}, + ConflictException | CommonAwsError + >; deleteModelPackageGroupPolicy( input: DeleteModelPackageGroupPolicyInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteModelQualityJobDefinition( input: DeleteModelQualityJobDefinitionRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteMonitoringSchedule( input: DeleteMonitoringScheduleRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deleteNotebookInstance( input: DeleteNotebookInstanceInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteNotebookInstanceLifecycleConfig( input: DeleteNotebookInstanceLifecycleConfigInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteOptimizationJob( input: DeleteOptimizationJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; deletePartnerApp( input: DeletePartnerAppRequest, ): Effect.Effect< @@ -575,25 +719,46 @@ export declare class SageMaker extends AWSServiceClient { >; deleteProcessingJob( input: DeleteProcessingJobRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceNotFound | CommonAwsError + >; deleteProject( input: DeleteProjectInput, - ): Effect.Effect<{}, ConflictException | CommonAwsError>; + ): Effect.Effect< + {}, + ConflictException | CommonAwsError + >; deleteSpace( input: DeleteSpaceRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceNotFound | CommonAwsError + >; deleteStudioLifecycleConfig( input: DeleteStudioLifecycleConfigRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceNotFound | CommonAwsError + >; deleteTags( input: DeleteTagsInput, - ): Effect.Effect; + ): Effect.Effect< + DeleteTagsOutput, + CommonAwsError + >; deleteTrainingJob( input: DeleteTrainingJobRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceNotFound | CommonAwsError + >; deleteTrial( input: DeleteTrialRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTrialResponse, + ResourceNotFound | CommonAwsError + >; deleteTrialComponent( input: DeleteTrialComponentRequest, ): Effect.Effect< @@ -602,10 +767,16 @@ export declare class SageMaker extends AWSServiceClient { >; deleteUserProfile( input: DeleteUserProfileRequest, - ): Effect.Effect<{}, ResourceInUse | ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | ResourceNotFound | CommonAwsError + >; deleteWorkforce( input: DeleteWorkforceRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteWorkforceResponse, + CommonAwsError + >; deleteWorkteam( input: DeleteWorkteamRequest, ): Effect.Effect< @@ -614,16 +785,28 @@ export declare class SageMaker extends AWSServiceClient { >; deregisterDevices( input: DeregisterDevicesRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; describeAction( input: DescribeActionRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeActionResponse, + ResourceNotFound | CommonAwsError + >; describeAlgorithm( input: DescribeAlgorithmInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeAlgorithmOutput, + CommonAwsError + >; describeApp( input: DescribeAppRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeAppResponse, + ResourceNotFound | CommonAwsError + >; describeAppImageConfig( input: DescribeAppImageConfigRequest, ): Effect.Effect< @@ -632,7 +815,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeArtifact( input: DescribeArtifactRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeArtifactResponse, + ResourceNotFound | CommonAwsError + >; describeAutoMLJob( input: DescribeAutoMLJobRequest, ): Effect.Effect< @@ -647,7 +833,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeCluster( input: DescribeClusterRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeClusterResponse, + ResourceNotFound | CommonAwsError + >; describeClusterEvent( input: DescribeClusterEventRequest, ): Effect.Effect< @@ -668,7 +857,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeCodeRepository( input: DescribeCodeRepositoryInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeCodeRepositoryOutput, + CommonAwsError + >; describeCompilationJob( input: DescribeCompilationJobRequest, ): Effect.Effect< @@ -683,7 +875,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeContext( input: DescribeContextRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeContextResponse, + ResourceNotFound | CommonAwsError + >; describeDataQualityJobDefinition( input: DescribeDataQualityJobDefinitionRequest, ): Effect.Effect< @@ -692,7 +887,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeDevice( input: DescribeDeviceRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeDeviceResponse, + ResourceNotFound | CommonAwsError + >; describeDeviceFleet( input: DescribeDeviceFleetRequest, ): Effect.Effect< @@ -701,7 +899,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeDomain( input: DescribeDomainRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeDomainResponse, + ResourceNotFound | CommonAwsError + >; describeEdgeDeploymentPlan( input: DescribeEdgeDeploymentPlanRequest, ): Effect.Effect< @@ -716,10 +917,16 @@ export declare class SageMaker extends AWSServiceClient { >; describeEndpoint( input: DescribeEndpointInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeEndpointOutput, + CommonAwsError + >; describeEndpointConfig( input: DescribeEndpointConfigInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeEndpointConfigOutput, + CommonAwsError + >; describeExperiment( input: DescribeExperimentRequest, ): Effect.Effect< @@ -746,7 +953,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeHub( input: DescribeHubRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeHubResponse, + ResourceNotFound | CommonAwsError + >; describeHubContent( input: DescribeHubContentRequest, ): Effect.Effect< @@ -779,7 +989,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeInferenceComponent( input: DescribeInferenceComponentInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeInferenceComponentOutput, + CommonAwsError + >; describeInferenceExperiment( input: DescribeInferenceExperimentRequest, ): Effect.Effect< @@ -812,7 +1025,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeModel( input: DescribeModelInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeModelOutput, + CommonAwsError + >; describeModelBiasJobDefinition( input: DescribeModelBiasJobDefinitionRequest, ): Effect.Effect< @@ -839,10 +1055,16 @@ export declare class SageMaker extends AWSServiceClient { >; describeModelPackage( input: DescribeModelPackageInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeModelPackageOutput, + CommonAwsError + >; describeModelPackageGroup( input: DescribeModelPackageGroupInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeModelPackageGroupOutput, + CommonAwsError + >; describeModelQualityJobDefinition( input: DescribeModelQualityJobDefinitionRequest, ): Effect.Effect< @@ -857,7 +1079,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeNotebookInstance( input: DescribeNotebookInstanceInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeNotebookInstanceOutput, + CommonAwsError + >; describeNotebookInstanceLifecycleConfig( input: DescribeNotebookInstanceLifecycleConfigInput, ): Effect.Effect< @@ -878,7 +1103,10 @@ export declare class SageMaker extends AWSServiceClient { >; describePipeline( input: DescribePipelineRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribePipelineResponse, + ResourceNotFound | CommonAwsError + >; describePipelineDefinitionForExecution( input: DescribePipelineDefinitionForExecutionRequest, ): Effect.Effect< @@ -899,7 +1127,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeProject( input: DescribeProjectInput, - ): Effect.Effect; + ): Effect.Effect< + DescribeProjectOutput, + CommonAwsError + >; describeReservedCapacity( input: DescribeReservedCapacityRequest, ): Effect.Effect< @@ -908,7 +1139,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeSpace( input: DescribeSpaceRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSpaceResponse, + ResourceNotFound | CommonAwsError + >; describeStudioLifecycleConfig( input: DescribeStudioLifecycleConfigRequest, ): Effect.Effect< @@ -917,7 +1151,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeSubscribedWorkteam( input: DescribeSubscribedWorkteamRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeSubscribedWorkteamResponse, + CommonAwsError + >; describeTrainingJob( input: DescribeTrainingJobRequest, ): Effect.Effect< @@ -938,7 +1175,10 @@ export declare class SageMaker extends AWSServiceClient { >; describeTrial( input: DescribeTrialRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeTrialResponse, + ResourceNotFound | CommonAwsError + >; describeTrialComponent( input: DescribeTrialComponentRequest, ): Effect.Effect< @@ -953,10 +1193,16 @@ export declare class SageMaker extends AWSServiceClient { >; describeWorkforce( input: DescribeWorkforceRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeWorkforceResponse, + CommonAwsError + >; describeWorkteam( input: DescribeWorkteamRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeWorkteamResponse, + CommonAwsError + >; detachClusterNodeVolume( input: DetachClusterNodeVolumeRequest, ): Effect.Effect< @@ -983,7 +1229,10 @@ export declare class SageMaker extends AWSServiceClient { >; getDeviceFleetReport( input: GetDeviceFleetReportRequest, - ): Effect.Effect; + ): Effect.Effect< + GetDeviceFleetReportResponse, + CommonAwsError + >; getLineageGroupPolicy( input: GetLineageGroupPolicyRequest, ): Effect.Effect< @@ -992,8 +1241,11 @@ export declare class SageMaker extends AWSServiceClient { >; getModelPackageGroupPolicy( input: GetModelPackageGroupPolicyInput, - ): Effect.Effect; - getSagemakerServicecatalogPortfolioStatus( + ): Effect.Effect< + GetModelPackageGroupPolicyOutput, + CommonAwsError + >; + getSagemakerServicecatalogPortfolioStatus( input: GetSagemakerServicecatalogPortfolioStatusInput, ): Effect.Effect< GetSagemakerServicecatalogPortfolioStatusOutput, @@ -1007,7 +1259,10 @@ export declare class SageMaker extends AWSServiceClient { >; getSearchSuggestions( input: GetSearchSuggestionsRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSearchSuggestionsResponse, + CommonAwsError + >; importHubContent( input: ImportHubContentRequest, ): Effect.Effect< @@ -1016,28 +1271,52 @@ export declare class SageMaker extends AWSServiceClient { >; listActions( input: ListActionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListActionsResponse, + ResourceNotFound | CommonAwsError + >; listAlgorithms( input: ListAlgorithmsInput, - ): Effect.Effect; + ): Effect.Effect< + ListAlgorithmsOutput, + CommonAwsError + >; listAliases( input: ListAliasesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAliasesResponse, + ResourceNotFound | CommonAwsError + >; listAppImageConfigs( input: ListAppImageConfigsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAppImageConfigsResponse, + CommonAwsError + >; listApps( input: ListAppsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAppsResponse, + CommonAwsError + >; listArtifacts( input: ListArtifactsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListArtifactsResponse, + ResourceNotFound | CommonAwsError + >; listAssociations( input: ListAssociationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAssociationsResponse, + ResourceNotFound | CommonAwsError + >; listAutoMLJobs( input: ListAutoMLJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListAutoMLJobsResponse, + CommonAwsError + >; listCandidatesForAutoMLJob( input: ListCandidatesForAutoMLJobRequest, ): Effect.Effect< @@ -1052,61 +1331,118 @@ export declare class SageMaker extends AWSServiceClient { >; listClusterNodes( input: ListClusterNodesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListClusterNodesResponse, + ResourceNotFound | CommonAwsError + >; listClusters( input: ListClustersRequest, - ): Effect.Effect; + ): Effect.Effect< + ListClustersResponse, + CommonAwsError + >; listClusterSchedulerConfigs( input: ListClusterSchedulerConfigsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListClusterSchedulerConfigsResponse, + CommonAwsError + >; listCodeRepositories( input: ListCodeRepositoriesInput, - ): Effect.Effect; + ): Effect.Effect< + ListCodeRepositoriesOutput, + CommonAwsError + >; listCompilationJobs( input: ListCompilationJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListCompilationJobsResponse, + CommonAwsError + >; listComputeQuotas( input: ListComputeQuotasRequest, - ): Effect.Effect; + ): Effect.Effect< + ListComputeQuotasResponse, + CommonAwsError + >; listContexts( input: ListContextsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListContextsResponse, + ResourceNotFound | CommonAwsError + >; listDataQualityJobDefinitions( input: ListDataQualityJobDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDataQualityJobDefinitionsResponse, + CommonAwsError + >; listDeviceFleets( input: ListDeviceFleetsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDeviceFleetsResponse, + CommonAwsError + >; listDevices( input: ListDevicesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDevicesResponse, + CommonAwsError + >; listDomains( input: ListDomainsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListDomainsResponse, + CommonAwsError + >; listEdgeDeploymentPlans( input: ListEdgeDeploymentPlansRequest, - ): Effect.Effect; + ): Effect.Effect< + ListEdgeDeploymentPlansResponse, + CommonAwsError + >; listEdgePackagingJobs( input: ListEdgePackagingJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListEdgePackagingJobsResponse, + CommonAwsError + >; listEndpointConfigs( input: ListEndpointConfigsInput, - ): Effect.Effect; + ): Effect.Effect< + ListEndpointConfigsOutput, + CommonAwsError + >; listEndpoints( input: ListEndpointsInput, - ): Effect.Effect; + ): Effect.Effect< + ListEndpointsOutput, + CommonAwsError + >; listExperiments( input: ListExperimentsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListExperimentsResponse, + CommonAwsError + >; listFeatureGroups( input: ListFeatureGroupsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListFeatureGroupsResponse, + CommonAwsError + >; listFlowDefinitions( input: ListFlowDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListFlowDefinitionsResponse, + CommonAwsError + >; listHubContents( input: ListHubContentsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListHubContentsResponse, + ResourceNotFound | CommonAwsError + >; listHubContentVersions( input: ListHubContentVersionsRequest, ): Effect.Effect< @@ -1115,16 +1451,28 @@ export declare class SageMaker extends AWSServiceClient { >; listHubs( input: ListHubsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListHubsResponse, + CommonAwsError + >; listHumanTaskUis( input: ListHumanTaskUisRequest, - ): Effect.Effect; + ): Effect.Effect< + ListHumanTaskUisResponse, + CommonAwsError + >; listHyperParameterTuningJobs( input: ListHyperParameterTuningJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListHyperParameterTuningJobsResponse, + CommonAwsError + >; listImages( input: ListImagesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListImagesResponse, + CommonAwsError + >; listImageVersions( input: ListImageVersionsRequest, ): Effect.Effect< @@ -1133,13 +1481,22 @@ export declare class SageMaker extends AWSServiceClient { >; listInferenceComponents( input: ListInferenceComponentsInput, - ): Effect.Effect; + ): Effect.Effect< + ListInferenceComponentsOutput, + CommonAwsError + >; listInferenceExperiments( input: ListInferenceExperimentsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListInferenceExperimentsResponse, + CommonAwsError + >; listInferenceRecommendationsJobs( input: ListInferenceRecommendationsJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListInferenceRecommendationsJobsResponse, + CommonAwsError + >; listInferenceRecommendationsJobSteps( input: ListInferenceRecommendationsJobStepsRequest, ): Effect.Effect< @@ -1148,7 +1505,10 @@ export declare class SageMaker extends AWSServiceClient { >; listLabelingJobs( input: ListLabelingJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListLabelingJobsResponse, + CommonAwsError + >; listLabelingJobsForWorkteam( input: ListLabelingJobsForWorkteamRequest, ): Effect.Effect< @@ -1157,19 +1517,34 @@ export declare class SageMaker extends AWSServiceClient { >; listLineageGroups( input: ListLineageGroupsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListLineageGroupsResponse, + CommonAwsError + >; listMlflowTrackingServers( input: ListMlflowTrackingServersRequest, - ): Effect.Effect; + ): Effect.Effect< + ListMlflowTrackingServersResponse, + CommonAwsError + >; listModelBiasJobDefinitions( input: ListModelBiasJobDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListModelBiasJobDefinitionsResponse, + CommonAwsError + >; listModelCardExportJobs( input: ListModelCardExportJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListModelCardExportJobsResponse, + CommonAwsError + >; listModelCards( input: ListModelCardsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListModelCardsResponse, + CommonAwsError + >; listModelCardVersions( input: ListModelCardVersionsRequest, ): Effect.Effect< @@ -1184,19 +1559,34 @@ export declare class SageMaker extends AWSServiceClient { >; listModelMetadata( input: ListModelMetadataRequest, - ): Effect.Effect; + ): Effect.Effect< + ListModelMetadataResponse, + CommonAwsError + >; listModelPackageGroups( input: ListModelPackageGroupsInput, - ): Effect.Effect; + ): Effect.Effect< + ListModelPackageGroupsOutput, + CommonAwsError + >; listModelPackages( input: ListModelPackagesInput, - ): Effect.Effect; + ): Effect.Effect< + ListModelPackagesOutput, + CommonAwsError + >; listModelQualityJobDefinitions( input: ListModelQualityJobDefinitionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListModelQualityJobDefinitionsResponse, + CommonAwsError + >; listModels( input: ListModelsInput, - ): Effect.Effect; + ): Effect.Effect< + ListModelsOutput, + CommonAwsError + >; listMonitoringAlertHistory( input: ListMonitoringAlertHistoryRequest, ): Effect.Effect< @@ -1211,22 +1601,40 @@ export declare class SageMaker extends AWSServiceClient { >; listMonitoringExecutions( input: ListMonitoringExecutionsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListMonitoringExecutionsResponse, + CommonAwsError + >; listMonitoringSchedules( input: ListMonitoringSchedulesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListMonitoringSchedulesResponse, + CommonAwsError + >; listNotebookInstanceLifecycleConfigs( input: ListNotebookInstanceLifecycleConfigsInput, - ): Effect.Effect; + ): Effect.Effect< + ListNotebookInstanceLifecycleConfigsOutput, + CommonAwsError + >; listNotebookInstances( input: ListNotebookInstancesInput, - ): Effect.Effect; + ): Effect.Effect< + ListNotebookInstancesOutput, + CommonAwsError + >; listOptimizationJobs( input: ListOptimizationJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListOptimizationJobsResponse, + CommonAwsError + >; listPartnerApps( input: ListPartnerAppsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListPartnerAppsResponse, + CommonAwsError + >; listPipelineExecutions( input: ListPipelineExecutionsRequest, ): Effect.Effect< @@ -1247,7 +1655,10 @@ export declare class SageMaker extends AWSServiceClient { >; listPipelines( input: ListPipelinesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListPipelinesResponse, + CommonAwsError + >; listPipelineVersions( input: ListPipelineVersionsRequest, ): Effect.Effect< @@ -1256,19 +1667,34 @@ export declare class SageMaker extends AWSServiceClient { >; listProcessingJobs( input: ListProcessingJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListProcessingJobsResponse, + CommonAwsError + >; listProjects( input: ListProjectsInput, - ): Effect.Effect; + ): Effect.Effect< + ListProjectsOutput, + CommonAwsError + >; listResourceCatalogs( input: ListResourceCatalogsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListResourceCatalogsResponse, + CommonAwsError + >; listSpaces( input: ListSpacesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListSpacesResponse, + CommonAwsError + >; listStageDevices( input: ListStageDevicesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListStageDevicesResponse, + CommonAwsError + >; listStudioLifecycleConfigs( input: ListStudioLifecycleConfigsRequest, ): Effect.Effect< @@ -1277,11 +1703,22 @@ export declare class SageMaker extends AWSServiceClient { >; listSubscribedWorkteams( input: ListSubscribedWorkteamsRequest, - ): Effect.Effect; - listTags(input: ListTagsInput): Effect.Effect; + ): Effect.Effect< + ListSubscribedWorkteamsResponse, + CommonAwsError + >; + listTags( + input: ListTagsInput, + ): Effect.Effect< + ListTagsOutput, + CommonAwsError + >; listTrainingJobs( input: ListTrainingJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTrainingJobsResponse, + CommonAwsError + >; listTrainingJobsForHyperParameterTuningJob( input: ListTrainingJobsForHyperParameterTuningJobRequest, ): Effect.Effect< @@ -1290,10 +1727,16 @@ export declare class SageMaker extends AWSServiceClient { >; listTrainingPlans( input: ListTrainingPlansRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTrainingPlansResponse, + CommonAwsError + >; listTransformJobs( input: ListTransformJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTransformJobsResponse, + CommonAwsError + >; listTrialComponents( input: ListTrialComponentsRequest, ): Effect.Effect< @@ -1302,7 +1745,10 @@ export declare class SageMaker extends AWSServiceClient { >; listTrials( input: ListTrialsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListTrialsResponse, + ResourceNotFound | CommonAwsError + >; listUltraServersByReservedCapacity( input: ListUltraServersByReservedCapacityRequest, ): Effect.Effect< @@ -1311,13 +1757,22 @@ export declare class SageMaker extends AWSServiceClient { >; listUserProfiles( input: ListUserProfilesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListUserProfilesResponse, + CommonAwsError + >; listWorkforces( input: ListWorkforcesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListWorkforcesResponse, + CommonAwsError + >; listWorkteams( input: ListWorkteamsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListWorkteamsResponse, + CommonAwsError + >; putModelPackageGroupPolicy( input: PutModelPackageGroupPolicyInput, ): Effect.Effect< @@ -1326,23 +1781,34 @@ export declare class SageMaker extends AWSServiceClient { >; queryLineage( input: QueryLineageRequest, - ): Effect.Effect; + ): Effect.Effect< + QueryLineageResponse, + ResourceNotFound | CommonAwsError + >; registerDevices( input: RegisterDevicesRequest, - ): Effect.Effect<{}, ResourceLimitExceeded | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceLimitExceeded | CommonAwsError + >; renderUiTemplate( input: RenderUiTemplateRequest, - ): Effect.Effect; + ): Effect.Effect< + RenderUiTemplateResponse, + ResourceNotFound | CommonAwsError + >; retryPipelineExecution( input: RetryPipelineExecutionRequest, ): Effect.Effect< RetryPipelineExecutionResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError + >; + search( + input: SearchRequest, + ): Effect.Effect< + SearchResponse, + CommonAwsError >; - search(input: SearchRequest): Effect.Effect; searchTrainingPlanOfferings( input: SearchTrainingPlanOfferingsRequest, ): Effect.Effect< @@ -1353,23 +1819,20 @@ export declare class SageMaker extends AWSServiceClient { input: SendPipelineExecutionStepFailureRequest, ): Effect.Effect< SendPipelineExecutionStepFailureResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; sendPipelineExecutionStepSuccess( input: SendPipelineExecutionStepSuccessRequest, ): Effect.Effect< SendPipelineExecutionStepSuccessResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; startEdgeDeploymentStage( input: StartEdgeDeploymentStageRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; startInferenceExperiment( input: StartInferenceExperimentRequest, ): Effect.Effect< @@ -1384,18 +1847,21 @@ export declare class SageMaker extends AWSServiceClient { >; startMonitoringSchedule( input: StartMonitoringScheduleRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; startNotebookInstance( input: StartNotebookInstanceInput, - ): Effect.Effect<{}, ResourceLimitExceeded | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceLimitExceeded | CommonAwsError + >; startPipelineExecution( input: StartPipelineExecutionRequest, ): Effect.Effect< StartPipelineExecutionResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; startSession( input: StartSessionRequest, @@ -1405,19 +1871,34 @@ export declare class SageMaker extends AWSServiceClient { >; stopAutoMLJob( input: StopAutoMLJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; stopCompilationJob( input: StopCompilationJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; stopEdgeDeploymentStage( input: StopEdgeDeploymentStageRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; stopEdgePackagingJob( input: StopEdgePackagingJobRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; stopHyperParameterTuningJob( input: StopHyperParameterTuningJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; stopInferenceExperiment( input: StopInferenceExperimentRequest, ): Effect.Effect< @@ -1426,10 +1907,16 @@ export declare class SageMaker extends AWSServiceClient { >; stopInferenceRecommendationsJob( input: StopInferenceRecommendationsJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; stopLabelingJob( input: StopLabelingJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; stopMlflowTrackingServer( input: StopMlflowTrackingServerRequest, ): Effect.Effect< @@ -1438,13 +1925,22 @@ export declare class SageMaker extends AWSServiceClient { >; stopMonitoringSchedule( input: StopMonitoringScheduleRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; stopNotebookInstance( input: StopNotebookInstanceInput, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; stopOptimizationJob( input: StopOptimizationJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; stopPipelineExecution( input: StopPipelineExecutionRequest, ): Effect.Effect< @@ -1453,13 +1949,22 @@ export declare class SageMaker extends AWSServiceClient { >; stopProcessingJob( input: StopProcessingJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; stopTrainingJob( input: StopTrainingJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; stopTransformJob( input: StopTransformJobRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; updateAction( input: UpdateActionRequest, ): Effect.Effect< @@ -1482,19 +1987,13 @@ export declare class SageMaker extends AWSServiceClient { input: UpdateClusterRequest, ): Effect.Effect< UpdateClusterResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; updateClusterSchedulerConfig( input: UpdateClusterSchedulerConfigRequest, ): Effect.Effect< UpdateClusterSchedulerConfigResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; updateClusterSoftware( input: UpdateClusterSoftwareRequest, @@ -1512,10 +2011,7 @@ export declare class SageMaker extends AWSServiceClient { input: UpdateComputeQuotaRequest, ): Effect.Effect< UpdateComputeQuotaResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; updateContext( input: UpdateContextRequest, @@ -1525,8 +2021,16 @@ export declare class SageMaker extends AWSServiceClient { >; updateDeviceFleet( input: UpdateDeviceFleetRequest, - ): Effect.Effect<{}, ResourceInUse | CommonAwsError>; - updateDevices(input: UpdateDevicesRequest): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + ResourceInUse | CommonAwsError + >; + updateDevices( + input: UpdateDevicesRequest, + ): Effect.Effect< + {}, + CommonAwsError + >; updateDomain( input: UpdateDomainRequest, ): Effect.Effect< @@ -1559,10 +2063,16 @@ export declare class SageMaker extends AWSServiceClient { >; updateFeatureMetadata( input: UpdateFeatureMetadataRequest, - ): Effect.Effect<{}, ResourceNotFound | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFound | CommonAwsError + >; updateHub( input: UpdateHubRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateHubResponse, + ResourceNotFound | CommonAwsError + >; updateHubContent( input: UpdateHubContentRequest, ): Effect.Effect< @@ -1608,20 +2118,14 @@ export declare class SageMaker extends AWSServiceClient { updateMlflowTrackingServer( input: UpdateMlflowTrackingServerRequest, ): Effect.Effect< - UpdateMlflowTrackingServerResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + UpdateMlflowTrackingServerResponse, + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; updateModelCard( input: UpdateModelCardRequest, ): Effect.Effect< UpdateModelCardResponse, - | ConflictException - | ResourceLimitExceeded - | ResourceNotFound - | CommonAwsError + ConflictException | ResourceLimitExceeded | ResourceNotFound | CommonAwsError >; updateModelPackage( input: UpdateModelPackageInput, @@ -1679,7 +2183,10 @@ export declare class SageMaker extends AWSServiceClient { >; updateProject( input: UpdateProjectInput, - ): Effect.Effect; + ): Effect.Effect< + UpdateProjectOutput, + ConflictException | CommonAwsError + >; updateSpace( input: UpdateSpaceRequest, ): Effect.Effect< @@ -1712,7 +2219,10 @@ export declare class SageMaker extends AWSServiceClient { >; updateWorkforce( input: UpdateWorkforceRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateWorkforceResponse, + ConflictException | CommonAwsError + >; updateWorkteam( input: UpdateWorkteamRequest, ): Effect.Effect< @@ -1738,13 +2248,7 @@ export interface ActionSource { SourceType?: string; SourceId?: string; } -export type ActionStatus = - | "Unknown" - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped"; +export type ActionStatus = "Unknown" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"; export type ActionSummaries = Array; export interface ActionSummary { ActionArn?: string; @@ -1769,8 +2273,7 @@ export interface AddClusterNodeSpecification { InstanceGroupName: string; IncrementTargetCountBy: number; } -export type AddClusterNodeSpecificationList = - Array; +export type AddClusterNodeSpecificationList = Array; export type AdditionalCodeRepositoryNamesOrUrls = Array; export interface AdditionalEnis { EfaEnis?: Array; @@ -1784,8 +2287,7 @@ export interface AdditionalInferenceSpecificationDefinition { SupportedContentTypes?: Array; SupportedResponseMIMETypes?: Array; } -export type AdditionalInferenceSpecifications = - Array; +export type AdditionalInferenceSpecifications = Array; export type AdditionalModelChannelName = string; export interface AdditionalModelDataSource { @@ -1812,16 +2314,8 @@ export interface AgentVersion { AgentCount: number; } export type AgentVersions = Array; -export type AggregationTransformations = Record< - string, - AggregationTransformationValue ->; -export type AggregationTransformationValue = - | "sum" - | "avg" - | "first" - | "min" - | "max"; +export type AggregationTransformations = Record; +export type AggregationTransformationValue = "sum" | "avg" | "first" | "min" | "max"; export interface Alarm { AlarmName?: string; } @@ -1846,12 +2340,7 @@ export interface AlgorithmSpecification { ContainerArguments?: Array; TrainingImageConfig?: TrainingImageConfig; } -export type AlgorithmStatus = - | "Pending" - | "InProgress" - | "Completed" - | "Failed" - | "Deleting"; +export type AlgorithmStatus = "Pending" | "InProgress" | "Completed" | "Failed" | "Deleting"; export interface AlgorithmStatusDetails { ValidationStatuses?: Array; ImageScanStatuses?: Array; @@ -1913,174 +2402,8 @@ export interface AppImageConfigDetails { export type AppImageConfigList = Array; export type AppImageConfigName = string; -export type AppImageConfigSortKey = - | "CreationTime" - | "LastModifiedTime" - | "Name"; -export type AppInstanceType = - | "system" - | "ml.t3.micro" - | "ml.t3.small" - | "ml.t3.medium" - | "ml.t3.large" - | "ml.t3.xlarge" - | "ml.t3.2xlarge" - | "ml.m5.large" - | "ml.m5.xlarge" - | "ml.m5.2xlarge" - | "ml.m5.4xlarge" - | "ml.m5.8xlarge" - | "ml.m5.12xlarge" - | "ml.m5.16xlarge" - | "ml.m5.24xlarge" - | "ml.m5d.large" - | "ml.m5d.xlarge" - | "ml.m5d.2xlarge" - | "ml.m5d.4xlarge" - | "ml.m5d.8xlarge" - | "ml.m5d.12xlarge" - | "ml.m5d.16xlarge" - | "ml.m5d.24xlarge" - | "ml.c5.large" - | "ml.c5.xlarge" - | "ml.c5.2xlarge" - | "ml.c5.4xlarge" - | "ml.c5.9xlarge" - | "ml.c5.12xlarge" - | "ml.c5.18xlarge" - | "ml.c5.24xlarge" - | "ml.p3.2xlarge" - | "ml.p3.8xlarge" - | "ml.p3.16xlarge" - | "ml.p3dn.24xlarge" - | "ml.g4dn.xlarge" - | "ml.g4dn.2xlarge" - | "ml.g4dn.4xlarge" - | "ml.g4dn.8xlarge" - | "ml.g4dn.12xlarge" - | "ml.g4dn.16xlarge" - | "ml.r5.large" - | "ml.r5.xlarge" - | "ml.r5.2xlarge" - | "ml.r5.4xlarge" - | "ml.r5.8xlarge" - | "ml.r5.12xlarge" - | "ml.r5.16xlarge" - | "ml.r5.24xlarge" - | "ml.g5.xlarge" - | "ml.g5.2xlarge" - | "ml.g5.4xlarge" - | "ml.g5.8xlarge" - | "ml.g5.16xlarge" - | "ml.g5.12xlarge" - | "ml.g5.24xlarge" - | "ml.g5.48xlarge" - | "ml.g6.xlarge" - | "ml.g6.2xlarge" - | "ml.g6.4xlarge" - | "ml.g6.8xlarge" - | "ml.g6.12xlarge" - | "ml.g6.16xlarge" - | "ml.g6.24xlarge" - | "ml.g6.48xlarge" - | "ml.g6e.xlarge" - | "ml.g6e.2xlarge" - | "ml.g6e.4xlarge" - | "ml.g6e.8xlarge" - | "ml.g6e.12xlarge" - | "ml.g6e.16xlarge" - | "ml.g6e.24xlarge" - | "ml.g6e.48xlarge" - | "ml.geospatial.interactive" - | "ml.p4d.24xlarge" - | "ml.p4de.24xlarge" - | "ml.trn1.2xlarge" - | "ml.trn1.32xlarge" - | "ml.trn1n.32xlarge" - | "ml.p5.48xlarge" - | "ml.p5en.48xlarge" - | "ml.p6-b200.48xlarge" - | "ml.m6i.large" - | "ml.m6i.xlarge" - | "ml.m6i.2xlarge" - | "ml.m6i.4xlarge" - | "ml.m6i.8xlarge" - | "ml.m6i.12xlarge" - | "ml.m6i.16xlarge" - | "ml.m6i.24xlarge" - | "ml.m6i.32xlarge" - | "ml.m7i.large" - | "ml.m7i.xlarge" - | "ml.m7i.2xlarge" - | "ml.m7i.4xlarge" - | "ml.m7i.8xlarge" - | "ml.m7i.12xlarge" - | "ml.m7i.16xlarge" - | "ml.m7i.24xlarge" - | "ml.m7i.48xlarge" - | "ml.c6i.large" - | "ml.c6i.xlarge" - | "ml.c6i.2xlarge" - | "ml.c6i.4xlarge" - | "ml.c6i.8xlarge" - | "ml.c6i.12xlarge" - | "ml.c6i.16xlarge" - | "ml.c6i.24xlarge" - | "ml.c6i.32xlarge" - | "ml.c7i.large" - | "ml.c7i.xlarge" - | "ml.c7i.2xlarge" - | "ml.c7i.4xlarge" - | "ml.c7i.8xlarge" - | "ml.c7i.12xlarge" - | "ml.c7i.16xlarge" - | "ml.c7i.24xlarge" - | "ml.c7i.48xlarge" - | "ml.r6i.large" - | "ml.r6i.xlarge" - | "ml.r6i.2xlarge" - | "ml.r6i.4xlarge" - | "ml.r6i.8xlarge" - | "ml.r6i.12xlarge" - | "ml.r6i.16xlarge" - | "ml.r6i.24xlarge" - | "ml.r6i.32xlarge" - | "ml.r7i.large" - | "ml.r7i.xlarge" - | "ml.r7i.2xlarge" - | "ml.r7i.4xlarge" - | "ml.r7i.8xlarge" - | "ml.r7i.12xlarge" - | "ml.r7i.16xlarge" - | "ml.r7i.24xlarge" - | "ml.r7i.48xlarge" - | "ml.m6id.large" - | "ml.m6id.xlarge" - | "ml.m6id.2xlarge" - | "ml.m6id.4xlarge" - | "ml.m6id.8xlarge" - | "ml.m6id.12xlarge" - | "ml.m6id.16xlarge" - | "ml.m6id.24xlarge" - | "ml.m6id.32xlarge" - | "ml.c6id.large" - | "ml.c6id.xlarge" - | "ml.c6id.2xlarge" - | "ml.c6id.4xlarge" - | "ml.c6id.8xlarge" - | "ml.c6id.12xlarge" - | "ml.c6id.16xlarge" - | "ml.c6id.24xlarge" - | "ml.c6id.32xlarge" - | "ml.r6id.large" - | "ml.r6id.xlarge" - | "ml.r6id.2xlarge" - | "ml.r6id.4xlarge" - | "ml.r6id.8xlarge" - | "ml.r6id.12xlarge" - | "ml.r6id.16xlarge" - | "ml.r6id.24xlarge" - | "ml.r6id.32xlarge"; +export type AppImageConfigSortKey = "CreationTime" | "LastModifiedTime" | "Name"; +export type AppInstanceType = "system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.p5en.48xlarge" | "ml.p6-b200.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge"; export interface AppLifecycleManagement { IdleSettings?: IdleSettings; } @@ -2099,22 +2422,8 @@ export interface AppSpecification { ContainerEntrypoint?: Array; ContainerArguments?: Array; } -export type AppStatus = - | "Deleted" - | "Deleting" - | "Failed" - | "InService" - | "Pending"; -export type AppType = - | "JupyterServer" - | "KernelGateway" - | "DetailedProfiler" - | "TensorBoard" - | "CodeEditor" - | "JupyterLab" - | "RStudioServerPro" - | "RSessionGateway" - | "Canvas"; +export type AppStatus = "Deleted" | "Deleting" | "Failed" | "InService" | "Pending"; +export type AppType = "JupyterServer" | "KernelGateway" | "DetailedProfiler" | "TensorBoard" | "CodeEditor" | "JupyterLab" | "RStudioServerPro" | "RSessionGateway" | "Canvas"; export type ArnOrName = string; export type ArtifactArn = string; @@ -2128,11 +2437,7 @@ export interface ArtifactSource { SourceUri: string; SourceTypes?: Array; } -export type ArtifactSourceIdType = - | "MD5Hash" - | "S3ETag" - | "S3Version" - | "Custom"; +export type ArtifactSourceIdType = "MD5Hash" | "S3ETag" | "S3Version" | "Custom"; export interface ArtifactSourceType { SourceIdType: ArtifactSourceIdType; Value: string; @@ -2156,12 +2461,7 @@ export interface AssociateTrialComponentResponse { TrialComponentArn?: string; TrialArn?: string; } -export type AssociationEdgeType = - | "ContributedTo" - | "AssociatedWith" - | "DerivedFrom" - | "Produced" - | "SameAs"; +export type AssociationEdgeType = "ContributedTo" | "AssociatedWith" | "DerivedFrom" | "Produced" | "SameAs"; export type AssociationEntityArn = string; export type AssociationSummaries = Array; @@ -2196,9 +2496,7 @@ export interface AsyncInferenceOutputConfig { S3FailurePath?: string; } export type AsyncNotificationTopicTypeList = Array; -export type AsyncNotificationTopicTypes = - | "SUCCESS_NOTIFICATION_TOPIC" - | "ERROR_NOTIFICATION_TOPIC"; +export type AsyncNotificationTopicTypes = "SUCCESS_NOTIFICATION_TOPIC" | "ERROR_NOTIFICATION_TOPIC"; export type AthenaCatalog = string; export type AthenaDatabase = string; @@ -2216,12 +2514,7 @@ export interface AthenaDatasetDefinition { export type AthenaQueryString = string; export type AthenaResultCompressionType = "GZIP" | "SNAPPY" | "ZLIB"; -export type AthenaResultFormat = - | "PARQUET" - | "ORC" - | "AVRO" - | "JSON" - | "TEXTFILE"; +export type AthenaResultFormat = "PARQUET" | "ORC" | "AVRO" | "JSON" | "TEXTFILE"; export type AthenaWorkGroup = string; export interface AttachClusterNodeVolumeRequest { @@ -2253,22 +2546,7 @@ export interface AuthorizedUrl { export type AuthorizedUrlConfigs = Array; export type AutoGenerateEndpointName = boolean; -export type AutoMLAlgorithm = - | "xgboost" - | "linear-learner" - | "mlp" - | "lightgbm" - | "catboost" - | "randomforest" - | "extra-trees" - | "nn-torch" - | "fastai" - | "cnn-qr" - | "deepar" - | "prophet" - | "npts" - | "arima" - | "ets"; +export type AutoMLAlgorithm = "xgboost" | "linear-learner" | "mlp" | "lightgbm" | "catboost" | "randomforest" | "extra-trees" | "nn-torch" | "fastai" | "cnn-qr" | "deepar" | "prophet" | "npts" | "arima" | "ets"; export interface AutoMLAlgorithmConfig { AutoMLAlgorithms: Array; } @@ -2324,10 +2602,7 @@ export interface AutoMLDataSplitConfig { } export type AutoMLFailureReason = string; -export type AutoMLInferenceContainerDefinitions = Record< - AutoMLProcessingUnit, - Array ->; +export type AutoMLInferenceContainerDefinitions = Record>; export type AutoMLInputDataConfig = Array; export type AutoMLJobArn = string; @@ -2360,32 +2635,8 @@ export interface AutoMLJobObjective { MetricName: AutoMLMetricEnum; } export type AutoMLJobObjectiveType = "Maximize" | "Minimize"; -export type AutoMLJobSecondaryStatus = - | "Starting" - | "MaxCandidatesReached" - | "Failed" - | "Stopped" - | "MaxAutoMLJobRuntimeReached" - | "Stopping" - | "CandidateDefinitionsGenerated" - | "Completed" - | "ExplainabilityError" - | "DeployingModel" - | "ModelDeploymentError" - | "GeneratingModelInsightsReport" - | "ModelInsightsError" - | "AnalyzingData" - | "FeatureEngineering" - | "ModelTuning" - | "GeneratingExplainabilityReport" - | "TrainingModels" - | "PreTraining"; -export type AutoMLJobStatus = - | "Completed" - | "InProgress" - | "Failed" - | "Stopped" - | "Stopping"; +export type AutoMLJobSecondaryStatus = "Starting" | "MaxCandidatesReached" | "Failed" | "Stopped" | "MaxAutoMLJobRuntimeReached" | "Stopping" | "CandidateDefinitionsGenerated" | "Completed" | "ExplainabilityError" | "DeployingModel" | "ModelDeploymentError" | "GeneratingModelInsightsReport" | "ModelInsightsError" | "AnalyzingData" | "FeatureEngineering" | "ModelTuning" | "GeneratingExplainabilityReport" | "TrainingModels" | "PreTraining"; +export type AutoMLJobStatus = "Completed" | "InProgress" | "Failed" | "Stopped" | "Stopping"; export interface AutoMLJobStepMetadata { Arn?: string; } @@ -2405,51 +2656,8 @@ export type AutoMLMaxResults = number; export type AutoMLMaxResultsForTrials = number; -export type AutoMLMetricEnum = - | "Accuracy" - | "MSE" - | "F1" - | "F1macro" - | "AUC" - | "RMSE" - | "BalancedAccuracy" - | "R2" - | "Recall" - | "RecallMacro" - | "Precision" - | "PrecisionMacro" - | "MAE" - | "MAPE" - | "MASE" - | "WAPE" - | "AverageWeightedQuantileLoss"; -export type AutoMLMetricExtendedEnum = - | "Accuracy" - | "MSE" - | "F1" - | "F1macro" - | "AUC" - | "RMSE" - | "MAE" - | "R2" - | "BalancedAccuracy" - | "Precision" - | "PrecisionMacro" - | "Recall" - | "RecallMacro" - | "LogLoss" - | "InferenceLatency" - | "MAPE" - | "MASE" - | "WAPE" - | "AverageWeightedQuantileLoss" - | "Rouge1" - | "Rouge2" - | "RougeL" - | "RougeLSum" - | "Perplexity" - | "ValidationLoss" - | "TrainingLoss"; +export type AutoMLMetricEnum = "Accuracy" | "MSE" | "F1" | "F1macro" | "AUC" | "RMSE" | "BalancedAccuracy" | "R2" | "Recall" | "RecallMacro" | "Precision" | "PrecisionMacro" | "MAE" | "MAPE" | "MASE" | "WAPE" | "AverageWeightedQuantileLoss"; +export type AutoMLMetricExtendedEnum = "Accuracy" | "MSE" | "F1" | "F1macro" | "AUC" | "RMSE" | "MAE" | "R2" | "BalancedAccuracy" | "Precision" | "PrecisionMacro" | "Recall" | "RecallMacro" | "LogLoss" | "InferenceLatency" | "MAPE" | "MASE" | "WAPE" | "AverageWeightedQuantileLoss" | "Rouge1" | "Rouge2" | "RougeL" | "RougeLSum" | "Perplexity" | "ValidationLoss" | "TrainingLoss"; export type AutoMLMode = "AUTO" | "ENSEMBLING" | "HYPERPARAMETER_TUNING"; export type AutoMLNameContains = string; @@ -2469,38 +2677,14 @@ interface _AutoMLProblemTypeConfig { TextGenerationJobConfig?: TextGenerationJobConfig; } -export type AutoMLProblemTypeConfig = - | (_AutoMLProblemTypeConfig & { - ImageClassificationJobConfig: ImageClassificationJobConfig; - }) - | (_AutoMLProblemTypeConfig & { - TextClassificationJobConfig: TextClassificationJobConfig; - }) - | (_AutoMLProblemTypeConfig & { - TimeSeriesForecastingJobConfig: TimeSeriesForecastingJobConfig; - }) - | (_AutoMLProblemTypeConfig & { TabularJobConfig: TabularJobConfig }) - | (_AutoMLProblemTypeConfig & { - TextGenerationJobConfig: TextGenerationJobConfig; - }); -export type AutoMLProblemTypeConfigName = - | "ImageClassification" - | "TextClassification" - | "TimeSeriesForecasting" - | "Tabular" - | "TextGeneration"; +export type AutoMLProblemTypeConfig = (_AutoMLProblemTypeConfig & { ImageClassificationJobConfig: ImageClassificationJobConfig }) | (_AutoMLProblemTypeConfig & { TextClassificationJobConfig: TextClassificationJobConfig }) | (_AutoMLProblemTypeConfig & { TimeSeriesForecastingJobConfig: TimeSeriesForecastingJobConfig }) | (_AutoMLProblemTypeConfig & { TabularJobConfig: TabularJobConfig }) | (_AutoMLProblemTypeConfig & { TextGenerationJobConfig: TextGenerationJobConfig }); +export type AutoMLProblemTypeConfigName = "ImageClassification" | "TextClassification" | "TimeSeriesForecasting" | "Tabular" | "TextGeneration"; interface _AutoMLProblemTypeResolvedAttributes { TabularResolvedAttributes?: TabularResolvedAttributes; TextGenerationResolvedAttributes?: TextGenerationResolvedAttributes; } -export type AutoMLProblemTypeResolvedAttributes = - | (_AutoMLProblemTypeResolvedAttributes & { - TabularResolvedAttributes: TabularResolvedAttributes; - }) - | (_AutoMLProblemTypeResolvedAttributes & { - TextGenerationResolvedAttributes: TextGenerationResolvedAttributes; - }); +export type AutoMLProblemTypeResolvedAttributes = (_AutoMLProblemTypeResolvedAttributes & { TabularResolvedAttributes: TabularResolvedAttributes }) | (_AutoMLProblemTypeResolvedAttributes & { TextGenerationResolvedAttributes: TextGenerationResolvedAttributes }); export type AutoMLProcessingUnit = "CPU" | "GPU"; export interface AutoMLResolvedAttributes { AutoMLJobObjective?: AutoMLJobObjective; @@ -2511,10 +2695,7 @@ export interface AutoMLS3DataSource { S3DataType: AutoMLS3DataType; S3Uri: string; } -export type AutoMLS3DataType = - | "ManifestFile" - | "S3Prefix" - | "AugmentedManifestFile"; +export type AutoMLS3DataType = "ManifestFile" | "S3Prefix" | "AugmentedManifestFile"; export interface AutoMLSecurityConfig { VolumeKmsKeyId?: string; EnableInterContainerTrafficEncryption?: boolean; @@ -2542,9 +2723,7 @@ export type AvailableInstanceCount = number; export type AvailableSpareInstanceCount = number; -export type AwsManagedHumanLoopRequestSource = - | "AWS/Rekognition/DetectModerationLabels/Image/V3" - | "AWS/Textract/AnalyzeDocument/Forms/V1"; +export type AwsManagedHumanLoopRequestSource = "AWS/Rekognition/DetectModerationLabels/Image/V3" | "AWS/Textract/AnalyzeDocument/Forms/V1"; export type BacktestResultsLocation = string; export type BaseModelName = string; @@ -2555,9 +2734,7 @@ export interface BatchAddClusterNodesError { FailedCount: number; Message?: string; } -export type BatchAddClusterNodesErrorCode = - | "InstanceGroupNotFound" - | "InvalidInstanceGroupStatus"; +export type BatchAddClusterNodesErrorCode = "InstanceGroupNotFound" | "InvalidInstanceGroupStatus"; export type BatchAddClusterNodesErrorList = Array; export interface BatchAddClusterNodesRequest { ClusterName: string; @@ -2582,19 +2759,14 @@ export interface BatchDeleteClusterNodeLogicalIdsError { Message: string; NodeLogicalId: string; } -export type BatchDeleteClusterNodeLogicalIdsErrorList = - Array; +export type BatchDeleteClusterNodeLogicalIdsErrorList = Array; export interface BatchDeleteClusterNodesError { Code: BatchDeleteClusterNodesErrorCode; Message: string; NodeId: string; } -export type BatchDeleteClusterNodesErrorCode = - | "NodeIdNotFound" - | "InvalidNodeStatus" - | "NodeIdInUse"; -export type BatchDeleteClusterNodesErrorList = - Array; +export type BatchDeleteClusterNodesErrorCode = "NodeIdNotFound" | "InvalidNodeStatus" | "NodeIdInUse"; +export type BatchDeleteClusterNodesErrorList = Array; export interface BatchDeleteClusterNodesRequest { ClusterName: string; NodeIds?: Array; @@ -2610,19 +2782,13 @@ export interface BatchDescribeModelPackageError { ErrorCode: string; ErrorResponse: string; } -export type BatchDescribeModelPackageErrorMap = Record< - string, - BatchDescribeModelPackageError ->; +export type BatchDescribeModelPackageErrorMap = Record; export interface BatchDescribeModelPackageInput { ModelPackageArnList: Array; } export interface BatchDescribeModelPackageOutput { ModelPackageSummaries?: Record; - BatchDescribeModelPackageErrorMap?: Record< - string, - BatchDescribeModelPackageError - >; + BatchDescribeModelPackageErrorMap?: Record; } export interface BatchDescribeModelPackageSummary { ModelPackageGroupName: string; @@ -2701,25 +2867,14 @@ export interface CandidateProperties { CandidateArtifactLocations?: CandidateArtifactLocations; CandidateMetrics?: Array; } -export type CandidateSortBy = - | "CreationTime" - | "Status" - | "FinalObjectiveMetricValue"; -export type CandidateStatus = - | "Completed" - | "InProgress" - | "Failed" - | "Stopped" - | "Stopping"; +export type CandidateSortBy = "CreationTime" | "Status" | "FinalObjectiveMetricValue"; +export type CandidateStatus = "Completed" | "InProgress" | "Failed" | "Stopped" | "Stopping"; export type CandidateStepArn = string; export type CandidateStepName = string; export type CandidateSteps = Array; -export type CandidateStepType = - | "AWS::SageMaker::TrainingJob" - | "AWS::SageMaker::TransformJob" - | "AWS::SageMaker::ProcessingJob"; +export type CandidateStepType = "AWS::SageMaker::TrainingJob" | "AWS::SageMaker::TransformJob" | "AWS::SageMaker::ProcessingJob"; export interface CanvasAppSettings { TimeSeriesForecastingSettings?: TimeSeriesForecastingSettings; ModelRegisterSettings?: ModelRegisterSettings; @@ -2937,67 +3092,7 @@ export interface ClarifyTextConfig { Granularity: ClarifyTextGranularity; } export type ClarifyTextGranularity = "token" | "sentence" | "paragraph"; -export type ClarifyTextLanguage = - | "af" - | "sq" - | "ar" - | "hy" - | "eu" - | "bn" - | "bg" - | "ca" - | "zh" - | "hr" - | "cs" - | "da" - | "nl" - | "en" - | "et" - | "fi" - | "fr" - | "de" - | "el" - | "gu" - | "he" - | "hi" - | "hu" - | "is" - | "id" - | "ga" - | "it" - | "kn" - | "ky" - | "lv" - | "lt" - | "lb" - | "mk" - | "ml" - | "mr" - | "ne" - | "nb" - | "fa" - | "pl" - | "pt" - | "ro" - | "ru" - | "sa" - | "sr" - | "tn" - | "si" - | "sk" - | "sl" - | "es" - | "sv" - | "tl" - | "ta" - | "tt" - | "te" - | "tr" - | "uk" - | "ur" - | "yo" - | "lij" - | "xx"; +export type ClarifyTextLanguage = "af" | "sq" | "ar" | "hy" | "eu" | "bn" | "bg" | "ca" | "zh" | "hr" | "cs" | "da" | "nl" | "en" | "et" | "fi" | "fr" | "de" | "el" | "gu" | "he" | "hi" | "hu" | "is" | "id" | "ga" | "it" | "kn" | "ky" | "lv" | "lt" | "lb" | "mk" | "ml" | "mr" | "ne" | "nb" | "fa" | "pl" | "pt" | "ro" | "ru" | "sa" | "sr" | "tn" | "si" | "sk" | "sl" | "es" | "sv" | "tl" | "ta" | "tt" | "te" | "tr" | "uk" | "ur" | "yo" | "lij" | "xx"; export type ClientId = string; export type ClientSecret = string; @@ -3018,11 +3113,7 @@ export interface ClusterAutoScalingConfigOutput { FailureMessage?: string; } export type ClusterAutoScalingMode = "Enable" | "Disable"; -export type ClusterAutoScalingStatus = - | "InService" - | "Failed" - | "Creating" - | "Deleting"; +export type ClusterAutoScalingStatus = "InService" | "Failed" | "Creating" | "Deleting"; export type ClusterAvailabilityZone = string; export type ClusterAvailabilityZoneId = string; @@ -3083,8 +3174,7 @@ export interface ClusterInstanceGroupDetails { SoftwareUpdateStatus?: SoftwareUpdateStatus; ActiveSoftwareUpdateConfig?: DeploymentConfiguration; } -export type ClusterInstanceGroupDetailsList = - Array; +export type ClusterInstanceGroupDetailsList = Array; export type ClusterInstanceGroupName = string; export interface ClusterInstanceGroupSpecification { @@ -3101,8 +3191,7 @@ export interface ClusterInstanceGroupSpecification { ScheduledUpdateConfig?: ScheduledUpdateConfig; ImageId?: string; } -export type ClusterInstanceGroupSpecifications = - Array; +export type ClusterInstanceGroupSpecifications = Array; export type ClusterInstanceGroupsToDelete = Array; export type ClusterInstanceMemoryAllocationPercentage = number; @@ -3110,14 +3199,7 @@ export interface ClusterInstancePlacement { AvailabilityZone?: string; AvailabilityZoneId?: string; } -export type ClusterInstanceStatus = - | "Running" - | "Failure" - | "Pending" - | "ShuttingDown" - | "SystemUpdating" - | "DeepHealthCheckInProgress" - | "NotFound"; +export type ClusterInstanceStatus = "Running" | "Failure" | "Pending" | "ShuttingDown" | "SystemUpdating" | "DeepHealthCheckInProgress" | "NotFound"; export interface ClusterInstanceStatusDetails { Status: ClusterInstanceStatus; Message?: string; @@ -3126,124 +3208,9 @@ interface _ClusterInstanceStorageConfig { EbsVolumeConfig?: ClusterEbsVolumeConfig; } -export type ClusterInstanceStorageConfig = _ClusterInstanceStorageConfig & { - EbsVolumeConfig: ClusterEbsVolumeConfig; -}; +export type ClusterInstanceStorageConfig = (_ClusterInstanceStorageConfig & { EbsVolumeConfig: ClusterEbsVolumeConfig }); export type ClusterInstanceStorageConfigs = Array; -export type ClusterInstanceType = - | "ml.p4d.24xlarge" - | "ml.p4de.24xlarge" - | "ml.p5.48xlarge" - | "ml.p6e-gb200.36xlarge" - | "ml.trn1.32xlarge" - | "ml.trn1n.32xlarge" - | "ml.g5.xlarge" - | "ml.g5.2xlarge" - | "ml.g5.4xlarge" - | "ml.g5.8xlarge" - | "ml.g5.12xlarge" - | "ml.g5.16xlarge" - | "ml.g5.24xlarge" - | "ml.g5.48xlarge" - | "ml.c5.large" - | "ml.c5.xlarge" - | "ml.c5.2xlarge" - | "ml.c5.4xlarge" - | "ml.c5.9xlarge" - | "ml.c5.12xlarge" - | "ml.c5.18xlarge" - | "ml.c5.24xlarge" - | "ml.c5n.large" - | "ml.c5n.2xlarge" - | "ml.c5n.4xlarge" - | "ml.c5n.9xlarge" - | "ml.c5n.18xlarge" - | "ml.m5.large" - | "ml.m5.xlarge" - | "ml.m5.2xlarge" - | "ml.m5.4xlarge" - | "ml.m5.8xlarge" - | "ml.m5.12xlarge" - | "ml.m5.16xlarge" - | "ml.m5.24xlarge" - | "ml.t3.medium" - | "ml.t3.large" - | "ml.t3.xlarge" - | "ml.t3.2xlarge" - | "ml.g6.xlarge" - | "ml.g6.2xlarge" - | "ml.g6.4xlarge" - | "ml.g6.8xlarge" - | "ml.g6.16xlarge" - | "ml.g6.12xlarge" - | "ml.g6.24xlarge" - | "ml.g6.48xlarge" - | "ml.gr6.4xlarge" - | "ml.gr6.8xlarge" - | "ml.g6e.xlarge" - | "ml.g6e.2xlarge" - | "ml.g6e.4xlarge" - | "ml.g6e.8xlarge" - | "ml.g6e.16xlarge" - | "ml.g6e.12xlarge" - | "ml.g6e.24xlarge" - | "ml.g6e.48xlarge" - | "ml.p5e.48xlarge" - | "ml.p5en.48xlarge" - | "ml.p6-b200.48xlarge" - | "ml.trn2.48xlarge" - | "ml.c6i.large" - | "ml.c6i.xlarge" - | "ml.c6i.2xlarge" - | "ml.c6i.4xlarge" - | "ml.c6i.8xlarge" - | "ml.c6i.12xlarge" - | "ml.c6i.16xlarge" - | "ml.c6i.24xlarge" - | "ml.c6i.32xlarge" - | "ml.m6i.large" - | "ml.m6i.xlarge" - | "ml.m6i.2xlarge" - | "ml.m6i.4xlarge" - | "ml.m6i.8xlarge" - | "ml.m6i.12xlarge" - | "ml.m6i.16xlarge" - | "ml.m6i.24xlarge" - | "ml.m6i.32xlarge" - | "ml.r6i.large" - | "ml.r6i.xlarge" - | "ml.r6i.2xlarge" - | "ml.r6i.4xlarge" - | "ml.r6i.8xlarge" - | "ml.r6i.12xlarge" - | "ml.r6i.16xlarge" - | "ml.r6i.24xlarge" - | "ml.r6i.32xlarge" - | "ml.i3en.large" - | "ml.i3en.xlarge" - | "ml.i3en.2xlarge" - | "ml.i3en.3xlarge" - | "ml.i3en.6xlarge" - | "ml.i3en.12xlarge" - | "ml.i3en.24xlarge" - | "ml.m7i.large" - | "ml.m7i.xlarge" - | "ml.m7i.2xlarge" - | "ml.m7i.4xlarge" - | "ml.m7i.8xlarge" - | "ml.m7i.12xlarge" - | "ml.m7i.16xlarge" - | "ml.m7i.24xlarge" - | "ml.m7i.48xlarge" - | "ml.r7i.large" - | "ml.r7i.xlarge" - | "ml.r7i.2xlarge" - | "ml.r7i.4xlarge" - | "ml.r7i.8xlarge" - | "ml.r7i.12xlarge" - | "ml.r7i.16xlarge" - | "ml.r7i.24xlarge" - | "ml.r7i.48xlarge"; +export type ClusterInstanceType = "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.p6e-gb200.36xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.c5n.large" | "ml.c5n.2xlarge" | "ml.c5n.4xlarge" | "ml.c5n.9xlarge" | "ml.c5n.18xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.16xlarge" | "ml.g6.12xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.gr6.4xlarge" | "ml.gr6.8xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.16xlarge" | "ml.g6e.12xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.p5e.48xlarge" | "ml.p5en.48xlarge" | "ml.p6-b200.48xlarge" | "ml.trn2.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.i3en.large" | "ml.i3en.xlarge" | "ml.i3en.2xlarge" | "ml.i3en.3xlarge" | "ml.i3en.6xlarge" | "ml.i3en.12xlarge" | "ml.i3en.24xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge"; export interface ClusterLifeCycleConfig { SourceS3Uri: string; OnCreate: string; @@ -3328,8 +3295,7 @@ export interface ClusterRestrictedInstanceGroupDetails { ScheduledUpdateConfig?: ScheduledUpdateConfig; EnvironmentConfig?: EnvironmentConfigDetails; } -export type ClusterRestrictedInstanceGroupDetailsList = - Array; +export type ClusterRestrictedInstanceGroupDetailsList = Array; export interface ClusterRestrictedInstanceGroupSpecification { InstanceCount: number; InstanceGroupName: string; @@ -3343,8 +3309,7 @@ export interface ClusterRestrictedInstanceGroupSpecification { ScheduledUpdateConfig?: ScheduledUpdateConfig; EnvironmentConfig: EnvironmentConfig; } -export type ClusterRestrictedInstanceGroupSpecifications = - Array; +export type ClusterRestrictedInstanceGroupSpecifications = Array; export type ClusterSchedulerConfigArn = string; export type ClusterSchedulerConfigId = string; @@ -3359,19 +3324,11 @@ export interface ClusterSchedulerConfigSummary { Status: SchedulerResourceStatus; ClusterArn?: string; } -export type ClusterSchedulerConfigSummaryList = - Array; +export type ClusterSchedulerConfigSummaryList = Array; export type ClusterSchedulerPriorityClassName = string; export type ClusterSortBy = "CREATION_TIME" | "NAME"; -export type ClusterStatus = - | "Creating" - | "Deleting" - | "Failed" - | "InService" - | "RollingBack" - | "SystemUpdating" - | "Updating"; +export type ClusterStatus = "Creating" | "Deleting" | "Failed" | "InService" | "RollingBack" | "SystemUpdating" | "Updating"; export type ClusterSummaries = Array; export interface ClusterSummary { ClusterArn: string; @@ -3436,9 +3393,7 @@ interface _CollectionConfig { VectorConfig?: VectorConfig; } -export type CollectionConfig = _CollectionConfig & { - VectorConfig: VectorConfig; -}; +export type CollectionConfig = (_CollectionConfig & { VectorConfig: VectorConfig }); export interface CollectionConfiguration { CollectionName?: string; CollectionParameters?: Record; @@ -3450,13 +3405,7 @@ export type CollectionParameters = Record; export type CollectionType = "List" | "Set" | "Vector"; export type CompilationJobArn = string; -export type CompilationJobStatus = - | "INPROGRESS" - | "COMPLETED" - | "FAILED" - | "STARTING" - | "STOPPING" - | "STOPPED"; +export type CompilationJobStatus = "INPROGRESS" | "COMPLETED" | "FAILED" | "STARTING" | "STOPPING" | "STOPPED"; export type CompilationJobSummaries = Array; export interface CompilationJobSummary { CompilationJobName: string; @@ -3558,9 +3507,7 @@ export type ContainerHostname = string; export type ContainerImage = string; export type ContainerMode = "SingleModel" | "MultiModel"; -export type ContentClassifier = - | "FreeOfPersonallyIdentifiableInformation" - | "FreeOfAdultContent"; +export type ContentClassifier = "FreeOfPersonallyIdentifiableInformation" | "FreeOfAdultContent"; export type ContentClassifiers = Array; export type ContentColumn = string; @@ -4467,22 +4414,14 @@ interface _CustomFileSystem { S3FileSystem?: S3FileSystem; } -export type CustomFileSystem = - | (_CustomFileSystem & { EFSFileSystem: EFSFileSystem }) - | (_CustomFileSystem & { FSxLustreFileSystem: FSxLustreFileSystem }) - | (_CustomFileSystem & { S3FileSystem: S3FileSystem }); +export type CustomFileSystem = (_CustomFileSystem & { EFSFileSystem: EFSFileSystem }) | (_CustomFileSystem & { FSxLustreFileSystem: FSxLustreFileSystem }) | (_CustomFileSystem & { S3FileSystem: S3FileSystem }); interface _CustomFileSystemConfig { EFSFileSystemConfig?: EFSFileSystemConfig; FSxLustreFileSystemConfig?: FSxLustreFileSystemConfig; S3FileSystemConfig?: S3FileSystemConfig; } -export type CustomFileSystemConfig = - | (_CustomFileSystemConfig & { EFSFileSystemConfig: EFSFileSystemConfig }) - | (_CustomFileSystemConfig & { - FSxLustreFileSystemConfig: FSxLustreFileSystemConfig; - }) - | (_CustomFileSystemConfig & { S3FileSystemConfig: S3FileSystemConfig }); +export type CustomFileSystemConfig = (_CustomFileSystemConfig & { EFSFileSystemConfig: EFSFileSystemConfig }) | (_CustomFileSystemConfig & { FSxLustreFileSystemConfig: FSxLustreFileSystemConfig }) | (_CustomFileSystemConfig & { S3FileSystemConfig: S3FileSystemConfig }); export type CustomFileSystemConfigs = Array; export type CustomFileSystems = Array; export interface CustomImage { @@ -4703,7 +4642,8 @@ export interface DeleteFeatureGroupRequest { export interface DeleteFlowDefinitionRequest { FlowDefinitionName: string; } -export interface DeleteFlowDefinitionResponse {} +export interface DeleteFlowDefinitionResponse { +} export interface DeleteHubContentReferenceRequest { HubName: string; HubContentType: HubContentType; @@ -4721,20 +4661,23 @@ export interface DeleteHubRequest { export interface DeleteHumanTaskUiRequest { HumanTaskUiName: string; } -export interface DeleteHumanTaskUiResponse {} +export interface DeleteHumanTaskUiResponse { +} export interface DeleteHyperParameterTuningJobRequest { HyperParameterTuningJobName: string; } export interface DeleteImageRequest { ImageName: string; } -export interface DeleteImageResponse {} +export interface DeleteImageResponse { +} export interface DeleteImageVersionRequest { ImageName: string; Version?: number; Alias?: string; } -export interface DeleteImageVersionResponse {} +export interface DeleteImageVersionResponse { +} export interface DeleteInferenceComponentInput { InferenceComponentName: string; } @@ -4817,7 +4760,8 @@ export interface DeleteTagsInput { ResourceArn: string; TagKeys: Array; } -export interface DeleteTagsOutput {} +export interface DeleteTagsOutput { +} export interface DeleteTrainingJobRequest { TrainingJobName: string; } @@ -4840,7 +4784,8 @@ export interface DeleteUserProfileRequest { export interface DeleteWorkforceRequest { WorkforceName: string; } -export interface DeleteWorkforceResponse {} +export interface DeleteWorkforceResponse { +} export interface DeleteWorkteamRequest { WorkteamName: string; } @@ -4879,8 +4824,7 @@ export interface DeploymentStage { export type DeploymentStageMaxResults = number; export type DeploymentStages = Array; -export type DeploymentStageStatusSummaries = - Array; +export type DeploymentStageStatusSummaries = Array; export interface DeploymentStageStatusSummary { StageName: string; DeviceSelectionConfig: DeviceSelectionConfig; @@ -6170,16 +6114,8 @@ export interface DetachClusterNodeVolumeResponse { Status: VolumeAttachmentStatus; DeviceName: string; } -export type DetailedAlgorithmStatus = - | "NotStarted" - | "InProgress" - | "Completed" - | "Failed"; -export type DetailedModelPackageStatus = - | "NotStarted" - | "InProgress" - | "Completed" - | "Failed"; +export type DetailedAlgorithmStatus = "NotStarted" | "InProgress" | "Completed" | "Failed"; +export type DetailedModelPackageStatus = "NotStarted" | "InProgress" | "Completed" | "Failed"; export interface Device { DeviceName: string; Description?: string; @@ -6187,13 +6123,7 @@ export interface Device { } export type DeviceArn = string; -export type DeviceDeploymentStatus = - | "READYTODEPLOY" - | "INPROGRESS" - | "DEPLOYED" - | "FAILED" - | "STOPPING" - | "STOPPED"; +export type DeviceDeploymentStatus = "READYTODEPLOY" | "INPROGRESS" | "DEPLOYED" | "FAILED" | "STOPPING" | "STOPPED"; export type DeviceDeploymentSummaries = Array; export interface DeviceDeploymentSummary { EdgeDeploymentPlanArn: string; @@ -6259,8 +6189,10 @@ export type DirectoryPath = string; export type DisableProfiler = boolean; -export interface DisableSagemakerServicecatalogPortfolioInput {} -export interface DisableSagemakerServicecatalogPortfolioOutput {} +export interface DisableSagemakerServicecatalogPortfolioInput { +} +export interface DisableSagemakerServicecatalogPortfolioOutput { +} export type DisassociateAdditionalCodeRepositories = boolean; export type DisassociateDefaultCodeRepository = boolean; @@ -6323,14 +6255,7 @@ export interface DomainSettingsForUpdate { UnifiedStudioSettings?: UnifiedStudioSettings; IpAddressType?: IPAddressType; } -export type DomainStatus = - | "Deleting" - | "Failed" - | "InService" - | "Pending" - | "Updating" - | "Update_Failed" - | "Delete_Failed"; +export type DomainStatus = "Deleting" | "Failed" | "InService" | "Pending" | "Updating" | "Update_Failed" | "Delete_Failed"; export type Double = number; export type DoubleParameterValue = number; @@ -6440,13 +6365,7 @@ export interface EdgeOutputConfig { } export type EdgePackagingJobArn = string; -export type EdgePackagingJobStatus = - | "STARTING" - | "INPROGRESS" - | "COMPLETED" - | "FAILED" - | "STOPPING" - | "STOPPED"; +export type EdgePackagingJobStatus = "STARTING" | "INPROGRESS" | "COMPLETED" | "FAILED" | "STOPPING" | "STOPPED"; export type EdgePackagingJobSummaries = Array; export interface EdgePackagingJobSummary { EdgePackagingJobArn: string; @@ -6512,8 +6431,10 @@ export type EnableIotRoleAlias = boolean; export type EnableRemoteDebug = boolean; -export interface EnableSagemakerServicecatalogPortfolioInput {} -export interface EnableSagemakerServicecatalogPortfolioOutput {} +export interface EnableSagemakerServicecatalogPortfolioInput { +} +export interface EnableSagemakerServicecatalogPortfolioOutput { +} export type EnableSessionTagChaining = boolean; export interface Endpoint { @@ -6595,16 +6516,7 @@ export interface EndpointPerformance { export type EndpointPerformances = Array; export type Endpoints = Array; export type EndpointSortKey = "Name" | "CreationTime" | "Status"; -export type EndpointStatus = - | "OutOfService" - | "Creating" - | "Updating" - | "SystemUpdating" - | "RollingBack" - | "InService" - | "Deleting" - | "Failed" - | "UpdateRollbackFailed"; +export type EndpointStatus = "OutOfService" | "Creating" | "Updating" | "SystemUpdating" | "RollingBack" | "InService" | "Deleting" | "Failed" | "UpdateRollbackFailed"; export interface EndpointStepMetadata { Arn?: string; } @@ -6657,24 +6569,13 @@ interface _EventMetadata { Instance?: InstanceMetadata; } -export type EventMetadata = - | (_EventMetadata & { Cluster: ClusterMetadata }) - | (_EventMetadata & { InstanceGroup: InstanceGroupMetadata }) - | (_EventMetadata & { InstanceGroupScaling: InstanceGroupScalingMetadata }) - | (_EventMetadata & { Instance: InstanceMetadata }); +export type EventMetadata = (_EventMetadata & { Cluster: ClusterMetadata }) | (_EventMetadata & { InstanceGroup: InstanceGroupMetadata }) | (_EventMetadata & { InstanceGroupScaling: InstanceGroupScalingMetadata }) | (_EventMetadata & { Instance: InstanceMetadata }); export type EventSortBy = "EventTime"; export type ExcludeFeaturesAttribute = string; export type ExecutionRoleArns = Array; export type ExecutionRoleIdentityConfig = "USER_PROFILE_NAME" | "DISABLED"; -export type ExecutionStatus = - | "Pending" - | "Completed" - | "CompletedWithViolations" - | "InProgress" - | "Failed" - | "Stopping" - | "Stopped"; +export type ExecutionStatus = "Pending" | "Completed" | "CompletedWithViolations" | "InProgress" | "Failed" | "Stopping" | "Stopped"; export type ExitMessage = string; export interface Experiment { @@ -6775,18 +6676,9 @@ export type FeatureGroupNameContains = string; export type FeatureGroupNameOrArn = string; -export type FeatureGroupSortBy = - | "Name" - | "FeatureGroupStatus" - | "OfflineStoreStatus" - | "CreationTime"; +export type FeatureGroupSortBy = "Name" | "FeatureGroupStatus" | "OfflineStoreStatus" | "CreationTime"; export type FeatureGroupSortOrder = "Ascending" | "Descending"; -export type FeatureGroupStatus = - | "Creating" - | "Created" - | "CreateFailed" - | "Deleting" - | "DeleteFailed"; +export type FeatureGroupStatus = "Creating" | "Created" | "CreateFailed" | "Deleting" | "DeleteFailed"; export type FeatureGroupSummaries = Array; export interface FeatureGroupSummary { FeatureGroupName: string; @@ -6843,21 +6735,10 @@ export type FileSystemPath = string; export type FileSystemType = "EFS" | "FSxLustre"; export type FillingTransformationMap = Record; -export type FillingTransformations = Record< - string, - { [key in FillingType]?: string } ->; +export type FillingTransformations = Record; export type FillingTransformationValue = string; -export type FillingType = - | "frontfill" - | "middlefill" - | "backfill" - | "futurefill" - | "frontfill_value" - | "middlefill_value" - | "backfill_value" - | "futurefill_value"; +export type FillingType = "frontfill" | "middlefill" | "backfill" | "futurefill" | "frontfill_value" | "middlefill_value" | "backfill_value" | "futurefill_value"; export interface Filter { Name: string; Operator?: Operator; @@ -6889,11 +6770,7 @@ export interface FlowDefinitionOutputConfig { S3OutputPath: string; KmsKeyId?: string; } -export type FlowDefinitionStatus = - | "Initializing" - | "Active" - | "Failed" - | "Deleting"; +export type FlowDefinitionStatus = "Initializing" | "Active" | "Failed" | "Deleting"; export type FlowDefinitionSummaries = Array; export interface FlowDefinitionSummary { FlowDefinitionName: string; @@ -6922,16 +6799,7 @@ export type ForecastHorizon = number; export type ForecastQuantile = string; export type ForecastQuantiles = Array; -export type Framework = - | "TENSORFLOW" - | "KERAS" - | "MXNET" - | "ONNX" - | "PYTORCH" - | "XGBOOST" - | "TFLITE" - | "DARKNET" - | "SKLEARN"; +export type Framework = "TENSORFLOW" | "KERAS" | "MXNET" | "ONNX" | "PYTORCH" | "XGBOOST" | "TFLITE" | "DARKNET" | "SKLEARN"; export type FrameworkVersion = string; export interface FSxLustreConfig { @@ -6980,7 +6848,8 @@ export interface GetModelPackageGroupPolicyInput { export interface GetModelPackageGroupPolicyOutput { ResourcePolicy: string; } -export interface GetSagemakerServicecatalogPortfolioStatusInput {} +export interface GetSagemakerServicecatalogPortfolioStatusInput { +} export interface GetSagemakerServicecatalogPortfolioStatusOutput { Status?: SagemakerServicecatalogStatus; } @@ -7032,8 +6901,7 @@ export interface HiddenSageMakerImage { SageMakerImageName?: SageMakerImageName; VersionAliases?: Array; } -export type HiddenSageMakerImageVersionAliasesList = - Array; +export type HiddenSageMakerImageVersionAliasesList = Array; export type HolidayConfig = Array; export interface HolidayConfigAttributes { CountryCode?: string; @@ -7080,16 +6948,8 @@ export type HubContentMarkdown = string; export type HubContentName = string; export type HubContentSearchKeywordList = Array; -export type HubContentSortBy = - | "HubContentName" - | "CreationTime" - | "HubContentStatus"; -export type HubContentStatus = - | "Available" - | "Importing" - | "Deleting" - | "ImportFailed" - | "DeleteFailed"; +export type HubContentSortBy = "HubContentName" | "CreationTime" | "HubContentStatus"; +export type HubContentStatus = "Available" | "Importing" | "Deleting" | "ImportFailed" | "DeleteFailed"; export type HubContentSupportStatus = "Supported" | "Deprecated" | "Restricted"; export type HubContentType = "Model" | "Notebook" | "ModelReference"; export type HubContentVersion = string; @@ -7119,19 +6979,8 @@ export interface HubS3StorageConfig { export type HubSearchKeyword = string; export type HubSearchKeywordList = Array; -export type HubSortBy = - | "HubName" - | "CreationTime" - | "HubStatus" - | "AccountIdOwner"; -export type HubStatus = - | "InService" - | "Creating" - | "Updating" - | "Deleting" - | "CreateFailed" - | "UpdateFailed" - | "DeleteFailed"; +export type HubSortBy = "HubName" | "CreationTime" | "HubStatus" | "AccountIdOwner"; +export type HubStatus = "InService" | "Creating" | "Updating" | "Deleting" | "CreateFailed" | "UpdateFailed" | "DeleteFailed"; export type HumanLoopActivationConditions = string; export interface HumanLoopActivationConditionsConfig { @@ -7196,11 +7045,7 @@ export interface HyperParameterAlgorithmSpecification { export type HyperParameterKey = string; export type HyperParameters = Record; -export type HyperParameterScalingType = - | "Auto" - | "Linear" - | "Logarithmic" - | "ReverseLogarithmic"; +export type HyperParameterScalingType = "Auto" | "Linear" | "Logarithmic" | "ReverseLogarithmic"; export interface HyperParameterSpecification { Name: string; Description?: string; @@ -7233,15 +7078,13 @@ export interface HyperParameterTrainingJobDefinition { } export type HyperParameterTrainingJobDefinitionName = string; -export type HyperParameterTrainingJobDefinitions = - Array; +export type HyperParameterTrainingJobDefinitions = Array; export type HyperParameterTrainingJobEnvironmentKey = string; export type HyperParameterTrainingJobEnvironmentMap = Record; export type HyperParameterTrainingJobEnvironmentValue = string; -export type HyperParameterTrainingJobSummaries = - Array; +export type HyperParameterTrainingJobSummaries = Array; export interface HyperParameterTrainingJobSummary { TrainingJobDefinitionName?: string; TrainingJobName: string; @@ -7262,8 +7105,7 @@ export interface HyperParameterTuningInstanceConfig { InstanceCount: number; VolumeSizeInGB: number; } -export type HyperParameterTuningInstanceConfigs = - Array; +export type HyperParameterTuningInstanceConfigs = Array; export type HyperParameterTuningJobArn = string; export interface HyperParameterTuningJobCompletionDetails { @@ -7289,8 +7131,7 @@ export interface HyperParameterTuningJobObjective { Type: HyperParameterTuningJobObjectiveType; MetricName: string; } -export type HyperParameterTuningJobObjectives = - Array; +export type HyperParameterTuningJobObjectives = Array; export type HyperParameterTuningJobObjectiveType = "Maximize" | "Minimize"; export interface HyperParameterTuningJobSearchEntity { HyperParameterTuningJobName?: string; @@ -7312,28 +7153,13 @@ export interface HyperParameterTuningJobSearchEntity { ConsumedResources?: HyperParameterTuningJobConsumedResources; Tags?: Array; } -export type HyperParameterTuningJobSortByOptions = - | "Name" - | "Status" - | "CreationTime"; -export type HyperParameterTuningJobStatus = - | "Completed" - | "InProgress" - | "Failed" - | "Stopped" - | "Stopping" - | "Deleting" - | "DeleteFailed"; +export type HyperParameterTuningJobSortByOptions = "Name" | "Status" | "CreationTime"; +export type HyperParameterTuningJobStatus = "Completed" | "InProgress" | "Failed" | "Stopped" | "Stopping" | "Deleting" | "DeleteFailed"; export interface HyperParameterTuningJobStrategyConfig { HyperbandStrategyConfig?: HyperbandStrategyConfig; } -export type HyperParameterTuningJobStrategyType = - | "Bayesian" - | "Random" - | "Hyperband" - | "Grid"; -export type HyperParameterTuningJobSummaries = - Array; +export type HyperParameterTuningJobStrategyType = "Bayesian" | "Random" | "Hyperband" | "Grid"; +export type HyperParameterTuningJobSummaries = Array; export interface HyperParameterTuningJobSummary { HyperParameterTuningJobName: string; HyperParameterTuningJobArn: string; @@ -7350,9 +7176,7 @@ export interface HyperParameterTuningJobWarmStartConfig { ParentHyperParameterTuningJobs: Array; WarmStartType: HyperParameterTuningJobWarmStartType; } -export type HyperParameterTuningJobWarmStartType = - | "IdenticalDataAndAlgorithm" - | "TransferLearning"; +export type HyperParameterTuningJobWarmStartType = "IdenticalDataAndAlgorithm" | "TransferLearning"; export type HyperParameterTuningMaxRuntimeInSeconds = number; export interface HyperParameterTuningResourceConfig { @@ -7431,14 +7255,7 @@ export type ImageNameContains = string; export type Images = Array; export type ImageSortBy = "CREATION_TIME" | "LAST_MODIFIED_TIME" | "IMAGE_NAME"; export type ImageSortOrder = "ASCENDING" | "DESCENDING"; -export type ImageStatus = - | "CREATING" - | "CREATED" - | "CREATE_FAILED" - | "UPDATING" - | "UPDATE_FAILED" - | "DELETING" - | "DELETE_FAILED"; +export type ImageStatus = "CREATING" | "CREATED" | "CREATE_FAILED" | "UPDATING" | "UPDATE_FAILED" | "DELETING" | "DELETE_FAILED"; export type ImageUri = string; export interface ImageVersion { @@ -7459,17 +7276,9 @@ export type ImageVersionArn = string; export type ImageVersionNumber = number; export type ImageVersions = Array; -export type ImageVersionSortBy = - | "CREATION_TIME" - | "LAST_MODIFIED_TIME" - | "VERSION"; +export type ImageVersionSortBy = "CREATION_TIME" | "LAST_MODIFIED_TIME" | "VERSION"; export type ImageVersionSortOrder = "ASCENDING" | "DESCENDING"; -export type ImageVersionStatus = - | "CREATING" - | "CREATED" - | "CREATE_FAILED" - | "DELETING" - | "DELETE_FAILED"; +export type ImageVersionStatus = "CREATING" | "CREATED" | "CREATE_FAILED" | "DELETING" | "DELETE_FAILED"; export interface ImportHubContentRequest { HubContentName: string; HubContentVersion?: string; @@ -7496,9 +7305,7 @@ export interface InferenceComponentCapacitySize { Type: InferenceComponentCapacitySizeType; Value: number; } -export type InferenceComponentCapacitySizeType = - | "COPY_COUNT" - | "CAPACITY_PERCENT"; +export type InferenceComponentCapacitySizeType = "COPY_COUNT" | "CAPACITY_PERCENT"; export interface InferenceComponentComputeResourceRequirements { NumberOfCpuCoresRequired?: number; NumberOfAcceleratorDevicesRequired?: number; @@ -7565,12 +7372,7 @@ export interface InferenceComponentStartupParameters { ModelDataDownloadTimeoutInSeconds?: number; ContainerStartupHealthCheckTimeoutInSeconds?: number; } -export type InferenceComponentStatus = - | "InService" - | "Creating" - | "Updating" - | "Failed" - | "Deleting"; +export type InferenceComponentStatus = "InService" | "Creating" | "Updating" | "Failed" | "Deleting"; export interface InferenceComponentSummary { CreationTime: Date | string; InferenceComponentArn: string; @@ -7602,15 +7404,7 @@ export interface InferenceExperimentSchedule { StartTime?: Date | string; EndTime?: Date | string; } -export type InferenceExperimentStatus = - | "Creating" - | "Created" - | "Updating" - | "Running" - | "Starting" - | "Stopping" - | "Completed" - | "Cancelled"; +export type InferenceExperimentStatus = "Creating" | "Created" | "Updating" | "Running" | "Starting" | "Stopping" | "Completed" | "Cancelled"; export type InferenceExperimentStatusReason = string; export type InferenceExperimentStopDesiredState = "Completed" | "Cancelled"; @@ -7667,8 +7461,7 @@ export interface InferenceRecommendationsJobStep { Status: RecommendationJobStatus; InferenceBenchmark?: RecommendationJobInferenceBenchmark; } -export type InferenceRecommendationsJobSteps = - Array; +export type InferenceRecommendationsJobSteps = Array; export interface InferenceSpecification { Containers: Array; SupportedTransformInstanceTypes?: Array; @@ -7720,14 +7513,7 @@ export interface InstanceGroupScalingMetadata { TargetCount?: number; FailureMessage?: string; } -export type InstanceGroupStatus = - | "InService" - | "Creating" - | "Updating" - | "Failed" - | "Degraded" - | "SystemUpdating" - | "Deleting"; +export type InstanceGroupStatus = "InService" | "Creating" | "Updating" | "Failed" | "Degraded" | "SystemUpdating" | "Deleting"; export type InstanceGroupTrainingPlanStatus = string; export interface InstanceMetadata { @@ -7745,180 +7531,7 @@ export interface InstancePlacementConfig { EnableMultipleJobs?: boolean; PlacementSpecifications?: Array; } -export type InstanceType = - | "ml.t2.medium" - | "ml.t2.large" - | "ml.t2.xlarge" - | "ml.t2.2xlarge" - | "ml.t3.medium" - | "ml.t3.large" - | "ml.t3.xlarge" - | "ml.t3.2xlarge" - | "ml.m4.xlarge" - | "ml.m4.2xlarge" - | "ml.m4.4xlarge" - | "ml.m4.10xlarge" - | "ml.m4.16xlarge" - | "ml.m5.xlarge" - | "ml.m5.2xlarge" - | "ml.m5.4xlarge" - | "ml.m5.12xlarge" - | "ml.m5.24xlarge" - | "ml.m5d.large" - | "ml.m5d.xlarge" - | "ml.m5d.2xlarge" - | "ml.m5d.4xlarge" - | "ml.m5d.8xlarge" - | "ml.m5d.12xlarge" - | "ml.m5d.16xlarge" - | "ml.m5d.24xlarge" - | "ml.c4.xlarge" - | "ml.c4.2xlarge" - | "ml.c4.4xlarge" - | "ml.c4.8xlarge" - | "ml.c5.xlarge" - | "ml.c5.2xlarge" - | "ml.c5.4xlarge" - | "ml.c5.9xlarge" - | "ml.c5.18xlarge" - | "ml.c5d.xlarge" - | "ml.c5d.2xlarge" - | "ml.c5d.4xlarge" - | "ml.c5d.9xlarge" - | "ml.c5d.18xlarge" - | "ml.p2.xlarge" - | "ml.p2.8xlarge" - | "ml.p2.16xlarge" - | "ml.p3.2xlarge" - | "ml.p3.8xlarge" - | "ml.p3.16xlarge" - | "ml.p3dn.24xlarge" - | "ml.g4dn.xlarge" - | "ml.g4dn.2xlarge" - | "ml.g4dn.4xlarge" - | "ml.g4dn.8xlarge" - | "ml.g4dn.12xlarge" - | "ml.g4dn.16xlarge" - | "ml.r5.large" - | "ml.r5.xlarge" - | "ml.r5.2xlarge" - | "ml.r5.4xlarge" - | "ml.r5.8xlarge" - | "ml.r5.12xlarge" - | "ml.r5.16xlarge" - | "ml.r5.24xlarge" - | "ml.g5.xlarge" - | "ml.g5.2xlarge" - | "ml.g5.4xlarge" - | "ml.g5.8xlarge" - | "ml.g5.16xlarge" - | "ml.g5.12xlarge" - | "ml.g5.24xlarge" - | "ml.g5.48xlarge" - | "ml.inf1.xlarge" - | "ml.inf1.2xlarge" - | "ml.inf1.6xlarge" - | "ml.inf1.24xlarge" - | "ml.trn1.2xlarge" - | "ml.trn1.32xlarge" - | "ml.trn1n.32xlarge" - | "ml.inf2.xlarge" - | "ml.inf2.8xlarge" - | "ml.inf2.24xlarge" - | "ml.inf2.48xlarge" - | "ml.p4d.24xlarge" - | "ml.p4de.24xlarge" - | "ml.p5.48xlarge" - | "ml.p6-b200.48xlarge" - | "ml.m6i.large" - | "ml.m6i.xlarge" - | "ml.m6i.2xlarge" - | "ml.m6i.4xlarge" - | "ml.m6i.8xlarge" - | "ml.m6i.12xlarge" - | "ml.m6i.16xlarge" - | "ml.m6i.24xlarge" - | "ml.m6i.32xlarge" - | "ml.m7i.large" - | "ml.m7i.xlarge" - | "ml.m7i.2xlarge" - | "ml.m7i.4xlarge" - | "ml.m7i.8xlarge" - | "ml.m7i.12xlarge" - | "ml.m7i.16xlarge" - | "ml.m7i.24xlarge" - | "ml.m7i.48xlarge" - | "ml.c6i.large" - | "ml.c6i.xlarge" - | "ml.c6i.2xlarge" - | "ml.c6i.4xlarge" - | "ml.c6i.8xlarge" - | "ml.c6i.12xlarge" - | "ml.c6i.16xlarge" - | "ml.c6i.24xlarge" - | "ml.c6i.32xlarge" - | "ml.c7i.large" - | "ml.c7i.xlarge" - | "ml.c7i.2xlarge" - | "ml.c7i.4xlarge" - | "ml.c7i.8xlarge" - | "ml.c7i.12xlarge" - | "ml.c7i.16xlarge" - | "ml.c7i.24xlarge" - | "ml.c7i.48xlarge" - | "ml.r6i.large" - | "ml.r6i.xlarge" - | "ml.r6i.2xlarge" - | "ml.r6i.4xlarge" - | "ml.r6i.8xlarge" - | "ml.r6i.12xlarge" - | "ml.r6i.16xlarge" - | "ml.r6i.24xlarge" - | "ml.r6i.32xlarge" - | "ml.r7i.large" - | "ml.r7i.xlarge" - | "ml.r7i.2xlarge" - | "ml.r7i.4xlarge" - | "ml.r7i.8xlarge" - | "ml.r7i.12xlarge" - | "ml.r7i.16xlarge" - | "ml.r7i.24xlarge" - | "ml.r7i.48xlarge" - | "ml.m6id.large" - | "ml.m6id.xlarge" - | "ml.m6id.2xlarge" - | "ml.m6id.4xlarge" - | "ml.m6id.8xlarge" - | "ml.m6id.12xlarge" - | "ml.m6id.16xlarge" - | "ml.m6id.24xlarge" - | "ml.m6id.32xlarge" - | "ml.c6id.large" - | "ml.c6id.xlarge" - | "ml.c6id.2xlarge" - | "ml.c6id.4xlarge" - | "ml.c6id.8xlarge" - | "ml.c6id.12xlarge" - | "ml.c6id.16xlarge" - | "ml.c6id.24xlarge" - | "ml.c6id.32xlarge" - | "ml.r6id.large" - | "ml.r6id.xlarge" - | "ml.r6id.2xlarge" - | "ml.r6id.4xlarge" - | "ml.r6id.8xlarge" - | "ml.r6id.12xlarge" - | "ml.r6id.16xlarge" - | "ml.r6id.24xlarge" - | "ml.r6id.32xlarge" - | "ml.g6.xlarge" - | "ml.g6.2xlarge" - | "ml.g6.4xlarge" - | "ml.g6.8xlarge" - | "ml.g6.12xlarge" - | "ml.g6.16xlarge" - | "ml.g6.24xlarge" - | "ml.g6.48xlarge"; +export type InstanceType = "ml.t2.medium" | "ml.t2.large" | "ml.t2.xlarge" | "ml.t2.2xlarge" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.c5d.xlarge" | "ml.c5d.2xlarge" | "ml.c5d.4xlarge" | "ml.c5d.9xlarge" | "ml.c5d.18xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.inf1.xlarge" | "ml.inf1.2xlarge" | "ml.inf1.6xlarge" | "ml.inf1.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.inf2.xlarge" | "ml.inf2.8xlarge" | "ml.inf2.24xlarge" | "ml.inf2.48xlarge" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.p6-b200.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge"; export type Integer = number; export interface IntegerParameterRange { @@ -8046,8 +7659,7 @@ export interface LabelingJobForWorkteamSummary { LabelCounters?: LabelCountersForWorkteam; NumberOfHumanWorkersPerDataObject?: number; } -export type LabelingJobForWorkteamSummaryList = - Array; +export type LabelingJobForWorkteamSummaryList = Array; export interface LabelingJobInputConfig { DataSource: LabelingJobDataSource; DataAttributes?: LabelingJobDataAttributes; @@ -8073,13 +7685,7 @@ export interface LabelingJobS3DataSource { export interface LabelingJobSnsDataSource { SnsTopicArn: string; } -export type LabelingJobStatus = - | "Initializing" - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped"; +export type LabelingJobStatus = "Initializing" | "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"; export interface LabelingJobStoppingConditions { MaxHumanLabeledObjectCount?: number; MaxPercentageOfInputDatasetLabeled?: number; @@ -8406,10 +8012,7 @@ export interface ListDeviceFleetsResponse { DeviceFleetSummaries: Array; NextToken?: string; } -export type ListDeviceFleetsSortBy = - | "NAME" - | "CREATION_TIME" - | "LAST_MODIFIED_TIME"; +export type ListDeviceFleetsSortBy = "NAME" | "CREATION_TIME" | "LAST_MODIFIED_TIME"; export interface ListDevicesRequest { NextToken?: string; MaxResults?: number; @@ -8445,11 +8048,7 @@ export interface ListEdgeDeploymentPlansResponse { EdgeDeploymentPlanSummaries: Array; NextToken?: string; } -export type ListEdgeDeploymentPlansSortBy = - | "NAME" - | "DEVICE_FLEET_NAME" - | "CREATION_TIME" - | "LAST_MODIFIED_TIME"; +export type ListEdgeDeploymentPlansSortBy = "NAME" | "DEVICE_FLEET_NAME" | "CREATION_TIME" | "LAST_MODIFIED_TIME"; export interface ListEdgePackagingJobsRequest { NextToken?: string; MaxResults?: number; @@ -8467,12 +8066,7 @@ export interface ListEdgePackagingJobsResponse { EdgePackagingJobSummaries: Array; NextToken?: string; } -export type ListEdgePackagingJobsSortBy = - | "NAME" - | "MODEL_NAME" - | "CREATION_TIME" - | "LAST_MODIFIED_TIME" - | "STATUS"; +export type ListEdgePackagingJobsSortBy = "NAME" | "MODEL_NAME" | "CREATION_TIME" | "LAST_MODIFIED_TIME" | "STATUS"; export interface ListEndpointConfigsInput { SortBy?: EndpointConfigSortKey; SortOrder?: OrderKey; @@ -8698,10 +8292,7 @@ export interface ListInferenceRecommendationsJobsResponse { InferenceRecommendationsJobs: Array; NextToken?: string; } -export type ListInferenceRecommendationsJobsSortBy = - | "Name" - | "CreationTime" - | "Status"; +export type ListInferenceRecommendationsJobsSortBy = "Name" | "CreationTime" | "Status"; export interface ListInferenceRecommendationsJobStepsRequest { JobName: string; Status?: RecommendationJobStatus; @@ -9426,9 +9017,7 @@ interface _MetricSpecification { Customized?: CustomizedMetricSpecification; } -export type MetricSpecification = - | (_MetricSpecification & { Predefined: PredefinedMetricSpecification }) - | (_MetricSpecification & { Customized: CustomizedMetricSpecification }); +export type MetricSpecification = (_MetricSpecification & { Predefined: PredefinedMetricSpecification }) | (_MetricSpecification & { Customized: CustomizedMetricSpecification }); export interface MetricsSource { ContentType: string; ContentDigest?: string; @@ -9444,27 +9033,7 @@ export type MLFramework = string; export type MlReservationArn = string; -export type MlTools = - | "DataWrangler" - | "FeatureStore" - | "EmrClusters" - | "AutoMl" - | "Experiments" - | "Training" - | "ModelEvaluation" - | "Pipelines" - | "Models" - | "JumpStart" - | "InferenceRecommender" - | "Endpoints" - | "Projects" - | "InferenceOptimization" - | "PerformanceEvaluation" - | "LakeraGuard" - | "Comet" - | "DeepchecksLLMEvaluation" - | "Fiddler" - | "HyperPodClusters"; +export type MlTools = "DataWrangler" | "FeatureStore" | "EmrClusters" | "AutoMl" | "Experiments" | "Training" | "ModelEvaluation" | "Pipelines" | "Models" | "JumpStart" | "InferenceRecommender" | "Endpoints" | "Projects" | "InferenceOptimization" | "PerformanceEvaluation" | "LakeraGuard" | "Comet" | "DeepchecksLLMEvaluation" | "Fiddler" | "HyperPodClusters"; export interface Model { ModelName?: string; PrimaryContainer?: ContainerDefinition; @@ -9481,10 +9050,7 @@ export interface Model { export interface ModelAccessConfig { AcceptEula: boolean; } -export type ModelApprovalStatus = - | "Approved" - | "Rejected" - | "PendingManualApproval"; +export type ModelApprovalStatus = "Approved" | "Rejected" | "PendingManualApproval"; export type ModelArn = string; export interface ModelArtifacts { @@ -9548,23 +9114,13 @@ export interface ModelCardExportOutputConfig { } export type ModelCardNameOrArn = string; -export type ModelCardProcessingStatus = - | "DeleteInProgress" - | "DeletePending" - | "ContentDeleted" - | "ExportJobsDeleted" - | "DeleteCompleted" - | "DeleteFailed"; +export type ModelCardProcessingStatus = "DeleteInProgress" | "DeletePending" | "ContentDeleted" | "ExportJobsDeleted" | "DeleteCompleted" | "DeleteFailed"; export interface ModelCardSecurityConfig { KmsKeyId?: string; } export type ModelCardSortBy = "Name" | "CreationTime"; export type ModelCardSortOrder = "Ascending" | "Descending"; -export type ModelCardStatus = - | "Draft" - | "PendingReview" - | "Approved" - | "Archived"; +export type ModelCardStatus = "Draft" | "PendingReview" | "Approved" | "Archived"; export interface ModelCardSummary { ModelCardName: string; ModelCardArn: string; @@ -9643,8 +9199,7 @@ export interface ModelDashboardMonitoringSchedule { LastMonitoringExecutionSummary?: MonitoringExecutionSummary; BatchTransformInput?: BatchTransformInput; } -export type ModelDashboardMonitoringSchedules = - Array; +export type ModelDashboardMonitoringSchedules = Array; export interface ModelDataQuality { Statistics?: MetricsSource; Constraints?: MetricsSource; @@ -9700,11 +9255,7 @@ export interface ModelMetadataFilter { Value: string; } export type ModelMetadataFilters = Array; -export type ModelMetadataFilterType = - | "Domain" - | "Framework" - | "Task" - | "FrameworkVersion"; +export type ModelMetadataFilterType = "Domain" | "Framework" | "Task" | "FrameworkVersion"; export interface ModelMetadataSearchExpression { Filters?: Array; } @@ -9777,8 +9328,7 @@ export interface ModelPackageContainerDefinition { AdditionalS3DataSource?: AdditionalS3DataSource; ModelDataETag?: string; } -export type ModelPackageContainerDefinitionList = - Array; +export type ModelPackageContainerDefinitionList = Array; export type ModelPackageFrameworkVersion = string; export interface ModelPackageGroup { @@ -9793,13 +9343,7 @@ export interface ModelPackageGroup { export type ModelPackageGroupArn = string; export type ModelPackageGroupSortBy = "Name" | "CreationTime"; -export type ModelPackageGroupStatus = - | "Pending" - | "InProgress" - | "Completed" - | "Failed" - | "Deleting" - | "DeleteFailed"; +export type ModelPackageGroupStatus = "Pending" | "InProgress" | "Completed" | "Failed" | "Deleting" | "DeleteFailed"; export interface ModelPackageGroupSummary { ModelPackageGroupName: string; ModelPackageGroupArn: string; @@ -9818,12 +9362,7 @@ export interface ModelPackageSecurityConfig { export type ModelPackageSortBy = "Name" | "CreationTime"; export type ModelPackageSourceUri = string; -export type ModelPackageStatus = - | "Pending" - | "InProgress" - | "Completed" - | "Failed" - | "Deleting"; +export type ModelPackageStatus = "Pending" | "InProgress" | "Completed" | "Failed" | "Deleting"; export interface ModelPackageStatusDetails { ValidationStatuses: Array; ImageScanStatuses?: Array; @@ -9834,10 +9373,7 @@ export interface ModelPackageStatusItem { FailureReason?: string; } export type ModelPackageStatusItemList = Array; -export type ModelPackageSummaries = Record< - string, - BatchDescribeModelPackageSummary ->; +export type ModelPackageSummaries = Record; export interface ModelPackageSummary { ModelPackageName?: string; ModelPackageGroupName?: string; @@ -9855,8 +9391,7 @@ export interface ModelPackageValidationProfile { ProfileName: string; TransformJobDefinition: TransformJobDefinition; } -export type ModelPackageValidationProfiles = - Array; +export type ModelPackageValidationProfiles = Array; export interface ModelPackageValidationSpecification { ValidationRole: string; ValidationProfiles: Array; @@ -9926,12 +9461,7 @@ export interface ModelVariantConfigSummary { export type ModelVariantConfigSummaryList = Array; export type ModelVariantName = string; -export type ModelVariantStatus = - | "Creating" - | "Updating" - | "InService" - | "Deleting" - | "Deleted"; +export type ModelVariantStatus = "Creating" | "Updating" | "InService" | "Deleting" | "Deleted"; export interface MonitoringAlertActions { ModelDashboardIndicator?: ModelDashboardIndicatorAction; } @@ -9991,10 +9521,7 @@ export interface MonitoringDatasetFormat { export type MonitoringEnvironmentMap = Record; export type MonitoringEvaluationPeriod = number; -export type MonitoringExecutionSortKey = - | "CreationTime" - | "ScheduledTime" - | "Status"; +export type MonitoringExecutionSortKey = "CreationTime" | "ScheduledTime" | "Status"; export interface MonitoringExecutionSummary { MonitoringScheduleName: string; ScheduledTime: Date | string; @@ -10038,8 +9565,7 @@ export interface MonitoringJobDefinitionSummary { CreationTime: Date | string; EndpointName: string; } -export type MonitoringJobDefinitionSummaryList = - Array; +export type MonitoringJobDefinitionSummaryList = Array; export interface MonitoringJsonDatasetFormat { Line?: boolean; } @@ -10058,11 +9584,9 @@ export interface MonitoringOutputConfig { KmsKeyId?: string; } export type MonitoringOutputs = Array; -export interface MonitoringParquetDatasetFormat {} -export type MonitoringProblemType = - | "BinaryClassification" - | "MulticlassClassification" - | "Regression"; +export interface MonitoringParquetDatasetFormat { +} +export type MonitoringProblemType = "BinaryClassification" | "MulticlassClassification" | "Regression"; export interface MonitoringResources { ClusterConfig: MonitoringClusterConfig; } @@ -10117,11 +9641,7 @@ export interface MonitoringStoppingCondition { } export type MonitoringTimeOffsetString = string; -export type MonitoringType = - | "DataQuality" - | "ModelQuality" - | "ModelBias" - | "ModelExplainability"; +export type MonitoringType = "DataQuality" | "ModelQuality" | "ModelBias" | "ModelExplainability"; export type MountPath = string; export interface MultiModelConfig { @@ -10166,42 +9686,28 @@ export type NonEmptyString256 = string; export type NonEmptyString64 = string; -export type NotebookInstanceAcceleratorType = - | "ml.eia1.medium" - | "ml.eia1.large" - | "ml.eia1.xlarge" - | "ml.eia2.medium" - | "ml.eia2.large" - | "ml.eia2.xlarge"; -export type NotebookInstanceAcceleratorTypes = - Array; +export type NotebookInstanceAcceleratorType = "ml.eia1.medium" | "ml.eia1.large" | "ml.eia1.xlarge" | "ml.eia2.medium" | "ml.eia2.large" | "ml.eia2.xlarge"; +export type NotebookInstanceAcceleratorTypes = Array; export type NotebookInstanceArn = string; export type NotebookInstanceLifecycleConfigArn = string; export type NotebookInstanceLifecycleConfigContent = string; -export type NotebookInstanceLifecycleConfigList = - Array; +export type NotebookInstanceLifecycleConfigList = Array; export type NotebookInstanceLifecycleConfigName = string; export type NotebookInstanceLifecycleConfigNameContains = string; -export type NotebookInstanceLifecycleConfigSortKey = - | "Name" - | "CreationTime" - | "LastModifiedTime"; -export type NotebookInstanceLifecycleConfigSortOrder = - | "Ascending" - | "Descending"; +export type NotebookInstanceLifecycleConfigSortKey = "Name" | "CreationTime" | "LastModifiedTime"; +export type NotebookInstanceLifecycleConfigSortOrder = "Ascending" | "Descending"; export interface NotebookInstanceLifecycleConfigSummary { NotebookInstanceLifecycleConfigName: string; NotebookInstanceLifecycleConfigArn: string; CreationTime?: Date | string; LastModifiedTime?: Date | string; } -export type NotebookInstanceLifecycleConfigSummaryList = - Array; +export type NotebookInstanceLifecycleConfigSummaryList = Array; export interface NotebookInstanceLifecycleHook { Content?: string; } @@ -10211,14 +9717,7 @@ export type NotebookInstanceNameContains = string; export type NotebookInstanceSortKey = "Name" | "CreationTime" | "Status"; export type NotebookInstanceSortOrder = "Ascending" | "Descending"; -export type NotebookInstanceStatus = - | "Pending" - | "InService" - | "Stopping" - | "Stopped" - | "Failed" - | "Deleting" - | "Updating"; +export type NotebookInstanceStatus = "Pending" | "InService" | "Stopping" | "Stopped" | "Failed" | "Deleting" | "Updating"; export interface NotebookInstanceSummary { NotebookInstanceName: string; NotebookInstanceArn: string; @@ -10312,67 +9811,20 @@ export interface OnlineStoreSecurityConfig { export type OnlineStoreTotalSizeBytes = number; export type OnStartDeepHealthChecks = Array; -export type Operator = - | "Equals" - | "NotEquals" - | "GreaterThan" - | "GreaterThanOrEqualTo" - | "LessThan" - | "LessThanOrEqualTo" - | "Contains" - | "Exists" - | "NotExists" - | "In"; +export type Operator = "Equals" | "NotEquals" | "GreaterThan" | "GreaterThanOrEqualTo" | "LessThan" | "LessThanOrEqualTo" | "Contains" | "Exists" | "NotExists" | "In"; interface _OptimizationConfig { ModelQuantizationConfig?: ModelQuantizationConfig; ModelCompilationConfig?: ModelCompilationConfig; ModelShardingConfig?: ModelShardingConfig; } -export type OptimizationConfig = - | (_OptimizationConfig & { ModelQuantizationConfig: ModelQuantizationConfig }) - | (_OptimizationConfig & { ModelCompilationConfig: ModelCompilationConfig }) - | (_OptimizationConfig & { ModelShardingConfig: ModelShardingConfig }); +export type OptimizationConfig = (_OptimizationConfig & { ModelQuantizationConfig: ModelQuantizationConfig }) | (_OptimizationConfig & { ModelCompilationConfig: ModelCompilationConfig }) | (_OptimizationConfig & { ModelShardingConfig: ModelShardingConfig }); export type OptimizationConfigs = Array; export type OptimizationContainerImage = string; export type OptimizationJobArn = string; -export type OptimizationJobDeploymentInstanceType = - | "ml.p4d.24xlarge" - | "ml.p4de.24xlarge" - | "ml.p5.48xlarge" - | "ml.g5.xlarge" - | "ml.g5.2xlarge" - | "ml.g5.4xlarge" - | "ml.g5.8xlarge" - | "ml.g5.12xlarge" - | "ml.g5.16xlarge" - | "ml.g5.24xlarge" - | "ml.g5.48xlarge" - | "ml.g6.xlarge" - | "ml.g6.2xlarge" - | "ml.g6.4xlarge" - | "ml.g6.8xlarge" - | "ml.g6.12xlarge" - | "ml.g6.16xlarge" - | "ml.g6.24xlarge" - | "ml.g6.48xlarge" - | "ml.g6e.xlarge" - | "ml.g6e.2xlarge" - | "ml.g6e.4xlarge" - | "ml.g6e.8xlarge" - | "ml.g6e.12xlarge" - | "ml.g6e.16xlarge" - | "ml.g6e.24xlarge" - | "ml.g6e.48xlarge" - | "ml.inf2.xlarge" - | "ml.inf2.8xlarge" - | "ml.inf2.24xlarge" - | "ml.inf2.48xlarge" - | "ml.trn1.2xlarge" - | "ml.trn1.32xlarge" - | "ml.trn1n.32xlarge"; +export type OptimizationJobDeploymentInstanceType = "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.inf2.xlarge" | "ml.inf2.8xlarge" | "ml.inf2.24xlarge" | "ml.inf2.48xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge"; export type OptimizationJobEnvironmentVariables = Record; export interface OptimizationJobModelSource { S3?: OptimizationJobModelSourceS3; @@ -10385,13 +9837,7 @@ export interface OptimizationJobOutputConfig { KmsKeyId?: string; S3OutputLocation: string; } -export type OptimizationJobStatus = - | "INPROGRESS" - | "COMPLETED" - | "FAILED" - | "STARTING" - | "STOPPING" - | "STOPPED"; +export type OptimizationJobStatus = "INPROGRESS" | "COMPLETED" | "FAILED" | "STARTING" | "STOPPING" | "STOPPED"; export type OptimizationJobSummaries = Array; export interface OptimizationJobSummary { OptimizationJobName: string; @@ -10481,11 +9927,7 @@ export interface ParameterRanges { CategoricalParameterRanges?: Array; AutoParameters?: Array; } -export type ParameterType = - | "Integer" - | "Continuous" - | "Categorical" - | "FreeText"; +export type ParameterType = "Integer" | "Continuous" | "Categorical" | "FreeText"; export type ParameterValue = string; export type ParameterValues = Array; @@ -10496,8 +9938,7 @@ export interface Parent { export interface ParentHyperParameterTuningJob { HyperParameterTuningJobName?: string; } -export type ParentHyperParameterTuningJobs = - Array; +export type ParentHyperParameterTuningJobs = Array; export type Parents = Array; export type PartnerAppAdminUserList = Array; export type PartnerAppArguments = Record; @@ -10513,14 +9954,7 @@ export interface PartnerAppMaintenanceConfig { } export type PartnerAppName = string; -export type PartnerAppStatus = - | "Creating" - | "Updating" - | "Deleting" - | "Available" - | "Failed" - | "UpdateFailed" - | "Deleted"; +export type PartnerAppStatus = "Creating" | "Updating" | "Deleting" | "Available" | "Failed" | "UpdateFailed" | "Deleted"; export type PartnerAppSummaries = Array; export interface PartnerAppSummary { Arn?: string; @@ -10529,11 +9963,7 @@ export interface PartnerAppSummary { Status?: PartnerAppStatus; CreationTime?: Date | string; } -export type PartnerAppType = - | "lakera-guard" - | "comet" - | "deepchecks-llm-evaluation" - | "fiddler"; +export type PartnerAppType = "lakera-guard" | "comet" | "deepchecks-llm-evaluation" | "fiddler"; export interface PendingDeploymentSummary { EndpointConfigName: string; ProductionVariants?: Array; @@ -10555,8 +9985,7 @@ export interface PendingProductionVariantSummary { ManagedInstanceScaling?: ProductionVariantManagedInstanceScaling; RoutingConfig?: ProductionVariantRoutingConfig; } -export type PendingProductionVariantSummaryList = - Array; +export type PendingProductionVariantSummaryList = Array; export type Percentage = number; export interface Phase { @@ -10617,12 +10046,7 @@ export type PipelineExecutionFailureReason = string; export type PipelineExecutionName = string; -export type PipelineExecutionStatus = - | "Executing" - | "Stopping" - | "Stopped" - | "Failed" - | "Succeeded"; +export type PipelineExecutionStatus = "Executing" | "Stopping" | "Stopped" | "Failed" | "Succeeded"; export interface PipelineExecutionStep { StepName?: string; StepDisplayName?: string; @@ -10742,10 +10166,7 @@ export type PriorityWeight = number; export type ProbabilityThresholdAttribute = number; -export type ProblemType = - | "BinaryClassification" - | "MulticlassClassification" - | "Regression"; +export type ProblemType = "BinaryClassification" | "MulticlassClassification" | "Regression"; export interface ProcessingClusterConfig { InstanceCount: number; InstanceType: ProcessingInstanceType; @@ -10769,128 +10190,7 @@ export interface ProcessingInput { export type ProcessingInputs = Array; export type ProcessingInstanceCount = number; -export type ProcessingInstanceType = - | "ml.t3.medium" - | "ml.t3.large" - | "ml.t3.xlarge" - | "ml.t3.2xlarge" - | "ml.m4.xlarge" - | "ml.m4.2xlarge" - | "ml.m4.4xlarge" - | "ml.m4.10xlarge" - | "ml.m4.16xlarge" - | "ml.c4.xlarge" - | "ml.c4.2xlarge" - | "ml.c4.4xlarge" - | "ml.c4.8xlarge" - | "ml.p2.xlarge" - | "ml.p2.8xlarge" - | "ml.p2.16xlarge" - | "ml.p3.2xlarge" - | "ml.p3.8xlarge" - | "ml.p3.16xlarge" - | "ml.c5.xlarge" - | "ml.c5.2xlarge" - | "ml.c5.4xlarge" - | "ml.c5.9xlarge" - | "ml.c5.18xlarge" - | "ml.m5.large" - | "ml.m5.xlarge" - | "ml.m5.2xlarge" - | "ml.m5.4xlarge" - | "ml.m5.12xlarge" - | "ml.m5.24xlarge" - | "ml.r5.large" - | "ml.r5.xlarge" - | "ml.r5.2xlarge" - | "ml.r5.4xlarge" - | "ml.r5.8xlarge" - | "ml.r5.12xlarge" - | "ml.r5.16xlarge" - | "ml.r5.24xlarge" - | "ml.g4dn.xlarge" - | "ml.g4dn.2xlarge" - | "ml.g4dn.4xlarge" - | "ml.g4dn.8xlarge" - | "ml.g4dn.12xlarge" - | "ml.g4dn.16xlarge" - | "ml.g5.xlarge" - | "ml.g5.2xlarge" - | "ml.g5.4xlarge" - | "ml.g5.8xlarge" - | "ml.g5.16xlarge" - | "ml.g5.12xlarge" - | "ml.g5.24xlarge" - | "ml.g5.48xlarge" - | "ml.r5d.large" - | "ml.r5d.xlarge" - | "ml.r5d.2xlarge" - | "ml.r5d.4xlarge" - | "ml.r5d.8xlarge" - | "ml.r5d.12xlarge" - | "ml.r5d.16xlarge" - | "ml.r5d.24xlarge" - | "ml.g6.xlarge" - | "ml.g6.2xlarge" - | "ml.g6.4xlarge" - | "ml.g6.8xlarge" - | "ml.g6.12xlarge" - | "ml.g6.16xlarge" - | "ml.g6.24xlarge" - | "ml.g6.48xlarge" - | "ml.g6e.xlarge" - | "ml.g6e.2xlarge" - | "ml.g6e.4xlarge" - | "ml.g6e.8xlarge" - | "ml.g6e.12xlarge" - | "ml.g6e.16xlarge" - | "ml.g6e.24xlarge" - | "ml.g6e.48xlarge" - | "ml.m6i.large" - | "ml.m6i.xlarge" - | "ml.m6i.2xlarge" - | "ml.m6i.4xlarge" - | "ml.m6i.8xlarge" - | "ml.m6i.12xlarge" - | "ml.m6i.16xlarge" - | "ml.m6i.24xlarge" - | "ml.m6i.32xlarge" - | "ml.c6i.xlarge" - | "ml.c6i.2xlarge" - | "ml.c6i.4xlarge" - | "ml.c6i.8xlarge" - | "ml.c6i.12xlarge" - | "ml.c6i.16xlarge" - | "ml.c6i.24xlarge" - | "ml.c6i.32xlarge" - | "ml.m7i.large" - | "ml.m7i.xlarge" - | "ml.m7i.2xlarge" - | "ml.m7i.4xlarge" - | "ml.m7i.8xlarge" - | "ml.m7i.12xlarge" - | "ml.m7i.16xlarge" - | "ml.m7i.24xlarge" - | "ml.m7i.48xlarge" - | "ml.c7i.large" - | "ml.c7i.xlarge" - | "ml.c7i.2xlarge" - | "ml.c7i.4xlarge" - | "ml.c7i.8xlarge" - | "ml.c7i.12xlarge" - | "ml.c7i.16xlarge" - | "ml.c7i.24xlarge" - | "ml.c7i.48xlarge" - | "ml.r7i.large" - | "ml.r7i.xlarge" - | "ml.r7i.2xlarge" - | "ml.r7i.4xlarge" - | "ml.r7i.8xlarge" - | "ml.r7i.12xlarge" - | "ml.r7i.16xlarge" - | "ml.r7i.24xlarge" - | "ml.r7i.48xlarge" - | "ml.p5.4xlarge"; +export type ProcessingInstanceType = "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.r5d.large" | "ml.r5d.xlarge" | "ml.r5d.2xlarge" | "ml.r5d.4xlarge" | "ml.r5d.8xlarge" | "ml.r5d.12xlarge" | "ml.r5d.16xlarge" | "ml.r5d.24xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.p5.4xlarge"; export interface ProcessingJob { ProcessingInputs?: Array; ProcessingOutputConfig?: ProcessingOutputConfig; @@ -10919,12 +10219,7 @@ export type ProcessingJobArn = string; export type ProcessingJobName = string; -export type ProcessingJobStatus = - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped"; +export type ProcessingJobStatus = "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"; export interface ProcessingJobStepMetadata { Arn?: string; } @@ -10958,9 +10253,7 @@ export interface ProcessingResources { ClusterConfig: ProcessingClusterConfig; } export type ProcessingS3CompressionType = "None" | "Gzip"; -export type ProcessingS3DataDistributionType = - | "FullyReplicated" - | "ShardedByS3Key"; +export type ProcessingS3DataDistributionType = "FullyReplicated" | "ShardedByS3Key"; export type ProcessingS3DataType = "ManifestFile" | "S3Prefix"; export interface ProcessingS3Input { S3Uri: string; @@ -11003,13 +10296,7 @@ export interface ProductionVariant { InferenceAmiVersion?: ProductionVariantInferenceAmiVersion; CapacityReservationConfig?: ProductionVariantCapacityReservationConfig; } -export type ProductionVariantAcceleratorType = - | "ml.eia1.medium" - | "ml.eia1.large" - | "ml.eia1.xlarge" - | "ml.eia2.medium" - | "ml.eia2.large" - | "ml.eia2.xlarge"; +export type ProductionVariantAcceleratorType = "ml.eia1.medium" | "ml.eia1.large" | "ml.eia1.xlarge" | "ml.eia2.medium" | "ml.eia2.large" | "ml.eia2.xlarge"; export interface ProductionVariantCapacityReservationConfig { CapacityReservationPreference?: CapacityReservationPreference; MlReservationArn?: string; @@ -11022,283 +10309,14 @@ export interface ProductionVariantCapacityReservationSummary { UsedByCurrentEndpoint?: number; Ec2CapacityReservations?: Array; } -export type ProductionVariantContainerStartupHealthCheckTimeoutInSeconds = - number; +export type ProductionVariantContainerStartupHealthCheckTimeoutInSeconds = number; export interface ProductionVariantCoreDumpConfig { DestinationS3Uri: string; KmsKeyId?: string; } -export type ProductionVariantInferenceAmiVersion = - | "al2-ami-sagemaker-inference-gpu-2" - | "al2-ami-sagemaker-inference-gpu-2-1" - | "al2-ami-sagemaker-inference-gpu-3-1" - | "al2-ami-sagemaker-inference-neuron-2"; -export type ProductionVariantInstanceType = - | "ml.t2.medium" - | "ml.t2.large" - | "ml.t2.xlarge" - | "ml.t2.2xlarge" - | "ml.m4.xlarge" - | "ml.m4.2xlarge" - | "ml.m4.4xlarge" - | "ml.m4.10xlarge" - | "ml.m4.16xlarge" - | "ml.m5.large" - | "ml.m5.xlarge" - | "ml.m5.2xlarge" - | "ml.m5.4xlarge" - | "ml.m5.12xlarge" - | "ml.m5.24xlarge" - | "ml.m5d.large" - | "ml.m5d.xlarge" - | "ml.m5d.2xlarge" - | "ml.m5d.4xlarge" - | "ml.m5d.12xlarge" - | "ml.m5d.24xlarge" - | "ml.c4.large" - | "ml.c4.xlarge" - | "ml.c4.2xlarge" - | "ml.c4.4xlarge" - | "ml.c4.8xlarge" - | "ml.p2.xlarge" - | "ml.p2.8xlarge" - | "ml.p2.16xlarge" - | "ml.p3.2xlarge" - | "ml.p3.8xlarge" - | "ml.p3.16xlarge" - | "ml.c5.large" - | "ml.c5.xlarge" - | "ml.c5.2xlarge" - | "ml.c5.4xlarge" - | "ml.c5.9xlarge" - | "ml.c5.18xlarge" - | "ml.c5d.large" - | "ml.c5d.xlarge" - | "ml.c5d.2xlarge" - | "ml.c5d.4xlarge" - | "ml.c5d.9xlarge" - | "ml.c5d.18xlarge" - | "ml.g4dn.xlarge" - | "ml.g4dn.2xlarge" - | "ml.g4dn.4xlarge" - | "ml.g4dn.8xlarge" - | "ml.g4dn.12xlarge" - | "ml.g4dn.16xlarge" - | "ml.r5.large" - | "ml.r5.xlarge" - | "ml.r5.2xlarge" - | "ml.r5.4xlarge" - | "ml.r5.12xlarge" - | "ml.r5.24xlarge" - | "ml.r5d.large" - | "ml.r5d.xlarge" - | "ml.r5d.2xlarge" - | "ml.r5d.4xlarge" - | "ml.r5d.12xlarge" - | "ml.r5d.24xlarge" - | "ml.inf1.xlarge" - | "ml.inf1.2xlarge" - | "ml.inf1.6xlarge" - | "ml.inf1.24xlarge" - | "ml.dl1.24xlarge" - | "ml.c6i.large" - | "ml.c6i.xlarge" - | "ml.c6i.2xlarge" - | "ml.c6i.4xlarge" - | "ml.c6i.8xlarge" - | "ml.c6i.12xlarge" - | "ml.c6i.16xlarge" - | "ml.c6i.24xlarge" - | "ml.c6i.32xlarge" - | "ml.m6i.large" - | "ml.m6i.xlarge" - | "ml.m6i.2xlarge" - | "ml.m6i.4xlarge" - | "ml.m6i.8xlarge" - | "ml.m6i.12xlarge" - | "ml.m6i.16xlarge" - | "ml.m6i.24xlarge" - | "ml.m6i.32xlarge" - | "ml.r6i.large" - | "ml.r6i.xlarge" - | "ml.r6i.2xlarge" - | "ml.r6i.4xlarge" - | "ml.r6i.8xlarge" - | "ml.r6i.12xlarge" - | "ml.r6i.16xlarge" - | "ml.r6i.24xlarge" - | "ml.r6i.32xlarge" - | "ml.g5.xlarge" - | "ml.g5.2xlarge" - | "ml.g5.4xlarge" - | "ml.g5.8xlarge" - | "ml.g5.12xlarge" - | "ml.g5.16xlarge" - | "ml.g5.24xlarge" - | "ml.g5.48xlarge" - | "ml.g6.xlarge" - | "ml.g6.2xlarge" - | "ml.g6.4xlarge" - | "ml.g6.8xlarge" - | "ml.g6.12xlarge" - | "ml.g6.16xlarge" - | "ml.g6.24xlarge" - | "ml.g6.48xlarge" - | "ml.r8g.medium" - | "ml.r8g.large" - | "ml.r8g.xlarge" - | "ml.r8g.2xlarge" - | "ml.r8g.4xlarge" - | "ml.r8g.8xlarge" - | "ml.r8g.12xlarge" - | "ml.r8g.16xlarge" - | "ml.r8g.24xlarge" - | "ml.r8g.48xlarge" - | "ml.g6e.xlarge" - | "ml.g6e.2xlarge" - | "ml.g6e.4xlarge" - | "ml.g6e.8xlarge" - | "ml.g6e.12xlarge" - | "ml.g6e.16xlarge" - | "ml.g6e.24xlarge" - | "ml.g6e.48xlarge" - | "ml.p4d.24xlarge" - | "ml.c7g.large" - | "ml.c7g.xlarge" - | "ml.c7g.2xlarge" - | "ml.c7g.4xlarge" - | "ml.c7g.8xlarge" - | "ml.c7g.12xlarge" - | "ml.c7g.16xlarge" - | "ml.m6g.large" - | "ml.m6g.xlarge" - | "ml.m6g.2xlarge" - | "ml.m6g.4xlarge" - | "ml.m6g.8xlarge" - | "ml.m6g.12xlarge" - | "ml.m6g.16xlarge" - | "ml.m6gd.large" - | "ml.m6gd.xlarge" - | "ml.m6gd.2xlarge" - | "ml.m6gd.4xlarge" - | "ml.m6gd.8xlarge" - | "ml.m6gd.12xlarge" - | "ml.m6gd.16xlarge" - | "ml.c6g.large" - | "ml.c6g.xlarge" - | "ml.c6g.2xlarge" - | "ml.c6g.4xlarge" - | "ml.c6g.8xlarge" - | "ml.c6g.12xlarge" - | "ml.c6g.16xlarge" - | "ml.c6gd.large" - | "ml.c6gd.xlarge" - | "ml.c6gd.2xlarge" - | "ml.c6gd.4xlarge" - | "ml.c6gd.8xlarge" - | "ml.c6gd.12xlarge" - | "ml.c6gd.16xlarge" - | "ml.c6gn.large" - | "ml.c6gn.xlarge" - | "ml.c6gn.2xlarge" - | "ml.c6gn.4xlarge" - | "ml.c6gn.8xlarge" - | "ml.c6gn.12xlarge" - | "ml.c6gn.16xlarge" - | "ml.r6g.large" - | "ml.r6g.xlarge" - | "ml.r6g.2xlarge" - | "ml.r6g.4xlarge" - | "ml.r6g.8xlarge" - | "ml.r6g.12xlarge" - | "ml.r6g.16xlarge" - | "ml.r6gd.large" - | "ml.r6gd.xlarge" - | "ml.r6gd.2xlarge" - | "ml.r6gd.4xlarge" - | "ml.r6gd.8xlarge" - | "ml.r6gd.12xlarge" - | "ml.r6gd.16xlarge" - | "ml.p4de.24xlarge" - | "ml.trn1.2xlarge" - | "ml.trn1.32xlarge" - | "ml.trn1n.32xlarge" - | "ml.trn2.48xlarge" - | "ml.inf2.xlarge" - | "ml.inf2.8xlarge" - | "ml.inf2.24xlarge" - | "ml.inf2.48xlarge" - | "ml.p5.48xlarge" - | "ml.p5e.48xlarge" - | "ml.p5en.48xlarge" - | "ml.m7i.large" - | "ml.m7i.xlarge" - | "ml.m7i.2xlarge" - | "ml.m7i.4xlarge" - | "ml.m7i.8xlarge" - | "ml.m7i.12xlarge" - | "ml.m7i.16xlarge" - | "ml.m7i.24xlarge" - | "ml.m7i.48xlarge" - | "ml.c7i.large" - | "ml.c7i.xlarge" - | "ml.c7i.2xlarge" - | "ml.c7i.4xlarge" - | "ml.c7i.8xlarge" - | "ml.c7i.12xlarge" - | "ml.c7i.16xlarge" - | "ml.c7i.24xlarge" - | "ml.c7i.48xlarge" - | "ml.r7i.large" - | "ml.r7i.xlarge" - | "ml.r7i.2xlarge" - | "ml.r7i.4xlarge" - | "ml.r7i.8xlarge" - | "ml.r7i.12xlarge" - | "ml.r7i.16xlarge" - | "ml.r7i.24xlarge" - | "ml.r7i.48xlarge" - | "ml.c8g.medium" - | "ml.c8g.large" - | "ml.c8g.xlarge" - | "ml.c8g.2xlarge" - | "ml.c8g.4xlarge" - | "ml.c8g.8xlarge" - | "ml.c8g.12xlarge" - | "ml.c8g.16xlarge" - | "ml.c8g.24xlarge" - | "ml.c8g.48xlarge" - | "ml.r7gd.medium" - | "ml.r7gd.large" - | "ml.r7gd.xlarge" - | "ml.r7gd.2xlarge" - | "ml.r7gd.4xlarge" - | "ml.r7gd.8xlarge" - | "ml.r7gd.12xlarge" - | "ml.r7gd.16xlarge" - | "ml.m8g.medium" - | "ml.m8g.large" - | "ml.m8g.xlarge" - | "ml.m8g.2xlarge" - | "ml.m8g.4xlarge" - | "ml.m8g.8xlarge" - | "ml.m8g.12xlarge" - | "ml.m8g.16xlarge" - | "ml.m8g.24xlarge" - | "ml.m8g.48xlarge" - | "ml.c6in.large" - | "ml.c6in.xlarge" - | "ml.c6in.2xlarge" - | "ml.c6in.4xlarge" - | "ml.c6in.8xlarge" - | "ml.c6in.12xlarge" - | "ml.c6in.16xlarge" - | "ml.c6in.24xlarge" - | "ml.c6in.32xlarge" - | "ml.p6-b200.48xlarge" - | "ml.p6e-gb200.36xlarge" - | "ml.p5.4xlarge"; +export type ProductionVariantInferenceAmiVersion = "al2-ami-sagemaker-inference-gpu-2" | "al2-ami-sagemaker-inference-gpu-2-1" | "al2-ami-sagemaker-inference-gpu-3-1" | "al2-ami-sagemaker-inference-neuron-2"; +export type ProductionVariantInstanceType = "ml.t2.medium" | "ml.t2.large" | "ml.t2.xlarge" | "ml.t2.2xlarge" | "ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.12xlarge" | "ml.m5d.24xlarge" | "ml.c4.large" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.c5d.large" | "ml.c5d.xlarge" | "ml.c5d.2xlarge" | "ml.c5d.4xlarge" | "ml.c5d.9xlarge" | "ml.c5d.18xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.12xlarge" | "ml.r5.24xlarge" | "ml.r5d.large" | "ml.r5d.xlarge" | "ml.r5d.2xlarge" | "ml.r5d.4xlarge" | "ml.r5d.12xlarge" | "ml.r5d.24xlarge" | "ml.inf1.xlarge" | "ml.inf1.2xlarge" | "ml.inf1.6xlarge" | "ml.inf1.24xlarge" | "ml.dl1.24xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.r8g.medium" | "ml.r8g.large" | "ml.r8g.xlarge" | "ml.r8g.2xlarge" | "ml.r8g.4xlarge" | "ml.r8g.8xlarge" | "ml.r8g.12xlarge" | "ml.r8g.16xlarge" | "ml.r8g.24xlarge" | "ml.r8g.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.p4d.24xlarge" | "ml.c7g.large" | "ml.c7g.xlarge" | "ml.c7g.2xlarge" | "ml.c7g.4xlarge" | "ml.c7g.8xlarge" | "ml.c7g.12xlarge" | "ml.c7g.16xlarge" | "ml.m6g.large" | "ml.m6g.xlarge" | "ml.m6g.2xlarge" | "ml.m6g.4xlarge" | "ml.m6g.8xlarge" | "ml.m6g.12xlarge" | "ml.m6g.16xlarge" | "ml.m6gd.large" | "ml.m6gd.xlarge" | "ml.m6gd.2xlarge" | "ml.m6gd.4xlarge" | "ml.m6gd.8xlarge" | "ml.m6gd.12xlarge" | "ml.m6gd.16xlarge" | "ml.c6g.large" | "ml.c6g.xlarge" | "ml.c6g.2xlarge" | "ml.c6g.4xlarge" | "ml.c6g.8xlarge" | "ml.c6g.12xlarge" | "ml.c6g.16xlarge" | "ml.c6gd.large" | "ml.c6gd.xlarge" | "ml.c6gd.2xlarge" | "ml.c6gd.4xlarge" | "ml.c6gd.8xlarge" | "ml.c6gd.12xlarge" | "ml.c6gd.16xlarge" | "ml.c6gn.large" | "ml.c6gn.xlarge" | "ml.c6gn.2xlarge" | "ml.c6gn.4xlarge" | "ml.c6gn.8xlarge" | "ml.c6gn.12xlarge" | "ml.c6gn.16xlarge" | "ml.r6g.large" | "ml.r6g.xlarge" | "ml.r6g.2xlarge" | "ml.r6g.4xlarge" | "ml.r6g.8xlarge" | "ml.r6g.12xlarge" | "ml.r6g.16xlarge" | "ml.r6gd.large" | "ml.r6gd.xlarge" | "ml.r6gd.2xlarge" | "ml.r6gd.4xlarge" | "ml.r6gd.8xlarge" | "ml.r6gd.12xlarge" | "ml.r6gd.16xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.trn2.48xlarge" | "ml.inf2.xlarge" | "ml.inf2.8xlarge" | "ml.inf2.24xlarge" | "ml.inf2.48xlarge" | "ml.p5.48xlarge" | "ml.p5e.48xlarge" | "ml.p5en.48xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.c8g.medium" | "ml.c8g.large" | "ml.c8g.xlarge" | "ml.c8g.2xlarge" | "ml.c8g.4xlarge" | "ml.c8g.8xlarge" | "ml.c8g.12xlarge" | "ml.c8g.16xlarge" | "ml.c8g.24xlarge" | "ml.c8g.48xlarge" | "ml.r7gd.medium" | "ml.r7gd.large" | "ml.r7gd.xlarge" | "ml.r7gd.2xlarge" | "ml.r7gd.4xlarge" | "ml.r7gd.8xlarge" | "ml.r7gd.12xlarge" | "ml.r7gd.16xlarge" | "ml.m8g.medium" | "ml.m8g.large" | "ml.m8g.xlarge" | "ml.m8g.2xlarge" | "ml.m8g.4xlarge" | "ml.m8g.8xlarge" | "ml.m8g.12xlarge" | "ml.m8g.16xlarge" | "ml.m8g.24xlarge" | "ml.m8g.48xlarge" | "ml.c6in.large" | "ml.c6in.xlarge" | "ml.c6in.2xlarge" | "ml.c6in.4xlarge" | "ml.c6in.8xlarge" | "ml.c6in.12xlarge" | "ml.c6in.16xlarge" | "ml.c6in.24xlarge" | "ml.c6in.32xlarge" | "ml.p6-b200.48xlarge" | "ml.p6e-gb200.36xlarge" | "ml.p5.4xlarge"; export type ProductionVariantList = Array; export interface ProductionVariantManagedInstanceScaling { Status?: ManagedInstanceScalingStatus; @@ -11374,8 +10392,7 @@ export interface ProfilerRuleEvaluationStatus { StatusDetails?: string; LastModifiedTime?: Date | string; } -export type ProfilerRuleEvaluationStatuses = - Array; +export type ProfilerRuleEvaluationStatuses = Array; export type ProfilingIntervalInMilliseconds = number; export type ProfilingParameters = Record; @@ -11405,17 +10422,7 @@ export type ProjectId = string; export type ProjectSortBy = "Name" | "CreationTime"; export type ProjectSortOrder = "Ascending" | "Descending"; -export type ProjectStatus = - | "Pending" - | "CreateInProgress" - | "CreateCompleted" - | "CreateFailed" - | "DeleteInProgress" - | "DeleteFailed" - | "DeleteCompleted" - | "UpdateInProgress" - | "UpdateCompleted" - | "UpdateFailed"; +export type ProjectStatus = "Pending" | "CreateInProgress" | "CreateCompleted" | "CreateFailed" | "DeleteInProgress" | "DeleteFailed" | "DeleteCompleted" | "UpdateInProgress" | "UpdateCompleted" | "UpdateFailed"; export interface ProjectSummary { ProjectName: string; ProjectDescription?: string; @@ -11506,15 +10513,13 @@ export interface RealTimeInferenceConfig { InstanceType: InstanceType; InstanceCount: number; } -export type RealtimeInferenceInstanceTypes = - Array; +export type RealtimeInferenceInstanceTypes = Array; export interface RealTimeInferenceRecommendation { RecommendationId: string; InstanceType: ProductionVariantInstanceType; Environment?: Record; } -export type RealTimeInferenceRecommendations = - Array; +export type RealTimeInferenceRecommendations = Array; export type RecommendationFailureReason = string; export type RecommendationJobArn = string; @@ -11577,15 +10582,7 @@ export interface RecommendationJobResourceLimit { MaxNumberOfTests?: number; MaxParallelOfTests?: number; } -export type RecommendationJobStatus = - | "PENDING" - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED" - | "STOPPING" - | "STOPPED" - | "DELETING" - | "DELETED"; +export type RecommendationJobStatus = "PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOPPING" | "STOPPED" | "DELETING" | "DELETED"; export interface RecommendationJobStoppingConditions { MaxInvocations?: number; ModelLatencyThresholds?: Array; @@ -11619,11 +10616,7 @@ export interface RecommendationMetrics { MemoryUtilization?: number; ModelSetupTime?: number; } -export type RecommendationStatus = - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED" - | "NOT_APPLICABLE"; +export type RecommendationStatus = "IN_PROGRESS" | "COMPLETED" | "FAILED" | "NOT_APPLICABLE"; export type RecommendationStepType = "BENCHMARK"; export type RecordWrapper = "None" | "RecordIO"; export type RedshiftClusterId = string; @@ -11643,12 +10636,7 @@ export interface RedshiftDatasetDefinition { } export type RedshiftQueryString = string; -export type RedshiftResultCompressionType = - | "None" - | "GZIP" - | "BZIP2" - | "ZSTD" - | "SNAPPY"; +export type RedshiftResultCompressionType = "None" | "GZIP" | "BZIP2" | "ZSTD" | "SNAPPY"; export type RedshiftResultFormat = "PARQUET" | "CSV"; export type RedshiftUserName = string; @@ -11707,17 +10695,7 @@ export type ReservedCapacityDurationMinutes = number; export type ReservedCapacityInstanceCount = number; -export type ReservedCapacityInstanceType = - | "ml.p4d.24xlarge" - | "ml.p5.48xlarge" - | "ml.p5e.48xlarge" - | "ml.p5en.48xlarge" - | "ml.trn1.32xlarge" - | "ml.trn2.48xlarge" - | "ml.p6-b200.48xlarge" - | "ml.p4de.24xlarge" - | "ml.p6e-gb200.36xlarge" - | "ml.p5.4xlarge"; +export type ReservedCapacityInstanceType = "ml.p4d.24xlarge" | "ml.p5.48xlarge" | "ml.p5e.48xlarge" | "ml.p5en.48xlarge" | "ml.trn1.32xlarge" | "ml.trn2.48xlarge" | "ml.p6-b200.48xlarge" | "ml.p4de.24xlarge" | "ml.p6e-gb200.36xlarge" | "ml.p5.4xlarge"; export interface ReservedCapacityOffering { ReservedCapacityType?: ReservedCapacityType; UltraServerType?: string; @@ -11731,12 +10709,7 @@ export interface ReservedCapacityOffering { EndTime?: Date | string; } export type ReservedCapacityOfferings = Array; -export type ReservedCapacityStatus = - | "Pending" - | "Active" - | "Scheduled" - | "Expired" - | "Failed"; +export type ReservedCapacityStatus = "Pending" | "Active" | "Scheduled" | "Expired" | "Failed"; export type ReservedCapacitySummaries = Array; export interface ReservedCapacitySummary { ReservedCapacityArn: string; @@ -11830,25 +10803,7 @@ export interface ResourceSpec { InstanceType?: AppInstanceType; LifecycleConfigArn?: string; } -export type ResourceType = - | "TrainingJob" - | "Experiment" - | "ExperimentTrial" - | "ExperimentTrialComponent" - | "Endpoint" - | "Model" - | "ModelPackage" - | "ModelPackageGroup" - | "Pipeline" - | "PipelineExecution" - | "FeatureGroup" - | "FeatureMetadata" - | "Image" - | "ImageVersion" - | "Project" - | "HyperParameterTuningJob" - | "ModelCard" - | "PipelineVersion"; +export type ResourceType = "TrainingJob" | "Experiment" | "ExperimentTrial" | "ExperimentTrialComponent" | "Endpoint" | "Model" | "ModelPackage" | "ModelPackageGroup" | "Pipeline" | "PipelineExecution" | "FeatureGroup" | "FeatureMetadata" | "Image" | "ImageVersion" | "Project" | "HyperParameterTuningJob" | "ModelCard" | "PipelineVersion"; export type ResponseMIMEType = string; export type ResponseMIMETypes = Array; @@ -11905,13 +10860,7 @@ export interface RStudioServerProDomainSettingsForUpdate { export type RStudioServerProUserGroup = "R_STUDIO_ADMIN" | "R_STUDIO_USER"; export type RuleConfigurationName = string; -export type RuleEvaluationStatus = - | "InProgress" - | "NoIssuesFound" - | "IssuesFound" - | "Error" - | "Stopping" - | "Stopped"; +export type RuleEvaluationStatus = "InProgress" | "NoIssuesFound" | "IssuesFound" | "Error" | "Stopping" | "Stopped"; export type RuleParameters = Record; export type S3DataDistribution = "FullyReplicated" | "ShardedByS3Key"; export interface S3DataSource { @@ -11923,11 +10872,7 @@ export interface S3DataSource { ModelAccessConfig?: ModelAccessConfig; HubAccessConfig?: HubAccessConfig; } -export type S3DataType = - | "ManifestFile" - | "S3Prefix" - | "AugmentedManifestFile" - | "Converse"; +export type S3DataType = "ManifestFile" | "S3Prefix" | "AugmentedManifestFile" | "Converse"; export interface S3FileSystem { S3Uri: string; } @@ -11980,9 +10925,7 @@ interface _ScalingPolicy { TargetTracking?: TargetTrackingScalingPolicyConfiguration; } -export type ScalingPolicy = _ScalingPolicy & { - TargetTracking: TargetTrackingScalingPolicyConfiguration; -}; +export type ScalingPolicy = (_ScalingPolicy & { TargetTracking: TargetTrackingScalingPolicyConfiguration }); export interface ScalingPolicyMetric { InvocationsPerInstance?: number; ModelLatency?: number; @@ -12006,19 +10949,7 @@ export interface SchedulerConfig { PriorityClasses?: Array; FairShare?: FairShare; } -export type SchedulerResourceStatus = - | "Creating" - | "CreateFailed" - | "CreateRollbackFailed" - | "Created" - | "Updating" - | "UpdateFailed" - | "UpdateRollbackFailed" - | "Updated" - | "Deleting" - | "DeleteFailed" - | "DeleteRollbackFailed" - | "Deleted"; +export type SchedulerResourceStatus = "Creating" | "CreateFailed" | "CreateRollbackFailed" | "Created" | "Updating" | "UpdateFailed" | "UpdateRollbackFailed" | "Updated" | "Deleting" | "DeleteFailed" | "DeleteRollbackFailed" | "Deleted"; export type ScheduleStatus = "Pending" | "Failed" | "Scheduled" | "Stopped"; export type Scope = string; @@ -12077,24 +11008,7 @@ export interface SearchTrainingPlanOfferingsRequest { export interface SearchTrainingPlanOfferingsResponse { TrainingPlanOfferings: Array; } -export type SecondaryStatus = - | "Starting" - | "LaunchingMLInstances" - | "PreparingTrainingStack" - | "Downloading" - | "DownloadingTrainingImage" - | "Training" - | "Uploading" - | "Stopping" - | "Stopped" - | "MaxRuntimeExceeded" - | "Completed" - | "Failed" - | "Interrupted" - | "MaxWaitTimeExceeded" - | "Updating" - | "Restarting" - | "Pending"; +export type SecondaryStatus = "Starting" | "LaunchingMLInstances" | "PreparingTrainingStack" | "Downloading" | "DownloadingTrainingImage" | "Training" | "Uploading" | "Stopping" | "Stopped" | "MaxRuntimeExceeded" | "Completed" | "Failed" | "Interrupted" | "MaxWaitTimeExceeded" | "Updating" | "Restarting" | "Pending"; export interface SecondaryStatusTransition { Status: SecondaryStatus; StartTime: Date | string; @@ -12190,21 +11104,10 @@ export type SingleSignOnUserIdentifier = string; export type SkipModelValidation = "All" | "None"; export type SnsTopicArn = string; -export type SoftwareUpdateStatus = - | "Pending" - | "InProgress" - | "Succeeded" - | "Failed" - | "RollbackInProgress" - | "RollbackComplete"; +export type SoftwareUpdateStatus = "Pending" | "InProgress" | "Succeeded" | "Failed" | "RollbackInProgress" | "RollbackComplete"; export type SortActionsBy = "Name" | "CreationTime"; export type SortArtifactsBy = "CreationTime"; -export type SortAssociationsBy = - | "SourceArn" - | "DestinationArn" - | "SourceType" - | "DestinationType" - | "CreationTime"; +export type SortAssociationsBy = "SourceArn" | "DestinationArn" | "SourceType" | "DestinationType" | "CreationTime"; export type SortBy = "Name" | "CreationTime" | "Status"; export type SortClusterSchedulerConfigBy = "Name" | "CreationTime" | "Status"; export type SortContextsBy = "Name" | "CreationTime"; @@ -12291,14 +11194,7 @@ export interface SpaceSharingSettingsSummary { SharingType?: SharingType; } export type SpaceSortKey = "CreationTime" | "LastModifiedTime"; -export type SpaceStatus = - | "Deleting" - | "Failed" - | "InService" - | "Pending" - | "Updating" - | "Update_Failed" - | "Delete_Failed"; +export type SpaceStatus = "Deleting" | "Failed" | "InService" | "Pending" | "Updating" | "Update_Failed" | "Delete_Failed"; export interface SpaceStorageSettings { EbsStorageSettings?: EbsStorageSettings; } @@ -12309,15 +11205,7 @@ export type SpawnRate = number; export type SplitType = "None" | "Line" | "RecordIO" | "TFRecord"; export type StageDescription = string; -export type StageStatus = - | "CREATING" - | "READYTODEPLOY" - | "STARTING" - | "INPROGRESS" - | "DEPLOYED" - | "FAILED" - | "STOPPING" - | "STOPPED"; +export type StageStatus = "CREATING" | "READYTODEPLOY" | "STARTING" | "INPROGRESS" | "DEPLOYED" | "FAILED" | "STOPPING" | "STOPPED"; export interface Stairs { DurationInSeconds?: number; NumberOfSteps?: number; @@ -12366,12 +11254,7 @@ export interface StartSessionResponse { StreamUrl?: string; TokenValue?: string; } -export type Statistic = - | "Average" - | "Minimum" - | "Maximum" - | "SampleCount" - | "Sum"; +export type Statistic = "Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum"; export type StatusDetails = string; export type StatusMessage = string; @@ -12382,13 +11265,7 @@ export type StepDisplayName = string; export type StepName = string; -export type StepStatus = - | "Starting" - | "Executing" - | "Stopping" - | "Stopped" - | "Failed" - | "Succeeded"; +export type StepStatus = "Starting" | "Executing" | "Stopping" | "Stopped" | "Failed" | "Succeeded"; export interface StopAutoMLJobRequest { AutoMLJobName: string; } @@ -12482,11 +11359,7 @@ export type String8192 = string; export type StringParameterValue = string; -export type StudioLifecycleConfigAppType = - | "JupyterServer" - | "KernelGateway" - | "CodeEditor" - | "JupyterLab"; +export type StudioLifecycleConfigAppType = "JupyterServer" | "KernelGateway" | "CodeEditor" | "JupyterLab"; export type StudioLifecycleConfigArn = string; export type StudioLifecycleConfigContent = string; @@ -12501,10 +11374,7 @@ export interface StudioLifecycleConfigDetails { export type StudioLifecycleConfigName = string; export type StudioLifecycleConfigsList = Array; -export type StudioLifecycleConfigSortKey = - | "CreationTime" - | "LastModifiedTime" - | "Name"; +export type StudioLifecycleConfigSortKey = "CreationTime" | "LastModifiedTime" | "Name"; export type StudioWebPortal = "ENABLED" | "DISABLED"; export interface StudioWebPortalSettings { HiddenMlTools?: Array; @@ -12559,44 +11429,7 @@ export type TargetAttributeName = string; export type TargetCount = number; -export type TargetDevice = - | "lambda" - | "ml_m4" - | "ml_m5" - | "ml_m6g" - | "ml_c4" - | "ml_c5" - | "ml_c6g" - | "ml_p2" - | "ml_p3" - | "ml_g4dn" - | "ml_inf1" - | "ml_inf2" - | "ml_trn1" - | "ml_eia2" - | "jetson_tx1" - | "jetson_tx2" - | "jetson_nano" - | "jetson_xavier" - | "rasp3b" - | "rasp4b" - | "imx8qm" - | "deeplens" - | "rk3399" - | "rk3288" - | "aisage" - | "sbe_c" - | "qcs605" - | "qcs603" - | "sitara_am57x" - | "amba_cv2" - | "amba_cv22" - | "amba_cv25" - | "x86_win32" - | "x86_win64" - | "coreml" - | "jacinto_tda4vm" - | "imx8mplus"; +export type TargetDevice = "lambda" | "ml_m4" | "ml_m5" | "ml_m6g" | "ml_c4" | "ml_c5" | "ml_c6g" | "ml_p2" | "ml_p3" | "ml_g4dn" | "ml_inf1" | "ml_inf2" | "ml_trn1" | "ml_eia2" | "jetson_tx1" | "jetson_tx2" | "jetson_nano" | "jetson_xavier" | "rasp3b" | "rasp4b" | "imx8qm" | "deeplens" | "rk3399" | "rk3288" | "aisage" | "sbe_c" | "qcs605" | "qcs603" | "sitara_am57x" | "amba_cv2" | "amba_cv22" | "amba_cv25" | "x86_win32" | "x86_win64" | "coreml" | "jacinto_tda4vm" | "imx8mplus"; export type TargetLabelColumn = string; export type TargetObjectiveMetricValue = number; @@ -12606,17 +11439,8 @@ export interface TargetPlatform { Arch: TargetPlatformArch; Accelerator?: TargetPlatformAccelerator; } -export type TargetPlatformAccelerator = - | "INTEL_GRAPHICS" - | "MALI" - | "NVIDIA" - | "NNA"; -export type TargetPlatformArch = - | "X86_64" - | "X86" - | "ARM64" - | "ARM_EABI" - | "ARM_EABIHF"; +export type TargetPlatformAccelerator = "INTEL_GRAPHICS" | "MALI" | "NVIDIA" | "NNA"; +export type TargetPlatformArch = "X86_64" | "X86" | "ARM64" | "ARM_EABI" | "ARM_EABIHF"; export type TargetPlatformOs = "ANDROID" | "LINUX"; export interface TargetTrackingScalingPolicyConfiguration { MetricSpecification?: MetricSpecification; @@ -12734,31 +11558,11 @@ export type TotalInstanceCount = number; export type TrackingServerArn = string; -export type TrackingServerMaintenanceStatus = - | "MaintenanceInProgress" - | "MaintenanceComplete" - | "MaintenanceFailed"; +export type TrackingServerMaintenanceStatus = "MaintenanceInProgress" | "MaintenanceComplete" | "MaintenanceFailed"; export type TrackingServerName = string; export type TrackingServerSize = "Small" | "Medium" | "Large"; -export type TrackingServerStatus = - | "Creating" - | "Created" - | "CreateFailed" - | "Updating" - | "Updated" - | "UpdateFailed" - | "Deleting" - | "DeleteFailed" - | "Stopping" - | "Stopped" - | "StopFailed" - | "Starting" - | "Started" - | "StartFailed" - | "MaintenanceInProgress" - | "MaintenanceComplete" - | "MaintenanceFailed"; +export type TrackingServerStatus = "Creating" | "Created" | "CreateFailed" | "Updating" | "Updated" | "UpdateFailed" | "Deleting" | "DeleteFailed" | "Stopping" | "Stopped" | "StopFailed" | "Starting" | "Started" | "StartFailed" | "MaintenanceInProgress" | "MaintenanceComplete" | "MaintenanceFailed"; export interface TrackingServerSummary { TrackingServerArn?: string; TrackingServerName?: string; @@ -12804,145 +11608,7 @@ export interface TrainingImageConfig { export type TrainingInputMode = "Pipe" | "File" | "FastFile"; export type TrainingInstanceCount = number; -export type TrainingInstanceType = - | "ml.m4.xlarge" - | "ml.m4.2xlarge" - | "ml.m4.4xlarge" - | "ml.m4.10xlarge" - | "ml.m4.16xlarge" - | "ml.g4dn.xlarge" - | "ml.g4dn.2xlarge" - | "ml.g4dn.4xlarge" - | "ml.g4dn.8xlarge" - | "ml.g4dn.12xlarge" - | "ml.g4dn.16xlarge" - | "ml.m5.large" - | "ml.m5.xlarge" - | "ml.m5.2xlarge" - | "ml.m5.4xlarge" - | "ml.m5.12xlarge" - | "ml.m5.24xlarge" - | "ml.c4.xlarge" - | "ml.c4.2xlarge" - | "ml.c4.4xlarge" - | "ml.c4.8xlarge" - | "ml.p2.xlarge" - | "ml.p2.8xlarge" - | "ml.p2.16xlarge" - | "ml.p3.2xlarge" - | "ml.p3.8xlarge" - | "ml.p3.16xlarge" - | "ml.p3dn.24xlarge" - | "ml.p4d.24xlarge" - | "ml.p4de.24xlarge" - | "ml.p5.48xlarge" - | "ml.p5e.48xlarge" - | "ml.p5en.48xlarge" - | "ml.c5.xlarge" - | "ml.c5.2xlarge" - | "ml.c5.4xlarge" - | "ml.c5.9xlarge" - | "ml.c5.18xlarge" - | "ml.c5n.xlarge" - | "ml.c5n.2xlarge" - | "ml.c5n.4xlarge" - | "ml.c5n.9xlarge" - | "ml.c5n.18xlarge" - | "ml.g5.xlarge" - | "ml.g5.2xlarge" - | "ml.g5.4xlarge" - | "ml.g5.8xlarge" - | "ml.g5.16xlarge" - | "ml.g5.12xlarge" - | "ml.g5.24xlarge" - | "ml.g5.48xlarge" - | "ml.g6.xlarge" - | "ml.g6.2xlarge" - | "ml.g6.4xlarge" - | "ml.g6.8xlarge" - | "ml.g6.16xlarge" - | "ml.g6.12xlarge" - | "ml.g6.24xlarge" - | "ml.g6.48xlarge" - | "ml.g6e.xlarge" - | "ml.g6e.2xlarge" - | "ml.g6e.4xlarge" - | "ml.g6e.8xlarge" - | "ml.g6e.16xlarge" - | "ml.g6e.12xlarge" - | "ml.g6e.24xlarge" - | "ml.g6e.48xlarge" - | "ml.trn1.2xlarge" - | "ml.trn1.32xlarge" - | "ml.trn1n.32xlarge" - | "ml.trn2.48xlarge" - | "ml.m6i.large" - | "ml.m6i.xlarge" - | "ml.m6i.2xlarge" - | "ml.m6i.4xlarge" - | "ml.m6i.8xlarge" - | "ml.m6i.12xlarge" - | "ml.m6i.16xlarge" - | "ml.m6i.24xlarge" - | "ml.m6i.32xlarge" - | "ml.c6i.xlarge" - | "ml.c6i.2xlarge" - | "ml.c6i.8xlarge" - | "ml.c6i.4xlarge" - | "ml.c6i.12xlarge" - | "ml.c6i.16xlarge" - | "ml.c6i.24xlarge" - | "ml.c6i.32xlarge" - | "ml.r5d.large" - | "ml.r5d.xlarge" - | "ml.r5d.2xlarge" - | "ml.r5d.4xlarge" - | "ml.r5d.8xlarge" - | "ml.r5d.12xlarge" - | "ml.r5d.16xlarge" - | "ml.r5d.24xlarge" - | "ml.t3.medium" - | "ml.t3.large" - | "ml.t3.xlarge" - | "ml.t3.2xlarge" - | "ml.r5.large" - | "ml.r5.xlarge" - | "ml.r5.2xlarge" - | "ml.r5.4xlarge" - | "ml.r5.8xlarge" - | "ml.r5.12xlarge" - | "ml.r5.16xlarge" - | "ml.r5.24xlarge" - | "ml.p6-b200.48xlarge" - | "ml.m7i.large" - | "ml.m7i.xlarge" - | "ml.m7i.2xlarge" - | "ml.m7i.4xlarge" - | "ml.m7i.8xlarge" - | "ml.m7i.12xlarge" - | "ml.m7i.16xlarge" - | "ml.m7i.24xlarge" - | "ml.m7i.48xlarge" - | "ml.c7i.large" - | "ml.c7i.xlarge" - | "ml.c7i.2xlarge" - | "ml.c7i.4xlarge" - | "ml.c7i.8xlarge" - | "ml.c7i.12xlarge" - | "ml.c7i.16xlarge" - | "ml.c7i.24xlarge" - | "ml.c7i.48xlarge" - | "ml.r7i.large" - | "ml.r7i.xlarge" - | "ml.r7i.2xlarge" - | "ml.r7i.4xlarge" - | "ml.r7i.8xlarge" - | "ml.r7i.12xlarge" - | "ml.r7i.16xlarge" - | "ml.r7i.24xlarge" - | "ml.r7i.48xlarge" - | "ml.p6e-gb200.36xlarge" - | "ml.p5.4xlarge"; +export type TrainingInstanceType = "ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.p5.48xlarge" | "ml.p5e.48xlarge" | "ml.p5en.48xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.c5n.xlarge" | "ml.c5n.2xlarge" | "ml.c5n.4xlarge" | "ml.c5n.9xlarge" | "ml.c5n.18xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.16xlarge" | "ml.g6.12xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.16xlarge" | "ml.g6e.12xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.trn2.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.8xlarge" | "ml.c6i.4xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.r5d.large" | "ml.r5d.xlarge" | "ml.r5d.2xlarge" | "ml.r5d.4xlarge" | "ml.r5d.8xlarge" | "ml.r5d.12xlarge" | "ml.r5d.16xlarge" | "ml.r5d.24xlarge" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.p6-b200.48xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.p6e-gb200.36xlarge" | "ml.p5.4xlarge"; export type TrainingInstanceTypes = Array; export interface TrainingJob { TrainingJobName?: string; @@ -12997,18 +11663,8 @@ export interface TrainingJobDefinition { export type TrainingJobEarlyStoppingType = "Off" | "Auto"; export type TrainingJobName = string; -export type TrainingJobSortByOptions = - | "Name" - | "CreationTime" - | "Status" - | "FinalObjectiveMetricValue"; -export type TrainingJobStatus = - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped" - | "Deleting"; +export type TrainingJobSortByOptions = "Name" | "CreationTime" | "Status" | "FinalObjectiveMetricValue"; +export type TrainingJobStatus = "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped" | "Deleting"; export type TrainingJobStatusCounter = number; export interface TrainingJobStatusCounters { @@ -13066,12 +11722,7 @@ export type TrainingPlanOfferingId = string; export type TrainingPlanOfferings = Array; export type TrainingPlanSortBy = "TrainingPlanName" | "StartTime" | "Status"; export type TrainingPlanSortOrder = "Ascending" | "Descending"; -export type TrainingPlanStatus = - | "Pending" - | "Active" - | "Scheduled" - | "Expired" - | "Failed"; +export type TrainingPlanStatus = "Pending" | "Active" | "Scheduled" | "Expired" | "Failed"; export type TrainingPlanStatusMessage = string; export type TrainingPlanSummaries = Array; @@ -13132,107 +11783,7 @@ export interface TransformInput { } export type TransformInstanceCount = number; -export type TransformInstanceType = - | "ml.m4.xlarge" - | "ml.m4.2xlarge" - | "ml.m4.4xlarge" - | "ml.m4.10xlarge" - | "ml.m4.16xlarge" - | "ml.c4.xlarge" - | "ml.c4.2xlarge" - | "ml.c4.4xlarge" - | "ml.c4.8xlarge" - | "ml.p2.xlarge" - | "ml.p2.8xlarge" - | "ml.p2.16xlarge" - | "ml.p3.2xlarge" - | "ml.p3.8xlarge" - | "ml.p3.16xlarge" - | "ml.c5.xlarge" - | "ml.c5.2xlarge" - | "ml.c5.4xlarge" - | "ml.c5.9xlarge" - | "ml.c5.18xlarge" - | "ml.m5.large" - | "ml.m5.xlarge" - | "ml.m5.2xlarge" - | "ml.m5.4xlarge" - | "ml.m5.12xlarge" - | "ml.m5.24xlarge" - | "ml.m6i.large" - | "ml.m6i.xlarge" - | "ml.m6i.2xlarge" - | "ml.m6i.4xlarge" - | "ml.m6i.8xlarge" - | "ml.m6i.12xlarge" - | "ml.m6i.16xlarge" - | "ml.m6i.24xlarge" - | "ml.m6i.32xlarge" - | "ml.c6i.large" - | "ml.c6i.xlarge" - | "ml.c6i.2xlarge" - | "ml.c6i.4xlarge" - | "ml.c6i.8xlarge" - | "ml.c6i.12xlarge" - | "ml.c6i.16xlarge" - | "ml.c6i.24xlarge" - | "ml.c6i.32xlarge" - | "ml.r6i.large" - | "ml.r6i.xlarge" - | "ml.r6i.2xlarge" - | "ml.r6i.4xlarge" - | "ml.r6i.8xlarge" - | "ml.r6i.12xlarge" - | "ml.r6i.16xlarge" - | "ml.r6i.24xlarge" - | "ml.r6i.32xlarge" - | "ml.m7i.large" - | "ml.m7i.xlarge" - | "ml.m7i.2xlarge" - | "ml.m7i.4xlarge" - | "ml.m7i.8xlarge" - | "ml.m7i.12xlarge" - | "ml.m7i.16xlarge" - | "ml.m7i.24xlarge" - | "ml.m7i.48xlarge" - | "ml.c7i.large" - | "ml.c7i.xlarge" - | "ml.c7i.2xlarge" - | "ml.c7i.4xlarge" - | "ml.c7i.8xlarge" - | "ml.c7i.12xlarge" - | "ml.c7i.16xlarge" - | "ml.c7i.24xlarge" - | "ml.c7i.48xlarge" - | "ml.r7i.large" - | "ml.r7i.xlarge" - | "ml.r7i.2xlarge" - | "ml.r7i.4xlarge" - | "ml.r7i.8xlarge" - | "ml.r7i.12xlarge" - | "ml.r7i.16xlarge" - | "ml.r7i.24xlarge" - | "ml.r7i.48xlarge" - | "ml.g4dn.xlarge" - | "ml.g4dn.2xlarge" - | "ml.g4dn.4xlarge" - | "ml.g4dn.8xlarge" - | "ml.g4dn.12xlarge" - | "ml.g4dn.16xlarge" - | "ml.g5.xlarge" - | "ml.g5.2xlarge" - | "ml.g5.4xlarge" - | "ml.g5.8xlarge" - | "ml.g5.12xlarge" - | "ml.g5.16xlarge" - | "ml.g5.24xlarge" - | "ml.g5.48xlarge" - | "ml.trn1.2xlarge" - | "ml.trn1.32xlarge" - | "ml.inf2.xlarge" - | "ml.inf2.8xlarge" - | "ml.inf2.24xlarge" - | "ml.inf2.48xlarge"; +export type TransformInstanceType = "ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.p2.xlarge" | "ml.p2.8xlarge" | "ml.p2.16xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.12xlarge" | "ml.g5.16xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.inf2.xlarge" | "ml.inf2.8xlarge" | "ml.inf2.24xlarge" | "ml.inf2.48xlarge"; export type TransformInstanceTypes = Array; export interface TransformJob { TransformJobName?: string; @@ -13271,12 +11822,7 @@ export interface TransformJobDefinition { } export type TransformJobName = string; -export type TransformJobStatus = - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped"; +export type TransformJobStatus = "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"; export interface TransformJobStepMetadata { Arn?: string; } @@ -13372,24 +11918,14 @@ export interface TrialComponentMetricSummary { Avg?: number; StdDev?: number; } -export type TrialComponentParameters = Record< - string, - TrialComponentParameterValue ->; +export type TrialComponentParameters = Record; interface _TrialComponentParameterValue { StringValue?: string; NumberValue?: number; } -export type TrialComponentParameterValue = - | (_TrialComponentParameterValue & { StringValue: string }) - | (_TrialComponentParameterValue & { NumberValue: number }); -export type TrialComponentPrimaryStatus = - | "InProgress" - | "Completed" - | "Failed" - | "Stopping" - | "Stopped"; +export type TrialComponentParameterValue = (_TrialComponentParameterValue & { StringValue: string }) | (_TrialComponentParameterValue & { NumberValue: number }); +export type TrialComponentPrimaryStatus = "InProgress" | "Completed" | "Failed" | "Stopping" | "Stopped"; export type TrialComponentSimpleSummaries = Array; export interface TrialComponentSimpleSummary { TrialComponentName?: string; @@ -13453,12 +11989,7 @@ export interface TtlDuration { Unit?: TtlDurationUnit; Value?: number; } -export type TtlDurationUnit = - | "Seconds" - | "Minutes" - | "Hours" - | "Days" - | "Weeks"; +export type TtlDurationUnit = "Seconds" | "Minutes" | "Hours" | "Days" | "Weeks"; export type TtlDurationValue = number; export interface TuningJobCompletionCriteria { @@ -13580,8 +12111,7 @@ export interface UpdateClusterSchedulerConfigResponse { ClusterSchedulerConfigArn: string; ClusterSchedulerConfigVersion: number; } -export type UpdateClusterSoftwareInstanceGroups = - Array; +export type UpdateClusterSoftwareInstanceGroups = Array; export interface UpdateClusterSoftwareInstanceGroupSpecification { InstanceGroupName: string; } @@ -13850,8 +12380,10 @@ export interface UpdateNotebookInstanceLifecycleConfigInput { OnCreate?: Array; OnStart?: Array; } -export interface UpdateNotebookInstanceLifecycleConfigOutput {} -export interface UpdateNotebookInstanceOutput {} +export interface UpdateNotebookInstanceLifecycleConfigOutput { +} +export interface UpdateNotebookInstanceOutput { +} export interface UpdatePartnerAppRequest { Arn: string; MaintenanceConfig?: PartnerAppMaintenanceConfig; @@ -14006,14 +12538,7 @@ export type UserProfileList = Array; export type UserProfileName = string; export type UserProfileSortKey = "CreationTime" | "LastModifiedTime"; -export type UserProfileStatus = - | "Deleting" - | "Failed" - | "InService" - | "Pending" - | "Updating" - | "Update_Failed" - | "Delete_Failed"; +export type UserProfileStatus = "Deleting" | "Failed" | "InService" | "Pending" | "Updating" | "Update_Failed" | "Delete_Failed"; export interface UserSettings { ExecutionRole?: string; SecurityGroups?: Array; @@ -14048,16 +12573,8 @@ export interface VariantProperty { VariantPropertyType: VariantPropertyType; } export type VariantPropertyList = Array; -export type VariantPropertyType = - | "DesiredInstanceCount" - | "DesiredWeight" - | "DataCaptureConfig"; -export type VariantStatus = - | "Creating" - | "Updating" - | "Deleting" - | "ActivatingTraffic" - | "Baking"; +export type VariantPropertyType = "DesiredInstanceCount" | "DesiredWeight" | "DataCaptureConfig"; +export type VariantStatus = "Creating" | "Updating" | "Deleting" | "ActivatingTraffic" | "Baking"; export type VariantStatusMessage = string; export type VariantWeight = number; @@ -14067,11 +12584,7 @@ export type VCpuAmount = number; export interface VectorConfig { Dimension: number; } -export type VendorGuidance = - | "NOT_PROVIDED" - | "STABLE" - | "TO_BE_ARCHIVED" - | "ARCHIVED"; +export type VendorGuidance = "NOT_PROVIDED" | "STABLE" | "TO_BE_ARCHIVED" | "ARCHIVED"; export type VersionAliasesList = Array; export type VersionedArnOrName = string; @@ -14092,12 +12605,7 @@ export type VisibilityConditionsKey = string; export type VisibilityConditionsList = Array; export type VisibilityConditionsValue = string; -export type VolumeAttachmentStatus = - | "attaching" - | "attached" - | "detaching" - | "detached" - | "busy"; +export type VolumeAttachmentStatus = "attaching" | "attached" | "detaching" | "detached" | "busy"; export type VolumeDeviceName = string; export type VolumeId = string; @@ -14116,11 +12624,7 @@ export type WaitIntervalInSeconds = number; export type WaitTimeIntervalInSeconds = number; -export type WarmPoolResourceStatus = - | "Available" - | "Terminated" - | "Reused" - | "InUse"; +export type WarmPoolResourceStatus = "Available" | "Terminated" | "Reused" | "InUse"; export interface WarmPoolStatus { Status: WarmPoolResourceStatus; ResourceRetainedBillableTimeInSeconds?: number; @@ -14158,12 +12662,7 @@ export type Workforces = Array; export type WorkforceSecurityGroupId = string; export type WorkforceSecurityGroupIds = Array; -export type WorkforceStatus = - | "Initializing" - | "Updating" - | "Deleting" - | "Failed" - | "Active"; +export type WorkforceStatus = "Initializing" | "Updating" | "Deleting" | "Failed" | "Active"; export type WorkforceSubnetId = string; export type WorkforceSubnets = Array; @@ -14211,91 +12710,125 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( export declare namespace AddAssociation { export type Input = AddAssociationRequest; export type Output = AddAssociationResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace AddTags { export type Input = AddTagsInput; export type Output = AddTagsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace AssociateTrialComponent { export type Input = AssociateTrialComponentRequest; export type Output = AssociateTrialComponentResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace AttachClusterNodeVolume { export type Input = AttachClusterNodeVolumeRequest; export type Output = AttachClusterNodeVolumeResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace BatchAddClusterNodes { export type Input = BatchAddClusterNodesRequest; export type Output = BatchAddClusterNodesResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace BatchDeleteClusterNodes { export type Input = BatchDeleteClusterNodesRequest; export type Output = BatchDeleteClusterNodesResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace BatchDescribeModelPackage { export type Input = BatchDescribeModelPackageInput; export type Output = BatchDescribeModelPackageOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateAction { export type Input = CreateActionRequest; export type Output = CreateActionResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateAlgorithm { export type Input = CreateAlgorithmInput; export type Output = CreateAlgorithmOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateApp { export type Input = CreateAppRequest; export type Output = CreateAppResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateAppImageConfig { export type Input = CreateAppImageConfigRequest; export type Output = CreateAppImageConfigResponse; - export type Error = ResourceInUse | CommonAwsError; + export type Error = + | ResourceInUse + | CommonAwsError; } export declare namespace CreateArtifact { export type Input = CreateArtifactRequest; export type Output = CreateArtifactResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateAutoMLJob { export type Input = CreateAutoMLJobRequest; export type Output = CreateAutoMLJobResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateAutoMLJobV2 { export type Input = CreateAutoMLJobV2Request; export type Output = CreateAutoMLJobV2Response; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateCluster { export type Input = CreateClusterRequest; export type Output = CreateClusterResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateClusterSchedulerConfig { @@ -14310,13 +12843,17 @@ export declare namespace CreateClusterSchedulerConfig { export declare namespace CreateCodeRepository { export type Input = CreateCodeRepositoryInput; export type Output = CreateCodeRepositoryOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCompilationJob { export type Input = CreateCompilationJobRequest; export type Output = CreateCompilationJobResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateComputeQuota { @@ -14331,85 +12868,118 @@ export declare namespace CreateComputeQuota { export declare namespace CreateContext { export type Input = CreateContextRequest; export type Output = CreateContextResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateDataQualityJobDefinition { export type Input = CreateDataQualityJobDefinitionRequest; export type Output = CreateDataQualityJobDefinitionResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateDeviceFleet { export type Input = CreateDeviceFleetRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateDomain { export type Input = CreateDomainRequest; export type Output = CreateDomainResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateEdgeDeploymentPlan { export type Input = CreateEdgeDeploymentPlanRequest; export type Output = CreateEdgeDeploymentPlanResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateEdgeDeploymentStage { export type Input = CreateEdgeDeploymentStageRequest; export type Output = {}; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateEdgePackagingJob { export type Input = CreateEdgePackagingJobRequest; export type Output = {}; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateEndpoint { export type Input = CreateEndpointInput; export type Output = CreateEndpointOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateEndpointConfig { export type Input = CreateEndpointConfigInput; export type Output = CreateEndpointConfigOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateExperiment { export type Input = CreateExperimentRequest; export type Output = CreateExperimentResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateFeatureGroup { export type Input = CreateFeatureGroupRequest; export type Output = CreateFeatureGroupResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateFlowDefinition { export type Input = CreateFlowDefinitionRequest; export type Output = CreateFlowDefinitionResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateHub { export type Input = CreateHubRequest; export type Output = CreateHubResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateHubContentPresignedUrls { export type Input = CreateHubContentPresignedUrlsRequest; export type Output = CreateHubContentPresignedUrlsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateHubContentReference { @@ -14425,19 +12995,28 @@ export declare namespace CreateHubContentReference { export declare namespace CreateHumanTaskUi { export type Input = CreateHumanTaskUiRequest; export type Output = CreateHumanTaskUiResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateHyperParameterTuningJob { export type Input = CreateHyperParameterTuningJobRequest; export type Output = CreateHyperParameterTuningJobResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateImage { export type Input = CreateImageRequest; export type Output = CreateImageResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateImageVersion { @@ -14453,43 +13032,61 @@ export declare namespace CreateImageVersion { export declare namespace CreateInferenceComponent { export type Input = CreateInferenceComponentInput; export type Output = CreateInferenceComponentOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateInferenceExperiment { export type Input = CreateInferenceExperimentRequest; export type Output = CreateInferenceExperimentResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateInferenceRecommendationsJob { export type Input = CreateInferenceRecommendationsJobRequest; export type Output = CreateInferenceRecommendationsJobResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateLabelingJob { export type Input = CreateLabelingJobRequest; export type Output = CreateLabelingJobResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateMlflowTrackingServer { export type Input = CreateMlflowTrackingServerRequest; export type Output = CreateMlflowTrackingServerResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateModel { export type Input = CreateModelInput; export type Output = CreateModelOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateModelBiasJobDefinition { export type Input = CreateModelBiasJobDefinitionRequest; export type Output = CreateModelBiasJobDefinitionResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateModelCard { @@ -14514,7 +13111,10 @@ export declare namespace CreateModelCardExportJob { export declare namespace CreateModelExplainabilityJobDefinition { export type Input = CreateModelExplainabilityJobDefinitionRequest; export type Output = CreateModelExplainabilityJobDefinitionResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateModelPackage { @@ -14529,37 +13129,52 @@ export declare namespace CreateModelPackage { export declare namespace CreateModelPackageGroup { export type Input = CreateModelPackageGroupInput; export type Output = CreateModelPackageGroupOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateModelQualityJobDefinition { export type Input = CreateModelQualityJobDefinitionRequest; export type Output = CreateModelQualityJobDefinitionResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateMonitoringSchedule { export type Input = CreateMonitoringScheduleRequest; export type Output = CreateMonitoringScheduleResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateNotebookInstance { export type Input = CreateNotebookInstanceInput; export type Output = CreateNotebookInstanceOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateNotebookInstanceLifecycleConfig { export type Input = CreateNotebookInstanceLifecycleConfigInput; export type Output = CreateNotebookInstanceLifecycleConfigOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateOptimizationJob { export type Input = CreateOptimizationJobRequest; export type Output = CreateOptimizationJobResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreatePartnerApp { @@ -14574,7 +13189,9 @@ export declare namespace CreatePartnerApp { export declare namespace CreatePartnerAppPresignedUrl { export type Input = CreatePartnerAppPresignedUrlRequest; export type Output = CreatePartnerAppPresignedUrlResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace CreatePipeline { @@ -14590,19 +13207,24 @@ export declare namespace CreatePipeline { export declare namespace CreatePresignedDomainUrl { export type Input = CreatePresignedDomainUrlRequest; export type Output = CreatePresignedDomainUrlResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace CreatePresignedMlflowTrackingServerUrl { export type Input = CreatePresignedMlflowTrackingServerUrlRequest; export type Output = CreatePresignedMlflowTrackingServerUrlResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace CreatePresignedNotebookInstanceUrl { export type Input = CreatePresignedNotebookInstanceUrlInput; export type Output = CreatePresignedNotebookInstanceUrlOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateProcessingJob { @@ -14618,19 +13240,26 @@ export declare namespace CreateProcessingJob { export declare namespace CreateProject { export type Input = CreateProjectInput; export type Output = CreateProjectOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateSpace { export type Input = CreateSpaceRequest; export type Output = CreateSpaceResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateStudioLifecycleConfig { export type Input = CreateStudioLifecycleConfigRequest; export type Output = CreateStudioLifecycleConfigResponse; - export type Error = ResourceInUse | CommonAwsError; + export type Error = + | ResourceInUse + | CommonAwsError; } export declare namespace CreateTrainingJob { @@ -14666,565 +13295,756 @@ export declare namespace CreateTransformJob { export declare namespace CreateTrial { export type Input = CreateTrialRequest; export type Output = CreateTrialResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace CreateTrialComponent { export type Input = CreateTrialComponentRequest; export type Output = CreateTrialComponentResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateUserProfile { export type Input = CreateUserProfileRequest; export type Output = CreateUserProfileResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace CreateWorkforce { export type Input = CreateWorkforceRequest; export type Output = CreateWorkforceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateWorkteam { export type Input = CreateWorkteamRequest; export type Output = CreateWorkteamResponse; - export type Error = ResourceInUse | ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace DeleteAction { export type Input = DeleteActionRequest; export type Output = DeleteActionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteAlgorithm { export type Input = DeleteAlgorithmInput; export type Output = {}; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace DeleteApp { export type Input = DeleteAppRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteAppImageConfig { export type Input = DeleteAppImageConfigRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteArtifact { export type Input = DeleteArtifactRequest; export type Output = DeleteArtifactResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteAssociation { export type Input = DeleteAssociationRequest; export type Output = DeleteAssociationResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteCluster { export type Input = DeleteClusterRequest; export type Output = DeleteClusterResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteClusterSchedulerConfig { export type Input = DeleteClusterSchedulerConfigRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteCodeRepository { export type Input = DeleteCodeRepositoryInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteCompilationJob { export type Input = DeleteCompilationJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteComputeQuota { export type Input = DeleteComputeQuotaRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteContext { export type Input = DeleteContextRequest; export type Output = DeleteContextResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteDataQualityJobDefinition { export type Input = DeleteDataQualityJobDefinitionRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteDeviceFleet { export type Input = DeleteDeviceFleetRequest; export type Output = {}; - export type Error = ResourceInUse | CommonAwsError; + export type Error = + | ResourceInUse + | CommonAwsError; } export declare namespace DeleteDomain { export type Input = DeleteDomainRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteEdgeDeploymentPlan { export type Input = DeleteEdgeDeploymentPlanRequest; export type Output = {}; - export type Error = ResourceInUse | CommonAwsError; + export type Error = + | ResourceInUse + | CommonAwsError; } export declare namespace DeleteEdgeDeploymentStage { export type Input = DeleteEdgeDeploymentStageRequest; export type Output = {}; - export type Error = ResourceInUse | CommonAwsError; + export type Error = + | ResourceInUse + | CommonAwsError; } export declare namespace DeleteEndpoint { export type Input = DeleteEndpointInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteEndpointConfig { export type Input = DeleteEndpointConfigInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteExperiment { export type Input = DeleteExperimentRequest; export type Output = DeleteExperimentResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteFeatureGroup { export type Input = DeleteFeatureGroupRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteFlowDefinition { export type Input = DeleteFlowDefinitionRequest; export type Output = DeleteFlowDefinitionResponse; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteHub { export type Input = DeleteHubRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteHubContent { export type Input = DeleteHubContentRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteHubContentReference { export type Input = DeleteHubContentReferenceRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteHumanTaskUi { export type Input = DeleteHumanTaskUiRequest; export type Output = DeleteHumanTaskUiResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteHyperParameterTuningJob { export type Input = DeleteHyperParameterTuningJobRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteImage { export type Input = DeleteImageRequest; export type Output = DeleteImageResponse; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteImageVersion { export type Input = DeleteImageVersionRequest; export type Output = DeleteImageVersionResponse; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteInferenceComponent { export type Input = DeleteInferenceComponentInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteInferenceExperiment { export type Input = DeleteInferenceExperimentRequest; export type Output = DeleteInferenceExperimentResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteMlflowTrackingServer { export type Input = DeleteMlflowTrackingServerRequest; export type Output = DeleteMlflowTrackingServerResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteModel { export type Input = DeleteModelInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteModelBiasJobDefinition { export type Input = DeleteModelBiasJobDefinitionRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteModelCard { export type Input = DeleteModelCardRequest; export type Output = {}; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteModelExplainabilityJobDefinition { export type Input = DeleteModelExplainabilityJobDefinitionRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteModelPackage { export type Input = DeleteModelPackageInput; export type Output = {}; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace DeleteModelPackageGroup { export type Input = DeleteModelPackageGroupInput; export type Output = {}; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace DeleteModelPackageGroupPolicy { export type Input = DeleteModelPackageGroupPolicyInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteModelQualityJobDefinition { export type Input = DeleteModelQualityJobDefinitionRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteMonitoringSchedule { export type Input = DeleteMonitoringScheduleRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteNotebookInstance { export type Input = DeleteNotebookInstanceInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteNotebookInstanceLifecycleConfig { export type Input = DeleteNotebookInstanceLifecycleConfigInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteOptimizationJob { export type Input = DeleteOptimizationJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeletePartnerApp { export type Input = DeletePartnerAppRequest; export type Output = DeletePartnerAppResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace DeletePipeline { export type Input = DeletePipelineRequest; export type Output = DeletePipelineResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteProcessingJob { export type Input = DeleteProcessingJobRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteProject { export type Input = DeleteProjectInput; export type Output = {}; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace DeleteSpace { export type Input = DeleteSpaceRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteStudioLifecycleConfig { export type Input = DeleteStudioLifecycleConfigRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteTags { export type Input = DeleteTagsInput; export type Output = DeleteTagsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteTrainingJob { export type Input = DeleteTrainingJobRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteTrial { export type Input = DeleteTrialRequest; export type Output = DeleteTrialResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteTrialComponent { export type Input = DeleteTrialComponentRequest; export type Output = DeleteTrialComponentResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteUserProfile { export type Input = DeleteUserProfileRequest; export type Output = {}; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace DeleteWorkforce { export type Input = DeleteWorkforceRequest; export type Output = DeleteWorkforceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteWorkteam { export type Input = DeleteWorkteamRequest; export type Output = DeleteWorkteamResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace DeregisterDevices { export type Input = DeregisterDevicesRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeAction { export type Input = DescribeActionRequest; export type Output = DescribeActionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeAlgorithm { export type Input = DescribeAlgorithmInput; export type Output = DescribeAlgorithmOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeApp { export type Input = DescribeAppRequest; export type Output = DescribeAppResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeAppImageConfig { export type Input = DescribeAppImageConfigRequest; export type Output = DescribeAppImageConfigResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeArtifact { export type Input = DescribeArtifactRequest; export type Output = DescribeArtifactResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeAutoMLJob { export type Input = DescribeAutoMLJobRequest; export type Output = DescribeAutoMLJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeAutoMLJobV2 { export type Input = DescribeAutoMLJobV2Request; export type Output = DescribeAutoMLJobV2Response; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeCluster { export type Input = DescribeClusterRequest; export type Output = DescribeClusterResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeClusterEvent { export type Input = DescribeClusterEventRequest; export type Output = DescribeClusterEventResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeClusterNode { export type Input = DescribeClusterNodeRequest; export type Output = DescribeClusterNodeResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeClusterSchedulerConfig { export type Input = DescribeClusterSchedulerConfigRequest; export type Output = DescribeClusterSchedulerConfigResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeCodeRepository { export type Input = DescribeCodeRepositoryInput; export type Output = DescribeCodeRepositoryOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeCompilationJob { export type Input = DescribeCompilationJobRequest; export type Output = DescribeCompilationJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeComputeQuota { export type Input = DescribeComputeQuotaRequest; export type Output = DescribeComputeQuotaResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeContext { export type Input = DescribeContextRequest; export type Output = DescribeContextResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeDataQualityJobDefinition { export type Input = DescribeDataQualityJobDefinitionRequest; export type Output = DescribeDataQualityJobDefinitionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeDevice { export type Input = DescribeDeviceRequest; export type Output = DescribeDeviceResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeDeviceFleet { export type Input = DescribeDeviceFleetRequest; export type Output = DescribeDeviceFleetResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeDomain { export type Input = DescribeDomainRequest; export type Output = DescribeDomainResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeEdgeDeploymentPlan { export type Input = DescribeEdgeDeploymentPlanRequest; export type Output = DescribeEdgeDeploymentPlanResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeEdgePackagingJob { export type Input = DescribeEdgePackagingJobRequest; export type Output = DescribeEdgePackagingJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeEndpoint { export type Input = DescribeEndpointInput; export type Output = DescribeEndpointOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeEndpointConfig { export type Input = DescribeEndpointConfigInput; export type Output = DescribeEndpointConfigOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeExperiment { export type Input = DescribeExperimentRequest; export type Output = DescribeExperimentResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeFeatureGroup { export type Input = DescribeFeatureGroupRequest; export type Output = DescribeFeatureGroupResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeFeatureMetadata { export type Input = DescribeFeatureMetadataRequest; export type Output = DescribeFeatureMetadataResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeFlowDefinition { export type Input = DescribeFlowDefinitionRequest; export type Output = DescribeFlowDefinitionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeHub { export type Input = DescribeHubRequest; export type Output = DescribeHubResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeHubContent { export type Input = DescribeHubContentRequest; export type Output = DescribeHubContentResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeHumanTaskUi { export type Input = DescribeHumanTaskUiRequest; export type Output = DescribeHumanTaskUiResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeHyperParameterTuningJob { export type Input = DescribeHyperParameterTuningJobRequest; export type Output = DescribeHyperParameterTuningJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeImage { @@ -15248,277 +14068,354 @@ export declare namespace DescribeImageVersion { export declare namespace DescribeInferenceComponent { export type Input = DescribeInferenceComponentInput; export type Output = DescribeInferenceComponentOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeInferenceExperiment { export type Input = DescribeInferenceExperimentRequest; export type Output = DescribeInferenceExperimentResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeInferenceRecommendationsJob { export type Input = DescribeInferenceRecommendationsJobRequest; export type Output = DescribeInferenceRecommendationsJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeLabelingJob { export type Input = DescribeLabelingJobRequest; export type Output = DescribeLabelingJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeLineageGroup { export type Input = DescribeLineageGroupRequest; export type Output = DescribeLineageGroupResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeMlflowTrackingServer { export type Input = DescribeMlflowTrackingServerRequest; export type Output = DescribeMlflowTrackingServerResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeModel { export type Input = DescribeModelInput; export type Output = DescribeModelOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeModelBiasJobDefinition { export type Input = DescribeModelBiasJobDefinitionRequest; export type Output = DescribeModelBiasJobDefinitionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeModelCard { export type Input = DescribeModelCardRequest; export type Output = DescribeModelCardResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeModelCardExportJob { export type Input = DescribeModelCardExportJobRequest; export type Output = DescribeModelCardExportJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeModelExplainabilityJobDefinition { export type Input = DescribeModelExplainabilityJobDefinitionRequest; export type Output = DescribeModelExplainabilityJobDefinitionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeModelPackage { export type Input = DescribeModelPackageInput; export type Output = DescribeModelPackageOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeModelPackageGroup { export type Input = DescribeModelPackageGroupInput; export type Output = DescribeModelPackageGroupOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeModelQualityJobDefinition { export type Input = DescribeModelQualityJobDefinitionRequest; export type Output = DescribeModelQualityJobDefinitionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeMonitoringSchedule { export type Input = DescribeMonitoringScheduleRequest; export type Output = DescribeMonitoringScheduleResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeNotebookInstance { export type Input = DescribeNotebookInstanceInput; export type Output = DescribeNotebookInstanceOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeNotebookInstanceLifecycleConfig { export type Input = DescribeNotebookInstanceLifecycleConfigInput; export type Output = DescribeNotebookInstanceLifecycleConfigOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeOptimizationJob { export type Input = DescribeOptimizationJobRequest; export type Output = DescribeOptimizationJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribePartnerApp { export type Input = DescribePartnerAppRequest; export type Output = DescribePartnerAppResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribePipeline { export type Input = DescribePipelineRequest; export type Output = DescribePipelineResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribePipelineDefinitionForExecution { export type Input = DescribePipelineDefinitionForExecutionRequest; export type Output = DescribePipelineDefinitionForExecutionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribePipelineExecution { export type Input = DescribePipelineExecutionRequest; export type Output = DescribePipelineExecutionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeProcessingJob { export type Input = DescribeProcessingJobRequest; export type Output = DescribeProcessingJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeProject { export type Input = DescribeProjectInput; export type Output = DescribeProjectOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeReservedCapacity { export type Input = DescribeReservedCapacityRequest; export type Output = DescribeReservedCapacityResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeSpace { export type Input = DescribeSpaceRequest; export type Output = DescribeSpaceResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeStudioLifecycleConfig { export type Input = DescribeStudioLifecycleConfigRequest; export type Output = DescribeStudioLifecycleConfigResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeSubscribedWorkteam { export type Input = DescribeSubscribedWorkteamRequest; export type Output = DescribeSubscribedWorkteamResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeTrainingJob { export type Input = DescribeTrainingJobRequest; export type Output = DescribeTrainingJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeTrainingPlan { export type Input = DescribeTrainingPlanRequest; export type Output = DescribeTrainingPlanResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeTransformJob { export type Input = DescribeTransformJobRequest; export type Output = DescribeTransformJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeTrial { export type Input = DescribeTrialRequest; export type Output = DescribeTrialResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeTrialComponent { export type Input = DescribeTrialComponentRequest; export type Output = DescribeTrialComponentResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeUserProfile { export type Input = DescribeUserProfileRequest; export type Output = DescribeUserProfileResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeWorkforce { export type Input = DescribeWorkforceRequest; export type Output = DescribeWorkforceResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeWorkteam { export type Input = DescribeWorkteamRequest; export type Output = DescribeWorkteamResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DetachClusterNodeVolume { export type Input = DetachClusterNodeVolumeRequest; export type Output = DetachClusterNodeVolumeResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace DisableSagemakerServicecatalogPortfolio { export type Input = DisableSagemakerServicecatalogPortfolioInput; export type Output = DisableSagemakerServicecatalogPortfolioOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DisassociateTrialComponent { export type Input = DisassociateTrialComponentRequest; export type Output = DisassociateTrialComponentResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace EnableSagemakerServicecatalogPortfolio { export type Input = EnableSagemakerServicecatalogPortfolioInput; export type Output = EnableSagemakerServicecatalogPortfolioOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetDeviceFleetReport { export type Input = GetDeviceFleetReportRequest; export type Output = GetDeviceFleetReportResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetLineageGroupPolicy { export type Input = GetLineageGroupPolicyRequest; export type Output = GetLineageGroupPolicyResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace GetModelPackageGroupPolicy { export type Input = GetModelPackageGroupPolicyInput; export type Output = GetModelPackageGroupPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSagemakerServicecatalogPortfolioStatus { export type Input = GetSagemakerServicecatalogPortfolioStatusInput; export type Output = GetSagemakerServicecatalogPortfolioStatusOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetScalingConfigurationRecommendation { export type Input = GetScalingConfigurationRecommendationRequest; export type Output = GetScalingConfigurationRecommendationResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace GetSearchSuggestions { export type Input = GetSearchSuggestionsRequest; export type Output = GetSearchSuggestionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ImportHubContent { @@ -15534,529 +14431,646 @@ export declare namespace ImportHubContent { export declare namespace ListActions { export type Input = ListActionsRequest; export type Output = ListActionsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListAlgorithms { export type Input = ListAlgorithmsInput; export type Output = ListAlgorithmsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListAliases { export type Input = ListAliasesRequest; export type Output = ListAliasesResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListAppImageConfigs { export type Input = ListAppImageConfigsRequest; export type Output = ListAppImageConfigsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListApps { export type Input = ListAppsRequest; export type Output = ListAppsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListArtifacts { export type Input = ListArtifactsRequest; export type Output = ListArtifactsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListAssociations { export type Input = ListAssociationsRequest; export type Output = ListAssociationsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListAutoMLJobs { export type Input = ListAutoMLJobsRequest; export type Output = ListAutoMLJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListCandidatesForAutoMLJob { export type Input = ListCandidatesForAutoMLJobRequest; export type Output = ListCandidatesForAutoMLJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListClusterEvents { export type Input = ListClusterEventsRequest; export type Output = ListClusterEventsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListClusterNodes { export type Input = ListClusterNodesRequest; export type Output = ListClusterNodesResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListClusters { export type Input = ListClustersRequest; export type Output = ListClustersResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListClusterSchedulerConfigs { export type Input = ListClusterSchedulerConfigsRequest; export type Output = ListClusterSchedulerConfigsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListCodeRepositories { export type Input = ListCodeRepositoriesInput; export type Output = ListCodeRepositoriesOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListCompilationJobs { export type Input = ListCompilationJobsRequest; export type Output = ListCompilationJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListComputeQuotas { export type Input = ListComputeQuotasRequest; export type Output = ListComputeQuotasResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListContexts { export type Input = ListContextsRequest; export type Output = ListContextsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListDataQualityJobDefinitions { export type Input = ListDataQualityJobDefinitionsRequest; export type Output = ListDataQualityJobDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListDeviceFleets { export type Input = ListDeviceFleetsRequest; export type Output = ListDeviceFleetsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListDevices { export type Input = ListDevicesRequest; export type Output = ListDevicesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListDomains { export type Input = ListDomainsRequest; export type Output = ListDomainsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListEdgeDeploymentPlans { export type Input = ListEdgeDeploymentPlansRequest; export type Output = ListEdgeDeploymentPlansResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListEdgePackagingJobs { export type Input = ListEdgePackagingJobsRequest; export type Output = ListEdgePackagingJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListEndpointConfigs { export type Input = ListEndpointConfigsInput; export type Output = ListEndpointConfigsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListEndpoints { export type Input = ListEndpointsInput; export type Output = ListEndpointsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListExperiments { export type Input = ListExperimentsRequest; export type Output = ListExperimentsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListFeatureGroups { export type Input = ListFeatureGroupsRequest; export type Output = ListFeatureGroupsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListFlowDefinitions { export type Input = ListFlowDefinitionsRequest; export type Output = ListFlowDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListHubContents { export type Input = ListHubContentsRequest; export type Output = ListHubContentsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListHubContentVersions { export type Input = ListHubContentVersionsRequest; export type Output = ListHubContentVersionsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListHubs { export type Input = ListHubsRequest; export type Output = ListHubsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListHumanTaskUis { export type Input = ListHumanTaskUisRequest; export type Output = ListHumanTaskUisResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListHyperParameterTuningJobs { export type Input = ListHyperParameterTuningJobsRequest; export type Output = ListHyperParameterTuningJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListImages { export type Input = ListImagesRequest; export type Output = ListImagesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListImageVersions { export type Input = ListImageVersionsRequest; export type Output = ListImageVersionsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListInferenceComponents { export type Input = ListInferenceComponentsInput; export type Output = ListInferenceComponentsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListInferenceExperiments { export type Input = ListInferenceExperimentsRequest; export type Output = ListInferenceExperimentsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListInferenceRecommendationsJobs { export type Input = ListInferenceRecommendationsJobsRequest; export type Output = ListInferenceRecommendationsJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListInferenceRecommendationsJobSteps { export type Input = ListInferenceRecommendationsJobStepsRequest; export type Output = ListInferenceRecommendationsJobStepsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListLabelingJobs { export type Input = ListLabelingJobsRequest; export type Output = ListLabelingJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListLabelingJobsForWorkteam { export type Input = ListLabelingJobsForWorkteamRequest; export type Output = ListLabelingJobsForWorkteamResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListLineageGroups { export type Input = ListLineageGroupsRequest; export type Output = ListLineageGroupsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListMlflowTrackingServers { export type Input = ListMlflowTrackingServersRequest; export type Output = ListMlflowTrackingServersResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListModelBiasJobDefinitions { export type Input = ListModelBiasJobDefinitionsRequest; export type Output = ListModelBiasJobDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListModelCardExportJobs { export type Input = ListModelCardExportJobsRequest; export type Output = ListModelCardExportJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListModelCards { export type Input = ListModelCardsRequest; export type Output = ListModelCardsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListModelCardVersions { export type Input = ListModelCardVersionsRequest; export type Output = ListModelCardVersionsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListModelExplainabilityJobDefinitions { export type Input = ListModelExplainabilityJobDefinitionsRequest; export type Output = ListModelExplainabilityJobDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListModelMetadata { export type Input = ListModelMetadataRequest; export type Output = ListModelMetadataResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListModelPackageGroups { export type Input = ListModelPackageGroupsInput; export type Output = ListModelPackageGroupsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListModelPackages { export type Input = ListModelPackagesInput; export type Output = ListModelPackagesOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListModelQualityJobDefinitions { export type Input = ListModelQualityJobDefinitionsRequest; export type Output = ListModelQualityJobDefinitionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListModels { export type Input = ListModelsInput; export type Output = ListModelsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListMonitoringAlertHistory { export type Input = ListMonitoringAlertHistoryRequest; export type Output = ListMonitoringAlertHistoryResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListMonitoringAlerts { export type Input = ListMonitoringAlertsRequest; export type Output = ListMonitoringAlertsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListMonitoringExecutions { export type Input = ListMonitoringExecutionsRequest; export type Output = ListMonitoringExecutionsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListMonitoringSchedules { export type Input = ListMonitoringSchedulesRequest; export type Output = ListMonitoringSchedulesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListNotebookInstanceLifecycleConfigs { export type Input = ListNotebookInstanceLifecycleConfigsInput; export type Output = ListNotebookInstanceLifecycleConfigsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListNotebookInstances { export type Input = ListNotebookInstancesInput; export type Output = ListNotebookInstancesOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListOptimizationJobs { export type Input = ListOptimizationJobsRequest; export type Output = ListOptimizationJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListPartnerApps { export type Input = ListPartnerAppsRequest; export type Output = ListPartnerAppsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListPipelineExecutions { export type Input = ListPipelineExecutionsRequest; export type Output = ListPipelineExecutionsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListPipelineExecutionSteps { export type Input = ListPipelineExecutionStepsRequest; export type Output = ListPipelineExecutionStepsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListPipelineParametersForExecution { export type Input = ListPipelineParametersForExecutionRequest; export type Output = ListPipelineParametersForExecutionResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListPipelines { export type Input = ListPipelinesRequest; export type Output = ListPipelinesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListPipelineVersions { export type Input = ListPipelineVersionsRequest; export type Output = ListPipelineVersionsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListProcessingJobs { export type Input = ListProcessingJobsRequest; export type Output = ListProcessingJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListProjects { export type Input = ListProjectsInput; export type Output = ListProjectsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListResourceCatalogs { export type Input = ListResourceCatalogsRequest; export type Output = ListResourceCatalogsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListSpaces { export type Input = ListSpacesRequest; export type Output = ListSpacesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListStageDevices { export type Input = ListStageDevicesRequest; export type Output = ListStageDevicesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListStudioLifecycleConfigs { export type Input = ListStudioLifecycleConfigsRequest; export type Output = ListStudioLifecycleConfigsResponse; - export type Error = ResourceInUse | CommonAwsError; + export type Error = + | ResourceInUse + | CommonAwsError; } export declare namespace ListSubscribedWorkteams { export type Input = ListSubscribedWorkteamsRequest; export type Output = ListSubscribedWorkteamsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTags { export type Input = ListTagsInput; export type Output = ListTagsOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTrainingJobs { export type Input = ListTrainingJobsRequest; export type Output = ListTrainingJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTrainingJobsForHyperParameterTuningJob { export type Input = ListTrainingJobsForHyperParameterTuningJobRequest; export type Output = ListTrainingJobsForHyperParameterTuningJobResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListTrainingPlans { export type Input = ListTrainingPlansRequest; export type Output = ListTrainingPlansResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTransformJobs { export type Input = ListTransformJobsRequest; export type Output = ListTransformJobsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTrialComponents { export type Input = ListTrialComponentsRequest; export type Output = ListTrialComponentsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListTrials { export type Input = ListTrialsRequest; export type Output = ListTrialsResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListUltraServersByReservedCapacity { export type Input = ListUltraServersByReservedCapacityRequest; export type Output = ListUltraServersByReservedCapacityResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace ListUserProfiles { export type Input = ListUserProfilesRequest; export type Output = ListUserProfilesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListWorkforces { export type Input = ListWorkforcesRequest; export type Output = ListWorkforcesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListWorkteams { export type Input = ListWorkteamsRequest; export type Output = ListWorkteamsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutModelPackageGroupPolicy { export type Input = PutModelPackageGroupPolicyInput; export type Output = PutModelPackageGroupPolicyOutput; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace QueryLineage { export type Input = QueryLineageRequest; export type Output = QueryLineageResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace RegisterDevices { export type Input = RegisterDevicesRequest; export type Output = {}; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace RenderUiTemplate { export type Input = RenderUiTemplateRequest; export type Output = RenderUiTemplateResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace RetryPipelineExecution { @@ -16072,13 +15086,16 @@ export declare namespace RetryPipelineExecution { export declare namespace Search { export type Input = SearchRequest; export type Output = SearchResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SearchTrainingPlanOfferings { export type Input = SearchTrainingPlanOfferingsRequest; export type Output = SearchTrainingPlanOfferingsResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace SendPipelineExecutionStepFailure { @@ -16104,31 +15121,42 @@ export declare namespace SendPipelineExecutionStepSuccess { export declare namespace StartEdgeDeploymentStage { export type Input = StartEdgeDeploymentStageRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartInferenceExperiment { export type Input = StartInferenceExperimentRequest; export type Output = StartInferenceExperimentResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace StartMlflowTrackingServer { export type Input = StartMlflowTrackingServerRequest; export type Output = StartMlflowTrackingServerResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace StartMonitoringSchedule { export type Input = StartMonitoringScheduleRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StartNotebookInstance { export type Input = StartNotebookInstanceInput; export type Output = {}; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace StartPipelineExecution { @@ -16144,121 +15172,164 @@ export declare namespace StartPipelineExecution { export declare namespace StartSession { export type Input = StartSessionRequest; export type Output = StartSessionResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace StopAutoMLJob { export type Input = StopAutoMLJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StopCompilationJob { export type Input = StopCompilationJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StopEdgeDeploymentStage { export type Input = StopEdgeDeploymentStageRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StopEdgePackagingJob { export type Input = StopEdgePackagingJobRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StopHyperParameterTuningJob { export type Input = StopHyperParameterTuningJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StopInferenceExperiment { export type Input = StopInferenceExperimentRequest; export type Output = StopInferenceExperimentResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace StopInferenceRecommendationsJob { export type Input = StopInferenceRecommendationsJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StopLabelingJob { export type Input = StopLabelingJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StopMlflowTrackingServer { export type Input = StopMlflowTrackingServerRequest; export type Output = StopMlflowTrackingServerResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace StopMonitoringSchedule { export type Input = StopMonitoringScheduleRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StopNotebookInstance { export type Input = StopNotebookInstanceInput; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StopOptimizationJob { export type Input = StopOptimizationJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StopPipelineExecution { export type Input = StopPipelineExecutionRequest; export type Output = StopPipelineExecutionResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace StopProcessingJob { export type Input = StopProcessingJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StopTrainingJob { export type Input = StopTrainingJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace StopTransformJob { export type Input = StopTransformJobRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateAction { export type Input = UpdateActionRequest; export type Output = UpdateActionResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateAppImageConfig { export type Input = UpdateAppImageConfigRequest; export type Output = UpdateAppImageConfigResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateArtifact { export type Input = UpdateArtifactRequest; export type Output = UpdateArtifactResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateCluster { @@ -16284,13 +15355,18 @@ export declare namespace UpdateClusterSchedulerConfig { export declare namespace UpdateClusterSoftware { export type Input = UpdateClusterSoftwareRequest; export type Output = UpdateClusterSoftwareResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateCodeRepository { export type Input = UpdateCodeRepositoryInput; export type Output = UpdateCodeRepositoryOutput; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace UpdateComputeQuota { @@ -16306,19 +15382,25 @@ export declare namespace UpdateComputeQuota { export declare namespace UpdateContext { export type Input = UpdateContextRequest; export type Output = UpdateContextResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateDeviceFleet { export type Input = UpdateDeviceFleetRequest; export type Output = {}; - export type Error = ResourceInUse | CommonAwsError; + export type Error = + | ResourceInUse + | CommonAwsError; } export declare namespace UpdateDevices { export type Input = UpdateDevicesRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateDomain { @@ -16334,79 +15416,112 @@ export declare namespace UpdateDomain { export declare namespace UpdateEndpoint { export type Input = UpdateEndpointInput; export type Output = UpdateEndpointOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace UpdateEndpointWeightsAndCapacities { export type Input = UpdateEndpointWeightsAndCapacitiesInput; export type Output = UpdateEndpointWeightsAndCapacitiesOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace UpdateExperiment { export type Input = UpdateExperimentRequest; export type Output = UpdateExperimentResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateFeatureGroup { export type Input = UpdateFeatureGroupRequest; export type Output = UpdateFeatureGroupResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateFeatureMetadata { export type Input = UpdateFeatureMetadataRequest; export type Output = {}; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateHub { export type Input = UpdateHubRequest; export type Output = UpdateHubResponse; - export type Error = ResourceNotFound | CommonAwsError; + export type Error = + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateHubContent { export type Input = UpdateHubContentRequest; export type Output = UpdateHubContentResponse; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateHubContentReference { export type Input = UpdateHubContentReferenceRequest; export type Output = UpdateHubContentReferenceResponse; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateImage { export type Input = UpdateImageRequest; export type Output = UpdateImageResponse; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateImageVersion { export type Input = UpdateImageVersionRequest; export type Output = UpdateImageVersionResponse; - export type Error = ResourceInUse | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceInUse + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateInferenceComponent { export type Input = UpdateInferenceComponentInput; export type Output = UpdateInferenceComponentOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace UpdateInferenceComponentRuntimeConfig { export type Input = UpdateInferenceComponentRuntimeConfigInput; export type Output = UpdateInferenceComponentRuntimeConfigOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace UpdateInferenceExperiment { export type Input = UpdateInferenceExperimentRequest; export type Output = UpdateInferenceExperimentResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateMlflowTrackingServer { @@ -16432,61 +15547,87 @@ export declare namespace UpdateModelCard { export declare namespace UpdateModelPackage { export type Input = UpdateModelPackageInput; export type Output = UpdateModelPackageOutput; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace UpdateMonitoringAlert { export type Input = UpdateMonitoringAlertRequest; export type Output = UpdateMonitoringAlertResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateMonitoringSchedule { export type Input = UpdateMonitoringScheduleRequest; export type Output = UpdateMonitoringScheduleResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateNotebookInstance { export type Input = UpdateNotebookInstanceInput; export type Output = UpdateNotebookInstanceOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace UpdateNotebookInstanceLifecycleConfig { export type Input = UpdateNotebookInstanceLifecycleConfigInput; export type Output = UpdateNotebookInstanceLifecycleConfigOutput; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } export declare namespace UpdatePartnerApp { export type Input = UpdatePartnerAppRequest; export type Output = UpdatePartnerAppResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdatePipeline { export type Input = UpdatePipelineRequest; export type Output = UpdatePipelineResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdatePipelineExecution { export type Input = UpdatePipelineExecutionRequest; export type Output = UpdatePipelineExecutionResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdatePipelineVersion { export type Input = UpdatePipelineVersionRequest; export type Output = UpdatePipelineVersionResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateProject { export type Input = UpdateProjectInput; export type Output = UpdateProjectOutput; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace UpdateSpace { @@ -16502,19 +15643,28 @@ export declare namespace UpdateSpace { export declare namespace UpdateTrainingJob { export type Input = UpdateTrainingJobRequest; export type Output = UpdateTrainingJobResponse; - export type Error = ResourceLimitExceeded | ResourceNotFound | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateTrial { export type Input = UpdateTrialRequest; export type Output = UpdateTrialResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateTrialComponent { export type Input = UpdateTrialComponentRequest; export type Output = UpdateTrialComponentResponse; - export type Error = ConflictException | ResourceNotFound | CommonAwsError; + export type Error = + | ConflictException + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateUserProfile { @@ -16530,19 +15680,18 @@ export declare namespace UpdateUserProfile { export declare namespace UpdateWorkforce { export type Input = UpdateWorkforceRequest; export type Output = UpdateWorkforceResponse; - export type Error = ConflictException | CommonAwsError; + export type Error = + | ConflictException + | CommonAwsError; } export declare namespace UpdateWorkteam { export type Input = UpdateWorkteamRequest; export type Output = UpdateWorkteamResponse; - export type Error = ResourceLimitExceeded | CommonAwsError; + export type Error = + | ResourceLimitExceeded + | CommonAwsError; } -export type SageMakerErrors = - | ConflictException - | ResourceInUse - | ResourceLimitExceeded - | ResourceNotFound - | ResourceNotFoundException - | CommonAwsError; +export type SageMakerErrors = ConflictException | ResourceInUse | ResourceLimitExceeded | ResourceNotFound | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/savingsplans/index.ts b/src/services/savingsplans/index.ts index d02c258d..52681ca0 100644 --- a/src/services/savingsplans/index.ts +++ b/src/services/savingsplans/index.ts @@ -5,25 +5,7 @@ import type { savingsplans as _savingsplansClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,17 +15,16 @@ const metadata = { sigV4ServiceName: "savingsplans", endpointPrefix: "savingsplans", operations: { - CreateSavingsPlan: "POST /CreateSavingsPlan", - DeleteQueuedSavingsPlan: "POST /DeleteQueuedSavingsPlan", - DescribeSavingsPlanRates: "POST /DescribeSavingsPlanRates", - DescribeSavingsPlans: "POST /DescribeSavingsPlans", - DescribeSavingsPlansOfferingRates: - "POST /DescribeSavingsPlansOfferingRates", - DescribeSavingsPlansOfferings: "POST /DescribeSavingsPlansOfferings", - ListTagsForResource: "POST /ListTagsForResource", - ReturnSavingsPlan: "POST /ReturnSavingsPlan", - TagResource: "POST /TagResource", - UntagResource: "POST /UntagResource", + "CreateSavingsPlan": "POST /CreateSavingsPlan", + "DeleteQueuedSavingsPlan": "POST /DeleteQueuedSavingsPlan", + "DescribeSavingsPlanRates": "POST /DescribeSavingsPlanRates", + "DescribeSavingsPlans": "POST /DescribeSavingsPlans", + "DescribeSavingsPlansOfferingRates": "POST /DescribeSavingsPlansOfferingRates", + "DescribeSavingsPlansOfferings": "POST /DescribeSavingsPlansOfferings", + "ListTagsForResource": "POST /ListTagsForResource", + "ReturnSavingsPlan": "POST /ReturnSavingsPlan", + "TagResource": "POST /TagResource", + "UntagResource": "POST /UntagResource", }, } as const satisfies ServiceMetadata; diff --git a/src/services/savingsplans/types.ts b/src/services/savingsplans/types.ts index c320b6f1..42686ed7 100644 --- a/src/services/savingsplans/types.ts +++ b/src/services/savingsplans/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class savingsplans extends AWSServiceClient { @@ -42,21 +8,13 @@ export declare class savingsplans extends AWSServiceClient { input: CreateSavingsPlanRequest, ): Effect.Effect< CreateSavingsPlanResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteQueuedSavingsPlan( input: DeleteQueuedSavingsPlanRequest, ): Effect.Effect< DeleteQueuedSavingsPlanResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; describeSavingsPlanRates( input: DescribeSavingsPlanRatesRequest, @@ -86,39 +44,25 @@ export declare class savingsplans extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; returnSavingsPlan( input: ReturnSavingsPlanRequest, ): Effect.Effect< ReturnSavingsPlanResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -146,7 +90,8 @@ export type DateTime = Date | string; export interface DeleteQueuedSavingsPlanRequest { savingsPlanId: string; } -export interface DeleteQueuedSavingsPlanResponse {} +export interface DeleteQueuedSavingsPlanResponse { +} export interface DescribeSavingsPlanRatesRequest { savingsPlanId: string; filters?: Array; @@ -305,8 +250,7 @@ export interface SavingsPlanOfferingFilterElement { name?: SavingsPlanOfferingFilterAttribute; values?: Array; } -export type SavingsPlanOfferingFiltersList = - Array; +export type SavingsPlanOfferingFiltersList = Array; export type SavingsPlanOfferingId = string; export interface SavingsPlanOfferingProperty { @@ -314,8 +258,7 @@ export interface SavingsPlanOfferingProperty { value?: string; } export type SavingsPlanOfferingPropertyKey = "region" | "instanceFamily"; -export type SavingsPlanOfferingPropertyList = - Array; +export type SavingsPlanOfferingPropertyList = Array; export interface SavingsPlanOfferingRate { savingsPlanOffering?: ParentSavingsPlanOffering; rate?: string; @@ -330,23 +273,18 @@ export interface SavingsPlanOfferingRateFilterElement { name?: SavingsPlanRateFilterAttribute; values?: Array; } -export type SavingsPlanOfferingRateFiltersList = - Array; +export type SavingsPlanOfferingRateFiltersList = Array; export interface SavingsPlanOfferingRateProperty { name?: string; value?: string; } -export type SavingsPlanOfferingRatePropertyList = - Array; +export type SavingsPlanOfferingRatePropertyList = Array; export type SavingsPlanOfferingRatesList = Array; export type SavingsPlanOfferingsList = Array; export type SavingsPlanOperation = string; export type SavingsPlanOperationList = Array; -export type SavingsPlanPaymentOption = - | "All Upfront" - | "Partial Upfront" - | "No Upfront"; +export type SavingsPlanPaymentOption = "All Upfront" | "Partial Upfront" | "No Upfront"; export type SavingsPlanPaymentOptionList = Array; export type SavingsPlanProductType = "EC2" | "Fargate" | "Lambda" | "SageMaker"; export type SavingsPlanProductTypeList = Array; @@ -364,23 +302,9 @@ export interface SavingsPlanRateFilter { name?: SavingsPlanRateFilterName; values?: Array; } -export type SavingsPlanRateFilterAttribute = - | "region" - | "instanceFamily" - | "instanceType" - | "productDescription" - | "tenancy" - | "productId"; +export type SavingsPlanRateFilterAttribute = "region" | "instanceFamily" | "instanceType" | "productDescription" | "tenancy" | "productId"; export type SavingsPlanRateFilterList = Array; -export type SavingsPlanRateFilterName = - | "region" - | "instanceType" - | "productDescription" - | "tenancy" - | "productType" - | "serviceCode" - | "usageType" - | "operation"; +export type SavingsPlanRateFilterName = "region" | "instanceType" | "productDescription" | "tenancy" | "productType" | "serviceCode" | "usageType" | "operation"; export type SavingsPlanRateList = Array; export type SavingsPlanRateOperation = string; @@ -391,19 +315,9 @@ export interface SavingsPlanRateProperty { name?: SavingsPlanRatePropertyKey; value?: string; } -export type SavingsPlanRatePropertyKey = - | "region" - | "instanceType" - | "instanceFamily" - | "productDescription" - | "tenancy"; +export type SavingsPlanRatePropertyKey = "region" | "instanceType" | "instanceFamily" | "productDescription" | "tenancy"; export type SavingsPlanRatePropertyList = Array; -export type SavingsPlanRateServiceCode = - | "AmazonEC2" - | "AmazonECS" - | "AmazonEKS" - | "AWSLambda" - | "AmazonSageMaker"; +export type SavingsPlanRateServiceCode = "AmazonEC2" | "AmazonECS" | "AmazonEKS" | "AWSLambda" | "AmazonSageMaker"; export type SavingsPlanRateServiceCodeList = Array; export type SavingsPlanRateUnit = "Hrs" | "Lambda-GB-Second" | "Request"; export type SavingsPlanRateUsageType = string; @@ -414,25 +328,8 @@ export type SavingsPlansDuration = number; export type SavingsPlanServiceCode = string; export type SavingsPlanServiceCodeList = Array; -export type SavingsPlansFilterName = - | "region" - | "ec2-instance-family" - | "commitment" - | "upfront" - | "term" - | "savings-plan-type" - | "payment-option" - | "start" - | "end"; -export type SavingsPlanState = - | "payment-pending" - | "payment-failed" - | "active" - | "retired" - | "queued" - | "queued-deleted" - | "pending-return" - | "returned"; +export type SavingsPlansFilterName = "region" | "ec2-instance-family" | "commitment" | "upfront" | "term" | "savings-plan-type" | "payment-option" | "start" | "end"; +export type SavingsPlanState = "payment-pending" | "payment-failed" | "active" | "retired" | "queued" | "queued-deleted" | "pending-return" | "returned"; export type SavingsPlanStateList = Array; export type SavingsPlanType = "Compute" | "EC2Instance" | "SageMaker"; export type SavingsPlanTypeList = Array; @@ -454,7 +351,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TermDurationInSeconds = number; @@ -463,7 +361,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UUID = string; export type UUIDs = Array; @@ -572,9 +471,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type savingsplansErrors = - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type savingsplansErrors = InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/scheduler/index.ts b/src/services/scheduler/index.ts index 404a5df3..9ec3838a 100644 --- a/src/services/scheduler/index.ts +++ b/src/services/scheduler/index.ts @@ -5,24 +5,7 @@ import type { Scheduler as _SchedulerClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,18 +14,18 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "scheduler", operations: { - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - CreateSchedule: "POST /schedules/{Name}", - CreateScheduleGroup: "POST /schedule-groups/{Name}", - DeleteSchedule: "DELETE /schedules/{Name}", - DeleteScheduleGroup: "DELETE /schedule-groups/{Name}", - GetSchedule: "GET /schedules/{Name}", - GetScheduleGroup: "GET /schedule-groups/{Name}", - ListScheduleGroups: "GET /schedule-groups", - ListSchedules: "GET /schedules", - UpdateSchedule: "PUT /schedules/{Name}", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "CreateSchedule": "POST /schedules/{Name}", + "CreateScheduleGroup": "POST /schedule-groups/{Name}", + "DeleteSchedule": "DELETE /schedules/{Name}", + "DeleteScheduleGroup": "DELETE /schedule-groups/{Name}", + "GetSchedule": "GET /schedules/{Name}", + "GetScheduleGroup": "GET /schedule-groups/{Name}", + "ListScheduleGroups": "GET /schedule-groups", + "ListSchedules": "GET /schedules", + "UpdateSchedule": "PUT /schedules/{Name}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/scheduler/types.ts b/src/services/scheduler/types.ts index 5b0f9da4..e7079dba 100644 --- a/src/services/scheduler/types.ts +++ b/src/services/scheduler/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Scheduler extends AWSServiceClient { @@ -41,128 +8,73 @@ export declare class Scheduler extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createSchedule( input: CreateScheduleInput, ): Effect.Effect< CreateScheduleOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createScheduleGroup( input: CreateScheduleGroupInput, ): Effect.Effect< CreateScheduleGroupOutput, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteSchedule( input: DeleteScheduleInput, ): Effect.Effect< DeleteScheduleOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteScheduleGroup( input: DeleteScheduleGroupInput, ): Effect.Effect< DeleteScheduleGroupOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSchedule( input: GetScheduleInput, ): Effect.Effect< GetScheduleOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getScheduleGroup( input: GetScheduleGroupInput, ): Effect.Effect< GetScheduleGroupOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listScheduleGroups( input: ListScheduleGroupsInput, ): Effect.Effect< ListScheduleGroupsOutput, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSchedules( input: ListSchedulesInput, ): Effect.Effect< ListSchedulesOutput, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSchedule( input: UpdateScheduleInput, ): Effect.Effect< UpdateScheduleOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -229,13 +141,15 @@ export interface DeleteScheduleGroupInput { Name: string; ClientToken?: string; } -export interface DeleteScheduleGroupOutput {} +export interface DeleteScheduleGroupOutput { +} export interface DeleteScheduleInput { Name: string; GroupName?: string; ClientToken?: string; } -export interface DeleteScheduleOutput {} +export interface DeleteScheduleOutput { +} export type Description = string; export type DetailType = string; @@ -480,7 +394,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type Tags = Array>; export type TagValue = string; @@ -518,7 +433,8 @@ export interface UntagResourceInput { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateScheduleInput { Name: string; GroupName?: string; @@ -681,11 +597,5 @@ export declare namespace UpdateSchedule { | CommonAwsError; } -export type SchedulerErrors = - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SchedulerErrors = ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/schemas/index.ts b/src/services/schemas/index.ts index c32ece43..72ecae53 100644 --- a/src/services/schemas/index.ts +++ b/src/services/schemas/index.ts @@ -5,26 +5,7 @@ import type { schemas as _schemasClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,51 +15,42 @@ const metadata = { sigV4ServiceName: "schemas", endpointPrefix: "schemas", operations: { - CreateDiscoverer: "POST /v1/discoverers", - CreateRegistry: "POST /v1/registries/name/{RegistryName}", - CreateSchema: - "POST /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", - DeleteDiscoverer: "DELETE /v1/discoverers/id/{DiscovererId}", - DeleteRegistry: "DELETE /v1/registries/name/{RegistryName}", - DeleteResourcePolicy: "DELETE /v1/policy", - DeleteSchema: - "DELETE /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", - DeleteSchemaVersion: - "DELETE /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/version/{SchemaVersion}", - DescribeCodeBinding: - "GET /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}", - DescribeDiscoverer: "GET /v1/discoverers/id/{DiscovererId}", - DescribeRegistry: "GET /v1/registries/name/{RegistryName}", - DescribeSchema: - "GET /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", - ExportSchema: - "GET /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/export", - GetCodeBindingSource: { + "CreateDiscoverer": "POST /v1/discoverers", + "CreateRegistry": "POST /v1/registries/name/{RegistryName}", + "CreateSchema": "POST /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", + "DeleteDiscoverer": "DELETE /v1/discoverers/id/{DiscovererId}", + "DeleteRegistry": "DELETE /v1/registries/name/{RegistryName}", + "DeleteResourcePolicy": "DELETE /v1/policy", + "DeleteSchema": "DELETE /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", + "DeleteSchemaVersion": "DELETE /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/version/{SchemaVersion}", + "DescribeCodeBinding": "GET /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}", + "DescribeDiscoverer": "GET /v1/discoverers/id/{DiscovererId}", + "DescribeRegistry": "GET /v1/registries/name/{RegistryName}", + "DescribeSchema": "GET /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", + "ExportSchema": "GET /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/export", + "GetCodeBindingSource": { http: "GET /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}/source", traits: { - Body: "httpStreaming", + "Body": "httpStreaming", }, }, - GetDiscoveredSchema: "POST /v1/discover", - GetResourcePolicy: "GET /v1/policy", - ListDiscoverers: "GET /v1/discoverers", - ListRegistries: "GET /v1/registries", - ListSchemas: "GET /v1/registries/name/{RegistryName}/schemas", - ListSchemaVersions: - "GET /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/versions", - ListTagsForResource: "GET /tags/{ResourceArn}", - PutCodeBinding: - "POST /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}", - PutResourcePolicy: "PUT /v1/policy", - SearchSchemas: "GET /v1/registries/name/{RegistryName}/schemas/search", - StartDiscoverer: "POST /v1/discoverers/id/{DiscovererId}/start", - StopDiscoverer: "POST /v1/discoverers/id/{DiscovererId}/stop", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateDiscoverer: "PUT /v1/discoverers/id/{DiscovererId}", - UpdateRegistry: "PUT /v1/registries/name/{RegistryName}", - UpdateSchema: - "PUT /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", + "GetDiscoveredSchema": "POST /v1/discover", + "GetResourcePolicy": "GET /v1/policy", + "ListDiscoverers": "GET /v1/discoverers", + "ListRegistries": "GET /v1/registries", + "ListSchemas": "GET /v1/registries/name/{RegistryName}/schemas", + "ListSchemaVersions": "GET /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/versions", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "PutCodeBinding": "POST /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}/language/{Language}", + "PutResourcePolicy": "PUT /v1/policy", + "SearchSchemas": "GET /v1/registries/name/{RegistryName}/schemas/search", + "StartDiscoverer": "POST /v1/discoverers/id/{DiscovererId}/start", + "StopDiscoverer": "POST /v1/discoverers/id/{DiscovererId}/stop", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateDiscoverer": "PUT /v1/discoverers/id/{DiscovererId}", + "UpdateRegistry": "PUT /v1/registries/name/{RegistryName}", + "UpdateSchema": "PUT /v1/registries/name/{RegistryName}/schemas/name/{SchemaName}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/schemas/types.ts b/src/services/schemas/types.ts index 76d21eb4..c734e64a 100644 --- a/src/services/schemas/types.ts +++ b/src/services/schemas/types.ts @@ -8,362 +8,187 @@ export declare class schemas extends AWSServiceClient { input: CreateDiscovererRequest, ): Effect.Effect< CreateDiscovererResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; createRegistry( input: CreateRegistryRequest, ): Effect.Effect< CreateRegistryResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; createSchema( input: CreateSchemaRequest, ): Effect.Effect< CreateSchemaResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | CommonAwsError >; deleteDiscoverer( input: DeleteDiscovererRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; deleteRegistry( input: DeleteRegistryRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; deleteSchema( input: DeleteSchemaRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; deleteSchemaVersion( input: DeleteSchemaVersionRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; describeCodeBinding( input: DescribeCodeBindingRequest, ): Effect.Effect< DescribeCodeBindingResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; describeDiscoverer( input: DescribeDiscovererRequest, ): Effect.Effect< DescribeDiscovererResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; describeRegistry( input: DescribeRegistryRequest, ): Effect.Effect< DescribeRegistryResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; describeSchema( input: DescribeSchemaRequest, ): Effect.Effect< DescribeSchemaResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; exportSchema( input: ExportSchemaRequest, ): Effect.Effect< ExportSchemaResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getCodeBindingSource( input: GetCodeBindingSourceRequest, ): Effect.Effect< GetCodeBindingSourceResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; getDiscoveredSchema( input: GetDiscoveredSchemaRequest, ): Effect.Effect< GetDiscoveredSchemaResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listDiscoverers( input: ListDiscoverersRequest, ): Effect.Effect< ListDiscoverersResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listRegistries( input: ListRegistriesRequest, ): Effect.Effect< ListRegistriesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listSchemas( input: ListSchemasRequest, ): Effect.Effect< ListSchemasResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listSchemaVersions( input: ListSchemaVersionsRequest, ): Effect.Effect< ListSchemaVersionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; putCodeBinding( input: PutCodeBindingRequest, ): Effect.Effect< PutCodeBindingResponse, - | BadRequestException - | ForbiddenException - | GoneException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | GoneException | InternalServerErrorException | NotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | PreconditionFailedException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | PreconditionFailedException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; searchSchemas( input: SearchSchemasRequest, ): Effect.Effect< SearchSchemasResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; startDiscoverer( input: StartDiscovererRequest, ): Effect.Effect< StartDiscovererResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; stopDiscoverer( input: StopDiscovererRequest, ): Effect.Effect< StopDiscovererResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; updateDiscoverer( input: UpdateDiscovererRequest, ): Effect.Effect< UpdateDiscovererResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; updateRegistry( input: UpdateRegistryRequest, ): Effect.Effect< UpdateRegistryResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | UnauthorizedException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | UnauthorizedException | CommonAwsError >; updateSchema( input: UpdateSchemaRequest, ): Effect.Effect< UpdateSchemaResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | ServiceUnavailableException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | ServiceUnavailableException | CommonAwsError >; } @@ -380,8 +205,7 @@ export type __listOfRegistrySummary = Array; export type __listOfSchemaSummary = Array; export type __listOfSchemaVersionSummary = Array; export type __listOfSearchSchemaSummary = Array; -export type __listOfSearchSchemaVersionSummary = - Array; +export type __listOfSearchSchemaVersionSummary = Array; export type __long = number; export type __string = string; @@ -404,10 +228,7 @@ export declare class BadRequestException extends EffectData.TaggedError( }> {} export type Body = Uint8Array | string; -export type CodeGenerationStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_COMPLETE" - | "CREATE_FAILED"; +export type CodeGenerationStatus = "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -1186,15 +1007,5 @@ export declare namespace UpdateSchema { | CommonAwsError; } -export type schemasErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | GoneException - | InternalServerErrorException - | NotFoundException - | PreconditionFailedException - | ServiceUnavailableException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError; +export type schemasErrors = BadRequestException | ConflictException | ForbiddenException | GoneException | InternalServerErrorException | NotFoundException | PreconditionFailedException | ServiceUnavailableException | TooManyRequestsException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/secrets-manager/index.ts b/src/services/secrets-manager/index.ts index 05b289d0..b432d4bf 100644 --- a/src/services/secrets-manager/index.ts +++ b/src/services/secrets-manager/index.ts @@ -5,26 +5,7 @@ import type { SecretsManager as _SecretsManagerClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/secrets-manager/types.ts b/src/services/secrets-manager/types.ts index ceafa037..53612888 100644 --- a/src/services/secrets-manager/types.ts +++ b/src/services/secrets-manager/types.ts @@ -7,252 +7,139 @@ export declare class SecretsManager extends AWSServiceClient { input: BatchGetSecretValueRequest, ): Effect.Effect< BatchGetSecretValueResponse, - | DecryptionFailure - | InternalServiceError - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + DecryptionFailure | InternalServiceError | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; cancelRotateSecret( input: CancelRotateSecretRequest, ): Effect.Effect< CancelRotateSecretResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; createSecret( input: CreateSecretRequest, ): Effect.Effect< CreateSecretResponse, - | DecryptionFailure - | EncryptionFailure - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | MalformedPolicyDocumentException - | PreconditionNotMetException - | ResourceExistsException - | ResourceNotFoundException - | CommonAwsError + DecryptionFailure | EncryptionFailure | InternalServiceError | InvalidParameterException | InvalidRequestException | LimitExceededException | MalformedPolicyDocumentException | PreconditionNotMetException | ResourceExistsException | ResourceNotFoundException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; deleteSecret( input: DeleteSecretRequest, ): Effect.Effect< DeleteSecretResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; describeSecret( input: DescribeSecretRequest, ): Effect.Effect< DescribeSecretResponse, - | InternalServiceError - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; getRandomPassword( input: GetRandomPasswordRequest, ): Effect.Effect< GetRandomPasswordResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; getSecretValue( input: GetSecretValueRequest, ): Effect.Effect< GetSecretValueResponse, - | DecryptionFailure - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + DecryptionFailure | InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; listSecrets( input: ListSecretsRequest, ): Effect.Effect< ListSecretsResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | CommonAwsError >; listSecretVersionIds( input: ListSecretVersionIdsRequest, ): Effect.Effect< ListSecretVersionIdsResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | MalformedPolicyDocumentException - | PublicPolicyException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | MalformedPolicyDocumentException | PublicPolicyException | ResourceNotFoundException | CommonAwsError >; putSecretValue( input: PutSecretValueRequest, ): Effect.Effect< PutSecretValueResponse, - | DecryptionFailure - | EncryptionFailure - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceExistsException - | ResourceNotFoundException - | CommonAwsError + DecryptionFailure | EncryptionFailure | InternalServiceError | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceExistsException | ResourceNotFoundException | CommonAwsError >; removeRegionsFromReplication( input: RemoveRegionsFromReplicationRequest, ): Effect.Effect< RemoveRegionsFromReplicationResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; replicateSecretToRegions( input: ReplicateSecretToRegionsRequest, ): Effect.Effect< ReplicateSecretToRegionsResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; restoreSecret( input: RestoreSecretRequest, ): Effect.Effect< RestoreSecretResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; rotateSecret( input: RotateSecretRequest, ): Effect.Effect< RotateSecretResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; stopReplicationToReplica( input: StopReplicationToReplicaRequest, ): Effect.Effect< StopReplicationToReplicaResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | ResourceNotFoundException | CommonAwsError >; updateSecret( input: UpdateSecretRequest, ): Effect.Effect< UpdateSecretResponse, - | DecryptionFailure - | EncryptionFailure - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | MalformedPolicyDocumentException - | PreconditionNotMetException - | ResourceExistsException - | ResourceNotFoundException - | CommonAwsError + DecryptionFailure | EncryptionFailure | InternalServiceError | InvalidParameterException | InvalidRequestException | LimitExceededException | MalformedPolicyDocumentException | PreconditionNotMetException | ResourceExistsException | ResourceNotFoundException | CommonAwsError >; updateSecretVersionStage( input: UpdateSecretVersionStageRequest, ): Effect.Effect< UpdateSecretVersionStageResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; validateResourcePolicy( input: ValidateResourcePolicyRequest, ): Effect.Effect< ValidateResourcePolicyResponse, - | InternalServiceError - | InvalidParameterException - | InvalidRequestException - | MalformedPolicyDocumentException - | ResourceNotFoundException - | CommonAwsError + InternalServiceError | InvalidParameterException | InvalidRequestException | MalformedPolicyDocumentException | ResourceNotFoundException | CommonAwsError >; } @@ -383,14 +270,7 @@ export interface Filter { Key?: FilterNameStringType; Values?: Array; } -export type FilterNameStringType = - | "description" - | "name" - | "tag-key" - | "tag-value" - | "primary-region" - | "owning-service" - | "all"; +export type FilterNameStringType = "description" | "name" | "tag-key" | "tag-value" | "primary-region" | "owning-service" | "all"; export type FiltersListType = Array; export type FilterValuesStringList = Array; export type FilterValueStringType = string; @@ -1018,17 +898,5 @@ export declare namespace ValidateResourcePolicy { | CommonAwsError; } -export type SecretsManagerErrors = - | DecryptionFailure - | EncryptionFailure - | InternalServiceError - | InvalidNextTokenException - | InvalidParameterException - | InvalidRequestException - | LimitExceededException - | MalformedPolicyDocumentException - | PreconditionNotMetException - | PublicPolicyException - | ResourceExistsException - | ResourceNotFoundException - | CommonAwsError; +export type SecretsManagerErrors = DecryptionFailure | EncryptionFailure | InternalServiceError | InvalidNextTokenException | InvalidParameterException | InvalidRequestException | LimitExceededException | MalformedPolicyDocumentException | PreconditionNotMetException | PublicPolicyException | ResourceExistsException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/security-ir/index.ts b/src/services/security-ir/index.ts index 9357bd67..13b547e7 100644 --- a/src/services/security-ir/index.ts +++ b/src/services/security-ir/index.ts @@ -5,23 +5,7 @@ import type { SecurityIR as _SecurityIRClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,30 +14,28 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "security-ir", operations: { - ListTagsForResource: "GET /v1/tags/{resourceArn}", - TagResource: "POST /v1/tags/{resourceArn}", - UntagResource: "DELETE /v1/tags/{resourceArn}", - BatchGetMemberAccountDetails: - "POST /v1/membership/{membershipId}/batch-member-details", - CancelMembership: "PUT /v1/membership/{membershipId}", - CloseCase: "POST /v1/cases/{caseId}/close-case", - CreateCase: "POST /v1/create-case", - CreateCaseComment: "POST /v1/cases/{caseId}/create-comment", - CreateMembership: "POST /v1/membership", - GetCase: "GET /v1/cases/{caseId}/get-case", - GetCaseAttachmentDownloadUrl: - "GET /v1/cases/{caseId}/get-presigned-url/{attachmentId}", - GetCaseAttachmentUploadUrl: "POST /v1/cases/{caseId}/get-presigned-url", - GetMembership: "GET /v1/membership/{membershipId}", - ListCaseEdits: "POST /v1/cases/{caseId}/list-case-edits", - ListCases: "POST /v1/list-cases", - ListComments: "POST /v1/cases/{caseId}/list-comments", - ListMemberships: "POST /v1/memberships", - UpdateCase: "POST /v1/cases/{caseId}/update-case", - UpdateCaseComment: "PUT /v1/cases/{caseId}/update-case-comment/{commentId}", - UpdateCaseStatus: "POST /v1/cases/{caseId}/update-case-status", - UpdateMembership: "PUT /v1/membership/{membershipId}/update-membership", - UpdateResolverType: "POST /v1/cases/{caseId}/update-resolver-type", + "ListTagsForResource": "GET /v1/tags/{resourceArn}", + "TagResource": "POST /v1/tags/{resourceArn}", + "UntagResource": "DELETE /v1/tags/{resourceArn}", + "BatchGetMemberAccountDetails": "POST /v1/membership/{membershipId}/batch-member-details", + "CancelMembership": "PUT /v1/membership/{membershipId}", + "CloseCase": "POST /v1/cases/{caseId}/close-case", + "CreateCase": "POST /v1/create-case", + "CreateCaseComment": "POST /v1/cases/{caseId}/create-comment", + "CreateMembership": "POST /v1/membership", + "GetCase": "GET /v1/cases/{caseId}/get-case", + "GetCaseAttachmentDownloadUrl": "GET /v1/cases/{caseId}/get-presigned-url/{attachmentId}", + "GetCaseAttachmentUploadUrl": "POST /v1/cases/{caseId}/get-presigned-url", + "GetMembership": "GET /v1/membership/{membershipId}", + "ListCaseEdits": "POST /v1/cases/{caseId}/list-case-edits", + "ListCases": "POST /v1/list-cases", + "ListComments": "POST /v1/cases/{caseId}/list-comments", + "ListMemberships": "POST /v1/memberships", + "UpdateCase": "POST /v1/cases/{caseId}/update-case", + "UpdateCaseComment": "PUT /v1/cases/{caseId}/update-case-comment/{commentId}", + "UpdateCaseStatus": "POST /v1/cases/{caseId}/update-case-status", + "UpdateMembership": "PUT /v1/membership/{membershipId}/update-membership", + "UpdateResolverType": "POST /v1/cases/{caseId}/update-resolver-type", }, } as const satisfies ServiceMetadata; diff --git a/src/services/security-ir/types.ts b/src/services/security-ir/types.ts index 452def9e..6d3f5217 100644 --- a/src/services/security-ir/types.ts +++ b/src/services/security-ir/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SecurityIR extends AWSServiceClient { @@ -40,86 +8,134 @@ export declare class SecurityIR extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchGetMemberAccountDetails( input: BatchGetMemberAccountDetailsRequest, - ): Effect.Effect; + ): Effect.Effect< + BatchGetMemberAccountDetailsResponse, + CommonAwsError + >; cancelMembership( input: CancelMembershipRequest, - ): Effect.Effect; + ): Effect.Effect< + CancelMembershipResponse, + CommonAwsError + >; closeCase( input: CloseCaseRequest, - ): Effect.Effect; + ): Effect.Effect< + CloseCaseResponse, + CommonAwsError + >; createCase( input: CreateCaseRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCaseResponse, + CommonAwsError + >; createCaseComment( input: CreateCaseCommentRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateCaseCommentResponse, + CommonAwsError + >; createMembership( input: CreateMembershipRequest, - ): Effect.Effect; + ): Effect.Effect< + CreateMembershipResponse, + CommonAwsError + >; getCase( input: GetCaseRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCaseResponse, + CommonAwsError + >; getCaseAttachmentDownloadUrl( input: GetCaseAttachmentDownloadUrlRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCaseAttachmentDownloadUrlResponse, + CommonAwsError + >; getCaseAttachmentUploadUrl( input: GetCaseAttachmentUploadUrlRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCaseAttachmentUploadUrlResponse, + CommonAwsError + >; getMembership( input: GetMembershipRequest, - ): Effect.Effect; + ): Effect.Effect< + GetMembershipResponse, + CommonAwsError + >; listCaseEdits( input: ListCaseEditsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListCaseEditsResponse, + CommonAwsError + >; listCases( input: ListCasesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListCasesResponse, + CommonAwsError + >; listComments( input: ListCommentsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListCommentsResponse, + CommonAwsError + >; listMemberships( input: ListMembershipsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListMembershipsResponse, + CommonAwsError + >; updateCase( input: UpdateCaseRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateCaseResponse, + CommonAwsError + >; updateCaseComment( input: UpdateCaseCommentRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateCaseCommentResponse, + CommonAwsError + >; updateCaseStatus( input: UpdateCaseStatusRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateCaseStatusResponse, + CommonAwsError + >; updateMembership( input: UpdateMembershipRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateMembershipResponse, + CommonAwsError + >; updateResolverType( input: UpdateResolverTypeRequest, - ): Effect.Effect; + ): Effect.Effect< + UpdateResolverTypeResponse, + CommonAwsError + >; } export declare class SecurityIr extends SecurityIR {} @@ -136,42 +152,7 @@ export type AttachmentId = string; export type AWSAccountId = string; export type AWSAccountIds = Array; -export type AwsRegion = - | "af-south-1" - | "ap-east-1" - | "ap-east-2" - | "ap-northeast-1" - | "ap-northeast-2" - | "ap-northeast-3" - | "ap-south-1" - | "ap-south-2" - | "ap-southeast-1" - | "ap-southeast-2" - | "ap-southeast-3" - | "ap-southeast-4" - | "ap-southeast-5" - | "ap-southeast-7" - | "ca-central-1" - | "ca-west-1" - | "cn-north-1" - | "cn-northwest-1" - | "eu-central-1" - | "eu-central-2" - | "eu-north-1" - | "eu-south-1" - | "eu-south-2" - | "eu-west-1" - | "eu-west-2" - | "eu-west-3" - | "il-central-1" - | "me-central-1" - | "me-south-1" - | "mx-central-1" - | "sa-east-1" - | "us-east-1" - | "us-east-2" - | "us-west-1" - | "us-west-2"; +export type AwsRegion = "af-south-1" | "ap-east-1" | "ap-east-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ap-southeast-4" | "ap-southeast-5" | "ap-southeast-7" | "ca-central-1" | "ca-west-1" | "cn-north-1" | "cn-northwest-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "il-central-1" | "me-central-1" | "me-south-1" | "mx-central-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2"; export type AwsService = string; export interface BatchGetMemberAccountDetailsRequest { @@ -214,14 +195,7 @@ export type CaseEditMessage = string; export type CaseId = string; -export type CaseStatus = - | "Submitted" - | "Acknowledged" - | "Detection and Analysis" - | "Containment, Eradication and Recovery" - | "Post-incident Activities" - | "Ready to Close" - | "Closed"; +export type CaseStatus = "Submitted" | "Acknowledged" | "Detection and Analysis" | "Containment, Eradication and Recovery" | "Post-incident Activities" | "Ready to Close" | "Closed"; export type CaseTitle = string; export interface CloseCaseRequest { @@ -231,11 +205,7 @@ export interface CloseCaseResponse { caseStatus?: CaseStatus; closedDate?: Date | string; } -export type ClosureCode = - | "Investigation Completed" - | "Not Resolved" - | "False Positive" - | "Duplicate"; +export type ClosureCode = "Investigation Completed" | "Not Resolved" | "False Positive" | "Duplicate"; export type CommentBody = string; export type CommentId = string; @@ -336,15 +306,13 @@ export interface GetMembershipAccountDetailError { error: string; message: string; } -export type GetMembershipAccountDetailErrors = - Array; +export type GetMembershipAccountDetailErrors = Array; export interface GetMembershipAccountDetailItem { accountId?: string; relationshipStatus?: MembershipAccountRelationshipStatus; relationshipType?: MembershipAccountRelationshipType; } -export type GetMembershipAccountDetailItems = - Array; +export type GetMembershipAccountDetailItems = Array; export interface GetMembershipRequest { membershipId: string; } @@ -465,10 +433,7 @@ export interface ListTagsForResourceInput { export interface ListTagsForResourceOutput { tags: Record; } -export type MembershipAccountRelationshipStatus = - | "Associated" - | "Disassociated" - | "Unassociated"; +export type MembershipAccountRelationshipStatus = "Associated" | "Disassociated" | "Unassociated"; export type MembershipAccountRelationshipType = "Organization" | "Unrelated"; export interface MembershipAccountsConfigurations { coverEntireOrganization?: boolean; @@ -511,11 +476,7 @@ export declare class SecurityIncidentResponseNotActiveException extends EffectDa )<{ readonly message: string; }> {} -export type SelfManagedCaseStatus = - | "Submitted" - | "Detection and Analysis" - | "Containment, Eradication and Recovery" - | "Post-incident Activities"; +export type SelfManagedCaseStatus = "Submitted" | "Detection and Analysis" | "Containment, Eradication and Recovery" | "Post-incident Activities"; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", )<{ @@ -533,7 +494,8 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export interface ThreatActorIp { @@ -553,7 +515,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateCaseCommentRequest { caseId: string; commentId: string; @@ -581,7 +544,8 @@ export interface UpdateCaseRequest { impactedAccountsToAdd?: Array; impactedAccountsToDelete?: Array; } -export interface UpdateCaseResponse {} +export interface UpdateCaseResponse { +} export interface UpdateCaseStatusRequest { caseId: string; caseStatus: SelfManagedCaseStatus; @@ -597,7 +561,8 @@ export interface UpdateMembershipRequest { membershipAccountsConfigurationsUpdate?: MembershipAccountsConfigurationsUpdate; undoMembershipCancellation?: boolean; } -export interface UpdateMembershipResponse {} +export interface UpdateMembershipResponse { +} export interface UpdateResolverTypeRequest { caseId: string; resolverType: ResolverType; @@ -623,11 +588,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "UNKNOWN_OPERATION" - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "OTHER"; +export type ValidationExceptionReason = "UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER"; export interface Watcher { email: string; name?: string; @@ -667,125 +628,135 @@ export declare namespace UntagResource { export declare namespace BatchGetMemberAccountDetails { export type Input = BatchGetMemberAccountDetailsRequest; export type Output = BatchGetMemberAccountDetailsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CancelMembership { export type Input = CancelMembershipRequest; export type Output = CancelMembershipResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CloseCase { export type Input = CloseCaseRequest; export type Output = CloseCaseResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCase { export type Input = CreateCaseRequest; export type Output = CreateCaseResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateCaseComment { export type Input = CreateCaseCommentRequest; export type Output = CreateCaseCommentResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace CreateMembership { export type Input = CreateMembershipRequest; export type Output = CreateMembershipResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCase { export type Input = GetCaseRequest; export type Output = GetCaseResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCaseAttachmentDownloadUrl { export type Input = GetCaseAttachmentDownloadUrlRequest; export type Output = GetCaseAttachmentDownloadUrlResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCaseAttachmentUploadUrl { export type Input = GetCaseAttachmentUploadUrlRequest; export type Output = GetCaseAttachmentUploadUrlResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetMembership { export type Input = GetMembershipRequest; export type Output = GetMembershipResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListCaseEdits { export type Input = ListCaseEditsRequest; export type Output = ListCaseEditsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListCases { export type Input = ListCasesRequest; export type Output = ListCasesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListComments { export type Input = ListCommentsRequest; export type Output = ListCommentsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListMemberships { export type Input = ListMembershipsRequest; export type Output = ListMembershipsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateCase { export type Input = UpdateCaseRequest; export type Output = UpdateCaseResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateCaseComment { export type Input = UpdateCaseCommentRequest; export type Output = UpdateCaseCommentResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateCaseStatus { export type Input = UpdateCaseStatusRequest; export type Output = UpdateCaseStatusResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateMembership { export type Input = UpdateMembershipRequest; export type Output = UpdateMembershipResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateResolverType { export type Input = UpdateResolverTypeRequest; export type Output = UpdateResolverTypeResponse; - export type Error = CommonAwsError; -} - -export type SecurityIRErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidTokenException - | ResourceNotFoundException - | SecurityIncidentResponseNotActiveException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; + export type Error = + | CommonAwsError; +} + +export type SecurityIRErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidTokenException | ResourceNotFoundException | SecurityIncidentResponseNotActiveException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/securityhub/index.ts b/src/services/securityhub/index.ts index 5d29cfef..2db51de7 100644 --- a/src/services/securityhub/index.ts +++ b/src/services/securityhub/index.ts @@ -5,23 +5,7 @@ import type { SecurityHub as _SecurityHubClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,119 +15,111 @@ const metadata = { sigV4ServiceName: "securityhub", endpointPrefix: "securityhub", operations: { - AcceptAdministratorInvitation: "POST /administrator", - AcceptInvitation: "POST /master", - BatchDeleteAutomationRules: "POST /automationrules/delete", - BatchDisableStandards: "POST /standards/deregister", - BatchEnableStandards: "POST /standards/register", - BatchGetAutomationRules: "POST /automationrules/get", - BatchGetConfigurationPolicyAssociations: - "POST /configurationPolicyAssociation/batchget", - BatchGetSecurityControls: "POST /securityControls/batchGet", - BatchGetStandardsControlAssociations: "POST /associations/batchGet", - BatchImportFindings: "POST /findings/import", - BatchUpdateAutomationRules: "PATCH /automationrules/update", - BatchUpdateFindings: "PATCH /findings/batchupdate", - BatchUpdateFindingsV2: "PATCH /findingsv2/batchupdatev2", - BatchUpdateStandardsControlAssociations: "PATCH /associations", - ConnectorRegistrationsV2: "POST /connectorsv2/registrations", - CreateActionTarget: "POST /actionTargets", - CreateAggregatorV2: "POST /aggregatorv2/create", - CreateAutomationRule: "POST /automationrules/create", - CreateAutomationRuleV2: "POST /automationrulesv2/create", - CreateConfigurationPolicy: "POST /configurationPolicy/create", - CreateConnectorV2: "POST /connectorsv2", - CreateFindingAggregator: "POST /findingAggregator/create", - CreateInsight: "POST /insights", - CreateMembers: "POST /members", - CreateTicketV2: "POST /ticketsv2", - DeclineInvitations: "POST /invitations/decline", - DeleteActionTarget: "DELETE /actionTargets/{ActionTargetArn+}", - DeleteAggregatorV2: "DELETE /aggregatorv2/delete/{AggregatorV2Arn+}", - DeleteAutomationRuleV2: "DELETE /automationrulesv2/{Identifier}", - DeleteConfigurationPolicy: "DELETE /configurationPolicy/{Identifier}", - DeleteConnectorV2: "DELETE /connectorsv2/{ConnectorId+}", - DeleteFindingAggregator: - "DELETE /findingAggregator/delete/{FindingAggregatorArn+}", - DeleteInsight: "DELETE /insights/{InsightArn+}", - DeleteInvitations: "POST /invitations/delete", - DeleteMembers: "POST /members/delete", - DescribeActionTargets: "POST /actionTargets/get", - DescribeHub: "GET /accounts", - DescribeOrganizationConfiguration: "GET /organization/configuration", - DescribeProducts: "GET /products", - DescribeProductsV2: "GET /productsV2", - DescribeSecurityHubV2: "GET /hubv2", - DescribeStandards: "GET /standards", - DescribeStandardsControls: - "GET /standards/controls/{StandardsSubscriptionArn+}", - DisableImportFindingsForProduct: - "DELETE /productSubscriptions/{ProductSubscriptionArn+}", - DisableOrganizationAdminAccount: "POST /organization/admin/disable", - DisableSecurityHub: "DELETE /accounts", - DisableSecurityHubV2: "DELETE /hubv2", - DisassociateFromAdministratorAccount: "POST /administrator/disassociate", - DisassociateFromMasterAccount: "POST /master/disassociate", - DisassociateMembers: "POST /members/disassociate", - EnableImportFindingsForProduct: "POST /productSubscriptions", - EnableOrganizationAdminAccount: "POST /organization/admin/enable", - EnableSecurityHub: "POST /accounts", - EnableSecurityHubV2: "POST /hubv2", - GetAdministratorAccount: "GET /administrator", - GetAggregatorV2: "GET /aggregatorv2/get/{AggregatorV2Arn+}", - GetAutomationRuleV2: "GET /automationrulesv2/{Identifier}", - GetConfigurationPolicy: "GET /configurationPolicy/get/{Identifier}", - GetConfigurationPolicyAssociation: - "POST /configurationPolicyAssociation/get", - GetConnectorV2: "GET /connectorsv2/{ConnectorId+}", - GetEnabledStandards: "POST /standards/get", - GetFindingAggregator: "GET /findingAggregator/get/{FindingAggregatorArn+}", - GetFindingHistory: "POST /findingHistory/get", - GetFindings: "POST /findings", - GetFindingStatisticsV2: "POST /findingsv2/statistics", - GetFindingsV2: "POST /findingsv2", - GetInsightResults: "GET /insights/results/{InsightArn+}", - GetInsights: "POST /insights/get", - GetInvitationsCount: "GET /invitations/count", - GetMasterAccount: "GET /master", - GetMembers: "POST /members/get", - GetResourcesStatisticsV2: "POST /resourcesv2/statistics", - GetResourcesV2: "POST /resourcesv2", - GetSecurityControlDefinition: "GET /securityControl/definition", - InviteMembers: "POST /members/invite", - ListAggregatorsV2: "GET /aggregatorv2/list", - ListAutomationRules: "GET /automationrules/list", - ListAutomationRulesV2: "GET /automationrulesv2/list", - ListConfigurationPolicies: "GET /configurationPolicy/list", - ListConfigurationPolicyAssociations: - "POST /configurationPolicyAssociation/list", - ListConnectorsV2: "GET /connectorsv2", - ListEnabledProductsForImport: "GET /productSubscriptions", - ListFindingAggregators: "GET /findingAggregator/list", - ListInvitations: "GET /invitations", - ListMembers: "GET /members", - ListOrganizationAdminAccounts: "GET /organization/admin", - ListSecurityControlDefinitions: "GET /securityControls/definitions", - ListStandardsControlAssociations: "GET /associations", - ListTagsForResource: "GET /tags/{ResourceArn}", - StartConfigurationPolicyAssociation: - "POST /configurationPolicyAssociation/associate", - StartConfigurationPolicyDisassociation: - "POST /configurationPolicyAssociation/disassociate", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateActionTarget: "PATCH /actionTargets/{ActionTargetArn+}", - UpdateAggregatorV2: "PATCH /aggregatorv2/update/{AggregatorV2Arn+}", - UpdateAutomationRuleV2: "PATCH /automationrulesv2/{Identifier}", - UpdateConfigurationPolicy: "PATCH /configurationPolicy/{Identifier}", - UpdateConnectorV2: "PATCH /connectorsv2/{ConnectorId+}", - UpdateFindingAggregator: "PATCH /findingAggregator/update", - UpdateFindings: "PATCH /findings", - UpdateInsight: "PATCH /insights/{InsightArn+}", - UpdateOrganizationConfiguration: "POST /organization/configuration", - UpdateSecurityControl: "PATCH /securityControl/update", - UpdateSecurityHubConfiguration: "PATCH /accounts", - UpdateStandardsControl: "PATCH /standards/control/{StandardsControlArn+}", + "AcceptAdministratorInvitation": "POST /administrator", + "AcceptInvitation": "POST /master", + "BatchDeleteAutomationRules": "POST /automationrules/delete", + "BatchDisableStandards": "POST /standards/deregister", + "BatchEnableStandards": "POST /standards/register", + "BatchGetAutomationRules": "POST /automationrules/get", + "BatchGetConfigurationPolicyAssociations": "POST /configurationPolicyAssociation/batchget", + "BatchGetSecurityControls": "POST /securityControls/batchGet", + "BatchGetStandardsControlAssociations": "POST /associations/batchGet", + "BatchImportFindings": "POST /findings/import", + "BatchUpdateAutomationRules": "PATCH /automationrules/update", + "BatchUpdateFindings": "PATCH /findings/batchupdate", + "BatchUpdateFindingsV2": "PATCH /findingsv2/batchupdatev2", + "BatchUpdateStandardsControlAssociations": "PATCH /associations", + "ConnectorRegistrationsV2": "POST /connectorsv2/registrations", + "CreateActionTarget": "POST /actionTargets", + "CreateAggregatorV2": "POST /aggregatorv2/create", + "CreateAutomationRule": "POST /automationrules/create", + "CreateAutomationRuleV2": "POST /automationrulesv2/create", + "CreateConfigurationPolicy": "POST /configurationPolicy/create", + "CreateConnectorV2": "POST /connectorsv2", + "CreateFindingAggregator": "POST /findingAggregator/create", + "CreateInsight": "POST /insights", + "CreateMembers": "POST /members", + "CreateTicketV2": "POST /ticketsv2", + "DeclineInvitations": "POST /invitations/decline", + "DeleteActionTarget": "DELETE /actionTargets/{ActionTargetArn+}", + "DeleteAggregatorV2": "DELETE /aggregatorv2/delete/{AggregatorV2Arn+}", + "DeleteAutomationRuleV2": "DELETE /automationrulesv2/{Identifier}", + "DeleteConfigurationPolicy": "DELETE /configurationPolicy/{Identifier}", + "DeleteConnectorV2": "DELETE /connectorsv2/{ConnectorId+}", + "DeleteFindingAggregator": "DELETE /findingAggregator/delete/{FindingAggregatorArn+}", + "DeleteInsight": "DELETE /insights/{InsightArn+}", + "DeleteInvitations": "POST /invitations/delete", + "DeleteMembers": "POST /members/delete", + "DescribeActionTargets": "POST /actionTargets/get", + "DescribeHub": "GET /accounts", + "DescribeOrganizationConfiguration": "GET /organization/configuration", + "DescribeProducts": "GET /products", + "DescribeProductsV2": "GET /productsV2", + "DescribeSecurityHubV2": "GET /hubv2", + "DescribeStandards": "GET /standards", + "DescribeStandardsControls": "GET /standards/controls/{StandardsSubscriptionArn+}", + "DisableImportFindingsForProduct": "DELETE /productSubscriptions/{ProductSubscriptionArn+}", + "DisableOrganizationAdminAccount": "POST /organization/admin/disable", + "DisableSecurityHub": "DELETE /accounts", + "DisableSecurityHubV2": "DELETE /hubv2", + "DisassociateFromAdministratorAccount": "POST /administrator/disassociate", + "DisassociateFromMasterAccount": "POST /master/disassociate", + "DisassociateMembers": "POST /members/disassociate", + "EnableImportFindingsForProduct": "POST /productSubscriptions", + "EnableOrganizationAdminAccount": "POST /organization/admin/enable", + "EnableSecurityHub": "POST /accounts", + "EnableSecurityHubV2": "POST /hubv2", + "GetAdministratorAccount": "GET /administrator", + "GetAggregatorV2": "GET /aggregatorv2/get/{AggregatorV2Arn+}", + "GetAutomationRuleV2": "GET /automationrulesv2/{Identifier}", + "GetConfigurationPolicy": "GET /configurationPolicy/get/{Identifier}", + "GetConfigurationPolicyAssociation": "POST /configurationPolicyAssociation/get", + "GetConnectorV2": "GET /connectorsv2/{ConnectorId+}", + "GetEnabledStandards": "POST /standards/get", + "GetFindingAggregator": "GET /findingAggregator/get/{FindingAggregatorArn+}", + "GetFindingHistory": "POST /findingHistory/get", + "GetFindings": "POST /findings", + "GetFindingStatisticsV2": "POST /findingsv2/statistics", + "GetFindingsV2": "POST /findingsv2", + "GetInsightResults": "GET /insights/results/{InsightArn+}", + "GetInsights": "POST /insights/get", + "GetInvitationsCount": "GET /invitations/count", + "GetMasterAccount": "GET /master", + "GetMembers": "POST /members/get", + "GetResourcesStatisticsV2": "POST /resourcesv2/statistics", + "GetResourcesV2": "POST /resourcesv2", + "GetSecurityControlDefinition": "GET /securityControl/definition", + "InviteMembers": "POST /members/invite", + "ListAggregatorsV2": "GET /aggregatorv2/list", + "ListAutomationRules": "GET /automationrules/list", + "ListAutomationRulesV2": "GET /automationrulesv2/list", + "ListConfigurationPolicies": "GET /configurationPolicy/list", + "ListConfigurationPolicyAssociations": "POST /configurationPolicyAssociation/list", + "ListConnectorsV2": "GET /connectorsv2", + "ListEnabledProductsForImport": "GET /productSubscriptions", + "ListFindingAggregators": "GET /findingAggregator/list", + "ListInvitations": "GET /invitations", + "ListMembers": "GET /members", + "ListOrganizationAdminAccounts": "GET /organization/admin", + "ListSecurityControlDefinitions": "GET /securityControls/definitions", + "ListStandardsControlAssociations": "GET /associations", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "StartConfigurationPolicyAssociation": "POST /configurationPolicyAssociation/associate", + "StartConfigurationPolicyDisassociation": "POST /configurationPolicyAssociation/disassociate", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateActionTarget": "PATCH /actionTargets/{ActionTargetArn+}", + "UpdateAggregatorV2": "PATCH /aggregatorv2/update/{AggregatorV2Arn+}", + "UpdateAutomationRuleV2": "PATCH /automationrulesv2/{Identifier}", + "UpdateConfigurationPolicy": "PATCH /configurationPolicy/{Identifier}", + "UpdateConnectorV2": "PATCH /connectorsv2/{ConnectorId+}", + "UpdateFindingAggregator": "PATCH /findingAggregator/update", + "UpdateFindings": "PATCH /findings", + "UpdateInsight": "PATCH /insights/{InsightArn+}", + "UpdateOrganizationConfiguration": "POST /organization/configuration", + "UpdateSecurityControl": "PATCH /securityControl/update", + "UpdateSecurityHubConfiguration": "PATCH /accounts", + "UpdateStandardsControl": "PATCH /standards/control/{StandardsControlArn+}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/securityhub/types.ts b/src/services/securityhub/types.ts index 2f6fa2d6..167685ba 100644 --- a/src/services/securityhub/types.ts +++ b/src/services/securityhub/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SecurityHub extends AWSServiceClient { @@ -40,1161 +8,631 @@ export declare class SecurityHub extends AWSServiceClient { input: AcceptAdministratorInvitationRequest, ): Effect.Effect< AcceptAdministratorInvitationResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; acceptInvitation( input: AcceptInvitationRequest, ): Effect.Effect< AcceptInvitationResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; batchDeleteAutomationRules( input: BatchDeleteAutomationRulesRequest, ): Effect.Effect< BatchDeleteAutomationRulesResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; batchDisableStandards( input: BatchDisableStandardsRequest, ): Effect.Effect< BatchDisableStandardsResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; batchEnableStandards( input: BatchEnableStandardsRequest, ): Effect.Effect< BatchEnableStandardsResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; batchGetAutomationRules( input: BatchGetAutomationRulesRequest, ): Effect.Effect< BatchGetAutomationRulesResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; batchGetConfigurationPolicyAssociations( input: BatchGetConfigurationPolicyAssociationsRequest, ): Effect.Effect< BatchGetConfigurationPolicyAssociationsResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; batchGetSecurityControls( input: BatchGetSecurityControlsRequest, ): Effect.Effect< BatchGetSecurityControlsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; batchGetStandardsControlAssociations( input: BatchGetStandardsControlAssociationsRequest, ): Effect.Effect< BatchGetStandardsControlAssociationsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; batchImportFindings( input: BatchImportFindingsRequest, ): Effect.Effect< BatchImportFindingsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; batchUpdateAutomationRules( input: BatchUpdateAutomationRulesRequest, ): Effect.Effect< BatchUpdateAutomationRulesResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; batchUpdateFindings( input: BatchUpdateFindingsRequest, ): Effect.Effect< BatchUpdateFindingsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; batchUpdateFindingsV2( input: BatchUpdateFindingsV2Request, ): Effect.Effect< BatchUpdateFindingsV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; batchUpdateStandardsControlAssociations( input: BatchUpdateStandardsControlAssociationsRequest, ): Effect.Effect< BatchUpdateStandardsControlAssociationsResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; connectorRegistrationsV2( input: ConnectorRegistrationsV2Request, ): Effect.Effect< ConnectorRegistrationsV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createActionTarget( input: CreateActionTargetRequest, ): Effect.Effect< CreateActionTargetResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceConflictException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceConflictException | CommonAwsError >; createAggregatorV2( input: CreateAggregatorV2Request, ): Effect.Effect< CreateAggregatorV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createAutomationRule( input: CreateAutomationRuleRequest, ): Effect.Effect< CreateAutomationRuleResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; createAutomationRuleV2( input: CreateAutomationRuleV2Request, ): Effect.Effect< CreateAutomationRuleV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createConfigurationPolicy( input: CreateConfigurationPolicyRequest, ): Effect.Effect< CreateConfigurationPolicyResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceConflictException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceConflictException | CommonAwsError >; createConnectorV2( input: CreateConnectorV2Request, ): Effect.Effect< CreateConnectorV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createFindingAggregator( input: CreateFindingAggregatorRequest, ): Effect.Effect< CreateFindingAggregatorResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; createInsight( input: CreateInsightRequest, ): Effect.Effect< CreateInsightResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceConflictException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceConflictException | CommonAwsError >; createMembers( input: CreateMembersRequest, ): Effect.Effect< CreateMembersResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceConflictException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceConflictException | CommonAwsError >; createTicketV2( input: CreateTicketV2Request, ): Effect.Effect< CreateTicketV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; declineInvitations( input: DeclineInvitationsRequest, ): Effect.Effect< DeclineInvitationsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; deleteActionTarget( input: DeleteActionTargetRequest, ): Effect.Effect< DeleteActionTargetResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; deleteAggregatorV2( input: DeleteAggregatorV2Request, ): Effect.Effect< DeleteAggregatorV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAutomationRuleV2( input: DeleteAutomationRuleV2Request, ): Effect.Effect< DeleteAutomationRuleV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteConfigurationPolicy( input: DeleteConfigurationPolicyRequest, ): Effect.Effect< DeleteConfigurationPolicyResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceConflictException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceConflictException | ResourceNotFoundException | CommonAwsError >; deleteConnectorV2( input: DeleteConnectorV2Request, ): Effect.Effect< DeleteConnectorV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteFindingAggregator( input: DeleteFindingAggregatorRequest, ): Effect.Effect< DeleteFindingAggregatorResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; deleteInsight( input: DeleteInsightRequest, ): Effect.Effect< DeleteInsightResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; deleteInvitations( input: DeleteInvitationsRequest, ): Effect.Effect< DeleteInvitationsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; deleteMembers( input: DeleteMembersRequest, ): Effect.Effect< DeleteMembersResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; describeActionTargets( input: DescribeActionTargetsRequest, ): Effect.Effect< DescribeActionTargetsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; describeHub( input: DescribeHubRequest, ): Effect.Effect< DescribeHubResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; describeOrganizationConfiguration( input: DescribeOrganizationConfigurationRequest, ): Effect.Effect< DescribeOrganizationConfigurationResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; describeProducts( input: DescribeProductsRequest, ): Effect.Effect< DescribeProductsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; describeProductsV2( input: DescribeProductsV2Request, ): Effect.Effect< DescribeProductsV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeSecurityHubV2( input: DescribeSecurityHubV2Request, ): Effect.Effect< DescribeSecurityHubV2Response, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeStandards( input: DescribeStandardsRequest, ): Effect.Effect< DescribeStandardsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | CommonAwsError >; describeStandardsControls( input: DescribeStandardsControlsRequest, ): Effect.Effect< DescribeStandardsControlsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; disableImportFindingsForProduct( input: DisableImportFindingsForProductRequest, ): Effect.Effect< DisableImportFindingsForProductResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; disableOrganizationAdminAccount( input: DisableOrganizationAdminAccountRequest, ): Effect.Effect< DisableOrganizationAdminAccountResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; disableSecurityHub( input: DisableSecurityHubRequest, ): Effect.Effect< DisableSecurityHubResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; disableSecurityHubV2( input: DisableSecurityHubV2Request, ): Effect.Effect< DisableSecurityHubV2Response, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; disassociateFromAdministratorAccount( input: DisassociateFromAdministratorAccountRequest, ): Effect.Effect< DisassociateFromAdministratorAccountResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; disassociateFromMasterAccount( input: DisassociateFromMasterAccountRequest, ): Effect.Effect< DisassociateFromMasterAccountResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; disassociateMembers( input: DisassociateMembersRequest, ): Effect.Effect< DisassociateMembersResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; enableImportFindingsForProduct( input: EnableImportFindingsForProductRequest, ): Effect.Effect< EnableImportFindingsForProductResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceConflictException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceConflictException | CommonAwsError >; enableOrganizationAdminAccount( input: EnableOrganizationAdminAccountRequest, ): Effect.Effect< EnableOrganizationAdminAccountResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; enableSecurityHub( input: EnableSecurityHubRequest, ): Effect.Effect< EnableSecurityHubResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | LimitExceededException - | ResourceConflictException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | LimitExceededException | ResourceConflictException | CommonAwsError >; enableSecurityHubV2( input: EnableSecurityHubV2Request, ): Effect.Effect< EnableSecurityHubV2Response, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getAdministratorAccount( input: GetAdministratorAccountRequest, ): Effect.Effect< GetAdministratorAccountResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getAggregatorV2( input: GetAggregatorV2Request, ): Effect.Effect< GetAggregatorV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomationRuleV2( input: GetAutomationRuleV2Request, ): Effect.Effect< GetAutomationRuleV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfigurationPolicy( input: GetConfigurationPolicyRequest, ): Effect.Effect< GetConfigurationPolicyResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getConfigurationPolicyAssociation( input: GetConfigurationPolicyAssociationRequest, ): Effect.Effect< GetConfigurationPolicyAssociationResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getConnectorV2( input: GetConnectorV2Request, ): Effect.Effect< GetConnectorV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnabledStandards( input: GetEnabledStandardsRequest, ): Effect.Effect< GetEnabledStandardsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; - getFindingAggregator( - input: GetFindingAggregatorRequest, - ): Effect.Effect< - GetFindingAggregatorResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + getFindingAggregator( + input: GetFindingAggregatorRequest, + ): Effect.Effect< + GetFindingAggregatorResponse, + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getFindingHistory( input: GetFindingHistoryRequest, ): Effect.Effect< GetFindingHistoryResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; getFindings( input: GetFindingsRequest, ): Effect.Effect< GetFindingsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; getFindingStatisticsV2( input: GetFindingStatisticsV2Request, ): Effect.Effect< GetFindingStatisticsV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getFindingsV2( input: GetFindingsV2Request, ): Effect.Effect< GetFindingsV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getInsightResults( input: GetInsightResultsRequest, ): Effect.Effect< GetInsightResultsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getInsights( input: GetInsightsRequest, ): Effect.Effect< GetInsightsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getInvitationsCount( input: GetInvitationsCountRequest, ): Effect.Effect< GetInvitationsCountResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; getMasterAccount( input: GetMasterAccountRequest, ): Effect.Effect< GetMasterAccountResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getMembers( input: GetMembersRequest, ): Effect.Effect< GetMembersResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; getResourcesStatisticsV2( input: GetResourcesStatisticsV2Request, ): Effect.Effect< GetResourcesStatisticsV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcesV2( input: GetResourcesV2Request, ): Effect.Effect< GetResourcesV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSecurityControlDefinition( input: GetSecurityControlDefinitionRequest, ): Effect.Effect< GetSecurityControlDefinitionResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; inviteMembers( input: InviteMembersRequest, ): Effect.Effect< InviteMembersResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; listAggregatorsV2( input: ListAggregatorsV2Request, ): Effect.Effect< ListAggregatorsV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAutomationRules( input: ListAutomationRulesRequest, ): Effect.Effect< ListAutomationRulesResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; listAutomationRulesV2( input: ListAutomationRulesV2Request, ): Effect.Effect< ListAutomationRulesV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listConfigurationPolicies( input: ListConfigurationPoliciesRequest, ): Effect.Effect< ListConfigurationPoliciesResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; listConfigurationPolicyAssociations( input: ListConfigurationPolicyAssociationsRequest, ): Effect.Effect< ListConfigurationPolicyAssociationsResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; listConnectorsV2( input: ListConnectorsV2Request, ): Effect.Effect< ListConnectorsV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listEnabledProductsForImport( input: ListEnabledProductsForImportRequest, ): Effect.Effect< ListEnabledProductsForImportResponse, - | InternalException - | InvalidAccessException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | LimitExceededException | CommonAwsError >; listFindingAggregators( input: ListFindingAggregatorsRequest, ): Effect.Effect< ListFindingAggregatorsResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; listInvitations( input: ListInvitationsRequest, ): Effect.Effect< ListInvitationsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; listMembers( input: ListMembersRequest, ): Effect.Effect< ListMembersResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; listOrganizationAdminAccounts( input: ListOrganizationAdminAccountsRequest, ): Effect.Effect< ListOrganizationAdminAccountsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; listSecurityControlDefinitions( input: ListSecurityControlDefinitionsRequest, ): Effect.Effect< ListSecurityControlDefinitionsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; listStandardsControlAssociations( input: ListStandardsControlAssociationsRequest, ): Effect.Effect< ListStandardsControlAssociationsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; startConfigurationPolicyAssociation( input: StartConfigurationPolicyAssociationRequest, ): Effect.Effect< StartConfigurationPolicyAssociationResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; startConfigurationPolicyDisassociation( input: StartConfigurationPolicyDisassociationRequest, ): Effect.Effect< StartConfigurationPolicyDisassociationResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; updateActionTarget( input: UpdateActionTargetRequest, ): Effect.Effect< UpdateActionTargetResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; updateAggregatorV2( input: UpdateAggregatorV2Request, ): Effect.Effect< UpdateAggregatorV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAutomationRuleV2( input: UpdateAutomationRuleV2Request, ): Effect.Effect< UpdateAutomationRuleV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateConfigurationPolicy( input: UpdateConfigurationPolicyRequest, ): Effect.Effect< UpdateConfigurationPolicyResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceConflictException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceConflictException | ResourceNotFoundException | CommonAwsError >; updateConnectorV2( input: UpdateConnectorV2Request, ): Effect.Effect< UpdateConnectorV2Response, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateFindingAggregator( input: UpdateFindingAggregatorRequest, ): Effect.Effect< UpdateFindingAggregatorResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; updateFindings( input: UpdateFindingsRequest, ): Effect.Effect< UpdateFindingsResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; updateInsight( input: UpdateInsightRequest, ): Effect.Effect< UpdateInsightResponse, - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; updateOrganizationConfiguration( input: UpdateOrganizationConfigurationRequest, ): Effect.Effect< UpdateOrganizationConfigurationResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceConflictException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceConflictException | ResourceNotFoundException | CommonAwsError >; updateSecurityControl( input: UpdateSecurityControlRequest, ): Effect.Effect< UpdateSecurityControlResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; updateSecurityHubConfiguration( input: UpdateSecurityHubConfigurationRequest, ): Effect.Effect< UpdateSecurityHubConfigurationResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; updateStandardsControl( input: UpdateStandardsControlRequest, ): Effect.Effect< UpdateStandardsControlResponse, - | AccessDeniedException - | InternalException - | InvalidAccessException - | InvalidInputException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalException | InvalidAccessException | InvalidInputException | ResourceNotFoundException | CommonAwsError >; } @@ -1204,12 +642,14 @@ export interface AcceptAdministratorInvitationRequest { AdministratorId: string; InvitationId: string; } -export interface AcceptAdministratorInvitationResponse {} +export interface AcceptAdministratorInvitationResponse { +} export interface AcceptInvitationRequest { MasterId: string; InvitationId: string; } -export interface AcceptInvitationResponse {} +export interface AcceptInvitationResponse { +} export declare class AccessDeniedException extends EffectData.TaggedError( "AccessDeniedException", )<{ @@ -1328,14 +768,11 @@ export interface AutomationRulesAction { } export type AutomationRulesActionListV2 = Array; export type AutomationRulesActionType = "FINDING_FIELDS_UPDATE"; -export type AutomationRulesActionTypeListV2 = - Array; +export type AutomationRulesActionTypeListV2 = Array; export interface AutomationRulesActionTypeObjectV2 { Type?: AutomationRulesActionTypeV2; } -export type AutomationRulesActionTypeV2 = - | "FINDING_FIELDS_UPDATE" - | "EXTERNAL_INTEGRATION"; +export type AutomationRulesActionTypeV2 = "FINDING_FIELDS_UPDATE" | "EXTERNAL_INTEGRATION"; export interface AutomationRulesActionV2 { Type: AutomationRulesActionTypeV2; FindingFieldsUpdate?: AutomationRulesFindingFieldsUpdateV2; @@ -1538,8 +975,7 @@ export interface AwsApiGatewayMethodSettings { HttpMethod?: string; ResourcePath?: string; } -export type AwsApiGatewayMethodSettingsList = - Array; +export type AwsApiGatewayMethodSettingsList = Array; export interface AwsApiGatewayRestApiDetails { Id?: string; Name?: string; @@ -1609,8 +1045,7 @@ export interface AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersDetails { OpenIdConnectConfig?: AwsAppSyncGraphQlApiOpenIdConnectConfigDetails; UserPoolConfig?: AwsAppSyncGraphQlApiUserPoolConfigDetails; } -export type AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersList = - Array; +export type AwsAppSyncGraphQlApiAdditionalAuthenticationProvidersList = Array; export interface AwsAppSyncGraphQlApiDetails { ApiId?: string; Id?: string; @@ -1663,8 +1098,7 @@ export interface AwsAthenaWorkGroupDetails { State?: string; Configuration?: AwsAthenaWorkGroupConfigurationDetails; } -export type AwsAutoScalingAutoScalingGroupAvailabilityZonesList = - Array; +export type AwsAutoScalingAutoScalingGroupAvailabilityZonesList = Array; export interface AwsAutoScalingAutoScalingGroupAvailabilityZonesListDetails { Value?: string; } @@ -1705,8 +1139,7 @@ export interface AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplat LaunchTemplateName?: string; Version?: string; } -export type AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesList = - Array; +export type AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesList = Array; export interface AwsAutoScalingAutoScalingGroupMixedInstancesPolicyLaunchTemplateOverridesListDetails { InstanceType?: string; WeightedCapacity?: string; @@ -1725,8 +1158,7 @@ export interface AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails VolumeSize?: number; VolumeType?: string; } -export type AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList = - Array; +export type AwsAutoScalingLaunchConfigurationBlockDeviceMappingsList = Array; export interface AwsAutoScalingLaunchConfigurationDetails { AssociatePublicIpAddress?: boolean; BlockDeviceMappings?: Array; @@ -1760,8 +1192,7 @@ export interface AwsBackupBackupPlanAdvancedBackupSettingsDetails { BackupOptions?: Record; ResourceType?: string; } -export type AwsBackupBackupPlanAdvancedBackupSettingsList = - Array; +export type AwsBackupBackupPlanAdvancedBackupSettingsList = Array; export interface AwsBackupBackupPlanBackupPlanDetails { BackupPlanName?: string; AdvancedBackupSettings?: Array; @@ -1781,8 +1212,7 @@ export interface AwsBackupBackupPlanRuleCopyActionsDetails { DestinationBackupVaultArn?: string; Lifecycle?: AwsBackupBackupPlanLifecycleDetails; } -export type AwsBackupBackupPlanRuleCopyActionsList = - Array; +export type AwsBackupBackupPlanRuleCopyActionsList = Array; export interface AwsBackupBackupPlanRuleDetails { TargetBackupVault?: string; StartWindowMinutes?: number; @@ -1874,19 +1304,16 @@ export interface AwsCertificateManagerCertificateDomainValidationOption { ValidationMethod?: string; ValidationStatus?: string; } -export type AwsCertificateManagerCertificateDomainValidationOptions = - Array; +export type AwsCertificateManagerCertificateDomainValidationOptions = Array; export interface AwsCertificateManagerCertificateExtendedKeyUsage { Name?: string; OId?: string; } -export type AwsCertificateManagerCertificateExtendedKeyUsages = - Array; +export type AwsCertificateManagerCertificateExtendedKeyUsages = Array; export interface AwsCertificateManagerCertificateKeyUsage { Name?: string; } -export type AwsCertificateManagerCertificateKeyUsages = - Array; +export type AwsCertificateManagerCertificateKeyUsages = Array; export interface AwsCertificateManagerCertificateOptions { CertificateTransparencyLoggingPreference?: string; } @@ -1926,16 +1353,14 @@ export interface AwsCloudFormationStackOutputsDetails { OutputKey?: string; OutputValue?: string; } -export type AwsCloudFormationStackOutputsList = - Array; +export type AwsCloudFormationStackOutputsList = Array; export interface AwsCloudFrontDistributionCacheBehavior { ViewerProtocolPolicy?: string; } export interface AwsCloudFrontDistributionCacheBehaviors { Items?: Array; } -export type AwsCloudFrontDistributionCacheBehaviorsItemList = - Array; +export type AwsCloudFrontDistributionCacheBehaviorsItemList = Array; export interface AwsCloudFrontDistributionDefaultCacheBehavior { ViewerProtocolPolicy?: string; } @@ -1977,13 +1402,11 @@ export interface AwsCloudFrontDistributionOriginGroupFailoverStatusCodes { Items?: Array; Quantity?: number; } -export type AwsCloudFrontDistributionOriginGroupFailoverStatusCodesItemList = - Array; +export type AwsCloudFrontDistributionOriginGroupFailoverStatusCodesItemList = Array; export interface AwsCloudFrontDistributionOriginGroups { Items?: Array; } -export type AwsCloudFrontDistributionOriginGroupsItemList = - Array; +export type AwsCloudFrontDistributionOriginGroupsItemList = Array; export interface AwsCloudFrontDistributionOriginItem { DomainName?: string; Id?: string; @@ -1991,8 +1414,7 @@ export interface AwsCloudFrontDistributionOriginItem { S3OriginConfig?: AwsCloudFrontDistributionOriginS3OriginConfig; CustomOriginConfig?: AwsCloudFrontDistributionOriginCustomOriginConfig; } -export type AwsCloudFrontDistributionOriginItemList = - Array; +export type AwsCloudFrontDistributionOriginItemList = Array; export interface AwsCloudFrontDistributionOrigins { Items?: Array; } @@ -2057,8 +1479,7 @@ export interface AwsCloudWatchAlarmDimensionsDetails { Name?: string; Value?: string; } -export type AwsCloudWatchAlarmDimensionsList = - Array; +export type AwsCloudWatchAlarmDimensionsList = Array; export interface AwsCodeBuildProjectArtifactsDetails { ArtifactIdentifier?: string; EncryptionDisabled?: boolean; @@ -2070,8 +1491,7 @@ export interface AwsCodeBuildProjectArtifactsDetails { Path?: string; Type?: string; } -export type AwsCodeBuildProjectArtifactsList = - Array; +export type AwsCodeBuildProjectArtifactsList = Array; export interface AwsCodeBuildProjectDetails { EncryptionKey?: string; Artifacts?: Array; @@ -2096,8 +1516,7 @@ export interface AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails { Type?: string; Value?: string; } -export type AwsCodeBuildProjectEnvironmentEnvironmentVariablesList = - Array; +export type AwsCodeBuildProjectEnvironmentEnvironmentVariablesList = Array; export interface AwsCodeBuildProjectEnvironmentRegistryCredential { Credential?: string; CredentialProvider?: string; @@ -2170,8 +1589,7 @@ export interface AwsDmsReplicationInstanceReplicationSubnetGroupDetails { export interface AwsDmsReplicationInstanceVpcSecurityGroupsDetails { VpcSecurityGroupId?: string; } -export type AwsDmsReplicationInstanceVpcSecurityGroupsList = - Array; +export type AwsDmsReplicationInstanceVpcSecurityGroupsList = Array; export interface AwsDmsReplicationTaskDetails { CdcStartPosition?: string; CdcStartTime?: string; @@ -2191,8 +1609,7 @@ export interface AwsDynamoDbTableAttributeDefinition { AttributeName?: string; AttributeType?: string; } -export type AwsDynamoDbTableAttributeDefinitionList = - Array; +export type AwsDynamoDbTableAttributeDefinitionList = Array; export interface AwsDynamoDbTableBillingModeSummary { BillingMode?: string; LastUpdateToPayPerRequestDateTime?: string; @@ -2230,8 +1647,7 @@ export interface AwsDynamoDbTableGlobalSecondaryIndex { Projection?: AwsDynamoDbTableProjection; ProvisionedThroughput?: AwsDynamoDbTableProvisionedThroughput; } -export type AwsDynamoDbTableGlobalSecondaryIndexList = - Array; +export type AwsDynamoDbTableGlobalSecondaryIndexList = Array; export interface AwsDynamoDbTableKeySchema { AttributeName?: string; KeyType?: string; @@ -2243,8 +1659,7 @@ export interface AwsDynamoDbTableLocalSecondaryIndex { KeySchema?: Array; Projection?: AwsDynamoDbTableProjection; } -export type AwsDynamoDbTableLocalSecondaryIndexList = - Array; +export type AwsDynamoDbTableLocalSecondaryIndexList = Array; export interface AwsDynamoDbTableProjection { NonKeyAttributes?: Array; ProjectionType?: string; @@ -2271,8 +1686,7 @@ export interface AwsDynamoDbTableReplicaGlobalSecondaryIndex { IndexName?: string; ProvisionedThroughputOverride?: AwsDynamoDbTableProvisionedThroughputOverride; } -export type AwsDynamoDbTableReplicaGlobalSecondaryIndexList = - Array; +export type AwsDynamoDbTableReplicaGlobalSecondaryIndexList = Array; export type AwsDynamoDbTableReplicaList = Array; export interface AwsDynamoDbTableRestoreSummary { SourceBackupArn?: string; @@ -2303,8 +1717,7 @@ export interface AwsEc2ClientVpnEndpointAuthenticationOptionsFederatedAuthentica SamlProviderArn?: string; SelfServiceSamlProviderArn?: string; } -export type AwsEc2ClientVpnEndpointAuthenticationOptionsList = - Array; +export type AwsEc2ClientVpnEndpointAuthenticationOptionsList = Array; export interface AwsEc2ClientVpnEndpointAuthenticationOptionsMutualAuthenticationDetails { ClientRootCertificateChain?: string; } @@ -2384,8 +1797,7 @@ export interface AwsEc2InstanceMonitoringDetails { export interface AwsEc2InstanceNetworkInterfacesDetails { NetworkInterfaceId?: string; } -export type AwsEc2InstanceNetworkInterfacesList = - Array; +export type AwsEc2InstanceNetworkInterfacesList = Array; export interface AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails { DeviceName?: string; Ebs?: AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails; @@ -2402,8 +1814,7 @@ export interface AwsEc2LaunchTemplateDataBlockDeviceMappingSetEbsDetails { VolumeSize?: number; VolumeType?: string; } -export type AwsEc2LaunchTemplateDataBlockDeviceMappingSetList = - Array; +export type AwsEc2LaunchTemplateDataBlockDeviceMappingSetList = Array; export interface AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails { CapacityReservationId?: string; CapacityReservationResourceGroupArn?: string; @@ -2454,14 +1865,12 @@ export interface AwsEc2LaunchTemplateDataDetails { export interface AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails { Type?: string; } -export type AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList = - Array; +export type AwsEc2LaunchTemplateDataElasticGpuSpecificationSetList = Array; export interface AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails { Count?: number; Type?: string; } -export type AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList = - Array; +export type AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetList = Array; export interface AwsEc2LaunchTemplateDataEnclaveOptionsDetails { Enabled?: boolean; } @@ -2541,8 +1950,7 @@ export interface AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails { export interface AwsEc2LaunchTemplateDataLicenseSetDetails { LicenseConfigurationArn?: string; } -export type AwsEc2LaunchTemplateDataLicenseSetList = - Array; +export type AwsEc2LaunchTemplateDataLicenseSetList = Array; export interface AwsEc2LaunchTemplateDataMaintenanceOptionsDetails { AutoRecovery?: string; } @@ -2580,26 +1988,21 @@ export interface AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails { export interface AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails { Ipv4Prefix?: string; } -export type AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList = - Array; +export type AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesList = Array; export interface AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails { Ipv6Address?: string; } -export type AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList = - Array; +export type AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesList = Array; export interface AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails { Ipv6Prefix?: string; } -export type AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList = - Array; -export type AwsEc2LaunchTemplateDataNetworkInterfaceSetList = - Array; +export type AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesList = Array; +export type AwsEc2LaunchTemplateDataNetworkInterfaceSetList = Array; export interface AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails { Primary?: boolean; PrivateIpAddress?: string; } -export type AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList = - Array; +export type AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesList = Array; export interface AwsEc2LaunchTemplateDataPlacementDetails { Affinity?: string; AvailabilityZone?: string; @@ -2627,8 +2030,7 @@ export interface AwsEc2NetworkAclAssociation { NetworkAclId?: string; SubnetId?: string; } -export type AwsEc2NetworkAclAssociationList = - Array; +export type AwsEc2NetworkAclAssociationList = Array; export interface AwsEc2NetworkAclDetails { IsDefault?: boolean; NetworkAclId?: string; @@ -2670,20 +2072,17 @@ export interface AwsEc2NetworkInterfaceDetails { export interface AwsEc2NetworkInterfaceIpV6AddressDetail { IpV6Address?: string; } -export type AwsEc2NetworkInterfaceIpV6AddressList = - Array; +export type AwsEc2NetworkInterfaceIpV6AddressList = Array; export interface AwsEc2NetworkInterfacePrivateIpAddressDetail { PrivateIpAddress?: string; PrivateDnsName?: string; } -export type AwsEc2NetworkInterfacePrivateIpAddressList = - Array; +export type AwsEc2NetworkInterfacePrivateIpAddressList = Array; export interface AwsEc2NetworkInterfaceSecurityGroup { GroupName?: string; GroupId?: string; } -export type AwsEc2NetworkInterfaceSecurityGroupList = - Array; +export type AwsEc2NetworkInterfaceSecurityGroupList = Array; export interface AwsEc2RouteTableDetails { AssociationSet?: Array; OwnerId?: string; @@ -2709,8 +2108,7 @@ export interface AwsEc2SecurityGroupIpPermission { Ipv6Ranges?: Array; PrefixListIds?: Array; } -export type AwsEc2SecurityGroupIpPermissionList = - Array; +export type AwsEc2SecurityGroupIpPermissionList = Array; export interface AwsEc2SecurityGroupIpRange { CidrIp?: string; } @@ -2718,13 +2116,11 @@ export type AwsEc2SecurityGroupIpRangeList = Array; export interface AwsEc2SecurityGroupIpv6Range { CidrIpv6?: string; } -export type AwsEc2SecurityGroupIpv6RangeList = - Array; +export type AwsEc2SecurityGroupIpv6RangeList = Array; export interface AwsEc2SecurityGroupPrefixListId { PrefixListId?: string; } -export type AwsEc2SecurityGroupPrefixListIdList = - Array; +export type AwsEc2SecurityGroupPrefixListIdList = Array; export interface AwsEc2SecurityGroupUserIdGroupPair { GroupId?: string; GroupName?: string; @@ -2733,8 +2129,7 @@ export interface AwsEc2SecurityGroupUserIdGroupPair { VpcId?: string; VpcPeeringConnectionId?: string; } -export type AwsEc2SecurityGroupUserIdGroupPairList = - Array; +export type AwsEc2SecurityGroupUserIdGroupPairList = Array; export interface AwsEc2SubnetDetails { AssignIpv6AddressOnCreation?: boolean; AvailabilityZone?: string; @@ -2806,8 +2201,7 @@ export interface AwsEc2VpcEndpointServiceDetails { export interface AwsEc2VpcEndpointServiceServiceTypeDetails { ServiceType?: string; } -export type AwsEc2VpcEndpointServiceServiceTypeList = - Array; +export type AwsEc2VpcEndpointServiceServiceTypeList = Array; export interface AwsEc2VpcPeeringConnectionDetails { AccepterVpcInfo?: AwsEc2VpcPeeringConnectionVpcInfoDetails; ExpirationTime?: string; @@ -2863,14 +2257,12 @@ export interface AwsEc2VpnConnectionOptionsTunnelOptionsDetails { ReplayWindowSize?: number; TunnelInsideCidr?: string; } -export type AwsEc2VpnConnectionOptionsTunnelOptionsList = - Array; +export type AwsEc2VpnConnectionOptionsTunnelOptionsList = Array; export interface AwsEc2VpnConnectionRoutesDetails { DestinationCidrBlock?: string; State?: string; } -export type AwsEc2VpnConnectionRoutesList = - Array; +export type AwsEc2VpnConnectionRoutesList = Array; export interface AwsEc2VpnConnectionVgwTelemetryDetails { AcceptedRouteCount?: number; CertificateArn?: string; @@ -2879,8 +2271,7 @@ export interface AwsEc2VpnConnectionVgwTelemetryDetails { Status?: string; StatusMessage?: string; } -export type AwsEc2VpnConnectionVgwTelemetryList = - Array; +export type AwsEc2VpnConnectionVgwTelemetryList = Array; export interface AwsEcrContainerImageDetails { RegistryId?: string; RepositoryName?: string; @@ -2908,8 +2299,7 @@ export interface AwsEcsClusterClusterSettingsDetails { Name?: string; Value?: string; } -export type AwsEcsClusterClusterSettingsList = - Array; +export type AwsEcsClusterClusterSettingsList = Array; export interface AwsEcsClusterConfigurationDetails { ExecuteCommandConfiguration?: AwsEcsClusterConfigurationExecuteCommandConfigurationDetails; } @@ -2930,8 +2320,7 @@ export interface AwsEcsClusterDefaultCapacityProviderStrategyDetails { CapacityProvider?: string; Weight?: number; } -export type AwsEcsClusterDefaultCapacityProviderStrategyList = - Array; +export type AwsEcsClusterDefaultCapacityProviderStrategyList = Array; export interface AwsEcsClusterDetails { ClusterArn?: string; ActiveServicesCount?: number; @@ -2956,8 +2345,7 @@ export interface AwsEcsServiceCapacityProviderStrategyDetails { CapacityProvider?: string; Weight?: number; } -export type AwsEcsServiceCapacityProviderStrategyList = - Array; +export type AwsEcsServiceCapacityProviderStrategyList = Array; export interface AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails { Enable?: boolean; Rollback?: boolean; @@ -3000,8 +2388,7 @@ export interface AwsEcsServiceLoadBalancersDetails { LoadBalancerName?: string; TargetGroupArn?: string; } -export type AwsEcsServiceLoadBalancersList = - Array; +export type AwsEcsServiceLoadBalancersList = Array; export interface AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails { AssignPublicIp?: string; SecurityGroups?: Array; @@ -3014,28 +2401,24 @@ export interface AwsEcsServicePlacementConstraintsDetails { Expression?: string; Type?: string; } -export type AwsEcsServicePlacementConstraintsList = - Array; +export type AwsEcsServicePlacementConstraintsList = Array; export interface AwsEcsServicePlacementStrategiesDetails { Field?: string; Type?: string; } -export type AwsEcsServicePlacementStrategiesList = - Array; +export type AwsEcsServicePlacementStrategiesList = Array; export interface AwsEcsServiceServiceRegistriesDetails { ContainerName?: string; ContainerPort?: number; Port?: number; RegistryArn?: string; } -export type AwsEcsServiceServiceRegistriesList = - Array; +export type AwsEcsServiceServiceRegistriesList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails { Condition?: string; ContainerName?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsDependsOnList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsDependsOnList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsDetails { Command?: Array; Cpu?: number; @@ -3085,16 +2468,13 @@ export interface AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails Type?: string; Value?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesList = - Array; -export type AwsEcsTaskDefinitionContainerDefinitionsEnvironmentList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesList = Array; +export type AwsEcsTaskDefinitionContainerDefinitionsEnvironmentList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails { Hostname?: string; IpAddress?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsExtraHostsList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsExtraHostsList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails { Options?: Record; Type?: string; @@ -3124,17 +2504,14 @@ export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesD HostPath?: string; Permissions?: Array; } -export type AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails { ContainerPath?: string; MountOptions?: Array; Size?: number; } -export type AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsList = - Array; -export type AwsEcsTaskDefinitionContainerDefinitionsList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsList = Array; +export type AwsEcsTaskDefinitionContainerDefinitionsList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails { LogDriver?: string; Options?: Record; @@ -3144,22 +2521,19 @@ export interface AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretO Name?: string; ValueFrom?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails { ContainerPath?: string; ReadOnly?: boolean; SourceVolume?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsMountPointsList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsMountPointsList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails { ContainerPort?: number; HostPort?: number; Protocol?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsPortMappingsList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsPortMappingsList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails { CredentialsParameter?: string; } @@ -3167,33 +2541,28 @@ export interface AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDet Type?: string; Value?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails { Name?: string; ValueFrom?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsSecretsList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsSecretsList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails { Namespace?: string; Value?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsSystemControlsList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsSystemControlsList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails { HardLimit?: number; Name?: string; SoftLimit?: number; } -export type AwsEcsTaskDefinitionContainerDefinitionsUlimitsList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsUlimitsList = Array; export interface AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails { ReadOnly?: boolean; SourceContainer?: string; } -export type AwsEcsTaskDefinitionContainerDefinitionsVolumesFromList = - Array; +export type AwsEcsTaskDefinitionContainerDefinitionsVolumesFromList = Array; export interface AwsEcsTaskDefinitionDetails { ContainerDefinitions?: Array; Cpu?: string; @@ -3215,14 +2584,12 @@ export interface AwsEcsTaskDefinitionInferenceAcceleratorsDetails { DeviceName?: string; DeviceType?: string; } -export type AwsEcsTaskDefinitionInferenceAcceleratorsList = - Array; +export type AwsEcsTaskDefinitionInferenceAcceleratorsList = Array; export interface AwsEcsTaskDefinitionPlacementConstraintsDetails { Expression?: string; Type?: string; } -export type AwsEcsTaskDefinitionPlacementConstraintsList = - Array; +export type AwsEcsTaskDefinitionPlacementConstraintsList = Array; export interface AwsEcsTaskDefinitionProxyConfigurationDetails { ContainerName?: string; ProxyConfigurationProperties?: Array; @@ -3232,8 +2599,7 @@ export interface AwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropert Name?: string; Value?: string; } -export type AwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropertiesList = - Array; +export type AwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropertiesList = Array; export interface AwsEcsTaskDefinitionVolumesDetails { DockerVolumeConfiguration?: AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails; EfsVolumeConfiguration?: AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails; @@ -3261,8 +2627,7 @@ export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails { export interface AwsEcsTaskDefinitionVolumesHostDetails { SourcePath?: string; } -export type AwsEcsTaskDefinitionVolumesList = - Array; +export type AwsEcsTaskDefinitionVolumesList = Array; export interface AwsEcsTaskDetails { ClusterArn?: string; TaskDefinitionArn?: string; @@ -3319,8 +2684,7 @@ export interface AwsEksClusterLoggingClusterLoggingDetails { Enabled?: boolean; Types?: Array; } -export type AwsEksClusterLoggingClusterLoggingList = - Array; +export type AwsEksClusterLoggingClusterLoggingList = Array; export interface AwsEksClusterLoggingDetails { ClusterLogging?: Array; } @@ -3351,16 +2715,14 @@ export interface AwsElasticBeanstalkEnvironmentEnvironmentLink { EnvironmentName?: string; LinkName?: string; } -export type AwsElasticBeanstalkEnvironmentEnvironmentLinks = - Array; +export type AwsElasticBeanstalkEnvironmentEnvironmentLinks = Array; export interface AwsElasticBeanstalkEnvironmentOptionSetting { Namespace?: string; OptionName?: string; ResourceName?: string; Value?: string; } -export type AwsElasticBeanstalkEnvironmentOptionSettings = - Array; +export type AwsElasticBeanstalkEnvironmentOptionSettings = Array; export interface AwsElasticBeanstalkEnvironmentTier { Name?: string; Type?: string; @@ -3428,14 +2790,12 @@ export interface AwsElasticsearchDomainVPCOptions { SubnetIds?: Array; VPCId?: string; } -export type AwsElbAppCookieStickinessPolicies = - Array; +export type AwsElbAppCookieStickinessPolicies = Array; export interface AwsElbAppCookieStickinessPolicy { CookieName?: string; PolicyName?: string; } -export type AwsElbLbCookieStickinessPolicies = - Array; +export type AwsElbLbCookieStickinessPolicies = Array; export interface AwsElbLbCookieStickinessPolicy { CookieExpirationPeriod?: number; PolicyName?: string; @@ -3450,8 +2810,7 @@ export interface AwsElbLoadBalancerAdditionalAttribute { Key?: string; Value?: string; } -export type AwsElbLoadBalancerAdditionalAttributeList = - Array; +export type AwsElbLoadBalancerAdditionalAttributeList = Array; export interface AwsElbLoadBalancerAttributes { AccessLog?: AwsElbLoadBalancerAccessLog; ConnectionDraining?: AwsElbLoadBalancerConnectionDraining; @@ -3463,8 +2822,7 @@ export interface AwsElbLoadBalancerBackendServerDescription { InstancePort?: number; PolicyNames?: Array; } -export type AwsElbLoadBalancerBackendServerDescriptions = - Array; +export type AwsElbLoadBalancerBackendServerDescriptions = Array; export interface AwsElbLoadBalancerConnectionDraining { Enabled?: boolean; Timeout?: number; @@ -3516,8 +2874,7 @@ export interface AwsElbLoadBalancerListenerDescription { Listener?: AwsElbLoadBalancerListener; PolicyNames?: Array; } -export type AwsElbLoadBalancerListenerDescriptions = - Array; +export type AwsElbLoadBalancerListenerDescriptions = Array; export interface AwsElbLoadBalancerPolicies { AppCookieStickinessPolicies?: Array; LbCookieStickinessPolicies?: Array; @@ -3531,8 +2888,7 @@ export interface AwsElbv2LoadBalancerAttribute { Key?: string; Value?: string; } -export type AwsElbv2LoadBalancerAttributes = - Array; +export type AwsElbv2LoadBalancerAttributes = Array; export interface AwsElbv2LoadBalancerDetails { AvailabilityZones?: Array; CanonicalHostedZoneId?: string; @@ -3567,8 +2923,7 @@ export interface AwsEventsEndpointDetails { export interface AwsEventsEndpointEventBusesDetails { EventBusArn?: string; } -export type AwsEventsEndpointEventBusesList = - Array; +export type AwsEventsEndpointEventBusesList = Array; export interface AwsEventsEndpointReplicationConfigDetails { State?: string; } @@ -3638,8 +2993,7 @@ export interface AwsGuardDutyDetectorFeaturesDetails { Name?: string; Status?: string; } -export type AwsGuardDutyDetectorFeaturesList = - Array; +export type AwsGuardDutyDetectorFeaturesList = Array; export interface AwsIamAccessKeyDetails { UserName?: string; Status?: AwsIamAccessKeyStatus; @@ -3671,8 +3025,7 @@ export interface AwsIamAttachedManagedPolicy { PolicyName?: string; PolicyArn?: string; } -export type AwsIamAttachedManagedPolicyList = - Array; +export type AwsIamAttachedManagedPolicyList = Array; export interface AwsIamGroupDetails { AttachedManagedPolicies?: Array; CreateDate?: string; @@ -3909,8 +3262,7 @@ export interface AwsNetworkFirewallFirewallPolicyDetails { export interface AwsNetworkFirewallFirewallSubnetMappingsDetails { SubnetId?: string; } -export type AwsNetworkFirewallFirewallSubnetMappingsList = - Array; +export type AwsNetworkFirewallFirewallSubnetMappingsList = Array; export interface AwsNetworkFirewallRuleGroupDetails { Capacity?: number; Description?: string; @@ -4003,8 +3355,7 @@ export interface AwsRdsDbClusterAssociatedRole { RoleArn?: string; Status?: string; } -export type AwsRdsDbClusterAssociatedRoles = - Array; +export type AwsRdsDbClusterAssociatedRoles = Array; export interface AwsRdsDbClusterDetails { AllocatedStorage?: number; AvailabilityZones?: Array; @@ -4056,14 +3407,12 @@ export interface AwsRdsDbClusterOptionGroupMembership { DbClusterOptionGroupName?: string; Status?: string; } -export type AwsRdsDbClusterOptionGroupMemberships = - Array; +export type AwsRdsDbClusterOptionGroupMemberships = Array; export interface AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute { AttributeName?: string; AttributeValues?: Array; } -export type AwsRdsDbClusterSnapshotDbClusterSnapshotAttributes = - Array; +export type AwsRdsDbClusterSnapshotDbClusterSnapshotAttributes = Array; export interface AwsRdsDbClusterSnapshotDetails { AvailabilityZones?: Array; SnapshotCreateTime?: string; @@ -4097,8 +3446,7 @@ export interface AwsRdsDbInstanceAssociatedRole { FeatureName?: string; Status?: string; } -export type AwsRdsDbInstanceAssociatedRoles = - Array; +export type AwsRdsDbInstanceAssociatedRoles = Array; export interface AwsRdsDbInstanceDetails { AssociatedRoles?: Array; CACertificateIdentifier?: string; @@ -4167,14 +3515,12 @@ export interface AwsRdsDbInstanceVpcSecurityGroup { VpcSecurityGroupId?: string; Status?: string; } -export type AwsRdsDbInstanceVpcSecurityGroups = - Array; +export type AwsRdsDbInstanceVpcSecurityGroups = Array; export interface AwsRdsDbOptionGroupMembership { OptionGroupName?: string; Status?: string; } -export type AwsRdsDbOptionGroupMemberships = - Array; +export type AwsRdsDbOptionGroupMemberships = Array; export interface AwsRdsDbParameterGroup { DbParameterGroupName?: string; ParameterApplyStatus?: string; @@ -4217,8 +3563,7 @@ export interface AwsRdsDbSecurityGroupEc2SecurityGroup { Ec2SecurityGroupOwnerId?: string; Status?: string; } -export type AwsRdsDbSecurityGroupEc2SecurityGroups = - Array; +export type AwsRdsDbSecurityGroupEc2SecurityGroups = Array; export interface AwsRdsDbSecurityGroupIpRange { CidrIp?: string; Status?: string; @@ -4298,28 +3643,24 @@ export interface AwsRedshiftClusterClusterNode { PrivateIpAddress?: string; PublicIpAddress?: string; } -export type AwsRedshiftClusterClusterNodes = - Array; +export type AwsRedshiftClusterClusterNodes = Array; export interface AwsRedshiftClusterClusterParameterGroup { ClusterParameterStatusList?: Array; ParameterApplyStatus?: string; ParameterGroupName?: string; } -export type AwsRedshiftClusterClusterParameterGroups = - Array; +export type AwsRedshiftClusterClusterParameterGroups = Array; export interface AwsRedshiftClusterClusterParameterStatus { ParameterName?: string; ParameterApplyStatus?: string; ParameterApplyErrorDescription?: string; } -export type AwsRedshiftClusterClusterParameterStatusList = - Array; +export type AwsRedshiftClusterClusterParameterStatusList = Array; export interface AwsRedshiftClusterClusterSecurityGroup { ClusterSecurityGroupName?: string; Status?: string; } -export type AwsRedshiftClusterClusterSecurityGroups = - Array; +export type AwsRedshiftClusterClusterSecurityGroups = Array; export interface AwsRedshiftClusterClusterSnapshotCopyStatus { DestinationRegion?: string; ManualSnapshotRetentionPeriod?: number; @@ -4331,8 +3672,7 @@ export interface AwsRedshiftClusterDeferredMaintenanceWindow { DeferMaintenanceIdentifier?: string; DeferMaintenanceStartTime?: string; } -export type AwsRedshiftClusterDeferredMaintenanceWindows = - Array; +export type AwsRedshiftClusterDeferredMaintenanceWindows = Array; export interface AwsRedshiftClusterDetails { AllowVersionUpgrade?: boolean; AutomatedSnapshotRetentionPeriod?: number; @@ -4434,8 +3774,7 @@ export interface AwsRedshiftClusterVpcSecurityGroup { Status?: string; VpcSecurityGroupId?: string; } -export type AwsRedshiftClusterVpcSecurityGroups = - Array; +export type AwsRedshiftClusterVpcSecurityGroups = Array; export interface AwsRoute53HostedZoneConfigDetails { Comment?: string; } @@ -4455,8 +3794,7 @@ export interface AwsRoute53HostedZoneVpcDetails { Id?: string; Region?: string; } -export type AwsRoute53HostedZoneVpcsList = - Array; +export type AwsRoute53HostedZoneVpcsList = Array; export interface AwsRoute53QueryLoggingConfigDetails { CloudWatchLogsLogGroupArn?: CloudWatchLogsLogGroupArnConfigDetails; } @@ -4512,8 +3850,7 @@ export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOper Tag?: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails; Type?: string; } -export type AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsList = - Array; +export type AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsList = Array; export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails { Key?: string; Value?: string; @@ -4522,21 +3859,18 @@ export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagD Key?: string; Value?: string; } -export type AwsS3BucketBucketLifecycleConfigurationRulesList = - Array; +export type AwsS3BucketBucketLifecycleConfigurationRulesList = Array; export interface AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails { Days?: number; StorageClass?: string; } -export type AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsList = - Array; +export type AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsList = Array; export interface AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails { Date?: string; Days?: number; StorageClass?: string; } -export type AwsS3BucketBucketLifecycleConfigurationRulesTransitionsList = - Array; +export type AwsS3BucketBucketLifecycleConfigurationRulesTransitionsList = Array; export interface AwsS3BucketBucketVersioningConfiguration { IsMfaDeleteEnabled?: boolean; Status?: string; @@ -4570,8 +3904,7 @@ export interface AwsS3BucketNotificationConfigurationDetail { Destination?: string; Type?: string; } -export type AwsS3BucketNotificationConfigurationDetails = - Array; +export type AwsS3BucketNotificationConfigurationDetails = Array; export type AwsS3BucketNotificationConfigurationEvents = Array; export interface AwsS3BucketNotificationConfigurationFilter { S3KeyFilter?: AwsS3BucketNotificationConfigurationS3KeyFilter; @@ -4583,11 +3916,8 @@ export interface AwsS3BucketNotificationConfigurationS3KeyFilterRule { Name?: AwsS3BucketNotificationConfigurationS3KeyFilterRuleName; Value?: string; } -export type AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = - | "Prefix" - | "Suffix"; -export type AwsS3BucketNotificationConfigurationS3KeyFilterRules = - Array; +export type AwsS3BucketNotificationConfigurationS3KeyFilterRuleName = "Prefix" | "Suffix"; +export type AwsS3BucketNotificationConfigurationS3KeyFilterRules = Array; export interface AwsS3BucketObjectLockConfiguration { ObjectLockEnabled?: string; Rule?: AwsS3BucketObjectLockConfigurationRuleDetails; @@ -4610,8 +3940,7 @@ export interface AwsS3BucketServerSideEncryptionConfiguration { export interface AwsS3BucketServerSideEncryptionRule { ApplyServerSideEncryptionByDefault?: AwsS3BucketServerSideEncryptionByDefault; } -export type AwsS3BucketServerSideEncryptionRules = - Array; +export type AwsS3BucketServerSideEncryptionRules = Array; export interface AwsS3BucketWebsiteConfiguration { ErrorDocument?: string; IndexDocumentSuffix?: string; @@ -4637,8 +3966,7 @@ export interface AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { ReplaceKeyPrefixWith?: string; ReplaceKeyWith?: string; } -export type AwsS3BucketWebsiteConfigurationRoutingRules = - Array; +export type AwsS3BucketWebsiteConfigurationRoutingRules = Array; export interface AwsS3ObjectDetails { LastModified?: string; ETag?: string; @@ -4842,8 +4170,7 @@ export interface AwsSecurityFindingIdentifier { Id: string; ProductArn: string; } -export type AwsSecurityFindingIdentifierList = - Array; +export type AwsSecurityFindingIdentifierList = Array; export type AwsSecurityFindingList = Array; export interface AwsSnsTopicDetails { KmsMasterKeyId?: string; @@ -4911,8 +4238,7 @@ export interface AwsStepFunctionStateMachineLoggingConfigurationDestinationsClou export interface AwsStepFunctionStateMachineLoggingConfigurationDestinationsDetails { CloudWatchLogsLogGroup?: AwsStepFunctionStateMachineLoggingConfigurationDestinationsCloudWatchLogsLogGroupDetails; } -export type AwsStepFunctionStateMachineLoggingConfigurationDestinationsList = - Array; +export type AwsStepFunctionStateMachineLoggingConfigurationDestinationsList = Array; export interface AwsStepFunctionStateMachineLoggingConfigurationDetails { Destinations?: Array; IncludeExecutionData?: boolean; @@ -4934,8 +4260,7 @@ export interface AwsWafRateBasedRuleMatchPredicate { Negated?: boolean; Type?: string; } -export type AwsWafRateBasedRuleMatchPredicateList = - Array; +export type AwsWafRateBasedRuleMatchPredicateList = Array; export interface AwsWafRegionalRateBasedRuleDetails { MetricName?: string; Name?: string; @@ -4949,8 +4274,7 @@ export interface AwsWafRegionalRateBasedRuleMatchPredicate { Negated?: boolean; Type?: string; } -export type AwsWafRegionalRateBasedRuleMatchPredicateList = - Array; +export type AwsWafRegionalRateBasedRuleMatchPredicateList = Array; export interface AwsWafRegionalRuleDetails { MetricName?: string; Name?: string; @@ -4972,10 +4296,8 @@ export interface AwsWafRegionalRuleGroupRulesDetails { RuleId?: string; Type?: string; } -export type AwsWafRegionalRuleGroupRulesList = - Array; -export type AwsWafRegionalRulePredicateList = - Array; +export type AwsWafRegionalRuleGroupRulesList = Array; +export type AwsWafRegionalRulePredicateList = Array; export interface AwsWafRegionalRulePredicateListDetails { DataId?: string; Negated?: boolean; @@ -4988,8 +4310,7 @@ export interface AwsWafRegionalWebAclDetails { RulesList?: Array; WebAclId?: string; } -export type AwsWafRegionalWebAclRulesList = - Array; +export type AwsWafRegionalWebAclRulesList = Array; export interface AwsWafRegionalWebAclRulesListActionDetails { Type?: string; } @@ -5211,14 +4532,12 @@ export interface BatchUpdateFindingsUnprocessedFinding { ErrorCode: string; ErrorMessage: string; } -export type BatchUpdateFindingsUnprocessedFindingsList = - Array; +export type BatchUpdateFindingsUnprocessedFindingsList = Array; export interface BatchUpdateFindingsV2ProcessedFinding { FindingIdentifier?: OcsfFindingIdentifier; MetadataUid?: string; } -export type BatchUpdateFindingsV2ProcessedFindingsList = - Array; +export type BatchUpdateFindingsV2ProcessedFindingsList = Array; export interface BatchUpdateFindingsV2Request { MetadataUids?: Array; FindingIdentifiers?: Array; @@ -5236,13 +4555,8 @@ export interface BatchUpdateFindingsV2UnprocessedFinding { ErrorCode?: BatchUpdateFindingsV2UnprocessedFindingErrorCode; ErrorMessage?: string; } -export type BatchUpdateFindingsV2UnprocessedFindingErrorCode = - | "ResourceNotFoundException" - | "ValidationException" - | "InternalServerException" - | "ConflictException"; -export type BatchUpdateFindingsV2UnprocessedFindingsList = - Array; +export type BatchUpdateFindingsV2UnprocessedFindingErrorCode = "ResourceNotFoundException" | "ValidationException" | "InternalServerException" | "ConflictException"; +export type BatchUpdateFindingsV2UnprocessedFindingsList = Array; export interface BatchUpdateStandardsControlAssociationsRequest { StandardsControlAssociationUpdates: Array; } @@ -5313,11 +4627,7 @@ export interface Compliance { AssociatedStandards?: Array; SecurityControlParameters?: Array; } -export type ComplianceStatus = - | "PASSED" - | "WARNING" - | "FAILED" - | "NOT_AVAILABLE"; +export type ComplianceStatus = "PASSED" | "WARNING" | "FAILED" | "NOT_AVAILABLE"; export interface CompositeFilter { StringFilters?: Array; DateFilters?: Array; @@ -5340,26 +4650,13 @@ interface _ConfigurationOptions { EnumList?: EnumListConfigurationOptions; } -export type ConfigurationOptions = - | (_ConfigurationOptions & { Integer: IntegerConfigurationOptions }) - | (_ConfigurationOptions & { IntegerList: IntegerListConfigurationOptions }) - | (_ConfigurationOptions & { Double: DoubleConfigurationOptions }) - | (_ConfigurationOptions & { String: StringConfigurationOptions }) - | (_ConfigurationOptions & { StringList: StringListConfigurationOptions }) - | (_ConfigurationOptions & { Boolean: BooleanConfigurationOptions }) - | (_ConfigurationOptions & { Enum: EnumConfigurationOptions }) - | (_ConfigurationOptions & { EnumList: EnumListConfigurationOptions }); +export type ConfigurationOptions = (_ConfigurationOptions & { Integer: IntegerConfigurationOptions }) | (_ConfigurationOptions & { IntegerList: IntegerListConfigurationOptions }) | (_ConfigurationOptions & { Double: DoubleConfigurationOptions }) | (_ConfigurationOptions & { String: StringConfigurationOptions }) | (_ConfigurationOptions & { StringList: StringListConfigurationOptions }) | (_ConfigurationOptions & { Boolean: BooleanConfigurationOptions }) | (_ConfigurationOptions & { Enum: EnumConfigurationOptions }) | (_ConfigurationOptions & { EnumList: EnumListConfigurationOptions }); export interface ConfigurationPolicyAssociation { Target?: Target; } -export type ConfigurationPolicyAssociationList = - Array; -export type ConfigurationPolicyAssociationsList = - Array; -export type ConfigurationPolicyAssociationStatus = - | "PENDING" - | "SUCCESS" - | "FAILED"; +export type ConfigurationPolicyAssociationList = Array; +export type ConfigurationPolicyAssociationsList = Array; +export type ConfigurationPolicyAssociationStatus = "PENDING" | "SUCCESS" | "FAILED"; export interface ConfigurationPolicyAssociationSummary { ConfigurationPolicyId?: string; TargetId?: string; @@ -5369,8 +4666,7 @@ export interface ConfigurationPolicyAssociationSummary { AssociationStatus?: ConfigurationPolicyAssociationStatus; AssociationStatusMessage?: string; } -export type ConfigurationPolicyAssociationSummaryList = - Array; +export type ConfigurationPolicyAssociationSummaryList = Array; export interface ConfigurationPolicySummary { Arn?: string; Id?: string; @@ -5397,11 +4693,7 @@ export interface ConnectorRegistrationsV2Response { ConnectorArn?: string; ConnectorId: string; } -export type ConnectorStatus = - | "CONNECTED" - | "FAILED_TO_CONNECT" - | "PENDING_CONFIGURATION" - | "PENDING_AUTHORIZATION"; +export type ConnectorStatus = "CONNECTED" | "FAILED_TO_CONNECT" | "PENDING_CONFIGURATION" | "PENDING_AUTHORIZATION"; export interface ConnectorSummary { ConnectorArn?: string; ConnectorId: string; @@ -5538,7 +4830,7 @@ interface _Criteria { OcsfFindingCriteria?: OcsfFindingFilters; } -export type Criteria = _Criteria & { OcsfFindingCriteria: OcsfFindingFilters }; +export type Criteria = (_Criteria & { OcsfFindingCriteria: OcsfFindingFilters }); export type CrossAccountMaxResults = number; export interface CustomDataIdentifiersDetections { @@ -5547,8 +4839,7 @@ export interface CustomDataIdentifiersDetections { Name?: string; Occurrences?: Occurrences; } -export type CustomDataIdentifiersDetectionsList = - Array; +export type CustomDataIdentifiersDetectionsList = Array; export interface CustomDataIdentifiersResult { Detections?: Array; TotalCount?: number; @@ -5592,23 +4883,28 @@ export interface DeleteActionTargetResponse { export interface DeleteAggregatorV2Request { AggregatorV2Arn: string; } -export interface DeleteAggregatorV2Response {} +export interface DeleteAggregatorV2Response { +} export interface DeleteAutomationRuleV2Request { Identifier: string; } -export interface DeleteAutomationRuleV2Response {} +export interface DeleteAutomationRuleV2Response { +} export interface DeleteConfigurationPolicyRequest { Identifier: string; } -export interface DeleteConfigurationPolicyResponse {} +export interface DeleteConfigurationPolicyResponse { +} export interface DeleteConnectorV2Request { ConnectorId: string; } -export interface DeleteConnectorV2Response {} +export interface DeleteConnectorV2Response { +} export interface DeleteFindingAggregatorRequest { FindingAggregatorArn: string; } -export interface DeleteFindingAggregatorResponse {} +export interface DeleteFindingAggregatorResponse { +} export interface DeleteInsightRequest { InsightArn: string; } @@ -5645,7 +4941,8 @@ export interface DescribeHubResponse { AutoEnableControls?: boolean; ControlFindingGenerator?: ControlFindingGenerator; } -export interface DescribeOrganizationConfigurationRequest {} +export interface DescribeOrganizationConfigurationRequest { +} export interface DescribeOrganizationConfigurationResponse { AutoEnable?: boolean; MemberAccountLimitReached?: boolean; @@ -5669,7 +4966,8 @@ export interface DescribeProductsV2Response { ProductsV2: Array; NextToken?: string; } -export interface DescribeSecurityHubV2Request {} +export interface DescribeSecurityHubV2Request { +} export interface DescribeSecurityHubV2Response { HubV2Arn?: string; SubscribedAt?: string; @@ -5698,24 +4996,35 @@ export type DisabledSecurityControlIdentifierList = Array; export interface DisableImportFindingsForProductRequest { ProductSubscriptionArn: string; } -export interface DisableImportFindingsForProductResponse {} +export interface DisableImportFindingsForProductResponse { +} export interface DisableOrganizationAdminAccountRequest { AdminAccountId: string; Feature?: SecurityHubFeature; } -export interface DisableOrganizationAdminAccountResponse {} -export interface DisableSecurityHubRequest {} -export interface DisableSecurityHubResponse {} -export interface DisableSecurityHubV2Request {} -export interface DisableSecurityHubV2Response {} -export interface DisassociateFromAdministratorAccountRequest {} -export interface DisassociateFromAdministratorAccountResponse {} -export interface DisassociateFromMasterAccountRequest {} -export interface DisassociateFromMasterAccountResponse {} +export interface DisableOrganizationAdminAccountResponse { +} +export interface DisableSecurityHubRequest { +} +export interface DisableSecurityHubResponse { +} +export interface DisableSecurityHubV2Request { +} +export interface DisableSecurityHubV2Response { +} +export interface DisassociateFromAdministratorAccountRequest { +} +export interface DisassociateFromAdministratorAccountResponse { +} +export interface DisassociateFromMasterAccountRequest { +} +export interface DisassociateFromMasterAccountResponse { +} export interface DisassociateMembersRequest { AccountIds: Array; } -export interface DisassociateMembersResponse {} +export interface DisassociateMembersResponse { +} export interface DnsRequestAction { Domain?: string; Protocol?: string; @@ -5749,7 +5058,8 @@ export interface EnableSecurityHubRequest { EnableDefaultStandards?: boolean; ControlFindingGenerator?: ControlFindingGenerator; } -export interface EnableSecurityHubResponse {} +export interface EnableSecurityHubResponse { +} export interface EnableSecurityHubV2Request { Tags?: Record; } @@ -5799,9 +5109,7 @@ export interface FindingHistoryUpdateSource { Type?: FindingHistoryUpdateSourceType; Identity?: string; } -export type FindingHistoryUpdateSourceType = - | "BATCH_UPDATE_FINDINGS" - | "BATCH_IMPORT_FINDINGS"; +export type FindingHistoryUpdateSourceType = "BATCH_UPDATE_FINDINGS" | "BATCH_IMPORT_FINDINGS"; export interface FindingProviderFields { Confidence?: number; Criticality?: number; @@ -5823,20 +5131,17 @@ export interface FirewallPolicyDetails { export interface FirewallPolicyStatefulRuleGroupReferencesDetails { ResourceArn?: string; } -export type FirewallPolicyStatefulRuleGroupReferencesList = - Array; +export type FirewallPolicyStatefulRuleGroupReferencesList = Array; export interface FirewallPolicyStatelessCustomActionsDetails { ActionDefinition?: StatelessCustomActionDefinition; ActionName?: string; } -export type FirewallPolicyStatelessCustomActionsList = - Array; +export type FirewallPolicyStatelessCustomActionsList = Array; export interface FirewallPolicyStatelessRuleGroupReferencesDetails { Priority?: number; ResourceArn?: string; } -export type FirewallPolicyStatelessRuleGroupReferencesList = - Array; +export type FirewallPolicyStatelessRuleGroupReferencesList = Array; export interface GeneratorDetails { Name?: string; Description?: string; @@ -5846,7 +5151,8 @@ export interface GeoLocation { Lon?: number; Lat?: number; } -export interface GetAdministratorAccountRequest {} +export interface GetAdministratorAccountRequest { +} export interface GetAdministratorAccountResponse { Administrator?: Invitation; } @@ -5984,11 +5290,13 @@ export interface GetInsightsResponse { Insights: Array; NextToken?: string; } -export interface GetInvitationsCountRequest {} +export interface GetInvitationsCountRequest { +} export interface GetInvitationsCountResponse { InvitationsCount?: number; } -export interface GetMasterAccountRequest {} +export interface GetMasterAccountRequest { +} export interface GetMasterAccountResponse { Master?: Invitation; } @@ -6023,28 +5331,7 @@ export interface GetSecurityControlDefinitionRequest { export interface GetSecurityControlDefinitionResponse { SecurityControlDefinition: SecurityControlDefinition; } -export type GroupByField = - | "activity_name" - | "cloud.account.uid" - | "cloud.provider" - | "cloud.region" - | "compliance.assessments.name" - | "compliance.status" - | "compliance.control" - | "finding_info.title" - | "finding_info.types" - | "metadata.product.name" - | "metadata.product.uid" - | "resources.type" - | "resources.uid" - | "severity" - | "status" - | "vulnerabilities.fix_coverage" - | "class_name" - | "vulnerabilities.affected_packages.name" - | "finding_info.analytic.name" - | "compliance.standards" - | "cloud.account.name"; +export type GroupByField = "activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.name" | "compliance.status" | "compliance.control" | "finding_info.title" | "finding_info.types" | "metadata.product.name" | "metadata.product.uid" | "resources.type" | "resources.uid" | "severity" | "status" | "vulnerabilities.fix_coverage" | "class_name" | "vulnerabilities.affected_packages.name" | "finding_info.analytic.name" | "compliance.standards" | "cloud.account.name"; export interface GroupByResult { GroupByField?: string; GroupByValues?: Array; @@ -6113,15 +5400,9 @@ export interface IntegerListConfigurationOptions { Max?: number; MaxItems?: number; } -export type IntegrationType = - | "SEND_FINDINGS_TO_SECURITY_HUB" - | "RECEIVE_FINDINGS_FROM_SECURITY_HUB" - | "UPDATE_FINDINGS_IN_SECURITY_HUB"; +export type IntegrationType = "SEND_FINDINGS_TO_SECURITY_HUB" | "RECEIVE_FINDINGS_FROM_SECURITY_HUB" | "UPDATE_FINDINGS_IN_SECURITY_HUB"; export type IntegrationTypeList = Array; -export type IntegrationV2Type = - | "SEND_FINDINGS_TO_SECURITY_HUB" - | "RECEIVE_FINDINGS_FROM_SECURITY_HUB" - | "UPDATE_FINDINGS_IN_SECURITY_HUB"; +export type IntegrationV2Type = "SEND_FINDINGS_TO_SECURITY_HUB" | "RECEIVE_FINDINGS_FROM_SECURITY_HUB" | "UPDATE_FINDINGS_IN_SECURITY_HUB"; export type IntegrationV2TypeList = Array; export declare class InternalException extends EffectData.TaggedError( "InternalException", @@ -6331,32 +5612,13 @@ export interface Malware { } export type MalwareList = Array; export type MalwareState = "OBSERVED" | "REMOVAL_FAILED" | "REMOVED"; -export type MalwareType = - | "ADWARE" - | "BLENDED_THREAT" - | "BOTNET_AGENT" - | "COIN_MINER" - | "EXPLOIT_KIT" - | "KEYLOGGER" - | "MACRO" - | "POTENTIALLY_UNWANTED" - | "SPYWARE" - | "RANSOMWARE" - | "REMOTE_ACCESS" - | "ROOTKIT" - | "TROJAN" - | "VIRUS" - | "WORM"; +export type MalwareType = "ADWARE" | "BLENDED_THREAT" | "BOTNET_AGENT" | "COIN_MINER" | "EXPLOIT_KIT" | "KEYLOGGER" | "MACRO" | "POTENTIALLY_UNWANTED" | "SPYWARE" | "RANSOMWARE" | "REMOTE_ACCESS" | "ROOTKIT" | "TROJAN" | "VIRUS" | "WORM"; export interface MapFilter { Key?: string; Value?: string; Comparison?: MapFilterComparison; } -export type MapFilterComparison = - | "EQUALS" - | "NOT_EQUALS" - | "CONTAINS" - | "NOT_CONTAINS"; +export type MapFilterComparison = "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS"; export type MapFilterList = Array; export type MaxResults = number; @@ -6464,23 +5726,13 @@ export interface Occurrences { Records?: Array; Cells?: Array; } -export type OcsfBooleanField = - | "compliance.assessments.meets_criteria" - | "vulnerabilities.is_exploit_available" - | "vulnerabilities.is_fix_available"; +export type OcsfBooleanField = "compliance.assessments.meets_criteria" | "vulnerabilities.is_exploit_available" | "vulnerabilities.is_fix_available"; export interface OcsfBooleanFilter { FieldName?: OcsfBooleanField; Filter?: BooleanFilter; } export type OcsfBooleanFilterList = Array; -export type OcsfDateField = - | "finding_info.created_time_dt" - | "finding_info.first_seen_time_dt" - | "finding_info.last_seen_time_dt" - | "finding_info.modified_time_dt" - | "resources.image.created_time_dt" - | "resources.image.last_used_time_dt" - | "resources.modified_time_dt"; +export type OcsfDateField = "finding_info.created_time_dt" | "finding_info.first_seen_time_dt" | "finding_info.last_seen_time_dt" | "finding_info.modified_time_dt" | "resources.image.created_time_dt" | "resources.image.last_used_time_dt" | "resources.modified_time_dt"; export interface OcsfDateFilter { FieldName?: OcsfDateField; Filter?: DateFilter; @@ -6499,112 +5751,25 @@ export interface OcsfFindingIdentifier { } export type OcsfFindingIdentifierList = Array; export type OcsfFindingsList = Array; -export type OcsfIpField = - | "evidences.dst_endpoint.ip" - | "evidences.src_endpoint.ip"; +export type OcsfIpField = "evidences.dst_endpoint.ip" | "evidences.src_endpoint.ip"; export interface OcsfIpFilter { FieldName?: OcsfIpField; Filter?: IpFilter; } export type OcsfIpFilterList = Array; -export type OcsfMapField = - | "resources.tags" - | "compliance.control_parameters" - | "databucket.tags" - | "finding_info.tags"; +export type OcsfMapField = "resources.tags" | "compliance.control_parameters" | "databucket.tags" | "finding_info.tags"; export interface OcsfMapFilter { FieldName?: OcsfMapField; Filter?: MapFilter; } export type OcsfMapFilterList = Array; -export type OcsfNumberField = - | "activity_id" - | "compliance.status_id" - | "confidence_score" - | "severity_id" - | "status_id" - | "finding_info.related_events_count" - | "evidences.api.response.code" - | "evidences.dst_endpoint.autonomous_system.number" - | "evidences.dst_endpoint.port" - | "evidences.src_endpoint.autonomous_system.number" - | "evidences.src_endpoint.port" - | "resources.image.in_use_count"; +export type OcsfNumberField = "activity_id" | "compliance.status_id" | "confidence_score" | "severity_id" | "status_id" | "finding_info.related_events_count" | "evidences.api.response.code" | "evidences.dst_endpoint.autonomous_system.number" | "evidences.dst_endpoint.port" | "evidences.src_endpoint.autonomous_system.number" | "evidences.src_endpoint.port" | "resources.image.in_use_count"; export interface OcsfNumberFilter { FieldName?: OcsfNumberField; Filter?: NumberFilter; } export type OcsfNumberFilterList = Array; -export type OcsfStringField = - | "metadata.uid" - | "activity_name" - | "cloud.account.uid" - | "cloud.provider" - | "cloud.region" - | "compliance.assessments.category" - | "compliance.assessments.name" - | "compliance.control" - | "compliance.status" - | "compliance.standards" - | "finding_info.desc" - | "finding_info.src_url" - | "finding_info.title" - | "finding_info.types" - | "finding_info.uid" - | "finding_info.related_events.uid" - | "finding_info.related_events.product.uid" - | "finding_info.related_events.title" - | "metadata.product.name" - | "metadata.product.uid" - | "metadata.product.vendor_name" - | "remediation.desc" - | "remediation.references" - | "resources.cloud_partition" - | "resources.region" - | "resources.type" - | "resources.uid" - | "severity" - | "status" - | "comment" - | "vulnerabilities.fix_coverage" - | "class_name" - | "databucket.encryption_details.algorithm" - | "databucket.encryption_details.key_uid" - | "databucket.file.data_classifications.classifier_details.type" - | "evidences.actor.user.account.uid" - | "evidences.api.operation" - | "evidences.api.response.error_message" - | "evidences.api.service.name" - | "evidences.connection_info.direction" - | "evidences.connection_info.protocol_name" - | "evidences.dst_endpoint.autonomous_system.name" - | "evidences.dst_endpoint.location.city" - | "evidences.dst_endpoint.location.country" - | "evidences.src_endpoint.autonomous_system.name" - | "evidences.src_endpoint.hostname" - | "evidences.src_endpoint.location.city" - | "evidences.src_endpoint.location.country" - | "finding_info.analytic.name" - | "malware.name" - | "malware_scan_info.uid" - | "malware.severity" - | "resources.cloud_function.layers.uid_alt" - | "resources.cloud_function.runtime" - | "resources.cloud_function.user.uid" - | "resources.device.encryption_details.key_uid" - | "resources.device.image.uid" - | "resources.image.architecture" - | "resources.image.registry_uid" - | "resources.image.repository_name" - | "resources.image.uid" - | "resources.subnet_info.uid" - | "resources.vpc_uid" - | "vulnerabilities.affected_code.file.path" - | "vulnerabilities.affected_packages.name" - | "vulnerabilities.cve.epss.score" - | "vulnerabilities.cve.uid" - | "vulnerabilities.related_vulnerabilities" - | "cloud.account.name"; +export type OcsfStringField = "metadata.uid" | "activity_name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.category" | "compliance.assessments.name" | "compliance.control" | "compliance.status" | "compliance.standards" | "finding_info.desc" | "finding_info.src_url" | "finding_info.title" | "finding_info.types" | "finding_info.uid" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name" | "databucket.encryption_details.algorithm" | "databucket.encryption_details.key_uid" | "databucket.file.data_classifications.classifier_details.type" | "evidences.actor.user.account.uid" | "evidences.api.operation" | "evidences.api.response.error_message" | "evidences.api.service.name" | "evidences.connection_info.direction" | "evidences.connection_info.protocol_name" | "evidences.dst_endpoint.autonomous_system.name" | "evidences.dst_endpoint.location.city" | "evidences.dst_endpoint.location.country" | "evidences.src_endpoint.autonomous_system.name" | "evidences.src_endpoint.hostname" | "evidences.src_endpoint.location.city" | "evidences.src_endpoint.location.country" | "finding_info.analytic.name" | "malware.name" | "malware_scan_info.uid" | "malware.severity" | "resources.cloud_function.layers.uid_alt" | "resources.cloud_function.runtime" | "resources.cloud_function.user.uid" | "resources.device.encryption_details.key_uid" | "resources.device.image.uid" | "resources.image.architecture" | "resources.image.registry_uid" | "resources.image.repository_name" | "resources.image.uid" | "resources.subnet_info.uid" | "resources.vpc_uid" | "vulnerabilities.affected_code.file.path" | "vulnerabilities.affected_packages.name" | "vulnerabilities.cve.epss.score" | "vulnerabilities.cve.uid" | "vulnerabilities.related_vulnerabilities" | "cloud.account.name"; export interface OcsfStringFilter { FieldName?: OcsfStringField; Filter?: StringFilter; @@ -6644,15 +5809,7 @@ interface _ParameterValue { EnumList?: Array; } -export type ParameterValue = - | (_ParameterValue & { Integer: number }) - | (_ParameterValue & { IntegerList: Array }) - | (_ParameterValue & { Double: number }) - | (_ParameterValue & { String: string }) - | (_ParameterValue & { StringList: Array }) - | (_ParameterValue & { Boolean: boolean }) - | (_ParameterValue & { Enum: string }) - | (_ParameterValue & { EnumList: Array }); +export type ParameterValue = (_ParameterValue & { Integer: number }) | (_ParameterValue & { IntegerList: Array }) | (_ParameterValue & { Double: number }) | (_ParameterValue & { String: string }) | (_ParameterValue & { StringList: Array }) | (_ParameterValue & { Boolean: boolean }) | (_ParameterValue & { Enum: string }) | (_ParameterValue & { EnumList: Array }); export type ParameterValueType = "DEFAULT" | "CUSTOM"; export type Partition = "aws" | "aws-cn" | "aws-us-gov"; export interface PatchSummary { @@ -6672,7 +5829,7 @@ interface _Policy { SecurityHub?: SecurityHubPolicy; } -export type Policy = _Policy & { SecurityHub: SecurityHubPolicy }; +export type Policy = (_Policy & { SecurityHub: SecurityHubPolicy }); export interface PortProbeAction { PortProbeDetails?: Array; Blocked?: boolean; @@ -6732,17 +5889,13 @@ interface _ProviderConfiguration { ServiceNow?: ServiceNowProviderConfiguration; } -export type ProviderConfiguration = - | (_ProviderConfiguration & { JiraCloud: JiraCloudProviderConfiguration }) - | (_ProviderConfiguration & { ServiceNow: ServiceNowProviderConfiguration }); +export type ProviderConfiguration = (_ProviderConfiguration & { JiraCloud: JiraCloudProviderConfiguration }) | (_ProviderConfiguration & { ServiceNow: ServiceNowProviderConfiguration }); interface _ProviderDetail { JiraCloud?: JiraCloudDetail; ServiceNow?: ServiceNowDetail; } -export type ProviderDetail = - | (_ProviderDetail & { JiraCloud: JiraCloudDetail }) - | (_ProviderDetail & { ServiceNow: ServiceNowDetail }); +export type ProviderDetail = (_ProviderDetail & { JiraCloud: JiraCloudDetail }) | (_ProviderDetail & { ServiceNow: ServiceNowDetail }); export interface ProviderSummary { ProviderName?: ConnectorProviderName; ConnectorStatus?: ConnectorStatus; @@ -6751,9 +5904,7 @@ interface _ProviderUpdateConfiguration { JiraCloud?: JiraCloudUpdateConfiguration; } -export type ProviderUpdateConfiguration = _ProviderUpdateConfiguration & { - JiraCloud: JiraCloudUpdateConfiguration; -}; +export type ProviderUpdateConfiguration = (_ProviderUpdateConfiguration & { JiraCloud: JiraCloudUpdateConfiguration }); export interface Range { Start?: number; End?: number; @@ -6796,15 +5947,7 @@ export interface Resource { } export type ResourceArn = string; -export type ResourceCategory = - | "Compute" - | "Database" - | "Storage" - | "Code" - | "AI/ML" - | "Identity" - | "Network" - | "Other"; +export type ResourceCategory = "Compute" | "Database" | "Storage" | "Code" | "AI/ML" | "Identity" | "Network" | "Other"; export type ResourceConfig = unknown; export declare class ResourceConflictException extends EffectData.TaggedError( @@ -6922,13 +6065,7 @@ export interface ResourceFindingsSummary { Severities?: ResourceSeverityBreakdown; } export type ResourceFindingsSummaryList = Array; -export type ResourceGroupByField = - | "AccountId" - | "Region" - | "ResourceCategory" - | "ResourceType" - | "ResourceName" - | "FindingsSummary.FindingType"; +export type ResourceGroupByField = "AccountId" | "Region" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType"; export interface ResourceGroupByRule { GroupByField: ResourceGroupByField; Filters?: ResourcesFilters; @@ -6971,9 +6108,7 @@ export interface ResourcesCompositeFilter { Operator?: AllowedOperators; } export type ResourcesCompositeFilterList = Array; -export type ResourcesDateField = - | "ResourceDetailCaptureTime" - | "ResourceCreationTime"; +export type ResourcesDateField = "ResourceDetailCaptureTime" | "ResourceCreationTime"; export interface ResourcesDateFilter { FieldName?: ResourcesDateField; Filter?: DateFilter; @@ -6999,31 +6134,13 @@ export interface ResourcesMapFilter { Filter?: MapFilter; } export type ResourcesMapFilterList = Array; -export type ResourcesNumberField = - | "FindingsSummary.TotalFindings" - | "FindingsSummary.Severities.Other" - | "FindingsSummary.Severities.Fatal" - | "FindingsSummary.Severities.Critical" - | "FindingsSummary.Severities.High" - | "FindingsSummary.Severities.Medium" - | "FindingsSummary.Severities.Low" - | "FindingsSummary.Severities.Informational" - | "FindingsSummary.Severities.Unknown"; +export type ResourcesNumberField = "FindingsSummary.TotalFindings" | "FindingsSummary.Severities.Other" | "FindingsSummary.Severities.Fatal" | "FindingsSummary.Severities.Critical" | "FindingsSummary.Severities.High" | "FindingsSummary.Severities.Medium" | "FindingsSummary.Severities.Low" | "FindingsSummary.Severities.Informational" | "FindingsSummary.Severities.Unknown"; export interface ResourcesNumberFilter { FieldName?: ResourcesNumberField; Filter?: NumberFilter; } export type ResourcesNumberFilterList = Array; -export type ResourcesStringField = - | "ResourceGuid" - | "ResourceId" - | "AccountId" - | "Region" - | "ResourceCategory" - | "ResourceType" - | "ResourceName" - | "FindingsSummary.FindingType" - | "FindingsSummary.ProductName"; +export type ResourcesStringField = "ResourceGuid" | "ResourceId" | "AccountId" | "Region" | "ResourceCategory" | "ResourceType" | "ResourceName" | "FindingsSummary.FindingType" | "FindingsSummary.ProductName"; export interface ResourcesStringFilter { FieldName?: ResourcesStringField; Filter?: StringFilter; @@ -7072,8 +6189,7 @@ export interface RuleGroupSourceCustomActionsDetails { ActionDefinition?: StatelessCustomActionDefinition; ActionName?: string; } -export type RuleGroupSourceCustomActionsList = - Array; +export type RuleGroupSourceCustomActionsList = Array; export interface RuleGroupSourceListDetails { GeneratedRulesType?: string; TargetTypes?: Array; @@ -7092,14 +6208,12 @@ export interface RuleGroupSourceStatefulRulesHeaderDetails { Source?: string; SourcePort?: string; } -export type RuleGroupSourceStatefulRulesList = - Array; +export type RuleGroupSourceStatefulRulesList = Array; export interface RuleGroupSourceStatefulRulesOptionsDetails { Keyword?: string; Settings?: Array; } -export type RuleGroupSourceStatefulRulesOptionsList = - Array; +export type RuleGroupSourceStatefulRulesOptionsList = Array; export type RuleGroupSourceStatefulRulesRuleOptionsSettingsList = Array; export interface RuleGroupSourceStatelessRuleDefinition { Actions?: Array; @@ -7117,32 +6231,26 @@ export interface RuleGroupSourceStatelessRuleMatchAttributesDestinationPorts { FromPort?: number; ToPort?: number; } -export type RuleGroupSourceStatelessRuleMatchAttributesDestinationPortsList = - Array; +export type RuleGroupSourceStatelessRuleMatchAttributesDestinationPortsList = Array; export interface RuleGroupSourceStatelessRuleMatchAttributesDestinations { AddressDefinition?: string; } -export type RuleGroupSourceStatelessRuleMatchAttributesDestinationsList = - Array; -export type RuleGroupSourceStatelessRuleMatchAttributesProtocolsList = - Array; +export type RuleGroupSourceStatelessRuleMatchAttributesDestinationsList = Array; +export type RuleGroupSourceStatelessRuleMatchAttributesProtocolsList = Array; export interface RuleGroupSourceStatelessRuleMatchAttributesSourcePorts { FromPort?: number; ToPort?: number; } -export type RuleGroupSourceStatelessRuleMatchAttributesSourcePortsList = - Array; +export type RuleGroupSourceStatelessRuleMatchAttributesSourcePortsList = Array; export interface RuleGroupSourceStatelessRuleMatchAttributesSources { AddressDefinition?: string; } -export type RuleGroupSourceStatelessRuleMatchAttributesSourcesList = - Array; +export type RuleGroupSourceStatelessRuleMatchAttributesSourcesList = Array; export interface RuleGroupSourceStatelessRuleMatchAttributesTcpFlags { Flags?: Array; Masks?: Array; } -export type RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsList = - Array; +export type RuleGroupSourceStatelessRuleMatchAttributesTcpFlagsList = Array; export interface RuleGroupSourceStatelessRulesAndCustomActionsDetails { CustomActions?: Array; StatelessRules?: Array; @@ -7151,8 +6259,7 @@ export interface RuleGroupSourceStatelessRulesDetails { Priority?: number; RuleDefinition?: RuleGroupSourceStatelessRuleDefinition; } -export type RuleGroupSourceStatelessRulesList = - Array; +export type RuleGroupSourceStatelessRulesList = Array; export interface RuleGroupVariables { IpSets?: RuleGroupVariablesIpSetsDetails; PortSets?: RuleGroupVariablesPortSetsDetails; @@ -7185,8 +6292,7 @@ export interface SecurityControlCustomParameter { SecurityControlId?: string; Parameters?: Record; } -export type SecurityControlCustomParametersList = - Array; +export type SecurityControlCustomParametersList = Array; export interface SecurityControlDefinition { SecurityControlId: string; Title: string; @@ -7254,12 +6360,7 @@ export interface Severity { Normalized?: number; Original?: string; } -export type SeverityLabel = - | "INFORMATIONAL" - | "LOW" - | "MEDIUM" - | "HIGH" - | "CRITICAL"; +export type SeverityLabel = "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL"; export type SeverityRating = "LOW" | "MEDIUM" | "HIGH" | "CRITICAL"; export interface SeverityUpdate { Normalized?: number; @@ -7339,16 +6440,13 @@ export interface StandardsControlAssociationDetail { StandardsControlDescription?: string; StandardsControlArns?: Array; } -export type StandardsControlAssociationDetails = - Array; +export type StandardsControlAssociationDetails = Array; export interface StandardsControlAssociationId { SecurityControlId: string; StandardsArn: string; } -export type StandardsControlAssociationIds = - Array; -export type StandardsControlAssociationSummaries = - Array; +export type StandardsControlAssociationIds = Array; +export type StandardsControlAssociationSummaries = Array; export interface StandardsControlAssociationSummary { StandardsArn: string; SecurityControlId: string; @@ -7366,23 +6464,15 @@ export interface StandardsControlAssociationUpdate { AssociationStatus: AssociationStatus; UpdatedReason?: string; } -export type StandardsControlAssociationUpdates = - Array; +export type StandardsControlAssociationUpdates = Array; export type StandardsControls = Array; -export type StandardsControlsUpdatable = - | "READY_FOR_UPDATES" - | "NOT_READY_FOR_UPDATES"; +export type StandardsControlsUpdatable = "READY_FOR_UPDATES" | "NOT_READY_FOR_UPDATES"; export type StandardsInputParameterMap = Record; export interface StandardsManagedBy { Company?: string; Product?: string; } -export type StandardsStatus = - | "PENDING" - | "READY" - | "FAILED" - | "DELETING" - | "INCOMPLETE"; +export type StandardsStatus = "PENDING" | "READY" | "FAILED" | "DELETING" | "INCOMPLETE"; export interface StandardsStatusReason { StatusReasonCode: StatusReasonCode; } @@ -7418,7 +6508,8 @@ export interface StartConfigurationPolicyDisassociationRequest { Target?: Target; ConfigurationPolicyIdentifier: string; } -export interface StartConfigurationPolicyDisassociationResponse {} +export interface StartConfigurationPolicyDisassociationResponse { +} export interface StatelessCustomActionDefinition { PublishMetricAction?: StatelessCustomPublishMetricAction; } @@ -7428,16 +6519,12 @@ export interface StatelessCustomPublishMetricAction { export interface StatelessCustomPublishMetricActionDimension { Value?: string; } -export type StatelessCustomPublishMetricActionDimensionsList = - Array; +export type StatelessCustomPublishMetricActionDimensionsList = Array; export interface StatusReason { ReasonCode: string; Description?: string; } -export type StatusReasonCode = - | "NO_AVAILABLE_CONFIGURATION_RECORDER" - | "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" - | "INTERNAL_ERROR"; +export type StatusReasonCode = "NO_AVAILABLE_CONFIGURATION_RECORDER" | "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" | "INTERNAL_ERROR"; export type StatusReasonsList = Array; export interface StringConfigurationOptions { DefaultValue?: string; @@ -7448,14 +6535,7 @@ export interface StringFilter { Value?: string; Comparison?: StringFilterComparison; } -export type StringFilterComparison = - | "EQUALS" - | "PREFIX" - | "NOT_EQUALS" - | "PREFIX_NOT_EQUALS" - | "CONTAINS" - | "NOT_CONTAINS" - | "CONTAINS_WORD"; +export type StringFilterComparison = "EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "CONTAINS_WORD"; export type StringFilterList = Array; export type StringList = Array; export interface StringListConfigurationOptions { @@ -7472,7 +6552,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; interface _Target { @@ -7481,10 +6562,7 @@ interface _Target { RootId?: string; } -export type Target = - | (_Target & { AccountId: string }) - | (_Target & { OrganizationalUnitId: string }) - | (_Target & { RootId: string }); +export type Target = (_Target & { AccountId: string }) | (_Target & { OrganizationalUnitId: string }) | (_Target & { RootId: string }); export type TargetType = "ACCOUNT" | "ORGANIZATIONAL_UNIT" | "ROOT"; export interface Threat { Name?: string; @@ -7500,26 +6578,9 @@ export interface ThreatIntelIndicator { Source?: string; SourceUrl?: string; } -export type ThreatIntelIndicatorCategory = - | "BACKDOOR" - | "CARD_STEALER" - | "COMMAND_AND_CONTROL" - | "DROP_SITE" - | "EXPLOIT_SITE" - | "KEYLOGGER"; +export type ThreatIntelIndicatorCategory = "BACKDOOR" | "CARD_STEALER" | "COMMAND_AND_CONTROL" | "DROP_SITE" | "EXPLOIT_SITE" | "KEYLOGGER"; export type ThreatIntelIndicatorList = Array; -export type ThreatIntelIndicatorType = - | "DOMAIN" - | "EMAIL_ADDRESS" - | "HASH_MD5" - | "HASH_SHA1" - | "HASH_SHA256" - | "HASH_SHA512" - | "IPV4_ADDRESS" - | "IPV6_ADDRESS" - | "MUTEX" - | "PROCESS" - | "URL"; +export type ThreatIntelIndicatorType = "DOMAIN" | "EMAIL_ADDRESS" | "HASH_MD5" | "HASH_SHA1" | "HASH_SHA256" | "HASH_SHA512" | "IPV4_ADDRESS" | "IPV6_ADDRESS" | "MUTEX" | "PROCESS" | "URL"; export type ThreatList = Array; export declare class ThrottlingException extends EffectData.TaggedError( "ThrottlingException", @@ -7541,14 +6602,8 @@ export interface UnprocessedConfigurationPolicyAssociation { ErrorCode?: string; ErrorReason?: string; } -export type UnprocessedConfigurationPolicyAssociationList = - Array; -export type UnprocessedErrorCode = - | "INVALID_INPUT" - | "ACCESS_DENIED" - | "NOT_FOUND" - | "RESOURCE_NOT_FOUND" - | "LIMIT_EXCEEDED"; +export type UnprocessedConfigurationPolicyAssociationList = Array; +export type UnprocessedErrorCode = "INVALID_INPUT" | "ACCESS_DENIED" | "NOT_FOUND" | "RESOURCE_NOT_FOUND" | "LIMIT_EXCEEDED"; export interface UnprocessedSecurityControl { SecurityControlId: string; ErrorCode: UnprocessedErrorCode; @@ -7560,26 +6615,26 @@ export interface UnprocessedStandardsControlAssociation { ErrorCode: UnprocessedErrorCode; ErrorReason?: string; } -export type UnprocessedStandardsControlAssociations = - Array; +export type UnprocessedStandardsControlAssociations = Array; export interface UnprocessedStandardsControlAssociationUpdate { StandardsControlAssociationUpdate: StandardsControlAssociationUpdate; ErrorCode: UnprocessedErrorCode; ErrorReason?: string; } -export type UnprocessedStandardsControlAssociationUpdates = - Array; +export type UnprocessedStandardsControlAssociationUpdates = Array; export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateActionTargetRequest { ActionTargetArn: string; Name?: string; Description?: string; } -export interface UpdateActionTargetResponse {} +export interface UpdateActionTargetResponse { +} export interface UpdateAggregatorV2Request { AggregatorV2Arn: string; RegionLinkingMode: string; @@ -7601,8 +6656,7 @@ export interface UpdateAutomationRulesRequestItem { Criteria?: AutomationRulesFindingFilters; Actions?: Array; } -export type UpdateAutomationRulesRequestItemsList = - Array; +export type UpdateAutomationRulesRequestItemsList = Array; export interface UpdateAutomationRuleV2Request { Identifier: string; RuleStatus?: RuleStatusV2; @@ -7612,7 +6666,8 @@ export interface UpdateAutomationRuleV2Request { Criteria?: Criteria; Actions?: Array; } -export interface UpdateAutomationRuleV2Response {} +export interface UpdateAutomationRuleV2Response { +} export interface UpdateConfigurationPolicyRequest { Identifier: string; Name?: string; @@ -7635,7 +6690,8 @@ export interface UpdateConnectorV2Request { Description?: string; Provider?: ProviderUpdateConfiguration; } -export interface UpdateConnectorV2Response {} +export interface UpdateConnectorV2Response { +} export interface UpdateFindingAggregatorRequest { FindingAggregatorArn: string; RegionLinkingMode: string; @@ -7652,37 +6708,43 @@ export interface UpdateFindingsRequest { Note?: NoteUpdate; RecordState?: RecordState; } -export interface UpdateFindingsResponse {} +export interface UpdateFindingsResponse { +} export interface UpdateInsightRequest { InsightArn: string; Name?: string; Filters?: AwsSecurityFindingFilters; GroupByAttribute?: string; } -export interface UpdateInsightResponse {} +export interface UpdateInsightResponse { +} export interface UpdateOrganizationConfigurationRequest { AutoEnable: boolean; AutoEnableStandards?: AutoEnableStandards; OrganizationConfiguration?: OrganizationConfiguration; } -export interface UpdateOrganizationConfigurationResponse {} +export interface UpdateOrganizationConfigurationResponse { +} export interface UpdateSecurityControlRequest { SecurityControlId: string; Parameters: Record; LastUpdateReason?: string; } -export interface UpdateSecurityControlResponse {} +export interface UpdateSecurityControlResponse { +} export interface UpdateSecurityHubConfigurationRequest { AutoEnableControls?: boolean; ControlFindingGenerator?: ControlFindingGenerator; } -export interface UpdateSecurityHubConfigurationResponse {} +export interface UpdateSecurityHubConfigurationResponse { +} export interface UpdateStandardsControlRequest { StandardsControlArn: string; ControlStatus?: ControlStatus; DisabledReason?: string; } -export interface UpdateStandardsControlResponse {} +export interface UpdateStandardsControlResponse { +} export type UpdateStatus = "READY" | "UPDATING"; export interface UserAccount { Uid?: string; @@ -7694,11 +6756,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly Message?: string; readonly Code?: string; }> {} -export type VerificationState = - | "UNKNOWN" - | "TRUE_POSITIVE" - | "FALSE_POSITIVE" - | "BENIGN_POSITIVE"; +export type VerificationState = "UNKNOWN" | "TRUE_POSITIVE" | "FALSE_POSITIVE" | "BENIGN_POSITIVE"; export interface VolumeMount { Name?: string; MountPath?: string; @@ -7735,8 +6793,7 @@ export interface VulnerabilityCodeVulnerabilities { FilePath?: CodeVulnerabilitiesFilePath; SourceArn?: string; } -export type VulnerabilityCodeVulnerabilitiesList = - Array; +export type VulnerabilityCodeVulnerabilitiesList = Array; export type VulnerabilityExploitAvailable = "YES" | "NO"; export type VulnerabilityFixAvailable = "YES" | "NO" | "PARTIAL"; export type VulnerabilityList = Array; @@ -7760,12 +6817,7 @@ export interface WafOverrideAction { export interface Workflow { Status?: WorkflowStatus; } -export type WorkflowState = - | "NEW" - | "ASSIGNED" - | "IN_PROGRESS" - | "DEFERRED" - | "RESOLVED"; +export type WorkflowState = "NEW" | "ASSIGNED" | "IN_PROGRESS" | "DEFERRED" | "RESOLVED"; export type WorkflowStatus = "NEW" | "NOTIFIED" | "RESOLVED" | "SUPPRESSED"; export interface WorkflowUpdate { Status?: WorkflowStatus; @@ -9035,17 +8087,5 @@ export declare namespace UpdateStandardsControl { | CommonAwsError; } -export type SecurityHubErrors = - | AccessDeniedException - | ConflictException - | InternalException - | InternalServerException - | InvalidAccessException - | InvalidInputException - | LimitExceededException - | ResourceConflictException - | ResourceInUseException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SecurityHubErrors = AccessDeniedException | ConflictException | InternalException | InternalServerException | InvalidAccessException | InvalidInputException | LimitExceededException | ResourceConflictException | ResourceInUseException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/securitylake/index.ts b/src/services/securitylake/index.ts index 2f17ce84..315bbfb2 100644 --- a/src/services/securitylake/index.ts +++ b/src/services/securitylake/index.ts @@ -5,24 +5,7 @@ import type { SecurityLake as _SecurityLakeClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,47 +14,41 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "securitylake", operations: { - CreateDataLakeExceptionSubscription: - "POST /v1/datalake/exceptions/subscription", - DeleteDataLakeExceptionSubscription: - "DELETE /v1/datalake/exceptions/subscription", - DeregisterDataLakeDelegatedAdministrator: "DELETE /v1/datalake/delegate", - GetDataLakeExceptionSubscription: - "GET /v1/datalake/exceptions/subscription", - ListDataLakeExceptions: "POST /v1/datalake/exceptions", - ListTagsForResource: "GET /v1/tags/{resourceArn}", - RegisterDataLakeDelegatedAdministrator: "POST /v1/datalake/delegate", - TagResource: "POST /v1/tags/{resourceArn}", - UntagResource: "DELETE /v1/tags/{resourceArn}", - UpdateDataLakeExceptionSubscription: - "PUT /v1/datalake/exceptions/subscription", - CreateAwsLogSource: "POST /v1/datalake/logsources/aws", - CreateCustomLogSource: "POST /v1/datalake/logsources/custom", - CreateDataLake: "POST /v1/datalake", - CreateDataLakeOrganizationConfiguration: - "POST /v1/datalake/organization/configuration", - CreateSubscriber: "POST /v1/subscribers", - CreateSubscriberNotification: - "POST /v1/subscribers/{subscriberId}/notification", - DeleteAwsLogSource: "POST /v1/datalake/logsources/aws/delete", - DeleteCustomLogSource: "DELETE /v1/datalake/logsources/custom/{sourceName}", - DeleteDataLake: "POST /v1/datalake/delete", - DeleteDataLakeOrganizationConfiguration: - "POST /v1/datalake/organization/configuration/delete", - DeleteSubscriber: "DELETE /v1/subscribers/{subscriberId}", - DeleteSubscriberNotification: - "DELETE /v1/subscribers/{subscriberId}/notification", - GetDataLakeOrganizationConfiguration: - "GET /v1/datalake/organization/configuration", - GetDataLakeSources: "POST /v1/datalake/sources", - GetSubscriber: "GET /v1/subscribers/{subscriberId}", - ListDataLakes: "GET /v1/datalakes", - ListLogSources: "POST /v1/datalake/logsources/list", - ListSubscribers: "GET /v1/subscribers", - UpdateDataLake: "PUT /v1/datalake", - UpdateSubscriber: "PUT /v1/subscribers/{subscriberId}", - UpdateSubscriberNotification: - "PUT /v1/subscribers/{subscriberId}/notification", + "CreateDataLakeExceptionSubscription": "POST /v1/datalake/exceptions/subscription", + "DeleteDataLakeExceptionSubscription": "DELETE /v1/datalake/exceptions/subscription", + "DeregisterDataLakeDelegatedAdministrator": "DELETE /v1/datalake/delegate", + "GetDataLakeExceptionSubscription": "GET /v1/datalake/exceptions/subscription", + "ListDataLakeExceptions": "POST /v1/datalake/exceptions", + "ListTagsForResource": "GET /v1/tags/{resourceArn}", + "RegisterDataLakeDelegatedAdministrator": "POST /v1/datalake/delegate", + "TagResource": "POST /v1/tags/{resourceArn}", + "UntagResource": "DELETE /v1/tags/{resourceArn}", + "UpdateDataLakeExceptionSubscription": "PUT /v1/datalake/exceptions/subscription", + "CreateAwsLogSource": "POST /v1/datalake/logsources/aws", + "CreateCustomLogSource": "POST /v1/datalake/logsources/custom", + "CreateDataLake": "POST /v1/datalake", + "CreateDataLakeOrganizationConfiguration": "POST /v1/datalake/organization/configuration", + "CreateSubscriber": "POST /v1/subscribers", + "CreateSubscriberNotification": "POST /v1/subscribers/{subscriberId}/notification", + "DeleteAwsLogSource": "POST /v1/datalake/logsources/aws/delete", + "DeleteCustomLogSource": "DELETE /v1/datalake/logsources/custom/{sourceName}", + "DeleteDataLake": "POST /v1/datalake/delete", + "DeleteDataLakeOrganizationConfiguration": "POST /v1/datalake/organization/configuration/delete", + "DeleteSubscriber": "DELETE /v1/subscribers/{subscriberId}", + "DeleteSubscriberNotification": "DELETE /v1/subscribers/{subscriberId}/notification", + "GetDataLakeOrganizationConfiguration": "GET /v1/datalake/organization/configuration", + "GetDataLakeSources": "POST /v1/datalake/sources", + "GetSubscriber": "GET /v1/subscribers/{subscriberId}", + "ListDataLakes": "GET /v1/datalakes", + "ListLogSources": "POST /v1/datalake/logsources/list", + "ListSubscribers": "GET /v1/subscribers", + "UpdateDataLake": "PUT /v1/datalake", + "UpdateSubscriber": "PUT /v1/subscribers/{subscriberId}", + "UpdateSubscriberNotification": "PUT /v1/subscribers/{subscriberId}/notification", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/securitylake/types.ts b/src/services/securitylake/types.ts index 8144aa38..e736eb2e 100644 --- a/src/services/securitylake/types.ts +++ b/src/services/securitylake/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class SecurityLake extends AWSServiceClient { @@ -41,373 +8,187 @@ export declare class SecurityLake extends AWSServiceClient { input: CreateDataLakeExceptionSubscriptionRequest, ): Effect.Effect< CreateDataLakeExceptionSubscriptionResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDataLakeExceptionSubscription( input: DeleteDataLakeExceptionSubscriptionRequest, ): Effect.Effect< DeleteDataLakeExceptionSubscriptionResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deregisterDataLakeDelegatedAdministrator( input: DeregisterDataLakeDelegatedAdministratorRequest, ): Effect.Effect< DeregisterDataLakeDelegatedAdministratorResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getDataLakeExceptionSubscription( input: GetDataLakeExceptionSubscriptionRequest, ): Effect.Effect< GetDataLakeExceptionSubscriptionResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listDataLakeExceptions( input: ListDataLakeExceptionsRequest, ): Effect.Effect< ListDataLakeExceptionsResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; registerDataLakeDelegatedAdministrator( input: RegisterDataLakeDelegatedAdministratorRequest, ): Effect.Effect< RegisterDataLakeDelegatedAdministratorResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDataLakeExceptionSubscription( input: UpdateDataLakeExceptionSubscriptionRequest, ): Effect.Effect< UpdateDataLakeExceptionSubscriptionResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createAwsLogSource( input: CreateAwsLogSourceRequest, ): Effect.Effect< CreateAwsLogSourceResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createCustomLogSource( input: CreateCustomLogSourceRequest, ): Effect.Effect< CreateCustomLogSourceResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createDataLake( input: CreateDataLakeRequest, ): Effect.Effect< CreateDataLakeResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createDataLakeOrganizationConfiguration( input: CreateDataLakeOrganizationConfigurationRequest, ): Effect.Effect< CreateDataLakeOrganizationConfigurationResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createSubscriber( input: CreateSubscriberRequest, ): Effect.Effect< CreateSubscriberResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createSubscriberNotification( input: CreateSubscriberNotificationRequest, ): Effect.Effect< CreateSubscriberNotificationResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteAwsLogSource( input: DeleteAwsLogSourceRequest, ): Effect.Effect< DeleteAwsLogSourceResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteCustomLogSource( input: DeleteCustomLogSourceRequest, ): Effect.Effect< DeleteCustomLogSourceResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDataLake( input: DeleteDataLakeRequest, ): Effect.Effect< DeleteDataLakeResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDataLakeOrganizationConfiguration( input: DeleteDataLakeOrganizationConfigurationRequest, ): Effect.Effect< DeleteDataLakeOrganizationConfigurationResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteSubscriber( input: DeleteSubscriberRequest, ): Effect.Effect< DeleteSubscriberResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteSubscriberNotification( input: DeleteSubscriberNotificationRequest, ): Effect.Effect< DeleteSubscriberNotificationResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getDataLakeOrganizationConfiguration( input: GetDataLakeOrganizationConfigurationRequest, ): Effect.Effect< GetDataLakeOrganizationConfigurationResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getDataLakeSources( input: GetDataLakeSourcesRequest, ): Effect.Effect< GetDataLakeSourcesResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; getSubscriber( input: GetSubscriberRequest, ): Effect.Effect< GetSubscriberResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listDataLakes( input: ListDataLakesRequest, ): Effect.Effect< ListDataLakesResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listLogSources( input: ListLogSourcesRequest, ): Effect.Effect< ListLogSourcesResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; listSubscribers( input: ListSubscribersRequest, ): Effect.Effect< ListSubscribersResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateDataLake( input: UpdateDataLakeRequest, ): Effect.Effect< UpdateDataLakeResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateSubscriber( input: UpdateSubscriberRequest, ): Effect.Effect< UpdateSubscriberResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateSubscriberNotification( input: UpdateSubscriberNotificationRequest, ): Effect.Effect< UpdateSubscriberNotificationResponse, - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -437,15 +218,7 @@ export interface AwsLogSourceConfiguration { sourceVersion?: string; } export type AwsLogSourceConfigurationList = Array; -export type AwsLogSourceName = - | "ROUTE53" - | "VPC_FLOW" - | "SH_FINDINGS" - | "CLOUD_TRAIL_MGMT" - | "LAMBDA_EXECUTION" - | "S3_DATA" - | "EKS_AUDIT" - | "WAF"; +export type AwsLogSourceName = "ROUTE53" | "VPC_FLOW" | "SH_FINDINGS" | "CLOUD_TRAIL_MGMT" | "LAMBDA_EXECUTION" | "S3_DATA" | "EKS_AUDIT" | "WAF"; export interface AwsLogSourceResource { sourceName?: AwsLogSourceName; sourceVersion?: string; @@ -487,11 +260,13 @@ export interface CreateDataLakeExceptionSubscriptionRequest { notificationEndpoint: string; exceptionTimeToLive?: number; } -export interface CreateDataLakeExceptionSubscriptionResponse {} +export interface CreateDataLakeExceptionSubscriptionResponse { +} export interface CreateDataLakeOrganizationConfigurationRequest { autoEnableNewAccount?: Array; } -export interface CreateDataLakeOrganizationConfigurationResponse {} +export interface CreateDataLakeOrganizationConfigurationResponse { +} export interface CreateDataLakeRequest { configurations: Array; metaStoreManagerRoleArn: string; @@ -548,8 +323,7 @@ export interface DataLakeAutoEnableNewAccountConfiguration { region: string; sources: Array; } -export type DataLakeAutoEnableNewAccountConfigurationList = - Array; +export type DataLakeAutoEnableNewAccountConfigurationList = Array; export interface DataLakeConfiguration { region: string; encryptionConfiguration?: DataLakeEncryptionConfiguration; @@ -578,8 +352,7 @@ export interface DataLakeLifecycleTransition { storageClass?: string; days?: number; } -export type DataLakeLifecycleTransitionList = - Array; +export type DataLakeLifecycleTransitionList = Array; export interface DataLakeReplicationConfiguration { regions?: Array; roleArn?: string; @@ -629,38 +402,49 @@ export interface DeleteCustomLogSourceRequest { sourceName: string; sourceVersion?: string; } -export interface DeleteCustomLogSourceResponse {} -export interface DeleteDataLakeExceptionSubscriptionRequest {} -export interface DeleteDataLakeExceptionSubscriptionResponse {} +export interface DeleteCustomLogSourceResponse { +} +export interface DeleteDataLakeExceptionSubscriptionRequest { +} +export interface DeleteDataLakeExceptionSubscriptionResponse { +} export interface DeleteDataLakeOrganizationConfigurationRequest { autoEnableNewAccount?: Array; } -export interface DeleteDataLakeOrganizationConfigurationResponse {} +export interface DeleteDataLakeOrganizationConfigurationResponse { +} export interface DeleteDataLakeRequest { regions: Array; } -export interface DeleteDataLakeResponse {} +export interface DeleteDataLakeResponse { +} export interface DeleteSubscriberNotificationRequest { subscriberId: string; } -export interface DeleteSubscriberNotificationResponse {} +export interface DeleteSubscriberNotificationResponse { +} export interface DeleteSubscriberRequest { subscriberId: string; } -export interface DeleteSubscriberResponse {} -export interface DeregisterDataLakeDelegatedAdministratorRequest {} -export interface DeregisterDataLakeDelegatedAdministratorResponse {} +export interface DeleteSubscriberResponse { +} +export interface DeregisterDataLakeDelegatedAdministratorRequest { +} +export interface DeregisterDataLakeDelegatedAdministratorResponse { +} export type DescriptionString = string; export type ExternalId = string; -export interface GetDataLakeExceptionSubscriptionRequest {} +export interface GetDataLakeExceptionSubscriptionRequest { +} export interface GetDataLakeExceptionSubscriptionResponse { subscriptionProtocol?: string; notificationEndpoint?: string; exceptionTimeToLive?: number; } -export interface GetDataLakeOrganizationConfigurationRequest {} +export interface GetDataLakeOrganizationConfigurationRequest { +} export interface GetDataLakeOrganizationConfigurationResponse { autoEnableNewAccount?: Array; } @@ -744,9 +528,7 @@ interface _LogSourceResource { customLogSource?: CustomLogSourceResource; } -export type LogSourceResource = - | (_LogSourceResource & { awsLogSource: AwsLogSourceResource }) - | (_LogSourceResource & { customLogSource: CustomLogSourceResource }); +export type LogSourceResource = (_LogSourceResource & { awsLogSource: AwsLogSourceResource }) | (_LogSourceResource & { customLogSource: CustomLogSourceResource }); export type LogSourceResourceList = Array; export type MaxResults = number; @@ -757,13 +539,7 @@ interface _NotificationConfiguration { httpsNotificationConfiguration?: HttpsNotificationConfiguration; } -export type NotificationConfiguration = - | (_NotificationConfiguration & { - sqsNotificationConfiguration: SqsNotificationConfiguration; - }) - | (_NotificationConfiguration & { - httpsNotificationConfiguration: HttpsNotificationConfiguration; - }); +export type NotificationConfiguration = (_NotificationConfiguration & { sqsNotificationConfiguration: SqsNotificationConfiguration }) | (_NotificationConfiguration & { httpsNotificationConfiguration: HttpsNotificationConfiguration }); export type OcsfEventClass = string; export type OcsfEventClassList = Array; @@ -773,7 +549,8 @@ export type RegionList = Array; export interface RegisterDataLakeDelegatedAdministratorRequest { accountId: string; } -export interface RegisterDataLakeDelegatedAdministratorResponse {} +export interface RegisterDataLakeDelegatedAdministratorResponse { +} export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -793,11 +570,9 @@ export type S3URI = string; export type SafeString = string; -export type SourceCollectionStatus = - | "COLLECTING" - | "MISCONFIGURED" - | "NOT_COLLECTING"; -export interface SqsNotificationConfiguration {} +export type SourceCollectionStatus = "COLLECTING" | "MISCONFIGURED" | "NOT_COLLECTING"; +export interface SqsNotificationConfiguration { +} export interface SubscriberResource { subscriberId: string; subscriberArn: string; @@ -831,7 +606,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -846,13 +622,15 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDataLakeExceptionSubscriptionRequest { subscriptionProtocol: string; notificationEndpoint: string; exceptionTimeToLive?: number; } -export interface UpdateDataLakeExceptionSubscriptionResponse {} +export interface UpdateDataLakeExceptionSubscriptionResponse { +} export interface UpdateDataLakeRequest { configurations: Array; metaStoreManagerRoleArn?: string; @@ -1282,11 +1060,5 @@ export declare namespace UpdateSubscriberNotification { | CommonAwsError; } -export type SecurityLakeErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError; +export type SecurityLakeErrors = AccessDeniedException | BadRequestException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError; + diff --git a/src/services/serverlessapplicationrepository/index.ts b/src/services/serverlessapplicationrepository/index.ts index d0f0d11d..d94a0413 100644 --- a/src/services/serverlessapplicationrepository/index.ts +++ b/src/services/serverlessapplicationrepository/index.ts @@ -5,26 +5,7 @@ import type { ServerlessApplicationRepository as _ServerlessApplicationRepositor export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,32 +15,25 @@ const metadata = { sigV4ServiceName: "serverlessrepo", endpointPrefix: "serverlessrepo", operations: { - CreateApplication: "POST /applications", - CreateApplicationVersion: - "PUT /applications/{ApplicationId}/versions/{SemanticVersion}", - CreateCloudFormationChangeSet: - "POST /applications/{ApplicationId}/changesets", - CreateCloudFormationTemplate: - "POST /applications/{ApplicationId}/templates", - DeleteApplication: "DELETE /applications/{ApplicationId}", - GetApplication: "GET /applications/{ApplicationId}", - GetApplicationPolicy: "GET /applications/{ApplicationId}/policy", - GetCloudFormationTemplate: - "GET /applications/{ApplicationId}/templates/{TemplateId}", - ListApplicationDependencies: - "GET /applications/{ApplicationId}/dependencies", - ListApplications: "GET /applications", - ListApplicationVersions: "GET /applications/{ApplicationId}/versions", - PutApplicationPolicy: "PUT /applications/{ApplicationId}/policy", - UnshareApplication: "POST /applications/{ApplicationId}/unshare", - UpdateApplication: "PATCH /applications/{ApplicationId}", + "CreateApplication": "POST /applications", + "CreateApplicationVersion": "PUT /applications/{ApplicationId}/versions/{SemanticVersion}", + "CreateCloudFormationChangeSet": "POST /applications/{ApplicationId}/changesets", + "CreateCloudFormationTemplate": "POST /applications/{ApplicationId}/templates", + "DeleteApplication": "DELETE /applications/{ApplicationId}", + "GetApplication": "GET /applications/{ApplicationId}", + "GetApplicationPolicy": "GET /applications/{ApplicationId}/policy", + "GetCloudFormationTemplate": "GET /applications/{ApplicationId}/templates/{TemplateId}", + "ListApplicationDependencies": "GET /applications/{ApplicationId}/dependencies", + "ListApplications": "GET /applications", + "ListApplicationVersions": "GET /applications/{ApplicationId}/versions", + "PutApplicationPolicy": "PUT /applications/{ApplicationId}/policy", + "UnshareApplication": "POST /applications/{ApplicationId}/unshare", + "UpdateApplication": "PATCH /applications/{ApplicationId}", }, } as const satisfies ServiceMetadata; -export type _ServerlessApplicationRepository = - _ServerlessApplicationRepositoryClient; -export interface ServerlessApplicationRepository - extends _ServerlessApplicationRepository {} +export type _ServerlessApplicationRepository = _ServerlessApplicationRepositoryClient; +export interface ServerlessApplicationRepository extends _ServerlessApplicationRepository {} export const ServerlessApplicationRepository = class extends AWSServiceClient { constructor(cfg: Partial = {}) { const config: AWSClientConfig = { diff --git a/src/services/serverlessapplicationrepository/types.ts b/src/services/serverlessapplicationrepository/types.ts index fc159814..25c666f0 100644 --- a/src/services/serverlessapplicationrepository/types.ts +++ b/src/services/serverlessapplicationrepository/types.ts @@ -7,155 +7,85 @@ export declare class ServerlessApplicationRepository extends AWSServiceClient { input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createApplicationVersion( input: CreateApplicationVersionRequest, ): Effect.Effect< CreateApplicationVersionResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createCloudFormationChangeSet( input: CreateCloudFormationChangeSetRequest, ): Effect.Effect< CreateCloudFormationChangeSetResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | TooManyRequestsException | CommonAwsError >; createCloudFormationTemplate( input: CreateCloudFormationTemplateRequest, ): Effect.Effect< CreateCloudFormationTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< {}, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getApplication( input: GetApplicationRequest, ): Effect.Effect< GetApplicationResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getApplicationPolicy( input: GetApplicationPolicyRequest, ): Effect.Effect< GetApplicationPolicyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; getCloudFormationTemplate( input: GetCloudFormationTemplateRequest, ): Effect.Effect< GetCloudFormationTemplateResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listApplicationDependencies( input: ListApplicationDependenciesRequest, ): Effect.Effect< ListApplicationDependenciesResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; listApplications( input: ListApplicationsRequest, ): Effect.Effect< ListApplicationsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | CommonAwsError >; listApplicationVersions( input: ListApplicationVersionsRequest, ): Effect.Effect< ListApplicationVersionsResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; putApplicationPolicy( input: PutApplicationPolicyRequest, ): Effect.Effect< PutApplicationPolicyResponse, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; unshareApplication( input: UnshareApplicationRequest, ): Effect.Effect< {}, - | BadRequestException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -166,10 +96,8 @@ export type __boolean = boolean; export type __integer = number; export type __listOf__string = Array; -export type __listOfApplicationDependencySummary = - Array; -export type __listOfApplicationPolicyStatement = - Array; +export type __listOfApplicationDependencySummary = Array; +export type __listOfApplicationPolicyStatement = Array; export type __listOfApplicationSummary = Array; export type __listOfCapability = Array; export type __listOfParameterDefinition = Array; @@ -205,11 +133,7 @@ export declare class BadRequestException extends EffectData.TaggedError( readonly ErrorCode?: string; readonly Message?: string; }> {} -export type Capability = - | "CAPABILITY_IAM" - | "CAPABILITY_NAMED_IAM" - | "CAPABILITY_AUTO_EXPAND" - | "CAPABILITY_RESOURCE_POLICY"; +export type Capability = "CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND" | "CAPABILITY_RESOURCE_POLICY"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -647,11 +571,5 @@ export declare namespace UpdateApplication { | CommonAwsError; } -export type ServerlessApplicationRepositoryErrors = - | BadRequestException - | ConflictException - | ForbiddenException - | InternalServerErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError; +export type ServerlessApplicationRepositoryErrors = BadRequestException | ConflictException | ForbiddenException | InternalServerErrorException | NotFoundException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/service-catalog-appregistry/index.ts b/src/services/service-catalog-appregistry/index.ts index 479ee377..d60f73b0 100644 --- a/src/services/service-catalog-appregistry/index.ts +++ b/src/services/service-catalog-appregistry/index.ts @@ -5,24 +5,7 @@ import type { ServiceCatalogAppRegistry as _ServiceCatalogAppRegistryClient } fr export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,37 +15,30 @@ const metadata = { sigV4ServiceName: "servicecatalog", endpointPrefix: "servicecatalog-appregistry", operations: { - AssociateAttributeGroup: - "PUT /applications/{application}/attribute-groups/{attributeGroup}", - AssociateResource: - "PUT /applications/{application}/resources/{resourceType}/{resource}", - CreateApplication: "POST /applications", - CreateAttributeGroup: "POST /attribute-groups", - DeleteApplication: "DELETE /applications/{application}", - DeleteAttributeGroup: "DELETE /attribute-groups/{attributeGroup}", - DisassociateAttributeGroup: - "DELETE /applications/{application}/attribute-groups/{attributeGroup}", - DisassociateResource: - "DELETE /applications/{application}/resources/{resourceType}/{resource}", - GetApplication: "GET /applications/{application}", - GetAssociatedResource: - "GET /applications/{application}/resources/{resourceType}/{resource}", - GetAttributeGroup: "GET /attribute-groups/{attributeGroup}", - GetConfiguration: "GET /configuration", - ListApplications: "GET /applications", - ListAssociatedAttributeGroups: - "GET /applications/{application}/attribute-groups", - ListAssociatedResources: "GET /applications/{application}/resources", - ListAttributeGroups: "GET /attribute-groups", - ListAttributeGroupsForApplication: - "GET /applications/{application}/attribute-group-details", - ListTagsForResource: "GET /tags/{resourceArn}", - PutConfiguration: "PUT /configuration", - SyncResource: "POST /sync/{resourceType}/{resource}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateApplication: "PATCH /applications/{application}", - UpdateAttributeGroup: "PATCH /attribute-groups/{attributeGroup}", + "AssociateAttributeGroup": "PUT /applications/{application}/attribute-groups/{attributeGroup}", + "AssociateResource": "PUT /applications/{application}/resources/{resourceType}/{resource}", + "CreateApplication": "POST /applications", + "CreateAttributeGroup": "POST /attribute-groups", + "DeleteApplication": "DELETE /applications/{application}", + "DeleteAttributeGroup": "DELETE /attribute-groups/{attributeGroup}", + "DisassociateAttributeGroup": "DELETE /applications/{application}/attribute-groups/{attributeGroup}", + "DisassociateResource": "DELETE /applications/{application}/resources/{resourceType}/{resource}", + "GetApplication": "GET /applications/{application}", + "GetAssociatedResource": "GET /applications/{application}/resources/{resourceType}/{resource}", + "GetAttributeGroup": "GET /attribute-groups/{attributeGroup}", + "GetConfiguration": "GET /configuration", + "ListApplications": "GET /applications", + "ListAssociatedAttributeGroups": "GET /applications/{application}/attribute-groups", + "ListAssociatedResources": "GET /applications/{application}/resources", + "ListAttributeGroups": "GET /attribute-groups", + "ListAttributeGroupsForApplication": "GET /applications/{application}/attribute-group-details", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutConfiguration": "PUT /configuration", + "SyncResource": "POST /sync/{resourceType}/{resource}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateApplication": "PATCH /applications/{application}", + "UpdateAttributeGroup": "PATCH /attribute-groups/{attributeGroup}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/service-catalog-appregistry/types.ts b/src/services/service-catalog-appregistry/types.ts index 5ea7f167..d1b2f30b 100644 --- a/src/services/service-catalog-appregistry/types.ts +++ b/src/services/service-catalog-appregistry/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ThrottlingException - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class ServiceCatalogAppRegistry extends AWSServiceClient { @@ -41,113 +8,71 @@ export declare class ServiceCatalogAppRegistry extends AWSServiceClient { input: AssociateAttributeGroupRequest, ): Effect.Effect< AssociateAttributeGroupResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; associateResource( input: AssociateResourceRequest, ): Effect.Effect< AssociateResourceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAttributeGroup( input: CreateAttributeGroupRequest, ): Effect.Effect< CreateAttributeGroupResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteAttributeGroup( input: DeleteAttributeGroupRequest, ): Effect.Effect< DeleteAttributeGroupResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; disassociateAttributeGroup( input: DisassociateAttributeGroupRequest, ): Effect.Effect< DisassociateAttributeGroupResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; disassociateResource( input: DisassociateResourceRequest, ): Effect.Effect< DisassociateResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplication( input: GetApplicationRequest, ): Effect.Effect< GetApplicationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAssociatedResource( input: GetAssociatedResourceRequest, ): Effect.Effect< GetAssociatedResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAttributeGroup( input: GetAttributeGroupRequest, ): Effect.Effect< GetAttributeGroupResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; - getConfiguration(input: {}): Effect.Effect< + getConfiguration( + input: {}, + ): Effect.Effect< GetConfigurationResponse, InternalServerException | CommonAwsError >; @@ -161,19 +86,13 @@ export declare class ServiceCatalogAppRegistry extends AWSServiceClient { input: ListAssociatedAttributeGroupsRequest, ): Effect.Effect< ListAssociatedAttributeGroupsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAssociatedResources( input: ListAssociatedResourcesRequest, ): Effect.Effect< ListAssociatedResourcesResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAttributeGroups( input: ListAttributeGroupsRequest, @@ -185,78 +104,49 @@ export declare class ServiceCatalogAppRegistry extends AWSServiceClient { input: ListAttributeGroupsForApplicationRequest, ): Effect.Effect< ListAttributeGroupsForApplicationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putConfiguration( input: PutConfigurationRequest, ): Effect.Effect< {}, - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ValidationException | CommonAwsError >; syncResource( input: SyncResourceRequest, ): Effect.Effect< SyncResourceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAttributeGroup( input: UpdateAttributeGroupRequest, ): Effect.Effect< UpdateAttributeGroupResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -321,9 +211,7 @@ export interface AssociateResourceResponse { } export type AssociationCount = number; -export type AssociationOption = - | "APPLY_APPLICATION_TAG" - | "SKIP_APPLICATION_TAG"; +export type AssociationOption = "APPLY_APPLICATION_TAG" | "SKIP_APPLICATION_TAG"; export interface AttributeGroup { id?: string; arn?: string; @@ -546,13 +434,7 @@ export interface ResourceGroup { arn?: string; errorMessage?: string; } -export type ResourceGroupState = - | "CREATING" - | "CREATE_COMPLETE" - | "CREATE_FAILED" - | "UPDATING" - | "UPDATE_COMPLETE" - | "UPDATE_FAILED"; +export type ResourceGroupState = "CREATING" | "CREATE_COMPLETE" | "CREATE_FAILED" | "UPDATING" | "UPDATE_COMPLETE" | "UPDATE_FAILED"; export interface ResourceInfo { name?: string; arn?: string; @@ -563,11 +445,7 @@ export interface ResourceInfo { export interface ResourceIntegrations { resourceGroup?: ResourceGroup; } -export type ResourceItemStatus = - | "SUCCESS" - | "FAILED" - | "IN_PROGRESS" - | "SKIPPED"; +export type ResourceItemStatus = "SUCCESS" | "FAILED" | "IN_PROGRESS" | "SKIPPED"; export type ResourceItemType = string; export declare class ResourceNotFoundException extends EffectData.TaggedError( @@ -617,7 +495,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -633,7 +512,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationRequest { application: string; name?: string; @@ -780,7 +660,9 @@ export declare namespace GetAttributeGroup { export declare namespace GetConfiguration { export type Input = {}; export type Output = GetConfigurationResponse; - export type Error = InternalServerException | CommonAwsError; + export type Error = + | InternalServerException + | CommonAwsError; } export declare namespace ListApplications { @@ -906,11 +788,5 @@ export declare namespace UpdateAttributeGroup { | CommonAwsError; } -export type ServiceCatalogAppRegistryErrors = - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type ServiceCatalogAppRegistryErrors = ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/service-catalog/index.ts b/src/services/service-catalog/index.ts index 81947f30..b41cf36b 100644 --- a/src/services/service-catalog/index.ts +++ b/src/services/service-catalog/index.ts @@ -5,26 +5,7 @@ import type { ServiceCatalog as _ServiceCatalogClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/service-catalog/types.ts b/src/services/service-catalog/types.ts index e3406ea5..1263289f 100644 --- a/src/services/service-catalog/types.ts +++ b/src/services/service-catalog/types.ts @@ -7,60 +7,37 @@ export declare class ServiceCatalog extends AWSServiceClient { input: AcceptPortfolioShareInput, ): Effect.Effect< AcceptPortfolioShareOutput, - | InvalidParametersException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; associateBudgetWithResource( input: AssociateBudgetWithResourceInput, ): Effect.Effect< AssociateBudgetWithResourceOutput, - | DuplicateResourceException - | InvalidParametersException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + DuplicateResourceException | InvalidParametersException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; associatePrincipalWithPortfolio( input: AssociatePrincipalWithPortfolioInput, ): Effect.Effect< AssociatePrincipalWithPortfolioOutput, - | InvalidParametersException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; associateProductWithPortfolio( input: AssociateProductWithPortfolioInput, ): Effect.Effect< AssociateProductWithPortfolioOutput, - | InvalidParametersException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; associateServiceActionWithProvisioningArtifact( input: AssociateServiceActionWithProvisioningArtifactInput, ): Effect.Effect< AssociateServiceActionWithProvisioningArtifactOutput, - | DuplicateResourceException - | InvalidParametersException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + DuplicateResourceException | InvalidParametersException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; associateTagOptionWithResource( input: AssociateTagOptionWithResourceInput, ): Effect.Effect< AssociateTagOptionWithResourceOutput, - | DuplicateResourceException - | InvalidParametersException - | InvalidStateException - | LimitExceededException - | ResourceNotFoundException - | TagOptionNotMigratedException - | CommonAwsError + DuplicateResourceException | InvalidParametersException | InvalidStateException | LimitExceededException | ResourceNotFoundException | TagOptionNotMigratedException | CommonAwsError >; batchAssociateServiceActionWithProvisioningArtifact( input: BatchAssociateServiceActionWithProvisioningArtifactInput, @@ -84,58 +61,37 @@ export declare class ServiceCatalog extends AWSServiceClient { input: CreateConstraintInput, ): Effect.Effect< CreateConstraintOutput, - | DuplicateResourceException - | InvalidParametersException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + DuplicateResourceException | InvalidParametersException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; createPortfolio( input: CreatePortfolioInput, ): Effect.Effect< CreatePortfolioOutput, - | InvalidParametersException - | LimitExceededException - | TagOptionNotMigratedException - | CommonAwsError + InvalidParametersException | LimitExceededException | TagOptionNotMigratedException | CommonAwsError >; createPortfolioShare( input: CreatePortfolioShareInput, ): Effect.Effect< CreatePortfolioShareOutput, - | InvalidParametersException - | InvalidStateException - | LimitExceededException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | InvalidStateException | LimitExceededException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; createProduct( input: CreateProductInput, ): Effect.Effect< CreateProductOutput, - | InvalidParametersException - | LimitExceededException - | TagOptionNotMigratedException - | CommonAwsError + InvalidParametersException | LimitExceededException | TagOptionNotMigratedException | CommonAwsError >; createProvisionedProductPlan( input: CreateProvisionedProductPlanInput, ): Effect.Effect< CreateProvisionedProductPlanOutput, - | InvalidParametersException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; createProvisioningArtifact( input: CreateProvisioningArtifactInput, ): Effect.Effect< CreateProvisioningArtifactOutput, - | InvalidParametersException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; createServiceAction( input: CreateServiceActionInput, @@ -147,10 +103,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: CreateTagOptionInput, ): Effect.Effect< CreateTagOptionOutput, - | DuplicateResourceException - | LimitExceededException - | TagOptionNotMigratedException - | CommonAwsError + DuplicateResourceException | LimitExceededException | TagOptionNotMigratedException | CommonAwsError >; deleteConstraint( input: DeleteConstraintInput, @@ -162,31 +115,19 @@ export declare class ServiceCatalog extends AWSServiceClient { input: DeletePortfolioInput, ): Effect.Effect< DeletePortfolioOutput, - | InvalidParametersException - | ResourceInUseException - | ResourceNotFoundException - | TagOptionNotMigratedException - | CommonAwsError + InvalidParametersException | ResourceInUseException | ResourceNotFoundException | TagOptionNotMigratedException | CommonAwsError >; deletePortfolioShare( input: DeletePortfolioShareInput, ): Effect.Effect< DeletePortfolioShareOutput, - | InvalidParametersException - | InvalidStateException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | InvalidStateException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; deleteProduct( input: DeleteProductInput, ): Effect.Effect< DeleteProductOutput, - | InvalidParametersException - | ResourceInUseException - | ResourceNotFoundException - | TagOptionNotMigratedException - | CommonAwsError + InvalidParametersException | ResourceInUseException | ResourceNotFoundException | TagOptionNotMigratedException | CommonAwsError >; deleteProvisionedProductPlan( input: DeleteProvisionedProductPlanInput, @@ -198,28 +139,19 @@ export declare class ServiceCatalog extends AWSServiceClient { input: DeleteProvisioningArtifactInput, ): Effect.Effect< DeleteProvisioningArtifactOutput, - | InvalidParametersException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteServiceAction( input: DeleteServiceActionInput, ): Effect.Effect< DeleteServiceActionOutput, - | InvalidParametersException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deleteTagOption( input: DeleteTagOptionInput, ): Effect.Effect< DeleteTagOptionOutput, - | ResourceInUseException - | ResourceNotFoundException - | TagOptionNotMigratedException - | CommonAwsError + ResourceInUseException | ResourceNotFoundException | TagOptionNotMigratedException | CommonAwsError >; describeConstraint( input: DescribeConstraintInput, @@ -249,10 +181,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: DescribePortfolioShareStatusInput, ): Effect.Effect< DescribePortfolioShareStatusOutput, - | InvalidParametersException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; describeProduct( input: DescribeProductInput, @@ -324,10 +253,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: DisableAWSOrganizationsAccessInput, ): Effect.Effect< DisableAWSOrganizationsAccessOutput, - | InvalidStateException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + InvalidStateException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; disassociateBudgetFromResource( input: DisassociateBudgetFromResourceInput, @@ -345,10 +271,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: DisassociateProductFromPortfolioInput, ): Effect.Effect< DisassociateProductFromPortfolioOutput, - | InvalidParametersException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; disassociateServiceActionFromProvisioningArtifact( input: DisassociateServiceActionFromProvisioningArtifactInput, @@ -366,28 +289,19 @@ export declare class ServiceCatalog extends AWSServiceClient { input: EnableAWSOrganizationsAccessInput, ): Effect.Effect< EnableAWSOrganizationsAccessOutput, - | InvalidStateException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + InvalidStateException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; executeProvisionedProductPlan( input: ExecuteProvisionedProductPlanInput, ): Effect.Effect< ExecuteProvisionedProductPlanOutput, - | InvalidParametersException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; executeProvisionedProductServiceAction( input: ExecuteProvisionedProductServiceActionInput, ): Effect.Effect< ExecuteProvisionedProductServiceActionOutput, - | InvalidParametersException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; getAWSOrganizationsAccessStatus( input: GetAWSOrganizationsAccessStatusInput, @@ -405,11 +319,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: ImportAsProvisionedProductInput, ): Effect.Effect< ImportAsProvisionedProductOutput, - | DuplicateResourceException - | InvalidParametersException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + DuplicateResourceException | InvalidParametersException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; listAcceptedPortfolioShares( input: ListAcceptedPortfolioSharesInput, @@ -439,10 +349,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: ListOrganizationPortfolioAccessInput, ): Effect.Effect< ListOrganizationPortfolioAccessOutput, - | InvalidParametersException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; listPortfolioAccess( input: ListPortfolioAccessInput, @@ -496,10 +403,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: ListResourcesForTagOptionInput, ): Effect.Effect< ListResourcesForTagOptionOutput, - | InvalidParametersException - | ResourceNotFoundException - | TagOptionNotMigratedException - | CommonAwsError + InvalidParametersException | ResourceNotFoundException | TagOptionNotMigratedException | CommonAwsError >; listServiceActions( input: ListServiceActionsInput, @@ -547,10 +451,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: ProvisionProductInput, ): Effect.Effect< ProvisionProductOutput, - | DuplicateResourceException - | InvalidParametersException - | ResourceNotFoundException - | CommonAwsError + DuplicateResourceException | InvalidParametersException | ResourceNotFoundException | CommonAwsError >; rejectPortfolioShare( input: RejectPortfolioShareInput, @@ -598,30 +499,19 @@ export declare class ServiceCatalog extends AWSServiceClient { input: UpdatePortfolioInput, ): Effect.Effect< UpdatePortfolioOutput, - | InvalidParametersException - | LimitExceededException - | ResourceNotFoundException - | TagOptionNotMigratedException - | CommonAwsError + InvalidParametersException | LimitExceededException | ResourceNotFoundException | TagOptionNotMigratedException | CommonAwsError >; updatePortfolioShare( input: UpdatePortfolioShareInput, ): Effect.Effect< UpdatePortfolioShareOutput, - | InvalidParametersException - | InvalidStateException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | InvalidStateException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; updateProduct( input: UpdateProductInput, ): Effect.Effect< UpdateProductOutput, - | InvalidParametersException - | ResourceNotFoundException - | TagOptionNotMigratedException - | CommonAwsError + InvalidParametersException | ResourceNotFoundException | TagOptionNotMigratedException | CommonAwsError >; updateProvisionedProduct( input: UpdateProvisionedProductInput, @@ -633,10 +523,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: UpdateProvisionedProductPropertiesInput, ): Effect.Effect< UpdateProvisionedProductPropertiesOutput, - | InvalidParametersException - | InvalidStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParametersException | InvalidStateException | ResourceNotFoundException | CommonAwsError >; updateProvisioningArtifact( input: UpdateProvisioningArtifactInput, @@ -654,11 +541,7 @@ export declare class ServiceCatalog extends AWSServiceClient { input: UpdateTagOptionInput, ): Effect.Effect< UpdateTagOptionOutput, - | DuplicateResourceException - | InvalidParametersException - | ResourceNotFoundException - | TagOptionNotMigratedException - | CommonAwsError + DuplicateResourceException | InvalidParametersException | ResourceNotFoundException | TagOptionNotMigratedException | CommonAwsError >; } @@ -669,7 +552,8 @@ export interface AcceptPortfolioShareInput { PortfolioId: string; PortfolioShareType?: PortfolioShareType; } -export interface AcceptPortfolioShareOutput {} +export interface AcceptPortfolioShareOutput { +} export interface AccessLevelFilter { Key?: AccessLevelFilterKey; Value?: string; @@ -689,21 +573,24 @@ export interface AssociateBudgetWithResourceInput { BudgetName: string; ResourceId: string; } -export interface AssociateBudgetWithResourceOutput {} +export interface AssociateBudgetWithResourceOutput { +} export interface AssociatePrincipalWithPortfolioInput { AcceptLanguage?: string; PortfolioId: string; PrincipalARN: string; PrincipalType: PrincipalType; } -export interface AssociatePrincipalWithPortfolioOutput {} +export interface AssociatePrincipalWithPortfolioOutput { +} export interface AssociateProductWithPortfolioInput { AcceptLanguage?: string; ProductId: string; PortfolioId: string; SourcePortfolioId?: string; } -export interface AssociateProductWithPortfolioOutput {} +export interface AssociateProductWithPortfolioOutput { +} export interface AssociateServiceActionWithProvisioningArtifactInput { ProductId: string; ProvisioningArtifactId: string; @@ -711,12 +598,14 @@ export interface AssociateServiceActionWithProvisioningArtifactInput { AcceptLanguage?: string; IdempotencyToken?: string; } -export interface AssociateServiceActionWithProvisioningArtifactOutput {} +export interface AssociateServiceActionWithProvisioningArtifactOutput { +} export interface AssociateTagOptionWithResourceInput { ResourceId: string; TagOptionId: string; } -export interface AssociateTagOptionWithResourceOutput {} +export interface AssociateTagOptionWithResourceOutput { +} export type AttributeValue = string; export interface BatchAssociateServiceActionWithProvisioningArtifactInput { @@ -785,9 +674,7 @@ export interface CopyProductInput { SourceProductArn: string; TargetProductId?: string; TargetProductName?: string; - SourceProvisioningArtifactIdentifiers?: Array<{ - [key in ProvisioningArtifactPropertyName]?: string; - }>; + SourceProvisioningArtifactIdentifiers?: Array<{ [key in ProvisioningArtifactPropertyName]?: string }>; CopyOptions?: Array; IdempotencyToken: string; } @@ -911,12 +798,14 @@ export interface DeleteConstraintInput { AcceptLanguage?: string; Id: string; } -export interface DeleteConstraintOutput {} +export interface DeleteConstraintOutput { +} export interface DeletePortfolioInput { AcceptLanguage?: string; Id: string; } -export interface DeletePortfolioOutput {} +export interface DeletePortfolioOutput { +} export interface DeletePortfolioShareInput { AcceptLanguage?: string; PortfolioId: string; @@ -930,29 +819,34 @@ export interface DeleteProductInput { AcceptLanguage?: string; Id: string; } -export interface DeleteProductOutput {} +export interface DeleteProductOutput { +} export interface DeleteProvisionedProductPlanInput { AcceptLanguage?: string; PlanId: string; IgnoreErrors?: boolean; } -export interface DeleteProvisionedProductPlanOutput {} +export interface DeleteProvisionedProductPlanOutput { +} export interface DeleteProvisioningArtifactInput { AcceptLanguage?: string; ProductId: string; ProvisioningArtifactId: string; } -export interface DeleteProvisioningArtifactOutput {} +export interface DeleteProvisioningArtifactOutput { +} export interface DeleteServiceActionInput { Id: string; AcceptLanguage?: string; IdempotencyToken?: string; } -export interface DeleteServiceActionOutput {} +export interface DeleteServiceActionOutput { +} export interface DeleteTagOptionInput { Id: string; } -export interface DeleteTagOptionOutput {} +export interface DeleteTagOptionOutput { +} export interface DescribeConstraintInput { AcceptLanguage?: string; Id: string; @@ -1001,11 +895,7 @@ export interface DescribePortfolioShareStatusOutput { Status?: ShareStatus; ShareDetails?: ShareDetails; } -export type DescribePortfolioShareType = - | "ACCOUNT" - | "ORGANIZATION" - | "ORGANIZATIONAL_UNIT" - | "ORGANIZATION_MEMBER_ACCOUNT"; +export type DescribePortfolioShareType = "ACCOUNT" | "ORGANIZATION" | "ORGANIZATIONAL_UNIT" | "ORGANIZATION_MEMBER_ACCOUNT"; export interface DescribeProductAsAdminInput { AcceptLanguage?: string; Id?: string; @@ -1125,28 +1015,33 @@ export interface DescribeTagOptionOutput { } export type Description = string; -export interface DisableAWSOrganizationsAccessInput {} -export interface DisableAWSOrganizationsAccessOutput {} +export interface DisableAWSOrganizationsAccessInput { +} +export interface DisableAWSOrganizationsAccessOutput { +} export type DisableTemplateValidation = boolean; export interface DisassociateBudgetFromResourceInput { BudgetName: string; ResourceId: string; } -export interface DisassociateBudgetFromResourceOutput {} +export interface DisassociateBudgetFromResourceOutput { +} export interface DisassociatePrincipalFromPortfolioInput { AcceptLanguage?: string; PortfolioId: string; PrincipalARN: string; PrincipalType?: PrincipalType; } -export interface DisassociatePrincipalFromPortfolioOutput {} +export interface DisassociatePrincipalFromPortfolioOutput { +} export interface DisassociateProductFromPortfolioInput { AcceptLanguage?: string; ProductId: string; PortfolioId: string; } -export interface DisassociateProductFromPortfolioOutput {} +export interface DisassociateProductFromPortfolioOutput { +} export interface DisassociateServiceActionFromProvisioningArtifactInput { ProductId: string; ProvisioningArtifactId: string; @@ -1154,19 +1049,23 @@ export interface DisassociateServiceActionFromProvisioningArtifactInput { AcceptLanguage?: string; IdempotencyToken?: string; } -export interface DisassociateServiceActionFromProvisioningArtifactOutput {} +export interface DisassociateServiceActionFromProvisioningArtifactOutput { +} export interface DisassociateTagOptionFromResourceInput { ResourceId: string; TagOptionId: string; } -export interface DisassociateTagOptionFromResourceOutput {} +export interface DisassociateTagOptionFromResourceOutput { +} export declare class DuplicateResourceException extends EffectData.TaggedError( "DuplicateResourceException", )<{ readonly Message?: string; }> {} -export interface EnableAWSOrganizationsAccessInput {} -export interface EnableAWSOrganizationsAccessOutput {} +export interface EnableAWSOrganizationsAccessInput { +} +export interface EnableAWSOrganizationsAccessOutput { +} export type EngineWorkflowFailureReason = string; export interface EngineWorkflowResourceIdentifier { @@ -1223,9 +1122,9 @@ export interface FailedServiceActionAssociation { ErrorCode?: ServiceActionAssociationErrorCode; ErrorMessage?: string; } -export type FailedServiceActionAssociations = - Array; -export interface GetAWSOrganizationsAccessStatusInput {} +export type FailedServiceActionAssociations = Array; +export interface GetAWSOrganizationsAccessStatusInput { +} export interface GetAWSOrganizationsAccessStatusOutput { AccessStatus?: AccessStatus; } @@ -1516,7 +1415,8 @@ export interface NotifyProvisionProductEngineWorkflowResultInput { Outputs?: Array; IdempotencyToken: string; } -export interface NotifyProvisionProductEngineWorkflowResultOutput {} +export interface NotifyProvisionProductEngineWorkflowResultOutput { +} export interface NotifyTerminateProvisionedProductEngineWorkflowResultInput { WorkflowToken: string; RecordId: string; @@ -1524,7 +1424,8 @@ export interface NotifyTerminateProvisionedProductEngineWorkflowResultInput { FailureReason?: string; IdempotencyToken: string; } -export interface NotifyTerminateProvisionedProductEngineWorkflowResultOutput {} +export interface NotifyTerminateProvisionedProductEngineWorkflowResultOutput { +} export interface NotifyUpdateProvisionedProductEngineWorkflowResultInput { WorkflowToken: string; RecordId: string; @@ -1533,7 +1434,8 @@ export interface NotifyUpdateProvisionedProductEngineWorkflowResultInput { Outputs?: Array; IdempotencyToken: string; } -export interface NotifyUpdateProvisionedProductEngineWorkflowResultOutput {} +export interface NotifyUpdateProvisionedProductEngineWorkflowResultOutput { +} export type NullableBoolean = boolean; export declare class OperationNotSupportedException extends EffectData.TaggedError( @@ -1546,10 +1448,7 @@ export interface OrganizationNode { Value?: string; } export type OrganizationNodes = Array; -export type OrganizationNodeType = - | "ORGANIZATION" - | "ORGANIZATIONAL_UNIT" - | "ACCOUNT"; +export type OrganizationNodeType = "ORGANIZATION" | "ORGANIZATIONAL_UNIT" | "ACCOUNT"; export type OrganizationNodeValue = string; export type OutputDescription = string; @@ -1611,10 +1510,7 @@ export interface PortfolioShareDetail { SharePrincipals?: boolean; } export type PortfolioShareDetails = Array; -export type PortfolioShareType = - | "IMPORTED" - | "AWS_SERVICECATALOG" - | "AWS_ORGANIZATIONS"; +export type PortfolioShareType = "IMPORTED" | "AWS_SERVICECATALOG" | "AWS_ORGANIZATIONS"; export interface Principal { PrincipalARN?: string; PrincipalType?: PrincipalType; @@ -1626,16 +1522,8 @@ export type PrincipalType = "IAM" | "IAM_PATTERN"; export type ProductArn = string; export type ProductSource = "ACCOUNT"; -export type ProductType = - | "CLOUD_FORMATION_TEMPLATE" - | "MARKETPLACE" - | "TERRAFORM_OPEN_SOURCE" - | "TERRAFORM_CLOUD" - | "EXTERNAL"; -export type ProductViewAggregations = Record< - string, - Array ->; +export type ProductType = "CLOUD_FORMATION_TEMPLATE" | "MARKETPLACE" | "TERRAFORM_OPEN_SOURCE" | "TERRAFORM_CLOUD" | "EXTERNAL"; +export type ProductViewAggregations = Record>; export type ProductViewAggregationType = string; export interface ProductViewAggregationValue { @@ -1653,11 +1541,7 @@ export interface ProductViewDetail { export type ProductViewDetails = Array; export type ProductViewDistributor = string; -export type ProductViewFilterBy = - | "FullTextSearch" - | "Owner" - | "ProductType" - | "SourceProductId"; +export type ProductViewFilterBy = "FullTextSearch" | "Owner" | "ProductType" | "SourceProductId"; export type ProductViewFilters = Record>; export type ProductViewFilterValue = string; @@ -1729,10 +1613,7 @@ export interface ProvisionedProductDetail { LaunchRoleArn?: string; } export type ProvisionedProductDetails = Array; -export type ProvisionedProductFilters = Record< - ProvisionedProductViewFilterBy, - Array ->; +export type ProvisionedProductFilters = Record>; export type ProvisionedProductId = string; export type ProvisionedProductName = string; @@ -1759,13 +1640,7 @@ export interface ProvisionedProductPlanDetails { export type ProvisionedProductPlanName = string; export type ProvisionedProductPlans = Array; -export type ProvisionedProductPlanStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_SUCCESS" - | "CREATE_FAILED" - | "EXECUTE_IN_PROGRESS" - | "EXECUTE_SUCCESS" - | "EXECUTE_FAILED"; +export type ProvisionedProductPlanStatus = "CREATE_IN_PROGRESS" | "CREATE_SUCCESS" | "CREATE_FAILED" | "EXECUTE_IN_PROGRESS" | "EXECUTE_SUCCESS" | "EXECUTE_FAILED"; export interface ProvisionedProductPlanSummary { PlanName?: string; PlanId?: string; @@ -1776,12 +1651,7 @@ export interface ProvisionedProductPlanSummary { } export type ProvisionedProductPlanType = "CLOUDFORMATION"; export type ProvisionedProductProperties = Record; -export type ProvisionedProductStatus = - | "AVAILABLE" - | "UNDER_CHANGE" - | "TAINTED" - | "ERROR" - | "PLAN_IN_PROGRESS"; +export type ProvisionedProductStatus = "AVAILABLE" | "UNDER_CHANGE" | "TAINTED" | "ERROR" | "PLAN_IN_PROGRESS"; export type ProvisionedProductStatusMessage = string; export type ProvisionedProductType = string; @@ -1837,8 +1707,7 @@ export interface ProvisioningArtifactParameter { Description?: string; ParameterConstraints?: ParameterConstraints; } -export type ProvisioningArtifactParameters = - Array; +export type ProvisioningArtifactParameters = Array; export interface ProvisioningArtifactPreferences { StackSetAccounts?: Array; StackSetRegions?: Array; @@ -1862,13 +1731,7 @@ export interface ProvisioningArtifactSummary { CreatedTime?: Date | string; ProvisioningArtifactMetadata?: Record; } -export type ProvisioningArtifactType = - | "CLOUD_FORMATION_TEMPLATE" - | "MARKETPLACE_AMI" - | "MARKETPLACE_CAR" - | "TERRAFORM_OPEN_SOURCE" - | "TERRAFORM_CLOUD" - | "EXTERNAL"; +export type ProvisioningArtifactType = "CLOUD_FORMATION_TEMPLATE" | "MARKETPLACE_AMI" | "MARKETPLACE_CAR" | "TERRAFORM_OPEN_SOURCE" | "TERRAFORM_CLOUD" | "EXTERNAL"; export interface ProvisioningArtifactView { ProductViewSummary?: ProductViewSummary; ProvisioningArtifact?: ProvisioningArtifact; @@ -1933,12 +1796,7 @@ export interface RecordOutput { Description?: string; } export type RecordOutputs = Array; -export type RecordStatus = - | "CREATED" - | "IN_PROGRESS" - | "IN_PROGRESS_IN_ERROR" - | "SUCCEEDED" - | "FAILED"; +export type RecordStatus = "CREATED" | "IN_PROGRESS" | "IN_PROGRESS_IN_ERROR" | "SUCCEEDED" | "FAILED"; export interface RecordTag { Key?: string; Value?: string; @@ -1957,7 +1815,8 @@ export interface RejectPortfolioShareInput { PortfolioId: string; PortfolioShareType?: PortfolioShareType; } -export interface RejectPortfolioShareOutput {} +export interface RejectPortfolioShareOutput { +} export type Replacement = "TRUE" | "FALSE" | "CONDITIONAL"; export type Repository = string; @@ -1968,13 +1827,7 @@ export type RepositoryBranch = string; export type RequiresRecreation = "NEVER" | "CONDITIONALLY" | "ALWAYS"; export type ResourceARN = string; -export type ResourceAttribute = - | "PROPERTIES" - | "METADATA" - | "CREATIONPOLICY" - | "UPDATEPOLICY" - | "DELETIONPOLICY" - | "TAGS"; +export type ResourceAttribute = "PROPERTIES" | "METADATA" | "CREATIONPOLICY" | "UPDATEPOLICY" | "DELETIONPOLICY" | "TAGS"; export interface ResourceChange { Action?: ChangeAction; LogicalResourceId?: string; @@ -2095,25 +1948,12 @@ export interface ServiceActionAssociation { ProductId: string; ProvisioningArtifactId: string; } -export type ServiceActionAssociationErrorCode = - | "DUPLICATE_RESOURCE" - | "INTERNAL_FAILURE" - | "LIMIT_EXCEEDED" - | "RESOURCE_NOT_FOUND" - | "THROTTLING" - | "INVALID_PARAMETER"; +export type ServiceActionAssociationErrorCode = "DUPLICATE_RESOURCE" | "INTERNAL_FAILURE" | "LIMIT_EXCEEDED" | "RESOURCE_NOT_FOUND" | "THROTTLING" | "INVALID_PARAMETER"; export type ServiceActionAssociationErrorMessage = string; export type ServiceActionAssociations = Array; -export type ServiceActionDefinitionKey = - | "Name" - | "Version" - | "AssumeRole" - | "Parameters"; -export type ServiceActionDefinitionMap = Record< - ServiceActionDefinitionKey, - string ->; +export type ServiceActionDefinitionKey = "Name" | "Version" | "AssumeRole" | "Parameters"; +export type ServiceActionDefinitionMap = Record; export type ServiceActionDefinitionType = "SSM_AUTOMATION"; export type ServiceActionDefinitionValue = string; @@ -2142,12 +1982,7 @@ export interface ShareError { Error?: string; } export type ShareErrors = Array; -export type ShareStatus = - | "NOT_STARTED" - | "IN_PROGRESS" - | "COMPLETED" - | "COMPLETED_WITH_ERRORS" - | "ERROR"; +export type ShareStatus = "NOT_STARTED" | "IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERRORS" | "ERROR"; export type SortField = string; export type SortOrder = "ASCENDING" | "DESCENDING"; @@ -2163,13 +1998,8 @@ export interface SourceConnectionDetail { export interface SourceConnectionParameters { CodeStar?: CodeStarParameters; } -export type SourceProvisioningArtifactProperties = Array<{ - [key in ProvisioningArtifactPropertyName]?: string; -}>; -export type SourceProvisioningArtifactPropertiesMap = Record< - ProvisioningArtifactPropertyName, - string ->; +export type SourceProvisioningArtifactProperties = Array<{ [key in ProvisioningArtifactPropertyName]?: string }>; +export type SourceProvisioningArtifactPropertiesMap = Record; export type SourceRevision = string; export type SourceType = "CODESTAR"; @@ -2476,17 +2306,18 @@ export declare namespace AssociateTagOptionWithResource { export declare namespace BatchAssociateServiceActionWithProvisioningArtifact { export type Input = BatchAssociateServiceActionWithProvisioningArtifactInput; - export type Output = - BatchAssociateServiceActionWithProvisioningArtifactOutput; - export type Error = InvalidParametersException | CommonAwsError; + export type Output = BatchAssociateServiceActionWithProvisioningArtifactOutput; + export type Error = + | InvalidParametersException + | CommonAwsError; } export declare namespace BatchDisassociateServiceActionFromProvisioningArtifact { - export type Input = - BatchDisassociateServiceActionFromProvisioningArtifactInput; - export type Output = - BatchDisassociateServiceActionFromProvisioningArtifactOutput; - export type Error = InvalidParametersException | CommonAwsError; + export type Input = BatchDisassociateServiceActionFromProvisioningArtifactInput; + export type Output = BatchDisassociateServiceActionFromProvisioningArtifactOutput; + export type Error = + | InvalidParametersException + | CommonAwsError; } export declare namespace CopyProduct { @@ -2664,19 +2495,25 @@ export declare namespace DeleteTagOption { export declare namespace DescribeConstraint { export type Input = DescribeConstraintInput; export type Output = DescribeConstraintOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeCopyProductStatus { export type Input = DescribeCopyProductStatusInput; export type Output = DescribeCopyProductStatusOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribePortfolio { export type Input = DescribePortfolioInput; export type Output = DescribePortfolioOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribePortfolioShares { @@ -2764,13 +2601,17 @@ export declare namespace DescribeProvisioningParameters { export declare namespace DescribeRecord { export type Input = DescribeRecordInput; export type Output = DescribeRecordOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeServiceAction { export type Input = DescribeServiceActionInput; export type Output = DescribeServiceActionOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeServiceActionExecutionParameters { @@ -2804,7 +2645,9 @@ export declare namespace DisableAWSOrganizationsAccess { export declare namespace DisassociateBudgetFromResource { export type Input = DisassociateBudgetFromResourceInput; export type Output = DisassociateBudgetFromResourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DisassociatePrincipalFromPortfolio { @@ -2961,7 +2804,9 @@ export declare namespace ListPortfolioAccess { export declare namespace ListPortfolios { export type Input = ListPortfoliosInput; export type Output = ListPortfoliosOutput; - export type Error = InvalidParametersException | CommonAwsError; + export type Error = + | InvalidParametersException + | CommonAwsError; } export declare namespace ListPortfoliosForProduct { @@ -3012,7 +2857,9 @@ export declare namespace ListProvisioningArtifactsForServiceAction { export declare namespace ListRecordHistory { export type Input = ListRecordHistoryInput; export type Output = ListRecordHistoryOutput; - export type Error = InvalidParametersException | CommonAwsError; + export type Error = + | InvalidParametersException + | CommonAwsError; } export declare namespace ListResourcesForTagOption { @@ -3028,7 +2875,9 @@ export declare namespace ListResourcesForTagOption { export declare namespace ListServiceActions { export type Input = ListServiceActionsInput; export type Output = ListServiceActionsOutput; - export type Error = InvalidParametersException | CommonAwsError; + export type Error = + | InvalidParametersException + | CommonAwsError; } export declare namespace ListServiceActionsForProvisioningArtifact { @@ -3068,10 +2917,8 @@ export declare namespace NotifyProvisionProductEngineWorkflowResult { } export declare namespace NotifyTerminateProvisionedProductEngineWorkflowResult { - export type Input = - NotifyTerminateProvisionedProductEngineWorkflowResultInput; - export type Output = - NotifyTerminateProvisionedProductEngineWorkflowResultOutput; + export type Input = NotifyTerminateProvisionedProductEngineWorkflowResultInput; + export type Output = NotifyTerminateProvisionedProductEngineWorkflowResultOutput; export type Error = | InvalidParametersException | ResourceNotFoundException @@ -3100,19 +2947,25 @@ export declare namespace ProvisionProduct { export declare namespace RejectPortfolioShare { export type Input = RejectPortfolioShareInput; export type Output = RejectPortfolioShareOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ScanProvisionedProducts { export type Input = ScanProvisionedProductsInput; export type Output = ScanProvisionedProductsOutput; - export type Error = InvalidParametersException | CommonAwsError; + export type Error = + | InvalidParametersException + | CommonAwsError; } export declare namespace SearchProducts { export type Input = SearchProductsInput; export type Output = SearchProductsOutput; - export type Error = InvalidParametersException | CommonAwsError; + export type Error = + | InvalidParametersException + | CommonAwsError; } export declare namespace SearchProductsAsAdmin { @@ -3127,13 +2980,17 @@ export declare namespace SearchProductsAsAdmin { export declare namespace SearchProvisionedProducts { export type Input = SearchProvisionedProductsInput; export type Output = SearchProvisionedProductsOutput; - export type Error = InvalidParametersException | CommonAwsError; + export type Error = + | InvalidParametersException + | CommonAwsError; } export declare namespace TerminateProvisionedProduct { export type Input = TerminateProvisionedProductInput; export type Output = TerminateProvisionedProductOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UpdateConstraint { @@ -3225,13 +3082,5 @@ export declare namespace UpdateTagOption { | CommonAwsError; } -export type ServiceCatalogErrors = - | DuplicateResourceException - | InvalidParametersException - | InvalidStateException - | LimitExceededException - | OperationNotSupportedException - | ResourceInUseException - | ResourceNotFoundException - | TagOptionNotMigratedException - | CommonAwsError; +export type ServiceCatalogErrors = DuplicateResourceException | InvalidParametersException | InvalidStateException | LimitExceededException | OperationNotSupportedException | ResourceInUseException | ResourceNotFoundException | TagOptionNotMigratedException | CommonAwsError; + diff --git a/src/services/service-quotas/index.ts b/src/services/service-quotas/index.ts index 51811a5f..5eaa7ee1 100644 --- a/src/services/service-quotas/index.ts +++ b/src/services/service-quotas/index.ts @@ -5,25 +5,7 @@ import type { ServiceQuotas as _ServiceQuotasClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/service-quotas/types.ts b/src/services/service-quotas/types.ts index c0c09b7d..501d77d0 100644 --- a/src/services/service-quotas/types.ts +++ b/src/services/service-quotas/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class ServiceQuotas extends AWSServiceClient { @@ -42,303 +8,145 @@ export declare class ServiceQuotas extends AWSServiceClient { input: AssociateServiceQuotaTemplateRequest, ): Effect.Effect< AssociateServiceQuotaTemplateResponse, - | AccessDeniedException - | AWSServiceAccessNotEnabledException - | DependencyAccessDeniedException - | NoAvailableOrganizationException - | OrganizationNotInAllFeaturesModeException - | ServiceException - | TemplatesNotAvailableInRegionException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSServiceAccessNotEnabledException | DependencyAccessDeniedException | NoAvailableOrganizationException | OrganizationNotInAllFeaturesModeException | ServiceException | TemplatesNotAvailableInRegionException | TooManyRequestsException | CommonAwsError >; createSupportCase( input: CreateSupportCaseRequest, ): Effect.Effect< CreateSupportCaseResponse, - | AccessDeniedException - | DependencyAccessDeniedException - | IllegalArgumentException - | InvalidResourceStateException - | NoSuchResourceException - | ResourceAlreadyExistsException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | DependencyAccessDeniedException | IllegalArgumentException | InvalidResourceStateException | NoSuchResourceException | ResourceAlreadyExistsException | ServiceException | TooManyRequestsException | CommonAwsError >; deleteServiceQuotaIncreaseRequestFromTemplate( input: DeleteServiceQuotaIncreaseRequestFromTemplateRequest, ): Effect.Effect< DeleteServiceQuotaIncreaseRequestFromTemplateResponse, - | AccessDeniedException - | AWSServiceAccessNotEnabledException - | DependencyAccessDeniedException - | IllegalArgumentException - | NoAvailableOrganizationException - | NoSuchResourceException - | ServiceException - | TemplatesNotAvailableInRegionException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSServiceAccessNotEnabledException | DependencyAccessDeniedException | IllegalArgumentException | NoAvailableOrganizationException | NoSuchResourceException | ServiceException | TemplatesNotAvailableInRegionException | TooManyRequestsException | CommonAwsError >; disassociateServiceQuotaTemplate( input: DisassociateServiceQuotaTemplateRequest, ): Effect.Effect< DisassociateServiceQuotaTemplateResponse, - | AccessDeniedException - | AWSServiceAccessNotEnabledException - | DependencyAccessDeniedException - | NoAvailableOrganizationException - | ServiceException - | ServiceQuotaTemplateNotInUseException - | TemplatesNotAvailableInRegionException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSServiceAccessNotEnabledException | DependencyAccessDeniedException | NoAvailableOrganizationException | ServiceException | ServiceQuotaTemplateNotInUseException | TemplatesNotAvailableInRegionException | TooManyRequestsException | CommonAwsError >; getAssociationForServiceQuotaTemplate( input: GetAssociationForServiceQuotaTemplateRequest, ): Effect.Effect< GetAssociationForServiceQuotaTemplateResponse, - | AccessDeniedException - | AWSServiceAccessNotEnabledException - | DependencyAccessDeniedException - | NoAvailableOrganizationException - | ServiceException - | ServiceQuotaTemplateNotInUseException - | TemplatesNotAvailableInRegionException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSServiceAccessNotEnabledException | DependencyAccessDeniedException | NoAvailableOrganizationException | ServiceException | ServiceQuotaTemplateNotInUseException | TemplatesNotAvailableInRegionException | TooManyRequestsException | CommonAwsError >; getAutoManagementConfiguration( input: GetAutoManagementConfigurationRequest, ): Effect.Effect< GetAutoManagementConfigurationResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; getAWSDefaultServiceQuota( input: GetAWSDefaultServiceQuotaRequest, ): Effect.Effect< GetAWSDefaultServiceQuotaResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; getRequestedServiceQuotaChange( input: GetRequestedServiceQuotaChangeRequest, ): Effect.Effect< GetRequestedServiceQuotaChangeResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; getServiceQuota( input: GetServiceQuotaRequest, ): Effect.Effect< GetServiceQuotaResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; getServiceQuotaIncreaseRequestFromTemplate( input: GetServiceQuotaIncreaseRequestFromTemplateRequest, ): Effect.Effect< GetServiceQuotaIncreaseRequestFromTemplateResponse, - | AccessDeniedException - | AWSServiceAccessNotEnabledException - | DependencyAccessDeniedException - | IllegalArgumentException - | NoAvailableOrganizationException - | NoSuchResourceException - | ServiceException - | TemplatesNotAvailableInRegionException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSServiceAccessNotEnabledException | DependencyAccessDeniedException | IllegalArgumentException | NoAvailableOrganizationException | NoSuchResourceException | ServiceException | TemplatesNotAvailableInRegionException | TooManyRequestsException | CommonAwsError >; listAWSDefaultServiceQuotas( input: ListAWSDefaultServiceQuotasRequest, ): Effect.Effect< ListAWSDefaultServiceQuotasResponse, - | AccessDeniedException - | IllegalArgumentException - | InvalidPaginationTokenException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | InvalidPaginationTokenException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; listRequestedServiceQuotaChangeHistory( input: ListRequestedServiceQuotaChangeHistoryRequest, ): Effect.Effect< ListRequestedServiceQuotaChangeHistoryResponse, - | AccessDeniedException - | IllegalArgumentException - | InvalidPaginationTokenException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | InvalidPaginationTokenException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; listRequestedServiceQuotaChangeHistoryByQuota( input: ListRequestedServiceQuotaChangeHistoryByQuotaRequest, ): Effect.Effect< ListRequestedServiceQuotaChangeHistoryByQuotaResponse, - | AccessDeniedException - | IllegalArgumentException - | InvalidPaginationTokenException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | InvalidPaginationTokenException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; listServiceQuotaIncreaseRequestsInTemplate( input: ListServiceQuotaIncreaseRequestsInTemplateRequest, ): Effect.Effect< ListServiceQuotaIncreaseRequestsInTemplateResponse, - | AccessDeniedException - | AWSServiceAccessNotEnabledException - | DependencyAccessDeniedException - | IllegalArgumentException - | NoAvailableOrganizationException - | ServiceException - | TemplatesNotAvailableInRegionException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSServiceAccessNotEnabledException | DependencyAccessDeniedException | IllegalArgumentException | NoAvailableOrganizationException | ServiceException | TemplatesNotAvailableInRegionException | TooManyRequestsException | CommonAwsError >; listServiceQuotas( input: ListServiceQuotasRequest, ): Effect.Effect< ListServiceQuotasResponse, - | AccessDeniedException - | IllegalArgumentException - | InvalidPaginationTokenException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | InvalidPaginationTokenException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; listServices( input: ListServicesRequest, ): Effect.Effect< ListServicesResponse, - | AccessDeniedException - | IllegalArgumentException - | InvalidPaginationTokenException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | InvalidPaginationTokenException | ServiceException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; putServiceQuotaIncreaseRequestIntoTemplate( input: PutServiceQuotaIncreaseRequestIntoTemplateRequest, ): Effect.Effect< PutServiceQuotaIncreaseRequestIntoTemplateResponse, - | AccessDeniedException - | AWSServiceAccessNotEnabledException - | DependencyAccessDeniedException - | IllegalArgumentException - | NoAvailableOrganizationException - | NoSuchResourceException - | QuotaExceededException - | ServiceException - | TemplatesNotAvailableInRegionException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | AWSServiceAccessNotEnabledException | DependencyAccessDeniedException | IllegalArgumentException | NoAvailableOrganizationException | NoSuchResourceException | QuotaExceededException | ServiceException | TemplatesNotAvailableInRegionException | TooManyRequestsException | CommonAwsError >; requestServiceQuotaIncrease( input: RequestServiceQuotaIncreaseRequest, ): Effect.Effect< RequestServiceQuotaIncreaseResponse, - | AccessDeniedException - | DependencyAccessDeniedException - | IllegalArgumentException - | InvalidResourceStateException - | NoSuchResourceException - | QuotaExceededException - | ResourceAlreadyExistsException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | DependencyAccessDeniedException | IllegalArgumentException | InvalidResourceStateException | NoSuchResourceException | QuotaExceededException | ResourceAlreadyExistsException | ServiceException | TooManyRequestsException | CommonAwsError >; startAutoManagement( input: StartAutoManagementRequest, ): Effect.Effect< StartAutoManagementResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; stopAutoManagement( input: StopAutoManagementRequest, ): Effect.Effect< StopAutoManagementResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TagPolicyViolationException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TagPolicyViolationException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; updateAutoManagement( input: UpdateAutoManagementRequest, ): Effect.Effect< UpdateAutoManagementResponse, - | AccessDeniedException - | IllegalArgumentException - | NoSuchResourceException - | ServiceException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | IllegalArgumentException | NoSuchResourceException | ServiceException | TooManyRequestsException | CommonAwsError >; } @@ -350,8 +158,10 @@ export declare class AccessDeniedException extends EffectData.TaggedError( export type AmazonResourceName = string; export type AppliedLevelEnum = "ACCOUNT" | "RESOURCE" | "ALL"; -export interface AssociateServiceQuotaTemplateRequest {} -export interface AssociateServiceQuotaTemplateResponse {} +export interface AssociateServiceQuotaTemplateRequest { +} +export interface AssociateServiceQuotaTemplateResponse { +} export type AwsRegion = string; export declare class AWSServiceAccessNotEnabledException extends EffectData.TaggedError( @@ -362,7 +172,8 @@ export declare class AWSServiceAccessNotEnabledException extends EffectData.Tagg export interface CreateSupportCaseRequest { RequestId: string; } -export interface CreateSupportCaseResponse {} +export interface CreateSupportCaseResponse { +} export type CustomerServiceEngagementId = string; export type DateTime = Date | string; @@ -372,19 +183,18 @@ export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest { QuotaCode: string; AwsRegion: string; } -export interface DeleteServiceQuotaIncreaseRequestFromTemplateResponse {} +export interface DeleteServiceQuotaIncreaseRequestFromTemplateResponse { +} export declare class DependencyAccessDeniedException extends EffectData.TaggedError( "DependencyAccessDeniedException", )<{ readonly Message?: string; }> {} -export interface DisassociateServiceQuotaTemplateRequest {} -export interface DisassociateServiceQuotaTemplateResponse {} -export type ErrorCode = - | "DEPENDENCY_ACCESS_DENIED_ERROR" - | "DEPENDENCY_THROTTLING_ERROR" - | "DEPENDENCY_SERVICE_ERROR" - | "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"; +export interface DisassociateServiceQuotaTemplateRequest { +} +export interface DisassociateServiceQuotaTemplateResponse { +} +export type ErrorCode = "DEPENDENCY_ACCESS_DENIED_ERROR" | "DEPENDENCY_THROTTLING_ERROR" | "DEPENDENCY_SERVICE_ERROR" | "SERVICE_QUOTA_NOT_AVAILABLE_ERROR"; export type ErrorMessage = string; export interface ErrorReason { @@ -400,11 +210,13 @@ export type ExcludedService = string; export type ExclusionList = Record>; export type ExclusionQuotaList = Record>; -export interface GetAssociationForServiceQuotaTemplateRequest {} +export interface GetAssociationForServiceQuotaTemplateRequest { +} export interface GetAssociationForServiceQuotaTemplateResponse { ServiceQuotaTemplateAssociationStatus?: ServiceQuotaTemplateAssociationStatus; } -export interface GetAutoManagementConfigurationRequest {} +export interface GetAutoManagementConfigurationRequest { +} export interface GetAutoManagementConfigurationResponse { OptInLevel?: OptInLevel; OptInType?: OptInType; @@ -561,14 +373,7 @@ export declare class OrganizationNotInAllFeaturesModeException extends EffectDat readonly Message?: string; }> {} export type OutputTags = Array; -export type PeriodUnit = - | "MICROSECOND" - | "MILLISECOND" - | "SECOND" - | "MINUTE" - | "HOUR" - | "DAY" - | "WEEK"; +export type PeriodUnit = "MICROSECOND" | "MILLISECOND" | "SECOND" | "MINUTE" | "HOUR" | "DAY" | "WEEK"; export type PeriodValue = number; export interface PutServiceQuotaIncreaseRequestIntoTemplateRequest { @@ -640,8 +445,7 @@ export interface RequestedServiceQuotaChange { QuotaRequestedAtLevel?: AppliedLevelEnum; QuotaContext?: QuotaContextInfo; } -export type RequestedServiceQuotaChangeHistoryListDefinition = - Array; +export type RequestedServiceQuotaChangeHistoryListDefinition = Array; export type Requester = string; export type RequestId = string; @@ -656,14 +460,7 @@ export interface RequestServiceQuotaIncreaseRequest { export interface RequestServiceQuotaIncreaseResponse { RequestedQuota?: RequestedServiceQuotaChange; } -export type RequestStatus = - | "PENDING" - | "CASE_OPENED" - | "APPROVED" - | "DENIED" - | "CASE_CLOSED" - | "NOT_APPROVED" - | "INVALID_REQUEST"; +export type RequestStatus = "PENDING" | "CASE_OPENED" | "APPROVED" | "DENIED" | "CASE_CLOSED" | "NOT_APPROVED" | "INVALID_REQUEST"; export declare class ResourceAlreadyExistsException extends EffectData.TaggedError( "ResourceAlreadyExistsException", )<{ @@ -710,12 +507,9 @@ export interface ServiceQuotaIncreaseRequestInTemplate { Unit?: string; GlobalQuota?: boolean; } -export type ServiceQuotaIncreaseRequestInTemplateList = - Array; +export type ServiceQuotaIncreaseRequestInTemplateList = Array; export type ServiceQuotaListDefinition = Array; -export type ServiceQuotaTemplateAssociationStatus = - | "ASSOCIATED" - | "DISASSOCIATED"; +export type ServiceQuotaTemplateAssociationStatus = "ASSOCIATED" | "DISASSOCIATED"; export declare class ServiceQuotaTemplateNotInUseException extends EffectData.TaggedError( "ServiceQuotaTemplateNotInUseException", )<{ @@ -727,11 +521,14 @@ export interface StartAutoManagementRequest { NotificationArn?: string; ExclusionList?: Record>; } -export interface StartAutoManagementResponse {} +export interface StartAutoManagementResponse { +} export type Statistic = string; -export interface StopAutoManagementRequest {} -export interface StopAutoManagementResponse {} +export interface StopAutoManagementRequest { +} +export interface StopAutoManagementResponse { +} export type SupportCaseAllowed = boolean; export interface Tag { @@ -749,7 +546,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class TemplatesNotAvailableInRegionException extends EffectData.TaggedError( @@ -771,13 +569,15 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAutoManagementRequest { OptInType?: OptInType; NotificationArn?: string; ExclusionList?: Record>; } -export interface UpdateAutoManagementResponse {} +export interface UpdateAutoManagementResponse { +} export declare namespace AssociateServiceQuotaTemplate { export type Input = AssociateServiceQuotaTemplateRequest; export type Output = AssociateServiceQuotaTemplateResponse; @@ -1104,22 +904,5 @@ export declare namespace UpdateAutoManagement { | CommonAwsError; } -export type ServiceQuotasErrors = - | AWSServiceAccessNotEnabledException - | AccessDeniedException - | DependencyAccessDeniedException - | IllegalArgumentException - | InvalidPaginationTokenException - | InvalidResourceStateException - | NoAvailableOrganizationException - | NoSuchResourceException - | OrganizationNotInAllFeaturesModeException - | QuotaExceededException - | ResourceAlreadyExistsException - | ServiceException - | ServiceQuotaTemplateNotInUseException - | TagPolicyViolationException - | TemplatesNotAvailableInRegionException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError; +export type ServiceQuotasErrors = AWSServiceAccessNotEnabledException | AccessDeniedException | DependencyAccessDeniedException | IllegalArgumentException | InvalidPaginationTokenException | InvalidResourceStateException | NoAvailableOrganizationException | NoSuchResourceException | OrganizationNotInAllFeaturesModeException | QuotaExceededException | ResourceAlreadyExistsException | ServiceException | ServiceQuotaTemplateNotInUseException | TagPolicyViolationException | TemplatesNotAvailableInRegionException | TooManyRequestsException | TooManyTagsException | CommonAwsError; + diff --git a/src/services/servicediscovery/index.ts b/src/services/servicediscovery/index.ts index 92f776ab..6794f424 100644 --- a/src/services/servicediscovery/index.ts +++ b/src/services/servicediscovery/index.ts @@ -5,26 +5,7 @@ import type { ServiceDiscovery as _ServiceDiscoveryClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/servicediscovery/types.ts b/src/services/servicediscovery/types.ts index ffc2b811..2b4ddd43 100644 --- a/src/services/servicediscovery/types.ts +++ b/src/services/servicediscovery/types.ts @@ -7,55 +7,31 @@ export declare class ServiceDiscovery extends AWSServiceClient { input: CreateHttpNamespaceRequest, ): Effect.Effect< CreateHttpNamespaceResponse, - | DuplicateRequest - | InvalidInput - | NamespaceAlreadyExists - | ResourceLimitExceeded - | TooManyTagsException - | CommonAwsError + DuplicateRequest | InvalidInput | NamespaceAlreadyExists | ResourceLimitExceeded | TooManyTagsException | CommonAwsError >; createPrivateDnsNamespace( input: CreatePrivateDnsNamespaceRequest, ): Effect.Effect< CreatePrivateDnsNamespaceResponse, - | DuplicateRequest - | InvalidInput - | NamespaceAlreadyExists - | ResourceLimitExceeded - | TooManyTagsException - | CommonAwsError + DuplicateRequest | InvalidInput | NamespaceAlreadyExists | ResourceLimitExceeded | TooManyTagsException | CommonAwsError >; createPublicDnsNamespace( input: CreatePublicDnsNamespaceRequest, ): Effect.Effect< CreatePublicDnsNamespaceResponse, - | DuplicateRequest - | InvalidInput - | NamespaceAlreadyExists - | ResourceLimitExceeded - | TooManyTagsException - | CommonAwsError + DuplicateRequest | InvalidInput | NamespaceAlreadyExists | ResourceLimitExceeded | TooManyTagsException | CommonAwsError >; createService( input: CreateServiceRequest, ): Effect.Effect< CreateServiceResponse, - | InvalidInput - | NamespaceNotFound - | ResourceLimitExceeded - | ServiceAlreadyExists - | TooManyTagsException - | CommonAwsError + InvalidInput | NamespaceNotFound | ResourceLimitExceeded | ServiceAlreadyExists | TooManyTagsException | CommonAwsError >; deleteNamespace( input: DeleteNamespaceRequest, ): Effect.Effect< DeleteNamespaceResponse, - | DuplicateRequest - | InvalidInput - | NamespaceNotFound - | ResourceInUse - | CommonAwsError + DuplicateRequest | InvalidInput | NamespaceNotFound | ResourceInUse | CommonAwsError >; deleteService( input: DeleteServiceRequest, @@ -73,32 +49,19 @@ export declare class ServiceDiscovery extends AWSServiceClient { input: DeregisterInstanceRequest, ): Effect.Effect< DeregisterInstanceResponse, - | DuplicateRequest - | InstanceNotFound - | InvalidInput - | ResourceInUse - | ServiceNotFound - | CommonAwsError + DuplicateRequest | InstanceNotFound | InvalidInput | ResourceInUse | ServiceNotFound | CommonAwsError >; discoverInstances( input: DiscoverInstancesRequest, ): Effect.Effect< DiscoverInstancesResponse, - | InvalidInput - | NamespaceNotFound - | RequestLimitExceeded - | ServiceNotFound - | CommonAwsError + InvalidInput | NamespaceNotFound | RequestLimitExceeded | ServiceNotFound | CommonAwsError >; discoverInstancesRevision( input: DiscoverInstancesRevisionRequest, ): Effect.Effect< DiscoverInstancesRevisionResponse, - | InvalidInput - | NamespaceNotFound - | RequestLimitExceeded - | ServiceNotFound - | CommonAwsError + InvalidInput | NamespaceNotFound | RequestLimitExceeded | ServiceNotFound | CommonAwsError >; getInstance( input: GetInstanceRequest, @@ -144,13 +107,22 @@ export declare class ServiceDiscovery extends AWSServiceClient { >; listNamespaces( input: ListNamespacesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListNamespacesResponse, + InvalidInput | CommonAwsError + >; listOperations( input: ListOperationsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListOperationsResponse, + InvalidInput | CommonAwsError + >; listServices( input: ListServicesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListServicesResponse, + InvalidInput | CommonAwsError + >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< @@ -161,21 +133,13 @@ export declare class ServiceDiscovery extends AWSServiceClient { input: RegisterInstanceRequest, ): Effect.Effect< RegisterInstanceResponse, - | DuplicateRequest - | InvalidInput - | ResourceInUse - | ResourceLimitExceeded - | ServiceNotFound - | CommonAwsError + DuplicateRequest | InvalidInput | ResourceInUse | ResourceLimitExceeded | ServiceNotFound | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidInput - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidInput | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -187,41 +151,25 @@ export declare class ServiceDiscovery extends AWSServiceClient { input: UpdateHttpNamespaceRequest, ): Effect.Effect< UpdateHttpNamespaceResponse, - | DuplicateRequest - | InvalidInput - | NamespaceNotFound - | ResourceInUse - | CommonAwsError + DuplicateRequest | InvalidInput | NamespaceNotFound | ResourceInUse | CommonAwsError >; updateInstanceCustomHealthStatus( input: UpdateInstanceCustomHealthStatusRequest, ): Effect.Effect< {}, - | CustomHealthNotFound - | InstanceNotFound - | InvalidInput - | ServiceNotFound - | CommonAwsError + CustomHealthNotFound | InstanceNotFound | InvalidInput | ServiceNotFound | CommonAwsError >; updatePrivateDnsNamespace( input: UpdatePrivateDnsNamespaceRequest, ): Effect.Effect< UpdatePrivateDnsNamespaceResponse, - | DuplicateRequest - | InvalidInput - | NamespaceNotFound - | ResourceInUse - | CommonAwsError + DuplicateRequest | InvalidInput | NamespaceNotFound | ResourceInUse | CommonAwsError >; updatePublicDnsNamespace( input: UpdatePublicDnsNamespaceRequest, ): Effect.Effect< UpdatePublicDnsNamespaceResponse, - | DuplicateRequest - | InvalidInput - | NamespaceNotFound - | ResourceInUse - | CommonAwsError + DuplicateRequest | InvalidInput | NamespaceNotFound | ResourceInUse | CommonAwsError >; updateService( input: UpdateServiceRequest, @@ -233,10 +181,7 @@ export declare class ServiceDiscovery extends AWSServiceClient { input: UpdateServiceAttributesRequest, ): Effect.Effect< UpdateServiceAttributesResponse, - | InvalidInput - | ServiceAttributesLimitExceededException - | ServiceNotFound - | CommonAwsError + InvalidInput | ServiceAttributesLimitExceededException | ServiceNotFound | CommonAwsError >; } @@ -315,11 +260,13 @@ export interface DeleteServiceAttributesRequest { ServiceId: string; Attributes: Array; } -export interface DeleteServiceAttributesResponse {} +export interface DeleteServiceAttributesResponse { +} export interface DeleteServiceRequest { Id: string; } -export interface DeleteServiceResponse {} +export interface DeleteServiceResponse { +} export interface DeregisterInstanceRequest { ServiceId: string; InstanceId: string; @@ -434,11 +381,7 @@ export interface HealthCheckCustomConfig { } export type HealthCheckType = "HTTP" | "HTTPS" | "TCP"; export type HealthStatus = "HEALTHY" | "UNHEALTHY" | "UNKNOWN"; -export type HealthStatusFilter = - | "HEALTHY" - | "UNHEALTHY" - | "ALL" - | "HEALTHY_OR_ELSE_ALL"; +export type HealthStatusFilter = "HEALTHY" | "UNHEALTHY" | "ALL" | "HEALTHY_OR_ELSE_ALL"; export interface HttpInstanceSummary { InstanceId?: string; NamespaceName?: string; @@ -550,11 +493,7 @@ export interface NamespaceFilter { Values: Array; Condition?: FilterCondition; } -export type NamespaceFilterName = - | "TYPE" - | "NAME" - | "HTTP_NAME" - | "RESOURCE_OWNER"; +export type NamespaceFilterName = "TYPE" | "NAME" | "HTTP_NAME" | "RESOURCE_OWNER"; export type NamespaceFilters = Array; export type NamespaceName = string; @@ -604,12 +543,7 @@ export interface OperationFilter { Values: Array; Condition?: FilterCondition; } -export type OperationFilterName = - | "NAMESPACE_ID" - | "SERVICE_ID" - | "STATUS" - | "TYPE" - | "UPDATE_DATE"; +export type OperationFilterName = "NAMESPACE_ID" | "SERVICE_ID" | "STATUS" | "TYPE" | "UPDATE_DATE"; export type OperationFilters = Array; export type OperationId = string; @@ -626,13 +560,7 @@ export interface OperationSummary { export type OperationSummaryList = Array; export type OperationTargetsMap = Record; export type OperationTargetType = "NAMESPACE" | "SERVICE" | "INSTANCE"; -export type OperationType = - | "CREATE_NAMESPACE" - | "DELETE_NAMESPACE" - | "UPDATE_NAMESPACE" - | "UPDATE_SERVICE" - | "REGISTER_INSTANCE" - | "DEREGISTER_INSTANCE"; +export type OperationType = "CREATE_NAMESPACE" | "DELETE_NAMESPACE" | "UPDATE_NAMESPACE" | "UPDATE_SERVICE" | "REGISTER_INSTANCE" | "DEREGISTER_INSTANCE"; export interface PrivateDnsNamespaceChange { Description?: string; Properties?: PrivateDnsNamespacePropertiesChange; @@ -802,7 +730,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Timestamp = Date | string; @@ -817,7 +746,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateHttpNamespaceRequest { Id: string; UpdaterRequestId?: string; @@ -851,7 +781,8 @@ export interface UpdateServiceAttributesRequest { ServiceId: string; Attributes: Record; } -export interface UpdateServiceAttributesResponse {} +export interface UpdateServiceAttributesResponse { +} export interface UpdateServiceRequest { Id: string; Service: ServiceChange; @@ -931,7 +862,10 @@ export declare namespace DeleteService { export declare namespace DeleteServiceAttributes { export type Input = DeleteServiceAttributesRequest; export type Output = DeleteServiceAttributesResponse; - export type Error = InvalidInput | ServiceNotFound | CommonAwsError; + export type Error = + | InvalidInput + | ServiceNotFound + | CommonAwsError; } export declare namespace DeregisterInstance { @@ -991,55 +925,79 @@ export declare namespace GetInstancesHealthStatus { export declare namespace GetNamespace { export type Input = GetNamespaceRequest; export type Output = GetNamespaceResponse; - export type Error = InvalidInput | NamespaceNotFound | CommonAwsError; + export type Error = + | InvalidInput + | NamespaceNotFound + | CommonAwsError; } export declare namespace GetOperation { export type Input = GetOperationRequest; export type Output = GetOperationResponse; - export type Error = InvalidInput | OperationNotFound | CommonAwsError; + export type Error = + | InvalidInput + | OperationNotFound + | CommonAwsError; } export declare namespace GetService { export type Input = GetServiceRequest; export type Output = GetServiceResponse; - export type Error = InvalidInput | ServiceNotFound | CommonAwsError; + export type Error = + | InvalidInput + | ServiceNotFound + | CommonAwsError; } export declare namespace GetServiceAttributes { export type Input = GetServiceAttributesRequest; export type Output = GetServiceAttributesResponse; - export type Error = InvalidInput | ServiceNotFound | CommonAwsError; + export type Error = + | InvalidInput + | ServiceNotFound + | CommonAwsError; } export declare namespace ListInstances { export type Input = ListInstancesRequest; export type Output = ListInstancesResponse; - export type Error = InvalidInput | ServiceNotFound | CommonAwsError; + export type Error = + | InvalidInput + | ServiceNotFound + | CommonAwsError; } export declare namespace ListNamespaces { export type Input = ListNamespacesRequest; export type Output = ListNamespacesResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListOperations { export type Input = ListOperationsRequest; export type Output = ListOperationsResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListServices { export type Input = ListServicesRequest; export type Output = ListServicesResponse; - export type Error = InvalidInput | CommonAwsError; + export type Error = + | InvalidInput + | CommonAwsError; } export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = InvalidInput | ResourceNotFoundException | CommonAwsError; + export type Error = + | InvalidInput + | ResourceNotFoundException + | CommonAwsError; } export declare namespace RegisterInstance { @@ -1067,7 +1025,10 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = InvalidInput | ResourceNotFoundException | CommonAwsError; + export type Error = + | InvalidInput + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UpdateHttpNamespace { @@ -1134,20 +1095,5 @@ export declare namespace UpdateServiceAttributes { | CommonAwsError; } -export type ServiceDiscoveryErrors = - | CustomHealthNotFound - | DuplicateRequest - | InstanceNotFound - | InvalidInput - | NamespaceAlreadyExists - | NamespaceNotFound - | OperationNotFound - | RequestLimitExceeded - | ResourceInUse - | ResourceLimitExceeded - | ResourceNotFoundException - | ServiceAlreadyExists - | ServiceAttributesLimitExceededException - | ServiceNotFound - | TooManyTagsException - | CommonAwsError; +export type ServiceDiscoveryErrors = CustomHealthNotFound | DuplicateRequest | InstanceNotFound | InvalidInput | NamespaceAlreadyExists | NamespaceNotFound | OperationNotFound | RequestLimitExceeded | ResourceInUse | ResourceLimitExceeded | ResourceNotFoundException | ServiceAlreadyExists | ServiceAttributesLimitExceededException | ServiceNotFound | TooManyTagsException | CommonAwsError; + diff --git a/src/services/ses/index.ts b/src/services/ses/index.ts index 58518976..a5d23cf9 100644 --- a/src/services/ses/index.ts +++ b/src/services/ses/index.ts @@ -6,26 +6,7 @@ import type { SES as _SESClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -47,10 +28,6 @@ export const SES = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _SESClient; diff --git a/src/services/ses/types.ts b/src/services/ses/types.ts index 264bebef..b29fdf3f 100644 --- a/src/services/ses/types.ts +++ b/src/services/ses/types.ts @@ -7,50 +7,31 @@ export declare class SES extends AWSServiceClient { input: CloneReceiptRuleSetRequest, ): Effect.Effect< CloneReceiptRuleSetResponse, - | AlreadyExistsException - | LimitExceededException - | RuleSetDoesNotExistException - | CommonAwsError + AlreadyExistsException | LimitExceededException | RuleSetDoesNotExistException | CommonAwsError >; createConfigurationSet( input: CreateConfigurationSetRequest, ): Effect.Effect< CreateConfigurationSetResponse, - | ConfigurationSetAlreadyExistsException - | InvalidConfigurationSetException - | LimitExceededException - | CommonAwsError + ConfigurationSetAlreadyExistsException | InvalidConfigurationSetException | LimitExceededException | CommonAwsError >; createConfigurationSetEventDestination( input: CreateConfigurationSetEventDestinationRequest, ): Effect.Effect< CreateConfigurationSetEventDestinationResponse, - | ConfigurationSetDoesNotExistException - | EventDestinationAlreadyExistsException - | InvalidCloudWatchDestinationException - | InvalidFirehoseDestinationException - | InvalidSNSDestinationException - | LimitExceededException - | CommonAwsError + ConfigurationSetDoesNotExistException | EventDestinationAlreadyExistsException | InvalidCloudWatchDestinationException | InvalidFirehoseDestinationException | InvalidSNSDestinationException | LimitExceededException | CommonAwsError >; createConfigurationSetTrackingOptions( input: CreateConfigurationSetTrackingOptionsRequest, ): Effect.Effect< CreateConfigurationSetTrackingOptionsResponse, - | ConfigurationSetDoesNotExistException - | InvalidTrackingOptionsException - | TrackingOptionsAlreadyExistsException - | CommonAwsError + ConfigurationSetDoesNotExistException | InvalidTrackingOptionsException | TrackingOptionsAlreadyExistsException | CommonAwsError >; createCustomVerificationEmailTemplate( input: CreateCustomVerificationEmailTemplateRequest, ): Effect.Effect< {}, - | CustomVerificationEmailInvalidContentException - | CustomVerificationEmailTemplateAlreadyExistsException - | FromEmailAddressNotVerifiedException - | LimitExceededException - | CommonAwsError + CustomVerificationEmailInvalidContentException | CustomVerificationEmailTemplateAlreadyExistsException | FromEmailAddressNotVerifiedException | LimitExceededException | CommonAwsError >; createReceiptFilter( input: CreateReceiptFilterRequest, @@ -62,14 +43,7 @@ export declare class SES extends AWSServiceClient { input: CreateReceiptRuleRequest, ): Effect.Effect< CreateReceiptRuleResponse, - | AlreadyExistsException - | InvalidLambdaFunctionException - | InvalidS3ConfigurationException - | InvalidSnsTopicException - | LimitExceededException - | RuleDoesNotExistException - | RuleSetDoesNotExistException - | CommonAwsError + AlreadyExistsException | InvalidLambdaFunctionException | InvalidS3ConfigurationException | InvalidSnsTopicException | LimitExceededException | RuleDoesNotExistException | RuleSetDoesNotExistException | CommonAwsError >; createReceiptRuleSet( input: CreateReceiptRuleSetRequest, @@ -81,10 +55,7 @@ export declare class SES extends AWSServiceClient { input: CreateTemplateRequest, ): Effect.Effect< CreateTemplateResponse, - | AlreadyExistsException - | InvalidTemplateException - | LimitExceededException - | CommonAwsError + AlreadyExistsException | InvalidTemplateException | LimitExceededException | CommonAwsError >; deleteConfigurationSet( input: DeleteConfigurationSetRequest, @@ -96,30 +67,38 @@ export declare class SES extends AWSServiceClient { input: DeleteConfigurationSetEventDestinationRequest, ): Effect.Effect< DeleteConfigurationSetEventDestinationResponse, - | ConfigurationSetDoesNotExistException - | EventDestinationDoesNotExistException - | CommonAwsError + ConfigurationSetDoesNotExistException | EventDestinationDoesNotExistException | CommonAwsError >; deleteConfigurationSetTrackingOptions( input: DeleteConfigurationSetTrackingOptionsRequest, ): Effect.Effect< DeleteConfigurationSetTrackingOptionsResponse, - | ConfigurationSetDoesNotExistException - | TrackingOptionsDoesNotExistException - | CommonAwsError + ConfigurationSetDoesNotExistException | TrackingOptionsDoesNotExistException | CommonAwsError >; deleteCustomVerificationEmailTemplate( input: DeleteCustomVerificationEmailTemplateRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; deleteIdentity( input: DeleteIdentityRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteIdentityResponse, + CommonAwsError + >; deleteIdentityPolicy( input: DeleteIdentityPolicyRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteIdentityPolicyResponse, + CommonAwsError + >; deleteReceiptFilter( input: DeleteReceiptFilterRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteReceiptFilterResponse, + CommonAwsError + >; deleteReceiptRule( input: DeleteReceiptRuleRequest, ): Effect.Effect< @@ -134,13 +113,22 @@ export declare class SES extends AWSServiceClient { >; deleteTemplate( input: DeleteTemplateRequest, - ): Effect.Effect; + ): Effect.Effect< + DeleteTemplateResponse, + CommonAwsError + >; deleteVerifiedEmailAddress( input: DeleteVerifiedEmailAddressRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; describeActiveReceiptRuleSet( input: DescribeActiveReceiptRuleSetRequest, - ): Effect.Effect; + ): Effect.Effect< + DescribeActiveReceiptRuleSetResponse, + CommonAwsError + >; describeConfigurationSet( input: DescribeConfigurationSetRequest, ): Effect.Effect< @@ -159,7 +147,9 @@ export declare class SES extends AWSServiceClient { DescribeReceiptRuleSetResponse, RuleSetDoesNotExistException | CommonAwsError >; - getAccountSendingEnabled(input: {}): Effect.Effect< + getAccountSendingEnabled( + input: {}, + ): Effect.Effect< GetAccountSendingEnabledResponse, CommonAwsError >; @@ -171,21 +161,43 @@ export declare class SES extends AWSServiceClient { >; getIdentityDkimAttributes( input: GetIdentityDkimAttributesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIdentityDkimAttributesResponse, + CommonAwsError + >; getIdentityMailFromDomainAttributes( input: GetIdentityMailFromDomainAttributesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIdentityMailFromDomainAttributesResponse, + CommonAwsError + >; getIdentityNotificationAttributes( input: GetIdentityNotificationAttributesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIdentityNotificationAttributesResponse, + CommonAwsError + >; getIdentityPolicies( input: GetIdentityPoliciesRequest, - ): Effect.Effect; + ): Effect.Effect< + GetIdentityPoliciesResponse, + CommonAwsError + >; getIdentityVerificationAttributes( input: GetIdentityVerificationAttributesRequest, - ): Effect.Effect; - getSendQuota(input: {}): Effect.Effect; - getSendStatistics(input: {}): Effect.Effect< + ): Effect.Effect< + GetIdentityVerificationAttributesResponse, + CommonAwsError + >; + getSendQuota( + input: {}, + ): Effect.Effect< + GetSendQuotaResponse, + CommonAwsError + >; + getSendStatistics( + input: {}, + ): Effect.Effect< GetSendStatisticsResponse, CommonAwsError >; @@ -197,7 +209,10 @@ export declare class SES extends AWSServiceClient { >; listConfigurationSets( input: ListConfigurationSetsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListConfigurationSetsResponse, + CommonAwsError + >; listCustomVerificationEmailTemplates( input: ListCustomVerificationEmailTemplatesRequest, ): Effect.Effect< @@ -206,20 +221,37 @@ export declare class SES extends AWSServiceClient { >; listIdentities( input: ListIdentitiesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListIdentitiesResponse, + CommonAwsError + >; listIdentityPolicies( input: ListIdentityPoliciesRequest, - ): Effect.Effect; + ): Effect.Effect< + ListIdentityPoliciesResponse, + CommonAwsError + >; listReceiptFilters( input: ListReceiptFiltersRequest, - ): Effect.Effect; + ): Effect.Effect< + ListReceiptFiltersResponse, + CommonAwsError + >; listReceiptRuleSets( input: ListReceiptRuleSetsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListReceiptRuleSetsResponse, + CommonAwsError + >; listTemplates( input: ListTemplatesRequest, - ): Effect.Effect; - listVerifiedEmailAddresses(input: {}): Effect.Effect< + ): Effect.Effect< + ListTemplatesResponse, + CommonAwsError + >; + listVerifiedEmailAddresses( + input: {}, + ): Effect.Effect< ListVerifiedEmailAddressesResponse, CommonAwsError >; @@ -227,9 +259,7 @@ export declare class SES extends AWSServiceClient { input: PutConfigurationSetDeliveryOptionsRequest, ): Effect.Effect< PutConfigurationSetDeliveryOptionsResponse, - | ConfigurationSetDoesNotExistException - | InvalidDeliveryOptionsException - | CommonAwsError + ConfigurationSetDoesNotExistException | InvalidDeliveryOptionsException | CommonAwsError >; putIdentityPolicy( input: PutIdentityPolicyRequest, @@ -245,63 +275,39 @@ export declare class SES extends AWSServiceClient { >; sendBounce( input: SendBounceRequest, - ): Effect.Effect; + ): Effect.Effect< + SendBounceResponse, + MessageRejected | CommonAwsError + >; sendBulkTemplatedEmail( input: SendBulkTemplatedEmailRequest, ): Effect.Effect< SendBulkTemplatedEmailResponse, - | AccountSendingPausedException - | ConfigurationSetDoesNotExistException - | ConfigurationSetSendingPausedException - | MailFromDomainNotVerifiedException - | MessageRejected - | TemplateDoesNotExistException - | CommonAwsError + AccountSendingPausedException | ConfigurationSetDoesNotExistException | ConfigurationSetSendingPausedException | MailFromDomainNotVerifiedException | MessageRejected | TemplateDoesNotExistException | CommonAwsError >; sendCustomVerificationEmail( input: SendCustomVerificationEmailRequest, ): Effect.Effect< SendCustomVerificationEmailResponse, - | ConfigurationSetDoesNotExistException - | CustomVerificationEmailTemplateDoesNotExistException - | FromEmailAddressNotVerifiedException - | MessageRejected - | ProductionAccessNotGrantedException - | CommonAwsError + ConfigurationSetDoesNotExistException | CustomVerificationEmailTemplateDoesNotExistException | FromEmailAddressNotVerifiedException | MessageRejected | ProductionAccessNotGrantedException | CommonAwsError >; sendEmail( input: SendEmailRequest, ): Effect.Effect< SendEmailResponse, - | AccountSendingPausedException - | ConfigurationSetDoesNotExistException - | ConfigurationSetSendingPausedException - | MailFromDomainNotVerifiedException - | MessageRejected - | CommonAwsError + AccountSendingPausedException | ConfigurationSetDoesNotExistException | ConfigurationSetSendingPausedException | MailFromDomainNotVerifiedException | MessageRejected | CommonAwsError >; sendRawEmail( input: SendRawEmailRequest, ): Effect.Effect< SendRawEmailResponse, - | AccountSendingPausedException - | ConfigurationSetDoesNotExistException - | ConfigurationSetSendingPausedException - | MailFromDomainNotVerifiedException - | MessageRejected - | CommonAwsError + AccountSendingPausedException | ConfigurationSetDoesNotExistException | ConfigurationSetSendingPausedException | MailFromDomainNotVerifiedException | MessageRejected | CommonAwsError >; sendTemplatedEmail( input: SendTemplatedEmailRequest, ): Effect.Effect< SendTemplatedEmailResponse, - | AccountSendingPausedException - | ConfigurationSetDoesNotExistException - | ConfigurationSetSendingPausedException - | MailFromDomainNotVerifiedException - | MessageRejected - | TemplateDoesNotExistException - | CommonAwsError + AccountSendingPausedException | ConfigurationSetDoesNotExistException | ConfigurationSetSendingPausedException | MailFromDomainNotVerifiedException | MessageRejected | TemplateDoesNotExistException | CommonAwsError >; setActiveReceiptRuleSet( input: SetActiveReceiptRuleSetRequest, @@ -311,7 +317,10 @@ export declare class SES extends AWSServiceClient { >; setIdentityDkimEnabled( input: SetIdentityDkimEnabledRequest, - ): Effect.Effect; + ): Effect.Effect< + SetIdentityDkimEnabledResponse, + CommonAwsError + >; setIdentityFeedbackForwardingEnabled( input: SetIdentityFeedbackForwardingEnabledRequest, ): Effect.Effect< @@ -326,10 +335,16 @@ export declare class SES extends AWSServiceClient { >; setIdentityMailFromDomain( input: SetIdentityMailFromDomainRequest, - ): Effect.Effect; + ): Effect.Effect< + SetIdentityMailFromDomainResponse, + CommonAwsError + >; setIdentityNotificationTopic( input: SetIdentityNotificationTopicRequest, - ): Effect.Effect; + ): Effect.Effect< + SetIdentityNotificationTopicResponse, + CommonAwsError + >; setReceiptRulePosition( input: SetReceiptRulePositionRequest, ): Effect.Effect< @@ -340,60 +355,49 @@ export declare class SES extends AWSServiceClient { input: TestRenderTemplateRequest, ): Effect.Effect< TestRenderTemplateResponse, - | InvalidRenderingParameterException - | MissingRenderingAttributeException - | TemplateDoesNotExistException - | CommonAwsError + InvalidRenderingParameterException | MissingRenderingAttributeException | TemplateDoesNotExistException | CommonAwsError >; updateAccountSendingEnabled( input: UpdateAccountSendingEnabledRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; updateConfigurationSetEventDestination( input: UpdateConfigurationSetEventDestinationRequest, ): Effect.Effect< UpdateConfigurationSetEventDestinationResponse, - | ConfigurationSetDoesNotExistException - | EventDestinationDoesNotExistException - | InvalidCloudWatchDestinationException - | InvalidFirehoseDestinationException - | InvalidSNSDestinationException - | CommonAwsError + ConfigurationSetDoesNotExistException | EventDestinationDoesNotExistException | InvalidCloudWatchDestinationException | InvalidFirehoseDestinationException | InvalidSNSDestinationException | CommonAwsError >; updateConfigurationSetReputationMetricsEnabled( input: UpdateConfigurationSetReputationMetricsEnabledRequest, - ): Effect.Effect<{}, ConfigurationSetDoesNotExistException | CommonAwsError>; + ): Effect.Effect< + {}, + ConfigurationSetDoesNotExistException | CommonAwsError + >; updateConfigurationSetSendingEnabled( input: UpdateConfigurationSetSendingEnabledRequest, - ): Effect.Effect<{}, ConfigurationSetDoesNotExistException | CommonAwsError>; + ): Effect.Effect< + {}, + ConfigurationSetDoesNotExistException | CommonAwsError + >; updateConfigurationSetTrackingOptions( input: UpdateConfigurationSetTrackingOptionsRequest, ): Effect.Effect< UpdateConfigurationSetTrackingOptionsResponse, - | ConfigurationSetDoesNotExistException - | InvalidTrackingOptionsException - | TrackingOptionsDoesNotExistException - | CommonAwsError + ConfigurationSetDoesNotExistException | InvalidTrackingOptionsException | TrackingOptionsDoesNotExistException | CommonAwsError >; updateCustomVerificationEmailTemplate( input: UpdateCustomVerificationEmailTemplateRequest, ): Effect.Effect< {}, - | CustomVerificationEmailInvalidContentException - | CustomVerificationEmailTemplateDoesNotExistException - | FromEmailAddressNotVerifiedException - | CommonAwsError + CustomVerificationEmailInvalidContentException | CustomVerificationEmailTemplateDoesNotExistException | FromEmailAddressNotVerifiedException | CommonAwsError >; updateReceiptRule( input: UpdateReceiptRuleRequest, ): Effect.Effect< UpdateReceiptRuleResponse, - | InvalidLambdaFunctionException - | InvalidS3ConfigurationException - | InvalidSnsTopicException - | LimitExceededException - | RuleDoesNotExistException - | RuleSetDoesNotExistException - | CommonAwsError + InvalidLambdaFunctionException | InvalidS3ConfigurationException | InvalidSnsTopicException | LimitExceededException | RuleDoesNotExistException | RuleSetDoesNotExistException | CommonAwsError >; updateTemplate( input: UpdateTemplateRequest, @@ -403,16 +407,28 @@ export declare class SES extends AWSServiceClient { >; verifyDomainDkim( input: VerifyDomainDkimRequest, - ): Effect.Effect; + ): Effect.Effect< + VerifyDomainDkimResponse, + CommonAwsError + >; verifyDomainIdentity( input: VerifyDomainIdentityRequest, - ): Effect.Effect; + ): Effect.Effect< + VerifyDomainIdentityResponse, + CommonAwsError + >; verifyEmailAddress( input: VerifyEmailAddressRequest, - ): Effect.Effect<{}, CommonAwsError>; + ): Effect.Effect< + {}, + CommonAwsError + >; verifyEmailIdentity( input: VerifyEmailIdentityRequest, - ): Effect.Effect; + ): Effect.Effect< + VerifyEmailIdentityResponse, + CommonAwsError + >; } export declare class Ses extends SES {} @@ -464,13 +480,7 @@ export type BounceSmtpReplyCode = string; export type BounceStatusCode = string; -export type BounceType = - | "DoesNotExist" - | "MessageTooLarge" - | "ExceededQuota" - | "ContentRejected" - | "Undefined" - | "TemporaryFailure"; +export type BounceType = "DoesNotExist" | "MessageTooLarge" | "ExceededQuota" | "ContentRejected" | "Undefined" | "TemporaryFailure"; export interface BulkEmailDestination { Destination: Destination; ReplacementTags?: Array; @@ -483,21 +493,7 @@ export interface BulkEmailDestinationStatus { MessageId?: string; } export type BulkEmailDestinationStatusList = Array; -export type BulkEmailStatus = - | "Success" - | "MessageRejected" - | "MailFromDomainNotVerified" - | "ConfigurationSetDoesNotExist" - | "TemplateDoesNotExist" - | "AccountSuspended" - | "AccountThrottled" - | "AccountDailyQuotaExceeded" - | "InvalidSendingPoolName" - | "AccountSendingPaused" - | "ConfigurationSetSendingPaused" - | "InvalidParameterValue" - | "TransientFailure" - | "Failed"; +export type BulkEmailStatus = "Success" | "MessageRejected" | "MailFromDomainNotVerified" | "ConfigurationSetDoesNotExist" | "TemplateDoesNotExist" | "AccountSuspended" | "AccountThrottled" | "AccountDailyQuotaExceeded" | "InvalidSendingPoolName" | "AccountSendingPaused" | "ConfigurationSetSendingPaused" | "InvalidParameterValue" | "TransientFailure" | "Failed"; export declare class CannotDeleteException extends EffectData.TaggedError( "CannotDeleteException", )<{ @@ -512,7 +508,8 @@ export interface CloneReceiptRuleSetRequest { RuleSetName: string; OriginalRuleSetName: string; } -export interface CloneReceiptRuleSetResponse {} +export interface CloneReceiptRuleSetResponse { +} export interface CloudWatchDestination { DimensionConfigurations: Array; } @@ -521,8 +518,7 @@ export interface CloudWatchDimensionConfiguration { DimensionValueSource: DimensionValueSource; DefaultDimensionValue: string; } -export type CloudWatchDimensionConfigurations = - Array; +export type CloudWatchDimensionConfigurations = Array; export interface ConfigurationSet { Name: string; } @@ -532,11 +528,7 @@ export declare class ConfigurationSetAlreadyExistsException extends EffectData.T readonly ConfigurationSetName?: string; readonly message?: string; }> {} -export type ConfigurationSetAttribute = - | "eventDestinations" - | "trackingOptions" - | "deliveryOptions" - | "reputationOptions"; +export type ConfigurationSetAttribute = "eventDestinations" | "trackingOptions" | "deliveryOptions" | "reputationOptions"; export type ConfigurationSetAttributeList = Array; export declare class ConfigurationSetDoesNotExistException extends EffectData.TaggedError( "ConfigurationSetDoesNotExistException", @@ -569,16 +561,19 @@ export interface CreateConfigurationSetEventDestinationRequest { ConfigurationSetName: string; EventDestination: EventDestination; } -export interface CreateConfigurationSetEventDestinationResponse {} +export interface CreateConfigurationSetEventDestinationResponse { +} export interface CreateConfigurationSetRequest { ConfigurationSet: ConfigurationSet; } -export interface CreateConfigurationSetResponse {} +export interface CreateConfigurationSetResponse { +} export interface CreateConfigurationSetTrackingOptionsRequest { ConfigurationSetName: string; TrackingOptions: TrackingOptions; } -export interface CreateConfigurationSetTrackingOptionsResponse {} +export interface CreateConfigurationSetTrackingOptionsResponse { +} export interface CreateCustomVerificationEmailTemplateRequest { TemplateName: string; FromEmailAddress: string; @@ -590,26 +585,26 @@ export interface CreateCustomVerificationEmailTemplateRequest { export interface CreateReceiptFilterRequest { Filter: ReceiptFilter; } -export interface CreateReceiptFilterResponse {} +export interface CreateReceiptFilterResponse { +} export interface CreateReceiptRuleRequest { RuleSetName: string; After?: string; Rule: ReceiptRule; } -export interface CreateReceiptRuleResponse {} +export interface CreateReceiptRuleResponse { +} export interface CreateReceiptRuleSetRequest { RuleSetName: string; } -export interface CreateReceiptRuleSetResponse {} +export interface CreateReceiptRuleSetResponse { +} export interface CreateTemplateRequest { Template: Template; } -export interface CreateTemplateResponse {} -export type CustomMailFromStatus = - | "Pending" - | "Success" - | "Failed" - | "TemporaryFailure"; +export interface CreateTemplateResponse { +} +export type CustomMailFromStatus = "Pending" | "Success" | "Failed" | "TemporaryFailure"; export type CustomRedirectDomain = string; export declare class CustomVerificationEmailInvalidContentException extends EffectData.TaggedError( @@ -636,23 +631,25 @@ export declare class CustomVerificationEmailTemplateDoesNotExistException extend readonly CustomVerificationEmailTemplateName?: string; readonly message?: string; }> {} -export type CustomVerificationEmailTemplates = - Array; +export type CustomVerificationEmailTemplates = Array; export type DefaultDimensionValue = string; export interface DeleteConfigurationSetEventDestinationRequest { ConfigurationSetName: string; EventDestinationName: string; } -export interface DeleteConfigurationSetEventDestinationResponse {} +export interface DeleteConfigurationSetEventDestinationResponse { +} export interface DeleteConfigurationSetRequest { ConfigurationSetName: string; } -export interface DeleteConfigurationSetResponse {} +export interface DeleteConfigurationSetResponse { +} export interface DeleteConfigurationSetTrackingOptionsRequest { ConfigurationSetName: string; } -export interface DeleteConfigurationSetTrackingOptionsResponse {} +export interface DeleteConfigurationSetTrackingOptionsResponse { +} export interface DeleteCustomVerificationEmailTemplateRequest { TemplateName: string; } @@ -660,35 +657,42 @@ export interface DeleteIdentityPolicyRequest { Identity: string; PolicyName: string; } -export interface DeleteIdentityPolicyResponse {} +export interface DeleteIdentityPolicyResponse { +} export interface DeleteIdentityRequest { Identity: string; } -export interface DeleteIdentityResponse {} +export interface DeleteIdentityResponse { +} export interface DeleteReceiptFilterRequest { FilterName: string; } -export interface DeleteReceiptFilterResponse {} +export interface DeleteReceiptFilterResponse { +} export interface DeleteReceiptRuleRequest { RuleSetName: string; RuleName: string; } -export interface DeleteReceiptRuleResponse {} +export interface DeleteReceiptRuleResponse { +} export interface DeleteReceiptRuleSetRequest { RuleSetName: string; } -export interface DeleteReceiptRuleSetResponse {} +export interface DeleteReceiptRuleSetResponse { +} export interface DeleteTemplateRequest { TemplateName: string; } -export interface DeleteTemplateResponse {} +export interface DeleteTemplateResponse { +} export interface DeleteVerifiedEmailAddressRequest { EmailAddress: string; } export interface DeliveryOptions { TlsPolicy?: TlsPolicy; } -export interface DescribeActiveReceiptRuleSetRequest {} +export interface DescribeActiveReceiptRuleSetRequest { +} export interface DescribeActiveReceiptRuleSetResponse { Metadata?: ReceiptRuleSetMetadata; Rules?: Array; @@ -731,12 +735,7 @@ export type DimensionValueSource = "messageTag" | "emailHeader" | "linkTag"; export type DkimAttributes = Record; export type Domain = string; -export type DsnAction = - | "failed" - | "delayed" - | "delivered" - | "relayed" - | "expanded"; +export type DsnAction = "failed" | "delayed" | "delivered" | "relayed" | "expanded"; export type DsnStatus = string; export type Enabled = boolean; @@ -770,15 +769,7 @@ export declare class EventDestinationDoesNotExistException extends EffectData.Ta export type EventDestinationName = string; export type EventDestinations = Array; -export type EventType = - | "send" - | "reject" - | "bounce" - | "complaint" - | "delivery" - | "open" - | "click" - | "renderingFailure"; +export type EventType = "send" | "reject" | "bounce" | "complaint" | "delivery" | "open" | "click" | "renderingFailure"; export type EventTypes = Array; export type Explanation = string; @@ -1016,7 +1007,8 @@ export interface ListIdentityPoliciesRequest { export interface ListIdentityPoliciesResponse { PolicyNames: Array; } -export interface ListReceiptFiltersRequest {} +export interface ListReceiptFiltersRequest { +} export interface ListReceiptFiltersResponse { Filters?: Array; } @@ -1038,10 +1030,7 @@ export interface ListTemplatesResponse { export interface ListVerifiedEmailAddressesResponse { VerifiedEmailAddresses?: Array; } -export type MailFromDomainAttributes = Record< - string, - IdentityMailFromDomainAttributes ->; +export type MailFromDomainAttributes = Record; export type MailFromDomainName = string; export declare class MailFromDomainNotVerifiedException extends EffectData.TaggedError( @@ -1092,10 +1081,7 @@ export declare class MissingRenderingAttributeException extends EffectData.Tagge }> {} export type NextToken = string; -export type NotificationAttributes = Record< - string, - IdentityNotificationAttributes ->; +export type NotificationAttributes = Record; export type NotificationTopic = string; export type NotificationType = "Bounce" | "Complaint" | "Delivery"; @@ -1114,13 +1100,15 @@ export interface PutConfigurationSetDeliveryOptionsRequest { ConfigurationSetName: string; DeliveryOptions?: DeliveryOptions; } -export interface PutConfigurationSetDeliveryOptionsResponse {} +export interface PutConfigurationSetDeliveryOptionsResponse { +} export interface PutIdentityPolicyRequest { Identity: string; PolicyName: string; Policy: string; } -export interface PutIdentityPolicyResponse {} +export interface PutIdentityPolicyResponse { +} export interface RawMessage { Data: Uint8Array | string; } @@ -1188,7 +1176,8 @@ export interface ReorderReceiptRuleSetRequest { RuleSetName: string; RuleNames: Array; } -export interface ReorderReceiptRuleSetResponse {} +export interface ReorderReceiptRuleSetResponse { +} export type ReportingMta = string; export interface ReputationOptions { @@ -1312,41 +1301,48 @@ export type SentLast24Hours = number; export interface SetActiveReceiptRuleSetRequest { RuleSetName?: string; } -export interface SetActiveReceiptRuleSetResponse {} +export interface SetActiveReceiptRuleSetResponse { +} export interface SetIdentityDkimEnabledRequest { Identity: string; DkimEnabled: boolean; } -export interface SetIdentityDkimEnabledResponse {} +export interface SetIdentityDkimEnabledResponse { +} export interface SetIdentityFeedbackForwardingEnabledRequest { Identity: string; ForwardingEnabled: boolean; } -export interface SetIdentityFeedbackForwardingEnabledResponse {} +export interface SetIdentityFeedbackForwardingEnabledResponse { +} export interface SetIdentityHeadersInNotificationsEnabledRequest { Identity: string; NotificationType: NotificationType; Enabled: boolean; } -export interface SetIdentityHeadersInNotificationsEnabledResponse {} +export interface SetIdentityHeadersInNotificationsEnabledResponse { +} export interface SetIdentityMailFromDomainRequest { Identity: string; MailFromDomain?: string; BehaviorOnMXFailure?: BehaviorOnMXFailure; } -export interface SetIdentityMailFromDomainResponse {} +export interface SetIdentityMailFromDomainResponse { +} export interface SetIdentityNotificationTopicRequest { Identity: string; NotificationType: NotificationType; SnsTopic?: string; } -export interface SetIdentityNotificationTopicResponse {} +export interface SetIdentityNotificationTopicResponse { +} export interface SetReceiptRulePositionRequest { RuleSetName: string; RuleName: string; After?: string; } -export interface SetReceiptRulePositionResponse {} +export interface SetReceiptRulePositionResponse { +} export interface SNSAction { TopicArn: string; Encoding?: SNSActionEncoding; @@ -1423,7 +1419,8 @@ export interface UpdateConfigurationSetEventDestinationRequest { ConfigurationSetName: string; EventDestination: EventDestination; } -export interface UpdateConfigurationSetEventDestinationResponse {} +export interface UpdateConfigurationSetEventDestinationResponse { +} export interface UpdateConfigurationSetReputationMetricsEnabledRequest { ConfigurationSetName: string; Enabled: boolean; @@ -1436,7 +1433,8 @@ export interface UpdateConfigurationSetTrackingOptionsRequest { ConfigurationSetName: string; TrackingOptions: TrackingOptions; } -export interface UpdateConfigurationSetTrackingOptionsResponse {} +export interface UpdateConfigurationSetTrackingOptionsResponse { +} export interface UpdateCustomVerificationEmailTemplateRequest { TemplateName: string; FromEmailAddress?: string; @@ -1449,21 +1447,15 @@ export interface UpdateReceiptRuleRequest { RuleSetName: string; Rule: ReceiptRule; } -export interface UpdateReceiptRuleResponse {} +export interface UpdateReceiptRuleResponse { +} export interface UpdateTemplateRequest { Template: Template; } -export interface UpdateTemplateResponse {} -export type VerificationAttributes = Record< - string, - IdentityVerificationAttributes ->; -export type VerificationStatus = - | "Pending" - | "Success" - | "Failed" - | "TemporaryFailure" - | "NotStarted"; +export interface UpdateTemplateResponse { +} +export type VerificationAttributes = Record; +export type VerificationStatus = "Pending" | "Success" | "Failed" | "TemporaryFailure" | "NotStarted"; export type VerificationToken = string; export type VerificationTokenList = Array; @@ -1485,7 +1477,8 @@ export interface VerifyEmailAddressRequest { export interface VerifyEmailIdentityRequest { EmailAddress: string; } -export interface VerifyEmailIdentityResponse {} +export interface VerifyEmailIdentityResponse { +} export interface WorkmailAction { TopicArn?: string; OrganizationArn: string; @@ -1589,7 +1582,9 @@ export declare namespace CreateTemplate { export declare namespace DeleteConfigurationSet { export type Input = DeleteConfigurationSetRequest; export type Output = DeleteConfigurationSetResponse; - export type Error = ConfigurationSetDoesNotExistException | CommonAwsError; + export type Error = + | ConfigurationSetDoesNotExistException + | CommonAwsError; } export declare namespace DeleteConfigurationSetEventDestination { @@ -1613,61 +1608,74 @@ export declare namespace DeleteConfigurationSetTrackingOptions { export declare namespace DeleteCustomVerificationEmailTemplate { export type Input = DeleteCustomVerificationEmailTemplateRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteIdentity { export type Input = DeleteIdentityRequest; export type Output = DeleteIdentityResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteIdentityPolicy { export type Input = DeleteIdentityPolicyRequest; export type Output = DeleteIdentityPolicyResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteReceiptFilter { export type Input = DeleteReceiptFilterRequest; export type Output = DeleteReceiptFilterResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteReceiptRule { export type Input = DeleteReceiptRuleRequest; export type Output = DeleteReceiptRuleResponse; - export type Error = RuleSetDoesNotExistException | CommonAwsError; + export type Error = + | RuleSetDoesNotExistException + | CommonAwsError; } export declare namespace DeleteReceiptRuleSet { export type Input = DeleteReceiptRuleSetRequest; export type Output = DeleteReceiptRuleSetResponse; - export type Error = CannotDeleteException | CommonAwsError; + export type Error = + | CannotDeleteException + | CommonAwsError; } export declare namespace DeleteTemplate { export type Input = DeleteTemplateRequest; export type Output = DeleteTemplateResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DeleteVerifiedEmailAddress { export type Input = DeleteVerifiedEmailAddressRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeActiveReceiptRuleSet { export type Input = DescribeActiveReceiptRuleSetRequest; export type Output = DescribeActiveReceiptRuleSetResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace DescribeConfigurationSet { export type Input = DescribeConfigurationSetRequest; export type Output = DescribeConfigurationSetResponse; - export type Error = ConfigurationSetDoesNotExistException | CommonAwsError; + export type Error = + | ConfigurationSetDoesNotExistException + | CommonAwsError; } export declare namespace DescribeReceiptRule { @@ -1682,13 +1690,16 @@ export declare namespace DescribeReceiptRule { export declare namespace DescribeReceiptRuleSet { export type Input = DescribeReceiptRuleSetRequest; export type Output = DescribeReceiptRuleSetResponse; - export type Error = RuleSetDoesNotExistException | CommonAwsError; + export type Error = + | RuleSetDoesNotExistException + | CommonAwsError; } export declare namespace GetAccountSendingEnabled { export type Input = {}; export type Output = GetAccountSendingEnabledResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCustomVerificationEmailTemplate { @@ -1702,97 +1713,114 @@ export declare namespace GetCustomVerificationEmailTemplate { export declare namespace GetIdentityDkimAttributes { export type Input = GetIdentityDkimAttributesRequest; export type Output = GetIdentityDkimAttributesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIdentityMailFromDomainAttributes { export type Input = GetIdentityMailFromDomainAttributesRequest; export type Output = GetIdentityMailFromDomainAttributesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIdentityNotificationAttributes { export type Input = GetIdentityNotificationAttributesRequest; export type Output = GetIdentityNotificationAttributesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIdentityPolicies { export type Input = GetIdentityPoliciesRequest; export type Output = GetIdentityPoliciesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetIdentityVerificationAttributes { export type Input = GetIdentityVerificationAttributesRequest; export type Output = GetIdentityVerificationAttributesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSendQuota { export type Input = {}; export type Output = GetSendQuotaResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSendStatistics { export type Input = {}; export type Output = GetSendStatisticsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetTemplate { export type Input = GetTemplateRequest; export type Output = GetTemplateResponse; - export type Error = TemplateDoesNotExistException | CommonAwsError; + export type Error = + | TemplateDoesNotExistException + | CommonAwsError; } export declare namespace ListConfigurationSets { export type Input = ListConfigurationSetsRequest; export type Output = ListConfigurationSetsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListCustomVerificationEmailTemplates { export type Input = ListCustomVerificationEmailTemplatesRequest; export type Output = ListCustomVerificationEmailTemplatesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListIdentities { export type Input = ListIdentitiesRequest; export type Output = ListIdentitiesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListIdentityPolicies { export type Input = ListIdentityPoliciesRequest; export type Output = ListIdentityPoliciesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListReceiptFilters { export type Input = ListReceiptFiltersRequest; export type Output = ListReceiptFiltersResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListReceiptRuleSets { export type Input = ListReceiptRuleSetsRequest; export type Output = ListReceiptRuleSetsResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListTemplates { export type Input = ListTemplatesRequest; export type Output = ListTemplatesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListVerifiedEmailAddresses { export type Input = {}; export type Output = ListVerifiedEmailAddressesResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace PutConfigurationSetDeliveryOptions { @@ -1807,7 +1835,9 @@ export declare namespace PutConfigurationSetDeliveryOptions { export declare namespace PutIdentityPolicy { export type Input = PutIdentityPolicyRequest; export type Output = PutIdentityPolicyResponse; - export type Error = InvalidPolicyException | CommonAwsError; + export type Error = + | InvalidPolicyException + | CommonAwsError; } export declare namespace ReorderReceiptRuleSet { @@ -1822,7 +1852,9 @@ export declare namespace ReorderReceiptRuleSet { export declare namespace SendBounce { export type Input = SendBounceRequest; export type Output = SendBounceResponse; - export type Error = MessageRejected | CommonAwsError; + export type Error = + | MessageRejected + | CommonAwsError; } export declare namespace SendBulkTemplatedEmail { @@ -1890,37 +1922,44 @@ export declare namespace SendTemplatedEmail { export declare namespace SetActiveReceiptRuleSet { export type Input = SetActiveReceiptRuleSetRequest; export type Output = SetActiveReceiptRuleSetResponse; - export type Error = RuleSetDoesNotExistException | CommonAwsError; + export type Error = + | RuleSetDoesNotExistException + | CommonAwsError; } export declare namespace SetIdentityDkimEnabled { export type Input = SetIdentityDkimEnabledRequest; export type Output = SetIdentityDkimEnabledResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SetIdentityFeedbackForwardingEnabled { export type Input = SetIdentityFeedbackForwardingEnabledRequest; export type Output = SetIdentityFeedbackForwardingEnabledResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SetIdentityHeadersInNotificationsEnabled { export type Input = SetIdentityHeadersInNotificationsEnabledRequest; export type Output = SetIdentityHeadersInNotificationsEnabledResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SetIdentityMailFromDomain { export type Input = SetIdentityMailFromDomainRequest; export type Output = SetIdentityMailFromDomainResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SetIdentityNotificationTopic { export type Input = SetIdentityNotificationTopicRequest; export type Output = SetIdentityNotificationTopicResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace SetReceiptRulePosition { @@ -1945,7 +1984,8 @@ export declare namespace TestRenderTemplate { export declare namespace UpdateAccountSendingEnabled { export type Input = UpdateAccountSendingEnabledRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace UpdateConfigurationSetEventDestination { @@ -1963,13 +2003,17 @@ export declare namespace UpdateConfigurationSetEventDestination { export declare namespace UpdateConfigurationSetReputationMetricsEnabled { export type Input = UpdateConfigurationSetReputationMetricsEnabledRequest; export type Output = {}; - export type Error = ConfigurationSetDoesNotExistException | CommonAwsError; + export type Error = + | ConfigurationSetDoesNotExistException + | CommonAwsError; } export declare namespace UpdateConfigurationSetSendingEnabled { export type Input = UpdateConfigurationSetSendingEnabledRequest; export type Output = {}; - export type Error = ConfigurationSetDoesNotExistException | CommonAwsError; + export type Error = + | ConfigurationSetDoesNotExistException + | CommonAwsError; } export declare namespace UpdateConfigurationSetTrackingOptions { @@ -2017,60 +2061,30 @@ export declare namespace UpdateTemplate { export declare namespace VerifyDomainDkim { export type Input = VerifyDomainDkimRequest; export type Output = VerifyDomainDkimResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace VerifyDomainIdentity { export type Input = VerifyDomainIdentityRequest; export type Output = VerifyDomainIdentityResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace VerifyEmailAddress { export type Input = VerifyEmailAddressRequest; export type Output = {}; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace VerifyEmailIdentity { export type Input = VerifyEmailIdentityRequest; export type Output = VerifyEmailIdentityResponse; - export type Error = CommonAwsError; -} - -export type SESErrors = - | AccountSendingPausedException - | AlreadyExistsException - | CannotDeleteException - | ConfigurationSetAlreadyExistsException - | ConfigurationSetDoesNotExistException - | ConfigurationSetSendingPausedException - | CustomVerificationEmailInvalidContentException - | CustomVerificationEmailTemplateAlreadyExistsException - | CustomVerificationEmailTemplateDoesNotExistException - | EventDestinationAlreadyExistsException - | EventDestinationDoesNotExistException - | FromEmailAddressNotVerifiedException - | InvalidCloudWatchDestinationException - | InvalidConfigurationSetException - | InvalidDeliveryOptionsException - | InvalidFirehoseDestinationException - | InvalidLambdaFunctionException - | InvalidPolicyException - | InvalidRenderingParameterException - | InvalidS3ConfigurationException - | InvalidSNSDestinationException - | InvalidSnsTopicException - | InvalidTemplateException - | InvalidTrackingOptionsException - | LimitExceededException - | MailFromDomainNotVerifiedException - | MessageRejected - | MissingRenderingAttributeException - | ProductionAccessNotGrantedException - | RuleDoesNotExistException - | RuleSetDoesNotExistException - | TemplateDoesNotExistException - | TrackingOptionsAlreadyExistsException - | TrackingOptionsDoesNotExistException - | CommonAwsError; + export type Error = + | CommonAwsError; +} + +export type SESErrors = AccountSendingPausedException | AlreadyExistsException | CannotDeleteException | ConfigurationSetAlreadyExistsException | ConfigurationSetDoesNotExistException | ConfigurationSetSendingPausedException | CustomVerificationEmailInvalidContentException | CustomVerificationEmailTemplateAlreadyExistsException | CustomVerificationEmailTemplateDoesNotExistException | EventDestinationAlreadyExistsException | EventDestinationDoesNotExistException | FromEmailAddressNotVerifiedException | InvalidCloudWatchDestinationException | InvalidConfigurationSetException | InvalidDeliveryOptionsException | InvalidFirehoseDestinationException | InvalidLambdaFunctionException | InvalidPolicyException | InvalidRenderingParameterException | InvalidS3ConfigurationException | InvalidSNSDestinationException | InvalidSnsTopicException | InvalidTemplateException | InvalidTrackingOptionsException | LimitExceededException | MailFromDomainNotVerifiedException | MessageRejected | MissingRenderingAttributeException | ProductionAccessNotGrantedException | RuleDoesNotExistException | RuleSetDoesNotExistException | TemplateDoesNotExistException | TrackingOptionsAlreadyExistsException | TrackingOptionsDoesNotExistException | CommonAwsError; + diff --git a/src/services/sesv2/index.ts b/src/services/sesv2/index.ts index c8765022..ec3c9366 100644 --- a/src/services/sesv2/index.ts +++ b/src/services/sesv2/index.ts @@ -5,26 +5,7 @@ import type { SESv2 as _SESv2Client } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,163 +15,115 @@ const metadata = { sigV4ServiceName: "ses", endpointPrefix: "email", operations: { - BatchGetMetricData: "POST /v2/email/metrics/batch", - CancelExportJob: "PUT /v2/email/export-jobs/{JobId}/cancel", - CreateConfigurationSet: "POST /v2/email/configuration-sets", - CreateConfigurationSetEventDestination: - "POST /v2/email/configuration-sets/{ConfigurationSetName}/event-destinations", - CreateContact: "POST /v2/email/contact-lists/{ContactListName}/contacts", - CreateContactList: "POST /v2/email/contact-lists", - CreateCustomVerificationEmailTemplate: - "POST /v2/email/custom-verification-email-templates", - CreateDedicatedIpPool: "POST /v2/email/dedicated-ip-pools", - CreateDeliverabilityTestReport: - "POST /v2/email/deliverability-dashboard/test", - CreateEmailIdentity: "POST /v2/email/identities", - CreateEmailIdentityPolicy: - "POST /v2/email/identities/{EmailIdentity}/policies/{PolicyName}", - CreateEmailTemplate: "POST /v2/email/templates", - CreateExportJob: "POST /v2/email/export-jobs", - CreateImportJob: "POST /v2/email/import-jobs", - CreateMultiRegionEndpoint: "POST /v2/email/multi-region-endpoints", - CreateTenant: "POST /v2/email/tenants", - CreateTenantResourceAssociation: "POST /v2/email/tenants/resources", - DeleteConfigurationSet: - "DELETE /v2/email/configuration-sets/{ConfigurationSetName}", - DeleteConfigurationSetEventDestination: - "DELETE /v2/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - DeleteContact: - "DELETE /v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}", - DeleteContactList: "DELETE /v2/email/contact-lists/{ContactListName}", - DeleteCustomVerificationEmailTemplate: - "DELETE /v2/email/custom-verification-email-templates/{TemplateName}", - DeleteDedicatedIpPool: "DELETE /v2/email/dedicated-ip-pools/{PoolName}", - DeleteEmailIdentity: "DELETE /v2/email/identities/{EmailIdentity}", - DeleteEmailIdentityPolicy: - "DELETE /v2/email/identities/{EmailIdentity}/policies/{PolicyName}", - DeleteEmailTemplate: "DELETE /v2/email/templates/{TemplateName}", - DeleteMultiRegionEndpoint: - "DELETE /v2/email/multi-region-endpoints/{EndpointName}", - DeleteSuppressedDestination: - "DELETE /v2/email/suppression/addresses/{EmailAddress}", - DeleteTenant: "POST /v2/email/tenants/delete", - DeleteTenantResourceAssociation: "POST /v2/email/tenants/resources/delete", - GetAccount: "GET /v2/email/account", - GetBlacklistReports: - "GET /v2/email/deliverability-dashboard/blacklist-report", - GetConfigurationSet: - "GET /v2/email/configuration-sets/{ConfigurationSetName}", - GetConfigurationSetEventDestinations: - "GET /v2/email/configuration-sets/{ConfigurationSetName}/event-destinations", - GetContact: - "GET /v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}", - GetContactList: "GET /v2/email/contact-lists/{ContactListName}", - GetCustomVerificationEmailTemplate: - "GET /v2/email/custom-verification-email-templates/{TemplateName}", - GetDedicatedIp: "GET /v2/email/dedicated-ips/{Ip}", - GetDedicatedIpPool: "GET /v2/email/dedicated-ip-pools/{PoolName}", - GetDedicatedIps: "GET /v2/email/dedicated-ips", - GetDeliverabilityDashboardOptions: "GET /v2/email/deliverability-dashboard", - GetDeliverabilityTestReport: - "GET /v2/email/deliverability-dashboard/test-reports/{ReportId}", - GetDomainDeliverabilityCampaign: - "GET /v2/email/deliverability-dashboard/campaigns/{CampaignId}", - GetDomainStatisticsReport: - "GET /v2/email/deliverability-dashboard/statistics-report/{Domain}", - GetEmailIdentity: "GET /v2/email/identities/{EmailIdentity}", - GetEmailIdentityPolicies: - "GET /v2/email/identities/{EmailIdentity}/policies", - GetEmailTemplate: "GET /v2/email/templates/{TemplateName}", - GetExportJob: "GET /v2/email/export-jobs/{JobId}", - GetImportJob: "GET /v2/email/import-jobs/{JobId}", - GetMessageInsights: "GET /v2/email/insights/{MessageId}", - GetMultiRegionEndpoint: - "GET /v2/email/multi-region-endpoints/{EndpointName}", - GetReputationEntity: - "GET /v2/email/reputation/entities/{ReputationEntityType}/{ReputationEntityReference}", - GetSuppressedDestination: - "GET /v2/email/suppression/addresses/{EmailAddress}", - GetTenant: "POST /v2/email/tenants/get", - ListConfigurationSets: "GET /v2/email/configuration-sets", - ListContactLists: "GET /v2/email/contact-lists", - ListContacts: - "POST /v2/email/contact-lists/{ContactListName}/contacts/list", - ListCustomVerificationEmailTemplates: - "GET /v2/email/custom-verification-email-templates", - ListDedicatedIpPools: "GET /v2/email/dedicated-ip-pools", - ListDeliverabilityTestReports: - "GET /v2/email/deliverability-dashboard/test-reports", - ListDomainDeliverabilityCampaigns: - "GET /v2/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns", - ListEmailIdentities: "GET /v2/email/identities", - ListEmailTemplates: "GET /v2/email/templates", - ListExportJobs: "POST /v2/email/list-export-jobs", - ListImportJobs: "POST /v2/email/import-jobs/list", - ListMultiRegionEndpoints: "GET /v2/email/multi-region-endpoints", - ListRecommendations: "POST /v2/email/vdm/recommendations", - ListReputationEntities: "POST /v2/email/reputation/entities", - ListResourceTenants: "POST /v2/email/resources/tenants/list", - ListSuppressedDestinations: "GET /v2/email/suppression/addresses", - ListTagsForResource: "GET /v2/email/tags", - ListTenantResources: "POST /v2/email/tenants/resources/list", - ListTenants: "POST /v2/email/tenants/list", - PutAccountDedicatedIpWarmupAttributes: - "PUT /v2/email/account/dedicated-ips/warmup", - PutAccountDetails: "POST /v2/email/account/details", - PutAccountSendingAttributes: "PUT /v2/email/account/sending", - PutAccountSuppressionAttributes: "PUT /v2/email/account/suppression", - PutAccountVdmAttributes: "PUT /v2/email/account/vdm", - PutConfigurationSetArchivingOptions: - "PUT /v2/email/configuration-sets/{ConfigurationSetName}/archiving-options", - PutConfigurationSetDeliveryOptions: - "PUT /v2/email/configuration-sets/{ConfigurationSetName}/delivery-options", - PutConfigurationSetReputationOptions: - "PUT /v2/email/configuration-sets/{ConfigurationSetName}/reputation-options", - PutConfigurationSetSendingOptions: - "PUT /v2/email/configuration-sets/{ConfigurationSetName}/sending", - PutConfigurationSetSuppressionOptions: - "PUT /v2/email/configuration-sets/{ConfigurationSetName}/suppression-options", - PutConfigurationSetTrackingOptions: - "PUT /v2/email/configuration-sets/{ConfigurationSetName}/tracking-options", - PutConfigurationSetVdmOptions: - "PUT /v2/email/configuration-sets/{ConfigurationSetName}/vdm-options", - PutDedicatedIpInPool: "PUT /v2/email/dedicated-ips/{Ip}/pool", - PutDedicatedIpPoolScalingAttributes: - "PUT /v2/email/dedicated-ip-pools/{PoolName}/scaling", - PutDedicatedIpWarmupAttributes: "PUT /v2/email/dedicated-ips/{Ip}/warmup", - PutDeliverabilityDashboardOption: "PUT /v2/email/deliverability-dashboard", - PutEmailIdentityConfigurationSetAttributes: - "PUT /v2/email/identities/{EmailIdentity}/configuration-set", - PutEmailIdentityDkimAttributes: - "PUT /v2/email/identities/{EmailIdentity}/dkim", - PutEmailIdentityDkimSigningAttributes: - "PUT /v1/email/identities/{EmailIdentity}/dkim/signing", - PutEmailIdentityFeedbackAttributes: - "PUT /v2/email/identities/{EmailIdentity}/feedback", - PutEmailIdentityMailFromAttributes: - "PUT /v2/email/identities/{EmailIdentity}/mail-from", - PutSuppressedDestination: "PUT /v2/email/suppression/addresses", - SendBulkEmail: "POST /v2/email/outbound-bulk-emails", - SendCustomVerificationEmail: - "POST /v2/email/outbound-custom-verification-emails", - SendEmail: "POST /v2/email/outbound-emails", - TagResource: "POST /v2/email/tags", - TestRenderEmailTemplate: "POST /v2/email/templates/{TemplateName}/render", - UntagResource: "DELETE /v2/email/tags", - UpdateConfigurationSetEventDestination: - "PUT /v2/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", - UpdateContact: - "PUT /v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}", - UpdateContactList: "PUT /v2/email/contact-lists/{ContactListName}", - UpdateCustomVerificationEmailTemplate: - "PUT /v2/email/custom-verification-email-templates/{TemplateName}", - UpdateEmailIdentityPolicy: - "PUT /v2/email/identities/{EmailIdentity}/policies/{PolicyName}", - UpdateEmailTemplate: "PUT /v2/email/templates/{TemplateName}", - UpdateReputationEntityCustomerManagedStatus: - "PUT /v2/email/reputation/entities/{ReputationEntityType}/{ReputationEntityReference}/customer-managed-status", - UpdateReputationEntityPolicy: - "PUT /v2/email/reputation/entities/{ReputationEntityType}/{ReputationEntityReference}/policy", + "BatchGetMetricData": "POST /v2/email/metrics/batch", + "CancelExportJob": "PUT /v2/email/export-jobs/{JobId}/cancel", + "CreateConfigurationSet": "POST /v2/email/configuration-sets", + "CreateConfigurationSetEventDestination": "POST /v2/email/configuration-sets/{ConfigurationSetName}/event-destinations", + "CreateContact": "POST /v2/email/contact-lists/{ContactListName}/contacts", + "CreateContactList": "POST /v2/email/contact-lists", + "CreateCustomVerificationEmailTemplate": "POST /v2/email/custom-verification-email-templates", + "CreateDedicatedIpPool": "POST /v2/email/dedicated-ip-pools", + "CreateDeliverabilityTestReport": "POST /v2/email/deliverability-dashboard/test", + "CreateEmailIdentity": "POST /v2/email/identities", + "CreateEmailIdentityPolicy": "POST /v2/email/identities/{EmailIdentity}/policies/{PolicyName}", + "CreateEmailTemplate": "POST /v2/email/templates", + "CreateExportJob": "POST /v2/email/export-jobs", + "CreateImportJob": "POST /v2/email/import-jobs", + "CreateMultiRegionEndpoint": "POST /v2/email/multi-region-endpoints", + "CreateTenant": "POST /v2/email/tenants", + "CreateTenantResourceAssociation": "POST /v2/email/tenants/resources", + "DeleteConfigurationSet": "DELETE /v2/email/configuration-sets/{ConfigurationSetName}", + "DeleteConfigurationSetEventDestination": "DELETE /v2/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", + "DeleteContact": "DELETE /v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}", + "DeleteContactList": "DELETE /v2/email/contact-lists/{ContactListName}", + "DeleteCustomVerificationEmailTemplate": "DELETE /v2/email/custom-verification-email-templates/{TemplateName}", + "DeleteDedicatedIpPool": "DELETE /v2/email/dedicated-ip-pools/{PoolName}", + "DeleteEmailIdentity": "DELETE /v2/email/identities/{EmailIdentity}", + "DeleteEmailIdentityPolicy": "DELETE /v2/email/identities/{EmailIdentity}/policies/{PolicyName}", + "DeleteEmailTemplate": "DELETE /v2/email/templates/{TemplateName}", + "DeleteMultiRegionEndpoint": "DELETE /v2/email/multi-region-endpoints/{EndpointName}", + "DeleteSuppressedDestination": "DELETE /v2/email/suppression/addresses/{EmailAddress}", + "DeleteTenant": "POST /v2/email/tenants/delete", + "DeleteTenantResourceAssociation": "POST /v2/email/tenants/resources/delete", + "GetAccount": "GET /v2/email/account", + "GetBlacklistReports": "GET /v2/email/deliverability-dashboard/blacklist-report", + "GetConfigurationSet": "GET /v2/email/configuration-sets/{ConfigurationSetName}", + "GetConfigurationSetEventDestinations": "GET /v2/email/configuration-sets/{ConfigurationSetName}/event-destinations", + "GetContact": "GET /v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}", + "GetContactList": "GET /v2/email/contact-lists/{ContactListName}", + "GetCustomVerificationEmailTemplate": "GET /v2/email/custom-verification-email-templates/{TemplateName}", + "GetDedicatedIp": "GET /v2/email/dedicated-ips/{Ip}", + "GetDedicatedIpPool": "GET /v2/email/dedicated-ip-pools/{PoolName}", + "GetDedicatedIps": "GET /v2/email/dedicated-ips", + "GetDeliverabilityDashboardOptions": "GET /v2/email/deliverability-dashboard", + "GetDeliverabilityTestReport": "GET /v2/email/deliverability-dashboard/test-reports/{ReportId}", + "GetDomainDeliverabilityCampaign": "GET /v2/email/deliverability-dashboard/campaigns/{CampaignId}", + "GetDomainStatisticsReport": "GET /v2/email/deliverability-dashboard/statistics-report/{Domain}", + "GetEmailIdentity": "GET /v2/email/identities/{EmailIdentity}", + "GetEmailIdentityPolicies": "GET /v2/email/identities/{EmailIdentity}/policies", + "GetEmailTemplate": "GET /v2/email/templates/{TemplateName}", + "GetExportJob": "GET /v2/email/export-jobs/{JobId}", + "GetImportJob": "GET /v2/email/import-jobs/{JobId}", + "GetMessageInsights": "GET /v2/email/insights/{MessageId}", + "GetMultiRegionEndpoint": "GET /v2/email/multi-region-endpoints/{EndpointName}", + "GetReputationEntity": "GET /v2/email/reputation/entities/{ReputationEntityType}/{ReputationEntityReference}", + "GetSuppressedDestination": "GET /v2/email/suppression/addresses/{EmailAddress}", + "GetTenant": "POST /v2/email/tenants/get", + "ListConfigurationSets": "GET /v2/email/configuration-sets", + "ListContactLists": "GET /v2/email/contact-lists", + "ListContacts": "POST /v2/email/contact-lists/{ContactListName}/contacts/list", + "ListCustomVerificationEmailTemplates": "GET /v2/email/custom-verification-email-templates", + "ListDedicatedIpPools": "GET /v2/email/dedicated-ip-pools", + "ListDeliverabilityTestReports": "GET /v2/email/deliverability-dashboard/test-reports", + "ListDomainDeliverabilityCampaigns": "GET /v2/email/deliverability-dashboard/domains/{SubscribedDomain}/campaigns", + "ListEmailIdentities": "GET /v2/email/identities", + "ListEmailTemplates": "GET /v2/email/templates", + "ListExportJobs": "POST /v2/email/list-export-jobs", + "ListImportJobs": "POST /v2/email/import-jobs/list", + "ListMultiRegionEndpoints": "GET /v2/email/multi-region-endpoints", + "ListRecommendations": "POST /v2/email/vdm/recommendations", + "ListReputationEntities": "POST /v2/email/reputation/entities", + "ListResourceTenants": "POST /v2/email/resources/tenants/list", + "ListSuppressedDestinations": "GET /v2/email/suppression/addresses", + "ListTagsForResource": "GET /v2/email/tags", + "ListTenantResources": "POST /v2/email/tenants/resources/list", + "ListTenants": "POST /v2/email/tenants/list", + "PutAccountDedicatedIpWarmupAttributes": "PUT /v2/email/account/dedicated-ips/warmup", + "PutAccountDetails": "POST /v2/email/account/details", + "PutAccountSendingAttributes": "PUT /v2/email/account/sending", + "PutAccountSuppressionAttributes": "PUT /v2/email/account/suppression", + "PutAccountVdmAttributes": "PUT /v2/email/account/vdm", + "PutConfigurationSetArchivingOptions": "PUT /v2/email/configuration-sets/{ConfigurationSetName}/archiving-options", + "PutConfigurationSetDeliveryOptions": "PUT /v2/email/configuration-sets/{ConfigurationSetName}/delivery-options", + "PutConfigurationSetReputationOptions": "PUT /v2/email/configuration-sets/{ConfigurationSetName}/reputation-options", + "PutConfigurationSetSendingOptions": "PUT /v2/email/configuration-sets/{ConfigurationSetName}/sending", + "PutConfigurationSetSuppressionOptions": "PUT /v2/email/configuration-sets/{ConfigurationSetName}/suppression-options", + "PutConfigurationSetTrackingOptions": "PUT /v2/email/configuration-sets/{ConfigurationSetName}/tracking-options", + "PutConfigurationSetVdmOptions": "PUT /v2/email/configuration-sets/{ConfigurationSetName}/vdm-options", + "PutDedicatedIpInPool": "PUT /v2/email/dedicated-ips/{Ip}/pool", + "PutDedicatedIpPoolScalingAttributes": "PUT /v2/email/dedicated-ip-pools/{PoolName}/scaling", + "PutDedicatedIpWarmupAttributes": "PUT /v2/email/dedicated-ips/{Ip}/warmup", + "PutDeliverabilityDashboardOption": "PUT /v2/email/deliverability-dashboard", + "PutEmailIdentityConfigurationSetAttributes": "PUT /v2/email/identities/{EmailIdentity}/configuration-set", + "PutEmailIdentityDkimAttributes": "PUT /v2/email/identities/{EmailIdentity}/dkim", + "PutEmailIdentityDkimSigningAttributes": "PUT /v1/email/identities/{EmailIdentity}/dkim/signing", + "PutEmailIdentityFeedbackAttributes": "PUT /v2/email/identities/{EmailIdentity}/feedback", + "PutEmailIdentityMailFromAttributes": "PUT /v2/email/identities/{EmailIdentity}/mail-from", + "PutSuppressedDestination": "PUT /v2/email/suppression/addresses", + "SendBulkEmail": "POST /v2/email/outbound-bulk-emails", + "SendCustomVerificationEmail": "POST /v2/email/outbound-custom-verification-emails", + "SendEmail": "POST /v2/email/outbound-emails", + "TagResource": "POST /v2/email/tags", + "TestRenderEmailTemplate": "POST /v2/email/templates/{TemplateName}/render", + "UntagResource": "DELETE /v2/email/tags", + "UpdateConfigurationSetEventDestination": "PUT /v2/email/configuration-sets/{ConfigurationSetName}/event-destinations/{EventDestinationName}", + "UpdateContact": "PUT /v2/email/contact-lists/{ContactListName}/contacts/{EmailAddress}", + "UpdateContactList": "PUT /v2/email/contact-lists/{ContactListName}", + "UpdateCustomVerificationEmailTemplate": "PUT /v2/email/custom-verification-email-templates/{TemplateName}", + "UpdateEmailIdentityPolicy": "PUT /v2/email/identities/{EmailIdentity}/policies/{PolicyName}", + "UpdateEmailTemplate": "PUT /v2/email/templates/{TemplateName}", + "UpdateReputationEntityCustomerManagedStatus": "PUT /v2/email/reputation/entities/{ReputationEntityType}/{ReputationEntityReference}/customer-managed-status", + "UpdateReputationEntityPolicy": "PUT /v2/email/reputation/entities/{ReputationEntityType}/{ReputationEntityReference}/policy", }, } as const satisfies ServiceMetadata; diff --git a/src/services/sesv2/types.ts b/src/services/sesv2/types.ts index a15944b5..faf67bd9 100644 --- a/src/services/sesv2/types.ts +++ b/src/services/sesv2/types.ts @@ -7,304 +7,181 @@ export declare class SESv2 extends AWSServiceClient { input: BatchGetMetricDataRequest, ): Effect.Effect< BatchGetMetricDataResponse, - | BadRequestException - | InternalServiceErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; cancelExportJob( input: CancelExportJobRequest, ): Effect.Effect< CancelExportJobResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; createConfigurationSet( input: CreateConfigurationSetRequest, ): Effect.Effect< CreateConfigurationSetResponse, - | AlreadyExistsException - | BadRequestException - | ConcurrentModificationException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | ConcurrentModificationException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; createConfigurationSetEventDestination( input: CreateConfigurationSetEventDestinationRequest, ): Effect.Effect< CreateConfigurationSetEventDestinationResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; createContact( input: CreateContactRequest, ): Effect.Effect< CreateContactResponse, - | AlreadyExistsException - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; createContactList( input: CreateContactListRequest, ): Effect.Effect< CreateContactListResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | TooManyRequestsException | CommonAwsError >; createCustomVerificationEmailTemplate( input: CreateCustomVerificationEmailTemplateRequest, ): Effect.Effect< CreateCustomVerificationEmailTemplateResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; createDedicatedIpPool( input: CreateDedicatedIpPoolRequest, ): Effect.Effect< CreateDedicatedIpPoolResponse, - | AlreadyExistsException - | BadRequestException - | ConcurrentModificationException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | ConcurrentModificationException | LimitExceededException | TooManyRequestsException | CommonAwsError >; createDeliverabilityTestReport( input: CreateDeliverabilityTestReportRequest, ): Effect.Effect< CreateDeliverabilityTestReportResponse, - | AccountSuspendedException - | BadRequestException - | ConcurrentModificationException - | LimitExceededException - | MailFromDomainNotVerifiedException - | MessageRejected - | NotFoundException - | SendingPausedException - | TooManyRequestsException - | CommonAwsError + AccountSuspendedException | BadRequestException | ConcurrentModificationException | LimitExceededException | MailFromDomainNotVerifiedException | MessageRejected | NotFoundException | SendingPausedException | TooManyRequestsException | CommonAwsError >; createEmailIdentity( input: CreateEmailIdentityRequest, ): Effect.Effect< CreateEmailIdentityResponse, - | AlreadyExistsException - | BadRequestException - | ConcurrentModificationException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | ConcurrentModificationException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; createEmailIdentityPolicy( input: CreateEmailIdentityPolicyRequest, ): Effect.Effect< CreateEmailIdentityPolicyResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; createEmailTemplate( input: CreateEmailTemplateRequest, ): Effect.Effect< CreateEmailTemplateResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | TooManyRequestsException | CommonAwsError >; createExportJob( input: CreateExportJobRequest, ): Effect.Effect< CreateExportJobResponse, - | BadRequestException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; createImportJob( input: CreateImportJobRequest, ): Effect.Effect< CreateImportJobResponse, - | BadRequestException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | LimitExceededException | TooManyRequestsException | CommonAwsError >; createMultiRegionEndpoint( input: CreateMultiRegionEndpointRequest, ): Effect.Effect< CreateMultiRegionEndpointResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | TooManyRequestsException | CommonAwsError >; createTenant( input: CreateTenantRequest, ): Effect.Effect< CreateTenantResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | TooManyRequestsException | CommonAwsError >; createTenantResourceAssociation( input: CreateTenantResourceAssociationRequest, ): Effect.Effect< CreateTenantResourceAssociationResponse, - | AlreadyExistsException - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteConfigurationSet( input: DeleteConfigurationSetRequest, ): Effect.Effect< DeleteConfigurationSetResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteConfigurationSetEventDestination( input: DeleteConfigurationSetEventDestinationRequest, ): Effect.Effect< DeleteConfigurationSetEventDestinationResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteContact( input: DeleteContactRequest, ): Effect.Effect< DeleteContactResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteContactList( input: DeleteContactListRequest, ): Effect.Effect< DeleteContactListResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteCustomVerificationEmailTemplate( input: DeleteCustomVerificationEmailTemplateRequest, ): Effect.Effect< DeleteCustomVerificationEmailTemplateResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteDedicatedIpPool( input: DeleteDedicatedIpPoolRequest, ): Effect.Effect< DeleteDedicatedIpPoolResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteEmailIdentity( input: DeleteEmailIdentityRequest, ): Effect.Effect< DeleteEmailIdentityResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteEmailIdentityPolicy( input: DeleteEmailIdentityPolicyRequest, ): Effect.Effect< DeleteEmailIdentityPolicyResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteEmailTemplate( input: DeleteEmailTemplateRequest, ): Effect.Effect< DeleteEmailTemplateResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteMultiRegionEndpoint( input: DeleteMultiRegionEndpointRequest, ): Effect.Effect< DeleteMultiRegionEndpointResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteSuppressedDestination( input: DeleteSuppressedDestinationRequest, ): Effect.Effect< DeleteSuppressedDestinationResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteTenant( input: DeleteTenantRequest, ): Effect.Effect< DeleteTenantResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; deleteTenantResourceAssociation( input: DeleteTenantResourceAssociationRequest, ): Effect.Effect< DeleteTenantResourceAssociationResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getAccount( input: GetAccountRequest, @@ -316,208 +193,139 @@ export declare class SESv2 extends AWSServiceClient { input: GetBlacklistReportsRequest, ): Effect.Effect< GetBlacklistReportsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getConfigurationSet( input: GetConfigurationSetRequest, ): Effect.Effect< GetConfigurationSetResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getConfigurationSetEventDestinations( input: GetConfigurationSetEventDestinationsRequest, ): Effect.Effect< GetConfigurationSetEventDestinationsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getContact( input: GetContactRequest, ): Effect.Effect< GetContactResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getContactList( input: GetContactListRequest, ): Effect.Effect< GetContactListResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getCustomVerificationEmailTemplate( input: GetCustomVerificationEmailTemplateRequest, ): Effect.Effect< GetCustomVerificationEmailTemplateResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDedicatedIp( input: GetDedicatedIpRequest, ): Effect.Effect< GetDedicatedIpResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDedicatedIpPool( input: GetDedicatedIpPoolRequest, ): Effect.Effect< GetDedicatedIpPoolResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDedicatedIps( input: GetDedicatedIpsRequest, ): Effect.Effect< GetDedicatedIpsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDeliverabilityDashboardOptions( input: GetDeliverabilityDashboardOptionsRequest, ): Effect.Effect< GetDeliverabilityDashboardOptionsResponse, - | BadRequestException - | LimitExceededException - | TooManyRequestsException - | CommonAwsError + BadRequestException | LimitExceededException | TooManyRequestsException | CommonAwsError >; getDeliverabilityTestReport( input: GetDeliverabilityTestReportRequest, ): Effect.Effect< GetDeliverabilityTestReportResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDomainDeliverabilityCampaign( input: GetDomainDeliverabilityCampaignRequest, ): Effect.Effect< GetDomainDeliverabilityCampaignResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getDomainStatisticsReport( input: GetDomainStatisticsReportRequest, ): Effect.Effect< GetDomainStatisticsReportResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getEmailIdentity( input: GetEmailIdentityRequest, ): Effect.Effect< GetEmailIdentityResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getEmailIdentityPolicies( input: GetEmailIdentityPoliciesRequest, ): Effect.Effect< GetEmailIdentityPoliciesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getEmailTemplate( input: GetEmailTemplateRequest, ): Effect.Effect< GetEmailTemplateResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getExportJob( input: GetExportJobRequest, ): Effect.Effect< GetExportJobResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getImportJob( input: GetImportJobRequest, ): Effect.Effect< GetImportJobResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getMessageInsights( input: GetMessageInsightsRequest, ): Effect.Effect< GetMessageInsightsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getMultiRegionEndpoint( input: GetMultiRegionEndpointRequest, ): Effect.Effect< GetMultiRegionEndpointResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getReputationEntity( input: GetReputationEntityRequest, ): Effect.Effect< GetReputationEntityResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getSuppressedDestination( input: GetSuppressedDestinationRequest, ): Effect.Effect< GetSuppressedDestinationResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; getTenant( input: GetTenantRequest, ): Effect.Effect< GetTenantResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listConfigurationSets( input: ListConfigurationSetsRequest, @@ -535,10 +343,7 @@ export declare class SESv2 extends AWSServiceClient { input: ListContactsRequest, ): Effect.Effect< ListContactsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listCustomVerificationEmailTemplates( input: ListCustomVerificationEmailTemplatesRequest, @@ -556,19 +361,13 @@ export declare class SESv2 extends AWSServiceClient { input: ListDeliverabilityTestReportsRequest, ): Effect.Effect< ListDeliverabilityTestReportsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listDomainDeliverabilityCampaigns( input: ListDomainDeliverabilityCampaignsRequest, ): Effect.Effect< ListDomainDeliverabilityCampaignsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listEmailIdentities( input: ListEmailIdentitiesRequest, @@ -604,10 +403,7 @@ export declare class SESv2 extends AWSServiceClient { input: ListRecommendationsRequest, ): Effect.Effect< ListRecommendationsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listReputationEntities( input: ListReputationEntitiesRequest, @@ -619,37 +415,25 @@ export declare class SESv2 extends AWSServiceClient { input: ListResourceTenantsRequest, ): Effect.Effect< ListResourceTenantsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listSuppressedDestinations( input: ListSuppressedDestinationsRequest, ): Effect.Effect< ListSuppressedDestinationsResponse, - | BadRequestException - | InvalidNextTokenException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InvalidNextTokenException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listTenantResources( input: ListTenantResourcesRequest, ): Effect.Effect< ListTenantResourcesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; listTenants( input: ListTenantsRequest, @@ -667,10 +451,7 @@ export declare class SESv2 extends AWSServiceClient { input: PutAccountDetailsRequest, ): Effect.Effect< PutAccountDetailsResponse, - | BadRequestException - | ConflictException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | TooManyRequestsException | CommonAwsError >; putAccountSendingAttributes( input: PutAccountSendingAttributesRequest, @@ -694,148 +475,97 @@ export declare class SESv2 extends AWSServiceClient { input: PutConfigurationSetArchivingOptionsRequest, ): Effect.Effect< PutConfigurationSetArchivingOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putConfigurationSetDeliveryOptions( input: PutConfigurationSetDeliveryOptionsRequest, ): Effect.Effect< PutConfigurationSetDeliveryOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putConfigurationSetReputationOptions( input: PutConfigurationSetReputationOptionsRequest, ): Effect.Effect< PutConfigurationSetReputationOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putConfigurationSetSendingOptions( input: PutConfigurationSetSendingOptionsRequest, ): Effect.Effect< PutConfigurationSetSendingOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putConfigurationSetSuppressionOptions( input: PutConfigurationSetSuppressionOptionsRequest, ): Effect.Effect< PutConfigurationSetSuppressionOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putConfigurationSetTrackingOptions( input: PutConfigurationSetTrackingOptionsRequest, ): Effect.Effect< PutConfigurationSetTrackingOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putConfigurationSetVdmOptions( input: PutConfigurationSetVdmOptionsRequest, ): Effect.Effect< PutConfigurationSetVdmOptionsResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putDedicatedIpInPool( input: PutDedicatedIpInPoolRequest, ): Effect.Effect< PutDedicatedIpInPoolResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putDedicatedIpPoolScalingAttributes( input: PutDedicatedIpPoolScalingAttributesRequest, ): Effect.Effect< PutDedicatedIpPoolScalingAttributesResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; putDedicatedIpWarmupAttributes( input: PutDedicatedIpWarmupAttributesRequest, ): Effect.Effect< PutDedicatedIpWarmupAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putDeliverabilityDashboardOption( input: PutDeliverabilityDashboardOptionRequest, ): Effect.Effect< PutDeliverabilityDashboardOptionResponse, - | AlreadyExistsException - | BadRequestException - | LimitExceededException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + AlreadyExistsException | BadRequestException | LimitExceededException | NotFoundException | TooManyRequestsException | CommonAwsError >; putEmailIdentityConfigurationSetAttributes( input: PutEmailIdentityConfigurationSetAttributesRequest, ): Effect.Effect< PutEmailIdentityConfigurationSetAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putEmailIdentityDkimAttributes( input: PutEmailIdentityDkimAttributesRequest, ): Effect.Effect< PutEmailIdentityDkimAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putEmailIdentityDkimSigningAttributes( input: PutEmailIdentityDkimSigningAttributesRequest, ): Effect.Effect< PutEmailIdentityDkimSigningAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putEmailIdentityFeedbackAttributes( input: PutEmailIdentityFeedbackAttributesRequest, ): Effect.Effect< PutEmailIdentityFeedbackAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putEmailIdentityMailFromAttributes( input: PutEmailIdentityMailFromAttributesRequest, ): Effect.Effect< PutEmailIdentityMailFromAttributesResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; putSuppressedDestination( input: PutSuppressedDestinationRequest, @@ -847,145 +577,85 @@ export declare class SESv2 extends AWSServiceClient { input: SendBulkEmailRequest, ): Effect.Effect< SendBulkEmailResponse, - | AccountSuspendedException - | BadRequestException - | LimitExceededException - | MailFromDomainNotVerifiedException - | MessageRejected - | NotFoundException - | SendingPausedException - | TooManyRequestsException - | CommonAwsError + AccountSuspendedException | BadRequestException | LimitExceededException | MailFromDomainNotVerifiedException | MessageRejected | NotFoundException | SendingPausedException | TooManyRequestsException | CommonAwsError >; sendCustomVerificationEmail( input: SendCustomVerificationEmailRequest, ): Effect.Effect< SendCustomVerificationEmailResponse, - | BadRequestException - | LimitExceededException - | MailFromDomainNotVerifiedException - | MessageRejected - | NotFoundException - | SendingPausedException - | TooManyRequestsException - | CommonAwsError + BadRequestException | LimitExceededException | MailFromDomainNotVerifiedException | MessageRejected | NotFoundException | SendingPausedException | TooManyRequestsException | CommonAwsError >; sendEmail( input: SendEmailRequest, ): Effect.Effect< SendEmailResponse, - | AccountSuspendedException - | BadRequestException - | LimitExceededException - | MailFromDomainNotVerifiedException - | MessageRejected - | NotFoundException - | SendingPausedException - | TooManyRequestsException - | CommonAwsError + AccountSuspendedException | BadRequestException | LimitExceededException | MailFromDomainNotVerifiedException | MessageRejected | NotFoundException | SendingPausedException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; testRenderEmailTemplate( input: TestRenderEmailTemplateRequest, ): Effect.Effect< TestRenderEmailTemplateResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateConfigurationSetEventDestination( input: UpdateConfigurationSetEventDestinationRequest, ): Effect.Effect< UpdateConfigurationSetEventDestinationResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateContact( input: UpdateContactRequest, ): Effect.Effect< UpdateContactResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateContactList( input: UpdateContactListRequest, ): Effect.Effect< UpdateContactListResponse, - | BadRequestException - | ConcurrentModificationException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConcurrentModificationException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateCustomVerificationEmailTemplate( input: UpdateCustomVerificationEmailTemplateRequest, ): Effect.Effect< UpdateCustomVerificationEmailTemplateResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateEmailIdentityPolicy( input: UpdateEmailIdentityPolicyRequest, ): Effect.Effect< UpdateEmailIdentityPolicyResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateEmailTemplate( input: UpdateEmailTemplateRequest, ): Effect.Effect< UpdateEmailTemplateResponse, - | BadRequestException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateReputationEntityCustomerManagedStatus( input: UpdateReputationEntityCustomerManagedStatusRequest, ): Effect.Effect< UpdateReputationEntityCustomerManagedStatusResponse, - | BadRequestException - | ConflictException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | TooManyRequestsException | CommonAwsError >; updateReputationEntityPolicy( input: UpdateReputationEntityPolicyRequest, ): Effect.Effect< UpdateReputationEntityPolicyResponse, - | BadRequestException - | ConflictException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | TooManyRequestsException | CommonAwsError >; } @@ -1035,10 +705,7 @@ export type AttachmentContentDescription = string; export type AttachmentContentDisposition = "ATTACHMENT" | "INLINE"; export type AttachmentContentId = string; -export type AttachmentContentTransferEncoding = - | "BASE64" - | "QUOTED_PRINTABLE" - | "SEVEN_BIT"; +export type AttachmentContentTransferEncoding = "BASE64" | "QUOTED_PRINTABLE" | "SEVEN_BIT"; export type AttachmentContentType = string; export type AttachmentFileName = string; @@ -1108,27 +775,14 @@ export interface BulkEmailEntryResult { MessageId?: string; } export type BulkEmailEntryResultList = Array; -export type BulkEmailStatus = - | "SUCCESS" - | "MESSAGE_REJECTED" - | "MAIL_FROM_DOMAIN_NOT_VERIFIED" - | "CONFIGURATION_SET_NOT_FOUND" - | "TEMPLATE_NOT_FOUND" - | "ACCOUNT_SUSPENDED" - | "ACCOUNT_THROTTLED" - | "ACCOUNT_DAILY_QUOTA_EXCEEDED" - | "INVALID_SENDING_POOL_NAME" - | "ACCOUNT_SENDING_PAUSED" - | "CONFIGURATION_SET_SENDING_PAUSED" - | "INVALID_PARAMETER" - | "TRANSIENT_FAILURE" - | "FAILED"; +export type BulkEmailStatus = "SUCCESS" | "MESSAGE_REJECTED" | "MAIL_FROM_DOMAIN_NOT_VERIFIED" | "CONFIGURATION_SET_NOT_FOUND" | "TEMPLATE_NOT_FOUND" | "ACCOUNT_SUSPENDED" | "ACCOUNT_THROTTLED" | "ACCOUNT_DAILY_QUOTA_EXCEEDED" | "INVALID_SENDING_POOL_NAME" | "ACCOUNT_SENDING_PAUSED" | "CONFIGURATION_SET_SENDING_PAUSED" | "INVALID_PARAMETER" | "TRANSIENT_FAILURE" | "FAILED"; export type CampaignId = string; export interface CancelExportJobRequest { JobId: string; } -export interface CancelExportJobResponse {} +export interface CancelExportJobResponse { +} export type CaseId = string; export type Charset = string; @@ -1141,8 +795,7 @@ export interface CloudWatchDimensionConfiguration { DimensionValueSource: DimensionValueSource; DefaultDimensionValue: string; } -export type CloudWatchDimensionConfigurations = - Array; +export type CloudWatchDimensionConfigurations = Array; export interface Complaint { ComplaintSubType?: string; ComplaintFeedbackType?: string; @@ -1194,7 +847,8 @@ export interface CreateConfigurationSetEventDestinationRequest { EventDestinationName: string; EventDestination: EventDestinationDefinition; } -export interface CreateConfigurationSetEventDestinationResponse {} +export interface CreateConfigurationSetEventDestinationResponse { +} export interface CreateConfigurationSetRequest { ConfigurationSetName: string; TrackingOptions?: TrackingOptions; @@ -1206,14 +860,16 @@ export interface CreateConfigurationSetRequest { VdmOptions?: VdmOptions; ArchivingOptions?: ArchivingOptions; } -export interface CreateConfigurationSetResponse {} +export interface CreateConfigurationSetResponse { +} export interface CreateContactListRequest { ContactListName: string; Topics?: Array; Description?: string; Tags?: Array; } -export interface CreateContactListResponse {} +export interface CreateContactListResponse { +} export interface CreateContactRequest { ContactListName: string; EmailAddress: string; @@ -1221,7 +877,8 @@ export interface CreateContactRequest { UnsubscribeAll?: boolean; AttributesData?: string; } -export interface CreateContactResponse {} +export interface CreateContactResponse { +} export interface CreateCustomVerificationEmailTemplateRequest { TemplateName: string; FromEmailAddress: string; @@ -1230,13 +887,15 @@ export interface CreateCustomVerificationEmailTemplateRequest { SuccessRedirectionURL: string; FailureRedirectionURL: string; } -export interface CreateCustomVerificationEmailTemplateResponse {} +export interface CreateCustomVerificationEmailTemplateResponse { +} export interface CreateDedicatedIpPoolRequest { PoolName: string; Tags?: Array; ScalingMode?: ScalingMode; } -export interface CreateDedicatedIpPoolResponse {} +export interface CreateDedicatedIpPoolResponse { +} export interface CreateDeliverabilityTestReportRequest { ReportName?: string; FromEmailAddress: string; @@ -1252,7 +911,8 @@ export interface CreateEmailIdentityPolicyRequest { PolicyName: string; Policy: string; } -export interface CreateEmailIdentityPolicyResponse {} +export interface CreateEmailIdentityPolicyResponse { +} export interface CreateEmailIdentityRequest { EmailIdentity: string; Tags?: Array; @@ -1268,7 +928,8 @@ export interface CreateEmailTemplateRequest { TemplateName: string; TemplateContent: EmailTemplateContent; } -export interface CreateEmailTemplateResponse {} +export interface CreateEmailTemplateResponse { +} export interface CreateExportJobRequest { ExportDataSource: ExportDataSource; ExportDestination: ExportDestination; @@ -1300,7 +961,8 @@ export interface CreateTenantResourceAssociationRequest { TenantName: string; ResourceArn: string; } -export interface CreateTenantResourceAssociationResponse {} +export interface CreateTenantResourceAssociationResponse { +} export interface CreateTenantResponse { TenantName?: string; TenantId?: string; @@ -1318,8 +980,7 @@ export interface CustomVerificationEmailTemplateMetadata { SuccessRedirectionURL?: string; FailureRedirectionURL?: string; } -export type CustomVerificationEmailTemplatesList = - Array; +export type CustomVerificationEmailTemplatesList = Array; export interface DailyVolume { StartDate?: Date | string; VolumeStatistics?: VolumeStatistics; @@ -1350,41 +1011,50 @@ export interface DeleteConfigurationSetEventDestinationRequest { ConfigurationSetName: string; EventDestinationName: string; } -export interface DeleteConfigurationSetEventDestinationResponse {} +export interface DeleteConfigurationSetEventDestinationResponse { +} export interface DeleteConfigurationSetRequest { ConfigurationSetName: string; } -export interface DeleteConfigurationSetResponse {} +export interface DeleteConfigurationSetResponse { +} export interface DeleteContactListRequest { ContactListName: string; } -export interface DeleteContactListResponse {} +export interface DeleteContactListResponse { +} export interface DeleteContactRequest { ContactListName: string; EmailAddress: string; } -export interface DeleteContactResponse {} +export interface DeleteContactResponse { +} export interface DeleteCustomVerificationEmailTemplateRequest { TemplateName: string; } -export interface DeleteCustomVerificationEmailTemplateResponse {} +export interface DeleteCustomVerificationEmailTemplateResponse { +} export interface DeleteDedicatedIpPoolRequest { PoolName: string; } -export interface DeleteDedicatedIpPoolResponse {} +export interface DeleteDedicatedIpPoolResponse { +} export interface DeleteEmailIdentityPolicyRequest { EmailIdentity: string; PolicyName: string; } -export interface DeleteEmailIdentityPolicyResponse {} +export interface DeleteEmailIdentityPolicyResponse { +} export interface DeleteEmailIdentityRequest { EmailIdentity: string; } -export interface DeleteEmailIdentityResponse {} +export interface DeleteEmailIdentityResponse { +} export interface DeleteEmailTemplateRequest { TemplateName: string; } -export interface DeleteEmailTemplateResponse {} +export interface DeleteEmailTemplateResponse { +} export interface DeleteMultiRegionEndpointRequest { EndpointName: string; } @@ -1394,7 +1064,8 @@ export interface DeleteMultiRegionEndpointResponse { export interface DeleteSuppressedDestinationRequest { EmailAddress: string; } -export interface DeleteSuppressedDestinationResponse {} +export interface DeleteSuppressedDestinationResponse { +} export interface DeleteTenantRequest { TenantName: string; } @@ -1402,12 +1073,11 @@ export interface DeleteTenantResourceAssociationRequest { TenantName: string; ResourceArn: string; } -export interface DeleteTenantResourceAssociationResponse {} -export interface DeleteTenantResponse {} -export type DeliverabilityDashboardAccountStatus = - | "ACTIVE" - | "PENDING_EXPIRATION" - | "DISABLED"; +export interface DeleteTenantResourceAssociationResponse { +} +export interface DeleteTenantResponse { +} +export type DeliverabilityDashboardAccountStatus = "ACTIVE" | "PENDING_EXPIRATION" | "DISABLED"; export interface DeliverabilityTestReport { ReportId?: string; ReportName?: string; @@ -1420,13 +1090,7 @@ export type DeliverabilityTestReports = Array; export type DeliverabilityTestStatus = "IN_PROGRESS" | "COMPLETED"; export type DeliverabilityTestSubject = string; -export type DeliveryEventType = - | "SEND" - | "DELIVERY" - | "TRANSIENT_BOUNCE" - | "PERMANENT_BOUNCE" - | "UNDETERMINED_BOUNCE" - | "COMPLAINT"; +export type DeliveryEventType = "SEND" | "DELIVERY" | "TRANSIENT_BOUNCE" | "PERMANENT_BOUNCE" | "UNDETERMINED_BOUNCE" | "COMPLAINT"; export interface DeliveryOptions { TlsPolicy?: TlsPolicy; SendingPoolName?: string; @@ -1465,41 +1129,9 @@ export interface DkimSigningAttributes { NextSigningKeyLength?: DkimSigningKeyLength; DomainSigningAttributesOrigin?: DkimSigningAttributesOrigin; } -export type DkimSigningAttributesOrigin = - | "AWS_SES" - | "EXTERNAL" - | "AWS_SES_AF_SOUTH_1" - | "AWS_SES_EU_NORTH_1" - | "AWS_SES_AP_SOUTH_1" - | "AWS_SES_EU_WEST_3" - | "AWS_SES_EU_WEST_2" - | "AWS_SES_EU_SOUTH_1" - | "AWS_SES_EU_WEST_1" - | "AWS_SES_AP_NORTHEAST_3" - | "AWS_SES_AP_NORTHEAST_2" - | "AWS_SES_ME_SOUTH_1" - | "AWS_SES_AP_NORTHEAST_1" - | "AWS_SES_IL_CENTRAL_1" - | "AWS_SES_SA_EAST_1" - | "AWS_SES_CA_CENTRAL_1" - | "AWS_SES_AP_SOUTHEAST_1" - | "AWS_SES_AP_SOUTHEAST_2" - | "AWS_SES_AP_SOUTHEAST_3" - | "AWS_SES_EU_CENTRAL_1" - | "AWS_SES_US_EAST_1" - | "AWS_SES_US_EAST_2" - | "AWS_SES_US_WEST_1" - | "AWS_SES_US_WEST_2" - | "AWS_SES_ME_CENTRAL_1" - | "AWS_SES_AP_SOUTH_2" - | "AWS_SES_EU_CENTRAL_2"; +export type DkimSigningAttributesOrigin = "AWS_SES" | "EXTERNAL" | "AWS_SES_AF_SOUTH_1" | "AWS_SES_EU_NORTH_1" | "AWS_SES_AP_SOUTH_1" | "AWS_SES_EU_WEST_3" | "AWS_SES_EU_WEST_2" | "AWS_SES_EU_SOUTH_1" | "AWS_SES_EU_WEST_1" | "AWS_SES_AP_NORTHEAST_3" | "AWS_SES_AP_NORTHEAST_2" | "AWS_SES_ME_SOUTH_1" | "AWS_SES_AP_NORTHEAST_1" | "AWS_SES_IL_CENTRAL_1" | "AWS_SES_SA_EAST_1" | "AWS_SES_CA_CENTRAL_1" | "AWS_SES_AP_SOUTHEAST_1" | "AWS_SES_AP_SOUTHEAST_2" | "AWS_SES_AP_SOUTHEAST_3" | "AWS_SES_EU_CENTRAL_1" | "AWS_SES_US_EAST_1" | "AWS_SES_US_EAST_2" | "AWS_SES_US_WEST_1" | "AWS_SES_US_WEST_2" | "AWS_SES_ME_CENTRAL_1" | "AWS_SES_AP_SOUTH_2" | "AWS_SES_EU_CENTRAL_2"; export type DkimSigningKeyLength = "RSA_1024_BIT" | "RSA_2048_BIT"; -export type DkimStatus = - | "PENDING" - | "SUCCESS" - | "FAILED" - | "TEMPORARY_FAILURE" - | "NOT_STARTED"; +export type DkimStatus = "PENDING" | "SUCCESS" | "FAILED" | "TEMPORARY_FAILURE" | "NOT_STARTED"; export type DnsToken = string; export type DnsTokenList = Array; @@ -1521,15 +1153,13 @@ export interface DomainDeliverabilityCampaign { ProjectedVolume?: number; Esps?: Array; } -export type DomainDeliverabilityCampaignList = - Array; +export type DomainDeliverabilityCampaignList = Array; export interface DomainDeliverabilityTrackingOption { Domain?: string; SubscriptionStartDate?: Date | string; InboxPlacementTrackingOption?: InboxPlacementTrackingOption; } -export type DomainDeliverabilityTrackingOptions = - Array; +export type DomainDeliverabilityTrackingOptions = Array; export interface DomainIspPlacement { IspName?: string; InboxRawCount?: number; @@ -1619,17 +1249,7 @@ export interface EventDetails { Bounce?: Bounce; Complaint?: Complaint; } -export type EventType = - | "SEND" - | "REJECT" - | "BOUNCE" - | "COMPLAINT" - | "DELIVERY" - | "OPEN" - | "CLICK" - | "RENDERING_FAILURE" - | "DELIVERY_DELAY" - | "SUBSCRIPTION"; +export type EventType = "SEND" | "REJECT" | "BOUNCE" | "COMPLAINT" | "DELIVERY" | "OPEN" | "CLICK" | "RENDERING_FAILURE" | "DELIVERY_DELAY" | "SUBSCRIPTION"; export type EventTypes = Array; export interface ExportDataSource { MetricsDataSource?: MetricsDataSource; @@ -1676,7 +1296,8 @@ export type FeedbackId = string; export type GeneralEnforcementStatus = string; -export interface GetAccountRequest {} +export interface GetAccountRequest { +} export interface GetAccountResponse { DedicatedIpAutoWarmupEnabled?: boolean; EnforcementStatus?: string; @@ -1770,7 +1391,8 @@ export interface GetDedicatedIpsResponse { DedicatedIps?: Array; NextToken?: string; } -export interface GetDeliverabilityDashboardOptionsRequest {} +export interface GetDeliverabilityDashboardOptionsRequest { +} export interface GetDeliverabilityDashboardOptionsResponse { DashboardEnabled: boolean; SubscriptionExpiryDate?: Date | string; @@ -1974,12 +1596,7 @@ export interface IspPlacement { export type IspPlacements = Array; export type JobId = string; -export type JobStatus = - | "CREATED" - | "PROCESSING" - | "COMPLETED" - | "FAILED" - | "CANCELLED"; +export type JobStatus = "CREATED" | "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLED"; export interface KinesisFirehoseDestination { IamRoleArn: string; DeliveryStreamArn: string; @@ -2110,15 +1727,8 @@ export type ListOfContacts = Array; export type ListOfDedicatedIpPools = Array; export type ListRecommendationFilterValue = string; -export type ListRecommendationsFilter = Record< - ListRecommendationsFilterKey, - string ->; -export type ListRecommendationsFilterKey = - | "TYPE" - | "IMPACT" - | "STATUS" - | "RESOURCE_ARN"; +export type ListRecommendationsFilter = Record; +export type ListRecommendationsFilterKey = "TYPE" | "IMPACT" | "STATUS" | "RESOURCE_ARN"; export interface ListRecommendationsRequest { Filter?: { [key in ListRecommendationsFilterKey]?: string }; NextToken?: string; @@ -2163,10 +1773,7 @@ export interface ListTagsForResourceRequest { export interface ListTagsForResourceResponse { Tags: Array; } -export type ListTenantResourcesFilter = Record< - ListTenantResourcesFilterKey, - string ->; +export type ListTenantResourcesFilter = Record; export type ListTenantResourcesFilterKey = "RESOURCE_TYPE"; export type ListTenantResourcesFilterValue = string; @@ -2200,11 +1807,7 @@ export declare class MailFromDomainNotVerifiedException extends EffectData.Tagge )<{ readonly message?: string; }> {} -export type MailFromDomainStatus = - | "PENDING" - | "SUCCESS" - | "FAILED" - | "TEMPORARY_FAILURE"; +export type MailFromDomainStatus = "PENDING" | "SUCCESS" | "FAILED" | "TEMPORARY_FAILURE"; export type MailType = "MARKETING" | "TRANSACTIONAL"; export type Max24HourSend = number; @@ -2264,17 +1867,7 @@ export type MessageTagName = string; export type MessageTagValue = string; -export type Metric = - | "SEND" - | "COMPLAINT" - | "PERMANENT_BOUNCE" - | "TRANSIENT_BOUNCE" - | "OPEN" - | "CLICK" - | "DELIVERY" - | "DELIVERY_OPEN" - | "DELIVERY_CLICK" - | "DELIVERY_COMPLAINT"; +export type Metric = "SEND" | "COMPLAINT" | "PERMANENT_BOUNCE" | "TRANSIENT_BOUNCE" | "OPEN" | "CLICK" | "DELIVERY" | "DELIVERY_OPEN" | "DELIVERY_CLICK" | "DELIVERY_COMPLAINT"; export type MetricAggregation = "RATE" | "VOLUME"; export interface MetricDataError { Id?: string; @@ -2288,10 +1881,7 @@ export interface MetricDataResult { Values?: Array; } export type MetricDataResultList = Array; -export type MetricDimensionName = - | "EMAIL_IDENTITY" - | "CONFIGURATION_SET" - | "ISP"; +export type MetricDimensionName = "EMAIL_IDENTITY" | "CONFIGURATION_SET" | "ISP"; export type MetricDimensionValue = string; export type MetricNamespace = "VDM"; @@ -2360,7 +1950,8 @@ export type ProcessedRecordsCount = number; export interface PutAccountDedicatedIpWarmupAttributesRequest { AutoWarmupEnabled?: boolean; } -export interface PutAccountDedicatedIpWarmupAttributesResponse {} +export interface PutAccountDedicatedIpWarmupAttributesResponse { +} export interface PutAccountDetailsRequest { MailType: MailType; WebsiteURL: string; @@ -2369,87 +1960,104 @@ export interface PutAccountDetailsRequest { AdditionalContactEmailAddresses?: Array; ProductionAccessEnabled?: boolean; } -export interface PutAccountDetailsResponse {} +export interface PutAccountDetailsResponse { +} export interface PutAccountSendingAttributesRequest { SendingEnabled?: boolean; } -export interface PutAccountSendingAttributesResponse {} +export interface PutAccountSendingAttributesResponse { +} export interface PutAccountSuppressionAttributesRequest { SuppressedReasons?: Array; } -export interface PutAccountSuppressionAttributesResponse {} +export interface PutAccountSuppressionAttributesResponse { +} export interface PutAccountVdmAttributesRequest { VdmAttributes: VdmAttributes; } -export interface PutAccountVdmAttributesResponse {} +export interface PutAccountVdmAttributesResponse { +} export interface PutConfigurationSetArchivingOptionsRequest { ConfigurationSetName: string; ArchiveArn?: string; } -export interface PutConfigurationSetArchivingOptionsResponse {} +export interface PutConfigurationSetArchivingOptionsResponse { +} export interface PutConfigurationSetDeliveryOptionsRequest { ConfigurationSetName: string; TlsPolicy?: TlsPolicy; SendingPoolName?: string; MaxDeliverySeconds?: number; } -export interface PutConfigurationSetDeliveryOptionsResponse {} +export interface PutConfigurationSetDeliveryOptionsResponse { +} export interface PutConfigurationSetReputationOptionsRequest { ConfigurationSetName: string; ReputationMetricsEnabled?: boolean; } -export interface PutConfigurationSetReputationOptionsResponse {} +export interface PutConfigurationSetReputationOptionsResponse { +} export interface PutConfigurationSetSendingOptionsRequest { ConfigurationSetName: string; SendingEnabled?: boolean; } -export interface PutConfigurationSetSendingOptionsResponse {} +export interface PutConfigurationSetSendingOptionsResponse { +} export interface PutConfigurationSetSuppressionOptionsRequest { ConfigurationSetName: string; SuppressedReasons?: Array; } -export interface PutConfigurationSetSuppressionOptionsResponse {} +export interface PutConfigurationSetSuppressionOptionsResponse { +} export interface PutConfigurationSetTrackingOptionsRequest { ConfigurationSetName: string; CustomRedirectDomain?: string; HttpsPolicy?: HttpsPolicy; } -export interface PutConfigurationSetTrackingOptionsResponse {} +export interface PutConfigurationSetTrackingOptionsResponse { +} export interface PutConfigurationSetVdmOptionsRequest { ConfigurationSetName: string; VdmOptions?: VdmOptions; } -export interface PutConfigurationSetVdmOptionsResponse {} +export interface PutConfigurationSetVdmOptionsResponse { +} export interface PutDedicatedIpInPoolRequest { Ip: string; DestinationPoolName: string; } -export interface PutDedicatedIpInPoolResponse {} +export interface PutDedicatedIpInPoolResponse { +} export interface PutDedicatedIpPoolScalingAttributesRequest { PoolName: string; ScalingMode: ScalingMode; } -export interface PutDedicatedIpPoolScalingAttributesResponse {} +export interface PutDedicatedIpPoolScalingAttributesResponse { +} export interface PutDedicatedIpWarmupAttributesRequest { Ip: string; WarmupPercentage: number; } -export interface PutDedicatedIpWarmupAttributesResponse {} +export interface PutDedicatedIpWarmupAttributesResponse { +} export interface PutDeliverabilityDashboardOptionRequest { DashboardEnabled: boolean; SubscribedDomains?: Array; } -export interface PutDeliverabilityDashboardOptionResponse {} +export interface PutDeliverabilityDashboardOptionResponse { +} export interface PutEmailIdentityConfigurationSetAttributesRequest { EmailIdentity: string; ConfigurationSetName?: string; } -export interface PutEmailIdentityConfigurationSetAttributesResponse {} +export interface PutEmailIdentityConfigurationSetAttributesResponse { +} export interface PutEmailIdentityDkimAttributesRequest { EmailIdentity: string; SigningEnabled?: boolean; } -export interface PutEmailIdentityDkimAttributesResponse {} +export interface PutEmailIdentityDkimAttributesResponse { +} export interface PutEmailIdentityDkimSigningAttributesRequest { EmailIdentity: string; SigningAttributesOrigin: DkimSigningAttributesOrigin; @@ -2463,18 +2071,21 @@ export interface PutEmailIdentityFeedbackAttributesRequest { EmailIdentity: string; EmailForwardingEnabled?: boolean; } -export interface PutEmailIdentityFeedbackAttributesResponse {} +export interface PutEmailIdentityFeedbackAttributesResponse { +} export interface PutEmailIdentityMailFromAttributesRequest { EmailIdentity: string; MailFromDomain?: string; BehaviorOnMxFailure?: BehaviorOnMxFailure; } -export interface PutEmailIdentityMailFromAttributesResponse {} +export interface PutEmailIdentityMailFromAttributesResponse { +} export interface PutSuppressedDestinationRequest { EmailAddress: string; Reason: SuppressionListReason; } -export interface PutSuppressedDestinationResponse {} +export interface PutSuppressedDestinationResponse { +} export type QueryErrorCode = "INTERNAL_FAILURE" | "ACCESS_DENIED"; export type QueryErrorMessage = string; @@ -2503,15 +2114,7 @@ export type RecommendationDescription = string; export type RecommendationImpact = "LOW" | "HIGH"; export type RecommendationsList = Array; export type RecommendationStatus = "OPEN" | "FIXED"; -export type RecommendationType = - | "DKIM" - | "DMARC" - | "SPF" - | "BIMI" - | "COMPLAINT" - | "BOUNCE" - | "FEEDBACK_3P" - | "IP_LISTING"; +export type RecommendationType = "DKIM" | "DMARC" | "SPF" | "BIMI" | "COMPLAINT" | "BOUNCE" | "FEEDBACK_3P" | "IP_LISTING"; export type Region = string; export type Regions = Array; @@ -2538,11 +2141,7 @@ export interface ReputationEntity { ReputationImpact?: RecommendationImpact; } export type ReputationEntityFilter = Record; -export type ReputationEntityFilterKey = - | "ENTITY_TYPE" - | "REPUTATION_IMPACT" - | "SENDING_STATUS" - | "ENTITY_REFERENCE_PREFIX"; +export type ReputationEntityFilterKey = "ENTITY_TYPE" | "REPUTATION_IMPACT" | "SENDING_STATUS" | "ENTITY_REFERENCE_PREFIX"; export type ReputationEntityFilterValue = string; export type ReputationEntityReference = string; @@ -2559,10 +2158,7 @@ export interface ResourceTenantMetadata { AssociatedTimestamp?: Date | string; } export type ResourceTenantMetadataList = Array; -export type ResourceType = - | "EMAIL_IDENTITY" - | "CONFIGURATION_SET" - | "EMAIL_TEMPLATE"; +export type ResourceType = "EMAIL_IDENTITY" | "CONFIGURATION_SET" | "EMAIL_TEMPLATE"; export interface ReviewDetails { Status?: ReviewStatus; CaseId?: string; @@ -2673,8 +2269,7 @@ export interface SuppressedDestinationAttributes { MessageId?: string; FeedbackId?: string; } -export type SuppressedDestinationSummaries = - Array; +export type SuppressedDestinationSummaries = Array; export interface SuppressedDestinationSummary { EmailAddress: string; Reason: SuppressionListReason; @@ -2704,7 +2299,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Template { @@ -2785,19 +2381,22 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateConfigurationSetEventDestinationRequest { ConfigurationSetName: string; EventDestinationName: string; EventDestination: EventDestinationDefinition; } -export interface UpdateConfigurationSetEventDestinationResponse {} +export interface UpdateConfigurationSetEventDestinationResponse { +} export interface UpdateContactListRequest { ContactListName: string; Topics?: Array; Description?: string; } -export interface UpdateContactListResponse {} +export interface UpdateContactListResponse { +} export interface UpdateContactRequest { ContactListName: string; EmailAddress: string; @@ -2805,7 +2404,8 @@ export interface UpdateContactRequest { UnsubscribeAll?: boolean; AttributesData?: string; } -export interface UpdateContactResponse {} +export interface UpdateContactResponse { +} export interface UpdateCustomVerificationEmailTemplateRequest { TemplateName: string; FromEmailAddress: string; @@ -2814,30 +2414,35 @@ export interface UpdateCustomVerificationEmailTemplateRequest { SuccessRedirectionURL: string; FailureRedirectionURL: string; } -export interface UpdateCustomVerificationEmailTemplateResponse {} +export interface UpdateCustomVerificationEmailTemplateResponse { +} export interface UpdateEmailIdentityPolicyRequest { EmailIdentity: string; PolicyName: string; Policy: string; } -export interface UpdateEmailIdentityPolicyResponse {} +export interface UpdateEmailIdentityPolicyResponse { +} export interface UpdateEmailTemplateRequest { TemplateName: string; TemplateContent: EmailTemplateContent; } -export interface UpdateEmailTemplateResponse {} +export interface UpdateEmailTemplateResponse { +} export interface UpdateReputationEntityCustomerManagedStatusRequest { ReputationEntityType: ReputationEntityType; ReputationEntityReference: string; SendingStatus: SendingStatus; } -export interface UpdateReputationEntityCustomerManagedStatusResponse {} +export interface UpdateReputationEntityCustomerManagedStatusResponse { +} export interface UpdateReputationEntityPolicyRequest { ReputationEntityType: ReputationEntityType; ReputationEntityReference: string; ReputationEntityPolicy: string; } -export interface UpdateReputationEntityPolicyResponse {} +export interface UpdateReputationEntityPolicyResponse { +} export type UseCaseDescription = string; export type UseDefaultIfPreferenceUnavailable = boolean; @@ -2851,29 +2456,14 @@ export interface VdmOptions { DashboardOptions?: DashboardOptions; GuardianOptions?: GuardianOptions; } -export type VerificationError = - | "SERVICE_ERROR" - | "DNS_SERVER_ERROR" - | "HOST_NOT_FOUND" - | "TYPE_NOT_FOUND" - | "INVALID_VALUE" - | "REPLICATION_ACCESS_DENIED" - | "REPLICATION_PRIMARY_NOT_FOUND" - | "REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED" - | "REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED" - | "REPLICATION_PRIMARY_INVALID_REGION"; +export type VerificationError = "SERVICE_ERROR" | "DNS_SERVER_ERROR" | "HOST_NOT_FOUND" | "TYPE_NOT_FOUND" | "INVALID_VALUE" | "REPLICATION_ACCESS_DENIED" | "REPLICATION_PRIMARY_NOT_FOUND" | "REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED" | "REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED" | "REPLICATION_PRIMARY_INVALID_REGION"; export interface VerificationInfo { LastCheckedTimestamp?: Date | string; LastSuccessTimestamp?: Date | string; ErrorType?: VerificationError; SOARecord?: SOARecord; } -export type VerificationStatus = - | "PENDING" - | "SUCCESS" - | "FAILED" - | "TEMPORARY_FAILURE" - | "NOT_STARTED"; +export type VerificationStatus = "PENDING" | "SUCCESS" | "FAILED" | "TEMPORARY_FAILURE" | "NOT_STARTED"; export type Volume = number; export interface VolumeStatistics { @@ -4012,18 +3602,5 @@ export declare namespace UpdateReputationEntityPolicy { | CommonAwsError; } -export type SESv2Errors = - | AccountSuspendedException - | AlreadyExistsException - | BadRequestException - | ConcurrentModificationException - | ConflictException - | InternalServiceErrorException - | InvalidNextTokenException - | LimitExceededException - | MailFromDomainNotVerifiedException - | MessageRejected - | NotFoundException - | SendingPausedException - | TooManyRequestsException - | CommonAwsError; +export type SESv2Errors = AccountSuspendedException | AlreadyExistsException | BadRequestException | ConcurrentModificationException | ConflictException | InternalServiceErrorException | InvalidNextTokenException | LimitExceededException | MailFromDomainNotVerifiedException | MessageRejected | NotFoundException | SendingPausedException | TooManyRequestsException | CommonAwsError; + diff --git a/src/services/sfn/index.ts b/src/services/sfn/index.ts index 1bff106d..bc677ba3 100644 --- a/src/services/sfn/index.ts +++ b/src/services/sfn/index.ts @@ -5,25 +5,7 @@ import type { SFN as _SFNClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/sfn/types.ts b/src/services/sfn/types.ts index 18713d7b..13610f06 100644 --- a/src/services/sfn/types.ts +++ b/src/services/sfn/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SFN extends AWSServiceClient { @@ -42,52 +8,26 @@ export declare class SFN extends AWSServiceClient { input: CreateActivityInput, ): Effect.Effect< CreateActivityOutput, - | ActivityAlreadyExists - | ActivityLimitExceeded - | InvalidEncryptionConfiguration - | InvalidName - | KmsAccessDeniedException - | KmsThrottlingException - | TooManyTags - | CommonAwsError + ActivityAlreadyExists | ActivityLimitExceeded | InvalidEncryptionConfiguration | InvalidName | KmsAccessDeniedException | KmsThrottlingException | TooManyTags | CommonAwsError >; createStateMachine( input: CreateStateMachineInput, ): Effect.Effect< CreateStateMachineOutput, - | ConflictException - | InvalidArn - | InvalidDefinition - | InvalidEncryptionConfiguration - | InvalidLoggingConfiguration - | InvalidName - | InvalidTracingConfiguration - | KmsAccessDeniedException - | KmsThrottlingException - | StateMachineAlreadyExists - | StateMachineDeleting - | StateMachineLimitExceeded - | StateMachineTypeNotSupported - | TooManyTags - | ValidationException - | CommonAwsError + ConflictException | InvalidArn | InvalidDefinition | InvalidEncryptionConfiguration | InvalidLoggingConfiguration | InvalidName | InvalidTracingConfiguration | KmsAccessDeniedException | KmsThrottlingException | StateMachineAlreadyExists | StateMachineDeleting | StateMachineLimitExceeded | StateMachineTypeNotSupported | TooManyTags | ValidationException | CommonAwsError >; createStateMachineAlias( input: CreateStateMachineAliasInput, ): Effect.Effect< CreateStateMachineAliasOutput, - | ConflictException - | InvalidArn - | InvalidName - | ResourceNotFound - | ServiceQuotaExceededException - | StateMachineDeleting - | ValidationException - | CommonAwsError + ConflictException | InvalidArn | InvalidName | ResourceNotFound | ServiceQuotaExceededException | StateMachineDeleting | ValidationException | CommonAwsError >; deleteActivity( input: DeleteActivityInput, - ): Effect.Effect; + ): Effect.Effect< + DeleteActivityOutput, + InvalidArn | CommonAwsError + >; deleteStateMachine( input: DeleteStateMachineInput, ): Effect.Effect< @@ -98,11 +38,7 @@ export declare class SFN extends AWSServiceClient { input: DeleteStateMachineAliasInput, ): Effect.Effect< DeleteStateMachineAliasOutput, - | ConflictException - | InvalidArn - | ResourceNotFound - | ValidationException - | CommonAwsError + ConflictException | InvalidArn | ResourceNotFound | ValidationException | CommonAwsError >; deleteStateMachineVersion( input: DeleteStateMachineVersionInput, @@ -120,12 +56,7 @@ export declare class SFN extends AWSServiceClient { input: DescribeExecutionInput, ): Effect.Effect< DescribeExecutionOutput, - | ExecutionDoesNotExist - | InvalidArn - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | CommonAwsError + ExecutionDoesNotExist | InvalidArn | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | CommonAwsError >; describeMapRun( input: DescribeMapRunInput, @@ -137,12 +68,7 @@ export declare class SFN extends AWSServiceClient { input: DescribeStateMachineInput, ): Effect.Effect< DescribeStateMachineOutput, - | InvalidArn - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | StateMachineDoesNotExist - | CommonAwsError + InvalidArn | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | StateMachineDoesNotExist | CommonAwsError >; describeStateMachineAlias( input: DescribeStateMachineAliasInput, @@ -154,51 +80,31 @@ export declare class SFN extends AWSServiceClient { input: DescribeStateMachineForExecutionInput, ): Effect.Effect< DescribeStateMachineForExecutionOutput, - | ExecutionDoesNotExist - | InvalidArn - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | CommonAwsError + ExecutionDoesNotExist | InvalidArn | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | CommonAwsError >; getActivityTask( input: GetActivityTaskInput, ): Effect.Effect< GetActivityTaskOutput, - | ActivityDoesNotExist - | ActivityWorkerLimitExceeded - | InvalidArn - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | CommonAwsError + ActivityDoesNotExist | ActivityWorkerLimitExceeded | InvalidArn | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | CommonAwsError >; getExecutionHistory( input: GetExecutionHistoryInput, ): Effect.Effect< GetExecutionHistoryOutput, - | ExecutionDoesNotExist - | InvalidArn - | InvalidToken - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | CommonAwsError + ExecutionDoesNotExist | InvalidArn | InvalidToken | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | CommonAwsError >; listActivities( input: ListActivitiesInput, - ): Effect.Effect; + ): Effect.Effect< + ListActivitiesOutput, + InvalidToken | CommonAwsError + >; listExecutions( input: ListExecutionsInput, ): Effect.Effect< ListExecutionsOutput, - | InvalidArn - | InvalidToken - | ResourceNotFound - | StateMachineDoesNotExist - | StateMachineTypeNotSupported - | ValidationException - | CommonAwsError + InvalidArn | InvalidToken | ResourceNotFound | StateMachineDoesNotExist | StateMachineTypeNotSupported | ValidationException | CommonAwsError >; listMapRuns( input: ListMapRunsInput, @@ -210,16 +116,14 @@ export declare class SFN extends AWSServiceClient { input: ListStateMachineAliasesInput, ): Effect.Effect< ListStateMachineAliasesOutput, - | InvalidArn - | InvalidToken - | ResourceNotFound - | StateMachineDeleting - | StateMachineDoesNotExist - | CommonAwsError + InvalidArn | InvalidToken | ResourceNotFound | StateMachineDeleting | StateMachineDoesNotExist | CommonAwsError >; listStateMachines( input: ListStateMachinesInput, - ): Effect.Effect; + ): Effect.Effect< + ListStateMachinesOutput, + InvalidToken | CommonAwsError + >; listStateMachineVersions( input: ListStateMachineVersionsInput, ): Effect.Effect< @@ -236,36 +140,19 @@ export declare class SFN extends AWSServiceClient { input: PublishStateMachineVersionInput, ): Effect.Effect< PublishStateMachineVersionOutput, - | ConflictException - | InvalidArn - | ServiceQuotaExceededException - | StateMachineDeleting - | StateMachineDoesNotExist - | ValidationException - | CommonAwsError + ConflictException | InvalidArn | ServiceQuotaExceededException | StateMachineDeleting | StateMachineDoesNotExist | ValidationException | CommonAwsError >; redriveExecution( input: RedriveExecutionInput, ): Effect.Effect< RedriveExecutionOutput, - | ExecutionDoesNotExist - | ExecutionLimitExceeded - | ExecutionNotRedrivable - | InvalidArn - | ValidationException - | CommonAwsError + ExecutionDoesNotExist | ExecutionLimitExceeded | ExecutionNotRedrivable | InvalidArn | ValidationException | CommonAwsError >; sendTaskFailure( input: SendTaskFailureInput, ): Effect.Effect< SendTaskFailureOutput, - | InvalidToken - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | TaskDoesNotExist - | TaskTimedOut - | CommonAwsError + InvalidToken | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | TaskDoesNotExist | TaskTimedOut | CommonAwsError >; sendTaskHeartbeat( input: SendTaskHeartbeatInput, @@ -277,58 +164,25 @@ export declare class SFN extends AWSServiceClient { input: SendTaskSuccessInput, ): Effect.Effect< SendTaskSuccessOutput, - | InvalidOutput - | InvalidToken - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | TaskDoesNotExist - | TaskTimedOut - | CommonAwsError + InvalidOutput | InvalidToken | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | TaskDoesNotExist | TaskTimedOut | CommonAwsError >; startExecution( input: StartExecutionInput, ): Effect.Effect< StartExecutionOutput, - | ExecutionAlreadyExists - | ExecutionLimitExceeded - | InvalidArn - | InvalidExecutionInput - | InvalidName - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | StateMachineDeleting - | StateMachineDoesNotExist - | ValidationException - | CommonAwsError + ExecutionAlreadyExists | ExecutionLimitExceeded | InvalidArn | InvalidExecutionInput | InvalidName | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | StateMachineDeleting | StateMachineDoesNotExist | ValidationException | CommonAwsError >; startSyncExecution( input: StartSyncExecutionInput, ): Effect.Effect< StartSyncExecutionOutput, - | InvalidArn - | InvalidExecutionInput - | InvalidName - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | StateMachineDeleting - | StateMachineDoesNotExist - | StateMachineTypeNotSupported - | CommonAwsError + InvalidArn | InvalidExecutionInput | InvalidName | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | StateMachineDeleting | StateMachineDoesNotExist | StateMachineTypeNotSupported | CommonAwsError >; stopExecution( input: StopExecutionInput, ): Effect.Effect< StopExecutionOutput, - | ExecutionDoesNotExist - | InvalidArn - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | ValidationException - | CommonAwsError + ExecutionDoesNotExist | InvalidArn | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, @@ -340,11 +194,7 @@ export declare class SFN extends AWSServiceClient { input: TestStateInput, ): Effect.Effect< TestStateOutput, - | InvalidArn - | InvalidDefinition - | InvalidExecutionInput - | ValidationException - | CommonAwsError + InvalidArn | InvalidDefinition | InvalidExecutionInput | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, @@ -362,31 +212,13 @@ export declare class SFN extends AWSServiceClient { input: UpdateStateMachineInput, ): Effect.Effect< UpdateStateMachineOutput, - | ConflictException - | InvalidArn - | InvalidDefinition - | InvalidEncryptionConfiguration - | InvalidLoggingConfiguration - | InvalidTracingConfiguration - | KmsAccessDeniedException - | KmsThrottlingException - | MissingRequiredParameter - | ServiceQuotaExceededException - | StateMachineDeleting - | StateMachineDoesNotExist - | ValidationException - | CommonAwsError + ConflictException | InvalidArn | InvalidDefinition | InvalidEncryptionConfiguration | InvalidLoggingConfiguration | InvalidTracingConfiguration | KmsAccessDeniedException | KmsThrottlingException | MissingRequiredParameter | ServiceQuotaExceededException | StateMachineDeleting | StateMachineDoesNotExist | ValidationException | CommonAwsError >; updateStateMachineAlias( input: UpdateStateMachineAliasInput, ): Effect.Effect< UpdateStateMachineAliasOutput, - | ConflictException - | InvalidArn - | ResourceNotFound - | StateMachineDeleting - | ValidationException - | CommonAwsError + ConflictException | InvalidArn | ResourceNotFound | StateMachineDeleting | ValidationException | CommonAwsError >; validateStateMachineDefinition( input: ValidateStateMachineDefinitionInput, @@ -523,19 +355,23 @@ export type Definition = string; export interface DeleteActivityInput { activityArn: string; } -export interface DeleteActivityOutput {} +export interface DeleteActivityOutput { +} export interface DeleteStateMachineAliasInput { stateMachineAliasArn: string; } -export interface DeleteStateMachineAliasOutput {} +export interface DeleteStateMachineAliasOutput { +} export interface DeleteStateMachineInput { stateMachineArn: string; } -export interface DeleteStateMachineOutput {} +export interface DeleteStateMachineOutput { +} export interface DeleteStateMachineVersionInput { stateMachineVersionArn: string; } -export interface DeleteStateMachineVersionOutput {} +export interface DeleteStateMachineVersionOutput { +} export interface DescribeActivityInput { activityArn: string; } @@ -704,10 +540,7 @@ export type ExecutionRedriveFilter = "REDRIVEN" | "NOT_REDRIVEN"; export interface ExecutionRedrivenEventDetails { redriveCount?: number; } -export type ExecutionRedriveStatus = - | "REDRIVABLE" - | "NOT_REDRIVABLE" - | "REDRIVABLE_BY_MAP_RUN"; +export type ExecutionRedriveStatus = "REDRIVABLE" | "NOT_REDRIVABLE" | "REDRIVABLE_BY_MAP_RUN"; export interface ExecutionStartedEventDetails { input?: string; inputDetails?: HistoryEventExecutionDataDetails; @@ -715,13 +548,7 @@ export interface ExecutionStartedEventDetails { stateMachineAliasArn?: string; stateMachineVersionArn?: string; } -export type ExecutionStatus = - | "RUNNING" - | "SUCCEEDED" - | "FAILED" - | "TIMED_OUT" - | "ABORTED" - | "PENDING_REDRIVE"; +export type ExecutionStatus = "RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "ABORTED" | "PENDING_REDRIVE"; export interface ExecutionSucceededEventDetails { output?: string; outputDetails?: HistoryEventExecutionDataDetails; @@ -796,69 +623,7 @@ export interface HistoryEventExecutionDataDetails { truncated?: boolean; } export type HistoryEventList = Array; -export type HistoryEventType = - | "ActivityFailed" - | "ActivityScheduled" - | "ActivityScheduleFailed" - | "ActivityStarted" - | "ActivitySucceeded" - | "ActivityTimedOut" - | "ChoiceStateEntered" - | "ChoiceStateExited" - | "ExecutionAborted" - | "ExecutionFailed" - | "ExecutionStarted" - | "ExecutionSucceeded" - | "ExecutionTimedOut" - | "FailStateEntered" - | "LambdaFunctionFailed" - | "LambdaFunctionScheduled" - | "LambdaFunctionScheduleFailed" - | "LambdaFunctionStarted" - | "LambdaFunctionStartFailed" - | "LambdaFunctionSucceeded" - | "LambdaFunctionTimedOut" - | "MapIterationAborted" - | "MapIterationFailed" - | "MapIterationStarted" - | "MapIterationSucceeded" - | "MapStateAborted" - | "MapStateEntered" - | "MapStateExited" - | "MapStateFailed" - | "MapStateStarted" - | "MapStateSucceeded" - | "ParallelStateAborted" - | "ParallelStateEntered" - | "ParallelStateExited" - | "ParallelStateFailed" - | "ParallelStateStarted" - | "ParallelStateSucceeded" - | "PassStateEntered" - | "PassStateExited" - | "SucceedStateEntered" - | "SucceedStateExited" - | "TaskFailed" - | "TaskScheduled" - | "TaskStarted" - | "TaskStartFailed" - | "TaskStateAborted" - | "TaskStateEntered" - | "TaskStateExited" - | "TaskSubmitFailed" - | "TaskSubmitted" - | "TaskSucceeded" - | "TaskTimedOut" - | "WaitStateAborted" - | "WaitStateEntered" - | "WaitStateExited" - | "MapRunAborted" - | "MapRunFailed" - | "MapRunStarted" - | "MapRunSucceeded" - | "ExecutionRedriven" - | "MapRunRedriven" - | "EvaluationFailed"; +export type HistoryEventType = "ActivityFailed" | "ActivityScheduled" | "ActivityScheduleFailed" | "ActivityStarted" | "ActivitySucceeded" | "ActivityTimedOut" | "ChoiceStateEntered" | "ChoiceStateExited" | "ExecutionAborted" | "ExecutionFailed" | "ExecutionStarted" | "ExecutionSucceeded" | "ExecutionTimedOut" | "FailStateEntered" | "LambdaFunctionFailed" | "LambdaFunctionScheduled" | "LambdaFunctionScheduleFailed" | "LambdaFunctionStarted" | "LambdaFunctionStartFailed" | "LambdaFunctionSucceeded" | "LambdaFunctionTimedOut" | "MapIterationAborted" | "MapIterationFailed" | "MapIterationStarted" | "MapIterationSucceeded" | "MapStateAborted" | "MapStateEntered" | "MapStateExited" | "MapStateFailed" | "MapStateStarted" | "MapStateSucceeded" | "ParallelStateAborted" | "ParallelStateEntered" | "ParallelStateExited" | "ParallelStateFailed" | "ParallelStateStarted" | "ParallelStateSucceeded" | "PassStateEntered" | "PassStateExited" | "SucceedStateEntered" | "SucceedStateExited" | "TaskFailed" | "TaskScheduled" | "TaskStarted" | "TaskStartFailed" | "TaskStateAborted" | "TaskStateEntered" | "TaskStateExited" | "TaskSubmitFailed" | "TaskSubmitted" | "TaskSucceeded" | "TaskTimedOut" | "WaitStateAborted" | "WaitStateEntered" | "WaitStateExited" | "MapRunAborted" | "MapRunFailed" | "MapRunStarted" | "MapRunSucceeded" | "ExecutionRedriven" | "MapRunRedriven" | "EvaluationFailed"; export type HTTPBody = string; export type HTTPHeaders = string; @@ -907,7 +672,9 @@ export interface InspectionDataResponse { body?: string; } export type InspectionLevel = "INFO" | "DEBUG" | "TRACE"; -export declare class InvalidArn extends EffectData.TaggedError("InvalidArn")<{ +export declare class InvalidArn extends EffectData.TaggedError( + "InvalidArn", +)<{ readonly message?: string; }> {} export declare class InvalidDefinition extends EffectData.TaggedError( @@ -930,7 +697,9 @@ export declare class InvalidLoggingConfiguration extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export declare class InvalidName extends EffectData.TaggedError("InvalidName")<{ +export declare class InvalidName extends EffectData.TaggedError( + "InvalidName", +)<{ readonly message?: string; }> {} export declare class InvalidOutput extends EffectData.TaggedError( @@ -963,12 +732,7 @@ export declare class KmsInvalidStateException extends EffectData.TaggedError( }> {} export type KmsKeyId = string; -export type KmsKeyState = - | "DISABLED" - | "PENDING_DELETION" - | "PENDING_IMPORT" - | "UNAVAILABLE" - | "CREATING"; +export type KmsKeyState = "DISABLED" | "PENDING_DELETION" | "PENDING_IMPORT" | "UNAVAILABLE" | "CREATING"; export declare class KmsThrottlingException extends EffectData.TaggedError( "KmsThrottlingException", )<{ @@ -1186,16 +950,19 @@ export interface SendTaskFailureInput { error?: string; cause?: string; } -export interface SendTaskFailureOutput {} +export interface SendTaskFailureOutput { +} export interface SendTaskHeartbeatInput { taskToken: string; } -export interface SendTaskHeartbeatOutput {} +export interface SendTaskHeartbeatOutput { +} export interface SendTaskSuccessInput { taskToken: string; output: string; } -export interface SendTaskSuccessOutput {} +export interface SendTaskSuccessOutput { +} export type SensitiveCause = string; export type SensitiveData = string; @@ -1321,7 +1088,8 @@ export interface TagResourceInput { resourceArn: string; tags: Array; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export interface TaskCredentials { @@ -1388,11 +1156,7 @@ export interface TaskTimedOutEventDetails { } export type TaskToken = string; -export type TestExecutionStatus = - | "SUCCEEDED" - | "FAILED" - | "RETRIABLE" - | "CAUGHT_ERROR"; +export type TestExecutionStatus = "SUCCEEDED" | "FAILED" | "RETRIABLE" | "CAUGHT_ERROR"; export interface TestStateInput { definition: string; roleArn?: string; @@ -1417,7 +1181,9 @@ export type ToleratedFailureCount = number; export type ToleratedFailurePercentage = number; -export declare class TooManyTags extends EffectData.TaggedError("TooManyTags")<{ +export declare class TooManyTags extends EffectData.TaggedError( + "TooManyTags", +)<{ readonly message?: string; readonly resourceName?: string; }> {} @@ -1436,14 +1202,16 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateMapRunInput { mapRunArn: string; maxConcurrency?: number; toleratedFailurePercentage?: number; toleratedFailureCount?: number; } -export interface UpdateMapRunOutput {} +export interface UpdateMapRunOutput { +} export interface UpdateStateMachineAliasInput { stateMachineAliasArn: string; description?: string; @@ -1477,8 +1245,7 @@ export interface ValidateStateMachineDefinitionDiagnostic { message: string; location?: string; } -export type ValidateStateMachineDefinitionDiagnosticList = - Array; +export type ValidateStateMachineDefinitionDiagnosticList = Array; export interface ValidateStateMachineDefinitionInput { definition: string; type?: StateMachineType; @@ -1506,11 +1273,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly message?: string; readonly reason?: ValidationExceptionReason; }> {} -export type ValidationExceptionReason = - | "API_DOES_NOT_SUPPORT_LABELED_ARNS" - | "MISSING_REQUIRED_PARAMETER" - | "CANNOT_UPDATE_COMPLETED_MAP_RUN" - | "INVALID_ROUTING_CONFIGURATION"; +export type ValidationExceptionReason = "API_DOES_NOT_SUPPORT_LABELED_ARNS" | "MISSING_REQUIRED_PARAMETER" | "CANNOT_UPDATE_COMPLETED_MAP_RUN" | "INVALID_ROUTING_CONFIGURATION"; export type VariableName = string; export type VariableNameList = Array; @@ -1574,13 +1337,18 @@ export declare namespace CreateStateMachineAlias { export declare namespace DeleteActivity { export type Input = DeleteActivityInput; export type Output = DeleteActivityOutput; - export type Error = InvalidArn | CommonAwsError; + export type Error = + | InvalidArn + | CommonAwsError; } export declare namespace DeleteStateMachine { export type Input = DeleteStateMachineInput; export type Output = DeleteStateMachineOutput; - export type Error = InvalidArn | ValidationException | CommonAwsError; + export type Error = + | InvalidArn + | ValidationException + | CommonAwsError; } export declare namespace DeleteStateMachineAlias { @@ -1607,7 +1375,10 @@ export declare namespace DeleteStateMachineVersion { export declare namespace DescribeActivity { export type Input = DescribeActivityInput; export type Output = DescribeActivityOutput; - export type Error = ActivityDoesNotExist | InvalidArn | CommonAwsError; + export type Error = + | ActivityDoesNotExist + | InvalidArn + | CommonAwsError; } export declare namespace DescribeExecution { @@ -1625,7 +1396,10 @@ export declare namespace DescribeExecution { export declare namespace DescribeMapRun { export type Input = DescribeMapRunInput; export type Output = DescribeMapRunOutput; - export type Error = InvalidArn | ResourceNotFound | CommonAwsError; + export type Error = + | InvalidArn + | ResourceNotFound + | CommonAwsError; } export declare namespace DescribeStateMachine { @@ -1691,7 +1465,9 @@ export declare namespace GetExecutionHistory { export declare namespace ListActivities { export type Input = ListActivitiesInput; export type Output = ListActivitiesOutput; - export type Error = InvalidToken | CommonAwsError; + export type Error = + | InvalidToken + | CommonAwsError; } export declare namespace ListExecutions { @@ -1732,7 +1508,9 @@ export declare namespace ListStateMachineAliases { export declare namespace ListStateMachines { export type Input = ListStateMachinesInput; export type Output = ListStateMachinesOutput; - export type Error = InvalidToken | CommonAwsError; + export type Error = + | InvalidToken + | CommonAwsError; } export declare namespace ListStateMachineVersions { @@ -1748,7 +1526,10 @@ export declare namespace ListStateMachineVersions { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceInput; export type Output = ListTagsForResourceOutput; - export type Error = InvalidArn | ResourceNotFound | CommonAwsError; + export type Error = + | InvalidArn + | ResourceNotFound + | CommonAwsError; } export declare namespace PublishStateMachineVersion { @@ -1884,7 +1665,10 @@ export declare namespace TestState { export declare namespace UntagResource { export type Input = UntagResourceInput; export type Output = UntagResourceOutput; - export type Error = InvalidArn | ResourceNotFound | CommonAwsError; + export type Error = + | InvalidArn + | ResourceNotFound + | CommonAwsError; } export declare namespace UpdateMapRun { @@ -1932,41 +1716,10 @@ export declare namespace UpdateStateMachineAlias { export declare namespace ValidateStateMachineDefinition { export type Input = ValidateStateMachineDefinitionInput; export type Output = ValidateStateMachineDefinitionOutput; - export type Error = ValidationException | CommonAwsError; -} - -export type SFNErrors = - | ActivityAlreadyExists - | ActivityDoesNotExist - | ActivityLimitExceeded - | ActivityWorkerLimitExceeded - | ConflictException - | ExecutionAlreadyExists - | ExecutionDoesNotExist - | ExecutionLimitExceeded - | ExecutionNotRedrivable - | InvalidArn - | InvalidDefinition - | InvalidEncryptionConfiguration - | InvalidExecutionInput - | InvalidLoggingConfiguration - | InvalidName - | InvalidOutput - | InvalidToken - | InvalidTracingConfiguration - | KmsAccessDeniedException - | KmsInvalidStateException - | KmsThrottlingException - | MissingRequiredParameter - | ResourceNotFound - | ServiceQuotaExceededException - | StateMachineAlreadyExists - | StateMachineDeleting - | StateMachineDoesNotExist - | StateMachineLimitExceeded - | StateMachineTypeNotSupported - | TaskDoesNotExist - | TaskTimedOut - | TooManyTags - | ValidationException - | CommonAwsError; + export type Error = + | ValidationException + | CommonAwsError; +} + +export type SFNErrors = ActivityAlreadyExists | ActivityDoesNotExist | ActivityLimitExceeded | ActivityWorkerLimitExceeded | ConflictException | ExecutionAlreadyExists | ExecutionDoesNotExist | ExecutionLimitExceeded | ExecutionNotRedrivable | InvalidArn | InvalidDefinition | InvalidEncryptionConfiguration | InvalidExecutionInput | InvalidLoggingConfiguration | InvalidName | InvalidOutput | InvalidToken | InvalidTracingConfiguration | KmsAccessDeniedException | KmsInvalidStateException | KmsThrottlingException | MissingRequiredParameter | ResourceNotFound | ServiceQuotaExceededException | StateMachineAlreadyExists | StateMachineDeleting | StateMachineDoesNotExist | StateMachineLimitExceeded | StateMachineTypeNotSupported | TaskDoesNotExist | TaskTimedOut | TooManyTags | ValidationException | CommonAwsError; + diff --git a/src/services/shield/index.ts b/src/services/shield/index.ts index 8f0f4544..8e87c4cb 100644 --- a/src/services/shield/index.ts +++ b/src/services/shield/index.ts @@ -5,25 +5,7 @@ import type { Shield as _ShieldClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/shield/types.ts b/src/services/shield/types.ts index 212151f0..dd28a380 100644 --- a/src/services/shield/types.ts +++ b/src/services/shield/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException; import { AWSServiceClient } from "../../client.ts"; export declare class Shield extends AWSServiceClient { @@ -42,76 +8,37 @@ export declare class Shield extends AWSServiceClient { input: AssociateDRTLogBucketRequest, ): Effect.Effect< AssociateDRTLogBucketResponse, - | AccessDeniedForDependencyException - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | LimitsExceededException - | NoAssociatedRoleException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedForDependencyException | InternalErrorException | InvalidOperationException | InvalidParameterException | LimitsExceededException | NoAssociatedRoleException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; associateDRTRole( input: AssociateDRTRoleRequest, ): Effect.Effect< AssociateDRTRoleResponse, - | AccessDeniedForDependencyException - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedForDependencyException | InternalErrorException | InvalidOperationException | InvalidParameterException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; associateHealthCheck( input: AssociateHealthCheckRequest, ): Effect.Effect< AssociateHealthCheckResponse, - | InternalErrorException - | InvalidParameterException - | InvalidResourceException - | LimitsExceededException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | InvalidResourceException | LimitsExceededException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; associateProactiveEngagementDetails( input: AssociateProactiveEngagementDetailsRequest, ): Effect.Effect< AssociateProactiveEngagementDetailsResponse, - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | InvalidParameterException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; createProtection( input: CreateProtectionRequest, ): Effect.Effect< CreateProtectionResponse, - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | InvalidResourceException - | LimitsExceededException - | OptimisticLockException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | InvalidParameterException | InvalidResourceException | LimitsExceededException | OptimisticLockException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createProtectionGroup( input: CreateProtectionGroupRequest, ): Effect.Effect< CreateProtectionGroupResponse, - | InternalErrorException - | InvalidParameterException - | LimitsExceededException - | OptimisticLockException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | LimitsExceededException | OptimisticLockException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError >; createSubscription( input: CreateSubscriptionRequest, @@ -123,28 +50,19 @@ export declare class Shield extends AWSServiceClient { input: DeleteProtectionRequest, ): Effect.Effect< DeleteProtectionResponse, - | InternalErrorException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; deleteProtectionGroup( input: DeleteProtectionGroupRequest, ): Effect.Effect< DeleteProtectionGroupResponse, - | InternalErrorException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; deleteSubscription( input: DeleteSubscriptionRequest, ): Effect.Effect< DeleteSubscriptionResponse, - | InternalErrorException - | LockedSubscriptionException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | LockedSubscriptionException | ResourceNotFoundException | CommonAwsError >; describeAttack( input: DescribeAttackRequest, @@ -174,10 +92,7 @@ export declare class Shield extends AWSServiceClient { input: DescribeProtectionRequest, ): Effect.Effect< DescribeProtectionResponse, - | InternalErrorException - | InvalidParameterException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | ResourceNotFoundException | CommonAwsError >; describeProtectionGroup( input: DescribeProtectionGroupRequest, @@ -195,79 +110,43 @@ export declare class Shield extends AWSServiceClient { input: DisableApplicationLayerAutomaticResponseRequest, ): Effect.Effect< DisableApplicationLayerAutomaticResponseResponse, - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | InvalidParameterException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; disableProactiveEngagement( input: DisableProactiveEngagementRequest, ): Effect.Effect< DisableProactiveEngagementResponse, - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | InvalidParameterException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; disassociateDRTLogBucket( input: DisassociateDRTLogBucketRequest, ): Effect.Effect< DisassociateDRTLogBucketResponse, - | AccessDeniedForDependencyException - | InternalErrorException - | InvalidOperationException - | NoAssociatedRoleException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedForDependencyException | InternalErrorException | InvalidOperationException | NoAssociatedRoleException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; disassociateDRTRole( input: DisassociateDRTRoleRequest, ): Effect.Effect< DisassociateDRTRoleResponse, - | InternalErrorException - | InvalidOperationException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; disassociateHealthCheck( input: DisassociateHealthCheckRequest, ): Effect.Effect< DisassociateHealthCheckResponse, - | InternalErrorException - | InvalidParameterException - | InvalidResourceException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | InvalidResourceException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; enableApplicationLayerAutomaticResponse( input: EnableApplicationLayerAutomaticResponseRequest, ): Effect.Effect< EnableApplicationLayerAutomaticResponseResponse, - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | LimitsExceededException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | InvalidParameterException | LimitsExceededException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; enableProactiveEngagement( input: EnableProactiveEngagementRequest, ): Effect.Effect< EnableProactiveEngagementResponse, - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | InvalidParameterException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; getSubscriptionState( input: GetSubscriptionStateRequest, @@ -279,108 +158,67 @@ export declare class Shield extends AWSServiceClient { input: ListAttacksRequest, ): Effect.Effect< ListAttacksResponse, - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | CommonAwsError + InternalErrorException | InvalidOperationException | InvalidParameterException | CommonAwsError >; listProtectionGroups( input: ListProtectionGroupsRequest, ): Effect.Effect< ListProtectionGroupsResponse, - | InternalErrorException - | InvalidPaginationTokenException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidPaginationTokenException | ResourceNotFoundException | CommonAwsError >; listProtections( input: ListProtectionsRequest, ): Effect.Effect< ListProtectionsResponse, - | InternalErrorException - | InvalidPaginationTokenException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidPaginationTokenException | ResourceNotFoundException | CommonAwsError >; listResourcesInProtectionGroup( input: ListResourcesInProtectionGroupRequest, ): Effect.Effect< ListResourcesInProtectionGroupResponse, - | InternalErrorException - | InvalidPaginationTokenException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidPaginationTokenException | ResourceNotFoundException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalErrorException - | InvalidResourceException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidResourceException | ResourceNotFoundException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InternalErrorException - | InvalidParameterException - | InvalidResourceException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | InvalidResourceException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InternalErrorException - | InvalidParameterException - | InvalidResourceException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | InvalidResourceException | ResourceNotFoundException | CommonAwsError >; updateApplicationLayerAutomaticResponse( input: UpdateApplicationLayerAutomaticResponseRequest, ): Effect.Effect< UpdateApplicationLayerAutomaticResponseResponse, - | InternalErrorException - | InvalidOperationException - | InvalidParameterException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidOperationException | InvalidParameterException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; updateEmergencyContactSettings( input: UpdateEmergencyContactSettingsRequest, ): Effect.Effect< UpdateEmergencyContactSettingsResponse, - | InternalErrorException - | InvalidParameterException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; updateProtectionGroup( input: UpdateProtectionGroupRequest, ): Effect.Effect< UpdateProtectionGroupResponse, - | InternalErrorException - | InvalidParameterException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; updateSubscription( input: UpdateSubscriptionRequest, ): Effect.Effect< UpdateSubscriptionResponse, - | InternalErrorException - | InvalidParameterException - | LockedSubscriptionException - | OptimisticLockException - | ResourceNotFoundException - | CommonAwsError + InternalErrorException | InvalidParameterException | LockedSubscriptionException | OptimisticLockException | ResourceNotFoundException | CommonAwsError >; } @@ -402,20 +240,24 @@ export type ApplicationLayerAutomaticResponseStatus = "ENABLED" | "DISABLED"; export interface AssociateDRTLogBucketRequest { LogBucket: string; } -export interface AssociateDRTLogBucketResponse {} +export interface AssociateDRTLogBucketResponse { +} export interface AssociateDRTRoleRequest { RoleArn: string; } -export interface AssociateDRTRoleResponse {} +export interface AssociateDRTRoleResponse { +} export interface AssociateHealthCheckRequest { ProtectionId: string; HealthCheckArn: string; } -export interface AssociateHealthCheckResponse {} +export interface AssociateHealthCheckResponse { +} export interface AssociateProactiveEngagementDetailsRequest { EmergencyContactList: Array; } -export interface AssociateProactiveEngagementDetailsResponse {} +export interface AssociateProactiveEngagementDetailsResponse { +} export interface AttackDetail { AttackId?: string; ResourceArn?: string; @@ -437,15 +279,7 @@ export interface AttackProperty { Unit?: Unit; Total?: number; } -export type AttackPropertyIdentifier = - | "DESTINATION_URL" - | "REFERRER" - | "SOURCE_ASN" - | "SOURCE_COUNTRY" - | "SOURCE_IP_ADDRESS" - | "SOURCE_USER_AGENT" - | "WORDPRESS_PINGBACK_REFLECTOR" - | "WORDPRESS_PINGBACK_SOURCE"; +export type AttackPropertyIdentifier = "DESTINATION_URL" | "REFERRER" | "SOURCE_ASN" | "SOURCE_COUNTRY" | "SOURCE_IP_ADDRESS" | "SOURCE_USER_AGENT" | "WORDPRESS_PINGBACK_REFLECTOR" | "WORDPRESS_PINGBACK_SOURCE"; export interface AttackStatisticsDataItem { AttackVolume?: AttackVolume; AttackCount: number; @@ -474,14 +308,16 @@ export interface AttackVolumeStatistics { Max: number; } export type AutoRenew = "ENABLED" | "DISABLED"; -export interface BlockAction {} +export interface BlockAction { +} export type ContactNotes = string; export interface Contributor { Name?: string; Value?: number; } -export interface CountAction {} +export interface CountAction { +} export interface CreateProtectionGroupRequest { ProtectionGroupId: string; Aggregation: ProtectionGroupAggregation; @@ -490,7 +326,8 @@ export interface CreateProtectionGroupRequest { Members?: Array; Tags?: Array; } -export interface CreateProtectionGroupResponse {} +export interface CreateProtectionGroupResponse { +} export interface CreateProtectionRequest { Name: string; ResourceArn: string; @@ -499,35 +336,44 @@ export interface CreateProtectionRequest { export interface CreateProtectionResponse { ProtectionId?: string; } -export interface CreateSubscriptionRequest {} -export interface CreateSubscriptionResponse {} +export interface CreateSubscriptionRequest { +} +export interface CreateSubscriptionResponse { +} export interface DeleteProtectionGroupRequest { ProtectionGroupId: string; } -export interface DeleteProtectionGroupResponse {} +export interface DeleteProtectionGroupResponse { +} export interface DeleteProtectionRequest { ProtectionId: string; } -export interface DeleteProtectionResponse {} -export interface DeleteSubscriptionRequest {} -export interface DeleteSubscriptionResponse {} +export interface DeleteProtectionResponse { +} +export interface DeleteSubscriptionRequest { +} +export interface DeleteSubscriptionResponse { +} export interface DescribeAttackRequest { AttackId: string; } export interface DescribeAttackResponse { Attack?: AttackDetail; } -export interface DescribeAttackStatisticsRequest {} +export interface DescribeAttackStatisticsRequest { +} export interface DescribeAttackStatisticsResponse { TimeRange: TimeRange; DataItems: Array; } -export interface DescribeDRTAccessRequest {} +export interface DescribeDRTAccessRequest { +} export interface DescribeDRTAccessResponse { RoleArn?: string; LogBucketList?: Array; } -export interface DescribeEmergencyContactSettingsRequest {} +export interface DescribeEmergencyContactSettingsRequest { +} export interface DescribeEmergencyContactSettingsResponse { EmergencyContactList?: Array; } @@ -544,27 +390,35 @@ export interface DescribeProtectionRequest { export interface DescribeProtectionResponse { Protection?: Protection; } -export interface DescribeSubscriptionRequest {} +export interface DescribeSubscriptionRequest { +} export interface DescribeSubscriptionResponse { Subscription?: Subscription; } export interface DisableApplicationLayerAutomaticResponseRequest { ResourceArn: string; } -export interface DisableApplicationLayerAutomaticResponseResponse {} -export interface DisableProactiveEngagementRequest {} -export interface DisableProactiveEngagementResponse {} +export interface DisableApplicationLayerAutomaticResponseResponse { +} +export interface DisableProactiveEngagementRequest { +} +export interface DisableProactiveEngagementResponse { +} export interface DisassociateDRTLogBucketRequest { LogBucket: string; } -export interface DisassociateDRTLogBucketResponse {} -export interface DisassociateDRTRoleRequest {} -export interface DisassociateDRTRoleResponse {} +export interface DisassociateDRTLogBucketResponse { +} +export interface DisassociateDRTRoleRequest { +} +export interface DisassociateDRTRoleResponse { +} export interface DisassociateHealthCheckRequest { ProtectionId: string; HealthCheckArn: string; } -export interface DisassociateHealthCheckResponse {} +export interface DisassociateHealthCheckResponse { +} export type Double = number; export type DurationInSeconds = number; @@ -581,12 +435,16 @@ export interface EnableApplicationLayerAutomaticResponseRequest { ResourceArn: string; Action: ResponseAction; } -export interface EnableApplicationLayerAutomaticResponseResponse {} -export interface EnableProactiveEngagementRequest {} -export interface EnableProactiveEngagementResponse {} +export interface EnableApplicationLayerAutomaticResponseResponse { +} +export interface EnableProactiveEngagementRequest { +} +export interface EnableProactiveEngagementResponse { +} export type errorMessage = string; -export interface GetSubscriptionStateRequest {} +export interface GetSubscriptionStateRequest { +} export interface GetSubscriptionStateResponse { SubscriptionState: SubscriptionState; } @@ -724,13 +582,7 @@ export declare class OptimisticLockException extends EffectData.TaggedError( export type PhoneNumber = string; export type ProactiveEngagementStatus = "ENABLED" | "DISABLED" | "PENDING"; -export type ProtectedResourceType = - | "CLOUDFRONT_DISTRIBUTION" - | "ROUTE_53_HOSTED_ZONE" - | "ELASTIC_IP_ALLOCATION" - | "CLASSIC_LOAD_BALANCER" - | "APPLICATION_LOAD_BALANCER" - | "GLOBAL_ACCELERATOR"; +export type ProtectedResourceType = "CLOUDFRONT_DISTRIBUTION" | "ROUTE_53_HOSTED_ZONE" | "ELASTIC_IP_ALLOCATION" | "CLASSIC_LOAD_BALANCER" | "APPLICATION_LOAD_BALANCER" | "GLOBAL_ACCELERATOR"; export type ProtectedResourceTypeFilters = Array; export interface Protection { Id?: string; @@ -749,8 +601,7 @@ export interface ProtectionGroup { ProtectionGroupArn?: string; } export type ProtectionGroupAggregation = "SUM" | "MEAN" | "MAX"; -export type ProtectionGroupAggregationFilters = - Array; +export type ProtectionGroupAggregationFilters = Array; export interface ProtectionGroupArbitraryPatternLimits { MaxMembers: number; } @@ -851,7 +702,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TimeRange { @@ -868,16 +720,19 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationLayerAutomaticResponseRequest { ResourceArn: string; Action: ResponseAction; } -export interface UpdateApplicationLayerAutomaticResponseResponse {} +export interface UpdateApplicationLayerAutomaticResponseResponse { +} export interface UpdateEmergencyContactSettingsRequest { EmergencyContactList?: Array; } -export interface UpdateEmergencyContactSettingsResponse {} +export interface UpdateEmergencyContactSettingsResponse { +} export interface UpdateProtectionGroupRequest { ProtectionGroupId: string; Aggregation: ProtectionGroupAggregation; @@ -885,11 +740,13 @@ export interface UpdateProtectionGroupRequest { ResourceType?: ProtectedResourceType; Members?: Array; } -export interface UpdateProtectionGroupResponse {} +export interface UpdateProtectionGroupResponse { +} export interface UpdateSubscriptionRequest { AutoRenew?: AutoRenew; } -export interface UpdateSubscriptionResponse {} +export interface UpdateSubscriptionResponse { +} export interface ValidationExceptionField { name: string; message: string; @@ -1028,7 +885,9 @@ export declare namespace DescribeAttack { export declare namespace DescribeAttackStatistics { export type Input = DescribeAttackStatisticsRequest; export type Output = DescribeAttackStatisticsResponse; - export type Error = InternalErrorException | CommonAwsError; + export type Error = + | InternalErrorException + | CommonAwsError; } export declare namespace DescribeDRTAccess { @@ -1165,7 +1024,9 @@ export declare namespace EnableProactiveEngagement { export declare namespace GetSubscriptionState { export type Input = GetSubscriptionStateRequest; export type Output = GetSubscriptionStateResponse; - export type Error = InternalErrorException | CommonAwsError; + export type Error = + | InternalErrorException + | CommonAwsError; } export declare namespace ListAttacks { @@ -1286,18 +1147,5 @@ export declare namespace UpdateSubscription { | CommonAwsError; } -export type ShieldErrors = - | AccessDeniedException - | AccessDeniedForDependencyException - | InternalErrorException - | InvalidOperationException - | InvalidPaginationTokenException - | InvalidParameterException - | InvalidResourceException - | LimitsExceededException - | LockedSubscriptionException - | NoAssociatedRoleException - | OptimisticLockException - | ResourceAlreadyExistsException - | ResourceNotFoundException - | CommonAwsError; +export type ShieldErrors = AccessDeniedException | AccessDeniedForDependencyException | InternalErrorException | InvalidOperationException | InvalidPaginationTokenException | InvalidParameterException | InvalidResourceException | LimitsExceededException | LockedSubscriptionException | NoAssociatedRoleException | OptimisticLockException | ResourceAlreadyExistsException | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/signer/index.ts b/src/services/signer/index.ts index f272c785..14bc8171 100644 --- a/src/services/signer/index.ts +++ b/src/services/signer/index.ts @@ -5,23 +5,7 @@ import type { signer as _signerClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,26 +15,25 @@ const metadata = { sigV4ServiceName: "signer", endpointPrefix: "signer", operations: { - AddProfilePermission: "POST /signing-profiles/{profileName}/permissions", - CancelSigningProfile: "DELETE /signing-profiles/{profileName}", - DescribeSigningJob: "GET /signing-jobs/{jobId}", - GetRevocationStatus: "GET /revocations", - GetSigningPlatform: "GET /signing-platforms/{platformId}", - GetSigningProfile: "GET /signing-profiles/{profileName}", - ListProfilePermissions: "GET /signing-profiles/{profileName}/permissions", - ListSigningJobs: "GET /signing-jobs", - ListSigningPlatforms: "GET /signing-platforms", - ListSigningProfiles: "GET /signing-profiles", - ListTagsForResource: "GET /tags/{resourceArn}", - PutSigningProfile: "PUT /signing-profiles/{profileName}", - RemoveProfilePermission: - "DELETE /signing-profiles/{profileName}/permissions/{statementId}", - RevokeSignature: "PUT /signing-jobs/{jobId}/revoke", - RevokeSigningProfile: "PUT /signing-profiles/{profileName}/revoke", - SignPayload: "POST /signing-jobs/with-payload", - StartSigningJob: "POST /signing-jobs", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", + "AddProfilePermission": "POST /signing-profiles/{profileName}/permissions", + "CancelSigningProfile": "DELETE /signing-profiles/{profileName}", + "DescribeSigningJob": "GET /signing-jobs/{jobId}", + "GetRevocationStatus": "GET /revocations", + "GetSigningPlatform": "GET /signing-platforms/{platformId}", + "GetSigningProfile": "GET /signing-profiles/{profileName}", + "ListProfilePermissions": "GET /signing-profiles/{profileName}/permissions", + "ListSigningJobs": "GET /signing-jobs", + "ListSigningPlatforms": "GET /signing-platforms", + "ListSigningProfiles": "GET /signing-profiles", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutSigningProfile": "PUT /signing-profiles/{profileName}", + "RemoveProfilePermission": "DELETE /signing-profiles/{profileName}/permissions/{statementId}", + "RevokeSignature": "PUT /signing-jobs/{jobId}/revoke", + "RevokeSigningProfile": "PUT /signing-profiles/{profileName}/revoke", + "SignPayload": "POST /signing-jobs/with-payload", + "StartSigningJob": "POST /signing-jobs", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/signer/types.ts b/src/services/signer/types.ts index cdb83c4c..e12ba640 100644 --- a/src/services/signer/types.ts +++ b/src/services/signer/types.ts @@ -1,40 +1,8 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; import type { Buffer } from "node:buffer"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class signer extends AWSServiceClient { @@ -42,202 +10,115 @@ export declare class signer extends AWSServiceClient { input: AddProfilePermissionRequest, ): Effect.Effect< AddProfilePermissionResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | ResourceNotFoundException - | ServiceLimitExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | ResourceNotFoundException | ServiceLimitExceededException | TooManyRequestsException | ValidationException | CommonAwsError >; cancelSigningProfile( input: CancelSigningProfileRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeSigningJob( input: DescribeSigningJobRequest, ): Effect.Effect< DescribeSigningJobResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getRevocationStatus( input: GetRevocationStatusRequest, ): Effect.Effect< GetRevocationStatusResponse, - | AccessDeniedException - | InternalServiceErrorException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | TooManyRequestsException | ValidationException | CommonAwsError >; getSigningPlatform( input: GetSigningPlatformRequest, ): Effect.Effect< GetSigningPlatformResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getSigningProfile( input: GetSigningProfileRequest, ): Effect.Effect< GetSigningProfileResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; listProfilePermissions( input: ListProfilePermissionsRequest, ): Effect.Effect< ListProfilePermissionsResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; listSigningJobs( input: ListSigningJobsRequest, ): Effect.Effect< ListSigningJobsResponse, - | AccessDeniedException - | InternalServiceErrorException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | TooManyRequestsException | ValidationException | CommonAwsError >; listSigningPlatforms( input: ListSigningPlatformsRequest, ): Effect.Effect< ListSigningPlatformsResponse, - | AccessDeniedException - | InternalServiceErrorException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | TooManyRequestsException | ValidationException | CommonAwsError >; listSigningProfiles( input: ListSigningProfilesRequest, ): Effect.Effect< ListSigningProfilesResponse, - | AccessDeniedException - | InternalServiceErrorException - | TooManyRequestsException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | InternalServiceErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; putSigningProfile( input: PutSigningProfileRequest, ): Effect.Effect< PutSigningProfileResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; removeProfilePermission( input: RemoveProfilePermissionRequest, ): Effect.Effect< RemoveProfilePermissionResponse, - | AccessDeniedException - | ConflictException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; revokeSignature( input: RevokeSignatureRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; revokeSigningProfile( input: RevokeSigningProfileRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; signPayload( input: SignPayloadRequest, ): Effect.Effect< SignPayloadResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | TooManyRequestsException | ValidationException | CommonAwsError >; startSigningJob( input: StartSigningJobRequest, ): Effect.Effect< StartSigningJobResponse, - | AccessDeniedException - | InternalServiceErrorException - | ResourceNotFoundException - | ThrottlingException - | TooManyRequestsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServiceErrorException | ResourceNotFoundException | ThrottlingException | TooManyRequestsException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | InternalServiceErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | InternalServiceErrorException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | InternalServiceErrorException | NotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -667,7 +548,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -688,7 +570,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -918,15 +801,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type signerErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalServiceErrorException - | NotFoundException - | ResourceNotFoundException - | ServiceLimitExceededException - | ThrottlingException - | TooManyRequestsException - | ValidationException - | CommonAwsError; +export type signerErrors = AccessDeniedException | BadRequestException | ConflictException | InternalServiceErrorException | NotFoundException | ResourceNotFoundException | ServiceLimitExceededException | ThrottlingException | TooManyRequestsException | ValidationException | CommonAwsError; + diff --git a/src/services/simspaceweaver/index.ts b/src/services/simspaceweaver/index.ts index 9809fd13..ccb7e535 100644 --- a/src/services/simspaceweaver/index.ts +++ b/src/services/simspaceweaver/index.ts @@ -5,24 +5,7 @@ import type { SimSpaceWeaver as _SimSpaceWeaverClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,22 +15,22 @@ const metadata = { sigV4ServiceName: "simspaceweaver", endpointPrefix: "simspaceweaver", operations: { - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - CreateSnapshot: "POST /createsnapshot", - DeleteApp: "DELETE /deleteapp", - DeleteSimulation: "DELETE /deletesimulation", - DescribeApp: "GET /describeapp", - DescribeSimulation: "GET /describesimulation", - ListApps: "GET /listapps", - ListSimulations: "GET /listsimulations", - StartApp: "POST /startapp", - StartClock: "POST /startclock", - StartSimulation: "POST /startsimulation", - StopApp: "POST /stopapp", - StopClock: "POST /stopclock", - StopSimulation: "POST /stopsimulation", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "CreateSnapshot": "POST /createsnapshot", + "DeleteApp": "DELETE /deleteapp", + "DeleteSimulation": "DELETE /deletesimulation", + "DescribeApp": "GET /describeapp", + "DescribeSimulation": "GET /describesimulation", + "ListApps": "GET /listapps", + "ListSimulations": "GET /listsimulations", + "StartApp": "POST /startapp", + "StartClock": "POST /startclock", + "StartSimulation": "POST /startsimulation", + "StopApp": "POST /stopapp", + "StopClock": "POST /stopclock", + "StopSimulation": "POST /stopsimulation", }, } as const satisfies ServiceMetadata; diff --git a/src/services/simspaceweaver/types.ts b/src/services/simspaceweaver/types.ts index abda49e6..a9afd0cb 100644 --- a/src/services/simspaceweaver/types.ts +++ b/src/services/simspaceweaver/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SimSpaceWeaver extends AWSServiceClient { @@ -47,10 +14,7 @@ export declare class SimSpaceWeaver extends AWSServiceClient { input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | ResourceNotFoundException - | TooManyTagsException - | ValidationException - | CommonAwsError + ResourceNotFoundException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, @@ -62,139 +26,79 @@ export declare class SimSpaceWeaver extends AWSServiceClient { input: CreateSnapshotInput, ): Effect.Effect< CreateSnapshotOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteApp( input: DeleteAppInput, ): Effect.Effect< DeleteAppOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteSimulation( input: DeleteSimulationInput, ): Effect.Effect< DeleteSimulationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeApp( input: DescribeAppInput, ): Effect.Effect< DescribeAppOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeSimulation( input: DescribeSimulationInput, ): Effect.Effect< DescribeSimulationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listApps( input: ListAppsInput, ): Effect.Effect< ListAppsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listSimulations( input: ListSimulationsInput, ): Effect.Effect< ListSimulationsOutput, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; startApp( input: StartAppInput, ): Effect.Effect< StartAppOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; startClock( input: StartClockInput, ): Effect.Effect< StartClockOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startSimulation( input: StartSimulationInput, ): Effect.Effect< StartSimulationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; stopApp( input: StopAppInput, ): Effect.Effect< StopAppOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; stopClock( input: StopClockInput, ): Effect.Effect< StopClockOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; stopSimulation( input: StopSimulationInput, ): Effect.Effect< StopSimulationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -226,17 +130,20 @@ export interface CreateSnapshotInput { Simulation: string; Destination: S3Destination; } -export interface CreateSnapshotOutput {} +export interface CreateSnapshotOutput { +} export interface DeleteAppInput { Simulation: string; Domain: string; App: string; } -export interface DeleteAppOutput {} +export interface DeleteAppOutput { +} export interface DeleteSimulationInput { Simulation: string; } -export interface DeleteSimulationOutput {} +export interface DeleteSimulationOutput { +} export interface DescribeAppInput { Simulation: string; Domain: string; @@ -418,7 +325,8 @@ export interface StartAppOutput { export interface StartClockInput { Simulation: string; } -export interface StartClockOutput {} +export interface StartClockOutput { +} export interface StartSimulationInput { ClientToken?: string; Name: string; @@ -439,15 +347,18 @@ export interface StopAppInput { Domain: string; App: string; } -export interface StopAppOutput {} +export interface StopAppOutput { +} export interface StopClockInput { Simulation: string; } -export interface StopClockOutput {} +export interface StopClockOutput { +} export interface StopSimulationInput { Simulation: string; } -export interface StopSimulationOutput {} +export interface StopSimulationOutput { +} export type TagKey = string; export type TagKeyList = Array; @@ -456,7 +367,8 @@ export interface TagResourceInput { ResourceArn: string; Tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type Timestamp = Date | string; @@ -472,7 +384,8 @@ export interface UntagResourceInput { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export type UUID = string; export declare class ValidationException extends EffectData.TaggedError( @@ -659,12 +572,5 @@ export declare namespace StopSimulation { | CommonAwsError; } -export type SimSpaceWeaverErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type SimSpaceWeaverErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/snow-device-management/index.ts b/src/services/snow-device-management/index.ts index 106cbdeb..e70fda77 100644 --- a/src/services/snow-device-management/index.ts +++ b/src/services/snow-device-management/index.ts @@ -5,23 +5,7 @@ import type { SnowDeviceManagement as _SnowDeviceManagementClient } from "./type export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,20 +14,23 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "snow-device-management", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CancelTask: "POST /task/{taskId}/cancel", - CreateTask: "POST /task", - DescribeDevice: "POST /managed-device/{managedDeviceId}/describe", - DescribeDeviceEc2Instances: - "POST /managed-device/{managedDeviceId}/resources/ec2/describe", - DescribeExecution: "POST /task/{taskId}/execution/{managedDeviceId}", - DescribeTask: "POST /task/{taskId}", - ListDeviceResources: "GET /managed-device/{managedDeviceId}/resources", - ListDevices: "GET /managed-devices", - ListExecutions: "GET /executions", - ListTasks: "GET /tasks", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CancelTask": "POST /task/{taskId}/cancel", + "CreateTask": "POST /task", + "DescribeDevice": "POST /managed-device/{managedDeviceId}/describe", + "DescribeDeviceEc2Instances": "POST /managed-device/{managedDeviceId}/resources/ec2/describe", + "DescribeExecution": "POST /task/{taskId}/execution/{managedDeviceId}", + "DescribeTask": "POST /task/{taskId}", + "ListDeviceResources": "GET /managed-device/{managedDeviceId}/resources", + "ListDevices": "GET /managed-devices", + "ListExecutions": "GET /executions", + "ListTasks": "GET /tasks", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/snow-device-management/types.ts b/src/services/snow-device-management/types.ts index ac447474..fc27520e 100644 --- a/src/services/snow-device-management/types.ts +++ b/src/services/snow-device-management/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SnowDeviceManagement extends AWSServiceClient { @@ -40,137 +8,79 @@ export declare class SnowDeviceManagement extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< {}, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< {}, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; cancelTask( input: CancelTaskInput, ): Effect.Effect< CancelTaskOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createTask( input: CreateTaskInput, ): Effect.Effect< CreateTaskOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; describeDevice( input: DescribeDeviceInput, ): Effect.Effect< DescribeDeviceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeDeviceEc2Instances( input: DescribeDeviceEc2Input, ): Effect.Effect< DescribeDeviceEc2Output, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeExecution( input: DescribeExecutionInput, ): Effect.Effect< DescribeExecutionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeTask( input: DescribeTaskInput, ): Effect.Effect< DescribeTaskOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDeviceResources( input: ListDeviceResourcesInput, ): Effect.Effect< ListDeviceResourcesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDevices( input: ListDevicesInput, ): Effect.Effect< ListDevicesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listExecutions( input: ListExecutionsInput, ): Effect.Effect< ListExecutionsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTasks( input: ListTasksInput, ): Effect.Effect< ListTasksOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -200,9 +110,7 @@ interface _Command { reboot?: Reboot; } -export type Command = - | (_Command & { unlock: Unlock }) - | (_Command & { reboot: Reboot }); +export type Command = (_Command & { unlock: Unlock }) | (_Command & { reboot: Reboot }); export interface CpuOptions { coreCount?: number; threadsPerCore?: number; @@ -396,7 +304,8 @@ export interface PhysicalNetworkInterface { macAddress?: string; } export type PhysicalNetworkInterfaceList = Array; -export interface Reboot {} +export interface Reboot { +} export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -448,7 +357,8 @@ export declare class ThrottlingException extends EffectData.TaggedError( )<{ readonly message: string; }> {} -export interface Unlock {} +export interface Unlock { +} export type UnlockState = string; export interface UntagResourceInput { @@ -609,11 +519,5 @@ export declare namespace ListTasks { | CommonAwsError; } -export type SnowDeviceManagementErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SnowDeviceManagementErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/snowball/index.ts b/src/services/snowball/index.ts index af6076b6..bf1cb76b 100644 --- a/src/services/snowball/index.ts +++ b/src/services/snowball/index.ts @@ -5,26 +5,7 @@ import type { Snowball as _SnowballClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/snowball/types.ts b/src/services/snowball/types.ts index e9ba8315..48e1bc0d 100644 --- a/src/services/snowball/types.ts +++ b/src/services/snowball/types.ts @@ -7,19 +7,13 @@ export declare class Snowball extends AWSServiceClient { input: CancelClusterRequest, ): Effect.Effect< CancelClusterResult, - | InvalidJobStateException - | InvalidResourceException - | KMSRequestFailedException - | CommonAwsError + InvalidJobStateException | InvalidResourceException | KMSRequestFailedException | CommonAwsError >; cancelJob( input: CancelJobRequest, ): Effect.Effect< CancelJobResult, - | InvalidJobStateException - | InvalidResourceException - | KMSRequestFailedException - | CommonAwsError + InvalidJobStateException | InvalidResourceException | KMSRequestFailedException | CommonAwsError >; createAddress( input: CreateAddressRequest, @@ -31,22 +25,13 @@ export declare class Snowball extends AWSServiceClient { input: CreateClusterRequest, ): Effect.Effect< CreateClusterResult, - | Ec2RequestFailedException - | InvalidInputCombinationException - | InvalidResourceException - | KMSRequestFailedException - | CommonAwsError + Ec2RequestFailedException | InvalidInputCombinationException | InvalidResourceException | KMSRequestFailedException | CommonAwsError >; createJob( input: CreateJobRequest, ): Effect.Effect< CreateJobResult, - | ClusterLimitExceededException - | Ec2RequestFailedException - | InvalidInputCombinationException - | InvalidResourceException - | KMSRequestFailedException - | CommonAwsError + ClusterLimitExceededException | Ec2RequestFailedException | InvalidInputCombinationException | InvalidResourceException | KMSRequestFailedException | CommonAwsError >; createLongTermPricing( input: CreateLongTermPricingRequest, @@ -58,12 +43,7 @@ export declare class Snowball extends AWSServiceClient { input: CreateReturnShippingLabelRequest, ): Effect.Effect< CreateReturnShippingLabelResult, - | ConflictException - | InvalidInputCombinationException - | InvalidJobStateException - | InvalidResourceException - | ReturnShippingLabelAlreadyExistsException - | CommonAwsError + ConflictException | InvalidInputCombinationException | InvalidJobStateException | InvalidResourceException | ReturnShippingLabelAlreadyExistsException | CommonAwsError >; describeAddress( input: DescribeAddressRequest, @@ -93,10 +73,7 @@ export declare class Snowball extends AWSServiceClient { input: DescribeReturnShippingLabelRequest, ): Effect.Effect< DescribeReturnShippingLabelResult, - | ConflictException - | InvalidJobStateException - | InvalidResourceException - | CommonAwsError + ConflictException | InvalidJobStateException | InvalidResourceException | CommonAwsError >; getJobManifest( input: GetJobManifestRequest, @@ -112,7 +89,10 @@ export declare class Snowball extends AWSServiceClient { >; getSnowballUsage( input: GetSnowballUsageRequest, - ): Effect.Effect; + ): Effect.Effect< + GetSnowballUsageResult, + CommonAwsError + >; getSoftwareUpdates( input: GetSoftwareUpdatesRequest, ): Effect.Effect< @@ -139,7 +119,10 @@ export declare class Snowball extends AWSServiceClient { >; listJobs( input: ListJobsRequest, - ): Effect.Effect; + ): Effect.Effect< + ListJobsResult, + InvalidNextTokenException | CommonAwsError + >; listLongTermPricing( input: ListLongTermPricingRequest, ): Effect.Effect< @@ -162,24 +145,13 @@ export declare class Snowball extends AWSServiceClient { input: UpdateClusterRequest, ): Effect.Effect< UpdateClusterResult, - | Ec2RequestFailedException - | InvalidInputCombinationException - | InvalidJobStateException - | InvalidResourceException - | KMSRequestFailedException - | CommonAwsError + Ec2RequestFailedException | InvalidInputCombinationException | InvalidJobStateException | InvalidResourceException | KMSRequestFailedException | CommonAwsError >; updateJob( input: UpdateJobRequest, ): Effect.Effect< UpdateJobResult, - | ClusterLimitExceededException - | Ec2RequestFailedException - | InvalidInputCombinationException - | InvalidJobStateException - | InvalidResourceException - | KMSRequestFailedException - | CommonAwsError + ClusterLimitExceededException | Ec2RequestFailedException | InvalidInputCombinationException | InvalidJobStateException | InvalidResourceException | KMSRequestFailedException | CommonAwsError >; updateJobShipmentState( input: UpdateJobShipmentStateRequest, @@ -223,11 +195,13 @@ export type SnowballBoolean = boolean; export interface CancelClusterRequest { ClusterId: string; } -export interface CancelClusterResult {} +export interface CancelClusterResult { +} export interface CancelJobRequest { JobId: string; } -export interface CancelJobResult {} +export interface CancelJobResult { +} export type ClusterId = string; export declare class ClusterLimitExceededException extends EffectData.TaggedError( @@ -259,12 +233,7 @@ export interface ClusterMetadata { TaxDocuments?: TaxDocuments; OnDeviceServiceConfiguration?: OnDeviceServiceConfiguration; } -export type ClusterState = - | "AwaitingQuorum" - | "Pending" - | "InUse" - | "Complete" - | "Cancelled"; +export type ClusterState = "AwaitingQuorum" | "Pending" | "InUse" | "Complete" | "Cancelled"; export interface CompatibleImage { AmiId?: string; Name?: string; @@ -395,9 +364,7 @@ export interface DeviceConfiguration { } export type DevicePickupId = string; -export type DeviceServiceName = - | "NFS_ON_DEVICE_SERVICE" - | "S3_ON_DEVICE_SERVICE"; +export type DeviceServiceName = "NFS_ON_DEVICE_SERVICE" | "S3_ON_DEVICE_SERVICE"; export interface Ec2AmiResource { AmiId: string; SnowballAmiId?: string; @@ -430,7 +397,8 @@ export interface GetJobUnlockCodeRequest { export interface GetJobUnlockCodeResult { UnlockCode?: string; } -export interface GetSnowballUsageRequest {} +export interface GetSnowballUsageRequest { +} export interface GetSnowballUsageResult { SnowballLimit?: number; SnowballsInUse?: number; @@ -529,20 +497,7 @@ export interface JobResource { LambdaResources?: Array; Ec2AmiResources?: Array; } -export type JobState = - | "New" - | "PreparingAppliance" - | "PreparingShipment" - | "InTransitToCustomer" - | "WithCustomer" - | "InTransitToAWS" - | "WithAWSSortingFacility" - | "WithAWS" - | "InProgress" - | "Complete" - | "Cancelled" - | "Listing" - | "Pending"; +export type JobState = "New" | "PreparingAppliance" | "PreparingShipment" | "InTransitToCustomer" | "WithCustomer" | "InTransitToAWS" | "WithAWSSortingFacility" | "WithAWS" | "InProgress" | "Complete" | "Cancelled" | "Listing" | "Pending"; export type JobStateList = Array; export type JobType = "IMPORT" | "EXPORT" | "LOCAL_USE"; export interface KeyRange { @@ -673,10 +628,7 @@ export interface PickupDetails { IdentificationIssuingOrg?: string; DevicePickupId?: string; } -export type RemoteManagement = - | "INSTALLED_ONLY" - | "INSTALLED_AUTOSTART" - | "NOT_INSTALLED"; +export type RemoteManagement = "INSTALLED_ONLY" | "INSTALLED_AUTOSTART" | "NOT_INSTALLED"; export type ResourceARN = string; export declare class ReturnShippingLabelAlreadyExistsException extends EffectData.TaggedError( @@ -717,35 +669,10 @@ export interface ShippingDetails { InboundShipment?: Shipment; OutboundShipment?: Shipment; } -export type ShippingLabelStatus = - | "InProgress" - | "TimedOut" - | "Succeeded" - | "Failed"; +export type ShippingLabelStatus = "InProgress" | "TimedOut" | "Succeeded" | "Failed"; export type ShippingOption = "SECOND_DAY" | "NEXT_DAY" | "EXPRESS" | "STANDARD"; -export type SnowballCapacity = - | "T50" - | "T80" - | "T100" - | "T42" - | "T98" - | "T8" - | "T14" - | "T32" - | "NoPreference" - | "T240" - | "T13"; -export type SnowballType = - | "STANDARD" - | "EDGE" - | "EDGE_C" - | "EDGE_CG" - | "EDGE_S" - | "SNC1_HDD" - | "SNC1_SSD" - | "V3_5C" - | "V3_5S" - | "RACK_5U_C"; +export type SnowballCapacity = "T50" | "T80" | "T100" | "T42" | "T98" | "T8" | "T14" | "T32" | "NoPreference" | "T240" | "T13"; +export type SnowballType = "STANDARD" | "EDGE" | "EDGE_C" | "EDGE_CG" | "EDGE_S" | "SNC1_HDD" | "SNC1_SSD" | "V3_5C" | "V3_5S" | "RACK_5U_C"; export interface SnowconeDeviceConfiguration { WirelessConnection?: WirelessConnection; } @@ -787,7 +714,8 @@ export interface UpdateClusterRequest { Notification?: Notification; ForwardingAddressId?: string; } -export interface UpdateClusterResult {} +export interface UpdateClusterResult { +} export interface UpdateJobRequest { JobId: string; RoleARN?: string; @@ -801,18 +729,21 @@ export interface UpdateJobRequest { ForwardingAddressId?: string; PickupDetails?: PickupDetails; } -export interface UpdateJobResult {} +export interface UpdateJobResult { +} export interface UpdateJobShipmentStateRequest { JobId: string; ShipmentState: ShipmentState; } -export interface UpdateJobShipmentStateResult {} +export interface UpdateJobShipmentStateResult { +} export interface UpdateLongTermPricingRequest { LongTermPricingId: string; ReplacementJob?: string; IsLongTermPricingAutoRenew?: boolean; } -export interface UpdateLongTermPricingResult {} +export interface UpdateLongTermPricingResult { +} export interface WirelessConnection { IsWifiEnabled?: boolean; } @@ -871,7 +802,9 @@ export declare namespace CreateJob { export declare namespace CreateLongTermPricing { export type Input = CreateLongTermPricingRequest; export type Output = CreateLongTermPricingResult; - export type Error = InvalidResourceException | CommonAwsError; + export type Error = + | InvalidResourceException + | CommonAwsError; } export declare namespace CreateReturnShippingLabel { @@ -889,7 +822,9 @@ export declare namespace CreateReturnShippingLabel { export declare namespace DescribeAddress { export type Input = DescribeAddressRequest; export type Output = DescribeAddressResult; - export type Error = InvalidResourceException | CommonAwsError; + export type Error = + | InvalidResourceException + | CommonAwsError; } export declare namespace DescribeAddresses { @@ -904,13 +839,17 @@ export declare namespace DescribeAddresses { export declare namespace DescribeCluster { export type Input = DescribeClusterRequest; export type Output = DescribeClusterResult; - export type Error = InvalidResourceException | CommonAwsError; + export type Error = + | InvalidResourceException + | CommonAwsError; } export declare namespace DescribeJob { export type Input = DescribeJobRequest; export type Output = DescribeJobResult; - export type Error = InvalidResourceException | CommonAwsError; + export type Error = + | InvalidResourceException + | CommonAwsError; } export declare namespace DescribeReturnShippingLabel { @@ -944,7 +883,8 @@ export declare namespace GetJobUnlockCode { export declare namespace GetSnowballUsage { export type Input = GetSnowballUsageRequest; export type Output = GetSnowballUsageResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetSoftwareUpdates { @@ -968,7 +908,9 @@ export declare namespace ListClusterJobs { export declare namespace ListClusters { export type Input = ListClustersRequest; export type Output = ListClustersResult; - export type Error = InvalidNextTokenException | CommonAwsError; + export type Error = + | InvalidNextTokenException + | CommonAwsError; } export declare namespace ListCompatibleImages { @@ -983,7 +925,9 @@ export declare namespace ListCompatibleImages { export declare namespace ListJobs { export type Input = ListJobsRequest; export type Output = ListJobsResult; - export type Error = InvalidNextTokenException | CommonAwsError; + export type Error = + | InvalidNextTokenException + | CommonAwsError; } export declare namespace ListLongTermPricing { @@ -998,7 +942,9 @@ export declare namespace ListLongTermPricing { export declare namespace ListPickupLocations { export type Input = ListPickupLocationsRequest; export type Output = ListPickupLocationsResult; - export type Error = InvalidResourceException | CommonAwsError; + export type Error = + | InvalidResourceException + | CommonAwsError; } export declare namespace ListServiceVersions { @@ -1047,19 +993,10 @@ export declare namespace UpdateJobShipmentState { export declare namespace UpdateLongTermPricing { export type Input = UpdateLongTermPricingRequest; export type Output = UpdateLongTermPricingResult; - export type Error = InvalidResourceException | CommonAwsError; + export type Error = + | InvalidResourceException + | CommonAwsError; } -export type SnowballErrors = - | ClusterLimitExceededException - | ConflictException - | Ec2RequestFailedException - | InvalidAddressException - | InvalidInputCombinationException - | InvalidJobStateException - | InvalidNextTokenException - | InvalidResourceException - | KMSRequestFailedException - | ReturnShippingLabelAlreadyExistsException - | UnsupportedAddressException - | CommonAwsError; +export type SnowballErrors = ClusterLimitExceededException | ConflictException | Ec2RequestFailedException | InvalidAddressException | InvalidInputCombinationException | InvalidJobStateException | InvalidNextTokenException | InvalidResourceException | KMSRequestFailedException | ReturnShippingLabelAlreadyExistsException | UnsupportedAddressException | CommonAwsError; + diff --git a/src/services/sns/index.ts b/src/services/sns/index.ts index e9ea4bed..3693c3e5 100644 --- a/src/services/sns/index.ts +++ b/src/services/sns/index.ts @@ -6,25 +6,7 @@ import type { SNS as _SNSClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -46,10 +28,6 @@ export const SNS = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _SNSClient; diff --git a/src/services/sns/types.ts b/src/services/sns/types.ts index 11b687ac..5f39328c 100644 --- a/src/services/sns/types.ts +++ b/src/services/sns/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SNS extends AWSServiceClient { @@ -42,479 +8,253 @@ export declare class SNS extends AWSServiceClient { input: AddPermissionInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; checkIfPhoneNumberIsOptedOut( input: CheckIfPhoneNumberIsOptedOutInput, ): Effect.Effect< CheckIfPhoneNumberIsOptedOutResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | ThrottledException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | ThrottledException | CommonAwsError >; confirmSubscription( input: ConfirmSubscriptionInput, ): Effect.Effect< ConfirmSubscriptionResponse, - | AuthorizationErrorException - | FilterPolicyLimitExceededException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ReplayLimitExceededException - | SubscriptionLimitExceededException - | CommonAwsError + AuthorizationErrorException | FilterPolicyLimitExceededException | InternalErrorException | InvalidParameterException | NotFoundException | ReplayLimitExceededException | SubscriptionLimitExceededException | CommonAwsError >; createPlatformApplication( input: CreatePlatformApplicationInput, ): Effect.Effect< CreatePlatformApplicationResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | CommonAwsError >; createPlatformEndpoint( input: CreatePlatformEndpointInput, ): Effect.Effect< CreateEndpointResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; createSMSSandboxPhoneNumber( input: CreateSMSSandboxPhoneNumberInput, ): Effect.Effect< CreateSMSSandboxPhoneNumberResult, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | OptedOutException - | ThrottledException - | UserErrorException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | OptedOutException | ThrottledException | UserErrorException | CommonAwsError >; createTopic( input: CreateTopicInput, ): Effect.Effect< CreateTopicResponse, - | AuthorizationErrorException - | ConcurrentAccessException - | InternalErrorException - | InvalidParameterException - | InvalidSecurityException - | StaleTagException - | TagLimitExceededException - | TagPolicyException - | TopicLimitExceededException - | CommonAwsError + AuthorizationErrorException | ConcurrentAccessException | InternalErrorException | InvalidParameterException | InvalidSecurityException | StaleTagException | TagLimitExceededException | TagPolicyException | TopicLimitExceededException | CommonAwsError >; deleteEndpoint( input: DeleteEndpointInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | CommonAwsError >; deletePlatformApplication( input: DeletePlatformApplicationInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | CommonAwsError >; deleteSMSSandboxPhoneNumber( input: DeleteSMSSandboxPhoneNumberInput, ): Effect.Effect< DeleteSMSSandboxPhoneNumberResult, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | ResourceNotFoundException - | ThrottledException - | UserErrorException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | ResourceNotFoundException | ThrottledException | UserErrorException | CommonAwsError >; deleteTopic( input: DeleteTopicInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | ConcurrentAccessException - | InternalErrorException - | InvalidParameterException - | InvalidStateException - | NotFoundException - | StaleTagException - | TagPolicyException - | CommonAwsError + AuthorizationErrorException | ConcurrentAccessException | InternalErrorException | InvalidParameterException | InvalidStateException | NotFoundException | StaleTagException | TagPolicyException | CommonAwsError >; getDataProtectionPolicy( input: GetDataProtectionPolicyInput, ): Effect.Effect< GetDataProtectionPolicyResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | InvalidSecurityException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | InvalidSecurityException | NotFoundException | CommonAwsError >; getEndpointAttributes( input: GetEndpointAttributesInput, ): Effect.Effect< GetEndpointAttributesResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; getPlatformApplicationAttributes( input: GetPlatformApplicationAttributesInput, ): Effect.Effect< GetPlatformApplicationAttributesResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; getSMSAttributes( input: GetSMSAttributesInput, ): Effect.Effect< GetSMSAttributesResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | ThrottledException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | ThrottledException | CommonAwsError >; getSMSSandboxAccountStatus( input: GetSMSSandboxAccountStatusInput, ): Effect.Effect< GetSMSSandboxAccountStatusResult, - | AuthorizationErrorException - | InternalErrorException - | ThrottledException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | ThrottledException | CommonAwsError >; getSubscriptionAttributes( input: GetSubscriptionAttributesInput, ): Effect.Effect< GetSubscriptionAttributesResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; getTopicAttributes( input: GetTopicAttributesInput, ): Effect.Effect< GetTopicAttributesResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | InvalidSecurityException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | InvalidSecurityException | NotFoundException | CommonAwsError >; listEndpointsByPlatformApplication( input: ListEndpointsByPlatformApplicationInput, ): Effect.Effect< ListEndpointsByPlatformApplicationResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; listOriginationNumbers( input: ListOriginationNumbersRequest, ): Effect.Effect< ListOriginationNumbersResult, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | ThrottledException - | ValidationException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | ThrottledException | ValidationException | CommonAwsError >; listPhoneNumbersOptedOut( input: ListPhoneNumbersOptedOutInput, ): Effect.Effect< ListPhoneNumbersOptedOutResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | ThrottledException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | ThrottledException | CommonAwsError >; listPlatformApplications( input: ListPlatformApplicationsInput, ): Effect.Effect< ListPlatformApplicationsResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | CommonAwsError >; listSMSSandboxPhoneNumbers( input: ListSMSSandboxPhoneNumbersInput, ): Effect.Effect< ListSMSSandboxPhoneNumbersResult, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | ResourceNotFoundException - | ThrottledException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | ResourceNotFoundException | ThrottledException | CommonAwsError >; listSubscriptions( input: ListSubscriptionsInput, ): Effect.Effect< ListSubscriptionsResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | CommonAwsError >; listSubscriptionsByTopic( input: ListSubscriptionsByTopicInput, ): Effect.Effect< ListSubscriptionsByTopicResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AuthorizationErrorException - | ConcurrentAccessException - | InvalidParameterException - | ResourceNotFoundException - | TagPolicyException - | CommonAwsError + AuthorizationErrorException | ConcurrentAccessException | InvalidParameterException | ResourceNotFoundException | TagPolicyException | CommonAwsError >; listTopics( input: ListTopicsInput, ): Effect.Effect< ListTopicsResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | CommonAwsError >; optInPhoneNumber( input: OptInPhoneNumberInput, ): Effect.Effect< OptInPhoneNumberResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | ThrottledException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | ThrottledException | CommonAwsError >; publish( input: PublishInput, ): Effect.Effect< PublishResponse, - | AuthorizationErrorException - | EndpointDisabledException - | InternalErrorException - | InvalidParameterException - | InvalidParameterValueException - | InvalidSecurityException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | KMSOptInRequired - | KMSThrottlingException - | NotFoundException - | PlatformApplicationDisabledException - | ValidationException - | CommonAwsError + AuthorizationErrorException | EndpointDisabledException | InternalErrorException | InvalidParameterException | InvalidParameterValueException | InvalidSecurityException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | KMSOptInRequired | KMSThrottlingException | NotFoundException | PlatformApplicationDisabledException | ValidationException | CommonAwsError >; publishBatch( input: PublishBatchInput, ): Effect.Effect< PublishBatchResponse, - | AuthorizationErrorException - | BatchEntryIdsNotDistinctException - | BatchRequestTooLongException - | EmptyBatchRequestException - | EndpointDisabledException - | InternalErrorException - | InvalidBatchEntryIdException - | InvalidParameterException - | InvalidParameterValueException - | InvalidSecurityException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | KMSOptInRequired - | KMSThrottlingException - | NotFoundException - | PlatformApplicationDisabledException - | TooManyEntriesInBatchRequestException - | ValidationException - | CommonAwsError + AuthorizationErrorException | BatchEntryIdsNotDistinctException | BatchRequestTooLongException | EmptyBatchRequestException | EndpointDisabledException | InternalErrorException | InvalidBatchEntryIdException | InvalidParameterException | InvalidParameterValueException | InvalidSecurityException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | KMSOptInRequired | KMSThrottlingException | NotFoundException | PlatformApplicationDisabledException | TooManyEntriesInBatchRequestException | ValidationException | CommonAwsError >; putDataProtectionPolicy( input: PutDataProtectionPolicyInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | InvalidSecurityException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | InvalidSecurityException | NotFoundException | CommonAwsError >; removePermission( input: RemovePermissionInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; setEndpointAttributes( input: SetEndpointAttributesInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; setPlatformApplicationAttributes( input: SetPlatformApplicationAttributesInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | NotFoundException | CommonAwsError >; setSMSAttributes( input: SetSMSAttributesInput, ): Effect.Effect< SetSMSAttributesResponse, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | ThrottledException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | ThrottledException | CommonAwsError >; setSubscriptionAttributes( input: SetSubscriptionAttributesInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | FilterPolicyLimitExceededException - | InternalErrorException - | InvalidParameterException - | NotFoundException - | ReplayLimitExceededException - | CommonAwsError + AuthorizationErrorException | FilterPolicyLimitExceededException | InternalErrorException | InvalidParameterException | NotFoundException | ReplayLimitExceededException | CommonAwsError >; setTopicAttributes( input: SetTopicAttributesInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | InvalidSecurityException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | InvalidSecurityException | NotFoundException | CommonAwsError >; subscribe( input: SubscribeInput, ): Effect.Effect< SubscribeResponse, - | AuthorizationErrorException - | FilterPolicyLimitExceededException - | InternalErrorException - | InvalidParameterException - | InvalidSecurityException - | NotFoundException - | ReplayLimitExceededException - | SubscriptionLimitExceededException - | CommonAwsError + AuthorizationErrorException | FilterPolicyLimitExceededException | InternalErrorException | InvalidParameterException | InvalidSecurityException | NotFoundException | ReplayLimitExceededException | SubscriptionLimitExceededException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AuthorizationErrorException - | ConcurrentAccessException - | InvalidParameterException - | ResourceNotFoundException - | StaleTagException - | TagLimitExceededException - | TagPolicyException - | CommonAwsError + AuthorizationErrorException | ConcurrentAccessException | InvalidParameterException | ResourceNotFoundException | StaleTagException | TagLimitExceededException | TagPolicyException | CommonAwsError >; unsubscribe( input: UnsubscribeInput, ): Effect.Effect< {}, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | InvalidSecurityException - | NotFoundException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | InvalidSecurityException | NotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AuthorizationErrorException - | ConcurrentAccessException - | InvalidParameterException - | ResourceNotFoundException - | StaleTagException - | TagLimitExceededException - | TagPolicyException - | CommonAwsError + AuthorizationErrorException | ConcurrentAccessException | InvalidParameterException | ResourceNotFoundException | StaleTagException | TagLimitExceededException | TagPolicyException | CommonAwsError >; verifySMSSandboxPhoneNumber( input: VerifySMSSandboxPhoneNumberInput, ): Effect.Effect< VerifySMSSandboxPhoneNumberResult, - | AuthorizationErrorException - | InternalErrorException - | InvalidParameterException - | ResourceNotFoundException - | ThrottledException - | VerificationException - | CommonAwsError + AuthorizationErrorException | InternalErrorException | InvalidParameterException | ResourceNotFoundException | ThrottledException | VerificationException | CommonAwsError >; } @@ -605,7 +345,8 @@ export interface CreateSMSSandboxPhoneNumberInput { PhoneNumber: string; LanguageCode?: LanguageCodeString; } -export interface CreateSMSSandboxPhoneNumberResult {} +export interface CreateSMSSandboxPhoneNumberResult { +} export interface CreateTopicInput { Name: string; Attributes?: Record; @@ -627,7 +368,8 @@ export interface DeletePlatformApplicationInput { export interface DeleteSMSSandboxPhoneNumberInput { PhoneNumber: string; } -export interface DeleteSMSSandboxPhoneNumberResult {} +export interface DeleteSMSSandboxPhoneNumberResult { +} export interface DeleteTopicInput { TopicArn: string; } @@ -676,7 +418,8 @@ export interface GetSMSAttributesInput { export interface GetSMSAttributesResponse { attributes?: Record; } -export interface GetSMSSandboxAccountStatusInput {} +export interface GetSMSSandboxAccountStatusInput { +} export interface GetSMSSandboxAccountStatusResult { IsInSandbox: boolean; } @@ -756,20 +499,7 @@ export declare class KMSThrottlingException extends EffectData.TaggedError( }> {} export type label = string; -export type LanguageCodeString = - | "en-US" - | "en-GB" - | "es-419" - | "es-ES" - | "de-DE" - | "fr-CA" - | "fr-FR" - | "it-IT" - | "ja-JP" - | "pt-BR" - | "kr-KR" - | "zh-CN" - | "zh-TW"; +export type LanguageCodeString = "en-US" | "en-GB" | "es-419" | "es-ES" | "de-DE" | "fr-CA" | "fr-FR" | "it-IT" | "ja-JP" | "pt-BR" | "kr-KR" | "zh-CN" | "zh-TW"; export interface ListEndpointsByPlatformApplicationInput { PlatformApplicationArn: string; NextToken?: string; @@ -873,7 +603,8 @@ export declare class OptedOutException extends EffectData.TaggedError( export interface OptInPhoneNumberInput { phoneNumber: string; } -export interface OptInPhoneNumberResponse {} +export interface OptInPhoneNumberResponse { +} export type OTPCode = string; export type PhoneNumber = string; @@ -970,7 +701,8 @@ export interface SetPlatformApplicationAttributesInput { export interface SetSMSAttributesInput { attributes: Record; } -export interface SetSMSAttributesResponse {} +export interface SetSMSAttributesResponse { +} export interface SetSubscriptionAttributesInput { SubscriptionArn: string; AttributeName: string; @@ -1044,7 +776,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottledException extends EffectData.TaggedError( @@ -1082,7 +815,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export declare class UserErrorException extends EffectData.TaggedError( "UserErrorException", )<{ @@ -1103,7 +837,8 @@ export interface VerifySMSSandboxPhoneNumberInput { PhoneNumber: string; OneTimePassword: string; } -export interface VerifySMSSandboxPhoneNumberResult {} +export interface VerifySMSSandboxPhoneNumberResult { +} export declare namespace AddPermission { export type Input = AddPermissionInput; export type Output = {}; @@ -1624,39 +1359,5 @@ export declare namespace VerifySMSSandboxPhoneNumber { | CommonAwsError; } -export type SNSErrors = - | AuthorizationErrorException - | BatchEntryIdsNotDistinctException - | BatchRequestTooLongException - | ConcurrentAccessException - | EmptyBatchRequestException - | EndpointDisabledException - | FilterPolicyLimitExceededException - | InternalErrorException - | InvalidBatchEntryIdException - | InvalidParameterException - | InvalidParameterValueException - | InvalidSecurityException - | InvalidStateException - | KMSAccessDeniedException - | KMSDisabledException - | KMSInvalidStateException - | KMSNotFoundException - | KMSOptInRequired - | KMSThrottlingException - | NotFoundException - | OptedOutException - | PlatformApplicationDisabledException - | ReplayLimitExceededException - | ResourceNotFoundException - | StaleTagException - | SubscriptionLimitExceededException - | TagLimitExceededException - | TagPolicyException - | ThrottledException - | TooManyEntriesInBatchRequestException - | TopicLimitExceededException - | UserErrorException - | ValidationException - | VerificationException - | CommonAwsError; +export type SNSErrors = AuthorizationErrorException | BatchEntryIdsNotDistinctException | BatchRequestTooLongException | ConcurrentAccessException | EmptyBatchRequestException | EndpointDisabledException | FilterPolicyLimitExceededException | InternalErrorException | InvalidBatchEntryIdException | InvalidParameterException | InvalidParameterValueException | InvalidSecurityException | InvalidStateException | KMSAccessDeniedException | KMSDisabledException | KMSInvalidStateException | KMSNotFoundException | KMSOptInRequired | KMSThrottlingException | NotFoundException | OptedOutException | PlatformApplicationDisabledException | ReplayLimitExceededException | ResourceNotFoundException | StaleTagException | SubscriptionLimitExceededException | TagLimitExceededException | TagPolicyException | ThrottledException | TooManyEntriesInBatchRequestException | TopicLimitExceededException | UserErrorException | ValidationException | VerificationException | CommonAwsError; + diff --git a/src/services/socialmessaging/index.ts b/src/services/socialmessaging/index.ts index 3209b01e..d5309d7a 100644 --- a/src/services/socialmessaging/index.ts +++ b/src/services/socialmessaging/index.ts @@ -5,24 +5,7 @@ import type { SocialMessaging as _SocialMessagingClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,31 +15,32 @@ const metadata = { sigV4ServiceName: "social-messaging", endpointPrefix: "social-messaging", operations: { - CreateWhatsAppMessageTemplate: "POST /v1/whatsapp/template/put", - CreateWhatsAppMessageTemplateFromLibrary: - "POST /v1/whatsapp/template/create", - CreateWhatsAppMessageTemplateMedia: "POST /v1/whatsapp/template/media", - DeleteWhatsAppMessageTemplate: "DELETE /v1/whatsapp/template", - GetWhatsAppMessageTemplate: "GET /v1/whatsapp/template", - ListTagsForResource: "GET /v1/tags/list", - ListWhatsAppMessageTemplates: "GET /v1/whatsapp/template/list", - ListWhatsAppTemplateLibrary: "POST /v1/whatsapp/template/library", - TagResource: "POST /v1/tags/tag-resource", - UntagResource: "POST /v1/tags/untag-resource", - UpdateWhatsAppMessageTemplate: "POST /v1/whatsapp/template", - AssociateWhatsAppBusinessAccount: "POST /v1/whatsapp/signup", - DeleteWhatsAppMessageMedia: "DELETE /v1/whatsapp/media", - DisassociateWhatsAppBusinessAccount: - "DELETE /v1/whatsapp/waba/disassociate", - GetLinkedWhatsAppBusinessAccount: "GET /v1/whatsapp/waba/details", - GetLinkedWhatsAppBusinessAccountPhoneNumber: - "GET /v1/whatsapp/waba/phone/details", - GetWhatsAppMessageMedia: "POST /v1/whatsapp/media/get", - ListLinkedWhatsAppBusinessAccounts: "GET /v1/whatsapp/waba/list", - PostWhatsAppMessageMedia: "POST /v1/whatsapp/media", - PutWhatsAppBusinessAccountEventDestinations: - "PUT /v1/whatsapp/waba/eventdestinations", - SendWhatsAppMessage: "POST /v1/whatsapp/send", + "CreateWhatsAppMessageTemplate": "POST /v1/whatsapp/template/put", + "CreateWhatsAppMessageTemplateFromLibrary": "POST /v1/whatsapp/template/create", + "CreateWhatsAppMessageTemplateMedia": "POST /v1/whatsapp/template/media", + "DeleteWhatsAppMessageTemplate": "DELETE /v1/whatsapp/template", + "GetWhatsAppMessageTemplate": "GET /v1/whatsapp/template", + "ListTagsForResource": "GET /v1/tags/list", + "ListWhatsAppMessageTemplates": "GET /v1/whatsapp/template/list", + "ListWhatsAppTemplateLibrary": "POST /v1/whatsapp/template/library", + "TagResource": "POST /v1/tags/tag-resource", + "UntagResource": "POST /v1/tags/untag-resource", + "UpdateWhatsAppMessageTemplate": "POST /v1/whatsapp/template", + "AssociateWhatsAppBusinessAccount": "POST /v1/whatsapp/signup", + "DeleteWhatsAppMessageMedia": "DELETE /v1/whatsapp/media", + "DisassociateWhatsAppBusinessAccount": "DELETE /v1/whatsapp/waba/disassociate", + "GetLinkedWhatsAppBusinessAccount": "GET /v1/whatsapp/waba/details", + "GetLinkedWhatsAppBusinessAccountPhoneNumber": "GET /v1/whatsapp/waba/phone/details", + "GetWhatsAppMessageMedia": "POST /v1/whatsapp/media/get", + "ListLinkedWhatsAppBusinessAccounts": "GET /v1/whatsapp/waba/list", + "PostWhatsAppMessageMedia": "POST /v1/whatsapp/media", + "PutWhatsAppBusinessAccountEventDestinations": "PUT /v1/whatsapp/waba/eventdestinations", + "SendWhatsAppMessage": "POST /v1/whatsapp/send", + }, + retryableErrors: { + "DependencyException": {}, + "InternalServiceException": {}, + "ThrottledRequestException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/socialmessaging/types.ts b/src/services/socialmessaging/types.ts index 1777a7e2..fd7b5dfe 100644 --- a/src/services/socialmessaging/types.ts +++ b/src/services/socialmessaging/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SocialMessaging extends AWSServiceClient { @@ -41,224 +8,127 @@ export declare class SocialMessaging extends AWSServiceClient { input: CreateWhatsAppMessageTemplateInput, ): Effect.Effect< CreateWhatsAppMessageTemplateOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; createWhatsAppMessageTemplateFromLibrary( input: CreateWhatsAppMessageTemplateFromLibraryInput, ): Effect.Effect< CreateWhatsAppMessageTemplateFromLibraryOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; createWhatsAppMessageTemplateMedia( input: CreateWhatsAppMessageTemplateMediaInput, ): Effect.Effect< CreateWhatsAppMessageTemplateMediaOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; deleteWhatsAppMessageTemplate( input: DeleteWhatsAppMessageTemplateInput, ): Effect.Effect< DeleteWhatsAppMessageTemplateOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; getWhatsAppMessageTemplate( input: GetWhatsAppMessageTemplateInput, ): Effect.Effect< GetWhatsAppMessageTemplateOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | InternalServiceException - | InvalidParametersException - | ThrottledRequestException - | CommonAwsError + InternalServiceException | InvalidParametersException | ThrottledRequestException | CommonAwsError >; listWhatsAppMessageTemplates( input: ListWhatsAppMessageTemplatesInput, ): Effect.Effect< ListWhatsAppMessageTemplatesOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; listWhatsAppTemplateLibrary( input: ListWhatsAppTemplateLibraryInput, ): Effect.Effect< ListWhatsAppTemplateLibraryOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | InternalServiceException - | InvalidParametersException - | ThrottledRequestException - | CommonAwsError + InternalServiceException | InvalidParametersException | ThrottledRequestException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | InternalServiceException - | InvalidParametersException - | ThrottledRequestException - | CommonAwsError + InternalServiceException | InvalidParametersException | ThrottledRequestException | CommonAwsError >; updateWhatsAppMessageTemplate( input: UpdateWhatsAppMessageTemplateInput, ): Effect.Effect< UpdateWhatsAppMessageTemplateOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; associateWhatsAppBusinessAccount( input: AssociateWhatsAppBusinessAccountInput, ): Effect.Effect< AssociateWhatsAppBusinessAccountOutput, - | DependencyException - | InvalidParametersException - | LimitExceededException - | ThrottledRequestException - | CommonAwsError + DependencyException | InvalidParametersException | LimitExceededException | ThrottledRequestException | CommonAwsError >; deleteWhatsAppMessageMedia( input: DeleteWhatsAppMessageMediaInput, ): Effect.Effect< DeleteWhatsAppMessageMediaOutput, - | AccessDeniedByMetaException - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + AccessDeniedByMetaException | DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; disassociateWhatsAppBusinessAccount( input: DisassociateWhatsAppBusinessAccountInput, ): Effect.Effect< DisassociateWhatsAppBusinessAccountOutput, - | DependencyException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; getLinkedWhatsAppBusinessAccount( input: GetLinkedWhatsAppBusinessAccountInput, ): Effect.Effect< GetLinkedWhatsAppBusinessAccountOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; getLinkedWhatsAppBusinessAccountPhoneNumber( input: GetLinkedWhatsAppBusinessAccountPhoneNumberInput, ): Effect.Effect< GetLinkedWhatsAppBusinessAccountPhoneNumberOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; getWhatsAppMessageMedia( input: GetWhatsAppMessageMediaInput, ): Effect.Effect< GetWhatsAppMessageMediaOutput, - | AccessDeniedByMetaException - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + AccessDeniedByMetaException | DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; listLinkedWhatsAppBusinessAccounts( input: ListLinkedWhatsAppBusinessAccountsInput, ): Effect.Effect< ListLinkedWhatsAppBusinessAccountsOutput, - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; postWhatsAppMessageMedia( input: PostWhatsAppMessageMediaInput, ): Effect.Effect< PostWhatsAppMessageMediaOutput, - | AccessDeniedByMetaException - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + AccessDeniedByMetaException | DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; putWhatsAppBusinessAccountEventDestinations( input: PutWhatsAppBusinessAccountEventDestinationsInput, ): Effect.Effect< PutWhatsAppBusinessAccountEventDestinationsOutput, - | InternalServiceException - | InvalidParametersException - | ThrottledRequestException - | CommonAwsError + InternalServiceException | InvalidParametersException | ThrottledRequestException | CommonAwsError >; sendWhatsAppMessage( input: SendWhatsAppMessageInput, ): Effect.Effect< SendWhatsAppMessageOutput, - | DependencyException - | InternalServiceException - | InvalidParametersException - | ResourceNotFoundException - | ThrottledRequestException - | CommonAwsError + DependencyException | InternalServiceException | InvalidParametersException | ResourceNotFoundException | ThrottledRequestException | CommonAwsError >; } @@ -338,7 +208,8 @@ export interface DeleteWhatsAppMessageTemplateInput { id: string; templateName: string; } -export interface DeleteWhatsAppMessageTemplateOutput {} +export interface DeleteWhatsAppMessageTemplateOutput { +} export declare class DependencyException extends EffectData.TaggedError( "DependencyException", )<{ @@ -347,7 +218,8 @@ export declare class DependencyException extends EffectData.TaggedError( export interface DisassociateWhatsAppBusinessAccountInput { id: string; } -export interface DisassociateWhatsAppBusinessAccountOutput {} +export interface DisassociateWhatsAppBusinessAccountOutput { +} export type ErrorMessage = string; export type EventDestinationArn = string; @@ -426,10 +298,7 @@ export declare class LimitExceededException extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export type LinkedAccountWithIncompleteSetup = Record< - string, - LinkedWhatsAppBusinessAccountIdMetaData ->; +export type LinkedAccountWithIncompleteSetup = Record; export interface LinkedWhatsAppBusinessAccount { arn: string; id: string; @@ -459,8 +328,7 @@ export interface LinkedWhatsAppBusinessAccountSummary { wabaName: string; eventDestinations: Array; } -export type LinkedWhatsAppBusinessAccountSummaryList = - Array; +export type LinkedWhatsAppBusinessAccountSummaryList = Array; export type LinkedWhatsAppPhoneNumberArn = string; export interface ListLinkedWhatsAppBusinessAccountsInput { @@ -574,7 +442,8 @@ export interface PutWhatsAppBusinessAccountEventDestinationsInput { id: string; eventDestinations: Array; } -export interface PutWhatsAppBusinessAccountEventDestinationsOutput {} +export interface PutWhatsAppBusinessAccountEventDestinationsOutput { +} export type RegistrationStatus = "COMPLETE" | "INCOMPLETE"; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", @@ -643,7 +512,8 @@ export interface UpdateWhatsAppMessageTemplateInput { templateCategory?: string; templateComponents?: Uint8Array | string; } -export interface UpdateWhatsAppMessageTemplateOutput {} +export interface UpdateWhatsAppMessageTemplateOutput { +} export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -655,8 +525,7 @@ export interface WabaPhoneNumberSetupFinalization { dataLocalizationRegion?: string; tags?: Array; } -export type WabaPhoneNumberSetupFinalizationList = - Array; +export type WabaPhoneNumberSetupFinalizationList = Array; export interface WabaSetupFinalization { id?: string; eventDestinations?: Array; @@ -666,8 +535,7 @@ export interface WhatsAppBusinessAccountEventDestination { eventDestinationArn: string; roleArn?: string; } -export type WhatsAppBusinessAccountEventDestinations = - Array; +export type WhatsAppBusinessAccountEventDestinations = Array; export type WhatsAppBusinessAccountId = string; export type WhatsAppBusinessAccountLinkDate = Date | string; @@ -722,10 +590,7 @@ export interface WhatsAppSignupCallback { } export interface WhatsAppSignupCallbackResult { associateInProgressToken?: string; - linkedAccountsWithIncompleteSetup?: Record< - string, - LinkedWhatsAppBusinessAccountIdMetaData - >; + linkedAccountsWithIncompleteSetup?: Record; } export type ZeroTapTermsAccepted = boolean; @@ -973,14 +838,5 @@ export declare namespace SendWhatsAppMessage { | CommonAwsError; } -export type SocialMessagingErrors = - | AccessDeniedByMetaException - | AccessDeniedException - | DependencyException - | InternalServiceException - | InvalidParametersException - | LimitExceededException - | ResourceNotFoundException - | ThrottledRequestException - | ValidationException - | CommonAwsError; +export type SocialMessagingErrors = AccessDeniedByMetaException | AccessDeniedException | DependencyException | InternalServiceException | InvalidParametersException | LimitExceededException | ResourceNotFoundException | ThrottledRequestException | ValidationException | CommonAwsError; + diff --git a/src/services/sqs/index.ts b/src/services/sqs/index.ts index 6780eec2..6ba6504a 100644 --- a/src/services/sqs/index.ts +++ b/src/services/sqs/index.ts @@ -5,26 +5,7 @@ import type { SQS as _SQSClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/sqs/types.ts b/src/services/sqs/types.ts index 87fad717..ba791a9e 100644 --- a/src/services/sqs/types.ts +++ b/src/services/sqs/types.ts @@ -7,302 +7,139 @@ export declare class SQS extends AWSServiceClient { input: AddPermissionRequest, ): Effect.Effect< {}, - | InvalidAddress - | InvalidSecurity - | OverLimit - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | OverLimit | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; cancelMessageMoveTask( input: CancelMessageMoveTaskRequest, ): Effect.Effect< CancelMessageMoveTaskResult, - | InvalidAddress - | InvalidSecurity - | RequestThrottled - | ResourceNotFoundException - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | RequestThrottled | ResourceNotFoundException | UnsupportedOperation | CommonAwsError >; changeMessageVisibility( input: ChangeMessageVisibilityRequest, ): Effect.Effect< {}, - | InvalidAddress - | InvalidSecurity - | MessageNotInflight - | QueueDoesNotExist - | ReceiptHandleIsInvalid - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | MessageNotInflight | QueueDoesNotExist | ReceiptHandleIsInvalid | RequestThrottled | UnsupportedOperation | CommonAwsError >; changeMessageVisibilityBatch( input: ChangeMessageVisibilityBatchRequest, ): Effect.Effect< ChangeMessageVisibilityBatchResult, - | BatchEntryIdsNotDistinct - | EmptyBatchRequest - | InvalidAddress - | InvalidBatchEntryId - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | TooManyEntriesInBatchRequest - | UnsupportedOperation - | CommonAwsError + BatchEntryIdsNotDistinct | EmptyBatchRequest | InvalidAddress | InvalidBatchEntryId | InvalidSecurity | QueueDoesNotExist | RequestThrottled | TooManyEntriesInBatchRequest | UnsupportedOperation | CommonAwsError >; createQueue( input: CreateQueueRequest, ): Effect.Effect< CreateQueueResult, - | InvalidAddress - | InvalidAttributeName - | InvalidAttributeValue - | InvalidSecurity - | QueueDeletedRecently - | QueueNameExists - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidAttributeName | InvalidAttributeValue | InvalidSecurity | QueueDeletedRecently | QueueNameExists | RequestThrottled | UnsupportedOperation | CommonAwsError >; deleteMessage( input: DeleteMessageRequest, ): Effect.Effect< {}, - | InvalidAddress - | InvalidIdFormat - | InvalidSecurity - | QueueDoesNotExist - | ReceiptHandleIsInvalid - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidIdFormat | InvalidSecurity | QueueDoesNotExist | ReceiptHandleIsInvalid | RequestThrottled | UnsupportedOperation | CommonAwsError >; deleteMessageBatch( input: DeleteMessageBatchRequest, ): Effect.Effect< DeleteMessageBatchResult, - | BatchEntryIdsNotDistinct - | EmptyBatchRequest - | InvalidAddress - | InvalidBatchEntryId - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | TooManyEntriesInBatchRequest - | UnsupportedOperation - | CommonAwsError + BatchEntryIdsNotDistinct | EmptyBatchRequest | InvalidAddress | InvalidBatchEntryId | InvalidSecurity | QueueDoesNotExist | RequestThrottled | TooManyEntriesInBatchRequest | UnsupportedOperation | CommonAwsError >; deleteQueue( input: DeleteQueueRequest, ): Effect.Effect< {}, - | InvalidAddress - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; getQueueAttributes( input: GetQueueAttributesRequest, ): Effect.Effect< GetQueueAttributesResult, - | InvalidAddress - | InvalidAttributeName - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidAttributeName | InvalidSecurity | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; getQueueUrl( input: GetQueueUrlRequest, ): Effect.Effect< GetQueueUrlResult, - | InvalidAddress - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; listDeadLetterSourceQueues( input: ListDeadLetterSourceQueuesRequest, ): Effect.Effect< ListDeadLetterSourceQueuesResult, - | InvalidAddress - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; listMessageMoveTasks( input: ListMessageMoveTasksRequest, ): Effect.Effect< ListMessageMoveTasksResult, - | InvalidAddress - | InvalidSecurity - | RequestThrottled - | ResourceNotFoundException - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | RequestThrottled | ResourceNotFoundException | UnsupportedOperation | CommonAwsError >; listQueues( input: ListQueuesRequest, ): Effect.Effect< ListQueuesResult, - | InvalidAddress - | InvalidSecurity - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | RequestThrottled | UnsupportedOperation | CommonAwsError >; listQueueTags( input: ListQueueTagsRequest, ): Effect.Effect< ListQueueTagsResult, - | InvalidAddress - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; purgeQueue( input: PurgeQueueRequest, ): Effect.Effect< {}, - | InvalidAddress - | InvalidSecurity - | PurgeQueueInProgress - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | PurgeQueueInProgress | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; receiveMessage( input: ReceiveMessageRequest, ): Effect.Effect< ReceiveMessageResult, - | InvalidAddress - | InvalidSecurity - | KmsAccessDenied - | KmsDisabled - | KmsInvalidKeyUsage - | KmsInvalidState - | KmsNotFound - | KmsOptInRequired - | KmsThrottled - | OverLimit - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | KmsAccessDenied | KmsDisabled | KmsInvalidKeyUsage | KmsInvalidState | KmsNotFound | KmsOptInRequired | KmsThrottled | OverLimit | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; removePermission( input: RemovePermissionRequest, ): Effect.Effect< {}, - | InvalidAddress - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; sendMessage( input: SendMessageRequest, ): Effect.Effect< SendMessageResult, - | InvalidAddress - | InvalidMessageContents - | InvalidSecurity - | KmsAccessDenied - | KmsDisabled - | KmsInvalidKeyUsage - | KmsInvalidState - | KmsNotFound - | KmsOptInRequired - | KmsThrottled - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidMessageContents | InvalidSecurity | KmsAccessDenied | KmsDisabled | KmsInvalidKeyUsage | KmsInvalidState | KmsNotFound | KmsOptInRequired | KmsThrottled | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; sendMessageBatch( input: SendMessageBatchRequest, ): Effect.Effect< SendMessageBatchResult, - | BatchEntryIdsNotDistinct - | BatchRequestTooLong - | EmptyBatchRequest - | InvalidAddress - | InvalidBatchEntryId - | InvalidSecurity - | KmsAccessDenied - | KmsDisabled - | KmsInvalidKeyUsage - | KmsInvalidState - | KmsNotFound - | KmsOptInRequired - | KmsThrottled - | QueueDoesNotExist - | RequestThrottled - | TooManyEntriesInBatchRequest - | UnsupportedOperation - | CommonAwsError + BatchEntryIdsNotDistinct | BatchRequestTooLong | EmptyBatchRequest | InvalidAddress | InvalidBatchEntryId | InvalidSecurity | KmsAccessDenied | KmsDisabled | KmsInvalidKeyUsage | KmsInvalidState | KmsNotFound | KmsOptInRequired | KmsThrottled | QueueDoesNotExist | RequestThrottled | TooManyEntriesInBatchRequest | UnsupportedOperation | CommonAwsError >; setQueueAttributes( input: SetQueueAttributesRequest, ): Effect.Effect< {}, - | InvalidAddress - | InvalidAttributeName - | InvalidAttributeValue - | InvalidSecurity - | OverLimit - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidAttributeName | InvalidAttributeValue | InvalidSecurity | OverLimit | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; startMessageMoveTask( input: StartMessageMoveTaskRequest, ): Effect.Effect< StartMessageMoveTaskResult, - | InvalidAddress - | InvalidSecurity - | RequestThrottled - | ResourceNotFoundException - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | RequestThrottled | ResourceNotFoundException | UnsupportedOperation | CommonAwsError >; tagQueue( input: TagQueueRequest, ): Effect.Effect< {}, - | InvalidAddress - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; untagQueue( input: UntagQueueRequest, ): Effect.Effect< {}, - | InvalidAddress - | InvalidSecurity - | QueueDoesNotExist - | RequestThrottled - | UnsupportedOperation - | CommonAwsError + InvalidAddress | InvalidSecurity | QueueDoesNotExist | RequestThrottled | UnsupportedOperation | CommonAwsError >; } @@ -356,8 +193,7 @@ export interface ChangeMessageVisibilityBatchRequestEntry { ReceiptHandle: string; VisibilityTimeout?: number; } -export type ChangeMessageVisibilityBatchRequestEntryList = - Array; +export type ChangeMessageVisibilityBatchRequestEntryList = Array; export interface ChangeMessageVisibilityBatchResult { Successful: Array; Failed: Array; @@ -365,8 +201,7 @@ export interface ChangeMessageVisibilityBatchResult { export interface ChangeMessageVisibilityBatchResultEntry { Id: string; } -export type ChangeMessageVisibilityBatchResultEntryList = - Array; +export type ChangeMessageVisibilityBatchResultEntryList = Array; export interface ChangeMessageVisibilityRequest { QueueUrl: string; ReceiptHandle: string; @@ -388,8 +223,7 @@ export interface DeleteMessageBatchRequestEntry { Id: string; ReceiptHandle: string; } -export type DeleteMessageBatchRequestEntryList = - Array; +export type DeleteMessageBatchRequestEntryList = Array; export interface DeleteMessageBatchResult { Successful: Array; Failed: Array; @@ -397,8 +231,7 @@ export interface DeleteMessageBatchResult { export interface DeleteMessageBatchResultEntry { Id: string; } -export type DeleteMessageBatchResultEntryList = - Array; +export type DeleteMessageBatchResultEntryList = Array; export interface DeleteMessageRequest { QueueUrl: string; ReceiptHandle: string; @@ -449,7 +282,8 @@ export declare class InvalidBatchEntryId extends EffectData.TaggedError( }> {} export declare class InvalidIdFormat extends EffectData.TaggedError( "InvalidIdFormat", -)<{}> {} +)<{ +}> {} export declare class InvalidMessageContents extends EffectData.TaggedError( "InvalidMessageContents", )<{ @@ -465,7 +299,9 @@ export declare class KmsAccessDenied extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export declare class KmsDisabled extends EffectData.TaggedError("KmsDisabled")<{ +export declare class KmsDisabled extends EffectData.TaggedError( + "KmsDisabled", +)<{ readonly message?: string; }> {} export declare class KmsInvalidKeyUsage extends EffectData.TaggedError( @@ -478,7 +314,9 @@ export declare class KmsInvalidState extends EffectData.TaggedError( )<{ readonly message?: string; }> {} -export declare class KmsNotFound extends EffectData.TaggedError("KmsNotFound")<{ +export declare class KmsNotFound extends EffectData.TaggedError( + "KmsNotFound", +)<{ readonly message?: string; }> {} export declare class KmsOptInRequired extends EffectData.TaggedError( @@ -518,8 +356,7 @@ export interface ListMessageMoveTasksResultEntry { FailureReason?: string; StartedTimestamp?: number; } -export type ListMessageMoveTasksResultEntryList = - Array; +export type ListMessageMoveTasksResultEntryList = Array; export interface ListQueuesRequest { QueueNamePrefix?: string; NextToken?: string; @@ -557,30 +394,15 @@ export interface MessageAttributeValue { DataType: string; } export type MessageBodyAttributeMap = Record; -export type MessageBodySystemAttributeMap = Record< - MessageSystemAttributeNameForSends, - MessageSystemAttributeValue ->; +export type MessageBodySystemAttributeMap = Record; export type MessageList = Array; export declare class MessageNotInflight extends EffectData.TaggedError( "MessageNotInflight", -)<{}> {} +)<{ +}> {} export type MessageSystemAttributeList = Array; -export type MessageSystemAttributeMap = Record< - MessageSystemAttributeName, - string ->; -export type MessageSystemAttributeName = - | "All" - | "SenderId" - | "SentTimestamp" - | "ApproximateReceiveCount" - | "ApproximateFirstReceiveTimestamp" - | "SequenceNumber" - | "MessageDeduplicationId" - | "MessageGroupId" - | "AWSTraceHeader" - | "DeadLetterQueueSourceArn"; +export type MessageSystemAttributeMap = Record; +export type MessageSystemAttributeName = "All" | "SenderId" | "SentTimestamp" | "ApproximateReceiveCount" | "ApproximateFirstReceiveTimestamp" | "SequenceNumber" | "MessageDeduplicationId" | "MessageGroupId" | "AWSTraceHeader" | "DeadLetterQueueSourceArn"; export type MessageSystemAttributeNameForSends = "AWSTraceHeader"; export interface MessageSystemAttributeValue { StringValue?: string; @@ -593,7 +415,9 @@ export type NullableInteger = number; export type NullableLong = number; -export declare class OverLimit extends EffectData.TaggedError("OverLimit")<{ +export declare class OverLimit extends EffectData.TaggedError( + "OverLimit", +)<{ readonly message?: string; }> {} export declare class PurgeQueueInProgress extends EffectData.TaggedError( @@ -605,29 +429,7 @@ export interface PurgeQueueRequest { QueueUrl: string; } export type QueueAttributeMap = Record; -export type QueueAttributeName = - | "All" - | "Policy" - | "VisibilityTimeout" - | "MaximumMessageSize" - | "MessageRetentionPeriod" - | "ApproximateNumberOfMessages" - | "ApproximateNumberOfMessagesNotVisible" - | "CreatedTimestamp" - | "LastModifiedTimestamp" - | "QueueArn" - | "ApproximateNumberOfMessagesDelayed" - | "DelaySeconds" - | "ReceiveMessageWaitTimeSeconds" - | "RedrivePolicy" - | "FifoQueue" - | "ContentBasedDeduplication" - | "KmsMasterKeyId" - | "KmsDataKeyReusePeriodSeconds" - | "DeduplicationScope" - | "FifoThroughputLimit" - | "RedriveAllowPolicy" - | "SqsManagedSseEnabled"; +export type QueueAttributeName = "All" | "Policy" | "VisibilityTimeout" | "MaximumMessageSize" | "MessageRetentionPeriod" | "ApproximateNumberOfMessages" | "ApproximateNumberOfMessagesNotVisible" | "CreatedTimestamp" | "LastModifiedTimestamp" | "QueueArn" | "ApproximateNumberOfMessagesDelayed" | "DelaySeconds" | "ReceiveMessageWaitTimeSeconds" | "RedrivePolicy" | "FifoQueue" | "ContentBasedDeduplication" | "KmsMasterKeyId" | "KmsDataKeyReusePeriodSeconds" | "DeduplicationScope" | "FifoThroughputLimit" | "RedriveAllowPolicy" | "SqsManagedSseEnabled"; export declare class QueueDeletedRecently extends EffectData.TaggedError( "QueueDeletedRecently", )<{ @@ -685,14 +487,11 @@ export interface SendMessageBatchRequestEntry { MessageBody: string; DelaySeconds?: number; MessageAttributes?: Record; - MessageSystemAttributes?: { - [key in MessageSystemAttributeNameForSends]?: string; - }; + MessageSystemAttributes?: { [key in MessageSystemAttributeNameForSends]?: string }; MessageDeduplicationId?: string; MessageGroupId?: string; } -export type SendMessageBatchRequestEntryList = - Array; +export type SendMessageBatchRequestEntryList = Array; export interface SendMessageBatchResult { Successful: Array; Failed: Array; @@ -705,16 +504,13 @@ export interface SendMessageBatchResultEntry { MD5OfMessageSystemAttributes?: string; SequenceNumber?: string; } -export type SendMessageBatchResultEntryList = - Array; +export type SendMessageBatchResultEntryList = Array; export interface SendMessageRequest { QueueUrl: string; MessageBody: string; DelaySeconds?: number; MessageAttributes?: Record; - MessageSystemAttributes?: { - [key in MessageSystemAttributeNameForSends]?: string; - }; + MessageSystemAttributes?: { [key in MessageSystemAttributeNameForSends]?: string }; MessageDeduplicationId?: string; MessageGroupId?: string; } @@ -1090,33 +886,5 @@ export declare namespace UntagQueue { | CommonAwsError; } -export type SQSErrors = - | BatchEntryIdsNotDistinct - | BatchRequestTooLong - | EmptyBatchRequest - | InvalidAddress - | InvalidAttributeName - | InvalidAttributeValue - | InvalidBatchEntryId - | InvalidIdFormat - | InvalidMessageContents - | InvalidSecurity - | KmsAccessDenied - | KmsDisabled - | KmsInvalidKeyUsage - | KmsInvalidState - | KmsNotFound - | KmsOptInRequired - | KmsThrottled - | MessageNotInflight - | OverLimit - | PurgeQueueInProgress - | QueueDeletedRecently - | QueueDoesNotExist - | QueueNameExists - | ReceiptHandleIsInvalid - | RequestThrottled - | ResourceNotFoundException - | TooManyEntriesInBatchRequest - | UnsupportedOperation - | CommonAwsError; +export type SQSErrors = BatchEntryIdsNotDistinct | BatchRequestTooLong | EmptyBatchRequest | InvalidAddress | InvalidAttributeName | InvalidAttributeValue | InvalidBatchEntryId | InvalidIdFormat | InvalidMessageContents | InvalidSecurity | KmsAccessDenied | KmsDisabled | KmsInvalidKeyUsage | KmsInvalidState | KmsNotFound | KmsOptInRequired | KmsThrottled | MessageNotInflight | OverLimit | PurgeQueueInProgress | QueueDeletedRecently | QueueDoesNotExist | QueueNameExists | ReceiptHandleIsInvalid | RequestThrottled | ResourceNotFoundException | TooManyEntriesInBatchRequest | UnsupportedOperation | CommonAwsError; + diff --git a/src/services/ssm-contacts/index.ts b/src/services/ssm-contacts/index.ts index 07608c4d..df4638ae 100644 --- a/src/services/ssm-contacts/index.ts +++ b/src/services/ssm-contacts/index.ts @@ -5,23 +5,7 @@ import type { SSMContacts as _SSMContactsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/ssm-contacts/types.ts b/src/services/ssm-contacts/types.ts index eb1dd054..3856e361 100644 --- a/src/services/ssm-contacts/types.ts +++ b/src/services/ssm-contacts/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SSMContacts extends AWSServiceClient { @@ -40,450 +8,235 @@ export declare class SSMContacts extends AWSServiceClient { input: AcceptPageRequest, ): Effect.Effect< AcceptPageResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; activateContactChannel( input: ActivateContactChannelRequest, ): Effect.Effect< ActivateContactChannelResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createContact( input: CreateContactRequest, ): Effect.Effect< CreateContactResult, - | AccessDeniedException - | ConflictException - | DataEncryptionException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DataEncryptionException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createContactChannel( input: CreateContactChannelRequest, ): Effect.Effect< CreateContactChannelResult, - | AccessDeniedException - | ConflictException - | DataEncryptionException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DataEncryptionException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; createRotation( input: CreateRotationRequest, ): Effect.Effect< CreateRotationResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRotationOverride( input: CreateRotationOverrideRequest, ): Effect.Effect< CreateRotationOverrideResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deactivateContactChannel( input: DeactivateContactChannelRequest, ): Effect.Effect< DeactivateContactChannelResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteContact( input: DeleteContactRequest, ): Effect.Effect< DeleteContactResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteContactChannel( input: DeleteContactChannelRequest, ): Effect.Effect< DeleteContactChannelResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRotation( input: DeleteRotationRequest, ): Effect.Effect< DeleteRotationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRotationOverride( input: DeleteRotationOverrideRequest, ): Effect.Effect< DeleteRotationOverrideResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeEngagement( input: DescribeEngagementRequest, ): Effect.Effect< DescribeEngagementResult, - | AccessDeniedException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePage( input: DescribePageRequest, ): Effect.Effect< DescribePageResult, - | AccessDeniedException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getContact( input: GetContactRequest, ): Effect.Effect< GetContactResult, - | AccessDeniedException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getContactChannel( input: GetContactChannelRequest, ): Effect.Effect< GetContactChannelResult, - | AccessDeniedException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getContactPolicy( input: GetContactPolicyRequest, ): Effect.Effect< GetContactPolicyResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRotation( input: GetRotationRequest, ): Effect.Effect< GetRotationResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRotationOverride( input: GetRotationOverrideRequest, ): Effect.Effect< GetRotationOverrideResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listContactChannels( input: ListContactChannelsRequest, ): Effect.Effect< ListContactChannelsResult, - | AccessDeniedException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listContacts( input: ListContactsRequest, ): Effect.Effect< ListContactsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEngagements( input: ListEngagementsRequest, ): Effect.Effect< ListEngagementsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPageReceipts( input: ListPageReceiptsRequest, ): Effect.Effect< ListPageReceiptsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPageResolutions( input: ListPageResolutionsRequest, ): Effect.Effect< ListPageResolutionsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPagesByContact( input: ListPagesByContactRequest, ): Effect.Effect< ListPagesByContactResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPagesByEngagement( input: ListPagesByEngagementRequest, ): Effect.Effect< ListPagesByEngagementResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPreviewRotationShifts( input: ListPreviewRotationShiftsRequest, ): Effect.Effect< ListPreviewRotationShiftsResult, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRotationOverrides( input: ListRotationOverridesRequest, ): Effect.Effect< ListRotationOverridesResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRotations( input: ListRotationsRequest, ): Effect.Effect< ListRotationsResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRotationShifts( input: ListRotationShiftsRequest, ): Effect.Effect< ListRotationShiftsResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putContactPolicy( input: PutContactPolicyRequest, ): Effect.Effect< PutContactPolicyResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; sendActivationCode( input: SendActivationCodeRequest, ): Effect.Effect< SendActivationCodeResult, - | AccessDeniedException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startEngagement( input: StartEngagementRequest, ): Effect.Effect< StartEngagementResult, - | AccessDeniedException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; stopEngagement( input: StopEngagementRequest, ): Effect.Effect< StopEngagementResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateContact( input: UpdateContactRequest, ): Effect.Effect< UpdateContactResult, - | AccessDeniedException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateContactChannel( input: UpdateContactChannelRequest, ): Effect.Effect< UpdateContactChannelResult, - | AccessDeniedException - | ConflictException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRotation( input: UpdateRotationRequest, ): Effect.Effect< UpdateRotationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -500,7 +253,8 @@ export interface AcceptPageRequest { AcceptCode: string; AcceptCodeValidation?: AcceptCodeValidation; } -export interface AcceptPageResult {} +export interface AcceptPageResult { +} export type AcceptType = "DELIVERED" | "READ"; export declare class AccessDeniedException extends EffectData.TaggedError( "AccessDeniedException", @@ -511,7 +265,8 @@ export interface ActivateContactChannelRequest { ContactChannelId: string; ActivationCode: string; } -export interface ActivateContactChannelResult {} +export interface ActivateContactChannelResult { +} export type ActivationCode = string; export type ActivationStatus = "ACTIVATED" | "NOT_ACTIVATED"; @@ -625,26 +380,31 @@ export type DayOfWeek = "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN"; export interface DeactivateContactChannelRequest { ContactChannelId: string; } -export interface DeactivateContactChannelResult {} +export interface DeactivateContactChannelResult { +} export type DeferActivation = boolean; export interface DeleteContactChannelRequest { ContactChannelId: string; } -export interface DeleteContactChannelResult {} +export interface DeleteContactChannelResult { +} export interface DeleteContactRequest { ContactId: string; } -export interface DeleteContactResult {} +export interface DeleteContactResult { +} export interface DeleteRotationOverrideRequest { RotationId: string; RotationOverrideId: string; } -export interface DeleteRotationOverrideResult {} +export interface DeleteRotationOverrideResult { +} export interface DeleteRotationRequest { RotationId: string; } -export interface DeleteRotationResult {} +export interface DeleteRotationResult { +} export interface DependentEntity { RelationType: string; DependentResourceIds: Array; @@ -922,7 +682,8 @@ export interface PutContactPolicyRequest { ContactArn: string; Policy: string; } -export interface PutContactPolicyResult {} +export interface PutContactPolicyResult { +} export interface Receipt { ContactChannelArn?: string; ReceiptType: ReceiptType; @@ -994,7 +755,8 @@ export type RotationShifts = Array; export interface SendActivationCodeRequest { ContactChannelId: string; } -export interface SendActivationCodeResult {} +export interface SendActivationCodeResult { +} export type Sender = string; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( @@ -1042,7 +804,8 @@ export interface StopEngagementRequest { EngagementId: string; Reason?: string; } -export interface StopEngagementResult {} +export interface StopEngagementResult { +} export type StopReason = string; export type SsmContactsString = string; @@ -1060,7 +823,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResult {} +export interface TagResourceResult { +} export type TagsList = Array; export type TagValue = string; @@ -1087,19 +851,22 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResult {} +export interface UntagResourceResult { +} export interface UpdateContactChannelRequest { ContactChannelId: string; Name?: string; DeliveryAddress?: ContactChannelAddress; } -export interface UpdateContactChannelResult {} +export interface UpdateContactChannelResult { +} export interface UpdateContactRequest { ContactId: string; DisplayName?: string; Plan?: Plan; } -export interface UpdateContactResult {} +export interface UpdateContactResult { +} export interface UpdateRotationRequest { RotationId: string; ContactIds?: Array; @@ -1107,7 +874,8 @@ export interface UpdateRotationRequest { TimeZoneId?: string; Recurrence: RecurrenceSettings; } -export interface UpdateRotationResult {} +export interface UpdateRotationResult { +} export type Uuid = string; export declare class ValidationException extends EffectData.TaggedError( @@ -1122,11 +890,7 @@ export interface ValidationExceptionField { Message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "UNKNOWN_OPERATION" - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "OTHER"; +export type ValidationExceptionReason = "UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER"; export interface WeeklySetting { DayOfWeek: DayOfWeek; HandOffTime: HandOffTime; @@ -1620,13 +1384,5 @@ export declare namespace UpdateRotation { | CommonAwsError; } -export type SSMContactsErrors = - | AccessDeniedException - | ConflictException - | DataEncryptionException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SSMContactsErrors = AccessDeniedException | ConflictException | DataEncryptionException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/ssm-guiconnect/index.ts b/src/services/ssm-guiconnect/index.ts index c5bc79fd..50575b5a 100644 --- a/src/services/ssm-guiconnect/index.ts +++ b/src/services/ssm-guiconnect/index.ts @@ -5,23 +5,7 @@ import type { SSMGuiConnect as _SSMGuiConnectClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,12 +14,9 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "ssm-guiconnect", operations: { - DeleteConnectionRecordingPreferences: - "POST /DeleteConnectionRecordingPreferences", - GetConnectionRecordingPreferences: - "POST /GetConnectionRecordingPreferences", - UpdateConnectionRecordingPreferences: - "POST /UpdateConnectionRecordingPreferences", + "DeleteConnectionRecordingPreferences": "POST /DeleteConnectionRecordingPreferences", + "GetConnectionRecordingPreferences": "POST /GetConnectionRecordingPreferences", + "UpdateConnectionRecordingPreferences": "POST /UpdateConnectionRecordingPreferences", }, } as const satisfies ServiceMetadata; diff --git a/src/services/ssm-guiconnect/types.ts b/src/services/ssm-guiconnect/types.ts index d64b6137..13c63699 100644 --- a/src/services/ssm-guiconnect/types.ts +++ b/src/services/ssm-guiconnect/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SSMGuiConnect extends AWSServiceClient { @@ -40,38 +8,19 @@ export declare class SSMGuiConnect extends AWSServiceClient { input: DeleteConnectionRecordingPreferencesRequest, ): Effect.Effect< DeleteConnectionRecordingPreferencesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; - getConnectionRecordingPreferences(input: {}): Effect.Effect< + getConnectionRecordingPreferences( + input: {}, + ): Effect.Effect< GetConnectionRecordingPreferencesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateConnectionRecordingPreferences( input: UpdateConnectionRecordingPreferencesRequest, ): Effect.Effect< UpdateConnectionRecordingPreferencesResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -196,12 +145,5 @@ export declare namespace UpdateConnectionRecordingPreferences { | CommonAwsError; } -export type SSMGuiConnectErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SSMGuiConnectErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/ssm-incidents/index.ts b/src/services/ssm-incidents/index.ts index 185996e6..7b1ce69d 100644 --- a/src/services/ssm-incidents/index.ts +++ b/src/services/ssm-incidents/index.ts @@ -5,23 +5,7 @@ import type { SSMIncidents as _SSMIncidentsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,37 +14,37 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "ssm-incidents", operations: { - BatchGetIncidentFindings: "POST /batchGetIncidentFindings", - CreateReplicationSet: "POST /createReplicationSet", - CreateResponsePlan: "POST /createResponsePlan", - CreateTimelineEvent: "POST /createTimelineEvent", - DeleteIncidentRecord: "POST /deleteIncidentRecord", - DeleteReplicationSet: "POST /deleteReplicationSet", - DeleteResourcePolicy: "POST /deleteResourcePolicy", - DeleteResponsePlan: "POST /deleteResponsePlan", - DeleteTimelineEvent: "POST /deleteTimelineEvent", - GetIncidentRecord: "GET /getIncidentRecord", - GetReplicationSet: "GET /getReplicationSet", - GetResourcePolicies: "POST /getResourcePolicies", - GetResponsePlan: "GET /getResponsePlan", - GetTimelineEvent: "GET /getTimelineEvent", - ListIncidentFindings: "POST /listIncidentFindings", - ListIncidentRecords: "POST /listIncidentRecords", - ListRelatedItems: "POST /listRelatedItems", - ListReplicationSets: "POST /listReplicationSets", - ListResponsePlans: "POST /listResponsePlans", - ListTagsForResource: "GET /tags/{resourceArn}", - ListTimelineEvents: "POST /listTimelineEvents", - PutResourcePolicy: "POST /putResourcePolicy", - StartIncident: "POST /startIncident", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateDeletionProtection: "POST /updateDeletionProtection", - UpdateIncidentRecord: "POST /updateIncidentRecord", - UpdateRelatedItems: "POST /updateRelatedItems", - UpdateReplicationSet: "POST /updateReplicationSet", - UpdateResponsePlan: "POST /updateResponsePlan", - UpdateTimelineEvent: "POST /updateTimelineEvent", + "BatchGetIncidentFindings": "POST /batchGetIncidentFindings", + "CreateReplicationSet": "POST /createReplicationSet", + "CreateResponsePlan": "POST /createResponsePlan", + "CreateTimelineEvent": "POST /createTimelineEvent", + "DeleteIncidentRecord": "POST /deleteIncidentRecord", + "DeleteReplicationSet": "POST /deleteReplicationSet", + "DeleteResourcePolicy": "POST /deleteResourcePolicy", + "DeleteResponsePlan": "POST /deleteResponsePlan", + "DeleteTimelineEvent": "POST /deleteTimelineEvent", + "GetIncidentRecord": "GET /getIncidentRecord", + "GetReplicationSet": "GET /getReplicationSet", + "GetResourcePolicies": "POST /getResourcePolicies", + "GetResponsePlan": "GET /getResponsePlan", + "GetTimelineEvent": "GET /getTimelineEvent", + "ListIncidentFindings": "POST /listIncidentFindings", + "ListIncidentRecords": "POST /listIncidentRecords", + "ListRelatedItems": "POST /listRelatedItems", + "ListReplicationSets": "POST /listReplicationSets", + "ListResponsePlans": "POST /listResponsePlans", + "ListTagsForResource": "GET /tags/{resourceArn}", + "ListTimelineEvents": "POST /listTimelineEvents", + "PutResourcePolicy": "POST /putResourcePolicy", + "StartIncident": "POST /startIncident", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateDeletionProtection": "POST /updateDeletionProtection", + "UpdateIncidentRecord": "POST /updateIncidentRecord", + "UpdateRelatedItems": "POST /updateRelatedItems", + "UpdateReplicationSet": "POST /updateReplicationSet", + "UpdateResponsePlan": "POST /updateResponsePlan", + "UpdateTimelineEvent": "POST /updateTimelineEvent", }, } as const satisfies ServiceMetadata; diff --git a/src/services/ssm-incidents/types.ts b/src/services/ssm-incidents/types.ts index e99912f4..9dbac41f 100644 --- a/src/services/ssm-incidents/types.ts +++ b/src/services/ssm-incidents/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SSMIncidents extends AWSServiceClient { @@ -40,346 +8,187 @@ export declare class SSMIncidents extends AWSServiceClient { input: BatchGetIncidentFindingsInput, ): Effect.Effect< BatchGetIncidentFindingsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createReplicationSet( input: CreateReplicationSetInput, ): Effect.Effect< CreateReplicationSetOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createResponsePlan( input: CreateResponsePlanInput, ): Effect.Effect< CreateResponsePlanOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createTimelineEvent( input: CreateTimelineEventInput, ): Effect.Effect< CreateTimelineEventOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteIncidentRecord( input: DeleteIncidentRecordInput, ): Effect.Effect< DeleteIncidentRecordOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteReplicationSet( input: DeleteReplicationSetInput, ): Effect.Effect< DeleteReplicationSetOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyInput, ): Effect.Effect< DeleteResourcePolicyOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResponsePlan( input: DeleteResponsePlanInput, ): Effect.Effect< DeleteResponsePlanOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteTimelineEvent( input: DeleteTimelineEventInput, ): Effect.Effect< DeleteTimelineEventOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getIncidentRecord( input: GetIncidentRecordInput, ): Effect.Effect< GetIncidentRecordOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReplicationSet( input: GetReplicationSetInput, ): Effect.Effect< GetReplicationSetOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicies( input: GetResourcePoliciesInput, ): Effect.Effect< GetResourcePoliciesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResponsePlan( input: GetResponsePlanInput, ): Effect.Effect< GetResponsePlanOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTimelineEvent( input: GetTimelineEventInput, ): Effect.Effect< GetTimelineEventOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listIncidentFindings( input: ListIncidentFindingsInput, ): Effect.Effect< ListIncidentFindingsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listIncidentRecords( input: ListIncidentRecordsInput, ): Effect.Effect< ListIncidentRecordsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRelatedItems( input: ListRelatedItemsInput, ): Effect.Effect< ListRelatedItemsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listReplicationSets( input: ListReplicationSetsInput, ): Effect.Effect< ListReplicationSetsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listResponsePlans( input: ListResponsePlansInput, ): Effect.Effect< ListResponsePlansOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTimelineEvents( input: ListTimelineEventsInput, ): Effect.Effect< ListTimelineEventsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyInput, ): Effect.Effect< PutResourcePolicyOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startIncident( input: StartIncidentInput, ): Effect.Effect< StartIncidentOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDeletionProtection( input: UpdateDeletionProtectionInput, ): Effect.Effect< UpdateDeletionProtectionOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateIncidentRecord( input: UpdateIncidentRecordInput, ): Effect.Effect< UpdateIncidentRecordOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRelatedItems( input: UpdateRelatedItemsInput, ): Effect.Effect< UpdateRelatedItemsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateReplicationSet( input: UpdateReplicationSetInput, ): Effect.Effect< UpdateReplicationSetOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateResponsePlan( input: UpdateResponsePlanInput, ): Effect.Effect< UpdateResponsePlanOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTimelineEvent( input: UpdateTimelineEventInput, ): Effect.Effect< UpdateTimelineEventOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -394,7 +203,7 @@ interface _Action { ssmAutomation?: SsmAutomation; } -export type Action = _Action & { ssmAutomation: SsmAutomation }; +export type Action = (_Action & { ssmAutomation: SsmAutomation }); export type ActionsList = Array; export interface AddRegionAction { regionName: string; @@ -407,24 +216,19 @@ interface _AttributeValueList { integerValues?: Array; } -export type AttributeValueList = - | (_AttributeValueList & { stringValues: Array }) - | (_AttributeValueList & { integerValues: Array }); +export type AttributeValueList = (_AttributeValueList & { stringValues: Array }) | (_AttributeValueList & { integerValues: Array }); interface _AutomationExecution { ssmExecutionArn?: string; } -export type AutomationExecution = _AutomationExecution & { - ssmExecutionArn: string; -}; +export type AutomationExecution = (_AutomationExecution & { ssmExecutionArn: string }); export type AutomationExecutionSet = Array; export interface BatchGetIncidentFindingsError { findingId: string; code: string; message: string; } -export type BatchGetIncidentFindingsErrorList = - Array; +export type BatchGetIncidentFindingsErrorList = Array; export interface BatchGetIncidentFindingsInput { incidentRecordArn: string; findingIds: Array; @@ -439,9 +243,7 @@ interface _ChatChannel { chatbotSns?: Array; } -export type ChatChannel = - | (_ChatChannel & { empty: EmptyChatChannel }) - | (_ChatChannel & { chatbotSns: Array }); +export type ChatChannel = (_ChatChannel & { empty: EmptyChatChannel }) | (_ChatChannel & { chatbotSns: Array }); export type ClientToken = string; export interface CloudFormationStackUpdate { @@ -461,10 +263,7 @@ interface _Condition { equals?: AttributeValueList; } -export type Condition = - | (_Condition & { before: Date | string }) - | (_Condition & { after: Date | string }) - | (_Condition & { equals: AttributeValueList }); +export type Condition = (_Condition & { before: Date | string }) | (_Condition & { after: Date | string }) | (_Condition & { equals: AttributeValueList }); export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -512,37 +311,41 @@ export type DedupeString = string; export interface DeleteIncidentRecordInput { arn: string; } -export interface DeleteIncidentRecordOutput {} +export interface DeleteIncidentRecordOutput { +} export interface DeleteRegionAction { regionName: string; } export interface DeleteReplicationSetInput { arn: string; } -export interface DeleteReplicationSetOutput {} +export interface DeleteReplicationSetOutput { +} export interface DeleteResourcePolicyInput { resourceArn: string; policyId: string; } -export interface DeleteResourcePolicyOutput {} +export interface DeleteResourcePolicyOutput { +} export interface DeleteResponsePlanInput { arn: string; } -export interface DeleteResponsePlanOutput {} +export interface DeleteResponsePlanOutput { +} export interface DeleteTimelineEventInput { incidentRecordArn: string; eventId: string; } -export interface DeleteTimelineEventOutput {} +export interface DeleteTimelineEventOutput { +} export type DynamicSsmParameters = Record; interface _DynamicSsmParameterValue { variable?: string; } -export type DynamicSsmParameterValue = _DynamicSsmParameterValue & { - variable: string; -}; -export interface EmptyChatChannel {} +export type DynamicSsmParameterValue = (_DynamicSsmParameterValue & { variable: string }); +export interface EmptyChatChannel { +} export type EngagementSet = Array; export type EventData = string; @@ -551,9 +354,7 @@ interface _EventReference { relatedItemId?: string; } -export type EventReference = - | (_EventReference & { resource: string }) - | (_EventReference & { relatedItemId: string }); +export type EventReference = (_EventReference & { resource: string }) | (_EventReference & { relatedItemId: string }); export type EventReferenceList = Array; export interface EventSummary { incidentRecordArn: string; @@ -582,11 +383,7 @@ interface _FindingDetails { cloudFormationStackUpdate?: CloudFormationStackUpdate; } -export type FindingDetails = - | (_FindingDetails & { codeDeployDeployment: CodeDeployDeployment }) - | (_FindingDetails & { - cloudFormationStackUpdate: CloudFormationStackUpdate; - }); +export type FindingDetails = (_FindingDetails & { codeDeployDeployment: CodeDeployDeployment }) | (_FindingDetails & { cloudFormationStackUpdate: CloudFormationStackUpdate }); export type FindingId = string; export type FindingIdList = Array; @@ -694,9 +491,7 @@ interface _Integration { pagerDutyConfiguration?: PagerDutyConfiguration; } -export type Integration = _Integration & { - pagerDutyConfiguration: PagerDutyConfiguration; -}; +export type Integration = (_Integration & { pagerDutyConfiguration: PagerDutyConfiguration }); export type Integrations = Array; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", @@ -716,11 +511,7 @@ interface _ItemValue { pagerDutyIncidentDetail?: PagerDutyIncidentDetail; } -export type ItemValue = - | (_ItemValue & { arn: string }) - | (_ItemValue & { url: string }) - | (_ItemValue & { metricDefinition: string }) - | (_ItemValue & { pagerDutyIncidentDetail: PagerDutyIncidentDetail }); +export type ItemValue = (_ItemValue & { arn: string }) | (_ItemValue & { url: string }) | (_ItemValue & { metricDefinition: string }) | (_ItemValue & { pagerDutyIncidentDetail: PagerDutyIncidentDetail }); export interface ListIncidentFindingsInput { incidentRecordArn: string; maxResults?: number; @@ -792,9 +583,7 @@ interface _NotificationTargetItem { snsTopicArn?: string; } -export type NotificationTargetItem = _NotificationTargetItem & { - snsTopicArn: string; -}; +export type NotificationTargetItem = (_NotificationTargetItem & { snsTopicArn: string }); export type NotificationTargetSet = Array; export interface PagerDutyConfiguration { name: string; @@ -848,9 +637,7 @@ interface _RelatedItemsUpdate { itemToRemove?: ItemIdentifier; } -export type RelatedItemsUpdate = - | (_RelatedItemsUpdate & { itemToAdd: RelatedItem }) - | (_RelatedItemsUpdate & { itemToRemove: ItemIdentifier }); +export type RelatedItemsUpdate = (_RelatedItemsUpdate & { itemToAdd: RelatedItem }) | (_RelatedItemsUpdate & { itemToRemove: ItemIdentifier }); export interface ReplicationSet { arn?: string; regionMap: Record; @@ -945,7 +732,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -978,14 +766,16 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UpdateActionList = Array; export interface UpdateDeletionProtectionInput { arn: string; deletionProtected: boolean; clientToken?: string; } -export interface UpdateDeletionProtectionOutput {} +export interface UpdateDeletionProtectionOutput { +} export interface UpdateIncidentRecordInput { clientToken?: string; arn: string; @@ -996,27 +786,28 @@ export interface UpdateIncidentRecordInput { chatChannel?: ChatChannel; notificationTargets?: Array; } -export interface UpdateIncidentRecordOutput {} +export interface UpdateIncidentRecordOutput { +} export interface UpdateRelatedItemsInput { clientToken?: string; incidentRecordArn: string; relatedItemsUpdate: RelatedItemsUpdate; } -export interface UpdateRelatedItemsOutput {} +export interface UpdateRelatedItemsOutput { +} interface _UpdateReplicationSetAction { addRegionAction?: AddRegionAction; deleteRegionAction?: DeleteRegionAction; } -export type UpdateReplicationSetAction = - | (_UpdateReplicationSetAction & { addRegionAction: AddRegionAction }) - | (_UpdateReplicationSetAction & { deleteRegionAction: DeleteRegionAction }); +export type UpdateReplicationSetAction = (_UpdateReplicationSetAction & { addRegionAction: AddRegionAction }) | (_UpdateReplicationSetAction & { deleteRegionAction: DeleteRegionAction }); export interface UpdateReplicationSetInput { arn: string; actions: Array; clientToken?: string; } -export interface UpdateReplicationSetOutput {} +export interface UpdateReplicationSetOutput { +} export interface UpdateResponsePlanInput { clientToken?: string; arn: string; @@ -1032,7 +823,8 @@ export interface UpdateResponsePlanInput { incidentTemplateTags?: Record; integrations?: Array; } -export interface UpdateResponsePlanOutput {} +export interface UpdateResponsePlanOutput { +} export interface UpdateTimelineEventInput { clientToken?: string; incidentRecordArn: string; @@ -1042,7 +834,8 @@ export interface UpdateTimelineEventInput { eventData?: string; eventReferences?: Array; } -export interface UpdateTimelineEventOutput {} +export interface UpdateTimelineEventOutput { +} export type Url = string; export type UUID = string; @@ -1430,12 +1223,5 @@ export declare namespace UpdateTimelineEvent { | CommonAwsError; } -export type SSMIncidentsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SSMIncidentsErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/ssm-quicksetup/index.ts b/src/services/ssm-quicksetup/index.ts index 407248bc..2740b587 100644 --- a/src/services/ssm-quicksetup/index.ts +++ b/src/services/ssm-quicksetup/index.ts @@ -5,23 +5,7 @@ import type { SSMQuickSetup as _SSMQuickSetupClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,21 +14,24 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "ssm-quicksetup", operations: { - CreateConfigurationManager: "POST /configurationManager", - DeleteConfigurationManager: "DELETE /configurationManager/{ManagerArn}", - GetConfiguration: "GET /getConfiguration/{ConfigurationId}", - GetConfigurationManager: "GET /configurationManager/{ManagerArn}", - GetServiceSettings: "GET /serviceSettings", - ListConfigurationManagers: "POST /listConfigurationManagers", - ListConfigurations: "POST /listConfigurations", - ListQuickSetupTypes: "GET /listQuickSetupTypes", - ListTagsForResource: "GET /tags/{ResourceArn}", - TagResource: "PUT /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateConfigurationDefinition: - "PUT /configurationDefinition/{ManagerArn}/{Id}", - UpdateConfigurationManager: "PUT /configurationManager/{ManagerArn}", - UpdateServiceSettings: "PUT /serviceSettings", + "CreateConfigurationManager": "POST /configurationManager", + "DeleteConfigurationManager": "DELETE /configurationManager/{ManagerArn}", + "GetConfiguration": "GET /getConfiguration/{ConfigurationId}", + "GetConfigurationManager": "GET /configurationManager/{ManagerArn}", + "GetServiceSettings": "GET /serviceSettings", + "ListConfigurationManagers": "POST /listConfigurationManagers", + "ListConfigurations": "POST /listConfigurations", + "ListQuickSetupTypes": "GET /listQuickSetupTypes", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "TagResource": "PUT /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateConfigurationDefinition": "PUT /configurationDefinition/{ManagerArn}/{Id}", + "UpdateConfigurationManager": "PUT /configurationManager/{ManagerArn}", + "UpdateServiceSettings": "PUT /serviceSettings", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/ssm-quicksetup/types.ts b/src/services/ssm-quicksetup/types.ts index e9187951..7a344e35 100644 --- a/src/services/ssm-quicksetup/types.ts +++ b/src/services/ssm-quicksetup/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SSMQuickSetup extends AWSServiceClient { @@ -40,157 +8,85 @@ export declare class SSMQuickSetup extends AWSServiceClient { input: CreateConfigurationManagerInput, ): Effect.Effect< CreateConfigurationManagerOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteConfigurationManager( input: DeleteConfigurationManagerInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfiguration( input: GetConfigurationInput, ): Effect.Effect< GetConfigurationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConfigurationManager( input: GetConfigurationManagerInput, ): Effect.Effect< GetConfigurationManagerOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; - getServiceSettings(input: {}): Effect.Effect< + getServiceSettings( + input: {}, + ): Effect.Effect< GetServiceSettingsOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | CommonAwsError >; listConfigurationManagers( input: ListConfigurationManagersInput, ): Effect.Effect< ListConfigurationManagersOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listConfigurations( input: ListConfigurationsInput, ): Effect.Effect< ListConfigurationsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; - listQuickSetupTypes(input: {}): Effect.Effect< + listQuickSetupTypes( + input: {}, + ): Effect.Effect< ListQuickSetupTypesOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateConfigurationDefinition( input: UpdateConfigurationDefinitionInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateConfigurationManager( input: UpdateConfigurationManagerInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateServiceSettings( input: UpdateServiceSettingsInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -216,11 +112,9 @@ export interface ConfigurationDefinitionInput { LocalDeploymentExecutionRoleName?: string; LocalDeploymentAdministrationRoleArn?: string; } -export type ConfigurationDefinitionsInputList = - Array; +export type ConfigurationDefinitionsInputList = Array; export type ConfigurationDefinitionsList = Array; -export type ConfigurationDefinitionSummariesList = - Array; +export type ConfigurationDefinitionSummariesList = Array; export interface ConfigurationDefinitionSummary { Id?: string; Type?: string; @@ -353,17 +247,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( export interface ServiceSettings { ExplorerEnablingRoleArn?: string; } -export type Status = - | "INITIALIZING" - | "DEPLOYING" - | "SUCCEEDED" - | "DELETING" - | "STOPPING" - | "FAILED" - | "STOPPED" - | "DELETE_FAILED" - | "STOP_FAILED" - | "NONE"; +export type Status = "INITIALIZING" | "DEPLOYING" | "SUCCEEDED" | "DELETING" | "STOPPING" | "FAILED" | "STOPPED" | "DELETE_FAILED" | "STOP_FAILED" | "NONE"; export type StatusDetails = Record; export type StatusSummariesList = Array; export interface StatusSummary { @@ -589,11 +473,5 @@ export declare namespace UpdateServiceSettings { | CommonAwsError; } -export type SSMQuickSetupErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SSMQuickSetupErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/ssm-sap/index.ts b/src/services/ssm-sap/index.ts index 781f42e7..0c01a909 100644 --- a/src/services/ssm-sap/index.ts +++ b/src/services/ssm-sap/index.ts @@ -5,25 +5,7 @@ import type { SsmSap as _SsmSapClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -33,35 +15,33 @@ const metadata = { sigV4ServiceName: "ssm-sap", endpointPrefix: "ssm-sap", operations: { - DeleteResourcePermission: "POST /delete-resource-permission", - DeregisterApplication: "POST /deregister-application", - GetApplication: "POST /get-application", - GetComponent: "POST /get-component", - GetConfigurationCheckOperation: "POST /get-configuration-check-operation", - GetDatabase: "POST /get-database", - GetOperation: "POST /get-operation", - GetResourcePermission: "POST /get-resource-permission", - ListApplications: "POST /list-applications", - ListComponents: "POST /list-components", - ListConfigurationCheckDefinitions: - "POST /list-configuration-check-definitions", - ListConfigurationCheckOperations: - "POST /list-configuration-check-operations", - ListDatabases: "POST /list-databases", - ListOperationEvents: "POST /list-operation-events", - ListOperations: "POST /list-operations", - ListSubCheckResults: "POST /list-sub-check-results", - ListSubCheckRuleResults: "POST /list-sub-check-rule-results", - ListTagsForResource: "GET /tags/{resourceArn}", - PutResourcePermission: "POST /put-resource-permission", - RegisterApplication: "POST /register-application", - StartApplication: "POST /start-application", - StartApplicationRefresh: "POST /start-application-refresh", - StartConfigurationChecks: "POST /start-configuration-checks", - StopApplication: "POST /stop-application", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateApplicationSettings: "POST /update-application-settings", + "DeleteResourcePermission": "POST /delete-resource-permission", + "DeregisterApplication": "POST /deregister-application", + "GetApplication": "POST /get-application", + "GetComponent": "POST /get-component", + "GetConfigurationCheckOperation": "POST /get-configuration-check-operation", + "GetDatabase": "POST /get-database", + "GetOperation": "POST /get-operation", + "GetResourcePermission": "POST /get-resource-permission", + "ListApplications": "POST /list-applications", + "ListComponents": "POST /list-components", + "ListConfigurationCheckDefinitions": "POST /list-configuration-check-definitions", + "ListConfigurationCheckOperations": "POST /list-configuration-check-operations", + "ListDatabases": "POST /list-databases", + "ListOperationEvents": "POST /list-operation-events", + "ListOperations": "POST /list-operations", + "ListSubCheckResults": "POST /list-sub-check-results", + "ListSubCheckRuleResults": "POST /list-sub-check-rule-results", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutResourcePermission": "POST /put-resource-permission", + "RegisterApplication": "POST /register-application", + "StartApplication": "POST /start-application", + "StartApplicationRefresh": "POST /start-application-refresh", + "StartConfigurationChecks": "POST /start-configuration-checks", + "StopApplication": "POST /stop-application", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateApplicationSettings": "POST /update-application-settings", }, } as const satisfies ServiceMetadata; diff --git a/src/services/ssm-sap/types.ts b/src/services/ssm-sap/types.ts index e8439e7d..291ff2be 100644 --- a/src/services/ssm-sap/types.ts +++ b/src/services/ssm-sap/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SsmSap extends AWSServiceClient { @@ -42,19 +8,13 @@ export declare class SsmSap extends AWSServiceClient { input: DeleteResourcePermissionInput, ): Effect.Effect< DeleteResourcePermissionOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deregisterApplication( input: DeregisterApplicationInput, ): Effect.Effect< DeregisterApplicationOutput, - | InternalServerException - | UnauthorizedException - | ValidationException - | CommonAwsError + InternalServerException | UnauthorizedException | ValidationException | CommonAwsError >; getApplication( input: GetApplicationInput, @@ -66,10 +26,7 @@ export declare class SsmSap extends AWSServiceClient { input: GetComponentInput, ): Effect.Effect< GetComponentOutput, - | InternalServerException - | UnauthorizedException - | ValidationException - | CommonAwsError + InternalServerException | UnauthorizedException | ValidationException | CommonAwsError >; getConfigurationCheckOperation( input: GetConfigurationCheckOperationInput, @@ -93,29 +50,19 @@ export declare class SsmSap extends AWSServiceClient { input: GetResourcePermissionInput, ): Effect.Effect< GetResourcePermissionOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listApplications( input: ListApplicationsInput, ): Effect.Effect< ListApplicationsOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listComponents( input: ListComponentsInput, ): Effect.Effect< ListComponentsOutput, - | InternalServerException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; listConfigurationCheckDefinitions( input: ListConfigurationCheckDefinitionsInput, @@ -127,19 +74,13 @@ export declare class SsmSap extends AWSServiceClient { input: ListConfigurationCheckOperationsInput, ): Effect.Effect< ListConfigurationCheckOperationsOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listDatabases( input: ListDatabasesInput, ): Effect.Effect< ListDatabasesOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listOperationEvents( input: ListOperationEventsInput, @@ -169,107 +110,65 @@ export declare class SsmSap extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; putResourcePermission( input: PutResourcePermissionInput, ): Effect.Effect< PutResourcePermissionOutput, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; registerApplication( input: RegisterApplicationInput, ): Effect.Effect< RegisterApplicationOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startApplication( input: StartApplicationInput, ): Effect.Effect< StartApplicationOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startApplicationRefresh( input: StartApplicationRefreshInput, ): Effect.Effect< StartApplicationRefreshOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; startConfigurationChecks( input: StartConfigurationChecksInput, ): Effect.Effect< StartConfigurationChecksOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; stopApplication( input: StopApplicationInput, ): Effect.Effect< StopApplicationOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateApplicationSettings( input: UpdateApplicationSettingsInput, ): Effect.Effect< UpdateApplicationSettingsOutput, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError >; } -export type AllocationType = - | "VPC_SUBNET" - | "ELASTIC_IP" - | "OVERLAY" - | "UNKNOWN"; +export type AllocationType = "VPC_SUBNET" | "ELASTIC_IP" | "OVERLAY" | "UNKNOWN"; export interface Application { Id?: string; Type?: ApplicationType; @@ -289,23 +188,10 @@ export interface ApplicationCredential { SecretId: string; } export type ApplicationCredentialList = Array; -export type ApplicationDiscoveryStatus = - | "SUCCESS" - | "REGISTRATION_FAILED" - | "REFRESH_FAILED" - | "REGISTERING" - | "DELETING"; +export type ApplicationDiscoveryStatus = "SUCCESS" | "REGISTRATION_FAILED" | "REFRESH_FAILED" | "REGISTERING" | "DELETING"; export type ApplicationId = string; -export type ApplicationStatus = - | "ACTIVATED" - | "STARTING" - | "STOPPED" - | "STOPPING" - | "FAILED" - | "REGISTERING" - | "DELETING" - | "UNKNOWN"; +export type ApplicationStatus = "ACTIVATED" | "STARTING" | "STOPPED" | "STOPPING" | "FAILED" | "REGISTERING" | "DELETING" | "UNKNOWN"; export interface ApplicationSummary { Id?: string; DiscoveryStatus?: ApplicationDiscoveryStatus; @@ -331,12 +217,7 @@ export interface BackintConfig { EnsureNoBackupInProcess: boolean; } export type BackintMode = "AWSBackup"; -export type ClusterStatus = - | "ONLINE" - | "STANDBY" - | "MAINTENANCE" - | "OFFLINE" - | "NONE"; +export type ClusterStatus = "ONLINE" | "STANDBY" | "MAINTENANCE" | "OFFLINE" | "NONE"; export interface Component { ComponentId?: string; Sid?: string; @@ -369,14 +250,7 @@ export interface ComponentInfo { Ec2InstanceId: string; } export type ComponentInfoList = Array; -export type ComponentStatus = - | "ACTIVATED" - | "STARTING" - | "STOPPED" - | "STOPPING" - | "RUNNING" - | "RUNNING_WITH_ERROR" - | "UNDEFINED"; +export type ComponentStatus = "ACTIVATED" | "STARTING" | "STOPPED" | "STOPPING" | "RUNNING" | "RUNNING_WITH_ERROR" | "UNDEFINED"; export interface ComponentSummary { ApplicationId?: string; ComponentId?: string; @@ -385,23 +259,14 @@ export interface ComponentSummary { Arn?: string; } export type ComponentSummaryList = Array; -export type ComponentType = - | "HANA" - | "HANA_NODE" - | "ABAP" - | "ASCS" - | "DIALOG" - | "WEBDISP" - | "WD" - | "ERS"; +export type ComponentType = "HANA" | "HANA_NODE" | "ABAP" | "ASCS" | "DIALOG" | "WEBDISP" | "WD" | "ERS"; export interface ConfigurationCheckDefinition { Id?: ConfigurationCheckType; Name?: string; Description?: string; ApplicableApplicationTypes?: Array; } -export type ConfigurationCheckDefinitionList = - Array; +export type ConfigurationCheckDefinitionList = Array; export interface ConfigurationCheckOperation { Id?: string; ApplicationId?: string; @@ -414,15 +279,9 @@ export interface ConfigurationCheckOperation { EndTime?: Date | string; RuleStatusCounts?: RuleStatusCounts; } -export type ConfigurationCheckOperationList = - Array; -export type ConfigurationCheckOperationListingMode = - | "ALL_OPERATIONS" - | "LATEST_PER_CHECK"; -export type ConfigurationCheckType = - | "SAP_CHECK_01" - | "SAP_CHECK_02" - | "SAP_CHECK_03"; +export type ConfigurationCheckOperationList = Array; +export type ConfigurationCheckOperationListingMode = "ALL_OPERATIONS" | "LATEST_PER_CHECK"; +export type ConfigurationCheckType = "SAP_CHECK_01" | "SAP_CHECK_02" | "SAP_CHECK_03"; export type ConfigurationCheckTypeList = Array; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", @@ -456,13 +315,7 @@ export type DatabaseId = string; export type DatabaseIdList = Array; export type DatabaseName = string; -export type DatabaseStatus = - | "RUNNING" - | "STARTING" - | "STOPPED" - | "WARNING" - | "UNKNOWN" - | "ERROR"; +export type DatabaseStatus = "RUNNING" | "STARTING" | "STOPPED" | "WARNING" | "UNKNOWN" | "ERROR"; export interface DatabaseSummary { ApplicationId?: string; ComponentId?: string; @@ -484,7 +337,8 @@ export interface DeleteResourcePermissionOutput { export interface DeregisterApplicationInput { ApplicationId: string; } -export interface DeregisterApplicationOutput {} +export interface DeregisterApplicationOutput { +} export interface Filter { Name: string; Value: string; @@ -493,10 +347,7 @@ export interface Filter { export type FilterList = Array; export type FilterName = string; -export type FilterOperator = - | "Equals" - | "GreaterThanOrEquals" - | "LessThanOrEquals"; +export type FilterOperator = "Equals" | "GreaterThanOrEquals" | "LessThanOrEquals"; export type FilterValue = string; export interface GetApplicationInput { @@ -692,12 +543,7 @@ export type OperationId = string; export type OperationIdList = Array; export type OperationList = Array; -export type OperationMode = - | "PRIMARY" - | "LOGREPLAY" - | "DELTA_DATASHIPPING" - | "LOGREPLAY_READACCESS" - | "NONE"; +export type OperationMode = "PRIMARY" | "LOGREPLAY" | "DELTA_DATASHIPPING" | "LOGREPLAY_READACCESS" | "NONE"; export type OperationProperties = Record; export type OperationStatus = "INPROGRESS" | "SUCCESS" | "ERROR"; export type OperationType = string; @@ -762,12 +608,7 @@ export type RuleResultMetadataKey = string; export type RuleResultMetadataValue = string; -export type RuleResultStatus = - | "PASSED" - | "FAILED" - | "WARNING" - | "INFO" - | "UNKNOWN"; +export type RuleResultStatus = "PASSED" | "FAILED" | "WARNING" | "INFO" | "UNKNOWN"; export interface RuleStatusCounts { Failed?: number; Warning?: number; @@ -828,7 +669,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class UnauthorizedException extends EffectData.TaggedError( @@ -840,7 +682,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationSettingsInput { ApplicationId: string; CredentialsToAddOrUpdate?: Array; @@ -1127,10 +970,5 @@ export declare namespace UpdateApplicationSettings { | CommonAwsError; } -export type SsmSapErrors = - | ConflictException - | InternalServerException - | ResourceNotFoundException - | UnauthorizedException - | ValidationException - | CommonAwsError; +export type SsmSapErrors = ConflictException | InternalServerException | ResourceNotFoundException | UnauthorizedException | ValidationException | CommonAwsError; + diff --git a/src/services/ssm/index.ts b/src/services/ssm/index.ts index abf9ca1f..2c90ba74 100644 --- a/src/services/ssm/index.ts +++ b/src/services/ssm/index.ts @@ -5,23 +5,7 @@ import type { SSM as _SSMClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/ssm/types.ts b/src/services/ssm/types.ts index afda2d14..6a10cd89 100644 --- a/src/services/ssm/types.ts +++ b/src/services/ssm/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SSM extends AWSServiceClient { @@ -40,34 +8,19 @@ export declare class SSM extends AWSServiceClient { input: AddTagsToResourceRequest, ): Effect.Effect< AddTagsToResourceResult, - | InternalServerError - | InvalidResourceId - | InvalidResourceType - | TooManyTagsError - | TooManyUpdates - | CommonAwsError + InternalServerError | InvalidResourceId | InvalidResourceType | TooManyTagsError | TooManyUpdates | CommonAwsError >; associateOpsItemRelatedItem( input: AssociateOpsItemRelatedItemRequest, ): Effect.Effect< AssociateOpsItemRelatedItemResponse, - | InternalServerError - | OpsItemConflictException - | OpsItemInvalidParameterException - | OpsItemLimitExceededException - | OpsItemNotFoundException - | OpsItemRelatedItemAlreadyExistsException - | CommonAwsError + InternalServerError | OpsItemConflictException | OpsItemInvalidParameterException | OpsItemLimitExceededException | OpsItemNotFoundException | OpsItemRelatedItemAlreadyExistsException | CommonAwsError >; cancelCommand( input: CancelCommandRequest, ): Effect.Effect< CancelCommandResult, - | DuplicateInstanceId - | InternalServerError - | InvalidCommandId - | InvalidInstanceId - | CommonAwsError + DuplicateInstanceId | InternalServerError | InvalidCommandId | InvalidInstanceId | CommonAwsError >; cancelMaintenanceWindowExecution( input: CancelMaintenanceWindowExecutionRequest, @@ -85,144 +38,73 @@ export declare class SSM extends AWSServiceClient { input: CreateAssociationRequest, ): Effect.Effect< CreateAssociationResult, - | AssociationAlreadyExists - | AssociationLimitExceeded - | InternalServerError - | InvalidDocument - | InvalidDocumentVersion - | InvalidInstanceId - | InvalidOutputLocation - | InvalidParameters - | InvalidSchedule - | InvalidTag - | InvalidTarget - | InvalidTargetMaps - | UnsupportedPlatformType - | CommonAwsError + AssociationAlreadyExists | AssociationLimitExceeded | InternalServerError | InvalidDocument | InvalidDocumentVersion | InvalidInstanceId | InvalidOutputLocation | InvalidParameters | InvalidSchedule | InvalidTag | InvalidTarget | InvalidTargetMaps | UnsupportedPlatformType | CommonAwsError >; createAssociationBatch( input: CreateAssociationBatchRequest, ): Effect.Effect< CreateAssociationBatchResult, - | AssociationLimitExceeded - | DuplicateInstanceId - | InternalServerError - | InvalidDocument - | InvalidDocumentVersion - | InvalidInstanceId - | InvalidOutputLocation - | InvalidParameters - | InvalidSchedule - | InvalidTarget - | InvalidTargetMaps - | UnsupportedPlatformType - | CommonAwsError + AssociationLimitExceeded | DuplicateInstanceId | InternalServerError | InvalidDocument | InvalidDocumentVersion | InvalidInstanceId | InvalidOutputLocation | InvalidParameters | InvalidSchedule | InvalidTarget | InvalidTargetMaps | UnsupportedPlatformType | CommonAwsError >; createDocument( input: CreateDocumentRequest, ): Effect.Effect< CreateDocumentResult, - | DocumentAlreadyExists - | DocumentLimitExceeded - | InternalServerError - | InvalidDocumentContent - | InvalidDocumentSchemaVersion - | MaxDocumentSizeExceeded - | TooManyUpdates - | CommonAwsError + DocumentAlreadyExists | DocumentLimitExceeded | InternalServerError | InvalidDocumentContent | InvalidDocumentSchemaVersion | MaxDocumentSizeExceeded | TooManyUpdates | CommonAwsError >; createMaintenanceWindow( input: CreateMaintenanceWindowRequest, ): Effect.Effect< CreateMaintenanceWindowResult, - | IdempotentParameterMismatch - | InternalServerError - | ResourceLimitExceededException - | CommonAwsError + IdempotentParameterMismatch | InternalServerError | ResourceLimitExceededException | CommonAwsError >; createOpsItem( input: CreateOpsItemRequest, ): Effect.Effect< CreateOpsItemResponse, - | InternalServerError - | OpsItemAccessDeniedException - | OpsItemAlreadyExistsException - | OpsItemInvalidParameterException - | OpsItemLimitExceededException - | CommonAwsError + InternalServerError | OpsItemAccessDeniedException | OpsItemAlreadyExistsException | OpsItemInvalidParameterException | OpsItemLimitExceededException | CommonAwsError >; createOpsMetadata( input: CreateOpsMetadataRequest, ): Effect.Effect< CreateOpsMetadataResult, - | InternalServerError - | OpsMetadataAlreadyExistsException - | OpsMetadataInvalidArgumentException - | OpsMetadataLimitExceededException - | OpsMetadataTooManyUpdatesException - | CommonAwsError + InternalServerError | OpsMetadataAlreadyExistsException | OpsMetadataInvalidArgumentException | OpsMetadataLimitExceededException | OpsMetadataTooManyUpdatesException | CommonAwsError >; createPatchBaseline( input: CreatePatchBaselineRequest, ): Effect.Effect< CreatePatchBaselineResult, - | IdempotentParameterMismatch - | InternalServerError - | ResourceLimitExceededException - | CommonAwsError + IdempotentParameterMismatch | InternalServerError | ResourceLimitExceededException | CommonAwsError >; createResourceDataSync( input: CreateResourceDataSyncRequest, ): Effect.Effect< CreateResourceDataSyncResult, - | InternalServerError - | ResourceDataSyncAlreadyExistsException - | ResourceDataSyncCountExceededException - | ResourceDataSyncInvalidConfigurationException - | CommonAwsError + InternalServerError | ResourceDataSyncAlreadyExistsException | ResourceDataSyncCountExceededException | ResourceDataSyncInvalidConfigurationException | CommonAwsError >; deleteActivation( input: DeleteActivationRequest, ): Effect.Effect< DeleteActivationResult, - | InternalServerError - | InvalidActivation - | InvalidActivationId - | TooManyUpdates - | CommonAwsError + InternalServerError | InvalidActivation | InvalidActivationId | TooManyUpdates | CommonAwsError >; deleteAssociation( input: DeleteAssociationRequest, ): Effect.Effect< DeleteAssociationResult, - | AssociationDoesNotExist - | InternalServerError - | InvalidDocument - | InvalidInstanceId - | TooManyUpdates - | CommonAwsError + AssociationDoesNotExist | InternalServerError | InvalidDocument | InvalidInstanceId | TooManyUpdates | CommonAwsError >; deleteDocument( input: DeleteDocumentRequest, ): Effect.Effect< DeleteDocumentResult, - | AssociatedInstances - | InternalServerError - | InvalidDocument - | InvalidDocumentOperation - | TooManyUpdates - | CommonAwsError + AssociatedInstances | InternalServerError | InvalidDocument | InvalidDocumentOperation | TooManyUpdates | CommonAwsError >; deleteInventory( input: DeleteInventoryRequest, ): Effect.Effect< DeleteInventoryResult, - | InternalServerError - | InvalidDeleteInventoryParametersException - | InvalidInventoryRequestException - | InvalidOptionException - | InvalidTypeNameException - | CommonAwsError + InternalServerError | InvalidDeleteInventoryParametersException | InvalidInventoryRequestException | InvalidOptionException | InvalidTypeNameException | CommonAwsError >; deleteMaintenanceWindow( input: DeleteMaintenanceWindowRequest, @@ -240,10 +122,7 @@ export declare class SSM extends AWSServiceClient { input: DeleteOpsMetadataRequest, ): Effect.Effect< DeleteOpsMetadataResult, - | InternalServerError - | OpsMetadataInvalidArgumentException - | OpsMetadataNotFoundException - | CommonAwsError + InternalServerError | OpsMetadataInvalidArgumentException | OpsMetadataNotFoundException | CommonAwsError >; deleteParameter( input: DeleteParameterRequest, @@ -267,22 +146,13 @@ export declare class SSM extends AWSServiceClient { input: DeleteResourceDataSyncRequest, ): Effect.Effect< DeleteResourceDataSyncResult, - | InternalServerError - | ResourceDataSyncInvalidConfigurationException - | ResourceDataSyncNotFoundException - | CommonAwsError + InternalServerError | ResourceDataSyncInvalidConfigurationException | ResourceDataSyncNotFoundException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | InternalServerError - | MalformedResourcePolicyDocumentException - | ResourceNotFoundException - | ResourcePolicyConflictException - | ResourcePolicyInvalidParameterException - | ResourcePolicyNotFoundException - | CommonAwsError + InternalServerError | MalformedResourcePolicyDocumentException | ResourceNotFoundException | ResourcePolicyConflictException | ResourcePolicyInvalidParameterException | ResourcePolicyNotFoundException | CommonAwsError >; deregisterManagedInstance( input: DeregisterManagedInstanceRequest, @@ -300,10 +170,7 @@ export declare class SSM extends AWSServiceClient { input: DeregisterTargetFromMaintenanceWindowRequest, ): Effect.Effect< DeregisterTargetFromMaintenanceWindowResult, - | DoesNotExistException - | InternalServerError - | TargetInUseException - | CommonAwsError + DoesNotExistException | InternalServerError | TargetInUseException | CommonAwsError >; deregisterTaskFromMaintenanceWindow( input: DeregisterTaskFromMaintenanceWindowRequest, @@ -321,52 +188,31 @@ export declare class SSM extends AWSServiceClient { input: DescribeAssociationRequest, ): Effect.Effect< DescribeAssociationResult, - | AssociationDoesNotExist - | InternalServerError - | InvalidAssociationVersion - | InvalidDocument - | InvalidInstanceId - | CommonAwsError + AssociationDoesNotExist | InternalServerError | InvalidAssociationVersion | InvalidDocument | InvalidInstanceId | CommonAwsError >; describeAssociationExecutions( input: DescribeAssociationExecutionsRequest, ): Effect.Effect< DescribeAssociationExecutionsResult, - | AssociationDoesNotExist - | InternalServerError - | InvalidNextToken - | CommonAwsError + AssociationDoesNotExist | InternalServerError | InvalidNextToken | CommonAwsError >; describeAssociationExecutionTargets( input: DescribeAssociationExecutionTargetsRequest, ): Effect.Effect< DescribeAssociationExecutionTargetsResult, - | AssociationDoesNotExist - | AssociationExecutionDoesNotExist - | InternalServerError - | InvalidNextToken - | CommonAwsError + AssociationDoesNotExist | AssociationExecutionDoesNotExist | InternalServerError | InvalidNextToken | CommonAwsError >; describeAutomationExecutions( input: DescribeAutomationExecutionsRequest, ): Effect.Effect< DescribeAutomationExecutionsResult, - | InternalServerError - | InvalidFilterKey - | InvalidFilterValue - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidFilterKey | InvalidFilterValue | InvalidNextToken | CommonAwsError >; describeAutomationStepExecutions( input: DescribeAutomationStepExecutionsRequest, ): Effect.Effect< DescribeAutomationStepExecutionsResult, - | AutomationExecutionNotFoundException - | InternalServerError - | InvalidFilterKey - | InvalidFilterValue - | InvalidNextToken - | CommonAwsError + AutomationExecutionNotFoundException | InternalServerError | InvalidFilterKey | InvalidFilterValue | InvalidNextToken | CommonAwsError >; describeAvailablePatches( input: DescribeAvailablePatchesRequest, @@ -378,21 +224,13 @@ export declare class SSM extends AWSServiceClient { input: DescribeDocumentRequest, ): Effect.Effect< DescribeDocumentResult, - | InternalServerError - | InvalidDocument - | InvalidDocumentVersion - | CommonAwsError + InternalServerError | InvalidDocument | InvalidDocumentVersion | CommonAwsError >; describeDocumentPermission( input: DescribeDocumentPermissionRequest, ): Effect.Effect< DescribeDocumentPermissionResponse, - | InternalServerError - | InvalidDocument - | InvalidDocumentOperation - | InvalidNextToken - | InvalidPermissionType - | CommonAwsError + InternalServerError | InvalidDocument | InvalidDocumentOperation | InvalidNextToken | InvalidPermissionType | CommonAwsError >; describeEffectiveInstanceAssociations( input: DescribeEffectiveInstanceAssociationsRequest, @@ -404,11 +242,7 @@ export declare class SSM extends AWSServiceClient { input: DescribeEffectivePatchesForPatchBaselineRequest, ): Effect.Effect< DescribeEffectivePatchesForPatchBaselineResult, - | DoesNotExistException - | InternalServerError - | InvalidResourceId - | UnsupportedOperatingSystem - | CommonAwsError + DoesNotExistException | InternalServerError | InvalidResourceId | UnsupportedOperatingSystem | CommonAwsError >; describeInstanceAssociationsStatus( input: DescribeInstanceAssociationsStatusRequest, @@ -420,22 +254,13 @@ export declare class SSM extends AWSServiceClient { input: DescribeInstanceInformationRequest, ): Effect.Effect< DescribeInstanceInformationResult, - | InternalServerError - | InvalidFilterKey - | InvalidInstanceId - | InvalidInstanceInformationFilterValue - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidFilterKey | InvalidInstanceId | InvalidInstanceInformationFilterValue | InvalidNextToken | CommonAwsError >; describeInstancePatches( input: DescribeInstancePatchesRequest, ): Effect.Effect< DescribeInstancePatchesResult, - | InternalServerError - | InvalidFilter - | InvalidInstanceId - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidFilter | InvalidInstanceId | InvalidNextToken | CommonAwsError >; describeInstancePatchStates( input: DescribeInstancePatchStatesRequest, @@ -453,23 +278,13 @@ export declare class SSM extends AWSServiceClient { input: DescribeInstancePropertiesRequest, ): Effect.Effect< DescribeInstancePropertiesResult, - | InternalServerError - | InvalidActivationId - | InvalidDocument - | InvalidFilterKey - | InvalidInstanceId - | InvalidInstancePropertyFilterValue - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidActivationId | InvalidDocument | InvalidFilterKey | InvalidInstanceId | InvalidInstancePropertyFilterValue | InvalidNextToken | CommonAwsError >; describeInventoryDeletions( input: DescribeInventoryDeletionsRequest, ): Effect.Effect< DescribeInventoryDeletionsResult, - | InternalServerError - | InvalidDeletionIdException - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidDeletionIdException | InvalidNextToken | CommonAwsError >; describeMaintenanceWindowExecutions( input: DescribeMaintenanceWindowExecutionsRequest, @@ -529,12 +344,7 @@ export declare class SSM extends AWSServiceClient { input: DescribeParametersRequest, ): Effect.Effect< DescribeParametersResult, - | InternalServerError - | InvalidFilterKey - | InvalidFilterOption - | InvalidFilterValue - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidFilterKey | InvalidFilterOption | InvalidFilterValue | InvalidNextToken | CommonAwsError >; describePatchBaselines( input: DescribePatchBaselinesRequest, @@ -570,23 +380,13 @@ export declare class SSM extends AWSServiceClient { input: DisassociateOpsItemRelatedItemRequest, ): Effect.Effect< DisassociateOpsItemRelatedItemResponse, - | InternalServerError - | OpsItemConflictException - | OpsItemInvalidParameterException - | OpsItemNotFoundException - | OpsItemRelatedItemAssociationNotFoundException - | CommonAwsError + InternalServerError | OpsItemConflictException | OpsItemInvalidParameterException | OpsItemNotFoundException | OpsItemRelatedItemAssociationNotFoundException | CommonAwsError >; getAccessToken( input: GetAccessTokenRequest, ): Effect.Effect< GetAccessTokenResponse, - | AccessDeniedException - | InternalServerError - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerError | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAutomationExecution( input: GetAutomationExecutionRequest, @@ -598,22 +398,13 @@ export declare class SSM extends AWSServiceClient { input: GetCalendarStateRequest, ): Effect.Effect< GetCalendarStateResponse, - | InternalServerError - | InvalidDocument - | InvalidDocumentType - | UnsupportedCalendarException - | CommonAwsError + InternalServerError | InvalidDocument | InvalidDocumentType | UnsupportedCalendarException | CommonAwsError >; getCommandInvocation( input: GetCommandInvocationRequest, ): Effect.Effect< GetCommandInvocationResult, - | InternalServerError - | InvalidCommandId - | InvalidInstanceId - | InvalidPluginName - | InvocationDoesNotExist - | CommonAwsError + InternalServerError | InvalidCommandId | InvalidInstanceId | InvalidPluginName | InvocationDoesNotExist | CommonAwsError >; getConnectionStatus( input: GetConnectionStatusRequest, @@ -631,19 +422,13 @@ export declare class SSM extends AWSServiceClient { input: GetDeployablePatchSnapshotForInstanceRequest, ): Effect.Effect< GetDeployablePatchSnapshotForInstanceResult, - | InternalServerError - | UnsupportedFeatureRequiredException - | UnsupportedOperatingSystem - | CommonAwsError + InternalServerError | UnsupportedFeatureRequiredException | UnsupportedOperatingSystem | CommonAwsError >; getDocument( input: GetDocumentRequest, ): Effect.Effect< GetDocumentResult, - | InternalServerError - | InvalidDocument - | InvalidDocumentVersion - | CommonAwsError + InternalServerError | InvalidDocument | InvalidDocumentVersion | CommonAwsError >; getExecutionPreview( input: GetExecutionPreviewRequest, @@ -655,23 +440,13 @@ export declare class SSM extends AWSServiceClient { input: GetInventoryRequest, ): Effect.Effect< GetInventoryResult, - | InternalServerError - | InvalidAggregatorException - | InvalidFilter - | InvalidInventoryGroupException - | InvalidNextToken - | InvalidResultAttributeException - | InvalidTypeNameException - | CommonAwsError + InternalServerError | InvalidAggregatorException | InvalidFilter | InvalidInventoryGroupException | InvalidNextToken | InvalidResultAttributeException | InvalidTypeNameException | CommonAwsError >; getInventorySchema( input: GetInventorySchemaRequest, ): Effect.Effect< GetInventorySchemaResult, - | InternalServerError - | InvalidNextToken - | InvalidTypeNameException - | CommonAwsError + InternalServerError | InvalidNextToken | InvalidTypeNameException | CommonAwsError >; getMaintenanceWindow( input: GetMaintenanceWindowRequest, @@ -707,51 +482,31 @@ export declare class SSM extends AWSServiceClient { input: GetOpsItemRequest, ): Effect.Effect< GetOpsItemResponse, - | InternalServerError - | OpsItemAccessDeniedException - | OpsItemNotFoundException - | CommonAwsError + InternalServerError | OpsItemAccessDeniedException | OpsItemNotFoundException | CommonAwsError >; getOpsMetadata( input: GetOpsMetadataRequest, ): Effect.Effect< GetOpsMetadataResult, - | InternalServerError - | OpsMetadataInvalidArgumentException - | OpsMetadataNotFoundException - | CommonAwsError + InternalServerError | OpsMetadataInvalidArgumentException | OpsMetadataNotFoundException | CommonAwsError >; getOpsSummary( input: GetOpsSummaryRequest, ): Effect.Effect< GetOpsSummaryResult, - | InternalServerError - | InvalidAggregatorException - | InvalidFilter - | InvalidNextToken - | InvalidTypeNameException - | ResourceDataSyncNotFoundException - | CommonAwsError + InternalServerError | InvalidAggregatorException | InvalidFilter | InvalidNextToken | InvalidTypeNameException | ResourceDataSyncNotFoundException | CommonAwsError >; getParameter( input: GetParameterRequest, ): Effect.Effect< GetParameterResult, - | InternalServerError - | InvalidKeyId - | ParameterNotFound - | ParameterVersionNotFound - | CommonAwsError + InternalServerError | InvalidKeyId | ParameterNotFound | ParameterVersionNotFound | CommonAwsError >; getParameterHistory( input: GetParameterHistoryRequest, ): Effect.Effect< GetParameterHistoryResult, - | InternalServerError - | InvalidKeyId - | InvalidNextToken - | ParameterNotFound - | CommonAwsError + InternalServerError | InvalidKeyId | InvalidNextToken | ParameterNotFound | CommonAwsError >; getParameters( input: GetParametersRequest, @@ -763,22 +518,13 @@ export declare class SSM extends AWSServiceClient { input: GetParametersByPathRequest, ): Effect.Effect< GetParametersByPathResult, - | InternalServerError - | InvalidFilterKey - | InvalidFilterOption - | InvalidFilterValue - | InvalidKeyId - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidFilterKey | InvalidFilterOption | InvalidFilterValue | InvalidKeyId | InvalidNextToken | CommonAwsError >; getPatchBaseline( input: GetPatchBaselineRequest, ): Effect.Effect< GetPatchBaselineResult, - | DoesNotExistException - | InternalServerError - | InvalidResourceId - | CommonAwsError + DoesNotExistException | InternalServerError | InvalidResourceId | CommonAwsError >; getPatchBaselineForPatchGroup( input: GetPatchBaselineForPatchGroupRequest, @@ -790,10 +536,7 @@ export declare class SSM extends AWSServiceClient { input: GetResourcePoliciesRequest, ): Effect.Effect< GetResourcePoliciesResponse, - | InternalServerError - | ResourceNotFoundException - | ResourcePolicyInvalidParameterException - | CommonAwsError + InternalServerError | ResourceNotFoundException | ResourcePolicyInvalidParameterException | CommonAwsError >; getServiceSetting( input: GetServiceSettingRequest, @@ -805,12 +548,7 @@ export declare class SSM extends AWSServiceClient { input: LabelParameterVersionRequest, ): Effect.Effect< LabelParameterVersionResult, - | InternalServerError - | ParameterNotFound - | ParameterVersionLabelLimitExceeded - | ParameterVersionNotFound - | TooManyUpdates - | CommonAwsError + InternalServerError | ParameterNotFound | ParameterVersionLabelLimitExceeded | ParameterVersionNotFound | TooManyUpdates | CommonAwsError >; listAssociations( input: ListAssociationsRequest, @@ -822,43 +560,25 @@ export declare class SSM extends AWSServiceClient { input: ListAssociationVersionsRequest, ): Effect.Effect< ListAssociationVersionsResult, - | AssociationDoesNotExist - | InternalServerError - | InvalidNextToken - | CommonAwsError + AssociationDoesNotExist | InternalServerError | InvalidNextToken | CommonAwsError >; listCommandInvocations( input: ListCommandInvocationsRequest, ): Effect.Effect< ListCommandInvocationsResult, - | InternalServerError - | InvalidCommandId - | InvalidFilterKey - | InvalidInstanceId - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidCommandId | InvalidFilterKey | InvalidInstanceId | InvalidNextToken | CommonAwsError >; listCommands( input: ListCommandsRequest, ): Effect.Effect< ListCommandsResult, - | InternalServerError - | InvalidCommandId - | InvalidFilterKey - | InvalidInstanceId - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidCommandId | InvalidFilterKey | InvalidInstanceId | InvalidNextToken | CommonAwsError >; listComplianceItems( input: ListComplianceItemsRequest, ): Effect.Effect< ListComplianceItemsResult, - | InternalServerError - | InvalidFilter - | InvalidNextToken - | InvalidResourceId - | InvalidResourceType - | CommonAwsError + InternalServerError | InvalidFilter | InvalidNextToken | InvalidResourceId | InvalidResourceType | CommonAwsError >; listComplianceSummaries( input: ListComplianceSummariesRequest, @@ -870,11 +590,7 @@ export declare class SSM extends AWSServiceClient { input: ListDocumentMetadataHistoryRequest, ): Effect.Effect< ListDocumentMetadataHistoryResponse, - | InternalServerError - | InvalidDocument - | InvalidDocumentVersion - | InvalidNextToken - | CommonAwsError + InternalServerError | InvalidDocument | InvalidDocumentVersion | InvalidNextToken | CommonAwsError >; listDocuments( input: ListDocumentsRequest, @@ -892,45 +608,25 @@ export declare class SSM extends AWSServiceClient { input: ListInventoryEntriesRequest, ): Effect.Effect< ListInventoryEntriesResult, - | InternalServerError - | InvalidFilter - | InvalidInstanceId - | InvalidNextToken - | InvalidTypeNameException - | CommonAwsError + InternalServerError | InvalidFilter | InvalidInstanceId | InvalidNextToken | InvalidTypeNameException | CommonAwsError >; listNodes( input: ListNodesRequest, ): Effect.Effect< ListNodesResult, - | InternalServerError - | InvalidFilter - | InvalidNextToken - | ResourceDataSyncNotFoundException - | UnsupportedOperationException - | CommonAwsError + InternalServerError | InvalidFilter | InvalidNextToken | ResourceDataSyncNotFoundException | UnsupportedOperationException | CommonAwsError >; listNodesSummary( input: ListNodesSummaryRequest, ): Effect.Effect< ListNodesSummaryResult, - | InternalServerError - | InvalidAggregatorException - | InvalidFilter - | InvalidNextToken - | ResourceDataSyncNotFoundException - | UnsupportedOperationException - | CommonAwsError + InternalServerError | InvalidAggregatorException | InvalidFilter | InvalidNextToken | ResourceDataSyncNotFoundException | UnsupportedOperationException | CommonAwsError >; listOpsItemEvents( input: ListOpsItemEventsRequest, ): Effect.Effect< ListOpsItemEventsResponse, - | InternalServerError - | OpsItemInvalidParameterException - | OpsItemLimitExceededException - | OpsItemNotFoundException - | CommonAwsError + InternalServerError | OpsItemInvalidParameterException | OpsItemLimitExceededException | OpsItemNotFoundException | CommonAwsError >; listOpsItemRelatedItems( input: ListOpsItemRelatedItemsRequest, @@ -954,155 +650,79 @@ export declare class SSM extends AWSServiceClient { input: ListResourceDataSyncRequest, ): Effect.Effect< ListResourceDataSyncResult, - | InternalServerError - | InvalidNextToken - | ResourceDataSyncInvalidConfigurationException - | CommonAwsError + InternalServerError | InvalidNextToken | ResourceDataSyncInvalidConfigurationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResult, - | InternalServerError - | InvalidResourceId - | InvalidResourceType - | CommonAwsError + InternalServerError | InvalidResourceId | InvalidResourceType | CommonAwsError >; modifyDocumentPermission( input: ModifyDocumentPermissionRequest, ): Effect.Effect< ModifyDocumentPermissionResponse, - | DocumentLimitExceeded - | DocumentPermissionLimit - | InternalServerError - | InvalidDocument - | InvalidPermissionType - | CommonAwsError + DocumentLimitExceeded | DocumentPermissionLimit | InternalServerError | InvalidDocument | InvalidPermissionType | CommonAwsError >; putComplianceItems( input: PutComplianceItemsRequest, ): Effect.Effect< PutComplianceItemsResult, - | ComplianceTypeCountLimitExceededException - | InternalServerError - | InvalidItemContentException - | InvalidResourceId - | InvalidResourceType - | ItemSizeLimitExceededException - | TotalSizeLimitExceededException - | CommonAwsError + ComplianceTypeCountLimitExceededException | InternalServerError | InvalidItemContentException | InvalidResourceId | InvalidResourceType | ItemSizeLimitExceededException | TotalSizeLimitExceededException | CommonAwsError >; putInventory( input: PutInventoryRequest, ): Effect.Effect< PutInventoryResult, - | CustomSchemaCountLimitExceededException - | InternalServerError - | InvalidInstanceId - | InvalidInventoryItemContextException - | InvalidItemContentException - | InvalidTypeNameException - | ItemContentMismatchException - | ItemSizeLimitExceededException - | SubTypeCountLimitExceededException - | TotalSizeLimitExceededException - | UnsupportedInventoryItemContextException - | UnsupportedInventorySchemaVersionException - | CommonAwsError + CustomSchemaCountLimitExceededException | InternalServerError | InvalidInstanceId | InvalidInventoryItemContextException | InvalidItemContentException | InvalidTypeNameException | ItemContentMismatchException | ItemSizeLimitExceededException | SubTypeCountLimitExceededException | TotalSizeLimitExceededException | UnsupportedInventoryItemContextException | UnsupportedInventorySchemaVersionException | CommonAwsError >; putParameter( input: PutParameterRequest, ): Effect.Effect< PutParameterResult, - | HierarchyLevelLimitExceededException - | HierarchyTypeMismatchException - | IncompatiblePolicyException - | InternalServerError - | InvalidAllowedPatternException - | InvalidKeyId - | InvalidPolicyAttributeException - | InvalidPolicyTypeException - | ParameterAlreadyExists - | ParameterLimitExceeded - | ParameterMaxVersionLimitExceeded - | ParameterPatternMismatchException - | PoliciesLimitExceededException - | TooManyUpdates - | UnsupportedParameterType - | CommonAwsError + HierarchyLevelLimitExceededException | HierarchyTypeMismatchException | IncompatiblePolicyException | InternalServerError | InvalidAllowedPatternException | InvalidKeyId | InvalidPolicyAttributeException | InvalidPolicyTypeException | ParameterAlreadyExists | ParameterLimitExceeded | ParameterMaxVersionLimitExceeded | ParameterPatternMismatchException | PoliciesLimitExceededException | TooManyUpdates | UnsupportedParameterType | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | InternalServerError - | MalformedResourcePolicyDocumentException - | ResourceNotFoundException - | ResourcePolicyConflictException - | ResourcePolicyInvalidParameterException - | ResourcePolicyLimitExceededException - | ResourcePolicyNotFoundException - | CommonAwsError + InternalServerError | MalformedResourcePolicyDocumentException | ResourceNotFoundException | ResourcePolicyConflictException | ResourcePolicyInvalidParameterException | ResourcePolicyLimitExceededException | ResourcePolicyNotFoundException | CommonAwsError >; registerDefaultPatchBaseline( input: RegisterDefaultPatchBaselineRequest, ): Effect.Effect< RegisterDefaultPatchBaselineResult, - | DoesNotExistException - | InternalServerError - | InvalidResourceId - | CommonAwsError + DoesNotExistException | InternalServerError | InvalidResourceId | CommonAwsError >; registerPatchBaselineForPatchGroup( input: RegisterPatchBaselineForPatchGroupRequest, - ): Effect.Effect< - RegisterPatchBaselineForPatchGroupResult, - | AlreadyExistsException - | DoesNotExistException - | InternalServerError - | InvalidResourceId - | ResourceLimitExceededException - | CommonAwsError + ): Effect.Effect< + RegisterPatchBaselineForPatchGroupResult, + AlreadyExistsException | DoesNotExistException | InternalServerError | InvalidResourceId | ResourceLimitExceededException | CommonAwsError >; registerTargetWithMaintenanceWindow( input: RegisterTargetWithMaintenanceWindowRequest, ): Effect.Effect< RegisterTargetWithMaintenanceWindowResult, - | DoesNotExistException - | IdempotentParameterMismatch - | InternalServerError - | ResourceLimitExceededException - | CommonAwsError + DoesNotExistException | IdempotentParameterMismatch | InternalServerError | ResourceLimitExceededException | CommonAwsError >; registerTaskWithMaintenanceWindow( input: RegisterTaskWithMaintenanceWindowRequest, ): Effect.Effect< RegisterTaskWithMaintenanceWindowResult, - | DoesNotExistException - | FeatureNotAvailableException - | IdempotentParameterMismatch - | InternalServerError - | ResourceLimitExceededException - | CommonAwsError + DoesNotExistException | FeatureNotAvailableException | IdempotentParameterMismatch | InternalServerError | ResourceLimitExceededException | CommonAwsError >; removeTagsFromResource( input: RemoveTagsFromResourceRequest, ): Effect.Effect< RemoveTagsFromResourceResult, - | InternalServerError - | InvalidResourceId - | InvalidResourceType - | TooManyUpdates - | CommonAwsError + InternalServerError | InvalidResourceId | InvalidResourceType | TooManyUpdates | CommonAwsError >; resetServiceSetting( input: ResetServiceSettingRequest, ): Effect.Effect< ResetServiceSettingResult, - | InternalServerError - | ServiceSettingNotFound - | TooManyUpdates - | CommonAwsError + InternalServerError | ServiceSettingNotFound | TooManyUpdates | CommonAwsError >; resumeSession( input: ResumeSessionRequest, @@ -1114,40 +734,19 @@ export declare class SSM extends AWSServiceClient { input: SendAutomationSignalRequest, ): Effect.Effect< SendAutomationSignalResult, - | AutomationExecutionNotFoundException - | AutomationStepNotFoundException - | InternalServerError - | InvalidAutomationSignalException - | CommonAwsError + AutomationExecutionNotFoundException | AutomationStepNotFoundException | InternalServerError | InvalidAutomationSignalException | CommonAwsError >; sendCommand( input: SendCommandRequest, ): Effect.Effect< SendCommandResult, - | DuplicateInstanceId - | InternalServerError - | InvalidDocument - | InvalidDocumentVersion - | InvalidInstanceId - | InvalidNotificationConfig - | InvalidOutputFolder - | InvalidParameters - | InvalidRole - | MaxDocumentSizeExceeded - | UnsupportedPlatformType - | CommonAwsError + DuplicateInstanceId | InternalServerError | InvalidDocument | InvalidDocumentVersion | InvalidInstanceId | InvalidNotificationConfig | InvalidOutputFolder | InvalidParameters | InvalidRole | MaxDocumentSizeExceeded | UnsupportedPlatformType | CommonAwsError >; startAccessRequest( input: StartAccessRequestRequest, ): Effect.Effect< StartAccessRequestResponse, - | AccessDeniedException - | InternalServerError - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerError | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startAssociationsOnce( input: StartAssociationsOnceRequest, @@ -1159,27 +758,13 @@ export declare class SSM extends AWSServiceClient { input: StartAutomationExecutionRequest, ): Effect.Effect< StartAutomationExecutionResult, - | AutomationDefinitionNotFoundException - | AutomationDefinitionVersionNotFoundException - | AutomationExecutionLimitExceededException - | IdempotentParameterMismatch - | InternalServerError - | InvalidAutomationExecutionParametersException - | InvalidTarget - | CommonAwsError + AutomationDefinitionNotFoundException | AutomationDefinitionVersionNotFoundException | AutomationExecutionLimitExceededException | IdempotentParameterMismatch | InternalServerError | InvalidAutomationExecutionParametersException | InvalidTarget | CommonAwsError >; startChangeRequestExecution( input: StartChangeRequestExecutionRequest, ): Effect.Effect< StartChangeRequestExecutionResult, - | AutomationDefinitionNotApprovedException - | AutomationDefinitionNotFoundException - | AutomationDefinitionVersionNotFoundException - | AutomationExecutionLimitExceededException - | IdempotentParameterMismatch - | InternalServerError - | InvalidAutomationExecutionParametersException - | CommonAwsError + AutomationDefinitionNotApprovedException | AutomationDefinitionNotFoundException | AutomationDefinitionVersionNotFoundException | AutomationExecutionLimitExceededException | IdempotentParameterMismatch | InternalServerError | InvalidAutomationExecutionParametersException | CommonAwsError >; startExecutionPreview( input: StartExecutionPreviewRequest, @@ -1197,10 +782,7 @@ export declare class SSM extends AWSServiceClient { input: StopAutomationExecutionRequest, ): Effect.Effect< StopAutomationExecutionResult, - | AutomationExecutionNotFoundException - | InternalServerError - | InvalidAutomationStatusUpdateException - | CommonAwsError + AutomationExecutionNotFoundException | InternalServerError | InvalidAutomationStatusUpdateException | CommonAwsError >; terminateSession( input: TerminateSessionRequest, @@ -1212,79 +794,37 @@ export declare class SSM extends AWSServiceClient { input: UnlabelParameterVersionRequest, ): Effect.Effect< UnlabelParameterVersionResult, - | InternalServerError - | ParameterNotFound - | ParameterVersionNotFound - | TooManyUpdates - | CommonAwsError + InternalServerError | ParameterNotFound | ParameterVersionNotFound | TooManyUpdates | CommonAwsError >; updateAssociation( input: UpdateAssociationRequest, ): Effect.Effect< UpdateAssociationResult, - | AssociationDoesNotExist - | AssociationVersionLimitExceeded - | InternalServerError - | InvalidAssociationVersion - | InvalidDocument - | InvalidDocumentVersion - | InvalidOutputLocation - | InvalidParameters - | InvalidSchedule - | InvalidTarget - | InvalidTargetMaps - | InvalidUpdate - | TooManyUpdates - | CommonAwsError + AssociationDoesNotExist | AssociationVersionLimitExceeded | InternalServerError | InvalidAssociationVersion | InvalidDocument | InvalidDocumentVersion | InvalidOutputLocation | InvalidParameters | InvalidSchedule | InvalidTarget | InvalidTargetMaps | InvalidUpdate | TooManyUpdates | CommonAwsError >; updateAssociationStatus( input: UpdateAssociationStatusRequest, ): Effect.Effect< UpdateAssociationStatusResult, - | AssociationDoesNotExist - | InternalServerError - | InvalidDocument - | InvalidInstanceId - | StatusUnchanged - | TooManyUpdates - | CommonAwsError + AssociationDoesNotExist | InternalServerError | InvalidDocument | InvalidInstanceId | StatusUnchanged | TooManyUpdates | CommonAwsError >; updateDocument( input: UpdateDocumentRequest, ): Effect.Effect< UpdateDocumentResult, - | DocumentVersionLimitExceeded - | DuplicateDocumentContent - | DuplicateDocumentVersionName - | InternalServerError - | InvalidDocument - | InvalidDocumentContent - | InvalidDocumentOperation - | InvalidDocumentSchemaVersion - | InvalidDocumentVersion - | MaxDocumentSizeExceeded - | CommonAwsError + DocumentVersionLimitExceeded | DuplicateDocumentContent | DuplicateDocumentVersionName | InternalServerError | InvalidDocument | InvalidDocumentContent | InvalidDocumentOperation | InvalidDocumentSchemaVersion | InvalidDocumentVersion | MaxDocumentSizeExceeded | CommonAwsError >; updateDocumentDefaultVersion( input: UpdateDocumentDefaultVersionRequest, ): Effect.Effect< UpdateDocumentDefaultVersionResult, - | InternalServerError - | InvalidDocument - | InvalidDocumentSchemaVersion - | InvalidDocumentVersion - | CommonAwsError + InternalServerError | InvalidDocument | InvalidDocumentSchemaVersion | InvalidDocumentVersion | CommonAwsError >; updateDocumentMetadata( input: UpdateDocumentMetadataRequest, ): Effect.Effect< UpdateDocumentMetadataResponse, - | InternalServerError - | InvalidDocument - | InvalidDocumentOperation - | InvalidDocumentVersion - | TooManyUpdates - | CommonAwsError + InternalServerError | InvalidDocument | InvalidDocumentOperation | InvalidDocumentVersion | TooManyUpdates | CommonAwsError >; updateMaintenanceWindow( input: UpdateMaintenanceWindowRequest, @@ -1314,25 +854,13 @@ export declare class SSM extends AWSServiceClient { input: UpdateOpsItemRequest, ): Effect.Effect< UpdateOpsItemResponse, - | InternalServerError - | OpsItemAccessDeniedException - | OpsItemAlreadyExistsException - | OpsItemConflictException - | OpsItemInvalidParameterException - | OpsItemLimitExceededException - | OpsItemNotFoundException - | CommonAwsError + InternalServerError | OpsItemAccessDeniedException | OpsItemAlreadyExistsException | OpsItemConflictException | OpsItemInvalidParameterException | OpsItemLimitExceededException | OpsItemNotFoundException | CommonAwsError >; updateOpsMetadata( input: UpdateOpsMetadataRequest, ): Effect.Effect< UpdateOpsMetadataResult, - | InternalServerError - | OpsMetadataInvalidArgumentException - | OpsMetadataKeyLimitExceededException - | OpsMetadataNotFoundException - | OpsMetadataTooManyUpdatesException - | CommonAwsError + InternalServerError | OpsMetadataInvalidArgumentException | OpsMetadataKeyLimitExceededException | OpsMetadataNotFoundException | OpsMetadataTooManyUpdatesException | CommonAwsError >; updatePatchBaseline( input: UpdatePatchBaselineRequest, @@ -1344,20 +872,13 @@ export declare class SSM extends AWSServiceClient { input: UpdateResourceDataSyncRequest, ): Effect.Effect< UpdateResourceDataSyncResult, - | InternalServerError - | ResourceDataSyncConflictException - | ResourceDataSyncInvalidConfigurationException - | ResourceDataSyncNotFoundException - | CommonAwsError + InternalServerError | ResourceDataSyncConflictException | ResourceDataSyncInvalidConfigurationException | ResourceDataSyncNotFoundException | CommonAwsError >; updateServiceSetting( input: UpdateServiceSettingRequest, ): Effect.Effect< UpdateServiceSettingResult, - | InternalServerError - | ServiceSettingNotFound - | TooManyUpdates - | CommonAwsError + InternalServerError | ServiceSettingNotFound | TooManyUpdates | CommonAwsError >; } @@ -1374,12 +895,7 @@ export type AccessKeySecretType = string; export type AccessRequestId = string; -export type AccessRequestStatus = - | "Approved" - | "Rejected" - | "Revoked" - | "Expired" - | "Pending"; +export type AccessRequestStatus = "Approved" | "Rejected" | "Revoked" | "Expired" | "Pending"; export type AccessType = "Standard" | "JustInTime"; export type Account = string; @@ -1416,7 +932,8 @@ export interface AddTagsToResourceRequest { ResourceId: string; Tags: Array; } -export interface AddTagsToResourceResult {} +export interface AddTagsToResourceResult { +} export type AgentErrorCode = string; export type AgentType = string; @@ -1455,7 +972,8 @@ export type Architecture = string; export declare class AssociatedInstances extends EffectData.TaggedError( "AssociatedInstances", -)<{}> {} +)<{ +}> {} export interface AssociateOpsItemRelatedItemRequest { OpsItemId: string; AssociationType: string; @@ -1482,13 +1000,9 @@ export interface Association { } export declare class AssociationAlreadyExists extends EffectData.TaggedError( "AssociationAlreadyExists", -)<{}> {} -export type AssociationComplianceSeverity = - | "CRITICAL" - | "HIGH" - | "MEDIUM" - | "LOW" - | "UNSPECIFIED"; +)<{ +}> {} +export type AssociationComplianceSeverity = "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "UNSPECIFIED"; export interface AssociationDescription { Name?: string; InstanceId?: string; @@ -1548,10 +1062,7 @@ export interface AssociationExecutionFilter { Value: string; Type: AssociationFilterOperatorType; } -export type AssociationExecutionFilterKey = - | "ExecutionId" - | "Status" - | "CreatedTime"; +export type AssociationExecutionFilterKey = "ExecutionId" | "Status" | "CreatedTime"; export type AssociationExecutionFilterList = Array; export type AssociationExecutionFilterValue = string; @@ -1573,12 +1084,8 @@ export interface AssociationExecutionTargetsFilter { Key: AssociationExecutionTargetsFilterKey; Value: string; } -export type AssociationExecutionTargetsFilterKey = - | "Status" - | "ResourceId" - | "ResourceType"; -export type AssociationExecutionTargetsFilterList = - Array; +export type AssociationExecutionTargetsFilterKey = "Status" | "ResourceId" | "ResourceType"; +export type AssociationExecutionTargetsFilterList = Array; export type AssociationExecutionTargetsFilterValue = string; export type AssociationExecutionTargetsList = Array; @@ -1586,20 +1093,9 @@ export interface AssociationFilter { key: AssociationFilterKey; value: string; } -export type AssociationFilterKey = - | "InstanceId" - | "Name" - | "AssociationId" - | "AssociationStatusName" - | "LastExecutedBefore" - | "LastExecutedAfter" - | "AssociationName" - | "ResourceGroupName"; +export type AssociationFilterKey = "InstanceId" | "Name" | "AssociationId" | "AssociationStatusName" | "LastExecutedBefore" | "LastExecutedAfter" | "AssociationName" | "ResourceGroupName"; export type AssociationFilterList = Array; -export type AssociationFilterOperatorType = - | "EQUAL" - | "LESS_THAN" - | "GREATER_THAN"; +export type AssociationFilterOperatorType = "EQUAL" | "LESS_THAN" | "GREATER_THAN"; export type AssociationFilterValue = string; export type AssociationId = string; @@ -1607,7 +1103,8 @@ export type AssociationId = string; export type AssociationIdList = Array; export declare class AssociationLimitExceeded extends EffectData.TaggedError( "AssociationLimitExceeded", -)<{}> {} +)<{ +}> {} export type AssociationList = Array; export type AssociationName = string; @@ -1683,10 +1180,7 @@ export interface AttachmentsSource { Values?: Array; Name?: string; } -export type AttachmentsSourceKey = - | "SourceUrl" - | "S3FileUrl" - | "AttachmentReference"; +export type AttachmentsSourceKey = "SourceUrl" | "S3FileUrl" | "AttachmentReference"; export type AttachmentsSourceList = Array; export type AttachmentsSourceValue = string; @@ -1755,19 +1249,7 @@ export interface AutomationExecutionFilter { Key: AutomationExecutionFilterKey; Values: Array; } -export type AutomationExecutionFilterKey = - | "DocumentNamePrefix" - | "ExecutionStatus" - | "ExecutionId" - | "ParentExecutionId" - | "CurrentAction" - | "StartTimeBefore" - | "StartTimeAfter" - | "AutomationType" - | "TagKey" - | "TargetResourceGroup" - | "AutomationSubtype" - | "OpsItemId"; +export type AutomationExecutionFilterKey = "DocumentNamePrefix" | "ExecutionStatus" | "ExecutionId" | "ParentExecutionId" | "CurrentAction" | "StartTimeBefore" | "StartTimeAfter" | "AutomationType" | "TagKey" | "TargetResourceGroup" | "AutomationSubtype" | "OpsItemId"; export type AutomationExecutionFilterList = Array; export type AutomationExecutionFilterValue = string; @@ -1820,8 +1302,7 @@ export interface AutomationExecutionMetadata { AssociationId?: string; ChangeRequestName?: string; } -export type AutomationExecutionMetadataList = - Array; +export type AutomationExecutionMetadataList = Array; export declare class AutomationExecutionNotFoundException extends EffectData.TaggedError( "AutomationExecutionNotFoundException", )<{ @@ -1833,26 +1314,7 @@ export interface AutomationExecutionPreview { TargetPreviews?: Array; TotalAccounts?: number; } -export type AutomationExecutionStatus = - | "Pending" - | "InProgress" - | "Waiting" - | "Success" - | "TimedOut" - | "Cancelling" - | "Cancelled" - | "Failed" - | "PendingApproval" - | "Approved" - | "Rejected" - | "Scheduled" - | "RunbookInProgress" - | "PendingChangeCalendarOverride" - | "ChangeCalendarOverrideApproved" - | "ChangeCalendarOverrideRejected" - | "CompletedWithSuccess" - | "CompletedWithFailure" - | "Exited"; +export type AutomationExecutionStatus = "Pending" | "InProgress" | "Waiting" | "Success" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "PendingApproval" | "Approved" | "Rejected" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "CompletedWithSuccess" | "CompletedWithFailure" | "Exited"; export type AutomationParameterKey = string; export type AutomationParameterMap = Record>; @@ -1898,7 +1360,8 @@ export interface CancelCommandRequest { CommandId: string; InstanceIds?: Array; } -export interface CancelCommandResult {} +export interface CancelCommandResult { +} export interface CancelMaintenanceWindowExecutionRequest { WindowExecutionId: string; } @@ -1955,12 +1418,7 @@ export interface CommandFilter { key: CommandFilterKey; value: string; } -export type CommandFilterKey = - | "InvokedAfter" - | "InvokedBefore" - | "Status" - | "ExecutionStage" - | "DocumentName"; +export type CommandFilterKey = "InvokedAfter" | "InvokedBefore" | "Status" | "ExecutionStage" | "DocumentName"; export type CommandFilterList = Array; export type CommandFilterValue = string; @@ -1985,15 +1443,7 @@ export interface CommandInvocation { CloudWatchOutputConfig?: CloudWatchOutputConfig; } export type CommandInvocationList = Array; -export type CommandInvocationStatus = - | "Pending" - | "InProgress" - | "Delayed" - | "Success" - | "Cancelled" - | "TimedOut" - | "Failed" - | "Cancelling"; +export type CommandInvocationStatus = "Pending" | "InProgress" | "Delayed" | "Success" | "Cancelled" | "TimedOut" | "Failed" | "Cancelling"; export type CommandList = Array; export type CommandMaxResults = number; @@ -2016,21 +1466,8 @@ export type CommandPluginName = string; export type CommandPluginOutput = string; -export type CommandPluginStatus = - | "Pending" - | "InProgress" - | "Success" - | "TimedOut" - | "Cancelled" - | "Failed"; -export type CommandStatus = - | "Pending" - | "InProgress" - | "Success" - | "Cancelled" - | "Failed" - | "TimedOut" - | "Cancelling"; +export type CommandPluginStatus = "Pending" | "InProgress" | "Success" | "TimedOut" | "Cancelled" | "Failed"; +export type CommandStatus = "Pending" | "InProgress" | "Success" | "Cancelled" | "Failed" | "TimedOut" | "Cancelling"; export type Comment = string; export type CompletedCount = number; @@ -2073,25 +1510,14 @@ export type ComplianceItemId = string; export type ComplianceItemList = Array; export type ComplianceItemTitle = string; -export type ComplianceQueryOperatorType = - | "EQUAL" - | "NOT_EQUAL" - | "BEGIN_WITH" - | "LESS_THAN" - | "GREATER_THAN"; +export type ComplianceQueryOperatorType = "EQUAL" | "NOT_EQUAL" | "BEGIN_WITH" | "LESS_THAN" | "GREATER_THAN"; export type ComplianceResourceId = string; export type ComplianceResourceIdList = Array; export type ComplianceResourceType = string; export type ComplianceResourceTypeList = Array; -export type ComplianceSeverity = - | "CRITICAL" - | "HIGH" - | "MEDIUM" - | "LOW" - | "INFORMATIONAL" - | "UNSPECIFIED"; +export type ComplianceSeverity = "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFORMATIONAL" | "UNSPECIFIED"; export type ComplianceStatus = "COMPLIANT" | "NON_COMPLIANT"; export interface ComplianceStringFilter { Key?: string; @@ -2143,8 +1569,7 @@ export interface CreateActivationResult { export interface CreateAssociationBatchRequest { Entries: Array; } -export type CreateAssociationBatchRequestEntries = - Array; +export type CreateAssociationBatchRequestEntries = Array; export interface CreateAssociationBatchRequestEntry { Name: string; InstanceId?: string; @@ -2286,7 +1711,8 @@ export interface CreateResourceDataSyncRequest { SyncType?: string; SyncSource?: ResourceDataSyncSource; } -export interface CreateResourceDataSyncResult {} +export interface CreateResourceDataSyncResult { +} export interface Credentials { AccessKeyId: string; SecretAccessKey: string; @@ -2307,20 +1733,23 @@ export type DefaultInstanceName = string; export interface DeleteActivationRequest { ActivationId: string; } -export interface DeleteActivationResult {} +export interface DeleteActivationResult { +} export interface DeleteAssociationRequest { Name?: string; InstanceId?: string; AssociationId?: string; } -export interface DeleteAssociationResult {} +export interface DeleteAssociationResult { +} export interface DeleteDocumentRequest { Name: string; DocumentVersion?: string; VersionName?: string; Force?: boolean; } -export interface DeleteDocumentResult {} +export interface DeleteDocumentResult { +} export interface DeleteInventoryRequest { TypeName: string; SchemaDeleteOption?: InventorySchemaDeleteOption; @@ -2341,15 +1770,18 @@ export interface DeleteMaintenanceWindowResult { export interface DeleteOpsItemRequest { OpsItemId: string; } -export interface DeleteOpsItemResponse {} +export interface DeleteOpsItemResponse { +} export interface DeleteOpsMetadataRequest { OpsMetadataArn: string; } -export interface DeleteOpsMetadataResult {} +export interface DeleteOpsMetadataResult { +} export interface DeleteParameterRequest { Name: string; } -export interface DeleteParameterResult {} +export interface DeleteParameterResult { +} export interface DeleteParametersRequest { Names: Array; } @@ -2367,19 +1799,22 @@ export interface DeleteResourceDataSyncRequest { SyncName: string; SyncType?: string; } -export interface DeleteResourceDataSyncResult {} +export interface DeleteResourceDataSyncResult { +} export interface DeleteResourcePolicyRequest { ResourceArn: string; PolicyId: string; PolicyHash: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export type DeliveryTimedOutCount = number; export interface DeregisterManagedInstanceRequest { InstanceId: string; } -export interface DeregisterManagedInstanceResult {} +export interface DeregisterManagedInstanceResult { +} export interface DeregisterPatchBaselineForPatchGroupRequest { BaselineId: string; PatchGroup: string; @@ -2409,10 +1844,7 @@ export interface DescribeActivationsFilter { FilterKey?: DescribeActivationsFilterKeys; FilterValues?: Array; } -export type DescribeActivationsFilterKeys = - | "ActivationIds" - | "DefaultInstanceName" - | "IamRole"; +export type DescribeActivationsFilterKeys = "ActivationIds" | "DefaultInstanceName" | "IamRole"; export type DescribeActivationsFilterList = Array; export interface DescribeActivationsRequest { Filters?: Array; @@ -2753,7 +2185,8 @@ export interface DisassociateOpsItemRelatedItemRequest { OpsItemId: string; AssociationId: string; } -export interface DisassociateOpsItemRelatedItemResponse {} +export interface DisassociateOpsItemRelatedItemResponse { +} export declare class DocumentAlreadyExists extends EffectData.TaggedError( "DocumentAlreadyExists", )<{ @@ -2808,11 +2241,7 @@ export interface DocumentFilter { key: DocumentFilterKey; value: string; } -export type DocumentFilterKey = - | "Name" - | "Owner" - | "PlatformTypes" - | "DocumentType"; +export type DocumentFilterKey = "Name" | "Owner" | "PlatformTypes" | "DocumentType"; export type DocumentFilterList = Array; export type DocumentFilterValue = string; @@ -2890,11 +2319,7 @@ export interface DocumentRequires { VersionName?: string; } export type DocumentRequiresList = Array; -export type DocumentReviewAction = - | "SendForReview" - | "UpdateReview" - | "Approve" - | "Reject"; +export type DocumentReviewAction = "SendForReview" | "UpdateReview" | "Approve" | "Reject"; export type DocumentReviewComment = string; export type DocumentReviewCommentList = Array; @@ -2903,8 +2328,7 @@ export interface DocumentReviewCommentSource { Content?: string; } export type DocumentReviewCommentType = "Comment"; -export type DocumentReviewerResponseList = - Array; +export type DocumentReviewerResponseList = Array; export interface DocumentReviewerResponseSource { CreateTime?: Date | string; UpdatedTime?: Date | string; @@ -2920,32 +2344,10 @@ export type DocumentSchemaVersion = string; export type DocumentSha1 = string; -export type DocumentStatus = - | "Creating" - | "Active" - | "Updating" - | "Deleting" - | "Failed"; +export type DocumentStatus = "Creating" | "Active" | "Updating" | "Deleting" | "Failed"; export type DocumentStatusInformation = string; -export type DocumentType = - | "Command" - | "Policy" - | "Automation" - | "Session" - | "Package" - | "ApplicationConfiguration" - | "ApplicationConfigurationSchema" - | "DeploymentStrategy" - | "ChangeCalendar" - | "Automation.ChangeTemplate" - | "ProblemAnalysis" - | "ProblemAnalysisTemplate" - | "CloudFormation" - | "ConformancePackTemplate" - | "QuickSetup" - | "ManualApprovalPolicy" - | "AutoApprovalPolicy"; +export type DocumentType = "Command" | "Policy" | "Automation" | "Session" | "Package" | "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "DeploymentStrategy" | "ChangeCalendar" | "Automation.ChangeTemplate" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "CloudFormation" | "ConformancePackTemplate" | "QuickSetup" | "ManualApprovalPolicy" | "AutoApprovalPolicy"; export type DocumentVersion = string; export interface DocumentVersionInfo { @@ -2989,7 +2391,8 @@ export declare class DuplicateDocumentVersionName extends EffectData.TaggedError }> {} export declare class DuplicateInstanceId extends EffectData.TaggedError( "DuplicateInstanceId", -)<{}> {} +)<{ +}> {} export type Duration = number; export type EffectiveInstanceAssociationMaxResults = number; @@ -3008,24 +2411,16 @@ interface _ExecutionInputs { Automation?: AutomationExecutionInputs; } -export type ExecutionInputs = _ExecutionInputs & { - Automation: AutomationExecutionInputs; -}; +export type ExecutionInputs = (_ExecutionInputs & { Automation: AutomationExecutionInputs }); export type ExecutionMode = "Auto" | "Interactive"; interface _ExecutionPreview { Automation?: AutomationExecutionPreview; } -export type ExecutionPreview = _ExecutionPreview & { - Automation: AutomationExecutionPreview; -}; +export type ExecutionPreview = (_ExecutionPreview & { Automation: AutomationExecutionPreview }); export type ExecutionPreviewId = string; -export type ExecutionPreviewStatus = - | "Pending" - | "InProgress" - | "Success" - | "Failed"; +export type ExecutionPreviewStatus = "Pending" | "InProgress" | "Success" | "Failed"; export type ExecutionRoleName = string; export type ExpirationDate = Date | string; @@ -3215,9 +2610,7 @@ export interface GetMaintenanceWindowExecutionTaskResult { TaskArn?: string; ServiceRole?: string; Type?: MaintenanceWindowTaskType; - TaskParameters?: Array< - Record - >; + TaskParameters?: Array>; Priority?: number; MaxConcurrency?: string; MaxErrors?: string; @@ -3259,10 +2652,7 @@ export interface GetMaintenanceWindowTaskResult { TaskArn?: string; ServiceRoleArn?: string; TaskType?: MaintenanceWindowTaskType; - TaskParameters?: Record< - string, - MaintenanceWindowTaskParameterValueExpression - >; + TaskParameters?: Record; TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; Priority?: number; MaxConcurrency?: string; @@ -3382,8 +2772,7 @@ export interface GetResourcePoliciesResponse { NextToken?: string; Policies?: Array; } -export type GetResourcePoliciesResponseEntries = - Array; +export type GetResourcePoliciesResponseEntries = Array; export interface GetResourcePoliciesResponseEntry { PolicyId?: string; PolicyHash?: string; @@ -3456,8 +2845,7 @@ export interface InstanceAssociationStatusInfo { OutputUrl?: InstanceAssociationOutputUrl; AssociationName?: string; } -export type InstanceAssociationStatusInfos = - Array; +export type InstanceAssociationStatusInfos = Array; export type InstanceCount = number; export type InstanceId = string; @@ -3502,15 +2890,7 @@ export interface InstanceInformationFilter { key: InstanceInformationFilterKey; valueSet: Array; } -export type InstanceInformationFilterKey = - | "InstanceIds" - | "AgentVersion" - | "PingStatus" - | "PlatformTypes" - | "ActivationIds" - | "IamRole" - | "ResourceType" - | "AssociationStatus"; +export type InstanceInformationFilterKey = "InstanceIds" | "AgentVersion" | "PingStatus" | "PlatformTypes" | "ActivationIds" | "IamRole" | "ResourceType" | "AssociationStatus"; export type InstanceInformationFilterList = Array; export type InstanceInformationFilterValue = string; @@ -3522,8 +2902,7 @@ export interface InstanceInformationStringFilter { } export type InstanceInformationStringFilterKey = string; -export type InstanceInformationStringFilterList = - Array; +export type InstanceInformationStringFilterList = Array; export type InstanceName = string; export interface InstancePatchState { @@ -3563,11 +2942,7 @@ export type InstancePatchStateFilterValue = string; export type InstancePatchStateFilterValues = Array; export type InstancePatchStateList = Array; -export type InstancePatchStateOperatorType = - | "Equal" - | "NotEqual" - | "LessThan" - | "GreaterThan"; +export type InstancePatchStateOperatorType = "Equal" | "NotEqual" | "LessThan" | "GreaterThan"; export type InstancePatchStatesList = Array; export type InstanceProperties = Array; export interface InstanceProperty { @@ -3602,23 +2977,9 @@ export interface InstancePropertyFilter { key: InstancePropertyFilterKey; valueSet: Array; } -export type InstancePropertyFilterKey = - | "InstanceIds" - | "AgentVersion" - | "PingStatus" - | "PlatformTypes" - | "DocumentName" - | "ActivationIds" - | "IamRole" - | "ResourceType" - | "AssociationStatus"; +export type InstancePropertyFilterKey = "InstanceIds" | "AgentVersion" | "PingStatus" | "PlatformTypes" | "DocumentName" | "ActivationIds" | "IamRole" | "ResourceType" | "AssociationStatus"; export type InstancePropertyFilterList = Array; -export type InstancePropertyFilterOperator = - | "Equal" - | "NotEqual" - | "BeginWith" - | "LessThan" - | "GreaterThan"; +export type InstancePropertyFilterOperator = "Equal" | "NotEqual" | "BeginWith" | "LessThan" | "GreaterThan"; export type InstancePropertyFilterValue = string; export type InstancePropertyFilterValueSet = Array; @@ -3629,8 +2990,7 @@ export interface InstancePropertyStringFilter { } export type InstancePropertyStringFilterKey = string; -export type InstancePropertyStringFilterList = - Array; +export type InstancePropertyStringFilterList = Array; export type InstanceRole = string; export type InstancesCount = number; @@ -3697,7 +3057,8 @@ export declare class InvalidAutomationStatusUpdateException extends EffectData.T }> {} export declare class InvalidCommandId extends EffectData.TaggedError( "InvalidCommandId", -)<{}> {} +)<{ +}> {} export declare class InvalidDeleteInventoryParametersException extends EffectData.TaggedError( "InvalidDeleteInventoryParametersException", )<{ @@ -3745,7 +3106,8 @@ export declare class InvalidFilter extends EffectData.TaggedError( }> {} export declare class InvalidFilterKey extends EffectData.TaggedError( "InvalidFilterKey", -)<{}> {} +)<{ +}> {} export declare class InvalidFilterOption extends EffectData.TaggedError( "InvalidFilterOption", )<{ @@ -3814,10 +3176,12 @@ export declare class InvalidOptionException extends EffectData.TaggedError( }> {} export declare class InvalidOutputFolder extends EffectData.TaggedError( "InvalidOutputFolder", -)<{}> {} +)<{ +}> {} export declare class InvalidOutputLocation extends EffectData.TaggedError( "InvalidOutputLocation", -)<{}> {} +)<{ +}> {} export declare class InvalidParameters extends EffectData.TaggedError( "InvalidParameters", )<{ @@ -3830,7 +3194,8 @@ export declare class InvalidPermissionType extends EffectData.TaggedError( }> {} export declare class InvalidPluginName extends EffectData.TaggedError( "InvalidPluginName", -)<{}> {} +)<{ +}> {} export declare class InvalidPolicyAttributeException extends EffectData.TaggedError( "InvalidPolicyAttributeException", )<{ @@ -3843,16 +3208,20 @@ export declare class InvalidPolicyTypeException extends EffectData.TaggedError( }> {} export declare class InvalidResourceId extends EffectData.TaggedError( "InvalidResourceId", -)<{}> {} +)<{ +}> {} export declare class InvalidResourceType extends EffectData.TaggedError( "InvalidResourceType", -)<{}> {} +)<{ +}> {} export declare class InvalidResultAttributeException extends EffectData.TaggedError( "InvalidResultAttributeException", )<{ readonly Message?: string; }> {} -export declare class InvalidRole extends EffectData.TaggedError("InvalidRole")<{ +export declare class InvalidRole extends EffectData.TaggedError( + "InvalidRole", +)<{ readonly Message?: string; }> {} export declare class InvalidSchedule extends EffectData.TaggedError( @@ -3860,7 +3229,9 @@ export declare class InvalidSchedule extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export declare class InvalidTag extends EffectData.TaggedError("InvalidTag")<{ +export declare class InvalidTag extends EffectData.TaggedError( + "InvalidTag", +)<{ readonly Message?: string; }> {} export declare class InvalidTarget extends EffectData.TaggedError( @@ -3974,13 +3345,7 @@ export type InventoryItemTypeName = string; export type InventoryItemTypeNameFilter = string; -export type InventoryQueryOperatorType = - | "Equal" - | "NotEqual" - | "BeginWith" - | "LessThan" - | "GreaterThan" - | "Exists"; +export type InventoryQueryOperatorType = "Equal" | "NotEqual" | "BeginWith" | "LessThan" | "GreaterThan" | "Exists"; export interface InventoryResultEntity { Id?: string; Data?: Record; @@ -4003,7 +3368,8 @@ export type InventoryTypeDisplayName = string; export declare class InvocationDoesNotExist extends EffectData.TaggedError( "InvocationDoesNotExist", -)<{}> {} +)<{ +}> {} export type InvocationTraceOutput = string; export type IPAddress = string; @@ -4260,15 +3626,7 @@ export interface MaintenanceWindowExecution { export type MaintenanceWindowExecutionId = string; export type MaintenanceWindowExecutionList = Array; -export type MaintenanceWindowExecutionStatus = - | "PENDING" - | "IN_PROGRESS" - | "SUCCESS" - | "FAILED" - | "TIMED_OUT" - | "CANCELLING" - | "CANCELLED" - | "SKIPPED_OVERLAPPING"; +export type MaintenanceWindowExecutionStatus = "PENDING" | "IN_PROGRESS" | "SUCCESS" | "FAILED" | "TIMED_OUT" | "CANCELLING" | "CANCELLED" | "SKIPPED_OVERLAPPING"; export type MaintenanceWindowExecutionStatusDetails = string; export type MaintenanceWindowExecutionTaskExecutionId = string; @@ -4287,8 +3645,7 @@ export interface MaintenanceWindowExecutionTaskIdentity { AlarmConfiguration?: AlarmConfiguration; TriggeredAlarms?: Array; } -export type MaintenanceWindowExecutionTaskIdentityList = - Array; +export type MaintenanceWindowExecutionTaskIdentityList = Array; export type MaintenanceWindowExecutionTaskIdList = Array; export type MaintenanceWindowExecutionTaskInvocationId = string; @@ -4306,8 +3663,7 @@ export interface MaintenanceWindowExecutionTaskInvocationIdentity { OwnerInformation?: string; WindowTargetId?: string; } -export type MaintenanceWindowExecutionTaskInvocationIdentityList = - Array; +export type MaintenanceWindowExecutionTaskInvocationIdentityList = Array; export type MaintenanceWindowExecutionTaskInvocationParameters = string; export interface MaintenanceWindowFilter { @@ -4376,8 +3732,7 @@ export type MaintenanceWindowSchedule = string; export type MaintenanceWindowSearchMaxResults = number; -export type MaintenanceWindowsForTargetList = - Array; +export type MaintenanceWindowsForTargetList = Array; export type MaintenanceWindowStepFunctionsInput = string; export type MaintenanceWindowStepFunctionsName = string; @@ -4406,10 +3761,7 @@ export interface MaintenanceWindowTask { TaskArn?: string; Type?: MaintenanceWindowTaskType; Targets?: Array; - TaskParameters?: Record< - string, - MaintenanceWindowTaskParameterValueExpression - >; + TaskParameters?: Record; Priority?: number; LoggingInfo?: LoggingInfo; ServiceRoleArn?: string; @@ -4422,9 +3774,7 @@ export interface MaintenanceWindowTask { } export type MaintenanceWindowTaskArn = string; -export type MaintenanceWindowTaskCutoffBehavior = - | "CONTINUE_TASK" - | "CANCEL_TASK"; +export type MaintenanceWindowTaskCutoffBehavior = "CONTINUE_TASK" | "CANCEL_TASK"; export type MaintenanceWindowTaskId = string; export interface MaintenanceWindowTaskInvocationParameters { @@ -4436,13 +3786,8 @@ export interface MaintenanceWindowTaskInvocationParameters { export type MaintenanceWindowTaskList = Array; export type MaintenanceWindowTaskParameterName = string; -export type MaintenanceWindowTaskParameters = Record< - string, - MaintenanceWindowTaskParameterValueExpression ->; -export type MaintenanceWindowTaskParametersList = Array< - Record ->; +export type MaintenanceWindowTaskParameters = Record; +export type MaintenanceWindowTaskParametersList = Array>; export type MaintenanceWindowTaskParameterValue = string; export interface MaintenanceWindowTaskParameterValueExpression { @@ -4453,11 +3798,7 @@ export type MaintenanceWindowTaskPriority = number; export type MaintenanceWindowTaskTargetId = string; -export type MaintenanceWindowTaskType = - | "RUN_COMMAND" - | "AUTOMATION" - | "STEP_FUNCTIONS" - | "LAMBDA"; +export type MaintenanceWindowTaskType = "RUN_COMMAND" | "AUTOMATION" | "STEP_FUNCTIONS" | "LAMBDA"; export type MaintenanceWindowTimezone = string; export declare class MalformedResourcePolicyDocumentException extends EffectData.TaggedError( @@ -4499,7 +3840,8 @@ export interface ModifyDocumentPermissionRequest { AccountIdsToRemove?: Array; SharedDocumentVersion?: string; } -export interface ModifyDocumentPermissionResponse {} +export interface ModifyDocumentPermissionResponse { +} export type NextToken = string; export interface Node { @@ -4519,13 +3861,7 @@ export interface NodeAggregator { } export type NodeAggregatorList = Array; export type NodeAggregatorType = "Count"; -export type NodeAttributeName = - | "AgentVersion" - | "PlatformName" - | "PlatformType" - | "PlatformVersion" - | "Region" - | "ResourceType"; +export type NodeAttributeName = "AgentVersion" | "PlatformName" | "PlatformType" | "PlatformVersion" | "Region" | "ResourceType"; export type NodeCaptureTime = Date | string; export interface NodeFilter { @@ -4533,22 +3869,7 @@ export interface NodeFilter { Values: Array; Type?: NodeFilterOperatorType; } -export type NodeFilterKey = - | "AgentType" - | "AgentVersion" - | "ComputerName" - | "InstanceId" - | "InstanceStatus" - | "IpAddress" - | "ManagedStatus" - | "PlatformName" - | "PlatformType" - | "PlatformVersion" - | "ResourceType" - | "OrganizationalUnitId" - | "OrganizationalUnitPath" - | "Region" - | "AccountId"; +export type NodeFilterKey = "AgentType" | "AgentVersion" | "ComputerName" | "InstanceId" | "InstanceStatus" | "IpAddress" | "ManagedStatus" | "PlatformName" | "PlatformType" | "PlatformVersion" | "ResourceType" | "OrganizationalUnitId" | "OrganizationalUnitPath" | "Region" | "AccountId"; export type NodeFilterList = Array; export type NodeFilterOperatorType = "Equal" | "NotEqual" | "BeginWith"; export type NodeFilterValue = string; @@ -4574,7 +3895,7 @@ interface _NodeType { Instance?: InstanceInfo; } -export type NodeType = _NodeType & { Instance: InstanceInfo }; +export type NodeType = (_NodeType & { Instance: InstanceInfo }); export type NodeTypeName = "Instance"; export interface NonCompliantSummary { NonCompliantCount?: number; @@ -4588,31 +3909,10 @@ export interface NotificationConfig { NotificationEvents?: Array; NotificationType?: NotificationType; } -export type NotificationEvent = - | "All" - | "InProgress" - | "Success" - | "TimedOut" - | "Cancelled" - | "Failed"; +export type NotificationEvent = "All" | "InProgress" | "Success" | "TimedOut" | "Cancelled" | "Failed"; export type NotificationEventList = Array; export type NotificationType = "Command" | "Invocation"; -export type OperatingSystem = - | "WINDOWS" - | "AMAZON_LINUX" - | "AMAZON_LINUX_2" - | "AMAZON_LINUX_2022" - | "UBUNTU" - | "REDHAT_ENTERPRISE_LINUX" - | "SUSE" - | "CENTOS" - | "ORACLE_LINUX" - | "DEBIAN" - | "MACOS" - | "RASPBIAN" - | "ROCKY_LINUX" - | "ALMA_LINUX" - | "AMAZON_LINUX_2023"; +export type OperatingSystem = "WINDOWS" | "AMAZON_LINUX" | "AMAZON_LINUX_2" | "AMAZON_LINUX_2022" | "UBUNTU" | "REDHAT_ENTERPRISE_LINUX" | "SUSE" | "CENTOS" | "ORACLE_LINUX" | "DEBIAN" | "MACOS" | "RASPBIAN" | "ROCKY_LINUX" | "ALMA_LINUX" | "AMAZON_LINUX_2023"; export interface OpsAggregator { AggregatorType?: string; TypeName?: string; @@ -4659,13 +3959,7 @@ export interface OpsFilter { export type OpsFilterKey = string; export type OpsFilterList = Array; -export type OpsFilterOperatorType = - | "Equal" - | "NotEqual" - | "BeginWith" - | "LessThan" - | "GreaterThan" - | "Exists"; +export type OpsFilterOperatorType = "Equal" | "NotEqual" | "BeginWith" | "LessThan" | "GreaterThan" | "Exists"; export type OpsFilterValue = string; export type OpsFilterValueList = Array; @@ -4754,49 +4048,8 @@ export interface OpsItemFilter { Values: Array; Operator: OpsItemFilterOperator; } -export type OpsItemFilterKey = - | "Status" - | "CreatedBy" - | "Source" - | "Priority" - | "Title" - | "OpsItemId" - | "CreatedTime" - | "LastModifiedTime" - | "ActualStartTime" - | "ActualEndTime" - | "PlannedStartTime" - | "PlannedEndTime" - | "OperationalData" - | "OperationalDataKey" - | "OperationalDataValue" - | "ResourceId" - | "AutomationId" - | "Category" - | "Severity" - | "OpsItemType" - | "AccessRequestByRequesterArn" - | "AccessRequestByRequesterId" - | "AccessRequestByApproverArn" - | "AccessRequestByApproverId" - | "AccessRequestBySourceAccountId" - | "AccessRequestBySourceOpsItemId" - | "AccessRequestBySourceRegion" - | "AccessRequestByIsReplica" - | "AccessRequestByTargetResourceId" - | "ChangeRequestByRequesterArn" - | "ChangeRequestByRequesterName" - | "ChangeRequestByApproverArn" - | "ChangeRequestByApproverName" - | "ChangeRequestByTemplate" - | "ChangeRequestByTargetsResourceGroup" - | "InsightByType" - | "AccountId"; -export type OpsItemFilterOperator = - | "Equal" - | "Contains" - | "GreaterThan" - | "LessThan"; +export type OpsItemFilterKey = "Status" | "CreatedBy" | "Source" | "Priority" | "Title" | "OpsItemId" | "CreatedTime" | "LastModifiedTime" | "ActualStartTime" | "ActualEndTime" | "PlannedStartTime" | "PlannedEndTime" | "OperationalData" | "OperationalDataKey" | "OperationalDataValue" | "ResourceId" | "AutomationId" | "Category" | "Severity" | "OpsItemType" | "AccessRequestByRequesterArn" | "AccessRequestByRequesterId" | "AccessRequestByApproverArn" | "AccessRequestByApproverId" | "AccessRequestBySourceAccountId" | "AccessRequestBySourceOpsItemId" | "AccessRequestBySourceRegion" | "AccessRequestByIsReplica" | "AccessRequestByTargetResourceId" | "ChangeRequestByRequesterArn" | "ChangeRequestByRequesterName" | "ChangeRequestByApproverArn" | "ChangeRequestByApproverName" | "ChangeRequestByTemplate" | "ChangeRequestByTargetsResourceGroup" | "InsightByType" | "AccountId"; +export type OpsItemFilterOperator = "Equal" | "Contains" | "GreaterThan" | "LessThan"; export type OpsItemFilters = Array; export type OpsItemFilterValue = string; @@ -4861,10 +4114,7 @@ export interface OpsItemRelatedItemsFilter { Values: Array; Operator: OpsItemRelatedItemsFilterOperator; } -export type OpsItemRelatedItemsFilterKey = - | "ResourceType" - | "AssociationId" - | "ResourceUri"; +export type OpsItemRelatedItemsFilterKey = "ResourceType" | "AssociationId" | "ResourceUri"; export type OpsItemRelatedItemsFilterOperator = "Equal"; export type OpsItemRelatedItemsFilters = Array; export type OpsItemRelatedItemsFilterValue = string; @@ -4888,27 +4138,7 @@ export type OpsItemSeverity = string; export type OpsItemSource = string; -export type OpsItemStatus = - | "Open" - | "InProgress" - | "Resolved" - | "Pending" - | "TimedOut" - | "Cancelling" - | "Cancelled" - | "Failed" - | "CompletedWithSuccess" - | "CompletedWithFailure" - | "Scheduled" - | "RunbookInProgress" - | "PendingChangeCalendarOverride" - | "ChangeCalendarOverrideApproved" - | "ChangeCalendarOverrideRejected" - | "PendingApproval" - | "Approved" - | "Revoked" - | "Rejected" - | "Closed"; +export type OpsItemStatus = "Open" | "InProgress" | "Resolved" | "Pending" | "TimedOut" | "Cancelling" | "Cancelled" | "Failed" | "CompletedWithSuccess" | "CompletedWithFailure" | "Scheduled" | "RunbookInProgress" | "PendingChangeCalendarOverride" | "ChangeCalendarOverrideApproved" | "ChangeCalendarOverrideRejected" | "PendingApproval" | "Approved" | "Revoked" | "Rejected" | "Closed"; export type OpsItemSummaries = Array; export interface OpsItemSummary { CreatedBy?: string; @@ -5190,22 +4420,8 @@ export interface PatchComplianceData { CVEIds?: string; } export type PatchComplianceDataList = Array; -export type PatchComplianceDataState = - | "INSTALLED" - | "INSTALLED_OTHER" - | "INSTALLED_PENDING_REBOOT" - | "INSTALLED_REJECTED" - | "MISSING" - | "NOT_APPLICABLE" - | "FAILED" - | "AVAILABLE_SECURITY_UPDATE"; -export type PatchComplianceLevel = - | "CRITICAL" - | "HIGH" - | "MEDIUM" - | "LOW" - | "INFORMATIONAL" - | "UNSPECIFIED"; +export type PatchComplianceDataState = "INSTALLED" | "INSTALLED_OTHER" | "INSTALLED_PENDING_REBOOT" | "INSTALLED_REJECTED" | "MISSING" | "NOT_APPLICABLE" | "FAILED" | "AVAILABLE_SECURITY_UPDATE"; +export type PatchComplianceLevel = "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFORMATIONAL" | "UNSPECIFIED"; export type PatchComplianceMaxResults = number; export type PatchComplianceStatus = "COMPLIANT" | "NON_COMPLIANT"; @@ -5218,11 +4434,7 @@ export type PatchCVEId = string; export type PatchCVEIdList = Array; export type PatchCVEIds = string; -export type PatchDeploymentStatus = - | "APPROVED" - | "PENDING_APPROVAL" - | "EXPLICIT_APPROVED" - | "EXPLICIT_REJECTED"; +export type PatchDeploymentStatus = "APPROVED" | "PENDING_APPROVAL" | "EXPLICIT_APPROVED" | "EXPLICIT_REJECTED"; export type PatchDescription = string; export type PatchEpoch = number; @@ -5236,26 +4448,7 @@ export interface PatchFilter { export interface PatchFilterGroup { PatchFilters: Array; } -export type PatchFilterKey = - | "ARCH" - | "ADVISORY_ID" - | "BUGZILLA_ID" - | "PATCH_SET" - | "PRODUCT" - | "PRODUCT_FAMILY" - | "CLASSIFICATION" - | "CVE_ID" - | "EPOCH" - | "MSRC_SEVERITY" - | "NAME" - | "PATCH_ID" - | "SECTION" - | "PRIORITY" - | "REPOSITORY" - | "RELEASE" - | "SEVERITY" - | "SECURITY" - | "VERSION"; +export type PatchFilterKey = "ARCH" | "ADVISORY_ID" | "BUGZILLA_ID" | "PATCH_SET" | "PRODUCT" | "PRODUCT_FAMILY" | "CLASSIFICATION" | "CVE_ID" | "EPOCH" | "MSRC_SEVERITY" | "NAME" | "PATCH_ID" | "SECTION" | "PRIORITY" | "REPOSITORY" | "RELEASE" | "SEVERITY" | "SECURITY" | "VERSION"; export type PatchFilterList = Array; export type PatchFilterValue = string; @@ -5267,8 +4460,7 @@ export interface PatchGroupPatchBaselineMapping { PatchGroup?: string; BaselineIdentity?: PatchBaselineIdentity; } -export type PatchGroupPatchBaselineMappingList = - Array; +export type PatchGroupPatchBaselineMappingList = Array; export type PatchId = string; export type PatchIdList = Array; @@ -5313,13 +4505,7 @@ export type PatchProduct = string; export type PatchProductFamily = string; export type PatchPropertiesList = Array>; -export type PatchProperty = - | "PRODUCT" - | "PRODUCT_FAMILY" - | "CLASSIFICATION" - | "MSRC_SEVERITY" - | "PRIORITY" - | "SEVERITY"; +export type PatchProperty = "PRODUCT" | "PRODUCT_FAMILY" | "CLASSIFICATION" | "MSRC_SEVERITY" | "PRIORITY" | "SEVERITY"; export type PatchPropertyEntry = Record; export type PatchRelease = string; @@ -5413,7 +4599,8 @@ export interface PutComplianceItemsRequest { ItemContentHash?: string; UploadType?: ComplianceUploadType; } -export interface PutComplianceItemsResult {} +export interface PutComplianceItemsResult { +} export type PutInventoryMessage = string; export interface PutInventoryRequest { @@ -5487,10 +4674,7 @@ export interface RegisterTaskWithMaintenanceWindowRequest { TaskArn: string; ServiceRoleArn?: string; TaskType: MaintenanceWindowTaskType; - TaskParameters?: Record< - string, - MaintenanceWindowTaskParameterValueExpression - >; + TaskParameters?: Record; TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; Priority?: number; MaxConcurrency?: string; @@ -5529,7 +4713,8 @@ export interface RemoveTagsFromResourceRequest { ResourceId: string; TagKeys: Array; } -export interface RemoveTagsFromResourceResult {} +export interface RemoveTagsFromResourceResult { +} export type RequireType = string; export interface ResetServiceSettingRequest { @@ -5554,8 +4739,7 @@ export interface ResourceComplianceSummaryItem { CompliantSummary?: CompliantSummary; NonCompliantSummary?: NonCompliantSummary; } -export type ResourceComplianceSummaryItemList = - Array; +export type ResourceComplianceSummaryItemList = Array; export type ResourceCount = number; export type ResourceCountByStatus = string; @@ -5626,8 +4810,7 @@ export interface ResourceDataSyncOrganizationalUnit { } export type ResourceDataSyncOrganizationalUnitId = string; -export type ResourceDataSyncOrganizationalUnitList = - Array; +export type ResourceDataSyncOrganizationalUnitList = Array; export type ResourceDataSyncOrganizationSourceType = string; export type ResourceDataSyncS3BucketName = string; @@ -5713,16 +4896,7 @@ export declare class ResourcePolicyNotFoundException extends EffectData.TaggedEr }> {} export type ResourcePolicyParameterNamesList = Array; export type ResourceType = "ManagedInstance" | "EC2Instance"; -export type ResourceTypeForTagging = - | "Document" - | "ManagedInstance" - | "MaintenanceWindow" - | "Parameter" - | "PatchBaseline" - | "OpsItem" - | "OpsMetadata" - | "Automation" - | "Association"; +export type ResourceTypeForTagging = "Document" | "ManagedInstance" | "MaintenanceWindow" | "Parameter" | "PatchBaseline" | "OpsItem" | "OpsMetadata" | "Automation" | "Association"; export type ResponseCode = number; export interface ResultAttribute { @@ -5787,7 +4961,8 @@ export interface SendAutomationSignalRequest { SignalType: SignalType; Payload?: Record>; } -export interface SendAutomationSignalResult {} +export interface SendAutomationSignalResult { +} export interface SendCommandRequest { InstanceIds?: Array; Targets?: Array; @@ -5859,14 +5034,7 @@ export interface SessionFilter { key: SessionFilterKey; value: string; } -export type SessionFilterKey = - | "InvokedAfter" - | "InvokedBefore" - | "Target" - | "Owner" - | "Status" - | "SessionId" - | "AccessType"; +export type SessionFilterKey = "InvokedAfter" | "InvokedBefore" | "Target" | "Owner" | "Status" | "SessionId" | "AccessType"; export type SessionFilterList = Array; export type SessionFilterValue = string; @@ -5894,13 +5062,7 @@ export type SessionOwner = string; export type SessionReason = string; export type SessionState = "Active" | "History"; -export type SessionStatus = - | "Connected" - | "Connecting" - | "Disconnected" - | "Terminated" - | "Terminating" - | "Failed"; +export type SessionStatus = "Connected" | "Connecting" | "Disconnected" | "Terminated" | "Terminating" | "Failed"; export type SessionTarget = string; export type SessionTokenType = string; @@ -5915,23 +5077,14 @@ export interface SeveritySummary { } export type SharedDocumentVersion = string; -export type SignalType = - | "Approve" - | "Reject" - | "StartStep" - | "StopStep" - | "Resume" - | "Revoke"; +export type SignalType = "Approve" | "Reject" | "StartStep" | "StopStep" | "Resume" | "Revoke"; export type SnapshotDownloadUrl = string; export type SnapshotId = string; export type SourceId = string; -export type SourceType = - | "AWS::EC2::Instance" - | "AWS::IoT::Thing" - | "AWS::SSM::ManagedInstance"; +export type SourceType = "AWS::EC2::Instance" | "AWS::IoT::Thing" | "AWS::SSM::ManagedInstance"; export type StandardErrorContent = string; export type StandardOutputContent = string; @@ -5947,7 +5100,8 @@ export interface StartAccessRequestResponse { export interface StartAssociationsOnceRequest { AssociationIds: Array; } -export interface StartAssociationsOnceResult {} +export interface StartAssociationsOnceResult { +} export interface StartAutomationExecutionRequest { DocumentName: string; DocumentVersion?: string; @@ -6012,7 +5166,8 @@ export type StatusName = string; export declare class StatusUnchanged extends EffectData.TaggedError( "StatusUnchanged", -)<{}> {} +)<{ +}> {} export interface StepExecution { StepName?: string; Action?: string; @@ -6043,16 +5198,7 @@ export interface StepExecutionFilter { Key: StepExecutionFilterKey; Values: Array; } -export type StepExecutionFilterKey = - | "StartTimeBefore" - | "StartTimeAfter" - | "StepExecutionStatus" - | "StepExecutionId" - | "StepName" - | "Action" - | "ParentStepExecutionId" - | "ParentStepIteration" - | "ParentStepIteratorValue"; +export type StepExecutionFilterKey = "StartTimeBefore" | "StartTimeAfter" | "StepExecutionStatus" | "StepExecutionId" | "StepName" | "Action" | "ParentStepExecutionId" | "ParentStepIteration" | "ParentStepIteratorValue"; export type StepExecutionFilterList = Array; export type StepExecutionFilterValue = string; @@ -6063,7 +5209,8 @@ export interface StopAutomationExecutionRequest { AutomationExecutionId: string; Type?: StopType; } -export interface StopAutomationExecutionResult {} +export interface StopAutomationExecutionResult { +} export type StopType = "Complete" | "Cancel"; export type StreamUrl = string; @@ -6160,7 +5307,8 @@ export type TokenValue = string; export declare class TooManyTagsError extends EffectData.TaggedError( "TooManyTagsError", -)<{}> {} +)<{ +}> {} export declare class TooManyUpdates extends EffectData.TaggedError( "TooManyUpdates", )<{ @@ -6269,7 +5417,8 @@ export interface UpdateDocumentMetadataRequest { DocumentVersion?: string; DocumentReviews: DocumentReviews; } -export interface UpdateDocumentMetadataResponse {} +export interface UpdateDocumentMetadataResponse { +} export interface UpdateDocumentRequest { Content: string; Attachments?: Array; @@ -6335,10 +5484,7 @@ export interface UpdateMaintenanceWindowTaskRequest { Targets?: Array; TaskArn?: string; ServiceRoleArn?: string; - TaskParameters?: Record< - string, - MaintenanceWindowTaskParameterValueExpression - >; + TaskParameters?: Record; TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; Priority?: number; MaxConcurrency?: string; @@ -6356,10 +5502,7 @@ export interface UpdateMaintenanceWindowTaskResult { Targets?: Array; TaskArn?: string; ServiceRoleArn?: string; - TaskParameters?: Record< - string, - MaintenanceWindowTaskParameterValueExpression - >; + TaskParameters?: Record; TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; Priority?: number; MaxConcurrency?: string; @@ -6374,7 +5517,8 @@ export interface UpdateManagedInstanceRoleRequest { InstanceId: string; IamRole: string; } -export interface UpdateManagedInstanceRoleResult {} +export interface UpdateManagedInstanceRoleResult { +} export interface UpdateOpsItemRequest { Description?: string; OperationalData?: Record; @@ -6393,7 +5537,8 @@ export interface UpdateOpsItemRequest { PlannedEndTime?: Date | string; OpsItemArn?: string; } -export interface UpdateOpsItemResponse {} +export interface UpdateOpsItemResponse { +} export interface UpdateOpsMetadataRequest { OpsMetadataArn: string; MetadataToUpdate?: Record; @@ -6439,12 +5584,14 @@ export interface UpdateResourceDataSyncRequest { SyncType: string; SyncSource: ResourceDataSyncSource; } -export interface UpdateResourceDataSyncResult {} +export interface UpdateResourceDataSyncResult { +} export interface UpdateServiceSettingRequest { SettingId: string; SettingValue: string; } -export interface UpdateServiceSettingResult {} +export interface UpdateServiceSettingResult { +} export type Url = string; export type UUID = string; @@ -6508,7 +5655,10 @@ export declare namespace CancelMaintenanceWindowExecution { export declare namespace CreateActivation { export type Input = CreateActivationRequest; export type Output = CreateActivationResult; - export type Error = InternalServerError | InvalidParameters | CommonAwsError; + export type Error = + | InternalServerError + | InvalidParameters + | CommonAwsError; } export declare namespace CreateAssociation { @@ -6669,7 +5819,9 @@ export declare namespace DeleteInventory { export declare namespace DeleteMaintenanceWindow { export type Input = DeleteMaintenanceWindowRequest; export type Output = DeleteMaintenanceWindowResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DeleteOpsItem { @@ -6694,13 +5846,18 @@ export declare namespace DeleteOpsMetadata { export declare namespace DeleteParameter { export type Input = DeleteParameterRequest; export type Output = DeleteParameterResult; - export type Error = InternalServerError | ParameterNotFound | CommonAwsError; + export type Error = + | InternalServerError + | ParameterNotFound + | CommonAwsError; } export declare namespace DeleteParameters { export type Input = DeleteParametersRequest; export type Output = DeleteParametersResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DeletePatchBaseline { @@ -6738,13 +5895,19 @@ export declare namespace DeleteResourcePolicy { export declare namespace DeregisterManagedInstance { export type Input = DeregisterManagedInstanceRequest; export type Output = DeregisterManagedInstanceResult; - export type Error = InternalServerError | InvalidInstanceId | CommonAwsError; + export type Error = + | InternalServerError + | InvalidInstanceId + | CommonAwsError; } export declare namespace DeregisterPatchBaselineForPatchGroup { export type Input = DeregisterPatchBaselineForPatchGroupRequest; export type Output = DeregisterPatchBaselineForPatchGroupResult; - export type Error = InternalServerError | InvalidResourceId | CommonAwsError; + export type Error = + | InternalServerError + | InvalidResourceId + | CommonAwsError; } export declare namespace DeregisterTargetFromMaintenanceWindow { @@ -6835,7 +5998,9 @@ export declare namespace DescribeAutomationStepExecutions { export declare namespace DescribeAvailablePatches { export type Input = DescribeAvailablePatchesRequest; export type Output = DescribeAvailablePatchesResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeDocument { @@ -6917,7 +6082,10 @@ export declare namespace DescribeInstancePatches { export declare namespace DescribeInstancePatchStates { export type Input = DescribeInstancePatchStatesRequest; export type Output = DescribeInstancePatchStatesResult; - export type Error = InternalServerError | InvalidNextToken | CommonAwsError; + export type Error = + | InternalServerError + | InvalidNextToken + | CommonAwsError; } export declare namespace DescribeInstancePatchStatesForPatchGroup { @@ -6957,7 +6125,9 @@ export declare namespace DescribeInventoryDeletions { export declare namespace DescribeMaintenanceWindowExecutions { export type Input = DescribeMaintenanceWindowExecutionsRequest; export type Output = DescribeMaintenanceWindowExecutionsResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeMaintenanceWindowExecutionTaskInvocations { @@ -6981,7 +6151,9 @@ export declare namespace DescribeMaintenanceWindowExecutionTasks { export declare namespace DescribeMaintenanceWindows { export type Input = DescribeMaintenanceWindowsRequest; export type Output = DescribeMaintenanceWindowsResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeMaintenanceWindowSchedule { @@ -6996,7 +6168,9 @@ export declare namespace DescribeMaintenanceWindowSchedule { export declare namespace DescribeMaintenanceWindowsForTarget { export type Input = DescribeMaintenanceWindowsForTargetRequest; export type Output = DescribeMaintenanceWindowsForTargetResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeMaintenanceWindowTargets { @@ -7020,7 +6194,9 @@ export declare namespace DescribeMaintenanceWindowTasks { export declare namespace DescribeOpsItems { export type Input = DescribeOpsItemsRequest; export type Output = DescribeOpsItemsResponse; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeParameters { @@ -7038,25 +6214,34 @@ export declare namespace DescribeParameters { export declare namespace DescribePatchBaselines { export type Input = DescribePatchBaselinesRequest; export type Output = DescribePatchBaselinesResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribePatchGroups { export type Input = DescribePatchGroupsRequest; export type Output = DescribePatchGroupsResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribePatchGroupState { export type Input = DescribePatchGroupStateRequest; export type Output = DescribePatchGroupStateResult; - export type Error = InternalServerError | InvalidNextToken | CommonAwsError; + export type Error = + | InternalServerError + | InvalidNextToken + | CommonAwsError; } export declare namespace DescribePatchProperties { export type Input = DescribePatchPropertiesRequest; export type Output = DescribePatchPropertiesResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeSessions { @@ -7128,13 +6313,17 @@ export declare namespace GetCommandInvocation { export declare namespace GetConnectionStatus { export type Input = GetConnectionStatusRequest; export type Output = GetConnectionStatusResponse; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace GetDefaultPatchBaseline { export type Input = GetDefaultPatchBaselineRequest; export type Output = GetDefaultPatchBaselineResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace GetDeployablePatchSnapshotForInstance { @@ -7293,7 +6482,10 @@ export declare namespace GetParameterHistory { export declare namespace GetParameters { export type Input = GetParametersRequest; export type Output = GetParametersResult; - export type Error = InternalServerError | InvalidKeyId | CommonAwsError; + export type Error = + | InternalServerError + | InvalidKeyId + | CommonAwsError; } export declare namespace GetParametersByPath { @@ -7322,7 +6514,9 @@ export declare namespace GetPatchBaseline { export declare namespace GetPatchBaselineForPatchGroup { export type Input = GetPatchBaselineForPatchGroupRequest; export type Output = GetPatchBaselineForPatchGroupResult; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace GetResourcePolicies { @@ -7359,7 +6553,10 @@ export declare namespace LabelParameterVersion { export declare namespace ListAssociations { export type Input = ListAssociationsRequest; export type Output = ListAssociationsResult; - export type Error = InternalServerError | InvalidNextToken | CommonAwsError; + export type Error = + | InternalServerError + | InvalidNextToken + | CommonAwsError; } export declare namespace ListAssociationVersions { @@ -7812,7 +7009,9 @@ export declare namespace StopAutomationExecution { export declare namespace TerminateSession { export type Input = TerminateSessionRequest; export type Output = TerminateSessionResponse; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace UnlabelParameterVersion { @@ -7929,7 +7128,10 @@ export declare namespace UpdateMaintenanceWindowTask { export declare namespace UpdateManagedInstanceRole { export type Input = UpdateManagedInstanceRoleRequest; export type Output = UpdateManagedInstanceRoleResult; - export type Error = InternalServerError | InvalidInstanceId | CommonAwsError; + export type Error = + | InternalServerError + | InvalidInstanceId + | CommonAwsError; } export declare namespace UpdateOpsItem { @@ -7988,143 +7190,5 @@ export declare namespace UpdateServiceSetting { | CommonAwsError; } -export type SSMErrors = - | AccessDeniedException - | AlreadyExistsException - | AssociatedInstances - | AssociationAlreadyExists - | AssociationDoesNotExist - | AssociationExecutionDoesNotExist - | AssociationLimitExceeded - | AssociationVersionLimitExceeded - | AutomationDefinitionNotApprovedException - | AutomationDefinitionNotFoundException - | AutomationDefinitionVersionNotFoundException - | AutomationExecutionLimitExceededException - | AutomationExecutionNotFoundException - | AutomationStepNotFoundException - | ComplianceTypeCountLimitExceededException - | CustomSchemaCountLimitExceededException - | DocumentAlreadyExists - | DocumentLimitExceeded - | DocumentPermissionLimit - | DocumentVersionLimitExceeded - | DoesNotExistException - | DuplicateDocumentContent - | DuplicateDocumentVersionName - | DuplicateInstanceId - | FeatureNotAvailableException - | HierarchyLevelLimitExceededException - | HierarchyTypeMismatchException - | IdempotentParameterMismatch - | IncompatiblePolicyException - | InternalServerError - | InvalidActivation - | InvalidActivationId - | InvalidAggregatorException - | InvalidAllowedPatternException - | InvalidAssociation - | InvalidAssociationVersion - | InvalidAutomationExecutionParametersException - | InvalidAutomationSignalException - | InvalidAutomationStatusUpdateException - | InvalidCommandId - | InvalidDeleteInventoryParametersException - | InvalidDeletionIdException - | InvalidDocument - | InvalidDocumentContent - | InvalidDocumentOperation - | InvalidDocumentSchemaVersion - | InvalidDocumentType - | InvalidDocumentVersion - | InvalidFilter - | InvalidFilterKey - | InvalidFilterOption - | InvalidFilterValue - | InvalidInstanceId - | InvalidInstanceInformationFilterValue - | InvalidInstancePropertyFilterValue - | InvalidInventoryGroupException - | InvalidInventoryItemContextException - | InvalidInventoryRequestException - | InvalidItemContentException - | InvalidKeyId - | InvalidNextToken - | InvalidNotificationConfig - | InvalidOptionException - | InvalidOutputFolder - | InvalidOutputLocation - | InvalidParameters - | InvalidPermissionType - | InvalidPluginName - | InvalidPolicyAttributeException - | InvalidPolicyTypeException - | InvalidResourceId - | InvalidResourceType - | InvalidResultAttributeException - | InvalidRole - | InvalidSchedule - | InvalidTag - | InvalidTarget - | InvalidTargetMaps - | InvalidTypeNameException - | InvalidUpdate - | InvocationDoesNotExist - | ItemContentMismatchException - | ItemSizeLimitExceededException - | MalformedResourcePolicyDocumentException - | MaxDocumentSizeExceeded - | OpsItemAccessDeniedException - | OpsItemAlreadyExistsException - | OpsItemConflictException - | OpsItemInvalidParameterException - | OpsItemLimitExceededException - | OpsItemNotFoundException - | OpsItemRelatedItemAlreadyExistsException - | OpsItemRelatedItemAssociationNotFoundException - | OpsMetadataAlreadyExistsException - | OpsMetadataInvalidArgumentException - | OpsMetadataKeyLimitExceededException - | OpsMetadataLimitExceededException - | OpsMetadataNotFoundException - | OpsMetadataTooManyUpdatesException - | ParameterAlreadyExists - | ParameterLimitExceeded - | ParameterMaxVersionLimitExceeded - | ParameterNotFound - | ParameterPatternMismatchException - | ParameterVersionLabelLimitExceeded - | ParameterVersionNotFound - | PoliciesLimitExceededException - | ResourceDataSyncAlreadyExistsException - | ResourceDataSyncConflictException - | ResourceDataSyncCountExceededException - | ResourceDataSyncInvalidConfigurationException - | ResourceDataSyncNotFoundException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourcePolicyConflictException - | ResourcePolicyInvalidParameterException - | ResourcePolicyLimitExceededException - | ResourcePolicyNotFoundException - | ServiceQuotaExceededException - | ServiceSettingNotFound - | StatusUnchanged - | SubTypeCountLimitExceededException - | TargetInUseException - | TargetNotConnected - | ThrottlingException - | TooManyTagsError - | TooManyUpdates - | TotalSizeLimitExceededException - | UnsupportedCalendarException - | UnsupportedFeatureRequiredException - | UnsupportedInventoryItemContextException - | UnsupportedInventorySchemaVersionException - | UnsupportedOperatingSystem - | UnsupportedOperationException - | UnsupportedParameterType - | UnsupportedPlatformType - | ValidationException - | CommonAwsError; +export type SSMErrors = AccessDeniedException | AlreadyExistsException | AssociatedInstances | AssociationAlreadyExists | AssociationDoesNotExist | AssociationExecutionDoesNotExist | AssociationLimitExceeded | AssociationVersionLimitExceeded | AutomationDefinitionNotApprovedException | AutomationDefinitionNotFoundException | AutomationDefinitionVersionNotFoundException | AutomationExecutionLimitExceededException | AutomationExecutionNotFoundException | AutomationStepNotFoundException | ComplianceTypeCountLimitExceededException | CustomSchemaCountLimitExceededException | DocumentAlreadyExists | DocumentLimitExceeded | DocumentPermissionLimit | DocumentVersionLimitExceeded | DoesNotExistException | DuplicateDocumentContent | DuplicateDocumentVersionName | DuplicateInstanceId | FeatureNotAvailableException | HierarchyLevelLimitExceededException | HierarchyTypeMismatchException | IdempotentParameterMismatch | IncompatiblePolicyException | InternalServerError | InvalidActivation | InvalidActivationId | InvalidAggregatorException | InvalidAllowedPatternException | InvalidAssociation | InvalidAssociationVersion | InvalidAutomationExecutionParametersException | InvalidAutomationSignalException | InvalidAutomationStatusUpdateException | InvalidCommandId | InvalidDeleteInventoryParametersException | InvalidDeletionIdException | InvalidDocument | InvalidDocumentContent | InvalidDocumentOperation | InvalidDocumentSchemaVersion | InvalidDocumentType | InvalidDocumentVersion | InvalidFilter | InvalidFilterKey | InvalidFilterOption | InvalidFilterValue | InvalidInstanceId | InvalidInstanceInformationFilterValue | InvalidInstancePropertyFilterValue | InvalidInventoryGroupException | InvalidInventoryItemContextException | InvalidInventoryRequestException | InvalidItemContentException | InvalidKeyId | InvalidNextToken | InvalidNotificationConfig | InvalidOptionException | InvalidOutputFolder | InvalidOutputLocation | InvalidParameters | InvalidPermissionType | InvalidPluginName | InvalidPolicyAttributeException | InvalidPolicyTypeException | InvalidResourceId | InvalidResourceType | InvalidResultAttributeException | InvalidRole | InvalidSchedule | InvalidTag | InvalidTarget | InvalidTargetMaps | InvalidTypeNameException | InvalidUpdate | InvocationDoesNotExist | ItemContentMismatchException | ItemSizeLimitExceededException | MalformedResourcePolicyDocumentException | MaxDocumentSizeExceeded | OpsItemAccessDeniedException | OpsItemAlreadyExistsException | OpsItemConflictException | OpsItemInvalidParameterException | OpsItemLimitExceededException | OpsItemNotFoundException | OpsItemRelatedItemAlreadyExistsException | OpsItemRelatedItemAssociationNotFoundException | OpsMetadataAlreadyExistsException | OpsMetadataInvalidArgumentException | OpsMetadataKeyLimitExceededException | OpsMetadataLimitExceededException | OpsMetadataNotFoundException | OpsMetadataTooManyUpdatesException | ParameterAlreadyExists | ParameterLimitExceeded | ParameterMaxVersionLimitExceeded | ParameterNotFound | ParameterPatternMismatchException | ParameterVersionLabelLimitExceeded | ParameterVersionNotFound | PoliciesLimitExceededException | ResourceDataSyncAlreadyExistsException | ResourceDataSyncConflictException | ResourceDataSyncCountExceededException | ResourceDataSyncInvalidConfigurationException | ResourceDataSyncNotFoundException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ResourcePolicyConflictException | ResourcePolicyInvalidParameterException | ResourcePolicyLimitExceededException | ResourcePolicyNotFoundException | ServiceQuotaExceededException | ServiceSettingNotFound | StatusUnchanged | SubTypeCountLimitExceededException | TargetInUseException | TargetNotConnected | ThrottlingException | TooManyTagsError | TooManyUpdates | TotalSizeLimitExceededException | UnsupportedCalendarException | UnsupportedFeatureRequiredException | UnsupportedInventoryItemContextException | UnsupportedInventorySchemaVersionException | UnsupportedOperatingSystem | UnsupportedOperationException | UnsupportedParameterType | UnsupportedPlatformType | ValidationException | CommonAwsError; + diff --git a/src/services/sso-admin/index.ts b/src/services/sso-admin/index.ts index 2733970f..80396a83 100644 --- a/src/services/sso-admin/index.ts +++ b/src/services/sso-admin/index.ts @@ -5,23 +5,7 @@ import type { SSOAdmin as _SSOAdminClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/sso-admin/types.ts b/src/services/sso-admin/types.ts index c3c1bb2f..4907466c 100644 --- a/src/services/sso-admin/types.ts +++ b/src/services/sso-admin/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SSOAdmin extends AWSServiceClient { @@ -40,866 +8,451 @@ export declare class SSOAdmin extends AWSServiceClient { input: AttachCustomerManagedPolicyReferenceToPermissionSetRequest, ): Effect.Effect< AttachCustomerManagedPolicyReferenceToPermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; attachManagedPolicyToPermissionSet( input: AttachManagedPolicyToPermissionSetRequest, ): Effect.Effect< AttachManagedPolicyToPermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAccountAssignment( input: CreateAccountAssignmentRequest, ): Effect.Effect< CreateAccountAssignmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createApplication( input: CreateApplicationRequest, ): Effect.Effect< CreateApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createApplicationAssignment( input: CreateApplicationAssignmentRequest, ): Effect.Effect< CreateApplicationAssignmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createInstance( input: CreateInstanceRequest, ): Effect.Effect< CreateInstanceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createInstanceAccessControlAttributeConfiguration( input: CreateInstanceAccessControlAttributeConfigurationRequest, ): Effect.Effect< CreateInstanceAccessControlAttributeConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createPermissionSet( input: CreatePermissionSetRequest, ): Effect.Effect< CreatePermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTrustedTokenIssuer( input: CreateTrustedTokenIssuerRequest, ): Effect.Effect< CreateTrustedTokenIssuerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAccountAssignment( input: DeleteAccountAssignmentRequest, ): Effect.Effect< DeleteAccountAssignmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplication( input: DeleteApplicationRequest, ): Effect.Effect< DeleteApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplicationAssignment( input: DeleteApplicationAssignmentRequest, ): Effect.Effect< DeleteApplicationAssignmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteInlinePolicyFromPermissionSet( input: DeleteInlinePolicyFromPermissionSetRequest, ): Effect.Effect< DeleteInlinePolicyFromPermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteInstance( input: DeleteInstanceRequest, ): Effect.Effect< DeleteInstanceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteInstanceAccessControlAttributeConfiguration( input: DeleteInstanceAccessControlAttributeConfigurationRequest, ): Effect.Effect< DeleteInstanceAccessControlAttributeConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePermissionsBoundaryFromPermissionSet( input: DeletePermissionsBoundaryFromPermissionSetRequest, ): Effect.Effect< DeletePermissionsBoundaryFromPermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deletePermissionSet( input: DeletePermissionSetRequest, ): Effect.Effect< DeletePermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTrustedTokenIssuer( input: DeleteTrustedTokenIssuerRequest, ): Effect.Effect< DeleteTrustedTokenIssuerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAccountAssignmentCreationStatus( input: DescribeAccountAssignmentCreationStatusRequest, ): Effect.Effect< DescribeAccountAssignmentCreationStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAccountAssignmentDeletionStatus( input: DescribeAccountAssignmentDeletionStatusRequest, ): Effect.Effect< DescribeAccountAssignmentDeletionStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeApplication( input: DescribeApplicationRequest, ): Effect.Effect< DescribeApplicationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeApplicationAssignment( input: DescribeApplicationAssignmentRequest, ): Effect.Effect< DescribeApplicationAssignmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeApplicationProvider( input: DescribeApplicationProviderRequest, ): Effect.Effect< DescribeApplicationProviderResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeInstance( input: DescribeInstanceRequest, ): Effect.Effect< DescribeInstanceResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeInstanceAccessControlAttributeConfiguration( input: DescribeInstanceAccessControlAttributeConfigurationRequest, ): Effect.Effect< DescribeInstanceAccessControlAttributeConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePermissionSet( input: DescribePermissionSetRequest, ): Effect.Effect< DescribePermissionSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describePermissionSetProvisioningStatus( input: DescribePermissionSetProvisioningStatusRequest, ): Effect.Effect< DescribePermissionSetProvisioningStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeTrustedTokenIssuer( input: DescribeTrustedTokenIssuerRequest, ): Effect.Effect< DescribeTrustedTokenIssuerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; detachCustomerManagedPolicyReferenceFromPermissionSet( input: DetachCustomerManagedPolicyReferenceFromPermissionSetRequest, ): Effect.Effect< DetachCustomerManagedPolicyReferenceFromPermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; detachManagedPolicyFromPermissionSet( input: DetachManagedPolicyFromPermissionSetRequest, ): Effect.Effect< DetachManagedPolicyFromPermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplicationAssignmentConfiguration( input: GetApplicationAssignmentConfigurationRequest, ): Effect.Effect< GetApplicationAssignmentConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplicationSessionConfiguration( input: GetApplicationSessionConfigurationRequest, ): Effect.Effect< GetApplicationSessionConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getInlinePolicyForPermissionSet( input: GetInlinePolicyForPermissionSetRequest, ): Effect.Effect< GetInlinePolicyForPermissionSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPermissionsBoundaryForPermissionSet( input: GetPermissionsBoundaryForPermissionSetRequest, ): Effect.Effect< GetPermissionsBoundaryForPermissionSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAccountAssignmentCreationStatus( input: ListAccountAssignmentCreationStatusRequest, ): Effect.Effect< ListAccountAssignmentCreationStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAccountAssignmentDeletionStatus( input: ListAccountAssignmentDeletionStatusRequest, ): Effect.Effect< ListAccountAssignmentDeletionStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAccountAssignments( input: ListAccountAssignmentsRequest, ): Effect.Effect< ListAccountAssignmentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAccountAssignmentsForPrincipal( input: ListAccountAssignmentsForPrincipalRequest, ): Effect.Effect< ListAccountAssignmentsForPrincipalResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAccountsForProvisionedPermissionSet( input: ListAccountsForProvisionedPermissionSetRequest, ): Effect.Effect< ListAccountsForProvisionedPermissionSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplicationAssignments( input: ListApplicationAssignmentsRequest, ): Effect.Effect< ListApplicationAssignmentsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplicationAssignmentsForPrincipal( input: ListApplicationAssignmentsForPrincipalRequest, ): Effect.Effect< ListApplicationAssignmentsForPrincipalResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplicationProviders( input: ListApplicationProvidersRequest, ): Effect.Effect< ListApplicationProvidersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listApplications( input: ListApplicationsRequest, ): Effect.Effect< ListApplicationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listCustomerManagedPolicyReferencesInPermissionSet( input: ListCustomerManagedPolicyReferencesInPermissionSetRequest, ): Effect.Effect< ListCustomerManagedPolicyReferencesInPermissionSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInstances( input: ListInstancesRequest, ): Effect.Effect< ListInstancesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listManagedPoliciesInPermissionSet( input: ListManagedPoliciesInPermissionSetRequest, ): Effect.Effect< ListManagedPoliciesInPermissionSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPermissionSetProvisioningStatus( input: ListPermissionSetProvisioningStatusRequest, ): Effect.Effect< ListPermissionSetProvisioningStatusResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPermissionSets( input: ListPermissionSetsRequest, ): Effect.Effect< ListPermissionSetsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listPermissionSetsProvisionedToAccount( input: ListPermissionSetsProvisionedToAccountRequest, ): Effect.Effect< ListPermissionSetsProvisionedToAccountResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTrustedTokenIssuers( input: ListTrustedTokenIssuersRequest, ): Effect.Effect< ListTrustedTokenIssuersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; provisionPermissionSet( input: ProvisionPermissionSetRequest, ): Effect.Effect< ProvisionPermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putApplicationAssignmentConfiguration( input: PutApplicationAssignmentConfigurationRequest, ): Effect.Effect< PutApplicationAssignmentConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putApplicationSessionConfiguration( input: PutApplicationSessionConfigurationRequest, ): Effect.Effect< PutApplicationSessionConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putInlinePolicyToPermissionSet( input: PutInlinePolicyToPermissionSetRequest, ): Effect.Effect< PutInlinePolicyToPermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; putPermissionsBoundaryToPermissionSet( input: PutPermissionsBoundaryToPermissionSetRequest, ): Effect.Effect< PutPermissionsBoundaryToPermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateApplication( input: UpdateApplicationRequest, ): Effect.Effect< UpdateApplicationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateInstance( input: UpdateInstanceRequest, ): Effect.Effect< UpdateInstanceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateInstanceAccessControlAttributeConfiguration( input: UpdateInstanceAccessControlAttributeConfigurationRequest, ): Effect.Effect< UpdateInstanceAccessControlAttributeConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePermissionSet( input: UpdatePermissionSetRequest, ): Effect.Effect< UpdatePermissionSetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTrustedTokenIssuer( input: UpdateTrustedTokenIssuerRequest, ): Effect.Effect< UpdateTrustedTokenIssuerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplicationAccessScope( input: DeleteApplicationAccessScopeRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplicationAuthenticationMethod( input: DeleteApplicationAuthenticationMethodRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteApplicationGrant( input: DeleteApplicationGrantRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplicationAccessScope( input: GetApplicationAccessScopeRequest, ): Effect.Effect< GetApplicationAccessScopeResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplicationAuthenticationMethod( input: GetApplicationAuthenticationMethodRequest, ): Effect.Effect< GetApplicationAuthenticationMethodResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getApplicationGrant( input: GetApplicationGrantRequest, ): Effect.Effect< GetApplicationGrantResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplicationAccessScopes( input: ListApplicationAccessScopesRequest, ): Effect.Effect< ListApplicationAccessScopesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplicationAuthenticationMethods( input: ListApplicationAuthenticationMethodsRequest, ): Effect.Effect< ListApplicationAuthenticationMethodsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listApplicationGrants( input: ListApplicationGrantsRequest, ): Effect.Effect< ListApplicationGrantsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putApplicationAccessScope( input: PutApplicationAccessScopeRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putApplicationAuthenticationMethod( input: PutApplicationAuthenticationMethodRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putApplicationGrant( input: PutApplicationGrantRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -940,8 +493,7 @@ export interface AccountAssignmentForPrincipal { PrincipalType?: PrincipalType; } export type AccountAssignmentList = Array; -export type AccountAssignmentListForPrincipal = - Array; +export type AccountAssignmentListForPrincipal = Array; export interface AccountAssignmentOperationStatus { Status?: StatusValues; RequestId?: string; @@ -953,8 +505,7 @@ export interface AccountAssignmentOperationStatus { PrincipalId?: string; CreatedDate?: Date | string; } -export type AccountAssignmentOperationStatusList = - Array; +export type AccountAssignmentOperationStatusList = Array; export interface AccountAssignmentOperationStatusMetadata { Status?: StatusValues; RequestId?: string; @@ -988,8 +539,7 @@ export interface ApplicationAssignmentForPrincipal { PrincipalId?: string; PrincipalType?: PrincipalType; } -export type ApplicationAssignmentListForPrincipal = - Array; +export type ApplicationAssignmentListForPrincipal = Array; export type ApplicationAssignmentsList = Array; export type ApplicationList = Array; export type ApplicationNameType = string; @@ -1014,7 +564,8 @@ export interface AttachCustomerManagedPolicyReferenceToPermissionSetRequest { PermissionSetArn: string; CustomerManagedPolicyReference: CustomerManagedPolicyReference; } -export interface AttachCustomerManagedPolicyReferenceToPermissionSetResponse {} +export interface AttachCustomerManagedPolicyReferenceToPermissionSetResponse { +} export interface AttachedManagedPolicy { Name?: string; Arn?: string; @@ -1025,14 +576,13 @@ export interface AttachManagedPolicyToPermissionSetRequest { PermissionSetArn: string; ManagedPolicyArn: string; } -export interface AttachManagedPolicyToPermissionSetResponse {} +export interface AttachManagedPolicyToPermissionSetResponse { +} interface _AuthenticationMethod { Iam?: IamAuthenticationMethod; } -export type AuthenticationMethod = _AuthenticationMethod & { - Iam: IamAuthenticationMethod; -}; +export type AuthenticationMethod = (_AuthenticationMethod & { Iam: IamAuthenticationMethod }); export interface AuthenticationMethodItem { AuthenticationMethodType?: AuthenticationMethodType; AuthenticationMethod?: AuthenticationMethod; @@ -1074,7 +624,8 @@ export interface CreateApplicationAssignmentRequest { PrincipalId: string; PrincipalType: PrincipalType; } -export interface CreateApplicationAssignmentResponse {} +export interface CreateApplicationAssignmentResponse { +} export interface CreateApplicationRequest { InstanceArn: string; ApplicationProviderArn: string; @@ -1092,7 +643,8 @@ export interface CreateInstanceAccessControlAttributeConfigurationRequest { InstanceArn: string; InstanceAccessControlAttributeConfiguration: InstanceAccessControlAttributeConfiguration; } -export interface CreateInstanceAccessControlAttributeConfigurationResponse {} +export interface CreateInstanceAccessControlAttributeConfigurationResponse { +} export interface CreateInstanceRequest { Name?: string; ClientToken?: string; @@ -1127,8 +679,7 @@ export interface CustomerManagedPolicyReference { Name: string; Path?: string; } -export type CustomerManagedPolicyReferenceList = - Array; +export type CustomerManagedPolicyReferenceList = Array; export type SsoAdminDate = Date | string; export interface DeleteAccountAssignmentRequest { @@ -1151,7 +702,8 @@ export interface DeleteApplicationAssignmentRequest { PrincipalId: string; PrincipalType: PrincipalType; } -export interface DeleteApplicationAssignmentResponse {} +export interface DeleteApplicationAssignmentResponse { +} export interface DeleteApplicationAuthenticationMethodRequest { ApplicationArn: string; AuthenticationMethodType: AuthenticationMethodType; @@ -1163,34 +715,41 @@ export interface DeleteApplicationGrantRequest { export interface DeleteApplicationRequest { ApplicationArn: string; } -export interface DeleteApplicationResponse {} +export interface DeleteApplicationResponse { +} export interface DeleteInlinePolicyFromPermissionSetRequest { InstanceArn: string; PermissionSetArn: string; } -export interface DeleteInlinePolicyFromPermissionSetResponse {} +export interface DeleteInlinePolicyFromPermissionSetResponse { +} export interface DeleteInstanceAccessControlAttributeConfigurationRequest { InstanceArn: string; } -export interface DeleteInstanceAccessControlAttributeConfigurationResponse {} +export interface DeleteInstanceAccessControlAttributeConfigurationResponse { +} export interface DeleteInstanceRequest { InstanceArn: string; } -export interface DeleteInstanceResponse {} +export interface DeleteInstanceResponse { +} export interface DeletePermissionsBoundaryFromPermissionSetRequest { InstanceArn: string; PermissionSetArn: string; } -export interface DeletePermissionsBoundaryFromPermissionSetResponse {} +export interface DeletePermissionsBoundaryFromPermissionSetResponse { +} export interface DeletePermissionSetRequest { InstanceArn: string; PermissionSetArn: string; } -export interface DeletePermissionSetResponse {} +export interface DeletePermissionSetResponse { +} export interface DeleteTrustedTokenIssuerRequest { TrustedTokenIssuerArn: string; } -export interface DeleteTrustedTokenIssuerResponse {} +export interface DeleteTrustedTokenIssuerResponse { +} export interface DescribeAccountAssignmentCreationStatusRequest { InstanceArn: string; AccountAssignmentCreationRequestId: string; @@ -1289,13 +848,15 @@ export interface DetachCustomerManagedPolicyReferenceFromPermissionSetRequest { PermissionSetArn: string; CustomerManagedPolicyReference: CustomerManagedPolicyReference; } -export interface DetachCustomerManagedPolicyReferenceFromPermissionSetResponse {} +export interface DetachCustomerManagedPolicyReferenceFromPermissionSetResponse { +} export interface DetachManagedPolicyFromPermissionSetRequest { InstanceArn: string; PermissionSetArn: string; ManagedPolicyArn: string; } -export interface DetachManagedPolicyFromPermissionSetResponse {} +export interface DetachManagedPolicyFromPermissionSetResponse { +} export interface DisplayData { DisplayName?: string; IconUrl?: string; @@ -1369,21 +930,13 @@ interface _Grant { TokenExchange?: TokenExchangeGrant; } -export type Grant = - | (_Grant & { AuthorizationCode: AuthorizationCodeGrant }) - | (_Grant & { JwtBearer: JwtBearerGrant }) - | (_Grant & { RefreshToken: RefreshTokenGrant }) - | (_Grant & { TokenExchange: TokenExchangeGrant }); +export type Grant = (_Grant & { AuthorizationCode: AuthorizationCodeGrant }) | (_Grant & { JwtBearer: JwtBearerGrant }) | (_Grant & { RefreshToken: RefreshTokenGrant }) | (_Grant & { TokenExchange: TokenExchangeGrant }); export interface GrantItem { GrantType: GrantType; Grant: Grant; } export type Grants = Array; -export type GrantType = - | "authorization_code" - | "refresh_token" - | "urn:ietf:params:oauth:grant-type:jwt-bearer" - | "urn:ietf:params:oauth:grant-type:token-exchange"; +export type GrantType = "authorization_code" | "refresh_token" | "urn:ietf:params:oauth:grant-type:jwt-bearer" | "urn:ietf:params:oauth:grant-type:token-exchange"; export interface IamAuthenticationMethod { ActorPolicy: unknown; } @@ -1394,10 +947,7 @@ export type Id = string; export interface InstanceAccessControlAttributeConfiguration { AccessControlAttributes: Array; } -export type InstanceAccessControlAttributeConfigurationStatus = - | "ENABLED" - | "CREATION_IN_PROGRESS" - | "CREATION_FAILED"; +export type InstanceAccessControlAttributeConfigurationStatus = "ENABLED" | "CREATION_IN_PROGRESS" | "CREATION_FAILED"; export type InstanceAccessControlAttributeConfigurationStatusReason = string; export type InstanceArn = string; @@ -1412,11 +962,7 @@ export interface InstanceMetadata { Status?: InstanceStatus; StatusReason?: string; } -export type InstanceStatus = - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "DELETE_IN_PROGRESS" - | "ACTIVE"; +export type InstanceStatus = "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "ACTIVE"; export type InternalFailureMessage = string; export declare class InternalServerException extends EffectData.TaggedError( @@ -1693,8 +1239,7 @@ export interface PermissionSetProvisioningStatus { FailureReason?: string; CreatedDate?: Date | string; } -export type PermissionSetProvisioningStatusList = - Array; +export type PermissionSetProvisioningStatusList = Array; export interface PermissionSetProvisioningStatusMetadata { Status?: StatusValues; RequestId?: string; @@ -1707,9 +1252,7 @@ export interface PortalOptions { export type PrincipalId = string; export type PrincipalType = "USER" | "GROUP"; -export type ProvisioningStatus = - | "LATEST_PERMISSION_SET_PROVISIONED" - | "LATEST_PERMISSION_SET_NOT_PROVISIONED"; +export type ProvisioningStatus = "LATEST_PERMISSION_SET_PROVISIONED" | "LATEST_PERMISSION_SET_NOT_PROVISIONED"; export interface ProvisionPermissionSetRequest { InstanceArn: string; PermissionSetArn: string; @@ -1729,7 +1272,8 @@ export interface PutApplicationAssignmentConfigurationRequest { ApplicationArn: string; AssignmentRequired: boolean; } -export interface PutApplicationAssignmentConfigurationResponse {} +export interface PutApplicationAssignmentConfigurationResponse { +} export interface PutApplicationAuthenticationMethodRequest { ApplicationArn: string; AuthenticationMethodType: AuthenticationMethodType; @@ -1744,23 +1288,27 @@ export interface PutApplicationSessionConfigurationRequest { ApplicationArn: string; UserBackgroundSessionApplicationStatus?: UserBackgroundSessionApplicationStatus; } -export interface PutApplicationSessionConfigurationResponse {} +export interface PutApplicationSessionConfigurationResponse { +} export interface PutInlinePolicyToPermissionSetRequest { InstanceArn: string; PermissionSetArn: string; InlinePolicy: string; } -export interface PutInlinePolicyToPermissionSetResponse {} +export interface PutInlinePolicyToPermissionSetResponse { +} export interface PutPermissionsBoundaryToPermissionSetRequest { InstanceArn: string; PermissionSetArn: string; PermissionsBoundary: PermissionsBoundary; } -export interface PutPermissionsBoundaryToPermissionSetResponse {} +export interface PutPermissionsBoundaryToPermissionSetResponse { +} export type Reason = string; export type RedirectUris = Array; -export interface RefreshTokenGrant {} +export interface RefreshTokenGrant { +} export type RelayState = string; export declare class ResourceNotFoundException extends EffectData.TaggedError( @@ -1820,7 +1368,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TargetId = string; @@ -1837,7 +1386,8 @@ export type ThrottlingExceptionMessage = string; export type ThrottlingExceptionReason = "KMS_ThrottlingException"; export type Token = string; -export interface TokenExchangeGrant {} +export interface TokenExchangeGrant { +} export type TokenIssuerAudience = string; export type TokenIssuerAudiences = Array; @@ -1847,10 +1397,7 @@ interface _TrustedTokenIssuerConfiguration { OidcJwtConfiguration?: OidcJwtConfiguration; } -export type TrustedTokenIssuerConfiguration = - _TrustedTokenIssuerConfiguration & { - OidcJwtConfiguration: OidcJwtConfiguration; - }; +export type TrustedTokenIssuerConfiguration = (_TrustedTokenIssuerConfiguration & { OidcJwtConfiguration: OidcJwtConfiguration }); export type TrustedTokenIssuerList = Array; export interface TrustedTokenIssuerMetadata { TrustedTokenIssuerArn?: string; @@ -1864,10 +1411,7 @@ interface _TrustedTokenIssuerUpdateConfiguration { OidcJwtConfiguration?: OidcJwtUpdateConfiguration; } -export type TrustedTokenIssuerUpdateConfiguration = - _TrustedTokenIssuerUpdateConfiguration & { - OidcJwtConfiguration: OidcJwtUpdateConfiguration; - }; +export type TrustedTokenIssuerUpdateConfiguration = (_TrustedTokenIssuerUpdateConfiguration & { OidcJwtConfiguration: OidcJwtUpdateConfiguration }); export type TrustedTokenIssuerUrl = string; export interface UntagResourceRequest { @@ -1875,7 +1419,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateApplicationPortalOptions { SignInOptions?: SignInOptions; } @@ -1886,18 +1431,21 @@ export interface UpdateApplicationRequest { Status?: ApplicationStatus; PortalOptions?: UpdateApplicationPortalOptions; } -export interface UpdateApplicationResponse {} +export interface UpdateApplicationResponse { +} export interface UpdateInstanceAccessControlAttributeConfigurationRequest { InstanceArn: string; InstanceAccessControlAttributeConfiguration: InstanceAccessControlAttributeConfiguration; } -export interface UpdateInstanceAccessControlAttributeConfigurationResponse {} +export interface UpdateInstanceAccessControlAttributeConfigurationResponse { +} export interface UpdateInstanceRequest { Name?: string; InstanceArn: string; EncryptionConfiguration?: EncryptionConfiguration; } -export interface UpdateInstanceResponse {} +export interface UpdateInstanceResponse { +} export interface UpdatePermissionSetRequest { InstanceArn: string; PermissionSetArn: string; @@ -1905,13 +1453,15 @@ export interface UpdatePermissionSetRequest { SessionDuration?: string; RelayState?: string; } -export interface UpdatePermissionSetResponse {} +export interface UpdatePermissionSetResponse { +} export interface UpdateTrustedTokenIssuerRequest { TrustedTokenIssuerArn: string; Name?: string; TrustedTokenIssuerConfiguration?: TrustedTokenIssuerUpdateConfiguration; } -export interface UpdateTrustedTokenIssuerResponse {} +export interface UpdateTrustedTokenIssuerResponse { +} export type URI = string; export type UserBackgroundSessionApplicationStatus = "ENABLED" | "DISABLED"; @@ -1925,15 +1475,10 @@ export declare class ValidationException extends EffectData.TaggedError( }> {} export type ValidationExceptionMessage = string; -export type ValidationExceptionReason = - | "KMS_InvalidKeyUsageException" - | "KMS_InvalidStateException" - | "KMS_DisabledException"; +export type ValidationExceptionReason = "KMS_InvalidKeyUsageException" | "KMS_InvalidStateException" | "KMS_DisabledException"; export declare namespace AttachCustomerManagedPolicyReferenceToPermissionSet { - export type Input = - AttachCustomerManagedPolicyReferenceToPermissionSetRequest; - export type Output = - AttachCustomerManagedPolicyReferenceToPermissionSetResponse; + export type Input = AttachCustomerManagedPolicyReferenceToPermissionSetRequest; + export type Output = AttachCustomerManagedPolicyReferenceToPermissionSetResponse; export type Error = | AccessDeniedException | ConflictException @@ -2016,8 +1561,7 @@ export declare namespace CreateInstance { export declare namespace CreateInstanceAccessControlAttributeConfiguration { export type Input = CreateInstanceAccessControlAttributeConfigurationRequest; - export type Output = - CreateInstanceAccessControlAttributeConfigurationResponse; + export type Output = CreateInstanceAccessControlAttributeConfigurationResponse; export type Error = | AccessDeniedException | ConflictException @@ -2121,8 +1665,7 @@ export declare namespace DeleteInstance { export declare namespace DeleteInstanceAccessControlAttributeConfiguration { export type Input = DeleteInstanceAccessControlAttributeConfigurationRequest; - export type Output = - DeleteInstanceAccessControlAttributeConfigurationResponse; + export type Output = DeleteInstanceAccessControlAttributeConfigurationResponse; export type Error = | AccessDeniedException | ConflictException @@ -2244,10 +1787,8 @@ export declare namespace DescribeInstance { } export declare namespace DescribeInstanceAccessControlAttributeConfiguration { - export type Input = - DescribeInstanceAccessControlAttributeConfigurationRequest; - export type Output = - DescribeInstanceAccessControlAttributeConfigurationResponse; + export type Input = DescribeInstanceAccessControlAttributeConfigurationRequest; + export type Output = DescribeInstanceAccessControlAttributeConfigurationResponse; export type Error = | AccessDeniedException | InternalServerException @@ -2294,10 +1835,8 @@ export declare namespace DescribeTrustedTokenIssuer { } export declare namespace DetachCustomerManagedPolicyReferenceFromPermissionSet { - export type Input = - DetachCustomerManagedPolicyReferenceFromPermissionSetRequest; - export type Output = - DetachCustomerManagedPolicyReferenceFromPermissionSetResponse; + export type Input = DetachCustomerManagedPolicyReferenceFromPermissionSetRequest; + export type Output = DetachCustomerManagedPolicyReferenceFromPermissionSetResponse; export type Error = | AccessDeniedException | ConflictException @@ -2477,8 +2016,7 @@ export declare namespace ListApplications { export declare namespace ListCustomerManagedPolicyReferencesInPermissionSet { export type Input = ListCustomerManagedPolicyReferencesInPermissionSetRequest; - export type Output = - ListCustomerManagedPolicyReferencesInPermissionSetResponse; + export type Output = ListCustomerManagedPolicyReferencesInPermissionSetResponse; export type Error = | AccessDeniedException | InternalServerException @@ -2691,8 +2229,7 @@ export declare namespace UpdateInstance { export declare namespace UpdateInstanceAccessControlAttributeConfiguration { export type Input = UpdateInstanceAccessControlAttributeConfigurationRequest; - export type Output = - UpdateInstanceAccessControlAttributeConfigurationResponse; + export type Output = UpdateInstanceAccessControlAttributeConfigurationResponse; export type Error = | AccessDeniedException | ConflictException @@ -2879,12 +2416,5 @@ export declare namespace PutApplicationGrant { | CommonAwsError; } -export type SSOAdminErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SSOAdminErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/sso-oidc/index.ts b/src/services/sso-oidc/index.ts index 38d80802..c76b63d9 100644 --- a/src/services/sso-oidc/index.ts +++ b/src/services/sso-oidc/index.ts @@ -5,24 +5,7 @@ import type { SSOOIDC as _SSOOIDCClient } from "./types.ts"; export * from "./types.ts"; -export { - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -32,10 +15,10 @@ const metadata = { sigV4ServiceName: "sso-oauth", endpointPrefix: "oidc", operations: { - CreateToken: "POST /token", - CreateTokenWithIAM: "POST /token?aws_iam=t", - RegisterClient: "POST /client/register", - StartDeviceAuthorization: "POST /device_authorization", + "CreateToken": "POST /token", + "CreateTokenWithIAM": "POST /token?aws_iam=t", + "RegisterClient": "POST /client/register", + "StartDeviceAuthorization": "POST /device_authorization", }, } as const satisfies ServiceMetadata; diff --git a/src/services/sso-oidc/types.ts b/src/services/sso-oidc/types.ts index 95c86edc..313159ee 100644 --- a/src/services/sso-oidc/types.ts +++ b/src/services/sso-oidc/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ExpiredTokenException; +import type { IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ExpiredTokenException; import { AWSServiceClient } from "../../client.ts"; export declare class SSOOIDC extends AWSServiceClient { @@ -41,60 +8,25 @@ export declare class SSOOIDC extends AWSServiceClient { input: CreateTokenRequest, ): Effect.Effect< CreateTokenResponse, - | AccessDeniedException - | AuthorizationPendingException - | ExpiredTokenException - | InternalServerException - | InvalidClientException - | InvalidGrantException - | InvalidRequestException - | InvalidScopeException - | SlowDownException - | UnauthorizedClientException - | UnsupportedGrantTypeException - | CommonAwsError + AccessDeniedException | AuthorizationPendingException | ExpiredTokenException | InternalServerException | InvalidClientException | InvalidGrantException | InvalidRequestException | InvalidScopeException | SlowDownException | UnauthorizedClientException | UnsupportedGrantTypeException | CommonAwsError >; createTokenWithIAM( input: CreateTokenWithIAMRequest, ): Effect.Effect< CreateTokenWithIAMResponse, - | AccessDeniedException - | AuthorizationPendingException - | ExpiredTokenException - | InternalServerException - | InvalidClientException - | InvalidGrantException - | InvalidRequestException - | InvalidRequestRegionException - | InvalidScopeException - | SlowDownException - | UnauthorizedClientException - | UnsupportedGrantTypeException - | CommonAwsError + AccessDeniedException | AuthorizationPendingException | ExpiredTokenException | InternalServerException | InvalidClientException | InvalidGrantException | InvalidRequestException | InvalidRequestRegionException | InvalidScopeException | SlowDownException | UnauthorizedClientException | UnsupportedGrantTypeException | CommonAwsError >; registerClient( input: RegisterClientRequest, ): Effect.Effect< RegisterClientResponse, - | InternalServerException - | InvalidClientMetadataException - | InvalidRedirectUriException - | InvalidRequestException - | InvalidScopeException - | SlowDownException - | UnsupportedGrantTypeException - | CommonAwsError + InternalServerException | InvalidClientMetadataException | InvalidRedirectUriException | InvalidRequestException | InvalidScopeException | SlowDownException | UnsupportedGrantTypeException | CommonAwsError >; startDeviceAuthorization( input: StartDeviceAuthorizationRequest, ): Effect.Effect< StartDeviceAuthorizationResponse, - | InternalServerException - | InvalidClientException - | InvalidRequestException - | SlowDownException - | UnauthorizedClientException - | CommonAwsError + InternalServerException | InvalidClientException | InvalidRequestException | SlowDownException | UnauthorizedClientException | CommonAwsError >; } @@ -236,11 +168,7 @@ export declare class InvalidRequestException extends EffectData.TaggedError( readonly reason?: InvalidRequestExceptionReason; readonly error_description?: string; }> {} -export type InvalidRequestExceptionReason = - | "KMS_NotFoundException" - | "KMS_InvalidKeyUsageException" - | "KMS_InvalidStateException" - | "KMS_DisabledException"; +export type InvalidRequestExceptionReason = "KMS_NotFoundException" | "KMS_InvalidKeyUsageException" | "KMS_InvalidStateException" | "KMS_DisabledException"; export declare class InvalidRequestRegionException extends EffectData.TaggedError( "InvalidRequestRegionException", )<{ @@ -388,19 +316,5 @@ export declare namespace StartDeviceAuthorization { | CommonAwsError; } -export type SSOOIDCErrors = - | AccessDeniedException - | AuthorizationPendingException - | ExpiredTokenException - | InternalServerException - | InvalidClientException - | InvalidClientMetadataException - | InvalidGrantException - | InvalidRedirectUriException - | InvalidRequestException - | InvalidRequestRegionException - | InvalidScopeException - | SlowDownException - | UnauthorizedClientException - | UnsupportedGrantTypeException - | CommonAwsError; +export type SSOOIDCErrors = AccessDeniedException | AuthorizationPendingException | ExpiredTokenException | InternalServerException | InvalidClientException | InvalidClientMetadataException | InvalidGrantException | InvalidRedirectUriException | InvalidRequestException | InvalidRequestRegionException | InvalidScopeException | SlowDownException | UnauthorizedClientException | UnsupportedGrantTypeException | CommonAwsError; + diff --git a/src/services/sso/index.ts b/src/services/sso/index.ts index bfa909f6..d18f5895 100644 --- a/src/services/sso/index.ts +++ b/src/services/sso/index.ts @@ -5,26 +5,7 @@ import type { SSO as _SSOClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,10 +15,10 @@ const metadata = { sigV4ServiceName: "awsssoportal", endpointPrefix: "portal.sso", operations: { - GetRoleCredentials: "GET /federation/credentials", - ListAccountRoles: "GET /assignment/roles", - ListAccounts: "GET /assignment/accounts", - Logout: "POST /logout", + "GetRoleCredentials": "GET /federation/credentials", + "ListAccountRoles": "GET /assignment/roles", + "ListAccounts": "GET /assignment/accounts", + "Logout": "POST /logout", }, } as const satisfies ServiceMetadata; diff --git a/src/services/sso/types.ts b/src/services/sso/types.ts index 3ac269ba..0aa5a7a5 100644 --- a/src/services/sso/types.ts +++ b/src/services/sso/types.ts @@ -7,40 +7,25 @@ export declare class SSO extends AWSServiceClient { input: GetRoleCredentialsRequest, ): Effect.Effect< GetRoleCredentialsResponse, - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listAccountRoles( input: ListAccountRolesRequest, ): Effect.Effect< ListAccountRolesResponse, - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; listAccounts( input: ListAccountsRequest, ): Effect.Effect< ListAccountsResponse, - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; logout( input: LogoutRequest, ): Effect.Effect< {}, - | InvalidRequestException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError + InvalidRequestException | TooManyRequestsException | UnauthorizedException | CommonAwsError >; } @@ -180,9 +165,5 @@ export declare namespace Logout { | CommonAwsError; } -export type SSOErrors = - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | UnauthorizedException - | CommonAwsError; +export type SSOErrors = InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | UnauthorizedException | CommonAwsError; + diff --git a/src/services/storage-gateway/index.ts b/src/services/storage-gateway/index.ts index c6e690f1..8e4f4e0d 100644 --- a/src/services/storage-gateway/index.ts +++ b/src/services/storage-gateway/index.ts @@ -5,26 +5,7 @@ import type { StorageGateway as _StorageGatewayClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/storage-gateway/types.ts b/src/services/storage-gateway/types.ts index 710ee6a7..2a96c014 100644 --- a/src/services/storage-gateway/types.ts +++ b/src/services/storage-gateway/types.ts @@ -91,19 +91,13 @@ export declare class StorageGateway extends AWSServiceClient { input: CreateSnapshotInput, ): Effect.Effect< CreateSnapshotOutput, - | InternalServerError - | InvalidGatewayRequestException - | ServiceUnavailableError - | CommonAwsError + InternalServerError | InvalidGatewayRequestException | ServiceUnavailableError | CommonAwsError >; createSnapshotFromVolumeRecoveryPoint( input: CreateSnapshotFromVolumeRecoveryPointInput, ): Effect.Effect< CreateSnapshotFromVolumeRecoveryPointOutput, - | InternalServerError - | InvalidGatewayRequestException - | ServiceUnavailableError - | CommonAwsError + InternalServerError | InvalidGatewayRequestException | ServiceUnavailableError | CommonAwsError >; createStorediSCSIVolume( input: CreateStorediSCSIVolumeInput, @@ -602,15 +596,7 @@ export interface ActivateGatewayOutput { } export type ActivationKey = string; -export type ActiveDirectoryStatus = - | "ACCESS_DENIED" - | "DETACHED" - | "JOINED" - | "JOINING" - | "NETWORK_ERROR" - | "TIMEOUT" - | "UNKNOWN_ERROR" - | "INSUFFICIENT_PERMISSIONS"; +export type ActiveDirectoryStatus = "ACCESS_DENIED" | "DETACHED" | "JOINED" | "JOINING" | "NETWORK_ERROR" | "TIMEOUT" | "UNKNOWN_ERROR" | "INSUFFICIENT_PERMISSIONS"; export interface AddCacheInput { GatewayARN: string; DiskIds: Array; @@ -680,8 +666,7 @@ export interface AutomaticTapeCreationPolicyInfo { AutomaticTapeCreationRules?: Array; GatewayARN?: string; } -export type AutomaticTapeCreationPolicyInfos = - Array; +export type AutomaticTapeCreationPolicyInfos = Array; export interface AutomaticTapeCreationRule { TapeBarcodePrefix: string; PoolId: string; @@ -759,12 +744,7 @@ export interface CacheReportInfo { export type CacheReportList = Array; export type CacheReportName = string; -export type CacheReportStatus = - | "IN_PROGRESS" - | "COMPLETED" - | "CANCELED" - | "FAILED" - | "ERROR"; +export type CacheReportStatus = "IN_PROGRESS" | "COMPLETED" | "CANCELED" | "FAILED" | "ERROR"; export type CacheStaleTimeoutInSeconds = number; export interface CancelArchivalInput { @@ -1299,69 +1279,7 @@ export interface EndpointNetworkConfiguration { } export type EndpointType = string; -export type ErrorCode = - | "ActivationKeyExpired" - | "ActivationKeyInvalid" - | "ActivationKeyNotFound" - | "GatewayInternalError" - | "GatewayNotConnected" - | "GatewayNotFound" - | "GatewayProxyNetworkConnectionBusy" - | "AuthenticationFailure" - | "BandwidthThrottleScheduleNotFound" - | "Blocked" - | "CannotExportSnapshot" - | "ChapCredentialNotFound" - | "DiskAlreadyAllocated" - | "DiskDoesNotExist" - | "DiskSizeGreaterThanVolumeMaxSize" - | "DiskSizeLessThanVolumeSize" - | "DiskSizeNotGigAligned" - | "DuplicateCertificateInfo" - | "DuplicateSchedule" - | "EndpointNotFound" - | "IAMNotSupported" - | "InitiatorInvalid" - | "InitiatorNotFound" - | "InternalError" - | "InvalidGateway" - | "InvalidEndpoint" - | "InvalidParameters" - | "InvalidSchedule" - | "LocalStorageLimitExceeded" - | "LunAlreadyAllocated " - | "LunInvalid" - | "JoinDomainInProgress" - | "MaximumContentLengthExceeded" - | "MaximumTapeCartridgeCountExceeded" - | "MaximumVolumeCountExceeded" - | "NetworkConfigurationChanged" - | "NoDisksAvailable" - | "NotImplemented" - | "NotSupported" - | "OperationAborted" - | "OutdatedGateway" - | "ParametersNotImplemented" - | "RegionInvalid" - | "RequestTimeout" - | "ServiceUnavailable" - | "SnapshotDeleted" - | "SnapshotIdInvalid" - | "SnapshotInProgress" - | "SnapshotNotFound" - | "SnapshotScheduleNotFound" - | "StagingAreaFull" - | "StorageFailure" - | "TapeCartridgeNotFound" - | "TargetAlreadyExists" - | "TargetInvalid" - | "TargetNotFound" - | "UnauthorizedOperation" - | "VolumeAlreadyExists" - | "VolumeIdInvalid" - | "VolumeInUse" - | "VolumeNotFound" - | "VolumeNotReady"; +export type ErrorCode = "ActivationKeyExpired" | "ActivationKeyInvalid" | "ActivationKeyNotFound" | "GatewayInternalError" | "GatewayNotConnected" | "GatewayNotFound" | "GatewayProxyNetworkConnectionBusy" | "AuthenticationFailure" | "BandwidthThrottleScheduleNotFound" | "Blocked" | "CannotExportSnapshot" | "ChapCredentialNotFound" | "DiskAlreadyAllocated" | "DiskDoesNotExist" | "DiskSizeGreaterThanVolumeMaxSize" | "DiskSizeLessThanVolumeSize" | "DiskSizeNotGigAligned" | "DuplicateCertificateInfo" | "DuplicateSchedule" | "EndpointNotFound" | "IAMNotSupported" | "InitiatorInvalid" | "InitiatorNotFound" | "InternalError" | "InvalidGateway" | "InvalidEndpoint" | "InvalidParameters" | "InvalidSchedule" | "LocalStorageLimitExceeded" | "LunAlreadyAllocated " | "LunInvalid" | "JoinDomainInProgress" | "MaximumContentLengthExceeded" | "MaximumTapeCartridgeCountExceeded" | "MaximumVolumeCountExceeded" | "NetworkConfigurationChanged" | "NoDisksAvailable" | "NotImplemented" | "NotSupported" | "OperationAborted" | "OutdatedGateway" | "ParametersNotImplemented" | "RegionInvalid" | "RequestTimeout" | "ServiceUnavailable" | "SnapshotDeleted" | "SnapshotIdInvalid" | "SnapshotInProgress" | "SnapshotNotFound" | "SnapshotScheduleNotFound" | "StagingAreaFull" | "StorageFailure" | "TapeCartridgeNotFound" | "TargetAlreadyExists" | "TargetInvalid" | "TargetNotFound" | "UnauthorizedOperation" | "VolumeAlreadyExists" | "VolumeIdInvalid" | "VolumeInUse" | "VolumeNotFound" | "VolumeNotReady"; export type errorDetails = Record; export interface EvictFilesFailingUploadInput { FileShareARN: string; @@ -1411,16 +1329,14 @@ export type FileSystemAssociationStatus = string; export interface FileSystemAssociationStatusDetail { ErrorCode?: string; } -export type FileSystemAssociationStatusDetails = - Array; +export type FileSystemAssociationStatusDetails = Array; export interface FileSystemAssociationSummary { FileSystemAssociationId?: string; FileSystemAssociationARN?: string; FileSystemAssociationStatus?: string; GatewayARN?: string; } -export type FileSystemAssociationSummaryList = - Array; +export type FileSystemAssociationSummaryList = Array; export type FileSystemAssociationSyncErrorCode = string; export type FileSystemLocationARN = string; @@ -1460,13 +1376,7 @@ export type GatewayType = string; export type Host = string; -export type HostEnvironment = - | "VMWARE" - | "HYPER-V" - | "EC2" - | "KVM" - | "OTHER" - | "SNOWBALL"; +export type HostEnvironment = "VMWARE" | "HYPER-V" | "EC2" | "KVM" | "OTHER" | "SNOWBALL"; export type HostEnvironmentId = string; export type Hosts = Array; @@ -1682,14 +1592,7 @@ export interface NotifyWhenUploadedOutput { } export type NumTapesToCreate = number; -export type ObjectACL = - | "private" - | "public-read" - | "public-read-write" - | "authenticated-read" - | "bucket-owner-read" - | "bucket-owner-full-control" - | "aws-exec-read"; +export type ObjectACL = "private" | "public-read" | "public-read-write" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control" | "aws-exec-read"; export type OrganizationalUnit = string; export type Path = string; @@ -1830,11 +1733,7 @@ export type SMBGuestPassword = string; export interface SMBLocalGroups { GatewayAdmins?: Array; } -export type SMBSecurityStrategy = - | "ClientSpecified" - | "MandatorySigning" - | "MandatoryEncryption" - | "MandatoryEncryptionNoAes128"; +export type SMBSecurityStrategy = "ClientSpecified" | "MandatorySigning" | "MandatoryEncryption" | "MandatoryEncryptionNoAes128"; export type SnapshotDescription = string; export type SnapshotId = string; @@ -3066,8 +2965,5 @@ export declare namespace UpdateVTLDeviceType { | CommonAwsError; } -export type StorageGatewayErrors = - | InternalServerError - | InvalidGatewayRequestException - | ServiceUnavailableError - | CommonAwsError; +export type StorageGatewayErrors = InternalServerError | InvalidGatewayRequestException | ServiceUnavailableError | CommonAwsError; + diff --git a/src/services/sts/index.ts b/src/services/sts/index.ts index a2419134..b670a62c 100644 --- a/src/services/sts/index.ts +++ b/src/services/sts/index.ts @@ -6,25 +6,7 @@ import type { STS as _STSClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -46,10 +28,6 @@ export const STS = class extends AWSServiceClient { }; super(config); // biome-ignore lint/correctness/noConstructorReturn: deliberate proxy usage - return createServiceProxy( - metadata, - this.config, - new AwsQueryHandler(protocolMetadata), - ); + return createServiceProxy(metadata, this.config, new AwsQueryHandler(protocolMetadata)); } } as unknown as typeof _STSClient; diff --git a/src/services/sts/types.ts b/src/services/sts/types.ts index fd55d518..2ab3ea48 100644 --- a/src/services/sts/types.ts +++ b/src/services/sts/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ExpiredTokenException; +import type { AccessDeniedException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ExpiredTokenException; import { AWSServiceClient } from "../../client.ts"; export declare class STS extends AWSServiceClient { @@ -42,36 +8,19 @@ export declare class STS extends AWSServiceClient { input: AssumeRoleRequest, ): Effect.Effect< AssumeRoleResponse, - | ExpiredTokenException - | MalformedPolicyDocumentException - | PackedPolicyTooLargeException - | RegionDisabledException - | CommonAwsError + ExpiredTokenException | MalformedPolicyDocumentException | PackedPolicyTooLargeException | RegionDisabledException | CommonAwsError >; assumeRoleWithSAML( input: AssumeRoleWithSAMLRequest, ): Effect.Effect< AssumeRoleWithSAMLResponse, - | ExpiredTokenException - | IDPRejectedClaimException - | InvalidIdentityTokenException - | MalformedPolicyDocumentException - | PackedPolicyTooLargeException - | RegionDisabledException - | CommonAwsError + ExpiredTokenException | IDPRejectedClaimException | InvalidIdentityTokenException | MalformedPolicyDocumentException | PackedPolicyTooLargeException | RegionDisabledException | CommonAwsError >; assumeRoleWithWebIdentity( input: AssumeRoleWithWebIdentityRequest, ): Effect.Effect< AssumeRoleWithWebIdentityResponse, - | ExpiredTokenException - | IDPCommunicationErrorException - | IDPRejectedClaimException - | InvalidIdentityTokenException - | MalformedPolicyDocumentException - | PackedPolicyTooLargeException - | RegionDisabledException - | CommonAwsError + ExpiredTokenException | IDPCommunicationErrorException | IDPRejectedClaimException | InvalidIdentityTokenException | MalformedPolicyDocumentException | PackedPolicyTooLargeException | RegionDisabledException | CommonAwsError >; assumeRoot( input: AssumeRootRequest, @@ -87,18 +36,21 @@ export declare class STS extends AWSServiceClient { >; getAccessKeyInfo( input: GetAccessKeyInfoRequest, - ): Effect.Effect; + ): Effect.Effect< + GetAccessKeyInfoResponse, + CommonAwsError + >; getCallerIdentity( input: GetCallerIdentityRequest, - ): Effect.Effect; + ): Effect.Effect< + GetCallerIdentityResponse, + CommonAwsError + >; getFederationToken( input: GetFederationTokenRequest, ): Effect.Effect< GetFederationTokenResponse, - | MalformedPolicyDocumentException - | PackedPolicyTooLargeException - | RegionDisabledException - | CommonAwsError + MalformedPolicyDocumentException | PackedPolicyTooLargeException | RegionDisabledException | CommonAwsError >; getSessionToken( input: GetSessionTokenRequest, @@ -237,7 +189,8 @@ export interface GetAccessKeyInfoRequest { export interface GetAccessKeyInfoResponse { Account?: string; } -export interface GetCallerIdentityRequest {} +export interface GetCallerIdentityRequest { +} export interface GetCallerIdentityResponse { UserId?: string; Account?: string; @@ -421,19 +374,23 @@ export declare namespace AssumeRoot { export declare namespace DecodeAuthorizationMessage { export type Input = DecodeAuthorizationMessageRequest; export type Output = DecodeAuthorizationMessageResponse; - export type Error = InvalidAuthorizationMessageException | CommonAwsError; + export type Error = + | InvalidAuthorizationMessageException + | CommonAwsError; } export declare namespace GetAccessKeyInfo { export type Input = GetAccessKeyInfoRequest; export type Output = GetAccessKeyInfoResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetCallerIdentity { export type Input = GetCallerIdentityRequest; export type Output = GetCallerIdentityResponse; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace GetFederationToken { @@ -449,16 +406,10 @@ export declare namespace GetFederationToken { export declare namespace GetSessionToken { export type Input = GetSessionTokenRequest; export type Output = GetSessionTokenResponse; - export type Error = RegionDisabledException | CommonAwsError; -} - -export type STSErrors = - | ExpiredTokenException - | IDPCommunicationErrorException - | IDPRejectedClaimException - | InvalidAuthorizationMessageException - | InvalidIdentityTokenException - | MalformedPolicyDocumentException - | PackedPolicyTooLargeException - | RegionDisabledException - | CommonAwsError; + export type Error = + | RegionDisabledException + | CommonAwsError; +} + +export type STSErrors = ExpiredTokenException | IDPCommunicationErrorException | IDPRejectedClaimException | InvalidAuthorizationMessageException | InvalidIdentityTokenException | MalformedPolicyDocumentException | PackedPolicyTooLargeException | RegionDisabledException | CommonAwsError; + diff --git a/src/services/supplychain/index.ts b/src/services/supplychain/index.ts index ac69ad45..9ee918b5 100644 --- a/src/services/supplychain/index.ts +++ b/src/services/supplychain/index.ts @@ -5,23 +5,7 @@ import type { SupplyChain as _SupplyChainClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,58 +15,40 @@ const metadata = { sigV4ServiceName: "scn", endpointPrefix: "scn", operations: { - GetDataIntegrationEvent: - "GET /api-data/data-integration/instance/{instanceId}/data-integration-events/{eventId}", - GetDataIntegrationFlowExecution: - "GET /api-data/data-integration/instance/{instanceId}/data-integration-flows/{flowName}/executions/{executionId}", - ListDataIntegrationEvents: - "GET /api-data/data-integration/instance/{instanceId}/data-integration-events", - ListDataIntegrationFlowExecutions: - "GET /api-data/data-integration/instance/{instanceId}/data-integration-flows/{flowName}/executions", - ListTagsForResource: "GET /api/tags/{resourceArn}", - SendDataIntegrationEvent: - "POST /api-data/data-integration/instance/{instanceId}/data-integration-events", - TagResource: "POST /api/tags/{resourceArn}", - UntagResource: "DELETE /api/tags/{resourceArn}", - CreateBillOfMaterialsImportJob: - "POST /api/configuration/instances/{instanceId}/bill-of-materials-import-jobs", - CreateDataIntegrationFlow: - "PUT /api/data-integration/instance/{instanceId}/data-integration-flows/{name}", - CreateDataLakeDataset: - "PUT /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}", - CreateDataLakeNamespace: - "PUT /api/datalake/instance/{instanceId}/namespaces/{name}", - CreateInstance: "POST /api/instance", - DeleteDataIntegrationFlow: - "DELETE /api/data-integration/instance/{instanceId}/data-integration-flows/{name}", - DeleteDataLakeDataset: - "DELETE /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}", - DeleteDataLakeNamespace: - "DELETE /api/datalake/instance/{instanceId}/namespaces/{name}", - DeleteInstance: "DELETE /api/instance/{instanceId}", - GetBillOfMaterialsImportJob: - "GET /api/configuration/instances/{instanceId}/bill-of-materials-import-jobs/{jobId}", - GetDataIntegrationFlow: - "GET /api/data-integration/instance/{instanceId}/data-integration-flows/{name}", - GetDataLakeDataset: - "GET /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}", - GetDataLakeNamespace: - "GET /api/datalake/instance/{instanceId}/namespaces/{name}", - GetInstance: "GET /api/instance/{instanceId}", - ListDataIntegrationFlows: - "GET /api/data-integration/instance/{instanceId}/data-integration-flows", - ListDataLakeDatasets: - "GET /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets", - ListDataLakeNamespaces: - "GET /api/datalake/instance/{instanceId}/namespaces", - ListInstances: "GET /api/instance", - UpdateDataIntegrationFlow: - "PATCH /api/data-integration/instance/{instanceId}/data-integration-flows/{name}", - UpdateDataLakeDataset: - "PATCH /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}", - UpdateDataLakeNamespace: - "PATCH /api/datalake/instance/{instanceId}/namespaces/{name}", - UpdateInstance: "PATCH /api/instance/{instanceId}", + "GetDataIntegrationEvent": "GET /api-data/data-integration/instance/{instanceId}/data-integration-events/{eventId}", + "GetDataIntegrationFlowExecution": "GET /api-data/data-integration/instance/{instanceId}/data-integration-flows/{flowName}/executions/{executionId}", + "ListDataIntegrationEvents": "GET /api-data/data-integration/instance/{instanceId}/data-integration-events", + "ListDataIntegrationFlowExecutions": "GET /api-data/data-integration/instance/{instanceId}/data-integration-flows/{flowName}/executions", + "ListTagsForResource": "GET /api/tags/{resourceArn}", + "SendDataIntegrationEvent": "POST /api-data/data-integration/instance/{instanceId}/data-integration-events", + "TagResource": "POST /api/tags/{resourceArn}", + "UntagResource": "DELETE /api/tags/{resourceArn}", + "CreateBillOfMaterialsImportJob": "POST /api/configuration/instances/{instanceId}/bill-of-materials-import-jobs", + "CreateDataIntegrationFlow": "PUT /api/data-integration/instance/{instanceId}/data-integration-flows/{name}", + "CreateDataLakeDataset": "PUT /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}", + "CreateDataLakeNamespace": "PUT /api/datalake/instance/{instanceId}/namespaces/{name}", + "CreateInstance": "POST /api/instance", + "DeleteDataIntegrationFlow": "DELETE /api/data-integration/instance/{instanceId}/data-integration-flows/{name}", + "DeleteDataLakeDataset": "DELETE /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}", + "DeleteDataLakeNamespace": "DELETE /api/datalake/instance/{instanceId}/namespaces/{name}", + "DeleteInstance": "DELETE /api/instance/{instanceId}", + "GetBillOfMaterialsImportJob": "GET /api/configuration/instances/{instanceId}/bill-of-materials-import-jobs/{jobId}", + "GetDataIntegrationFlow": "GET /api/data-integration/instance/{instanceId}/data-integration-flows/{name}", + "GetDataLakeDataset": "GET /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}", + "GetDataLakeNamespace": "GET /api/datalake/instance/{instanceId}/namespaces/{name}", + "GetInstance": "GET /api/instance/{instanceId}", + "ListDataIntegrationFlows": "GET /api/data-integration/instance/{instanceId}/data-integration-flows", + "ListDataLakeDatasets": "GET /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets", + "ListDataLakeNamespaces": "GET /api/datalake/instance/{instanceId}/namespaces", + "ListInstances": "GET /api/instance", + "UpdateDataIntegrationFlow": "PATCH /api/data-integration/instance/{instanceId}/data-integration-flows/{name}", + "UpdateDataLakeDataset": "PATCH /api/datalake/instance/{instanceId}/namespaces/{namespace}/datasets/{name}", + "UpdateDataLakeNamespace": "PATCH /api/datalake/instance/{instanceId}/namespaces/{name}", + "UpdateInstance": "PATCH /api/instance/{instanceId}", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/supplychain/types.ts b/src/services/supplychain/types.ts index 0d3bb918..7715d6de 100644 --- a/src/services/supplychain/types.ts +++ b/src/services/supplychain/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SupplyChain extends AWSServiceClient { @@ -40,334 +8,181 @@ export declare class SupplyChain extends AWSServiceClient { input: GetDataIntegrationEventRequest, ): Effect.Effect< GetDataIntegrationEventResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataIntegrationFlowExecution( input: GetDataIntegrationFlowExecutionRequest, ): Effect.Effect< GetDataIntegrationFlowExecutionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataIntegrationEvents( input: ListDataIntegrationEventsRequest, ): Effect.Effect< ListDataIntegrationEventsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDataIntegrationFlowExecutions( input: ListDataIntegrationFlowExecutionsRequest, ): Effect.Effect< ListDataIntegrationFlowExecutionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; sendDataIntegrationEvent( input: SendDataIntegrationEventRequest, ): Effect.Effect< SendDataIntegrationEventResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createBillOfMaterialsImportJob( input: CreateBillOfMaterialsImportJobRequest, ): Effect.Effect< CreateBillOfMaterialsImportJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataIntegrationFlow( input: CreateDataIntegrationFlowRequest, ): Effect.Effect< CreateDataIntegrationFlowResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataLakeDataset( input: CreateDataLakeDatasetRequest, ): Effect.Effect< CreateDataLakeDatasetResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataLakeNamespace( input: CreateDataLakeNamespaceRequest, ): Effect.Effect< CreateDataLakeNamespaceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createInstance( input: CreateInstanceRequest, ): Effect.Effect< CreateInstanceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataIntegrationFlow( input: DeleteDataIntegrationFlowRequest, ): Effect.Effect< DeleteDataIntegrationFlowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteDataLakeDataset( input: DeleteDataLakeDatasetRequest, ): Effect.Effect< DeleteDataLakeDatasetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataLakeNamespace( input: DeleteDataLakeNamespaceRequest, ): Effect.Effect< DeleteDataLakeNamespaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteInstance( input: DeleteInstanceRequest, ): Effect.Effect< DeleteInstanceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getBillOfMaterialsImportJob( input: GetBillOfMaterialsImportJobRequest, ): Effect.Effect< GetBillOfMaterialsImportJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataIntegrationFlow( input: GetDataIntegrationFlowRequest, ): Effect.Effect< GetDataIntegrationFlowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataLakeDataset( input: GetDataLakeDatasetRequest, ): Effect.Effect< GetDataLakeDatasetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataLakeNamespace( input: GetDataLakeNamespaceRequest, ): Effect.Effect< GetDataLakeNamespaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getInstance( input: GetInstanceRequest, ): Effect.Effect< GetInstanceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataIntegrationFlows( input: ListDataIntegrationFlowsRequest, ): Effect.Effect< ListDataIntegrationFlowsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDataLakeDatasets( input: ListDataLakeDatasetsRequest, ): Effect.Effect< ListDataLakeDatasetsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDataLakeNamespaces( input: ListDataLakeNamespacesRequest, ): Effect.Effect< ListDataLakeNamespacesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listInstances( input: ListInstancesRequest, ): Effect.Effect< ListInstancesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateDataIntegrationFlow( input: UpdateDataIntegrationFlowRequest, ): Effect.Effect< UpdateDataIntegrationFlowResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDataLakeDataset( input: UpdateDataLakeDatasetRequest, ): Effect.Effect< UpdateDataLakeDatasetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDataLakeNamespace( input: UpdateDataLakeNamespaceRequest, ): Effect.Effect< UpdateDataLakeNamespaceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateInstance( input: UpdateInstanceRequest, ): Effect.Effect< UpdateInstanceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -391,12 +206,7 @@ export interface BillOfMaterialsImportJob { } export type ClientToken = string; -export type ConfigurationJobStatus = - | "NEW" - | "FAILED" - | "IN_PROGRESS" - | "QUEUED" - | "SUCCESS"; +export type ConfigurationJobStatus = "NEW" | "FAILED" | "IN_PROGRESS" | "QUEUED" | "SUCCESS"; export type ConfigurationS3Uri = string; export declare class ConflictException extends EffectData.TaggedError( @@ -472,14 +282,8 @@ export interface DataIntegrationEventDatasetLoadExecutionDetails { status: DataIntegrationEventDatasetLoadStatus; message?: string; } -export type DataIntegrationEventDatasetLoadStatus = - | "SUCCEEDED" - | "IN_PROGRESS" - | "FAILED"; -export type DataIntegrationEventDatasetOperationType = - | "APPEND" - | "UPSERT" - | "DELETE"; +export type DataIntegrationEventDatasetLoadStatus = "SUCCEEDED" | "IN_PROGRESS" | "FAILED"; +export type DataIntegrationEventDatasetOperationType = "APPEND" | "UPSERT" | "DELETE"; export interface DataIntegrationEventDatasetTargetConfiguration { datasetIdentifier: string; operationType: DataIntegrationEventDatasetOperationType; @@ -496,23 +300,7 @@ export type DataIntegrationEventMaxResults = number; export type DataIntegrationEventNextToken = string; -export type DataIntegrationEventType = - | "scn.data.forecast" - | "scn.data.inventorylevel" - | "scn.data.inboundorder" - | "scn.data.inboundorderline" - | "scn.data.inboundorderlineschedule" - | "scn.data.outboundorderline" - | "scn.data.outboundshipment" - | "scn.data.processheader" - | "scn.data.processoperation" - | "scn.data.processproduct" - | "scn.data.reservation" - | "scn.data.shipment" - | "scn.data.shipmentstop" - | "scn.data.shipmentstoporder" - | "scn.data.supplyplan" - | "scn.data.dataset"; +export type DataIntegrationEventType = "scn.data.forecast" | "scn.data.inventorylevel" | "scn.data.inboundorder" | "scn.data.inboundorderline" | "scn.data.inboundorderlineschedule" | "scn.data.outboundorderline" | "scn.data.outboundshipment" | "scn.data.processheader" | "scn.data.processoperation" | "scn.data.processproduct" | "scn.data.reservation" | "scn.data.shipment" | "scn.data.shipmentstop" | "scn.data.shipmentstoporder" | "scn.data.supplyplan" | "scn.data.dataset"; export interface DataIntegrationFlow { instanceId: string; name: string; @@ -556,8 +344,7 @@ export interface DataIntegrationFlowExecution { } export type DataIntegrationFlowExecutionDiagnosticReportsRootS3URI = string; -export type DataIntegrationFlowExecutionList = - Array; +export type DataIntegrationFlowExecutionList = Array; export type DataIntegrationFlowExecutionMaxResults = number; export type DataIntegrationFlowExecutionNextToken = string; @@ -570,16 +357,12 @@ export interface DataIntegrationFlowExecutionSourceInfo { s3Source?: DataIntegrationFlowS3Source; datasetSource?: DataIntegrationFlowDatasetSource; } -export type DataIntegrationFlowExecutionStatus = - | "SUCCEEDED" - | "IN_PROGRESS" - | "FAILED"; +export type DataIntegrationFlowExecutionStatus = "SUCCEEDED" | "IN_PROGRESS" | "FAILED"; export interface DataIntegrationFlowFieldPriorityDedupeField { name: string; sortOrder: DataIntegrationFlowFieldPriorityDedupeSortOrder; } -export type DataIntegrationFlowFieldPriorityDedupeFieldList = - Array; +export type DataIntegrationFlowFieldPriorityDedupeFieldList = Array; export type DataIntegrationFlowFieldPriorityDedupeFieldName = string; export type DataIntegrationFlowFieldPriorityDedupeSortOrder = "ASC" | "DESC"; @@ -666,25 +449,18 @@ export interface DataLakeDatasetPartitionField { name: string; transform: DataLakeDatasetPartitionFieldTransform; } -export type DataLakeDatasetPartitionFieldList = - Array; +export type DataLakeDatasetPartitionFieldList = Array; export interface DataLakeDatasetPartitionFieldTransform { type: DataLakeDatasetPartitionTransformType; } export interface DataLakeDatasetPartitionSpec { fields: Array; } -export type DataLakeDatasetPartitionTransformType = - | "YEAR" - | "MONTH" - | "DAY" - | "HOUR" - | "IDENTITY"; +export type DataLakeDatasetPartitionTransformType = "YEAR" | "MONTH" | "DAY" | "HOUR" | "IDENTITY"; export interface DataLakeDatasetPrimaryKeyField { name: string; } -export type DataLakeDatasetPrimaryKeyFieldList = - Array; +export type DataLakeDatasetPrimaryKeyFieldList = Array; export interface DataLakeDatasetSchema { name: string; fields: Array; @@ -698,12 +474,7 @@ export interface DataLakeDatasetSchemaField { export type DataLakeDatasetSchemaFieldList = Array; export type DataLakeDatasetSchemaFieldName = string; -export type DataLakeDatasetSchemaFieldType = - | "INT" - | "DOUBLE" - | "STRING" - | "TIMESTAMP" - | "LONG"; +export type DataLakeDatasetSchemaFieldType = "INT" | "DOUBLE" | "STRING" | "TIMESTAMP" | "LONG"; export type DataLakeDatasetSchemaName = string; export interface DataLakeNamespace { @@ -830,13 +601,7 @@ export type InstanceName = string; export type InstanceNameList = Array; export type InstanceNextToken = string; -export type InstanceState = - | "Initializing" - | "Active" - | "CreateFailed" - | "DeleteFailed" - | "Deleting" - | "Deleted"; +export type InstanceState = "Initializing" | "Active" | "CreateFailed" | "DeleteFailed" | "Deleting" | "Deleted"; export type InstanceStateList = Array; export type InstanceWebAppDnsDomain = string; @@ -943,7 +708,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -955,7 +721,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDataIntegrationFlowRequest { instanceId: string; name: string; @@ -1361,12 +1128,5 @@ export declare namespace UpdateInstance { | CommonAwsError; } -export type SupplyChainErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type SupplyChainErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/support-app/index.ts b/src/services/support-app/index.ts index 33134e27..77ea219b 100644 --- a/src/services/support-app/index.ts +++ b/src/services/support-app/index.ts @@ -5,24 +5,7 @@ import type { SupportApp as _SupportAppClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,23 +14,16 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "supportapp", operations: { - CreateSlackChannelConfiguration: - "POST /control/create-slack-channel-configuration", - DeleteAccountAlias: "POST /control/delete-account-alias", - DeleteSlackChannelConfiguration: - "POST /control/delete-slack-channel-configuration", - DeleteSlackWorkspaceConfiguration: - "POST /control/delete-slack-workspace-configuration", - GetAccountAlias: "POST /control/get-account-alias", - ListSlackChannelConfigurations: - "POST /control/list-slack-channel-configurations", - ListSlackWorkspaceConfigurations: - "POST /control/list-slack-workspace-configurations", - PutAccountAlias: "POST /control/put-account-alias", - RegisterSlackWorkspaceForOrganization: - "POST /control/register-slack-workspace-for-organization", - UpdateSlackChannelConfiguration: - "POST /control/update-slack-channel-configuration", + "CreateSlackChannelConfiguration": "POST /control/create-slack-channel-configuration", + "DeleteAccountAlias": "POST /control/delete-account-alias", + "DeleteSlackChannelConfiguration": "POST /control/delete-slack-channel-configuration", + "DeleteSlackWorkspaceConfiguration": "POST /control/delete-slack-workspace-configuration", + "GetAccountAlias": "POST /control/get-account-alias", + "ListSlackChannelConfigurations": "POST /control/list-slack-channel-configurations", + "ListSlackWorkspaceConfigurations": "POST /control/list-slack-workspace-configurations", + "PutAccountAlias": "POST /control/put-account-alias", + "RegisterSlackWorkspaceForOrganization": "POST /control/register-slack-workspace-for-organization", + "UpdateSlackChannelConfiguration": "POST /control/update-slack-channel-configuration", }, } as const satisfies ServiceMetadata; diff --git a/src/services/support-app/types.ts b/src/services/support-app/types.ts index 411e4637..96ae5fb3 100644 --- a/src/services/support-app/types.ts +++ b/src/services/support-app/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class SupportApp extends AWSServiceClient { @@ -41,43 +8,25 @@ export declare class SupportApp extends AWSServiceClient { input: CreateSlackChannelConfigurationRequest, ): Effect.Effect< CreateSlackChannelConfigurationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteAccountAlias( input: DeleteAccountAliasRequest, ): Effect.Effect< DeleteAccountAliasResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | CommonAwsError >; deleteSlackChannelConfiguration( input: DeleteSlackChannelConfigurationRequest, ): Effect.Effect< DeleteSlackChannelConfigurationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteSlackWorkspaceConfiguration( input: DeleteSlackWorkspaceConfigurationRequest, ): Effect.Effect< DeleteSlackWorkspaceConfigurationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAccountAlias( input: GetAccountAliasRequest, @@ -101,32 +50,19 @@ export declare class SupportApp extends AWSServiceClient { input: PutAccountAliasRequest, ): Effect.Effect< PutAccountAliasResult, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; registerSlackWorkspaceForOrganization( input: RegisterSlackWorkspaceForOrganizationRequest, ): Effect.Effect< RegisterSlackWorkspaceForOrganizationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateSlackChannelConfiguration( input: UpdateSlackChannelConfigurationRequest, ): Effect.Effect< UpdateSlackChannelConfigurationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -160,21 +96,27 @@ export interface CreateSlackChannelConfigurationRequest { notifyOnCaseSeverity: string; channelRoleArn: string; } -export interface CreateSlackChannelConfigurationResult {} -export interface DeleteAccountAliasRequest {} -export interface DeleteAccountAliasResult {} +export interface CreateSlackChannelConfigurationResult { +} +export interface DeleteAccountAliasRequest { +} +export interface DeleteAccountAliasResult { +} export interface DeleteSlackChannelConfigurationRequest { teamId: string; channelId: string; } -export interface DeleteSlackChannelConfigurationResult {} +export interface DeleteSlackChannelConfigurationResult { +} export interface DeleteSlackWorkspaceConfigurationRequest { teamId: string; } -export interface DeleteSlackWorkspaceConfigurationResult {} +export interface DeleteSlackWorkspaceConfigurationResult { +} export type errorMessage = string; -export interface GetAccountAliasRequest {} +export interface GetAccountAliasRequest { +} export interface GetAccountAliasResult { accountAlias?: string; } @@ -204,7 +146,8 @@ export type paginationToken = string; export interface PutAccountAliasRequest { accountAlias: string; } -export interface PutAccountAliasResult {} +export interface PutAccountAliasResult { +} export interface RegisterSlackWorkspaceForOrganizationRequest { teamId: string; } @@ -241,8 +184,7 @@ export interface SlackWorkspaceConfiguration { teamName?: string; allowOrganizationMemberAccount?: boolean; } -export type SlackWorkspaceConfigurationList = - Array; +export type SlackWorkspaceConfigurationList = Array; export type teamId = string; export type teamName = string; @@ -321,7 +263,9 @@ export declare namespace DeleteSlackWorkspaceConfiguration { export declare namespace GetAccountAlias { export type Input = GetAccountAliasRequest; export type Output = GetAccountAliasResult; - export type Error = InternalServerException | CommonAwsError; + export type Error = + | InternalServerException + | CommonAwsError; } export declare namespace ListSlackChannelConfigurations { @@ -376,11 +320,5 @@ export declare namespace UpdateSlackChannelConfiguration { | CommonAwsError; } -export type SupportAppErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError; +export type SupportAppErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError; + diff --git a/src/services/support/index.ts b/src/services/support/index.ts index 17da2ccf..0b46a4ac 100644 --- a/src/services/support/index.ts +++ b/src/services/support/index.ts @@ -5,25 +5,7 @@ import type { Support as _SupportClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/support/types.ts b/src/services/support/types.ts index 4257b826..b5369a60 100644 --- a/src/services/support/types.ts +++ b/src/services/support/types.ts @@ -1,40 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | AccessDeniedException - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | ThrottlingException; +import type { AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = AccessDeniedException | ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class Support extends AWSServiceClient { @@ -42,41 +8,25 @@ export declare class Support extends AWSServiceClient { input: AddAttachmentsToSetRequest, ): Effect.Effect< AddAttachmentsToSetResponse, - | AttachmentLimitExceeded - | AttachmentSetExpired - | AttachmentSetIdNotFound - | AttachmentSetSizeLimitExceeded - | InternalServerError - | CommonAwsError + AttachmentLimitExceeded | AttachmentSetExpired | AttachmentSetIdNotFound | AttachmentSetSizeLimitExceeded | InternalServerError | CommonAwsError >; addCommunicationToCase( input: AddCommunicationToCaseRequest, ): Effect.Effect< AddCommunicationToCaseResponse, - | AttachmentSetExpired - | AttachmentSetIdNotFound - | CaseIdNotFound - | InternalServerError - | CommonAwsError + AttachmentSetExpired | AttachmentSetIdNotFound | CaseIdNotFound | InternalServerError | CommonAwsError >; createCase( input: CreateCaseRequest, ): Effect.Effect< CreateCaseResponse, - | AttachmentSetExpired - | AttachmentSetIdNotFound - | CaseCreationLimitExceeded - | InternalServerError - | CommonAwsError + AttachmentSetExpired | AttachmentSetIdNotFound | CaseCreationLimitExceeded | InternalServerError | CommonAwsError >; describeAttachment( input: DescribeAttachmentRequest, ): Effect.Effect< DescribeAttachmentResponse, - | AttachmentIdNotFound - | DescribeAttachmentLimitExceeded - | InternalServerError - | CommonAwsError + AttachmentIdNotFound | DescribeAttachmentLimitExceeded | InternalServerError | CommonAwsError >; describeCases( input: DescribeCasesRequest, @@ -511,8 +461,7 @@ export interface TrustedAdvisorCheckRefreshStatus { status: string; millisUntilNextRefreshable: number; } -export type TrustedAdvisorCheckRefreshStatusList = - Array; +export type TrustedAdvisorCheckRefreshStatusList = Array; export interface TrustedAdvisorCheckResult { checkId: string; timestamp: string; @@ -541,8 +490,7 @@ export interface TrustedAdvisorResourceDetail { isSuppressed?: boolean; metadata: Array; } -export type TrustedAdvisorResourceDetailList = - Array; +export type TrustedAdvisorResourceDetailList = Array; export interface TrustedAdvisorResourcesSummary { resourcesProcessed: number; resourcesFlagged: number; @@ -610,13 +558,19 @@ export declare namespace DescribeAttachment { export declare namespace DescribeCases { export type Input = DescribeCasesRequest; export type Output = DescribeCasesResponse; - export type Error = CaseIdNotFound | InternalServerError | CommonAwsError; + export type Error = + | CaseIdNotFound + | InternalServerError + | CommonAwsError; } export declare namespace DescribeCommunications { export type Input = DescribeCommunicationsRequest; export type Output = DescribeCommunicationsResponse; - export type Error = CaseIdNotFound | InternalServerError | CommonAwsError; + export type Error = + | CaseIdNotFound + | InternalServerError + | CommonAwsError; } export declare namespace DescribeCreateCaseOptions { @@ -631,13 +585,17 @@ export declare namespace DescribeCreateCaseOptions { export declare namespace DescribeServices { export type Input = DescribeServicesRequest; export type Output = DescribeServicesResponse; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeSeverityLevels { export type Input = DescribeSeverityLevelsRequest; export type Output = DescribeSeverityLevelsResponse; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace DescribeSupportedLanguages { @@ -688,24 +646,19 @@ export declare namespace DescribeTrustedAdvisorCheckSummaries { export declare namespace RefreshTrustedAdvisorCheck { export type Input = RefreshTrustedAdvisorCheckRequest; export type Output = RefreshTrustedAdvisorCheckResponse; - export type Error = InternalServerError | CommonAwsError; + export type Error = + | InternalServerError + | CommonAwsError; } export declare namespace ResolveCase { export type Input = ResolveCaseRequest; export type Output = ResolveCaseResponse; - export type Error = CaseIdNotFound | InternalServerError | CommonAwsError; -} - -export type SupportErrors = - | AttachmentIdNotFound - | AttachmentLimitExceeded - | AttachmentSetExpired - | AttachmentSetIdNotFound - | AttachmentSetSizeLimitExceeded - | CaseCreationLimitExceeded - | CaseIdNotFound - | DescribeAttachmentLimitExceeded - | InternalServerError - | ThrottlingException - | CommonAwsError; + export type Error = + | CaseIdNotFound + | InternalServerError + | CommonAwsError; +} + +export type SupportErrors = AttachmentIdNotFound | AttachmentLimitExceeded | AttachmentSetExpired | AttachmentSetIdNotFound | AttachmentSetSizeLimitExceeded | CaseCreationLimitExceeded | CaseIdNotFound | DescribeAttachmentLimitExceeded | InternalServerError | ThrottlingException | CommonAwsError; + diff --git a/src/services/swf/index.ts b/src/services/swf/index.ts index 256578c0..121c5bf4 100644 --- a/src/services/swf/index.ts +++ b/src/services/swf/index.ts @@ -5,26 +5,7 @@ import type { SWF as _SWFClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/swf/types.ts b/src/services/swf/types.ts index 07d6a3ce..67939854 100644 --- a/src/services/swf/types.ts +++ b/src/services/swf/types.ts @@ -31,46 +31,31 @@ export declare class SWF extends AWSServiceClient { input: DeleteActivityTypeInput, ): Effect.Effect< {}, - | OperationNotPermittedFault - | TypeNotDeprecatedFault - | UnknownResourceFault - | CommonAwsError + OperationNotPermittedFault | TypeNotDeprecatedFault | UnknownResourceFault | CommonAwsError >; deleteWorkflowType( input: DeleteWorkflowTypeInput, ): Effect.Effect< {}, - | OperationNotPermittedFault - | TypeNotDeprecatedFault - | UnknownResourceFault - | CommonAwsError + OperationNotPermittedFault | TypeNotDeprecatedFault | UnknownResourceFault | CommonAwsError >; deprecateActivityType( input: DeprecateActivityTypeInput, ): Effect.Effect< {}, - | OperationNotPermittedFault - | TypeDeprecatedFault - | UnknownResourceFault - | CommonAwsError + OperationNotPermittedFault | TypeDeprecatedFault | UnknownResourceFault | CommonAwsError >; deprecateDomain( input: DeprecateDomainInput, ): Effect.Effect< {}, - | DomainDeprecatedFault - | OperationNotPermittedFault - | UnknownResourceFault - | CommonAwsError + DomainDeprecatedFault | OperationNotPermittedFault | UnknownResourceFault | CommonAwsError >; deprecateWorkflowType( input: DeprecateWorkflowTypeInput, ): Effect.Effect< {}, - | OperationNotPermittedFault - | TypeDeprecatedFault - | UnknownResourceFault - | CommonAwsError + OperationNotPermittedFault | TypeDeprecatedFault | UnknownResourceFault | CommonAwsError >; describeActivityType( input: DescribeActivityTypeInput, @@ -116,7 +101,10 @@ export declare class SWF extends AWSServiceClient { >; listDomains( input: ListDomainsInput, - ): Effect.Effect; + ): Effect.Effect< + DomainInfos, + OperationNotPermittedFault | CommonAwsError + >; listOpenWorkflowExecutions( input: ListOpenWorkflowExecutionsInput, ): Effect.Effect< @@ -127,10 +115,7 @@ export declare class SWF extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | LimitExceededFault - | OperationNotPermittedFault - | UnknownResourceFault - | CommonAwsError + LimitExceededFault | OperationNotPermittedFault | UnknownResourceFault | CommonAwsError >; listWorkflowTypes( input: ListWorkflowTypesInput, @@ -142,19 +127,13 @@ export declare class SWF extends AWSServiceClient { input: PollForActivityTaskInput, ): Effect.Effect< ActivityTask, - | LimitExceededFault - | OperationNotPermittedFault - | UnknownResourceFault - | CommonAwsError + LimitExceededFault | OperationNotPermittedFault | UnknownResourceFault | CommonAwsError >; pollForDecisionTask( input: PollForDecisionTaskInput, ): Effect.Effect< DecisionTask, - | LimitExceededFault - | OperationNotPermittedFault - | UnknownResourceFault - | CommonAwsError + LimitExceededFault | OperationNotPermittedFault | UnknownResourceFault | CommonAwsError >; recordActivityTaskHeartbeat( input: RecordActivityTaskHeartbeatInput, @@ -166,31 +145,19 @@ export declare class SWF extends AWSServiceClient { input: RegisterActivityTypeInput, ): Effect.Effect< {}, - | LimitExceededFault - | OperationNotPermittedFault - | TypeAlreadyExistsFault - | UnknownResourceFault - | CommonAwsError + LimitExceededFault | OperationNotPermittedFault | TypeAlreadyExistsFault | UnknownResourceFault | CommonAwsError >; registerDomain( input: RegisterDomainInput, ): Effect.Effect< {}, - | DomainAlreadyExistsFault - | LimitExceededFault - | OperationNotPermittedFault - | TooManyTagsFault - | CommonAwsError + DomainAlreadyExistsFault | LimitExceededFault | OperationNotPermittedFault | TooManyTagsFault | CommonAwsError >; registerWorkflowType( input: RegisterWorkflowTypeInput, ): Effect.Effect< {}, - | LimitExceededFault - | OperationNotPermittedFault - | TypeAlreadyExistsFault - | UnknownResourceFault - | CommonAwsError + LimitExceededFault | OperationNotPermittedFault | TypeAlreadyExistsFault | UnknownResourceFault | CommonAwsError >; requestCancelWorkflowExecution( input: RequestCancelWorkflowExecutionInput, @@ -232,23 +199,13 @@ export declare class SWF extends AWSServiceClient { input: StartWorkflowExecutionInput, ): Effect.Effect< Run, - | DefaultUndefinedFault - | LimitExceededFault - | OperationNotPermittedFault - | TypeDeprecatedFault - | UnknownResourceFault - | WorkflowExecutionAlreadyStartedFault - | CommonAwsError + DefaultUndefinedFault | LimitExceededFault | OperationNotPermittedFault | TypeDeprecatedFault | UnknownResourceFault | WorkflowExecutionAlreadyStartedFault | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< {}, - | LimitExceededFault - | OperationNotPermittedFault - | TooManyTagsFault - | UnknownResourceFault - | CommonAwsError + LimitExceededFault | OperationNotPermittedFault | TooManyTagsFault | UnknownResourceFault | CommonAwsError >; terminateWorkflowExecution( input: TerminateWorkflowExecutionInput, @@ -260,37 +217,25 @@ export declare class SWF extends AWSServiceClient { input: UndeprecateActivityTypeInput, ): Effect.Effect< {}, - | OperationNotPermittedFault - | TypeAlreadyExistsFault - | UnknownResourceFault - | CommonAwsError + OperationNotPermittedFault | TypeAlreadyExistsFault | UnknownResourceFault | CommonAwsError >; undeprecateDomain( input: UndeprecateDomainInput, ): Effect.Effect< {}, - | DomainAlreadyExistsFault - | OperationNotPermittedFault - | UnknownResourceFault - | CommonAwsError + DomainAlreadyExistsFault | OperationNotPermittedFault | UnknownResourceFault | CommonAwsError >; undeprecateWorkflowType( input: UndeprecateWorkflowTypeInput, ): Effect.Effect< {}, - | OperationNotPermittedFault - | TypeAlreadyExistsFault - | UnknownResourceFault - | CommonAwsError + OperationNotPermittedFault | TypeAlreadyExistsFault | UnknownResourceFault | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< {}, - | LimitExceededFault - | OperationNotPermittedFault - | UnknownResourceFault - | CommonAwsError + LimitExceededFault | OperationNotPermittedFault | UnknownResourceFault | CommonAwsError >; } @@ -353,11 +298,7 @@ export interface ActivityTaskTimedOutEventAttributes { startedEventId: number; details?: string; } -export type ActivityTaskTimeoutType = - | "START_TO_CLOSE" - | "SCHEDULE_TO_START" - | "SCHEDULE_TO_CLOSE" - | "HEARTBEAT"; +export type ActivityTaskTimeoutType = "START_TO_CLOSE" | "SCHEDULE_TO_START" | "SCHEDULE_TO_CLOSE" | "HEARTBEAT"; export interface ActivityType { name: string; version: string; @@ -393,9 +334,7 @@ export type Canceled = boolean; export interface CancelTimerDecisionAttributes { timerId: string; } -export type CancelTimerFailedCause = - | "TIMER_ID_UNKNOWN" - | "OPERATION_NOT_PERMITTED"; +export type CancelTimerFailedCause = "TIMER_ID_UNKNOWN" | "OPERATION_NOT_PERMITTED"; export interface CancelTimerFailedEventAttributes { timerId: string; cause: CancelTimerFailedCause; @@ -404,9 +343,7 @@ export interface CancelTimerFailedEventAttributes { export interface CancelWorkflowExecutionDecisionAttributes { details?: string; } -export type CancelWorkflowExecutionFailedCause = - | "UNHANDLED_DECISION" - | "OPERATION_NOT_PERMITTED"; +export type CancelWorkflowExecutionFailedCause = "UNHANDLED_DECISION" | "OPERATION_NOT_PERMITTED"; export interface CancelWorkflowExecutionFailedEventAttributes { cause: CancelWorkflowExecutionFailedCause; decisionTaskCompletedEventId: number; @@ -454,22 +391,14 @@ export interface ChildWorkflowExecutionTimedOutEventAttributes { initiatedEventId: number; startedEventId: number; } -export type CloseStatus = - | "COMPLETED" - | "FAILED" - | "CANCELED" - | "TERMINATED" - | "CONTINUED_AS_NEW" - | "TIMED_OUT"; +export type CloseStatus = "COMPLETED" | "FAILED" | "CANCELED" | "TERMINATED" | "CONTINUED_AS_NEW" | "TIMED_OUT"; export interface CloseStatusFilter { status: CloseStatus; } export interface CompleteWorkflowExecutionDecisionAttributes { result?: string; } -export type CompleteWorkflowExecutionFailedCause = - | "UNHANDLED_DECISION" - | "OPERATION_NOT_PERMITTED"; +export type CompleteWorkflowExecutionFailedCause = "UNHANDLED_DECISION" | "OPERATION_NOT_PERMITTED"; export interface CompleteWorkflowExecutionFailedEventAttributes { cause: CompleteWorkflowExecutionFailedCause; decisionTaskCompletedEventId: number; @@ -485,16 +414,7 @@ export interface ContinueAsNewWorkflowExecutionDecisionAttributes { workflowTypeVersion?: string; lambdaRole?: string; } -export type ContinueAsNewWorkflowExecutionFailedCause = - | "UNHANDLED_DECISION" - | "WORKFLOW_TYPE_DEPRECATED" - | "WORKFLOW_TYPE_DOES_NOT_EXIST" - | "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" - | "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" - | "DEFAULT_TASK_LIST_UNDEFINED" - | "DEFAULT_CHILD_POLICY_UNDEFINED" - | "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED" - | "OPERATION_NOT_PERMITTED"; +export type ContinueAsNewWorkflowExecutionFailedCause = "UNHANDLED_DECISION" | "WORKFLOW_TYPE_DEPRECATED" | "WORKFLOW_TYPE_DOES_NOT_EXIST" | "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_TASK_LIST_UNDEFINED" | "DEFAULT_CHILD_POLICY_UNDEFINED" | "CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED" | "OPERATION_NOT_PERMITTED"; export interface ContinueAsNewWorkflowExecutionFailedEventAttributes { cause: ContinueAsNewWorkflowExecutionFailedCause; decisionTaskCompletedEventId: number; @@ -576,20 +496,7 @@ export interface DecisionTaskTimedOutEventAttributes { startedEventId: number; } export type DecisionTaskTimeoutType = "START_TO_CLOSE" | "SCHEDULE_TO_START"; -export type DecisionType = - | "ScheduleActivityTask" - | "RequestCancelActivityTask" - | "CompleteWorkflowExecution" - | "FailWorkflowExecution" - | "CancelWorkflowExecution" - | "ContinueAsNewWorkflowExecution" - | "RecordMarker" - | "StartTimer" - | "CancelTimer" - | "SignalExternalWorkflowExecution" - | "RequestCancelExternalWorkflowExecution" - | "StartChildWorkflowExecution" - | "ScheduleLambdaFunction"; +export type DecisionType = "ScheduleActivityTask" | "RequestCancelActivityTask" | "CompleteWorkflowExecution" | "FailWorkflowExecution" | "CancelWorkflowExecution" | "ContinueAsNewWorkflowExecution" | "RecordMarker" | "StartTimer" | "CancelTimer" | "SignalExternalWorkflowExecution" | "RequestCancelExternalWorkflowExecution" | "StartChildWorkflowExecution" | "ScheduleLambdaFunction"; export declare class DefaultUndefinedFault extends EffectData.TaggedError( "DefaultUndefinedFault", )<{ @@ -671,61 +578,7 @@ export type ErrorMessage = string; export type EventId = number; -export type EventType = - | "WorkflowExecutionStarted" - | "WorkflowExecutionCancelRequested" - | "WorkflowExecutionCompleted" - | "CompleteWorkflowExecutionFailed" - | "WorkflowExecutionFailed" - | "FailWorkflowExecutionFailed" - | "WorkflowExecutionTimedOut" - | "WorkflowExecutionCanceled" - | "CancelWorkflowExecutionFailed" - | "WorkflowExecutionContinuedAsNew" - | "ContinueAsNewWorkflowExecutionFailed" - | "WorkflowExecutionTerminated" - | "DecisionTaskScheduled" - | "DecisionTaskStarted" - | "DecisionTaskCompleted" - | "DecisionTaskTimedOut" - | "ActivityTaskScheduled" - | "ScheduleActivityTaskFailed" - | "ActivityTaskStarted" - | "ActivityTaskCompleted" - | "ActivityTaskFailed" - | "ActivityTaskTimedOut" - | "ActivityTaskCanceled" - | "ActivityTaskCancelRequested" - | "RequestCancelActivityTaskFailed" - | "WorkflowExecutionSignaled" - | "MarkerRecorded" - | "RecordMarkerFailed" - | "TimerStarted" - | "StartTimerFailed" - | "TimerFired" - | "TimerCanceled" - | "CancelTimerFailed" - | "StartChildWorkflowExecutionInitiated" - | "StartChildWorkflowExecutionFailed" - | "ChildWorkflowExecutionStarted" - | "ChildWorkflowExecutionCompleted" - | "ChildWorkflowExecutionFailed" - | "ChildWorkflowExecutionTimedOut" - | "ChildWorkflowExecutionCanceled" - | "ChildWorkflowExecutionTerminated" - | "SignalExternalWorkflowExecutionInitiated" - | "SignalExternalWorkflowExecutionFailed" - | "ExternalWorkflowExecutionSignaled" - | "RequestCancelExternalWorkflowExecutionInitiated" - | "RequestCancelExternalWorkflowExecutionFailed" - | "ExternalWorkflowExecutionCancelRequested" - | "LambdaFunctionScheduled" - | "LambdaFunctionStarted" - | "LambdaFunctionCompleted" - | "LambdaFunctionFailed" - | "LambdaFunctionTimedOut" - | "ScheduleLambdaFunctionFailed" - | "StartLambdaFunctionFailed"; +export type EventType = "WorkflowExecutionStarted" | "WorkflowExecutionCancelRequested" | "WorkflowExecutionCompleted" | "CompleteWorkflowExecutionFailed" | "WorkflowExecutionFailed" | "FailWorkflowExecutionFailed" | "WorkflowExecutionTimedOut" | "WorkflowExecutionCanceled" | "CancelWorkflowExecutionFailed" | "WorkflowExecutionContinuedAsNew" | "ContinueAsNewWorkflowExecutionFailed" | "WorkflowExecutionTerminated" | "DecisionTaskScheduled" | "DecisionTaskStarted" | "DecisionTaskCompleted" | "DecisionTaskTimedOut" | "ActivityTaskScheduled" | "ScheduleActivityTaskFailed" | "ActivityTaskStarted" | "ActivityTaskCompleted" | "ActivityTaskFailed" | "ActivityTaskTimedOut" | "ActivityTaskCanceled" | "ActivityTaskCancelRequested" | "RequestCancelActivityTaskFailed" | "WorkflowExecutionSignaled" | "MarkerRecorded" | "RecordMarkerFailed" | "TimerStarted" | "StartTimerFailed" | "TimerFired" | "TimerCanceled" | "CancelTimerFailed" | "StartChildWorkflowExecutionInitiated" | "StartChildWorkflowExecutionFailed" | "ChildWorkflowExecutionStarted" | "ChildWorkflowExecutionCompleted" | "ChildWorkflowExecutionFailed" | "ChildWorkflowExecutionTimedOut" | "ChildWorkflowExecutionCanceled" | "ChildWorkflowExecutionTerminated" | "SignalExternalWorkflowExecutionInitiated" | "SignalExternalWorkflowExecutionFailed" | "ExternalWorkflowExecutionSignaled" | "RequestCancelExternalWorkflowExecutionInitiated" | "RequestCancelExternalWorkflowExecutionFailed" | "ExternalWorkflowExecutionCancelRequested" | "LambdaFunctionScheduled" | "LambdaFunctionStarted" | "LambdaFunctionCompleted" | "LambdaFunctionFailed" | "LambdaFunctionTimedOut" | "ScheduleLambdaFunctionFailed" | "StartLambdaFunctionFailed"; export type ExecutionStatus = "OPEN" | "CLOSED"; export interface ExecutionTimeFilter { oldestDate: Date | string; @@ -745,9 +598,7 @@ export interface FailWorkflowExecutionDecisionAttributes { reason?: string; details?: string; } -export type FailWorkflowExecutionFailedCause = - | "UNHANDLED_DECISION" - | "OPERATION_NOT_PERMITTED"; +export type FailWorkflowExecutionFailedCause = "UNHANDLED_DECISION" | "OPERATION_NOT_PERMITTED"; export interface FailWorkflowExecutionFailedEventAttributes { cause: FailWorkflowExecutionFailedCause; decisionTaskCompletedEventId: number; @@ -1002,9 +853,7 @@ export type RegistrationStatus = "REGISTERED" | "DEPRECATED"; export interface RequestCancelActivityTaskDecisionAttributes { activityId: string; } -export type RequestCancelActivityTaskFailedCause = - | "ACTIVITY_ID_UNKNOWN" - | "OPERATION_NOT_PERMITTED"; +export type RequestCancelActivityTaskFailedCause = "ACTIVITY_ID_UNKNOWN" | "OPERATION_NOT_PERMITTED"; export interface RequestCancelActivityTaskFailedEventAttributes { activityId: string; cause: RequestCancelActivityTaskFailedCause; @@ -1015,10 +864,7 @@ export interface RequestCancelExternalWorkflowExecutionDecisionAttributes { runId?: string; control?: string; } -export type RequestCancelExternalWorkflowExecutionFailedCause = - | "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" - | "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" - | "OPERATION_NOT_PERMITTED"; +export type RequestCancelExternalWorkflowExecutionFailedCause = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" | "REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" | "OPERATION_NOT_PERMITTED"; export interface RequestCancelExternalWorkflowExecutionFailedEventAttributes { workflowId: string; runId?: string; @@ -1085,18 +931,7 @@ export interface ScheduleActivityTaskDecisionAttributes { startToCloseTimeout?: string; heartbeatTimeout?: string; } -export type ScheduleActivityTaskFailedCause = - | "ACTIVITY_TYPE_DEPRECATED" - | "ACTIVITY_TYPE_DOES_NOT_EXIST" - | "ACTIVITY_ID_ALREADY_IN_USE" - | "OPEN_ACTIVITIES_LIMIT_EXCEEDED" - | "ACTIVITY_CREATION_RATE_EXCEEDED" - | "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED" - | "DEFAULT_TASK_LIST_UNDEFINED" - | "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED" - | "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED" - | "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED" - | "OPERATION_NOT_PERMITTED"; +export type ScheduleActivityTaskFailedCause = "ACTIVITY_TYPE_DEPRECATED" | "ACTIVITY_TYPE_DOES_NOT_EXIST" | "ACTIVITY_ID_ALREADY_IN_USE" | "OPEN_ACTIVITIES_LIMIT_EXCEEDED" | "ACTIVITY_CREATION_RATE_EXCEEDED" | "DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_TASK_LIST_UNDEFINED" | "DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED" | "DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED" | "OPERATION_NOT_PERMITTED"; export interface ScheduleActivityTaskFailedEventAttributes { activityType: ActivityType; activityId: string; @@ -1110,11 +945,7 @@ export interface ScheduleLambdaFunctionDecisionAttributes { input?: string; startToCloseTimeout?: string; } -export type ScheduleLambdaFunctionFailedCause = - | "ID_ALREADY_IN_USE" - | "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED" - | "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" - | "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"; +export type ScheduleLambdaFunctionFailedCause = "ID_ALREADY_IN_USE" | "OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED" | "LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED" | "LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"; export interface ScheduleLambdaFunctionFailedEventAttributes { id: string; name: string; @@ -1128,10 +959,7 @@ export interface SignalExternalWorkflowExecutionDecisionAttributes { input?: string; control?: string; } -export type SignalExternalWorkflowExecutionFailedCause = - | "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" - | "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" - | "OPERATION_NOT_PERMITTED"; +export type SignalExternalWorkflowExecutionFailedCause = "UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION" | "SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED" | "OPERATION_NOT_PERMITTED"; export interface SignalExternalWorkflowExecutionFailedEventAttributes { workflowId: string; runId?: string; @@ -1172,18 +1000,7 @@ export interface StartChildWorkflowExecutionDecisionAttributes { tagList?: Array; lambdaRole?: string; } -export type StartChildWorkflowExecutionFailedCause = - | "WORKFLOW_TYPE_DOES_NOT_EXIST" - | "WORKFLOW_TYPE_DEPRECATED" - | "OPEN_CHILDREN_LIMIT_EXCEEDED" - | "OPEN_WORKFLOWS_LIMIT_EXCEEDED" - | "CHILD_CREATION_RATE_EXCEEDED" - | "WORKFLOW_ALREADY_RUNNING" - | "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" - | "DEFAULT_TASK_LIST_UNDEFINED" - | "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" - | "DEFAULT_CHILD_POLICY_UNDEFINED" - | "OPERATION_NOT_PERMITTED"; +export type StartChildWorkflowExecutionFailedCause = "WORKFLOW_TYPE_DOES_NOT_EXIST" | "WORKFLOW_TYPE_DEPRECATED" | "OPEN_CHILDREN_LIMIT_EXCEEDED" | "OPEN_WORKFLOWS_LIMIT_EXCEEDED" | "CHILD_CREATION_RATE_EXCEEDED" | "WORKFLOW_ALREADY_RUNNING" | "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_TASK_LIST_UNDEFINED" | "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED" | "DEFAULT_CHILD_POLICY_UNDEFINED" | "OPERATION_NOT_PERMITTED"; export interface StartChildWorkflowExecutionFailedEventAttributes { workflowType: WorkflowType; cause: StartChildWorkflowExecutionFailedCause; @@ -1217,11 +1034,7 @@ export interface StartTimerDecisionAttributes { control?: string; startToFireTimeout: string; } -export type StartTimerFailedCause = - | "TIMER_ID_ALREADY_IN_USE" - | "OPEN_TIMERS_LIMIT_EXCEEDED" - | "TIMER_CREATION_RATE_EXCEEDED" - | "OPERATION_NOT_PERMITTED"; +export type StartTimerFailedCause = "TIMER_ID_ALREADY_IN_USE" | "OPEN_TIMERS_LIMIT_EXCEEDED" | "TIMER_CREATION_RATE_EXCEEDED" | "OPERATION_NOT_PERMITTED"; export interface StartTimerFailedEventAttributes { timerId: string; cause: StartTimerFailedCause; @@ -1438,10 +1251,7 @@ export interface WorkflowExecutionStartedEventAttributes { parentInitiatedEventId?: number; lambdaRole?: string; } -export type WorkflowExecutionTerminatedCause = - | "CHILD_POLICY_APPLIED" - | "EVENT_LIMIT_EXCEEDED" - | "OPERATOR_INITIATED"; +export type WorkflowExecutionTerminatedCause = "CHILD_POLICY_APPLIED" | "EVENT_LIMIT_EXCEEDED" | "OPERATOR_INITIATED"; export interface WorkflowExecutionTerminatedEventAttributes { reason?: string; details?: string; @@ -1643,7 +1453,9 @@ export declare namespace ListClosedWorkflowExecutions { export declare namespace ListDomains { export type Input = ListDomainsInput; export type Output = DomainInfos; - export type Error = OperationNotPermittedFault | CommonAwsError; + export type Error = + | OperationNotPermittedFault + | CommonAwsError; } export declare namespace ListOpenWorkflowExecutions { @@ -1863,16 +1675,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type SWFErrors = - | DefaultUndefinedFault - | DomainAlreadyExistsFault - | DomainDeprecatedFault - | LimitExceededFault - | OperationNotPermittedFault - | TooManyTagsFault - | TypeAlreadyExistsFault - | TypeDeprecatedFault - | TypeNotDeprecatedFault - | UnknownResourceFault - | WorkflowExecutionAlreadyStartedFault - | CommonAwsError; +export type SWFErrors = DefaultUndefinedFault | DomainAlreadyExistsFault | DomainDeprecatedFault | LimitExceededFault | OperationNotPermittedFault | TooManyTagsFault | TypeAlreadyExistsFault | TypeDeprecatedFault | TypeNotDeprecatedFault | UnknownResourceFault | WorkflowExecutionAlreadyStartedFault | CommonAwsError; + diff --git a/src/services/synthetics/index.ts b/src/services/synthetics/index.ts index 499396ea..be5899ee 100644 --- a/src/services/synthetics/index.ts +++ b/src/services/synthetics/index.ts @@ -5,23 +5,7 @@ import type { synthetics as _syntheticsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,28 +15,28 @@ const metadata = { sigV4ServiceName: "synthetics", endpointPrefix: "synthetics", operations: { - AssociateResource: "PATCH /group/{GroupIdentifier}/associate", - CreateCanary: "POST /canary", - CreateGroup: "POST /group", - DeleteCanary: "DELETE /canary/{Name}", - DeleteGroup: "DELETE /group/{GroupIdentifier}", - DescribeCanaries: "POST /canaries", - DescribeCanariesLastRun: "POST /canaries/last-run", - DescribeRuntimeVersions: "POST /runtime-versions", - DisassociateResource: "PATCH /group/{GroupIdentifier}/disassociate", - GetCanary: "GET /canary/{Name}", - GetCanaryRuns: "POST /canary/{Name}/runs", - GetGroup: "GET /group/{GroupIdentifier}", - ListAssociatedGroups: "POST /resource/{ResourceArn}/groups", - ListGroupResources: "POST /group/{GroupIdentifier}/resources", - ListGroups: "POST /groups", - ListTagsForResource: "GET /tags/{ResourceArn}", - StartCanary: "POST /canary/{Name}/start", - StartCanaryDryRun: "POST /canary/{Name}/dry-run/start", - StopCanary: "POST /canary/{Name}/stop", - TagResource: "POST /tags/{ResourceArn}", - UntagResource: "DELETE /tags/{ResourceArn}", - UpdateCanary: "PATCH /canary/{Name}", + "AssociateResource": "PATCH /group/{GroupIdentifier}/associate", + "CreateCanary": "POST /canary", + "CreateGroup": "POST /group", + "DeleteCanary": "DELETE /canary/{Name}", + "DeleteGroup": "DELETE /group/{GroupIdentifier}", + "DescribeCanaries": "POST /canaries", + "DescribeCanariesLastRun": "POST /canaries/last-run", + "DescribeRuntimeVersions": "POST /runtime-versions", + "DisassociateResource": "PATCH /group/{GroupIdentifier}/disassociate", + "GetCanary": "GET /canary/{Name}", + "GetCanaryRuns": "POST /canary/{Name}/runs", + "GetGroup": "GET /group/{GroupIdentifier}", + "ListAssociatedGroups": "POST /resource/{ResourceArn}/groups", + "ListGroupResources": "POST /group/{GroupIdentifier}/resources", + "ListGroups": "POST /groups", + "ListTagsForResource": "GET /tags/{ResourceArn}", + "StartCanary": "POST /canary/{Name}/start", + "StartCanaryDryRun": "POST /canary/{Name}/dry-run/start", + "StopCanary": "POST /canary/{Name}/stop", + "TagResource": "POST /tags/{ResourceArn}", + "UntagResource": "DELETE /tags/{ResourceArn}", + "UpdateCanary": "PATCH /canary/{Name}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/synthetics/types.ts b/src/services/synthetics/types.ts index 96ae93d1..1ff99296 100644 --- a/src/services/synthetics/types.ts +++ b/src/services/synthetics/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | RequestEntityTooLargeException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | RequestEntityTooLargeException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class synthetics extends AWSServiceClient { @@ -40,51 +8,31 @@ export declare class synthetics extends AWSServiceClient { input: AssociateResourceRequest, ): Effect.Effect< AssociateResourceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createCanary( input: CreateCanaryRequest, ): Effect.Effect< CreateCanaryResponse, - | InternalServerException - | RequestEntityTooLargeException - | ValidationException - | CommonAwsError + InternalServerException | RequestEntityTooLargeException | ValidationException | CommonAwsError >; createGroup( input: CreateGroupRequest, ): Effect.Effect< CreateGroupResponse, - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; deleteCanary( input: DeleteCanaryRequest, ): Effect.Effect< DeleteCanaryResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteGroup( input: DeleteGroupRequest, ): Effect.Effect< DeleteGroupResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; describeCanaries( input: DescribeCanariesRequest, @@ -108,11 +56,7 @@ export declare class synthetics extends AWSServiceClient { input: DisassociateResourceRequest, ): Effect.Effect< DisassociateResourceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getCanary( input: GetCanaryRequest, @@ -124,39 +68,25 @@ export declare class synthetics extends AWSServiceClient { input: GetCanaryRunsRequest, ): Effect.Effect< GetCanaryRunsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getGroup( input: GetGroupRequest, ): Effect.Effect< GetGroupResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAssociatedGroups( input: ListAssociatedGroupsRequest, ): Effect.Effect< ListAssociatedGroupsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listGroupResources( input: ListGroupResourcesRequest, ): Effect.Effect< ListGroupResourcesResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listGroups( input: ListGroupsRequest, @@ -168,77 +98,43 @@ export declare class synthetics extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | NotFoundException | TooManyRequestsException | CommonAwsError >; startCanary( input: StartCanaryRequest, ): Effect.Effect< StartCanaryResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; startCanaryDryRun( input: StartCanaryDryRunRequest, ): Effect.Effect< StartCanaryDryRunResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; stopCanary( input: StopCanaryRequest, ): Effect.Effect< StopCanaryResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | NotFoundException | TooManyRequestsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | NotFoundException - | TooManyRequestsException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | NotFoundException | TooManyRequestsException | CommonAwsError >; updateCanary( input: UpdateCanaryRequest, ): Effect.Effect< UpdateCanaryResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | RequestEntityTooLargeException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | RequestEntityTooLargeException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -257,7 +153,8 @@ export interface AssociateResourceRequest { GroupIdentifier: string; ResourceArn: string; } -export interface AssociateResourceResponse {} +export interface AssociateResourceResponse { +} export declare class BadRequestException extends EffectData.TaggedError( "BadRequestException", )<{ @@ -384,29 +281,8 @@ export interface CanaryScheduleOutput { DurationInSeconds?: number; RetryConfig?: RetryConfigOutput; } -export type CanaryState = - | "CREATING" - | "READY" - | "STARTING" - | "RUNNING" - | "UPDATING" - | "STOPPING" - | "STOPPED" - | "ERROR" - | "DELETING"; -export type CanaryStateReasonCode = - | "INVALID_PERMISSIONS" - | "CREATE_PENDING" - | "CREATE_IN_PROGRESS" - | "CREATE_FAILED" - | "UPDATE_PENDING" - | "UPDATE_IN_PROGRESS" - | "UPDATE_COMPLETE" - | "ROLLBACK_COMPLETE" - | "ROLLBACK_FAILED" - | "DELETE_IN_PROGRESS" - | "DELETE_FAILED" - | "SYNC_DELETE_IN_PROGRESS"; +export type CanaryState = "CREATING" | "READY" | "STARTING" | "RUNNING" | "UPDATING" | "STOPPING" | "STOPPED" | "ERROR" | "DELETING"; +export type CanaryStateReasonCode = "INVALID_PERMISSIONS" | "CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "UPDATE_PENDING" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "SYNC_DELETE_IN_PROGRESS"; export interface CanaryStatus { State?: CanaryState; StateReason?: string; @@ -456,11 +332,13 @@ export interface DeleteCanaryRequest { Name: string; DeleteLambda?: boolean; } -export interface DeleteCanaryResponse {} +export interface DeleteCanaryResponse { +} export interface DeleteGroupRequest { GroupIdentifier: string; } -export interface DeleteGroupResponse {} +export interface DeleteGroupResponse { +} export type Dependencies = Array; export interface Dependency { Type?: DependencyType; @@ -500,7 +378,8 @@ export interface DisassociateResourceRequest { GroupIdentifier: string; ResourceArn: string; } -export interface DisassociateResourceResponse {} +export interface DisassociateResourceResponse { +} export interface DryRunConfigOutput { DryRunId?: string; LastDryRunExecutionStatus?: string; @@ -702,11 +581,13 @@ export interface StartCanaryDryRunResponse { export interface StartCanaryRequest { Name: string; } -export interface StartCanaryResponse {} +export interface StartCanaryResponse { +} export interface StopCanaryRequest { Name: string; } -export interface StopCanaryResponse {} +export interface StopCanaryResponse { +} export type SyntheticsString = string; export type StringList = Array; @@ -721,7 +602,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type Timestamp = Date | string; @@ -737,7 +619,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateCanaryRequest { Name: string; Code?: CanaryCodeInput; @@ -756,7 +639,8 @@ export interface UpdateCanaryRequest { VisualReferences?: Array; BrowserConfigs?: Array; } -export interface UpdateCanaryResponse {} +export interface UpdateCanaryResponse { +} export type UUID = string; export declare class ValidationException extends EffectData.TaggedError( @@ -1025,16 +909,5 @@ export declare namespace UpdateCanary { | CommonAwsError; } -export type syntheticsErrors = - | AccessDeniedException - | BadRequestException - | ConflictException - | InternalFailureException - | InternalServerException - | NotFoundException - | RequestEntityTooLargeException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyRequestsException - | ValidationException - | CommonAwsError; +export type syntheticsErrors = AccessDeniedException | BadRequestException | ConflictException | InternalFailureException | InternalServerException | NotFoundException | RequestEntityTooLargeException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyRequestsException | ValidationException | CommonAwsError; + diff --git a/src/services/taxsettings/index.ts b/src/services/taxsettings/index.ts index 60d6b63b..3e93c793 100644 --- a/src/services/taxsettings/index.ts +++ b/src/services/taxsettings/index.ts @@ -5,24 +5,7 @@ import type { TaxSettings as _TaxSettingsClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,23 +14,22 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "tax", operations: { - BatchDeleteTaxRegistration: "POST /BatchDeleteTaxRegistration", - BatchGetTaxExemptions: "POST /BatchGetTaxExemptions", - BatchPutTaxRegistration: "POST /BatchPutTaxRegistration", - DeleteSupplementalTaxRegistration: - "POST /DeleteSupplementalTaxRegistration", - DeleteTaxRegistration: "POST /DeleteTaxRegistration", - GetTaxExemptionTypes: "POST /GetTaxExemptionTypes", - GetTaxInheritance: "POST /GetTaxInheritance", - GetTaxRegistration: "POST /GetTaxRegistration", - GetTaxRegistrationDocument: "POST /GetTaxRegistrationDocument", - ListSupplementalTaxRegistrations: "POST /ListSupplementalTaxRegistrations", - ListTaxExemptions: "POST /ListTaxExemptions", - ListTaxRegistrations: "POST /ListTaxRegistrations", - PutSupplementalTaxRegistration: "POST /PutSupplementalTaxRegistration", - PutTaxExemption: "POST /PutTaxExemption", - PutTaxInheritance: "POST /PutTaxInheritance", - PutTaxRegistration: "POST /PutTaxRegistration", + "BatchDeleteTaxRegistration": "POST /BatchDeleteTaxRegistration", + "BatchGetTaxExemptions": "POST /BatchGetTaxExemptions", + "BatchPutTaxRegistration": "POST /BatchPutTaxRegistration", + "DeleteSupplementalTaxRegistration": "POST /DeleteSupplementalTaxRegistration", + "DeleteTaxRegistration": "POST /DeleteTaxRegistration", + "GetTaxExemptionTypes": "POST /GetTaxExemptionTypes", + "GetTaxInheritance": "POST /GetTaxInheritance", + "GetTaxRegistration": "POST /GetTaxRegistration", + "GetTaxRegistrationDocument": "POST /GetTaxRegistrationDocument", + "ListSupplementalTaxRegistrations": "POST /ListSupplementalTaxRegistrations", + "ListTaxExemptions": "POST /ListTaxExemptions", + "ListTaxRegistrations": "POST /ListTaxRegistrations", + "PutSupplementalTaxRegistration": "POST /PutSupplementalTaxRegistration", + "PutTaxExemption": "POST /PutTaxExemption", + "PutTaxInheritance": "POST /PutTaxInheritance", + "PutTaxRegistration": "POST /PutTaxRegistration", }, } as const satisfies ServiceMetadata; diff --git a/src/services/taxsettings/types.ts b/src/services/taxsettings/types.ts index 87957163..25b7f99b 100644 --- a/src/services/taxsettings/types.ts +++ b/src/services/taxsettings/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class TaxSettings extends AWSServiceClient { @@ -41,75 +8,49 @@ export declare class TaxSettings extends AWSServiceClient { input: BatchDeleteTaxRegistrationRequest, ): Effect.Effect< BatchDeleteTaxRegistrationResponse, - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ValidationException | CommonAwsError >; batchGetTaxExemptions( input: BatchGetTaxExemptionsRequest, ): Effect.Effect< BatchGetTaxExemptionsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; batchPutTaxRegistration( input: BatchPutTaxRegistrationRequest, ): Effect.Effect< BatchPutTaxRegistrationResponse, - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ValidationException | CommonAwsError >; deleteSupplementalTaxRegistration( input: DeleteSupplementalTaxRegistrationRequest, ): Effect.Effect< DeleteSupplementalTaxRegistrationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteTaxRegistration( input: DeleteTaxRegistrationRequest, ): Effect.Effect< DeleteTaxRegistrationResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getTaxExemptionTypes( input: GetTaxExemptionTypesRequest, ): Effect.Effect< GetTaxExemptionTypesResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getTaxInheritance( input: GetTaxInheritanceRequest, ): Effect.Effect< GetTaxInheritanceResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getTaxRegistration( input: GetTaxRegistrationRequest, ): Effect.Effect< GetTaxRegistrationResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; getTaxRegistrationDocument( input: GetTaxRegistrationDocumentRequest, @@ -121,68 +62,43 @@ export declare class TaxSettings extends AWSServiceClient { input: ListSupplementalTaxRegistrationsRequest, ): Effect.Effect< ListSupplementalTaxRegistrationsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTaxExemptions( input: ListTaxExemptionsRequest, ): Effect.Effect< ListTaxExemptionsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; listTaxRegistrations( input: ListTaxRegistrationsRequest, ): Effect.Effect< ListTaxRegistrationsResponse, - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putSupplementalTaxRegistration( input: PutSupplementalTaxRegistrationRequest, ): Effect.Effect< PutSupplementalTaxRegistrationResponse, - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ValidationException | CommonAwsError >; putTaxExemption( input: PutTaxExemptionRequest, ): Effect.Effect< PutTaxExemptionResponse, - | AccessDeniedException - | AttachmentUploadException - | CaseCreationLimitExceededException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | AttachmentUploadException | CaseCreationLimitExceededException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putTaxInheritance( input: PutTaxInheritanceRequest, ): Effect.Effect< PutTaxInheritanceResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putTaxRegistration( input: PutTaxRegistrationRequest, ): Effect.Effect< PutTaxRegistrationResponse, - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ValidationException | CommonAwsError >; } @@ -273,10 +189,7 @@ export type AddressLine2 = string; export type AddressLine3 = string; export type AddressRoleMap = Record; -export type AddressRoleType = - | "TaxAddress" - | "BillingAddress" - | "ContactAddress"; +export type AddressRoleType = "TaxAddress" | "BillingAddress" | "ContactAddress"; export declare class AttachmentUploadException extends EffectData.TaggedError( "AttachmentUploadException", )<{ @@ -292,8 +205,7 @@ export interface BatchDeleteTaxRegistrationError { message: string; code?: string; } -export type BatchDeleteTaxRegistrationErrors = - Array; +export type BatchDeleteTaxRegistrationErrors = Array; export interface BatchDeleteTaxRegistrationRequest { accountIds: Array; } @@ -377,11 +289,13 @@ export type DecisionNumber = string; export interface DeleteSupplementalTaxRegistrationRequest { authorityId: string; } -export interface DeleteSupplementalTaxRegistrationResponse {} +export interface DeleteSupplementalTaxRegistrationResponse { +} export interface DeleteTaxRegistrationRequest { accountId?: string; } -export interface DeleteTaxRegistrationResponse {} +export interface DeleteTaxRegistrationResponse { +} export type DestinationFilePath = string; export interface DestinationS3Location { @@ -400,11 +314,7 @@ export type ElectronicTransactionCodeNumber = string; export type EnterpriseIdentificationNumber = string; -export type EntityExemptionAccountStatus = - | "None" - | "Valid" - | "Expired" - | "Pending"; +export type EntityExemptionAccountStatus = "None" | "Valid" | "Expired" | "Pending"; export type ErrorCode = string; export type ErrorMessage = string; @@ -429,11 +339,13 @@ export type GenericString = string; export interface GeorgiaAdditionalInfo { personType: PersonType; } -export interface GetTaxExemptionTypesRequest {} +export interface GetTaxExemptionTypesRequest { +} export interface GetTaxExemptionTypesResponse { taxExemptionTypes?: Array; } -export interface GetTaxInheritanceRequest {} +export interface GetTaxInheritanceRequest { +} export interface GetTaxInheritanceResponse { heritageStatus?: HeritageStatus; } @@ -465,18 +377,8 @@ export interface IndonesiaAdditionalInfo { ppnExceptionDesignationCode?: string; decisionNumber?: string; } -export type IndonesiaTaxRegistrationNumberType = - | "NIK" - | "PassportNumber" - | "NPWP" - | "NITKU"; -export type Industries = - | "CirculatingOrg" - | "ProfessionalOrg" - | "Banks" - | "Insurance" - | "PensionAndBenefitFunds" - | "DevelopmentAgencies"; +export type IndonesiaTaxRegistrationNumberType = "NIK" | "PassportNumber" | "NPWP" | "NITKU"; +export type Industries = "CirculatingOrg" | "ProfessionalOrg" | "Banks" | "Insurance" | "PensionAndBenefitFunds" | "DevelopmentAgencies"; export type InheritanceObtainedReason = string; export declare class InternalServerException extends EffectData.TaggedError( @@ -543,11 +445,7 @@ export interface MalaysiaAdditionalInfo { taxInformationNumber?: string; businessRegistrationNumber?: string; } -export type MalaysiaServiceTaxCode = - | "Consultancy" - | "Digital Service And Electronic Medium" - | "IT Services" - | "Training Or Coaching"; +export type MalaysiaServiceTaxCode = "Consultancy" | "Digital Service And Electronic Medium" | "IT Services" | "Training Or Coaching"; export type MalaysiaServiceTaxCodesList = Array; export type MaxResults = number; @@ -585,7 +483,8 @@ export interface PutTaxExemptionResponse { export interface PutTaxInheritanceRequest { heritageStatus?: HeritageStatus; } -export interface PutTaxInheritanceResponse {} +export interface PutTaxInheritanceResponse { +} export interface PutTaxRegistrationRequest { accountId?: string; taxRegistrationEntry: TaxRegistrationEntry; @@ -616,10 +515,7 @@ export type S3Prefix = string; export interface SaudiArabiaAdditionalInfo { taxRegistrationNumberType?: SaudiArabiaTaxRegistrationNumberType; } -export type SaudiArabiaTaxRegistrationNumberType = - | "TaxRegistrationNumber" - | "TaxIdentificationNumber" - | "CommercialRegistrationNumber"; +export type SaudiArabiaTaxRegistrationNumberType = "TaxRegistrationNumber" | "TaxIdentificationNumber" | "CommercialRegistrationNumber"; export type SdiAccountId = string; export type SecondaryTaxId = string; @@ -655,8 +551,7 @@ export interface SupplementalTaxRegistrationEntry { legalName: string; address: Address; } -export type SupplementalTaxRegistrationList = - Array; +export type SupplementalTaxRegistrationList = Array; export type SupplementalTaxRegistrationType = "VAT"; export type TaxCode = string; @@ -729,22 +624,9 @@ export interface TaxRegistrationEntry { verificationDetails?: VerificationDetails; certifiedEmailId?: string; } -export type TaxRegistrationNumberType = - | "TaxRegistrationNumber" - | "LocalRegistrationNumber"; -export type TaxRegistrationStatus = - | "Verified" - | "Pending" - | "Deleted" - | "Rejected"; -export type TaxRegistrationType = - | "VAT" - | "GST" - | "CPF" - | "CNPJ" - | "SST" - | "TIN" - | "NRIC"; +export type TaxRegistrationNumberType = "TaxRegistrationNumber" | "LocalRegistrationNumber"; +export type TaxRegistrationStatus = "Verified" | "Pending" | "Deleted" | "Rejected"; +export type TaxRegistrationType = "VAT" | "GST" | "CPF" | "CNPJ" | "SST" | "TIN" | "NRIC"; export interface TaxRegistrationWithJurisdiction { registrationId: string; registrationType: TaxRegistrationType; @@ -782,12 +664,7 @@ export declare class ValidationException extends EffectData.TaggedError( readonly errorCode: ValidationExceptionErrorCode; readonly fieldList?: Array; }> {} -export type ValidationExceptionErrorCode = - | "MalformedToken" - | "ExpiredToken" - | "InvalidToken" - | "FieldValidationFailed" - | "MissingInput"; +export type ValidationExceptionErrorCode = "MalformedToken" | "ExpiredToken" | "InvalidToken" | "FieldValidationFailed" | "MissingInput"; export interface ValidationExceptionField { name: string; } @@ -969,12 +846,5 @@ export declare namespace PutTaxRegistration { | CommonAwsError; } -export type TaxSettingsErrors = - | AccessDeniedException - | AttachmentUploadException - | CaseCreationLimitExceededException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError; +export type TaxSettingsErrors = AccessDeniedException | AttachmentUploadException | CaseCreationLimitExceededException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError; + diff --git a/src/services/textract/index.ts b/src/services/textract/index.ts index b5dadb24..43bec09d 100644 --- a/src/services/textract/index.ts +++ b/src/services/textract/index.ts @@ -5,23 +5,7 @@ import type { Textract as _TextractClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/textract/types.ts b/src/services/textract/types.ts index 5438ea31..14bfdbc6 100644 --- a/src/services/textract/types.ts +++ b/src/services/textract/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Textract extends AWSServiceClient { @@ -40,372 +8,151 @@ export declare class Textract extends AWSServiceClient { input: AnalyzeDocumentRequest, ): Effect.Effect< AnalyzeDocumentResponse, - | AccessDeniedException - | BadDocumentException - | DocumentTooLargeException - | HumanLoopQuotaExceededException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | UnsupportedDocumentException - | CommonAwsError + AccessDeniedException | BadDocumentException | DocumentTooLargeException | HumanLoopQuotaExceededException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | UnsupportedDocumentException | CommonAwsError >; analyzeExpense( input: AnalyzeExpenseRequest, ): Effect.Effect< AnalyzeExpenseResponse, - | AccessDeniedException - | BadDocumentException - | DocumentTooLargeException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | UnsupportedDocumentException - | CommonAwsError + AccessDeniedException | BadDocumentException | DocumentTooLargeException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | UnsupportedDocumentException | CommonAwsError >; analyzeID( input: AnalyzeIDRequest, ): Effect.Effect< AnalyzeIDResponse, - | AccessDeniedException - | BadDocumentException - | DocumentTooLargeException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | UnsupportedDocumentException - | CommonAwsError + AccessDeniedException | BadDocumentException | DocumentTooLargeException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | UnsupportedDocumentException | CommonAwsError >; createAdapter( input: CreateAdapterRequest, ): Effect.Effect< CreateAdapterResponse, - | AccessDeniedException - | ConflictException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidParameterException - | LimitExceededException - | ProvisionedThroughputExceededException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | IdempotentParameterMismatchException | InternalServerError | InvalidParameterException | LimitExceededException | ProvisionedThroughputExceededException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createAdapterVersion( input: CreateAdapterVersionRequest, ): Effect.Effect< CreateAdapterVersionResponse, - | AccessDeniedException - | ConflictException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | IdempotentParameterMismatchException | InternalServerError | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAdapter( input: DeleteAdapterRequest, ): Effect.Effect< DeleteAdapterResponse, - | AccessDeniedException - | ConflictException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAdapterVersion( input: DeleteAdapterVersionRequest, ): Effect.Effect< DeleteAdapterVersionResponse, - | AccessDeniedException - | ConflictException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; detectDocumentText( input: DetectDocumentTextRequest, ): Effect.Effect< DetectDocumentTextResponse, - | AccessDeniedException - | BadDocumentException - | DocumentTooLargeException - | InternalServerError - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | UnsupportedDocumentException - | CommonAwsError + AccessDeniedException | BadDocumentException | DocumentTooLargeException | InternalServerError | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | UnsupportedDocumentException | CommonAwsError >; getAdapter( input: GetAdapterRequest, ): Effect.Effect< GetAdapterResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAdapterVersion( input: GetAdapterVersionRequest, ): Effect.Effect< GetAdapterVersionResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDocumentAnalysis( input: GetDocumentAnalysisRequest, ): Effect.Effect< GetDocumentAnalysisResponse, - | AccessDeniedException - | InternalServerError - | InvalidJobIdException - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidJobIdException | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; getDocumentTextDetection( input: GetDocumentTextDetectionRequest, ): Effect.Effect< GetDocumentTextDetectionResponse, - | AccessDeniedException - | InternalServerError - | InvalidJobIdException - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidJobIdException | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; getExpenseAnalysis( input: GetExpenseAnalysisRequest, ): Effect.Effect< GetExpenseAnalysisResponse, - | AccessDeniedException - | InternalServerError - | InvalidJobIdException - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidJobIdException | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; getLendingAnalysis( input: GetLendingAnalysisRequest, ): Effect.Effect< GetLendingAnalysisResponse, - | AccessDeniedException - | InternalServerError - | InvalidJobIdException - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidJobIdException | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; getLendingAnalysisSummary( input: GetLendingAnalysisSummaryRequest, ): Effect.Effect< GetLendingAnalysisSummaryResponse, - | AccessDeniedException - | InternalServerError - | InvalidJobIdException - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | ProvisionedThroughputExceededException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidJobIdException | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | ProvisionedThroughputExceededException | ThrottlingException | CommonAwsError >; listAdapters( input: ListAdaptersRequest, ): Effect.Effect< ListAdaptersResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ThrottlingException | ValidationException | CommonAwsError >; listAdapterVersions( input: ListAdapterVersionsRequest, ): Effect.Effect< ListAdapterVersionsResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; startDocumentAnalysis( input: StartDocumentAnalysisRequest, ): Effect.Effect< StartDocumentAnalysisResponse, - | AccessDeniedException - | BadDocumentException - | DocumentTooLargeException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | UnsupportedDocumentException - | CommonAwsError + AccessDeniedException | BadDocumentException | DocumentTooLargeException | IdempotentParameterMismatchException | InternalServerError | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | UnsupportedDocumentException | CommonAwsError >; startDocumentTextDetection( input: StartDocumentTextDetectionRequest, ): Effect.Effect< StartDocumentTextDetectionResponse, - | AccessDeniedException - | BadDocumentException - | DocumentTooLargeException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | UnsupportedDocumentException - | CommonAwsError + AccessDeniedException | BadDocumentException | DocumentTooLargeException | IdempotentParameterMismatchException | InternalServerError | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | UnsupportedDocumentException | CommonAwsError >; startExpenseAnalysis( input: StartExpenseAnalysisRequest, ): Effect.Effect< StartExpenseAnalysisResponse, - | AccessDeniedException - | BadDocumentException - | DocumentTooLargeException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | UnsupportedDocumentException - | CommonAwsError + AccessDeniedException | BadDocumentException | DocumentTooLargeException | IdempotentParameterMismatchException | InternalServerError | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | UnsupportedDocumentException | CommonAwsError >; startLendingAnalysis( input: StartLendingAnalysisRequest, ): Effect.Effect< StartLendingAnalysisResponse, - | AccessDeniedException - | BadDocumentException - | DocumentTooLargeException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ThrottlingException - | UnsupportedDocumentException - | CommonAwsError + AccessDeniedException | BadDocumentException | DocumentTooLargeException | IdempotentParameterMismatchException | InternalServerError | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ThrottlingException | UnsupportedDocumentException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAdapter( input: UpdateAdapterRequest, ): Effect.Effect< UpdateAdapterResponse, - | AccessDeniedException - | ConflictException - | InternalServerError - | InvalidParameterException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerError | InvalidParameterException | ProvisionedThroughputExceededException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -450,8 +197,7 @@ export interface AdapterVersionEvaluationMetric { AdapterVersion?: EvaluationMetric; FeatureType?: FeatureType; } -export type AdapterVersionEvaluationMetrics = - Array; +export type AdapterVersionEvaluationMetrics = Array; export type AdapterVersionList = Array; export interface AdapterVersionOverview { AdapterId?: string; @@ -461,12 +207,7 @@ export interface AdapterVersionOverview { Status?: AdapterVersionStatus; StatusMessage?: string; } -export type AdapterVersionStatus = - | "ACTIVE" - | "AT_RISK" - | "DEPRECATED" - | "CREATION_ERROR" - | "CREATION_IN_PROGRESS"; +export type AdapterVersionStatus = "ACTIVE" | "AT_RISK" | "DEPRECATED" | "CREATION_ERROR" | "CREATION_IN_PROGRESS"; export type AdapterVersionStatusMessage = string; export type AmazonResourceName = string; @@ -531,31 +272,7 @@ export interface Block { Query?: Query; } export type BlockList = Array; -export type BlockType = - | "KEY_VALUE_SET" - | "PAGE" - | "LINE" - | "WORD" - | "TABLE" - | "CELL" - | "SELECTION_ELEMENT" - | "MERGED_CELL" - | "TITLE" - | "QUERY" - | "QUERY_RESULT" - | "SIGNATURE" - | "TABLE_TITLE" - | "TABLE_FOOTER" - | "LAYOUT_TEXT" - | "LAYOUT_TITLE" - | "LAYOUT_HEADER" - | "LAYOUT_FOOTER" - | "LAYOUT_SECTION_HEADER" - | "LAYOUT_PAGE_NUMBER" - | "LAYOUT_LIST" - | "LAYOUT_FIGURE" - | "LAYOUT_TABLE" - | "LAYOUT_KEY_VALUE"; +export type BlockType = "KEY_VALUE_SET" | "PAGE" | "LINE" | "WORD" | "TABLE" | "CELL" | "SELECTION_ELEMENT" | "MERGED_CELL" | "TITLE" | "QUERY" | "QUERY_RESULT" | "SIGNATURE" | "TABLE_TITLE" | "TABLE_FOOTER" | "LAYOUT_TEXT" | "LAYOUT_TITLE" | "LAYOUT_HEADER" | "LAYOUT_FOOTER" | "LAYOUT_SECTION_HEADER" | "LAYOUT_PAGE_NUMBER" | "LAYOUT_LIST" | "LAYOUT_FIGURE" | "LAYOUT_TABLE" | "LAYOUT_KEY_VALUE"; export interface BoundingBox { Width?: number; Height?: number; @@ -570,9 +287,7 @@ export declare class ConflictException extends EffectData.TaggedError( readonly Message?: string; readonly Code?: string; }> {} -export type ContentClassifier = - | "FreeOfPersonallyIdentifiableInformation" - | "FreeOfAdultContent"; +export type ContentClassifier = "FreeOfPersonallyIdentifiableInformation" | "FreeOfAdultContent"; export type ContentClassifiers = Array; export interface CreateAdapterRequest { AdapterName: string; @@ -602,12 +317,14 @@ export type DateTime = Date | string; export interface DeleteAdapterRequest { AdapterId: string; } -export interface DeleteAdapterResponse {} +export interface DeleteAdapterResponse { +} export interface DeleteAdapterVersionRequest { AdapterId: string; AdapterVersion: string; } -export interface DeleteAdapterVersionResponse {} +export interface DeleteAdapterVersionResponse { +} export interface DetectDocumentTextRequest { Document: Document; } @@ -644,16 +361,7 @@ export declare class DocumentTooLargeException extends EffectData.TaggedError( readonly Message?: string; readonly Code?: string; }> {} -export type EntityType = - | "KEY" - | "VALUE" - | "COLUMN_HEADER" - | "TABLE_TITLE" - | "TABLE_FOOTER" - | "TABLE_SECTION_TITLE" - | "TABLE_SUMMARY" - | "STRUCTURED_TABLE" - | "SEMI_STRUCTURED_TABLE"; +export type EntityType = "KEY" | "VALUE" | "COLUMN_HEADER" | "TABLE_TITLE" | "TABLE_FOOTER" | "TABLE_SECTION_TITLE" | "TABLE_SUMMARY" | "STRUCTURED_TABLE" | "SEMI_STRUCTURED_TABLE"; export type EntityTypes = Array; export type ErrorCode = string; @@ -702,12 +410,7 @@ export interface Extraction { IdentityDocument?: IdentityDocument; } export type ExtractionList = Array; -export type FeatureType = - | "TABLES" - | "FORMS" - | "QUERIES" - | "SIGNATURES" - | "LAYOUT"; +export type FeatureType = "TABLES" | "FORMS" | "QUERIES" | "SIGNATURES" | "LAYOUT"; export type FeatureTypes = Array; export type Float = number; @@ -895,11 +598,7 @@ export declare class InvalidS3ObjectException extends EffectData.TaggedError( }> {} export type JobId = string; -export type JobStatus = - | "IN_PROGRESS" - | "SUCCEEDED" - | "FAILED" - | "PARTIAL_SUCCESS"; +export type JobStatus = "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "PARTIAL_SUCCESS"; export type JobTag = string; export type KMSKeyId = string; @@ -1034,16 +733,7 @@ export interface Relationship { Ids?: Array; } export type RelationshipList = Array; -export type RelationshipType = - | "VALUE" - | "CHILD" - | "COMPLEX_FEATURES" - | "MERGED_CELL" - | "TITLE" - | "ANSWER" - | "TABLE" - | "TABLE_TITLE" - | "TABLE_FOOTER"; +export type RelationshipType = "VALUE" | "CHILD" | "COMPLEX_FEATURES" | "MERGED_CELL" | "TITLE" | "ANSWER" | "TABLE" | "TABLE_TITLE" | "TABLE_FOOTER"; export declare class ResourceNotFoundException extends EffectData.TaggedError( "ResourceNotFoundException", )<{ @@ -1134,8 +824,7 @@ export type StatusMessage = string; export type TextractString = string; export type StringList = Array; -export type SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = - string; +export type SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = string; export type TagKey = string; @@ -1145,7 +834,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TextType = "HANDWRITING" | "PRINTED"; @@ -1172,7 +862,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAdapterRequest { AdapterId: string; Description?: string; @@ -1595,23 +1286,5 @@ export declare namespace UpdateAdapter { | CommonAwsError; } -export type TextractErrors = - | AccessDeniedException - | BadDocumentException - | ConflictException - | DocumentTooLargeException - | HumanLoopQuotaExceededException - | IdempotentParameterMismatchException - | InternalServerError - | InvalidJobIdException - | InvalidKMSKeyException - | InvalidParameterException - | InvalidS3ObjectException - | LimitExceededException - | ProvisionedThroughputExceededException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | UnsupportedDocumentException - | ValidationException - | CommonAwsError; +export type TextractErrors = AccessDeniedException | BadDocumentException | ConflictException | DocumentTooLargeException | HumanLoopQuotaExceededException | IdempotentParameterMismatchException | InternalServerError | InvalidJobIdException | InvalidKMSKeyException | InvalidParameterException | InvalidS3ObjectException | LimitExceededException | ProvisionedThroughputExceededException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | UnsupportedDocumentException | ValidationException | CommonAwsError; + diff --git a/src/services/timestream-influxdb/index.ts b/src/services/timestream-influxdb/index.ts index 6aeb1108..a8a0d7f4 100644 --- a/src/services/timestream-influxdb/index.ts +++ b/src/services/timestream-influxdb/index.ts @@ -5,23 +5,7 @@ import type { TimestreamInfluxDB as _TimestreamInfluxDBClient } from "./types.ts export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/timestream-influxdb/types.ts b/src/services/timestream-influxdb/types.ts index 9eee9476..ce92be69 100644 --- a/src/services/timestream-influxdb/types.ts +++ b/src/services/timestream-influxdb/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class TimestreamInfluxDB extends AWSServiceClient { @@ -50,170 +18,93 @@ export declare class TimestreamInfluxDB extends AWSServiceClient { >; untagResource( input: UntagResourceRequest, - ): Effect.Effect<{}, ResourceNotFoundException | CommonAwsError>; + ): Effect.Effect< + {}, + ResourceNotFoundException | CommonAwsError + >; createDbCluster( input: CreateDbClusterInput, ): Effect.Effect< CreateDbClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDbInstance( input: CreateDbInstanceInput, ): Effect.Effect< CreateDbInstanceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDbParameterGroup( input: CreateDbParameterGroupInput, ): Effect.Effect< CreateDbParameterGroupOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDbCluster( input: DeleteDbClusterInput, ): Effect.Effect< DeleteDbClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteDbInstance( input: DeleteDbInstanceInput, ): Effect.Effect< DeleteDbInstanceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDbCluster( input: GetDbClusterInput, ): Effect.Effect< GetDbClusterOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDbInstance( input: GetDbInstanceInput, ): Effect.Effect< GetDbInstanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDbParameterGroup( input: GetDbParameterGroupInput, ): Effect.Effect< GetDbParameterGroupOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDbClusters( input: ListDbClustersInput, ): Effect.Effect< ListDbClustersOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDbInstances( input: ListDbInstancesInput, ): Effect.Effect< ListDbInstancesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDbInstancesForCluster( input: ListDbInstancesForClusterInput, ): Effect.Effect< ListDbInstancesForClusterOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDbParameterGroups( input: ListDbParameterGroupsInput, ): Effect.Effect< ListDbParameterGroupsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDbCluster( input: UpdateDbClusterInput, ): Effect.Effect< UpdateDbClusterOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDbInstance( input: UpdateDbInstanceInput, ): Effect.Effect< UpdateDbInstanceOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -231,14 +122,7 @@ export type Arn = string; export type Bucket = string; export type ClusterDeploymentType = "MULTI_NODE_READ_REPLICAS"; -export type ClusterStatus = - | "CREATING" - | "UPDATING" - | "DELETING" - | "AVAILABLE" - | "FAILED" - | "DELETED" - | "MAINTENANCE"; +export type ClusterStatus = "CREATING" | "UPDATING" | "DELETING" | "AVAILABLE" | "FAILED" | "DELETED" | "MAINTENANCE"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -362,8 +246,7 @@ export interface DbInstanceForClusterSummary { instanceMode?: InstanceMode; instanceModes?: Array; } -export type DbInstanceForClusterSummaryList = - Array; +export type DbInstanceForClusterSummaryList = Array; export type DbInstanceId = string; export type DbInstanceIdentifier = string; @@ -384,16 +267,7 @@ export interface DbInstanceSummary { deploymentType?: DeploymentType; } export type DbInstanceSummaryList = Array; -export type DbInstanceType = - | "db.influx.medium" - | "db.influx.large" - | "db.influx.xlarge" - | "db.influx.2xlarge" - | "db.influx.4xlarge" - | "db.influx.8xlarge" - | "db.influx.12xlarge" - | "db.influx.16xlarge" - | "db.influx.24xlarge"; +export type DbInstanceType = "db.influx.medium" | "db.influx.large" | "db.influx.xlarge" | "db.influx.2xlarge" | "db.influx.4xlarge" | "db.influx.8xlarge" | "db.influx.12xlarge" | "db.influx.16xlarge" | "db.influx.24xlarge"; export type DbParameterGroupId = string; export type DbParameterGroupIdentifier = string; @@ -407,10 +281,7 @@ export interface DbParameterGroupSummary { description?: string; } export type DbParameterGroupSummaryList = Array; -export type DbStorageType = - | "InfluxIOIncludedT1" - | "InfluxIOIncludedT2" - | "InfluxIOIncludedT3"; +export type DbStorageType = "InfluxIOIncludedT1" | "InfluxIOIncludedT2" | "InfluxIOIncludedT3"; export interface DeleteDbClusterInput { dbClusterId: string; } @@ -449,16 +320,8 @@ export interface Duration { durationType: DurationType; value: number; } -export type DurationType = - | "hours" - | "minutes" - | "seconds" - | "milliseconds" - | "days"; -export type EngineType = - | "INFLUXDB_V2" - | "INFLUXDB_V3_CORE" - | "INFLUXDB_V3_ENTERPRISE"; +export type DurationType = "hours" | "minutes" | "seconds" | "milliseconds" | "days"; +export type EngineType = "INFLUXDB_V2" | "INFLUXDB_V3_CORE" | "INFLUXDB_V3_ENTERPRISE"; export type FailoverMode = "AUTOMATIC" | "NO_FAILOVER"; export interface GetDbClusterInput { dbClusterId: string; @@ -653,14 +516,7 @@ export interface InfluxDBv3EnterpriseParameters { replicationInterval?: Duration; catalogSyncInterval?: Duration; } -export type InstanceMode = - | "PRIMARY" - | "STANDBY" - | "REPLICA" - | "INGEST" - | "QUERY" - | "COMPACT" - | "PROCESS"; +export type InstanceMode = "PRIMARY" | "STANDBY" | "REPLICA" | "INGEST" | "QUERY" | "COMPACT" | "PROCESS"; export type InstanceModeList = Array; export declare class InternalServerException extends EffectData.TaggedError( "InternalServerException", @@ -724,10 +580,7 @@ interface _Parameters { InfluxDBv3Enterprise?: InfluxDBv3EnterpriseParameters; } -export type Parameters = - | (_Parameters & { InfluxDBv2: InfluxDBv2Parameters }) - | (_Parameters & { InfluxDBv3Core: InfluxDBv3CoreParameters }) - | (_Parameters & { InfluxDBv3Enterprise: InfluxDBv3EnterpriseParameters }); +export type Parameters = (_Parameters & { InfluxDBv2: InfluxDBv2Parameters }) | (_Parameters & { InfluxDBv3Core: InfluxDBv3CoreParameters }) | (_Parameters & { InfluxDBv3Enterprise: InfluxDBv3EnterpriseParameters }); export type Password = string; interface _PercentOrAbsoluteLong { @@ -735,9 +588,7 @@ interface _PercentOrAbsoluteLong { absolute?: number; } -export type PercentOrAbsoluteLong = - | (_PercentOrAbsoluteLong & { percent: string }) - | (_PercentOrAbsoluteLong & { absolute: number }); +export type PercentOrAbsoluteLong = (_PercentOrAbsoluteLong & { percent: string }) | (_PercentOrAbsoluteLong & { absolute: number }); export type Port = number; export type RequestTagMap = Record; @@ -758,17 +609,7 @@ export declare class ServiceQuotaExceededException extends EffectData.TaggedErro )<{ readonly message: string; }> {} -export type Status = - | "CREATING" - | "AVAILABLE" - | "DELETING" - | "MODIFYING" - | "UPDATING" - | "DELETED" - | "FAILED" - | "UPDATING_DEPLOYMENT_TYPE" - | "UPDATING_INSTANCE_TYPE" - | "MAINTENANCE"; +export type Status = "CREATING" | "AVAILABLE" | "DELETING" | "MODIFYING" | "UPDATING" | "DELETED" | "FAILED" | "UPDATING_DEPLOYMENT_TYPE" | "UPDATING_INSTANCE_TYPE" | "MAINTENANCE"; export type TagKey = string; export type TagKeys = Array; @@ -852,7 +693,9 @@ export type VpcSubnetIdList = Array; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -867,7 +710,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = {}; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace CreateDbCluster { @@ -1048,12 +893,5 @@ export declare namespace UpdateDbInstance { | CommonAwsError; } -export type TimestreamInfluxDBErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type TimestreamInfluxDBErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/timestream-query/index.ts b/src/services/timestream-query/index.ts index 46024305..a7badffb 100644 --- a/src/services/timestream-query/index.ts +++ b/src/services/timestream-query/index.ts @@ -5,23 +5,7 @@ import type { TimestreamQuery as _TimestreamQueryClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/timestream-query/types.ts b/src/services/timestream-query/types.ts index cffa9309..ff52d3e8 100644 --- a/src/services/timestream-query/types.ts +++ b/src/services/timestream-query/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class TimestreamQuery extends AWSServiceClient { @@ -40,169 +8,91 @@ export declare class TimestreamQuery extends AWSServiceClient { input: CancelQueryRequest, ): Effect.Effect< CancelQueryResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ThrottlingException | ValidationException | CommonAwsError >; createScheduledQuery( input: CreateScheduledQueryRequest, ): Effect.Effect< CreateScheduledQueryResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidEndpointException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidEndpointException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteScheduledQuery( input: DeleteScheduledQueryRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeAccountSettings( input: DescribeAccountSettingsRequest, ): Effect.Effect< DescribeAccountSettingsResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ThrottlingException | CommonAwsError >; describeEndpoints( input: DescribeEndpointsRequest, ): Effect.Effect< DescribeEndpointsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeScheduledQuery( input: DescribeScheduledQueryRequest, ): Effect.Effect< DescribeScheduledQueryResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; executeScheduledQuery( input: ExecuteScheduledQueryRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listScheduledQueries( input: ListScheduledQueriesRequest, ): Effect.Effect< ListScheduledQueriesResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; prepareQuery( input: PrepareQueryRequest, ): Effect.Effect< PrepareQueryResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ThrottlingException | ValidationException | CommonAwsError >; query( input: QueryRequest, ): Effect.Effect< QueryResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidEndpointException - | QueryExecutionException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidEndpointException | QueryExecutionException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidEndpointException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InvalidEndpointException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateAccountSettings( input: UpdateAccountSettingsRequest, ): Effect.Effect< UpdateAccountSettingsResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ThrottlingException | ValidationException | CommonAwsError >; updateScheduledQuery( input: UpdateScheduledQueryRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -264,13 +154,15 @@ export type DatumList = Array; export interface DeleteScheduledQueryRequest { ScheduledQueryArn: string; } -export interface DescribeAccountSettingsRequest {} +export interface DescribeAccountSettingsRequest { +} export interface DescribeAccountSettingsResponse { MaxQueryTCU?: number; QueryPricingModel?: QueryPricingModel; QueryCompute?: QueryComputeResponse; } -export interface DescribeEndpointsRequest {} +export interface DescribeEndpointsRequest { +} export interface DescribeEndpointsResponse { Endpoints: Array; } @@ -358,12 +250,7 @@ export type MaxScheduledQueriesResults = number; export type MaxTagsForResourceResult = number; -export type MeasureValueType = - | "BIGINT" - | "BOOLEAN" - | "DOUBLE" - | "VARCHAR" - | "MULTI"; +export type MeasureValueType = "BIGINT" | "BOOLEAN" | "DOUBLE" | "VARCHAR" | "MULTI"; export interface MixedMeasureMapping { MeasureName?: string; SourceColumn?: string; @@ -377,8 +264,7 @@ export interface MultiMeasureAttributeMapping { TargetMultiMeasureAttributeName?: string; MeasureValueType: ScalarMeasureValueType; } -export type MultiMeasureAttributeMappingList = - Array; +export type MultiMeasureAttributeMappingList = Array; export interface MultiMeasureMappings { TargetMultiMeasureName?: string; MultiMeasureAttributeMappings: Array; @@ -517,24 +403,8 @@ export interface S3ReportLocation { BucketName?: string; ObjectKey?: string; } -export type ScalarMeasureValueType = - | "BIGINT" - | "BOOLEAN" - | "DOUBLE" - | "VARCHAR" - | "TIMESTAMP"; -export type ScalarType = - | "VARCHAR" - | "BOOLEAN" - | "BIGINT" - | "DOUBLE" - | "TIMESTAMP" - | "DATE" - | "TIME" - | "INTERVAL_DAY_TO_SECOND" - | "INTERVAL_YEAR_TO_MONTH" - | "UNKNOWN" - | "INTEGER"; +export type ScalarMeasureValueType = "BIGINT" | "BOOLEAN" | "DOUBLE" | "VARCHAR" | "TIMESTAMP"; +export type ScalarType = "VARCHAR" | "BOOLEAN" | "BIGINT" | "DOUBLE" | "TIMESTAMP" | "DATE" | "TIME" | "INTERVAL_DAY_TO_SECOND" | "INTERVAL_YEAR_TO_MONTH" | "UNKNOWN" | "INTEGER"; export type ScalarValue = string; export interface ScheduleConfiguration { @@ -571,9 +441,7 @@ export interface ScheduledQueryDescription { export interface ScheduledQueryInsights { Mode: ScheduledQueryInsightsMode; } -export type ScheduledQueryInsightsMode = - | "ENABLED_WITH_RATE_CONTROL" - | "DISABLED"; +export type ScheduledQueryInsightsMode = "ENABLED_WITH_RATE_CONTROL" | "DISABLED"; export interface ScheduledQueryInsightsResponse { QuerySpatialCoverage?: QuerySpatialCoverage; QueryTemporalRange?: QueryTemporalRange; @@ -584,11 +452,7 @@ export interface ScheduledQueryInsightsResponse { export type ScheduledQueryList = Array; export type ScheduledQueryName = string; -export type ScheduledQueryRunStatus = - | "AUTO_TRIGGER_SUCCESS" - | "AUTO_TRIGGER_FAILURE" - | "MANUAL_TRIGGER_SUCCESS" - | "MANUAL_TRIGGER_FAILURE"; +export type ScheduledQueryRunStatus = "AUTO_TRIGGER_SUCCESS" | "AUTO_TRIGGER_FAILURE" | "MANUAL_TRIGGER_SUCCESS" | "MANUAL_TRIGGER_FAILURE"; export interface ScheduledQueryRunSummary { InvocationTime?: Date | string; TriggerTime?: Date | string; @@ -638,7 +502,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TargetConfiguration { @@ -684,7 +549,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAccountSettingsRequest { MaxQueryTCU?: number; QueryPricingModel?: QueryPricingModel; @@ -887,14 +753,5 @@ export declare namespace UpdateScheduledQuery { | CommonAwsError; } -export type TimestreamQueryErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidEndpointException - | QueryExecutionException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type TimestreamQueryErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidEndpointException | QueryExecutionException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/timestream-write/index.ts b/src/services/timestream-write/index.ts index 6fa06e5f..40603f19 100644 --- a/src/services/timestream-write/index.ts +++ b/src/services/timestream-write/index.ts @@ -5,23 +5,7 @@ import type { TimestreamWrite as _TimestreamWriteClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/timestream-write/types.ts b/src/services/timestream-write/types.ts index 03d05023..ae01af07 100644 --- a/src/services/timestream-write/types.ts +++ b/src/services/timestream-write/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class TimestreamWrite extends AWSServiceClient { @@ -40,226 +8,115 @@ export declare class TimestreamWrite extends AWSServiceClient { input: CreateBatchLoadTaskRequest, ): Effect.Effect< CreateBatchLoadTaskResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDatabase( input: CreateDatabaseRequest, ): Effect.Effect< CreateDatabaseResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidEndpointException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidEndpointException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTable( input: CreateTableRequest, ): Effect.Effect< CreateTableResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDatabase( input: DeleteDatabaseRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTable( input: DeleteTableRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeBatchLoadTask( input: DescribeBatchLoadTaskRequest, ): Effect.Effect< DescribeBatchLoadTaskResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeDatabase( input: DescribeDatabaseRequest, ): Effect.Effect< DescribeDatabaseResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeEndpoints( input: DescribeEndpointsRequest, ): Effect.Effect< DescribeEndpointsResponse, - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; describeTable( input: DescribeTableRequest, ): Effect.Effect< DescribeTableResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBatchLoadTasks( input: ListBatchLoadTasksRequest, ): Effect.Effect< ListBatchLoadTasksResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ThrottlingException | ValidationException | CommonAwsError >; listDatabases( input: ListDatabasesRequest, ): Effect.Effect< ListDatabasesResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ThrottlingException | ValidationException | CommonAwsError >; listTables( input: ListTablesRequest, ): Effect.Effect< ListTablesResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; resumeBatchLoadTask( input: ResumeBatchLoadTaskRequest, ): Effect.Effect< ResumeBatchLoadTaskResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidEndpointException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InvalidEndpointException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InvalidEndpointException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + InvalidEndpointException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateDatabase( input: UpdateDatabaseRequest, ): Effect.Effect< UpdateDatabaseResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateTable( input: UpdateTableRequest, ): Effect.Effect< UpdateTableResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; writeRecords( input: WriteRecordsRequest, ): Effect.Effect< WriteRecordsResponse, - | AccessDeniedException - | InternalServerException - | InvalidEndpointException - | RejectedRecordsException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | InvalidEndpointException | RejectedRecordsException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -279,13 +136,7 @@ export interface BatchLoadProgressReport { FileFailures?: number; BytesMetered?: number; } -export type BatchLoadStatus = - | "CREATED" - | "IN_PROGRESS" - | "FAILED" - | "SUCCEEDED" - | "PROGRESS_STOPPED" - | "PENDING_RESUME"; +export type BatchLoadStatus = "CREATED" | "IN_PROGRESS" | "FAILED" | "SUCCEEDED" | "PROGRESS_STOPPED" | "PENDING_RESUME"; export interface BatchLoadTask { TaskId?: string; TaskStatus?: BatchLoadStatus; @@ -415,7 +266,8 @@ export interface DescribeDatabaseRequest { export interface DescribeDatabaseResponse { Database?: Database; } -export interface DescribeEndpointsRequest {} +export interface DescribeEndpointsRequest { +} export interface DescribeEndpointsResponse { Endpoints: Array; } @@ -506,13 +358,7 @@ export interface MeasureValue { Type: MeasureValueType; } export type MeasureValues = Array; -export type MeasureValueType = - | "DOUBLE" - | "BIGINT" - | "VARCHAR" - | "BOOLEAN" - | "TIMESTAMP" - | "MULTI"; +export type MeasureValueType = "DOUBLE" | "BIGINT" | "VARCHAR" | "BOOLEAN" | "TIMESTAMP" | "MULTI"; export type MemoryStoreRetentionPeriodInHours = number; export interface MixedMeasureMapping { @@ -528,8 +374,7 @@ export interface MultiMeasureAttributeMapping { TargetMultiMeasureAttributeName?: string; MeasureValueType?: ScalarMeasureValueType; } -export type MultiMeasureAttributeMappingList = - Array; +export type MultiMeasureAttributeMappingList = Array; export interface MultiMeasureMappings { TargetMultiMeasureName?: string; MultiMeasureAttributeMappings: Array; @@ -599,7 +444,8 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( export interface ResumeBatchLoadTaskRequest { TaskId: string; } -export interface ResumeBatchLoadTaskResponse {} +export interface ResumeBatchLoadTaskResponse { +} export interface RetentionProperties { MemoryStoreRetentionPeriodInHours: number; MagneticStoreRetentionPeriodInDays: number; @@ -617,12 +463,7 @@ export type S3ObjectKey = string; export type S3ObjectKeyPrefix = string; -export type ScalarMeasureValueType = - | "DOUBLE" - | "BIGINT" - | "BOOLEAN" - | "VARCHAR" - | "TIMESTAMP"; +export type ScalarMeasureValueType = "DOUBLE" | "BIGINT" | "BOOLEAN" | "VARCHAR" | "TIMESTAMP"; export interface Schema { CompositePartitionKey?: Array; } @@ -668,7 +509,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -676,16 +518,13 @@ export declare class ThrottlingException extends EffectData.TaggedError( )<{ readonly Message: string; }> {} -export type TimeUnit = - | "MILLISECONDS" - | "SECONDS" - | "MICROSECONDS" - | "NANOSECONDS"; +export type TimeUnit = "MILLISECONDS" | "SECONDS" | "MICROSECONDS" | "NANOSECONDS"; export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDatabaseRequest { DatabaseName: string; KmsKeyId: string; @@ -961,14 +800,5 @@ export declare namespace WriteRecords { | CommonAwsError; } -export type TimestreamWriteErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidEndpointException - | RejectedRecordsException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type TimestreamWriteErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidEndpointException | RejectedRecordsException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/tnb/index.ts b/src/services/tnb/index.ts index 48af5477..ef73ef2f 100644 --- a/src/services/tnb/index.ts +++ b/src/services/tnb/index.ts @@ -5,23 +5,7 @@ import type { tnb as _tnbClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,72 +14,63 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "tnb", operations: { - CancelSolNetworkOperation: - "POST /sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel", - CreateSolFunctionPackage: "POST /sol/vnfpkgm/v1/vnf_packages", - CreateSolNetworkInstance: "POST /sol/nslcm/v1/ns_instances", - CreateSolNetworkPackage: "POST /sol/nsd/v1/ns_descriptors", - DeleteSolFunctionPackage: "DELETE /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}", - DeleteSolNetworkInstance: - "DELETE /sol/nslcm/v1/ns_instances/{nsInstanceId}", - DeleteSolNetworkPackage: "DELETE /sol/nsd/v1/ns_descriptors/{nsdInfoId}", - GetSolFunctionInstance: "GET /sol/vnflcm/v1/vnf_instances/{vnfInstanceId}", - GetSolFunctionPackage: "GET /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}", - GetSolFunctionPackageContent: { + "CancelSolNetworkOperation": "POST /sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel", + "CreateSolFunctionPackage": "POST /sol/vnfpkgm/v1/vnf_packages", + "CreateSolNetworkInstance": "POST /sol/nslcm/v1/ns_instances", + "CreateSolNetworkPackage": "POST /sol/nsd/v1/ns_descriptors", + "DeleteSolFunctionPackage": "DELETE /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}", + "DeleteSolNetworkInstance": "DELETE /sol/nslcm/v1/ns_instances/{nsInstanceId}", + "DeleteSolNetworkPackage": "DELETE /sol/nsd/v1/ns_descriptors/{nsdInfoId}", + "GetSolFunctionInstance": "GET /sol/vnflcm/v1/vnf_instances/{vnfInstanceId}", + "GetSolFunctionPackage": "GET /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}", + "GetSolFunctionPackageContent": { http: "GET /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content", traits: { - contentType: "Content-Type", - packageContent: "httpPayload", + "contentType": "Content-Type", + "packageContent": "httpPayload", }, }, - GetSolFunctionPackageDescriptor: { + "GetSolFunctionPackageDescriptor": { http: "GET /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/vnfd", traits: { - contentType: "Content-Type", - vnfd: "httpPayload", + "contentType": "Content-Type", + "vnfd": "httpPayload", }, }, - GetSolNetworkInstance: "GET /sol/nslcm/v1/ns_instances/{nsInstanceId}", - GetSolNetworkOperation: "GET /sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}", - GetSolNetworkPackage: "GET /sol/nsd/v1/ns_descriptors/{nsdInfoId}", - GetSolNetworkPackageContent: { + "GetSolNetworkInstance": "GET /sol/nslcm/v1/ns_instances/{nsInstanceId}", + "GetSolNetworkOperation": "GET /sol/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}", + "GetSolNetworkPackage": "GET /sol/nsd/v1/ns_descriptors/{nsdInfoId}", + "GetSolNetworkPackageContent": { http: "GET /sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content", traits: { - contentType: "Content-Type", - nsdContent: "httpPayload", + "contentType": "Content-Type", + "nsdContent": "httpPayload", }, }, - GetSolNetworkPackageDescriptor: { + "GetSolNetworkPackageDescriptor": { http: "GET /sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd", traits: { - contentType: "Content-Type", - nsd: "httpPayload", + "contentType": "Content-Type", + "nsd": "httpPayload", }, }, - InstantiateSolNetworkInstance: - "POST /sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate", - ListSolFunctionInstances: "GET /sol/vnflcm/v1/vnf_instances", - ListSolFunctionPackages: "GET /sol/vnfpkgm/v1/vnf_packages", - ListSolNetworkInstances: "GET /sol/nslcm/v1/ns_instances", - ListSolNetworkOperations: "GET /sol/nslcm/v1/ns_lcm_op_occs", - ListSolNetworkPackages: "GET /sol/nsd/v1/ns_descriptors", - ListTagsForResource: "GET /tags/{resourceArn}", - PutSolFunctionPackageContent: - "PUT /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content", - PutSolNetworkPackageContent: - "PUT /sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content", - TagResource: "POST /tags/{resourceArn}", - TerminateSolNetworkInstance: - "POST /sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateSolFunctionPackage: "PATCH /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}", - UpdateSolNetworkInstance: - "POST /sol/nslcm/v1/ns_instances/{nsInstanceId}/update", - UpdateSolNetworkPackage: "PATCH /sol/nsd/v1/ns_descriptors/{nsdInfoId}", - ValidateSolFunctionPackageContent: - "PUT /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate", - ValidateSolNetworkPackageContent: - "PUT /sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate", + "InstantiateSolNetworkInstance": "POST /sol/nslcm/v1/ns_instances/{nsInstanceId}/instantiate", + "ListSolFunctionInstances": "GET /sol/vnflcm/v1/vnf_instances", + "ListSolFunctionPackages": "GET /sol/vnfpkgm/v1/vnf_packages", + "ListSolNetworkInstances": "GET /sol/nslcm/v1/ns_instances", + "ListSolNetworkOperations": "GET /sol/nslcm/v1/ns_lcm_op_occs", + "ListSolNetworkPackages": "GET /sol/nsd/v1/ns_descriptors", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutSolFunctionPackageContent": "PUT /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content", + "PutSolNetworkPackageContent": "PUT /sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content", + "TagResource": "POST /tags/{resourceArn}", + "TerminateSolNetworkInstance": "POST /sol/nslcm/v1/ns_instances/{nsInstanceId}/terminate", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateSolFunctionPackage": "PATCH /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}", + "UpdateSolNetworkInstance": "POST /sol/nslcm/v1/ns_instances/{nsInstanceId}/update", + "UpdateSolNetworkPackage": "PATCH /sol/nsd/v1/ns_descriptors/{nsdInfoId}", + "ValidateSolFunctionPackageContent": "PUT /sol/vnfpkgm/v1/vnf_packages/{vnfPkgId}/package_content/validate", + "ValidateSolNetworkPackageContent": "PUT /sol/nsd/v1/ns_descriptors/{nsdInfoId}/nsd_content/validate", }, } as const satisfies ServiceMetadata; diff --git a/src/services/tnb/types.ts b/src/services/tnb/types.ts index 9fa4516e..0e3514b5 100644 --- a/src/services/tnb/types.ts +++ b/src/services/tnb/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class tnb extends AWSServiceClient { @@ -40,363 +8,199 @@ export declare class tnb extends AWSServiceClient { input: CancelSolNetworkOperationInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createSolFunctionPackage( input: CreateSolFunctionPackageInput, ): Effect.Effect< CreateSolFunctionPackageOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSolNetworkInstance( input: CreateSolNetworkInstanceInput, ): Effect.Effect< CreateSolNetworkInstanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSolNetworkPackage( input: CreateSolNetworkPackageInput, ): Effect.Effect< CreateSolNetworkPackageOutput, - | AccessDeniedException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteSolFunctionPackage( input: DeleteSolFunctionPackageInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSolNetworkInstance( input: DeleteSolNetworkInstanceInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSolNetworkPackage( input: DeleteSolNetworkPackageInput, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSolFunctionInstance( input: GetSolFunctionInstanceInput, ): Effect.Effect< GetSolFunctionInstanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSolFunctionPackage( input: GetSolFunctionPackageInput, ): Effect.Effect< GetSolFunctionPackageOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSolFunctionPackageContent( input: GetSolFunctionPackageContentInput, ): Effect.Effect< GetSolFunctionPackageContentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSolFunctionPackageDescriptor( input: GetSolFunctionPackageDescriptorInput, ): Effect.Effect< GetSolFunctionPackageDescriptorOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSolNetworkInstance( input: GetSolNetworkInstanceInput, ): Effect.Effect< GetSolNetworkInstanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSolNetworkOperation( input: GetSolNetworkOperationInput, ): Effect.Effect< GetSolNetworkOperationOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSolNetworkPackage( input: GetSolNetworkPackageInput, ): Effect.Effect< GetSolNetworkPackageOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSolNetworkPackageContent( input: GetSolNetworkPackageContentInput, ): Effect.Effect< GetSolNetworkPackageContentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSolNetworkPackageDescriptor( input: GetSolNetworkPackageDescriptorInput, ): Effect.Effect< GetSolNetworkPackageDescriptorOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; instantiateSolNetworkInstance( input: InstantiateSolNetworkInstanceInput, ): Effect.Effect< InstantiateSolNetworkInstanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listSolFunctionInstances( input: ListSolFunctionInstancesInput, ): Effect.Effect< ListSolFunctionInstancesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSolFunctionPackages( input: ListSolFunctionPackagesInput, ): Effect.Effect< ListSolFunctionPackagesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSolNetworkInstances( input: ListSolNetworkInstancesInput, ): Effect.Effect< ListSolNetworkInstancesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSolNetworkOperations( input: ListSolNetworkOperationsInput, ): Effect.Effect< ListSolNetworkOperationsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSolNetworkPackages( input: ListSolNetworkPackagesInput, ): Effect.Effect< ListSolNetworkPackagesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putSolFunctionPackageContent( input: PutSolFunctionPackageContentInput, ): Effect.Effect< PutSolFunctionPackageContentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putSolNetworkPackageContent( input: PutSolNetworkPackageContentInput, ): Effect.Effect< PutSolNetworkPackageContentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; terminateSolNetworkInstance( input: TerminateSolNetworkInstanceInput, ): Effect.Effect< TerminateSolNetworkInstanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSolFunctionPackage( input: UpdateSolFunctionPackageInput, ): Effect.Effect< UpdateSolFunctionPackageOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSolNetworkInstance( input: UpdateSolNetworkInstanceInput, ): Effect.Effect< UpdateSolNetworkInstanceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateSolNetworkPackage( input: UpdateSolNetworkPackageInput, ): Effect.Effect< UpdateSolNetworkPackageOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; validateSolFunctionPackageContent( input: ValidateSolFunctionPackageContentInput, ): Effect.Effect< ValidateSolFunctionPackageContentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; validateSolNetworkPackageContent( input: ValidateSolNetworkPackageContentInput, ): Effect.Effect< ValidateSolNetworkPackageContentOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -576,8 +380,7 @@ export interface GetSolNetworkOperationTaskDetails { taskStartTime?: Date | string; taskEndTime?: Date | string; } -export type GetSolNetworkOperationTasksList = - Array; +export type GetSolNetworkOperationTasksList = Array; export interface GetSolNetworkPackageContentInput { nsdInfoId: string; accept: PackageContentType; @@ -664,8 +467,7 @@ export interface ListSolFunctionInstanceMetadata { createdAt: Date | string; lastModified: Date | string; } -export type ListSolFunctionInstanceResources = - Array; +export type ListSolFunctionInstanceResources = Array; export interface ListSolFunctionInstancesInput { maxResults?: number; nextToken?: string; @@ -747,8 +549,7 @@ export interface ListSolNetworkOperationsOutput { nextToken?: string; networkOperations?: Array; } -export type ListSolNetworkOperationsResources = - Array; +export type ListSolNetworkOperationsResources = Array; export interface ListSolNetworkPackageInfo { id: string; arn: string; @@ -802,28 +603,12 @@ export type NsInstanceArn = string; export type NsInstanceId = string; -export type NsLcmOperationState = - | "PROCESSING" - | "COMPLETED" - | "FAILED" - | "CANCELLING" - | "CANCELLED"; +export type NsLcmOperationState = "PROCESSING" | "COMPLETED" | "FAILED" | "CANCELLING" | "CANCELLED"; export type NsLcmOpOccArn = string; export type NsLcmOpOccId = string; -export type NsState = - | "INSTANTIATED" - | "NOT_INSTANTIATED" - | "UPDATED" - | "IMPAIRED" - | "UPDATE_FAILED" - | "STOPPED" - | "DELETED" - | "INSTANTIATE_IN_PROGRESS" - | "INTENT_TO_UPDATE_IN_PROGRESS" - | "UPDATE_IN_PROGRESS" - | "TERMINATE_IN_PROGRESS"; +export type NsState = "INSTANTIATED" | "NOT_INSTANTIATED" | "UPDATED" | "IMPAIRED" | "UPDATE_FAILED" | "STOPPED" | "DELETED" | "INSTANTIATE_IN_PROGRESS" | "INTENT_TO_UPDATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "TERMINATE_IN_PROGRESS"; export type OnboardingState = "CREATED" | "ONBOARDED" | "ERROR"; export type OperationalState = "ENABLED" | "DISABLED"; export type OverrideList = Array; @@ -888,17 +673,11 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; -export type TaskStatus = - | "SCHEDULED" - | "STARTED" - | "IN_PROGRESS" - | "COMPLETED" - | "ERROR" - | "SKIPPED" - | "CANCELLED"; +export type TaskStatus = "SCHEDULED" | "STARTED" | "IN_PROGRESS" | "COMPLETED" | "ERROR" | "SKIPPED" | "CANCELLED"; export interface TerminateSolNetworkInstanceInput { nsInstanceId: string; tags?: Record; @@ -922,7 +701,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateNsMetadata { nsdInfoId: string; additionalParamsForNs?: unknown; @@ -1408,11 +1188,5 @@ export declare namespace ValidateSolNetworkPackageContent { | CommonAwsError; } -export type tnbErrors = - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type tnbErrors = AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/transcribe-streaming/index.ts b/src/services/transcribe-streaming/index.ts index d417d3e2..acb27625 100644 --- a/src/services/transcribe-streaming/index.ts +++ b/src/services/transcribe-streaming/index.ts @@ -5,26 +5,7 @@ import type { TranscribeStreaming as _TranscribeStreamingClient } from "./types. export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,96 +15,88 @@ const metadata = { sigV4ServiceName: "transcribe", endpointPrefix: "transcribestreaming", operations: { - GetMedicalScribeStream: "GET /medical-scribe-stream/{SessionId}", - StartCallAnalyticsStreamTranscription: { + "GetMedicalScribeStream": "GET /medical-scribe-stream/{SessionId}", + "StartCallAnalyticsStreamTranscription": { http: "POST /call-analytics-stream-transcription", traits: { - RequestId: "x-amzn-request-id", - LanguageCode: "x-amzn-transcribe-language-code", - MediaSampleRateHertz: "x-amzn-transcribe-sample-rate", - MediaEncoding: "x-amzn-transcribe-media-encoding", - VocabularyName: "x-amzn-transcribe-vocabulary-name", - SessionId: "x-amzn-transcribe-session-id", - CallAnalyticsTranscriptResultStream: "httpPayload", - VocabularyFilterName: "x-amzn-transcribe-vocabulary-filter-name", - VocabularyFilterMethod: "x-amzn-transcribe-vocabulary-filter-method", - LanguageModelName: "x-amzn-transcribe-language-model-name", - IdentifyLanguage: "x-amzn-transcribe-identify-language", - LanguageOptions: "x-amzn-transcribe-language-options", - PreferredLanguage: "x-amzn-transcribe-preferred-language", - VocabularyNames: "x-amzn-transcribe-vocabulary-names", - VocabularyFilterNames: "x-amzn-transcribe-vocabulary-filter-names", - EnablePartialResultsStabilization: - "x-amzn-transcribe-enable-partial-results-stabilization", - PartialResultsStability: "x-amzn-transcribe-partial-results-stability", - ContentIdentificationType: - "x-amzn-transcribe-content-identification-type", - ContentRedactionType: "x-amzn-transcribe-content-redaction-type", - PiiEntityTypes: "x-amzn-transcribe-pii-entity-types", + "RequestId": "x-amzn-request-id", + "LanguageCode": "x-amzn-transcribe-language-code", + "MediaSampleRateHertz": "x-amzn-transcribe-sample-rate", + "MediaEncoding": "x-amzn-transcribe-media-encoding", + "VocabularyName": "x-amzn-transcribe-vocabulary-name", + "SessionId": "x-amzn-transcribe-session-id", + "CallAnalyticsTranscriptResultStream": "httpPayload", + "VocabularyFilterName": "x-amzn-transcribe-vocabulary-filter-name", + "VocabularyFilterMethod": "x-amzn-transcribe-vocabulary-filter-method", + "LanguageModelName": "x-amzn-transcribe-language-model-name", + "IdentifyLanguage": "x-amzn-transcribe-identify-language", + "LanguageOptions": "x-amzn-transcribe-language-options", + "PreferredLanguage": "x-amzn-transcribe-preferred-language", + "VocabularyNames": "x-amzn-transcribe-vocabulary-names", + "VocabularyFilterNames": "x-amzn-transcribe-vocabulary-filter-names", + "EnablePartialResultsStabilization": "x-amzn-transcribe-enable-partial-results-stabilization", + "PartialResultsStability": "x-amzn-transcribe-partial-results-stability", + "ContentIdentificationType": "x-amzn-transcribe-content-identification-type", + "ContentRedactionType": "x-amzn-transcribe-content-redaction-type", + "PiiEntityTypes": "x-amzn-transcribe-pii-entity-types", }, }, - StartMedicalScribeStream: { + "StartMedicalScribeStream": { http: "POST /medical-scribe-stream", traits: { - SessionId: "x-amzn-transcribe-session-id", - RequestId: "x-amzn-request-id", - LanguageCode: "x-amzn-transcribe-language-code", - MediaSampleRateHertz: "x-amzn-transcribe-sample-rate", - MediaEncoding: "x-amzn-transcribe-media-encoding", - ResultStream: "httpPayload", + "SessionId": "x-amzn-transcribe-session-id", + "RequestId": "x-amzn-request-id", + "LanguageCode": "x-amzn-transcribe-language-code", + "MediaSampleRateHertz": "x-amzn-transcribe-sample-rate", + "MediaEncoding": "x-amzn-transcribe-media-encoding", + "ResultStream": "httpPayload", }, }, - StartMedicalStreamTranscription: { + "StartMedicalStreamTranscription": { http: "POST /medical-stream-transcription", traits: { - RequestId: "x-amzn-request-id", - LanguageCode: "x-amzn-transcribe-language-code", - MediaSampleRateHertz: "x-amzn-transcribe-sample-rate", - MediaEncoding: "x-amzn-transcribe-media-encoding", - VocabularyName: "x-amzn-transcribe-vocabulary-name", - Specialty: "x-amzn-transcribe-specialty", - Type: "x-amzn-transcribe-type", - ShowSpeakerLabel: "x-amzn-transcribe-show-speaker-label", - SessionId: "x-amzn-transcribe-session-id", - TranscriptResultStream: "httpPayload", - EnableChannelIdentification: - "x-amzn-transcribe-enable-channel-identification", - NumberOfChannels: "x-amzn-transcribe-number-of-channels", - ContentIdentificationType: - "x-amzn-transcribe-content-identification-type", + "RequestId": "x-amzn-request-id", + "LanguageCode": "x-amzn-transcribe-language-code", + "MediaSampleRateHertz": "x-amzn-transcribe-sample-rate", + "MediaEncoding": "x-amzn-transcribe-media-encoding", + "VocabularyName": "x-amzn-transcribe-vocabulary-name", + "Specialty": "x-amzn-transcribe-specialty", + "Type": "x-amzn-transcribe-type", + "ShowSpeakerLabel": "x-amzn-transcribe-show-speaker-label", + "SessionId": "x-amzn-transcribe-session-id", + "TranscriptResultStream": "httpPayload", + "EnableChannelIdentification": "x-amzn-transcribe-enable-channel-identification", + "NumberOfChannels": "x-amzn-transcribe-number-of-channels", + "ContentIdentificationType": "x-amzn-transcribe-content-identification-type", }, }, - StartStreamTranscription: { + "StartStreamTranscription": { http: "POST /stream-transcription", traits: { - RequestId: "x-amzn-request-id", - LanguageCode: "x-amzn-transcribe-language-code", - MediaSampleRateHertz: "x-amzn-transcribe-sample-rate", - MediaEncoding: "x-amzn-transcribe-media-encoding", - VocabularyName: "x-amzn-transcribe-vocabulary-name", - SessionId: "x-amzn-transcribe-session-id", - TranscriptResultStream: "httpPayload", - VocabularyFilterName: "x-amzn-transcribe-vocabulary-filter-name", - VocabularyFilterMethod: "x-amzn-transcribe-vocabulary-filter-method", - ShowSpeakerLabel: "x-amzn-transcribe-show-speaker-label", - EnableChannelIdentification: - "x-amzn-transcribe-enable-channel-identification", - NumberOfChannels: "x-amzn-transcribe-number-of-channels", - EnablePartialResultsStabilization: - "x-amzn-transcribe-enable-partial-results-stabilization", - PartialResultsStability: "x-amzn-transcribe-partial-results-stability", - ContentIdentificationType: - "x-amzn-transcribe-content-identification-type", - ContentRedactionType: "x-amzn-transcribe-content-redaction-type", - PiiEntityTypes: "x-amzn-transcribe-pii-entity-types", - LanguageModelName: "x-amzn-transcribe-language-model-name", - IdentifyLanguage: "x-amzn-transcribe-identify-language", - LanguageOptions: "x-amzn-transcribe-language-options", - PreferredLanguage: "x-amzn-transcribe-preferred-language", - IdentifyMultipleLanguages: - "x-amzn-transcribe-identify-multiple-languages", - VocabularyNames: "x-amzn-transcribe-vocabulary-names", - VocabularyFilterNames: "x-amzn-transcribe-vocabulary-filter-names", + "RequestId": "x-amzn-request-id", + "LanguageCode": "x-amzn-transcribe-language-code", + "MediaSampleRateHertz": "x-amzn-transcribe-sample-rate", + "MediaEncoding": "x-amzn-transcribe-media-encoding", + "VocabularyName": "x-amzn-transcribe-vocabulary-name", + "SessionId": "x-amzn-transcribe-session-id", + "TranscriptResultStream": "httpPayload", + "VocabularyFilterName": "x-amzn-transcribe-vocabulary-filter-name", + "VocabularyFilterMethod": "x-amzn-transcribe-vocabulary-filter-method", + "ShowSpeakerLabel": "x-amzn-transcribe-show-speaker-label", + "EnableChannelIdentification": "x-amzn-transcribe-enable-channel-identification", + "NumberOfChannels": "x-amzn-transcribe-number-of-channels", + "EnablePartialResultsStabilization": "x-amzn-transcribe-enable-partial-results-stabilization", + "PartialResultsStability": "x-amzn-transcribe-partial-results-stability", + "ContentIdentificationType": "x-amzn-transcribe-content-identification-type", + "ContentRedactionType": "x-amzn-transcribe-content-redaction-type", + "PiiEntityTypes": "x-amzn-transcribe-pii-entity-types", + "LanguageModelName": "x-amzn-transcribe-language-model-name", + "IdentifyLanguage": "x-amzn-transcribe-identify-language", + "LanguageOptions": "x-amzn-transcribe-language-options", + "PreferredLanguage": "x-amzn-transcribe-preferred-language", + "IdentifyMultipleLanguages": "x-amzn-transcribe-identify-multiple-languages", + "VocabularyNames": "x-amzn-transcribe-vocabulary-names", + "VocabularyFilterNames": "x-amzn-transcribe-vocabulary-filter-names", }, }, }, diff --git a/src/services/transcribe-streaming/types.ts b/src/services/transcribe-streaming/types.ts index e23d279e..fdb0dcfa 100644 --- a/src/services/transcribe-streaming/types.ts +++ b/src/services/transcribe-streaming/types.ts @@ -7,55 +7,31 @@ export declare class TranscribeStreaming extends AWSServiceClient { input: GetMedicalScribeStreamRequest, ): Effect.Effect< GetMedicalScribeStreamResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | ResourceNotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | ResourceNotFoundException | CommonAwsError >; startCallAnalyticsStreamTranscription( input: StartCallAnalyticsStreamTranscriptionRequest, ): Effect.Effect< StartCallAnalyticsStreamTranscriptionResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | ServiceUnavailableException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | ServiceUnavailableException | CommonAwsError >; startMedicalScribeStream( input: StartMedicalScribeStreamRequest, ): Effect.Effect< StartMedicalScribeStreamResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | ServiceUnavailableException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | ServiceUnavailableException | CommonAwsError >; startMedicalStreamTranscription( input: StartMedicalStreamTranscriptionRequest, ): Effect.Effect< StartMedicalStreamTranscriptionResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | ServiceUnavailableException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | ServiceUnavailableException | CommonAwsError >; startStreamTranscription( input: StartStreamTranscriptionRequest, ): Effect.Effect< StartStreamTranscriptionResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | ServiceUnavailableException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | ServiceUnavailableException | CommonAwsError >; } @@ -75,9 +51,7 @@ interface _AudioStream { ConfigurationEvent?: ConfigurationEvent; } -export type AudioStream = - | (_AudioStream & { AudioEvent: AudioEvent }) - | (_AudioStream & { ConfigurationEvent: ConfigurationEvent }); +export type AudioStream = (_AudioStream & { AudioEvent: AudioEvent }) | (_AudioStream & { ConfigurationEvent: ConfigurationEvent }); export declare class BadRequestException extends EffectData.TaggedError( "BadRequestException", )<{ @@ -106,18 +80,8 @@ export interface CallAnalyticsItem { Stable?: boolean; } export type CallAnalyticsItemList = Array; -export type CallAnalyticsLanguageCode = - | "en-US" - | "en-GB" - | "es-US" - | "fr-CA" - | "fr-FR" - | "en-AU" - | "it-IT" - | "de-DE" - | "pt-BR"; -export type CallAnalyticsLanguageIdentification = - Array; +export type CallAnalyticsLanguageCode = "en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR"; +export type CallAnalyticsLanguageIdentification = Array; export interface CallAnalyticsLanguageWithScore { LanguageCode?: CallAnalyticsLanguageCode; Score?: number; @@ -132,24 +96,7 @@ interface _CallAnalyticsTranscriptResultStream { ServiceUnavailableException?: ServiceUnavailableException; } -export type CallAnalyticsTranscriptResultStream = - | (_CallAnalyticsTranscriptResultStream & { UtteranceEvent: UtteranceEvent }) - | (_CallAnalyticsTranscriptResultStream & { CategoryEvent: CategoryEvent }) - | (_CallAnalyticsTranscriptResultStream & { - BadRequestException: BadRequestException; - }) - | (_CallAnalyticsTranscriptResultStream & { - LimitExceededException: LimitExceededException; - }) - | (_CallAnalyticsTranscriptResultStream & { - InternalFailureException: InternalFailureException; - }) - | (_CallAnalyticsTranscriptResultStream & { - ConflictException: ConflictException; - }) - | (_CallAnalyticsTranscriptResultStream & { - ServiceUnavailableException: ServiceUnavailableException; - }); +export type CallAnalyticsTranscriptResultStream = (_CallAnalyticsTranscriptResultStream & { UtteranceEvent: UtteranceEvent }) | (_CallAnalyticsTranscriptResultStream & { CategoryEvent: CategoryEvent }) | (_CallAnalyticsTranscriptResultStream & { BadRequestException: BadRequestException }) | (_CallAnalyticsTranscriptResultStream & { LimitExceededException: LimitExceededException }) | (_CallAnalyticsTranscriptResultStream & { InternalFailureException: InternalFailureException }) | (_CallAnalyticsTranscriptResultStream & { ConflictException: ConflictException }) | (_CallAnalyticsTranscriptResultStream & { ServiceUnavailableException: ServiceUnavailableException }); export interface CategoryEvent { MatchedCategories?: Array; MatchedDetails?: Record; @@ -175,10 +122,7 @@ export interface ClinicalNoteGenerationSettings { OutputBucketName: string; NoteTemplate?: MedicalScribeNoteTemplate; } -export type ClinicalNoteGenerationStatus = - | "IN_PROGRESS" - | "FAILED" - | "COMPLETED"; +export type ClinicalNoteGenerationStatus = "IN_PROGRESS" | "FAILED" | "COMPLETED"; export type Confidence = number; export interface ConfigurationEvent { @@ -240,61 +184,7 @@ export type ItemType = "pronunciation" | "punctuation"; export type KMSEncryptionContextMap = Record; export type KMSKeyId = string; -export type LanguageCode = - | "en-US" - | "en-GB" - | "es-US" - | "fr-CA" - | "fr-FR" - | "en-AU" - | "it-IT" - | "de-DE" - | "pt-BR" - | "ja-JP" - | "ko-KR" - | "zh-CN" - | "th-TH" - | "es-ES" - | "ar-SA" - | "pt-PT" - | "ca-ES" - | "ar-AE" - | "hi-IN" - | "zh-HK" - | "nl-NL" - | "no-NO" - | "sv-SE" - | "pl-PL" - | "fi-FI" - | "zh-TW" - | "en-IN" - | "en-IE" - | "en-NZ" - | "en-AB" - | "en-ZA" - | "en-WL" - | "de-CH" - | "af-ZA" - | "eu-ES" - | "hr-HR" - | "cs-CZ" - | "da-DK" - | "fa-IR" - | "gl-ES" - | "el-GR" - | "he-IL" - | "id-ID" - | "lv-LV" - | "ms-MY" - | "ro-RO" - | "ru-RU" - | "sr-RS" - | "sk-SK" - | "so-SO" - | "tl-PH" - | "uk-UA" - | "vi-VN" - | "zu-ZA"; +export type LanguageCode = "en-US" | "en-GB" | "es-US" | "fr-CA" | "fr-FR" | "en-AU" | "it-IT" | "de-DE" | "pt-BR" | "ja-JP" | "ko-KR" | "zh-CN" | "th-TH" | "es-ES" | "ar-SA" | "pt-PT" | "ca-ES" | "ar-AE" | "hi-IN" | "zh-HK" | "nl-NL" | "no-NO" | "sv-SE" | "pl-PL" | "fi-FI" | "zh-TW" | "en-IN" | "en-IE" | "en-NZ" | "en-AB" | "en-ZA" | "en-WL" | "de-CH" | "af-ZA" | "eu-ES" | "hr-HR" | "cs-CZ" | "da-DK" | "fa-IR" | "gl-ES" | "el-GR" | "he-IL" | "id-ID" | "lv-LV" | "ms-MY" | "ro-RO" | "ru-RU" | "sr-RS" | "sk-SK" | "so-SO" | "tl-PH" | "uk-UA" | "vi-VN" | "zu-ZA"; export type LanguageIdentification = Array; export type LanguageOptions = string; @@ -353,8 +243,7 @@ export interface MedicalScribeChannelDefinition { ChannelId: number; ParticipantRole: MedicalScribeParticipantRole; } -export type MedicalScribeChannelDefinitions = - Array; +export type MedicalScribeChannelDefinitions = Array; export type MedicalScribeChannelId = number; export interface MedicalScribeConfigurationEvent { @@ -380,26 +269,12 @@ interface _MedicalScribeInputStream { ConfigurationEvent?: MedicalScribeConfigurationEvent; } -export type MedicalScribeInputStream = - | (_MedicalScribeInputStream & { AudioEvent: MedicalScribeAudioEvent }) - | (_MedicalScribeInputStream & { - SessionControlEvent: MedicalScribeSessionControlEvent; - }) - | (_MedicalScribeInputStream & { - ConfigurationEvent: MedicalScribeConfigurationEvent; - }); +export type MedicalScribeInputStream = (_MedicalScribeInputStream & { AudioEvent: MedicalScribeAudioEvent }) | (_MedicalScribeInputStream & { SessionControlEvent: MedicalScribeSessionControlEvent }) | (_MedicalScribeInputStream & { ConfigurationEvent: MedicalScribeConfigurationEvent }); export type MedicalScribeLanguageCode = "en-US"; export type MedicalScribeMediaEncoding = "pcm" | "ogg-opus" | "flac"; export type MedicalScribeMediaSampleRateHertz = number; -export type MedicalScribeNoteTemplate = - | "HISTORY_AND_PHYSICAL" - | "GIRPP" - | "DAP" - | "SIRP" - | "BIRP" - | "BEHAVIORAL_SOAP" - | "PHYSICAL_SOAP"; +export type MedicalScribeNoteTemplate = "HISTORY_AND_PHYSICAL" | "GIRPP" | "DAP" | "SIRP" | "BIRP" | "BEHAVIORAL_SOAP" | "PHYSICAL_SOAP"; export type MedicalScribeParticipantRole = "PATIENT" | "CLINICIAN"; export interface MedicalScribePatientContext { Pronouns?: Pronouns; @@ -419,21 +294,7 @@ interface _MedicalScribeResultStream { ServiceUnavailableException?: ServiceUnavailableException; } -export type MedicalScribeResultStream = - | (_MedicalScribeResultStream & { - TranscriptEvent: MedicalScribeTranscriptEvent; - }) - | (_MedicalScribeResultStream & { BadRequestException: BadRequestException }) - | (_MedicalScribeResultStream & { - LimitExceededException: LimitExceededException; - }) - | (_MedicalScribeResultStream & { - InternalFailureException: InternalFailureException; - }) - | (_MedicalScribeResultStream & { ConflictException: ConflictException }) - | (_MedicalScribeResultStream & { - ServiceUnavailableException: ServiceUnavailableException; - }); +export type MedicalScribeResultStream = (_MedicalScribeResultStream & { TranscriptEvent: MedicalScribeTranscriptEvent }) | (_MedicalScribeResultStream & { BadRequestException: BadRequestException }) | (_MedicalScribeResultStream & { LimitExceededException: LimitExceededException }) | (_MedicalScribeResultStream & { InternalFailureException: InternalFailureException }) | (_MedicalScribeResultStream & { ConflictException: ConflictException }) | (_MedicalScribeResultStream & { ServiceUnavailableException: ServiceUnavailableException }); export interface MedicalScribeSessionControlEvent { Type: MedicalScribeSessionControlEventType; } @@ -456,11 +317,7 @@ export interface MedicalScribeStreamDetails { PostStreamAnalyticsResult?: MedicalScribePostStreamAnalyticsResult; MedicalScribeContextProvided?: boolean; } -export type MedicalScribeStreamStatus = - | "IN_PROGRESS" - | "PAUSED" - | "FAILED" - | "COMPLETED"; +export type MedicalScribeStreamStatus = "IN_PROGRESS" | "PAUSED" | "FAILED" | "COMPLETED"; export interface MedicalScribeTranscriptEvent { TranscriptSegment?: MedicalScribeTranscriptSegment; } @@ -472,8 +329,7 @@ export interface MedicalScribeTranscriptItem { Content?: string; VocabularyFilterMatch?: boolean; } -export type MedicalScribeTranscriptItemList = - Array; +export type MedicalScribeTranscriptItemList = Array; export type MedicalScribeTranscriptItemType = "pronunciation" | "punctuation"; export interface MedicalScribeTranscriptSegment { SegmentId?: string; @@ -500,23 +356,7 @@ interface _MedicalTranscriptResultStream { ServiceUnavailableException?: ServiceUnavailableException; } -export type MedicalTranscriptResultStream = - | (_MedicalTranscriptResultStream & { - TranscriptEvent: MedicalTranscriptEvent; - }) - | (_MedicalTranscriptResultStream & { - BadRequestException: BadRequestException; - }) - | (_MedicalTranscriptResultStream & { - LimitExceededException: LimitExceededException; - }) - | (_MedicalTranscriptResultStream & { - InternalFailureException: InternalFailureException; - }) - | (_MedicalTranscriptResultStream & { ConflictException: ConflictException }) - | (_MedicalTranscriptResultStream & { - ServiceUnavailableException: ServiceUnavailableException; - }); +export type MedicalTranscriptResultStream = (_MedicalTranscriptResultStream & { TranscriptEvent: MedicalTranscriptEvent }) | (_MedicalTranscriptResultStream & { BadRequestException: BadRequestException }) | (_MedicalTranscriptResultStream & { LimitExceededException: LimitExceededException }) | (_MedicalTranscriptResultStream & { InternalFailureException: InternalFailureException }) | (_MedicalTranscriptResultStream & { ConflictException: ConflictException }) | (_MedicalTranscriptResultStream & { ServiceUnavailableException: ServiceUnavailableException }); export type ModelName = string; export type NonEmptyString = string; @@ -565,13 +405,7 @@ export declare class ServiceUnavailableException extends EffectData.TaggedError( }> {} export type SessionId = string; -export type Specialty = - | "PRIMARYCARE" - | "CARDIOLOGY" - | "NEUROLOGY" - | "ONCOLOGY" - | "RADIOLOGY" - | "UROLOGY"; +export type Specialty = "PRIMARYCARE" | "CARDIOLOGY" | "NEUROLOGY" | "ONCOLOGY" | "RADIOLOGY" | "UROLOGY"; export type Stable = boolean; export interface StartCallAnalyticsStreamTranscriptionRequest { @@ -735,19 +569,7 @@ interface _TranscriptResultStream { ServiceUnavailableException?: ServiceUnavailableException; } -export type TranscriptResultStream = - | (_TranscriptResultStream & { TranscriptEvent: TranscriptEvent }) - | (_TranscriptResultStream & { BadRequestException: BadRequestException }) - | (_TranscriptResultStream & { - LimitExceededException: LimitExceededException; - }) - | (_TranscriptResultStream & { - InternalFailureException: InternalFailureException; - }) - | (_TranscriptResultStream & { ConflictException: ConflictException }) - | (_TranscriptResultStream & { - ServiceUnavailableException: ServiceUnavailableException; - }); +export type TranscriptResultStream = (_TranscriptResultStream & { TranscriptEvent: TranscriptEvent }) | (_TranscriptResultStream & { BadRequestException: BadRequestException }) | (_TranscriptResultStream & { LimitExceededException: LimitExceededException }) | (_TranscriptResultStream & { InternalFailureException: InternalFailureException }) | (_TranscriptResultStream & { ConflictException: ConflictException }) | (_TranscriptResultStream & { ServiceUnavailableException: ServiceUnavailableException }); export type Type = "CONVERSATION" | "DICTATION"; export type Uri = string; @@ -833,11 +655,5 @@ export declare namespace StartStreamTranscription { | CommonAwsError; } -export type TranscribeStreamingErrors = - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError; +export type TranscribeStreamingErrors = BadRequestException | ConflictException | InternalFailureException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError; + diff --git a/src/services/transcribe/index.ts b/src/services/transcribe/index.ts index d60a7d3a..444965f4 100644 --- a/src/services/transcribe/index.ts +++ b/src/services/transcribe/index.ts @@ -5,26 +5,7 @@ import type { Transcribe as _TranscribeClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/transcribe/types.ts b/src/services/transcribe/types.ts index ae6b1c70..04c82d28 100644 --- a/src/services/transcribe/types.ts +++ b/src/services/transcribe/types.ts @@ -7,422 +7,259 @@ export declare class Transcribe extends AWSServiceClient { input: CreateCallAnalyticsCategoryRequest, ): Effect.Effect< CreateCallAnalyticsCategoryResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | CommonAwsError >; createLanguageModel( input: CreateLanguageModelRequest, ): Effect.Effect< CreateLanguageModelResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | CommonAwsError >; createMedicalVocabulary( input: CreateMedicalVocabularyRequest, ): Effect.Effect< CreateMedicalVocabularyResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | CommonAwsError >; createVocabulary( input: CreateVocabularyRequest, ): Effect.Effect< CreateVocabularyResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | CommonAwsError >; createVocabularyFilter( input: CreateVocabularyFilterRequest, ): Effect.Effect< CreateVocabularyFilterResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | CommonAwsError >; deleteCallAnalyticsCategory( input: DeleteCallAnalyticsCategoryRequest, ): Effect.Effect< DeleteCallAnalyticsCategoryResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; deleteCallAnalyticsJob( input: DeleteCallAnalyticsJobRequest, ): Effect.Effect< DeleteCallAnalyticsJobResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; deleteLanguageModel( input: DeleteLanguageModelRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; deleteMedicalScribeJob( input: DeleteMedicalScribeJobRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; deleteMedicalTranscriptionJob( input: DeleteMedicalTranscriptionJobRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; deleteMedicalVocabulary( input: DeleteMedicalVocabularyRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; deleteTranscriptionJob( input: DeleteTranscriptionJobRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; deleteVocabulary( input: DeleteVocabularyRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; deleteVocabularyFilter( input: DeleteVocabularyFilterRequest, ): Effect.Effect< {}, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; describeLanguageModel( input: DescribeLanguageModelRequest, ): Effect.Effect< DescribeLanguageModelResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getCallAnalyticsCategory( input: GetCallAnalyticsCategoryRequest, ): Effect.Effect< GetCallAnalyticsCategoryResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getCallAnalyticsJob( input: GetCallAnalyticsJobRequest, ): Effect.Effect< GetCallAnalyticsJobResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getMedicalScribeJob( input: GetMedicalScribeJobRequest, ): Effect.Effect< GetMedicalScribeJobResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getMedicalTranscriptionJob( input: GetMedicalTranscriptionJobRequest, ): Effect.Effect< GetMedicalTranscriptionJobResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getMedicalVocabulary( input: GetMedicalVocabularyRequest, ): Effect.Effect< GetMedicalVocabularyResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getTranscriptionJob( input: GetTranscriptionJobRequest, ): Effect.Effect< GetTranscriptionJobResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getVocabulary( input: GetVocabularyRequest, ): Effect.Effect< GetVocabularyResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; getVocabularyFilter( input: GetVocabularyFilterRequest, ): Effect.Effect< GetVocabularyFilterResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; listCallAnalyticsCategories( input: ListCallAnalyticsCategoriesRequest, ): Effect.Effect< ListCallAnalyticsCategoriesResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; listCallAnalyticsJobs( input: ListCallAnalyticsJobsRequest, ): Effect.Effect< ListCallAnalyticsJobsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; listLanguageModels( input: ListLanguageModelsRequest, ): Effect.Effect< ListLanguageModelsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; listMedicalScribeJobs( input: ListMedicalScribeJobsRequest, ): Effect.Effect< ListMedicalScribeJobsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; listMedicalTranscriptionJobs( input: ListMedicalTranscriptionJobsRequest, ): Effect.Effect< ListMedicalTranscriptionJobsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; listMedicalVocabularies( input: ListMedicalVocabulariesRequest, ): Effect.Effect< ListMedicalVocabulariesResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; listTranscriptionJobs( input: ListTranscriptionJobsRequest, ): Effect.Effect< ListTranscriptionJobsResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; listVocabularies( input: ListVocabulariesRequest, ): Effect.Effect< ListVocabulariesResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; listVocabularyFilters( input: ListVocabularyFiltersRequest, ): Effect.Effect< ListVocabularyFiltersResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | CommonAwsError >; startCallAnalyticsJob( input: StartCallAnalyticsJobRequest, ): Effect.Effect< StartCallAnalyticsJobResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | CommonAwsError >; startMedicalScribeJob( input: StartMedicalScribeJobRequest, ): Effect.Effect< StartMedicalScribeJobResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | CommonAwsError >; startMedicalTranscriptionJob( input: StartMedicalTranscriptionJobRequest, ): Effect.Effect< StartMedicalTranscriptionJobResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | CommonAwsError >; startTranscriptionJob( input: StartTranscriptionJobRequest, ): Effect.Effect< StartTranscriptionJobResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; updateCallAnalyticsCategory( input: UpdateCallAnalyticsCategoryRequest, ): Effect.Effect< UpdateCallAnalyticsCategoryResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; updateMedicalVocabulary( input: UpdateMedicalVocabularyRequest, ): Effect.Effect< UpdateMedicalVocabularyResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; updateVocabulary( input: UpdateVocabularyRequest, ): Effect.Effect< UpdateVocabularyResponse, - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; updateVocabularyFilter( input: UpdateVocabularyFilterRequest, ): Effect.Effect< UpdateVocabularyFilterResponse, - | BadRequestException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError + BadRequestException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError >; } @@ -475,11 +312,7 @@ export interface CallAnalyticsJobSettings { LanguageIdSettings?: { [key in LanguageCode]?: string }; Summarization?: Summarization; } -export type CallAnalyticsJobStatus = - | "QUEUED" - | "IN_PROGRESS" - | "FAILED" - | "COMPLETED"; +export type CallAnalyticsJobStatus = "QUEUED" | "IN_PROGRESS" | "FAILED" | "COMPLETED"; export type CallAnalyticsJobSummaries = Array; export interface CallAnalyticsJobSummary { CallAnalyticsJobName?: string; @@ -496,11 +329,8 @@ export interface CallAnalyticsSkippedFeature { ReasonCode?: CallAnalyticsSkippedReasonCode; Message?: string; } -export type CallAnalyticsSkippedFeatureList = - Array; -export type CallAnalyticsSkippedReasonCode = - | "INSUFFICIENT_CONVERSATION_CONTENT" - | "FAILED_SAFETY_GUIDELINES"; +export type CallAnalyticsSkippedFeatureList = Array; +export type CallAnalyticsSkippedReasonCode = "INSUFFICIENT_CONVERSATION_CONTENT" | "FAILED_SAFETY_GUIDELINES"; export type CategoryName = string; export interface CategoryProperties { @@ -522,14 +352,7 @@ export type ChannelId = number; export interface ClinicalNoteGenerationSettings { NoteTemplate?: MedicalScribeNoteTemplate; } -export type CLMLanguageCode = - | "en-US" - | "hi-IN" - | "es-US" - | "en-GB" - | "en-AU" - | "de-DE" - | "ja-JP"; +export type CLMLanguageCode = "en-US" | "hi-IN" | "es-US" | "en-GB" | "en-AU" | "de-DE" | "ja-JP"; export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -611,11 +434,13 @@ export type DateTime = Date | string; export interface DeleteCallAnalyticsCategoryRequest { CategoryName: string; } -export interface DeleteCallAnalyticsCategoryResponse {} +export interface DeleteCallAnalyticsCategoryResponse { +} export interface DeleteCallAnalyticsJobRequest { CallAnalyticsJobName: string; } -export interface DeleteCallAnalyticsJobResponse {} +export interface DeleteCallAnalyticsJobResponse { +} export interface DeleteLanguageModelRequest { ModelName: string; } @@ -735,112 +560,7 @@ export interface JobExecutionSettings { export type KMSEncryptionContextMap = Record; export type KMSKeyId = string; -export type LanguageCode = - | "af-ZA" - | "ar-AE" - | "ar-SA" - | "da-DK" - | "de-CH" - | "de-DE" - | "en-AB" - | "en-AU" - | "en-GB" - | "en-IE" - | "en-IN" - | "en-US" - | "en-WL" - | "es-ES" - | "es-US" - | "fa-IR" - | "fr-CA" - | "fr-FR" - | "he-IL" - | "hi-IN" - | "id-ID" - | "it-IT" - | "ja-JP" - | "ko-KR" - | "ms-MY" - | "nl-NL" - | "pt-BR" - | "pt-PT" - | "ru-RU" - | "ta-IN" - | "te-IN" - | "tr-TR" - | "zh-CN" - | "zh-TW" - | "th-TH" - | "en-ZA" - | "en-NZ" - | "vi-VN" - | "sv-SE" - | "ab-GE" - | "ast-ES" - | "az-AZ" - | "ba-RU" - | "be-BY" - | "bg-BG" - | "bn-IN" - | "bs-BA" - | "ca-ES" - | "ckb-IQ" - | "ckb-IR" - | "cs-CZ" - | "cy-WL" - | "el-GR" - | "et-EE" - | "et-ET" - | "eu-ES" - | "fi-FI" - | "gl-ES" - | "gu-IN" - | "ha-NG" - | "hr-HR" - | "hu-HU" - | "hy-AM" - | "is-IS" - | "ka-GE" - | "kab-DZ" - | "kk-KZ" - | "kn-IN" - | "ky-KG" - | "lg-IN" - | "lt-LT" - | "lv-LV" - | "mhr-RU" - | "mi-NZ" - | "mk-MK" - | "ml-IN" - | "mn-MN" - | "mr-IN" - | "mt-MT" - | "no-NO" - | "or-IN" - | "pa-IN" - | "pl-PL" - | "ps-AF" - | "ro-RO" - | "rw-RW" - | "si-LK" - | "sk-SK" - | "sl-SI" - | "so-SO" - | "sr-RS" - | "su-ID" - | "sw-BI" - | "sw-KE" - | "sw-RW" - | "sw-TZ" - | "sw-UG" - | "tl-PH" - | "tt-RU" - | "ug-CN" - | "uk-UA" - | "uz-UZ" - | "wo-SN" - | "zh-HK" - | "zu-ZA"; +export type LanguageCode = "af-ZA" | "ar-AE" | "ar-SA" | "da-DK" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fa-IR" | "fr-CA" | "fr-FR" | "he-IL" | "hi-IN" | "id-ID" | "it-IT" | "ja-JP" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-BR" | "pt-PT" | "ru-RU" | "ta-IN" | "te-IN" | "tr-TR" | "zh-CN" | "zh-TW" | "th-TH" | "en-ZA" | "en-NZ" | "vi-VN" | "sv-SE" | "ab-GE" | "ast-ES" | "az-AZ" | "ba-RU" | "be-BY" | "bg-BG" | "bn-IN" | "bs-BA" | "ca-ES" | "ckb-IQ" | "ckb-IR" | "cs-CZ" | "cy-WL" | "el-GR" | "et-EE" | "et-ET" | "eu-ES" | "fi-FI" | "gl-ES" | "gu-IN" | "ha-NG" | "hr-HR" | "hu-HU" | "hy-AM" | "is-IS" | "ka-GE" | "kab-DZ" | "kk-KZ" | "kn-IN" | "ky-KG" | "lg-IN" | "lt-LT" | "lv-LV" | "mhr-RU" | "mi-NZ" | "mk-MK" | "ml-IN" | "mn-MN" | "mr-IN" | "mt-MT" | "no-NO" | "or-IN" | "pa-IN" | "pl-PL" | "ps-AF" | "ro-RO" | "rw-RW" | "si-LK" | "sk-SK" | "sl-SI" | "so-SO" | "sr-RS" | "su-ID" | "sw-BI" | "sw-KE" | "sw-RW" | "sw-TZ" | "sw-UG" | "tl-PH" | "tt-RU" | "ug-CN" | "uk-UA" | "uz-UZ" | "wo-SN" | "zh-HK" | "zu-ZA"; export interface LanguageCodeItem { LanguageCode?: LanguageCode; DurationInSeconds?: number; @@ -979,15 +699,7 @@ export interface Media { MediaFileUri?: string; RedactedMediaFileUri?: string; } -export type MediaFormat = - | "mp3" - | "mp4" - | "wav" - | "flac" - | "ogg" - | "amr" - | "webm" - | "m4a"; +export type MediaFormat = "mp3" | "mp4" | "wav" | "flac" | "ogg" | "amr" | "webm" | "m4a"; export type MediaSampleRateHertz = number; export type MedicalContentIdentificationType = "PHI"; @@ -997,8 +709,7 @@ export interface MedicalScribeChannelDefinition { ChannelId: number; ParticipantRole: MedicalScribeParticipantRole; } -export type MedicalScribeChannelDefinitions = - Array; +export type MedicalScribeChannelDefinitions = Array; export type MedicalScribeChannelId = number; export interface MedicalScribeContext { @@ -1020,11 +731,7 @@ export interface MedicalScribeJob { MedicalScribeContextProvided?: boolean; Tags?: Array; } -export type MedicalScribeJobStatus = - | "QUEUED" - | "IN_PROGRESS" - | "FAILED" - | "COMPLETED"; +export type MedicalScribeJobStatus = "QUEUED" | "IN_PROGRESS" | "FAILED" | "COMPLETED"; export type MedicalScribeJobSummaries = Array; export interface MedicalScribeJobSummary { MedicalScribeJobName?: string; @@ -1036,14 +743,7 @@ export interface MedicalScribeJobSummary { FailureReason?: string; } export type MedicalScribeLanguageCode = "en-US"; -export type MedicalScribeNoteTemplate = - | "HISTORY_AND_PHYSICAL" - | "GIRPP" - | "BIRP" - | "SIRP" - | "DAP" - | "BEHAVIORAL_SOAP" - | "PHYSICAL_SOAP"; +export type MedicalScribeNoteTemplate = "HISTORY_AND_PHYSICAL" | "GIRPP" | "BIRP" | "SIRP" | "DAP" | "BEHAVIORAL_SOAP" | "PHYSICAL_SOAP"; export interface MedicalScribeOutput { TranscriptFileUri: string; ClinicalDocumentUri: string; @@ -1082,8 +782,7 @@ export interface MedicalTranscriptionJob { Type?: Type; Tags?: Array; } -export type MedicalTranscriptionJobSummaries = - Array; +export type MedicalTranscriptionJobSummaries = Array; export interface MedicalTranscriptionJobSummary { MedicalTranscriptionJobName?: string; CreationTime?: Date | string; @@ -1138,19 +837,7 @@ export type Percentage = number; export type Phrase = string; export type Phrases = Array; -export type PiiEntityType = - | "BANK_ACCOUNT_NUMBER" - | "BANK_ROUTING" - | "CREDIT_DEBIT_NUMBER" - | "CREDIT_DEBIT_CVV" - | "CREDIT_DEBIT_EXPIRY" - | "PIN" - | "EMAIL" - | "ADDRESS" - | "NAME" - | "PHONE" - | "SSN" - | "ALL"; +export type PiiEntityType = "BANK_ACCOUNT_NUMBER" | "BANK_ROUTING" | "CREDIT_DEBIT_NUMBER" | "CREDIT_DEBIT_CVV" | "CREDIT_DEBIT_EXPIRY" | "PIN" | "EMAIL" | "ADDRESS" | "NAME" | "PHONE" | "SSN" | "ALL"; export type PiiEntityTypes = Array; export type Pronouns = "HE_HIM" | "SHE_HER" | "THEY_THEM"; export type RedactionOutput = "redacted" | "redacted_and_unredacted"; @@ -1168,11 +855,7 @@ interface _Rule { SentimentFilter?: SentimentFilter; } -export type Rule = - | (_Rule & { NonTalkTimeFilter: NonTalkTimeFilter }) - | (_Rule & { InterruptionFilter: InterruptionFilter }) - | (_Rule & { TranscriptFilter: TranscriptFilter }) - | (_Rule & { SentimentFilter: SentimentFilter }); +export type Rule = (_Rule & { NonTalkTimeFilter: NonTalkTimeFilter }) | (_Rule & { InterruptionFilter: InterruptionFilter }) | (_Rule & { TranscriptFilter: TranscriptFilter }) | (_Rule & { SentimentFilter: SentimentFilter }); export type RuleList = Array; export interface SentimentFilter { Sentiments: Array; @@ -1298,7 +981,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TimestampMilliseconds = number; @@ -1352,11 +1036,7 @@ export interface TranscriptionJob { } export type TranscriptionJobName = string; -export type TranscriptionJobStatus = - | "QUEUED" - | "IN_PROGRESS" - | "FAILED" - | "COMPLETED"; +export type TranscriptionJobStatus = "QUEUED" | "IN_PROGRESS" | "FAILED" | "COMPLETED"; export type TranscriptionJobSummaries = Array; export interface TranscriptionJobSummary { TranscriptionJobName?: string; @@ -1380,7 +1060,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateCallAnalyticsCategoryRequest { CategoryName: string; Rules: Array; @@ -1912,10 +1593,5 @@ export declare namespace UpdateVocabularyFilter { | CommonAwsError; } -export type TranscribeErrors = - | BadRequestException - | ConflictException - | InternalFailureException - | LimitExceededException - | NotFoundException - | CommonAwsError; +export type TranscribeErrors = BadRequestException | ConflictException | InternalFailureException | LimitExceededException | NotFoundException | CommonAwsError; + diff --git a/src/services/transfer/index.ts b/src/services/transfer/index.ts index b425f8b7..bd00ff4a 100644 --- a/src/services/transfer/index.ts +++ b/src/services/transfer/index.ts @@ -5,24 +5,7 @@ import type { Transfer as _TransferClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/transfer/types.ts b/src/services/transfer/types.ts index 1b37345f..940c2bef 100644 --- a/src/services/transfer/types.ts +++ b/src/services/transfer/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | ValidationException - | AccessDeniedException - | ThrottlingException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | ValidationException | AccessDeniedException | ThrottlingException; import { AWSServiceClient } from "../../client.ts"; export declare class Transfer extends AWSServiceClient { @@ -41,771 +8,427 @@ export declare class Transfer extends AWSServiceClient { input: CreateAccessRequest, ): Effect.Effect< CreateAccessResponse, - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteAccess( input: DeleteAccessRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteHostKey( input: DeleteHostKeyRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteSshPublicKey( input: DeleteSshPublicKeyRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; describeAccess( input: DescribeAccessRequest, ): Effect.Effect< DescribeAccessResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeExecution( input: DescribeExecutionRequest, ): Effect.Effect< DescribeExecutionResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeHostKey( input: DescribeHostKeyRequest, ): Effect.Effect< DescribeHostKeyResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeSecurityPolicy( input: DescribeSecurityPolicyRequest, ): Effect.Effect< DescribeSecurityPolicyResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; importHostKey( input: ImportHostKeyRequest, ): Effect.Effect< ImportHostKeyResponse, - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; importSshPublicKey( input: ImportSshPublicKeyRequest, ): Effect.Effect< ImportSshPublicKeyResponse, - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; listAccesses( input: ListAccessesRequest, ): Effect.Effect< ListAccessesResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listExecutions( input: ListExecutionsRequest, ): Effect.Effect< ListExecutionsResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listFileTransferResults( input: ListFileTransferResultsRequest, ): Effect.Effect< ListFileTransferResultsResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listHostKeys( input: ListHostKeysRequest, ): Effect.Effect< ListHostKeysResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listSecurityPolicies( input: ListSecurityPoliciesRequest, ): Effect.Effect< ListSecurityPoliciesResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ServiceUnavailableException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ServiceUnavailableException | CommonAwsError >; sendWorkflowStepState( input: SendWorkflowStepStateRequest, ): Effect.Effect< SendWorkflowStepStateResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; startDirectoryListing( input: StartDirectoryListingRequest, ): Effect.Effect< StartDirectoryListingResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; startFileTransfer( input: StartFileTransferRequest, ): Effect.Effect< StartFileTransferResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; startRemoteDelete( input: StartRemoteDeleteRequest, ): Effect.Effect< StartRemoteDeleteResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; startRemoteMove( input: StartRemoteMoveRequest, ): Effect.Effect< StartRemoteMoveResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; startServer( input: StartServerRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; stopServer( input: StopServerRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; testConnection( input: TestConnectionRequest, ): Effect.Effect< TestConnectionResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; testIdentityProvider( input: TestIdentityProviderRequest, ): Effect.Effect< TestIdentityProviderResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; updateAccess( input: UpdateAccessRequest, ): Effect.Effect< UpdateAccessResponse, - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateHostKey( input: UpdateHostKeyRequest, ): Effect.Effect< UpdateHostKeyResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createAgreement( input: CreateAgreementRequest, ): Effect.Effect< CreateAgreementResponse, - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createConnector( input: CreateConnectorRequest, ): Effect.Effect< CreateConnectorResponse, - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createProfile( input: CreateProfileRequest, ): Effect.Effect< CreateProfileResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createServer( input: CreateServerRequest, ): Effect.Effect< CreateServerResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; createWebApp( input: CreateWebAppRequest, ): Effect.Effect< CreateWebAppResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; createWorkflow( input: CreateWorkflowRequest, ): Effect.Effect< CreateWorkflowResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceExistsException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; deleteAgreement( input: DeleteAgreementRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteCertificate( input: DeleteCertificateRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteConnector( input: DeleteConnectorRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteProfile( input: DeleteProfileRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteServer( input: DeleteServerRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< {}, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; deleteWebApp( input: DeleteWebAppRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteWebAppCustomization( input: DeleteWebAppCustomizationRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; deleteWorkflow( input: DeleteWorkflowRequest, ): Effect.Effect< {}, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeAgreement( input: DescribeAgreementRequest, ): Effect.Effect< DescribeAgreementResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeCertificate( input: DescribeCertificateRequest, ): Effect.Effect< DescribeCertificateResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeConnector( input: DescribeConnectorRequest, ): Effect.Effect< DescribeConnectorResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeProfile( input: DescribeProfileRequest, ): Effect.Effect< DescribeProfileResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeServer( input: DescribeServerRequest, ): Effect.Effect< DescribeServerResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeUser( input: DescribeUserRequest, ): Effect.Effect< DescribeUserResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; describeWebApp( input: DescribeWebAppRequest, ): Effect.Effect< DescribeWebAppResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeWebAppCustomization( input: DescribeWebAppCustomizationRequest, ): Effect.Effect< DescribeWebAppCustomizationResponse, - | AccessDeniedException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; describeWorkflow( input: DescribeWorkflowRequest, ): Effect.Effect< DescribeWorkflowResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; importCertificate( input: ImportCertificateRequest, ): Effect.Effect< ImportCertificateResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listAgreements( input: ListAgreementsRequest, ): Effect.Effect< ListAgreementsResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listCertificates( input: ListCertificatesRequest, ): Effect.Effect< ListCertificatesResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listConnectors( input: ListConnectorsRequest, ): Effect.Effect< ListConnectorsResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listProfiles( input: ListProfilesRequest, ): Effect.Effect< ListProfilesResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listServers( input: ListServersRequest, ): Effect.Effect< ListServersResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ServiceUnavailableException | CommonAwsError >; listUsers( input: ListUsersRequest, ): Effect.Effect< ListUsersResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | CommonAwsError >; listWebApps( input: ListWebAppsRequest, ): Effect.Effect< ListWebAppsResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ThrottlingException | CommonAwsError >; listWorkflows( input: ListWorkflowsRequest, ): Effect.Effect< ListWorkflowsResponse, - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ServiceUnavailableException - | CommonAwsError + InternalServiceError | InvalidNextTokenException | InvalidRequestException | ServiceUnavailableException | CommonAwsError >; updateAgreement( input: UpdateAgreementRequest, ): Effect.Effect< UpdateAgreementResponse, - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateCertificate( input: UpdateCertificateRequest, ): Effect.Effect< UpdateCertificateResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateConnector( input: UpdateConnectorRequest, ): Effect.Effect< UpdateConnectorResponse, - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateProfile( input: UpdateProfileRequest, ): Effect.Effect< UpdateProfileResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateServer( input: UpdateServerRequest, ): Effect.Effect< UpdateServerResponse, - | AccessDeniedException - | ConflictException - | InternalServiceError - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceError | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError + InternalServiceError | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError >; updateWebApp( input: UpdateWebAppRequest, ): Effect.Effect< UpdateWebAppResponse, - | AccessDeniedException - | ConflictException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; updateWebAppCustomization( input: UpdateWebAppCustomizationRequest, ): Effect.Effect< UpdateWebAppCustomizationResponse, - | AccessDeniedException - | ConflictException - | InternalServiceError - | InvalidRequestException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServiceError | InvalidRequestException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; } @@ -872,9 +495,7 @@ interface _ConnectorEgressConfig { VpcLattice?: ConnectorVpcLatticeEgressConfig; } -export type ConnectorEgressConfig = _ConnectorEgressConfig & { - VpcLattice: ConnectorVpcLatticeEgressConfig; -}; +export type ConnectorEgressConfig = (_ConnectorEgressConfig & { VpcLattice: ConnectorVpcLatticeEgressConfig }); export type ConnectorEgressType = "SERVICE_MANAGED" | "VPC_LATTICE"; export type ConnectorErrorMessage = string; @@ -1172,9 +793,7 @@ interface _DescribedConnectorEgressConfig { VpcLattice?: DescribedConnectorVpcLatticeEgressConfig; } -export type DescribedConnectorEgressConfig = _DescribedConnectorEgressConfig & { - VpcLattice: DescribedConnectorVpcLatticeEgressConfig; -}; +export type DescribedConnectorEgressConfig = (_DescribedConnectorEgressConfig & { VpcLattice: DescribedConnectorVpcLatticeEgressConfig }); export interface DescribedConnectorVpcLatticeEgressConfig { ResourceConfigurationArn: string; PortNumber?: number; @@ -1280,10 +899,7 @@ interface _DescribedWebAppIdentityProviderDetails { IdentityCenterConfig?: DescribedIdentityCenterConfig; } -export type DescribedWebAppIdentityProviderDetails = - _DescribedWebAppIdentityProviderDetails & { - IdentityCenterConfig: DescribedIdentityCenterConfig; - }; +export type DescribedWebAppIdentityProviderDetails = (_DescribedWebAppIdentityProviderDetails & { IdentityCenterConfig: DescribedIdentityCenterConfig }); export interface DescribedWorkflow { Arn: string; Description?: string; @@ -1365,12 +981,7 @@ export type EfsFileSystemId = string; export type EfsPath = string; -export type EncryptionAlg = - | "AES128_CBC" - | "AES192_CBC" - | "AES256_CBC" - | "DES_EDE3_CBC" - | "NONE"; +export type EncryptionAlg = "AES128_CBC" | "AES192_CBC" | "AES256_CBC" | "DES_EDE3_CBC" | "NONE"; export type EncryptionType = "PGP"; export interface EndpointDetails { AddressAllocationIds?: Array; @@ -1387,26 +998,14 @@ export interface ExecutionError { } export type ExecutionErrorMessage = string; -export type ExecutionErrorType = - | "PERMISSION_DENIED" - | "CUSTOM_STEP_FAILED" - | "THROTTLED" - | "ALREADY_EXISTS" - | "NOT_FOUND" - | "BAD_REQUEST" - | "TIMEOUT" - | "INTERNAL_SERVER_ERROR"; +export type ExecutionErrorType = "PERMISSION_DENIED" | "CUSTOM_STEP_FAILED" | "THROTTLED" | "ALREADY_EXISTS" | "NOT_FOUND" | "BAD_REQUEST" | "TIMEOUT" | "INTERNAL_SERVER_ERROR"; export type ExecutionId = string; export interface ExecutionResults { Steps?: Array; OnExceptionSteps?: Array; } -export type ExecutionStatus = - | "IN_PROGRESS" - | "COMPLETED" - | "EXCEPTION" - | "HANDLING_EXCEPTION"; +export type ExecutionStatus = "IN_PROGRESS" | "COMPLETED" | "EXCEPTION" | "HANDLING_EXCEPTION"; export interface ExecutionStepResult { StepType?: WorkflowStepType; Outputs?: string; @@ -1462,11 +1061,7 @@ export interface IdentityProviderDetails { Function?: string; SftpAuthenticationMethods?: SftpAuthenticationMethods; } -export type IdentityProviderType = - | "SERVICE_MANAGED" - | "API_GATEWAY" - | "AWS_DIRECTORY_SERVICE" - | "AWS_LAMBDA"; +export type IdentityProviderType = "SERVICE_MANAGED" | "API_GATEWAY" | "AWS_DIRECTORY_SERVICE" | "AWS_LAMBDA"; export interface ImportCertificateRequest { Usage: CertificateUsageType; Certificate: string; @@ -1756,13 +1351,7 @@ export type MaxItems = number; export type MaxResults = number; export type MdnResponse = "SYNC" | "NONE"; -export type MdnSigningAlg = - | "SHA256" - | "SHA384" - | "SHA512" - | "SHA1" - | "NONE" - | "DEFAULT"; +export type MdnSigningAlg = "SHA256" | "SHA384" | "SHA512" | "SHA1" | "NONE" | "DEFAULT"; export type Message = string; export type MessageSubject = string; @@ -1883,7 +1472,8 @@ export interface SendWorkflowStepStateRequest { Token: string; Status: CustomStepStatus; } -export interface SendWorkflowStepStateResponse {} +export interface SendWorkflowStepStateResponse { +} export type ServerId = string; export type ServiceErrorMessage = string; @@ -1902,11 +1492,7 @@ export declare class ServiceUnavailableException extends EffectData.TaggedError( export type SessionId = string; export type SetStatOption = "DEFAULT" | "ENABLE_NO_OP"; -export type SftpAuthenticationMethods = - | "PASSWORD" - | "PUBLIC_KEY" - | "PUBLIC_KEY_OR_PASSWORD" - | "PUBLIC_KEY_AND_PASSWORD"; +export type SftpAuthenticationMethods = "PASSWORD" | "PUBLIC_KEY" | "PUBLIC_KEY_OR_PASSWORD" | "PUBLIC_KEY_AND_PASSWORD"; export interface SftpConnectorConfig { UserSecretId?: string; TrustedHostKeys?: Array; @@ -1977,13 +1563,7 @@ export interface StartRemoteMoveResponse { export interface StartServerRequest { ServerId: string; } -export type State = - | "OFFLINE" - | "ONLINE" - | "STARTING" - | "STOPPING" - | "START_FAILED" - | "STOP_FAILED"; +export type State = "OFFLINE" | "ONLINE" | "STARTING" | "STOPPING" | "START_FAILED" | "STOP_FAILED"; export type Status = string; export type StatusCode = number; @@ -2046,11 +1626,7 @@ export declare class ThrottlingException extends EffectData.TaggedError( export type TlsSessionResumptionMode = "DISABLED" | "ENABLED" | "ENFORCED"; export type TransferId = string; -export type TransferTableStatus = - | "QUEUED" - | "IN_PROGRESS" - | "COMPLETED" - | "FAILED"; +export type TransferTableStatus = "QUEUED" | "IN_PROGRESS" | "COMPLETED" | "FAILED"; export interface UntagResourceRequest { Arn: string; TagKeys: Array; @@ -2098,9 +1674,7 @@ interface _UpdateConnectorEgressConfig { VpcLattice?: UpdateConnectorVpcLatticeEgressConfig; } -export type UpdateConnectorEgressConfig = _UpdateConnectorEgressConfig & { - VpcLattice: UpdateConnectorVpcLatticeEgressConfig; -}; +export type UpdateConnectorEgressConfig = (_UpdateConnectorEgressConfig & { VpcLattice: UpdateConnectorVpcLatticeEgressConfig }); export interface UpdateConnectorRequest { ConnectorId: string; Url?: string; @@ -2186,10 +1760,7 @@ interface _UpdateWebAppIdentityProviderDetails { IdentityCenterConfig?: UpdateWebAppIdentityCenterConfig; } -export type UpdateWebAppIdentityProviderDetails = - _UpdateWebAppIdentityProviderDetails & { - IdentityCenterConfig: UpdateWebAppIdentityCenterConfig; - }; +export type UpdateWebAppIdentityProviderDetails = (_UpdateWebAppIdentityProviderDetails & { IdentityCenterConfig: UpdateWebAppIdentityCenterConfig }); export interface UpdateWebAppRequest { WebAppId: string; IdentityProviderDetails?: UpdateWebAppIdentityProviderDetails; @@ -2231,9 +1802,7 @@ interface _WebAppIdentityProviderDetails { IdentityCenterConfig?: IdentityCenterConfig; } -export type WebAppIdentityProviderDetails = _WebAppIdentityProviderDetails & { - IdentityCenterConfig: IdentityCenterConfig; -}; +export type WebAppIdentityProviderDetails = (_WebAppIdentityProviderDetails & { IdentityCenterConfig: IdentityCenterConfig }); export type WebAppLogoFile = Uint8Array | string; export type WebAppTitle = string; @@ -2244,7 +1813,7 @@ interface _WebAppUnits { Provisioned?: number; } -export type WebAppUnits = _WebAppUnits & { Provisioned: number }; +export type WebAppUnits = (_WebAppUnits & { Provisioned: number }); export type WorkflowDescription = string; export interface WorkflowDetail { @@ -3110,14 +2679,5 @@ export declare namespace UpdateWebAppCustomization { | CommonAwsError; } -export type TransferErrors = - | AccessDeniedException - | ConflictException - | InternalServiceError - | InvalidNextTokenException - | InvalidRequestException - | ResourceExistsException - | ResourceNotFoundException - | ServiceUnavailableException - | ThrottlingException - | CommonAwsError; +export type TransferErrors = AccessDeniedException | ConflictException | InternalServiceError | InvalidNextTokenException | InvalidRequestException | ResourceExistsException | ResourceNotFoundException | ServiceUnavailableException | ThrottlingException | CommonAwsError; + diff --git a/src/services/translate/index.ts b/src/services/translate/index.ts index df406d83..76023f95 100644 --- a/src/services/translate/index.ts +++ b/src/services/translate/index.ts @@ -5,26 +5,7 @@ import type { Translate as _TranslateClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/translate/types.ts b/src/services/translate/types.ts index 37f5e3be..bc18e9c3 100644 --- a/src/services/translate/types.ts +++ b/src/services/translate/types.ts @@ -7,206 +7,115 @@ export declare class Translate extends AWSServiceClient { input: CreateParallelDataRequest, ): Effect.Effect< CreateParallelDataResponse, - | ConcurrentModificationException - | ConflictException - | InternalServerException - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + ConcurrentModificationException | ConflictException | InternalServerException | InvalidParameterValueException | InvalidRequestException | LimitExceededException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; deleteParallelData( input: DeleteParallelDataRequest, ): Effect.Effect< DeleteParallelDataResponse, - | ConcurrentModificationException - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | InternalServerException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; deleteTerminology( input: DeleteTerminologyRequest, ): Effect.Effect< {}, - | InternalServerException - | InvalidParameterValueException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidParameterValueException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; describeTextTranslationJob( input: DescribeTextTranslationJobRequest, ): Effect.Effect< DescribeTextTranslationJobResponse, - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getParallelData( input: GetParallelDataRequest, ): Effect.Effect< GetParallelDataResponse, - | InternalServerException - | InvalidParameterValueException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidParameterValueException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; getTerminology( input: GetTerminologyRequest, ): Effect.Effect< GetTerminologyResponse, - | InternalServerException - | InvalidParameterValueException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidParameterValueException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; importTerminology( input: ImportTerminologyRequest, ): Effect.Effect< ImportTerminologyResponse, - | ConcurrentModificationException - | InternalServerException - | InvalidParameterValueException - | LimitExceededException - | TooManyRequestsException - | TooManyTagsException - | CommonAwsError + ConcurrentModificationException | InternalServerException | InvalidParameterValueException | LimitExceededException | TooManyRequestsException | TooManyTagsException | CommonAwsError >; listLanguages( input: ListLanguagesRequest, ): Effect.Effect< ListLanguagesResponse, - | InternalServerException - | InvalidParameterValueException - | TooManyRequestsException - | UnsupportedDisplayLanguageCodeException - | CommonAwsError + InternalServerException | InvalidParameterValueException | TooManyRequestsException | UnsupportedDisplayLanguageCodeException | CommonAwsError >; listParallelData( input: ListParallelDataRequest, ): Effect.Effect< ListParallelDataResponse, - | InternalServerException - | InvalidParameterValueException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidParameterValueException | TooManyRequestsException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InternalServerException - | InvalidParameterValueException - | ResourceNotFoundException - | CommonAwsError + InternalServerException | InvalidParameterValueException | ResourceNotFoundException | CommonAwsError >; listTerminologies( input: ListTerminologiesRequest, ): Effect.Effect< ListTerminologiesResponse, - | InternalServerException - | InvalidParameterValueException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidParameterValueException | TooManyRequestsException | CommonAwsError >; listTextTranslationJobs( input: ListTextTranslationJobsRequest, ): Effect.Effect< ListTextTranslationJobsResponse, - | InternalServerException - | InvalidFilterException - | InvalidRequestException - | TooManyRequestsException - | CommonAwsError + InternalServerException | InvalidFilterException | InvalidRequestException | TooManyRequestsException | CommonAwsError >; startTextTranslationJob( input: StartTextTranslationJobRequest, ): Effect.Effect< StartTextTranslationJobResponse, - | InternalServerException - | InvalidParameterValueException - | InvalidRequestException - | ResourceNotFoundException - | TooManyRequestsException - | UnsupportedLanguagePairException - | CommonAwsError + InternalServerException | InvalidParameterValueException | InvalidRequestException | ResourceNotFoundException | TooManyRequestsException | UnsupportedLanguagePairException | CommonAwsError >; stopTextTranslationJob( input: StopTextTranslationJobRequest, ): Effect.Effect< StopTextTranslationJobResponse, - | InternalServerException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + InternalServerException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | ConcurrentModificationException - | InternalServerException - | InvalidParameterValueException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + ConcurrentModificationException | InternalServerException | InvalidParameterValueException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; translateDocument( input: TranslateDocumentRequest, ): Effect.Effect< TranslateDocumentResponse, - | InternalServerException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | TooManyRequestsException - | UnsupportedLanguagePairException - | CommonAwsError + InternalServerException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | TooManyRequestsException | UnsupportedLanguagePairException | CommonAwsError >; translateText( input: TranslateTextRequest, ): Effect.Effect< TranslateTextResponse, - | DetectedLanguageLowConfidenceException - | InternalServerException - | InvalidRequestException - | ResourceNotFoundException - | ServiceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | UnsupportedLanguagePairException - | CommonAwsError + DetectedLanguageLowConfidenceException | InternalServerException | InvalidRequestException | ResourceNotFoundException | ServiceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | UnsupportedLanguagePairException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | ConcurrentModificationException - | InternalServerException - | InvalidParameterValueException - | ResourceNotFoundException - | CommonAwsError + ConcurrentModificationException | InternalServerException | InvalidParameterValueException | ResourceNotFoundException | CommonAwsError >; updateParallelData( input: UpdateParallelDataRequest, ): Effect.Effect< UpdateParallelDataResponse, - | ConcurrentModificationException - | ConflictException - | InternalServerException - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | TooManyRequestsException - | CommonAwsError + ConcurrentModificationException | ConflictException | InternalServerException | InvalidParameterValueException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | TooManyRequestsException | CommonAwsError >; } @@ -269,17 +178,7 @@ export declare class DetectedLanguageLowConfidenceException extends EffectData.T readonly DetectedLanguageCode?: string; }> {} export type Directionality = "UNI" | "MULTI"; -export type DisplayLanguageCode = - | "de" - | "en" - | "es" - | "fr" - | "it" - | "ja" - | "ko" - | "pt" - | "zh" - | "zh-TW"; +export type DisplayLanguageCode = "de" | "en" | "es" | "fr" | "it" | "ja" | "ko" | "pt" | "zh" | "zh-TW"; export interface Document { Content: Uint8Array | string; ContentType: string; @@ -361,14 +260,7 @@ export type JobId = string; export type JobName = string; -export type JobStatus = - | "SUBMITTED" - | "IN_PROGRESS" - | "COMPLETED" - | "COMPLETED_WITH_ERROR" - | "FAILED" - | "STOP_REQUESTED" - | "STOPPED"; +export type JobStatus = "SUBMITTED" | "IN_PROGRESS" | "COMPLETED" | "COMPLETED_WITH_ERROR" | "FAILED" | "STOP_REQUESTED" | "STOPPED"; export interface Language { LanguageName: string; LanguageCode: string; @@ -467,12 +359,7 @@ export interface ParallelDataProperties { LatestUpdateAttemptAt?: Date | string; } export type ParallelDataPropertiesList = Array; -export type ParallelDataStatus = - | "CREATING" - | "UPDATING" - | "ACTIVE" - | "DELETING" - | "FAILED"; +export type ParallelDataStatus = "CREATING" | "UPDATING" | "ACTIVE" | "DELETING" | "FAILED"; export type Profanity = "MASK"; export type ResourceArn = string; @@ -528,7 +415,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TargetLanguageCodeStringList = Array; @@ -596,8 +484,7 @@ export interface TextTranslationJobProperties { DataAccessRoleArn?: string; Settings?: TranslationSettings; } -export type TextTranslationJobPropertiesList = - Array; +export type TextTranslationJobPropertiesList = Array; export type Timestamp = Date | string; export declare class TooManyRequestsException extends EffectData.TaggedError( @@ -670,7 +557,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateParallelDataRequest { Name: string; Description?: string; @@ -907,20 +795,5 @@ export declare namespace UpdateParallelData { | CommonAwsError; } -export type TranslateErrors = - | ConcurrentModificationException - | ConflictException - | DetectedLanguageLowConfidenceException - | InternalServerException - | InvalidFilterException - | InvalidParameterValueException - | InvalidRequestException - | LimitExceededException - | ResourceNotFoundException - | ServiceUnavailableException - | TextSizeLimitExceededException - | TooManyRequestsException - | TooManyTagsException - | UnsupportedDisplayLanguageCodeException - | UnsupportedLanguagePairException - | CommonAwsError; +export type TranslateErrors = ConcurrentModificationException | ConflictException | DetectedLanguageLowConfidenceException | InternalServerException | InvalidFilterException | InvalidParameterValueException | InvalidRequestException | LimitExceededException | ResourceNotFoundException | ServiceUnavailableException | TextSizeLimitExceededException | TooManyRequestsException | TooManyTagsException | UnsupportedDisplayLanguageCodeException | UnsupportedLanguagePairException | CommonAwsError; + diff --git a/src/services/trustedadvisor/index.ts b/src/services/trustedadvisor/index.ts index fe8f29ff..4165c803 100644 --- a/src/services/trustedadvisor/index.ts +++ b/src/services/trustedadvisor/index.ts @@ -5,23 +5,7 @@ import type { TrustedAdvisor as _TrustedAdvisorClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,24 +14,21 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "trustedadvisor", operations: { - BatchUpdateRecommendationResourceExclusion: - "PUT /v1/batch-update-recommendation-resource-exclusion", - GetOrganizationRecommendation: - "GET /v1/organization-recommendations/{organizationRecommendationIdentifier}", - GetRecommendation: "GET /v1/recommendations/{recommendationIdentifier}", - ListChecks: "GET /v1/checks", - ListOrganizationRecommendationAccounts: - "GET /v1/organization-recommendations/{organizationRecommendationIdentifier}/accounts", - ListOrganizationRecommendationResources: - "GET /v1/organization-recommendations/{organizationRecommendationIdentifier}/resources", - ListOrganizationRecommendations: "GET /v1/organization-recommendations", - ListRecommendationResources: - "GET /v1/recommendations/{recommendationIdentifier}/resources", - ListRecommendations: "GET /v1/recommendations", - UpdateOrganizationRecommendationLifecycle: - "PUT /v1/organization-recommendations/{organizationRecommendationIdentifier}/lifecycle", - UpdateRecommendationLifecycle: - "PUT /v1/recommendations/{recommendationIdentifier}/lifecycle", + "BatchUpdateRecommendationResourceExclusion": "PUT /v1/batch-update-recommendation-resource-exclusion", + "GetOrganizationRecommendation": "GET /v1/organization-recommendations/{organizationRecommendationIdentifier}", + "GetRecommendation": "GET /v1/recommendations/{recommendationIdentifier}", + "ListChecks": "GET /v1/checks", + "ListOrganizationRecommendationAccounts": "GET /v1/organization-recommendations/{organizationRecommendationIdentifier}/accounts", + "ListOrganizationRecommendationResources": "GET /v1/organization-recommendations/{organizationRecommendationIdentifier}/resources", + "ListOrganizationRecommendations": "GET /v1/organization-recommendations", + "ListRecommendationResources": "GET /v1/recommendations/{recommendationIdentifier}/resources", + "ListRecommendations": "GET /v1/recommendations", + "UpdateOrganizationRecommendationLifecycle": "PUT /v1/organization-recommendations/{organizationRecommendationIdentifier}/lifecycle", + "UpdateRecommendationLifecycle": "PUT /v1/recommendations/{recommendationIdentifier}/lifecycle", + }, + retryableErrors: { + "InternalServerException": {}, + "ThrottlingException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/trustedadvisor/types.ts b/src/services/trustedadvisor/types.ts index f3bdf241..581e0c90 100644 --- a/src/services/trustedadvisor/types.ts +++ b/src/services/trustedadvisor/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class TrustedAdvisor extends AWSServiceClient { @@ -40,121 +8,67 @@ export declare class TrustedAdvisor extends AWSServiceClient { input: BatchUpdateRecommendationResourceExclusionRequest, ): Effect.Effect< BatchUpdateRecommendationResourceExclusionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getOrganizationRecommendation( input: GetOrganizationRecommendationRequest, ): Effect.Effect< GetOrganizationRecommendationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRecommendation( input: GetRecommendationRequest, ): Effect.Effect< GetRecommendationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listChecks( input: ListChecksRequest, ): Effect.Effect< ListChecksResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listOrganizationRecommendationAccounts( input: ListOrganizationRecommendationAccountsRequest, ): Effect.Effect< ListOrganizationRecommendationAccountsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listOrganizationRecommendationResources( input: ListOrganizationRecommendationResourcesRequest, ): Effect.Effect< ListOrganizationRecommendationResourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listOrganizationRecommendations( input: ListOrganizationRecommendationsRequest, ): Effect.Effect< ListOrganizationRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRecommendationResources( input: ListRecommendationResourcesRequest, ): Effect.Effect< ListRecommendationResourcesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listRecommendations( input: ListRecommendationsRequest, ): Effect.Effect< ListRecommendationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateOrganizationRecommendationLifecycle( input: UpdateOrganizationRecommendationLifecycleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRecommendationLifecycle( input: UpdateRecommendationLifecycleRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -181,8 +95,7 @@ export interface AccountRecommendationLifecycleSummary { updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode; lastUpdatedAt?: Date | string; } -export type AccountRecommendationLifecycleSummaryList = - Array; +export type AccountRecommendationLifecycleSummaryList = Array; export interface BatchUpdateRecommendationResourceExclusionRequest { recommendationResourceExclusions: Array; } @@ -345,8 +258,7 @@ export interface OrganizationRecommendationResourceSummary { accountId?: string; recommendationArn: string; } -export type OrganizationRecommendationResourceSummaryList = - Array; +export type OrganizationRecommendationResourceSummaryList = Array; export interface OrganizationRecommendationSummary { id: string; type: RecommendationType; @@ -363,8 +275,7 @@ export interface OrganizationRecommendationSummary { lastUpdatedAt?: Date | string; arn: string; } -export type OrganizationRecommendationSummaryList = - Array; +export type OrganizationRecommendationSummaryList = Array; export interface Recommendation { id: string; type: RecommendationType; @@ -395,30 +306,9 @@ export interface RecommendationCostOptimizingAggregates { estimatedMonthlySavings: number; estimatedPercentMonthlySavings: number; } -export type RecommendationLanguage = - | "en" - | "ja" - | "zh" - | "fr" - | "de" - | "ko" - | "zh_TW" - | "it" - | "es" - | "pt_BR" - | "id"; -export type RecommendationLifecycleStage = - | "in_progress" - | "pending_response" - | "dismissed" - | "resolved"; -export type RecommendationPillar = - | "cost_optimizing" - | "performance" - | "security" - | "service_limits" - | "fault_tolerance" - | "operational_excellence"; +export type RecommendationLanguage = "en" | "ja" | "zh" | "fr" | "de" | "ko" | "zh_TW" | "it" | "es" | "pt_BR" | "id"; +export type RecommendationLifecycleStage = "in_progress" | "pending_response" | "dismissed" | "resolved"; +export type RecommendationPillar = "cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence"; export type RecommendationPillarList = Array; export interface RecommendationPillarSpecificAggregates { costOptimizing?: RecommendationCostOptimizingAggregates; @@ -431,8 +321,7 @@ export interface RecommendationResourceExclusion { arn: string; isExcluded: boolean; } -export type RecommendationResourceExclusionList = - Array; +export type RecommendationResourceExclusionList = Array; export interface RecommendationResourcesAggregates { okCount: number; warningCount: number; @@ -449,22 +338,8 @@ export interface RecommendationResourceSummary { exclusionStatus?: ExclusionStatus; recommendationArn: string; } -export type RecommendationResourceSummaryList = - Array; -export type RecommendationSource = - | "aws_config" - | "compute_optimizer" - | "cost_explorer" - | "lse" - | "manual" - | "pse" - | "rds" - | "resilience" - | "resilience_hub" - | "security_hub" - | "stir" - | "ta_check" - | "well_architected"; +export type RecommendationResourceSummaryList = Array; +export type RecommendationSource = "aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected"; export type RecommendationStatus = "ok" | "warning" | "error"; export interface RecommendationSummary { id: string; @@ -510,26 +385,14 @@ export interface UpdateRecommendationLifecycleRequest { updateReasonCode?: UpdateRecommendationLifecycleStageReasonCode; recommendationIdentifier: string; } -export type UpdateRecommendationLifecycleStage = - | "pending_response" - | "in_progress" - | "dismissed" - | "resolved"; -export type UpdateRecommendationLifecycleStageReasonCode = - | "non_critical_account" - | "temporary_account" - | "valid_business_case" - | "other_methods_available" - | "low_priority" - | "not_applicable" - | "other"; +export type UpdateRecommendationLifecycleStage = "pending_response" | "in_progress" | "dismissed" | "resolved"; +export type UpdateRecommendationLifecycleStageReasonCode = "non_critical_account" | "temporary_account" | "valid_business_case" | "other_methods_available" | "low_priority" | "not_applicable" | "other"; export interface UpdateRecommendationResourceExclusionError { arn?: string; errorCode?: string; errorMessage?: string; } -export type UpdateRecommendationResourceExclusionErrorList = - Array; +export type UpdateRecommendationResourceExclusionErrorList = Array; export declare class ValidationException extends EffectData.TaggedError( "ValidationException", )<{ @@ -666,11 +529,5 @@ export declare namespace UpdateRecommendationLifecycle { | CommonAwsError; } -export type TrustedAdvisorErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type TrustedAdvisorErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/verifiedpermissions/index.ts b/src/services/verifiedpermissions/index.ts index 80fcd019..87d28522 100644 --- a/src/services/verifiedpermissions/index.ts +++ b/src/services/verifiedpermissions/index.ts @@ -5,23 +5,7 @@ import type { VerifiedPermissions as _VerifiedPermissionsClient } from "./types. export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/verifiedpermissions/types.ts b/src/services/verifiedpermissions/types.ts index 925b0fa9..4a918ae6 100644 --- a/src/services/verifiedpermissions/types.ts +++ b/src/services/verifiedpermissions/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class VerifiedPermissions extends AWSServiceClient { @@ -40,36 +8,26 @@ export declare class VerifiedPermissions extends AWSServiceClient { input: ListTagsForResourceInput, ): Effect.Effect< ListTagsForResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; tagResource( input: TagResourceInput, ): Effect.Effect< TagResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | TooManyTagsException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceInput, ): Effect.Effect< UntagResourceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | CommonAwsError >; batchGetPolicy( input: BatchGetPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + BatchGetPolicyOutput, + CommonAwsError + >; batchIsAuthorized( input: BatchIsAuthorizedInput, ): Effect.Effect< @@ -86,19 +44,13 @@ export declare class VerifiedPermissions extends AWSServiceClient { input: CreateIdentitySourceInput, ): Effect.Effect< CreateIdentitySourceOutput, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; createPolicy( input: CreatePolicyInput, ): Effect.Effect< CreatePolicyOutput, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; createPolicyStore( input: CreatePolicyStoreInput, @@ -110,10 +62,7 @@ export declare class VerifiedPermissions extends AWSServiceClient { input: CreatePolicyTemplateInput, ): Effect.Effect< CreatePolicyTemplateOutput, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; deleteIdentitySource( input: DeleteIdentitySourceInput, @@ -147,7 +96,10 @@ export declare class VerifiedPermissions extends AWSServiceClient { >; getPolicy( input: GetPolicyInput, - ): Effect.Effect; + ): Effect.Effect< + GetPolicyOutput, + ResourceNotFoundException | CommonAwsError + >; getPolicyStore( input: GetPolicyStoreInput, ): Effect.Effect< @@ -162,7 +114,10 @@ export declare class VerifiedPermissions extends AWSServiceClient { >; getSchema( input: GetSchemaInput, - ): Effect.Effect; + ): Effect.Effect< + GetSchemaOutput, + ResourceNotFoundException | CommonAwsError + >; isAuthorized( input: IsAuthorizedInput, ): Effect.Effect< @@ -189,7 +144,10 @@ export declare class VerifiedPermissions extends AWSServiceClient { >; listPolicyStores( input: ListPolicyStoresInput, - ): Effect.Effect; + ): Effect.Effect< + ListPolicyStoresOutput, + CommonAwsError + >; listPolicyTemplates( input: ListPolicyTemplatesInput, ): Effect.Effect< @@ -200,10 +158,7 @@ export declare class VerifiedPermissions extends AWSServiceClient { input: PutSchemaInput, ): Effect.Effect< PutSchemaOutput, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; updateIdentitySource( input: UpdateIdentitySourceInput, @@ -215,10 +170,7 @@ export declare class VerifiedPermissions extends AWSServiceClient { input: UpdatePolicyInput, ): Effect.Effect< UpdatePolicyOutput, - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | CommonAwsError + ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | CommonAwsError >; updatePolicyStore( input: UpdatePolicyStoreInput, @@ -265,23 +217,11 @@ interface _AttributeValue { duration?: string; } -export type AttributeValue = - | (_AttributeValue & { boolean: boolean }) - | (_AttributeValue & { entityIdentifier: EntityIdentifier }) - | (_AttributeValue & { long: number }) - | (_AttributeValue & { string: string }) - | (_AttributeValue & { set: Array }) - | (_AttributeValue & { record: Record }) - | (_AttributeValue & { ipaddr: string }) - | (_AttributeValue & { decimal: string }) - | (_AttributeValue & { datetime: string }) - | (_AttributeValue & { duration: string }); +export type AttributeValue = (_AttributeValue & { boolean: boolean }) | (_AttributeValue & { entityIdentifier: EntityIdentifier }) | (_AttributeValue & { long: number }) | (_AttributeValue & { string: string }) | (_AttributeValue & { set: Array }) | (_AttributeValue & { record: Record }) | (_AttributeValue & { ipaddr: string }) | (_AttributeValue & { decimal: string }) | (_AttributeValue & { datetime: string }) | (_AttributeValue & { duration: string }); export type Audience = string; export type Audiences = Array; -export type BatchGetPolicyErrorCode = - | "POLICY_STORE_NOT_FOUND" - | "POLICY_NOT_FOUND"; +export type BatchGetPolicyErrorCode = "POLICY_STORE_NOT_FOUND" | "POLICY_NOT_FOUND"; export interface BatchGetPolicyErrorItem { code: BatchGetPolicyErrorCode; policyStoreId: string; @@ -344,8 +284,7 @@ export interface BatchIsAuthorizedWithTokenInputItem { resource?: EntityIdentifier; context?: ContextDefinition; } -export type BatchIsAuthorizedWithTokenInputList = - Array; +export type BatchIsAuthorizedWithTokenInputList = Array; export interface BatchIsAuthorizedWithTokenOutput { principal?: EntityIdentifier; results: Array; @@ -356,8 +295,7 @@ export interface BatchIsAuthorizedWithTokenOutputItem { determiningPolicies: Array; errors: Array; } -export type BatchIsAuthorizedWithTokenOutputList = - Array; +export type BatchIsAuthorizedWithTokenOutputList = Array; export type BooleanAttribute = boolean; export type CedarJson = string; @@ -399,37 +337,19 @@ interface _Configuration { openIdConnectConfiguration?: OpenIdConnectConfiguration; } -export type Configuration = - | (_Configuration & { - cognitoUserPoolConfiguration: CognitoUserPoolConfiguration; - }) - | (_Configuration & { - openIdConnectConfiguration: OpenIdConnectConfiguration; - }); +export type Configuration = (_Configuration & { cognitoUserPoolConfiguration: CognitoUserPoolConfiguration }) | (_Configuration & { openIdConnectConfiguration: OpenIdConnectConfiguration }); interface _ConfigurationDetail { cognitoUserPoolConfiguration?: CognitoUserPoolConfigurationDetail; openIdConnectConfiguration?: OpenIdConnectConfigurationDetail; } -export type ConfigurationDetail = - | (_ConfigurationDetail & { - cognitoUserPoolConfiguration: CognitoUserPoolConfigurationDetail; - }) - | (_ConfigurationDetail & { - openIdConnectConfiguration: OpenIdConnectConfigurationDetail; - }); +export type ConfigurationDetail = (_ConfigurationDetail & { cognitoUserPoolConfiguration: CognitoUserPoolConfigurationDetail }) | (_ConfigurationDetail & { openIdConnectConfiguration: OpenIdConnectConfigurationDetail }); interface _ConfigurationItem { cognitoUserPoolConfiguration?: CognitoUserPoolConfigurationItem; openIdConnectConfiguration?: OpenIdConnectConfigurationItem; } -export type ConfigurationItem = - | (_ConfigurationItem & { - cognitoUserPoolConfiguration: CognitoUserPoolConfigurationItem; - }) - | (_ConfigurationItem & { - openIdConnectConfiguration: OpenIdConnectConfigurationItem; - }); +export type ConfigurationItem = (_ConfigurationItem & { cognitoUserPoolConfiguration: CognitoUserPoolConfigurationItem }) | (_ConfigurationItem & { openIdConnectConfiguration: OpenIdConnectConfigurationItem }); export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -441,9 +361,7 @@ interface _ContextDefinition { cedarJson?: string; } -export type ContextDefinition = - | (_ContextDefinition & { contextMap: Record }) - | (_ContextDefinition & { cedarJson: string }); +export type ContextDefinition = (_ContextDefinition & { contextMap: Record }) | (_ContextDefinition & { cedarJson: string }); export type ContextMap = Record; export interface CreateIdentitySourceInput { clientToken?: string; @@ -507,21 +425,25 @@ export interface DeleteIdentitySourceInput { policyStoreId: string; identitySourceId: string; } -export interface DeleteIdentitySourceOutput {} +export interface DeleteIdentitySourceOutput { +} export interface DeletePolicyInput { policyStoreId: string; policyId: string; } -export interface DeletePolicyOutput {} +export interface DeletePolicyOutput { +} export interface DeletePolicyStoreInput { policyStoreId: string; } -export interface DeletePolicyStoreOutput {} +export interface DeletePolicyStoreOutput { +} export interface DeletePolicyTemplateInput { policyStoreId: string; policyTemplateId: string; } -export interface DeletePolicyTemplateOutput {} +export interface DeletePolicyTemplateOutput { +} export type DeletionProtection = "ENABLED" | "DISABLED"; export interface DeterminingPolicyItem { policyId: string; @@ -536,9 +458,7 @@ interface _EntitiesDefinition { cedarJson?: string; } -export type EntitiesDefinition = - | (_EntitiesDefinition & { entityList: Array }) - | (_EntitiesDefinition & { cedarJson: string }); +export type EntitiesDefinition = (_EntitiesDefinition & { entityList: Array }) | (_EntitiesDefinition & { cedarJson: string }); export type EntityAttributes = Record; export type EntityId = string; @@ -559,9 +479,7 @@ interface _EntityReference { identifier?: EntityIdentifier; } -export type EntityReference = - | (_EntityReference & { unspecified: boolean }) - | (_EntityReference & { identifier: EntityIdentifier }); +export type EntityReference = (_EntityReference & { unspecified: boolean }) | (_EntityReference & { identifier: EntityIdentifier }); export type EntityType = string; export interface EvaluationErrorItem { @@ -821,37 +739,19 @@ interface _OpenIdConnectTokenSelection { identityTokenOnly?: OpenIdConnectIdentityTokenConfiguration; } -export type OpenIdConnectTokenSelection = - | (_OpenIdConnectTokenSelection & { - accessTokenOnly: OpenIdConnectAccessTokenConfiguration; - }) - | (_OpenIdConnectTokenSelection & { - identityTokenOnly: OpenIdConnectIdentityTokenConfiguration; - }); +export type OpenIdConnectTokenSelection = (_OpenIdConnectTokenSelection & { accessTokenOnly: OpenIdConnectAccessTokenConfiguration }) | (_OpenIdConnectTokenSelection & { identityTokenOnly: OpenIdConnectIdentityTokenConfiguration }); interface _OpenIdConnectTokenSelectionDetail { accessTokenOnly?: OpenIdConnectAccessTokenConfigurationDetail; identityTokenOnly?: OpenIdConnectIdentityTokenConfigurationDetail; } -export type OpenIdConnectTokenSelectionDetail = - | (_OpenIdConnectTokenSelectionDetail & { - accessTokenOnly: OpenIdConnectAccessTokenConfigurationDetail; - }) - | (_OpenIdConnectTokenSelectionDetail & { - identityTokenOnly: OpenIdConnectIdentityTokenConfigurationDetail; - }); +export type OpenIdConnectTokenSelectionDetail = (_OpenIdConnectTokenSelectionDetail & { accessTokenOnly: OpenIdConnectAccessTokenConfigurationDetail }) | (_OpenIdConnectTokenSelectionDetail & { identityTokenOnly: OpenIdConnectIdentityTokenConfigurationDetail }); interface _OpenIdConnectTokenSelectionItem { accessTokenOnly?: OpenIdConnectAccessTokenConfigurationItem; identityTokenOnly?: OpenIdConnectIdentityTokenConfigurationItem; } -export type OpenIdConnectTokenSelectionItem = - | (_OpenIdConnectTokenSelectionItem & { - accessTokenOnly: OpenIdConnectAccessTokenConfigurationItem; - }) - | (_OpenIdConnectTokenSelectionItem & { - identityTokenOnly: OpenIdConnectIdentityTokenConfigurationItem; - }); +export type OpenIdConnectTokenSelectionItem = (_OpenIdConnectTokenSelectionItem & { accessTokenOnly: OpenIdConnectAccessTokenConfigurationItem }) | (_OpenIdConnectTokenSelectionItem & { identityTokenOnly: OpenIdConnectIdentityTokenConfigurationItem }); export type OpenIdIssuer = "COGNITO"; export type ParentList = Array; interface _PolicyDefinition { @@ -859,29 +759,19 @@ interface _PolicyDefinition { templateLinked?: TemplateLinkedPolicyDefinition; } -export type PolicyDefinition = - | (_PolicyDefinition & { static: StaticPolicyDefinition }) - | (_PolicyDefinition & { templateLinked: TemplateLinkedPolicyDefinition }); +export type PolicyDefinition = (_PolicyDefinition & { static: StaticPolicyDefinition }) | (_PolicyDefinition & { templateLinked: TemplateLinkedPolicyDefinition }); interface _PolicyDefinitionDetail { static?: StaticPolicyDefinitionDetail; templateLinked?: TemplateLinkedPolicyDefinitionDetail; } -export type PolicyDefinitionDetail = - | (_PolicyDefinitionDetail & { static: StaticPolicyDefinitionDetail }) - | (_PolicyDefinitionDetail & { - templateLinked: TemplateLinkedPolicyDefinitionDetail; - }); +export type PolicyDefinitionDetail = (_PolicyDefinitionDetail & { static: StaticPolicyDefinitionDetail }) | (_PolicyDefinitionDetail & { templateLinked: TemplateLinkedPolicyDefinitionDetail }); interface _PolicyDefinitionItem { static?: StaticPolicyDefinitionItem; templateLinked?: TemplateLinkedPolicyDefinitionItem; } -export type PolicyDefinitionItem = - | (_PolicyDefinitionItem & { static: StaticPolicyDefinitionItem }) - | (_PolicyDefinitionItem & { - templateLinked: TemplateLinkedPolicyDefinitionItem; - }); +export type PolicyDefinitionItem = (_PolicyDefinitionItem & { static: StaticPolicyDefinitionItem }) | (_PolicyDefinitionItem & { templateLinked: TemplateLinkedPolicyDefinitionItem }); export type PolicyEffect = "Permit" | "Forbid"; export interface PolicyFilter { principal?: EntityReference; @@ -958,17 +848,12 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( readonly resourceId: string; readonly resourceType: ResourceType; }> {} -export type ResourceType = - | "IDENTITY_SOURCE" - | "POLICY_STORE" - | "POLICY" - | "POLICY_TEMPLATE" - | "SCHEMA"; +export type ResourceType = "IDENTITY_SOURCE" | "POLICY_STORE" | "POLICY" | "POLICY_TEMPLATE" | "SCHEMA"; interface _SchemaDefinition { cedarJson?: string; } -export type SchemaDefinition = _SchemaDefinition & { cedarJson: string }; +export type SchemaDefinition = (_SchemaDefinition & { cedarJson: string }); export type SchemaJson = string; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( @@ -1004,7 +889,8 @@ export interface TagResourceInput { resourceArn: string; tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export interface TemplateLinkedPolicyDefinition { @@ -1043,7 +929,8 @@ export interface UntagResourceInput { resourceArn: string; tagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateCognitoGroupConfiguration { groupEntityType: string; } @@ -1057,13 +944,7 @@ interface _UpdateConfiguration { openIdConnectConfiguration?: UpdateOpenIdConnectConfiguration; } -export type UpdateConfiguration = - | (_UpdateConfiguration & { - cognitoUserPoolConfiguration: UpdateCognitoUserPoolConfiguration; - }) - | (_UpdateConfiguration & { - openIdConnectConfiguration: UpdateOpenIdConnectConfiguration; - }); +export type UpdateConfiguration = (_UpdateConfiguration & { cognitoUserPoolConfiguration: UpdateCognitoUserPoolConfiguration }) | (_UpdateConfiguration & { openIdConnectConfiguration: UpdateOpenIdConnectConfiguration }); export interface UpdateIdentitySourceInput { policyStoreId: string; identitySourceId: string; @@ -1099,20 +980,12 @@ interface _UpdateOpenIdConnectTokenSelection { identityTokenOnly?: UpdateOpenIdConnectIdentityTokenConfiguration; } -export type UpdateOpenIdConnectTokenSelection = - | (_UpdateOpenIdConnectTokenSelection & { - accessTokenOnly: UpdateOpenIdConnectAccessTokenConfiguration; - }) - | (_UpdateOpenIdConnectTokenSelection & { - identityTokenOnly: UpdateOpenIdConnectIdentityTokenConfiguration; - }); +export type UpdateOpenIdConnectTokenSelection = (_UpdateOpenIdConnectTokenSelection & { accessTokenOnly: UpdateOpenIdConnectAccessTokenConfiguration }) | (_UpdateOpenIdConnectTokenSelection & { identityTokenOnly: UpdateOpenIdConnectIdentityTokenConfiguration }); interface _UpdatePolicyDefinition { static?: UpdateStaticPolicyDefinition; } -export type UpdatePolicyDefinition = _UpdatePolicyDefinition & { - static: UpdateStaticPolicyDefinition; -}; +export type UpdatePolicyDefinition = (_UpdatePolicyDefinition & { static: UpdateStaticPolicyDefinition }); export interface UpdatePolicyInput { policyStoreId: string; policyId: string; @@ -1211,19 +1084,24 @@ export declare namespace UntagResource { export declare namespace BatchGetPolicy { export type Input = BatchGetPolicyInput; export type Output = BatchGetPolicyOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace BatchIsAuthorized { export type Input = BatchIsAuthorizedInput; export type Output = BatchIsAuthorizedOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace BatchIsAuthorizedWithToken { export type Input = BatchIsAuthorizedWithTokenInput; export type Output = BatchIsAuthorizedWithTokenOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace CreateIdentitySource { @@ -1286,7 +1164,9 @@ export declare namespace DeletePolicy { export declare namespace DeletePolicyStore { export type Input = DeletePolicyStoreInput; export type Output = DeletePolicyStoreOutput; - export type Error = InvalidStateException | CommonAwsError; + export type Error = + | InvalidStateException + | CommonAwsError; } export declare namespace DeletePolicyTemplate { @@ -1301,67 +1181,88 @@ export declare namespace DeletePolicyTemplate { export declare namespace GetIdentitySource { export type Input = GetIdentitySourceInput; export type Output = GetIdentitySourceOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetPolicy { export type Input = GetPolicyInput; export type Output = GetPolicyOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetPolicyStore { export type Input = GetPolicyStoreInput; export type Output = GetPolicyStoreOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetPolicyTemplate { export type Input = GetPolicyTemplateInput; export type Output = GetPolicyTemplateOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace GetSchema { export type Input = GetSchemaInput; export type Output = GetSchemaOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace IsAuthorized { export type Input = IsAuthorizedInput; export type Output = IsAuthorizedOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace IsAuthorizedWithToken { export type Input = IsAuthorizedWithTokenInput; export type Output = IsAuthorizedWithTokenOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListIdentitySources { export type Input = ListIdentitySourcesInput; export type Output = ListIdentitySourcesOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListPolicies { export type Input = ListPoliciesInput; export type Output = ListPoliciesOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListPolicyStores { export type Input = ListPolicyStoresInput; export type Output = ListPolicyStoresOutput; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace ListPolicyTemplates { export type Input = ListPolicyTemplatesInput; export type Output = ListPolicyTemplatesOutput; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace PutSchema { @@ -1411,14 +1312,5 @@ export declare namespace UpdatePolicyTemplate { | CommonAwsError; } -export type VerifiedPermissionsErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | InvalidStateException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type VerifiedPermissionsErrors = AccessDeniedException | ConflictException | InternalServerException | InvalidStateException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/voice-id/index.ts b/src/services/voice-id/index.ts index eb8679f5..b427dbd0 100644 --- a/src/services/voice-id/index.ts +++ b/src/services/voice-id/index.ts @@ -5,23 +5,7 @@ import type { VoiceID as _VoiceIDClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/voice-id/types.ts b/src/services/voice-id/types.ts index cbbe7c17..9324eb66 100644 --- a/src/services/voice-id/types.ts +++ b/src/services/voice-id/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class VoiceID extends AWSServiceClient { @@ -40,341 +8,175 @@ export declare class VoiceID extends AWSServiceClient { input: AssociateFraudsterRequest, ): Effect.Effect< AssociateFraudsterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWatchlist( input: CreateWatchlistRequest, ): Effect.Effect< CreateWatchlistResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteFraudster( input: DeleteFraudsterRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteSpeaker( input: DeleteSpeakerRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWatchlist( input: DeleteWatchlistRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeFraudster( input: DescribeFraudsterRequest, ): Effect.Effect< DescribeFraudsterResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeFraudsterRegistrationJob( input: DescribeFraudsterRegistrationJobRequest, ): Effect.Effect< DescribeFraudsterRegistrationJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeSpeaker( input: DescribeSpeakerRequest, ): Effect.Effect< DescribeSpeakerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeSpeakerEnrollmentJob( input: DescribeSpeakerEnrollmentJobRequest, ): Effect.Effect< DescribeSpeakerEnrollmentJobResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeWatchlist( input: DescribeWatchlistRequest, ): Effect.Effect< DescribeWatchlistResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateFraudster( input: DisassociateFraudsterRequest, ): Effect.Effect< DisassociateFraudsterResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; evaluateSession( input: EvaluateSessionRequest, ): Effect.Effect< EvaluateSessionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFraudsterRegistrationJobs( input: ListFraudsterRegistrationJobsRequest, ): Effect.Effect< ListFraudsterRegistrationJobsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listFraudsters( input: ListFraudstersRequest, ): Effect.Effect< ListFraudstersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSpeakerEnrollmentJobs( input: ListSpeakerEnrollmentJobsRequest, ): Effect.Effect< ListSpeakerEnrollmentJobsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSpeakers( input: ListSpeakersRequest, ): Effect.Effect< ListSpeakersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWatchlists( input: ListWatchlistsRequest, ): Effect.Effect< ListWatchlistsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; optOutSpeaker( input: OptOutSpeakerRequest, ): Effect.Effect< OptOutSpeakerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startFraudsterRegistrationJob( input: StartFraudsterRegistrationJobRequest, ): Effect.Effect< StartFraudsterRegistrationJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; startSpeakerEnrollmentJob( input: StartSpeakerEnrollmentJobRequest, ): Effect.Effect< StartSpeakerEnrollmentJobResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWatchlist( input: UpdateWatchlistRequest, ): Effect.Effect< UpdateWatchlistResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createDomain( input: CreateDomainRequest, ): Effect.Effect< CreateDomainResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDomain( input: DeleteDomainRequest, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; describeDomain( input: DescribeDomainRequest, ): Effect.Effect< DescribeDomainResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDomains( input: ListDomainsRequest, ): Effect.Effect< ListDomainsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateDomain( input: UpdateDomainRequest, ): Effect.Effect< UpdateDomainResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -620,8 +422,7 @@ export interface FraudsterRegistrationJob { } export type FraudsterRegistrationJobStatus = string; -export type FraudsterRegistrationJobSummaries = - Array; +export type FraudsterRegistrationJobSummaries = Array; export interface FraudsterRegistrationJobSummary { JobName?: string; JobId?: string; @@ -877,7 +678,8 @@ export interface TagResourceRequest { ResourceArn: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -893,7 +695,8 @@ export interface UntagResourceRequest { ResourceArn: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDomainRequest { DomainId: string; Name: string; @@ -1317,12 +1120,5 @@ export declare namespace UpdateDomain { | CommonAwsError; } -export type VoiceIDErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type VoiceIDErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/vpc-lattice/index.ts b/src/services/vpc-lattice/index.ts index 811b5568..06463903 100644 --- a/src/services/vpc-lattice/index.ts +++ b/src/services/vpc-lattice/index.ts @@ -5,23 +5,7 @@ import type { VPCLattice as _VPCLatticeClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,107 +14,79 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "vpc-lattice", operations: { - BatchUpdateRule: - "PATCH /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", - DeleteAuthPolicy: "DELETE /authpolicy/{resourceIdentifier}", - DeleteResourcePolicy: "DELETE /resourcepolicy/{resourceArn}", - GetAuthPolicy: "GET /authpolicy/{resourceIdentifier}", - GetResourcePolicy: "GET /resourcepolicy/{resourceArn}", - ListServiceNetworkVpcEndpointAssociations: - "GET /servicenetworkvpcendpointassociations", - ListTagsForResource: "GET /tags/{resourceArn}", - PutAuthPolicy: "PUT /authpolicy/{resourceIdentifier}", - PutResourcePolicy: "PUT /resourcepolicy/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateAccessLogSubscription: "POST /accesslogsubscriptions", - CreateListener: "POST /services/{serviceIdentifier}/listeners", - CreateResourceConfiguration: "POST /resourceconfigurations", - CreateResourceGateway: "POST /resourcegateways", - CreateRule: - "POST /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", - CreateService: "POST /services", - CreateServiceNetwork: "POST /servicenetworks", - CreateServiceNetworkResourceAssociation: - "POST /servicenetworkresourceassociations", - CreateServiceNetworkServiceAssociation: - "POST /servicenetworkserviceassociations", - CreateServiceNetworkVpcAssociation: "POST /servicenetworkvpcassociations", - CreateTargetGroup: "POST /targetgroups", - DeleteAccessLogSubscription: - "DELETE /accesslogsubscriptions/{accessLogSubscriptionIdentifier}", - DeleteListener: - "DELETE /services/{serviceIdentifier}/listeners/{listenerIdentifier}", - DeleteResourceConfiguration: - "DELETE /resourceconfigurations/{resourceConfigurationIdentifier}", - DeleteResourceEndpointAssociation: - "DELETE /resourceendpointassociations/{resourceEndpointAssociationIdentifier}", - DeleteResourceGateway: - "DELETE /resourcegateways/{resourceGatewayIdentifier}", - DeleteRule: - "DELETE /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", - DeleteService: "DELETE /services/{serviceIdentifier}", - DeleteServiceNetwork: "DELETE /servicenetworks/{serviceNetworkIdentifier}", - DeleteServiceNetworkResourceAssociation: - "DELETE /servicenetworkresourceassociations/{serviceNetworkResourceAssociationIdentifier}", - DeleteServiceNetworkServiceAssociation: - "DELETE /servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}", - DeleteServiceNetworkVpcAssociation: - "DELETE /servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", - DeleteTargetGroup: "DELETE /targetgroups/{targetGroupIdentifier}", - DeregisterTargets: - "POST /targetgroups/{targetGroupIdentifier}/deregistertargets", - GetAccessLogSubscription: - "GET /accesslogsubscriptions/{accessLogSubscriptionIdentifier}", - GetListener: - "GET /services/{serviceIdentifier}/listeners/{listenerIdentifier}", - GetResourceConfiguration: - "GET /resourceconfigurations/{resourceConfigurationIdentifier}", - GetResourceGateway: "GET /resourcegateways/{resourceGatewayIdentifier}", - GetRule: - "GET /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", - GetService: "GET /services/{serviceIdentifier}", - GetServiceNetwork: "GET /servicenetworks/{serviceNetworkIdentifier}", - GetServiceNetworkResourceAssociation: - "GET /servicenetworkresourceassociations/{serviceNetworkResourceAssociationIdentifier}", - GetServiceNetworkServiceAssociation: - "GET /servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}", - GetServiceNetworkVpcAssociation: - "GET /servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", - GetTargetGroup: "GET /targetgroups/{targetGroupIdentifier}", - ListAccessLogSubscriptions: "GET /accesslogsubscriptions", - ListListeners: "GET /services/{serviceIdentifier}/listeners", - ListResourceConfigurations: "GET /resourceconfigurations", - ListResourceEndpointAssociations: "GET /resourceendpointassociations", - ListResourceGateways: "GET /resourcegateways", - ListRules: - "GET /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", - ListServiceNetworkResourceAssociations: - "GET /servicenetworkresourceassociations", - ListServiceNetworkServiceAssociations: - "GET /servicenetworkserviceassociations", - ListServiceNetworkVpcAssociations: "GET /servicenetworkvpcassociations", - ListServiceNetworks: "GET /servicenetworks", - ListServices: "GET /services", - ListTargetGroups: "GET /targetgroups", - ListTargets: "POST /targetgroups/{targetGroupIdentifier}/listtargets", - RegisterTargets: - "POST /targetgroups/{targetGroupIdentifier}/registertargets", - UpdateAccessLogSubscription: - "PATCH /accesslogsubscriptions/{accessLogSubscriptionIdentifier}", - UpdateListener: - "PATCH /services/{serviceIdentifier}/listeners/{listenerIdentifier}", - UpdateResourceConfiguration: - "PATCH /resourceconfigurations/{resourceConfigurationIdentifier}", - UpdateResourceGateway: - "PATCH /resourcegateways/{resourceGatewayIdentifier}", - UpdateRule: - "PATCH /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", - UpdateService: "PATCH /services/{serviceIdentifier}", - UpdateServiceNetwork: "PATCH /servicenetworks/{serviceNetworkIdentifier}", - UpdateServiceNetworkVpcAssociation: - "PATCH /servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", - UpdateTargetGroup: "PATCH /targetgroups/{targetGroupIdentifier}", + "BatchUpdateRule": "PATCH /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", + "DeleteAuthPolicy": "DELETE /authpolicy/{resourceIdentifier}", + "DeleteResourcePolicy": "DELETE /resourcepolicy/{resourceArn}", + "GetAuthPolicy": "GET /authpolicy/{resourceIdentifier}", + "GetResourcePolicy": "GET /resourcepolicy/{resourceArn}", + "ListServiceNetworkVpcEndpointAssociations": "GET /servicenetworkvpcendpointassociations", + "ListTagsForResource": "GET /tags/{resourceArn}", + "PutAuthPolicy": "PUT /authpolicy/{resourceIdentifier}", + "PutResourcePolicy": "PUT /resourcepolicy/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateAccessLogSubscription": "POST /accesslogsubscriptions", + "CreateListener": "POST /services/{serviceIdentifier}/listeners", + "CreateResourceConfiguration": "POST /resourceconfigurations", + "CreateResourceGateway": "POST /resourcegateways", + "CreateRule": "POST /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", + "CreateService": "POST /services", + "CreateServiceNetwork": "POST /servicenetworks", + "CreateServiceNetworkResourceAssociation": "POST /servicenetworkresourceassociations", + "CreateServiceNetworkServiceAssociation": "POST /servicenetworkserviceassociations", + "CreateServiceNetworkVpcAssociation": "POST /servicenetworkvpcassociations", + "CreateTargetGroup": "POST /targetgroups", + "DeleteAccessLogSubscription": "DELETE /accesslogsubscriptions/{accessLogSubscriptionIdentifier}", + "DeleteListener": "DELETE /services/{serviceIdentifier}/listeners/{listenerIdentifier}", + "DeleteResourceConfiguration": "DELETE /resourceconfigurations/{resourceConfigurationIdentifier}", + "DeleteResourceEndpointAssociation": "DELETE /resourceendpointassociations/{resourceEndpointAssociationIdentifier}", + "DeleteResourceGateway": "DELETE /resourcegateways/{resourceGatewayIdentifier}", + "DeleteRule": "DELETE /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", + "DeleteService": "DELETE /services/{serviceIdentifier}", + "DeleteServiceNetwork": "DELETE /servicenetworks/{serviceNetworkIdentifier}", + "DeleteServiceNetworkResourceAssociation": "DELETE /servicenetworkresourceassociations/{serviceNetworkResourceAssociationIdentifier}", + "DeleteServiceNetworkServiceAssociation": "DELETE /servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}", + "DeleteServiceNetworkVpcAssociation": "DELETE /servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", + "DeleteTargetGroup": "DELETE /targetgroups/{targetGroupIdentifier}", + "DeregisterTargets": "POST /targetgroups/{targetGroupIdentifier}/deregistertargets", + "GetAccessLogSubscription": "GET /accesslogsubscriptions/{accessLogSubscriptionIdentifier}", + "GetListener": "GET /services/{serviceIdentifier}/listeners/{listenerIdentifier}", + "GetResourceConfiguration": "GET /resourceconfigurations/{resourceConfigurationIdentifier}", + "GetResourceGateway": "GET /resourcegateways/{resourceGatewayIdentifier}", + "GetRule": "GET /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", + "GetService": "GET /services/{serviceIdentifier}", + "GetServiceNetwork": "GET /servicenetworks/{serviceNetworkIdentifier}", + "GetServiceNetworkResourceAssociation": "GET /servicenetworkresourceassociations/{serviceNetworkResourceAssociationIdentifier}", + "GetServiceNetworkServiceAssociation": "GET /servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}", + "GetServiceNetworkVpcAssociation": "GET /servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", + "GetTargetGroup": "GET /targetgroups/{targetGroupIdentifier}", + "ListAccessLogSubscriptions": "GET /accesslogsubscriptions", + "ListListeners": "GET /services/{serviceIdentifier}/listeners", + "ListResourceConfigurations": "GET /resourceconfigurations", + "ListResourceEndpointAssociations": "GET /resourceendpointassociations", + "ListResourceGateways": "GET /resourcegateways", + "ListRules": "GET /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules", + "ListServiceNetworkResourceAssociations": "GET /servicenetworkresourceassociations", + "ListServiceNetworkServiceAssociations": "GET /servicenetworkserviceassociations", + "ListServiceNetworkVpcAssociations": "GET /servicenetworkvpcassociations", + "ListServiceNetworks": "GET /servicenetworks", + "ListServices": "GET /services", + "ListTargetGroups": "GET /targetgroups", + "ListTargets": "POST /targetgroups/{targetGroupIdentifier}/listtargets", + "RegisterTargets": "POST /targetgroups/{targetGroupIdentifier}/registertargets", + "UpdateAccessLogSubscription": "PATCH /accesslogsubscriptions/{accessLogSubscriptionIdentifier}", + "UpdateListener": "PATCH /services/{serviceIdentifier}/listeners/{listenerIdentifier}", + "UpdateResourceConfiguration": "PATCH /resourceconfigurations/{resourceConfigurationIdentifier}", + "UpdateResourceGateway": "PATCH /resourcegateways/{resourceGatewayIdentifier}", + "UpdateRule": "PATCH /services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}", + "UpdateService": "PATCH /services/{serviceIdentifier}", + "UpdateServiceNetwork": "PATCH /servicenetworks/{serviceNetworkIdentifier}", + "UpdateServiceNetworkVpcAssociation": "PATCH /servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", + "UpdateTargetGroup": "PATCH /targetgroups/{targetGroupIdentifier}", + }, + retryableErrors: { + "InternalServerException": {"retryAfterSeconds":"Retry-After"}, + "ThrottlingException": {"retryAfterSeconds":"Retry-After"}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/vpc-lattice/types.ts b/src/services/vpc-lattice/types.ts index caa634e9..644866fb 100644 --- a/src/services/vpc-lattice/types.ts +++ b/src/services/vpc-lattice/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class VPCLattice extends AWSServiceClient { @@ -40,794 +8,415 @@ export declare class VPCLattice extends AWSServiceClient { input: BatchUpdateRuleRequest, ): Effect.Effect< BatchUpdateRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteAuthPolicy( input: DeleteAuthPolicyRequest, ): Effect.Effect< DeleteAuthPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourcePolicy( input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAuthPolicy( input: GetAuthPolicyRequest, ): Effect.Effect< GetAuthPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourcePolicy( input: GetResourcePolicyRequest, ): Effect.Effect< GetResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceNetworkVpcEndpointAssociations( input: ListServiceNetworkVpcEndpointAssociationsRequest, ): Effect.Effect< ListServiceNetworkVpcEndpointAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; putAuthPolicy( input: PutAuthPolicyRequest, ): Effect.Effect< PutAuthPolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; putResourcePolicy( input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; createAccessLogSubscription( input: CreateAccessLogSubscriptionRequest, ): Effect.Effect< CreateAccessLogSubscriptionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createListener( input: CreateListenerRequest, ): Effect.Effect< CreateListenerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createResourceConfiguration( input: CreateResourceConfigurationRequest, ): Effect.Effect< CreateResourceConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createResourceGateway( input: CreateResourceGatewayRequest, ): Effect.Effect< CreateResourceGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createRule( input: CreateRuleRequest, ): Effect.Effect< CreateRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createService( input: CreateServiceRequest, ): Effect.Effect< CreateServiceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createServiceNetwork( input: CreateServiceNetworkRequest, ): Effect.Effect< CreateServiceNetworkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createServiceNetworkResourceAssociation( input: CreateServiceNetworkResourceAssociationRequest, ): Effect.Effect< CreateServiceNetworkResourceAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createServiceNetworkServiceAssociation( input: CreateServiceNetworkServiceAssociationRequest, ): Effect.Effect< CreateServiceNetworkServiceAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createServiceNetworkVpcAssociation( input: CreateServiceNetworkVpcAssociationRequest, ): Effect.Effect< CreateServiceNetworkVpcAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTargetGroup( input: CreateTargetGroupRequest, ): Effect.Effect< CreateTargetGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteAccessLogSubscription( input: DeleteAccessLogSubscriptionRequest, ): Effect.Effect< DeleteAccessLogSubscriptionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteListener( input: DeleteListenerRequest, ): Effect.Effect< DeleteListenerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourceConfiguration( input: DeleteResourceConfigurationRequest, ): Effect.Effect< DeleteResourceConfigurationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourceEndpointAssociation( input: DeleteResourceEndpointAssociationRequest, ): Effect.Effect< DeleteResourceEndpointAssociationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteResourceGateway( input: DeleteResourceGatewayRequest, ): Effect.Effect< DeleteResourceGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteRule( input: DeleteRuleRequest, ): Effect.Effect< DeleteRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteService( input: DeleteServiceRequest, ): Effect.Effect< DeleteServiceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteServiceNetwork( input: DeleteServiceNetworkRequest, ): Effect.Effect< DeleteServiceNetworkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteServiceNetworkResourceAssociation( input: DeleteServiceNetworkResourceAssociationRequest, ): Effect.Effect< DeleteServiceNetworkResourceAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteServiceNetworkServiceAssociation( input: DeleteServiceNetworkServiceAssociationRequest, ): Effect.Effect< DeleteServiceNetworkServiceAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteServiceNetworkVpcAssociation( input: DeleteServiceNetworkVpcAssociationRequest, ): Effect.Effect< DeleteServiceNetworkVpcAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTargetGroup( input: DeleteTargetGroupRequest, ): Effect.Effect< DeleteTargetGroupResponse, - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deregisterTargets( input: DeregisterTargetsRequest, ): Effect.Effect< DeregisterTargetsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAccessLogSubscription( input: GetAccessLogSubscriptionRequest, ): Effect.Effect< GetAccessLogSubscriptionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getListener( input: GetListenerRequest, ): Effect.Effect< GetListenerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourceConfiguration( input: GetResourceConfigurationRequest, ): Effect.Effect< GetResourceConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getResourceGateway( input: GetResourceGatewayRequest, ): Effect.Effect< GetResourceGatewayResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getRule( input: GetRuleRequest, ): Effect.Effect< GetRuleResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getService( input: GetServiceRequest, ): Effect.Effect< GetServiceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceNetwork( input: GetServiceNetworkRequest, ): Effect.Effect< GetServiceNetworkResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceNetworkResourceAssociation( input: GetServiceNetworkResourceAssociationRequest, ): Effect.Effect< GetServiceNetworkResourceAssociationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceNetworkServiceAssociation( input: GetServiceNetworkServiceAssociationRequest, ): Effect.Effect< GetServiceNetworkServiceAssociationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getServiceNetworkVpcAssociation( input: GetServiceNetworkVpcAssociationRequest, ): Effect.Effect< GetServiceNetworkVpcAssociationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTargetGroup( input: GetTargetGroupRequest, ): Effect.Effect< GetTargetGroupResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listAccessLogSubscriptions( input: ListAccessLogSubscriptionsRequest, ): Effect.Effect< ListAccessLogSubscriptionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listListeners( input: ListListenersRequest, ): Effect.Effect< ListListenersResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listResourceConfigurations( input: ListResourceConfigurationsRequest, ): Effect.Effect< ListResourceConfigurationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listResourceEndpointAssociations( input: ListResourceEndpointAssociationsRequest, ): Effect.Effect< ListResourceEndpointAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listResourceGateways( input: ListResourceGatewaysRequest, ): Effect.Effect< ListResourceGatewaysResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRules( input: ListRulesRequest, ): Effect.Effect< ListRulesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listServiceNetworkResourceAssociations( input: ListServiceNetworkResourceAssociationsRequest, ): Effect.Effect< ListServiceNetworkResourceAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listServiceNetworkServiceAssociations( input: ListServiceNetworkServiceAssociationsRequest, ): Effect.Effect< ListServiceNetworkServiceAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listServiceNetworkVpcAssociations( input: ListServiceNetworkVpcAssociationsRequest, ): Effect.Effect< ListServiceNetworkVpcAssociationsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listServiceNetworks( input: ListServiceNetworksRequest, ): Effect.Effect< ListServiceNetworksResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listServices( input: ListServicesRequest, ): Effect.Effect< ListServicesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTargetGroups( input: ListTargetGroupsRequest, ): Effect.Effect< ListTargetGroupsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTargets( input: ListTargetsRequest, ): Effect.Effect< ListTargetsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; registerTargets( input: RegisterTargetsRequest, ): Effect.Effect< RegisterTargetsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateAccessLogSubscription( input: UpdateAccessLogSubscriptionRequest, ): Effect.Effect< UpdateAccessLogSubscriptionResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateListener( input: UpdateListenerRequest, ): Effect.Effect< UpdateListenerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateResourceConfiguration( input: UpdateResourceConfigurationRequest, ): Effect.Effect< UpdateResourceConfigurationResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateResourceGateway( input: UpdateResourceGatewayRequest, ): Effect.Effect< UpdateResourceGatewayResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateRule( input: UpdateRuleRequest, ): Effect.Effect< UpdateRuleResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateService( input: UpdateServiceRequest, ): Effect.Effect< UpdateServiceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateServiceNetwork( input: UpdateServiceNetworkRequest, ): Effect.Effect< UpdateServiceNetworkResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateServiceNetworkVpcAssociation( input: UpdateServiceNetworkVpcAssociationRequest, ): Effect.Effect< UpdateServiceNetworkVpcAssociationResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTargetGroup( input: UpdateTargetGroupRequest, ): Effect.Effect< UpdateTargetGroupResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1082,20 +671,24 @@ export interface CreateTargetGroupResponse { export interface DeleteAccessLogSubscriptionRequest { accessLogSubscriptionIdentifier: string; } -export interface DeleteAccessLogSubscriptionResponse {} +export interface DeleteAccessLogSubscriptionResponse { +} export interface DeleteAuthPolicyRequest { resourceIdentifier: string; } -export interface DeleteAuthPolicyResponse {} +export interface DeleteAuthPolicyResponse { +} export interface DeleteListenerRequest { serviceIdentifier: string; listenerIdentifier: string; } -export interface DeleteListenerResponse {} +export interface DeleteListenerResponse { +} export interface DeleteResourceConfigurationRequest { resourceConfigurationIdentifier: string; } -export interface DeleteResourceConfigurationResponse {} +export interface DeleteResourceConfigurationResponse { +} export interface DeleteResourceEndpointAssociationRequest { resourceEndpointAssociationIdentifier: string; } @@ -1118,13 +711,15 @@ export interface DeleteResourceGatewayResponse { export interface DeleteResourcePolicyRequest { resourceArn: string; } -export interface DeleteResourcePolicyResponse {} +export interface DeleteResourcePolicyResponse { +} export interface DeleteRuleRequest { serviceIdentifier: string; listenerIdentifier: string; ruleIdentifier: string; } -export interface DeleteRuleResponse {} +export interface DeleteRuleResponse { +} export interface DeleteServiceNetworkRequest { serviceNetworkIdentifier: string; } @@ -1136,7 +731,8 @@ export interface DeleteServiceNetworkResourceAssociationResponse { arn?: string; status?: string; } -export interface DeleteServiceNetworkResponse {} +export interface DeleteServiceNetworkResponse { +} export interface DeleteServiceNetworkServiceAssociationRequest { serviceNetworkServiceAssociationIdentifier: string; } @@ -1422,10 +1018,7 @@ interface _HeaderMatchType { contains?: string; } -export type HeaderMatchType = - | (_HeaderMatchType & { exact: string }) - | (_HeaderMatchType & { prefix: string }) - | (_HeaderMatchType & { contains: string }); +export type HeaderMatchType = (_HeaderMatchType & { exact: string }) | (_HeaderMatchType & { prefix: string }) | (_HeaderMatchType & { contains: string }); export interface HealthCheckConfig { enabled?: boolean; protocol?: string; @@ -1642,7 +1235,7 @@ interface _Matcher { httpCode?: string; } -export type Matcher = _Matcher & { httpCode: string }; +export type Matcher = (_Matcher & { httpCode: string }); export type MaxResults = number; export type NextToken = string; @@ -1660,9 +1253,7 @@ interface _PathMatchType { prefix?: string; } -export type PathMatchType = - | (_PathMatchType & { exact: string }) - | (_PathMatchType & { prefix: string }); +export type PathMatchType = (_PathMatchType & { exact: string }) | (_PathMatchType & { prefix: string }); export type PolicyString = string; export type Port = number; @@ -1684,7 +1275,8 @@ export interface PutResourcePolicyRequest { resourceArn: string; policy: string; } -export interface PutResourcePolicyResponse {} +export interface PutResourcePolicyResponse { +} export interface RegisterTargetsRequest { targetGroupIdentifier: string; targets: Array; @@ -1703,10 +1295,7 @@ interface _ResourceConfigurationDefinition { arnResource?: ArnResource; } -export type ResourceConfigurationDefinition = - | (_ResourceConfigurationDefinition & { dnsResource: DnsResource }) - | (_ResourceConfigurationDefinition & { ipResource: IpResource }) - | (_ResourceConfigurationDefinition & { arnResource: ArnResource }); +export type ResourceConfigurationDefinition = (_ResourceConfigurationDefinition & { dnsResource: DnsResource }) | (_ResourceConfigurationDefinition & { ipResource: IpResource }) | (_ResourceConfigurationDefinition & { arnResource: ArnResource }); export type ResourceConfigurationId = string; export type ResourceConfigurationIdentifier = string; @@ -1729,8 +1318,7 @@ export interface ResourceConfigurationSummary { createdAt?: Date | string; lastUpdatedAt?: Date | string; } -export type ResourceConfigurationSummaryList = - Array; +export type ResourceConfigurationSummaryList = Array; export type ResourceConfigurationType = string; export type ResourceEndpointAssociationArn = string; @@ -1739,8 +1327,7 @@ export type ResourceEndpointAssociationId = string; export type ResourceEndpointAssociationIdentifier = string; -export type ResourceEndpointAssociationList = - Array; +export type ResourceEndpointAssociationList = Array; export interface ResourceEndpointAssociationSummary { id?: string; arn?: string; @@ -1794,9 +1381,7 @@ interface _RuleAction { fixedResponse?: FixedResponseAction; } -export type RuleAction = - | (_RuleAction & { forward: ForwardAction }) - | (_RuleAction & { fixedResponse: FixedResponseAction }); +export type RuleAction = (_RuleAction & { forward: ForwardAction }) | (_RuleAction & { fixedResponse: FixedResponseAction }); export type RuleArn = string; export type RuleId = string; @@ -1807,7 +1392,7 @@ interface _RuleMatch { httpMatch?: HttpMatch; } -export type RuleMatch = _RuleMatch & { httpMatch: HttpMatch }; +export type RuleMatch = (_RuleMatch & { httpMatch: HttpMatch }); export type RuleName = string; export type RulePriority = number; @@ -1894,8 +1479,7 @@ export type ServiceNetworkResourceAssociationId = string; export type ServiceNetworkResourceAssociationIdentifier = string; -export type ServiceNetworkResourceAssociationList = - Array; +export type ServiceNetworkResourceAssociationList = Array; export type ServiceNetworkResourceAssociationStatus = string; export interface ServiceNetworkResourceAssociationSummary { @@ -1919,8 +1503,7 @@ export type ServiceNetworkServiceAssociationArn = string; export type ServiceNetworkServiceAssociationIdentifier = string; -export type ServiceNetworkServiceAssociationList = - Array; +export type ServiceNetworkServiceAssociationList = Array; export type ServiceNetworkServiceAssociationStatus = string; export interface ServiceNetworkServiceAssociationSummary { @@ -1954,8 +1537,7 @@ export type ServiceNetworkVpcAssociationId = string; export type ServiceNetworkVpcAssociationIdentifier = string; -export type ServiceNetworkVpcAssociationList = - Array; +export type ServiceNetworkVpcAssociationList = Array; export type ServiceNetworkVpcAssociationStatus = string; export interface ServiceNetworkVpcAssociationSummary { @@ -1970,8 +1552,7 @@ export interface ServiceNetworkVpcAssociationSummary { vpcId?: string; lastUpdatedAt?: Date | string; } -export type ServiceNetworkVpcEndpointAssociationList = - Array; +export type ServiceNetworkVpcEndpointAssociationList = Array; export declare class ServiceQuotaExceededException extends EffectData.TaggedError( "ServiceQuotaExceededException", )<{ @@ -2007,7 +1588,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface Target { @@ -2090,7 +1672,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAccessLogSubscriptionRequest { accessLogSubscriptionIdentifier: string; destinationArn: string; @@ -3102,12 +2685,5 @@ export declare namespace UpdateTargetGroup { | CommonAwsError; } -export type VPCLatticeErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type VPCLatticeErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/waf-regional/index.ts b/src/services/waf-regional/index.ts index db7adfce..1476f9a1 100644 --- a/src/services/waf-regional/index.ts +++ b/src/services/waf-regional/index.ts @@ -5,26 +5,7 @@ import type { WAFRegional as _WAFRegionalClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/waf-regional/types.ts b/src/services/waf-regional/types.ts index 3164cc6b..3145a8fd 100644 --- a/src/services/waf-regional/types.ts +++ b/src/services/waf-regional/types.ts @@ -7,360 +7,181 @@ export declare class WAFRegional extends AWSServiceClient { input: AssociateWebACLRequest, ): Effect.Effect< AssociateWebACLResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFUnavailableEntityException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFNonexistentItemException | WAFUnavailableEntityException | CommonAwsError >; createByteMatchSet( input: CreateByteMatchSetRequest, ): Effect.Effect< CreateByteMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createGeoMatchSet( input: CreateGeoMatchSetRequest, ): Effect.Effect< CreateGeoMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createIPSet( input: CreateIPSetRequest, ): Effect.Effect< CreateIPSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createRateBasedRule( input: CreateRateBasedRuleRequest, ): Effect.Effect< CreateRateBasedRuleResponse, - | WAFBadRequestException - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createRegexMatchSet( input: CreateRegexMatchSetRequest, ): Effect.Effect< CreateRegexMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createRegexPatternSet( input: CreateRegexPatternSetRequest, ): Effect.Effect< CreateRegexPatternSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createRule( input: CreateRuleRequest, ): Effect.Effect< CreateRuleResponse, - | WAFBadRequestException - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createRuleGroup( input: CreateRuleGroupRequest, ): Effect.Effect< CreateRuleGroupResponse, - | WAFBadRequestException - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFLimitsExceededException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFDisallowedNameException | WAFInternalErrorException | WAFLimitsExceededException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createSizeConstraintSet( input: CreateSizeConstraintSetRequest, ): Effect.Effect< CreateSizeConstraintSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createSqlInjectionMatchSet( input: CreateSqlInjectionMatchSetRequest, ): Effect.Effect< CreateSqlInjectionMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createWebACL( input: CreateWebACLRequest, ): Effect.Effect< CreateWebACLResponse, - | WAFBadRequestException - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createWebACLMigrationStack( input: CreateWebACLMigrationStackRequest, ): Effect.Effect< CreateWebACLMigrationStackResponse, - | WAFEntityMigrationException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFEntityMigrationException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; createXssMatchSet( input: CreateXssMatchSetRequest, ): Effect.Effect< CreateXssMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; deleteByteMatchSet( input: DeleteByteMatchSetRequest, ): Effect.Effect< DeleteByteMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteGeoMatchSet( input: DeleteGeoMatchSetRequest, ): Effect.Effect< DeleteGeoMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteIPSet( input: DeleteIPSetRequest, ): Effect.Effect< DeleteIPSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteLoggingConfiguration( input: DeleteLoggingConfigurationRequest, ): Effect.Effect< DeleteLoggingConfigurationResponse, - | WAFInternalErrorException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; deletePermissionPolicy( input: DeletePermissionPolicyRequest, ): Effect.Effect< DeletePermissionPolicyResponse, - | WAFInternalErrorException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; deleteRateBasedRule( input: DeleteRateBasedRuleRequest, ): Effect.Effect< DeleteRateBasedRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteRegexMatchSet( input: DeleteRegexMatchSetRequest, ): Effect.Effect< DeleteRegexMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteRegexPatternSet( input: DeleteRegexPatternSetRequest, ): Effect.Effect< DeleteRegexPatternSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteRule( input: DeleteRuleRequest, ): Effect.Effect< DeleteRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteRuleGroup( input: DeleteRuleGroupRequest, ): Effect.Effect< DeleteRuleGroupResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteSizeConstraintSet( input: DeleteSizeConstraintSetRequest, ): Effect.Effect< DeleteSizeConstraintSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteSqlInjectionMatchSet( input: DeleteSqlInjectionMatchSetRequest, ): Effect.Effect< DeleteSqlInjectionMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteWebACL( input: DeleteWebACLRequest, ): Effect.Effect< DeleteWebACLResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteXssMatchSet( input: DeleteXssMatchSetRequest, ): Effect.Effect< DeleteXssMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; disassociateWebACL( input: DisassociateWebACLRequest, ): Effect.Effect< DisassociateWebACLResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getByteMatchSet( input: GetByteMatchSetRequest, ): Effect.Effect< GetByteMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getChangeToken( input: GetChangeTokenRequest, @@ -378,19 +199,13 @@ export declare class WAFRegional extends AWSServiceClient { input: GetGeoMatchSetRequest, ): Effect.Effect< GetGeoMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getIPSet( input: GetIPSetRequest, ): Effect.Effect< GetIPSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getLoggingConfiguration( input: GetLoggingConfigurationRequest, @@ -408,47 +223,31 @@ export declare class WAFRegional extends AWSServiceClient { input: GetRateBasedRuleRequest, ): Effect.Effect< GetRateBasedRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getRateBasedRuleManagedKeys( input: GetRateBasedRuleManagedKeysRequest, ): Effect.Effect< GetRateBasedRuleManagedKeysResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getRegexMatchSet( input: GetRegexMatchSetRequest, ): Effect.Effect< GetRegexMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getRegexPatternSet( input: GetRegexPatternSetRequest, ): Effect.Effect< GetRegexPatternSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getRule( input: GetRuleRequest, ): Effect.Effect< GetRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getRuleGroup( input: GetRuleGroupRequest, @@ -466,57 +265,37 @@ export declare class WAFRegional extends AWSServiceClient { input: GetSizeConstraintSetRequest, ): Effect.Effect< GetSizeConstraintSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getSqlInjectionMatchSet( input: GetSqlInjectionMatchSetRequest, ): Effect.Effect< GetSqlInjectionMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getWebACL( input: GetWebACLRequest, ): Effect.Effect< GetWebACLResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getWebACLForResource( input: GetWebACLForResourceRequest, ): Effect.Effect< GetWebACLForResourceResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFUnavailableEntityException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFNonexistentItemException | WAFUnavailableEntityException | CommonAwsError >; getXssMatchSet( input: GetXssMatchSetRequest, ): Effect.Effect< GetXssMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; listActivatedRulesInRuleGroup( input: ListActivatedRulesInRuleGroupRequest, ): Effect.Effect< ListActivatedRulesInRuleGroupResponse, - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; listByteMatchSets( input: ListByteMatchSetsRequest, @@ -540,10 +319,7 @@ export declare class WAFRegional extends AWSServiceClient { input: ListLoggingConfigurationsRequest, ): Effect.Effect< ListLoggingConfigurationsResponse, - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; listRateBasedRules( input: ListRateBasedRulesRequest, @@ -567,11 +343,7 @@ export declare class WAFRegional extends AWSServiceClient { input: ListResourcesForWebACLRequest, ): Effect.Effect< ListResourcesForWebACLResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; listRuleGroups( input: ListRuleGroupsRequest, @@ -607,13 +379,7 @@ export declare class WAFRegional extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | WAFBadRequestException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; listWebACLs( input: ListWebACLsRequest, @@ -631,220 +397,97 @@ export declare class WAFRegional extends AWSServiceClient { input: PutLoggingConfigurationRequest, ): Effect.Effect< PutLoggingConfigurationResponse, - | WAFInternalErrorException - | WAFNonexistentItemException - | WAFServiceLinkedRoleErrorException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFNonexistentItemException | WAFServiceLinkedRoleErrorException | WAFStaleDataException | CommonAwsError >; putPermissionPolicy( input: PutPermissionPolicyRequest, ): Effect.Effect< PutPermissionPolicyResponse, - | WAFInternalErrorException - | WAFInvalidPermissionPolicyException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidPermissionPolicyException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | WAFBadRequestException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFInternalErrorException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentItemException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | WAFBadRequestException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; updateByteMatchSet( input: UpdateByteMatchSetRequest, ): Effect.Effect< UpdateByteMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateGeoMatchSet( input: UpdateGeoMatchSetRequest, ): Effect.Effect< UpdateGeoMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateIPSet( input: UpdateIPSetRequest, ): Effect.Effect< UpdateIPSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateRateBasedRule( input: UpdateRateBasedRuleRequest, ): Effect.Effect< UpdateRateBasedRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateRegexMatchSet( input: UpdateRegexMatchSetRequest, ): Effect.Effect< UpdateRegexMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateRegexPatternSet( input: UpdateRegexPatternSetRequest, ): Effect.Effect< UpdateRegexPatternSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidRegexPatternException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidRegexPatternException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateRule( input: UpdateRuleRequest, ): Effect.Effect< UpdateRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateRuleGroup( input: UpdateRuleGroupRequest, ): Effect.Effect< UpdateRuleGroupResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateSizeConstraintSet( input: UpdateSizeConstraintSetRequest, ): Effect.Effect< UpdateSizeConstraintSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateSqlInjectionMatchSet( input: UpdateSqlInjectionMatchSetRequest, ): Effect.Effect< UpdateSqlInjectionMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateWebACL( input: UpdateWebACLRequest, ): Effect.Effect< UpdateWebACLResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFSubscriptionNotFoundException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFSubscriptionNotFoundException | CommonAwsError >; updateXssMatchSet( input: UpdateXssMatchSetRequest, ): Effect.Effect< UpdateXssMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; } @@ -865,7 +508,8 @@ export interface AssociateWebACLRequest { WebACLId: string; ResourceArn: string; } -export interface AssociateWebACLResponse {} +export interface AssociateWebACLResponse { +} export interface ByteMatchSet { ByteMatchSetId: string; Name?: string; @@ -1036,11 +680,13 @@ export interface DeleteIPSetResponse { export interface DeleteLoggingConfigurationRequest { ResourceArn: string; } -export interface DeleteLoggingConfigurationResponse {} +export interface DeleteLoggingConfigurationResponse { +} export interface DeletePermissionPolicyRequest { ResourceArn: string; } -export interface DeletePermissionPolicyResponse {} +export interface DeletePermissionPolicyResponse { +} export interface DeleteRateBasedRuleRequest { RuleId: string; ChangeToken: string; @@ -1107,7 +753,8 @@ export interface DeleteXssMatchSetResponse { export interface DisassociateWebACLRequest { ResourceArn: string; } -export interface DisassociateWebACLResponse {} +export interface DisassociateWebACLResponse { +} export type errorMessage = string; export type ErrorReason = string; @@ -1126,256 +773,7 @@ export interface GeoMatchConstraint { } export type GeoMatchConstraints = Array; export type GeoMatchConstraintType = "Country"; -export type GeoMatchConstraintValue = - | "AF" - | "AX" - | "AL" - | "DZ" - | "AS" - | "AD" - | "AO" - | "AI" - | "AQ" - | "AG" - | "AR" - | "AM" - | "AW" - | "AU" - | "AT" - | "AZ" - | "BS" - | "BH" - | "BD" - | "BB" - | "BY" - | "BE" - | "BZ" - | "BJ" - | "BM" - | "BT" - | "BO" - | "BQ" - | "BA" - | "BW" - | "BV" - | "BR" - | "IO" - | "BN" - | "BG" - | "BF" - | "BI" - | "KH" - | "CM" - | "CA" - | "CV" - | "KY" - | "CF" - | "TD" - | "CL" - | "CN" - | "CX" - | "CC" - | "CO" - | "KM" - | "CG" - | "CD" - | "CK" - | "CR" - | "CI" - | "HR" - | "CU" - | "CW" - | "CY" - | "CZ" - | "DK" - | "DJ" - | "DM" - | "DO" - | "EC" - | "EG" - | "SV" - | "GQ" - | "ER" - | "EE" - | "ET" - | "FK" - | "FO" - | "FJ" - | "FI" - | "FR" - | "GF" - | "PF" - | "TF" - | "GA" - | "GM" - | "GE" - | "DE" - | "GH" - | "GI" - | "GR" - | "GL" - | "GD" - | "GP" - | "GU" - | "GT" - | "GG" - | "GN" - | "GW" - | "GY" - | "HT" - | "HM" - | "VA" - | "HN" - | "HK" - | "HU" - | "IS" - | "IN" - | "ID" - | "IR" - | "IQ" - | "IE" - | "IM" - | "IL" - | "IT" - | "JM" - | "JP" - | "JE" - | "JO" - | "KZ" - | "KE" - | "KI" - | "KP" - | "KR" - | "KW" - | "KG" - | "LA" - | "LV" - | "LB" - | "LS" - | "LR" - | "LY" - | "LI" - | "LT" - | "LU" - | "MO" - | "MK" - | "MG" - | "MW" - | "MY" - | "MV" - | "ML" - | "MT" - | "MH" - | "MQ" - | "MR" - | "MU" - | "YT" - | "MX" - | "FM" - | "MD" - | "MC" - | "MN" - | "ME" - | "MS" - | "MA" - | "MZ" - | "MM" - | "NA" - | "NR" - | "NP" - | "NL" - | "NC" - | "NZ" - | "NI" - | "NE" - | "NG" - | "NU" - | "NF" - | "MP" - | "NO" - | "OM" - | "PK" - | "PW" - | "PS" - | "PA" - | "PG" - | "PY" - | "PE" - | "PH" - | "PN" - | "PL" - | "PT" - | "PR" - | "QA" - | "RE" - | "RO" - | "RU" - | "RW" - | "BL" - | "SH" - | "KN" - | "LC" - | "MF" - | "PM" - | "VC" - | "WS" - | "SM" - | "ST" - | "SA" - | "SN" - | "RS" - | "SC" - | "SL" - | "SG" - | "SX" - | "SK" - | "SI" - | "SB" - | "SO" - | "ZA" - | "GS" - | "SS" - | "ES" - | "LK" - | "SD" - | "SR" - | "SJ" - | "SZ" - | "SE" - | "CH" - | "SY" - | "TW" - | "TJ" - | "TZ" - | "TH" - | "TL" - | "TG" - | "TK" - | "TO" - | "TT" - | "TN" - | "TR" - | "TM" - | "TC" - | "TV" - | "UG" - | "UA" - | "AE" - | "GB" - | "US" - | "UM" - | "UY" - | "UZ" - | "VU" - | "VE" - | "VN" - | "VG" - | "VI" - | "WF" - | "EH" - | "YE" - | "ZM" - | "ZW"; +export type GeoMatchConstraintValue = "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"; export interface GeoMatchSet { GeoMatchSetId: string; Name?: string; @@ -1397,7 +795,8 @@ export interface GetByteMatchSetRequest { export interface GetByteMatchSetResponse { ByteMatchSet?: ByteMatchSet; } -export interface GetChangeTokenRequest {} +export interface GetChangeTokenRequest { +} export interface GetChangeTokenResponse { ChangeToken?: string; } @@ -1709,80 +1108,32 @@ export type ManagedKey = string; export type ManagedKeys = Array; export type MatchFieldData = string; -export type MatchFieldType = - | "URI" - | "QUERY_STRING" - | "HEADER" - | "METHOD" - | "BODY" - | "SINGLE_QUERY_ARG" - | "ALL_QUERY_ARGS"; +export type MatchFieldType = "URI" | "QUERY_STRING" | "HEADER" | "METHOD" | "BODY" | "SINGLE_QUERY_ARG" | "ALL_QUERY_ARGS"; export type MetricName = string; -export type MigrationErrorType = - | "ENTITY_NOT_SUPPORTED" - | "ENTITY_NOT_FOUND" - | "S3_BUCKET_NO_PERMISSION" - | "S3_BUCKET_NOT_ACCESSIBLE" - | "S3_BUCKET_NOT_FOUND" - | "S3_BUCKET_INVALID_REGION" - | "S3_INTERNAL_ERROR"; +export type MigrationErrorType = "ENTITY_NOT_SUPPORTED" | "ENTITY_NOT_FOUND" | "S3_BUCKET_NO_PERMISSION" | "S3_BUCKET_NOT_ACCESSIBLE" | "S3_BUCKET_NOT_FOUND" | "S3_BUCKET_INVALID_REGION" | "S3_INTERNAL_ERROR"; export type Negated = boolean; export type NextMarker = string; export type PaginationLimit = number; -export type ParameterExceptionField = - | "CHANGE_ACTION" - | "WAF_ACTION" - | "WAF_OVERRIDE_ACTION" - | "PREDICATE_TYPE" - | "IPSET_TYPE" - | "BYTE_MATCH_FIELD_TYPE" - | "SQL_INJECTION_MATCH_FIELD_TYPE" - | "BYTE_MATCH_TEXT_TRANSFORMATION" - | "BYTE_MATCH_POSITIONAL_CONSTRAINT" - | "SIZE_CONSTRAINT_COMPARISON_OPERATOR" - | "GEO_MATCH_LOCATION_TYPE" - | "GEO_MATCH_LOCATION_VALUE" - | "RATE_KEY" - | "RULE_TYPE" - | "NEXT_MARKER" - | "RESOURCE_ARN" - | "TAGS" - | "TAG_KEYS"; +export type ParameterExceptionField = "CHANGE_ACTION" | "WAF_ACTION" | "WAF_OVERRIDE_ACTION" | "PREDICATE_TYPE" | "IPSET_TYPE" | "BYTE_MATCH_FIELD_TYPE" | "SQL_INJECTION_MATCH_FIELD_TYPE" | "BYTE_MATCH_TEXT_TRANSFORMATION" | "BYTE_MATCH_POSITIONAL_CONSTRAINT" | "SIZE_CONSTRAINT_COMPARISON_OPERATOR" | "GEO_MATCH_LOCATION_TYPE" | "GEO_MATCH_LOCATION_VALUE" | "RATE_KEY" | "RULE_TYPE" | "NEXT_MARKER" | "RESOURCE_ARN" | "TAGS" | "TAG_KEYS"; export type ParameterExceptionParameter = string; -export type ParameterExceptionReason = - | "INVALID_OPTION" - | "ILLEGAL_COMBINATION" - | "ILLEGAL_ARGUMENT" - | "INVALID_TAG_KEY"; +export type ParameterExceptionReason = "INVALID_OPTION" | "ILLEGAL_COMBINATION" | "ILLEGAL_ARGUMENT" | "INVALID_TAG_KEY"; export type PolicyString = string; export type PopulationSize = number; -export type PositionalConstraint = - | "EXACTLY" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS" - | "CONTAINS_WORD"; +export type PositionalConstraint = "EXACTLY" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CONTAINS_WORD"; export interface Predicate { Negated: boolean; Type: PredicateType; DataId: string; } export type Predicates = Array; -export type PredicateType = - | "IPMatch" - | "ByteMatch" - | "SqlInjectionMatch" - | "GeoMatch" - | "SizeConstraint" - | "XssMatch" - | "RegexMatch"; +export type PredicateType = "IPMatch" | "ByteMatch" | "SqlInjectionMatch" | "GeoMatch" | "SizeConstraint" | "XssMatch" | "RegexMatch"; export interface PutLoggingConfigurationRequest { LoggingConfiguration: LoggingConfiguration; } @@ -1793,7 +1144,8 @@ export interface PutPermissionPolicyRequest { ResourceArn: string; Policy: string; } -export interface PutPermissionPolicyResponse {} +export interface PutPermissionPolicyResponse { +} export interface RateBasedRule { RuleId: string; Name?: string; @@ -1966,16 +1318,11 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; -export type TextTransformation = - | "NONE" - | "COMPRESS_WHITE_SPACE" - | "HTML_ENTITY_DECODE" - | "LOWERCASE" - | "CMD_LINE" - | "URL_DECODE"; +export type TextTransformation = "NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENTITY_DECODE" | "LOWERCASE" | "CMD_LINE" | "URL_DECODE"; export type Timestamp = Date | string; export interface TimeWindow { @@ -1986,7 +1333,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateByteMatchSetRequest { ByteMatchSetId: string; ChangeToken: string; @@ -2115,7 +1463,8 @@ export declare class WAFInternalErrorException extends EffectData.TaggedError( }> {} export declare class WAFInvalidAccountException extends EffectData.TaggedError( "WAFInvalidAccountException", -)<{}> {} +)<{ +}> {} export declare class WAFInvalidOperationException extends EffectData.TaggedError( "WAFInvalidOperationException", )<{ @@ -2628,7 +1977,9 @@ export declare namespace GetByteMatchSet { export declare namespace GetChangeToken { export type Input = GetChangeTokenRequest; export type Output = GetChangeTokenResponse; - export type Error = WAFInternalErrorException | CommonAwsError; + export type Error = + | WAFInternalErrorException + | CommonAwsError; } export declare namespace GetChangeTokenStatus { @@ -2887,7 +2238,9 @@ export declare namespace ListResourcesForWebACL { export declare namespace ListRuleGroups { export type Input = ListRuleGroupsRequest; export type Output = ListRuleGroupsResponse; - export type Error = WAFInternalErrorException | CommonAwsError; + export type Error = + | WAFInternalErrorException + | CommonAwsError; } export declare namespace ListRules { @@ -3192,25 +2545,5 @@ export declare namespace UpdateXssMatchSet { | CommonAwsError; } -export type WAFRegionalErrors = - | WAFBadRequestException - | WAFDisallowedNameException - | WAFEntityMigrationException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFInvalidPermissionPolicyException - | WAFInvalidRegexPatternException - | WAFLimitsExceededException - | WAFNonEmptyEntityException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFServiceLinkedRoleErrorException - | WAFStaleDataException - | WAFSubscriptionNotFoundException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | WAFUnavailableEntityException - | CommonAwsError; +export type WAFRegionalErrors = WAFBadRequestException | WAFDisallowedNameException | WAFEntityMigrationException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFInvalidPermissionPolicyException | WAFInvalidRegexPatternException | WAFLimitsExceededException | WAFNonEmptyEntityException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFServiceLinkedRoleErrorException | WAFStaleDataException | WAFSubscriptionNotFoundException | WAFTagOperationException | WAFTagOperationInternalErrorException | WAFUnavailableEntityException | CommonAwsError; + diff --git a/src/services/waf/index.ts b/src/services/waf/index.ts index 970d56c3..aab6b604 100644 --- a/src/services/waf/index.ts +++ b/src/services/waf/index.ts @@ -5,26 +5,7 @@ import type { WAF as _WAFClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/waf/types.ts b/src/services/waf/types.ts index 14bc39d8..87b4b313 100644 --- a/src/services/waf/types.ts +++ b/src/services/waf/types.ts @@ -7,339 +7,169 @@ export declare class WAF extends AWSServiceClient { input: CreateByteMatchSetRequest, ): Effect.Effect< CreateByteMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createGeoMatchSet( input: CreateGeoMatchSetRequest, ): Effect.Effect< CreateGeoMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createIPSet( input: CreateIPSetRequest, ): Effect.Effect< CreateIPSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createRateBasedRule( input: CreateRateBasedRuleRequest, ): Effect.Effect< CreateRateBasedRuleResponse, - | WAFBadRequestException - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createRegexMatchSet( input: CreateRegexMatchSetRequest, ): Effect.Effect< CreateRegexMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createRegexPatternSet( input: CreateRegexPatternSetRequest, ): Effect.Effect< CreateRegexPatternSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createRule( input: CreateRuleRequest, ): Effect.Effect< CreateRuleResponse, - | WAFBadRequestException - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createRuleGroup( input: CreateRuleGroupRequest, ): Effect.Effect< CreateRuleGroupResponse, - | WAFBadRequestException - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFLimitsExceededException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFDisallowedNameException | WAFInternalErrorException | WAFLimitsExceededException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createSizeConstraintSet( input: CreateSizeConstraintSetRequest, ): Effect.Effect< CreateSizeConstraintSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createSqlInjectionMatchSet( input: CreateSqlInjectionMatchSetRequest, ): Effect.Effect< CreateSqlInjectionMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; createWebACL( input: CreateWebACLRequest, ): Effect.Effect< CreateWebACLResponse, - | WAFBadRequestException - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createWebACLMigrationStack( input: CreateWebACLMigrationStackRequest, ): Effect.Effect< CreateWebACLMigrationStackResponse, - | WAFEntityMigrationException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFEntityMigrationException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; createXssMatchSet( input: CreateXssMatchSetRequest, ): Effect.Effect< CreateXssMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFLimitsExceededException | WAFStaleDataException | CommonAwsError >; deleteByteMatchSet( input: DeleteByteMatchSetRequest, ): Effect.Effect< DeleteByteMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteGeoMatchSet( input: DeleteGeoMatchSetRequest, ): Effect.Effect< DeleteGeoMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteIPSet( input: DeleteIPSetRequest, ): Effect.Effect< DeleteIPSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteLoggingConfiguration( input: DeleteLoggingConfigurationRequest, ): Effect.Effect< DeleteLoggingConfigurationResponse, - | WAFInternalErrorException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; deletePermissionPolicy( input: DeletePermissionPolicyRequest, ): Effect.Effect< DeletePermissionPolicyResponse, - | WAFInternalErrorException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; deleteRateBasedRule( input: DeleteRateBasedRuleRequest, ): Effect.Effect< DeleteRateBasedRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteRegexMatchSet( input: DeleteRegexMatchSetRequest, ): Effect.Effect< DeleteRegexMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteRegexPatternSet( input: DeleteRegexPatternSetRequest, ): Effect.Effect< DeleteRegexPatternSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteRule( input: DeleteRuleRequest, ): Effect.Effect< DeleteRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteRuleGroup( input: DeleteRuleGroupRequest, ): Effect.Effect< DeleteRuleGroupResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteSizeConstraintSet( input: DeleteSizeConstraintSetRequest, ): Effect.Effect< DeleteSizeConstraintSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteSqlInjectionMatchSet( input: DeleteSqlInjectionMatchSetRequest, ): Effect.Effect< DeleteSqlInjectionMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; deleteWebACL( input: DeleteWebACLRequest, ): Effect.Effect< DeleteWebACLResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteXssMatchSet( input: DeleteXssMatchSetRequest, ): Effect.Effect< DeleteXssMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonEmptyEntityException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonEmptyEntityException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; getByteMatchSet( input: GetByteMatchSetRequest, ): Effect.Effect< GetByteMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getChangeToken( input: GetChangeTokenRequest, @@ -357,19 +187,13 @@ export declare class WAF extends AWSServiceClient { input: GetGeoMatchSetRequest, ): Effect.Effect< GetGeoMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getIPSet( input: GetIPSetRequest, ): Effect.Effect< GetIPSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getLoggingConfiguration( input: GetLoggingConfigurationRequest, @@ -387,47 +211,31 @@ export declare class WAF extends AWSServiceClient { input: GetRateBasedRuleRequest, ): Effect.Effect< GetRateBasedRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getRateBasedRuleManagedKeys( input: GetRateBasedRuleManagedKeysRequest, ): Effect.Effect< GetRateBasedRuleManagedKeysResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getRegexMatchSet( input: GetRegexMatchSetRequest, ): Effect.Effect< GetRegexMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getRegexPatternSet( input: GetRegexPatternSetRequest, ): Effect.Effect< GetRegexPatternSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getRule( input: GetRuleRequest, ): Effect.Effect< GetRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getRuleGroup( input: GetRuleGroupRequest, @@ -445,46 +253,31 @@ export declare class WAF extends AWSServiceClient { input: GetSizeConstraintSetRequest, ): Effect.Effect< GetSizeConstraintSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getSqlInjectionMatchSet( input: GetSqlInjectionMatchSetRequest, ): Effect.Effect< GetSqlInjectionMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getWebACL( input: GetWebACLRequest, ): Effect.Effect< GetWebACLResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; getXssMatchSet( input: GetXssMatchSetRequest, ): Effect.Effect< GetXssMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFNonexistentItemException | CommonAwsError >; listActivatedRulesInRuleGroup( input: ListActivatedRulesInRuleGroupRequest, ): Effect.Effect< ListActivatedRulesInRuleGroupResponse, - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; listByteMatchSets( input: ListByteMatchSetsRequest, @@ -508,10 +301,7 @@ export declare class WAF extends AWSServiceClient { input: ListLoggingConfigurationsRequest, ): Effect.Effect< ListLoggingConfigurationsResponse, - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; listRateBasedRules( input: ListRateBasedRulesRequest, @@ -565,13 +355,7 @@ export declare class WAF extends AWSServiceClient { input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | WAFBadRequestException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; listWebACLs( input: ListWebACLsRequest, @@ -589,220 +373,97 @@ export declare class WAF extends AWSServiceClient { input: PutLoggingConfigurationRequest, ): Effect.Effect< PutLoggingConfigurationResponse, - | WAFInternalErrorException - | WAFNonexistentItemException - | WAFServiceLinkedRoleErrorException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFNonexistentItemException | WAFServiceLinkedRoleErrorException | WAFStaleDataException | CommonAwsError >; putPermissionPolicy( input: PutPermissionPolicyRequest, ): Effect.Effect< PutPermissionPolicyResponse, - | WAFInternalErrorException - | WAFInvalidPermissionPolicyException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidPermissionPolicyException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | WAFBadRequestException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFInternalErrorException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentItemException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | WAFBadRequestException - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFBadRequestException | WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; updateByteMatchSet( input: UpdateByteMatchSetRequest, ): Effect.Effect< UpdateByteMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateGeoMatchSet( input: UpdateGeoMatchSetRequest, ): Effect.Effect< UpdateGeoMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateIPSet( input: UpdateIPSetRequest, ): Effect.Effect< UpdateIPSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateRateBasedRule( input: UpdateRateBasedRuleRequest, ): Effect.Effect< UpdateRateBasedRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateRegexMatchSet( input: UpdateRegexMatchSetRequest, ): Effect.Effect< UpdateRegexMatchSetResponse, - | WAFDisallowedNameException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFDisallowedNameException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateRegexPatternSet( input: UpdateRegexPatternSetRequest, ): Effect.Effect< UpdateRegexPatternSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidRegexPatternException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidRegexPatternException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateRule( input: UpdateRuleRequest, ): Effect.Effect< UpdateRuleResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateRuleGroup( input: UpdateRuleGroupRequest, ): Effect.Effect< UpdateRuleGroupResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateSizeConstraintSet( input: UpdateSizeConstraintSetRequest, ): Effect.Effect< UpdateSizeConstraintSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | CommonAwsError >; updateSqlInjectionMatchSet( input: UpdateSqlInjectionMatchSetRequest, ): Effect.Effect< UpdateSqlInjectionMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; updateWebACL( input: UpdateWebACLRequest, ): Effect.Effect< UpdateWebACLResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFStaleDataException - | WAFSubscriptionNotFoundException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFStaleDataException | WAFSubscriptionNotFoundException | CommonAwsError >; updateXssMatchSet( input: UpdateXssMatchSetRequest, ): Effect.Effect< UpdateXssMatchSetResponse, - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFStaleDataException - | CommonAwsError + WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFStaleDataException | CommonAwsError >; } @@ -989,11 +650,13 @@ export interface DeleteIPSetResponse { export interface DeleteLoggingConfigurationRequest { ResourceArn: string; } -export interface DeleteLoggingConfigurationResponse {} +export interface DeleteLoggingConfigurationResponse { +} export interface DeletePermissionPolicyRequest { ResourceArn: string; } -export interface DeletePermissionPolicyResponse {} +export interface DeletePermissionPolicyResponse { +} export interface DeleteRateBasedRuleRequest { RuleId: string; ChangeToken: string; @@ -1075,256 +738,7 @@ export interface GeoMatchConstraint { } export type GeoMatchConstraints = Array; export type GeoMatchConstraintType = "Country"; -export type GeoMatchConstraintValue = - | "AF" - | "AX" - | "AL" - | "DZ" - | "AS" - | "AD" - | "AO" - | "AI" - | "AQ" - | "AG" - | "AR" - | "AM" - | "AW" - | "AU" - | "AT" - | "AZ" - | "BS" - | "BH" - | "BD" - | "BB" - | "BY" - | "BE" - | "BZ" - | "BJ" - | "BM" - | "BT" - | "BO" - | "BQ" - | "BA" - | "BW" - | "BV" - | "BR" - | "IO" - | "BN" - | "BG" - | "BF" - | "BI" - | "KH" - | "CM" - | "CA" - | "CV" - | "KY" - | "CF" - | "TD" - | "CL" - | "CN" - | "CX" - | "CC" - | "CO" - | "KM" - | "CG" - | "CD" - | "CK" - | "CR" - | "CI" - | "HR" - | "CU" - | "CW" - | "CY" - | "CZ" - | "DK" - | "DJ" - | "DM" - | "DO" - | "EC" - | "EG" - | "SV" - | "GQ" - | "ER" - | "EE" - | "ET" - | "FK" - | "FO" - | "FJ" - | "FI" - | "FR" - | "GF" - | "PF" - | "TF" - | "GA" - | "GM" - | "GE" - | "DE" - | "GH" - | "GI" - | "GR" - | "GL" - | "GD" - | "GP" - | "GU" - | "GT" - | "GG" - | "GN" - | "GW" - | "GY" - | "HT" - | "HM" - | "VA" - | "HN" - | "HK" - | "HU" - | "IS" - | "IN" - | "ID" - | "IR" - | "IQ" - | "IE" - | "IM" - | "IL" - | "IT" - | "JM" - | "JP" - | "JE" - | "JO" - | "KZ" - | "KE" - | "KI" - | "KP" - | "KR" - | "KW" - | "KG" - | "LA" - | "LV" - | "LB" - | "LS" - | "LR" - | "LY" - | "LI" - | "LT" - | "LU" - | "MO" - | "MK" - | "MG" - | "MW" - | "MY" - | "MV" - | "ML" - | "MT" - | "MH" - | "MQ" - | "MR" - | "MU" - | "YT" - | "MX" - | "FM" - | "MD" - | "MC" - | "MN" - | "ME" - | "MS" - | "MA" - | "MZ" - | "MM" - | "NA" - | "NR" - | "NP" - | "NL" - | "NC" - | "NZ" - | "NI" - | "NE" - | "NG" - | "NU" - | "NF" - | "MP" - | "NO" - | "OM" - | "PK" - | "PW" - | "PS" - | "PA" - | "PG" - | "PY" - | "PE" - | "PH" - | "PN" - | "PL" - | "PT" - | "PR" - | "QA" - | "RE" - | "RO" - | "RU" - | "RW" - | "BL" - | "SH" - | "KN" - | "LC" - | "MF" - | "PM" - | "VC" - | "WS" - | "SM" - | "ST" - | "SA" - | "SN" - | "RS" - | "SC" - | "SL" - | "SG" - | "SX" - | "SK" - | "SI" - | "SB" - | "SO" - | "ZA" - | "GS" - | "SS" - | "ES" - | "LK" - | "SD" - | "SR" - | "SJ" - | "SZ" - | "SE" - | "CH" - | "SY" - | "TW" - | "TJ" - | "TZ" - | "TH" - | "TL" - | "TG" - | "TK" - | "TO" - | "TT" - | "TN" - | "TR" - | "TM" - | "TC" - | "TV" - | "UG" - | "UA" - | "AE" - | "GB" - | "US" - | "UM" - | "UY" - | "UZ" - | "VU" - | "VE" - | "VN" - | "VG" - | "VI" - | "WF" - | "EH" - | "YE" - | "ZM" - | "ZW"; +export type GeoMatchConstraintValue = "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"; export interface GeoMatchSet { GeoMatchSetId: string; Name?: string; @@ -1346,7 +760,8 @@ export interface GetByteMatchSetRequest { export interface GetByteMatchSetResponse { ByteMatchSet?: ByteMatchSet; } -export interface GetChangeTokenRequest {} +export interface GetChangeTokenRequest { +} export interface GetChangeTokenResponse { ChangeToken?: string; } @@ -1645,80 +1060,32 @@ export type ManagedKey = string; export type ManagedKeys = Array; export type MatchFieldData = string; -export type MatchFieldType = - | "URI" - | "QUERY_STRING" - | "HEADER" - | "METHOD" - | "BODY" - | "SINGLE_QUERY_ARG" - | "ALL_QUERY_ARGS"; +export type MatchFieldType = "URI" | "QUERY_STRING" | "HEADER" | "METHOD" | "BODY" | "SINGLE_QUERY_ARG" | "ALL_QUERY_ARGS"; export type MetricName = string; -export type MigrationErrorType = - | "ENTITY_NOT_SUPPORTED" - | "ENTITY_NOT_FOUND" - | "S3_BUCKET_NO_PERMISSION" - | "S3_BUCKET_NOT_ACCESSIBLE" - | "S3_BUCKET_NOT_FOUND" - | "S3_BUCKET_INVALID_REGION" - | "S3_INTERNAL_ERROR"; +export type MigrationErrorType = "ENTITY_NOT_SUPPORTED" | "ENTITY_NOT_FOUND" | "S3_BUCKET_NO_PERMISSION" | "S3_BUCKET_NOT_ACCESSIBLE" | "S3_BUCKET_NOT_FOUND" | "S3_BUCKET_INVALID_REGION" | "S3_INTERNAL_ERROR"; export type Negated = boolean; export type NextMarker = string; export type PaginationLimit = number; -export type ParameterExceptionField = - | "CHANGE_ACTION" - | "WAF_ACTION" - | "WAF_OVERRIDE_ACTION" - | "PREDICATE_TYPE" - | "IPSET_TYPE" - | "BYTE_MATCH_FIELD_TYPE" - | "SQL_INJECTION_MATCH_FIELD_TYPE" - | "BYTE_MATCH_TEXT_TRANSFORMATION" - | "BYTE_MATCH_POSITIONAL_CONSTRAINT" - | "SIZE_CONSTRAINT_COMPARISON_OPERATOR" - | "GEO_MATCH_LOCATION_TYPE" - | "GEO_MATCH_LOCATION_VALUE" - | "RATE_KEY" - | "RULE_TYPE" - | "NEXT_MARKER" - | "RESOURCE_ARN" - | "TAGS" - | "TAG_KEYS"; +export type ParameterExceptionField = "CHANGE_ACTION" | "WAF_ACTION" | "WAF_OVERRIDE_ACTION" | "PREDICATE_TYPE" | "IPSET_TYPE" | "BYTE_MATCH_FIELD_TYPE" | "SQL_INJECTION_MATCH_FIELD_TYPE" | "BYTE_MATCH_TEXT_TRANSFORMATION" | "BYTE_MATCH_POSITIONAL_CONSTRAINT" | "SIZE_CONSTRAINT_COMPARISON_OPERATOR" | "GEO_MATCH_LOCATION_TYPE" | "GEO_MATCH_LOCATION_VALUE" | "RATE_KEY" | "RULE_TYPE" | "NEXT_MARKER" | "RESOURCE_ARN" | "TAGS" | "TAG_KEYS"; export type ParameterExceptionParameter = string; -export type ParameterExceptionReason = - | "INVALID_OPTION" - | "ILLEGAL_COMBINATION" - | "ILLEGAL_ARGUMENT" - | "INVALID_TAG_KEY"; +export type ParameterExceptionReason = "INVALID_OPTION" | "ILLEGAL_COMBINATION" | "ILLEGAL_ARGUMENT" | "INVALID_TAG_KEY"; export type PolicyString = string; export type PopulationSize = number; -export type PositionalConstraint = - | "EXACTLY" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS" - | "CONTAINS_WORD"; +export type PositionalConstraint = "EXACTLY" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CONTAINS_WORD"; export interface Predicate { Negated: boolean; Type: PredicateType; DataId: string; } export type Predicates = Array; -export type PredicateType = - | "IPMatch" - | "ByteMatch" - | "SqlInjectionMatch" - | "GeoMatch" - | "SizeConstraint" - | "XssMatch" - | "RegexMatch"; +export type PredicateType = "IPMatch" | "ByteMatch" | "SqlInjectionMatch" | "GeoMatch" | "SizeConstraint" | "XssMatch" | "RegexMatch"; export interface PutLoggingConfigurationRequest { LoggingConfiguration: LoggingConfiguration; } @@ -1729,7 +1096,8 @@ export interface PutPermissionPolicyRequest { ResourceArn: string; Policy: string; } -export interface PutPermissionPolicyResponse {} +export interface PutPermissionPolicyResponse { +} export interface RateBasedRule { RuleId: string; Name?: string; @@ -1900,16 +1268,11 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; -export type TextTransformation = - | "NONE" - | "COMPRESS_WHITE_SPACE" - | "HTML_ENTITY_DECODE" - | "LOWERCASE" - | "CMD_LINE" - | "URL_DECODE"; +export type TextTransformation = "NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENTITY_DECODE" | "LOWERCASE" | "CMD_LINE" | "URL_DECODE"; export type Timestamp = Date | string; export interface TimeWindow { @@ -1920,7 +1283,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateByteMatchSetRequest { ByteMatchSetId: string; ChangeToken: string; @@ -2049,7 +1413,8 @@ export declare class WAFInternalErrorException extends EffectData.TaggedError( }> {} export declare class WAFInvalidAccountException extends EffectData.TaggedError( "WAFInvalidAccountException", -)<{}> {} +)<{ +}> {} export declare class WAFInvalidOperationException extends EffectData.TaggedError( "WAFInvalidOperationException", )<{ @@ -2534,7 +1899,9 @@ export declare namespace GetByteMatchSet { export declare namespace GetChangeToken { export type Input = GetChangeTokenRequest; export type Output = GetChangeTokenResponse; - export type Error = WAFInternalErrorException | CommonAwsError; + export type Error = + | WAFInternalErrorException + | CommonAwsError; } export declare namespace GetChangeTokenStatus { @@ -2770,7 +2137,9 @@ export declare namespace ListRegexPatternSets { export declare namespace ListRuleGroups { export type Input = ListRuleGroupsRequest; export type Output = ListRuleGroupsResponse; - export type Error = WAFInternalErrorException | CommonAwsError; + export type Error = + | WAFInternalErrorException + | CommonAwsError; } export declare namespace ListRules { @@ -3075,24 +2444,5 @@ export declare namespace UpdateXssMatchSet { | CommonAwsError; } -export type WAFErrors = - | WAFBadRequestException - | WAFDisallowedNameException - | WAFEntityMigrationException - | WAFInternalErrorException - | WAFInvalidAccountException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFInvalidPermissionPolicyException - | WAFInvalidRegexPatternException - | WAFLimitsExceededException - | WAFNonEmptyEntityException - | WAFNonexistentContainerException - | WAFNonexistentItemException - | WAFReferencedItemException - | WAFServiceLinkedRoleErrorException - | WAFStaleDataException - | WAFSubscriptionNotFoundException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError; +export type WAFErrors = WAFBadRequestException | WAFDisallowedNameException | WAFEntityMigrationException | WAFInternalErrorException | WAFInvalidAccountException | WAFInvalidOperationException | WAFInvalidParameterException | WAFInvalidPermissionPolicyException | WAFInvalidRegexPatternException | WAFLimitsExceededException | WAFNonEmptyEntityException | WAFNonexistentContainerException | WAFNonexistentItemException | WAFReferencedItemException | WAFServiceLinkedRoleErrorException | WAFStaleDataException | WAFSubscriptionNotFoundException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError; + diff --git a/src/services/wafv2/index.ts b/src/services/wafv2/index.ts index 20d154a8..96c42055 100644 --- a/src/services/wafv2/index.ts +++ b/src/services/wafv2/index.ts @@ -5,26 +5,7 @@ import type { WAFV2 as _WAFV2Client } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/wafv2/types.ts b/src/services/wafv2/types.ts index d1f37211..8e26e202 100644 --- a/src/services/wafv2/types.ts +++ b/src/services/wafv2/types.ts @@ -7,617 +7,325 @@ export declare class WAFV2 extends AWSServiceClient { input: AssociateWebACLRequest, ): Effect.Effect< AssociateWebACLResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFUnavailableEntityException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentItemException | WAFUnavailableEntityException | CommonAwsError >; checkCapacity( input: CheckCapacityRequest, ): Effect.Effect< CheckCapacityResponse, - | WAFExpiredManagedRuleGroupVersionException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFInvalidResourceException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFSubscriptionNotFoundException - | WAFUnavailableEntityException - | CommonAwsError + WAFExpiredManagedRuleGroupVersionException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFInvalidResourceException | WAFLimitsExceededException | WAFNonexistentItemException | WAFSubscriptionNotFoundException | WAFUnavailableEntityException | CommonAwsError >; createAPIKey( input: CreateAPIKeyRequest, ): Effect.Effect< CreateAPIKeyResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | CommonAwsError >; createIPSet( input: CreateIPSetRequest, ): Effect.Effect< CreateIPSetResponse, - | WAFDuplicateItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFOptimisticLockException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFDuplicateItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFOptimisticLockException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createRegexPatternSet( input: CreateRegexPatternSetRequest, ): Effect.Effect< CreateRegexPatternSetResponse, - | WAFDuplicateItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFOptimisticLockException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFDuplicateItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFOptimisticLockException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; createRuleGroup( input: CreateRuleGroupRequest, ): Effect.Effect< CreateRuleGroupResponse, - | WAFDuplicateItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFSubscriptionNotFoundException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | WAFUnavailableEntityException - | CommonAwsError + WAFDuplicateItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentItemException | WAFOptimisticLockException | WAFSubscriptionNotFoundException | WAFTagOperationException | WAFTagOperationInternalErrorException | WAFUnavailableEntityException | CommonAwsError >; createWebACL( input: CreateWebACLRequest, ): Effect.Effect< CreateWebACLResponse, - | WAFConfigurationWarningException - | WAFDuplicateItemException - | WAFExpiredManagedRuleGroupVersionException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFInvalidResourceException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFSubscriptionNotFoundException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | WAFUnavailableEntityException - | CommonAwsError + WAFConfigurationWarningException | WAFDuplicateItemException | WAFExpiredManagedRuleGroupVersionException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFInvalidResourceException | WAFLimitsExceededException | WAFNonexistentItemException | WAFOptimisticLockException | WAFSubscriptionNotFoundException | WAFTagOperationException | WAFTagOperationInternalErrorException | WAFUnavailableEntityException | CommonAwsError >; deleteAPIKey( input: DeleteAPIKeyRequest, ): Effect.Effect< DeleteAPIKeyResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFOptimisticLockException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFOptimisticLockException | CommonAwsError >; deleteFirewallManagerRuleGroups( input: DeleteFirewallManagerRuleGroupsRequest, ): Effect.Effect< DeleteFirewallManagerRuleGroupsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFOptimisticLockException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFOptimisticLockException | CommonAwsError >; deleteIPSet( input: DeleteIPSetRequest, ): Effect.Effect< DeleteIPSetResponse, - | WAFAssociatedItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFAssociatedItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFOptimisticLockException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteLoggingConfiguration( input: DeleteLoggingConfigurationRequest, ): Effect.Effect< DeleteLoggingConfigurationResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFOptimisticLockException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFOptimisticLockException | CommonAwsError >; deletePermissionPolicy( input: DeletePermissionPolicyRequest, ): Effect.Effect< DeletePermissionPolicyResponse, - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; deleteRegexPatternSet( input: DeleteRegexPatternSetRequest, ): Effect.Effect< DeleteRegexPatternSetResponse, - | WAFAssociatedItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFAssociatedItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFOptimisticLockException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteRuleGroup( input: DeleteRuleGroupRequest, ): Effect.Effect< DeleteRuleGroupResponse, - | WAFAssociatedItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFAssociatedItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFOptimisticLockException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; deleteWebACL( input: DeleteWebACLRequest, ): Effect.Effect< DeleteWebACLResponse, - | WAFAssociatedItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFAssociatedItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFOptimisticLockException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; describeAllManagedProducts( input: DescribeAllManagedProductsRequest, ): Effect.Effect< DescribeAllManagedProductsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; describeManagedProductsByVendor( input: DescribeManagedProductsByVendorRequest, ): Effect.Effect< DescribeManagedProductsByVendorResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; describeManagedRuleGroup( input: DescribeManagedRuleGroupRequest, ): Effect.Effect< DescribeManagedRuleGroupResponse, - | WAFExpiredManagedRuleGroupVersionException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFInvalidResourceException - | WAFNonexistentItemException - | CommonAwsError + WAFExpiredManagedRuleGroupVersionException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFInvalidResourceException | WAFNonexistentItemException | CommonAwsError >; disassociateWebACL( input: DisassociateWebACLRequest, ): Effect.Effect< DisassociateWebACLResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; generateMobileSdkReleaseUrl( input: GenerateMobileSdkReleaseUrlRequest, ): Effect.Effect< GenerateMobileSdkReleaseUrlResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getDecryptedAPIKey( input: GetDecryptedAPIKeyRequest, ): Effect.Effect< GetDecryptedAPIKeyResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFInvalidResourceException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFInvalidResourceException | WAFNonexistentItemException | CommonAwsError >; getIPSet( input: GetIPSetRequest, ): Effect.Effect< GetIPSetResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getLoggingConfiguration( input: GetLoggingConfigurationRequest, ): Effect.Effect< GetLoggingConfigurationResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getManagedRuleSet( input: GetManagedRuleSetRequest, ): Effect.Effect< GetManagedRuleSetResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getMobileSdkRelease( input: GetMobileSdkReleaseRequest, ): Effect.Effect< GetMobileSdkReleaseResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getPermissionPolicy( input: GetPermissionPolicyRequest, ): Effect.Effect< GetPermissionPolicyResponse, - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getRateBasedStatementManagedKeys( input: GetRateBasedStatementManagedKeysRequest, ): Effect.Effect< GetRateBasedStatementManagedKeysResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFUnsupportedAggregateKeyTypeException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFUnsupportedAggregateKeyTypeException | CommonAwsError >; getRegexPatternSet( input: GetRegexPatternSetRequest, ): Effect.Effect< GetRegexPatternSetResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getRuleGroup( input: GetRuleGroupRequest, ): Effect.Effect< GetRuleGroupResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getSampledRequests( input: GetSampledRequestsRequest, ): Effect.Effect< GetSampledRequestsResponse, - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getWebACL( input: GetWebACLRequest, ): Effect.Effect< GetWebACLResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; getWebACLForResource( input: GetWebACLForResourceRequest, ): Effect.Effect< GetWebACLForResourceResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFUnavailableEntityException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFUnavailableEntityException | CommonAwsError >; listAPIKeys( input: ListAPIKeysRequest, ): Effect.Effect< ListAPIKeysResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFInvalidResourceException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFInvalidResourceException | CommonAwsError >; listAvailableManagedRuleGroups( input: ListAvailableManagedRuleGroupsRequest, ): Effect.Effect< ListAvailableManagedRuleGroupsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; listAvailableManagedRuleGroupVersions( input: ListAvailableManagedRuleGroupVersionsRequest, ): Effect.Effect< ListAvailableManagedRuleGroupVersionsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; listIPSets( input: ListIPSetsRequest, ): Effect.Effect< ListIPSetsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; listLoggingConfigurations( input: ListLoggingConfigurationsRequest, ): Effect.Effect< ListLoggingConfigurationsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; listManagedRuleSets( input: ListManagedRuleSetsRequest, ): Effect.Effect< ListManagedRuleSetsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; listMobileSdkReleases( input: ListMobileSdkReleasesRequest, ): Effect.Effect< ListMobileSdkReleasesResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; listRegexPatternSets( input: ListRegexPatternSetsRequest, ): Effect.Effect< ListRegexPatternSetsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; listResourcesForWebACL( input: ListResourcesForWebACLRequest, ): Effect.Effect< ListResourcesForWebACLResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | CommonAwsError >; listRuleGroups( input: ListRuleGroupsRequest, ): Effect.Effect< ListRuleGroupsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; listWebACLs( input: ListWebACLsRequest, ): Effect.Effect< ListWebACLsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | CommonAwsError >; putLoggingConfiguration( input: PutLoggingConfigurationRequest, ): Effect.Effect< PutLoggingConfigurationResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFLogDestinationPermissionIssueException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFServiceLinkedRoleErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFLogDestinationPermissionIssueException | WAFNonexistentItemException | WAFOptimisticLockException | WAFServiceLinkedRoleErrorException | CommonAwsError >; putManagedRuleSetVersions( input: PutManagedRuleSetVersionsRequest, ): Effect.Effect< PutManagedRuleSetVersionsResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFOptimisticLockException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFOptimisticLockException | CommonAwsError >; putPermissionPolicy( input: PutPermissionPolicyRequest, ): Effect.Effect< PutPermissionPolicyResponse, - | WAFInternalErrorException - | WAFInvalidParameterException - | WAFInvalidPermissionPolicyException - | WAFNonexistentItemException - | CommonAwsError + WAFInternalErrorException | WAFInvalidParameterException | WAFInvalidPermissionPolicyException | WAFNonexistentItemException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentItemException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFTagOperationException | WAFTagOperationInternalErrorException | CommonAwsError >; updateIPSet( input: UpdateIPSetRequest, ): Effect.Effect< UpdateIPSetResponse, - | WAFDuplicateItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFOptimisticLockException - | CommonAwsError + WAFDuplicateItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentItemException | WAFOptimisticLockException | CommonAwsError >; updateManagedRuleSetVersionExpiryDate( input: UpdateManagedRuleSetVersionExpiryDateRequest, ): Effect.Effect< UpdateManagedRuleSetVersionExpiryDateResponse, - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFNonexistentItemException - | WAFOptimisticLockException - | CommonAwsError + WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFNonexistentItemException | WAFOptimisticLockException | CommonAwsError >; updateRegexPatternSet( input: UpdateRegexPatternSetRequest, ): Effect.Effect< UpdateRegexPatternSetResponse, - | WAFDuplicateItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFOptimisticLockException - | CommonAwsError + WAFDuplicateItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentItemException | WAFOptimisticLockException | CommonAwsError >; updateRuleGroup( input: UpdateRuleGroupRequest, ): Effect.Effect< UpdateRuleGroupResponse, - | WAFConfigurationWarningException - | WAFDuplicateItemException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFSubscriptionNotFoundException - | WAFUnavailableEntityException - | CommonAwsError + WAFConfigurationWarningException | WAFDuplicateItemException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFLimitsExceededException | WAFNonexistentItemException | WAFOptimisticLockException | WAFSubscriptionNotFoundException | WAFUnavailableEntityException | CommonAwsError >; updateWebACL( input: UpdateWebACLRequest, ): Effect.Effect< UpdateWebACLResponse, - | WAFConfigurationWarningException - | WAFDuplicateItemException - | WAFExpiredManagedRuleGroupVersionException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFInvalidResourceException - | WAFLimitsExceededException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFSubscriptionNotFoundException - | WAFUnavailableEntityException - | CommonAwsError + WAFConfigurationWarningException | WAFDuplicateItemException | WAFExpiredManagedRuleGroupVersionException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFInvalidResourceException | WAFLimitsExceededException | WAFNonexistentItemException | WAFOptimisticLockException | WAFSubscriptionNotFoundException | WAFUnavailableEntityException | CommonAwsError >; } @@ -628,22 +336,18 @@ export type Action = string; export interface ActionCondition { Action: ActionValue; } -export type ActionValue = - | "ALLOW" - | "BLOCK" - | "COUNT" - | "CAPTCHA" - | "CHALLENGE" - | "EXCLUDED_AS_COUNT"; +export type ActionValue = "ALLOW" | "BLOCK" | "COUNT" | "CAPTCHA" | "CHALLENGE" | "EXCLUDED_AS_COUNT"; export interface AddressField { Identifier: string; } export type AddressFields = Array; -export interface All {} +export interface All { +} export interface AllowAction { CustomRequestHandling?: CustomRequestHandling; } -export interface AllQueryArguments {} +export interface AllQueryArguments { +} export interface AndStatement { Statements: Array; } @@ -674,17 +378,13 @@ export interface AsnMatchStatement { AsnList: Array; ForwardedIPConfig?: ForwardedIPConfig; } -export type AssociatedResourceType = - | "CLOUDFRONT" - | "API_GATEWAY" - | "COGNITO_USER_POOL" - | "APP_RUNNER_SERVICE" - | "VERIFIED_ACCESS_INSTANCE"; +export type AssociatedResourceType = "CLOUDFRONT" | "API_GATEWAY" | "COGNITO_USER_POOL" | "APP_RUNNER_SERVICE" | "VERIFIED_ACCESS_INSTANCE"; export interface AssociateWebACLRequest { WebACLArn: string; ResourceArn: string; } -export interface AssociateWebACLResponse {} +export interface AssociateWebACLResponse { +} export interface AssociationConfig { RequestBody?: { [key in AssociatedResourceType]?: string }; } @@ -720,10 +420,7 @@ export interface BlockAction { export interface Body { OversizeHandling?: OversizeHandling; } -export type BodyParsingFallbackBehavior = - | "MATCH" - | "NO_MATCH" - | "EVALUATE_AS_STRING"; +export type BodyParsingFallbackBehavior = "MATCH" | "NO_MATCH" | "EVALUATE_AS_STRING"; export type Wafv2Boolean = boolean; export interface ByteMatchStatement { @@ -795,257 +492,7 @@ export interface CountAction { } export type Country = string; -export type CountryCode = - | "AF" - | "AX" - | "AL" - | "DZ" - | "AS" - | "AD" - | "AO" - | "AI" - | "AQ" - | "AG" - | "AR" - | "AM" - | "AW" - | "AU" - | "AT" - | "AZ" - | "BS" - | "BH" - | "BD" - | "BB" - | "BY" - | "BE" - | "BZ" - | "BJ" - | "BM" - | "BT" - | "BO" - | "BQ" - | "BA" - | "BW" - | "BV" - | "BR" - | "IO" - | "BN" - | "BG" - | "BF" - | "BI" - | "KH" - | "CM" - | "CA" - | "CV" - | "KY" - | "CF" - | "TD" - | "CL" - | "CN" - | "CX" - | "CC" - | "CO" - | "KM" - | "CG" - | "CD" - | "CK" - | "CR" - | "CI" - | "HR" - | "CU" - | "CW" - | "CY" - | "CZ" - | "DK" - | "DJ" - | "DM" - | "DO" - | "EC" - | "EG" - | "SV" - | "GQ" - | "ER" - | "EE" - | "ET" - | "FK" - | "FO" - | "FJ" - | "FI" - | "FR" - | "GF" - | "PF" - | "TF" - | "GA" - | "GM" - | "GE" - | "DE" - | "GH" - | "GI" - | "GR" - | "GL" - | "GD" - | "GP" - | "GU" - | "GT" - | "GG" - | "GN" - | "GW" - | "GY" - | "HT" - | "HM" - | "VA" - | "HN" - | "HK" - | "HU" - | "IS" - | "IN" - | "ID" - | "IR" - | "IQ" - | "IE" - | "IM" - | "IL" - | "IT" - | "JM" - | "JP" - | "JE" - | "JO" - | "KZ" - | "KE" - | "KI" - | "KP" - | "KR" - | "KW" - | "KG" - | "LA" - | "LV" - | "LB" - | "LS" - | "LR" - | "LY" - | "LI" - | "LT" - | "LU" - | "MO" - | "MK" - | "MG" - | "MW" - | "MY" - | "MV" - | "ML" - | "MT" - | "MH" - | "MQ" - | "MR" - | "MU" - | "YT" - | "MX" - | "FM" - | "MD" - | "MC" - | "MN" - | "ME" - | "MS" - | "MA" - | "MZ" - | "MM" - | "NA" - | "NR" - | "NP" - | "NL" - | "NC" - | "NZ" - | "NI" - | "NE" - | "NG" - | "NU" - | "NF" - | "MP" - | "NO" - | "OM" - | "PK" - | "PW" - | "PS" - | "PA" - | "PG" - | "PY" - | "PE" - | "PH" - | "PN" - | "PL" - | "PT" - | "PR" - | "QA" - | "RE" - | "RO" - | "RU" - | "RW" - | "BL" - | "SH" - | "KN" - | "LC" - | "MF" - | "PM" - | "VC" - | "WS" - | "SM" - | "ST" - | "SA" - | "SN" - | "RS" - | "SC" - | "SL" - | "SG" - | "SX" - | "SK" - | "SI" - | "SB" - | "SO" - | "ZA" - | "GS" - | "SS" - | "ES" - | "LK" - | "SD" - | "SR" - | "SJ" - | "SZ" - | "SE" - | "CH" - | "SY" - | "TW" - | "TJ" - | "TZ" - | "TH" - | "TL" - | "TG" - | "TK" - | "TO" - | "TT" - | "TN" - | "TR" - | "TM" - | "TC" - | "TV" - | "UG" - | "UA" - | "AE" - | "GB" - | "US" - | "UM" - | "UY" - | "UZ" - | "VU" - | "VE" - | "VN" - | "VG" - | "VI" - | "WF" - | "EH" - | "YE" - | "ZM" - | "ZW" - | "XK"; +export type CountryCode = "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | "XK"; export type CountryCodes = Array; export interface CreateAPIKeyRequest { Scope: Scope; @@ -1151,7 +598,8 @@ export interface DeleteAPIKeyRequest { Scope: Scope; APIKey: string; } -export interface DeleteAPIKeyResponse {} +export interface DeleteAPIKeyResponse { +} export interface DeleteFirewallManagerRuleGroupsRequest { WebACLArn: string; WebACLLockToken: string; @@ -1165,38 +613,44 @@ export interface DeleteIPSetRequest { Id: string; LockToken: string; } -export interface DeleteIPSetResponse {} +export interface DeleteIPSetResponse { +} export interface DeleteLoggingConfigurationRequest { ResourceArn: string; LogType?: LogType; LogScope?: LogScope; } -export interface DeleteLoggingConfigurationResponse {} +export interface DeleteLoggingConfigurationResponse { +} export interface DeletePermissionPolicyRequest { ResourceArn: string; } -export interface DeletePermissionPolicyResponse {} +export interface DeletePermissionPolicyResponse { +} export interface DeleteRegexPatternSetRequest { Name: string; Scope: Scope; Id: string; LockToken: string; } -export interface DeleteRegexPatternSetResponse {} +export interface DeleteRegexPatternSetResponse { +} export interface DeleteRuleGroupRequest { Name: string; Scope: Scope; Id: string; LockToken: string; } -export interface DeleteRuleGroupResponse {} +export interface DeleteRuleGroupResponse { +} export interface DeleteWebACLRequest { Name: string; Scope: Scope; Id: string; LockToken: string; } -export interface DeleteWebACLResponse {} +export interface DeleteWebACLResponse { +} export interface DescribeAllManagedProductsRequest { Scope: Scope; } @@ -1228,7 +682,8 @@ export interface DescribeManagedRuleGroupResponse { export interface DisassociateWebACLRequest { ResourceArn: string; } -export interface DisassociateWebACLResponse {} +export interface DisassociateWebACLResponse { +} export type DownloadUrl = string; export interface EmailField { @@ -1254,11 +709,7 @@ export interface ExcludedRule { export type ExcludedRules = Array; export type FailureCode = number; -export type FailureReason = - | "TOKEN_MISSING" - | "TOKEN_EXPIRED" - | "TOKEN_INVALID" - | "TOKEN_DOMAIN_MISMATCH"; +export type FailureReason = "TOKEN_MISSING" | "TOKEN_EXPIRED" | "TOKEN_INVALID" | "TOKEN_DOMAIN_MISMATCH"; export type FailureValue = string; export type FallbackBehavior = "MATCH" | "NO_MATCH"; @@ -1289,12 +740,7 @@ export interface FieldToProtect { export type FieldToProtectKeyName = string; export type FieldToProtectKeys = Array; -export type FieldToProtectType = - | "SINGLE_HEADER" - | "SINGLE_COOKIE" - | "SINGLE_QUERY_ARGUMENT" - | "QUERY_STRING" - | "BODY"; +export type FieldToProtectType = "SINGLE_HEADER" | "SINGLE_COOKIE" | "SINGLE_QUERY_ARGUMENT" | "QUERY_STRING" | "BODY"; export interface Filter { Behavior: FilterBehavior; Requirement: FilterRequirement; @@ -1757,7 +1203,8 @@ export interface ManagedRuleSetVersion { ExpiryTimestamp?: Date | string; } export type MapMatchScope = "ALL" | "KEY" | "VALUE"; -export interface Method {} +export interface Method { +} export type MetricName = string; export interface MobileSdkRelease { @@ -1768,7 +1215,8 @@ export interface MobileSdkRelease { } export type NextMarker = string; -export interface NoneAction {} +export interface NoneAction { +} export interface NotStatement { Statement: Statement; } @@ -1787,79 +1235,7 @@ export interface OverrideAction { export type OversizeHandling = "CONTINUE" | "MATCH" | "NO_MATCH"; export type PaginationLimit = number; -export type ParameterExceptionField = - | "WEB_ACL" - | "RULE_GROUP" - | "REGEX_PATTERN_SET" - | "IP_SET" - | "MANAGED_RULE_SET" - | "RULE" - | "EXCLUDED_RULE" - | "STATEMENT" - | "BYTE_MATCH_STATEMENT" - | "SQLI_MATCH_STATEMENT" - | "XSS_MATCH_STATEMENT" - | "SIZE_CONSTRAINT_STATEMENT" - | "GEO_MATCH_STATEMENT" - | "RATE_BASED_STATEMENT" - | "RULE_GROUP_REFERENCE_STATEMENT" - | "REGEX_PATTERN_REFERENCE_STATEMENT" - | "IP_SET_REFERENCE_STATEMENT" - | "MANAGED_RULE_SET_STATEMENT" - | "LABEL_MATCH_STATEMENT" - | "AND_STATEMENT" - | "OR_STATEMENT" - | "NOT_STATEMENT" - | "IP_ADDRESS" - | "IP_ADDRESS_VERSION" - | "FIELD_TO_MATCH" - | "TEXT_TRANSFORMATION" - | "SINGLE_QUERY_ARGUMENT" - | "SINGLE_HEADER" - | "DEFAULT_ACTION" - | "RULE_ACTION" - | "ENTITY_LIMIT" - | "OVERRIDE_ACTION" - | "SCOPE_VALUE" - | "RESOURCE_ARN" - | "RESOURCE_TYPE" - | "TAGS" - | "TAG_KEYS" - | "METRIC_NAME" - | "FIREWALL_MANAGER_STATEMENT" - | "FALLBACK_BEHAVIOR" - | "POSITION" - | "FORWARDED_IP_CONFIG" - | "IP_SET_FORWARDED_IP_CONFIG" - | "HEADER_NAME" - | "CUSTOM_REQUEST_HANDLING" - | "RESPONSE_CONTENT_TYPE" - | "CUSTOM_RESPONSE" - | "CUSTOM_RESPONSE_BODY" - | "JSON_MATCH_PATTERN" - | "JSON_MATCH_SCOPE" - | "BODY_PARSING_FALLBACK_BEHAVIOR" - | "LOGGING_FILTER" - | "FILTER_CONDITION" - | "EXPIRE_TIMESTAMP" - | "CHANGE_PROPAGATION_STATUS" - | "ASSOCIABLE_RESOURCE" - | "LOG_DESTINATION" - | "MANAGED_RULE_GROUP_CONFIG" - | "PAYLOAD_TYPE" - | "HEADER_MATCH_PATTERN" - | "COOKIE_MATCH_PATTERN" - | "MAP_MATCH_SCOPE" - | "OVERSIZE_HANDLING" - | "CHALLENGE_CONFIG" - | "TOKEN_DOMAIN" - | "ATP_RULE_SET_RESPONSE_INSPECTION" - | "ASSOCIATED_RESOURCE_TYPE" - | "SCOPE_DOWN" - | "CUSTOM_KEYS" - | "ACP_RULE_SET_RESPONSE_INSPECTION" - | "DATA_PROTECTION_CONFIG" - | "LOW_REPUTATION_MODE"; +export type ParameterExceptionField = "WEB_ACL" | "RULE_GROUP" | "REGEX_PATTERN_SET" | "IP_SET" | "MANAGED_RULE_SET" | "RULE" | "EXCLUDED_RULE" | "STATEMENT" | "BYTE_MATCH_STATEMENT" | "SQLI_MATCH_STATEMENT" | "XSS_MATCH_STATEMENT" | "SIZE_CONSTRAINT_STATEMENT" | "GEO_MATCH_STATEMENT" | "RATE_BASED_STATEMENT" | "RULE_GROUP_REFERENCE_STATEMENT" | "REGEX_PATTERN_REFERENCE_STATEMENT" | "IP_SET_REFERENCE_STATEMENT" | "MANAGED_RULE_SET_STATEMENT" | "LABEL_MATCH_STATEMENT" | "AND_STATEMENT" | "OR_STATEMENT" | "NOT_STATEMENT" | "IP_ADDRESS" | "IP_ADDRESS_VERSION" | "FIELD_TO_MATCH" | "TEXT_TRANSFORMATION" | "SINGLE_QUERY_ARGUMENT" | "SINGLE_HEADER" | "DEFAULT_ACTION" | "RULE_ACTION" | "ENTITY_LIMIT" | "OVERRIDE_ACTION" | "SCOPE_VALUE" | "RESOURCE_ARN" | "RESOURCE_TYPE" | "TAGS" | "TAG_KEYS" | "METRIC_NAME" | "FIREWALL_MANAGER_STATEMENT" | "FALLBACK_BEHAVIOR" | "POSITION" | "FORWARDED_IP_CONFIG" | "IP_SET_FORWARDED_IP_CONFIG" | "HEADER_NAME" | "CUSTOM_REQUEST_HANDLING" | "RESPONSE_CONTENT_TYPE" | "CUSTOM_RESPONSE" | "CUSTOM_RESPONSE_BODY" | "JSON_MATCH_PATTERN" | "JSON_MATCH_SCOPE" | "BODY_PARSING_FALLBACK_BEHAVIOR" | "LOGGING_FILTER" | "FILTER_CONDITION" | "EXPIRE_TIMESTAMP" | "CHANGE_PROPAGATION_STATUS" | "ASSOCIABLE_RESOURCE" | "LOG_DESTINATION" | "MANAGED_RULE_GROUP_CONFIG" | "PAYLOAD_TYPE" | "HEADER_MATCH_PATTERN" | "COOKIE_MATCH_PATTERN" | "MAP_MATCH_SCOPE" | "OVERSIZE_HANDLING" | "CHALLENGE_CONFIG" | "TOKEN_DOMAIN" | "ATP_RULE_SET_RESPONSE_INSPECTION" | "ASSOCIATED_RESOURCE_TYPE" | "SCOPE_DOWN" | "CUSTOM_KEYS" | "ACP_RULE_SET_RESPONSE_INSPECTION" | "DATA_PROTECTION_CONFIG" | "LOW_REPUTATION_MODE"; export type ParameterExceptionParameter = string; export interface PasswordField { @@ -1875,12 +1251,7 @@ export type PolicyString = string; export type PopulationSize = number; -export type PositionalConstraint = - | "EXACTLY" - | "STARTS_WITH" - | "ENDS_WITH" - | "CONTAINS" - | "CONTAINS_WORD"; +export type PositionalConstraint = "EXACTLY" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CONTAINS_WORD"; export type ProductDescription = string; export type ProductId = string; @@ -1911,8 +1282,10 @@ export interface PutPermissionPolicyRequest { ResourceArn: string; Policy: string; } -export interface PutPermissionPolicyResponse {} -export interface QueryString {} +export interface PutPermissionPolicyResponse { +} +export interface QueryString { +} export interface RateBasedStatement { Limit: number; EvaluationWindowSec?: number; @@ -1921,11 +1294,7 @@ export interface RateBasedStatement { ForwardedIPConfig?: ForwardedIPConfig; CustomKeys?: Array; } -export type RateBasedStatementAggregateKeyType = - | "IP" - | "FORWARDED_IP" - | "CUSTOM_KEYS" - | "CONSTANT"; +export type RateBasedStatementAggregateKeyType = "IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT"; export interface RateBasedStatementCustomKey { Header?: RateLimitHeader; Cookie?: RateLimitCookie; @@ -1947,18 +1316,22 @@ export interface RateBasedStatementManagedKeysIPSet { } export type RateLimit = number; -export interface RateLimitAsn {} +export interface RateLimitAsn { +} export interface RateLimitCookie { Name: string; TextTransformations: Array; } -export interface RateLimitForwardedIP {} +export interface RateLimitForwardedIP { +} export interface RateLimitHeader { Name: string; TextTransformations: Array; } -export interface RateLimitHTTPMethod {} -export interface RateLimitIP {} +export interface RateLimitHTTPMethod { +} +export interface RateLimitIP { +} export interface RateLimitJA3Fingerprint { FallbackBehavior: FallbackBehavior; } @@ -2019,10 +1392,7 @@ export interface ReleaseSummary { ReleaseVersion?: string; Timestamp?: Date | string; } -export type RequestBody = Record< - AssociatedResourceType, - RequestBodyAssociatedResourceTypeConfig ->; +export type RequestBody = Record; export interface RequestBodyAssociatedResourceTypeConfig { DefaultSizeInspectionLimit: SizeInspectionLimit; } @@ -2042,22 +1412,12 @@ export interface RequestInspectionACFP { export type ResourceArn = string; export type ResourceArns = Array; -export type ResourceType = - | "APPLICATION_LOAD_BALANCER" - | "API_GATEWAY" - | "APPSYNC" - | "COGNITO_USER_POOL" - | "APP_RUNNER_SERVICE" - | "VERIFIED_ACCESS_INSTANCE" - | "AMPLIFY"; +export type ResourceType = "APPLICATION_LOAD_BALANCER" | "API_GATEWAY" | "APPSYNC" | "COGNITO_USER_POOL" | "APP_RUNNER_SERVICE" | "VERIFIED_ACCESS_INSTANCE" | "AMPLIFY"; export type ResponseCode = number; export type ResponseContent = string; -export type ResponseContentType = - | "TEXT_PLAIN" - | "TEXT_HTML" - | "APPLICATION_JSON"; +export type ResponseContentType = "TEXT_PLAIN" | "TEXT_HTML" | "APPLICATION_JSON"; export interface ResponseInspection { StatusCode?: ResponseInspectionStatusCode; Header?: ResponseInspectionHeader; @@ -2239,7 +1599,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TextTransformation { @@ -2249,28 +1610,7 @@ export interface TextTransformation { export type TextTransformationPriority = number; export type TextTransformations = Array; -export type TextTransformationType = - | "NONE" - | "COMPRESS_WHITE_SPACE" - | "HTML_ENTITY_DECODE" - | "LOWERCASE" - | "CMD_LINE" - | "URL_DECODE" - | "BASE64_DECODE" - | "HEX_DECODE" - | "MD5" - | "REPLACE_COMMENTS" - | "ESCAPE_SEQ_DECODE" - | "SQL_HEX_DECODE" - | "CSS_DECODE" - | "JS_DECODE" - | "NORMALIZE_PATH" - | "NORMALIZE_PATH_WIN" - | "REMOVE_NULLS" - | "REPLACE_NULLS" - | "BASE64_DECODE_EXT" - | "URL_DECODE_UNI" - | "UTF8_TO_UNICODE"; +export type TextTransformationType = "NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENTITY_DECODE" | "LOWERCASE" | "CMD_LINE" | "URL_DECODE" | "BASE64_DECODE" | "HEX_DECODE" | "MD5" | "REPLACE_COMMENTS" | "ESCAPE_SEQ_DECODE" | "SQL_HEX_DECODE" | "CSS_DECODE" | "JS_DECODE" | "NORMALIZE_PATH" | "NORMALIZE_PATH_WIN" | "REMOVE_NULLS" | "REPLACE_NULLS" | "BASE64_DECODE_EXT" | "URL_DECODE_UNI" | "UTF8_TO_UNICODE"; export type Timestamp = Date | string; export interface TimeWindow { @@ -2288,7 +1628,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateIPSetRequest { Name: string; Scope: Scope; @@ -2361,7 +1702,8 @@ export interface UpdateWebACLResponse { export interface UriFragment { FallbackBehavior?: FallbackBehavior; } -export interface UriPath {} +export interface UriPath { +} export type URIString = string; export type UsageOfAction = "ENABLED" | "DISABLED"; @@ -3186,24 +2528,5 @@ export declare namespace UpdateWebACL { | CommonAwsError; } -export type WAFV2Errors = - | WAFAssociatedItemException - | WAFConfigurationWarningException - | WAFDuplicateItemException - | WAFExpiredManagedRuleGroupVersionException - | WAFInternalErrorException - | WAFInvalidOperationException - | WAFInvalidParameterException - | WAFInvalidPermissionPolicyException - | WAFInvalidResourceException - | WAFLimitsExceededException - | WAFLogDestinationPermissionIssueException - | WAFNonexistentItemException - | WAFOptimisticLockException - | WAFServiceLinkedRoleErrorException - | WAFSubscriptionNotFoundException - | WAFTagOperationException - | WAFTagOperationInternalErrorException - | WAFUnavailableEntityException - | WAFUnsupportedAggregateKeyTypeException - | CommonAwsError; +export type WAFV2Errors = WAFAssociatedItemException | WAFConfigurationWarningException | WAFDuplicateItemException | WAFExpiredManagedRuleGroupVersionException | WAFInternalErrorException | WAFInvalidOperationException | WAFInvalidParameterException | WAFInvalidPermissionPolicyException | WAFInvalidResourceException | WAFLimitsExceededException | WAFLogDestinationPermissionIssueException | WAFNonexistentItemException | WAFOptimisticLockException | WAFServiceLinkedRoleErrorException | WAFSubscriptionNotFoundException | WAFTagOperationException | WAFTagOperationInternalErrorException | WAFUnavailableEntityException | WAFUnsupportedAggregateKeyTypeException | CommonAwsError; + diff --git a/src/services/wellarchitected/index.ts b/src/services/wellarchitected/index.ts index fd6621a7..b42d0869 100644 --- a/src/services/wellarchitected/index.ts +++ b/src/services/wellarchitected/index.ts @@ -5,23 +5,7 @@ import type { WellArchitected as _WellArchitectedClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,90 +15,78 @@ const metadata = { sigV4ServiceName: "wellarchitected", endpointPrefix: "wellarchitected", operations: { - AssociateLenses: "PATCH /workloads/{WorkloadId}/associateLenses", - AssociateProfiles: "PATCH /workloads/{WorkloadId}/associateProfiles", - CreateLensShare: "POST /lenses/{LensAlias}/shares", - CreateLensVersion: "POST /lenses/{LensAlias}/versions", - CreateMilestone: "POST /workloads/{WorkloadId}/milestones", - CreateProfile: "POST /profiles", - CreateProfileShare: "POST /profiles/{ProfileArn}/shares", - CreateReviewTemplate: "POST /reviewTemplates", - CreateTemplateShare: "POST /templates/shares/{TemplateArn}", - CreateWorkload: "POST /workloads", - CreateWorkloadShare: "POST /workloads/{WorkloadId}/shares", - DeleteLens: "DELETE /lenses/{LensAlias}", - DeleteLensShare: "DELETE /lenses/{LensAlias}/shares/{ShareId}", - DeleteProfile: "DELETE /profiles/{ProfileArn}", - DeleteProfileShare: "DELETE /profiles/{ProfileArn}/shares/{ShareId}", - DeleteReviewTemplate: "DELETE /reviewTemplates/{TemplateArn}", - DeleteTemplateShare: "DELETE /templates/shares/{TemplateArn}/{ShareId}", - DeleteWorkload: "DELETE /workloads/{WorkloadId}", - DeleteWorkloadShare: "DELETE /workloads/{WorkloadId}/shares/{ShareId}", - DisassociateLenses: "PATCH /workloads/{WorkloadId}/disassociateLenses", - DisassociateProfiles: "PATCH /workloads/{WorkloadId}/disassociateProfiles", - ExportLens: "GET /lenses/{LensAlias}/export", - GetAnswer: - "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}/answers/{QuestionId}", - GetConsolidatedReport: "GET /consolidatedReport", - GetGlobalSettings: "GET /global-settings", - GetLens: "GET /lenses/{LensAlias}", - GetLensReview: "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}", - GetLensReviewReport: - "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}/report", - GetLensVersionDifference: "GET /lenses/{LensAlias}/versionDifference", - GetMilestone: "GET /workloads/{WorkloadId}/milestones/{MilestoneNumber}", - GetProfile: "GET /profiles/{ProfileArn}", - GetProfileTemplate: "GET /profileTemplate", - GetReviewTemplate: "GET /reviewTemplates/{TemplateArn}", - GetReviewTemplateAnswer: - "GET /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}/answers/{QuestionId}", - GetReviewTemplateLensReview: - "GET /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}", - GetWorkload: "GET /workloads/{WorkloadId}", - ImportLens: "PUT /importLens", - ListAnswers: "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}/answers", - ListCheckDetails: "POST /workloads/{WorkloadId}/checks", - ListCheckSummaries: "POST /workloads/{WorkloadId}/checkSummaries", - ListLenses: "GET /lenses", - ListLensReviewImprovements: - "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}/improvements", - ListLensReviews: "GET /workloads/{WorkloadId}/lensReviews", - ListLensShares: "GET /lenses/{LensAlias}/shares", - ListMilestones: "POST /workloads/{WorkloadId}/milestonesSummaries", - ListNotifications: "POST /notifications", - ListProfileNotifications: "GET /profileNotifications", - ListProfiles: "GET /profileSummaries", - ListProfileShares: "GET /profiles/{ProfileArn}/shares", - ListReviewTemplateAnswers: - "GET /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}/answers", - ListReviewTemplates: "GET /reviewTemplates", - ListShareInvitations: "GET /shareInvitations", - ListTagsForResource: "GET /tags/{WorkloadArn}", - ListTemplateShares: "GET /templates/shares/{TemplateArn}", - ListWorkloads: "POST /workloadsSummaries", - ListWorkloadShares: "GET /workloads/{WorkloadId}/shares", - TagResource: "POST /tags/{WorkloadArn}", - UntagResource: "DELETE /tags/{WorkloadArn}", - UpdateAnswer: - "PATCH /workloads/{WorkloadId}/lensReviews/{LensAlias}/answers/{QuestionId}", - UpdateGlobalSettings: "PATCH /global-settings", - UpdateIntegration: "POST /workloads/{WorkloadId}/updateIntegration", - UpdateLensReview: "PATCH /workloads/{WorkloadId}/lensReviews/{LensAlias}", - UpdateProfile: "PATCH /profiles/{ProfileArn}", - UpdateReviewTemplate: "PATCH /reviewTemplates/{TemplateArn}", - UpdateReviewTemplateAnswer: - "PATCH /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}/answers/{QuestionId}", - UpdateReviewTemplateLensReview: - "PATCH /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}", - UpdateShareInvitation: "PATCH /shareInvitations/{ShareInvitationId}", - UpdateWorkload: "PATCH /workloads/{WorkloadId}", - UpdateWorkloadShare: "PATCH /workloads/{WorkloadId}/shares/{ShareId}", - UpgradeLensReview: - "PUT /workloads/{WorkloadId}/lensReviews/{LensAlias}/upgrade", - UpgradeProfileVersion: - "PUT /workloads/{WorkloadId}/profiles/{ProfileArn}/upgrade", - UpgradeReviewTemplateLensReview: - "PUT /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}/upgrade", + "AssociateLenses": "PATCH /workloads/{WorkloadId}/associateLenses", + "AssociateProfiles": "PATCH /workloads/{WorkloadId}/associateProfiles", + "CreateLensShare": "POST /lenses/{LensAlias}/shares", + "CreateLensVersion": "POST /lenses/{LensAlias}/versions", + "CreateMilestone": "POST /workloads/{WorkloadId}/milestones", + "CreateProfile": "POST /profiles", + "CreateProfileShare": "POST /profiles/{ProfileArn}/shares", + "CreateReviewTemplate": "POST /reviewTemplates", + "CreateTemplateShare": "POST /templates/shares/{TemplateArn}", + "CreateWorkload": "POST /workloads", + "CreateWorkloadShare": "POST /workloads/{WorkloadId}/shares", + "DeleteLens": "DELETE /lenses/{LensAlias}", + "DeleteLensShare": "DELETE /lenses/{LensAlias}/shares/{ShareId}", + "DeleteProfile": "DELETE /profiles/{ProfileArn}", + "DeleteProfileShare": "DELETE /profiles/{ProfileArn}/shares/{ShareId}", + "DeleteReviewTemplate": "DELETE /reviewTemplates/{TemplateArn}", + "DeleteTemplateShare": "DELETE /templates/shares/{TemplateArn}/{ShareId}", + "DeleteWorkload": "DELETE /workloads/{WorkloadId}", + "DeleteWorkloadShare": "DELETE /workloads/{WorkloadId}/shares/{ShareId}", + "DisassociateLenses": "PATCH /workloads/{WorkloadId}/disassociateLenses", + "DisassociateProfiles": "PATCH /workloads/{WorkloadId}/disassociateProfiles", + "ExportLens": "GET /lenses/{LensAlias}/export", + "GetAnswer": "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}/answers/{QuestionId}", + "GetConsolidatedReport": "GET /consolidatedReport", + "GetGlobalSettings": "GET /global-settings", + "GetLens": "GET /lenses/{LensAlias}", + "GetLensReview": "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}", + "GetLensReviewReport": "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}/report", + "GetLensVersionDifference": "GET /lenses/{LensAlias}/versionDifference", + "GetMilestone": "GET /workloads/{WorkloadId}/milestones/{MilestoneNumber}", + "GetProfile": "GET /profiles/{ProfileArn}", + "GetProfileTemplate": "GET /profileTemplate", + "GetReviewTemplate": "GET /reviewTemplates/{TemplateArn}", + "GetReviewTemplateAnswer": "GET /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}/answers/{QuestionId}", + "GetReviewTemplateLensReview": "GET /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}", + "GetWorkload": "GET /workloads/{WorkloadId}", + "ImportLens": "PUT /importLens", + "ListAnswers": "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}/answers", + "ListCheckDetails": "POST /workloads/{WorkloadId}/checks", + "ListCheckSummaries": "POST /workloads/{WorkloadId}/checkSummaries", + "ListLenses": "GET /lenses", + "ListLensReviewImprovements": "GET /workloads/{WorkloadId}/lensReviews/{LensAlias}/improvements", + "ListLensReviews": "GET /workloads/{WorkloadId}/lensReviews", + "ListLensShares": "GET /lenses/{LensAlias}/shares", + "ListMilestones": "POST /workloads/{WorkloadId}/milestonesSummaries", + "ListNotifications": "POST /notifications", + "ListProfileNotifications": "GET /profileNotifications", + "ListProfiles": "GET /profileSummaries", + "ListProfileShares": "GET /profiles/{ProfileArn}/shares", + "ListReviewTemplateAnswers": "GET /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}/answers", + "ListReviewTemplates": "GET /reviewTemplates", + "ListShareInvitations": "GET /shareInvitations", + "ListTagsForResource": "GET /tags/{WorkloadArn}", + "ListTemplateShares": "GET /templates/shares/{TemplateArn}", + "ListWorkloads": "POST /workloadsSummaries", + "ListWorkloadShares": "GET /workloads/{WorkloadId}/shares", + "TagResource": "POST /tags/{WorkloadArn}", + "UntagResource": "DELETE /tags/{WorkloadArn}", + "UpdateAnswer": "PATCH /workloads/{WorkloadId}/lensReviews/{LensAlias}/answers/{QuestionId}", + "UpdateGlobalSettings": "PATCH /global-settings", + "UpdateIntegration": "POST /workloads/{WorkloadId}/updateIntegration", + "UpdateLensReview": "PATCH /workloads/{WorkloadId}/lensReviews/{LensAlias}", + "UpdateProfile": "PATCH /profiles/{ProfileArn}", + "UpdateReviewTemplate": "PATCH /reviewTemplates/{TemplateArn}", + "UpdateReviewTemplateAnswer": "PATCH /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}/answers/{QuestionId}", + "UpdateReviewTemplateLensReview": "PATCH /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}", + "UpdateShareInvitation": "PATCH /shareInvitations/{ShareInvitationId}", + "UpdateWorkload": "PATCH /workloads/{WorkloadId}", + "UpdateWorkloadShare": "PATCH /workloads/{WorkloadId}/shares/{ShareId}", + "UpgradeLensReview": "PUT /workloads/{WorkloadId}/lensReviews/{LensAlias}/upgrade", + "UpgradeProfileVersion": "PUT /workloads/{WorkloadId}/profiles/{ProfileArn}/upgrade", + "UpgradeReviewTemplateLensReview": "PUT /reviewTemplates/{TemplateArn}/lensReviews/{LensAlias}/upgrade", }, } as const satisfies ServiceMetadata; diff --git a/src/services/wellarchitected/types.ts b/src/services/wellarchitected/types.ts index d684546c..4cb44185 100644 --- a/src/services/wellarchitected/types.ts +++ b/src/services/wellarchitected/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class WellArchitected extends AWSServiceClient { @@ -40,595 +8,313 @@ export declare class WellArchitected extends AWSServiceClient { input: AssociateLensesInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateProfiles( input: AssociateProfilesInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createLensShare( input: CreateLensShareInput, ): Effect.Effect< CreateLensShareOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createLensVersion( input: CreateLensVersionInput, ): Effect.Effect< CreateLensVersionOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createMilestone( input: CreateMilestoneInput, ): Effect.Effect< CreateMilestoneOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createProfile( input: CreateProfileInput, ): Effect.Effect< CreateProfileOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createProfileShare( input: CreateProfileShareInput, ): Effect.Effect< CreateProfileShareOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createReviewTemplate( input: CreateReviewTemplateInput, ): Effect.Effect< CreateReviewTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTemplateShare( input: CreateTemplateShareInput, ): Effect.Effect< CreateTemplateShareOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkload( input: CreateWorkloadInput, ): Effect.Effect< CreateWorkloadOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkloadShare( input: CreateWorkloadShareInput, ): Effect.Effect< CreateWorkloadShareOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteLens( input: DeleteLensInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteLensShare( input: DeleteLensShareInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProfile( input: DeleteProfileInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteProfileShare( input: DeleteProfileShareInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteReviewTemplate( input: DeleteReviewTemplateInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteTemplateShare( input: DeleteTemplateShareInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkload( input: DeleteWorkloadInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkloadShare( input: DeleteWorkloadShareInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateLenses( input: DisassociateLensesInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateProfiles( input: DisassociateProfilesInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; exportLens( input: ExportLensInput, ): Effect.Effect< ExportLensOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getAnswer( input: GetAnswerInput, ): Effect.Effect< GetAnswerOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getConsolidatedReport( input: GetConsolidatedReportInput, ): Effect.Effect< GetConsolidatedReportOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; - getGlobalSettings(input: {}): Effect.Effect< + getGlobalSettings( + input: {}, + ): Effect.Effect< GetGlobalSettingsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; getLens( input: GetLensInput, ): Effect.Effect< GetLensOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLensReview( input: GetLensReviewInput, ): Effect.Effect< GetLensReviewOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLensReviewReport( input: GetLensReviewReportInput, ): Effect.Effect< GetLensReviewReportOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getLensVersionDifference( input: GetLensVersionDifferenceInput, ): Effect.Effect< GetLensVersionDifferenceOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getMilestone( input: GetMilestoneInput, ): Effect.Effect< GetMilestoneOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProfile( input: GetProfileInput, ): Effect.Effect< GetProfileOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getProfileTemplate( input: GetProfileTemplateInput, ): Effect.Effect< GetProfileTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReviewTemplate( input: GetReviewTemplateInput, ): Effect.Effect< GetReviewTemplateOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReviewTemplateAnswer( input: GetReviewTemplateAnswerInput, ): Effect.Effect< GetReviewTemplateAnswerOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getReviewTemplateLensReview( input: GetReviewTemplateLensReviewInput, ): Effect.Effect< GetReviewTemplateLensReviewOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWorkload( input: GetWorkloadInput, ): Effect.Effect< GetWorkloadOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; importLens( input: ImportLensInput, ): Effect.Effect< ImportLensOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; listAnswers( input: ListAnswersInput, ): Effect.Effect< ListAnswersOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCheckDetails( input: ListCheckDetailsInput, ): Effect.Effect< ListCheckDetailsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listCheckSummaries( input: ListCheckSummariesInput, ): Effect.Effect< ListCheckSummariesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLenses( input: ListLensesInput, ): Effect.Effect< ListLensesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listLensReviewImprovements( input: ListLensReviewImprovementsInput, ): Effect.Effect< ListLensReviewImprovementsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLensReviews( input: ListLensReviewsInput, ): Effect.Effect< ListLensReviewsOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listLensShares( input: ListLensSharesInput, ): Effect.Effect< ListLensSharesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listMilestones( input: ListMilestonesInput, ): Effect.Effect< ListMilestonesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listNotifications( input: ListNotificationsInput, ): Effect.Effect< ListNotificationsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listProfileNotifications( input: ListProfileNotificationsInput, ): Effect.Effect< ListProfileNotificationsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listProfiles( input: ListProfilesInput, ): Effect.Effect< ListProfilesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listProfileShares( input: ListProfileSharesInput, ): Effect.Effect< ListProfileSharesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listReviewTemplateAnswers( input: ListReviewTemplateAnswersInput, ): Effect.Effect< ListReviewTemplateAnswersOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listReviewTemplates( input: ListReviewTemplatesInput, ): Effect.Effect< ListReviewTemplatesOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listShareInvitations( input: ListShareInvitationsInput, ): Effect.Effect< ListShareInvitationsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceInput, @@ -640,33 +326,19 @@ export declare class WellArchitected extends AWSServiceClient { input: ListTemplateSharesInput, ): Effect.Effect< ListTemplateSharesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWorkloads( input: ListWorkloadsInput, ): Effect.Effect< ListWorkloadsOutput, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listWorkloadShares( input: ListWorkloadSharesInput, ): Effect.Effect< ListWorkloadSharesOutput, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceInput, @@ -684,170 +356,85 @@ export declare class WellArchitected extends AWSServiceClient { input: UpdateAnswerInput, ): Effect.Effect< UpdateAnswerOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateGlobalSettings( input: UpdateGlobalSettingsInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateIntegration( input: UpdateIntegrationInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateLensReview( input: UpdateLensReviewInput, ): Effect.Effect< UpdateLensReviewOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateProfile( input: UpdateProfileInput, ): Effect.Effect< UpdateProfileOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateReviewTemplate( input: UpdateReviewTemplateInput, ): Effect.Effect< UpdateReviewTemplateOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateReviewTemplateAnswer( input: UpdateReviewTemplateAnswerInput, ): Effect.Effect< UpdateReviewTemplateAnswerOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateReviewTemplateLensReview( input: UpdateReviewTemplateLensReviewInput, ): Effect.Effect< UpdateReviewTemplateLensReviewOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateShareInvitation( input: UpdateShareInvitationInput, ): Effect.Effect< UpdateShareInvitationOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkload( input: UpdateWorkloadInput, ): Effect.Effect< UpdateWorkloadOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateWorkloadShare( input: UpdateWorkloadShareInput, ): Effect.Effect< UpdateWorkloadShareOutput, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; upgradeLensReview( input: UpgradeLensReviewInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; upgradeProfileVersion( input: UpgradeProfileVersionInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; upgradeReviewTemplateLensReview( input: UpgradeReviewTemplateLensReviewInput, ): Effect.Effect< {}, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -897,12 +484,7 @@ export interface Answer { Reason?: AnswerReason; JiraConfiguration?: JiraConfiguration; } -export type AnswerReason = - | "OUT_OF_SCOPE" - | "BUSINESS_PRIORITIES" - | "ARCHITECTURE_CONSTRAINTS" - | "OTHER" - | "NONE"; +export type AnswerReason = "OUT_OF_SCOPE" | "BUSINESS_PRIORITIES" | "ARCHITECTURE_CONSTRAINTS" | "OTHER" | "NONE"; export type AnswerSummaries = Array; export interface AnswerSummary { QuestionId?: string; @@ -956,22 +538,13 @@ export interface CheckDetail { UpdatedAt?: Date | string; } export type CheckDetails = Array; -export type CheckFailureReason = - | "ASSUME_ROLE_ERROR" - | "ACCESS_DENIED" - | "UNKNOWN_ERROR" - | "PREMIUM_SUPPORT_REQUIRED"; +export type CheckFailureReason = "ASSUME_ROLE_ERROR" | "ACCESS_DENIED" | "UNKNOWN_ERROR" | "PREMIUM_SUPPORT_REQUIRED"; export type CheckId = string; export type CheckName = string; export type CheckProvider = "TRUSTED_ADVISOR"; -export type CheckStatus = - | "OKAY" - | "WARNING" - | "ERROR" - | "NOT_AVAILABLE" - | "FETCH_FAILED"; +export type CheckStatus = "OKAY" | "WARNING" | "ERROR" | "NOT_AVAILABLE" | "FETCH_FAILED"; export type CheckStatusCount = number; export type CheckSummaries = Array; @@ -1029,12 +602,7 @@ export interface ChoiceImprovementPlan { export type ChoiceImprovementPlans = Array; export type ChoiceNotes = string; -export type ChoiceReason = - | "OUT_OF_SCOPE" - | "BUSINESS_PRIORITIES" - | "ARCHITECTURE_CONSTRAINTS" - | "OTHER" - | "NONE"; +export type ChoiceReason = "OUT_OF_SCOPE" | "BUSINESS_PRIORITIES" | "ARCHITECTURE_CONSTRAINTS" | "OTHER" | "NONE"; export type Choices = Array; export type ChoiceStatus = "SELECTED" | "NOT_APPLICABLE" | "UNSELECTED"; export type ChoiceTitle = string; @@ -1321,7 +889,8 @@ export interface GetProfileInput { export interface GetProfileOutput { Profile?: Profile; } -export interface GetProfileTemplateInput {} +export interface GetProfileTemplateInput { +} export interface GetProfileTemplateOutput { ProfileTemplate?: ProfileTemplate; } @@ -1479,12 +1048,7 @@ export interface LensShareSummary { Status?: ShareStatus; StatusMessage?: string; } -export type LensStatus = - | "CURRENT" - | "NOT_CURRENT" - | "DEPRECATED" - | "DELETED" - | "UNSHARED"; +export type LensStatus = "CURRENT" | "NOT_CURRENT" | "DEPRECATED" | "DELETED" | "UNSHARED"; export type LensStatusType = "ALL" | "DRAFT" | "PUBLISHED"; export type LensSummaries = Array; export interface LensSummary { @@ -1780,9 +1344,7 @@ export interface NotificationSummary { Type?: NotificationType; LensUpgradeSummary?: LensUpgradeSummary; } -export type NotificationType = - | "LENS_VERSION_UPGRADED" - | "LENS_VERSION_DEPRECATED"; +export type NotificationType = "LENS_VERSION_UPGRADED" | "LENS_VERSION_DEPRECATED"; export type OrganizationSharingStatus = "ENABLED" | "DISABLED"; export type PermissionType = "READONLY" | "CONTRIBUTOR"; export interface PillarDifference { @@ -1847,9 +1409,7 @@ export interface ProfileNotificationSummary { WorkloadId?: string; WorkloadName?: string; } -export type ProfileNotificationType = - | "PROFILE_ANSWERS_UPDATED" - | "PROFILE_DELETED"; +export type ProfileNotificationType = "PROFILE_ANSWERS_UPDATED" | "PROFILE_DELETED"; export type ProfileOwnerType = "SELF" | "SHARED"; export interface ProfileQuestion { QuestionId?: string; @@ -1998,8 +1558,7 @@ export interface ReviewTemplateLensReview { QuestionCounts?: { [key in Question]?: string }; NextToken?: string; } -export type ReviewTemplatePillarReviewSummaries = - Array; +export type ReviewTemplatePillarReviewSummaries = Array; export interface ReviewTemplatePillarReviewSummary { PillarId?: string; PillarName?: string; @@ -2076,15 +1635,7 @@ export interface ShareInvitationSummary { TemplateArn?: string; } export type ShareResourceType = "WORKLOAD" | "LENS" | "PROFILE" | "TEMPLATE"; -export type ShareStatus = - | "ACCEPTED" - | "REJECTED" - | "PENDING" - | "REVOKED" - | "EXPIRED" - | "ASSOCIATING" - | "ASSOCIATED" - | "FAILED"; +export type ShareStatus = "ACCEPTED" | "REJECTED" | "PENDING" | "REVOKED" | "EXPIRED" | "ASSOCIATING" | "ASSOCIATED" | "FAILED"; export type StatusMessage = string; export type Subdomain = string; @@ -2097,7 +1648,8 @@ export interface TagResourceInput { WorkloadArn: string; Tags: Record; } -export interface TagResourceOutput {} +export interface TagResourceOutput { +} export type TagValue = string; export type TemplateArn = string; @@ -2130,7 +1682,8 @@ export interface UntagResourceInput { WorkloadArn: string; TagKeys: Array; } -export interface UntagResourceOutput {} +export interface UntagResourceOutput { +} export interface UpdateAnswerInput { WorkloadId: string; LensAlias: string; @@ -2283,11 +1836,7 @@ export interface ValidationExceptionField { export type ValidationExceptionFieldList = Array; export type ValidationExceptionFieldName = string; -export type ValidationExceptionReason = - | "UNKNOWN_OPERATION" - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "OTHER"; +export type ValidationExceptionReason = "UNKNOWN_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "OTHER"; export interface VersionDifferences { PillarDifferences?: Array; } @@ -2337,12 +1886,7 @@ export interface WorkloadDiscoveryConfig { export type WorkloadEnvironment = "PRODUCTION" | "PREPRODUCTION"; export type WorkloadId = string; -export type WorkloadImprovementStatus = - | "NOT_APPLICABLE" - | "NOT_STARTED" - | "IN_PROGRESS" - | "COMPLETE" - | "RISK_ACKNOWLEDGED"; +export type WorkloadImprovementStatus = "NOT_APPLICABLE" | "NOT_STARTED" | "IN_PROGRESS" | "COMPLETE" | "RISK_ACKNOWLEDGED"; export type WorkloadIndustry = string; export type WorkloadIndustryType = string; @@ -3300,12 +2844,5 @@ export declare namespace UpgradeReviewTemplateLensReview { | CommonAwsError; } -export type WellArchitectedErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type WellArchitectedErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/wisdom/index.ts b/src/services/wisdom/index.ts index ebc64a6c..234736a2 100644 --- a/src/services/wisdom/index.ts +++ b/src/services/wisdom/index.ts @@ -5,23 +5,7 @@ import type { Wisdom as _WisdomClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,63 +14,50 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "wisdom", operations: { - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - CreateAssistant: "POST /assistants", - CreateAssistantAssociation: "POST /assistants/{assistantId}/associations", - CreateContent: "POST /knowledgeBases/{knowledgeBaseId}/contents", - CreateKnowledgeBase: "POST /knowledgeBases", - CreateQuickResponse: - "POST /knowledgeBases/{knowledgeBaseId}/quickResponses", - CreateSession: "POST /assistants/{assistantId}/sessions", - DeleteAssistant: "DELETE /assistants/{assistantId}", - DeleteAssistantAssociation: - "DELETE /assistants/{assistantId}/associations/{assistantAssociationId}", - DeleteContent: - "DELETE /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", - DeleteImportJob: - "DELETE /knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", - DeleteKnowledgeBase: "DELETE /knowledgeBases/{knowledgeBaseId}", - DeleteQuickResponse: - "DELETE /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", - GetAssistant: "GET /assistants/{assistantId}", - GetAssistantAssociation: - "GET /assistants/{assistantId}/associations/{assistantAssociationId}", - GetContent: "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", - GetContentSummary: - "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary", - GetImportJob: - "GET /knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", - GetKnowledgeBase: "GET /knowledgeBases/{knowledgeBaseId}", - GetQuickResponse: - "GET /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", - GetRecommendations: - "GET /assistants/{assistantId}/sessions/{sessionId}/recommendations", - GetSession: "GET /assistants/{assistantId}/sessions/{sessionId}", - ListAssistantAssociations: "GET /assistants/{assistantId}/associations", - ListAssistants: "GET /assistants", - ListContents: "GET /knowledgeBases/{knowledgeBaseId}/contents", - ListImportJobs: "GET /knowledgeBases/{knowledgeBaseId}/importJobs", - ListKnowledgeBases: "GET /knowledgeBases", - ListQuickResponses: "GET /knowledgeBases/{knowledgeBaseId}/quickResponses", - NotifyRecommendationsReceived: - "POST /assistants/{assistantId}/sessions/{sessionId}/recommendations/notify", - QueryAssistant: "POST /assistants/{assistantId}/query", - RemoveKnowledgeBaseTemplateUri: - "DELETE /knowledgeBases/{knowledgeBaseId}/templateUri", - SearchContent: "POST /knowledgeBases/{knowledgeBaseId}/search", - SearchQuickResponses: - "POST /knowledgeBases/{knowledgeBaseId}/search/quickResponses", - SearchSessions: "POST /assistants/{assistantId}/searchSessions", - StartContentUpload: "POST /knowledgeBases/{knowledgeBaseId}/upload", - StartImportJob: "POST /knowledgeBases/{knowledgeBaseId}/importJobs", - UpdateContent: - "POST /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", - UpdateKnowledgeBaseTemplateUri: - "POST /knowledgeBases/{knowledgeBaseId}/templateUri", - UpdateQuickResponse: - "POST /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "CreateAssistant": "POST /assistants", + "CreateAssistantAssociation": "POST /assistants/{assistantId}/associations", + "CreateContent": "POST /knowledgeBases/{knowledgeBaseId}/contents", + "CreateKnowledgeBase": "POST /knowledgeBases", + "CreateQuickResponse": "POST /knowledgeBases/{knowledgeBaseId}/quickResponses", + "CreateSession": "POST /assistants/{assistantId}/sessions", + "DeleteAssistant": "DELETE /assistants/{assistantId}", + "DeleteAssistantAssociation": "DELETE /assistants/{assistantId}/associations/{assistantAssociationId}", + "DeleteContent": "DELETE /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", + "DeleteImportJob": "DELETE /knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", + "DeleteKnowledgeBase": "DELETE /knowledgeBases/{knowledgeBaseId}", + "DeleteQuickResponse": "DELETE /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", + "GetAssistant": "GET /assistants/{assistantId}", + "GetAssistantAssociation": "GET /assistants/{assistantId}/associations/{assistantAssociationId}", + "GetContent": "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", + "GetContentSummary": "GET /knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary", + "GetImportJob": "GET /knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}", + "GetKnowledgeBase": "GET /knowledgeBases/{knowledgeBaseId}", + "GetQuickResponse": "GET /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", + "GetRecommendations": "GET /assistants/{assistantId}/sessions/{sessionId}/recommendations", + "GetSession": "GET /assistants/{assistantId}/sessions/{sessionId}", + "ListAssistantAssociations": "GET /assistants/{assistantId}/associations", + "ListAssistants": "GET /assistants", + "ListContents": "GET /knowledgeBases/{knowledgeBaseId}/contents", + "ListImportJobs": "GET /knowledgeBases/{knowledgeBaseId}/importJobs", + "ListKnowledgeBases": "GET /knowledgeBases", + "ListQuickResponses": "GET /knowledgeBases/{knowledgeBaseId}/quickResponses", + "NotifyRecommendationsReceived": "POST /assistants/{assistantId}/sessions/{sessionId}/recommendations/notify", + "QueryAssistant": "POST /assistants/{assistantId}/query", + "RemoveKnowledgeBaseTemplateUri": "DELETE /knowledgeBases/{knowledgeBaseId}/templateUri", + "SearchContent": "POST /knowledgeBases/{knowledgeBaseId}/search", + "SearchQuickResponses": "POST /knowledgeBases/{knowledgeBaseId}/search/quickResponses", + "SearchSessions": "POST /assistants/{assistantId}/searchSessions", + "StartContentUpload": "POST /knowledgeBases/{knowledgeBaseId}/upload", + "StartImportJob": "POST /knowledgeBases/{knowledgeBaseId}/importJobs", + "UpdateContent": "POST /knowledgeBases/{knowledgeBaseId}/contents/{contentId}", + "UpdateKnowledgeBaseTemplateUri": "POST /knowledgeBases/{knowledgeBaseId}/templateUri", + "UpdateQuickResponse": "POST /knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}", + }, + retryableErrors: { + "RequestTimeoutException": {}, }, } as const satisfies ServiceMetadata; diff --git a/src/services/wisdom/types.ts b/src/services/wisdom/types.ts index 0611e7fb..8a02c132 100644 --- a/src/services/wisdom/types.ts +++ b/src/services/wisdom/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | RequestTimeoutException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | RequestTimeoutException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class Wisdom extends AWSServiceClient { @@ -58,209 +26,133 @@ export declare class Wisdom extends AWSServiceClient { input: CreateAssistantRequest, ): Effect.Effect< CreateAssistantResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createAssistantAssociation( input: CreateAssistantAssociationRequest, ): Effect.Effect< CreateAssistantAssociationResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createContent( input: CreateContentRequest, ): Effect.Effect< CreateContentResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createKnowledgeBase( input: CreateKnowledgeBaseRequest, ): Effect.Effect< CreateKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createQuickResponse( input: CreateQuickResponseRequest, ): Effect.Effect< CreateQuickResponseResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; createSession( input: CreateSessionRequest, ): Effect.Effect< CreateSessionResponse, - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteAssistant( input: DeleteAssistantRequest, ): Effect.Effect< DeleteAssistantResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteAssistantAssociation( input: DeleteAssistantAssociationRequest, ): Effect.Effect< DeleteAssistantAssociationResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteContent( input: DeleteContentRequest, ): Effect.Effect< DeleteContentResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteImportJob( input: DeleteImportJobRequest, ): Effect.Effect< DeleteImportJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteKnowledgeBase( input: DeleteKnowledgeBaseRequest, ): Effect.Effect< DeleteKnowledgeBaseResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteQuickResponse( input: DeleteQuickResponseRequest, ): Effect.Effect< DeleteQuickResponseResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAssistant( input: GetAssistantRequest, ): Effect.Effect< GetAssistantResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getAssistantAssociation( input: GetAssistantAssociationRequest, ): Effect.Effect< GetAssistantAssociationResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getContent( input: GetContentRequest, ): Effect.Effect< GetContentResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getContentSummary( input: GetContentSummaryRequest, ): Effect.Effect< GetContentSummaryResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getImportJob( input: GetImportJobRequest, ): Effect.Effect< GetImportJobResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getKnowledgeBase( input: GetKnowledgeBaseRequest, ): Effect.Effect< GetKnowledgeBaseResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getQuickResponse( input: GetQuickResponseRequest, ): Effect.Effect< GetQuickResponseResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getRecommendations( input: GetRecommendationsRequest, ): Effect.Effect< GetRecommendationsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; getSession( input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAssistantAssociations( input: ListAssistantAssociationsRequest, ): Effect.Effect< ListAssistantAssociationsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listAssistants( input: ListAssistantsRequest, @@ -272,10 +164,7 @@ export declare class Wisdom extends AWSServiceClient { input: ListContentsRequest, ): Effect.Effect< ListContentsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; listImportJobs( input: ListImportJobsRequest, @@ -293,116 +182,73 @@ export declare class Wisdom extends AWSServiceClient { input: ListQuickResponsesRequest, ): Effect.Effect< ListQuickResponsesResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; notifyRecommendationsReceived( input: NotifyRecommendationsReceivedRequest, ): Effect.Effect< NotifyRecommendationsReceivedResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; queryAssistant( input: QueryAssistantRequest, ): Effect.Effect< QueryAssistantResponse, - | AccessDeniedException - | RequestTimeoutException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | RequestTimeoutException | ResourceNotFoundException | ValidationException | CommonAwsError >; removeKnowledgeBaseTemplateUri( input: RemoveKnowledgeBaseTemplateUriRequest, ): Effect.Effect< RemoveKnowledgeBaseTemplateUriResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; searchContent( input: SearchContentRequest, ): Effect.Effect< SearchContentResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; searchQuickResponses( input: SearchQuickResponsesRequest, ): Effect.Effect< SearchQuickResponsesResponse, - | AccessDeniedException - | RequestTimeoutException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | RequestTimeoutException | ResourceNotFoundException | ValidationException | CommonAwsError >; searchSessions( input: SearchSessionsRequest, ): Effect.Effect< SearchSessionsResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; startContentUpload( input: StartContentUploadRequest, ): Effect.Effect< StartContentUploadResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; startImportJob( input: StartImportJobRequest, ): Effect.Effect< StartImportJobResponse, - | AccessDeniedException - | ConflictException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | ResourceNotFoundException | ServiceQuotaExceededException | ValidationException | CommonAwsError >; updateContent( input: UpdateContentRequest, ): Effect.Effect< UpdateContentResponse, - | AccessDeniedException - | PreconditionFailedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | PreconditionFailedException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateKnowledgeBaseTemplateUri( input: UpdateKnowledgeBaseTemplateUriRequest, ): Effect.Effect< UpdateKnowledgeBaseTemplateUriResponse, - | AccessDeniedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ResourceNotFoundException | ValidationException | CommonAwsError >; updateQuickResponse( input: UpdateQuickResponseRequest, ): Effect.Effect< UpdateQuickResponseResponse, - | AccessDeniedException - | ConflictException - | PreconditionFailedException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | PreconditionFailedException | ResourceNotFoundException | ValidationException | CommonAwsError >; } @@ -430,16 +276,12 @@ interface _AssistantAssociationInputData { knowledgeBaseId?: string; } -export type AssistantAssociationInputData = _AssistantAssociationInputData & { - knowledgeBaseId: string; -}; +export type AssistantAssociationInputData = (_AssistantAssociationInputData & { knowledgeBaseId: string }); interface _AssistantAssociationOutputData { knowledgeBaseAssociation?: KnowledgeBaseAssociationData; } -export type AssistantAssociationOutputData = _AssistantAssociationOutputData & { - knowledgeBaseAssociation: KnowledgeBaseAssociationData; -}; +export type AssistantAssociationOutputData = (_AssistantAssociationOutputData & { knowledgeBaseAssociation: KnowledgeBaseAssociationData }); export interface AssistantAssociationSummary { assistantAssociationId: string; assistantAssociationArn: string; @@ -449,8 +291,7 @@ export interface AssistantAssociationSummary { associationData: AssistantAssociationOutputData; tags?: Record; } -export type AssistantAssociationSummaryList = - Array; +export type AssistantAssociationSummaryList = Array; export interface AssistantData { assistantId: string; assistantArn: string; @@ -492,9 +333,7 @@ interface _Configuration { connectConfiguration?: ConnectConfiguration; } -export type Configuration = _Configuration & { - connectConfiguration: ConnectConfiguration; -}; +export type Configuration = (_Configuration & { connectConfiguration: ConnectConfiguration }); export declare class ConflictException extends EffectData.TaggedError( "ConflictException", )<{ @@ -630,30 +469,36 @@ export interface DeleteAssistantAssociationRequest { assistantAssociationId: string; assistantId: string; } -export interface DeleteAssistantAssociationResponse {} +export interface DeleteAssistantAssociationResponse { +} export interface DeleteAssistantRequest { assistantId: string; } -export interface DeleteAssistantResponse {} +export interface DeleteAssistantResponse { +} export interface DeleteContentRequest { knowledgeBaseId: string; contentId: string; } -export interface DeleteContentResponse {} +export interface DeleteContentResponse { +} export interface DeleteImportJobRequest { knowledgeBaseId: string; importJobId: string; } -export interface DeleteImportJobResponse {} +export interface DeleteImportJobResponse { +} export interface DeleteKnowledgeBaseRequest { knowledgeBaseId: string; } -export interface DeleteKnowledgeBaseResponse {} +export interface DeleteKnowledgeBaseResponse { +} export interface DeleteQuickResponseRequest { knowledgeBaseId: string; quickResponseId: string; } -export interface DeleteQuickResponseResponse {} +export interface DeleteQuickResponseResponse { +} export type Description = string; export interface Document { @@ -902,8 +747,7 @@ export interface NotifyRecommendationsReceivedError { recommendationId?: string; message?: string; } -export type NotifyRecommendationsReceivedErrorList = - Array; +export type NotifyRecommendationsReceivedErrorList = Array; export type NotifyRecommendationsReceivedErrorMessage = string; export interface NotifyRecommendationsReceivedRequest { @@ -947,9 +791,7 @@ interface _QuickResponseContentProvider { content?: string; } -export type QuickResponseContentProvider = _QuickResponseContentProvider & { - content: string; -}; +export type QuickResponseContentProvider = (_QuickResponseContentProvider & { content: string }); export interface QuickResponseContents { plainText?: QuickResponseContentProvider; markdown?: QuickResponseContentProvider; @@ -978,9 +820,7 @@ interface _QuickResponseDataProvider { content?: string; } -export type QuickResponseDataProvider = _QuickResponseDataProvider & { - content: string; -}; +export type QuickResponseDataProvider = (_QuickResponseDataProvider & { content: string }); export type QuickResponseDescription = string; export interface QuickResponseFilterField { @@ -1041,8 +881,7 @@ export interface QuickResponseSearchResultData { attributesInterpolated?: Array; tags?: Record; } -export type QuickResponseSearchResultsList = - Array; +export type QuickResponseSearchResultsList = Array; export type QuickResponseStatus = string; export interface QuickResponseSummary { @@ -1086,9 +925,7 @@ interface _RecommendationTriggerData { query?: QueryRecommendationTriggerData; } -export type RecommendationTriggerData = _RecommendationTriggerData & { - query: QueryRecommendationTriggerData; -}; +export type RecommendationTriggerData = (_RecommendationTriggerData & { query: QueryRecommendationTriggerData }); export type RecommendationTriggerList = Array; export type RecommendationTriggerType = string; @@ -1101,7 +938,8 @@ export type RelevanceScore = number; export interface RemoveKnowledgeBaseTemplateUriRequest { knowledgeBaseId: string; } -export interface RemoveKnowledgeBaseTemplateUriResponse {} +export interface RemoveKnowledgeBaseTemplateUriResponse { +} export interface RenderingConfiguration { templateUri?: string; } @@ -1189,9 +1027,7 @@ interface _SourceConfiguration { appIntegrations?: AppIntegrationsConfiguration; } -export type SourceConfiguration = _SourceConfiguration & { - appIntegrations: AppIntegrationsConfiguration; -}; +export type SourceConfiguration = (_SourceConfiguration & { appIntegrations: AppIntegrationsConfiguration }); export interface StartContentUploadRequest { knowledgeBaseId: string; contentType: string; @@ -1221,7 +1057,8 @@ export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type Tags = Record; export type TagValue = string; @@ -1237,7 +1074,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateContentRequest { knowledgeBaseId: string; contentId: string; @@ -1297,7 +1135,9 @@ export type WaitTimeSeconds = number; export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace TagResource { @@ -1312,7 +1152,9 @@ export declare namespace TagResource { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace CreateAssistant { @@ -1709,13 +1551,5 @@ export declare namespace UpdateQuickResponse { | CommonAwsError; } -export type WisdomErrors = - | AccessDeniedException - | ConflictException - | PreconditionFailedException - | RequestTimeoutException - | ResourceNotFoundException - | ServiceQuotaExceededException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type WisdomErrors = AccessDeniedException | ConflictException | PreconditionFailedException | RequestTimeoutException | ResourceNotFoundException | ServiceQuotaExceededException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/workdocs/index.ts b/src/services/workdocs/index.ts index 4c4e77d4..6ea2dcde 100644 --- a/src/services/workdocs/index.ts +++ b/src/services/workdocs/index.ts @@ -5,26 +5,7 @@ import type { WorkDocs as _WorkDocsClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,65 +15,50 @@ const metadata = { sigV4ServiceName: "workdocs", endpointPrefix: "workdocs", operations: { - AbortDocumentVersionUpload: - "DELETE /api/v1/documents/{DocumentId}/versions/{VersionId}", - ActivateUser: "POST /api/v1/users/{UserId}/activation", - AddResourcePermissions: "POST /api/v1/resources/{ResourceId}/permissions", - CreateComment: - "POST /api/v1/documents/{DocumentId}/versions/{VersionId}/comment", - CreateCustomMetadata: "PUT /api/v1/resources/{ResourceId}/customMetadata", - CreateFolder: "POST /api/v1/folders", - CreateLabels: "PUT /api/v1/resources/{ResourceId}/labels", - CreateNotificationSubscription: - "POST /api/v1/organizations/{OrganizationId}/subscriptions", - CreateUser: "POST /api/v1/users", - DeactivateUser: "DELETE /api/v1/users/{UserId}/activation", - DeleteComment: - "DELETE /api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}", - DeleteCustomMetadata: - "DELETE /api/v1/resources/{ResourceId}/customMetadata", - DeleteDocument: "DELETE /api/v1/documents/{DocumentId}", - DeleteDocumentVersion: - "DELETE /api/v1/documentVersions/{DocumentId}/versions/{VersionId}", - DeleteFolder: "DELETE /api/v1/folders/{FolderId}", - DeleteFolderContents: "DELETE /api/v1/folders/{FolderId}/contents", - DeleteLabels: "DELETE /api/v1/resources/{ResourceId}/labels", - DeleteNotificationSubscription: - "DELETE /api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}", - DeleteUser: "DELETE /api/v1/users/{UserId}", - DescribeActivities: "GET /api/v1/activities", - DescribeComments: - "GET /api/v1/documents/{DocumentId}/versions/{VersionId}/comments", - DescribeDocumentVersions: "GET /api/v1/documents/{DocumentId}/versions", - DescribeFolderContents: "GET /api/v1/folders/{FolderId}/contents", - DescribeGroups: "GET /api/v1/groups", - DescribeNotificationSubscriptions: - "GET /api/v1/organizations/{OrganizationId}/subscriptions", - DescribeResourcePermissions: - "GET /api/v1/resources/{ResourceId}/permissions", - DescribeRootFolders: "GET /api/v1/me/root", - DescribeUsers: "GET /api/v1/users", - GetCurrentUser: "GET /api/v1/me", - GetDocument: "GET /api/v1/documents/{DocumentId}", - GetDocumentPath: "GET /api/v1/documents/{DocumentId}/path", - GetDocumentVersion: - "GET /api/v1/documents/{DocumentId}/versions/{VersionId}", - GetFolder: "GET /api/v1/folders/{FolderId}", - GetFolderPath: "GET /api/v1/folders/{FolderId}/path", - GetResources: "GET /api/v1/resources", - InitiateDocumentVersionUpload: "POST /api/v1/documents", - RemoveAllResourcePermissions: - "DELETE /api/v1/resources/{ResourceId}/permissions", - RemoveResourcePermission: - "DELETE /api/v1/resources/{ResourceId}/permissions/{PrincipalId}", - RestoreDocumentVersions: - "POST /api/v1/documentVersions/restore/{DocumentId}", - SearchResources: "POST /api/v1/search", - UpdateDocument: "PATCH /api/v1/documents/{DocumentId}", - UpdateDocumentVersion: - "PATCH /api/v1/documents/{DocumentId}/versions/{VersionId}", - UpdateFolder: "PATCH /api/v1/folders/{FolderId}", - UpdateUser: "PATCH /api/v1/users/{UserId}", + "AbortDocumentVersionUpload": "DELETE /api/v1/documents/{DocumentId}/versions/{VersionId}", + "ActivateUser": "POST /api/v1/users/{UserId}/activation", + "AddResourcePermissions": "POST /api/v1/resources/{ResourceId}/permissions", + "CreateComment": "POST /api/v1/documents/{DocumentId}/versions/{VersionId}/comment", + "CreateCustomMetadata": "PUT /api/v1/resources/{ResourceId}/customMetadata", + "CreateFolder": "POST /api/v1/folders", + "CreateLabels": "PUT /api/v1/resources/{ResourceId}/labels", + "CreateNotificationSubscription": "POST /api/v1/organizations/{OrganizationId}/subscriptions", + "CreateUser": "POST /api/v1/users", + "DeactivateUser": "DELETE /api/v1/users/{UserId}/activation", + "DeleteComment": "DELETE /api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}", + "DeleteCustomMetadata": "DELETE /api/v1/resources/{ResourceId}/customMetadata", + "DeleteDocument": "DELETE /api/v1/documents/{DocumentId}", + "DeleteDocumentVersion": "DELETE /api/v1/documentVersions/{DocumentId}/versions/{VersionId}", + "DeleteFolder": "DELETE /api/v1/folders/{FolderId}", + "DeleteFolderContents": "DELETE /api/v1/folders/{FolderId}/contents", + "DeleteLabels": "DELETE /api/v1/resources/{ResourceId}/labels", + "DeleteNotificationSubscription": "DELETE /api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}", + "DeleteUser": "DELETE /api/v1/users/{UserId}", + "DescribeActivities": "GET /api/v1/activities", + "DescribeComments": "GET /api/v1/documents/{DocumentId}/versions/{VersionId}/comments", + "DescribeDocumentVersions": "GET /api/v1/documents/{DocumentId}/versions", + "DescribeFolderContents": "GET /api/v1/folders/{FolderId}/contents", + "DescribeGroups": "GET /api/v1/groups", + "DescribeNotificationSubscriptions": "GET /api/v1/organizations/{OrganizationId}/subscriptions", + "DescribeResourcePermissions": "GET /api/v1/resources/{ResourceId}/permissions", + "DescribeRootFolders": "GET /api/v1/me/root", + "DescribeUsers": "GET /api/v1/users", + "GetCurrentUser": "GET /api/v1/me", + "GetDocument": "GET /api/v1/documents/{DocumentId}", + "GetDocumentPath": "GET /api/v1/documents/{DocumentId}/path", + "GetDocumentVersion": "GET /api/v1/documents/{DocumentId}/versions/{VersionId}", + "GetFolder": "GET /api/v1/folders/{FolderId}", + "GetFolderPath": "GET /api/v1/folders/{FolderId}/path", + "GetResources": "GET /api/v1/resources", + "InitiateDocumentVersionUpload": "POST /api/v1/documents", + "RemoveAllResourcePermissions": "DELETE /api/v1/resources/{ResourceId}/permissions", + "RemoveResourcePermission": "DELETE /api/v1/resources/{ResourceId}/permissions/{PrincipalId}", + "RestoreDocumentVersions": "POST /api/v1/documentVersions/restore/{DocumentId}", + "SearchResources": "POST /api/v1/search", + "UpdateDocument": "PATCH /api/v1/documents/{DocumentId}", + "UpdateDocumentVersion": "PATCH /api/v1/documents/{DocumentId}/versions/{VersionId}", + "UpdateFolder": "PATCH /api/v1/folders/{FolderId}", + "UpdateUser": "PATCH /api/v1/users/{UserId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/workdocs/types.ts b/src/services/workdocs/types.ts index cb6d9431..5e90367d 100644 --- a/src/services/workdocs/types.ts +++ b/src/services/workdocs/types.ts @@ -7,549 +7,265 @@ export declare class WorkDocs extends AWSServiceClient { input: AbortDocumentVersionUploadRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | EntityNotExistsException - | FailedDependencyException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConcurrentModificationException | EntityNotExistsException | FailedDependencyException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; activateUser( input: ActivateUserRequest, ): Effect.Effect< ActivateUserResponse, - | EntityNotExistsException - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; addResourcePermissions( input: AddResourcePermissionsRequest, ): Effect.Effect< AddResourcePermissionsResponse, - | FailedDependencyException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + FailedDependencyException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; createComment( input: CreateCommentRequest, ): Effect.Effect< CreateCommentResponse, - | DocumentLockedForCommentsException - | EntityNotExistsException - | FailedDependencyException - | InvalidCommentOperationException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + DocumentLockedForCommentsException | EntityNotExistsException | FailedDependencyException | InvalidCommentOperationException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; createCustomMetadata( input: CreateCustomMetadataRequest, ): Effect.Effect< CreateCustomMetadataResponse, - | CustomMetadataLimitExceededException - | EntityNotExistsException - | FailedDependencyException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + CustomMetadataLimitExceededException | EntityNotExistsException | FailedDependencyException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; createFolder( input: CreateFolderRequest, ): Effect.Effect< CreateFolderResponse, - | ConcurrentModificationException - | ConflictingOperationException - | EntityAlreadyExistsException - | EntityNotExistsException - | FailedDependencyException - | LimitExceededException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConcurrentModificationException | ConflictingOperationException | EntityAlreadyExistsException | EntityNotExistsException | FailedDependencyException | LimitExceededException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; createLabels( input: CreateLabelsRequest, ): Effect.Effect< CreateLabelsResponse, - | EntityNotExistsException - | FailedDependencyException - | ServiceUnavailableException - | TooManyLabelsException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ServiceUnavailableException | TooManyLabelsException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; createNotificationSubscription( input: CreateNotificationSubscriptionRequest, ): Effect.Effect< CreateNotificationSubscriptionResponse, - | InvalidArgumentException - | ServiceUnavailableException - | TooManySubscriptionsException - | UnauthorizedResourceAccessException - | CommonAwsError + InvalidArgumentException | ServiceUnavailableException | TooManySubscriptionsException | UnauthorizedResourceAccessException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | EntityAlreadyExistsException - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityAlreadyExistsException | FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; deactivateUser( input: DeactivateUserRequest, ): Effect.Effect< {}, - | EntityNotExistsException - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; deleteComment( input: DeleteCommentRequest, ): Effect.Effect< {}, - | DocumentLockedForCommentsException - | EntityNotExistsException - | FailedDependencyException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + DocumentLockedForCommentsException | EntityNotExistsException | FailedDependencyException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; deleteCustomMetadata( input: DeleteCustomMetadataRequest, ): Effect.Effect< DeleteCustomMetadataResponse, - | EntityNotExistsException - | FailedDependencyException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; deleteDocument( input: DeleteDocumentRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | ConflictingOperationException - | EntityNotExistsException - | FailedDependencyException - | LimitExceededException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConcurrentModificationException | ConflictingOperationException | EntityNotExistsException | FailedDependencyException | LimitExceededException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; deleteDocumentVersion( input: DeleteDocumentVersionRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | ConflictingOperationException - | EntityNotExistsException - | FailedDependencyException - | InvalidOperationException - | ProhibitedStateException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConcurrentModificationException | ConflictingOperationException | EntityNotExistsException | FailedDependencyException | InvalidOperationException | ProhibitedStateException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; deleteFolder( input: DeleteFolderRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | ConflictingOperationException - | EntityNotExistsException - | FailedDependencyException - | LimitExceededException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConcurrentModificationException | ConflictingOperationException | EntityNotExistsException | FailedDependencyException | LimitExceededException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; deleteFolderContents( input: DeleteFolderContentsRequest, ): Effect.Effect< {}, - | ConflictingOperationException - | EntityNotExistsException - | FailedDependencyException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConflictingOperationException | EntityNotExistsException | FailedDependencyException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; deleteLabels( input: DeleteLabelsRequest, ): Effect.Effect< DeleteLabelsResponse, - | EntityNotExistsException - | FailedDependencyException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; deleteNotificationSubscription( input: DeleteNotificationSubscriptionRequest, ): Effect.Effect< {}, - | EntityNotExistsException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedResourceAccessException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< {}, - | EntityNotExistsException - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; describeActivities( input: DescribeActivitiesRequest, ): Effect.Effect< DescribeActivitiesResponse, - | FailedDependencyException - | InvalidArgumentException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + FailedDependencyException | InvalidArgumentException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; describeComments( input: DescribeCommentsRequest, ): Effect.Effect< DescribeCommentsResponse, - | EntityNotExistsException - | FailedDependencyException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; describeDocumentVersions( input: DescribeDocumentVersionsRequest, ): Effect.Effect< DescribeDocumentVersionsResponse, - | EntityNotExistsException - | FailedDependencyException - | InvalidArgumentException - | InvalidPasswordException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | InvalidArgumentException | InvalidPasswordException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; describeFolderContents( input: DescribeFolderContentsRequest, ): Effect.Effect< DescribeFolderContentsResponse, - | EntityNotExistsException - | FailedDependencyException - | InvalidArgumentException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | InvalidArgumentException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedResourceAccessException | CommonAwsError >; describeGroups( input: DescribeGroupsRequest, ): Effect.Effect< DescribeGroupsResponse, - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; describeNotificationSubscriptions( input: DescribeNotificationSubscriptionsRequest, ): Effect.Effect< DescribeNotificationSubscriptionsResponse, - | EntityNotExistsException - | ServiceUnavailableException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | ServiceUnavailableException | UnauthorizedResourceAccessException | CommonAwsError >; describeResourcePermissions( input: DescribeResourcePermissionsRequest, ): Effect.Effect< DescribeResourcePermissionsResponse, - | FailedDependencyException - | InvalidArgumentException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + FailedDependencyException | InvalidArgumentException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; describeRootFolders( input: DescribeRootFoldersRequest, ): Effect.Effect< DescribeRootFoldersResponse, - | FailedDependencyException - | InvalidArgumentException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + FailedDependencyException | InvalidArgumentException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; describeUsers( input: DescribeUsersRequest, ): Effect.Effect< DescribeUsersResponse, - | EntityNotExistsException - | FailedDependencyException - | InvalidArgumentException - | RequestedEntityTooLargeException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | InvalidArgumentException | RequestedEntityTooLargeException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; getCurrentUser( input: GetCurrentUserRequest, ): Effect.Effect< GetCurrentUserResponse, - | EntityNotExistsException - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; getDocument( input: GetDocumentRequest, ): Effect.Effect< GetDocumentResponse, - | EntityNotExistsException - | FailedDependencyException - | InvalidArgumentException - | InvalidPasswordException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | InvalidArgumentException | InvalidPasswordException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; getDocumentPath( input: GetDocumentPathRequest, ): Effect.Effect< GetDocumentPathResponse, - | EntityNotExistsException - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; getDocumentVersion( input: GetDocumentVersionRequest, ): Effect.Effect< GetDocumentVersionResponse, - | EntityNotExistsException - | FailedDependencyException - | InvalidPasswordException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | InvalidPasswordException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; getFolder( input: GetFolderRequest, ): Effect.Effect< GetFolderResponse, - | EntityNotExistsException - | FailedDependencyException - | InvalidArgumentException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | InvalidArgumentException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; getFolderPath( input: GetFolderPathRequest, ): Effect.Effect< GetFolderPathResponse, - | EntityNotExistsException - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + EntityNotExistsException | FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; getResources( input: GetResourcesRequest, ): Effect.Effect< GetResourcesResponse, - | FailedDependencyException - | InvalidArgumentException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + FailedDependencyException | InvalidArgumentException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; initiateDocumentVersionUpload( input: InitiateDocumentVersionUploadRequest, ): Effect.Effect< InitiateDocumentVersionUploadResponse, - | DraftUploadOutOfSyncException - | EntityAlreadyExistsException - | EntityNotExistsException - | FailedDependencyException - | InvalidArgumentException - | InvalidPasswordException - | LimitExceededException - | ProhibitedStateException - | ResourceAlreadyCheckedOutException - | ServiceUnavailableException - | StorageLimitExceededException - | StorageLimitWillExceedException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + DraftUploadOutOfSyncException | EntityAlreadyExistsException | EntityNotExistsException | FailedDependencyException | InvalidArgumentException | InvalidPasswordException | LimitExceededException | ProhibitedStateException | ResourceAlreadyCheckedOutException | ServiceUnavailableException | StorageLimitExceededException | StorageLimitWillExceedException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; removeAllResourcePermissions( input: RemoveAllResourcePermissionsRequest, ): Effect.Effect< {}, - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; removeResourcePermission( input: RemoveResourcePermissionRequest, ): Effect.Effect< {}, - | FailedDependencyException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + FailedDependencyException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; restoreDocumentVersions( input: RestoreDocumentVersionsRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | ConflictingOperationException - | EntityNotExistsException - | FailedDependencyException - | InvalidOperationException - | ProhibitedStateException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConcurrentModificationException | ConflictingOperationException | EntityNotExistsException | FailedDependencyException | InvalidOperationException | ProhibitedStateException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; searchResources( input: SearchResourcesRequest, ): Effect.Effect< SearchResourcesResponse, - | InvalidArgumentException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + InvalidArgumentException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; updateDocument( input: UpdateDocumentRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | ConflictingOperationException - | EntityAlreadyExistsException - | EntityNotExistsException - | FailedDependencyException - | LimitExceededException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConcurrentModificationException | ConflictingOperationException | EntityAlreadyExistsException | EntityNotExistsException | FailedDependencyException | LimitExceededException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; updateDocumentVersion( input: UpdateDocumentVersionRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | EntityNotExistsException - | FailedDependencyException - | InvalidOperationException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConcurrentModificationException | EntityNotExistsException | FailedDependencyException | InvalidOperationException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; updateFolder( input: UpdateFolderRequest, ): Effect.Effect< {}, - | ConcurrentModificationException - | ConflictingOperationException - | EntityAlreadyExistsException - | EntityNotExistsException - | FailedDependencyException - | LimitExceededException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + ConcurrentModificationException | ConflictingOperationException | EntityAlreadyExistsException | EntityNotExistsException | FailedDependencyException | LimitExceededException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | DeactivatingLastSystemUserException - | EntityNotExistsException - | FailedDependencyException - | IllegalUserStateException - | InvalidArgumentException - | ProhibitedStateException - | ServiceUnavailableException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError + DeactivatingLastSystemUserException | EntityNotExistsException | FailedDependencyException | IllegalUserStateException | InvalidArgumentException | ProhibitedStateException | ServiceUnavailableException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError >; } @@ -580,40 +296,7 @@ export interface Activity { } export type ActivityNamesFilterType = string; -export type ActivityType = - | "DOCUMENT_CHECKED_IN" - | "DOCUMENT_CHECKED_OUT" - | "DOCUMENT_RENAMED" - | "DOCUMENT_VERSION_UPLOADED" - | "DOCUMENT_VERSION_DELETED" - | "DOCUMENT_VERSION_VIEWED" - | "DOCUMENT_VERSION_DOWNLOADED" - | "DOCUMENT_RECYCLED" - | "DOCUMENT_RESTORED" - | "DOCUMENT_REVERTED" - | "DOCUMENT_SHARED" - | "DOCUMENT_UNSHARED" - | "DOCUMENT_SHARE_PERMISSION_CHANGED" - | "DOCUMENT_SHAREABLE_LINK_CREATED" - | "DOCUMENT_SHAREABLE_LINK_REMOVED" - | "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED" - | "DOCUMENT_MOVED" - | "DOCUMENT_COMMENT_ADDED" - | "DOCUMENT_COMMENT_DELETED" - | "DOCUMENT_ANNOTATION_ADDED" - | "DOCUMENT_ANNOTATION_DELETED" - | "FOLDER_CREATED" - | "FOLDER_DELETED" - | "FOLDER_RENAMED" - | "FOLDER_RECYCLED" - | "FOLDER_RESTORED" - | "FOLDER_SHARED" - | "FOLDER_UNSHARED" - | "FOLDER_SHARE_PERMISSION_CHANGED" - | "FOLDER_SHAREABLE_LINK_CREATED" - | "FOLDER_SHAREABLE_LINK_REMOVED" - | "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED" - | "FOLDER_MOVED"; +export type ActivityType = "DOCUMENT_CHECKED_IN" | "DOCUMENT_CHECKED_OUT" | "DOCUMENT_RENAMED" | "DOCUMENT_VERSION_UPLOADED" | "DOCUMENT_VERSION_DELETED" | "DOCUMENT_VERSION_VIEWED" | "DOCUMENT_VERSION_DOWNLOADED" | "DOCUMENT_RECYCLED" | "DOCUMENT_RESTORED" | "DOCUMENT_REVERTED" | "DOCUMENT_SHARED" | "DOCUMENT_UNSHARED" | "DOCUMENT_SHARE_PERMISSION_CHANGED" | "DOCUMENT_SHAREABLE_LINK_CREATED" | "DOCUMENT_SHAREABLE_LINK_REMOVED" | "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED" | "DOCUMENT_MOVED" | "DOCUMENT_COMMENT_ADDED" | "DOCUMENT_COMMENT_DELETED" | "DOCUMENT_ANNOTATION_ADDED" | "DOCUMENT_ANNOTATION_DELETED" | "FOLDER_CREATED" | "FOLDER_DELETED" | "FOLDER_RENAMED" | "FOLDER_RECYCLED" | "FOLDER_RESTORED" | "FOLDER_SHARED" | "FOLDER_UNSHARED" | "FOLDER_SHARE_PERMISSION_CHANGED" | "FOLDER_SHAREABLE_LINK_CREATED" | "FOLDER_SHAREABLE_LINK_REMOVED" | "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED" | "FOLDER_MOVED"; export type AdditionalResponseFieldsList = Array; export type AdditionalResponseFieldType = "WEBURL"; export interface AddResourcePermissionsRequest { @@ -666,16 +349,7 @@ export declare class ConflictingOperationException extends EffectData.TaggedErro )<{ readonly Message?: string; }> {} -export type ContentCategoryType = - | "IMAGE" - | "DOCUMENT" - | "PDF" - | "SPREADSHEET" - | "PRESENTATION" - | "AUDIO" - | "VIDEO" - | "SOURCE_CODE" - | "OTHER"; +export type ContentCategoryType = "IMAGE" | "DOCUMENT" | "PDF" | "SPREADSHEET" | "PRESENTATION" | "AUDIO" | "VIDEO" | "SOURCE_CODE" | "OTHER"; export interface CreateCommentRequest { AuthenticationToken?: string; DocumentId: string; @@ -695,7 +369,8 @@ export interface CreateCustomMetadataRequest { VersionId?: string; CustomMetadata: Record; } -export interface CreateCustomMetadataResponse {} +export interface CreateCustomMetadataResponse { +} export interface CreateFolderRequest { AuthenticationToken?: string; Name?: string; @@ -709,7 +384,8 @@ export interface CreateLabelsRequest { Labels: Array; AuthenticationToken?: string; } -export interface CreateLabelsResponse {} +export interface CreateLabelsResponse { +} export interface CreateNotificationSubscriptionRequest { OrganizationId: string; Endpoint: string; @@ -771,7 +447,8 @@ export interface DeleteCustomMetadataRequest { Keys?: Array; DeleteAll?: boolean; } -export interface DeleteCustomMetadataResponse {} +export interface DeleteCustomMetadataResponse { +} export interface DeleteDocumentRequest { AuthenticationToken?: string; DocumentId: string; @@ -796,7 +473,8 @@ export interface DeleteLabelsRequest { Labels?: Array; DeleteAll?: boolean; } -export interface DeleteLabelsResponse {} +export interface DeleteLabelsResponse { +} export interface DeleteNotificationSubscriptionRequest { SubscriptionId: string; OrganizationId: string; @@ -1136,38 +814,7 @@ export declare class InvalidPasswordException extends EffectData.TaggedError( )<{ readonly Message?: string; }> {} -export type LanguageCodeType = - | "AR" - | "BG" - | "BN" - | "DA" - | "DE" - | "CS" - | "EL" - | "EN" - | "ES" - | "FA" - | "FI" - | "FR" - | "HI" - | "HU" - | "ID" - | "IT" - | "JA" - | "KO" - | "LT" - | "LV" - | "NL" - | "NO" - | "PT" - | "RO" - | "RU" - | "SV" - | "SW" - | "TH" - | "TR" - | "ZH" - | "DEFAULT"; +export type LanguageCodeType = "AR" | "BG" | "BN" | "DA" | "DE" | "CS" | "EL" | "EN" | "ES" | "FA" | "FI" | "FR" | "HI" | "HU" | "ID" | "IT" | "JA" | "KO" | "LT" | "LV" | "NL" | "NO" | "PT" | "RO" | "RU" | "SV" | "SW" | "TH" | "TR" | "ZH" | "DEFAULT"; export declare class LimitExceededException extends EffectData.TaggedError( "LimitExceededException", )<{ @@ -1175,18 +822,7 @@ export declare class LimitExceededException extends EffectData.TaggedError( }> {} export type LimitType = number; -export type LocaleType = - | "en" - | "fr" - | "ko" - | "de" - | "es" - | "ja" - | "ru" - | "zh_CN" - | "zh_TW" - | "pt_BR" - | "default"; +export type LocaleType = "en" | "fr" | "ko" | "de" | "es" | "ja" | "ru" | "zh_CN" | "zh_TW" | "pt_BR" | "default"; export interface LongRangeType { StartValue?: number; EndValue?: number; @@ -1203,12 +839,7 @@ export interface NotificationOptions { SendEmail?: boolean; EmailMessage?: string; } -export type OrderByFieldType = - | "RELEVANCE" - | "NAME" - | "SIZE" - | "CREATED_TIMESTAMP" - | "MODIFIED_TIMESTAMP"; +export type OrderByFieldType = "RELEVANCE" | "NAME" | "SIZE" | "CREATED_TIMESTAMP" | "MODIFIED_TIMESTAMP"; export type OrderType = "ASCENDING" | "DESCENDING"; export type OrganizationUserList = Array; export type PageMarkerType = string; @@ -1235,12 +866,7 @@ export interface Principal { } export type PrincipalList = Array; export type PrincipalRoleType = "VIEWER" | "CONTRIBUTOR" | "OWNER" | "COOWNER"; -export type PrincipalType = - | "USER" - | "GROUP" - | "INVITE" - | "ANONYMOUS" - | "ORGANIZATION"; +export type PrincipalType = "USER" | "GROUP" | "INVITE" | "ANONYMOUS" | "ORGANIZATION"; export declare class ProhibitedStateException extends EffectData.TaggedError( "ProhibitedStateException", )<{ @@ -1289,11 +915,7 @@ export interface ResourcePathComponent { } export type ResourcePathComponentList = Array; export type ResourceSortType = "DATE" | "NAME"; -export type ResourceStateType = - | "ACTIVE" - | "RESTORING" - | "RECYCLING" - | "RECYCLED"; +export type ResourceStateType = "ACTIVE" | "RESTORING" | "RECYCLING" | "RECYCLED"; export type ResourceType = "FOLDER" | "DOCUMENT"; export interface ResponseItem { ResourceType?: ResponseItemType; @@ -1304,11 +926,7 @@ export interface ResponseItem { DocumentVersionMetadata?: DocumentVersionMetadata; } export type ResponseItemsList = Array; -export type ResponseItemType = - | "DOCUMENT" - | "FOLDER" - | "COMMENT" - | "DOCUMENT_VERSION"; +export type ResponseItemType = "DOCUMENT" | "FOLDER" | "COMMENT" | "DOCUMENT_VERSION"; export type ResponseItemWebUrl = string; export interface RestoreDocumentVersionsRequest { @@ -1353,11 +971,7 @@ export interface SearchResourcesResponse { Items?: Array; Marker?: string; } -export type SearchResourceType = - | "FOLDER" - | "DOCUMENT" - | "COMMENT" - | "DOCUMENT_VERSION"; +export type SearchResourceType = "FOLDER" | "DOCUMENT" | "COMMENT" | "DOCUMENT_VERSION"; export type SearchResourceTypeList = Array; export type SearchResultsLimitType = number; @@ -1518,23 +1132,13 @@ export interface UserMetadata { export type UserMetadataList = Array; export type UsernameType = string; -export type UserSortType = - | "USER_NAME" - | "FULL_NAME" - | "STORAGE_LIMIT" - | "USER_STATUS" - | "STORAGE_USED"; +export type UserSortType = "USER_NAME" | "FULL_NAME" | "STORAGE_LIMIT" | "USER_STATUS" | "STORAGE_USED"; export type UserStatusType = "ACTIVE" | "INACTIVE" | "PENDING"; export interface UserStorageMetadata { StorageUtilizedInBytes?: number; StorageRule?: StorageRuleType; } -export type UserType = - | "USER" - | "ADMIN" - | "POWERUSER" - | "MINIMALUSER" - | "WORKSPACESUSER"; +export type UserType = "USER" | "ADMIN" | "POWERUSER" | "MINIMALUSER" | "WORKSPACESUSER"; export declare namespace AbortDocumentVersionUpload { export type Input = AbortDocumentVersionUploadRequest; export type Output = {}; @@ -2127,30 +1731,5 @@ export declare namespace UpdateUser { | CommonAwsError; } -export type WorkDocsErrors = - | ConcurrentModificationException - | ConflictingOperationException - | CustomMetadataLimitExceededException - | DeactivatingLastSystemUserException - | DocumentLockedForCommentsException - | DraftUploadOutOfSyncException - | EntityAlreadyExistsException - | EntityNotExistsException - | FailedDependencyException - | IllegalUserStateException - | InvalidArgumentException - | InvalidCommentOperationException - | InvalidOperationException - | InvalidPasswordException - | LimitExceededException - | ProhibitedStateException - | RequestedEntityTooLargeException - | ResourceAlreadyCheckedOutException - | ServiceUnavailableException - | StorageLimitExceededException - | StorageLimitWillExceedException - | TooManyLabelsException - | TooManySubscriptionsException - | UnauthorizedOperationException - | UnauthorizedResourceAccessException - | CommonAwsError; +export type WorkDocsErrors = ConcurrentModificationException | ConflictingOperationException | CustomMetadataLimitExceededException | DeactivatingLastSystemUserException | DocumentLockedForCommentsException | DraftUploadOutOfSyncException | EntityAlreadyExistsException | EntityNotExistsException | FailedDependencyException | IllegalUserStateException | InvalidArgumentException | InvalidCommentOperationException | InvalidOperationException | InvalidPasswordException | LimitExceededException | ProhibitedStateException | RequestedEntityTooLargeException | ResourceAlreadyCheckedOutException | ServiceUnavailableException | StorageLimitExceededException | StorageLimitWillExceedException | TooManyLabelsException | TooManySubscriptionsException | UnauthorizedOperationException | UnauthorizedResourceAccessException | CommonAwsError; + diff --git a/src/services/workmail/index.ts b/src/services/workmail/index.ts index b1e38bbb..d99c9c52 100644 --- a/src/services/workmail/index.ts +++ b/src/services/workmail/index.ts @@ -5,26 +5,7 @@ import type { WorkMail as _WorkMailClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/workmail/types.ts b/src/services/workmail/types.ts index 13a76b8c..c94e2e72 100644 --- a/src/services/workmail/types.ts +++ b/src/services/workmail/types.ts @@ -7,87 +7,43 @@ export declare class WorkMail extends AWSServiceClient { input: AssociateDelegateToResourceRequest, ): Effect.Effect< AssociateDelegateToResourceResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; associateMemberToGroup( input: AssociateMemberToGroupRequest, ): Effect.Effect< AssociateMemberToGroupResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; assumeImpersonationRole( input: AssumeImpersonationRoleRequest, ): Effect.Effect< AssumeImpersonationRoleResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; cancelMailboxExportJob( input: CancelMailboxExportJobRequest, ): Effect.Effect< CancelMailboxExportJobResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; createAlias( input: CreateAliasRequest, ): Effect.Effect< CreateAliasResponse, - | EmailAddressInUseException - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | LimitExceededException - | MailDomainNotFoundException - | MailDomainStateException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EmailAddressInUseException | EntityNotFoundException | EntityStateException | InvalidParameterException | LimitExceededException | MailDomainNotFoundException | MailDomainStateException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; createAvailabilityConfiguration( input: CreateAvailabilityConfigurationRequest, ): Effect.Effect< CreateAvailabilityConfigurationResponse, - | InvalidParameterException - | LimitExceededException - | NameAvailabilityException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | LimitExceededException | NameAvailabilityException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; createGroup( input: CreateGroupRequest, ): Effect.Effect< CreateGroupResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | InvalidParameterException - | NameAvailabilityException - | OrganizationNotFoundException - | OrganizationStateException - | ReservedNameException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | InvalidParameterException | NameAvailabilityException | OrganizationNotFoundException | OrganizationStateException | ReservedNameException | UnsupportedOperationException | CommonAwsError >; createIdentityCenterApplication( input: CreateIdentityCenterApplicationRequest, @@ -99,63 +55,31 @@ export declare class WorkMail extends AWSServiceClient { input: CreateImpersonationRoleRequest, ): Effect.Effect< CreateImpersonationRoleResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | LimitExceededException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | LimitExceededException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; createMobileDeviceAccessRule( input: CreateMobileDeviceAccessRuleRequest, ): Effect.Effect< CreateMobileDeviceAccessRuleResponse, - | InvalidParameterException - | LimitExceededException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | LimitExceededException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; createOrganization( input: CreateOrganizationRequest, ): Effect.Effect< CreateOrganizationResponse, - | DirectoryInUseException - | DirectoryUnavailableException - | InvalidParameterException - | LimitExceededException - | NameAvailabilityException - | CommonAwsError + DirectoryInUseException | DirectoryUnavailableException | InvalidParameterException | LimitExceededException | NameAvailabilityException | CommonAwsError >; createResource( input: CreateResourceRequest, ): Effect.Effect< CreateResourceResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | InvalidParameterException - | NameAvailabilityException - | OrganizationNotFoundException - | OrganizationStateException - | ReservedNameException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | InvalidParameterException | NameAvailabilityException | OrganizationNotFoundException | OrganizationStateException | ReservedNameException | UnsupportedOperationException | CommonAwsError >; createUser( input: CreateUserRequest, ): Effect.Effect< CreateUserResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | InvalidParameterException - | InvalidPasswordException - | NameAvailabilityException - | OrganizationNotFoundException - | OrganizationStateException - | ReservedNameException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | InvalidParameterException | InvalidPasswordException | NameAvailabilityException | OrganizationNotFoundException | OrganizationStateException | ReservedNameException | UnsupportedOperationException | CommonAwsError >; deleteAccessControlRule( input: DeleteAccessControlRuleRequest, @@ -167,12 +91,7 @@ export declare class WorkMail extends AWSServiceClient { input: DeleteAliasRequest, ): Effect.Effect< DeleteAliasResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deleteAvailabilityConfiguration( input: DeleteAvailabilityConfigurationRequest, @@ -184,23 +103,13 @@ export declare class WorkMail extends AWSServiceClient { input: DeleteEmailMonitoringConfigurationRequest, ): Effect.Effect< DeleteEmailMonitoringConfigurationResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deleteGroup( input: DeleteGroupRequest, ): Effect.Effect< DeleteGroupResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; deleteIdentityCenterApplication( input: DeleteIdentityCenterApplicationRequest, @@ -212,162 +121,97 @@ export declare class WorkMail extends AWSServiceClient { input: DeleteIdentityProviderConfigurationRequest, ): Effect.Effect< DeleteIdentityProviderConfigurationResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deleteImpersonationRole( input: DeleteImpersonationRoleRequest, ): Effect.Effect< DeleteImpersonationRoleResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deleteMailboxPermissions( input: DeleteMailboxPermissionsRequest, ): Effect.Effect< DeleteMailboxPermissionsResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deleteMobileDeviceAccessOverride( input: DeleteMobileDeviceAccessOverrideRequest, ): Effect.Effect< DeleteMobileDeviceAccessOverrideResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deleteMobileDeviceAccessRule( input: DeleteMobileDeviceAccessRuleRequest, ): Effect.Effect< DeleteMobileDeviceAccessRuleResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deleteOrganization( input: DeleteOrganizationRequest, ): Effect.Effect< DeleteOrganizationResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deletePersonalAccessToken( input: DeletePersonalAccessTokenRequest, ): Effect.Effect< DeletePersonalAccessTokenResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deleteResource( input: DeleteResourceRequest, ): Effect.Effect< DeleteResourceResponse, - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; deleteRetentionPolicy( input: DeleteRetentionPolicyRequest, ): Effect.Effect< DeleteRetentionPolicyResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deleteUser( input: DeleteUserRequest, ): Effect.Effect< DeleteUserResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; deregisterFromWorkMail( input: DeregisterFromWorkMailRequest, ): Effect.Effect< DeregisterFromWorkMailResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; deregisterMailDomain( input: DeregisterMailDomainRequest, ): Effect.Effect< DeregisterMailDomainResponse, - | InvalidCustomSesConfigurationException - | InvalidParameterException - | MailDomainInUseException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidCustomSesConfigurationException | InvalidParameterException | MailDomainInUseException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; describeEmailMonitoringConfiguration( input: DescribeEmailMonitoringConfigurationRequest, ): Effect.Effect< DescribeEmailMonitoringConfigurationResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; describeEntity( input: DescribeEntityRequest, ): Effect.Effect< DescribeEntityResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; describeGroup( input: DescribeGroupRequest, ): Effect.Effect< DescribeGroupResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; describeIdentityProviderConfiguration( input: DescribeIdentityProviderConfigurationRequest, ): Effect.Effect< DescribeIdentityProviderConfigurationResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; describeInboundDmarcSettings( input: DescribeInboundDmarcSettingsRequest, @@ -379,11 +223,7 @@ export declare class WorkMail extends AWSServiceClient { input: DescribeMailboxExportJobRequest, ): Effect.Effect< DescribeMailboxExportJobResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; describeOrganization( input: DescribeOrganizationRequest, @@ -395,143 +235,79 @@ export declare class WorkMail extends AWSServiceClient { input: DescribeResourceRequest, ): Effect.Effect< DescribeResourceResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; describeUser( input: DescribeUserRequest, ): Effect.Effect< DescribeUserResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; disassociateDelegateFromResource( input: DisassociateDelegateFromResourceRequest, ): Effect.Effect< DisassociateDelegateFromResourceResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; disassociateMemberFromGroup( input: DisassociateMemberFromGroupRequest, ): Effect.Effect< DisassociateMemberFromGroupResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; getAccessControlEffect( input: GetAccessControlEffectRequest, ): Effect.Effect< GetAccessControlEffectResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; getDefaultRetentionPolicy( input: GetDefaultRetentionPolicyRequest, ): Effect.Effect< GetDefaultRetentionPolicyResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; getImpersonationRole( input: GetImpersonationRoleRequest, ): Effect.Effect< GetImpersonationRoleResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; getImpersonationRoleEffect( input: GetImpersonationRoleEffectRequest, ): Effect.Effect< GetImpersonationRoleEffectResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; getMailboxDetails( input: GetMailboxDetailsRequest, ): Effect.Effect< GetMailboxDetailsResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; getMailDomain( input: GetMailDomainRequest, ): Effect.Effect< GetMailDomainResponse, - | InvalidParameterException - | MailDomainNotFoundException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | MailDomainNotFoundException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; getMobileDeviceAccessEffect( input: GetMobileDeviceAccessEffectRequest, ): Effect.Effect< GetMobileDeviceAccessEffectResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; getMobileDeviceAccessOverride( input: GetMobileDeviceAccessOverrideRequest, ): Effect.Effect< GetMobileDeviceAccessOverrideResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; getPersonalAccessTokenMetadata( input: GetPersonalAccessTokenMetadataRequest, ): Effect.Effect< GetPersonalAccessTokenMetadataResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; listAccessControlRules( input: ListAccessControlRulesRequest, @@ -543,109 +319,67 @@ export declare class WorkMail extends AWSServiceClient { input: ListAliasesRequest, ): Effect.Effect< ListAliasesResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listAvailabilityConfigurations( input: ListAvailabilityConfigurationsRequest, ): Effect.Effect< ListAvailabilityConfigurationsResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listGroupMembers( input: ListGroupMembersRequest, ): Effect.Effect< ListGroupMembersResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listGroups( input: ListGroupsRequest, ): Effect.Effect< ListGroupsResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listGroupsForEntity( input: ListGroupsForEntityRequest, ): Effect.Effect< ListGroupsForEntityResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listImpersonationRoles( input: ListImpersonationRolesRequest, ): Effect.Effect< ListImpersonationRolesResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listMailboxExportJobs( input: ListMailboxExportJobsRequest, ): Effect.Effect< ListMailboxExportJobsResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listMailboxPermissions( input: ListMailboxPermissionsRequest, ): Effect.Effect< ListMailboxPermissionsResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listMailDomains( input: ListMailDomainsRequest, ): Effect.Effect< ListMailDomainsResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listMobileDeviceAccessOverrides( input: ListMobileDeviceAccessOverridesRequest, ): Effect.Effect< ListMobileDeviceAccessOverridesResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listMobileDeviceAccessRules( input: ListMobileDeviceAccessRulesRequest, ): Effect.Effect< ListMobileDeviceAccessRulesResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listOrganizations( input: ListOrganizationsRequest, @@ -657,34 +391,19 @@ export declare class WorkMail extends AWSServiceClient { input: ListPersonalAccessTokensRequest, ): Effect.Effect< ListPersonalAccessTokensResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; listResourceDelegates( input: ListResourceDelegatesRequest, ): Effect.Effect< ListResourceDelegatesResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; listResources( input: ListResourcesRequest, ): Effect.Effect< ListResourcesResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, @@ -696,42 +415,25 @@ export declare class WorkMail extends AWSServiceClient { input: ListUsersRequest, ): Effect.Effect< ListUsersResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; putAccessControlRule( input: PutAccessControlRuleRequest, ): Effect.Effect< PutAccessControlRuleResponse, - | EntityNotFoundException - | InvalidParameterException - | LimitExceededException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | LimitExceededException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; putEmailMonitoringConfiguration( input: PutEmailMonitoringConfigurationRequest, ): Effect.Effect< PutEmailMonitoringConfigurationResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; putIdentityProviderConfiguration( input: PutIdentityProviderConfigurationRequest, ): Effect.Effect< PutIdentityProviderConfigurationResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; putInboundDmarcSettings( input: PutInboundDmarcSettingsRequest, @@ -743,108 +445,55 @@ export declare class WorkMail extends AWSServiceClient { input: PutMailboxPermissionsRequest, ): Effect.Effect< PutMailboxPermissionsResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; putMobileDeviceAccessOverride( input: PutMobileDeviceAccessOverrideRequest, ): Effect.Effect< PutMobileDeviceAccessOverrideResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; putRetentionPolicy( input: PutRetentionPolicyRequest, ): Effect.Effect< PutRetentionPolicyResponse, - | InvalidParameterException - | LimitExceededException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | LimitExceededException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; registerMailDomain( input: RegisterMailDomainRequest, ): Effect.Effect< RegisterMailDomainResponse, - | InvalidParameterException - | LimitExceededException - | MailDomainInUseException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | LimitExceededException | MailDomainInUseException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; registerToWorkMail( input: RegisterToWorkMailRequest, ): Effect.Effect< RegisterToWorkMailResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EmailAddressInUseException - | EntityAlreadyRegisteredException - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | MailDomainNotFoundException - | MailDomainStateException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EmailAddressInUseException | EntityAlreadyRegisteredException | EntityNotFoundException | EntityStateException | InvalidParameterException | MailDomainNotFoundException | MailDomainStateException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; resetPassword( input: ResetPasswordRequest, ): Effect.Effect< ResetPasswordResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | InvalidPasswordException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EntityNotFoundException | EntityStateException | InvalidParameterException | InvalidPasswordException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; startMailboxExportJob( input: StartMailboxExportJobRequest, ): Effect.Effect< StartMailboxExportJobResponse, - | EntityNotFoundException - | InvalidParameterException - | LimitExceededException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | LimitExceededException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidParameterException - | OrganizationStateException - | ResourceNotFoundException - | TooManyTagsException - | CommonAwsError + InvalidParameterException | OrganizationStateException | ResourceNotFoundException | TooManyTagsException | CommonAwsError >; testAvailabilityConfiguration( input: TestAvailabilityConfigurationRequest, ): Effect.Effect< TestAvailabilityConfigurationResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; untagResource( input: UntagResourceRequest, @@ -856,117 +505,55 @@ export declare class WorkMail extends AWSServiceClient { input: UpdateAvailabilityConfigurationRequest, ): Effect.Effect< UpdateAvailabilityConfigurationResponse, - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; updateDefaultMailDomain( input: UpdateDefaultMailDomainRequest, ): Effect.Effect< UpdateDefaultMailDomainResponse, - | InvalidParameterException - | MailDomainNotFoundException - | MailDomainStateException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + InvalidParameterException | MailDomainNotFoundException | MailDomainStateException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; updateGroup( input: UpdateGroupRequest, ): Effect.Effect< UpdateGroupResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; updateImpersonationRole( input: UpdateImpersonationRoleRequest, ): Effect.Effect< UpdateImpersonationRoleResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | LimitExceededException - | OrganizationNotFoundException - | OrganizationStateException - | ResourceNotFoundException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | LimitExceededException | OrganizationNotFoundException | OrganizationStateException | ResourceNotFoundException | CommonAwsError >; updateMailboxQuota( input: UpdateMailboxQuotaRequest, ): Effect.Effect< UpdateMailboxQuotaResponse, - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; updateMobileDeviceAccessRule( input: UpdateMobileDeviceAccessRuleRequest, ): Effect.Effect< UpdateMobileDeviceAccessRuleResponse, - | EntityNotFoundException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | CommonAwsError + EntityNotFoundException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | CommonAwsError >; updatePrimaryEmailAddress( input: UpdatePrimaryEmailAddressRequest, ): Effect.Effect< UpdatePrimaryEmailAddressResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EmailAddressInUseException - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | MailDomainNotFoundException - | MailDomainStateException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EmailAddressInUseException | EntityNotFoundException | EntityStateException | InvalidParameterException | MailDomainNotFoundException | MailDomainStateException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; updateResource( input: UpdateResourceRequest, ): Effect.Effect< UpdateResourceResponse, - | DirectoryUnavailableException - | EmailAddressInUseException - | EntityNotFoundException - | EntityStateException - | InvalidConfigurationException - | InvalidParameterException - | MailDomainNotFoundException - | MailDomainStateException - | NameAvailabilityException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + DirectoryUnavailableException | EmailAddressInUseException | EntityNotFoundException | EntityStateException | InvalidConfigurationException | InvalidParameterException | MailDomainNotFoundException | MailDomainStateException | NameAvailabilityException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; updateUser( input: UpdateUserRequest, ): Effect.Effect< UpdateUserResponse, - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EntityNotFoundException - | EntityStateException - | InvalidParameterException - | OrganizationNotFoundException - | OrganizationStateException - | UnsupportedOperationException - | CommonAwsError + DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EntityNotFoundException | EntityStateException | InvalidParameterException | OrganizationNotFoundException | OrganizationStateException | UnsupportedOperationException | CommonAwsError >; } @@ -1008,13 +595,15 @@ export interface AssociateDelegateToResourceRequest { ResourceId: string; EntityId: string; } -export interface AssociateDelegateToResourceResponse {} +export interface AssociateDelegateToResourceResponse { +} export interface AssociateMemberToGroupRequest { OrganizationId: string; GroupId: string; MemberId: string; } -export interface AssociateMemberToGroupResponse {} +export interface AssociateMemberToGroupResponse { +} export interface AssumeImpersonationRoleRequest { OrganizationId: string; ImpersonationRoleId: string; @@ -1047,13 +636,15 @@ export interface CancelMailboxExportJobRequest { JobId: string; OrganizationId: string; } -export interface CancelMailboxExportJobResponse {} +export interface CancelMailboxExportJobResponse { +} export interface CreateAliasRequest { OrganizationId: string; EntityId: string; Alias: string; } -export interface CreateAliasResponse {} +export interface CreateAliasResponse { +} export interface CreateAvailabilityConfigurationRequest { ClientToken?: string; OrganizationId: string; @@ -1061,7 +652,8 @@ export interface CreateAvailabilityConfigurationRequest { EwsProvider?: EwsAvailabilityProvider; LambdaProvider?: LambdaAvailabilityProvider; } -export interface CreateAvailabilityConfigurationResponse {} +export interface CreateAvailabilityConfigurationResponse { +} export interface CreateGroupRequest { OrganizationId: string; Name: string; @@ -1150,57 +742,68 @@ export interface DeleteAccessControlRuleRequest { OrganizationId: string; Name: string; } -export interface DeleteAccessControlRuleResponse {} +export interface DeleteAccessControlRuleResponse { +} export interface DeleteAliasRequest { OrganizationId: string; EntityId: string; Alias: string; } -export interface DeleteAliasResponse {} +export interface DeleteAliasResponse { +} export interface DeleteAvailabilityConfigurationRequest { OrganizationId: string; DomainName: string; } -export interface DeleteAvailabilityConfigurationResponse {} +export interface DeleteAvailabilityConfigurationResponse { +} export interface DeleteEmailMonitoringConfigurationRequest { OrganizationId: string; } -export interface DeleteEmailMonitoringConfigurationResponse {} +export interface DeleteEmailMonitoringConfigurationResponse { +} export interface DeleteGroupRequest { OrganizationId: string; GroupId: string; } -export interface DeleteGroupResponse {} +export interface DeleteGroupResponse { +} export interface DeleteIdentityCenterApplicationRequest { ApplicationArn: string; } -export interface DeleteIdentityCenterApplicationResponse {} +export interface DeleteIdentityCenterApplicationResponse { +} export interface DeleteIdentityProviderConfigurationRequest { OrganizationId: string; } -export interface DeleteIdentityProviderConfigurationResponse {} +export interface DeleteIdentityProviderConfigurationResponse { +} export interface DeleteImpersonationRoleRequest { OrganizationId: string; ImpersonationRoleId: string; } -export interface DeleteImpersonationRoleResponse {} +export interface DeleteImpersonationRoleResponse { +} export interface DeleteMailboxPermissionsRequest { OrganizationId: string; EntityId: string; GranteeId: string; } -export interface DeleteMailboxPermissionsResponse {} +export interface DeleteMailboxPermissionsResponse { +} export interface DeleteMobileDeviceAccessOverrideRequest { OrganizationId: string; UserId: string; DeviceId: string; } -export interface DeleteMobileDeviceAccessOverrideResponse {} +export interface DeleteMobileDeviceAccessOverrideResponse { +} export interface DeleteMobileDeviceAccessRuleRequest { OrganizationId: string; MobileDeviceAccessRuleId: string; } -export interface DeleteMobileDeviceAccessRuleResponse {} +export interface DeleteMobileDeviceAccessRuleResponse { +} export interface DeleteOrganizationRequest { ClientToken?: string; OrganizationId: string; @@ -1216,32 +819,38 @@ export interface DeletePersonalAccessTokenRequest { OrganizationId: string; PersonalAccessTokenId: string; } -export interface DeletePersonalAccessTokenResponse {} +export interface DeletePersonalAccessTokenResponse { +} export interface DeleteResourceRequest { OrganizationId: string; ResourceId: string; } -export interface DeleteResourceResponse {} +export interface DeleteResourceResponse { +} export interface DeleteRetentionPolicyRequest { OrganizationId: string; Id: string; } -export interface DeleteRetentionPolicyResponse {} +export interface DeleteRetentionPolicyResponse { +} export interface DeleteUserRequest { OrganizationId: string; UserId: string; } -export interface DeleteUserResponse {} +export interface DeleteUserResponse { +} export interface DeregisterFromWorkMailRequest { OrganizationId: string; EntityId: string; } -export interface DeregisterFromWorkMailResponse {} +export interface DeregisterFromWorkMailResponse { +} export interface DeregisterMailDomainRequest { OrganizationId: string; DomainName: string; } -export interface DeregisterMailDomainResponse {} +export interface DeregisterMailDomainResponse { +} export interface DescribeEmailMonitoringConfigurationRequest { OrganizationId: string; } @@ -1404,13 +1013,15 @@ export interface DisassociateDelegateFromResourceRequest { ResourceId: string; EntityId: string; } -export interface DisassociateDelegateFromResourceResponse {} +export interface DisassociateDelegateFromResourceResponse { +} export interface DisassociateMemberFromGroupRequest { OrganizationId: string; GroupId: string; MemberId: string; } -export interface DisassociateMemberFromGroupResponse {} +export interface DisassociateMemberFromGroupResponse { +} export interface DnsRecord { Type?: string; Hostname?: string; @@ -1466,12 +1077,7 @@ export interface FolderConfiguration { Period?: number; } export type FolderConfigurations = Array; -export type FolderName = - | "INBOX" - | "DELETED_ITEMS" - | "SENT_ITEMS" - | "DRAFTS" - | "JUNK_EMAIL"; +export type FolderName = "INBOX" | "DELETED_ITEMS" | "SENT_ITEMS" | "DRAFTS" | "JUNK_EMAIL"; export interface GetAccessControlEffectRequest { OrganizationId: string; IpAddress: string; @@ -1597,9 +1203,7 @@ export interface IdentityCenterConfiguration { InstanceArn: string; ApplicationArn: string; } -export type IdentityProviderAuthenticationMode = - | "IDENTITY_PROVIDER_ONLY" - | "IDENTITY_PROVIDER_AND_DIRECTORY"; +export type IdentityProviderAuthenticationMode = "IDENTITY_PROVIDER_ONLY" | "IDENTITY_PROVIDER_AND_DIRECTORY"; export type IdentityProviderIdentityStoreId = string; export type IdentityProviderUserId = string; @@ -1887,11 +1491,7 @@ export interface MailboxExportJob { } export type MailboxExportJobId = string; -export type MailboxExportJobState = - | "RUNNING" - | "COMPLETED" - | "FAILED" - | "CANCELLED"; +export type MailboxExportJobState = "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED"; export type MailboxQuota = number; export type MailboxSize = number; @@ -1932,8 +1532,7 @@ export interface MobileDeviceAccessMatchedRule { MobileDeviceAccessRuleId?: string; Name?: string; } -export type MobileDeviceAccessMatchedRuleList = - Array; +export type MobileDeviceAccessMatchedRuleList = Array; export interface MobileDeviceAccessOverride { UserId?: string; DeviceId?: string; @@ -2050,32 +1649,37 @@ export interface PutAccessControlRuleRequest { ImpersonationRoleIds?: Array; NotImpersonationRoleIds?: Array; } -export interface PutAccessControlRuleResponse {} +export interface PutAccessControlRuleResponse { +} export interface PutEmailMonitoringConfigurationRequest { OrganizationId: string; RoleArn?: string; LogGroupArn: string; } -export interface PutEmailMonitoringConfigurationResponse {} +export interface PutEmailMonitoringConfigurationResponse { +} export interface PutIdentityProviderConfigurationRequest { OrganizationId: string; AuthenticationMode: IdentityProviderAuthenticationMode; IdentityCenterConfiguration: IdentityCenterConfiguration; PersonalAccessTokenConfiguration: PersonalAccessTokenConfiguration; } -export interface PutIdentityProviderConfigurationResponse {} +export interface PutIdentityProviderConfigurationResponse { +} export interface PutInboundDmarcSettingsRequest { OrganizationId: string; Enforced: boolean; } -export interface PutInboundDmarcSettingsResponse {} +export interface PutInboundDmarcSettingsResponse { +} export interface PutMailboxPermissionsRequest { OrganizationId: string; EntityId: string; GranteeId: string; PermissionValues: Array; } -export interface PutMailboxPermissionsResponse {} +export interface PutMailboxPermissionsResponse { +} export interface PutMobileDeviceAccessOverrideRequest { OrganizationId: string; UserId: string; @@ -2083,7 +1687,8 @@ export interface PutMobileDeviceAccessOverrideRequest { Effect: MobileDeviceAccessRuleEffect; Description?: string; } -export interface PutMobileDeviceAccessOverrideResponse {} +export interface PutMobileDeviceAccessOverrideResponse { +} export interface PutRetentionPolicyRequest { OrganizationId: string; Id?: string; @@ -2091,7 +1696,8 @@ export interface PutRetentionPolicyRequest { Description?: string; FolderConfigurations: Array; } -export interface PutRetentionPolicyResponse {} +export interface PutRetentionPolicyResponse { +} export interface RedactedEwsAvailabilityProvider { EwsEndpoint?: string; EwsUsername?: string; @@ -2101,13 +1707,15 @@ export interface RegisterMailDomainRequest { OrganizationId: string; DomainName: string; } -export interface RegisterMailDomainResponse {} +export interface RegisterMailDomainResponse { +} export interface RegisterToWorkMailRequest { OrganizationId: string; EntityId: string; Email: string; } -export interface RegisterToWorkMailResponse {} +export interface RegisterToWorkMailResponse { +} export declare class ReservedNameException extends EffectData.TaggedError( "ReservedNameException", )<{ @@ -2118,7 +1726,8 @@ export interface ResetPasswordRequest { UserId: string; Password: string; } -export interface ResetPasswordResponse {} +export interface ResetPasswordResponse { +} export interface Resource { Id?: string; Email?: string; @@ -2181,7 +1790,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export type TargetUsers = Array; @@ -2211,25 +1821,29 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateAvailabilityConfigurationRequest { OrganizationId: string; DomainName: string; EwsProvider?: EwsAvailabilityProvider; LambdaProvider?: LambdaAvailabilityProvider; } -export interface UpdateAvailabilityConfigurationResponse {} +export interface UpdateAvailabilityConfigurationResponse { +} export interface UpdateDefaultMailDomainRequest { OrganizationId: string; DomainName: string; } -export interface UpdateDefaultMailDomainResponse {} +export interface UpdateDefaultMailDomainResponse { +} export interface UpdateGroupRequest { OrganizationId: string; GroupId: string; HiddenFromGlobalAddressList?: boolean; } -export interface UpdateGroupResponse {} +export interface UpdateGroupResponse { +} export interface UpdateImpersonationRoleRequest { OrganizationId: string; ImpersonationRoleId: string; @@ -2238,13 +1852,15 @@ export interface UpdateImpersonationRoleRequest { Description?: string; Rules: Array; } -export interface UpdateImpersonationRoleResponse {} +export interface UpdateImpersonationRoleResponse { +} export interface UpdateMailboxQuotaRequest { OrganizationId: string; UserId: string; MailboxQuota: number; } -export interface UpdateMailboxQuotaResponse {} +export interface UpdateMailboxQuotaResponse { +} export interface UpdateMobileDeviceAccessRuleRequest { OrganizationId: string; MobileDeviceAccessRuleId: string; @@ -2260,13 +1876,15 @@ export interface UpdateMobileDeviceAccessRuleRequest { DeviceUserAgents?: Array; NotDeviceUserAgents?: Array; } -export interface UpdateMobileDeviceAccessRuleResponse {} +export interface UpdateMobileDeviceAccessRuleResponse { +} export interface UpdatePrimaryEmailAddressRequest { OrganizationId: string; EntityId: string; Email: string; } -export interface UpdatePrimaryEmailAddressResponse {} +export interface UpdatePrimaryEmailAddressResponse { +} export interface UpdateResourceRequest { OrganizationId: string; ResourceId: string; @@ -2276,7 +1894,8 @@ export interface UpdateResourceRequest { Type?: ResourceType; HiddenFromGlobalAddressList?: boolean; } -export interface UpdateResourceResponse {} +export interface UpdateResourceResponse { +} export interface UpdateUserRequest { OrganizationId: string; UserId: string; @@ -2297,7 +1916,8 @@ export interface UpdateUserRequest { Office?: string; IdentityProviderUserId?: string; } -export interface UpdateUserResponse {} +export interface UpdateUserResponse { +} export type Url = string; export interface User { @@ -2419,7 +2039,9 @@ export declare namespace CreateGroup { export declare namespace CreateIdentityCenterApplication { export type Input = CreateIdentityCenterApplicationRequest; export type Output = CreateIdentityCenterApplicationResponse; - export type Error = InvalidParameterException | CommonAwsError; + export type Error = + | InvalidParameterException + | CommonAwsError; } export declare namespace CreateImpersonationRole { @@ -3044,7 +2666,9 @@ export declare namespace ListMobileDeviceAccessRules { export declare namespace ListOrganizations { export type Input = ListOrganizationsRequest; export type Output = ListOrganizationsResponse; - export type Error = InvalidParameterException | CommonAwsError; + export type Error = + | InvalidParameterException + | CommonAwsError; } export declare namespace ListPersonalAccessTokens { @@ -3086,7 +2710,9 @@ export declare namespace ListResources { export declare namespace ListTagsForResource { export type Input = ListTagsForResourceRequest; export type Output = ListTagsForResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace ListUsers { @@ -3262,7 +2888,9 @@ export declare namespace TestAvailabilityConfiguration { export declare namespace UntagResource { export type Input = UntagResourceRequest; export type Output = UntagResourceResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace UpdateAvailabilityConfiguration { @@ -3390,27 +3018,5 @@ export declare namespace UpdateUser { | CommonAwsError; } -export type WorkMailErrors = - | DirectoryInUseException - | DirectoryServiceAuthenticationFailedException - | DirectoryUnavailableException - | EmailAddressInUseException - | EntityAlreadyRegisteredException - | EntityNotFoundException - | EntityStateException - | InvalidConfigurationException - | InvalidCustomSesConfigurationException - | InvalidParameterException - | InvalidPasswordException - | LimitExceededException - | MailDomainInUseException - | MailDomainNotFoundException - | MailDomainStateException - | NameAvailabilityException - | OrganizationNotFoundException - | OrganizationStateException - | ReservedNameException - | ResourceNotFoundException - | TooManyTagsException - | UnsupportedOperationException - | CommonAwsError; +export type WorkMailErrors = DirectoryInUseException | DirectoryServiceAuthenticationFailedException | DirectoryUnavailableException | EmailAddressInUseException | EntityAlreadyRegisteredException | EntityNotFoundException | EntityStateException | InvalidConfigurationException | InvalidCustomSesConfigurationException | InvalidParameterException | InvalidPasswordException | LimitExceededException | MailDomainInUseException | MailDomainNotFoundException | MailDomainStateException | NameAvailabilityException | OrganizationNotFoundException | OrganizationStateException | ReservedNameException | ResourceNotFoundException | TooManyTagsException | UnsupportedOperationException | CommonAwsError; + diff --git a/src/services/workmailmessageflow/index.ts b/src/services/workmailmessageflow/index.ts index 8bac1efb..6161326a 100644 --- a/src/services/workmailmessageflow/index.ts +++ b/src/services/workmailmessageflow/index.ts @@ -5,26 +5,7 @@ import type { WorkMailMessageFlow as _WorkMailMessageFlowClient } from "./types. export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,13 +15,13 @@ const metadata = { sigV4ServiceName: "workmailmessageflow", endpointPrefix: "workmailmessageflow", operations: { - GetRawMessageContent: { + "GetRawMessageContent": { http: "GET /messages/{messageId}", traits: { - messageContent: "httpPayload", + "messageContent": "httpPayload", }, }, - PutRawMessageContent: "POST /messages/{messageId}", + "PutRawMessageContent": "POST /messages/{messageId}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/workmailmessageflow/types.ts b/src/services/workmailmessageflow/types.ts index 2eeee12b..402b4bdb 100644 --- a/src/services/workmailmessageflow/types.ts +++ b/src/services/workmailmessageflow/types.ts @@ -13,11 +13,7 @@ export declare class WorkMailMessageFlow extends AWSServiceClient { input: PutRawMessageContentRequest, ): Effect.Effect< PutRawMessageContentResponse, - | InvalidContentLocation - | MessageFrozen - | MessageRejected - | ResourceNotFoundException - | CommonAwsError + InvalidContentLocation | MessageFrozen | MessageRejected | ResourceNotFoundException | CommonAwsError >; } @@ -54,7 +50,8 @@ export interface PutRawMessageContentRequest { messageId: string; content: RawMessageContent; } -export interface PutRawMessageContentResponse {} +export interface PutRawMessageContentResponse { +} export interface RawMessageContent { s3Reference: S3Reference; } @@ -77,7 +74,9 @@ export type s3VersionType = string; export declare namespace GetRawMessageContent { export type Input = GetRawMessageContentRequest; export type Output = GetRawMessageContentResponse; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace PutRawMessageContent { @@ -91,9 +90,5 @@ export declare namespace PutRawMessageContent { | CommonAwsError; } -export type WorkMailMessageFlowErrors = - | InvalidContentLocation - | MessageFrozen - | MessageRejected - | ResourceNotFoundException - | CommonAwsError; +export type WorkMailMessageFlowErrors = InvalidContentLocation | MessageFrozen | MessageRejected | ResourceNotFoundException | CommonAwsError; + diff --git a/src/services/workspaces-instances/index.ts b/src/services/workspaces-instances/index.ts index e4f63835..44b1c37b 100644 --- a/src/services/workspaces-instances/index.ts +++ b/src/services/workspaces-instances/index.ts @@ -5,23 +5,7 @@ import type { WorkspacesInstances as _WorkspacesInstancesClient } from "./types. export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/workspaces-instances/types.ts b/src/services/workspaces-instances/types.ts index 8a2d9330..3ba93189 100644 --- a/src/services/workspaces-instances/types.ts +++ b/src/services/workspaces-instances/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class WorkspacesInstances extends AWSServiceClient { @@ -40,147 +8,79 @@ export declare class WorkspacesInstances extends AWSServiceClient { input: AssociateVolumeRequest, ): Effect.Effect< AssociateVolumeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createVolume( input: CreateVolumeRequest, ): Effect.Effect< CreateVolumeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createWorkspaceInstance( input: CreateWorkspaceInstanceRequest, ): Effect.Effect< CreateWorkspaceInstanceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteVolume( input: DeleteVolumeRequest, ): Effect.Effect< DeleteVolumeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteWorkspaceInstance( input: DeleteWorkspaceInstanceRequest, ): Effect.Effect< DeleteWorkspaceInstanceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateVolume( input: DisassociateVolumeRequest, ): Effect.Effect< DisassociateVolumeResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getWorkspaceInstance( input: GetWorkspaceInstanceRequest, ): Effect.Effect< GetWorkspaceInstanceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listInstanceTypes( input: ListInstanceTypesRequest, ): Effect.Effect< ListInstanceTypesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listRegions( input: ListRegionsRequest, ): Effect.Effect< ListRegionsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listWorkspaceInstances( input: ListWorkspaceInstancesRequest, ): Effect.Effect< ListWorkspaceInstancesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -197,7 +97,8 @@ export interface AssociateVolumeRequest { VolumeId: string; Device: string; } -export interface AssociateVolumeResponse {} +export interface AssociateVolumeResponse { +} export type AutoRecoveryEnum = "disabled" | "default"; export type AvailabilityZone = string; @@ -209,10 +110,7 @@ export interface BlockDeviceMappingRequest { VirtualName?: string; } export type BlockDeviceMappings = Array; -export type CapacityReservationPreferenceEnum = - | "capacity-reservations-only" - | "open" - | "none"; +export type CapacityReservationPreferenceEnum = "capacity-reservations-only" | "open" | "none"; export interface CapacityReservationSpecification { CapacityReservationPreference?: CapacityReservationPreferenceEnum; CapacityReservationTarget?: CapacityReservationTarget; @@ -270,11 +168,13 @@ export interface CreditSpecificationRequest { export interface DeleteVolumeRequest { VolumeId: string; } -export interface DeleteVolumeResponse {} +export interface DeleteVolumeResponse { +} export interface DeleteWorkspaceInstanceRequest { WorkspaceInstanceId: string; } -export interface DeleteWorkspaceInstanceResponse {} +export interface DeleteWorkspaceInstanceResponse { +} export type Description = string; export type DeviceName = string; @@ -286,7 +186,8 @@ export interface DisassociateVolumeRequest { Device?: string; DisassociateMode?: DisassociateModeEnum; } -export interface DisassociateVolumeResponse {} +export interface DisassociateVolumeResponse { +} export interface EbsBlockDevice { VolumeType?: VolumeTypeEnum; Encrypted?: boolean; @@ -520,13 +421,7 @@ export interface PrivateIpAddressSpecification { Primary?: boolean; PrivateIpAddress?: string; } -export type ProvisionStateEnum = - | "ALLOCATING" - | "ALLOCATED" - | "DEALLOCATING" - | "DEALLOCATED" - | "ERROR_ALLOCATING" - | "ERROR_DEALLOCATING"; +export type ProvisionStateEnum = "ALLOCATING" | "ALLOCATED" | "DEALLOCATING" | "DEALLOCATED" | "ERROR_ALLOCATING" | "ERROR_DEALLOCATING"; export type ProvisionStates = Array; export interface Region { RegionName?: string; @@ -541,11 +436,7 @@ export declare class ResourceNotFoundException extends EffectData.TaggedError( readonly ResourceId: string; readonly ResourceType: string; }> {} -export type ResourceTypeEnum = - | "instance" - | "volume" - | "spot-instances-request" - | "network-interface"; +export type ResourceTypeEnum = "instance" | "volume" | "spot-instances-request" | "network-interface"; export interface RunInstancesMonitoringEnabled { Enabled?: boolean; } @@ -592,7 +483,8 @@ export interface TagResourceRequest { WorkspaceInstanceId: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export interface TagSpecification { ResourceType?: ResourceTypeEnum; Tags?: Array; @@ -613,7 +505,8 @@ export interface UntagResourceRequest { WorkspaceInstanceId: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export type UserData = string; export declare class ValidationException extends EffectData.TaggedError( @@ -629,25 +522,12 @@ export interface ValidationExceptionField { Message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "UNKNOWN_OPERATION" - | "UNSUPPORTED_OPERATION" - | "CANNOT_PARSE" - | "FIELD_VALIDATION_FAILED" - | "DEPENDENCY_FAILURE" - | "OTHER"; +export type ValidationExceptionReason = "UNKNOWN_OPERATION" | "UNSUPPORTED_OPERATION" | "CANNOT_PARSE" | "FIELD_VALIDATION_FAILED" | "DEPENDENCY_FAILURE" | "OTHER"; export type VirtualName = string; export type VolumeId = string; -export type VolumeTypeEnum = - | "standard" - | "io1" - | "io2" - | "gp2" - | "sc1" - | "st1" - | "gp3"; +export type VolumeTypeEnum = "standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"; export interface WorkspaceInstance { ProvisionState?: ProvisionStateEnum; WorkspaceInstanceId?: string; @@ -820,12 +700,5 @@ export declare namespace UntagResource { | CommonAwsError; } -export type WorkspacesInstancesErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type WorkspacesInstancesErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/workspaces-thin-client/index.ts b/src/services/workspaces-thin-client/index.ts index 8d5c1c3e..c81e50b9 100644 --- a/src/services/workspaces-thin-client/index.ts +++ b/src/services/workspaces-thin-client/index.ts @@ -5,23 +5,7 @@ import type { WorkSpacesThinClient as _WorkSpacesThinClientClient } from "./type export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -30,22 +14,22 @@ const metadata = { protocol: "restJson1", sigV4ServiceName: "thinclient", operations: { - CreateEnvironment: "POST /environments", - DeleteDevice: "DELETE /devices/{id}", - DeleteEnvironment: "DELETE /environments/{id}", - DeregisterDevice: "POST /deregister-device/{id}", - GetDevice: "GET /devices/{id}", - GetEnvironment: "GET /environments/{id}", - GetSoftwareSet: "GET /softwaresets/{id}", - ListDevices: "GET /devices", - ListEnvironments: "GET /environments", - ListSoftwareSets: "GET /softwaresets", - ListTagsForResource: "GET /tags/{resourceArn}", - TagResource: "POST /tags/{resourceArn}", - UntagResource: "DELETE /tags/{resourceArn}", - UpdateDevice: "PATCH /devices/{id}", - UpdateEnvironment: "PATCH /environments/{id}", - UpdateSoftwareSet: "PATCH /softwaresets/{id}", + "CreateEnvironment": "POST /environments", + "DeleteDevice": "DELETE /devices/{id}", + "DeleteEnvironment": "DELETE /environments/{id}", + "DeregisterDevice": "POST /deregister-device/{id}", + "GetDevice": "GET /devices/{id}", + "GetEnvironment": "GET /environments/{id}", + "GetSoftwareSet": "GET /softwaresets/{id}", + "ListDevices": "GET /devices", + "ListEnvironments": "GET /environments", + "ListSoftwareSets": "GET /softwaresets", + "ListTagsForResource": "GET /tags/{resourceArn}", + "TagResource": "POST /tags/{resourceArn}", + "UntagResource": "DELETE /tags/{resourceArn}", + "UpdateDevice": "PATCH /devices/{id}", + "UpdateEnvironment": "PATCH /environments/{id}", + "UpdateSoftwareSet": "PATCH /softwaresets/{id}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/workspaces-thin-client/types.ts b/src/services/workspaces-thin-client/types.ts index 1268f003..f65b3a9a 100644 --- a/src/services/workspaces-thin-client/types.ts +++ b/src/services/workspaces-thin-client/types.ts @@ -1,38 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class WorkSpacesThinClient extends AWSServiceClient { @@ -40,182 +8,97 @@ export declare class WorkSpacesThinClient extends AWSServiceClient { input: CreateEnvironmentRequest, ): Effect.Effect< CreateEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteDevice( input: DeleteDeviceRequest, ): Effect.Effect< DeleteDeviceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deleteEnvironment( input: DeleteEnvironmentRequest, ): Effect.Effect< DeleteEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; deregisterDevice( input: DeregisterDeviceRequest, ): Effect.Effect< DeregisterDeviceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDevice( input: GetDeviceRequest, ): Effect.Effect< GetDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getEnvironment( input: GetEnvironmentRequest, ): Effect.Effect< GetEnvironmentResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSoftwareSet( input: GetSoftwareSetRequest, ): Effect.Effect< GetSoftwareSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listDevices( input: ListDevicesRequest, ): Effect.Effect< ListDevicesResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listEnvironments( input: ListEnvironmentsRequest, ): Effect.Effect< ListEnvironmentsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSoftwareSets( input: ListSoftwareSetsRequest, ): Effect.Effect< ListSoftwareSetsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDevice( input: UpdateDeviceRequest, ): Effect.Effect< UpdateDeviceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateEnvironment( input: UpdateEnvironmentRequest, ): Effect.Effect< UpdateEnvironmentResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateSoftwareSet( input: UpdateSoftwareSetRequest, ): Effect.Effect< UpdateSoftwareSetResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -256,31 +139,27 @@ export interface CreateEnvironmentRequest { export interface CreateEnvironmentResponse { environment?: EnvironmentSummary; } -export type DayOfWeek = - | "MONDAY" - | "TUESDAY" - | "WEDNESDAY" - | "THURSDAY" - | "FRIDAY" - | "SATURDAY" - | "SUNDAY"; +export type DayOfWeek = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY"; export type DayOfWeekList = Array; export interface DeleteDeviceRequest { id: string; clientToken?: string; } -export interface DeleteDeviceResponse {} +export interface DeleteDeviceResponse { +} export interface DeleteEnvironmentRequest { id: string; clientToken?: string; } -export interface DeleteEnvironmentResponse {} +export interface DeleteEnvironmentResponse { +} export interface DeregisterDeviceRequest { id: string; targetDeviceStatus?: TargetDeviceStatus; clientToken?: string; } -export interface DeregisterDeviceResponse {} +export interface DeregisterDeviceResponse { +} export type DesktopEndpoint = string; export type DesktopType = "workspaces" | "appstream" | "workspaces-web"; @@ -317,15 +196,8 @@ export type DeviceId = string; export type DeviceList = Array; export type DeviceName = string; -export type DeviceSoftwareSetComplianceStatus = - | "NONE" - | "COMPLIANT" - | "NOT_COMPLIANT"; -export type DeviceStatus = - | "REGISTERED" - | "DEREGISTERING" - | "DEREGISTERED" - | "ARCHIVED"; +export type DeviceSoftwareSetComplianceStatus = "NONE" | "COMPLIANT" | "NOT_COMPLIANT"; +export type DeviceStatus = "REGISTERED" | "DEREGISTERING" | "DEREGISTERED" | "ARCHIVED"; export interface DeviceSummary { id?: string; serialNumber?: string; @@ -370,10 +242,7 @@ export type EnvironmentId = string; export type EnvironmentList = Array; export type EnvironmentName = string; -export type EnvironmentSoftwareSetComplianceStatus = - | "NO_REGISTERED_DEVICES" - | "COMPLIANT" - | "NOT_COMPLIANT"; +export type EnvironmentSoftwareSetComplianceStatus = "NO_REGISTERED_DEVICES" | "COMPLIANT" | "NOT_COMPLIANT"; export interface EnvironmentSummary { id?: string; name?: string; @@ -522,20 +391,16 @@ export interface SoftwareSetSummary { arn?: string; } export type SoftwareSetUpdateMode = "USE_LATEST" | "USE_DESIRED"; -export type SoftwareSetUpdateSchedule = - | "USE_MAINTENANCE_WINDOW" - | "APPLY_IMMEDIATELY"; -export type SoftwareSetUpdateStatus = - | "AVAILABLE" - | "IN_PROGRESS" - | "UP_TO_DATE"; +export type SoftwareSetUpdateSchedule = "USE_MAINTENANCE_WINDOW" | "APPLY_IMMEDIATELY"; +export type SoftwareSetUpdateStatus = "AVAILABLE" | "IN_PROGRESS" | "UP_TO_DATE"; export type SoftwareSetValidationStatus = "VALIDATED" | "NOT_VALIDATED"; export type TagKeys = Array; export interface TagResourceRequest { resourceArn: string; tags: Record; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagsMap = Record; export type TargetDeviceStatus = "DEREGISTERED" | "ARCHIVED"; export declare class ThrottlingException extends EffectData.TaggedError( @@ -552,7 +417,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateDeviceRequest { id: string; name?: string; @@ -580,7 +446,8 @@ export interface UpdateSoftwareSetRequest { id: string; validationStatus: SoftwareSetValidationStatus; } -export interface UpdateSoftwareSetResponse {} +export interface UpdateSoftwareSetResponse { +} export type UserId = string; export declare class ValidationException extends EffectData.TaggedError( @@ -595,11 +462,7 @@ export interface ValidationExceptionField { message: string; } export type ValidationExceptionFieldList = Array; -export type ValidationExceptionReason = - | "unknownOperation" - | "cannotParse" - | "fieldValidationFailed" - | "other"; +export type ValidationExceptionReason = "unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other"; export declare namespace CreateEnvironment { export type Input = CreateEnvironmentRequest; export type Output = CreateEnvironmentResponse; @@ -797,12 +660,5 @@ export declare namespace UpdateSoftwareSet { | CommonAwsError; } -export type WorkSpacesThinClientErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError; +export type WorkSpacesThinClientErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError; + diff --git a/src/services/workspaces-web/index.ts b/src/services/workspaces-web/index.ts index 4150bb70..33e13412 100644 --- a/src/services/workspaces-web/index.ts +++ b/src/services/workspaces-web/index.ts @@ -5,23 +5,7 @@ import type { WorkSpacesWeb as _WorkSpacesWebClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -31,93 +15,81 @@ const metadata = { sigV4ServiceName: "workspaces-web", endpointPrefix: "workspaces-web", operations: { - ExpireSession: "DELETE /portals/{portalId}/sessions/{sessionId}", - GetSession: "GET /portals/{portalId}/sessions/{sessionId}", - ListSessions: "GET /portals/{portalId}/sessions", - ListTagsForResource: "GET /tags/{resourceArn+}", - TagResource: "POST /tags/{resourceArn+}", - UntagResource: "DELETE /tags/{resourceArn+}", - AssociateBrowserSettings: "PUT /portals/{portalArn+}/browserSettings", - AssociateDataProtectionSettings: - "PUT /portals/{portalArn+}/dataProtectionSettings", - AssociateIpAccessSettings: "PUT /portals/{portalArn+}/ipAccessSettings", - AssociateNetworkSettings: "PUT /portals/{portalArn+}/networkSettings", - AssociateSessionLogger: "PUT /portals/{portalArn+}/sessionLogger", - AssociateTrustStore: "PUT /portals/{portalArn+}/trustStores", - AssociateUserAccessLoggingSettings: - "PUT /portals/{portalArn+}/userAccessLoggingSettings", - AssociateUserSettings: "PUT /portals/{portalArn+}/userSettings", - CreateBrowserSettings: "POST /browserSettings", - CreateDataProtectionSettings: "POST /dataProtectionSettings", - CreateIdentityProvider: "POST /identityProviders", - CreateIpAccessSettings: "POST /ipAccessSettings", - CreateNetworkSettings: "POST /networkSettings", - CreatePortal: "POST /portals", - CreateSessionLogger: "POST /sessionLoggers", - CreateTrustStore: "POST /trustStores", - CreateUserAccessLoggingSettings: "POST /userAccessLoggingSettings", - CreateUserSettings: "POST /userSettings", - DeleteBrowserSettings: "DELETE /browserSettings/{browserSettingsArn+}", - DeleteDataProtectionSettings: - "DELETE /dataProtectionSettings/{dataProtectionSettingsArn+}", - DeleteIdentityProvider: "DELETE /identityProviders/{identityProviderArn+}", - DeleteIpAccessSettings: "DELETE /ipAccessSettings/{ipAccessSettingsArn+}", - DeleteNetworkSettings: "DELETE /networkSettings/{networkSettingsArn+}", - DeletePortal: "DELETE /portals/{portalArn+}", - DeleteSessionLogger: "DELETE /sessionLoggers/{sessionLoggerArn+}", - DeleteTrustStore: "DELETE /trustStores/{trustStoreArn+}", - DeleteUserAccessLoggingSettings: - "DELETE /userAccessLoggingSettings/{userAccessLoggingSettingsArn+}", - DeleteUserSettings: "DELETE /userSettings/{userSettingsArn+}", - DisassociateBrowserSettings: "DELETE /portals/{portalArn+}/browserSettings", - DisassociateDataProtectionSettings: - "DELETE /portals/{portalArn+}/dataProtectionSettings", - DisassociateIpAccessSettings: - "DELETE /portals/{portalArn+}/ipAccessSettings", - DisassociateNetworkSettings: "DELETE /portals/{portalArn+}/networkSettings", - DisassociateSessionLogger: "DELETE /portals/{portalArn+}/sessionLogger", - DisassociateTrustStore: "DELETE /portals/{portalArn+}/trustStores", - DisassociateUserAccessLoggingSettings: - "DELETE /portals/{portalArn+}/userAccessLoggingSettings", - DisassociateUserSettings: "DELETE /portals/{portalArn+}/userSettings", - GetBrowserSettings: "GET /browserSettings/{browserSettingsArn+}", - GetDataProtectionSettings: - "GET /dataProtectionSettings/{dataProtectionSettingsArn+}", - GetIdentityProvider: "GET /identityProviders/{identityProviderArn+}", - GetIpAccessSettings: "GET /ipAccessSettings/{ipAccessSettingsArn+}", - GetNetworkSettings: "GET /networkSettings/{networkSettingsArn+}", - GetPortal: "GET /portals/{portalArn+}", - GetPortalServiceProviderMetadata: "GET /portalIdp/{portalArn+}", - GetSessionLogger: "GET /sessionLoggers/{sessionLoggerArn+}", - GetTrustStore: "GET /trustStores/{trustStoreArn+}", - GetTrustStoreCertificate: "GET /trustStores/{trustStoreArn+}/certificate", - GetUserAccessLoggingSettings: - "GET /userAccessLoggingSettings/{userAccessLoggingSettingsArn+}", - GetUserSettings: "GET /userSettings/{userSettingsArn+}", - ListBrowserSettings: "GET /browserSettings", - ListDataProtectionSettings: "GET /dataProtectionSettings", - ListIdentityProviders: "GET /portals/{portalArn+}/identityProviders", - ListIpAccessSettings: "GET /ipAccessSettings", - ListNetworkSettings: "GET /networkSettings", - ListPortals: "GET /portals", - ListSessionLoggers: "GET /sessionLoggers", - ListTrustStoreCertificates: - "GET /trustStores/{trustStoreArn+}/certificates", - ListTrustStores: "GET /trustStores", - ListUserAccessLoggingSettings: "GET /userAccessLoggingSettings", - ListUserSettings: "GET /userSettings", - UpdateBrowserSettings: "PATCH /browserSettings/{browserSettingsArn+}", - UpdateDataProtectionSettings: - "PATCH /dataProtectionSettings/{dataProtectionSettingsArn+}", - UpdateIdentityProvider: "PATCH /identityProviders/{identityProviderArn+}", - UpdateIpAccessSettings: "PATCH /ipAccessSettings/{ipAccessSettingsArn+}", - UpdateNetworkSettings: "PATCH /networkSettings/{networkSettingsArn+}", - UpdatePortal: "PUT /portals/{portalArn+}", - UpdateSessionLogger: "POST /sessionLoggers/{sessionLoggerArn+}", - UpdateTrustStore: "PATCH /trustStores/{trustStoreArn+}", - UpdateUserAccessLoggingSettings: - "PATCH /userAccessLoggingSettings/{userAccessLoggingSettingsArn+}", - UpdateUserSettings: "PATCH /userSettings/{userSettingsArn+}", + "ExpireSession": "DELETE /portals/{portalId}/sessions/{sessionId}", + "GetSession": "GET /portals/{portalId}/sessions/{sessionId}", + "ListSessions": "GET /portals/{portalId}/sessions", + "ListTagsForResource": "GET /tags/{resourceArn+}", + "TagResource": "POST /tags/{resourceArn+}", + "UntagResource": "DELETE /tags/{resourceArn+}", + "AssociateBrowserSettings": "PUT /portals/{portalArn+}/browserSettings", + "AssociateDataProtectionSettings": "PUT /portals/{portalArn+}/dataProtectionSettings", + "AssociateIpAccessSettings": "PUT /portals/{portalArn+}/ipAccessSettings", + "AssociateNetworkSettings": "PUT /portals/{portalArn+}/networkSettings", + "AssociateSessionLogger": "PUT /portals/{portalArn+}/sessionLogger", + "AssociateTrustStore": "PUT /portals/{portalArn+}/trustStores", + "AssociateUserAccessLoggingSettings": "PUT /portals/{portalArn+}/userAccessLoggingSettings", + "AssociateUserSettings": "PUT /portals/{portalArn+}/userSettings", + "CreateBrowserSettings": "POST /browserSettings", + "CreateDataProtectionSettings": "POST /dataProtectionSettings", + "CreateIdentityProvider": "POST /identityProviders", + "CreateIpAccessSettings": "POST /ipAccessSettings", + "CreateNetworkSettings": "POST /networkSettings", + "CreatePortal": "POST /portals", + "CreateSessionLogger": "POST /sessionLoggers", + "CreateTrustStore": "POST /trustStores", + "CreateUserAccessLoggingSettings": "POST /userAccessLoggingSettings", + "CreateUserSettings": "POST /userSettings", + "DeleteBrowserSettings": "DELETE /browserSettings/{browserSettingsArn+}", + "DeleteDataProtectionSettings": "DELETE /dataProtectionSettings/{dataProtectionSettingsArn+}", + "DeleteIdentityProvider": "DELETE /identityProviders/{identityProviderArn+}", + "DeleteIpAccessSettings": "DELETE /ipAccessSettings/{ipAccessSettingsArn+}", + "DeleteNetworkSettings": "DELETE /networkSettings/{networkSettingsArn+}", + "DeletePortal": "DELETE /portals/{portalArn+}", + "DeleteSessionLogger": "DELETE /sessionLoggers/{sessionLoggerArn+}", + "DeleteTrustStore": "DELETE /trustStores/{trustStoreArn+}", + "DeleteUserAccessLoggingSettings": "DELETE /userAccessLoggingSettings/{userAccessLoggingSettingsArn+}", + "DeleteUserSettings": "DELETE /userSettings/{userSettingsArn+}", + "DisassociateBrowserSettings": "DELETE /portals/{portalArn+}/browserSettings", + "DisassociateDataProtectionSettings": "DELETE /portals/{portalArn+}/dataProtectionSettings", + "DisassociateIpAccessSettings": "DELETE /portals/{portalArn+}/ipAccessSettings", + "DisassociateNetworkSettings": "DELETE /portals/{portalArn+}/networkSettings", + "DisassociateSessionLogger": "DELETE /portals/{portalArn+}/sessionLogger", + "DisassociateTrustStore": "DELETE /portals/{portalArn+}/trustStores", + "DisassociateUserAccessLoggingSettings": "DELETE /portals/{portalArn+}/userAccessLoggingSettings", + "DisassociateUserSettings": "DELETE /portals/{portalArn+}/userSettings", + "GetBrowserSettings": "GET /browserSettings/{browserSettingsArn+}", + "GetDataProtectionSettings": "GET /dataProtectionSettings/{dataProtectionSettingsArn+}", + "GetIdentityProvider": "GET /identityProviders/{identityProviderArn+}", + "GetIpAccessSettings": "GET /ipAccessSettings/{ipAccessSettingsArn+}", + "GetNetworkSettings": "GET /networkSettings/{networkSettingsArn+}", + "GetPortal": "GET /portals/{portalArn+}", + "GetPortalServiceProviderMetadata": "GET /portalIdp/{portalArn+}", + "GetSessionLogger": "GET /sessionLoggers/{sessionLoggerArn+}", + "GetTrustStore": "GET /trustStores/{trustStoreArn+}", + "GetTrustStoreCertificate": "GET /trustStores/{trustStoreArn+}/certificate", + "GetUserAccessLoggingSettings": "GET /userAccessLoggingSettings/{userAccessLoggingSettingsArn+}", + "GetUserSettings": "GET /userSettings/{userSettingsArn+}", + "ListBrowserSettings": "GET /browserSettings", + "ListDataProtectionSettings": "GET /dataProtectionSettings", + "ListIdentityProviders": "GET /portals/{portalArn+}/identityProviders", + "ListIpAccessSettings": "GET /ipAccessSettings", + "ListNetworkSettings": "GET /networkSettings", + "ListPortals": "GET /portals", + "ListSessionLoggers": "GET /sessionLoggers", + "ListTrustStoreCertificates": "GET /trustStores/{trustStoreArn+}/certificates", + "ListTrustStores": "GET /trustStores", + "ListUserAccessLoggingSettings": "GET /userAccessLoggingSettings", + "ListUserSettings": "GET /userSettings", + "UpdateBrowserSettings": "PATCH /browserSettings/{browserSettingsArn+}", + "UpdateDataProtectionSettings": "PATCH /dataProtectionSettings/{dataProtectionSettingsArn+}", + "UpdateIdentityProvider": "PATCH /identityProviders/{identityProviderArn+}", + "UpdateIpAccessSettings": "PATCH /ipAccessSettings/{ipAccessSettingsArn+}", + "UpdateNetworkSettings": "PATCH /networkSettings/{networkSettingsArn+}", + "UpdatePortal": "PUT /portals/{portalArn+}", + "UpdateSessionLogger": "POST /sessionLoggers/{sessionLoggerArn+}", + "UpdateTrustStore": "PATCH /trustStores/{trustStoreArn+}", + "UpdateUserAccessLoggingSettings": "PATCH /userAccessLoggingSettings/{userAccessLoggingSettingsArn+}", + "UpdateUserSettings": "PATCH /userSettings/{userSettingsArn+}", }, } as const satisfies ServiceMetadata; diff --git a/src/services/workspaces-web/types.ts b/src/services/workspaces-web/types.ts index 12ce57f9..8188968e 100644 --- a/src/services/workspaces-web/types.ts +++ b/src/services/workspaces-web/types.ts @@ -1,39 +1,7 @@ import type { Effect, Stream, Data as EffectData } from "effect"; import type { ResponseError } from "@effect/platform/HttpClientError"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ThrottlingException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ThrottlingException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class WorkSpacesWeb extends AWSServiceClient { @@ -41,849 +9,451 @@ export declare class WorkSpacesWeb extends AWSServiceClient { input: ExpireSessionRequest, ): Effect.Effect< ExpireSessionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSession( input: GetSessionRequest, ): Effect.Effect< GetSessionResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listSessions( input: ListSessionsRequest, ): Effect.Effect< ListSessionsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateBrowserSettings( input: AssociateBrowserSettingsRequest, ): Effect.Effect< AssociateBrowserSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateDataProtectionSettings( input: AssociateDataProtectionSettingsRequest, ): Effect.Effect< AssociateDataProtectionSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateIpAccessSettings( input: AssociateIpAccessSettingsRequest, ): Effect.Effect< AssociateIpAccessSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateNetworkSettings( input: AssociateNetworkSettingsRequest, ): Effect.Effect< AssociateNetworkSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateSessionLogger( input: AssociateSessionLoggerRequest, ): Effect.Effect< AssociateSessionLoggerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateTrustStore( input: AssociateTrustStoreRequest, ): Effect.Effect< AssociateTrustStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateUserAccessLoggingSettings( input: AssociateUserAccessLoggingSettingsRequest, ): Effect.Effect< AssociateUserAccessLoggingSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; associateUserSettings( input: AssociateUserSettingsRequest, ): Effect.Effect< AssociateUserSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; createBrowserSettings( input: CreateBrowserSettingsRequest, ): Effect.Effect< CreateBrowserSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createDataProtectionSettings( input: CreateDataProtectionSettingsRequest, ): Effect.Effect< CreateDataProtectionSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createIdentityProvider( input: CreateIdentityProviderRequest, ): Effect.Effect< CreateIdentityProviderResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createIpAccessSettings( input: CreateIpAccessSettingsRequest, ): Effect.Effect< CreateIpAccessSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createNetworkSettings( input: CreateNetworkSettingsRequest, ): Effect.Effect< CreateNetworkSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createPortal( input: CreatePortalRequest, ): Effect.Effect< CreatePortalResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createSessionLogger( input: CreateSessionLoggerRequest, ): Effect.Effect< CreateSessionLoggerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createTrustStore( input: CreateTrustStoreRequest, ): Effect.Effect< CreateTrustStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createUserAccessLoggingSettings( input: CreateUserAccessLoggingSettingsRequest, ): Effect.Effect< CreateUserAccessLoggingSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; createUserSettings( input: CreateUserSettingsRequest, ): Effect.Effect< CreateUserSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; deleteBrowserSettings( input: DeleteBrowserSettingsRequest, ): Effect.Effect< DeleteBrowserSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteDataProtectionSettings( input: DeleteDataProtectionSettingsRequest, ): Effect.Effect< DeleteDataProtectionSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteIdentityProvider( input: DeleteIdentityProviderRequest, ): Effect.Effect< DeleteIdentityProviderResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteIpAccessSettings( input: DeleteIpAccessSettingsRequest, ): Effect.Effect< DeleteIpAccessSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteNetworkSettings( input: DeleteNetworkSettingsRequest, ): Effect.Effect< DeleteNetworkSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deletePortal( input: DeletePortalRequest, ): Effect.Effect< DeletePortalResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteSessionLogger( input: DeleteSessionLoggerRequest, ): Effect.Effect< DeleteSessionLoggerResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteTrustStore( input: DeleteTrustStoreRequest, ): Effect.Effect< DeleteTrustStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteUserAccessLoggingSettings( input: DeleteUserAccessLoggingSettingsRequest, ): Effect.Effect< DeleteUserAccessLoggingSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; deleteUserSettings( input: DeleteUserSettingsRequest, ): Effect.Effect< DeleteUserSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; disassociateBrowserSettings( input: DisassociateBrowserSettingsRequest, ): Effect.Effect< DisassociateBrowserSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateDataProtectionSettings( input: DisassociateDataProtectionSettingsRequest, ): Effect.Effect< DisassociateDataProtectionSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateIpAccessSettings( input: DisassociateIpAccessSettingsRequest, ): Effect.Effect< DisassociateIpAccessSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateNetworkSettings( input: DisassociateNetworkSettingsRequest, ): Effect.Effect< DisassociateNetworkSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateSessionLogger( input: DisassociateSessionLoggerRequest, ): Effect.Effect< DisassociateSessionLoggerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateTrustStore( input: DisassociateTrustStoreRequest, ): Effect.Effect< DisassociateTrustStoreResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateUserAccessLoggingSettings( input: DisassociateUserAccessLoggingSettingsRequest, ): Effect.Effect< DisassociateUserAccessLoggingSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; disassociateUserSettings( input: DisassociateUserSettingsRequest, ): Effect.Effect< DisassociateUserSettingsResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getBrowserSettings( input: GetBrowserSettingsRequest, ): Effect.Effect< GetBrowserSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getDataProtectionSettings( input: GetDataProtectionSettingsRequest, ): Effect.Effect< GetDataProtectionSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIdentityProvider( input: GetIdentityProviderRequest, ): Effect.Effect< GetIdentityProviderResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getIpAccessSettings( input: GetIpAccessSettingsRequest, ): Effect.Effect< GetIpAccessSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getNetworkSettings( input: GetNetworkSettingsRequest, ): Effect.Effect< GetNetworkSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPortal( input: GetPortalRequest, ): Effect.Effect< GetPortalResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getPortalServiceProviderMetadata( input: GetPortalServiceProviderMetadataRequest, ): Effect.Effect< GetPortalServiceProviderMetadataResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getSessionLogger( input: GetSessionLoggerRequest, ): Effect.Effect< GetSessionLoggerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTrustStore( input: GetTrustStoreRequest, ): Effect.Effect< GetTrustStoreResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getTrustStoreCertificate( input: GetTrustStoreCertificateRequest, ): Effect.Effect< GetTrustStoreCertificateResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getUserAccessLoggingSettings( input: GetUserAccessLoggingSettingsRequest, ): Effect.Effect< GetUserAccessLoggingSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; getUserSettings( input: GetUserSettingsRequest, ): Effect.Effect< GetUserSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listBrowserSettings( input: ListBrowserSettingsRequest, ): Effect.Effect< ListBrowserSettingsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listDataProtectionSettings( input: ListDataProtectionSettingsRequest, ): Effect.Effect< ListDataProtectionSettingsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listIdentityProviders( input: ListIdentityProvidersRequest, ): Effect.Effect< ListIdentityProvidersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listIpAccessSettings( input: ListIpAccessSettingsRequest, ): Effect.Effect< ListIpAccessSettingsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listNetworkSettings( input: ListNetworkSettingsRequest, ): Effect.Effect< ListNetworkSettingsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listPortals( input: ListPortalsRequest, ): Effect.Effect< ListPortalsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listSessionLoggers( input: ListSessionLoggersRequest, ): Effect.Effect< ListSessionLoggersResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listTrustStoreCertificates( input: ListTrustStoreCertificatesRequest, ): Effect.Effect< ListTrustStoreCertificatesResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; listTrustStores( input: ListTrustStoresRequest, ): Effect.Effect< ListTrustStoresResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listUserAccessLoggingSettings( input: ListUserAccessLoggingSettingsRequest, ): Effect.Effect< ListUserAccessLoggingSettingsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; listUserSettings( input: ListUserSettingsRequest, ): Effect.Effect< ListUserSettingsResponse, - | AccessDeniedException - | InternalServerException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ThrottlingException | ValidationException | CommonAwsError >; updateBrowserSettings( input: UpdateBrowserSettingsRequest, ): Effect.Effect< UpdateBrowserSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateDataProtectionSettings( input: UpdateDataProtectionSettingsRequest, ): Effect.Effect< UpdateDataProtectionSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateIdentityProvider( input: UpdateIdentityProviderRequest, ): Effect.Effect< UpdateIdentityProviderResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateIpAccessSettings( input: UpdateIpAccessSettingsRequest, ): Effect.Effect< UpdateIpAccessSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateNetworkSettings( input: UpdateNetworkSettingsRequest, ): Effect.Effect< UpdateNetworkSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updatePortal( input: UpdatePortalRequest, ): Effect.Effect< UpdatePortalResponse, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateSessionLogger( input: UpdateSessionLoggerRequest, ): Effect.Effect< UpdateSessionLoggerResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateTrustStore( input: UpdateTrustStoreRequest, ): Effect.Effect< UpdateTrustStoreResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | ValidationException | CommonAwsError >; updateUserAccessLoggingSettings( input: UpdateUserAccessLoggingSettingsRequest, ): Effect.Effect< UpdateUserAccessLoggingSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; updateUserSettings( input: UpdateUserSettingsRequest, ): Effect.Effect< UpdateUserSettingsResponse, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ThrottlingException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ThrottlingException | ValidationException | CommonAwsError >; } @@ -1173,43 +743,53 @@ export interface DataProtectionSettingsSummary { export interface DeleteBrowserSettingsRequest { browserSettingsArn: string; } -export interface DeleteBrowserSettingsResponse {} +export interface DeleteBrowserSettingsResponse { +} export interface DeleteDataProtectionSettingsRequest { dataProtectionSettingsArn: string; } -export interface DeleteDataProtectionSettingsResponse {} +export interface DeleteDataProtectionSettingsResponse { +} export interface DeleteIdentityProviderRequest { identityProviderArn: string; } -export interface DeleteIdentityProviderResponse {} +export interface DeleteIdentityProviderResponse { +} export interface DeleteIpAccessSettingsRequest { ipAccessSettingsArn: string; } -export interface DeleteIpAccessSettingsResponse {} +export interface DeleteIpAccessSettingsResponse { +} export interface DeleteNetworkSettingsRequest { networkSettingsArn: string; } -export interface DeleteNetworkSettingsResponse {} +export interface DeleteNetworkSettingsResponse { +} export interface DeletePortalRequest { portalArn: string; } -export interface DeletePortalResponse {} +export interface DeletePortalResponse { +} export interface DeleteSessionLoggerRequest { sessionLoggerArn: string; } -export interface DeleteSessionLoggerResponse {} +export interface DeleteSessionLoggerResponse { +} export interface DeleteTrustStoreRequest { trustStoreArn: string; } -export interface DeleteTrustStoreResponse {} +export interface DeleteTrustStoreResponse { +} export interface DeleteUserAccessLoggingSettingsRequest { userAccessLoggingSettingsArn: string; } -export interface DeleteUserAccessLoggingSettingsResponse {} +export interface DeleteUserAccessLoggingSettingsResponse { +} export interface DeleteUserSettingsRequest { userSettingsArn: string; } -export interface DeleteUserSettingsResponse {} +export interface DeleteUserSettingsResponse { +} export type Description = string; export type DescriptionSafe = string; @@ -1217,35 +797,43 @@ export type DescriptionSafe = string; export interface DisassociateBrowserSettingsRequest { portalArn: string; } -export interface DisassociateBrowserSettingsResponse {} +export interface DisassociateBrowserSettingsResponse { +} export interface DisassociateDataProtectionSettingsRequest { portalArn: string; } -export interface DisassociateDataProtectionSettingsResponse {} +export interface DisassociateDataProtectionSettingsResponse { +} export interface DisassociateIpAccessSettingsRequest { portalArn: string; } -export interface DisassociateIpAccessSettingsResponse {} +export interface DisassociateIpAccessSettingsResponse { +} export interface DisassociateNetworkSettingsRequest { portalArn: string; } -export interface DisassociateNetworkSettingsResponse {} +export interface DisassociateNetworkSettingsResponse { +} export interface DisassociateSessionLoggerRequest { portalArn: string; } -export interface DisassociateSessionLoggerResponse {} +export interface DisassociateSessionLoggerResponse { +} export interface DisassociateTrustStoreRequest { portalArn: string; } -export interface DisassociateTrustStoreResponse {} +export interface DisassociateTrustStoreResponse { +} export interface DisassociateUserAccessLoggingSettingsRequest { portalArn: string; } -export interface DisassociateUserAccessLoggingSettingsResponse {} +export interface DisassociateUserAccessLoggingSettingsResponse { +} export interface DisassociateUserSettingsRequest { portalArn: string; } -export interface DisassociateUserSettingsResponse {} +export interface DisassociateUserSettingsResponse { +} export type DisconnectTimeoutInMinutes = number; export type DisplayName = string; @@ -1255,31 +843,13 @@ export type DisplayNameSafe = string; export type EnabledType = string; export type EncryptionContextMap = Record; -export type Event = - | "WebsiteInteract" - | "FileDownloadFromSecureBrowserToRemoteDisk" - | "FileTransferFromRemoteToLocalDisk" - | "FileTransferFromLocalToRemoteDisk" - | "FileUploadFromRemoteDiskToSecureBrowser" - | "ContentPasteToWebsite" - | "ContentTransferFromLocalToRemoteClipboard" - | "ContentCopyFromWebsite" - | "UrlLoad" - | "TabOpen" - | "TabClose" - | "PrintJobSubmit" - | "SessionConnect" - | "SessionStart" - | "SessionDisconnect" - | "SessionEnd"; +export type Event = "WebsiteInteract" | "FileDownloadFromSecureBrowserToRemoteDisk" | "FileTransferFromRemoteToLocalDisk" | "FileTransferFromLocalToRemoteDisk" | "FileUploadFromRemoteDiskToSecureBrowser" | "ContentPasteToWebsite" | "ContentTransferFromLocalToRemoteClipboard" | "ContentCopyFromWebsite" | "UrlLoad" | "TabOpen" | "TabClose" | "PrintJobSubmit" | "SessionConnect" | "SessionStart" | "SessionDisconnect" | "SessionEnd"; interface _EventFilter { all?: {}; include?: Array; } -export type EventFilter = - | (_EventFilter & { all: {} }) - | (_EventFilter & { include: Array }); +export type EventFilter = (_EventFilter & { all: {} }) | (_EventFilter & { include: Array }); export type Events = Array; export type ExceptionMessage = string; @@ -1287,7 +857,8 @@ export interface ExpireSessionRequest { portalId: string; sessionId: string; } -export interface ExpireSessionResponse {} +export interface ExpireSessionResponse { +} export type FieldName = string; export type FolderStructure = "Flat" | "NestedByDate"; @@ -1756,7 +1327,8 @@ export interface TagResourceRequest { tags: Array; clientToken?: string; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export declare class ThrottlingException extends EffectData.TaggedError( @@ -1797,7 +1369,8 @@ export interface UntagResourceRequest { resourceArn: string; tagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateBrowserSettingsRequest { browserSettingsArn: string; browserPolicy?: string; @@ -1904,8 +1477,7 @@ export interface UserAccessLoggingSettings { associatedPortalArns?: Array; kinesisStreamArn?: string; } -export type UserAccessLoggingSettingsList = - Array; +export type UserAccessLoggingSettingsList = Array; export interface UserAccessLoggingSettingsSummary { userAccessLoggingSettingsArn: string; kinesisStreamArn?: string; @@ -2883,13 +2455,5 @@ export declare namespace UpdateUserSettings { | CommonAwsError; } -export type WorkSpacesWebErrors = - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ServiceQuotaExceededException - | ThrottlingException - | TooManyTagsException - | ValidationException - | CommonAwsError; +export type WorkSpacesWebErrors = AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ServiceQuotaExceededException | ThrottlingException | TooManyTagsException | ValidationException | CommonAwsError; + diff --git a/src/services/workspaces/index.ts b/src/services/workspaces/index.ts index 1af7ac7b..87c30977 100644 --- a/src/services/workspaces/index.ts +++ b/src/services/workspaces/index.ts @@ -5,24 +5,7 @@ import type { WorkSpaces as _WorkSpacesClient } from "./types.ts"; export * from "./types.ts"; -export { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - type CommonAwsError, -} from "../../error.ts"; +export {ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { diff --git a/src/services/workspaces/types.ts b/src/services/workspaces/types.ts index 386301da..0d31dc71 100644 --- a/src/services/workspaces/types.ts +++ b/src/services/workspaces/types.ts @@ -1,39 +1,6 @@ import type { Effect, Data as EffectData } from "effect"; -import type { - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, -} from "../../error.ts"; -type CommonAwsError = - | ExpiredTokenException - | IncompleteSignature - | InternalFailure - | MalformedHttpRequestException - | NotAuthorized - | OptInRequired - | RequestAbortedException - | RequestEntityTooLargeException - | RequestExpired - | RequestTimeoutException - | ServiceUnavailable - | ThrottlingException - | UnrecognizedClientException - | UnknownOperationException - | ValidationError - | AccessDeniedException - | ValidationException; +import type { ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError } from "../../error.ts"; +type CommonAwsError = ExpiredTokenException | IncompleteSignature | InternalFailure | MalformedHttpRequestException | NotAuthorized | OptInRequired | RequestAbortedException | RequestEntityTooLargeException | RequestExpired | RequestTimeoutException | ServiceUnavailable | ThrottlingException | UnrecognizedClientException | UnknownOperationException | ValidationError | AccessDeniedException | ValidationException; import { AWSServiceClient } from "../../client.ts"; export declare class WorkSpaces extends AWSServiceClient { @@ -41,249 +8,133 @@ export declare class WorkSpaces extends AWSServiceClient { input: AcceptAccountLinkInvitationRequest, ): Effect.Effect< AcceptAccountLinkInvitationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; associateConnectionAlias( input: AssociateConnectionAliasRequest, ): Effect.Effect< AssociateConnectionAliasResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceAssociatedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceAssociatedException | ResourceNotFoundException | CommonAwsError >; associateIpGroups( input: AssociateIpGroupsRequest, ): Effect.Effect< AssociateIpGroupsResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; associateWorkspaceApplication( input: AssociateWorkspaceApplicationRequest, ): Effect.Effect< AssociateWorkspaceApplicationResult, - | AccessDeniedException - | ApplicationNotSupportedException - | ComputeNotCompatibleException - | IncompatibleApplicationsException - | InvalidParameterValuesException - | OperatingSystemNotCompatibleException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | ApplicationNotSupportedException | ComputeNotCompatibleException | IncompatibleApplicationsException | InvalidParameterValuesException | OperatingSystemNotCompatibleException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; authorizeIpRules( input: AuthorizeIpRulesRequest, ): Effect.Effect< AuthorizeIpRulesResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; copyWorkspaceImage( input: CopyWorkspaceImageRequest, ): Effect.Effect< CopyWorkspaceImageResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | ResourceUnavailableException | CommonAwsError >; createAccountLinkInvitation( input: CreateAccountLinkInvitationRequest, ): Effect.Effect< CreateAccountLinkInvitationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ValidationException | CommonAwsError >; createConnectClientAddIn( input: CreateConnectClientAddInRequest, ): Effect.Effect< CreateConnectClientAddInResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceAlreadyExistsException - | ResourceCreationFailedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceAlreadyExistsException | ResourceCreationFailedException | ResourceNotFoundException | CommonAwsError >; createConnectionAlias( input: CreateConnectionAliasRequest, ): Effect.Effect< CreateConnectionAliasResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceLimitExceededException | CommonAwsError >; createIpGroup( input: CreateIpGroupRequest, ): Effect.Effect< CreateIpGroupResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceAlreadyExistsException - | ResourceCreationFailedException - | ResourceLimitExceededException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceAlreadyExistsException | ResourceCreationFailedException | ResourceLimitExceededException | CommonAwsError >; createStandbyWorkspaces( input: CreateStandbyWorkspacesRequest, ): Effect.Effect< CreateStandbyWorkspacesResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; createTags( input: CreateTagsRequest, ): Effect.Effect< CreateTagsResult, - | InvalidParameterValuesException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterValuesException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; createUpdatedWorkspaceImage( input: CreateUpdatedWorkspaceImageRequest, ): Effect.Effect< CreateUpdatedWorkspaceImageResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; createWorkspaceBundle( input: CreateWorkspaceBundleRequest, ): Effect.Effect< CreateWorkspaceBundleResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | ResourceUnavailableException | CommonAwsError >; createWorkspaceImage( input: CreateWorkspaceImageRequest, ): Effect.Effect< CreateWorkspaceImageResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; createWorkspaces( input: CreateWorkspacesRequest, ): Effect.Effect< CreateWorkspacesResult, - | InvalidParameterValuesException - | ResourceLimitExceededException - | CommonAwsError + InvalidParameterValuesException | ResourceLimitExceededException | CommonAwsError >; createWorkspacesPool( input: CreateWorkspacesPoolRequest, ): Effect.Effect< CreateWorkspacesPoolResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; deleteAccountLinkInvitation( input: DeleteAccountLinkInvitationRequest, ): Effect.Effect< DeleteAccountLinkInvitationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; deleteClientBranding( input: DeleteClientBrandingRequest, ): Effect.Effect< DeleteClientBrandingResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; deleteConnectClientAddIn( input: DeleteConnectClientAddInRequest, ): Effect.Effect< DeleteConnectClientAddInResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; deleteConnectionAlias( input: DeleteConnectionAliasRequest, ): Effect.Effect< DeleteConnectionAliasResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceAssociatedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceAssociatedException | ResourceNotFoundException | CommonAwsError >; deleteIpGroup( input: DeleteIpGroupRequest, ): Effect.Effect< DeleteIpGroupResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceAssociatedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceAssociatedException | ResourceNotFoundException | CommonAwsError >; deleteTags( input: DeleteTagsRequest, @@ -295,43 +146,25 @@ export declare class WorkSpaces extends AWSServiceClient { input: DeleteWorkspaceBundleRequest, ): Effect.Effect< DeleteWorkspaceBundleResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceAssociatedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceAssociatedException | ResourceNotFoundException | CommonAwsError >; deleteWorkspaceImage( input: DeleteWorkspaceImageRequest, ): Effect.Effect< DeleteWorkspaceImageResult, - | AccessDeniedException - | InvalidResourceStateException - | ResourceAssociatedException - | CommonAwsError + AccessDeniedException | InvalidResourceStateException | ResourceAssociatedException | CommonAwsError >; deployWorkspaceApplications( input: DeployWorkspaceApplicationsRequest, ): Effect.Effect< DeployWorkspaceApplicationsResult, - | AccessDeniedException - | IncompatibleApplicationsException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | IncompatibleApplicationsException | InvalidParameterValuesException | OperationNotSupportedException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; deregisterWorkspaceDirectory( input: DeregisterWorkspaceDirectoryRequest, ): Effect.Effect< DeregisterWorkspaceDirectoryResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; describeAccount( input: DescribeAccountRequest, @@ -349,77 +182,49 @@ export declare class WorkSpaces extends AWSServiceClient { input: DescribeApplicationAssociationsRequest, ): Effect.Effect< DescribeApplicationAssociationsResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; describeApplications( input: DescribeApplicationsRequest, ): Effect.Effect< DescribeApplicationsResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; describeBundleAssociations( input: DescribeBundleAssociationsRequest, ): Effect.Effect< DescribeBundleAssociationsResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; describeClientBranding( input: DescribeClientBrandingRequest, ): Effect.Effect< DescribeClientBrandingResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; describeClientProperties( input: DescribeClientPropertiesRequest, ): Effect.Effect< DescribeClientPropertiesResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; describeConnectClientAddIns( input: DescribeConnectClientAddInsRequest, ): Effect.Effect< DescribeConnectClientAddInsResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; describeConnectionAliases( input: DescribeConnectionAliasesRequest, ): Effect.Effect< DescribeConnectionAliasesResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | CommonAwsError >; describeConnectionAliasPermissions( input: DescribeConnectionAliasPermissionsRequest, ): Effect.Effect< DescribeConnectionAliasPermissionsResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; describeCustomWorkspaceImageImport( input: DescribeCustomWorkspaceImageImportRequest, @@ -431,11 +236,7 @@ export declare class WorkSpaces extends AWSServiceClient { input: DescribeImageAssociationsRequest, ): Effect.Effect< DescribeImageAssociationsResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; describeIpGroups( input: DescribeIpGroupsRequest, @@ -453,11 +254,7 @@ export declare class WorkSpaces extends AWSServiceClient { input: DescribeWorkspaceAssociationsRequest, ): Effect.Effect< DescribeWorkspaceAssociationsResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; describeWorkspaceBundles( input: DescribeWorkspaceBundlesRequest, @@ -475,10 +272,7 @@ export declare class WorkSpaces extends AWSServiceClient { input: DescribeWorkspaceImagePermissionsRequest, ): Effect.Effect< DescribeWorkspaceImagePermissionsResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; describeWorkspaceImages( input: DescribeWorkspaceImagesRequest, @@ -490,9 +284,7 @@ export declare class WorkSpaces extends AWSServiceClient { input: DescribeWorkspacesRequest, ): Effect.Effect< DescribeWorkspacesResult, - | InvalidParameterValuesException - | ResourceUnavailableException - | CommonAwsError + InvalidParameterValuesException | ResourceUnavailableException | CommonAwsError >; describeWorkspacesConnectionStatus( input: DescribeWorkspacesConnectionStatusRequest, @@ -504,114 +296,67 @@ export declare class WorkSpaces extends AWSServiceClient { input: DescribeWorkspaceSnapshotsRequest, ): Effect.Effect< DescribeWorkspaceSnapshotsResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; describeWorkspacesPools( input: DescribeWorkspacesPoolsRequest, ): Effect.Effect< DescribeWorkspacesPoolsResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; describeWorkspacesPoolSessions( input: DescribeWorkspacesPoolSessionsRequest, ): Effect.Effect< DescribeWorkspacesPoolSessionsResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; disassociateConnectionAlias( input: DisassociateConnectionAliasRequest, ): Effect.Effect< DisassociateConnectionAliasResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; disassociateIpGroups( input: DisassociateIpGroupsRequest, ): Effect.Effect< DisassociateIpGroupsResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; disassociateWorkspaceApplication( input: DisassociateWorkspaceApplicationRequest, ): Effect.Effect< DisassociateWorkspaceApplicationResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceInUseException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceInUseException | ResourceNotFoundException | CommonAwsError >; getAccountLink( input: GetAccountLinkRequest, ): Effect.Effect< GetAccountLinkResult, - | AccessDeniedException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; importClientBranding( input: ImportClientBrandingRequest, ): Effect.Effect< ImportClientBrandingResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; importCustomWorkspaceImage( input: ImportCustomWorkspaceImageRequest, ): Effect.Effect< ImportCustomWorkspaceImageResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; importWorkspaceImage( input: ImportWorkspaceImageRequest, ): Effect.Effect< ImportWorkspaceImageResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; listAccountLinks( input: ListAccountLinksRequest, ): Effect.Effect< ListAccountLinksResult, - | AccessDeniedException - | InternalServerException - | ValidationException - | CommonAwsError + AccessDeniedException | InternalServerException | ValidationException | CommonAwsError >; listAvailableManagementCidrRanges( input: ListAvailableManagementCidrRangesRequest, @@ -623,127 +368,73 @@ export declare class WorkSpaces extends AWSServiceClient { input: MigrateWorkspaceRequest, ): Effect.Effect< MigrateWorkspaceResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationInProgressException - | OperationNotSupportedException - | ResourceNotFoundException - | ResourceUnavailableException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationInProgressException | OperationNotSupportedException | ResourceNotFoundException | ResourceUnavailableException | CommonAwsError >; modifyAccount( input: ModifyAccountRequest, ): Effect.Effect< ModifyAccountResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | ResourceNotFoundException - | ResourceUnavailableException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | ResourceNotFoundException | ResourceUnavailableException | CommonAwsError >; modifyCertificateBasedAuthProperties( input: ModifyCertificateBasedAuthPropertiesRequest, ): Effect.Effect< ModifyCertificateBasedAuthPropertiesResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; modifyClientProperties( input: ModifyClientPropertiesRequest, ): Effect.Effect< ModifyClientPropertiesResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; modifyEndpointEncryptionMode( input: ModifyEndpointEncryptionModeRequest, ): Effect.Effect< ModifyEndpointEncryptionModeResponse, - | AccessDeniedException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; modifySamlProperties( input: ModifySamlPropertiesRequest, ): Effect.Effect< ModifySamlPropertiesResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; modifySelfservicePermissions( input: ModifySelfservicePermissionsRequest, ): Effect.Effect< ModifySelfservicePermissionsResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; modifyStreamingProperties( input: ModifyStreamingPropertiesRequest, ): Effect.Effect< ModifyStreamingPropertiesResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; modifyWorkspaceAccessProperties( input: ModifyWorkspaceAccessPropertiesRequest, ): Effect.Effect< ModifyWorkspaceAccessPropertiesResult, - | AccessDeniedException - | InvalidParameterCombinationException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterCombinationException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; modifyWorkspaceCreationProperties( input: ModifyWorkspaceCreationPropertiesRequest, ): Effect.Effect< ModifyWorkspaceCreationPropertiesResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; modifyWorkspaceProperties( input: ModifyWorkspacePropertiesRequest, ): Effect.Effect< ModifyWorkspacePropertiesResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationInProgressException - | ResourceNotFoundException - | ResourceUnavailableException - | UnsupportedWorkspaceConfigurationException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationInProgressException | ResourceNotFoundException | ResourceUnavailableException | UnsupportedWorkspaceConfigurationException | CommonAwsError >; modifyWorkspaceState( input: ModifyWorkspaceStateRequest, ): Effect.Effect< ModifyWorkspaceStateResult, - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; rebootWorkspaces( input: RebootWorkspacesRequest, @@ -761,170 +452,103 @@ export declare class WorkSpaces extends AWSServiceClient { input: RegisterWorkspaceDirectoryRequest, ): Effect.Effect< RegisterWorkspaceDirectoryResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceLimitExceededException - | ResourceNotFoundException - | UnsupportedNetworkConfigurationException - | WorkspacesDefaultRoleNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceLimitExceededException | ResourceNotFoundException | UnsupportedNetworkConfigurationException | WorkspacesDefaultRoleNotFoundException | CommonAwsError >; rejectAccountLinkInvitation( input: RejectAccountLinkInvitationRequest, ): Effect.Effect< RejectAccountLinkInvitationResult, - | AccessDeniedException - | ConflictException - | InternalServerException - | ResourceNotFoundException - | ValidationException - | CommonAwsError + AccessDeniedException | ConflictException | InternalServerException | ResourceNotFoundException | ValidationException | CommonAwsError >; restoreWorkspace( input: RestoreWorkspaceRequest, ): Effect.Effect< RestoreWorkspaceResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; revokeIpRules( input: RevokeIpRulesRequest, ): Effect.Effect< RevokeIpRulesResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | ResourceNotFoundException | CommonAwsError >; startWorkspaces( input: StartWorkspacesRequest, - ): Effect.Effect; + ): Effect.Effect< + StartWorkspacesResult, + CommonAwsError + >; startWorkspacesPool( input: StartWorkspacesPoolRequest, ): Effect.Effect< StartWorkspacesPoolResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationInProgressException - | OperationNotSupportedException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationInProgressException | OperationNotSupportedException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; stopWorkspaces( input: StopWorkspacesRequest, - ): Effect.Effect; + ): Effect.Effect< + StopWorkspacesResult, + CommonAwsError + >; stopWorkspacesPool( input: StopWorkspacesPoolRequest, ): Effect.Effect< StopWorkspacesPoolResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationInProgressException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationInProgressException | ResourceNotFoundException | CommonAwsError >; terminateWorkspaces( input: TerminateWorkspacesRequest, - ): Effect.Effect; + ): Effect.Effect< + TerminateWorkspacesResult, + CommonAwsError + >; terminateWorkspacesPool( input: TerminateWorkspacesPoolRequest, ): Effect.Effect< TerminateWorkspacesPoolResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationInProgressException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationInProgressException | ResourceNotFoundException | CommonAwsError >; terminateWorkspacesPoolSession( input: TerminateWorkspacesPoolSessionRequest, ): Effect.Effect< TerminateWorkspacesPoolSessionResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationInProgressException - | OperationNotSupportedException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationInProgressException | OperationNotSupportedException | ResourceNotFoundException | CommonAwsError >; updateConnectClientAddIn( input: UpdateConnectClientAddInRequest, ): Effect.Effect< UpdateConnectClientAddInResult, - | AccessDeniedException - | InvalidParameterValuesException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | ResourceNotFoundException | CommonAwsError >; updateConnectionAliasPermission( input: UpdateConnectionAliasPermissionRequest, ): Effect.Effect< UpdateConnectionAliasPermissionResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationNotSupportedException - | ResourceAssociatedException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationNotSupportedException | ResourceAssociatedException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; updateRulesOfIpGroup( input: UpdateRulesOfIpGroupRequest, ): Effect.Effect< UpdateRulesOfIpGroupResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; updateWorkspaceBundle( input: UpdateWorkspaceBundleRequest, ): Effect.Effect< UpdateWorkspaceBundleResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | ResourceUnavailableException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | ResourceUnavailableException | CommonAwsError >; updateWorkspaceImagePermission( input: UpdateWorkspaceImagePermissionRequest, ): Effect.Effect< UpdateWorkspaceImagePermissionResult, - | AccessDeniedException - | InvalidParameterValuesException - | OperationNotSupportedException - | ResourceNotFoundException - | ResourceUnavailableException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | OperationNotSupportedException | ResourceNotFoundException | ResourceUnavailableException | CommonAwsError >; updateWorkspacesPool( input: UpdateWorkspacesPoolRequest, ): Effect.Effect< UpdateWorkspacesPoolResult, - | AccessDeniedException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperationInProgressException - | OperationNotSupportedException - | ResourceLimitExceededException - | ResourceNotFoundException - | CommonAwsError + AccessDeniedException | InvalidParameterValuesException | InvalidResourceStateException | OperationInProgressException | OperationNotSupportedException | ResourceLimitExceededException | ResourceNotFoundException | CommonAwsError >; } @@ -960,12 +584,7 @@ export interface AccountLink { TargetAccountId?: string; } export type AccountLinkList = Array; -export type AccountLinkStatusEnum = - | "LINKED" - | "LINKING_FAILED" - | "LINK_NOT_FOUND" - | "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" - | "REJECTED"; +export type AccountLinkStatusEnum = "LINKED" | "LINKING_FAILED" | "LINK_NOT_FOUND" | "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT" | "REJECTED"; export interface AccountModification { ModificationState?: DedicatedTenancyModificationStateEnum; DedicatedTenancySupport?: DedicatedTenancySupportResultEnum; @@ -998,16 +617,13 @@ export type AlphanumericDashUnderscoreNonEmptyString = string; export type AmazonUuid = string; export type Application = "Microsoft_Office_2016" | "Microsoft_Office_2019"; -export type ApplicationAssociatedResourceType = - | "WORKSPACE" - | "BUNDLE" - | "IMAGE"; -export type ApplicationAssociatedResourceTypeList = - Array; +export type ApplicationAssociatedResourceType = "WORKSPACE" | "BUNDLE" | "IMAGE"; +export type ApplicationAssociatedResourceTypeList = Array; export type ApplicationList = Array; export declare class ApplicationNotSupportedException extends EffectData.TaggedError( "ApplicationNotSupportedException", -)<{}> {} +)<{ +}> {} export interface ApplicationResourceAssociation { ApplicationId?: string; AssociatedResourceId?: string; @@ -1017,8 +633,7 @@ export interface ApplicationResourceAssociation { State?: AssociationState; StateReason?: AssociationStateReason; } -export type ApplicationResourceAssociationList = - Array; +export type ApplicationResourceAssociationList = Array; export interface ApplicationSettingsRequest { Status: ApplicationSettingsStatusEnum; SettingsGroup?: string; @@ -1042,7 +657,8 @@ export interface AssociateIpGroupsRequest { DirectoryId: string; GroupIds: Array; } -export interface AssociateIpGroupsResult {} +export interface AssociateIpGroupsResult { +} export interface AssociateWorkspaceApplicationRequest { WorkspaceId: string; ApplicationId: string; @@ -1050,38 +666,20 @@ export interface AssociateWorkspaceApplicationRequest { export interface AssociateWorkspaceApplicationResult { Association?: WorkspaceResourceAssociation; } -export type AssociationErrorCode = - | "ValidationError.InsufficientDiskSpace" - | "ValidationError.InsufficientMemory" - | "ValidationError.UnsupportedOperatingSystem" - | "DeploymentError.InternalServerError" - | "DeploymentError.WorkspaceUnreachable"; -export type AssociationState = - | "PENDING_INSTALL" - | "PENDING_INSTALL_DEPLOYMENT" - | "PENDING_UNINSTALL" - | "PENDING_UNINSTALL_DEPLOYMENT" - | "INSTALLING" - | "UNINSTALLING" - | "ERROR" - | "COMPLETED" - | "REMOVED"; +export type AssociationErrorCode = "ValidationError.InsufficientDiskSpace" | "ValidationError.InsufficientMemory" | "ValidationError.UnsupportedOperatingSystem" | "DeploymentError.InternalServerError" | "DeploymentError.WorkspaceUnreachable"; +export type AssociationState = "PENDING_INSTALL" | "PENDING_INSTALL_DEPLOYMENT" | "PENDING_UNINSTALL" | "PENDING_UNINSTALL_DEPLOYMENT" | "INSTALLING" | "UNINSTALLING" | "ERROR" | "COMPLETED" | "REMOVED"; export interface AssociationStateReason { ErrorCode?: AssociationErrorCode; ErrorMessage?: string; } -export type AssociationStatus = - | "NOT_ASSOCIATED" - | "ASSOCIATED_WITH_OWNER_ACCOUNT" - | "ASSOCIATED_WITH_SHARED_ACCOUNT" - | "PENDING_ASSOCIATION" - | "PENDING_DISASSOCIATION"; +export type AssociationStatus = "NOT_ASSOCIATED" | "ASSOCIATED_WITH_OWNER_ACCOUNT" | "ASSOCIATED_WITH_SHARED_ACCOUNT" | "PENDING_ASSOCIATION" | "PENDING_DISASSOCIATION"; export type AuthenticationType = "SAML"; export interface AuthorizeIpRulesRequest { GroupId: string; UserRules: Array; } -export interface AuthorizeIpRulesResult {} +export interface AuthorizeIpRulesResult { +} export type AvailableUserSessions = number; export type AwsAccount = string; @@ -1089,8 +687,7 @@ export type AwsAccount = string; export type BooleanObject = boolean; export type BundleAssociatedResourceType = "APPLICATION"; -export type BundleAssociatedResourceTypeList = - Array; +export type BundleAssociatedResourceTypeList = Array; export type BundleId = string; export type BundleIdList = Array; @@ -1124,13 +721,7 @@ export interface CertificateBasedAuthProperties { CertificateAuthorityArn?: string; } export type CertificateBasedAuthStatusEnum = "DISABLED" | "ENABLED"; -export type ClientDeviceType = - | "DeviceTypeWindows" - | "DeviceTypeOsx" - | "DeviceTypeAndroid" - | "DeviceTypeIos" - | "DeviceTypeLinux" - | "DeviceTypeWeb"; +export type ClientDeviceType = "DeviceTypeWindows" | "DeviceTypeOsx" | "DeviceTypeAndroid" | "DeviceTypeIos" | "DeviceTypeLinux" | "DeviceTypeWeb"; export type ClientDeviceTypeList = Array; export type ClientEmail = string; @@ -1151,22 +742,12 @@ export type ClientToken = string; export type ClientUrl = string; -export type Compute = - | "VALUE" - | "STANDARD" - | "PERFORMANCE" - | "POWER" - | "GRAPHICS" - | "POWERPRO" - | "GENERALPURPOSE_4XLARGE" - | "GENERALPURPOSE_8XLARGE" - | "GRAPHICSPRO" - | "GRAPHICS_G4DN" - | "GRAPHICSPRO_G4DN"; +export type Compute = "VALUE" | "STANDARD" | "PERFORMANCE" | "POWER" | "GRAPHICS" | "POWERPRO" | "GENERALPURPOSE_4XLARGE" | "GENERALPURPOSE_8XLARGE" | "GRAPHICSPRO" | "GRAPHICS_G4DN" | "GRAPHICSPRO_G4DN"; export type ComputeList = Array; export declare class ComputeNotCompatibleException extends EffectData.TaggedError( "ComputeNotCompatibleException", -)<{}> {} +)<{ +}> {} export type ComputerName = string; export interface ComputeType { @@ -1266,7 +847,8 @@ export interface CreateTagsRequest { ResourceId: string; Tags: Array; } -export interface CreateTagsResult {} +export interface CreateTagsResult { +} export interface CreateUpdatedWorkspaceImageRequest { Name: string; Description: string; @@ -1330,13 +912,8 @@ export interface CustomWorkspaceImageImportErrorDetails { ErrorCode?: string; ErrorMessage?: string; } -export type CustomWorkspaceImageImportErrorDetailsList = - Array; -export type CustomWorkspaceImageImportState = - | "PENDING" - | "IN_PROGRESS" - | "COMPLETED" - | "ERROR"; +export type CustomWorkspaceImageImportErrorDetailsList = Array; +export type CustomWorkspaceImageImportState = "PENDING" | "IN_PROGRESS" | "COMPLETED" | "ERROR"; export type DataReplication = "NO_REPLICATION" | "PRIMARY_AS_SOURCE"; export interface DataReplicationSettings { DataReplication?: DataReplication; @@ -1346,10 +923,7 @@ export type DedicatedTenancyAccountType = "SOURCE_ACCOUNT" | "TARGET_ACCOUNT"; export type DedicatedTenancyCidrRangeList = Array; export type DedicatedTenancyManagementCidrRange = string; -export type DedicatedTenancyModificationStateEnum = - | "PENDING" - | "COMPLETED" - | "FAILED"; +export type DedicatedTenancyModificationStateEnum = "PENDING" | "COMPLETED" | "FAILED"; export type DedicatedTenancySupportEnum = "ENABLED"; export type DedicatedTenancySupportResultEnum = "ENABLED" | "DISABLED"; export interface DefaultClientBrandingAttributes { @@ -1378,14 +952,10 @@ export interface DefaultWorkspaceCreationProperties { EnableMaintenanceMode?: boolean; InstanceIamRoleArn?: string; } -export type DeletableCertificateBasedAuthPropertiesList = - Array; -export type DeletableCertificateBasedAuthProperty = - "CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN"; +export type DeletableCertificateBasedAuthPropertiesList = Array; +export type DeletableCertificateBasedAuthProperty = "CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN"; export type DeletableSamlPropertiesList = Array; -export type DeletableSamlProperty = - | "SAML_PROPERTIES_USER_ACCESS_URL" - | "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME"; +export type DeletableSamlProperty = "SAML_PROPERTIES_USER_ACCESS_URL" | "SAML_PROPERTIES_RELAY_STATE_PARAMETER_NAME"; export interface DeleteAccountLinkInvitationRequest { LinkId: string; ClientToken?: string; @@ -1397,33 +967,40 @@ export interface DeleteClientBrandingRequest { ResourceId: string; Platforms: Array; } -export interface DeleteClientBrandingResult {} +export interface DeleteClientBrandingResult { +} export interface DeleteConnectClientAddInRequest { AddInId: string; ResourceId: string; } -export interface DeleteConnectClientAddInResult {} +export interface DeleteConnectClientAddInResult { +} export interface DeleteConnectionAliasRequest { AliasId: string; } -export interface DeleteConnectionAliasResult {} +export interface DeleteConnectionAliasResult { +} export interface DeleteIpGroupRequest { GroupId: string; } -export interface DeleteIpGroupResult {} +export interface DeleteIpGroupResult { +} export interface DeleteTagsRequest { ResourceId: string; TagKeys: Array; } -export interface DeleteTagsResult {} +export interface DeleteTagsResult { +} export interface DeleteWorkspaceBundleRequest { BundleId?: string; } -export interface DeleteWorkspaceBundleResult {} +export interface DeleteWorkspaceBundleResult { +} export interface DeleteWorkspaceImageRequest { ImageId: string; } -export interface DeleteWorkspaceImageResult {} +export interface DeleteWorkspaceImageResult { +} export interface DeployWorkspaceApplicationsRequest { WorkspaceId: string; Force?: boolean; @@ -1434,7 +1011,8 @@ export interface DeployWorkspaceApplicationsResult { export interface DeregisterWorkspaceDirectoryRequest { DirectoryId: string; } -export interface DeregisterWorkspaceDirectoryResult {} +export interface DeregisterWorkspaceDirectoryResult { +} export interface DescribeAccountModificationsRequest { NextToken?: string; } @@ -1442,7 +1020,8 @@ export interface DescribeAccountModificationsResult { AccountModifications?: Array; NextToken?: string; } -export interface DescribeAccountRequest {} +export interface DescribeAccountRequest { +} export interface DescribeAccountResult { DedicatedTenancySupport?: DedicatedTenancySupportResultEnum; DedicatedTenancyManagementCidrRange?: string; @@ -1580,11 +1159,8 @@ export interface DescribeWorkspaceDirectoriesFilter { Name: DescribeWorkspaceDirectoriesFilterName; Values: Array; } -export type DescribeWorkspaceDirectoriesFilterList = - Array; -export type DescribeWorkspaceDirectoriesFilterName = - | "USER_IDENTITY_TYPE" - | "WORKSPACE_TYPE"; +export type DescribeWorkspaceDirectoriesFilterList = Array; +export type DescribeWorkspaceDirectoriesFilterName = "USER_IDENTITY_TYPE" | "WORKSPACE_TYPE"; export type DescribeWorkspaceDirectoriesFilterValue = string; export type DescribeWorkspaceDirectoriesFilterValues = Array; @@ -1650,13 +1226,8 @@ export interface DescribeWorkspacesPoolsFilter { Operator: DescribeWorkspacesPoolsFilterOperator; } export type DescribeWorkspacesPoolsFilterName = "PoolName"; -export type DescribeWorkspacesPoolsFilterOperator = - | "EQUALS" - | "NOTEQUALS" - | "CONTAINS" - | "NOTCONTAINS"; -export type DescribeWorkspacesPoolsFilters = - Array; +export type DescribeWorkspacesPoolsFilterOperator = "EQUALS" | "NOTEQUALS" | "CONTAINS" | "NOTCONTAINS"; +export type DescribeWorkspacesPoolsFilters = Array; export type DescribeWorkspacesPoolsFilterValue = string; export type DescribeWorkspacesPoolsFilterValues = Array; @@ -1696,12 +1267,14 @@ export type DirectoryName = string; export interface DisassociateConnectionAliasRequest { AliasId: string; } -export interface DisassociateConnectionAliasResult {} +export interface DisassociateConnectionAliasResult { +} export interface DisassociateIpGroupsRequest { DirectoryId: string; GroupIds: Array; } -export interface DisassociateIpGroupsResult {} +export interface DisassociateIpGroupsResult { +} export interface DisassociateWorkspaceApplicationRequest { WorkspaceId: string; ApplicationId: string; @@ -1740,8 +1313,7 @@ export interface FailedCreateStandbyWorkspacesRequest { ErrorCode?: string; ErrorMessage?: string; } -export type FailedCreateStandbyWorkspacesRequestList = - Array; +export type FailedCreateStandbyWorkspacesRequestList = Array; export interface FailedCreateWorkspaceRequest { WorkspaceRequest?: WorkspaceRequest; ErrorCode?: string; @@ -1749,12 +1321,10 @@ export interface FailedCreateWorkspaceRequest { } export type FailedCreateWorkspaceRequests = Array; export type FailedRebootWorkspaceRequests = Array; -export type FailedRebuildWorkspaceRequests = - Array; +export type FailedRebuildWorkspaceRequests = Array; export type FailedStartWorkspaceRequests = Array; export type FailedStopWorkspaceRequests = Array; -export type FailedTerminateWorkspaceRequests = - Array; +export type FailedTerminateWorkspaceRequests = Array; export interface FailedWorkspaceChangeRequest { WorkspaceId?: string; ErrorCode?: string; @@ -1782,8 +1352,7 @@ export interface IDCConfig { export type IdleDisconnectTimeoutInSeconds = number; export type ImageAssociatedResourceType = "APPLICATION"; -export type ImageAssociatedResourceTypeList = - Array; +export type ImageAssociatedResourceTypeList = Array; export type ImageBuildVersionArn = string; export type ImageComputeType = "BASE" | "GRAPHICS_G4DN"; @@ -1809,10 +1378,7 @@ interface _ImageSourceIdentifier { Ec2ImageId?: string; } -export type ImageSourceIdentifier = - | (_ImageSourceIdentifier & { Ec2ImportTaskId: string }) - | (_ImageSourceIdentifier & { ImageBuildVersionArn: string }) - | (_ImageSourceIdentifier & { Ec2ImageId: string }); +export type ImageSourceIdentifier = (_ImageSourceIdentifier & { Ec2ImportTaskId: string }) | (_ImageSourceIdentifier & { ImageBuildVersionArn: string }) | (_ImageSourceIdentifier & { Ec2ImageId: string }); export type ImageType = "OWNED" | "SHARED"; export interface ImportClientBrandingRequest { ResourceId: string; @@ -1859,7 +1425,8 @@ export interface ImportWorkspaceImageResult { } export declare class IncompatibleApplicationsException extends EffectData.TaggedError( "IncompatibleApplicationsException", -)<{}> {} +)<{ +}> {} export type InfrastructureConfigurationArn = string; export declare class InternalServerException extends EffectData.TaggedError( @@ -1980,10 +1547,7 @@ export interface MigrateWorkspaceResult { SourceWorkspaceId?: string; TargetWorkspaceId?: string; } -export type ModificationResourceEnum = - | "ROOT_VOLUME" - | "USER_VOLUME" - | "COMPUTE_TYPE"; +export type ModificationResourceEnum = "ROOT_VOLUME" | "USER_VOLUME" | "COMPUTE_TYPE"; export interface ModificationState { Resource?: ModificationResourceEnum; State?: ModificationStateEnum; @@ -2002,54 +1566,64 @@ export interface ModifyCertificateBasedAuthPropertiesRequest { CertificateBasedAuthProperties?: CertificateBasedAuthProperties; PropertiesToDelete?: Array; } -export interface ModifyCertificateBasedAuthPropertiesResult {} +export interface ModifyCertificateBasedAuthPropertiesResult { +} export interface ModifyClientPropertiesRequest { ResourceId: string; ClientProperties: ClientProperties; } -export interface ModifyClientPropertiesResult {} +export interface ModifyClientPropertiesResult { +} export interface ModifyEndpointEncryptionModeRequest { DirectoryId: string; EndpointEncryptionMode: EndpointEncryptionMode; } -export interface ModifyEndpointEncryptionModeResponse {} +export interface ModifyEndpointEncryptionModeResponse { +} export interface ModifySamlPropertiesRequest { ResourceId: string; SamlProperties?: SamlProperties; PropertiesToDelete?: Array; } -export interface ModifySamlPropertiesResult {} +export interface ModifySamlPropertiesResult { +} export interface ModifySelfservicePermissionsRequest { ResourceId: string; SelfservicePermissions: SelfservicePermissions; } -export interface ModifySelfservicePermissionsResult {} +export interface ModifySelfservicePermissionsResult { +} export interface ModifyStreamingPropertiesRequest { ResourceId: string; StreamingProperties?: StreamingProperties; } -export interface ModifyStreamingPropertiesResult {} +export interface ModifyStreamingPropertiesResult { +} export interface ModifyWorkspaceAccessPropertiesRequest { ResourceId: string; WorkspaceAccessProperties: WorkspaceAccessProperties; } -export interface ModifyWorkspaceAccessPropertiesResult {} +export interface ModifyWorkspaceAccessPropertiesResult { +} export interface ModifyWorkspaceCreationPropertiesRequest { ResourceId: string; WorkspaceCreationProperties: WorkspaceCreationProperties; } -export interface ModifyWorkspaceCreationPropertiesResult {} +export interface ModifyWorkspaceCreationPropertiesResult { +} export interface ModifyWorkspacePropertiesRequest { WorkspaceId: string; WorkspaceProperties?: WorkspaceProperties; DataReplication?: DataReplication; } -export interface ModifyWorkspacePropertiesResult {} +export interface ModifyWorkspacePropertiesResult { +} export interface ModifyWorkspaceStateRequest { WorkspaceId: string; WorkspaceState: TargetWorkspaceState; } -export interface ModifyWorkspaceStateResult {} +export interface ModifyWorkspaceStateResult { +} export interface NetworkAccessConfiguration { EniPrivateIpAddress?: string; EniId?: string; @@ -2059,24 +1633,12 @@ export type NonEmptyString = string; export interface OperatingSystem { Type?: OperatingSystemType; } -export type OperatingSystemName = - | "AMAZON_LINUX_2" - | "UBUNTU_18_04" - | "UBUNTU_20_04" - | "UBUNTU_22_04" - | "UNKNOWN" - | "WINDOWS_10" - | "WINDOWS_11" - | "WINDOWS_7" - | "WINDOWS_SERVER_2016" - | "WINDOWS_SERVER_2019" - | "WINDOWS_SERVER_2022" - | "RHEL_8" - | "ROCKY_8"; +export type OperatingSystemName = "AMAZON_LINUX_2" | "UBUNTU_18_04" | "UBUNTU_20_04" | "UBUNTU_22_04" | "UNKNOWN" | "WINDOWS_10" | "WINDOWS_11" | "WINDOWS_7" | "WINDOWS_SERVER_2016" | "WINDOWS_SERVER_2019" | "WINDOWS_SERVER_2022" | "RHEL_8" | "ROCKY_8"; export type OperatingSystemNameList = Array; export declare class OperatingSystemNotCompatibleException extends EffectData.TaggedError( "OperatingSystemNotCompatibleException", -)<{}> {} +)<{ +}> {} export type OperatingSystemType = "WINDOWS" | "LINUX"; export declare class OperationInProgressException extends EffectData.TaggedError( "OperationInProgressException", @@ -2098,8 +1660,7 @@ export interface PendingCreateStandbyWorkspacesRequest { State?: WorkspaceState; WorkspaceId?: string; } -export type PendingCreateStandbyWorkspacesRequestList = - Array; +export type PendingCreateStandbyWorkspacesRequestList = Array; export type Platform = "WINDOWS"; export type PoolsRunningMode = "AUTO_STOP" | "ALWAYS_ON"; export type Protocol = "PCOIP" | "WSP"; @@ -2203,12 +1764,14 @@ export declare class ResourceUnavailableException extends EffectData.TaggedError export interface RestoreWorkspaceRequest { WorkspaceId: string; } -export interface RestoreWorkspaceResult {} +export interface RestoreWorkspaceResult { +} export interface RevokeIpRulesRequest { GroupId: string; UserRules: Array; } -export interface RevokeIpRulesResult {} +export interface RevokeIpRulesResult { +} export interface RootStorage { Capacity: string; } @@ -2224,10 +1787,7 @@ export interface SamlProperties { UserAccessUrl?: string; RelayStateParameterName?: string; } -export type SamlStatusEnum = - | "DISABLED" - | "ENABLED" - | "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK"; +export type SamlStatusEnum = "DISABLED" | "ENABLED" | "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK"; export type SamlUserAccessUrl = string; export type SecretsManagerArn = string; @@ -2264,8 +1824,7 @@ export interface StandbyWorkspacesProperties { DataReplication?: DataReplication; RecoverySnapshotTime?: Date | string; } -export type StandbyWorkspacesPropertiesList = - Array; +export type StandbyWorkspacesPropertiesList = Array; export interface StartRequest { WorkspaceId?: string; } @@ -2273,7 +1832,8 @@ export type StartWorkspaceRequests = Array; export interface StartWorkspacesPoolRequest { PoolId: string; } -export interface StartWorkspacesPoolResult {} +export interface StartWorkspacesPoolResult { +} export interface StartWorkspacesRequest { StartWorkspaceRequests: Array; } @@ -2287,7 +1847,8 @@ export type StopWorkspaceRequests = Array; export interface StopWorkspacesPoolRequest { PoolId: string; } -export interface StopWorkspacesPoolResult {} +export interface StopWorkspacesPoolResult { +} export interface StopWorkspacesRequest { StopWorkspaceRequests: Array; } @@ -2332,11 +1893,13 @@ export type TerminateWorkspaceRequests = Array; export interface TerminateWorkspacesPoolRequest { PoolId: string; } -export interface TerminateWorkspacesPoolResult {} +export interface TerminateWorkspacesPoolResult { +} export interface TerminateWorkspacesPoolSessionRequest { SessionId: string; } -export interface TerminateWorkspacesPoolSessionResult {} +export interface TerminateWorkspacesPoolSessionResult { +} export interface TerminateWorkspacesRequest { TerminateWorkspaceRequests: Array; } @@ -2366,12 +1929,14 @@ export interface UpdateConnectClientAddInRequest { Name?: string; URL?: string; } -export interface UpdateConnectClientAddInResult {} +export interface UpdateConnectClientAddInResult { +} export interface UpdateConnectionAliasPermissionRequest { AliasId: string; ConnectionAliasPermission: ConnectionAliasPermission; } -export interface UpdateConnectionAliasPermissionResult {} +export interface UpdateConnectionAliasPermissionResult { +} export type UpdateDescription = string; export interface UpdateResult { @@ -2382,18 +1947,21 @@ export interface UpdateRulesOfIpGroupRequest { GroupId: string; UserRules: Array; } -export interface UpdateRulesOfIpGroupResult {} +export interface UpdateRulesOfIpGroupResult { +} export interface UpdateWorkspaceBundleRequest { BundleId?: string; ImageId?: string; } -export interface UpdateWorkspaceBundleResult {} +export interface UpdateWorkspaceBundleResult { +} export interface UpdateWorkspaceImagePermissionRequest { ImageId: string; AllowCopyImage: boolean; SharedAccountId: string; } -export interface UpdateWorkspaceImagePermissionResult {} +export interface UpdateWorkspaceImagePermissionResult { +} export interface UpdateWorkspacesPoolRequest { PoolId: string; Description?: string; @@ -2407,10 +1975,7 @@ export interface UpdateWorkspacesPoolRequest { export interface UpdateWorkspacesPoolResult { WorkspacesPool?: WorkspacesPool; } -export type UserIdentityType = - | "CUSTOMER_MANAGED" - | "AWS_DIRECTORY_SERVICE" - | "AWS_IAM_IDENTITY_CENTER"; +export type UserIdentityType = "CUSTOMER_MANAGED" | "AWS_DIRECTORY_SERVICE" | "AWS_IAM_IDENTITY_CENTER"; export type UserName = string; export interface UserSetting { @@ -2418,11 +1983,7 @@ export interface UserSetting { Permission: UserSettingPermissionEnum; MaximumLength?: number; } -export type UserSettingActionEnum = - | "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" - | "CLIPBOARD_COPY_TO_LOCAL_DEVICE" - | "PRINTING_TO_LOCAL_DEVICE" - | "SMART_CARD"; +export type UserSettingActionEnum = "CLIPBOARD_COPY_FROM_LOCAL_DEVICE" | "CLIPBOARD_COPY_TO_LOCAL_DEVICE" | "PRINTING_TO_LOCAL_DEVICE" | "SMART_CARD"; export type UserSettingPermissionEnum = "ENABLED" | "DISABLED"; export type UserSettings = Array; export interface UserStorage { @@ -2492,14 +2053,9 @@ export type WorkSpaceApplicationLicenseType = "LICENSED" | "UNLICENSED"; export type WorkSpaceApplicationList = Array; export type WorkSpaceApplicationOwner = string; -export type WorkSpaceApplicationState = - | "PENDING" - | "ERROR" - | "AVAILABLE" - | "UNINSTALL_ONLY"; +export type WorkSpaceApplicationState = "PENDING" | "ERROR" | "AVAILABLE" | "UNINSTALL_ONLY"; export type WorkSpaceAssociatedResourceType = "APPLICATION"; -export type WorkSpaceAssociatedResourceTypeList = - Array; +export type WorkSpaceAssociatedResourceTypeList = Array; export interface WorkspaceBundle { BundleId?: string; Name?: string; @@ -2570,17 +2126,8 @@ export type WorkspaceDirectoryDescription = string; export type WorkspaceDirectoryName = string; export type WorkspaceDirectoryNameList = Array; -export type WorkspaceDirectoryState = - | "REGISTERING" - | "REGISTERED" - | "DEREGISTERING" - | "DEREGISTERED" - | "ERROR"; -export type WorkspaceDirectoryType = - | "SIMPLE_AD" - | "AD_CONNECTOR" - | "CUSTOMER_MANAGED" - | "AWS_IAM_IDENTITY_CENTER"; +export type WorkspaceDirectoryState = "REGISTERING" | "REGISTERED" | "DEREGISTERING" | "DEREGISTERED" | "ERROR"; +export type WorkspaceDirectoryType = "SIMPLE_AD" | "AD_CONNECTOR" | "CUSTOMER_MANAGED" | "AWS_IAM_IDENTITY_CENTER"; export type WorkspaceErrorCode = string; export type WorkspaceId = string; @@ -2604,67 +2151,11 @@ export type WorkspaceImageDescription = string; export type WorkspaceImageErrorCode = string; -export type WorkspaceImageErrorDetailCode = - | "OutdatedPowershellVersion" - | "OfficeInstalled" - | "PCoIPAgentInstalled" - | "WindowsUpdatesEnabled" - | "AutoMountDisabled" - | "WorkspacesBYOLAccountNotFound" - | "WorkspacesBYOLAccountDisabled" - | "DHCPDisabled" - | "DiskFreeSpace" - | "AdditionalDrivesAttached" - | "OSNotSupported" - | "DomainJoined" - | "AzureDomainJoined" - | "FirewallEnabled" - | "VMWareToolsInstalled" - | "DiskSizeExceeded" - | "IncompatiblePartitioning" - | "PendingReboot" - | "AutoLogonEnabled" - | "RealTimeUniversalDisabled" - | "MultipleBootPartition" - | "Requires64BitOS" - | "ZeroRearmCount" - | "InPlaceUpgrade" - | "AntiVirusInstalled" - | "UEFINotSupported" - | "UnknownError" - | "AppXPackagesInstalled" - | "ReservedStorageInUse" - | "AdditionalDrivesPresent" - | "WindowsUpdatesRequired" - | "SysPrepFileMissing" - | "UserProfileMissing" - | "InsufficientDiskSpace" - | "EnvironmentVariablesPathMissingEntries" - | "DomainAccountServicesFound" - | "InvalidIp" - | "RemoteDesktopServicesDisabled" - | "WindowsModulesInstallerDisabled" - | "AmazonSsmAgentEnabled" - | "UnsupportedSecurityProtocol" - | "MultipleUserProfiles" - | "StagedAppxPackage" - | "UnsupportedOsUpgrade" - | "InsufficientRearmCount" - | "ProtocolOSIncompatibility" - | "MemoryIntegrityIncompatibility" - | "RestrictedDriveLetterInUse"; +export type WorkspaceImageErrorDetailCode = "OutdatedPowershellVersion" | "OfficeInstalled" | "PCoIPAgentInstalled" | "WindowsUpdatesEnabled" | "AutoMountDisabled" | "WorkspacesBYOLAccountNotFound" | "WorkspacesBYOLAccountDisabled" | "DHCPDisabled" | "DiskFreeSpace" | "AdditionalDrivesAttached" | "OSNotSupported" | "DomainJoined" | "AzureDomainJoined" | "FirewallEnabled" | "VMWareToolsInstalled" | "DiskSizeExceeded" | "IncompatiblePartitioning" | "PendingReboot" | "AutoLogonEnabled" | "RealTimeUniversalDisabled" | "MultipleBootPartition" | "Requires64BitOS" | "ZeroRearmCount" | "InPlaceUpgrade" | "AntiVirusInstalled" | "UEFINotSupported" | "UnknownError" | "AppXPackagesInstalled" | "ReservedStorageInUse" | "AdditionalDrivesPresent" | "WindowsUpdatesRequired" | "SysPrepFileMissing" | "UserProfileMissing" | "InsufficientDiskSpace" | "EnvironmentVariablesPathMissingEntries" | "DomainAccountServicesFound" | "InvalidIp" | "RemoteDesktopServicesDisabled" | "WindowsModulesInstallerDisabled" | "AmazonSsmAgentEnabled" | "UnsupportedSecurityProtocol" | "MultipleUserProfiles" | "StagedAppxPackage" | "UnsupportedOsUpgrade" | "InsufficientRearmCount" | "ProtocolOSIncompatibility" | "MemoryIntegrityIncompatibility" | "RestrictedDriveLetterInUse"; export type WorkspaceImageId = string; export type WorkspaceImageIdList = Array; -export type WorkspaceImageIngestionProcess = - | "BYOL_REGULAR" - | "BYOL_GRAPHICS" - | "BYOL_GRAPHICSPRO" - | "BYOL_GRAPHICS_G4DN" - | "BYOL_REGULAR_WSP" - | "BYOL_GRAPHICS_G4DN_WSP" - | "BYOL_REGULAR_BYOP" - | "BYOL_GRAPHICS_G4DN_BYOP"; +export type WorkspaceImageIngestionProcess = "BYOL_REGULAR" | "BYOL_GRAPHICS" | "BYOL_GRAPHICSPRO" | "BYOL_GRAPHICS_G4DN" | "BYOL_REGULAR_WSP" | "BYOL_GRAPHICS_G4DN_WSP" | "BYOL_REGULAR_BYOP" | "BYOL_GRAPHICS_G4DN_BYOP"; export type WorkspaceImageList = Array; export type WorkspaceImageName = string; @@ -2705,8 +2196,7 @@ export interface WorkspaceResourceAssociation { StateReason?: AssociationStateReason; WorkspaceId?: string; } -export type WorkspaceResourceAssociationList = - Array; +export type WorkspaceResourceAssociationList = Array; export declare class WorkspacesDefaultRoleNotFoundException extends EffectData.TaggedError( "WorkspacesDefaultRoleNotFoundException", )<{ @@ -2738,47 +2228,7 @@ export interface WorkspacesPoolError { ErrorCode?: WorkspacesPoolErrorCode; ErrorMessage?: string; } -export type WorkspacesPoolErrorCode = - | "IAM_SERVICE_ROLE_IS_MISSING" - | "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" - | "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION" - | "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION" - | "NETWORK_INTERFACE_LIMIT_EXCEEDED" - | "INTERNAL_SERVICE_ERROR" - | "MACHINE_ROLE_IS_MISSING" - | "STS_DISABLED_IN_REGION" - | "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES" - | "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION" - | "SUBNET_NOT_FOUND" - | "IMAGE_NOT_FOUND" - | "INVALID_SUBNET_CONFIGURATION" - | "SECURITY_GROUPS_NOT_FOUND" - | "IGW_NOT_ATTACHED" - | "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION" - | "WORKSPACES_POOL_STOPPED" - | "WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE" - | "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND" - | "DOMAIN_JOIN_ERROR_ACCESS_DENIED" - | "DOMAIN_JOIN_ERROR_LOGON_FAILURE" - | "DOMAIN_JOIN_ERROR_INVALID_PARAMETER" - | "DOMAIN_JOIN_ERROR_MORE_DATA" - | "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN" - | "DOMAIN_JOIN_ERROR_NOT_SUPPORTED" - | "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME" - | "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED" - | "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED" - | "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED" - | "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR" - | "DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING" - | "DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE" - | "DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID" - | "DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND" - | "DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND" - | "DOMAIN_JOIN_ERROR_SECRET_INVALID" - | "BUNDLE_NOT_FOUND" - | "DIRECTORY_NOT_FOUND" - | "INSUFFICIENT_PERMISSIONS_ERROR" - | "DEFAULT_OU_IS_MISSING"; +export type WorkspacesPoolErrorCode = "IAM_SERVICE_ROLE_IS_MISSING" | "IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION" | "IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION" | "IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION" | "NETWORK_INTERFACE_LIMIT_EXCEEDED" | "INTERNAL_SERVICE_ERROR" | "MACHINE_ROLE_IS_MISSING" | "STS_DISABLED_IN_REGION" | "SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES" | "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION" | "SUBNET_NOT_FOUND" | "IMAGE_NOT_FOUND" | "INVALID_SUBNET_CONFIGURATION" | "SECURITY_GROUPS_NOT_FOUND" | "IGW_NOT_ATTACHED" | "IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION" | "WORKSPACES_POOL_STOPPED" | "WORKSPACES_POOL_INSTANCE_PROVISIONING_FAILURE" | "DOMAIN_JOIN_ERROR_FILE_NOT_FOUND" | "DOMAIN_JOIN_ERROR_ACCESS_DENIED" | "DOMAIN_JOIN_ERROR_LOGON_FAILURE" | "DOMAIN_JOIN_ERROR_INVALID_PARAMETER" | "DOMAIN_JOIN_ERROR_MORE_DATA" | "DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN" | "DOMAIN_JOIN_ERROR_NOT_SUPPORTED" | "DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME" | "DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED" | "DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED" | "DOMAIN_JOIN_NERR_PASSWORD_EXPIRED" | "DOMAIN_JOIN_INTERNAL_SERVICE_ERROR" | "DOMAIN_JOIN_ERROR_SECRET_ACTION_PERMISSION_IS_MISSING" | "DOMAIN_JOIN_ERROR_SECRET_DECRYPTION_FAILURE" | "DOMAIN_JOIN_ERROR_SECRET_STATE_INVALID" | "DOMAIN_JOIN_ERROR_SECRET_NOT_FOUND" | "DOMAIN_JOIN_ERROR_SECRET_VALUE_KEY_NOT_FOUND" | "DOMAIN_JOIN_ERROR_SECRET_INVALID" | "BUNDLE_NOT_FOUND" | "DIRECTORY_NOT_FOUND" | "INSUFFICIENT_PERMISSIONS_ERROR" | "DEFAULT_OU_IS_MISSING"; export type WorkspacesPoolErrors = Array; export type WorkspacesPoolId = string; @@ -2798,34 +2248,10 @@ export interface WorkspacesPoolSession { UserId: string; } export type WorkspacesPoolSessions = Array; -export type WorkspacesPoolState = - | "CREATING" - | "DELETING" - | "RUNNING" - | "STARTING" - | "STOPPED" - | "STOPPING" - | "UPDATING"; +export type WorkspacesPoolState = "CREATING" | "DELETING" | "RUNNING" | "STARTING" | "STOPPED" | "STOPPING" | "UPDATING"; export type WorkspacesPoolUserId = string; -export type WorkspaceState = - | "PENDING" - | "AVAILABLE" - | "IMPAIRED" - | "UNHEALTHY" - | "REBOOTING" - | "STARTING" - | "REBUILDING" - | "RESTORING" - | "MAINTENANCE" - | "ADMIN_MAINTENANCE" - | "TERMINATING" - | "TERMINATED" - | "SUSPENDED" - | "UPDATING" - | "STOPPING" - | "STOPPED" - | "ERROR"; +export type WorkspaceState = "PENDING" | "AVAILABLE" | "IMPAIRED" | "UNHEALTHY" | "REBOOTING" | "STARTING" | "REBUILDING" | "RESTORING" | "MAINTENANCE" | "ADMIN_MAINTENANCE" | "TERMINATING" | "TERMINATED" | "SUSPENDED" | "UPDATING" | "STOPPING" | "STOPPED" | "ERROR"; export type WorkspaceType = "PERSONAL" | "POOLS"; export declare namespace AcceptAccountLinkInvitation { export type Input = AcceptAccountLinkInvitationRequest; @@ -3155,13 +2581,17 @@ export declare namespace DeregisterWorkspaceDirectory { export declare namespace DescribeAccount { export type Input = DescribeAccountRequest; export type Output = DescribeAccountResult; - export type Error = AccessDeniedException | CommonAwsError; + export type Error = + | AccessDeniedException + | CommonAwsError; } export declare namespace DescribeAccountModifications { export type Input = DescribeAccountModificationsRequest; export type Output = DescribeAccountModificationsResult; - export type Error = AccessDeniedException | CommonAwsError; + export type Error = + | AccessDeniedException + | CommonAwsError; } export declare namespace DescribeApplicationAssociations { @@ -3280,7 +2710,9 @@ export declare namespace DescribeIpGroups { export declare namespace DescribeTags { export type Input = DescribeTagsRequest; export type Output = DescribeTagsResult; - export type Error = ResourceNotFoundException | CommonAwsError; + export type Error = + | ResourceNotFoundException + | CommonAwsError; } export declare namespace DescribeWorkspaceAssociations { @@ -3297,13 +2729,17 @@ export declare namespace DescribeWorkspaceAssociations { export declare namespace DescribeWorkspaceBundles { export type Input = DescribeWorkspaceBundlesRequest; export type Output = DescribeWorkspaceBundlesResult; - export type Error = InvalidParameterValuesException | CommonAwsError; + export type Error = + | InvalidParameterValuesException + | CommonAwsError; } export declare namespace DescribeWorkspaceDirectories { export type Input = DescribeWorkspaceDirectoriesRequest; export type Output = DescribeWorkspaceDirectoriesResult; - export type Error = InvalidParameterValuesException | CommonAwsError; + export type Error = + | InvalidParameterValuesException + | CommonAwsError; } export declare namespace DescribeWorkspaceImagePermissions { @@ -3319,7 +2755,9 @@ export declare namespace DescribeWorkspaceImagePermissions { export declare namespace DescribeWorkspaceImages { export type Input = DescribeWorkspaceImagesRequest; export type Output = DescribeWorkspaceImagesResult; - export type Error = AccessDeniedException | CommonAwsError; + export type Error = + | AccessDeniedException + | CommonAwsError; } export declare namespace DescribeWorkspaces { @@ -3334,7 +2772,9 @@ export declare namespace DescribeWorkspaces { export declare namespace DescribeWorkspacesConnectionStatus { export type Input = DescribeWorkspacesConnectionStatusRequest; export type Output = DescribeWorkspacesConnectionStatusResult; - export type Error = InvalidParameterValuesException | CommonAwsError; + export type Error = + | InvalidParameterValuesException + | CommonAwsError; } export declare namespace DescribeWorkspaceSnapshots { @@ -3611,13 +3051,17 @@ export declare namespace ModifyWorkspaceState { export declare namespace RebootWorkspaces { export type Input = RebootWorkspacesRequest; export type Output = RebootWorkspacesResult; - export type Error = OperationNotSupportedException | CommonAwsError; + export type Error = + | OperationNotSupportedException + | CommonAwsError; } export declare namespace RebuildWorkspaces { export type Input = RebuildWorkspacesRequest; export type Output = RebuildWorkspacesResult; - export type Error = OperationNotSupportedException | CommonAwsError; + export type Error = + | OperationNotSupportedException + | CommonAwsError; } export declare namespace RegisterWorkspaceDirectory { @@ -3673,7 +3117,8 @@ export declare namespace RevokeIpRules { export declare namespace StartWorkspaces { export type Input = StartWorkspacesRequest; export type Output = StartWorkspacesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StartWorkspacesPool { @@ -3693,7 +3138,8 @@ export declare namespace StartWorkspacesPool { export declare namespace StopWorkspaces { export type Input = StopWorkspacesRequest; export type Output = StopWorkspacesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace StopWorkspacesPool { @@ -3711,7 +3157,8 @@ export declare namespace StopWorkspacesPool { export declare namespace TerminateWorkspaces { export type Input = TerminateWorkspacesRequest; export type Output = TerminateWorkspacesResult; - export type Error = CommonAwsError; + export type Error = + | CommonAwsError; } export declare namespace TerminateWorkspacesPool { @@ -3812,28 +3259,5 @@ export declare namespace UpdateWorkspacesPool { | CommonAwsError; } -export type WorkSpacesErrors = - | AccessDeniedException - | ApplicationNotSupportedException - | ComputeNotCompatibleException - | ConflictException - | IncompatibleApplicationsException - | InternalServerException - | InvalidParameterCombinationException - | InvalidParameterValuesException - | InvalidResourceStateException - | OperatingSystemNotCompatibleException - | OperationInProgressException - | OperationNotSupportedException - | ResourceAlreadyExistsException - | ResourceAssociatedException - | ResourceCreationFailedException - | ResourceInUseException - | ResourceLimitExceededException - | ResourceNotFoundException - | ResourceUnavailableException - | UnsupportedNetworkConfigurationException - | UnsupportedWorkspaceConfigurationException - | ValidationException - | WorkspacesDefaultRoleNotFoundException - | CommonAwsError; +export type WorkSpacesErrors = AccessDeniedException | ApplicationNotSupportedException | ComputeNotCompatibleException | ConflictException | IncompatibleApplicationsException | InternalServerException | InvalidParameterCombinationException | InvalidParameterValuesException | InvalidResourceStateException | OperatingSystemNotCompatibleException | OperationInProgressException | OperationNotSupportedException | ResourceAlreadyExistsException | ResourceAssociatedException | ResourceCreationFailedException | ResourceInUseException | ResourceLimitExceededException | ResourceNotFoundException | ResourceUnavailableException | UnsupportedNetworkConfigurationException | UnsupportedWorkspaceConfigurationException | ValidationException | WorkspacesDefaultRoleNotFoundException | CommonAwsError; + diff --git a/src/services/xray/index.ts b/src/services/xray/index.ts index 46a04745..6e306c4b 100644 --- a/src/services/xray/index.ts +++ b/src/services/xray/index.ts @@ -5,26 +5,7 @@ import type { XRay as _XRayClient } from "./types.ts"; export * from "./types.ts"; -export { - AccessDeniedException, - ExpiredTokenException, - IncompleteSignature, - InternalFailure, - MalformedHttpRequestException, - NotAuthorized, - OptInRequired, - RequestAbortedException, - RequestEntityTooLargeException, - RequestExpired, - RequestTimeoutException, - ServiceUnavailable, - ThrottlingException, - UnrecognizedClientException, - UnknownOperationException, - ValidationError, - ValidationException, - type CommonAwsError, -} from "../../error.ts"; +export {AccessDeniedException, ExpiredTokenException, IncompleteSignature, InternalFailure, MalformedHttpRequestException, NotAuthorized, OptInRequired, RequestAbortedException, RequestEntityTooLargeException, RequestExpired, RequestTimeoutException, ServiceUnavailable, ThrottlingException, UnrecognizedClientException, UnknownOperationException, ValidationError, ValidationException, type CommonAwsError} from "../../error.ts"; // Service metadata const metadata = { @@ -34,44 +15,44 @@ const metadata = { sigV4ServiceName: "xray", endpointPrefix: "xray", operations: { - BatchGetTraces: "POST /Traces", - CancelTraceRetrieval: "POST /CancelTraceRetrieval", - CreateGroup: "POST /CreateGroup", - CreateSamplingRule: "POST /CreateSamplingRule", - DeleteGroup: "POST /DeleteGroup", - DeleteResourcePolicy: "POST /DeleteResourcePolicy", - DeleteSamplingRule: "POST /DeleteSamplingRule", - GetEncryptionConfig: "POST /EncryptionConfig", - GetGroup: "POST /GetGroup", - GetGroups: "POST /Groups", - GetIndexingRules: "POST /GetIndexingRules", - GetInsight: "POST /Insight", - GetInsightEvents: "POST /InsightEvents", - GetInsightImpactGraph: "POST /InsightImpactGraph", - GetInsightSummaries: "POST /InsightSummaries", - GetRetrievedTracesGraph: "POST /GetRetrievedTracesGraph", - GetSamplingRules: "POST /GetSamplingRules", - GetSamplingStatisticSummaries: "POST /SamplingStatisticSummaries", - GetSamplingTargets: "POST /SamplingTargets", - GetServiceGraph: "POST /ServiceGraph", - GetTimeSeriesServiceStatistics: "POST /TimeSeriesServiceStatistics", - GetTraceGraph: "POST /TraceGraph", - GetTraceSegmentDestination: "POST /GetTraceSegmentDestination", - GetTraceSummaries: "POST /TraceSummaries", - ListResourcePolicies: "POST /ListResourcePolicies", - ListRetrievedTraces: "POST /ListRetrievedTraces", - ListTagsForResource: "POST /ListTagsForResource", - PutEncryptionConfig: "POST /PutEncryptionConfig", - PutResourcePolicy: "POST /PutResourcePolicy", - PutTelemetryRecords: "POST /TelemetryRecords", - PutTraceSegments: "POST /TraceSegments", - StartTraceRetrieval: "POST /StartTraceRetrieval", - TagResource: "POST /TagResource", - UntagResource: "POST /UntagResource", - UpdateGroup: "POST /UpdateGroup", - UpdateIndexingRule: "POST /UpdateIndexingRule", - UpdateSamplingRule: "POST /UpdateSamplingRule", - UpdateTraceSegmentDestination: "POST /UpdateTraceSegmentDestination", + "BatchGetTraces": "POST /Traces", + "CancelTraceRetrieval": "POST /CancelTraceRetrieval", + "CreateGroup": "POST /CreateGroup", + "CreateSamplingRule": "POST /CreateSamplingRule", + "DeleteGroup": "POST /DeleteGroup", + "DeleteResourcePolicy": "POST /DeleteResourcePolicy", + "DeleteSamplingRule": "POST /DeleteSamplingRule", + "GetEncryptionConfig": "POST /EncryptionConfig", + "GetGroup": "POST /GetGroup", + "GetGroups": "POST /Groups", + "GetIndexingRules": "POST /GetIndexingRules", + "GetInsight": "POST /Insight", + "GetInsightEvents": "POST /InsightEvents", + "GetInsightImpactGraph": "POST /InsightImpactGraph", + "GetInsightSummaries": "POST /InsightSummaries", + "GetRetrievedTracesGraph": "POST /GetRetrievedTracesGraph", + "GetSamplingRules": "POST /GetSamplingRules", + "GetSamplingStatisticSummaries": "POST /SamplingStatisticSummaries", + "GetSamplingTargets": "POST /SamplingTargets", + "GetServiceGraph": "POST /ServiceGraph", + "GetTimeSeriesServiceStatistics": "POST /TimeSeriesServiceStatistics", + "GetTraceGraph": "POST /TraceGraph", + "GetTraceSegmentDestination": "POST /GetTraceSegmentDestination", + "GetTraceSummaries": "POST /TraceSummaries", + "ListResourcePolicies": "POST /ListResourcePolicies", + "ListRetrievedTraces": "POST /ListRetrievedTraces", + "ListTagsForResource": "POST /ListTagsForResource", + "PutEncryptionConfig": "POST /PutEncryptionConfig", + "PutResourcePolicy": "POST /PutResourcePolicy", + "PutTelemetryRecords": "POST /TelemetryRecords", + "PutTraceSegments": "POST /TraceSegments", + "StartTraceRetrieval": "POST /StartTraceRetrieval", + "TagResource": "POST /TagResource", + "UntagResource": "POST /UntagResource", + "UpdateGroup": "POST /UpdateGroup", + "UpdateIndexingRule": "POST /UpdateIndexingRule", + "UpdateSamplingRule": "POST /UpdateSamplingRule", + "UpdateTraceSegmentDestination": "POST /UpdateTraceSegmentDestination", }, } as const satisfies ServiceMetadata; diff --git a/src/services/xray/types.ts b/src/services/xray/types.ts index 6e78f319..72c05a98 100644 --- a/src/services/xray/types.ts +++ b/src/services/xray/types.ts @@ -13,10 +13,7 @@ export declare class XRay extends AWSServiceClient { input: CancelTraceRetrievalRequest, ): Effect.Effect< CancelTraceRetrievalResult, - | InvalidRequestException - | ResourceNotFoundException - | ThrottledException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ThrottledException | CommonAwsError >; createGroup( input: CreateGroupRequest, @@ -28,10 +25,7 @@ export declare class XRay extends AWSServiceClient { input: CreateSamplingRuleRequest, ): Effect.Effect< CreateSamplingRuleResult, - | InvalidRequestException - | RuleLimitExceededException - | ThrottledException - | CommonAwsError + InvalidRequestException | RuleLimitExceededException | ThrottledException | CommonAwsError >; deleteGroup( input: DeleteGroupRequest, @@ -43,10 +37,7 @@ export declare class XRay extends AWSServiceClient { input: DeleteResourcePolicyRequest, ): Effect.Effect< DeleteResourcePolicyResult, - | InvalidPolicyRevisionIdException - | InvalidRequestException - | ThrottledException - | CommonAwsError + InvalidPolicyRevisionIdException | InvalidRequestException | ThrottledException | CommonAwsError >; deleteSamplingRule( input: DeleteSamplingRuleRequest, @@ -106,10 +97,7 @@ export declare class XRay extends AWSServiceClient { input: GetRetrievedTracesGraphRequest, ): Effect.Effect< GetRetrievedTracesGraphResult, - | InvalidRequestException - | ResourceNotFoundException - | ThrottledException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ThrottledException | CommonAwsError >; getSamplingRules( input: GetSamplingRulesRequest, @@ -169,19 +157,13 @@ export declare class XRay extends AWSServiceClient { input: ListRetrievedTracesRequest, ): Effect.Effect< ListRetrievedTracesResult, - | InvalidRequestException - | ResourceNotFoundException - | ThrottledException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ThrottledException | CommonAwsError >; listTagsForResource( input: ListTagsForResourceRequest, ): Effect.Effect< ListTagsForResourceResponse, - | InvalidRequestException - | ResourceNotFoundException - | ThrottledException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ThrottledException | CommonAwsError >; putEncryptionConfig( input: PutEncryptionConfigRequest, @@ -193,13 +175,7 @@ export declare class XRay extends AWSServiceClient { input: PutResourcePolicyRequest, ): Effect.Effect< PutResourcePolicyResult, - | InvalidPolicyRevisionIdException - | LockoutPreventionException - | MalformedPolicyDocumentException - | PolicyCountLimitExceededException - | PolicySizeLimitExceededException - | ThrottledException - | CommonAwsError + InvalidPolicyRevisionIdException | LockoutPreventionException | MalformedPolicyDocumentException | PolicyCountLimitExceededException | PolicySizeLimitExceededException | ThrottledException | CommonAwsError >; putTelemetryRecords( input: PutTelemetryRecordsRequest, @@ -217,29 +193,19 @@ export declare class XRay extends AWSServiceClient { input: StartTraceRetrievalRequest, ): Effect.Effect< StartTraceRetrievalResult, - | InvalidRequestException - | ResourceNotFoundException - | ThrottledException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ThrottledException | CommonAwsError >; tagResource( input: TagResourceRequest, ): Effect.Effect< TagResourceResponse, - | InvalidRequestException - | ResourceNotFoundException - | ThrottledException - | TooManyTagsException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ThrottledException | TooManyTagsException | CommonAwsError >; untagResource( input: UntagResourceRequest, ): Effect.Effect< UntagResourceResponse, - | InvalidRequestException - | ResourceNotFoundException - | ThrottledException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ThrottledException | CommonAwsError >; updateGroup( input: UpdateGroupRequest, @@ -251,10 +217,7 @@ export declare class XRay extends AWSServiceClient { input: UpdateIndexingRuleRequest, ): Effect.Effect< UpdateIndexingRuleResult, - | InvalidRequestException - | ResourceNotFoundException - | ThrottledException - | CommonAwsError + InvalidRequestException | ResourceNotFoundException | ThrottledException | CommonAwsError >; updateSamplingRule( input: UpdateSamplingRuleRequest, @@ -290,10 +253,7 @@ interface _AnnotationValue { StringValue?: string; } -export type AnnotationValue = - | (_AnnotationValue & { NumberValue: number }) - | (_AnnotationValue & { BooleanValue: boolean }) - | (_AnnotationValue & { StringValue: string }); +export type AnnotationValue = (_AnnotationValue & { NumberValue: number }) | (_AnnotationValue & { BooleanValue: boolean }) | (_AnnotationValue & { StringValue: string }); export interface AnomalousService { ServiceId?: ServiceId; } @@ -332,7 +292,8 @@ export type BorrowCount = number; export interface CancelTraceRetrievalRequest { RetrievalToken: string; } -export interface CancelTraceRetrievalResult {} +export interface CancelTraceRetrievalResult { +} export type ClientID = string; export type CooldownWindowMinutes = number; @@ -357,12 +318,14 @@ export interface DeleteGroupRequest { GroupName?: string; GroupARN?: string; } -export interface DeleteGroupResult {} +export interface DeleteGroupResult { +} export interface DeleteResourcePolicyRequest { PolicyName: string; PolicyRevisionId?: string; } -export interface DeleteResourcePolicyResult {} +export interface DeleteResourcePolicyResult { +} export interface DeleteSamplingRuleRequest { RuleName?: string; RuleARN?: string; @@ -464,7 +427,8 @@ export interface ForecastStatistics { FaultCountHigh?: number; FaultCountLow?: number; } -export interface GetEncryptionConfigRequest {} +export interface GetEncryptionConfigRequest { +} export interface GetEncryptionConfigResult { EncryptionConfig?: EncryptionConfig; } @@ -608,7 +572,8 @@ export interface GetTraceGraphResult { Services?: Array; NextToken?: string; } -export interface GetTraceSegmentDestinationRequest {} +export interface GetTraceSegmentDestinationRequest { +} export interface GetTraceSegmentDestinationResult { Destination?: TraceSegmentDestination; Status?: TraceSegmentDestinationStatus; @@ -678,16 +643,12 @@ interface _IndexingRuleValue { Probabilistic?: ProbabilisticRuleValue; } -export type IndexingRuleValue = _IndexingRuleValue & { - Probabilistic: ProbabilisticRuleValue; -}; +export type IndexingRuleValue = (_IndexingRuleValue & { Probabilistic: ProbabilisticRuleValue }); interface _IndexingRuleValueUpdate { Probabilistic?: ProbabilisticRuleValueUpdate; } -export type IndexingRuleValueUpdate = _IndexingRuleValueUpdate & { - Probabilistic: ProbabilisticRuleValueUpdate; -}; +export type IndexingRuleValueUpdate = (_IndexingRuleValueUpdate & { Probabilistic: ProbabilisticRuleValueUpdate }); export interface Insight { InsightId?: string; GroupARN?: string; @@ -860,7 +821,8 @@ export interface PutTelemetryRecordsRequest { Hostname?: string; ResourceARN?: string; } -export interface PutTelemetryRecordsResult {} +export interface PutTelemetryRecordsResult { +} export interface PutTraceSegmentsRequest { TraceSegmentDocuments: Array; } @@ -905,8 +867,7 @@ export interface ResponseTimeRootCauseEntity { Coverage?: number; Remote?: boolean; } -export type ResponseTimeRootCauseEntityPath = - Array; +export type ResponseTimeRootCauseEntityPath = Array; export type ResponseTimeRootCauses = Array; export interface ResponseTimeRootCauseService { Name?: string; @@ -917,13 +878,7 @@ export interface ResponseTimeRootCauseService { Inferred?: boolean; } export type ResponseTimeRootCauseServices = Array; -export type RetrievalStatus = - | "SCHEDULED" - | "RUNNING" - | "COMPLETE" - | "FAILED" - | "CANCELLED" - | "TIMEOUT"; +export type RetrievalStatus = "SCHEDULED" | "RUNNING" | "COMPLETE" | "FAILED" | "CANCELLED" | "TIMEOUT"; export type RetrievalToken = string; export interface RetrievedService { @@ -964,8 +919,7 @@ export interface SamplingBoostStatisticsDocument { TotalCount: number; SampledAnomalyCount: number; } -export type SamplingBoostStatisticsDocumentList = - Array; +export type SamplingBoostStatisticsDocumentList = Array; export interface SamplingRateBoost { MaxRate: number; CooldownWindowMinutes: number; @@ -1113,7 +1067,8 @@ export interface TagResourceRequest { ResourceARN: string; Tags: Array; } -export interface TagResourceResponse {} +export interface TagResourceResponse { +} export type TagValue = string; export interface TelemetryRecord { @@ -1138,8 +1093,7 @@ export interface TimeSeriesServiceStatistics { ServiceForecastStatistics?: ForecastStatistics; ResponseTimeHistogram?: Array; } -export type TimeSeriesServiceStatisticsList = - Array; +export type TimeSeriesServiceStatisticsList = Array; export type Timestamp = Date | string; export type Token = string; @@ -1219,7 +1173,8 @@ export interface UntagResourceRequest { ResourceARN: string; TagKeys: Array; } -export interface UntagResourceResponse {} +export interface UntagResourceResponse { +} export interface UpdateGroupRequest { GroupName?: string; GroupARN?: string; @@ -1615,15 +1570,5 @@ export declare namespace UpdateTraceSegmentDestination { | CommonAwsError; } -export type XRayErrors = - | InvalidPolicyRevisionIdException - | InvalidRequestException - | LockoutPreventionException - | MalformedPolicyDocumentException - | PolicyCountLimitExceededException - | PolicySizeLimitExceededException - | ResourceNotFoundException - | RuleLimitExceededException - | ThrottledException - | TooManyTagsException - | CommonAwsError; +export type XRayErrors = InvalidPolicyRevisionIdException | InvalidRequestException | LockoutPreventionException | MalformedPolicyDocumentException | PolicyCountLimitExceededException | PolicySizeLimitExceededException | ResourceNotFoundException | RuleLimitExceededException | ThrottledException | TooManyTagsException | CommonAwsError; +